diff --git a/brizy.php b/brizy.php index 1d366e2f05..6240bca997 100755 --- a/brizy.php +++ b/brizy.php @@ -21,8 +21,8 @@ define('BRIZY_LOG', false ); define('BRIZY_VERSION', '2.4.22'); define('BRIZY_MINIMUM_PRO_VERSION', '2.4.4'); -define('BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '260-wp' ); -define('BRIZY_SYNC_VERSION', '260'); +define('BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '261-wp' ); +define('BRIZY_SYNC_VERSION', '261'); define('BRIZY_FILE', __FILE__); define('BRIZY_PLUGIN_BASE', plugin_basename(BRIZY_FILE)); define('BRIZY_PLUGIN_PATH', dirname(BRIZY_FILE)); diff --git a/public/editor-build/260-wp/editor/js/editor.min.js b/public/editor-build/260-wp/editor/js/editor.min.js deleted file mode 100644 index da5ba38c88..0000000000 --- a/public/editor-build/260-wp/editor/js/editor.min.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e,t={33188:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Audio",{enumerable:!0,get:function(){return l}});const r=o(73948),i=a(o(60042)),n=a(o(27378));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{src:t,isLoop:o,showCurrentTime:a,showDurationTime:l,showProgressBarTrack:s,showProgressBarVolume:c,classNameAudio:d,classNameControls:u,classNameIcon:p}=e;const f=(0,i.default)("brz-icon-svg","brz-audio-play",p),m=(0,i.default)("brz-hidden","brz-icon-svg","brz-audio-pause",p),y=(0,i.default)("brz-icon-svg","brz-audio-mute",p),g=(0,i.default)("brz-hidden","brz-icon-svg","brz-audio-unmute",p);return n.default.createElement("div",{className:d},n.default.createElement("div",{className:"brz-audio__cover"}),n.default.createElement("div",{className:"brz-audio-play-pause-btn"},n.default.createElement(r.ThemeIcon,{className:f,name:"button-play",type:"glyph"}),n.default.createElement(r.ThemeIcon,{className:m,name:"button-pause",type:"glyph"})),n.default.createElement("div",{className:u},a&&n.default.createElement("span",{className:"brz-audio-current-time"},"0:00"),s&&n.default.createElement("div",{className:"brz-audio-slider"},n.default.createElement("div",{className:"brz-audio-progress"})),l&&n.default.createElement("span",{className:"brz-audio-total-time"},"0:00")),c&&n.default.createElement("div",{className:"brz-audio-volume"},n.default.createElement("div",{className:"brz-audio-volume-btn"},n.default.createElement(r.ThemeIcon,{className:y,name:"volume-97",type:"glyph"}),n.default.createElement(r.ThemeIcon,{className:g,name:"volume-ban",type:"glyph"})),n.default.createElement("div",{className:"brz-audio-volume-controls"},n.default.createElement("div",{className:"brz-audio-slider"},n.default.createElement("div",{className:"brz-audio-progress"})))),n.default.createElement("audio",{preload:"none",src:t,loop:o??!1}))}},73289:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return a}});const r=n(o(60042)),i=n(o(27378));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t,children:o,onClick:n}=e;return i.default.createElement("button",{className:(0,r.default)("brz-package__button",t),onClick:n},o)}},78941:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Calendly",{enumerable:!0,get:function(){return a}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(30257),a=e=>{const{link:t}=e;return r.default.createElement(n.InlineWidget,{url:t})}},90637:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EmbedCode",{enumerable:!0,get:function(){return a}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(83850),a=e=>{const{code:t,className:o,ssr:i,tagName:a}=e;return r.default.createElement("div",{className:"brz-embed-content"},r.default.createElement(n.DangerouslySetHtmlContent,{tagName:a??"div",html:t,className:o,ssr:i}))}},63041:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Gap",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{const{className:t}=e;return r.default.createElement("div",{className:t})}},44312:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{LottieEditor:function(){return s},LottieView:function(){return c}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=o(9115),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{let{isLoop:t=!0,isAutoplay:o=!0,animationData:r={},speed:i=1,direction:l=1,renderer:s="svg"}=e;const c={loop:t,autoplay:o,animationData:r,renderer:s,rendererSettings:{preserveAspectRatio:"svg"===s?"xMidYMid slice":"xMidYMid meet"}},{play:d,stop:u,getDuration:p,goToAndPlay:f,setSpeed:m,setDirection:y,View:g}=(0,n.useLottie)(c),b=(0,a.useRef)(i),h=(0,a.useCallback)((()=>{if(!o)return u();if(-1===l&&b.current===i){const e=p(!0);if(e)return f(e,!0)}b.current=i,d()}),[p,f,d,u,l,o,i]);return(0,a.useEffect)((()=>{m(i),y(l),h()}),[y,m,h,l,i]),g},c=e=>{let{renderer:t,animationData:o,speed:i,isLoop:n,isAutoplay:l,direction:s}=e;const c=(0,r.default)("brz-lottie-anim",{"brz-lottie__canvas":"canvas"===t});return a.default.createElement("div",{className:c,"data-animate-name":o,"data-anim-speed":i,"data-anim-loop":n,"data-anim-autoplay":l,"data-anim-direction":s,"data-render-type":t})}},6767:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{MapPreview:function(){return a},MapEditor:function(){return l}});const r=n(o(60042)),i=n(o(27378));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{className:t,address:o,platform:n,zoom:a}=e,l=(0,r.default)(t,"brz-iframe",{"intrinsic-ignore":"WP"===n}),s=`https://www.google.com/maps/embed/v1/place?key=AIzaSyCcywKcxXeMZiMwLDcLgyEnNglcLOyB_qw&q=${o}&zoom=${a}`;return i.default.createElement("div",{className:"brz-map-content"},i.default.createElement("iframe",{className:l,src:s,title:"map"}))},l=e=>{const{className:t,address:o,platform:n,zoom:l}=e,s=(0,r.default)(t,"brz-blocked");return i.default.createElement(a,{address:o,platform:n,className:s,zoom:l})}},76552:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ProgressBar1",{enumerable:!0,get:function(){return a}});const r=n(o(60042)),i=n(o(27378));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{className:t,text:o,showText:n,showPercentage:a,percentage:l}=e,s=(0,r.default)(t,"brz-d-xs-flex","brz-align-items-xs-center","brz-progress-bar__wrapper");return i.default.createElement("div",{className:s,"data-progress":l},n&&o,a&&i.default.createElement("span",{className:"brz-span brz-progress-bar__percent"},l,"%"))}},27818:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ProgressBar2",{enumerable:!0,get:function(){return a}});const r=n(o(60042)),i=n(o(27378));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{className:t,showPercentage:o,percentage:n}=e,a=(0,r.default)(t,"brz-d-xs-flex","brz-progress-bar__wrapper");return i.default.createElement(i.default.Fragment,null,o&&i.default.createElement("span",{className:"brz-span brz-progress-bar__percent",style:{marginLeft:(n>=94?n-7:n-1)+"%"}},n,"%"),i.default.createElement("div",{className:"brz-progress-bar-overlay"},i.default.createElement("div",{className:a,"data-progress":n,style:{width:`${n}%`,maxWidth:`${n}%`}})))}},28917:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Quantity1",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{step:t=1,value:o=1,min:i=1,max:n,className:a,onChange:l,attr:s}=e;return r.default.createElement("div",{className:"brz-shopify-quantity-style1"},r.default.createElement("input",{className:a,type:"number",max:n,min:i,step:t,...s,defaultValue:o,onChange:l}))}},30125:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Quantity2",{enumerable:!0,get:function(){return l}});const r=o(73948),i=o(42162),n=(a=o(27378))&&a.__esModule?a:{default:a};var a;const l=e=>{let{className:t,max:o,min:a=1,onChange:l,onDecrease:s,onIncrease:c,step:d=1,value:u=1,attr:p}=e;return n.default.createElement("div",{className:"brz-shopify-quantity-style2"},n.default.createElement(i.Button,{className:"brz-button-decrement",onClick:s},n.default.createElement(r.ThemeIcon,{name:"simple-delete",type:"outline"})),n.default.createElement("input",{className:t,max:o,min:a,step:d,defaultValue:u,...p,type:"number",onChange:l}),n.default.createElement(i.Button,{className:"brz-button-increment",onClick:c},n.default.createElement(r.ThemeIcon,{name:"simple-add",type:"outline"})))}},26683:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SoundCloud",{enumerable:!0,get:function(){return a}});const r=n(o(60042)),i=n(o(27378));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{src:t,isAutoPlay:o,showArtwork:n,showLikeButton:a,showBuyButton:l,showDownloadButton:s,showShareButton:c,showComments:d,showPlayCounts:u,showUsername:p,isVisual:f,controlsColor:m,className:y}=e,g=(0,r.default)(y,"brz-iframe","intrinsic-ignore"),b=`https://w.soundcloud.com/player/?url=${t}&auto_play=${o}&how_teaser=true&visual=${f}&color=${m}&buying=${l}&sharing=${c}&download=${s}&show_artwork=${n}&show_playcount=${u}&show_user=${p}&show_comments=${d}&liking=${a}&`;return i.default.createElement("div",{className:"brz-soundCloud-content"},i.default.createElement("iframe",{className:g,src:b,title:"flex-sound-cloud"}))}},15482:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"StarRating1",{enumerable:!0,get:function(){return a}});const r=o(73948),i=(n=o(27378))&&n.__esModule?n:{default:n};var n;const a=e=>{const{showLeftLabel:t,showRightLabel:o,rating:n,ratingScale:a,iconName:l,iconType:s,label:c}=e,d=Array(a).fill("").map(((e,t)=>i.default.createElement("div",{key:t,className:"brz-starrating-icon-wrap"},i.default.createElement(r.ThemeIcon,{name:l,type:s,className:"brz-starrating-color-empty"}),i.default.createElement("span",{className:"brz-starrating-color",style:{width:`calc((${n} - ${t}) * 100%)`}},i.default.createElement(r.ThemeIcon,{name:l,type:s})))));return i.default.createElement(i.default.Fragment,null,t&&c,i.default.createElement("div",{className:"brz-starrating-container",title:n},d),o&&c)}},58933:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"StarRating2",{enumerable:!0,get:function(){return a}});const r=o(73948),i=(n=o(27378))&&n.__esModule?n:{default:n};var n;const a=e=>{const{showIcon:t,rating:o,iconName:n,iconType:a}=e;return i.default.createElement("div",{className:"brz-starrating-style2-container"},i.default.createElement("span",{className:"brz-starrating-text"},o),t&&i.default.createElement(r.ThemeIcon,{className:"brz-starrating-icon-wrap",name:n,type:a}))}},94020:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{TwitterEmbedEditor:function(){return a},TwitterEmbedPreview:function(){return l}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(97339),a=e=>{const{height:t,theme:o,name:i}=e;return r.default.createElement(n.TwitterTimelineEmbed,{key:JSON.stringify(e),sourceType:"profile",screenName:i,options:{height:t},theme:o})},l=e=>{let{height:t,theme:o,name:i}=e;return r.default.createElement("a",{className:"twitter-timeline",href:`https://twitter.com/${i}`,"data-height":t,"data-theme":o})}},25205:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{TwitterFollowEditor:function(){return a},TwitterFollowPreview:function(){return l}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(97339),a=e=>{const{name:t,size:o,showCount:i,showScreenName:a}=e;return r.default.createElement(n.TwitterFollowButton,{key:JSON.stringify(e),screenName:t,options:{size:o,showCount:i,showScreenName:a}})},l=e=>{let{name:t,size:o,showCount:i,showScreenName:n}=e;return r.default.createElement("a",{className:"twitter-follow-button",href:`https://twitter.com/${t}`,"data-related":t,"data-show-screen-name":n,"data-size":o,"data-show-count":i})}},38446:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{TwitterMentionEditor:function(){return a},TwitterMentionPreview:function(){return l}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(97339),a=e=>{const{name:t,size:o}=e;return r.default.createElement(n.TwitterMentionButton,{key:JSON.stringify(e),screenName:t,options:{size:o}})},l=e=>{let{name:t,size:o,tweet:i}=e;return r.default.createElement("a",{className:"twitter-mention-button",href:`https://twitter.com/${t}?screen_name=${t}`,"data-text":i,"data-size":o})}},42162:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Audio:function(){return r.Audio},Button:function(){return i.Button},Calendly:function(){return n.Calendly},EmbedCode:function(){return a.EmbedCode},Gap:function(){return l.Gap},LottieEditor:function(){return s.LottieEditor},LottieView:function(){return s.LottieView},MapPreview:function(){return c.MapPreview},MapEditor:function(){return c.MapEditor},ProgressBar1:function(){return d.ProgressBar1},ProgressBar2:function(){return u.ProgressBar2},SoundCloud:function(){return m.SoundCloud},StarRating1:function(){return y.StarRating1},StarRating2:function(){return g.StarRating2},Quantity1:function(){return p.Quantity1},Quantity2:function(){return f.Quantity2},TwitterMentionPreview:function(){return v.TwitterMentionPreview},TwitterEmbedPreview:function(){return b.TwitterEmbedPreview},TwitterFollowPreview:function(){return h.TwitterFollowPreview},TwitterFollowEditor:function(){return h.TwitterFollowEditor},TwitterEmbedEditor:function(){return b.TwitterEmbedEditor},TwitterMentionEditor:function(){return v.TwitterMentionEditor}});const r=o(33188),i=o(73289),n=o(78941),a=o(90637),l=o(63041),s=o(44312),c=o(6767),d=o(76552),u=o(27818),p=o(28917),f=o(30125),m=o(26683),y=o(15482),g=o(58933),b=o(94020),h=o(25205),v=o(38446)},83850:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DangerouslySetHtmlContent",{enumerable:!0,get:function(){return n}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const n=e=>{let{html:t,tagName:o,className:i,ssr:n}=e;const a=(0,r.useRef)(null);return(0,r.useEffect)((()=>{const e=a.current;if(e){const o=document.createRange().createContextualFragment(t);e.innerHTML="",e.appendChild(o)}}),[t,a]),n?(0,r.createElement)(o,{className:i,dangerouslySetInnerHTML:{__html:t}}):(0,r.createElement)(o,{className:i,ref:a})}},62474:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyList",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{className:t,onClick:o,style:i}=e;return r.default.createElement("svg",{className:t,style:i,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("path",{d:"M6,0 L1,0 C0.4,0 0,0.4 0,1 L0,6 C0,6.6 0.4,7 1,7 L6,7 C6.6,7 7,6.6 7,6 L7,1 C7,0.4 6.6,0 6,0 Z M6,9 L1,9 C0.4,9 0,9.4 0,10 L0,15 C0,15.6 0.4,16 1,16 L6,16 C6.6,16 7,15.6 7,15 L7,10 C7,9.4 6.6,9 6,9 Z M9,1 L16,1 L16,3 L9,3 L9,1 Z M9,4 L16,4 L16,6 L9,6 L9,4 Z M9,10 L16,10 L16,12 L9,12 L9,10 Z M9,13 L16,13 L16,15 L9,15 L9,13 Z",fill:"currentColor",fillRule:"nonzero"})))}},65300:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyMeta",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{className:t,onClick:o,style:i}=e;return r.default.createElement("svg",{className:t,style:i,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-180.000000, -334.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M196,344 L196,348 C196,349.104569 195.104569,350 194,350 L194,350 L190,350 L190,348 L194,348 L194,344 L196,344 Z M182,344 L182,348 L186,348 L186,350 L182,350 C180.895431,350 180,349.104569 180,348 L180,348 L180,344 L182,344 Z M188,337.008384 C188.113922,337.008384 188.223793,337.046048 188.313117,337.114242 L188.376,337.171 L191.876,341.171 C192.004992,341.318618 192.035818,341.527999 191.954844,341.706529 C191.885437,341.859555 191.744869,341.965716 191.582672,341.99305 L191.5,342 L189,342 L189,346 C189,346.552285 188.552285,347 188,347 C187.487164,347 187.064493,346.61396 187.006728,346.116621 L187,346 L187,342 L184.5,342 C184.303964,341.999801 184.12613,341.88506 184.045156,341.706529 C183.977678,341.557754 183.987839,341.387555 184.067748,341.249527 L184.124,341.171 L187.624,337.171 C187.721525,337.067234 187.857597,337.008384 188,337.008384 Z M186,334 L186,336 L182,336 L182,340 L180,340 L180,336 C180,334.945638 180.815878,334.081835 181.850738,334.005486 L182,334 L186,334 Z M194,334 C195.104569,334 196,334.895431 196,336 L196,336 L196,340 L194,340 L194,336 L190,336 L190,334 Z"}))))}},76817:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyMetafield",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{className:t,onClick:o,style:i}=e;return r.default.createElement("svg",{className:t,style:i,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-112.000000, -334.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M116.6,343 L113.4,343 C112.6,343 112,342.4 112,341.6 L112,335.4 C112,334.6 112.6,334 113.4,334 L116.7,334 C117.4,334 118,334.6 118,335.4 L118,341.7 C118,342.4 117.4,343 116.6,343 Z M126.6,350 L123.3,350 C122.5,350 121.9,349.4 121.9,348.6 L121.9,342.4 C122,341.6 122.6,341 123.4,341 L126.7,341 C127.4,341 128,341.6 128,342.4 L128,348.7 C128,349.4 127.4,350 126.6,350 Z M120,349 C117.5,349 115.2,347.7 113.9,345.5 L115.6,344.5 C116.6,346 118.2,347 120,347 L120,349 Z M124.3,339.5 C123.4,338 121.8,337 120,337 L120,335 C122.5,335 124.8,336.3 126.1,338.5 L124.3,339.5 Z"}))))}},2296:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyPriceStyle1",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{className:t,onClick:o,style:i}=e;return r.default.createElement("svg",{className:t,style:i,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{fill:"currentColor"},r.default.createElement("g",{transform:"translate(0 3)",fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:"1"},r.default.createElement("rect",{x:"0",y:"2",width:"7",height:"6",rx:"1"}),r.default.createElement("path",{d:"M16 3v4a1 1 0 0 1-1 1h-3.314l3.932-5.786A.998.998 0 0 1 16 3zm-3.008-1L9 8c-.336 0-1-.16-1-1V3a1 1 0 0 1 1-1h3.992z"}),r.default.createElement("path",{d:"M15.208 0L16 .467 8.753 11 8 10.407z"}))))}},19416:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyPriceStyle2",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{className:t,onClick:o,style:i}=e;return r.default.createElement("svg",{className:t,style:i,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{fill:"currentColor"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(0 5)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("rect",{x:"0",y:"0",width:"16",height:"6",rx:"1"})))))}},61110:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyPriceStyle3",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{className:t,onClick:o,style:i}=e;return r.default.createElement("svg",{className:t,style:i,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{fill:"currentColor"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(0 3)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M8.558 2L4.516 8H1a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h7.558zM15 2a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H7.174l4.201-6H15z"}),r.default.createElement("path",{d:"M10.931 0H12L5.06 10H4z"})))))}},88926:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyQuantity",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{className:t,onClick:o,style:i}=e;return r.default.createElement("svg",{className:t,style:i,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-248.000000, -251.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M251.203272,262.249348 L250.467272,262.249348 C250.485272,262.230348 250.503272,262.212348 250.520272,262.194348 L250.632272,262.076348 C251.289272,261.390348 251.808272,260.848348 251.805272,260.016348 C251.805272,259.726348 251.735272,259.445348 251.606272,259.204348 C251.314272,258.656348 250.722272,258.301348 250.022272,258.252348 C249.085272,258.192348 248.240272,258.813348 248.021272,259.734348 C247.925272,260.137348 248.174272,260.541348 248.577272,260.637348 C248.979272,260.734348 249.384272,260.483348 249.480272,260.081348 C249.529272,259.878348 249.728272,259.737348 249.920272,259.74835 C250.088272,259.760348 250.238272,259.826348 250.283272,259.910348 C250.286272,259.917348 250.304272,259.953348 250.304272,260.020348 C250.304272,260.236348 250.045272,260.517348 249.548272,261.037348 L249.434272,261.156348 C249.144272,261.459348 248.715272,261.915348 248.192272,262.496348 C247.994272,262.716348 247.944272,263.032348 248.065272,263.303348 C248.186272,263.574348 248.454272,263.74835 248.750272,263.74835 L251.203272,263.74835 C251.617272,263.74835 251.953272,263.412348 251.953272,262.998348 C251.953272,262.584348 251.617272,262.24835 251.203272,262.24835 L251.203272,262.249348 Z M249.155272,253.173348 L249.251272,253.112348 L249.251272,255.749348 C249.251272,256.163348 249.587272,256.499348 250.001272,256.499348 C250.415272,256.499348 250.751272,256.163348 250.751272,255.749348 L250.751272,251.749348 C250.751272,251.476348 250.602272,251.224348 250.363272,251.092348 C250.123272,250.961348 249.831272,250.970348 249.600272,251.115348 L248.353272,251.905348 C248.003272,252.127348 247.899272,252.590348 248.121272,252.940348 C248.343272,253.291348 248.808272,253.393348 249.156272,253.172348 L249.155272,253.173348 Z M262.751272,251.749348 L254.751272,251.749348 C254.199272,251.749348 253.751272,252.197348 253.751272,252.749348 C253.751272,253.301348 254.199272,253.749348 254.751272,253.749348 L262.751272,253.749348 C263.303272,253.749348 263.751272,253.301348 263.751272,252.749348 C263.751272,252.197348 263.303272,251.749348 262.751272,251.749348 Z M262.751272,256.749348 L254.751272,256.749348 C254.199272,256.749348 253.751272,257.197348 253.751272,257.749348 C253.751272,258.301348 254.199272,258.749348 254.751272,258.749348 L262.751272,258.749348 C263.303272,258.749348 263.751272,258.301348 263.751272,257.749348 C263.751272,257.197348 263.303272,256.749348 262.751272,256.749348 Z M262.751272,261.749348 L254.751272,261.749348 C254.199272,261.749348 253.751272,262.197348 253.751272,262.749348 C253.751272,263.301348 254.199272,263.749348 254.751272,263.749348 L262.751272,263.749348 C263.303272,263.749348 263.751272,263.301348 263.751272,262.749348 C263.751272,262.197348 263.303272,261.749348 262.751272,261.749348 Z"}))))}},95133:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyQuantityStyle1",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{className:t,onClick:o,style:i}=e;return r.default.createElement("svg",{className:t,style:i,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-318.000000, -136.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M332,136 C333.104569,136 334,136.895431 334,138 L334,150 C334,151.104569 333.104569,152 332,152 L320,152 C318.895431,152 318,151.104569 318,150 L318,138 C318,136.895431 318.895431,136 320,136 L332,136 Z M328,140 L324,140 L324,148 L328,148 L328,140 Z"}))))}},35313:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyQuantityStyle2",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{className:t,onClick:o,style:i}=e;return r.default.createElement("svg",{className:t,style:i,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("path",{d:"M12.5,1 C13.3284271,1 14,1.72753728 14,2.625 L14,4 L10.9,4 C10.4411788,4 10.0625482,4.33379954 10.0070123,4.76524186 L10,4.875 L10,10.125 C10,10.6082492 10.4029437,11 10.9,11 L10.9,11 L14,11 L14,12.375 C14,13.2724627 13.3284271,14 12.5,14 L3.5,14 C2.67157288,14 2,13.2724627 2,12.375 L2,11 L5.1,11 C5.55882118,11 5.93745178,10.6662005 5.99298772,10.2347581 L6,10.125 L6,4.875 C6,4.39175084 5.59705627,4 5.1,4 L5.1,4 L2,4 L2,2.625 C2,1.72753728 2.67157288,1 3.5,1 L12.5,1 Z",fill:"currentColor",fillRule:"nonzero"}),r.default.createElement("rect",{fill:"currentColor",x:"0",y:"7",width:"5",height:"1"}),r.default.createElement("rect",{fill:"currentColor",x:"11",y:"7",width:"5",height:"1"}),r.default.createElement("rect",{fill:"currentColor",transform:"translate(13.500000, 7.500000) rotate(-270.000000) translate(-13.500000, -7.500000) ",x:"11",y:"7",width:"5",height:"1"})))}},52777:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyVariant",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{className:t,onClick:o,style:i}=e;return r.default.createElement("svg",{className:t,style:i,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-248.000000, -335.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M254,349 L249,349 C248.447715,349 248,348.552285 248,348 L248,336 C248,335.447715 248.447715,335 249,335 L254,335 C254.552285,335 255,335.447715 255,336 L255,348 C255,348.552285 254.552285,349 254,349 Z M257,340 L259,340 L259,344 L257,344 L257,340 Z M262,347 L259,347 L259,346 L257,346 L257,348 C257,348.552285 257.447715,349 258,349 L263,349 C263.552285,349 264,348.552285 264,348 L264,346 L262,346 L262,347 Z M263,335 L258,335 C257.447715,335 257,335.447715 257,336 L257,338 L259,338 L259,337 L262,337 L262,338 L264,338 L264,336 C264,335.447715 263.552285,335 263,335 Z M262,340 L264,340 L264,344 L262,344 L262,340 Z"}))))}},65760:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyVariantStyleImage",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{className:t,onClick:o,style:i}=e;return r.default.createElement("svg",{className:t,style:i,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-326.000000, -166.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M340,166 C341.104569,166 342,166.895431 342,168 L342,168 L342,180 C342,181.104569 341.104569,182 340,182 L340,182 L328,182 C326.895431,182 326,181.104569 326,180 L326,180 L326,168 C326,166.895431 326.895431,166 328,166 L328,166 Z M340,168 L328,168 L328,180 L340,180 L340,168 Z M336.023,172 C336.203884,172.008434 336.366072,172.114009 336.447,172.276 L336.447,172.276 L338.947,177.276 C339.024667,177.430993 339.016504,177.615158 338.925429,177.762671 C338.834353,177.910185 338.673364,178.000001 338.5,178.000001 L338.5,178.000001 L329.5,178.000001 C329.315052,178.0004 329.14499,177.898673 329.057869,177.73553 C328.970747,177.572387 328.980799,177.374477 329.084,177.221 L329.084,177.221 L331.084,174.221 C331.16698,174.096002 331.301705,174.014873 331.451,174 C331.599987,173.989115 331.746556,174.042215 331.854,174.146 L331.854,174.146 L333.409,175.7 L335.576,172.234 C335.666779,172.075671 335.841162,171.984383 336.023,172 Z M331,170 C331.552285,170 332,170.447715 332,171 C332,171.552285 331.552285,172 331,172 C330.447715,172 330,171.552285 330,171 C330,170.447715 330.447715,170 331,170 Z"}))))}},19727:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyVariantStyleRadio",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{className:t,onClick:o,style:i}=e;return r.default.createElement("svg",{className:t,style:i,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-289.000000, -166.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M297,166 C301.416222,166.00496 304.99504,169.583778 305,174 C305,178.418278 301.418278,182 297,182 C292.581722,182 289,178.418278 289,174 C289,169.581722 292.581722,166 297,166 Z M297,168 C293.686292,168 291,170.686292 291,174 C291,177.313708 293.686292,180 297,180 C298.591299,180 300.117422,179.367859 301.242641,178.242641 C302.367859,177.117422 303,175.591299 303,174 C303,170.686292 300.313708,168 297,168 Z M297,171 C298.656854,171 300,172.343146 300,174 C300,175.656854 298.656854,177 297,177 C295.343146,177 294,175.656854 294,174 C294,172.343146 295.343146,171 297,171 Z"}))))}},82951:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyVariantStyleSelect",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{className:t,onClick:o,style:i}=e;return r.default.createElement("svg",{className:t,style:i,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-251.000000, -166.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M265,166 C266.104569,166 267,166.895431 267,168 L267,180 C267,181.104569 266.104569,182 265,182 L253,182 C251.895431,182 251,181.104569 251,180 L251,168 C251,166.895431 251.895431,166 253,166 L265,166 Z M265,168 L253,168 L253,180 L265,180 L265,168 Z M261.940499,175.247864 C262.064132,175.247661 262.176272,175.320336 262.226584,175.433269 C262.276897,175.546202 262.255931,175.678177 262.173096,175.769957 L262.173096,175.769957 L259.359421,178.896263 C259.300126,178.962287 259.215566,179 259.126824,179 C259.038083,179 258.953522,178.962287 258.894227,178.896263 L258.894227,178.896263 L256.080552,175.769957 C255.997718,175.678177 255.976751,175.546202 256.027064,175.433269 C256.077377,175.320336 256.189516,175.247661 256.313149,175.247864 L256.313149,175.247864 Z M259.126824,169 C259.214602,169 259.298591,169.035765 259.359421,169.099046 L259.359421,169.099046 L262.173096,172.225352 C262.255513,172.317166 262.276224,172.448864 262.225965,172.561542 C262.175705,172.674219 262.063878,172.74682 261.940499,172.74682 L261.940499,172.74682 L256.313149,172.74682 C256.189771,172.74682 256.077943,172.674219 256.027684,172.561542 C255.977425,172.448864 255.998135,172.317166 256.080552,172.225352 L256.080552,172.225352 L258.894227,169.099046 C258.955058,169.035765 259.039046,169 259.126824,169 Z"}))))}},27925:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyVendor",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{className:t,onClick:o,style:i}=e;return r.default.createElement("svg",{className:t,style:i,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-248.000000, -334.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M263.9,338.55303 L261.9,334.55303 C261.729775,334.21236 261.380826,333.997951 261,334.000015 L251,334.000015 C250.620974,333.999853 250.274425,334.213978 250.105,334.55303 L248.105,338.55303 C248.035803,338.691869 248,338.844902 248,339.00003 C248.00078,339.831476 248.515885,340.575719 249.29377,340.869315 C250.071655,341.162911 250.950051,340.944615 251.5,340.32103 C251.879667,340.751531 252.425999,340.998154 253,340.998154 C253.574002,340.998154 254.120334,340.751531 254.5,340.32103 C254.879667,340.751531 255.425999,340.998154 256,340.998154 C256.574002,340.998154 257.120334,340.751531 257.5,340.32103 C257.879667,340.751531 258.425999,340.998154 259,340.998154 C259.574002,340.998154 260.120334,340.751531 260.5,340.32103 C261.04995,340.944615 261.928346,341.162911 262.706231,340.869315 C263.484116,340.575719 263.999221,339.831476 264.000061,339.00003 C264.0017,338.8453 263.967469,338.692286 263.9,338.55303 Z M261,348.00003 L258,348.00003 L258,345.00003 C258,344.447745 257.552285,344.00003 257,344.00003 L255,344.00003 C254.447716,344.00003 254,344.447745 254,345.00003 L254,348.00003 L251,348.00003 L251,342.00003 L249,342.00003 L249,349.00003 C249,349.552314 249.447716,350.00003 250,350.00003 L262,350.00003 C262.552285,350.00003 263,349.552314 263,349.00003 L263,342.00003 L261,342.00003 L261,348.00003 Z"}))))}},59690:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyViewDetails",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{className:t,onClick:o,style:i}=e;return r.default.createElement("svg",{className:t,style:i,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-180.000000, -251.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M188,263 C191.611285,263 194.420063,259.9 195.623824,258.1 C196.125392,257.4 196.125392,256.5 195.623824,255.8 C194.420063,254.1 191.611285,251 188,251 C184.388715,251 181.579937,254.1 180.376176,255.9 C179.874608,256.6 179.874608,257.5 180.376176,258.1 C181.579937,259.9 184.388715,263 188,263 Z M188,254 C189.705329,254 191.009404,255.3 191.009404,257 C191.009404,258.7 189.705329,260 188,260 C186.294671,260 184.990596,258.7 184.990596,257 C184.990596,255.3 186.294671,254 188,254 Z"}))))}},99728:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BlogPostMeta",{enumerable:!0,get:function(){return x}});const r=S(o(60042)),i=S(o(27378)),n=S(o(36275)),a=S(o(1440)),l=S(o(67439)),s=S(o(10787)),c=S(o(63692)),d=o(8704),u=o(26989),p=o(86022),f=o(97724),m=o(97045),y=o(92213),g=o(94220),b=S(o(43698)),h=o(16341),v=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(78528));function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}class x extends c.default{static get componentId(){return f.ElementTypes.BlogPostMeta}static defaultValue=b.default;renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{value:{popupId:t}}=e;const{blockId:o}=e;return"GlobalBlock"===e.type&&(t=(0,m.blocksDataSelector)((0,y.getStore)().getState())[e.value._id].value.popupId),{blockId:o,instanceKey:`${this.getId()}_${t}`}}});return i.default.createElement(s.default,e)}renderForEdit(e,t,o){const{linkType:s,linkExternalBlank:c,linkExternalRel:f,linkAnchor:b,linkExternal:S,linkPopup:w,linkUpload:x,tagName:M,metaId:T,customCSS:P,linkPage:C,sourceType:k}=e,{postElements:_}=e,O=(0,r.default)("brz-blogpostmeta w-full",(0,g.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,h.style)(e,t,o))),E={anchor:b,external:S,popup:w,upload:x,page:C,story:"",lightBox:"",action:""},z=()=>{let e="";return JSON.parse(_).map((t=>{e=e.concat(`${t}='1' `)})),e},B=k&&T?`{{ post_info ${z()} type="${k}" id="${T}"}}`:`{{ post_info ${z()} }}`,j=i.default.createElement(d.DynamicContentHelper,{placeholder:B,tagName:M,placeholderIcon:"shopify-meta",props:{className:"brz-shopify-blogPostMeta__title"}});return i.default.createElement(i.default.Fragment,null,i.default.createElement(l.default,this.makeToolbarPropsFromConfig2(v),i.default.createElement(n.default,{selectorName:this.getId(),css:P},i.default.createElement(p.Wrapper,this.makeWrapperProps({className:O}),E[s]?i.default.createElement(a.default,{href:E[s],type:s,target:c,rel:f},j):j))),(0,u.shouldRenderPopup)(e,(0,m.blocksDataSelector)((0,y.getStore)().getState()))&&this.renderPopups())}}},16341:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleFlexHorizontalAlign","cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementTitleTextShadow"]},".brz &&:hover > .brz-a.brz-a:not(.brz-btn)":{standart:["cssStyleColor"]},".brz &&:hover .brz-shopify-blogPostMeta__title":{standart:["cssStyleStrokeText"]}}})}},78528:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return y}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(54639),a=o(13662),l=o(64187),s=o(81405),c=o(64985),d=o(16526),u=o(69321),p=o(68256),f=o(24119),m=o(57582),y=e=>{let{v:t,device:o,component:i}=e;const y=e=>(0,u.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:g}=(0,p.getOptionColorHexByPalette)(y("colorHex"),y("colorPalette")),b=Boolean(i.props.meta.sectionPopup),h=Boolean(i.props.meta.sectionPopup2),v=r.default.getAll(),S=v.api?.sourceTypes?.getSourceChoices,w=(0,d.isPopup)(v),x=y("linkSource"),M=y("sourceType"),T=(0,n.isCloud)(v)&&(0,a.isShopifyShop)(v.modules?.shop)&&v.modules?.shop?.api?.blogPostMetaLoad?.handler;return[{id:"blogPostMeta",type:"popover-dev",config:{icon:"t2-shopify-meta",size:"auto",title:(0,c.t)("Meta")},position:70,options:[{id:"postElements",type:"multiSelect-dev",label:(0,c.t)("Elements"),placeholder:(0,c.t)("0 Selected"),devices:"desktop",choices:[{value:"author",title:(0,c.t)("Author")},{value:"date",title:(0,c.t)("Date")},{value:"comments",title:(0,c.t)("Comments")}]},{id:"metaId",type:"select-dev",label:(0,c.t)("Field"),disabled:!T,devices:"desktop",placeholder:"Select",choices:{load:(0,l.getBlogPostMeta)(M,v),emptyLoad:{title:(0,c.t)("There are no choices")}}}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,c.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,c.t)("Colors"),icon:{style:{backgroundColor:(0,s.hexToRgba)(g,y("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,c.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[f.NORMAL,f.HOVER]}]},{id:"tabTextStroke",label:(0,c.t)("Stroke"),options:[{id:"textStrokeBorder",type:"border-dev",config:{width:["grouped"],styles:["none","solid"]},states:[f.NORMAL,f.HOVER]}]},{id:"tabTextShadow",label:(0,c.t)("Shadow"),options:[{id:"textShadow",type:"textShadow-dev",states:[f.NORMAL,f.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,c.t)("Link")},position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0,showSingle:!0},tabs:[{id:"page",label:(0,c.t)("Page"),options:[{id:"linkSource",type:"select-dev",label:(0,c.t)("Type"),devices:"desktop",disabled:!S,choices:S?.()??[],config:{size:"large"}},{id:"linkPage",type:"internalLink-dev",label:(0,c.t)("Find Page"),devices:"desktop",disabled:!x,config:{postType:x}}]},{id:"external",label:(0,c.t)("URL"),options:[(0,m.toolbarLinkExternal)({v:t,config:i.context.dynamicContent.config,devices:"desktop"}),{id:"linkExternalBlank",label:(0,c.t)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:(0,c.t)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:"anchor",label:(0,c.t)("Block"),options:[(0,m.toolbarLinkAnchor)({v:t,device:o,devices:"desktop",state:"normal",disabled:w})]},{id:"popup",label:(0,c.t)("Popup"),options:[(0,m.toolbarLinkPopup)({v:t,component:i,state:"normal",device:"desktop",canDelete:"desktop"===o,disabled:"desktop"===o?b||h||w:"popup"!==y("linkType")||""===y("linkPopup")})]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,c.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,c.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,c.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,c.t)("More Settings"),position:110,title:(0,c.t)("Settings"),roles:["admin"],devices:"desktop",icon:"nc-cog"}]}},89367:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Price",{enumerable:!0,get:function(){return M}});const r=S(o(60042)),i=S(o(27378)),n=o(2983),a=S(o(36275)),l=S(o(67439)),s=S(o(63692)),c=o(86022),d=o(97724),u=o(94220),p=S(o(25342)),f=x(o(14578)),m=x(o(43021)),y=x(o(41498)),g=o(96657),b=x(o(57571)),h=x(o(90039)),v=x(o(80351));function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class M extends s.default{static get componentId(){return d.ElementTypes.Price}static defaultValue=p.default;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(b,f,{allowExtend:!1});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const{customCSS:s,priceStyle:d,sourceID:p,sourceType:f}=e,b=(0,r.default)("brz-shopify-price-container",(0,u.css)(this.getComponentId(),this.getId(),(0,g.style)(e,t,o)));return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(v,y,{allowExtend:!1}),selector:".brz-shopify-price-container .brz-shopify-price-style2"},i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(h,m,{allowExtend:!1}),selector:".brz-shopify-price-container .brz-shortcode__placeholder, .brz-shopify-price-container .brz-shopify-price-style1"},i.default.createElement(a.default,{selectorName:this.getId(),css:s},i.default.createElement(c.Wrapper,this.makeWrapperProps({className:b}),(0,n.useContent)(d,p,f)))))}}},14578:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},43021:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"pricePadding",type:"padding-dev",label:(0,r.t)("Padding")},{id:"priceMargin",label:(0,r.t)("Margin"),type:"margin-dev"}]}]}]}]}]},41498:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"throughPricePadding",type:"padding-dev",label:(0,r.t)("Padding")},{id:"throughPriceMargin",label:(0,r.t)("Margin"),type:"margin-dev"}]}]}]}]}]},96657:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-shopify-price-style1:hover":{standart:["cssStyleElementShopifyBorderColorPrice","cssStyleElementShopifyBoxShadowPrice","cssStyleElementShopifyTextColorPrice","cssStyleElementShopifyFontFamilyPrice","cssStyleElementShopifyFontSizePrice","cssStyleElementShopifyLineHeightPrice","cssStyleElementShopifyFontWeightPrice","cssStyleElementShopifyLetterSpacingPrice","cssStyleElementShopifyBgColorPrice","cssStyleElementShopifyPaddingFourFieldsPrice","cssStyleElementShopifyMarginFourFieldsPrice"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-shopify-price-style2:hover":{standart:["cssStyleElementShopifyBorderColorThroughPrice","cssStyleElementShopifyBoxShadowThroughPrice","cssStyleElementShopifyTextColorThroughPrice","cssStyleElementShopifyFontFamilyThroughPrice","cssStyleElementShopifyFontSizeThroughPrice","cssStyleElementShopifyLineHeightThroughPrice","cssStyleElementShopifyFontWeightThroughPrice","cssStyleElementShopifyLetterSpacingThroughPrice","cssStyleElementShopifyBgColorThroughPrice","cssStyleElementShopifyPaddingFourFieldsThroughPrice","cssStyleElementShopifyMarginFourFieldsThroughPrice"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},57571:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64187),a=o(64985),l=o(69321),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(63300));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{let{v:t,device:o}=e;const i=r.default.getAll(),c=i?.api?.sourceItems?.handler,d=s.read(("sourceType",(0,l.defaultValueValue)({v:t,key:"sourceType",device:o,state:"normal"})))??"";return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-woo-price",title:(0,a.t)("Style")},position:90,options:[{id:"priceStyle",label:(0,a.t)("Style"),type:"radioGroup-dev",choices:[{value:"style-1",icon:"t2-shopify-price-style1"},{value:"style-2",icon:"t2-shopify-price-style2"},{value:"style-3",icon:"t2-shopify-price-style3"}]},{id:"sourceID",type:"select-dev",label:(0,a.t)("Product"),devices:"desktop",disabled:!c,placeholder:"Select",choices:{load:(0,n.getSourceIds)(d,i),emptyLoad:{title:(0,a.t)("There are no choices")}}}]}]}},90039:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgPriceColorHex"),s("bgPriceColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:8,options:[{id:"typographyPrice",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("bgPriceColorOpacity"))}}},position:9,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"bgPriceColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabText",label:(0,i.t)("Text"),options:[{id:"textColorPrice",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"priceBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"priceSBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",position:100,title:(0,i.t)("Settings"),icon:"nc-cog"}]}},80351:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgThroughPriceColorHex"),s("bgThroughPriceColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:8,options:[{id:"typographyThroughPrice",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("bgThroughPriceColorOpacity"))}}},position:9,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"bgThroughPriceColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabText",label:(0,i.t)("Text"),options:[{id:"textColorThroughPrice",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"throughPriceBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"priceThroughSBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",position:100,title:(0,i.t)("Settings"),icon:"nc-cog"}]}},83985:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PriceStyle",{enumerable:!0,get:function(){return o}}),function(e){e.S1="style-1",e.S2="style-2",e.S3="style-3"}(o||(o={}))},2983:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useContent",{enumerable:!0,get:function(){return l}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(8704),a=o(83985),l=(e,t,o)=>{switch(e){case a.PriceStyle.S1:return r.default.createElement(r.default.Fragment,null,r.default.createElement(n.DynamicContentHelper,{props:{className:"brz-shopify-price-style1"},placeholder:`{{ price type='${o}' id='${t}' }}`,tagName:"span",placeholderIcon:"woo-price",blocked:!1}),r.default.createElement(n.DynamicContentHelper,{props:{className:"brz-shopify-price-style2"},placeholder:`{{ compareAtPrice type='${o}' id='${t}' }}`,tagName:"span",placeholderIcon:"woo-price",fallbackComponent:r.default.createElement(r.default.Fragment,null),blocked:!1}));case a.PriceStyle.S2:return r.default.createElement(n.DynamicContentHelper,{props:{className:"brz-shopify-price-style1"},placeholder:`{{ price type='${o}' id='${t}' }}`,tagName:"span",placeholderIcon:"woo-price",blocked:!1});case a.PriceStyle.S3:return r.default.createElement(n.DynamicContentHelper,{props:{className:"brz-shopify-price-style2"},placeholder:`{{ compareAtPrice type='${o}' id='${t}' }}`,tagName:"span",placeholderIcon:"woo-price",blocked:!1})}}},92096:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ProductMetafield",{enumerable:!0,get:function(){return T}});const r=w(o(60042)),i=w(o(27378)),n=w(o(36275)),a=w(o(1440)),l=w(o(67439)),s=w(o(10787)),c=w(o(63692)),d=o(8704),u=o(26989),p=o(86022),f=o(97724),m=o(97045),y=o(92213),g=o(94220),b=w(o(24917)),h=M(o(89835)),v=o(57314),S=M(o(18762));function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function M(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class T extends c.default{static get componentId(){return f.ElementTypes.ProductMetafield}static defaultValue=b.default;renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{value:{popupId:t}}=e;const{blockId:o}=e;return"GlobalBlock"===e.type&&(t=(0,m.blocksDataSelector)((0,y.getStore)().getState())[e.value._id].value.popupId),{blockId:o,instanceKey:`${this.getId()}_${t}`}}});return i.default.createElement(s.default,e)}renderForEdit(e,t,o){const{linkType:s,linkExternalBlank:c,linkExternalRel:f,linkAnchor:b,linkExternal:w,linkPopup:x,linkUpload:M,tagName:T,metafieldKey:P,productID:C,customCSS:k,linkPage:_}=e,O=(0,r.default)("brz-shopify-metafield w-full",(0,g.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,v.style)(e,t,o))),E={anchor:b,external:w,popup:x,upload:M,page:_,story:"",lightBox:"",action:""},z=i.default.createElement(d.DynamicContentHelper,{placeholder:`{{ metafield type='shopify-product' id='${C}' key= '${P}' }}`,tagName:T,props:{className:"brz-shopify-metafield__title"},placeholderIcon:"shopify-metafield"});return i.default.createElement(i.default.Fragment,null,i.default.createElement(l.default,this.makeToolbarPropsFromConfig2(S,h),i.default.createElement(n.default,{selectorName:this.getId(),css:k},i.default.createElement(p.Wrapper,this.makeWrapperProps({className:O}),E[s]?i.default.createElement(a.default,{href:E[s],type:s,target:c,rel:f},z):z))),(0,u.shouldRenderPopup)(e,(0,m.blocksDataSelector)((0,y.getStore)().getState()))&&this.renderPopups())}}},89835:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},57314:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&":{standart:["cssStyleContentAlign"]},".brz &&:hover *":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementTitleTextShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover > .brz-a.brz-a:not(.brz-btn)":{standart:["cssStyleColor"]},".brz &&:hover .brz-shopify-metafield__title":{standart:["cssStyleStrokeText"]}}})}},18762:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return y}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(54639),a=o(13662),l=o(64187),s=o(81405),c=o(64985),d=o(16526),u=o(69321),p=o(68256),f=o(24119),m=o(57582),y=e=>{let{v:t,device:o,component:i}=e;const y=e=>(0,u.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:g}=(0,p.getOptionColorHexByPalette)(y("colorHex"),y("colorPalette")),b=Boolean(i.props.meta.sectionPopup),h=Boolean(i.props.meta.sectionPopup2),v=r.default.getAll(),S=v.api?.sourceTypes?.getSourceChoices,w=(0,d.isPopup)(v),x=y("linkSource"),M=y("sourceType"),T=v?.api?.sourceItems?.handler,P=(0,n.isCloud)(v)&&(0,a.isShopifyShop)(v.modules?.shop)&&v.modules?.shop?.api?.metafieldsLoad?.handler;return[{id:"productMetafields",type:"popover-dev",config:{icon:"t2-shopify-metafield",size:"auto",title:(0,c.t)("Metafield")},position:70,options:[{id:"productID",type:"select-dev",label:(0,c.t)("Product"),disabled:!T||!M,devices:"desktop",placeholder:"Select",choices:{load:(0,l.getSourceIds)(M,v),emptyLoad:{title:(0,c.t)("There are no choices")}}},{id:"metafieldKey",type:"select-dev",label:(0,c.t)("Metafield"),disabled:!P||""===y("productID"),devices:"desktop",placeholder:"Select",choices:{load:(0,l.getMetafields)(M,v),emptyLoad:{title:(0,c.t)("There are no choices")}}}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,c.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,c.t)("Colors"),icon:{style:{backgroundColor:(0,s.hexToRgba)(g,y("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,c.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[f.NORMAL,f.HOVER]}]},{id:"tabTextStroke",label:(0,c.t)("Stroke"),options:[{id:"textStrokeBorder",type:"border-dev",config:{width:["grouped"],styles:["none","solid"]},states:[f.NORMAL,f.HOVER]}]},{id:"tabTextShadow",label:(0,c.t)("Shadow"),options:[{id:"textShadow",type:"textShadow-dev",states:[f.NORMAL,f.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,c.t)("Link")},position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0,showSingle:!0},tabs:[{id:"page",label:(0,c.t)("Page"),options:[{id:"linkSource",type:"select-dev",label:(0,c.t)("Type"),devices:"desktop",disabled:!S,choices:S?.()??[],config:{size:"large"}},{id:"linkPage",type:"internalLink-dev",label:(0,c.t)("Find Page"),devices:"desktop",disabled:!x,config:{postType:x}}]},{id:"external",label:(0,c.t)("URL"),options:[(0,m.toolbarLinkExternal)({v:t,config:i.context.dynamicContent.config,devices:"desktop"}),{id:"linkExternalBlank",label:(0,c.t)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:(0,c.t)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:"anchor",label:(0,c.t)("Block"),options:[(0,m.toolbarLinkAnchor)({v:t,device:o,devices:"desktop",state:"normal",disabled:w})]},{id:"popup",label:(0,c.t)("Popup"),options:[(0,m.toolbarLinkPopup)({v:t,component:i,state:"normal",device:"desktop",canDelete:"desktop"===o,disabled:"desktop"===o?b||h||w:"popup"!==y("linkType")||""===y("linkPopup")})]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"contentHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,c.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,c.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,c.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,c.t)("More Settings"),position:110,title:(0,c.t)("Settings"),roles:["admin"],devices:"desktop",icon:"nc-cog"}]}},92306:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Quantity",{enumerable:!0,get:function(){return M}});const r=S(o(36275)),i=S(o(67439)),n=S(o(63692)),a=o(86022),l=o(97724),s=o(94220),c=o(42162),d=S(o(60042)),u=S(o(27378)),p=S(o(34394)),f=x(o(7506)),m=x(o(35686)),y=x(o(94506)),g=o(33830),b=x(o(89819)),h=x(o(45757)),v=x(o(85739));function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class M extends n.default{static get componentId(){return l.ElementTypes.Quantity}static defaultValue=p.default;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(v,y);this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const{customCSS:n,quantityStyle:l,sourceID:p}=e,y="style-1"===l?".brz-shopify-quantity-style1 input":".brz-shopify-quantity-style2 input",v={"data-product-handle":String(p)},S=(0,d.default)("brz-shopify-quantity-container",(0,s.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,g.style)(e,t,o)));return u.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(h,m,{allowExtend:!1}),selector:y},u.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(b,f,{allowExtend:!1}),selector:".brz-shopify-quantity-style2 .brz-package__button"},u.default.createElement(r.default,{selectorName:this.getId(),css:n},u.default.createElement(a.Wrapper,this.makeWrapperProps({className:S}),"style-1"===l?u.default.createElement(c.Quantity1,{attr:v}):u.default.createElement(c.Quantity2,{attr:v})))))}}},7506:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"quantityButtonBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}]}]},35686:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"quantityInputBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:20}]}]}]}]}]},94506:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding")}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",disabled:!0}]}]}]},33830:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover ":{standart:["cssStylePaddingFourFields"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-shopify-quantity-style2 input:hover":{standart:["cssStyleBgColor","cssStyleBorder","cssStyleColor","cssStyleElementShopifyQuantityButtonSpacing","cssStyleElementShopifyQuantityInputBgColor","cssStyleElementShopifyQuantityInputBorder","cssStyleElementShopifyQuantityInputBoxShadow","cssStyleElementShopifyQuantityInputSize","cssStyleSizeHeightPxOnly","cssStyleSizeWidth","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementShopifyQuantityInputRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-shopify-quantity-style1 input:hover":{standart:["cssStyleBgColor","cssStyleBorder","cssStyleColor","cssStyleElementShopifyQuantityButtonSpacing","cssStyleElementShopifyQuantityInputBgColor","cssStyleElementShopifyQuantityInputBorder","cssStyleElementShopifyQuantityInputBoxShadow","cssStyleElementShopifyQuantityInputSize","cssStyleSizeHeightPxOnly","cssStyleSizeWidth","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementShopifyQuantityInputRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-shopify-quantity-style2 .brz-package__button:hover":{standart:["cssStyleElementShopifyQuantityButtonRadius","cssStyleElementShopifyQuantityButtonBgColor","cssStyleElementShopifyQuantityButtonBorder","cssStyleElementShopifyQuantityButtonBoxShadow","cssStyleElementShopifyQuantityButtonSize","cssStyleSizeHeightPxOnly","cssStyleSizeWidth","cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-shopify-quantity-container":{standart:["cssStylePaddingBG"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-shopify-quantity-style2 .brz-package__button svg":{standart:["cssStyleSizeFontSizeIcon"]}}})}},89819:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgColorHex"),s("bgColorPalette")),d="custom"!==s("buttonSize");return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("bgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"bgButtonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"buttonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"buttonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:1,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",position:20,tabs:[{id:"currentShortcodeButtonTab",label:(0,i.t)("Button"),options:[{id:"sizeGroup",type:"group-dev",position:10,options:[{id:"buttonSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"buttonWidth",label:(0,i.t)("Width"),type:"slider-dev",disabled:d,config:{min:0,max:100,units:[{title:"px",value:"px"}]}},{id:"buttonHeight",label:(0,i.t)("Height"),type:"slider-dev",disabled:d,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]},{id:"currentShortcodeIconTab",label:(0,i.t)("Icon"),options:[{id:"sizeGroup",type:"group-dev",options:[{id:"iconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:"custom"!==s("iconSize"),config:{min:14,max:180,units:[{title:"px",value:"px"}]}}]}]}]},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}]}]}},45757:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgColorHex"),s("bgColorPalette")),d="custom"!==s("inputSize");return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:8,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("bgColorOpacity"))}}},position:9,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"bgInputColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabText",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"inputBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"inputBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:10,options:[{id:"currentShortcodeTabs",className:"",position:2,type:"tabs-dev",tabs:[{id:"currentShortcodeIconTab",label:(0,i.t)("Icon"),options:[{id:"sizeGroup",type:"group-dev",position:10,options:[{id:"inputSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"inputWidth",label:(0,i.t)("Width"),type:"slider-dev",disabled:d,config:{min:0,max:100,units:[{title:"px",value:"px"}]}},{id:"inputHeight",label:(0,i.t)("Height"),type:"slider-dev",disabled:d,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]}]},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}]}]}},85739:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64187),a=o(64985),l=o(69321),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(63300));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{let{v:t,device:o}=e;const i=e=>(0,l.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),c=r.default.getAll(),d=s.read(i("sourceType"))??"",u=c?.api?.sourceItems?.handler,p="style-1"===i("quantityStyle");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"t2-shopify-quantity",title:(0,a.t)("Quantity")},position:90,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeQuantity",label:(0,a.t)("Quantity Style"),position:40,options:[{id:"quantityStyle",label:(0,a.t)("Style"),type:"radioGroup-dev",choices:[{value:"style-1",icon:"t2-shopify-quantity-style1"},{value:"style-2",icon:"t2-shopify-quantity-style2"}]},{id:"sourceID",type:"select-dev",label:(0,a.t)("Product"),devices:"desktop",disabled:!u||!d,placeholder:"Select",choices:{load:(0,n.getSourceIds)(d,c),emptyLoad:{title:(0,a.t)("There are no choices")}}}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},position:110,disabled:p,options:[{id:"buttonSpacing",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",position:110,disabled:!p}]}},58922:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Vendor",{enumerable:!0,get:function(){return M}});const r=S(o(36275)),i=S(o(1440)),n=S(o(67439)),a=S(o(10787)),l=S(o(63692)),s=o(8704),c=o(26989),d=o(86022),u=o(97045),p=o(92213),f=o(94220),m=S(o(60042)),y=S(o(27378)),g=S(o(42792)),b=x(o(6229)),h=o(52503),v=x(o(65022));function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class M extends l.default{static get componentId(){return"Vendor"}static defaultValue=g.default;renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{const{blockId:t,type:o,value:r}=e;let{value:{popupId:i}}=e;return"GlobalBlock"===o&&(i=(0,u.blocksDataSelector)((0,p.getStore)().getState())[r._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${i}`}}});return y.default.createElement(a.default,e)}renderForEdit(e,t,o){const{customCSS:a,linkAnchor:l,linkExternal:g,linkExternalBlank:S,linkExternalRel:w,linkPage:x,linkPopup:M,linkType:T,sourceID:P,sourceType:C,tagName:k}=e,_=(0,m.default)("brz-shopify-vendor w-full",(0,f.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,h.style)(e,t,o))),O={anchor:l,popup:M,external:g,page:x,lightBox:"",upload:"",action:"",story:""},E=C?`{{brizy_dc_collection_item_field slug="vendor" type="${C}" id="${P}"}}`:'{{brizy_dc_collection_item_field slug="vendor"}}',z=y.default.createElement(s.DynamicContentHelper,{placeholder:E,tagName:k,props:{className:"brz-shopify-vendor__title"},placeholderIcon:"shopify-vendor"});return y.default.createElement(y.default.Fragment,null,y.default.createElement(n.default,this.makeToolbarPropsFromConfig2(v,b),y.default.createElement(r.default,{selectorName:this.getId(),css:a},y.default.createElement(d.Wrapper,this.makeWrapperProps({className:_}),O[T]?y.default.createElement(i.default,{href:O[T],type:T,target:S,rel:w},z):z))),(0,c.shouldRenderPopup)(e,(0,u.blocksDataSelector)((0,p.getStore)().getState()))&&this.renderPopups())}}},6229:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=()=>(0,r.t)("Product Vendor"),n=[{title:"Span",value:"span"},{title:"Div",value:"div"},{title:"P",value:"p"},{title:"H1",value:"h1"},{title:"H2",value:"h2"},{title:"H3",value:"h3"},{title:"H4",value:"h4"},{title:"H5",value:"h5"},{title:"H6",value:"h6"},{title:"PRE",value:"pre"}],a=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:'\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

'},placeholder:"element { CSS goes here }"},{id:"tagName",label:(0,r.t)("HTML Tag"),type:"select-dev",devices:"desktop",position:100,choices:n},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:110,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},52503:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&":{standart:["cssStyleContentAlign"]},".brz &&:hover *":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementTitleTextShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover > .brz-a.brz-a:not(.brz-btn)":{standart:["cssStyleColor"]},".brz &&:hover .brz-shopify-vendor__title":{standart:["cssStyleStrokeText"]}}})}},65022:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64187),a=o(81405),l=o(64985),s=o(69321),c=o(68256),d=o(24119),u=o(57582),p=e=>{let{v:t,device:o,context:i,component:p}=e;const f=e=>(0,s.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),m=r.default.getAll(),y=m.api?.sourceTypes?.getSourceChoices,g=f("sourceType"),{linkPopup:b,popups:h,linkSource:v}=t,{hex:S}=(0,c.getOptionColorHexByPalette)(f("colorHex"),f("colorPalette"));return[{id:"vendor",type:"popover-dev",config:{icon:"t2-shopify-vendor",size:"auto",title:(0,l.t)("Vendor")},position:70,options:[{id:"sourceID",type:"select-dev",label:(0,l.t)("Product"),devices:"desktop",placeholder:"Select",choices:{load:(0,n.getSourceIds)(g,m),emptyLoad:{title:(0,l.t)("There are no choices")}}}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(S,f("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,l.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[d.NORMAL,d.HOVER]}]},{id:"tabTextStroke",label:(0,l.t)("Stroke"),options:[{id:"textStrokeBorder",type:"border-dev",config:{width:["grouped"],styles:["none","solid"]},states:[d.NORMAL,d.HOVER]}]},{id:"tabTextShadow",label:(0,l.t)("Shadow"),options:[{id:"textShadow",type:"textShadow-dev",states:[d.NORMAL,d.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,l.t)("Link")},position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0,showSingle:!0},tabs:[{id:"page",label:(0,l.t)("Page"),options:[{id:"linkSource",type:"select-dev",label:(0,l.t)("Type"),devices:"desktop",choices:y?.()??[],config:{size:"large"}},{id:"linkPage",type:"internalLink-dev",label:(0,l.t)("Find Page"),devices:"desktop",disabled:!v,config:{postType:v}}]},{id:"external",label:(0,l.t)("URL"),options:[(0,u.toolbarLinkExternal)({v:t,config:i.dynamicContent.config}),{id:"linkExternalBlank",label:(0,l.t)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:(0,l.t)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:"anchor",label:(0,l.t)("Block"),options:[(0,u.toolbarLinkAnchor)({v:t,device:o,devices:"desktop",state:"normal"})]},{id:"popup",label:(0,l.t)("Popup"),options:[{id:"linkPopup",type:"promptAddPopup",label:(0,l.t)("Popup"),popupKey:`${p.getId()}_${b}`,value:{value:b,popups:h},onChange:e=>{let{value:t,popups:o}=e;return{linkPopup:t,popups:o}}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"contentHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,l.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,l.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,l.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,l.t)("More Settings"),position:110,title:(0,l.t)("Settings"),roles:["admin"],devices:"desktop",icon:"nc-cog"}]}},44567:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getCurrentPage",{enumerable:!0,get:function(){return c}});const r=o(47885),i=o(13662),n=o(62762),a=o(39191),l=o(64187),s=o(52105),c=(0,r.match)([a.isWp,e=>(0,l.getPage)(e.wp.page)],[n.isCloud,(0,r.match)([n.isCMS,e=>(0,r.match)([i.isCustomerPage,e=>(0,l.getCustomerPage)(e.id)],[i.isCollectionPage,e=>(0,l.getPage)(e.id).then(s.itemToPageCollection)],[i.isEcwidProduct,t=>(0,r.match)([e=>void 0===e,()=>Promise.reject()],[i.isShopifyShop,()=>Promise.reject()],[i.isEcwidShop,e=>(0,l.getEcwidProduct)(t.id,e)])(e.modules?.shop)],[i.isEcwidCategory,t=>(0,r.match)([e=>void 0===e,()=>Promise.reject()],[i.isShopifyShop,()=>Promise.reject()],[i.isEcwidShop,e=>(0,l.getEcwidCategory)(t.id,e)])(e.modules?.shop)])(e.page)],[n.isShopify,e=>(0,l.getPage)(e.page.id).then(s.itemToPageShopify)])])},61898:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getCurrentPageId",{enumerable:!0,get:function(){return l}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(63300));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=()=>n.read(r.default.get("wp").page)??""},22077:(e,t,o)=>{"use strict";const r=T(o(33979)),i=T(o(27378)),n=T(o(31542)),a=o(23884),l=T(o(8136)),s=T(o(22546)),c=o(10744),d=o(97045),u=o(92213),p=o(64187),f=(o(69745),o(44576)),m=o(4820),y=o(25663),g=o(49627),b=o(72833),h=o(64985),v=o(58991),S=o(24978);o(91416);const w=o(44567),x=T(o(97734)),M=o(39476);function T(e){return e&&e.__esModule?e:{default:e}}const P=document.querySelector("#brz-ed-root"),C=window.parent.document.querySelector(".brz-ed-page-curtain");!async function(){try{if(!P)throw C?.classList.add("has-load-error"),new g.PageError((0,h.t)("could not find #brz-ed-root"));const e=s.default.getAll(),t=e.project.status||{},o=e.projectData,{isSyncAllowed:T=!1}=e.cloud||{};if(!o||!o.data)throw new g.ProjectError((0,h.t)("missing project"));t&&!t.locked&&await(0,p.addProjectLockedBeacon)();const[k,_,O]=await Promise.all([(0,w.getCurrentPage)(e),(0,p.getGlobalBlocks)(),fetch((0,m.assetUrl)("thumbs/blocksThumbnailSizes.json")).then((e=>e.json()))]),{styles:E,extraFontStyles:z=[],fonts:B}=o.data,j=(0,y.getBlocksInPage)(k,_),N=(0,v.getUsedModelsFonts)({models:j,globalBlocks:_}),I=(0,f.flatMap)(E,(e=>{let{fontStyles:t}=e;return t})),L=(0,v.getUsedStylesFonts)([...I,...z]),D=(await(0,b.normalizeFonts)((0,v.getBlocksStylesFonts)([...N,...L],B))).reduce(((e,t)=>{let{type:o,fonts:r}=t;return{...e,[o]:{data:r}}}),{}),F={...o,data:{...o.data,styles:(0,b.normalizeStyles)(E)}},A=(0,u.createStore)({middleware:await(0,x.default)()});A.dispatch((0,c.hydrate)({project:F,projectStatus:t,globalBlocks:_,blocksThumbnailSizes:O,authorized:(0,S.getAuthorized)(),syncAllowed:T,fonts:(0,r.default)(B,D),page:k})),window.brzStore=A,window.parent.brzStore=A,window.parent.addEventListener("unload",p.removeProjectLockedSendBeacon,!1),e.onUpdate=e=>{A.dispatch({type:"PUBLISH",payload:{status:A.getState().page.status},meta:{onSuccess:()=>{(async()=>{try{const t=A.getState(),o=(0,d.pageSelector)(t),r=(0,d.projectSelector)(t);e({...{},pageData:o,projectData:r})}catch(e){(0,M.showError)(e)}})()}}})},n.default.render(i.default.createElement(a.Provider,{store:A},i.default.createElement(l.default,null)),P,(()=>{C?.parentElement.removeChild(C),A.dispatch((0,c.editorRendered)()),"function"==typeof e.onLoad&&e.onLoad()}))}catch(e){(0,M.showError)(e,0)}}()},97734:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(i=o(35870))&&i.__esModule?i:{default:i};var i;const n=o(21486),a=o(73656);async function l(){let e=await(0,n.browserSupports)();return[r.default,(0,a.sideEffects)({document,parentDocument:window.parent.document}),a.error,...e?[a.screenshots]:[],a.api]}},39476:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"showError",{enumerable:!0,get:function(){return a}});const r=o(62948),i=o(49627),n=o(64985),a=(e,t)=>{const o=e instanceof i.CustomError;o?console.error("editor bootstrap error",e.getMessage()):console.error("editor bootstrap error",e);const a=o&&e.getMessage()?e.getMessage():(0,n.t)("Something went wrong");r.ToastNotification.error(a,t)}},38697:(e,t,o)=>{"use strict";const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;o.p=r.default.get("urls").assets+"/editor/js/"},68614:(e,t,o)=>{"use strict";const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81263),a=o(81405),l=o(34721),s=o(72833),c=o(64985),d=o(16526),u=o(69321),p=o(68256),f=o(24119),m=o(57582);o.g.Brizy={config:r.default,addFilter:l.addFilter,applyFilter:l.applyFilter,t:c.t,utils:{stateMode:{NORMAL:f.NORMAL,HOVER:f.HOVER},setIds:d.setIds,isPopup:d.isPopup,isStory:d.isStory,getDynamicContentChoices:p.getDynamicContentChoices,getDynamicContentOption:p.getDynamicContentOption,getDynamicContentByPlaceholder:p.getDynamicContentByPlaceholder,getShapes:p.getShapes,getOptionColorHexByPalette:p.getOptionColorHexByPalette,hexToRgba:a.hexToRgba,getColorPaletteColors:a.getColorPaletteColors,getColorPaletteColor:a.getColorPaletteColor,makeRichTextColorPaletteCSS:a.makeRichTextColorPaletteCSS,getFontById:s.getFontById,getUsedFonts:s.getUsedFonts,getUsedFontsDetails:s.getUsedFontsDetails,getFontStyles:s.getFontStyles,getFontStyle:s.getFontStyle,weightTypes:s.weightTypes,getWeight:s.getWeight,getWeightChoices:s.getWeightChoices,makeSubsetGoogleFontsUrl:s.makeSubsetGoogleFontsUrl,defaultValueValue:u.defaultValueValue,defaultValueKey:u.defaultValueKey,tabletSyncOnChange:u.tabletSyncOnChange,mobileSyncOnChange:u.mobileSyncOnChange,onChangeTypography:u.onChangeTypography,onChangeTypographyMobile:u.onChangeTypographyMobile,DCTypes:n.DCTypes,NORMAL:f.NORMAL,HOVER:f.HOVER},toolbar:{toolbarColor2:m.toolbarColor2,toolbarColorHexField2:m.toolbarColorHexField2,toolbarFilterHue:m.toolbarFilterHue,toolbarFilterSaturation:m.toolbarFilterSaturation,toolbarFilterBrightness:m.toolbarFilterBrightness,toolbarFilterContrast:m.toolbarFilterContrast,toolbarLinkPopup:m.toolbarLinkPopup}}},52174:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSourceChoices",{enumerable:!0,get:function(){return l}});const r=(i=o(33979))&&i.__esModule?i:{default:i};var i;const n=o(70634),a=o(9645),l=e=>{const{api:t={}}=e,o={sourceTypes:{getSourceChoices:()=>[{title:"Not Selected",value:""},...(e?.wp?.postLoopSources??[]).map((e=>{let{label:t,name:o}=e;return{title:t,value:o}}))]}},i=(0,n.addDefaults)(t,o),l=(0,r.default)(i,t,{arrayMerge:a.overwriteMerge});return Object.assign(e,{api:l})}},93391:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSourceItems",{enumerable:!0,get:function(){return s}});const r=(i=o(33979))&&i.__esModule?i:{default:i};var i;const n=o(70634),a=o(9645),l=o(73902),s=e=>{const{api:t={}}=e,o={sourceItems:{handler:async(t,o,r)=>{try{t((await(0,l.getCollectionSourceItems)(r.id,e)).posts.map((e=>{let{ID:t,title:o}=e;return{value:t,title:o}})))}catch(e){o("Something went wrong")}}}},i=(0,n.addDefaults)(t,o),s=(0,r.default)(i,t,{arrayMerge:a.overwriteMerge});return Object.assign(e,{api:s})}},49781:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addDefault",{enumerable:!0,get:function(){return c}});const r=o(22741),i=o(52174),n=o(93391),a=o(59154),l=o(14309),s=o(89208),c=e=>(0,r.mCompose)(a.searchPage,i.getSourceChoices,n.getSourceItems,s.getMetafields,l.getBlogPostMeta)(e)??e},59154:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"searchPage",{enumerable:!0,get:function(){return s}});const r=(i=o(33979))&&i.__esModule?i:{default:i};var i;const n=o(70634),a=o(9645),l=o(73902),s=e=>{const{api:t={}}=e,o={linkPages:{handlerSearch:async(t,o,r)=>{let{id:i,search:n}=r;try{const o=(await(0,l.getPosts)({search:n,postType:[i]},e)).map((e=>{let{title:t,permalink:o}=e;return{title:t,id:o}}));t(o)}catch(e){o("Something went wrong")}}}},i=(0,n.addDefaults)(t,o),s=(0,r.default)(i,t,{arrayMerge:a.overwriteMerge});return Object.assign(e,{api:s})}},14309:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getBlogPostMeta",{enumerable:!0,get:function(){return d}});const r=(i=o(33979))&&i.__esModule?i:{default:i};var i;const n=o(70634),a=o(54639),l=o(13662),s=o(9645),c=o(73902),d=e=>{if((0,a.isCloud)(e)&&(0,l.isShopifyShop)(e.modules?.shop)){const t=e.modules?.shop.api||{},o={blogPostMetaLoad:{handler:async(t,o,r)=>{try{const{data:o}=await(0,c.getShopifyBlogPostMeta)({sourceType:r.sourceType},e);t([{title:"None",value:""},...o.map((e=>{let{id:t,title:o}=e;return{value:t,title:o}}))])}catch(e){o("Something went wrong")}}}},i=(0,n.addDefaults)(t,o),a=(0,r.default)(i,t,{arrayMerge:s.overwriteMerge});return Object.assign(e,{modules:{...e.modules,shop:{...e.modules?.shop,api:a}}})}return e}},89208:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getMetafields",{enumerable:!0,get:function(){return d}});const r=(i=o(33979))&&i.__esModule?i:{default:i};var i;const n=o(70634),a=o(54639),l=o(13662),s=o(9645),c=o(73902),d=e=>{if((0,a.isCloud)(e)&&(0,l.isShopifyShop)(e.modules?.shop)){const t=e.modules?.shop?.api||{},o={metafieldsLoad:{handler:async(t,o,r)=>{try{const{data:o}=await(0,c.getShopifyMetafields)({sourceType:r.sourceType},e);t([{title:"None",value:""},...o.map((e=>{let{key:t,name:o}=e;return{value:t,title:o}}))])}catch(e){o("Something went wrong")}}}},i=(0,n.addDefaults)(t,o),a=(0,r.default)(i,t,{arrayMerge:s.overwriteMerge});return Object.assign(e,{modules:{...e.modules,shop:{...e.modules?.shop,api:a}}})}return e}},73902:(e,t)=>{"use strict";function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{fetch:o}=window.parent||window;return o(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{request:function(){return o},getPosts:function(){return r},getCollectionSourceItems:function(){return i}});const r=async(e,t)=>{let{include:r,search:i="",postType:n,excludePostType:a,abortSignal:l}=e;const{api:{url:s,hash:c,searchPosts:d}}=t.wp,u=t.editorVersion,p=new URLSearchParams({hash:c,version:u,action:d});if(""!==i&&p.append("search",i),void 0!==r)for(const e of r)p.append("include[]",e);if(void 0!==n)for(const e of n)p.append("post_type[]",e);if(void 0!==a)for(const e of a)p.append("exclude_post_type[]",e);const f=await o(s,{method:"POST",body:p,signal:l}),m=await f.json();if(m.success)return m.data;throw m},i=async(e,t)=>{const{wp:r,editorVersion:i}=t,{url:n,hash:a,getPostObjects:l}=r.api;return await o(n,{method:"POST",body:new URLSearchParams({hash:a,version:i,postType:e,action:l})}).then((e=>e.json())).then((e=>{if(!e?.data)throw"Something went wrong";return e.data})).catch((e=>[]))}},60845:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"withDefaultConfig",{enumerable:!0,get:function(){return i}});const r=o(49781),i=e=>(0,r.addDefault)(e)??e},9645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"overwriteMerge",{enumerable:!0,get:function(){return o}});const o=(e,t)=>t},76195:(e,t,o)=>{"use strict";const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(70275),a=o.g.__VISUAL_CONFIG__;try{r.default.init((0,n.readConfig)(a))}catch(e){console.error("config is brok en. Please contact support")}},70275:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"readConfig",{enumerable:!0,get:function(){return y}});const r=o(47885),i=o(49863),n=p(o(31786)),a=p(o(4645)),l=p(o(48630)),s=p(o(63300)),c=o(22741),d=o(60845);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const f=(0,r.parseStrict)({type:(0,i.pipe)((0,r.mPipe)((0,r.pass)(l.isObject),l.readKey("type"),(0,r.pass)((e=>[1,2].includes(e)))),(0,c.throwOnNullish)("Invalid rule type")),entityType:(0,i.pipe)((0,r.mPipe)((0,r.pass)(l.isObject),l.readKey("entityType"),s.read),(0,c.throwOnNullish)("Invalid rule entity type")),group:(0,i.pipe)((0,r.mPipe)((0,r.pass)(l.isObject),l.readKey("group"),a.read),(0,c.throwOnNullish)("Invalid rule group")),values:(0,i.pipe)((0,r.mPipe)((0,r.pass)(l.isObject),l.readKey("values"),n.readWithItemReader(s.read)),(0,c.throwOnNullish)("Invalid rule values"))}),m=(0,i.pipe)((0,r.pass)(Array.isArray),(0,c.throwOnNullish)("Err"),(e=>e.map(f))),y=e=>{const t={...e,wp:{...e.wp,ruleMatches:m(e.wp.ruleMatches)}};return(0,d.withDefaultConfig)(t)}},91416:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=c(o(95664)),i=c(o(22546)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(41239)),a=c(o(91231)),l=c(o(53174)),s=o(62762);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}for(const e of Object.values(n.default))r.default.registerComponent(e);r.default.registerNotFoundComponent(n.NotFoundComponent),r.default.registerShortcode(a.default);const u=i.default.getAll();(0,s.isCloud)(u)&&(0,s.isShopify)(u)&&r.default.registerShopifyShortcode(l.default)},40010:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Alert",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{message:t,type:o="success",className:n}=e,a=(0,i.default)("brz-ed-alert",n,{[`brz-ed-alert-${o}`]:o});return r.default.createElement("div",{className:a},r.default.createElement("span",{className:"brz-span"},t))}},76770:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{connect:function(){return s},disconnect:function(){return c}});const r=o(22741);let i;const n=new Map,a=(e,t)=>{e.filter((e=>{let{isIntersecting:t}=e;return t})).map((e=>(0,r.mApply)((o=>o(e,t)),n.get(e.target))))},l=()=>i??(i=new IntersectionObserver(a)),s=(e,t)=>{if(!n.has(e)){const o=l();n.set(e,t),o.observe(e)}return l()},c=e=>{n.delete(e),i&&(i.unobserve(e),0===n.size&&(i.disconnect(),i=void 0))}},45771:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Animation:function(){return f},default:function(){return m}});const r=c(o(60042)),i=u(o(27378)),n=c(o(47075)),a=o(22741),l=u(o(76770)),s=o(35987);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class p extends i.default.Component{constructor(e){super(e),this.state={isVisible:!1,animationClass:e.animationClass}}updateId;animationStartedId;mounted=!1;handleAnimationStarted(){n.default.emit(s.AnimationEvents.entranceOn,{animationIsRunning:!0,animationId:this.props.animationId})}handleAnimationFinished(){n.default.emit(s.AnimationEvents.entranceOff,{animationIsRunning:!1,animationId:this.props.animationId})}componentDidMount(){this.mounted=!0,this.updateRef(),this.props.animationClass&&(this.animationStartedId=requestAnimationFrame((()=>{this.handleAnimationStarted()})),(0,a.mApply)((e=>l.connect(e,this.handleIntersection)),this.ref.current),this.ref.current?.addEventListener("animationend",(()=>{this.mounted&&(this.handleAnimationFinished(),this.setState({animationClass:"none"}))})))}componentDidUpdate(e){this.updateRef(),e.animationClass!==this.props.animationClass&&(this.props.animationClass?(this.handleAnimationStarted(),(0,a.mApply)((e=>l.connect(e,this.handleIntersection)),this.ref.current),(0,a.mApply)(cancelAnimationFrame,this.updateId),this.updateId=requestAnimationFrame((()=>{this.setState({animationClass:this.props.animationClass}),this.ref.current?.addEventListener("animationend",(()=>{this.mounted&&(this.setState({animationClass:"none"}),this.handleAnimationFinished())}))}))):((0,a.mApply)(l.disconnect,this.ref.current),this.handleAnimationFinished()))}componentWillUnmount(){(0,a.mApply)(l.disconnect,this.ref.current),(0,a.mApply)(cancelAnimationFrame,this.updateId),(0,a.mApply)(cancelAnimationFrame,this.animationStartedId),n.default.off(s.AnimationEvents.entranceOn,this.handleAnimationStarted),n.default.off(s.AnimationEvents.entranceOff,this.handleAnimationFinished),this.mounted=!1}handleIntersection=e=>{let{isIntersecting:t,target:o}=e;t&&(l.disconnect(o),this.setState({isVisible:!0}))};renderForEdit(){const{component:e,children:t,className:o,componentProps:{className:n,...a}}=this.props,{isVisible:l}=this.state,s=this.hasAnimation(),c=l&&s,d={...a,className:(0,r.default)(o,n,{"brz-observer__animation":s,"brz-animated":s,[this.getAnimationClass()??""]:c,"brz-animate":c,"brz-animate-opacity":c}),...this.props?.animationId&&s&&{"data-animationid":this.props.animationId},ref:this.ref};return(0,i.createElement)(e,d,t)}renderForView(){const{component:e,iterationCount:t=1,children:o,className:n,componentProps:{className:a,...l}}=this.props,s=this.hasAnimation(),c={...l,...s?{"data-iteration-count":t}:{},className:(0,r.default)(n,a,{"brz-animated":s,[this.getAnimationClass()??""]:s}),ref:this.ref,...this.props?.animationId&&s&&{"data-animationid":this.props.animationId}};return(0,i.createElement)(e,c,o)}render(){return this.renderForEdit()}ref=i.default.createRef();updateRef=()=>{this.props.forwardedRef&&("function"==typeof this.props.forwardedRef?this.props.forwardedRef(this.ref.current):this.props.forwardedRef.current=this.ref.current)};hasAnimation=()=>!!this.state.animationClass;getAnimationClass=()=>this.props.animationClass!==this.state.animationClass?void 0:this.state.animationClass}const f=(0,i.forwardRef)((function(e,t){return i.default.createElement(p,{...e,forwardedRef:t})})),m=f},35987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnimationEvents",{enumerable:!0,get:function(){return o}});const o=Object.freeze({entranceOn:"entrance.on",entranceOff:"entrance.off"})},55941:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=u(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=u(o(36042)),a=u(o(47075)),l=u(o(43299)),s=u(o(81994)),c=u(o(74756)),d=u(o(79225));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}class f extends i.Component{isUnMounted=!1;componentDidMount(){a.default.on("deviceMode.change",this.handleChange)}componentWillUnmount(){this.isUnMounted=!0,a.default.off("deviceMode.change",this.handleChange)}handleChange=()=>{this.isUnMounted||this.forceUpdate()};render(){const{video:e,videoLoop:t,videoStart:o,map:a,mapZoom:u,image:p,parallax:f,opacity:m,shapeTop:y,shapeBottom:g,style:b,children:h}=this.props,v=e||f;return i.default.createElement(i.default.Fragment,null,(S=this.props,["image","video","map","shapeTop","shapeBottom","border","boxShadow","opacity"].some((e=>S[e]))&&i.default.createElement("div",{style:b,className:"brz-bg overflow-hidden !z-auto absolute top-0 left-0 w-full h-full"},p&&i.default.createElement(l.default,{showParallax:f},(e=>{let{innerRef:t,attr:o}=e;return i.default.createElement("div",{ref:t,...o})})),e&&i.default.createElement(d.default,{video:e,videoLoop:t,videoStart:o},(e=>{let{innerRef:t,attr:o,children:n}=e;return i.default.createElement("div",{ref:t,...o,className:(0,r.default)("brz-bg-video absolute top-0 left-0 w-full h-full",o.className)},n)})),a&&i.default.createElement("div",{className:"brz-bg-map absolute top-0 left-0 w-full h-full"},a&&i.default.createElement(s.default,{map:a,mapZoom:u})),m&&i.default.createElement("div",{className:"brz-bg-color absolute top-0 left-0 w-full h-full"}),(y||g)&&i.default.createElement(c.default,{shapeTop:y,shapeBottom:g}))),v&&i.default.createElement(n.default,{onResize:this.handleChange}),h);var S}}const m=f},25382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=l(o(27378)),i=o(69321),n=o(47744),a=l(o(55941));function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const o=e[arguments.length>1?arguments[1]:void 0];return null!=o?t.concat(o):t},c=e=>(0,i.deviceStateValueByKey)(e,"boxShadow"),d=e=>("grouped"===e.borderWidthType?["borderWidth"]:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"]).some((t=>(0,i.deviceStateValueByKey)(e,t))),u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{bgAttachment:o,bgSize:r}=e,{section:i}=t;return"cover"===r&&o&&"animated"===o&&!i.isSlider},p=e=>{let{value:t,meta:o,children:l}=e;const{media:p,opacity:f}=(e=>{const t=s(e);let o;return o="solid"===e.bgColorType?(0,i.makeKeyByStateDevice)(e,"bgColorOpacity").reduce(t,[]):["bgColorOpacity","gradientColorOpacity"].reduce(((t,o)=>t.concat((0,i.makeKeyByStateDevice)(e,o))),[]).reduce(t,[]),{media:o.some((e=>e<1)),opacity:o.some((e=>e>0))}})(t),m=t.bgPopulation||t.hoverBgPopulation,y=t.bg||t.hoverBg;let g={opacity:f,image:p&&(b=t,(0,i.deviceStateValueByKey)(b,"bgImageSrc")||(0,i.deviceStateValueByKey)(b,"bgPopulation")),parallax:u(t,o),boxShadow:c(t),border:d(t),shapeTop:(0,i.validateKeyByProperty)(t,"shapeTopType","none"),shapeBottom:(0,i.validateKeyByProperty)(t,"shapeBottomType","none"),...p&&m&&{style:{"--brz-background-image":`url("${y}")`}}};var b;const h=p&&(e=>{const t=s(e);return(0,i.makeKeyByStateDevice)(e,"media").reduce(t,[])})(t);if(p&&h.includes("video")){const{bgVideo:e,bgVideoLoop:o,bgVideoStart:r}=t;g.video=(0,n.videoData)(e),g.videoStart=r,g.videoLoop="on"===o}if(p&&h.includes("map")){const{bgMapZoom:e,bgMapAddress:o}=t;g.map=o,g.mapZoom=e}return r.default.createElement(a.default,g,l)}},15150:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{attachResize:function(){return i},detachResize:function(){return n}});const o=new Map,r=e=>{o.forEach((t=>{t(e)}))},i=(e,t)=>{o.size||window.addEventListener("resize",r,{passive:!1}),o.set(e,t)},n=e=>{o.delete(e),0===o.size&&window.removeEventListener("resize",r)}},89261:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{attachWheel:function(){return i},detachWheel:function(){return n}});const o=new Map,r=e=>{const t=o.size,[r,i]=[...o][t-1];i?.(e)},i=(e,t)=>{o.size||window.addEventListener("wheel",r,{passive:!1}),o.set(e,t)},n=e=>{o.delete(e),0===o.size&&window.removeEventListener("wheel",r)}},35308:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=(i=o(65311))&&i.__esModule?i:{default:i};var i,n=[],a=!1;function l(e,t){this._loop=t.loop,this._start=t.start||0,function(e){if(a)e();else{if(0===n.length){if(!document.querySelector("script[src='https://www.youtube.com/iframe_api']")){const t=document.createElement("script");t.async=!0,t.src="https://www.youtube.com/iframe_api",t.onerror=function(){e(new Error("Failed to load"+t.src))},document.body.append(t)}void 0===window.onYouTubeIframeAPIReady&&(window.onYouTubeIframeAPIReady=()=>{window.Brz&&window.Brz.emit("elements.video.iframe.ready")}),void 0===window.Brz&&(window.onYouTubeIframeAPIReady=()=>{a=!0,n.forEach((function(e){e()}))}),window.Brz&&window.Brz.on("elements.video.iframe.ready",(()=>{a=!0,n.forEach((function(e){e()}))}))}n.push(e)}}(this._init.bind(this,e))}function s(e,t){var o=t.loop,r=t.start||0,i=function(t,o){e.get(0).contentWindow&&e.get(0).contentWindow.postMessage(JSON.stringify({method:t,value:o}),"*")}.bind(this);return window.addEventListener("message",function(t){if(t.origin.includes("vimeo")){var n=JSON.parse(t.data);switch("ping"!==n.method||e.attr("data-ready")||(e.attr("data-ready","true"),i("addEventListener","loaded"),i("addEventListener","finish")),n.event){case"ready":e.data("ready")||(e.attr("data-ready","true"),i("addEventListener","loaded"),i("addEventListener","finish"));break;case"finish":i("setCurrentTime",r),o&&setTimeout(function(){i("play")}.bind(this),260);break;case"loaded":i("setCurrentTime",r),i("setVolume",0),i("play")}}}.bind(this),!1),i("ping"),{mute:function(){i("setVolume",0)},unMute:function(){i("setVolume",100)},play:function(){i("play")},pause:function(){i("pause")},setLoop:function(e){this.play(),o=e},seekTo:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;r=e,i("setCurrentTime",e)},destroy:function(){i("unload"),i("removeEventListener","loaded"),i("removeEventListener","finish")}}}r.default.extend(l.prototype,{_init:function(e){this.player=new YT.Player(e.get(0),{events:{onReady:function(e){e.target.mute(),e.target.seekTo(this._start),e.target.playVideo()}.bind(this),onStateChange:function(e){this._loop&&e.data==YT.PlayerState.ENDED&&(e.target.seekTo(this._start),e.target.playVideo())}.bind(this)}})},mute:function(){this.player.mute()},unMute:function(){this.player.unMute()},play:function(){this.player&&"function"==typeof this.player.playVideo&&this.player.playVideo()},stop:function(){this.player.stopVideo()},pause:function(){this.player.pauseVideo()},setLoop:function(e){this.play(),this._loop=e},seekTo:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._start=e,this.player.seekTo(e)},destroy:function(){this.player=null}}),function(e,t){var o="backgroundVideo",r="plugin_"+o;function i(t,o){this.$elem=e(t),this.$iframe=this.$elem.find("iframe"),this._setSizes=this._setSizes.bind(this),this._setSizes(),this._attachEvents(),this._init(o)}e.extend(i.prototype,{_init:function(e){"youtube"===e.type?this._player=new l(this.$iframe,e):"vimeo"===e.type&&(this._player=new s(this.$iframe,e))},_setSizes:function(){var e=function(){const e=document.getElementById("wpadminbar");e&&(e.style.display="none");var t=1.78,o=this.$elem.width(),r=this.$elem.height();if(e&&e.style.removeProperty("display"),o/t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=(i=o(65311))&&i.__esModule?i:{default:i};var i;const n=o(15150),a=o(89261),l="brz-bg-image-parallax--init brz-ed-preserve-3d absolute w-full !bg-cover left-0 -top-[50vh] h-[100vh] !transition-[all] !duration-[0s] !ease-[ease] !delay-[0s] origin-[center_center_0]";!function(e,t,o){var r="parallax",i="plugin_"+r;function s(r,i){this.$elem=e(r),this.options=e.extend({bgClass:"parallax-bg",wheelIgnoreClass:[],items:[],baseElement:t,windowHeight:Math.max(o.documentElement.clientHeight,t.innerHeight||0),r:0,u:0,v:0,s:!1,F:!1},i),this._handleScrollBound=this._handleScroll.bind(this),this._handleWheelBound=this._handleWheel.bind(this),this._handleResizeBound=this._handleResize.bind(this),this._init()}e.extend(s.prototype,{_init:function(){this.options.windowHeight=Math.max(o.documentElement.clientHeight,t.innerHeight||0),this.profileParallaxElements(),this._attachEvents(),this.d()},_attachEvents:function(){const e=this.$elem.get(0);this.options.baseElement.addEventListener("scroll",this._handleScrollBound,!1),(0,a.attachWheel)(e,this._handleWheelBound),(0,n.attachResize)(e,this._handleResizeBound)},_detachEvents:function(){const e=this.$elem.get(0);this.options.baseElement.removeEventListener("scroll",this._handleScrollBound,!1),(0,a.detachWheel)(e),(0,n.detachResize)(e)},_handleScroll:function(){this.options.F=!0},_handleWheel:function(t){if(this.options.wheelIgnoreClass&&this.options.wheelIgnoreClass.length>0&&e(t.target).closest("."+this.options.wheelIgnoreClass.join(", .")).length>0)return null;t.preventDefault&&t.preventDefault(),this.options.v=t.notRealWheel?-t.deltaY/4:1===t.deltaMode?-t.deltaY/3:100===Math.abs(t.deltaY)?-t.deltaY/120:-t.deltaY/40,this.options.v=-2>this.options.v?-2:this.options.v,this.options.v=this.options.v>2?2:this.options.v,this.options.s=!0,this.options.u=4},_handleResize:function(){this.options.windowHeight=Math.max(o.documentElement.clientHeight,t.innerHeight||0),this.options.r=this.b(),this.profileParallaxElements()},profileParallaxElements:function(){var t=this.$elem,o=this;this.options.items=[],this.options.r=this.b(),t.find("."+this.options.bgClass).each((function(){var r=t,i=r.offset().top,n=o.getHeight(r),a=e(this);n&&o.setHeight(r,n),o.options.items.push({section:r.get(0),outerHeight:r.outerHeight(),elemTop:i,elemBottom:i+r.outerHeight(),isFirstSection:!1,imageHolder:this}),a.addClass(l),o.mr_setTranslate3DTransform(a.get(0),(o.f()+o.options.windowHeight-i)/2)}))},setHeight:function(t,o){e(t).find("."+this.options.bgClass).css({height:100*o+"vh"})},getHeight:function(t){var o=e(t),r=e(this.options.baseElement).height(),i=o.height();return i>r?i/r:null},getTransformStyle:function(e){for(var t=0;t0},getCurrentElement:function(e){for(var t=0,o=this.options.items.length;this.options.items[t]&&this.options.items[t].section!==e;t++);return t===o?-1:t},isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},requestAnimationFrame:function(e){return(this.options.baseElement.requestAnimationFrame||this.options.baseElement.mozRequestAnimationFrame||this.options.baseElement.webkitRequestAnimationFrame||this.options.baseElement.msRequestAnimationFrame)(e)},mr_setTranslate3DTransform:function(e,t){var o=this.getTransformStyle(["transform","msTransform","webkitTransform","mozTransform","oTransform"]);e.style[o]="translate3d(0,"+t+"px,0)"},refresh:function(){this.profileParallaxElements()},destroy:function(){this._detachEvents(),this.$elem.removeData(i),this.$elem.find("."+this.options.bgClass).css({height:"",transform:""}).removeClass(l)},paused:function(e){e?this._detachEvents():this._attachEvents()},e:function(e,t){this.isVariant()?t+this.options.windowHeight-this.options.r>e.elemTop&&t-this.options.re.elemTop&&t1||-1>e)&&(this.options.baseElement.scrollBy(0,e),e=0),this.options.u++,this.options.u>30&&(this.options.u=0,this.options.s=!1,this.options.v=0,e=0)),this.requestAnimationFrame.call(this,this.d.bind(this))},isVariant:function(){return!1},b:function(){return e(this.options.baseElement).outerHeight(!0)},f:function(){return this.options.baseElement!=t?this.options.baseElement.scrollTop:0===o.documentElement.scrollTop?o.body.scrollTop:o.documentElement.scrollTop}}),e.fn[r]=function(t){if(void 0===t||"object"==typeof t)return this.each((function(){e.data(this,i)||e.data(this,i,new s(this,t))}));if("string"==typeof t&&"_"!==t[0]&&"init"!==t){var o=Array.prototype.slice.call(arguments,1);return this.each((function(){var r=e.data(this,i);r instanceof s&&"function"==typeof r[t]&&r[t].apply(r,o)}))}}}(r.default,window,document)},43299:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=c(o(60042)),i=c(o(65311)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(92213),l=o(46479);o(35791);const s=o(95476);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=e=>{e.parentElement&&(0,i.default)(e.parentElement).parallax("destroy")},p=e=>{e.parentElement&&(0,i.default)(e.parentElement).parallax({bgClass:"brz-bg-image",wheelIgnoreClass:["brz-ed-container-plus","brz-ed-container-whiteout-show","brz-content-show",...l.IS_WP?["media-modal"]:[]]})},f=e=>{let{showParallax:t,children:o}=e;const i=(0,a.getStore)().getState().ui.deviceMode;t=t&&"desktop"===i;const l=(0,r.default)("brz-bg-image absolute top-0 left-0 w-full h-full bg-no-repeat bg-cover",{"brz-bg-image-parallax":t,"brz-bg-image-parallax--init brz-ed-preserve-3d w-full !bg-cover left-0 -top-[50vh] h-[100vh] !transition-[all] !duration-[0s] !ease-[ease] !delay-[0s] origin-[center_center_0]":t&&!0}),c=(0,n.useRef)(null),d=(0,n.useRef)(!0);return(0,s.useLayoutEffect)((()=>()=>{c.current&&u(c.current)}),[]),(0,s.useLayoutEffect)((()=>{d.current?(d.current=!1,c.current&&t&&p(c.current)):c.current&&(t?p(c.current):u(c.current))})),o({innerRef:c,attr:{className:l}})}},81994:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{map:t,mapZoom:o}=e;const i={display:t?"block":"none"},n=t?`https://www.google.com/maps/embed/v1/place?key=AIzaSyCcywKcxXeMZiMwLDcLgyEnNglcLOyB_qw&q=${t}&zoom=${o}`:void 0;return r.default.createElement("iframe",{className:"brz-iframe intrinsic-ignore brz-bg-map__cover absolute top-0 left-0 w-full h-full border-none max-w-none bg-no-repeat bg-cover",src:n,style:i,title:"background-map"})}},74756:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{shapeTop:t,shapeBottom:o}=e;return r.default.createElement(r.default.Fragment,null,t&&r.default.createElement("div",{className:"brz-bg-shape w-full h-full absolute inset-x-0 bg-no-repeat pointer-events-none brz-bg-shape__top top-0 after:content-[''] after:absolute after:w-full after:h-full after:top-0"}),o&&r.default.createElement("div",{className:"brz-bg-shape w-full h-full absolute inset-x-0 bg-no-repeat pointer-events-none brz-bg-shape__bottom bottom-0 rotate-x-180 after:content-[''] after:absolute after:w-full after:h-full after:top-0"}))}},79225:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=(i=o(65311))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(47744);o(35308);const l=o(95476);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{video:t,videoLoop:o,videoStart:i,children:s}=e;const c={display:t?"block":"none"},d={autoplay:!0,background:!0,controls:!1,suggestedVideo:!1,loop:o},u=t?t.type:void 0,p=t?(0,a.videoUrl)(t,d):void 0,f=(0,n.useRef)(null),m=(0,n.useRef)(!0);(0,l.useLayoutEffect)((()=>()=>{f.current&&(0,r.default)(f.current).backgroundVideo("destroy")}),[]),(0,l.useLayoutEffect)((()=>{!m.current&&f.current&&(0,r.default)(f.current).backgroundVideo("resize")})),(0,l.useLayoutEffect)((()=>{!m.current&&f.current&&(0,r.default)(f.current).backgroundVideo("setLoop",o)}),[o]),(0,l.useLayoutEffect)((()=>{!m.current&&f.current&&(0,r.default)(f.current).backgroundVideo("seekTo",i)}),[i]),(0,l.useLayoutEffect)((()=>{m.current&&f.current?(m.current=!1,(0,r.default)(f.current).backgroundVideo({type:t?.type,key:t?.key,loop:o,start:i})):f.current&&(0,r.default)(f.current).backgroundVideo("typeChange",{type:t?.type,key:t?.key,loop:o,start:i})}),[t?.type]);const y=n.default.createElement("iframe",{src:p,"data-src":p,className:"brz-iframe intrinsic-ignore brz-bg-video__cover absolute top-0 left-0 w-full h-full border-none !max-w-none bg-no-repeat bg-cover",loading:"lazy",style:c,title:"background-video"});return n.default.createElement(n.default.Fragment,null,s({innerRef:f,attr:{"data-type":u,"data-key":t?.key,"data-loop":o,"data-start":i},children:y}))}},95476:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useLayoutEffect",{enumerable:!0,get:function(){return i}});const r=o(27378),i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},65683:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Badge",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{status:t}=e;const o=(0,i.default)("brz-badge",{[`brz-badge__${t}`]:t});return r.default.createElement("div",{title:t,className:o})}},83017:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=f(o(27378)),i=o(23884),n=f(o(86710)),a=f(o(92823)),l=o(46338),s=o(74215),c=o(97045),d=o(64985),u=f(o(22546)),p=o(62762);function f(e){return e&&e.__esModule?e:{default:e}}const m={desktop:{title:(0,d.t)("START BUILDING YOUR PAGE"),description:(0,d.t)("Press the button above to add blocks")},tablet:{title:(0,d.t)("SWITCH TO DESKTOP"),description:(0,d.t)("Switch to desktop to add blocks")},mobile:{title:(0,d.t)("SWITCH TO DESKTOP"),description:(0,d.t)("Switch to desktop to add blocks")}};class y extends r.default.Component{handleOpen=()=>{const{deviceMode:e,dispatch:t,onAddBlock:o,onAddTemplate:r}=this.props,i=u.default.getAll(),n=!((0,p.isCloud)(i)&&(0,p.isShopify)(i));"desktop"===e?a.default.open({prompt:"blocks",mode:"single",props:{type:"normal",showGlobal:n,onChangeBlocks:o,onChangeGlobal:o,onChangeSaved:r,onChangeTemplate:r}}):t((0,s.setDeviceMode)("desktop"))};render(){const{deviceMode:e}=this.props,{title:t,description:o}=m[e],i={icon:"mobile"===e||"tablet"===e?"nc-desktop":null,className:"mobile"===e||"tablet"===e?"floating-action-button--icon":null};return r.default.createElement("div",{className:"brz-ed-wrap-block-wrap brz-ed-wrap-block-wrap--first"},r.default.createElement("div",{className:"brz-ed-wrap-block-empty-page",onClick:this.handleOpen},r.default.createElement("div",{className:"brz-ed-wrap-block-empty-page-heading"},t),r.default.createElement(n.default,i),r.default.createElement("div",{className:"brz-ed-wrap-block-empty-page-heading2"},o)))}}const g=(0,l.rolesHOC)({allow:["admin"],component:(0,i.connect)((e=>({deviceMode:(0,c.deviceModeSelector)(e)})),(e=>({dispatch:e})),void 0,{forwardRef:!0})(y)})},37295:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(10301),n=o(23884),a=p(o(92823)),l=p(o(86710)),s=o(46338),c=o(74215),d=o(97045),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}class m extends r.Component{static defaultProps={deviceMode:"desktop",onAddBlock:i.noop,setDeviceMode:i.noop};handleAddSavedBlock=e=>{const{fonts:t,blocks:o,extraFontStyles:r}=e;this.props.onAddBlock({fonts:t,extraFontStyles:r,block:o[0]})};handleOpen=()=>{const{deviceMode:e,setDeviceMode:t,onAddBlock:o}=this.props;if("desktop"===e){const e={prompt:"blocks",mode:"single",props:{type:"popup",showTemplate:!1,blocksType:!1,globalSearch:!1,onChangeBlocks:o,onChangeGlobal:o,onChangeSaved:this.handleAddSavedBlock}};a.default.open(e)}else t("desktop")};render(){const{deviceMode:e}=this.props,{title:t,description:o}=(e=>{switch(e){case"desktop":return{title:(0,u.t)("START BUILDING YOUR POPUP"),description:(0,u.t)("Press the button above to add popup")};case"tablet":case"mobile":return{title:(0,u.t)("SWITCH TO DESKTOP"),description:(0,u.t)("Switch to desktop to add popup")}}})(e),i={icon:"mobile"===e||"tablet"===e?"nc-desktop":null,className:"mobile"===e||"tablet"===e?"floating-action-button--icon":null};return r.default.createElement("div",{className:"brz-ed-wrap-block-wrap brz-ed-wrap-block-wrap--first"},r.default.createElement("div",{className:"brz-ed-wrap-block-empty-page",onClick:this.handleOpen},r.default.createElement("div",{className:"brz-ed-wrap-block-empty-page-heading"},t),r.default.createElement(l.default,i),r.default.createElement("div",{className:"brz-ed-wrap-block-empty-page-heading2"},o)))}}const y=(0,s.rolesHOC)({allow:["admin"],component:(0,n.connect)((e=>({deviceMode:(0,d.deviceModeSelector)(e)})),(e=>({setDeviceMode:t=>e((0,c.setDeviceMode)(t))})))(m),fallbackRender:void 0})},73330:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),i=p(o(60042)),n=o(23884),a=p(o(92823)),l=p(o(86710)),s=o(46338),c=o(64985),d=p(o(22546)),u=o(62762);function p(e){return e&&e.__esModule?e:{default:e}}class f extends r.default.Component{static defaultProps={blocks:[]};handleOpen=()=>{const{onAddBlock:e,onAddTemplate:t}=this.props,o=d.default.getAll(),r=!((0,u.isCloud)(o)&&(0,u.isShopify)(o));a.default.open({prompt:"blocks",mode:"single",props:{type:"normal",showGlobal:r,onChangeBlocks:e,onChangeTemplate:t,onChangeSaved:t,onChangeGlobal:e}})};render(){const e=(0,i.default)("brz-ed-container-adder",this.props.className);return r.default.createElement("div",{className:e},r.default.createElement("span",{className:"brz-span brz-ed-block-adder-title"},(0,c.t)("Add a new block")),r.default.createElement(l.default,{onClick:this.handleOpen}),r.default.createElement("span",{className:"brz-span brz-ed-block-adder-desc"},(0,c.t)("Press the button to add blocks")))}}const m=(0,s.rolesHOC)({allow:["admin"],component:(0,n.connect)(void 0,void 0,void 0,{forwardRef:!0})(f)})},60595:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=c(o(27378)),i=o(23884),n=c(o(92823)),a=o(46338),l=c(o(22546)),s=o(62762);function c(e){return e&&e.__esModule?e:{default:e}}class d extends r.default.Component{handleOpen=()=>{const{onAddBlock:e,onAddTemplate:t}=this.props,o=l.default.getAll(),r=!((0,s.isCloud)(o)&&(0,s.isShopify)(o));n.default.open({prompt:"blocks",mode:"single",props:{type:"normal",showGlobal:r,onChangeBlocks:e,onChangeTemplate:t,onChangeSaved:t,onChangeGlobal:e}})};render(){return r.default.createElement("div",{className:"brz-ed-container-plus"},r.default.createElement("div",{className:"brz-ed-container-trigger brz-ed-container-trigger--small",onClick:this.handleOpen}))}}const u=(0,a.rolesHOC)({allow:["admin"],component:(0,i.connect)()(d)})},78660:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{FirstBlockAdder:function(){return r.default},MiddleBlockAdder:function(){return i.default},LastBlockAdder:function(){return n.default},FirstPopupBlockAdder:function(){return a.default}});const r=l(o(83017)),i=l(o(60595)),n=l(o(73330)),a=l(o(37295));function l(e){return e&&e.__esModule?e:{default:e}}},17727:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=p(o(27378)),i=o(23884),n=p(o(33364)),a=p(o(22546)),l=o(74215),s=o(97045),c=o(64985),d=o(16526),u=o(24467);function p(e){return e&&e.__esModule?e:{default:e}}const f=function(){const e=(0,i.useDispatch)(),t=(0,i.useSelector)(s.showHiddenElementsSelector);if((0,d.isStory)(a.default.getAll()))return null;const o=t?"nc-eye-17":"nc-eye-ban-18",p=t?(0,c.t)("Hide Hidden Elements"):(0,c.t)("Show Hidden Elements");return r.default.createElement(u.BottomPanelItem,{paddingSize:"medium",active:!0,pointer:!0,title:p,onClick:()=>{e((0,l.updateUI)("showHiddenElements",!t))}},r.default.createElement(n.default,{icon:o}))}},24467:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BottomPanelItem",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{className:t,title:o,onClick:n,paddingSize:a,pointer:l,active:s,children:c}=e,d=(0,i.default)("brz-li","brz-ed-fixed-bottom-panel__item",`brz-ed-fixed-bottom-panel__item--${a}`,{"brz-ed-fixed-bottom-panel__item--pointer":l},{"brz-ed-fixed-bottom-panel__item--active":s},t);return r.default.createElement("li",{title:o,className:d,onClick:n},c)}},97077:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreviewButton",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=s(o(33364)),n=s(o(24072)),a=s(o(22546)),l=o(24467);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=["ctrl+shift+P","shift+ctrl+P","cmd+shift+P","shift+cmd+P","right_cmd+shift+P","shift+right_cmd+P"];function u(){const e=a.default.getAll(),t=(0,r.useRef)(null),o=e.urls.pagePreview,s=(0,r.useCallback)((()=>{t.current&&t.current.click()}),[]);if(!o)return null;const c=`${o}`;return r.default.createElement(r.default.Fragment,null,r.default.createElement(l.BottomPanelItem,{paddingSize:"none",pointer:!0,className:"brz-ed-fixed-bottom-panel__preview",title:"Preview (ctrl+shift+P)"},r.default.createElement("a",{href:c,className:"brz-a",target:"_blank",rel:"noopener noreferrer",ref:t},r.default.createElement(i.default,{icon:"nc-preview"}))),r.default.createElement(n.default,{keyNames:d,id:"key-helper-preview",onKeyDown:s}))}},87429:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Controls",{enumerable:!0,get:function(){return p}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=d(o(27378)),a=d(o(1424)),l=o(33364),s=o(46338);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const u=e=>{let{items:t}=e;const o=(0,n.useMemo)((()=>t.map(((e,t)=>{const{title:o,icon:r,roles:i=[],loading:c,onClick:d}=e,u=n.default.createElement(a.TooltipItem,{className:"brz-ed-fixed-bottom-panel-popover__item",onClick:d},c?n.default.createElement(l.EditorIcon,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):void 0!==r?n.default.createElement(l.EditorIcon,{icon:r}):null,n.default.createElement("span",{className:"brz-span",title:o},o));return i.length>0?n.default.createElement(s.Roles,{key:t,allow:i},u):n.default.createElement(n.Fragment,{key:t},u)}))),[t]);return n.default.createElement(a.default,{overlayClassName:"brz-ed-tooltip__overlay-publish-button",placement:"top-end",offset:20,overlay:o,inPortal:!0},n.default.createElement("button",{className:"brz-button"},n.default.createElement(l.EditorIcon,{icon:"nc-arrow-up"})))},p=e=>{const{loading:t,children:o,addonAfter:i,disabled:a,onClick:s}=e,c=(0,r.default)("brz-ed-fixed-bottom-panel__btn",{"brz-ed-fixed-bottom-panel__btn-popover":i?.length,"brz-ed-fixed-bottom-panel__btn-disabled":a}),d=(0,r.default)("brz-ed-animated--spin",{"brz-d-none":!t}),p=(0,r.default)("brz-span",{"brz-invisible":t});return n.default.createElement("div",{className:c},n.default.createElement("div",{className:"brz-ed-fixed-bottom-panel__btn-loading brz-d-xs-flex brz-align-items-xs-center brz-text-lg-center",onClick:s},n.default.createElement(l.EditorIcon,{icon:"nc-circle-02",className:d}),n.default.createElement("span",{className:p},o)),!!i?.length&&i.length>0&&n.default.createElement(u,{items:i}))}},9690:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return E}});const r=o(47885),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),a=T(o(24072)),l=o(62948),s=T(o(92823)),c=T(o(22546)),d=o(62762),u=o(39191),p=o(74215),f=o(97045),m=o(35188),y=o(64187),g=o(64985),b=o(78438),h=o(16526),v=o(21486),S=o(6804),w=o(24467),x=o(87429),M=o(16020);function T(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}const C=(0,r.match)([d.isCloud,(0,r.match)([d.isShopify,M.getMode],[d.isCMS,()=>{}])],[u.isWp,()=>{}]),k={updatePageStatus:p.updatePageStatus,removeBlocks:p.removeBlocks,fetchPageSuccess:p.fetchPageSuccess},_=(0,n.connect)((e=>{const t=c.default.getAll();return{page:(0,f.pageSelector)(e),pageData:(0,f.pageDataNoRefsSelector)(e),extraFontStyles:(0,f.extraFontStylesSelector)(e),storeWasChanged:(0,f.storeWasChangedSelector)(e),mode:C(t)}}),k);class O extends i.Component{state={updateLoading:!1,layoutLoading:!1,draftLoading:!1};draftLoading;updateLoading;publish=e=>{const{mode:t,storeWasChanged:o}=this.props;switch(t){case"withTemplate":switch(o){case m.StoreChanged.changed:this.handlePublish(e);break;case m.StoreChanged.unchanged:this.handlePublishWithLayout(e)}break;case"withRules":switch(o){case m.StoreChanged.changed:this.handlePublish(e);break;case m.StoreChanged.unchanged:this.handlePublishWithRules(e)}break;case"withArticle":switch(o){case m.StoreChanged.changed:this.handlePublish(e);break;case m.StoreChanged.unchanged:this.handlePublishWithArticle(e)}break;default:this.handlePublish(e)}};draft=e=>{const{mode:t,page:o}=this.props,r=c.default.getAll();if((0,d.isCloud)(r)&&(0,d.isShopify)(r))switch(t){case"withTemplate":case"withRules":case"withArticle":switch(o.status){case"draft":this.handleDraft(e);break;case"publish":this.handleDraft(e).then((()=>(0,y.shopifyUnpublishPage)(r)))}break;case void 0:this.handleDraft(e)}else this.handleDraft(e)};handlePublishWithRules(e){const{page:t}=this.props,o={prompt:"pageRules",mode:"single",props:{headTitle:(0,g.t)("SELECT FOR WHAT THE TEMPLATE IS USED"),pageTitle:(0,d.isShopifyPage)(t)?t.title:void 0,selectedLayout:(0,d.isShopifyPage)(t)?t.layout:void 0,onClose:()=>{this.setState({[e]:!1})},onSave:()=>this.handlePublish(e),onCancel:()=>{this.setState({[e]:!1})}}};s.default.open(o)}handlePublishWithLayout(e){const{page:t}=this.props,o={prompt:"pageTemplate",mode:"single",props:{headTitle:(0,g.t)("YOUR PAGE IS READY TO PUBLISH!"),selectedLayout:(0,d.isShopifyPage)(t)?t.layout:void 0,pageTitle:(0,d.isShopifyPage)(t)?t.title:void 0,onClose:()=>{this.setState({[e]:!1})},onSave:()=>this.handlePublish(e),onCancel:()=>{this.setState({[e]:!1})}}};s.default.open(o)}handlePublishWithArticle(e){const{page:t}=this.props,o={prompt:"pageArticle",mode:"single",props:{headTitle:(0,g.t)("YOUR PAGE IS READY TO PUBLISH!"),pageTitle:(0,d.isShopifyPage)(t)?t.title:void 0,selectedLayout:(0,d.isShopifyPage)(t)?t.layout:void 0,onClose:()=>{this.setState({[e]:!1})},onSave:()=>this.handlePublish(e),onCancel:()=>{this.setState({[e]:!1})}}};s.default.open(o)}handlePublish(e){return this[e]?this[e]:(this.setState({[e]:!0}),this[e]=this.props.updatePageStatus("publish").then((()=>{this.props.fetchPageSuccess(),this.setState({[e]:!1}),this[e]=void 0})).catch((t=>{l.ToastNotification.error((0,g.t)("Could not publish or save page")),this.setState({[e]:!1}),this[e]=void 0})))}handleDraft(e){return this[e]?this[e]:(this.setState({[e]:!0}),this[e]=this.props.updatePageStatus("draft").then((()=>{this.props.fetchPageSuccess(),this.setState({[e]:!1}),this[e]=void 0})).catch((t=>{l.ToastNotification.error((0,g.t)("Could not switch to draft")),this.setState({[e]:!1}),this[e]=void 0})))}handleSavePage=async()=>{const{pageData:e,extraFontStyles:t}=this.props;if(this.state.layoutLoading||0===e.items.length)return;this.setState({layoutLoading:!0});const o={extraFontStyles:t,type:"normal"};let r;try{r=await(0,v.browserSupports)()}catch(e){r=!1}if(r){const e=document.querySelector("#brz-ed-page__blocks"),{src:t,width:r,height:i}=await(0,v.makeNodeScreenshot)(e).catch((()=>({src:void 0,width:void 0,height:void 0})));if(t&&(0,b.isNumber)(r)&&(0,b.isNumber)(i)){const{id:e}=await(0,y.createBlockScreenshot)({base64:t,blockType:"layout"}).catch((()=>({id:void 0})));e&&(o._thumbnailSrc=e,o._thumbnailWidth=r,o._thumbnailHeight=i,o._thumbnailTime=Date.now())}}const i={meta:o,data:e,dataVersion:1,uid:(0,S.uuid)()},n=c.default.getAll();await(0,y.createSavedLayout)(i,n).catch((e=>{l.ToastNotification.error((0,g.t)("Could not save layout")),console.error(e)})),r||l.ToastNotification.warn((0,g.t)("Your block was saved without screenshot, browser is not compatible"),5),this.setState({layoutLoading:!1})};handleClearPage=()=>{this.props.removeBlocks()};getTooltipItems(){const e=c.default.getAll(),t="function"==typeof e.api?.savedLayouts?.create,{page:o}=this.props,r=[];return(0,h.isPopup)(e)||(0,h.isStory)(e)||(r.push({title:(0,g.t)("Clear Layout"),icon:"nc-trash",roles:["admin"],onClick:()=>{this.handleClearPage()}}),t&&r.push({title:(0,g.t)("Save Layout"),icon:"nc-save-section",loading:this.state.layoutLoading,onClick:()=>{this.handleSavePage()}})),[...r,{title:(0,M.getTooltipPageTitle)(o.status),icon:(0,M.getTooltipPageIcon)(o.status),loading:this.state.draftLoading,onClick:()=>{switch(o.status){case"publish":this.draft("draftLoading");break;case"draft":this.publish("draftLoading")}}}]}getLabel(){const{page:e,mode:t,storeWasChanged:o}=this.props;switch(t){case"withTemplate":case"withRules":case"withArticle":return(0,M.getButtonLabel)(o,e.status);default:switch(e.status){case"publish":return(0,g.t)("Update");case"draft":return(0,g.t)("Save Draft")}}}updateOnKeyDown=e=>{e.preventDefault();const{storeWasChanged:t,page:o}=this.props;"changed"===t&&("publish"===o.status?this.handlePublish("updateLoading"):this.handleDraft("updateLoading"))};render(){const{storeWasChanged:e}=this.props;return i.default.createElement(i.default.Fragment,null,i.default.createElement(w.BottomPanelItem,{paddingSize:"small"},i.default.createElement(x.Controls,{disabled:"changed"!==e,addonAfter:this.getTooltipItems(),onClick:()=>{switch(this.props.page.status){case"publish":return this.publish("updateLoading");case"draft":return this.draft("updateLoading")}},loading:this.state.updateLoading},this.getLabel())),i.default.createElement(a.default,{id:"key-helper-update-page",keyNames:["ctrl+S","cmd+S","right_cmd+S"],onKeyDown:this.updateOnKeyDown}))}}const E=_(O)},16020:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getTooltipPageTitle:function(){return a},getTooltipPageIcon:function(){return l},getButtonLabel:function(){return s},getMode:function(){return c}});const r=o(35188),i=o(64985),n=o(93223),a=e=>{switch(e){case"publish":return(0,i.t)("Switch to Draft");case"draft":return(0,i.t)("Publish Page")}},l=e=>{switch(e){case"publish":return"nc-switch";case"draft":return"nc-publish"}},s=(e,t)=>{switch(e){case r.StoreChanged.changed:switch(t){case"draft":case"publish":return(0,i.t)("Save")}case r.StoreChanged.pending:return(0,i.t)("Saving");case r.StoreChanged.unchanged:switch(t){case"draft":return(0,i.t)("Save Draft");case"publish":return(0,i.t)("Publish")}}},c=e=>{switch(e.templateType.type){case n.ShopifyTemplate.Collection:case n.ShopifyTemplate.Product:return"withRules";case n.ShopifyTemplate.Article:return"withArticle";case n.ShopifyTemplate.Page:return"withTemplate"}}},13900:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedoButton",{enumerable:!0,get:function(){return d}});const r=c(o(27378)),i=o(23884),n=c(o(24072)),a=c(o(33364)),l=o(74215),s=o(24467);function c(e){return e&&e.__esModule?e:{default:e}}const d=()=>{const e=(0,i.useSelector)((e=>e.history.canRedo)),t=(0,i.useDispatch)(),o=()=>{t((0,l.redo)())};return r.default.createElement(r.default.Fragment,null,r.default.createElement(s.BottomPanelItem,{paddingSize:"medium",active:e,pointer:e,title:"Redo (ctrl+shift+Z)",onClick:o},r.default.createElement(a.default,{icon:"nc-redo"})),r.default.createElement(n.default,{keyNames:["ctrl+shift+Z","cmd+shift+Z"],id:"key-helper-redo",onKeyDown:o}))}},20976:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"UndoButton",{enumerable:!0,get:function(){return d}});const r=c(o(27378)),i=o(23884),n=c(o(24072)),a=c(o(33364)),l=o(74215),s=o(24467);function c(e){return e&&e.__esModule?e:{default:e}}const d=()=>{const e=(0,i.useSelector)((e=>e.history.canUndo)),t=(0,i.useDispatch)(),o=()=>{t((0,l.undo)())};return r.default.createElement(r.default.Fragment,null,r.default.createElement(s.BottomPanelItem,{paddingSize:"medium",active:e,pointer:e,title:"Undo (ctrl+Z)",onClick:o},r.default.createElement(a.default,{icon:"nc-undo"})),r.default.createElement(n.default,{keyNames:["ctrl+Z","cmd+Z"],id:"key-helper-undo",onKeyDown:o}))}},5778:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(58452))&&n.__esModule?n:{default:n};var n;function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{return"function"==typeof e||"object"==typeof(t=e)&&null!==t&&"displayName"in t;var t};function s(){const e=(0,r.useMemo)((()=>i.default.filter(l).map(((e,t)=>r.default.createElement(e,{key:t})))),[]);return r.default.createElement("div",{className:"brz-ed-fixed-bottom-panel"},r.default.createElement("ul",{className:"brz-ul"},e))}},58452:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=s(o(17727)),i=o(97077),n=s(o(9690)),a=o(13900),l=o(20976);function s(e){return e&&e.__esModule?e:{default:e}}const c=[r.default,l.UndoButton,a.RedoButton,i.PreviewButton,n.default]},81280:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Resizer",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(88445),n=(a=o(17882))&&a.__esModule?a:{default:a};var a;const l=o(22730),s=o(78438);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static defaultProps={keepAspectRatio:!1,points:["topCenter","topRight","centerRight","bottomLeft","bottomCenter","bottomRight","centerLeft","topLeft"],isHorizontalCenterAligned:!1,isVerticalCenterAligned:!1};state={showPoints:!1};contentRef=r.default.createRef();startValue;startRect;handleClick=()=>{this.setState({showPoints:!0})};handleClickOutside=()=>{this.state.showPoints&&this.setState({showPoints:!1})};handleDragStart=()=>{this.startValue=this.props.getValue();const e=this.contentRef.current;e&&(this.startRect=e.getBoundingClientRect()),this.props.onStart?.()};handleDragEnd=()=>{this.startValue=void 0,this.startRect=void 0,this.props.onEnd?.()};handleDrag(e,t){let{deltaX:o,deltaY:r}=t;if(!this.startValue||!this.startRect)return;const{restrictions:n,isHorizontalCenterAligned:a,isVerticalCenterAligned:l,keepAspectRatio:c}=this.props,d=this.props.getValue(),u=a?2:1,p=l?2:1,f=this.startValue,m=this.startRect;let y;switch(e){case"topCenter":y=[["height",-r*p]];break;case"bottomCenter":y=[["height",r*p]];break;case"centerLeft":y=[["width",-o*u]];break;case"centerRight":y=[["width",o*u]];break;case"topLeft":{const e=Boolean(d.size),t=-o*u,i=-r*p;y=e?[["size",{dx:t,dy:i}]]:[["width",t],["height",i]];break}case"bottomLeft":{const e=Boolean(d.size),t=-o*u,i=r*p;y=e?[["size",{dx:t,dy:i}]]:[["width",t],["height",i]];break}case"topRight":{const e=Boolean(d.size),t=o*u,i=-r*p;y=e?[["size",{dx:t,dy:i}]]:[["width",t],["height",i]];break}case"bottomRight":{const e=Boolean(d.size),t=o*u,i=r*p;y=e?[["size",{dx:t,dy:i}]]:[["width",t],["height",i]];break}}const g=y.reduce(((e,t,o,r)=>{let[a,l]=t;const d=f[a];if(void 0===d)return e;const u=n?.[a]?.min??0;let p,g=n?.[a]?.max??1/0;const b=2===r.length;if(c&&b){const[,e,,t]=y.flat();l={dx:e,dy:t},p=(0,i.calcRectangleSize)(d,m.width,m.height,l),"height"===a&&f.width&&(g=(0,i.calcMaxHeightBasedOnWidth)(n?.width?.max||1/0,m.width,m.height,f.width,d))}else p="number"==typeof l?(0,i.calcRectangleSide)(d,m[a],l):(0,i.calcRectangleSize)(d,m.width,m.height,l);return e[a]=(0,s.clamp)(Math.round(d+p),u,g),e}),{});this.props.onChange({patch:g,deltaX:o,deltaY:r,point:e,startRect:m})}handleTopCenterDrag=e=>this.handleDrag("topCenter",e);handleBottomCenterDrag=e=>this.handleDrag("bottomCenter",e);handleCenterLeftDrag=e=>this.handleDrag("centerLeft",e);handleCenterRightDrag=e=>this.handleDrag("centerRight",e);handleTopLeftDrag=e=>this.handleDrag("topLeft",e);handleTopRightDrag=e=>this.handleDrag("topRight",e);handleBottomLeftDrag=e=>this.handleDrag("bottomLeft",e);handleBottomRightDrag=e=>this.handleDrag("bottomRight",e);render(){const{showPoints:e}=this.state,{points:t,children:o}=this.props,{topCenter:i,topRight:a,centerRight:s,bottomLeft:c,bottomCenter:d,bottomRight:u,centerLeft:p,topLeft:f}=t.reduce(((e,t)=>(e[t]=!0,e)),{});return r.default.createElement(n.default,{onClickOutside:this.handleClickOutside},r.default.createElement("div",{ref:this.contentRef,className:"brz-ed-box__resizer",onClick:this.handleClick},o,e&&i&&r.default.createElement(l.DraggableDiv,{key:"topCenter",className:"brz-ed-box__resizer--point brz-ed-box__resizer--top-center",draggingCursor:"ns-resize",onDragStart:this.handleDragStart,onDrag:this.handleTopCenterDrag,onDragEnd:this.handleDragEnd}),e&&a&&r.default.createElement(l.DraggableDiv,{key:"topRight",className:"brz-ed-box__resizer--point brz-ed-box__resizer--top-right",draggingCursor:"nesw-resize",onDragStart:this.handleDragStart,onDrag:this.handleTopRightDrag,onDragEnd:this.handleDragEnd}),e&&s&&r.default.createElement(l.DraggableDiv,{key:"centerRight",className:"brz-ed-box__resizer--point brz-ed-box__resizer--center-right",draggingCursor:"col-resize",onDragStart:this.handleDragStart,onDrag:this.handleCenterRightDrag,onDragEnd:this.handleDragEnd}),e&&c&&r.default.createElement(l.DraggableDiv,{key:"bottomLeft",className:"brz-ed-box__resizer--point brz-ed-box__resizer--bottom-left",draggingCursor:"nesw-resize",onDragStart:this.handleDragStart,onDrag:this.handleBottomLeftDrag,onDragEnd:this.handleDragEnd}),e&&d&&r.default.createElement(l.DraggableDiv,{key:"bottomCenter",className:"brz-ed-box__resizer--point brz-ed-box__resizer--bottom-center",draggingCursor:"ns-resize",onDragStart:this.handleDragStart,onDrag:this.handleBottomCenterDrag,onDragEnd:this.handleDragEnd}),e&&u&&r.default.createElement(l.DraggableDiv,{key:"bottomRight",className:"brz-ed-box__resizer--point brz-ed-box__resizer--bottom-right",draggingCursor:"nwse-resize",onDragStart:this.handleDragStart,onDrag:this.handleBottomRightDrag,onDragEnd:this.handleDragEnd}),e&&p&&r.default.createElement(l.DraggableDiv,{key:"centerLeft",className:"brz-ed-box__resizer--point brz-ed-box__resizer--center-left",draggingCursor:"col-resize",onDragStart:this.handleDragStart,onDrag:this.handleCenterLeftDrag,onDragEnd:this.handleDragEnd}),e&&f&&r.default.createElement(l.DraggableDiv,{key:"topLeft",className:"brz-ed-box__resizer--point brz-ed-box__resizer--top-left",draggingCursor:"nwse-resize",onDragStart:this.handleDragStart,onDrag:this.handleTopLeftDrag,onDragEnd:this.handleDragEnd})))}}},31440:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(46338),n=o(67439),a=(l=o(22546))&&l.__esModule?l:{default:l};var l;const s=o(16526),c=o(81280),d=o(61878);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}let p=null;const f=(0,i.rolesHOC)({allow:["admin"],component:e=>{let{value:t,onChange:o,meta:i={},...l}=e;const u=(0,d.transformRestrictions)(l.restrictions,t),f=(0,d.transformAlign)(i,"horizontalAlign"),m=i.column&&(0,d.transformAlign)(i.column,"verticalAlign"),y=(0,d.transformValue)(t),g=(0,r.useCallback)((()=>{let e=(0,d.transformValue)(y);return(0,s.isStory)(a.default.getAll())&&(e=(0,d.resizerTransformStory)(e,t)),e}),[y.size,y.width,y.height,t.offsetX,t.offsetY]),b=(0,r.useCallback)((e=>{let{patch:r,point:i,startRect:n}=e,l=(0,d.resizerTransformPatch)(r,p,t);(0,s.isStory)(a.default.getAll())&&(l=(0,d.resizerTransformStoryPatch)(l,p,i,n)),o(l)}),[o,p,t]);return r.default.createElement(c.Resizer,{...l,restrictions:u,isHorizontalCenterAligned:"center"===f,isVerticalCenterAligned:"center"===m,getValue:g,onChange:b,onStart:()=>{p=g(),(0,n.hideToolbar)({hideContainerBorder:!1});const{onStart:e}=l;"function"==typeof e&&e()},onEnd:()=>{p=null,(0,n.showLastHiddenToolbar)();const{onEnd:e}=l;"function"==typeof e&&e()}})},fallbackRender:e=>{let{children:t}=e;return t}})},61878:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{transformAlign:function(){return f},transformRestrictions:function(){return m},transformValue:function(){return y},resizerTransformPatch:function(){return g},resizerTransformStory:function(){return b},resizerTransformStoryPatch:function(){return h}});const r=o(92213),i=o(78438),n=d(o(73904)),a=o(6085),l=d(o(59638)),s=o(88445);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const u={desktop:{height:{px:{min:3,max:1/0},"%":{min:3,max:1/0}},size:{px:{min:3,max:100},"%":{min:3,max:100}},width:{px:{min:3,max:100},"%":{min:3,max:100}}},tablet:{height:{px:{min:3,max:1/0},"%":{min:3,max:1/0}},size:{px:{min:3,max:100},"%":{min:3,max:100}},width:{px:{min:3,max:100},"%":{min:3,max:100}}},mobile:{height:{px:{min:3,max:1/0},"%":{min:3,max:1/0}},size:{px:{min:3,max:100},"%":{min:3,max:100}},width:{px:{min:3,max:100},"%":{min:3,max:100}}}},p=e=>{const{deviceMode:t}=(0,r.getStore)().getState().ui;return"desktop"!==t?`${t}${(0,a.capitalize)(e)}`:e},f=(e,t)=>{const o=p(t);return l.read(e[o])||l.read(e[t])},m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const o=(0,r.getStore)().getState().ui.deviceMode;return Object.keys(u.desktop).reduce(((r,i)=>{const n=p(i),a=`${i}Suffix`,l=p(a),s=t[l]||t[a];return r[i]=Object.assign({},u[o][i][s],e?.[n]?.[s]),r}),{})},y=e=>Object.keys(u.desktop).reduce(((t,o)=>{const r=p(o);return void 0!==(n.read(e[r])??n.read(e[o]))&&(t[o]=n.read(e[r])??n.read(e[o])),t}),{}),g=(e,t,o)=>{const r=Object.keys(e);return r.reduce(((n,a)=>{const l=p(a),s=p("height"),c=p("heightSuffix"),d=p(`${a}Suffix`);void 0===o[d]&&console.error(`${d} wasn't found in BoxResizer's value`),n[l]=e[a];const u=o[c]&&"%"===o[c],f=t.width,m=t.height;if(u&&e.width)if(1===r.length&&"width"===a){const t=m*f/100;n[s]=(0,i.roundTo)(t/e.width*100,2)}else if(2===r.length&&"height"===a){const t=e.height,o=f/e.width*100;n[s]=(0,i.roundTo)(o*t/100,2)}return n}),{})},b=(e,t)=>({...e,offsetX:t.offsetX,offsetY:t.offsetY}),h=(e,t,o,r)=>{let i={};switch(o){case"bottomLeft":case"centerLeft":i={offsetX:e.size?(0,s.calcOffsetXBySize)(t,e):(0,s.calcOffsetX)(t,e)};break;case"topRight":case"topCenter":i={offsetY:e.size?(0,s.calcOffsetYBySize)(t,e,r):(0,s.calcOffsetY)(t,e)};break;case"topLeft":i={offsetX:e.size?(0,s.calcOffsetXBySize)(t,e):(0,s.calcOffsetX)(t,e),offsetY:e.size?(0,s.calcOffsetYBySize)(t,e,r):(0,s.calcOffsetY)(t,e)}}return{...e,...i}}},88445:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{calcRectangleSide:function(){return n},calcRectangleSize:function(){return a},calcMaxHeightBasedOnWidth:function(){return l},calcOffsetX:function(){return s},calcOffsetY:function(){return c},calcOffsetXBySize:function(){return d},calcOffsetYBySize:function(){return u}});const r=o(79669),i=o(78438),n=(e,t,o)=>o*e/t,a=(e,t,o,r)=>{const{dx:i,dy:n}=r;return i/to*(e*t/r)/t*i/o,s=(e,t)=>{const o=t.width,r=e.width;return(0,i.roundTo)(e.offsetX-(o-r),2)},c=(e,t)=>{const o=(t.width||e.width)*r.DW/100,n=t.height*o/100,a=e.width*r.DW/100,l=e.height*a/100-n;return e.offsetY+(0,i.roundTo)(100*l/r.DH,2)},d=(e,t)=>{const o=t.size,r=e.size;return(0,i.roundTo)(e.offsetX-(o-r),2)},u=(e,t,o)=>{const n=t.size,a=e.size,l=n*o.height/a,s=100*o.height/r.DH,c=100*l/r.DH;return(0,i.roundTo)(e.offsetY+(s-c),2)}},43240:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CheckMark",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),i=a(o(27378)),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{checked:t,onClick:o,className:a}=e;const l=t?"border-0 bg-floating-button-blue":"border-[1px]",s=t?"!text-brand-primary opacity-100":"!text-brand-primary opacity-0";return i.default.createElement("span",{className:(0,r.default)("brz-ed--check-mark w-[16px] h-[16px] text-[16px] rounded-[50%] bg-black border-solid border-topaz",a,{checked:t},l),onClick:o},i.default.createElement(n.default,{icon:"nc-check-circle",className:s}))}},17882:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=a(o(65311)),i=a(o(27378)),n=a(o(31542));function a(e){return e&&e.__esModule?e:{default:e}}const l=[];class s extends i.default.Component{static defaultProps={exceptions:[]};componentDidMount(){0===l.length&&(document.addEventListener("mousedown",this.handleAll,!0),window.parent.document.addEventListener("mousedown",this.handleAll,!0)),l.push(this)}componentWillUnmount(){l.splice(l.indexOf(this),1),0===l.length&&(document.removeEventListener("mousedown",this.handleAll,!0),window.parent.document.removeEventListener("mousedown",this.handleAll,!0))}handleAll=e=>{const t=e.target;l.forEach((o=>{const{exceptions:i,onClickOutside:a}=o.props;let l=0;if(i.length>0){const{functionExceptions:e,stringExceptions:o}=i.reduce(((e,t)=>{switch(typeof t){case"function":e.functionExceptions.push(t);break;case"string":e.stringExceptions.push(t)}return e}),{functionExceptions:[],stringExceptions:[]});e.length>0&&(l+=e.filter((e=>!0===e(t))).length),0===l&&o.length>0&&(l+=(0,r.default)(t).closest(o.join(",")).length)}if(0===l){const r=n.default.findDOMNode(o);r&&!r.contains(t)&&a(e)}}))};render(){return i.default.Children.only(this.props.children)}}},28714:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(60042))&&n.__esModule?n:{default:n};var n;const a=o(95447),l=o(8704);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static defaultProps={limit:0,skin:"",linkPage:"",review:""};templateComment(e,t,o){const{name:n,photo:a,message:l,children:s}=e,c=(0,i.default)({"brz-comments__name":"skin1"===t||"skin3"===t,"brz-comments__name-date":"skin2"===t}),d="true"===o,u=d?"review":"comment",p=d&&r.default.createElement("div",{className:"brz-comments__rating"},r.default.createElement("div",{className:"star-rating"},r.default.createElement("span",{style:{width:"60%"}})));return"skin4"===t?r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-ul brz-comments__right-date"},r.default.createElement("div",{className:"brz-comments__name-date"},r.default.createElement("span",{className:"brz-span brz-comments__name"},r.default.createElement("a",{href:"#"},n)),r.default.createElement("div",{className:"brz-comments__left-side"},r.default.createElement("span",{className:"brz-span brz-comments__date"},r.default.createElement("a",{href:"#"},r.default.createElement("span",{className:"brz-span"},"23.09.2019, 14:35"))),p)),r.default.createElement("div",{className:"brz-comments__logo"},r.default.createElement("a",{href:"#"},r.default.createElement("img",{src:a,className:"brz-img brz-comments__logo-img"}))),r.default.createElement("div",{className:"brz-comments__text"},r.default.createElement("p",null,l,!d&&r.default.createElement("a",{className:"comment-reply-link",href:"#"},"Reply")))),s&&r.default.createElement("div",{className:`${u} even depth-2 brz-comments brz-comments__skin-skin4 brz-parent`},this.templateComment(s[0],t,o))):r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-comments__logo"},r.default.createElement("a",{href:"#"},r.default.createElement("img",{src:a,className:"brz-img brz-comments__logo-img"}))),r.default.createElement("div",{className:"brz-ul brz-comments__right-date"},r.default.createElement("div",{className:c},("skin1"===t||"skin3"===t)&&r.default.createElement("a",{href:"#"},n),"skin2"===t&&r.default.createElement(r.default.Fragment,null,r.default.createElement("span",{className:"brz-span brz-comments__name"},r.default.createElement("a",{href:"#"},n)),r.default.createElement("span",{className:"brz-span brz-comments__date"},r.default.createElement("a",{href:"#"},r.default.createElement("span",{className:"brz-span"},"23.09.2019, 14:35"))),d&&"skin2"===t&&p)),"skin1"===t&&r.default.createElement("div",{className:"brz-comments__right-side"},p,r.default.createElement("div",{className:"brz-comments__date"},r.default.createElement("a",{href:"#"},r.default.createElement("span",{className:"brz-span"},"23.09.2019, 14:35")))),"skin3"===t&&r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-comments__date"},r.default.createElement("a",{href:"#"},r.default.createElement("span",{className:"brz-span"},"23.09.2019, 14:35"))),p),"skin1"===t&&!d&&r.default.createElement("div",{className:"brz-comments__reply"},r.default.createElement("a",{className:"comment-reply-link",href:"#"},"Reply")),r.default.createElement("div",{className:"brz-comment-awaiting-moderation"},l,"skin3"===t&&!d&&r.default.createElement("a",{className:"comment-reply-link",href:"#"},"Reply")),"skin2"===t&&!d&&r.default.createElement("div",{className:"brz-comments__reply"},r.default.createElement("a",{className:"comment-reply-link",href:"#"},"Reply"))),s&&r.default.createElement("div",{className:`${u} even depth-2 brz-comments brz-comments__skin-${t} brz-parent`},this.templateComment(s[0],t,o)))}renderForEdit(){const{skin:e,review:t}=this.props,o=a.dataPeople[e],i="true"===t?"review":"comment",n="review"===i?"Add a review":"Leave a comment";return r.default.createElement("div",{className:"brz-comments-parrent"},r.default.createElement("div",null,r.default.createElement("div",{className:"brz-blocked"},r.default.createElement("div",{className:"brz-comments"},o.map(((o,n)=>r.default.createElement("div",{key:n,className:`${i} even depth-2 brz-comments brz-comments__skin-${e} brz-parent`},this.templateComment(o,e,t))))),r.default.createElement("div",{className:"brz-comment-respond"},r.default.createElement("div",{className:"brz--comment__form-reply-body"},r.default.createElement("h3",{id:"reply-title",className:"brz-comment-reply-title"},n),"review"===i&&r.default.createElement("div",{className:"comment-form-rating"},r.default.createElement("label",null,"Your rating"),r.default.createElement("p",{className:"stars selected"},r.default.createElement("a",null,"1"),r.default.createElement("a",null,"2"),r.default.createElement("a",{className:"active"},"3"),r.default.createElement("a",null,"4"),r.default.createElement("a",null,"5")))),r.default.createElement("form",{className:"brz-form brz--comment__form-reply-body"},r.default.createElement("p",{className:"brz-comment-form-comment"},r.default.createElement("textarea",{name:"comment",cols:"45",rows:"8","aria-required":"true"})),r.default.createElement("p",{className:"brz-form-submit"},r.default.createElement("input",{name:"submit",type:"submit",id:"brz-submit",className:"brz-submit",value:"Post Comment"})))))))}renderForView(){const{limit:e,skin:t,linkPage:o}=this.props;return r.default.createElement(l.DynamicContentHelper,{placeholder:`{{editor_comments limit="${e}" skin="${t}" linkPage="${o}"}}`,tagName:"div",props:{className:"brz-comments-parrent"}})}render(){return this.renderForEdit()}}const d=c},95447:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"dataPeople",{enumerable:!0,get:function(){return i}});const r=o(4820),i={skin1:[{photo:`${(0,r.assetUrl)("editor/img/skin1-1.jpg")}`,name:"Quenten Kortum",message:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In comdimentum facilisis porta. Sed nec diam mattis viverra. Nulla fringilla, orci ac euismod semper, magna diam porttitor mauris, quis sollictudin sapien justo in libero."},{photo:`${(0,r.assetUrl)("editor/img/skin1-2.jpg")}`,name:"Uzoma Buchi",message:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In comdimentum facilisis porta. Sed nec diam mattis viverra. Nulla fringilla, orci ac euismod semper, magna diam porttitor mauris, quis sollictudin sapien justo in libero.",children:[{photo:`${(0,r.assetUrl)("editor/img/skin1-3.jpg")}`,name:"Sukhnam Chander",message:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In condimentum facilisis porta. Sed nec diam eu diam mattis viverra. Nulla fringilla, orci ac eusmod semper."}]},{photo:`${(0,r.assetUrl)("editor/img/skin1-4.jpg")}`,name:"Ivan Morais",message:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In comdimentum facilisis porta. Sed nec diam mattis viverra. Nulla fringilla, orci ac euismod semper, magna diam porttitor mauris, quis sollictudin sapien justo in libero."}],skin2:[{photo:`${(0,r.assetUrl)("editor/img/skin1-1.jpg")}`,name:"Quenten Kortum",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."},{photo:`${(0,r.assetUrl)("editor/img/skin1-2.jpg")}`,name:"Kwak Seong-Min",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra.",children:[{photo:`${(0,r.assetUrl)("editor/img/skin1-3.jpg")}`,name:"Xenie Dolezelova",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."}]},{photo:`${(0,r.assetUrl)("editor/img/skin1-4.jpg")}`,name:"Benedikt Safiyulin",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."}],skin3:[{photo:`${(0,r.assetUrl)("editor/img/skin1-1.jpg")}`,name:"Quinten Kortum",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."},{photo:`${(0,r.assetUrl)("editor/img/skin1-2.jpg")}`,name:"Jason Bailey",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra.",children:[{photo:`${(0,r.assetUrl)("editor/img/skin1-3.jpg")}`,name:"Kong Yijun",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."}]},{photo:`${(0,r.assetUrl)("editor/img/skin1-4.jpg")}`,name:"Emilee Simchenko",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."}],skin4:[{photo:`${(0,r.assetUrl)("editor/img/skin1-1.jpg")}`,name:"Arend Pellewever",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."},{photo:`${(0,r.assetUrl)("editor/img/skin1-2.jpg")}`,name:"Otmar Dolezal",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra.",children:[{photo:`${(0,r.assetUrl)("editor/img/skin1-3.jpg")}`,name:"Ashish Asharaful",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam eu diam mattis."}]},{photo:`${(0,r.assetUrl)("editor/img/skin1-4.jpg")}`,name:"Siri Jakobsson",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."}]}},70907:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),i=l(o(37828)),n=l(o(42168)),a=l(o(28714));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={type:"",appId:"",data:{}};renderForEdit(){const{appId:e,type:t,data:o}=this.props;return"facebook"===t?r.default.createElement(n.default,{appId:e,type:"Comments",data:o}):"disqus"===t&&""===o.shortname?r.default.createElement("p",{className:"brz-disqus-no-data"},"Add the required data"):"disqus"===t?r.default.createElement(i.default.DiscussionEmbed,o):r.default.createElement(a.default,o)}renderForView(){const{appId:e,type:t,data:o}=this.props;return"facebook"===t?r.default.createElement(n.default,{appId:e,type:"Comments",data:o}):"disqus"===t?r.default.createElement("div",{id:"disqus_thread",...o}):r.default.createElement(a.default,o)}render(){return this.renderForEdit()}}const c=s},56059:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getOptions:function(){return y},ConditionsComponent:function(){return g},default:function(){return b}});const r=m(o(27378)),i=m(o(92823)),n=m(o(22546)),a=o(10744),l=o(74215),s=o(97045),c=o(92213),d=o(64187),u=o(46479),p=o(64985),f=o(16526);function m(e){return e&&e.__esModule?e:{default:e}}function y(e,t){let o=[];switch(e){case"block":{const e=(0,c.getStore)().getState(),r=(0,s.globalBlocksSelector)(e),{rules:i}=r[t];o=[{id:"rules",type:"rules",icon:"nc-eye-17",label:(0,p.t)("Conditions"),title:(0,p.t)("WHERE DO YOU WANT TO DISPLAY IT?"),value:i,context:"block",onChange:e=>{let{data:{rules:o},meta:r}=e;(0,c.getStore)().dispatch((0,l.updateGBRules)({data:{rules:o,id:t},meta:r}))}}];break}case"popup":if(o=[{id:"triggers",type:"triggers",icon:"nc-triggers",label:(0,p.t)("Triggers"),context:"popup",title:(0,p.t)("WHAT WILL TRIGGER THE POPUP TO OPEN")}],!(0,f.isExternalPopup)(n.default.getAll())){const e=u.IS_CLOUD?()=>(0,d.getRulesList)(n.default.get("page")?.id):()=>(0,d.getRulesList)("");o.push({id:"rules",type:"rules",icon:"nc-eye-17",label:(0,p.t)("Conditions"),title:(0,p.t)("WHERE DO YOU WANT TO DISPLAY IT?"),context:"popup",asyncGetValue:e,onChange:e=>{(0,c.getStore)().dispatch((0,a.updatePopupRules)(e))}})}break;default:console.error("type should be given!!!")}return o}const g=e=>{let{children:t,value:o,context:n}=e;return r.default.cloneElement(r.default.Children.only(t),{onMouseDown:()=>{i.default.open({prompt:"conditions",mode:"single",props:{options:y(n,o)}})}})},b=g},24444:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=l(o(60042)),n=o(65631),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static defaultProps={className:"",icon:"nc-stre-up",activeIcon:"nc-drag",position:"topRight"};state={active:!1};setActive(e){e!==this.state.active&&this.setState({active:e})}renderIcon(){const{icon:e,activeIcon:t}=this.props,{active:o}=this.state;return t?r.default.createElement(n.CSSTransition,{in:o,timeout:150,classNames:"brz-ed-fade"},o?r.default.createElement(a.default,{kre:"activeIcon",icon:t}):r.default.createElement(a.default,{key:"icon",icon:e})):r.default.createElement(a.default,{icon:e})}render(){const{innerRef:e,className:t,position:o}=this.props,{active:n}=this.state,a=(0,i.default)("brz-ed-border__button",t,{"brz-ed-border__button--top-left":"topLeft"===o,"brz-ed-border__button--top-right":"topRight"===o,"brz-ed-border__button--active":n});return r.default.createElement("div",{ref:e,className:a,"data-sortable-handle":this.props["data-sortable-handle"]},this.renderIcon())}}const d=c},80544:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=d(o(60042)),i=d(o(23615)),n=d(o(27378)),a=d(o(17882)),l=o(97045),s=o(92213),c=d(o(24444));function d(e){return e&&e.__esModule?e:{default:e}}class u extends n.default.Component{static propTypes={type:i.default.string,className:i.default.string,color:i.default.oneOf(["grey","blue","red"]),borderStyle:i.default.oneOf(["none","solid","dotted"]),activeBorderStyle:i.default.oneOf(["none","solid","dotted"]),buttonPosition:i.default.oneOf(["topLeft","topRight"]),renderButtonWrapper:i.default.func,activateOnContentClick:i.default.bool,clickOutsideExceptions:i.default.arrayOf(i.default.string),hiddenInResponsive:i.default.bool,children:i.default.func};static defaultProps={type:"element",borderStyle:"none",buttonPosition:"topRight",activateOnContentClick:!0,clickOutsideExceptions:["#brz-toolbar-portal",".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal",".brz-ed-eyeDropper"],hiddenInResponsive:!1};containerRef=n.default.createRef();innerBorderRef=n.default.createRef();buttonRef=n.default.createRef();buttonInnerRef=n.default.createRef();isBorderActive=!1;isButtonActive=!1;isHovered=!1;isHidden=!1;isHiddenTime=null;device="desktop";componentDidMount(){this.containerRef.current.addEventListener("click",this.handleContentClick),this.containerRef.current.addEventListener("brz.toolbar.mouseenter",this.handleToolbarMouseEnter),this.containerRef.current.addEventListener("brz.toolbar.mouseleave",this.handleToolbarMouseLeave),this.containerRef.current.addEventListener("brz.toolbar.open",this.handleToolbarOpen),this.containerRef.current.addEventListener("brz.toolbar.close",this.handleToolbarClose)}componentWillUnmount(){clearTimeout(this.isHiddenTime)}handleContentClick=e=>{this.handleActivationEvent(e)};handleButtonClick=e=>{this.handleActivationEvent(e)};handleClickOutside=()=>{this.setActive(!1,!1),this.setHover(!1)};handleToolbarMouseEnter=()=>{this.isBorderActive||this.isButtonActive||this.setHover(!0)};handleToolbarMouseLeave=()=>{this.isBorderActive||this.isButtonActive||this.setHover(!1)};handleToolbarOpen=e=>{const{hiddenInResponsive:t}=this.props;this.device=(0,l.deviceModeSelector)((0,s.getStore)().getState()),clearTimeout(this.isHiddenTime),t&&"desktop"!==this.device?this.setHidden(!0):this.handleActivationEvent(e)};handleToolbarClose=e=>{!1!==e.detail?.hideContainerBorder&&(this.setActive(!1,!1),this.isHiddenTime=setTimeout((()=>{this.setHidden(!1)}),250))};handleActivationEvent=e=>{const{activateOnContentClick:t}=this.props;if(e.brzContainerBorderHandled)return;let o=!1;const r=this.buttonInnerRef.current;r&&r.contains(e.target)&&(this.setActive(!0,!0),o=!0),!o&&t&&(this.setActive(!0,!1),o=!0),o&&(e.brzContainerBorderHandled=!0),!o&&this.isBorderActive&&this.setActive(!1,!1)};setActive(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{type:o}=this.props;this.isButtonActive!==t&&(this.isButtonActive=t,this.buttonRef.current.setActive(t)),this.isBorderActive!==e&&(this.isBorderActive=e,e?this.containerRef.current.setAttribute("data-border--active",o):this.containerRef.current.removeAttribute("data-border--active"))}setHover(e){if(e!==this.isHovered)if(this.isHovered=e,e){const{type:e}=this.props;this.containerRef.current.setAttribute("data-border--hovered",e)}else this.containerRef.current.removeAttribute("data-border--hovered")}setHidden(e){if(e!==this.isHidden)if(this.isHidden=e,e){const{type:e}=this.props;this.containerRef.current.setAttribute("data-border--hidden",e)}else this.containerRef.current.removeAttribute("data-border--hidden")}renderButton=e=>{const{buttonPosition:t}=this.props;return n.default.createElement(c.default,{...e,ref:this.buttonRef,innerRef:this.buttonInnerRef,position:t})};render(){const{type:e,color:t,borderStyle:o,activeBorderStyle:i,renderButtonWrapper:l,children:s,clickOutsideExceptions:c}=this.props,d=l?l(this.renderButton):this.renderButton(),u=(0,r.default)("brz-ed-border__inner",{[`brz-ed-border--${o}`]:o,[`brz-ed-border--active-${i}`]:i}),p=n.default.createElement("div",{ref:this.innerBorderRef,className:u});let f={"data-border":e};return t&&(f[`data-border--${t}`]=e),n.default.createElement(a.default,{exceptions:c,onClickOutside:this.handleClickOutside},s({ref:this.containerRef,button:d,border:p,attr:f}))}}},36129:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return u}});const r=c(o(27378)),i=c(o(10301)),n=c(o(60042)),a=o(66848),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(63300)),s=o(2610);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=e=>{let{id:t,v:o,tagName:c="span",className:d,onChange:u=i.default.noop}=e;const p=(0,n.default)(d,`brz-${c}`);return(0,s.hasDC)(o,t)?r.default.createElement(c,{className:p,dangerouslySetInnerHTML:{__html:o[t]||""}}):r.default.createElement(a.TextEditor,{className:d,tagName:c,value:l.read(o[t]),onChange:e=>u({[t]:e})})}},54668:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return r.Text}});const r=o(36129)},64903:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=a(o(27378)),i=a(o(23615)),n=o(46338);function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.default.Component{static childContextTypes={getParentContextMenuExtendItems:i.default.func};getChildContext(){return{getParentContextMenuExtendItems:this.getItems}}getItems=()=>this.props.getItems();render(){const{children:e}=this.props;return e}}const s=(0,n.rolesHOC)({allow:["admin"],component:l,fallbackComponent:e=>{let{children:t}=e;return t}})},83202:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Dropdown",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(31542),n=o(74686),a=(l=o(2975))&&l.__esModule?l:{default:l};var l;function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{const{id:t,getItems:o,itemsMeta:l}=e,[s,c]=(0,r.useState)(!1),d=(0,r.useRef)([]),u=(0,r.useMemo)((()=>s?(d.current=o(),d.current):d.current),[o,s]),p=(0,r.useCallback)((()=>{c(!0)}),[]),f=(0,r.useCallback)((()=>{c(!1)}),[]);return(0,i.createPortal)(r.default.createElement(n.Menu,{onShown:p,onHidden:f,animation:!1,id:t},r.default.createElement(a.default,{data:u,meta:l})),document.body)}},2975:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(48992)),n=o(80550);function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.default.Component{static defaultProps={meta:{}};render(){const{data:e,meta:t}=this.props;return(0,n.filterItems)(e,t).map(((e,o)=>{const n=i.default[e.type],a=o,l={...t,index:o};return r.default.createElement(n,{...e,key:a,meta:l})}))}}},39552:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return g},ContextMenuExtend:function(){return d.default}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=u(o(31542)),n=u(o(23615)),a=o(74686),l=o(46338),s=o(83202),c=o(80550),d=u(o(64903));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f={depth:0};class m extends r.Component{componentDidMount(){i.default.findDOMNode(this).addEventListener("contextmenu",this.handleContextMenu)}componentWillUnmount(){i.default.findDOMNode(this).removeEventListener("contextmenu",this.handleContextMenu)}handleContextMenu=e=>{e.shiftKey||a.contextMenu.show({id:this.props.id,event:e})};render(){return this.props.children}}class y extends r.Component{static defaultProps={id:"",getItems:()=>[]};static contextTypes={getParentContextMenuExtendItems:n.default.func,getParentContextMenuItems:n.default.func};static childContextTypes={getParentContextMenuItems:n.default.func};getChildContext(){return{getParentContextMenuItems:this.getItems}}getItems=()=>{let{componentId:e,getItems:t}=this.props;const{getParentContextMenuExtendItems:o,getParentContextMenuItems:r}=this.context;let i=t();return i=[e,o?(0,c.mergeItems)(i,o()):i],i=r?[i,...r()]:[i],i};squashItems(e){return e.reduce(((e,t)=>{let[o,r]=t;return e.componentIdMap[o]||(e.componentIdMap[o]=!0,e.items=(0,c.concatItems)(e.items,r)),e}),{componentIdMap:{},items:[]}).items}getSquashedItems=()=>{const e=this.squashItems(this.getItems());return(0,c.filterItems)(e,f)};render(){const{id:e,children:t}=this.props;return r.default.createElement(r.default.Fragment,null,r.default.createElement(m,{id:e},t),r.default.createElement(s.Dropdown,{id:e,getItems:this.getSquashedItems,itemsMeta:f}))}}const g=(0,l.rolesHOC)({allow:["admin"],component:y,fallbackComponent:e=>{let{children:t}=e;return t}})},36409:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(74686);class a extends r.default.Component{static defaultProps={title:"",helperText:()=>"",inactive:!1,onChange:()=>{}};render(){const{helperText:e,title:t,onChange:o,inactive:i,meta:a}=this.props;return r.default.createElement(n.Item,{onClick:o,disabled:i},r.default.createElement("span",{className:"react-contexify__item--title"},t),r.default.createElement("span",{className:"react-contexify__item--placeholder"},e(a)))}}},64904:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),i=o(74686),n=l(o(33364)),a=l(o(2975));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={title:"",icon:"",items:[]};render(){const{title:e,icon:t,items:o,meta:l}=this.props,s={...l,depth:l.depth+1};return 0===l.depth&&0===l.index?r.default.createElement(r.default.Fragment,null,r.default.createElement(i.Item,{key:"title",className:"react-contexify--title"},t&&r.default.createElement(n.default,{icon:t})," ",e),r.default.createElement(a.default,{data:o,meta:{...s,isInSubMenu:!1}})):r.default.createElement(i.Submenu,{className:"react-contexify__item__submenu",label:e,arrow:""},r.default.createElement(a.default,{data:o,meta:{...s,isInSubMenu:!0}}))}}},48992:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=n(o(36409)),i=n(o(64904));function n(e){return e&&e.__esModule?e:{default:e}}const a={button:r.default,group:i.default}},80550:(e,t)=>{"use strict";function o(e,t){const r=[...e];for(var i=0;i"function"==typeof e.disabled?!e.disabled(e,{...t,isInSubMenu:!(0===t.depth&&0===o)}):!e.disabled))}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{mergeItems:function(){return o},concatItems:function(){return r},filterItems:function(){return i}})},10944:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(10301)),n=o(86811);function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.default.Component{static defaultProps={className:"",value:0,min:0,max:100,step:1,onFocus:i.default.noop,onBlur:i.default.noop,onTextChange:i.default.noop,onChange:i.default.noop};state={text:(0,n.formatInputValue)(this.props.value,this.props.step),value:this.props.value,prevPropsValue:this.props.value};static getDerivedStateFromProps(e,t){return e.value!==t.prevPropsValue?{text:(0,n.formatInputValue)(e.value,e.step),value:e.value,prevPropsValue:e.value}:null}componentWillUnmount(){this.debouncedOnChange.cancel()}increment(){this.setState(((e,t)=>{const{min:o,max:r,step:i}=t,{text:a,value:l}=e,s=Number(a),c=(0,n.correctNumber)((0,n.preciseAdd)(s,i),o,r,i);return c!==l?{text:(0,n.formatInputValue)(c,i),value:c}:null}),(()=>{this.props.onTextChange&&this.props.onTextChange(this.state.text),this.props.onChange(this.state.value)}))}decrement(){this.setState(((e,t)=>{const{min:o,max:r,step:i}=t,{text:a,value:l}=e,s=Number(a),c=(0,n.correctNumber)((0,n.preciseSub)(s,i),o,r,i);return c!==l?{text:(0,n.formatInputValue)(c,i),value:c}:null}),(()=>{this.props.onTextChange&&this.props.onTextChange(this.state.text),this.props.onChange(this.state.value)}))}handleChange=e=>{this.setState({text:e.target.value},(()=>{this.props.onTextChange&&this.props.onTextChange(this.state.text),this.debouncedOnChange()}))};debouncedOnChange=i.default.debounce((()=>{this.setState(((e,t)=>{const{min:o,max:r,step:i}=t,{text:a,value:l}=e,s=parseFloat(String(a)),c=(0,n.correctNumber)(Number.isNaN(s)?l:s,o,r,i);return{text:(0,n.formatInputValue)(c,i),value:c}}),(()=>{this.props.onTextChange&&this.props.onTextChange(this.state.text),this.props.onChange(this.state.value)}))}),1e3);getText(){return this.state.text}render(){const{className:e,min:t,max:o,step:i,onFocus:n,onBlur:a,onMouseEnter:l,onMouseLeave:s,size:c}=this.props,{text:d}=this.state;return r.default.createElement("input",{className:e,type:"number",value:d,min:t,max:o,step:i,size:c,onFocus:n,onBlur:a,onChange:this.handleChange,onMouseEnter:l,onMouseLeave:s})}}},86811:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{formatInputValue:function(){return i},decimalLength:function(){return n},correctNumber:function(){return a},preciseAdd:function(){return l},preciseSub:function(){return s}});const r=o(78438);function i(e,t){const o=n(t);return o>0?e.toFixed(o):String(e)}function n(e){const[,t]=String(e).split(".");return t?t.length:0}function a(e,t,o,i){return function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=10**n(t);e*=r,t*=r,o*=r;return(Math.ceil((e-o)/t)*t+o)/r}((0,r.clamp)(e,t,o),i,t)}const l=c.bind(null,"add"),s=c.bind(null,"sub");function c(e,t,o){const r=n(t),i=n(o),a=10**Math.max(r,i),l=t*a,s=o*a;let c;switch(e){case"add":c=l+s;break;case"sub":c=l-s;break;default:throw new Error(`operation type unknown ${e}`)}return c/a}},72392:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GradientRange",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),i=l(o(60042)),n=o(50116),a=l(o(3449));function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{start:t,end:o,active:l,onStartChange:s,onEndChange:c,onActiveChange:d,hex1:u,hex2:p}=e;return r.default.createElement(a.default,{onChange:e=>{(e[0]===t?c:s)(e[0]===t?e[1]:e[0])},min:0,max:100,step:1,startPointer:t,finishPointer:o,railStyle:{backgroundImage:`linear-gradient(to right, ${u}, ${p})`},handle:e=>{const{className:t,index:o,dragging:a,...s}=e,c=0===o?"start":"end",u=(0,i.default)(t,{"brz-ed-rc-slider-handle":!0,"brz-ed-rc-slider-handle--active":0===o&&"start"===l||1===o&&"end"===l});return r.default.createElement(n.Handle,{...s,key:o,className:u,onMouseDown:()=>d(c)})}})}},76710:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BackgroundColor",{enumerable:!0,get:function(){return m}});const r=f(o(60042)),i=f(o(27378)),n=f(o(10944)),a=o(45882),l=o(15011),s=o(65989),c=o(18624),d=o(64985),u=o(72392),p=o(1739);function f(e){return e&&e.__esModule?e:{default:e}}const m=e=>{let{className:t,onChange:o,value:f,paletteOpenSettings:m,palette:y,opacity:g,gradientColors:[b,h],withNone:v}=e;const S=(0,r.default)("brz-ed-control__backgroundColor",t);return i.default.createElement("div",{className:S},"gradient"===f.type?i.default.createElement(u.GradientRange,{start:f.start,end:f.end,active:f.active,hex1:b,hex2:h,onStartChange:e=>o({...f,start:e},{isChanged:"start"}),onEndChange:e=>o({...f,end:e},{isChanged:"end"}),onActiveChange:e=>o({...f,active:e},{isChanged:"active"})}):null,i.default.createElement(a.ColorPickerSelect,{palette:y,opacity:g,value:{hex:f.hex,palette:f.palette,opacity:f.opacity,select:f.type},onChange:(e,t)=>{o({type:e.select,hex:e.hex,opacity:e.opacity,palette:e.palette,gradientType:f.gradientType,start:f.start,end:f.end,active:f.active,degree:f.degree},(0,p.fromColorMeta)(t))},paletteOpenSettings:m},(e=>{const t=[];return e&&t.push(i.default.createElement(s.Item,{key:"none",value:"none"},(0,d.t)("None"))),t.push(i.default.createElement(s.Item,{key:"solid",value:"solid"},(0,d.t)("Solid"))),t.push(i.default.createElement(s.Item,{key:"gradient",value:"gradient"},(0,d.t)("Gradient"))),t})(v)),i.default.createElement(l.ColorPickerInputs,{value:f.hex,onChange:e=>o({...f,hex:e},{isChanged:"hex"})},"gradient"===f.type?i.default.createElement(i.default.Fragment,null,i.default.createElement(c.Select2,{editable:!1,className:(0,r.default)("brz-ed-control__backgroundColor__gradientType",`brz-ed-control__backgroundColor__gradientType--${f.gradientType}`),onChange:e=>o({...f,gradientType:e},{isChanged:"gradientType"}),value:f.gradientType},i.default.createElement(s.Item,{value:"linear"},(0,d.t)("Linear")),i.default.createElement(s.Item,{value:"radial"},(0,d.t)("Radial"))),i.default.createElement("div",{className:"brz-ed-control__backgroundColor--degree"},i.default.createElement(n.default,{className:"brz-input",min:-359,max:359,step:1,value:f.degree,onChange:e=>o({...f,degree:e},{isChanged:"degree"})}))):null))}},1739:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fromColorMeta",{enumerable:!0,get:function(){return o}});const o=e=>({isChanged:"select"===e.isChanged?"type":e.isChanged,opacityDragEnd:e.opacityDragEnd})},75230:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Width",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(10944));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{onChange:t,value:o}=e;return r.default.createElement(i.default,{className:"brz-input",min:0,max:9999,step:1,value:o,onChange:t})}},68654:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Border",{enumerable:!0,get:function(){return y}});const r=f(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(45882),a=o(15011),l=o(65989),s=f(o(33364)),c=o(8643),d=o(22741),u=o(75230),p=o(59053);function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}const y=e=>{let{className:t,widthTypes:o,styles:f,hex:m,onChangeHex:y,palette:g,onChangePalette:b,opacity:h,onChangeOpacity:v,style:S,onChangeStyle:w,widthType:x,onChangeWidthType:M,width:T,onChangeWidth:P,topWidth:C,onChangeTopWidth:k,rightWidth:_,onChangeRightWidth:O,bottomWidth:E,onChangeBottomWidth:z,leftWidth:B,onChangeLeftWidth:j,...N}=e;const I=(0,r.default)("brz-ed-control__border",t),L=(0,i.useCallback)(((e,t)=>{switch(t.isChanged){case"select":(0,d.mApply)(w,e.select);break;case"hex":y(e.hex);break;case"opacity":v(e.opacity,t?.opacityDragEnd??!0);break;case"palette":b(e.palette)}}),[y,b,v,w]),D=(0,i.useCallback)((()=>M((0,p.toggleType)(x))),[x,M]),F=(0,r.default)("brz-button",{"brz-ed-control__border__widthType":!0,"brz-ed-control__border__widthType--active":"grouped"===x}),A="grouped"===x||!o.includes("ungrouped");return i.default.createElement("div",{className:I},i.default.createElement(n.ColorPickerSelect,{onChange:L,value:{select:S,hex:m,opacity:h,palette:g},opacity:N.enableOpacity,palette:N.paletteList,paletteOpenSettings:N.paletteOpenSettings},f.map((e=>{let{id:t,title:o,icon:r}=e;return i.default.createElement(l.Item,{key:t,value:t},o&&i.default.createElement("span",null,o),r&&i.default.createElement(s.default,{icon:r,className:"brz-icon"}))}))),i.default.createElement(a.ColorPickerInputs,{value:m,onChange:y},A?i.default.createElement("div",{className:"brz-ed-control__border__width"},i.default.createElement("div",{className:"brz-label"},(0,c.t)("Size")),i.default.createElement(u.Width,{value:T,onChange:P})):i.default.createElement("div",{className:"brz-ed-control__border__width"},i.default.createElement(u.Width,{value:C,onChange:k}),i.default.createElement(u.Width,{value:_,onChange:O}),i.default.createElement(u.Width,{value:E,onChange:z}),i.default.createElement(u.Width,{value:B,onChange:j})),o.length<2?null:i.default.createElement("button",{className:F,onClick:D},i.default.createElement(s.default,{icon:"nc-combined-shape",className:"brz-icon"}))))}},59053:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"toggleType",{enumerable:!0,get:function(){return o}});const o=e=>"grouped"===e?"ungrouped":"grouped"},12632:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BoxShadow",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(50138),a=o(45882),l=o(15011),s=d(o(2467)),c=o(65989);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=e=>{let{value:t,types:o,onChange:d,...u}=e;const p=(0,r.default)("brz-ed-control__boxShadow",u.className),f=(0,i.useCallback)((e=>d({...t,hex:e},{isChanged:"hex"})),[d,t]),m=(0,i.useCallback)((e=>{const[o,r,i,a]=e,l=[t.blur,t.spread,t.vertical,t.horizontal],s=(0,n.getModifiedField)(e,l);s&&d({...t,blur:o,spread:r,vertical:i,horizontal:a},{isChanged:s})}),[d,t]);return i.default.createElement("div",{className:p},i.default.createElement(a.ColorPickerSelect,{onChange:(e,o)=>{let{select:r,...i}=e;d({...t,hex:i.hex,opacity:i.opacity,palette:i.palette,type:r},{...o,isChanged:"select"===o.isChanged?"type":o.isChanged})},value:{select:t.type,hex:t.hex,opacity:t.opacity,palette:t.palette},opacity:u.opacity,palette:u.palette,paletteOpenSettings:u.paletteOpenSettings},o.map((e=>{let{id:t,title:o}=e;return i.default.createElement(c.Item,{value:t,key:t},i.default.createElement("span",null,o))}))),i.default.createElement(l.ColorPickerInputs,{value:t.hex,onChange:f},i.default.createElement(s.default,{config:{defaultIcon:"nc-shadow",icons:["nc-blur","nc-size","nc-vertical","nc-horizontal"]},value:[t.blur,t.spread,t.vertical,t.horizontal],onChange:m})))}},50138:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getModifiedField",{enumerable:!0,get:function(){return o}});const o=(e,t)=>{let[o,r,i,n]=e,[a,l,s,c]=t;return o!==a?"blur":r!==l?"spread":i!==s?"vertical":n!==c?"horizontal":void 0}},44010:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),i=a(o(27378)),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{className:t,onClick:o,icon:a,children:l,reverse:s,align:c="center",reverseTheme:d=!1,title:u}=e;return l||a?i.default.createElement("div",{className:(0,r.default)("brz-ed-control__button",`brz-ed-control__button-${c}`,t,{reverse:!!s,reverseTheme:!!d}),onClick:o,title:u},a&&i.default.createElement(n.default,{icon:a}),l&&i.default.createElement("span",{className:"brz-ed-control__label"},l)):null}},517:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CheckGroupIcon",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(33364));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{active:t}=e;return r.default.createElement("div",{className:"brz-control__check-group-option-icon"},r.default.createElement(i.default,{icon:t?"nc-check-square-on":"nc-check-square-off"}))}},19665:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=s(o(23615)),n=s(o(10301)),a=s(o(60042)),l=o(6804);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static propTypes={className:i.default.string,active:i.default.bool,value:i.default.string.isRequired,name:i.default.string.isRequired,onClick:i.default.func,renderIcons:i.default.func,divider:i.default.bool,inline:i.default.bool};static defaultProps={className:"",active:!1,value:"",name:"",divider:!1,inline:!1,renderIcons:n.default.noop,onClick:n.default.noop};renderForEdit(){const{className:e,name:t,active:o,value:i,divider:n,inline:l,children:s,renderIcons:c,onClick:d}=this.props,u=(0,a.default)("brz-control__check-group-option",{"brz-control__check-group-option--divider":n,"brz-control__check-group-option--inline":l},{active:o},e);return r.default.createElement("div",{className:u,onClick:d},"function"==typeof c&&c({active:o}),s,r.default.createElement("input",{className:"brz-input",type:"hidden",name:t,value:i}))}renderForView(){const{className:e,active:t,name:o,value:i,required:n,renderIcons:s,divider:c,inline:d,children:u}=this.props,p=(0,a.default)("brz-control__check-group-option",{"brz-control__check-group-option--divider":c,"brz-control__check-group-option--inline":d},e),f=(0,l.uuid)();return r.default.createElement("div",{className:p},r.default.createElement("input",{id:f,className:"brz-input",type:"checkbox",name:o,value:i,checked:t,onChange:()=>{},required:n,"data-type":this.props["data-type"],"data-label":this.props["data-label"]}),r.default.createElement("label",{className:"brz-label",htmlFor:f},"function"==typeof s&&s(),u))}render(){return this.renderForEdit()}}},31916:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{CheckGroupItem:function(){return l.default},CheckGroupIcon:function(){return s.CheckGroupIcon},default:function(){return d}});const r=c(o(27378)),i=c(o(10301)),n=c(o(23615)),a=c(o(60042)),l=c(o(19665)),s=o(517);function c(e){return e&&e.__esModule?e:{default:e}}class d extends r.default.Component{static propTypes={name:n.default.string,className:n.default.string,defaultValue:n.default.object,onChange:n.default.func};static defaultProps={name:"defaultName",className:"",defaultValue:{},onChange:i.default.noop};handleChange=e=>{const{defaultValue:t,onChange:o}=this.props;o({...t,[e]:!t[e]})};renderOptions(){const{defaultValue:e,children:t}=this.props;return r.default.Children.map(t,((t,o)=>r.default.cloneElement(t,{...t.props,key:o,active:Boolean(e[t.props.value]),onClick:t.props.disabled?null:()=>this.handleChange(t.props.value)})))}render(){const e=(0,a.default)("brz-control__check-group",this.props.className);return r.default.createElement("div",{className:e},this.renderOptions())}}},33689:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CodeMirror",{enumerable:!0,get:function(){return d}});const r=o(56411),i=s(o(53394)),n=s(o(60042)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),l=o(27561);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{let{className:t,value:o,placeholder:s,theme:c="default",size:d,language:u,onChange:p}=e;const f=(0,a.useMemo)((()=>r.langs[u]),[u]),{themePreset:m}=(0,l.useTheme)(c),y=(0,n.default)("cm-wrapper",`brz-ed-control__codeMirror--${d}`,t);return a.default.createElement(i.default,{className:y,value:o,onChange:p,placeholder:s,theme:m(),basicSetup:{lineNumbers:!1,autocompletion:!1,tabSize:2,foldGutter:!1},extensions:[f()]})}},36217:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"defaultTheme",{enumerable:!0,get:function(){return n}});const r=o(73919);var i;const n=(0,((i=o(22083))&&i.__esModule?i:{default:i}).default)({theme:"dark",settings:{background:"var(--secondary-dark, #292b2e);",foreground:"var(--toolbar__code_mirror-color, #808080)",caret:"var(--toolbar__code_mirror__cursor-color, #808080)",selection:"var(--toolbar__code_mirror__selected-bg, #0b69da)",selectionMatch:"var(--toolbar__code_mirror__selected-bg, #0b69da)",fontFamily:"monospace"},styles:[{tag:r.tags.heading,color:"var(--toolbar__code_mirror__header-color, #0000ff)",fontWeight:"bold"},{tag:r.tags.quote,color:"var(--toolbar__code_mirror__quote-color, #090)"},{tag:[r.tags.keyword],color:"var(--toolbar__code_mirror__keyword-color, #be85c8)"},{tag:[r.tags.className],color:"var(--toolbar__code_mirror__qualifier-color, #76a671)"},{tag:r.tags.number,color:"var(--toolbar__code_mirror__number-color, #78b9a1)"},{tag:r.tags.unit,color:"var(--toolbar__code_mirror__number-color, #78b9a1)"},{tag:[r.tags.atom,r.tags.literal],color:"var(--toolbar__code_mirror__atom-color, #9195da)"},{tag:[r.tags.typeName,r.tags.typeOperator],color:"var(--toolbar__code_mirror__variable__3-color, #16aa74)"},{tag:r.tags.invalid,color:"var(--toolbar__code_mirror__error-color, #f88b8b)"},{tag:[r.tags.attributeName,r.tags.attributeValue],color:"var(--toolbar__code_mirror__attribute-color, #55b0ff)"},{tag:r.tags.meta,color:"var(--toolbar__code_mirror__meta-color, #555)"},{tag:r.tags.string,color:"var(--toolbar__code_mirror__string-color, #fd7e7e)"},{tag:r.tags.tagName,color:"var(--toolbar__code_mirror__tag-color, #76a671)"},{tag:r.tags.bracket,color:"var(--toolbar__code_mirror__bracket-color, #997)"},{tag:[r.tags.definitionOperator,r.tags.definitionKeyword],color:"var(--toolbar__code_mirror__def-color, #8abeff)"},{tag:r.tags.link,color:"var(--toolbar__code_mirror__link-color, #55b0ff)",textDecoration:"underline"},{tag:[r.tags.comment,r.tags.lineComment,r.tags.blockComment],color:"var(--toolbar__code_mirror__comment-color, #ea9e53)"},{tag:[r.tags.operator,r.tags.operatorKeyword,r.tags.punctuation,r.tags.variableName],color:"var(--toolbar__code_mirror__variable, #a59b08)"},{tag:[r.tags.modifier,r.tags.controlKeyword,r.tags.moduleKeyword],color:"#c678dd"}]})},6903:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ideaTheme",{enumerable:!0,get:function(){return n}});const r=o(73919);var i;const n=(0,((i=o(22083))&&i.__esModule?i:{default:i}).default)({theme:"light",settings:{background:"var(--modal_email__template__code_mirror-bg, #ffffff)",foreground:"var(--modal_email__template__code_mirror-color, #000000)",caret:"var(--modal_email__template__code_mirror__cursor, #000000)",selection:"var(--toolbar__code_mirror__selected-bg, #0b69da)",selectionMatch:"var(--toolbar__code_mirror__selected-bg, #0b69da)",fontFamily:"Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif"},styles:[{tag:r.tags.className,color:"var(--modal_email__template__code_mirror__def, #000000)"},{tag:r.tags.number,color:"var(--modal_email__template__code_mirror__number, #0000ff)"},{tag:r.tags.unit,color:"var(--modal_email__template__code_mirror__number, #0000ff)"},{tag:[r.tags.atom,r.tags.literal],color:"var(--modal_email__template__code_mirror__atom, #000080)",fontWeight:"bold"},{tag:r.tags.invalid,color:"var(--modal_email__template__code_mirror__error, #ff0000)"},{tag:[r.tags.attributeName,r.tags.attributeValue],color:"var(--modal_email__template__code_mirror__attribute, #0000ff)"},{tag:r.tags.meta,color:"var(--modal_email__template__code_mirror__meta, #808000)"},{tag:r.tags.string,color:"var(--modal_email__template__code_mirror__string, #008000)"},{tag:r.tags.tagName,color:"var(--modal_email__template__code_mirror__tag, #000080)"},{tag:r.tags.bracket,color:"var(--modal_email__template__code_mirror__bracket, #997)"},{tag:r.tags.keyword,color:"var(--modal_email__template__code_mirror__keyword, #000080)",lineHeight:"1em",fontWeight:"bold"},{tag:[r.tags.definitionOperator,r.tags.definitionKeyword],color:"var(--modal_email__template__code_mirror__def, #000000)"},{tag:[r.tags.variableName],color:"var(--modal_email__template__code_mirror__variable, #000000)"},{tag:[r.tags.typeName,r.tags.typeOperator],color:"var(--modal_email__template__code_mirror__variable, #000000)"},{tag:r.tags.propertyName,color:"var(--modal_email__template__code_mirror__property, #000000)"},{tag:r.tags.operator,color:"var(--modal_email__template__code_mirror__operator, #000000)"},{tag:r.tags.link,color:"var(--modal_email__template__code_mirror__link, #0000ff)"},{tag:[r.tags.comment,r.tags.lineComment,r.tags.blockComment],color:"var(--modal_email__template__code_mirror__comment, #808080)"},{tag:[r.tags.modifier,r.tags.controlKeyword,r.tags.operatorKeyword,r.tags.moduleKeyword],color:"#708"}]})},27561:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useTheme",{enumerable:!0,get:function(){return n}});const r=o(36217),i=o(6903),n=e=>({themePreset:()=>{switch(e){case"default":default:return r.defaultTheme;case"idea":return i.ideaTheme}}})},48248:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ColorPalette",{enumerable:!0,get:function(){return s}});const r=a(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{let{className:t="",palette:o,onChange:a,openSettings:l,value:s=""}=e;const c=(0,r.default)("brz-ed-control__color-palette",t);return i.default.createElement("div",{className:c},o.map((e=>{let{id:t,hex:o}=e;const n=(0,i.useCallback)((()=>a(t)),[a]),l=(0,r.default)({"brz-ed-control__color-palette__item":!0,active:t===s});return i.default.createElement("div",{key:t,className:l,style:{backgroundColor:o},onClick:n})})),l&&i.default.createElement("div",{className:"brz-ed-control__color-palette__icon",onClick:l},i.default.createElement(n.default,{icon:"nc-cog"})))}},25057:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=l(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=l(o(10301)),a=o(27835);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends i.Component{renderPointer=()=>i.default.createElement("div",{className:"color-picker2-pointer"});renderPointerOpacity=e=>{let{opacity:t,showTooltip:o}=e;return t*=100,i.default.createElement("div",{className:"color-picker2-pointer"},o&&i.default.createElement("div",{className:"color-picker2-pointer-tooltip"},Math.round(t),"%"))};render(){const{className:e,contentWindow:t,disableOpacity:o=!1,hsl:l,hsv:s,rgb:c,renderers:d={},onChange:u=n.default.noop}=this.props,p=(0,r.default)("brz-ed-control__colorPicker2",e);return i.default.createElement("div",{className:p,ref:this.props.domRef},i.default.createElement("div",{className:"color-picker2-body"},i.default.createElement("div",{className:"color-picker2-saturation"},i.default.createElement(a.Saturation,{hsl:l,hsv:s,contentWindow:t,Pointer:this.renderPointer,onChange:u})),i.default.createElement("div",{className:"color-picker2-hue"},i.default.createElement(a.Hue,{direction:"vertical",hsl:l,contentWindow:t,Pointer:this.renderPointer,onChange:u})),!o&&i.default.createElement("div",{className:"color-picker2-alpha"},i.default.createElement(a.Alpha,{direction:"vertical",rgb:c,hsl:l,contentWindow:t,renderers:d,Pointer:this.renderPointerOpacity,onChange:u}))))}}const d=(0,a.ColorWrap)(c)},94623:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=a(o(10301)),n=a(o(11079));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s="#000000";class c extends r.Component{static defaultProps={value:{hex:s},onChange:i.default.noop,opacity:1};constructor(e){super(e),this.state={hex:e.value.hex||s}}componentDidUpdate(e){e.value.hex!==this.props.value.hex&&this.setState({hex:this.props.value.hex??s})}onHexChange=e=>{let{target:{value:t}}=e;const{value:{opacity:o},onChange:r}=this.props;this.setState({hex:t}),t.length<6||!n.default.isValidHex(t)||(t="#"===t[0]?t:"#"+t,r({hex:t.toLowerCase(),opacity:o,isChanged:"hex"}))};render(){return r.default.createElement("input",{id:"hex",className:"brz-input",autoComplete:"off",value:this.state.hex,onChange:this.onHexChange})}}},36187:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Alpha:function(){return c},default:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(51505),n=o(22008),a=(l=o(93503))&&l.__esModule?l:{default:l};var l;function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{change=null;container=null;static defaultProps={contentWindow:()=>window};constructor(e){super(e),this.state={showTooltip:!1,isChanging:!1}}componentWillUnmount(){this.unbindEventListeners()}handleChange=(e,t)=>{const o=this.props.contentWindow()||window;this.change=(0,i.calculateChange)({e,contentWindow:o,hsl:this.props.hsl,direction:this.props.direction,container:this.container})||this.change,this.change&&(this.change.a=1-this.change.a,this.props.onChange&&this.props.onChange({...this.change,opacityDragEnd:t,wasChanged:"opacity"},e))};handleMouseDown=e=>{this.handleChange(e);const t=this.props.contentWindow();t&&((0,n.isInIframe)(t)||(0,n.disableIframeEvents)(t),t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp),this.setState({showTooltip:!0,isChanging:!0}))};handleMouseUp=e=>{const t=this.props.contentWindow();t&&!(0,n.isInIframe)(t)&&(0,n.enableIframeEvents)(t),this.handleChange(e,!0),this.unbindEventListeners();const o=e.composedPath().find((e=>e===this.container));this.setState({showTooltip:!!o,isChanging:!1}),this.change=null};handleMouseEnter=()=>{this.setState({showTooltip:!0})};handleMouseLeave=()=>{this.state.isChanging||this.setState({showTooltip:!1})};unbindEventListeners=()=>{const e=this.props.contentWindow();e&&(e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp))};render(){const{direction:e,rgb:t,Pointer:o}=this.props,i={background:`linear-gradient(${"vertical"===e?"to top":"to right"}, rgba(${t.r},${t.g},${t.b}, 0) 0%,\n rgba(${t.r},${t.g},${t.b}, 1) 100%)`,boxShadow:this.props.shadow,borderRadius:this.props.radius},n="vertical"===e?{left:0,top:100*(1-t.a)+"%"}:{left:100*t.a+"%"};return r.default.createElement("div",{className:"color-picker2-alpha-body",style:{borderRadius:this.props.radius}},r.default.createElement("div",{className:"color-picker2-alpha-checkboard"},r.default.createElement(a.default,{renderers:this.props.renderers,white:"transparent",grey:"rgba(0,0,0,.08)",size:8})),r.default.createElement("div",{className:"color-picker2-alpha-gradient",style:i}),r.default.createElement("div",{className:"color-picker2-alpha-container",ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},r.default.createElement("div",{className:"color-picker2-alpha-pointer",style:n},o?r.default.createElement(o,{opacity:t.a,showTooltip:this.state.showTooltip}):r.default.createElement("div",{className:"color-picker2-alpha-slider"}))))}}const d=c},93503:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Checkboard:function(){return l},default:function(){return s}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(49041));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{let{white:t,grey:o,size:i,renderers:a,borderRadius:l,boxShadow:s}=e;const c={borderRadius:l,boxShadow:s,absolute:"0px 0px 0px 0px",background:`url(${n.get(t,o,i,a.canvas)}) center left`};return r.default.createElement("div",{style:c})},s=l},5769:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{ColorWrap:function(){return s},default:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=a(o(10301)),n=a(o(11079));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{class t extends r.Component{debounce;constructor(e){super(e),this.state={...n.default.toState(e.color??"",0),prevColor:e.color},this.debounce=i.default.debounce(((e,t,o)=>{e(t,o)}),100)}static getDerivedStateFromProps(e,t){return t.prevColor!==e.color?{...n.default.toState(e.color??"",t.oldHue),prevColor:e.color}:null}handleChange=(e,t)=>{if(n.default.simpleCheckForValidColor(e)){const o=n.default.toState(e,e.h||this.state.oldHue,e.hsv||this.state.hsv);this.setState(o),this.props.onChangeComplete&&this.debounce(this.props.onChangeComplete,o,t),this.props.onChange&&this.props.onChange({...o,wasChanged:e.wasChanged,opacityDragEnd:e.opacityDragEnd},t)}};handleSwatchHover=(e,t)=>{if(n.default.simpleCheckForValidColor(e)){const o=n.default.toState(e,e.h||this.state.oldHue,e.hsv||this.state.hsv);this.setState(o),this.props.onSwatchHover&&this.props.onSwatchHover(o,t)}};render(){const t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),r.default.createElement(e,{contentWindow:this.props.contentWindow,hsl:this.state.hsl,hsv:this.state.hsv,rgb:this.state.rgb,domRef:this.props.domRef,color:this.props.color,opacity:this.props.opacity,disableOpacity:this.props.disableOpacity,onSwatchHover:this.props.onSwatchHover,onChange:this.handleChange,...t})}}return t},c=s},81599:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Hue:function(){return d},default:function(){return u}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=c(o(27378)),a=c(o(60935)),l=o(22008);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class d extends n.Component{static defaultProps={contentWindow:()=>window};componentWillUnmount(){this.unbindEventListeners()}container=null;handleChange=e=>{const t=this.props.contentWindow()||window,o=a.calculateChange({e,contentWindow:t,direction:this.props.direction,hsl:this.props.hsl,container:this.container});o&&this.props.onChange&&this.props.onChange({...o,wasChanged:"hue"},e)};handleMouseDown=e=>{this.handleChange(e);const t=this.props.contentWindow();t&&((0,l.isInIframe)(t)||(0,l.disableIframeEvents)(t),t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp))};handleMouseUp=()=>{const e=this.props.contentWindow();e&&!(0,l.isInIframe)(e)&&(0,l.enableIframeEvents)(e),this.unbindEventListeners()};unbindEventListeners(){const e=this.props.contentWindow();e&&(e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp))}render(){const{direction:e="horizontal",Pointer:t}=this.props,o={hue:{borderRadius:this.props.radius,boxShadow:this.props.shadow},pointer:{left:100*this.props.hsl.h/360+"%"},container:{}},i={left:"0px",top:-100*this.props.hsl.h/360+100+"%"};return n.default.createElement("div",{className:"hue",style:o.hue},n.default.createElement("div",{className:(0,r.default)(`hue-${e}`,"hue-container"),style:o?.container,ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n.default.createElement("div",{style:i,className:"hue-pointer"},t?n.default.createElement(t,null):n.default.createElement("div",{className:"hue-slider"}))))}}const u=d},1333:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Saturation:function(){return d},default:function(){return u}});const r=c(o(27378)),i=(n=o(10301))&&n.__esModule?n:{default:n};var n;const a=c(o(12237)),l=o(22008);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class d extends r.Component{static defaultProps={contentWindow:()=>window};throttle;container=null;constructor(e){super(e),this.throttle=i.default.throttle(((e,t,o)=>{e({...t,wasChanged:"saturation"},o)}),50)}componentWillUnmount(){this.unbindEventListeners()}handleChange=e=>{const t=this.props.contentWindow()||window;this.props.onChange&&this.throttle(this.props.onChange,a.calculateChange({e,contentWindow:t,hsl:this.props.hsl,container:this.container}),e)};handleMouseDown=e=>{this.handleChange(e);const t=this.props.contentWindow();t&&((0,l.isInIframe)(t)||(0,l.disableIframeEvents)(t),t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp))};handleMouseUp=()=>{const e=this.props.contentWindow();e&&!(0,l.isInIframe)(e)&&(0,l.enableIframeEvents)(e),this.unbindEventListeners()};unbindEventListeners(){const e=this.props.contentWindow();e&&(e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp))}render(){const{Pointer:e}=this.props,t={color:{background:`hsl(${this.props.hsl.h},100%, 50%)`,borderRadius:this.props.radius},white:{borderRadius:this.props.radius},black:{boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%"}};return r.default.createElement("div",{style:t.color,className:"color-picker2-saturation-body",ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.default.createElement("div",{style:t.white,className:"saturation-white"},r.default.createElement("div",{style:t.black,className:"saturation-black"}),r.default.createElement("div",{style:t.pointer,className:"saturation-pointer"},e?r.default.createElement(e,null):r.default.createElement("div",{className:"saturation-circle"}))))}}const u=d},27835:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Alpha:function(){return r.Alpha},ColorWrap:function(){return i.ColorWrap},Hue:function(){return n.Hue},Saturation:function(){return a.Saturation}});const r=o(36187),i=o(5769),n=o(81599),a=o(1333)},51505:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"calculateChange",{enumerable:!0,get:function(){return o}});const o=e=>{let{e:t,contentWindow:o,hsl:r,direction:i,container:n}=e;if(t.preventDefault(),!n)return null;const a=n.clientWidth,l=n.clientHeight,s="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,c="number"==typeof t.pageY?t.pageY:t.touches[0].pageY,d=s-(n.getBoundingClientRect().left+o.pageXOffset),u=c-(n.getBoundingClientRect().top+o.pageYOffset);if("vertical"===i){let e;if(e=u<0?0:u>l?1:Math.round(100*u/l)/100,r.a!==e)return{h:r.h,s:r.s,l:r.l,a:e,source:"rgb"}}else{let e;if(e=d<0?0:d>a?1:Math.round(100*d/a)/100,e!=e)return{h:r.h,s:r.s,l:r.l,a:e,source:"rgb"}}return null}},49041:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{render:function(){return r},get:function(){return i}});const o={},r=(e,t,o,r)=>{if("undefined"==typeof document&&!r)return null;const i=r?new r:document.createElement("canvas");i.width=2*o,i.height=2*o;const n=i.getContext("2d");return n?(n.fillStyle=e,n.fillRect(0,0,i.width,i.height),n.fillStyle=t,n.fillRect(0,0,o,o),n.translate(o,o),n.fillRect(0,0,o,o),i.toDataURL()):null},i=(e,t,i,n)=>{const a=`${e}-${t}-${i}${n?"-server":""}`,l=r(e,t,i,n);return o[a]?o[a]:(o[a]=l,l)}},11079:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return l},red:function(){return s}});const r=a(o(83198)),i=a(o(10301)),n=o(78647);function a(e){return e&&e.__esModule?e:{default:e}}const l={simpleCheckForValidColor(e){let t=0,o=0;return i.default.each(["r","g","b","a","h","s","l","v"],(r=>{e[r]&&(t+=1,isNaN(e[r])||(o+=1),"s"===r||"l"===r)&&/^\d+%$/.test(e[r])&&(o+=1)})),t===o&&e},toState(e,t,o){const i=(0,n.isHSLAChange)(e)||(0,n.isHSVAChange)(e),a=i&&e.hex?(0,r.default)(e.hex):(0,r.default)(e),l=a.toHsl(),s=a.toHsv(),c=a.toRgb(),d=a.toHex();0===l.s&&(l.h=t||0,s.h=t||0);let u={};return i&&!e.hex&&0!==s.v&&(u={hsv:s}),o||(u={hsv:s}),i&&"saturation"===e.wasChanged&&(u={hsv:{h:s.h,s:0===s.s?e.s/100:s.s,v:s.v,a:s.a}}),!i||"hue"!==e.wasChanged&&"opacity"!==e.wasChanged||(u={}),{hsl:l,hex:`#${d}`,rgb:c,oldHue:i?e.h||t||l.h:NaN,source:i?e.source:"",...u}},isValidHex:e=>(0,r.default)(e).isValid()},s={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}}},60935:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"calculateChange",{enumerable:!0,get:function(){return o}});const o=e=>{let{e:t,contentWindow:o,direction:r,hsl:i,container:n}=e;if(t.preventDefault(),!n)return null;const a=n.clientWidth,l=n.clientHeight,s="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,c="number"==typeof t.pageY?t.pageY:t.touches[0].pageY,d=s-(n.getBoundingClientRect().left+o.pageXOffset),u=c-(n.getBoundingClientRect().top+o.pageYOffset);if("vertical"===r){let e;if(e=u<0?359:u>l?0:360*(-100*u/l+100)/100,i.h!==e)return{h:e,s:i.s,l:i.l,a:i.a,source:"rgb"}}else{let e;if(e=d<0?0:d>a?359:100*d/a*360/100,i.h!==e)return{h:e,s:i.s,l:i.l,a:i.a,source:"rgb"}}return null}},12237:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"calculateChange",{enumerable:!0,get:function(){return o}});const o=e=>{let{e:t,contentWindow:o,hsl:r,container:i}=e;if(t.preventDefault(),!i)return null;const{width:n,height:a}=i.getBoundingClientRect(),l="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,s="number"==typeof t.pageY?t.pageY:t.touches[0].pageY;let c=l-(i.getBoundingClientRect().left+o.pageXOffset),d=s-(i.getBoundingClientRect().top+o.pageYOffset);c<0?c=0:c>n?c=n:d<0?d=0:d>a&&(d=a);const u=100*c/n,p=-100*d/a+100;return{h:r.h,s:u,v:p,a:r.a,source:"rgb"}}},71197:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=l(o(10301)),n=o(81405),a=l(o(25057));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=function(e){let{value:t,disableOpacity:o,onChange:l}=e;const s=(0,r.useRef)(null),c=l&&i.default.throttle(l,500,{leading:!1,trailing:!0}),d=(0,n.isHex)(t.hex)?t.hex:"#000000",u=isNaN(Number(t.opacity))?1:t.opacity;return r.default.createElement(a.default,{domRef:e=>{e&&(s.current=e.ownerDocument.defaultView??null)},color:(0,n.hexToRgba)(d,u),opacity:u,disableOpacity:o,contentWindow:()=>s.current,onChange:e=>{const{hex:t="",rgb:o,wasChanged:r,opacityDragEnd:i}=e,n=t?.toLowerCase();c?.({hex:n,opacity:Number(Number(o?.a).toFixed(2)),isChanged:"opacity"===r?"opacity":"hex",opacityDragEnd:!!i})}})}},78647:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isHSLAChange:function(){return n},isHSVAChange:function(){return a}});const r=(i=o(10301))&&i.__esModule?i:{default:i};var i;const n=e=>r.default.has(e,"h")&&r.default.has(e,"s")&&r.default.has(e,"l"),a=e=>r.default.has(e,"h")&&r.default.has(e,"s")&&r.default.has(e,"v")},22008:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isInIframe:function(){return i},disableIframeEvents:function(){return s},enableIframeEvents:function(){return c}});const r=o(47885),i=e=>null!==e.frameElement,n=e=>e.document.getElementById("brz-ed-iframe"),a=e=>{e.classList.add("brz-ed--no-events")},l=e=>{e.classList.remove("brz-ed--no-events")},s=e=>(0,r.mPipe)(n,a)(e),c=e=>(0,r.mPipe)(n,l)(e)},4782:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{paletteHex:function(){return s},ColorPicker3:function(){return d}});const r=l(o(60042)),i=l(o(27378)),n=o(48248),a=l(o(71197));function l(e){return e&&e.__esModule?e:{default:e}}const s=(e,t)=>t.find((t=>t.id===e))?.hex,c=(e,t,o)=>s(t,o)||e,d=e=>{let{className:t,opacity:o=!0,palette:l=[],paletteOpenSettings:s,value:d,onChange:u}=e;const p=(0,r.default)("brz-ed-control__colorPicker3",t),f={opacity:d.opacity,hex:c(d.hex,d.palette,l)};return i.default.createElement("div",{className:p},i.default.createElement(a.default,{value:f,disableOpacity:!o,onChange:e=>{let{hex:t,opacity:o,isChanged:r,opacityDragEnd:i}=e;u({hex:t,opacity:o,palette:d.palette},{isChanged:r,opacityDragEnd:i})}}),i.default.createElement(n.ColorPalette,{palette:l,onChange:e=>{u({...d,palette:e},{isChanged:"palette"})},openSettings:s,value:d.palette}))}},45882:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ColorPickerSelect",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),i=l(o(27378)),n=o(4782),a=o(18624);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){const t=(0,r.default)(e.className,"brz-ed-control__colorPickerSelect");return i.default.createElement("div",{className:t},e.children.length&&i.default.createElement(a.Select2,{className:"brz-control__select--dark brz-control__select__auto brz-ed-control__colorPickerSelect--select",value:e.value.select,editable:!1,onChange:t=>{e.onChange({...e.value,select:t},{isChanged:"select"})},size:"short"},e.children),i.default.createElement(n.ColorPicker3,{onChange:(t,o)=>{e.onChange({...t,select:e.value.select},o)},palette:e.palette,paletteOpenSettings:e.paletteOpenSettings,opacity:e.opacity,value:e.value}))}},15011:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ColorPickerInputs",{enumerable:!0,get:function(){return f}});const r=u(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=u(o(17882)),a=o(15223),l=u(o(33364)),s=o(23106),c=u(o(22546)),d=o(16526);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f=e=>{let{value:t,onChange:o,children:u}=e;const[p,f]=(0,i.useState)(!1),m=(0,i.useCallback)((e=>{o(e),f(!1)}),[o]),y=(0,i.useCallback)((()=>!p&&f(!0)),[p]),g=(0,i.useCallback)((()=>f(!1)),[]);return i.default.createElement("div",{className:"brz-ed-control__color-picker-inputs"},i.default.createElement("div",{className:"brz-ed-control__color-picker-inputs__hex-container"},(0,d.isStory)(c.default.getAll())?null:i.default.createElement(l.default,{className:(0,r.default)("brz-ed-control__color-picker-inputs__eye-dropper",{"brz-ed-control__color-picker-inputs__eye-dropper--active":p}),icon:"eye-dropper",onClick:y}),i.default.createElement(a.InputHex,{value:t,onChange:o})),p&&i.default.createElement(n.default,{onClickOutside:g},i.default.createElement(s.EyeDropper,{onPick:m})),u)}},65567:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FatCheckIcon",{enumerable:!0,get:function(){return c}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(43240),l=o(33364);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{active:t,checked:o,className:i,icon:s,label:c,onCheck:d,onClick:u}=e;const p=(0,n.useCallback)((e=>{d&&e.stopPropagation(),d?.()}),[d]),f=t?"text-right-sidebar-item--active":"text-right-sidebar-item",m=t?"!text-right-sidebar-item--active":"!text-right-sidebar-item",y=t?"border-right-sidebar-item--active":"border-right-sidebar-item-border hover:border-right-sidebar-item-border--hover";return n.default.createElement("div",{className:(0,r.default)(i,"brz-ed--fat-icon text-center w-[60px] cursor-pointer"),onClick:u,title:c},n.default.createElement("div",{className:`brz-ed--fat-icon__wrapper relative border-2 border-solid rounded-[3px] flex items-center justify-center w-[60px] h-[60px] transition-[border-color] duration-200 ease-linear\tdelay-[0s] ${y}`},n.default.createElement(a.CheckMark,{checked:!!o,onClick:p,className:"brz-ed--fat-check-icon__check absolute -top-[5px] -left-[5px]"}),n.default.createElement(l.EditorIcon,{icon:s,className:`text-[16px] transition-[color] duration-200 ease-linear ${m}`})),n.default.createElement("div",{className:`brz-ed--fat-icon__label transition-[color] duration-200 ease-linear text-[12px] leading-[2.4em] overflow-hidden text-ellipsis whitespace-nowrap ${f}`},c))}},2530:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FatIcon",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),i=a(o(27378)),n=o(33364);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{active:t,className:o,icon:a,label:l,onClick:s}=e;const c=t?"text-right-sidebar-item--active":"text-right-sidebar-item-label",d=t?"!text-right-sidebar-item--active":"!text-right-sidebar-item",u=t?"border-right-sidebar-item--active":"border-right-sidebar-item-border hover:border-right-sidebar-item-border--hover";return i.default.createElement("div",{className:(0,r.default)(o,"brz-ed--fat-icon text-center w-[60px] cursor-pointer",{"brz-ed--fat-icon__active":!!t}),onClick:s},i.default.createElement("div",{className:`brz-ed--fat-icon__wrapper border-2 border-solid rounded-[3px] flex items-center justify-center w-[60px] h-[60px] transition-[border-color] duration-200 ease-linear\tdelay-[0s] ${u}`},i.default.createElement(n.EditorIcon,{icon:a,className:`text-[16px] transition-[color] duration-200 ease-linear ${d}`})),i.default.createElement("div",{className:`brz-ed--fat-icon__label transition-[color] duration-200 ease-linear text-[12px] leading-[2.4em] overflow-hidden text-ellipsis whitespace-nowrap ${c}`},l))}},76577:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FontFamily",{enumerable:!0,get:function(){return u}});const r=s(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=s(o(33364)),a=o(81300),l=o(21779);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d={default:"17px",great_vibes:"18px",alex_brush:"18px",allura:"18px",parisienne:"18px"};class u extends i.Component{handleOpenFonts=e=>{e.preventDefault(),this.props.addFont&&this.props.addFont()};renderFontList(e){let{fonts:t,type:o}=e;const{value:n,onChange:a}=this.props;return t.map((e=>{const{id:t,family:l,title:s}=e,c=t,u={...e,type:o},p=(0,r.default)("brz-ed-font__name",{active:t===n}),f={fontFamily:l,fontSize:d[c]||d.default};return i.default.createElement("div",{key:t,className:p,style:f,onClick:()=>a(u)},s)}))}render(){const{config:e=[],blocks:t=[],google:o=[],upload:s=[]}=this.props.fonts,c=s.length>0||o.length>0,d=(0,r.default)("brz-ed-font__typography",this.props.className);return i.default.createElement("div",{className:d},i.default.createElement(a.Scrollbar,{theme:"dark"},s.length>0&&this.renderFontList({fonts:s,type:l.FontFamilyType.upload}),o.length>0&&this.renderFontList({fonts:o,type:l.FontFamilyType.google}),c&&i.default.createElement("hr",{className:"brz-hr brz-ed-font__separator"}),t&&this.renderFontList({fonts:t,type:l.FontFamilyType.google}),this.renderFontList({fonts:e,type:l.FontFamilyType.google})),this.props.addFont&&i.default.createElement("div",{className:"brz-ed-font__typography-adder",onClick:this.handleOpenFonts},i.default.createElement(n.default,{icon:"nc-add"}),this.props.addFontLabel))}}},33591:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Error",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),i=l(o(1424)),n=o(33364),a=o(64293);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){let{id:t,onRemove:o,message:l}=e;return r.default.createElement(i.default,{overlay:r.default.createElement("div",null,l),openOnClick:!1,className:"brz-ed-control__gallery-tooltip--error"},r.default.createElement(a.Item,{className:"brz-ed-control__gallery__item--error",id:t,onRemove:o},r.default.createElement(n.EditorIcon,{icon:"nc-warning",className:"brz-ed-control__gallery__item__icon"})))}},64293:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Item",{enumerable:!0,get:function(){return d}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(10301),l=o(33364);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{e.stopPropagation()};function d(e){let{id:t,onRemove:o,children:i,className:s}=e;const d=(0,n.useCallback)((()=>o?o(t):a.noop),[t,o]);return n.default.createElement("div",{className:(0,r.default)("brz-ed-control__gallery__item",s)},o&&n.default.createElement("button",{onMouseDown:c,onClick:d,className:"brz-ed-control__gallery__item__remove"},n.default.createElement(l.EditorIcon,{icon:"nc-circle-remove",className:"brz-ed-control__gallery__item__remove__icon",onClick:d})),i)}},27775:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Loading",{enumerable:!0,get:function(){return l}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(33364),a=o(64293);function l(e){let{id:t,onRemove:o}=e;return r.default.createElement(a.Item,{className:"brz-ed-control__gallery__item--loading",id:t,onRemove:o},r.default.createElement(n.EditorIcon,{icon:"nc-circle-02",className:"brz-ed-animated--spin brz-ed-control__gallery__item__icon"}))}},32570:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Thumbnail",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64293);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}function a(e){let{id:t,onRemove:o,src:n}=e;const a=(0,r.useMemo)((()=>({backgroundImage:`url("${n}")`})),[n]);return r.default.createElement(i.Item,{id:t,className:"brz-ed-control__gallery__item--thumbnail",onRemove:o},r.default.createElement("span",{style:a,className:"brz-ed-control__gallery__item--thumbnail__image"}))}},62521:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Gallery",{enumerable:!0,get:function(){return h}});const r=o(65095),i=o(15393),n=o(9448),a=(l=o(60042))&&l.__esModule?l:{default:l};var l;const s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),c=o(10301),d=o(33364),u=o(713),p=o(33591),f=o(27775),m=o(32570);function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}const g=function(e){let{item:t,onRemove:o}=e;const{active:r,attributes:a,listeners:l,transform:d,transition:u,setNodeRef:y}=(0,i.useSortable)({id:t.id}),g=r?.id===t.id,b={transform:n.CSS.Translate.toString(d),transition:u,zIndex:g?1:0},h=(0,s.useCallback)((()=>o?o(t.id):c.noop),[t.id,o]);return s.default.createElement("div",{className:"brz-ed-control__gallery__draggable",...a,...l,style:b,ref:y},(e=>{switch(e.__type){case"thumbnail":return s.default.createElement(m.Thumbnail,{onRemove:o?h:void 0,id:e.id,src:e.payload});case"error":return s.default.createElement(p.Error,{onRemove:h,id:e.id,message:e.payload});case"loading":return s.default.createElement(f.Loading,{onRemove:h,id:e.id})}})(t))},b=function(e){let{className:t,items:o,onAdd:n,onRemove:l,onSortEnd:c}=e;const p=o.map((e=>e.id)),f=(0,s.useCallback)((e=>{const{active:t,over:o}=e;o&&t&&c(t.id,o.id)}),[c]),m=(0,r.useSensors)((0,r.useSensor)(r.PointerSensor,{activationConstraint:{distance:10}}),(0,r.useSensor)(r.KeyboardSensor));return s.default.createElement("div",{className:(0,a.default)("brz-ed-control__gallery",t)},s.default.createElement(r.DndContext,{onDragEnd:f,collisionDetection:r.closestCenter,sensors:m},s.default.createElement(i.SortableContext,{items:p},o.map((e=>s.default.createElement(g,{key:e.id,item:e,onRemove:l}))))),s.default.createElement(u.ImageUpload,{onChange:n,className:"brz-ed-control__gallery__item brz-ed-control__gallery__item--add"},s.default.createElement(d.EditorIcon,{icon:"nc-add",className:"brz-ed-control__gallery__item__icon"})))};function h(e){let{className:t,items:o,onSort:r,onAdd:i,onRemove:n}=e;const a=(0,s.useCallback)(((e,t)=>{const i=o.findIndex((t=>t.id===e)),n=o.findIndex((e=>e.id===t));i!==n&&r(i,n)}),[r,o]);return s.default.createElement(b,{axis:"xy",onAdd:i,onSortEnd:a,onRemove:n,className:t,items:o})}},30288:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isThumbnail:function(){return o},thumbnail:function(){return r},isLoading:function(){return i},loading:function(){return n},isError:function(){return a},error:function(){return l}});const o=e=>"thumbnail"===e.__type,r=(e,t)=>({id:e,payload:t,__type:"thumbnail"}),i=e=>"loading"===e.__type,n=e=>({id:e,__type:"loading"}),a=e=>"error"===e.__type,l=(e,t)=>({id:e,payload:t,__type:"error"})},85568:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Column",{enumerable:!0,get:function(){return l}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}const a={start:"brz-ed-control__grid__column--align-start",center:"brz-ed-control__grid__column--align-center",end:"brz-ed-control__grid__column--align-end"},l=e=>{let{className:t,children:o,align:n}=e;return r.default.createElement("div",{className:(0,i.default)("brz-ed-control__grid__column",t,a[n])},o)}},36621:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Grid",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t,children:o,grid:n,separator:a}=e;const l={gridTemplateColumns:n.map((e=>"auto"===e?e:`${e}fr`)).join(" ")};return r.default.createElement("div",{className:(0,i.default)("brz-ed-control__grid",t,{"brz-ed-control__grid--separator":a}),style:l},o)}},50987:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t,children:o}=e;return r.default.createElement("div",{className:(0,i.default)("brz-ed-control__group",t)},o)}},40369:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{IconSetter:function(){return c},default:function(){return d}});const r=s(o(60042)),i=s(o(27378)),n=s(o(33364)),a=s(o(92823)),l=o(73948);function s(e){return e&&e.__esModule?e:{default:e}}class c extends i.default.Component{handleClick=()=>{const{value:e,onChange:t}=this.props;a.default.open({prompt:"icon",mode:"single",props:{onChange:t,name:e?.name,type:e?.type}})};handleRemove=()=>{this.props.onChange({name:"",type:""})};renderSelectIcon=()=>i.default.createElement("div",{className:"brz-ed-control__icon-setter__box w-[48px] h-[48px] border-mako border-dashed border-[1px] bg-gunmetal text-[16px] text-shuttle-grey flex justify-center items-center cursor-pointer transition-[all] duration-200 ease-linear delay-[0s] hover:border-shuttle-grey-2 hover:text-shuttle-grey-3",onClick:this.handleClick},i.default.createElement(n.default,{icon:"nc-add"}));renderRemoveIcon=()=>this.props.canDelete?i.default.createElement("div",{key:"second",className:"brz-ed-control__focal-point__delete",onClick:this.handleRemove},i.default.createElement(n.default,{icon:"nc-circle-remove"})):null;renderIcon=e=>{let{name:t,type:o}=e;return[i.default.createElement("div",{key:"first",className:"brz-ed-control__icon-setter__box w-[48px] h-[48px] border-mako border-dashed border-[1px] bg-gunmetal text-[16px] text-shuttle-grey flex justify-center items-center cursor-pointer transition-all-1 duration-200 ease-linear delay-[0s] hover:border-shuttle-grey-2 hover:text-shuttle-grey-3",onClick:this.handleClick},i.default.createElement("div",{className:"brz-ed-control__icon-setter--active text-white inline-block text-[0]"},i.default.createElement(l.ThemeIcon,{className:"grid-16 stroke-2",name:t,type:o}))),this.renderRemoveIcon()]};render(){const e=this.props.value,t=(0,r.default)("brz-ed-control__icon-setter relative",this.props.className),o=e?.name&&e?.type;return i.default.createElement("div",{className:t},e&&o?this.renderIcon(e):this.renderSelectIcon())}}const d=c},4023:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{IconToggleItem:function(){return a},default:function(){return l}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(33364);function a(e){let{className:t,icon:o}=e;return r.default.createElement(n.EditorIcon,{className:t,icon:o})}const l=a},53225:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{IconToggle:function(){return l},default:function(){return s}});const r=a(o(27378)),i=a(o(60042)),n=o(44576);function a(e){return e&&e.__esModule?e:{default:e}}function l(e){let{className:t,children:o,value:a,onChange:l}=e;const s=(0,i.default)("brz-ed-control__icon-carousel",t),c=o.find((e=>e.props.value===a))??o[0],d=o.map((e=>e.props.value));return r.default.createElement("div",{className:s,title:c.props.title,onClick:()=>{const e=(0,n.indexOf)(a,d),t=void 0!==e?(0,n.nextIndex)(e,d):void 0;void 0!==t&&l(d[t])}},c)}const s=l},66106:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(10301))&&n.__esModule?n:{default:n};var n;const a=o(16621);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}class s extends r.default.Component{static defaultProps={bounds:"parent",onDragStart:i.default.noop,onDrag:i.default.noop,onDragEnd:i.default.noop,defaultPosition:{x:50,y:50}};window=void 0;ref=(0,r.createRef)();constructor(e){super(e),this.state={x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y},this.window=void 0}componentDidMount(){const e=this.ref.current,t=e?.parentNode||e?.ownerDocument.body;t&&t.addEventListener("click",this.onDragEnd),e?.ownerDocument.defaultView&&(this.window=e?.ownerDocument.defaultView)}static getDerivedStateFromProps(e,t){const o=t.x,r=t.y,i=e.position.x,n=e.position.y;return o!==i||r!==n?{x:i,y:n}:null}componentWillUnmount(){const e=this.ref.current,t=e?.parentNode||e?.ownerDocument.body;this.enableTextSelect(),t&&t.removeEventListener("click",this.onDragEnd),this.window&&(this.window.removeEventListener("mousemove",this.onDrag),this.window.removeEventListener("mouseup",this.onDragEnd)),this.window=void 0}disableTextSelect=()=>{document.querySelectorAll("*[contenteditable]").forEach((e=>e.setAttribute("contenteditable","false"))),document.body.classList.add("unselectable")};enableTextSelect=()=>{document.body.classList.remove("unselectable"),document.querySelectorAll("*[contenteditable]").forEach((e=>e.setAttribute("contenteditable","true")))};getBoundPosition=()=>{let e=this.props.bounds;const t=this.ref.current;if("string"==typeof e&&t){const{ownerDocument:o}=t;let r;if("parent"===e)r=t.parentNode;else if(r=o?.querySelector(e),!r)throw new Error(`Bounds selector ${e} could not find an element.`);r&&(e={left:(0,a.outerWidth)(r),top:(0,a.outerHeight)(r)})}return e};getMouseCoordinates=e=>{const t=this.ref.current,o=t?.offsetParent||t?.ownerDocument.body,r=o===o?.ownerDocument.body?{left:0,top:0}:o?.getBoundingClientRect(),{clientX:i,clientY:n}=e;let a=0,l=0;return o&&r&&(a=i+o.scrollLeft-r.left,l=n+o.scrollTop-r.top),{x:a,y:l}};getCoordinates=e=>{const t=this.getMouseCoordinates(e),o=this.getBoundPosition();let r=0,i=0;return"object"==typeof o&&"left"in o&&"top"in o&&(r=o.left??0,i=o.top??0),{x:(0,a.int)(String(Math.max(Math.min(t.x,r),0))),y:(0,a.int)(String(Math.max(Math.min(t.y,i),0)))}};getCoordinatesInPercent=e=>{const{x:t,y:o}=this.getCoordinates(e),r=this.getBoundPosition();let i=0,n=0;return"object"==typeof r&&"left"in r&&"top"in r&&(i=r.left??0,n=r.top??0),{x:(0,a.int)(String(100*t/i)),y:(0,a.int)(String(100*o/n))}};onDragStart=e=>{e.preventDefault();const t=this.getCoordinatesInPercent(e);this.props.onDragStart(t),this.disableTextSelect(),this.window&&(this.window.addEventListener("mousemove",this.onDrag),this.window.addEventListener("mouseup",this.onDragEnd))};onDrag=e=>{const t=this.getCoordinatesInPercent(e);this.props.onDrag(t),this.setState(t)};onDragEnd=e=>{const t=this.getCoordinatesInPercent(e);this.props.onDragEnd(t),this.enableTextSelect(),this.window&&(this.window.removeEventListener("mousemove",this.onDrag),this.window.removeEventListener("mouseup",this.onDragEnd)),this.setState(t)};render(){const e=this.state,t={left:`${e.x}%`,top:`${e.y}%`};return r.default.cloneElement(r.default.Children.only(this.props.children),{style:t,onMouseDown:this.onDragStart,ref:this.ref})}}},21257:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(19057),n=o(68914),a=(l=o(66106))&&l.__esModule?l:{default:l};var l;function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=function(e){const{src:t="",x:o=50,y:l=50,width:s=0,height:c=0,customUrl:d=!1,showPointer:u=!0,fileName:p="",onChange:f}=e,[m,y]=(0,r.useState)(o),[g,b]=(0,r.useState)(l),[h,v]=(0,r.useState)(null),[S,w]=(0,r.useState)(null);function x(e){e.x!==m&&y(e.x),e.y!==g&&b(e.y),f(e,{isChanged:"pointer"})}h!==o&&(y(o),v(o)),S!==l&&(b(l),w(l));const M=d?t:(0,n.getImageUrl)({fileName:p,uid:t,sizeType:i.SizeType.custom,crop:{iW:140,iH:"any"}}),{width:T,height:P}=(0,n.imageWrapperSize)(s,c,140);return r.default.createElement("div",{key:"setter",className:"brz-ed-control__focal-point__setter",style:{width:`${T}px`,height:`${P}px`}},M&&r.default.createElement("img",{className:"brz-img",src:M}),u&&r.default.createElement(a.default,{bounds:"parent",position:{x:m,y:g},onDrag:x,onDragEnd:x},r.default.createElement("div",{className:"brz-ed-control__focal-point__point"})))}},63458:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{ImageSetter:function(){return g},default:function(){return b}});const r=y(o(60042)),i=y(o(27378)),n=o(34143),a=o(18624),l=o(65989),s=y(o(33364)),c=o(62948),d=y(o(22546)),u=o(19057),p=o(64985),f=o(68914),m=y(o(21257));function y(e){return e&&e.__esModule?e:{default:e}}class g extends i.default.Component{state={src:this.props.src,fileName:this.props.fileName,width:this.props.width,height:this.props.height,extension:this.props.extension,loading:!1};mounted=!1;defaultExtensions=["jpeg","jpg","png","gif","svg"];_extensions=this.props.acceptedExtensions&&this.props.acceptedExtensions.length>0?this.props.acceptedExtensions:this.defaultExtensions;componentDidMount(){this.mounted=!0}componentDidUpdate(e){this.props.src!==e.src&&this.setState({src:this.props.src,fileName:this.props.fileName,width:this.props.width,height:this.props.height,extension:this.props.extension})}componentWillUnmount(){this.mounted=!1}handleChange=(e,t)=>{const{x:o,y:r,extension:i}=this.props,{src:n,fileName:a,width:l,height:s}=this.state;this.props.onChange({src:n,fileName:a,width:l,height:s,x:o,y:r,extension:i,...e},t)};handleRemove=()=>{const e={src:"",fileName:"",width:0,height:0,x:0,y:0,extension:""};this.setState(e),this.props.onChange(e,{isChanged:"image"})};handleImageChange=()=>{const{api:e={}}=d.default.getAll(),{media:t={}}=e;if(t.addMedia){this.setState({loading:!0});const e=e=>{let{uid:t,fileName:o}=e;if(!t&&!o)return void c.ToastNotification.error((0,p.t)("Invalid uid & fileName"));const r=(0,f.getImageFormat)(o);if(!r)return void c.ToastNotification.error((0,p.t)("Failed to upload file. Please upload a valid JPG, PNG, SVG or GIF image."));const i=(0,f.getImageUrl)({uid:t,fileName:o,sizeType:u.SizeType.original});(0,f.preloadImage)(i).then((e=>{let{width:i,height:n}=e;const{x:a,y:l}=this.props,s={x:a,y:l,src:t,width:i,height:n,extension:r,fileName:o};this.mounted&&this.setState({...s,loading:!1}),this.handleChange(s,{isChanged:"image"})})).catch((e=>{this.setState({loading:!1}),console.log(e)}))},o=e=>{this.setState({loading:!1}),c.ToastNotification.error(e)};t.addMedia.handler(e,o,{acceptedExtensions:this._extensions})}else console.error("Config: Missing addMedia callback")};onUpload=()=>{const{onUpload:e,onlyPointer:t}=this.props;t||(e?e():this.handleImageChange())};renderDraggable(){const{customUrl:e,onlyPointer:t,showPointer:o,x:r,y:n}=this.props,{src:a,width:l,height:c,extension:d,fileName:u}=this.state,p=[i.default.createElement(m.default,{key:a,src:a,width:l,height:c,x:r,y:n,fileName:u,customUrl:e,extension:d,showPointer:o,onChange:this.handleChange})];return t||p.push(i.default.createElement("div",{key:"delete",className:"brz-ed-control__focal-point__delete",onClick:this.handleRemove},i.default.createElement(s.default,{icon:"nc-circle-remove"}))),p}renderUpload(){const{onlyPointer:e}=this.props,{loading:t}=this.state,o=(0,r.default)("brz-label brz-ed-control__focal-point__label",{"brz-ed-control__focal-point__label--disable":e});return i.default.createElement("div",{className:o},t?i.default.createElement("div",{className:"brz-ed-control__focal-point__upload brz-ed-control__focal-point__upload--loading"},i.default.createElement(s.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})):i.default.createElement("div",{className:"brz-ed-control__focal-point__upload",onClick:this.onUpload},i.default.createElement(s.default,{icon:"nc-upload"})))}renderSelect(){return this.props.sizes?i.default.createElement(a.Select2,{className:"brz-control__select--dark brz-control__select__auto brz-ed-control__colorPickerSelect--select",value:this.props.size,editable:!1,onChange:this.props.onSizeChange??n.noop,size:"short"},this.props.sizes?.map((e=>i.default.createElement(l.Item,{key:e.value,value:e.value},i.default.createElement("span",{title:e.label},e.label))))):null}render(){const e=(0,r.default)("brz-ed-control__focal-point",this.props.className);return i.default.createElement("div",{className:e},this.state.src?this.renderDraggable():this.renderUpload(),this.state.src?this.renderSelect():null)}}const b=g},16621:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{int:function(){return i},outerHeight:function(){return n},outerWidth:function(){return a},getExtensionsMessage:function(){return l},getExtension:function(){return s},isValidExtension:function(){return c}});const r=o(74183);function i(e){return parseInt(e,10)}function n(e){let t=e.clientHeight;const o=e.ownerDocument.defaultView?.getComputedStyle(e);if(o)return t+=i(o.borderTopWidth),t+=i(o.borderBottomWidth),t}function a(e){let t=e.clientWidth;const o=e.ownerDocument.defaultView?.getComputedStyle(e);if(o)return t+=i(o.borderLeftWidth),t+=i(o.borderRightWidth),t}const l=e=>{const t=e.map((e=>e.toUpperCase())),o=t[t.length-1];return o?t.slice(0,t.length-1).join(", ").concat(" or ",o):""},s=(0,r.checkValue)(["gif","jpeg","jpg","png","svg"]),c=(e,t)=>{const o=s(e);return!!o&&t.includes(o)}},713:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageUpload",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),i=l(o(27378));var n,a;function l(e){return e&&e.__esModule?e:{default:e}}n=o(38784),a=t,Object.keys(n).forEach((function(e){"default"===e||Object.prototype.hasOwnProperty.call(a,e)||Object.defineProperty(a,e,{enumerable:!0,get:function(){return n[e]}})}));const s=e=>{let{children:t,onChange:o,className:n}=e;return i.default.createElement("label",{className:(0,r.default)("brz-ed-control__imageUpload",n),onClick:o},t)}},38784:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},27495:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Input",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t="",value:o,onChange:n,onBlur:a,size:l="auto",placeholder:s=""}=e;const c="brz-ed-control__input2",d=(0,i.default)(c,t,`${c}--${l}`);return r.default.createElement("div",{className:d},r.default.createElement("input",{type:"text",value:o,placeholder:s,onChange:e=>{let{target:{value:t}}=e;return n(t)},onBlur:a}))}},15223:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InputHex",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(60042))&&n.__esModule?n:{default:n};var n;const a=o(27495),l=o(22741),s=o(32625),c=o(404);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=e=>{let{className:t,value:o,onChange:n}=e;const[d,u]=(0,r.useState)(o);return(0,s.useDebouncedEffect)((()=>{o!==d&&(0,l.mApply)(n,(0,c.fromString)(d))}),1e3,[d]),(0,r.useEffect)((()=>u(o)),[o]),r.default.createElement(a.Input,{className:(0,i.default)("brz-ed-control__input-hex",t),value:d,onChange:u})}},3518:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),i=o(10301),n=o(64985),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{const{title:t="",value:o="",icon:l="",type:s="text",required:c=!1,loading:d=!1,onChange:u=i.noop,onKeyDown:p=i.noop,onClickIcon:f=i.noop}=e;return r.default.createElement("div",{className:"brz-input__placeholder"},r.default.createElement("label",{className:"brz-label"},r.default.createElement("input",{required:!0,className:"brz-input",name:t,type:s,value:o,onChange:u,onKeyDown:p}),r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},t,c&&r.default.createElement("span",{className:"brz-span"},"(",(0,n.t)("required"),")")))),l&&r.default.createElement("div",{className:"brz-input__placeholder-icon"},d?r.default.createElement(a.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):r.default.createElement(a.default,{icon:l,onClick:f})))}},99737:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InternalLinkValue",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),i=a(o(27378)),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=i.default.forwardRef(((e,t)=>{let{className:o,value:a,onRemove:l,onClick:s}=e;const c=(0,r.default)("brz-ed-control__internalLink__value",o);return i.default.createElement("div",{className:c,ref:t,onClick:s,style:{position:"relative"}},i.default.createElement("span",{className:"brz-span"},a),l&&i.default.createElement(n.default,{icon:"nc-circle-remove",onClick:l}))}));l.displayName="InternalLinkValue"},78448:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Search",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),i=l(o(27378)),n=l(o(33364)),a=o(64985);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{loading:t,onChange:o}=e;const l=(0,r.default)("brz-ed-control__internalLink__spinner",{"brz-ed-control__internalLink__spinner--hidden":!t,"brz-ed-animated--spin":t});return i.default.createElement("div",{className:"brz-ed-control__internalLink__search"},i.default.createElement("input",{className:"brz-input",placeholder:(0,a.t)("Type to Search ..."),autoFocus:!0,spellCheck:!1,onChange:o&&(e=>o(e.target.value))}),i.default.createElement(n.default,{icon:"nc-circle-02",className:l}))}},98418:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SelectDropdown",{enumerable:!0,get:function(){return c}});const r=l(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=l(o(27998)),a=o(78448);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=i.default.forwardRef(((e,t)=>{let{style:o,searchIsLoading:l,children:s,onSearchChange:c}=e;(0,i.useEffect)((()=>()=>{c?.("")}),[c]);const d=(0,r.default)("brz-ed-control__internalLink__dropdown","brz-ed-control__internalLink__dropdown--with-search",{"brz-ed-control__internalLink__dropdown--search-loading":l});return i.default.createElement("div",{ref:t,className:d,style:o},i.default.createElement(a.Search,{loading:l,onChange:c}),i.default.createElement(n.default,{autoHeight:!0,autoHeightMax:150,renderThumbVertical:e=>i.default.createElement("div",{className:"brz-ed-control__multiSelect__scroll-thumb",...e})},s))}))},26211:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{SelectItem:function(){return a},SelectItemNoResults:function(){return l}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=e=>{let{title:t,onClick:o}=e;return r.default.createElement("li",{className:"brz-ed-control__internalLink__option",title:t,onClick:o},r.default.createElement("span",{className:"brz-ed-control__internalLink__option-text"},t))},l=()=>r.default.createElement("li",{className:"brz-ed-control__multiSelect2__option brz-ed-control__multiSelect2__option--disabled"},(0,n.t)("No results"))},98144:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Control",{enumerable:!0,get:function(){return y}});const r=f(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(84989),a=f(o(17882)),l=o(64985),s=o(99737),c=o(98418),d=o(26211),u=o(40756),p=o(99700);function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}const y=e=>{let{className:t,value:o,placeholder:f,items:m,status:y,loading:g,resetValue:b,onSearch:h,onChange:v}=e;const[S,w]=(0,i.useState)(!1),x=(0,r.default)({"brz-ed-control__internalLink__value--placeholder":!o?.title},t),M=(0,p.trimTitle)(o?.title||f||(0,l.t)("Type name")),T=y===u.Status.NO_RESULT?i.default.createElement(d.SelectItemNoResults,null):i.default.createElement("ul",{className:"brz-ul"},m.map(((e,t)=>i.default.createElement(d.SelectItem,{key:t,title:e.title,onClick:()=>v(e)}))));return i.default.createElement(a.default,{onClickOutside:()=>w(!1)},i.default.createElement("div",{className:"brz-ed-control__internalLink"},i.default.createElement(n.Manager,null,i.default.createElement(n.Reference,null,(e=>{let{ref:t}=e;return i.default.createElement(s.InternalLinkValue,{className:x,ref:t,value:M,onClick:()=>{(0,p.isValuePopulated)(o)||w(!S)},onRemove:o?.title?b:void 0})}))),i.default.createElement("div",{style:{position:"relative"}},i.default.createElement(n.Popper,null,(e=>{let{ref:t,style:o}=e;return S?i.default.createElement(c.SelectDropdown,{ref:t,style:o,searchIsLoading:g,onSearchChange:h},T):null})))))}},40756:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Status",{enumerable:!0,get:function(){return o}}),function(e){e.INITIAL="initial",e.SUCCESS="success",e.ERROR="error",e.NO_RESULT="no_result"}(o||(o={}))},99700:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{trimTitle:function(){return o},isValuePopulated:function(){return r}});const o=e=>e.length>24?e.slice(0,23)+"...":e,r=e=>!!(e&&e.id&&e.title)},7098:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=s(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=s(o(27998)),a=o(35671),l=o(64985);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{let{style:t}=e;return i.default.createElement("div",{style:{...t,borderRadius:"inherit",backgroundColor:"rgba(129, 138, 145, 0.5)"}})};class u extends i.Component{static defaultProps={className:"",minItems:1,maxItems:5,itemHeight:30,style:{},choices:[]};state={active:null};scrollbar=i.default.createRef();componentDidMount(){document.addEventListener("keydown",this.handleKeyDown)}componentWillUnmount(){document.removeEventListener("keydown",this.handleKeyDown)}handleUpdateScrollPosition(){const{choices:e,itemHeight:t}=this.props,o=t*e.flatMap((e=>e.optgroup||e)).findIndex((e=>e.value===this.state.active)),r=this.scrollbar.current;r&&r.scrollTop(o)}handleKeyDown=e=>{const{choices:t,onChange:o}=this.props;if(0===t.length)return;const r=t.flatMap((e=>e.optgroup||e)),i=this.state.active??r[0].value,n=r.findIndex((e=>e.value===i));switch(e.which){case 13:o(i);break;case 38:{const e=r[n-1]||{};this.setState({active:e.value??r[0].value},this.handleUpdateScrollPosition);break}case 40:{const e=r[n+1]||{};this.setState({active:e.value??r[r.length-1].value},this.handleUpdateScrollPosition);break}}};renderList(e,t){return e.map(((e,o)=>{if((0,a.isOptgroup)(e))return i.default.createElement("div",{key:o,className:"brz-ed-listbox__optgroup"},i.default.createElement("div",{className:"brz-ed-listbox__optgroup-label"},e.title),this.renderList(e.optgroup,t));const{title:n,value:l}=e,s=(0,r.default)("brz-ed-listbox__item",{"brz-ed-listbox__item--active":t===l});return i.default.createElement("div",{key:o,title:n,className:s,onClick:()=>this.props.onChange(l)},n)}))}render(){const{className:e,style:t,choices:o,itemHeight:a,minItems:s,maxItems:c}=this.props,u=(0,r.default)("brz-ed-listbox",e),p=a*s,f=Math.max(p,a*c),m=o.length?this.renderList(o,this.state.active):i.default.createElement("div",{className:"brz-ed-listbox__item brz-ed-listbox__item--disable"},(0,l.t)("No matches found"));return i.default.createElement("div",{className:u,style:t},i.default.createElement(n.default,{ref:this.scrollbar,renderTrackVertical:()=>(e=>{let{style:t}=e;return i.default.createElement("div",{style:{...t,top:0,bottom:0,right:"3px",width:"3px"},className:"track-vertical"})})(this.props),renderThumbVertical:d,autoHeight:!0,autoHeightMin:p,autoHeightMax:f},m))}}const p=u},2467:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(60042)),i=s(o(27378)),n=s(o(10301)),a=s(o(10944)),l=s(o(33364));function s(e){return e&&e.__esModule?e:{default:e}}class c extends i.default.Component{static defaultProps={className:"",display:"inline",config:{defaultIcon:null,icons:["nc-settings"]},min:-9999,max:9999,step:1,value:null,attr:{},onChange:n.default.noop};state={activeIcon:this.getInitialIcon(),focusedIcon:0,focused:!1};getInitialIcon(){const{defaultIcon:e,icons:t}=this.props.config;return e||t[0]}handleInputValueChange=(e,t)=>{const{value:o,onChange:r}=this.props;r(o.map(((o,r)=>r===e?t:o)))};handleMouseEnter(e){const{icons:t}=this.props.config;this.setState({activeIcon:t[e]})}handleMouseLeave(){const{icons:e}=this.props.config,{focusedIcon:t,focused:o}=this.state;this.setState({activeIcon:o?e[t]:this.getInitialIcon()})}onFocus(e){const{icons:t}=this.props.config;this.setState({activeIcon:t[e],focusedIcon:e,focused:!0})}onBlur(e){this.setState({activeIcon:this.getInitialIcon(),focusedIcon:e,focused:!1})}render(){const{className:e,attr:t,min:o,max:n,step:s,value:c,display:d}=this.props,{activeIcon:u}=this.state,p=(0,r.default)("brz-ed-option__input-outline","brz-ed-option__multi-input",`brz-ed-option__${d}`,"brz-ed-option__input-number-wrap",e,t.className),f=c.map(((e,t)=>i.default.createElement("div",{key:t,className:"brz-ed-option__multi-input-container",onMouseEnter:()=>this.handleMouseEnter(t),onMouseLeave:()=>this.handleMouseLeave(t)},i.default.createElement(a.default,{className:"brz-input",min:o,max:n,step:s,value:e,onFocus:()=>this.onFocus(t),onBlur:()=>this.onBlur(t),onChange:e=>this.handleInputValueChange(t,e)}))));return i.default.createElement("div",{className:p,...t},i.default.createElement(l.default,{icon:u,className:"brz-icon"}),f)}}const d=c},21525:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MultiSelectItem",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;function n(e){return r.default.createElement("span",e)}},17585:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{MultiSelectItem:function(){return u.MultiSelectItem},MultiSelect:function(){return m}});const r=p(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(27998),a=o(84989),l=p(o(17882)),s=p(o(33364)),c=o(64985),d=o(20464),u=o(21525);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e){let{value:t,valueIsLoading:o,children:n,className:s,placeholder:c,search:u,searchIsEmpty:p,searchIsLoading:f,useAsSimpleSelect:m,showArrow:b,onChange:h,onSearchChange:v}=e;const[S,w]=(0,i.useState)(!1),x=n.map((e=>{let{props:t}=e;return{title:t.title,value:t.value}})),M=(0,r.default)("brz-ed-control__multiSelect2",s);return i.default.createElement(l.default,{onClickOutside:()=>w(!1)},i.default.createElement("div",{className:M},i.default.createElement(a.Manager,null,i.default.createElement(a.Reference,null,(e=>{let{ref:r}=e;return i.default.createElement(y,{customRef:r,items:x,value:t,valueIsLoading:o,showArrow:b,placeholder:c,onClick:()=>w(!S)})})),i.default.createElement("div",{className:"brz-ed-control__multiSelect2__dropdown-container"},i.default.createElement(a.Popper,null,(e=>{let{ref:o,style:r}=e;return S?i.default.createElement(g,{customRef:o,items:x,value:t,style:r,search:u,searchIsEmpty:p,searchIsLoading:f,useAsSimpleSelect:m,onItemClick:e=>{h((0,d.toggleItemValue)(e,t,m)),m&&w(!1)},onSearchChange:v&&(e=>v(e))}):null}))))))}function y(e){let{customRef:t,items:o,value:n,valueIsLoading:a,placeholder:l,showArrow:c,onClick:u}=e;if(a)return i.default.createElement("div",{ref:t,className:"brz-ed-control__multiSelect2__value brz-ed-control__multiSelect2__value--loading"},i.default.createElement(s.default,{icon:"nc-circle-02",className:"brz-ed-control__multiSelect2__spinner brz-ed-animated--spin"}));const p=(0,d.valueTitle)(o,n),f=(0,r.default)("brz-ed-control__multiSelect2__value",{"brz-ed-control__multiSelect2__value--placeholder":void 0===p&&void 0!==l});return i.default.createElement("div",{ref:t,className:f,onClick:u},i.default.createElement("span",{className:"brz-span"},p??l),c&&i.default.createElement(s.default,{icon:"nc-stre-down",className:"brz-control__select--arrow"}))}function g(e){let{customRef:t,items:o,value:a,style:l,search:d,searchIsEmpty:u,searchIsLoading:p,useAsSimpleSelect:f,onItemClick:m,onSearchChange:y}=e;(0,i.useEffect)((()=>()=>{y?.("")}),[]);const g=(0,r.default)("brz-ed-control__multiSelect2__dropdown",{"brz-ed-control__multiSelect2__dropdown--with-search":d,"brz-ed-control__multiSelect2__dropdown--search-loading":p}),v=(0,r.default)("brz-ed-control__multiSelect2__spinner",{"brz-ed-control__multiSelect2__spinner--hidden":!p,"brz-ed-animated--spin":p});return i.default.createElement("div",{ref:t,className:g,style:l},d&&i.default.createElement("div",{className:"brz-ed-control__multiSelect2__search"},i.default.createElement("input",{className:"brz-input",placeholder:(0,c.t)("Type to Search ..."),autoFocus:!0,spellCheck:!1,onChange:y&&(e=>y(e.target.value))}),i.default.createElement(s.default,{icon:"nc-circle-02",className:v})),i.default.createElement(n.Scrollbars,{autoHeight:!0,autoHeightMax:150,renderThumbVertical:e=>i.default.createElement("div",{className:"brz-ed-control__multiSelect__scroll-thumb",...e})},i.default.createElement("ul",{className:"brz-ul"},o.map((e=>i.default.createElement(b,{key:String(e.value),title:e.title,value:e.value,icon:!f,active:a.includes(e.value),onClick:()=>m(e)}))),d&&u&&i.default.createElement(h,null))))}function b(e){let{title:t,active:o=!1,onClick:n,icon:a=!0}=e;const l=(0,r.default)("brz-ed-control__multiSelect2__option",{"brz-ed-control__multiSelect2__option--active":o}),c=o?"nc-check-square-on":"nc-check-square-off";return i.default.createElement("li",{className:l,title:t,onClick:n},a&&i.default.createElement(s.default,{icon:c,className:"brz-ed-control__multiSelect2__option-checkbox"}),i.default.createElement("span",{className:"brz-ed-control__multiSelect2__option-text"},t))}function h(){return i.default.createElement("li",{className:"brz-ed-control__multiSelect2__option brz-ed-control__multiSelect2__option--disabled"},(0,c.t)("No results"))}},20464:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{_valueTitle:function(){return n},valueTitle:function(){return a},toggleItemValue:function(){return l}});const r=o(64985),i=o(6085),n=e=>(t,o)=>{const r=t.filter((e=>o.includes(e.value)));return 1===r.length?r[0].title:r.length>1?(0,i.printf)(e("%s Selected"),String(r.length)):void 0},a=n(r.t),l=(e,t,o)=>t.includes(e.value)?t.filter((t=>t!==e.value)):o?[e.value]:t.concat(e.value)},4287:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NumberComponent",{enumerable:!0,get:function(){return c}});const r=l(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=l(o(10944)),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{value:t,onChange:o,className:l,size:s="auto",spinner:c=!0,onIncrease:d,onDecrease:u}=e;const p=(0,i.useRef)(),[f,m]=(0,i.useState)("none"),y="brz-ed-control__number",g=(0,r.default)(y,`${y}--${s}`,l),b=(0,i.useCallback)((()=>m("none")),[m]),h=(0,i.useCallback)((()=>m("increase")),[m]),v=(0,i.useCallback)((()=>m("decrease")),[m]),S=(0,i.useCallback)((e=>{e!==t&&o(e)}),[o,t]);return(0,i.useEffect)((()=>{switch(f){case"increase":return p.current&&clearInterval(p.current),void(p.current=setInterval(d,150));case"decrease":return p.current&&clearInterval(p.current),void(p.current=setInterval(u,150));case"none":return void(p.current&&clearInterval(p.current))}}),[f,u,d]),i.default.createElement("div",{className:g},i.default.createElement(n.default,{className:"brz-input",value:t,onChange:S,min:-999999,max:999999,step:1}),c?i.default.createElement("div",{className:`${y}--arrows`},i.default.createElement("div",{className:`${y}--up`,onClick:d,onMouseDown:h,onMouseUp:b},i.default.createElement(a.default,{icon:"nc-stre-up"})),i.default.createElement("div",{className:`${y}--down`,onClick:u,onMouseDown:v,onMouseUp:b},i.default.createElement(a.default,{icon:"nc-stre-down"}))):null)}},33779:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NumberSlider",{enumerable:!0,get:function(){return c}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(48999),l=o(95752);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e){let{value:{number:t,unit:o},onChange:i,className:s,min:c,max:d,inputMin:u,inputMax:p,step:f,units:m}=e;const y=(0,n.useCallback)(((e,t)=>i({number:e,unit:o},t)),[i,o]),g=(0,n.useCallback)((e=>i(e,{editing:!1})),[i]);return n.default.createElement("div",{className:(0,r.default)("brz-ed__control--number-slider",s)},n.default.createElement(l.Slider2,{value:t,onChange:y,step:f,min:c,max:d}),n.default.createElement(a.NumberUnit,{units:m,step:f,min:u?Math.min(c,u):void 0,max:p?Math.max(d,p):void 0,value:{number:t,unit:o},onChange:g}))}},48999:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NumberUnit",{enumerable:!0,get:function(){return u}});const r=s(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=s(o(10944)),a=o(65989),l=o(18624);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>32*Math.min(1,Math.max(1,String(e).length-4));function u(e){let{value:{number:t,unit:o},onChange:s,className:c,min:u=-99999,max:p=99999,step:f,units:m}=e;const y=e=>{e!==o&&s({number:t,unit:e})},g=(0,i.useCallback)((e=>s({number:t,unit:e})),[s,t]),b=(0,i.useCallback)((()=>{y(m[0].value)}),[y,m]);return i.default.createElement("div",{className:(0,r.default)("brz-ed-control__number-unit",c)},i.default.createElement("div",{className:"brz-ed-control__number-unit__input"},i.default.createElement("div",{className:"brz-invisible",style:{width:d(t)}},t),i.default.createElement(n.default,{className:"brz-input",value:t,onChange:e=>{e!==t&&s({number:e,unit:o})},min:u,max:p,step:f})),m.length>1?i.default.createElement(l.Select2,{className:"brz-slider__select",editable:!1,value:o,onChange:g},m.map(((e,t)=>i.default.createElement(a.Item,{key:t,value:e.value},e.title)))):i.default.createElement("div",{className:(0,r.default)("brz-ed-control__number-unit__unit",{"brz-ed-control__number-unit__unit--active":m.length>1&&m[0].value===o}),onClick:b},o))}},46399:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PayPal",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(3518))&&n.__esModule?n:{default:n};var n;const a=o(8941),l=o(4820),s=o(64985);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{let{onChange:t,value:o,onCancel:n,onSave:c,label:d}=e;const u=(0,r.useCallback)((e=>t(e.target.value)),[t]);return r.default.createElement(a.PromptFrame,{img:(0,l.assetUrl)("editor/img/paypal-224.jpg"),label:d,onSave:c,onCancel:n,description:(0,s.t)("Allow Brizy to access your PayPal account via API access")},r.default.createElement(i.default,{value:o??"",title:(0,s.t)("API KEY"),onChange:u,required:!0}))}},40333:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Popover",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(60042)),n=o(1424);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{className:t,title:o,size:a,placement:l,onOpen:s,onClose:c,children:d,trigger:u,toolbar:p,clickOutsideExceptions:f=[]}=e;const m=(0,i.default)("brz-ed-control__popover",t),y=r.default.createElement("div",{className:"brz-ed-control__popover--content"},d);return r.default.createElement("div",{className:m},r.default.createElement(n.Tooltip,{className:"brz-ed-control__popover--tooltip",placement:l,overlay:y,title:o,size:a,onOpen:s,onClose:c,openOnClick:!0,toolbar:p,clickOutsideExceptions:f},u))}},33548:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=d(o(27378)),i=d(o(60042)),n=d(o(10301)),a=d(o(33364)),l=o(73948),s=o(6804),c=d(o(67439));function d(e){return e&&e.__esModule?e:{default:e}}class u extends r.default.Component{static defaultProps={checkIcon:"check",unCheckIcon:"uncheck",className:"",active:!1,value:"",name:"",onClick:n.default.noop};renderForEdit(){const{active:e,className:t,checkIcon:o,unCheckIcon:n,children:l,onClick:s,toolbarIcon:d=null}=this.props,u=(0,i.default)("brz-control__radio-option",{"brz-control__radio-option--active":e},t),p=(0,i.default)("brz-control__radio-check",{"brz-control__radio-check--active":e});return r.default.createElement("div",{className:u,onClick:s},d?r.default.createElement(c.default,d,r.default.createElement(a.default,{className:p,icon:e?`nc-${o}`:`nc-${n}`})):r.default.createElement(a.default,{className:p,icon:e?`nc-${o}`:`nc-${n}`}),l)}renderForView(){const{active:e,className:t,value:o,name:n,checkIcon:a,unCheckIcon:c,required:d,children:u,onClick:p}=this.props,f=(0,i.default)("brz-control__radio-option",{"brz-control__radio-option--active":e},t),m=(0,s.uuid)();return r.default.createElement("div",{className:f,onClick:p},r.default.createElement("input",{id:m,className:"brz-input",type:"radio",name:n,value:o,checked:e,required:d,"data-type":this.props["data-type"],"data-label":this.props["data-label"],onChange:()=>{}}),r.default.createElement("label",{className:"brz-label",htmlFor:m},r.default.createElement(l.ThemeIcon,{className:"brz-control__radio-icon brz-control__radio--check",type:"editor",name:a}),r.default.createElement(l.ThemeIcon,{className:"brz-control__radio-icon brz-control__radio--uncheck",type:"editor",name:c}),u))}render(){return this.renderForEdit()}}},80425:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{RadioItem:function(){return a.default},default:function(){return s}});const r=l(o(10301)),i=l(o(27378)),n=l(o(60042)),a=l(o(33548));function l(e){return e&&e.__esModule?e:{default:e}}class s extends i.default.Component{static defaultProps={name:"defaultName",defaultValue:"",onChange:r.default.noop};state={currentValue:this.props.defaultValue};onItemClick=e=>{this.setState({currentValue:e}),this.props.onChange(e)};getCurrent=()=>r.default.find(this.props.children,(e=>e.props.value===this.state.currentValue))||this.props.children[0];renderOptions(){return i.default.Children.map(this.props.children,((e,t)=>i.default.cloneElement(e,{key:t,active:this.state.currentValue===e.props.value,name:this.props.name,onClick:e.props.disabled?null:this.onItemClick.bind(null,e.props.value)})))}renderForEdit(){const{className:e,name:t,currentValue:o}=this.props,r=(0,n.default)("brz-control__radio",e);return i.default.createElement("div",{className:r},this.renderOptions(),i.default.createElement("input",{className:"brz-input",name:t,type:"hidden",value:o}))}renderForView(){const e=(0,n.default)("brz-control__radio",this.props.className);return i.default.createElement("div",{className:e},this.renderOptions())}render(){return this.renderForEdit()}}},54505:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}class a extends r.default.Component{render(){const{className:e,active:t,children:o,onClick:n}=this.props,a=(0,i.default)("brz-control__radio-option",{active:t},e);return r.default.createElement("div",{className:a,onClick:n},o)}}},30135:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),i=a(o(27378)),n=a(o(10301));function a(e){return e&&e.__esModule?e:{default:e}}class l extends i.default.Component{static defaultProps={name:"defaultName",className:"",defaultValue:"",onChange:n.default.noop};onClick=e=>{this.props.onChange(e)};getCurrent=()=>n.default.find(this.props.children,(e=>e.props.value===this.props.defaultValue))||this.props.children[0];renderOptions=()=>n.default.map(this.props.children,((e,t)=>i.default.cloneElement(e,{key:t,active:this.props.defaultValue===e.props.value,onClick:e.props.disabled?null:this.onClick.bind(null,e.props.value)})));render(){const{className:e,name:t,defaultValue:o}=this.props,n=(0,r.default)("brz-ed-control__radio-group flex items-center",e);return i.default.createElement("div",{className:n},this.renderOptions(),i.default.createElement("div",null,i.default.createElement("input",{className:"brz-input",name:t,type:"hidden",value:o})))}}},74224:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Item",{enumerable:!0,get:function(){return a}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(33364);function a(e){let{icon:t}=e;return r.default.createElement(n.EditorIcon,{icon:t})}},61046:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RadioGroup2",{enumerable:!0,get:function(){return a}});const r=n(o(60042)),i=n(o(27378));function n(e){return e&&e.__esModule?e:{default:e}}function a(e){let{children:t,onChange:o,className:n}=e;const a=(0,r.default)("brz-ed-control__radio-group2 flex m-0",n);return i.default.createElement("div",{className:a},t.map(((e,t)=>{const n=(0,r.default)("brz-ed-control__radio-group2__item flex m-0 flex w-[37px] h-[30px] border-t-0 border-r border-b-0 border-l-0 border-solid border-r-control-color bg-option-content-bg text-option-content-color overflow-hidden items-center justify-center text-[16px] cursor-pointer transition-[background-color] duration-200 ease-linear delay-[0s] first:rounded-tl-[4px] first:rounded-bl-[4px] last:border-r-0 last:rounded-tr-[4px] last:rounded-br-[4px]",{"brz-ed-control__radio-group2__item--active flex m-0 !bg-brand-primary":e.props.active});return i.default.createElement("div",{className:n,key:t,onClick:()=>o(e.props.value),title:e.props.title},e)})))}},3449:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Range:function(){return l},default:function(){return s}});const r=a(o(27378)),i=a(o(60042)),n=o(50116);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{className:t,min:o,max:a,step:l,startPointer:s,finishPointer:c,allowCross:d,handle:u,railStyle:p,onChange:f}=e;const m=(0,i.default)("brz-ed-control__range",t);return r.default.createElement("div",{className:m},r.default.createElement(n.Range,{count:1,defaultValue:[s,c],min:o,max:a,step:l,allowCross:d,handle:u,railStyle:p,onChange:f}))},s=l},48995:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RangeSlider",{enumerable:!0,get:function(){return d}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(95752),l=o(28502),s=o(78438);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e){let{start:t,end:o,unit:i,onChangeStart:c,onChangeEnd:d,className:u,min:p,max:f,step:m,startLabel:y,endLabel:g}=e;const b=(0,n.useCallback)((e=>c((0,s.clamp)(e,p,o))),[c,o,p]),h=(0,n.useCallback)((e=>d((0,s.clamp)(e,t,f))),[d,f,t]),v=100*t/f,S=100*o/f;return n.default.createElement("div",{className:(0,r.default)("brz-ed__control--range-slider",u)},y?n.default.createElement(l.Label,{className:"brz-ed__control--range-slider__left-label"},y):null,n.default.createElement("div",{className:"brz-ed__control--range-slider__inputs"},n.default.createElement("div",{className:"brz-ed__control--range-slider__sliders"},n.default.createElement(a.Slider2,{value:t,onChange:b,step:m,min:p,max:f}),n.default.createElement(a.Slider2,{className:"brz-ed__control--range-slider__to",value:o,onChange:h,step:m,min:p,max:f})),n.default.createElement("div",{className:"brz-ed__control--range-slider__values"},n.default.createElement("span",{className:"brz-ed__control--range-slider__values__from",style:{marginLeft:`calc(${v}% - 9px)`}},t,i),n.default.createElement("span",{className:"brz-ed__control--range-slider__values__to",style:{marginRight:`calc(100% - ${S}% - 9px)`}},o,i))),g?n.default.createElement(l.Label,{className:"brz-ed__control--range-slider__right-label"},g):null)}},12317:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=m(o(60042)),i=m(o(71502)),n=m(o(6676)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),l=o(84989),s=o(70634),c=m(o(10301)),d=m(o(33364)),u=m(o(21107)),p=o(81300),f=o(64985);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}const g=(e,t,o,r)=>{const i=t*o,n=t*r,a=e*t;return Math.max(i,Math.min(n,a))};class b extends a.Component{state={inputValue:""};selectRef=a.default.createRef();inputRef=a.default.createRef();handleChange=(e,t)=>{let{isOpen:o}=t;const{isMultiple:r,value:i,onChange:n}=this.props;if(r){if(o||this.setState({inputValue:""}),c.default.has(e,"value")){const t=Array.isArray(i)?i:[];n((0,s.addLast)(t,e.value))}}else e&&"label"in e&&(this.setState({inputValue:e.value}),n(e))};handleInputChange=e=>{this.setState({inputValue:e.target.value})};handleRemoveTag=e=>{const{value:t,onChange:o}=this.props;Array.isArray(t)&&o((0,s.removeAt)(t,e))};handleInputKeyDown=e=>{const{value:t,isMultiple:o,onChange:r}=this.props;o&&Array.isArray(t)&&"Backspace"===e.code&&!this.state.inputValue&&r((0,s.removeLast)(t))};itemToString(e){return e?e.label:""}renderTags(e){return Array.isArray(e)?e.map(((e,t)=>a.default.createElement("div",{key:t,className:"brz-control__select2-tag"},e,a.default.createElement(d.default,{icon:"nc-trash",onClick:()=>{this.handleRemoveTag(t)}})))):null}renderInput(e){const{isMultiple:t,selectedItem:o,isOpen:r,toggleMenu:i,inputProps:n}=e,s=t?"brz-control__select2-value-container-tag":"brz-control__select2-value-container";return a.default.createElement(l.Reference,null,(e=>{let{ref:l}=e;return a.default.createElement("div",{ref:l,className:s,onClick:()=>{i(),!r&&this.inputRef.current?.focus()}},t&&Array.isArray(o)&&this.renderTags(o),a.default.createElement("input",{...n,className:"brz-input brz-control__select2-value"}))}))}renderDropdown(e){const{className:t,options:o,value:i,isMultiple:s,placement:c,isFixed:d,itemHeight:m=30,minItems:y=1,maxItems:b=5,isOpen:h,inputValue:v,highlightedIndex:S,selectedItem:w,getItemProps:x,getMenuProps:M}=e;if(!h)return;const T=Array.isArray(i)&&s?o.filter((e=>i.every((t=>t!==e.value)))):o,P=this.selectRef.current,C=P?.getBoundingClientRect().width,k=P?.ownerDocument.body,_=(0,r.default)("brz-ed-select2-portal",t),O=new n.default(T,["value"]);return k&&a.default.createElement(u.default,{node:k,className:_},a.default.createElement(l.Popper,{placement:c,strategy:d?"fixed":"absolute"},(e=>{let{ref:t,style:o,placement:i}=e;const n=O.search(v).map(((e,t)=>a.default.createElement("li",{key:e.value,...x({index:t,item:e}),className:(0,r.default)("brz-li brz-control__select2-option",{"brz-control__select2-option--active":w===e.value||S===t})},e.value)));return a.default.createElement("div",{ref:t,style:{...o,width:C},className:"brz-control__select2-menu","data-placement":i},a.default.createElement(p.Scrollbar,{autoHeightMax:g(n.length,m,y,b),theme:"dark"},a.default.createElement("ul",{...M(),className:"brz-ul"},n.length>0?n:a.default.createElement("li",{className:"brz-li brz-control__select2-option"},(0,f.t)("Nothing Found")))))})))}render(){const{className:e,placeholder:t,isMultiple:o,value:n}=this.props,{inputValue:s}=this.state,c=(0,r.default)("brz-control__select2-container",e);return a.default.createElement("div",{ref:this.selectRef,className:c},a.default.createElement(l.Manager,null,a.default.createElement(i.default,{initialSelectedItem:n,selectedItem:n,onChange:this.handleChange,itemToString:this.itemToString},(e=>{let{getInputProps:r,getItemProps:i,getMenuProps:n,isOpen:l,highlightedIndex:c,selectedItem:d,toggleMenu:u}=e;return a.default.createElement("div",{className:"brz-control__select2"},this.renderInput({inputProps:r({ref:this.inputRef,placeholder:t,value:s,onKeyDown:this.handleInputKeyDown,onChange:this.handleInputChange}),isMultiple:o,selectedItem:d,isOpen:l,toggleMenu:u}),this.renderDropdown({...this.props,inputValue:s,isOpen:l,highlightedIndex:c,selectedItem:d,getMenuProps:n,getItemProps:i}))}))))}}const h=b},58694:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReloadButton",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),i=l(o(27378)),n=o(64985),a=o(44010);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{className:t,onClick:o}=e;return i.default.createElement(a.Button,{className:(0,r.default)("brz-ed-control__reload-button",t),icon:"nc-reverse",onClick:o},(0,n.t)("Replay Animation"))}},27080:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(33364));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{icon:t,title:o,onClick:n}=e;return r.default.createElement("div",{className:"brz-ed-control__right-sidebar-tabs__icon"},r.default.createElement(i.default,{icon:t,onClick:n}),r.default.createElement("div",{className:"brz-ed-control__right-sidebar-tabs__icon__tooltip"},o))}},56434:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RightSidebarTabs",{enumerable:!0,get:function(){return d}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(20116),l=o(27080),s=o(85179);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e){let{children:t,value:o,onChange:i,align:c,onAlign:d,locked:u,onLock:p}=e;const f=(0,n.useMemo)((()=>t.find((e=>e.props.value===o))??t[0]),[t,o]),m=(0,n.useMemo)((()=>f?n.default.createElement("div",{className:(0,r.default)("brz-ed-control__tab__content",f.props.className)},f.props.children):null),[f]);return n.default.createElement("div",{className:"brz-ed-control__right-sidebar-tabs"},n.default.createElement("div",{className:"brz-ed-control__right-sidebar-tabs__header"},n.default.createElement(a.TabList,{onChange:i,active:f?.props.value,align:"start",position:"top"},t),d&&n.default.createElement(l.Icon,{icon:(0,s.alignIcon)(c),title:(0,s.alignTitle)(c),onClick:d}),p&&n.default.createElement(l.Icon,{icon:(0,s.lockedIcon)(u),title:(0,s.lockedTitle)(u),onClick:p})),m)}},85179:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{alignIcon:function(){return i},alignTitle:function(){return n},lockedIcon:function(){return a},lockedTitle:function(){return l}});const r=o(64985),i=e=>{switch(e){case"right":return"nc-hrz-align-right";case"left":return"nc-hrz-align-left"}},n=e=>{switch(e){case"right":return(0,r.t)("Aligned Right");case"left":return(0,r.t)("Aligned Left")}},a=e=>{switch(e){case!0:return"nc-lock";case!1:return"nc-unlock"}},l=e=>{switch(e){case!0:return(0,r.t)("Locked");case!1:return(0,r.t)("Unlocked")}}},74521:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SavedBlock",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),i=a(o(27378)),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{onClick:t,className:o,title:a,tooltipContent:l,loading:s,icon:c}=e;const d=(0,r.default)("brz-ed-option__button","brz-ed-tooltip__content",o);return i.default.createElement("div",{className:d,title:a,onClick:t},l&&!s&&i.default.createElement("div",{className:"brz-ed-toolbar__item__tooltip"},l),s?i.default.createElement(n.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):i.default.createElement(n.default,{icon:c,className:"brz-ed-animated brz-ed-animated--fadeIn"}))}},65961:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(60042)),i=l(o(23615)),n=l(o(27378)),a=l(o(10301));function l(e){return e&&e.__esModule?e:{default:e}}class s extends n.default.Component{static propTypes={active:i.default.bool,selected:i.default.bool,title:i.default.string,disabled:i.default.bool,value:i.default.oneOfType([i.default.string,i.default.number]),onClick:i.default.func};static defaultProps={active:!1,selected:!1,title:"",disabled:!1,value:"",onClick:a.default.noop};getClassName(){return(0,r.default)("brz-control__select-option",{active:this.props.active,disabled:this.props.disabled})}render(){const{title:e,disabled:t,onClick:o,value:r,children:i}=this.props,a=t?()=>{}:o;return n.default.createElement("div",{className:this.getClassName(),title:e,"data-value":r,onClick:a},i)}}const c=s},53799:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}class n extends r.Component{static defaultProps={title:"",active:"",items:[]};render(){const{title:e,items:t,children:o}=this.props;return r.default.createElement("div",{title:e,className:"brz-control__select-optgroup"},r.default.createElement("div",{className:"brz-control__select-optgroup-label"},o),t)}}const a=n},97023:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),i=d(o(27378)),n=d(o(10301)),a=d(o(17882)),l=d(o(33364)),s=d(o(21107)),c=o(81300);function d(e){return e&&e.__esModule?e:{default:e}}o(73948);class u extends i.default.Component{static defaultProps={defaultValue:"",inputAttributes:{},labelType:"input",labelIcon:"nc-menu",minItems:1,maxItems:5,itemHeight:38,arrowIcon:"nc-arrow-down",inPortal:!1,clickOutsideExceptions:[],fullWidth:!1,onChange:n.default.noop};state={isOpen:!1,currentValue:this.props.defaultValue,position:"bottom-left"};componentDidMount(){this.props.inPortal||this.reposition()}static getDerivedStateFromProps(e,t){return t.defaultValue!==e.defaultValue?{currentValue:e.defaultValue}:null}getScrollPaneStyle(){const{children:e}=this.props,t=i.default.Children.count(e);let o=0;return i.default.Children.forEach(e,(e=>{if(e?.props){const{items:t}=e.props;t&&t.length&&(o+=t.length)}})),function(e,t,o,r){const i=t*o,n=t*r,a=e*t;return Math.max(i,Math.min(n,a))}(t+o,this.props.itemHeight,this.props.minItems,this.props.maxItems)}onClickOutside=()=>{this.state.isOpen&&this.setState({isOpen:!1})};handleItemClick=e=>{this.setState({isOpen:!1,currentValue:e}),this.props.onChange(e)};handleContentRef=e=>{this.content=e};handleDropdownNode=e=>{this.dropdown=e};handleLabelClick=()=>{this.setState({isOpen:!this.state.isOpen},(()=>{this.state.isOpen&&this.reposition()}))};reposition(){this.dropdown&&(this.isRepositioning=!0,this.dropdown.style.setProperty("opacity",1),this.setState({position:"bottom-left"},(()=>{const{bottom:e,right:t}=this.dropdown.getBoundingClientRect(),o=e>=window.innerHeight?"top":"bottom",r=t>=window.innerWidth?"right":"left";this.setState({position:`${o}-${r}`},(()=>{this.isRepositioning=!1}))})))}renderLabel(){const{labelType:e}=this.props;switch(e){case"icon":return this.renderLabelIcon();case"input":return this.renderLabelInput();default:throw new Error(`Invalid label type ${e}`)}}renderLabelIcon(){return i.default.createElement(l.default,{icon:this.props.labelIcon})}renderLabelInput(){const{children:e}=this.props,{currentValue:t}=this.state;let o;i.default.Children.forEach(e,(e=>{if(!e||o)return;const{items:r}=e.props;if(r&&r.length){const r=i.default.Children.toArray(e.props.items);o=r.find((e=>e.props.value===t))}else e.props.value===t&&(o=e)}));const r=i.default.createElement(l.default,{icon:"nc-stre-down",className:"brz-control__select--arrow"}),n=o||this.findFirstItem();return i.default.createElement(i.default.Fragment,null,i.default.cloneElement(n,{selected:!0}),r)}renderItems(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.children;const{currentValue:t}=this.state;return i.default.Children.map(e,((e,o)=>{if(!e)return null;const{value:r,disabled:n,items:a}=e.props;return a&&a.length?i.default.cloneElement(e,{key:o,items:this.renderItems(a)}):i.default.cloneElement(e,{key:o,active:r===t,onClick:n?null:()=>this.handleItemClick(r)})}))}renderDropDown(){const{inPortal:e,className:t}=this.props;if(this.state.isOpen&&!e)return i.default.createElement("div",{className:"brz-control__select-options",style:{opacity:0},ref:this.handleDropdownNode},i.default.createElement(c.Scrollbar,{autoHeightMax:this.getScrollPaneStyle(),theme:"light"},this.renderItems()));if(this.state.isOpen&&e){const{top:e,left:o,height:n,width:a}=this.content.getBoundingClientRect(),{scrollLeft:l}=this.content.ownerDocument.documentElement,d=(0,r.default)("brz-control__portal-select brz-control__select",t),u={top:e+n+3,left:o+l,width:a};return i.default.createElement(s.default,{node:this.content.ownerDocument.body,className:d},i.default.createElement("div",{className:"brz-control__select-options",style:u},i.default.createElement(c.Scrollbar,{autoHeightMax:this.getScrollPaneStyle(),theme:"light"},this.renderItems())))}}render(){const{className:e,labelType:t,currentValue:o,inputAttributes:n,fullWidth:l,clickOutsideExceptions:s}=this.props,{position:c,isOpen:d}=this.state,u=(0,r.default)("brz-control__select",`brz-control__select--${c}`,e,{opened:d,"brz-control__select--full-width":l}),p=[...s,".brz-control__portal-select"];return i.default.createElement(a.default,{exceptions:p,onClickOutside:this.onClickOutside},i.default.createElement("div",{className:u,ref:this.handleContentRef},i.default.createElement("div",{className:`brz-control__select-current brz-control__select-current__${t}`,onClick:this.handleLabelClick},this.renderLabel()),this.renderDropDown(),i.default.createElement("input",{type:"hidden",value:o,...n})))}findFirstItem(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.children;return i.default.Children.forEach(t,(t=>{if(!t||e)return;const{items:o}=t.props;e=o&&o.length?this.findFirstItem(o):t})),e}}const p=u},4234:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return h}});const r=m(o(60042)),i=m(o(71502)),n=g(o(27378)),a=o(27998),l=o(84989),s=o(10301),c=o(40076),d=m(o(33364)),u=g(o(59638)),p=o(22741),f=o(44054);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const b=e=>e?.ownerDocument?.defaultView||window;function h(e){let{className:t,placeholder:o="",children:m,tags:y,editable:g,size:h,onKeyDown:v,onType:S,onSelect:w,inputValue:x,scroll:M=5,onOpen:T}=e;const P=(0,n.useRef)(null),C=(0,n.useRef)(null),[k,_]=(0,n.useState)(0),[O,E]=(0,n.useState)(!1);(0,n.useEffect)((()=>_(0)),[m.length]);const z=e=>{let{scrollHeight:t}=e;k||_((0,f.dropdownHeight)(t,m.length,M))},B=(0,n.useCallback)((e=>(0,p.mCompose)(w,(0,s.property)("value"),(0,s.property)("props"))(e)),[w]);(0,n.useEffect)((()=>{E(!0)}),[]);const j=(0,r.default)("brz-ed-control__multiSelect",`brz-ed-control__multiSelect--size-${h}`,t);return n.default.createElement("div",{ref:P,className:j},n.default.createElement(l.Manager,null,n.default.createElement(i.default,{key:Number(O),environment:b(P.current),onChange:B,itemToString:e=>u.mRead(e?.key)},(e=>{let{openMenu:t,isOpen:r,getMenuProps:i,getItemProps:s}=e;const u=()=>{r||(T&&T(),t()),C.current?.focus()};return n.default.createElement("div",null,n.default.createElement(l.Reference,null,(e=>{let{ref:t}=e;return n.default.createElement("div",{ref:t,className:"brz-ed-control__multiSelect--value-container",onClick:()=>u()},y,g&&n.default.createElement("input",{placeholder:o,ref:C,value:x,size:x?.length||1,onChange:e=>{let{target:t}=e;S?.(t.value),u()},onKeyDown:v,onFocus:()=>{u()},className:"brz-input brz-ed-control__multiSelect--value"}),!g&&n.default.createElement(n.default.Fragment,null,0===y.length&&n.default.createElement("span",{className:"brz-ed-control__multiSelect--placeholder"},o),n.default.createElement(d.default,{icon:"nc-stre-down",className:"brz-control__select--arrow"})))})),n.default.createElement("div",{className:"brz-ed-control__multiSelect__menu-container"},n.default.createElement(l.Popper,null,(e=>{let{ref:t,style:o,placement:l}=e;if(!r)return null;const d=m.map(((e,t)=>{const o=s({item:e,key:t,disabled:e.props.disabled});return n.default.createElement(c.SelectItem,{key:t,...o,...e.props})}));return d.length?n.default.createElement("div",{ref:t,style:o,className:"brz-ed-control__multiSelect__menu","data-placement":l},n.default.createElement(a.Scrollbars,{onUpdate:z,autoHeight:!0,autoHeightMax:k,renderThumbVertical:e=>n.default.createElement("div",{className:"brz-ed-control__multiSelect__scroll-thumb",...e})},n.default.createElement("ul",{...i(),className:"brz-ul"},d))):null}))))}))))}},65989:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Item",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;function n(e){let{children:t}=e;return r.default.createElement(r.default.Fragment,null,t)}},39068:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Select",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(10301),n=o(4234),a=o(40076),l=o(52705),s=o(44054);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e){let{className:t,value:o,children:c,onChange:d,scroll:u,editable:p=!0,size:f="medium",placeholder:m="",hideSelected:y=!0,onOpen:g,inputValue:b,onInputChange:h}=e;const[v,S]=(0,r.useState)();(0,r.useEffect)((()=>{void 0!==v&&S(void 0)}),[c,v]);const w=e=>{d(o.filter((t=>t!==e)))},x=o.reduce(((e,t)=>{const o=c.find((e=>e.props.value===t));return void 0!==o&&e.push(r.default.createElement(l.Tag,{key:o.props.value,onRemove:()=>w(o.props.value)},o.props.children)),e}),[]);if(0===x.length){const[e]=c;x.push(r.default.createElement(l.Tag,{key:e.props.value,onRemove:()=>w(e.props.value)},e.props.children))}const M=c.filter((e=>{let{props:t}=e;return!(y&&o.includes(t.value))}));return r.default.createElement(n.Component,{className:t,placeholder:m,size:f,inputValue:b,tags:x,editable:p,scroll:u,onSelect:e=>{d((0,i.uniq)([...o,e])),h?.("")},onKeyDown:e=>{const t=e.key;switch(t){case"ArrowDown":case"ArrowUp":{const o=M.filter((e=>!e.props.disabled));if(o.length>0){const r=void 0!==v?(0,s.arrowFn)(t)(v,o.map((e=>e.props.value))):o[0].props.value;S(r),e.preventDefault()}break}case"Enter":void 0!==v&&(d((0,i.uniq)([...o,v])),h?.(""));break;case"Backspace":!b?.length&&o.length&&d((0,i.initial)(o))}},onType:h,onOpen:g},M.map((e=>{let{props:t}=e;return r.default.createElement(a.SelectItem,{...t,active:(i=t.value,v===i||o.includes(i)),key:t.value});var i})))}},40076:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SelectItem",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}function a(e){let{children:t,active:o,disabled:n,...a}=e;const l=(0,i.default)({"brz-ed-control__multiSelect__option":!0,"brz-ed-control__multiSelect__option--active":o,"brz-ed-control__multiSelect__option--disabled":n}),s="string"==typeof t?t:"";return r.default.createElement("li",{className:l,title:s,...a},t)}},52705:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tag",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(33364));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{onRemove:t,children:o}=e;const n="string"==typeof o?o:"";return r.default.createElement("div",{className:"brz-ed-control__multiSelect--tag"},r.default.createElement("div",{className:"brz-ed-control__multiSelect--tag--value",title:n},o),r.default.createElement(i.default,{icon:"nc-trash",onClick:t}))}},18624:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Select2",{enumerable:!0,get:function(){return d}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(10301),l=o(22741),s=o(39068);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e){let{value:t,onChange:o,children:i,className:c,...d}=e;const u=void 0!==t?[t]:[],p=(0,n.useCallback)((e=>(0,l.mCompose)(o,a.last)(e)),[o]);return n.default.createElement(s.Select,{...d,className:(0,r.default)(c,"brz-ed-control__select-single"),onChange:p,value:u,hideSelected:!1},i)}},44054:(e,t)=>{"use strict";function o(e){return e.props.value}function r(e,t){const r=t.map(o).indexOf(e);return r<0?void 0:r}function i(e,t){if(t.length<=1)return t[0]?t[0]:void 0;const o=t.indexOf(e);return-1===o?t[0]:0===o?t[t.length-1]:o>=t.length?t[t.length-2]:t[o-1]}function n(e,t){if(t.length<=1)return t[0]?t[0]:void 0;const o=t.indexOf(e);return-1===o||o>=t.length-1?t[0]:t[o+1]}function a(e,t,o){"function"==typeof t?t(o).then(e):e(t)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getValue:function(){return o},getIndex:function(){return r},prevValue:function(){return i},nextValue:function(){return n},apply:function(){return a},arrowFn:function(){return l},dropdownHeight:function(){return s}});const l=e=>"ArrowDown"===e?n:i,s=(e,t,o)=>t<=o?e:e/t*o},11735:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=l(o(10301)),n=l(o(60042)),a=l(o(50116));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static defaultProps={value:100,min:0,max:100,step:1,onChange:i.default.noop,onChangeEnd:i.default.noop};render(){const{className:e,value:t,min:o,max:i,step:l}=this.props,s=(0,n.default)("brz-ed-control__slider",e);return r.default.createElement("div",{className:s},r.default.createElement(a.default,{value:t,min:o,max:i,step:l,onChange:this.props.onChange,onAfterChange:this.props.onChangeEnd}))}}},95752:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Slider2",{enumerable:!0,get:function(){return d}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(73904),l=o(94306),s=o(22741);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{let{value:t,onChange:o,className:i,min:c,max:d,step:u}=e;const p=(0,n.useCallback)((e=>(0,s.mCompose)((e=>o(e,{editing:!0})),a.read,l.inputValue)(e)),[o]),f=(0,n.useCallback)((e=>(0,s.mCompose)((e=>o(e,{editing:!1})),a.read,l.inputValue)(e)),[o]);return n.default.createElement("input",{className:(0,r.default)("brz-input brz-ed-control--slider2",i),type:"range",value:t,min:c,max:d,step:u,onChange:p,onMouseUp:f})}},96101:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Spacer",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{space:t}=e;return r.default.createElement("div",{style:{paddingBottom:t}})}},10402:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Slider",{enumerable:!0,get:function(){return d}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(33779),l=o(73469),s=o(26318);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e){let{value:t,unit:o,onUnit:i,onValue:c,label:d,icon:u,units:p,min:f,max:m,step:y,className:g,title:b}=e;const h=(0,n.useMemo)((()=>({number:t,unit:o})),[t,o]),v=(0,n.useCallback)((e=>{e.number!==t&&c(e.number),e.unit!==o&&i(e.unit)}),[t,o,c,i]);return n.default.createElement(s.OptionWrapper,{className:(0,r.default)("brz-ed-option",g),display:"inline",title:b},n.default.createElement(l.OptionLabel,{label:d,icon:u}),n.default.createElement(a.NumberSlider,{value:h,onChange:v,step:y,min:f,max:m,units:p}))}},6086:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Spacing",{enumerable:!0,get:function(){return f}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(50987),l=o(61046),s=o(74224),c=o(26318),d=o(10402),u=o(89480);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e){let{className:t,label:o,type:i,value:p,onType:f,onValue:m,onUnit:y,units:g,getIcon:b,min:h,max:v,step:S}=e;const w=(0,n.useMemo)((()=>u.edges.reduce(((e,t)=>(e[t]={onValue:m.bind(null,t),onUnit:y.bind(null,t)},e)),{})),[m,y]);return n.default.createElement(a.Group,{className:(0,r.default)("brz-ed-control__spacing",t)},n.default.createElement(c.OptionWrapper,{display:"inline",className:"brz-ed-option"},o,n.default.createElement(l.RadioGroup2,{onChange:f},u.types.map((e=>n.default.createElement(s.Item,{key:e,icon:b(e),value:e,active:e===i}))))),"grouped"===i&&n.default.createElement(d.Slider,{value:p.all.number,unit:p.all.unit,onValue:w.all.onValue,onUnit:w.all.onUnit,units:g,step:S,min:h,max:v}),"ungrouped"===i&&Object.keys(p).filter((e=>"all"!==e)).map((e=>n.default.createElement(d.Slider,{key:e,icon:b(e),value:p[e].number,unit:p[e].unit,onValue:w[e].onValue,onUnit:w[e].onUnit,units:g,step:S,min:h,max:v}))))}},89480:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{edges:function(){return o},types:function(){return r}});const o=["all","top","right","bottom","left"],r=["grouped","ungrouped"]},52049:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=s(o(60042)),i=s(o(27378)),n=s(o(10301)),a=s(o(33364)),l=s(o(10944));function s(e){return e&&e.__esModule?e:{default:e}}class c extends i.default.Component{static defaultProps={className:"",min:0,max:10,step:1,value:1,onChange:n.default.noop};nodeRef=i.default.createRef();inputRef=i.default.createRef();mounted=!1;mouseDown=!1;timeoutId=null;intervalId=null;componentDidMount(){this.mounted=!0,this.nodeRef.current?.ownerDocument.addEventListener("mouseup",this.handleDocumentMouseUp)}componentWillUnmount(){this.mounted=!1,this.nodeRef.current?.ownerDocument.removeEventListener("mouseup",this.handleDocumentMouseUp),this.timeoutId&&clearTimeout(this.timeoutId),this.intervalId&&clearInterval(this.intervalId)}handleDocumentMouseUp=()=>{this.mouseDown&&(this.mouseDown=!1,this.timeoutId&&clearTimeout(this.timeoutId),this.intervalId&&clearInterval(this.intervalId))};handleIncrement=()=>{this.emulateNativeInput(this.handleIncrementCb)};handleIncrementCb=()=>{this.inputRef.current?.increment()};handleDecrement=()=>{this.emulateNativeInput(this.handleDecrementCb)};handleDecrementCb=()=>{this.inputRef.current?.decrement()};emulateNativeInput(e){e(),this.mouseDown=!0,this.timeoutId=setTimeout((()=>{this.mounted&&this.mouseDown&&(this.intervalId=setInterval((()=>{this.mounted&&this.mouseDown&&e()}),50))}),400)}render(){const{className:e,value:t,min:o,max:n,step:s,onChange:c}=this.props,d=(0,r.default)("brz-ed-control__stepper",e);return i.default.createElement("div",{ref:this.nodeRef,className:d},i.default.createElement("div",{className:"brz-ed-control__stepper--value"},i.default.createElement(l.default,{ref:this.inputRef,className:"brz-input brz-ed-control__input",value:t,min:o,max:n,step:s,onChange:c,handleDecrementCb:this.handleDecrementCb})),i.default.createElement("div",{className:"brz-ed-control__stepper--arrows"},i.default.createElement("div",{className:"brz-ed-control__stepper--up",onMouseDown:this.handleIncrement},i.default.createElement(a.default,{icon:"nc-stre-up"})),i.default.createElement("div",{className:"brz-ed-control__stepper--down",onMouseDown:this.handleDecrement},i.default.createElement(a.default,{icon:"nc-stre-down"}))))}}},1014:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Switch",{enumerable:!0,get:function(){return s}});const r=a(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e){let{className:t,value:o,onChange:a}=e;const l=(0,i.useCallback)((()=>a(!o)),[a,o]),s=(0,r.default)({[t||""]:!0,"brz-ed-control__switch":!0,"brz-ed-control__switch--on":o});return i.default.createElement("div",{className:s,onClick:l},i.default.createElement("label",{className:"brz-label brz-ed-control__switch-label"},i.default.createElement("span",{className:"brz-span brz-ed-control__switch-arrows"},i.default.createElement(n.default,{className:"brz-ed-control__switch--check",icon:"nc-check-small"}),i.default.createElement(n.default,{className:"brz-icon-svg brz-ed-control__switch--un-check",icon:"nc-remove"}),i.default.createElement("span",{className:"brz-span brz-ed-control__switch--handle"}))))}},47347:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;class n extends r.default.Component{render(){return this.props.children}}},75276:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=s(o(10301)),i=s(o(27378)),n=s(o(23615)),a=s(o(60042)),l=s(o(33364));function s(e){return e&&e.__esModule?e:{default:e}}class c extends i.default.Component{static propTypes={align:n.default.string,className:n.default.string,tabsClassName:n.default.string,tabsPosition:n.default.string,value:n.default.string,hideHandlesWhenOne:n.default.bool,onChange:n.default.func};static defaultProps={align:"",className:"",tabsClassName:"",tabsPosition:"top",value:"",hideHandlesWhenOne:!0,onChange:r.default.noop,helper:null};renderTabs=()=>{const{value:e,hideHandlesWhenOne:t,align:o,tabsPosition:r,tabsClassName:n,children:s,onChange:c}=this.props,d=i.default.Children.toArray(s);if(0===d.length||1===d.length&&t)return null;const u=(0,a.default)("brz-ul brz-ed-control__tabs",`brz-justify-content-xs-${o}`,`brz-ed-control__tabs__${r}`,n),p=d.map(((t,o)=>{const{icon:r,value:n,title:s,label:d}=t.props,u=(0,a.default)("brz-li brz-ed-control__tab",{"brz-ed-control__tab__icon":r,active:e===n});return i.default.createElement("li",{key:o,title:s,className:u,onClick:()=>c(n)},r&&i.default.createElement(l.default,{icon:r}),i.default.createElement("span",{className:"brz-span"},d))}));return i.default.createElement("ul",{className:u},p)};renderTabContent=()=>{const{value:e,tabsPosition:t,children:o}=this.props,r=i.default.Children.toArray(o),n=(0,a.default)("brz-ed-control__tab__content",`brz-ed-control__tabs__content__${t}`),l=r.find((t=>e===t.props.value));return l&&i.default.createElement("div",{className:n},l.props.children)};render(){return i.default.createElement("div",{className:this.props.className},this.props.helper,this.renderTabs(),this.renderTabContent())}}},59141:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Tabs:function(){return r.default},Tab:function(){return i.default}});const r=n(o(75276)),i=n(o(47347));function n(e){return e&&e.__esModule?e:{default:e}}},99897:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tab",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;function n(e){let{children:t}=e;return r.default.createElement(r.default.Fragment,null,t)}},20116:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TabList",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(60042)),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){let{className:t,active:o,onChange:a,align:l,position:s,children:c}=e;const d=(0,i.default)("brz-ul brz-ed-control__tabs",`brz-justify-content-xs-${l}`,`brz-ed-control__tabs__${s}`,t),u=c.map(((e,t)=>{const{icon:l,value:s,title:c,label:d}=e.props,u=(0,i.default)("brz-li brz-ed-control__tab",{"brz-ed-control__tab__icon":l,active:o===s});return r.default.createElement("li",{key:t,title:c,className:u,onClick:()=>a(s)},l&&r.default.createElement(n.default,{icon:l}),r.default.createElement("span",{className:"brz-span"},d))}));return r.default.createElement("ul",{className:d},u)}},41271:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tabs",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(60042)),n=o(20116);function a(e){return e&&e.__esModule?e:{default:e}}function l(e){let{className:t,showSingle:o,children:a,value:l,onChange:s,align:c,position:d}=e;const u=(0,i.default)("brz-ed-control__tabs-wrapper",t);if(0===a.length)return null;const p=a.length>1||o&&1===a.length,f=a.find((e=>e.props.value===l))??a[0],m=r.default.createElement("div",{className:(0,i.default)("brz-ed-control__tab__content",`brz-ed-control__tabs__content__${d}`,f.props.className)},f.props.children);return p?r.default.createElement("div",{className:u},r.default.createElement(n.TabList,{active:f.props.value,align:c,position:d,onChange:s},a),m):m}},66848:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TextEditor",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=l(o(10301)),n=l(o(60042)),a=o(64985);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static defaultProps={value:(0,a.t)("Editable Text"),tagName:"span",className:""};contentRef=r.default.createRef();unmounted=!1;lastNotifiedValue;shouldComponentUpdate(e){return void 0!==this.lastNotifiedValue&&this.lastNotifiedValue!==e.value||this.props.tagName!==e.tagName||this.props.className!==e.className}componentDidMount(){const e=this.contentRef.current;null!==e&&e.addEventListener("input",this.handleInput)}componentDidUpdate(){this.lastNotifiedValue=this.props.value;const e=this.contentRef.current;e&&e.textContent!==this.lastNotifiedValue&&(e.textContent=this.lastNotifiedValue??"")}componentWillUnmount(){this.unmounted=!0}handleClick=e=>{e.preventDefault();const t=this.contentRef.current;t?.classList.add("brz-ed-dd-cancel")};handleKeyDown=e=>{const t=e.which,o=e.metaKey||e.ctrlKey;13!==t&&(!o||66!==t&&73!==t&&85!==t)&&(!o||90!==t&&89!==t)||e.preventDefault()};handleInput=e=>{const t=e.currentTarget;t&&this.notifyChange(t.textContent||"")};notifyChange=i.default.debounce((e=>{this.unmounted||(this.lastNotifiedValue=e,this.props.onChange(e))}),1e3);handleBlur=()=>{this.contentRef.current?.classList.remove("brz-ed-dd-cancel")};handlePaste=e=>{e.preventDefault();const t=e.clipboardData.getData("text/plain");document.execCommand("insertHTML",!1,t)};render(){const{tagName:e,value:t,className:o}=this.props,i=(0,n.default)(o,`brz-${e}`,"brz-text__editor");return r.default.createElement(e,{ref:this.contentRef,className:i,contentEditable:!0,dangerouslySetInnerHTML:{__html:t},onClick:this.handleClick,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onBlur:this.handleBlur})}}},53550:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TextShadow",{enumerable:!0,get:function(){return f}});const r=d(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(45882),a=o(15011),l=d(o(2467)),s=o(65989),c=o(13928);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p={defaultIcon:"nc-shadow",icons:["nc-blur","nc-vertical","nc-horizontal"]};function f(e){let{value:t,onChange:o,options:d,...u}=e;const f=(0,r.default)("brz-ed-control__textShadow",u.className),m=(0,i.useCallback)(((e,r)=>{o({...t,...e,hex:e.hex,palette:e.palette},r)}),[o,t]),y=(0,i.useCallback)((e=>o({...t,hex:e},{isChanged:"hex"})),[o,t]),g=(0,i.useCallback)((e=>{const[r,i,n]=e,a=[t.blur,t.vertical,t.horizontal],l=(0,c.getModifiedField)(e,a);l&&o({...t,blur:r,vertical:i,horizontal:n},{isChanged:l})}),[o,t]),b=(0,i.useMemo)((()=>({hex:t.hex,opacity:t.opacity,select:t.select,palette:t.palette??""})),[t]),h=(0,i.useMemo)((()=>[t.blur,t.vertical,t.horizontal]),[t.blur,t.vertical,t.horizontal]);return i.default.createElement("div",{className:f},i.default.createElement(n.ColorPickerSelect,{onChange:m,value:b,opacity:u.opacity,palette:u.palette,paletteOpenSettings:u.paletteOpenSettings},d.map((e=>{let{id:t,title:o}=e;return i.default.createElement(s.Item,{value:t,key:t},i.default.createElement("span",null,o))}))),i.default.createElement(a.ColorPickerInputs,{value:t.hex,onChange:y},i.default.createElement(l.default,{config:p,value:h,onChange:g})))}},13928:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getModifiedField",{enumerable:!0,get:function(){return o}});const o=(e,t)=>{let[o,r,i]=e,[n,a,l]=t;return o!==n?"blur":r!==a?"vertical":i!==l?"horizontal":void 0}},30023:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Textarea",{enumerable:!0,get:function(){return c}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(94306),l=o(22741);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{className:t="",value:o,onChange:i,size:s="auto",placeholder:c="",rows:d=5}=e;const u="brz-ed-control__textarea2",p=(0,r.default)(u,t,`${u}--${s}`),f=(0,n.useCallback)((e=>(0,l.mCompose)(i,a.inputValue)(e)),[i]);return n.default.createElement("textarea",{rows:d,className:p,value:o,placeholder:c,onChange:f})}},80305:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{TooltipContent:function(){return c},default:function(){return d}});const r=s(o(60042)),i=s(o(27378)),n=o(84989),a=o(79521),l=o(78438);function s(e){return e&&e.__esModule?e:{default:e}}class c extends i.default.Component{static defaultProps={className:"",isOpen:!1,placement:"top",placementStyle:{},arrow:!0,arrowPlacement:"top",arrowPlacementStyle:{},size:void 0,offset:15,toolbar:void 0,inPortal:!1,node:void 0};isRepositioning;contentRef;constructor(e){super(e);const{placement:t,arrowPlacement:o}=e;this.state={placement:t??c.defaultProps.placement,placementStyle:c.defaultProps.placementStyle,arrowPlacement:o??c.defaultProps.arrowPlacement,arrowPlacementStyle:c.defaultProps.arrowPlacementStyle},this.isRepositioning=!1,this.contentRef=i.default.createRef()}componentDidMount(){const{isOpen:e,toolbar:t}=this.props;e&&t&&this.repositionByToolbar(t)}repositionByToolbar(e){const{toolbarRef:t,toolbarCSSPosition:o,toolbarItemIndex:r}=e,i=t.current,n=i?.querySelector(`.brz-ed-toolbar__items > .brz-ed-toolbar__item:nth-child(${r})`),s=n?.getBoundingClientRect();if(!(t.current&&this.contentRef.current&&s&&i))return;const c=document.documentElement.clientWidth,d=document.documentElement.clientHeight,u=document.documentElement.scrollTop,p=document.documentElement.classList.contains("brz-ow-hidden"),f=(0,a.getPosition)(),m=i.getBoundingClientRect(),y=this.contentRef.current.getBoundingClientRect(),g=(p?0:u)+m.bottom+14+Math.max(y.height,300)<=(p?d:Math.max(d,document.body.clientHeight)),b=(p?0:u)+m.top-14-y.height>=0,h="fixed"===o?0:u;let v={};const S=()=>{const e=c-y.width-31,t=s.left+s.width/2-y.width/2;return(0,l.clamp)(t,31,e)},w=()=>{const e=`calc(100% - ${h}px - ${m.top}px + 14px)`;v={position:o,top:"unset",bottom:e,left:S()}},x=()=>{const e=h+m.top+m.height+14;v={position:o,top:e,left:S()}};let M;"above"===f&&(b?(M="above",w()):(M="below",x())),"below"===f&&(g?(M="below",x()):(M="above",w()));const T="above"===M?"top":"bottom",P=31===S()?s.width-21:s.width/2,C={left:s.left+P-(Number(v.left)||0)};this.isRepositioning=!0,this.setState({placementStyle:v,arrowPlacement:T,arrowPlacementStyle:C},(()=>this.isRepositioning=!1))}renderInToolbar(){const{className:e,isOpen:t,size:o,arrow:n,children:a}=this.props,{placementStyle:l,arrowPlacement:s,arrowPlacementStyle:c}=this.state,d=(0,r.default)("brz-ed-animated brz-ed-animated--fadeInUp","brz-ed-tooltip__overlay",{[`brz-ed-tooltip--${o}`]:o},{"brz-invisible":!t},e),u=(0,r.default)("brz-ed-arrow",`brz-ed-arrow--${s}`);return i.default.createElement("div",{ref:this.contentRef,className:d,style:l},n&&i.default.createElement("div",{className:u,style:c}),a)}renderSimple(){const{className:e,size:t,arrow:o,node:a,placement:l,offset:s,children:c}=this.props,d=(0,r.default)("brz-ed-animated brz-ed-animated--fadeInUp","brz-ed-tooltip__overlay",{[`brz-ed-tooltip--${t}`]:t},e);return i.default.createElement(n.Popper,{referenceElement:a,placement:l,modifiers:[{name:"offset",options:{offset:[0,s]}},{name:"computeStyles",options:{gpuAcceleration:!1}}]},(e=>{let{ref:t,style:r,arrowProps:n,placement:a}=e;return i.default.createElement("div",{ref:t,className:d,style:r},o&&i.default.createElement("div",{className:`brz-ed-arrow brz-ed-arrow--${a}`,ref:n.ref,style:{...n.style,margin:"0"}}),c)}))}render(){return this.props.toolbar?this.renderInToolbar():this.renderSimple()}}const d=c},9408:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TooltipItem",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{className:t,children:o,onClick:n}=e,a=(0,i.default)("brz-ed-tooltip__item",t);return r.default.createElement("div",{className:a,onClick:n},o)}},1424:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getCurrentTooltip:function(){return f},TooltipItem:function(){return d.TooltipItem},Tooltip:function(){return m},default:function(){return y}});const r=u(o(60042)),i=u(o(27378)),n=o(84989),a=u(o(10301)),l=u(o(17882)),s=u(o(21107)),c=o(80305),d=o(9408);function u(e){return e&&e.__esModule?e:{default:e}}const p=[],f=()=>p[p.length-1];class m extends i.default.Component{static defaultProps={arrow:!0,placement:"top",openOnClick:!0,closeDelay:0,overlay:"",size:void 0,offset:15,toolbar:void 0,inPortal:!1,portalNode:void 0,clickOutsideExceptions:[],nodeRef:void 0,onOpen:()=>{},onClose:()=>{}};state={isOpen:!1,isHidden:!1,needClose:!1};contentRef=i.default.createRef();timeout;componentWillUnmount(){const e=p.indexOf(this);-1!==e&&p.splice(e),clearTimeout(this.timeout)}handleClickOutside=()=>{const{isOpen:e}=this.state;e&&this.close()};handleContentClick=()=>{const{isOpen:e,isHidden:t}=this.state;e?t?this.show():this.close():this.open()};handleMouseEnter=()=>{this.setState({needClose:!1}),this.open()};handleMouseLeave=()=>{this.setState({needClose:!0}),this.timeout=setTimeout((()=>{this.state.needClose&&this.close()}),this.props.closeDelay)};open(){const{isOpen:e}=this.state;e||this.setState({isOpen:!0},(()=>{p.push(this),this.props.onOpen?.()}))}close(){const{isOpen:e}=this.state;e&&this.setState({isOpen:!1},(()=>{p.pop(),this.props.onClose?.()}))}show(){const{isHidden:e}=this.state;e&&this.setState({isHidden:!1})}hide(){const{isHidden:e}=this.state;e||this.setState({isHidden:!0})}reposition(){this.forceUpdate()}renderOverlay(){const{isOpen:e,isHidden:t}=this.state;if(!e)return null;const{overlayClassName:o,nodeRef:n,overlay:a,arrow:l,placement:d,size:u,offset:p,toolbar:f,inPortal:m,portalNode:y}=this.props,g=n&&n.current||this.contentRef.current,b=y||g?.ownerDocument.body,h=i.default.createElement(c.TooltipContent,{className:o,node:g??void 0,arrow:l,placement:d,size:u,offset:p,isOpen:e,toolbar:f,inPortal:m},a);return(m||f)&&b?i.default.createElement(s.default,{node:b,className:(0,r.default)("brz-reset-all","brz-ed-tooltip__content-portal",{"brz-invisible":t})},h):h}renderInToolbar(){const{title:e,children:t,openOnClick:o}=this.props;return i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{title:e,ref:this.contentRef,className:"brz-ed-tooltip__content",onClick:o?this.handleContentClick:a.default.noop},t),this.renderOverlay())}renderSimple(){const{title:e,children:t,openOnClick:o}=this.props;return i.default.createElement(n.Manager,null,i.default.createElement(n.Reference,null,(()=>i.default.createElement("div",{title:e,ref:this.contentRef,className:"brz-ed-tooltip__content",onClick:o?this.handleContentClick:a.default.noop},t))),this.renderOverlay())}render(){const{toolbar:e,openOnClick:t,className:o,clickOutsideExceptions:n}=this.props,s=(0,r.default)("brz-ed-tooltip",{"brz-ed-tooltip__static":!e},{"brz-ed-tooltip--opened":this.state.isOpen},o),c=[...n??[],".brz-ed-tooltip__content-portal",".brz-ed-eyeDropper"];return i.default.createElement(l.default,{onClickOutside:this.handleClickOutside,exceptions:c},i.default.createElement("div",{className:s,onMouseEnter:t?a.default.noop:this.handleMouseEnter,onMouseLeave:t?a.default.noop:this.handleMouseLeave},e?this.renderInToolbar():this.renderSimple()))}}const y=m},97183:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FontStyle",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(65989),a=o(18624),l=d(o(33364)),s=d(o(22546)),c=o(62762);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=e=>{let{className:t,styles:o,openSettings:d,onChange:u,value:p}=e;const f=(0,r.default)("brz-ed-control__font-style",t),m=(0,i.useMemo)((()=>{const e=s.default.getAll();return(0,c.isCloud)(e)&&(0,c.isShopify)(e)}),[]);return i.default.createElement("div",{className:f},i.default.createElement(a.Select2,{value:p,onChange:u,editable:!1,size:"medium"},o.map((e=>{let{id:t,title:o}=e;return i.default.createElement(n.Item,{key:t,value:t},o)}))),!m&&d&&i.default.createElement("div",{className:"brz-ed-control__font-style--settings",onClick:d},i.default.createElement(l.default,{icon:"nc-cog"})))}},74458:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Typography",{enumerable:!0,get:function(){return y}});const r=f(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(76577),a=o(65989),l=o(18624),s=f(o(52049)),c=o(28502),d=f(o(22546)),u=o(16526),p=o(97183);function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}class y extends i.PureComponent{onFontFamily=e=>this.props.onChange(e,{isChanged:"fontFamily"});onFontStyle=e=>this.props.onChange(e,{isChanged:"fontStyle"});onFontSize=e=>this.props.onChange(e,{isChanged:"fontSize"});onFontSizeSuffix=e=>this.props.onChange(e,{isChanged:"fontSizeSuffix"});onFontWeight=e=>this.props.onChange(e,{isChanged:"fontWeight"});onLineHeight=e=>this.props.onChange(e,{isChanged:"lineHeight"});onLetterSpacing=e=>this.props.onChange(e,{isChanged:"letterSpacing"});render(){const{font:e,fonts:t,fontAdd:o,fontAddLabel:f,showFontFamily:m,styleLabel:y,style:g,styles:b,styleOpenSettings:h,sizeLabel:v,sizeSuffix:S,sizeSuffixes:w,sizeMin:x,sizeMax:M,sizeStep:T,size:P,weight:C,weights:k,weightLabel:_,lineHeight:O,lineHeightMax:E,lineHeightMin:z,lineHeightStep:B,lineHeightLabel:j,letterSpacing:N,letterSpacingMax:I,letterSpacingMin:L,letterSpacingStep:D,letterSpacingLabel:F,className:A}=this.props,R=(0,r.default)("brz-ed-control__typography",A,{"brz-ed-control__typography--style-only":!m});return i.default.createElement("div",{className:R},m&&i.default.createElement(n.FontFamily,{onChange:this.onFontFamily,value:e,fonts:t,addFont:o,addFontLabel:f}),i.default.createElement("div",{className:"brz-ed-control__typography-styles"},i.default.createElement("div",{className:"brz-ed__col brz-ed__col-1-1"},i.default.createElement(c.Label,null,y),i.default.createElement(p.FontStyle,{styles:b,openSettings:h,onChange:this.onFontStyle,value:g})),i.default.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},(0,u.isStory)(d.default.getAll())?i.default.createElement(c.Label,null,v):i.default.createElement("div",{className:"brz-control__typography-suffix"},i.default.createElement(c.Label,null,v),i.default.createElement(l.Select2,{value:S,onChange:this.onFontSizeSuffix,editable:!1,size:"short"},w.map((e=>{let{value:t,title:o}=e;return i.default.createElement(a.Item,{key:t,value:t},o)})))),i.default.createElement(s.default,{min:x,max:M,step:T,value:P,onChange:this.onFontSize})),i.default.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},i.default.createElement(c.Label,null,_),i.default.createElement(l.Select2,{value:C,onChange:this.onFontWeight,editable:!1,size:"auto"},k.map((e=>{let{value:t,title:o}=e;return i.default.createElement(a.Item,{key:t,value:t},o)})))),i.default.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},i.default.createElement(c.Label,null,j),i.default.createElement(s.default,{min:z,max:E,step:B,value:O,onChange:this.onLineHeight})),i.default.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},i.default.createElement(c.Label,null,F),i.default.createElement(s.default,{min:L,max:I,step:D,value:N,onChange:this.onLetterSpacing}))))}}},36275:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=n(o(27378)),i=n(o(31542));function n(e){return e&&e.__esModule?e:{default:e}}let a={};function l(e){return Object.entries(e).reduce(((e,t)=>{let[o,r]=t;return e+r.replace(/element/g,`[data-custom-id=${o}]`)}),"")}class s extends r.default.Component{static defaultProps={selectorName:"",css:""};componentWillUnmount(){const{selectorName:e}=this.props;delete a[e]}componentDidMount(){this.updateCSS()}updateCSS(){const{selectorName:e,css:t}=this.props,o=i.default.findDOMNode(this);if(a[e]===t)return;t?(o.setAttribute("data-custom-id",e),a[e]=t):(o.removeAttribute("data-custom-id",e),delete a[e]);let r=document.getElementById("custom-css");r?r.innerHTML=l(a):(r=document.createElement("style"),r.id="custom-css",r.innerHTML=l(a),document.head.appendChild(r))}componentDidUpdate(){this.updateCSS()}renderForEdit(){const{selectorName:e,css:t,children:o,...i}=this.props;return r.default.cloneElement(r.default.Children.only(o),i)}renderForView(){const{selectorName:e,css:t,children:o}=this.props;return r.default.createElement("div",{"data-custom-id":e,"data-custom-css":l({[e]:t})},r.default.Children.only(o))}render(){return this.renderForEdit()}}},84733:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{CustomTag:function(){return n},default:function(){return a}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=(e,t)=>{let{tagName:o,children:i,...n}=e;return r.default.createElement(o||"div",{...n,ref:t},i)},a=r.default.forwardRef(n)},62035:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(10301))&&n.__esModule?n:{default:n};var n;function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}function l(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Draggable:function(){return s},default:function(){return c}});const r=(i=o(65311))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>({x:e.clientX,y:e.clientY});class s extends n.default.Component{static defaultProps={active:!0};elRef=(0,n.createRef)();isMouseDown=!1;startPosition;currentPosition;lastDelta;componentDidMount(){this.props.active&&this.init()}componentDidUpdate(e){this.props.active!==e.active&&(this.props.active?this.init():this.destroy())}componentWillUnmount(){this.clearDragData()}init(){this.elRef.current?.addEventListener("mousedown",this.handleMouseDown)}destroy(){this.elRef.current?.removeEventListener("mousedown",this.handleMouseDown),this.cleanMouseEvents()}handleMouseDown=e=>{const t=this.props.exceptions??[];t.length&&e.target&&(0,r.default)(e.target).closest(t.join(", ")).length||(e.stopPropagation(),0===e.button&&this.initMouseEvents())};startDrag=e=>{const{draggingCursor:t,onDragStart:r}=this.props;o.g.BRZ_IS_DRAGGING=!0,this.isMouseDown=!0,this.currentPosition=this.startPosition=e,r?.(),this.initMouseEvents(),requestAnimationFrame(this.update);const i=document.querySelectorAll(".brz-ed-draggable-overlay");i.length&&i.forEach((e=>{e.style.willChange="pointer-events",e.style.pointerEvents="all",t&&(e.style.cursor=t)})),window.parent.document.body.classList.add("brz-pointer-events-none")};handleMouseMove=e=>{this.isMouseDown?(this.currentPosition=l(e),requestAnimationFrame(this.update)):this.startDrag(l(e))};handleMouseUp=()=>{this.cleanMouseEvents(),(this.isMouseDown||o.g.BRZ_IS_DRAGGING)&&(this.clearDragData(),this.props.onDragEnd?.())};clearDragData=()=>{const{draggingCursor:e}=this.props,t=document.querySelectorAll(".brz-ed-draggable-overlay");t.length&&t.forEach((t=>{t.style.willChange="",t.style.pointerEvents="none",e&&(t.style.cursor="auto")})),o.g.BRZ_IS_DRAGGING=!1,this.isMouseDown=!1,this.startPosition=void 0,this.lastDelta=void 0,window.parent.document.body.classList.remove("brz-pointer-events-none")};update=()=>{if(this.isMouseDown&&this.startPosition&&this.currentPosition){const e=this.currentPosition.x-this.startPosition.x,t=this.currentPosition.y-this.startPosition.y,{x:o,y:r}=this.lastDelta||{x:0,y:0};e===o&&t===r||(this.lastDelta={x:e,y:t},this.props.onDrag?.({deltaX:e,deltaY:t}))}};initMouseEvents=()=>{window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("mouseup",this.handleMouseUp)};cleanMouseEvents=()=>{window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("mouseup",this.handleMouseUp)};render(){const{children:e,active:t}=this.props;return e(this.elRef,t?"brz-ed-dd-cancel":void 0)}}const c=s},22730:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableDiv",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(60042)),n=a(o(61452));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{className:t,style:o,children:a,...l}=e;return r.default.createElement(n.default,l,((e,n)=>r.default.createElement("div",{ref:e,className:(0,i.default)("brz-ed-draggable",n,t),style:o},a)))}},91899:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableOverlay",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t}=e;const o=(0,i.default)("brz-ed-draggable-overlay",t);return r.default.createElement("div",{className:o})}},59447:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),n=(a=o(95664))&&a.__esModule?a:{default:a};var a;const l=o(97045),s=o(74215),c=o(76997);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}class u extends r.Component{handlePageChange=(e,t)=>{let{items:o}=e;this.props.reduxDispatch((0,s.updateBlocks)({blocks:o,meta:t}))};render(){const{Page:e}=n.default.getComponents(),{reduxState:t,reduxDispatch:o}=this.props,i=(0,l.pageDataDraftBlocksSelector)(t);return r.default.createElement(e,{dbValue:i,reduxState:t,reduxDispatch:o,onChange:this.handlePageChange})}}const p=(0,i.connect)((e=>({reduxState:e})),(e=>({reduxDispatch:e})),null,{areStatesEqual:c.areStatesEqual})(u)},5298:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),n=d(o(22546)),a=d(o(95664)),l=o(74215),s=o(97045),c=o(76997);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends r.Component{componentDidMount(){document.body.classList.add("brz-ow-hidden","brz-height--100vh")}handlePageChange=(e,t)=>{let{items:o}=e;this.props.reduxDispatch((0,l.updateBlocks)({blocks:o,meta:t}))};render(){const e=n.default.getAll(),{backgroundPreviewUrl:t}=e.ui.popupSettings,{PagePopup:o}=a.default.getComponents(),{reduxState:i,reduxDispatch:l}=this.props,c=(0,s.pageBlocksSelector)(i);return r.default.createElement(r.Fragment,null,Boolean(c.length)&&r.default.createElement("iframe",{id:"brz-ed-home-page",src:t,title:"popup"}),r.default.createElement(o,{dbValue:{items:c},reduxState:i,reduxDispatch:l,onChange:this.handlePageChange}))}}const f=(0,i.connect)((e=>({reduxState:e})),(e=>({reduxDispatch:e})),null,{areStatesEqual:c.areStatesEqual})(p)},33237:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),n=d(o(95664)),a=d(o(22546)),l=o(97045),s=o(74215),c=o(76997);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends r.Component{handlePageChange=(e,t)=>{let{items:o}=e;this.props.reduxDispatch((0,s.updateBlocks)({blocks:o,meta:t}))};render(){const{PageStory:e}=n.default.getComponents(),{reduxState:t,reduxDispatch:o}=this.props,{pagePreview:i}=a.default.get("urls"),s=(0,l.pageBlocksSelector)(t);return r.default.createElement(r.Fragment,null,Boolean(s.length)&&r.default.createElement("iframe",{id:"brz-ed-home-page",src:i,title:"story"}),r.default.createElement(e,{dbValue:{items:s},reduxState:t,reduxDispatch:o,onChange:this.handlePageChange}))}}const f=(0,i.connect)((e=>({reduxState:e})),(e=>({reduxDispatch:e})),null,{areStatesEqual:c.areStatesEqual})(p)},8136:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=b(o(27378)),i=o(55190),n=b(o(5778)),a=b(o(24072)),l=o(79541),s=b(o(62948)),c=b(o(21107)),d=b(o(92823)),u=o(91759),p=b(o(22546)),f=o(16526),m=b(o(59447)),y=b(o(5298)),g=b(o(33237));function b(e){return e&&e.__esModule?e:{default:e}}class h extends r.default.Component{parentWindowDocument=window.parent.document;handleKeyDown(){d.default.open({mode:"stack",prompt:"keyHelper"})}getRenderType(e){return(0,f.isPopup)(e)?"popup":(0,f.isStory)(e)?"story":"basic"}getEditor(){switch(this.getRenderType(p.default.getAll())){case"basic":return r.default.createElement(m.default,null);case"popup":return r.default.createElement(y.default,null);case"story":return r.default.createElement(g.default,null)}}render(){return r.default.createElement(r.default.Fragment,null,this.getEditor(),r.default.createElement(c.default,{node:this.parentWindowDocument.body},r.default.createElement(l.LeftSidebar,null)),r.default.createElement(c.default,{node:this.parentWindowDocument.body},r.default.createElement(u.RightSidebar,null)),r.default.createElement(c.default,{node:this.parentWindowDocument.body},r.default.createElement(n.default,null)),r.default.createElement(c.default,{node:this.parentWindowDocument.body},r.default.createElement(d.default,null)),r.default.createElement(c.default,{node:this.parentWindowDocument.body},r.default.createElement(s.default,null)),r.default.createElement(a.default,{keyNames:["ctrl+/","cmd+/","right_cmd+/"],id:"key-helper-editor",onKeyDown:this.handleKeyDown}),r.default.createElement(c.default,{node:this.parentWindowDocument.body},r.default.createElement(i.ToastContainer,null)))}}const v=h},76997:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"areStatesEqual",{enumerable:!0,get:function(){return o}});const o=(e,t)=>e.blocksOrder===t.blocksOrder&&e.blocksData===t.blocksData&&e.globalBlocks===t.globalBlocks&&e.fonts===t.fonts&&e.project.data.font===t.project.data.font},68021:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return L}});const r=o(62474),i=o(65300),n=o(76817),a=o(2296),l=o(19416),s=o(61110),c=o(88926),d=o(95133),u=o(35313),p=o(52777),f=o(65760),m=o(19727),y=o(82951),g=o(27925),b=o(59690),h=o(76217),v=o(88237),S=o(162),w=o(93531),x=o(86664),M=o(43669),T=o(961),P=o(34946),C=o(62336),k=o(64850),_=o(89079),O=o(52740),E=o(86417),z=o(21503),B=(j=o(27378))&&j.__esModule?j:{default:j};var j;const N={"t2-sermon-list":z.MinistryBrandsSermonList,"t2-sermon-detail":_.MinistryBrandsSermonDetail,"t2-sermon-featured":O.MinistryBrandsSermonFeatured,"t2-sermon-layout":E.MinistryBrandsSermonLayout,"t2-event-list":x.MinistryBrandsEventList,"t2-event-detail":v.MinistryBrandsEventDetail,"t2-event-featured":S.MinistryBrandsEventFeatured,"t2-event-layout":w.MinistryBrandsEventLayout,"t2-event-calendar":h.MinistryBrandsEventCalendar,"t2-group-list":C.MinistryBrandsGroupList,"t2-group-detail":M.MinistryBrandsGroupDetail,"t2-group-featured":T.MinistryBrandsGroupFeatured,"t2-group-slider":k.MinistryBrandsGroupSlider,"t2-group-layout":P.MinistryBrandsGroupLayout,"t2-shopify-price-style1":a.ShopifyPriceStyle1,"t2-shopify-price-style2":l.ShopifyPriceStyle2,"t2-shopify-price-style3":s.ShopifyPriceStyle3,"t2-shopify-list":r.ShopifyList,"t2-shopify-meta":i.ShopifyMeta,"t2-shopify-metafield":n.ShopifyMetafield,"t2-shopify-quantity":c.ShopifyQuantity,"t2-shopify-quantity-style1":d.ShopifyQuantityStyle1,"t2-shopify-quantity-style2":u.ShopifyQuantityStyle2,"t2-shopify-variant":p.ShopifyVariant,"t2-shopify-vendor":g.ShopifyVendor,"t2-shopify-view-details":b.ShopifyViewDetails,"t2-shopify-variant-style-select":y.ShopifyVariantStyleSelect,"t2-shopify-variant-style-radio":m.ShopifyVariantStyleRadio,"t2-shopify-variant-style-image":f.ShopifyVariantStyleImage},I=e=>{const{name:t,className:o,onClick:r,style:i}=e,n=N[t];return n?B.default.createElement(n,{className:o,style:i,onClick:r}):null};I.displayName="Icon";const L=I},33364:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{EditorIcon:function(){return u},default:function(){return p}});const r=s(o(95381)),i=s(o(60042)),n=s(o(27378)),a=s(o(10301)),l=o(84512);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=(0,r.default)((()=>Promise.resolve().then((()=>function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(68021)))))),u=e=>{const{className:t="",icon:o="nc-circle-add",style:r={},onClick:s=a.default.noop}=e,c=(0,i.default)("brz-icon-svg brz-ed-icon-svg align-[initial]",t);return o.startsWith("t2-")?n.default.createElement(d,{name:o,className:c,style:r,onClick:s}):n.default.createElement("svg",{className:c,onClick:s,style:r},n.default.createElement("use",{xlinkHref:(0,l.editorIconUrl)(o)}))},p=u},79119:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(10301),n=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(64985);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static defaultProps={onRemove:i.noop};state={error:null,errorInfo:null};componentDidCatch(e,t){this.setState({error:e,errorInfo:t})}handleRemoveClick=e=>{e.preventDefault(),this.props.onRemove()};renderForEdit(){const e=n.default.get("urls"),{errorInfo:t,error:o}=this.state,i={margin:"0 0.3em"};return t?r.default.createElement("div",{style:{minHeight:"200px",backgroundColor:"lightgray",display:"flex",justifyContent:"center",alignItems:"center"}},r.default.createElement("div",{style:{textAlign:"center",lineHeight:"2em"}},r.default.createElement("span",{className:"brz-span"},(0,l.t)("An error happened while trying to display this element")),r.default.createElement("br",{className:"brz-br"}),r.default.createElement("span",{className:"brz-span"},(0,l.t)("You can"),r.default.createElement("a",{className:"brz-a",href:e.support,target:"_blank",rel:"noopener noreferrer",style:i},(0,l.t)("open an issue")),(0,l.t)("or"),r.default.createElement("a",{className:"brz-a",href:"#",style:i,onClick:this.handleRemoveClick},(0,l.t)("remove this element"))),!1)):this.props.children}renderForView(){try{return this.props.children}catch(e){return null}}render(){return this.renderForEdit()}}const d=c},23106:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EyeDropper",{enumerable:!0,get:function(){return w}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=o(47885),a=S(o(27378)),l=o(31542),s=o(34143),c=o(11717),d=o(33364),u=o(32625),p=o(67808),f=o(67138),m=o(404),y=o(49863),g=o(21486),b=S(o(89531)),h=o(84709);function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const w=e=>{let{onPick:t}=e;const[o,i]=(0,a.useState)(b.idle()),v=(0,a.useRef)(null),S=(0,a.useRef)({x:0,y:0}),w=(0,a.useRef)({x:0,y:0}),x=(0,a.useRef)(null),M=(0,a.useCallback)((e=>{switch(o.type){case b.Type.Idle:case b.Type.Loading:return o;case b.Type.Active:{const t=o.context.c2d.getImageData(e.x+Math.abs(S.current.x),e.y+Math.abs(S.current.y),1,1).data,r=(0,m.fromRgb)([t[0],t[1],t[2]]);x.current=r,null!==v.current&&(v.current.style.backgroundColor=r)}}}),[o]),[,T]=(0,u.useThrottleOnChange)(w.current,M,50),P=(0,a.useCallback)((e=>{w.current={x:e.clientX,y:e.clientY},(()=>{if(null!==v.current){const e=w.current.x,t=w.current.y;v.current.style.transform=`translate(${e}px, ${t}px)`}})(),T(w.current)}),[T]),C=e=>S.current=e;(0,a.useEffect)((()=>{const e=[...f.SectionPopupInstances.values(),...p.SectionPopup2Instances.values()],t=e.find((e=>e.state.isOpened))?.el.children[0]??document.getElementById("brz-ed-page__blocks");t&&i(b.loading({node:t}))}),[]);const k=(0,a.useCallback)((e=>{e.stopPropagation(),x.current&&t(x.current)}),[t]);switch((0,a.useEffect)((()=>{switch(o.type){case b.Type.Idle:return;case b.Type.Loading:case b.Type.Active:{const e=e=>{e.stopPropagation(),x.current&&t(x.current)};return o.context.node.addEventListener("click",e),()=>{o.context.node.removeEventListener("click",e)}}}}),[t,o]),(0,a.useEffect)((()=>{switch(o.type){case b.Type.Idle:return;case b.Type.Loading:case b.Type.Active:{C((0,h.scrollValue)(o));const e=(0,s.fromEvent)(window,"scroll").pipe((0,c.debounceTime)(100),(0,c.map)((()=>(0,h.scrollValue)(o)))).subscribe(C),t=(0,s.from)((0,g.browserSupports)()).pipe((0,c.switchMap)((()=>(0,s.from)((0,g.makeNodeScreenshot)(o.context.node,{maxWidth:1e4})).pipe((0,c.switchMap)((e=>{let{src:t}=e;const o=document.createElement("img");return o.src=t,(0,s.fromEvent)(o,"load").pipe((0,c.map)((()=>{const e=o.width,t=o.height,r=document.createElement("canvas"),i=r.getContext("2d");return r.width=e,r.height=t,i?.drawImage(o,0,0,e,t),i})))}))))),(0,c.filter)(n.isT),(0,c.catchError)((0,y.always)(s.EMPTY))).subscribe((e=>i(b.active({...o.context,c2d:e}))));return()=>{e.unsubscribe(),t.unsubscribe()}}}}),[o]),o.type){case b.Type.Idle:return null;case b.Type.Loading:case b.Type.Active:return(0,l.createPortal)(a.default.createElement("div",{onClick:k,onMouseMove:P,className:(0,r.default)(h.nodeClasses[o.type])},a.default.createElement("span",{style:{transform:`translate(${w.current.x}px, ${w.current.y}px)`},className:"brz-ed-eyeDropper--cursor",ref:v},a.default.createElement(d.EditorIcon,{className:"icon",icon:"eye-dropper"}))),document.body)}}},89531:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Type:function(){return o},idle:function(){return r},loading:function(){return i},active:function(){return n},isPreload:function(){return a},isLoaded:function(){return l}}),function(e){e.Idle="Idle",e.Loading="Loading",e.Active="Active"}(o||(o={}));const r=()=>({type:o.Idle}),i=e=>({type:o.Loading,context:e}),n=e=>({type:o.Active,context:e}),a=e=>[o.Idle,o.Loading].includes(e.type),l=e=>e.type===o.Active},84709:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{nodeClasses:function(){return i},scrollValue:function(){return n}});const r=o(89531),i={Idle:[],Loading:["brz-ed-eyeDropper","loading"],Active:["brz-ed-eyeDropper","active"]},n=e=>{switch(e.type){case r.Type.Idle:return{x:0,y:0};case r.Type.Loading:case r.Type.Active:{const t=e.context.node.getBoundingClientRect();return{x:t.left,y:t.top}}}}},42168:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(71211));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}class l extends r.default.Component{static defaultProps={appId:"",type:"",data:{}};renderForEdit(){const{appId:e,type:t,data:o}=this.props,i=n[t],a=n.FacebookProvider;return r.default.createElement(a,{appId:e},r.default.createElement(i,o))}renderForView(){const{appId:e,type:t,data:o}=this.props;return r.default.createElement("div",{...o,className:`brz-facebook fb-${t.toLocaleLowerCase()}`,appid:e})}render(){return this.renderForEdit()}}const s=l},64644:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FatIconsGrid",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{children:t}=e;return r.default.createElement("div",{className:"brz-ed--fat-icons-grid grid grid-cols-[auto_auto_auto] gap-[12px_20px]"},t)}},15076:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(3961);let a={},l=[];class s extends r.default.Component{static defaultProps={id:null,items:[],shouldKeyDownHandle:()=>!0,shouldKeyUpHandle:()=>!0,filterItems:e=>e};componentDidMount(){const{items:e}=this.props;0===Object.keys(a).length&&(document.addEventListener("keyup",this.handleKeyUp),document.addEventListener("keydown",this.handleKeyDown),window.parent.document.addEventListener("keyup",this.handleKeyUp),window.parent.document.addEventListener("keydown",this.handleKeyDown),window.addEventListener("blur",this.handleBlur),window.parent.addEventListener("blur",this.handleBlur)),e.forEach((e=>{let{keyNames:t,...o}=e;const r=t.map((e=>e.split("+").map((e=>(0,n.toCode)(e))).join("+")));r.forEach(((e,r)=>{const i={...o,keyName:t[r]};if(a[e]){const t=a[e].findIndex((e=>{let{id:t}=e;return t===i.id}));-1===t?a[e].push(i):a[e][t]=i}else a[e]=[i]})),r.forEach(((e,r)=>{const i={...o,keyName:t[r]};a[e]?a[e].find((e=>{let{id:t}=e;return t===i.id}))||a[e].push(i):a[e]=[i]}))}))}componentWillUnmount(){const{id:e}=this.props;a=Object.entries(a).reduce(((t,o)=>{let[r,i]=o;return t[r]=i.filter((t=>t.id!==e)),0===t[r].length&&delete t[r],t}),{}),0===Object.keys(a).length&&(document.removeEventListener("keyup",this.handleKeyUp),document.removeEventListener("keydown",this.handleKeyDown),window.parent.document.removeEventListener("keyup",this.handleKeyUp),window.parent.document.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("blur",this.handleBlur),window.parent.removeEventListener("blur",this.handleBlur))}handleBlur=()=>{l=[]};handleKeyUp=e=>{this.handleChange(e),l=n._modifier["⌘"]===e.keyCode||n._modifier["right_⌘"]===e.keyCode||n._modifier.ctrl===e.keyCode?[]:l.filter((t=>t!==e.keyCode))};handleKeyDown=e=>{(l.includes(n._modifier["⌘"])||l.includes(n._modifier["right_⌘"]))&&(l=l.filter((e=>Object.values(n._modifier).includes(e)))),l.includes(e.keyCode)||(l.push(e.keyCode),this.handleChange(e))};handleChange(e){const t=l.join("+");if(a[t]){const o=this.props.filterItems(a[t]);"keydown"===e.type&&o.forEach((t=>{let{onKeyDown:o,onKeyUp:r,...i}=t;this.props.shouldKeyDownHandle(e,i)&&o(e,i)})),"keyup"===e.type&&o.forEach((t=>{let{onKeyDown:o,onKeyUp:r,...i}=t;return this.props.shouldKeyUpHandle(e,i)&&r(e,i)}))}}render(){return null}}const c=s},24072:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=o(13556),i=f(o(27378)),n=o(70634),a=o(46338),l=o(72599),s=f(o(22546)),c=o(97045),d=o(92213),u=o(16526),p=f(o(15076));function f(e){return e&&e.__esModule?e:{default:e}}const m=s.default.get("menuData"),y={duplicate:["ctrl+D","cmd+D","right_cmd+D"],copy:["ctrl+C","cmd+C","right_cmd+C"],paste:["ctrl+V","cmd+V","right_cmd+V"],pasteStyles:["ctrl+shift+V","shift+ctrl+V","cmd+shift+V","shift+cmd+V","right_cmd+shift+V","shift+right_cmd+V"],delete:["ctrl+del","cmd+del","right_cmd+del"],horizontalAlign:["ctrl+right","ctrl+left","cmd+right","cmd+left","right_cmd+right","right_cmd+left"],verticalAlign:["ctrl+up","ctrl+down","cmd+up","cmd+down","right_cmd+up","right_cmd+down"],showSidebarStyling:["ctrl+M","cmd+M","right_cmd+M"],showSidebarAdvanced:["ctrl+K","cmd+K","right_cmd+K"]},g=i.default.createContext({});class b extends i.default.Component{static contextType=g;contextValue={getParentContextMenuItems:this.getItems};handleFilterItems(e){if(e.length&&e[0].id.startsWith("key-helper")){const t=e.find((e=>"key-helper-toolbar-escape"===e.id));return t?[t]:e}const t=o.g.Brizy.activeEditorComponent;if(!t)return[];const r=t.getId(),i=(0,d.getStore)().getState(),a=(0,c.pageDataNoRefsSelector)(i),l=(0,c.copiedElementNoRefsSelector)(i),s=(0,u.createFullModelPath)(a,[r]),p=[...s],f=v(a);if(y.paste.includes(e[0].keyName)){const{value:t}=(0,u.getClosestParent)(s,f,(e=>{let{type:t}=e;return"Wrapper"===t||"Cloneable"===t}));if(t&&l.value){const{value:o}=(0,u.getClosestParent)(l.path,v(l.value),(e=>{let{type:t}=e;return"Wrapper"===t||"Cloneable"===t}));if(o&&("Cloneable"===o.type||"Cloneable"===t.type)&&o.value.items[0].type!==t.value.items[0].type){const o=e.find((e=>{let{id:o}=e;return o===t.value._id}));return o?[o]:[]}}}let m=[];for(let t=0;t<=s.length;t++){const t=(0,n.getIn)(f,p);if(t){const o=e.find((e=>{let{id:o}=e;return o===t._id}));if(o)return[o]}m.unshift(p.pop())}return[]}shouldShortCutHandle(e,t){let{keyName:o}=t;const r=y.delete.includes(o),i=y.paste.includes(o),n=y.copy.includes(o),a=r||i||n,l=e.target.closest("[contenteditable=true]")||e.target.closest("input")||e.target.closest("textarea");return!(e.target.closest([".brz-ed-sidebar__right","#brz-toolbar-portal",".brz-ed-tooltip__content-portal",".brz-ed-popup-integrations",".brz-ed-eyeDropper"].join(","))||l&&a)}getItems=()=>{let{children:e,shortcutsTypes:t=[],keyNames:o=[],...r}=this.props;const{getParentContextMenuItems:i}=this.context;let n={onKeyUp:()=>{},onKeyDown:()=>{},keyNames:[...(a=t,a.reduce(((e,t)=>(y[t]&&(e=[...e,...y[t]]),e)),[])),...o],...r};var a;return n=i?[n,...i()]:[n],n};render(){const{children:e,id:t}=this.props,o=this.getItems();return i.default.createElement(g.Provider,{value:this.contextValue},e,i.default.createElement(p.default,{items:o,id:t,shouldKeyDownHandle:this.shouldShortCutHandle,shouldKeyUpHandle:this.shouldShortCutHandle,filterItems:this.handleFilterItems}))}}const h=(0,a.rolesHOC)({allow:["admin"],component:b,fallbackComponent:e=>{let{children:t}=e;return t||null}});function v(e){return(0,u.mapModels)((e=>{const{type:t,value:o}=e;if("Menu"===t){const{menuSelected:t,symbols:i={}}=o,n=t||m[0].id,a=m.find((e=>e.id===n))||{};return(0,r.produce)(e,(e=>{e.value.items=(0,l.symbolsToItems)(a.items||[],i)}))}return e}),e)}},3961:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{_modifier:function(){return l},fromCode:function(){return d},toCode:function(){return u}});const r=(i=o(10301))&&i.__esModule?i:{default:i};var i;const n="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0,a={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,minus:n?173:189,plus:n?61:187,right_minus:109,right_plus:107,"-":n?173:189,"=":n?61:187,"⇪":20,",":188,".":190,"/":191,"`":192,";":n?59:186,"'":222,"[":219,"]":221,"\\":220},l={"⇧":16,shift:16,"⌥":18,option:18,alt:18,"⌃":17,control:17,ctrl:17,"⌘":n?224:91,cmd:n?224:91,command:n?224:91,"right_⌘":93,right_cmd:93,right_command:93},s=r.default.invert(a),c=r.default.invert(l),d=e=>s[e]||c[e]||String.fromCharCode(e).toUpperCase(),u=e=>a[e.toLowerCase()]||l[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)},72994:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Hover",{enumerable:!0,get:function(){return i}});const r=o(10301);class i{effects=void 0;controller=void 0;node=null;constructor({child:e,keyframes:t,options:o}){this.node=e,this.updateAnimation(t,o,e)}getRate(e){return"normal"===e?1:-1}play(e){this.controller&&(this.controller.playbackRate=this.getRate(e),this.controller.play())}cancelAllAnimations(){const e=this.node?.getAnimations();e?.forEach((e=>{e.effect?.updateTiming({iterations:1,fill:"none"}),e.onfinish=()=>{e.cancel()}}))}setEffectsOnMouseEnter(e){this.controller&&(this.controller.onfinish=r.noop,this.controller.effect?.updateTiming(e))}setEffectsOnMouseLeave(e){const{iterations:t}=e;t===1/0&&this.controller?.effect?.updateTiming({iterations:1})}updateAnimation(e,t,o){this.node&&(this.effects=new KeyframeEffect(o,e,t),this.controller=new Animation(this.effects,document.timeline))}endSequenceAnimation(e){let{keyframes:t,extraOptions:o={},options:r={}}=e;this.controller&&this.effects&&(this.effects.setKeyframes(t),this.effects.updateTiming({...r,...o}),this.controller.play())}startSequenceAnimation(e){let{keyframes:t,options:o}=e;this.controller&&t.forEach((e=>{"running"===this.controller?.playState?this.controller.onfinish=()=>{this.effects?.setKeyframes(e.keyframes),this.effects?.updateTiming({...o,...e.extraOptions}),this.controller?.play()}:this.effects&&this.controller&&(this.effects.setKeyframes(e.keyframes),this.effects.updateTiming({...o,...e.extraOptions}),this.controller.play())}))}}},62182:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HoverAnimation",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=d(o(47075)),a=o(35987),l=o(72994),s=o(76286),c=o(21407);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=e=>{let{children:t,animationId:o,options:d={},cssKeyframe:u,isHidden:p,className:f,isDisabledHover:m=!1}=e;if(p)return i.default.createElement(i.default.Fragment,null,t);const[y,g]=(0,i.useState)(!1),b=(0,i.useRef)(null),h=(0,i.useRef)(null),v=(0,i.useRef)(null),S=(0,i.useRef)(!1),w=(0,i.useRef)("desktop"),x=(0,i.useMemo)((()=>"none"!==u&&!y&&!m),[u,y,m]),M=(0,i.useMemo)((()=>{const{animation:e,extraOptions:t={},reversibleAnimation:o=!0}=(0,s.getAnimations)(u)??{};return{animation:(0,c.isMultiAnimation)(e)?void 0:e,multiAnimation:(0,c.isMultiAnimation)(e)?e:void 0,options:{...t,...d},reversibleAnimation:o}}),[d,u]);(0,i.useEffect)((()=>{const e=e=>{e.animationId===o&&g(e.animationIsRunning)},t=e=>{w.current=e};return n.default.on(a.AnimationEvents.entranceOn,e),n.default.on(a.AnimationEvents.entranceOff,e),n.default.on("deviceMode.change",t),()=>{n.default.off(a.AnimationEvents.entranceOn,e),n.default.off(a.AnimationEvents.entranceOff,e),n.default.off("deviceMode.change",t)}}),[o]),(0,i.useEffect)((()=>(b.current&&(v.current=new l.Hover({child:b.current,keyframes:M.animation??[],options:M.options})),()=>{v.current=null})),[u,M]);const T=(0,r.default)("brz-hover-animation__container",f);return i.default.createElement("div",{ref:h,className:T,onMouseOut:e=>{const{options:t}=M;if(v.current&&S.current){if(e.relatedTarget instanceof Element&&h.current?.contains(e.relatedTarget))return;if(v.current?.setEffectsOnMouseLeave(t),x&&"desktop"===w.current&&M.reversibleAnimation)if(M.multiAnimation){const{keyframes:e,extraOptions:t}=M.multiAnimation.endAnimation;v.current.endSequenceAnimation({keyframes:e,extraOptions:t,options:M.options})}else v.current.play("reverse");v.current.cancelAllAnimations(),S.current=!1}},onMouseEnter:e=>{const{options:t}=M;e.target instanceof Element&&e.target.closest(".brz-hover-animation__container")&&x&&"desktop"===w.current&&v.current&&(v.current.setEffectsOnMouseEnter(t),M.multiAnimation?v.current.startSequenceAnimation({keyframes:M.multiAnimation.multiAnimation??[],options:M.options}):v.current.play("normal"),S.current=!0)},"data-hover-animationid":o,"data-hover-options":(0,c.setHoverOptions)(M.options),"data-hover-reversible":M.reversibleAnimation,...(0,c.setAttribute)("data-hover-animation",M.animation),...(0,c.setAttribute)("data-hover-multianimation",M.multiAnimation)},i.default.createElement("div",{className:"brz-hover-animation",ref:b},t))}},76286:(e,t)=>{"use strict";function o(e){return{"brz-grow":{animation:[{WebkitTransform:"scale(1.1)",transform:"scale(1.1)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-shrink":{animation:[{WebkitTransform:"scale(0.9)",transform:"scale(0.9)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-pulse":{animation:[{WebkitTransform:"scale(1.1)",transform:"scale(1.1)",offset:.25},{WebkitTransform:"scale(0.9)",transform:"scale(0.9)",offset:.75}],reversibleAnimation:!1,extraOptions:{fill:"forwards",easing:"ease"}},"brz-pulse-grow":{animation:[{WebkitTransform:"scale(1)",transform:"scale(1)",offset:0},{WebkitTransform:"scale(1.1)",transform:"scale(1.1)",offset:.5},{WebkitTransform:"scale(1)",transform:"scale(1)",offset:1}],reversibleAnimation:!1,extraOptions:{iterations:1/0,easing:"ease"}},"brz-pulse-shrink":{animation:[{WebkitTransform:"scale(0.9)",transform:"scale(0.9)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-push":{animation:[{WebkitTransform:"scale(0.8)",transform:"scale(0.8)",offset:.5},{WebkitTransform:"scale(1)",transform:"scale(1)",offset:1}],extraOptions:{easing:"ease"},reversibleAnimation:!1},"brz-pop":{animation:[{WebkitTransform:"scale(1.2)",transform:"scale(1.2)",offset:.5}],extraOptions:{easing:"ease"},reversibleAnimation:!1},"brz-bounce-in":{animation:[{WebkitAnimationTimingFunction:"cubic-bezier(0.47, 2.02, 0.31, -0.36)",offset:0},{WebkitTransform:"scale(1.2)",transform:"scale(1.2)",offset:1}],extraOptions:{fill:"forwards",easing:"cubic-bezier(0.47, 2.02, 0.31, -0.36)"}},"brz-bounce-out":{animation:[{WebkitAnimationTimingFunction:"cubic-bezier(0.47, 2.02, 0.31, -0.36)",offset:0,easing:"cubic-bezier(0.47, 2.02, 0.31, -0.36)"},{WebkitTransform:"scale(0.8)",transform:"scale(0.8)",WebkitAnimationTimingFunction:"cubic-bezier(0.47, 2.02, 0.31, -0.36)",offset:1,easing:"cubic-bezier(0.47, 2.02, 0.31, -0.36)"}],extraOptions:{fill:"forwards"}},"brz-rotate":{animation:[{WebkitTransform:"rotate(4deg)",transform:"rotate(4deg)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-grow-rotate":{animation:[{WebkitTransform:"scale(1.1) rotate(4deg)",transform:"scale(1.1) rotate(4deg)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-float":{animation:[{WebkitTransform:"translateY(-0px)",transform:"translateY(-0px)",offset:0},{WebkitTransform:"translateY(-8px)",transform:"translateY(-8px)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-sink":{animation:[{WebkitTransform:"translateY(0px)",transform:"translateY(0px)",offset:0},{WebkitTransform:"translateY(8px)",transform:"translateY(8px)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-bob":{animation:{multiAnimation:[{keyframes:[{WebkitTransform:"translateY(-8px)",transform:"translateY(-8px)",offset:1}],extraOptions:{fill:"forwards",duration:200}},{keyframes:[{WebkitTransform:"translateY(-8px)",transform:"translateY(-8px)",offset:0},{WebkitTransform:"translateY(-4px)",transform:"translateY(-4px)",offset:.5},{WebkitTransform:"translateY(-8px)",transform:"translateY(-8px)",offset:1}],extraOptions:{iterations:1/0}}],endAnimation:{keyframes:[{WebkitTransform:"translateY(-8px)",transform:"translateY(-8px)",offset:0},{WebkitTransform:"translateY(0)",transform:"translateY(0)",offset:1}],extraOptions:{easing:"ease-in-out",duration:200,fill:"forwards",iterations:1}}}},"brz-hang":{animation:{multiAnimation:[{keyframes:[{WebkitTransform:"translateY(8px)",transform:"translateY(8px)",offset:1}],extraOptions:{fill:"forwards",duration:200}},{keyframes:[{WebkitTransform:"translateY(8px)",transform:"translateY(8px)",offset:0},{WebkitTransform:"translateY(4px)",transform:"translateY(4px)",offset:.5},{WebkitTransform:"translateY(8px)",transform:"translateY(8px)",offset:1}],extraOptions:{iterations:1/0}}],endAnimation:{keyframes:[{WebkitTransform:"translateY(8px)",transform:"translateY(8px)",offset:0},{WebkitTransform:"translateY(0)",transform:"translateY(0)",offset:1}],extraOptions:{easing:"ease-in-out",duration:200,fill:"forwards",iterations:1}}}},"brz-skew":{animation:[{WebkitTransform:"skew(-10deg)",transform:"skew(-10deg)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-skew-forward":{animation:[{WebkitTransformOrigin:"0 100%",transformOrigin:"0 100%",offset:0},{WebkitTransform:"skew(-10deg)",transform:"skew(-10deg)",WebkitTransformOrigin:"0 100%",transformOrigin:"0 100%",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-skew-backward":{animation:[{WebkitTransformOrigin:"0 100%",transformOrigin:"0 100%",offset:0},{WebkitTransform:"skew(10deg)",transform:"skew(10deg)",WebkitTransformOrigin:"0 100%",transformOrigin:"0 100%",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-wobble-vertical":{animation:[{WebkitTransform:"translateY(8px)",transform:"translateY(8px)",offset:.16649999999999998},{WebkitTransform:"translateY(-6px)",transform:"translateY(-6px)",offset:.33299999999999996},{WebkitTransform:"translateY(4px)",transform:"translateY(4px)",offset:.49950000000000006},{WebkitTransform:"translateY(-2px)",transform:"translateY(-2px)",offset:.6659999999999999},{WebkitTransform:"translateY(1px)",transform:"translateY(1px)",offset:.8325},{WebkitTransform:"translateY(0)",transform:"translateY(0)",offset:1}],reversibleAnimation:!1,extraOptions:{easing:"ease"}},"brz-wobble-horizontal":{animation:[{WebkitTransform:"translateX(8px)",transform:"translateX(8px)",offset:.16649999999999998},{WebkitTransform:"translateX(-6px)",transform:"translateX(-6px)",offset:.33299999999999996},{WebkitTransform:"translateX(4px)",transform:"translateX(4px)",offset:.49950000000000006},{WebkitTransform:"translateX(-2px)",transform:"translateX(-2px)",offset:.6659999999999999},{WebkitTransform:"translateX(1px)",transform:"translateX(1px)",offset:.8325},{WebkitTransform:"translateX(0)",transform:"translateX(0)",offset:1}],extraOptions:{easing:"ease"},reversibleAnimation:!1},"brz-wobble-to-bottom-right":{animation:[{WebkitTransform:"translate(8px, 8px)",transform:"translate(8px, 8px)",offset:.16649999999999998},{WebkitTransform:"translate(-6px, -6px)",transform:"translate(-6px, -6px)",offset:.33299999999999996},{WebkitTransform:"translate(4px, 4px)",transform:"translate(4px, 4px)",offset:.49950000000000006},{WebkitTransform:"translate(-2px, -2px)",transform:"translate(-2px, -2px)",offset:.6659999999999999},{WebkitTransform:"translate(1px, 1px)",transform:"translate(1px, 1px)",offset:.8325},{WebkitTransform:"translate(0, 0)",transform:"translate(0, 0)",offset:1}],extraOptions:{easing:"ease"},reversibleAnimation:!1},"brz-wobble-to-top-right":{animation:[{WebkitTransform:"translate(8px, -8px)",transform:"translate(8px, -8px)",offset:.16649999999999998},{WebkitTransform:"translate(-6px, 6px)",transform:"translate(-6px, 6px)",offset:.33299999999999996},{WebkitTransform:"translate(4px, -4px)",transform:"translate(4px, -4px)",offset:.49950000000000006},{WebkitTransform:"translate(-2px, 2px)",transform:"translate(-2px, 2px)",offset:.6659999999999999},{WebkitTransform:"translate(1px, -1px)",transform:"translate(1px, -1px)",offset:.8325},{WebkitTransform:"translate(0, 0)",transform:"translate(0, 0)",offset:1}],extraOptions:{easing:"ease"},reversibleAnimation:!1},"brz-wobble-top":{animation:[{WebkitTransformOrigin:"0 100%",transformOrigin:"0 100%",offset:0},{WebkitTransform:"skew(-12deg)",transform:"skew(-12deg)",offset:.16649999999999998},{WebkitTransform:"skew(10deg)",transform:"skew(10deg)",offset:.33299999999999996},{WebkitTransform:"skew(-6deg)",transform:"skew(-6deg)",offset:.49950000000000006},{WebkitTransform:"skew(4deg)",transform:"skew(4deg)",offset:.6659999999999999},{WebkitTransform:"skew(-2deg)",transform:"skew(-2deg)",offset:.8325},{WebkitTransformOrigin:"0 100%",transformOrigin:"0 100%",offset:1},{WebkitTransform:"skew(0)",transform:"skew(0)",offset:1}],extraOptions:{easing:"ease"},reversibleAnimation:!1},"brz-wobble-bottom":{animation:[{WebkitTransformOrigin:"100% 0",transformOrigin:"100% 0",offset:0},{WebkitTransform:"skew(-12deg)",transform:"skew(-12deg)",offset:.16649999999999998},{WebkitTransform:"skew(10deg)",transform:"skew(10deg)",offset:.33299999999999996},{WebkitTransform:"skew(-6deg)",transform:"skew(-6deg)",offset:.49950000000000006},{WebkitTransform:"skew(4deg)",transform:"skew(4deg)",offset:.6659999999999999},{WebkitTransform:"skew(-2deg)",transform:"skew(-2deg)",offset:.8325},{WebkitTransformOrigin:"100% 0",transformOrigin:"100% 0",offset:1},{WebkitTransform:"skew(0)",transform:"skew(0)",offset:1}],reversibleAnimation:!1,extraOptions:{easing:"ease"}},"brz-wobble-skew":{animation:[{WebkitTransform:"skew(-12deg)",transform:"skew(-12deg)",offset:.16649999999999998},{WebkitTransform:"skew(10deg)",transform:"skew(10deg)",offset:.33299999999999996},{WebkitTransform:"skew(-6deg)",transform:"skew(-6deg)",offset:.49950000000000006},{WebkitTransform:"skew(4deg)",transform:"skew(4deg)",offset:.6659999999999999},{WebkitTransform:"skew(-2deg)",transform:"skew(-2deg)",offset:.8325},{WebkitTransform:"skew(0)",transform:"skew(0)",offset:1}],reversibleAnimation:!1,extraOptions:{easing:"ease"}},"brz-buzz":{animation:[{WebkitTransform:"translateX(3px) rotate(2deg)",transform:"translateX(3px) rotate(2deg)",offset:.5},{WebkitTransform:"translateX(-3px) rotate(-2deg)",transform:"translateX(-3px) rotate(-2deg)",offset:1}],reversibleAnimation:!1,extraOptions:{iterations:1/0,easing:"ease"}},"brz-buzz-out":{animation:[{WebkitTransform:"translateX(3px) rotate(2deg)",transform:"translateX(3px) rotate(2deg)",offset:.1},{WebkitTransform:"translateX(-3px) rotate(-2deg)",transform:"translateX(-3px) rotate(-2deg)",offset:.2},{WebkitTransform:"translateX(3px) rotate(2deg)",transform:"translateX(3px) rotate(2deg)",offset:.3},{WebkitTransform:"translateX(-3px) rotate(-2deg)",transform:"translateX(-3px) rotate(-2deg)",offset:.4},{WebkitTransform:"translateX(2px) rotate(1deg)",transform:"translateX(2px) rotate(1deg)",offset:.5},{WebkitTransform:"translateX(-2px) rotate(-1deg)",transform:"translateX(-2px) rotate(-1deg)",offset:.6},{WebkitTransform:"translateX(2px) rotate(1deg)",transform:"translateX(2px) rotate(1deg)",offset:.7},{WebkitTransform:"translateX(-2px) rotate(-1deg)",transform:"translateX(-2px) rotate(-1deg)",offset:.8},{WebkitTransform:"translateX(1px) rotate(0)",transform:"translateX(1px) rotate(0)",offset:.9},{WebkitTransform:"translateX(-1px) rotate(0)",transform:"translateX(-1px) rotate(0)",offset:1}],reversibleAnimation:!1,extraOptions:{easing:"ease"}},"brz-forward":{animation:[{WebkitTransform:"translateX(0px)",transform:"translateX(0px)",offset:0},{WebkitTransform:"translateX(8px)",transform:"translateX(8px)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-backward":{animation:[{WebkitTransform:"translateX(-8px)",transform:"translateX(-8px)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}}}[e]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getAnimations",{enumerable:!0,get:function(){return o}})},21407:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setHoverOptions:function(){return a},getHoverOptions:function(){return l},hasInfiniteAnimation:function(){return s},getHoverAnimationOptions:function(){return c},isMultiAnimation:function(){return d},disableHoverForElements:function(){return u},setAttribute:function(){return p}});const r=o(22741),i=o(76286),n=o(97724),a=e=>encodeURI(JSON.stringify(e,((e,t)=>t===1/0?"Infinity":t))),l=e=>JSON.parse(e,((e,t)=>"Infinity"===t?1/0:t)),s=e=>{const{iterations:t}=(0,i.getAnimations)(e)?.extraOptions??{};return t===1/0},c=(e,t)=>{const{duration:o=1e3,infiniteAnimation:r=!1}=e;return{duration:o,iterations:s(t)&&r?1/0:1}},d=e=>!Array.isArray(e)&&void 0!==e,u=[n.ElementTypes.Image,n.ElementTypes.Map,n.ElementTypes.Video,n.ElementTypes.ImageGallery],p=(e,t)=>(0,r.isNullish)(t)?{}:{[e]:a(t)}},28502:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Label",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t,children:o}=e;const n=(0,i.default)("brz-ed-component__label",t);return r.default.createElement("div",{className:n},o)}},56611:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=l(o(10301)),n=l(o(33364)),a=o(68914);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}let c=new Map,d=null;class u extends r.Component{static defaultProps={width:100,height:100,src:"",observerRootSelector:null,observerRootMargin:"0px",observerThreshold:[0],spinnerDelay:250,style:{},onImageLoaded:i.default.noop};state={imageFetched:!1,showSpinner:!1};content=r.default.createRef();componentDidMount(){const e=this.content.current;if(this.mounted=!0,null===d){const{observerRootSelector:t,observerRootMargin:o,observerThreshold:r}=this.props,i={root:e.ownerDocument.querySelector(t),rootMargin:o,threshold:r};d=new e.ownerDocument.defaultView.IntersectionObserver(this.handleIntersection,i),d.POLL_INTERVAL=200}d.observe(e),c.set(e,this),setTimeout((()=>{this.mounted&&!this.state.imageFetched&&this.setState({showSpinner:!0})}),this.props.spinnerDelay)}componentWillUnmount(){const e=this.content.current;this.mounted=!1,d.unobserve(e),c.delete(e),0===c.size&&(d.disconnect(),d=null)}handleIntersection=e=>{e.forEach((e=>{let{isIntersecting:t,target:o}=e;if(t){const e=c.get(o);if(!e)return;const t=e.props.src;(0,a.preloadImage)(t).then((()=>{d&&d.unobserve(o),e.mounted&&e.setState({imageFetched:!0,showSpinner:!1},e.props.onImageLoaded())}))}}))};render(){const{width:e,height:t,src:o,style:i}=this.props,{imageFetched:a,showSpinner:l}=this.state,s=Math.round(t/e*100*10)/10;return r.default.createElement("div",{ref:this.content,className:"brz-observer__image",style:{paddingTop:`${s}%`}},l&&r.default.createElement("div",{className:"brz-ed-option__block-thumbnail-loading"},r.default.createElement(n.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),a&&r.default.createElement("img",{className:"brz-img",style:i,src:o,alt:"lazyLoad Image"}))}}},99546:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Category",{enumerable:!0,get:function(){return p}});const r=c(o(60042)),i=c(o(27378)),n=c(o(10301)),a=c(o(49127)),l=c(o(22546)),s=o(16526);function c(e){return e&&e.__esModule?e:{default:e}}const d={left:0,right:328,top:0,bottom:1/0},u={top:0,left:-48};class p extends i.default.Component{static defaultProps={category:"",shortcodes:[],onChange:n.default.noop};handleChange=e=>{const{shortcodes:t,onChange:o}=this.props;o(e,t)};render(){const{category:e,children:t}=this.props,o=(0,r.default)("brz-ed-sidebar__add-elements",{[`brz-ed-sidebar__add-elements--${e}`]:e});return i.default.createElement(a.default,{type:"addable",showLines:!(0,s.isStory)(l.default.getAll()),blindZone:d,dragOffset:u,onSort:this.handleChange},i.default.createElement("div",{className:o},t))}}},58011:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Control",{enumerable:!0,get:function(){return C}});const r=S(o(60042)),i=S(o(6676)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(23884),l=S(o(10301)),s=S(o(1424)),c=S(o(33364)),d=o(94979),u=o(76742),p=S(o(22546)),f=S(o(47075)),m=o(74215),y=o(97045),g=o(46479),b=o(64985),h=o(16526),v=o(99546);function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}const{upgradeToPro:x}=p.default.get("urls"),M={updateDisabledElements:m.updateDisabledElements},T=(0,a.connect)((e=>({disabledElements:(0,y.disabledElementsSelector)(e)})),M);class P extends n.Component{constructor(e){super(e);const t=e.disabledElements.reduce(((e,t)=>({...e,[t]:!0})),{});this.state={disabledElements:t,inputValue:""}}componentDidUpdate(e){e.isEditMode!==this.props.isEditMode&&this.setState({inputValue:""}),e.isEditMode&&!this.props.isEditMode&&this.props.updateDisabledElements(Object.keys(this.state.disabledElements))}handleSortableSort=(e,t)=>{const{from:o,to:r}=e,{resolve:i}=t[o.elementIndex].component,n=(0,h.setIds)(i),a=r.sortableNode.getAttribute("data-sortable-path")?.split("-"),l=r.sortableNode.getAttribute("data-sortable-type"),s=[...a??[],String(r.elementIndex)];f.default.emit("dnd.sort",{from:{itemData:n,itemType:"addable"},to:{containerPath:a,containerType:l,itemIndex:r.elementIndex,itemPath:s}})};handleClick=(e,t)=>{const{component:o,pro:r}=e[t];if(!r||g.IS_PRO){const e=(0,h.setIds)(o.resolve),t=document.querySelector(".slick-list .slick-active"),r=t?.querySelector("[data-sortable-type='section']"),i=r?.getAttribute("data-sortable-path")?.split("-"),n="section",a=t?.getAttribute("data-index"),l=[...i??[],String(a)];f.default.emit("dnd.sort",{from:{itemData:e,itemType:"addable"},to:{containerPath:i,containerType:n,itemIndex:a,itemPath:l}})}};handleDisabledElementsChange=e=>{const{disabledElements:t}=this.state;if(t[e]){const{[e]:o,...r}=t;this.setState({disabledElements:r})}else this.setState({disabledElements:{...t,[e]:!0}})};getFilteredShortcodes(e){const{isEditMode:t}=this.props,{disabledElements:o,inputValue:r}=this.state,n=e.filter((e=>t||!t&&!o[e.component.id]));return new i.default(n,["component.title"]).search(r)}renderIcon(e,t,o){const r=n.default.createElement(n.default.Fragment,null,n.default.createElement("div",{className:"brz-ed-sidebar__add-elements__icon"},n.default.createElement(c.default,{icon:t})),n.default.createElement("span",{className:"brz-span brz-ed-sidebar__add-elements__text"},e));return o?n.default.createElement(s.default,{overlayClassName:"brz-ed-tooltip--delay-1",size:"small",openOnClick:!1,overlay:n.default.createElement(d.ProInfo,{text:(0,b.t)("Upgrade to PRO to use this element"),url:x}),offset:10},r):n.default.createElement(n.default.Fragment,null,r,n.default.createElement("div",{className:"brz-ed-sidebar__add-elements__tooltip"},e))}renderIcons(e){const{disabledElements:t}=this.state,{isEditMode:o}=this.props;return e.map(((i,a)=>{let{component:s,pro:d}=i;const f=(0,h.isStory)(p.default.getAll())?()=>this.handleClick(e,a):l.default.noop,m=this.renderIcon(s.title,s.icon,!g.IS_PRO&&d),y=n.default.createElement("div",{className:(0,r.default)("brz-ed-sidebar__add-elements__item",{"brz-ed-sidebar__add-elements__item-pro":d&&!g.IS_PRO}),onClick:f,key:s.id},m);return o?n.default.createElement("div",{className:"brz-ed-sidebar__add-elements__item brz-ed-sidebar__add-elements__item-edit",key:s.id},n.default.createElement("div",{className:(0,r.default)("brz-ed-sidebar__edit",{"brz-ed-sidebar__edit--checked":!t[s.id]}),onClick:()=>this.handleDisabledElementsChange(s.id)},n.default.createElement("span",{className:"brz-ed-sidebar__checked"},n.default.createElement(c.default,{icon:"nc-check-circle"}))),m):d&&!g.IS_PRO?y:n.default.createElement(u.SortableElement,{key:s.id,type:"addable",subtype:s.id},y)}))}render(){const{inputValue:e}=this.state,{shortcodes:t}=this.props;return n.default.createElement(n.default.Fragment,null,n.default.createElement("div",{className:"brz-ed-sidebar__search"},n.default.createElement("input",{type:"text",className:"brz-input",placeholder:(0,b.t)("Search element"),autoFocus:!0,spellCheck:!1,value:e,onChange:e=>{let{target:{value:t}}=e;return this.setState({inputValue:t})}}),n.default.createElement("div",{className:"brz-ed-sidebar__button-search"},n.default.createElement(c.default,{icon:"nc-search"}))),Object.entries(t).filter((e=>{let[t,o]=e;return this.getFilteredShortcodes(o).length>0})).map(((e,t)=>{let[o,r]=e;const i=this.getFilteredShortcodes(r),a=l.default.sortBy(i.filter((e=>!e.component.hidden)),(e=>e.component.position||10));return n.default.createElement(n.Fragment,{key:o},0!==t&&n.default.createElement("div",{className:"brz-ed-sidebar__add-elements--separator-title"},o),n.default.createElement(v.Category,{category:o,shortcodes:a,onChange:this.handleSortableSort},this.renderIcons(a)))})))}}const C=T(P)},21705:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Header",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=l(o(33364)),n=l(o(22546)),a=o(64985);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{const{children:t}=e,[o,l]=(0,r.useState)(!1),s=n.default.getAll(),c=s?.ui?.help?.showIcon,d=(0,r.useCallback)((()=>{l((e=>!e))}),[]),u=(0,r.useCallback)((()=>r.default.createElement("div",{className:"brz-ed-sidebar__edit-elements"},r.default.createElement("div",{className:"brz-ed-sidebar__elements--icon",onClick:d},o?r.default.createElement("span",{title:(0,a.t)("Done")},r.default.createElement(i.default,{icon:"nc-success"})):r.default.createElement("span",{title:(0,a.t)("Edit")},r.default.createElement(i.default,{icon:"nc-pen"}))),c&&r.default.createElement("div",{className:"brz-ed-sidebar__elements--icon"},r.default.createElement("span",{title:(0,a.t)("Help")},r.default.createElement(i.default,{icon:"nc-alert-circle-que"}))))),[o,d]);return r.default.cloneElement(t,{renderExtraHeader:u,isEditMode:o})}},7746:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Base:function(){return d},Shopify:function(){return u}});const r=c(o(27378)),i=o(64985),n=c(o(95664)),a=o(58011),l=o(21705),s=o(97724);function c(e){return e&&e.__esModule?e:{default:e}}const d={id:s.LeftSidebarOptionsIds.addElements,icon:"nc-add",type:"drawer",drawerTitle:(0,i.t)("Add Elements"),showInDeviceModes:["desktop"],drawerComponent:e=>r.default.createElement(a.Control,{...e,shortcodes:n.default.getShortcodes()}),wrapperHeaderComponent:l.Header},u={id:`${s.LeftSidebarOptionsIds.addElements}Shopify`,icon:"nc-shopify-logo",type:"drawer",drawerTitle:(0,i.t)("Add Shopify Elements"),showInDeviceModes:["desktop"],drawerComponent:e=>r.default.createElement(a.Control,{...e,shortcodes:n.default.getShopifyShortcodes()}),wrapperHeaderComponent:l.Header}},42432:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(65631),a={transition:"transform 150ms linear",transform:"translate3d(-100%, 0, 0)"},l={entering:{transform:"translate3d(-100%, 0, 0)"},entered:{transform:"translate3d(0, 0, 0)"}},s=e=>{let{in:t,children:o,appear:i,unmountOnExit:s}=e;return r.default.createElement(n.Transition,{in:t,timeout:150,appear:i,unmountOnExit:s},(e=>r.default.createElement("div",{className:"brz-ed-sidebar__content "+(t?"active":""),style:{...a,...l[e]}},o)))}},87874:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(33364))&&n.__esModule?n:{default:n};var n;const a=o(25663),l=o(68914),s=o(64985);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static defaultProps={blockData:null,spinnerDelay:300};state={blockData:this.props.blockData,imageFetched:!1,showSpinner:!0};componentDidMount(){this.mounted=!0,this.cancelCurrentPreload=this.preloadThumbnail(this.state.blockData)}componentDidUpdate(){this.props.blockData!==this.state.blockData&&(this.cancelCurrentPreload(),this.cancelCurrentPreload=this.preloadThumbnail(this.props.blockData))}componentWillUnmount(){this.mounted=!1,this.cancelCurrentPreload(),clearTimeout(this.showSpinnerTimeout)}preloadThumbnail(e){let t=!1;const{url:o}=(0,a.blockThumbnailData)(e);return(0,l.preloadImage)(o).then((()=>{this.mounted&&!t&&this.setState({imageFetched:!0,showSpinner:!1,blockData:e})})),()=>t=!0}render(){const{blockData:e,imageFetched:t,showSpinner:o}=this.state,{url:n,width:l,height:c}=(0,a.blockThumbnailData)(e),d={paddingTop:175*c/l+"px"},u=o?{}:{display:"none"};return r.default.createElement("div",{className:"brz-ed-sidebar-block-image",style:d},r.default.createElement("div",{className:"brz-ed-sidebar-block-image-loading",style:u},r.default.createElement(i.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),t&&r.default.createElement("img",{className:"brz-img",src:n}),r.default.createElement("div",{className:"brz-ed-sidebar-block-layout"},r.default.createElement("span",{className:"brz-span brz-ed-sidebar-block-drag"},(0,s.t)("Drag to reorder"))))}}},80041:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BlocksSortable",{enumerable:!0,get:function(){return C}});const r=o(65095),i=o(51107),n=o(15393),a=o(9448),l=v(o(60042)),s=v(o(27378)),c=o(23884),d=v(o(33364)),u=v(o(22546)),p=o(97724),f=o(74215),m=o(97045),y=o(25663),g=o(64985),b=o(16526),h=v(o(87874));function v(e){return e&&e.__esModule?e:{default:e}}const S=e=>{let{item:t}=e;return s.default.createElement(h.default,{blockData:t})},w=e=>{let{item:t,globalBlocks:o,page:r,onRemove:i,id:l}=e;if("GlobalBlock"===t.type){const{_id:e}=t.value;try{if(!(0,y.canUseCondition)(o[e],r))return s.default.createElement("div",null)}catch{return s.default.createElement("div",null)}}const{active:c,attributes:u,listeners:p,transform:f,transition:m,setNodeRef:g}=(0,n.useSortable)({id:l}),b=c?.id===l,h={transform:a.CSS.Translate.toString(f),transition:m};return s.default.createElement("div",{className:"brz-ed-sidebar-block-item",style:{zIndex:b?1:0}},s.default.createElement("div",{ref:g,style:h,...u,...p},s.default.createElement(S,{item:t})),s.default.createElement("div",{className:"brz-ed-sidebar-block-remove",onClick:i},s.default.createElement(d.default,{icon:"nc-circle-remove-2",className:"brz-ed-bar-icon"})))},x=e=>{let{isSorting:t,items:o,globalBlocks:a,page:c,onItemRemove:d,onSortEnd:u,onSortStart:p}=e;const f=[],m=[];for(let e=0;ed(e)})))}const y=(0,r.useSensors)((0,r.useSensor)(r.PointerSensor,{activationConstraint:{distance:10}}),(0,r.useSensor)(r.KeyboardSensor)),g=(0,l.default)("brz-ed-sidebar-sortable",{"brz-ed-sidebar-sortable--sorting":t});return s.default.createElement("div",{className:g},s.default.createElement(r.DndContext,{onDragStart:p,onDragEnd:u,sensors:y,modifiers:[i.restrictToWindowEdges,i.restrictToVerticalAxis],collisionDetection:r.closestCenter},s.default.createElement(n.SortableContext,{items:f,strategy:n.verticalListSortingStrategy},m)))};class M extends s.default.Component{static getDerivedStateFromProps(e,t){return t.optimistic?{blocks:t.blocks,optimistic:!1}:e.pageBlocks!==t.blocks?{blocks:e.pageBlocks||[]}:null}state={blocks:[],isSorting:!1};content=s.default.createRef();handleSortStart=()=>{this.setState({isSorting:!0})};getContentWindow=()=>window.parent;getContainer=()=>{const e=this.content.current;return e&&e.parentElement};handleSortEnd=e=>{const{active:t,over:o}=e;if(!o)return this.setState({isSorting:!1});const r=this.state.blocks.findIndex((e=>e.value._id===t.id)),i=this.state.blocks.findIndex((e=>e.value._id===o.id));if(r===i)return this.setState({isSorting:!1});this.setState((e=>{const{blocks:t}=e;return{blocks:(0,n.arrayMove)(t,r,i),optimistic:!0,isSorting:!1}}),(()=>{this.props.dispatch((0,f.reorderBlocks)({oldIndex:r,newIndex:i}))}))};handleItemRemove=e=>{const{value:{_id:t}}=this.state.blocks[e];this.props.dispatch((0,f.removeBlock)({index:e,id:t}))};render(){const{blocks:e,isSorting:t}=this.state,{page:o,globalBlocks:r}=this.props;return s.default.createElement(x,{helperClass:"brz-ed-sidebar-block-item-helper",isSorting:t,items:e,globalBlocks:r,distance:5,useDragHandle:!0,innerRef:this.content,page:o,contentWindow:this.getContentWindow,getContainer:this.getContainer,onSortStart:this.handleSortStart,onSortEnd:this.handleSortEnd,onItemRemove:this.handleItemRemove})}}const T=u.default.getAll(),P=T?.ui?.help?.showIcon,C={id:p.LeftSidebarOptionsIds.reorderBlock,type:"drawer",icon:"nc-reorder",withHelpIcon:P,disabled:(0,b.isPopup)(u.default.getAll())||(0,b.isStory)(u.default.getAll()),drawerTitle:(0,g.t)("Reorder Blocks"),drawerComponent:(0,c.connect)((e=>({pageBlocks:(0,m.pageBlocksAssembledSelector)(e),globalBlocks:(0,m.globalBlocksSelector)(e),page:(0,m.pageSelector)(e)})))(M)}},68244:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Cms",{enumerable:!0,get:function(){return C}});const r=x(o(60042)),i=o(47885),n=T(o(27378)),a=o(23884),l=x(o(33364)),s=o(3517),c=x(o(21107)),d=x(o(22546)),u=o(62762),p=o(97724),f=o(39191),m=o(74215),y=o(97045),g=(o(46479),o(64985)),b=T(o(48630)),h=x(o(73501)),v=T(o(31954)),S=T(o(22296)),w=T(o(24632));function x(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const P=e=>{let{config:t}=e;const o=t.cms.adminUrl,d=(0,n.useRef)(null),u=(0,a.useSelector)(y.uiSelector).leftSidebar,f=u.drawerContentType===p.LeftSidebarOptionsIds.cms&&u.isOpen,[x,M]=(0,n.useState)(!1),T=(0,a.useDispatch)(),P=(0,n.useCallback)((e=>{T((0,m.updateUI)("leftSidebar",{drawerContentType:e?p.LeftSidebarOptionsIds.cms:null,isOpen:e}))}),[T]),C=(0,n.useCallback)((()=>P(!f)),[f,P]),k=(0,n.useCallback)((e=>{(0,i.mPipe)((0,i.pass)((e=>o.startsWith(e.origin))),b.readKey("data"),b.read,v.fromObject,w.readInputMessage,(e=>{switch(e.type){case"close":return P(!1);case"redirect":return void console.log("redirect",e.payload)}}))(e)}),[o,P]);return(0,n.useEffect)((()=>{if(f&&x){const e=S.list((0,s.getContext)(t));d.current?.contentWindow?.postMessage(e,o)}}),[f,x,t,o]),(0,n.useEffect)((()=>(f&&window.parent.addEventListener("message",k),()=>window.parent.removeEventListener("message",k))),[f,k]),n.default.createElement(n.default.Fragment,null,n.default.createElement(h.default,{className:(0,r.default)({"brz-ed-sidebar__control__item":!0,"brz-ed-sidebar__control__item--active":f}),icon:"nc-menu",title:(0,g.t)("CMS"),onClick:C}),n.default.createElement(c.default,{node:window.parent.document.body},n.default.createElement("div",{className:"brz-cms__wrapper",style:{display:f?"block":"none"}},n.default.createElement("iframe",{ref:d,src:o,className:(0,r.default)("brz-iframe","brz-cms",{"brz-loading":!x}),onLoad:()=>M(!0),title:"cms"}),!x&&n.default.createElement("div",{className:"brz-cms--loading"},n.default.createElement(l.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})))))},C={id:p.LeftSidebarOptionsIds.cms,type:"custom",Component:()=>{const e=d.default.getAll();return(0,n.useCallback)(k,[])(e)}},k=(0,i.match)([f.isWp,()=>null],[u.isCloud,e=>n.default.createElement(P,{config:e})])},28046:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{ActiveItemTypes:function(){return s},read:function(){return c}});const r=o(47885),i=l(o(48630)),n=l(o(59638));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}var s;!function(e){e.Customer="customer",e.CollectionItem="collectionItem",e.EcwidProduct="ecwidProduct",e.EcwidCategory="ecwidCategory"}(s||(s={}));const c=(0,r.parse)({__type:(0,r.mPipe)((0,r.pass)(i.isObject),i.readKey("__type"),n.read,(0,r.pass)((e=>Object.values(s).includes(e)))),id:(0,r.mPipe)((0,r.pass)(i.isObject),i.readKey("id"),n.read)})},31954:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isNoPayload:function(){return i},isWithPayload:function(){return n},fromObject:function(){return a}});const r=o(22741),i=e=>void 0===e.payload,n=e=>void 0!==e.payload,a=e=>{const t=e.type,o=e.payload;return(0,r.isNullish)(t)?void 0:{type:t,payload:o}}},70745:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fromBase",{enumerable:!0,get:function(){return i}});const r=o(31954),i=e=>(0,r.isNoPayload)(e)&&"close"===e.type?{type:"close"}:void 0},22296:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"list",{enumerable:!0,get:function(){return o}});const o=e=>({type:"list",payload:e})},24632:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"readInputMessage",{enumerable:!0,get:function(){return l}});const r=a(o(70745)),i=a(o(10139));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}function a(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}const l=e=>r.fromBase(e)??i.fromBase(e)},72580:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{is:function(){return n},fromString:function(){return a},fromNumber:function(){return l},toId:function(){return s}});const r=o(47885);var i;!function(e){e.type="projectId"}(i||(i={}));const n=e=>!!e.match(/^\/data\/[1-9][0-9]*$/),a=(0,r.pass)(n),l=e=>`/data/${e}`,s=e=>Number(e.replace("/data/",""))},10139:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fromBase",{enumerable:!0,get:function(){return n}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(63300));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const n=e=>{const t="redirect"===e.type?"redirect":void 0,o=r.read(e?.payload);return t&&o?{type:t,payload:o}:void 0}},27278:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getWhiteLabel",{enumerable:!0,get:function(){return o}});const o=e=>({brandingName:e.branding.name,updateToProLink:e.urls.upgradeToPro,supportLink:e.urls.support,aboutUsLink:e.urls.about})},3517:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getContext",{enumerable:!0,get:function(){return c}});const r=o(47885),i=o(28046),n=o(72580),a=o(27278),l=o(13662),s=o(62762),c=(0,r.match)([s.isCMS,e=>{const t=e.tokenV2?.access_token,o=e.x_auth_user_token;return{__type:"cloud",projectApi:t?{__type:"withToken",token:t,uri:e.cms.apiUrl}:{__type:"withOutToken",uri:e.cms.apiUrl},user:{isPro:!!e.pro},previewUrl:e.cms.collectionPreviewUrl,domainUrl:e.urls.preview,mediaUrl:e.api?.media?.mediaResizeUrl??"",settingsUrl:e.urls.projectSettings,protectedPagePassword:e.project.protectedPagePassword,whiteLabel:(0,a.getWhiteLabel)(e),userApi:t?{__type:"withToken",token:t,uri:e.cms.apiUrl}:{__type:"withOutToken",uri:e.cms.apiUrl},shop:t?{__type:"withToken",token:t,uri:e.cms.apiUrl}:{__type:"withOutToken",uri:e.cms.apiUrl},development:!1,translationApi:t?{__type:"withToken",token:t,uri:e.cms.translationsApiUrl}:{__type:"withOutToken",uri:e.cms.translationsApiUrl},appointmentsApi:t?{__type:"withToken",token:t,uri:e.cms.apiUrl}:{__type:"withOutToken",uri:e.cms.apiUrl},projectId:(0,n.fromNumber)(e.project.id),shopChannel:"shopChannel",taxesInfoUrl:"taxesInfoUrl",taxesMainCategoryId:"taxesMainCategoryId",notificationApi:t?{__type:"withToken",token:t,uri:e.cms.notificationsApiUrl}:{__type:"withOutToken",uri:e.cms.notificationsApiUrl},supportLinks:e.cms.supportLinks,customersEditorUrl:e.cms.customerEditorUrl,customerPreviewUrl:e.cms.customerPreviewUrl,activeItem:{id:e.page.id,__type:(0,r.match)([l.isCollectionPage,()=>i.ActiveItemTypes.CollectionItem],[l.isCustomerPage,()=>i.ActiveItemTypes.Customer],[l.isEcwidProduct,()=>i.ActiveItemTypes.EcwidProduct],[l.isEcwidCategory,()=>i.ActiveItemTypes.EcwidCategory])(e.page)},shopify:t?{__type:"withToken",token:t,uri:e.cms.apiUrl}:{__type:"withOutToken",uri:e.cms.apiUrl},square:t?{__type:"withToken",token:t,uri:e.cms.apiUrl}:{__type:"withOutToken",uri:e.cms.apiUrl},customersSlug:"customers",categoriesSlug:"categories",productsSlug:"products",modules:{shop:(0,r.match)([e=>null==e,()=>({disabled:!0})],[l.isShopifyShop,()=>({disabled:!0})],[l.isEcwidShop,t=>({disabled:!1,type:"ecwid",storeId:t.storeId,subscriptionType:t.subscriptionType,daysLeft:t.daysLeft,categoryCollectionTypeSlug:t.categoryCollectionTypeSlug,productCollectionTypeSlug:t.productCollectionTypeSlug,authorize:o?{__type:"withToken",uri:t.apiUrl,token:o}:{__type:"withOutToken",uri:t.apiUrl},adminPanelUrl:`${t.userSessionUrl}${e.x_auth_user_token?`?X-AUTH-USER-TOKEN=${e.x_auth_user_token}`:""}`})])(e.modules?.shop),users:{disabled:e.cms.modules?.users?.disabled??!1}},locale:"default",isAvailablePreviewBadge:e.cms.isAvailablePreviewBadge}}],[s.isShopify,e=>{const t=e.tokenV2?.access_token;return{__type:"shopify",development:!1,previewUrl:e.cms.collectionPreviewUrl,mediaUrl:e.api?.media?.mediaResizeUrl??"",customerPreviewUrl:e.cms.customerPreviewUrl,subscription:e.subscription,user:{isPro:!!e.pro},api:t?{__type:"withToken",token:t,uri:e.cms.apiUrl}:{__type:"withOutToken",uri:e.cms.apiUrl},appointmentsApi:t?{__type:"withToken",token:t,uri:e.cms.apiUrl}:{__type:"withOutToken",uri:e.cms.apiUrl},translationApi:t?{__type:"withToken",token:t,uri:e.cms.translationsApiUrl}:{__type:"withOutToken",uri:e.cms.translationsApiUrl},customersEditorUrl:e.cms.customerEditorUrl,updateEditorApi:t?{__type:"withToken",token:t,uri:`${e.urls.api}/${e.platform}/projects/${e.project.id}/delete`}:{__type:"withOutToken",uri:`${e.urls.api}/${e.platform}/projects/${e.project.id}/delete`},projectId:(0,n.fromNumber)(e.project.id),activeItem:{id:e.page.id,__type:i.ActiveItemTypes.CollectionItem},siteUrl:e.urls.site,supportLinks:e.cms.supportLinks,userApi:t?{__type:"withToken",token:t,uri:e.cms.apiUrl}:{__type:"withOutToken",uri:e.cms.apiUrl},builderVersion:e.editorVersion,locale:"default"}}])},66998:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DeviceModes",{enumerable:!0,get:function(){return w}});const r=f(o(60042)),i=f(o(27378)),n=f(o(24072)),a=f(o(22546)),l=f(o(47075)),s=o(74215),c=o(92213),d=o(64985),u=o(16526),p=o(97724);function f(e){return e&&e.__esModule?e:{default:e}}const m=()=>(0,c.getStore)().getState().ui.deviceMode,y={id:"mobile",type:"link",label:(0,d.t)("Mobile"),icon:"nc-phone",extraProps:()=>({className:(0,r.default)({"brz-ed-sidebar__popover__item--active":"mobile"===m()}),onClick:()=>{"mobile"!==m()&&((0,c.getStore)().dispatch((0,s.setDeviceMode)("mobile")),setTimeout((()=>{l.default.emit("deviceMode.change","mobile")}),300))}})},g={id:"tablet",type:"link",label:(0,d.t)("Tablet"),icon:"nc-tablet",extraProps:()=>({className:(0,r.default)({"brz-ed-sidebar__popover__item--active":"tablet"===m()}),onClick:()=>{"tablet"!==m()&&((0,c.getStore)().dispatch((0,s.setDeviceMode)("tablet")),setTimeout((()=>{l.default.emit("deviceMode.change","tablet")}),300))}})},b={id:"desktop",type:"link",label:(0,d.t)("Desktop"),icon:"nc-desktop",extraProps:()=>({className:(0,r.default)({"brz-ed-sidebar__popover__item--active":"desktop"===m()}),onClick:()=>{"desktop"!==m()&&((0,c.getStore)().dispatch((0,s.setDeviceMode)("desktop")),setTimeout((()=>{l.default.emit("deviceMode.change","desktop")}),300))}})},h=["ctrl+plus","cmd+plus","right_cmd+plus","ctrl+right_plus","cmd+right_plus","right_cmd+right_plus"],v=["ctrl+minus","cmd+minus","right_cmd+minus","ctrl+right_minus","cmd+right_minus","right_cmd+right_minus"];function S(e,t){let{keyName:o}=t;e.preventDefault();const{options:r}=w;let i=r.findIndex((e=>{let{id:t}=e;return t===(0,c.getStore)().getState().ui.deviceMode}));h.includes(o)?i--:i++,i===r.length?i=0:i<0&&(i=r.length-1),(0,c.getStore)().dispatch((0,s.setDeviceMode)(r[i].id)),setTimeout((()=>{l.default.emit("deviceMode.change",r[i].id)}),300)}const w={id:p.LeftSidebarOptionsIds.deviceMode,type:"popover",title:(0,d.t)("Mobile view"),className:"brz-ed-sidebar__popover--deviceMode",options:[b,g,y],render:e=>i.default.createElement(i.default.Fragment,null,e,i.default.createElement(n.default,{keyNames:[...h,...v],id:"key-helper-device-modes",onKeyDown:S})),disabled:(0,u.isStory)(a.default.getAll()),extraProps:()=>({icon:"mobile"===m()?"nc-phone":"tablet"===m()?"nc-tablet":"nc-desktop"})}},42174:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(33364))&&n.__esModule?n:{default:n};var n;const a=o(81300),l=o(64985);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static defaultProps={headerText:"",withHelpIcon:!1};render(){const{headerText:e,renderExtraHeader:t,children:o,withHelpIcon:n,...s}=this.props;return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-ed-sidebar__header"},r.default.createElement("h3",{className:"brz-h3 brz-ed-sidebar__header__title"},e),n&&r.default.createElement("span",{title:(0,l.t)("Help")},r.default.createElement(i.default,{icon:"nc-alert-circle-que",className:"brz-icon brz-ed-sidebar__header__help"})),"function"==typeof t&&t()),r.default.createElement("div",{className:"brz-ed-sidebar__main"},o&&r.default.createElement(a.Scrollbar,{theme:"dark"},r.default.cloneElement(o,s))))}}},37965:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),i=l(o(10301)),n=l(o(60042)),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",icon:"",title:"",onClick:i.default.noop};render(){const{icon:e,title:t,className:o,onClick:i}=this.props,l=(0,n.default)("brz-li brz-ed-sidebar__control__item",o);return r.default.createElement("div",{className:l,title:t,onClick:i},r.default.createElement(a.default,{icon:e}))}}},22809:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=a(o(27378)),i=a(o(60042)),n=a(o(54836));function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.default.Component{static defaultProps={className:"",data:{}};render(){const{data:e,meta:t,className:o}=this.props,a=n.default[e.type],l="object"==typeof e.extraProps?e.extraProps:"function"==typeof e.extraProps?e.extraProps():{},s=(0,i.default)("brz-ed-sidebar__control__item",o,e.className,l.className),c={...e,...l,meta:t,className:s},d=r.default.createElement(a,c);return c.render?c.render(d):d}}const s=l},19774:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=l(o(27378)),i=l(o(60042)),n=o(46338),a=l(o(22809));function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{disabled:t,roles:o}=e;return!0!==t&&!(Array.isArray(o)&&!o.includes((0,n.currentUserRole)()))};class c extends r.default.Component{static defaultProps={className:"",data:null,meta:{}};render(){const{className:e,optionClassName:t,data:o,meta:n}=this.props,l=(0,i.default)("brz-ed-sidebar__control__options",e),c=o.filter(s).map(((e,o)=>r.default.createElement(a.default,{key:o,className:t,data:e,meta:n})));return r.default.createElement("div",{className:l},c)}}const d=c},83471:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(10301)),n=a(o(60042));function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.default.Component{static defaultProps={label:"",link:"",title:"",onClick:i.default.noop};handleClick=e=>{const{onClick:t,link:o}=this.props;t(),""===o&&e.preventDefault()};render(){const{className:e,label:t,link:o,title:i}=this.props,a=(0,n.default)("brz-ed-sidebar-bottom__option",e);return r.default.createElement("div",{className:a,title:i},r.default.createElement("a",{href:o,className:"brz-a brz-ed-sidebar__popover__btn",onClick:this.handleClick},r.default.createElement("span",{className:"brz-span"},t)))}}},99976:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;function n(e){const{Component:t}=e;return r.default.createElement(t,null)}n.defaultProps={Component:()=>{}}},51741:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=u(o(31542)),n=o(23884),a=o(46338),l=o(74215),s=u(o(42432)),c=u(o(42174)),d=u(o(37965));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f=e=>{let{drawerContentType:t,drawerTitle:o="",withHelpIcon:n,drawerComponent:a,wrapperHeaderComponent:l=(e=>{let{children:t}=e;return t}),id:d,...u}=e;const p=(0,r.useRef)(t);(0,r.useEffect)((()=>{p.current=t}));const f=p.current,m=!f,y=f===d&&!t,g=t===d;let b=r.default.createElement(s.default,{in:!!t,appear:m},r.default.createElement(l,null,r.default.createElement(c.default,{headerText:o,withHelpIcon:n},a&&r.default.createElement(a,{extraProps:u}))));const h=window.parent.document.getElementById("brz-ed-sidebar");if(y)b=r.default.createElement(s.default,{unmountOnExit:!0});else if(!g)return null;return i.default.createPortal(b,h)},m=(0,n.connect)((e=>({deviceMode:e.ui.deviceMode,drawerContentType:e.ui.leftSidebar.drawerContentType})),(e=>({onDrawerContentTypeChange:(t,o)=>e((0,l.updateUI)("leftSidebar",{drawerContentType:t,isOpen:o}))})))((e=>{let{...t}=e;const{id:o,deviceMode:i,showInDeviceModes:n,disabled:l,drawerContentType:s,iconProps:c,icon:u,drawerTitle:p,onDrawerContentTypeChange:m}=t,y="admin"===(0,a.currentUserRole)()&&(!n||n.includes(i))&&!l,g=s===o?"brz-ed-sidebar__control__item--active":"",b="object"==typeof c?c:"function"==typeof c?c({activeClass:"brz-ed-sidebar__control__item--active"}):{},h=(0,r.useCallback)((()=>{m(o,!0)}),[m,o]);return y?r.default.createElement(r.default.Fragment,null,r.default.createElement(d.default,{key:o,tagName:"div",className:g,icon:u,title:p,onClick:h,...b}),r.default.createElement(f,t)):null}))},62221:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Languages",{enumerable:!0,get:function(){return m}});const r=p(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),a=p(o(97023)),l=p(o(65961)),s=p(o(22546)),c=o(74215),d=o(97045),u=o(98930);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}const m=e=>{const t=(0,n.useSelector)(d.currentLanguageSelector)??"default",o=(0,n.useDispatch)(),{label:p,className:f}=e,m=(0,r.default)("brz-ed-sidebar-bottom__option","brz-ed-sidebar__wp-template",f),y=(0,i.useMemo)((()=>{const e=s.default.getAll();return[{value:"default",title:"Default"},...(0,u.getLanguagesChoices)(e)].map(((e,t)=>i.default.createElement(l.default,{key:t,value:e.value},e.title)))}),[]),g=(0,i.useCallback)((e=>{o((0,c.updateUI)("currentLanguage",e))}),[o]);return i.default.createElement("div",{className:m},i.default.createElement("div",{className:"brz-ed-option__label"},p),i.default.createElement(a.default,{defaultValue:t,className:"brz-control__select--dark",maxItems:"6",itemHeight:"30",onChange:g},y))}},73501:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),i=l(o(27378)),n=l(o(10301)),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}class s extends i.default.Component{static defaultProps={className:"",label:"",icon:"",link:"",linkTarget:"",title:"",onClick:n.default.noop};handleClick=e=>{const{link:t,meta:o={},onClick:r}=this.props;""!==t&&"#"!==t||!o.popover||o.popover.close(),r(e)};render(){var e=this;const{className:t,icon:o,label:n,link:l,linkTarget:s,title:c}=this.props,d=(0,r.default)("brz-ed-sidebar-bottom__option",t),u=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return i.default.createElement("div",{...t?{className:t}:{},title:c,onClick:e.handleClick},o&&i.default.createElement(a.default,{icon:o}),n&&i.default.createElement("span",{className:"brz-span"},n))};return""!==l?i.default.createElement("a",{href:l,target:s,className:(0,r.default)("brz-a",d)},u()):u(d)}}},80635:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=p(o(60042)),i=p(o(27378)),n=o(84989),a=p(o(36042)),l=p(o(17882)),s=p(o(33364)),c=p(o(19774)),d=o(74215),u=o(92213);function p(e){return e&&e.__esModule?e:{default:e}}class f extends i.default.Component{static defaultProps={icon:"",options:[],clickOutsideExceptions:[],title:""};state={isOpen:!1,isHidden:!1};handleClick=()=>{if(!this.state.isOpen){const e=(0,u.getStore)();e.getState().ui.leftSidebar.isOpen&&e.dispatch((0,d.updateUI)("leftSidebar",{isOpen:!1})),this.open()}};handleClickOutside=()=>{this.close()};open=()=>{const{isOpen:e}=this.state;e||this.setState({isOpen:!0})};close=()=>{const{isOpen:e}=this.state;e&&this.setState({isOpen:!1})};show=()=>{const{isHidden:e}=this.state;e&&this.setState({isHidden:!1})};hide=()=>{const{isHidden:e}=this.state;e||this.setState({isHidden:!0})};renderOptions(){const{options:e}=this.props,t={popover:{open:this.open,close:this.close,show:this.show,hide:this.hide}};return i.default.createElement(c.default,{optionClassName:"brz-ed-sidebar__popover__item",data:e,meta:t})}render(){const{icon:e,clickOutsideExceptions:t,className:o,title:c}=this.props,{isOpen:d,isHidden:u}=this.state,p=(0,r.default)("brz-ed-sidebar-bottom__option brz-ed-sidebar__popover",o,{"brz-ed-sidebar__popover__item--active":d}),f=(0,r.default)("brz-ed-animated brz-ed-animated--fadeInLeft","brz-ed-sidebar__popover-content",{"brz-hidden":u}),m=[...t,".supports-drag-drop"];return i.default.createElement(l.default,{onClickOutside:this.handleClickOutside,exceptions:m},i.default.createElement("div",{className:p,title:c,onClick:this.handleClick},i.default.createElement(n.Manager,null,i.default.createElement(n.Reference,null,(t=>{let{ref:o}=t;return i.default.createElement("div",{ref:o},i.default.createElement(s.default,{icon:e}))})),this.state.isOpen&&i.default.createElement(n.Popper,{placement:"right",modifiers:[{name:"offset",options:{offset:[0,10]}},{name:"preventOverflow",options:{padding:8}}]},(e=>{let{ref:t,style:o,arrowProps:r,placement:n,update:l}=e;return i.default.createElement("div",{ref:t,style:o,"data-placement":n},i.default.createElement("div",{className:f},i.default.createElement("div",{ref:r.ref,style:r.style},i.default.createElement("div",{className:`brz-ed-arrow brz-ed-arrow--${n} brz-sidebar-arrow`})),this.renderOptions(),i.default.createElement(a.default,{onResize:l})))})))))}}},44730:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Roles",{enumerable:!0,get:function(){return m}});const r=p(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),a=p(o(97023)),l=p(o(65961)),s=p(o(22546)),c=o(74215),d=o(97045),u=o(14052);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}const m=e=>{const t=(0,n.useSelector)(d.currentRoleSelector)??"default",o=(0,n.useDispatch)(),{label:p,className:f}=e,m=(0,r.default)("brz-ed-sidebar-bottom__option brz-ed-sidebar__wp-template",f),y=(0,i.useMemo)((()=>{const e=s.default.getAll();return[{role:"default",name:"Default"},{role:"not_logged",name:"Not logged"},{role:"logged",name:"Logged"},...(0,u.getMembershipRoles)(e)].map(((e,t)=>i.default.createElement(l.default,{key:t,value:e.role},e.name)))}),[]),g=(0,i.useCallback)((e=>{o((0,c.updateUI)("currentRole",e))}),[o]);return i.default.createElement("div",{className:m},i.default.createElement("div",{className:"brz-ed-option__label"},p),i.default.createElement(a.default,{defaultValue:t,className:"brz-control__select--dark",maxItems:"6",itemHeight:"30",onChange:g},y))}},29901:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=u(o(27378)),i=o(23884),n=u(o(60042)),a=u(o(22546)),l=u(o(97023)),s=u(o(65961)),c=o(63425),d=o(39191);function u(e){return e&&e.__esModule?e:{default:e}}const p=e=>(0,c.isWPPage)(e.page)?e.page.template:"",f=(0,i.connect)((e=>({currentTemplate:p(e)})),null);class m extends r.default.Component{handleTemplateChange=e=>{const t=window.parent||window,o=a.default.getAll();if((0,d.isWp)(o)){const r=o.urls.changeTemplate??"";t.location.href=`${r}&template=${e}`}};renderOptions(){const e=a.default.getAll();return(0,d.isWp)(e)?e.wp.templates.map(((e,t)=>r.default.createElement(s.default,{key:t,value:e.id},e.title))):[]}render(){const{label:e,className:t,currentTemplate:o}=this.props,i=(0,n.default)("brz-ed-sidebar-bottom__option brz-ed-sidebar__wp-template",t);return r.default.createElement("div",{className:i},e&&r.default.createElement("div",{className:"brz-ed-option__label"},e),r.default.createElement(l.default,{defaultValue:o,className:"brz-control__select--dark",maxItems:"6",itemHeight:"30",onChange:this.handleTemplateChange},this.renderOptions()))}}const y=f(m)},19861:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=d(o(60042)),i=d(o(27378)),n=d(o(10301)),a=o(63458),l=d(o(22546)),s=o(64187),c=o(68914);function d(e){return e&&e.__esModule?e:{default:e}}const{page:u}=l.default.get("wp"),p=n.default.debounce((function(){for(var e=arguments.length,t=new Array(e),o=0;o{const{id:e,url:t,pointX:o,pointY:r}=l.default.get("wp").featuredImage||{};return{id:e||"",url:t||"",pointX:o||50,pointY:r||50}})();mounted=!1;componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}handleImageChange=e=>{const{src:t,x:o,y:r}=e;""===t?(this.constructor.currentFeaturedImage={id:"",url:"",pointX:50,pointY:50},(0,s.removeFeaturedImage)(u)):(this.constructor.currentFeaturedImage.pointX=o,this.constructor.currentFeaturedImage.pointY=r,p(u,this.constructor.currentFeaturedImage.id,o,r)),this.forceUpdate()};handleImageUpload=()=>{const e=o.g.wp||o.g.parent.wp;if(!e)throw new Error("Could not find WordPress on global object (window.wp)");if(!e.media)throw new Error("Could not find WordPress media object (window.wp.media). Make sure the WordPress media script is enqueued.");this.props.meta&&this.props.meta.popover&&this.props.meta.popover.hide();const t=parent.document.querySelector("#brz-ed-iframe"),r=e.media.featuredImage.frame();r.on("select",(()=>{const e=r.state().get("selection").first(),{url:t,id:o}=e.attributes;(0,s.updateFeaturedImage)(u,o).then((()=>{this.constructor.currentFeaturedImage.id=o,this.constructor.currentFeaturedImage.url=t,this.mounted&&this.forceUpdate()}))})),r.on("close",(()=>{t?.classList.remove("media-modal-open"),this.props.meta&&this.props.meta.popover&&this.props.meta.popover.show()})),t?.classList.add("media-modal-open"),r.open()};render(){const{className:e,label:t,title:o}=this.props,n=(0,r.default)("brz-ed-sidebar__wp-feature__image",e),{pointX:l,pointY:s,url:d}=this.constructor.currentFeaturedImage;return i.default.createElement("div",{className:n,title:o},t&&i.default.createElement("div",{className:"brz-ed-option__label"},t),i.default.createElement("div",null,i.default.createElement(a.ImageSetter,{src:d,extension:(0,c.getImageFormat)(d),customUrl:!0,x:l,y:s,onUpload:this.handleImageUpload,onChange:this.handleImageChange})))}}},88764:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=u(o(83471)),i=u(o(99976)),n=u(o(51741)),a=o(62221),l=u(o(73501)),s=u(o(80635)),c=o(44730),d=u(o(29901));function u(e){return e&&e.__esModule?e:{default:e}}const p={button:r.default,link:l.default,popover:s.default,drawer:n.default,custom:i.default,membership:c.Roles,template:d.default,language:a.Languages,shortcuts:l.default}},54836:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=n(o(29901)),i=n(o(19861));function n(e){return e&&e.__esModule?e:{default:e}}const a={...n(o(88764)).default,wpTemplate:r.default,featuredImage:i.default}},87494:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Settings",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=c(o(22546)),n=o(95994),a=c(o(73501)),l=o(64985),s=o(62762);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=e=>{let{config:t}=e;const[o,i]=(0,r.useState)(!1),{urls:{projectSettings:s}}=t;return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.default,{className:"brz-ed-sidebar__control__item",icon:"nc-cog",title:(0,l.t)("Settings"),onClick:()=>i(!o)}),r.default.createElement(n.PromptThirdParty,{iframeSrc:s,opened:o,onClose:()=>i(!1)}))},p={id:"settings",type:"custom",Component:()=>{const e=i.default.getAll();return(0,s.isCloud)(e)?r.default.createElement(u,{config:e}):null}}},53494:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Styling",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),i=o(23884),n=p(o(62893)),a=o(97724),l=o(10744),s=o(74215),c=o(97045),d=o(58838),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends r.default.Component{handleCurrentStyleIdChange=e=>{let{value:t}=e;this.props.dispatch((0,l.updateCurrentStyleId)(t))};handleColorPaletteChange=e=>{const{currentStyle:t,dispatch:o}=this.props;o((0,l.updateCurrentStyle)({...t,colorPalette:e}))};handleFontStylesChange=e=>{const{currentStyle:t,extraFontStyles:o,dispatch:r}=this.props,{fontStyles:i}=t,n=[...i,...o];if(e.length>n.length)r((0,s.updateExtraFontStyles)(e.filter((e=>"on"===e.deletable))));else for(const o of e)for(const i of n)if(o.id===i.id&&o!==i)return void("off"===o.deletable?r((0,l.updateCurrentStyle)({...t,fontStyles:e.filter((e=>"off"===e.deletable))})):r((0,s.updateExtraFontStyles)(e.filter((e=>"on"===e.deletable)))))};render(){const{styles:e,currentStyle:{id:t,colorPalette:o,fontStyles:i},extraFontStyles:a}=this.props,l=[{id:"currentStyle",label:"Current Style",type:"select-dev",choices:e.map((e=>({title:(0,d.brizyToBranding)(e.title),value:e.id}))),display:"block",value:{value:t},onChange:this.handleCurrentStyleIdChange},{id:"colorPalette",type:"colorPaletteEditor",attr:{className:"brz-ed-sidebar-option__color-palette-editor"},value:o,onChange:this.handleColorPaletteChange},{id:"fontStyles",type:"fontStyleEditor",value:[...i,...a],onChange:this.handleFontStylesChange}];return r.default.createElement("div",{className:"brz-ed-sidebar__styling"},r.default.createElement(n.default,{className:"brz-ed-sidebar-options",data:l}))}}const m={id:a.LeftSidebarOptionsIds.globalStyle,type:"drawer",icon:"nc-brush",drawerTitle:(0,u.t)("Styling"),drawerComponent:(0,i.connect)((e=>({styles:(0,c.stylesSelector)(e),currentStyle:(0,c.currentStyleSelector)(e),extraFontStyles:(0,c.extraFontStylesSelector)(e)})),(e=>({dispatch:e})))(f)}},79541:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LeftSidebar",{enumerable:!0,get:function(){return b}});const r=y(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),a=y(o(17882)),l=y(o(10547)),s=y(o(22546)),c=o(54639),d=o(74215),u=o(97045),p=o(17795),f=y(o(19774)),m=o(36073);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}const b=()=>{const e=(0,n.useDispatch)(),{drawerContentType:t,isOpen:o}=(0,n.useSelector)(u.leftSidebarSelector),y=(0,i.useCallback)((()=>t&&e((0,d.updateUI)("leftSidebar",{drawerContentType:null,isOpen:!1}))),[t,e]),g="cmsUi"===t&&o,b=s.default.getAll(),h=(0,c.isCloud)(b)&&!(0,p.isStory)(b),{top:v,bottom:S}=(0,m.getOptions)(b);return i.default.createElement(a.default,{onClickOutside:y,exceptions:[".brz-ed-sortable--empty",".brz-ed-toolbar",".brz-ed-fixed-bottom-panel",".brz-ed-animated",".brz-ed-eyeDropper"]},i.default.createElement(l.default,null,i.default.createElement("div",{id:"brz-ed-sidebar",className:"brz-ed-sidebar"},i.default.createElement("div",{className:(0,r.default)("brz-ed-sidebar__control",{"brz-ed-sidebar__control-cms":h,"brz-ed-sidebar__control-cms__opened":h&&g})},i.default.createElement(f.default,{className:"brz-ed-sidebar__control--top",data:v}),i.default.createElement(f.default,{className:"brz-ed-sidebar__control--bottom",data:S})))))}},36073:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getOptions",{enumerable:!0,get:function(){return b}});const r=o(70634),i=o(62762),n=o(97724),a=o(92213),l=o(64985),s=o(16526),c=o(7746),d=o(80041),u=o(68244),p=o(66998),f=o(87494),m=o(53494),y=o(75588),g=o(64531),b=e=>{const{leftSidebar:t={}}=e.ui??{},{topTabsOrder:o=[],bottomTabsOrder:b=[]}=t,h=[];let v=[];const S=(e=>{const{urls:t}=e,o=(0,g.getPageSettings)(e),r=(0,y.getMoreOptions)(e);return{[n.LeftSidebarOptionsIds.cms]:u.Cms,[n.LeftSidebarOptionsIds.addElements]:c.Base,[n.LeftSidebarOptionsIds.reorderBlock]:d.BlocksSortable,[n.LeftSidebarOptionsIds.globalStyle]:m.Styling,[n.LeftSidebarOptionsIds.collaboration]:{id:n.LeftSidebarOptionsIds.collaboration,type:"link",icon:"nc-collab",title:(0,l.t)("Collaborate"),onClick:()=>{const{collaborationToolUrl:e}=t,o=(0,a.getStore)().getState().ui.deviceMode;e&&window.open(`${e}&device=${o}`,"_blank")}},[n.LeftSidebarOptionsIds.deviceMode]:p.DeviceModes,[n.LeftSidebarOptionsIds.pageSettings]:{id:n.LeftSidebarOptionsIds.pageSettings,icon:"nc-page",title:(0,l.t)("Page"),type:"popover",disabled:0===o.length,options:o},[n.LeftSidebarOptionsIds.more]:{id:n.LeftSidebarOptionsIds.more,icon:"nc-back",title:(0,l.t)("More"),type:"popover",disabled:0===r.length,options:r}}})(e);return o.forEach((e=>{h.push(S[e])})),b.forEach((e=>{v.push(S[e])})),(0,i.isCloud)(e)&&(0,i.isShopify)(e)&&h.push(c.Shopify),(0,s.isExternalStory)(e)&&(v=(0,r.insert)(v,v.length-1,f.Settings)),{top:h,bottom:v}}},75588:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getMoreOptions",{enumerable:!0,get:function(){return n}});const r=o(78436),i=o(97724),n=e=>{const{leftSidebar:t={}}=e.ui??{},{options:o=[]}=t.more??{},n=[];return o.length&&o.forEach((e=>{e.type===i.LeftSidebarMoreOptionsIds.shortcuts?n.push({...e,id:e.type,onClick:e=>{e.preventDefault(),r.Prompt.open({mode:"stack",prompt:"keyHelper"})}}):n.push({...e,id:e.type})})),n}},64531:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPageSettings",{enumerable:!0,get:function(){return l}});const r=o(47885),i=o(97724),n=o(64985),a={[i.LeftSidebarPageSettingsOptionsIds.featuredImage]:{type:i.LeftSidebarPageSettingsOptionsIds.featuredImage,label:(0,n.t)("Featured Image")},[i.LeftSidebarPageSettingsOptionsIds.template]:{type:i.LeftSidebarPageSettingsOptionsIds.template,label:(0,n.t)("Page Template"),roles:["admin"]},[i.LeftSidebarPageSettingsOptionsIds.membership]:{type:i.LeftSidebarPageSettingsOptionsIds.membership,label:(0,n.t)("View as")},[i.LeftSidebarPageSettingsOptionsIds.language]:{type:i.LeftSidebarPageSettingsOptionsIds.language,label:(0,n.t)("Show If Language")}},l=e=>{const{leftSidebar:t={}}=e.ui??{},{options:o={}}=t.pageSettings??{},i=Object.entries(o).reduce(((e,t)=>{let[o,r]=t;return r&&e.push(o),e}),[]);return 0===i.length?[]:i.map((e=>a[e])).filter(r.isT)}},1440:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Link:function(){return f},default:function(){return m}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=p(o(27378)),a=o(94306),l=p(o(59638)),s=o(66100),c=o(61869),d=o(47576);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const f=(0,n.forwardRef)(((e,t)=>{let{className:o,style:i,children:u,rel:p,target:f=s.empty,type:m=c.empty,href:y,slide:g={},attr:b={},id:h=""}=e;const v=(0,n.useRef)(),S=(0,r.default)("brz-a",{"brz-anchor":"anchor"===m},o),w=(0,d.getHref)(m,l.mRead(y)),x=(0,d.getTarget)(m,f),M=(0,d.getAttr)(b),T=(0,d.getRel)(l.mRead(p));return(0,n.useEffect)((()=>{const e=v.current;e&&e.addEventListener("click",(e=>{e.preventDefault()}))}),[]),n.default.createElement("a",{className:S,href:w,target:x,rel:T,style:i,"data-brz-link-type":m,...g,...M,ref:e=>{(0,a.attachRef)(e,t||null),(0,a.attachRef)(e,v||null)},...h&&{id:h}},u)})),m=f},66100:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{read:function(){return o},empty:function(){return r},mRead:function(){return i}});const o=e=>"on"===e||"off"===e?e:void 0,r="off",i=e=>o(e)??r},61869:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{types:function(){return o},read:function(){return r},empty:function(){return i},mRead:function(){return n}});const o=["external","anchor","story","lightBox","popup","upload","action"],r=e=>o.includes(e)?e:void 0,i="external",n=e=>r(e)??i},47576:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getAttr:function(){return a},getTarget:function(){return l},getHref:function(){return s},getRel:function(){return c}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;o(97045),o(92213);const n=r.default.get("wp"),a=e=>Object.keys(e).filter((t=>""!==e[t])).reduce(((t,o)=>(t[o]=e[o],t)),{}),l=(e,t)=>"external"===e&&"on"===t||"upload"===e?"_blank":"_self",s=(e,t)=>{let o;switch(e){case"anchor":case"popup":o=`#${t}`;break;case"upload":{const{customFile:e}=r.default.get("urls"),[i]=t.split("|||",1);o=n?`${e}${i}`:`${e}/${i}`;break}case"page":case"lightBox":case"external":o=t;break;case"story":case"action":o="#"}return o},c=e=>{const t=["noopener"];return"on"===e&&t.push("nofollow"),t.join(" ")}},13741:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(60042))&&n.__esModule?n:{default:n};var n;const a=o(6085);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}class s extends r.Component{static defaultProps={className:"",position:"right-start",target:null};state={position:this.props.position};content=(0,r.createRef)();node=null;isReposition=!1;componentDidMount(){this.node=this.content.current,this.reposition()}componentDidUpdate(){this.isReposition||this.reposition()}getClassName(){return(0,i.default)("brz-menu__dropdown",this.props.className)}reposition(){let{target:e}=this.props;e||(e=window.document.body);const{left:t=0,right:o=0}=this.node?.getBoundingClientRect()??{},{width:r}=e.getBoundingClientRect();o>=r&&(this.isReposition=!0,this.setState({position:"left-start"},(()=>this.isReposition=!1))),t<=0&&(this.isReposition=!0,this.setState({position:"right-start"},(()=>this.isReposition=!1)))}renderForView(){const{mods:e,placement:t,children:o}=this.props,i=(0,a.encodeToString)({mods:e,placement:t});return r.default.createElement("ul",{"data-settings":i,className:this.getClassName()},o)}renderForEdit(){return r.default.createElement("ul",{ref:this.content,"data-popper-placement":this.state.position,className:this.getClassName()},this.props.children)}render(){return this.renderForEdit()}}const c=s},43007:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ToastNotification",{enumerable:!0,get:function(){return s}});const r=a(o(27378)),i=o(55190),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;return{position:i.toast.POSITION.TOP_CENTER,autoClose:1e3*e,closeOnClick:!1,pauseOnHover:!0,draggable:!1,progress:void 0,transition:i.Slide,closeButton:!1,icon:r.default.createElement(n.default,{icon:"nc-info"})}}const s={error:(e,t)=>{i.toast.error(e,l(t))},success:(e,t)=>{i.toast.success(e,l(t))},info:(e,t)=>{i.toast.info(e,l(t))},warn:(e,t)=>{i.toast.warn(e,l(t))}}},62948:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return S},ToastNotification:function(){return p.ToastNotification}});const r=m(o(27378)),i=o(23884),n=o(65631),a=m(o(22546)),l=o(10744),s=o(97045),c=o(49627),d=o(64985),u=o(64187),p=o(43007),f=m(o(33364));function m(e){return e&&e.__esModule?e:{default:e}}const y=e=>e.lockedBy.user_email,g=e=>{let{children:t}=e;return r.default.createElement("div",{className:"brz-ed-notification"},r.default.createElement("div",{className:"brz-ed-notification__body brz-d-xs-flex brz-flex-xs-column brz-align-items-xs-center brz-text-lg-center"},t))},b=e=>{let{children:t}=e;return r.default.createElement("div",{className:"brz-ed-notification__head"},t)},h=e=>{let{children:t}=e;return r.default.createElement("div",{className:"brz-ed-notification__content"},t)},v=e=>{let{children:t}=e;return r.default.createElement("div",{className:"brz-ed-notification__footer brz-d-xs-flex brz-align-items-xs-center"},t)},S=(0,i.connect)((e=>({error:(0,s.errorSelector)(e)})))((e=>{let{error:t,dispatch:o}=e;const{code:i,data:s}=t||{};let m;switch(i){case c.HEART_BEAT_ERROR:m=r.default.createElement(g,null,r.default.createElement(b,null,r.default.createElement(f.default,{icon:"nc-warning",className:"brz-ed-notification__warning"})),r.default.createElement(h,null,s.lockedBy?`${y(s)} ${(0,d.t)("is already editing project")}`:s.statusText||(0,d.t)("Something went wrong")),r.default.createElement(v,null,r.default.createElement("button",{className:"brz-button brz-ed-btn brz-ed-btn-blue brz-ed-btn-round brz-ed-btn-xs-2",onClick:()=>{window.parent.location.reload()}},(0,d.t)("Refresh"))));break;case c.PROJECT_LOCKED_ERROR:{const e=a.default.get("urls");m=r.default.createElement(g,null,r.default.createElement(b,null,r.default.createElement(f.default,{icon:"nc-warning",className:"brz-ed-notification__warning"})),r.default.createElement(h,null,s.lockedBy?`${(0,d.t)("You can’t make changes")}.\n ${y(s)} ${(0,d.t)("is currently working on this page. Do you want to take over")} ?`:s),r.default.createElement(v,null,r.default.createElement("a",{className:"brz-a brz-d-xs-flex brz-align-items-xs-center brz-ed-notification__to-dashboard",href:e.backToDashboard},(0,d.t)("To Dashboard")),r.default.createElement("button",{className:"brz-button brz-ed-notification__take-over brz-ed-btn brz-ed-btn-blue brz-ed-btn-round brz-ed-btn-xs-2",onClick:()=>{o((0,l.updateError)(null)),(0,u.sendHearBeatTakeOver)().catch((()=>{p.ToastNotification.error((0,d.t)("Take over failed please refresh the page"))}))}},(0,d.t)("Take over"))));break}case c.PROJECT_DATA_VERSION_ERROR:m=r.default.createElement(g,null,r.default.createElement(b,null,r.default.createElement(f.default,{icon:"nc-warning",className:"brz-ed-notification__warning"})),r.default.createElement(h,null,s),r.default.createElement(v,null,r.default.createElement("button",{className:"brz-button brz-ed-btn brz-ed-btn-blue brz-ed-btn-round brz-ed-btn-xs-2",onClick:()=>{window.parent.location.reload()}},(0,d.t)("Refresh"))));break;default:m=null}return r.default.createElement(n.CSSTransition,{in:Boolean(m),timeout:300,classNames:"brz-ed-fade",unmountOnExit:!0},m||r.default.createElement("span",null))}))},73469:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OptionLabel",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(33364)),n=o(1424);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{label:t,icon:o,helper:a,helperPlacement:l}=e;return t||o||a?r.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__focal-point__label"},o?r.default.createElement(i.default,{className:"brz-ed-option__label__icon",icon:o}):null,t?r.default.createElement("span",{className:"brz-ed-option__label__text"},t?.replace("-","‑")):null,a&&r.default.createElement("div",{className:"brz-ed-option__helper"},r.default.createElement(n.Tooltip,{placement:l,openOnClick:!1,overlay:r.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:a}})},r.default.createElement(i.default,{icon:"nc-alert-circle-que"})))):r.default.createElement(r.default.Fragment,null)}},26318:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OptionWrapper",{enumerable:!0,get:function(){return d}});const r=c(o(60042)),i=c(o(27378)),n=o(64985),a=c(o(1424)),l=c(o(33364)),s=o(94979);function c(e){return e&&e.__esModule?e:{default:e}}const d=e=>{let{children:t,className:o,display:c="inline",title:d,lock:u,upgradeToPro:p}=e;const f=(0,r.default)("brz-ed-option-wrapper",`brz-ed-option__${c}`,o,{"brz-ed-option-wrapper__isLocked":!0===u});return i.default.createElement("div",{className:f,title:d},t,!0===u?i.default.createElement("span",{className:"brz-ed-option-wrapper__lock"},i.default.createElement(a.default,{overlayClassName:"brz-ed-tooltip--delay-1",size:"small",openOnClick:!1,closeDelay:500,overlay:i.default.createElement(s.ProInfo,{text:(0,n.t)("Upgrade to PRO, to use this option"),url:p??""}),offset:10},i.default.createElement(l.default,{icon:"nc-lock",className:"brz-ed-option-wrapper__lock__icon"}))):null)}},95187:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),i=d(o(27378)),n=o(73469),a=o(26318),l=o(76753),s=d(o(22546)),c=o(22079);function d(e){return e&&e.__esModule?e:{default:e}}class u extends i.default.Component{onChange=(()=>{var e=this;return function(){for(var t=arguments.length,o=new Array(t),r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"callGetter",{enumerable:!0,get:function(){return o}});const o=e=>t=>t(e)},62893:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=a(o(27378)),i=a(o(23615)),n=a(o(95187));function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.default.Component{static propTypes={wrapOptions:i.default.bool};static defaultProps={className:"",optionClassName:"",location:"",data:null,toolbar:null,wrapOptions:!0};render(){const{data:e,className:t,optionClassName:o,toolbar:i,location:a,wrapOptions:l}=this.props,s=e.map(((e,t)=>r.default.createElement(n.default,{key:e.id||t,className:o,toolbar:i,data:e,location:a})));return l?r.default.createElement("div",{className:t},s):s}}const s=l},61042:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=c(o(27378)),i=c(o(60042)),n=c(o(33364)),a=o(92213),l=o(74215),s=o(97045);function c(e){return e&&e.__esModule?e:{default:e}}class d extends r.default.Component{static defaultProps={className:"",icon:"nc-cog",title:"",label:"",sidebarLabel:"",helper:!1,helperContent:"",attr:{}};state={isSidebarOpen:!1};componentWillUnmount(){const e=(0,a.getStore)(),{rightSidebar:t}=(0,s.uiSelector)(e.getState());this.state.isSidebarOpen&&void 0===t.lock&&e.dispatch((0,l.updateUI)("rightSidebar",{...t,isOpen:!1}))}handleLabelClick=()=>{const e=(0,a.getStore)(),{rightSidebar:t}=(0,s.uiSelector)(e.getState());t.isOpen||this.setState({isSidebarOpen:!0},(()=>{e.dispatch((0,l.updateUI)("rightSidebar",{...t,isOpen:!0}))}))};renderIcon(){const{icon:e}=this.props;return r.default.createElement("div",{className:"brz-ed-option__icon"},r.default.createElement(n.default,{icon:e}))}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return r.default.createElement("div",{className:"brz-ed-option__label"},e,t&&r.default.createElement("div",{className:"brz-ed-option__helper"},r.default.createElement(n.default,{icon:"nc-alert-circle-que"}),r.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}render(){const{className:e,icon:t,label:o,helper:n,attr:a,title:l}=this.props,s=(0,i.default)("brz-ed-option__advanced","brz-ed-option__inline",e,a.className);return r.default.createElement("div",{className:s,title:l,onClick:this.handleLabelClick},t&&this.renderIcon(),(o||n)&&this.renderLabel())}}},98048:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=y(o(60042)),i=y(o(13556)),n=y(o(27378)),a=o(23884),l=y(o(10301)),s=y(o(33364)),c=o(81300),d=o(74215),u=o(97045),p=o(25663),f=o(64985),m=o(68914);function y(e){return e&&e.__esModule?e:{default:e}}class g extends n.default.Component{static defaultProps={label:"",className:"",attr:{},helper:!1,helperContent:"",display:"inline",value:""};anchorInputRefs=[];componentWillUnmount(){this.handleInputChange.cancel(),this.anchorInputRefs=null}handleThumbnailClick=e=>{this.props.value===e?this.props.onChange(""):this.props.onChange(e)};handleInputChange=l.default.debounce(((e,t)=>{const{pageBlocks:o,globalBlocks:r,dispatch:n}=this.props,a=encodeURIComponent(e);let l=a;if(""!==l){const e=o.filter((e=>e.value._id!==t)).map((e=>("GlobalBlock"===e.type&&(e=r[e.value._id].data),e.value.anchorName)));let i=!1,n=0;do{i=!1;for(let t of e)if(l===t){i=!0,l=a+"-"+(1+ ++n);break}}while(i)}const s=o.find((e=>{let{type:o,value:i}=e;return"GlobalBlock"===o?r[i._id].data.value._id===t:i._id===t}));if("GlobalBlock"!==s.type){const e=o.map((e=>e.value._id===t?{...e,value:{...e.value,anchorName:l}}:e));n((0,d.updateBlocks)({blocks:e}))}else{const e=s.value._id,t=(0,i.default)(r[e],(e=>{e.data.value.anchorName=l}));n((0,d.updateGlobalBlock)(t))}this.anchorInputRefs[t].setValue(l)}),1e3);renderLabel(){const{label:e,helper:t,helperContent:o}=this.props,r=t?n.default.createElement("div",{className:"brz-ed-option__helper"},n.default.createElement(s.default,{icon:"nc-alert-circle-que"}),n.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return n.default.createElement("div",{className:"brz-ed-option__label"},e,r)}renderThumbnails(){const{value:e,pageBlocksAssembled:t,globalBlocks:o}=this.props;return t.filter((e=>"unlisted"!==e.value._blockVisibility)).map((t=>{"GlobalBlock"===t.type&&(t=o[t.value._id].data);const{_id:i,anchorName:a}=t.value,l=(0,r.default)("brz-ed-option__block-thumbnail-item",{active:i===e}),s=a?decodeURIComponent(a):"";return n.default.createElement("div",{key:i,className:l,onClick:()=>this.handleThumbnailClick(i)},n.default.createElement(b,{blockData:t}),n.default.createElement(h,{ref:e=>{e&&(this.anchorInputRefs[i]=e)},id:i,value:s,onChange:e=>this.handleInputChange(e,i)}))}))}render(){const{className:e,attr:t,label:o,helper:i,display:a}=this.props,l=(0,r.default)("brz-ed-option__block-thumbnail",`brz-ed-option__${a}`,e,t.className);return n.default.createElement("div",{...t,className:l},o||i?this.renderLabel():null,n.default.createElement(c.Scrollbar,{autoHeightMax:"240px",theme:"dark"},this.renderThumbnails()))}}class b extends n.default.Component{state={blockData:this.props.blockData,imageFetched:!1,showSpinner:!0};mounted=!1;componentDidMount(){this.mounted=!0,this.preloadThumbnail(this.state.blockData)}componentWillUnmount(){this.mounted=!1}preloadThumbnail(e){let t=!1;const{url:o}=(0,p.blockThumbnailData)(e);return(0,m.preloadImage)(o).then((()=>{this.mounted&&!t&&this.setState({imageFetched:!0,showSpinner:!1,blockData:e})})),()=>t=!0}render(){const{blockData:e,imageFetched:t,showSpinner:o}=this.state,{url:r,width:i,height:a}=(0,p.blockThumbnailData)(e),l={width:132,height:132*a/i},c=o?{}:{display:"none"};return n.default.createElement("div",{className:"brz-ed-option__block-thumbnail-image",style:l},n.default.createElement("div",{className:"brz-ed-option__block-thumbnail-loading",style:c},n.default.createElement(s.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),t&&n.default.createElement("img",{className:"brz-img",src:r}))}}class h extends n.default.Component{state={inputValue:this.props.value};setValue(e){this.state.inputValue!==e&&this.setState({inputValue:e})}handleContainerClick=e=>{e.stopPropagation()};handleInputChange=e=>{this.setState({inputValue:e.target.value},(()=>{this.props.onChange(this.state.inputValue)}))};render(){const{id:e}=this.props,t=`anchor-${e}`;return n.default.createElement("div",{className:"brz-ed-option__block-thumbnail-anchor",onClick:this.handleContainerClick},n.default.createElement("span",{className:"brz-span"},"#"),n.default.createElement("input",{className:"brz-input",type:"text",autoComplete:"off",placeholder:(0,f.t)("Block Name"),value:this.state.inputValue,onChange:this.handleInputChange,id:t}),n.default.createElement("label",{className:"brz-label",htmlFor:t},n.default.createElement(s.default,{icon:"nc-pen"})))}}const v=(0,a.connect)((e=>({pageBlocks:(0,u.pageBlocksSelector)(e),pageBlocksAssembled:(0,u.pageBlocksAssembledRawSelector)(e),globalBlocks:(0,u.globalBlocksAssembled2Selector)(e)})))(g)},9508:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),i=l(o(10301)),n=l(o(60042)),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",attr:{},icon:"nc-circle-add",title:"Add",value:!1};handleMouseDown=e=>{e.preventDefault(),this.props.onChange(!this.props.value)};render(){const{className:e,attr:t,value:o,icon:l,title:s}=this.props,c=(0,n.default)("brz-ed-option__button",{"brz-ed-toolbar--active":o},e,t.className),d=i.default.omit(t,"className");return r.default.createElement("div",{className:c,title:s,onMouseDown:this.handleMouseDown,...d},r.default.createElement(a.default,{icon:l}))}}const c=s},38423:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),i=d(o(23615)),n=d(o(27378)),a=d(o(10301)),l=d(o(31916)),s=d(o(19665)),c=d(o(33364));function d(e){return e&&e.__esModule?e:{default:e}}class u extends n.default.Component{static propTypes={label:i.default.string,display:i.default.string,icon:i.default.string,title:i.default.string,className:i.default.string,helper:i.default.bool,helperContent:i.default.string,attr:i.default.object,choices:i.default.array.isRequired,value:i.default.object.isRequired,onChange:i.default.func.isRequired};static defaultProps={label:"",display:"inline",icon:"",title:"",className:"",value:{},helper:!1,helperContent:"",attr:{},choices:[],onChange:a.default.noop};renderLabel(){const{label:e,helper:t,helperContent:o}=this.props,r=t?n.default.createElement("div",{className:"brz-ed-option__helper"},n.default.createElement(c.default,{icon:"nc-alert-circle-que"}),n.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return n.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__check-group__label"},e,r)}renderChoices(){const{choices:e}=this.props;return e.map((e=>{let{value:t,title:o,icon:i}=e;const a=(0,r.default)({"brz-ed-option__check-group--boxed":i});return n.default.createElement(s.default,{key:t,className:a,name:o||i,value:t},i&&n.default.createElement("div",{className:"brz-ed-option__check-group__icon"},n.default.createElement(c.default,{icon:i})),o&&n.default.createElement("div",{className:"brz-ed-option__check-group__title"},o))}))}render(){const{label:e,display:t,className:o,helper:i,attr:a,value:s,onChange:c}=this.props,d=(0,r.default)("brz-ed-option__check-group",`brz-ed-option__${t}`,o,a.className);return n.default.createElement("div",{...a,className:d},e||i?this.renderLabel():null,n.default.createElement(l.default,{defaultValue:s,onChange:c},this.renderChoices()))}}const p=u},26536:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=f(o(60042)),i=f(o(27378)),n=f(o(10301)),a=f(o(17882)),l=f(o(94623)),s=f(o(33364)),c=o(23106),d=f(o(22546)),u=o(49863),p=o(16526);function f(e){return e&&e.__esModule?e:{default:e}}class m extends i.default.Component{static defaultProps={className:"",attr:{},value:{hex:"#000000",opacity:1},onChange:n.default.noop};state={eyeDropperStatus:!1};render(){const{className:e,attr:t,value:o,onChange:f}=this.props,{eyeDropperStatus:m}=this.state,y=(0,p.isStory)(d.default.getAll()),g=(0,r.default)("brz-ed-option__color-picker__hex",e,t.className),b=n.default.omit(t,"className"),h=(0,u.pipe)((e=>f({hex:e,isChanged:"hex"})),(()=>this.setState({eyeDropperStatus:!1})));return i.default.createElement("div",{className:g,...b},y?"":i.default.createElement(s.default,{className:(0,r.default)("brz-ed-control__color-picker-inputs__eye-dropper",{"brz-ed-control__color-picker-inputs__eye-dropper--active":m}),icon:"eye-dropper",onClick:()=>!m&&this.setState({eyeDropperStatus:!0})}),i.default.createElement(l.default,{value:o,onChange:f}),m&&i.default.createElement(a.default,{onClickOutside:()=>this.setState({eyeDropperStatus:!1})},i.default.createElement(c.EyeDropper,{onPick:h})))}}const y=m},262:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),i=d(o(27378)),n=d(o(33364)),a=o(97724),l=o(74215),s=o(92213),c=o(81405);function d(e){return e&&e.__esModule?e:{default:e}}class u extends i.default.Component{static defaultProps={className:"",colors:null,globalStyle:!0,value:"",onChange:()=>console.log("ColorPalette default onChange")};handleSidebarOpen=()=>{(0,s.getStore)().dispatch((0,l.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:a.LeftSidebarOptionsIds.globalStyle}))};render(){const{className:e,colors:t,value:o,onChange:a}=this.props,l=(0,r.default)("brz-ed-option__color-palette2",e),s=(t||(0,c.getColorPaletteColors)()).map((e=>{const t=(0,r.default)("brz-ed-option__color-palette2__item",{active:e.id===o}),n={backgroundColor:e.hex};return i.default.createElement("div",{key:e.id,className:t,style:n,onClick:()=>a(e.id)})}));return i.default.createElement("div",{className:l},s,this.props.globalStyle&&i.default.createElement("div",{className:"brz-ed-option__color-palette2__icon",onClick:this.handleSidebarOpen},i.default.createElement(n.default,{icon:"nc-cog"})))}}const p=u},90573:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),i=l(o(60042)),n=l(o(67439)),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",helperContent:"",helper:!1,attr:{},value:[]};state={active:null};handleToolbarOpen=e=>{this.setState({active:e})};handleToolbarClose=()=>{this.setState({active:null})};handleColorChange(e,t){const o=this.props.value.map(((o,r)=>r===t?{...o,hex:e.hex}:o));this.props.onChange(o)}renderLabel=()=>{const{label:e,helper:t,helperContent:o}=this.props,i=t?r.default.createElement("div",{className:"brz-ed-option__helper"},r.default.createElement(a.default,{icon:"nc-alert-circle-que"}),r.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return r.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__color-palette-editor__label"},e,i)};render(){const{className:e,attr:t,label:o,helper:a,value:l}=this.props,s=l.map(((e,t)=>{const o=(0,i.default)("brz-ed-option__color-palette-editor__item",{active:t===this.state.active}),a={backgroundColor:e.hex};return r.default.createElement(n.default,{key:t,getItems:()=>[{id:"settings",type:"popover",icon:"nc-cog",display:"inside",size:"auto",onOpenDirect:!0,position:90,options:[{id:"backgroundColor",type:"colorPicker2",label:"Color HEX",disableOpacity:!0,select:{show:!1},picker:{showOpacity:!1},palette:{show:!1},value:{hex:e.hex,opacity:1},onChange:e=>this.handleColorChange(e,t)},{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[{id:"backgroundColorFields",type:"colorFields",disableOpacity:!0,value:{hex:e.hex,opacity:1},onChange:e=>this.handleColorChange(e,t)}]}]}]}],onOpen:()=>this.handleToolbarOpen(t),onClose:this.handleToolbarClose},r.default.createElement("div",{className:o,style:a}))})),c=(0,i.default)("brz-ed-option__color-palette-editor",e,t.className);return r.default.createElement("div",{...t,className:c},o||a?this.renderLabel():null,s)}}const c=s},91669:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=g(o(60042)),i=g(o(27378)),n=g(o(10301)),a=g(o(71197)),l=g(o(97023)),s=g(o(65961)),c=g(o(53799)),d=g(o(33364)),u=g(o(22546)),p=o(62762),f=o(97724),m=g(o(262)),y=g(o(48038));function g(e){return e&&e.__esModule?e:{default:e}}const b=u.default.getAll(),h=(0,p.isCloud)(b)&&(0,p.isShopify)(b);class v extends i.default.Component{static defaultProps={className:"",attr:{},picker:{showOpacity:!0},palette:{show:!0,choices:[]},select:{show:!0,itemHeight:24,choices:[]},gradient:{show:!1,min:0,max:100,step:1},value:{select:"",hex:"#000000",opacity:1,palette:"",gradientColorHex:"#000000",gradientColorOpacity:1,gradientColorPalette:"",startPointer:0,finishPointer:100,activePointer:"startPointer"},onChange:n.default.noop};enabledGlobalStyle(){const e=u.default.getAll(),{bottomTabsOrder:t=[],topTabsOrder:o=[]}=e.ui?.leftSidebar??{};return[...t,...o].includes(f.LeftSidebarOptionsIds.globalStyle)}handleChange=e=>{const{value:t,onChange:o}=this.props,r="gradient"===t.select&&"finishPointer"===t.activePointer;let i={};if("hex"===e.isChanged){const{hex:t}=e;i=r?{gradientColorHex:t}:{hex:t}}let n={};if("opacity"===e.isChanged){const{opacity:t}=e;n=r?{gradientColorOpacity:t}:{opacity:t}}o({...t,...e,...i,...n})};renderPalette(){const{palette:{choices:e},value:{palette:t,gradientColorPalette:o,select:r,activePointer:n}}=this.props,a="gradient"===r&&"finishPointer"===n?o:t;return i.default.createElement(m.default,{choices:e,value:a,globalStyle:this.enabledGlobalStyle(),onChange:e=>{this.handleChange({palette:e,isChanged:"palette"})}})}renderGradient(){const{gradient:{show:e,...t},value:{startPointer:o,finishPointer:r,activePointer:n,hex:a,gradientColorHex:l}}=this.props;return i.default.createElement(y.default,{config:{range:t},value:{startPointer:o,finishPointer:r,activePointer:n,hex:a,gradientColorHex:l},onChange:this.handleChange})}renderSelectChoices(e){return e.map(((e,t)=>{const{title:o,icon:a,optgroup:l,value:u}=e;let p;if(n.default.isObject(a)){const e=(0,r.default)("brz-control__select-option__bg",a.className);p=i.default.createElement("div",{...a,className:e})}else a&&(p=i.default.createElement(d.default,{icon:a}));return l&&l.length?i.default.createElement(c.default,{key:t,title:o,items:this.renderSelectChoices(l)},p,o&&i.default.createElement("span",{className:"brz-span"},o)):i.default.createElement(s.default,{key:t,value:u,title:o},p,o&&i.default.createElement("span",{className:"brz-span"},o))}))}renderSelect(){const{select:e,value:t}=this.props;return i.default.createElement(l.default,{className:"brz-control__select--dark brz-control__select__auto",defaultValue:t.select,itemHeight:e.itemHeight||24,onChange:e=>{this.handleChange({select:e,isChanged:"select"})}},this.renderSelectChoices(e.choices))}render(){const{className:e,picker:{showOpacity:t=!0},palette:{show:o=!0},gradient:{show:n=!0},select:{show:l=!0},attr:s,value:{hex:c,opacity:d,select:u,activePointer:p,gradientColorHex:f,gradientColorOpacity:m}}=this.props,y=(0,r.default)("brz-ed-option__colorPicker2",e,s.className),g="gradient"===u&&"finishPointer"===p?{hex:f,opacity:m}:{hex:c,opacity:d};return i.default.createElement("div",{...s,className:y},n&&this.renderGradient(),l&&this.renderSelect(),i.default.createElement(a.default,{value:g,disableOpacity:!t,onChange:this.handleChange}),!h&&o&&this.renderPalette())}}const S=v},55605:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=y(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),a=y(o(10301)),l=y(o(33364)),s=y(o(92823)),c=o(46338),d=o(81300),u=o(97045),p=o(37203),f=o(72833),m=o(64985);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}const b={default:"17px",great_vibes:"18px",alex_brush:"18px",allura:"18px",parisienne:"18px"};class h extends i.Component{static defaultProps={defaultFont:"",value:"lato",fonts:{},onChange:a.default.noop};checkCurrentFont(){const{fonts:e,value:t}=this.props;return Object.entries(e).some((e=>{const[o,r]=e;return r.data.some((e=>f.fontTransform[o](e).id===t))}))}handleOpenFonts=e=>{e.preventDefault(),s.default.open({prompt:"fonts",mode:"single"})};renderFontList(e,t,o){const{value:n,defaultFont:a,onChange:l}=this.props;return e.map((e=>{const s=f.fontTransform[t](e),{id:c,family:d,title:u}=s,p=(0,r.default)("brz-ed-font__name",{active:o?c===n:c===a}),m={fontFamily:d,fontSize:b[c]||b.default};return i.default.createElement("div",{key:c,className:p,style:m,onClick:()=>l({...s,type:t})},u)}))}render(){const{config:e={},blocks:t={},google:o={},upload:r={}}=this.props.fonts,n=this.checkCurrentFont(),a=r.data&&r.data.length>0||o.data&&o.data.length>0;return i.default.createElement("div",{className:"brz-ed-font__typography"},i.default.createElement(d.Scrollbar,{theme:"dark"},r.data&&r.data.length>0&&this.renderFontList(r.data,"upload",n),o.data&&o.data.length>0&&this.renderFontList(o.data,"google",n),a&&i.default.createElement("hr",{className:"brz-hr brz-ed-font__separator"}),t.data&&this.renderFontList(t.data,"google",n),this.renderFontList(e.data,"google",n)),i.default.createElement(c.Roles,{allow:["admin"]},i.default.createElement("div",{className:"brz-ed-font__typography-adder",onClick:this.handleOpenFonts},i.default.createElement(l.default,{icon:"nc-add"}),(0,m.t)("Add New Font"))))}}const v=(0,n.connect)((e=>({fonts:(0,p.unDeletedFontsSelector)(e),defaultFont:(0,u.projectSelector)(e).data.font})),null)(h)},13856:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=u(o(27378)),i=u(o(65961)),n=u(o(33364)),a=o(97724),l=o(74215),s=o(92213),c=o(72833),d=u(o(1798));function u(e){return e&&e.__esModule?e:{default:e}}class p extends d.default{handleSidebarOpen(){(0,s.getStore)().dispatch((0,l.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:a.LeftSidebarOptionsIds.globalStyle}))}renderChoices(){return[{id:"",title:"Custom"},...(0,c.getFontStyles)()].map((e=>{let{id:t,title:o}=e;return r.default.createElement(i.default,{key:t,value:t},o)}))}renderAfterSelect(){return r.default.createElement("div",{className:"brz-ed-option__select__after",onClick:this.handleSidebarOpen},r.default.createElement(n.default,{icon:"nc-cog"}))}}const f=p},12002:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=g(o(60042)),i=g(o(27378)),n=o(66848),a=g(o(33364)),l=o(81300),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(67439)),c=g(o(22546)),d=o(72833),u=o(83111),p=o(64985),f=o(16526),m=o(6085),y=o(6804);function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}class h extends i.default.Component{static defaultProps={title:"Title",fontFamily:"",fontSize:12,fontSizeSuffix:"px",fontWeight:300,lineHeight:1,letterSpacing:1,tabletFontSize:12,tabletFontSizeSuffix:"px",tabletFontWeight:300,tabletLineHeight:1,tabletLetterSpacing:1,mobileFontSize:12,mobileFontSizeSuffix:"px",mobileFontWeight:300,mobileLineHeight:1,mobileLetterSpacing:1,showDeleteIcon:!1};state={device:"desktop",active:!1};handleToolbarOpen=()=>{this.setState({active:!0})};handleToolbarClose=()=>{this.setState({active:!1})};handleTabsChange=e=>{this.setState({device:e})};handleTextChange=e=>{this.props.onChange({title:e})};handleDelete=()=>{(0,s.hideToolbar)(),this.props.onChange({deleted:!0})};render(){const{title:e,fontFamily:t,fontFamilyType:o,fontSize:l,fontSizeSuffix:m,fontWeight:y,lineHeight:g,letterSpacing:b,tabletFontSize:h,tabletFontSizeSuffix:v,tabletFontWeight:S,tabletLineHeight:w,tabletLetterSpacing:x,mobileFontSize:M,mobileFontSizeSuffix:T,mobileFontWeight:P,mobileLineHeight:C,mobileLetterSpacing:k,showDeleteIcon:_,deletable:O,onChange:E}=this.props,{device:z,active:B}=this.state,j=(0,r.default)("brz-ed-option__font-style-editor",{active:B}),N={fontFamily:(0,d.getFontById)({family:t,type:o}).family,fontWeight:"desktop"===z?y:"tablet"===z?S:P},I=(0,f.isStory)(c.default.getAll());return i.default.createElement("div",{className:j},_?i.default.createElement("div",{className:"brz-ed-option__font-style-editor--delete",onClick:this.handleDelete},i.default.createElement(a.default,{icon:"nc-trash"})):null,i.default.createElement(s.default,{getItems:()=>[{id:"toolbarTypography",type:"popover",icon:"nc-font",size:"xlarge",display:"inside",onOpenDirect:!0,options:[{type:"grid",className:"brz-ed-grid__typography brz-ed-grid__typography--sidebar",columns:[{width:54,options:[{id:"fontFamily",label:"Font Family",type:"fontFamily",value:t,onChange:e=>{let{id:t,type:o}=e;return E({fontFamily:t,fontFamilyType:o})}}]},{width:46,className:"brz-ed-popover__typography",options:[{id:"fontDevices",type:"tabs",align:"start",tabsClassName:"brz-ed-control__tabs__editor",tabs:[{id:"desktop",tabIcon:"nc-desktop",options:[{type:"grid",className:"brz-ed-grid__typography",columns:[{width:50,className:"brz-ed-grid__typography--globalStyles-col1",options:[{id:"fontSizeSuffix",type:"select-dev",label:"Size",className:"brz-control__typography-suffix",disabled:I,choices:u.getSuffixChoices,value:{value:m},onChange:e=>{let{value:t}=e;return E({fontSizeSuffix:t})}},{id:"fontSize",type:"stepper",label:I?"Size":"",display:"block",min:1,max:300,step:1,value:l,onChange:e=>E({fontSize:e})},{id:"lineHeight",label:"Line Hgt.",type:"stepper",display:"block",min:1,max:20,step:.1,value:g,onChange:e=>E({lineHeight:e})}]},{width:50,className:"brz-ed-grid__typography--globalStyles-col2",options:[{id:"fontWeight",label:"Weight",type:"select-dev",display:"block",choices:(0,d.getWeightChoices)({family:t,type:o}),value:{value:y},onChange:e=>{let{value:t}=e;return E({fontWeight:t})}},{id:"letterSpacing",label:"Letter Sp.",type:"stepper",display:"block",min:-20,max:20,step:.1,value:b,onChange:e=>E({letterSpacing:e})}]}]}]},{id:"tablet",tabIcon:"nc-tablet",options:[{type:"grid",disabled:I,className:"brz-ed-grid__typography",columns:[{width:50,className:"brz-ed-grid__typography--globalStyles-col1",options:[{id:"tabletFontSizeSuffix",type:"select-dev",label:"Size",className:"brz-control__typography-suffix",choices:u.getSuffixChoices,value:{value:v},onChange:e=>{let{value:t}=e;return E({tabletFontSizeSuffix:t})}},{id:"tabletFontSize",type:"stepper",display:"block",min:1,max:300,step:1,value:h,onChange:e=>E({tabletFontSize:e})},{id:"tabletLineHeight",label:"Line Hgt.",type:"stepper",display:"block",min:1,max:20,step:.1,value:w,onChange:e=>E({tabletLineHeight:e})}]},{width:50,className:"brz-ed-grid__typography--globalStyles-col2",options:[{id:"tabletFontWeight",label:"Weight",type:"select-dev",display:"block",choices:(0,d.getWeightChoices)({family:t,type:o}),value:{value:S},onChange:e=>{let{value:t}=e;return E({tabletFontWeight:t})}},{id:"tabletLetterSpacing",label:"Letter Sp.",type:"stepper",display:"block",min:-20,max:20,step:.5,value:x,onChange:e=>E({tabletLetterSpacing:e})}]}]}]},{id:"mobile",tabIcon:"nc-phone",options:[{type:"grid",disabled:I,className:"brz-ed-grid__typography",columns:[{width:50,className:"brz-ed-grid__typography--globalStyles-col1",options:[{id:"mobileFontSizeSuffix",type:"select-dev",label:"Size",className:"brz-control__typography-suffix",choices:u.getSuffixChoices,value:{value:T},onChange:e=>{let{value:t}=e;return E({mobileFontSizeSuffix:t})}},{id:"mobileFontSize",type:"stepper",display:"block",min:1,max:300,step:1,value:M,onChange:e=>E({mobileFontSize:e})},{id:"mobileLineHeight",label:"Line Hgt.",type:"stepper",display:"block",min:1,max:20,step:.1,value:C,onChange:e=>E({mobileLineHeight:e})}]},{width:50,className:"brz-ed-grid__typography--globalStyles-col2",options:[{id:"mobileFontWeight",label:"Weight",type:"select-dev",display:"block",choices:(0,d.getWeightChoices)({family:t,type:o}),value:{value:P},onChange:e=>E({mobileFontWeight:e.value})},{id:"mobileLetterSpacing",label:"Letter Sp.",type:"stepper",display:"block",min:-20,max:20,step:.5,value:k,onChange:e=>E({mobileLetterSpacing:e})}]}]}]}],value:z,onChange:this.handleTabsChange}]}]}]}],onOpen:this.handleToolbarOpen,onClose:this.handleToolbarClose},i.default.createElement("div",{className:"brz-ed-option__font-style-editor__container"},i.default.createElement("p",{className:"brz-p brz-ed-option__font-style-editor__title"},"on"===O?i.default.createElement(n.TextEditor,{value:e,onChange:this.handleTextChange}):e),i.default.createElement("p",{className:"brz-p brz-ed-option__font-style-editor__sample",style:N},(0,p.t)("It's a sample")))))}}class v extends i.default.Component{static defaultProps={value:{}};handleChange=(e,t)=>{const{value:o,onChange:r}=this.props;r(o.map((o=>e===o.id?{...o,...t}:o)))};handleAddNew=()=>{const{value:e,onChange:t}=this.props,o={...e[0],deletable:"on",id:(0,y.uuid)(),title:(0,m.printf)((0,p.t)("New Style #%s"),e.length)};t([...e,o])};render(){const{value:e}=this.props,t=e.filter((e=>!0!==e.deleted)).map((e=>i.default.createElement(h,{key:e.id,showDeleteIcon:"on"===e.deletable,...e,onChange:this.handleChange.bind(null,e.id)})));return i.default.createElement("div",{className:"brz-ed-option__font-styles"},i.default.createElement(l.Scrollbar,{theme:"dark"},t),i.default.createElement("div",{className:"brz-ed-option__font-styles--add",onClick:this.handleAddNew},i.default.createElement(a.default,{icon:"nc-add"}),i.default.createElement("span",{className:"brz-span"},(0,p.t)("Add New"))))}}const S=v},12022:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),i=l(o(60042)),n=l(o(33364)),a=l(o(92823));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",attr:{},icon:"nc-cog",value:!1};handleMouseDown=e=>{e.preventDefault();const{value:t}=this.props;a.default.open({prompt:"form",mode:"single",props:{formId:t.id,formFields:t.fields}})};render(){const{className:e,attr:t,icon:o}=this.props,a=(0,i.default)("brz-ed-option__button",e,t.className);return r.default.createElement("div",{...t,className:a,onMouseDown:this.handleMouseDown},r.default.createElement(n.default,{icon:o}))}}const c=s},8731:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=d(o(60042)),i=d(o(27378)),n=d(o(10301)),a=o(56059),l=o(97045),s=o(92213),c=o(64985);function d(e){return e&&e.__esModule?e:{default:e}}const u=e=>{let{className:t="",value:o,context:d,attr:u={}}=e;const p=(0,r.default)("brz-ed-option__popup_conditions",t,u.className),f=n.default.omit(u,"className"),m=(0,s.getStore)().getState(),y=(0,l.globalBlocksSelector)(m),{rules:g}=y[o];return i.default.createElement(a.ConditionsComponent,{context:d,value:o},i.default.createElement("div",{className:p,...f},i.default.createElement("span",{className:"brz-ed-option__popup_conditions-count"},g.length),(0,c.t)("Display Conditions")))}},26612:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PortalLoading",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(31542)),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}class l{static opened=new Set;static render(e){const t=e||document.body,o=t&&t.ownerDocument;if(t&&o){const e=r.default.createElement(n.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}),a=o.createElement("div");return a.className="brz-ed-portal__loading",t.append(a),l.opened.add(a),i.default.render(e,a),a}}static close(e){e&&(e.remove(),l.opened.delete(e))}static closeAll(){l.opened.forEach((e=>{e.remove()})),l.opened.clear()}}},81474:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _}});const r=M(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),a=o(10301),l=o(56059),s=o(1014),c=M(o(33364)),d=o(62948),u=M(o(92823)),p=o(67808),f=o(67138),m=o(74215),y=o(97045),g=o(64187),b=o(25663),h=o(64985),v=o(16526),S=o(6804),w=o(26612),x=o(91532);function M(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}const P=()=>{let e="";return new Map([...f.SectionPopupInstances,...p.SectionPopup2Instances]).forEach((t=>{t.state.isOpened&&(e=t.instanceKey)})),e},C=e=>{const t=new Map([...f.SectionPopupInstances,...p.SectionPopup2Instances]).get(e);t&&t.open()};class k extends i.Component{static defaultProps={blockType:"normal",className:"",label:"",display:"inline",attr:{},helper:!1,helperContent:"",extraFontStyles:[],pageBlocks:[],blocksData:{},globalBlocks:{},page:void 0,value:{_id:"",parentId:void 0},makeNormalToGlobalBlock:a.noop,makeGlobalToNormalBlock:a.noop,makePopupToGlobalBlock:a.noop,makeGlobalBlockToPopup:a.noop};mounted=!1;switchKey=(0,S.uuid)(4);componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}isGlobalBlock=()=>{const{value:{_id:e},globalBlocks:t}=this.props;return Object.keys(t).includes(e)};openPromptCondition(e){u.default.open({prompt:"conditions",mode:"single",props:{options:(0,l.getOptions)(e,this.props.value._id)}})}handleChange=async e=>{const{blockType:t,extraFontStyles:o,pageBlocks:r,page:i,makeNormalToGlobalBlock:n,makeGlobalToNormalBlock:a,makePopupToGlobalBlock:l,makeGlobalBlockToPopup:s,value:{_id:c,parentId:u}}=this.props,p=document.querySelector(`[id='${c}']`),f=w.PortalLoading.render(p),m=(0,v.getBlockData)(r,c);if(e){if(p&&m){const e=await(0,x.createScreenshot)(p),r={extraFontStyles:o,type:(0,x.getBlocType)(t)};e&&(r._thumbnailSrc=e._thumbnailSrc,r._thumbnailWidth=e._thumbnailWidth,r._thumbnailHeight=e._thumbnailHeight,r._thumbnailTime=e._thumbnailTime),Object.prototype.hasOwnProperty.call(m,"deleted")&&(m.deleted=!1);let a={meta:r,status:"draft",data:m,rules:[],position:{align:"bottom",top:0,bottom:0}};!(0,b.isPopup)(m)&&i&&(a=(0,b.changeRule)(a,!0,i)),await(0,g.createGlobalBlock)(a).then((e=>{if(!e||!e.data)throw e;switch(w.PortalLoading.close(f),t){case"popup":case"externalPopup":{const e="popup"===t&&P();l(a),e&&C(e),"externalPopup"===t&&this.openPromptCondition("popup");break}case"normal":n(a),this.openPromptCondition("block")}})).catch((e=>{switch(w.PortalLoading.close(f),this.switchKey=(0,S.uuid)(4),this.mounted&&this.forceUpdate(),t){case"popup":case"externalPopup":d.ToastNotification.error((0,h.t)("Could not Create Global Popup"));break;case"normal":d.ToastNotification.error((0,h.t)("Could not Create Global Block"))}console.error(e)}))}}else if(await(0,g.pendingRequest)(),this.isGlobalBlock()){const e=(0,v.setIds)(this.props.blocksData[c]);w.PortalLoading.close(f);const o={block:e,fromBlockId:c};switch(t){case"popup":{const e=P();u&&s({...o,parentId:u}),e&&C(e);break}case"normal":case"externalPopup":a(o)}}};renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return i.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__switch__label"},e,t&&i.default.createElement("div",{className:"brz-ed-option__helper"},i.default.createElement(c.default,{icon:"nc-alert-circle-que"}),i.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}render(){const{label:e,display:t,helper:o,attr:n={},className:a}=this.props,l=(0,r.default)("brz-ed-option__global-block",`brz-ed-option__${t}`,a,n.className);return i.default.createElement("div",{...n,className:l},(e||o)&&this.renderLabel(),i.default.createElement(s.Switch,{key:this.switchKey,value:this.isGlobalBlock(),onChange:this.handleChange}))}}const _=(0,n.connect)((e=>({extraFontStyles:(0,y.extraFontStylesSelector)(e),pageBlocks:(0,y.pageBlocksNoRefsSelector)(e),globalBlocks:(0,y.globalBlocksAssembled2Selector)(e),blocksData:(0,y.blocksDataSelector)(e),page:(0,y.pageSelector)(e)})),(e=>({makeNormalToGlobalBlock:t=>e((0,m.makeNormalToGlobalBlock)(t)),makeGlobalToNormalBlock:t=>e((0,m.makeGlobalToNormalBlock)(t)),makePopupToGlobalBlock:t=>e((0,m.makePopupToGlobalBlock)(t)),makeGlobalBlockToPopup:t=>e((0,m.makeGlobalBlockToPopup)(t))})))(k)},91532:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{createScreenshot:function(){return n},getBlocType:function(){return a}});const r=o(21486),i=o(64187),n=async e=>{if(await(0,r.browserSupports)()){const{src:t,width:o,height:n}=await(0,r.makeNodeScreenshot)(e),{id:a}=await(0,i.createBlockScreenshot)({base64:t,blockType:"global"});return{_thumbnailSrc:a,_thumbnailWidth:o,_thumbnailHeight:n,_thumbnailTime:Date.now()}}},a=e=>{switch(e){case"externalPopup":case"popup":return"popup";case"normal":return"normal"}}},60890:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=l(o(27378)),i=l(o(60042)),n=l(o(62893)),a=o(22741);function l(e){return e&&e.__esModule?e:{default:e}}const s=["top","center","bottom"],c=e=>s.includes(e)?`brz-ed-grid-option__column--${e}`:"";class d extends r.default.Component{static filter(e,t){return{...t,columns:t.columns?.map((t=>({...t,options:t.options.map(e).filter(a.isT)}))).filter((e=>e.options.length>0))??[]}}static reduce(e,t,o){return o.columns?.reduce(((t,o)=>{let{options:r}=o;return r.reduce(e,t)}),t)??t}static map(e,t){return{...t,columns:t.columns?.map((t=>({...t,options:t.options.map(e)})))}}static defaultProps={className:"",location:"",attr:{},toolbar:null,columns:[],separator:!1};render(){const{className:e,attr:t,columns:o,location:a,toolbar:l,separator:s}=this.props,d=(0,i.default)("brz-d-xs-flex brz-flex-xs-no-wrap brz-ed-grid",{"brz-ed-grid--separator":!!s},e),u=o.map(((e,t,o)=>{let{className:s,width:d,options:u,vAlign:p}=e;const f=(0,i.default)("brz-ed-grid-option__column",c(p),s),m=1===o.length,y={width:m?"100%":`${d}%`,flexBasis:m?"100%":`${d}%`};return r.default.createElement("div",{key:t,className:f,style:y},r.default.createElement(n.default,{className:"brz-ed-grid__options",optionClassName:"brz-ed-grid__option",data:u,location:a,toolbar:l}))}));return r.default.createElement("div",{...t,className:d},u)}}const u=d},19650:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=c(o(60042)),i=c(o(27378)),n=c(o(10301)),a=o(63458),l=c(o(33364)),s=c(o(16995));function c(e){return e&&e.__esModule?e:{default:e}}class d extends i.default.Component{static defaultProps={label:"",className:"",attr:{},helper:!1,helperContent:"",onlyPointer:!1,showPointer:!0,display:"inline",population:{show:!1,choices:[]},value:{},onChange:n.default.noop};handlePopulationChange=e=>{const{value:t,onChange:o}=this.props;o({...t,population:e},{isChanged:"population"})};renderLabel(){const{label:e,helper:t,helperContent:o}=this.props,r=t?i.default.createElement("div",{className:"brz-ed-option__helper"},i.default.createElement(l.default,{icon:"nc-alert-circle-que"}),i.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return i.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__focal-point__label"},e,r)}renderImageSetter=()=>{const{value:e,onlyPointer:t,showPointer:o,onChange:r}=this.props;return i.default.createElement(a.ImageSetter,{...e,onlyPointer:t,showPointer:o,onChange:r})};render(){const{className:e,label:t,attr:o,display:n,helper:a,population:{choices:l,show:c,handlerChoices:d},value:{population:u}}=this.props,p=(0,r.default)("brz-ed-option__focal-point",`brz-ed-option__${n}`,e,o.className),f=c?i.default.createElement(s.default,{choices:l,handlerChoices:d,value:u,renderUnset:this.renderImageSetter,onChange:this.handlePopulationChange}):this.renderImageSetter();return i.default.createElement("div",{...o,className:p},(t||a)&&this.renderLabel(),f)}}const u=d},14139:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=c(o(60042)),i=c(o(27378)),n=c(o(10301)),a=c(o(1424)),l=c(o(33364)),s=c(o(16995));function c(e){return e&&e.__esModule?e:{default:e}}class d extends i.default.Component{static defaultProps={className:"",label:"",placeholder:"",helper:!1,helperContent:"",helperPlacement:"top",display:"inline",value:{value:"",population:""},inputType:"text",inputSize:"large",population:{show:!1,choices:[]},onChange:n.default.noop};lastChange=this.props.value.value;state={value:this.props.value.value};isFocused=!1;componentWillUnmount(){this.isFocused&&this.handleInputBlur()}handleInputChange=e=>{const t=e.target.value;this.setState({value:t},(()=>{this.debouncedHandleChange()}))};handlePopulationChange=e=>{const t={population:e};this.handleChange(t,{changed:"population"})};handleChange=(()=>{var e=this;return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r={value:e.state.value,population:e.props.value.population,...t},i={changed:"value",changeEvent:"change",...o};e.props.onChange(r,i),e.lastChange=e.state.value}})();debouncedHandleChange=n.default.debounce((()=>{var e=this;return function(){for(var t=arguments.length,o=new Array(t),r=0;r{this.isFocused=!0};handleInputBlur=()=>{if(this.isFocused=!1,this.props.value.value!==this.state.value){const e={},t={changed:"value",changeEvent:"blur"};this.handleChange(e,t)}};renderLabel(){const{label:e,helper:t,helperContent:o,helperPlacement:n,population:s}=this.props;return i.default.createElement("div",{className:(0,r.default)("brz-ed-option__label brz-ed-option__input__label",{"brz-ed-option__input__label--dynamic":s&&s.show})},e,t&&i.default.createElement("div",{className:"brz-ed-option__helper"},i.default.createElement(a.default,{placement:n,openOnClick:!1,overlay:i.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})},i.default.createElement(l.default,{icon:"nc-alert-circle-que"}))))}renderInput=()=>{const{inputSize:e,inputType:t,placeholder:o,population:n}=this.props,a=(0,r.default)("brz-input brz-ed-control__input",`brz-ed-control__input--${e}`,{"brz-ed-control__input--dynamic":n&&n.show});return i.default.createElement("input",{className:a,placeholder:o,type:t,value:this.state.value,onChange:this.handleInputChange,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur})};render(){const{className:e,helper:t,label:o,display:n,population:{choices:a,show:l,handlerChoices:c},value:{population:d}}=this.props,u=(0,r.default)("brz-ed-option__input",`brz-ed-option__${n}`,e,{"brz-ed-option-input--dynamic":l}),p=l?i.default.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},i.default.createElement(s.default,{choices:a,handlerChoices:c,value:d,renderUnset:this.renderInput,onChange:this.handlePopulationChange})):this.renderInput();return i.default.createElement("div",{className:u},(o||t)&&this.renderLabel(),p)}}const u=d},28226:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),i=l(o(60042)),n=l(o(33364)),a=l(o(92823));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",attr:{},icon:"nc-cog",value:{service:"facebook",group:"social"}};handleMouseDown=e=>{e.preventDefault(),a.default.open({prompt:"apps",mode:"single",props:this.props.value})};render(){const{className:e,attr:t,icon:o}=this.props,a=(0,i.default)("brz-ed-option__button",e,t.className);return r.default.createElement("div",{...t,className:a,onMouseDown:this.handleMouseDown},r.default.createElement(n.default,{icon:o}))}}const c=s},25137:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=c(o(27378)),i=c(o(10301)),n=c(o(60042)),a=c(o(33364)),l=c(o(10944)),s=o(7219);function c(e){return e&&e.__esModule?e:{default:e}}class d extends r.default.Component{static defaultProps={className:"",display:"inline",icon:"nc-combined-shape",label:"Size",min:-9999,max:9999,step:1,attr:{},value:{type:"grouped",grouped:[],ungrouped:[]},onChange:i.default.noop};handleClick=()=>{const{value:{type:e,grouped:t,ungrouped:o},onChange:r}=this.props;r({type:e===s.GROUPED?s.UNGROUPED:s.GROUPED,grouped:t,ungrouped:o,isChanged:"type",isChangedIndex:0})};handleInputValueChange=(e,t)=>{const{value:{type:o,grouped:r,ungrouped:i},onChange:n}=this.props,a=this.props.value[o].map(((o,r)=>r===e?t:o));n({type:o,grouped:"grouped"===o?a:r,ungrouped:"ungrouped"===o?a:i,isChanged:"value",isChangedIndex:e})};render(){const{className:e,attr:t,min:o,max:i,step:s,value:{type:c},label:d,display:u,icon:p}=this.props,f=(0,n.default)("brz-ed-option__multi-border",`brz-ed-option__${u}`,e,t.className),m=(0,n.default)("brz-button",{"brz-ed-option__multi-border--active":"grouped"===c});return r.default.createElement("div",{...t,className:f},d&&r.default.createElement("div",{className:"brz-label"},d),this.props.value[c].map(((e,t)=>r.default.createElement(l.default,{className:"brz-input brz-ed-option__multi-input",key:t,min:o,max:i,step:s,value:e,onChange:e=>this.handleInputValueChange(t,e)}))),r.default.createElement("button",{className:m,onClick:this.handleClick},r.default.createElement(a.default,{icon:p,className:"brz-icon"})))}}const u=d},21840:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),i=l(o(60042)),n=l(o(62893)),a=l(o(95187));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",attr:{},picker:{},choices:{},location:"",toolbar:null};render(){const{className:e,choices:t,picker:o,attr:l,location:s,toolbar:c}=this.props,d=(0,i.default)("brz-ed-option__multiPicker","brz-ed-option__inline",e,l.className),u=t[o.value]&&t[o.value].length>0;return r.default.createElement("div",{...l,className:d},r.default.createElement("div",{className:"brz-ed-multiPicker__head"},r.default.createElement(a.default,{className:"brz-ed-multiPicker__head__option",data:o})),r.default.createElement("div",{className:"brz-ed-multiPicker__body"},u&&r.default.createElement(n.default,{optionClassName:"brz-ed-multiPicker__option",data:t[o.value],location:s,toolbar:c})))}}const c=s},35636:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(27378)),i=d(o(10301)),n=d(o(60042)),a=d(o(62893)),l=d(o(1424)),s=d(o(33364)),c=o(22741);function d(e){return e&&e.__esModule?e:{default:e}}class u extends r.default.Component{static filter(e,t){return{...t,options:t.options?.map(e).filter(c.isT)}}static reduce(e,t,o){return o.options?.reduce(e,t)??t}static map(e,t){return{...t,options:t.options?.map(e)}}static defaultProps={className:"",icon:"nc-cog",size:"medium",title:"Settings",label:"",helperContent:"",helper:!1,display:"outside",onOpenDirect:!1,location:"",toolbar:null,options:[]};componentDidMount(){const{display:e,onOpenDirect:t}=this.props;"inside"===e&&t&&this.props.toolbar.setItemsRenderer(this.renderToolbarItems)}handleTooltipOpen=()=>{this.props.onChange(void 0,{isOpen:!0})};handleTooltipClose=()=>{this.props.onChange(void 0,{isOpen:!1})};switchToEdit=e=>{e.stopPropagation(),this.props.toolbar.setItemsRenderer(this.renderToolbarItems)};getClickOutSideExceptions(){let e=[".brz-ed-fixed",".media-modal",".media-modal-backdrop"];return"toolbar"===this.props.location&&e.push(".brz-ed-sidebar__right"),e}renderToolbarItems=e=>{const t=e.find((e=>{let{id:t}=e;return t===this.props.id})),o=(0,n.default)("brz-ed-popover__inner",{[`brz-ed-tooltip--${t.size}`]:t.size});return r.default.createElement("div",{className:o},this.renderContent(t))};renderContent=e=>{const{toolbar:t,location:o}=this.props,{options:i,key:n}=e||this.props;return r.default.createElement("div",{key:n,className:"brz-d-xs-flex brz-flex-xs-wrap"},r.default.createElement(a.default,{className:"brz-ed-popover__options",optionClassName:"brz-ed-popover__option",data:i,location:o,toolbar:t}))};renderIcon(){const{icon:e}=this.props;if(i.default.isObject(e)){const t=(0,n.default)("brz-ed-popover__tooltip--icon-custom",e.className);return r.default.createElement("div",{...e,className:t})}return r.default.createElement(s.default,{icon:e})}renderLabelHelper(){const{label:e,helper:t,helperContent:o}=this.props;return e||t?r.default.createElement("div",{key:"label",className:"brz-ed-option__label brz-ed-option__popover__label"},e,t&&r.default.createElement("div",{className:"brz-ed-option__helper"},r.default.createElement(s.default,{icon:"nc-alert-circle-que"}),r.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}}))):null}renderInside(){const{className:e,icon:t,title:o}=this.props,a=(0,n.default)("brz-ed-popover__inner--icon",e),l=i.default.omit(t,"className"),c=(0,n.default)("brz-ed-popover__tooltip--icon-custom",t.className);return r.default.createElement("div",{className:a,title:o,onMouseDown:this.switchToEdit},i.default.isObject(t)?r.default.createElement("div",{className:c,...l}):r.default.createElement(s.default,{icon:t}))}renderOutside(){const{className:e,title:t,size:o,location:i,toolbar:a}=this.props,s=(0,n.default)("brz-ed-popover",e);let c=a,d="top";return"rightSidebar"===i&&(c=null,d="bottom"),r.default.createElement("div",{className:s},this.renderLabelHelper(),r.default.createElement(l.default,{className:"brz-ed-popover__tooltip",placement:d,overlay:this.renderContent(),title:t,size:o,toolbar:c,clickOutsideExceptions:this.getClickOutSideExceptions(),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},this.renderIcon()))}render(){const{display:e}=this.props;return"outside"===e?this.renderOutside():this.renderInside()}}const p=u},53227:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(60042)),i=p(o(27378)),n=p(o(10301)),a=o(56059),l=p(o(22546)),s=o(97045),c=o(92213),d=o(64985),u=o(16526);function p(e){return e&&e.__esModule?e:{default:e}}class f extends i.default.Component{static defaultProps={className:"",attr:{}};calConditionsAmount(){const e=(0,c.getStore)().getState();let t=0;(0,u.isExternalPopup)(l.default.getAll())||(t=(0,s.rulesAmountSelector)(e),t=null===t?1:t);const o=(0,s.triggersSelector)(e);return t+(o.find((e=>{let{id:t}=e;return"triggerOnce"===t}))?o.length:o.length+1)}render(){const{className:e,attr:t}=this.props,o=(0,r.default)("brz-ed-option__popup_conditions",e,t.className),l=n.default.omit(t,"className");return i.default.createElement(a.ConditionsComponent,{context:"popup"},i.default.createElement("div",{className:o,...l},i.default.createElement("span",{className:"brz-ed-option__popup_conditions-count"},this.calConditionsAmount()),(0,d.t)("Display Conditions")))}}const m=f},98759:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=S(o(60042)),i=S(o(33979)),n=S(o(27378)),a=o(23884),l=o(70634),s=S(o(10301)),c=S(o(33364)),d=S(o(92823)),u=o(67439),p=o(67138),f=o(67808),m=o(74215),y=o(97045),g=o(25663),b=o(68914),h=o(80775),v=o(6804);function S(e){return e&&e.__esModule?e:{default:e}}class w extends n.default.Component{static defaultProps={label:"",className:"",attr:{},helper:!1,helperContent:"",display:"inline",canDelete:!0,popupKey:"",value:{value:"",popups:[]},onChange:s.default.noop};handleCreate=()=>{const e={prompt:"blocks",mode:"single",props:{type:"popup",showTemplate:!1,blocksType:!1,globalSearch:!1,onChangeBlocks:this.handleAddBlocks,onChangeGlobal:this.handleAddBlocks,onChangeSaved:this.handleAddSavedBlock}};d.default.open(e)};handleAddBlocks=e=>{const{value:{popups:t},globalBlocks:o,onChange:r,dispatch:n}=this.props;let{block:a}=e;const{fonts:s}=e;let c;s?.length&&n((0,m.addFonts)(s));let d=[];if("GlobalBlock"!==a.type)c=(0,v.uuid)(),a=(0,i.default)(a,{value:{_blockVisibility:"unlisted",popupId:c}}),d=(0,h.insertItem)(t,t.length,a);else{const{_id:e}=a.value,r=o[e].data;r.value.popupId?c=r.value.popupId:(c=(0,v.uuid)(),n((0,m.updateGlobalBlock)({id:e,data:(0,i.default)(r,{value:{popupId:c}}),meta:{is_autosave:0}}))),d=(0,l.insert)(t,t.length,a)}r({value:c,popups:d})};handleAddSavedBlock=e=>{const{fonts:t,blocks:o,extraFontStyles:r=[]}=e,{value:{popups:n},dispatch:a,onChange:l}=this.props,s=(0,v.uuid)(),c=(0,i.default)(o[0],{value:{_blockVisibility:"unlisted",popupId:s}});t.length&&a((0,m.addFonts)(t)),r.length&&a((0,m.updateExtraFontStyles)(r)),l({value:s,popups:(0,h.insertItem)(n,n.length,c)})};handleEdit=()=>{const{popupKey:e,value:{value:t}}=this.props;new Map([...p.SectionPopupInstances,...f.SectionPopup2Instances]).get(e||t).open(),(0,u.hideToolbar)()};handleDelete=()=>{const{value:{value:e,popups:t},globalBlocks:o}=this.props;this.props.onChange({value:"",popups:t.filter((t=>{if("GlobalBlock"!==t.type)return t.value.popupId!==e;{const{_id:r}=t.value,i=o[r].data;return!i||i.value.popupId!==e}}))})};getPopupBlock(){const{globalBlocks:e,pageBlocks:t,value:{value:o,popups:r}}=this.props;let i;return i=r.find((t=>("GlobalBlock"===t.type&&(t=e[t.value._id].data),t.value.popupId===o))),i||(i=t.find((e=>e.value._id===o))),i}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return n.default.createElement("div",{className:"brz-ed-option__label"},e,t&&n.default.createElement("div",{className:"brz-ed-option__helper"},n.default.createElement(c.default,{icon:"nc-alert-circle-que"}),n.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}renderThumbnail(e){const{canDelete:t}=this.props,{url:o,width:r,height:i}=(0,g.blockThumbnailData)(e,{searchScreenshotInStoreFirst:!0}),{width:a,height:l}=(0,b.imageWrapperSize)(r,i,140),s={width:`${a}px`,height:`${l}px`};return n.default.createElement("figure",{className:"brz-figure brz-ed-option__prompt-popup__image",style:s},n.default.createElement("img",{src:o,className:"brz-img",onClick:this.handleEdit,alt:"Popup Thumbnail"}),t&&n.default.createElement("div",{className:"brz-ed-option__prompt-popup-remove",onClick:this.handleDelete},n.default.createElement(c.default,{icon:"nc-circle-remove"})))}renderAdder(){return n.default.createElement("div",{className:"brz-ed-control__focal-point__label"},n.default.createElement("div",{className:"brz-ed-control__focal-point__upload",onClick:this.handleCreate},n.default.createElement(c.default,{icon:"nc-add"})))}render(){const{className:e,attr:t,label:o,helper:i,display:a,value:l}=this.props,s=(0,r.default)("brz-ed-option__prompt-popup",`brz-ed-option__${a}`,e,t.className),c=l.value&&this.getPopupBlock();return n.default.createElement("div",{...t,className:s},o||i?this.renderLabel():null,c?this.renderThumbnail(c):this.renderAdder())}}const x=(0,a.connect)((e=>({pageBlocks:(0,y.pageBlocksSelector)(e),globalBlocks:(0,y.globalBlocksSelector)(e)})))(w)},27970:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(27378)),i=s(o(10301)),n=s(o(60042)),a=s(o(92823)),l=s(o(33364));function s(e){return e&&e.__esModule?e:{default:e}}class c extends r.default.Component{static defaultProps={className:"",attr:{},icon:"nc-grid-45",value:null,onChange:i.default.noop};handleClick=()=>{const{value:e,onChange:t}=this.props;a.default.open({prompt:"icon",mode:"single",props:{onChange:t,name:e.name,type:e.type}})};render(){const{className:e,attr:t,icon:o}=this.props,a=(0,n.default)("brz-ed-option__prompt-icon",e,t.className),s=i.default.omit(t,"className");return r.default.createElement("div",{className:a,onClick:this.handleClick,...s},r.default.createElement(l.default,{icon:o}))}}const d=c},82531:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=c(o(60042)),i=c(o(27378)),n=c(o(10301)),a=c(o(30135)),l=c(o(54505)),s=c(o(33364));function c(e){return e&&e.__esModule?e:{default:e}}class d extends i.default.Component{static defaultProps={label:"",display:"inline",icon:"",title:"",className:"",value:"",helper:!1,helperContent:"",attr:{},choices:[],onChange:n.default.noop};renderIcon=e=>i.default.createElement("div",{className:"brz-ed-option__radio-group__icon flex items-center justify-center h-full text-[16px] cursor-pointer transition-[background-color] duration-200 ease-linear delay-[0s]"},i.default.createElement(s.default,{icon:e}));renderLabel=()=>{const{label:e,helper:t,helperContent:o}=this.props,r=t?i.default.createElement("div",{className:"brz-ed-option__helper"},i.default.createElement(s.default,{icon:"nc-alert-circle-que"}),i.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return i.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__radio-group__label"},e,r)};renderRadioChoices=e=>e.map((e=>{let{value:t,title:o,icon:a}=e;const s=n.default.isEqual(t,this.props.value),c=(0,r.default)({"brz-ed-option__radio-group--boxed w-[37px] h-[30px] border-t-0 border-r border-b-0 border-l-0 border-solid border-r-control-color bg-option-content-bg text-option-content-color overflow-hidden first:rounded-tl-[4px] first:rounded-bl-[4px] [&:nth-last-child(2)]:border-r-0 [&:nth-last-child(2)]:rounded-tr-[4px] [&:nth-last-child(2)]:rounded-br-[4px]":a},{"!bg-brand-primary":s});return i.default.createElement(l.default,{key:t,value:t,className:c},a?this.renderIcon(a):null,o?this.renderTitle(o):null)}));renderTitle=e=>i.default.createElement("div",{className:"brz-ed-option__radio-group__title"},e);render(){const{label:e,display:t,className:o,helper:l,choices:s,attr:c,value:d,onChange:u}=this.props,p=(0,r.default)("brz-ed-option__radio-group",`brz-ed-option__${t}`,o,c.className),f=n.default.omit(c,"className");return i.default.createElement("div",{className:p,...f},e||l?this.renderLabel():null,i.default.createElement(a.default,{defaultValue:d,onChange:u},this.renderRadioChoices(s)))}}const u=d},48038:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=s(o(60042)),i=s(o(50116)),n=s(o(27378)),a=s(o(10301)),l=s(o(3449));function s(e){return e&&e.__esModule?e:{default:e}}const c=i.default.Handle;class d extends n.default.Component{static defaultProps={className:"",attr:{},config:{range:{min:0,max:100,step:1}},value:{startPointer:0,finishPointer:100,activePointer:"startPointer",hex:"#000000",gradientColorHex:"#000000"},onChange:a.default.noop};constructor(e){super(e);const t=e.value;this.state={...t}}componentDidUpdate(e){a.default.isEqual(e.value,this.props.value)||this.setState({...this.props.value})}handleOnMouseDown=e=>{this.handleChange({activePointer:0===e?"startPointer":"finishPointer",isChanged:"activePointer"})};handleRangeChange=e=>{let[t,o]=e;this.handleChange({startPointer:t,finishPointer:o,isChanged:t===this.state.startPointer?"finishPointer":"startPointer"})};handleChange=e=>{const t={...this.state,...e};this.setState(t),this.props.onChange(t)};handle=e=>{const{className:t,dragging:o,value:i,index:a,...l}=e,s=(0,r.default)(t,{"brz-ed-rc-slider-handle--active":"startPointer"===this.state.activePointer&&0===a||"finishPointer"===this.state.activePointer&&1===a});return n.default.createElement(c,{key:a,value:i,onMouseDown:()=>this.handleOnMouseDown(a),...l,className:s})};render(){const{className:e,config:{range:{min:t,max:o,step:i}},attr:s}=this.props,c=(0,r.default)("brz-ed-option__range",e,s.className),d=a.default.omit(s,"className"),{startPointer:u,finishPointer:p,hex:f,gradientColorHex:m}=this.state;return n.default.createElement("div",{className:c,...d},n.default.createElement("div",{className:"brz-ed-option__range__content"},n.default.createElement(l.default,{id:this.props.id,min:t,max:o,step:i,startPointer:u,finishPointer:p,handle:this.handle,railStyle:{backgroundImage:`linear-gradient(to right, ${f}, ${m})`},onChange:this.handleRangeChange})))}}const u=d},83217:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=h(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),a=h(o(33364)),l=o(62948),s=h(o(92823)),c=o(97045),d=o(64187),u=o(64985),p=o(78438),f=o(92636),m=o(21486),y=o(6804),g=o(46065),b=h(o(22546));function h(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}const S=(e,t)=>{let{value:o}=e;return!!o&&o._id===t};class w extends i.Component{static defaultProps={className:"",attr:{},icon:"nc-circle-add",title:"Add",tooltipContent:"",blockType:"normal",value:{blockId:""},pageBlocks:{items:[]},extraFontStyles:[],isAuthorized:!1};state={loading:!1,active:!1};mounted=!1;componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}getBlock(){const{blockType:e,pageBlocks:{items:t},value:{blockId:o}}=this.props;let r;return r="normal"===e?t.find((e=>S(e,o))):(0,f.findDeep)(t,(e=>S(e,o))).obj,r}handleCreateSaveBlock=async()=>{const{blockType:e,extraFontStyles:t,value:{blockId:o}}=this.props,r={extraFontStyles:t,type:e},i=this.getBlock();if(!i){const t="normal"===e?(0,u.t)("Could not Create Saved Block"):(0,u.t)("Could not Create Saved Popup");return l.ToastNotification.error(t),void(this.mounted&&this.state.loading&&this.setState({loading:!1}))}let n;try{n=await(0,m.browserSupports)()}catch(e){n=!1}if(n){const e=document.getElementById(o);if(e){const{src:t,width:o,height:i}=await(0,m.makeNodeScreenshot)(e).catch((()=>({src:void 0,width:void 0,height:void 0})));if(t&&(0,p.isNumber)(o)&&(0,p.isNumber)(i)){const{id:e}=await(0,d.createBlockScreenshot)({base64:t,blockType:"saved"}).catch((()=>({id:void 0})));e&&(r._thumbnailSrc=e,r._thumbnailWidth=o,r._thumbnailHeight=i,r._thumbnailTime=Date.now())}}}const a=b.default.getAll(),s={data:i,meta:r,uid:(0,y.uuid)(),dataVersion:1};switch(e){case"normal":try{await(0,d.createSavedBlock)(s,a)}catch(e){l.ToastNotification.error((0,u.t)("Could not Create Saved Block"))}break;case"popup":try{await(0,d.createSavedPopup)(s,a)}catch(e){l.ToastNotification.error((0,u.t)("Could not Create Saved Popup"))}}n||l.ToastNotification.warn((0,u.t)("Your block was saved without screenshot, browser is not compatible"),5),this.mounted&&this.setState({loading:!1})};handleClick=async()=>{if(!this.state.loading)if(this.setState({loading:!0}),(0,g.getWhiteLabel)()||this.props.isAuthorized)await this.handleCreateSaveBlock();else{const e={mode:"stack",prompt:"authorization",props:{onClose:this.handleCreateSaveBlock,onSkip:this.handleCreateSaveBlock,onSuccess:this.handleCreateSaveBlock}};s.default.open(e)}};renderTooltip(){const{tooltipContent:e}=this.props,{loading:t,active:o}=this.state,n=(0,r.default)("brz-ed-toolbar__item__tooltip",{"brz-ed-animated brz-ed-animated--fadeIn active":o});return!t&&i.default.createElement("div",{className:n},e)}render(){const{attr:e,icon:t,title:o,tooltipContent:n,className:l}=this.props,{loading:s}=this.state,c=(0,r.default)("brz-ed-option__button",l,e.className);return i.default.createElement("div",{...e,className:c,title:o,onClick:this.handleClick},n&&this.renderTooltip(),s?i.default.createElement(a.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):i.default.createElement(a.default,{icon:t,className:"brz-ed-animated brz-ed-animated--fadeIn"}))}}const x=(0,n.connect)((e=>({isAuthorized:"connected"===e.authorized||"pending"===e.authorized,pageBlocks:(0,c.pageDataNoRefsSelector)(e),extraFontStyles:(0,c.extraFontStylesSelector)(e)})))(w)},1798:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=u(o(60042)),i=u(o(27378)),n=u(o(10301)),a=u(o(97023)),l=u(o(65961)),s=u(o(53799)),c=u(o(1424)),d=u(o(33364));function u(e){return e&&e.__esModule?e:{default:e}}class p extends i.default.Component{static defaultProps={label:"",display:"inline",className:"",itemHeight:30,icon:"",choices:[],attr:{},helper:!1,helperContent:"",helperPlacement:"top",onChange:n.default.noop};renderLabel(){const{label:e,helper:t,helperContent:o,helperPlacement:r}=this.props;return i.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__select__label"},e,t&&i.default.createElement("div",{className:"brz-ed-option__helper"},i.default.createElement(c.default,{placement:r,openOnClick:!1,overlay:i.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})},i.default.createElement(d.default,{icon:"nc-alert-circle-que"}))))}renderChoices(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.choices).map(((e,t)=>{const{title:o,icon:a,optgroup:c,value:u}=e;let p;if(n.default.isObject(a)){const e=(0,r.default)("brz-control__select-option__bg",a.className);p=i.default.createElement("div",{className:e})}else a&&(p=i.default.createElement(d.default,{icon:a}));return c&&c.length?i.default.createElement(s.default,{key:t,title:o,items:this.renderChoices(c)},p,o&&i.default.createElement("span",{className:"brz-span"},o)):i.default.createElement(l.default,{key:t,value:u,title:o},p,o&&i.default.createElement("span",{className:"brz-span"},o))}))}renderAfterSelect(){}render(){const{label:e,display:t,itemHeight:o,helper:n,value:l,className:s,attr:c,onChange:d}=this.props,u=(0,r.default)("brz-ed-option__select",`brz-ed-option__${t}`,s,c.className);return i.default.createElement("div",{...c,className:u},e||n?this.renderLabel():null,i.default.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},i.default.createElement(a.default,{className:"brz-control__select--dark",defaultValue:l,itemHeight:o,onChange:d},this.renderChoices()),this.renderAfterSelect()))}}const f=p},33961:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),i=l(o(10301)),n=l(o(60042)),a=l(o(10944));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",attr:{},suffixes:[{title:"px",value:"px"}],min:0,max:0,step:0,value:0,suffixValue:null,onChange:i.default.noop};state={inputText:""};inputRef=r.default.createRef();componentDidMount(){this.setState({inputText:this.inputRef.current.getText()})}componentDidUpdate(){this.state.inputText!==this.inputRef.current.getText()&&this.setState({inputText:this.inputRef.current.getText()})}handleInputTextChange=e=>{this.setState({inputText:e})};handleInputValueChange=e=>{const{suffixValue:t,onChange:o}=this.props;o({value:e,suffixValue:t})};handleSuffixChange=e=>{const{value:t,onChange:o}=this.props;o({value:t,suffixValue:e})};renderSuffix(){const{suffixes:e,suffixValue:t}=this.props;return e.map((o=>{const{title:i,value:a}=o,l=(0,n.default)("brz-ed-option__text-box__helper",{"brz-ed-option__text-box__helper--active":a===t}),s=e.length>1?()=>{this.handleSuffixChange(a)}:null;return r.default.createElement("div",{key:a,className:l,onClick:s},i)}))}render(){const{className:e,attr:t,min:o,max:i,step:l,value:s,suffixes:c,suffixValue:d}=this.props,{inputText:u}=this.state,p=null!==d&&c.length>1,f=(0,n.default)("brz-ed-option__text-box",{"brz-ed-option__text-box--fixed-width":p},e,t.className),m=`${u.slice(0,-1)}9`;return r.default.createElement("div",{...t,className:f},r.default.createElement("label",{className:"brz-label"},r.default.createElement("div",{className:"brz-ed-option__text-box__input"},!p&&r.default.createElement("div",{className:"brz-invisible"},m),r.default.createElement(a.default,{ref:this.inputRef,className:"brz-input brz-ed-control__text-box--resizer",min:o,max:i,step:l,value:s,onTextChange:this.handleInputTextChange,onChange:this.handleInputValueChange})),c.length>0&&this.renderSuffix()))}}const c=s},43706:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(27378)),i=d(o(10301)),n=d(o(60042)),a=d(o(11735)),l=d(o(33364)),s=d(o(33961)),c=o(78438);function d(e){return e&&e.__esModule?e:{default:e}}class u extends r.default.Component{static defaultProps={label:"",title:"",display:"inline",className:"",helperContent:"",helper:!1,icon:"",attr:{},slider:{min:0,max:100,step:1},input:{show:!1,min:-9999,max:9999,step:null},suffix:{show:!1,choices:[]},value:{value:0,suffix:null},onChange:i.default.noop};constructor(e){super(e);const t=e.value;this.state={...t}}static getDerivedStateFromProps(e,t){let{value:o}=e;return o.value!==t.value||o.suffix!==t.suffix?{...o}:null}handleSliderChange=e=>{this.handleChange({value:e},{sliderDragEnd:!1})};handleSliderChangeEnd=e=>{this.handleChange({value:e},{sliderDragEnd:!0})};handleInputChange=e=>{let{value:t,suffixValue:o}=e;this.handleChange({value:t,suffix:o},{sliderDragEnd:!0})};handleChange=(e,t)=>{const{onChange:o}=this.props,r={...this.state,...e};this.setState(r),o(r,t)};renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return r.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__slider__label"},e,t&&r.default.createElement("div",{className:"brz-ed-option__helper"},r.default.createElement(l.default,{icon:"nc-alert-circle-que"}),r.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}renderIcon(){const{icon:e,title:t}=this.props;return r.default.createElement("div",{className:"brz-ed-option__slider__icon",title:t},r.default.createElement(l.default,{icon:e}))}renderInput(){const e=this.constructor.defaultProps,t=this.props,{suffix:{show:o=e.suffix.show,choices:i=e.suffix.choices},input:{min:n=(null!=e.input.min?e.input.min:null!=t.slider.min?t.slider.min:e.slider.min),max:a=(null!=e.input.max?e.input.max:null!=t.slider.max?t.slider.max:e.slider.max),step:l=(null!=e.input.step?e.input.step:null!=t.slider.step?t.slider.step:e.slider.step)}}=this.props,{value:c,suffix:d}=this.state;return r.default.createElement(s.default,{min:Number(n),max:Number(a),step:Number(l),suffixes:o?i:[],suffixValue:o?d:null,value:Number(c),onChange:this.handleInputChange})}render(){const e=this.constructor.defaultProps,{className:t,label:o,display:l,slider:{min:s=e.slider.min,max:d=e.slider.max,step:u=e.slider.step},input:p,suffix:f,helper:m,attr:y,icon:g}=this.props,b=(0,n.default)("brz-ed-option__slider",`brz-ed-option__${l}`,{"brz-ed-option__slider-suffix":f.length>0},t,y.className),h=i.default.omit(y,"className"),v=(0,c.clamp)(this.state.value,s,d);return r.default.createElement("div",{className:b,...h},o||m?this.renderLabel():null,r.default.createElement("div",{className:"brz-ed-option__slider__content"},g&&this.renderIcon(),r.default.createElement(a.default,{id:this.props.id,min:Number(s),max:Number(d),step:Number(u),value:Number(v),onChange:this.handleSliderChange,onChangeEnd:this.handleSliderChangeEnd}),p.show&&this.renderInput()))}}const p=u},77609:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(27378)),i=s(o(10301)),n=s(o(60042)),a=s(o(52049)),l=s(o(33364));function s(e){return e&&e.__esModule?e:{default:e}}class c extends r.default.Component{static defaultProps={label:"",display:"inline",min:0,max:10,step:1,value:5,className:"",attr:{},helper:!1,helperContent:"",onChange:i.default.noop};renderLabel=()=>{const{label:e,helper:t,helperContent:o}=this.props,i=t?r.default.createElement("div",{className:"brz-ed-option__helper"},r.default.createElement(l.default,{icon:"nc-alert-circle-que"}),r.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return r.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__stepper__label"},e,i)};render(){const{label:e,display:t,min:o,max:l,step:s,helper:c,value:d,className:u,attr:p,onChange:f}=this.props,m=(0,n.default)("brz-ed-option__stepper",`brz-ed-option__${t}`,u,p.className),y=i.default.omit(p,"className");return r.default.createElement("div",{className:m,...y},e||c?this.renderLabel():null,r.default.createElement(a.default,{value:Number(d),min:Number(o),max:Number(l),step:Number(s),onChange:f}))}}const d=c},37178:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(27378)),i=s(o(62893)),n=o(59141),a=o(1424),l=o(22741);function s(e){return e&&e.__esModule?e:{default:e}}class c extends r.default.Component{static filter(e,t){return{...t,tabs:t.tabs?.map((t=>({...t,options:t?.options?.map(e).filter(l.isT)}))).filter((e=>e?.options?.length>0))??[]}}static reduce(e,t,o){return o.tabs?.reduce(((t,o)=>o?.options?.reduce(e,t)),t)??t}static map(e,t){return{...t,tabs:t.tabs?.map((t=>({...t,options:t.options.map(e)})))}}static defaultProps={align:"center",hideHandlesWhenOne:!0,tabs:[],location:"",value:null,toolbar:null};constructor(e){super(e);const[t]=e.tabs;this.state={activeTab:t&&(t.id||t.label||t.tabIcon)},this.isControlled=null!==e.value}getActiveTab(){const{tabs:e,value:t}=this.props,o=e.some((e=>{let{id:o}=e;return o===t}));return this.isControlled&&o?t:this.state.activeTab}handleTabChange=e=>{this.isControlled?this.props.onChange(e):e!==this.state.activeTab&&this.setState({activeTab:e},(()=>{const e=(0,a.getCurrentTooltip)();e&&e.reposition()}))};sortTabs(e){for(const t of e)if(void 0!==t.position)return[...e].sort(((e,t)=>(e.position||100)-(t.position||100)));return e}render(){const{tabs:e,className:t,tabsPosition:o,tabsClassName:a,hideHandlesWhenOne:l,align:s,location:c,toolbar:d}=this.props,u=this.sortTabs(e).map((e=>{let{id:o,title:a,label:l,options:s,tabIcon:u}=e;const p=o||l||u;return r.default.createElement(n.Tab,{key:p,title:a,label:l,icon:u,value:p},r.default.createElement(i.default,{className:"brz-ed-tabs__options",optionClassName:t,data:s,toolbar:d,location:c}))}));return r.default.createElement(n.Tabs,{className:"brz-ed-tabs__option--inline",tabsClassName:a,tabsPosition:o,value:this.getActiveTab(),align:s,hideHandlesWhenOne:l,onChange:this.handleTabChange},u)}}const d=c},23117:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),i=p(o(23615)),n=p(o(10301)),a=p(o(60042)),l=o(23884),s=p(o(53225)),c=p(o(4023)),d=o(1424),u=o(97045);function p(e){return e&&e.__esModule?e:{default:e}}class f extends r.default.Component{static defaultProps={className:"",attr:{},closeTooltip:!1,value:"",choices:[]};static propTypes={className:i.default.string,attr:i.default.object,closeTooltip:i.default.bool,value:i.default.any,choices:i.default.array.isRequired};getTitle(){const{choices:e,value:t}=this.props,o=e.find((e=>e.value===t));return o?o.title:""}handleChange=e=>{const{closeTooltip:t,showHiddenElements:o,onChange:r}=this.props;if("off"===e&&t&&!o){const e=(0,d.getCurrentTooltip)();e&&e.close()}r(e)};render(){const{className:e,attr:t,choices:o,value:i}=this.props,l=n.default.map(o,(e=>{let{icon:t,value:o}=e;return r.default.createElement(c.default,{key:t,value:o,icon:t})})),d=(0,a.default)("brz-ed-option__toggle",e,t.className);return r.default.createElement(s.default,{value:i,title:this.getTitle(),onChange:this.handleChange,...t,className:d},l)}}const m=(0,l.connect)((e=>({showHiddenElements:(0,u.showHiddenElementsSelector)(e)})))(f)},84380:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{PopulationInput:function(){return l},default:function(){return s}});const r=a(o(27378)),i=o(40333),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{value:t,onRemove:o,children:a}=e;return r.default.createElement("div",{className:"brz-ed-control__population__input",title:t},r.default.createElement("span",{className:"brz-span"},t),a?r.default.createElement(i.Popover,{trigger:r.default.createElement(n.default,{icon:"nc-cog"}),size:"medium",placement:"bottom",clickOutsideExceptions:[".media-modal",".media-modal-backdrop"]},a):null,r.default.createElement(n.default,{icon:"nc-circle-remove",onClick:o}))},s=l},75727:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Population",{enumerable:!0,get:function(){return h}});const r=f(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(33364),a=o(62948),l=f(o(62893)),s=o(64985),c=o(92636),d=f(o(84380)),u=f(o(75471)),p=o(35671);function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}const y=e=>{const{className:t,choices:o,value:r,onChange:n}=e;return i.default.createElement(u.default,{className:t,choices:o,value:r,onChange:n})},g="CHOICE_HANDLER",b=e=>{const{className:t,value:o,handlerChoices:r,iconOnly:l,onChange:c}=e,d=(0,i.useMemo)((()=>l?[{title:(0,s.t)("Custom Text"),value:""},{title:(0,s.t)("Others"),value:g}]:[]),[l]),p=(0,i.useCallback)((e=>{e===g?r(c,a.ToastNotification.error):c(e)}),[c,r]),f=(0,i.useCallback)((()=>{r(c,a.ToastNotification.error)}),[c,r]);return d.length>0?i.default.createElement(u.default,{className:t,value:""!==o?g:"",choices:d,onChange:p}):i.default.createElement(n.EditorIcon,{className:"brz-ed-control__population--handler",icon:"nc-dynamic",onClick:f})},h=e=>{let t,{config:o,value:n,onChange:a,option:u,className:f,label:m}=e;const{iconOnly:g,handlerChoices:h}=o??{},{population:v}=n,S=(0,i.useMemo)((()=>"function"==typeof h?[]:[...g?[{title:(0,s.t)("Custom Text"),value:""}]:[],...o?.choices||[]]),[o?.choices,h,g]),w=(0,i.useCallback)((e=>a({population:e})),[a]),x=(0,i.useCallback)((()=>a({population:""})),[a]),M=(0,r.default)(f,"brz-ed-option-population",{"brz-control__select-population--only-icon":!!g}),T=(0,i.useMemo)((()=>{if("function"==typeof h&&v)return{title:v};const e=(0,c.findDeep)(S,(e=>!(0,p.isOptgroup)(e)&&e.value===v)).obj;return e?{title:e.title}:null}),[h,S,v]);return void 0!==v?g?T||S.push({title:(0,s.t)("N/A"),value:v??""}):t=i.default.createElement(d.default,{value:T?T.title:(0,s.t)("N/A"),onRemove:x}):t=u?i.default.createElement(l.default,{data:[u],wrapOptions:!1,optionClassName:"brz-ed-option-population"}):null,i.default.createElement(i.default.Fragment,null,m,i.default.createElement("div",{className:"brz-ed-control__population"},t,S.length>0?i.default.createElement(y,{className:M,choices:S,value:v??"",onChange:w}):null,"function"==typeof h?i.default.createElement(b,{iconOnly:g,className:M,handlerChoices:h,value:v??"",onChange:w}):null))}},75471:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(27378)),i=d(o(60042)),n=d(o(97023)),a=d(o(65961)),l=d(o(53799)),s=d(o(33364)),c=o(35671);function d(e){return e&&e.__esModule?e:{default:e}}const u=(e,t)=>e.map((e=>{if((0,c.isOptgroup)(e)){const{title:o,icon:i,optgroup:n}=e;return r.default.createElement(l.default,{key:o||i,title:o,items:u(n,t)},i&&r.default.createElement(s.default,{icon:i}),r.default.createElement("span",{className:"brz-span"},o))}const{value:o,title:i,icon:n}=e;return r.default.createElement(a.default,{key:o,value:o,title:i,active:o===t},n&&r.default.createElement(s.default,{icon:n}),r.default.createElement("span",{className:"brz-span"},i))}));function p(e){let{choices:t,value:o,onChange:a,className:l}=e;const s=(0,i.default)("brz-control__select--dark","brz-control__select__auto","brz-control__select-population",{"brz-control__select--active":Boolean(o)},l);return r.default.createElement(n.default,{className:s,defaultValue:o,itemHeight:30,labelType:"icon",labelIcon:"nc-dynamic",onChange:a},u(t,o))}},28342:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return s},fromElementModel:function(){return c},toElementModel:function(){return d}});const r=o(47885),i=o(52662),n=o(95945),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(59638));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s={population:void 0},c=(0,r.parseStrict)({population:(0,r.optional)((0,r.mPipe)((0,i.callGetter)("population"),a.read,n.fromString))}),d=e=>e},16995:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(33364),n=o(62948),a=o(92636),l=d(o(84380)),s=d(o(75471)),c=o(35671);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=e=>{const{choices:t,value:o,renderUnset:i,onChange:n}=e;let d;const u=(0,r.useCallback)((()=>n("")),[n]);if(o){const e=(0,a.findDeep)(t,(e=>!(0,c.isOptgroup)(e)&&e.value===o)).obj;d=r.default.createElement(l.default,{value:e?.title??`${o}`,onRemove:u})}else d=i?.();return r.default.createElement(r.default.Fragment,null,d,r.default.createElement(s.default,{choices:t,value:o,onChange:n}))},f=e=>{const{handlerChoices:t,value:o,onChange:a,renderUnset:s}=e;let c;const d=(0,r.useCallback)((()=>a("")),[a]),u=(0,r.useCallback)((()=>{"function"==typeof t&&t((e=>{a(e)}),(e=>{n.ToastNotification.error(e)}))}),[t,a]);return c=o?r.default.createElement(l.default,{value:`${o}`,onRemove:d}):s?.(),r.default.createElement(r.default.Fragment,null,c,r.default.createElement("div",{className:"brz-ed-control__population--handler",onClick:u},r.default.createElement(i.EditorIcon,{icon:"nc-dynamic"})))};function m(e){let{choices:t,handlerChoices:o,value:i,renderUnset:n,onChange:a}=e;return Array.isArray(t)?r.default.createElement(p,{value:i,choices:t,onChange:a,renderUnset:n}):o?r.default.createElement(f,{value:i,handlerChoices:o,onChange:a,renderUnset:n}):null}},35671:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{bindPopulation:function(){return n},isOptgroup:function(){return a}});const r=o(2610),i=o(76753),n=e=>{const{population:t,label:o,icon:n,helper:a,position:l,...s}=e;return void 0!==t&&(0,i.inDevelopment)(s.type)?{id:s.id,label:o,icon:n,disabled:s.disabled,display:s.display,devices:s.devices,states:s.states,helper:a,position:l,className:s.className,type:"population-dev",config:t,option:s,fallback:{...s,id:(0,r.keyToDCFallback2Key)(s.id)}}:e},a=e=>"optgroup"in e},11039:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return u},fromElementModel:function(){return p},toElementModel:function(){return f}});const r=d(o(24119)),i=o(49863),n=o(52662),a=d(o(59638)),l=o(47885),s=o(22741);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const u={value:r.empty},p=(0,i.pipe)((0,n.callGetter)("value"),a.read,(0,l.mPipe)(r.fromString),(0,s.onNullish)(r.empty),(e=>({value:e}))),f=e=>e},8027:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"StateMode",{enumerable:!0,get:function(){return f}});const r=p(o(27378)),i=d(o(62893)),n=d(o(75276)),a=d(o(47347)),l=o(74597),s=p(o(24119)),c=o(22741);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const f=e=>{let{options:t,states:o,className:d,toolbar:u,location:p,onChange:f,value:{value:m}}=e;const y=(0,r.useRef)({onChange:f});y.current={onChange:f};const g=t.reduce(((e,t)=>[...e,...(0,l.itemStates)(t)]),[]),b=o.filter((e=>g.includes(e))),h=(0,r.useCallback)((e=>y.current.onChange({value:e})),[]);switch((0,r.useEffect)((()=>()=>y.current.onChange({value:s.empty})),[]),b.length){case 0:return null;case 1:return r.default.createElement(i.default,{className:"brz-ed-tabs__options",optionClassName:d,data:t.map((e=>(0,l.filterByState)(o[0],e))).filter(c.isT),toolbar:u,location:p});default:return r.default.createElement(n.default,{tabsPosition:"left",value:m,onChange:h,className:"brz-ed-tabs__options"},b.map((e=>r.default.createElement(a.default,{key:e,active:m===e,title:(0,l.stateTitle)(e),icon:(0,l.stateIcon)(e),value:e},r.default.createElement(i.default,{className:"brz-ed-tabs__options",optionClassName:d,data:t.map((t=>(0,l.filterByState)(e,t))).filter(c.isT),toolbar:u,location:p})))))}}},74597:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{itemStates:function(){return l},filterByState:function(){return s},stateIcon:function(){return c},stateTitle:function(){return d}});const r=o(10301),i=o(64985),n=o(11214),a=o(83962),l=e=>{const t=(0,a.reduceR)(((e,t)=>[...e,...t.states??[]]),[],e);return t.length?(0,r.unique)(t):["normal"]},s=(e,t)=>(0,n.filter)((t=>l(t).includes(e)),t),c=e=>{switch(e){case"normal":return"nc-circle";case"hover":return"nc-hover";case"active":return"nc-target"}},d=e=>{switch(e){case"normal":return(0,i.t)("Normal");case"hover":return(0,i.t)("Hover");case"active":return(0,i.t)("Active")}}},16055:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return i}});const o=void 0,r=()=>{},i=()=>({})},14539:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Alert",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{config:t,label:o}=e;return r.default.createElement(r.default.Fragment,null,o,r.default.createElement("div",{style:{width:"100%"},dangerouslySetInnerHTML:{__html:t?.html||""}}))}},45863:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AttentionStyle",{enumerable:!0,get:function(){return u}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(18624),l=o(65989),s=o(26318),c=o(73469),d=o(15835);function u(e){let{styles:t,value:o,onChange:i}=e;return r.default.createElement(s.OptionWrapper,{display:"inline",className:"brz-ed-option"},r.default.createElement(c.OptionLabel,{label:(0,n.t)("Style")}),r.default.createElement(a.Select2,{value:o,onChange:i,editable:!1},t.map((e=>r.default.createElement(l.Item,{key:e,value:e},(0,d.styleTitle)(e))))))}},25035:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Delay",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64985),n=o(33779),a=o(26318),l=o(73469);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=[{title:"s",value:"s"}],d=e=>{let{value:t,onChange:o}=e;const s=(0,r.useMemo)((()=>({number:t/1e3,unit:"s"})),[t]),d=(0,r.useCallback)((e=>o(1e3*e.number)),[o]);return r.default.createElement(a.OptionWrapper,{display:"inline",className:"brz-ed-option"},r.default.createElement(l.OptionLabel,{label:(0,i.t)("Delay")}),r.default.createElement(n.NumberSlider,{value:s,onChange:d,step:.1,min:0,max:5,units:c}))}},44182:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Direction",{enumerable:!0,get:function(){return d}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(18624),l=o(65989),s=o(26318),c=o(73469);function d(e){let{value:t,onChange:o,directions:i,label:d}=e;return i.length>1?r.default.createElement(s.OptionWrapper,{display:"inline",className:"brz-ed-option"},r.default.createElement(c.OptionLabel,{label:d??(0,n.t)("Direction")}),r.default.createElement(a.Select2,{value:t,onChange:o,editable:!1},i.map((e=>{let[t,o]=e;return r.default.createElement(l.Item,{key:t,value:t},o)})))):null}},98845:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Duration",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64985),n=o(33779),a=o(26318),l=o(73469);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=[{title:"s",value:"s"}],d=e=>{let{value:t,onChange:o}=e;const s=(0,r.useMemo)((()=>({number:t/1e3,unit:"s"})),[t]),d=(0,r.useCallback)((e=>o(1e3*e.number)),[o]);return r.default.createElement(a.OptionWrapper,{display:"inline",className:"brz-ed-option"},r.default.createElement(l.OptionLabel,{label:(0,i.t)("Duration")}),r.default.createElement(n.NumberSlider,{value:s,onChange:d,step:.1,min:0,max:5,units:c}))}},5660:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(2530);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}function a(e){let{active:t,onClick:o,label:n,icon:a,id:l}=e;const s=(0,r.useCallback)((()=>o(l)),[o,l]);return r.default.createElement(i.FatIcon,{active:t,icon:a,label:n,onClick:s})}},77067:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Switcher",{enumerable:!0,get:function(){return s}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(1014),a=o(73469),l=o(26318),s=e=>{let{value:t,onChange:o,label:i}=e;return r.default.createElement(l.OptionWrapper,{display:"inline",className:"brz-ed-option"},r.default.createElement(a.OptionLabel,{label:i}),r.default.createElement(n.Switch,{value:t,onChange:o}))}},15245:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return c},fromElementModel:function(){return d},toElementModel:function(){return u}});const r=o(49863),i=o(90361),n=o(1042),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(84128)),l=o(96303);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c={type:n.EffectType.None,duration:i.Zero,delay:i.Zero,infiniteAnimation:!1},d=(0,r.pipe)((0,r.mPipe)(a.fromElementModel,l.fromLegacyModel),(e=>e??{type:n.EffectType.None})),u=(0,r.pipe)(l.toLegacyModel,a.toElementModel)},66994:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Animation",{enumerable:!0,get:function(){return O}});const r=o(47885),i=_(o(27378)),n=o(10301),a=o(50987),l=o(58694),s=o(64644),c=o(26318),d=o(49863),u=o(64985),p=o(90361),f=o(45863),m=o(25035),y=o(44182),g=o(98845),b=o(5660),h=o(77067),v=o(1042),S=_(o(96303)),w=o(87717),x=o(98525),M=o(25062),T=_(o(15835)),P=_(o(83675)),C=o(93873);function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(k=function(e){return e?o:t})(e)}function _(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=k(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const O=e=>{let{label:t,value:o,onChange:k,className:_,config:O}=e;const E=(0,i.useMemo)((()=>(0,n.unique)([v.EffectType.None,...O?.types??C.defaultEffects])),[O?.types]),z=O?.replay??!0,B=(0,C.valueToType)(E,o),j=O?.delay??!0,N=O?.infiniteAnimation??!0,I=(0,i.useCallback)((e=>k(S.setType(e,o))),[o,k]),L=(0,i.useCallback)((e=>(0,d.mPipe)(p.fromNumber,(e=>S.isEffect(o)&&k((0,x.setDuration)(e,o))))(e)),[o,k]),D=(0,i.useCallback)((e=>(0,d.mPipe)(p.fromNumber,(e=>S.isEffect(o)&&k((0,w.setDelay)(e,o))))(e)),[o,k]),F=(0,i.useCallback)((()=>S.isEffect(o)&&k((0,M.setInfiniteAnimation)(o))),[o,k]),A=(0,i.useCallback)((()=>(0,d.mPipe)((0,d.always)(o.duration),(0,r.pass)((()=>z)),(e=>e+1e-5),p.fromNumber,(e=>S.isEffect(o)&&k((0,x.setDuration)(e,o))))()),[o,z,k]),R=(0,i.useMemo)((()=>{switch(o.type){case v.EffectType.None:return null;case v.EffectType.Attention:{const e=e=>k(T.setStyle(e,o));return i.default.createElement(f.AttentionStyle,{styles:T.styles,value:o.style,onChange:e})}case v.EffectType.Wobble:case v.EffectType.Scale:case v.EffectType.Pulse:case v.EffectType.Rotate2:case v.EffectType.Skew:case v.EffectType.Buzz:return i.default.createElement(y.Direction,{directions:(0,C.getDirections)(B),value:o.direction,label:(0,u.t)("Style"),onChange:(0,C.onChangeDirection)(o,k)});case v.EffectType.Bounce:case v.EffectType.Rotate:case v.EffectType.Slide:case v.EffectType.Move:case v.EffectType.Zoom:return i.default.createElement(y.Direction,{directions:(0,C.getDirections)(B),value:o.direction,onChange:(0,C.onChangeDirection)(o,k)});case v.EffectType.Fade:switch(o.direction){case P.Direction.none:return i.default.createElement(y.Direction,{directions:(0,C.getDirections)(o.type),value:o.direction,onChange:(0,C.onChangeDirection)(o,k)});case P.Direction.up:case P.Direction.down:case P.Direction.left:case P.Direction.right:return i.default.createElement(i.default.Fragment,null,i.default.createElement(y.Direction,{directions:(0,C.getDirections)(o.type),value:o.direction,onChange:(0,C.onChangeDirection)(o,k)}),B===v.EffectType.Fade?i.default.createElement(h.Switcher,{value:o.big,onChange:()=>k({...o,big:!o.big}),label:(0,u.t)("Big")}):null)}}}),[o,B,k]);return i.default.createElement("div",{className:_},i.default.createElement(c.OptionWrapper,{display:"block",className:"brz-ed-option"},t,i.default.createElement(s.FatIconsGrid,null,E.map((e=>i.default.createElement(b.Icon,{key:e,id:e,active:B===e,icon:(0,v.effectTypeIcon)(e),label:(0,v.effectTypeTitle)(e),onClick:I}))))),B!==v.EffectType.None&&i.default.createElement(i.default.Fragment,null,i.default.createElement(c.OptionWrapper,{className:"brz-ed-option"},i.default.createElement(a.Group,null,R,i.default.createElement(g.Duration,{value:o.duration,onChange:L}),j&&i.default.createElement(m.Delay,{value:o.delay,onChange:D}),N&&i.default.createElement(h.Switcher,{value:o.infiniteAnimation,onChange:F,label:(0,u.t)("Infinite Animation")}))),z&&!o.infiniteAnimation&&i.default.createElement(c.OptionWrapper,{className:"brz-ed-option brz-justify-content-xs-center"},i.default.createElement(l.ReloadButton,{onClick:A}))))}},75577:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{durationFromLegacyModel:function(){return s},delayFromLegacyModel:function(){return c},infiniteAnimationFromLegacyModel:function(){return d}});const r=o(49863),i=l(o(90361)),n=l(o(73904));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const s=(0,r.mPipe)((e=>e.duration),n.read,i.fromNumber),c=(0,r.mPipe)((e=>e.delay),n.read,i.fromNumber),d=(0,r.mPipe)((e=>e.infiniteAnimation),(e=>Boolean(e)))},1042:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{EffectType:function(){return n},fromLegacyEffectType:function(){return a},isEffect:function(){return l},effectTypeIcon:function(){return s},effectTypeTitle:function(){return c}});const r=o(64985),i=o(7637);var n;!function(e){e.None="none",e.Bounce="bounce",e.Fade="fade",e.Fade2="fade2",e.Rotate="rotate",e.Slide="slide",e.Zoom="zoom",e.Zoom2="zoom2",e.Attention="attention",e.Attention2="attention2",e.Pulse="pulse",e.Wobble="wobble",e.Buzz="buzz",e.Scale="scale",e.Skew="skew",e.Move="move",e.Rotate2="rotate2"}(n||(n={}));const a=e=>{switch(e){case i.LegacyEffectType.bounce:case i.LegacyEffectType.bounceIn:case i.LegacyEffectType.bounceInDown:case i.LegacyEffectType.bounceInLeft:case i.LegacyEffectType.bounceInRight:case i.LegacyEffectType.bounceInUp:return n.Bounce;case i.LegacyEffectType.fadeIn:case i.LegacyEffectType.fadeInDown:case i.LegacyEffectType.fadeInDownBig:case i.LegacyEffectType.fadeInLeft:case i.LegacyEffectType.fadeInLeftBig:case i.LegacyEffectType.fadeInRight:case i.LegacyEffectType.fadeInRightBig:case i.LegacyEffectType.fadeInUp:case i.LegacyEffectType.fadeInUpBig:return n.Fade;case i.LegacyEffectType.none:return n.None;case i.LegacyEffectType.rotateIn:case i.LegacyEffectType.rotateInDownLeft:case i.LegacyEffectType.rotateInDownRight:case i.LegacyEffectType.rotateInUpLeft:case i.LegacyEffectType.rotateInUpRight:return n.Rotate;case i.LegacyEffectType.slideInDown:case i.LegacyEffectType.slideInLeft:case i.LegacyEffectType.slideInRight:case i.LegacyEffectType.slideInUp:return n.Slide;case i.LegacyEffectType.zoomIn:case i.LegacyEffectType.zoomInDown:case i.LegacyEffectType.zoomInLeft:case i.LegacyEffectType.zoomInRight:case i.LegacyEffectType.zoomInUp:return n.Zoom;case i.LegacyEffectType.flash:case i.LegacyEffectType.jackInTheBox:case i.LegacyEffectType.jello:case i.LegacyEffectType.lightSpeedIn:case i.LegacyEffectType.pulse:case i.LegacyEffectType.rollIn:case i.LegacyEffectType.rubberBand:case i.LegacyEffectType.shake:case i.LegacyEffectType.swing:case i.LegacyEffectType.tada:case i.LegacyEffectType.wobble:return n.Attention;case i.LegacyEffectType.brzPulse:case i.LegacyEffectType.brzPulseGrow:case i.LegacyEffectType.brzPulseShrink:return n.Pulse;case i.LegacyEffectType.brzWobbleHorizontal:case i.LegacyEffectType.brzWobbleVertical:case i.LegacyEffectType.brzWobbleToBottomRight:case i.LegacyEffectType.brzWobbleToTopRight:case i.LegacyEffectType.brzWobbleTop:case i.LegacyEffectType.brzWobbleBottom:case i.LegacyEffectType.brzWobbleSkew:return n.Wobble;case i.LegacyEffectType.brzBuzz:case i.LegacyEffectType.brzBuzzOut:return n.Buzz;case i.LegacyEffectType.brzPop:case i.LegacyEffectType.brzPush:case i.LegacyEffectType.brzBounceIn:case i.LegacyEffectType.brzBounceOut:case i.LegacyEffectType.brzGrow:case i.LegacyEffectType.brzShrink:return n.Scale;case i.LegacyEffectType.brzSkew:case i.LegacyEffectType.brzSkewForward:case i.LegacyEffectType.brzSkewBackward:return n.Skew;case i.LegacyEffectType.brzMoveDown:case i.LegacyEffectType.brzMoveUp:case i.LegacyEffectType.brzMoveRight:case i.LegacyEffectType.brzMoveLeft:case i.LegacyEffectType.brzBob:case i.LegacyEffectType.brzHang:return n.Move;case i.LegacyEffectType.brzRotate:case i.LegacyEffectType.brzGrowRotate:return n.Rotate2}},l=e=>t=>t===e,s=e=>{switch(e){case n.Attention:case n.Attention2:return"nc-warning";case n.None:return"nc-none";case n.Bounce:return"nc-bounce";case n.Fade:case n.Fade2:return"nc-fade";case n.Rotate:return"nc-captcha";case n.Slide:return"nc-slider-horizontal";case n.Zoom:case n.Zoom2:return"nc-search";case n.Pulse:return"nc-hover-pulse";case n.Wobble:return"nc-hover-wobble";case n.Buzz:return"nc-hover-buzz";case n.Scale:return"nc-scroll-scale";case n.Skew:return"nc-hover-skew";case n.Move:return"nc-hover-move";case n.Rotate2:return"nc-hover-rotate"}};function c(e){switch(e){case n.Attention:case n.Attention2:return(0,r.t)("Attention");case n.None:return(0,r.t)("None");case n.Bounce:return(0,r.t)("Bounce");case n.Fade:case n.Fade2:return(0,r.t)("Fade");case n.Rotate:return(0,r.t)("Rotate");case n.Slide:return(0,r.t)("Slide");case n.Zoom:case n.Zoom2:return(0,r.t)("Zoom");case n.Pulse:return(0,r.t)("Pulse");case n.Wobble:return(0,r.t)("Wobble");case n.Buzz:return(0,r.t)("Buzz");case n.Scale:return(0,r.t)("Scale");case n.Skew:return(0,r.t)("Skew");case n.Move:return(0,r.t)("Move");case n.Rotate2:return(0,r.t)("Rotate")}}},7637:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{LegacyEffectType:function(){return o},fromString:function(){return r},fadeFromEffect:function(){return i}}),function(e){e.none="none",e.bounce="bounce",e.bounceIn="bounceIn",e.bounceInDown="bounceInDown",e.bounceInLeft="bounceInLeft",e.bounceInRight="bounceInRight",e.bounceInUp="bounceInUp",e.fadeIn="fadeIn",e.fadeInDown="fadeInDown",e.fadeInDownBig="fadeInDownBig",e.fadeInLeft="fadeInLeft",e.fadeInLeftBig="fadeInLeftBig",e.fadeInRight="fadeInRight",e.fadeInRightBig="fadeInRightBig",e.fadeInUp="fadeInUp",e.fadeInUpBig="fadeInUpBig",e.flash="flash",e.jackInTheBox="jackInTheBox",e.jello="jello",e.lightSpeedIn="lightSpeedIn",e.pulse="pulse",e.rollIn="rollIn",e.rotateIn="rotateIn",e.rotateInDownLeft="rotateInDownLeft",e.rotateInDownRight="rotateInDownRight",e.rotateInUpLeft="rotateInUpLeft",e.rotateInUpRight="rotateInUpRight",e.rubberBand="rubberBand",e.tada="tada",e.shake="shake",e.slideInUp="slideInUp",e.slideInDown="slideInDown",e.slideInLeft="slideInLeft",e.slideInRight="slideInRight",e.swing="swing",e.wobble="wobble",e.zoomIn="zoomIn",e.zoomInDown="zoomInDown",e.zoomInLeft="zoomInLeft",e.zoomInRight="zoomInRight",e.zoomInUp="zoomInUp",e.brzWobbleHorizontal="brz-wobble-horizontal",e.brzWobbleVertical="brz-wobble-vertical",e.brzWobbleToBottomRight="brz-wobble-to-bottom-right",e.brzWobbleToTopRight="brz-wobble-to-top-right",e.brzWobbleTop="brz-wobble-top",e.brzWobbleBottom="brz-wobble-bottom",e.brzWobbleSkew="brz-wobble-skew",e.brzPulse="brz-pulse",e.brzPulseGrow="brz-pulse-grow",e.brzPulseShrink="brz-pulse-shrink",e.brzPush="brz-push",e.brzPop="brz-pop",e.brzBounceIn="brz-bounce-in",e.brzBounceOut="brz-bounce-out",e.brzGrow="brz-grow",e.brzShrink="brz-shrink",e.brzBob="brz-bob",e.brzHang="brz-hang",e.brzMoveUp="brz-float",e.brzMoveDown="brz-sink",e.brzMoveRight="brz-forward",e.brzMoveLeft="brz-backward",e.brzSkew="brz-skew",e.brzSkewForward="brz-skew-forward",e.brzSkewBackward="brz-skew-backward",e.brzBuzz="brz-buzz",e.brzBuzzOut="brz-buzz-out",e.brzRotate="brz-rotate",e.brzGrowRotate="brz-grow-rotate"}(o||(o={}));const r=e=>Object.values(o).includes(e)?e:void 0,i=e=>{switch(e){case o.fadeInDown:case o.fadeIn:case o.fadeInRight:case o.fadeInUp:case o.fadeInLeft:case o.fadeInDownBig:case o.fadeInRightBig:case o.fadeInUpBig:case o.fadeInLeftBig:return e;case o.bounce:case o.bounceIn:case o.bounceInDown:case o.bounceInLeft:case o.bounceInRight:case o.bounceInUp:case o.flash:case o.jackInTheBox:case o.jello:case o.none:case o.pulse:case o.rollIn:case o.lightSpeedIn:case o.rotateIn:case o.rotateInDownLeft:case o.rotateInDownRight:case o.rotateInUpLeft:case o.rotateInUpRight:case o.rubberBand:case o.slideInDown:case o.slideInLeft:case o.slideInRight:case o.slideInUp:case o.shake:case o.swing:case o.tada:case o.wobble:case o.zoomIn:case o.zoomInDown:case o.zoomInLeft:case o.zoomInRight:case o.zoomInUp:return}}},84128:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return p},toElementModel:function(){return f},eq:function(){return m}});const r=o(47885),i=u(o(90361)),n=u(o(73904)),a=o(77725),l=u(o(59638)),s=o(93873),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const p=(0,r.parseStrict)({name:(0,a.or)([(0,r.mPipe)((0,s.call)("name"),l.read,c.fromString),()=>c.LegacyEffectType.none]),duration:(0,a.or)([(0,r.mPipe)((0,s.call)("duration"),n.read,i.fromNumber),()=>i.Zero]),delay:(0,a.or)([(0,r.mPipe)((0,s.call)("delay"),n.read,i.fromNumber),()=>i.Zero]),infiniteAnimation:(0,a.or)([(0,r.mPipe)((0,s.call)("infiniteAnimation"),(e=>Boolean(e))),()=>!1])}),f=e=>({name:e.name,duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),m=(e,t)=>e.name===t.name&&e.delay===t.delay&&e.duration===t.duration&&e.infiniteAnimation===t.infiniteAnimation},96303:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isNone:function(){return x},isEffect:function(){return M},fromLegacyModel:function(){return T},toLegacyModel:function(){return P},setType:function(){return C}});const r=w(o(77725)),i=o(1042),n=o(7637),a=w(o(15835)),l=w(o(46779)),s=w(o(94806)),c=w(o(83675)),d=w(o(80013)),u=w(o(61307)),p=w(o(9369)),f=w(o(95438)),m=w(o(62076)),y=w(o(37499)),g=w(o(29727)),b=w(o(89174)),h=w(o(23963)),v=w(o(44572));function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(S=function(e){return e?o:t})(e)}function w(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=S(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const x=e=>e.type===i.EffectType.None,M=e=>!x(e),T=r.or([a.fromLegacyModel,u.fromLegacyModel,l.fromLegacyModel,c.fromLegacyModel,f.fromLegacyModel,b.fromLegacyModel,v.fromLegacyModel,p.fromLegacyModel,h.fromLegacyModel,s.fromLegacyModel,y.fromLegacyModel,g.fromLegacyModel,d.fromLegacyModel,m.fromLegacyModel]),P=e=>{switch(e.type){case i.EffectType.Attention:return a.toLegacyModel(e);case i.EffectType.None:return u.toLegacyModel(e);case i.EffectType.Bounce:return l.toLegacyModel(e);case i.EffectType.Fade:return c.toLegacyModel(e);case i.EffectType.Rotate:return f.toLegacyModel(e);case i.EffectType.Slide:return b.toLegacyModel(e);case i.EffectType.Zoom:return v.toLegacyModel(e);case i.EffectType.Pulse:return p.toLegacyModel(e);case i.EffectType.Wobble:return h.toLegacyModel(e);case i.EffectType.Buzz:return s.toLegacyModel(e);case i.EffectType.Scale:return y.toLegacyModel(e);case i.EffectType.Skew:return g.toLegacyModel(e);case i.EffectType.Move:return d.toLegacyModel(e);case i.EffectType.Rotate2:return m.toLegacyModel(e)}};function C(e,t){if(e===t.type)return t;switch(e){case i.EffectType.Attention:case i.EffectType.Attention2:return{type:i.EffectType.Attention,style:n.LegacyEffectType.flash,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case i.EffectType.Bounce:return{type:i.EffectType.Bounce,direction:l.Direction.none,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case i.EffectType.Fade:case i.EffectType.Fade2:return{type:i.EffectType.Fade,direction:c.Direction.none,big:!1,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case i.EffectType.None:return{type:i.EffectType.None,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case i.EffectType.Rotate:return{type:i.EffectType.Rotate,direction:f.Direction.none,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case i.EffectType.Slide:return{type:i.EffectType.Slide,direction:b.Direction.up,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case i.EffectType.Zoom:case i.EffectType.Zoom2:return{type:i.EffectType.Zoom,direction:v.Direction.none,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case i.EffectType.Pulse:return{type:i.EffectType.Pulse,direction:p.Direction.brzPulse,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case i.EffectType.Wobble:return{type:i.EffectType.Wobble,direction:h.Direction.brzWobbleBottom,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case i.EffectType.Skew:return{type:i.EffectType.Skew,direction:g.Direction.brzSkew,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case i.EffectType.Move:return{type:i.EffectType.Move,direction:d.Direction.up,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case i.EffectType.Buzz:return{type:i.EffectType.Buzz,direction:s.Direction.brzBuzz,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case i.EffectType.Scale:return{type:i.EffectType.Scale,direction:y.Direction.brzBounceIn,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case i.EffectType.Rotate2:return{type:i.EffectType.Rotate2,direction:m.Direction.brzRotate,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation}}}},87717:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setDelay",{enumerable:!0,get:function(){return o}});const o=(e,t)=>({...t,delay:e})},63504:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setStyle:function(){return o},setDirection:function(){return r}});const o=(e,t)=>({...t,style:e}),r=(e,t)=>({...t,direction:e})},98525:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setDuration",{enumerable:!0,get:function(){return o}});const o=(e,t)=>({...t,duration:e})},25062:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setInfiniteAnimation",{enumerable:!0,get:function(){return o}});const o=e=>({...e,infiniteAnimation:!e.infiniteAnimation})},15835:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styles:function(){return p},styleFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},styleTitle:function(){return b},setStyle:function(){return h}});const r=o(49863),i=o(64985),n=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const p=[c.LegacyEffectType.flash,c.LegacyEffectType.jackInTheBox,c.LegacyEffectType.jello,c.LegacyEffectType.lightSpeedIn,c.LegacyEffectType.pulse,c.LegacyEffectType.rollIn,c.LegacyEffectType.rubberBand,c.LegacyEffectType.tada,c.LegacyEffectType.shake,c.LegacyEffectType.swing,c.LegacyEffectType.wobble],f=e=>{switch(e){case c.LegacyEffectType.flash:case c.LegacyEffectType.jackInTheBox:case c.LegacyEffectType.jello:case c.LegacyEffectType.lightSpeedIn:case c.LegacyEffectType.pulse:case c.LegacyEffectType.rollIn:case c.LegacyEffectType.rubberBand:case c.LegacyEffectType.tada:case c.LegacyEffectType.shake:case c.LegacyEffectType.swing:case c.LegacyEffectType.wobble:return e;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,n.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Attention))),style:a.or([(0,r.mPipe)((0,n.prop)("name"),f),()=>c.LegacyEffectType.flash]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>e.style,g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),b=e=>{switch(e){case c.LegacyEffectType.flash:return(0,i.t)("Flash");case c.LegacyEffectType.jackInTheBox:return(0,i.t)("JackInTheBox");case c.LegacyEffectType.jello:return(0,i.t)("Jello");case c.LegacyEffectType.lightSpeedIn:return(0,i.t)("Light Speed In");case c.LegacyEffectType.pulse:return(0,i.t)("Pulse");case c.LegacyEffectType.rollIn:return(0,i.t)("Roll In");case c.LegacyEffectType.rubberBand:return(0,i.t)("Rubber Band");case c.LegacyEffectType.shake:return(0,i.t)("Shake");case c.LegacyEffectType.swing:return(0,i.t)("Swing");case c.LegacyEffectType.tada:return(0,i.t)("Tada");case c.LegacyEffectType.wobble:return(0,i.t)("Wobble")}},h=(e,t)=>t.style===e?t:{...t,style:e}},46779:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return b}});const r=o(49863),i=o(64985),n=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.none="none",e.in="in",e.down="down",e.right="right",e.up="up",e.left="left"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.bounce:return p.none;case c.LegacyEffectType.bounceIn:return p.in;case c.LegacyEffectType.bounceInDown:return p.down;case c.LegacyEffectType.bounceInLeft:return p.left;case c.LegacyEffectType.bounceInRight:return p.right;case c.LegacyEffectType.bounceInUp:return p.up;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,n.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Bounce))),direction:a.or([(0,r.mPipe)((0,n.prop)("name"),f),()=>p.none]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.none:return c.LegacyEffectType.bounce;case p.in:return c.LegacyEffectType.bounceIn;case p.down:return c.LegacyEffectType.bounceInDown;case p.right:return c.LegacyEffectType.bounceInRight;case p.up:return c.LegacyEffectType.bounceInUp;case p.left:return c.LegacyEffectType.bounceInLeft}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),b=e=>{switch(e){case p.none:return(0,i.t)("None");case p.in:return(0,i.t)("In");case p.up:return(0,i.t)("Up");case p.right:return(0,i.t)("Right");case p.down:return(0,i.t)("Down");case p.left:return(0,i.t)("Left")}}},94806:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return b}});const r=o(49863),i=o(64985),n=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.brzBuzz="brzBuzz",e.brzBuzzOut="brzBuzzOut"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.brzBuzz:return p.brzBuzz;case c.LegacyEffectType.brzBuzzOut:return p.brzBuzzOut;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,n.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Buzz))),direction:a.or([(0,r.mPipe)((0,n.prop)("name"),f),()=>p.brzBuzz]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.brzBuzz:return c.LegacyEffectType.brzBuzz;case p.brzBuzzOut:return c.LegacyEffectType.brzBuzzOut}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),b=e=>{switch(e){case p.brzBuzz:return(0,i.t)("Buzz");case p.brzBuzzOut:return(0,i.t)("Buzz Out")}}},83675:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},bigFromLegacyEffectType:function(){return m},fromLegacyModel:function(){return y},toLegacyEffectType:function(){return g},toLegacyModel:function(){return b},getDirectionTitle:function(){return h}});const r=o(49863),i=o(64985),n=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.none="none",e.down="down",e.right="right",e.up="up",e.left="left"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.fadeIn:return p.none;case c.LegacyEffectType.fadeInDown:case c.LegacyEffectType.fadeInDownBig:return p.down;case c.LegacyEffectType.fadeInRight:case c.LegacyEffectType.fadeInRightBig:return p.right;case c.LegacyEffectType.fadeInUp:case c.LegacyEffectType.fadeInUpBig:return p.up;case c.LegacyEffectType.fadeInLeft:case c.LegacyEffectType.fadeInLeftBig:return p.left}},m=e=>{switch(e){case c.LegacyEffectType.fadeIn:case c.LegacyEffectType.fadeInDown:case c.LegacyEffectType.fadeInRight:case c.LegacyEffectType.fadeInUp:case c.LegacyEffectType.fadeInLeft:return!1;case c.LegacyEffectType.fadeInDownBig:case c.LegacyEffectType.fadeInRightBig:case c.LegacyEffectType.fadeInUpBig:case c.LegacyEffectType.fadeInLeftBig:return!0}},y=a.readWithParser({type:(0,r.mPipe)((0,n.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Fade))),direction:a.or([(0,r.mPipe)((0,n.prop)("name"),c.fadeFromEffect,f),()=>p.none]),big:(0,r.mPipe)((0,n.prop)("name"),c.fadeFromEffect,m),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),g=e=>{switch(e.direction){case p.none:return c.LegacyEffectType.fadeIn;case p.down:switch(e.big){case!0:return c.LegacyEffectType.fadeInDownBig;case!1:return c.LegacyEffectType.fadeInDown}case p.right:switch(e.big){case!0:return c.LegacyEffectType.fadeInRightBig;case!1:return c.LegacyEffectType.fadeInRight}case p.up:switch(e.big){case!0:return c.LegacyEffectType.fadeInUpBig;case!1:return c.LegacyEffectType.fadeInUp}case p.left:switch(e.big){case!0:return c.LegacyEffectType.fadeInLeftBig;case!1:return c.LegacyEffectType.fadeInLeft}}},b=e=>({name:g(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),h=e=>{switch(e){case p.none:return(0,i.t)("None");case p.up:return(0,i.t)("Up");case p.right:return(0,i.t)("Right");case p.down:return(0,i.t)("Down");case p.left:return(0,i.t)("Left")}}},80013:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return b}});const r=o(49863),i=o(64985),n=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.up="up",e.down="down",e.left="left",e.right="right",e.hang="hang",e.bob="bob"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.brzMoveUp:return p.up;case c.LegacyEffectType.brzMoveDown:return p.down;case c.LegacyEffectType.brzMoveLeft:return p.left;case c.LegacyEffectType.brzMoveRight:return p.right;case c.LegacyEffectType.brzHang:return p.hang;case c.LegacyEffectType.brzBob:return p.bob;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,n.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Move))),direction:a.or([(0,r.mPipe)((0,n.prop)("name"),f),()=>p.up]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.up:return c.LegacyEffectType.brzMoveUp;case p.down:return c.LegacyEffectType.brzMoveDown;case p.left:return c.LegacyEffectType.brzMoveLeft;case p.right:return c.LegacyEffectType.brzMoveRight;case p.hang:return c.LegacyEffectType.brzHang;case p.bob:return c.LegacyEffectType.brzBob}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),b=e=>{switch(e){case p.up:return(0,i.t)("Up");case p.down:return(0,i.t)("Down");case p.left:return(0,i.t)("Left");case p.right:return(0,i.t)("Right");case p.hang:return(0,i.t)("Hang");case p.bob:return(0,i.t)("Bob")}}},61307:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromLegacyModel:function(){return s},toLegacyModel:function(){return c}});const r=o(49863),i=o(77725),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(1042)),a=o(7637);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=(0,i.readWithParser)({type:(0,r.mPipe)((e=>e.name),n.fromLegacyEffectType,(0,r.pass)((0,n.isEffect)(n.EffectType.None))),duration:e=>e.duration,delay:e=>e.delay,infiniteAnimation:e=>e.infiniteAnimation}),c=e=>({name:a.LegacyEffectType.none,duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation})},9369:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return b}});const r=o(49863),i=u(o(1042)),n=o(7637),a=u(o(75577)),l=u(o(77725)),s=o(55250),c=o(64985);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.brzPulse="brzPulse",e.brzPulseGrow="brzPulseGrow",e.brzPulseShrink="brzPulseShrink"}(p||(p={}));const f=e=>{switch(e){case n.LegacyEffectType.brzPulse:return p.brzPulse;case n.LegacyEffectType.brzPulseGrow:return p.brzPulseGrow;case n.LegacyEffectType.brzPulseShrink:return p.brzPulseShrink;default:return}},m=l.readWithParser({type:(0,r.mPipe)((0,s.prop)("name"),i.fromLegacyEffectType,(0,r.pass)((0,i.isEffect)(i.EffectType.Pulse))),direction:l.or([(0,r.mPipe)((0,s.prop)("name"),f),()=>p.brzPulse]),duration:a.durationFromLegacyModel,delay:a.delayFromLegacyModel,infiniteAnimation:a.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.brzPulse:return n.LegacyEffectType.brzPulse;case p.brzPulseGrow:return n.LegacyEffectType.brzPulseGrow;case p.brzPulseShrink:return n.LegacyEffectType.brzPulseShrink}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),b=e=>{switch(e){case p.brzPulse:return(0,c.t)("Pulse");case p.brzPulseGrow:return(0,c.t)("Pulse Grow");case p.brzPulseShrink:return(0,c.t)("Pulse Shrink")}}},95438:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return b}});const r=o(49863),i=o(64985),n=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.none="none",e.downLeft="downLeft",e.downRight="downRight",e.upLeft="upLeft",e.upRight="upRight"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.rotateIn:return p.none;case c.LegacyEffectType.rotateInDownLeft:return p.downLeft;case c.LegacyEffectType.rotateInDownRight:return p.downRight;case c.LegacyEffectType.rotateInUpLeft:return p.upLeft;case c.LegacyEffectType.rotateInUpRight:return p.upRight;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,n.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Rotate))),direction:a.or([(0,r.mPipe)((0,n.prop)("name"),f),()=>p.none]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.none:return c.LegacyEffectType.rotateIn;case p.downLeft:return c.LegacyEffectType.rotateInDownLeft;case p.downRight:return c.LegacyEffectType.rotateInDownRight;case p.upLeft:return c.LegacyEffectType.rotateInUpLeft;case p.upRight:return c.LegacyEffectType.rotateInUpRight}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),b=e=>{switch(e){case p.none:return(0,i.t)("None");case p.upRight:return(0,i.t)("Up Right");case p.upLeft:return(0,i.t)("Up Left");case p.downLeft:return(0,i.t)("Down Left");case p.downRight:return(0,i.t)("Down Right")}}},62076:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return b}});const r=o(49863),i=u(o(1042)),n=o(7637),a=u(o(75577)),l=u(o(77725)),s=o(55250),c=o(64985);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.brzRotate="brzRotate",e.brzGrowRotate="brzGrowRotate"}(p||(p={}));const f=e=>{switch(e){case n.LegacyEffectType.brzRotate:return p.brzRotate;case n.LegacyEffectType.brzGrowRotate:return p.brzGrowRotate;default:return}},m=l.readWithParser({type:(0,r.mPipe)((0,s.prop)("name"),i.fromLegacyEffectType,(0,r.pass)((0,i.isEffect)(i.EffectType.Rotate2))),direction:l.or([(0,r.mPipe)((0,s.prop)("name"),f),()=>p.brzRotate]),duration:a.durationFromLegacyModel,delay:a.delayFromLegacyModel,infiniteAnimation:a.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.brzRotate:return n.LegacyEffectType.brzRotate;case p.brzGrowRotate:return n.LegacyEffectType.brzGrowRotate}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),b=e=>{switch(e){case p.brzRotate:return(0,c.t)("Rotate");case p.brzGrowRotate:return(0,c.t)("Grow Rotate")}}},37499:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return b}});const r=o(49863),i=u(o(1042)),n=o(7637),a=u(o(75577)),l=u(o(77725)),s=o(55250),c=o(64985);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.brzPop="brzPop",e.brzPush="brzPush",e.brzBounceIn="brzBounceIn",e.brzBounceOut="brzBounceOut",e.brzGrow="brzGrow",e.brzShrink="brzShrink"}(p||(p={}));const f=e=>{switch(e){case n.LegacyEffectType.brzPop:return p.brzPop;case n.LegacyEffectType.brzPush:return p.brzPush;case n.LegacyEffectType.brzBounceIn:return p.brzBounceIn;case n.LegacyEffectType.brzBounceOut:return p.brzBounceOut;case n.LegacyEffectType.brzGrow:return p.brzGrow;case n.LegacyEffectType.brzShrink:return p.brzShrink;default:return}},m=l.readWithParser({type:(0,r.mPipe)((0,s.prop)("name"),i.fromLegacyEffectType,(0,r.pass)((0,i.isEffect)(i.EffectType.Scale))),direction:l.or([(0,r.mPipe)((0,s.prop)("name"),f),()=>p.brzPop]),duration:a.durationFromLegacyModel,delay:a.delayFromLegacyModel,infiniteAnimation:a.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.brzPop:return n.LegacyEffectType.brzPop;case p.brzPush:return n.LegacyEffectType.brzPush;case p.brzBounceIn:return n.LegacyEffectType.brzBounceIn;case p.brzBounceOut:return n.LegacyEffectType.brzBounceOut;case p.brzGrow:return n.LegacyEffectType.brzGrow;case p.brzShrink:return n.LegacyEffectType.brzShrink}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),b=e=>{switch(e){case p.brzPop:return(0,c.t)("Pop");case p.brzPush:return(0,c.t)("Push");case p.brzBounceIn:return(0,c.t)("Bounce In");case p.brzBounceOut:return(0,c.t)("Bounce Out");case p.brzGrow:return(0,c.t)("Grow");case p.brzShrink:return(0,c.t)("Shrink")}}},29727:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return b}});const r=o(49863),i=u(o(1042)),n=o(7637),a=u(o(75577)),l=u(o(77725)),s=o(55250),c=o(64985);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.brzSkew="brzSkew",e.brzSkewForward="brzSkewForward",e.brzSkewBackward="brzSkewBackward"}(p||(p={}));const f=e=>{switch(e){case n.LegacyEffectType.brzSkew:return p.brzSkew;case n.LegacyEffectType.brzSkewForward:return p.brzSkewForward;case n.LegacyEffectType.brzSkewBackward:return p.brzSkewBackward;default:return}},m=l.readWithParser({type:(0,r.mPipe)((0,s.prop)("name"),i.fromLegacyEffectType,(0,r.pass)((0,i.isEffect)(i.EffectType.Skew))),direction:l.or([(0,r.mPipe)((0,s.prop)("name"),f),()=>p.brzSkew]),duration:a.durationFromLegacyModel,delay:a.delayFromLegacyModel,infiniteAnimation:a.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.brzSkew:return n.LegacyEffectType.brzSkew;case p.brzSkewForward:return n.LegacyEffectType.brzSkewForward;case p.brzSkewBackward:return n.LegacyEffectType.brzSkewBackward}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),b=e=>{switch(e){case p.brzSkew:return(0,c.t)("Skew");case p.brzSkewForward:return(0,c.t)("Skew Forward");case p.brzSkewBackward:return(0,c.t)("Skew Backward")}}},89174:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return b}});const r=o(49863),i=o(64985),n=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.down="down",e.right="right",e.up="up",e.left="left"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.slideInDown:return p.down;case c.LegacyEffectType.slideInRight:return p.right;case c.LegacyEffectType.slideInUp:return p.up;case c.LegacyEffectType.slideInLeft:return p.left;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,n.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Slide))),direction:a.or([(0,r.mPipe)((0,n.prop)("name"),f),()=>p.up]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.left:return c.LegacyEffectType.slideInLeft;case p.down:return c.LegacyEffectType.slideInDown;case p.right:return c.LegacyEffectType.slideInRight;case p.up:return c.LegacyEffectType.slideInUp}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),b=e=>{switch(e){case p.up:return(0,i.t)("Up");case p.right:return(0,i.t)("Right");case p.down:return(0,i.t)("Down");case p.left:return(0,i.t)("Left")}}},23963:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return b}});const r=o(49863),i=o(64985),n=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.brzWobbleHorizontal="brzWobbleHorizontal",e.brzWobbleVertical="brzWobbleVertical",e.brzWobbleToBottomRight="brzWobbleToBottomRight",e.brzWobbleToTopRight="brzWobbleToTopRight",e.brzWobbleTop="brzWobbleTop",e.brzWobbleBottom="brzWobbleBottom",e.brzWobbleSkew="brzWobbleSkew"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.brzWobbleHorizontal:return p.brzWobbleHorizontal;case c.LegacyEffectType.brzWobbleVertical:return p.brzWobbleVertical;case c.LegacyEffectType.brzWobbleToBottomRight:return p.brzWobbleToBottomRight;case c.LegacyEffectType.brzWobbleToTopRight:return p.brzWobbleToTopRight;case c.LegacyEffectType.brzWobbleTop:return p.brzWobbleTop;case c.LegacyEffectType.brzWobbleBottom:return p.brzWobbleBottom;case c.LegacyEffectType.brzWobbleSkew:return p.brzWobbleSkew;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,n.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Wobble))),direction:a.or([(0,r.mPipe)((0,n.prop)("name"),f),()=>p.brzWobbleHorizontal]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.brzWobbleHorizontal:return c.LegacyEffectType.brzWobbleHorizontal;case p.brzWobbleVertical:return c.LegacyEffectType.brzWobbleVertical;case p.brzWobbleToBottomRight:return c.LegacyEffectType.brzWobbleToBottomRight;case p.brzWobbleToTopRight:return c.LegacyEffectType.brzWobbleToTopRight;case p.brzWobbleTop:return c.LegacyEffectType.brzWobbleTop;case p.brzWobbleBottom:return c.LegacyEffectType.brzWobbleBottom;case p.brzWobbleSkew:return c.LegacyEffectType.brzWobbleSkew}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),b=e=>{switch(e){case p.brzWobbleHorizontal:return(0,i.t)("Horizontal");case p.brzWobbleVertical:return(0,i.t)("Vertical");case p.brzWobbleToBottomRight:return(0,i.t)("Bottom Right");case p.brzWobbleToTopRight:return(0,i.t)("Top Right");case p.brzWobbleTop:return(0,i.t)("Top");case p.brzWobbleBottom:return(0,i.t)("Bottom");case p.brzWobbleSkew:return(0,i.t)("Skew")}}},44572:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return b}});const r=o(49863),i=o(64985),n=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.none="none",e.down="down",e.right="right",e.up="up",e.left="left"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.zoomIn:return p.none;case c.LegacyEffectType.zoomInDown:return p.down;case c.LegacyEffectType.zoomInRight:return p.right;case c.LegacyEffectType.zoomInUp:return p.up;case c.LegacyEffectType.zoomInLeft:return p.left;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,n.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Zoom))),direction:a.or([(0,r.mPipe)((0,n.prop)("name"),f),()=>p.none]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.none:return c.LegacyEffectType.zoomIn;case p.left:return c.LegacyEffectType.zoomInLeft;case p.down:return c.LegacyEffectType.zoomInDown;case p.right:return c.LegacyEffectType.zoomInRight;case p.up:return c.LegacyEffectType.zoomInUp}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),b=e=>{switch(e){case p.none:return(0,i.t)("None");case p.up:return(0,i.t)("Up");case p.right:return(0,i.t)("Right");case p.down:return(0,i.t)("Down");case p.left:return(0,i.t)("Left")}}},93873:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{call:function(){return S},onChangeDirection:function(){return w},getDirections:function(){return x},valueToType:function(){return M},defaultEffects:function(){return T},tabEffects:function(){return P},hoverEffects:function(){return C}});const r=o(49863),i=o(1042),n=o(63504),a=v(o(46779)),l=v(o(94806)),s=v(o(83675)),c=v(o(80013)),d=v(o(9369)),u=v(o(95438)),p=v(o(62076)),f=v(o(37499)),m=v(o(29727)),y=v(o(89174)),g=v(o(23963)),b=v(o(44572));function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const S=e=>t=>t(e),w=(e,t)=>(0,r.pipe)((t=>(0,n.setDirection)(t,e)),t);function x(e){switch(e){case i.EffectType.Bounce:return Object.values(a.Direction).map((e=>[e,a.getDirectionTitle(e)]));case i.EffectType.Fade:case i.EffectType.Fade2:return Object.values(s.Direction).map((e=>[e,s.getDirectionTitle(e)]));case i.EffectType.Rotate:return Object.values(u.Direction).map((e=>[e,u.getDirectionTitle(e)]));case i.EffectType.Slide:return Object.values(y.Direction).map((e=>[e,y.getDirectionTitle(e)]));case i.EffectType.Zoom:return Object.values(b.Direction).map((e=>[e,b.getDirectionTitle(e)]));case i.EffectType.Buzz:return Object.values(l.Direction).map((e=>[e,l.getDirectionTitle(e)]));case i.EffectType.Pulse:return Object.values(d.Direction).map((e=>[e,d.getDirectionTitle(e)]));case i.EffectType.Scale:return Object.values(f.Direction).map((e=>[e,f.getDirectionTitle(e)]));case i.EffectType.Wobble:return Object.values(g.Direction).map((e=>[e,g.getDirectionTitle(e)]));case i.EffectType.Move:return Object.values(c.Direction).map((e=>[e,c.getDirectionTitle(e)]));case i.EffectType.Skew:return Object.values(m.Direction).map((e=>[e,m.getDirectionTitle(e)]));case i.EffectType.Rotate2:return Object.values(p.Direction).map((e=>[e,p.getDirectionTitle(e)]));case i.EffectType.Zoom2:return[b.Direction.none].map((e=>[e,b.getDirectionTitle(e)]));case i.EffectType.None:case i.EffectType.Attention:case i.EffectType.Attention2:return[]}}const M=(e,t)=>{switch(t.type){case i.EffectType.Attention:return e.includes(i.EffectType.Attention)?i.EffectType.Attention:e.includes(i.EffectType.Attention2)?i.EffectType.Attention2:i.EffectType.None;case i.EffectType.Fade:return e.includes(i.EffectType.Fade)?i.EffectType.Fade:e.includes(i.EffectType.Fade2)?i.EffectType.Fade2:i.EffectType.None;case i.EffectType.Zoom:return e.includes(i.EffectType.Zoom)?i.EffectType.Zoom:e.includes(i.EffectType.Zoom2)?i.EffectType.Zoom2:i.EffectType.None;case i.EffectType.None:case i.EffectType.Rotate:case i.EffectType.Slide:case i.EffectType.Bounce:case i.EffectType.Buzz:case i.EffectType.Pulse:case i.EffectType.Skew:case i.EffectType.Scale:case i.EffectType.Rotate2:case i.EffectType.Move:case i.EffectType.Wobble:return e.includes(t.type)?t.type:i.EffectType.None}},T=[i.EffectType.Bounce,i.EffectType.Fade,i.EffectType.Rotate,i.EffectType.Slide,i.EffectType.Zoom,i.EffectType.Attention],P=[i.EffectType.Fade2,i.EffectType.Zoom2,i.EffectType.Attention2],C=[i.EffectType.Wobble,i.EffectType.Pulse,i.EffectType.Buzz,i.EffectType.Skew,i.EffectType.Scale,i.EffectType.Move,i.EffectType.Rotate2]},93999:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return y},fromElementModel:function(){return g},toElementModel:function(){return b}});const r=m(o(404)),i=m(o(16423)),n=m(o(47688)),a=o(49863),l=m(o(59638)),s=m(o(73904)),c=m(o(8046)),d=m(o(27023)),u=m(o(78438)),p=m(o(67888));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const y={type:"none",tempType:"solid",hex:r.Black,opacity:i.empty,tempOpacity:i.unsafe(1),palette:"",tempPalette:"",gradientHex:r.Black,gradientOpacity:i.unsafe(1),tempGradientOpacity:i.unsafe(1),gradientPalette:"",tempGradientPalette:"",gradientType:"linear",start:0,end:100,active:"start",linearDegree:0,radialDegree:0},g=e=>{const t=e("gradientActivePointer"),o="startPointer"===t?"start":"finishPointer"===t?"end":t;return{type:n.read(e("bgColorType")),tempType:n.read(e("tempBgColorType")),hex:(0,a.mPipe)((()=>e("bgColorHex")),l.read,r.fromString)()??y.hex,opacity:(0,a.mPipe)((()=>e("bgColorOpacity")),s.read,i.fromNumber)()??y.opacity,tempOpacity:(0,a.mPipe)((()=>e("tempBgColorOpacity")),s.read,i.fromNumber)()??y.tempOpacity,palette:(0,a.mPipe)((()=>e("bgColorPalette")),l.read,c.fromString)()??y.palette,tempPalette:(0,a.mPipe)((()=>e("tempPalette")),l.read,c.fromString)()??y.tempPalette,gradientHex:(0,a.mPipe)((()=>e("gradientColorHex")),l.read,r.fromString)()??y.gradientHex,gradientOpacity:(0,a.mPipe)((()=>e("gradientColorOpacity")),s.read,i.fromNumber)()??y.gradientOpacity,tempGradientOpacity:(0,a.mPipe)((()=>e("tempGradientColorOpacity")),s.read,i.fromNumber)()??y.tempGradientOpacity,gradientPalette:(0,a.mPipe)((()=>e("gradientColorPalette")),l.read,c.fromString)()??y.gradientPalette,tempGradientPalette:(0,a.mPipe)((()=>e("tempGradientColorPalette")),l.read,c.fromString)()??y.tempGradientPalette,gradientType:d.read(e("gradientType"))??y.gradientType,start:u.toNonNegative(e("gradientStartPointer"))??y.start,end:u.toNonNegative(e("gradientFinishPointer"))??y.end,active:p.read(o),linearDegree:s.read(e("gradientLinearDegree"))??y.linearDegree,radialDegree:s.read(e("gradientRadialDegree"))??y.radialDegree}},b=e=>{const t="start"===e.active?"startPointer":"finishPointer";return{bgColorType:e.type,tempBgColorType:e.tempType,bgColorHex:e.hex,bgColorOpacity:e.opacity,tempBgColorOpacity:e.tempOpacity,bgColorPalette:e.palette,tempBgColorPalette:e.tempPalette,gradientColorHex:e.gradientHex,gradientColorOpacity:e.gradientOpacity,tempGradientColorOpacity:e.tempGradientOpacity,gradientColorPalette:e.gradientPalette,tempGradientColorPalette:e.tempGradientPalette,gradientType:e.gradientType,gradientStartPointer:e.start,gradientFinishPointer:e.end,gradientActivePointer:t,gradientLinearDegree:e.linearDegree,gradientRadialDegree:e.radialDegree}}},67888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"read",{enumerable:!0,get:function(){return o}});const o=e=>"start"===e||"end"===e?e:void 0},27023:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"read",{enumerable:!0,get:function(){return o}});const o=e=>"linear"===e||"radial"===e?e:void 0},47688:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{read:function(){return o},empty:function(){return r},append:function(){return i},concat:function(){return n}});const o=e=>"none"===e||"solid"===e||"gradient"===e?e:void 0,r="none",i=(e,t)=>e===r?t:e,n=e=>e.reduce(i,r)},23276:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BackgroundColor",{enumerable:!0,get:function(){return S}});const r=h(o(27378)),i=o(76710),n=h(o(8046)),a=o(6620),l=(s=o(22546))&&s.__esModule?s:{default:s};var s;const c=o(97724),d=o(74215),u=o(92213),p=o(81405),f=h(o(404)),m=h(o(16423)),y=h(o(18778)),g=o(67469);function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const v=()=>{(0,u.getStore)().dispatch((0,d.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:c.LeftSidebarOptionsIds.globalStyle}))},S=e=>{let{value:t,onChange:o,config:s}=e;const d=(0,p.getColorPaletteColors)(),u={...t,hex:(0,a.paletteHex)(t.palette,d)??t.hex,gradientHex:(0,a.paletteHex)(t.gradientPalette,d)??t.gradientHex},b=(0,r.useMemo)((()=>{const e=l.default.getAll(),{bottomTabsOrder:t=[],topTabsOrder:o=[]}=e.ui?.leftSidebar??{};return[...t,...o].includes(c.LeftSidebarOptionsIds.globalStyle)}),[]);return r.default.createElement(i.BackgroundColor,{value:(0,g.toBgControlValue)(u),onChange:(e,r)=>{const i=!("gradient"===t.type&&"end"===t.active);switch(r.isChanged){case"type":o(y.setType(e.type,t));break;case"gradientType":o(y.setGradientType(e.gradientType,t));break;case"start":o(y.setStart(e.start,t));break;case"end":o(y.setEnd(e.end,t));break;case"active":o(y.setActive(e.active,t));break;case"degree":if("gradient"===t.type){const r="radial"===t.gradientType?y.setRadialDegree:y.setLinearDegree;o(r(e.degree,t))}break;case"hex":{const r=i?y.setHex:y.setGradientHex,n=f.fromString(e.hex);void 0!==n&&o(r(n,t));break}case"opacity":{const n=i?y.setOpacity:y.setGradientOpacity,l=m.fromNumber(e.opacity);void 0!==l&&o((0,a.setOpacity)(n,l,t,!!r.opacityDragEnd));break}case"palette":{const r=i?y.setPalette:y.setGradientPalette,a=n.fromString(e.palette);void 0!==a&&o(r(a,t));break}}},paletteOpenSettings:b?v:void 0,palette:(0,p.getColorPaletteColors)(),opacity:s?.opacity??!0,withNone:s?.withNone??!0,gradientColors:[u.hex,u.gradientHex]})}},18778:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{toggleType:function(){return p},getHex:function(){return n.getHex},getOpacity:function(){return n.getOpacity},getPalette:function(){return n.getPalette},setHex:function(){return f},setOpacity:function(){return m},setPalette:function(){return y},getGradientHex:function(){return g},setGradientHex:function(){return b},getGradientOpacity:function(){return h},setGradientOpacity:function(){return v},getGradientPalette:function(){return S},setGradientPalette:function(){return w},getType:function(){return x},setType:function(){return M},getGradientType:function(){return T},setGradientType:function(){return P},getStart:function(){return C},setStart:function(){return k},getEnd:function(){return _},setEnd:function(){return O},getActive:function(){return E},setActive:function(){return z},getLinearDegree:function(){return B},setLinearDegree:function(){return j},getRadialDegree:function(){return N},setRadialDegree:function(){return I}});const r=o(36683),i=o(22741),n=u(o(14361)),a=o(67469),l=u(o(47688)),s=u(o(8046)),c=o(6620);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const p=(e,t)=>{const o=e?l.append(t.type,t.tempType):l.empty;return M(o,t)},f=(e,t)=>p(!0,{...t,...n.setHex(e,t)}),m=(e,t)=>p(e>0,{...t,...n.setOpacity(e,t)}),y=(e,t)=>p(e!==s.empty,{...t,...n.setPalette(e,t)}),g=(0,i.mCompose)(n.getHex,a.gradientToColor),b=(e,t)=>p(!0,{...t,...(0,a.colorToGradient)(n.setHex(e,(0,a.gradientToColor)(t)))}),h=(0,i.mCompose)(n.getOpacity,a.gradientToColor),v=(e,t)=>p(e>0,{...t,...(0,a.colorToGradient)(n.setOpacity(e,(0,a.gradientToColor)(t)))}),S=(0,i.mCompose)(n.getPalette,a.gradientToColor),w=(e,t)=>p(e!==s.empty,{...t,...(0,a.colorToGradient)(n.setPalette(e,(0,a.gradientToColor)(t)))}),x=e=>e.type,M=(e,t)=>({...t,...(0,c.toggleColor)(e!==l.empty,t),type:e,tempType:l.append(e,t.tempType)}),T=e=>e.gradientType,P=(e,t)=>({...t,gradientType:e}),C=e=>e.start,k=(0,r.setter)(a.readPercent,C,((e,t)=>({...t,start:e}))),_=e=>e.end,O=(0,r.setter)(a.readPercent,C,((e,t)=>({...t,end:e}))),E=e=>e.active,z=(e,t)=>({...t,active:e}),B=e=>e.linearDegree,j=(e,t)=>({...t,linearDegree:e}),N=e=>e.radialDegree,I=(e,t)=>({...t,radialDegree:e})},67469:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{toBgControlValue:function(){return l},gradientToColor:function(){return s},colorToGradient:function(){return c},readPercent:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(73904)),i=o(22741),n=o(78438);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{const t="gradient"===e.type&&"end"===e.active;return{hex:t?e.gradientHex:e.hex,opacity:t?e.gradientOpacity:e.opacity,palette:t?e.gradientPalette:e.palette,type:e.type,start:e.start,end:e.end,active:e.active,degree:(e.gradientType,e.linearDegree),gradientType:e.gradientType}},s=e=>({hex:e.gradientHex,opacity:e.gradientOpacity,tempOpacity:e.tempGradientOpacity,palette:e.gradientPalette,tempPalette:e.tempGradientPalette}),c=e=>({gradientHex:e.hex,gradientOpacity:e.opacity,tempGradientOpacity:e.tempOpacity,gradientPalette:e.palette,tempGradientPalette:e.tempPalette}),d=e=>(0,i.mApply)((e=>(0,n.inRange)(0,100,e)?e:void 0),r.read(e))},1753:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return y},isEmptyWidth:function(){return g},fromElementModel:function(){return b},toElementModel:function(){return h}});const r=o(49863),i=m(o(59638)),n=m(o(98208)),a=m(o(73904)),l=m(o(16423)),s=m(o(7219)),c=m(o(16925)),d=m(o(404)),u=m(o(8046)),p=o(91718);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const y={style:n.empty,tempStyle:n.SOLID,hex:d.Black,opacity:l.empty,tempOpacity:l.unsafe(1),palette:u.empty,tempPalette:u.empty,widthType:s.empty,width:c.empty,tempWidth:c.unsafe(1),topWidth:c.empty,tempTopWidth:c.unsafe(1),rightWidth:c.empty,tempRightWidth:c.unsafe(1),bottomWidth:c.empty,tempBottomWidth:c.unsafe(1),leftWidth:c.empty,tempLeftWidth:c.unsafe(1)},g=e=>(0,p.getWidthType)(e)===s.GROUPED?(0,p.getWidth)(e)===c.empty:(0,p.getTopWidth)(e)===c.empty&&(0,p.getRightWidth)(e)===c.empty&&(0,p.getBottomWidth)(e)===c.empty&&(0,p.getLeftWidth)(e)===c.empty,b=e=>{const t={style:(0,r.mPipe)((()=>e("style")),i.read,n.fromString)()??y.style,opacity:(0,r.mPipe)((()=>e("colorOpacity")),a.read,l.fromNumber)()??y.opacity,widthType:(0,r.mPipe)((()=>e("widthType")),i.read,s.fromString)()??y.widthType,width:(0,r.mPipe)((()=>e("width")),a.read,c.fromNumber)()??y.width,topWidth:(0,r.mPipe)((()=>e("topWidth")),a.read,c.fromNumber)()??y.topWidth,rightWidth:(0,r.mPipe)((()=>e("rightWidth")),a.read,c.fromNumber)()??y.rightWidth,bottomWidth:(0,r.mPipe)((()=>e("bottomWidth")),a.read,c.fromNumber)()??y.bottomWidth,leftWidth:(0,r.mPipe)((()=>e("leftWidth")),a.read,c.fromNumber)()??y.leftWidth},o=t.style===n.empty||t.opacity===l.empty||g(t);return{style:o?n.empty:t.style,tempStyle:(0,r.mPipe)((()=>e("tempStyle")),i.read,n.fromString)()??y.tempStyle,hex:(0,r.mPipe)((()=>e("colorHex")),i.read,d.fromString)()??y.hex,opacity:o?l.empty:t.opacity,tempOpacity:(0,r.mPipe)((()=>e("tempColorOpacity")),a.read,l.fromNumber)()??y.tempOpacity,palette:o?u.empty:(0,r.mPipe)((()=>e("colorPalette")),i.read,u.fromString)()??y.palette,tempPalette:o?u.empty:(0,r.mPipe)((()=>e("tempColorPalette")),i.read,u.fromString)()??y.tempPalette,widthType:(0,r.mPipe)((()=>e("widthType")),i.read,s.fromString)()??y.widthType,width:o?c.empty:t.width,tempWidth:(0,r.mPipe)((()=>e("tempWidth")),a.read,c.fromNumber)()??y.tempWidth,topWidth:o?c.empty:t.topWidth,tempTopWidth:(0,r.mPipe)((()=>e("tempTopWidth")),a.read,c.fromNumber)()??y.tempTopWidth,rightWidth:o?c.empty:t.rightWidth,tempRightWidth:(0,r.mPipe)((()=>e("tempRightWidth")),a.read,c.fromNumber)()??y.tempRightWidth,bottomWidth:o?c.empty:t.bottomWidth,tempBottomWidth:(0,r.mPipe)((()=>e("tempBottomWidth")),a.read,c.fromNumber)()??y.tempBottomWidth,leftWidth:o?c.empty:t.leftWidth,tempLeftWidth:(0,r.mPipe)((()=>e("tempLeftWidth")),a.read,c.fromNumber)()??y.tempLeftWidth}},h=e=>({style:e.style,tempStyle:e.tempStyle,colorHex:e.hex,colorOpacity:e.opacity,tempColorOpacity:e.tempOpacity,colorPalette:e.palette,tempColorPalette:e.tempPalette,widthType:e.widthType,width:e.width,tempWidth:e.tempWidth,topWidth:e.topWidth,tempTopWidth:e.tempTopWidth,rightWidth:e.rightWidth,tempRightWidth:e.tempRightWidth,bottomWidth:e.bottomWidth,tempBottomWidth:e.tempBottomWidth,leftWidth:e.leftWidth,tempLeftWidth:e.tempLeftWidth})},98208:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{NONE:function(){return a},SOLID:function(){return l},DASHED:function(){return s},DOTTED:function(){return c},DOUBLE:function(){return d},GROOVE:function(){return u},RIDGE:function(){return p},INSET:function(){return f},OUTSET:function(){return m},styles:function(){return y},is:function(){return g},fromString:function(){return b},read:function(){return h},empty:function(){return v},mRead:function(){return S},append:function(){return w},concat:function(){return x},noEmpty:function(){return M}});const r=o(49863),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(59638));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const a="none",l="solid",s="dashed",c="dotted",d="double",u="groove",p="ridge",f="inset",m="outset",y=["none","solid","dashed","dotted","double","groove","ridge","inset","outset"],g=e=>y.includes(e),b=(0,r.pass)(g),h=(0,r.mPipe)(i.read,b),v="none",S=e=>h(e)??v,w=(e,t)=>e===v?t:e,x=e=>e.reduce(w,v),M=e=>e===v?void 0:e},16925:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{is:function(){return n},fromNumber:function(){return a},empty:function(){return l},append:function(){return s},concat:function(){return c},unsafe:function(){return d}});const r=o(49863);var i;!function(e){e.borderWidth="borderWidth"}(i||(i={}));const n=e=>e>=0,a=(0,r.pass)(n),l=0,s=(e,t)=>e===l?t:e,c=e=>e.reduce(s,l),d=e=>e},7219:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{GROUPED:function(){return i},UNGROUPED:function(){return n},types:function(){return a},is:function(){return l},fromString:function(){return s},read:function(){return c},empty:function(){return d},append:function(){return u},concat:function(){return p},mRead:function(){return f}});const r=o(49863),i="grouped",n="ungrouped",a=[i,n],l=e=>a.includes(e),s=(0,r.pass)(l),c=e=>a.includes(e)?e:void 0,d=i,u=(e,t)=>e===d?t:e,p=e=>e.reduce(u,d),f=e=>c(e)??d},57845:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Border",{enumerable:!0,get:function(){return S}});const r=v(o(27378)),i=o(23884),n=o(10301),a=o(68654),l=(s=o(22546))&&s.__esModule?s:{default:s};var s;const c=o(97724),d=o(74215),u=o(81405),p=v(o(404)),f=v(o(16423)),m=v(o(98208)),y=v(o(16925)),g=v(o(91718)),b=o(75669);function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const S=e=>{let{value:t,onChange:o,className:s,config:h}=e;const v=(0,i.useDispatch)(),S=h?.styles??m.styles,w=S.includes(m.empty),x=(0,r.useMemo)((()=>w?n.identity:e=>Math.max(1,e)),[w]),M=(0,r.useCallback)((e=>o(g.setStyle(e,t))),[o,t]),T=(0,r.useCallback)((e=>{const r=p.fromString(e);void 0!==r&&o(g.setHex(r,t))}),[o,t]),P=(0,r.useCallback)(((e,r)=>{const i=f.fromNumber(e);void 0!==i&&o((0,b._setOpacity)(i,t,r))}),[o,t]),C=(0,r.useCallback)((e=>o(g.setPalette(e,t))),[o,t]),k=(0,r.useCallback)((e=>o(g.setWidthType(e,t))),[o,t]),_=(0,r.useCallback)((e=>{const r=y.fromNumber(x(e));void 0!==r&&o(g.setWidth(r,t))}),[o,t,x]),O=(0,r.useCallback)((e=>{const r=y.fromNumber(x(e));void 0!==r&&o(g.setTopWidth(r,t))}),[o,t,x]),E=(0,r.useCallback)((e=>{const r=y.fromNumber(x(e));void 0!==r&&o(g.setRightWidth(r,t))}),[o,t,x]),z=(0,r.useCallback)((e=>{const r=y.fromNumber(x(e));void 0!==r&&o(g.setBottomWidth(r,t))}),[o,t,x]),B=(0,r.useCallback)((e=>{const r=y.fromNumber(x(e));void 0!==r&&o(g.setLeftWidth(r,t))}),[o,t,x]),j=(0,r.useCallback)((()=>v((0,d.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:c.LeftSidebarOptionsIds.globalStyle}))),[v]),N=(0,r.useMemo)((()=>{const e=l.default.getAll(),{bottomTabsOrder:t=[],topTabsOrder:o=[]}=e.ui?.leftSidebar??{};return[...t,...o].includes(c.LeftSidebarOptionsIds.globalStyle)}),[]);return r.default.createElement(a.Border,{className:s,paletteList:(0,u.getColorPaletteColors)(),paletteOpenSettings:N?j:void 0,enableOpacity:h?.opacity??!0,styles:S.map(b.getStyleObject).filter(Boolean),widthTypes:h?.width??["grouped","ungrouped"],style:t.style,onChangeStyle:M,hex:t.hex,onChangeHex:T,opacity:t.opacity,onChangeOpacity:P,palette:t.palette,onChangePalette:C,widthType:t.widthType,onChangeWidthType:k,width:t.width,onChangeWidth:_,topWidth:t.topWidth,onChangeTopWidth:O,rightWidth:t.rightWidth,onChangeRightWidth:E,bottomWidth:t.bottomWidth,onChangeBottomWidth:z,leftWidth:t.leftWidth,onChangeLeftWidth:B})}},91718:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getStyle:function(){return f},setStyle:function(){return m},setHex:function(){return y},setOpacity:function(){return g},setPalette:function(){return b},getWidthType:function(){return h},setWidthType:function(){return v},getWidth:function(){return S},setWidth:function(){return w},getTopWidth:function(){return x},setTopWidth:function(){return M},getRightWidth:function(){return T},setRightWidth:function(){return P},getBottomWidth:function(){return C},setBottomWidth:function(){return k},getLeftWidth:function(){return _},setLeftWidth:function(){return O},getHex:function(){return a.getHex},getOpacity:function(){return a.getOpacity},getPalette:function(){return a.getPalette}});const r=o(36683),i=p(o(98208)),n=o(6620),a=p(o(14361)),l=o(75669),s=p(o(404)),c=p(o(8046)),d=o(22741);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const f=e=>e.style,m=(0,r.setter2)(f,((e,t)=>(0,r._apply)([[r.set,"tempStyle",(0,d.mApply)(i.noEmpty,t.style)],[r.set,"style",e],[n.toggleColor,e!==i.empty],[l.toggleWidth,e!==i.empty]],t))),y=(e,t)=>{if(void 0===s.fromString(e)||(0,a.getHex)(t)===e)return t;const o=""!==e;return(0,r._apply)([[a.setHex,e],[l.toggleStyle,o],[l.toggleWidth,o]],t)},g=(0,r.setter2)(a.getOpacity,((e,t)=>(0,r._apply)([[a.setOpacity,e],[l.toggleStyle,!0],[l.toggleWidth,!0]],t))),b=(0,r.setter2)(a.getPalette,((e,t)=>{const o=e!==c.empty;return(0,r._apply)([[a.setPalette,e],[l.toggleStyle,o],[l.toggleWidth,o]],t)})),h=e=>e.widthType,v=(0,r.setter2)(h,((e,t)=>(0,r.set)("widthType",e,t))),S=e=>e.width,w=(0,r.setter2)(S,((e,t)=>(0,r._apply)([[r.set,"width",e],[r.set,"tempWidth",e>0?e:void 0],[r.set,"topWidth",e>0?e:void 0],[r.set,"rightWidth",e>0?e:void 0],[r.set,"bottomWidth",e>0?e:void 0],[r.set,"leftWidth",e>0?e:void 0],[l.toggleStyle,e>0],[n.toggleColor,e>0]],t))),x=e=>e.topWidth,M=(e,t)=>(0,l._setWidthEdge)("topWidth",e,t),T=e=>e.rightWidth,P=(e,t)=>(0,l._setWidthEdge)("rightWidth",e,t),C=e=>e.bottomWidth,k=(e,t)=>(0,l._setWidthEdge)("bottomWidth",e,t),_=e=>e.leftWidth,O=(e,t)=>(0,l._setWidthEdge)("leftWidth",e,t)},75669:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{_getWidth:function(){return g},toggleStyle:function(){return b},_setWidthEdge:function(){return h},toggleWidth:function(){return v},getStyleObject:function(){return S},_setOpacity:function(){return w}});const r=o(6085),i=o(36683),n=m(o(16925)),a=m(o(98208)),l=o(91718),s=m(o(6620)),c=o(22741),d=m(o(98208)),u=o(64985),p=o(1753);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const y=e=>[e.topWidth,e.rightWidth,e.bottomWidth,e.leftWidth].every(((e,t,o)=>e===o[0])),g=(e,t)=>t[e],b=(e,t)=>{const o=e?(0,c.mApply)(a.noEmpty,(0,l.getStyle)(t))??a.read(t?.tempStyle):a.empty;return(0,i._apply)([[l.setStyle,o]],t)},h=(e,t,o)=>{if(g(e,o)===t)return o;const a=["topWidth","rightWidth","bottomWidth","leftWidth"].reduce(((e,t)=>{const o=g(t,e)??n.empty;return(0,i.set)((0,r.capByPrefix)("temp",t),o,e)}),o),l=(c=e,(0,r.capByPrefix)("temp",c));var c;const d=(0,i._apply)([[i.set,(0,r.capByPrefix)("temp",e),t],[i.set,e,t],[t=>(0,i.set)(l,y(t)?o[e]:t[e],t)],[e=>t>0&&y(e)?(0,i.set)("width",t,e):e]],a),u=!(0,p.isEmptyWidth)(d);return(0,i._apply)([[b,u],[s.toggleColor,u]],d)},v=(e,t)=>["width","topWidth","rightWidth","bottomWidth","leftWidth"].reduce(((t,o)=>{const a=(0,r.capByPrefix)("temp",o),l=g(o,t),s=g(a,t);return(0,i._apply)([[i.set,a,e||l===n.empty?void 0:l],[i.set,o,e?n.append(l,s):n.empty]],t)}),t),S=e=>{switch(e){case"none":return{id:d.NONE,title:(0,u.t)("None")};case"solid":return{id:d.SOLID,icon:"nc-solid"};case"dashed":return{id:d.DASHED,icon:"nc-dashed"};case"dotted":return{id:d.DOTTED,icon:"nc-dotted"};case"double":return{id:d.DOUBLE,icon:"nc-double"};case"groove":return{id:d.GROOVE,icon:"nc-groove"};case"ridge":return{id:d.RIDGE,icon:"nc-ridge"};case"inset":return{id:d.INSET,icon:"nc-inset"};case"outset":return{id:d.OUTSET,icon:"nc-outset"}}},w=(e,t,o)=>s.setOpacity(l.setOpacity,e,t,o)},95076:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return m},fromElementModel:function(){return y},toElementModel:function(){return g}});const r=f(o(86096)),i=f(o(404)),n=f(o(16423)),a=f(o(8046)),l=f(o(59990)),s=o(49863),c=f(o(59638)),d=f(o(73904)),u=o(55950);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const m={type:r.empty,tempType:r.OUTSET,hex:i.Black,opacity:n.empty,tempOpacity:n.unsafe(1),palette:a.empty,tempPalette:a.empty,blur:l.unsafe(0),tempBlur:l.unsafe(4),spread:0,tempSpread:2,vertical:0,tempVertical:0,horizontal:0,tempHorizontal:0},y=e=>{const t={type:(0,s.mPipe)((()=>e("value")),c.read,u.fromLegacyType)()??r.empty,opacity:(0,s.mPipe)((()=>e("colorOpacity")),d.read,n.fromNumber)()??n.empty,blur:(0,s.mPipe)((()=>e("blur")),d.read,l.fromNumber)()??l.empty,spread:(0,s.mPipe)((()=>e("spread")),d.read)()??0},o=t.type===r.empty||t.opacity===n.empty||t.blur===l.empty&&0===t.spread;return{type:o?m.type:t.type,tempType:(0,s.mPipe)((()=>e("tempValue")),c.read,u.fromLegacyType)()??m.tempType,hex:(0,s.mPipe)((()=>e("colorHex")),c.read,i.fromString)()??m.hex,opacity:o?m.opacity:t.opacity,tempOpacity:(0,s.mPipe)((()=>e("tempColorOpacity")),d.read,n.fromNumber)()??m.tempOpacity,palette:o?m.palette:(0,s.mPipe)((()=>e("colorPalette")),c.read,a.fromString)()??a.empty,tempPalette:(0,s.mPipe)((()=>e("tempColorPalette")),c.read,a.fromString)()??m.tempPalette,blur:o?m.blur:t.blur,tempBlur:(0,s.mPipe)((()=>e("tempBlur")),d.read,l.fromNumber)()??m.tempBlur,spread:o?m.spread:t.spread,tempSpread:(0,s.mPipe)((()=>e("tempSpread")),d.read)()??m.tempSpread,vertical:o?0:d.read(e("vertical"))??m.vertical,tempVertical:d.read(e("tempVertical"))??m.tempVertical,horizontal:o?0:d.read(e("horizontal"))??m.horizontal,tempHorizontal:d.read(e("tempHorizontal"))??m.tempHorizontal}},g=e=>({value:(0,u.toLegacyType)(e.type),tempValue:(0,u.toLegacyType)(e.tempType),colorHex:e.hex,colorPalette:e.palette,tempColorPalette:e.tempPalette,colorOpacity:e.opacity,tempColorOpacity:e.tempOpacity,blur:e.blur,tempBlur:e.tempBlur,spread:e.spread,tempSpread:e.tempSpread,vertical:e.vertical,tempVertical:e.tempVertical,horizontal:e.horizontal,tempHorizontal:e.tempHorizontal})},86096:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{NONE:function(){return o},INSET:function(){return r},OUTSET:function(){return i},types:function(){return n},read:function(){return a},fromString:function(){return l},empty:function(){return s},append:function(){return c},concat:function(){return d},mRead:function(){return u},noEmpty:function(){return p}});const o="none",r="inset",i="outset",n=["none","inset","outset"],a=e=>n.includes(e)?e:void 0,l=e=>n.includes(e)?e:void 0,s="none",c=(e,t)=>e===s?t:e,d=e=>e.reduce(c,s),u=e=>a(e)??s,p=e=>e===s?void 0:e},30734:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BoxShadow",{enumerable:!0,get:function(){return w}});const r=h(o(60042)),i=S(o(27378)),n=o(23884),a=o(12632),l=o(21419),s=h(o(22546)),c=o(97724),d=o(74215),u=o(81405),p=S(o(404)),f=S(o(59990)),m=S(o(16423)),y=o(49863),g=S(o(86096)),b=o(55950);function h(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const w=e=>{let{onChange:t,value:o,className:h,config:v}=e;const S=(0,n.useDispatch)(),w=(0,r.default)("brz-ed-option__boxShadow",h),{type:x,opacity:M}=v??{},T=(0,i.useMemo)((()=>(0,y.pipe)((()=>x),g.read,(e=>e?["none",e]:g.types),b.getTypesItems)()),[x]),P=(0,i.useCallback)(((e,r)=>{switch(r.isChanged){case"opacity":{const i=m.fromNumber(e.opacity);void 0!==i&&t((0,b._setOpacity)(i,o,!!r.isChanged));break}case"type":t((0,l.setType)(e.type,o));break;case"blur":{const r=f.fromNumber(e.blur);r&&t((0,l.setBlur)(r,o));break}case"hex":{const r=p.fromString(e.hex);r&&t((0,l.setHex)(r,o));break}case"spread":t((0,l.setSpread)(e.spread,o));break;case"palette":t((0,l.setPalette)(e.palette,o));break;case"horizontal":t((0,l.setHorizontal)(e.horizontal,o));break;case"vertical":t((0,l.setVertical)(e.vertical,o))}}),[t,o]),C=(0,i.useCallback)((()=>S((0,d.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:c.LeftSidebarOptionsIds.globalStyle}))),[S]),k=(0,i.useMemo)((()=>{const e=s.default.getAll(),{bottomTabsOrder:t=[],topTabsOrder:o=[]}=e.ui?.leftSidebar??{};return[...t,...o].includes(c.LeftSidebarOptionsIds.globalStyle)}),[]);return i.default.createElement(a.BoxShadow,{opacity:M??!0,className:w,value:o,onChange:P,types:T,palette:(0,u.getColorPaletteColors)(),paletteOpenSettings:k?C:void 0})}},21419:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getType:function(){return u},setType:function(){return p},setOpacity:function(){return f},setHex:function(){return m},setPalette:function(){return y},getBlur:function(){return g},setBlur:function(){return h},getSpread:function(){return v},setSpread:function(){return S},getHorizontal:function(){return w},setHorizontal:function(){return x},getVertical:function(){return M},setVertical:function(){return T},getHex:function(){return i.getHex},getOpacity:function(){return i.getOpacity},getPalette:function(){return i.getPalette}});const r=o(36683),i=d(o(14361)),n=o(55950),a=d(o(8046)),l=d(o(86096)),s=o(6085);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const u=e=>e.type,p=(e,t)=>{if(void 0===l.read(e)||u(t)===e)return t;const o=e===l.empty,i=[[r.set,"tempType",o?(0,r.get)("type",t):void 0],[r.set,"type",e],[n.toggleFields,!o],[n.toggleColor,!o]];return(0,r._apply)(i,t)},f=(e,t)=>{if((0,i.getOpacity)(t)===e)return t;const o=e>0;return(0,r._apply)([[i.setOpacity,e],[n.toggleType,o]],t)},m=(e,t)=>{if((0,i.getHex)(t)===e)return t;const o=""!==e;return(0,r._apply)([[i.setHex,e],[n.toggleType,o]],t)},y=(e,t)=>{if((0,i.getPalette)(t)===e)return t;const o=e!==a.empty;return(0,r._apply)([[i.setPalette,e],[n.toggleType,o]],t)},g=e=>e.blur,b=(e,t,o)=>(0,r.set)(`temp${(0,s.capitalize)(e)}`,t||((0,n.fieldsEnabled)(o)?0:o[e]||void 0),o),h=(0,r.setter2)(g,((e,t)=>(0,r._apply)([[r.set,"blur",e],[b,"blur",e],[e=>(0,n.toggleType)((0,n.fieldsEnabled)(e),e)]],t))),v=e=>e.spread,S=(0,r.setter2)(v,((e,t)=>(0,r._apply)([[r.set,"spread",e],[b,"spread",e],[e=>(0,n.toggleType)((0,n.fieldsEnabled)(e),e)]],t))),w=e=>e.horizontal,x=(0,r.setter2)(w,((e,t)=>(0,r._apply)([[r.set,"horizontal",e],[r.set,"tempHorizontal",e]],t))),M=e=>e.vertical,T=(0,r.setter2)(M,((e,t)=>(0,r._apply)([[r.set,"vertical",e],[r.set,"tempVertical",e]],t)))},55950:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{toggleColor:function(){return u},toggleType:function(){return p},toggleFields:function(){return f},fieldsEnabled:function(){return m},getTypeTitle:function(){return y},getTypesItems:function(){return g},fromLegacyType:function(){return b},toLegacyType:function(){return h},_setOpacity:function(){return v}});const r=o(21419),i=d(o(6620)),n=o(36683),a=o(64985),l=d(o(86096)),s=d(o(59990));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const u=(e,t)=>{const o=e?(0,r.getOpacity)(t)||(0,n.get)("tempOpacity",t):0,i=e?(0,r.getPalette)(t)||(0,n.get)("tempPalette",t):"";return(0,n._apply)([[r.setOpacity,o],[r.setPalette,i]],t)},p=(e,t)=>{const o=e?l.noEmpty((0,r.getType)(t))??t.tempType:l.NONE;return(0,r.setType)(o,t)},f=(e,t)=>{const o=s.append(t.blur,t.tempBlur),i=t.spread||t.tempSpread,n=(0,r.getHorizontal)(t)||t.tempHorizontal,a=(0,r.getVertical)(t)||t.tempVertical;return{...t,blur:e?o:s.empty,tempBlur:o,spread:e?i:0,tempSpread:i,vertical:e?a:0,tempVertical:a,horizontal:e?n:0,tempHorizontal:n}},m=e=>!(!(0,r.getBlur)(e)&&!(0,r.getSpread)(e)),y=e=>{switch(e){case"none":return(0,a.t)("None");case"inset":return(0,a.t)("Inset");case"outset":return(0,a.t)("Outset")}},g=e=>e.map((e=>({id:e,title:y(e)}))),b=e=>"on"===e?l.OUTSET:""===e?l.NONE:l.fromString(e),h=e=>{switch(e){case l.NONE:return"";case l.OUTSET:return"on";default:return e}},v=(e,t,o)=>i.setOpacity(r.setOpacity,e,t,o)},17583:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return o},toElementModel:function(){return r},defaultValue:function(){return i}});const o=()=>{},r=()=>({}),i=void 0},14247:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return a}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(44010),a=e=>{let{label:t,onClick:o,config:i}=e;return r.default.createElement(r.default.Fragment,null,t,r.default.createElement(n.Button,{onClick:o,icon:i?.icon,reverse:i?.reverse},i?.text))}},26768:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return i},fromElementModel:function(){return n},toElementModel:function(){return a}});const r=o(59638),i={value:""},n=e=>({value:r.String.read(e("value"))}),a=e=>({value:e.value})},16298:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CodeMirror",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(33689),n=o(32625);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{let{className:t,onChange:o,value:{value:a},config:l,placeholder:s,label:c}=e;const[d,u]=(0,r.useState)(a),p=(0,r.useRef)();return(0,n.useDebouncedEffect)((()=>{a!==d&&(o({value:d}),p.current=d)}),1e3,[d]),(0,r.useEffect)((()=>{a!==p.current&&u(a)}),[a]),r.default.createElement(r.default.Fragment,null,c,r.default.createElement(i.CodeMirror,{className:t,onChange:u,value:d,language:l?.language??"css",placeholder:s,size:l?.size??"medium"}))}},15677:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return f},fromElementModel:function(){return m},toElementModel:function(){return y}});const r=o(49863),i=p(o(59638)),n=p(o(8046)),a=o(6620),l=p(o(404)),s=p(o(73904)),c=p(o(16423)),d=o(81405);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const f={hex:l.Black,opacity:c.unsafe(1),tempOpacity:c.unsafe(1),palette:"",tempPalette:""},m=e=>{const t=(0,r.mPipe)((()=>e("palette")),i.read,n.fromString)()??f.palette;return{hex:(0,a.paletteHex)(t,(0,d.getColorPaletteColors)())??(0,r.mPipe)(e,i.read,l.fromString)("hex")??f.hex,opacity:(0,r.mPipe)((()=>e("opacity")),s.read,c.fromNumber)()??f.opacity,palette:t,tempOpacity:(0,r.mPipe)((()=>e("tempOpacity")),s.read,c.fromNumber)()??f.tempOpacity,tempPalette:(0,r.mPipe)(e,i.read,n.fromString)("tempPalette")??f.palette}},y=e=>({hex:e.hex,opacity:e.opacity,palette:e.palette,tempOpacity:e.tempOpacity,tempPalette:e.tempPalette})},8046:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{palettes:function(){return n},empty:function(){return a},fromString:function(){return l},append:function(){return s},concat:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(86683));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const n=["",...r.palettes],a="",l=e=>e===a?"":r.fromString(e),s=(e,t)=>e===a?t:e,c=e=>e.reduce(s,a)},56041:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ColorPicker",{enumerable:!0,get:function(){return w}});const r=b(o(60042)),i=v(o(27378)),n=o(23884),a=o(4782),l=o(15011),s=b(o(22546)),c=o(97724),d=o(74215),u=o(81405),p=v(o(404)),f=v(o(16423)),m=o(49863),y=v(o(8046)),g=o(14361);function b(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const S=v(o(6620)).setOpacity.bind(null,g.setOpacity),w=e=>{let{className:t,attr:o,onChange:b,value:h,config:v}=e;const w=(0,n.useDispatch)(),x=(0,r.default)("brz-ed-option__colorPicker",t,o?.className),M=(0,i.useCallback)((()=>w((0,d.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:c.LeftSidebarOptionsIds.globalStyle}))),[w]),T=(0,i.useCallback)(((e,t)=>{switch(t.isChanged){case"palette":(0,m.mPipe)((()=>e.palette),y.fromString,(e=>(0,g.setPalette)(e,h)),b)();break;case"hex":(0,m.mPipe)((()=>e.hex),p.fromString,(e=>(0,g.setHex)(e,h)),b)();break;case"opacity":(0,m.mPipe)((()=>e.opacity),f.fromNumber,(e=>S(e,h,!!t.opacityDragEnd)),b)()}}),[h,b]),P=(0,i.useCallback)((e=>b((0,g.setHex)(e,h))),[h,b]),C=(0,i.useMemo)((()=>{const e=s.default.getAll(),{bottomTabsOrder:t=[],topTabsOrder:o=[]}=e.ui?.leftSidebar??{};return[...t,...o].includes(c.LeftSidebarOptionsIds.globalStyle)}),[]);return i.default.createElement("div",{...o,className:x},i.default.createElement(a.ColorPicker3,{value:h,opacity:v?.opacity??!0,onChange:T,palette:(0,u.getColorPaletteColors)(),paletteOpenSettings:C?M:void 0}),i.default.createElement(l.ColorPickerInputs,{value:h.hex,onChange:P}))}},14361:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getOpacity:function(){return a},setOpacity:function(){return l},getHex:function(){return s},setHex:function(){return c},getPalette:function(){return d},setPalette:function(){return u}});const r=o(36683),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(8046));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const a=e=>e.opacity,l=(0,r.setter2)(a,((e,t)=>{const o=i.append(t.palette,t.tempPalette);return(0,r._apply)([[r.set,"tempOpacity",0===e?a(t):void 0],[r.set,"opacity",e],[r.set,"palette",e?o:""],[r.set,"tempPalette",e?void 0:o]],t)})),s=e=>e.hex,c=(0,r.setter2)(s,((e,t)=>(0,r._apply)([[r.set,"hex",e],[r.set,"opacity",e?t.opacity||t.tempOpacity||1:0],[r.set,"tempOpacity",e?void 0:t.opacity],[r.set,"palette",e?"":void 0],[r.set,"tempPalette",e?"":void 0]],t))),d=e=>e.palette,u=(0,r.setter2)(d,((e,t)=>{const o=d(t)||t.tempPalette,i=a(t)||t.tempOpacity;return(0,r._apply)([[r.set,"tempPalette",e?void 0:o],[r.set,"palette",e],[r.set,"opacity",e?a(t)||i:void 0]],t)}))},6620:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setOpacity:function(){return a},toggleColor:function(){return l},paletteHex:function(){return s}});const r=o(36683),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(14361));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const a=(e,t,o,r)=>({...e(t,o),tempOpacity:0!==t&&r?o.opacity:o.tempOpacity}),l=(e,t)=>{const o=e?i.getOpacity(t)||(0,r.get)("tempOpacity",t):0,n=e?i.getPalette(t)||(0,r.get)("tempPalette",t):"";return(0,r._apply)([[i.setOpacity,o],[i.setPalette,n]],t)},s=(e,t)=>t.find((t=>t.id===e))?.hex},41509:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return m},toElementModel:function(){return y},defaultValue:function(){return g}});const r=o(47885),i=o(52662),n=f(o(94568)),a=f(o(20059)),l=o(49863),s=f(o(90361)),c=f(o(73904)),d=f(o(59638)),u=o(22741);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const m=(0,r.parseStrict)({type:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("radiusType"),d.read,a.fromString),(0,u.onNullish)("grouped")),value:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("radius"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),unit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("radiusSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),topLeft:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("topLeftRadius"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempTopLeft:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempTopLeft"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),topLeftUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("topLeftRadiusSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),tempTopLeftUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempTopLeftRadiusSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),topRight:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("topRightRadius"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempTopRight:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempTopRightRadius"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),topRightUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("topRightRadiusSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),tempTopRightUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempTopRightRadiusSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),bottomRight:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("bottomRightRadius"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempBottomRight:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempBottomRight"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),bottomRightUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("bottomRightRadiusSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),tempBottomRightUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempBottomRightRadiusSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),bottomLeft:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("bottomLeftRadius"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempBottomLeft:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempBottomLeftRadius"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),bottomLeftUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("bottomLeftRadiusSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),tempBottomLeftUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempBottomLeftRadiusSuffix"),d.read,n.fromString),(0,u.onNullish)("px"))}),y=e=>({radiusType:e.type,radius:e.value,radiusSuffix:e.unit,topLeftRadius:e.topLeft,tempTopLeftRadius:e.tempTopLeft,topLeftRadiusSuffix:e.topLeftUnit,tempTopLeftRadiusSuffix:e.tempTopLeftUnit,topRightRadius:e.topRight,tempTopRightRadius:e.tempTopRight,topRightRadiusSuffix:e.topRightUnit,tempTopRightRadiusSuffix:e.tempTopRightUnit,bottomRightRadius:e.bottomRight,tempBottomRightRadius:e.tempBottomRight,bottomRightRadiusSuffix:e.bottomRightUnit,tempBottomRightRadiusSuffix:e.tempBottomRightUnit,bottomLeftRadius:e.bottomLeft,tempBottomLeftRadius:e.tempBottomLeft,bottomLeftRadiusSuffix:e.bottomLeftUnit,tempBottomLeftRadiusSuffix:e.tempBottomLeftUnit}),g={type:"grouped",value:s.Zero,unit:"px",topLeft:s.Zero,tempTopLeft:s.Zero,topLeftUnit:"px",tempTopLeftUnit:"px",topRight:s.Zero,tempTopRight:s.Zero,topRightUnit:"px",tempTopRightUnit:"px",bottomRight:s.Zero,tempBottomRight:s.Zero,bottomRightUnit:"px",tempBottomRightUnit:"px",bottomLeft:s.Zero,tempBottomLeft:s.Zero,bottomLeftUnit:"px",tempBottomLeftUnit:"px"}},99307:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Corners",{enumerable:!0,get:function(){return u}});const r=d(o(27378)),i=d(o(9523)),n=o(73240),a=o(49863),l=o(6086),s=d(o(90361));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const u=e=>{let{value:t,onChange:o,label:c,config:d}=e;const u=(0,r.useCallback)((0,a.pipe)((e=>i.setType(e,t)),o),[t,o]),{value:p,unit:f,topLeft:m,topLeftUnit:y,topRight:g,topRightUnit:b,bottomRight:h,bottomRightUnit:v,bottomLeft:S,bottomLeftUnit:w}=t,x=(0,r.useMemo)((()=>({all:{number:p,unit:f},top:{number:m,unit:y},right:{number:g,unit:b},bottom:{number:h,unit:v},left:{number:S,unit:w}})),[t,m,g,h,S,f,y,b,v,w]),M=(0,r.useCallback)((0,a.mPipe)(((e,o)=>(0,a.mPipe)(s.fromNumber,(o=>(0,n.valueSetter)(e)(o,t)))(o)),o),[o,t]),T=(0,r.useCallback)((0,a.pipe)(((e,o)=>(0,n.unitSetter)(e)(o,t)),o),[o,t]),P=(0,r.useMemo)((()=>(d?.units??["px","%"]).map((e=>({value:e,title:(0,n.unitTitle)(e)})))),[d?.units]);return r.default.createElement(l.Spacing,{label:c,type:t.type,value:x,units:P,onType:u,onValue:M,onUnit:T,getIcon:n.getIcon,step:1,min:0,max:100})}},94568:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{is:function(){return i},fromString:function(){return n}});const r=o(49863),i=e=>"px"===e||"%"===e,n=(0,r.pass)(i)},9523:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromUngrouped:function(){return o},fromGrouped:function(){return r},getType:function(){return i},setType:function(){return n},getValue:function(){return a},setValue:function(){return l},getUnit:function(){return s},setUnit:function(){return c},getTopLeft:function(){return d},setTopLeft:function(){return u},getTopLeftUnit:function(){return p},setTopLeftUnit:function(){return f},getTopRight:function(){return m},setTopRight:function(){return y},getTopRightUnit:function(){return g},setTopRightUnit:function(){return b},getBottomRight:function(){return h},setBottomRight:function(){return v},getBottomRightUnit:function(){return S},setBottomRightUnit:function(){return w},getBottomLeft:function(){return x},setBottomLeft:function(){return M},getBottomLeftUnit:function(){return T},setBottomLeftUnit:function(){return P}});const o=e=>({...e,type:"grouped"}),r=e=>({...e,type:"ungrouped"}),i=e=>e.type;function n(e,t){switch(e){case"ungrouped":return"grouped"===t.type?r(t):t;case"grouped":return"ungrouped"===t.type?o(t):t}}const a=e=>e.value,l=(e,t)=>({...t,value:e,topLeft:e,topRight:e,bottomRight:e,bottomLeft:e,tempTopLeft:e,tempTopRight:e,tempBottomRight:e,tempBottomLeft:e,tempTopLeftUnit:t.unit,tempTopRightUnit:t.unit,tempBottomRightUnit:t.unit,tempBottomLeftUnit:t.unit}),s=e=>e.unit,c=(e,t)=>({...t,unit:e,topLeftUnit:e,topRightUnit:e,bottomRightUnit:e,bottomLeftUnit:e,tempTopLeft:t.value,tempTopRight:t.value,tempBottomRight:t.value,tempBottomLeft:t.value,tempTopLeftUnit:e,tempTopRightUnit:e,tempBottomRightUnit:e,tempBottomLeftUnit:e}),d=e=>e.topLeft,u=(e,t)=>({...t,topLeft:e,tempTopLeft:e}),p=e=>e.topLeftUnit,f=(e,t)=>({...t,topLeftUnit:e,tempTopLeftUnit:e}),m=e=>e.topRight,y=(e,t)=>({...t,topRight:e,tempTopRight:e}),g=e=>e.topRightUnit,b=(e,t)=>({...t,topRightUnit:e,tempTopRightUnit:e}),h=e=>e.bottomRight,v=(e,t)=>({...t,bottomRight:e,tempBottomRight:e}),S=e=>e.bottomRightUnit,w=(e,t)=>({...t,bottomRightUnit:e,tempBottomRightUnit:e}),x=e=>e.bottomLeft,M=(e,t)=>({...t,bottomLeft:e,tempBottomLeft:e}),T=e=>e.bottomLeftUnit,P=(e,t)=>({...t,bottomLeftUnit:e,tempBottomLeftUnit:e})},73240:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromNumberSlider:function(){return i},getIcon:function(){return n},valueSetter:function(){return a},unitSetter:function(){return l},unitTitle:function(){return s}});const r=o(9523),i=(0,o(77725).readWithParser)({number:e=>e.number,unit:e=>e.unit}),n=e=>{switch(e){case"grouped":return"nc-corners-all";case"ungrouped":return"nc-corners-individual";case"top":return"nc-corners-top-left";case"right":return"nc-corners-top-right";case"bottom":return"nc-corners-bottom-right";case"left":return"nc-corners-bottom-left"}},a=e=>{switch(e){case"all":return r.setValue;case"top":return r.setTopLeft;case"right":return r.setTopRight;case"bottom":return r.setBottomRight;case"left":return r.setBottomLeft}},l=e=>{switch(e){case"all":return r.setUnit;case"top":return r.setTopLeftUnit;case"right":return r.setTopRightUnit;case"bottom":return r.setBottomRightUnit;case"left":return r.setBottomLeftUnit}},s=e=>{switch(e){case"%":case"px":return e}}},51433:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Uploader",{enumerable:!0,get:function(){return y}});const r=f(o(27378)),i=u(o(33364)),n=o(62948),a=u(o(22546)),l=o(64985),s=f(o(2181)),c=f(o(78417)),d=o(10113);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const m=e=>e?{type:"WithFile",file:e}:{type:"Empty"};function y(e){let{value:t,extensions:o,onChange:u}=e;const[p,f]=(0,r.useReducer)(((e,t)=>{switch(t.type){case"Upload":return"Empty"===e.type||"Err"===e.type?c.loading():e;case"Err":return"Loading"===e.type?c.err(t.payload):e;case"Success":return"Loading"===e.type?c.withFile({id:t.payload.id,name:t.payload.name}):e;case"Remove":return"WithFile"===e.type?c.empty():e;case"Reset":return t.payload?c.withFile(t.payload):c.empty()}}),t,m),y=(0,r.useCallback)((()=>{f(s.upload())}),[]),g=(0,r.useCallback)((()=>f(s.remove())),[]);switch((0,r.useEffect)((()=>{if("Loading"===p.type){const{api:e={}}=a.default.getAll(),{customFile:t={}}=e;if(!t.addFile)return void n.ToastNotification.error((0,l.t)("Config : Missing addFile callback"));const r=e=>{let{uid:t,filename:o}=e;const r={id:t,name:o};f(s.success(r))},i=e=>{f(s.err(e))};t.addFile.handler(r,i,{acceptedExtensions:o})}}),["Loading"===p.type]),(0,r.useEffect)((()=>{"WithFile"===p.type&&u(p.file)}),["WithFile"===p.type]),(0,r.useEffect)((()=>{"Empty"===p.type&&u(void 0)}),["Empty"===p.type]),(0,r.useEffect)((()=>{"Err"===p.type&&n.ToastNotification.warn(p.message,5)}),["Err"===p.type]),(0,r.useEffect)((()=>{"Empty"===p.type&&u(void 0)}),[p.type,u]),(0,r.useEffect)((()=>{switch(p.type){case"WithFile":!(0,d.eq)(t,p.file)&&f(s.reset(t));break;case"Empty":case"Err":t&&f(s.reset(t));break;case"Loading":f(s.reset(t))}}),[t]),p.type){case"Empty":case"Err":return r.default.createElement("div",{className:"brz-ed-control__file-upload__wrapper",onClick:y},r.default.createElement(i.default,{icon:"nc-add"}));case"Loading":return r.default.createElement("div",{className:"brz-ed-control__file-upload__wrapper"},r.default.createElement(i.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}));case"WithFile":return r.default.createElement("div",{className:"brz-ed-control__file-upload__file-name"},r.default.createElement("span",{className:"brz-ed-control__file-upload__file-name--title",title:p.file.name},p.file.name),r.default.createElement("span",{className:"brz-ed-control__file-upload__file-name--remove"},r.default.createElement(i.default,{icon:"nc-remove",onClick:g})))}}},94273:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return l},fromElementModel:function(){return s},toElementModel:function(){return c}});const r=o(47885),i=o(52662),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(59638));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=void 0,s=(0,r.parse)({id:(0,r.mPipe)((0,i.callGetter)("value"),n.read,(e=>e.split("|||")[0])),name:(0,r.mPipe)((0,i.callGetter)("value"),n.read,(e=>e.split("|||")[1]))}),c=e=>e?{value:`${e.id}|||${e.name}`}:{value:""}},53440:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FileUpload",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(51433);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const a=e=>{let{config:t,label:o,value:n,onChange:a}=e;const l=(0,r.useMemo)((()=>t?.allowedExtensions??[]),[t?.allowedExtensions]);return r.default.createElement(r.default.Fragment,null,o,r.default.createElement(i.Uploader,{extensions:l,value:n,onChange:a}))}},2181:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{upload:function(){return o},err:function(){return r},success:function(){return i},remove:function(){return n},reset:function(){return a}});const o=()=>({type:"Upload"}),r=e=>({type:"Err",payload:e}),i=e=>({type:"Success",payload:e}),n=()=>({type:"Remove"}),a=e=>({type:"Reset",payload:e})},78417:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{empty:function(){return o},withFile:function(){return r},loading:function(){return i},err:function(){return n}});const o=()=>({type:"Empty"}),r=e=>({type:"WithFile",file:e}),i=()=>({type:"Loading"}),n=e=>({type:"Err",message:e})},10113:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isWithValue:function(){return i},isNoValue:function(){return n},eq:function(){return a}});const r=o(47885),i=e=>!!e,n=e=>!e,a=(0,r.or)((0,r.match2)([i,i,(e,t)=>e.id===t.id&&e.name===t.name],[n,n,()=>!0]),(()=>!1))},92804:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FilterSlider",{enumerable:!0,get:function(){return s}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(10402),a=o(97230),l=[{value:"%",title:"%"}],s=e=>{let{icon:t,value:o,onChange:i,className:s,title:c}=e;return r.default.createElement(n.Slider,{className:s,icon:t,value:o,unit:"%",onValue:i,onUnit:a.empty,units:l,step:1,min:0,max:200,title:c})}},35881:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return d},fromElementModel:function(){return u},toElementModel:function(){return p}});const r=o(52662),i=o(47885),n=c(o(73904)),a=o(49863),l=c(o(90361));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const d={hue:0,saturation:0,contrast:0,brightness:0},u=(0,i.parseStrict)({hue:(0,i.or)((0,i.mPipe)((0,r.callGetter)("hue"),n.read),(0,a.always)(0)),brightness:(0,i.or)((0,i.mPipe)((0,r.callGetter)("brightness"),n.read,l.fromNumber),(0,a.always)(0)),contrast:(0,i.or)((0,i.mPipe)((0,r.callGetter)("contrast"),n.read,l.fromNumber),(0,a.always)(0)),saturation:(0,i.or)((0,i.mPipe)((0,r.callGetter)("saturation"),n.read,l.fromNumber),(0,a.always)(0))}),p=e=>({...e})},70711:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Filters",{enumerable:!0,get:function(){return d}});const r=o(47885),i=(n=o(27378))&&n.__esModule?n:{default:n};var n;const a=o(10402),l=o(90361),s=o(92804),c=o(97230),d=e=>{let{value:t,onChange:o}=e;return i.default.createElement("div",{className:"brz-ed-control__filters"},i.default.createElement(a.Slider,{className:"brz-ed-control__filters__hue",icon:"nc-hue",value:t.hue,unit:"deg",onValue:(0,r.mPipe)((0,c.set)("hue",t),o),onUnit:c.empty,units:[{value:"deg",title:"deg"}],step:1,min:0,max:360,title:"Hue"}),i.default.createElement(s.FilterSlider,{className:"brz-ed-control__filters__saturation",icon:"nc-saturation",value:t.saturation,onChange:(0,r.mPipe)(l.fromNumber,(0,c.set)("saturation",t),o),title:"Saturation"}),i.default.createElement(s.FilterSlider,{className:"brz-ed-control__filters__brightness",icon:"nc-brightness",value:t.brightness,onChange:(0,r.mPipe)(l.fromNumber,(0,c.set)("brightness",t),o),title:"Brightness"}),i.default.createElement(s.FilterSlider,{className:"brz-ed-control__filters__contrast",icon:"nc-contrast",value:t.contrast,onChange:(0,r.mPipe)(l.fromNumber,(0,c.set)("contrast",t),o),title:"Contrast"}))}},97230:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{empty:function(){return o},set:function(){return r}});const o=()=>{},r=(e,t)=>o=>({...t,[e]:o})},54604:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return i}});const o=void 0,r=()=>{},i=()=>({})},46853:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FormApps",{enumerable:!0,get:function(){return d}});const r=c(o(60042)),i=c(o(27378)),n=o(44010),a=o(62948),l=c(o(92823)),s=o(64985);function c(e){return e&&e.__esModule?e:{default:e}}const d=e=>{let{className:t,config:o}=e;const{id:c,fields:d,icon:u}=o||{},p=(0,r.default)("brz-ed-tooltip__content",t);return i.default.createElement(n.Button,{className:p,icon:u??"nc-cog",reverseTheme:!0,onClick:e=>{if(e.preventDefault(),!c||!d)return a.ToastNotification.error((0,s.t)("Something went wrong"));const t={prompt:"form",mode:"single",props:{formId:c,formFields:d}};l.default.open(t)}})}},48880:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return d},fromElementModel:function(){return u},toElementModel:function(){return p}});const r=o(52662),i=o(49863),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(13992)),a=o(48630),l=o(22741),s=o(96343);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=[],u=(0,i.pipe)((0,i.mPipe)((0,r.callGetter)("value"),n.read,(0,i.pass)(Array.isArray),(e=>e.filter(a.isObject).map(s.fromRecord).filter(l.isT))),(0,l.onNullish)([])),p=e=>({value:JSON.stringify(e)})},52292:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Gallery",{enumerable:!0,get:function(){return S}});const r=v(o(27378)),i=o(34143),n=o(11717),a=o(62521),l=o(62948),s=(c=o(22546))&&c.__esModule?c:{default:c};var c;const d=v(o(44576)),u=o(49863),p=o(64985),f=o(56914),m=v(o(13308)),y=v(o(96343)),g=v(o(52199)),b=o(28690);function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}function S(e){let{label:t,value:o,onChange:c,config:h}=e;const[v,S]=(0,r.useReducer)(f.reducer,o.map(((e,t)=>{const o=+t+1;return g.thumbnail(o,e)}))),w=(0,r.useRef)(new i.BehaviorSubject(v)),x=(0,r.useRef)(new i.BehaviorSubject(o)),M=(0,r.useRef)({fn:c});M.current.fn=c;const T=(0,r.useCallback)((e=>S(m.remove(e))),[]),P=(0,r.useCallback)((0,u.pipe)(((e,t)=>m.sort({from:e,to:t})),S),[]),C=(0,r.useCallback)((()=>{const e=s.default.getAll(),{media:t}=e.api??{};if(t?.addMediaGallery){const e=e=>{(0,u.pipe)(m.add,S)(e.map(b.toUploadData))},o=e=>{l.ToastNotification.error(e)};t.addMediaGallery.handler(e,o,{acceptedExtensions:b.allowedExtensions})}else l.ToastNotification.error((0,p.t)("Missing addMediaGallery key in config.api")),(0,u.pipe)(m.add,S)([])}),[]);(0,r.useEffect)((()=>x.current.next(o)),[o]),(0,r.useEffect)((()=>w.current.next(v)),[v]),(0,r.useEffect)((()=>{const e=w.current.pipe((0,n.map)((e=>e.filter(g.isLoading))),(0,n.mergeMap)((e=>(0,i.from)(e))),(0,n.distinct)((e=>e.id)),(0,n.mergeMap)((e=>{let{id:t,payload:o}=e;return(0,i.from)(o).pipe((0,n.map)((e=>m.fetchSuccess({id:t,data:e}))),(0,n.catchError)((()=>(0,i.of)(m.fetchError({id:t,message:"Unable to load image"})))))}))).subscribe(S),t=w.current.pipe((0,n.map)((e=>e.filter(g.isThumbnail).map((e=>e.payload)))),(0,n.withLatestFrom)(x.current),(0,n.filter)((e=>{let[t,o]=e;return!d.eq(y.eq,t,o)})),(0,n.map)((e=>{let[t]=e;return t}))).subscribe(M.current.fn);return()=>{t.unsubscribe(),e.unsubscribe()}}),[]);const k=(h?.canDeleteLast??1)||v.length>1?T:void 0;return r.default.createElement(r.default.Fragment,null,t,r.default.createElement(a.Gallery,{onSort:P,onAdd:C,items:v.map(g.toGalleryItem),onRemove:k}))}},56914:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reducer",{enumerable:!0,get:function(){return c}});const r=o(70634),i=s(o(44576)),n=s(o(52199)),a=o(28690);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}function c(e,t){switch(t.type){case"Add":{const o=(0,a.maxId)(e);return[...e,...t.payload.map(((e,t)=>n.loading(t+o+1,e)))]}case"Remove":return e.filter((e=>e.id!==t.payload));case"Sort":return i.move(t.payload.from,t.payload.to,e);case"FetchError":{const o=i.findIndex((e=>e.id===t.payload.id&&"loading"===e.__type),e);return void 0===o?e:(0,r.replaceAt)(e,o,n.error(t.payload.id,t.payload.message))}case"FetchSuccess":{const o=i.findIndex((e=>e.id===t.payload.id&&"loading"===e.__type),e);return void 0===o?e:(0,r.replaceAt)(e,o,n.thumbnail(t.payload.id,t.payload.data))}}}},13308:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{add:function(){return o},remove:function(){return r},sort:function(){return i},fetchSuccess:function(){return n},fetchError:function(){return a}});const o=e=>({type:"Add",payload:e}),r=e=>({type:"Remove",payload:e}),i=e=>({type:"Sort",payload:e}),n=e=>({type:"FetchSuccess",payload:e}),a=e=>({type:"FetchError",payload:e})},96343:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromRecord:function(){return d},eq:function(){return u}});const r=o(49863),i=c(o(73904)),n=o(55250),a=o(77725),l=c(o(59638));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const d=(0,a.readWithParser)({uid:(0,r.mPipe)((0,n.prop)("uid"),l.read),fileName:(0,r.mPipe)((0,n.prop)("fileName"),l.read),width:(0,r.mPipe)((0,n.prop)("width"),i.read),height:(0,r.mPipe)((0,n.prop)("height"),i.read)}),u=(e,t)=>e.uid===t.uid&&e.width==e.width&&e.height==e.height},52199:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isThumbnail:function(){return l},thumbnail:function(){return s},isLoading:function(){return c},loading:function(){return d},isError:function(){return u},error:function(){return p},toGalleryItem:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(30288)),i=o(19057),n=o(68914);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>"thumbnail"===e.__type,s=(e,t)=>({id:e,payload:t,__type:"thumbnail"}),c=e=>"loading"===e.__type,d=(e,t)=>({id:e,payload:t,__type:"loading"}),u=e=>"error"===e.__type,p=(e,t)=>({id:e,payload:t,__type:"error"}),f=e=>{switch(e.__type){case"thumbnail":{const t=(0,n.getImageUrl)({uid:e.payload.uid,fileName:e.payload.fileName,sizeType:i.SizeType.custom,crop:{iW:100,iH:100}})??"";return r.thumbnail(e.id,t)}case"loading":return r.loading(e.id);case"error":return r.error(e.id,e.payload)}}},28690:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{allowedExtensions:function(){return n},maxId:function(){return a},toUploadData:function(){return l}});const r=o(19057),i=o(68914),n=["jpeg","jpg","png","gif","svg"],a=e=>e.reduce(((e,t)=>t.id>e?t.id:e),0),l=e=>new Promise(((t,o)=>{const{uid:n,fileName:a}=e,l=(0,i.getImageUrl)({uid:n,fileName:a,sizeType:r.SizeType.custom});(0,i.preloadImage)(l).then((e=>{let{width:o,height:r}=e;t({uid:n,fileName:a,width:o,height:r})})).catch(o)}))},9277:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return y},fromElementModel:function(){return g},toElementModel:function(){return b}});const r=o(47885),i=o(52662),n=o(49863),a=f(o(73904)),l=o(55250),s=o(48630),c=f(o(59638)),d=o(22741),u=o(63102);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const m=(0,r.parse)({id:(0,n.mPipe)((0,l.prop)("_id"),c.read),uid:(0,n.mPipe)((0,l.prop)("imageSrc"),c.read),fileName:(0,n.mPipe)((0,l.prop)("imageFileName"),c.read),width:(0,n.mPipe)((0,l.prop)("imageWidth"),a.read),height:(0,n.mPipe)((0,l.prop)("imageHeight"),a.read)}),y=[],g=(0,n.pipe)((0,n.mPipe)((0,i.callGetter)("value"),(0,n.pass)(Array.isArray),(e=>e.filter(s.isObject).filter(u.isNotClonedFromGallery).map((e=>e.value)).filter(s.isObject).map(m).filter(d.isT))),(0,d.onNullish)([])),b=e=>({option:e})},59877:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GalleryForGallery",{enumerable:!0,get:function(){return r}});const r=o(52292).Gallery},63102:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNotClonedFromGallery",{enumerable:!0,get:function(){return i}});const r=o(48630),i=e=>(0,r.isObject)(e.value)&&!e.value.clonedFromGallery},17045:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PortalLoading",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(31542)),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}class l{static opened=new Set;static render(e){const t=e||document.body,o=t&&t.ownerDocument;if(t&&o){const e=r.default.createElement(n.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}),a=o.createElement("div");return a.className="brz-ed-portal__loading",t.append(a),l.opened.add(a),i.default.render(e,a),a}}static close(e){e&&(e.remove(),l.opened.delete(e))}static closeAll(){l.opened.forEach((e=>{e.remove()})),l.opened.clear()}}},67042:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return i}});const o=void 0,r=()=>{},i=()=>({})},95867:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GlobalBlockOption",{enumerable:!0,get:function(){return v}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),n=o(1014),a=o(62948),l=o(74215),s=o(97045),c=o(64187),d=o(25663),u=o(64985),p=o(16526),f=o(6804),m=o(17045),y=o(82845),g=o(21959);function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}const h=e=>({extraFontStyles:(0,s.extraFontStylesSelector)(e),pageBlocks:(0,s.pageBlocksNoRefsSelector)(e),globalBlocks:(0,s.globalBlocksAssembled2Selector)(e),blocksData:(0,s.blocksDataSelector)(e),page:(0,s.pageSelector)(e)}),v=e=>{let{className:t,label:o,config:s}=e;const{extraFontStyles:b,pageBlocks:v,globalBlocks:S,blocksData:w,page:x}=(0,i.useSelector)(h,i.shallowEqual),M=(0,i.useDispatch)(),T=(0,r.useRef)((0,f.uuid)(4)),{_id:P,parentId:C,blockType:k="normal"}=s||{},_=(0,r.useCallback)((()=>!!P&&Object.keys(S).includes(P)),[P]);return r.default.createElement(r.default.Fragment,null,o,r.default.createElement(n.Switch,{key:T.current,className:t,value:_(),onChange:async e=>{if(!P)return a.ToastNotification.error((0,u.t)("Something went wrong"));const t=document.querySelector(`[id='${P}']`),o=m.PortalLoading.render(t),r=(0,p.getBlockData)(v,P);if(e){if(t&&r){const e=await(0,g.createScreenshot)(t),i={extraFontStyles:b,type:(0,g.getBlockType)(k)};e&&(i._thumbnailSrc=e._thumbnailSrc,i._thumbnailWidth=e._thumbnailWidth,i._thumbnailHeight=e._thumbnailHeight,i._thumbnailTime=e._thumbnailTime),Object.prototype.hasOwnProperty.call(r,"deleted")&&(r.deleted=!1);let n={meta:i,status:"draft",data:r,rules:[],position:{align:"bottom",top:0,bottom:0}};!(0,d.isPopup)(r)&&x&&(n=(0,d.changeRule)(n,!0,x)),await(0,c.createGlobalBlock)(n).then((e=>{if(!e||!e.data)throw e;switch(m.PortalLoading.close(o),k){case"popup":case"externalPopup":{const e="popup"===k&&(0,y.getOpenedPopupId)();M((0,l.makePopupToGlobalBlock)(n)),e&&(0,y.openPopupById)(e),"externalPopup"===k&&(0,g.openPromptCondition)({type:"popup",_id:P});break}case"normal":M((0,l.makeNormalToGlobalBlock)(n)),(0,g.openPromptCondition)({type:"block",_id:P})}})).catch((e=>{switch(m.PortalLoading.close(o),T.current=(0,f.uuid)(4),k){case"popup":case"externalPopup":a.ToastNotification.error((0,u.t)("Could not Create Global Popup"));break;case"normal":a.ToastNotification.error((0,u.t)("Could not Create Global Block"))}}))}}else if(await(0,c.pendingRequest)(),_()){const e=(0,p.setIds)(w[P]);m.PortalLoading.close(o);const t={block:e,fromBlockId:P};switch(k){case"popup":{const e=(0,y.getOpenedPopupId)();C&&M((0,l.makeGlobalBlockToPopup)({...t,parentId:C})),e&&(0,y.openPopupById)(e);break}case"normal":case"externalPopup":M((0,l.makeGlobalToNormalBlock)(t))}}}}))}},82845:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getOpenedPopupId:function(){return n},openPopupById:function(){return a}});const r=o(67808),i=o(67138),n=()=>{let e="";return new Map([...i.SectionPopupInstances,...r.SectionPopup2Instances]).forEach((t=>{t.state.isOpened&&(e=t.instanceKey)})),e},a=e=>{const t=new Map([...i.SectionPopupInstances,...r.SectionPopup2Instances]).get(e);t&&t.open()}},21959:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{openPromptCondition:function(){return d},createScreenshot:function(){return u},getBlockType:function(){return p}});const r=o(56059),i=o(62948),n=(a=o(92823))&&a.__esModule?a:{default:a};var a;const l=o(64187),s=o(64985),c=o(21486),d=e=>{let{type:t,_id:o}=e;if(!o)return i.ToastNotification.error((0,s.t)("Something went wrong"));n.default.open({prompt:"conditions",mode:"single",props:{options:(0,r.getOptions)(t,o)}})},u=async e=>{if(await(0,c.browserSupports)())try{const{src:t,width:o,height:r}=await(0,c.makeNodeScreenshot)(e),{id:i}=await(0,l.createBlockScreenshot)({base64:t,blockType:"global"});return{_thumbnailSrc:i,_thumbnailWidth:o,_thumbnailHeight:r,_thumbnailTime:Date.now()}}catch(e){return}},p=e=>{switch(e){case"externalPopup":case"popup":return"popup";case"normal":return"normal"}}},32503:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return i}});const o=void 0,r=()=>{},i=()=>({})},18741:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Grid",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(36621),n=o(85568),a=(l=o(62893))&&l.__esModule?l:{default:l};var l;function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{className:t,columns:o,toolbar:l,config:s}=e;const c=(0,r.useMemo)((()=>o?.map((e=>e.size??"auto"))??[]),[o]);return o?r.default.createElement(i.Grid,{className:t,grid:c,separator:s?.separator??!1},o.map(((e,t)=>r.default.createElement(n.Column,{className:e.className,key:t,align:e.align??"start"},r.default.createElement(a.default,{wrapOptions:!1,data:e.options,toolbar:l}))))):null}},14112:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return i}});const o=void 0,r=()=>{},i=()=>({})},30117:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(62893)),n=o(50987);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{className:t,options:o,toolbar:a}=e;return r.default.createElement(n.Group,{className:t},r.default.createElement(i.default,{wrapOptions:!1,data:o,toolbar:a}))}},98489:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return n},toElementModel:function(){return a},defaultValue:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(59638));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const n=e=>r.read(e("value")),a=e=>({value:e}),l=void 0},33121:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"IconPicker",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(60042))&&n.__esModule?n:{default:n};var n;const a=o(2530),l=o(64644);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{className:t,choices:o,label:n,onChange:s,value:c}=e;const d=(0,r.useMemo)((()=>o?.map((e=>{let{icon:t,title:o,value:i}=e;return r.default.createElement(a.FatIcon,{key:i,icon:t,label:o,active:i===c,onClick:()=>s(i)})}))),[o]);return r.default.createElement("div",{className:(0,i.default)(t,"brz-ed-option__icon-picker")},n,r.default.createElement(l.FatIconsGrid,null,d))}},94910:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return d},toElementModel:function(){return u},defaultValue:function(){return p}});const r=o(47885),i=o(49863),n=o(93873),a=c(o(59638)),l=c(o(95945));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const d=(0,r.parse)({name:(0,i.pipe)((0,r.mPipe)((0,n.call)("name"),a.read,(0,r.pass)(l.is))),type:(0,i.pipe)((0,r.mPipe)((0,n.call)("type"),a.read,(0,r.pass)(l.is)))}),u=e=>({name:e?.name??null,type:e?.type??null}),p=void 0},34989:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"IconSetter",{enumerable:!0,get:function(){return a}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(40369),a=e=>{let{config:t,onChange:o,value:i,label:a}=e;return r.default.createElement(r.default.Fragment,null,a,r.default.createElement(n.IconSetter,{value:i,onChange:o,canDelete:t?.canDelete??!1}))}},51408:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return d},toElementModel:function(){return u},defaultValue:function(){return p}});const r=o(47885),i=c(o(44576)),n=o(77725),a=c(o(59638)),l=c(o(28197));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const d=(0,r.parseStrict)({value:e=>i.fromString(l.read,a.read(e("value"))??"")??[],active:(0,n.optional)((e=>l.read(e("active"))))}),u=e=>{let{value:t,active:o}=e;return{value:JSON.stringify(t),active:o}},p={value:[]}},11094:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"IconsPicker",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(60042))&&n.__esModule?n:{default:n};var n;const a=o(64644),l=o(65567);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{className:t,choices:o,label:n,onChange:s,value:c}=e;const d=(0,r.useMemo)((()=>o?.map((e=>{let{icon:t,title:o,value:i}=e;const n=c.active===i,a=c.value.includes(i);return r.default.createElement(l.FatCheckIcon,{key:i,icon:t,label:o,active:n,checked:a,onClick:()=>s({value:a?c.value:[...c.value,i],active:n?void 0:i}),onCheck:()=>{s({value:a?c.value.filter((e=>e!==i)):[...c.value,i],active:a?void 0:c.active})}})}))),[o,c]);return r.default.createElement("div",{className:(0,i.default)(t,"brz-ed-option__icon-picker")},n,r.default.createElement(a.FatIconsGrid,null,d))}},83185:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return c},fromElementModel:function(){return d},toElementModel:function(){return u}});const r=o(47885),i=s(o(37909)),n=s(o(78438)),a=s(o(6085));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const c={src:"",fileName:"",extension:"",width:0,height:0,x:50,y:50,sizeType:"custom"},d=e=>({src:a.toString(e("imageSrc")),fileName:a.toString(e("imageFileName")),extension:a.toString(e("imageExtension")),width:n.toNonNegative(e("imageWidth")),height:n.toNonNegative(e("imageHeight")),x:n.toNonNegative(e("positionX")),y:n.toNonNegative(e("positionY")),sizeType:a.toString(e("sizeType"))??c.sizeType}),u=(0,r.match)([i.isImageDataPatch,e=>({imageSrc:e.imageSrc,imageFileName:e.imageFileName,imageExtension:e.imageExtension,imageWidth:e.imageWidth,imageHeight:e.imageHeight})],[i.isPositionPatch,e=>({positionX:e.positionX,positionY:e.positionY})],[i.isSizePatch,e=>({sizeType:e.sizeType})])},79231:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageUpload",{enumerable:!0,get:function(){return u}});const r=c(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(63458),a=c(o(22546)),l=o(64985),s=o(83613);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=e=>{let{onChange:t,value:o,config:c,label:d}=e;const u=(0,r.default)("brz-ed-option__focal-point","brz-ed-option__inline"),p=c?.disableSizes??!1,f=(0,i.useMemo)((()=>[{value:"custom",label:(0,l.t)("Custom")},...(a.default.getAll().imageSizes??[]).map(s.configSizeToSize)]),[]),m=(0,i.useCallback)(((e,o)=>{switch(o.isChanged){case"image":t({imageSrc:e.src,imageFileName:e.fileName,imageExtension:e.extension,imageWidth:e.width,imageHeight:e.height});break;case"pointer":t({positionX:e.x,positionY:e.y})}}),[t]),y=(0,i.useCallback)((e=>t({sizeType:e})),[t]);return i.default.createElement(i.default.Fragment,null,d,i.default.createElement(n.ImageSetter,{className:u,onlyPointer:!(c?.edit??1),showPointer:"custom"===o.sizeType&&"svg"!==o.extension&&(c?.pointer??!0),extension:o.extension,x:o.x,y:o.y,width:o.width,height:o.height,src:o.src,fileName:o.fileName,onChange:m,size:o.sizeType,sizes:p||"svg"===o.extension?void 0:f,onSizeChange:y,acceptedExtensions:c?.acceptedExtensions}))}},37909:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isImageDataPatch:function(){return o},isPositionPatch:function(){return r},isSizePatch:function(){return i}});const o=e=>"imageSrc"in e,r=e=>"positionX"in e,i=e=>"sizeType"in e},83613:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"configSizeToSize",{enumerable:!0,get:function(){return o}});const o=e=>({value:e.name,label:e.label})},25392:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return i},fromElementModel:function(){return n},toElementModel:function(){return a}});const r=o(59638),i={value:""},n=e=>({value:r.String.read(e("value"))}),a=e=>({value:e.value})},84035:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InputText",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(27495),n=o(32625);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{let{className:t,onChange:o,value:{value:a},config:l={},placeholder:s,label:c}=e;const[d,u]=(0,r.useState)(a),p=(0,r.useRef)(d);(0,r.useEffect)((()=>{p.current!==a&&(p.current=a,u(a))}),[a]),(0,n.useDebouncedEffect)((()=>{p.current!==d&&(p.current=d,o({value:d}))}),1e3,[o,d]);const f=(0,r.useCallback)((()=>{p.current!==d&&(p.current=d,o({value:d}))}),[o,d]);return r.default.createElement(r.default.Fragment,null,c,r.default.createElement(i.Input,{className:t,onChange:u,onBlur:f,value:d,size:l.size??"auto",placeholder:s}))}},53175:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return i},fromElementModel:function(){return n},toElementModel:function(){return a}});const r=o(52101),i=void 0,n=e=>(0,r.read)({id:e("value"),title:e("title")}),a=e=>({value:e?.id,title:e?.title})},55554:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InternalLink",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=d(o(10301)),n=o(98144),a=o(40756),l=o(62948),s=d(o(22546)),c=o(41516);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=e=>{let{className:t,onChange:o,value:d,label:u,placeholder:p,config:f}=e;const{postType:m=""}=f??{},{label:y,handlerSearch:g}=(0,r.useMemo)((()=>{const e=s.default.getAll(),{label:t,handlerSearch:o}=e?.api?.linkPages??{};return{label:t,handlerSearch:o}}),[s.default.getAll()]),b=(0,r.useRef)(m),h=(0,r.useRef)(),[v,S]=(0,r.useState)(d?[d]:[]),[w,x]=(0,r.useState)(a.Status.INITIAL),[M,T]=(0,r.useState)(!1);(0,r.useEffect)((()=>{m&&b.current!==m&&(P(),b.current=m)}),[m]),(0,r.useEffect)((()=>(h.current=i.default.debounce((e=>{m&&e&&""!==e.trim()&&g&&(T(!0),g((e=>{e.length>0?(S(e),x(a.Status.SUCCESS)):(S([]),x(a.Status.NO_RESULT)),T(!1)}),(e=>{T(!1),x(a.Status.ERROR),l.ToastNotification.error(e)}),{id:m,search:e}))}),1e3),()=>{h.current?.cancel()})),[m]);const P=()=>{S([]),C({title:"",value:""})},C=(0,r.useCallback)((e=>o({id:String(e.value),title:e.title})),[o]),k=(0,c.normalizeItems)(v);return r.default.createElement(r.default.Fragment,null,y??u,r.default.createElement(n.Control,{className:t??"",value:d,placeholder:p,resetValue:P,items:k,status:w,loading:M,onChange:C,onSearch:e=>{h?.current?.(e),e||(S([]),x(a.Status.INITIAL))}}))}},52101:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{read:function(){return i},eq:function(){return n}});const r=o(59638),i=e=>{if("object"!=typeof e)return;const t=r.String.read(e?.id),o=r.String.read(e?.title);return void 0!==t&&void 0!==o?{id:t,title:o}:void 0},n=(e,t)=>e.id===t.id},41516:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{toPosts:function(){return s},normalizeItems:function(){return d}});const r=o(10301),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(44576)),n=o(92636),a=o(59638);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=(0,o(22741).mCompose)((0,r.partial)(i.read,(e=>{if("object"!=typeof e)return;const t=a.String.read(e.ID),o=a.String.read(e.title);return t&&o?{id:t,title:o}:void 0})),(0,r.property)("posts"),n.toObject),c=e=>({title:e.title,value:e.id}),d=e=>1===e.length&&""===e[0].id&&""===e[0].title?[]:e.map(c)},68832:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return f},toElementModel:function(){return m},defaultValue:function(){return y}});const r=o(47885),i=o(52662),n=p(o(48738)),a=p(o(20059)),l=o(49863),s=p(o(73904)),c=p(o(59638)),d=o(22741);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const f=(0,r.parseStrict)({type:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("type"),c.read,a.fromString),(0,d.onNullish)("grouped")),value:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("value"),s.read),(0,d.onNullish)(0)),tempValue:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("tempValue"),s.read),(0,d.onNullish)(0)),unit:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("suffix"),c.read,n.fromString),(0,d.onNullish)("px")),tempUnit:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("tempSuffix"),c.read,n.fromString),(0,d.onNullish)("px")),top:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("top"),s.read),(0,d.onNullish)(0)),tempTop:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("tempTop"),s.read),(0,d.onNullish)(0)),topUnit:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("topSuffix"),c.read,n.fromString),(0,d.onNullish)("px")),tempTopUnit:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("tempTopSuffix"),c.read,n.fromString),(0,d.onNullish)("px")),right:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("right"),s.read),(0,d.onNullish)(0)),tempRight:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("tempRight"),s.read),(0,d.onNullish)(0)),rightUnit:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("rightSuffix"),c.read,n.fromString),(0,d.onNullish)("px")),tempRightUnit:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("tempRightSuffix"),c.read,n.fromString),(0,d.onNullish)("px")),bottom:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("bottom"),s.read),(0,d.onNullish)(0)),tempBottom:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("tempBottom"),s.read),(0,d.onNullish)(0)),bottomUnit:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("bottomSuffix"),c.read,n.fromString),(0,d.onNullish)("px")),tempBottomUnit:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("tempBottomSuffix"),c.read,n.fromString),(0,d.onNullish)("px")),left:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("left"),s.read),(0,d.onNullish)(0)),tempLeft:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("tempLeft"),s.read),(0,d.onNullish)(0)),leftUnit:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("leftSuffix"),c.read,n.fromString),(0,d.onNullish)("px")),tempLeftUnit:(0,l.pipe)((0,r.mPipe)((0,i.callGetter)("tempLeftSuffix"),c.read,n.fromString),(0,d.onNullish)("px"))}),m=e=>({type:e.type,value:e.value,tempValue:e.tempValue,suffix:e.unit,tempSuffix:e.tempUnit,top:e.top,tempTop:e.tempTop,topSuffix:e.topUnit,tempTopSuffix:e.tempTopUnit,right:e.right,tempRight:e.tempRight,rightSuffix:e.rightUnit,tempRightSuffix:e.tempRightUnit,bottom:e.bottom,tempBottom:e.tempBottom,bottomSuffix:e.bottomUnit,tempBottomSuffix:e.tempBottomUnit,left:e.left,tempLeft:e.tempLeft,leftSuffix:e.leftUnit,tempLeftSuffix:e.tempLeftUnit}),y={type:"grouped",value:0,tempValue:0,unit:"px",tempUnit:"px",top:0,tempTop:0,topUnit:"px",tempTopUnit:"px",right:0,tempRight:0,rightUnit:"px",tempRightUnit:"px",bottom:0,tempBottom:0,bottomUnit:"px",tempBottomUnit:"px",left:0,tempLeft:0,leftUnit:"px",tempLeftUnit:"px"}},90788:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Margin",{enumerable:!0,get:function(){return d}});const r=c(o(27378)),i=c(o(51158)),n=o(21218),a=o(49863),l=o(6086);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const d=e=>{let{value:t,onChange:o,label:s,config:c}=e;const d=c?.edges??"all",u=(0,r.useCallback)((0,a.pipe)((e=>i.setType(e,t)),o),[t,o]),p=(0,r.useMemo)((()=>(0,n.toSpacingValue)(d,t)),[t]),f=(0,r.useCallback)((0,a.pipe)(((e,o)=>(0,n.valueSetter)(e)(o,t)),o),[o,t]),m=(0,r.useCallback)((0,a.pipe)(((e,o)=>(0,n.unitSetter)(e)(o,t)),o),[o,t]),y=(0,r.useMemo)((()=>(c?.units??["px","%"]).map((e=>({value:e,title:e})))),[c]);return r.default.createElement(l.Spacing,{label:s,type:t.type,value:p,units:y,onType:u,onValue:f,onUnit:m,getIcon:n.getIcon,step:1,min:-100,max:100})}},51158:(e,t,o)=>{"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=o(62973),i=t,Object.keys(r).forEach((function(e){"default"===e||Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(i,e,{enumerable:!0,get:function(){return r[e]}})}))},21218:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromNumberSlider:function(){return n},getIcon:function(){return a},valueSetter:function(){return l},unitSetter:function(){return s},toSpacingValue:function(){return c}});const r=o(77725),i=o(51158),n=(0,r.readWithParser)({number:e=>e.number,unit:e=>e.unit}),a=e=>{switch(e){case"grouped":return"nc-styling-all";case"ungrouped":return"nc-styling-individual";case"top":return"nc-styling-top";case"right":return"nc-styling-right";case"bottom":return"nc-styling-bottom";case"left":return"nc-styling-left"}},l=e=>{switch(e){case"all":return i.setValue;case"top":return i.setTop;case"right":return i.setRight;case"bottom":return i.setBottom;case"left":return i.setLeft}},s=e=>{switch(e){case"all":return i.setUnit;case"top":return i.setTopUnit;case"right":return i.setRightUnit;case"bottom":return i.setBottomUnit;case"left":return i.setLeftUnit}};function c(e,t){switch(e){case"all":return{all:{number:t.value,unit:t.unit},top:{number:t.top,unit:t.topUnit},right:{number:t.right,unit:t.rightUnit},bottom:{number:t.bottom,unit:t.bottomUnit},left:{number:t.left,unit:t.leftUnit}};case"vertical":return{all:{number:t.value,unit:t.unit},top:{number:t.top,unit:t.topUnit},bottom:{number:t.bottom,unit:t.bottomUnit}};case"horizontal":return{all:{number:t.value,unit:t.unit},right:{number:t.right,unit:t.rightUnit},left:{number:t.left,unit:t.leftUnit}}}}},84327:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Blur",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64985),n=o(11982),a=o(84483),l=o(38758);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{value:t,onChange:o}=e;const s=(0,r.useCallback)((e=>o({...t,direction:e})),[t,o]),c=(0,r.useCallback)((e=>o({...t,level:e})),[t,o]),d=(0,r.useCallback)((e=>o({...t,viewport:e})),[t,o]),u=(0,r.useMemo)((()=>[["in",(0,i.t)("In")],["out",(0,i.t)("Out")],["inOut",(0,i.t)("In out")],["outIn",(0,i.t)("Out In")]]),[]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(n.Direction,{label:(0,i.t)("Direction"),value:t.direction,onChange:s,directions:u}),r.default.createElement(a.UnitSlider,{label:(0,i.t)("Level"),value:t.level,onChange:c}),r.default.createElement(l.Viewport,{value:t.viewport,onChange:d}))}},11982:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Direction",{enumerable:!0,get:function(){return c}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(73469),a=o(26318),l=o(18624),s=o(65989);function c(e){let{value:t,onChange:o,directions:i,label:c}=e;return r.default.createElement(a.OptionWrapper,{className:"brz-ed-option"},r.default.createElement(n.OptionLabel,{label:c}),r.default.createElement(l.Select2,{value:t,onChange:o,editable:!1},i.map((e=>{let[t,o]=e;return r.default.createElement(s.Item,{key:t,value:t},o)}))))}},72676:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DisabledIcon",{enumerable:!0,get:function(){return a}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(65567);function a(e){let{label:t,icon:o}=e;return r.default.createElement(n.FatCheckIcon,{icon:o,label:t})}},34919:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Horizontal",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64985),n=o(84483),a=o(11982),l=o(38758);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{value:t,onChange:o}=e;const s=(0,r.useCallback)((e=>o({...t,direction:e})),[t,o]),c=(0,r.useCallback)((e=>o({...t,speed:e})),[t,o]),d=(0,r.useMemo)((()=>[["left",(0,i.t)("Left")],["right",(0,i.t)("Right")]]),[]),u=(0,r.useCallback)((e=>o({...t,viewport:e})),[t,o]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Direction,{label:(0,i.t)("Direction"),value:t.direction,onChange:s,directions:d}),r.default.createElement(n.UnitSlider,{label:(0,i.t)("Speed"),value:t.speed,onChange:c}),r.default.createElement(l.Viewport,{value:t.viewport,onChange:u}))}},27303:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(65567);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}function a(e){let{active:t,onClick:o,checked:n,onCheck:a,label:l,icon:s,id:c}=e;const d=(0,r.useCallback)((()=>o(c)),[o,c]),u=(0,r.useCallback)((()=>a(c)),[a,c]);return r.default.createElement(i.FatCheckIcon,{active:t,icon:s,label:l,onClick:d,checked:n,onCheck:u})}},11797:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MouseTrack",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64985),n=o(84483),a=o(11982);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{let{value:t,onChange:o}=e;const l=(0,r.useCallback)((e=>o({...t,direction:e})),[t,o]),s=(0,r.useCallback)((e=>o({...t,speed:e})),[t,o]),c=(0,r.useMemo)((()=>[["direct",(0,i.t)("Direct")],["opposite",(0,i.t)("Opposite")]]),[]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Direction,{label:(0,i.t)("Direction"),value:t.direction,onChange:l,directions:c}),r.default.createElement(n.UnitSlider,{label:(0,i.t)("Speed"),value:t.speed,onChange:s}))}},18051:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Rotate",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64985),n=o(84483),a=o(11982),l=o(38758);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{value:t,onChange:o}=e;const s=(0,r.useCallback)((e=>o({...t,direction:e})),[t,o]),c=(0,r.useCallback)((e=>o({...t,x:e})),[t,o]),d=(0,r.useCallback)((e=>o({...t,y:e})),[t,o]),u=(0,r.useCallback)((e=>o({...t,speed:e})),[t,o]),p=(0,r.useCallback)((e=>o({...t,viewport:e})),[t,o]),f=(0,r.useMemo)((()=>[["left",(0,i.t)("Left")],["right",(0,i.t)("Right")]]),[]),m=(0,r.useMemo)((()=>[["left",(0,i.t)("Left")],["center",(0,i.t)("Center")],["right",(0,i.t)("Right")]]),[]),y=(0,r.useMemo)((()=>[["top",(0,i.t)("Top")],["center",(0,i.t)("Center")],["bottom",(0,i.t)("Bottom")]]),[]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Direction,{label:(0,i.t)("Direction"),value:t.direction,onChange:s,directions:f}),r.default.createElement(a.Direction,{label:(0,i.t)("X"),value:t.x,onChange:c,directions:m}),r.default.createElement(a.Direction,{label:(0,i.t)("Y"),value:t.y,onChange:d,directions:y}),r.default.createElement(n.UnitSlider,{label:(0,i.t)("Speed"),value:t.speed,onChange:u}),r.default.createElement(l.Viewport,{value:t.viewport,onChange:p}))}},21903:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Scale",{enumerable:!0,get:function(){return h}});const r=o(47885),i=m(o(27378)),n=o(33779),a=o(73469),l=o(26318),s=o(32625),c=o(64985),d=m(o(82829)),u=o(11982),p=o(38758);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const y={up:(0,c.t)("Up"),down:(0,c.t)("Down"),downUp:(0,c.t)("Down Up"),upDown:(0,c.t)("Up Down")},g={left:(0,c.t)("Left"),center:(0,c.t)("Center"),right:(0,c.t)("Right")},b={top:(0,c.t)("Top"),center:(0,c.t)("Center"),bottom:(0,c.t)("Bottom")},h=e=>{let{value:t,onChange:o}=e;const f=(0,i.useCallback)((e=>o({...t,direction:e})),[t,o]),m=(0,i.useCallback)((e=>o({...t,x:e})),[t,o]),h=(0,i.useCallback)((e=>o({...t,y:e})),[t,o]),v=(0,i.useCallback)((0,r.mPipe)(d.fromNumber,(e=>o({...t,speed:e}))),[t,o]),[S,w]=(0,s.useDebouncedOnChange)(t.speed,v,500),x=(0,i.useCallback)((e=>o({...t,viewport:e})),[t,o]),M=(0,i.useMemo)((()=>Object.entries(y)),[]),T=(0,i.useMemo)((()=>Object.entries(g)),[]),P=(0,i.useMemo)((()=>Object.entries(b)),[]);return i.default.createElement(i.default.Fragment,null,i.default.createElement(u.Direction,{label:(0,c.t)("Direction"),value:t.direction,onChange:f,directions:M}),i.default.createElement(u.Direction,{label:(0,c.t)("X"),value:t.x,onChange:m,directions:T}),i.default.createElement(u.Direction,{label:(0,c.t)("Y"),value:t.y,onChange:h,directions:P}),i.default.createElement(l.OptionWrapper,{className:"brz-ed-option"},i.default.createElement(a.OptionLabel,{label:(0,c.t)("Speed")}),i.default.createElement(n.NumberSlider,{value:{number:S,unit:""},onChange:e=>{let{number:t}=e;return w(t)},step:1,min:-10,max:10,units:[]})),i.default.createElement(p.Viewport,{value:t.viewport,onChange:x}))}},63028:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tilt",{enumerable:!0,get:function(){return r}});const r=o(11797).MouseTrack},99730:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Transparency",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64985),n=o(11982),a=o(84483),l=o(38758);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c={in:(0,i.t)("In"),out:(0,i.t)("Out"),inOut:(0,i.t)("In Out"),outIn:(0,i.t)("Out In")},d=e=>{let{value:t,onChange:o}=e;const s=(0,r.useCallback)((e=>o({...t,direction:e})),[t,o]),d=(0,r.useCallback)((e=>o({...t,level:e})),[t,o]),u=(0,r.useCallback)((e=>o({...t,viewport:e})),[t,o]),p=(0,r.useMemo)((()=>Object.entries(c)),[]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(n.Direction,{label:(0,i.t)("Direction"),value:t.direction,onChange:s,directions:p}),r.default.createElement(a.UnitSlider,{label:(0,i.t)("Level"),value:t.level,onChange:d}),r.default.createElement(l.Viewport,{value:t.viewport,onChange:u}))}},84483:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"UnitSlider",{enumerable:!0,get:function(){return p}});const r=u(o(27378)),i=u(o(1738)),n=o(73469),a=o(26318),l=o(49863),s=o(33779),c=o(32625);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const p=e=>{let{label:t,value:o,onChange:d}=e;const[u,p]=(0,c.useThrottleOnChange)(o,d,500),f=(0,r.useCallback)((0,l.mPipe)((e=>e.number/10),i.fromNumber,p),[p]);return r.default.createElement(a.OptionWrapper,{className:"brz-ed-option"},r.default.createElement(n.OptionLabel,{label:t}),r.default.createElement(s.NumberSlider,{value:{number:10*u,unit:""},onChange:f,step:.1,min:0,max:10,units:[]}))}},97189:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Vertical",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64985),n=o(84483),a=o(11982),l=o(38758);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{value:t,onChange:o}=e;const s=(0,r.useCallback)((e=>o({...t,direction:e})),[t,o]),c=(0,r.useCallback)((e=>o({...t,speed:e})),[t,o]),d=(0,r.useCallback)((e=>o({...t,viewport:e})),[t,o]),u=(0,r.useMemo)((()=>[["up",(0,i.t)("Up")],["down",(0,i.t)("Down")]]),[]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Direction,{label:(0,i.t)("Direction"),value:t.direction,onChange:s,directions:u}),r.default.createElement(n.UnitSlider,{label:(0,i.t)("Speed"),value:t.speed,onChange:c}),r.default.createElement(l.Viewport,{value:t.viewport,onChange:d}))}},38758:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Viewport",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),i=o(47885),n=o(26318),a=o(48995),l=o(32625),s=p(o(1738)),c=o(64985),d=o(15384);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const f=e=>e/100;function m(e){let{value:{top:t,bottom:o},onChange:u}=e;const p=(0,r.useCallback)((0,i.mPipe)(f,(0,i.pass)(s.is),(e=>(0,d.construct)(e,o)),u),[u,o]),m=(0,r.useCallback)((0,i.mPipe)(f,(0,i.pass)(s.is),(e=>(0,d.construct)(t,e)),u),[u,t]),[y,g]=(0,l.useDebouncedOnChange)(100*t,p,100),[b,h]=(0,l.useDebouncedOnChange)(100*o,m,100);return r.default.createElement(n.OptionWrapper,{className:"brz-ed-option"},r.default.createElement(a.RangeSlider,{start:Math.trunc(y),onChangeStart:g,end:Math.trunc(b),onChangeEnd:h,step:1,min:0,max:100,startLabel:(0,c.t)("Start"),endLabel:(0,c.t)("End")}))}},54701:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return S},fromElementModel:function(){return w},toElementModel:function(){return x}});const r=o(47885),i=o(52662),n=o(6085),a=v(o(6256)),l=v(o(97565)),s=v(o(76715)),c=v(o(1707)),d=o(37218),u=v(o(80997)),p=v(o(75048)),f=v(o(52518)),m=o(25095),y=v(o(37962)),g=o(27420),b=o(97815);function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const S={active:void 0,vertical:void 0,horizontal:void 0,blur:void 0,mouseTrack:void 0,rotate:void 0,scale:void 0,mouseTilt:void 0,transparency:void 0},w=(0,r.parseStrict)({active:(0,r.optional)((0,r.mPipe)((0,i.callGetter)("active"),(0,r.pass)(m.isActive))),vertical:(0,r.optional)((0,r.mPipe)((0,g.wrap)("vertical"),(0,r.pass)(b.isEnabled),y.fromElementModel)),horizontal:(0,r.optional)((0,r.mPipe)((0,g.wrap)("horizontal"),(0,r.pass)(b.isEnabled),l.fromElementModel)),transparency:(0,r.optional)((0,r.mPipe)((0,g.wrap)("transparency"),(0,r.pass)(b.isEnabled),f.fromElementModel)),blur:(0,r.optional)((0,r.mPipe)((0,g.wrap)("blur"),(0,r.pass)(b.isEnabled),a.fromElementModel)),rotate:(0,r.optional)((0,r.mPipe)((0,g.wrap)("rotate"),(0,r.pass)(b.isEnabled),u.fromElementModel)),scale:(0,r.optional)((0,r.mPipe)((0,g.wrap)("scale"),(0,r.pass)(b.isEnabled),p.fromElementModel)),mouseTrack:(0,r.optional)((0,r.mPipe)((0,g.wrap)("mouseTrack"),(0,r.pass)(b.isEnabled),c.fromElementModel)),mouseTilt:(0,r.optional)((0,r.mPipe)((0,g.wrap)("mouseTilt"),(0,r.pass)(b.isEnabled),s.fromElementModel))}),x=e=>{switch(e.type){case d.Type.active:return{active:e.active,...e.active?{[(0,n.capByPrefix)(e.active,"enabled")]:!0}:{},...e.active?(0,d.disableEffects)(e.active):{}};case d.Type.enable:return{[(0,n.capByPrefix)(e.effect,"enabled")]:e.value,...e.active&&!e.value?{active:void 0}:{},...(0,d.disableEffects)(e.effect)};case d.Type.effect:switch(e.effect){case"vertical":return(0,b.flattenObject)({vertical:y.toElementModel(e.value)});case"horizontal":return(0,b.flattenObject)({horizontal:l.toElementModel(e.value)});case"transparency":return(0,b.flattenObject)({transparency:f.toElementModel(e.value)});case"blur":return(0,b.flattenObject)({blur:a.toElementModel(e.value)});case"rotate":return(0,b.flattenObject)({rotate:u.toElementModel(e.value)});case"scale":return(0,b.flattenObject)({scale:p.toElementModel(e.value)});case"mouseTrack":return(0,b.flattenObject)({mouseTrack:c.toElementModel(e.value)});case"mouseTilt":return(0,b.flattenObject)({mouseTilt:s.toElementModel(e.value)})}}}},73107:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Motion",{enumerable:!0,get:function(){return g}});const r=y(o(27378)),i=o(10301),n=o(50987),a=o(64644),l=o(26318),s=o(49863),c=o(72676),d=o(27303),u=y(o(37218)),p=o(25095),f=o(97815);function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const g=e=>{let{className:t,label:o,value:m,onChange:y,config:g}=e;const{active:b}=m,h=g?.disabled??[],v=b?m[b]:void 0,S=b&&(0,f.effectOptions)(b),w=(0,r.useCallback)((e=>y(u.enable(e,!m[e],b===e))),[m,y]),x=(0,r.useCallback)((0,s.pipe)(u.active,y),[y]),M=(0,r.useMemo)((()=>b?e=>y(u.eff(b,e)):i.identity),[b,y]);return r.default.createElement("div",{className:t},r.default.createElement(l.OptionWrapper,{display:"block",className:"brz-ed-option"},o,r.default.createElement(a.FatIconsGrid,null,p.effects.map((e=>h.includes(e)?r.default.createElement(c.DisabledIcon,{key:e,icon:(0,f.effectIcon)(e),label:(0,f.effectTitle)(e)}):r.default.createElement(d.Icon,{key:e,id:e,active:b===e,checked:!!m[e],icon:(0,f.effectIcon)(e),label:(0,f.effectTitle)(e),onClick:x,onCheck:w}))))),v&&S?r.default.createElement(l.OptionWrapper,{className:"brz-ed-option"},r.default.createElement(n.Group,null,r.default.createElement(S,{value:v,onChange:M}))):null)}},6256:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return p},fromElementModel:function(){return f},toElementModel:function(){return m}});const r=o(47885),i=u(o(1738)),n=u(o(15384)),a=o(52662),l=u(o(73904)),s=o(97815),c=o(27420);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const p=e=>["in","out","outIn","inOut"].includes(e),f=(0,r.parseStrict)({level:(0,r.or)((0,r.mPipe)((0,a.callGetter)("level"),l.read,i.fromNumber),(()=>0)),direction:(0,r.or)((0,r.mPipe)((0,a.callGetter)("direction"),(0,r.pass)(p)),(()=>"in")),viewport:c.elementModelToViewport}),m=e=>{let{viewport:t,...o}=e;return{...o,...(0,s.prefixKeys)("viewport",n.toElementModel(t))}}},97565:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return f},fromElementModel:function(){return m},toElementModel:function(){return y}});const r=o(47885),i=p(o(1738)),n=p(o(15384)),a=o(52662),l=o(49863),s=p(o(73904)),c=o(97815),d=o(27420);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const f=e=>"left"===e||"right"===e,m=(0,r.parseStrict)({speed:(0,r.or)((0,r.mPipe)((0,a.callGetter)("speed"),s.read,i.fromNumber),(()=>0)),direction:(0,r.or)((0,r.mPipe)((0,a.callGetter)("direction"),(0,r.pass)(f)),(()=>"left")),viewport:(0,l.pipe)((0,d.wrap)("viewport"),n.fromElementModel)}),y=e=>{let{viewport:t,...o}=e;return{...o,...(0,c.prefixKeys)("viewport",n.toElementModel(t))}}},76715:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return l},fromElementModel:function(){return s},toElementModel:function(){return c}});const r=o(52662),i=o(49863),n=o(27420),a=o(47885),l=e=>"direct"===e||"opposite"===e,s=(0,a.parseStrict)({direction:(0,a.or)((0,i.mPipe)((0,r.callGetter)("direction"),(0,i.pass)(l)),(()=>"direct")),speed:n.elementModelToSpeed}),c=e=>({...e})},1707:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return a},fromElementModel:function(){return l},toElementModel:function(){return s}});const r=o(47885),i=o(52662),n=o(27420),a=e=>"direct"===e||"opposite"===e,l=(0,r.parseStrict)({direction:(0,r.or)((0,r.mPipe)((0,i.callGetter)("direction"),(0,r.pass)(a)),(()=>"direct")),speed:n.elementModelToSpeed}),s=e=>({...e})},37218:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Type:function(){return y},active:function(){return g},enable:function(){return b},eff:function(){return h},isMouseEffect:function(){return v},disableEffects:function(){return S},toElementModel:function(){return w}});const r=m(o(6256)),i=m(o(97565)),n=m(o(76715)),a=m(o(1707)),l=m(o(80997)),s=m(o(75048)),c=m(o(52518)),d=m(o(37962)),u=o(97815),p=o(6085);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}var y;!function(e){e.active="active",e.enable="enable",e.effect="effect"}(y||(y={}));const g=e=>({type:y.active,active:e}),b=(e,t,o)=>({type:y.enable,effect:e,value:t,active:o}),h=(e,t)=>({type:y.effect,effect:e,value:t}),v=e=>"mouseTilt"===e||"mouseTrack"===e,S=e=>v(e)?{verticalEnabled:!1,horizontalEnabled:!1,transparencyEnabled:!1,blurEnabled:!1,rotateEnabled:!1,scaleEnabled:!1}:{mouseTrackEnabled:!1,mouseTiltEnabled:!1},w=e=>{switch(e.type){case y.active:return{active:e.active,...e.active?{[(0,p.capByPrefix)(e.active,"enabled")]:!0}:{},...e.active?S(e.active):{}};case y.enable:return{[(0,p.capByPrefix)(e.effect,"enabled")]:e.value,...e.active&&!e.value?{active:void 0}:{},...S(e.effect)};case y.effect:switch(e.effect){case"vertical":return(0,u.flattenObject)({vertical:d.toElementModel(e.value)});case"horizontal":return(0,u.flattenObject)({horizontal:i.toElementModel(e.value)});case"transparency":return(0,u.flattenObject)({transparency:c.toElementModel(e.value)});case"blur":return(0,u.flattenObject)({blur:r.toElementModel(e.value)});case"rotate":return(0,u.flattenObject)({rotate:l.toElementModel(e.value)});case"scale":return(0,u.flattenObject)({scale:s.toElementModel(e.value)});case"mouseTrack":return(0,u.flattenObject)({mouseTrack:a.toElementModel(e.value)});case"mouseTilt":return(0,u.flattenObject)({mouseTilt:n.toElementModel(e.value)})}}}},80997:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return c},isX:function(){return d},isY:function(){return u},fromElementModel:function(){return p},toElementModel:function(){return f}});const r=o(47885),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(15384)),n=o(52662),a=o(97815),l=o(27420);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>["left","right"].includes(e),d=e=>["left","center","right"].includes(e),u=e=>["top","center","bottom"].includes(e),p=(0,r.parseStrict)({speed:l.elementModelToSpeed,direction:(0,r.or)((0,r.mPipe)((0,n.callGetter)("direction"),(0,r.pass)(c)),(()=>"left")),x:(0,r.or)((0,r.mPipe)((0,n.callGetter)("x"),(0,r.pass)(d)),(()=>"center")),y:(0,r.or)((0,r.mPipe)((0,n.callGetter)("y"),(0,r.pass)(u)),(()=>"center")),viewport:l.elementModelToViewport}),f=e=>{let{viewport:t,...o}=e;return{...o,...(0,a.prefixKeys)("viewport",i.toElementModel(t))}}},75048:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return g},isXPosition:function(){return b},isYPosition:function(){return h},fromElementModel:function(){return v},toElementModel:function(){return S}});const r=o(47885),i=p(o(15384)),n=o(52662),a=o(49863),l=p(o(73904)),s=o(97815),c=o(27420),d=p(o(82829));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const f={up:"up",down:"down",downUp:"downUp",upDown:"upDown"},m={left:"left",center:"center",right:"right"},y={center:"center",top:"top",bottom:"bottom"},g=e=>Object.values(f).includes(e),b=e=>Object.values(m).includes(e),h=e=>Object.values(y).includes(e),v=(0,r.parseStrict)({speed:(0,r.or)((0,a.mPipe)((0,n.callGetter)("speed"),l.read,d.fromNumber),(()=>-10)),direction:(0,r.or)((0,a.mPipe)((0,n.callGetter)("direction"),(0,a.pass)(g)),(()=>"up")),x:(0,r.or)((0,a.mPipe)((0,n.callGetter)("x"),(0,a.pass)(b)),(()=>"center")),y:(0,r.or)((0,a.mPipe)((0,n.callGetter)("y"),(0,a.pass)(h)),(()=>"center")),viewport:c.elementModelToViewport}),S=e=>{let{viewport:t,...o}=e;return{...o,...(0,s.prefixKeys)("viewport",i.toElementModel(t))}}},52518:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return c},fromElementModel:function(){return d},toElementModel:function(){return u}});const r=o(47885),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(15384)),n=o(52662),a=o(97815),l=o(27420);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>"in"===e||"out"===e,d=(0,r.parseStrict)({level:l.elementModelToLevel,direction:(0,r.or)((0,r.mPipe)((0,n.callGetter)("direction"),(0,r.pass)(c)),(()=>"in")),viewport:l.elementModelToViewport}),u=e=>{let{viewport:t,...o}=e;return{...o,...(0,a.prefixKeys)("viewport",i.toElementModel(t))}}},25095:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{effects:function(){return S},isActive:function(){return w},defaultValue:function(){return x},fromElementModel:function(){return M}});const r=o(47885),i=o(52662),n=v(o(15384)),a=v(o(1738)),l=o(77725),s=o(97815),c=v(o(6256)),d=v(o(97565)),u=v(o(76715)),p=v(o(1707)),f=v(o(80997)),m=v(o(75048)),y=v(o(52518)),g=v(o(37962)),b=o(27420);function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const S=["vertical","horizontal","transparency","blur","rotate","scale","mouseTrack","mouseTilt"],w=e=>S.includes(e),x={active:void 0,blur:{direction:"in",level:a.Min,viewport:n.unsafe(a.Min,a.Max)},horizontal:{direction:"left",speed:a.Min,viewport:n.unsafe(a.Min,a.Max)},mouseTrack:{direction:"direct",speed:a.Min},rotate:{direction:"left",speed:a.Min,x:"center",y:"center",viewport:n.unsafe(a.Min,a.Max)},scale:{direction:"up",speed:-10,x:"center",y:"center",viewport:n.unsafe(a.Min,a.Max)},mouseTilt:{direction:"direct",speed:a.Min},transparency:{direction:"in",level:a.Min,viewport:n.unsafe(a.Min,a.Max)},vertical:{direction:"up",speed:a.Min,viewport:n.unsafe(a.Min,a.Max)}},M=(0,r.parseStrict)({active:(0,l.optional)((0,r.mPipe)((0,i.callGetter)("active"),(0,r.pass)(w))),vertical:(0,l.optional)((0,r.mPipe)((0,b.wrap)("vertical"),(0,r.pass)(s.isEnabled),g.fromElementModel)),horizontal:(0,l.optional)((0,r.mPipe)((0,b.wrap)("horizontal"),(0,r.pass)(s.isEnabled),d.fromElementModel)),transparency:(0,l.optional)((0,r.mPipe)((0,b.wrap)("transparency"),(0,r.pass)(s.isEnabled),y.fromElementModel)),blur:(0,l.optional)((0,r.mPipe)((0,b.wrap)("blur"),(0,r.pass)(s.isEnabled),c.fromElementModel)),rotate:(0,l.optional)((0,r.mPipe)((0,b.wrap)("rotate"),(0,r.pass)(s.isEnabled),f.fromElementModel)),scale:(0,l.optional)((0,r.mPipe)((0,b.wrap)("scale"),(0,r.pass)(s.isEnabled),m.fromElementModel)),mouseTrack:(0,l.optional)((0,r.mPipe)((0,b.wrap)("mouseTrack"),(0,r.pass)(s.isEnabled),p.fromElementModel)),mouseTilt:(0,l.optional)((0,r.mPipe)((0,b.wrap)("mouseTilt"),(0,r.pass)(s.isEnabled),u.fromElementModel))})},37962:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return c},fromElementModel:function(){return d},toElementModel:function(){return u}});const r=o(47885),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(15384)),n=o(52662),a=o(97815),l=o(27420);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>"up"===e||"down"===e,d=(0,r.parseStrict)({speed:l.elementModelToSpeed,direction:(0,r.or)((0,r.mPipe)((0,n.callGetter)("direction"),(0,r.pass)(c)),(()=>"up")),viewport:l.elementModelToViewport}),u=e=>{let{viewport:t,...o}=e;return{...o,...(0,a.prefixKeys)("viewport",i.toElementModel(t))}}},15384:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{unsafe:function(){return u},construct:function(){return p},fromElementModel:function(){return f},toElementModel:function(){return m}});const r=c(o(1738)),i=o(52662),n=o(49863),a=c(o(73904)),l=o(47885);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}var d;!function(e){e.type="viewport"}(d||(d={}));const u=(e,t)=>({type:d.type,bottom:t,top:e}),p=(e,t)=>t>=e?u(e,t):void 0,f=(0,l.parseStrict)({type:()=>d.type,bottom:(0,l.or)((0,n.mPipe)((0,i.callGetter)("bottom"),a.read,r.fromNumber),(()=>1)),top:(0,l.or)((0,n.mPipe)((0,i.callGetter)("top"),a.read,r.fromNumber),(()=>0))}),m=e=>({...e})},82829:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{is:function(){return i},fromNumber:function(){return n}});const r=o(47885),i=e=>e>=-10&&e<=10,n=(0,r.pass)(i)},27420:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{wrap:function(){return p},elementModelToSpeed:function(){return f},elementModelToLevel:function(){return m},elementModelToViewport:function(){return y}});const r=o(52662),i=o(6085),n=o(47885),a=u(o(73904)),l=u(o(1738)),s=o(49863),c=u(o(15384));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const p=e=>t=>o=>t((0,i.capByPrefix)(e,o)),f=(0,n.or)((0,n.mPipe)((0,r.callGetter)("speed"),a.read,l.fromNumber),(()=>0)),m=(0,n.or)((0,n.mPipe)((0,r.callGetter)("level"),a.read,l.fromNumber),(()=>0)),y=(0,s.pipe)(p("viewport"),c.fromElementModel)},97815:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{effectIcon:function(){return f},effectTitle:function(){return m},effectOptions:function(){return y},prefixKeys:function(){return g},flattenObject:function(){return b},isEnabled:function(){return h}});const r=o(64985),i=o(6085),n=o(84327),a=o(34919),l=o(11797),s=o(18051),c=o(21903),d=o(63028),u=o(99730),p=o(97189),f=e=>{switch(e){case"blur":return"nc-blur";case"horizontal":return"nc-scroll-horizontal";case"mouseTrack":return"nc-mouse";case"rotate":return"nc-captcha";case"scale":return"nc-scroll-scale";case"mouseTilt":return"nc-cube";case"transparency":return"nc-scroll-transparency";case"vertical":return"nc-scroll-vertical"}},m=e=>{switch(e){case"blur":return(0,r.t)("Blur");case"mouseTrack":return(0,r.t)("MouseTrack");case"rotate":return(0,r.t)("Rotate");case"scale":return(0,r.t)("Scale");case"horizontal":return(0,r.t)("Horizontal");case"mouseTilt":return(0,r.t)("3D Tilt");case"transparency":return(0,r.t)("Transparency");case"vertical":return(0,r.t)("Vertical")}};function y(e){switch(e){case"blur":return n.Blur;case"horizontal":return a.Horizontal;case"mouseTrack":return l.MouseTrack;case"rotate":return s.Rotate;case"scale":return c.Scale;case"mouseTilt":return d.Tilt;case"transparency":return u.Transparency;case"vertical":return p.Vertical}}const g=(e,t)=>{const o={};for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(o[(0,i.capByPrefix)(e,r)]=t[r]);return o},b=e=>{const t={};for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&Object.assign(t,g(o,e[o]));return t},h=e=>!!e("enabled")},98904:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Async",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(10301))&&n.__esModule?n:{default:n};var n;const a=o(17585),l=o(46234);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){switch(e.state){case"INACTIVE":switch(t.type){case"idle":case"loading":return{...e,state:"idle"===t.type?"IDLE":"LOADING"}}break;case"LOADING":switch(t.type){case"load_success":case"load_fail":return{...e,state:"IDLE",vChoices:"load_success"===t.type?t.choices:[]}}break;case"IDLE":switch(t.type){case"search_changed":return{...e,state:"HAS_INPUT",sChoices:[],search:t.search};case"value_changed":return{...e,vChoices:t.choices}}break;case"HAS_INPUT":switch(t.type){case"search_erased":return{...e,state:"IDLE",sChoices:[],search:""};case"search_changed":return{...e,sChoices:[],search:t.search};case"search_debounce_success":return{...e,state:"FETCHING"}}break;case"FETCHING":switch(t.type){case"fetch_found":return{...e,state:"FETCH_FOUND",sChoices:t.choices};case"fetch_not_found":return{...e,state:"FETCH_NOT_FOUND",sChoices:[]};case"search_erased":return{...e,state:"IDLE",sChoices:[],search:""};case"search_changed":return{...e,state:"HAS_INPUT",sChoices:[],search:t.search}}break;case"FETCH_FOUND":switch(t.type){case"value_changed":return{...e,state:"SELECTED",vChoices:t.choices};case"search_erased":return{...e,state:"IDLE",sChoices:[],search:""};case"search_changed":return{...e,state:"HAS_INPUT",sChoices:[],search:t.search}}break;case"FETCH_NOT_FOUND":switch(t.type){case"search_erased":return{...e,state:"IDLE",sChoices:[],search:""};case"search_changed":return{...e,state:"HAS_INPUT",sChoices:[],search:t.search}}break;case"SELECTED":switch(t.type){case"value_changed":return{...e,vChoices:t.choices};case"search_erased":return{...e,state:"IDLE",sChoices:[],search:""};case"search_changed":return{...e,state:"HAS_INPUT",sChoices:[],search:t.search}}}return e}const d={state:"INACTIVE",vChoices:[],sChoices:[],search:""};function u(e){let{value:t,title:o}=e;return r.default.createElement(a.MultiSelectItem,{key:t,title:o,value:t})}const p=e=>{let{placeholder:t,choices:o,value:{value:n},config:s,onChange:p}=e;const[f,m]=(0,r.useReducer)(c,d),y=function(e,t){const[o,i]=(0,r.useState)(e);return(0,r.useEffect)((()=>{const t=setTimeout((()=>{i(e)}),1e3);return()=>{clearTimeout(t)}}),[e]),o}(f.search),g=(0,r.useRef)(),b=(0,r.useRef)([]),{vChoices:h,sChoices:v}=f,{useAsSimpleSelect:S=!1,showArrow:w=!1}=s??{},x=(0,r.useCallback)((e=>{const t=b.current,o=[...h,...v],r=e.map((e=>o.find((t=>t.value===e)))).filter((e=>void 0!==e)),n=i.default.difference(e,i.default.pluck(v,"value"));(0===v.length||n.length>0||r.length{let e;return 0===n.length?m({type:"idle"}):n.length>0&&(m({type:"loading"}),e=new AbortController,o.load(n,e.signal).then((t=>{e.signal.aborted||(b.current=t,m({type:"load_success",choices:t}))})).catch((()=>{e.signal.aborted||m({type:"load_fail"})}))),()=>{e?.abort()}}),[]),(0,r.useEffect)((()=>{if(""!==y){m({type:"search_debounce_success"});const e=new AbortController;g.current=e,o.search(y,e.signal).then((t=>{e.signal.aborted||(t.length>0?m({type:"fetch_found",choices:t}):m({type:"fetch_not_found"}))})).catch((()=>{e.signal.aborted||m({type:"fetch_not_found"})}))}}),[y]),(0,r.useEffect)((()=>{"IDLE"===f.state&&(b.current=f.vChoices)}),["IDLE"===f.state]);const M="SELECTED"===f.state?(0,l.mergeChoices)((0,l.missingChoices)(n,f.vChoices),b.current,f.sChoices):(0,l.mergeChoices)((0,l.missingChoices)(n,f.vChoices),f.vChoices,f.sChoices);return r.default.createElement(a.MultiSelect,{value:n,valueIsLoading:"LOADING"===f.state,placeholder:t,search:!0,searchIsLoading:"FETCHING"===f.state,searchIsEmpty:"FETCH_NOT_FOUND"===f.state,onChange:x,useAsSimpleSelect:S,showArrow:w,onSearchChange:e=>{g.current?.abort(),m(""===e?{type:"search_erased"}:{type:"search_changed",search:e})}},M.map(u))}},21255:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Sync",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(17585),n=o(46234);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}function l(e){let{value:t,title:o}=e;return r.default.createElement(i.MultiSelectItem,{key:t,title:o,value:t})}const s=e=>{let{choices:t,value:{value:o},placeholder:a,config:s,onChange:c}=e;const{useAsSimpleSelect:d=!1,showArrow:u=!1}=s??{},[p,f]=(0,r.useState)(""),m=(0,n.searchChoices)(p,t),y=(0,r.useCallback)((e=>c({value:e})),[c]);return r.default.createElement(i.MultiSelect,{value:o,placeholder:a,search:s?.search??!1,searchIsEmpty:0===m.length,useAsSimpleSelect:d,showArrow:u,onChange:y,onSearchChange:f},m.map(l))}},14358:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return a},fromElementModel:function(){return l},toElementModel:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(63300)),i=o(28197);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const a={value:[]},l=e=>{let t;try{t=JSON.parse(r.read(e("value"))??"[]")}catch(e){t=a.value}return Array.isArray(t)&&t.length?{value:t.reduce(((e,t)=>{const o=(0,i.read)(t);return o&&e.push(o),e}),[])}:a},s=e=>({value:JSON.stringify(e.value)})},48438:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MultiSelect",{enumerable:!0,get:function(){return s}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(46234),a=o(21255),l=o(98904),s=e=>(0,n.isChoicesSync)(e.choices)?r.default.createElement(r.default.Fragment,null,e.label,r.default.createElement(a.Sync,{...e,choices:e.choices})):r.default.createElement(r.default.Fragment,null,e.label,r.default.createElement(l.Async,{...e,choices:e.choices}))},46234:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isChoicesSync:function(){return c},valueChoices:function(){return d},missingChoices:function(){return u},searchChoices:function(){return p},mergeChoices:function(){return f}});const r=(i=o(10301))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(63300)),a=o(64985),l=o(6085);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e){return Array.isArray(e)}function d(e,t){return t.filter((t=>e.includes(t.value)))}function u(e,t){return r.default.difference(e,r.default.pluck(t,"value")).map((e=>({title:(0,l.printf)((0,a.t)("? (%s)"),n.read(e)??"?"),value:e})))}function p(e,t){return""===e?t:t.filter((t=>{let{title:o}=t;return o.toLowerCase().includes(e.toLowerCase())}))}function f(e,t){for(var o=arguments.length,r=new Array(o>2?o-2:0),i=2;i{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return i},fromElementModel:function(){return n},toElementModel:function(){return a}});const r=o(73904),i={value:0},n=e=>({value:r.NumberSpec.read(e("value"))}),a=e=>({value:e.value})},54054:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Number",{enumerable:!0,get:function(){return u}});const r=o(47885),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(4287),a=o(32625),l=o(49863),s=o(78438),c=o(55250);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=e=>{let{className:t,onChange:o,value:{value:d},config:u,label:p}=e;const f=u?.updateRate??16,m=u?.min??0,y=u?.max??100,g=u?.step??1,b=u?.size??"short",h=u?.spinner??!0,v=(0,i.useCallback)((0,l.pipe)((0,c.wrap)("value"),o),[o]),S=(0,i.useCallback)((e=>(0,s.clamp)(e,m,y)),[m,y]),w=(0,i.useCallback)((0,r.mPipe)(S,v),[S,v]),[x,M]=(0,a.useDebouncedOnChange)(d,w,f),T=(0,i.useCallback)((0,r.mPipe)((()=>x),(0,s.add)(g),S,M),[x,g]),P=(0,i.useCallback)((0,r.mPipe)((()=>x),(0,s.subtractR)(g),S,M),[x,g]);return i.default.createElement(i.default.Fragment,null,p,i.default.createElement(n.NumberComponent,{className:t,onChange:M,onIncrease:T,onDecrease:P,value:x,size:b,spinner:h}))}},93528:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return i}});const o=void 0,r=()=>{},i=()=>({})},55530:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Order",{enumerable:!0,get:function(){return d}});const r=l(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=l(o(33364)),a=o(26713);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=()=>{},d=e=>{let{className:t,config:o,label:l}=e;const s=o?.onChange??c,d=o?.disable??"none",u=(0,i.useCallback)((()=>!(0,a.isDisabled)("prev",d)&&s("prev")),[s,d]),p=(0,i.useCallback)((()=>!(0,a.isDisabled)("next",d)&&s("next")),[s,d]),f=o?.align??"horizontal";return i.default.createElement("div",{className:(0,r.default)(t,"brz-ed-option__order flex justify-center items-center p-[13px_0]","brz-ed-option__order__"+("vertical"===f?"vertical flex-col p-[7px_0]":"horizontal"))},l,i.default.createElement("span",{title:(0,a.firstText)(f),onClick:u,className:"flex"},i.default.createElement(n.default,{icon:(0,a.firstArrow)(f),className:(0,r.default)("transition-[color] duration-200 ease-linear delay-[0s] text-white text-[13px] [&:not(.brz-ed__disabled)]:hover:text-brand-primary",{"brz-ed__disabled !text-gray-light cursor-default":(0,a.isDisabled)("prev",d)})})),i.default.createElement("span",{title:(0,a.secondText)(f),onClick:p,className:"flex"},i.default.createElement(n.default,{icon:(0,a.secondArrow)(f),className:(0,r.default)("transition-[color] duration-200 ease-linear delay-[0s] text-white text-[13px] [&:not(.brz-ed__disabled)]:hover:text-brand-primary",{"brz-ed__disabled !text-gray-light cursor-default":(0,a.isDisabled)("next",d)})})))}},26713:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDisabled:function(){return i},firstText:function(){return n},secondText:function(){return a},firstArrow:function(){return l},secondArrow:function(){return s}});const r=o(64985),i=(e,t)=>"all"===t||t===e,n=e=>{switch(e){case"horizontal":return(0,r.t)("Move left");case"vertical":return(0,r.t)("Move up")}},a=e=>{switch(e){case"horizontal":return(0,r.t)("Move right");case"vertical":return(0,r.t)("Move down")}},l=e=>{switch(e){case"horizontal":return"nc-left-arrow-heavy";case"vertical":return"nc-arrow-up"}},s=e=>{switch(e){case"horizontal":return"nc-right-arrow-heavy";case"vertical":return"nc-down-arrow-heavy"}}},48835:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return m},toElementModel:function(){return y},defaultValue:function(){return g}});const r=o(47885),i=o(52662),n=f(o(48738)),a=f(o(20059)),l=o(49863),s=f(o(90361)),c=f(o(73904)),d=f(o(59638)),u=o(22741);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const m=(0,r.parseStrict)({type:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("type"),d.read,a.fromString),(0,u.onNullish)("grouped")),value:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("value"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempValue:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempValue"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),unit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("suffix"),d.read,n.fromString),(0,u.onNullish)("px")),tempUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),top:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("top"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempTop:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempTop"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),topUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("topSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),tempTopUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempTopSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),right:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("right"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempRight:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempRight"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),rightUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("rightSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),tempRightUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempRightSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),bottom:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("bottom"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempBottom:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempBottom"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),bottomUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("bottomSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),tempBottomUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempBottomSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),left:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("left"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempLeft:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempLeft"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),leftUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("leftSuffix"),d.read,n.fromString),(0,u.onNullish)("px")),tempLeftUnit:(0,l.pipe)((0,l.mPipe)((0,i.callGetter)("tempLeftSuffix"),d.read,n.fromString),(0,u.onNullish)("px"))}),y=e=>({type:e.type,value:e.value,tempValue:e.tempValue,suffix:e.unit,tempSuffix:e.tempUnit,top:e.top,tempTop:e.tempTop,topSuffix:e.topUnit,tempTopSuffix:e.tempTopUnit,right:e.right,tempRight:e.tempRight,rightSuffix:e.rightUnit,tempRightSuffix:e.tempRightUnit,bottom:e.bottom,tempBottom:e.tempBottom,bottomSuffix:e.bottomUnit,tempBottomSuffix:e.tempBottomUnit,left:e.left,tempLeft:e.tempLeft,leftSuffix:e.leftUnit,tempLeftSuffix:e.tempLeftUnit}),g={type:"grouped",value:s.Zero,tempValue:s.Zero,unit:"px",tempUnit:"px",top:s.Zero,tempTop:s.Zero,topUnit:"px",tempTopUnit:"px",right:s.Zero,tempRight:s.Zero,rightUnit:"px",tempRightUnit:"px",bottom:s.Zero,tempBottom:s.Zero,bottomUnit:"px",tempBottomUnit:"px",left:s.Zero,tempLeft:s.Zero,leftUnit:"px",tempLeftUnit:"px"}},24054:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Padding",{enumerable:!0,get:function(){return u}});const r=d(o(27378)),i=d(o(62687)),n=o(83983),a=o(49863),l=o(6086),s=d(o(90361));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const u=e=>{let{value:t,onChange:o,label:c,config:d}=e;const u=(0,r.useCallback)((0,a.pipe)((e=>i.setType(e,t)),o),[t,o]),{value:p,unit:f,top:m,topUnit:y,right:g,rightUnit:b,bottom:h,bottomUnit:v,left:S,leftUnit:w}=t,x=(0,r.useMemo)((()=>({all:{number:p,unit:f},top:{number:m,unit:y},right:{number:g,unit:b},bottom:{number:h,unit:v},left:{number:S,unit:w}})),[t,m,g,h,S,f,y,b,v,w]),M=(0,r.useCallback)((0,a.mPipe)(((e,o)=>(0,a.mPipe)(s.fromNumber,(o=>(0,n.valueSetter)(e)(o,t)))(o)),o),[o,t]),T=(0,r.useMemo)((()=>(d?.units??["px","%"]).map((e=>({value:e,title:e})))),[d]),P=(0,r.useCallback)((0,a.pipe)(((e,o)=>(0,n.unitSetter)(e)(o,t)),o),[o,t]);return r.default.createElement(l.Spacing,{label:c,type:t.type,value:x,units:T,onType:u,onValue:M,onUnit:P,getIcon:n.getIcon,step:1,min:0,max:100})}},62687:(e,t,o)=>{"use strict";var r,i;Object.defineProperty(t,"__esModule",{value:!0}),r=o(62973),i=t,Object.keys(r).forEach((function(e){"default"===e||Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(i,e,{enumerable:!0,get:function(){return r[e]}})}))},83983:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromNumberSlider:function(){return u},getIcon:function(){return p},valueSetter:function(){return f},unitSetter:function(){return m}});const r=d(o(90361)),i=o(62687),n=o(77725),a=o(49863),l=o(55250),s=d(o(21218));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const u=(0,n.readWithParser)({number:(0,a.mPipe)((0,l.prop)("number"),r.fromNumber),unit:e=>e.unit}),p=s.getIcon,f=e=>{switch(e){case"all":return i.setValue;case"top":return i.setTop;case"right":return i.setRight;case"bottom":return i.setBottom;case"left":return i.setLeft}},m=e=>{switch(e){case"all":return i.setUnit;case"top":return i.setTopUnit;case"right":return i.setRightUnit;case"bottom":return i.setBottomUnit;case"left":return i.setLeftUnit}}},16931:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return s},fromElementModel:function(){return c},toElementModel:function(){return d}});const r=o(47885),i=l(o(95945)),n=l(o(59638));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const s={value:void 0},c=e=>({value:(0,r.pass)(i.is)(n.read(e("value"))??"")}),d=e=>({value:e.value})},42815:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PayPal",{enumerable:!0,get:function(){return c}});const r=o(47885),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(46399),a=o(49863),l=o(95945);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{onChange:t,value:o,label:s}=e;const[c,d]=(0,i.useState)(o.value??""),u=(0,i.useCallback)((0,a.pipe)((0,a.always)(c),(0,r.pass)(l.is),(e=>t({value:e})),(()=>Promise.resolve())),[t,c]),p=(0,i.useCallback)((0,a.pipe)((()=>d(o.value??"")),(()=>Promise.resolve())),[o.value]);return i.default.createElement(n.PayPal,{label:s,value:c,onChange:d,onSave:u,onCancel:p})}},14224:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return i}});const o=void 0,r=()=>{},i=()=>({})},38819:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getTrigger:function(){return c},Popover:function(){return d}});const r=s(o(27378)),i=o(40333),n=s(o(62893)),a=o(38958),l=o(56318);function s(e){return e&&e.__esModule?e:{default:e}}const c=e=>{switch(typeof e){case"object":return r.default.createElement(a.Html,e);case"string":return r.default.createElement(l.Icon,{icon:e})}},d=e=>{let{className:t,config:o,options:a,toolbar:l}=e;return a?.length?r.default.createElement(i.Popover,{title:o?.title,trigger:c(o?.icon??"nc-cog"),className:t,placement:o?.placement??"top",size:o?.size??"medium",toolbar:l,clickOutsideExceptions:[".brz-ed-fixed",".media-modal",".media-modal-backdrop",...l?[".brz-ed-sidebar__right"]:[]]},r.default.createElement(n.default,{wrapOptions:!1,data:a,toolbar:l})):null}},38958:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Html",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t,content:o,...n}=e;const a=(0,i.default)("brz-ed-popover__tooltip--icon-custom",t);return r.default.createElement("div",{...n,className:a,dangerouslySetInnerHTML:{__html:o??""}})}},56318:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(33364));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{icon:t}=e;return r.default.createElement(i.default,{icon:t})}},37895:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return n},fromElementModel:function(){return a},toElementModel:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(28197));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const n={value:""},a=e=>({value:r.read(e("value"))}),l=e=>({value:e.value})},64406:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RadioGroup",{enumerable:!0,get:function(){return c}});const r=s(o(27378)),i=s(o(28197)),n=o(61046),a=o(74224);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const c=e=>{let{value:{value:t},choices:o,onChange:l,label:s}=e;const c=(0,r.useCallback)((e=>l({value:e})),[l,t]);return r.default.createElement(r.default.Fragment,null,s,r.default.createElement(n.RadioGroup2,{onChange:c},o.map(((e,o)=>{let{value:n,icon:l,title:s}=e;return r.default.createElement(a.Item,{title:s??"",key:o,icon:l,value:n,active:i.eq(n,t)})}))))}},29707:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return s},fromElementModel:function(){return c},toElementModel:function(){return d}});const r=o(52662),i=o(47885),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(73904)),a=o(49863);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s={from:0,to:100},c=(0,i.parseStrict)({from:(0,i.or)((0,i.mPipe)((0,r.callGetter)("from"),n.read),(0,a.always)(s.from)),to:(0,i.or)((0,i.mPipe)((0,r.callGetter)("to"),n.read),(0,a.always)(s.to))}),d=e=>({...e})},54727:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Range",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(48995),n=o(32625),a=o(50593);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{let{className:t,onChange:o,value:l,config:s={},label:c}=e;const[d,u]=(0,n.useThrottleOnChange)(l,o,s.updateRate??10,a.eq),p=(0,r.useCallback)((e=>u({from:e,to:d.to})),[u,d.to]),f=(0,r.useCallback)((e=>u({to:e,from:d.from})),[u,d.from]);return r.default.createElement(r.default.Fragment,null,c,r.default.createElement(i.RangeSlider,{className:t,min:s.min??0,max:s.max??100,step:s.step??1,start:d.from,end:d.to,unit:s.unit,onChangeStart:p,onChangeEnd:f,startLabel:s.startLabel,endLabel:s.endLabel}))}},50593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"eq",{enumerable:!0,get:function(){return o}});const o=(e,t)=>e.from===t.from&&e.to===t.to},55998:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return i}});const o=void 0,r=()=>{},i=()=>({})},66486:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SavedBlockOption",{enumerable:!0,get:function(){return y}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),n=o(74521),a=o(62948),l=(s=o(92823))&&s.__esModule?s:{default:s};var s;const c=o(97045),d=o(64985),u=o(46065),p=o(35192);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}const m=e=>({isAuthorized:"connected"===e.authorized||"pending"===e.authorized,pageBlocks:(0,c.pageDataNoRefsSelector)(e),extraFontStyles:(0,c.extraFontStylesSelector)(e)}),y=e=>{let{className:t,config:o}=e;const[s,c]=(0,r.useState)(!1),{isAuthorized:f,pageBlocks:{items:y},extraFontStyles:g}=(0,i.useSelector)(m,i.shallowEqual),{blockId:b,blockType:h="normal",title:v,tooltipContent:S,icon:w}=o||{},x=(0,r.useRef)(!1);return(0,r.useEffect)((()=>(x.current=!0,()=>{x.current=!1})),[]),r.default.createElement(n.SavedBlock,{onClick:async()=>{if(s)return;if(!b)return a.ToastNotification.error((0,d.t)("Could not Create Saved Block"));const e=(0,p.getBlock)({pageItems:y,blockId:b,blockType:h});if(!e){const e="normal"===h?(0,d.t)("Could not Create Saved Block"):(0,d.t)("Could not Create Saved Popup");return a.ToastNotification.error(e)}const t=(0,u.getWhiteLabel)(),o=async()=>{try{await(0,p.handleCreateSaveBlock)({blockType:h,block:e,extraFontStyles:g,blockId:b})}catch(e){if((0,p.isError)(e)){const{message:t}=e;return a.ToastNotification.error(t)}if((0,p.isWarn)(e)){const{message:t,hideAfter:o}=e;return a.ToastNotification.warn(t,o)}return a.ToastNotification.error((0,d.t)("Something went wrong"))}};if(c(!0),t||f)await o();else{const e={mode:"stack",prompt:"authorization",props:{onClose:o,onSkip:o,onSuccess:o}};l.default.open(e)}x.current&&c(!1)},className:t,title:v??(0,d.t)("Add"),icon:w??"nc-save-section",tooltipContent:S,loading:s})}},35192:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isError:function(){return p},isWarn:function(){return f},getBlock:function(){return y},handleCreateSaveBlock:function(){return g}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64187),a=o(64985),l=o(78438),s=o(92636),c=o(48630),d=o(21486),u=o(6804),p=e=>(0,c.isObject)(e)&&"error"===e.type,f=e=>(0,c.isObject)(e)&&"warn"===e.type,m=(e,t)=>{let{value:o}=e;return!!o&&o._id===t},y=e=>{let t,{pageItems:o,blockId:r,blockType:i}=e;return t="normal"===i?o.find((e=>m(e,r))):(0,s.findDeep)(o,(e=>m(e,r))).obj,t},g=async e=>{let{block:t,blockType:o,blockId:i,extraFontStyles:s}=e;const c={extraFontStyles:s,type:o};let p;try{p=await(0,d.browserSupports)()}catch(e){p=!1}if(p){const e=document.getElementById(i);if(e){const{src:t,width:o,height:r}=await(0,d.makeNodeScreenshot)(e).catch((()=>({src:void 0,width:void 0,height:void 0})));if(t&&(0,l.isNumber)(o)&&(0,l.isNumber)(r)){const{id:e}=await(0,n.createBlockScreenshot)({base64:t,blockType:"saved"}).catch((()=>({id:void 0})));e&&(c._thumbnailSrc=e,c._thumbnailWidth=o,c._thumbnailHeight=r,c._thumbnailTime=Date.now())}}}const f=r.default.getAll(),m={data:t,meta:c,uid:(0,u.uuid)(),dataVersion:1};switch(o){case"normal":try{await(0,n.createSavedBlock)(m,f)}catch(e){throw{message:(0,a.t)("Could not Create Saved Block"),type:"error"}}break;case"popup":try{await(0,n.createSavedPopup)(m,f)}catch(e){throw{message:(0,a.t)("Could not Create Saved Popup"),type:"error"}}}if(!p)throw{message:(0,a.t)("Your block was saved without screenshot, browser is not compatible"),type:"warn",hideAfter:5}}},91381:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Async",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(33364))&&n.__esModule?n:{default:n};var n;const a=o(64350),l=o(64985);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{const[t,o]=(0,r.useState)(!1),[n,s]=(0,r.useState)([]),[c,d]=(0,r.useState)(!1);if((0,r.useEffect)((()=>{const t=new AbortController;return e.choices.load(t.signal).then((e=>{t.signal.aborted||(o(!0),s(e))})).catch((()=>{t.signal.aborted||d(!0)})),()=>{t?.abort()}}),[e.choices]),!t)return r.default.createElement("div",{className:"brz-ed-option-type__select-dev__spinner-container"},r.default.createElement(i.default,{icon:"nc-circle-02",className:"brz-ed-option-type__select-dev__spinner brz-ed-animated--spin"}));if(c)return r.default.createElement("p",{style:{color:"white"}},"Error");if(n.length)return r.default.createElement(a.Sync,{...e,choices:n});const u=[{title:e.choices.emptyLoad?.title??(0,l.t)("Don't have items"),value:""}];return r.default.createElement(a.Sync,{...e,choices:u})}},64350:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Sync",{enumerable:!0,get:function(){return d}});const r=c(o(60042)),i=c(o(27378)),n=o(65989),a=o(18624),l=o(33364),s=o(87369);function c(e){return e&&e.__esModule?e:{default:e}}const d=e=>{let{config:t,value:{value:o},placeholder:c,choices:d,onChange:u,className:p,iconClassName:f}=e;return i.default.createElement(a.Select2,{placeholder:c,size:t?.size,value:o,className:p,editable:t?.search??!1,onChange:e=>{u((0,s.toElement)(e))}},d.map(((e,t)=>{let o,{title:a,icon:s,value:c}=e;if(s){const e=(0,r.default)("brz--space-right",s.className,f);o=s.name?i.default.createElement(l.EditorIcon,{icon:s.name,className:e}):i.default.createElement("div",{className:e})}return i.default.createElement(n.Item,{key:t,value:c},o,a)})))}},15335:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return i},toElementModel:function(){return n},defaultValue:function(){return a}});const r=o(28197),i=e=>({value:(0,r.read)(e("value"))}),n=e=>({value:e.value}),a={value:""}},70151:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Select",{enumerable:!0,get:function(){return s}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(64350),a=o(91381),l=o(87369),s=e=>(0,l.isChoicesSync)(e.choices)?r.default.createElement(r.default.Fragment,null,e.label,r.default.createElement(n.Sync,{...e,choices:e.choices})):r.default.createElement(r.default.Fragment,null,e.label,r.default.createElement(a.Async,{...e,choices:e.choices}))},87369:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{toElement:function(){return o},isChoicesSync:function(){return r}});const o=e=>({value:e});function r(e){return Array.isArray(e)}},21499:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return i}});const o=void 0,r=()=>{},i=()=>({})},36067:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SidebarTabs",{enumerable:!0,get:function(){return g}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),n=(a=o(62893))&&a.__esModule?a:{default:a};var a;const l=o(56434),s=o(99897),c=o(49863),d=o(37203),u=o(55250),p=o(74215),f=o(93480);function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}const y=(0,c.pipe)(d.uiSelector,(0,u.prop)("rightSidebar")),g=e=>{let{tabs:t,toolbar:o}=e;const{alignment:a,lock:d,isOpen:u,activeTab:m}=(0,i.useSelector)(y),g=(0,i.useDispatch)(),b=(0,r.useCallback)((0,c.pipe)((()=>d?void 0:"manual"),(e=>(0,p.updateUI)("rightSidebar",{alignment:a,isOpen:u,lock:e,activeTab:m})),g),[g,a,u,d,m]),h=(0,r.useCallback)((0,c.pipe)((0,c.always)(a),f.nextAlign,(e=>(0,p.updateUI)("rightSidebar",{alignment:e,isOpen:u,lock:d,activeTab:m})),g),[g,a,u,d,m]),v=(0,r.useCallback)((0,c.pipe)((e=>(0,p.updateUI)("rightSidebar",{alignment:a,isOpen:u,lock:d,activeTab:e})),g),[g,a,u,d]);return r.default.createElement(l.RightSidebarTabs,{value:m??t[0]?.id,onChange:v,align:a,onAlign:h,locked:!!d,onLock:b},t.map((e=>{let{id:t,title:i,label:a,className:l,options:c}=e;return r.default.createElement(s.Tab,{key:t,value:t,title:i,label:a,className:l},r.default.createElement(n.default,{wrapOptions:!1,data:c,toolbar:o}))})))}},93480:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"nextAlign",{enumerable:!0,get:function(){return o}});const o=e=>{switch(e){case"right":return"left";case"left":return"right"}}},58447:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return i}});const o=void 0,r=()=>{},i=()=>({})},77707:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SidebarTabsButton",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(44010),n=o(49863),a=o(74215),l=o(23884),s=o(37203),c=o(55250);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=(0,n.pipe)(s.uiSelector,(0,c.prop)("rightSidebar")),p=e=>{let{config:t}=e;const o=(0,l.useDispatch)(),s=(0,l.useSelector)(u),c=(0,r.useCallback)((0,n.pipe)((()=>t?.tabId),(e=>(0,a.updateUI)("rightSidebar",{...s,isOpen:!0,activeTab:e})),o),[o,s]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.Button,{onClick:c,icon:t?.icon,align:t?.align},t?.text))}},39641:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return n},fromElementModel:function(){return a},toElementModel:function(){return l}});const r=o(73904),i=o(59638),n={value:0,unit:""},a=e=>({value:r.NumberSpec.read(e("value")),unit:i.String.read(e("suffix"))}),l=e=>({value:e.value,suffix:e.unit})},6994:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Slider",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(33779),n=o(32625),a=o(426);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{let{className:t,onChange:o,value:l,config:s={},label:c}=e;const d=s.debounceUpdate??!1,u=(0,r.useRef)(),[p,f]=(0,r.useState)(l),[m,y]=(0,r.useState)(!1),g=(0,r.useCallback)(((e,t)=>{f({value:e.number,unit:e.unit}),y(t.editing)}),[f,y]);return(0,n.useThrottleEffect)((()=>{(0,a.eq)(l,p)||d&&m||(o(p),u.current=p)}),Math.max(0,s?.updateRate??16),[p.value,p.unit,d,m]),(0,r.useEffect)((()=>{u.current&&(0,a.eq)(l,u.current)||f(l)}),[l.value,l.unit]),r.default.createElement(r.default.Fragment,null,c,r.default.createElement(i.NumberSlider,{className:t,min:s.min??0,max:s.max??100,inputMin:s?.inputMin,inputMax:s?.inputMax,step:s.step??1,value:{number:p.value,unit:p.unit},onChange:g,units:s.units??[]}))}},426:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"eq",{enumerable:!0,get:function(){return o}});const o=(e,t)=>e.value===t.value&&e.unit===t.unit},59981:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return i},fromElementModel:function(){return n},toElementModel:function(){return a}});const r=o(59638),i={value:""},n=e=>({value:r.String.read(e("value"))}),a=e=>({value:e.value})},90801:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Switch",{enumerable:!0,get:function(){return a}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(1014),a=e=>{let{onChange:t,config:o,className:i,value:{value:a},label:l}=e;const s=o?.on??"on",c=o?.off??"off";return r.default.createElement(r.default.Fragment,null,l,r.default.createElement(n.Switch,{className:i,value:a===s,onChange:e=>t({value:e?s:c})}))}},82080:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return i},fromElementModel:function(){return n},toElementModel:function(){return a}});const r=o(28197),i={value:""},n=e=>({value:(0,r.read)(e("value"))}),a=e=>({value:e.value})},23256:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tabs",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(10301),n=(a=o(62893))&&a.__esModule?a:{default:a};var a;const l=o(41271),s=o(99897);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{let{tabs:t=[],onChange:o,value:{value:a},config:c,toolbar:d,className:u}=e;const[p,f]=(0,r.useState)(a),m=c?.position??"top",y=c?.align??"center",g=(0,r.useCallback)(f,[a]);return(0,r.useEffect)((()=>{c?.saveTab&&o({value:p})}),[p]),r.default.createElement(l.Tabs,{align:y,value:p,onChange:g,position:m,showSingle:c?.showSingle??!1,className:u},(0,i.sortBy)(t,(e=>{let{position:t=100}=e;return t})).map((e=>{let{id:t,title:o,label:i,options:a,className:l}=e;return r.default.createElement(s.Tab,{key:t,value:t,title:o,label:i,className:l},r.default.createElement(n.default,{wrapOptions:!1,data:a,toolbar:d}))})))}},52329:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return S},elementModelToNoEmpty:function(){return w},elementModelToEmpty:function(){return x},fromElementModel:function(){return M},toElementModel:function(){return T}});const r=o(47885),i=o(93873),n=v(o(404)),a=v(o(86683)),l=v(o(59990)),s=v(o(16423)),c=o(49863),d=o(2277),u=v(o(73904)),p=o(77725),f=v(o(59638)),m=o(22741),y=o(27490),g=o(69738),b=o(4707);function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const S={blur:0,opacity:0,hex:n.Black,horizontal:0,vertical:0,tempPalette:void 0,tempBlur:1,tempOpacity:1,tempHorizontal:0,tempVertical:0},w=(0,p.readWithParser)({opacity:(0,c.mPipe)((0,i.call)("colorOpacity"),u.read,s.fromNumber,g.fromOpacity),blur:(0,c.mPipe)((0,i.call)("blur"),u.read,l.fromNumber,y.fromBlur),palette:(0,p.optional)((0,c.mPipe)((0,i.call)("colorPalette"),f.read,a.fromString)),hex:(0,c.mPipe)((0,i.call)("colorHex"),f.read,n.fromString),horizontal:(0,c.mPipe)((0,i.call)("horizontal"),u.read),vertical:(0,c.mPipe)((0,i.call)("vertical"),u.read)}),x=(0,r.parseStrict)({opacity:()=>0,tempOpacity:(0,c.pipe)((0,c.mPipe)((0,i.call)("tempColorOpacity"),u.read,s.fromNumber,g.fromOpacity),(0,m.onNullish)(S.tempOpacity)),blur:()=>0,tempBlur:(0,c.pipe)((0,c.mPipe)((0,i.call)("tempBlur"),u.read,l.fromNumber,y.fromBlur),(0,m.onNullish)(S.tempBlur)),tempPalette:(0,p.optional)((0,c.mPipe)((0,i.call)("tempColorPalette"),f.read,a.fromString)),hex:(0,c.pipe)((0,c.mPipe)((0,i.call)("colorHex"),f.read,n.fromString),(0,m.onNullish)(S.hex)),horizontal:()=>0,tempHorizontal:(0,c.pipe)((0,c.mPipe)((0,i.call)("tempHorizontal"),u.read),(0,m.onNullish)(S.tempHorizontal)),vertical:()=>0,tempVertical:(0,c.pipe)((0,c.mPipe)((0,i.call)("tempVertical"),u.read),(0,m.onNullish)(S.tempVertical))}),M=e=>w(e)??x(e),T=(0,d.match)([b.isEmpty,e=>({colorHex:e.hex,colorOpacity:e.opacity,colorPalette:void 0,blur:e.blur,horizontal:e.horizontal,vertical:e.vertical})],[b.isNoEmpty,e=>({colorHex:e.hex,colorOpacity:e.opacity,colorPalette:e.palette,blur:e.blur,horizontal:e.horizontal,vertical:e.vertical,tempBlur:e.blur,tempHorizontal:e.horizontal,tempColorOpacity:e.opacity,tempColorPalette:e.palette,tempVertical:e.vertical})])},36823:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TextShadow",{enumerable:!0,get:function(){return b}});const r=m(o(60042)),i=g(o(27378)),n=o(23884),a=o(53550),l=m(o(22546)),s=o(97724),c=o(74215),d=o(81405),u=o(49863),p=g(o(4707)),f=g(o(2876));function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const b=e=>{let{onChange:t,value:o,className:m}=e;const y=(0,n.useDispatch)(),g=(0,r.default)("brz-ed-option__textShadow",m),b=(0,i.useCallback)((0,u.mPipe)(((e,t)=>{switch(t.isChanged){case"opacity":return p.setOpacity(e.opacity,o);case"blur":return p.setBlur(e.blur,o);case"hex":return p.setHex(e.hex,o);case"palette":return e.palette?p.setPalette(e.palette,o):o;case"horizontal":return p.setHorizontal(e.horizontal,o);case"vertical":return p.setVertical(e.vertical,o);case"select":return(0,f.valueFromSelectType)(e.select,o)}}),t),[t,o]),h=(0,i.useCallback)((()=>y((0,c.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:s.LeftSidebarOptionsIds.globalStyle}))),[y]),v=(0,i.useMemo)((()=>({...o,palette:f.getPalette(o),select:(0,f.selectTypeFromValue)(o)})),[o]),S=(0,i.useMemo)((()=>{const e=l.default.getAll(),{bottomTabsOrder:t=[],topTabsOrder:o=[]}=e.ui?.leftSidebar??{};return[...t,...o].includes(s.LeftSidebarOptionsIds.globalStyle)}),[]);return i.default.createElement(a.TextShadow,{opacity:!0,className:g,value:v,onChange:b,palette:(0,d.getColorPaletteColors)(),paletteOpenSettings:S?h:void 0,options:f.options})}},27490:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromBlur:function(){return n},toBlur:function(){return a}});const r=o(59990);var i;!function(e){e.noEmptyBlur="noEmptyBlur"}(i||(i={}));const n=e=>e!==r.empty?e:void 0,a=e=>e},69738:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromOpacity:function(){return n},toOpacity:function(){return a}});const r=o(16423);var i;!function(e){e.noEmptyOpacity="noEmptyOpacity"}(i||(i={}));const n=e=>e!==r.empty?e:void 0,a=e=>e},4707:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isEmpty:function(){return i},fromNoEmpty:function(){return n},isNoEmpty:function(){return a},fromEmpty:function(){return l},setHex:function(){return u},setPalette:function(){return p},setOpacity:function(){return f},setBlur:function(){return m},setHorizontal:function(){return y},setVertical:function(){return g}});const r=o(2277),i=e=>0===e.opacity,n=e=>({opacity:0,blur:0,vertical:0,horizontal:0,hex:e.hex,tempVertical:e.vertical,tempHorizontal:e.horizontal,tempBlur:e.blur,tempOpacity:e.opacity,tempPalette:e.palette}),a=e=>0!==e.opacity,l=e=>({opacity:e.tempOpacity,blur:e.tempBlur,horizontal:e.tempHorizontal,vertical:e.tempVertical,hex:e.hex,palette:e.tempPalette}),s=e=>0===e,c=e=>0!==e,d=e=>0!==e,u=(e,t)=>(0,r.match)([i,t=>({palette:void 0,horizontal:t.tempHorizontal,vertical:t.tempVertical,blur:t.tempBlur,opacity:t.tempOpacity,hex:e})],[a,t=>({...t,hex:e,palette:void 0})])(t),p=(e,t)=>(0,r.match)([i,t=>({palette:e,horizontal:t.tempHorizontal,vertical:t.tempVertical,blur:t.tempBlur,opacity:t.tempOpacity,hex:t.hex})],[a,t=>({...t,palette:e})])(t),f=(e,t)=>(0,r.match)([i,t=>(0,r.match)([s,()=>t],[c,e=>({...l(t),opacity:e})])(e)],[a,t=>(0,r.match)([s,()=>n(t)],[c,e=>({...t,opacity:e})])(e)])(t),m=(e,t)=>(0,r.match)([i,t=>(0,r.match)([s,()=>t],[d,e=>({...l(t),blur:e})])(e)],[a,t=>(0,r.match)([s,()=>n(t)],[d,e=>({...t,blur:e})])(e)])(t),y=(e,t)=>(0,r.match)([i,t=>0==e?t:{...l(t),horizontal:e}],[a,t=>({...t,horizontal:e})])(t),g=(e,t)=>(0,r.match)([i,t=>0==e?t:{...l(t),vertical:e}],[a,t=>({...t,vertical:e})])(t)},2876:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getPalette:function(){return s},options:function(){return c},selectTypeFromValue:function(){return d},valueFromSelectType:function(){return u}});const r=o(4707),i=o(2277),n=o(64985),a=o(47885),l=o(22741),s=(0,i.match)([r.isEmpty,()=>{}],[r.isNoEmpty,e=>e.palette]),c=[{id:"none",title:(0,n.t)("None")},{id:"shadow",title:(0,n.t)("Shadow")}],d=(0,i.match)([r.isEmpty,()=>"none"],[r.isNoEmpty,()=>"shadow"]),u=(0,a.or)((0,a.match2)([(0,l.is)("shadow"),r.isEmpty,(e,t)=>(0,r.fromEmpty)(t)],[(0,l.is)("none"),r.isNoEmpty,(e,t)=>(0,r.fromNoEmpty)(t)]),((e,t)=>t))},31180:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return i},fromElementModel:function(){return n},toElementModel:function(){return a}});const r=o(59638),i={value:""},n=e=>({value:r.String.read(e("value"))}),a=e=>({value:e.value})},5367:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Textarea",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(30023),n=o(32625);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{let{className:t,onChange:o,value:{value:a},config:l={},placeholder:s,label:c}=e;const[d,u]=(0,r.useState)(a);return(0,n.useDebouncedEffect)((()=>{a!==d&&o({value:d})}),1e3,[d]),r.default.createElement(r.default.Fragment,null,c,r.default.createElement(i.Textarea,{className:t,onChange:u,value:d,size:l.size??"auto",placeholder:s,rows:l.lines}))}},37802:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return i},fromElementModel:function(){return n},toElementModel:function(){return a}});const r=o(59638),i={value:""},n=e=>({value:r.String.read(e("value"))}),a=e=>({value:e.value})},33388:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Toggle",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),i=l(o(60042)),n=o(53225),a=o(4023);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{className:t,choices:o,value:{value:l},onChange:s,label:c}=e;const d=(0,i.default)("brz-ed-option__toggle",t);return o.length?r.default.createElement(r.default.Fragment,null,c,r.default.createElement(n.IconToggle,{value:l,onChange:e=>s({value:e}),className:d},o.map(((e,t)=>{let{icon:o,value:i,title:n}=e;return r.default.createElement(a.IconToggleItem,{key:t,value:i,icon:o,title:n})})))):null}},84547:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Rotate",{enumerable:!0,get:function(){return m}});const r=o(47885),i=p(o(27378)),n=o(33779),a=o(73469),l=o(26318),s=o(32625),c=o(64985),d=p(o(84626));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const f=[{value:"°",title:"°"}],m=e=>{let{value:t,onChange:o}=e;const u=(0,i.useCallback)((0,r.mPipe)(d.fromNumber,(e=>o({...t,degree:e}))),[t,o]),[p,m]=(0,s.useThrottleOnChange)(t.degree,u,200);return i.default.createElement(l.OptionWrapper,{className:"brz-ed-option"},i.default.createElement(a.OptionLabel,{label:(0,c.t)("Rotation")}),i.default.createElement(n.NumberSlider,{value:{number:p,unit:"°"},onChange:e=>{let{number:t}=e;return m(t)},step:1,min:-359,max:359,units:f}))}},5797:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return p},fromElementModel:function(){return f},toElementModel:function(){return m}});const r=o(47885),i=o(52662),n=o(6085),a=o(81447),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(86478)),s=o(16052),c=o(42723),d=o(55242);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p={active:void 0,rotate:void 0},f=(0,r.parseStrict)({active:(0,r.optional)((0,r.mPipe)((0,i.callGetter)("active"),(0,r.pass)(s.isActive))),rotate:(0,r.optional)((0,r.mPipe)((0,c.wrap)("rotate"),(0,r.pass)(d.isEnabled),l.fromElementModel))}),m=e=>{switch(e.type){case a.Type.active:return{active:e.active,...e.active?{[(0,n.capByPrefix)(e.active,"enabled")]:!0}:{}};case a.Type.enable:return{[(0,n.capByPrefix)(e.effect,"enabled")]:e.value,...e.active&&!e.value?{active:void 0}:{}};case a.Type.effect:if("rotate"===e.effect)return(0,d.flattenObject)({rotate:l.toElementModel(e.value)})}}},28596:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Transform",{enumerable:!0,get:function(){return g}});const r=y(o(27378)),i=o(10301),n=o(50987),a=o(64644),l=o(26318),s=o(72676),c=o(27303),d=o(49863),u=y(o(81447)),p=o(16052),f=o(55242);function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const g=e=>{let{className:t,label:o,value:m,onChange:y,config:g}=e;const{active:b}=m,h=g?.disabled??[],v=b?m[b]:void 0,S=b&&(0,f.effectOptions)(b),w=(0,r.useCallback)((e=>y(u.enable(e,!m[e],b===e))),[m,y]),x=(0,r.useCallback)((0,d.pipe)(u.active,y),[y]),M=(0,r.useMemo)((()=>b?e=>y(u.eff(b,e)):i.identity),[b,y]);return r.default.createElement("div",{className:t},r.default.createElement(l.OptionWrapper,{display:"block",className:"brz-ed-option"},o,r.default.createElement(a.FatIconsGrid,null,p.effects.map((e=>h.includes(e)?r.default.createElement(s.DisabledIcon,{key:e,icon:(0,f.effectIcon)(e),label:(0,f.effectTitle)(e)}):r.default.createElement(c.Icon,{key:e,id:e,active:b===e,checked:!!m[e],icon:(0,f.effectIcon)(e),label:(0,f.effectTitle)(e),onClick:x,onCheck:w}))))),v&&S?r.default.createElement(l.OptionWrapper,{className:"brz-ed-option"},r.default.createElement(n.Group,null,r.default.createElement(S,{value:v,onChange:M}))):null)}},81447:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Type:function(){return o},active:function(){return r},enable:function(){return i},eff:function(){return n}}),function(e){e.active="active",e.enable="enable",e.effect="effect"}(o||(o={}));const r=e=>({type:o.active,active:e}),i=(e,t,r)=>({type:o.enable,effect:e,value:t,active:r}),n=(e,t)=>({type:o.effect,effect:e,value:t})},86478:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return d},toElementModel:function(){return u}});const r=o(47885),i=o(52662),n=o(49863),a=c(o(73904)),l=c(o(84626));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const d=(0,r.parseStrict)({degree:(0,r.or)((0,n.mPipe)((0,i.callGetter)("degree"),a.read,l.fromNumber),(0,n.always)(0))}),u=e=>({...e})},16052:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{effects:function(){return o},isActive:function(){return r}});const o=["rotate"],r=e=>o.includes(e)},84626:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{is:function(){return i},fromNumber:function(){return n}});const r=o(47885),i=e=>e>=-359&&e<=359,n=(0,r.pass)(i)},42723:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"wrap",{enumerable:!0,get:function(){return i}});const r=o(6085),i=e=>t=>o=>t((0,r.capByPrefix)(e,o))},55242:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{effectIcon:function(){return a},effectTitle:function(){return l},effectOptions:function(){return s},prefixKeys:function(){return c},flattenObject:function(){return d},isEnabled:function(){return u}});const r=o(64985),i=o(6085),n=o(84547),a=e=>{if("rotate"===e)return"nc-captcha"},l=e=>{if("rotate"===e)return(0,r.t)("Rotate")};function s(e){if("rotate"===e)return n.Rotate}const c=(e,t)=>{const o={};for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(o[(0,i.capByPrefix)(e,r)]=t[r]);return o},d=e=>{const t={};for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&Object.assign(t,c(o,e[o]));return t},u=e=>!!e("enabled")},11150:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getValue",{enumerable:!0,get:function(){return l}});const r=o(69321),i=o(72833),n=o(21779),a=o(76819),l=(e,t,o,l)=>{const s=(0,i.getFontStyle)(l.fontStyle)||l,c={...a.defaultValue,...(0,a.fromElementModel)((t=>"fontStyle"===t?l.fontStyle:(0,r.defaultValueValue)({key:t,v:s,device:e})))};if(((e,t)=>Object.values(e).some((e=>e?.some((e=>e.id===t)))))(t,c.fontFamily))return c;const{group:d,font:u}=o,p=(0,i.fontTransform[d])(u).id;switch(d){case"config":case"blocks":case"google":return{...c,fontFamilyType:n.FontFamilyType.google,fontFamily:p};case"upload":return{...c,fontFamilyType:n.FontFamilyType.upload,fontFamily:p}}}},76819:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return f},fromElementModel:function(){return m},toElementModel:function(){return y}});const r=p(o(21779)),i=p(o(90361)),n=p(o(83111)),a=p(o(31705)),l=o(49863),s=p(o(59638)),c=p(o(73904)),d=o(93081);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const f={fontFamily:"",fontFamilyType:r.FontFamilyType.google,fontStyle:"",fontSize:i.unsafe(17),fontSizeSuffix:n.empty,fontWeight:a.empty,letterSpacing:0,lineHeight:i.unsafe(1)},m=e=>({fontFamily:(0,l.mPipe)((()=>e("fontFamily")),s.read)()??f.fontFamily,fontFamilyType:(0,l.mPipe)((()=>e("fontFamilyType")),s.read,r.fromString)()??f.fontFamilyType,fontStyle:(0,l.mPipe)((()=>e("fontStyle")),s.read)()??f.fontStyle,fontSize:(0,l.mPipe)((()=>e("fontSize")),c.read,i.fromNumber)()??f.fontSize,fontSizeSuffix:(0,l.mPipe)((()=>e("fontSizeSuffix")),s.read,n.fromString)()??f.fontSizeSuffix,fontWeight:(0,l.mPipe)((()=>e("fontWeight")),c.read,a.fromNumber)()??f.fontWeight,letterSpacing:(0,l.mPipe)((()=>e("letterSpacing")),c.read)()??f.letterSpacing,lineHeight:(0,l.mPipe)((()=>e("lineHeight")),c.read,i.fromNumber)()??f.lineHeight}),y=e=>(0,d.isFullFont)(e)?{fontStyle:"",fontFamily:e.fontFamily,fontFamilyType:e.fontFamilyType,fontSize:e.fontSize,fontSizeSuffix:e.fontSizeSuffix,fontWeight:e.fontWeight,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight}:(0,d.isFontFamily)(e)?{fontStyle:"",fontFamily:e.fontFamily,fontFamilyType:e.fontFamilyType,fontWeight:e.fontWeight}:(0,d.isFontSettings)(e)?{fontStyle:"",fontSize:e.fontSize,fontSizeSuffix:e.fontSizeSuffix,fontWeight:e.fontWeight,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight}:(0,d.isFontStyle)(e)?{fontStyle:e.fontStyle}:{}},70834:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Typography",{enumerable:!0,get:function(){return x}});const r=S(o(27378)),i=o(23884),n=o(74458),a=h(o(92823)),l=o(46338),s=h(o(22546)),c=o(97724),d=o(74215),u=o(97045),p=o(72833),f=S(o(83111)),m=S(o(31705)),y=o(64985),g=o(11150),b=S(o(93081));function h(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const w=()=>{a.default.open({prompt:"fonts",mode:"single"})},x=e=>{let{value:t,onChange:o,config:a}=e;const h=(0,i.useDispatch)(),v=(0,i.useSelector)(u.unDeletedFontsSelector),S=(0,i.useSelector)(u.deviceModeSelector),x=(0,i.useSelector)(u.getDefaultFontDetailsSelector),M=(0,r.useMemo)((()=>Object.entries(v).reduce(((e,t)=>{let[o,r]=t;return e[o]=r?.data.map(p.fontTransform[o]),e}),{})),[v]),T=(0,g.getValue)(S,M,x,t),P=(0,r.useCallback)(((e,t)=>{const r=!1!==a?.fontFamily;switch(t.isChanged){case"fontFamily":{const{id:t,type:i,weights:n}=e,a=b.fontFamily({...T,fontFamily:t,fontWeight:n.includes(T.fontWeight)?T.fontWeight:m.empty,fontFamilyType:i});return o(r?{...T,...a}:a)}case"fontStyle":return o(b.fontStyle(e));case"fontSize":case"fontWeight":case"letterSpacing":case"lineHeight":case"fontSizeSuffix":{const i=r?b.fullFont({...T,[t.isChanged]:e}):b.fontSettings({...T,[t.isChanged]:e});return o(i)}}}),[o,T]),C=(0,r.useCallback)((()=>{h((0,d.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:c.LeftSidebarOptionsIds.globalStyle}))}),[]),k=(0,r.useMemo)((()=>{const e=s.default.getAll(),{bottomTabsOrder:t=[],topTabsOrder:o=[]}=e.ui?.leftSidebar??{};return[...t,...o].includes(c.LeftSidebarOptionsIds.globalStyle)}),[]),_=[{id:"",title:(0,y.t)("Custom")},...(0,p.getFontStyles)()],O=(0,p.getWeightChoices)({type:T.fontFamilyType,family:T.fontFamily});return r.default.createElement(n.Typography,{onChange:P,showFontFamily:a?.fontFamily??!0,fonts:M,font:T.fontFamily,fontAdd:"admin"===(0,l.currentUserRole)()?w:void 0,fontAddLabel:(0,y.t)("Add New Font"),styles:_,style:T.fontStyle,styleOpenSettings:k?C:void 0,size:T.fontSize,sizeSuffix:T.fontSizeSuffix,sizeSuffixes:f.getSuffixChoices,weights:O,weight:T.fontWeight,lineHeight:T.lineHeight,letterSpacing:T.letterSpacing,letterSpacingMin:a?.letterSpacing?.min??-20,letterSpacingMax:a?.letterSpacing?.max??20,letterSpacingStep:.1,lineHeightMin:a?.lineHeight?.min??1,lineHeightMax:a?.lineHeight?.max??20,lineHeightStep:.1,sizeMin:a?.fontSize?.min??0,sizeMax:a?.fontSize?.max??300,sizeStep:1,letterSpacingLabel:(0,y.t)("Letter Sp."),lineHeightLabel:(0,y.t)("Line Hgt."),sizeLabel:(0,y.t)("Size"),styleLabel:(0,y.t)("Typography"),weightLabel:(0,y.t)("Weight")})}},93081:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fontStyle:function(){return l},isFontStyle:function(){return s},fontFamily:function(){return c},isFontFamily:function(){return d},fontSettings:function(){return u},isFontSettings:function(){return p},fullFont:function(){return f},isFullFont:function(){return m}});const r=a(o(21779)),i=a(o(83111));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}function a(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}const l=e=>({fontStyle:e}),s=e=>"string"==typeof e.fontStyle,c=e=>({fontFamilyType:e.fontFamilyType,fontWeight:e.fontWeight,fontFamily:e.fontFamily}),d=e=>r.is(e.fontFamilyType),u=e=>({fontSize:e.fontSize,fontWeight:e.fontWeight,fontSizeSuffix:e.fontSizeSuffix,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight}),p=e=>i.is(e.fontSizeSuffix),f=e=>({...c(e),...u(e)}),m=e=>d(e)&&p(e)},22079:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{types:function(){return Ee},default:function(){return ze}});const r=o(75727),i=o(66994),n=o(23276),a=o(57845),l=o(30734),s=o(14247),c=o(56041),d=o(99307),u=o(53440),p=o(70711),f=o(52292),m=o(59877),y=o(18741),g=o(30117),b=o(33121),h=o(34989),v=o(11094),S=o(79231),w=o(84035),x=o(55554),M=o(73107),T=o(48438),P=o(55530),C=o(42815),k=o(54727),_=o(66486),O=o(70151),E=o(36067),z=o(77707),B=o(90801),j=o(36823),N=o(28596),I=o(70834),L=_e(o(61042)),D=_e(o(98048)),F=_e(o(9508)),A=_e(o(38423)),R=_e(o(26536)),W=_e(o(262)),H=_e(o(90573)),V=_e(o(91669)),U=_e(o(55605)),G=_e(o(13856)),$=_e(o(12002)),Q=_e(o(12022)),Y=_e(o(8731)),Z=_e(o(81474)),K=_e(o(60890)),q=_e(o(19650)),X=_e(o(14139)),J=_e(o(28226)),ee=_e(o(25137)),te=_e(o(21840)),oe=_e(o(35636)),re=_e(o(53227)),ie=_e(o(98759)),ne=_e(o(27970)),ae=_e(o(82531)),le=_e(o(48038)),se=_e(o(83217)),ce=_e(o(1798)),de=_e(o(43706)),ue=_e(o(77609)),pe=_e(o(23117)),fe=_e(o(37178)),me=o(8027),ye=o(14539),ge=o(16298),be=o(46853),he=o(95867),ve=o(90788),Se=o(54054),we=o(24054),xe=o(38819),Me=o(64406),Te=o(6994),Pe=o(23256),Ce=o(5367),ke=o(33388);function _e(e){return e&&e.__esModule?e:{default:e}}const Oe={"alert-dev":ye.Alert,"animation-dev":i.Animation,"backgroundColor-dev":n.BackgroundColor,"button-dev":s.Button,"order-dev":P.Order,"codeMirror-dev":ge.CodeMirror,"colorPicker-dev":c.ColorPicker,"corners-dev":d.Corners,"boxShadow-dev":l.BoxShadow,"border-dev":a.Border,"filters-dev":p.Filters,"fileUpload-dev":u.FileUpload,"group-dev":g.Group,"grid-dev":y.Grid,"imageUpload-dev":S.ImageUpload,"iconPicker-dev":b.IconPicker,"iconsPicker-dev":v.IconsPicker,"iconSetter-dev":h.IconSetter,"inputText-dev":w.InputText,"internalLink-dev":x.InternalLink,"margin-dev":ve.Margin,"motion-dev":M.Motion,"multiSelect-dev":T.MultiSelect,"number-dev":Se.Number,"textarea-dev":Ce.Textarea,"radioGroup-dev":Me.RadioGroup,"range-dev":k.Range,"padding-dev":we.Padding,"paypal-dev":C.PayPal,"popover-dev":xe.Popover,"population-dev":r.Population,"select-dev":O.Select,"sidebarTabs-dev":E.SidebarTabs,"sidebarTabsButton-dev":z.SidebarTabsButton,"slider-dev":Te.Slider,"switch-dev":B.Switch,"tabs-dev":Pe.Tabs,"toggle-dev":ke.Toggle,"typography-dev":I.Typography,"textShadow-dev":j.TextShadow,"gallery-dev":f.Gallery,"gallery-for-gallery-dev":m.GalleryForGallery,"stateMode-dev":me.StateMode,"transform-dev":N.Transform,"savedBlock-dev":_.SavedBlockOption,"globalBlock-dev":he.GlobalBlockOption,"formApps-dev":be.FormApps},Ee={advancedSettings:L.default,blockThumbnail:D.default,button:F.default,savedBlock:se.default,globalBlock:Z.default,colorFields:R.default,colorPaletteEditor:H.default,colorPalette2:W.default,colorPicker2:V.default,fontFamily:U.default,fontStyle:G.default,fontStyleEditor:$.default,formApps:Q.default,grid:K.default,imageSetter:q.default,input:X.default,multiInputPicker:ee.default,multiPicker:te.default,popover:oe.default,popupConditions:re.default,gbConditions:Y.default,promptAddPopup:ie.default,promptIcon:ne.default,radioGroup:ae.default,checkGroup:A.default,select:ce.default,slider:de.default,stepper:ue.default,toggle:pe.default,tabs:fe.default,range2:le.default,integrationsApps:J.default,...Oe},ze=Ee},12163:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValues:function(){return Z},applyDefaultValueToOption:function(){return K}});const r=o(28342),i=o(11039),n=o(16055),a=o(15245),l=o(93999),s=o(1753),c=o(95076),d=o(17583),u=o(26768),p=o(15677),f=o(41509),m=o(94273),y=o(35881),g=o(54604),b=o(48880),h=o(9277),v=o(67042),S=o(32503),w=o(14112),x=o(98489),M=o(94910),T=o(51408),P=o(83185),C=o(25392),k=o(53175),_=o(68832),O=o(54701),E=o(14358),z=o(27982),B=o(93528),j=o(48835),N=o(16931),I=o(14224),L=o(37895),D=o(29707),F=o(55998),A=o(15335),R=o(21499),W=o(39641),H=o(59981),V=o(82080),U=o(52329),G=o(31180),$=o(37802),Q=o(5797),Y=o(76819),Z={"alert-dev":n.defaultValue,"animation-dev":a.defaultValue,"backgroundColor-dev":l.defaultValue,"border-dev":s.defaultValue,"boxShadow-dev":c.defaultValue,"button-dev":d.defaultValue,"codeMirror-dev":u.defaultValue,"colorPicker-dev":p.defaultValue,"corners-dev":f.defaultValue,"filters-dev":y.defaultValue,"fileUpload-dev":m.defaultValue,"gallery-dev":b.defaultValue,"gallery-for-gallery-dev":h.defaultValue,"grid-dev":S.defaultValue,"group-dev":w.defaultValue,"iconPicker-dev":x.defaultValue,"iconsPicker-dev":T.defaultValue,"iconSetter-dev":M.defaultValue,"imageUpload-dev":P.defaultValue,"inputText-dev":C.defaultValue,"internalLink-dev":k.defaultValue,"margin-dev":_.defaultValue,"motion-dev":O.defaultValue,"multiSelect-dev":E.defaultValue,"number-dev":z.defaultValue,"order-dev":B.defaultValue,"padding-dev":j.defaultValue,"paypal-dev":N.defaultValue,"popover-dev":I.defaultValue,"population-dev":r.defaultValue,"radioGroup-dev":L.defaultValue,"range-dev":D.defaultValue,"select-dev":A.defaultValue,"sidebarTabs-dev":R.defaultValue,"sidebarTabsButton-dev":R.defaultValue,"slider-dev":W.defaultValue,"stateMode-dev":i.defaultValue,"switch-dev":H.defaultValue,"tabs-dev":V.defaultValue,"textarea-dev":G.defaultValue,"textShadow-dev":U.defaultValue,"toggle-dev":$.defaultValue,"transform-dev":Q.defaultValue,"typography-dev":Y.defaultValue,"savedBlock-dev":F.defaultValue,"globalBlock-dev":v.defaultValue,"formApps-dev":g.defaultValue};function K(e,t){const o=Z[t];return o?Object.entries(o).reduce(((t,o)=>{let[r,i]=o;return t[r]=Object.prototype.hasOwnProperty.call(e,r)?e[r]:i,t}),e):e}},11214:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{_filter:function(){return a},filter:function(){return l}});const r=o(12833),i={"alert-dev":void 0,"animation-dev":void 0,"backgroundColor-dev":void 0,"border-dev":void 0,"boxShadow-dev":void 0,"button-dev":void 0,"codeMirror-dev":void 0,"colorPicker-dev":void 0,"corners-dev":void 0,"fileUpload-dev":void 0,"filters-dev":void 0,"gallery-dev":void 0,"gallery-for-gallery-dev":void 0,"grid-dev":r.withColumns,"group-dev":r.withOptions,"iconPicker-dev":void 0,"iconsPicker-dev":void 0,"iconSetter-dev":void 0,"imageUpload-dev":void 0,"inputText-dev":void 0,"internalLink-dev":void 0,"margin-dev":void 0,"motion-dev":void 0,"multiSelect-dev":void 0,"number-dev":void 0,"order-dev":void 0,"padding-dev":void 0,"paypal-dev":void 0,"popover-dev":r.withOptions,"population-dev":void 0,"radioGroup-dev":void 0,"range-dev":void 0,"select-dev":void 0,"sidebarTabs-dev":r.withTabs,"sidebarTabsButton-dev":void 0,"slider-dev":void 0,"stateMode-dev":r.withOptions,"switch-dev":void 0,"tabs-dev":r.withTabs,"textarea-dev":void 0,"textShadow-dev":void 0,"toggle-dev":void 0,"typography-dev":void 0,"transform-dev":void 0,"savedBlock-dev":void 0,"globalBlock-dev":void 0,"formApps-dev":void 0,tabs:r.withTabs,grid:r.withColumns,popover:r.withOptions},n=e=>i[e];function a(e,t){if(!e(t))return;const o=n(t.type);return o?o((t=>a(e,t)),t):t}function l(){for(var e=arguments.length,t=new Array(e),o=0;oa(t[0],e):a(t[0],t[1])}},90020:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fromElementModel",{enumerable:!0,get:function(){return X}});const r=o(28342),i=o(11039),n=o(16055),a=o(15245),l=o(93999),s=o(1753),c=o(95076),d=o(17583),u=o(26768),p=o(15677),f=o(41509),m=o(94273),y=o(35881),g=o(54604),b=o(48880),h=o(9277),v=o(67042),S=o(32503),w=o(14112),x=o(98489),M=o(94910),T=o(51408),P=o(83185),C=o(25392),k=o(53175),_=o(68832),O=o(54701),E=o(14358),z=o(27982),B=o(93528),j=o(48835),N=o(16931),I=o(14224),L=o(37895),D=o(29707),F=o(55998),A=o(15335),R=o(21499),W=o(58447),H=o(39641),V=o(59981),U=o(82080),G=o(52329),$=o(31180),Q=o(37802),Y=o(5797),Z=o(76819),K=o(12163),q={"alert-dev":n.fromElementModel,"animation-dev":a.fromElementModel,"backgroundColor-dev":l.fromElementModel,"border-dev":s.fromElementModel,"boxShadow-dev":c.fromElementModel,"button-dev":d.fromElementModel,"codeMirror-dev":u.fromElementModel,"colorPicker-dev":p.fromElementModel,"corners-dev":f.fromElementModel,"filters-dev":y.fromElementModel,"fileUpload-dev":m.fromElementModel,"gallery-dev":b.fromElementModel,"gallery-for-gallery-dev":h.fromElementModel,"grid-dev":S.fromElementModel,"group-dev":w.fromElementModel,"iconPicker-dev":x.fromElementModel,"iconsPicker-dev":T.fromElementModel,"iconSetter-dev":M.fromElementModel,"imageUpload-dev":P.fromElementModel,"inputText-dev":C.fromElementModel,"internalLink-dev":k.fromElementModel,"margin-dev":_.fromElementModel,"motion-dev":O.fromElementModel,"multiSelect-dev":E.fromElementModel,"number-dev":z.fromElementModel,"order-dev":B.fromElementModel,"padding-dev":j.fromElementModel,"paypal-dev":N.fromElementModel,"popover-dev":I.fromElementModel,"population-dev":r.fromElementModel,"radioGroup-dev":L.fromElementModel,"range-dev":D.fromElementModel,"select-dev":A.fromElementModel,"sidebarTabs-dev":R.fromElementModel,"sidebarTabsButton-dev":W.fromElementModel,"slider-dev":H.fromElementModel,"stateMode-dev":i.fromElementModel,"switch-dev":V.fromElementModel,"tabs-dev":U.fromElementModel,"textarea-dev":$.fromElementModel,"textShadow-dev":G.fromElementModel,"toggle-dev":Q.fromElementModel,"transform-dev":Y.fromElementModel,"typography-dev":Z.fromElementModel,"savedBlock-dev":F.fromElementModel,"globalBlock-dev":v.fromElementModel,"formApps-dev":g.fromElementModel},X=e=>t=>{const o=q[e]??(()=>({}));return(0,K.applyDefaultValueToOption)(o(t),e)}},10730:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"makeOptionValueToAnimation",{enumerable:!0,get:function(){return s}});const r=o(15245),i=o(76753),n=o(69321),a=o(66559),l=o(24119),s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hover";return(0,r.fromElementModel)((o=>(0,n.defaultValueValue)({v:e,key:(0,i.createOptionId)(t,o),device:a.DESKTOP,state:l.NORMAL})))}},83962:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{reduce:function(){return n},reduceR:function(){return a}});const r=o(93771),i={"alert-dev":void 0,"animation-dev":void 0,"backgroundColor-dev":void 0,"border-dev":void 0,"boxShadow-dev":void 0,"button-dev":void 0,"codeMirror-dev":void 0,"colorPicker-dev":void 0,"corners-dev":void 0,"fileUpload-dev":void 0,"filters-dev":void 0,"gallery-dev":void 0,"gallery-for-gallery-dev":void 0,"grid-dev":r.withColumns,"group-dev":r.withOptions,"iconPicker-dev":void 0,"iconsPicker-dev":void 0,"iconSetter-dev":void 0,"imageUpload-dev":void 0,"inputText-dev":void 0,"internalLink-dev":void 0,"margin-dev":void 0,"motion-dev":void 0,"multiSelect-dev":void 0,"number-dev":void 0,"order-dev":void 0,"padding-dev":void 0,"paypal-dev":void 0,"popover-dev":r.withOptions,"population-dev":void 0,"radioGroup-dev":void 0,"range-dev":void 0,"select-dev":void 0,"sidebarTabs-dev":r.withTabs,"sidebarTabsButton-dev":void 0,"slider-dev":void 0,"stateMode-dev":r.withOptions,"switch-dev":void 0,"tabs-dev":r.withTabs,"textarea-dev":void 0,"textShadow-dev":void 0,"toggle-dev":void 0,"typography-dev":void 0,"transform-dev":void 0,"savedBlock-dev":void 0,"globalBlock-dev":void 0,"formApps-dev":void 0,grid:r.withColumns,popover:r.withOptions};function n(e,t,o){const r=i[o.type];return r?r(((t,o)=>n(e,t,o)),e(t,o),o):e(t,o)}function a(e,t,o){const r=i[o.type];return e(r?r(((t,o)=>a(e,t,o)),t,o):t,o)}},26602:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"toElementModel",{enumerable:!0,get:function(){return q}});const r=o(28342),i=o(11039),n=o(16055),a=o(15245),l=o(93999),s=o(1753),c=o(95076),d=o(17583),u=o(26768),p=o(15677),f=o(41509),m=o(94273),y=o(35881),g=o(54604),b=o(48880),h=o(9277),v=o(67042),S=o(32503),w=o(14112),x=o(98489),M=o(94910),T=o(51408),P=o(83185),C=o(25392),k=o(53175),_=o(68832),O=o(54701),E=o(14358),z=o(27982),B=o(93528),j=o(48835),N=o(16931),I=o(14224),L=o(37895),D=o(29707),F=o(55998),A=o(15335),R=o(21499),W=o(58447),H=o(39641),V=o(59981),U=o(82080),G=o(52329),$=o(31180),Q=o(37802),Y=o(5797),Z=o(76819),K={"alert-dev":n.toElementModel,"animation-dev":a.toElementModel,"backgroundColor-dev":l.toElementModel,"border-dev":s.toElementModel,"boxShadow-dev":c.toElementModel,"button-dev":d.toElementModel,"codeMirror-dev":u.toElementModel,"colorPicker-dev":p.toElementModel,"corners-dev":f.toElementModel,"filters-dev":y.toElementModel,"fileUpload-dev":m.toElementModel,"gallery-dev":b.toElementModel,"gallery-for-gallery-dev":h.toElementModel,"grid-dev":S.toElementModel,"group-dev":w.toElementModel,"iconPicker-dev":x.toElementModel,"iconsPicker-dev":T.toElementModel,"iconSetter-dev":M.toElementModel,"imageUpload-dev":P.toElementModel,"inputText-dev":C.toElementModel,"internalLink-dev":k.toElementModel,"margin-dev":_.toElementModel,"motion-dev":O.toElementModel,"multiSelect-dev":E.toElementModel,"number-dev":z.toElementModel,"order-dev":B.toElementModel,"padding-dev":j.toElementModel,"paypal-dev":N.toElementModel,"popover-dev":I.toElementModel,"population-dev":r.toElementModel,"radioGroup-dev":L.toElementModel,"range-dev":D.toElementModel,"select-dev":A.toElementModel,"sidebarTabs-dev":R.toElementModel,"sidebarTabsButton-dev":W.toElementModel,"slider-dev":H.toElementModel,"stateMode-dev":i.toElementModel,"switch-dev":V.toElementModel,"tabs-dev":U.toElementModel,"textarea-dev":$.toElementModel,"textShadow-dev":G.toElementModel,"toggle-dev":Q.toElementModel,"transform-dev":Y.toElementModel,"typography-dev":Z.toElementModel,"savedBlock-dev":F.toElementModel,"globalBlock-dev":v.toElementModel,"formApps-dev":g.toElementModel},q=(e,t)=>o=>{const r=K[e]??(()=>({}));return Object.entries(r(o)).reduce(((e,o)=>{let[r,i]=o;return e[t(r)]=i,e}),{})}},62973:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromUngrouped:function(){return o},fromGrouped:function(){return r},getType:function(){return i},setType:function(){return n},getValue:function(){return a},setValue:function(){return l},getUnit:function(){return s},setUnit:function(){return c},getTop:function(){return d},setTop:function(){return u},getTopUnit:function(){return p},setTopUnit:function(){return f},getRight:function(){return m},setRight:function(){return y},getRightUnit:function(){return g},setRightUnit:function(){return b},getBottom:function(){return h},setBottom:function(){return v},getBottomUnit:function(){return S},setBottomUnit:function(){return w},getLeft:function(){return x},setLeft:function(){return M},getLeftUnit:function(){return T},setLeftUnit:function(){return P}});const o=e=>({...e,type:"grouped",value:e.tempValue,unit:e.tempUnit,tempTop:e.top,tempTopUnit:e.topUnit,tempRight:e.right,tempRightUnit:e.rightUnit,tempBottom:e.bottom,tempBottomUnit:e.bottomUnit,tempLeft:e.left,tempLeftUnit:e.leftUnit}),r=e=>({...e,type:"ungrouped",tempValue:e.value,tempUnit:e.unit,top:e.tempTop,topUnit:e.tempTopUnit,right:e.tempRight,rightUnit:e.tempRightUnit,bottom:e.tempBottom,bottomUnit:e.tempBottomUnit,left:e.tempLeft,leftUnit:e.tempLeftUnit}),i=e=>e.type;function n(e,t){switch(e){case"ungrouped":return"grouped"===t.type?r(t):t;case"grouped":return"ungrouped"===t.type?o(t):t}}const a=e=>e.value,l=(e,t)=>({...t,value:e,top:e,right:e,bottom:e,left:e,tempTop:e,tempRight:e,tempBottom:e,tempLeft:e,tempTopUnit:t.unit,tempRightUnit:t.unit,tempBottomUnit:t.unit,tempLeftUnit:t.unit}),s=e=>e.unit,c=(e,t)=>({...t,unit:e,topUnit:e,rightUnit:e,bottomUnit:e,leftUnit:e,tempTop:t.value,tempRight:t.value,tempBottom:t.value,tempLeft:t.value,tempTopUnit:e,tempRightUnit:e,tempBottomUnit:e,tempLeftUnit:e}),d=e=>e.top,u=(e,t)=>({...t,top:e,tempTop:e}),p=e=>e.topUnit,f=(e,t)=>({...t,topUnit:e,tempTopUnit:e}),m=e=>e.right,y=(e,t)=>({...t,right:e,tempRight:e}),g=e=>e.rightUnit,b=(e,t)=>({...t,rightUnit:e,tempRightUnit:e}),h=e=>e.bottom,v=(e,t)=>({...t,bottom:e,tempBottom:e}),S=e=>e.bottomUnit,w=(e,t)=>({...t,bottomUnit:e,tempBottomUnit:e}),x=e=>e.left,M=(e,t)=>({...t,left:e,tempLeft:e}),T=e=>e.leftUnit,P=(e,t)=>({...t,leftUnit:e,tempLeftUnit:e})},48738:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{units:function(){return i},is:function(){return n},fromString:function(){return a}});const r=o(49863),i=["px","%"],n=e=>i.includes(e),a=(0,r.pass)(n)},20059:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{types:function(){return i},is:function(){return n},fromString:function(){return a}});const r=o(49863),i=["grouped","ungrouped"],n=e=>i.includes(e),a=(0,r.pass)(n)},12833:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{withOptions:function(){return i},withTabs:function(){return n},withColumns:function(){return a}});const r=o(22741),i=(e,t)=>{const o=t.options?.map(e).filter(r.isT);return o?.length?{...t,options:o}:void 0},n=(e,t)=>{const o=t.tabs?.map((t=>({...t,options:t.options?.map(e).filter(r.isT)}))).filter((e=>(e.options?.length??0)>0)),i=o?.reduce(((e,t)=>(t.options?.length??0)+e),0)??0;return i>0?{...t,tabs:o}:void 0},a=(e,t)=>{const o=t.columns?.map((t=>({...t,options:t.options?.map(e).filter(r.isT)}))).filter((e=>(e.options?.length??0)>0)),i=o?.reduce(((e,t)=>(t.options?.length??0)+e),0)??0;return i>0?{...t,columns:o}:void 0}},55555:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{mergeOptions:function(){return r.default},optionTraverse:function(){return i.default},isOption:function(){return l},optionMap:function(){return s}});const r=a(o(39147)),i=a(o(16869)),n=o(92636);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>(0,n.hasProps)(["id","type"],e),s=(e,t)=>l(t)?(0,n.map)(s.bind(null,e),e(t)):(0,n.map)(s.bind(null,e),t)},39147:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{mergeOptions:function(){return n},default:function(){return s}});const r=(i=o(10301))&&i.__esModule?i:{default:i};var i;function n(e,t){let o=!1;for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=o(55555);function i(e,t){(0,r.isOption)(e)&&t(e);for(let o in e)e.hasOwnProperty(o)&&"object"==typeof e[o]&&null!==e[o]&&i(e[o],t)}},93771:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{withOptions:function(){return o},withTabs:function(){return r},withColumns:function(){return i}});const o=(e,t,o)=>o.options?.reduce(e,t)??t,r=(e,t,o)=>o.tabs?.reduce(((o,r)=>r.options?.reduce(e,o)??t),t)??t,i=(e,t,o)=>o.columns?.reduce(((o,r)=>r.options?.reduce(e,o)??t),t)??t},71329:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(27378),i=a(o(31542)),n=a(o(10301));function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.Component{static defaultProps={delay:1e3,onEnter:n.default.noop,onEnterSuccess:n.default.noop,onLeave:n.default.noop,onLeaveSuccess:n.default.noop};isMount=!0;timeoutId=null;enterSuccess=!1;componentDidMount(){this.isMount=!0;const e=i.default.findDOMNode(this);e.addEventListener("mouseenter",this.handleMouseEnter),e.addEventListener("mouseleave",this.handleMouseLeave)}componentWillUnmount(){this.isMount=!1;const e=i.default.findDOMNode(this);e.removeEventListener("mouseenter",this.handleMouseEnter),e.removeEventListener("mouseleave",this.handleMouseLeave)}handleMouseEnter=()=>{this.props.onEnter(),this.timeoutId=setTimeout(this.handleMouseEnterTimeout,this.props.delay),this.enterSuccess=!1};handleMouseEnterTimeout=()=>{this.isMount&&(this.enterSuccess=!0,this.props.onEnterSuccess())};handleMouseLeave=()=>{this.props.onLeave(),clearTimeout(this.timeoutId),this.enterSuccess&&this.props.onLeaveSuccess()};render(){return this.props.children}}},48288:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=u(o(10301)),n=u(o(60042)),a=u(o(71329)),l=o(46338),s=u(o(61452)),c=o(94306),d=o(33935);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}let f,m,y=0;class g extends r.Component{static defaultProps={position:"",value:"",tabletValue:"",mobileValue:"",onDrag:i.default.noop,onDragEnd:i.default.noop};isDragging=!1;state={active:!1};containerRef=r.default.createRef();componentDidMount(){y++,1===y&&this.containerRef?.current.ownerDocument.addEventListener("mousemove",this.handleDocMove)}componentWillUnmount(){y--,0===y&&this.containerRef?.current.ownerDocument.removeEventListener("mousemove",this.handleDocMove)}handleDocMove(e){f=e.clientX,m=e.clientY}handleMouseEnterSuccess=()=>{o.g.BRZ_IS_DRAGGING||this.setState({active:!0})};handleMouseLeaveSuccess=()=>{this.isDragging||this.setState({active:!1})};handleDragStart=()=>{const{onStart:e}=this.props;this.isDragging=!0,"function"==typeof e&&e(),this.state.active||this.setState({active:!0})};handleDrag=e=>{this.state.active&&this.props.onDrag(e)};handleDragEnd=()=>{const{onEnd:e}=this.props;if("function"==typeof e&&e(),!this.state.active)return;const t=this.containerRef.current;this.isDragging=!1,this.setState({active:(0,d.isInsideRect)(f,m,t?.getBoundingClientRect())},(()=>{setTimeout((()=>{t&&this.state.active&&!(0,d.isInsideRect)(f,m,t?.getBoundingClientRect())&&this.setState({active:!1})}),200)})),this.props.onDragEnd()};render(){const{position:e,value:t,tabletValue:o,mobileValue:i}=this.props,l=(0,n.default)("brz-ed-draggable__padding",{"brz-ed-draggable__padding--top":"top"===e,"brz-ed-draggable__padding--bottom":"bottom"===e,"brz-ed-draggable__padding--active":this.state.active});return r.default.createElement(a.default,{delay:500,onEnterSuccess:this.handleMouseEnterSuccess,onLeave:this.handleMouseLeaveSuccess},r.default.createElement(s.default,{draggingCursor:"ns-resize",onDragStart:this.handleDragStart,onDrag:this.handleDrag,onDragEnd:this.handleDragEnd},((e,a)=>r.default.createElement("div",{ref:t=>{(0,c.attachRef)(t,this.containerRef),(0,c.attachRef)(t,e)},className:(0,n.default)("brz-ed-draggable",a,l)},r.default.createElement("span",{className:"brz-ed-draggable__padding--value brz-ed-draggable__padding--desktop-value"},t),r.default.createElement("span",{className:"brz-ed-draggable__padding--value brz-ed-draggable__padding--tablet-value"},o),r.default.createElement("span",{className:"brz-ed-draggable__padding--value brz-ed-draggable__padding--mobile-value"},i)))))}}const b=(0,l.rolesHOC)({allow:["admin"],component:g,fallbackRender:e=>{let{position:t}=e;const o=(0,n.default)({"brz-ed-draggable__padding--top":"top"===t,"brz-ed-draggable__padding--bottom":"bottom"===t});return r.default.createElement("div",{className:o})}})},38693:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(92213),n=(a=o(48288))&&a.__esModule?a:{default:a};var a;function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}class s extends r.Component{startPosition=null;handleTopDrag=e=>{this.handleDrag("paddingTop",e)};handleBottomDrag=e=>{this.handleDrag("paddingBottom",e)};handleDrag=(e,t)=>{let{deltaY:o}=t;const r=this.props.value,{deviceMode:n}=(0,i.getStore)().getState().ui;if(e="grouped"===r.paddingType?"padding":e,"tablet"===n){const t=(e="grouped"===r.tabletPaddingType?"padding":e).charAt(0).toUpperCase()+e.slice(1);e=`tablet${t}`}if("mobile"===n){const t=(e="grouped"===r.mobilePaddingType?"padding":e).charAt(0).toUpperCase()+e.slice(1);e=`mobile${t}`}this.startPosition=this.startPosition||r[e];const a=Math.max(15,this.startPosition+o);let l={};switch(e){case"paddingTop":l={paddingType:"ungrouped",paddingTop:a};break;case"paddingBottom":l={paddingType:"ungrouped",paddingBottom:a};break;case"tabletPaddingTop":l={tabletPaddingType:"ungrouped",tabletPaddingTop:a};break;case"tabletPaddingBottom":l={tabletPaddingType:"ungrouped",tabletPaddingBottom:a};break;case"mobilePaddingTop":l={mobilePaddingType:"ungrouped",mobilePaddingTop:a};break;case"mobilePaddingBottom":l={mobilePaddingType:"ungrouped",mobilePaddingBottom:a};break;case"padding":l={paddingType:"ungrouped",paddingTop:r[e],paddingBottom:r[e],[e]:a};break;case"tabletPadding":l={tabletPaddingType:"ungrouped",tabletPaddingTop:r[e],tabletPaddingBottom:r[e],[e]:a};break;case"mobilePadding":l={mobilePaddingType:"ungrouped",mobilePaddingTop:r[e],mobilePaddingBottom:r[e],[e]:a}}this.props.onChange(l)};handleDragEnd=()=>{this.startPosition=null};renderForEdit(){let{padding:e,tabletPadding:t,mobilePadding:o,paddingType:i,tabletPaddingType:a,mobilePaddingType:l,paddingTop:s,paddingBottom:c,tabletPaddingTop:d,tabletPaddingBottom:u,mobilePaddingTop:p,mobilePaddingBottom:f}=this.props.value;const{onStart:m,onEnd:y}=this.props;return"grouped"===i&&(s=c=e),"grouped"===a&&(d=u=t),"grouped"===l&&(p=f=o),r.default.createElement(r.default.Fragment,null,r.default.createElement(n.default,{position:"top",onStart:m,onEnd:y,onDrag:this.handleTopDrag,onDragEnd:this.handleDragEnd,value:`${s}px`,tabletValue:`${d}px`,mobileValue:`${p}px`}),this.props.children,r.default.createElement(n.default,{position:"bottom",onStart:m,onEnd:y,onDrag:this.handleBottomDrag,onDragEnd:this.handleDragEnd,value:`${c}px`,tabletValue:`${u}px`,mobileValue:`${f}px`}))}renderForView(){return this.props.children}render(){return this.renderForEdit()}}},53125:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(60042)),n=o(73948);function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.default.Component{static defaultProps={className:"",icon:"",style:{},type:"editor"};render(){const{className:e,icon:t,style:o,type:a}=this.props,l=(0,i.default)("brz-shortcode__placeholder",e);return r.default.createElement("div",{className:l,style:o},r.default.createElement(n.ThemeIcon,{name:t,type:a}))}}},10547:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(31542))&&n.__esModule?n:{default:n};var n;function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}class l extends r.Component{componentDidMount(){i.default.findDOMNode(this).addEventListener("mousedown",this.onMouseDown)}onMouseDown=()=>{window.parent.document.addEventListener("mouseup",this.onMouseUp),window.parent.document.querySelector("#brz-ed-iframe").style.pointerEvents="none"};onMouseUp=()=>{window.parent.document.removeEventListener("mouseup",this.onMouseUp),window.parent.document.querySelector("#brz-ed-iframe").style.removeProperty("pointer-events")};render(){return r.default.Children.only(this.props.children)}}},21107:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=o(27378),i=o(31542);function n(e){let{className:t,node:o,children:n}=e;const a=(0,r.useRef)(null);if(null===a.current||a.current.parentElement!==o){const e=o.ownerDocument.createElement("div");t&&(e.className=t),o.appendChild(e),a.current=e}return(0,r.useEffect)((()=>()=>{a.current&&o.removeChild(a.current)}),[o]),(0,r.useEffect)((()=>{a.current&&(t?a.current.className=t:a.current.removeAttribute("class"))}),[t]),a.current?(0,i.createPortal)(n,a.current):null}},5264:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ProBlocked",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=s(o(60042)),n=s(o(22546)),a=o(64985),l=o(73948);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{const{className:t,absolute:o,text:s,onRemove:c}=e,d=(0,i.default)("brz-element__pro",{"brz-element__pro--absolute":o},t),u=(0,r.useCallback)((e=>{e.preventDefault(),c?.()}),[c]);return r.default.createElement("div",{className:d},r.default.createElement("p",{className:"brz-p brz-element__pro-title"},r.default.createElement("span",null,(0,a.t)("Upgrade to PRO to use this")),r.default.createElement("strong",null," ",s," "),r.default.createElement("span",null,(0,a.t)("element"))),"function"==typeof c&&r.default.createElement("p",{className:"brz-p brz-element__pro-removed"},(0,a.t)("or")," ",r.default.createElement("a",{className:"brz-a",href:"#",onClick:u},(0,a.t)("remove this element"))),r.default.createElement("div",{className:"brz-element__pro-lock"},r.default.createElement(l.ThemeIcon,{type:"editor",name:"lock"})),r.default.createElement("a",{className:"brz-a brz-element__pro-link",href:n.default.getAll().urls.upgradeToPro,rel:"noopener noreferrer",target:"_blank"},r.default.createElement("strong",null,(0,a.t)("Get a PRO plan"))))}},94979:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ProInfo",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=o(64985),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{text:t,url:o}=e;return r.default.createElement("div",{className:"brz-ed-tooltip-content__pro"},r.default.createElement("p",{className:"brz-p brz-ed-tooltip-content__pro-title"},t),r.default.createElement("p",{className:"brz-p brz-ed-tooltip-content__pro-body"},r.default.createElement("a",{className:"brz-a",href:o,rel:"noopener noreferrer",target:"_blank"},r.default.createElement(n.default,{icon:"nc-lock"}),(0,i.t)("Get a PRO plan"))))}},85326:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromiseComponent",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}function n(e,t){switch(t.type){case"wait":if("delay"===e.status)return{status:"waiting"};break;case"resolve":if("delay"===e.status||"waiting"===e.status)return{status:"resolved",value:t.value};break;case"reject":if("delay"===e.status||"waiting"===e.status)return{status:"rejected",reason:t.reason}}return e}function a(e){let{getPromise:t,renderResolved:o,renderRejected:i,renderWaiting:a,delayMs:l=0}=e;const s=l&&l>0,[c,d]=(0,r.useReducer)(n,{status:s?"delay":"waiting"});return(0,r.useEffect)((()=>{let e,o=!1;return s&&(e=window.setTimeout((()=>{o||d({type:"wait"})}),l)),t().then((t=>{o||(clearTimeout(e),d({type:"resolve",value:t}))})).catch((t=>{o||(clearTimeout(e),d({type:"reject",reason:t}))})),()=>{o=!0}}),[l,t,s]),"waiting"===c.status&&a?a():"resolved"===c.status?o(c.value):"rejected"===c.status&&i?i(c.reason):null}},40687:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=c(o(27378)),i=c(o(10301)),n=o(65631),a=c(o(60042)),l=c(o(24072)),s=c(o(21107));function c(e){return e&&e.__esModule?e:{default:e}}const d=e=>{const{className:t,opened:o,children:i,onClose:c}=e,d=(0,a.default)("brz-ed-fixed",t);return r.default.createElement(s.default,{node:window.parent.document.body},r.default.createElement(n.CSSTransition,{in:o,classNames:"brz-ed-fade",timeout:150},o?r.default.createElement("div",{className:d},r.default.createElement(l.default,{keyNames:["esc"],id:"key-helper-prompt-esc",onKeyUp:c}),r.default.createElement("div",{className:"brz-ed-fixed-overlay",onClick:c}),r.default.createElement("div",{className:"brz-ed-fixed-scroll"},i)):r.default.createElement("span",null)))};d.defaultProps={className:"",opened:!1,onClose:i.default.noop};const u=d},11210:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64985),n=o(2521),a=o(92982),l=o(64215),s=(c=o(31688))&&c.__esModule?c:{default:c};var c;const d=o(64187);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=[{name:"appid",title:"App ID"}];class f extends r.Component{static contextType=l.Context;constructor(e,t){super(e);const{app:{data:o}}=t;this.state={apiKeyValue:o||this.getDefaultValue(),nextLoading:!1,prevLoading:!1,error:null}}static async onBeforeLoad(e,t){e.app.data&&t.onChangeNext("disconnect")}getDefaultValue(){return p.reduce(((e,t)=>{let{name:o}=t;return{...e,[`${o}`]:""}}),{})}handleChange=(e,t)=>{this.setState((o=>{let{apiKeyValue:r}=o;return{apiKeyValue:{...r,[`${t}`]:e.trim()}}}))};handleConnect=async()=>{const{app:e,onChangeNext:t}=this.context,{apiKeyValue:o}=this.state,r=Object.values(o);if(this.setState({nextLoading:!0,error:null}),r.some((e=>!e)))await(0,d.pendingRequest)(),this.setState({error:"Fields are empty",nextLoading:!1});else{const{data:n,group:l,id:c}=e,[d]=r;if(!await(0,s.default)(d))return void this.setState({isValidate:!1,error:"Your AppId is no valid, re check and try again",nextLoading:!1});if(n&&n.id){const{status:e}=await(0,a.deleteAccount)(n.id);200!==e&&this.setState({nextLoading:!1,error:(0,i.t)("Something went wrong")})}const{status:u}=await(0,a.addAccount)({service:c,group:l,...o});200!==u?this.setState({nextLoading:!1,error:(0,i.t)("Something went wrong")}):t()}};handlePrev=async()=>{this.setState({prevLoading:!0}),await(0,d.pendingRequest)(),this.context.onChangePrev()};render(){const{app:e}=this.context,{apiKeyValue:t,nextLoading:o,prevLoading:i,error:a}=this.state,l=p.map((e=>{let{title:o,name:r}=e;return{title:o,name:r,value:t[r]}}));return r.default.createElement(n.Connect,{...e,data:l,nextLoading:o,prevLoading:i,error:a,onChange:this.handleChange,onNext:this.handleConnect,onPrev:this.handlePrev})}}const m=f},52184:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(11210)),i=l(o(96324)),n=l(o(64656)),a=o(18858);function l(e){return e&&e.__esModule?e:{default:e}}class s extends a.BaseApp{static connect=r.default;static disconnect=i.default;static done=n.default}const c=s},31688:(e,t)=>{"use strict";async function o(e){try{return await(t=e,fetch(`https://graph.facebook.com/${t}`).then((e=>{let{status:t}=e;return 200===t})))}catch(e){return!1}var t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}})},75994:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"facebook",{enumerable:!0,get:function(){return r.default}});const r=(i=o(52184))&&i.__esModule?i:{default:i};var i},21600:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=c(o(13556)),i=o(4820),n=o(64187),a=c(o(73151)),l=o(92982),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(75994));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}class u extends a.default{appsData=[];appsComponent=s;async componentDidMount(){const e=(0,i.assetUrl)("integrations.json"),t=await fetch(e),o=await t.json();this.appsData=o.facebook,await this.getData()}async getData(){const{group:e,service:t}=this.props,{status:o,data:i}=await(0,l.getAccounts)({group:e,services:t});if(i&&i.length>0&&200===o){const e=i[0],{services:t}=e;this.setState((0,r.default)((o=>{o.data[t]={data:e},o.loading=!1,o.connectedApps=[t]})))}else this.setState({loading:!1})}handleConnectApp=async e=>{const t=e.id,{stages:o}=this.appsData[0];await(0,n.pendingRequest)(),this.setState((0,r.default)((r=>{r.stages=o,r.connectedApp=t,Object.assign(r.data[t],e)})),(()=>{this.handleNext()}))}}const p=u},96324:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64187),n=o(64985),a=o(64215),l=o(2521),s=o(92982);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static contextType=a.Context;constructor(e){super(e),this.state={nextLoading:!1,prevLoading:!1,error:null}}handleNext=async()=>{const{app:e,onChange:t,onDisconnectApp:o}=this.context;this.setState({nextLoading:!0,error:null});const{status:r}=await(0,s.deleteAccount)(e.data.id);200===r?(o(e.id),t(e.id,null)):this.setState({nextLoading:!1,error:(0,n.t)("Something went wrong")})};handlePrev=async()=>{this.setState({prevLoading:!0,error:null}),await(0,i.pendingRequest)(),this.context.onChangePrev("appList")};render(){const{nextLoading:e,prevLoading:t,error:o}=this.state;return r.default.createElement(l.Disconnect,{...this.context.app,descriptions:`${(0,n.t)("Are you sure you want to delete your account?")}`,nextLoading:e,prevLoading:t,error:o,onPrev:this.handlePrev,onNext:this.handleNext})}}const u=d},64656:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64215),n=o(2521);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}class l extends r.Component{static contextType=i.Context;handleClose=()=>{this.props.onClose()};render(){const{app:e}=this.context;return r.default.createElement(n.Done,{...e,onNext:this.handleClose})}}const s=l},84320:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(10301),n=o(64985),a=s(o(76290)),l=s(o(21600));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=[{id:"app",title:(0,n.t)("APPS"),icon:"nc-extensions-2",component:l.default}];class u extends r.Component{static defaultProps={service:"facebook",group:"social",opened:!1,onClose:i.noop};render(){const{service:e,group:t,opened:o,onClose:i}=this.props;return r.default.createElement(a.default,{currentTab:"app",service:e,group:t,opened:o,tabs:d,onClose:i})}}const p=u},75164:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=x(o(60042)),i=x(o(13556)),n=T(o(27378)),a=x(o(27998)),l=o(23884),s=o(10301),c=o(40010),d=x(o(3518)),u=o(96101),p=o(4883),f=o(7741),m=o(80029),y=T(o(22546)),g=o(74215),b=o(64187),h=o(4820),v=o(64985),S=o(24978),w=o(26458);function x(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const P={updateAuthorization:g.updateAuthorization,updateSyncAllowed:g.updateSyncAllowed},C=(0,l.connect)(null,P),k=[{title:"username",name:"username",required:!0},{title:"password",name:"password",type:"password",required:!0}];class _ extends n.Component{static defaultProps={className:"",onSuccess:s.noop,onSkip:s.noop,onClose:s.noop,onLoading:s.noop};state={data:null,loading:!0,nextLoading:!1,prevLoading:!1,recoverLoading:!1,notice:null,formData:{username:"",password:"",recoverEmail:""}};async componentDidMount(){const e=(0,h.assetUrl)("integrations.json"),t=await fetch(e),{cloudAuthorization:o}=await t.json(),{onLoading:r}=this.props;this.setState({data:o,loading:!1}),r&&r(!1)}handleChange=(e,t)=>{this.setState((0,i.default)((o=>{o.formData[e]=t})))};handleConnect=()=>{const{username:e,password:t}=this.state.formData,{onSuccess:o,onClose:r,updateAuthorization:i,updateSyncAllowed:n}=this.props;this.setState({notice:null,nextLoading:!0}),e.trim()&&t.trim()?(0,w.signIn)({password:t,email:e}).then((e=>{if(!e.status||e.status>=400)throw e;i("connected"),(0,S.setAuthorized)("connected"),(0,y.isWp)(y.default.getAll())&&(0,w.checkCompatibility)().then((e=>{const{status:t,data:o}=e||{};!t||t>=400?console.warn("Something went wrong",e):o?.isSyncAllowed&&n(!0)})),o?.(),r?.()})).catch((e=>{this.setState({nextLoading:!1,notice:{message:(0,v.t)("Incorrect username or password"),type:"error"}})})):this.setState({nextLoading:!1,notice:{message:(0,v.t)("Incorrect username or password"),type:"error"}})};handleSkip=async()=>{const{onSkip:e,onClose:t,updateAuthorization:o}=this.props;this.setState({prevLoading:!0}),await(0,b.pendingRequest)(),this.setState({prevLoading:!1}),o("pending"),(0,S.setAuthorized)("pending"),e&&e(),t&&t()};handleRecover=async()=>{const{recoverEmail:e}=this.state.formData;this.setState({notice:null,recoverLoading:!0}),(0,m.validateEmail)(e)?e.trim()?(0,w.recoveryEmail)(e).then((e=>{if(!e.status||e.status>=400)throw e;this.setState({recoverLoading:!1,notice:{message:(0,v.t)("Check your email address"),type:"success"}})})).catch((e=>{this.setState({recoverLoading:!1,notice:{message:(0,v.t)("Failed to reset password"),type:"error"}})})):(await(0,b.pendingRequest)(),this.setState({recoverLoading:!1,notice:{message:(0,v.t)("Email to recover password cannot be empty"),type:"error"}})):this.setState({recoverLoading:!1,notice:{message:(0,v.t)("The email address format is not valid"),type:"error"}})};renderLoading(){return n.default.createElement(f.Loading,null)}renderNotice(){const{notice:e}=this.state;if(null!==e){const{message:t,type:o}=e;return n.default.createElement(c.Alert,{message:t,type:o})}}renderContent(){if(this.state.data){const{data:{signInDescription:e},formData:{recoverEmail:t},notice:o,nextLoading:r,prevLoading:i,recoverLoading:l}=this.state;return n.default.createElement(a.default,{className:"brz-text-lg-center"},n.default.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},n.default.createElement(u.Spacer,{space:"73px"}),n.default.createElement("p",{className:"brz-p"},e)),n.default.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},o&&this.renderNotice(),k.map(((e,t)=>{let{title:o,name:r,required:i,type:a="text"}=e;return n.default.createElement(d.default,{key:t,title:o,type:a,value:`${this.state.formData[r]??""}`,required:i,onChange:e=>{let{target:t}=e;this.handleChange(r,t.value)}})})),n.default.createElement("div",{className:"brz-ed-popup-authorization__buttons"},n.default.createElement(p.Button,{color:"teal",loading:r,onClick:this.handleConnect},(0,v.t)("Connect")),n.default.createElement(p.Button,{color:"default",loading:i,onClick:this.handleSkip},(0,v.t)("Skip"))),n.default.createElement(d.default,{title:"Email to recover password",icon:"nc-right-arrow-tail",loading:l,value:t,onChange:e=>{let{target:t}=e;this.handleChange("recoverEmail",t.value)},onClickIcon:this.handleRecover})))}}render(){const e=(0,r.default)("brz-ed-popup-authorization",this.props.className);return n.default.createElement("div",{className:e},this.state.loading?this.renderLoading():this.renderContent())}}const O=C(_)},14380:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return E}});const r=M(o(60042)),i=M(o(13556)),n=P(o(27378)),a=M(o(27998)),l=o(23884),s=o(10301),c=o(40010),d=P(o(31916)),u=M(o(3518)),p=o(96101),f=M(o(33364)),m=o(4883),y=o(7741),g=P(o(22546)),b=o(74215),h=o(4820),v=o(64985),S=o(24978),w=o(80029),x=o(26458);function M(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const C=[{title:"first name",name:"firstName",required:!0},{title:"last name",name:"lastName",required:!0},{title:"email",name:"email",required:!0},{title:"password",name:"password",type:"password",required:!0},{title:"Confirm Password",name:"confirmPassword",type:"password",required:!0}],k={updateAuthorization:b.updateAuthorization,updateSyncAllowed:b.updateSyncAllowed},_=(0,l.connect)(null,k);class O extends n.Component{static defaultProps={className:"",onSuccess:s.noop,onSkip:s.noop,onClose:s.noop,onLoading:s.noop};state={data:null,notice:null,nextLoading:!1,loading:!0,formData:{firstName:"",lastName:"",email:"",password:"",confirmPassword:"",termsCondition:!1}};async componentDidMount(){const e=(0,h.assetUrl)("integrations.json"),t=await fetch(e),{cloudAuthorization:o}=await t.json(),{onLoading:r}=this.props;this.setState({data:o,loading:!1}),r&&r(!1)}handleChange=(e,t)=>{this.setState((0,i.default)((o=>{o.formData[e]=t})))};handleConnect=async()=>{const{onSuccess:e,onClose:t,updateAuthorization:o,updateSyncAllowed:r}=this.props,{email:i,password:n,confirmPassword:a,firstName:l,lastName:s,termsCondition:c}=this.state.formData;c?(0,w.validateEmail)(i)?n===a?(this.setState({notice:null,nextLoading:!0}),i.trim()&&n.trim()&&a.trim()&&l.trim()&&s.trim()?(0,x.signUp)({firstName:l,lastName:s,email:i,password:n,confirmPassword:a}).then((i=>{if(!i.status||i.status>=400)throw i;o("connected"),(0,S.setAuthorized)("connected"),(0,g.isWp)(g.default.getAll())&&(0,x.checkCompatibility)().then((e=>{const{status:t,data:o}=e||{};!t||t>=400?console.warn("Something went wrong",e):o?.isSyncAllowed&&r(!0)})),e?.(),t?.()})).catch((e=>{this.setState({nextLoading:!1,notice:{message:(0,v.t)("Something went wrong"),type:"error"}})})):this.setState({nextLoading:!1,notice:{message:(0,v.t)("All fields cannot be empty"),type:"error"}})):this.setState({nextLoading:!1,notice:{message:(0,v.t)("Password and confirm password is not the same"),type:"error"}}):this.setState({nextLoading:!1,notice:{message:(0,v.t)("The email address format is not valid"),type:"error"}}):this.setState({nextLoading:!1,notice:{message:(0,v.t)("Agree Terms & Conditions"),type:"error"}})};renderLoading(){return n.default.createElement(y.Loading,null)}renderNotice(){const{notice:e}=this.state;if(e){const{message:t,type:o}=e;return n.default.createElement(c.Alert,{message:t,type:o})}}renderContent(){if(this.state.data){const{data:{signUpDescription:e},nextLoading:t}=this.state;return n.default.createElement(a.default,{className:"brz-text-lg-center"},n.default.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},n.default.createElement(p.Spacer,{space:"17px"}),n.default.createElement("p",{className:"brz-p"},e)),n.default.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},this.renderNotice(),C.map(((e,t)=>{let{title:o,name:r,required:i,type:a="text"}=e;return n.default.createElement(u.default,{key:t,title:o,type:a,value:`${this.state.formData[r]??""}`,required:i,onChange:e=>{let{target:t}=e;this.handleChange(r,t.value)}})})),n.default.createElement(d.default,{className:"brz-ed-popup-authorization__terms",defaultValue:{termsCondition:this.state.formData.termsCondition},onChange:e=>{let{termsCondition:t}=e;this.handleChange("termsCondition",t)}},n.default.createElement(d.CheckGroupItem,{value:"termsCondition",renderIcons:e=>{let{active:t}=e;return t?n.default.createElement(f.default,{icon:"nc-check-alt"}):n.default.createElement(f.default,{icon:"nc-uncheck-alt"})}},n.default.createElement("a",{className:"brz-a",href:"https://www.brizy.io/terms-and-conditions",target:"_blank",rel:"noreferrer"},(0,v.t)("I agree with Terms & Conditions")))),n.default.createElement("div",{className:"brz-ed-popup-authorization__buttons"},n.default.createElement(m.Button,{color:"teal",loading:t,onClick:this.handleConnect},(0,v.t)("Create Account & Connect")))))}}render(){const e=(0,r.default)("brz-ed-popup-authorization",this.props.className);return n.default.createElement("div",{className:e},this.state.loading?this.renderLoading():this.renderContent())}}const E=_(O)},26458:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{signIn:function(){return l},signUp:function(){return s},recoveryEmail:function(){return c},logout:function(){return d},sync:function(){return u},checkCompatibility:function(){return p}});const r=o(80029),i=(n=o(22546))&&n.__esModule?n:{default:n};var n;const a=o(64187),l=e=>{const{hash:t,url:o,cloudSignIn:n}=i.default.get("wp").api,l=i.default.get("editorVersion"),s=(0,r.makeUrl)(o,{hash:t,version:l,action:n});return(0,a.request)(s,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(e)}).then(r.parseJSON).then((e=>e))},s=e=>{const{hash:t,url:o,cloudSignUp:n}=i.default.get("wp").api,l=i.default.get("editorVersion"),s=(0,r.makeUrl)(o,{hash:t,version:l,action:n});return(0,a.request)(s,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(e)}).then(r.parseJSON).then((e=>e))},c=e=>{const{hash:t,url:o,cloudResetPassword:n}=i.default.get("wp").api,l=i.default.get("editorVersion"),s=(0,r.makeUrl)(o,{hash:t,version:l,action:n});return(0,a.request)(s,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({email:e})}).then(r.parseJSON).then((e=>e))},d=()=>{const{hash:e,url:t,cloudSignOut:o}=i.default.get("wp").api,n=i.default.get("editorVersion"),l=(0,r.makeUrl)(t,{hash:e,version:n,action:o});return(0,a.request)(l,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(r.parseJSON).then((e=>e))},u=()=>{const{hash:e,url:t,cloudSync:o}=i.default.get("wp").api,n=i.default.get("editorVersion"),l=(0,r.makeUrl)(t,{hash:e,version:n,action:o});return new Promise(((e,t)=>{(0,a.request)(l,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then((e=>(0,r.parseJSON)(e))).then((o=>{const{status:r,data:i}=o;if(!r||r>=400)throw o;{const{synchronized:r}=i;0===r?e(o):u().then(e).catch(t)}})).catch(t)}))},p=()=>{const{hash:e,url:t,cloudSyncAllowed:o}=i.default.get("wp").api,n=i.default.get("editorVersion"),l=(0,r.makeUrl)(t,{hash:e,version:n,action:o});return(0,a.request)(l,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(r.parseJSON).then((e=>e))}},81941:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(27378)),i=o(64985),n=s(o(76290)),a=s(o(75164)),l=s(o(14380));function s(e){return e&&e.__esModule?e:{default:e}}const c=[{id:"signIn",title:(0,i.t)("Cloud"),icon:"nc-upload",component:a.default},{id:"signUp",title:(0,i.t)("Sign Up"),icon:"nc-add",component:l.default}],d=e=>{let{opened:t,onClose:o}=e;return r.default.createElement(n.default,{opened:t,tabs:c,currentTab:"signIn",onClose:o})}},60464:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=g(o(27378)),i=m(o(10301)),n=m(o(27998)),a=m(o(33364)),l=m(o(97023)),s=m(o(65961)),c=g(o(41815)),d=m(o(68658)),u=m(o(25859)),p=m(o(7416)),f=o(64985);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}let b={type:0,category:"*",search:""};class h extends r.Component{static defaultProps={showSidebar:!0,showSearch:!0,loading:!1,kits:[],styles:[],types:[],categories:[],blocks:[],HeaderSlotLeft:i.default.noop,onAddBlocks:i.default.noop,onClose:i.default.noop,onChange:i.default.noop,onChangeKit:i.default.noop};filterData=(e,t)=>{const o=t.type===e.type,r="*"===t.category||e.cat.includes(Number(t.category)),i=""===t.search||new RegExp(t.search.replace(/[.*+?^${}()|[\]\\]/g,""),"i").test(e.keywords);return o&&r&&i};getTypesCounters(){const{blocks:e,types:t}=this.props,o=t.reduce(((e,t)=>{let{id:o}=t;return Object.assign(e,{[o]:0})}),{});return e.forEach((e=>{let{type:t}=e;o[t]++})),o}getCategoriesCounter(e){let{blocks:t,types:o,showType:r}=this.props,i=t.length;return r&&o.length&&(t=t.filter((t=>t.type===e)),i=t.length),t.reduce(((e,t)=>{let{cat:o}=t;return o.forEach((t=>{e[t]?Object.assign(e,{[t]:++e[t]}):Object.assign(e,{[t]:1})})),e}),{"*":i})}renderLoading(){const{showSidebar:e,showSearch:t,HeaderSlotLeft:o}=this.props;return r.default.createElement(r.default.Fragment,null,t&&r.default.createElement(o,null,r.default.createElement(d.default,{className:"brz-ed-popup-two-header__search"})),e&&r.default.createElement("div",{className:"brz-ed-popup-two-body__sidebar"},r.default.createElement("div",{className:"brz-ed-popup-two-sidebar-body"})),r.default.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-body__content--loading"},r.default.createElement(a.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})))}render(){const{loading:e,kits:t,blocks:o,types:i,categories:a,selectedKit:m,showSearch:y,showSidebar:g,HeaderSlotLeft:h,onChangeKit:v,onChange:S}=this.props;if(e)return this.renderLoading();const w=t.filter((e=>{let{id:t}=e;return t!==m})).length>0,x=i.length>0,M=a.length>0;return r.default.createElement(u.default,{data:o,filterFn:this.filterData,defaultFilter:b},((e,o,u)=>(b.type=o.type,r.default.createElement(r.default.Fragment,null,y&&r.default.createElement(h,null,r.default.createElement(d.default,{className:"brz-ed-popup-two-header__search",value:o.search,onChange:e=>u({search:e})})),g&&r.default.createElement(c.default,null,w&&r.default.createElement(c.SidebarOption,{title:"BLOCKS"},r.default.createElement(l.default,{defaultValue:m,className:"brz-control__select--dark brz-control__select--full-width",maxItems:"6",itemHeight:"30",onChange:v},t.map(((e,t)=>{let{id:o,name:i}=e;return r.default.createElement(s.default,{key:t,value:o},i)})))),x&&r.default.createElement(c.SidebarOption,{title:"STYLES"},r.default.createElement(c.SidebarList,{lists:i,counters:this.getTypesCounters(),value:o.type,onChange:e=>u({type:e})})),M&&r.default.createElement(c.SidebarOption,{title:"CATEGORIES"},r.default.createElement(c.SidebarList,{lists:a,counters:this.getCategoriesCounter(o.type),value:o.category,onChange:e=>u({category:e})}))),r.default.createElement("div",{className:"brz-ed-popup-two-body__content"},r.default.createElement(n.default,null,e.length>0?r.default.createElement(p.default,{data:e,onThumbnailAdd:S}):r.default.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},r.default.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},(0,f.t)("Nothing here, please refine your search.")))))))))}}const v=h},28686:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),n=g(o(10301)),a=g(o(22546)),l=o(74215),s=o(97045),c=o(4820),d=o(25663),u=o(72833),p=o(64985),f=o(16526),m=o(58991),y=g(o(60464));function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}class h extends r.Component{static defaultProps={showSidebar:!0,showSearch:!0,showType:!0,showCategories:!0,type:"normal",HeaderSlotLeft:n.default.noop(),onAddBlocks:n.default.noop,onClose:n.default.noop};state={kits:[],loading:!0,styles:[],types:[],categories:[],blocks:[]};mounted=!1;async getMeta(){const{type:e}=this.props;if("popup"===e){const e=await fetch((0,c.assetUrl)("popups/meta.json"));return await e.json()}{const e=await fetch((0,c.assetUrl)("kits/meta.json"));return await e.json()}}async getBlockResolve(e){const{type:t}=this.props;if("popup"===t){const t=await fetch((0,d.getBlockDataUrl)("popups",e));return await t.json()}{const t=await fetch((0,d.getBlockDataUrl)("kits",e));return await t.json()}}getKitData(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.selectedKit;const o=e.find((e=>{let{id:o}=e;return o===t})),{categories:r,blocks:i,styles:n,types:a}=o,l=[{id:"*",title:(0,p.t)("All Categories")},...r],s=i.map((e=>({...e,thumbnailSrc:(0,d.blockTemplateThumbnailUrl)(e)})));return{kits:e,styles:n,types:a,categories:l.filter((e=>{let{hidden:t}=e;return!0!==t})),blocks:s}}getPopupData(e){let{blocks:t,categories:o=[],types:r=[]}=e;const i=[{id:"*",title:(0,p.t)("All Categories")},...o],n=t.map((e=>({...e,pro:(!(0,f.isExternalPopup)(a.default.getAll())||"blank"!==e.blank)&&e.pro,thumbnailSrc:(0,d.blockTemplateThumbnailUrl)(e)}))),l=i.filter((e=>{let{hidden:t}=e;return!0!==t}));return{types:r,blocks:n,categories:l}}async componentDidMount(){this.mounted=!0;const e=await this.getMeta();if(this.mounted){const t="normal"===this.props.type?this.getKitData(e):this.getPopupData(e);this.setState({...t,loading:!1})}}componentWillUnmount(){this.mounted=!1}handleThumbnailAdd=async e=>{const{projectFonts:t,onAddBlocks:o,onClose:r}=this.props,i={...await this.getBlockResolve(e.id),blockId:e.id},n=(0,m.getBlocksStylesFonts)((0,m.getUsedModelsFonts)({models:i}),t);o({block:i,fonts:await(0,u.normalizeFonts)(n)}),r()};handleImportKit=async e=>{const{selectedKit:t,projectFonts:o,projectStyles:r,dispatch:i}=this.props,{kits:n}=this.state;if(t===e)return;const a=this.getKitData(n,e),{styles:s}=a;if(this.setState(a),s.some((e=>{let{id:t}=e;return!r.some((e=>{let{id:o}=e;return o===t}))}))){const t=s.reduce(((e,t)=>{let{fontStyles:o}=t;return e.concat((0,m.getUsedStylesFonts)(o))}),[]),r=await(0,u.normalizeFonts)((0,m.getBlocksStylesFonts)(t,o));i((0,l.importKit)({selectedKit:e,styles:s?(0,u.normalizeStyles)(s):void 0,fonts:r}))}else i((0,l.updateCurrentKitId)(e))};render(){const{kits:e,types:t,blocks:o,categories:i,loading:n}=this.state,{showSearch:a,showSidebar:l,selectedKit:s,HeaderSlotLeft:c}=this.props;return r.default.createElement(y.default,{loading:n,selectedKit:s,kits:e,blocks:o,categories:i,types:t,showSearch:a,showSidebar:l,HeaderSlotLeft:c,onChangeKit:this.handleImportKit,onChange:this.handleThumbnailAdd})}}const v=(0,i.connect)((e=>({selectedKit:(0,s.projectSelector)(e).data.selectedKit,projectFonts:(0,s.fontsSelector)(e),projectStyles:(0,s.stylesSelector)(e)})),(e=>({dispatch:e})))(h)},20614:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const r=w(o(23615)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=w(o(27998)),a=o(23884),l=w(o(10301)),s=w(o(1424)),c=w(o(22546)),d=o(74215),u=o(97045),p=o(4820),f=o(25663),m=o(72833),y=o(64985),g=o(16526),b=o(58991),h=o(6804),v=w(o(68658)),S=w(o(7416));function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}class M extends i.Component{static defaultProps={type:"normal",showSearch:!0,onAddBlocks:l.default.noop,onClose:l.default.noop,HeaderSlotLeft:l.default.noop};static propTypes={type:r.default.oneOf(["normal","popup"]),showSearch:r.default.bool,showSidebar:r.default.bool,onAddBlocks:r.default.func,onClose:r.default.func,HeaderSlotLeft:r.default.func};state={search:""};getBlocks(){const{type:e,globalBlocks:t}=this.props;return Object.values(t).filter((t=>{let{data:o,meta:r={}}=t;return!o.deleted&&r.type===e}))}handleThumbnailAdd=async e=>{const{globalBlocks:t,projectFonts:o,onAddBlocks:r,onClose:i}=this.props,{resolve:n}=e,a=(0,b.getBlocksStylesFonts)((0,b.getUsedModelsFonts)({models:n,globalBlocks:t}),o);r({block:n,fonts:await(0,m.normalizeFonts)(a)}),i()};handleThumbnailRemove=e=>{const{dispatch:t}=this.props,{id:o}=e;t((0,d.deleteGlobalBlock)({id:o}))};renderThumbnails(e){const{HeaderSlotLeft:t,showSearch:o}=this.props;return i.default.createElement(i.Fragment,null,o&&i.default.createElement(t,null,i.default.createElement(v.default,{className:"brz-ed-popup-two-header__search",value:this.state.search,onChange:e=>this.setState({search:e})})),i.default.createElement("div",{className:"brz-ed-popup-two-body__content"},i.default.createElement(n.default,null,i.default.createElement(S.default,{data:e,onThumbnailAdd:this.handleThumbnailAdd,onThumbnailRemove:this.handleThumbnailRemove}))))}renderEmpty(){const{HeaderSlotLeft:e,showSearch:t,type:o}=this.props;let r,n=(0,y.t)("Nothing here yet, make a global block first.");return"popup"===o?(r=(0,g.isPopup)(c.default.getAll())?"editor/img/global_condition_popups_toolbar.gif":"editor/img/global_popups_toolbar.gif",n=(0,y.t)("Nothing here yet, make a global popup first.")):r="editor/img/global_toolbar.gif",i.default.createElement(i.Fragment,null,t&&i.default.createElement(e,null,i.default.createElement(v.default,{className:"brz-ed-popup-two-header__search",value:this.state.search,onChange:e=>this.setState({search:e})})),i.default.createElement("div",{className:"brz-ed-popup-two-body__content brz-flex-xs-column"},i.default.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},""!==this.state.search?i.default.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},(0,y.t)("Nothing here, please refine your search.")):i.default.createElement(i.Fragment,null,i.default.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},n),i.default.createElement("img",{src:`${(0,p.assetUrl)(r)}?${(0,h.uuid)(4)}`,className:"brz-ed-popup-two-blocks__grid-clear-image-global",alt:"Global"})))))}renderProInfo(){return i.default.createElement("div",{className:"brz-ed-tooltip-content__pro"},i.default.createElement("p",{className:"brz-p brz-ed-tooltip-content__pro-title"},(0,y.t)("You can't add it again")))}renderThumbnailTooltip(e){return i.default.createElement(s.default,{className:"brz-ed-global-tooltip",overlayClassName:"brz-ed-tooltip--delay-1",size:"small",offset:"5",openOnClick:!1,overlay:this.renderProInfo()},e)}render(){const{globalBlocksInPage:e}=this.props,t=this.getBlocks();if(0===t.length)return this.renderEmpty();const o=t.map((t=>{const{url:o,width:r,height:i}=(0,f.blockThumbnailData)(t.data),{type:n,value:{_id:a}}=t.data,l=!(0,g.isPopup)(c.default.getAll())&&"SectionPopup"!==n&&"SectionPopup2"!==n&&e[a];return{id:a,thumbnailSrc:o,thumbnailWidth:r,thumbnailHeight:i,showRemoveIcon:!0,renderWrapper:e=>l?this.renderThumbnailTooltip(e):e,inactive:l,resolve:{type:"GlobalBlock",value:{_id:a}}}}),[]);return this.renderThumbnails(o)}}const T=(0,a.connect)((e=>({globalBlocks:(0,u.globalBlocksAssembledSelector)(e),globalBlocksInPage:(0,u.globalBlocksInPageSelector)(e),projectFonts:(0,u.fontsSelector)(e)})),(e=>({dispatch:e})))(M)},88943:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _}});const r=M(o(27378)),i=w(o(10301)),n=w(o(60042)),a=o(23884),l=w(o(22546)),s=w(o(33364)),c=w(o(27998)),d=o(97045),u=w(o(81622)),p=o(4883),f=o(58804),m=o(58991),y=o(64985),g=o(72833),b=o(44576),h=M(o(73904)),v=o(25663),S=o(46479);function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function M(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const T=l.default.get("urls"),P={animationName:"fadeIn",animationFillMode:"both",animationDelay:"200ms",animationDuration:"200ms"},C=(0,a.connect)((e=>({projectStyles:(0,d.stylesSelector)(e),projectFonts:(0,d.fontsSelector)(e)})));class k extends r.Component{static defaultProps={type:"templates",data:{name:"",color:"",cat:[],pages:[],pro:!1,keywords:""},onClose:i.default.noop,onAddBlocks:i.default.noop,onBack:i.default.noop};state={active:this.props.data.pages[0].id,thumbnailHeight:0,transition:0,previewPointer:"none",replaceStyle:!1,loading:!1};thumbnailDetails=r.default.createRef();timeoutId;getTransition(e){return e/500}hasStyleInProject(){const{projectStyles:e,data:{styles:t}}=this.props;return e.find((e=>{let{id:o}=e;return t?.some((e=>{let{id:t}=e;return t===o}))}))}componentDidMount(){this.handleUpdateThumbnail(),window.addEventListener("resize",this.handleUpdateThumbnail);const e=setTimeout((()=>{this.setState({previewPointer:"auto"})}),200);this.timeoutId=h.read(e)}componentWillUnmount(){window.removeEventListener("resize",this.handleUpdateThumbnail),clearTimeout(this.timeoutId)}handleUpdateThumbnail=()=>{this.setState({thumbnailHeight:this.thumbnailDetails.current?.clientHeight??0})};handleBack=()=>{this.props.onBack()};handleThumbnailAdd=async()=>{const{type:e,data:t,projectFonts:o,onAddBlocks:r,onClose:i}=this.props,{active:n,replaceStyle:a,loading:l}=this.state;if(l)return;this.setState({loading:!0});const s=await fetch((0,v.getBlockDataUrl)(e,n)),{blocks:c}=await s.json(),d=(0,m.getUsedModelsFonts)({models:c});let u;if(!this.hasStyleInProject()){u=(0,g.normalizeStyles)(t.styles);const e=(0,b.flatMap)(u,(e=>{let{fontStyles:t}=e;return t})),o=(0,m.getUsedStylesFonts)(e);d.push(...o)}const p=await(0,g.normalizeFonts)((0,m.getBlocksStylesFonts)(d,o));this.setState({loading:!1},(()=>{r({blocks:c,styles:u,fonts:p,currentStyleId:a?t.styles?.[0]?.id:void 0}),i()}))};handleReplaceStyling=()=>{this.setState({replaceStyle:!this.state.replaceStyle})};renderSlotLeft(e){const{HeaderSlotLeft:t}=this.props;return t?r.default.createElement(t,null,e):e}render(){const{type:e,data:{name:t,pages:o,styles:i=[],pro:a}}=this.props,{active:l,thumbnailHeight:d,previewPointer:m,replaceStyle:g,loading:b}=this.state,h="stories"===e,v=o.find((e=>{let{id:t}=e;return t===l})),w=(0,f.templateThumbnailUrl)(v),x=o.map(((e,t)=>{const o=(0,n.default)("brz-ed-popup-two-details-page-select",h&&"brz-ed-popup-two-details-page-select-stories",{"brz-ed-popup-two-details-page-select-active-block":e.id===l}),i=(0,f.templateThumbnailUrl)(e);return r.default.createElement("div",{key:t,className:o,onClick:()=>{this.setState({active:e.id})}},r.default.createElement(u.default,{src:i,style:P}),r.default.createElement("div",{className:"brz-ed-popup-two-details-page-select-active"},e.title))})),M=!S.IS_PRO&&a,C=(0,n.default)("brz-ed-popup-two-details-preview",h&&"brz-ed-popup-two-details-preview-stories"),k=(0,n.default)("brz-ed-popup-two-details-right",h&&"brz-ed-popup-two-details-right-stories"),_=(0,n.default)("brz-ed-popup-two-body__content brz-ed-popup-two-blocks__grid brz-ed-popup-two-details",h&&"brz-ed-popup-two-details-stories");return r.default.createElement(r.default.Fragment,null,this.renderSlotLeft(r.default.createElement("div",{className:"brz-ed-popup-two-header__search brz-ed-popup-two-header__search--hidden"})),r.default.createElement("div",{className:_},r.default.createElement("div",{className:"brz-ed-popup-two-details-left"},r.default.createElement("div",{className:"brz-ed-popup-two-details-back",onClick:this.handleBack},r.default.createElement(s.default,{icon:"nc-arrow-left",className:"brz-ed-popup-two-details-back-icon"}),h?(0,y.t)("Back to Stories"):(0,y.t)("Back to Layouts")),r.default.createElement("div",{ref:this.thumbnailDetails,className:C,style:{"--thumbnailHeight":`${d}px`,"--previewPointer":`${m}`}},h?r.default.createElement(u.default,{className:"brz-ed-popup-two-details-preview-img brz-ed-popup-two-details-preview-img-stories",src:w}):r.default.createElement(u.default,{className:"brz-ed-popup-two-details-preview-img",src:w,style:{...P,"--transitionPreview":`transform ${this.getTransition(v?.thumbnailHeight??0)}s linear`}}))),r.default.createElement("div",{className:k},r.default.createElement("div",{className:"brz-ed-popup-two-details-title"},r.default.createElement("h2",{className:"brz-ed-popup-two-details-title-name"},t),r.default.createElement("div",{className:"brz-ed-popup-two-details-title-count"},o.length," ",o.length>1?h?(0,y.t)("stories"):(0,y.t)("layouts"):h?(0,y.t)("story"):(0,y.t)("layout"))),r.default.createElement("div",{className:"brz-ed-popup-two-details-page"},r.default.createElement(c.default,null,x))),r.default.createElement("div",{className:"brz-ed-popup-two-details-footer"},r.default.createElement("div",{className:"brz-ed-popup-two-details-footer-grid"},r.default.createElement("div",{className:"brz-ed-popup-two-details-footer-render"},r.default.createElement("div",{className:"brz-ed-popup-two-details-footer-radio"},M?r.default.createElement("div",{className:"brz-ed-popup-two-details-footer-radio-button brz-ed-popup-two-details-footer-radio-button--pro"},h?(0,y.t)("Upgrade to PRO to use this story"):(0,y.t)("Upgrade to PRO to use this layout")):i.length>0&&r.default.createElement("div",{className:"brz-ed-popup-two-details-footer-radio-button",onClick:this.handleReplaceStyling},r.default.createElement(s.default,{icon:g?"nc-check":"nc-uncheck",className:"brz-ed-popup-two-details-footer-radio-icon"}),(0,y.t)("Replace global styling"))),M?r.default.createElement(p.Button,{type:"link",color:"pro",size:2,href:T.upgradeToPro,target:"_blank",leftIcon:"nc-lock"},(0,y.t)("Get a PRO plan")):r.default.createElement(p.Button,{type:"button",color:"teal",size:2,loading:b,onClick:this.handleThumbnailAdd},h?(0,y.t)("Import This Story"):(0,y.t)("Import This Layout")))))))}}const _=C(k)},46919:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=S(o(27378)),i=h(o(10301)),n=h(o(27998)),a=h(o(33364)),l=h(o(25859)),s=S(o(41815)),c=h(o(68658)),d=h(o(7416)),u=S(o(24839)),p=o(58804),f=o(4820),m=o(64985),y=h(o(88943)),g=o(25663),b=o(14841);function h(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const w={category:"*",search:""};class x extends r.Component{static defaultProps={type:"templates",showSidebar:!0,showSearch:!0,onAddBlocks:i.default.noop,onClose:i.default.noop,onNext:i.default.noop};state={data:void 0,detailsData:void 0};async componentDidMount(){const e=await this.getData();this.setState({data:e})}async getData(){const e=(0,f.assetUrl)(`${this.props.type}/meta.json`),t=await fetch(e);return await t.json()}filterFn=(e,t)=>{const o=new RegExp(t.search?.replace(/[.*+?^${}()|[\]\\]/g,""),"i"),r="*"===t.category||e.cat.includes(Number(t.category)),i=""===t.search||o.test(e.keywords)||o.test(e.name);return r&&i};getLayoutData(e){return(0,b.isStoryData)(e)?e.stories:e.templates}handleThumbnailAdd=e=>{this.setState({detailsData:e})};async getBlockResolve(e){const t=(0,g.getBlockDataUrl)(this.props.type,e),o=await fetch(t);return await o.json()}handleBlankThumbnailAdd=async e=>{const{onAddBlocks:t,onClose:o}=this.props;t({blocks:[{...await this.getBlockResolve(e.id),blockId:e.id}],fonts:[]}),o()};renderSlotLeft(e){const{HeaderSlotLeft:t}=this.props;return t?r.default.createElement(t,null,e):e}renderLoading(){const{showSidebar:e,showSearch:t}=this.props;return r.default.createElement(r.default.Fragment,null,t&&this.renderSlotLeft(r.default.createElement(c.default,{className:"brz-ed-popup-two-header__search"})),e&&r.default.createElement("div",{className:"brz-ed-popup-two-body__sidebar"},r.default.createElement("div",{className:"brz-ed-popup-two-sidebar-body"})),r.default.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-body__content--loading"},r.default.createElement(a.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})))}renderThumbnail=e=>{let{data:t,...o}=e;const{type:i}=this.props;return"stories"===i&&t.blank?r.default.createElement(u.default,{...o,data:t.pages[0],onAdd:this.handleBlankThumbnailAdd}):r.default.createElement(u.LayoutThumbnail,{data:t,...o})};renderList(e){const{showSidebar:t,showSearch:o}=this.props,i=this.getLayoutData(e),a=i.map((e=>({...e,...e.pages[0],thumbnailSrc:(0,p.templateThumbnailUrl)(e.pages[0])}))),u={};for(let e=0;e{let{hidden:t}=e;return!0!==t}));return r.default.createElement(l.default,{data:a,filterFn:this.filterFn,defaultFilter:w},((e,i,a)=>r.default.createElement(r.default.Fragment,null,o&&this.renderSlotLeft(r.default.createElement(c.default,{className:"brz-ed-popup-two-header__search",value:i.search,onChange:e=>a({search:e})})),t&&r.default.createElement(s.default,null,r.default.createElement(s.SidebarOption,{title:"CATEGORIES"},r.default.createElement(s.SidebarList,{lists:f,value:i.category,counters:u,onChange:e=>a({category:e})}))),r.default.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-blocks-body-layouts"},r.default.createElement(n.default,null,e.length>0?r.default.createElement(d.default,{data:e,ThumbnailComponent:this.renderThumbnail,onThumbnailAdd:this.handleThumbnailAdd}):r.default.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},r.default.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},(0,m.t)("Nothing here, please refine your search."))))))))}renderDetails(e){const{type:t,onAddBlocks:o,onClose:i,HeaderSlotLeft:n}=this.props;return r.default.createElement(y.default,{type:t,data:e,HeaderSlotLeft:n,onAddBlocks:o,onBack:()=>{this.setState({detailsData:void 0})},onClose:i})}render(){const{data:e,detailsData:t}=this.state;return e?t?this.renderDetails(t):this.renderList(e):this.renderLoading()}}},14841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isStoryData",{enumerable:!0,get:function(){return o}});const o=e=>"stories"in e},27619:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=x(o(60042)),i=o(47885),n=T(o(27378)),a=x(o(27998)),l=x(o(10301)),s=x(o(33364)),c=x(o(22546)),d=o(4820),u=o(64985),p=o(4883),f=x(o(25859)),m=o(21546),y=x(o(68658)),g=T(o(41815)),b=x(o(7416)),h=o(57266),v=x(o(7781)),S=o(55748),w=o(77969);function x(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const P="All",C="Uncategorised",k={flex:1};class _ extends n.Component{static defaultProps={type:"normal",showSearch:!0,sidebarSync:!0,showTitle:!0,search:"",loading:!1,items:{},types:[],HeaderSlotLeft:n.Component,onChange:l.default.noop,onDelete:l.default.noop,onSuccessSync:l.default.noop,onUpdate:l.default.noop};currentFilter;constructor(e){super(e);const{types:t,filter:o}=this.props,r=t[0]?.id??"BLOCK",i=o??this.getSidebarFilter(r)?.defaultSelected??"";this.currentFilter={type:r,filter:i,search:"",tags:P}}getSidebarFilter(e){const t=c.default.getAll();return(0,i.match)([h.isBlock,()=>t.api?.savedBlocks?.filter],[h.isPopup,()=>t.api?.savedPopups?.filter],[h.isLayout,()=>t.api?.savedLayouts?.filter])(e)}hasFilter=e=>{const t=this.getSidebarFilter(e)?.handler;return"function"==typeof t};getFilterLabel(e){return this.getSidebarFilter(e)?.label}getDefaultFilter=e=>{const t=this.getAllCategories(e).some((e=>e.item===this.currentFilter.tags))?this.currentFilter.tags:P;return{type:this.currentFilter.type,search:"",tags:t,filter:this.currentFilter.filter}};getActiveType(e){return this.currentFilter.type||e[0].id}getAllCategories=e=>{const t=new Set([P,C]);return e.filter((e=>e.type===this.currentFilter.type)).map((e=>e.tags?.split(","))).flat().forEach((e=>e&&t.add(e))),[...t].map((e=>({item:e,deletable:e!==P&&e!==C,editable:e!==P&&e!==C})))};getTypesCounters=()=>{const{items:e,types:t}=this.props,o=Object.values(e).filter(i.isT).flatMap((e=>e)),r=t.reduce(((e,t)=>{let{id:o}=t;return{...e,[o]:0}}),{});return o.forEach((e=>{let{type:t}=e;r[t]++})),r};filterData=(e,t)=>{const o=t.type===e.type,r=""===t.search||new RegExp(t.search.replace(/[.*+?^${}()|[\]\\]/g,""),"i").test(e.keywords||e.title||""),i=e.tags??"",n=t.tags===P,a=t.tags===C&&!i.trim(),l=i.split(",").includes(t.tags);return o&&r&&(n||a||l)};handleImport=()=>{const{types:e,onImport:t}=this.props;"function"==typeof t&&t(this.getActiveType(e))};handleExport=()=>{const{items:e,types:t,onExport:o}=this.props,r=this.getActiveType(t),i=e[r];"function"==typeof o&&i&&o(i.filter((e=>this.filterData(e,this.currentFilter))).map((e=>e.uid)),r)};renderLoading(){return n.default.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-body__content--loading"},n.default.createElement(s.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}renderEmpty(){const{type:e,types:t,onImport:o}=this.props,{search:r}=this.currentFilter,i=this.getActiveType(t),a={width:"LAYOUT"===i?"524px":"322px"};let l="editor/img/save_toolbar.gif",s=(0,u.t)("Nothing here yet, save a block first.");const c="function"==typeof o;return"popup"===e&&(l="editor/img/save_popups_toolbar.gif",s=(0,u.t)("Nothing here yet, save a popup first.")),"LAYOUT"===i&&(s=(0,u.t)("Nothing here yet, save a layout first."),l="editor/img/save_layout.gif"),n.default.createElement("div",{className:"brz-ed-popup-two-body__content brz-flex-xs-column"},n.default.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},""!==r?n.default.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},(0,u.t)("Nothing here, please refine your search.")):n.default.createElement(n.default.Fragment,null,n.default.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},s),n.default.createElement("img",{key:i,style:a,src:(0,d.assetUrl)(l),className:"brz-ed-popup-two-blocks__grid-clear-image-saved",alt:"Saved"}))),c&&n.default.createElement(m.Footer,{alignX:"middle",alignY:"middle"},this.renderImport()))}renderItems(e,t){const{showTitle:o,thumbnailSync:r,thumbnailDownload:i,onChange:l,onDelete:s,onExport:c,onImport:d,onUpdate:u}=this.props,p="function"==typeof d,f="function"==typeof c,y=p||f;return n.default.createElement("div",{className:"brz-ed-popup-two-body__content brz-flex-xs-column"},n.default.createElement(a.default,{style:k},n.default.createElement(b.default,{showSync:r,showTitle:o,showDownload:i,data:e,tags:t,onThumbnailAdd:l,onThumbnailRemove:s,onUpdate:u})),y&&n.default.createElement(m.Footer,{alignX:"middle",alignY:"middle"},f&&this.renderExport(),p&&this.renderImport()))}renderImport(){const{importLoading:e,types:t}=this.props,o=this.getActiveType(t),i=(0,r.default)({"brz-pointer-events-none":e}),a="POPUP"===o?(0,u.t)("Import New Popup"):"BLOCK"===o?(0,u.t)("Import New Block"):(0,u.t)("Import New Layout");return n.default.createElement(p.Button,{className:i,type:"link",color:"teal",loading:e,size:2,onClick:this.handleImport},a)}renderExport(){const{exportLoading:e,types:t}=this.props,o=this.getActiveType(t),r="POPUP"===o?(0,u.t)("Export All Popups"):"BLOCK"===o?(0,u.t)("Export All Blocks"):(0,u.t)("Export All Layouts");return n.default.createElement(p.Button,{color:"gray",loading:e,size:2,onClick:this.handleExport},r)}render(){const{loading:e,items:t,types:o,showSearch:r,sidebarSync:a,HeaderSlotLeft:l,onFilterChange:s,onSuccessSync:c}=this.props,d=Object.values(t).filter(i.isT).flatMap((e=>e));return n.default.createElement(f.default,{data:d,filterFn:this.filterData,defaultFilter:this.getDefaultFilter(d)},((t,i,p)=>{const f=this.getAllCategories(d),m=f.filter((e=>e.item!==P&&e.item!==C)).map((e=>e.item));return n.default.createElement(n.default.Fragment,null,r&&n.default.createElement(l,null,n.default.createElement(y.default,{className:"brz-ed-popup-two-header__search",value:i.search,onChange:e=>{p({search:e}),this.currentFilter.search=e}})),n.default.createElement(g.default,null,n.default.createElement(g.SidebarOption,{title:(0,u.t)("LIBRARY")},n.default.createElement(g.SidebarList,{lists:o,counters:this.getTypesCounters(),value:i.type,onChange:e=>{p({type:e,tags:P}),this.currentFilter.type=e,this.currentFilter.tags=P}})),n.default.createElement(g.SidebarOption,{title:(0,u.t)("FILTER BY TAG")},n.default.createElement(w.Control,{value:i.tags,choices:f,onChange:e=>{p({tags:e}),this.currentFilter.tags=e}})),s&&this.hasFilter(i.type)&&n.default.createElement(g.SidebarOption,{title:this.getFilterLabel(i.type)},n.default.createElement(S.Filter,{type:i.type,value:i.filter,onChange:e=>{p({filter:e}),s(e,i.type)}})),a&&n.default.createElement(g.SidebarOption,{separator:!0},n.default.createElement(v.default,{onSuccessSync:c}))),e?this.renderLoading():0===t.length?this.renderEmpty():this.renderItems(t,m))}))}}const O=_},25079:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{useDisconnect:function(){return l},useSync:function(){return s}});const r=o(27378),i=o(62948),n=o(26458),a=o(64985),l=()=>{const[e,t]=(0,r.useState)(!1),[o,l]=(0,r.useState)(!1),[s,c]=(0,r.useState)(void 0);return(0,r.useEffect)((()=>{o&&(0,n.logout)().then((e=>{!e.status||e.status>=400?(c(e),i.ToastNotification.error((0,a.t)("Something went wrong"))):(l(!1),t(!0))})).catch((e=>{l(!1),c(e),i.ToastNotification.error((0,a.t)("Something went wrong"))}))}),[o]),(0,r.useEffect)((()=>{e&&t(!1)}),[e]),{isDisconnect:e,error:s,loading:o,setDisconnect:()=>{l(!0)}}},s=()=>{const[e,t]=(0,r.useState)(!1),[o,l]=(0,r.useState)(!1),[s,c]=(0,r.useState)(void 0);return(0,r.useEffect)((()=>{o&&(0,n.sync)().then((e=>{!e.status||e.status>=400?(c(e),i.ToastNotification.error((0,a.t)("Unsuccessful sync"))):(l(!1),t(!0),i.ToastNotification.success((0,a.t)("Done, your library has synced")))})).catch((e=>{l(!1),c(e),i.ToastNotification.error((0,a.t)("Unsuccessful sync"))}))}),[o]),{isSync:e,error:s,loading:o,setSync:()=>{l(!0)}}}},7781:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{CloudConnectWP:function(){return b},default:function(){return h}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),n=f(o(33364)),a=f(o(92823)),l=o(4883),s=o(74215),c=o(97045),d=o(64985),u=o(24978),p=o(25079);function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}const y={updateAuthorization:s.updateAuthorization},g=(0,i.connect)((e=>({isAuthorized:"connected"===(0,c.authorizedSelector)(e),syncAllowed:(0,c.syncAllowedSelector)(e)})),y),b=e=>{const{isAuthorized:t,syncAllowed:o,onSuccessSync:i,updateAuthorization:s}=e,{isSync:c,setSync:f,loading:m}=(0,p.useSync)(),{isDisconnect:y,setDisconnect:g,loading:b}=(0,p.useDisconnect)();return(0,r.useEffect)((()=>{c&&i&&i()}),[c,i]),(0,r.useEffect)((()=>{y&&(s("disconnect"),(0,u.setAuthorized)("disconnect"))}),[y,s]),r.default.createElement("div",{className:"brz-ed-popup-two__cloud"},r.default.createElement("p",{className:"brz-p"},t?(0,d.t)("Saved Library is syncing to your Account"):(0,d.t)("Access your Library in any WP install by connecting your Account")),r.default.createElement("div",{className:"brz-ed-popup-two__cloud-icon"},r.default.createElement("div",{className:"brz-d-inline-block brz-p-relative"},r.default.createElement(n.default,{icon:"nc-upload"}),t&&r.default.createElement("div",{className:"brz-ed-popup-two__cloud-icon--connect"},r.default.createElement(n.default,{icon:"nc-check-circle-white"})))),r.default.createElement(l.Button,{className:"brz-ed-popup-two__cloud-button",size:4,color:t?"gray":"teal",loading:b,onClick:()=>{t?g():a.default.open({mode:"stack",prompt:"authorization",props:{}})}},t?(0,d.t)("Disconnect"):(0,d.t)("Connect")),t&&o&&r.default.createElement(l.Button,{className:"brz-ed-popup-two__cloud-button-sync",size:4,color:"teal",loading:m,onClick:()=>{f()}},(0,d.t)("Sync Now")),!o&&r.default.createElement("p",{className:"brz-p"},(0,d.t)("Your Plugin version is incompatible with Account version, please update plugin")))},h=g(b)},17101:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{init:function(){return o},fetchSuccess:function(){return r},fetchError:function(){return i}});const o=e=>({type:"Init",payload:e}),r=e=>({type:"FetchSuccess",payload:e}),i=e=>({type:"FetchError",payload:e})},55748:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Filter",{enumerable:!0,get:function(){return b}});const r=o(47885),i=g(o(27378)),n=m(o(97023)),a=m(o(65961)),l=m(o(22546)),s=o(64187),c=o(64985),d=o(23017),u=o(57266),p=g(o(17101)),f=o(28194);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const b=e=>{const{type:t,value:o,onChange:m}=e,[y,g]=(0,i.useReducer)(f.reducer,f.initState),b=(0,i.useCallback)((e=>{""!==e&&m(e)}),[]);return(0,i.useEffect)((()=>{const e=l.default.getAll(),o=(0,r.match)([u.isBlock,()=>(0,s.filterSavedBlocks)(e)],[u.isPopup,()=>(0,s.filterSavedPopups)(e)],[u.isLayout,()=>(0,s.filterSavedLayouts)(e)]);(async()=>{try{const e=await o(t);g(p.fetchSuccess(e))}catch(e){g("string"==typeof e?p.fetchError(e):p.fetchError((0,c.t)("Something went wrong")))}})()}),[t]),i.default.createElement(i.default.Fragment,null,y.error&&i.default.createElement(d.OptionError,null,y.error),i.default.createElement(n.default,{className:"brz-control__select--dark",fullWidth:!0,maxItems:"6",itemHeight:"30",defaultValue:o,onChange:b},y.error&&i.default.createElement(a.default,{title:"-",value:""},"-"),y.loading?i.default.createElement(a.default,{title:(0,c.t)("Loading..."),value:""},(0,c.t)("Loading...")):y.choices.map((e=>i.default.createElement(a.default,{key:e.id,title:e.label,value:e.id},e.label)))))}},28194:(e,t)=>{"use strict";function o(e,t){switch(t.type){case"Init":return{...e,choices:[]};case"FetchSuccess":return{loading:!1,choices:t.payload};case"FetchError":return{loading:!1,error:t.payload,choices:[]}}}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{reducer:function(){return o},initState:function(){return r}});const r={loading:!0,choices:[]}},87436:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShowSuccessError",{enumerable:!0,get:function(){return n}});const r=o(62948),i=o(1118),n=(e,t)=>{e.success.forEach((e=>{switch(t){case"BLOCK":(0,i.isSavedLayout)(e)&&r.ToastNotification.error("Your .zip contains layouts. We imported them in the Saved Layouts library",5),(0,i.isSavedPopup)(e)&&r.ToastNotification.error("Your .zip contains popups blocks. We imported them in the Saved Popups library",5);break;case"POPUP":(0,i.isSavedLayout)(e)&&r.ToastNotification.error("Your .zip contains layouts. We imported them in the Saved Layouts library",5),(0,i.isSavedBlock)(e)&&r.ToastNotification.error("Your .zip contains regular blocks. We imported them in the Saved Blocks library",5);break;case"LAYOUT":(0,i.isSavedBlock)(e)&&r.ToastNotification.error("Your .zip contains regular blocks. We imported them in the Saved Blocks library",5),(0,i.isSavedPopup)(e)&&r.ToastNotification.error("Your .zip contains popups blocks. We imported them in the Saved Popups library",5)}}))}},19513:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Edit",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(33364))&&n.__esModule?n:{default:n};var n;const a=o(73270);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{const{value:t,onChange:o}=e,[n,l]=(0,r.useState)(t),[s,c]=(0,r.useState)(!1),d=(0,r.useRef)(null),u=()=>{const e=n.trim();e&&e!==t&&o(e),c(!1)};return(0,r.useEffect)((()=>{s&&d.current?.focus()}),[s]),r.default.createElement("div",{className:"brz-ed-popup-two__select-editable",onClick:e=>{s&&e.stopPropagation()}},s?r.default.createElement("input",{ref:d,className:"brz-ed-popup-two__select-input",value:n,onChange:e=>{l(e.target.value)},onBlur:u,onKeyPress:e=>{"Enter"===e.key&&u()}}):r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Title,{boxed:!0,title:n}),r.default.createElement(i.default,{className:"brz-ed-popup-two__select-pen",icon:"nc-pen",onClick:e=>{s||e.stopPropagation(),c(!s)}})))}},33898:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ItemAdd",{enumerable:!0,get:function(){return d}});const r=s(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=s(o(65961)),a=s(o(33364)),l=o(64985);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{const{onAdd:t}=e,[o,s]=(0,i.useState)(""),[c,d]=(0,i.useState)(!1),u=()=>{const e=o.trim();e?(t(e),s(""),d(!1)):d(!0)},p=(0,r.default)("brz-ed-popup-two__select-item",{"brz-ed-popup-two__select--error":c});return i.default.createElement(n.default,null,i.default.createElement("div",{className:p},i.default.createElement("span",{className:"brz-ed-popup-two__select-add"},i.default.createElement(a.default,{icon:"nc-add",onClick:u})),i.default.createElement("input",{className:"brz-ed-popup-two__select-input",type:"text",placeholder:(0,l.t)("Add new"),value:o,onChange:e=>{s(e.target.value)},onKeyPress:e=>{"Enter"===e.key&&u()}})))}},38340:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ItemEdit",{enumerable:!0,get:function(){return d}});const r=c(o(27378)),i=c(o(65961)),n=c(o(33364)),a=o(64985),l=o(19513),s=o(73270);function c(e){return e&&e.__esModule?e:{default:e}}const d=e=>{const{value:t,active:o,selected:c,onDelete:d,onEdit:u,onClick:p}=e;return r.default.createElement(i.default,{active:o,selected:c,title:t,value:t,onClick:p},c?t:r.default.createElement("div",{className:"brz-ed-popup-two__select-item"},"function"==typeof u?r.default.createElement(l.Edit,{value:t,onChange:u}):r.default.createElement(s.Title,{title:t}),"function"==typeof d&&r.default.createElement("span",{title:(0,a.t)("Remove"),className:"brz-ed-popup-two__select-trash"},r.default.createElement(n.default,{icon:"nc-trash",onClick:e=>{e.stopPropagation(),d?.(t)}}))))}},73270:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Title",{enumerable:!0,get:function(){return a}});const r=n(o(60042)),i=n(o(27378));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{title:t,boxed:o}=e;const n=(0,r.default)("brz-ed-popup-two__select-title",{"brz-ed-popup-two__select-title--boxed":o});return i.default.createElement("span",{title:t,className:n},t)}},77969:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Control",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),i=l(o(97023)),n=o(33898),a=o(38340);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{const{value:t,choices:o,onChange:l,onDelete:s,onEdit:c,onAdd:d}=e;return r.default.createElement(i.default,{defaultValue:t,className:"brz-control__select--dark",fullWidth:!0,maxItems:"6",itemHeight:"30",onChange:l},o.map(((e,t)=>r.default.createElement(a.ItemEdit,{key:t,value:e.item,onDelete:e.deletable?s:void 0,onEdit:e.editable&&"function"==typeof c?t=>c(e.item,t):void 0}))),"function"==typeof d&&r.default.createElement(n.ItemAdd,{onAdd:d}))}},73333:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=o(47885),i=C(o(13556)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=k(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(23884),l=C(o(10301)),s=o(62948),c=o(46338),d=C(o(22546)),u=o(62762),p=o(97045),f=o(1118),m=o(64187),y=o(25663),g=o(46479),b=o(72833),h=o(64985),v=o(58991),S=o(46065),w=o(57266),x=C(o(27619)),M=o(87436),T=o(42787),P=o(84331);function C(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(k=function(e){return e?o:t})(e)}class _ extends n.Component{static defaultProps={type:"normal",showSearch:!0,showTitle:!0,projectFonts:{},projectExtraFontStyles:[],isAuthorized:!1,onAddBlocks:l.default.noop,onClose:l.default.noop,HeaderSlotLeft:n.Component,getParentNode:()=>null};state={search:"",filter:void 0,data:{BLOCK:void 0,LAYOUT:void 0,POPUP:void 0},loading:!0,importLoading:!1,exportLoading:!1,updateLoading:!1,types:(0,P.getBlocksType)(this.props.type,d.default.getAll())};pagination={BLOCK:void 0,LAYOUT:void 0,POPUP:void 0};unMount=!1;withImportExport=!0;async componentDidMount(){const e=d.default.getAll();(0,u.isCloud)(e)&&(this.withImportExport=!e.user.isGuest),this.updateBlocks()}componentDidUpdate(e){e.isAuthorized!==this.props.isAuthorized&&this.updateBlocks()}componentWillUnmount(){this.unMount=!0}updateBlocks=async()=>{if(0!==this.state.types.length)if("normal"===this.props.type){const e=await this.getBlocks(),t=await this.getLayout();this.unMount||this.setState({data:{BLOCK:e,LAYOUT:t},loading:!1})}else{const e=await this.getPopups();this.unMount||this.setState({data:{POPUP:e},loading:!1})}};async getBlocks(e){try{const t=e?{filterBy:e}:void 0;return(await(0,m.getSavedBlocks)(d.default.getAll(),t)).map((e=>({...this.makeThumbsData(e),uid:e.uid,type:T.BLOCK,title:e.title,tags:e.tags,dataVersion:e.dataVersion,synchronized:e.synchronized||!1,synchronizable:e.synchronizable||!1})))}catch(e){return console.error(e),s.ToastNotification.error((0,h.t)("Something went wrong on getting blocks.")),[]}}async getLayout(e){try{const t=e?{filterBy:e}:void 0;return(await(0,m.getSavedLayouts)(d.default.getAll(),t)).map((e=>({...this.makeThumbsData(e),uid:e.uid,type:T.LAYOUT,title:e.title,tags:e.tags,dataVersion:e.dataVersion,synchronized:e.synchronized||!1,synchronizable:e.synchronizable||!1})))}catch(e){return console.error(e),s.ToastNotification.error((0,h.t)("Something went wrong on getting layouts.")),[]}}async getPopups(e){try{const t=e?{filterBy:e}:void 0;return(await(0,m.getSavedPopups)(d.default.getAll(),t)).map((e=>({...this.makeThumbsData(e),uid:e.uid,type:T.POPUP,title:e.title,tags:e.tags,dataVersion:e.dataVersion,synchronized:e.synchronized||!1,synchronizable:e.synchronizable||!1})))}catch(e){return console.error(e),s.ToastNotification.error((0,h.t)("Something went wrong on getting popups.")),[]}}async getAssets(e){const{projectFonts:t,projectExtraFontStyles:o}=this.props,{extraFontStyles:r=[]}=e.meta||{},i=(0,v.getUsedModelsFonts)({models:e}),n=(0,v.getUsedStylesFonts)(r),a=await(0,b.normalizeFonts)((0,v.getBlocksStylesFonts)([...i,...n],t)),l=r.filter((e=>{let{id:t}=e;return!o.some((e=>e.id===t))}));return{fonts:a,extraFontStyles:(0,b.normalizeFontStyles)(l)}}async handleAddLayout(e){const{onAddBlocks:t,onClose:o}=this.props;try{const{data:r,meta:i}=await(0,m.getSavedLayoutById)(e,d.default.getAll()),{fonts:n,extraFontStyles:a}=await this.getAssets({data:r,meta:i});this.unMount||(t({fonts:n,extraFontStyles:a,blocks:r.items}),o())}catch(e){console.error(e),s.ToastNotification.error((0,h.t)("Failed to get savedLayout"))}}async handleAddBlock(e){const{onAddBlocks:t,onClose:o}=this.props;try{const{data:r,meta:i}=await(0,m.getSavedBlockById)(e,d.default.getAll()),{fonts:n,extraFontStyles:a}=await this.getAssets({data:r,meta:i});this.unMount||(t({fonts:n,extraFontStyles:a,blocks:[r]}),o())}catch(e){console.error(e),s.ToastNotification.error((0,h.t)("Something went wrong"))}}async handleAddPopup(e){const{onAddBlocks:t,onClose:o}=this.props;try{const{data:r,meta:i}=await(0,m.getSavedPopupById)(e,d.default.getAll()),{fonts:n,extraFontStyles:a}=await this.getAssets({data:r,meta:i});this.unMount||(t({fonts:n,extraFontStyles:a,blocks:[r]}),o())}catch(e){console.error(e),s.ToastNotification.error((0,h.t)("Something went wrong"))}}handleLoadingBlock(e,t,o){this.setState((0,i.default)((r=>{r.data[t]=r.data[t]??[],r.data[t].forEach(((i,n)=>{i.uid===e&&(r.data[t][n].loading=o)}))})))}handleAddItems=e=>{let{type:t,uid:o}=e;switch(this.handleLoadingBlock(o,t,!0),t){case T.BLOCK:this.handleAddBlock(o).catch((()=>{this.handleLoadingBlock(o,t,!1),s.ToastNotification.error((0,h.t)("Unable to insert block. Please try again or contact support"))}));break;case T.POPUP:this.handleAddPopup(o).catch((()=>{this.handleLoadingBlock(o,t,!1),s.ToastNotification.error((0,h.t)("Unable to insert popup. Please try again or contact support"))}));break;case T.LAYOUT:this.handleAddLayout(o).catch((()=>{this.handleLoadingBlock(o,t,!1),s.ToastNotification.error((0,h.t)("Unable to insert layout. Please try again or contact support"))}))}};handleItemUpdate=async e=>{this.setState({updateLoading:!0});const{data:t}=this.state,{type:o}=e,n={uid:e.uid,title:e.title||"",tags:e.tags||"",dataVersion:e.dataVersion},a=d.default.getAll(),l=(0,r.match)([w.isBlock,()=>(0,m.updateSavedBlock)(n,a)],[w.isPopup,()=>(0,m.updateSavedPopup)(n,a)],[w.isLayout,()=>(0,m.updateSavedLayout)(n,a)]);this.setState((0,i.default)((t=>{t.data[o]=t.data[o]?.map((t=>t.uid===e.uid?{...t,title:e.title,tags:e.tags,dataVersion:e.dataVersion}:t))})));try{await l(o),this.unMount||this.setState({updateLoading:!1})}catch(e){this.unMount||this.setState({updateLoading:!1,data:t},(()=>{const e=o.toLowerCase();s.ToastNotification.error(`Unable to update ${e}. Please try again or contact support`)}))}};handleDeleteItem=e=>{const{type:t,uid:o}=e;switch(t){case T.BLOCK:(0,m.deleteSavedBlock)(e,d.default.getAll());break;case T.POPUP:(0,m.deleteSavedPopup)(e,d.default.getAll());break;case T.LAYOUT:(0,m.deleteSavedLayout)(e,d.default.getAll())}this.setState((e=>{let{data:r}=e;return{data:{...r,[t]:r[t]?.filter((e=>e.uid!==o))}}}))};handleImport=async e=>{this.setState({importLoading:!0});const t=d.default.getAll(),o=(0,r.match)([w.isBlock,()=>(0,m.importSaveBlocks)(t)],[w.isPopup,()=>(0,m.importSavePopups)(t)],[w.isLayout,()=>(0,m.importSavedLayout)(t)]);try{const t=await o(e);if(!t)return void s.ToastNotification.error((0,h.t)("Import failed"));if(t.success.length){const o=[],r=[],n=[];t.success.forEach((e=>{const t={...e,isCloudEntity:!1};(0,f.isSavedLayout)(t)&&r.push({...this.makeThumbsData(t),uid:t.uid,type:T.LAYOUT,title:t.title,tags:t.tags,dataVersion:t.dataVersion,synchronized:!1,synchronizable:!1}),(0,f.isSavedBlock)(t)&&o.push({...this.makeThumbsData(t),uid:t.uid,type:T.BLOCK,title:t.title,tags:t.tags,dataVersion:t.dataVersion,synchronized:!1,synchronizable:!1}),(0,f.isSavedPopup)(t)&&n.push({...this.makeThumbsData(t),uid:t.uid,type:T.POPUP,title:t.title,tags:t.tags,dataVersion:t.dataVersion,synchronized:!1,synchronizable:!1})})),this.setState((0,i.default)((e=>{o.length>0&&(e.data.BLOCK=[...e.data.BLOCK??[],...o]),n.length>0&&(e.data.POPUP=[...e.data.POPUP??[],...n]),r.length>0&&(e.data.LAYOUT=[...e.data.LAYOUT??[],...r])}))),(0,M.ShowSuccessError)(t,e)}this.unMount||(this.setState({importLoading:!1}),t.errors.forEach((e=>{let{message:t}=e;s.ToastNotification.error(t)})))}catch(e){this.unMount||this.setState({importLoading:!1},(()=>{const t=(0,w.getError)(e);s.ToastNotification.error(t)}))}};handleSuccessSync=()=>{this.updateBlocks()};handleFilterChange=async(e,t)=>{switch(t){case T.BLOCK:try{const t=await this.getBlocks(e);this.unMount||this.setState((0,i.default)((e=>{e.data.BLOCK=t})))}catch(e){s.ToastNotification.error((0,h.t)("Unable to fetch blocks by filter"))}break;case T.LAYOUT:try{const t=await this.getLayout(e);this.unMount||this.setState((0,i.default)((e=>{e.data.LAYOUT=t})))}catch(e){s.ToastNotification.error((0,h.t)("Unable to fetch layouts by filter"))}break;case T.POPUP:try{const t=await this.getPopups(e);this.unMount||this.setState((0,i.default)((e=>{e.data.POPUP=t})))}catch(e){s.ToastNotification.error((0,h.t)("Unable to fetch popups by filter"))}}};makeThumbsData(e){const{url:t,width:o,height:r}=(0,y.blockThumbnailData)(e),i="admin"===(0,c.currentUserRole)();return{thumbnailSrc:t,thumbnailWidth:o,thumbnailHeight:r,showRemoveIcon:!e.isCloudEntity&&i,loading:!1}}render(){const{loading:e,data:t,types:o,search:r,importLoading:i,exportLoading:a}=this.state,{type:l,HeaderSlotLeft:s,showSearch:c,showTitle:d}=this.props,u=(0,S.getWhiteLabel)();return n.default.createElement(x.default,{type:l,loading:e,items:t,types:o,showSearch:c,showTitle:d,sidebarSync:!u,thumbnailSync:g.IS_WP,thumbnailDownload:this.withImportExport,search:r,filter:this.state.filter,importLoading:i,exportLoading:a,HeaderSlotLeft:s,onSuccessSync:this.handleSuccessSync,onChange:this.handleAddItems,onDelete:this.handleDeleteItem,onImport:this.withImportExport?this.handleImport:void 0,onUpdate:this.handleItemUpdate,onFilterChange:this.handleFilterChange})}}const O=(0,a.connect)((e=>({projectFonts:(0,p.fontsSelector)(e),projectExtraFontStyles:(0,p.extraFontStylesSelector)(e),isAuthorized:"connected"===(0,p.authorizedSelector)(e)})))(_)},42787:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{BLOCK:function(){return o},LAYOUT:function(){return r},POPUP:function(){return i}});const o="BLOCK",r="LAYOUT",i="POPUP"},84331:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getBlocksType",{enumerable:!0,get:function(){return a}});const r=o(62948),i=o(64985),n=o(42787),a=(e,t)=>{const o=t.api??{};if("normal"===e){const{savedLayouts:e,savedBlocks:t}=o,a=[];return t?.get&&t?.getByUid&&a.push({id:n.BLOCK,title:(0,i.t)("Blocks"),icon:"nc-blocks"}),e?.get&&e?.getByUid&&a.push({id:n.LAYOUT,title:(0,i.t)("Layouts"),icon:"nc-pages"}),a.length>0?a:(r.ToastNotification.error((0,i.t)("API: No saved blocks or layouts found.")),[])}const{savedPopups:a}=o;return a?.get&&a.getByUid?[{id:n.POPUP,title:(0,i.t)("Popups"),icon:"nc-blocks"}]:(r.ToastNotification.error((0,i.t)("API: No saved popups found.")),[])}},25859:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;class n extends r.default.Component{state={currentFilter:this.props.defaultFilter};componentDidUpdate(e){this.props.defaultFilter!==e.defaultFilter&&this.setState({currentFilter:this.props.defaultFilter})}setFilter=e=>{this.setState((t=>({currentFilter:{...t.currentFilter,...e}})))};render(){const{filterFn:e,data:t,children:o}=this.props,{currentFilter:r}=this.state;return o(t.filter((t=>e(t,r))),r,this.setFilter)}}},36942:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DownloadBlock",{enumerable:!0,get:function(){return y}});const r=o(47885),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=p(o(33364)),a=o(62948),l=p(o(22546)),s=o(64187),c=o(64985),d=o(8519),u=o(57266);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}const m=e=>{const t=(0,r.match)([u.isBlock,()=>(0,c.t)("Could not download Saved block")],[u.isLayout,()=>(0,c.t)("Could not download Saved Layout")],[u.isPopup,()=>(0,c.t)("Could not download Saved Popup")]);a.ToastNotification.error(t(e))},y=e=>{const{id:t,type:o}=e,[a,p]=(0,i.useState)(!1),f=(0,i.useRef)(null),[y,g]=(0,i.useState)(void 0),b=(0,i.useCallback)((async()=>{p(!0),g(void 0);const e=l.default.getAll(),i=(0,r.match)([u.isBlock,()=>(0,s.getSavedBlockById)(t,e)],[u.isLayout,()=>(0,s.getSavedLayoutById)(t,e)],[u.isPopup,()=>(0,s.getSavedPopupById)(t,e)]);try{const{data:e}=await i(o);if(f.current){const r=(0,d.blockIsPro)({models:e}),i=(0,u.getExportBlocksUrls)(o,t,r);g(i),p(!1)}}catch(e){f.current&&(p(!1),m(o))}}),[t,o,f]),h=(0,i.useCallback)((()=>{m(o),g(void 0)}),[o]);return i.default.createElement("div",{ref:f,title:(0,c.t)("Download this block"),className:"brz-ed-popup-two-block-download",onClick:a?void 0:b},y&&i.default.createElement("iframe",{src:y,hidden:!0,onLoad:h,title:"download-block"}),a?i.default.createElement(n.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):i.default.createElement(n.default,{icon:"nc-download-saved-block"}))}},21546:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Footer",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{alignX:t="top",alignY:o="left",className:n,children:a}=e,l=(0,i.default)("brz-ed-popup-two__footer",n,{[`brz-ed-popup-two__footer--x-${t}`]:t,[`brz-ed-popup-two__footer--y-${o}`]:o});return r.default.createElement("div",{className:l},a)}},81622:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=l(o(60042)),n=o(68914),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static defaultProps={className:"",src:"",style:{},spinnerDelay:250};state={imageFetched:!1,showSpinner:!1};mounted=!1;componentDidMount(){const{src:e,spinnerDelay:t}=this.props;this.mounted=!0,(0,n.preloadImage)(e).then((()=>{this.setState({imageFetched:!0,showSpinner:!1})})),setTimeout((()=>{this.mounted&&!this.state.imageFetched&&this.setState({showSpinner:!0})}),t)}render(){const{imageFetched:e,showSpinner:t}=this.state,{className:o,src:n,style:l}=this.props,s=(0,i.default)("brz-img",o);return r.default.createElement(r.Fragment,null,e&&r.default.createElement("img",{className:s,src:n,style:l}),t&&r.default.createElement(a.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}}},68658:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=s(o(27378)),i=s(o(10301)),n=s(o(60042)),a=s(o(33364)),l=o(64985);function s(e){return e&&e.__esModule?e:{default:e}}class c extends r.default.Component{static defaultProps={className:"",value:"",onChange:i.default.noop};handleInputChange=e=>{this.props.onChange(e.target.value)};render(){const{className:e,value:t}=this.props,o=(0,n.default)("brz-ed-popup-two-search",e);return r.default.createElement("div",{className:o},r.default.createElement("input",{type:"text",className:"brz-input brz-ed-popup-two__input",placeholder:(0,l.t)("Type to search"),value:t,onChange:this.handleInputChange}),r.default.createElement("div",{className:"brz-ed-popup-two-search-icon"},r.default.createElement(a.default,{icon:"nc-search"})))}}},82142:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"List",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),i=l(o(60042)),n=l(o(33364)),a=o(64985);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>null!=e;function c(e){const{lists:t=[],counters:o={},value:l="",onChange:c=(()=>{})}=e;return t.map((e=>{let{id:t,title:d,icon:u}=e;return s(o[t])&&r.default.createElement("div",{key:t,title:(0,a.t)(d),className:(0,i.default)("brz-ed-popup-two-sidebar-list",{"brz-ed-popup-two-sidebar-list-active":t===l}),onClick:()=>c(t)},u&&r.default.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-icon"},r.default.createElement(n.default,{icon:u})),r.default.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-text"},d),r.default.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-new"},"new"),r.default.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-quantity"},o[t]))}))}},68387:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Option",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}function a(e){const{className:t="",title:o="",separator:n=!1,children:a}=e,l=(0,i.default)("brz-ed-popup-two-sidebar",t);return r.default.createElement("div",{className:l},o&&r.default.createElement("div",{className:"brz-ed-popup-two-sidebar-title"},o),n&&r.default.createElement("div",{className:"brz-ed-popup-two-sidebar-separator"},o),a)}},23017:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OptionError",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>r.default.createElement("div",{className:"brz-ed-popup-two-sidebar-title--error"},e.children)},41815:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{SidebarOption:function(){return a.Option},SidebarList:function(){return l.List},default:function(){return c}});const r=s(o(27378)),i=s(o(60042)),n=s(o(27998)),a=o(68387),l=o(82142);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){const{className:t,children:o}=e,a=(0,i.default)("brz-ed-popup-two-body__sidebar",t),l=e=>{let{style:t,...o}=e;return r.default.createElement("div",{...o,style:{...t,borderRadius:"inherit",backgroundColor:"rgba(129, 138, 145, 0.5)"}})};return r.default.createElement("div",{className:a},r.default.createElement(n.default,{renderThumbHorizontal:l,renderThumbVertical:l},r.default.createElement("div",{className:"brz-ed-popup-two-sidebar-body"},o)))}},99283:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TagEditable",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(33364)),n=o(64985);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{const{value:t,onChange:o,onAdd:a}=e;return r.default.createElement("div",{className:"brz-ed-popup-two-block__bottom-control-categories-element"},r.default.createElement(i.default,{icon:"nc-plus2",onClick:a}),r.default.createElement("input",{className:"brz-input",placeholder:(0,n.t)("Add new"),type:"text",value:t,onChange:e=>{o(e.target.value)},onKeyPress:e=>{"Enter"===e.key&&a()}}))}},78368:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TagLists",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),i=a(o(27378)),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{const{name:t,checked:o,onChange:a}=e,l=(0,r.default)("brz-ed-popup-two-block__bottom-control-categories-element",{"brz-ed-popup-two-block__bottom-control-categories-element__selected":o});return i.default.createElement("div",{title:t,className:l,onClick:()=>{a(!o)}},i.default.createElement(n.default,{icon:o?"nc-check-square-on":"nc-check-square-off"}),i.default.createElement("span",{className:"brz-ed-popup-two-block__bottom-control-categories-element-name"},t))}},24839:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return E},LayoutThumbnail:function(){return O}});const r=x(o(60042)),i=x(o(23615)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(23884),l=x(o(10301)),s=x(o(1424)),c=x(o(33364)),d=x(o(56611)),u=o(94979),p=x(o(22546)),f=o(97045),m=o(46479),y=o(64985),g=o(68914),b=o(16526),h=o(36942),v=o(99283),S=o(78368),w=o(8467);function x(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}const{upgradeToPro:T}=p.default.get("urls"),P={animationName:"fadeIn",animationFillMode:"both",animationDelay:"200ms",animationDuration:"200ms"};class C extends n.Component{static defaultProps={showRemoveIcon:!1,showTitle:!1,data:{},animation:!1,isLayout:!1,isAuthorized:!1,tags:void 0,showSync:!1,showDownload:!1,onAdd:l.default.noop,onRemove:l.default.noop,onImageLoaded:l.default.noop,onSync:l.default.noop,onUpdate:l.default.noop};static propTypes={showRemoveIcon:i.default.bool,showTitle:i.default.bool,blockData:i.default.object,animation:i.default.bool,isLayout:i.default.bool,isAuthorized:i.default.bool,tags:i.default.array,showSync:i.default.bool,showDownload:i.default.bool,onAdd:i.default.func,onRemove:i.default.func,onImageLoaded:i.default.func,onSync:i.default.func,onUpdate:i.default.func};state={tooltipOpen:!1,blockTooltipOpen:!1,category:""};iconRef=n.default.createRef();getTags(){const{tags:e,data:t}=this.props;if(!e)return;const o=t.tags?.split(",")??[];return e.reduce(((e,t)=>({...e,[t]:o.includes(t)})),{})}handleTagsTooltipOpen=()=>{this.setState({blockTooltipOpen:!0})};handleTagsTooltipClose=()=>{this.setState({blockTooltipOpen:!1})};handleTooltipOpen=()=>{this.setState({tooltipOpen:!0})};handleTooltipClose=()=>{this.setState({tooltipOpen:!1})};handleClick=()=>{const{data:e,onAdd:t}=this.props;e.loading||e.inactive||t(e)};handleRemove=()=>{const{data:e,onRemove:t}=this.props;t(e)};handleSync=()=>{const{data:e,onSync:t}=this.props;t(e)};handleTitleChange=l.default.debounce((e=>{const{data:t,onUpdate:o}=this.props;o({...t,title:e,dataVersion:t.dataVersion+1})}),1e3);handleChangeCategory=e=>{this.setState({category:e})};handleAddCategory=()=>{const{data:e,onUpdate:t}=this.props,{category:o}=this.state,r=e.tags?.split(",").filter((e=>!!e))??[];o.trim().length>0&&(t({...e,tags:[...r,o].join(","),dataVersion:e.dataVersion+1}),this.setState({category:""}))};updateCategory=(e,t)=>{const{data:o,onUpdate:r}=this.props,i=o.tags?.split(",").filter((e=>!!e))??[],n=t?[...i,e]:i.filter((t=>t!==e));r({...o,tags:n.join(","),dataVersion:o.dataVersion+1})};renderBlank(){const{data:{pro:e}}=this.props,t=!m.IS_PRO&&e,o=this.props.data?.blankTitle??(0,y.t)("Create your own"),i=(0,r.default)("brz-ed-popup-two-block-item","brz-ed-popup-two-block__blank","brz-ed-popup-two-block__blank-first",{"brz-ed-popup-two-block__blank--pro":t});return t?n.default.createElement(s.default,{overlayClassName:"brz-ed-tooltip--delay-1",size:"small",offset:5,openOnClick:!1,nodeRef:this.iconRef,overlay:n.default.createElement(u.ProInfo,{text:(0,y.t)("Upgrade to PRO to use this block"),url:T}),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},n.default.createElement("div",{className:i},n.default.createElement("p",{ref:this.iconRef,className:"brz-p brz-d-xs-flex brz-align-items-xs-center"},n.default.createElement(c.default,{icon:"nc-lock"})," ",o),n.default.createElement("p",{className:"brz-p brz-ed-badge brz-ed-badge--pro"},"pro"))):n.default.createElement("div",{onClick:this.handleClick,className:i},n.default.createElement("div",{className:"brz-ed-container-trigger brz-ed-container-trigger--small"}),n.default.createElement("p",{className:"brz-p"},o))}renderPro(){const{animation:e,isLayout:t,data:{thumbnailSrc:o,thumbnailWidth:i,thumbnailHeight:a},onImageLoaded:l}=this.props,{width:p,height:f}=(0,g.imageWrapperSize)(i,a,292),m=(0,r.default)("brz-figure brz-ed-popup-two-block-item",this.state.tooltipOpen&&"brz-ed-popup-two-block-item--active"),b=n.default.createElement(n.default.Fragment,null,n.default.createElement(d.default,{observerRootSelector:".brz-ed-popup-two-blocks-body",style:e?P:{},src:o,width:p,height:f,onImageLoaded:l}),n.default.createElement("p",{className:"brz-p brz-ed-badge brz-ed-badge--pro"},"pro"));return t?n.default.createElement("figure",{className:m,onClick:this.handleClick},b):n.default.createElement(s.default,{overlayClassName:"brz-ed-tooltip--delay-1",size:"small",offset:5,openOnClick:!1,nodeRef:this.iconRef,overlay:n.default.createElement(u.ProInfo,{text:(0,y.t)("Upgrade to PRO to use this block"),url:T}),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},n.default.createElement("figure",{className:m},b,n.default.createElement("span",{ref:this.iconRef,className:"brz-ed-popup-two-block__span-lock"},n.default.createElement(c.default,{icon:"nc-lock"}))))}renderTagsOverlay(e){const t=Object.entries(e);return n.default.createElement(n.default.Fragment,null,t.map(((e,t)=>{let[o,r]=e;return n.default.createElement(S.TagLists,{key:t,name:o,checked:r,onChange:e=>this.updateCategory(o,e)})})),n.default.createElement(v.TagEditable,{value:this.state.category,onAdd:this.handleAddCategory,onChange:this.handleChangeCategory}))}renderTags(){const e=this.getTags();if(e)return n.default.createElement(s.default,{arrow:!1,size:"small",placement:"bottom-start",offset:5,overlay:this.renderTagsOverlay(e),openOnClick:!0,onOpen:this.handleTagsTooltipOpen,onClose:this.handleTagsTooltipClose},n.default.createElement(c.default,{icon:"nc-saved-block-tags"}))}renderTitle(){const{data:{title:e}}=this.props;return n.default.createElement(w.Title,{value:e,onChange:this.handleTitleChange})}renderFree(){const{animation:e,data:{thumbnailSrc:t,thumbnailWidth:o,thumbnailHeight:r},onImageLoaded:i}=this.props,{width:a,height:l}=(0,g.imageWrapperSize)(o,r,292);return n.default.createElement("figure",{className:"brz-figure brz-ed-popup-two-block-item",onClick:this.handleClick},n.default.createElement(d.default,{observerRootSelector:".brz-ed-popup-two-blocks-body",style:e?P:{},src:t,width:a,height:l,onImageLoaded:i}))}renderRemoveIcon(){return n.default.createElement("div",{className:"brz-ed-badge__delete brz-ed-popup-two-block-remove",onClick:this.handleRemove},n.default.createElement(c.default,{icon:"nc-trash"}))}renderSyncIcon(){const{isAuthorized:e,data:{synchronizable:t,synchronized:o}}=this.props;if(t&&e){const e=(0,r.default)("brz-ed-popup-two-block-sync",{"brz-ed-popup-two-block-sync--uploaded":o}),t=o?(0,y.t)("Block is synchronized"):(0,y.t)("Block will be synchronized");return n.default.createElement("div",{title:t,className:e,onClick:this.handleSync},n.default.createElement(c.default,{icon:o?"nc-check-circle-on":"nc-reverse-glyph"}))}}renderLoading(){return n.default.createElement("div",{className:"brz-ed-popup-two-block--loading"},n.default.createElement(c.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}renderDownloadIcon(){const{uid:e,type:t}=this.props.data;return n.default.createElement(h.DownloadBlock,{id:e,type:t})}render(){const{isLayout:e,showSync:t,showTitle:o,showDownload:i,tags:a,data:{blank:l,showRemoveIcon:s,pro:c,loading:d,inactive:u,renderWrapper:f}}=this.props,{blockTooltipOpen:y}=this.state,g=o||i||a,h=!m.IS_PRO&&c,v=l&&"blank"===l,S=(0,r.default)("brz-ed-popup-two-block",(0,b.isStory)(p.default.getAll())&&"brz-ed-popup-two-block-stories",h&&"brz-ed-popup-two-block--pro",e&&"brz-ed-popup-two-block--layout",u&&"inactive",y&&"brz-ed-popup-two-block-tags-opened");let w;return v?w=this.renderBlank():(w=h?this.renderPro():this.renderFree(),f&&(w=f(w))),n.default.createElement("div",{className:S},w,s&&this.renderRemoveIcon(),d&&this.renderLoading(),(t||g)&&!v&&n.default.createElement("div",{className:"brz-ed-popup-two-block__bottom-control"},t&&this.renderSyncIcon(),g&&n.default.createElement("div",{className:"brz-ed-popup-two-block__bottom-control-downline"},o&&this.renderTitle(),i&&this.renderDownloadIcon(),a&&this.renderTags())))}}class k extends n.Component{state={thumbnailLoaded:!1};handleLoaded=()=>{this.setState({thumbnailLoaded:!0})};render(){const{data:{name:e,pages:t,color:o},...i}=this.props,{thumbnailLoaded:a}=this.state,l=(0,b.isStory)(p.default.getAll()),s=(0,r.default)("brz-ed-popup-two-block-info",l&&"brz-ed-popup-two-block-info-stories");return n.default.createElement("div",{className:s,style:a?P:{}},n.default.createElement(C,{...i,data:this.props.data,isLayout:!0,onImageLoaded:this.handleLoaded}),a&&t.length>1&&n.default.createElement("span",{className:"brz-ed-popup-two-block-info-color",style:{backgroundColor:o}},n.default.createElement("span",{className:"brz-ed-popup-two-block-info-color-opacity",style:{backgroundColor:o}})),n.default.createElement("div",{className:"brz-ed-popup-two-block-info-downline"},n.default.createElement("div",{className:"brz-ed-popup-two-block-info-title"},e),n.default.createElement("div",{className:"brz-ed-popup-two-block-info-title"},t.length," ",t.length>1?l?(0,y.t)("stories"):(0,y.t)("layouts"):l?(0,y.t)("story"):(0,y.t)("layout"))))}}const _=e=>({isAuthorized:"connected"===(0,f.authorizedSelector)(e)}),O=(0,a.connect)(_)(k),E=(0,a.connect)(_)(C)},7416:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=s(o(22546)),a=o(16526),l=s(o(24839));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends i.Component{static defaultProps={columns:(0,a.isStory)(n.default.getAll())?5:4,responsive:[{breakpoint:1460,settings:{columns:(0,a.isStory)(n.default.getAll())?4:3}},{breakpoint:1200,settings:{columns:3}}],ThumbnailComponent:l.default};state={currentColumns:this.props.columns};componentDidMount(){this.handleResize(),window.addEventListener("resize",this.handleResize)}componentWillUnmount(){window.removeEventListener("resize",this.handleResize)}handleResize=()=>{const e=window.innerWidth,{responsive:t,columns:o}=this.props;if(t&&t.length){const r=t.reduce(((t,o)=>o.breakpoint>e&&(void 0===t.breakpoint||t.breakpoint>o.breakpoint)?o:t),{});this.setState({currentColumns:r.settings&&r.settings.columns||o})}};render(){const{data:e,tags:t,showSync:o,showTitle:l,showDownload:s,onThumbnailAdd:c,onThumbnailRemove:d,ThumbnailComponent:u,onUpdate:p}=this.props,{currentColumns:f}=this.state,m=[];for(let e=0;e{const a=`${n}-${r.type??"block"}-${r.uid??""}`,m=i.default.createElement(u,{key:a,animation:!0,showSync:o,showDownload:s,tags:t,showTitle:l,data:r,onAdd:c,onRemove:d,onUpdate:p});return e[n%f].push(m),e}),m).map(((e,t)=>i.default.createElement("div",{key:t,className:y,style:{width:100/f+"%",flexBasis:100/f+"%"}},e)));return i.default.createElement("div",{className:"brz-ed-popup-two-blocks__grid"},g)}}},8467:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Title",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(33364))&&n.__esModule?n:{default:n};var n;const a=o(64985);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{const{value:t,onChange:o}=e,n=(0,r.useRef)(null);return(0,r.useEffect)((()=>{const e=n.current;e&&e.value!==t&&(e.value=t)}),[t]),r.default.createElement("div",{className:"brz-ed-popup-two-block__bottom-control-title"},r.default.createElement("input",{ref:n,type:"text",className:"brz-input",placeholder:(0,a.t)("Give it a title"),defaultValue:t,onChange:e=>{o(e.target.value)}}),r.default.createElement("span",{className:"brz-ed-popup-two-block__bottom-control-title-pen",title:(0,a.t)("Edit")},r.default.createElement(i.default,{onClick:()=>{n.current?.focus()},icon:"nc-pen"})))}},57266:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isBlock:function(){return u},isPopup:function(){return p},isLayout:function(){return f},createBlockId:function(){return m},getExportBlocksUrls:function(){return y},getError:function(){return g}});const r=o(47885),i=(n=o(22546))&&n.__esModule?n:{default:n};var n;const a=o(61839),l=o(39191),s=o(64985),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(48630));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=e=>"BLOCK"===e,p=e=>"POPUP"===e,f=e=>"LAYOUT"===e,m=(e,t)=>t?`${e}:1`:`${e}:0`,y=(e,t,o)=>{const n=i.default.getAll(),{editorVersion:s}=n;if((0,l.isWp)(n)){const{url:i,hash:l,downloadBlocks:c,downloadLayouts:d}=n.wp.api,y=(0,r.match)([u,()=>c],[f,()=>d],[p,()=>c]),g=(0,a.objectToQueryString)({hash:l,uid:m(t,o),version:s,action:y(e),type:e.toLowerCase()});return(0,a.urlContainsQueryString)(i)?`${i}&${g}`:`${i}?${g}`}const c=`${n.urls.api}/zip_template/export`,d=(0,a.objectToQueryString)({id:t,version:s,type:e.toLowerCase(),pro:o?"1":"0"});return(0,a.urlContainsQueryString)(c)?`${c}&${d}`:`${c}?${d}`},g=e=>(e=>c.isObject(e)&&"data"in e)(e)?e.data:(e=>c.isObject(e)&&"errors"in e&&Array.isArray(e.errors))(e)?e.errors[0].message:(0,s.t)("Something went wrong")},32230:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{HeaderSlot:function(){return w},default:function(){return x}});const r=h(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=h(o(31542)),a=h(o(10301)),l=h(o(33364)),s=h(o(40687)),c=h(o(22546)),d=o(64985),u=o(16526),p=o(55250),f=o(6085),m=h(o(28686)),y=h(o(20614)),g=h(o(46919)),b=h(o(73333));function h(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}class S extends i.Component{static defaultProps={activeTab:"blocks",type:"normal",opened:!1,showTemplate:!0,showBlocks:!0,showSaved:!0,showGlobal:!0,templateSidebar:!0,blocksSidebar:!0,savedSidebar:!0,globalSidebar:!0,templateSearch:!0,blocksSearch:!0,savedSearch:!0,globalSearch:!0,onChangeBlocks:a.default.noop,onChangeTemplate:a.default.noop,onChangeSaved:a.default.noop,onChangeGlobal:a.default.noop,onClose:a.default.noop};state={currentTab:this.props.activeTab||"blocks"};wrapper=i.default.createRef();mounted=!1;tabs=(e=>{const t=[{id:"template",title:(0,u.isStory)(c.default.getAll())?(0,d.t)("Stories"):(0,d.t)("Layouts"),icon:"nc-pages",renderTab:e=>i.default.createElement(g.default,{...e,type:(0,u.isStory)(c.default.getAll())?"stories":"templates"})},{id:"blocks",title:(0,u.isPopup)(c.default.getAll())?(0,d.t)("Popups"):(0,d.t)("Blocks"),icon:"nc-blocks",renderTab:e=>i.default.createElement(m.default,e)}],o={id:"global",title:(0,u.isPopup)(e)?(0,d.t)("Global Popups"):(0,d.t)("Global Blocks"),icon:"nc-global",renderTab:e=>i.default.createElement(y.default,e)},{savedLayouts:r,savedBlocks:n,savedPopups:a}=e.api??{},l=r?.get&&r?.getByUid,s=n?.get&&n?.getByUid,p=a?.get&&a?.getByUid;return s||l||p?(0,u.isPopup)(e)&&p?[...t,{id:"saved",title:(0,d.t)("Saved Popups"),icon:"nc-save-section",renderTab:e=>i.default.createElement(b.default,e)},o]:l||s?[...t,{id:"saved",title:(0,d.t)("Saved"),icon:"nc-save-section",renderTab:e=>i.default.createElement(b.default,e)},o]:t:[...t,o]})(c.default.getAll());componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}getWrapper=()=>this.wrapper.current;hasSearch(e){return!!(0,p.get)(`${e}Search`,this.props)}hasSidebar(e){return!!(0,p.get)(`${e}Sidebar`,this.props)}handleTabChange(e){this.setState({currentTab:e})}handleChange=e=>{const{currentTab:t}=this.state,{onChangeBlocks:o,onChangeGlobal:r,onChangeSaved:i,onChangeTemplate:n}=this.props;switch(t){case"blocks":o?.(e);break;case"template":n?.(e);break;case"saved":i?.(e);break;case"global":r?.(e)}};handleClose=()=>{this.mounted&&this.props.onClose?.()};renderTabs(){const{currentTab:e}=this.state,t=this.tabs.filter((e=>{let{id:t}=e;const o=`show${(0,f.capitalize)(t)}`;return!!(0,p.get)(o,this.props)})).map((t=>{const o=(0,r.default)("brz-ed-popup-two-tab-item",{"brz-ed-popup-two-tab-item-active":t.id===e});return i.default.createElement("div",{key:t.id,className:o,onClick:()=>{this.handleTabChange(t.id)}},i.default.createElement("div",{className:"brz-ed-popup-two-tab-icon"},i.default.createElement(l.default,{icon:t.icon})),i.default.createElement("div",{className:"brz-ed-popup-two-tab-name"},t.title))})),o=c.default.getAll(),n=o?.ui?.help?.showIcon;return i.default.createElement("div",{className:"brz-ed-popup-two-header"},i.default.createElement("div",{id:"brz-ed-popup-header-left-slot"}),i.default.createElement("div",{className:"brz-ed-popup-two-header__tabs"},t),i.default.createElement("div",{id:"brz-ed-popup-header-right-slot"}),i.default.createElement("div",{className:"brz-ed-popup-two-btn-close",onClick:this.props.onClose}),n&&i.default.createElement("div",{className:"brz-ed-popup-two-btn-help"},i.default.createElement("span",{title:(0,d.t)("Help")},i.default.createElement(l.default,{icon:"nc-help"}))))}renderContent(){const{currentTab:e}=this.state,{renderTab:t}=this.tabs.find((t=>{let{id:o}=t;return o===e}))||this.tabs[0];return t({HeaderSlotLeft:e=>i.default.createElement(w,{...e,slot:"left"}),type:this.props.type,onClose:this.handleClose,showSearch:this.hasSearch(e),showSidebar:this.hasSidebar(e),onAddBlocks:this.handleChange,getParentNode:this.getWrapper})}render(){return i.default.createElement(s.default,{opened:this.props.opened,onClose:this.handleClose},i.default.createElement("div",{ref:this.wrapper,className:"brz-ed-popup-two-wrapper brz-ed-popup-two-blocks"},this.renderTabs(),i.default.createElement("div",{className:"brz-ed-popup-two-body"},this.renderContent())))}}class w extends i.Component{static defaultProps={slot:"left"};state={isMounted:!1};headerSlotNode=null;componentDidMount(){this.headerSlotNode=window.parent.document.querySelector(`#brz-ed-popup-header-${this.props.slot}-slot`),this.setState({isMounted:!0})}render(){return this.state.isMounted&&this.headerSlotNode&&n.default.createPortal(this.props.children,this.headerSlotNode)}}const x=S},55087:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(33364)),n=o(64985);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>r.default.createElement("div",{className:"brz-ed-popup-conditions__buttons"},r.default.createElement("button",{className:"brz-button brz-button__cancel",onClick:e.onClose},(0,n.t)("Cancel")),r.default.createElement("button",{className:"brz-button brz-button__save",onClick:e.onChange},e.loading?r.default.createElement(i.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):(0,n.t)("Save")))},94135:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(27378)),i=o(70634),n=s(o(74584)),a=s(o(93654)),l=o(63425);function s(e){return e&&e.__esModule?e:{default:e}}class c extends r.default.Component{handleRemove=e=>{this.props.onChange((0,i.removeAt)(this.props.rules,e))};handleVisibilityTypeChange=(e,t)=>{const{rules:o,onChange:r}=this.props,n=t?l.BlockTypeRule.include:l.BlockTypeRule.exclude;r((0,i.setIn)(o,[e,"type"],n))};handleGroupChange=(e,t)=>{const{rules:o,onChange:r}=this.props;let n;if(null===e)n={type:o[t].type};else{const[r,i]=e.split("|||");n={type:o[t].type,entityType:i,appliedFor:""===r||null===r?null:Number(r)}}r((0,i.setIn)(o,[t],n))};handleTypeChange=(e,t)=>{const{rules:o,onChange:r}=this.props;let n;if(null===e){const{type:e,appliedFor:r,entityType:i}=o[t];n={type:e,appliedFor:r,entityType:i}}else{const[r,i]=e.split("|||"),{type:a,appliedFor:l,entityType:s}=o[t];n={type:a,appliedFor:l,entityType:s,mode:"reference"===r?"reference":"specific",entityValues:i?[i]:[]}}r((0,i.setIn)(o,[t],n))};render(){const{rules:e,rulesList:t}=this.props;return e.map(((e,o)=>{const i=e.type===l.BlockTypeRule.include;return r.default.createElement(n.default,{key:o,active:i,onChange:()=>this.handleVisibilityTypeChange(o,!i),onRemove:()=>this.handleRemove(o)},r.default.createElement(a.default,{rule:e,rulesList:t,onGroupChange:e=>this.handleGroupChange(e,o),onTypeChange:e=>this.handleTypeChange(e,o)}))}))}}const d=c},93654:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=u(o(27378)),i=o(65683),n=u(o(97023)),a=u(o(65961)),l=u(o(53799)),s=o(25663),c=o(41330),d=o(94672);function u(e){return e&&e.__esModule?e:{default:e}}class p extends r.default.Component{renderGroupOptions(e){return[r.default.createElement(a.default,{key:"all",value:null},"All"),...e.map((e=>{let{title:t,value:o,groupValue:i,disabled:n}=e;return r.default.createElement(a.default,{key:`key-${o}`,value:`${i}|||${o}`,disabled:n},t)}))]}renderTypeOptions(e){return[r.default.createElement(a.default,{key:"all",value:null},"All"),...e.map((e=>(0,c.isLegacyRuleListItem)(e)?r.default.createElement(a.default,{key:e.value,value:`specific|||${e.value}`},r.default.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},r.default.createElement("span",{title:e.title,className:"brz-ellipsis"},e.title),e.status&&r.default.createElement(i.Badge,{status:e.status}))):r.default.createElement(l.default,{key:e.value,title:e.title,items:e.items.map((t=>{let{value:o,title:n,status:l}=t;return r.default.createElement(a.default,{key:e.value,value:`${e.mode}|||${o}`},r.default.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},r.default.createElement("span",{title:n,className:"brz-ellipsis"},n),l&&r.default.createElement(i.Badge,{status:"published"===l?"publish":l})))}))},r.default.createElement("span",{className:"brz-span"},e.title))))]}render(){const{rulesList:e,rule:t,onGroupChange:o,onTypeChange:i}=this.props;let a=null,l=null;return((0,s.isCollectionItemRule)(t)||(0,s.isCollectionTypeRule)(t))&&(a=e[(0,d.getRulesListIndexByRule)(e,t)],l=`${t.appliedFor}|||${t.entityType}`),r.default.createElement("div",{className:"brz-ed-popup-conditions__select brz-d-xs-flex"},r.default.createElement(n.default,{className:"brz-control__select--white",maxItems:6,itemHeight:30,defaultValue:l,inPortal:!0,onChange:o},this.renderGroupOptions(e)),a&&a.items&&r.default.createElement(n.default,{defaultValue:(0,s.isCollectionItemRule)(t)?`${t.mode}|||${t.entityValues[0]}`:null,className:"brz-control__select--white",maxItems:6,itemHeight:30,inPortal:!0,onChange:i},this.renderTypeOptions(a.items)))}}const f=p},30931:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const r=M(o(27378)),i=o(23884),n=o(10301),a=w(o(33364)),l=o(81300),s=w(o(22546)),c=o(62762),d=o(97045),u=o(63425),p=o(5194),f=o(46479),m=o(64985),y=o(16526),g=M(o(95945)),b=w(o(55087)),h=w(o(94135)),v=w(o(32458)),S=o(94672);function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function M(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const T=e=>{const{context:t,value:o=[],asyncGetValue:w,onClose:x=n.noop,onChange:M=n.noop}=e,[T,P]=(0,r.useState)(o),[C,k]=(0,r.useState)(!1),[_,O]=(0,r.useState)(null),[E,z]=(0,v.default)(T,t),B=(0,i.useSelector)(d.pageSelector);return(0,r.useEffect)((()=>{w&&async function(e){let t=await e();f.IS_CLOUD&&!t?t=[{type:1}]:t||(t=[]),P(t)}(w)}),[w]),r.default.createElement(r.default.Fragment,null,E?r.default.createElement("div",{className:"brz-ed-popup-conditions__spin"},r.default.createElement(a.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})):r.default.createElement(l.Scrollbar,{autoHeightMax:"350px",theme:"light"},null!==T&&r.default.createElement(h.default,{rules:T,rulesList:z,onChange:function(e){f.IS_PRO&&P(e)}}),r.default.createElement("div",{className:"brz-ed-popup-conditions__add-condition",onClick:function(){if(f.IS_PRO){const e=s.default.getAll();if((0,y.isPopup)(e)){const e={type:u.BlockTypeRule.include};P([...T,e])}else{const t={type:u.BlockTypeRule.include,appliedFor:p.PAGES_GROUP_ID,entityType:"page"};(0,c.isCollectionPage)(B)&&g.is(B.collectionType.id)&&(t.entityType=B.collectionType.id),(0,c.isEcwidProductPage)(B)&&(t.entityType=p.ECWID_PRODUCT_TYPE),(0,c.isEcwidCategoryPage)(B)&&(t.entityType=p.ECWID_PRODUCT_CATEGORY_TYPE),(0,c.isCloud)(e)&&(0,c.isCMS)(e)&&(0,c.isCustomer)(e)&&(t.entityType=p.CUSTOMER_TYPE),P([...T,t])}}}},r.default.createElement(a.default,{icon:"nc-add"})," ",(0,m.t)("Add new display condition"))),_&&r.default.createElement("div",{className:"error"},_),r.default.createElement(b.default,{loading:C,onChange:function(){f.IS_PRO&&(k(!0),O(null),M({data:{rules:(0,S.getUniqRules)(T)},meta:{syncSuccess:()=>k(!1),syncFail:e=>{k(!1),O(e.responseJSON?.data.message??(0,m.t)("Something went wrong"))}}}))},onClose:x}))}},41330:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isCMSRuleListItem:function(){return o},isLegacyRuleListItem:function(){return r}});const o=e=>void 0!==e.items,r=e=>!o(e)},32458:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=o(27378),i=o(70634),n=o(64187),a=o(25663),l=o(5194),s=o(94672);function c(e,t){const[o,c]=(0,r.useState)([]),[d,u]=(0,r.useState)(!0);return(0,r.useEffect)((()=>{!async function(){u(!0);const e=(await(0,n.getGroupList)(t)||[]).map((e=>{let{items:t}=e;return t})).flat();u(!1),c(e)}()}),[]),(0,r.useEffect)((()=>{null!==e&&o.length&&async function(){const t=(0,s.getUniqRules)(e);let r=o;for(const d of t)if((0,a.isCollectionItemRule)(d)||(0,a.isCollectionTypeRule)(d)){const t=(0,s.getRulesListIndexByRule)(o,d),a=d.appliedFor,u=o[t]?.items;if(!u&&null!==a&&[l.PAGES_GROUP_ID,l.CATEGORIES_GROUP_ID,l.TEMPLATES_GROUP_ID].includes(a)){let o=[];switch(a){case l.PAGES_GROUP_ID:case l.TEMPLATES_GROUP_ID:o=(await(0,n.getRulePostsGroupList)(d.entityType)).map((e=>{let{value:t,title:o,items:r}=e;return Array.isArray(r)?{title:o,items:r.map((e=>{let{title:t,value:o,status:r}=e;return{title:t,status:r,value:`${o}`}})),value:`${t}`,mode:r.find((e=>d.entityType===e.groupValue))?"specific":"reference"}:{title:o,value:`${t}`}}));break;case l.CATEGORIES_GROUP_ID:o=(await(0,n.getTerms)(d.entityType)).map((e=>{let{name:t,term_id:o}=e;return{title:t,value:`${o}`,mode:"specific"}}))}r=(0,i.setIn)(r,[t,"items"],o),c((0,s.disableAlreadyUsedRules)(e,r))}}}()}),[e,o]),[d,o]}},94672:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getRulesListIndexByRule:function(){return a},disableAlreadyUsedRules:function(){return l},getUniqRules:function(){return s}});const r=o(70634),i=o(5194),n=o(25663);function a(e,t){let{appliedFor:o,entityType:r}=t;return e.findIndex((e=>{let{groupValue:t,value:i}=e;return t===o&&i===r}))}function l(e,t){if(0===t.length)return t;let o=t;return e.forEach((e=>{if(!(0,n.isCollectionItemRule)(e))return;const l=a(t,e);if(-1!==l)if(e.appliedFor!==i.PAGES_GROUP_ID&&e.appliedFor!==i.CATEGORIES_GROUP_ID)o=(0,r.setIn)(o,[l,"disabled"],!0);else{const{items:t}=o[l];if(t&&e.entityValues.length){const i=t.findIndex((t=>{let{value:o}=t;return e.entityValues.includes(o)}));-1!==i&&(o=(0,r.setIn)(o,[l,"items",i,"disabled"],!0))}}})),o}function s(e){const t=new Map;return e.forEach((e=>{let o=null;if((0,n.isAllRule)(e)&&(o=`type|${e.type}`),(0,n.isCollectionTypeRule)(e)&&(o=`type|${e.type};appliedFor|${e.appliedFor};entityType|${e.entityType}`),(0,n.isCollectionItemRule)(e)&&(o=`type|${e.type};appliedFor|${e.appliedFor};entityType|${e.entityType};entityValues|${e.entityValues.join(",")}`),null===o)throw new Error("Smth. went wrong. Rule can be one of type or all|collectionType|collectionItem");t.set(o,e)})),[...t.values()]}},72953:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=h(o(27378)),i=o(23884),n=o(70634),a=h(o(97023)),l=h(o(65961)),s=o(1014),c=h(o(33364)),d=o(81300),u=o(10744),p=o(97045),f=o(46479),m=o(64985),y=h(o(55087)),g=h(o(74584)),b=h(o(461));function h(e){return e&&e.__esModule?e:{default:e}}class v extends r.default.Component{constructor(e){super(e);const t=e.values.find((e=>{let{id:t}=e;return"triggerOnce"===t}))||{},o=(0,n.removeAt)(e.values,e.values.indexOf(t));this.state={triggerOnce:t.value||!1,values:o,loading:!1}}handleChange=()=>{if(f.IS_PRO){const{values:e,triggerOnce:t}=this.state,o={id:"triggerOnce",active:!0,value:t};this.setState({loading:!0},(()=>{const t={syncSuccess:()=>this.setState({loading:!1}),syncFail:()=>this.setState({loading:!1})};this.props.dispatch((0,u.updateTriggers)([...e,o],t))}))}};handleTriggerOnceChange=e=>{f.IS_PRO&&this.setState({triggerOnce:e})};handleWrapperTriggerChange=(e,t)=>{f.IS_PRO&&this.setState({values:(0,n.setIn)(this.state.values,[e],{...this.state.values[e],...t})})};handleWrapperTriggerRemove=e=>{f.IS_PRO&&this.setState({values:(0,n.removeAt)(this.state.values,e)})};handleTriggerChange(e,t){const{values:o}=this.state,{defaultValue:r}=b.default.find((e=>{let{id:o}=e;return o===t})),i=(0,n.setIn)(o,[e],{...o[e],id:t,value:r});this.setState({values:i})}handleValueChange=(e,t)=>{f.IS_PRO&&this.setState({values:(0,n.setIn)(this.state.values,[e,"value"],t)})};handleAdd=()=>{if(f.IS_PRO){const{values:e}=this.state,t=this.getAvailableItems();t[0]&&this.setState({values:[...e,{id:t[0].id,active:!0,value:t[0].defaultValue}]})}};getAvailableItems(e){const{values:t}=this.state;let o=t.reduce(((e,t)=>{let{id:o}=t;return e[o]?e[o]++:e[o]=1,e}),{});return b.default.filter((r=>{let{id:i,duplicatesAmount:n=1}=r;const a=t.find((e=>e.id===i)),l=o[i]&&n>o[i];return e===i||l||!a})).sort(((e,o)=>{let{id:r,duplicatesAmount:i=0}=e,{id:n,duplicatesAmount:a=0}=o;const l=t.find((e=>e.id===r)),s=t.find((e=>e.id===n));return l?1:s?-1:i>a?1:i{let{id:o,title:i}=e;return r.default.createElement(l.default,{key:t,value:o},i)}));return r.default.createElement(a.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:o,onChange:t=>this.handleTriggerChange(e,t)},i)}render(){const{values:e,triggerOnce:t}=this.state,o=e.map(((e,t)=>{const{Component:o,...i}=b.default.find((t=>{let{id:o}=t;return o===e.id}))||{},n=o?r.default.createElement(o,{...i,...e,onChange:e=>this.handleValueChange(t,e)}):null;return r.default.createElement(g.default,{showTypeButton:!1,key:t,active:e.active,onChange:e=>this.handleWrapperTriggerChange(t,e),onRemove:()=>this.handleWrapperTriggerRemove(t)},this.renderTriggers(t),n)}));return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-ed-popup-conditions__trigger-once"},r.default.createElement("div",null,(0,m.t)("Trigger Popup Only Once")),r.default.createElement(s.Switch,{value:t,onChange:this.handleTriggerOnceChange})),r.default.createElement(d.Scrollbar,{autoHeightMax:"350px",theme:"light"},o,r.default.createElement("div",{className:"brz-ed-popup-conditions__add-condition",onClick:this.handleAdd},r.default.createElement(c.default,{icon:"nc-add"})," ",(0,m.t)("Add new trigger condition"))),r.default.createElement(y.default,{loading:this.state.loading,onChange:this.handleChange,onClose:this.props.onClose}))}}const S=(0,i.connect)((e=>({values:(0,p.triggersSelector)(e)})),(e=>({dispatch:e})))(v)},461:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=b(o(34523)),i=b(o(78981)),n=b(o(8059)),a=b(o(20928)),l=b(o(83568)),s=b(o(10345)),c=b(o(73691)),d=b(o(32880)),u=b(o(18817)),p=b(o(11988)),f=b(o(46990)),m=b(o(49197)),y=b(o(80856)),g=b(o(97041));function b(e){return e&&e.__esModule?e:{default:e}}const h=[{id:"pageLoad",title:"On Page Load",type:"number",placeholder:"After (sec)",Component:r.default},{id:"scrolling",title:"On Scroll",defaultValue:{value:"down",within:"",toElement:""},duplicatesAmount:1/0,Component:i.default},{id:"click",title:"On Click",type:"number",placeholder:"clicks",Component:r.default},{id:"inactivity",title:"After Inactivity",type:"number",placeholder:"After (sec)",Component:r.default},{id:"exitIntent",title:"On Page Exit Intent",defaultValue:!0},{id:"showing",title:"Show After X",defaultValue:{value:"views",type:"equals",views:5,sessions:3},duplicatesAmount:2,Component:n.default},{id:"referrer",title:"Arriving From",defaultValue:{type:"is",value:"show",url:"",source:"search_engines"},duplicatesAmount:1/0,Component:a.default},{id:"loggedIn",title:"Hide for logged in users",defaultValue:{value:"all",user:void 0},duplicatesAmount:1/0,Component:l.default},{id:"devices",title:"Show on devices",defaultValue:"desktop",duplicatesAmount:3,Component:s.default},{id:"currentUrl",title:"Current Page URL",defaultValue:{type:"matches",value:""},duplicatesAmount:1/0,Component:c.default},{id:"currentDate",title:"Current Date",defaultValue:{type:"matches",value:""},duplicatesAmount:1/0,Component:d.default},{id:"lastVisitDate",title:"Last Visit Date",defaultValue:{type:"matches",value:""},duplicatesAmount:1/0,Component:u.default},{id:"timeFrom",title:"Time From",defaultValue:{type:"greater",visit:"first",time:"days",value:""},duplicatesAmount:1/0,Component:p.default},{id:"cookie",title:"Cookie",defaultValue:{type:"matches",param:"",value:""},duplicatesAmount:1/0,Component:f.default},{id:"os",title:"Operating System",defaultValue:{type:"is",value:"windows"},duplicatesAmount:1/0,Component:m.default},{id:"otherPopups",title:"No other popup",defaultValue:{type:"was",value:"page"},duplicatesAmount:1,Component:y.default},{id:"specificPopup",title:"Other specific popup",defaultValue:{type:"was",value:""},duplicatesAmount:1/0,Component:g.default}]},46990:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(97023)),n=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:"param",value:t.param,onChange:e=>{let{target:{value:r}}=e;return o({...t,param:r})}})),r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(n.default,{key:"matches",value:"matches"},"matches"),r.default.createElement(n.default,{key:"contains",value:"contains"},"contains"),r.default.createElement(n.default,{key:"does not contain",value:"does not contain"},"does not contain"),r.default.createElement(n.default,{key:"does not match",value:"does not match"},"does not match")),r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:"value",value:t.value,onChange:e=>{let{target:{value:r}}=e;return o({...t,value:r})}})))}},32880:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(97023)),n=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e,a=(new Date).toJSON().slice(0,10).split("-").reverse().join("/");return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(n.default,{key:"before",value:"before"},"is before"),r.default.createElement(n.default,{key:"matches",value:"matches"},"matches"),r.default.createElement(n.default,{key:"after",value:"after"},"is after")),r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:a,value:t.value,onChange:e=>{let{target:{value:r}}=e;return o({...t,value:r})}})))}},73691:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(97023)),n=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(n.default,{key:"matches",value:"matches"},"matches"),r.default.createElement(n.default,{key:"contains",value:"contains"},"contains"),r.default.createElement(n.default,{key:"does not contain",value:"does not contain"},"does not contain"),r.default.createElement(n.default,{key:"does not match",value:"does not match"},"does not match")),r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:"URL",value:t.value,onChange:e=>{let{target:{value:r}}=e;return o({...t,value:r})}})))}},10345:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(97023)),n=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t,onChange:e=>o(e)},r.default.createElement(n.default,{key:"desktop",value:"desktop"},"Desktop"),r.default.createElement(n.default,{key:"tablet",value:"tablet"},"Tablet"),r.default.createElement(n.default,{key:"mobile",value:"mobile"},"Mobile")))}},34523:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}function a(e){const{className:t,type:o="text",placeholder:n="",value:a="",onChange:l=(()=>{})}=e,s=(0,i.default)("brz-input",t);return r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:s,type:o,placeholder:n,value:a,onChange:e=>{let{target:{value:t}}=e;return l(t)}}))}},74584:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),i=l(o(60042)),n=l(o(33364)),a=o(6085);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){let{showTypeButton:t=!0,active:o,children:l,onChange:s,onRemove:c}=e;const d=o?"include":"exclude",u=o?r.default.createElement(n.default,{icon:"nc-include"}):r.default.createElement(n.default,{icon:"nc-none"}),p=(0,i.default)("brz-ed-popup-conditions__type",`brz-ed-popup-conditions__type-${d}`);return r.default.createElement("div",{className:"brz-ed-popup-conditions__condition brz-d-xs-flex"},t&&r.default.createElement("div",{className:p,onClick:()=>s({active:!o})},r.default.createElement("span",{className:"brz-ed-popup-conditions__type-text"},u,(0,a.capitalize)(d))),r.default.createElement("div",{className:"brz-ed-popup-conditions__select brz-d-xs-flex"},l),r.default.createElement("div",{className:"brz-ed-popup-conditions__remove",onClick:c},r.default.createElement(n.default,{icon:"nc-trash"})))}},18817:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(97023)),n=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e,a=(new Date).toJSON().slice(0,10).split("-").reverse().join("/");return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(n.default,{key:"before",value:"before"},"is before"),r.default.createElement(n.default,{key:"matches",value:"matches"},"matches"),r.default.createElement(n.default,{key:"after",value:"after"},"is after")),r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:a,value:t.value,onChange:e=>{let{target:{value:r}}=e;return o({...t,value:r})}})))}},83568:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),i=l(o(97023)),n=l(o(65961)),a=l(o(22546));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){const{value:t={},onChange:o=(()=>{})}=e,{availableRoles:l}=a.default.get("wp");let s=null;return"custom"===t.value&&(s=Array.isArray(l)&&l.length?r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.user,onChange:e=>o({...t,user:e})},l.map((e=>{let{role:t,name:o}=e;return r.default.createElement(n.default,{key:t,value:t},o)}))):r.default.createElement("span",null,"There are no available users. Add user first")),r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:function(e){o("all"===e?{value:e}:{value:e,user:l?.[0]?.role})}},r.default.createElement(n.default,{key:"all",value:"all"},"All users"),r.default.createElement(n.default,{key:"custom",value:"custom"},"Custom")),s)}},49197:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=a(o(27378)),i=a(o(97023)),n=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}const l={android:"Android",bada:"Bada",blackberry:"BlackBerry OS",chromeOs:"Chrome OS",firefoxOs:"Firefox OS",ios:"IOS",linux:"Linux",mac:"Mac OS",windows:"Windows"};function s(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(n.default,{key:"is",value:"is"},"is"),r.default.createElement(n.default,{key:"is not",value:"is not"},"is not")),r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o({...t,value:e})},(a=l,Object.entries(a).map((e=>{let[t,o]=e;return r.default.createElement(n.default,{key:t,value:t},o)})))));var a}},80856:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(97023)),n=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(n.default,{key:"was",value:"was"},"was shown"),r.default.createElement(n.default,{key:"was not",value:"was not"},"was not shown")),r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o({...t,value:e})},r.default.createElement(n.default,{key:"page",value:"page"},"on the same page"),r.default.createElement(n.default,{key:"session",value:"session"},"during the session")))}},20928:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=l(o(27378)),i=l(o(97023)),n=l(o(53799)),a=l(o(65961));function l(e){return e&&e.__esModule?e:{default:e}}const s={search_engines:"Any Search Engine",bing:"Bing",yandex:"Yandex",yahoo:"Yahoo",baidu:"Baidu","so.com":"So.com","360.cn":"360.cn",aol:"AOL",duckduckgo:"DuckDuckGo","ask.com":"Ask.com","mail.ru":"Mail.ru",sogou:"Sogou"},c={social_networks:"Any Social Networks",facebook:"Facebook",pinterest:"Pinterest",twitter:"Twitter",linkedin:"LinkedIn"},d={external:"External Links",internal:"Internal Links"};function u(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o({...t,value:e})},r.default.createElement(a.default,{key:"show",value:"show"},"Show"),r.default.createElement(a.default,{key:"hide",value:"hide"},"Hide"),r.default.createElement(a.default,{key:"regex",value:"regex"},"Regex"),r.default.createElement(a.default,{key:"source",value:"source"},"Source")),"source"===t.value?[r.default.createElement(i.default,{key:"type",className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(a.default,{key:"is",value:"is"},"is"),r.default.createElement(a.default,{key:"is not",value:"is not"},"is not")),r.default.createElement(i.default,{className:"brz-control__select--light",key:"source",itemHeight:30,defaultValue:t.source,onChange:e=>o({...t,source:e})},r.default.createElement(n.default,{key:"Organic",title:"Organic",items:l(s)},r.default.createElement("span",{className:"brz-span"},"Organic")),r.default.createElement(n.default,{key:"Social Networks",title:"Social Networks",items:l(c)},r.default.createElement("span",{className:"brz-span"},"Networks")),r.default.createElement(n.default,{key:"Other",title:"Other",items:l(d)},r.default.createElement("span",{className:"brz-span"},"Other")))]:r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:"URL",value:t.url,onChange:e=>{let{target:{value:r}}=e;return o({...t,url:r})}})));function l(e){return Object.entries(e).map((e=>{let[t,o]=e;return r.default.createElement(a.default,{key:t,value:t},o)}))}}},78981:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(97023)),n=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o({...t,value:e})},r.default.createElement(n.default,{key:"down",value:"down"},"Down"),r.default.createElement(n.default,{key:"up",value:"up"},"Up"),r.default.createElement(n.default,{key:"toElement",value:"toElement"},"To element")),"down"===t.value&&r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"number",placeholder:"% of page height",value:t.within,onChange:e=>{let{target:{value:r}}=e;return o({...t,within:r})}})),"toElement"===t.value&&r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:".my-class",value:t.toElement||"",onChange:e=>{let{target:{value:r}}=e;return o({...t,toElement:r})}})))}},8059:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(97023)),n=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o({...t,value:e})},r.default.createElement(n.default,{key:"views",value:"views"},"viewed pages"),r.default.createElement(n.default,{key:"sessions",value:"sessions"},"Sessions")),r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(n.default,{key:"is fewer",value:"is fewer"},"is fewer than"),r.default.createElement(n.default,{key:"equals",value:"equals"},"equals"),r.default.createElement(n.default,{key:"is more",value:"is more"},"is more than")),r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"number",placeholder:"Number of",value:t[t.value],onChange:e=>{let{target:{value:r}}=e;return o({...t,[t.value]:r})}})))}},97041:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(97023)),n=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(n.default,{key:"was",value:"was"},"was shown"),r.default.createElement(n.default,{key:"was not",value:"was not"},"was not shown")),r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:"#popup-id",value:t.value,onChange:e=>{let{target:{value:r}}=e;return o({...t,value:r})}})))}},11988:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(97023)),n=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.visit,onChange:e=>o({...t,visit:e})},r.default.createElement(n.default,{key:"first",value:"first"},"the first visit"),r.default.createElement(n.default,{key:"last",value:"last"},"the last visit")),r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(n.default,{key:"greater",value:"greater"},"is greater than"),r.default.createElement(n.default,{key:"less",value:"less"},"is less than")),r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"number",placeholder:"Number of",value:t.value,onChange:e=>{let{target:{value:r}}=e;return o({...t,value:r})}})),r.default.createElement(i.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.time,onChange:e=>o({...t,time:e})},r.default.createElement(n.default,{key:"days",value:"days"},"days"),r.default.createElement(n.default,{key:"hours",value:"hours"},"hours")))}},35617:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=u(o(60042)),n=u(o(40687)),a=u(o(33364)),l=u(o(22546)),s=o(64985),c=o(46479),d=u(o(84555));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f=l.default.get("urls");class m extends r.Component{static defaultProps={options:[],onChange:()=>{},onClose:()=>{}};state={activeTab:this.props.options[0].type};handleTabChange=e=>this.setState({activeTab:e});renderIcons(){const{options:e}=this.props,{activeTab:t}=this.state;return e.map((e=>{const o=(0,i.default)("brz-ed-popup-tab-item","brz-ed-popup-tab-item-conditions",{active:t===e.type});return r.default.createElement("div",{key:e.type,className:o,onClick:()=>this.handleTabChange(e.type)},r.default.createElement("div",{className:"brz-ed-popup-tab-icon"},r.default.createElement(a.default,{icon:e.icon})),r.default.createElement("div",{className:"brz-ed-popup-tab-name"},e.label))}))}renderProException(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-pro brz-mb-lg-0"},r.default.createElement("span",{className:"brz-span"},(0,s.t)("Block conditions are available only in PRO")),r.default.createElement("a",{className:"brz-ed-btn brz-ed-btn-width-2 brz-ed-btn-sm brz-ed-btn-icon brz-ed-btn-icon--left brz-ed-btn-rounded brz-ed-btn-pro",rel:"noopener noreferrer",href:f.upgradeToPro,target:"_blank"},r.default.createElement(a.default,{icon:"nc-lock"}),(0,s.t)("Get a PRO plan")))}render(){const{options:e,opened:t,onClose:o}=this.props,{activeTab:a}=this.state,l=d.default[a],{type:s,icon:u,label:p,title:f,...m}=e.find((e=>{let{type:t}=e;return t===a}));return r.default.createElement(n.default,{opened:t,onClose:o},r.default.createElement("div",{className:"brz-ed-popup-wrapper"},r.default.createElement("div",{className:"brz-ed-popup-header"},r.default.createElement("div",{className:"brz-ed-popup-header__tabs"},this.renderIcons()),r.default.createElement("div",{className:"brz-ed-popup-btn-close",onClick:o})),r.default.createElement("div",{className:"brz-ed-popup-content brz-ed-popup-pane brz-ed-popup-icons"},r.default.createElement("div",{className:"brz-ed-popup-body"},!c.IS_PRO&&this.renderProException(),r.default.createElement("div",{className:(0,i.default)("brz-ed-popup-conditions",{"brz-ed-popup-conditions__free":!c.IS_PRO})},r.default.createElement("div",{className:"brz-ed-popup-conditions__head"},r.default.createElement("h3",null,f)),r.default.createElement("div",{className:"brz-ed-popup-conditions__body"},r.default.createElement(l,{...m,onClose:o})))))))}}},84555:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=n(o(30931)),i=n(o(72953));function n(e){return e&&e.__esModule?e:{default:e}}const a={rules:r.default,triggers:i.default}},87593:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(18858),i=a(o(26095)),n=a(o(51060));function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.BaseApp{static connect=i.default;static done=n.default}const s=l},31822:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=o(18858),i=l(o(58347)),n=l(o(42338)),a=l(o(51060));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.BaseApp{static upload=i.default;static variation=n.default;static done=a.default}const c=s},42878:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{google:function(){return r.default},uploader:function(){return i.default}});const r=n(o(87593)),i=n(o(31822));function n(e){return e&&e.__esModule?e:{default:e}}},38286:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=c(o(13556)),i=c(o(22546)),n=o(4820),a=o(64187),l=c(o(73151)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(42878));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=i.default.get("pro");class p extends l.default{appsData=[];appsComponent=s;proExceptions=!u;async componentDidMount(){const e=(0,n.assetUrl)("integrations.json"),t=await fetch(e),{fonts:o}=await t.json();this.appsData=o,this.setState({loading:!1})}handleConnectApp=async e=>{const t=e.id,{stages:o=[]}=this.appsData.find((e=>e.id===t))||{};await(0,a.pendingRequest)(),this.setState((0,r.default)((r=>{r.stages=o,r.connectedApp=t,r.data[t]=e})),(()=>{this.handleNext()}))}}const f=p},30727:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"List",{enumerable:!0,get:function(){return b}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),n=y(o(27998)),a=y(o(60042)),l=y(o(33364)),s=o(64187),c=o(72833),d=o(97045),u=o(74215),p=o(63939),f=o(5319),m=o(64985);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}const b=()=>{const[e,t]=(0,r.useState)(""),o=(0,i.useSelector)(d.unDeletedFontsSelector),y=(0,i.useSelector)(d.defaultFontSelector),g=(0,i.useDispatch)(),b=(0,r.useCallback)((e=>{g((0,u.updateDefaultFont)(e))}),[]),h=(0,r.useCallback)((async(e,o)=>{t(o.brizyId),"upload"===e?await(0,p.deleteFont)(o.id):await(0,s.pendingRequest)(),t(""),g((0,u.deleteFont)({type:e,fonts:[o]}))}),[]),v=(0,r.useMemo)((()=>(0,f.sortFonts)(o)),[o]);return r.default.createElement(n.default,null,r.default.createElement("div",{className:"brz-ed-popup-fonts__lists brz-d-xs-flex brz-flex-xs-wrap"},v.map((t=>{let{fontGroupType:o,...i}=t;const{id:n,brizyId:s,title:d,family:u}=c.fontTransform[o](i),p=y===n,f=e===s,g=(0,a.default)("brz-ed-popup-fonts__item",p&&"brz-ed-popup-fonts__item--selected");return r.default.createElement("div",{key:s,className:g},r.default.createElement("div",{className:"brz-ed-popup-fonts__item-logo",style:{fontFamily:u},onClick:()=>{b(n)}},"Aa",!p&&!f&&r.default.createElement("div",{className:"brz-ed-badge__delete brz-ed-popup-fonts__delete",onClick:e=>{e.stopPropagation(),h(o,i)}},r.default.createElement(l.default,{icon:"nc-trash"}))),r.default.createElement("div",{className:"brz-ed-popup-fonts__item-title"},d),f&&r.default.createElement("span",{className:"brz-span brz-ed-popup-integrations__app-icon"},r.default.createElement(l.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),p&&!f&&r.default.createElement("span",{title:(0,m.t)("Default font (can’t be deleted)"),className:"brz-span brz-ed-popup-integrations__app-icon"},r.default.createElement(l.default,{icon:"nc-check-small"})))}))))}},51060:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64215),n=o(2521);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}class l extends r.Component{static contextType=i.Context;handleClose=()=>{this.props.onClose()};render(){const{app:e}=this.context;return r.default.createElement(n.Done,{...e,onNext:this.handleClose})}}const s=l},26095:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),n=o(97045),a=o(74215),l=o(72833),s=o(64215),c=o(64187),d=o(92767),u=o(64985);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}class f extends r.Component{static contextType=s.Context;constructor(e){super(e);const{config:t,blocks:o={},google:r={}}=this.props.fonts;this.usedFonts=[...t.data||[],...r.data||[],...o.data||[]],this.state={selectedFont:"",nextLoading:!1,prevLoading:!1,error:null}}static async onBeforeLoad(e){const{app:{id:t,data:o},onChange:r}=e;r(t,{...o,fonts:await(0,l.getGoogleFonts)()})}handleAddNewFont=(e,t)=>{this.setState({selectedFont:t})};handleNext=async()=>{const{selectedFont:e}=this.state,{app:{data:{fonts:t}},onChangeNext:o}=this.context,r=t.find((t=>{let{family:o}=t;return o===e}));if(this.setState({nextLoading:!0,error:null}),await(0,c.pendingRequest)(),r){const e=(0,l.getGroupFontsById)(this.props.fonts,(0,l.getGoogleFontDetails)(r).id);e?this.props.addFonts([{type:e.group,fonts:[{...e.font,deleted:!1}]}]):this.props.addFonts([{type:"google",fonts:[r]}]),o()}else this.setState({error:`Font ${e} not found, please try again`,nextLoading:!1})};handlePrev=async()=>{this.setState({prevLoading:!0}),await(0,c.pendingRequest)(),this.context.onChangePrev()};render(){const{app:e}=this.context,{selectedFont:t,prevLoading:o,nextLoading:i,error:n}=this.state,a=e.data.fonts.filter((e=>{const{id:t}=(0,l.getGoogleFontDetails)(e);return!this.usedFonts.some((e=>{const{id:o,deleted:r}=(0,l.getGoogleFontDetails)(e);return!0!==r&&o===t}))})).map((e=>({value:e.family,label:e.family}))),s=[{title:(0,u.t)("Font name"),type:"search",choices:a,value:t}],c=r.default.createElement(r.Fragment,null,(0,u.t)("Tip: You can browse the Google font library")," ",r.default.createElement("a",{className:"brz-a",href:"https://fonts.google.com",target:"_blank",rel:"noopener noreferrer"},(0,u.t)("here")),".");return r.default.createElement(d.Fields,{...e,data:s,headTitle:(0,u.t)("ADD GOOGLE FONT"),description:c,prevLoading:o,nextLoading:i,error:n,onActive:this.handleAddNewFont,onPrev:this.handlePrev,onNext:this.handleNext})}}const m={addFonts:a.addFonts},y=(0,i.connect)((e=>({fonts:(0,n.fontsSelector)(e)})),m)(f)},58347:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64215),n=o(92767),a=o(64187),l=o(64985);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static contextType=i.Context;constructor(e){super(e),this.state={fontName:"",nextLoading:!1,prevLoading:!1,error:null}}handleChange=(e,t)=>{t.length<=17&&this.setState({fontName:t})};handleNext=async()=>{const{fontName:e}=this.state,{app:{id:t,data:o={}},onChange:r,onChangeNext:i}=this.context;this.setState({nextLoading:!0}),await(0,a.pendingRequest)(),e.trim()?(r(t,{...o,fontName:e}),i()):this.setState({nextLoading:!1,error:(0,l.t)("Font Name is Required")})};handlePrev=async()=>{this.setState({prevLoading:!0}),await(0,a.pendingRequest)(),this.context.onChangePrev()};render(){const{app:e}=this.context,{fontName:t,prevLoading:o,nextLoading:i,error:a}=this.state,s=[{title:(0,l.t)("Font name"),value:t}];return r.default.createElement(n.Fields,{...e,headTitle:(0,l.t)("UPLOAD FONT"),data:s,error:a,prevLoading:o,nextLoading:i,onActive:this.handleChange,onNext:this.handleNext,onPrev:this.handlePrev})}}const d=c},23805:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=u(o(10301)),n=u(o(97023)),a=u(o(65961)),l=u(o(1424)),s=u(o(33364)),c=o(4883),d=o(64985);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}class f extends r.Component{static defaultProps={data:[{title:"",value:"",name:"",helper:null}],nextLoading:null,prevLoading:null,onPrev:i.default.noop,onNext:i.default.noop,onActive:i.default.noop};renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}renderSelect(e){let{name:t,value:o,choices:i}=e;const l=i.map((e=>{let{title:t,name:o}=e;return r.default.createElement(a.default,{key:o,value:o},t)}));return r.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},r.default.createElement(n.default,{className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,defaultValue:o,onChange:e=>{this.props.onActive(t,e)}},l))}renderUpload(e){let{name:t,value:o,accept:i}=e;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-upload"},o?r.default.createElement(r.Fragment,null,r.default.createElement("span",{className:"brz-span"},o.name),r.default.createElement("button",{className:"brz-button brz-ed-btn brz-ed-btn-xs brz-ed-btn-gray brz-ed-btn-red--hover brz-ed-btn-rounded brz-fw-700",onClick:()=>{this.props.onActive(t,"")}}," ",(0,d.t)("DELETE")," ")):r.default.createElement("label",{className:"brz-label brz-ed-btn brz-ed-btn-xs brz-ed-btn-gray brz-ed-btn-teal--hover brz-ed-btn-rounded brz-fw-700",htmlFor:t},r.default.createElement("input",{id:t,className:"brz-input brz-hidden",type:"file",accept:i,onChange:e=>{let{target:o}=e;this.props.onActive(t,o.files[0])}}),(0,d.t)("UPLOAD")))}renderOptions(){return this.props.data.map(((e,t)=>{const{title:o,type:i,helper:n}=e;return r.default.createElement("div",{key:t,className:"brz-ed-popup-integrations-step__fields-option"},r.default.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},r.default.createElement("p",{className:"brz-p"},o),n&&r.default.createElement(l.default,{className:"brz-ed-popup-integrations-fields__tooltip",openOnClick:!1,inPortal:!0,overlay:r.default.createElement("div",{className:"brz-ed-popup-integrations-fields__info",dangerouslySetInnerHTML:{__html:n}})},r.default.createElement(s.default,{icon:"nc-alert-circle-que"}))),"select"===i&&this.renderSelect(e),"upload"===i&&this.renderUpload(e))}))}render(){const{error:e,prevLoading:t,nextLoading:o,onPrev:i,onNext:n}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},e&&this.renderError(),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__head"},r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},(0,d.t)("ADD FONT VARIATION")))),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__body"},this.renderOptions(),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==t&&r.default.createElement(c.Button,{size:3,leftIcon:"nc-arrow-left",loading:t,onClick:i},(0,d.t)("Back")),null!==o&&r.default.createElement(c.Button,{color:"teal",loading:o,onClick:n},(0,d.t)("Add Font")))))}}const m=f},10122:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=c(o(10301)),n=c(o(33364)),a=o(4883),l=o(81300),s=o(64985);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}class u extends r.Component{static defaultProps={data:[{title:"",value:"",name:""}],nextLoading:null,prevLoading:null,createLoading:!1,onPrev:i.default.noop,onNext:i.default.noop,onActive:i.default.noop,onCreate:i.default.noop};renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}renderOptions(){const{data:e,onActive:t}=this.props,o=e.map(((e,o)=>{const{id:i,title:a,type:l}=e;return r.default.createElement("div",{key:o,className:"brz-ed-popup-integrations-step__fields-option brz-ed-popup-integrations-step__fields-option--big"},r.default.createElement("p",{className:"brz-p brz-ed-popup-integration__font-name"},a),r.default.createElement("p",{className:"brz-p",style:{fontWeight:i,flexBasis:"60%"}},l),r.default.createElement("div",{title:"Disconnect",className:"brz-ed-popup-integrations--delete",onClick:()=>{t(i)}},r.default.createElement(n.default,{icon:"nc-trash"})))}));return r.default.createElement(l.Scrollbar,{autoHeightMax:"255px",theme:"light"},o)}render(){const{error:e,prevLoading:t,nextLoading:o,createLoading:i,onPrev:l,onNext:c,onCreate:d}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},e&&this.renderError(),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__head"},r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},(0,s.t)("FONT VARIATION")))),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__body"},this.renderOptions(),r.default.createElement("div",{className:"brz-ed-popup-integrations-new__option",onClick:d},r.default.createElement(n.default,{icon:i?"nc-circle-02":"nc-add",className:i?"brz-ed-animated--spin":""}),(0,s.t)("Add new font variation")),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==t&&r.default.createElement(a.Button,{size:3,leftIcon:"nc-arrow-left",loading:t,onClick:l},(0,s.t)("Back")),null!==o&&r.default.createElement(a.Button,{color:"teal",loading:o,onClick:c},(0,s.t)("Continue")))))}}const p=u},42338:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=y(o(10301)),n=o(23884),a=o(74215),l=o(6804),s=o(64187),c=o(72833),d=o(64985),u=o(64215),p=o(63939),f=y(o(23805)),m=y(o(10122));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}const b=i.default.memoize((e=>Object.entries(e).map((e=>{let[t,o]=e;return{title:o,name:t}}))));class h extends r.Component{static contextType=u.Context;state={mode:"add",keyValue:this.getDefaultData(),nextLoading:!1,prevLoading:!1,addLoading:!1,error:null};getDefaultData(){return{weight:"400",ttf:"",eot:"",woff:"",woff2:""}}getAddData(){const{weight:e,ttf:t,eot:o,woff:r,woff2:i}=this.state.keyValue;return[{title:(0,d.t)("Font weight"),name:"weight",type:"select",value:e,choices:b(c.weightTypes)},{title:(0,d.t)("TTF File"),name:"ttf",value:t,type:"upload",accept:".ttf",helper:"The Web Open Font Format (TTF) is a format used in web pages by modern browsers."},{title:(0,d.t)("EOT File"),name:"eot",value:o,type:"upload",accept:".eot",helper:"The Web Open Font Format (EOT) is a format used in web pages by modern browsers."},{title:(0,d.t)("WOFF File"),name:"woff",value:r,type:"upload",accept:".woff",helper:"The Web Open Font Format (WOFF) is a format used in web pages by modern browsers."},{title:(0,d.t)("WOFF2 File"),name:"woff2",value:i,type:"upload",accept:".woff2",helper:"The Web Open Font Format (WOFF2) is a format used in web pages by modern browsers."}]}getEditData(){const{data:{fontName:e,weights:t}}=this.context.app;return t.map((t=>({id:t,title:e,type:c.weightTypes[t]})))}handleChangeAddMode=async()=>{this.setState({addLoading:!0}),await(0,s.pendingRequest)(),this.setState({mode:"add",addLoading:!1})};handleUploadFonts=(e,t)=>{this.setState((o=>{let{keyValue:r}=o;return{error:null,keyValue:{...r,[`${e}`]:t}}}))};handleAddFonts=async()=>{const{app:{id:e,data:t},onChange:o}=this.context,{weight:r,...i}=this.state.keyValue;if(this.setState({nextLoading:!0,error:null}),await(0,s.pendingRequest)(),!Object.values(i).some((e=>Boolean(e))))return void this.setState({nextLoading:!1,error:(0,d.t)("You must be have one font added")});let n=new Set([...t.weights||[],Number(r)]);o(e,Object.assign({},t,{weights:[...n],files:{...t.files||[],[r]:i}})),this.setState({mode:"edit",keyValue:this.getDefaultData(),nextLoading:!1})};handleRemoveFonts=e=>{const{app:{id:t,data:o},onChange:r}=this.context;r(t,Object.assign({},o,{weights:i.default.without(o.weights,e),files:i.default.omit(o.files,e)}))};handleNext=async()=>{const{app:{data:{files:e,fontName:t}},onChangeNext:o}=this.context;this.setState({nextLoading:!0});const{status:r,data:i}=await(0,p.createFont)({id:(0,l.uuid)(),name:t,files:e});200!==r?this.setState({nextLoading:!1,error:(0,d.t)("Something went wrong")}):(this.props.dispatch((0,a.addFonts)([{type:"upload",fonts:[i]}])),o())};handlePrev=async()=>{this.setState({prevLoading:!0}),await(0,s.pendingRequest)(),this.context.onChangePrev()};render(){const{mode:e,nextLoading:t,prevLoading:o,addLoading:i,error:n}=this.state;return"add"===e?r.default.createElement(f.default,{data:this.getAddData(),error:n,nextLoading:t,prevLoading:o,onNext:this.handleAddFonts,onPrev:this.handlePrev,onActive:this.handleUploadFonts}):r.default.createElement(m.default,{data:this.getEditData(),error:n,nextLoading:t,prevLoading:o,createLoading:i,onNext:this.handleNext,onPrev:this.handlePrev,onCreate:this.handleChangeAddMode,onActive:this.handleRemoveFonts})}}const v=(0,n.connect)()(h)},63939:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{createFont:function(){return l},deleteFont:function(){return s}});const r=o(80029),i=(n=o(22546))&&n.__esModule?n:{default:n};var n;const a=o(64187),l=e=>{let{id:t,name:o,files:n}=e;const{api:l}=i.default.get("wp"),s=i.default.get("editorVersion"),c=(0,r.makeUrl)(l.url,{action:l.createFont,hash:l.hash,version:s}),d=new FormData;return d.append("id",t),d.append("family",o),Object.entries(n).forEach((e=>{let[t,o]=e;Object.entries(o).forEach((e=>{let[o,r]=e;r&&d.append(`fonts[${t}][${o}]`,r,r.name)}))})),(0,a.request)(c,{method:"POST",body:d}).then(r.parseJSON).then((e=>e))},s=e=>{const{api:t}=i.default.get("wp"),o=i.default.get("editorVersion"),n=(0,r.makeUrl)(t.url,{action:t.deleteFont,hash:t.hash,version:o,id:e});return(0,a.request)(n,{method:"POST"}).then(r.parseJSON).then((e=>e))}},75063:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(10301),n=o(64985),a=c(o(76290)),l=o(30727),s=c(o(38286));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=[{id:"upload",title:(0,n.t)("Add New"),icon:"nc-add",component:s.default},{id:"fonts",title:(0,n.t)("Fonts"),icon:"nc-font",component:l.List}];class p extends r.Component{static defaultProps={opened:!1,onClose:i.noop};render(){const{opened:e,onClose:t}=this.props;return r.default.createElement(a.default,{opened:e,tabs:u,currentTab:"upload",blockTabsWhenLoading:!1,onClose:t})}}const f=p},5319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{compareFont:function(){return o},sortFonts:function(){return r}});const o=(e,t)=>{const o=e.family.toUpperCase(),r=t.family.toUpperCase();return or?1:0},r=e=>Object.entries(e).map((e=>{let[t,o]=e;const{data:r=[]}=o??{data:[]};return r.map((e=>({...e,fontGroupType:t})))})).reduce(((e,t)=>e.concat(t)),[]).sort(o)},94285:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=n},47726:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=n},76044:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static client=r.Client;static fields=r.Fields;static list=r.List;static done=r.Done}const a=n},13445:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=n},35069:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=n},59710:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static done=r.Done}const a=n},40263:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=n},62529:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static fields=r.EmailFields;static done=r.Done}const a=n},64727:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=n},43654:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static fields=r.GmailFields;static done=r.Done}const a=n},78230:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static list=r.List;static fields=r.Fields;static done=r.Done}const a=n},48342:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static list=r.List;static fields=r.Fields;static done=r.Done}const a=n},39365:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=n},29624:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=n},1843:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=n},44152:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=n},99059:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.RecaptchaConnect;static done=r.Done;static disconnect=r.RecaptchaDisconnect}const a=n},56575:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=n},16315:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=n},38827:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static client=r.Client;static fields=r.Fields;static list=r.List;static done=r.Done}const a=n},13966:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static fields=r.SmtpFields;static done=r.Done}const a=n},40211:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(18858),i=o(14098);class n extends r.BaseApp{static connect=i.ApiConnect;static account=i.Account;static fields=i.CustomFields;static done=i.Done}const a=n},8700:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static fields=r.EmailFields;static done=r.Done}const a=n},25505:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),i=o(18858);class n extends i.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.CustomFields;static done=r.Done}const a=n},63167:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{email:function(){return r.default},wordpress:function(){return i.default},mailchimp:function(){return n.default},sendinblue:function(){return a.default},zapier:function(){return l.default},campaignmonitor:function(){return s.default},convertkit:function(){return c.default},activecampaign:function(){return d.default},getresponse:function(){return u.default},mailjet:function(){return p.default},egoi:function(){return f.default},hubspot:function(){return m.default},mailerlite:function(){return y.default},drip:function(){return g.default},smtp:function(){return b.default},gmail_smtp:function(){return h.default},webhooks:function(){return v.default},mailgun:function(){return S.default},madmimi:function(){return w.default},constantcontact:function(){return x.default},aweber:function(){return M.default},salesforce:function(){return T.default},sendgrid:function(){return P.default},recaptcha:function(){return C.default}});const r=k(o(62529)),i=k(o(8700)),n=k(o(39365)),a=k(o(38827)),l=k(o(25505)),s=k(o(76044)),c=k(o(35069)),d=k(o(94285)),u=k(o(64727)),p=k(o(44152)),f=k(o(40263)),m=k(o(78230)),y=k(o(29624)),g=k(o(59710)),b=k(o(13966)),h=k(o(43654)),v=k(o(40211)),S=k(o(1843)),w=k(o(48342)),x=k(o(13445)),M=k(o(47726)),T=k(o(56575)),P=k(o(16315)),C=k(o(99059));function k(e){return e&&e.__esModule?e:{default:e}}},99919:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=v(o(60042)),i=v(o(13556)),n=v(o(27378)),a=v(o(10301)),l=o(33689),s=o(1014),c=v(o(1424)),d=v(o(33364)),u=o(4820),p=o(46479),f=o(64985),m=v(o(73151)),y=v(o(68723)),g=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=S(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(63167)),b=o(92397),h=o(21598);function v(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(S=function(e){return e?o:t})(e)}class w extends m.default{state={loading:!0,showProgress:!0,connectedApp:"",connectedApps:[],stage:this.props.stage,stages:this.props.stages,oldStage:"",data:{},error:null,appError:null,emailTemplate:"",hasEmailTemplate:!1};appsData=[];appsComponent=g;proExceptions=!p.IS_PRO;async componentDidMount(){const e=(0,u.assetUrl)("integrations.json"),t=await fetch(e),o=await t.json();p.IS_WP?this.appsData=o.wpEmail:this.appsData=o.cloudEmail,await this.getData()}async getData(){const{formId:e,onLoading:t}=this.props,{status:o,data:r}=await(0,h.getForm)({formId:e});if(200!==o)if(404===o){const{status:t,data:o}=await(0,h.createForm)({formId:e});t>=400||!o?this.setState({error:(0,f.t)("Something went wrong")}):this.setState({connectedApps:this.getConnectedApps(o.integrations),loading:!1})}else this.setState({error:(0,f.t)("Something went wrong")});else r&&this.setState({connectedApps:this.getConnectedApps(r.integrations),emailTemplate:r.emailTemplate||"",hasEmailTemplate:r.hasEmailTemplate,loading:!1});t(!1)}getContextValue(){const{formId:e,formFields:t}=this.props;return{...super.getContextValue(),formId:e,formFields:t}}updateForm=a.default.debounce((()=>{(0,h.updateForm)({formId:this.props.formId,hasEmailTemplate:this.state.hasEmailTemplate,emailTemplate:this.state.emailTemplate})}),1e3);handleConnectApp=async e=>{const t=e.id,{formId:o}=this.props,{stages:r=[]}=this.appsData.find((e=>e.id===t))||{};let{status:n,data:a}=await(0,h.getSmtpIntegration)({formId:o,id:t});if(200!==n){if(404!==n)return void this.setState({error:(0,f.t)("Something went wrong")});{const{status:e,data:r}=await(0,h.createSmtpIntegration)({formId:o,id:t});if(200!==e)return void this.setState({error:(0,f.t)("Something went wrong")});a=r}}this.setState((0,i.default)((o=>{o.stages=r,o.connectedApp=t,o.data[t]=Object.assign(e,{data:a})})),(()=>{this.handleNext()}))};handleHtmlChange=e=>{this.setState({emailTemplate:e},this.updateForm)};handleEnableHtml=e=>{this.setState({hasEmailTemplate:e}),!1===e&&this.state.emailTemplate&&this.setState({emailTemplate:""},this.updateForm)};renderFormInfo(){return n.default.createElement("div",{className:"brz-ed-popup-integration-email__info"},n.default.createElement(b.HelperCopy,{fields:this.props.formFields}))}renderApps(){const{error:e,emailTemplate:t,hasEmailTemplate:o}=this.state,i=(0,r.default)("brz-ed-popup-integration-email__template",{"brz-ed-popup-integration-email__template--open":o});return n.default.createElement(n.default.Fragment,null,e&&super.renderError(),n.default.createElement(y.default,{apps:this.appsData,proExceptions:this.proExceptions}),!this.proExceptions&&n.default.createElement("div",{className:i},n.default.createElement("div",{className:"brz-ed-popup-integration-email__template-head"},n.default.createElement("p",{className:"brz-p"},n.default.createElement("strong",{className:"brz-strong"},(0,f.t)("USE CUSTOM TEMPLATE"))),n.default.createElement(s.Switch,{className:"brz-ed-control__switch--light",value:o,onChange:this.handleEnableHtml})),n.default.createElement("div",{className:"brz-ed-popup-integration-email__template-body"},n.default.createElement(l.CodeMirror,{className:"brz-ed-popup-integration-email__codemirror",value:t,onChange:this.handleHtmlChange,language:"xml",theme:"idea"}),n.default.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},n.default.createElement("p",{className:"brz-p"},(0,f.t)("Tip: Use these shortcodes to populate your template")),n.default.createElement(c.default,{className:"brz-ed-popup-integration-email__tooltip",size:"small",openOnClick:!1,closeDelay:600,overlay:this.renderFormInfo()},n.default.createElement(d.default,{icon:"nc-alert-circle-que"}))))))}}const x=w},80731:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=c(o(13556)),i=o(4820),n=o(64187),a=c(o(73151)),l=o(92982),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(63167));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}class u extends a.default{appsData=[];appsComponent=s;async componentDidMount(){const e=(0,i.assetUrl)("integrations.json"),t=await fetch(e),{recaptcha:o}=await t.json(),{status:n,data:a}=await(0,l.getAccounts)({group:"recaptcha",services:"recaptcha"});this.appsData=o,200===n&&a&&a.length>0?this.setState((0,r.default)((e=>{e.data={recaptcha:{data:a[0]}},e.connectedApps=this.getConnectedApps(a),e.loading=!1}))):this.setState({loading:!1})}getConnectedApps(e){return e.reduce(((e,t)=>this.appsData.find((e=>{let{id:o}=e;return o===t.group}))?[...e,t.group]:e),[...this.state.connectedApps])}handleConnectApp=async e=>{const t=e.id;await(0,n.pendingRequest)(),this.setState((0,r.default)((o=>{const r=o.data[t]||{};o.connectedApp=t,o.stages=e.stages,o.data[t]={...r,...e}})),(()=>{this.handleNext()}))}}const p=u},92916:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=d(o(13556)),i=d(o(22546)),n=o(4820),a=o(64985),l=d(o(73151)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(63167)),c=o(21598);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=i.default.get("pro");class f extends l.default{appsData=[];appsComponent=s;proExceptions=!p;async componentDidMount(){const e=(0,n.assetUrl)("integrations.json"),t=await fetch(e),{services:o}=await t.json();this.appsData=o,await this.getData()}async getData(){const{formId:e}=this.props,{status:t,data:o}=await(0,c.getForm)({formId:e});if(200!==t)if(404===t){const{status:t}=await(0,c.createForm)({formId:e});t>=400?this.setState({error:(0,a.t)("Something went wrong")}):this.setState({loading:!1})}else this.setState({error:(0,a.t)("Something went wrong")});else o&&this.setState({connectedApps:this.getConnectedApps(o.integrations),loading:!1})}getContextValue(){const{formId:e,formFields:t}=this.props;return{...super.getContextValue(),formId:e,formFields:t}}handleConnectApp=async e=>{const{id:t,stages:o}=e,{formId:i}=this.props;let{status:n,data:l}=await(0,c.getIntegration)({formId:i,id:t});if(200!==n){if(404!==n)return void this.setState({appError:(0,a.t)("The integration is not responding, please try again or verify the account credentials")});if(({status:n,data:l}=await(0,c.createIntegration)({formId:i,id:t})),200!==n)return void this.setState({appError:(0,a.t)("The integration is not responding, please try again or verify the account credentials")})}this.setState((0,r.default)((r=>{r.appError=null,r.stages=o,r.connectedApp=t,r.data[t]=e,r.data[t].data=l})),(()=>{this.handleNext()}))}}const m=f},77704:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64985),n=o(21598),a=o(64215),l=o(2521),s=o(64187);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static contextType=a.Context;constructor(e,t){super(e),this.state={active:this.getActiveAccount(t.app.data),mode:"account",nextLoading:!1,prevLoading:!1,connectLoading:!1,disconnectLoading:!1}}getActiveAccount(e){const t=e.accounts.length?e.accounts[0].id:"";return e.usedAccount||t}handleActive=e=>{this.setState({active:e})};handleConnect=async()=>{const{onChangeProgress:e,onChangePrev:t}=this.context;this.setState({connectLoading:!0}),await(0,s.pendingRequest)(),e({showProgress:!1}),t("connect")};handleDisconnect=async()=>{const{app:{id:e,data:t},formId:o,onChange:r,onDisconnectApp:a,onChangeProgress:l}=this.context;this.setState({nextLoading:!0,error:null});const{status:s,data:c}=await(0,n.updateIntegration)({...t,formId:o,usedAccount:null});200!==s?this.setState({nextLoading:!1,error:(0,i.t)("Something went wrong")}):(this.setState({mode:"account",nextLoading:!1}),r(e,{...t,...c}),l({showProgress:!0}),a(e))};handleAccountMode=async()=>{this.setState({prevLoading:!0,error:null}),await(0,s.pendingRequest)(),this.context.onChangeProgress({showProgress:!0}),this.setState({mode:"account",prevLoading:!1})};handleDisconnectMode=async()=>{this.setState({disconnectLoading:!0,error:null}),await(0,s.pendingRequest)(),this.context.onChangeProgress({showProgress:!1}),this.setState({mode:"disconnect",disconnectLoading:!1})};handleNext=async()=>{const{app:{id:e,data:t},formId:o,onChange:r,onChangeNext:a}=this.context,{active:l}=this.state;if(this.setState({nextLoading:!0,error:null}),l!==t.usedAccount){const{status:s,data:c}=await(0,n.updateIntegration)({...t,formId:o,usedAccount:l});200!==s?this.setState({nextLoading:!1,error:(0,i.t)("Something went wrong")}):(r(e,{...t,...c}),a())}else await(0,s.pendingRequest)(),a()};handlePrev=async()=>{const{onChangePrev:e}=this.context;this.setState({prevLoading:!0}),await(0,s.pendingRequest)(),e("appList")};render(){const{app:e}=this.context;return"account"===this.state.mode?r.default.createElement(l.Account,{...e,...this.state,onActive:this.handleActive,onConnect:this.handleConnect,onDisconnect:this.handleDisconnectMode,onConfirm:this.handleConfirm,onPrev:this.handlePrev,onNext:this.handleNext}):r.default.createElement(l.Disconnect,{...e,...this.state,descriptions:`Subscribers are automatically synced to your ${e.title} list`,onPrev:this.handleAccountMode,onNext:this.handleDisconnect})}}const u=d},26747:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64985),n=o(21598),a=o(64215),l=o(2521),s=o(64187);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=(e,t)=>{const o=t.map((e=>e.title)).join(" & ");switch(e.code){case 401:return`${(0,i.t)("Incorrect")} ${o}`;case 400:return(0,i.t)("Duplicate Account");default:return(0,i.t)("Something went wrong")}};class u extends r.Component{static contextType=a.Context;constructor(e,t){super(e);const{data:{accountApiKeys:o}}=t.app,r=o.reduce(((e,t)=>{let{name:o}=t;return{...e,[`${o}`]:""}}),{});this.state={apiKeyValue:r,nextLoading:!1,prevLoading:!1,error:null}}static async onBeforeLoad(e,t){const{formId:o,app:{id:r,data:i},onChange:a,onChangeProgress:l,onError:s}=e;let{status:c,data:d}=await(0,n.getIntegrationAccountApiKey)({id:r,formId:o});(!c||c>=400)&&(d=[],s("Something went wrong")),a(r,{...i,accountApiKeys:d}),i.usedAccount||i.accounts&&i.accounts.length?t.onChangeNext():l({showProgress:!1})}handleChange=(e,t)=>{this.setState((o=>({apiKeyValue:{...o.apiKeyValue,[`${t}`]:e.trim()}})))};handleConnect=async()=>{const{app:{id:e,data:t},formId:o,onChange:r,onChangeProgress:a,onChangeNext:l}=this.context,{apiKeyValue:c}=this.state,u=Object.values(c);if(this.setState({nextLoading:!0,error:null}),u.some((e=>!e)))await(0,s.pendingRequest)(),this.setState({error:(0,i.t)("Fields are empty"),nextLoading:!1});else{const{status:i,data:s}=await(0,n.createIntegrationAccount)({...t,formId:o,data:c});if(200!==i)this.setState({nextLoading:!1,error:d(s,t.accountApiKeys)});else{const o=t.accounts||[];r(e,{...t,accounts:[...o,s]}),a({showProgress:!0}),l()}}};handlePrev=async()=>{const{oldStage:e,onChangeNext:t,onChangePrev:o,onChangeProgress:r}=this.context;this.setState({error:null,prevLoading:!0}),await(0,s.pendingRequest)(),r({showProgress:!0}),"account"===e?t("account"):o()};render(){const{app:e}=this.context,{apiKeyValue:t,error:o,nextLoading:i,prevLoading:n}=this.state,a=e.data.accountApiKeys.map((e=>{let{title:o,name:r}=e;return{title:o,name:r,value:t[r]}}));return r.default.createElement(l.Connect,{...e,data:a,error:o,nextLoading:i,prevLoading:n,onPrev:this.handlePrev,onNext:this.handleConnect,onChange:this.handleChange})}}const p=u},88190:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64985),n=o(21598),a=o(64215),l=o(2521),s=o(64187);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static contextType=a.Context;constructor(e,t){super(e),this.state={active:this.getActiveClient(t.app.data),nextLoading:!1,prevLoading:!1}}getActiveClient(e){const{usedFolder:t,folders:o}=e,r=o.length?o[0].id:"";return t||r}handleActive=e=>{this.setState({active:e})};handleNext=async()=>{const{app:{id:e,data:t},formId:o,onChange:r,onChangeNext:a}=this.context,{active:l}=this.state;if(this.setState({nextLoading:!0,error:null}),l!==t.usedFolder){const{status:s,data:c}=await(0,n.updateIntegration)({...t,formId:o,usedFolder:l});200!==s?this.setState({nextLoading:!1,error:(0,i.t)("Something went wrong")}):(r(e,{...t,...c}),a())}else await(0,s.pendingRequest)(),a()};handlePrev=async e=>{this.setState({prevLoading:!0,error:null}),await(0,s.pendingRequest)(),e&&"string"==typeof e?this.context.onChangePrev(e):this.context.onChangePrev()};render(){const{app:e}=this.context,{folders:t,accountPro:o}=e.data;return r.default.createElement(l.RadioFields,{...this.state,listPro:o,lists:t,onActive:this.handleActive,onPrev:this.handlePrev,onNext:this.handleNext})}}const u=d},28386:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(70634),n=o(64985),a=o(21598),l=o(64215),s=o(92767),c=o(80029),d=o(64187);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends r.Component{static contextType=l.Context;constructor(e,t){super(e);const{app:{data:o,restrictions:r},formFields:i}=t,{fieldsMap:n,fields:a}=o||{};this.state={formFields:(0,c.getFields)(n,a,i,r),prevLoading:!1,nextLoading:!1}}static async onBeforeLoad(e){const{app:{id:t,data:o},onChange:r}=e;r(t,{...o,fields:[]})}handleActive=(e,t)=>{const{formFields:o}=this.state,r=o.findIndex((t=>{let{sourceId:o}=t;return o===e}));this.setState({formFields:(0,i.replaceAt)(o,r,{...o[r],target:t})})};handlePrev=async()=>{this.setState({prevLoading:!0,error:null}),await(0,d.pendingRequest)(),this.context.onChangePrev()};handleNext=async()=>{const{app:{id:e,data:t},formId:o,onChange:r,onChangeNext:i}=this.context,{formFields:l}=this.state;if(this.setState({error:null,nextLoading:!0}),(0,c.checkRequiredFields)(t.fields,l,"input")){const{status:s,data:c}=await(0,a.updateIntegration)({...t,formId:o,fieldsMap:JSON.stringify(l),completed:!0});200!==s?this.setState({nextLoading:!1,error:(0,n.t)("Something went wrong")}):(r(e,{...t,...c}),i())}else await(0,d.pendingRequest)(),this.setState({error:(0,n.t)("All fields cannot be empty"),nextLoading:!1})};render(){const{app:{title:e}}=this.context,{formFields:t,error:o,nextLoading:i,prevLoading:a}=this.state,l=t.map((e=>{let{sourceTitle:t,sourceId:o,target:r}=e;return{title:t,name:o,value:"_auto_generate"===r?t:r}}));return r.default.createElement(s.Fields,{headTitle:(0,n.t)("FORM FIELDS"),headDescription:`${e} ${(0,n.t)("FIELDS")}`,data:l,error:o,nextLoading:i,prevLoading:a,onActive:this.handleActive,onPrev:this.handlePrev,onNext:this.handleNext})}}const f=p},72688:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64215),n=o(2521);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}class l extends r.Component{static contextType=i.Context;handleClose=()=>{this.props.onClose()};render(){const{app:e}=this.context;return r.default.createElement(n.Done,{...e,onNext:this.handleClose})}}const s=l},97216:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(46479),n=o(64985),a=o(64215),l=o(92397),s=(c=o(78729))&&c.__esModule?c:{default:c};var c;function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u={helper:e=>r.default.createElement(l.HelperCopy,{descriptions:(0,n.t)("You can use these shortcodes in your email:"),fields:e})},p=[{name:"emailTo",title:(0,n.t)("Email To"),required:!0,helper:`

${(0,n.t)("If you need to have multiple emails you can separate them by commas")}:

me@email.com, hi@email.com

`},{name:"subject",title:(0,n.t)("Subject"),...i.IS_PRO?u:{}},{name:"fromEmail",title:(0,n.t)("From Email")},{name:"fromName",title:(0,n.t)("From Name")},{name:"replayTo",title:(0,n.t)("Reply-To"),...i.IS_PRO?u:{}},{name:"cc",title:(0,n.t)("Cc")},{name:"bcc",title:(0,n.t)("Bcc")},{name:"metaData",title:(0,n.t)("Meta Data"),type:"search",multiple:!0,choices:[{label:"Time",value:"time"},{label:"Page URL",value:"pageUrl"},{label:"User Agent",value:"userAgent"},{label:"Remote IP",value:"remoteIp"},{label:"Credit",value:"credit"}]}];class f extends r.Component{static contextType=a.Context;render(){return r.default.createElement(s.default,{...this.context,apiKeys:p,onClose:this.props.onClose})}}const m=f},10901:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(70634),n=o(64985),a=o(21598),l=o(64215),s=o(2521),c=o(80029),d=o(64187);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends r.Component{static contextType=l.Context;constructor(e,t){super(e);const{app:{data:{fieldsMap:o,fields:r},restrictions:i},formFields:n}=t;this.state={formFields:(0,c.getFields)(o,r,n,i),prevLoading:!1,nextLoading:!1,error:null}}handleActive=(e,t)=>{const{formFields:o}=this.state,r=o.findIndex((t=>{let{sourceId:o}=t;return o===e}));this.setState({formFields:(0,i.replaceAt)(o,r,{...o[r],target:t})})};handlePrev=async()=>{this.setState({prevLoading:!0,error:null}),await(0,d.pendingRequest)(),this.context.onChangePrev()};handleNext=async()=>{const{app:{id:e,data:t},formId:o,onChange:r,onChangeNext:i}=this.context,{formFields:l}=this.state;if(this.setState({nextLoading:!0,error:null}),(0,c.checkRequiredFields)(t.fields,l,"select")){const{status:s,data:c}=await(0,a.updateIntegration)({...t,formId:o,fieldsMap:JSON.stringify(l),completed:!0});200!==s?this.setState({nextLoading:!1,error:(0,n.t)("Something went wrong")}):(r(e,{...t,...c}),i())}else await(0,d.pendingRequest)(),this.setState({error:(0,n.t)("All fields marked with an asterisk ( * ) must be mapped."),nextLoading:!1})};render(){const{app:e}=this.context,{formFields:t,error:o,nextLoading:i,prevLoading:n}=this.state;return r.default.createElement(s.SelectFields,{...e,...e.data,formFields:t,error:o,nextLoading:i,prevLoading:n,onActive:this.handleActive,onPrev:this.handlePrev,onNext:this.handleNext})}}const f=p},24737:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(46479),n=o(64985),a=o(64215),l=o(92397),s=(c=o(78729))&&c.__esModule?c:{default:c};var c;function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u={helper:e=>r.default.createElement(l.HelperCopy,{descriptions:(0,n.t)("You can use these shortcodes in your email:"),fields:e})},p=[{name:"emailTo",title:(0,n.t)("Email To"),required:!0,helper:'

If you need to have multiple emails you can separate them by commas:

\n

me@email.com, hi@email.com

'},{name:"subject",title:(0,n.t)("Subject"),...i.IS_PRO?u:{}},{name:"fromEmail",title:(0,n.t)("From Email")},{name:"fromName",title:(0,n.t)("From Name")},{name:"replayTo",title:(0,n.t)("Reply-To"),...i.IS_PRO?u:{}},{name:"cc",title:(0,n.t)("Cc")},{name:"bcc",title:(0,n.t)("Bcc")},{name:"metaData",title:(0,n.t)("Meta Data"),type:"search",multiple:!0,choices:[{title:"TIME",value:"time"},{title:"Page URL",value:"pageUrl"},{title:"User Agent",value:"userAgent"},{title:"Remote IP",value:"remoteIp"},{title:"Credit",value:"credit"}]},{name:"username",title:(0,n.t)("Username"),required:!0},{name:"password",title:(0,n.t)("Password"),required:!0}];class f extends r.Component{static contextType=a.Context;render(){return r.default.createElement(s.default,{...this.props,...this.context,apiKeys:p})}}const m=f},43136:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=u(o(10301)),n=u(o(97023)),a=u(o(65961)),l=o(81300),s=o(64985),c=o(6085),d=o(4883);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}class f extends r.Component{static defaultProps={id:"",title:"",shortTitle:"",description:"",img:"",form:{},listsCreate:[],apiKeyValue:{},nextLoading:!1,prevLoading:!1,onPrev:i.default.noop,onNext:i.default.noop,onChange:i.default.noop};renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}renderInput(e){let{name:t}=e;const{apiKeyValue:o,onChange:i}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},r.default.createElement("input",{className:"brz-input",value:o[t],onChange:e=>{i(t,e.target.value)}}))}renderSelect(e){let{name:t,choices:o}=e;const{apiKeyValue:i,onChange:l}=this.props,s=i[t],c=(s?o:[{id:"",name:"Please Select Folder"},...o]).map(((e,t)=>{const{id:o,name:i}=e;return r.default.createElement(a.default,{key:t,value:o},i)}));return r.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},r.default.createElement(n.default,{defaultValue:s,className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,onChange:e=>{l(t,e)}},c))}renderTextarea(e){let{name:t}=e;const{apiKeyValue:o,onChange:i}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},r.default.createElement("textarea",{className:"brz-textarea",value:o[t],onChange:e=>{i(t,e.target.value)}}))}renderApiKeys(){const e=this.props.listsCreate.map(((e,t)=>{const{title:o,type:i}=e;return r.default.createElement("div",{key:t,className:"brz-ed-popup-integrations-step__fields-option"},r.default.createElement("p",{className:"brz-p"},o),this[`render${(0,c.capitalize)(i)}`](e))}));return r.default.createElement(l.Scrollbar,{autoHeightMax:"255px",theme:"light"},e)}render(){const{listsCreate:e,nextLoading:t,prevLoading:o,error:i,onPrev:n,onNext:a}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__lists-create"},i&&this.renderError(),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__head"},r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},(0,s.t)("CREATE LIST")))),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__body"},e.length>0&&this.renderApiKeys(),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},r.default.createElement(d.Button,{size:3,leftIcon:"nc-arrow-left",loading:o,onClick:n},(0,s.t)("Back")),r.default.createElement(d.Button,{color:"teal",loading:t,onClick:a},(0,s.t)("Create")))))}}},92127:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64187),n=o(64985),a=o(64215),l=o(2521),s=o(21598),c=(d=o(43136))&&d.__esModule?d:{default:d};var d;function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=(e,t)=>{if("server"===e)return(0,n.t)("No lists were created, please contact our support");const{data:{accountPro:o,lists:r},title:i}=t;return o?`Please upgrade your ${i} account to access your lists`:0===r.length?(0,n.t)("Lists are empty. Please add a new list and try again."):void 0};class f extends r.Component{static contextType=a.Context;constructor(e,t){super(e);const{data:o}=t.app;this.state={active:this.getActiveList(o),apiKeyValue:this.getApiKeyValue(o),mode:"view",error:p("application",t.app),createLoading:!1,prevLoading:!1,nextLoading:!1}}static async onBeforeLoad(e){const{app:{id:t,data:o},onChange:r}=e;r(t,{...o,accountPro:!Array.isArray(o.lists)})}getActiveList(e){const t=e.lists.find((t=>{let{id:o}=t;return o===e.usedList}))||{},o=e.lists.length?e.lists[0].id:"";return t.id||o}getApiKeyValue(e){let{listProperties:t}=e;return Array.isArray(t)?t.reduce(((e,t)=>{let{name:o}=t;return{...e,[`${o}`]:""}}),{}):[]}handleActive=e=>{this.setState({active:e})};handleKeysChange=(e,t)=>{this.setState((o=>({apiKeyValue:{...o.apiKeyValue,[`${e}`]:t}})))};handleConfirm=async e=>{const{app:{id:t,data:o},formId:r,onChange:i}=this.context,{status:a,data:l}=await(0,s.updateIntegration)({...o,formId:r,confirmationNeeded:e});200!==a?this.setState({error:(0,n.t)("Something went wrong")}):i(t,{...o,...l})};handleCreateMode=async()=>{this.setState({createLoading:!0}),await(0,i.pendingRequest)(),this.setState({mode:"create",createLoading:!1,error:null})};handleViewMode=async()=>{this.setState({prevLoading:!0,error:null}),await(0,i.pendingRequest)(),this.setState({prevLoading:!1,mode:"view"})};handleCreateList=async()=>{const{app:{id:e,data:t},formId:o,onChange:r}=this.context,{apiKeyValue:a}=this.state,l=Object.values(a);if(this.setState({nextLoading:!0,error:null}),l.some((e=>!e)))await(0,i.pendingRequest)(),this.setState({nextLoading:!1,error:(0,n.t)("All fields cannot be empty")});else{const{status:i,data:n}=await(0,s.createIntegrationList)({formId:o,id:t.id,data:a,usedAccount:t.usedAccount});200!==i?n.message?this.setState({nextLoading:!1,error:n.message}):this.setState({nextLoading:!1,error:p("server")}):(r(e,{...t,lists:[...t.lists,n]}),this.setState({active:n.id,apiKeyValue:this.getApiKeyValue(t),mode:"view",nextLoading:!1,error:null}))}};handleNext=async()=>{const{app:{id:e,data:t},formId:o,onChange:r,onChangeNext:a}=this.context,{active:l}=this.state;if(this.setState({nextLoading:!0,error:null}),l!==t.usedList){const{status:i,data:c}=await(0,s.updateIntegration)({...t,formId:o,usedList:l});200!==i?this.setState({nextLoading:!1,error:(0,n.t)("Something went wrong")}):(r(e,{...t,...c}),a())}else await(0,i.pendingRequest)(),a()};handlePrev=async()=>{this.setState({prevLoading:!0,error:null}),await(0,i.pendingRequest)(),this.context.onChangePrev()};render(){const{app:e}=this.context,{lists:t,listProperties:o,hasConfirmation:i,accountPro:n,confirmationNeeded:a}=e.data;return"view"===this.state.mode?r.default.createElement(l.RadioFields,{...this.state,lists:t,listsCreate:o,listPro:n,hasConfirmation:i,confirmationNeeded:a,onActive:this.handleActive,onConfirm:this.handleConfirm,onCreateList:this.handleCreateMode,onPrev:this.handlePrev,onNext:this.handleNext}):r.default.createElement(c.default,{...this.state,listsCreate:o,onChange:this.handleKeysChange,onPrev:this.handleViewMode,onNext:this.handleCreateList})}}const m=f},99019:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=c(o(10301)),n=c(o(3518)),a=o(81300),l=o(64985),s=o(4883);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}class u extends r.Component{static defaultProps={id:"",title:"",img:"",confirmed:!1,error:!1,nextLoading:!1,prevLoading:!1,onChange:i.default.noop,onChangeConfirmation:i.default.noop,onNext:i.default.noop,onPrev:i.default.noop};handleConfirmation=e=>{this.props.onChangeConfirmation(e.target.checked)};handleKeyDown=e=>{const{confirmed:t,onNext:o}=this.props;13===e.which&&t&&o()};renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},this.props.error)}renderValidationError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error brz-ed-popup-recaptcha-validation-error"},r.default.createElement("p",{className:"brz-p"},(0,l.t)("Verification process failed, please make sure you have done the following three things and try again in a few minutes.")),r.default.createElement("p",{className:"brz-p"},"1. ",(0,l.t)("Inputted a valid site key"),". "),r.default.createElement("p",{className:"brz-p"},"2.",(0,l.t)("Deselected the “Verify the origin of reCAPTCHA solutions” checkbox within your Google account.")),r.default.createElement("p",{className:"brz-p"},"3. ",(0,l.t)("Established a stable internet connection"),"."))}renderItems(){const{data:e,onChange:t}=this.props;return e.map(((e,o)=>{const{title:i,name:a,value:l}=e;return r.default.createElement(n.default,{key:o,title:i,value:l,required:!0,onChange:e=>{t(e.target.value,a)}})}))}renderDescriptions(){return r.default.createElement("div",{className:"brz-ed-popup-recaptcha__confirmation"},r.default.createElement("label",{className:"brz-label"},r.default.createElement("input",{className:"brz-input",type:"checkbox",value:this.props.confirmed,onChange:this.handleConfirmation}),'I have deselected "Verify the origins of reCAPTCHA solu-',r.default.createElement("br",{className:"brz-br"}),'tions and clicked "Save Changes" under "Key Settings >',r.default.createElement("br",{className:"brz-br"}),'Advanced Settings" in my Google reCAPTCHA page'))}render(){const{title:e,img:t,validated:o,confirmed:i,error:n,nextLoading:c,prevLoading:d,onRetry:u,onNext:p,onPrev:f}=this.props;return r.default.createElement(a.Scrollbar,{theme:"light"},r.default.createElement("div",{className:"brz-ed-popup-recaptcha__connect"},r.default.createElement("div",{className:"brz-ed-popup-recaptcha__container"},r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},r.default.createElement("img",{className:"brz-img",src:t,alt:e}),o?this.renderDescriptions():this.renderValidationError(),n&&this.renderError()),r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},this.renderItems(),o?r.default.createElement(s.Button,{color:"teal",loading:c,disabled:!i,onClick:p},(0,l.t)("Connect")):r.default.createElement(s.Button,{color:"teal",loading:c,onClick:u},(0,l.t)("Try Again")),r.default.createElement(s.Button,{color:"default",loading:d,onClick:f},(0,l.t)("Cancel"))))))}}const p=u},76206:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64985),n=(a=o(99019))&&a.__esModule?a:{default:a};var a;const l=o(64215),s=o(92982),c=o(64187),d=o(38590);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=[{name:"sitekey",title:"Site Key"},{name:"secretkey",title:"Secret Key"}];class f extends r.Component{static contextType=l.Context;constructor(e,t){super(e);const{app:{data:o}}=t;this.state={apiKeyValue:o||this.getDefaultValue(),validated:!0,confirmed:!1,prevLoading:!1,nextLoading:!1,error:null}}static async onBeforeLoad(e,t){e.app.data&&t.onChangeNext("disconnect")}getDefaultValue(){return p.reduce(((e,t)=>{let{name:o}=t;return{...e,[`${o}`]:""}}),{})}handleChange=(e,t)=>{this.setState((o=>{let{apiKeyValue:r}=o;return{apiKeyValue:{...r,[`${t}`]:e.trim()}}}))};handleConfirmation=e=>{this.setState({confirmed:e})};handleNext=async()=>{const{app:e,onChangeNext:t}=this.context,{apiKeyValue:o}=this.state,r=Object.values(o);if(this.setState({nextLoading:!0,error:null}),r.some((e=>!e)))await(0,c.pendingRequest)(),this.setState({error:"Fields are empty",nextLoading:!1});else{const{data:r}=e;if(r){const{status:e}=await(0,s.deleteAccount)(r.id);200!==e&&this.setState({nextLoading:!1,error:(0,i.t)("Something went wrong")})}await(0,d.validation)(o)?t():this.setState({nextLoading:!1,validated:!1})}};handlePrev=async()=>{this.setState({prevLoading:!0}),await(0,c.pendingRequest)(),this.context.onChangePrev()};render(){const{apiKeyValue:e,nextLoading:t,prevLoading:o,confirmed:i,error:a,validated:l}=this.state,s=p.map((t=>{let{title:o,name:r}=t;return{title:o,name:r,value:e[r]}}));return r.default.createElement(n.default,{...this.context.app,data:s,validated:l,confirmed:i,nextLoading:t,prevLoading:o,error:a,onChange:this.handleChange,onChangeConfirmation:this.handleConfirmation,onNext:this.handleNext,onRetry:this.handleNext,onPrev:this.handlePrev})}}const m=f},38590:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"validation",{enumerable:!0,get:function(){return i}});const r=o(21598);async function i(e){try{return await function(e){const t=window.parent,o=function(e){const t=e.document.body,o=document.createElement("div");return o.setAttribute("class","brz-ed-recaptcha brz-hidden"),t.append(o),o}(t),i=function(e){const t=e.document.body,o=document.createElement("script");return o.setAttribute("src","https://www.google.com/recaptcha/api.js?onload=onloadRecaptchaCallback&render=explicit"),o.setAttribute("async","async"),o.setAttribute("defer","defer"),t.append(o),o}(t);return new Promise(((n,a)=>{i.onload=()=>{const l=t.parent.grecaptcha;t.onloadRecaptchaCallback=()=>{const t=l.render(o,{sitekey:e.sitekey,size:"invisible",callback:async t=>{const{status:a}=await(0,r.addRecaptcha)({group:"recaptcha",service:"recaptcha",...e,response:t});o.remove(),i.remove(),n(200===a)},"error-callback":()=>{o.remove(),i.remove(),a(!1)}});l.reset(t),l.execute(t)}}}))}(e)}catch(e){return e}}},10637:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64187),n=o(64985),a=o(64215),l=o(2521),s=o(92982);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static contextType=a.Context;constructor(e){super(e),this.state={nextLoading:!1,prevLoading:!1,error:null}}handleNext=async()=>{const{app:e,onChange:t,onDisconnectApp:o}=this.context;this.setState({nextLoading:!0,error:null});const{status:r}=await(0,s.deleteAccount)(e.data.id);r<400?(o(e.id),t(e.id,null)):this.setState({nextLoading:!1,error:(0,n.t)("Something went wrong")})};handlePrev=async()=>{this.setState({prevLoading:!0,error:null}),await(0,i.pendingRequest)(),this.context.onChangePrev("appList")};render(){const{nextLoading:e,prevLoading:t,error:o}=this.state;return r.default.createElement(l.Disconnect,{...this.context.app,descriptions:`${(0,n.t)("Are you sure you want to delete your account?")}`,nextLoading:e,prevLoading:t,error:o,onPrev:this.handlePrev,onNext:this.handleNext})}}const u=d},83069:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(46479),n=o(64985),a=o(64215),l=o(92397),s=(c=o(78729))&&c.__esModule?c:{default:c};var c;function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u={helper:e=>r.default.createElement(l.HelperCopy,{descriptions:(0,n.t)("You can use these shortcodes in your email:"),fields:e})},p=[{name:"emailTo",title:(0,n.t)("Email To"),required:!0,helper:'

If you need to have multiple emails you can separate them by commas:

\n

me@email.com, hi@email.com

'},{name:"subject",title:(0,n.t)("Subject"),...i.IS_PRO?u:{}},{name:"fromEmail",title:(0,n.t)("From Email")},{name:"fromName",title:(0,n.t)("From Name")},{name:"replayTo",title:(0,n.t)("Reply-To"),...i.IS_PRO?u:{}},{name:"cc",title:(0,n.t)("Cc")},{name:"bcc",title:(0,n.t)("Bcc")},{name:"metaData",title:(0,n.t)("Meta Data"),type:"search",multiple:!0,choices:[{title:"Time",value:"time"},{title:"Page URL",value:"pageUrl"},{title:"User Agent",value:"userAgent"},{title:"Remote IP",value:"remoteIp"},{title:"Credit",value:"credit"}]},{name:"host",title:(0,n.t)("Host"),required:!0},{name:"port",title:(0,n.t)("Port"),required:!0},{name:"authentication",title:(0,n.t)("Authentication"),type:"switch"},{name:"username",title:(0,n.t)("Username"),required:!0},{name:"password",title:(0,n.t)("Password"),required:!0},{name:"encryption",title:(0,n.t)("Encryption"),type:"select",choices:[{title:"SSL",name:"ssl"},{title:"TLS",name:"tls"}]}];class f extends r.Component{static contextType=a.Context;render(){return r.default.createElement(s.default,{...this.props,...this.context,apiKeys:p})}}const m=f},92397:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HelperCopy",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(33364))&&n.__esModule?n:{default:n};var n;const a=o(80029);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{const{fields:t,descriptions:o}=e,[n,l]=(0,r.useState)(""),s=(0,r.useCallback)((e=>{(0,a.copyTextToClipboard)(`{{${e}}}`),l(e)}),[]);return(0,r.useEffect)((()=>{const e=setTimeout((()=>{l("")}),800);return()=>{clearTimeout(e)}}),[n]),r.default.createElement("div",{className:"brz-helper__copy"},o&&r.default.createElement("p",{className:"brz-p brz-helper__copy-descriptions"},o),t.map(((e,t)=>r.default.createElement("p",{key:t,title:"Click to copy",className:"brz-p brz-helper__copy--fields",onClick:()=>{s(e.label)}},r.default.createElement("span",{className:"brz-span"},`{{${e.label}}}`),r.default.createElement(i.default,{icon:"nc-duplicate"}),n===e.label&&r.default.createElement("span",{className:"brz-span brz-ed-animated brz-ed-animated--fadeIn"},"Copied")))))}},78729:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=f(o(27378)),i=o(47885),n=o(64985),a=f(o(59638)),l=o(49863),s=o(21598),c=o(92767),d=o(64187),u=o(21901);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends r.Component{state={apiKeyValue:this.getDefaultValue(),prevLoading:!1,nextLoading:!1,error:null};getDefaultValue(){const{app:{data:e},apiKeys:t}=this.props;return t.reduce(((t,o)=>{let{name:r}=o;return{...t,[`${r}`]:e[a.read(r)??""]||""}}),{})}getValue(e){const{apiKeyValue:t}=this.state;return(0,l.pipe)((t=>t[e]))(t)}handleChange=(e,t)=>{this.setState((o=>{let{apiKeyValue:r}=o;return{apiKeyValue:{...r,[`${e}`]:t}}}))};handleNext=async()=>{const{app:{id:e,data:t},formId:o,apiKeys:r,onChange:i,onChangeNext:l}=this.props,{apiKeyValue:c}=this.state;if(this.setState({nextLoading:!0,error:null}),r.find((e=>{let{required:t,name:o}=e;return t&&!c[a.read(o)??""]})))await(0,d.pendingRequest)(),this.setState({error:(0,n.t)("All fields marked with an asterisk ( * ) must be completed."),nextLoading:!1});else{const{status:r,data:a}=await(0,s.updateSmtpIntegration)({...t,...c,formId:o,completed:!0});200!==r?this.setState({nextLoading:!1,error:(0,n.t)("Something went wrong")}):(i(e,{...t,...a}),l())}};handlePrev=async()=>{this.setState({prevLoading:!0}),await(0,d.pendingRequest)(),this.props.onChangePrev()};render(){const{app:e,apiKeys:t,formId:o,formFields:n}=this.props,{error:a,prevLoading:l,nextLoading:s}=this.state,d=t.map((e=>(0,u.readApiKey)({...e,value:this.getValue(e.name)}))).filter(i.isT);return r.default.createElement(c.Fields,{...e,formId:o,formFields:n,data:d,error:a??void 0,prevLoading:l,nextLoading:s,onActive:this.handleChange,onPrev:this.handlePrev,onNext:this.handleNext})}}const y=m},21901:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"readApiKey",{enumerable:!0,get:function(){return v}});const r=o(47885),i=o(55250),n=u(o(59638)),a=u(o(59596)),l=u(o(44576)),s=o(77725),c=o(49863);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const p=e=>"string"==typeof e||null===e,f=e=>"function"==typeof e||p(e),m=(0,s.readWithParser)({type:e=>"input"===e.type||void 0===e.type?"input":void 0,value:(0,c.pipe)((0,i.prop)("value"),(0,r.pass)((e=>p(e)))),title:(0,r.mPipe)((0,i.prop)("title"),n.read),name:(0,r.mPipe)((0,i.prop)("name"),n.read),required:(0,r.optional)((0,c.pipe)((0,i.prop)("required"),(0,r.pass)(a.is))),helper:(0,r.optional)((0,c.pipe)((0,i.prop)("helper"),(0,r.pass)((e=>f(e)))))}),y=(0,r.parse)({type:e=>"select"===e.type?"select":void 0,choices:(0,r.mPipe)((0,i.prop)("choices"),(e=>l.toArray(e))),value:(0,c.pipe)((0,i.prop)("value"),(0,r.pass)((e=>"string"==typeof e||null===e))),title:(0,r.mPipe)((0,i.prop)("title"),n.read),name:(0,r.mPipe)((0,i.prop)("name"),n.read),required:(0,r.optional)((0,c.pipe)((0,i.prop)("required"),(0,r.pass)(a.is))),helper:(0,r.optional)((0,c.pipe)((0,i.prop)("helper"),(0,r.pass)((e=>f(e)))))}),g=(0,r.parse)({type:e=>"switch"===e.type?"switch":void 0,title:(0,r.mPipe)((0,i.prop)("title"),n.read),value:(0,c.pipe)((0,i.prop)("value"),(e=>!!a.is(e)&&e)),name:(0,r.mPipe)((0,i.prop)("name"),n.read),required:(0,r.optional)((0,c.pipe)((0,i.prop)("required"),(0,r.pass)(a.is))),helper:(0,r.optional)((0,c.pipe)((0,i.prop)("helper"),(0,r.pass)((e=>f(e)))))}),b=(0,r.parse)({type:e=>"search"===e.type?"search":void 0,choices:(0,r.mPipe)((0,i.prop)("choices"),(e=>l.toArray(e))),value:(0,c.pipe)((0,i.prop)("value"),(0,r.pass)((e=>p(e)))),title:(0,r.mPipe)((0,i.prop)("title"),n.read),name:(0,r.mPipe)((0,i.prop)("name"),n.read),required:(0,r.optional)((0,c.pipe)((0,i.prop)("required"),(0,r.pass)(a.is))),helper:(0,r.optional)((0,c.pipe)((0,i.prop)("helper"),(0,r.pass)((e=>f(e))))),multiple:(0,c.pipe)((0,i.prop)("multiple"),a.is)}),h=(0,r.match)([e=>"input"===e.type||void 0===e.type,m],[e=>"select"===e.type,y],[e=>"switch"===e.type,g],[e=>"search"===e.type,b],[e=>!0,()=>{}]),v=e=>h(e)},14098:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{ApiConnect:function(){return r.default},Account:function(){return i.default},Client:function(){return n.default},Fields:function(){return a.default},CustomFields:function(){return l.default},EmailFields:function(){return s.default},List:function(){return c.default},Done:function(){return d.default},SmtpFields:function(){return u.default},GmailFields:function(){return p.default},RecaptchaConnect:function(){return f.default},RecaptchaDisconnect:function(){return m.default}});const r=y(o(26747)),i=y(o(77704)),n=y(o(88190)),a=y(o(10901)),l=y(o(28386)),s=y(o(97216)),c=y(o(92127)),d=y(o(72688)),u=y(o(83069)),p=y(o(24737)),f=y(o(76206)),m=y(o(10637));function y(e){return e&&e.__esModule?e:{default:e}}},21598:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getForm:function(){return s},createForm:function(){return c},updateForm:function(){return d},getIntegration:function(){return u},createIntegration:function(){return p},updateIntegration:function(){return f},getIntegrationAccountApiKey:function(){return m},createIntegrationAccount:function(){return y},createIntegrationList:function(){return g},getSmtpIntegration:function(){return b},createSmtpIntegration:function(){return h},updateSmtpIntegration:function(){return v},addRecaptcha:function(){return S}});const r=l(o(10301)),i=o(80029),n=l(o(22546)),a=o(64187);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{formId:t}=e;const{api:o}=n.default.get("wp"),r=n.default.get("editorVersion"),l=(0,i.makeUrl)(o.url,{formId:t,action:o.getForm,hash:o.hash,version:r});return(0,a.request)(l,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then((e=>(0,i.parseJSON)(e))).then((e=>e))},c=e=>{let{formId:t}=e;const{api:o}=n.default.get("wp"),r=n.default.get("editorVersion"),l=(0,i.makeUrl)(o.url,{action:o.createForm,hash:o.hash,version:r});return(0,a.request)(l,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({id:t})}).then((e=>(0,i.parseJSON)(e)))},d=e=>{let{formId:t,hasEmailTemplate:o,emailTemplate:r}=e;const{api:l}=n.default.get("wp"),s=n.default.get("editorVersion"),c=(0,i.makeUrl)(l.url,{formId:t,action:l.updateForm,hash:l.hash,version:s});return(0,a.request)(c,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({hasEmailTemplate:o,emailTemplate:r})}).then(i.parseJSON).then((e=>e))},u=e=>{let{formId:t,id:o}=e;const{api:r}=n.default.get("wp"),l=n.default.get("editorVersion"),s=(0,i.makeUrl)(r.url,{action:r.getIntegration,hash:r.hash,version:l,formId:t,integration:o});return(0,a.request)(s,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then((e=>(0,i.parseJSON)(e)))},p=e=>{let{formId:t,id:o}=e;const{api:r}=n.default.get("wp"),l=n.default.get("editorVersion"),s=(0,i.makeUrl)(r.url,{action:r.createIntegration,hash:r.hash,version:l,formId:t});return(0,a.request)(s,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({id:o})}).then((e=>(0,i.parseJSON)(e)))},f=e=>{let{formId:t,...o}=e;const{api:l}=n.default.get("wp"),s=n.default.get("editorVersion"),c=(0,i.makeUrl)(l.url,{action:l.updateIntegration,hash:l.hash,version:s,formId:t}),d=r.default.pick(o,["id","usedAccount","fieldsMap","usedList","confirmationNeeded","usedFolder","completed"]);return(0,a.request)(c,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(d)}).then((e=>(0,i.parseJSON)(e)))},m=e=>{let{formId:t,id:o}=e;const{api:r}=n.default.get("wp"),l=n.default.get("editorVersion"),s=(0,i.makeUrl)(r.url,{action:r.getAccountProperties,hash:r.hash,version:l,formId:t,integration:o});return(0,a.request)(s,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then((e=>(0,i.parseJSON)(e)))},y=e=>{let{formId:t,id:o,data:r}=e;const{api:l}=n.default.get("wp"),s=n.default.get("editorVersion"),c=(0,i.makeUrl)(l.url,{action:l.authenticateIntegration,hash:l.hash,version:s,formId:t,integration:o});return(0,a.request)(c,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(r)}).then((e=>(0,i.parseJSON)(e)))},g=e=>{let{formId:t,id:o,data:r}=e;const{api:l}=n.default.get("wp"),s=n.default.get("editorVersion"),c=(0,i.makeUrl)(l.url,{action:l.createIntegrationGroup,hash:l.hash,version:s,formId:t,integration:o});return(0,a.request)(c,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(r)}).then((e=>(0,i.parseJSON)(e)))},b=function(){for(var e=arguments.length,t=new Array(e),o=0;o{let{formId:t,...o}=e;const{api:r}=n.default.get("wp"),l=n.default.get("editorVersion"),s=(0,i.makeUrl)(r.url,{action:r.updateIntegration,hash:r.hash,version:l,formId:t});return(0,a.request)(s,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(o)}).then((e=>(0,i.parseJSON)(e)))},S=e=>{let{group:t,service:o,secretkey:r,sitekey:l,response:s}=e;const{api:c}=n.default.get("wp"),d=n.default.get("editorVersion"),u=(0,i.makeUrl)(c.url,{action:c.addAccount,hash:c.hash,version:d,secretkey:r,response:s});return(0,a.request)(u,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({group:t,service:o,sitekey:l,secretkey:r})}).then(i.parseJSON).then((e=>e))}},38380:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=d(o(10301)),n=o(64985),a=d(o(76290)),l=d(o(92916)),s=d(o(99919)),c=d(o(80731));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=[{id:"email",title:(0,n.t)("Email"),icon:"nc-email",component:s.default},{id:"service",title:(0,n.t)("APPS"),icon:"nc-extensions-2",component:l.default},{id:"recaptcha",title:(0,n.t)("ReCAPTCHA"),icon:"nc-captcha",component:c.default}];class f extends r.Component{static defaultProps={formId:"",formFields:[],opened:!1,onClose:i.default.noop};render(){const{formId:e,formFields:t,opened:o,onClose:i}=this.props;return r.default.createElement(a.default,{currentTab:"email",formId:e,formFields:t,opened:o,tabs:p,onClose:i})}}const m=f},76025:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=y(o(60042)),n=y(o(10301)),a=y(o(22546)),l=y(o(40687)),s=y(o(97023)),c=y(o(65961)),d=y(o(16719)),u=y(o(33364)),p=o(85326),f=o(33091),m=o(13340);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}const b=(0,m.getTypes)(),h=b.reduce(((e,t)=>{let{id:o,name:r}=t;return e[o]=r,e}),{});class v extends r.Component{static defaultProps={name:"nc-star",type:"outline",onChange:n.default.noop};state={typeId:(b.find((e=>e.name===this.props.type))??b[0]).id,categoryId:"*",search:""};containerRef=r.default.createRef();componentDidUpdate(){if(this.containerRef.current){const{templateFonts:e}=a.default.get("urls");(0,f.loadFonts)(this.containerRef.current,e)}}onIconClick=e=>{this.props.onClose(),setTimeout((()=>{this.props.onChange(e)}),0)};renderTabs(){const e=b.map((e=>r.default.createElement("div",{key:e.id,className:(0,i.default)("brz-ed-popup-tab-item",{active:e.id===this.state.typeId}),onClick:()=>this.setState({typeId:e.id})},r.default.createElement("div",{className:"brz-ed-popup-tab-icon"},r.default.createElement(u.default,{icon:e.icon})),r.default.createElement("div",{className:"brz-ed-popup-tab-name"},e.title))));return r.default.createElement("div",{className:"brz-ed-popup-header"},r.default.createElement("div",{className:"brz-ed-popup-header__tabs"},e),r.default.createElement("div",{className:"brz-ed-popup-btn-close",onClick:this.props.onClose}))}renderFilters(){const{categoryId:e,search:t,typeId:o}=this.state,n=[{id:"*",name:"all",title:"All Categories"},...(0,m.getCategories)(o)];return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-ed-popup__categories"},r.default.createElement(s.default,{className:"brz-ed-popup__select brz-ed-popup__select--block-categories brz-ed-popup-control__select--light",defaultValue:e,maxItems:10,itemHeight:30,onChange:e=>this.setState({categoryId:e})},n.map((e=>{let{id:t,title:o}=e;return r.default.createElement(c.default,{key:t,value:t},o)})))),r.default.createElement("div",{className:"brz-ed-popup__search"},r.default.createElement("input",{type:"text",className:"brz-input brz-ed-popup__input",placeholder:"Enter Search Keyword",onChange:e=>this.setState({search:e.target.value}),value:t}),r.default.createElement("div",{className:(0,i.default)("brz-ed-popup__search--icon",{active:t.length>0})},r.default.createElement(u.default,{icon:"nc-search"}))))}filterIcons(e){const{typeId:t,categoryId:o,search:r}=this.state,i=new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,""),"i");return e.filter((e=>{let{type:n,cat:a,title:l}=e;return t===n&&("*"===o||a.includes(o))&&(""===r||i.test(l))}))}render(){const{name:e,type:t,opened:o,onClose:i}=this.props;return r.default.createElement(l.default,{opened:o,onClose:i},r.default.createElement("div",{ref:this.containerRef,className:"brz-ed-popup-wrapper"},this.renderTabs(),r.default.createElement("div",{className:"brz-ed-popup-content brz-ed-popup-pane brz-ed-popup-icons"},r.default.createElement("div",{className:"brz-ed-popup-body"},r.default.createElement("div",{className:"brz-ed-popup__head--search brz-d-xs-flex brz-align-items-center brz-justify-content-xs-center"},this.renderFilters()),r.default.createElement("div",{className:"brz brz-ed-popup-icons__grid"},r.default.createElement(p.PromiseComponent,{getPromise:()=>(0,m.getIcons)((0,m.getTypes)().map((e=>e.id))),renderResolved:o=>{const i=this.filterIcons(o);return r.default.createElement(S,{icons:i,value:{name:e,type:t},onChange:this.onIconClick})},renderWaiting:()=>r.default.createElement(w,null),delayMs:1e3}))))))}}function S(e){let{icons:t,value:o,onChange:n}=e;const[a,l]=(0,r.useState)(null),s=(0,r.useRef)(null),c=t.findIndex((e=>e.name===o.name)),u=Math.floor(t.length/8)+1,p=Math.floor(c/8),f=0===p?0:p-1;if((0,r.useEffect)((()=>{if(s.current){const{width:e,height:t}=s.current.getBoundingClientRect();l({width:e,height:t})}}),[]),!a)return r.default.createElement("div",{style:{height:"100%"},ref:s},r.default.createElement(w,null));const{width:y,height:g}=a,b=74*f;return r.default.createElement(d.default,{width:y,height:g,columnCount:8,columnWidth:68,rowCount:u,rowHeight:68,gutter:6,initialScrollTop:b,renderItem:e=>{let{rowIndex:a,columnIndex:l,style:s}=e;const c=t[8*a+l];if(!c)return null;const{type:d,name:u}={type:h[c.type],name:c.name},p=(0,i.default)("brz-ed-popup-icons__grid__item",{active:d===o.type&&u===o.name});return r.default.createElement("div",{style:{...s,left:s.left+6,top:s.top+6,width:s.width-6,height:s.height-6},className:p,onClick:()=>{n({type:d,name:u})}},r.default.createElement("i",{className:(0,i.default)(["brz-font-icon",(0,m.getIconClassName)(c)])}))}})}function w(){return r.default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center",alignItems:"center",color:"#828b92",fontSize:"35px"}},r.default.createElement(u.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}},33091:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"loadFonts",{enumerable:!0,get:function(){return r}});const r=(e,t)=>{(o.g.Brizy.applyFilter("iconFontsLoaders")||[]).map((o=>o(e,t)))}},22151:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(10301),n=o(4820),a=o(16957),l=d(o(40687)),s=d(o(33364)),c=o(64985);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends r.Component{static defaultProps={opened:!1,onClose:i.noop};render(){const{opened:e,onClose:t}=this.props,o="MacOS"===(0,a.detectOS)(),i=o?`${(0,n.assetUrl)("editor/img/mac-keyboard1x.png")} 1x , ${(0,n.assetUrl)("editor/img/mac-keyboard2x.png")} 2x`:`${(0,n.assetUrl)("editor/img/pc-keyboard1x.png")} 1x , ${(0,n.assetUrl)("editor/img/pc-keyboard2x.png")} 2x`;return r.default.createElement(l.default,{id:"key-helper",className:"brz-ed-hotkeys-overlay",opened:e,onClose:t},r.default.createElement("div",{className:"brz-ed-hotkeys-wrapper"},r.default.createElement(s.default,{icon:"nc-close-popup",className:"brz-ed-hotkeys-btn-close",onClick:t}),r.default.createElement("div",{className:"brz-ed-hotkeys-label"},(0,c.t)("Keyboard Shortcuts")),r.default.createElement("div",{className:"brz-ed-hotkeys-image-container"},r.default.createElement("picture",null,r.default.createElement("img",{className:"brz-ed-hotkeys-image",srcSet:i}))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container"},r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column"},r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + C":"ctrl + C"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Copy"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + V":"ctrl + V"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Paste"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + shift + V":"ctrl + shift + V"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Paste Style"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + D":"ctrl + D"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Duplicate"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + delete":"ctrl + delete"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Delete"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"ctrl +",r.default.createElement(s.default,{className:"brz-ed-hotkeys-icons",icon:"nc-arrow"}),r.default.createElement("span",{className:"divider"},"/"),r.default.createElement(s.default,{className:"brz-ed-hotkeys-icons brz-ed-deg180",icon:"nc-arrow"})),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Horizontal Align"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"ctrl +",r.default.createElement(s.default,{className:"brz-ed-hotkeys-icons brz-ed-deg90",icon:"nc-arrow"}),r.default.createElement("span",{className:"divider"},"/"),r.default.createElement(s.default,{className:"brz-ed-hotkeys-icons brz-ed-deg270",icon:"nc-arrow"})),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Vertical Align"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + shift + P":"ctrl + shift + P"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Preview Page"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},"esc"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Select Parent Element")))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column"},r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + Z":"ctrl + Z"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Undo"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + shift + Z":"ctrl + shift + Z"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Redo"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + S":"ctrl + S"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Save"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"ctrl +",r.default.createElement(s.default,{className:"brz-ed-hotkeys-icons",icon:"nc-minus"}),r.default.createElement("span",{className:"divider"},"/"),r.default.createElement(s.default,{className:"brz-ed-hotkeys-icons",icon:"nc-plus2"})),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Responsive Zoom Out / In"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"ctrl +",r.default.createElement(s.default,{className:"brz-ed-hotkeys-icons",icon:"nc-alert-circle-que"})),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Shortcuts"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + shift + A":"ctrl + shift + A"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Add New Block / Layout"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + M":"ctrl + M"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Styling"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + K":"ctrl + K"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Effects")))))))}}},12736:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromptPageArticle",{enumerable:!0,get:function(){return k}});const r=C(o(27378)),i=T(o(40687)),n=o(64187),a=o(64985),l=o(4883),s=o(89660),c=o(93911),d=o(95605),u=o(69583),p=o(74766),f=C(o(80425)),m=o(23884),y=o(74215),g=T(o(22546)),b=o(62762),h=o(74900),v=o(54688),S=o(26981),w=o(84786),x=o(93702),M=o(31055);function T(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const k=e=>{const{headTitle:t,pageTitle:o,opened:T,selectedLayout:P,onClose:C,onSave:k}=e,_=(0,m.useDispatch)(),O=(0,r.useCallback)((e=>{let{selected:t,title:o,layout:r}=e;return _((0,y.updatePageLayout)(r)),_((0,y.updatePageTitle)(o)),k().then((()=>(0,n.shopifySyncArticle)(t.id,t.title,o))).then((()=>{}))}),[_]),E=(0,r.useCallback)((async()=>{const e=g.default.getAll();if((0,b.isCloud)(e)&&(0,b.isShopify)(e)){const t=(0,n.getPageRelations)(e).then((e=>e.map((e=>e.id)))),r=(0,n.shopifyBlogItems)(),[i,a]=await Promise.all([r,t]),l=(0,w.getChoices)(e);if((0,S.isNonEmptyArray)(i)&&(0,S.isNonEmptyArray)(l))return{items:i,layouts:l,selected:i.find((e=>e.id===a[0])),title:o,layout:P?.value??l[0].id,error:void 0}}return Promise.reject()}),[]),[z,B]=(0,h.useStateReducer)(v.reducer,E,O,C),j=r.default.createElement(r.default.Fragment,null,r.default.createElement(l.Button,{size:3,loading:"Canceling"===z.type,onClick:()=>B((0,x.cancel)())},(0,a.t)("Cancel")),r.default.createElement(l.Button,{color:"teal",size:3,loading:"Saving"===z.type,onClick:()=>B((0,x.save)())},(0,a.t)("Save")));return r.default.createElement(i.default,{opened:T,onClose:C},r.default.createElement("div",{className:"brz-ed-popup-wrapper"},r.default.createElement(c.Header,{tabs:d.tabs.map((e=>({...e,active:e.id===z.payload.activeTab,onClick:()=>B((0,x.switchTab)(e.id))}))),onClose:C}),(()=>{switch(z.type){case"Loading":return r.default.createElement(s.Content,{head:t,loading:!0});case"Err":return r.default.createElement(s.Content,{head:t,error:z.payload.message});case"Ready":case"Saving":case"Canceling":case"Canceled":switch(z.payload.activeTab){case d.Tabs.page:return r.default.createElement(s.Content,{head:t,error:z.payload.error,inlineFooter:!0,footer:j},r.default.createElement(p.Input,{value:z.payload.title??"",onChange:e=>B((0,M.setTitle)(e)),placeholder:(0,a.t)("Page title")}),r.default.createElement(f.default,{className:"brz-ed-popup-integrations-option__radio",defaultValue:z.payload.selected?.id,onChange:e=>B((0,M.setBlog)(e))},z.payload.items.map((e=>{let{title:t,id:o}=e;return r.default.createElement(f.RadioItem,{checkIcon:"active",value:o,key:o},t)}))));case d.Tabs.settings:return r.default.createElement(u.SettingsTab,{layouts:z.payload.layouts,headTitle:t,value:z.payload.layout,inlineFooter:!0,footer:j,onChange:e=>B((0,M.setLayout)(e)),error:z.payload.error})}}})()))}},54688:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setters:function(){return s},validate:function(){return c},reducer:function(){return d}});const r=o(77936),i=o(83612),n=o(64985),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(95945));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=(e,t)=>{switch(t.type){case"SetLayout":return{...e,layout:t.payload};case"SetBlog":return{...e,selected:e.items.find((e=>e.id===t.payload))??e.selected};case"SetTitle":return{...e,title:t.payload}}},c=e=>{const{title:t,selected:o}=e;return t&&a.is(t)?o?(0,i.right)({title:t,items:e.items,selected:o,activeTab:e.activeTab,layout:e.layout,layouts:e.layouts,error:void 0}):(0,i.left)({...e,error:(0,n.t)("You must have one selected item")}):(0,i.left)({...e,error:(0,n.t)("You must specify a title")})},d=(0,r.createReducer)(s,c)},31055:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setTitle:function(){return o},setLayout:function(){return r},setBlog:function(){return i}});const o=e=>({payload:e,type:"SetTitle"}),r=e=>({payload:e,type:"SetLayout"}),i=e=>({payload:e,type:"SetBlog"})},60624:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromptPageRules",{enumerable:!0,get:function(){return k}});const r=C(o(27378)),i=T(o(40687)),n=o(64187),a=o(64985),l=o(4883),s=o(89660),c=o(93911),d=C(o(31916)),u=o(95605),p=o(69583),f=o(74766),m=o(74215),y=o(23884),g=T(o(22546)),b=o(62762),h=C(o(12495)),v=C(o(93702)),S=o(26981),w=o(74900),x=o(11848),M=o(84786);function T(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const k=e=>{const{headTitle:t,pageTitle:o,opened:T,selectedLayout:P,onClose:C,onSave:k}=e,_=(0,y.useDispatch)(),O=(0,r.useCallback)((e=>{let{items:t,title:o,layout:r}=e;return _((0,m.updatePageLayout)(r)),_((0,m.updatePageTitle)(o)),k().then((()=>(0,n.shopifySyncRules)(t.filter((e=>e.selected)),o))).then((()=>{}))}),[_]),E=(0,r.useCallback)((async()=>{const e=g.default.getAll();if((0,b.isCloud)(e)&&(0,b.isShopify)(e)){const t=(0,n.getPageRelations)(e).then((e=>e.map((e=>e.id)))),r=(0,n.getCollectionSourceItemsById)(e.templateType.id),i=await Promise.all([r,t]).then((e=>{let[t,o]=e;return t.map((e=>({...e,selected:o.includes(e.id)})))})),a=(0,M.getChoices)(e);if((0,S.isNonEmptyArray)(i)&&(0,S.isNonEmptyArray)(a))return{items:i,layouts:a,title:o,layout:P?.value??a[0].id,error:void 0}}return Promise.reject()}),[]),[z,B]=(0,w.useStateReducer)(x.reducer,E,O,C),j=(0,r.useMemo)((()=>r.default.createElement(r.default.Fragment,null,r.default.createElement(l.Button,{size:3,loading:"Canceling"===z.type,onClick:()=>B(v.cancel())},(0,a.t)("Cancel")),r.default.createElement(l.Button,{color:"teal",size:3,loading:"Saving"===z.type,onClick:()=>B(v.save())},(0,a.t)("Save")))),[B,z.type]);return r.default.createElement(i.default,{opened:T,onClose:C},r.default.createElement("div",{className:"brz-ed-popup-wrapper"},r.default.createElement(c.Header,{tabs:u.tabs.map((e=>({...e,active:e.id===z.payload.activeTab,onClick:e=>B(v.switchTab(e))}))),onClose:C}),(()=>{switch(z.type){case"Loading":return r.default.createElement(s.Content,{head:t,loading:!0});case"Err":return r.default.createElement(s.Content,{head:t,error:z.payload.message});case"Ready":case"Saving":case"Canceling":case"Canceled":{const{items:e,title:o}=z.payload,i=e.filter((e=>e.selected)).reduce(((e,t)=>(e[t.id]=!0,e)),{}),n=(e=>{switch(e.type){case"Loading":case"Err":case"Saving":return;case"Ready":case"Canceling":case"Canceled":return e.payload.error}})(z);switch(z.payload.activeTab){case u.Tabs.page:return r.default.createElement(s.Content,{head:t,error:n,inlineFooter:!0,footer:j},r.default.createElement(f.Input,{value:o??"",onChange:e=>B(h.setTitle(e)),placeholder:(0,a.t)("Page title")}),r.default.createElement(d.default,{defaultValue:i,onChange:e=>B(h.setRules(Object.entries(e).filter((e=>{let[,t]=e;return t})).map((e=>{let[t]=e;return t}))))},e.map((e=>r.default.createElement(d.CheckGroupItem,{key:e.id,divider:!0,inline:!0,value:e.id,renderIcons:d.CheckGroupIcon},e.title)))));case u.Tabs.settings:return r.default.createElement(p.SettingsTab,{layouts:z.payload.layouts,headTitle:t,value:z.payload.layout,inlineFooter:!0,footer:j,onChange:e=>B(h.setLayout(e)),error:n})}}}})()))}},11848:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setters:function(){return s},validate:function(){return c},reducer:function(){return d}});const r=o(77936),i=o(83612),n=o(64985),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(95945));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=(e,t)=>{switch(t.type){case"SetLayout":return{...e,layout:t.payload};case"SetRules":return{...e,items:e.items.map((e=>({...e,selected:t.payload.includes(e.id.toString())})))};case"SetTitle":return{...e,title:t.payload}}},c=e=>{const{title:t,items:o}=e;return t&&a.is(t)?o.filter((e=>e.selected)).length?(0,i.right)({title:t,items:e.items,activeTab:e.activeTab,layout:e.layout,layouts:e.layouts,error:void 0}):(0,i.left)({...e,error:(0,n.t)("You must have one selected item")}):(0,i.left)({...e,error:(0,n.t)("You must specify a title")})},d=(0,r.createReducer)(s,c)},12495:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setTitle:function(){return o},setLayout:function(){return r},setRules:function(){return i}});const o=e=>({payload:e,type:"SetTitle"}),r=e=>({payload:e,type:"SetLayout"}),i=e=>({payload:e,type:"SetRules"})},74330:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromptPageTemplate",{enumerable:!0,get:function(){return P}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),n=M(o(40687)),a=o(64985),l=o(74215),s=o(64187),c=o(4883),d=o(89660),u=o(93911),p=o(69583),f=o(74766),m=o(95605),y=M(o(22546)),g=o(62762),b=o(84786),h=o(26981),v=o(74900),S=o(13557),w=o(93702),x=o(81142);function M(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}const P=e=>{const{headTitle:t,pageTitle:o,selectedLayout:M,opened:T,onClose:P,onSave:C}=e,k=(0,i.useDispatch)(),_=(0,r.useCallback)((e=>{let{title:t,layout:o}=e;return k((0,l.updatePageLayout)(o)),k((0,l.updatePageTitle)(t)),C().then((()=>(0,s.shopifySyncPage)(t))).then((()=>{}))}),[k]),O=(0,r.useCallback)((async()=>{const e=y.default.getAll();if((0,g.isCloud)(e)&&(0,g.isShopify)(e)){const t=(0,b.getChoices)(e);if((0,h.isNonEmptyArray)(t))return{layouts:t,title:o,layout:M?.value??t[0].id,error:void 0}}return Promise.reject()}),[]),[E,z]=(0,v.useStateReducer)(S.reducer,O,_,P),B=r.default.createElement(r.default.Fragment,null,r.default.createElement(c.Button,{size:3,loading:"Canceling"===E.type,onClick:()=>z((0,w.cancel)())},(0,a.t)("Cancel")),r.default.createElement(c.Button,{color:"teal",size:3,loading:"Saving"===E.type,onClick:()=>z((0,w.save)())},(0,a.t)("Save")));return r.default.createElement(n.default,{opened:T,onClose:P},r.default.createElement("div",{className:"brz-ed-popup-wrapper"},r.default.createElement(u.Header,{tabs:m.tabs.map((e=>({...e,active:e.id===E.payload.activeTab,onClick:()=>z((0,w.switchTab)(e.id))}))),onClose:P}),(()=>{switch(E.type){case"Loading":return r.default.createElement(d.Content,{head:t,loading:!0});case"Err":return r.default.createElement(d.Content,{head:t,error:E.payload.message});case"Ready":case"Saving":case"Canceling":case"Canceled":switch(E.payload.activeTab){case m.Tabs.page:return r.default.createElement(d.Content,{head:t,inlineFooter:!0,footer:B,error:E.payload.error},r.default.createElement(f.Input,{value:E.payload.title??"",onChange:e=>z((0,x.setTitle)(e)),placeholder:(0,a.t)("Page title")}));case m.Tabs.settings:return r.default.createElement(p.SettingsTab,{layouts:E.payload.layouts,headTitle:t,value:E.payload.layout,inlineFooter:!0,footer:B,onChange:e=>z((0,x.setLayout)(e)),error:E.payload.error})}}})()))}},13557:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setters:function(){return s},validate:function(){return c},reducer:function(){return d}});const r=o(77936),i=o(83612),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(95945)),a=o(64985);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=(e,t)=>{switch(t.type){case"SetLayout":return{...e,layout:t.payload};case"SetTitle":return{...e,title:t.payload}}},c=e=>{const{title:t}=e;return t&&n.is(t)?(0,i.right)({title:t,activeTab:e.activeTab,layout:e.layout,layouts:e.layouts,error:void 0}):(0,i.left)({...e,error:(0,a.t)("You must specify a title")})},d=(0,r.createReducer)(s,c)},81142:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setTitle:function(){return o},setLayout:function(){return r}});const o=e=>({payload:e,type:"SetTitle"}),r=e=>({payload:e,type:"SetLayout"})},95994:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromptThirdParty",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=s(o(23615)),n=s(o(10301)),a=s(o(40687)),l=s(o(33364));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e){let{iframeSrc:t,opened:o,onClose:i}=e;return r.default.createElement(a.default,{opened:o,onClose:i},r.default.createElement(u,{src:t,onRequestClose:i}))}function u(e){let{src:t,onRequestClose:o}=e;const[i,n]=(0,r.useState)(!1),a=(0,r.useRef)(null);return(0,r.useEffect)((()=>{const e=e=>{const i=new URL(t);if(e.origin===i.origin&&e.source===a.current.contentWindow&&e.data&&e.data.type)switch(e.data.type){case"CLOSE":o();break;case"NAVIGATE":e.data.url&&(r.parent.location.href=e.data.url)}},r=a.current.ownerDocument.defaultView;return r.addEventListener("message",e),()=>r.removeEventListener("message",e)}),[]),r.default.createElement(r.default.Fragment,null,r.default.createElement("iframe",{ref:a,title:"ThirdParty",src:t,style:{position:"relative",display:i?"block":"none",width:"100%",maxWidth:"1140px",height:"90%",maxHeight:"967px",border:0,borderRadius:"7px"},onLoad:()=>n(!0)}),!i&&r.default.createElement(l.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin",style:{fontSize:"30px",color:"rgba(255, 255, 255, 0.75)"}}))}d.defaultProps={iframeSrc:"",opened:!1,onClose:n.default.noop},d.propTypes={iframeSrc:i.default.string.isRequired,opened:i.default.bool,onClose:i.default.func},u.defaultProps={src:"",onRequestClose:n.default.noop},u.propTypes={src:i.default.string.isRequired,onRequestClose:i.default.func}},4895:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tabs",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),i=l(o(27378)),n=l(o(33364)),a=l(o(40687));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){let{onClose:t,children:o,value:l,tabs:s,onChange:c}=e;return i.default.createElement(a.default,{className:"brz-ed-popup-integrations",opened:!0,onClose:t},i.default.createElement("div",{className:"brz-ed-popup-wrapper"},i.default.createElement("div",{className:"brz-ed-popup-header"},i.default.createElement("div",{className:"brz-ed-popup-header__tabs"},s.map((e=>{const{id:t,icon:o,title:a}=e,s=(0,r.default)("brz-ed-popup-tab-item",{active:t===l});return i.default.createElement("div",{key:t,className:s,onClick:()=>c(t)},i.default.createElement("div",{className:"brz-ed-popup-tab-icon"},i.default.createElement(n.default,{icon:o})),i.default.createElement("div",{className:"brz-ed-popup-tab-name"},a))}))),i.default.createElement("div",{className:"brz-ed-popup-btn-close",onClick:t})),i.default.createElement("div",{className:"brz-ed-popup-content"},o)))}},78436:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Prompt",{enumerable:!0,get:function(){return n}});const r=(i=o(58135))&&i.__esModule?i:{default:i};var i;const n={open(e){r.default.set("prompt",e)}}},4883:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(60042)),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{const{className:t,size:o=1,color:a="gray",type:l="button",rightIcon:s,leftIcon:c,loading:d,disabled:u,children:p,href:f,target:m,onClick:y}=e,g=(0,i.default)("brz-button brz-ed-btn","brz-ed-btn-sm brz-ed-btn-rounded",t,d?"brz-ed-btn--loading":"brz-ed-btn-icon",`brz-ed-btn-width-${o}`,`brz-ed-btn-${a}`,{"brz-ed-btn-icon--left":c},{"brz-ed-btn-icon--right":s},{"brz-ed-btn--disabled":u}),b=d?r.default.createElement(n.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):r.default.createElement(r.default.Fragment,null,c&&r.default.createElement(n.default,{icon:c}),p,s&&r.default.createElement(n.default,{icon:s}));switch(l){case"link":return r.default.createElement("a",{className:g,target:m,href:f,rel:"noopener noreferrer",onClick:y},b);case"button":return r.default.createElement("button",{className:g,onClick:y},b)}}},89660:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Content",{enumerable:!0,get:function(){return d}});const r=c(o(27378)),i=c(o(60042)),n=c(o(27998)),a=o(96101),l=o(40010),s=o(7741);function c(e){return e&&e.__esModule?e:{default:e}}const d=e=>{const{head:t,loading:o,error:c,children:d,spacing:u=!0,height:p=!0,footer:f,inlineFooter:m}=e,y=(0,i.default)("brz-ed-popup-content",{"brz-ed-popup-content--spacing":u,"brz-ed-popup-content--height":p}),g=(0,i.default)("brz-ed-popup-content__footer",{"brz-ed-popup-content__footer--inline":m});return o?r.default.createElement("div",{className:y},r.default.createElement(s.Loading,null)):r.default.createElement("div",{className:y},t&&r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-ed-popup-content__head"},r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},t)),r.default.createElement(a.Spacer,{space:"19px"}))),c&&r.default.createElement(l.Alert,{message:c,type:"error"}),r.default.createElement(n.default,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},d),f&&r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Spacer,{space:"35px"}),r.default.createElement("div",{className:g},f)))}},18858:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BaseApp",{enumerable:!0,get:function(){return o}});class o{static connect=void 0;static account=void 0;static fields=void 0;static list=void 0;static done=void 0}},73151:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=p(o(10301)),n=p(o(60042)),a=p(o(13556)),l=o(40010),s=o(64215),c=o(7741),d=p(o(19119)),u=p(o(68723));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}class m extends r.Component{static defaultProps={className:"",tab:{},stage:"",stages:[],onLoading:i.default.noop,onTabUpdate:i.default.noop,onClose:i.default.noop};state={loading:!0,showProgress:!0,connectedApp:"",connectedApps:[],stage:this.props.stage,stages:this.props.stages,oldStage:"",data:{},error:null,appError:null};appsData=[];appsComponent={};proExceptions=!1;getContextValue(){const{connectedApp:e,connectedApps:t,data:o,stages:r,stage:i,oldStage:n}=this.state;return{app:o[e]||{},connectedApps:t,stages:r,stage:i,oldStage:n,onChange:this.handleChange,onChangeNext:this.handleNext,onChangePrev:this.handlePrev,onConnectApp:this.handleConnectApp,onDisconnectApp:this.handleDisconnectApp,onChangeProgress:this.handleProgress,onError:this.handleError}}getConnectedApps(e){const{connectedApps:t}=this.state;return Array.isArray(e)?e.reduce(((e,t)=>t.completed?[...e,t.id]:e),t):t}handleConnectApp=async e=>{const{id:t,stages:o}=e;this.setState((0,a.default)((r=>{r.stages=o,r.connectedApp=t,r.data[t]=e})),(()=>{this.handleNext()}))};handleDisconnectApp=e=>{const{stage:t,stages:o}=this.props;this.setState((0,a.default)((r=>{const i=r.connectedApps;r.stage=t,r.stages=o,r.connectedApps=i.filter((t=>t!==e))})))};handleProgress=e=>{this.setState(e)};handleChange=(e,t)=>{this.setState((0,a.default)((o=>{o.data[e].data=t})))};getComponent(e){return this.appsComponent[this.state.connectedApp][e]}handleNext=async e=>{const{stages:t,stage:o}=this.state,r=t.findIndex((e=>{let{type:t}=e;return t===o}))+1,i=e||t[r].type,n=this.getComponent(i);let a=!1;if(n&&"function"==typeof n.onBeforeLoad){const e=t[r+1].type,o={onChangeNext:t=>{const o=t||e;a=!0,this.handleNext(o)}};await n.onBeforeLoad(this.getContextValue(),o)}a||this.setState({stage:i,oldStage:o})};handlePrev=e=>{this.setState((0,a.default)((t=>{if("appList"===e){const{stage:e,stages:o}=this.props;t.stage=e,t.stages=o,t.connectedApp=""}else{const{stage:o,stages:r}=t,i=r.findIndex((e=>{let{type:t}=e;return t===o}))-1;t.stage=e||r[i]?.type||"",t.oldStage=o,t.connectedApp=-1===i?"":t.connectedApp}})))};handleError=e=>{this.setState({error:e})};renderLoading(){return r.default.createElement(c.Loading,null)}renderError(){return this.state.error&&r.default.createElement(l.Alert,{message:this.state.error})}renderApps(){const{error:e,appError:t}=this.state;return r.default.createElement(r.default.Fragment,null,e&&r.default.createElement(l.Alert,{message:e}),r.default.createElement(u.default,{apps:this.appsData,proExceptions:this.proExceptions,error:t}))}renderSteps(){const{showProgress:e,stage:t,stages:o,connectedApp:i,data:n}=this.state,a=e&&!o.find((e=>e.type===t))?.hideProgress,l=o.reduce(((e,t,o,a)=>{const l={num:t.type};return o===a.findIndex((e=>e.title))?l.img=n[i].img:l.text=t.title,t.title?[...e,r.default.createElement(d.default.Stage,{key:o,...l})]:e}),[]);return r.default.createElement(s.Context.Provider,{value:this.getContextValue()},r.default.createElement(d.default,{stage:t},a&&l.length>0&&r.default.createElement(d.default.Progress,null,l),r.default.createElement(d.default.Steps,{onClose:this.props.onClose},o.map(((e,t)=>{const o=this.getComponent(e.type);return r.default.createElement(d.default.Step,{key:t,num:e.type,render:e=>o&&r.default.createElement(o,{...e,apps:this.appsData})})})))))}renderContent(){const{stage:e,stages:t}=this.state;return r.default.createElement(s.Context.Provider,{value:this.getContextValue()},""!==e&&t.length?this.renderSteps():this.renderApps())}render(){const e=(0,n.default)("brz-ed-popup-integration",this.props.className);return r.default.createElement("div",{className:e},this.state.loading?r.default.createElement(c.Loading,null):this.renderContent())}}const y=m},64215:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Context",{enumerable:!0,get:function(){return a}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(10301),a=r.default.createContext({app:{},connectedApps:[],stages:[],stage:"",oldStage:"",onChange:n.noop,onChangeNext:n.noop,onChangePrev:n.noop,onConnectApp:n.noop,onDisconnectApp:n.noop,onChangeProgress:n.noop,onError:n.noop})},1589:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=u(o(10301)),n=u(o(27998)),a=u(o(33364)),l=u(o(80425)),s=u(o(33548)),c=o(64985),d=o(4883);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}class f extends r.Component{static defaultProps={id:"",title:"",shortTitle:"",description:"",img:"",form:{},data:{},active:"",nextLoading:!1,prevLoading:!1,connectLoading:!1,disconnectLoading:!1,onActive:i.default.noop,onPrev:i.default.noop,onNext:i.default.noop,onConnect:i.default.noop,onDisconnect:i.default.noop};renderOptions(){const{active:e,data:{accounts:t,usedAccount:o,completed:i},disconnectLoading:c,onActive:d,onDisconnect:u}=this.props,p=t.map((e=>{let{name:t,id:n}=e;return r.default.createElement(s.default,{value:n,key:n},t||`Account ${n}`,n===o&&i&&r.default.createElement("div",{title:"Disconnect",className:"brz-ed-popup-integrations--delete",onClick:u},r.default.createElement(a.default,{icon:c?"nc-circle-02":"nc-connection",className:c?"brz-ed-animated--spin":""})))}));return r.default.createElement(n.default,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},r.default.createElement(l.default,{className:"brz-ed-popup-integrations-option__radio",name:"list",defaultValue:e,onChange:d},p))}renderError(){const{error:e,data:{accounts:t}}=this.props;return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},0===t.length&&(0,c.t)("Accounts are empty. Please connect a new account and try again."),e))}render(){const{data:{accounts:e},error:t,nextLoading:o,prevLoading:i,connectLoading:n,onConnect:l,onPrev:s,onNext:u}=this.props,p=e.length>0;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__account"},r.default.createElement("div",{className:"brz-ed-popup-integrations-step__head"},r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},(0,c.t)("SELECT ACCOUNT")))),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__body"},(!p||t)&&this.renderError(),p&&this.renderOptions(),r.default.createElement("div",{className:"brz-ed-popup-integrations-new__option",onClick:l},r.default.createElement(a.default,{icon:n?"nc-circle-02":"nc-add",className:n?"brz-ed-animated--spin":""}),(0,c.t)("Connect a new account")),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},r.default.createElement(d.Button,{size:3,leftIcon:"nc-arrow-left",loading:i,onClick:s},(0,c.t)("Back")),r.default.createElement(d.Button,{color:"teal",rightIcon:"nc-arrow-right",loading:o,onClick:u},(0,c.t)("Continue")))))}}const m=f},78882:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(10301))&&n.__esModule?n:{default:n};var n;function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}class l extends r.Component{static defaultProps={apps:[],render:i.default.noop};render(){const{apps:e,render:t}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations__apps brz-d-xs-flex brz-flex-xs-wrap"},e.map(((e,o)=>t(e,o))))}}},24422:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=p(o(10301)),a=p(o(1424)),l=p(o(33364)),s=o(94979),c=p(o(22546)),d=o(46479),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}class m extends i.Component{static defaultProps={img:"",pro:!1,shortTitle:"",loading:!1,active:!1,onClick:n.default.noop};state={tooltipOpen:!1};iconRef=i.default.createRef();handleTooltipOpen=()=>{this.setState({tooltipOpen:!0})};handleTooltipClose=()=>{this.setState({tooltipOpen:!1})};renderPro(){const{img:e,title:t}=this.props,o=(0,r.default)("brz-ed-popup-integrations__app-logo",this.state.tooltipOpen&&"brz-ed-popup-integrations__app-logo--open"),{upgradeToPro:n}=c.default.getAll().urls;return i.default.createElement("div",{className:"brz-ed-popup-integrations__app brz-ed-popup-integrations__app--pro"},i.default.createElement(a.default,{overlayClassName:"brz-ed-tooltip--delay-2",size:"small",offset:"5",openOnClick:!1,nodeRef:this.iconRef,overlay:i.default.createElement(s.ProInfo,{text:(0,u.t)("Upgrade to PRO to use this integration"),url:n}),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},i.default.createElement("div",{className:o},i.default.createElement("img",{className:"brz-img",src:e,alt:t}),i.default.createElement("span",{ref:this.iconRef,className:"brz-span brz-ed-popup-integrations__app-icon brz-ed-popup-integrations__app-icon--pro"},i.default.createElement(l.default,{icon:"nc-lock"})),i.default.createElement("p",{className:"brz-p brz-ed-badge brz-ed-badge--pro"},"pro")),i.default.createElement("div",{className:"brz-ed-popup-integrations__app-title"},t)))}renderFree(){const{img:e,title:t,loading:o,active:n,onClick:a}=this.props,s=(0,r.default)("brz-ed-popup-integrations__app",n&&"brz-ed-popup-integrations__app--connected",o&&"brz-ed-popup-integrations__app--loading");return i.default.createElement("div",{className:s,onClick:a},i.default.createElement("div",{className:"brz-ed-popup-integrations__app-logo"},i.default.createElement("img",{className:"brz-img",src:e,alt:t}),n&&!o&&i.default.createElement("span",{className:"brz-span brz-ed-popup-integrations__app-icon"},i.default.createElement(l.default,{icon:"nc-check-small"})),o&&i.default.createElement("span",{className:"brz-span brz-ed-popup-integrations__app-icon"},i.default.createElement(l.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))),i.default.createElement("div",{className:"brz-ed-popup-integrations__app-title"},t))}render(){return!(0,d.isPro)(c.default.getAll())&&this.props.pro?this.renderPro():this.renderFree()}}},68723:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=p(o(10301)),n=p(o(22546)),a=p(o(78882)),l=p(o(24422)),s=o(64215),c=p(o(33364)),d=o(64985),u=o(81300);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}const m=n.default.get("urls");class y extends r.Component{static contextType=s.Context;static defaultProps={apps:[],proExceptions:!1,error:null};state={loadingApp:"",onConnectApp:i.default.noop};componentDidUpdate(e){this.props.error!==e.error&&this.state.loadingApp&&this.setState({loadingApp:""})}handleChangeApp(e){const{onConnectApp:t}=this.context;t(e),this.setState({loadingApp:e.id})}renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}renderProException(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-pro brz-mb-lg-0"},r.default.createElement("span",{className:"brz-span"},(0,d.t)("Some integrations are available only in PRO")),r.default.createElement("a",{className:"brz-ed-btn brz-ed-btn-width-2 brz-ed-btn-sm brz-ed-btn-icon brz-ed-btn-icon--left brz-ed-btn-rounded brz-ed-btn-pro",rel:"noopener noreferrer",href:m.upgradeToPro,target:"_blank"},r.default.createElement(c.default,{icon:"nc-lock"}),(0,d.t)("Get a PRO plan")))}render(){const{apps:e,proExceptions:t,error:o}=this.props,{connectedApps:i}=this.context,{loadingApp:n}=this.state;return r.default.createElement(u.Scrollbar,{theme:"light"},o&&this.renderError(),t&&this.renderProException(),r.default.createElement(a.default,{apps:e,render:e=>r.default.createElement(l.default,{...e,key:e.id,loading:n===e.id,active:i.includes(e.id),onClick:()=>{this.handleChangeApp(e)}})}))}}const g=y},9142:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=s(o(10301)),n=o(64985),a=o(4883),l=s(o(3518));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static defaultProps={img:"",title:"",descriptions:"",data:[{title:"",name:"",value:""}],nextLoading:null,prevLoading:null,error:null,onNext:i.default.noop,onPrev:i.default.noop};renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}handleKeyDown=e=>{13===e.which&&this.props.onNext()};renderInputs(){const{data:e,onChange:t}=this.props;return e.map(((e,o)=>{const{title:i,name:n,value:a}=e;return r.default.createElement(l.default,{key:o,title:i,name:n,required:!0,value:a,onChange:e=>{let{target:o}=e;t(o.value,n)},onKeyDonw:this.handleKeyDown})}))}render(){const{img:e,title:t,descriptions:o,error:i,nextLoading:l,prevLoading:s,onNext:c,onPrev:d,docsUrl:u}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations__connect"},r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},r.default.createElement("img",{className:"brz-img",src:e,title:t,alt:t}),r.default.createElement("p",{className:"brz-p"},o),r.default.createElement("p",{className:"brz-p brz-ed-popup-integrations__connect-info"},r.default.createElement("a",{className:"brz-a",href:u,target:"_blank",rel:"noreferrer"},(0,n.t)("Need help"),"?"))),r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},i&&this.renderError(),this.renderInputs(),null!==l&&r.default.createElement(a.Button,{color:"teal",loading:l,onClick:c},(0,n.t)("Connect")),null!==s&&r.default.createElement(a.Button,{color:"default",loading:s,onClick:d},(0,n.t)("Cancel"))))}}const u=d},26792:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(10301))&&n.__esModule?n:{default:n};var n;const a=o(64985),l=o(4883);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static defaultProps={title:"",descriptions:"",nextLoading:null,prevLoading:null,error:null,onNext:i.default.noop,onPrev:i.default.noop};renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}render(){const{title:e,img:t,descriptions:o,error:i,nextLoading:n,prevLoading:s,onNext:c,onPrev:d}=this.props,u=null!==n&&null!==s;return r.default.createElement("div",{className:"brz-ed-popup-integrations__connect"},r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},r.default.createElement("img",{className:"brz-img",src:t,alt:e}),r.default.createElement("p",{className:"brz-p"},o)),r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},i&&this.renderError(),u&&r.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==n&&r.default.createElement(l.Button,{color:"red",loading:n,onClick:c},(0,a.t)("Disconnect")),null!==s&&r.default.createElement(l.Button,{color:"default",loading:s,onClick:d},(0,a.t)("Cancel")))))}}const d=c},90291:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=s(o(10301)),n=s(o(33364)),a=o(64985),l=o(4883);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static defaultProps={title:"",onNext:i.default.noop};render(){const{title:e,onNext:t}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__done"},r.default.createElement("div",{className:"brz-ed-popup-integrations-step__done-icon"},r.default.createElement(n.default,{icon:"nc-check-light"})),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__done-content"},r.default.createElement("p",{className:"brz-p"},(0,a.t)("You have successfully connect the form with")," ",e)),r.default.createElement(l.Button,{color:"teal",onClick:t},(0,a.t)("Done")))}}const u=d},92767:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Fields",{enumerable:!0,get:function(){return v}});const r=o(47885),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=b(o(27998)),a=b(o(10301)),l=o(40010),s=b(o(12317)),c=b(o(97023)),d=b(o(65961)),u=o(1014),p=b(o(1424)),f=b(o(33364)),m=o(64985),y=o(4883),g=o(51282);function b(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}class v extends i.Component{static defaultProps={formId:"",formFields:[],id:"",headTitle:"",headDescription:"",description:"",data:[],nextLoading:null,prevLoading:null,onPrev:a.default.noop,onNext:a.default.noop,onActive:a.default.noop};renderHead(){const{headTitle:e,headDescription:t}=this.props;if(e&&t)return i.default.createElement("div",{className:"brz-ed-popup-integrations-step__head"},e&&i.default.createElement("p",{className:"brz-p"},i.default.createElement("strong",{className:"brz-strong"},e)),t&&i.default.createElement("p",{className:"brz-p"},i.default.createElement("strong",{className:"brz-strong"},t)))}renderSelect=e=>{let{name:t,value:o,choices:r}=e;const n=r.map(((e,t)=>{let{title:o,name:r}=e;return i.default.createElement(d.default,{key:`${r}-${t}`,value:r},o)}));return i.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},i.default.createElement(c.default,{className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,defaultValue:o,onChange:e=>{this.props.onActive(t,e)}},n))};renderInput=e=>{let{name:t,value:o}=e;return i.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},i.default.createElement("input",{className:"brz-input",required:!0,type:"password"===t?"password":"text",value:o??"",onChange:e=>{this.props.onActive(t,e.target.value)}}))};renderSwitch=e=>{let{name:t,value:o}=e;return i.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},i.default.createElement(u.Switch,{className:"brz-ed-control__switch--light",value:o??!1,onChange:e=>{this.props.onActive(t,e)}}))};renderSearch=e=>{let{name:t,multiple:o,value:r,choices:n}=e;const a=Boolean(r)&&o?r?.split(","):r;return i.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},i.default.createElement(s.default,{className:"brz-control__select2--light",isMultiple:o,value:a,options:n,onChange:e=>{this.props.onActive(t,o&&Array.isArray(e)?e.join(","):Array.isArray(e)||"object"!=typeof e?"":e.value)}}))};renderOption=(0,r.match)([g.isInput,this.renderInput],[g.isSelect,this.renderSelect],[g.isSearch,this.renderSearch],[g.isSwitch,this.renderSwitch]);getHelper(e){switch(typeof e){case"string":return i.default.createElement("div",{className:"brz-ed-popup-integrations-fields__info",dangerouslySetInnerHTML:{__html:e}});case"function":return e(this.props.formFields);default:return e}}renderOptions(){const e=this.props.data.map(((e,t)=>{const{title:o,required:r,helper:n}=e;return i.default.createElement("div",{key:t,className:"brz-ed-popup-integrations-step__fields-option"},i.default.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},i.default.createElement("p",{className:"brz-p"},o,r&&i.default.createElement("strong",{className:"brz-strong brz--required"},"*")),n&&i.default.createElement(p.default,{className:"brz-ed-popup-integrations-fields__tooltip",openOnClick:!1,inPortal:!0,closeDelay:600,overlay:this.getHelper(n)},i.default.createElement(f.default,{icon:"nc-alert-circle-que"}))),this.renderOption(e))}));return i.default.createElement(n.default,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},e)}render(){const{description:e,error:t,prevLoading:o,nextLoading:r,onPrev:n,onNext:a}=this.props;return i.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},this.renderHead(),i.default.createElement("div",{className:"brz-ed-popup-integrations-step__body"},t&&i.default.createElement(l.Alert,{message:t,type:"error"}),this.renderOptions(),e&&i.default.createElement("p",{className:"brz-p brz-ed-popup-integrations__description"},e),i.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==o&&i.default.createElement(y.Button,{size:3,leftIcon:"nc-arrow-left",loading:o,onClick:n},(0,m.t)("Back")),null!==r&&i.default.createElement(y.Button,{color:"teal",rightIcon:"nc-arrow-right",loading:r,onClick:a},(0,m.t)("Continue")))))}}},51282:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isInput:function(){return o},isSelect:function(){return r},isSwitch:function(){return i},isSearch:function(){return n}});const o=e=>void 0===e.type||"input"===e.type,r=e=>"select"===e.type,i=e=>"switch"===e.type,n=e=>"search"===e.type},35205:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=f(o(10301)),n=f(o(27998)),a=f(o(80425)),l=f(o(33548)),s=f(o(97023)),c=f(o(65961)),d=f(o(33364)),u=o(64985),p=o(4883);function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}class y extends r.Component{static defaultProps={id:"",title:"",shortTitle:"",description:"",img:"",active:"",listPro:!1,lists:[],listsCreate:[],apiKeyValue:{},hasConfirmation:!1,createLoading:!1,confirmationNeeded:!1,nextLoading:null,prevLoading:null,error:null,onActive:i.default.noop,onConfirm:i.default.noop,onCreateList:i.default.noop,onPrev:i.default.noop,onNext:i.default.noop};handleConfirmation=e=>{this.props.onConfirm("true"===e)};renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}renderList(){const{active:e,lists:t,onActive:o}=this.props,i=t.map((e=>{let{name:t,id:o}=e;return r.default.createElement(l.default,{value:o,key:o},t||`List ${o}`)}));return r.default.createElement(n.default,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},r.default.createElement(a.default,{className:"brz-ed-popup-integrations-option__radio",name:"list",defaultValue:e,onChange:o},i))}renderConfirmation(){const{confirmationNeeded:e}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations__confirmation"},r.default.createElement("p",{className:"brz-p"},(0,u.t)("Email confirmation to join the list")),r.default.createElement(s.default,{defaultValue:e?"true":"false",className:"brz-control__select--white",maxItems:"6",itemHeight:"30",onChange:this.handleConfirmation},r.default.createElement(c.default,{value:"false"},(0,u.t)("Not Required")),r.default.createElement(c.default,{value:"true"},(0,u.t)("Required"))))}renderCreateList(){const{createLoading:e,onCreateList:t}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-new__option",onClick:t},r.default.createElement(d.default,{icon:e?"nc-circle-02":"nc-add",className:e?"brz-ed-animated--spin":""}),(0,u.t)("Create a new list"))}renderProList(){return r.default.createElement(a.default,{className:"brz-ed-popup-integrations-option__radio",name:"proList",defaultValue:"none"},r.default.createElement(l.default,{value:"none"},(0,u.t)("None")))}render(){const{listPro:e,lists:t,listsCreate:o,hasConfirmation:i,error:n,nextLoading:a,prevLoading:l,onPrev:s,onNext:c}=this.props,d=t.length>0,f=o&&o.length>0;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__lists"},r.default.createElement("div",{className:"brz-ed-popup-integrations-step__head"},r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},(0,u.t)("SELECT LIST")))),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__body"},n&&this.renderError(),d&&this.renderList(),e&&this.renderProList(),f&&this.renderCreateList(),i&&this.renderConfirmation(),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==l&&r.default.createElement(p.Button,{size:3,leftIcon:"nc-arrow-left",loading:l,onClick:s},(0,u.t)("Back")),null!==a&&r.default.createElement(p.Button,{size:d||e?1:3,color:d||e?"teal":"gray",rightIcon:"nc-arrow-right",loading:a,onClick:d||e?c:null},(0,u.t)("Continue")))))}}const g=y},92443:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=u(o(10301)),n=u(o(27998)),a=u(o(97023)),l=u(o(65961)),s=o(4883),c=o(80029),d=o(64985);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}class f extends r.Component{static defaultProps={id:"",title:"",shortTitle:"",description:"",img:"",fields:[],formFields:[],restrictions:{},error:null,nextLoading:null,prevLoading:null,onActive:i.default.noop,onPrev:i.default.noop,onNext:i.default.noop};renderSelect(e,t){const{formFields:o,fields:n,restrictions:s,onActive:d}=this.props,u=i.default.pluck(o,"target");let p=n.filter((e=>-1===u.indexOf(e.slug)||e.slug===t));const f=n.length+(o.length-i.default.without(u,"_auto_generate").length);(!(0,c.isMaxFields)(f,s)||t&&"_auto_generate"===t)&&p.unshift({name:"Auto Generate",required:!1,slug:"_auto_generate"});const m=p.map((e=>{let{required:t,name:o,slug:i}=e;return r.default.createElement(l.default,{key:i,value:i},r.default.createElement("span",{className:"brz-span"},o),t&&r.default.createElement("strong",{className:"brz-strong brz--required"},"*"))}));return r.default.createElement(a.default,{defaultValue:t,className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,onChange:t=>{d(e,t)}},m)}renderOptions(){const e=this.props.formFields.map((e=>{let{sourceTitle:t,target:o,sourceId:i}=e;return r.default.createElement("div",{key:i,className:"brz-ed-popup-integrations-step__fields-option"},r.default.createElement("p",{className:"brz-p"},t),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},this.renderSelect(i,o)))}));return r.default.createElement(n.default,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},e)}renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}renderErrorEmpty(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},(0,d.t)("Fields are empty. Please add fields and try again.")))}render(){const{title:e,error:t,formFields:o,prevLoading:i,nextLoading:n,onPrev:a,onNext:l}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},r.default.createElement("div",{className:"brz-ed-popup-integrations-step__head"},r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},(0,d.t)("FORM FIELDS"))),r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},e," ",(0,d.t)("FIELDS")))),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__body"},t&&this.renderError(),o.length?this.renderOptions():this.renderErrorEmpty(),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==i&&r.default.createElement(s.Button,{size:3,leftIcon:"nc-arrow-left",loading:i,onClick:a},(0,d.t)("Back")),null!==n&&r.default.createElement(s.Button,{color:"teal",rightIcon:"nc-arrow-right",loading:n,onClick:l},(0,d.t)("Continue")))))}}const m=f},2521:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Account:function(){return r.default},Connect:function(){return i.default},Disconnect:function(){return n.default},Fields:function(){return a.Fields},SelectFields:function(){return l.default},RadioFields:function(){return s.default},Done:function(){return c.default}});const r=d(o(1589)),i=d(o(9142)),n=d(o(26792)),a=o(92767),l=d(o(92443)),s=d(o(35205)),c=d(o(90291));function d(e){return e&&e.__esModule?e:{default:e}}},76290:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=d(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(10301),a=d(o(33364)),l=d(o(40687)),s=d(o(22546)),c=o(64985);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends i.Component{constructor(e){super(e);const{currentTab:t,tabs:o}=this.props;this.state={loading:!0,currentTab:t,tabs:o}}static defaultProps={value:{},opened:!1,tabs:[],currentTab:"",blockTabsWhenLoading:!0,onClose:n.noop};handleLoading=e=>{this.setState({loading:e})};handleTabChange(e){this.state.loading&&this.props.blockTabsWhenLoading||this.setState({currentTab:e})}handleTabUpdate(e,t){const{tabs:o}=this.state,r=o.map((o=>o.id===e?{...o,...t}:o));this.setState({tabs:r})}renderHeader(){const{currentTab:e,tabs:t}=this.state,{onClose:o}=this.props,n=t.map((t=>{const{id:o,icon:n,img:l,title:s}=t,c=(0,r.default)("brz-ed-popup-tab-item",{active:o===e});return i.default.createElement("div",{key:o,className:c,onClick:()=>this.handleTabChange(o)},n&&i.default.createElement("div",{className:"brz-ed-popup-tab-icon"},i.default.createElement(a.default,{icon:n})),l?i.default.createElement("div",{className:"brz-ed-popup-tab-image"},i.default.createElement("img",{className:"brz-img",src:l,alt:s})):i.default.createElement("div",{className:"brz-ed-popup-tab-name"},s))})),l=s.default.getAll(),d=l?.ui?.help?.showIcon;return i.default.createElement("div",{className:"brz-ed-popup-header"},i.default.createElement("div",{className:"brz-ed-popup-header__tabs"},n),i.default.createElement("div",{className:"brz-ed-popup-btn-close",onClick:o}),d&&i.default.createElement("div",{className:"brz-ed-popup-btn-help"},i.default.createElement("span",{title:(0,c.t)("Help")},i.default.createElement(a.default,{className:"icon_helper",icon:"nc-help"}))))}renderCurrentTab(){const{tabs:e,loading:t,currentTab:o}=this.state;return e.reduce(((e,r)=>{let{id:n,component:a}=r;return n===o?[i.default.createElement(a,{...this.props,key:n,loading:t,onLoading:this.handleLoading,onTabUpdate:e=>{this.handleTabUpdate(n,e)}})]:e}),[])}renderTabs(){const{tabs:e,loading:t,currentTab:o}=this.state;return e.map((e=>{let{id:n,component:a}=e;const l=(0,r.default)(`brz-ed-popup-integration-${n}`,{"brz-hidden":n!==o});return i.default.createElement(a,{...this.props,key:n,loading:t,className:l,onTabUpdate:e=>{this.handleTabUpdate(n,e)}})}))}render(){const{opened:e,onClose:t}=this.props;return i.default.createElement(l.default,{className:"brz-ed-popup-integrations",opened:e,onClose:t},i.default.createElement("div",{className:"brz-ed-popup-wrapper"},this.renderHeader(),i.default.createElement("div",{className:"brz-ed-popup-content"},this.state.loading?this.renderCurrentTab():this.renderTabs())))}}const f=p},92982:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getAccounts:function(){return l},addAccount:function(){return s},deleteAccount:function(){return c}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64187),a=o(80029),l=e=>{const{api:t}=r.default.get("wp"),o=r.default.get("editorVersion"),i=(0,a.makeUrl)(t.url,{action:t.getAccounts,hash:t.hash,version:o,...e||{}});return(0,n.request)(i,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then((e=>(0,a.parseJSON)(e)))},s=e=>{const{api:t}=r.default.get("wp"),o=r.default.get("editorVersion"),i=(0,a.makeUrl)(t.url,{action:t.addAccount,hash:t.hash,version:o});return(0,n.request)(i,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(e)}).then(a.parseJSON).then((e=>e))},c=e=>{const{api:t}=r.default.get("wp"),o=r.default.get("editorVersion"),i=(0,a.makeUrl)(t.url,{action:t.deleteAccount,hash:t.hash,version:o,id:e});return(0,n.request)(i,{method:"DELETE",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(a.parseJSON).then((e=>e))}},93911:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Header",{enumerable:!0,get:function(){return a}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(64716),a=e=>{let{tabs:t,onClose:o}=e;return r.default.createElement("div",{className:"brz-ed-popup-header"},t.map((e=>r.default.createElement(n.Tab,{key:e.id,...e,onClose:o}))))}},7741:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Loading",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(60042)),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{className:t}=e;return r.default.createElement("div",{className:(0,i.default)("brz-ed-popup-content--loading",t)},r.default.createElement(n.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}},8941:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromptFrame",{enumerable:!0,get:function(){return h}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(34143),n=o(11717),a=o(10301),l=o(44010),s=(c=o(33364))&&c.__esModule?c:{default:c};var c;const d=o(4895),u=o(4883),p=o(64187),f=o(64985);function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}var y,g;!function(e){e.closed="closed",e.ready="ready",e.canceling="canceling",e.saving="saving"}(y||(y={})),function(e){e.close="close",e.open="open",e.cancel="cancel",e.save="save",e.saveSuccess="saveSuccess",e.saveErr="saveErr",e.cancelSuccess="cancelSuccess",e.cancelErr="cancelErr"}(g||(g={}));const b=[{id:"",icon:"nc-extensions-2",title:(0,f.t)("Connect")}],h=e=>{let{img:t,label:o,children:c,onSave:m,onCancel:h,description:v}=e;const[S,w]=(0,r.useReducer)(((e,t)=>{switch(t){case g.close:return e!==y.closed?y.closed:e;case g.open:return e===y.closed?y.ready:e;case g.cancel:return e===y.ready?y.canceling:e;case g.cancelSuccess:case g.cancelErr:return e===y.canceling?y.closed:e;case g.save:return e===y.ready?y.saving:e;case g.saveSuccess:return e===y.saving?y.closed:e;case g.saveErr:return e===y.saving?y.ready:e}}),y.closed);return(0,r.useEffect)((()=>{if(S===y.saving){const e=(0,i.of)(1).pipe((0,n.switchMap)((()=>(0,i.forkJoin)([m(),(0,p.pendingRequest)()]))),(0,n.mapTo)(g.saveSuccess),(0,n.catchError)((()=>(0,i.of)(g.saveErr)))).subscribe(w);return()=>e.unsubscribe()}}),[S===y.saving]),(0,r.useEffect)((()=>{if(S===y.canceling){const e=(0,i.of)(1).pipe((0,n.switchMap)((()=>(0,i.forkJoin)([h(),(0,p.pendingRequest)()]))),(0,n.mapTo)(g.cancelSuccess),(0,n.catchError)((()=>(0,i.of)(g.cancelErr)))).subscribe(w);return()=>e.unsubscribe()}}),[S===y.canceling]),r.default.createElement(r.default.Fragment,null,o,r.default.createElement(l.Button,{onClick:()=>w(g.open),align:"right",className:"brz-ed-control__prompt-form__button"},r.default.createElement(s.default,{icon:"nc-extensions-2"})),S===y.closed?null:r.default.createElement(d.Tabs,{tabs:b,onChange:a.noop,value:"",onClose:()=>w(g.close)},r.default.createElement("div",{className:"brz-ed-popup-integrations__connect"},r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},r.default.createElement("img",{className:"brz-img",src:t,alt:t}),r.default.createElement("p",{className:"brz-p brz-ed-popup-integrations__connect-info"},v)),r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},c,r.default.createElement(u.Button,{color:"teal",loading:S===y.saving,onClick:()=>w(g.save)},(0,f.t)("Connect")),r.default.createElement(u.Button,{color:"default",loading:S===y.canceling,onClick:()=>w(g.cancel)},(0,f.t)("Cancel"))))))}},90429:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Field",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{children:t,label:o,required:i}=e;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-option brz-d-xs-flex brz-align-items-xs-center brz-justify-content-xs-between"},r.default.createElement("p",{className:"brz-p"},o,i?r.default.createElement("strong",{className:"brz-strong brz--required"},"*"):null),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__field"},t))}},74766:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Input",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(64985),n=o(90429);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{let{value:t,onChange:o,placeholder:a}=e;const l=(0,r.useCallback)((e=>o(e.target.value)),[o]);return r.default.createElement(n.Field,{label:(0,i.t)("Page Title"),required:!0},r.default.createElement("input",{className:"brz-input",required:!0,type:"text",value:t,onChange:l,placeholder:a}))}},69583:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SettingsTab",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(89660),n=o(64985),a=c(o(97023)),l=c(o(65961)),s=o(90429);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=e=>{let{headTitle:t,inlineFooter:o,footer:c,value:d,error:u,onChange:p,layouts:f}=e;const m=(0,r.useMemo)((()=>f.map((e=>{let{id:t,title:o}=e;return r.default.createElement(l.default,{key:t,value:t},o)}))),[f]);return r.default.createElement(i.Content,{head:t,inlineFooter:o,footer:c,error:u},r.default.createElement(s.Field,{label:(0,n.t)("Page Layout"),required:!0},r.default.createElement(a.default,{className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,defaultValue:d,onChange:p},m)))}},64716:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tab",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=a(o(60042)),n=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{let{id:t,active:o,icon:a,title:l,onClick:s,onClose:c}=e;const d=(0,r.useCallback)((()=>s?.(t)),[s,t]);return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{onClick:d,className:(0,i.default)("brz-ed-popup-tab-item",{active:o})},r.default.createElement("div",{className:"brz-ed-popup-tab-icon"},r.default.createElement(n.default,{icon:a})),r.default.createElement("div",{className:"brz-ed-popup-tab-name"},l)),r.default.createElement("div",{className:"brz-ed-popup-btn-close",onClick:c}))}},95605:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Tabs:function(){return i},tabs:function(){return n}});const r=o(64985);var i;!function(e){e.page="page-tab",e.settings="settings-tab"}(i||(i={}));const n=[{id:i.page,icon:"nc-eye-17",title:(0,r.t)("Page")},{id:i.settings,icon:"nc-settings",title:(0,r.t)("Settings")}]},16719:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(7597),n=(a=o(27998))&&a.__esModule?a:{default:a};var a;function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{let{onScroll:t,forwardedRef:o,style:i,children:a}=e;const l=(0,r.useCallback)((e=>{o(e?e.view:null)}),[]);return r.default.createElement(n.default,{ref:l,style:{...i,overflow:"hidden"},onScroll:t},a)},c=(0,r.forwardRef)(((e,t)=>r.default.createElement(s,{...e,forwardedRef:t})));c.displayName="CustomScrollbarsVirtualList";const d=e=>{const t=(0,r.forwardRef)(((t,o)=>{let{style:i,...n}=t;return r.default.createElement("div",{ref:o,style:{...i,paddingLeft:e,paddingTop:e,marginBottom:e},...n})}));return t.displayName="InnerElement",t},u=e=>{const{height:t,width:o,columnCount:n,columnWidth:a,rowCount:l,rowHeight:s,initialScrollTop:u,renderItem:p,style:f={},gutter:m=0}=e;return r.default.createElement(i.FixedSizeGrid,{height:t,width:o,columnCount:n,columnWidth:a+m,rowCount:l,rowHeight:s+m,style:f,initialScrollTop:u,outerElementType:c,innerElementType:d(m)},p)}},13750:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return a},Stage:function(){return l}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{stage:t,children:o}=e;return r.default.createElement("div",{className:"brz-ed-popup-integrations__progress"},r.default.Children.map(o,(e=>e&&r.default.cloneElement(e,{stage:t}))))},l=e=>{let{stage:t,num:o,text:n,img:a}=e;const l=(0,i.default)("brz-ed-popup-integrations__progress-stage",{"brz-ed-popup-integrations__progress-stage--active":o===t});return r.default.createElement("div",{className:l},r.default.createElement("span",{className:"brz-span"},a&&r.default.createElement("img",{className:"brz-img",src:a,alt:"Logo"}),n))}},43936:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return n},Step:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}class n extends r.Component{static defaultProps={stage:"",apps:[]};render(){const{stage:e,apps:t,children:o,onClose:i}=this.props;return r.default.Children.map(o,(o=>e===o.props.num&&r.default.cloneElement(o,{apps:t,onClose:i})))}}const a=e=>{let{render:t,...o}=e;return t(o)}},19119:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),i=l(o(43936)),n=l(o(13750));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class s extends r.Component{static defaultProps={stage:"",apps:[]};static Steps=i.default;static Step=i.Step;static Progress=n.default;static Stage=n.Stage;render(){const{stage:e,apps:t,children:o}=this.props;return r.default.Children.map(o,(o=>o&&r.default.cloneElement(o,{stage:e,apps:t})))}}const c=s},77936:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createReducer",{enumerable:!0,get:function(){return d}});const r=o(64985),i=o(93702),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(8965)),a=o(47885);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>Object.values(i.ActionTypes).includes(e.type),c=e=>!s(e),d=(e,t)=>(o,l)=>(0,a.match)([s,e=>{switch(e.type){case i.ActionTypes.FetchError:return"Loading"===o.type?n.err({...o.payload,message:(0,r.t)("Something went wrong")}):o;case i.ActionTypes.FetchSuccess:return"Loading"===o.type?n.ready({...e.payload,activeTab:o.payload.activeTab}):o;case i.ActionTypes.Save:if("Ready"!==o.type)return o;{const e=t(o.payload);switch(e.type){case"left":return n.ready(e.value);case"right":return n.saving(e.value)}}case i.ActionTypes.SaveError:return"Saving"===o.type?n.ready({...o.payload,error:(0,r.t)("Something went wrong")}):o;case i.ActionTypes.SaveSuccess:return"Saving"===o.type?n.ready(o.payload):o;case i.ActionTypes.SwitchTab:return"Ready"===o.type?n.ready({...o.payload,activeTab:e.payload}):"Saving"===o.type?n.saving({...o.payload,activeTab:e.payload}):o;case i.ActionTypes.Cancel:switch(o.type){case"Loading":case"Err":case"Canceling":return o;case"Ready":case"Saving":return n.canceling(o.payload)}case i.ActionTypes.Canceled:return"Canceling"===o.type?n.canceled(o.payload):o}}],[c,t=>{switch(o.type){case"Loading":case"Err":case"Saving":case"Canceling":case"Canceled":return o;case"Ready":return n.ready(e(o.payload,t))}}])(l)},93702:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{ActionTypes:function(){return o},fetchError:function(){return r},fetchSuccess:function(){return i},save:function(){return n},saveError:function(){return a},saveSuccess:function(){return l},switchTab:function(){return s},cancel:function(){return c},canceled:function(){return d}}),function(e){e.FetchError="FetchError",e.FetchSuccess="FetchSuccess",e.Save="Save",e.SaveError="SaveError",e.SaveSuccess="SaveSuccess",e.Cancel="Cancel",e.Canceled="Canceled",e.SwitchTab="SwitchTab"}(o||(o={}));const r=()=>({type:o.FetchError}),i=e=>({type:o.FetchSuccess,payload:e}),n=()=>({type:o.Save}),a=()=>({type:o.SaveError}),l=()=>({type:o.SaveSuccess}),s=e=>({payload:e,type:o.SwitchTab}),c=()=>({type:o.Cancel}),d=()=>({type:o.Canceled})},83612:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{left:function(){return o},right:function(){return r}});const o=e=>({type:"left",value:e}),r=e=>({type:"right",value:e})},8965:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{loading:function(){return o},err:function(){return r},ready:function(){return i},saving:function(){return n},canceling:function(){return a},canceled:function(){return l}});const o=e=>({payload:e,type:"Loading"}),r=e=>({type:"Err",payload:e}),i=e=>({payload:e,type:"Ready"}),n=e=>({payload:e,type:"Saving"}),a=e=>({payload:e,type:"Canceling"}),l=e=>({payload:e,type:"Canceled"})},74900:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useStateReducer",{enumerable:!0,get:function(){return d}});const r=o(27378),i=o(8965),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(93702)),a=o(34143),l=o(11717),s=o(95605);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=(e,t,o,c)=>{const[d,u]=(0,r.useReducer)(e,(0,i.loading)({activeTab:s.Tabs.page}));return(0,r.useEffect)((()=>{const e=(0,a.from)(t()).pipe((0,l.map)((e=>n.fetchSuccess({...e,activeTab:s.Tabs.page}))),(0,l.catchError)((()=>(0,a.of)(n.fetchError())))).subscribe(u);return()=>e?.unsubscribe()}),["Loading"===d.type]),(0,r.useEffect)((()=>{let e;return"Saving"===d.type&&(e=(0,a.from)(o(d.payload)).pipe((0,l.mapTo)(n.saveSuccess()),(0,l.catchError)((()=>(0,a.of)(n.saveError())))).subscribe(u)),()=>e?.unsubscribe()}),["Saving"===d.type]),(0,r.useEffect)((()=>{let e;return"Canceling"===d.type&&(e=(0,a.of)(1).pipe((0,l.delay)(650),(0,l.mapTo)(n.canceled())).subscribe(u)),()=>e?.unsubscribe()}),["Canceling"===d.type]),(0,r.useEffect)((()=>{"Canceled"===d.type&&c()}),["Canceled"===d.type]),[d,u]}},97634:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"copyTextToClipboard",{enumerable:!0,get:function(){return o}});const o=e=>{const t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.focus(),t.select();try{document.execCommand("copy")}catch(e){console.error("Fallback: Oops, unable to copy",e)}document.body.removeChild(t)}},81206:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getFields:function(){return n},isMaxFields:function(){return a},getEmptyField:function(){return l},substrString:function(){return s}});const r=(i=o(10301))&&i.__esModule?i:{default:i};var i;const n=(e,t,o,r)=>{let i=e&&JSON.parse(e)||[];const n=t&&t.length||0;let s=t.filter((e=>e.required)).length;!i.some((e=>{let{target:t}=e;return"email"===t}))&&o.some((e=>{let{type:t}=e;return t&&"email"===t.toLowerCase()}))&&(i=((e,t)=>{const o=t.find((e=>{let{type:t}=e;return t&&"email"===t.toLowerCase()}));return e.push({sourceId:o._id,sourceTitle:o.label,target:"email"}),e})(i,o),s--);let c=0,d=0;return o.map((e=>{let{_id:o,label:u}=e;const p=i.find((e=>{let{sourceId:t}=e;return t===o}));let f=null;return p&&p.target&&"_auto_generate"!==p.target?f=p.target:(a(n+d,r)||dt&&e>=t.maxFields,l=(e,t,o)=>{const i=r.default.pluck(e,"slug"),n=r.default.pluck(t,"target");return r.default.difference(i,n)[o]},s=e=>e.length>22?/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/.test(e)?`...${e.substr(-19,19)}`:`${e.substr(0,19)}...`:e},82916:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{makeUrl:function(){return o},parseJSON:function(){return r},fakeRequest:function(){return n}});const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=new URL(e);return Object.entries(t).forEach((e=>{let[t,r]=e;o.searchParams.append(t,r)})),o},r=e=>e.json().then((t=>({...t,status:e.status,ok:e.ok,data:t.data||null}))).then(i).catch((()=>{throw{status:500,data:"Server Error"}})),i=e=>{if(e.success)return e;{const{data:t}=e;return{...e,status:t.code||e.status}}},n=()=>new Promise((e=>{setTimeout((()=>{e(!0)}),650)}))},95464:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{checkRequiredFields:function(){return n},validateEmail:function(){return a}});const r=(i=o(10301))&&i.__esModule?i:{default:i};var i;const n=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"select";if("select"===o){const o=r.default.pluck(e.filter((e=>e.required)),"slug"),i=r.default.pluck(t,"target");return!r.default.difference(o,i).length}if("input"===o)return 0===t.filter((e=>""===e.target)).length},a=e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())},80029:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{makeUrl:function(){return r.makeUrl},parseJSON:function(){return r.parseJSON},getEmptyField:function(){return i.getEmptyField},getFields:function(){return i.getFields},isMaxFields:function(){return i.isMaxFields},substrString:function(){return i.substrString},checkRequiredFields:function(){return n.checkRequiredFields},validateEmail:function(){return n.validateEmail},copyTextToClipboard:function(){return a.copyTextToClipboard}});const r=o(82916),i=o(81206),n=o(95464),a=o(97634)},92823:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=h(o(13556)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=h(o(58135)),a=h(o(84320)),l=h(o(81941)),s=h(o(32230)),c=h(o(35617)),d=h(o(75063)),u=h(o(38380)),p=h(o(76025)),f=h(o(22151)),m=o(12736),y=o(60624),g=o(74330),b=o(78436);function h(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}const S={icon:p.default,apps:a.default,blocks:s.default,form:u.default,keyHelper:f.default,fonts:d.default,conditions:c.default,authorization:l.default,pageRules:y.PromptPageRules,pageTemplate:g.PromptPageTemplate,pageArticle:m.PromptPageArticle};class w extends i.Component{state={prompts:[]};static open(e){b.Prompt.open(e)}componentDidMount(){n.default.addChangeListener("prompt",this.onUIStateChange)}componentWillUnmount(){n.default.removeChangeListener("prompt",this.onUIStateChange)}onUIStateChange=e=>{this.open(e)};close(e){this.setState((0,r.default)((t=>{t.prompts[e].opened=!1})),(()=>{this.setState((0,r.default)((t=>{t.prompts.splice(e,1)})))}))}open(e){const{mode:t="single"}=e,{prompts:o}=this.state,i=o.findIndex((t=>{let{prompt:o}=t;return o==e.prompt}));-1===i?this.setState((0,r.default)((t=>{t.prompts.push(e)})),(()=>{this.setState((0,r.default)((e=>{const t=e.prompts.length;e.prompts[t-1].opened=!0})))})):"stack"===t?this.setState((0,r.default)((t=>{t.prompts[i]={...e,opened:!0}}))):this.setState((0,r.default)((t=>{t.prompts.forEach(((e,o)=>{t.prompts[o].opened=!1})),t.prompts[i]={...e,opened:!0}})))}getComponent(e,t){const o=S[e];return i.default.createElement(o,t)}render(){const{prompts:e}=this.state;return e.length?e.map(((e,t)=>{let{opened:o,prompt:r,props:i={}}=e;return this.getComponent(r,{...i,opened:o,key:t,onClose:()=>{this.close(t),i.onClose&&i.onClose()}})})):null}}const x=w},84786:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getChoices",{enumerable:!0,get:function(){return o}});const o=e=>e.templates.map((e=>{let{id:t}=e;return{title:t,id:t}}))},24490:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Animation",{enumerable:!0,get:function(){return s}});const r=a(o(27378)),i=o(65631),n=a(o(60042));function a(e){return e&&e.__esModule?e:{default:e}}const l={left:{exited:{transform:"translate3d(-100%, 0, 0)"},entering:{transform:"translate3d(-100%, 0, 0)"},entered:{transform:"translate3d(0, 0, 0)"}},right:{exited:{transform:"translate3d(100%, 0, 0)"},entering:{transform:"translate3d(100%, 0, 0)"},entered:{transform:"translate3d(0, 0, 0)"}}},s=e=>{let{className:t,alignment:o,play:a,children:s}=e;return r.default.createElement(i.Transition,{in:a,timeout:150},(e=>r.default.createElement("div",{className:(0,n.default)(t,{active:a}),style:{transition:"transform 150ms linear",...l[o][e]}},s)))}},52119:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RightSidebarItems",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(91759);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const a=e=>{let{getItems:t,getTitle:o}=e;return t?((0,r.useEffect)((()=>{i.instance&&i.instance.setItems(t,o)})),(0,r.useEffect)((()=>()=>{i.instance&&i.instance.clearItems()}),[]),null):null}},91759:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{instance:function(){return m},RightSidebarInner:function(){return g},RightSidebar:function(){return b}});const r=f(o(60042)),i=f(o(27378)),n=o(23884),a=f(o(33364)),l=f(o(62893)),s=o(74215),c=o(97045),d=o(64985),u=o(81300),p=o(24490);function f(e){return e&&e.__esModule?e:{default:e}}let m;const y=(0,n.connect)((e=>{const{isOpen:t,lock:o,alignment:r,activeTab:i}=(0,c.uiSelector)(e).rightSidebar;return{isOpen:t,lock:o,alignment:r,activeTab:i,deviceMode:(0,c.deviceModeSelector)(e)}}));class g extends i.default.Component{static defaultProps={isOpen:!1,lock:void 0,alignment:"right",deviceMode:"desktop",dispatch:e=>e,activeTab:void 0};getItems;getTitle;clearItemsTimeoutId=0;unmounted=!1;componentDidMount(){m=this}componentDidUpdate(e){e.deviceMode!==this.props.deviceMode&&(this.getItems=void 0,this.getTitle=void 0)}componentWillUnmount(){this.unmounted=!0,m=void 0}onLockClick=()=>{const{isOpen:e,lock:t,alignment:o,activeTab:r}=this.props,i=void 0!==this.getItems?this.getItems():void 0,n={activeTab:r,alignment:o,lock:"manual"===t?void 0:"manual",isOpen:(void 0===t||void 0!==i&&0!==i.length)&&e};this.props.dispatch((0,s.updateUI)("rightSidebar",n))};setItems(e,t){window.clearTimeout(this.clearItemsTimeoutId),this.getItems=e,this.getTitle=t,this.props.isOpen&&this.forceUpdate()}clearItems(){const{lock:e,alignment:t,dispatch:o,activeTab:r}=this.props;if(e)this.clearItemsTimeoutId=window.setTimeout((()=>{this.getItems=void 0,this.getTitle=void 0,this.forceUpdate()}),150);else{this.getItems=void 0,this.getTitle=void 0;const i={isOpen:!1,lock:e,alignment:t,activeTab:r};o((0,s.updateUI)("rightSidebar",i))}}renderEmpty(e){return i.default.createElement("div",{className:"brz-ed-sidebar__right__empty"},i.default.createElement(a.default,{icon:"nc-settings",className:"brz-ed-sidebar__right__empty-icon"}),i.default.createElement("div",{className:"brz-ed-sidebar__right__empty-text"},e))}renderItems(e){return i.default.createElement("div",{className:"brz-ed-sidebar__main brz-ed-sidebar__right__options"},i.default.createElement(u.Scrollbar,{theme:"dark"},i.default.createElement(l.default,{className:"brz-ed-sidebar__right__tabs",optionClassName:"brz-ed-sidebar__right__option",data:e,location:"rightSidebar"})))}render(){const{isOpen:e,alignment:t}=this.props,o=(0,r.default)("brz-ed-sidebar","brz-ed-sidebar__right",{"brz-ed-sidebar__right--align-right":"right"===t,"brz-ed-sidebar__right--align-left":"left"===t}),n=void 0!==this.getItems?this.getItems():void 0,a=n&&n.length>0?this.renderItems(n):this.renderEmpty(0===n?.length?(0,d.t)("The element you have selected doesn't have more settings"):(0,d.t)("Select an element on the page to display more settings"));return i.default.createElement("div",{className:o},i.default.createElement(p.Animation,{className:"brz-ed-sidebar__content",alignment:t,play:e},a))}}const b=y(g)},89719:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Roles",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(96156);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}class a extends r.Component{static defaultProps={allow:[]};render(){const{allow:e,children:t,component:o,render:n,fallbackComponent:a,fallbackRender:l}=this.props;if(e.includes((0,i.currentUserRole)())){if(t)return t;if(o)return r.default.createElement(o,null);if(n)return n()}else{if(a)return r.default.createElement(a,null);if(l)return l()}return null}}},46338:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Roles:function(){return r.Roles},rolesHOC:function(){return i.rolesHOC},currentUserRole:function(){return n.currentUserRole}});const r=o(89719),i=o(57934),n=o(96156)},57934:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"rolesHOC",{enumerable:!0,get:function(){return a}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(96156),a=e=>{let{component:t,fallbackComponent:o,allow:i=[],render:a,fallbackRender:l}=e;function s(e,s){if(i.includes((0,n.currentUserRole)())){if(t)return r.default.createElement(t,{...e,ref:s});if(a)return a(e)}else{if(o)return r.default.createElement(o,{...e,ref:s});if(l)return l(e)}return null}return s.displayName=`RolesHOC(${t.displayName||t.name})`,r.default.forwardRef(s)}},96156:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"currentUserRole",{enumerable:!0,get:function(){return n}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=()=>r.default.getAll().user.role},86710:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),i=l(o(10301)),n=l(o(60042)),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",icon:null,onClick:i.default.noop};render(){const{className:e,icon:t}=this.props,o=(0,n.default)(e,"floating-action-button");return r.default.createElement("div",{className:o,onClick:this.props.onClick},t?r.default.createElement(a.default,{icon:t}):null)}}const c=s},91435:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ScrollMotion",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(60042))&&n.__esModule?n:{default:n};var n;const a=o(3154);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}o(16874);const s=e=>{const{className:t,options:o,children:n}=e,l=(0,r.useRef)(null),s=(0,r.useRef)();return(0,r.useEffect)((()=>{const e=l.current,t=s.current;return!t&&e&&o&&(s.current=new a.Motions(e,o)),t&&o&&t.update(o),t&&!o&&(t.destroy(),s.current=void 0),()=>{s.current&&!o&&(s.current.destroy(),s.current=void 0)}}),[o]),"function"==typeof n?n(l,undefined):void 0===o?n:r.default.createElement("div",{ref:l,className:(0,i.default)(t,void 0)},n)}},16874:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{makeOptionToAttr:function(){return y},makeOptionValueToMotion:function(){return g}});const r=o(70634),i=o(54701),n=o(76753),a=o(46479),l=o(98610),s=o(66559),c=o(24119),d=o(6085),u=e=>{switch(e.type){case"blur":return{"data-motion-scroll-blur":(0,d.encodeToString)({scrollStep:e.scrollStep,direction:e.direction,viewport:e.viewport})};case"horizontal":return{"data-motion-scroll-horizontal":(0,d.encodeToString)({scrollStep:e.scrollStep,direction:e.direction,viewport:e.viewport})};case"rotate":return{"data-motion-scroll-rotate":(0,d.encodeToString)({scrollStep:e.scrollStep,direction:e.direction,xPosition:e.xPosition,yPosition:e.yPosition,viewport:e.viewport})};case"scale":return{"data-motion-scroll-scale":(0,d.encodeToString)({scrollStep:e.scrollStep,direction:e.direction,xPosition:e.xPosition,yPosition:e.yPosition,viewport:e.viewport})};case"transparency":return{"data-motion-scroll-transparency":(0,d.encodeToString)({scrollStep:e.scrollStep,direction:e.direction,viewport:e.viewport})};case"vertical":return{"data-motion-scroll-vertical":(0,d.encodeToString)({scrollStep:e.scrollStep,direction:e.direction,viewport:e.viewport})}}},p=e=>{switch(e.type){case"track":return{"data-motion-mouse-track":(0,d.encodeToString)({type:e.type,direction:e.direction,distance:e.distance})};case"3dfit":return{"data-motion-mouse-fit":(0,d.encodeToString)({type:e.type,direction:e.direction,distance:e.distance})}}},f=e=>({top:100*e.top,bottom:100*e.bottom}),m=e=>{const{vertical:t,horizontal:o,transparency:r,blur:i,rotate:n,scale:a,mouseTrack:l,mouseTilt:s}=e,c=[],d=[];let u;return t&&c.push({type:"vertical",direction:t.direction,scrollStep:10*t.speed,viewport:f(t.viewport)}),o&&c.push({type:"horizontal",direction:o.direction,scrollStep:10*o.speed,viewport:f(o.viewport)}),r&&c.push({type:"transparency",direction:r.direction,scrollStep:10*r.level,viewport:f(r.viewport)}),n&&c.push({type:"rotate",direction:n.direction,xPosition:n.x,yPosition:n.y,scrollStep:10*n.speed,viewport:f(n.viewport)}),a&&c.push({type:"scale",direction:a.direction,xPosition:a.x,yPosition:a.y,scrollStep:a.speed,viewport:f(a.viewport)}),i&&c.push({type:"blur",direction:i.direction,scrollStep:10*i.level,viewport:f(i.viewport)}),l&&d.push({type:"track",direction:l.direction,distance:10*l.speed}),s&&d.push({type:"3dfit",direction:s.direction,distance:10*s.speed}),c.length&&(u={scroll:c}),d.length&&(u={...u,mouse:d}),u},y=e=>{const{scroll:t,mouse:o,responsive:r}=e;let i={};if(Array.isArray(t)?t.forEach((e=>{const t=u(e);i={...i,...t}})):t&&(i=u(t)),Array.isArray(o))o.forEach((e=>{const t=p(e);i={...i,...t}}));else if(o){const e=p(o);i={...i,...e}}return r?.length&&(i["data-motion-responsive"]=(0,d.encodeToString)(r)),i},g=function(e){let t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"motion";if(a.IS_PRO){const a=t=>(0,l.defaultValueValue)({v:e,key:(0,n.createOptionId)(o,t),device:s.DESKTOP,state:c.NORMAL}),d=t=>(0,l.defaultValueValue)({v:e,key:(0,n.createOptionId)(o,t),device:s.TABLET,state:c.NORMAL}),u=t=>(0,l.defaultValueValue)({v:e,key:(0,n.createOptionId)(o,t),device:s.MOBILE,state:c.NORMAL}),p=(0,i.fromElementModel)(a),f=(0,i.fromElementModel)(d),y=(0,i.fromElementModel)(u);t=m(p);const g=m(f),b=m(y);if(t||g||b){const e=[],o={scroll:void 0,mouse:void 0};g?e.push({breakpoint:991,settings:g}):e.push({breakpoint:991,settings:o}),b?e.push({breakpoint:767,settings:b}):e.push({breakpoint:767,settings:o}),t=(0,r.setIn)(t,["responsive"],e)}}return t}},81300:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Scrollbar",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(27998),n=o(16468);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{let{children:t,theme:o,autoHeightMax:a}=e;const l=(0,r.useCallback)((e=>r.default.createElement("div",{className:`brz-scrollColor__${o}`,...e,style:{...e.style,...n.getThumbStyles}})),[o]),s=(0,r.useCallback)((e=>r.default.createElement("div",{...e,style:{...e.style,...n.getViewStyles,...void 0!==a&&{maxHeight:a}},className:"brz-scrollbar__view"})),[a]);return r.default.createElement(i.Scrollbars,{className:"brz-scrollbar__wrapper",style:n.wrapperStyles,renderThumbHorizontal:l,renderThumbVertical:l,renderView:s,autoHeight:!!a,autoHeightMax:a},t)}},16468:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getViewStyles:function(){return o},getThumbStyles:function(){return r},wrapperStyles:function(){return i}});const o={marginRight:0,marginBottom:0},r={borderRadius:"inherit"},i={overflow:"visible"}},76742:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SortableElement",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{children:t,type:o,subtype:i,useHandle:n}=e;const a={"data-sortable-element":"true","data-sortable-type":o,"data-sortable-subtype":i,"data-sortable-use-handle":n?"true":void 0};return"function"==typeof t?t(a):r.default.cloneElement(t,a)}},20013:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(31542),n=f(o(10301)),a=o(46338),l=o(67439),s=o(97724),c=f(o(47075)),d=o(74215),u=o(92213),p=f(o(47294));function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}const y=e=>{const{from:t,to:o}=e,r=t.sortableNode.getAttribute("data-sortable-path")?.split("-")||[],i=t.sortableNode.getAttribute("data-sortable-type"),a=[...r,String(t.elementIndex)],l=o.sortableNode?.getAttribute("data-sortable-path")?.split("-")||[],s=o.sortableNode.getAttribute("data-sortable-type"),d=[...l,String(o.elementIndex)];n.default.isEqual(a,d)||c.default.emit("dnd.sort",{from:{containerPath:r,containerType:i,itemIndex:t.elementIndex,itemPath:a,itemType:t.elementType},to:{containerPath:l,containerType:s,itemIndex:o.elementIndex,itemPath:d}})},g=e=>{const{ui:{deviceMode:t}}=(0,u.getStore)().getState();"mobile"!==t&&"tablet"!==t||e.preventDefault()},b=()=>{document.body.classList.add("brz-ed-sorting"),requestAnimationFrame((()=>{(0,l.hideToolbar)()}))},h=()=>{document.body.classList.remove("brz-ed-sorting")};class v extends r.Component{static defaultProps={path:[],acceptElements:[],disabled:!1};plugin=void 0;componentDidMount(){const{acceptElements:e}=this.props,t=(0,i.findDOMNode)(this);t instanceof HTMLElement&&(this.plugin=new p.default(t,{acceptElements:e,cancelClass:"brz-ed-dd-cancel",onBeforeStart:g,onStart:b,onEnd:h,onSort:y}))}componentWillUnmount(){this.plugin?.destroy()}handleEmptyClick=()=>{(0,u.getStore)().dispatch((0,d.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:s.LeftSidebarOptionsIds.addElements}))};render(){const{type:e,path:t,disabled:o}=this.props;return r.default.createElement("div",{className:"brz-ed-sortable--empty","data-sortable-type":e,"data-sortable-path":t,"data-sortable-disabled":o},r.default.createElement("div",{className:"brz-ed-border__sortable brz-ed-border__inner brz-ed-border--no-space","data-border--grey":"true","data-border--dotted":"true"}),r.default.createElement("div",{className:"brz-ed-container-trigger brz-ed-container-trigger--small",onClick:this.handleEmptyClick}))}}const S=(0,a.rolesHOC)({allow:["admin"],component:v,fallbackRender:e=>{let{children:t}=e;return t??r.default.createElement("div",{className:"brz-ed-sortable--empty brz-blocked"},r.default.createElement("div",{className:"brz-ed-border__sortable brz-ed-border__inner brz-ed-border--no-space","data-border--grey":"true","data-border--dotted":"true"}),r.default.createElement("div",{className:"brz-ed-container-trigger brz-ed-container-trigger--small"}))}})},58566:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;class n extends r.default.Component{render(){const{children:e}=this.props;return r.default.cloneElement(r.default.Children.only(e),{"data-sortable-handle":!0})}}const a=n},26667:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SortableZIndex",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{const{zIndex:t=0,children:o}=e,i={"data-sortable-zindex":t};return"function"==typeof o?o(i):r.default.cloneElement(o,i)}},49127:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),n=f(o(10301)),a=o(46338),l=o(67439),s=o(97724),c=f(o(47075)),d=o(74215),u=o(37203),p=f(o(47294));function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}const y=e=>{const{from:t,to:o}=e,r=t.sortableNode.getAttribute("data-sortable-path"),i=t.sortableNode.getAttribute("data-sortable-type"),a=o.sortableNode.getAttribute("data-sortable-path"),l=o.sortableNode.getAttribute("data-sortable-type"),s=r?.split("-")??[],d=i,u=[...s,String(t.elementIndex)],p=a?.split("-")??[],f=l,m=[...p,String(o.elementIndex)];n.default.isEqual(u,m)||c.default.emit("dnd.sort",{from:{containerPath:s,containerType:d,itemIndex:t.elementIndex,itemPath:u,itemType:t.elementType},to:{containerPath:p,containerType:f,itemIndex:o.elementIndex,itemPath:m}})},g=(0,a.rolesHOC)({allow:["admin"],component:e=>{const{acceptElements:t,isGrid:o,blindZone:n,dragOffset:a,showLines:c,children:f,type:m,path:g,disabled:b,onSort:h,onEnd:v,onStart:S}=e,{deviceMode:w}=(0,i.useSelector)(u.uiSelector),x=(0,i.useDispatch)(),M=(0,r.useRef)(null),T={"data-sortable-type":m,"data-sortable-path":g??"","data-sortable-disabled":b},P="function"==typeof h?h:y,C=(0,r.useCallback)((()=>{x((0,d.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:s.LeftSidebarOptionsIds.addElements}))}),[]);return(0,r.useEffect)((()=>{const e=M.current;let r;return e&&(r=new p.default(e,{acceptElements:t,isGrid:o,blindZone:n,dragOffset:a,showLines:c,cancelClass:"brz-ed-dd-cancel",onBeforeStart(e){"mobile"!==w&&"tablet"!==w||e.preventDefault()},onStart(){document.body.classList.add("brz-ed-sorting"),requestAnimationFrame((()=>{(0,l.hideToolbar)()})),S?.()},onEnd(){document.body.classList.remove("brz-ed-sorting"),v?.()},onSort:P})),()=>{r?.destroy()}}),[w]),f?"function"==typeof f?f(M,T):r.default.cloneElement(r.default.Children.only(f),{...T,ref:M}):r.default.createElement("div",{ref:M,...T,className:"brz-ed-sortable--empty"},r.default.createElement("div",{className:"brz-ed-border__sortable brz-ed-border__inner brz-ed-border--no-space","data-border--grey":"true","data-border--dotted":"true"}),r.default.createElement("div",{className:"brz-ed-container-trigger brz-ed-container-trigger--small",onClick:C}))},fallbackRender:e=>{let{children:t}=e;return"function"==typeof t?t():t}})},48581:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{connect:function(){return s},disconnect:function(){return c}});const r=o(22741);let i;const n=new Map,a=(e,t)=>{e.map((e=>(0,r.mApply)((o=>o(e,t)),n.get(e.target))))},l=()=>i??(i=new IntersectionObserver(a)),s=(e,t)=>{if(!n.has(e)){const o=l();n.set(e,t),o.observe(e)}return l()},c=e=>{n.delete(e),i&&(i.unobserve(e),0===n.size&&(i.disconnect(),i=void 0))}},37215:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findClosestSortable",{enumerable:!0,get:function(){return i}});const r=o(33935),i=e=>(t,o)=>{const{x:i,y:n}=o,a=e.nearEdgeTest,l=t.reduce(((e,t)=>{if((0,r.isInsideRect)(i,n,t.rect)){if(0===e.length||t.zIndex>e[0].zIndex)return[t];if(t.zIndex===e[0].zIndex&&(e.lengthe[e.length-1].depth))return e.push(t),e.sort(((e,t)=>t.depth-e.depth)),e.length>a&&(e.length=a),e}return e}),[]);switch(l.length){case 0:return;case 1:return l[0];default:{const t=l[0],o=e.nearEdgeThreshold;for(let e=1;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=o(37215),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(48581)),n=o(33935);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=(0,r.findClosestSortable)({nearEdgeTest:3,nearEdgeThreshold:10}),s={acceptElements:[],isGrid:!1,showLines:!0,distance:5,blindZone:{left:-1/0,right:-1/0,top:-1/0,bottom:-1/0},dragOffset:{top:0,left:0},chosenClass:"sortable-chosen",receiverClass:"sortable-receiver",hoveredClass:"sortable-hovered",hoveredClassTop:"sortable-hovered-top",hoveredClassBottom:"sortable-hovered-bottom",hoveredClassLeft:"sortable-hovered-left",hoveredClassRight:"sortable-hovered-right",helperClass:"sortable-helper",placeholderClass:"sortable-placeholder",cancelClass:"sortable-cancel",onBeforeStart:void 0,onStart:void 0,onSort:void 0,onEnd:void 0},c={allSortables:[],sortableInViewPort:new WeakSet,sortableInfo:new WeakMap,dragInfo:{dragInProgress:!1}};class d{options;el;document;helper;helperRect;constructor(e,t){{const e={};for(const[o,r]of Object.entries(t))null!=r&&(e[o]=r);this.options={...s,...e}}this.el=e,this.document=this.el.ownerDocument||document;let o=0;(0,n.closest)(this.el,(e=>(e.hasAttribute("data-sortable-zindex")&&(o+=Number(e.getAttribute("data-sortable-zindex"))),!1))),c.sortableInfo.set(this.el,{zIndex:o,isGrid:this.options.isGrid,acceptElements:this.options.acceptElements??[]}),this.helper=this.document.createElement("div"),this.helper.className=this.options.helperClass,this.helper.style.position="fixed",this.helper.style.zIndex="1000000",this.helper.style.top="0",this.helper.style.left="0",this.helper.style.willChange="transform,pointer-events",this.helperRect=this.helper.getBoundingClientRect(),this.registerSortable(),this.attachContainerEvents(),this.attachObserver(e)}destroy(){this.detachContainerEvents(),this.detachPendingEvents(),this.detachSortEvents(),this.detachObserver(),this.unregisterSortable()}registerSortable(){c.allSortables.push(this.el)}unregisterSortable(){const e=c.allSortables.indexOf(this.el);-1!==e&&c.allSortables.splice(e,1)}handleContainerStart=e=>{if(c.dragInfo.dragInProgress)return;if(0!==e.button)return;if(!(this.document.defaultView&&e.target instanceof this.document.defaultView.Element))return;const{cancelClass:t,distance:o,onBeforeStart:r}=this.options;if((0,n.closest)(e.target,(e=>e.classList.contains(t))))return;const i=(0,n.closest)(e.target,(e=>e.hasAttribute("data-sortable-element")));if(i&&(!i.hasAttribute("data-sortable-use-handle")||void 0!==(0,n.closest)(e.target,(e=>e.hasAttribute("data-sortable-handle"))))){if(!o)throw Error("Not implemented yet. No distance");if(r){const e={defaultPrevented:!1,preventDefault(){this.defaultPrevented=!0}};if(r(e),e.defaultPrevented)return}c.dragInfo.dragInProgress=!0,c.dragInfo.source={sourceSortable:this.el,sourceElement:i,sourceElementIndex:(0,n.elementIndex)(i),sourceTouch:{clientX:e.clientX,clientY:e.clientY}},this.attachPendingEvents()}};handlePendingMove=e=>{if(void 0===c.dragInfo.source)return;const{sourceTouch:t}=c.dragInfo.source,{distance:o}=this.options;(0,n.pointDistance)(t.clientX,t.clientY,e.clientX,e.clientY)>o&&(window.getSelection()?.removeAllRanges(),this.detachPendingEvents(),this.attachUserSelectEvents(),this.handleSortStart(e))};handlePendingEnd=()=>{this.detachPendingEvents(),this.resetDragInfo()};handleSortStart=e=>{if(void 0===c.dragInfo.source)return;const{chosenClass:t,onStart:o}=this.options;this.addHelper(e),this.renderLines(),(0,n.addClass)(c.dragInfo.source.sourceElement,t),o?.(),this.attachSortEvents()};renderLines=()=>{const{receiverClass:e,showLines:t}=this.options;c.dragInfo.receiverSortables=this.findReceiverSortables(),t&&c.dragInfo.receiverSortables.filter((t=>!t.classList.contains(e))).forEach((t=>{(0,n.addClass)(t,e)}))};handleSortMove=e=>{this.updateHelperPosition(e),this.updateDragInfo(e)};handleSortEnd=()=>{const{onSort:e,onEnd:t}=this.options,{source:o,target:r}=c.dragInfo;if(this.detachSortEvents(),this.resetDragInfoClasses(),this.removeHelper(),this.resetDragInfo(),this.detachUserSelectEvents(),e&&o&&r){const{sourceSortable:t,sourceElement:i,sourceElementIndex:n}=o,{targetSortable:a,targetElementIndex:l}=r,s=i.getAttribute("data-sortable-type")??"";e({from:{sortableNode:t,elementNode:i,elementIndex:n,elementType:s},to:{sortableNode:a,elementIndex:l}})}t?.()};addHelper(e){this.document.body.appendChild(this.helper),this.helperRect=this.helper.getBoundingClientRect(),this.updateHelperPosition(e)}updateHelperPosition(e){const t=e.clientX-this.helperRect.width/2,o=e.clientY-this.helperRect.height/2;this.helper.style.transform=`translate(${t}px,${o}px)`}removeHelper(){this.helper.parentElement?.removeChild(this.helper)}updateDragInfo(e){if(void 0===c.dragInfo.source)return;const{hoveredClass:t,hoveredClassTop:o,hoveredClassBottom:r,hoveredClassLeft:i,hoveredClassRight:a,blindZone:l,showLines:s,dragOffset:d}=this.options,u=e.clientX+d.left,p=e.clientY+d.top;if(c.dragInfo.target?.targetElement){const e=c.dragInfo.target.targetElement;(0,n.removeClass)(e,t,o,r,i,a),e.previousElementSibling&&(0,n.removeClass)(e.previousElementSibling,t,o,r)}if(c.dragInfo.target=void 0,(0,n.isInsideRect)(u,p,l))return;const f=this.findClosestSortable(u,p);if(f){const l=c.sortableInfo.get(f);if(void 0===l)return;const{sourceElement:d}=c.dragInfo.source;if(d.contains(f))return;const m=this.findClosestElement(u,p,f);if(m===d)return;const y=f,g=m;let b=0;if(g){const{sourceSortable:d,sourceElement:u,sourceElementIndex:p}=c.dragInfo.source,{x:f,y:m}=(0,n.rectCenter)(g.getBoundingClientRect()),{isAbove:h,isLeft:v}=(0,n.pointRelative)(e.clientX,e.clientY,f,m),S=l.isGrid,w=S?v:h;b=(0,n.elementIndex)(g)+(w?0:1),y===d&&b>p&&(b-=1);let x=g,M="";if(S)M=v?i:a;else if(h){const e=x.previousElementSibling;e&&e!==u?(x=e,M=r):M=o}else M=r;s&&(0,n.addClass)(x,t,M)}c.dragInfo.target={targetSortable:y,targetElement:g,targetElementIndex:b}}}resetDragInfo(){c.dragInfo={dragInProgress:!1}}resetDragInfoClasses(){const{receiverClass:e,chosenClass:t,hoveredClass:o,hoveredClassTop:r,hoveredClassBottom:i,hoveredClassLeft:a,hoveredClassRight:l}=this.options,{source:s,target:d}=c.dragInfo,{allSortables:u}=c;u&&u.forEach((t=>(0,n.removeClass)(t,e))),s&&(0,n.removeClass)(s.sourceElement,t),d?.targetElement&&((0,n.removeClass)(d.targetElement,o,r,i,a,l),d.targetElement.previousElementSibling&&(0,n.removeClass)(d.targetElement.previousElementSibling,o,r,i))}findReceiverSortables(){if(void 0===c.dragInfo.source)return[];const{sourceSortable:e,sourceElement:t}=c.dragInfo.source,o=t.getAttribute("data-sortable-type")??"";return c.allSortables.filter((r=>{if(!c.sortableInViewPort.has(r))return!1;const i=c.sortableInfo.get(r);if(void 0===i)return!1;if("true"===r.getAttribute("data-sortable-disabled")||r.closest("[data-sortable-disabled='true']"))return!1;if("function"==typeof i.acceptElements){const n={sortableNode:e,elementNode:t,elementType:o},a={sortableNode:r};return i.acceptElements(n,a)}return"*"===i.acceptElements||Array.isArray(i.acceptElements)&&i.acceptElements.includes(o)}))}findClosestSortable(e,t){const o=c.dragInfo.receiverSortables?.flatMap((e=>{const t=c.sortableInfo.get(e);return t?{el:e,rect:e.getBoundingClientRect(),depth:(0,n.elementDepth)(e),zIndex:t.zIndex,type:t.isGrid?"horizontal":"vertical"}:[]}))??[];return l(o,{x:e,y:t})?.el}findClosestElement(e,t,o){const r=Array.from(o.children);return 0===r.length?void 0:1===r.length?r[0]:r.reduce(((o,r)=>{const i=r.getBoundingClientRect(),a=(0,n.clamp)(e,i.left,i.right),l=(0,n.clamp)(t,i.top,i.bottom),s=(0,n.pointDistance)(e,t,a,l);return s{let{isIntersecting:t,target:o}=e;t?(c.sortableInViewPort.add(o),c.dragInfo.source&&this.renderLines()):c.sortableInViewPort.delete(o)};attachObserver(e){i.connect(e,this.handleIntersection)}detachObserver(){i.disconnect(this.el)}attachContainerEvents(){n.events.start.forEach((e=>this.el.addEventListener(e,this.handleContainerStart,!1)))}detachContainerEvents(){n.events.start.forEach((e=>this.el.removeEventListener(e,this.handleContainerStart,!1)))}attachPendingEvents(){n.events.move.forEach((e=>this.document.addEventListener(e,this.handlePendingMove,!1))),n.events.end.forEach((e=>this.document.addEventListener(e,this.handlePendingEnd,!1)))}detachPendingEvents(){n.events.move.forEach((e=>this.document.removeEventListener(e,this.handlePendingMove,!1))),n.events.end.forEach((e=>this.document.removeEventListener(e,this.handlePendingEnd,!1)))}attachSortEvents(){n.events.move.forEach((e=>this.document.addEventListener(e,this.handleSortMove,!1))),n.events.end.forEach((e=>this.document.addEventListener(e,this.handleSortEnd,!1)))}detachSortEvents(){n.events.move.forEach((e=>this.document.removeEventListener(e,this.handleSortMove,!1))),n.events.end.forEach((e=>this.document.removeEventListener(e,this.handleSortEnd,!1)))}attachUserSelectEvents(){this.document.addEventListener("selectstart",n.disableSelection,!1)}detachUserSelectEvents(){this.document.removeEventListener("selectstart",n.disableSelection,!1)}}},33935:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{events:function(){return o},closest:function(){return r},elementDepth:function(){return i},elementIndex:function(){return n},addClass:function(){return a},removeClass:function(){return l},pointDistance:function(){return s},pointRelative:function(){return c},isInsideRect:function(){return d},rectCenter:function(){return u},shrinkRect:function(){return p},clamp:function(){return f},disableSelection:function(){return m}});const o={start:["mousedown"],move:["mousemove"],end:["mouseup"]};function r(e,t){let o=e;for(;o;){if(t(o))return o;o=o.parentElement}}function i(e){let t=e,o=0;for(;t=t.parentElement;)o++;return o}function n(e){const t=e.parentElement;return t?Array.from(t.children).indexOf(e):-1}function a(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;re.classList.add(t)))}function l(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;re.classList.remove(t)))}function s(e,t,o,r){const i=o-e,n=r-t;return Math.sqrt(i*i+n*n)}function c(e,t,o,r){const i=t=o.left&&e<=o.right&&t>=o.top&&t<=o.bottom}function u(e){return{x:e.left+.5*(e.right-e.left),y:e.top+.5*(e.bottom-e.top)}}function p(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";const r="all"===o||"top-bottom"===o,i="all"===o||"left-right"===o;return{top:r?e.top+t:e.top,bottom:r?e.bottom-t:e.bottom,left:i?e.left+t:e.left,right:i?e.right-t:e.right}}function f(e,t,o){return eo?o:e}const m=e=>(e.preventDefault(),!1)},34735:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(518);class a extends r.default.Component{static defaultProps={refSelector:"",type:"animated",render:()=>r.default.createElement("div",null),onChange:()=>null};state={isSticky:!1};refNode=null;componentDidMount(){n.observer.addListener(this.checkSticky),this.checkSticky()}componentWillUnmount(){this.refNode=null,n.observer.removeListener(this.checkSticky)}handleChange=()=>{this.props.onChange(this.state.isSticky)};checkSticky=()=>{const{refSelector:e,type:t}=this.props;this.refNode||(this.refNode=(e=>{try{return document.querySelector(e)}catch{try{return document.getElementById(e)}catch{return null}}})(e));const o=this.refNode?.getBoundingClientRect()??{top:0,height:0},r="animated"===t?-o.top>=o.height:o.top<=0;r!==this.state.isSticky&&this.setState({isSticky:r},this.handleChange)};render(){return this.props.render(this.state.isSticky)}}},518:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"observer",{enumerable:!0,get:function(){return o}});const o={events:["load","scroll"],listeners:[],framePending:!1,addEvents:function(){var e=this;this.notifyListeners=this.notifyListeners.bind(this),this.events.forEach((function(t){window.addEventListener(t,e.notifyListeners)}))},removeEvents:function(){var e=this;this.events.forEach((function(t){window.removeEventListener(t,e.notifyListeners)}))},addListener:function(e){0===this.listeners.length&&this.addEvents(),this.listeners.push(e)},removeListener:function(e){this.listeners.splice(this.listeners.indexOf(e),1),0===this.listeners.length&&this.removeEvents()},notifyListeners:function(){if(!this.framePending){var e=this;requestAnimationFrame((function(){e.framePending=!1,e.listeners.forEach((function(e){e()}))})),this.framePending=!0}}}},73948:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ThemeIcon",{enumerable:!0,get:function(){return c}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=o(47885),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),l=o(16255);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=function(e){let{className:t,type:o,name:i}=e;const s=(0,r.default)("brz-icon-svg align-[initial]",t),[c,d]=(0,a.useState)(void 0);return(0,a.useEffect)((()=>{const e=new AbortController;return(async()=>{try{const t=await(0,l.fetchIcon)(o,i,e),r=(0,n.mPipe)(l.decryptIcon,l.parseSVG)(t);d(r)}catch(e){console.warn(e),d(void 0)}})(),()=>{e.abort()}}),[o,i]),c?a.default.createElement("svg",{...c.attr,className:s,dangerouslySetInnerHTML:{__html:c.innerHTML}}):null}},36957:e=>{"use strict";const t="MC43NDQwMzkxMDQwNjc4MDM0";function o(e,t){if(t<0)return o(e,t+26);let r="";for(let o=0;o=65&&r<=90?i=String.fromCharCode((r-65+t)%26+65):r>=97&&r<=122&&(i=String.fromCharCode((r-97+t)%26+97))}r+=i}return r}e.exports.encrypt=function(e){const r=parseInt(e.length/2);return o(e.slice(0,r)+t+e.slice(r),20)},e.exports.decrypt=function(e){return o(e,-20).replace(t,"")}},16255:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fetchIcon:function(){return n},decryptIcon:function(){return a},parseSVG:function(){return l}});const r=o(84512),i=o(36957);async function n(e,t,o){const i=await fetch((0,r.templateIconUrl)(e,t),{method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},signal:o?.signal});return await i.text()}function a(e){if(/^{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=b(o(60042)),i=o(47885),n=b(o(27378)),a=o(23884),l=o(65631),s=b(o(17882)),c=b(o(33364)),d=b(o(24072)),u=o(52119),p=o(46338),f=o(29973),m=o(65270),y=o(61350),g=o(79521);function b(e){return e&&e.__esModule?e:{default:e}}class h extends n.default.Component{state={opened:!1};componentWillUnmount(){y.monitor.unsetIfActive(this)}getClickOutSideExceptions(){return[".brz-ed-collapsible__toolbar",".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal",".brz-ed-popup-integrations",".brz-ed-popup-authorization",".brz-ed-eyeDropper",".media-modal",".media-modal-backdrop"]}onClickOutside=()=>{this.close()};handleClick=()=>{this.state.opened?this.close():this.open()};handleEscape=()=>{this.close()};handleMonitorActivationRequest(){this.open()}handleMonitorDeactivationRequest(){this.close()}getItems=()=>{const e=this.props.device,t=(0,p.currentUserRole)();return this.props.getItems().map((0,f.filterOptions)(e,t)).filter(i.isT)};getSidebarItems=()=>{const e=this.props.device,t=(0,p.currentUserRole)();return this.props.getSidebarItems?this.props.getSidebarItems().map((0,f.filterOptions)(e,t)).filter(i.isT):[]};open(){if(this.state.opened)return;(0,g.setPosition)("below");const{onBeforeOpen:e,onOpen:t}=this.props;y.monitor.setActive(this),e&&e(),this.setState({opened:!0},(()=>{t&&t()}))}close(){if(!this.state.opened)return;const{onBeforeClose:e,onClose:t}=this.props;y.monitor.unsetIfActive(this),e&&e(),this.setState({opened:!1},(()=>{t&&t()}))}renderBadge(){const{membership:e,language:t,global:o}=this.props;return e||o||t?n.default.createElement(l.CSSTransition,{key:"badge",timeout:0},n.default.createElement("div",{className:"brz-ed-collapsible__badge"},o&&n.default.createElement(c.default,{icon:"nc-global"}),e&&n.default.createElement(c.default,{icon:"nc-user"}),t&&n.default.createElement(c.default,{icon:"nc-multi-languages"}))):null}renderIcon(){return n.default.createElement(l.CSSTransition,{key:"icon",classNames:"fadeCollapsibleIcon",timeout:200},n.default.createElement("div",{className:"brz-ed-collapsible__icon",onClick:this.handleClick},n.default.createElement(c.default,{icon:"nc-settings"})))}renderToolbar(){const{animation:e="leftToRight"}=this.props,t="leftToRight"===e?"animation-left-right":"animation-right-left",o=this.getItems();return n.default.createElement(l.CSSTransition,{key:"toolbar",classNames:t,timeout:200},n.default.createElement("div",{className:"brz-ed-collapsible__toolbar"},n.default.createElement(m.ToolbarItems,{items:o,arrow:!1})))}render(){const{className:e,getSidebarItems:t,getSidebarTitle:o}=this.props,{opened:i}=this.state,a=(0,r.default)("brz-ed-collapsible",{"brz-ed-collapsible--opened":i},e);return n.default.createElement(n.default.Fragment,null,n.default.createElement(s.default,{onClickOutside:this.onClickOutside,exceptions:this.getClickOutSideExceptions()},n.default.createElement(l.TransitionGroup,{className:a},this.renderBadge(),i?this.renderToolbar():this.renderIcon())),i&&t&&n.default.createElement(u.RightSidebarItems,{getItems:this.getSidebarItems,getTitle:o}),i&&n.default.createElement(d.default,{keyNames:["esc"],id:"key-helper-toolbar-escape",onKeyUp:this.handleEscape}))}}const v=(0,a.connect)((e=>({device:e.ui.deviceMode})),null,null,{forwardRef:!0})(h)},80818:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PortalToolbarPositioner",{enumerable:!0,get:function(){return s}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(78438),a=o(65270),l=o(79521);class s extends r.default.Component{static defaultProps={offsetTop:14,offsetBottom:14,offsetLeft:0};toolbarItemsContainerRef=r.default.createRef();toolbarItemsArrowRef=r.default.createRef();componentDidMount(){this.reposition()}componentDidUpdate(){this.props.repositionOnUpdates&&this.reposition()}reposition=()=>{const{node:e,offsetTop:t,offsetBottom:o,offsetLeft:r,position:i}=this.props,a=this.toolbarItemsContainerRef.current,s=this.toolbarItemsArrowRef.current,c=e.ownerDocument.defaultView,d=document.documentElement.clientWidth;if(!a)return;const u=a.getBoundingClientRect(),p=e.getBoundingClientRect();let f,m;const y="fixed"===i?0:c.scrollY;y+p.top-(u.height+300)>=c.scrollY?(f=!1,m=y+p.top-u.height-Number(t),(0,l.setPosition)("above")):(f=!0,m=y+p.top+p.height+Number(o),(0,l.setPosition)("below"));const g=p.left+p.width/2-u.width/2+Number(r),b=e.ownerDocument.defaultView===c.parent?58:0,h=d-u.width,v=(0,n.clamp)(g,b,h),S=g-v;a.style.top=`${m}px`,a.style.left=0===v?"20px":`${v}px`,"fixed"===i&&(a.style.position="fixed"),a.classList.add("brz-ed-animated","brz-ed-animated--fadeInDown"),f?a.classList.add("brz-ed-toolbar--bottom"):a.classList.remove("brz-ed-toolbar--bottom"),s&&(u.width/2-Math.abs(S)<23?s.classList.add("brz-hidden"):s.classList.remove("brz-hidden"),f?(s.classList.remove("brz-ed-arrow--top-center"),s.classList.add("brz-ed-arrow--bottom-center")):(s.classList.remove("brz-ed-arrow--bottom-center"),s.classList.add("brz-ed-arrow--top-center")),s.style.left=`calc(50% + ${S}px)`)};render(){return r.default.createElement(a.ToolbarItems,{...this.props,containerRef:this.toolbarItemsContainerRef,arrowRef:this.toolbarItemsArrowRef,arrow:!0,onContentChange:this.reposition})}}},82295:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=o(47885),i=y(o(27378)),n=y(o(31542)),a=o(23884),l=y(o(17882)),s=y(o(24072)),c=o(52119),d=o(46338),u=o(57684),p=o(61350),f=o(80818),m=o(29973);function y(e){return e&&e.__esModule?e:{default:e}}const g=new Map;class b extends i.default.Component{static contextType=u.ToolbarExtendContext;static defaultProps={manualControl:!1};context=void 0;state={opened:!1};node=null;selectorNode=null;componentDidMount(){if(this.node=n.default.findDOMNode(this),null!==this.node&&null!==this.node.ownerDocument){if(!g.get(this.node.ownerDocument)){const e=this.node.ownerDocument.createElement("div");e.id="brz-toolbar-portal",this.node.ownerDocument.body.appendChild(e),g.set(this.node.ownerDocument,e)}this.props.manualControl||this.makeComponentControlled()}}componentDidUpdate(e){let{manualControl:t=!1}=e;t!==this.props.manualControl&&(!0===t?this.makeComponentControlled():this.makeComponentUnControlled())}componentWillUnmount(){p.monitor.unsetIfActive(this),this.node=null,this.selectorNode=null}makeComponentUnControlled=()=>{null!==this.node&&this.node.removeEventListener("click",this.handleNodeClick)};makeComponentControlled=()=>{null!==this.node&&this.node.addEventListener("click",this.handleNodeClick,!1)};handleNodeClick=e=>{if(null!==this.node&&!e.brzToolbarHandled)if(void 0===this.props.selector){if(p.monitor.getActive()===this)return;e.brzToolbarHandled=!0,this.show()}else{const t=("dom-tree"===this.props.selectorSearchStrategy?m.selectorSearchDomTree:m.selectorSearchCoordinates)(this.node,this.props.selector,e);t?(e.brzToolbarHandled=!0,!1===this.state.opened?(this.selectorNode=t,this.show()):t!==this.selectorNode&&this.hide({onComplete:()=>{this.selectorNode=t,this.show()}})):this.hide()}};handleClick=e=>{e.stopPropagation();const{onClick:t}=this.props;t&&t(e)};handleMouseEnter=e=>{e.stopPropagation();const{onMouseEnter:t}=this.props;if(t&&t(e),null!==this.node){const e=new CustomEvent("brz.toolbar.mouseenter",{bubbles:!0});this.node.dispatchEvent(e)}};handleMouseLeave=e=>{e.stopPropagation();const{onMouseLeave:t}=this.props;if(void 0!==t&&t(e),this.node){const e=new CustomEvent("brz.toolbar.mouseleave",{bubbles:!0});this.node.dispatchEvent(e)}};handleEscape=()=>{const e=this.props,t={...this.context,...e};t.onEscape?t.onEscape():this.hide()};handleClickOutside=()=>{p.monitor.unsetActive()};handleMonitorActivationRequest(){this.show()}handleMonitorDeactivationRequest(e){this.hide({eventDetail:e})}show(){if(!this.state.opened){const{onBeforeOpen:e,onOpen:t}=this.props;p.monitor.setActive(this),e&&e(),this.setState({opened:!0},(()=>{if(t&&t(),null!==this.node){const e=new CustomEvent("brz.toolbar.open",{bubbles:!0});this.node.dispatchEvent(e)}}))}}hide(e){if(this.state.opened){const{onBeforeClose:t,onClose:o}=this.props;t&&t(),this.setState({opened:!1},(()=>{if(o&&o(),null!==this.node){const t=new CustomEvent("brz.toolbar.close",{bubbles:!0,detail:e?.eventDetail});this.node.dispatchEvent(t)}e?.onComplete?.()}))}}clickOutsideException=e=>{try{const t=n.default.findDOMNode(this);return null!==t&&t.contains(e)}catch(e){return!1}};getOutSideExceptions=()=>[".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal",".brz-ed-fixed",".brz-ed-box__resizer--point",".brz-ed-eyeDropper",".media-modal",".media-modal-backdrop",this.clickOutsideException];getItems=()=>{const e=this.props.device,t=(0,d.currentUserRole)();return this.props.getItems().map((0,m.filterOptions)(e,t)).filter(r.isT)};getSidebarItems=()=>{const e=this.props.device,t=(0,d.currentUserRole)();return this.props.getSidebarItems?this.props.getSidebarItems().map((0,m.filterOptions)(e,t)).filter(r.isT):[]};renderToolbar(){if(null===this.node)return;if(null===this.node.ownerDocument)return;const e=this.getItems();if(!e||0===e.length)return;const t=this.props,o=this.context,r=this.node.ownerDocument,a=g.get(r);return a&&n.default.createPortal(i.default.createElement(i.default.Fragment,null,i.default.createElement(l.default,{exceptions:this.getOutSideExceptions(),onClickOutside:this.handleClickOutside},i.default.createElement(f.PortalToolbarPositioner,{...o,...t,items:e,node:this.selectorNode??this.node,onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave})),t.getSidebarItems&&i.default.createElement(c.RightSidebarItems,{getItems:this.getSidebarItems,getTitle:t.getSidebarTitle}),i.default.createElement(s.default,{id:"key-helper-toolbar-escape",keyNames:["esc"],onKeyUp:this.handleEscape})),a)}render(){const{children:e}=this.props,{opened:t}=this.state;return i.default.createElement(i.default.Fragment,null,"function"==typeof e?e({open:this.handleNodeClick}):e,t&&this.renderToolbar())}}const h=(0,a.connect)((e=>({device:e.ui.deviceMode})),null,null,{forwardRef:!0})(b)},29973:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{selectorSearchDomTree:function(){return a},selectorSearchCoordinates:function(){return l},filterOptions:function(){return s}});const r=o(33935),i=o(11214),n=o(76753);function a(e,t,o){let r=o.target;for(;r&&r!==e;){if(r.matches(t))return r;r=r.parentElement}return r}function l(e,t,o){if(e.matches(t)&&(0,r.isInsideRect)(o.clientX,o.clientY,e.getBoundingClientRect()))return e;const i=e.querySelectorAll(t);for(let e=0;e(0,i.filter)((0,n.filterToolbarItems)(e,t))},57684:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{ToolbarExtendContext:function(){return l},ToolbarExtend:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(10301))&&n.__esModule?n:{default:n};var n;function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=r.default.createContext(void 0),s=e=>{let{children:t,position:o,onEscape:n}=e;const a=(0,r.useContext)(l),s=(0,r.useMemo)((()=>i.default.defaults({position:o,onEscape:n},a)),[o,n,a]);return r.default.createElement(l.Provider,{value:s},t)}},65936:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ToolbarItem",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(95187));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{data:t,toolbar:o}=e;return r.default.createElement("div",{className:"brz-ed-toolbar__item"},r.default.createElement(i.default,{className:"brz-ed-toolbar__option",data:t,toolbar:o,location:"toolbar"}))}},65270:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ToolbarItems",{enumerable:!0,get:function(){return a}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=o(65936);class a extends r.default.Component{static defaultProps={arrow:!0,items:[]};state={itemsRenderer:void 0};containerRef=r.default.createRef();arrowRef=r.default.createRef();setItemsRenderer=e=>{this.setState({itemsRenderer:e},this.props.onContentChange)};resetItemsRenderer=()=>{this.setState({itemsRenderer:void 0},this.props.onContentChange)};renderItems=e=>{const{position:t,containerRef:o}=this.props,i=e.map(((i,a)=>r.default.createElement(n.ToolbarItem,{key:i.id,data:i,toolbar:{...this,toolbarRef:o??this.containerRef,toolbarCSSPosition:t,toolbarItemIndex:a+1,toolbarItemsLength:e.length}})));return r.default.createElement("div",{className:"brz-ed-toolbar__items brz-d-xs-flex brz-align-items-center"},i)};render(){const{containerRef:e,arrowRef:t,arrow:o,items:i,onClick:n,onMouseEnter:a,onMouseLeave:l}=this.props,{itemsRenderer:s}=this.state;return i.length?r.default.createElement("div",{ref:e??this.containerRef,className:"brz-ed-toolbar",onClick:n,onMouseEnter:a,onMouseLeave:l},void 0!==s?s(i):this.renderItems(i),o&&r.default.createElement("div",{ref:t??this.arrowRef,className:"brz-ed-arrow brz-ed-arrow--top-center brz-ed-toolbar__arrow"})):null}}},67439:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return s},PortalToolbar:function(){return r.default},CollapsibleToolbar:function(){return i.default},ToolbarExtendContext:function(){return a.ToolbarExtendContext},ToolbarExtend:function(){return a.ToolbarExtend},hideToolbar:function(){return c},showLastHiddenToolbar:function(){return d}});const r=l(o(82295)),i=l(o(30332)),n=o(61350),a=o(57684);function l(e){return e&&e.__esModule?e:{default:e}}const s=r.default,c=e=>n.monitor.unsetActive(e),d=()=>n.monitor.activateLastActive()},61350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"monitor",{enumerable:!0,get:function(){return i}});let o=null,r=null;const i={getActive:()=>r,setActive(e){this.unsetActive(),r=e},unsetIfActive(e){e===r&&this.unsetActive()},unsetActive(e){null!==r&&(o=r,r=null,o.handleMonitorDeactivationRequest(e))},activateLastActive(){o&&o.handleMonitorActivationRequest()}}},79521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getPosition:function(){return r},setPosition:function(){return i}});let o="above";const r=()=>o,i=e=>{o=e}},32625:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{useDebouncedEffect:function(){return l},useThrottleEffect:function(){return s},createTimedOnchange:function(){return d},useDebouncedCallback:function(){return u},useDebouncedOnChange:function(){return p},useThrottleCallback:function(){return f},useThrottleOnChange:function(){return m}});const r=o(27378),i=o(34143),n=o(11717),a=(e,t)=>e===t;function l(e,t,o){const i=(0,r.useRef)();(0,r.useEffect)((()=>(clearTimeout(i.current),i.current=setTimeout(e,t),()=>clearTimeout(i.current))),[o,e,t])}function s(e,t,o){const{current:i}=(0,r.useRef)({f:e});(0,r.useEffect)((()=>{i.f=e,void 0===i.t&&(i.t=setTimeout((()=>{i.f(),i.t=void 0}),t))}),[o,i,e,t])}const c=e=>(t,o,n)=>{const a=(0,r.useMemo)((()=>{const r=new i.Subject;return r.pipe(e(o)).subscribe((e=>t(...e))),r}),[t,o]);return(0,r.useEffect)((()=>()=>{a.complete()}),[a]),(0,r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),o=0;o{const t=c(e);return function(e,o,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a;const l=(0,r.useRef)(e),[s,c]=(0,r.useState)(e),d=t(o,i,[o]);(0,r.useEffect)((()=>{n(s,l.current)||(d(s),l.current=s)}),[s,l,d,n]),(0,r.useEffect)((()=>{n(e,l.current)||(c(e),l.current=e)}),[e,l,n]);const u=(0,r.useCallback)(c,[c]);return[s,u]}},u=c(n.debounceTime),p=d(n.debounceTime),f=c(n.throttleTime),m=d(n.throttleTime)},81504:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{maxWidth:function(){return o},minWidthPercentage:function(){return r},maxWidthPercentage:function(){return i},wInBoxedPage:function(){return n},minWInBoxedPage:function(){return a},wInFullPage:function(){return l},wInTabletPage:function(){return s},wInMobilePage:function(){return c},minWinColumn:function(){return d},MIN_COL_WIDTH:function(){return u},wInMMenu:function(){return p}});const o=36,r=35,i=100,n=1400,a=992,l=1920,s=768,c=576,d=760,u=60,p=440},82163:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"read",{enumerable:!0,get:function(){return c}});const r=s(o(7667)),i=s(o(59638)),n=s(o(73904)),a=o(44576);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const c=e=>{if(null===e||"object"!=typeof e)return;const t=i.read(e.title),o=i.read(e.name),l=r.readId(e.type);if(void 0===t||void 0===o||void 0===l)return;const s=i.read(e.family);return{title:t,name:o,type:l,cat:(0,a.toArray)(e.cat).map(n.read).filter(Boolean),family:s}}},7667:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{readId:function(){return a},types:function(){return l}});const r=o(22741),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(73904));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const a=(0,r.mCompose)((e=>e>=0&&e<=2?e:void 0),Math.round,i.read),l=[{id:0,name:"outline",title:"Outline",icon:"nc-cube"},{id:1,name:"glyph",title:"Glyph",icon:"nc-full-cube"},{id:2,name:"fa",title:"FA",icon:"nc-full-cube"}]},26422:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"categories",{enumerable:!0,get:function(){return o}});const o=[{title:"Accessibility",id:1},{title:"Alert",id:2},{title:"Animals",id:3},{title:"Arrows",id:4},{title:"Audio & Video",id:5},{title:"Automotive",id:6},{title:"Autumn",id:7},{title:"Beverage",id:8},{title:"Buildings",id:9},{title:"Business",id:10},{title:"Camping",id:11},{title:"Charity",id:12},{title:"Chat",id:13},{title:"Chess",id:14},{title:"Childhood",id:15},{title:"Clothing",id:16},{title:"Code",id:17},{title:"Communication",id:18},{title:"Computers",id:19},{title:"Construction",id:20},{title:"Currency",id:21},{title:"Date & Time",id:22},{title:"Design",id:23},{title:"Editors",id:24},{title:"Education",id:25},{title:"Emoji",id:26},{title:"Energy",id:27},{title:"Files",id:28},{title:"Finance",id:29},{title:"Fitness",id:30},{title:"Food",id:31},{title:"Fruits & Vegetables",id:32},{title:"Games",id:33},{title:"Tabletop Gaming",id:34},{title:"Genders",id:35},{title:"Halloween",id:36},{title:"Hands",id:37},{title:"Health",id:38},{title:"Holiday",id:39},{title:"Hotel",id:40},{title:"Household",id:41},{title:"Images",id:42},{title:"Interfaces",id:43},{title:"Logistics",id:44},{title:"Maps",id:45},{title:"Maritime",id:46},{title:"Marketing",id:47},{title:"Mathematics",id:48},{title:"Medical",id:49},{title:"Moving",id:50},{title:"Music",id:51},{title:"Objects",id:52},{title:"Payments & Shopping",id:53},{title:"Pharmacy",id:54},{title:"Political",id:55},{title:"Religion",id:56},{title:"Science",id:57},{title:"Science Fiction",id:58},{title:"Security",id:59},{title:"Shapes",id:60},{title:"Shopping",id:61},{title:"Social",id:62},{title:"Spinners",id:63},{title:"Sports",id:64},{title:"Spring",id:65},{title:"Status",id:66},{title:"Summer",id:67},{title:"Toggle",id:68},{title:"Travel",id:69},{title:"Users & People",id:70},{title:"Vehicles",id:71},{title:"Weather",id:72},{title:"Winter",id:73},{title:"Writing",id:74}]},63316:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"categories",{enumerable:!0,get:function(){return o}});const o=[{id:1,title:"Animals/Nature"},{id:2,title:"Arrows"},{id:3,title:"Business/Finance"},{id:4,title:"Clothes/Accessories"},{id:5,title:"Design/Development"},{id:6,title:"Emoticons"},{id:7,title:"Energy/Environment"},{id:8,title:"Files/Folders"},{id:10,title:"Food"},{id:11,title:"Home/Buildings"},{id:12,title:"Healthcare/Medical"},{id:13,title:"Holidays"},{id:14,title:"Loaders"},{id:15,title:"Maps/Location"},{id:16,title:"Multimedia"},{id:18,title:"School/Education"},{id:19,title:"Shopping"},{id:20,title:"Social Media"},{id:21,title:"Sport"},{id:22,title:"Technology"},{id:23,title:"Text Editing"},{id:24,title:"Touch Gestures"},{id:25,title:"Transportation"},{id:26,title:"Travel"},{id:27,title:"User Interface"},{id:28,title:"Users"},{id:29,title:"Weather"}]},34807:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getTypeIcons",{enumerable:!0,get:function(){return s}});const r=o(82163),i=o(44576);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}function a(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}const l=e=>(0,i.toArray)(e?.default).map(r.read).filter(Boolean),s=e=>{switch(e){case 0:return Promise.resolve().then((()=>a(o(38649)))).then(l);case 1:return Promise.resolve().then((()=>a(o(18796)))).then(l);case 2:return Promise.resolve().then((()=>a(o(74025)))).then(l)}}},13340:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getTypes:function(){return u},getIcons:function(){return p},getIconClassName:function(){return f},getCategories:function(){return m}});const r=o(63316),i=o(26422),n=o(64148),a=o(26999),l=o(46479),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(44576)),c=o(34807);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=()=>l.IS_WP?l.IS_PRO?[...a.types,...n.types]:n.types:a.types,p=e=>Promise.all(e.map(c.getTypeIcons)).then(s.concat),f=e=>{switch(e.type){case 0:case 1:{const t=u()[e.type].name;return`nc-${t} nc-${t}-${e.name}`}case 2:return`${e.family??"fa"} fa-${e.name}`}},m=e=>{switch(e){case 0:case 1:return r.categories;case 2:return i.categories}}},64148:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"types",{enumerable:!0,get:function(){return o}});const o=[{id:2,name:"fa",title:"FA",icon:"nc-full-cube"}]},26999:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"types",{enumerable:!0,get:function(){return o}});const o=[{id:0,name:"outline",title:"Outline",icon:"nc-cube"},{id:1,name:"glyph",title:"Glyph",icon:"nc-full-cube"}]},60195:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={"wrapper--iconText":{showToolbar:"on"},"wrapper--form2":{showToolbar:"on"},"wrapper--login":{showToolbar:"on"},"wrapper--reset--psw":{showToolbar:"on"},"wrapper-quantity":{showToolbar:"on"},"wrapper-price":{showToolbar:"on"},"wrapper--tabs":{showToolbar:"on"},"wrapper--timeline":{showToolbar:"on"},"wrapper--table":{showToolbar:"on"},"wrapper--protected-page":{showToolbar:"on"},"wrapper--accordion":{showToolbar:"on"},"wrapper--imageGallery":{showToolbar:"on"},"wrapper--menu":{showToolbar:"on"},"wrapper--video-playlist":{showToolbar:"on"},"wrapper--switcher":{showToolbar:"on"},"wrapper--filters":{showToolbar:"on"},"wrapper-ministryBrands":{showToolbar:"on"},"wrapper--spacer":{marginTop:0,marginBottom:0,tabletMarginTop:0,tabletMarginBottom:0,mobileMarginTop:0,mobileMarginBottom:0},"wrapper--carousel":{showToolbar:"on"},"wrapper--alert":{showToolbar:"on"},"wrapper--posts":{showToolbar:"on",paddingType:"ungrouped",paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},"wrapper-ecwid-my-account":{showToolbar:"on"},"wrapper-ecwid-cart":{showToolbar:"on"},"wrapper-ecwid-product":{showToolbar:"on"},"wrapper-ecwid-products":{showToolbar:"on"},"column--carousel":{width:100},"richText--carousel":{text:"

The point of using dummy text for your paragraph is that it has a more-or-less normal distribution of letters. making it look like readable English.

"},"hide-row-borders":{showToolbar:"off"},"padding-0":{padding:0},submit:{type:"submit"},search:{type:"search"},"image--dynamic":{imagePopulation:"{{brizy_dc_img_featured_image}}"},"button--dynamic":{linkExternalType:"linkPopulation",linkPopulation:"{{brizy_dc_url_post}}",text:"READ MORE",borderRadius:2,borderWidth:2,fontSize:11,paddingBottom:11,paddingLeft:26,paddingRL:26,paddingRight:26,paddingTB:11,paddingTop:11,size:"small",tempPaddingBottom:11,tempPaddingLeft:26,tempPaddingRL:26,tempPaddingRight:26,tempPaddingTB:11,tempPaddingTop:11,mobileBorderRadius:2,mobilePaddingBottom:11,mobilePaddingLeft:26,mobilePaddingRight:26,mobilePaddingTop:11,mobileSize:"small"},"richText-title--dynamic":{text:"

#Post Title 

"},"richText-desc--dynamic":{text:"

#Post Excerpt

"},"wrapper--facebookComments":{showToolbar:"on"},"story-map":{size:90,height:70,heightSuffix:"%",elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:31,offsetYSuffix:"%",offsetYAlignment:"top"},"story-progressBar":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:48,offsetYSuffix:"%",offsetYAlignment:"top"},"story-line":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:49,offsetYSuffix:"%",offsetYAlignment:"top"},"story-countdown2":{width:90,height:10,heightSuffix:"%",elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:45,offsetYSuffix:"%",offsetYAlignment:"top"},"story-counter":{width:50,elementPosition:"fixed",offsetX:39,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:45,offsetYSuffix:"%",offsetYAlignment:"top"},"story-embedCode":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:33,offsetYSuffix:"%",offsetYAlignment:"top"},"story-image":{width:90,height:70,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:36,offsetYSuffix:"%",offsetYAlignment:"top"},"story-starRating":{elementPosition:"fixed",offsetX:33,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:49,offsetYSuffix:"%",offsetYAlignment:"top"},"story-icon":{elementPosition:"fixed",customSize:20,offsetX:40,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:44,offsetYSuffix:"%",offsetYAlignment:"top",customSizeSuffix:"%",hoverColorHex:null,hoverColorOpacity:null,hoverColorPalette:null,tempHoverColorOpacity:null,tempHoverColorPalette:null,hoverGradientActivePointer:null,hoverGradientStartPointer:null,hoverGradientFinishPointer:null,hoverGradientType:null,hoverGradientLinearDegree:null,hoverGradientRadialDegree:null,hoverBgColorType:null,hoverBgColorHex:null,hoverBgColorOpacity:null,hoverBgColorPalette:null,tempHoverBgColorOpacity:null,tempHoverBgColorPalette:null,hoverGradientColorHex:null,hoverGradientColorOpacity:null,hoverGradientColorPalette:null,tempHoverGradientColorOpacity:null,tempHoverGradientColorPalette:null,hoverBorderColorHex:null,hoverBorderColorOpacity:null,hoverBorderColorPalette:null,tempHoverBorderColorOpacity:null,tempHoverBorderColorPalette:null},"story-video":{size:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:34,offsetYSuffix:"%",offsetYAlignment:"top"},"story-richText":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:46,offsetYSuffix:"%",offsetYAlignment:"top"},"story-button":{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,elementPosition:"fixed",offsetX:30,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:46,offsetYSuffix:"%",offsetYAlignment:"top",width:40,widthSuffix:"%",height:30,heightSuffix:"%"},"story-form-button":{offsetX:0},"wrapper--story-form2":{showToolbar:"on"},"story-form2":{width:80,widthSuffix:"%",elementPosition:"fixed",offsetX:10,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:20,offsetYSuffix:"%",offsetYAlignment:"top"},"story-lottie":{width:60,widthSuffix:"%",elementPosition:"fixed",offsetX:20,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:34,offsetYSuffix:"%",offsetYAlignment:"top"},"posts--column":{width:100},"postTitle-posts":{fontStyle:"custom",fontSize:20,tabletFontStyle:"custom",tabletFontSize:16,mobileFontStyle:"custom",mobileFontSize:16,contentHorizontalAlign:"center"},"postExcerpt-posts":{contentHorizontalAlign:"center"},"posts-archive":{pagination:"on"},"posts-productArchive":{pagination:"on"}}},76716:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),i=p(o(10787)),n=o(67439),a=p(o(49127)),l=p(o(20013)),s=o(39552),c=p(o(24072)),d=p(o(86495)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends i.default{static get componentId(){return"AccordionItem.Items"}static defaultProps={className:"",meta:{},isActive:!1};handleSortableAcceptElements=e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0};getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",title:(0,u.t)("Duplicate"),icon:"nc-duplicate",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",title:(0,u.t)("Delete"),icon:"nc-trash",position:210,onChange:()=>{(0,n.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]},r=this.makeToolbarPropsFromConfig(o);return{meta:this.props.meta,toolbarExtend:r}}renderItemsContainer(e){const{className:t,isActive:o}=this.props;return 0===e.length?r.default.createElement("div",{className:t},r.default.createElement(l.default,{path:this.getId(),disabled:!o,type:"column",acceptElements:this.handleSortableAcceptElements})):r.default.createElement(a.default,{path:this.getId(),type:"column",disabled:!o,acceptElements:this.handleSortableAcceptElements},r.default.createElement("div",{className:t},e))}renderItemWrapper(e,t,o){const i=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(i)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}}const m=f},86495:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(67439),i=o(16957),n=o(64985),a=e=>({getItems:s(e)}),l="MacOS"===(0,i.detectOS)(),s=e=>(t,o)=>{const i=o.getCurrentCopiedElement(),a="Row"===t[e].type,s=i&&(a||t[e].type===i.type),c=s&&(a||i.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,n.t)("Copy"),helperText:()=>l?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,n.t)("Paste"),helperText:()=>l?"⌘ + V":"ctrl + V",inactive:!s,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,n.t)("Paste Styles"),inactive:!c,helperText:()=>l?"⌘ + ⇧ + V":"ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,n.t)("Duplicate"),helperText:()=>l?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,n.t)("Delete"),helperText:()=>l?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},68872:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=y(o(27378)),i=y(o(60042)),n=y(o(63692)),a=o(73948),l=y(o(45771)),s=y(o(67439)),c=o(66848),d=y(o(76716)),u=y(o(31399)),p=b(o(5189)),f=b(o(231)),m=o(76304);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class h extends n.default{static get componentId(){return"AccordionItem"}static defaultValue=u.default;static defaultProps={meta:{},collapsible:"",navIcon:"",tag:"",animDuration:0,animationClassName:"",activeAccordionItem:!1,visibleTag:!1};content=r.default.createRef();state={active:!1,height:0};componentDidMount(){const{collapsible:e,activeAccordionItem:t}=this.props;"on"===e&&t&&this.handleCollapse()}componentDidUpdate(e,t){const{collapsible:o,activeAccordionItem:r}=this.props,{active:i}=this.state;e.collapsible===o?(e.activeAccordionItem!==r&&(e.activeAccordionItem?this.handleExpand():this.handleCollapse()),t.active!==i&&(t.active?this.handleExpand():this.handleCollapse())):"on"===o?r?this.handleCollapse():this.handleExpand():this.setState({active:!1})}handleCollapse=()=>{const e=this.content.current;if(e){const t=e.firstElementChild?.getBoundingClientRect().height??0,o=this.props.animDuration;(0,m.collapse)(e,{height:t,duration:1e3*o})}};handleExpand=()=>{const e=this.content.current;if(e){const t=e.firstElementChild?.getBoundingClientRect().height??0,o=this.props.animDuration;(0,m.expand)(e,{height:t,duration:1e3*o})}};handleClick=()=>{const{collapsible:e,handleAccordion:t}=this.props;"off"===e?this.setState({active:!this.state.active}):t()};handleTextChange=e=>{this.patchValue({labelText:e})};getIcon(e,t){const o=e?`up-arrow-${t}`:`down-arrow-${t}`;return r.default.createElement("div",{className:"brz-accordion--icon-wrapper"},r.default.createElement(a.ThemeIcon,{className:"brz-accordion__nav--icon",type:"editor",name:o}))}renderNav(e){const{navIcon:t,collapsible:o,activeAccordionItem:i,tagName:n}=this.props,a="off"===o?this.state.active:i;return r.default.createElement(s.default,this.makeToolbarPropsFromConfig2(p,f),r.default.createElement("div",{className:"brz-accordion__nav","data-collapsible":o,onClick:this.handleClick},r.default.createElement(c.TextEditor,{value:e.labelText,tagName:n,className:"brz-accordion__nav-title",onChange:this.handleTextChange}),"none"!==t&&this.getIcon(a,t)))}renderItems(e){const{meta:t,animationClassName:o,meta:{sectionPopup:n,sectionPopup2:a}}=this.props,s=(0,i.default)("brz-accordion__item-content brz-d-xs-flex brz-flex-xs-column",{"brz-accordion--sortable":!0}),c=this.makeSubcomponentProps({meta:t,className:s,isActive:e,bindWithKey:"items"});return r.default.createElement(l.default,{ref:this.content,iterationCount:1,component:"div",componentProps:{className:"brz-accordion__content brz-d-xs-flex brz-flex-xs-column"},animationClass:o},r.default.createElement(d.default,c))}renderForEdit(e){const{activeAccordionItem:t,collapsible:o,visibleTag:n,tag:a,allTag:l}=this.props,s="off"===o?this.state.active:t,c=(0,i.default)("brz-accordion__item",a,{"brz-accordion__item--active":s,"brz-accordion__hidden":!(n===l||a.includes(n))});return r.default.createElement("div",{className:c},this.renderNav(e),this.renderItems(s))}}const v=h},231:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Accordion Items");function i(){return[]}},5189:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-toggle",title:(0,r.t)("Accordion")},position:60,options:[{id:"media",type:"tabs-dev",tabs:[{id:"accordion",label:(0,r.t)("Accordion"),position:60,options:[]},{id:"tags",label:(0,r.t)("Tags"),position:80,options:[{id:"tags",type:"inputText-dev",label:(0,r.t)("Tags"),helper:{enabled:!0,content:"Enter the tags, separated by a comma (art, sport, nature, etc)."},placeholder:"art, nature, etc.",devices:"desktop"}]}]}]}]}},22662:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=d(o(60042)),i=d(o(27378)),n=o(70634),a=o(66848),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(67439)),s=d(o(10787)),c=o(64985);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends s.default{static get componentId(){return"Accordion.Items"}static defaultProps={className:"",activeAccordionItem:0,style:{},meta:{}};state={visibleTag:this.props.allTag};tags=new Set;handleFilterClick(e){e!==this.state.visibleTag&&this.setState({visibleTag:e})}getItemProps(e,t,o){const{meta:r,activeAccordionItem:i,navIcon:n,collapsible:a,animDuration:s,animationClassName:d,tagName:u,allTag:p}=this.props,{tags:f=""}=e.value,m={getItems:()=>[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{align:"vertical",disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:(0,c.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:(0,c.t)("Delete"),position:210,disabled:1===o.length,onChange:()=>{(0,l.hideToolbar)(),this.removeItem(t)}}]};return{meta:r,navIcon:n,tag:this.updateTags(f),collapsible:a,animDuration:s,animationClassName:d,toolbarExtend:this.makeToolbarPropsFromConfig2(m),tagName:u,activeAccordionItem:i===t,visibleTag:this.state.visibleTag,allTag:p,handleAccordion:()=>{this.handleAccordionActive(t)}}}handleAccordionActive=e=>{const{activeAccordionItem:t,handleNav:o}=this.props;t!==e&&o(e)};getTags(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?e.split(",").reduce(((e,t)=>{const o=t.trim();return o?[...e,o.replace(/\s/g,"-")]:e}),[]):[]}updateTags(e){const t=this.getTags(e);return t.length&&t.forEach((e=>{this.tags.add(e)})),t}updateItem(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};super.updateItem(e,t,o),this.tags.clear(),this.updateTags(t.tag)}handleMainTagChange=e=>{const{handleAllTagChange:t}=this.props;t(e),this.setState({visibleTag:e})};renderTags(){const{allTag:e,toolbarExtendFilter:t,filterStyle:o,sortTags:n}=this.props,s="on"===n?[...this.tags].sort(((e,t)=>e.localeCompare(t))):this.tags,c=[e,...s],d=(0,r.default)("brz-accordion__filter",`brz-accordion__filter--${o}`),u=(0,r.default)("brz-li brz-accordion__filter__item",`brz-accordion__filter__item--${o}`);return i.default.createElement("div",{className:"brz-accordion__filter-wrapper"},i.default.createElement("ul",{className:`brz-ul ${d}`},c.map(((o,r)=>i.default.createElement(l.default,{...t,key:r},i.default.createElement("li",{className:u+""+(this.state.visibleTag===o?" brz-accordion__filter__item--active":""),"data-filter":o===e?"*":o,onClick:()=>{this.handleFilterClick(o)}},o===e?i.default.createElement(a.TextEditor,{value:e,onChange:this.handleMainTagChange}):o))))))}removeItem(e){const t=this.getDBValue()||[],o=(0,n.removeAt)(t,e);this.handleAccordionActive(0),setTimeout((()=>{this.handleValueChange(o,{arrayOperation:"remove"})}),0)}renderItemsContainer(e){const{className:t,style:o,enableTags:r,animDuration:n}=this.props;return i.default.createElement("div",{className:t,style:o,"data-duration":1e3*n},"on"===r&&this.tags.size>0&&this.renderTags(),e)}}const f=p},19200:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=o(64985),i={getItems:()=>[{id:"main",type:"group",title:(0,r.t)("Tabs"),icon:"nc-tabs",disabled:(e,t)=>t.isInSubMenu,items:[]}]}},39553:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=P(o(60042)),i=P(o(27378)),n=o(10301),a=P(o(39552)),l=P(o(36275)),s=P(o(63692)),c=o(66005),d=o(97045),u=o(92213),p=o(94220),f=o(69321),m=k(o(24119)),y=P(o(22662)),g=P(o(19200)),b=P(o(15332)),h=k(o(9490)),v=k(o(53399)),S=k(o(76585)),w=o(77377),x=k(o(89874)),M=k(o(20990)),T=k(o(92904));function P(e){return e&&e.__esModule?e:{default:e}}function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(C=function(e){return e?o:t})(e)}function k(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=C(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class _ extends s.default{static get componentId(){return"Accordion"}static defaultProps={meta:{},extendParentToolbar:n.noop};static defaultValue=b.default;handleAllTagChange=e=>{this.patchValue({allTag:e})};componentDidMount(){const e=this.makeToolbarPropsFromConfig2(M,v,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}handleNav=e=>{this.patchValue({activeAccordionItem:e})};patchValue(e,t){const{fontStyle:o}=e;super.patchValue({...e,...o?(0,c.getTagNameFromFontStyle)(o):{}},t)}dvv=e=>{const t=this.getValue(),o=(0,d.deviceModeSelector)((0,u.getStore)().getState()),r=m.mRead(t.tabsState);return(0,f.defaultValueValue)({v:t,key:e,device:o,state:r})};getAnimationClassName=(e,t,o)=>{if(!(0,f.validateKeyByProperty)(e,"animationName","none"))return;const i=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,p.css)(`${this.getComponentId()}-animation-${i}`,`${this.getId()}-animation-${i}`,(0,w.styleAnimation)(e,t,o)))};renderForEdit(e,t,o){const{activeAccordionItem:n,filterStyle:s,navIcon:c,collapsible:d,animDuration:u,enableTags:f,tagName:m,allTag:b,sortTags:v}=e,M=(0,r.default)("brz-accordion",(0,p.css)(this.constructor.componentId,this.getId(),(0,w.style)(e,t,o))),P=this.getAnimationClassName(e,t,o),C=this.makeSubcomponentProps({allTag:b,sortTags:v,className:M,filterStyle:s,activeAccordionItem:n,navIcon:c,collapsible:d,tagName:m,animDuration:u,enableTags:f,animationClassName:P,bindWithKey:"items",handleAllTagChange:this.handleAllTagChange,handleNav:this.handleNav,meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(x,h,{allowExtend:!1}),toolbarExtendFilter:this.makeToolbarPropsFromConfig2(T,S,{allowExtend:!1})});return i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(a.default,this.makeContextMenuProps(g.default),i.default.createElement(y.default,C)))}}const O=_},9490:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(93873),i=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"titlePadding",label:(0,i.t)("Title Padding"),position:40,type:"padding-dev"},{id:"padding",label:(0,i.t)("Content Padding"),position:50,type:"padding-dev"},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),position:65},{id:"tagName",label:(0,i.t)("HTML Tag"),type:"select-dev",choices:[{title:"Span",value:"span"},{title:"Div",value:"div"},{title:"P",value:"p"},{title:"H1",value:"h1"},{title:"H2",value:"h2"},{title:"H3",value:"h3"},{title:"H4",value:"h4"},{title:"H5",value:"h5"},{title:"H6",value:"h6"},{title:"PRE",value:"pre"}]}]},{id:"effects",title:(0,i.t)("Effects"),label:(0,i.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",tabs:[{id:"entrance",label:(0,i.t)("Entrance"),options:[{id:"animation",type:"animation-dev",config:{types:r.tabEffects}}]}]}]}]}]}},53399:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return l},getItems:function(){return s}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(16526),l=(0,n.t)("Accordion");function s(){const e=(0,a.isStory)(r.default.getAll());return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),icon:"nc-styling"},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,n.t)("Hover Transition"),disabled:e,devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},76585:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Accordion Tags");function n(){return[{id:"filterPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}},{id:"filterBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]}},77377:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return i},styleAnimation:function(){return n}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && > .brz-accordion__item:not(.brz-accordion__item--active):hover":{standart:["cssStyleBoxShadow","cssStyleBorder","cssStyleColor","cssStyleBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-accordion__item:hover":{standart:["cssStyleBorderRadius"]},".brz && > .brz-accordion__item.brz-accordion__item--active":{standart:["cssStyleElementAccordionActiveColor","cssStyleElementAccordionActiveBgColor","cssStyleElementAccordionActiveBorder","cssStyleElementAccordionActiveShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-accordion__item > .brz-accordion__nav":{standart:["cssStyleElementAccordionNavAlign","cssStyleElementAccordionTitlePadding"]},".brz && > .brz-accordion__item > .brz-accordion__nav .brz-accordion__nav-title":{standart:["cssStyleTextAlign","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz && > .brz-accordion__item .brz-accordion--icon-wrapper":{standart:["cssStyleElementAccordionNavIconSpacing"]},".brz && > .brz-accordion__item > .brz-accordion__nav .brz-accordion--icon-wrapper .brz-icon-svg":{standart:["cssStyleElementAccordionNavIconSize"]},".brz && > .brz-accordion__item:not(:last-child)":{standart:["cssStyleElementAccordionSpacing"]},".brz &&:hover > .brz-accordion__item > .brz-accordion__content > .brz-accordion__item-content":{standart:["cssStylePaddingFourFields","cssStyleElementAccordionAnimDuration","cssStyleElementAccordionMarginTop"]},".brz && > .brz-accordion__filter-wrapper":{standart:["cssStyleElementAccordionFilterHorizontalAlign"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter":{standart:["cssStyleElementAccordionFilterAfterSpacing","cssStyleElementAccordion3FontFamily","cssStyleElementAccordion3FontSize","cssStyleElementAccordion3LineHeight","cssStyleElementAccordion3FontWeight","cssStyleElementAccordion3LetterSpacing"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter > .brz-accordion__filter__item":{standart:["cssStyleElementAccordionFilterSpacing"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter > .brz-accordion__filter__item:not(.brz-accordion__filter__item--active):hover":{standart:["cssStyleElementAccordionFilterColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter > .brz-accordion__filter__item--style-1:not(.brz-accordion__filter__item--active):hover":{standart:["cssStyleElementAccordionFilterBgColor","cssStyleElementAccordionFilterBorder","cssStyleElementAccordionFilterShadow"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter > .brz-accordion__filter__item--style-1:hover":{standart:["cssStyleElementAccordionFilterPaddingFourFields","cssStyleElementAccordionFilterBorderRadius"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter > .brz-accordion__filter__item--style-1.brz-accordion__filter__item--active":{standart:["cssStyleElementAccordionFilterActiveColor","cssStyleElementAccordionFilterActiveBgColor","cssStyleElementAccordionFilterActiveBorder","cssStyleElementAccordionFilterActiveShadow"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter > .brz-accordion__filter--style-2:hover":{standart:["cssStyleElementAccordionFilterPaddingFourFields","cssStyleElementAccordionFilterBgColor","cssStyleElementAccordionFilterBorder","cssStyleElementAccordionFilterShadow","cssStyleElementAccordionFilterBorderRadius","cssStyleDisplayInlineFlex"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter > .brz-accordion__filter__item--style-2.brz-accordion__filter__item--active":{standart:["cssStyleElementAccordionFilterActiveColor"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},89874:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({key:e,v:t,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgColorHex"),s("bgColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-toggle",title:(0,i.t)("Accordion")},position:60,options:[{id:"media",type:"tabs-dev",position:60,tabs:[{id:"accordion",label:(0,i.t)("Accordion"),options:[{id:"collapsible",label:(0,i.t)("Collapsible"),devices:"desktop",type:"switch-dev"},{id:"animDuration",type:"slider-dev",label:(0,i.t)("Duration"),config:{min:0,max:2,step:.1,units:[{value:"s",title:"s"}]}},{id:"spacing",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"tabIcon",label:(0,i.t)("Icon"),position:80,options:[{id:"navIcon",label:(0,i.t)("Icon"),type:"select-dev",devices:"desktop",choices:[{value:"none",title:"None",icon:{name:"nc-none"}},{value:"thin",title:"Thin",icon:{name:"nc-down-arrow-thin"}},{value:"heavy",title:"Heavy",icon:{name:"nc-down-arrow-heavy"}},{value:"tail",title:"Tail",icon:{name:"nc-down-arrow-tail"}},{value:"filled",title:"Round",icon:{name:"nc-down-arrow-filled"}},{value:"outline",title:"Outline",icon:{name:"nc-down-arrow-outline"}}]},{id:"groupSettings",type:"group-dev",disabled:"none"===s("navIcon"),options:[{id:"navIconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"navIconCustomSize",type:"slider-dev",disabled:"custom"!==s("navIconSize"),config:{min:8,max:100,units:[{title:"px",value:"px"}]}}]}]},{id:"tags",label:(0,i.t)("Tags"),position:80,options:[]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:s("bgColorOpacity")>0?(0,r.hexToRgba)(c,s("bgColorOpacity")):(0,r.hexToRgba)(d,s("colorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBackground",label:(0,i.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"boxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,i.t)("More Settings"),roles:["admin"],position:110,icon:"nc-cog",title:(0,i.t)("Settings")}]}},20990:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarAccordion",type:"popover-dev",config:{icon:"nc-toggle",title:(0,r.t)("Accordion")},position:80,options:[{id:"enableTags",label:(0,r.t)("Enable tags"),type:"switch-dev",devices:"desktop"}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,r.t)("More Settings"),roles:["admin"],position:110,icon:"nc-cog",title:(0,r.t)("Settings"),align:"left"}]}},92904:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({key:e,v:t,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette")),{hex:u}=(0,a.getOptionColorHexByPalette)(c("colorHex"),c("colorPalette"));return[{id:"toolbarGallery",type:"popover-dev",config:{icon:"nc-tags",title:(0,i.t)("Tags")},position:60,options:[{id:"sortTags",label:(0,i.t)("Sort alphabetically"),type:"switch-dev",devices:"desktop"},{id:"filterStyle",label:(0,i.t)("Style"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"style-1",icon:"nc-tags-style-2"},{value:"style-2",icon:"nc-tags-style-1"}]},{id:"filterSpacing",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"afterFilterSpacing",type:"slider-dev",label:(0,i.t)("Content Gap"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"filter",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:c("bgColorOpacity")>0?(0,r.hexToRgba)(d,c("bgColorOpacity")):(0,r.hexToRgba)(u,c("colorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",className:"",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"filterBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabText",label:(0,i.t)("Text"),options:[{id:"filterColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"filterBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"filterBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"filterHorizontalAlign",type:"toggle-dev",devices:"desktop",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,i.t)("More Settings"),roles:["admin"],position:110,icon:"nc-cog",devices:"desktop",title:(0,i.t)("Settings")}]}},76304:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{expand:function(){return o},collapse:function(){return r}});const o=(e,t)=>{const{height:o,duration:r,onFinish:i}=t,n=e.animate([{height:`${o}px`,offset:0},{height:0,offset:1}],{duration:r,iterations:1,fill:"backwards"});"function"==typeof i&&(n.onfinish=i)},r=(e,t)=>{const{height:o,duration:r,onFinish:i}=t,n=e.animate([{height:0,offset:0},{height:`${o}px`,offset:1}],{duration:r,iterations:1,fill:"backwards"});"function"==typeof i&&(n.onfinish=i)}},49542:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return k}});const r=w(o(60042)),i=w(o(27378)),n=w(o(31440)),a=o(54668),l=w(o(36275)),s=o(73948),c=w(o(67439)),d=w(o(63692)),u=o(94220),p=o(86022),f=w(o(17606)),m=M(o(53185)),y=M(o(62876)),g=o(32860),b=M(o(30204)),h=M(o(42086)),v=M(o(73914)),S=M(o(35652));function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function M(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const T=["centerLeft","centerRight"],P={width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}};class C extends d.default{static get componentId(){return"Alert"}static defaultValue=f.default;static experimentalDynamicContent=!0;handleResizerChange=e=>this.patchValue(e);handleTextChange=e=>{this.patchValue(e)};componentDidMount(){const e=this.makeToolbarPropsFromConfig2(v,y,{allowExtend:!1,allowExtendFromThirdParty:!0});this.props.extendParentToolbar(e)}renderAlert(e){const{showCloseButtonAfter:t}=e,o=(0,r.default)("brz-alert-close",{"brz-hidden":!1});return i.default.createElement(i.default.Fragment,null,i.default.createElement(c.default,this.makeToolbarPropsFromConfig2(S,m),i.default.createElement("span",null,i.default.createElement(a.Text,{className:"brz-alert-title",id:"title",v:e,onChange:this.handleTextChange}))),i.default.createElement(c.default,this.makeToolbarPropsFromConfig2(h,m),i.default.createElement("span",null,i.default.createElement(a.Text,{className:"brz-alert-description",id:"description",v:e,onChange:this.handleTextChange}))),i.default.createElement(c.default,this.makeToolbarPropsFromConfig2(b,m),i.default.createElement("span",{className:o},i.default.createElement(s.ThemeIcon,{name:"close-popup",className:"brz-alert-close-icon",type:"editor"}))))}renderForEdit(e,t,o){const a=(0,r.default)("brz-alert",(0,u.css)(this.getComponentId(),this.getId(),(0,g.style)(e,t,o)));return i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(p.Wrapper,this.makeWrapperProps({className:a}),i.default.createElement(n.default,{points:T,restrictions:P,meta:this.props.meta,value:e,onChange:this.handleResizerChange},this.renderAlert(e))))}renderForView(e,t,o){const{showCloseButtonAfter:n}=e,a=(0,r.default)("brz-alert",(0,u.css)(this.getComponentId(),this.getId(),(0,g.style)(e,t,o)));return i.default.createElement(p.Wrapper,{...this.makeWrapperProps({className:a}),attributes:{"data-delay":n}},this.renderAlert(e))}}const k=C},53185:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},62876:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(16526);function l(){const e=(0,a.isStory)(r.default.getAll());return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),options:[{id:"padding",type:"padding-dev",devices:"desktop",disabled:!0},{id:"alertPadding",type:"padding-dev",label:(0,n.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,n.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),options:[{id:"hoverTransition",label:(0,n.t)("Hover Transition"),disabled:e,devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",disabled:!0},{id:"alertPadding",type:"padding-dev",label:(0,n.t)("Padding"),devices:"responsive",position:50}]}]}]}},32860:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth","cssStyleBorder","cssStyleBgColor","cssStyleAlertContainerShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition"]},".brz && .brz-ed-box__resizer":{standart:["cssStyleAlertPadding"]},".brz &&:hover .brz-alert-title":{standart:["cssStyleElementAlertTitleFontFamily","cssStyleElementAlertTitleFontSize","cssStyleElementAlertTitleLineHeight","cssStyleElementAlertTitleFontWeight","cssStyleElementAlertTitleLetterSpacing","cssStyleElementAlertTitleColor","cssStyleDisplayBlock","cssStyleElementAlertTitleShadow","cssStyleElementAlertTitleAlign"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-alert-description":{standart:["cssStyleElementAlertDescriptionFontFamily","cssStyleElementAlertDescriptionFontSize","cssStyleElementAlertDescriptionLineHeight","cssStyleElementAlertDescriptionFontWeight","cssStyleElementAlertDescriptionLetterSpacing","cssStyleElementAlertDescriptionColor","cssStyleDisplayBlock","cssStyleElementAlertDescriptionShadow","cssStyleElementAlertDescriptionAlign","cssStyleElementAlertDescriptionVisibility","cssStyleElementAlertDescriptionGap"],interval:["cssStyleHoverTransition"]},".brz && .brz-alert-close:hover":{standart:["cssStyleElementAlertCloseButtonVisibility","cssStyleElementAlertCloseButtonSize","cssStyleElementAlertCloseButtonPosition","cssStyleElementAlertCloseButtonBorderRadius","cssStyleElementAlertCloseButtonColor","cssStyleElementAlertCloseButtonBgColor","cssStyleBoxShadow"],interval:["cssStyleHoverTransition"]},".brz && .brz-alert-close-icon":{standart:["cssStyleElementAlertCloseButtonBgSize"]}}})}},30204:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(69321),i=o(64985),n=o(81405),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,r.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("closeColorHex"),s("closeColorPalette"));return[{id:"toolbarCloseButtonIcon",type:"popover-dev",config:{icon:"nc-star",title:(0,i.t)("Icon")},position:70,options:[{id:"toolbarCloseButtonIconTabs",type:"tabs-dev",tabs:[{id:"tabIcon",label:(0,i.t)("Icon"),options:[{id:"closeHorizontalPosition",label:(0,i.t)("Lateral"),type:"slider-dev",config:{min:0,max:50,units:[{title:"px",value:"px"}]}},{id:"closeVerticalPosition",label:(0,i.t)("Vertical"),type:"slider-dev",config:{min:0,max:50,units:[{title:"px",value:"px"}]}},{id:"groupCloseSize",type:"group-dev",options:[{id:"closeSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"closeCustomSize",type:"slider-dev",disabled:"custom"!==s("closeSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]}]},{id:"tabBackground",label:(0,i.t)("Background"),options:[{id:"closeBgSize",label:(0,i.t)("Size"),type:"slider-dev",config:{min:0,max:30,units:[{title:"px",value:"px"}]}},{id:"groupCloseBorderRadiusShape",type:"group-dev",options:[{id:"closeBorderRadiusShape",label:(0,i.t)("Corner"),type:"radioGroup-dev",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}]},{id:"closeBorderRadius",type:"slider-dev",disabled:"custom"!==s("closeBorderRadiusShape"),config:{min:0,max:50,units:[{title:"px",value:"px"}]}}]}]}]}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(c,s("closeColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabIcon",label:(0,i.t)("Icon"),options:[{id:"closeColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,i.t)("Background"),options:[{id:"closeBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},42086:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81263),i=o(81405),n=o(64985),a=o(69321),l=o(68256),s=o(24119);function c(e){let{v:t,device:o,context:c}=e;const d=e=>(0,a.defaultValueValue)({key:e,v:t,device:o}),{hex:u}=(0,l.getOptionColorHexByPalette)(d("descriptionColorHex"),d("descriptionColorPalette")),p=(0,l.getDynamicContentOption)({options:c.dynamicContent.config,type:r.DCTypes.richText,config:{iconOnly:!0}});return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"xlarge":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"gridTypographyParagraph",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"description",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"auto",align:"center",options:[{id:"description",type:"population-dev",config:p,devices:"desktop"}]}]}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(u)}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabDescription",label:(0,n.t)("Description"),options:[{id:"descriptionColor",type:"colorPicker-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabShadow",label:(0,n.t)("Shadow"),options:[{id:"descriptionTextShadow",type:"textShadow-dev",states:[s.NORMAL,s.HOVER]}]}]}]},{id:"descriptionHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"gap",label:(0,n.t)("Gap"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},73914:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(24119);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{bgColorHex:s,bgColorHexOpacity:c}=t;return[{id:"toolbarShowHideButton",type:"popover-dev",config:{icon:"nc-alert",title:(0,i.t)("Alert")},position:60,options:[{id:"groupShowCloseButton",type:"group-dev",devices:"desktop",options:[{id:"closeButtonState",type:"switch-dev",label:(0,i.t)("Display Close Button")},{id:"showCloseButtonAfter",label:(0,i.t)("Delay"),type:"slider-dev",disabled:"on"!==l("closeButtonState"),config:{min:0,max:10,units:[{title:"s",value:"s"}]}}]},{id:"descriptionState",type:"switch-dev",label:(0,i.t)("Display Description"),devices:"desktop"}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,c)}}},position:70,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,i.t)("Background"),options:[{id:"bgColor",type:"colorPicker-dev",states:[a.NORMAL,a.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[a.NORMAL,a.HOVER]}]},{id:"tabShadow",label:(0,i.t)("Shadow"),options:[{id:"containerBoxShadow",type:"boxShadow-dev",states:[a.NORMAL,a.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[{id:"width",label:(0,i.t)("Width"),type:"slider-dev",config:{min:"px"===l("widthSuffix")?200:15,max:"px"===l("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0}]}},35652:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81263),i=o(81405),n=o(64985),a=o(69321),l=o(68256),s=o(24119);function c(e){let{v:t,device:o,context:c}=e;const d=e=>(0,a.defaultValueValue)({key:e,v:t,device:o}),{hex:u}=(0,l.getOptionColorHexByPalette)(d("titleColorHex"),d("titleColorPalette")),p=(0,l.getDynamicContentOption)({options:c.dynamicContent.config,type:r.DCTypes.richText,config:{iconOnly:!0}});return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"xlarge":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"gridTypographyParagraph",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"title",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"auto",align:"center",options:[{id:"title",type:"population-dev",config:p,devices:"desktop"}]}]}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(u)}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabTitle",label:(0,n.t)("Title"),options:[{id:"titleColor",type:"colorPicker-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabShadow",label:(0,n.t)("Shadow"),options:[{id:"titleTextShadow",type:"textShadow-dev",states:[s.NORMAL,s.HOVER]}]}]}]},{id:"titleHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},11384:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const r=o(42162),i=v(o(60042)),n=v(o(27378)),a=v(o(31440)),l=v(o(36275)),s=v(o(53125)),c=v(o(67439)),d=v(o(63692)),u=o(94220),p=o(59209),f=o(68256),m=o(86022),y=v(o(14010)),g=w(o(53947)),b=o(61382),h=w(o(31130));function v(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(S=function(e){return e?o:t})(e)}function w(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=S(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const x=["topLeft","topCenter","topRight","centerLeft","centerRight","bottomLeft","bottomCenter","bottomRight"];class M extends d.default{static get componentId(){return"Audio"}static defaultValue=y.default;static experimentalDynamicContent=!0;handleResizerChange=e=>this.patchValue(e);getResizerRestrictions(e){return{height:{px:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},"%":{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight}},width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletHeight:{px:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},"%":{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileHeight:{px:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},"%":{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}}}renderSoundCloud(e){const{url:t,autoPlay:o,showArtwork:i,likeButton:a,buyButton:l,downloadButton:c,shareButton:d,comments:u,playCounts:p,username:m,artWork:y,controlsHex:g,controlsPalette:b}=e,{hex:h}=(0,f.getOptionColorHexByPalette)(g,b),v=h.split("#")[1];return t?n.default.createElement(r.SoundCloud,{src:t,isAutoPlay:"on"===o,isVisual:"on"===i,showLikeButton:"on"===a,showBuyButton:"on"===l,showDownloadButton:"on"===c,showShareButton:"on"===d,showComments:"on"===u,showPlayCounts:"on"===p,showUsername:"on"===m,showArtwork:"on"===y,controlsColor:v,className:"brz-blocked"}):n.default.createElement(s.default,{icon:"sound-cloud"})}renderAudio(e,t,o){const{loop:a,audio:l,showCurrentTime:s,showDurationTime:c,showProgressBarTrack:d,showProgressBarVolume:f}=e,m=(0,i.default)("brz-custom-audio",(0,u.css)(`${this.constructor.componentId}-bg2`,`${this.getId()}-bg2`,(0,b.styleWrapperAudio)(e,t,o))),y=(0,i.default)("brz-audio-controls",(0,u.css)(`${this.constructor.componentId}-controls`,`${this.getId()}-controls`,(0,b.styleControls)(e,t,o))),g=(0,u.css)(`${this.constructor.componentId}-icon`,`${this.getId()}-icon`,(0,b.styleIcon)(e,t,o)),h=(0,p.customFileUrl)(l)??"";return n.default.createElement(r.Audio,{src:h,showCurrentTime:"on"===s,showDurationTime:"on"===c,showProgressBarTrack:"on"===d,showProgressBarVolume:"on"===f,classNameAudio:m,classNameControls:y,classNameIcon:g})}renderForView(e,t,o){const{type:r}=e,a=(0,i.default)({"brz-audio":"custom"===r},{"brz-soundcloud":"soundcloud"===r},(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,b.styleContent)(e,t,o)));return n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(m.Wrapper,this.makeWrapperProps({className:a}),"custom"===r?this.renderAudio(e,t,o):this.renderSoundCloud(e)))}renderForEdit(e,t,o){const{type:r}=e,s=(0,i.default)({"brz-audio":"custom"===r},{"brz-soundcloud":"soundcloud"===r},(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,b.styleContent)(e,t,o)));return n.default.createElement(c.default,this.makeToolbarPropsFromConfig2(h,g),n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(m.Wrapper,this.makeWrapperProps({className:s}),n.default.createElement(a.default,{points:x,restrictions:this.getResizerRestrictions(e),meta:this.props.meta,value:e,onChange:this.handleResizerChange},"custom"===r?this.renderAudio(e,t,o):this.renderSoundCloud(e)))))}}const T=M},53947:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Audio");function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50}]}]}]}},61382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleContent:function(){return i},styleWrapperAudio:function(){return n},styleControls:function(){return a},styleIcon:function(){return l}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth","cssStyleSizeMinHeightPx"]},".brz &&:hover .brz-audio-progress":{standart:["cssStyleBg2Color"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover:before":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-soundCloud-content":{standart:["cssStyleBorderRadius","cssStyleBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover iframe":{standart:["cssStyleSizeHeight","cssStylePaddingBG"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderRadius","cssStyleBoxShadow","cssStyleBorder","cssStyleBgColor","cssStyleDisplayFlex","cssStylePaddingBG"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-audio__cover::before":{standart:["cssStyleElementVideoCoverSrc","cssStyleElementVideoCoverPosition","cssStyleElementVideoBgSize","cssStyleBorderRadius"]},".brz &&:hover > .brz-audio-controls > .brz-audio-current-time":{standart:["cssStyleColor"]},".brz &&:hover > .brz-audio-controls > .brz-audio-total-time":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-audio-slider:before":{standart:["cssStyleBg2Color","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleDisplayFlex","cssStyleElementMediaPadding","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]}}})}function l(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeFontSizeIcon","cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},31130:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=o(81263),i=o(81405),n=o(64985),a=o(69321),l=o(68256),s=o(24119),c=o(57582);function d(e){let{v:t,device:o,context:d}=e;const u=e=>(0,a.defaultValueValue)({v:t,key:e,device:o}),{hex:p}=(0,l.getOptionColorHexByPalette)(u("bgColorHex"),u("bgColorPalette")),{hex:f}=(0,l.getOptionColorHexByPalette)(u("borderColorHex"),u("borderColorPalette")),m=(0,l.getDynamicContentOption)({options:d.dynamicContent.config,type:r.DCTypes.link}),y="custom"===u("type");return[{id:"toolbarCurrentElement",type:"popover-dev",devices:"desktop",config:{icon:"nc-audio",title:(0,n.t)("Audio")},position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElementUpload",label:(0,n.t)("Audio"),options:[{id:"url",label:(0,n.t)("Link"),type:"inputText-dev",disabled:y,placeholder:(0,n.t)("SoundCloud Link"),population:m},(0,c.toolbarElementSoundCloudStyle)({v:t,device:o,disabled:y,state:"normal"}),{id:"autoPlay",label:(0,n.t)("Autoplay"),type:"switch-dev",disabled:y}]},{id:"soundCloudAppearenceOptions",label:(0,n.t)("Appearence"),options:[{id:"artWork",label:(0,n.t)("Artwork"),type:"switch-dev",disabled:y},{id:"comments",label:(0,n.t)("Comments"),type:"switch-dev",disabled:y},{id:"playCounts",label:(0,n.t)("Play Counts"),type:"switch-dev",disabled:y},{id:"username",label:(0,n.t)("Username"),type:"switch-dev",disabled:y}]},{id:"soundCloudButtonsOptions",label:(0,n.t)("Buttons"),options:[{id:"likeButton",label:(0,n.t)("Like"),type:"switch-dev",disabled:y},{id:"buyButton",label:(0,n.t)("Buy"),type:"switch-dev",disabled:y},{id:"downloadButton",label:(0,n.t)("Download"),type:"switch-dev",disabled:y},{id:"shareButton",label:(0,n.t)("Share"),type:"switch-dev",disabled:y}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:u("bgColorOpacity")>0?(0,i.hexToRgba)(f,u("borderColorOpacity")):(0,i.hexToRgba)(p,u("bgColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabIcon",label:(0,n.t)("Icon"),options:[{id:"color",type:"colorPicker-dev",disabled:"soundcloud"===u("type"),states:[s.NORMAL,s.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabBgProgress",label:(0,n.t)("Slider"),options:[{id:"bg2Color",type:"colorPicker-dev",disabled:"soundcloud"===u("type"),states:[s.NORMAL,s.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabControls",label:(0,n.t)("Controls"),options:[{id:"controls",type:"colorPicker-dev",disabled:y,config:{opacity:!1}}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,n.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===u("widthSuffix")?1e3:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}},{id:"height",label:(0,n.t)("Height"),type:"slider-dev",config:{min:40,max:300,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},52024:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return R}});const r=N(o(60042)),i=N(o(27378)),n=N(o(31440)),a=o(54668),l=N(o(36275)),s=o(62182),c=o(21407),d=N(o(1440)),u=o(10730),p=o(73948),f=N(o(67439)),m=o(81930),y=N(o(10787)),g=N(o(63692)),b=o(26989),h=N(o(22546)),v=o(97045),S=o(92213),w=o(94220),x=o(49863),M=o(16526),T=o(69321),P=L(o(4645)),C=L(o(24119)),k=L(o(59638)),_=o(22741),O=o(86022),E=N(o(83120)),z=L(o(10488)),B=o(3870),j=L(o(55319));function N(e){return e&&e.__esModule?e:{default:e}}function I(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(I=function(e){return e?o:t})(e)}function L(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=I(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const D=["topLeft","topCenter","topRight","centerLeft","centerRight","bottomLeft","bottomCenter","bottomRight"],F={width:{"%":{min:10,max:100}},height:{"%":{min:5,max:1/0}}},A=(0,x.pipe)(P.read,_.isNullish);class R extends g.default{static get componentId(){return"Button"}static defaultValue=E.default;static experimentalDynamicContent=!0;handleResizerChange=e=>this.patchValue(e);handleTextChange=e=>this.patchValue(e);renderIcon(e,t,o){const{iconName:n,iconType:a}=e,l=(0,r.default)((0,w.css)(`${this.getComponentId()}-icon`,`${this.getId()}-icon`,(0,B.styleIcon)(e,t,o)));return i.default.createElement(p.ThemeIcon,{className:l,name:n,type:a})}renderSubmit(e,t,o,a){const{cssClassPopulation:l,customClassName:s,cssIDPopulation:c,customID:d,tabsState:u,type:p}=e,f=(0,v.deviceModeSelector)(this.getReduxState()),y=C.mRead(u),g=""===l?k.mRead(s):k.mRead(l),b=(0,r.default)("brz-btn","brz-btn-submit",g,(0,w.css)(`${this.getComponentId()}-bg`,`${this.getId()}-bg`,(0,B.style)(e,t,o,(0,m.hasSizing)(e,f,y),f))),h=""===c?d:c;return i.default.createElement(O.Wrapper,{...this.makeWrapperProps({className:b}),component:"a",attributes:{...this.props.attributes,...h&&{id:h}}},(0,m.hasSizing)(e,f,y)&&"submit"!==p?i.default.createElement(n.default,{points:D,value:e,onChange:this.handleResizerChange,restrictions:F},a):a)}renderLink(e,t,o,a){const{linkType:l,linkAnchor:s,linkToSlide:c,linkExternalBlank:u,linkExternalType:p,linkExternalRel:f,linkPopup:y,linkUpload:g,actionClosePopup:b,customClassName:h,customID:S,cssIDPopulation:x,cssClassPopulation:M,pageLink:T,tabsState:P}=e,_=C.mRead(P),E=(0,v.deviceModeSelector)(this.getReduxState()),z=""===M?k.mRead(h):k.mRead(M),j=""===x?k.mRead(S):k.mRead(x),N=(0,r.default)("brz-btn",z,(0,w.css)(`${this.getComponentId()}-bg`,`${this.getId()}-bg`,(0,B.style)(e,t,o,(0,m.hasSizing)(e,E,_),E)),{"brz-popup2__action-close":"action"===l&&"on"===b}),I={anchor:s,story:A(c)?"":`slide-${c}`,external:e[p],popup:y,upload:g,page:T,action:"",lightBox:""},L="story"!==l||A(c)?{}:{"data-brz-link-story":c},R={type:l,href:I[l],target:u,rel:f,className:N,id:j,onDragStart:e=>(e.preventDefault(),!1),draggable:"false"};return i.default.createElement(O.Wrapper,{...this.makeWrapperProps({attributes:R,slide:L}),component:d.default},(0,m.hasSizing)(e,E,_)?i.default.createElement(n.default,{points:D,value:e,onChange:this.handleResizerChange,restrictions:F},a):a)}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{value:{popupId:t}}=e;const{blockId:o}=e;return"GlobalBlock"===e.type&&(t=(0,v.blocksDataSelector)((0,S.getStore)().getState())[e.value._id].value.popupId),{blockId:o,instanceKey:`${this.getId()}_${t}`}}});return i.default.createElement(y.default,e)}dvv=e=>{const t=this.getValue(),o=(0,v.deviceModeSelector)(this.getReduxState()),r=C.mRead(t.tabsState);return(0,T.defaultValueValue)({v:t,key:e,device:o,state:r})};renderForEdit(e,t,o){const{type:r,iconName:n,iconType:d,customCSS:p,tabsState:y}=e,g=(0,M.isStory)(h.default.getAll()),w=C.mRead(y),x=(0,v.deviceModeSelector)(this.getReduxState()),T=n&&d,P=k.read(this.dvv("hoverName"))??"none",_=(0,m.hasSizing)(e,x,w)&&"submit"!==r?i.default.createElement("div",{className:"brz-btn--story-container"},T&&this.renderIcon(e,t,o),i.default.createElement(a.Text,{id:"text",v:e,onChange:this.handleTextChange})):i.default.createElement(i.default.Fragment,null,T&&this.renderIcon(e,t,o),i.default.createElement(a.Text,{id:"text",v:e,onChange:this.handleTextChange})),O="link"===r?this.renderLink(e,t,o,_):this.renderSubmit(e,t,o,_),E=(0,u.makeOptionValueToAnimation)(e),{cloneableAnimationId:B}=this.props.meta,N=k.read(B)??this.getId(),I=g||!1;return i.default.createElement(i.default.Fragment,null,i.default.createElement(f.default,this.makeToolbarPropsFromConfig2(j,z),i.default.createElement(l.default,{selectorName:this.getId(),css:p},i.default.createElement(s.HoverAnimation,{animationId:N,className:"brz-btn-hover__unset-height",cssKeyframe:P,options:(0,c.getHoverAnimationOptions)(E,P),isHidden:I},O))),(0,b.shouldRenderPopup)(e,(0,v.blocksDataSelector)((0,S.getStore)().getState()))&&this.renderPopups())}}},10488:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return f},getItems:function(){return m}});const r=o(21407),i=o(93873),n=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(81263),s=o(64985),c=o(16526),d=o(69321),u=o(68256),p=o(59638),f=(0,s.t)("Button"),m=e=>{let{v:t,context:o,device:a}=e;const f=(0,u.getDynamicContentOption)({options:o.dynamicContent.config,type:l.DCTypes.richText}),m=e=>(0,d.defaultValueValue)({v:t,key:e,device:a}),y=m("type"),g=(0,c.isStory)(n.default.getAll()),b=(0,p.read)(m("hoverName"))??"none";return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,s.t)("Styling"),label:(0,s.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",disabled:"search"===y,tabs:[{id:"moreSettingsAdvanced",label:(0,s.t)("Advanced"),icon:"nc-cog",options:[{id:"cssID",label:(0,s.t)("CSS ID"),type:"population-dev",position:30,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:f,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,s.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:f,option:{id:"customClassName",type:"inputText-dev"}},{id:"hoverTransition",label:(0,s.t)("Hover Transition"),disabled:g,devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]},{id:"effects",title:(0,s.t)("Effects"),label:(0,s.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"tabHover",label:(0,s.t)("Hover"),position:100,options:[{id:"hover",type:"animation-dev",disabled:g,devices:"desktop",config:{types:i.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(b),delay:!1}}]}]}]}]}]}},3870:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return n},styleIcon:function(){return a}});const r=o(94220),i=o(69321);function n(e,t,o,n,a){const l="submit"===("type",(0,i.defaultValueValue)({v:e,key:"type",device:a})),s={".brz &&.brz-btn:hover":{standart:["cssStyleDisplayFlex","cssStyleTypographyFontFamily","cssStyleTypographyFontWeight","cssStyleTypographyFontSize","cssStyleTypographyLineHeight","cssStyleTypographyLetterSpacing","cssStyleColor",...n&&!l?[]:["cssStyleBorder"],"cssStyleBorderRadiusType","cssStyleElementButtonBgColor","cssStyleElementButtonBgGradient","cssStyleBoxShadow","cssStylePaddingFourFields","cssStyleElementButtonIconPosition","cssStyleSizeWidth","cssStyleSizeHeightPxOnly","cssStyleElementButtonSize"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&.brz-btn.brz-btn-submit:hover":{standart:["cssStyleColor","cssStyleElementButtonBgColor","cssStyleElementButtonBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover:after":{standart:n||l?[]:["cssStyleSizeHeightPercentOnly"]},".brz &&:hover > .brz-ed-box__resizer":{standart:["cssStyleDisplayFlex","cssStyleElementButtonIconPosition"]},".brz &&:hover .brz-btn--story-container":{standart:["cssStyleElementButtonBorderStory","cssStyleElementButtonIconPosition","cssStyleBorderRadiusType"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-btn--story-container:after":{standart:["cssStyleSizeHeightPercentOnly"]}};return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:s})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeFontSizeIcon","cssStyleElementButtonIconMargin","cssStyleElementButtonIconStrokeWidth"]}}})}},55319:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return m}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81263),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119),p=o(57582),f=o(81930),m=e=>{let{v:t,device:o,component:i}=e;const m=r.default.getAll(),y=(0,s.isStory)(m),g=(0,s.isPopup)(m),b=Boolean(i.props.meta?.sectionPopup),h=Boolean(i.props.meta?.sectionPopup2),v=i.context,S=e=>(0,c.defaultValueValue)({v:t,key:e,device:o}),w=(0,f.getMaxBorderRadius)(t,o),{hex:x}=(0,d.getOptionColorHexByPalette)(S("bgColorHex"),S("bgColorPalette")),{hex:M}=(0,d.getOptionColorHexByPalette)(S("colorHex"),S("colorPalette")),T=(0,d.getDynamicContentOption)({options:v.dynamicContent.config,type:n.DCTypes.richText,config:{iconOnly:!0}}),P=S("type"),C=S("linkPopup"),k=S("fillType"),_=S("colorOpacity"),O=S("bgColorOpacity"),E="submit"===P,z="search"===P,B="custom"!==S("size"),j="custom"!==S("iconSize"),N="custom"!==S("borderRadiusType"),I=""===S("iconName")&&""===S("iconType");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-button",title:(0,l.t)("Button")},position:20,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,l.t)("Button"),roles:["admin"],options:[{id:"sizeGroup",type:"group-dev",position:10,disabled:y,options:[{id:"size",label:(0,l.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"paddingRL",label:(0,l.t)("Width"),type:"slider-dev",disabled:E||B,config:{min:0,max:100,units:[{title:"px",value:"px"}]}},{id:"paddingTB",label:(0,l.t)("Height"),type:"slider-dev",disabled:B,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"fillType",label:(0,l.t)("Fill"),devices:"desktop",type:"radioGroup-dev",position:20,choices:[{value:"filled",icon:"nc-circle"},{value:"outline",icon:"nc-outline"},{value:"default",icon:"nc-close"}]},{id:"borderRadiusTypeGroup",type:"group-dev",devices:"desktop",disabled:z,position:30,options:[{id:"borderRadiusType",label:(0,l.t)("Corner"),type:"radioGroup-dev",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}]},{id:"borderRadius",type:"slider-dev",disabled:N,config:{min:0,max:y?100:w,units:[{title:"px",value:"px"}]}}]}]},{id:"currentShortcodeIconTab",label:(0,l.t)("Icon"),options:[{id:"icon",label:(0,l.t)("Icon"),type:"iconSetter-dev",devices:"desktop",config:{canDelete:!0}},{id:"iconPosition",label:(0,l.t)("Position"),devices:"desktop",type:"radioGroup-dev",disabled:I,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"iconSizeGroup",type:"group-dev",devices:"desktop",disabled:I,options:[{id:"iconSize",label:(0,l.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:j,config:{min:1,max:100,units:[{title:"px",value:"px"}]}}]},{id:"iconSpacing",label:(0,l.t)("Spacing"),type:"slider-dev",devices:"desktop",roles:["admin"],disabled:I,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"xlarge":"auto",title:(0,l.t)("Typography")},position:70,options:[{id:"gridTypography",type:"grid-dev",className:"brz-typography-grid",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"auto",align:"center",className:"brz-typography-population",options:[{id:"text",type:"population-dev",disabled:void 0===T,config:T,devices:"desktop"}]}]}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:"filled"===k?(0,a.hexToRgba)(x,O):(0,a.hexToRgba)(M,_)}}},roles:["admin"],position:80,options:[{id:"tabsColor",className:"",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"",type:"backgroundColor-dev",states:[u.NORMAL,u.HOVER],disabled:"filled"!==k}]},{id:"tabText",label:(0,l.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"border",type:"border-dev",states:[u.NORMAL,u.HOVER],disabled:"default"===k}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER],disabled:"default"===k}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,l.t)("Link")},devices:"desktop",disabled:E||z,position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0},tabs:[{id:"external",label:(0,l.t)("URL"),options:[(0,p.toolbarLinkExternal)({v:t,config:v.dynamicContent.config}),{id:"linkExternalBlank",label:(0,l.t)("Open In New Tab"),type:"switch-dev"},{id:"linkExternalRel",label:(0,l.t)("Make it Nofollow"),type:"switch-dev"}]},{id:"anchor",label:(0,l.t)("Block"),options:[(0,p.toolbarLinkAnchor)({v:t,disabled:g||y})]},{id:"popup",label:(0,l.t)("Popup"),options:[{id:"linkPopup",disabled:b||h||g||y,type:"promptAddPopup",label:(0,l.t)("Popup"),popupKey:`${i.getId()}_${C}`,value:{value:C,popups:S("popups")},onChange:e=>{let{value:t,popups:o}=e;return{linkPopup:t,popups:o}}}]},{id:"story",label:(0,l.t)("Slides"),options:[{id:"linkToSlide",type:"number-dev",label:(0,l.t)("Slide"),disabled:!y,config:{min:1,max:1e6}}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:E||z,roles:["admin"],position:110,icon:"nc-cog",devices:"desktop",title:(0,l.t)("Settings")}]}},81930:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{hasSizing:function(){return c},getMaxBorderRadius:function(){return d}});const r=o(72833),i=o(78438),n=o(73904),a=o(98610),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(4645));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=(e,t,o)=>["width","height"].map((r=>(0,a.defaultValueValue)({v:e,key:r,device:t,state:o}))).map(n.read).every(i.isNumber),d=(e,t)=>{const o=o=>(0,a.defaultValueValue)({v:e,key:o,device:t}),i=l.read(o("paddingTop"))??14,n=l.read(o("iconCustomSize"))??16,s=l.read(o("tempBorderWidth"))??2,c=o("fontStyle"),{fontSize:d,lineHeight:u}=""===c?e:(0,r.getFontStyle)(c)||e,p=d*u>=n?d*u:n;return Math.round((p+2*i+2*s)/2)}},17607:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=g(o(60042)),i=o(42162),n=g(o(27378)),a=g(o(31440)),l=g(o(53125)),s=g(o(67439)),c=o(94220),d=g(o(63692)),u=o(86022),p=g(o(26718)),f=h(o(56648)),m=o(77150),y=h(o(86338));function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const v=["centerLeft","centerRight","topCenter","bottomCenter"],S={width:{px:{min:320,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}};class w extends d.default{static get componentId(){return"Calendly"}static defaultValue=p.default;handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const{link:d}=e,p=(0,r.default)("brz-calendly",(0,c.css)(this.getComponentId(),this.getId(),(0,m.style)(e,t,o)));return n.default.createElement(s.default,this.makeToolbarPropsFromConfig2(y,f),n.default.createElement(u.Wrapper,this.makeWrapperProps({className:p}),n.default.createElement(a.default,{points:v,restrictions:S,meta:this.props.meta,value:e,onChange:this.handleResizerChange},d?n.default.createElement(i.Calendly,{link:d}):n.default.createElement(l.default,{icon:"calendly"}))))}renderForView(e,t,o){const{link:i}=e,a=(0,r.default)("brz-calendly",(0,c.css)(this.getComponentId(),this.getId(),(0,m.style)(e,t,o)));return n.default.createElement(u.Wrapper,{...this.makeWrapperProps({className:a}),attributes:{"data-url":i}},!i&&n.default.createElement(l.default,{icon:"calendly"}))}}const x=w},56648:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",devices:"desktop",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",devices:"desktop",disabled:!0},{id:"calendlyPadding",type:"padding-dev",devices:"desktop",label:(0,r.t)("Padding"),position:50}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",devices:"responsive",disabled:!0},{id:"calendlyPadding",type:"padding-dev",devices:"responsive",label:(0,r.t)("Padding"),position:50}]}]}]}},77150:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth","cssStyleSizeHeightPxOnly"]},".brz &&:hover .calendly-inline-widget":{standart:["cssStyleBgColor","cssStyleBgGradient","cssStyleBorder","cssStyleBoxShadow","cssStyleElementCalendlyPadding"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},86338:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81405),a=o(64985),l=o(16526),s=o(69321),c=o(24119);function d(e){let{v:t,device:o}=e;const i=e=>(0,s.defaultValueValue)({v:t,key:e,device:o});return[{id:"toolbarCalendly",type:"popover-dev",position:90,devices:"desktop",config:{icon:"nc-calendly",title:(0,a.t)("Calendly")},options:[{id:"link",type:"inputText-dev",label:(0,a.t)("Link"),placeholder:"https://calendly.com/user/event"}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(i("bgColorHex"),i("bgColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,a.t)("Background"),options:[{id:"",type:"backgroundColor-dev",states:[c.NORMAL,c.HOVER]}]},{id:"tabLine",label:(0,a.t)("Border"),options:[{id:"border",type:"border-dev",states:[c.NORMAL,c.HOVER]}]},{id:"tabShadow",label:(0,a.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[c.NORMAL,c.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",position:110,config:{icon:"nc-cog",title:(0,a.t)("Settings")},options:[{id:"width",label:(0,a.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===i("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"height",label:(0,a.t)("Height"),type:"slider-dev",config:{min:150,max:1e3,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"sidebarTabsButton-dev",disabled:!(0,l.isStory)(r.default.getAll()),position:110}]}},14232:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=o(64985),i={getItems:()=>[{id:"main",type:"group",title:(0,r.t)("Carousel"),icon:"nc-carousel",disabled:(e,t)=>t.isInSubMenu,items:[]}]}},78365:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(67439),i=o(16957),n=o(64985),a="MacOS"===(0,i.detectOS)(),l=e=>a?e?"alt":"⌘":e?"alt":"ctrl",s=e=>({getItems:c(e)}),c=e=>(t,o)=>{const i=o.getCurrentCopiedElement(),s=i&&"Row"!==i.type;return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,n.t)("Copy"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + C"},onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,n.t)("Paste"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + V"},inactive:!s,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,n.t)("Paste Styles"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + ⇧ + V"},inactive:!s,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,n.t)("Duplicate"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + D"},onChange(){o.cloneItem(e)}},{id:"remove",type:"button",title:(0,n.t)("Delete"),helperText:e=>{let{isInSubMenu:t}=e;return(e=>a?e?"alt + delete":"⌘ + delete":e?"alt + delete":"ctrl + delete")(t)},onChange(){(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},9365:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=h(o(60042)),i=h(o(27378)),n=o(10301),a=h(o(39552)),l=h(o(36275)),s=h(o(63692)),c=o(94220),d=o(89787),u=h(o(14232)),p=h(o(29533)),f=h(o(86084)),m=S(o(92264)),y=o(48073),g=S(o(70142)),b=S(o(43359));function h(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class w extends s.default{static get componentId(){return"Carousel"}static defaultValue=p.default;static defaultProps={extendParentToolbar:n.noop};componentDidMount(){const e=this.makeToolbarPropsFromConfig2(b,m,{allowExtend:!1});this.props.extendParentToolbar(e)}shouldComponentUpdate(e){return this.optionalSCU(e)}handleValueChange(e,t){0===e.items.length?this.selfDestruct():super.handleValueChange(e,t)}getMeta(e){const{meta:t}=this.props,{slidesToShow:o,sliderPaddingType:r,sliderPadding:i,sliderPaddingSuffix:n,sliderPaddingLeft:a,sliderPaddingLeftSuffix:l,sliderPaddingRight:s,sliderPaddingRightSuffix:c,tabletSlidesToShow:u,tabletSliderPaddingType:p,tabletSliderPadding:f,tabletSliderPaddingSuffix:m,tabletSliderPaddingLeft:y,tabletSliderPaddingLeftSuffix:g,tabletSliderPaddingRight:b,tabletSliderPaddingRightSuffix:h,mobileSliderPaddingType:v,mobileSliderPadding:S,mobileSliderPaddingSuffix:w,mobileSliderPaddingLeft:x,mobileSliderPaddingLeftSuffix:M,mobileSliderPaddingRight:T,mobileSliderPaddingRightSuffix:P}=e,C="grouped"===r?(0,d.percentageToPixels)(2*i,n,t.desktopW):(0,d.percentageToPixels)(a,l,t.desktopW)+(0,d.percentageToPixels)(s,c,t.desktopW),k="grouped"===p?(0,d.percentageToPixels)(2*f,m,t.tabletW):(0,d.percentageToPixels)(y,g,t.tabletW)+(0,d.percentageToPixels)(b,h,t.tabletW),_="grouped"===v?(0,d.percentageToPixels)(2*S,w,t.mobileW):(0,d.percentageToPixels)(x,M,t.mobileW)+(0,d.percentageToPixels)(T,P,t.mobileW),O=t.desktopW-C,E=t.tabletW-k,z=t.mobileW-_;return{...t,desktopW:Math.round(O/o),desktopWNoSpacing:Math.round(t.desktopWNoSpacing/o),tabletW:Math.round(E/u),tabletWNoSpacing:Math.round(t.tabletWNoSpacing/u),mobileW:Math.round(z),mobileWNoSpacing:t.mobileWNoSpacing,inCarousel:!0,inGrid:!1}}renderForEdit(e,t,o){const{slidesToShow:n,slidesToScroll:s,sliderArrows:d,sliderAutoPlay:p,sliderAutoPlaySpeed:m,sliderDots:b,swipe:h,dynamic:v,columns:S,taxonomy:w,taxonomyId:x,orderBy:M,order:T,tabletSlidesToShow:P,customCSS:C}=e,k=(0,r.default)("brz-carousel",(0,c.css)(this.getComponentId(),this.getId(),(0,y.style)(e,t,o))),_=this.makeSubcomponentProps({bindWithKey:"items",toolbarExtend:this.makeToolbarPropsFromConfig2(g,null,{allowExtend:!1,allowExtendFromThirdParty:!0}),className:k,meta:this.getMeta(e),slidesToShow:n,slidesToScroll:s,sliderArrows:d,sliderAutoPlay:p,sliderAutoPlaySpeed:m,sliderDots:b,swipe:h,dynamic:v,columns:S,taxonomy:w,taxonomyId:x,orderBy:M,order:T,tabletSlidesToShow:P});return i.default.createElement(l.default,{selectorName:this.getId(),css:C},i.default.createElement(a.default,this.makeContextMenuProps(u.default),i.default.createElement(f.default,_)))}}const x=w},97575:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=g(o(60042)),i=g(o(27378)),n=g(o(31542)),a=g(o(35301)),l=o(39552),s=g(o(24072)),c=g(o(49127)),d=o(73948),u=o(67439),p=g(o(10787)),f=o(64985),m=g(o(78365)),y=o(38311);function g(e){return e&&e.__esModule?e:{default:e}}const b=e=>{let{className:t,extraClassName:o,onClick:n,icon:a}=e;return i.default.createElement("div",{className:(0,r.default)(t,o),onClick:n},i.default.createElement(d.ThemeIcon,{name:a,type:"editor"}))};class h extends p.default{static get componentId(){return"Carousel.Items"}static defaultProps={containerClassName:"",dynamic:"off",taxonomy:"",taxonomyId:"",orderBy:"",order:"",slidesToShow:2,slidesToScroll:1,sliderArrows:"none",sliderDots:"none",meta:{}};slider=null;reopenOnIndex=null;toolbarRef=i.default.createRef();openSlideId=null;componentDidMount(){(0,y.setDataSortable)(this.slider)}componentDidUpdate(e){const{slidesToShow:t,slidesToScroll:o}=this.props;t===e.slidesToShow&&o===e.slidesToScroll||(0,y.setDataSortable)(this.slider),this.toolbarRef.current&&(this.openSlideId=setTimeout((()=>{this.toolbarRef.current.show(),this.reopenOnIndex=null,this.toolbarRef.current=null}),250))}componentWillUnmount(){clearTimeout(this.openSlideId)}handleRefSlider=e=>{this.slider=n.default.findDOMNode(e)};handleSliderAfterChange=()=>{(0,y.setDataSortable)(this.slider)};handleValueChange(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{arrayOperation:o}=t,r="insert"===o||"remove"===o,i=r?(0,y.normalizeCarouselColumns)(e):e;r&&(0,y.setDataSortable)(this.slider),super.handleValueChange(i,t)}handleSortableAcceptElements=(e,t)=>{if("addable"===e.elementType&&"row"===e.elementNode.getAttribute("data-sortable-subtype"))return!1;const o=e.sortableNode===t.sortableNode,r=-1!==["column","shortcode","addable"].indexOf(e.elementType);return o||r};addColumn=e=>{const t=this.getValue(),o={...t[e-1],value:{...t[e-1].value,items:[]}};this.insertItem(e,o)};getParentRef=e=>{const t=e?.closest(".slick-active");if(t)return this.toolbarRef};getItemProps(e,t,o){let{meta:r,slidesToShow:i,dynamic:n,toolbarExtend:a}=this.props;if("off"===n){const e={getItemsForDesktop:()=>[{id:"emptyItem",type:"button",icon:"nc-add",title:(0,f.t)("Add New Column"),position:100,onChange:()=>{this.addColumn(t+1)}},{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,f.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"order",type:"order-dev",devices:"desktop",position:95,roles:["admin"],disabled:o.length<2,config:{disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reopenOnIndex=t-1,this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1),this.reopenOnIndex=t+1}}}},...o.length>i?[{id:"remove",type:"button",title:(0,f.t)("Delete"),icon:"nc-trash",position:250,onChange:()=>{(0,u.hideToolbar)(),this.removeItem(t)}}]:[]],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};a=this.makeToolbarPropsFromConfig(e)}return{meta:r,toolbarExtend:a,...this.reopenOnIndex===t&&{getParentRef:this.getParentRef}}}renderItemWrapper(e,t,o){const r=(0,m.default)(o);return i.default.createElement(l.ContextMenuExtend,{key:t,...this.makeContextMenuProps(r)},i.default.createElement(s.default,{keyNames:["ctrl+M","alt+N","ctrl+N","cmd+N","right_cmd+N","alt+D","alt+C","alt+V","alt+shift+V","shift+alt+V","alt+del","alt+up","alt+down"],shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","verticalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderSlider(e){const{slidesToShow:t,slidesToScroll:o,sliderArrows:r,sliderAutoPlay:n,sliderAutoPlaySpeed:l,sliderDots:s,swipe:c,tabletSlidesToShow:d}=this.props;return i.default.createElement(a.default,{ref:this.handleRefSlider,className:"brz-carousel__slider",slidesToShow:t,slidesToScroll:o,swipe:!1,draggable:!1,accessibility:!1,arrows:"none"!==r,useTransform:!1,speed:500,nextArrow:i.default.createElement(b,{icon:`right-arrow-${r}`,extraClassName:"brz-slick-slider__arrow brz-slick-slider__arrow-next"}),prevArrow:i.default.createElement(b,{icon:`right-arrow-${r}`,extraClassName:"brz-slick-slider__arrow brz-slick-slider__arrow-prev"}),dots:"none"!==s,dotsClass:`brz-slick-slider__dots brz-slick-slider__dots--${s}`,responsive:[{breakpoint:991,settings:{slidesToShow:d,slidesToScroll:1}},{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1}}],afterChange:this.handleSliderAfterChange},e)}renderForEdit(e){const{className:t,dynamic:o,columns:r}=this.props;let n="on"===o?Array(r).fill(super.renderForEdit(e.slice(0,1))):super.renderForEdit(e);return i.default.createElement(c.default,{path:this.getId(),type:"carousel",acceptElements:this.handleSortableAcceptElements},i.default.createElement("div",{className:t},this.renderSlider(n)))}}const v=h},86084:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=o(4922),n=a(o(97575));function a(e){return e&&e.__esModule?e:{default:e}}class l extends n.default{renderForView(e){const{className:t,style:o,dynamic:n,taxonomy:a,taxonomyId:l,order:s,orderBy:c}=this.props;let d=("on"===n?e.slice(0,1):e).map(this.renderItem);const[u]=a.split("|");if("on"===n){const e=(0,i.stringifyAttributes)({query:{tax_query:{0:{taxonomy:u,field:"id",terms:l}},posts_per_page:-1,orderby:c,order:s}});d=r.default.createElement(r.default.Fragment,null,`{{ brizy_dc_post_loop ${e} }}`,d,"{{end_brizy_dc_post_loop}}")}return r.default.createElement("div",{className:t,style:o},this.renderSlider(d))}}},92264:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Carousel"),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"padding",type:"padding-dev",disabled:!0},{id:"sliderPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50},{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),position:10,options:[{id:"padding",type:"padding-dev",disabled:!0},{id:"sliderPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"desktop",position:50}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:'\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

'},placeholder:"element { CSS goes here }"}]}]}]}]}]},48073:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-carousel__slider":{standart:["cssStyleElementCarouselPaddingLeftRight"]},".brz && .brz-carousel__slider .slick-list":{standart:["cssStyleElementCarouselMarginPadding"]},".brz && .brz-carousel__slider .slick-list .slick-track .slick-slide":{standart:["cssStyleElementCarouselSpacing"]},".brz && .brz-carousel__slider .brz-slick-slider__dots":{standart:["cssStyleElementCarouselColorDots"]},".brz && .brz-carousel__slider .brz-slick-slider__arrow":{standart:["cssStyleElementCarouselColorArrow"]},".brz && .brz-carousel__slider .brz-slick-slider__arrow-prev":{standart:["cssStyleElementCarouselPrev"]},".brz && .brz-carousel__slider .brz-slick-slider__arrow-next":{standart:["cssStyleElementCarouselNext"]}}})}},70142:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(67439),i=o(64985),n=o(69321);function a(e){let{v:t,device:o}=e;const a=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),l=a("columns"),s=a("slidesToShow");return[{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:(0,i.t)("Duplicate"),roles:["admin"],position:200,onChange:()=>({columns:++t.columns})},...l>s&&"desktop"===o?[{id:"remove",type:"button",devices:"desktop",title:(0,i.t)("Delete"),roles:["admin"],icon:"nc-trash",position:250,onChange:()=>((0,r.hideToolbar)(),{columns:--t.columns})}]:[]]}},43359:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81405),a=o(64985),l=o(69321),s=o(68256);function c(e){let{v:t,device:o}=e;const i=e=>(0,l.defaultValueValue)({key:e,v:t,device:o,state:"normal"}),{hex:c}=(0,s.getOptionColorHexByPalette)(i("sliderArrowsColorHex"),i("sliderArrowsColorPalette")),d=[{title:(0,a.t)("None"),icon:{name:"nc-none"},value:"none"},{title:(0,a.t)("Thin"),icon:{name:"nc-right-arrow-thin"},value:"thin"},{title:(0,a.t)("Heavy"),icon:{name:"nc-right-arrow-heavy"},value:"heavy"},{title:(0,a.t)("Tail"),icon:{name:"nc-right-arrow-tail"},value:"tail"},{title:(0,a.t)("Round"),icon:{name:"nc-right-arrow-filled"},value:"filled"},{title:(0,a.t)("Outline"),icon:{name:"nc-right-arrow-outline"},value:"outline"}],u=Boolean(r.default.get("wp"));return[{id:"toolbarCarousel",type:"popover-dev",config:{icon:"nc-carousel",title:(0,a.t)("Carousel")},position:70,options:[{id:"toolbarCarouselTabs",type:"tabs-dev",tabs:[{id:"carousel",label:(0,a.t)("Carousel"),options:[{id:"groupSettings",type:"group-dev",devices:"desktop",options:[{id:"sliderAutoPlay",label:(0,a.t)("Autoplay"),type:"switch-dev"},{id:"sliderAutoPlaySpeed",label:(0,a.t)("Speed"),type:"slider-dev",disabled:"on"!==i("sliderAutoPlay"),config:{min:1,max:6,units:[{value:"s",title:"s"}]}}]},{id:"slidesToShow",label:(0,a.t)("Columns"),type:"slider-dev",disabled:"mobile"===o,config:{min:1,max:6}},{id:"spacing",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"sliderArrowsSpacing",label:(0,a.t)("Arrows Spacing"),type:"slider-dev",disabled:"none"===i("sliderArrows"),devices:"responsive",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"navigation",label:(0,a.t)("Navigation"),options:[{id:"groupSettings",type:"group-dev",devices:"desktop",options:[{id:"sliderArrows",label:(0,a.t)("Arrows"),type:"select-dev",choices:d},{id:"sliderArrowsSpacing",label:(0,a.t)("Spacing"),type:"slider-dev",disabled:"none"===i("sliderArrows"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"sliderDots",label:(0,a.t)("Dots"),type:"select-dev",devices:"desktop",choices:[{title:(0,a.t)("None"),icon:{name:"nc-none"},value:"none"},{title:(0,a.t)("Circle"),icon:{name:"nc-circle-outline"},value:"circle"},{title:(0,a.t)("Diamond"),icon:{name:"nc-diamond-outline"},value:"diamond"},{title:(0,a.t)("Square"),icon:{name:"nc-square-outline"},value:"square"}]}]}]}]},{id:"dynamicToolbarCarousel",type:"popover-dev",config:{icon:"nc-dynamic",title:(0,a.t)("Dynamic Content")},devices:"desktop",disabled:!u,position:80,options:[{id:"dynamic",label:(0,a.t)("Dynamic Content"),type:"switch-dev",devices:"desktop"},{id:"taxonomy",label:(0,a.t)("Categories"),disabled:"off"===i("dynamic"),devices:"desktop",type:"select-dev",choices:(0,s.getTaxonomies)().flatMap((e=>e.optgroup)),dependencies:e=>{let{taxonomy:t}=e;const[,o]=t.split("|");return{taxonomy:t,taxonomyId:o}}},{id:"orderBy",label:(0,a.t)("Filter By"),devices:"desktop",disabled:"off"===i("dynamic"),type:"select-dev",choices:[{title:(0,a.t)("ID"),value:"ID"},{title:(0,a.t)("Title"),value:"title"},{title:(0,a.t)("Date"),value:"date"},{title:(0,a.t)("Random"),value:"rand"},{title:(0,a.t)("Comment Count"),value:"comment_count"}]},{id:"order",label:(0,a.t)("Order"),type:"radioGroup-dev",devices:"desktop",disabled:"off"===i("dynamic"),choices:[{value:"ASC",icon:"nc-up"},{value:"DESC",icon:"nc-down"}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(c,i("sliderArrowsColorOpacity"))}}},position:90,devices:"desktop",options:[{id:"colorTabs",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"arrows",label:(0,a.t)("Arrows"),options:[{id:"sliderArrowsColor",type:"colorPicker-dev"}]},{id:"dots",label:(0,a.t)("Dots"),options:[{id:"sliderDotsColor",type:"colorPicker-dev",disabled:"off"===i("slider")}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,a.t)("More Settings"),position:110,title:(0,a.t)("Settings"),devices:"desktop",icon:"nc-cog"}]}},38311:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setDataSortable:function(){return i},normalizeCarouselColumns:function(){return n}});const r=o(70634),i=e=>{e&&e.querySelectorAll(".slick-slide").forEach((e=>{e.dataset.sortableDisabled=e.attributes["aria-hidden"].value}))},n=e=>e.map((e=>(0,r.setIn)(e,["value","width"],100)))},55120:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(i=o(95664))&&i.__esModule?i:{default:i};var i;const n=o(64985),a={Button:(0,n.t)("Button"),Icon:(0,n.t)("Icon")},l={getItems:function(e){const{essentials:t}=r.default.getShortcodes(),{icon:o=""}=t.find((t=>t.component.resolve.value.items?.type===e[0].type))||{};return[{id:"main",type:"group",title:a[e[0].type],icon:o,items:[]}]}}},62153:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(67439),i=o(16957),n=o(64985),a=e=>({getItems:s(e)}),l="MacOS"===(0,i.detectOS)(),s=e=>(t,o)=>{const i=o.getCurrentCopiedElement(),a=i&&i.type===t[e].type;return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,n.t)("Copy"),helperText:()=>l?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,n.t)("Paste"),helperText:()=>l?"⌘ + V":"ctrl + V",inactive:!a,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,n.t)("Paste Styles"),helperText:()=>l?"⌘ + ⇧ + V":"ctrl + ⇧ + V",inactive:!a,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,n.t)("Duplicate"),helperText:()=>l?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,n.t)("Delete"),helperText:()=>l?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},33450:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return z}});const r=_(o(60042)),i=_(o(27378)),n=_(o(10301)),a=_(o(45771)),l=_(o(80544)),s=o(16874),c=_(o(63692)),d=o(5312),u=o(1621),p=o(97045),f=o(92213),m=o(94220),y=o(89787),g=o(69321),b=E(o(71162)),h=o(94306),v=o(66559),S=E(o(24119)),w=o(48499),x=E(o(59638)),M=_(o(86114)),T=_(o(64654)),P=E(o(55083)),C=o(51386),k=E(o(47747));function _(e){return e&&e.__esModule?e:{default:e}}function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(O=function(e){return e?o:t})(e)}function E(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=O(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class z extends c.default{static get componentId(){return"Cloneable"}static defaultProps={className:"",customID:"",showBorder:!0,meta:{}};static defaultValue=M.default;static experimentalDynamicContent=!0;containerBorder=i.default.createRef();shouldComponentUpdate(e){return this.optionalSCU(e)}handleValueChange(e,t){0===e.items.length?this.selfDestruct():super.handleValueChange(e,t)}handleDraggable=e=>{let{x:t,y:o}=e;const r=this.getValue(),i=S.mRead(r.tabsState),n=(0,p.deviceModeSelector)((0,f.getStore)().getState()),a=(e,t)=>({[(0,g.defaultValueKey)({key:e,device:n,state:i})]:t});this.patchValue(b.setHOffset(a,t,b.setVOffset(a,o,{})))};handleSortableStart=()=>{this.containerBorder.current&&this.containerBorder.current.setActive(!0)};handleSortableEnd=()=>{this.containerBorder.current&&this.containerBorder.current.setActive(!1)};dvv=e=>{const t=this.getValue(),o=(0,p.deviceModeSelector)((0,f.getStore)().getState()),r=S.mRead(t.tabsState);return(0,g.defaultValueValue)({v:t,key:e,device:o,state:r})};getMeta(e){const{horizontalAlign:t,tabletHorizontalAlign:o,mobileHorizontalAlign:r}=e,{meta:i}=this.props,{w:a,wNoSpacing:l}=(0,y.getWrapperContainerW)({v:e,w:i.desktopW,wNoSpacing:i.desktopWNoSpacing,device:v.DESKTOP}),{w:s,wNoSpacing:c}=(0,y.getWrapperContainerW)({v:e,w:i.tabletW,wNoSpacing:i.tabletWNoSpacing,device:v.TABLET}),{w:d,wNoSpacing:u}=(0,y.getWrapperContainerW)({v:e,w:i.mobileW,wNoSpacing:i.mobileWNoSpacing,device:v.MOBILE});return n.default.extend({},i,{desktopW:a,desktopWNoSpacing:l,tabletW:s,tabletWNoSpacing:c,mobileW:d,mobileWNoSpacing:u,horizontalAlign:t,tabletHorizontalAlign:o,mobileHorizontalAlign:r,inCloneable:!0,cloneableAnimationId:this.getId()})}getAnimationClassName=(e,t,o)=>{if(!(0,g.validateKeyByProperty)(e,"animationName","none"))return;const i=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,m.css)(`${this.getComponentId()}-animation-${i}`,`${this.getId()}-animation-${i}`,(0,C.styleAnimation)(e,t,o)))};renderContent(e,t,o){const{className:n,itemClassName:a}=e,l=(0,r.default)("brz-d-xs-flex brz-flex-xs-wrap",(0,m.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,C.styleContainer)(e,t,o)),n),c=(0,r.default)("brz-wrapper-clone__item",(0,m.css)(`${this.constructor.componentId}-item`,`${this.getId()}-item`,(0,C.styleItem)(e,t,o)),a),{minItems:d,maxItems:u,blockType:p}=e,f=(0,s.makeOptionValueToMotion)(e),y=this.makeSubcomponentProps({blockType:p,minItems:d,maxItems:u,motion:f,bindWithKey:"items",containerClassName:l,itemClassName:c,meta:this.getMeta(e),toolbarExtend:this.makeToolbarPropsFromConfig2(k,P),onSortableStart:this.handleSortableStart,onSortableEnd:this.handleSortableEnd});return i.default.createElement(T.default,y)}containerSize=()=>{const e=this.getValue(),t=(0,p.deviceModeSelector)((0,f.getStore)().getState()),o=this.getMeta(e),r=window.innerWidth,i=window.innerHeight;return(0,u.getContainerSizes)(e,t,o,r,i)};renderForEdit(e,t,o){const{showBorder:n,propsClassName:s}=this.props,{customClassName:c,cssClassPopulation:u,customAttributes:p}=e,f=x.mRead(e.customID)||void 0,y=x.mRead(e.cssIDPopulation)||void 0,g=this.getAnimationClassName(e,t,o),v=(0,r.default)("brz-wrapper-clone",(0,m.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,C.style)(e,t,o)),""===u?c:u,s),S="relative"===b.getPosition(this.dvv);return n?i.default.createElement(d.Draggable,{active:!S,onChange:this.handleDraggable,hAlign:b.getHAlign(this.dvv)??"left",vAlign:b.getVAlign(this.dvv)??"top",xSuffix:b.getHUnit(this.dvv)??"px",ySuffix:b.getVUnit(this.dvv)??"px",getValue:()=>({x:b.getHOffset(this.dvv)??0,y:b.getVOffset(this.dvv)??0}),getContainerSizes:this.containerSize},((n,s)=>i.default.createElement(l.default,{ref:this.containerBorder,type:"wrapper__clone",color:"grey",borderStyle:"dotted"},(l=>{let{ref:c,attr:d,border:u}=l;return i.default.createElement(a.default,{ref:e=>{(0,h.attachRef)(e,c),(0,h.attachRef)(e,n||null)},component:"div",componentProps:{...(0,w.parseCustomAttributes)(p),...d,id:""===y?f:y,className:(0,r.default)(v,s)},animationId:this.getId(),animationClass:g},this.renderContent(e,t,o),u)})))):i.default.createElement(d.Draggable,{active:!S,onChange:this.handleDraggable,hAlign:b.getHAlign(this.dvv)??"left",vAlign:b.getVAlign(this.dvv)??"top",xSuffix:b.getHUnit(this.dvv)??"px",ySuffix:b.getVUnit(this.dvv)??"px",getValue:()=>({x:b.getHOffset(this.dvv)??0,y:b.getVOffset(this.dvv)??0})},((s,c)=>i.default.createElement(a.default,{ref:s,component:"div",componentProps:{...(0,w.parseCustomAttributes)(p),id:y??f,className:(0,r.default)(v,c)},animationId:this.getId(),animationClass:g},n?i.default.createElement(l.default,{ref:this.containerBorder,color:"grey",borderStyle:"dotted"},this.renderContent(e,t,o)):this.renderContent(e,t,o))))}renderForView(e,t,o){const{customClassName:n,cssClassPopulation:l,customAttributes:s}=e,c=x.mRead(e.customID)||void 0,d=x.mRead(e.cssIDPopulation)||void 0,{propsClassName:u,meta:{sectionPopup:p,sectionPopup2:f}}=this.props,y=this.getAnimationClassName(e,t,o),g=(0,r.default)("brz-wrapper-clone",(0,m.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,C.style)(e,t,o)),""===l?n:l,u);return i.default.createElement(a.default,{iterationCount:p||f?1/0:1,component:"div",componentProps:{...(0,w.parseCustomAttributes)(s),id:d??c,className:g},animationId:this.getId(),animationClass:y},this.renderContent(e,t,o))}}},64654:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=g(o(27378)),i=g(o(60042)),n=g(o(10787)),a=o(91435),l=g(o(24072)),s=g(o(49127)),c=o(76742),d=o(67439),u=o(94306),p=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(39552)),f=g(o(55120)),m=g(o(62153)),y=o(64985);function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}class h extends n.default{static get componentId(){return"Cloneable.Items"}static defaultProps={blockType:"div",containerClassName:"",itemClassName:"",minItems:0,maxItems:9999,toolbarExtend:null,meta:{},itemProps:{},motion:void 0};getItemProps(e,t,o){const r={getItems:()=>[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,y.t)("Duplicate"),devices:"desktop",position:200,roles:["admin"],onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,y.t)("Delete"),devices:"desktop",position:250,roles:["admin"],onChange:()=>{(0,d.hideToolbar)(),this.removeItem(t)}}]},i=this.makeToolbarPropsFromConfig2(r);return{...this.props.itemProps,meta:this.props.meta,toolbarExtend:i}}renderItemsContainerDiv(e,t,o){const{motion:n,containerClassName:l}=this.props;return r.default.createElement(a.ScrollMotion,{options:n},((n,a)=>r.default.createElement("div",{...o,...a?.options,ref:e=>{(0,u.attachRef)(e,t),(0,u.attachRef)(e,n)},className:(0,i.default)(l,a?.class)},e)))}renderItemsContainerList(e,t,o){const{motion:n,containerClassName:l}=this.props;return r.default.createElement(a.ScrollMotion,{options:n},((n,a)=>r.default.createElement("ul",{...o,...a?.options,ref:e=>{(0,u.attachRef)(e,t),(0,u.attachRef)(e,n)},className:(0,i.default)("brz-ul brz-list",l,a?.class)},e)))}renderItemsContainer(e){const{blockType:t,onSortableStart:o,onSortableEnd:i}=this.props;return r.default.createElement(s.default,{path:this.getId(),type:"cloneable",acceptElements:null,onStart:o,onEnd:i},((o,r)=>"div"===t?this.renderItemsContainerDiv(e,o,r):this.renderItemsContainerList(e,o,r)))}renderItemWrapperDiv(e,t,o){const{itemClassName:i,meta:{inIconText:n}}=this.props,a=(0,m.default)(o);let s=r.default.createElement(c.SortableElement,{key:t,type:"shortcode"},r.default.createElement("div",{className:i,id:t},e));if(!n){const e=["duplicate","copy","paste","pasteStyles","delete","showToolbar"];s=r.default.createElement(p.ContextMenuExtend,{key:t,...this.makeContextMenuProps(a)},r.default.createElement(p.default,this.makeContextMenuProps(f.default),r.default.createElement(l.default,{shortcutsTypes:e,id:t,onKeyDown:this.handleKeyDown},s)))}return s}renderItemWrapperList(e,t,o){const{itemClassName:n,meta:{inIconText:a}}=this.props,s=(0,i.default)("brz-li brz-list__item",n),d=(0,m.default)(o);let u=r.default.createElement(c.SortableElement,{type:"shortcode"},r.default.createElement("li",{key:t,className:s},e));if(!a){const e=["duplicate","copy","paste","pasteStyles","delete","showSidebarStyling","showSidebarAdvanced"];return r.default.createElement(p.ContextMenuExtend,{key:t,...this.makeContextMenuProps(d)},r.default.createElement(p.default,this.makeContextMenuProps(f.default),r.default.createElement(l.default,{shortcutsTypes:e,id:t,onKeyDown:this.handleKeyDown},u)))}return u}renderItemWrapper(e,t,o,r,i){return"div"===this.props.blockType?this.renderItemWrapperDiv(e,t,o,r,i):this.renderItemWrapperList(e,t,o,r,i)}}const v=h},55083:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81263),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,context:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),c="relative"===s("elementPosition"),d=(0,a.getDynamicContentOption)({options:l.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),icon:"nc-styling",position:10,options:[{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"desktop",position:50},{id:"margin",label:(0,i.t)("Margin"),type:"margin-dev",devices:"desktop",position:60},{id:"groupPosition",type:"group-dev",options:[{id:"elementPosition",label:(0,i.t)("Position"),type:"select-dev",choices:[{value:"relative",title:"None"},{value:"absolute",title:"Absolute"},{value:"fixed",title:"Fixed"}]},{id:"width",label:(0,i.t)("Width"),type:"slider-dev",disabled:c,config:{min:0,max:"px"===s("widthSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetXAlignment",label:(0,i.t)("Horizontal Offset"),type:"radioGroup-dev",disabled:c,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"offsetX",type:"slider-dev",disabled:c,config:{min:"px"===s("offsetXSuffix")?-1200:-100,max:"px"===s("offsetXSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetYAlignment",label:(0,i.t)("Vertical Offset"),type:"radioGroup-dev",disabled:c,choices:[{value:"top",icon:"nc-align-top"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"offsetY",type:"slider-dev",disabled:c,config:{min:"px"===s("offsetYSuffix")?-1200:-100,max:"px"===s("offsetYSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}}]}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),icon:"nc-cog",options:[{id:"showOnDesktop",label:(0,i.t)("Show on Desktop"),position:10,closeTooltip:!0,type:"switch-dev",devices:"desktop"},{id:"zIndex",type:"slider-dev",position:20,label:(0,i.t)("Z-index"),devices:"desktop",config:{min:0,max:100}},{id:"customAttributes",label:(0,i.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:d}]}]},{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"responsive",position:50},{id:"margin",label:(0,i.t)("Margin"),type:"margin-dev",devices:"responsive",position:60},{id:"groupPosition",type:"group-dev",devices:"responsive",options:[{id:"elementPosition",label:(0,i.t)("Position"),type:"select-dev",choices:[{value:"relative",title:"None"},{value:"absolute",title:"Absolute"},{value:"fixed",title:"Fixed"}]},{id:"width",label:(0,i.t)("Width"),type:"slider-dev",disabled:c,config:{min:0,max:"px"===s("widthSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetXAlignment",label:(0,i.t)("Horizontal Offset"),type:"radioGroup-dev",disabled:c,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"offsetX",type:"slider-dev",disabled:c,config:{min:"px"===s("offsetXSuffix")?-1200:-100,max:"px"===s("offsetXSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetYAlignment",label:(0,i.t)("Vertical Offset"),type:"radioGroup-dev",disabled:c,choices:[{value:"top",icon:"nc-align-top"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"offsetY",type:"slider-dev",disabled:c,config:{min:"px"===s("offsetYSuffix")?-1200:-100,max:"px"===s("offsetYSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}}]}]},{id:"effects",title:(0,i.t)("Effects"),label:(0,i.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",position:90,label:(0,i.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},51386:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return i},styleContainer:function(){return n},styleItem:function(){return a},styleAnimation:function(){return l}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleDisplayFlex","cssStyleVisibleMode|||preview","cssStyleVisibleEditorDisplayNoneOrFlex|||editor","cssStyleCustomPosition","cssStyleCustomWidth","cssStyleOffset"],standart:["cssStyleZIndex","cssStylePositionRelative","cssStyleMargin"]}}})}function n(e,t,o){const i={".brz &&:hover":{standart:["cssStyleFlexHorizontalAlign","cssStylePaddingFourFields","cssStyleItemMargin"]}};return i[".brz &&:hover"].interval=["cssStyleVisibleMode|||editor"],(0,r.renderStyles)({v:e,vs:t,vd:o,styles:i})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementCloneablePadding"]}}})}function l(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},47747:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(57582);function n(e){let{v:t,device:o}=e;return[{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"right"}]},(0,i.toolbarShowOnResponsive)({v:t,device:o,state:"normal",devices:"responsive"}),{id:"toolbarCurrentShortcode",type:"popover-dev",options:[{id:"currentShortcodeTabs",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",options:[{id:"itemPadding",type:"slider-dev",label:(0,r.t)("Spacing"),roles:["admin"],position:350,config:{min:0,max:100,units:[{title:"px",value:"px"}]},disabled:1===t.items.length}]}]}]}]}},8105:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=f(o(27378)),i=f(o(33979)),n=f(o(10787)),a=f(o(49127)),l=f(o(20013)),s=o(39552),c=f(o(24072)),d=f(o(8193)),u=o(67439),p=o(64985);function f(e){return e&&e.__esModule?e:{default:e}}class m extends n.default{static get componentId(){return"Column.Items"}static defaultProps={containerClassName:"",meta:{},itemProps:{}};handleSortableAcceptElements=e=>{const{row:t}=this.props.meta;if(t&&t.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0};getItemProps(e,t,o){const r=(0,i.default)(this.props.meta,{column:{item:{index:t,isFirst:0===t,isLast:t===o.length-1,isOnly:1===o.length}}}),n={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,p.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,p.t)("Delete"),position:250,onChange:()=>{(0,u.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]},a=this.makeToolbarPropsFromConfig(n);return{...this.props.itemProps,meta:r,toolbarExtend:a}}getAlignments(){return["top","center","bottom","between"]}renderItemWrapper(e,t,o){const i=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(i)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){const{containerClassName:t}=this.props;return 0===e.length?r.default.createElement(l.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements}):r.default.createElement(a.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements},r.default.createElement("div",{className:t},e))}}const y=m},27113:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=(n=o(60042))&&n.__esModule?n:{default:n};var n;const a=o(22730);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}class s extends r.Component{state={resize:!1};handleDragStart=()=>{const{position:e,onResizeStart:t}=this.props;t(e),this.setState({resize:!0})};handleDrag=e=>{let{deltaX:t}=e;const{position:o,onResize:r}=this.props;r(t,o)};handleDragEnd=()=>{const{position:e,onResizeEnd:t}=this.props;t(e),this.setState({resize:!1})};renderPopover=()=>{const e=this.props.popoverData().reduce(((e,t,o)=>(o>0&&e.push(r.default.createElement("span",{key:`${o}-divider`,className:"brz-ed-draggable__column-popover__divider"},"/")),e.push(r.default.createElement("span",{key:`${o}-value`,className:"brz-ed-draggable__column-popover__percent"},t.toFixed(1),"%")),e)),[]);return r.default.createElement("div",{className:"brz-ed-draggable__column-popover"},e)};render(){const{position:e,color:t}=this.props,o=(0,i.default)("brz-ed-draggable__column",`brz-ed-draggable__column--${e}`,`brz-ed-draggable__column--${t}`);return r.default.createElement(a.DraggableDiv,{className:o,draggingCursor:"col-resize",onDragStart:this.handleDragStart,onDrag:this.handleDrag,onDragEnd:this.handleDragEnd},r.default.createElement("div",{className:"brz-ed-draggable__column--item"}),this.state.resize&&this.renderPopover())}}const c=s},89888:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=o(64985),i={getItems:function(){return[{id:"main",type:"group",title:(0,r.t)("Column"),icon:"nc-column",items:[]}]}}},8193:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(67439),i=o(16957),n=o(64985),a=e=>({getItems:s(e)}),l="MacOS"===(0,i.detectOS)(),s=e=>(t,o)=>{const i=o.getCurrentCopiedElement(),a="Row"===t[e].type,s=i&&(a||t[e].type===i.type),c=s&&(a||i.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,n.t)("Copy"),helperText:()=>l?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,n.t)("Paste"),helperText:()=>l?"⌘ + V":"ctrl + V",inactive:!s,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,n.t)("Paste Styles"),inactive:!c,helperText:()=>l?"⌘ + ⇧ + V":"ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,n.t)("Duplicate"),helperText:()=>l?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,n.t)("Delete"),helperText:e=>{let{isInSubMenu:t}=e;return(e=>l?e?"alt + delete":"⌘ + delete":e?"alt + delete":"ctrl + delete")(t)},onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},52048:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return H}});const r=F(o(60042)),i=F(o(27378)),n=F(o(10301)),a=F(o(45771)),l=F(o(25382)),s=F(o(80544)),c=F(o(39552)),d=F(o(36275)),u=F(o(1440)),p=o(46338),f=o(91435),m=o(16874),y=o(76742),g=F(o(58566)),b=R(o(67439)),h=F(o(10787)),v=F(o(63692)),S=o(26989),w=o(97045),x=o(92213),M=o(94220),T=o(89787),P=o(69321),C=o(94306),k=R(o(24119)),_=o(48499),O=R(o(59638)),E=o(68934),z=F(o(8105)),B=F(o(27113)),j=F(o(89888)),N=F(o(77980)),I=R(o(35423)),L=o(48154),D=R(o(21581));function F(e){return e&&e.__esModule?e:{default:e}}function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(A=function(e){return e?o:t})(e)}function R(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=A(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class W extends v.default{static get componentId(){return"Column"}static defaultProps={meta:{},popoverData:[],onResizeStart:n.default.noop,onResize:n.default.noop,onResizeEnd:n.default.noop};static defaultValue=N.default;static experimentalDynamicContent=!0;containerBorderRef=i.default.createRef();toolbarRef=i.default.createRef();shouldComponentUpdate(e){const{meta:t,tabletReversed:o,mobileReversed:r}=this.props,i=e.mobileReversed!==r||e.tabletReversed!==o,{index:n}=this.props.meta.row?.item??{},{index:a}=e.meta.row?.item??{},l=n!==a;return t.posts||t.inCarousel||i||this.optionalSCU(e)||l}handleResizeStart=e=>{this.containerBorderRef.current&&this.containerBorderRef.current.setActive(!0),this.props.onResizeStart(e)};handleResize=(e,t)=>{this.props.onResize(e,t)};handleResizeEnd=e=>{this.containerBorderRef.current&&this.containerBorderRef.current.setActive(!1),this.props.onResizeEnd(e)};handleToolbarEscape=()=>{this.toolbarRef.current.show()};getMeta(e){const{verticalAlign:t,tabletVerticalAlign:o,mobileVerticalAlign:r}=e,{meta:i}=this.props,a=(0,E.styleSizeWidth)({v:e,device:"desktop"}),l=(0,E.styleSizeWidth)({v:e,device:"tablet"}),s=(0,E.styleSizeWidth)({v:e,device:"mobile"}),{w:c,wNoSpacing:d}=(0,T.getContainerW)({v:e,width:a,w:i.desktopW,wNoSpacing:i.desktopWNoSpacing,device:"desktop"}),{w:u,wNoSpacing:p}=(0,T.getContainerW)({v:e,w:i.tabletW,wNoSpacing:i.tabletWNoSpacing,width:l,device:"tablet"}),{w:f,wNoSpacing:m}=(0,T.getContainerW)({v:e,w:i.mobileW,wNoSpacing:i.mobileWNoSpacing,width:s,device:"mobile"});return n.default.extend({},i,{column:{width:a,tabletWidth:l,mobileWidth:s,verticalAlign:t,tabletVerticalAlign:o,mobileVerticalAlign:r},desktopW:c,desktopWNoSpacing:d,tabletW:u,tabletWNoSpacing:p,mobileW:f,mobileWNoSpacing:m})}isInnerRow(){const{meta:e}=this.props;return e.row&&e.row.isInner}dvv=e=>{const t=this.getValue(),o=(0,w.deviceModeSelector)((0,x.getStore)().getState()),r=k.mRead(t.tabsState);return(0,P.defaultValueValue)({v:t,key:e,device:o,state:r})};getAnimationClassName=(e,t,o)=>{if(!(0,P.validateKeyByProperty)(e,"animationName","none"))return;const i=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,M.css)(`${this.getComponentId()}-animation-${i}`,`${this.getId()}-animation-${i}`,(0,L.styleAnimation)(e,t,o)))};getRef=e=>this.props.getParentRef?this.props.getParentRef(e?.node)??this.toolbarRef:this.toolbarRef;renderToolbar=e=>i.default.createElement(b.default,{...this.makeToolbarPropsFromConfig2(D,I),ref:e=>{(0,C.attachRef)(e,this.getRef(e))}},i.default.createElement(g.default,null,i.default.createElement(e,null)));renderResizer(e){const{meta:{row:t,inGrid:o},popoverData:r}=this.props;if(!o)return null;const{isFirst:n}=t.item,a=this.isInnerRow();return n&&"left"===e?null:i.default.createElement(B.default,{popoverData:r,position:e,color:a&&o?"red":"blue",onResizeStart:this.handleResizeStart,onResize:this.handleResize,onResizeEnd:this.handleResizeEnd})}renderContent(e,t,o){const n=(0,r.default)("brz-column__items",(0,M.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,L.styleItems)(e,t,o))),a=this.makeSubcomponentProps({bindWithKey:"items",containerClassName:n,meta:this.getMeta(e)});return i.default.createElement(l.default,{value:e,meta:this.getMeta(e)},i.default.createElement(z.default,a))}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{blockId:t,value:{popupId:o}}=e;return"GlobalBlock"===e.type&&(o=(0,w.blocksDataSelector)((0,x.getStore)().getState())[e.value._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${o}`}}});return i.default.createElement(h.default,e)}renderForEdit(e,t,o){const{items:n,customClassName:l,cssClassPopulation:u,customAttributes:g}=e,{meta:{inGrid:h,posts:v}}=this.props,T=O.mRead(e.customID)||void 0,P=O.mRead(e.cssIDPopulation)||void 0,C=this.isInnerRow(),k=(0,r.default)("brz-columns",{"brz-columns__posts":v},{"brz-columns--empty":0===n.length},(0,M.css)(`${this.constructor.componentId}-column`,`${this.getId()}-column`,(0,L.styleColumn)(e,t,o)),""===u?l:u),E=this.getAnimationClassName(e,t,o),z=i.default.createElement(f.ScrollMotion,{options:(0,m.makeOptionValueToMotion)(e)},this.renderContent(e,t,o));return i.default.createElement(i.default.Fragment,null,i.default.createElement(y.SortableElement,{type:"column",useHandle:!0},(t=>i.default.createElement(c.default,this.makeContextMenuProps(j.default),i.default.createElement(s.default,{type:v?"column__posts":"column",ref:this.containerBorderRef,color:C&&h?"red":"blue",borderStyle:"solid",activateOnContentClick:!1,buttonPosition:"topRight",renderButtonWrapper:this.renderToolbar},(o=>{let{ref:r,attr:n,button:l,border:s}=o;return i.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(a.default,{ref:r,component:"div",animationClass:E,componentProps:{...(0,_.parseCustomAttributes)(g),...t,...n,id:P??T,className:k}},i.default.createElement(p.Roles,{allow:["admin"],fallbackRender:()=>z},this.renderResizer("left"),this.renderResizer("right"),i.default.createElement(b.ToolbarExtend,{onEscape:this.handleToolbarEscape},z),l,s)))}))))),(0,S.shouldRenderPopup)(e,(0,w.blocksDataSelector)((0,x.getStore)().getState()))&&this.renderPopups())}renderForView(e,t,o){const{tagName:n,linkExternalType:l,linkType:s,linkAnchor:c,linkExternalBlank:p,linkExternalRel:y,linkPopup:g,linkUpload:b,customClassName:h,cssClassPopulation:v,customAttributes:T}=e,{sectionPopup:P,sectionPopup2:C}=this.props.meta,k={anchor:c,external:e[l],popup:g,upload:b},E=O.mRead(e.customID)||void 0,z=O.mRead(e.cssIDPopulation)||void 0,B=(0,r.default)("brz-columns",(0,M.css)(`${this.constructor.componentId}-column`,`${this.getId()}-column`,(0,L.styleColumn)(e,t,o)),""===v?h:v),j=this.getAnimationClassName(e,t,o);return i.default.createElement(i.default.Fragment,null,i.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(a.default,{iterationCount:P||C?1/0:1,component:n,componentProps:{...(0,_.parseCustomAttributes)(T),id:z??E,className:B},animationClass:j},i.default.createElement(f.ScrollMotion,{options:(0,m.makeOptionValueToMotion)(e)},this.renderContent(e,t,o)),""!==k[s]&&i.default.createElement(u.default,{className:"brz-container-link",type:s,href:k[s],target:p,rel:y}))),(0,S.shouldRenderPopup)(e,(0,w.blocksDataSelector)((0,x.getStore)().getState()))&&this.renderPopups())}}const H=W},35423:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return a},getItems:function(){return l}});const r=o(81263),i=o(64985),n=o(68256),a=(0,i.t)("Column");function l(e){let{context:t}=e;const o=[{title:"Div",value:"div"},{title:(0,i.t)("Header"),value:"header"},{title:(0,i.t)("Footer"),value:"footer"},{title:(0,i.t)("Main"),value:"main"},{title:(0,i.t)("Article"),value:"article"},{title:(0,i.t)("Section"),value:"section"},{title:(0,i.t)("Aside"),value:"aside"},{title:(0,i.t)("Nav"),value:"nav"}],a=(0,n.getDynamicContentOption)({options:t.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"desktop",position:50},{id:"margin",label:(0,i.t)("Margin"),type:"margin-dev",devices:"desktop",position:60},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),devices:"desktop",position:65},{id:"blendMode",label:(0,i.t)("Blending Mode"),type:"select-dev",devices:"desktop",position:80,choices:[{title:(0,i.t)("Normal"),value:"normal"},{title:(0,i.t)("Color"),value:"color"},{title:(0,i.t)("Color Burn"),value:"color-burn"},{title:(0,i.t)("Color Dodge"),value:"color-dodge"},{title:(0,i.t)("Darken"),value:"darken"},{title:(0,i.t)("Difference"),value:"difference"},{title:(0,i.t)("Exclusion"),value:"exclusion"},{title:(0,i.t)("Hue"),value:"hue"},{title:(0,i.t)("Lighten"),value:"lighten"},{title:(0,i.t)("Luminosity"),value:"luminosity"},{title:(0,i.t)("Multiply"),value:"multiply"},{title:(0,i.t)("Overlay"),value:"overlay"},{title:(0,i.t)("Saturation"),value:"saturation"},{title:(0,i.t)("Screen"),value:"screen"}]}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),icon:"nc-cog",options:[{id:"showOnDesktop",label:(0,i.t)("Show on Desktop"),type:"switch-dev",devices:"desktop",closeTooltip:!0,position:10},{id:"zIndex",type:"slider-dev",position:20,label:(0,i.t)("Z-index"),devices:"desktop",config:{min:0,max:100}},{id:"cssID",label:(0,i.t)("CSS ID"),type:"population-dev",position:30,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:a,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,i.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:a,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,i.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:a},{id:"hoverTransition",label:(0,i.t)("Hover Transition"),devices:"desktop",position:60,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"tagName",label:(0,i.t)("HTML Tag"),type:"select-dev",choices:o}]}]},{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"responsive",position:50},{id:"margin",label:(0,i.t)("Margin"),type:"margin-dev",devices:"responsive",position:60},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),devices:"responsive",position:65}]},{id:"effects",title:(0,i.t)("Effects"),label:(0,i.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,i.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},48154:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleColumn:function(){return c},styleItems:function(){return d},styleAnimation:function(){return u}});const r=o(25095),i=o(76753),n=o(94220),a=o(69321),l=o(66559),s=o(24119);function c(e,t,o){const c=(0,r.fromElementModel)((t=>l.types.some((o=>(0,a.defaultValueValue)({v:e,device:o,key:(0,i.createOptionId)("motion",t),state:s.NORMAL})))));let d=c.vertical||c.horizontal||c.transparency||c.blur||c.rotate||c.scale||c.mouseTrack||c.mouseTilt?"div > ":"",u={".brz &&:hover":{standart:["cssStyleZIndex|||preview","cssStyleFlexColumn","cssStyleSizeMaxWidth","cssStyleFlexColumnVerticalAlign"]},[`.brz &&:hover > ${d}.brz-bg`]:{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow","cssStyleMargin","cssStyleBlendMode"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},[`.brz &&:hover > ${d}.brz-bg > .brz-bg-image`]:{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition","cssStyleBgMediaImage"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},[`.brz &&:hover > ${d}.brz-bg > .brz-bg-image:after`]:{standart:["cssStyleBgImageHover"]},[`.brz &&:hover > ${d}.brz-bg > .brz-bg-color`]:{standart:["cssStyleBgColor","cssStyleBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},[`.brz &&:hover > ${d}.brz-bg > .brz-bg-map`]:{standart:["cssStyleFilter","cssStyleBgMediaMap"]},[`.brz &&:hover > ${d}.brz-bg > .brz-bg-video`]:{standart:["cssStyleFilter","cssStyleBgMediaVideo"]},".brz &&:hover > *":{interval:["cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]}};return u[`.brz &&:hover > ${d}.brz-bg`].interval.push("cssStyleVisible|||editor"),u[`.brz &&:hover > ${d}.brz-column__items`]={interval:["cssStyleVisible|||editor"]},(0,n.renderStyles)({v:e,vs:t,vd:o,styles:u})}function d(e,t,o){return(0,n.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleZIndex|||editor","cssStyleMargin","cssStyleBorderTransparentColor","cssStylePaddingFourFields","cssStyleColumnHeight","cssStyleColumnVerticalAlignItems"],interval:["cssStyleDisplayFlex","cssStyleHoverTransition","cssStylePropertyHoverTransition"]}}})}function u(e,t,o){return(0,n.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},21581:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81263),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119),p=o(57582);function f(e){let{v:t,device:o,component:i,context:f,state:m}=e;const y=Boolean(i.props.meta.sectionPopup),g=Boolean(i.props.meta.sectionPopup2),b=e=>(0,c.defaultValueValue)({v:t,key:e,device:o}),{hex:h}=(0,d.getOptionColorHexByPalette)(b("bgColorHex"),b("bgColorPalette")),v=(0,d.getDynamicContentOption)({options:f.dynamicContent.config,type:n.DCTypes.image}),S=r.default.getAll(),w=(0,s.isPopup)(S);return[(0,p.toolbarShowOnResponsive)({v:t,device:o,devices:"responsive"}),{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,l.t)("Background")},position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,l.t)("Background"),options:[{id:"media",label:(0,l.t)("Type"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"image",icon:"nc-media-image"},{value:"video",icon:"nc-media-video"},{value:"map",icon:"nc-media-map"}]},(0,p.toolbarElementContainerTypeImageMap)({v:t,device:o,devices:"responsive",state:m}),{label:(0,l.t)("Image"),id:"bg",type:"imageUpload-dev",devices:"desktop",states:[u.NORMAL,u.HOVER],population:v,disabled:"image"!==b("media")},{label:(0,l.t)("Image"),id:"bg",type:"imageUpload-dev",devices:"responsive",states:[u.NORMAL,u.HOVER],population:v,disabled:"image"!==b("media")&&"video"!==b("media")},(0,p.toolbarBgVideoUrl)({v:t,device:o,devices:"desktop",state:m,disabled:"video"!==b("media")}),{id:"bgVideoLoop",label:(0,l.t)("Loop"),type:"switch-dev",devices:"desktop",disabled:"video"!==b("media")},{id:"bgMapAddress",label:(0,l.t)("Address"),type:"inputText-dev",devices:"desktop",disabled:"map"!==b("media"),placeholder:(0,l.t)("Enter address"),config:{size:"large"}},{id:"bgMapZoom",label:(0,l.t)("Zoom"),type:"slider-dev",disabled:"map"!==b("media")||"desktop"!==o,config:{min:1,max:21}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(h,b("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,l.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"border",type:"border-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",title:(0,l.t)("Link"),size:"medium"},position:100,disabled:"desktop"===o?"on"===b("linkLightBox"):"popup"!==b("linkType")||""===b("linkPopup"),options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0},tabs:[{id:"external",label:(0,l.t)("URL"),options:[(0,p.toolbarImageLinkExternal)({v:t,device:o,config:f.dynamicContent.config,state:"normal",devices:"desktop"}),{id:"linkExternalBlank",label:(0,l.t)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:(0,l.t)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:"anchor",label:(0,l.t)("Block"),options:[(0,p.toolbarLinkAnchor)({v:t,device:o,state:"normal",devices:"desktop",disabled:w})]},{id:"popup",label:(0,l.t)("Popup"),options:[(0,p.toolbarLinkPopup)({v:t,component:i,state:"normal",device:"desktop",canDelete:"desktop"===o,disabled:"desktop"===o?y||g||w:"popup"!==b("linkType")||""===b("linkPopup")})]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},position:110,options:[{id:"groupHeight",type:"group-dev",position:110,options:[{id:"heightStyle",label:(0,l.t)("Height"),type:"select-dev",choices:[{title:(0,l.t)("Auto"),value:"auto"},{title:(0,l.t)("Custom"),value:"custom"}]},{id:"height",type:"slider-dev",disabled:"custom"!==b("heightStyle"),config:{min:20,max:999,units:[{value:"px",title:"px"}]}}]},{id:"verticalAlign",label:(0,l.t)("Content"),type:"radioGroup-dev",position:120,choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"},{value:"between",icon:"nc-space-between"}]},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},60251:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=b(o(27378)),i=b(o(10301)),n=b(o(65311)),a=b(o(60042)),l=b(o(63692)),s=b(o(36275)),c=b(o(67439)),d=v(o(1032)),u=v(o(68977)),p=b(o(22644)),f=o(10221),m=o(94220),y=o(23906),g=b(o(31440));function b(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}o(76664);const S=["centerLeft","centerRight"];class w extends l.default{static get componentId(){return"Countdown"}static defaultValue=p.default;constructor(e){super(e);const t=this.getValue(),o=(0,y.getLanguage)(t.language);this.endDate=this.getEndDate(),this.state={days:{title:o.whichLabels(0)[3],amount:0},hours:{title:o.whichLabels(0)[4],amount:0},minutes:{title:o.whichLabels(0)[5],amount:0},seconds:{title:o.whichLabels(0)[6],amount:0}}}componentDidMount(){if(!this.getValue().date){const e=new Date,t=new Date(e.setDate(e.getDate()+30));this.patchValue({date:(0,y.formatDate)(t,"d/m/Y")})}this.initPlugin({onTick:e=>{this.setState(e)}})}componentDidUpdate(e){const t=["date","hours","minutes","timeZone","language"],o=i.default.pick(e.dbValue,...t),r=i.default.pick(this.props.dbValue,...t);i.default.isEqual(o,r)||(this.endDate=this.getEndDate(),this.initPlugin())}componentWillUnmount(){(0,n.default)(this.countdown).countdown("destroy")}getEndDate(){const{date:e,hours:t,minutes:o}=this.getValue(),r=e.split("/"),i=`${r[1]}/${r[0]}/${r[2]}`;return(0,y.getTime)((0,y.formatDate)(i,"m/d/Y"),t,o)}initPlugin(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const{timeZone:t,language:o}=this.getValue(),r=60*t*1e3,i=(0,y.getLanguage)(o);(0,n.default)(this.countdown).countdown({now:Date.now(),endDate:this.endDate,timeZoneOffset:r,tickInterval:1e3,language:i,...e})}renderPart(e){const t=(0,a.default)("brz-countdown__item",`brz-countdown__${e}`);return r.default.createElement("div",{className:t},r.default.createElement("div",{className:"brz-countdown__number"},this.state[e].amount),r.default.createElement("div",{className:"brz-countdown__label"},this.state[e].title))}handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const i=(0,a.default)("brz-countdown",(0,m.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o))),{timeZone:n,language:l}=e;return r.default.createElement(c.default,this.makeToolbarPropsFromConfig2(d,u),r.default.createElement(s.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{ref:e=>{this.countdown=e},className:i,"data-end":this.endDate,"data-timezone":n,"data-language":l},r.default.createElement(g.default,{points:S,meta:this.props.meta,value:e,onChange:this.handleResizerChange},this.renderPart("days"),this.renderPart("hours"),this.renderPart("minutes"),this.renderPart("seconds")))))}}const x=w},3575:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={labels:[["Jahre","Monate","Wochen","Tage","Stunden","Minuten","Sekunden"],["Jahr","Monat","Woche","Tag","Stunde","Minute","Sekunde"]],whichLabels:function(e){var t=Number(e>1?0:1);return this.labels[t]}}},86214:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={labels:[["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],["Year","Month","Week","Day","Hour","Minute","Second"]],whichLabels:function(e){var t=Number(e>1?0:1);return this.labels[t]}}},18117:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={labels:[["Años","Meses","Semanas","Días","Horas","Minutos","Segundos"],["Año","Mes","Semana","Día","Hora","Minuto","Segundo"]],whichLabels:function(e){var t=0===e?0:1;return this.labels[t]}}},677:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={labels:[["Années","Mois","Semaines","Jours","Heures","Minutes","Secondes"],["Année","Mois","Semaine","Jour","Heure","Minute","Seconde"]],whichLabels:function(e){var t=Number(e>1?0:1);return this.labels[t]}}},36771:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{de:function(){return r.default},en:function(){return i.default},es:function(){return n.default},fr:function(){return a.default},it:function(){return l.default},nl:function(){return s.default},ru:function(){return c.default}});const r=d(o(3575)),i=d(o(86214)),n=d(o(18117)),a=d(o(677)),l=d(o(70767)),s=d(o(73607)),c=d(o(4007));function d(e){return e&&e.__esModule?e:{default:e}}},70767:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={labels:[["Anni","Mesi","Settimane","Giorni","Ore","Minuti","Secondi"],["Anno","Mese","Settimana","Giorno","Ora","Minuto","Secondo"]],whichLabels:function(e){var t=Number(e>1?0:1);return this.labels[t]}}},73607:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={labels:[["Jaren","Maanden","Weken","Dagen","Uren","Minuten","Seconden"],["Jaar","Maand","Week","Dag","Uur","Minuut","Seconde"]],whichLabels:function(e){var t=Number(e>1?0:1);return this.labels[t]}}},4007:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={labels:[["Лет","Месяцев","Недель","Дней","Часов","Минут","Секунд"],["Год","Месяц","Неделя","День","Час","Минута","Секунда"],["Года","Месяца","Недели","Дня","Часа","Минуты","Секунды"]],whichLabels:function(e){var t=e%10,o=Math.floor(e%100/10),r=1===e?1:t>=2&&t<=4&&1!==o?2:1===t&&1!==o?1:0;return this.labels[r]}}},68977:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Countdown");function i(){return[]}},10221:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleColor","cssStyleSizeWidth","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz &&:hover .brz-countdown__label":{standart:["cssStyleTypographyElementCountdownLabelFontSize"]}}})}},1032:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=(i=o(10301))&&i.__esModule?i:{default:i};var i;const n=o(81405),a=o(64985),l=o(69321),s=o(68256);function c(e){let{v:t,device:o,state:i}=e;const c=e=>(0,l.defaultValueValue)({v:t,key:e,device:o,state:i}),{hex:d}=(0,s.getOptionColorHexByPalette)(c("colorHex"),c("colorPalette")),u=[{value:"660",title:(0,a.t)("- 11:00 (Niue)")},{value:"600",title:(0,a.t)("- 10:00 (Honolulu, Papeete)")},{value:"540",title:(0,a.t)("- 9:00 (Anchorage)")},{value:"480",title:(0,a.t)("- 8:00 (Los Angeles)")},{value:"420",title:(0,a.t)("- 7:00 (Denver, Phoenix)")},{value:"360",title:(0,a.t)("- 6:00 (Chicago, Dallas)")},{value:"300",title:(0,a.t)("- 5:00 (New York, Miami)")},{value:"240",title:(0,a.t)("- 4:00 (Halifax, Manaus)")},{value:"180",title:(0,a.t)("- 3:00 (Brasilia, Santiago)")},{value:"120",title:(0,a.t)("- 2:00 (Noronha)")},{value:"60",title:(0,a.t)("- 1:00 (Cape Verde)")},{value:"0",title:(0,a.t)("00:00 (London, Dublin)")},{value:"-60",title:(0,a.t)("+ 1:00 (Berlin, Paris)")},{value:"-120",title:(0,a.t)("+ 2:00 (Athens, Istanbul)")},{value:"-180",title:(0,a.t)("+ 3:00 (Moscow, Baghdad)")},{value:"-240",title:(0,a.t)("+ 4:00 (Dubai, Baku)")},{value:"-300",title:(0,a.t)("+ 5:00 (Yekaterinburg)")},{value:"-360",title:(0,a.t)("+ 6:00 (Nur-Sultan)")},{value:"-420",title:(0,a.t)("+ 7:00 (Bangkok, Jakarta)")},{value:"-480",title:(0,a.t)("+ 8:00 (Singapore, Beijing)")},{value:"-540",title:(0,a.t)("+ 9:00 (Tokyo, Seoul)")},{value:"-600",title:(0,a.t)("+ 10:00 (Sydney, Melbourne)")},{value:"-660",title:(0,a.t)("+ 11:00 (Ponape)")},{value:"-720",title:(0,a.t)("+ 12:00 (Auckland)")}],p=[{title:(0,a.t)("German"),value:"de"},{title:(0,a.t)("English"),value:"en"},{title:(0,a.t)("Spanish"),value:"es"},{title:(0,a.t)("French"),value:"fr"},{title:(0,a.t)("Italian"),value:"it"},{title:(0,a.t)("Dutch"),value:"nl"},{title:(0,a.t)("Russian"),value:"ru"}];return[{id:"toolbarCountdown",type:"popover-dev",config:{icon:"nc-countdown",title:(0,a.t)("Countdown")},position:70,options:[{id:"date",label:(0,a.t)("Date"),type:"inputText-dev",config:{size:"medium",placeholder:"dd/mm/yyyy"},devices:"desktop"},{id:"hours",type:"select-dev",label:(0,a.t)("Hour"),devices:"desktop",choices:r.default.times(24,(e=>{const t=(e+12)%12||12,o=e>=12?"pm":"am";return{title:`${t} ${o}`,value:`${t} ${o}`}}))},{id:"minutes",type:"select-dev",devices:"desktop",label:(0,a.t)("Minutes"),choices:r.default.times(6,(e=>({title:`${e}0 m`,value:10*e})))},{id:"timeZone",label:(0,a.t)("Time Zone"),type:"select-dev",devices:"desktop",choices:u},{id:"language",label:(0,a.t)("Language"),type:"select-dev",devices:"desktop",choices:p}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,a.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(d,c("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"color",type:"colorPicker-dev"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,a.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},23906:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{formatDate:function(){return n},getTime:function(){return a},getLanguage:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(36771));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d/m/Y";if(e=new Date(e),isNaN(Date.parse(e)))return e;const o=e.getFullYear(),r=e.getMonth()+1,i=e.getDate(),n=e.getHours(),a=e.getMinutes(),l=e.getSeconds();return t.replace("Y",o).replace("m",r).replace("d",i).replace("H",n).replace("i",a).replace("s",l)};function a(e,t,o){const[r,i]=t.split(" "),n=60*(new Date).getTimezoneOffset()*1e3;return function(e){const t=/^(\d{1,2})[-\/](\d{1,2})[-\/](\d{4})$/.exec(e);if(null===t)return!1;const o=t[2],r=t[1]-1,i=t[3],n=new Date(i,r,o);return n.getDate()==o&&n.getMonth()==r&&n.getFullYear()==i}(e)?new Date(`${e} ${r}:${o} ${i}`).getTime()-n:new Date(0).getTime()}function l(){return r[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en"]}},15865:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return P}});const r=S(o(27378)),i=o(66848),n=S(o(10301)),a=S(o(65311)),l=S(o(60042)),s=S(o(63692)),c=S(o(36275)),d=S(o(67439)),u=x(o(35386)),p=x(o(51072)),f=S(o(6356)),m=o(91169),y=o(94220),g=o(79855),b=S(o(31440)),h=o(6085),v=o(86022);function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}o(92260);const M=["centerLeft","centerRight"];class T extends s.default{static get componentId(){return"Countdown2"}static defaultValue=f.default;static experimentalDynamicContent=!0;handleTextChange=(e,t)=>{this.patchValue({[e]:t})};days=r.default.createRef();hours=r.default.createRef();minutes=r.default.createRef();seconds=r.default.createRef();componentDidMount(){const e=this.getValue();if(!e.date){const e=new Date,t=new Date(e.setDate(e.getDate()+30));this.patchValue({date:(0,g.formatDate)(t,"d/m/Y")})}const t=function(e){return("0"+e).slice(-2)};this.initPlugin(e,{onTick:e=>{let{days:o,hours:r,minutes:i,seconds:n}=e;const a=this.getValue();"on"===a.showDays&&(this.days.current.innerText=o),"on"===a.showHours&&(this.hours.current.innerText=t(r)),"on"===a.showMinutes&&(this.minutes.current.innerText=t(i)),"on"===a.showSeconds&&(this.seconds.current.innerText=t(n))}})}componentDidUpdate(e){const t=this.getValue(),o=["date","hours","minutes","timeZone"],r=n.default.pick(e.dbValue,...o),i=n.default.pick(this.props.dbValue,...o);n.default.isEqual(r,i)||(this.endDate=this.getEndDate(t),this.initPlugin(t))}componentWillUnmount(){(0,a.default)(this.countdown).countdown2("destroy")}getEndDate(e){const{date:t,hours:o,minutes:r}=e,i=t.split("/"),n=`${i[1]}/${i[0]}/${i[2]}`;return(0,g.getTime)((0,g.formatDate)(n,"m/d/Y"),o,r)}initPlugin(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const o=60*e.timeZone*1e3;(0,a.default)(this.countdown).countdown2({now:Date.now(),endDate:this.getEndDate(e),timeZoneOffset:o,tickInterval:1e3,...t})}renderParts(e){const t=["days","hours","minutes","seconds"].filter((t=>{const o=`show${(0,h.capitalize)(t)}`;return"on"===e[o]})).map(((t,o,i)=>{const n="style3"===e.style&&o!==i.length-1?r.default.createElement("span",{key:"separator",className:"brz-countdown2-separator"},":"):null;return[this.renderPart(e,t),n]}));return r.default.createElement("div",{className:"brz-countdown2-parts"},t)}renderPart(e,t){const o=(0,l.default)("brz-countdown2__item",`brz-countdown2__${t}`,{"brz-countdown2_custom":0===e.bgColorOpacity&&0===e.borderColorOpacity}),n=`${t}Label`;return r.default.createElement("div",{key:t,className:o},r.default.createElement("div",{ref:this[t],className:"brz-countdown2__number"},"00"),r.default.createElement("div",{className:"brz-countdown2__label"},r.default.createElement(i.TextEditor,{value:e[n],onChange:this.handleTextChange.bind(null,n)})))}handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const i=(0,l.default)("brz-countdown2",{"brz-countdown2-style1":"style1"===e.style},{"brz-countdown2-style2":"style2"===e.style},{"brz-countdown2-style3":"style3"===e.style},(0,y.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,m.style)(e,t,o))),n=(0,l.default)("brz-countdown2-message",(0,y.css)(`${this.constructor.componentId}-message`,`${this.getId()}-message`,(0,m.styleMessage)(e,t,o))),{messageText:a,actions:s}=e;return r.default.createElement(d.default,this.makeToolbarPropsFromConfig2(u,p),r.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(v.Wrapper,this.makeWrapperProps({className:i,ref:e=>{this.countdown=e}}),r.default.createElement(b.default,{points:M,meta:this.props.meta,value:e,onChange:this.handleResizerChange,restrictions:{width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}}},this.renderParts(e),"showMessage"===s&&r.default.createElement("div",{className:n},a)))))}renderForView(e,t,o){const i=(0,l.default)("brz-countdown2",`brz-countdown2-${e.style}`,(0,y.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,m.style)(e,t,o))),n=(0,l.default)("brz-countdown2-message",(0,y.css)(`${this.constructor.componentId}-message`,`${this.getId()}-message`,(0,m.styleMessage)(e,t,o))),{timeZone:a,linkType:s,messageText:d,messageRedirect:u,actions:p}=e;return r.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(v.Wrapper,this.makeWrapperProps({className:i,attributes:{"data-end":e.date,"data-hours":e.hours,"data-minutes":e.minutes,"data-timezone":a,"data-link-type":s,"data-redirect":u,"data-message":d,"data-action":p}}),this.renderParts(e),"showMessage"===p&&r.default.createElement("div",{className:n},d)))}}const P=T},51072:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return l},getItems:function(){return s}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(16526),l=(0,n.t)("Countdown");function s(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,n.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,n.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),options:[{id:"hoverTransition",label:(0,n.t)("Hover Transition"),disabled:(0,a.isStory)(r.default.getAll()),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,n.t)("Padding"),devices:"responsive",position:50}]}]}]}},91169:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return i},styleMessage:function(){return n}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz && .brz-countdown2-parts":{standart:["cssStylePaddingBG"]},".brz &&:hover .brz-countdown2__item":{standart:["cssStyleBgColor","cssStyleBorder","cssStyleBoxShadow","cssStyleBorderRadius","cssStyleSizeHeightPxOnly","cssStyleElementCountDown2SpacingRight","cssStyleElementCountDown2SpacingLeft"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover:after":{standart:["cssStyleSizeHeightPercentOnly"]},".brz &&:hover:before":{standart:["cssStyleSizeHeightPercentOnly"]},".brz &&:hover .brz-countdown2__number":{standart:["cssStyleElementCountDown2NumberColor","cssStyleNumberTypography2FontFamily","cssStyleNumberTypography2FontSize","cssStyleNumberTypography2LineHeight","cssStyleNumberTypography2FontWeight","cssStyleNumberTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-countdown2-separator":{standart:["cssStyleElementCountDown2NumberColor","cssStyleNumberTypography2FontFamily","cssStyleNumberTypography2FontSize","cssStyleNumberTypography2LineHeight","cssStyleNumberTypography2FontWeight","cssStyleNumberTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-countdown2__label":{standart:["cssStyleElementCountDown2TitleColor","cssStyleTitleTypography2FontFamily","cssStyleTitleTypography2FontSize","cssStyleTitleTypography2LineHeight","cssStyleTitleTypography2FontWeight","cssStyleTitleTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementCountDown2MessageColor","cssStyleMessageTypography2FontFamily","cssStyleMessageTypography2FontSize","cssStyleMessageTypography2LineHeight","cssStyleMessageTypography2FontWeight","cssStyleMessageTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},35386:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=p(o(10301)),i=p(o(22546)),n=o(81263),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){let{v:t,device:o,state:p,context:f}=e;const m=e=>(0,c.defaultValueValue)({v:t,key:e,device:o,state:p}),{hex:y}=(0,d.getOptionColorHexByPalette)(m("numberColorHex"),m("numberColorPalette")),g=0===m("bgColorOpacity")&&0===m("borderColorOpacity"),b=m("style"),h=m("actions"),v=(0,d.getDynamicContentOption)({options:f.dynamicContent.config,type:n.DCTypes.richText}),S=(0,d.getDynamicContentOption)({options:f.dynamicContent.config,type:n.DCTypes.link}),w=(0,s.isStory)(i.default.getAll());return[{id:"toolbarCountdown",type:"popover-dev",config:{icon:"nc-countdown",title:(0,l.t)("Countdown")},position:70,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabTimerElementTimer",label:(0,l.t)("Timer"),options:[{id:"style",label:(0,l.t)("Styles"),type:"radioGroup-dev",position:20,devices:"desktop",choices:[{value:"style1",icon:"nc-countdown-style1"},{value:"style2",icon:"nc-countdown-style2"},{value:"style3",icon:"nc-countdown-style3"}]},{id:"date",label:(0,l.t)("Date"),type:"inputText-dev",devices:"desktop",placeholder:"dd/mm/yyyy",config:{size:"medium"},population:v},{id:"hours",label:(0,l.t)("Hour"),type:"select-dev",devices:"desktop",choices:r.default.times(24,(e=>{const t=(e+12)%12||12,o=e>=12?"pm":"am";return{title:`${t} ${o}`,value:`${t} ${o}`}})),population:v},{id:"minutes",label:(0,l.t)("Minutes"),type:"select-dev",devices:"desktop",choices:r.default.times(6,(e=>({title:`${e}0 m`,value:10*e}))),population:v},{id:"timeZone",label:(0,l.t)("Time Zone"),type:"select-dev",devices:"desktop",choices:[{value:720,title:(0,l.t)("- 12:00 (International Date Line West)")},{value:660,title:(0,l.t)("- 11:00 (Niue)")},{value:600,title:(0,l.t)("- 10:00 (Honolulu, Papeete, Hawaii)")},{value:580,title:(0,l.t)("- 9:30 (Marquesas)")},{value:540,title:(0,l.t)("- 9:00 (Anchorage, Alaska)")},{value:480,title:(0,l.t)("- 8:00 (Los Angeles)")},{value:420,title:(0,l.t)("- 7:00 (Denver, Phoenix)")},{value:360,title:(0,l.t)("- 6:00 (Chicago, Dallas)")},{value:300,title:(0,l.t)("- 5:00 (New York, Miami)")},{value:270,title:(0,l.t)("- 4:30 (Caracas)")},{value:240,title:(0,l.t)("- 4:00 (Halifax, Manaus, Santiago)")},{value:210,title:(0,l.t)("- 3:30 (Newfoundland)")},{value:180,title:(0,l.t)("- 3:00 (Brasilia, Santiago, Argentina)")},{value:150,title:(0,l.t)("- 2:30 (Newfoundland Daylight)")},{value:120,title:(0,l.t)("- 2:00 (Noronha)")},{value:60,title:(0,l.t)("- 1:00 (Cape Verde)")},{value:0,title:(0,l.t)("00:00 (London, Dublin)")},{value:-60,title:(0,l.t)("+ 1:00 (Berlin, Paris, Morocco, Netherlands)")},{value:-120,title:(0,l.t)("+ 2:00 (Athens, Istanbul, Romania)")},{value:-180,title:(0,l.t)("+ 3:00 (Moscow, Baghdad)")},{value:-210,title:(0,l.t)("+ 3:30 (Iran)")},{value:-240,title:(0,l.t)("+ 4:00 (Dubai, Baku)")},{value:-270,title:(0,l.t)("+ 4:30 (Afghanistan, Kabul, Tehran)")},{value:-300,title:(0,l.t)("+ 5:00 (Yekaterinburg, Baku, Karachi)")},{value:-330,title:(0,l.t)("+ 5:30 (India)")},{value:-345,title:(0,l.t)("+ 5:45 (Kathmandu, Nepal)")},{value:-360,title:(0,l.t)("+ 6:00 (Nur-Sultan, Kyrgyzstan)")},{value:-390,title:(0,l.t)("+ 6:30 (Yangon)")},{value:-420,title:(0,l.t)("+ 7:00 (Bangkok, Jakarta, Vietnam)")},{value:-480,title:(0,l.t)("+ 8:00 (Singapore, Beijing, Malaysia)")},{value:-510,title:(0,l.t)("+ 8:30 (Pyongyang)")},{value:-540,title:(0,l.t)("+ 9:00 (Tokyo, Seoul)")},{value:-570,title:(0,l.t)("+ 9:30 (Darwin, Adelaide)")},{value:-600,title:(0,l.t)("+ 10:00 (Sydney, Melbourne, Canberra)")},{value:-630,title:(0,l.t)("+ 10:30 (Lord Howe Island)")},{value:-660,title:(0,l.t)("+ 11:00 (Ponape)")},{value:-720,title:(0,l.t)("+ 12:00 (Auckland, Magadan)")},{value:-780,title:(0,l.t)("+ 13:00 (Tongatapu)")}]}]},{id:"tabCurrentElementAdvanced",label:(0,l.t)("Advanced"),options:[{id:"showDays",label:(0,l.t)("Days"),type:"switch-dev",devices:"desktop"},{id:"showHours",label:(0,l.t)("Hours"),type:"switch-dev",devices:"desktop"},{id:"showMinutes",label:(0,l.t)("Minutes"),type:"switch-dev",devices:"desktop"},{id:"showSeconds",label:(0,l.t)("Seconds"),type:"switch-dev",devices:"desktop"}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},position:70,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabsTypographyNumber",label:(0,l.t)("Number"),options:[{id:"number",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabsTypographyTitle",label:(0,l.t)("Title"),options:[{id:"title",disabled:"style3"===b,type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabsTypographyMessage",label:(0,l.t)("Message"),options:[{id:"message",disabled:"showMessage"!==h,type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(y,m("numberColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabNumber",label:(0,l.t)("Nr."),options:[{id:"numberColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabTitle",label:(0,l.t)("Title"),options:[{id:"titleColor",type:"colorPicker-dev",disabled:"style3"===b,states:[u.NORMAL,u.HOVER]}]},{id:"tabMessage",label:(0,l.t)("Message"),options:[{id:"messageColor",type:"colorPicker-dev",disabled:"showMessage"!==h,states:[u.NORMAL,u.HOVER]}]},{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"border",type:"border-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"popoverLink",type:"popover-dev",config:{icon:"nc-link",title:(0,l.t)("Link"),size:"medium"},position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0},tabs:[{id:"linkAction",label:(0,l.t)("Action"),options:[{id:"actions",label:(0,l.t)("When Finished"),type:"select-dev",devices:"desktop",choices:[{title:(0,l.t)("None"),value:"none"},{title:(0,l.t)("Hide"),value:"hide"},{title:(0,l.t)("Show message"),value:"showMessage"}]},{id:"messageText",label:(0,l.t)("Message"),type:"inputText-dev",disabled:"showMessage"!=m("actions"),placeholder:(0,l.t)("Message sent"),population:v,devices:"desktop"}]},{id:"redirect",label:(0,l.t)("Redirect"),options:[{id:"messageRedirect",label:(0,l.t)("URL"),type:"inputText-dev",devices:"desktop",placeholder:"http://",population:S}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,l.t)("Settings")},position:110,options:[{id:"width",label:(0,l.t)("Width"),type:"slider-dev",disabled:w,config:{min:1,max:"px"===m("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"height",label:(0,l.t)("Height"),type:"slider-dev",disabled:g&&!w,config:{min:"%"===m("heightSuffix")?5:50,max:300,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"spacing",label:(0,l.t)("Spacing"),type:"slider-dev",disabled:g,config:{min:0,max:50,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},79855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{formatDate:function(){return o},getTime:function(){return r}});const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d/m/Y";if(e=new Date(e),isNaN(Date.parse(e)))return e;const o=e.getFullYear(),r=e.getMonth()+1,i=e.getDate(),n=e.getHours(),a=e.getMinutes(),l=e.getSeconds();return t.replace("Y",o).replace("m",r).replace("d",i).replace("H",n).replace("i",a).replace("s",l)};function r(e,t,o){const[r,i]=t.split(" "),n=60*(new Date).getTimezoneOffset()*1e3;return function(e){const t=/^(\d{1,2})[-\/](\d{1,2})[-\/](\d{4})$/.exec(e);if(null===t)return!1;const o=t[2],r=t[1]-1,i=t[3],n=new Date(i,r,o);return n.getDate()==o&&n.getMonth()==r&&n.getFullYear()==i}(e)?new Date(`${e} ${r}:${o} ${i}`).getTime()-n:new Date(0).getTime()}},26705:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Chart",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(60042));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t,type:o,strokeW:n}=e;const a=(0,i.default)("brz-counter-chart",`brz-counter-chart-${o}`),l=(0,i.default)("brz-counter-pie-chart",t);return r.default.createElement("div",{className:a},r.default.createElement("svg",{className:"",viewBox:"0 0 32 32"},"radial"===o&&r.default.createElement("circle",{className:"brz-counter-radial-chart",r:16-(n>64?16:n/4),cx:"16",cy:"16"}),"empty"===o&&r.default.createElement("circle",{className:"brz-counter-radial-chart",r:16-(n>64?16:n/4),cx:"16",cy:"16"}),r.default.createElement("circle",{className:l,r:"16",cx:"16",cy:"16"})))}},77763:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return P}});const r=v(o(27378)),i=v(o(65311)),n=v(o(60042)),a=v(o(10301)),l=v(o(63692)),s=v(o(36275)),c=v(o(31440)),d=v(o(67439)),u=w(o(12379)),p=w(o(2667)),f=o(67477),m=o(78438),y=o(94220),g=o(86022),b=v(o(16987)),h=o(26705);function v(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(S=function(e){return e?o:t})(e)}function w(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=S(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const x=["topLeft","topRight","bottomLeft","bottomRight"],M=e=>{const{width:t,tabletWidth:o,mobileWidth:r,widthSuffix:i,tabletWidthSuffix:n,mobileWidthSuffix:a,...l}=e;return{size:t,tabletSize:o,mobileSize:r,sizeSuffix:i,tabletSizeSuffix:n,mobileSizeSuffix:a,...l}};class T extends l.default{static get componentId(){return"Counter"}static defaultValue=b.default;static experimentalDynamicContent=!0;handleResizerChange=e=>this.patchValue(e);state={final:0};componentDidMount(){this.initCounter()}componentDidUpdate(e){e.dbValue.start===this.props.dbValue.start&&e.dbValue.startPopulation===this.props.dbValue.startPopulation&&e.dbValue.end===this.props.dbValue.end&&e.dbValue.endPopulation===this.props.dbValue.endPopulation&&e.dbValue.duration===this.props.dbValue.duration||this.initCounter()}initCounter=a.default.debounce((()=>{const{duration:e,start:t,end:o,type:r}=this.getValue(),n="simple"===r,a=Number(o),l=n?a:Math.max(0,Math.min(100,a)),s=e=>{this.state.final!==e&&this.setState({final:e})};this.lastAnimation&&this.lastAnimation.stop(!0,!0),this.lastAnimation=(0,i.default)({countNum:Number(t)}).animate({countNum:l},{duration:1e3*e,easing:"linear",step:function(){s((0,m.roundTo)(this.countNum,2))},complete:function(){s(l)}})}),1e3);renderForEdit(e,t,o){const{final:i}=this.state,{type:a,start:l,end:m,duration:b,separator:v}=e,S="simple"===a,w=S?e.prefixLabel:e.prefixLabelRadial,T=S?e.suffixLabel:e.suffixLabelRadial,P=(0,n.default)("brz-counter",`brz-counter-${a}`,(0,y.css)(`${this.constructor.componentId}-counter`,`${this.getId()}-counter`,(0,f.style)(e,t,o))),C=(0,n.default)("brz-counter-figures",(0,y.css)(`${this.constructor.componentId}-number`,`${this.getId()}-number`,(0,f.styleNumber)(e,t,o))),k=(0,n.default)(`brz-counter-chart-${a}`,(0,y.css)(`${this.constructor.componentId}-count`,`${this.getId()}-count`,(0,f.styleChart)({...e,end:i},t,o))),_=r.default.createElement("div",{className:C},w&&r.default.createElement("span",null,`${w} `),r.default.createElement("span",{className:"brz-counter-numbers"},((O=i.toFixed(0).split("."))[0]=O[0].replace(/\B(?=(\d{3})+(?!\d))/g,v),O.join("-"))),T&&r.default.createElement("span",null,` ${T}`));var O;return r.default.createElement(d.default,this.makeToolbarPropsFromConfig2(u,p),r.default.createElement(s.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(g.Wrapper,this.makeWrapperProps({className:P,attributes:{"data-start":l,"data-end":m,"data-duration":b,"data-separator":v,"data-type":a}}),"simple"!==a?r.default.createElement(c.default,{keepAspectRatio:!0,points:x,restrictions:{size:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletSize:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileSize:{px:{min:5,max:1e3},"%":{min:5,max:100}}},meta:this.props.meta,value:M(e),onChange:e=>this.handleResizerChange((e=>(e.size&&(e.width=e.size,delete e.size),e.tabletSize&&(e.tabletWidth=e.tabletSize,delete e.tabletSize),e.mobileSize&&(e.mobileWidth=e.mobileSize,delete e.mobileSize),e))(e))},r.default.createElement(h.Chart,{className:k,type:a,strokeW:e.strokeWidth}),_):_)))}}const P=T},2667:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return l},getItems:function(){return s}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(16526),l=(0,n.t)("Counter");function s(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,n.t)("Padding"),position:50}]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),options:[{id:"hoverTransition",label:(0,n.t)("Hover Transition"),disabled:(0,a.isStory)(r.default.getAll()),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,n.t)("Padding"),devices:"responsive",position:50}]}]}]}},67477:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleChart:function(){return i},style:function(){return n},styleNumber:function(){return a}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementCounterChartEnd"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz && .brz-counter-chart":{standart:["cssStylePaddingBG"]},".brz &&:hover .brz-counter-figures":{standart:["cssStyleColor","cssStyleElementCounterTextShadow","cssStylePaddingBG"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]},".brz &&:hover .brz-counter-chart-radial > svg > .brz-counter-pie-chart":{standart:["cssStyleElementCounterChartWidth"]},".brz &&:hover .brz-counter-chart-empty > svg > .brz-counter-pie-chart":{standart:["cssStyleElementCounterChartWidth"]},".brz &&:hover .brz-counter-pie-chart":{standart:["cssStyleStroke"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]},".brz &&:hover .brz-counter-radial-chart":{standart:["cssStyleFill"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]},".brz &&:hover .brz-counter-chart-pie":{standart:["cssStyleFill"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]}}})}},12379:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81263),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119);function p(e){let{v:t,device:o,context:i}=e;const p=e=>(0,c.defaultValueValue)({v:t,key:e,device:o}),f=p("type"),m=(0,d.getDynamicContentOption)({options:i.dynamicContent.config,type:n.DCTypes.richText}),{hex:y}=(0,d.getOptionColorHexByPalette)(p("colorHex"),p("colorPalette")),g="radial"===f,b="simple"===f,h="empty"===f,v="pie"===f,S=(0,s.isStory)(r.default.getAll());return[{id:"toolbarCurrentElement",type:"popover-dev",devices:"desktop",config:{icon:"nc-counter-outline",title:(0,l.t)("Counter")},position:70,options:[{id:"tabsCurrentElement",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabCurrentElementCounter",label:(0,l.t)("Counter"),options:[{id:"type",label:(0,l.t)("Style"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"simple",icon:"nc-counter-style-1"},{value:"radial",icon:"nc-counter-style-2"},{value:"empty",icon:"nc-counter-style-3"},{value:"pie",icon:"nc-counter-style-4"}]},{id:"start",type:"number-dev",label:(0,l.t)("Start"),devices:"desktop",disabled:!b,config:{size:"short",min:-1e9,max:1e9,spinner:!1},population:m},{id:"end",type:"number-dev",label:(0,l.t)("End"),devices:"desktop",config:{size:"short",min:b?-1e9:0,max:b?1e9:100,spinner:!1},population:m},{id:"duration",label:(0,l.t)("Duration"),type:"slider-dev",devices:"desktop",config:{min:0,step:.2,max:10,units:[{value:"s",title:"s"}]}}]},{id:"tabCurrentElementAdvanced",label:(0,l.t)("Advanced"),options:[{id:"prefixLabelRadial",label:(0,l.t)("Prefix"),type:"inputText-dev",placeholder:"Prefix",disabled:!g,config:{size:"medium"},population:m},{id:"suffixLabelRadial",label:(0,l.t)("Suffix"),type:"inputText-dev",placeholder:"Suffix",disabled:!g,config:{size:"medium"},population:m},{id:"prefixLabel",label:(0,l.t)("Prefix"),type:"inputText-dev",placeholder:"Prefix",disabled:!b,config:{size:"medium"},population:m},{id:"suffixLabel",label:(0,l.t)("Suffix"),type:"inputText-dev",placeholder:"Suffix",disabled:!b,config:{size:"medium"},population:m},{id:"separator",label:(0,l.t)("Separator"),type:"inputText-dev",placeholder:",",disabled:h||v,config:{size:"medium"},population:m}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},disabled:h||v,position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(y,p("colorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,l.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:h||v}]},{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"fillColor",type:"colorPicker-dev",disabled:b,states:[u.NORMAL,u.HOVER]}]},{id:"tabBgProgress",label:(0,l.t)("Progress"),options:[{id:"strokeColor",type:"colorPicker-dev",disabled:!v,states:[u.NORMAL,u.HOVER]},{id:"stroke",type:"border-dev",disabled:b||v,states:[u.NORMAL,u.HOVER],config:{width:["grouped"],styles:["solid"]}}]},{id:"tabTextShadow",label:(0,l.t)("Shadow"),options:[{id:"textShadow",type:"textShadow-dev",disabled:!b&&!g,states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},position:110,disabled:b||S,options:[{id:"width",label:(0,l.t)("Size"),type:"slider-dev",disabled:b,config:{min:1,max:"px"===p("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,l.t)("More Settings"),position:110,disabled:!b&&!S,title:(0,l.t)("Settings"),roles:["admin"],icon:"nc-cog",devices:"desktop"}]}},88017:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EcwidCart",{enumerable:!0,get:function(){return K}});const r=Q(o(60042)),i=Z(o(27378)),n=o(10301),a=Q(o(36275)),l=Q(o(67439)),s=Q(o(63692)),c=o(86022),d=Q(o(22546)),u=o(62762),p=o(66080),f=o(10227),m=o(94220),y=Q(o(55857)),g=Z(o(44659)),b=Z(o(85438)),h=Z(o(24543)),v=Z(o(47213)),S=Z(o(89586)),w=Z(o(18933)),x=o(68436),M=Z(o(14550)),T=Z(o(42549)),P=Z(o(53627)),C=Z(o(87733)),k=Z(o(10590)),_=Z(o(26181)),O=Z(o(52128)),E=Z(o(25741)),z=Z(o(44489)),B=Z(o(12726)),j=Z(o(74593)),N=Z(o(71212)),I=Z(o(23376)),L=Z(o(12373)),D=Z(o(2671)),F=Z(o(40719)),A=Z(o(31794)),R=Z(o(26742)),W=Z(o(19623)),H=Z(o(28873)),V=Z(o(40185)),U=Z(o(94417)),G=Z(o(18839)),$=o(42824);function Q(e){return e&&e.__esModule?e:{default:e}}function Y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(Y=function(e){return e?o:t})(e)}function Z(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=Y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class K extends s.default{static get componentId(){return"EcwidCart"}static defaultValue=y.default;ecwid;uniqueId=`${K.componentId}-${(0,n.uniqueId)()}`;containerRef=(0,i.createRef)();componentDidMount(){const e=this.makeToolbarPropsFromConfig2(M,g,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e);const t=d.default.getAll();if(this.containerRef.current&&(0,u.isCloud)(t)&&"ecwid"===t.modules?.shop?.type){const e=this.getDBValue(),o=(0,$.valueToEciwdConfig)(e);this.ecwid=p.EcwidService.init(t.modules.shop.storeId,o),this.ecwid.cart(this.containerRef.current)}}componentDidUpdate(){const e=(0,$.valueToEciwdConfig)(this.getDBValue()),t=this.ecwid?.getConfig();t&&(0,f.eq)(t,e)||this.ecwid?.updateConfig(e)}renderForEdit(e,t,o){const{customCSS:n}=e,s=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-cart-wrapper",(0,m.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,x.style)(e,t,o)));return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(U,v),selector:".ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .page-title__name, .ec-store .ec-store__content-wrapper .ec-page-title .page-title__name",selectorSearchStrategy:"dom-tree"},(e=>{let{open:t}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(G,v),selector:".ec-cart .ec-cart__body .ec-cart__body-inner .ec-page-title .page-title__name",selectorSearchStrategy:"dom-tree"},(e=>{let{open:o}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(T,v),selector:".ec-breadcrumbs",selectorSearchStrategy:"dom-tree"},(e=>{let{open:r}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(B,S,{allowExtend:!1}),selector:".ec-cart-item__image",selectorSearchStrategy:"dom-tree"},(e=>{let{open:d}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(D,v),selector:"a.ec-cart-item__title",selectorSearchStrategy:"dom-tree"},(e=>{let{open:u}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(F,v),selector:".ec-cart-item__options.ec-text-muted",selectorSearchStrategy:"dom-tree"},(e=>{let{open:p}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(k,h),selector:".ec-cart-item__control",selectorSearchStrategy:"dom-tree"},(e=>{let{open:f}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(R,v),selector:".ec-cart-item__sku.ec-text-muted",selectorSearchStrategy:"dom-tree"},(e=>{let{open:m}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(A,v),selector:".ec-cart-item__count",selectorSearchStrategy:"dom-tree"},(e=>{let{open:y}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(L,v),selector:".ec-cart-item__price-inner, .ec-cart-item-sum.ec-cart-item-sum--cta",selectorSearchStrategy:"dom-tree"},(e=>{let{open:g}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(V,v),selector:".ec-cart-summary__cell.ec-cart-summary__title",selectorSearchStrategy:"dom-tree"},(e=>{let{open:h}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(H,v),selector:".ec-cart-summary__total",selectorSearchStrategy:"dom-tree"},(e=>{let{open:S}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(_,v),selector:".ec-cart-shopping__wrap",selectorSearchStrategy:"dom-tree"},(e=>{let{open:x}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(E,v),selector:".ec-cart__message",selectorSearchStrategy:"dom-tree"},(e=>{let{open:M}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(O,v),selector:".ec-cart-email__text",selectorSearchStrategy:"dom-tree"},(e=>{let{open:T}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(C,v),selector:".form-control--checkbox.form-control",selectorSearchStrategy:"dom-tree"},(e=>{let{open:C}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(P,b,{allowExtend:!1}),selector:".form-control__button",selectorSearchStrategy:"dom-tree"},(e=>{let{open:b}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(W,v),selector:".ec-cart__cert.ec-text-muted, .ec-cart-next__text.ec-text-muted",selectorSearchStrategy:"dom-tree"},(e=>{let{open:P}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(j,w,{allowExtend:!1}),selector:".ec-cart-email__input",selectorSearchStrategy:"dom-tree"},(e=>{let{open:w}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(N,v),selector:".ec-cart-next__header.ec-header-h4",selectorSearchStrategy:"dom-tree"},(e=>{let{open:k}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(I,v),selector:".ec-cart-next__title",selectorSearchStrategy:"dom-tree"},(e=>{let{open:_}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(z,v),selector:".ec-footer",selectorSearchStrategy:"dom-tree"},(e=>{let{open:l}=e;return i.default.createElement(a.default,{selectorName:this.getId(),css:n},i.default.createElement(c.Wrapper,this.makeWrapperProps({className:s}),i.default.createElement("div",{onClickCapture:e=>(e.stopPropagation(),e.preventDefault(),e.target?.closest(".ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .page-title__name, .ec-store .ec-store__content-wrapper .ec-page-title .page-title__name")?t(e.nativeEvent):e.target?.closest(".ec-cart .ec-cart__body .ec-cart__body-inner .ec-page-title .page-title__name")?o(e.nativeEvent):e.target?.closest(".ec-breadcrumbs")?r(e.nativeEvent):e.target?.closest(".ec-cart-item__image")?d(e.nativeEvent):e.target?.closest("a.ec-cart-item__title")?u(e.nativeEvent):e.target?.closest(".ec-cart-item__options.ec-text-muted")?p(e.nativeEvent):e.target?.closest(".ec-cart-item__control")?f(e.nativeEvent):e.target?.closest(".ec-cart-item__sku.ec-text-muted")?m(e.nativeEvent):e.target?.closest(".ec-cart-item__count")?y(e.nativeEvent):e.target?.closest(".ec-cart-item__price-inner, .ec-cart-item-sum.ec-cart-item-sum--cta")?g(e.nativeEvent):e.target?.closest(".ec-cart-summary__cell.ec-cart-summary__title")?h(e.nativeEvent):e.target?.closest(".ec-cart-summary__total")?S(e.nativeEvent):e.target?.closest(".ec-cart-shopping__wrap")?x(e.nativeEvent):e.target?.closest(".ec-cart__message")?M(e.nativeEvent):e.target?.closest(".ec-cart-email__text")?T(e.nativeEvent):e.target?.closest(".form-control--checkbox.form-control")?C(e.nativeEvent):e.target?.closest(".form-control__button")?b(e.nativeEvent):e.target?.closest(".ec-cart__cert.ec-text-muted, .ec-cart-next__text.ec-text-muted")?P(e.nativeEvent):e.target?.closest(".ec-cart-email__input")?w(e.nativeEvent):e.target?.closest(".ec-cart-next__header.ec-header-h4")?k(e.nativeEvent):e.target?.closest(".ec-cart-next__title")?_(e.nativeEvent):e.target?.closest(".ec-footer")&&l(e.nativeEvent),!1),className:"brz-ecwid-cart",id:this.uniqueId,ref:this.containerRef})))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}renderForView(e,t,o){const n=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-cart-wrapper",(0,m.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,x.style)(e,t,o)));return i.default.createElement(c.Wrapper,this.makeWrapperProps({className:n}),i.default.createElement("div",{className:"brz-ecwid-cart","data-store-id":"{{ecwid_store_id}}"}))}}},44659:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic")},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},85438:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"buttonBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},24543:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"closeBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},47213:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},89586:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"imageBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},18933:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"inputBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},68436:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper":{standart:["cssStyleElementEcwidCartWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--my-account":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--track-order":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--shopping-cart":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.ec-link.ec-link--muted":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon":{standart:["cssStyleElementEcwidCartFooterIconSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon:hover svg":{standart:["cssStyleElementEcwidCartFooterIconSize","cssStyleElementEcwidCartFooterIconColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .page-title__name.ec-header-h1":{standart:["cssStyleElementEcwidCartTitleColor","cssStyleElementEcwidCartTitleTypographyFontFamily","cssStyleElementEcwidCartTitleTypographyFontSize","cssStyleElementEcwidCartTitleTypographyLineHeight","cssStyleElementEcwidCartTitleTypographyFontWeight","cssStyleElementEcwidCartTitleTypographyLetterSpacing","cssStyleElementEcwidCartTitleAlign","cssStyleElementEcwidCartTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-page-title .page-title__name.ec-header-h1":{standart:["cssStyleElementEcwidCartTitleColor","cssStyleElementEcwidCartTitleTypographyFontFamily","cssStyleElementEcwidCartTitleTypographyFontSize","cssStyleElementEcwidCartTitleTypographyLineHeight","cssStyleElementEcwidCartTitleTypographyFontWeight","cssStyleElementEcwidCartTitleTypographyLetterSpacing","cssStyleElementEcwidCartTitleAlign","cssStyleElementEcwidCartTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-page-title .ec-breadcrumbs":{standart:["cssStyleElementEcwidProductBreadcrumbsAlign","cssStyleElementEcwidProductBreadcrumbsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-page-title .ec-breadcrumbs .breadcrumbs__link":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-page-title .breadcrumbs__delimiter":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .ec-breadcrumbs":{standart:["cssStyleElementEcwidProductBreadcrumbsAlign","cssStyleElementEcwidProductBreadcrumbsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .ec-breadcrumbs .breadcrumbs__link":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .breadcrumbs__delimiter":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .ec-breadcrumbs":{standart:["cssStyleElementEcwidProductBreadcrumbsAlign","cssStyleElementEcwidProductBreadcrumbsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .ec-breadcrumbs .breadcrumbs__link":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-page-title .page-title__name":{standart:["cssStyleElementEcwidCartTitle2Color","cssStyleElementEcwidCartTitle2TypographyFontFamily","cssStyleElementEcwidCartTitle2TypographyFontSize","cssStyleElementEcwidCartTitle2TypographyLineHeight","cssStyleElementEcwidCartTitle2TypographyFontWeight","cssStyleElementEcwidCartTitle2TypographyLetterSpacing","cssStyleElementEcwidCartTitle2Align"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .page-title__name":{standart:["cssStyleElementEcwidCartTitle2Color","cssStyleElementEcwidCartTitle2TypographyFontFamily","cssStyleElementEcwidCartTitle2TypographyFontSize","cssStyleElementEcwidCartTitle2TypographyLineHeight","cssStyleElementEcwidCartTitle2TypographyFontWeight","cssStyleElementEcwidCartTitle2TypographyLetterSpacing","cssStyleElementEcwidCartTitle2Align"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-page-title .page-title__name.ec-header-h1":{standart:["cssStyleElementEcwidCartTitle2Color","cssStyleElementEcwidCartTitle2TypographyFontFamily","cssStyleElementEcwidCartTitle2TypographyFontSize","cssStyleElementEcwidCartTitle2TypographyLineHeight","cssStyleElementEcwidCartTitle2TypographyFontWeight","cssStyleElementEcwidCartTitle2TypographyLetterSpacing","cssStyleElementEcwidCartTitle2Align"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__checkout .ec-cart__cert":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--cartitems .ec-confirmation__wrap .ec-confirmation__title.ec-header-h5":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--contactinfo .ec-confirmation__wrap .ec-confirmation__title.ec-header-h5":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__next .ec-cart-next__step.ec-cart-next__step--payment .ec-cart-next__text":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--orderinfo .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__next .ec-cart-next__step.ec-cart-next__step--order-confirmation .ec-cart-next__text":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__checkout .ec-cart__buttons":{standart:["cssStyleElementEcwidCartButtonSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__checkout .ec-cart__buttons div .form-control":{standart:["cssStyleElementEcwidCartButtonAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__checkout .ec-cart__buttons div .form-control .form-control__button:hover":{standart:["cssStyleElementEcwidCartButtonSize","cssStyleElementEcwidCartButtonWidth","cssStyleElementEcwidCartButtonColor","cssStyleElementEcwidCartButtonBgColor","cssStyleElementEcwidCartButtonBgGradient","cssStyleElementEcwidCartButtonBorder","cssStyleElementEcwidCartButtonBoxShadow","cssStyleElementEcwidCartButtonBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__checkout .ec-cart__buttons div .form-control .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidCartButtonTypographyFontFamily","cssStyleElementEcwidCartButtonTypographyFontSize","cssStyleElementEcwidCartButtonTypographyLineHeight","cssStyleElementEcwidCartButtonTypographyFontWeight","cssStyleElementEcwidCartButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart.ec-cart--empty .ec-cart__button":{standart:["cssStyleElementEcwidCartButtonSpacing","cssStyleElementEcwidCartButtonAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart.ec-cart--empty .ec-cart__button .form-control":{standart:["cssStyleElementEcwidCartButtonWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart.ec-cart--empty .ec-cart__button .form-control .form-control__button:hover":{standart:["cssStyleElementEcwidCartButtonSize","cssStyleElementEcwidCartButtonColor","cssStyleElementEcwidCartButtonBgColor","cssStyleElementEcwidCartButtonBgGradient","cssStyleElementEcwidCartButtonBorder","cssStyleElementEcwidCartButtonBoxShadow","cssStyleElementEcwidCartButtonBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart.ec-cart--empty .ec-cart__button .form-control .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidCartButtonTypographyFontFamily","cssStyleElementEcwidCartButtonTypographyFontSize","cssStyleElementEcwidCartButtonTypographyLineHeight","cssStyleElementEcwidCartButtonTypographyFontWeight","cssStyleElementEcwidCartButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart-step__body .ec-form .ec-form__row .ec-form__cell":{standart:["cssStyleElementEcwidCartButtonSpacing","cssStyleElementEcwidCartButtonAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart-step__body .ec-form .ec-form__row .ec-form__cell .form-control":{standart:["cssStyleElementEcwidCartButtonWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart-step__body .ec-form .ec-form__row .ec-form__cell .form-control .form-control__button:hover":{standart:["cssStyleElementEcwidCartButtonSize","cssStyleElementEcwidCartButtonColor","cssStyleElementEcwidCartButtonBgColor","cssStyleElementEcwidCartButtonBgGradient","cssStyleElementEcwidCartButtonBorder","cssStyleElementEcwidCartButtonBoxShadow","cssStyleElementEcwidCartButtonBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart-step__body .ec-form .ec-form__row .ec-form__cell .form-control .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidCartButtonTypographyFontFamily","cssStyleElementEcwidCartButtonTypographyFontSize","cssStyleElementEcwidCartButtonTypographyLineHeight","cssStyleElementEcwidCartButtonTypographyFontWeight","cssStyleElementEcwidCartButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__continue":{standart:["cssStyleElementEcwidCartButtonSpacing","cssStyleElementEcwidCartButtonAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__continue .form-control":{standart:["cssStyleElementEcwidCartButtonWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__continue .form-control .form-control__button:hover":{standart:["cssStyleElementEcwidCartButtonSize","cssStyleElementEcwidCartButtonColor","cssStyleElementEcwidCartButtonBgColor","cssStyleElementEcwidCartButtonBgGradient","cssStyleElementEcwidCartButtonBorder","cssStyleElementEcwidCartButtonBoxShadow","cssStyleElementEcwidCartButtonBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__continue .form-control .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidCartButtonTypographyFontFamily","cssStyleElementEcwidCartButtonTypographyFontSize","cssStyleElementEcwidCartButtonTypographyLineHeight","cssStyleElementEcwidCartButtonTypographyFontWeight","cssStyleElementEcwidCartButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart-email .ec-cart-email__text":{standart:["cssStyleElementEcwidCartEmailColor","cssStyleElementEcwidCartEmailTypographyFontFamily","cssStyleElementEcwidCartEmailTypographyFontSize","cssStyleElementEcwidCartEmailTypographyLineHeight","cssStyleElementEcwidCartEmailTypographyFontWeight","cssStyleElementEcwidCartEmailTypographyLetterSpacing","cssStyleElementEcwidCartEmailAlign","cssStyleElementEcwidCartEmailSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__email":{standart:["cssStyleElementEcwidCartEmailColor","cssStyleElementEcwidCartEmailTypographyFontFamily","cssStyleElementEcwidCartEmailTypographyFontSize","cssStyleElementEcwidCartEmailTypographyLineHeight","cssStyleElementEcwidCartEmailTypographyFontWeight","cssStyleElementEcwidCartEmailTypographyLetterSpacing","cssStyleElementEcwidCartEmailAlign","cssStyleElementEcwidCartEmailSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__checkout .ec-cart__agreement":{standart:["cssStyleElementEcwidCartCheckboxSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__checkout .ec-cart__agreement .ec-cart__agreement.ec-cart__marketing-agreement .form-control--checkbox .form-control__inline-label":{standart:["cssStyleElementEcwidCartCheckboxColor","cssStyleElementEcwidCartCheckboxTypographyFontFamily","cssStyleElementEcwidCartCheckboxTypographyFontSize","cssStyleElementEcwidCartCheckboxTypographyLineHeight","cssStyleElementEcwidCartCheckboxTypographyFontWeight","cssStyleElementEcwidCartCheckboxTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__next.ec-cart-next .ec-cart-next__header.ec-header-h4":{standart:["cssStyleElementEcwidCartNextColor","cssStyleElementEcwidCartNextTypographyFontFamily","cssStyleElementEcwidCartNextTypographyFontSize","cssStyleElementEcwidCartNextTypographyLineHeight","cssStyleElementEcwidCartNextTypographyFontWeight","cssStyleElementEcwidCartNextTypographyLetterSpacing","cssStyleElementEcwidCartNextAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__next.ec-cart-next .ec-cart-next__header.ec-header-h4":{standart:["cssStyleElementEcwidCartNextColor","cssStyleElementEcwidCartNextTypographyFontFamily","cssStyleElementEcwidCartNextTypographyFontSize","cssStyleElementEcwidCartNextTypographyLineHeight","cssStyleElementEcwidCartNextTypographyFontWeight","cssStyleElementEcwidCartNextTypographyLetterSpacing","cssStyleElementEcwidCartNextAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--unpaidstatusinfo .ec-confirmation__wrap .ec-confirmation__title.ec-header-h5":{standart:["cssStyleElementEcwidCartPaymentColor","cssStyleElementEcwidCartPaymentTypographyFontFamily","cssStyleElementEcwidCartPaymentTypographyFontSize","cssStyleElementEcwidCartPaymentTypographyLineHeight","cssStyleElementEcwidCartPaymentTypographyFontWeight","cssStyleElementEcwidCartPaymentTypographyLetterSpacing","cssStyleElementEcwidCartPaymentAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--orderinfo .ec-confirmation__wrap .ec-confirmation__title .ec-confirmation__number.ec-header-h5":{standart:["cssStyleElementEcwidCartPaymentColor","cssStyleElementEcwidCartPaymentTypographyFontFamily","cssStyleElementEcwidCartPaymentTypographyFontSize","cssStyleElementEcwidCartPaymentTypographyLineHeight","cssStyleElementEcwidCartPaymentTypographyFontWeight","cssStyleElementEcwidCartPaymentTypographyLetterSpacing","cssStyleElementEcwidCartPaymentAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__next .ec-cart-next__step.ec-cart-next__step--payment .ec-cart-next__title":{standart:["cssStyleElementEcwidCartPaymentColor","cssStyleElementEcwidCartPaymentTypographyFontFamily","cssStyleElementEcwidCartPaymentTypographyFontSize","cssStyleElementEcwidCartPaymentTypographyLineHeight","cssStyleElementEcwidCartPaymentTypographyFontWeight","cssStyleElementEcwidCartPaymentTypographyLetterSpacing","cssStyleElementEcwidCartPaymentAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__next .ec-cart-next__step.ec-cart-next__step--order-confirmation .ec-cart-next__title":{standart:["cssStyleElementEcwidCartPaymentColor","cssStyleElementEcwidCartPaymentTypographyFontFamily","cssStyleElementEcwidCartPaymentTypographyFontSize","cssStyleElementEcwidCartPaymentTypographyLineHeight","cssStyleElementEcwidCartPaymentTypographyFontWeight","cssStyleElementEcwidCartPaymentTypographyLetterSpacing","cssStyleElementEcwidCartPaymentAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__steps .ec-cart-step .ec-cart-step__wrap .ec-cart-step__title":{standart:["cssStyleElementEcwidCartPaymentColor","cssStyleElementEcwidCartPaymentTypographyFontFamily","cssStyleElementEcwidCartPaymentTypographyFontSize","cssStyleElementEcwidCartPaymentTypographyLineHeight","cssStyleElementEcwidCartPaymentTypographyFontWeight","cssStyleElementEcwidCartPaymentTypographyLetterSpacing","cssStyleElementEcwidCartPaymentAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__email .ec-cart-email__input":{standart:["cssStyleElementEcwidCartInputSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__email .ec-cart-email__input .form-control":{standart:["cssStyleElementEcwidCartInputAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__email .ec-cart-email__input .form-control:hover .form-control__text:-webkit-autofill":{standart:["cssStyleElementEcwidCartInputColorAutofill"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__email .ec-cart-email__input .form-control .form-control__text:hover":{standart:["cssStyleElementEcwidCartInputHeight","cssStyleElementEcwidCartInputWidth","cssStyleElementEcwidCartInputTypographyFontFamily","cssStyleElementEcwidCartInputTypographyFontSize","cssStyleElementEcwidCartInputTypographyLineHeight","cssStyleElementEcwidCartInputTypographyFontWeight","cssStyleElementEcwidCartInputTypographyLetterSpacing","cssStyleElementEcwidCartInputBorderRadius","cssStyleElementEcwidCartInputColor","cssStyleElementEcwidCartInputBgColor","cssStyleElementEcwidCartInputBgGradient","cssStyleElementEcwidCartInputBorderColor","cssStyleElementEcwidCartInputBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__email .ec-cart-email__input .form-control .form-control__placeholder .form-control__placeholder-inner:hover":{standart:["cssStyleElementEcwidCartInputWidth","cssStyleElementEcwidCartInputTypographyFontFamily","cssStyleElementEcwidCartInputTypographyFontSize","cssStyleElementEcwidCartInputTypographyLineHeight","cssStyleElementEcwidCartInputTypographyFontWeight","cssStyleElementEcwidCartInputTypographyLetterSpacing","cssStyleElementEcwidCartInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__title":{standart:["cssStyleElementEcwidCartProductNameColor","cssStyleElementEcwidCartProductNameTypographyFontFamily","cssStyleElementEcwidCartProductNameTypographyFontSize","cssStyleElementEcwidCartProductNameTypographyLineHeight","cssStyleElementEcwidCartProductNameTypographyFontWeight","cssStyleElementEcwidCartProductNameTypographyLetterSpacing","cssStyleElementEcwidCartProductNameAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__title":{standart:["cssStyleElementEcwidCartProductNameColor","cssStyleElementEcwidCartProductNameTypographyFontFamily","cssStyleElementEcwidCartProductNameTypographyFontSize","cssStyleElementEcwidCartProductNameTypographyLineHeight","cssStyleElementEcwidCartProductNameTypographyFontWeight","cssStyleElementEcwidCartProductNameTypographyLetterSpacing","cssStyleElementEcwidCartProductNameAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--cartitems .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__title":{standart:["cssStyleElementEcwidCartProductNameColor","cssStyleElementEcwidCartProductNameTypographyFontFamily","cssStyleElementEcwidCartProductNameTypographyFontSize","cssStyleElementEcwidCartProductNameTypographyLineHeight","cssStyleElementEcwidCartProductNameTypographyFontWeight","cssStyleElementEcwidCartProductNameTypographyLetterSpacing","cssStyleElementEcwidCartProductNameAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__options":{standart:["cssStyleElementEcwidCartProductSizeAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__options .ec-cart-item__option":{standart:["cssStyleElementEcwidCartProductSizeColor","cssStyleElementEcwidCartProductSizeTypographyFontFamily","cssStyleElementEcwidCartProductSizeTypographyFontSize","cssStyleElementEcwidCartProductSizeTypographyLineHeight","cssStyleElementEcwidCartProductSizeTypographyFontWeight","cssStyleElementEcwidCartProductSizeTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__options":{standart:["cssStyleElementEcwidCartProductSizeAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__options .ec-cart-item__option":{standart:["cssStyleElementEcwidCartProductSizeColor","cssStyleElementEcwidCartProductSizeTypographyFontFamily","cssStyleElementEcwidCartProductSizeTypographyFontSize","cssStyleElementEcwidCartProductSizeTypographyLineHeight","cssStyleElementEcwidCartProductSizeTypographyFontWeight","cssStyleElementEcwidCartProductSizeTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__options":{standart:["cssStyleElementEcwidCartProductSizeAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__options .ec-cart-item__option":{standart:["cssStyleElementEcwidCartProductSizeColor","cssStyleElementEcwidCartProductSizeTypographyFontFamily","cssStyleElementEcwidCartProductSizeTypographyFontSize","cssStyleElementEcwidCartProductSizeTypographyLineHeight","cssStyleElementEcwidCartProductSizeTypographyFontWeight","cssStyleElementEcwidCartProductSizeTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart.ec-cart--empty .ec-cart__message":{standart:["cssStyleElementEcwidCartEmptyColor","cssStyleElementEcwidCartEmptyTypographyFontFamily","cssStyleElementEcwidCartEmptyTypographyFontSize","cssStyleElementEcwidCartEmptyTypographyLineHeight","cssStyleElementEcwidCartEmptyTypographyFontWeight","cssStyleElementEcwidCartEmptyTypographyLetterSpacing","cssStyleElementEcwidCartEmptyAlign","cssStyleElementEcwidCartEmptySpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__image":{standart:["cssStyleElementEcwidCartImageSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__image .ec-cart-item__picture:hover":{standart:["cssStyleElementEcwidCartImageWidth","cssStyleElementEcwidCartImageBorder","cssStyleElementEcwidCartImageBorderRadius","cssStyleElementEcwidCartImageBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__image":{standart:["cssStyleElementEcwidCartImageSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__image .ec-cart-item__picture:hover":{standart:["cssStyleElementEcwidCartImageWidth","cssStyleElementEcwidCartImageBorder","cssStyleElementEcwidCartImageBorderRadius","cssStyleElementEcwidCartImageBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--cartitems .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__image":{standart:["cssStyleElementEcwidCartImageSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--cartitems .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__image .ec-cart-item__picture:hover":{standart:["cssStyleElementEcwidCartImageWidth","cssStyleElementEcwidCartImageBorder","cssStyleElementEcwidCartImageBorderRadius","cssStyleElementEcwidCartImageBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-secondary .ec-cart-item__price .ec-cart-item__price-inner":{standart:["cssStyleElementEcwidProductPriceColor","cssStyleElementEcwidProductPriceTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__item.ec-cart-item.ec-cart-item--summary .ec-cart-item__sum .ec-cart-item-sum.ec-cart-item-sum--cta":{standart:["cssStyleElementEcwidProductPriceColor","cssStyleElementEcwidProductPriceTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-secondary .ec-cart-item__price .ec-cart-item__price-inner":{standart:["cssStyleElementEcwidProductPriceColor","cssStyleElementEcwidProductPriceTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__summary.ec-cart-summary .ec-cart-summary__body .ec-cart-summary__row.ec-cart-summary__row--total .ec-cart-summary__cell.ec-cart-summary__title":{standart:["cssStyleElementEcwidCartSummaryTitleColor","cssStyleElementEcwidCartSummaryTitleTypographyFontFamily","cssStyleElementEcwidCartSummaryTitleTypographyFontSize","cssStyleElementEcwidCartSummaryTitleTypographyLineHeight","cssStyleElementEcwidCartSummaryTitleTypographyFontWeight","cssStyleElementEcwidCartSummaryTitleTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__summary.ec-cart-summary .ec-cart-summary__body .ec-cart-summary__row.ec-cart-summary__row--total .ec-cart-summary__cell.ec-cart-summary__title":{standart:["cssStyleElementEcwidCartSummaryTitleColor","cssStyleElementEcwidCartSummaryTitleTypographyFontFamily","cssStyleElementEcwidCartSummaryTitleTypographyFontSize","cssStyleElementEcwidCartSummaryTitleTypographyLineHeight","cssStyleElementEcwidCartSummaryTitleTypographyFontWeight","cssStyleElementEcwidCartSummaryTitleTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--unpaidstatusinfo .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section":{standart:["cssStyleElementEcwidCartSummaryTitleColor","cssStyleElementEcwidCartSummaryTitleTypographyFontFamily","cssStyleElementEcwidCartSummaryTitleTypographyFontSize","cssStyleElementEcwidCartSummaryTitleTypographyLineHeight","cssStyleElementEcwidCartSummaryTitleTypographyFontWeight","cssStyleElementEcwidCartSummaryTitleTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__summary.ec-cart-summary .ec-cart-summary__body .ec-cart-summary__row.ec-cart-summary__row--total .ec-cart-summary__cell.ec-cart-summary__price .ec-cart-summary__total":{standart:["cssStyleElementEcwidCartSummaryPriceColor","cssStyleElementEcwidCartSummaryPriceTypographyFontFamily","cssStyleElementEcwidCartSummaryPriceTypographyFontSize","cssStyleElementEcwidCartSummaryPriceTypographyLineHeight","cssStyleElementEcwidCartSummaryPriceTypographyFontWeight","cssStyleElementEcwidCartSummaryPriceTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__summary.ec-cart-summary .ec-cart-summary__body .ec-cart-summary__row.ec-cart-summary__row--total .ec-cart-summary__cell.ec-cart-summary__price .ec-cart-summary__total":{standart:["cssStyleElementEcwidCartSummaryPriceColor","cssStyleElementEcwidCartSummaryPriceTypographyFontFamily","cssStyleElementEcwidCartSummaryPriceTypographyFontSize","cssStyleElementEcwidCartSummaryPriceTypographyLineHeight","cssStyleElementEcwidCartSummaryPriceTypographyFontWeight","cssStyleElementEcwidCartSummaryPriceTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--unpaidstatusinfo .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-confirmation__order-confirmation-total":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__shopping.ec-cart-shopping":{standart:["cssStyleElementEcwidMyAccountConnectLinkAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__shopping.ec-cart-shopping .ec-cart-shopping__wrap":{standart:["cssStyleElementEcwidMyAccountConnectTypographyFontFamily","cssStyleElementEcwidMyAccountConnectTypographyFontSize","cssStyleElementEcwidMyAccountConnectTypographyLineHeight","cssStyleElementEcwidMyAccountConnectTypographyFontWeight","cssStyleElementEcwidMyAccountConnectTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__shopping.ec-cart-shopping .ec-cart-shopping__wrap .ec-link:hover":{standart:["cssStyleElementEcwidMyAccountConnectLinkTypographyFontFamily","cssStyleElementEcwidMyAccountConnectLinkTypographyFontSize","cssStyleElementEcwidMyAccountConnectLinkTypographyLineHeight","cssStyleElementEcwidMyAccountConnectLinkTypographyFontWeight","cssStyleElementEcwidMyAccountConnectLinkTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectLinkColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__steps .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section":{standart:["cssStyleElementEcwidMyAccountConnectLinkAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__steps .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart-step__text":{standart:["cssStyleElementEcwidMyAccountConnectTypographyFontFamily","cssStyleElementEcwidMyAccountConnectTypographyFontSize","cssStyleElementEcwidMyAccountConnectTypographyLineHeight","cssStyleElementEcwidMyAccountConnectTypographyFontWeight","cssStyleElementEcwidMyAccountConnectTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__steps .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart-step__change:hover":{standart:["cssStyleElementEcwidMyAccountConnectLinkTypographyFontFamily","cssStyleElementEcwidMyAccountConnectLinkTypographyFontSize","cssStyleElementEcwidMyAccountConnectLinkTypographyLineHeight","cssStyleElementEcwidMyAccountConnectLinkTypographyFontWeight","cssStyleElementEcwidMyAccountConnectLinkTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectLinkColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--contactinfo .ec-confirmation__wrap .ec-confirmation__body":{standart:["cssStyleElementEcwidMyAccountConnectLinkAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--contactinfo .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section":{standart:["cssStyleElementEcwidMyAccountConnectTypographyFontFamily","cssStyleElementEcwidMyAccountConnectTypographyFontSize","cssStyleElementEcwidMyAccountConnectTypographyLineHeight","cssStyleElementEcwidMyAccountConnectTypographyFontWeight","cssStyleElementEcwidMyAccountConnectTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--contactinfo .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-link:hover":{standart:["cssStyleElementEcwidMyAccountConnectLinkTypographyFontFamily","cssStyleElementEcwidMyAccountConnectLinkTypographyFontSize","cssStyleElementEcwidMyAccountConnectLinkTypographyLineHeight","cssStyleElementEcwidMyAccountConnectLinkTypographyFontWeight","cssStyleElementEcwidMyAccountConnectLinkTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectLinkColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-secondary .ec-cart-item__count.ec-cart-item__count--select .ec-cart-item__count-inner:hover .form-control--select-inline.form-control.ec-link":{standart:["cssStyleElementEcwidProductQtyColor","cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-secondary .ec-cart-item__count.ec-cart-item__count--select .ec-cart-item__count-inner .form-control--select-inline.form-control.ec-link .form-control__select option:hover":{standart:["cssStyleElementEcwidProductQtyColor","cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-secondary .ec-cart-item__count .ec-cart-item__count-inner:hover":{standart:["cssStyleElementEcwidProductQtyColor","cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-secondary .ec-cart-item__count .ec-cart-item__count-inner:hover":{standart:["cssStyleElementEcwidProductQtyColor","cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-secondary .ec-cart-item__count .ec-cart-item__count-inner .form-control .form-control__text:hover":{standart:["cssStyleElementEcwidProductQtyColor","cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__control .ec-cart-item__control-inner:hover":{standart:["cssStyleElementEcwidCartClosePadding","cssStyleElementEcwidCartCloseIconColor","cssStyleElementEcwidCartCloseBgColor","cssStyleElementEcwidCartCloseBorderColor","cssStyleElementEcwidCartCloseBorderRadiusColor","cssStyleElementEcwidCartCloseBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__control .ec-cart-item__control-inner svg":{standart:["cssStyleElementEcwidCartCloseSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__sku.ec-text-muted":{standart:["cssStyleElementEcwidProductSKUAlign","cssStyleElementEcwidProductSKUSpacing","cssStyleElementEcwidProductSKUColor","cssStyleElementEcwidProductSKUTypography"]}}})}},14550:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321);function n(e){let{v:t,device:o}=e;const n=e=>(0,i.defaultValueValue)({v:t,key:e,device:o});return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,r.t)("Cart"),icon:"nc-woo-add-to-cart"},position:10,options:[{id:"collapseDesktop",label:(0,r.t)("Collapse"),type:"switch-dev",devices:"desktop",helper:{content:"Cart items list is shown in collapsed view on desktop when more than 4 products added."}},{id:"collapse",label:(0,r.t)("Collapse"),type:"switch-dev",devices:"responsive",helper:{content:"Cart items list is shown in collapsed view on mobile."}},{id:"breadcrumbsDisplay",label:(0,r.t)("Breadcrumbs"),devices:"desktop",type:"switch-dev"},{id:"qtyDisplay",label:(0,r.t)("Show QTY"),type:"switch-dev",devices:"desktop",disabled:"on"===n("collapse")},{id:"skuDisplay",label:(0,r.t)("SKU"),type:"switch-dev",devices:"desktop",disabled:"on"===n("collapse")},{id:"weightDisplay",label:(0,r.t)("Weight"),type:"switch-dev",devices:"desktop",disabled:"on"===n("collapse")},{id:"inputDisplay",label:(0,r.t)("Input"),devices:"desktop",type:"switch-dev"},{id:"addressDisplay",devices:"desktop",label:(0,r.t)("Address line"),type:"switch-dev"},{id:"footerDisplay",label:(0,r.t)("Footer"),devices:"desktop",type:"switch-dev"}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,r.t)("Settings")},position:110,devices:"desktop",options:[{id:"cartWidth",label:(0,r.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},42549:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("breadcrumbsColorHex"),l("breadcrumbsColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"breadcrumbsTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("breadcrumbsColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"breadcrumbsColor",type:"colorPicker-dev"}]},{id:"breadcrumbsHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"breadcrumbsSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},53627:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("buttonBgColorHex"),c("buttonBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,i.t)("Button")},options:[{id:"groupSize",type:"group-dev",options:[{id:"buttonSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"buttonHeight",label:(0,i.t)("Height"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"buttonWidth",label:(0,i.t)("Width"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"buttonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("buttonBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"buttonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabButtonBg",label:(0,i.t)("Bg"),options:[{id:"button",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"buttonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"buttonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"buttonHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"buttonSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},87733:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("checkboxColorHex"),s("checkboxColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"checkboxTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("checkboxColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"checkboxColor",type:"colorPicker-dev"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:30,options:[{id:"checkboxSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},10590:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("closeColorHex"),c("closeColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-star",title:(0,i.t)("Icon")},position:10,options:[{id:"groupCloseSize",type:"group-dev",options:[{id:"closeSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"closeCustomSize",type:"slider-dev",disabled:"custom"!==c("closeSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"closePadding",label:(0,i.t)("Padding"),type:"slider-dev",config:{min:0,max:30,units:[{title:"px",value:"px"}]}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("closeColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabIcon",label:(0,i.t)("Icon"),options:[{id:"closeColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,i.t)("Background"),options:[{id:"closeBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"closeBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},26181:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("connectLinkColorHex"),c("connectLinkColorPalette"));return[{id:"toolbarTypographyConnectLink",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabsTypographyConnect",label:(0,i.t)("Text"),options:[{id:"connectTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabsTypographyConnectLink",label:(0,i.t)("Link"),options:[{id:"connectLinkTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("connectLinkColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabConnectColor",label:(0,i.t)("Color"),options:[{id:"connectColor",type:"colorPicker-dev"}]},{id:"tabConnectLinkColor",label:(0,i.t)("Link"),options:[{id:"connectLinkColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"connectLinkHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},52128:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("emailColorHex"),s("emailColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"emailTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("emailColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"emailColor",type:"colorPicker-dev"}]},{id:"emailHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"emailSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},25741:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("emptyColorHex"),s("emptyColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"emptyTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("emptyColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"emptyColor",type:"colorPicker-dev"}]},{id:"emptyHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"emptySpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},44489:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("footerColorHex"),s("footerColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,i.t)("Icon"),icon:"nc-user"},position:10,options:[{id:"groupSize",type:"group-dev",options:[{id:"footerIconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"footerIconCustomSize",type:"slider-dev",disabled:"custom"!==s("footerIconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:20,options:[{id:"footerTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("footerColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabColorFooter",label:(0,i.t)("Text"),options:[{id:"footerColor",type:"colorPicker-dev"}]},{id:"tabColorFooterIcon",label:(0,i.t)("Icon"),options:[{id:"footerIconColor",type:"colorPicker-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"footerSpacing",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]}},12726:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("imageBorderColorHex"),c("imageBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",position:10,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("imageBorderColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"imageBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"imageBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:20,options:[{id:"imageWidth",label:(0,i.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"imageSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},74593:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("inputColorHex"),c("inputColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-form-left",title:(0,i.t)("Advanced")},position:10,options:[{id:"groupSize",type:"group-dev",options:[{id:"inputHeight",type:"slider-dev",label:(0,i.t)("Height"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"inputWidth",type:"slider-dev",label:(0,i.t)("Width"),config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"toolbarTypography",type:"popover-dev",disabled:"off"===c("placeholder"),config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:20,options:[{id:"inputTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("inputColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabInputColor",label:(0,i.t)("Color"),options:[{id:"inputColor",type:"colorPicker-dev",disabled:"off"===c("placeholder"),states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,i.t)("Bg"),options:[{id:"input",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"inputBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"boxShadow",label:(0,i.t)("Shadow"),options:[{id:"inputBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"inputHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"inputSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},71212:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("nextColorHex"),s("nextColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"nextTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("nextColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"nextColor",type:"colorPicker-dev"}]},{id:"nextHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},23376:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("paymentColorHex"),s("paymentColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"paymentTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("paymentColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"paymentColor",type:"colorPicker-dev"}]},{id:"paymentHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},12373:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("priceColorHex"),s("priceColorPalette"));return[{id:"toolbarTypographyprice",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"priceTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorprice",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("priceColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"priceColor",type:"colorPicker-dev"}]}]}},2671:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("productNameColorHex"),s("productNameColorPalette"));return[{id:"toolbarTypographyTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"productNameTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorProductName",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("productNameColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"productNameColor",type:"colorPicker-dev"}]},{id:"productNameHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},40719:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("productSizeColorHex"),s("productSizeColorPalette"));return[{id:"toolbarTypographyProductSize",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"productSizeTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorProductSize",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("productSizeColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"productSizeColor",type:"colorPicker-dev"}]},{id:"productSizeHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},31794:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("qtyColorHex"),c("qtyColorPalette"));return[{id:"toolbarTypographyqty",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"qtyTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorqty",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("qtyColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"qtyColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},26742:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("SKUColorHex"),l("SKUColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"SKUTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("SKUColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"SKUColor",type:"colorPicker-dev"}]},{id:"SKUHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"SKUSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},19623:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("subtitleColorHex"),s("subtitleColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"subtitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("subtitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"subtitleColor",type:"colorPicker-dev"}]},{id:"subtitleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},28873:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("summaryPriceColorHex"),s("summaryPriceColorPalette"));return[{id:"toolbarTypographysummaryPrice",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"summaryPriceTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorsummaryPrice",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("summaryPriceColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"summaryPriceColor",type:"colorPicker-dev"}]}]}},40185:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("summaryTitleColorHex"),s("summaryTitleColorPalette"));return[{id:"toolbarTypographysummaryTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"summaryTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorsummaryTitle",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("summaryTitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"summaryTitleColor",type:"colorPicker-dev"}]}]}},94417:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("titleColorHex"),s("titleColorPalette"));return[{id:"toolbarTypographyTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"titleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("titleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"titleColor",type:"colorPicker-dev"}]},{id:"titleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"titleSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},18839:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("title2ColorHex"),s("title2ColorPalette"));return[{id:"toolbarTypographyTitle2",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"title2Typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("title2ColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"title2Color",type:"colorPicker-dev"}]},{id:"title2HorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},42824:(e,t)=>{"use strict";function o(e){switch(e){case"off":return!1;case"on":return!0}}function r(e){return{show_footer_menu:o(e.footerDisplay),shopping_cart_show_qty_inputs:o(e.qtyDisplay),shopping_cart_show_sku:o(e.skuDisplay),shopping_cart_show_weight:o(e.weightDisplay),checkout_show_state_input:o(e.inputDisplay),checkout_show_address_line_2:o(e.addressDisplay),shopping_cart_products_collapsed_on_mobile:o(e.collapse),shopping_cart_products_collapsed_on_desktop:o(e.collapseDesktop),show_breadcrumbs:o(e.breadcrumbsDisplay)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"valueToEciwdConfig",{enumerable:!0,get:function(){return r}})},71951:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EcwidMyAccount",{enumerable:!0,get:function(){return H}});const r=A(o(60042)),i=W(o(27378)),n=o(10301),a=A(o(36275)),l=A(o(67439)),s=A(o(63692)),c=o(86022),d=A(o(22546)),u=o(62762),p=o(66080),f=o(10227),m=o(94220),y=A(o(40638)),g=W(o(38018)),b=W(o(48486)),h=W(o(24772)),v=W(o(81743)),S=W(o(57377)),w=W(o(97624)),x=o(55207),M=W(o(99433)),T=W(o(19382)),P=W(o(5557)),C=W(o(25510)),k=W(o(63609)),_=W(o(67964)),O=W(o(47071)),E=W(o(33724)),z=W(o(60718)),B=W(o(78777)),j=W(o(1293)),N=W(o(37679)),I=W(o(68593)),L=W(o(80132)),D=W(o(50175)),F=o(43586);function A(e){return e&&e.__esModule?e:{default:e}}function R(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(R=function(e){return e?o:t})(e)}function W(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=R(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class H extends s.default{uniqueId=`${H.componentId}-${(0,n.uniqueId)()}`;containerRef=(0,i.createRef)();ecwid;static get componentId(){return"EcwidMyAccount"}static defaultValue=y.default;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(M,g,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e);const t=d.default.getAll();if(this.containerRef.current&&(0,u.isCloud)(t)&&"ecwid"===t.modules?.shop?.type){const e=this.getDBValue(),o=(0,F.valueToEciwdConfig)(e);this.ecwid=p.EcwidService.init(t.modules.shop.storeId,o),this.ecwid.myAccount(this.containerRef.current)}}componentDidUpdate(){const e=(0,F.valueToEciwdConfig)(this.getDBValue()),t=this.ecwid?.getConfig();t&&(0,f.eq)(t,e)||this.ecwid?.updateConfig(e)}renderForEdit(e,t,o){const{customCSS:n}=e,s=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-my-account-wrapper",(0,m.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,x.style)(e,t,o)));return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(I,h),selector:".page-title__name.ec-header-h1",selectorSearchStrategy:"dom-tree"},(e=>{let{open:t}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(D,w,{allowExtend:!1}),selector:".ec-cart-step__icon.ec-cart-step__icon--custom",selectorSearchStrategy:"dom-tree"},(e=>{let{open:o}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(T,h),selector:".ec-cart-step__title.ec-header-h6",selectorSearchStrategy:"dom-tree"},(e=>{let{open:r}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(C,h),selector:".ec-breadcrumbs",selectorSearchStrategy:"dom-tree"},(e=>{let{open:d}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(_,h),selector:".ec-cart-step__text, .ec-cart-step__change.ec-link",selectorSearchStrategy:"dom-tree"},(e=>{let{open:u}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(N,h),selector:".ec-cart-step__title.ec-header-h4",selectorSearchStrategy:"dom-tree"},(e=>{let{open:p}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(j,v,{allowExtend:!1}),selector:".ec-cart__products",selectorSearchStrategy:"dom-tree"},(e=>{let{open:f}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(L,h),selector:"h3.page-title__name.ec-header-h4",selectorSearchStrategy:"dom-tree"},(e=>{let{open:m}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(O,h),selector:".ec-cart-email__text",selectorSearchStrategy:"dom-tree"},(e=>{let{open:y}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(B,S,{allowExtend:!1}),selector:".ec-cart-email__input",selectorSearchStrategy:"dom-tree"},(e=>{let{open:g}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(P,h),selector:".ec-cart__agreement",selectorSearchStrategy:"dom-tree"},(e=>{let{open:v}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(k,b,{allowExtend:!1}),selector:".form-control__button",selectorSearchStrategy:"dom-tree"},(e=>{let{open:b}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(z,h),selector:".ec-footer__row",selectorSearchStrategy:"dom-tree"},(e=>{let{open:S}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(E,h),selector:".ec-cart-step__body .ec-cart-step__section .ec-cart-step__text",selectorSearchStrategy:"dom-tree"},(e=>{let{open:l}=e;return i.default.createElement(a.default,{selectorName:this.getId(),css:n},i.default.createElement(c.Wrapper,this.makeWrapperProps({className:s}),i.default.createElement("div",{onClickCapture:e=>(e.stopPropagation(),e.preventDefault(),e.target?.closest(".page-title__name.ec-header-h1")?t(e.nativeEvent):e.target?.closest(".ec-cart-step__icon.ec-cart-step__icon--custom")?o(e.nativeEvent):e.target?.closest(".ec-cart-step__title.ec-header-h6")?r(e.nativeEvent):e.target?.closest(".ec-breadcrumbs")?d(e.nativeEvent):e.target?.closest(".ec-cart-step__text, .ec-cart-step__change.ec-link")?u(e.nativeEvent):e.target?.closest(".ec-cart-step__title.ec-header-h4")?p(e.nativeEvent):e.target?.closest(".ec-cart__products")?f(e.nativeEvent):e.target?.closest("h3.page-title__name.ec-header-h4")?m(e.nativeEvent):e.target?.closest(".ec-cart-email__text")?y(e.nativeEvent):e.target?.closest(".ec-cart-email__input")?g(e.nativeEvent):e.target?.closest(".ec-cart__agreement")?v(e.nativeEvent):e.target?.closest(".form-control__button")?b(e.nativeEvent):e.target?.closest(".ec-footer__row")?S(e.nativeEvent):e.target?.closest(".ec-cart-step__body .ec-cart-step__section .ec-cart-step__text")&&l(e.nativeEvent),!1),className:"brz-ecwid-my-account",id:this.uniqueId,ref:this.containerRef})))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}renderForView(e,t,o){const n=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-my-account-wrapper",(0,m.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,x.style)(e,t,o)));return i.default.createElement(c.Wrapper,this.makeWrapperProps({className:n}),i.default.createElement("div",{className:"brz-ecwid-my-account","data-store-id":"{{ecwid_store_id}}"}))}}},38018:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic")},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},48486:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"buttonBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},24772:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},81743:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"imageBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},57377:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"inputBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},97624:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"userBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},55207:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{"#ecwid_html #ecwid_body && .ecwid":{standart:["cssStyleElementEcwidMyAccountParentBgColor","cssStyleElementEcwidMyAccountParentBgGradient"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--my-account":{standart:["cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing","cssStyleElementEcwidMyAccountFooterColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--track-order":{standart:["cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing","cssStyleElementEcwidMyAccountFooterColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--shopping-cart":{standart:["cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing","cssStyleElementEcwidMyAccountFooterColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.ec-link.ec-link--muted":{standart:["cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing","cssStyleElementEcwidMyAccountFooterColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon":{standart:["cssStyleElementEcwidMyAccountFooterIconSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon:hover svg":{standart:["cssStyleElementEcwidMyAccountFooterIconSize","cssStyleElementEcwidMyAccountFooterIconColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .page-title__name.ec-header-h1":{standart:["cssStyleElementEcwidMyAccountTitleTypographyFontFamily","cssStyleElementEcwidMyAccountTitleTypographyFontSize","cssStyleElementEcwidMyAccountTitleTypographyLineHeight","cssStyleElementEcwidMyAccountTitleTypographyFontWeight","cssStyleElementEcwidMyAccountTitleTypographyLetterSpacing","cssStyleElementEcwidMyAccountTitleColor","cssStyleElementEcwidMyAccountTitleAlign","cssStyleElementEcwidMyAccountTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-page-title .page-title__name.ec-header-h4":{standart:["cssStyleElementEcwidMyAccountTitle2TypographyFontFamily","cssStyleElementEcwidMyAccountTitle2TypographyFontSize","cssStyleElementEcwidMyAccountTitle2TypographyLineHeight","cssStyleElementEcwidMyAccountTitle2TypographyFontWeight","cssStyleElementEcwidMyAccountTitle2TypographyLetterSpacing","cssStyleElementEcwidMyAccountTitle2Color","cssStyleElementEcwidMyAccountTitle2Align","cssStyleElementEcwidMyAccountTitle2Spacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart-email .ec-cart-email__text":{standart:["cssStyleElementEcwidMyAccountDescriptionTypographyFontFamily","cssStyleElementEcwidMyAccountDescriptionTypographyFontSize","cssStyleElementEcwidMyAccountDescriptionTypographyLineHeight","cssStyleElementEcwidMyAccountDescriptionTypographyFontWeight","cssStyleElementEcwidMyAccountDescriptionTypographyLetterSpacing","cssStyleElementEcwidMyAccountDescriptionColor","cssStyleElementEcwidMyAccountDescriptionAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart-email .ec-cart-email__input":{standart:["cssStyleElementEcwidMyAccountInputSpacing","cssStyleElementEcwidMyAccountDescriptionSpacingTop"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart-email .ec-cart-email__input .form-control:hover .form-control__text":{standart:["cssStyleElementEcwidMyAccountInputHeight","cssStyleElementEcwidMyAccountInputWidth","cssStyleElementEcwidMyAccountInputBgColor","cssStyleElementEcwidMyAccountInputBgGradient","cssStyleElementEcwidMyAccountInputBorderColor","cssStyleElementEcwidMyAccountInputBoxShadow","cssStyleElementEcwidMyAccountInputBorderRadius","cssStyleElementEcwidMyAccountInputTypographyFontFamily","cssStyleElementEcwidMyAccountInputTypographyFontSize","cssStyleElementEcwidMyAccountInputTypographyLineHeight","cssStyleElementEcwidMyAccountInputTypographyFontWeight","cssStyleElementEcwidMyAccountInputTypographyLetterSpacing","cssStyleElementEcwidMyAccountInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart-email .ec-cart-email__input .form-control:hover .form-control__text:-webkit-autofill":{standart:["cssStyleElementEcwidCartInputColorAutofill"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart-email .ec-cart-email__input .form-control:hover .form-control__placeholder .form-control__placeholder-inner":{standart:["cssStyleElementEcwidMyAccountInputPlaceholderDisplay","cssStyleElementEcwidMyAccountInputTypographyFontFamily","cssStyleElementEcwidMyAccountInputTypographyFontSize","cssStyleElementEcwidMyAccountInputTypographyLineHeight","cssStyleElementEcwidMyAccountInputTypographyFontWeight","cssStyleElementEcwidMyAccountInputTypographyLetterSpacing","cssStyleElementEcwidMyAccountInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart__checkout .ec-cart__agreement":{standart:["cssStyleElementEcwidMyAccountAgreementTypographyFontFamily","cssStyleElementEcwidMyAccountAgreementTypographyFontSize","cssStyleElementEcwidMyAccountAgreementTypographyLineHeight","cssStyleElementEcwidMyAccountAgreementTypographyFontWeight","cssStyleElementEcwidMyAccountAgreementTypographyLetterSpacing","cssStyleElementEcwidMyAccountAgreementColor","cssStyleElementEcwidMyAccountAgreementAlign","cssStyleElementEcwidMyAccountAgreementSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart__checkout .ec-cart__buttons .form-control":{standart:["cssStyleElementEcwidMyAccountButtonAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart__checkout .ec-cart__buttons .form-control .form-control__button:hover":{standart:["cssStyleElementEcwidMyAccountButtonSize","cssStyleElementEcwidMyAccountButtonWidth","cssStyleElementEcwidMyAccountButtonColor","cssStyleElementEcwidMyAccountButtonBgColor","cssStyleElementEcwidMyAccountButtonBgGradient","cssStyleElementEcwidMyAccountButtonBorder","cssStyleElementEcwidMyAccountButtonBoxShadow","cssStyleElementEcwidMyAccountButtonBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart__checkout .ec-cart__buttons .form-control .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidMyAccountButtonTypographyFontFamily","cssStyleElementEcwidMyAccountButtonTypographyFontSize","cssStyleElementEcwidMyAccountButtonTypographyLineHeight","cssStyleElementEcwidMyAccountButtonTypographyFontWeight","cssStyleElementEcwidMyAccountButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__account-info .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__title.ec-header-h6 ":{standart:["cssStyleElementEcwidMyAccountAccountTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__account-info .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__title.ec-header-h6":{standart:["cssStyleElementEcwidMyAccountAccountTitleTypographyFontFamily","cssStyleElementEcwidMyAccountAccountTitleTypographyFontSize","cssStyleElementEcwidMyAccountAccountTitleTypographyLineHeight","cssStyleElementEcwidMyAccountAccountTitleTypographyFontWeight","cssStyleElementEcwidMyAccountAccountTitleTypographyLetterSpacing","cssStyleElementEcwidMyAccountAccountTitleColor","cssStyleElementEcwidMyAccountAccountTitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__account-info .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section":{standart:["cssStyleElementEcwidMyAccountConnectLinkAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__account-info .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart-step__text":{standart:["cssStyleElementEcwidMyAccountConnectTypographyFontFamily","cssStyleElementEcwidMyAccountConnectTypographyFontSize","cssStyleElementEcwidMyAccountConnectTypographyLineHeight","cssStyleElementEcwidMyAccountConnectTypographyFontWeight","cssStyleElementEcwidMyAccountConnectTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__account-info .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart-step__change.ec-link:hover":{standart:["cssStyleElementEcwidMyAccountConnectLinkTypographyFontFamily","cssStyleElementEcwidMyAccountConnectLinkTypographyFontSize","cssStyleElementEcwidMyAccountConnectLinkTypographyLineHeight","cssStyleElementEcwidMyAccountConnectLinkTypographyFontWeight","cssStyleElementEcwidMyAccountConnectLinkTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectLinkColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__step .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart__products .ec-cart-item .ec-cart-item__sum .ec-cart-item-sum.ec-cart-item-sum--items":{standart:["cssStyleElementEcwidMyAccountProductsTypographyFontFamily","cssStyleElementEcwidMyAccountProductsTypographyFontSize","cssStyleElementEcwidMyAccountProductsTypographyLineHeight","cssStyleElementEcwidMyAccountProductsTypographyFontWeight","cssStyleElementEcwidMyAccountProductsTypographyLetterSpacing","cssStyleElementEcwidMyAccountProductsColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__step .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart__products":{standart:["cssStyleElementEcwidMyAccountSummaryLinkAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__step .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart__products .ec-cart-item .ec-cart-item__sum .ec-cart-item-sum.ec-cart-item-sum--cta .ec-link:hover":{standart:["cssStyleElementEcwidMyAccountSummaryLinkTypographyFontFamily","cssStyleElementEcwidMyAccountSummaryLinkTypographyFontSize","cssStyleElementEcwidMyAccountSummaryLinkTypographyLineHeight","cssStyleElementEcwidMyAccountSummaryLinkTypographyFontWeight","cssStyleElementEcwidMyAccountSummaryLinkTypographyLetterSpacing","cssStyleElementEcwidMyAccountSummaryLinkColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__account-info .ec-cart__step .ec-cart-step__block .ec-cart-step__icon.ec-cart-step__icon--custom":{standart:["cssStyleElementEcwidMyAccountUserSize","cssStyleElementEcwidMyAccountUserColor","cssStyleElementEcwidMyAccountUserBgColor","cssStyleElementEcwidMyAccountUserBgGradient","cssStyleElementEcwidMyAccountUserBorder","cssStyleElementEcwidMyAccountUserBoxShadow","cssStyleElementEcwidMyAccountUserBorderRadius","cssStyleElementEcwidMyAccountUserSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__account-info .ec-cart__step .ec-cart-step__block .ec-cart-step__icon.ec-cart-step__icon--custom svg":{standart:["cssStyleElementEcwidMyAccountUserSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart-step .ec-cart-step__wrap .ec-cart-step__title.ec-header-h4":{standart:["cssStyleElementEcwidMyAccountShopTitleTypographyFontFamily","cssStyleElementEcwidMyAccountShopTitleTypographyFontSize","cssStyleElementEcwidMyAccountShopTitleTypographyLineHeight","cssStyleElementEcwidMyAccountShopTitleTypographyFontWeight","cssStyleElementEcwidMyAccountShopTitleTypographyLetterSpacing","cssStyleElementEcwidMyAccountShopTitleSpacing","cssStyleElementEcwidMyAccountShopTitleColor","cssStyleElementEcwidMyAccountShopTitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__step .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section":{standart:["cssStyleElementEcwidMyAccountEmptyAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__step .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart-step__text.ec-text-muted":{standart:["cssStyleElementEcwidMyAccountEmptyTypographyFontFamily","cssStyleElementEcwidMyAccountEmptyTypographyFontSize","cssStyleElementEcwidMyAccountEmptyTypographyLineHeight","cssStyleElementEcwidMyAccountEmptyTypographyFontWeight","cssStyleElementEcwidMyAccountEmptyTypographyLetterSpacing","cssStyleElementEcwidMyAccountEmptyColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__step .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__image .ec-cart-item__picture:hover":{standart:["cssStyleElementEcwidCartImageWidth","cssStyleElementEcwidCartImageBorder","cssStyleElementEcwidCartImageBorderRadius","cssStyleElementEcwidCartImageBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .ec-breadcrumbs":{standart:["cssStyleElementEcwidProductBreadcrumbsAlign","cssStyleElementEcwidProductBreadcrumbsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .ec-breadcrumbs .breadcrumbs__link:hover":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .ec-breadcrumbs .breadcrumbs__delimiter.ec-text-muted:hover":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]}}})}},99433:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("parentBgColorHex"),s("parentBgColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,i.t)("My Account"),icon:"nc-user"},position:10,devices:"desktop",options:[{id:"footerDisplay",label:(0,i.t)("Footer"),type:"switch-dev"},{id:"signinLink",label:(0,i.t)("Sign in link"),type:"switch-dev",disabled:"off"===s("footerDisplay")},{id:"breadcrumbs",label:(0,i.t)("Breadcrumbs"),type:"switch-dev"}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("parentBgColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"parent",type:"backgroundColor-dev"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",position:30,icon:"nc-cog",title:(0,i.t)("Settings")},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]}]}},19382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("accountTitleColorHex"),s("accountTitleColorPalette"));return[{id:"toolbarTypographyAccountTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"accountTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("accountTitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"accountTitleColor",type:"colorPicker-dev"}]},{id:"accountTitleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"accountTitleSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},5557:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("agreementColorHex"),s("agreementColorPalette"));return[{id:"toolbarTypographyAgreement",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"agreementTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("agreementColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"agreementColor",type:"colorPicker-dev"}]},{id:"agreementHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"agreementSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},25510:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("breadcrumbsColorHex"),l("breadcrumbsColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"breadcrumbsTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("breadcrumbsColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"breadcrumbsColor",type:"colorPicker-dev"}]},{id:"breadcrumbsHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"breadcrumbsSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},63609:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("buttonBgColorHex"),c("buttonBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,i.t)("Button")},options:[{id:"groupSize",type:"group-dev",options:[{id:"buttonSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"buttonHeight",label:(0,i.t)("Height"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"buttonWidth",label:(0,i.t)("Width"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"buttonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("buttonBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"buttonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabButtonBg",label:(0,i.t)("Bg"),options:[{id:"button",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"buttonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"buttonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"buttonHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",position:50,icon:"nc-cog",devices:"desktop",title:(0,i.t)("Settings")}]}},67964:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("connectLinkColorHex"),c("connectLinkColorPalette"));return[{id:"toolbarTypographyConnectLink",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabsTypographyConnect",label:(0,i.t)("Text"),options:[{id:"connectTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabsTypographyConnectLink",label:(0,i.t)("Link"),options:[{id:"connectLinkTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("connectLinkColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabConnectColor",label:(0,i.t)("Color"),options:[{id:"connectColor",type:"colorPicker-dev"}]},{id:"tabConnectLinkColor",label:(0,i.t)("Link"),options:[{id:"connectLinkColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"connectLinkHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},47071:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("descriptionColorHex"),s("descriptionColorPalette"));return[{id:"toolbarTypographyDescription",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"descriptionTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorDescription",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("descriptionColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"descriptionColor",type:"colorPicker-dev"}]},{id:"descriptionHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"descriptionSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},33724:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("emptyColorHex"),s("emptyColorPalette"));return[{id:"toolbarTypographyEmpty",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"emptyTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("emptyColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"emptyColor",type:"colorPicker-dev"}]},{id:"emptyHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},60718:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("footerColorHex"),s("footerColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,i.t)("Icon"),icon:"nc-user"},position:10,options:[{id:"groupSize",type:"group-dev",options:[{id:"footerIconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"footerIconCustomSize",type:"slider-dev",disabled:"custom"!==s("footerIconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:20,options:[{id:"footerTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("footerColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabColorFooter",label:(0,i.t)("Text"),options:[{id:"footerColor",type:"colorPicker-dev"}]},{id:"tabColorFooterIcon",label:(0,i.t)("Icon"),options:[{id:"footerIconColor",type:"colorPicker-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"footerSpacing",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]}},78777:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("inputColorHex"),c("inputColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-form-left",title:(0,i.t)("Advanced")},position:10,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElementAdvanced",label:(0,i.t)("Advanced"),options:[{id:"placeholder",label:(0,i.t)("Placeholder"),type:"switch-dev"}]},{id:"tabCurrentElementBackground",label:(0,i.t)("Background"),options:[{id:"groupSize",type:"group-dev",options:[{id:"inputHeight",type:"slider-dev",label:(0,i.t)("Height"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"inputWidth",type:"slider-dev",label:(0,i.t)("Width"),config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:20,options:[{id:"inputTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("inputColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabInputColor",label:(0,i.t)("Color"),options:[{id:"inputColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,i.t)("Bg"),options:[{id:"input",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"inputBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"boxShadow",label:(0,i.t)("Shadow"),options:[{id:"inputBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"inputSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},1293:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("productsColorHex"),c("productsColorPalette"));return[{id:"toolbarTypographyProducts",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabsTypographyProducts",label:(0,i.t)("Text"),options:[{id:"productsTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabsTypographySummaryLink",label:(0,i.t)("Link"),options:[{id:"summaryLinkTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("productsColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabProductsColor",label:(0,i.t)("Color"),options:[{id:"productsColor",type:"colorPicker-dev"}]},{id:"tabSummaryLinkColor",label:(0,i.t)("Link"),options:[{id:"summaryLinkColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"imageBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"imageBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"summaryLinkHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"imageWidth",label:(0,i.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},37679:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("shopTitleColorHex"),s("shopTitleColorPalette"));return[{id:"toolbarTypographyShopTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"shopTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("shopTitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"shopTitleColor",type:"colorPicker-dev"}]},{id:"shopTitleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"shopTitleSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},68593:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("titleColorHex"),l("titleColorPalette"));return[{id:"toolbarTypographyTitle",type:"popover-dev",position:10,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"titleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("titleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"titleColor",type:"colorPicker-dev"}]},{id:"titleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"titleSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},80132:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("title2ColorHex"),l("title2ColorPalette"));return[{id:"toolbarTypographyTitle2",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"title2Typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("title2ColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"title2Color",type:"colorPicker-dev"}]},{id:"title2HorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"title2Spacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},50175:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("userColorHex"),s("userColorPalette"));return[{id:"toolbarUser",type:"popover-dev",position:10,config:{icon:"nc-user",title:(0,i.t)("User")},options:[{id:"groupSize",type:"group-dev",options:[{id:"userSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"userCustomSize",disabled:"custom"!==s("userSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]},{id:"toolbarColorUser",type:"popover-dev",position:20,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("userColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabColor",label:(0,i.t)("Color"),options:[{id:"userColor",type:"colorPicker-dev"}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"user",type:"backgroundColor-dev"}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"userBorder",type:"border-dev"}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"userBoxShadow",type:"boxShadow-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:30,options:[{id:"userSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},43586:(e,t)=>{"use strict";function o(e){switch(e){case"off":return!1;case"on":return!0}}function r(e){return{show_footer_menu:o(e.footerDisplay),show_signin_link:o(e.signinLink),show_breadcrumbs:o(e.breadcrumbs)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"valueToEciwdConfig",{enumerable:!0,get:function(){return r}})},45220:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EcwidProduct",{enumerable:!0,get:function(){return Ce}});const r=Me(o(60042)),i=Pe(o(27378)),n=o(10301),a=Me(o(36275)),l=Me(o(67439)),s=o(75289),c=Me(o(63692)),d=o(86022),u=Me(o(22546)),p=o(13662),f=o(62762),m=o(66080),y=o(10227),g=o(97045),b=o(94220),h=Me(o(66207)),v=Pe(o(65402)),S=Pe(o(66900)),w=Pe(o(762)),x=Pe(o(22315)),M=Pe(o(46262)),T=Pe(o(54901)),P=Pe(o(1455)),C=Pe(o(96410)),k=Pe(o(38868)),_=Pe(o(58412)),O=Pe(o(66662)),E=Pe(o(36442)),z=Pe(o(44748)),B=Pe(o(39771)),j=Pe(o(41466)),N=Pe(o(38769)),I=Pe(o(59292)),L=Pe(o(65674)),D=o(2933),F=Pe(o(38586)),A=Pe(o(44369)),R=Pe(o(46670)),W=Pe(o(90945)),H=Pe(o(82773)),V=Pe(o(16242)),U=Pe(o(28418)),G=Pe(o(59315)),$=Pe(o(11562)),Q=Pe(o(5597)),Y=Pe(o(60803)),Z=Pe(o(73575)),K=Pe(o(3003)),q=Pe(o(29735)),X=Pe(o(22757)),J=Pe(o(78475)),ee=Pe(o(59341)),te=Pe(o(58943)),oe=Pe(o(28494)),re=Pe(o(3933)),ie=Pe(o(41347)),ne=Pe(o(61530)),ae=Pe(o(18276)),le=Pe(o(93097)),se=Pe(o(32923)),ce=Pe(o(15403)),de=Pe(o(82314)),ue=Pe(o(62717)),pe=Pe(o(23372)),fe=Pe(o(43080)),me=Pe(o(41028)),ye=Pe(o(48768)),ge=Pe(o(71289)),be=Pe(o(3117)),he=Pe(o(97882)),ve=Pe(o(72898)),Se=Pe(o(91563)),we=Pe(o(82274)),xe=Pe(o(55791));function Me(e){return e&&e.__esModule?e:{default:e}}function Te(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(Te=function(e){return e?o:t})(e)}function Pe(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=Te(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class Ce extends c.default{uniqueId=`${Ce.componentId}-${(0,n.uniqueId)()}`;containerRef=(0,i.createRef)();static defaultValue=h.default;ecwid;static get componentId(){return"EcwidProduct"}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(F,v,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e);const t=u.default.getAll();if(this.containerRef.current&&(0,f.isCloud)(t)&&"ecwid"===t.modules?.shop?.type){const e=this.getValue(),o=(0,s.valueToEciwdConfig)(e),{productId:r}=(0,g.pageSelector)(this.getReduxState()),i=r??t.modules.shop.defaultProductId;this.ecwid=m.EcwidService.init(t.modules.shop.storeId,o),this.ecwid.product(i,this.containerRef.current)}}componentDidUpdate(){const e=(0,s.valueToEciwdConfig)(this.getDBValue()),t=this.ecwid?.getConfig();t&&(0,y.eq)(t,e)||this.ecwid?.updateConfig(e)}renderForEdit(e,t,o){const{customCSS:n}=e,s=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-product-wrapper",(0,b.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,D.style)(e,t,o)));return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ye,P),selector:".product-details__product-title.ec-header-h3",selectorSearchStrategy:"dom-tree"},(e=>{let{open:t}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(W,P),selector:".breadcrumbs__link.ec-link.ec-link--muted.breadcrumbs__link--last",selectorSearchStrategy:"dom-tree"},(e=>{let{open:o}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ne,P),selector:".product-details__product-sku.ec-text-muted",selectorSearchStrategy:"dom-tree"},(e=>{let{open:r}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(oe,P),selector:".details-product-price__value.ec-price-item",selectorSearchStrategy:"dom-tree"},(e=>{let{open:c}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(re,E,{allowExtend:!1}),selector:".details-product-purchase__qty",selectorSearchStrategy:"dom-tree"},(e=>{let{open:u}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(de,P),selector:".product-details-module__title.ec-header-h6.details-product-option__title",selectorSearchStrategy:"dom-tree"},(e=>{let{open:p}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ie,P),selector:".product-details-module.details-product-option.details-product-option--radio .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:f}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(U,P),selector:".product-details-module.details-product-option.details-product-option--checkbox .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:m}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(pe,j,{allowExtend:!1}),selector:".product-details-module.details-product-option.details-product-option--textfield .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:y}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(fe,N,{allowExtend:!1}),selector:".product-details-module.details-product-option.details-product-option--textarea .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:g}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ae,z,{allowExtend:!1}),selector:".product-details-module.details-product-option.details-product-option--select .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:b}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2($,T,{allowExtend:!1}),selector:".product-details-module.details-product-option.details-product-option--date .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:h}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(q,_,{allowExtend:!1}),selector:".product-details-module.details-product-option.details-product-option--files .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:v}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(te,P),selector:".product-details-module__title.ec-header-h6.details-product-purchase__place span",selectorSearchStrategy:"dom-tree"},(e=>{let{open:T}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(xe,P),selector:".product-details-module.product-details__product-price-wholesale .product-details-module__title.ec-header-h6.details-product-price-wholesale__title",selectorSearchStrategy:"dom-tree"},(e=>{let{open:_}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(we,P),selector:"thead .details-product-wholesale__header",selectorSearchStrategy:"dom-tree"},(e=>{let{open:E}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(Se,P),selector:"tbody .details-product-wholesale__row",selectorSearchStrategy:"dom-tree"},(e=>{let{open:z}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(Y,P),selector:".product-details-module.product-details__general-info .product-details-module__title.ec-header-h6, .product-details__description div .product-details-module__title.ec-header-h6",selectorSearchStrategy:"dom-tree"},(e=>{let{open:j}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(R,P),selector:".details-product-attribute, .product-details__product-weight",selectorSearchStrategy:"dom-tree"},(e=>{let{open:N}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(Q,P),selector:".product-details__product-description",selectorSearchStrategy:"dom-tree"},(e=>{let{open:D}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ce,P),selector:".product-details-module__btn-more",selectorSearchStrategy:"dom-tree"},(e=>{let{open:F}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(H,w,{allowExtend:!1}),selector:".form-control.form-control--button.form-control--large.form-control--secondary.form-control--flexible.form-control--animated.details-product-purchase__add-more.form-control__button--icon-center.form-control--done",selectorSearchStrategy:"dom-tree"},(e=>{let{open:w}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(G,M,{allowExtend:!1}),selector:".form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.details-product-purchase__checkout",selectorSearchStrategy:"dom-tree"},(e=>{let{open:M}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(A,S,{allowExtend:!1}),selector:".form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.form-control--animated.details-product-purchase__add-to-bag.form-control__button--icon-center.form-control--done",selectorSearchStrategy:"dom-tree"},(e=>{let{open:S}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(V,x,{allowExtend:!1}),selector:".form-control--checkbox-button.form-control",selectorSearchStrategy:"dom-tree"},(e=>{let{open:x}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(Z,C,{allowExtend:!1}),selector:".form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-add",selectorSearchStrategy:"dom-tree"},(e=>{let{open:C}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(K,k,{allowExtend:!1}),selector:".form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-saved",selectorSearchStrategy:"dom-tree"},(e=>{let{open:k}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(be,L,{allowExtend:!1}),selector:".form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-view",selectorSearchStrategy:"dom-tree"},(e=>{let{open:L}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(se,P),selector:".product-details__product-share.details-product-share .product-details-module .product-details-module__title.ec-header-h6.details-product-share__title",selectorSearchStrategy:"dom-tree"},(e=>{let{open:A}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(le,B,{allowExtend:!1}),selector:".ec-likely.details-product-share__buttons",selectorSearchStrategy:"dom-tree"},(e=>{let{open:B}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ee,O,{allowExtend:!1}),selector:".details-gallery__image:first-child",selectorSearchStrategy:"dom-tree"},(e=>{let{open:O}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(me,I,{allowExtend:!1}),selector:".details-gallery__thumbs, .details-gallery__image:not(:first-child)",selectorSearchStrategy:"dom-tree"},(e=>{let{open:I}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ve,P),selector:".details-product-price-compare__container",selectorSearchStrategy:"dom-tree"},(e=>{let{open:R}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(he,P),selector:".product-details__product-price-wholesale-note",selectorSearchStrategy:"dom-tree"},(e=>{let{open:W}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(X,P),selector:".product-details__label-container .ec-label",selectorSearchStrategy:"dom-tree"},(e=>{let{open:H}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ue,P),selector:".product-details-module.product-details__subtitle .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:V}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ge,P),selector:".product-details-module.product-details__product-like.favorite-product .product-details-module__title.ec-header-h6.favorite-product__title",selectorSearchStrategy:"dom-tree"},(e=>{let{open:U}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(J,P),selector:".ec-footer",selectorSearchStrategy:"dom-tree"},(e=>{let{open:l}=e;return i.default.createElement(a.default,{selectorName:this.getId(),css:n},i.default.createElement(d.Wrapper,this.makeWrapperProps({className:s}),i.default.createElement("div",{onClickCapture:e=>(e.stopPropagation(),e.preventDefault(),e.target?.closest(".product-details__product-title.ec-header-h3")?t(e.nativeEvent):e.target?.closest(".breadcrumbs__link.ec-link.ec-link--muted.breadcrumbs__link--last")?o(e.nativeEvent):e.target?.closest(".product-details__product-sku.ec-text-muted")?r(e.nativeEvent):e.target?.closest(".details-product-price__value.ec-price-item")?c(e.nativeEvent):e.target?.closest(".details-product-purchase__qty")?u(e.nativeEvent):e.target?.closest(".product-details-module__title.ec-header-h6.details-product-option__title")?p(e.nativeEvent):e.target?.closest(".product-details-module.details-product-option.details-product-option--radio .product-details-module__content")?f(e.nativeEvent):e.target?.closest(".product-details-module.details-product-option.details-product-option--checkbox .product-details-module__content")?m(e.nativeEvent):e.target?.closest(".product-details-module.details-product-option.details-product-option--textfield .product-details-module__content")?y(e.nativeEvent):e.target?.closest(".product-details-module.details-product-option.details-product-option--textarea .product-details-module__content")?g(e.nativeEvent):e.target?.closest(".product-details-module.details-product-option.details-product-option--select .product-details-module__content")?b(e.nativeEvent):e.target?.closest(".product-details-module.details-product-option.details-product-option--date .product-details-module__content")?h(e.nativeEvent):e.target?.closest(".product-details-module.details-product-option.details-product-option--files .product-details-module__content")?v(e.nativeEvent):e.target?.closest(".product-details-module__title.ec-header-h6.details-product-purchase__place span")?T(e.nativeEvent):e.target?.closest(".product-details-module.product-details__product-price-wholesale .product-details-module__title.ec-header-h6.details-product-price-wholesale__title")?_(e.nativeEvent):e.target?.closest("thead .details-product-wholesale__header")?E(e.nativeEvent):e.target?.closest("tbody .details-product-wholesale__row")?z(e.nativeEvent):e.target?.closest(".product-details-module.product-details__general-info .product-details-module__title.ec-header-h6, .product-details__description div .product-details-module__title.ec-header-h6")?j(e.nativeEvent):e.target?.closest(".details-product-attribute, .product-details__product-weight")?N(e.nativeEvent):e.target?.closest(".product-details__product-description")?D(e.nativeEvent):e.target?.closest(".product-details-module__btn-more")?F(e.nativeEvent):e.target?.closest(".form-control.form-control--button.form-control--large.form-control--secondary.form-control--flexible.form-control--animated.details-product-purchase__add-more.form-control__button--icon-center.form-control--done")?w(e.nativeEvent):e.target?.closest(".form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.details-product-purchase__checkout")?M(e.nativeEvent):e.target?.closest(".form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.form-control--animated.details-product-purchase__add-to-bag.form-control__button--icon-center.form-control--done")?S(e.nativeEvent):e.target?.closest(".form-control--checkbox-button.form-control")?x(e.nativeEvent):e.target?.closest(".form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-add")?C(e.nativeEvent):e.target?.closest(".form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-saved")?k(e.nativeEvent):e.target?.closest(".form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-view")?L(e.nativeEvent):e.target?.closest(".product-details__product-share.details-product-share .product-details-module .product-details-module__title.ec-header-h6.details-product-share__title")?A(e.nativeEvent):e.target?.closest(".ec-likely.details-product-share__buttons")?B(e.nativeEvent):e.target?.closest(".details-gallery__image:first-child")?O(e.nativeEvent):e.target?.closest(".details-gallery__thumbs, .details-gallery__image:not(:first-child)")?I(e.nativeEvent):e.target?.closest(".details-product-price-compare__container")?R(e.nativeEvent):e.target?.closest(".product-details__product-price-wholesale-note")?W(e.nativeEvent):e.target?.closest(".product-details__label-container .ec-label")?H(e.nativeEvent):e.target?.closest(".product-details-module.product-details__subtitle .product-details-module__content")?V(e.nativeEvent):e.target?.closest(".product-details-module.product-details__product-like.favorite-product .product-details-module__title.ec-header-h6.favorite-product__title")?U(e.nativeEvent):e.target?.closest(".ec-footer")&&l(e.nativeEvent),!1),className:"brz-ecwid-product",id:this.uniqueId,ref:this.containerRef})))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}renderForView(e,t,o){const n=u.default.getAll(),a=n.modules?.shop,l=(0,p.isEcwidShop)(a)?a.defaultProductId:"",c=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-product-wrapper",(0,b.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,D.style)(e,t,o)));return i.default.createElement(d.Wrapper,this.makeWrapperProps({className:c}),i.default.createElement("div",{className:"brz-ecwid-product","data-product-id":"{{brizy_dc_post_id}}","data-default-product-id":l,"data-store-id":"{{ecwid_store_id}}","data-storefront":encodeURIComponent(JSON.stringify((0,s.valueToEciwdConfig)(e)))}))}}},65402:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic")},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},66900:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"addToBagBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},762:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"buttonBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},22315:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"checkboxBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},46262:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"checkoutBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},54901:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"datepickerBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},1455:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},96410:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"favoriteBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},38868:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"favoritedBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},58412:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"filesBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},66662:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"galleryBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},36442:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"qtyBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},44748:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"selectBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},39771:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"shareButtonsBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},41466:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"textFieldBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},38769:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"textareaBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},59292:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"thumbnailBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},65674:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"viewFavoritesBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},2933:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser:hover":{standart:["cssStyleElementEcwidProductBgColor","cssStyleElementEcwidProductBgGradient","cssStyleElementEcwidProductBorder","cssStyleElementEcwidProductBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar":{standart:["cssStyleElementEcwidProductPaddingSidebar"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery":{standart:["cssStyleElementEcwidProductPaddingGallery"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-title.ec-header-h3":{standart:["cssStyleElementEcwidCartTitleColor","cssStyleElementEcwidCartTitleTypographyFontFamily","cssStyleElementEcwidCartTitleTypographyFontSize","cssStyleElementEcwidCartTitleTypographyLineHeight","cssStyleElementEcwidCartTitleTypographyFontWeight","cssStyleElementEcwidCartTitleTypographyLetterSpacing","cssStyleElementEcwidCartTitleAlign","cssStyleElementEcwidCartTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .product-details__product-title.ec-header-h3":{standart:["cssStyleElementEcwidCartTitleColor","cssStyleElementEcwidCartTitleTypographyFontFamily","cssStyleElementEcwidCartTitleTypographyFontSize","cssStyleElementEcwidCartTitleTypographyLineHeight","cssStyleElementEcwidCartTitleTypographyFontWeight","cssStyleElementEcwidCartTitleTypographyLetterSpacing","cssStyleElementEcwidCartTitleAlign","cssStyleElementEcwidCartTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__top .product-details__product-title.ec-header-h3":{standart:["cssStyleElementEcwidCartTitleColor","cssStyleElementEcwidCartTitleTypographyFontFamily","cssStyleElementEcwidCartTitleTypographyFontSize","cssStyleElementEcwidCartTitleTypographyLineHeight","cssStyleElementEcwidCartTitleTypographyFontWeight","cssStyleElementEcwidCartTitleTypographyLetterSpacing","cssStyleElementEcwidCartTitleAlign","cssStyleElementEcwidCartTitleSpacing"]},"#ecwid_html #ecwid_body .ecwid-pswp #ecwid-pswp-template .pswp__scroll-wrap .pswp__ui .pswp__caption .pswp__caption__center":{standart:["cssStyleElementEcwidCartTitleColor","cssStyleElementEcwidCartTitleTypographyFontFamily","cssStyleElementEcwidCartTitleTypographyFontSize","cssStyleElementEcwidCartTitleTypographyLineHeight","cssStyleElementEcwidCartTitleTypographyFontWeight","cssStyleElementEcwidCartTitleTypographyLetterSpacing","cssStyleElementEcwidCartTitleAlign","cssStyleElementEcwidCartTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .ec-breadcrumbs":{standart:["cssStyleElementEcwidProductBreadcrumbsAlign","cssStyleElementEcwidProductBreadcrumbsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .ec-breadcrumbs":{standart:["cssStyleElementEcwidProductBreadcrumbsAlign","cssStyleElementEcwidProductBreadcrumbsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__top .ec-breadcrumbs":{standart:["cssStyleElementEcwidProductBreadcrumbsAlign","cssStyleElementEcwidProductBreadcrumbsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .ec-breadcrumbs .breadcrumbs__link":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .ec-breadcrumbs .breadcrumbs__link":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__top .ec-breadcrumbs .breadcrumbs__link":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__product-price.ec-price-item":{standart:["cssStyleElementEcwidProductPriceAlign","cssStyleElementEcwidProductPriceSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__product-price.ec-price-item .details-product-price__value.ec-price-item":{standart:["cssStyleElementEcwidProductPriceColor","cssStyleElementEcwidProductPriceTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__action-panel.details-product-purchase .product-details-module__title.ec-header-h6.details-product-purchase__place":{standart:["cssStyleElementEcwidProductInStockAlign","cssStyleElementEcwidProductInStockSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__action-panel.details-product-purchase .product-details-module__title.ec-header-h6.details-product-purchase__place span":{standart:["cssStyleElementEcwidProductInStockColor","cssStyleElementEcwidProductInStockTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content.product-details-module__content--indented .details-product-purchase__controls .details-product-purchase__bag-controls .details-product-purchase__add-buttons .form-control.form-control--button.form-control--large":{standart:["cssStyleElementEcwidMyAccountButtonWidth","cssStyleElementEcwidMyAccountButtonAlign","cssStyleElementEcwidCartButtonSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content.product-details-module__content--indented .details-product-purchase__controls .details-product-purchase__bag-controls .details-product-purchase__add-buttons .form-control.form-control--button.form-control--large.form-control--secondary.form-control--flexible.form-control--animated.details-product-purchase__add-more":{standart:["cssStyleElementEcwidProductButtonRightSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content.product-details-module__content--indented .details-product-purchase__controls .details-product-purchase__bag-controls .details-product-purchase__add-buttons .form-control.form-control--button.form-control--large .form-control__button":{standart:["cssStyleElementEcwidMyAccountButtonSize","cssStyleElementEcwidMyAccountButtonColor","cssStyleElementEcwidMyAccountButtonBgColor","cssStyleElementEcwidMyAccountButtonBgGradient","cssStyleElementEcwidMyAccountButtonBorder","cssStyleElementEcwidMyAccountButtonBoxShadow","cssStyleElementEcwidMyAccountButtonBorderRadius"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content.product-details-module__content--indented .details-product-purchase__controls .details-product-purchase__bag-controls .details-product-purchase__add-buttons .form-control.form-control--button.form-control--large .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidMyAccountButtonTypographyFontFamily","cssStyleElementEcwidMyAccountButtonTypographyFontSize","cssStyleElementEcwidMyAccountButtonTypographyLineHeight","cssStyleElementEcwidMyAccountButtonTypographyFontWeight","cssStyleElementEcwidMyAccountButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__checkout-controls":{standart:["cssStyleElementEcwidProductCheckoutSpacing","cssStyleElementEcwidMyAccountButtonAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__checkout-controls .form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.details-product-purchase__checkout":{standart:["cssStyleElementEcwidProductCheckoutWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__checkout-controls .form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.details-product-purchase__checkout:hover .form-control__button":{standart:["cssStyleElementEcwidProductCheckoutSize","cssStyleElementEcwidProductCheckoutColor","cssStyleElementEcwidProductCheckoutBgColor","cssStyleElementEcwidProductCheckoutBgGradient","cssStyleElementEcwidProductCheckoutBorder","cssStyleElementEcwidProductCheckoutBoxShadow","cssStyleElementEcwidProductCheckoutBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__checkout-controls .form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.details-product-purchase__checkout .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidProductCheckoutTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__add-buttons":{standart:["cssStyleElementEcwidMyAccountButtonAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__add-buttons .form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.form-control--animated.details-product-purchase__add-to-bag.form-control__button--icon-center.form-control--done":{standart:["cssStyleElementEcwidProductAddToBagWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__add-buttons .form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.form-control--animated.details-product-purchase__add-to-bag.form-control__button--icon-center.form-control--done:hover .form-control__button":{standart:["cssStyleElementEcwidProductAddToBagSize","cssStyleElementEcwidProductAddToBagColor","cssStyleElementEcwidProductAddToBagBgColor","cssStyleElementEcwidProductAddToBagBgGradient","cssStyleElementEcwidProductAddToBagBorder","cssStyleElementEcwidProductAddToBagBoxShadow","cssStyleElementEcwidProductAddToBagBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__add-buttons .form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.form-control--animated.details-product-purchase__add-to-bag.form-control__button--icon-center.form-control--done .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidProductAddToBagTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__general-info .product-details-module__title.ec-header-h6":{standart:["cssStyleElementEcwidProductDetailsColor","cssStyleElementEcwidProductDetailsTypography","cssStyleElementEcwidProductDetailsAlign","cssStyleElementEcwidProductDetailsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .product-details-module.product-details__general-info .product-details-module__title.ec-header-h6":{standart:["cssStyleElementEcwidProductDetailsColor","cssStyleElementEcwidProductDetailsTypography","cssStyleElementEcwidProductDetailsAlign","cssStyleElementEcwidProductDetailsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description div .product-details-module__title.ec-header-h6":{standart:["cssStyleElementEcwidProductDetailsColor","cssStyleElementEcwidProductDetailsTypography","cssStyleElementEcwidProductDetailsAlign","cssStyleElementEcwidProductDetailsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar div .product-details-module__title.ec-header-h6":{standart:["cssStyleElementEcwidProductDetailsColor","cssStyleElementEcwidProductDetailsTypography","cssStyleElementEcwidProductDetailsAlign","cssStyleElementEcwidProductDetailsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option .product-details-module__title":{standart:["cssStyleElementEcwidProductSizeColor","cssStyleElementEcwidProductSizeTypography","cssStyleElementEcwidProductSizeAlign","cssStyleElementEcwidProductSizeSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--radio":{standart:["cssStyleElementEcwidProductRadioSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--radio .product-details-module__content .form-control--radio":{standart:["cssStyleElementEcwidProductRadioColumns"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--radio .product-details-module__content .form-control--radio:hover .form-control__inline-label label":{standart:["cssStyleElementEcwidProductRadioColor","cssStyleElementEcwidProductRadioTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--radio .product-details-module__content .form-control--radio .form-control__radio-wrap":{standart:["cssStyleElementEcwidProductRadioIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--radio .product-details-module__content .form-control--radio:hover .form-control__radio-wrap .form-control__radio-view:after":{standart:["cssStyleElementEcwidProductRadioColorIcon","cssStyleElementEcwidProductRadioBorderColorIcon"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--checkbox":{standart:["cssStyleElementEcwidProductCheckbox2Spacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--checkbox .product-details-module__content .form-control--checkbox":{standart:["cssStyleElementEcwidProductCheckbox2Columns"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--checkbox .product-details-module__content .form-control--checkbox .form-control__checkbox-wrap .form-control__checkbox-view":{standart:["cssStyleElementEcwidProductCheckbox2IconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--checkbox .product-details-module__content .form-control--checkbox:hover .form-control__checkbox-wrap .form-control__checkbox-view:after":{standart:["cssStyleElementEcwidProductCheckbox2ColorIcon","cssStyleElementEcwidProductCheckbox2BorderColorIcon"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--checkbox .product-details-module__content .form-control--checkbox .form-control__inline-label label":{standart:["cssStyleElementEcwidProductCheckbox2Color","cssStyleElementEcwidProductCheckbox2Typography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textfield .product-details-module__content .form-control .form-control__text:-webkit-autofill":{standart:["cssStyleElementEcwidProductTextFieldColorFocus"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textfield .product-details-module__content .form-control .form-control__text":{standart:["cssStyleElementEcwidProductTextFieldPlaceholder","cssStyleElementEcwidProductTextFieldTypography","cssStyleElementEcwidProductTextFieldColor","cssStyleElementEcwidProductTextFieldPadding"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textfield .product-details-module__content .form-control .form-control__placeholder":{standart:["cssStyleElementEcwidProductTextFieldSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textfield .product-details-module__content .form-control .form-control__placeholder .form-control__placeholder-inner:hover":{standart:["cssStyleElementEcwidProductTextFieldPlaceholder","cssStyleElementEcwidProductTextFieldTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textfield":{standart:["cssStyleElementEcwidProductTextFieldSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textfield .product-details-module__content":{standart:["cssStyleElementEcwidProductTextFieldAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textfield .product-details-module__content .form-control:hover":{standart:["cssStyleElementEcwidProductTextFieldColor","cssStyleElementEcwidProductTextFieldBgColor","cssStyleElementEcwidProductTextFieldBgGradient","cssStyleElementEcwidProductTextFieldBorder","cssStyleElementEcwidProductTextFieldBorderRadius","cssStyleElementEcwidProductTextFieldBoxShadow","cssStyleElementEcwidProductTextFieldAlign","cssStyleElementEcwidProductTextFieldWidth","cssStyleElementEcwidProductTextFieldSize"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textarea":{standart:["cssStyleElementEcwidProductTextareaSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textarea .product-details-module__content .form-control--textarea .form-control__placeholder":{standart:["cssStyleElementEcwidProductTextareaSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textarea .product-details-module__content .form-control--textarea:hover .form-control__textarea":{standart:["cssStyleElementEcwidProductTextareaSize","cssStyleElementEcwidProductTextareaHeight","cssStyleElementEcwidProductTextareaWidth","cssStyleElementEcwidProductTextareaBgColor","cssStyleElementEcwidProductTextareaBgGradient","cssStyleElementEcwidProductTextareaBorder","cssStyleElementEcwidProductTextareaBorderRadius","cssStyleElementEcwidProductTextareaBoxShadow","cssStyleElementEcwidProductTextareaColor","cssStyleElementEcwidProductTextareaTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textarea .product-details-module__content .form-control--textarea:hover .form-control__placeholder .form-control__placeholder-inner":{standart:["cssStyleElementEcwidProductTextareaPlaceholder","cssStyleElementEcwidProductTextareaColor","cssStyleElementEcwidProductTextareaTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--select":{standart:["cssStyleElementEcwidProductSelectSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--select .product-details-module__content":{standart:["cssStyleElementEcwidProductSelectAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--select .product-details-module__content .form-control--select":{standart:["cssStyleElementEcwidProductSelectColor","cssStyleElementEcwidProductSelectBgColor","cssStyleElementEcwidProductSelectBgGradient","cssStyleElementEcwidProductSelectBorder","cssStyleElementEcwidProductSelectBorderRadius","cssStyleElementEcwidProductSelectBoxShadow","cssStyleElementEcwidProductSelectWidth","cssStyleElementEcwidProductSelectSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--select .product-details-module__content .form-control--select .form-control__text":{standart:["cssStyleElementEcwidProductSelectPlaceholder","cssStyleElementEcwidProductSelectTypography","cssStyleElementEcwidProductSelectPadding"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--select .product-details-module__content .form-control--select .form-control__arrow svg":{standart:["cssStyleElementEcwidProductSelectIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--select .product-details-module__content .form-control--select .form-control__select option":{standart:["cssStyleElementEcwidProductSelectColor","cssStyleElementEcwidProductSelectBgColor","cssStyleElementEcwidProductSelectBgGradient","cssStyleElementEcwidProductSelectBorder","cssStyleElementEcwidProductSelectBorderRadius","cssStyleElementEcwidProductSelectBoxShadow","cssStyleElementEcwidProductSelectWidth","cssStyleElementEcwidProductSelectSize","cssStyleElementEcwidProductSelectTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--date .product-details-module__content .form-control .form-control__text:-webkit-autofill":{standart:["cssStyleElementEcwidProductDatepickerColorFocus"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--date .product-details-module__content .form-control .form-control__text":{standart:["cssStyleElementEcwidProductDatepickerPlaceholder","cssStyleElementEcwidProductDatepickerTypography","cssStyleElementEcwidProductDatepickerColor","cssStyleElementEcwidProductDatepickerPadding"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--date .product-details-module__content .form-control .form-control__placeholder":{standart:["cssStyleElementEcwidProductDatepickerSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--date .product-details-module__content .form-control .form-control__placeholder .form-control__placeholder-inner:hover":{standart:["cssStyleElementEcwidProductDatepickerPlaceholder","cssStyleElementEcwidProductDatepickerTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--date .product-details-module__content":{standart:["cssStyleElementEcwidProductDatepickerAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--date":{standart:["cssStyleElementEcwidProductDatepickerSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--date .product-details-module__content .form-control:hover":{standart:["cssStyleElementEcwidProductDatepickerColor","cssStyleElementEcwidProductDatepickerBgColor","cssStyleElementEcwidProductDatepickerBgGradient","cssStyleElementEcwidProductDatepickerBorder","cssStyleElementEcwidProductDatepickerBorderRadius","cssStyleElementEcwidProductDatepickerBoxShadow","cssStyleElementEcwidProductDatepickerAlign","cssStyleElementEcwidProductDatepickerWidth","cssStyleElementEcwidProductDatepickerSize"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--files":{standart:["cssStyleElementEcwidProductFilesSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--files .product-details-module__content .form-control.form-control--file .form-control":{standart:["cssStyleElementEcwidProductFilesAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--files .product-details-module__content .form-control.form-control--file .form-control .form-control__button:hover .form-control__button-text":{standart:["cssStyleElementEcwidProductFilesTypography","cssStyleElementEcwidProductFilesColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--files .product-details-module__content .form-control.form-control--file .form-control .form-control__button:hover":{standart:["cssStyleElementEcwidProductFilesBgColor","cssStyleElementEcwidProductFilesBgGradient","cssStyleElementEcwidProductFilesBorder","cssStyleElementEcwidProductFilesBorderRadius","cssStyleElementEcwidProductFilesBoxShadow","cssStyleElementEcwidProductFilesSize","cssStyleElementEcwidProductFilesWidth"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--files .product-details-module__content .form-control.form-control--file .form-control__add-more:hover":{standart:["cssStyleElementEcwidProductFilesBgColor","cssStyleElementEcwidProductFilesBgGradient","cssStyleElementEcwidProductFilesBorder","cssStyleElementEcwidProductFilesBorderRadius","cssStyleElementEcwidProductFilesBoxShadow","cssStyleElementEcwidProductFilesSize","cssStyleElementEcwidProductFilesWidth","cssStyleElementEcwidProductFilesTypography","cssStyleElementEcwidProductFilesColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__general-info .product-details-module__content .product-details__product-description":{standart:["cssStyleElementEcwidMyAccountDescriptionTypographyFontFamily","cssStyleElementEcwidMyAccountDescriptionTypographyFontSize","cssStyleElementEcwidMyAccountDescriptionTypographyLineHeight","cssStyleElementEcwidMyAccountDescriptionTypographyFontWeight","cssStyleElementEcwidMyAccountDescriptionTypographyLetterSpacing","cssStyleElementEcwidMyAccountDescriptionColor","cssStyleElementEcwidMyAccountDescriptionAlign","cssStyleElementEcwidMyAccountDescriptionSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .product-details-module.product-details__general-info .product-details-module__content .product-details__product-description":{standart:["cssStyleElementEcwidMyAccountDescriptionTypographyFontFamily","cssStyleElementEcwidMyAccountDescriptionTypographyFontSize","cssStyleElementEcwidMyAccountDescriptionTypographyLineHeight","cssStyleElementEcwidMyAccountDescriptionTypographyFontWeight","cssStyleElementEcwidMyAccountDescriptionTypographyLetterSpacing","cssStyleElementEcwidMyAccountDescriptionColor","cssStyleElementEcwidMyAccountDescriptionAlign","cssStyleElementEcwidMyAccountDescriptionSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__general-info .product-details-module__content .product-details__product-description div p strong":{standart:["cssStyleElementEcwidMyAccountDescriptionTypographyFontFamily","cssStyleElementEcwidMyAccountDescriptionTypographyFontSize","cssStyleElementEcwidMyAccountDescriptionTypographyLineHeight","cssStyleElementEcwidMyAccountDescriptionTypographyFontWeight","cssStyleElementEcwidMyAccountDescriptionTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .product-details-module.product-details__general-info .product-details__product-description":{standart:["cssStyleElementEcwidMyAccountDescriptionTypographyFontFamily","cssStyleElementEcwidMyAccountDescriptionTypographyFontSize","cssStyleElementEcwidMyAccountDescriptionTypographyLineHeight","cssStyleElementEcwidMyAccountDescriptionTypographyFontWeight","cssStyleElementEcwidMyAccountDescriptionTypographyLetterSpacing","cssStyleElementEcwidMyAccountDescriptionColor","cssStyleElementEcwidMyAccountDescriptionAlign","cssStyleElementEcwidMyAccountDescriptionSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .product-details-module.product-details__general-info .product-details__product-description div p":{standart:["cssStyleElementEcwidMyAccountDescriptionTypographyFontFamily","cssStyleElementEcwidMyAccountDescriptionTypographyFontSize","cssStyleElementEcwidMyAccountDescriptionTypographyLineHeight","cssStyleElementEcwidMyAccountDescriptionTypographyFontWeight","cssStyleElementEcwidMyAccountDescriptionTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__title.ec-header-h6.favorite-product__title":{standart:["cssStyleElementEcwidMyAccountTitle2TypographyFontFamily","cssStyleElementEcwidMyAccountTitle2TypographyFontSize","cssStyleElementEcwidMyAccountTitle2TypographyLineHeight","cssStyleElementEcwidMyAccountTitle2TypographyFontWeight","cssStyleElementEcwidMyAccountTitle2TypographyLetterSpacing","cssStyleElementEcwidMyAccountTitle2Color","cssStyleElementEcwidMyAccountTitle2Align","cssStyleElementEcwidMyAccountTitle2Spacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--size .product-details-module__content":{standart:["cssStyleElementEcwidProductCheckboxAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--size .product-details-module__content .form-control--checkbox-button":{standart:["cssStyleElementEcwidProductCheckboxSpacingRight","cssStyleElementEcwidProductCheckboxSpacingBottom"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--size .product-details-module__content .form-control--checkbox-button .form-control__inline-label label:hover":{standart:["cssStyleElementEcwidProductCheckboxTypography","cssStyleElementEcwidProductCheckboxSize","cssStyleElementEcwidProductCheckboxBorderRadius","cssStyleElementEcwidProductCheckboxBgColor","cssStyleElementEcwidProductCheckboxBgGradient","cssStyleElementEcwidProductCheckboxBorder","cssStyleElementEcwidProductCheckboxBoxShadow","cssStyleElementEcwidProductCheckboxColor","cssStyleElementEcwidProductCheckboxPadding"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--size .product-details-module__content .form-control--checkbox-button .form-control__radio:checked~.form-control__inline-label label":{standart:["cssStyleElementEcwidProductCheckboxTypography","cssStyleElementEcwidProductCheckboxSize","cssStyleElementEcwidProductCheckboxBorderRadius","cssStyleElementEcwidProductCheckboxActiveBgColor","cssStyleElementEcwidProductCheckboxActiveBgGradient","cssStyleElementEcwidProductCheckboxActiveBorder","cssStyleElementEcwidProductCheckboxActiveBoxShadow","cssStyleElementEcwidProductCheckboxActiveColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--size .product-details-module__content .form-control--checkbox-button input":{standart:["cssStyleElementEcwidProductCheckboxSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-share.details-product-share .product-details-module .product-details-module__title.ec-header-h6.details-product-share__title":{standart:["cssStyleElementEcwidProductShareTitleColor","cssStyleElementEcwidProductShareTitleTypography","cssStyleElementEcwidProductShareTitleAlign","cssStyleElementEcwidProductShareTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--my-account":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--track-order":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--shopping-cart":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.ec-link.ec-link--muted":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon":{standart:["cssStyleElementEcwidCartFooterIconSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon svg":{standart:["cssStyleElementEcwidCartFooterIconSize","cssStyleElementEcwidCartFooterIconColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product":{standart:["cssStyleElementEcwidProductFavoritesButtonsDisplay"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented":{standart:["cssStyleElementEcwidProductFavoriteAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-add":{standart:["cssStyleElementEcwidProductFavoriteSpacing","cssStyleElementEcwidProductFavoriteWidth","cssStyleElementEcwidProductFavoriteButtonSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-add .form-control__button.form-control__button--icon-prepend:hover":{standart:["cssStyleElementEcwidProductFavoriteSize","cssStyleElementEcwidProductFavoriteColor","cssStyleElementEcwidProductFavoriteBgColor","cssStyleElementEcwidProductFavoriteBgGradient","cssStyleElementEcwidProductFavoriteBorder","cssStyleElementEcwidProductFavoriteBorderRadius","cssStyleElementEcwidProductFavoriteBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-add .form-control__button.form-control__button--icon-prepend .form-control__button-text":{standart:["cssStyleElementEcwidProductFavoriteTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-add .form-control__button.form-control__button--icon-prepend .form-control__button-svg":{standart:["cssStyleElementEcwidProductFavoriteSpacingRightIcon","cssStyleElementEcwidProductFavoriteIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-add .form-control__button.form-control__button--icon-prepend .form-control__button-svg .svg-icon":{standart:["cssStyleElementEcwidProductFavoriteIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-saved":{standart:["cssStyleElementEcwidProductFavoritedSpacing","cssStyleElementEcwidProductFavoritedWidth","cssStyleElementEcwidProductFavoritedButtonSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-saved .form-control__button.form-control__button--icon-prepend:hover":{standart:["cssStyleElementEcwidProductFavoritedSize","cssStyleElementEcwidProductFavoritedColor","cssStyleElementEcwidProductFavoritedBgColor","cssStyleElementEcwidProductFavoritedBgGradient","cssStyleElementEcwidProductFavoritedBorder","cssStyleElementEcwidProductFavoritedBorderRadius","cssStyleElementEcwidProductFavoritedBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-saved .form-control__button.form-control__button--icon-prepend .form-control__button-text":{standart:["cssStyleElementEcwidProductFavoritedTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-saved .form-control__button.form-control__button--icon-prepend .form-control__button-svg":{standart:["cssStyleElementEcwidProductFavoritedSpacingRightIcon","cssStyleElementEcwidProductFavoritedIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-saved .form-control__button.form-control__button--icon-prepend .form-control__button-svg .svg-icon":{standart:["cssStyleElementEcwidProductFavoritedIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-view":{standart:["cssStyleElementEcwidProductViewFavoritesSpacing","cssStyleElementEcwidProductViewFavoritesWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-view .form-control__button:hover":{standart:["cssStyleElementEcwidProductViewFavoritesSize","cssStyleElementEcwidProductViewFavoritesColor","cssStyleElementEcwidProductViewFavoritesBgColor","cssStyleElementEcwidProductViewFavoritesBgGradient","cssStyleElementEcwidProductViewFavoritesBorder","cssStyleElementEcwidProductViewFavoritesBorderRadius","cssStyleElementEcwidProductViewFavoritesBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-view .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidProductViewFavoritesTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-share.details-product-share .product-details-module .product-details-module__content.product-details-module__content--indented .ec-likely.details-product-share__buttons .ec-likely__wrapper .ec-likely__widget .ec-likely__button":{standart:["cssStyleElementEcwidProductShareButtonsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-share.details-product-share .product-details-module .product-details-module__content.product-details-module__content--indented .ec-likely.details-product-share__buttons .ec-likely__wrapper .ec-likely__widget .ec-likely__icon":{standart:["cssStyleElementEcwidProductShareButtonsSpacingRightIcon","cssStyleElementEcwidProductShareButtonsIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-share.details-product-share .product-details-module .product-details-module__content.product-details-module__content--indented .ec-likely.details-product-share__buttons .ec-likely__wrapper .ec-likely__widget .ec-likely__icon svg":{standart:["cssStyleElementEcwidProductShareButtonsIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-share.details-product-share .product-details-module .product-details-module__content.product-details-module__content--indented .ec-likely.details-product-share__buttons .ec-likely__wrapper":{standart:["cssStyleElementEcwidProductShareButtonsAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-share.details-product-share .product-details-module .product-details-module__content.product-details-module__content--indented .ec-likely.details-product-share__buttons .ec-likely__wrapper .ec-likely__widget:hover":{standart:["cssStyleElementEcwidProductShareButtonsSize","cssStyleElementEcwidProductShareButtonsWidth","cssStyleElementEcwidProductShareButtonsColor","cssStyleElementEcwidProductShareButtonsBgColor","cssStyleElementEcwidProductShareButtonsBgGradient","cssStyleElementEcwidProductShareButtonsBorder","cssStyleElementEcwidProductShareButtonsBorderRadius","cssStyleElementEcwidProductShareButtonsBoxShadow","cssStyleElementEcwidProductShareButtonsSpacing","cssStyleElementEcwidProductShareButtonsSpacingRight"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap":{standart:["cssStyleElementEcwidProductGalleryWidth","cssStyleElementEcwidProductGalleryAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap .details-gallery__wrap-inner .details-gallery__images":{standart:["cssStyleElementEcwidProductThumbnailSpacingRightBottom"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap .details-gallery__wrap-inner .details-gallery__images .details-gallery__images-container .details-gallery__images-carousel .details-gallery__image":{standart:["cssStyleElementEcwidProductThumbnailSpacingStyleCenter"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap .details-gallery__wrap-inner .details-gallery__images .details-gallery__images-container .details-gallery__images-carousel .details-gallery__image:first-child .details-gallery__image-wrapper .details-gallery__image-wrapper-inner:hover":{standart:["cssStyleElementEcwidProductGalleryBorder","cssStyleElementEcwidProductGalleryBorderRadius","cssStyleElementEcwidProductGalleryBoxShadow"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap .details-gallery__wrap-inner .details-gallery__thumbs":{standart:["cssStyleElementEcwidProductThumbnailWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap .details-gallery__wrap-inner .details-gallery__thumbs .details-gallery__thumb:not(.details-gallery__thumb.details-gallery__thumb--active):hover":{standart:["cssStyleElementWOOGalleryBorderThumbnail","cssStyleElementWOOGalleryBorderRadiusThumbnail","cssStyleElementWOOGalleryBoxShadowThumbnail","cssStyleElementEcwidProductThumbnailBetween","cssStyleElementEcwidProductThumbnailWidthCenter"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap .details-gallery__wrap-inner .details-gallery__images .details-gallery__images-container .details-gallery__images-carousel .details-gallery__image:not(:first-child) .details-gallery__image-wrapper .details-gallery__image-wrapper-inner:hover":{standart:["cssStyleElementWOOGalleryBorderThumbnail","cssStyleElementWOOGalleryBorderRadiusThumbnail","cssStyleElementWOOGalleryBoxShadowThumbnail","cssStyleElementEcwidProductThumbnailBetween"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap .details-gallery__wrap-inner .details-gallery__thumbs .details-gallery__thumb.details-gallery__thumb--active":{standart:["cssStyleElementEcwidProductThumbnailActiveBorder","cssStyleElementEcwidProductThumbnailActiveBoxShadow","cssStyleElementWOOGalleryBorderRadiusThumbnail","cssStyleElementEcwidProductThumbnailBetween","cssStyleElementEcwidProductThumbnailWidthCenter"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block .product-details__label-container:hover .ec-label":{standart:["cssStyleElementEcwidProductFlagColorBg"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block .product-details__label-container:hover .ec-label:after":{standart:["cssStyleElementEcwidProductFlagColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block .product-details__label-container:hover .ec-label:before":{standart:["cssStyleElementEcwidProductFlagColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block .product-details__label-container:hover .ec-label .label__text":{standart:["cssStyleElementEcwidProductFlagLabelTypography","cssStyleElementEcwidProductFlagLabelColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block .product-details__label-container":{standart:["cssStyleElementEcwidProductFlagLabelAlign","cssStyleElementEcwidProductFlagSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-sku.ec-text-muted":{standart:["cssStyleElementEcwidProductSKUAlign","cssStyleElementEcwidProductSKUSpacing","cssStyleElementEcwidProductSKUColor","cssStyleElementEcwidProductSKUTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__qty":{standart:["cssStyleElementEcwidProductQtyAlign","cssStyleElementEcwidProductQtySpacingBottom"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__qty label .details-product-purchase__qty-label:hover":{standart:["cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing","cssStyleElementEcwidProductQtyColor","cssStyleElementEcwidProductQtySpacingRight"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__qty .form-control:hover .form-control__placeholder":{standart:["cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing","cssStyleElementEcwidProductQtyColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__qty .form-control:hover .form-control__placeholder .form-control__placeholder-inner":{standart:["cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing","cssStyleElementEcwidProductQtyColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__qty .form-control:hover":{standart:["cssStyleElementEcwidProductQtyWidth","cssStyleElementEcwidProductQtyColor","cssStyleElementEcwidProductQtyBgColor","cssStyleElementEcwidProductQtyBgGradient","cssStyleElementEcwidProductQtyBorder","cssStyleElementEcwidProductQtyBorderRadius","cssStyleElementEcwidProductQtyBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__qty .form-control .form-control__text":{standart:["cssStyleElementEcwidProductQtyHeight","cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing","cssStyleElementEcwidProductQtyColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .product-details-module.product-details__general-info .product-details-module__content .product-details__product-attributes .details-product-attribute":{standart:["cssStyleElementEcwidProductAttributeAlign","cssStyleElementEcwidProductAttributeColor","cssStyleElementEcwidProductAttributeSpacing","cssStyleElementEcwidProductAttributeTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .product-details-module.product-details__general-info .product-details-module__content .product-details__product-weight .details-product-attribute":{standart:["cssStyleElementEcwidProductAttributeAlign","cssStyleElementEcwidProductAttributeColor","cssStyleElementEcwidProductAttributeSpacing","cssStyleElementEcwidProductAttributeTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar div .product-details__product-attributes .details-product-attribute":{standart:["cssStyleElementEcwidProductAttributeAlign","cssStyleElementEcwidProductAttributeColor","cssStyleElementEcwidProductAttributeSpacing","cssStyleElementEcwidProductAttributeTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar div .product-details__product-weight .details-product-attribute":{standart:["cssStyleElementEcwidProductAttributeAlign","cssStyleElementEcwidProductAttributeColor","cssStyleElementEcwidProductAttributeSpacing","cssStyleElementEcwidProductAttributeTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description div .product-details__product-attributes .details-product-attribute":{standart:["cssStyleElementEcwidProductAttributeAlign","cssStyleElementEcwidProductAttributeColor","cssStyleElementEcwidProductAttributeSpacing","cssStyleElementEcwidProductAttributeTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description div .product-details__product-weight .details-product-attribute":{standart:["cssStyleElementEcwidProductAttributeAlign","cssStyleElementEcwidProductAttributeColor","cssStyleElementEcwidProductAttributeSpacing","cssStyleElementEcwidProductAttributeTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__general-info .product-details-module__btn-more":{standart:["cssStyleElementEcwidProductShowMoreAlign","cssStyleElementEcwidProductShowMoreSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__general-info .product-details-module__btn-more .ec-link:hover":{standart:["cssStyleElementEcwidProductShowMoreColor","cssStyleElementEcwidProductShowMoreTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__subtitle":{standart:["cssStyleElementEcwidCartSubtitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__subtitle .product-details-module__content":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block.product-details__product-on-sale .details-product-price-compare__container":{standart:["cssStyleElementEcwidProductWholesalePriceAlign","cssStyleElementEcwidProductWholesalePriceSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block.product-details__product-on-sale .details-product-price-compare__container .details-product-price-compare__value":{standart:["cssStyleElementEcwidProductWholesaleColor","cssStyleElementEcwidProductWholesaleTypography","cssStyleElementEcwidProductWholesalePriceRightSpacing","cssStyleElementEcwidProductWholesalePriceColumn"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block.product-details__product-on-sale .details-product-price-compare__container .product-details__product-price-discount":{standart:["cssStyleElementEcwidProductWholesalePriceColor","cssStyleElementEcwidProductWholesalePriceTypography","cssStyleElementEcwidProductWholesalePriceColumn"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__product-price-wholesale-note":{standart:["cssStyleElementEcwidProductWholesaleNoteColor","cssStyleElementEcwidProductWholesaleNoteTypography","cssStyleElementEcwidProductWholesaleNoteAlign","cssStyleElementEcwidProductWholesaleNoteSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--radio .form-control__inline-label label .option-surcharge":{standart:["cssStyleElementEcwidProductSurchargeTypography","cssStyleElementEcwidProductSurchargeColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options .product-details-module .product-details-module__content .form-control--checkbox-button .form-control__inline-label label .option-surcharge":{standart:["cssStyleElementEcwidProductSurchargeTypography","cssStyleElementEcwidProductSurchargeColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options .product-details-module .product-details-module__content .form-control--checkbox .form-control__inline-label label .option-surcharge":{standart:["cssStyleElementEcwidProductSurchargeTypography","cssStyleElementEcwidProductSurchargeColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__title.ec-header-h6.details-product-price-wholesale__title":{standart:["cssStyleElementEcwidProductWholesaleTitleColor","cssStyleElementEcwidProductWholesaleTitleTypography","cssStyleElementEcwidProductWholesaleTitleAlign","cssStyleElementEcwidProductWholesaleTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-wholesale":{standart:["cssStyleElementEcwidProductWholesaleTableBodySpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-wholesale .product-details-module__content .details-product-price-wholesale__container .details-product-price-wholesale__table thead .details-product-wholesale__header .details-product-wholesale__column":{standart:["cssStyleElementEcwidProductWholesaleTableHeaderColor","cssStyleElementEcwidProductWholesaleTableHeaderTypography","cssStyleElementEcwidProductWholesaleTableHeaderAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-wholesale .product-details-module__content .details-product-price-wholesale__container .details-product-price-wholesale__table tbody .details-product-wholesale__row .details-product-wholesale__column":{standart:["cssStyleElementEcwidProductWholesaleTableBodyColor","cssStyleElementEcwidProductWholesaleTableBodyTypography","cssStyleElementEcwidProductWholesaleTableBodyAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-wholesale .product-details-module__content .details-product-price-wholesale__container .details-product-price-wholesale__table tbody .details-product-wholesale__row .details-product-wholesale__column .details-product__wholesale-off":{standart:["cssStyleElementEcwidProductWholesaleTableBodyColor","cssStyleElementEcwidProductWholesaleTableBodyTypography","cssStyleElementEcwidProductWholesaleTableBodyAlign"]}}})}},38586:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=o(88973);function c(e){let{v:t,device:o,state:c}=e;const d=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:c}),{hex:u}=(0,a.getOptionColorHexByPalette)(d("bgColorHex"),d("bgColorPalette")),p=d("columns"),f=p===s.EcwidProductColumns.ThreeRight,m=p===s.EcwidProductColumns.ThreeLeft,y=p!==s.EcwidProductColumns.TwoRight,g="off"===d("shareButtonsDisplay"),b="off"===d("descriptionDisplay"),h="besideImage"===d("descriptionPosition");return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,i.t)("Product"),icon:"nc-woo-related-products"},devices:"desktop",position:10,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,i.t)("Product"),options:[{id:"columns",label:(0,i.t)("Columns"),type:"select-dev",choices:[{title:"Two columns on the left",value:s.EcwidProductColumns.TwoLeft},{title:"Two columns on the right",value:s.EcwidProductColumns.TwoRight},{title:"Three columns on the right",value:s.EcwidProductColumns.ThreeRight},{title:"Three columns on the left",value:s.EcwidProductColumns.ThreeLeft}]},{id:"descriptionPosition",label:(0,i.t)("Description"),disabled:y,type:"select-dev",choices:[{title:"Below image",value:"belowImage"},{title:"Beside image",value:"besideImage"}]},{id:"between",label:(0,i.t)("Between"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"tabCurrentElementDisplay",label:(0,i.t)("Display"),options:[{id:"nameDisplay",label:(0,i.t)("Name"),type:"switch-dev"},{id:"nameFirstMobile",disabled:"off"===d("nameDisplay"),label:(0,i.t)("Name - First on Mobile"),type:"switch-dev",helper:{content:"The product name always shows on top on the mobile version."}},{id:"breadcrumbsDisplay",label:(0,i.t)("Breadcrumbs"),type:"switch-dev"},{id:"skuDisplay",label:(0,i.t)("SKU"),type:"switch-dev"},{id:"priceDisplay",label:(0,i.t)("Price"),type:"switch-dev"},{id:"subtitleDisplay",label:(0,i.t)("Subtitle"),type:"switch-dev"},{id:"optionsDisplay",label:(0,i.t)("Options"),type:"switch-dev"},{id:"stockLabelDisplay",label:(0,i.t)("Stock Availability labels"),type:"switch-dev"},{id:"numberInStockDisplay",label:(0,i.t)("Number of items in stock"),type:"switch-dev"},{id:"quantityDisplay",label:(0,i.t)("Quantity"),type:"switch-dev"},{id:"wholesalePricesDisplay",label:(0,i.t)("Wholesale Prices"),type:"switch-dev"},{id:"attributesDisplay",label:(0,i.t)("Attributes"),type:"switch-dev"},{id:"weightDisplay",label:(0,i.t)("Weight"),type:"switch-dev"},{id:"descriptionOptions",type:"group-dev",options:[{id:"descriptionDisplay",label:(0,i.t)("Description"),type:"switch-dev"},{id:"cutProductDescription",label:(0,i.t)("Cut description"),disabled:b||h||f||m,type:"switch-dev",helper:{content:'Cuts long product description and displays only one paragraph and "Show more" link to see full info.'}}]},{id:"footerDisplay",label:(0,i.t)("Footer"),type:"switch-dev"}]},{id:"tabCurrentElementShareButtons",label:(0,i.t)("Buttons"),options:[{id:"groupShareButtons",type:"group-dev",options:[{id:"shareButtonsDisplay",label:(0,i.t)("Share Buttons"),type:"switch-dev"},{id:"showFacebookShareBtn",label:(0,i.t)("Facebook"),type:"switch-dev",disabled:g},{id:"showPinterestShareBtn",label:(0,i.t)("Pinterest"),type:"switch-dev",disabled:g},{id:"showTwitterShareBtn",label:(0,i.t)("Twitter"),type:"switch-dev",disabled:g},{id:"showVkShareBtn",label:(0,i.t)("VK"),type:"switch-dev",disabled:g}]},{id:"favoritesButtonsDisplay",label:(0,i.t)("Favorites Buttons"),type:"switch-dev"}]}]}]},{id:"toolbarColor",type:"popover-dev",position:20,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,d("bgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"product",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"productBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"productBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",position:20,devices:"desktop",icon:"nc-cog",title:(0,i.t)("Settings")}]}},44369:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("addToBagBgColorHex"),c("addToBagBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,i.t)("Add To Bag")},options:[{id:"positionAddToBag",label:(0,i.t)("Position"),type:"slider-dev",devices:"desktop",config:{min:100,max:1e3,step:100}},{id:"groupSize",type:"group-dev",options:[{id:"addToBagSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"addToBagHeight",label:(0,i.t)("Height"),disabled:"custom"!==c("addToBagSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"addToBagWidth",label:(0,i.t)("Width"),disabled:"custom"!==c("addToBagSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"addToBagTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("addToBagBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"addToBagColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"addToBag",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"addToBagBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"addToBagBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"buttonHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"addToBagSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},46670:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("attributeColorHex"),l("attributeColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"attributeTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("attributeColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"attributeColor",type:"colorPicker-dev"}]},{id:"attributeHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"attributeSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},90945:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(88973);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("breadcrumbsColorHex"),s("breadcrumbsColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-woo-related-products",title:(0,i.t)("Breadcrumbs")},devices:"desktop",options:[{id:"positionBreadcrumbs",label:(0,i.t)("Position"),type:"slider-dev",disabled:s("columns")===l.EcwidProductColumns.ThreeRight,config:{min:100,max:1e3,step:100}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:20,options:[{id:"breadcrumbsTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("breadcrumbsColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"breadcrumbsColor",type:"colorPicker-dev"}]},{id:"breadcrumbsHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:50,options:[{id:"breadcrumbsSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},82773:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("buttonBgColorHex"),c("buttonBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-add",title:(0,i.t)("Add More")},options:[{id:"groupSize",type:"group-dev",options:[{id:"buttonSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"buttonHeight",label:(0,i.t)("Height"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"buttonWidth",label:(0,i.t)("Width"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"buttonRightSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"buttonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("buttonBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"buttonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabButtonBg",label:(0,i.t)("Bg"),options:[{id:"button",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"buttonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"buttonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"buttonHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"buttonSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},16242:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("checkboxBgColorHex"),c("checkboxBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-check-square-on",title:(0,i.t)("Checkbox")},options:[{id:"groupSize",type:"group-dev",options:[{id:"checkboxSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"checkboxCustomSize",disabled:"custom"!==c("checkboxSize"),type:"slider-dev",config:{min:16,max:100,units:[{value:"px",title:"px"}]}}]},{id:"checkboxRightSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabCheckbox",label:(0,i.t)("Text"),options:[{id:"checkboxTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabSurcharge",label:(0,i.t)("Surcharge"),options:[{id:"surchargeTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("checkboxBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"checkboxColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"checkbox",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"checkboxBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"checkboxBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"surchargeColor",label:(0,i.t)("Surcharge"),options:[{id:"surchargeColor",type:"colorPicker-dev"}]}]}]},{id:"checkboxHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"checkboxBottomSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},28418:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("checkbox2BgColorHex"),s("checkbox2BgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-check-square-on",title:(0,i.t)("Checkbox")},options:[{id:"columnGroup",type:"group-dev",options:[{id:"checkbox2ColumnSwitch",type:"switch-dev",label:(0,i.t)("Columns")},{id:"checkbox2Columns",label:(0,i.t)("Type"),disabled:"off"===s("checkbox2ColumnSwitch"),type:"select-dev",choices:[{title:"1",value:1},{title:"2",value:2},{title:"3",value:3},{title:"4",value:4},{title:"5",value:5},{title:"6",value:6}]}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabCheckbox2",label:(0,i.t)("Text"),options:[{id:"checkbox2Typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabSurcharge",label:(0,i.t)("Surcharge"),options:[{id:"surchargeTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("checkbox2BgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsToolbarColor",type:"tabs-dev",tabs:[{id:"checkbox2Color",label:(0,i.t)("Text"),options:[{id:"checkbox2BgColor",type:"colorPicker-dev"}]},{id:"surchargeColor",label:(0,i.t)("Surcharge"),options:[{id:"surchargeColor",type:"colorPicker-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"checkbox2Spacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},59315:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("checkoutBgColorHex"),c("checkoutBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,i.t)("Go to Checkout")},options:[{id:"groupSize",type:"group-dev",options:[{id:"checkoutSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"checkoutHeight",label:(0,i.t)("Height"),disabled:"custom"!==c("checkoutSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"checkoutWidth",label:(0,i.t)("Width"),disabled:"custom"!==c("checkoutSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"checkoutTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("checkoutBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"checkoutColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"checkout",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"checkoutBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"checkoutBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"buttonHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"checkoutSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},11562:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("datepickerBgColorHex"),c("datepickerBgColorPalette"));return[{id:"toolbarCurrent",type:"popover-dev",position:10,config:{icon:"nc-grid-45",title:(0,i.t)("Date")},options:[{id:"datepickerPlaceholder",label:(0,i.t)("Placeholder"),type:"switch-dev"},{id:"datepickerSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"datepickerTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("datepickerBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"datepickerColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"datepicker",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"datepickerBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"datepickerBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"datepickerHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"datepickerWidth",label:(0,i.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"}]}},{id:"datepickerSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},5597:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(88973);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("descriptionColorHex"),s("descriptionColorPalette")),d=s("columns");return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-woo-related-products",title:(0,i.t)("Description")},devices:"desktop",options:[{id:"positionDescription",label:(0,i.t)("Position"),type:"slider-dev",disabled:d===l.EcwidProductColumns.ThreeLeft||d===l.EcwidProductColumns.ThreeRight||"besideImage"===s("descriptionPosition"),config:{min:100,max:1e3,step:100}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:20,options:[{id:"descriptionTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("descriptionColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"descriptionColor",type:"colorPicker-dev"}]},{id:"descriptionHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"descriptionSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},60803:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("detailsColorHex"),l("detailsColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"detailsTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("detailsColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"detailsColor",type:"colorPicker-dev"}]},{id:"detailsHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"detailsSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},73575:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("favoriteBgColorHex"),c("favoriteBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,i.t)("Button")},options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElementButton",label:(0,i.t)("Button"),options:[{id:"groupSize",type:"group-dev",options:[{id:"favoriteSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"favoriteHeight",label:(0,i.t)("Height"),disabled:"custom"!==c("favoriteSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"favoriteWidth",label:(0,i.t)("Width"),disabled:"custom"!==c("favoriteSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"favoriteRightSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"tabCurrentElementIcon",label:(0,i.t)("Icon"),options:[{id:"groupSize",type:"group-dev",options:[{id:"groupSizeFavorite",type:"group-dev",options:[{id:"favoriteIconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"favoriteIconCustomSize",type:"slider-dev",disabled:"custom"!==c("favoriteIconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"favoriteRightIconSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"favoriteTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("favoriteBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"favoriteColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"favorite",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"favoriteBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"favoriteBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"favoriteHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"favoriteSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},3003:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("favoritedColorHex"),c("favoritedColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,i.t)("Button")},options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElementButton",label:(0,i.t)("Button"),options:[{id:"groupSize",type:"group-dev",options:[{id:"favoritedSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"favoritedHeight",label:(0,i.t)("Height"),disabled:"custom"!==c("favoritedSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"favoritedWidth",label:(0,i.t)("Width"),disabled:"custom"!==c("favoritedSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"favoritedRightSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"tabCurrentElementIcon",label:(0,i.t)("Icon"),options:[{id:"groupSize",type:"group-dev",options:[{id:"groupSizeFavorited",type:"group-dev",options:[{id:"favoritedIconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"favoritedIconCustomSize",type:"slider-dev",disabled:"custom"!==c("favoritedIconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"favoritedRightIconSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"favoritedTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("favoritedColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"favoritedColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"favorited",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"favoritedBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"favoritedBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"favoriteHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"favoritedSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},29735:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("filesBgColorHex"),c("filesBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-update",title:(0,i.t)("Files")},options:[{id:"groupSize",type:"group-dev",options:[{id:"filesSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"filesHeight",label:(0,i.t)("Height"),disabled:"custom"!==c("filesSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"filesWidth",label:(0,i.t)("Width"),disabled:"custom"!==c("filesSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"filesTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("filesBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"filesColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"files",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"filesBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"filesBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"filesHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"filesSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},22757:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("flagLabelColorHex"),c("flagLabelColorPalette"));return[{id:"popoverTypography",type:"popover-dev",position:10,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"flagLabelTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:20,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("flagLabelColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"flagLabelColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"flagBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"flagLabelHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"flagLabelSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},78475:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("footerColorHex"),l("footerColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,i.t)("Icon"),icon:"nc-user"},position:10,options:[{id:"groupSize",type:"group-dev",options:[{id:"footerIconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"footerIconCustomSize",type:"slider-dev",disabled:"custom"!==l("footerIconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:20,options:[{id:"footerTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("footerColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabColorFooter",label:(0,i.t)("Text"),options:[{id:"footerColor",type:"colorPicker-dev"}]},{id:"tabColorFooterIcon",label:(0,i.t)("Icon"),options:[{id:"footerIconColor",type:"colorPicker-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"footerSpacing",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]}},59341:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("galleryBorderColorHex"),c("galleryBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("galleryBorderColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"galleryBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"galleryBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"galleryHorizontalAlign",type:"toggle-dev",position:20,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:30,options:[{id:"galleryWidthSpacing",label:(0,i.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},58943:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("inStockColorHex"),l("inStockColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"inStockTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("inStockColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"inStockColor",type:"colorPicker-dev"}]},{id:"inStockHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"inStockSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},28494:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("priceColorHex"),l("priceColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-woo-related-products",title:(0,i.t)("Price")},devices:"desktop",options:[{id:"positionPrice",label:(0,i.t)("Position"),type:"slider-dev",config:{min:100,max:1e3,step:100}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:20,options:[{id:"priceTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("priceColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"priceColor",type:"colorPicker-dev"}]},{id:"priceHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:50,options:[{id:"priceSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},3933:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("qtyColorHex"),c("qtyColorPalette"));return[{id:"toolbarTypographyqty",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"qtyTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorqty",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("qtyColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"qtyColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"qty",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"qtyBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"qtyBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"qtyHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"qtyWidth",label:(0,i.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"qtyHeight",label:(0,i.t)("Height"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"qtySpacing",label:(0,i.t)("Right"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"qtyBottomSpacing",label:(0,i.t)("Bottom"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},41347:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("radioBgColorHex"),s("radioBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-check-circle-on",title:(0,i.t)("Radio")},options:[{id:"columnGroup",type:"group-dev",options:[{id:"radioColumnSwitch",type:"switch-dev",label:(0,i.t)("Columns")},{id:"radioColumns",label:(0,i.t)("Type"),disabled:"off"===s("radioColumnSwitch"),type:"select-dev",choices:[{title:"1",value:1},{title:"2",value:2},{title:"3",value:3},{title:"4",value:4},{title:"5",value:5},{title:"6",value:6}]}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabRadio",label:(0,i.t)("Text"),options:[{id:"radioTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabSurcharge",label:(0,i.t)("Surcharge"),options:[{id:"surchargeTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("radioBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsToolbarColor",type:"tabs-dev",tabs:[{id:"radioColor",label:(0,i.t)("Text"),options:[{id:"radioBgColor",type:"colorPicker-dev"}]},{id:"surchargeColor",label:(0,i.t)("Surcharge"),options:[{id:"surchargeColor",type:"colorPicker-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"radioSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},61530:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("SKUColorHex"),l("SKUColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"SKUTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("SKUColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"SKUColor",type:"colorPicker-dev"}]},{id:"SKUHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"SKUSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},18276:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("selectBgColorHex"),s("selectBgColorPalette"));return[{id:"toolbarCurrent",type:"popover-dev",position:10,config:{icon:"nc-form-left",title:(0,i.t)("Select")},options:[{id:"selectPlaceholder",label:(0,i.t)("Placeholder"),type:"switch-dev"},{id:"selectSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"selectTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("selectBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"selectColor",type:"colorPicker-dev"}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"select",type:"backgroundColor-dev"}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"selectBorder",type:"border-dev"}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"selectBoxShadow",type:"boxShadow-dev"}]}]}]},{id:"selectHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"selectWidth",label:(0,i.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"}]}},{id:"selectSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},93097:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("shareButtonsBgColorHex"),c("shareButtonsBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-share-2",title:(0,i.t)("Button")},options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElementButton",label:(0,i.t)("Button"),options:[{id:"groupSize",type:"group-dev",options:[{id:"shareButtonsSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"shareButtonsHeight",label:(0,i.t)("Height"),disabled:"custom"!==c("shareButtonsSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"shareButtonsWidth",label:(0,i.t)("Width"),disabled:"custom"!==c("shareButtonsSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"shareButtonsRightSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"tabCurrentElementIcon",label:(0,i.t)("Icon"),options:[{id:"groupSize",type:"group-dev",options:[{id:"groupSizeShareButtonsIcon",type:"group-dev",options:[{id:"shareButtonsIconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"shareButtonsIconCustomSize",type:"slider-dev",disabled:"custom"!==c("shareButtonsIconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"shareButtonsRightIconSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"shareButtonsTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("shareButtonsBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"shareButtonsColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"shareButtons",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"shareButtonsBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"shareButtonsBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"shareButtonsHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"shareButtonsSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},32923:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("shareTitleColorHex"),l("shareTitleColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-woo-related-products",title:(0,i.t)("Title")},devices:"desktop",options:[{id:"positionShareTitle",label:(0,i.t)("Position"),type:"slider-dev",config:{min:100,max:1e3,step:100}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"shareTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("shareTitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"shareTitleColor",type:"colorPicker-dev"}]},{id:"shareTitleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"shareTitleSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},15403:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("showMoreColorHex"),s("showMoreColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"showMoreTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("showMoreColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"showMoreColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"showMoreHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"showMoreSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},82314:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("sizeColorHex"),l("sizeColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"sizeTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("sizeColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"sizeColor",type:"colorPicker-dev"}]},{id:"sizeHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"sizeSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},62717:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("subtitleColorHex"),s("subtitleColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"subtitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("subtitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"subtitleColor",type:"colorPicker-dev"}]},{id:"subtitleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"subtitleSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},23372:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("textFieldBgColorHex"),c("textFieldBgColorPalette"));return[{id:"toolbarCurrent",type:"popover-dev",position:10,config:{icon:"nc-tp-capitalize",title:(0,i.t)("Text Field")},options:[{id:"textFieldPlaceholder",label:(0,i.t)("Placeholder"),type:"switch-dev"},{id:"textFieldSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},disabled:"off"===c("textFieldPlaceholder"),options:[{id:"textFieldTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("textFieldBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"textFieldColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER],disabled:"off"===c("textFieldPlaceholder")}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"textField",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"textFieldBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"textFieldBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"textFieldHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"textFieldWidth",label:(0,i.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"}]}},{id:"textFieldSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},43080:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("textareaBgColorHex"),c("textareaBgColorPalette"));return[{id:"toolbarCurrent",type:"popover-dev",position:10,config:{icon:"nc-paragraph",title:(0,i.t)("Text Field")},options:[{id:"textareaPlaceholder",label:(0,i.t)("Placeholder"),type:"switch-dev"},{id:"textareaSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"textareaTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("textareaBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"textareaColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"textarea",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"textareaBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"textareaBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"textareaHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"textareaWidth",label:(0,i.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"}]}},{id:"textareaHeight",label:(0,i.t)("Height"),type:"slider-dev",config:{min:0,max:300,units:[{value:"px",title:"px"}]}},{id:"textareaSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},41028:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=o(88973);function c(e){let{v:t,device:o,state:c}=e;const d=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:c}),{hex:u}=(0,a.getOptionColorHexByPalette)(d("thumbnailBorderColorHex"),d("thumbnailBorderColorPalette")),p=d("thumbStyle"),f=p===s.EcwidProductThumb.ImgFeed,m=p===s.EcwidProductThumb.ImgThumbVertical,y=p===s.EcwidProductThumb.ImgThumbHorizontal||f?(0,i.t)("Top"):(0,i.t)("Right");return[{id:"toolbarGalleryThumbnail",type:"popover-dev",position:10,config:{title:(0,i.t)("Thumbnail"),icon:"nc-woo-gallery"},devices:"desktop",options:[{id:"galleryHoverZoom",label:(0,i.t)("Hover Zoom"),type:"switch-dev",helper:{content:"Enable or disable on hover zoom of a main product image in product details pages."}},{id:"carouselImage",label:(0,i.t)("Carousel Image"),type:"switch-dev",helper:{content:"Adds the ability to scroll product images without opening full-screen image viewer."}},{id:"previewAdditionalImages",label:(0,i.t)("Preview additional Images"),type:"switch-dev",helper:{content:"Shows the additional product image in the place of main product image when clicking on gallery thumbnail."}},{id:"thumbStyle",label:(0,i.t)("Style"),type:"radioGroup-dev",choices:[{value:s.EcwidProductThumb.ImgFeed,icon:"nc-grid-45"},{value:s.EcwidProductThumb.ImgThumbHorizontal,icon:"nc-woo-gallery-bottom"},{value:s.EcwidProductThumb.ImgThumbVertical,icon:"nc-woo-gallery-left"}]},{id:"thumbnailAspectRatio",label:(0,i.t)("Ratio"),type:"select-dev",choices:[{value:"AUTO",title:"Auto"},{value:"PORTRAIT_0667",title:"2:3"},{value:"PORTRAIT_075",title:"3:4"},{value:"SQUARE_1",title:"1:1"},{value:"LANDSCAPE_1333",title:"4:3"},{value:"LANDSCAPE_15",title:"3:2"}]},{id:"thumbSpacing",label:y,type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"betweenThumbnail",label:(0,i.t)("Between"),disabled:f,type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,d("thumbnailBorderColorOpacity"))}}},position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"thumbnailBorder",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"thumbnailBoxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",disabled:f||m,position:40,options:[{id:"thumbnailWidthSpacing",label:(0,i.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]},{id:"advancedSettings",type:"advancedSettings",disabled:!f&&!m,position:40,icon:"nc-cog",devices:"desktop",title:(0,i.t)("Settings")}]}},48768:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(88973);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("titleColorHex"),s("titleColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-woo-related-products",title:(0,i.t)("Name")},devices:"desktop",options:[{id:"positionName",label:(0,i.t)("Position"),type:"slider-dev",disabled:s("columns")===l.EcwidProductColumns.ThreeRight,config:{min:100,max:1e3,step:100}}]},{id:"toolbarTypographyTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:20,options:[{id:"titleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("titleColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"titleColor",type:"colorPicker-dev"}]},{id:"titleHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:50,options:[{id:"titleSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},71289:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("title2ColorHex"),l("title2ColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-woo-related-products",title:(0,i.t)("Title")},devices:"desktop",options:[{id:"positionTitle2",label:(0,i.t)("Position"),type:"slider-dev",config:{min:100,max:1e3,step:100}}]},{id:"toolbarTypographyTitle2",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"title2Typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("title2ColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"title2Color",type:"colorPicker-dev"}]},{id:"title2HorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"title2Spacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},3117:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("viewFavoritesBgColorHex"),c("viewFavoritesBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button-2",title:(0,i.t)("View Favorites")},options:[{id:"groupSize",type:"group-dev",options:[{id:"viewFavoritesSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"viewFavoritesHeight",label:(0,i.t)("Height"),disabled:"custom"!==c("viewFavoritesSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"viewFavoritesWidth",label:(0,i.t)("Width"),disabled:"custom"!==c("viewFavoritesSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"viewFavoritesTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("viewFavoritesBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"viewFavoritesColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"viewFavorites",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"viewFavoritesBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"viewFavoritesBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"favoriteHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"viewFavoritesSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},97882:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("wholesaleNoteColorHex"),s("wholesaleNoteColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"wholesaleNoteTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("wholesaleNoteColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"wholesaleNoteColor",type:"colorPicker-dev"}]},{id:"wholesaleNoteHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"wholesaleNoteSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},72898:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("wholesalePriceColorHex"),s("wholesalePriceColorPalette"));return[{id:"toolbarWholesalePrice",type:"popover-dev",config:{icon:"nc-woo-price",title:(0,i.t)("Wholesale Price")},position:10,devices:"desktop",options:[{id:"wholesalePriceColumn",label:(0,i.t)("Column"),type:"switch-dev",devices:"desktop"},{id:"wholesalePriceRightSpacing",label:(0,i.t)("Spacing"),disabled:"on"===s("wholesalePriceColumn"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:20,options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabSale",label:(0,i.t)("Sale"),options:[{id:"wholesaleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabPrice",label:(0,i.t)("Price"),options:[{id:"wholesalePriceTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("wholesalePriceColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"tabsToolbarColor",type:"tabs-dev",tabs:[{id:"saleColor",label:(0,i.t)("Sale"),options:[{id:"wholesaleColor",type:"colorPicker-dev"}]},{id:"colorPrice",label:(0,i.t)("Price"),options:[{id:"wholesalePriceColor",type:"colorPicker-dev"}]}]}]},{id:"wholesalePriceHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:50,options:[{id:"wholesalePriceSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},91563:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("wholesaleTableBodyColorHex"),s("wholesaleTableBodyColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"wholesaleTableBodyTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("wholesaleTableBodyColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"wholesaleTableBodyColor",type:"colorPicker-dev"}]},{id:"wholesaleTableBodyHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"wholesaleTableBodySpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},82274:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("wholesaleTableHeaderColorHex"),s("wholesaleTableHeaderColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"wholesaleTableHeaderTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("wholesaleTableHeaderColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"wholesaleTableHeaderColor",type:"colorPicker-dev"}]},{id:"wholesaleTableHeaderHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},55791:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("wholesaleTitleColorHex"),s("wholesaleTitleColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"wholesaleTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("wholesaleTitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"wholesaleTitleColor",type:"colorPicker-dev"}]},{id:"wholesaleTitleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},devices:"desktop",position:40,options:[{id:"wholesaleTitleSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},88973:(e,t)=>{"use strict";var o,r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{EcwidProductThumb:function(){return o},EcwidProductColumns:function(){return r}}),function(e){e.ImgFeed="IMAGE_FEED",e.ImgThumbHorizontal="IMAGE_SINGLE_THUMBNAILS_HORIZONTAL",e.ImgThumbVertical="IMAGE_SINGLE_THUMBNAILS_VERTICAL"}(o||(o={})),function(e){e.TwoLeft="TWO_COLUMNS_SIDEBAR_ON_THE_LEFT",e.TwoRight="TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT",e.ThreeRight="THREE_COLUMNS_SIDEBAR_ON_THE_RIGHT",e.ThreeLeft="THREE_COLUMNS_SIDEBAR_ON_THE_LEFT"}(r||(r={}))},75289:(e,t)=>{"use strict";function o(e){switch(e){case"off":return!1;case"on":return!0}}function r(e){switch(e){case"besideImage":return!1;case"belowImage":return!0}}function i(e){return{product_details_show_product_name:o(e.nameDisplay),product_details_show_breadcrumbs:o(e.breadcrumbsDisplay),product_details_show_product_sku:o(e.skuDisplay),product_details_show_product_price:o(e.priceDisplay),product_details_show_subtitle:o(e.subtitleDisplay),product_details_show_product_options:o(e.optionsDisplay),product_details_show_in_stock_label:o(e.stockLabelDisplay),product_details_show_number_of_items_in_stock:o(e.numberInStockDisplay),product_details_show_qty:o(e.quantityDisplay),product_details_show_wholesale_prices:o(e.wholesalePricesDisplay),product_details_show_attributes:o(e.attributesDisplay),product_details_show_weight:o(e.weightDisplay),product_details_show_product_description:o(e.descriptionDisplay),product_details_show_share_buttons:o(e.shareButtonsDisplay),show_footer_menu:o(e.footerDisplay),product_details_two_columns_with_right_sidebar_show_product_description_on_sidebar:r(e.descriptionPosition),product_details_thumbnails_aspect_ratio:e.thumbnailAspectRatio,product_details_gallery_layout:e.thumbStyle,product_details_show_product_name_always_first_on_mobile:o(e.nameFirstMobile),product_details_show_product_photo_zoom:o(e.galleryHoverZoom),product_details_position_product_name:e.positionName,product_details_position_breadcrumbs:e.positionBreadcrumbs,product_details_position_product_price:e.positionPrice,product_details_position_buy_button:e.positionAddToBag,product_details_position_product_description:e.positionDescription,product_details_position_save_for_later:e.positionTitle2,product_details_position_share_buttons:e.positionShareTitle,product_details_layout:e.columns,product_details_show_facebook_share_button:o(e.showFacebookShareBtn),product_details_show_pinterest_share_button:o(e.showPinterestShareBtn),product_details_show_twitter_share_button:o(e.showTwitterShareBtn),product_details_show_vk_share_button:o(e.showVkShareBtn),product_details_image_carousel:o(e.carouselImage),product_details_cut_product_description_in_sidebar:o(e.cutProductDescription),product_details_additional_images_preview_on_click:o(e.previewAdditionalImages)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"valueToEciwdConfig",{enumerable:!0,get:function(){return i}})},33034:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EcwidProducts",{enumerable:!0,get:function(){return A}});const r=L(o(60042)),i=F(o(27378)),n=o(10301),a=L(o(36275)),l=L(o(67439)),s=L(o(63692)),c=o(86022),d=L(o(22546)),u=o(62762),p=o(66080),f=o(10227),m=o(94220),y=L(o(65537)),g=F(o(54424)),b=F(o(43347)),h=F(o(83967)),v=F(o(33382)),S=F(o(57183)),w=F(o(71836)),x=o(32907),M=F(o(30712)),T=F(o(1041)),P=F(o(52098)),C=F(o(23e3)),k=F(o(25624)),_=F(o(47158)),O=F(o(50970)),E=F(o(92337)),z=F(o(6069)),B=F(o(24718)),j=F(o(80975)),N=F(o(51549)),I=o(91356);function L(e){return e&&e.__esModule?e:{default:e}}function D(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(D=function(e){return e?o:t})(e)}function F(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=D(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class A extends s.default{uniqueId=`${A.componentId}-${(0,n.uniqueId)()}`;containerRef=(0,i.createRef)();ecwid;static get componentId(){return"EcwidProducts"}static defaultValue=y.default;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(M,g,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e);const t=d.default.getAll();if(this.containerRef.current&&(0,u.isCloud)(t)&&"ecwid"===t.modules?.shop?.type){const e=this.getDBValue(),o=(0,I.valueToEciwdConfigProducts)(e);this.ecwid=p.EcwidService.init(t.modules.shop.storeId,o),this.ecwid.products(this.containerRef.current)}}componentDidUpdate(){const e=(0,I.valueToEciwdConfigProducts)(this.getDBValue()),t=this.ecwid?.getConfig();t&&(0,f.eq)(t,e)||this.ecwid?.updateConfig(e)}renderForEdit(e,t,o){const{customCSS:n}=e,s=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-products-wrapper",(0,m.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,x.style)(e,t,o)));return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(C,h),selector:".ec-page-title.ec-page-title__featured-products",selectorSearchStrategy:"dom-tree"},(e=>{let{open:t}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(N,h),selector:".grid-product__title-inner",selectorSearchStrategy:"dom-tree"},(e=>{let{open:o}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(E,h),selector:".grid-product__price-value.ec-price-item",selectorSearchStrategy:"dom-tree"},(e=>{let{open:r}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(z,h),selector:".grid-product__sku",selectorSearchStrategy:"dom-tree"},(e=>{let{open:d}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(T,b,{allowExtend:!1}),selector:".form-control.form-control--button",selectorSearchStrategy:"dom-tree"},(e=>{let{open:u}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(j,h),selector:".grid-product__subtitle-inner",selectorSearchStrategy:"dom-tree"},(e=>{let{open:p}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(_,v,{allowExtend:!1}),selector:".grid-product",selectorSearchStrategy:"dom-tree"},(e=>{let{open:f}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(B,w,{allowExtend:!1}),selector:".grid__sort.ec-text-muted",selectorSearchStrategy:"dom-tree"},(e=>{let{open:m}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(P,h),selector:".pager__count-pages",selectorSearchStrategy:"dom-tree"},(e=>{let{open:y}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(O,S,{allowExtend:!1}),selector:".pager__body.pager__body--has-next",selectorSearchStrategy:"dom-tree"},(e=>{let{open:g}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(k,h),selector:".ec-footer",selectorSearchStrategy:"dom-tree"},(e=>{let{open:l}=e;return i.default.createElement(a.default,{selectorName:this.getId(),css:n},i.default.createElement(c.Wrapper,this.makeWrapperProps({className:s}),i.default.createElement("div",{onClickCapture:e=>(e.stopPropagation(),e.preventDefault(),e.target?.closest(".ec-page-title.ec-page-title__featured-products")?t(e.nativeEvent):e.target?.closest(".grid-product__title-inner")?o(e.nativeEvent):e.target?.closest(".grid-product__price-value.ec-price-item")?r(e.nativeEvent):e.target?.closest(".grid-product__sku")?d(e.nativeEvent):e.target?.closest(".form-control.form-control--button")?u(e.nativeEvent):e.target?.closest(".grid-product__subtitle-inner")?p(e.nativeEvent):e.target?.closest(".grid-product")?f(e.nativeEvent):e.target?.closest(".grid__sort.ec-text-muted")?m(e.nativeEvent):e.target?.closest(".pager__count-pages")?y(e.nativeEvent):e.target?.closest(".pager__body.pager__body--has-next")?g(e.nativeEvent):e.target?.closest(".ec-footer")&&l(e.nativeEvent),!1),className:"brz-ecwid-products",id:this.uniqueId,ref:this.containerRef})))}))}))}))}))}))}))}))}))}))}))}))}renderForView(e,t,o){const n=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-products-wrapper",(0,m.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,x.style)(e,t,o)));return i.default.createElement(c.Wrapper,this.makeWrapperProps({className:n}),i.default.createElement("div",{className:"brz-ecwid-products","data-store-id":"{{ecwid_store_id}}","data-storefront":encodeURIComponent(JSON.stringify((0,I.valueToEciwdConfigProducts)(e)))}))}}},54424:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},43347:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"buttonBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},83967:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},33382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"labelBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},57183:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"paginationBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},71836:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"sortingBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},32907:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser":{standart:["cssStyleElementEcwidProductsBgColor","cssStyleElementEcwidProductsBgGradient","cssStyleElementEcwidProductsBorder","cssStyleElementEcwidProductsBoxShadow"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--my-account":{standart:["cssStyleElementEcwidMyAccountFooterColor","cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--track-order":{standart:["cssStyleElementEcwidMyAccountFooterColor","cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--shopping-cart":{standart:["cssStyleElementEcwidMyAccountFooterColor","cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.ec-link.ec-link--muted":{standart:["cssStyleElementEcwidMyAccountFooterColor","cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon":{standart:["cssStyleElementEcwidMyAccountFooterIconSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon svg":{standart:["cssStyleElementEcwidMyAccountFooterIconSize","cssStyleElementEcwidMyAccountFooterIconColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__title .grid-product__title-inner":{standart:["cssStyleElementEcwidMyAccountTitleTypographyFontFamily","cssStyleElementEcwidMyAccountTitleTypographyFontSize","cssStyleElementEcwidMyAccountTitleTypographyLineHeight","cssStyleElementEcwidMyAccountTitleTypographyFontWeight","cssStyleElementEcwidMyAccountTitleTypographyLetterSpacing","cssStyleElementEcwidMyAccountTitleColor","cssStyleElementEcwidMyAccountTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image .grid-product__hover-wrap .grid-product__title-hover":{standart:["cssStyleElementEcwidMyAccountTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image .grid-product__hover-wrap .grid-product__title-hover .grid-product__title-inner":{standart:["cssStyleElementEcwidMyAccountTitleTypographyFontFamily","cssStyleElementEcwidMyAccountTitleTypographyFontSize","cssStyleElementEcwidMyAccountTitleTypographyLineHeight","cssStyleElementEcwidMyAccountTitleTypographyFontWeight","cssStyleElementEcwidMyAccountTitleTypographyLetterSpacing","cssStyleElementEcwidMyAccountTitleColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__price":{standart:["cssStyleElementEcwidMyAccountShopTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image .grid-product__hover-wrap .grid-product__price-hover .grid-product__price-amount":{standart:["cssStyleElementEcwidMyAccountShopTitleSpacing","cssStyleElementEcwidMyAccountShopTitleTypographyFontFamily","cssStyleElementEcwidMyAccountShopTitleTypographyFontSize","cssStyleElementEcwidMyAccountShopTitleTypographyLineHeight","cssStyleElementEcwidMyAccountShopTitleTypographyFontWeight","cssStyleElementEcwidMyAccountShopTitleTypographyLetterSpacing","cssStyleElementEcwidMyAccountShopTitleColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__price .grid-product__price-amount":{standart:["cssStyleElementEcwidMyAccountShopTitleTypographyFontFamily","cssStyleElementEcwidMyAccountShopTitleTypographyFontSize","cssStyleElementEcwidMyAccountShopTitleTypographyLineHeight","cssStyleElementEcwidMyAccountShopTitleTypographyFontWeight","cssStyleElementEcwidMyAccountShopTitleTypographyLetterSpacing","cssStyleElementEcwidMyAccountShopTitleColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__sort.ec-text-muted":{standart:["cssStyleElementEcwidProductsSortingSpacing","cssStyleElementEcwidProductsSortingAlign","cssStyleElementEcwidProductsSortingDisplay"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__sort.ec-text-muted .form-control.form-control--select-inline.grid-sort__item.grid-sort__item--sortby:hover .form-control__select option":{standart:["cssStyleElementEcwidProductsSortingTypographyFontFamily","cssStyleElementEcwidProductsSortingTypographyFontSize","cssStyleElementEcwidProductsSortingTypographyLineHeight","cssStyleElementEcwidProductsSortingTypographyFontWeight","cssStyleElementEcwidProductsSortingTypographyLetterSpacing","cssStyleElementEcwidProductsSortingColor","cssStyleElementEcwidProductsSortingBgColor","cssStyleElementEcwidProductsSortingBgGradient","cssStyleElementEcwidProductsSortingBorder","cssStyleElementEcwidProductsSortingBorderRadius","cssStyleElementEcwidProductsSortingBoxShadow","cssStyleElementEcwidProductsSortingSize"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__sort.ec-text-muted .form-control.form-control--select-inline.grid-sort__item.grid-sort__item--sortby:hover label":{standart:["cssStyleElementEcwidProductsSortingSpacingRight","cssStyleElementEcwidProductsSortingColor","cssStyleElementEcwidProductsSortingTypographyFontFamily","cssStyleElementEcwidProductsSortingTypographyFontSize","cssStyleElementEcwidProductsSortingTypographyLineHeight","cssStyleElementEcwidProductsSortingTypographyFontWeight","cssStyleElementEcwidProductsSortingTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__sort.ec-text-muted .form-control.form-control--select-inline.grid-sort__item.grid-sort__item--sortby:hover .form-control__arrow:hover":{standart:["cssStyleElementEcwidProductsSortingColor","cssStyleElementEcwidProductsSortingTypographyFontFamily","cssStyleElementEcwidProductsSortingTypographyFontSize","cssStyleElementEcwidProductsSortingTypographyLineHeight","cssStyleElementEcwidProductsSortingTypographyFontWeight","cssStyleElementEcwidProductsSortingTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__sort.ec-text-muted .form-control.form-control--select-inline.grid-sort__item.grid-sort__item--sortby:hover":{standart:["cssStyleElementEcwidProductsSortingBgColor","cssStyleElementEcwidProductsSortingBgGradient","cssStyleElementEcwidProductsSortingBorder","cssStyleElementEcwidProductsSortingBorderRadius","cssStyleElementEcwidProductsSortingBoxShadow","cssStyleElementEcwidProductsSortingSize"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product":{standart:["cssStyleElementEcwidProductsGalleryBottomSpacing","cssStyleElementEcwidProductsGallerySize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image:hover .grid-product__image-wrap .grid-product__label .ec-label":{standart:["cssStyleElementEcwidProductsGalleryLabelDisplay","cssStyleElementEcwidProductsLabelBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image:hover .grid-product__image-wrap .grid-product__label .ec-label .label__text":{standart:["cssStyleElementEcwidProductsLabelTypographyFontFamily","cssStyleElementEcwidProductsLabelTypographyFontSize","cssStyleElementEcwidProductsLabelTypographyLineHeight","cssStyleElementEcwidProductsLabelTypographyFontWeight","cssStyleElementEcwidProductsLabelTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__sku.ec-text-muted":{standart:["cssStyleElementEcwidProductsSKUTypographyFontFamily","cssStyleElementEcwidProductsSKUTypographyFontSize","cssStyleElementEcwidProductsSKUTypographyLineHeight","cssStyleElementEcwidProductsSKUTypographyFontWeight","cssStyleElementEcwidProductsSKUTypographyLetterSpacing","cssStyleElementEcwidProductsSKUColor","cssStyleElementEcwidProductsSKUSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image .grid-product__hover-wrap .grid-product__sku-hover":{standart:["cssStyleElementEcwidProductsSKUTypographyFontFamily","cssStyleElementEcwidProductsSKUTypographyFontSize","cssStyleElementEcwidProductsSKUTypographyLineHeight","cssStyleElementEcwidProductsSKUTypographyFontWeight","cssStyleElementEcwidProductsSKUTypographyLetterSpacing","cssStyleElementEcwidProductsSKUColor","cssStyleElementEcwidProductsSKUSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__button.grid-product__buy-now .form-control.form-control--button":{standart:["cssStyleElementEcwidCartButtonWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__button.grid-product__buy-now .form-control.form-control--button .form-control__button:hover":{standart:["cssStyleElementEcwidCartButtonSize","cssStyleElementEcwidCartButtonColor","cssStyleElementEcwidCartButtonBgColor","cssStyleElementEcwidCartButtonBgGradient","cssStyleElementEcwidCartButtonBorder","cssStyleElementEcwidCartButtonBoxShadow","cssStyleElementEcwidCartButtonBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__button.grid-product__buy-now .form-control.form-control--button .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidCartButtonTypographyFontFamily","cssStyleElementEcwidCartButtonTypographyFontSize","cssStyleElementEcwidCartButtonTypographyLineHeight","cssStyleElementEcwidCartButtonTypographyFontWeight","cssStyleElementEcwidCartButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__button.grid-product__buy-now":{standart:["cssStyleElementEcwidCartButtonSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image .grid-product__hover-wrap .grid-product__button-hover.grid-product__buy-now .form-control.form-control--button":{standart:["cssStyleElementEcwidCartButtonWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image .grid-product__hover-wrap .grid-product__button-hover.grid-product__buy-now .form-control.form-control--button .form-control__button:hover":{standart:["cssStyleElementEcwidCartButtonSize","cssStyleElementEcwidCartButtonColor","cssStyleElementEcwidCartButtonBgColor","cssStyleElementEcwidCartButtonBgGradient","cssStyleElementEcwidCartButtonBorder","cssStyleElementEcwidCartButtonBoxShadow","cssStyleElementEcwidCartButtonBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image .grid-product__hover-wrap .grid-product__button-hover.grid-product__buy-now .form-control.form-control--button .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidCartButtonTypographyFontFamily","cssStyleElementEcwidCartButtonTypographyFontSize","cssStyleElementEcwidCartButtonTypographyLineHeight","cssStyleElementEcwidCartButtonTypographyFontWeight","cssStyleElementEcwidCartButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__subtitle.ec-text-muted":{standart:["cssStyleElementEcwidProductsSubtitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__subtitle.ec-text-muted .grid-product__subtitle-inner":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-pager .pager__head.ec-text-muted":{standart:["cssStyleElementEcwidProductsCountPagesAlign","cssStyleElementEcwidProductsCountPagesSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-pager .pager__head.ec-text-muted .pager__count-pages":{standart:["cssStyleElementEcwidProductsCountPagesTypographyFontFamily","cssStyleElementEcwidProductsCountPagesTypographyFontSize","cssStyleElementEcwidProductsCountPagesTypographyLineHeight","cssStyleElementEcwidProductsCountPagesTypographyFontWeight","cssStyleElementEcwidProductsCountPagesTypographyLetterSpacing","cssStyleElementEcwidProductsCountPagesColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-pager .pager__body.pager__body--has-next":{standart:["cssStyleElementEcwidProductsPaginationSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-pager .pager__body.pager__body--has-next .pager__pages .ec-link.ec-link--muted.pager__number:hover":{standart:["cssStyleElementEcwidProductsPaginationTypographyFontFamily","cssStyleElementEcwidProductsPaginationTypographyFontSize","cssStyleElementEcwidProductsPaginationTypographyLineHeight","cssStyleElementEcwidProductsPaginationTypographyFontWeight","cssStyleElementEcwidProductsPaginationTypographyLetterSpacing","cssStyleElementPostsPaginationColor","cssStyleElementPostsPaginationBgColor","cssStyleElementPostsPaginationBorder","cssStyleElementPostsPaginationBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-pager .pager__body.pager__body--has-next .pager__pages .ec-link.ec-link--muted.pager__number.pager__number--current":{standart:["cssStyleElementPostsPaginationActiveColor","cssStyleElementPostsPaginationActiveBgColor","cssStyleElementPostsPaginationActiveBorder","cssStyleElementPostsPaginationBorderRadius"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-pager .pager__body.pager__body--has-next .ec-link:hover":{standart:["cssStyleElementEcwidProductsPaginationTypographyFontFamily","cssStyleElementEcwidProductsPaginationTypographyFontSize","cssStyleElementEcwidProductsPaginationTypographyLineHeight","cssStyleElementEcwidProductsPaginationTypographyFontWeight","cssStyleElementEcwidProductsPaginationTypographyLetterSpacing","cssStyleElementPostsPaginationColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .ec-page-title.ec-page-title__featured-products":{standart:["cssStyleElementEcwidProductsFeaturedProductsAlign","cssStyleElementEcwidProductsFeaturedProductsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .ec-page-title.ec-page-title__featured-products .page-title__name.ec-header-h1":{standart:["cssStyleElementEcwidProductsFeaturedProductsTypographyFontFamily","cssStyleElementEcwidProductsFeaturedProductsTypographyFontSize","cssStyleElementEcwidProductsFeaturedProductsTypographyLineHeight","cssStyleElementEcwidProductsFeaturedProductsTypographyFontWeight","cssStyleElementEcwidProductsFeaturedProductsTypographyLetterSpacing","cssStyleElementEcwidProductsFeaturedProductsColor"]}}})}},30712:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s=l("productsBgColorOpacity"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("productsBgColorHex"),l("productsBgColorPalette"));return[{id:"toolbarElementProducts",type:"popover-dev",config:{title:(0,i.t)("Products"),icon:"nc-woo-products"},devices:"desktop",position:10,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,i.t)("Products"),options:[{id:"productName",label:(0,i.t)("Name"),type:"select-dev",choices:[{value:"SHOW",title:"Show"},{value:"HIDE",title:"Hide"},{value:"SHOW_ON_HOVER",title:"Show On Hover"}]},{id:"productSubtitle",label:(0,i.t)("Subtitle"),type:"select-dev",choices:[{value:"SHOW",title:"Show"},{value:"HIDE",title:"Hide"},{value:"SHOW_ON_HOVER",title:"Show On Hover"}]},{id:"productPrice",label:(0,i.t)("Price"),type:"select-dev",choices:[{value:"SHOW",title:"Show"},{value:"HIDE",title:"Hide"},{value:"SHOW_ON_HOVER",title:"Show On Hover"}]},{id:"productSKU",label:(0,i.t)("SKU"),type:"select-dev",choices:[{value:"SHOW",title:"Show"},{value:"HIDE",title:"Hide"},{value:"SHOW_ON_HOVER",title:"Show On Hover"}]},{id:"buyNowButton",label:(0,i.t)("Buy now"),type:"select-dev",choices:[{value:"SHOW",title:"Show"},{value:"HIDE",title:"Hide"},{value:"SHOW_ON_HOVER",title:"Show On Hover"}]}]},{id:"tabCurrentElementDisplay",label:(0,i.t)("Display"),options:[{id:"productCardFrame",label:(0,i.t)("Card frame"),type:"switch-dev"},{id:"darkenImage",label:(0,i.t)("Darken image background"),type:"switch-dev"},{id:"additionalImage",label:(0,i.t)("Additional image on hover"),type:"switch-dev"},{id:"mainProductImage",label:(0,i.t)("Main product image"),type:"switch-dev"},{id:"sortingOptions",label:(0,i.t)("Sorting Options"),type:"switch-dev"},{id:"footerDisplay",label:(0,i.t)("Footer"),type:"switch-dev"}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s)}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"products",type:"backgroundColor-dev"}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"productsBorder",type:"border-dev"}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"productsBoxShadow",type:"boxShadow-dev"}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",position:110,icon:"nc-cog",title:(0,i.t)("Settings")}]}},1041:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("buttonBgColorHex"),c("buttonBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,i.t)("Buy now")},options:[{id:"groupSize",type:"group-dev",options:[{id:"buttonSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"buttonHeight",label:(0,i.t)("Height"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"buttonWidth",label:(0,i.t)("Width"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"buttonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("buttonBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"buttonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"button",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"buttonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"buttonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"CENTER"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"LEFT"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"RIGHT"},{icon:"nc-text-align-justify",title:(0,i.t)("Align"),value:"JUSTIFY"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"buttonSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},52098:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("countPagesColorHex"),s("countPagesColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"countPagesTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("countPagesColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"countPagesColor",type:"colorPicker-dev"}]},{id:"countPagesHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"countPagesSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},23e3:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s=l("featuredProductsColorOpacity"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("featuredProductsColorHex"),l("featuredProductsColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"featuredProductsTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s)}}},devices:"desktop",position:20,options:[{id:"featuredProductsColor",type:"colorPicker-dev"}]},{id:"featuredProductsHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"featuredProductsSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},25624:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s=l("footerColorOpacity"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("footerColorHex"),l("footerColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,i.t)("Icon"),icon:"nc-user"},position:10,options:[{id:"groupSize",type:"group-dev",options:[{id:"footerIconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"footerIconCustomSize",type:"slider-dev",disabled:"custom"!==l("footerIconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:20,options:[{id:"footerTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s)}}},devices:"desktop",position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabColorFooter",label:(0,i.t)("Text"),options:[{id:"footerColor",type:"colorPicker-dev"}]},{id:"tabColorFooterIcon",label:(0,i.t)("Icon"),options:[{id:"footerIconColor",type:"colorPicker-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"footerSpacing",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]}},47158:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321);function n(e){let{v:t,device:o,state:n}=e;const a=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:n}),l="off"===a("editLabel");return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-woo-gallery",title:(0,r.t)("Gallery")},position:10,options:[{id:"editLabel",label:(0,r.t)("Label"),type:"switch-dev"},{id:"displayMode",label:(0,r.t)("Display Mode"),type:"select-dev",choices:[{value:"AUTO",title:"Auto"},{value:"COVER",title:"Cover"},{value:"FIT",title:"Fit"}]},{id:"ratio",label:(0,r.t)("Ratio"),type:"select-dev",choices:[{value:"PORTRAIT_0667",title:"2:3"},{value:"PORTRAIT_075",title:"3:4"},{value:"SQUARE",title:"1:1"},{value:"LANDSCAPE_1333",title:"4:3"},{value:"LANDSCAPE_15",title:"3:2"}]},{id:"groupSize",type:"group-dev",options:[{id:"galleryWidth",label:(0,r.t)("Size"),type:"radioGroup-dev",choices:[{value:"SMALL",icon:"nc-small"},{value:"MEDIUM",icon:"nc-medium"},{value:"LARGE",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"galleryCustomSize",disabled:"custom"!==a("galleryWidth"),type:"slider-dev",config:{min:1,max:6}}]}]},{id:"popoverTypography",type:"popover-dev",disabled:l,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:20,options:[{id:"labelTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},position:30,options:[{id:"galleryBottomSpacing",label:(0,r.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",disabled:l,devices:"desktop",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},50970:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("paginationColorHex"),c("paginationColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"paginationTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("paginationColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,i.t)("Background"),options:[{id:"paginationBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabText",label:(0,i.t)("Text"),options:[{id:"paginationColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"paginationBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:30,options:[{id:"paginationSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},6069:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s=l("skuColorOpacity"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("skuColorHex"),l("skuColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"skuTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s)}}},devices:"desktop",position:20,options:[{id:"skuColor",type:"colorPicker-dev"}]},{id:"horizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"},{icon:"nc-text-align-justify",title:(0,i.t)("Align"),value:"JUSTIFY"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"skuSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},92337:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s=l("shopTitleColorOpacity"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("shopTitleColorHex"),l("shopTitleColorPalette"));return[{id:"toolbarTypographyShopTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"shopTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s)}}},devices:"desktop",position:20,options:[{id:"shopTitleColor",type:"colorPicker-dev"}]},{id:"horizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"},{icon:"nc-text-align-justify",title:(0,i.t)("Align"),value:"JUSTIFY"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"shopTitleSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},24718:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),d=c("sortingColorOpacity"),{hex:u}=(0,a.getOptionColorHexByPalette)(c("sortingColorHex"),c("sortingColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-form-left",title:(0,i.t)("Select")},options:[{id:"sortingSize",label:(0,i.t)("Size"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"sortingRightSpacing",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:20,options:[{id:"sortingTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,d)}}},devices:"desktop",position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"sortingColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabButtonBg",label:(0,i.t)("Bg"),options:[{id:"sorting",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"sortingBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"sortingBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"sortingHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:50,options:[{id:"sortingSpacing",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},80975:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("subtitleColorHex"),s("subtitleColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"subtitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("subtitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"subtitleColor",type:"colorPicker-dev"}]},{id:"horizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"CENTER"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"LEFT"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"RIGHT"},{icon:"nc-text-align-justify",title:(0,i.t)("Align"),value:"JUSTIFY"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"subtitleSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},51549:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s=l("titleColorOpacity"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("titleColorHex"),l("titleColorPalette"));return[{id:"toolbarTypographyTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"titleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s)}}},devices:"desktop",position:20,options:[{id:"titleColor",type:"colorPicker-dev"}]},{id:"horizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"CENTER"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"LEFT"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"RIGHT"},{icon:"nc-text-align-justify",title:(0,i.t)("Align"),value:"JUSTIFY"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"titleSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},91356:(e,t)=>{"use strict";function o(e){switch(e){case"off":return!1;case"on":return!0}}function r(e){return{product_list_image_aspect_ratio:e.ratio,product_list_title_behavior:e.productName,product_list_sku_behavior:e.productSKU,product_list_price_behavior:e.productPrice,product_list_subtitles_behavior:e.productSubtitle,product_list_buybutton_behavior:e.buyNowButton,product_list_show_frame:o(e.productCardFrame),product_list_product_info_layout:e.horizontalAlign,product_list_show_product_images:o(e.mainProductImage),product_list_image_size:e.galleryWidth,product_list_image_has_shadow:o(e.darkenImage),product_list_show_additional_image_on_hover:o(e.additionalImage),product_list_image_position:e.displayMode,show_footer_menu:o(e.footerDisplay)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"valueToEciwdConfigProducts",{enumerable:!0,get:function(){return r}})},22789:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EcwidShoppingBag",{enumerable:!0,get:function(){return M}});const r=S(o(60042)),i=S(o(27378)),n=o(10301),a=S(o(36275)),l=S(o(67439)),s=S(o(63692)),c=o(86022),d=S(o(22546)),u=o(62762),p=o(66080),f=o(94220),m=S(o(68268)),y=x(o(21926)),g=x(o(78694)),b=o(58881),h=x(o(7817)),v=x(o(20830));function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class M extends s.default{static get componentId(){return"EcwidShoppingBag"}static defaultValue=m.default;uniqueId=`${M.componentId}-${(0,n.uniqueId)()}`;componentDidMount(){const e=d.default.getAll();(0,u.isCloud)(e)&&"ecwid"===e.modules?.shop?.type&&p.EcwidService.init(e.modules.shop.storeId,{}).shoppingCart()}renderForEdit(e,t,o){const{customCSS:n}=e,s=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-shopping-bag-wrapper",(0,f.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,b.style)(e,t,o)));return i.default.createElement(l.default,this.makeToolbarPropsFromConfig2(h,y),(e=>{let{open:t}=e;return i.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(v,g),selector:".brz-ecwid-shopping-bag-wrapper .ec-minicart__counter"},(e=>{let{open:o}=e;return i.default.createElement(a.default,{selectorName:this.getId(),css:n},i.default.createElement(c.Wrapper,this.makeWrapperProps({className:s}),i.default.createElement("div",{onClickCapture:e=>(e.stopPropagation(),e.preventDefault(),e.target?.closest(".brz-ecwid-shopping-bag-wrapper .ec-minicart__icon")?t(e.nativeEvent):e.target?.closest(".brz-ecwid-shopping-bag-wrapper .ec-minicart__counter")&&o(e.nativeEvent),!1),className:(0,r.default)("ec-cart-widget","brz-ecwid-shopping-bag"),id:this.uniqueId})))}))}))}renderForView(e,t,o){const n=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-shopping-bag-wrapper",(0,f.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,b.style)(e,t,o)));return i.default.createElement(c.Wrapper,this.makeWrapperProps({className:n}),i.default.createElement("div",{className:(0,r.default)("ec-cart-widget","brz-ecwid-shopping-bag"),"data-store-id":"{{ecwid_store_id}}"}))}}},21926:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},78694:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabsIcon",type:"sidebarTabs-dev",tabs:[{id:"stylesIcon",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"iconBorder",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop"}]}]},{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}},58881:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBgColor","cssStyleBgGradient","cssStyleBorder","cssStyleBoxShadow","cssStyleBorderRadius","cssStylePaddingFourFields"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]},"#ecwid_html #ecwid_body &&:hover .ec-minicart .ec-minicart__body .ec-minicart__icon":{standart:["cssStyleSizeWidthHeight"]},"#ecwid_html #ecwid_body &&:hover .ec-minicart .ec-minicart__body .ec-minicart__icon svg.icon-default g path":{standart:["cssStyleStroke"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]},"#ecwid_html #ecwid_body &&:hover .ec-minicart .ec-minicart__body .ec-minicart__wrap .ec-minicart__counter":{standart:["cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleElementEcwidShoppingBagIconDisplay","cssStyleElementEcwidShoppingBagIconPositionTop","cssStyleElementEcwidShoppingBagIconPositionLeft","cssStyleElementEcwidShoppingBagIconSpacingWidth","cssStyleElementEcwidShoppingBagIconSpacingHeight","cssStyleElementEcwidShoppingBagIconColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]},"#ecwid_html #ecwid_body &&:hover .ec-minicart .ec-minicart__body .ec-minicart__wrap .ec-minicart__counter:after":{standart:["cssStyleElementEcwidShoppingBagIconBorderRadius","cssStyleElementEcwidShoppingBagIconBgColor","cssStyleElementEcwidShoppingBagIconBgGradient","cssStyleElementEcwidShoppingBagIconBorder","cssStyleElementEcwidShoppingBagIconBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]},"#ecwid_html #ecwid_body &&:hover .ec-minicart:hover.ec-minicart--no-shape.ec-minicart--empty .ec-minicart__counter::after":{standart:["cssStyleElementEcwidShoppingBagIconBorderRadius","cssStyleElementEcwidShoppingBagIconBgColor","cssStyleElementEcwidShoppingBagIconBgGradient","cssStyleElementEcwidShoppingBagIconBorder","cssStyleElementEcwidShoppingBagIconBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]}}})}},7817:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("strokeColorHex"),c("strokeColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,i.t)("Shopping Bag"),icon:"nc-woo-cart"},position:10,options:[{id:"iconDisplay",label:(0,i.t)("Cart Quantity"),type:"switch-dev"},{id:"groupSize",type:"group-dev",options:[{id:"size",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"customSize",type:"slider-dev",disabled:"custom"!==c("size"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"padding",type:"slider-dev",label:(0,i.t)("Size"),config:{min:0,max:180,units:[{title:"px",value:"px"}]}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("strokeColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabColor",label:(0,i.t)("Icon"),options:[{id:"strokeColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",position:30,icon:"nc-cog",devices:"desktop",title:(0,i.t)("Settings")}]}},20830:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("iconColorHex"),c("iconColorPalette"));return[{id:"toolbarCurrentElementIcon",type:"popover-dev",config:{title:(0,i.t)("Icon Styles"),icon:"nc-star"},position:10,options:[{id:"iconPositionLeft",label:(0,i.t)("Lateral"),type:"slider-dev",config:{min:-50,max:50,units:[{title:"px",value:"px"}]}},{id:"iconPositionTop",label:(0,i.t)("Vertical"),type:"slider-dev",config:{min:-50,max:50,units:[{title:"px",value:"px"}]}},{id:"iconSpacing",label:(0,i.t)("Size"),type:"slider-dev",config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:20,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarIconColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("iconColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"tabsColorIcon",type:"tabs-dev",tabs:[{id:"tabColorIcon",label:(0,i.t)("Text"),options:[{id:"iconColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"icon",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"iconBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"iconBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"duplicate",type:"button",disabled:!0},{id:"remove",type:"button",disabled:!0},{id:"advancedSettings",type:"advancedSettings",position:40,icon:"nc-cog",devices:"desktop",title:(0,i.t)("Settings")}]}},56188:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{EcwidProducts:function(){return r.EcwidProducts},EcwidProduct:function(){return i.EcwidProduct},EcwidCart:function(){return n.EcwidCart},EcwidMyAccount:function(){return a.EcwidMyAccount},EcwidShoppingBag:function(){return l.EcwidShoppingBag}});const r=o(33034),i=o(45220),n=o(88017),a=o(71951),l=o(22789)},10787:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});const r=h(o(33979)),i=o(13556),n=h(o(27378)),a=o(70634),l=h(o(79119)),s=o(72599),c=h(o(22546)),d=h(o(95664)),u=o(10744),p=o(74215),f=o(97045),m=o(92213),y=o(44576),g=o(16526),b=h(o(63692));function h(e){return e&&e.__esModule?e:{default:e}}const v=c.default.get("menuData");function S(e,t,o){const i=e.slice();return t.forEach((function(t,n){if(void 0===i[n]){const e=!1!==o.clone&&o.isMergeableObject(t);i[n]=e?((e,t)=>(0,r.default)((e=>Array.isArray(e)?[]:{})(e),e,t))(t,o):t}else o.isMergeableObject(t)?i[n]=(0,r.default)(e[n],t,o):-1===e.indexOf(t)&&i.push(t)})),i}class w extends b.default{static defaultProps={itemProps:{},sliceStartIndex:0,sliceEndIndex:1/0};insertItem(e,t){const o=(0,g.stripSystemKeys)(t),r=(0,g.setIds)(o),i=this.getDBValue()||[],n=(0,a.insert)(i,e,r);this.handleValueChange(n,{arrayOperation:"insert"})}insertItemsBatch(e,t){const o=this.getDBValue()||[],r=t.reduce(((t,o,r)=>{const i=(0,g.stripSystemKeys)(o),n=(0,g.setIds)(i);return(0,a.insert)(t,e+r,n)}),o);this.handleValueChange(r,{arrayOperation:"insert_bulk"})}updateItem(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getDBValue(),i=(0,a.setIn)(r,[e,"value"],t);this.handleValueChange(i,Object.assign(o,{arrayOperation:"itemChange"}))}removeItem(e){const t=this.getDBValue()||[],o=(0,a.removeAt)(t,e);this.handleValueChange(o,{arrayOperation:"remove"})}replaceItem(e,t,o){const r=(0,g.stripSystemKeys)(t,{exclude:["_id"]}),i=(0,g.setIds)(r,o.idOptions),n=this.getDBValue()||[],l=(0,a.replaceAt)(n,e,i);this.handleValueChange(l,{arrayOperation:"replace",itemIndex:e,oldValue:n})}cloneItem(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e+1;const o=this.getDBValue()||[];if(!o[e])throw new Error(`Can't clone invalid item at index ${e}`);this.insertItem(t,o[e])}reorderItem(e,t){const o=this.getDBValue()||[];this.handleValueChange((0,y.move)(e,t,o),{arrayOperation:"moveItem"})}handleOpenRightSidebar(e){const t=this.getReduxState(),o=this.getReduxDispatch(),{rightSidebar:r,activeTab:i}=(0,f.uiSelector)(t);r.isOpen&&i===e||this.setState({isSidebarOpen:!0},(()=>{o((0,p.updateUI)("rightSidebar",{...r,isOpen:!0,activeTab:e}))}))}handleKeyDown=(e,t)=>{let{keyName:o,id:r}=t;e.preventDefault();const i=this.getValue(),n=i.findIndex((e=>{let{value:{_id:t}}=e;return t===r}));switch(o){case"alt+N":case"ctrl+N":case"cmd+N":case"right_cmd+N":return void this.addColumn(n+1);case"ctrl+M":case"cmd+M":case"right_cmd+M":return void this.handleOpenRightSidebar("styles");case"ctrl+K":case"cmd+K":case"right_cmd+K":return void this.handleOpenRightSidebar("effects");case"alt+D":case"ctrl+D":case"cmd+D":case"right_cmd+D":return void("StoryWrapper"===i[n].type?this.insertItem(n+1,(0,g.setOffsetsToElementFromWrapper)(i[n])):this.cloneItem(n));case"alt+C":case"ctrl+C":case"cmd+C":case"right_cmd+C":return void this.copy(n);case"alt+V":case"ctrl+V":case"cmd+V":case"right_cmd+V":return void("StoryWrapper"===i[n].type?this.paste(n,(e=>{const{offsetX:t=0,offsetY:o=0}=i[n].value.items[0].value;let r=(0,a.setIn)(e,["value","items",0,"value","offsetX"],t);return r=(0,a.setIn)(r,["value","items",0,"value","offsetY"],o),(0,g.setOffsetsToElementFromWrapper)(r)})):this.paste(n));case"alt+shift+V":case"ctrl+shift+V":case"cmd+shift+V":case"right_cmd+shift+V":case"shift+alt+V":case"shift+ctrl+V":case"shift+cmd+V":case"shift+right_cmd+V":return void this.pasteStyles(n);case"ctrl+right":case"cmd+right":case"right_cmd+right":return void this.changeHorizontalAlign(n,"increase");case"ctrl+left":case"cmd+left":case"right_cmd+left":return void this.changeHorizontalAlign(n,"decrease");case"ctrl+up":case"cmd+up":case"right_cmd+up":case"alt+up":return void this.changeVerticalAlign(n,"decrease");case"ctrl+down":case"cmd+down":case"right_cmd+down":case"alt+down":return void this.changeVerticalAlign(n,"increase");case"alt+del":case"ctrl+del":case"cmd+del":case"right_cmd+del":return void this.removeItem(n)}};getDefaultValue(){return this.props.defaultValue||[]}getValue(){return this.getDBValue()||this.getDefaultValue()}getValue2(){const e=this.getDefaultValue();return{v:this.getDBValue()||e}}validateValue(){}getItemProps(e,t,o){const{itemProps:r}=w.defaultProps,{itemProps:i=r}=this.props;return"function"==typeof i?i(e,t,o):i}renderItemData(e,t,o,r){var i=this;const{type:a,value:s}=e,c=d.default.getComponent(a),u=this.getDefaultValue(),p=this.getItemProps(e,o,r),f=u[o]&&u[o].value,m=s,y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{intent:r}=t;switch(r){case"replace_all":i.replaceItem(o,e,t);break;case"remove_all":i.removeItem(o,t);break;default:i.updateItem(o,e,t)}};if(c)return n.default.createElement(l.default,{key:t,onRemove:()=>this.removeItem(o)},n.default.createElement(c,{...p,defaultValue:f,dbValue:m,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:y}));{const e=d.default.getNotFoundComponent();return n.default.createElement(e,{...p,key:t,defaultValue:f,dbValue:m,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:y,componentId:a})}}renderItemWrapper(e,t,o,r,i){return e}renderItem=(e,t,o)=>{const{sliceStartIndex:r,sliceEndIndex:i}=w.defaultProps,{sliceStartIndex:n=r,sliceEndIndex:a=i}=this.props;if(t>=n&&t{const{path:e,value:t}=(0,f.copiedElementNoRefsSelector)((0,m.getStore)().getState());return t&&e.length>0?(0,a.getIn)(x(t),e):null};changeVerticalAlign(e,t){const r=this.getValue(),i=(0,f.pageDataNoRefsSelector)((0,m.getStore)().getState()),n=o.g.Brizy.activeEditorComponent.getId(),l=(0,g.createFullModelPath)(i,[n]),{path:s,value:c}=(0,g.getParentWhichContainsStyleProperty)(l,i,"verticalAlign");if(c&&s){const{type:o,value:n}=c,l=this.getAlignments(),{defaultValue:{style:{verticalAlign:u}}}=d.default.getComponent(o),p=n.verticalAlign||u||"top",f=(0,g.getElementOfArrayLoop)(l,p,t),{id:m,bindKey:y}=this.getIdBindKey(),b=y?[m,y,`${e}`]:[m,`${e}`],h=(0,g.createFullModelPath)(i,b),v=s.reduce(((e,t,o)=>(void 0===h[o]&&e.push(s[o]),e)),[]);if(0===v.length){const t=(0,a.setIn)(r,[e,"value"],{...n,verticalAlign:f});this.updateItem(e,t[e].value)}else{const t=(0,a.setIn)(r,[...v,"value"],{...n,verticalAlign:f});this.updateItem(e,t[e].value)}}}changeHorizontalAlign(e,t){const r=this.getValue(),i=o.g.Brizy.activeEditorComponent.getId(),n=(0,m.getStore)().getState(),l=(0,f.pageDataNoRefsSelector)(n),s=(0,g.createFullModelPath)(l,[i]),{deviceMode:c}=n.ui,u="desktop"===c?"horizontalAlign":`${c}HorizontalAlign`,{path:p,value:y}=(0,g.getParentWhichContainsStyleProperty)(s,l,u);if(y&&p){const{type:o,value:i}=y,n=["left","center","right"],{defaultValue:{style:s}}=d.default.getComponent(o),c=i[u]||s[u]||"left",f=(0,g.getElementOfArrayLoop)(n,c,t),{id:m,bindKey:b}=this.getIdBindKey(),h=b?[m,b,`${e}`]:[m,`${e}`],v=(0,g.createFullModelPath)(l,h),S=p.reduce(((e,t,o)=>(void 0===v[o]&&e.push(p[o]),e)),[]);if(0===S.length){const t=(0,a.setIn)(r,[e,"value"],{...i,[u]:f});this.updateItem(e,t[e].value)}else{const t=(0,a.setIn)(r,[...S,"value"],{...i,[u]:f});this.updateItem(e,t[e].value)}}}copy(e){const t=this.getReduxDispatch(),o=(0,f.pageDataNoRefsSelector)(this.getReduxState()),{id:r,bindKey:i}=this.getIdBindKey(),n=i?[r,i,`${e}`]:[r,`${e}`],a=(0,g.createFullModelPath)(o,n),l=x(o);t((0,u.updateCopiedElement)({value:l,path:a}))}paste(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;const o=this.getValue()[e],{path:r,value:i}=(0,f.copiedElementNoRefsSelector)((0,m.getStore)().getState());if(!i)return;const{value:n}=(0,g.getClosestParent)(r,x(i),"Cloneable"===o.type||"Wrapper"===o.type?e=>{let{type:t}=e;return"Cloneable"===t||"Wrapper"===t}:e=>{let{type:t}=e;return t===o.type});n&&this.insertItem(e+1,t(n))}pasteStyles(e){const{path:t,value:o}=(0,f.copiedElementNoRefsSelector)((0,m.getStore)().getState());if(!o)return;const i=this.getValue()[e],n=this.getCurrentCopiedElement();let a=0;if(n&&("Wrapper"===n.type&&"Wrapper"===i.type||"StoryWrapper"===n.type&&"StoryWrapper"===i.type)){if(n.value.items[0].type!==i.value.items[0].type)return;a=1,"Form"===n.value.items[0].type||"IconText"===n.value.items[0].type?a=3:"ImageGallery"===n.value.items[0].type&&(a=2)}const{value:l}=(0,g.getClosestParent)(t,x(o),(e=>{let{type:t}=e;return t===i.type}));if(l){const t=(0,g.setStyles)(l,a),o=(0,r.default)(i,t,{arrayMerge:S});this.updateItem(e,o.value)}}}function x(e){return(0,g.mapModels)((e=>{const{type:t,value:o}=e;if("Menu"===t){const{menuSelected:t,symbols:r={}}=o,n=t||v[0]?.id;if(n){const t=v.find((e=>e.id===n))||{};return(0,i.produce)(e,(e=>{e.value.items=(0,s.symbolsToItems)(t.items||[],r)}))}}return e}),e)}},42582:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{BatchFetcher:function(){return l},DCApiProxy:function(){return s},DCApiProxyInstance:function(){return c}});const r=a(o(74926)),i=a(o(22546)),n=o(64187);function a(e){return e&&e.__esModule?e:{default:e}}class l{fetcher;waitTime;useCustomPlaceholder;promise;promiseResolve;timeoutId=0;count=0;requestMapper=new Map;buffer=new Map;constructor(e,t){const{waitTime:o=2e3,useCustomPlaceholder:r=!1}=t??{};this.fetcher=e,this.waitTime=o,this.useCustomPlaceholder=r}getDC(e,t){this.promise||(this.promise=new Promise((e=>{this.promiseResolve=e})).then((()=>{const e={};for(const[t,o]of this.buffer.entries())e[t]=Array.from(o.keys());this.buffer.clear(),this.promise=void 0;const t=this.useCustomPlaceholder;return this.fetcher({placeholders:e,useCustomPlaceholder:t})})));const o=t.postId,r=this.count,i=this.buffer.get(o)??new Map,n=this.requestMapper.get(r)??[];if(e.forEach((e=>{const t=i.get(e);if(void 0===t){const t=i.size;i.set(e,t),n.push(t)}else n.push(t)})),this.buffer.set(o,i),this.requestMapper.set(r,n),this.count++,clearTimeout(this.timeoutId),!this.promiseResolve)throw new Error("should not get here");return this.timeoutId=window.setTimeout(this.promiseResolve,this.waitTime),this.promise.then((e=>{const t=e[o],i=this.requestMapper.get(r);return this.requestMapper.delete(r),void 0===t||void 0===i?new Array(100).fill(""):i.map((e=>t[e]??""))}))}}class s{fetcher;cache;useCache;cacheMaxSize;constructor({fetcher:e,useCache:t=!0,cacheLvl1MaxSize:o=500}){this.fetcher=e,this.useCache=t,this.cacheMaxSize=o,this.cache=new r.default({maxSize:this.useCache?this.cacheMaxSize:1})}static makeCacheKey(e,t){return`${t.postId}-${e}`}getFromCache(e,t){return this.cache.get(s.makeCacheKey(e,t))}clearCache(){this.cache.clear()}setInCache(e,t,o){this.cache.set(s.makeCacheKey(e,o),t)}getDC(e,t){return 0===e.length?Promise.resolve([]):this.useCache&&e.every((e=>void 0!==this.getFromCache(e,t)))?Promise.resolve(e.map((e=>this.getFromCache(e,t)))):this.fetcher.getDC(e,t).then((o=>{if(this.useCache&&(t.cache??1)&&e.length===o.length)for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getDCObjPreview:function(){return n},getDCObjEditor_:function(){return a},getDCObjEditor:function(){return l}});const r=o(42582),i=o(2610),n=(e,t)=>{const o={},r={};for(const n of e){const e=(0,i.placeholderObjFromECKeyDCInfo)(n,t);e&&(o[n.key]=(0,i.placeholderObjToStr)(e,t),r[n.key]={loaded:!0,staticValue:n.staticValue,dcValue:o[n.key]})}return{type:"complete",value:o,details:r}},a=e=>(t,o,r)=>{const n=[],a=[],l={},s={},c={postId:o.dynamicContent.itemId,useCustomPlaceholder:r};for(const o of t){const t=(0,i.placeholderObjFromECKeyDCInfo)(o,r);if(!t)continue;const d=(0,i.placeholderObjToStr)(t,r),u=e.getFromCache(d,c);void 0===u?(n.push(o.key),a.push(d),s[o.key]={loaded:!1,staticValue:o.staticValue,dcValue:void 0}):(l[o.key]=u,s[o.key]={loaded:!0,staticValue:o.staticValue,dcValue:u})}return 0===n.length?{type:"complete",value:l,details:s}:{type:"incomplete",_getCompleteAborted:!1,partialValue:l,async getComplete(){const t=await e.getDC(a,c);if(this._getCompleteAborted)throw new Error("getComplete aborted");const o={...l},r={...s};for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useDC",{enumerable:!0,get:function(){return d}});const r=o(27378),i=(n=o(22546))&&n.__esModule?n:{default:n};var n;const a=o(55824),l=o(42582);function s(e,t){switch(e.status){case"initial":switch(t.type){case"wait_delay":return{status:"waiting_delay"};case"wait_fetch":return{status:"waiting_fetch"}}break;case"waiting_delay":switch(t.type){case"wait_fetch":return{status:"waiting_fetch"};case"fetch_success":return{status:"success",data:t.data};case"fetch_fail":return{status:"failed",error:t.error};case"reset":return{status:"initial"}}break;case"waiting_fetch":switch(t.type){case"fetch_success":return{status:"success",data:t.data};case"fetch_fail":return{status:"failed",error:t.error};case"reset":return{status:"initial"}}break;case"success":case"failed":if("reset"===t.type)return{status:"initial"}}return e}const c={status:"initial"};function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(null==e||""===e)return{status:"empty"};const[o,n]=(0,r.useReducer)(s,c),d=(0,r.useRef)();let u;const{dynamicContent:{itemId:p}}=(0,r.useContext)(a.EditorComponentContext),f={postId:p,useCustomPlaceholder:(0,r.useMemo)((()=>i.default.getAll().dynamicContent?.useCustomPlaceholder??!1),[])};return(0,r.useEffect)((()=>("initial"!==o.status&&n({type:"reset"}),()=>{d.current?.abort(),clearTimeout(u)})),[e]),(0,r.useEffect)((()=>{if("initial"!==o.status)return;t>0?(n({type:"wait_delay"}),u=window.setTimeout((()=>{n({type:"wait_fetch"})}),t)):n({type:"wait_fetch"});const r=l.DCApiProxyInstance.getFromCache(e,f);if(void 0!==r)clearTimeout(u),n({type:"fetch_success",data:r});else{const t=new AbortController,o=t.signal;d.current=t,l.DCApiProxyInstance.getDC([e],f).then((e=>{!1===o.aborted&&n({type:"fetch_success",data:e[0]})})).catch((e=>{!1===o.aborted&&n({type:"fetch_fail",error:e})})).finally((()=>{window.clearTimeout(u)}))}}),[o.status]),o}},2610:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDCKey:function(){return c},keyToDCKey:function(){return d},dcKeyToKey:function(){return u},keyToDCAttrKey:function(){return p},keyToDCFallback2Key:function(){return f},hasDC:function(){return m},keyDCInfo:function(){return y},placeholderObjFromStr:function(){return b},placeholderObjFromECKeyDCInfo:function(){return h},placeholderObjToStr:function(){return S},isPlaceholderStr:function(){return w},dcApiProxyTestFetcher:function(){return x}});const r=o(47885),i=s(o(48630)),n=s(o(63300)),a=o(6085);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const c=e=>e.endsWith("Population"),d=e=>(0,a.camelCase)([e,"population"]),u=e=>e.slice(0,-10),p=e=>(0,a.camelCase)([e,"populationAttr"]),f=e=>(0,a.camelCase)([e,"populationFallback2"]),m=(e,t)=>!!n.read(e[d(t)]),y=(e,t)=>{const o=e[t],r=n.read(e[d(t)])??"",a=e[f(t)],l=i.read(e[p(t)]);return{key:t,hasDC:""!==r,staticValue:o,dcValue:r,attr:l?Object.fromEntries(Object.entries(l).map((t=>{let[o,r]=t;return[o,e[r]]}))):{},fallback:a}},g=(0,r.mPipe)(n.read,unescape);function b(e,t){if(t)return{name:e};const o=/^{{\s*([\w-]+)(.*?)\s*}}$/.exec(e);if(!o)return;const[,r,i]=o;if(""===i)return{name:r};const n=/(\w+)=("|'|"|')(.*?)\2/g;let a,l;for(;l=n.exec(i.trim());)a=a??{},a[l[1]]=g(l[3]);return a?{name:r,attr:a}:{name:r}}function h(e,t){if(!e.hasDC)return;const o=b(e.dcValue,t);return o?((e.fallback||e.attr)&&(o.attr={...o.attr,...e.attr,...e.fallback?{_fallback:e.fallback}:{}}),o):void 0}const v=(0,r.mPipe)(n.read,escape);function S(e,t){const{name:o,attr:r}=e;if(t)return o;const i=r?Object.keys(r).sort().flatMap((e=>{const t=v(r[e]);return void 0!==t?`${e}='${t}'`:[]})).join(" "):"";return i.length>0?`{{${o} ${i}}}`:`{{${o}}}`}function w(e,t){return void 0!==b(e,t)}const x=e=>{let{placeholders:t,useCustomPlaceholder:o}=e;const r=Object.entries(t).map((e=>{let[t,r]=e;return void 0===r?[t,[""]]:[t,r.map((e=>{const r=b(e,o);if(void 0===r||"_empty_"===r.name)return"";if(r.attr?._fallback&&r.attr?._useFallback)return[t,r.attr._fallback].join("_");delete r.attr?._fallback;const{name:i,attr:n}=r,a=Object.entries(n??{}).map((e=>{let[t,o]=e;return`${t}='${o}'`}));return[t,i,...a].join("_")}))]}));return Promise.resolve(Object.fromEntries(r))}},55824:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EditorComponentContext",{enumerable:!0,get:function(){return c}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=s(o(22546)),a=s(o(63300));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const c=r.default.createContext({dynamicContent:{itemId:(d=n.default.getAll(),(0,n.isWp)(d)?a.read(d.wp.page)??"":a.read(d.page?.id)??""),config:(e=>e.dynamicContent?.groups)(n.default.getAll())}});var d},63692:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{EditorComponent:function(){return E},default:function(){return z}});const r=k(o(60042)),i=k(o(27378)),n=O(o(10301)),a=o(90020),l=o(26602),s=o(55555),c=k(o(22546)),d=O(o(93804)),u=o(97045),p=o(92213),f=o(46479),m=o(34721),y=o(98610),g=o(74187),b=o(94306),h=O(o(63300)),v=O(o(66559)),S=O(o(24119)),w=o(4708),x=o(6804),M=o(58364),T=o(2610),P=o(55824),C=o(76753);function k(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_=function(e){return e?o:t})(e)}function O(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class E extends i.default.Component{static get componentId(){throw new Error(`${this.name} must implement \`static get componentId()\``)}static defaultProps={meta:{},onToolbarOpen:n.default.noop,onToolbarClose:n.default.noop,onToolbarEnter:n.default.noop,onToolbarLeave:n.default.noop};static defaultValue={};static experimentalDynamicContent=!1;static contextType=P.EditorComponentContext;_defaultValueProcessedCache;_dc={};childToolbarExtend;getComponentId(){return this.constructor.componentId}optionalSCU(e){const t=this.props;return t.dbValue!==e.dbValue||t.reduxState.fonts!==e.reduxState.fonts||t.reduxState.project.data.font!==e.reduxState.project.data.font}getId(){return this.props._id||h.read(this.getDBValue()._id)||(()=>{throw new Error("This should never happen. An initialized component must have a preset id")})()}getReduxState(){return this.props.reduxState}getReduxDispatch(){return this.props.reduxDispatch}getDefaultValue(){const e=this.getDefaultValueProcessed().defaultValueFlat;return this.props.defaultValue?{...e,...this.props.defaultValue}:e}getDefaultValueProcessed(){if(this._defaultValueProcessedCache)return this._defaultValueProcessedCache;const e=this.constructor.defaultValue,t=(0,C.flattenDefaultValue)(e),o=Object.keys(t).reduce(((e,t)=>((0,T.isDCKey)(t)&&e.push((0,T.dcKeyToKey)(t)),e)),[]);return this._defaultValueProcessedCache={defaultValueFlat:t,dynamicContentKeys:o},this._defaultValueProcessedCache}getDBValue(){return this.props.dbValue}getStylesValue(){const e=this.getDBValue(),t=(0,u.rulesSelector)(this.getReduxState());return"_styles"in e&&e._styles&&t?e._styles.reduce(((e,o)=>{const r=t[o];return r?Object.assign(e,r):e}),{}):null}getDCValue(e){const t=c.default.getAll(),o=this.getDefaultValueProcessed().dynamicContentKeys,r=[];for(const t of o){const o=(0,T.keyDCInfo)(e,t);o.hasDC&&r.push(o)}const i=this.getDCValueHook(r,e),n=t.dynamicContent,a=n?.liveInBuilder??!1,l=n?.useCustomPlaceholder??!1;if(!a)return(0,M.getDCObjPreview)(i,l).value;if(this._dc.pendingDCObjIncomplete?.abortGetComplete(),this._dc.pendingDCObjIncomplete=void 0,0===i.length)return this._dc.keys=void 0,this._dc.lastCache=void 0,{};{const e=(0,M.getDCObjEditor)(i,this.context,l);if("complete"===e.type)return this._dc.keys=e.details,this._dc.lastCache=e.value,e.value;{this._dc.pendingDCObjIncomplete=e,this._dc.keys=e.details,e.getComplete().then((()=>{this.forceUpdate()})).catch((()=>{}));const t={};let o=!1;if(this._dc.lastCache)for(const e of i)e.key in this._dc.lastCache&&(t[e.key]=this._dc.lastCache[e.key],o=!0);return o?{...e.partialValue,...t}:e.partialValue}}}getDCValueHook(e,t){return e}getValue(){return this.getValue2().v}getValue2(){const e=this.getDefaultValue(),t=this.getStylesValue(),o=this.getDBValue(),r={...e,...t,...o};return{v:this.constructor.experimentalDynamicContent?Object.assign(r,this.getDCValue(r)):r,vs:{...e,...t},vd:e}}patchValue(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o={...this.getDBValue(),...e};this.handleValueChange(o,{...t,patch:e})}validatePatch(e,t,o,r){const i=this.getDefaultValue(),n=Object.keys(e).filter((e=>{if(e in i)return!1;if("_"===e[0]||"tabsState"===e)return!1;if("tabsCurrentElement"===e)return!1;if(e.startsWith((0,y.defaultValueKey)({key:(0,C.createOptionId)("temp",t.id),state:o,device:r})))return!1;if(S.empty!==o||v.empty!==r){if(e.startsWith((0,y.defaultValueKey)({key:t.id,state:o,device:r})))return!1;if(e.startsWith((0,y.defaultValueKey)({key:(0,C.createOptionId)("temp",t.id),state:o,device:r})))return!1}return!e.startsWith("symbol_")}));if(n.length){const t=JSON.stringify(n,null,2),o=JSON.stringify(e,((e,t)=>Array.isArray(t)?"[...]":t),2);console.error(`${this.getComponentId()} element\n\nKeys not in defaultValue:\n${t}\nTried to update with:\n${o}`)}}handleValueChange(e,t){this.props.onChange(e,t)}selfDestruct(){this.props.onChange(null,{intent:"remove_all"})}bindPatchValue=e=>this.patchValue(e);makeWrapperProps=e=>{const t=this.props.wrapperExtend??{},o=(0,r.default)(t.className,e.className),i={...t.attributes||{},...e.attributes||{}};return{...t,...e,className:o,attributes:i,id:this.getId(),componentId:this.getComponentId(),meta:this.props.meta,...this.getValue2(),onChange:this.bindPatchValue,ref:o=>{(0,b.attachRef)(o,t.ref||null),(0,b.attachRef)(o,e.ref||null)}}};makeSubcomponentProps(e){let{bindWithKey:t,...o}=e;const r=this.getDefaultValue(),i=this.getDBValue();return{...o,_id:`${this.getId()}-${String(t)}`,defaultValue:r&&r[t],dbValue:i&&i[t],reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:(e,o)=>this.patchValue({[t]:e},o)}}makeContextMenuProps(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=this.getComponentId(),r=this.getValue();return{id:(0,x.uuid)(3),componentId:o,getItems:e.getItems.bind(null,r,this),...t}}makeToolbarPropsFromConfig(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var i=this;const{onToolbarOpen:n,onToolbarClose:a,onToolbarEnter:l,onToolbarLeave:c}=this.props,{allowExtendFromParent:d,parentItemsFilter:f,allowExtendFromChild:y,allowExtendFromThirdParty:g,thirdPartyExtendId:b=this.getComponentId(),allowSidebarExtendFromParent:h,allowSidebarExtendFromChild:v,allowSidebarExtendFromThirdParty:w,sidebarThirdPartyExtendId:x=b}=(0,C.makeToolbarPropsFromConfigDefaults)(r);return{getItems:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,u.deviceModeSelector)((0,p.getStore)().getState());const o=`getItemsFor${function(e){let[t,...o]=e,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.toUpperCase()+(r?o.join("").toLowerCase():o.join(""))}(t,!0)}`,r=e[o],n=i.getValue(),a=S.mRead(n.tabsState);let l=i.bindToolbarItems(n,t,a,r?.(n,i)??[]);if(d&&i.props.toolbarExtend){const{getItems:e}=i.props.toolbarExtend;let o=e(t);"function"==typeof f&&(o=f(o)),l=(0,s.mergeOptions)(l,o)}if(y&&i.childToolbarExtend){const{getItems:e}=i.childToolbarExtend,o=e(t);l=(0,s.mergeOptions)(o,l)}if(g){const e=(0,m.applyFilter)(`toolbarItemsExtend_${b}`,null);if(e?.[o]){const r=i.bindToolbarItems(n,t,a,e[o](n,i));l=(0,s.mergeOptions)(l,r)}}return l},getSidebarItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,u.deviceModeSelector)((0,p.getStore)().getState());const o=i.getValue(),r=S.mRead(o.tabsState);let n=i.bindToolbarItems(o,e,r,t?.getItems?.({v:o,component:i,device:e,state:r,context:i.context})||[]);if(h&&i.props.toolbarExtend?.getSidebarItems){const{getSidebarItems:t}=i.props.toolbarExtend,o=t(e);n=(0,s.mergeOptions)(n,o)}if(v&&i.childToolbarExtend){const{getSidebarItems:t}=i.childToolbarExtend,o=t(e);n=(0,s.mergeOptions)(o,n)}if(w){const t=(0,m.applyFilter)(`sidebarItemsExtend_${x}`,null);if(t?.getItems){const a=i.bindToolbarItems(o,e,r,t.getItems({v:o,component:i,device:e,state:r}));n=(0,s.mergeOptions)(n,a)}}return n},getSidebarTitle:()=>{let e=t?.title;if("function"==typeof e&&(e=e({v:this.getValue()})),h&&this.props.toolbarExtend){const{getSidebarTitle:t}=this.props.toolbarExtend;e=t()||e}if(v&&this.childToolbarExtend){const{getSidebarTitle:t}=this.childToolbarExtend;e=t()||e}return e||""},onBeforeOpen:()=>{o.g.Brizy.activeEditorComponent=this},onBeforeClose:()=>{o.g.Brizy.activeEditorComponent=null},onOpen:n,onClose:a,onMouseEnter:l,onMouseLeave:c}}bindToolbarItems(e,t,o,r){const i=(e,r,i)=>"tabsState"!==e&&i?(0,y.defaultValueKey)({key:(0,C.createOptionId)(e,r),device:t,state:o}):e;return(0,s.optionMap)((r=>{const{id:s,type:c,onChange:u}=r;r=(0,w.bindStateToOption)(d.states,r,t);const p=(0,C.inDevelopment)(c),m=r.dependencies||n.default.identity;p&&(r.value=(0,a.fromElementModel)(c)((r=>(0,y.defaultValueValue)({v:e,key:(0,C.createOptionId)(s,r),device:t,state:o}))));const g=(0,l.toElementModel)(c,(e=>i(s,e,p)));return r.onChange=!0!==r.isPro||f.IS_PRO?(e,t)=>{const o=i(r.id,"",p),n=p?m(g(e)):u?u(e,t):((e,t)=>void 0!==t?{[e]:t}:null)(o,e);n&&this.patchValue(n)}:n.noop,r}),(0,s.optionMap)(g.wrapOption,r))}makeToolbarPropsFromConfig2(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var i=this;const{onToolbarOpen:n,onToolbarClose:a,onToolbarEnter:l,onToolbarLeave:c}=this.props,{allowExtendFromParent:d,parentItemsFilter:f,parentExtendProp:y="toolbarExtend",allowExtendFromChild:g,allowExtendFromThirdParty:b,thirdPartyExtendId:h=this.getComponentId(),allowSidebarExtendFromParent:v,allowSidebarExtendFromChild:w,allowSidebarExtendFromThirdParty:x,sidebarThirdPartyExtendId:M=h}=(0,C.makeToolbarPropsFromConfigDefaults)(r);return{getItems:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,u.deviceModeSelector)((0,p.getStore)().getState());const o=i.getValue(),r=S.mRead(o.tabsState);let n=i.bindToolbarItems(o,t,r,e?.getItems({v:o,component:i,device:t,state:r,context:i.context})??[]);if(d&&i.props[y]){const{getItems:e}=i.props[y];let o=e(t);"function"==typeof f&&(o=f(o)),n=(0,s.mergeOptions)(n,o)}if(g&&i.childToolbarExtend){const{getItems:e}=i.childToolbarExtend,o=e(t);n=(0,s.mergeOptions)(o,n)}if(b){const e=(0,m.applyFilter)(`toolbarItemsExtend_${h}`,null);if(e?.getItems){const a=i.bindToolbarItems(o,t,r,e.getItems({v:o,component:i,device:t,state:r,context:i.context}));n=(0,s.mergeOptions)(n,a)}}return n},getSidebarItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,u.deviceModeSelector)((0,p.getStore)().getState());const o=i.getValue(),r=S.mRead(o.tabsState);let n=i.bindToolbarItems(o,e,r,t?.getItems?.({v:o,component:i,device:e,state:r,context:i.context})||[]);if(v&&i.props[y]?.getSidebarItems){const{getSidebarItems:t}=i.props[y],o=t(e);n=(0,s.mergeOptions)(n,o)}if(w&&i.childToolbarExtend){const{getSidebarItems:t}=i.childToolbarExtend,o=t(e);n=(0,s.mergeOptions)(o,n)}if(x){const t=(0,m.applyFilter)(`sidebarItemsExtend_${M}`,null);if(t?.getItems){const a=i.bindToolbarItems(o,e,r,t.getItems({v:o,component:i,device:e,state:r,context:i.context}));n=(0,s.mergeOptions)(n,a)}}return n},getSidebarTitle:()=>{let e=t?.title;if("function"==typeof e&&(e=e({v:this.getValue()})),v&&this.props.toolbarExtend){const{getSidebarTitle:t}=this.props.toolbarExtend;e=t()||e}if(w&&this.childToolbarExtend){const{getSidebarTitle:t}=this.childToolbarExtend;e=t()||e}return e||""},onBeforeOpen:()=>{o.g.Brizy.activeEditorComponent=this},onBeforeClose:()=>{o.g.Brizy.activeEditorComponent=null},onOpen:n,onClose:a,onMouseEnter:l,onMouseLeave:c}}render(){const{v:e,vs:t,vd:o}=this.getValue2();return this.renderForEdit(e,t,o)}renderForEdit(e,t,o){throw new Error("renderForEdit: Not Implemented"+e+t+o)}renderForView(e,t,o){return this.renderForEdit(e,t,o)}applyRulesToValue(e,t){const o=t.filter(Boolean);if(0===o.length)return e;const r=this.getRulesValue(o);return n.default.defaults(r,e)}getRulesValue(e){const t=(0,u.rulesSelector)(this.getReduxState());if(t)return e.reduce(((e,o)=>{let r;switch(typeof o){case"object":{const{rule:e,mapper:i}=o;r=t[e]&&i(t[e]);break}case"string":r=t[o];break;default:throw new Error("Invalid rule type")}return r?Object.assign(e,r):e}),{})}}const z=E},76753:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{createOptionId:function(){return m},setOptionPrefix:function(){return y},inDevelopment:function(){return g},optionMode:function(){return b},makeToolbarPropsFromConfigDefaults:function(){return h},flattenDefaultValue_:function(){return v},flattenDefaultValue:function(){return S},filterToolbarItems:function(){return w},getProTitle:function(){return x}});const r=o(70634),i=o(10301),n=(a=o(91231))&&a.__esModule?a:{default:a};var a;const l=f(o(48630)),s=o(6085),c=f(o(66559)),d=o(59831),u=o(46479);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const m=(e,t)=>{const o=t.startsWith("temp")?"temp":"",r=o.length?t.substr(4):t,i="value"===r||"Value"===r?"":r;return(0,s.camelCase)([o,e,i])},y=(e,t)=>t&&"object"==typeof t?Object.keys(t).reduce(((o,r)=>(o[m(e,r)]=t[r],o)),{}):t,g=e=>String(e).endsWith("-dev"),b=(e,t)=>(0,d.supportsMode)(e,(0,d.getDevice)(t))?e:c.empty,h=e=>{const t=e.allowExtend??!0,o=e.allowExtendFromParent??t,r=e.allowExtendFromChild??t,i=e.allowExtendFromThirdParty??t,n=e.allowSidebarExtend??t,a=e.allowSidebarExtendFromParent??e.allowSidebarExtend??o,l=e.allowSidebarExtendFromChild??e.allowSidebarExtend??r,s=e.allowSidebarExtendFromThirdParty??e.allowSidebarExtend??i;return{...e,allowExtend:t,allowExtendFromParent:o,allowExtendFromChild:r,allowExtendFromThirdParty:i,allowSidebarExtend:n,allowSidebarExtendFromParent:a,allowSidebarExtendFromChild:l,allowSidebarExtendFromThirdParty:s}},v=e=>{const t=e.reduce(((e,t)=>(e[t]=!0,e)),{});return function e(o){const r={};for(const[i,n]of Object.entries(o))t[i]&&l.isObject(n)?Object.assign(r,e(n)):r[i]=n;return r}},S=v(["animation","content","families","images","link","style","styles","symbols","toolbar"]),w=(e,t)=>o=>{const{type:r,disabled:i,devices:n,roles:a}=o;if(!r)return!1;if(!0===i)return!1;if(n&&"all"!==n){if("desktop"===n&&"desktop"!==e)return!1;if("responsive"===n&&"desktop"===e)return!1}return!(Array.isArray(a)&&!a.includes(t))},x=(e,t)=>{const o=Object.values(n.default).flat().filter((e=>e.pro)).map((e=>({title:e.component.title,type:(0,r.getIn)(e.component.resolve,["value","items",0,"type"])??""}))).filter((e=>"Image"!==e.type||Array.isArray(t._styles)&&(0,i.intersection)(t._styles,["image--dynamic"]).length>0)).find((t=>t.type===e));if(void 0!==o&&!u.IS_PRO)return o.title}},18497:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const r=S(o(60042)),i=o(42162),n=S(o(27378)),a=S(o(31440)),l=S(o(36275)),s=S(o(53125)),c=S(o(67439)),d=S(o(63692)),u=S(o(22546)),p=o(39191),f=o(94220),m=o(28617),y=o(86022),g=S(o(12404)),b=x(o(62778)),h=o(20244),v=x(o(21886));function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const M=["centerLeft","centerRight"];class T extends d.default{static get componentId(){return"EmbedCode"}static defaultValue=g.default;handleValueChange(e,t){const o=u.default.getAll();if(t.patch.code&&(0,p.isWp)(o)&&!o.user.allowScripts){const o=(0,m.xss)(e.code,"discard");super.handleValueChange({...e,code:o},t)}else super.handleValueChange(e,t)}handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const{code:d}=e,u=(0,r.default)("brz-embed-code",(0,f.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,h.style)(e,t,o)));return n.default.createElement(c.default,this.makeToolbarPropsFromConfig2(v,b),n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(y.Wrapper,this.makeWrapperProps({className:u}),n.default.createElement(a.default,{points:M,restrictions:{width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}},meta:this.props.meta,value:e,onChange:this.handleResizerChange},d?n.default.createElement(i.EmbedCode,{code:d,className:"brz-blocked"}):n.default.createElement(s.default,{icon:"iframe"})))))}renderForView(e,t,o){const{code:a}=e,c=(0,r.default)("brz-embed-code",(0,f.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,h.style)(e,t,o)));return n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(y.Wrapper,this.makeWrapperProps({className:c}),a?n.default.createElement(i.EmbedCode,{code:a,ssr:!0}):n.default.createElement(s.default,{icon:"iframe"})))}}},62778:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(16526);function l(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,n.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,n.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),options:[{id:"hoverTransition",label:(0,n.t)("Hover Transition"),disabled:(0,a.isStory)(r.default.getAll()),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,n.t)("Padding"),devices:"responsive",position:50}]}]}]}},20244:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz &&:hover:before":{standart:["cssStyleBoxShadow","cssStyleBorder","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz && .brz-embed-content":{standart:["cssStylePaddingBG","cssStyleBgColor","cssStyleBgGradient","cssStyleBorderRadius"]}}})}},21886:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return u}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81405),a=o(64985),l=o(16526),s=o(69321),c=o(68256),d=o(24119);function u(e){let{v:t,device:o}=e;const i=r.default.getAll(),u=e=>(0,s.defaultValueValue)({v:t,key:e,device:o}),{hex:p}=(0,c.getOptionColorHexByPalette)(u("borderColorHex"),u("borderColorPalette")),f=(0,l.isStory)(i);return[{id:"popoverCode",type:"popover-dev",config:{icon:"nc-iframe",size:"large",title:(0,a.t)("Embed")},devices:"desktop",position:90,options:[{id:"code",type:"codeMirror-dev",placeholder:(0,a.t)("Paste your HTML code here..."),config:{language:"html"}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(p,u("borderColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,a.t)("Background"),options:[{id:"",type:"backgroundColor-dev",states:[d.NORMAL,d.HOVER]}]},{id:"tabBorder",label:(0,a.t)("Border"),options:[{id:"border",type:"border-dev",states:[d.NORMAL,d.HOVER]}]},{id:"tabBoxShadow",label:(0,a.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[d.NORMAL,d.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},disabled:f,position:110,options:[{id:"width",label:(0,a.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===u("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",position:110,disabled:!f,icon:"nc-cog",devices:"desktop"}]}},49370:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=h(o(60042)),i=h(o(27378)),n=h(o(36275)),a=h(o(42168)),l=h(o(67439)),s=h(o(63692)),c=o(97045),d=o(92213),u=o(94220),p=o(69321),f=o(86022),m=h(o(90525)),y=S(o(69736)),g=o(68272),b=S(o(33832));function h(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class w extends s.default{static get componentId(){return"Facebook"}static defaultValue=m.default;static experimentalDynamicContent=!0;dvv=e=>{const t=this.getValue(),o=(0,c.deviceModeSelector)((0,d.getStore)().getState());return(0,p.defaultValueValue)({v:t,key:e,device:o})};getAppData(){return{appId:0x67903d22b9a8,href:"{{ brizy_dc_current_page_unique_url }}",lang:"{{ brizy_dc_page_language }}"}}tabs=e=>{const{pageTabs:t}=e;try{return JSON.parse(t)}catch{return t}};renderForEdit(e,t,o){const{className:s,facebookType:c,targetUrl:d,href:p,facebookButtonType:m,layout:h,size:v,share:S,showFriends:w,showCounter:x,facebookEmbedType:M,facebookEmbedPostHref:T,facebookEmbedVideoHref:P,postAndVideoShowText:C,facebookEmbedVideoAllowFullScreen:k,facebookEmbedVideoAutoPlay:_,facebookEmbedVideoCaptions:O,facebookPageHref:E,height:z,smallHeader:B,hideCover:j,showFacepile:N,facebookGroupHref:I,skin:L,showSocialContext:D,showMetaData:F,customCSS:A}=e,R=this.dvv("width"),W=this.dvv("pageWidth"),H=(0,r.default)("brz-fb",`brz-fb-${"button"===c?"like":c}`,{"brz-fb-styles":"button"!==c},{"brz-fb-styles-button":"button"===c},{[`brz-fb-styles-button--small-${h}`]:"button"===c&&"small"===v},s,(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,g.style)(e,t,o))),V=this.getAppData(),U={button:"Like",embed:"post"===M?"EmbeddedPost":"EmbeddedVideo",page:"Page",group:"Group"},G={button:{href:"custom"===d&&""!==p?p:V.href,action:m,layout:"button"===h?"on"===w?"standard":"on"===x?"button_count":"button":"box_count",showFaces:"on"===w,size:v,share:"on"===S,lang:V.lang},embed:"post"===M?{width:"auto",href:T,showText:"on"===C,lang:V.lang}:{width:"auto",href:P,showText:"on"===C,allowFullScreen:"on"===k,autoPlay:"on"===_,showCaptions:"on"===O,lang:V.lang},page:{width:W,href:""===E?"https://www.facebook.com/techcrunch/":E,tabs:this.tabs(e),height:z,smallHeader:"on"===B,hideCover:"on"===j,showFacepile:"on"===N,adaptContainerWidth:!0,lang:V.lang},group:{width:R,href:""===I?"https://www.facebook.com/groups/669915249871846":I,skin:L,showSocialContext:"on"===D,showMetaData:"on"===F,lang:V.lang}};return i.default.createElement(l.default,this.makeToolbarPropsFromConfig2(b,y),i.default.createElement(n.default,{selectorName:this.getId(),css:A},i.default.createElement(f.Wrapper,this.makeWrapperProps({className:H}),i.default.createElement(a.default,{appId:V.appId,type:U[c],data:G[c]}))))}renderForView(e,t,o){const{className:l,facebookType:s,targetUrl:c,href:d,facebookButtonType:p,layout:f,size:m,share:y,showFriends:b,showCounter:h,facebookEmbedType:v,postAndVideoShowText:S,facebookEmbedPostHref:w,facebookEmbedVideoHref:x,facebookEmbedVideoAllowFullScreen:M,facebookEmbedVideoAutoPlay:T,facebookEmbedVideoCaptions:P,facebookPageHref:C,height:k,smallHeader:_,hideCover:O,showFacepile:E,facebookGroupHref:z,showSocialContext:B,showMetaData:j,skin:N,customCSS:I}=e,L=this.dvv("width"),D=this.dvv("pageWidth"),F=(0,r.default)("brz-fb",`brz-fb-${"button"===s?"like":s}`,{"brz-fb-styles":"button"!==s},{"brz-fb-styles-button":"button"===s},{[`brz-fb-styles-button--small-${f}`]:"button"===s&&"small"===m},l,(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,g.style)(e,t,o))),A=this.getAppData(),R={button:{"data-href":"custom"===c&&""!==d?d:A.href,"data-action":p,"data-layout":"button"===f?"on"===b?"standard":"on"===h?"button_count":"button":"box_count","data-show-faces":b,"data-size":m,"data-share":y,"data-lang":A.lang,"data-colorscheme":"dark"},embed:"post"===v?{"data-width":"auto","data-show-text":"on"===S,"data-href":w,"data-lang":A.lang}:{"data-width":"auto","data-show-text":"on"===S,"data-allowFullScreen":"on"===M,"data-autoplay":"on"===T,"data-show-captions":"on"===P,"data-href":x,"data-lang":A.lang},page:{"data-width":D,"data-tabs":this.tabs(e),"data-height":k,"data-small-header":"on"===_,"data-hide-cover":"on"===O,"data-adapt-container-width":!0,"data-show-facepile":"on"===E,"data-href":""===C?"https://www.facebook.com/techcrunch/":C,"data-lang":A.lang},group:{"data-width":L,"data-href":""===z?"https://www.facebook.com/groups/669915249871846":z,"data-show-social-context":"on"===B,"data-show-metadata":"on"===j,"data-skin":N,"data-lang":A.lang}},W={button:"Like",embed:"post"===v?"post":"video",page:"Page",group:"Group"};return i.default.createElement(n.default,{selectorName:this.getId(),css:I},i.default.createElement("div",{className:F},i.default.createElement(a.default,{appId:A.appId,type:W[s],data:R[s]})))}}const x=w},69736:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Facebook"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),type:"slider-dev",devices:"desktop",position:100,config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50}]}]}]}},68272:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover.brz-fb-styles":{standart:["cssStylePaddingBG","cssStyleBgColor","cssStyleBgGradient","cssStyleBoxShadow","cssStyleBorder","cssStyleElementFacebookWidth","cssStyleElementFacebookAlign"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover.brz-fb-styles-button":{standart:["cssStylePaddingBG","cssStyleBgColor","cssStyleBgGradient","cssStyleBoxShadow","cssStyleElementFacebookAlign"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},33832:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81263),i=o(81405),n=o(64985),a=o(69321),l=o(68256),s=o(24119);function c(e){let{v:t,device:o,state:c,context:d}=e;const u=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:c}),p=u("facebookType"),f=u("facebookEmbedType"),m="embed"===p,y="button"===p,g="page"===p,b="group"===p,h="post"!==f,v="video"!==f,S="boxed"===u("layout"),{hex:w}=(0,l.getOptionColorHexByPalette)(u("borderColorHex"),u("borderColorPalette")),{hex:x}=(0,l.getOptionColorHexByPalette)(u("boxShadowColorHex"),u("boxShadowColorPalette")),M=(0,l.getDynamicContentOption)({options:d.dynamicContent.config,type:r.DCTypes.link});return[{id:"popoverCurrentElement",type:"popover-dev",config:{icon:"nc-facebook",title:(0,n.t)("Facebook")},devices:"desktop",position:70,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(e=>{switch(e){case"button":return(0,n.t)("Button");case"embed":return(0,n.t)("Embed");case"page":return(0,n.t)("Page");case"group":return(0,n.t)("Group")}})(p),options:[{id:"facebookType",label:(0,n.t)("Facebook"),type:"select-dev",devices:"desktop",choices:[{title:(0,n.t)("Button"),value:"button"},{title:(0,n.t)("Embed"),value:"embed"},{title:(0,n.t)("Page"),value:"page"},{title:(0,n.t)("Group"),value:"group"}]},{id:"facebookButtonType",type:"select-dev",label:(0,n.t)("Type"),disabled:!y,devices:"desktop",choices:[{title:(0,n.t)("Like"),value:"like"},{title:(0,n.t)("Recommend"),value:"recommend"}]},{id:"layout",label:(0,n.t)("Layout"),type:"select-dev",devices:"desktop",disabled:!y,choices:[{title:(0,n.t)("Button"),value:"button"},{title:(0,n.t)("Boxed"),value:"boxed"}]},{id:"facebookEmbedType",type:"select-dev",label:(0,n.t)("Type"),disabled:!m,devices:"desktop",choices:[{title:(0,n.t)("Post"),value:"post"},{title:(0,n.t)("Video"),value:"video"}]},{id:"facebookEmbedPostHref",label:(0,n.t)("Link"),type:"inputText-dev",devices:"desktop",disabled:!m||h,population:M},{id:"facebookEmbedVideoHref",label:(0,n.t)("Link"),type:"inputText-dev",disabled:!m||v,devices:"desktop",population:M},{id:"facebookPageHref",label:(0,n.t)("Link"),type:"inputText-dev",disabled:!g,devices:"desktop",population:M},{id:"pageTabs",label:(0,n.t)("Layout"),type:"multiSelect-dev",placeholder:(0,n.t)("0 Selected"),devices:"desktop",disabled:!g,choices:[{title:(0,n.t)("Timeline"),value:"timeline"},{title:(0,n.t)("Events"),value:"events"},{title:(0,n.t)("Messages"),value:"messages"}]},{id:"facebookGroupHref",label:(0,n.t)("Link"),type:"inputText-dev",disabled:!b,devices:"desktop",population:M},{id:"skin",label:(0,n.t)("Skin"),type:"select-dev",devices:"desktop",disabled:!b,choices:[{title:(0,n.t)("Light"),value:"light"},{title:(0,n.t)("Dark"),value:"dark"}]}]},{id:"tabAdvanced",label:(0,n.t)("Advanced"),options:[{id:"size",label:(0,n.t)("Size"),disabled:!y,devices:"desktop",type:"radioGroup-dev",choices:[{icon:"nc-small",value:"small"},{icon:"nc-large",value:"large"}]},{id:"share",disabled:!y,label:(0,n.t)("Include Share Button"),type:"switch-dev",devices:"desktop"},{id:"showCounter",label:(0,n.t)("Show Button Counter"),type:"switch-dev",disabled:!y||S,devices:"desktop"},{id:"showFriends",label:(0,n.t)("Show Friend's Faces"),type:"switch-dev",disabled:!y||S,devices:"desktop"},{id:"facebookEmbedVideoAllowFullScreen",label:(0,n.t)("Full Screen"),type:"switch-dev",disabled:!m||v,devices:"desktop"},{id:"facebookEmbedVideoAutoPlay",label:(0,n.t)("AutoPlay"),type:"switch-dev",disabled:!m||v,devices:"desktop"},{id:"facebookEmbedVideoCaptions",label:(0,n.t)("Captions"),type:"switch-dev",disabled:!m||v,devices:"desktop"},{id:"postAndVideoShowText",label:(0,n.t)("Include Full Post"),disabled:!m,type:"switch-dev",devices:"desktop"},{id:"smallHeader",label:(0,n.t)("Use Small Header"),type:"switch-dev",devices:"desktop",disabled:!g},{id:"hideCover",label:(0,n.t)("Hide Cover Photo"),type:"switch-dev",disabled:!g,devices:"desktop"},{id:"showFacepile",label:(0,n.t)("Show Friend's Faces"),type:"switch-dev",disabled:!g,devices:"desktop"},{id:"showSocialContext",label:(0,n.t)("Show Social Context"),type:"switch-dev",disabled:!b,devices:"desktop"},{id:"showMetaData",label:(0,n.t)("Show Meta Data"),type:"switch-dev",disabled:!b,devices:"desktop"}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:y?(0,i.hexToRgba)(x,u("boxShadowColorOpacity")):(0,i.hexToRgba)(w,u("borderColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,n.t)("Bg"),options:[{id:"",type:"backgroundColor-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",disabled:y,type:"border-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[s.NORMAL,s.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",title:(0,n.t)("Link"),size:"medium"},position:90,options:[{id:"targetUrl",label:(0,n.t)("Target URL"),type:"select-dev",devices:"desktop",disabled:!y,choices:[{title:(0,n.t)("Current Page"),value:"current"},{title:(0,n.t)("Custom Page"),value:"custom"}]},{id:"href",type:"inputText-dev",label:(0,n.t)("Link"),disabled:!y||"current"===u("targetUrl"),devices:"desktop",placeholder:"http://",population:M}]},...b||g?[{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"height",label:(0,n.t)("Height"),type:"slider-dev",disabled:!g,devices:"desktop",config:{min:70,max:800,units:[{value:"px",title:"px"}],debounceUpdate:!0}},{id:g?"pageWidth":"width",label:(0,n.t)("Width"),type:"slider-dev",disabled:m||y,devices:"desktop",config:{min:180,max:500,units:[{value:"px",title:"px"}],debounceUpdate:!0}},{id:"grid",type:"grid-dev",devices:"desktop",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]}]:[{id:"toolbarSettings",type:"popover-dev",disabled:!0}],...b||g?[{id:"advancedSettings",type:"advancedSettings",disabled:!0}]:[{id:"advancedSettings",type:"advancedSettings",position:110}],...m?[{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]}]:g?[{id:"pageHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]}]:[{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]]}},80357:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=m(o(27378)),i=m(o(63692)),n=m(o(36275)),a=m(o(42168)),l=m(o(67439)),s=g(o(1931)),c=g(o(16671)),d=m(o(1911)),u=m(o(60042)),p=o(91214),f=o(94220);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class b extends i.default{static get componentId(){return"FacebookButton"}static defaultValue=d.default;getAppData(){return{appId:0x67903d22b9a8,href:"{{ brizy_dc_current_page_unique_url }}",lang:"{{ brizy_dc_page_language }}"}}renderForEdit(e,t,o){const{type:i,layout:d,size:m,share:y,showCounter:g,showFriends:b,darkScheme:h,targetUrl:v,href:S}=e,w=this.getAppData(),x={action:i,layout:"button"===d?"on"===b?"standard":"on"===g?"button_count":"button":"box_count",size:m,share:"on"===y,showFaces:"on"===b,colorScheme:"on"===h?"dark":"light",href:"custom"===v&&""!==S?S:w.href,lang:w.lang},M=(0,u.default)("brz-fb-like",(0,f.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.style)(e,t,o)));return r.default.createElement(l.default,this.makeToolbarPropsFromConfig2(s,c),r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:M},r.default.createElement(a.default,{appId:w.appId,type:"Like",data:x}))))}renderForView(e,t,o){const{type:i,layout:l,size:s,share:c,showCounter:d,showFriends:m,darkScheme:y,targetUrl:g,href:b}=e,h=this.getAppData(),v={"data-action":i,"data-layout":"button"===l?"on"===m?"standard":"on"===d?"button_count":"button":"box_count","data-size":s,"data-share":c,"data-show-faces":m,"data-colorscheme":"on"===y?"dark":"light","data-href":"custom"===g&&""!==b?b:h.href,"data-lang":h.lang},S=(0,u.default)("brz-fb-like",(0,f.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.style)(e,t,o)));return r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:S},r.default.createElement(a.default,{appId:h.appId,type:"Like",data:v})))}}const h=b},16671:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Facebook Button"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),type:"slider-dev",devices:"desktop",position:100,config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},91214:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionBoxShadow"]}}})}},1931:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),d="boxed"===c("layout"),{hex:u}=(0,a.getOptionColorHexByPalette)(c("boxShadowColorHex"),c("boxShadowColorPalette"));return[{id:"popoverCurrentElement",type:"popover-dev",config:{icon:"nc-facebook",title:(0,i.t)("Button")},devices:"desktop",position:70,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,i.t)("Button"),options:[{id:"targetUrl",label:(0,i.t)("Target URL"),type:"select-dev",devices:"desktop",choices:[{title:(0,i.t)("Current Page"),value:"current"},{title:(0,i.t)("Custom Page"),value:"custom"}]},{id:"href",label:(0,i.t)("Link"),type:"inputText-dev",devices:"desktop",disabled:"current"===c("targetUrl"),placeholder:"http://"},{id:"type",label:(0,i.t)("Type"),type:"select-dev",devices:"desktop",choices:[{title:(0,i.t)("Like"),value:"like"},{title:(0,i.t)("Recommend"),value:"recommend"}]},{id:"layout",label:(0,i.t)("Layout"),type:"select-dev",devices:"desktop",choices:[{title:(0,i.t)("Button"),value:"button"},{title:(0,i.t)("Boxed"),value:"boxed"}]},{id:"size",label:(0,i.t)("Size"),devices:"desktop",type:"radioGroup-dev",choices:[{icon:"nc-small",value:"small"},{icon:"nc-large",value:"large"}]},{id:"share",label:(0,i.t)("Include Share Button"),type:"switch-dev",devices:"desktop"}]},{id:"tabAdvanced",label:(0,i.t)("Advanced"),options:[{id:"showCounter",label:(0,i.t)("Show Button Counter"),type:"switch-dev",disabled:d,devices:"desktop"},{id:"showFriends",label:(0,i.t)("Show Friend's Faces"),type:"switch-dev",disabled:d,devices:"desktop"}]}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,c("boxShadowColorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",type:"tabs-dev",hideHandlesWhenOne:!1,tabs:[{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",devices:"desktop",type:"advancedSettings",roles:["admin"],position:110,icon:"nc-cog"}]}},41089:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=g(o(27378)),i=g(o(63692)),n=g(o(36275)),a=g(o(60042)),l=o(94220),s=o(30711),c=g(o(70907)),d=h(o(67439)),u=h(o(59162)),p=h(o(46741)),f=h(o(7468)),m=h(o(30176)),y=g(o(64690));function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class v extends i.default{static get componentId(){return"FacebookComments"}static defaultValue=y.default;getAppDataEditor(){return{appId:0x67903d22b9a8,href:"http://brizy.io",lang:"en_US"}}getAppDataPreview(){return{appId:0x67903d22b9a8,href:"{{ brizy_dc_current_page_unique_url }}",lang:"{{ brizy_dc_page_language }}"}}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(f,m,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}handleValueChange(e,t){super.handleValueChange(e,t),t.patch.type&&(0,d.hideToolbar)()}renderForEdit(e,t,o){const{type:i,numPosts:f,darkScheme:m,targetUrl:y,href:g,disqusShortname:b,skin:h,review:v}=e,S=this.getAppDataEditor(),w={facebook:{width:"100%",numPosts:f,colorScheme:"on"===m?"dark":"light",href:"custom"===y&&""!==g?g:S.href,lang:S.lang},disqus:{shortname:b,config:{url:"custom"===y&&""!==g?g:S.href,identifier:"custom"===y&&""!==g?g:S.href}},WPComments:{skin:h,review:v}},x=(0,a.default)("brz-comments",{"brz-fb-comments":"facebook"===i},(0,l.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,s.style)(e,t,o)));return r.default.createElement(d.default,this.makeToolbarPropsFromConfig2(u,p),r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:x},r.default.createElement(c.default,{appId:S.appId,type:i,data:w[i]}))))}renderForView(e,t,o){const{type:i,numPosts:d,darkScheme:u,targetUrl:p,href:f,disqusShortname:m,skin:y}=e,g=this.getAppDataPreview(),b={facebook:{"data-width":"100%","data-numposts":d,"data-colorscheme":"on"===u?"dark":"light","data-href":"custom"===p&&""!==f?f:g.href,"data-lang":g.lang},disqus:{"data-shortname":m,"data-url":"custom"===p&&""!==f?f:g.href,"data-identifier":"custom"===p&&""!==f?f:g.href},WPComments:{limit:d,skin:y,linkPage:"custom"===p&&""!==f?f:g.href}},h=(0,a.default)("brz-comments",(0,l.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,s.style)(e,t,o)));return r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:h},r.default.createElement(c.default,{appId:g.appId,type:i,data:b[i]})))}}const S=v},46741:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},30176:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=e=>{let{v:t}=e;return"true"===t.review?(0,r.t)("Review"):(0,r.t)("Comments")},n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),type:"slider-dev",devices:"desktop",position:100,config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65,devices:"responsive"}]}]}]}},30711:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth","cssStyleBoxShadow","cssStyleBgColor","cssStyleBorder","cssStylePaddingBG","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-comments__name:hover":{standart:["cssStyleElementCommentsNameColor","cssStyleElementCommentsNameFontFamily","cssStyleElementCommentsNameFontSize","cssStyleElementCommentsNameLineHeight","cssStyleElementCommentsNameFontWeight","cssStyleElementCommentsNameLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-comments__date":{standart:["cssStyleElementCommentsCommentsColor","cssStyleElementCommentsDateFontFamily","cssStyleElementCommentsDateFontSize","cssStyleElementCommentsDateLineHeight","cssStyleElementCommentsDateFontWeight","cssStyleElementCommentsDateLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-comments__reply":{standart:["cssStyleElementCommentsReplyFontFamily","cssStyleElementCommentsReplyFontSize","cssStyleElementCommentsReplyLineHeight","cssStyleElementCommentsReplyFontWeight","cssStyleElementCommentsReplyLetterSpacing"]},".brz && .brz-comment-awaiting-moderation:hover":{standart:["cssStyleElementCommentsCommentsColor","cssStyleElementCommentsCommentFontFamily","cssStyleElementCommentsCommentFontSize","cssStyleElementCommentsCommentLineHeight","cssStyleElementCommentsCommentFontWeight","cssStyleElementCommentsCommentLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-comments__text:hover":{standart:["cssStyleElementCommentsCommentsColor","cssStyleElementCommentsCommentFontFamily","cssStyleElementCommentsCommentFontSize","cssStyleElementCommentsCommentLineHeight","cssStyleElementCommentsCommentFontWeight","cssStyleElementCommentsCommentLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .comment-reply-link":{standart:["cssStyleElementCommentsReplyFontFamily","cssStyleElementCommentsReplyFontSize","cssStyleElementCommentsReplyLineHeight","cssStyleElementCommentsReplyFontWeight","cssStyleElementCommentsReplyLetterSpacing"]},".brz && .brz-comment-respond .brz-submit:hover":{standart:["cssStyleElementCommentsPostButtonColor","cssStyleElementCommentsPostButtonBg","cssStyleElementCommentsPostButtonFontFamily","cssStyleElementCommentsPostButtonFontSize","cssStyleElementCommentsPostButtonLineHeight","cssStyleElementCommentsPostButtonFontWeight","cssStyleElementCommentsPostButtonLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-comments__logo .brz-img":{standart:["cssStyleElementCommentsLogoSize"]},".brz &&:hover .brz-comments__right-date":{standart:["cssStyleElementCommentsWidthContainer"]},".brz && .brz-logged-in-as a, && .nav-links a, && .comment-reply-link, && #cancel-comment-reply-link":{standart:["cssStyleElementCommentsColorLink"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-comments.brz-parent .brz-comments":{standart:["cssStyleElementCommentsChildMargin"]},".brz && .brz-comment-reply-title, && .brz-comment-form-comment > label":{standart:["cssStyleElementCommentsNameFontFamily"]},".brz &&:hover .review .brz-comments__rating .star-rating":{standart:["cssStyleElementCommentsStarsSize","cssStyleElementCommentsStarsColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .review .brz-comments__rating .star-rating:before":{standart:["cssStyleElementCommentsStarsBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .stars a":{standart:["cssStyleElementCommentsStarsSize","cssStyleElementCommentsStarsBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .stars:hover a::before":{standart:["cssStyleElementCommentsStarsColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .stars a:hover":{standart:["cssStyleElementCommentsStarsColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .stars a:hover ~ a::before":{standart:["cssStyleElementCommentsStarsBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .stars a.active ~ a::before":{standart:["cssStyleElementCommentsStarsBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .selected a::before":{standart:["cssStyleElementCommentsStarsColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},59162:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return u}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81405),a=o(64985),l=o(69321),s=o(68256),c=o(24119),d=Boolean(r.default.get("wp"));function u(e){let{v:t,device:o,state:r}=e;const i=e=>(0,l.defaultValueValue)({v:t,key:e,device:o,state:r}),u=i("type"),p="true"===i("review"),f="WPComments"!==u,{hex:m}=(0,s.getOptionColorHexByPalette)(i("borderColorHex"),i("borderColorPalette")),y=d?[{title:(0,a.t)("Facebook"),value:"facebook"},{title:(0,a.t)("Disqus"),value:"disqus"},{title:(0,a.t)("WordPress"),value:"WPComments"}]:[{title:(0,a.t)("Facebook"),value:"facebook"},{title:(0,a.t)("Disqus"),value:"disqus"}];return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:p?"nc-woo-review":"nc-comments",title:p?(0,a.t)("Review"):(0,a.t)("Comments")},position:70,options:[{id:"type",type:"select-dev",label:(0,a.t)("Comments"),devices:"desktop",disabled:p,choices:y},{id:"skin",label:(0,a.t)("Skin"),type:"select-dev",disabled:f,devices:"desktop",choices:[{title:(0,a.t)("Skin 1"),value:"skin1"},{title:(0,a.t)("Skin 2"),value:"skin2"},{title:(0,a.t)("Skin 3"),value:"skin3"},{title:(0,a.t)("Skin 4"),value:"skin4"}]},{id:"numPosts",label:(0,a.t)("Posts"),type:"slider-dev",disabled:"facebook"!==u&&f,devices:"desktop",config:{min:5,max:20,debounceUpdate:!0}},{id:"disqusShortname",type:"inputText-dev",label:(0,a.t)("Shortname"),disabled:"disqus"!==u,devices:"desktop",placeholder:"shortname"},{id:"logoSize",label:(0,a.t)("Avatar"),type:"slider-dev",disabled:f,config:{min:10,max:100,units:[{value:"px",title:"px"}]}},{id:"starsSize",label:(0,a.t)("Rating"),type:"slider-dev",disabled:f||!p,config:{min:5,max:50,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,a.t)("Typography")},roles:["admin"],position:70,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabTypographyName",label:(0,a.t)("Name"),options:[{id:"name",type:"typography-dev",disabled:f,config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyComment",label:(0,a.t)("Comment"),options:[{id:"comment",type:"typography-dev",disabled:f,config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyDate",label:(0,a.t)("Date"),options:[{id:"date",type:"typography-dev",disabled:f,config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyReply",label:(0,a.t)("Reply"),options:[{id:"reply",type:"typography-dev",disabled:f||p,config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyPostButton",label:(0,a.t)("Button"),options:[{id:"postButton",type:"typography-dev",disabled:f,config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(m,i("borderColorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabNameColor",label:(0,a.t)("Name"),options:[{id:"nameColor",disabled:f,type:"colorPicker-dev",states:[c.NORMAL,c.HOVER]}]},{id:"tabCommentsColor",label:(0,a.t)("Comments"),options:[{id:"commentsColor",disabled:f,type:"colorPicker-dev",states:[c.NORMAL,c.HOVER]}]},{id:"tabPostButtonColor",label:(0,a.t)("Btn Color"),options:[{id:"postButtonColor",type:"colorPicker-dev",disabled:f,states:[c.NORMAL,c.HOVER]}]},{id:"tabPostButtonBg",label:(0,a.t)("Btn Bg"),options:[{id:"postButtonBgColor",type:"colorPicker-dev",disabled:f,states:[c.NORMAL,c.HOVER]}]},{id:"tabReviewStarsColor",label:(0,a.t)("Stars"),options:[{id:"starsColor",type:"colorPicker-dev",disabled:f||!p,states:[c.NORMAL,c.HOVER]}]},{id:"tabReviewStarsBgColor",label:(0,a.t)("Stars Bg"),options:[{id:"starsBgColor",type:"colorPicker-dev",disabled:f||!p,states:[c.NORMAL,c.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",title:(0,a.t)("Link"),size:"medium"},position:90,options:[{id:"targetUrl",label:(0,a.t)("Target URL"),type:"select-dev",devices:"desktop",choices:[{title:(0,a.t)("Current Page"),value:"current"},{title:(0,a.t)("Custom Page"),value:"custom"}]},{id:"href",label:(0,a.t)("Link"),type:"inputText-dev",placeholder:"http://",disabled:"current"===i("targetUrl"),devices:"desktop"}]}]}},7468:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("borderColorHex"),c("borderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("borderColorOpacity"))}}},devices:"desktop",roles:["admin"],position:80,options:[{id:"tabsColor",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabBgColor",label:(0,i.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,i.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0}]}},45370:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=m(o(27378)),i=m(o(63692)),n=m(o(36275)),a=o(68519),l=m(o(60042)),s=o(94220),c=m(o(42168)),d=m(o(67439)),u=g(o(99012)),p=g(o(50337)),f=m(o(78889));function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class b extends i.default{static get componentId(){return"FacebookEmbed"}static defaultValue=f.default;getAppData(){return{appId:0x67903d22b9a8,lang:"{{ brizy_dc_page_language }}"}}renderForEdit(e,t,o){const{type:i,postAndVideoShowText:f,videoAllowFullScreen:m,videoAutoPlay:y,videoCaptions:g,postHref:b,videoHref:h}=e,v=this.getAppData(),S="post"===i?{width:"auto",showText:"on"===f,href:b,lang:v.lang}:{width:"auto",showText:"on"===f,allowFullScreen:"on"===m,autoPlay:"on"===y,showCaptions:"on"===g,href:h,lang:v.lang},w="post"===i?"EmbeddedPost":"EmbeddedVideo",x=(0,l.default)("brz-fb-embed",(0,s.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,a.style)(e,t,o)));return r.default.createElement(d.default,this.makeToolbarPropsFromConfig2(u,p),r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:x},r.default.createElement(c.default,{appId:v.appId,type:w,data:S}))))}renderForView(e,t,o){const{type:i,postAndVideoShowText:d,videoAllowFullScreen:u,videoAutoPlay:p,videoCaptions:f,postHref:m,videoHref:y}=e,g=this.getAppData(),b="post"===i?{"data-show-text":"on"===d,"data-href":m,"data-lang":g.lang}:{"data-width":"auto","data-show-text":"on"===d,"data-allowFullScreen":"on"===u,"data-autoplay":"on"===p,"data-show-captions":"on"==f,"data-href":y,"data-lang":g.lang},h="post"===i?"post":"video",v=(0,l.default)("brz-fb-embed",(0,s.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,a.style)(e,t,o)));return r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:v},r.default.createElement(c.default,{appId:g.appId,type:h,data:b})))}}const h=b},50337:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Facebook Embed"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),type:"slider-dev",devices:"desktop",position:100,config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},68519:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover:before":{standart:["cssStyleBoxShadow","cssStyleBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},99012:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("borderColorHex"),c("borderColorPalette"));return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"popoverCurrentElement",type:"popover-dev",config:{icon:"nc-facebook",title:(0,i.t)("Embed")},devices:"desktop",position:70,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,i.t)("Embed"),options:[{id:"type",label:(0,i.t)("Embed"),type:"select-dev",devices:"desktop",choices:[{title:(0,i.t)("Post"),value:"post"},{title:(0,i.t)("Video"),value:"video"}]},{label:(0,i.t)("Link"),id:"postHref",type:"inputText-dev",devices:"desktop",disabled:"post"!==c("type")},{label:(0,i.t)("Link"),id:"videoHref",type:"inputText-dev",devices:"desktop",disabled:"video"!==c("type")},{id:"postAndVideoShowText",label:(0,i.t)("Include Full Post"),type:"switch-dev",devices:"desktop"}]},{id:"advanced",label:(0,i.t)("Advanced"),options:[{id:"videoAllowFullScreen",label:(0,i.t)("Full Screen"),type:"switch-dev",devices:"desktop",disabled:"video"!==c("type")},{id:"videoAutoPlay",label:(0,i.t)("AutoPlay"),type:"switch-dev",devices:"desktop",disabled:"video"!==c("type")},{id:"videoCaptions",label:(0,i.t)("Captions"),type:"switch-dev",devices:"desktop",disabled:"video"!==c("type")}]}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("borderColorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",devices:"desktop",type:"advancedSettings",roles:["admin"],icon:"nc-cog",position:110}]}},14129:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=m(o(27378)),i=m(o(63692)),n=m(o(36275)),a=o(71207),l=m(o(60042)),s=o(94220),c=m(o(42168)),d=m(o(67439)),u=g(o(94361)),p=g(o(32701)),f=m(o(83595));function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class b extends i.default{static get componentId(){return"FacebookGroup"}static defaultValue=f.default;getAppData(){return{appId:0x67903d22b9a8,lang:"{{ brizy_dc_page_language }}"}}renderForEdit(e,t,o){const{width:i,href:f,showSocialContext:m,showMetaData:y,skin:g}=e,b=this.getAppData(),h={width:i,href:""===f?"https://www.facebook.com/groups/brizy/":f,showSocialContext:"on"===m,showMetaData:"on"===y,skin:g,lang:b.lang},v=(0,l.default)("brz-fb-group",(0,s.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,a.style)(e,t,o)));return r.default.createElement(d.default,this.makeToolbarPropsFromConfig2(u,p),r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:v},r.default.createElement(c.default,{appId:b.appId,type:"Group",data:h}))))}renderForView(e,t,o){const{width:i,href:d,showSocialContext:u,showMetaData:p,skin:f}=e,m=this.getAppData(),y={"data-width":i,"data-href":""===d?"https://www.facebook.com/groups/brizy/":d,"data-show-social-context":"on"===u,"data-show-metadata":"on"===p,"data-skin":f,"data-lang":m.lang},g=(0,l.default)("brz-fb-group",(0,s.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,a.style)(e,t,o)));return r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:g},r.default.createElement(c.default,{appId:m.appId,type:"Group",data:y})))}}const h=b},32701:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Facebook Group"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",devices:"desktop",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),type:"slider-dev",devices:"desktop",position:100,config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},71207:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover:before":{standart:["cssStyleBoxShadow","cssStyleBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionBoxShadow"]}}})}},94361:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("borderColorHex"),c("borderColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-facebook",title:(0,i.t)("Page")},devices:"desktop",position:70,options:[{id:"href",label:(0,i.t)("Link"),type:"inputText-dev",devices:"desktop",placeholder:"https://www.facebook.com/groups/brizy/"},{id:"skin",label:(0,i.t)("Skin"),type:"select-dev",devices:"desktop",choices:[{title:(0,i.t)("Light"),value:"light"},{title:(0,i.t)("Dark"),value:"dark"}]},{id:"showSocialContext",label:(0,i.t)("Show Social Context"),type:"switch-dev",devices:"desktop"},{id:"showMetaData",label:(0,i.t)("Show Meta Data"),type:"switch-dev",devices:"desktop"}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("borderColorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",type:"tabs-dev",state:s,config:{showSingle:!0},tabs:[{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[{id:"width",label:(0,i.t)("Width"),type:"slider-dev",devices:"desktop",config:{min:180,max:500,units:[{value:"px",title:"px"}],debounceUpdate:!0}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},55589:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=m(o(27378)),i=m(o(63692)),n=m(o(36275)),a=o(67130),l=m(o(60042)),s=o(94220),c=m(o(42168)),d=m(o(67439)),u=g(o(24252)),p=g(o(35445)),f=m(o(58191));function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class b extends i.default{static get componentId(){return"FacebookPage"}static defaultValue=f.default;getAppData(){return{appId:0x67903d22b9a8,lang:"{{ brizy_dc_page_language }}"}}renderForEdit(e,t,o){const{pageTabs:i,height:f,smallHeader:m,hideCover:y,showFacepile:g,href:b}=e,h=this.getAppData(),v={width:"500",tabs:i,height:f,smallHeader:"on"===m,hideCover:"on"===y,adaptContainerWidth:!0,showFacepile:"on"===g,href:""===b?"https://facebook.com/brizy.io":b,lang:h.lang},S=(0,l.default)("brz-fb-page",(0,s.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,a.style)(e,t,o)));return r.default.createElement(d.default,this.makeToolbarPropsFromConfig2(u,p),r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:S},r.default.createElement(c.default,{appId:h.appId,key:this.key,type:"Page",data:v}))))}renderForView(e,t,o){const{pageTabs:i,height:d,smallHeader:u,hideCover:p,showFacepile:f,href:m}=e,y=this.getAppData(),g={"data-width":"500","data-tabs":i,"data-height":d,"data-small-header":"on"===u,"data-hide-cover":"on"===p,"data-adapt-container-width":!0,"data-show-facepile":"on"===f,"data-href":""===m?"https://facebook.com/brizy.io":m,"data-lang":y.lang},b=(0,l.default)("brz-fb-page",(0,s.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,a.style)(e,t,o)));return r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:b},r.default.createElement(c.default,{appId:y.appId,type:"Page",data:g})))}}const h=b},35445:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),type:"slider-dev",devices:"desktop",position:100,config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}},67130:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover:before":{standart:["cssStyleBoxShadow","cssStyleBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},24252:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("borderColorHex"),c("borderColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-facebook",title:(0,i.t)("Page")},devices:"desktop",position:70,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,i.t)("Page"),options:[{id:"href",label:(0,i.t)("Link"),type:"inputText-dev",devices:"desktop",placeholder:"https://facebook.com/brizy.io"},{id:"pageTabs",label:(0,i.t)("Tabs"),type:"select-dev",devices:"desktop",choices:[{title:(0,i.t)("Timeline"),value:"timeline"},{title:(0,i.t)("Events"),value:"events"},{title:(0,i.t)("Messages"),value:"messages"}]},{id:"height",label:(0,i.t)("Height"),type:"slider-dev",devices:"desktop",config:{min:70,max:800,units:[{value:"px",title:"px"}],debounceUpdate:!0}}]},{id:"tabAdvanced",label:(0,i.t)("Advanced"),type:"tabs-dev",options:[{id:"smallHeader",label:(0,i.t)("Use Small Header"),type:"switch-dev",devices:"desktop"},{id:"hideCover",label:(0,i.t)("Hide Cover Photo"),type:"switch-dev",devices:"desktop"},{id:"showFacepile",label:(0,i.t)("Show Friend's Faces"),type:"switch-dev",devices:"desktop"}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("borderColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",devices:"desktop",type:"advancedSettings",sidebarLabel:(0,i.t)("More Settings"),roles:["admin"],position:110,icon:"nc-cog"},{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}},43001:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=p(o(27378)),i=p(o(63692)),n=p(o(60042)),a=o(94220),l=o(16765),s=p(o(37389)),c=o(53089),d=p(o(53417)),u=p(o(51163));function p(e){return e&&e.__esModule?e:{default:e}}class f extends i.default{static get componentId(){return"FiltersItem"}static defaultValue=s.default;handleSelectPlaceholderChange=e=>{this.patchValue({selectPlaceholder:e})};renderForEdit(e,t,o){const{checkLabel:i,checkValue:s,selectPlaceholder:p,checkSelectValue:f,selectDataSource:m,checkRangeLabel:y,checkRangeMin:g,checkRangeMax:b,bgImageSrc:h}=e,{filterType:v,showCounter:S,checkboxType:w,activeStyle:x,dataSource:M,toolbarIcon:T,name:P,toolbarSelectOption:C,meta:k}=this.props,_=(0,n.default)(`brz-filters__option brz-filters__option--${w}`,(0,a.css)(this.constructor.componentId,this.getId(),(0,l.style)(e,t,o))),O=(0,d.default)({filterType:v,checkboxType:w,dataSource:M}),E=this.makeToolbarPropsFromConfig2(O),z=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:k},toolbarExtend:C}),B=this.getId();return r.default.createElement(r.default.Fragment,null,"active"===v&&r.default.createElement(c.ActiveFilters,{toolbarConfig:E,style:x,toolbarConfigIcon:T}),"checkbox"===v&&r.default.createElement(c.CheckboxFilters,{showCounter:S,checkboxType:w,toolbarConfig:E,label:i,value:s,selectValue:f,className:_,toolbarConfigIcon:T,showPlaceholder:!h}),"checkrange"===v&&r.default.createElement(c.CheckrangeFilters,{showCounter:S,checkboxType:w,toolbarConfig:E,label:y,className:_,toolbarConfigIcon:T,min:g,max:b}),"radio"===v&&r.default.createElement(c.RadioFilters,{showCounter:S,checkboxType:w,toolbarConfig:E,label:i,value:s,selectValue:f,className:_,toolbarConfigIcon:T,name:P,showPlaceholder:!h}),"select"===v&&r.default.createElement(r.default.Fragment,null,r.default.createElement(c.SelectFilters,{id:B,toolbar:E,toolbarSelectOption:C,text:p,dataSource:m,classNames:_,handleTextChange:this.handleSelectPlaceholderChange},r.default.createElement(u.default,z))))}}},51163:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(70634),i=(n=o(10787))&&n.__esModule?n:{default:n};var n;const a=o(67439),l=o(64985);class s extends i.default{static get componentId(){return"Filters.Items"}static defaultProps={className:"",style:{},meta:{}};getItemProps(e,t,o){const r={getItems:()=>[{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:(0,l.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},...o.length>1?[{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:(0,l.t)("Delete"),position:250,disable:1===o.length,onChange:()=>{(0,a.hideToolbar)(),this.removeItem(t)}}]:[]]};return{...super.getItemProps(e,t,o),toolbarExtend:this.makeToolbarPropsFromConfig2(r,null)}}cloneItem(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e+1;const o=this.getDBValue()||[];if(!o[e])throw new Error(`Can't clone invalid item at index ${e}`);const i=o[e],n=i.value.value.replace(/-[0-9]+/g,"");let a=o.reduce(((e,t)=>{const o=t.value.value;if(o.includes(n)){const t=o.match(/-([0-9]+)$/)||[];if(t.length&&e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&.brz-filters__option--style-3 .brz-filters__checkbox-option:hover":{standart:["cssStyleElementFiltersCheckboxStyle3BgColor","cssStyleElementFiltersCheckStyle3Border","cssStyleElementFiltersCheckStyle3Shadow"]},".brz &&.brz-filters__option--style-4 .brz-filters__checkbox-option:hover":{standart:["cssStyleBgImage","cssStyleBgImagePosition"]},".brz &&.brz-filters__option--style-3 .brz-filters__radio-option:hover":{standart:["cssStyleElementFiltersCheckboxStyle3BgColor","cssStyleElementFiltersCheckStyle3Border","cssStyleElementFiltersCheckStyle3Shadow"]},".brz &&.brz-filters__option--style-4 .brz-filters__radio-option:hover":{standart:["cssStyleBgImage","cssStyleBgImagePosition"]}}})}},53417:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return c},getItems:function(){return d}});const r=o(64985),i=o(81405),n=o(69321),a=o(68256),l=o(57582),s=o(24119),c=e=>{let{filterType:t,checkboxType:o,dataSource:r}=e;return{getItems:d({filterType:t,checkboxType:o,dataSource:r})}},d=e=>{let{filterType:t,checkboxType:o,dataSource:c}=e;return e=>{let{v:d,device:u,state:p}=e;const f=e=>(0,n.defaultValueValue)({v:d,key:e,device:u}),{hex:m}=(0,a.getOptionColorHexByPalette)(f("checkStyle3BgColorHex"),f("checkStyle3BgColorPalette")),y="manual"!==c,g="manual"===c,b="checkbox"===t,h="checkrange"===t,v="select"===t,S="radio"===t,w="style-1"===o,x="style-2"===o,M="style-3"===o,T="style-4"===o;return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-filters",title:(0,r.t)("Filter")},position:10,devices:"desktop",options:[{id:"itemsTabs",type:"tabs",tabs:[{id:"filter",label:"Filter",position:20,options:[{id:"selectDataSource",label:(0,r.t)("Data Source"),type:"select-dev",disabled:!v,position:20,choices:[{value:"manual",title:"Manual Input"},{value:"taxonomies",title:"Taxonomies"},{value:"posts",title:"Posts"},{value:"custom",title:"Custom"}]}]},{id:"item",label:"Items",position:40,options:[{id:"spacing",type:"slider-dev",disabled:!0}]},{id:"items",label:"Item",position:60,options:[{id:"checkRangeMin",label:(0,r.t)("Min"),type:"number-dev",disabled:!h,config:{min:0,max:9999999999,size:"large"}},{id:"checkRangeMax",label:(0,r.t)("Max"),type:"number-dev",disabled:!h,config:{min:0,max:9999999999,size:"large"}},(b||S)&&(w||x||M)?{id:"checkLabel",label:(0,r.t)("Label"),type:"inputText-dev",position:20,placeholder:(0,r.t)("Label")}:{},h?{id:"checkRangeLabel",label:(0,r.t)("Label"),type:"inputText-dev",position:20,placeholder:(0,r.t)("Label")}:{},w||x||(M||T)&&g?{id:"checkValue",label:(0,r.t)("Value"),type:"inputText-dev",position:20,placeholder:(0,r.t)("Value"),disabled:!(b||S)}:{},(M||T)&&y?{id:"checkSelectValue",label:(0,r.t)("Value"),type:"select-dev",disabled:!(b||S),config:{size:"large"},choices:[{value:"AA",title:"AA"},{value:"BB",title:"BB"}]}:{},(b||S)&&T?(0,l.toolbarBgImage)({v:d,device:u,state:p,onChange:["onChangeBgImage","onChangeBgImageBgOpacity","onChangeBgImageDependencies","onChangeBgImageColumnAndRowSyncMobile"]}):{}]}]}]},(b||S)&&M?{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(m,d.checkStyle3BgColorOpacity)}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBgCheckStyle3",label:(0,r.t)("Bg"),options:[{id:"checkStyle3BgColor",type:"colorPicker-dev",states:[s.NORMAL,s.HOVER]}]},{id:"Border",label:(0,r.t)("Border"),options:[{id:"checkStyle3Border",type:"border-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabCheckIconBoxShadow",label:(0,r.t)("Shadow"),options:[{id:"checkStyle3BoxShadow",type:"boxShadow-dev",devices:"desktop",states:[s.NORMAL,s.HOVER]}]},{id:"tabBgCheckbox",label:(0,r.t)("Bg"),options:[{id:"checkboxBgColor",type:"colorPicker-dev",disabled:!0}]},{id:"tabCheckboxBorder",label:(0,r.t)("Border"),options:[{id:"checkboxBorder",type:"border-dev",disabled:!0}]},{id:"tabCheckboxBoxShadow",label:(0,r.t)("Shadow"),options:[{id:"checkboxBoxShadow",type:"boxShadow-dev",disabled:!0}]}]}]}:{},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},position:110,options:[w||x||T?{id:"checkColorSize",type:"slider-dev",disabled:!0}:{},w||x||M?{id:"imgWidth",type:"slider-dev",disabled:!0}:{},w||x||M?{id:"imgHeight",type:"slider-dev",disabled:!0}:{}]}]}}},16756:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ActiveFilters",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(67439)),n=o(73948);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{toolbarConfig:t,style:o,toolbarConfigIcon:a}=e;const l=["Dress","Ones","Twos","Shoes"];return r.default.createElement(r.default.Fragment,null,new Array(1).fill("").map(((e,s)=>r.default.createElement("div",{key:`tag-${s}`,className:"brz-filters__option"},r.default.createElement("div",{className:"brz-filters__tag"},r.default.createElement(i.default,t,r.default.createElement("span",{className:"brz-filters__tag__text"},l[s])),"style-1"===o&&r.default.createElement(i.default,a,r.default.createElement("div",{className:"brz-filters__tag__close-icon"},r.default.createElement(n.ThemeIcon,{name:"close",type:"editor"}))))))))}},87373:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ButtonFilters",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(67439)),n=o(66848);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{btnText:t,toolbar:o,textChange:a}=e;return r.default.createElement(i.default,o,r.default.createElement("div",{className:"brz-filters__btn-wrapper"},r.default.createElement("button",{className:"brz-filters__apply"},r.default.createElement(n.TextEditor,{className:"brz-filters__btn-text",value:t,onChange:a}))))}},40592:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CheckboxFilters",{enumerable:!0,get:function(){return u}});const r=d(o(27378)),i=d(o(33364)),n=(o(73948),d(o(60042))),a=d(o(67439)),l=o(64985),s=o(31916),c=d(o(53125));function d(e){return e&&e.__esModule?e:{default:e}}const u=e=>{let{showCounter:t,checkboxType:o,toolbarConfig:d,fake:u=!1,value:p="value",label:f="label",className:m="brz-filters__option",selectValue:y="",toolbarConfigIcon:g,showPlaceholder:b=!0}=e;const h="style-1"===o,v="style-2"===o,S="style-3"===o,w="style-4"===o,x=(0,n.default)("brz-control__check-group-icon",!h&&"brz-hidden"),M=["Dress","Jeans","Shoes","Sweatshirt"],T=[4,13,7,1];return r.default.createElement(r.default.Fragment,null,new Array(u?4:1).fill("").map(((e,o)=>r.default.createElement(a.default,{...d,key:`key-${o}`},r.default.createElement("div",{className:m},r.default.createElement(s.CheckGroupItem,{key:`key-${o}`,className:"brz-filters__checkbox-option",name:`example${o}`,value:S||w?y:p,renderIcons:()=>((e,t)=>r.default.createElement(a.default,t,r.default.createElement("div",{className:e},r.default.createElement(i.default,{className:"brz-d-block",icon:"nc-check-square-off"}))))(x,g)},h||v?r.default.createElement("span",{className:"brz-filters__checkbox-option-name"},u?(0,l.t)(M[o]):f):null,w&&b?r.default.createElement(c.default,{icon:"img"}):null,"on"===t&&(h||v)?r.default.createElement("span",{className:"brz-filters__counter"},"(",T[o],")"):null))))))}},76662:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CheckrangeFilters",{enumerable:!0,get:function(){return c}});const r=s(o(27378)),i=s(o(67439)),n=s(o(60042)),a=(o(73948),s(o(33364))),l=o(31916);function s(e){return e&&e.__esModule?e:{default:e}}const c=e=>{let{showCounter:t,checkboxType:o,toolbarConfig:s,label:c="",className:d="brz-filters__option",toolbarConfigIcon:u,min:p,max:f}=e;const m="style-1"===o,y="style-2"===o,g=(0,n.default)("brz-control__check-group-icon",y&&"brz-hidden"),b=[4,13,7,1],h=c.length?c.replace("[min]",p).replace("[max]",f):"$0 - 100$";return r.default.createElement(r.default.Fragment,null,new Array(1).fill("").map(((e,o)=>r.default.createElement(i.default,{...s,key:`key-${o}`},r.default.createElement("div",{className:d},r.default.createElement(l.CheckGroupItem,{key:`key-${o}`,className:"brz-filters__checkbox-option",name:`example${o}`,value:`example${o}`,renderIcons:()=>((e,t)=>r.default.createElement(i.default,t,r.default.createElement("div",{className:e},r.default.createElement(a.default,{className:"brz-d-block",icon:"nc-check-square-off"}))))(g,u)},h.length?r.default.createElement("span",{className:"brz-filters__checkbox-option-name"},h):null,"on"===t&&(m||y)?r.default.createElement("span",{className:"brz-filters__counter"},"(",b[o],")"):null))))))}},65907:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DateFilters",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(67439)),n=o(66848);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{native:t,textTo:o,textFrom:a,onChangeTextFrom:l,onChangeTextTo:s,labelDateFrom:c,labelDateTo:d,toolbarConfig:u,toolbarConfigLabel:p,onChangeLabelTo:f,onChangeLabelFrom:m}=e;return r.default.createElement("div",{className:"brz-filters__date--wrapper"},r.default.createElement("div",{className:"brz-filters__date"},r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,p,r.default.createElement(n.TextEditor,{className:"brz-filters__date--label",value:c,onChange:m})),r.default.createElement(i.default,u,r.default.createElement("div",{className:"brz-filters__option brz-filters__date-option"},r.default.createElement(n.TextEditor,{value:a,onChange:l}))))),r.default.createElement("div",{className:"brz-filters__date"},r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,p,r.default.createElement(n.TextEditor,{className:"brz-filters__date--label",value:d,onChange:f})),r.default.createElement(i.default,u,r.default.createElement("div",{className:"brz-filters__option brz-filters__date-option"},r.default.createElement(n.TextEditor,{value:o,onChange:s}))))))}},53089:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{ActiveFilters:function(){return r.ActiveFilters},ButtonFilters:function(){return i.ButtonFilters},CheckboxFilters:function(){return n.CheckboxFilters},CheckrangeFilters:function(){return a.CheckrangeFilters},DateFilters:function(){return l.DateFilters},RadioFilters:function(){return s.RadioFilters},RangeFilters:function(){return c.RangeFilters},RatingFilters:function(){return d.RatingFilters},SelectFilters:function(){return u.SelectFilters},SearchFilters:function(){return p.SearchFilters}});const r=o(16756),i=o(87373),n=o(40592),a=o(76662),l=o(65907),s=o(66665),c=o(51336),d=o(26296),u=o(80588),p=o(16684)},66665:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RadioFilters",{enumerable:!0,get:function(){return c}});const r=s(o(27378)),i=s(o(67439)),n=o(64985),a=o(80425),l=s(o(53125));function s(e){return e&&e.__esModule?e:{default:e}}const c=e=>{let{showCounter:t,checkboxType:o,toolbarConfig:s,fake:c=!1,value:d="value",label:u="label",className:p="brz-filters__option",selectValue:f="",toolbarConfigIcon:m,name:y="",showPlaceholder:g=!0}=e;const b="style-1"===o,h="style-2"===o,v="style-3"===o,S="style-4"===o,w=["American Express","MasterCard","Visa","PayPal"],x=[4,8,7,14];return r.default.createElement(r.default.Fragment,null,new Array(c?4:1).fill("").map(((e,o)=>r.default.createElement(i.default,{...s,key:`key-${o}`},r.default.createElement("div",{className:p},r.default.createElement(a.RadioItem,{key:`key-${o}`,className:"brz-filters__radio-option",value:v||S?f:d,name:y,checkIcon:"check-circle-on",unCheckIcon:"check-circle-off",toolbarIcon:m},b||h?r.default.createElement("span",{className:"brz-filters__radio-option-name"},c?(0,n.t)(w[o]):u):null,S&&g?r.default.createElement(l.default,{icon:"img"}):null,"on"===t&&(b||h)?r.default.createElement("span",{className:"brz-filters__counter"},"(",x[o],")"):null))))))}},51336:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RangeFilters",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(67439));function n(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{toolbarConfig:t,toolbarConfigLabel:o,showText:n,label:a,min:l,max:s,step:c}=e;const d=a.length?a.replace("[min]",`${l}`).replace("[max]",`${s}`):"$0 - 100$";return a.length&&a.replace("[min]",`${l}`).replace("[max]",`${s}`),r.default.createElement("div",{className:"brz-filters__option brz-filters__range"},r.default.createElement(i.default,t,r.default.createElement("div",{className:"brz-filters__range--wrapper"},r.default.createElement("div",{className:"brz-filters__range__slider"},r.default.createElement("div",{className:"brz-filters__range__slider--active"})),r.default.createElement("span",{className:"brz-filters__range__slider-handle brz-filters__range__slider--start"}),r.default.createElement("span",{className:"brz-filters__range__slider-handle brz-filters__range__slider--end"}))),"on"===n&&r.default.createElement(i.default,o,r.default.createElement("span",{className:"brz-filters__range__text"},d)))}},26296:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RatingFilters",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=o(73948),n=a(o(67439));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{iconName:t,iconType:o,toolbarConfig:a,starCount:l}=e;const s=Array(+l).fill("").map(((e,n)=>r.default.createElement("div",{key:n,className:"brz-filters__option brz-starrating-icon-wrap"},r.default.createElement(i.ThemeIcon,{name:t,type:o,className:"brz-filters__rating--color-empty"}),r.default.createElement("span",{className:"brz-filters__rating--color brz-starrating-color",style:{width:`calc((${+l-1} - ${n}) * 100%)`}},r.default.createElement(i.ThemeIcon,{className:"brz-filters__rating-icon",name:t,type:o})))));return r.default.createElement(n.default,a,r.default.createElement("div",{className:"brz-filters__rating"},s))}},16684:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SearchFilters",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),i=l(o(67439)),n=o(73948),a=o(66848);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{toolbarConfig:t,value:o="",onChange:l}=e;return r.default.createElement(i.default,t,r.default.createElement("div",{className:"brz-filters__option brz-filters__search-option"},r.default.createElement(a.TextEditor,{className:"brz-filters__search",value:o,onChange:l}),r.default.createElement(n.ThemeIcon,{name:"search",type:"editor",className:"brz-filters__search--icon"})))}},80588:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SelectFilters",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=d(o(27998)),n=d(o(10301)),a=d(o(17882)),l=o(66848),s=o(73948),c=d(o(67439));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=e=>{let{id:t,toolbar:o,toolbarSelectOption:d,text:u="",dataSource:p="",classNames:f,handleTextChange:m,children:y}=e;const[g,b]=(0,r.useState)(!1),h=r.default.createRef(),v=n.default.debounce((()=>{if(h.current){const e=h.current.querySelector(".brz-filters__select__item");return e&&5*e.getBoundingClientRect().height}return"100px"}),0),S=e=>r.default.createElement("div",{ref:h,className:"brz-filters__select__dropdown"},r.default.createElement(i.default,{autoHeight:!0,autoHeightMax:v()},e));return r.default.createElement(a.default,{exceptions:[".brz-filters__select__dropdown",".brz-portal-forms__select",".brz-ed-toolbar",".brz-ed-tooltip__content-portal",".brz-ed-eyeDropper"],onClickOutside:()=>{g&&b(!g)}},r.default.createElement("div",{className:f},r.default.createElement(c.default,o,r.default.createElement("div",{className:"brz-filters__select-option",onClick:e=>{e.preventDefault(),b(!g)}},r.default.createElement(l.TextEditor,{className:"brz-filters__select",value:u,onChange:m}),r.default.createElement(s.ThemeIcon,{name:"arrow-down",type:"editor",className:"brz-filters__select--icon"}))),"manual"===p&&g&&S(y),"manual"!==p&&g&&S((e=>{const t=["London","Tokyo","Moskow","New York"];return Array(4).fill("").map(((o,i)=>r.default.createElement(c.default,{key:i,...e},r.default.createElement("div",{className:"brz-filters__select__item brz-filters__select__input"},r.default.createElement("input",{className:"brz-input brz-input__select",value:t[i],disabled:!0})))))})(d))))}},99198:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=c(o(27378)),i=c(o(63692)),n=c(o(44945)),a=c(o(67439)),l=u(o(36570)),s=u(o(89222));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class p extends i.default{static get componentId(){return"FiltersOption"}static defaultValue=n.default;renderForEdit(e){return r.default.createElement(a.default,this.makeToolbarPropsFromConfig2(l,s,{allowExtend:!0}),r.default.createElement("div",{className:"brz-filters__select__item brz-filters__select__input"},r.default.createElement("input",{className:"brz-input brz-input__select",value:e.label,disabled:!0})))}renderForView(e){return r.default.createElement("option",{value:e.label},e.label)}}},89222:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Filter Item");function n(){return[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Styling"),icon:"nc-styling",options:[]}]}]}},36570:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarCurrentShortcodeItem",type:"popover-dev",config:{icon:"nc-filters",title:(0,r.t)("Filter")},devices:"desktop",position:70,options:[{id:"itemsTabs",type:"tabs",tabs:[{id:"item",label:"Item",position:90,options:[{id:"value",label:(0,r.t)("Value"),type:"inputText-dev",position:20,placeholder:(0,r.t)("Value")},{id:"label",label:(0,r.t)("Label"),type:"inputText-dev",position:20,placeholder:(0,r.t)("Label")}]}]}]}]}},65204:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=o(64985),i={getItems:()=>[{id:"main",type:"group",title:(0,r.t)("Filters"),icon:"nc-filters",disabled:(e,t)=>t.isInSubMenu,items:[]}]}},42585:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return I}});const r=z(o(60042)),i=z(o(27378)),n=z(o(39552)),a=z(o(31916)),l=z(o(80425)),s=o(66848),c=z(o(36275)),d=z(o(67439)),u=z(o(63692)),p=o(53089),f=o(94220),m=o(86022),y=z(o(65204)),g=z(o(67797)),b=z(o(56486)),h=j(o(69896)),v=j(o(78180)),S=j(o(30098)),w=j(o(42482)),x=j(o(31218)),M=o(81190),T=j(o(96095)),P=j(o(17620)),C=j(o(94729)),k=j(o(5385)),_=j(o(56983)),O=j(o(7289)),E=j(o(10066));function z(e){return e&&e.__esModule?e:{default:e}}function B(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(B=function(e){return e?o:t})(e)}function j(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=B(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class N extends u.default{static get componentId(){return"Filters"}static defaultValue=g.default;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(C,S,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}_parent`});this.props.extendParentToolbar(e)}handleTextChange=e=>{this.patchValue({title:e})};handleBtnTextChange=e=>{this.patchValue({btnText:e})};handleSearchTextChange=e=>{this.patchValue({searchText:e})};handleLabelFromChange=e=>{this.patchValue({labelDateFrom:e})};handleLabelToChange=e=>{this.patchValue({labelDateTo:e})};handleTextToChange=e=>{this.patchValue({textDateTo:e})};handleTextFromChange=e=>{this.patchValue({textDateFrom:e})};renderForEdit(e,t,o){const{title:u,filterType:g,iconName:S,iconType:C,showCounter:z,checkboxType:B,showApply:j,btnText:N,activeStyle:I,showLabel:L,showRangeText:D,starCount:F,hierarchical:A,dataSource:R,searchText:W,labelDateFrom:H,labelDateTo:V,rangeLabel:U,rangeMin:G,rangeMax:$,rangeStep:Q,textDateFrom:Y,textDateTo:Z,dateType:K}=e,q="manual"!==R,X="style-1"===B,J="style-2"===B,ee=this.getId(),te=(0,r.default)("brz-filters",`brz-filters__${g}`,"on"===A&&"brz-filters__hierarchical",(0,f.css)(this.constructor.componentId,this.getId(),(0,M.style)(e,t,o))),oe=`brz-filters__checkbox brz-filters__checkbox--${B}`,re=`brz-filters__radio brz-filters__radio--${B}`,ie=this.makeToolbarPropsFromConfig2(_),ne=this.makeToolbarPropsFromConfig2(P,v),ae=this.makeToolbarPropsFromConfig2(k,w),le=this.makeToolbarPropsFromConfig2(O,x),se=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:this.props.meta,filterType:g,showCounter:z,checkboxType:B,activeStyle:I,dataSource:R,toolbarIcon:ae,toolbarSelectOption:le,name:ee},toolbarExtend:this.makeToolbarPropsFromConfig2(P,v)});return i.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement("div",{className:"brz-filters__main","data-filter-type":g},i.default.createElement(m.Wrapper,this.makeWrapperProps({className:te}),i.default.createElement(n.default,this.makeContextMenuProps(y.default),i.default.createElement("div",{className:"brz-filters__wrapper"},"on"===L&&i.default.createElement(d.default,this.makeToolbarPropsFromConfig2(E),i.default.createElement(s.TextEditor,{className:"brz-filters__title",value:u,onChange:this.handleTextChange})),"checkbox"===g&&i.default.createElement(a.default,{className:oe},q&&(X||J)?i.default.createElement(p.CheckboxFilters,{showCounter:z,checkboxType:B,toolbarConfig:ne,fake:!0,toolbarConfigIcon:ae}):i.default.createElement(b.default,se)),"checkrange"===g&&i.default.createElement(a.default,{className:oe},i.default.createElement(b.default,se)),"radio"===g&&i.default.createElement(l.default,{className:re},q&&(X||J)?i.default.createElement(p.RadioFilters,{showCounter:z,checkboxType:B,toolbarConfig:ne,fake:!0,toolbarConfigIcon:ae}):i.default.createElement(b.default,se)),"active"===g&&i.default.createElement("div",{className:"brz-filters__tags brz-filters__active-filters"},i.default.createElement(b.default,se)),"range"===g&&i.default.createElement(p.RangeFilters,{toolbarConfig:ne,toolbarConfigLabel:ie,showText:D,label:U,min:G,max:$,step:Q}),"rating"===g&&i.default.createElement(p.RatingFilters,{iconName:S,iconType:C,toolbarConfig:ne,starCount:F}),"search"===g&&i.default.createElement(p.SearchFilters,{toolbarConfig:ne,onChange:this.handleSearchTextChange,value:W}),"date"===g&&i.default.createElement(p.DateFilters,{native:K,textTo:Z,textFrom:Y,onChangeTextFrom:this.handleTextFromChange,onChangeTextTo:this.handleTextToChange,labelDateFrom:H,labelDateTo:V,onChangeLabelFrom:this.handleLabelFromChange,onChangeLabelTo:this.handleLabelToChange,toolbarConfig:ne,toolbarConfigLabel:ie}),"select"===g&&i.default.createElement(b.default,se),"on"===j&&i.default.createElement(p.ButtonFilters,{btnText:N,textChange:this.handleBtnTextChange,toolbar:this.makeToolbarPropsFromConfig2(T,h,{allowExtend:!1})}))))))}}const I=N},56486:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(i=o(10787))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(67439);class l extends r.default{static get componentId(){return"Filters.Items"}static defaultProps={className:"",style:{},meta:{}};getItemProps(e,t,o){const r={getItems:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,n.t)("Duplicate"),devices:"desktop",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,n.t)("Delete"),devices:"desktop",position:210,disabled:1===o.length,onChange:()=>{(0,a.hideToolbar)(),this.removeItem(t)}}]};return{...super.getItemProps(e,t,o),toolbarExtend:this.makeToolbarPropsFromConfig2(r,null)}}}},69896:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Button");function n(){return[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Styling"),icon:"nc-styling",options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:65}]}]}]}},78180:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Filter Item");function n(e){let{v:t}=e;const o="checkbox"===t.filterType||"radio"===t.filterType||"checkrange"===t.filterType,i="active"===t.filterType,n="range"===t.filterType,a="style-1"===t.checkboxType,l="style-2"===t.checkboxType,s="style-3"===t.checkboxType,c="style-4"===t.checkboxType;return[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Styling"),icon:"nc-styling",options:[(o||i)&&(a||l||c)?{id:"checkboxPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50}:{},o&&s?{id:"checkboxCustomStylesPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50}:{},(o||i)&&(a||l||c)?{id:"checkboxBorder",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",prefix:"checkbox",position:65}:{},o&&s?{id:"checkboxCustomStylesBorder",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",prefix:"checkboxCustomStyles",position:65}:{},o||i||n?{}:{id:"optionsPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50},o||i?{}:{id:"optionsBorder",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",prefix:"options",position:65}]}]}]}},30098:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Filters");function i(){return[]}},42482:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Icon");function n(){return[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Styling"),icon:"nc-styling",options:[{id:"checkIconBorder",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",prefix:"checkIcon",position:65}]}]}]}},31218:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Select Item");function n(){return[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Styling"),icon:"nc-styling",options:[{id:"selectItemPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50}]}]}]}},81190:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-filters__wrapper":{standart:["cssStyleElementFiltersOptionWidth"]},".brz && .brz-filters__title:hover":{standart:["cssStyleElementFiltersTitleTypography2FontFamily","cssStyleElementFiltersTitleTypography2FontSize","cssStyleElementFiltersTitleTypography2FontWeight","cssStyleElementFiltersTitleTypography2LetterSpacing","cssStyleElementFiltersTitleTypography2LineHeight","cssStyleElementFiltersTitleColor","cssStyleElementFiltersTitleSpacing","cssStyleFlexHorizontalAlign"]},".brz && .brz-filters__option":{standart:["cssStyleElementFiltersCheckboxColumns","cssStyleElementFiltersCheckboxColumnsCustomStyles","cssStyleElementFiltersActiveColumns"]},".brz && .brz-filters__checkbox-option:hover":{standart:["cssStyleElementFiltersCheckboxTextColor","cssStyleElementFiltersCheckboxBgColor","cssStyleElementFiltersCheckboxBorder","cssStyleElementFiltersCheckboxShadow","cssStyleElementFiltersCheckTypography2FontFamily","cssStyleElementFiltersCheckTypography2FontSize","cssStyleElementFiltersCheckTypography2FontWeight","cssStyleElementFiltersCheckTypography2LetterSpacing","cssStyleElementFiltersCheckTypography2LineHeight","cssStyleElementFiltersPaddingCheckbox","cssStyleElementFiltersCheckboxBorderRadius","cssStyleElementFiltersCheckboxOrientationFull","cssStyleElementFiltersCheckboxFullAlign"]},".brz && .brz-filters__checkbox-option:hover .brz-label":{standart:[]},".brz && .brz-filters__radio-option:hover":{standart:["cssStyleElementFiltersCheckboxTextColor","cssStyleElementFiltersCheckboxBgColor","cssStyleElementFiltersCheckboxBorder","cssStyleElementFiltersCheckboxShadow","cssStyleElementFiltersCheckTypography2FontFamily","cssStyleElementFiltersCheckTypography2FontSize","cssStyleElementFiltersCheckTypography2FontWeight","cssStyleElementFiltersCheckTypography2LetterSpacing","cssStyleElementFiltersCheckTypography2LineHeight","cssStyleElementFiltersPaddingCheckbox","cssStyleElementFiltersCheckboxBorderRadius","cssStyleElementFiltersCheckboxOrientationFull","cssStyleElementFiltersCheckboxFullAlign"]},".brz && .brz-filters__radio-option:hover .brz-label":{standart:[]},".brz && .brz-filters__radio-option.brz-filters__radio-option--active:hover .brz-label":{standart:["cssStyleElementFiltersCheckboxActiveTextColor","cssStyleElementFiltersCheckboxActiveBgColor","cssStyleElementFiltersCheckboxActiveBorder","cssStyleElementFiltersCheckboxActiveShadow"]},".brz && .brz-filters__checkbox-option.brz-filters__checkbox-option--active:hover .brz-label":{standart:["cssStyleElementFiltersCheckboxActiveTextColor","cssStyleElementFiltersCheckboxActiveBgColor","cssStyleElementFiltersCheckboxActiveBorder","cssStyleElementFiltersCheckboxActiveShadow"]},".brz &&.brz-filters__select .brz-filters__option":{standart:["cssStyleElementFiltersOptionSpacing"]},".brz &&.brz-filters__select .brz-filters__wrapper":{standart:["cssStyleElementFiltersOptionSpacingMinus"]},".brz && .brz-filters__select-option:hover":{standart:["cssStyleElementFiltersOptionsColor","cssStyleElementFiltersOptionsBgColor","cssStyleBoxShadow","cssStyleElementFiltersOptionsBorder","cssStyleElementFiltersOptionTypography2FontFamily","cssStyleElementFiltersOptionTypography2FontSize","cssStyleElementFiltersOptionTypography2FontWeight","cssStyleElementFiltersOptionTypography2LetterSpacing","cssStyleElementFiltersOptionTypography2LineHeight","cssStyleElementFiltersPaddingOptions","cssStyleElementFiltersOptionsBorderRadius"]},".brz && .brz-filters__select__dropdown:hover":{standart:["cssStyleElementFiltersSelectOptionShadow","cssStyleElementFiltersOptionsBorder","cssStyleElementFiltersOptionWidth"]},".brz && .brz-filters__select__item:hover":{standart:["cssStyleElementFiltersSelectOptionTypography2FontFamily","cssStyleElementFiltersSelectOptionTypography2FontSize","cssStyleElementFiltersSelectOptionTypography2FontWeight","cssStyleElementFiltersSelectOptionTypography2LetterSpacing","cssStyleElementFiltersSelectOptionTypography2LineHeight","cssStyleElementFiltersSelectOptionColor","cssStyleElementFiltersSelectOptionBgColor","cssStyleElementFiltersPaddingSelectItems"]},".brz && .brz-filters__select__item:not(:last-child):hover":{standart:["cssStyleElementFiltersSelectOptionBorder"]},".brz && .brz-filters__search-option:hover":{standart:["cssStyleElementFiltersOptionsColor","cssStyleElementFiltersOptionsBgColor","cssStyleBoxShadow","cssStyleElementFiltersOptionsBorder","cssStyleElementFiltersOptionTypography2FontFamily","cssStyleElementFiltersOptionTypography2FontSize","cssStyleElementFiltersOptionTypography2FontWeight","cssStyleElementFiltersOptionTypography2LetterSpacing","cssStyleElementFiltersOptionTypography2LineHeight","cssStyleElementFiltersPaddingOptions","cssStyleElementFiltersOptionsBorderRadius"]},".brz &&.brz-filters__date .brz-filters__date--wrapper":{standart:["cssStyleElementFiltersOptionSpacing"]},".brz &&.brz-filters__date .brz-filters__wrapper":{standart:["cssStyleElementFiltersOptionSpacingMinus"]},".brz && .brz-filters__date-option:hover":{standart:["cssStyleElementFiltersOptionsColor","cssStyleElementFiltersOptionsBgColor","cssStyleBoxShadow","cssStyleElementFiltersOptionsBorder","cssStyleElementFiltersOptionTypography2FontFamily","cssStyleElementFiltersOptionTypography2FontSize","cssStyleElementFiltersOptionTypography2FontWeight","cssStyleElementFiltersOptionTypography2LetterSpacing","cssStyleElementFiltersOptionTypography2LineHeight","cssStyleElementFiltersPaddingOptions","cssStyleElementFiltersOptionsBorderRadius"]},".brz && .brz-filters__option.brz-filters__date-option":{standart:["cssStyleElementFiltersDateOptionWidthFix"]},".brz && .brz-filters__checkbox-option, .brz && .brz-filters__radio-option":{standart:["cssStyleElementFiltersCheckRadioWidth","cssStyleFlexHorizontalAlignOption","cssStyleElementFiltersCheckboxBorderRadiusCustomStyles","cssStyleElementFiltersPaddingCheckboxCustomStyles","cssStyleElementFiltersCheckColor3","cssStyleElementFiltersCheckImgHeight","cssStyleElementFiltersCheckImgWidth"]},".brz && .brz-filters__checkbox-option:hover .brz-control__check-group-icon .brz-icon-svg":{standart:["cssStyleElementFiltersCheckboxTextColor","cssStyleElementFiltersCheckIconColor","cssStyleElementFiltersCheckSize","cssStyleElementFiltersCheckIconBorder","cssStyleElementFiltersCheckIconBorderRadius","cssStyleElementFiltersCheckIconShadow"]},".brz && .brz-filters__checkbox-option--active .brz-control__check-group-icon .brz-icon-svg":{standart:["cssStyleElementFiltersActiveCheckIconColor","cssStyleElementFiltersActiveCheckIconBorder","cssStyleElementFiltersActiveCheckIconShadow"]},".brz && .brz-filters__radio-option:hover .brz-control__radio-check":{standart:["cssStyleElementFiltersCheckboxTextColor","cssStyleElementFiltersCheckIconColor","cssStyleElementFiltersCheckSize","cssStyleElementFiltersCheckIconBorder","cssStyleElementFiltersCheckIconBorderRadius","cssStyleElementFiltersCheckIconShadow"]},".brz && .brz-filters__radio-option:hover .brz-control__radio-icon":{standart:["cssStyleElementFiltersCheckboxTextColor","cssStyleElementFiltersCheckIconColor","cssStyleElementFiltersCheckSize","cssStyleElementFiltersCheckIconBorder","cssStyleElementFiltersCheckIconBorderRadius","cssStyleElementFiltersCheckIconShadow"]},".brz && .brz-filters__radio-option--active .brz-control__radio--check":{standart:["cssStyleElementFiltersActiveCheckIconColor","cssStyleElementFiltersActiveCheckIconBorder","cssStyleElementFiltersActiveCheckIconShadow"]},".brz && .brz-filters__container":{standart:["cssStyleFlexHorizontalAlignOption"]},".brz && .brz-filters__checkbox--style-1 .brz-filters__option, .brz && .brz-filters__radio--style-1 .brz-filters__option":{standart:["cssStyleElementFiltersGapStyle1"]},".brz && .brz-filters__checkbox--style-4 .brz-filters__option, .brz && .brz-filters__radio--style-4 .brz-filters__option, .brz && .brz-filters__checkbox--style-3 .brz-filters__option, .brz && .brz-filters__radio--style-3 .brz-filters__option":{standart:["cssStyleElementFiltersGapStyle1"]},".brz && .brz-filters__checkbox--style-2 .brz-filters__option, .brz && .brz-filters__radio--style-2 .brz-filters__option":{standart:["cssStyleElementFiltersGapStyle1"]},".brz && .brz-filters__checkbox, .brz && .brz-filters__radio":{standart:["cssStyleElementFiltersCheckboxOrientation","cssStyleElementFiltersCheckboxOrientationCustomStyles","cssStyleFlexHorizontalAlignForInline","cssStyleElementFiltersGapStyle1Revert"]},".brz && .brz-filters__checkbox-option-name, .brz && .brz-filters__radio-option-name":{standart:["cssStyleElementFiltersSpacing"]},".brz && .brz-filters__checkrange--text":{standart:["cssStyleElementFiltersSpacing"]},".brz && .brz-filters__tag:hover .brz-filters__tag__close-icon":{standart:["cssStyleElementFiltersSpacing","cssStyleElementFiltersCheckIconBorder","cssStyleElementFiltersCheckIconShadow","cssStyleElementFiltersCheckIconColor","cssStyleElementFiltersCheckSize"]},".brz && .brz-filters__checkbox .brz-filters__option, .brz && .brz-filters__radio .brz-filters__option":{standart:["cssStyleFlexHorizontalAlignOption"]},".brz && .brz-filters__checkbox--style-3, .brz && .brz-filters__radio--style-3":{standart:["cssStyleFlexHorizontalAlignOption"]},".brz && .brz-filters__rating:hover":{standart:["cssStyleFlexHorizontalAlignOption","cssStyleElementFiltersRatingActiveColor"]},".brz && .brz-filters__option.brz-starrating-icon-wrap.brz-filters__rating-hover":{standart:["cssStyleElementFiltersRatingHoverColor"]},".brz && .brz-filters__rating--color-empty:hover":{standart:["cssStyleElementFiltersRatingColor"]},".brz && .brz-filters__rating--color-empty":{standart:["cssStyleFlexHorizontalAlignOption"]},".brz && .brz-filters__rating .brz-filters__option:not(:last-child)":{standart:["cssStyleElementFiltersIconSpacing"]},".brz && .brz-filters__rating--color, .brz && .brz-filters__rating--color-empty":{standart:["cssStyleSizeFontSizeIcon"]},".brz && .brz-filters__btn-wrapper":{standart:["cssStyleFlexHorizontalAlignBtn"]},".brz && .brz-filters__apply:hover":{standart:["cssStyleElementFiltersBtnTypography2FontFamily","cssStyleElementFiltersBtnTypography2FontSize","cssStyleElementFiltersBtnTypography2FontWeight","cssStyleElementFiltersBtnTypography2LetterSpacing","cssStyleElementFiltersBtnTypography2LineHeight","cssStyleElementFiltersBtnWidth","cssStyleFlexHorizontalAlignBtn","cssStyleBorderRadius","cssStyleColor","cssStyleBgColor","cssStyleBgGradient","cssStyleBoxShadow","cssStylePaddingFourFields","cssStyleElementFiltersBtnHeight","cssStyleBorder","cssStyleElementFiltersBtnSpacing"]},".brz && .brz-filters__tags":{standart:["cssStyleFlexHorizontalAlignOption"]},".brz && .brz-filters__tag:hover":{standart:["cssStyleElementFiltersCheckboxTextColor","cssStyleElementFiltersCheckboxBgColor","cssStyleElementFiltersCheckboxBorder","cssStyleElementFiltersCheckboxShadow","cssStyleElementFiltersPaddingCheckbox","cssStyleElementFiltersCheckboxBorderRadius","cssStyleElementFiltersActiveWidth","cssStyleElementFiltersCheckTypography2FontFamily","cssStyleElementFiltersCheckTypography2FontSize","cssStyleElementFiltersCheckTypography2FontWeight","cssStyleElementFiltersCheckTypography2LetterSpacing","cssStyleElementFiltersCheckTypography2LineHeight"]},".brz && .brz-filters__active-filters":{standart:["cssStyleElementFiltersActiveOrientation","cssStyleElementFiltersGapStyle1Revert","cssStyleFlexHorizontalAlignForActiveInline"]},".brz && .brz-filters__active-filters .brz-filters__option":{standart:["cssStyleElementFiltersGapStyle1","cssStyleFlexHorizontalAlignOption"]},".brz && .brz-filters__date":{standart:["cssStyleElementFiltersDateOptionWidth"]},".brz && .brz-filters__date:first-child":{standart:["cssStyleElementFiltersDateSpacing"]},".brz && .brz-filters__date--label:hover":{standart:["cssStyleElementFiltersLabelTypography2FontFamily","cssStyleElementFiltersLabelTypography2FontSize","cssStyleElementFiltersLabelTypography2FontWeight","cssStyleElementFiltersLabelTypography2LetterSpacing","cssStyleElementFiltersLabelTypography2LineHeight","cssStyleElementFiltersLabelColor","cssStyleElementFiltersLabelSpacing","cssStyleFlexHorizontalAlignLabel"]},".brz && .brz-filters__counter":{standart:["cssStyleElementFiltersCheckboxCounterFullPosition"]},".brz && .brz-filters__range__text:hover":{standart:["cssStyleElementFiltersLabelTypography2FontFamily","cssStyleElementFiltersLabelTypography2FontSize","cssStyleElementFiltersLabelTypography2FontWeight","cssStyleElementFiltersLabelTypography2LetterSpacing","cssStyleElementFiltersLabelTypography2LineHeight","cssStyleElementFiltersLabelColor","cssStyleElementFiltersLabelSpacing","cssStyleFlexHorizontalAlignLabel"]},".brz && .brz-filters__range--wrapper":{standart:["cssStyleElementFiltersRangeWrapperHeight"]},".brz && .brz-filters__range__slider":{standart:["cssStyleElementFiltersRangeStrokeBorderHeight","cssStyleElementFiltersRangeStrokeBorder","cssStyleElementFiltersOptionsBorderRadius","cssStyleElementFiltersRangeBorder"]},".brz && .brz-filters__range--slider":{standart:["cssStyleElementFiltersRangeStrokeBorderHeight","cssStyleElementFiltersRangeStrokeBorder","cssStyleElementFiltersOptionsBorderRadius","cssStyleElementFiltersRangeBorder","cssStyleElementFiltersRangeStrokeMargin"]},".brz && .brz-filters__range__slider--active":{standart:["cssStyleElementFiltersRangeStrokeBorderActive","cssStyleElementFiltersRangeStrokeBorderHeight"]},".brz && .brz-filters__range--slider .brz-filters__range--range":{standart:["cssStyleElementFiltersRangeStrokeBorderActive"]},".brz && .brz-filters__range--inputs":{standart:["cssStyleElementFiltersOptionWidth","cssStyleElementFiltersRangeInputsHeight"]},".brz && input[type=range].brz-filters__range--inputs::-webkit-slider-thumb":{standart:["cssStyleElementFiltersRangeInputsPointsHeight"]},".brz && .brz-filters__range__slider-handle":{standart:["cssStyleElementFiltersRangePointsBorder","cssStyleElementFiltersRangePointsBorderHeight","cssStyleElementFiltersRangeBorder"]},".brz && .brz-filters__range--slider .brz-filters__range--thumb":{standart:["cssStyleElementFiltersRangePointsBorder","cssStyleElementFiltersRangePointsBorderHeight","cssStyleElementFiltersRangeBorder"]},".brz && .brz-filters__range--slider .brz-filters__range--thumb.brz-filters__range--thumb--left":{standart:["cssStyleElementFiltersRangePointsTransition"]},".brz && .brz-filters__range--slider .brz-filters__range--thumb.brz-filters__range--thumb--right":{standart:["cssStyleElementFiltersRangePointsTransitionRight"]},".brz &&.brz-filters.brz-filters__hierarchical .brz-filters__option:nth-last-of-type(2)":{standart:["cssStyleElementFiltersHierarchicalSpacing"]},".brz &&.brz-filters.brz-filters__hierarchical .brz-filters__option:last-of-type":{standart:["cssStyleElementFiltersHierarchicalSpacing2X"]},".brz && .brz-filters__select .select2-selection:hover":{standart:[]},".brz && .brz-filters__select .select2-results__options:hover":{standart:["cssStyleElementFiltersSelectOptionColor","cssStyleElementFiltersSelectOptionBgColor","cssStyleElementFiltersPaddingOptions"]},".brz && .brz-filters__select .select2-results__options .select2-results__option:hover":{standart:["cssStyleElementFiltersPaddingSelectItems","cssStyleElementFiltersSelectOptionColor","cssStyleElementFiltersSelectOptionBgColor","cssStyleElementFiltersSelectOptionTypography2FontFamily","cssStyleElementFiltersSelectOptionTypography2FontSize","cssStyleElementFiltersSelectOptionTypography2FontWeight","cssStyleElementFiltersSelectOptionTypography2LetterSpacing","cssStyleElementFiltersSelectOptionTypography2LineHeight"]},".brz && .brz-filters__select .select2-selection__rendered":{standart:["cssStyleElementFiltersOptionTypography2FontFamily","cssStyleElementFiltersOptionTypography2FontSize","cssStyleElementFiltersOptionTypography2FontWeight","cssStyleElementFiltersOptionTypography2LetterSpacing","cssStyleElementFiltersOptionTypography2LineHeight"]},".brz && .brz-filters__select":{standart:["cssStyleElementFiltersOptionTypography2FontFamily","cssStyleElementFiltersOptionTypography2FontSize","cssStyleElementFiltersOptionTypography2FontWeight","cssStyleElementFiltersOptionTypography2LetterSpacing","cssStyleElementFiltersOptionTypography2LineHeight"]},".brz && .brz-filters__select .select2-results__options .select2-results__option:not(:last-child):hover":{standart:["cssStyleElementFiltersSelectOptionBorder"]},".brz && .brz-filters__select .select2-results__option--highlighted":{standart:["cssStyleElementFiltersSelectOptionsColors"]},".brz && .brz-filters__select .select2-selection .select2-selection__arrow":{standart:["cssStyleElementFiltersSelectArrow"]},".brz && .brz-filters__select:not(:last-child)":{standart:[]}}})}},96095:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),i=o(81405),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const{hex:s}=(0,a.getOptionColorHexByPalette)((0,n.defaultValueValue)({v:t,key:"bgColorHex",device:o}),(0,n.defaultValueValue)({v:t,key:"bgColorPalette",device:o}));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-button",title:(0,r.t)("Filter")},devices:"desktop",position:70,options:[{id:"btnSpacing",type:"slider-dev",label:(0,r.t)("Spacing"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabsTypographyBtnApply",label:(0,r.t)("Button"),options:[{id:"btn",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(s,t.bgColorHexOpacity)}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,r.t)("Bg"),options:[{id:"",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabText",label:(0,r.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"Border",label:(0,r.t)("Border"),options:[{id:"border",type:"border-dev",config:{width:["grouped"]},states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,r.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"horizontalAlignBtn",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},position:110,options:[{id:"btnWidth",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"btnHeight",label:(0,r.t)("Height"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"advancedSettings",devices:"desktop",type:"advancedSettings",label:(0,r.t)("More Settings"),icon:"nc-cog"}]}]}},17620:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return u}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=(e,t,o,r)=>(o||r)&&e?[...t,{value:"full",icon:"nc-filters-full"}]:t,c=e=>{let{activeStyle:t,checkboxType:o,filterType:r}=e;return!("active"===r&&"style-1"===t||"date"===r||"checkrange"===r&&"style-1"===o)},d=e=>{let{filterType:t,checkboxType:o,showCounter:r}=e;return"rating"===t?[{id:"tabRating",label:(0,i.t)("Rating"),options:[{id:"ratingActiveColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]:"range"===t?[{id:"tabRangeBg",label:(0,i.t)("Stroke"),options:[{id:"rangeStrokeBorder",type:"border-dev",config:{width:["grouped"],styles:["solid"]},states:[l.NORMAL,l.ACTIVE]}]},{id:"tabRangeBorder",label:(0,i.t)("Border"),options:[{id:"rangeBorder",type:"border-dev",config:{width:["grouped"]},states:[l.NORMAL]}]},{id:"tabRangeBtnBg",label:(0,i.t)("Points"),options:[{id:"rangePointsBorder",type:"border-dev",config:{width:["grouped"],styles:["solid"]},states:[l.NORMAL]}]}]:"checkbox"===t||"radio"===t||"checkrange"===t||"active"===t?((e,t,o)=>{const r="active"===e;return["style-1"===o||"style-2"===o?{id:"tabCheckboxText",label:(0,i.t)("Text"),options:[{id:"checkboxTextColor",type:"colorPicker-dev",states:r?[l.NORMAL,l.HOVER]:[l.NORMAL,l.HOVER,l.ACTIVE]}]}:{},{id:"tabBgCheckbox",label:(0,i.t)("Bg"),options:[{id:"checkboxBgColor",type:"colorPicker-dev",states:r?[l.NORMAL,l.HOVER]:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabCheckboxBorder",label:(0,i.t)("Border"),options:[{id:"checkboxBorder",type:"border-dev",states:r?[l.NORMAL,l.HOVER]:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabCheckboxBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"checkboxBoxShadow",type:"boxShadow-dev",devices:"desktop",states:r?[l.NORMAL,l.HOVER]:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]})(t,0,o):"select"===t||"search"===t||"date"===t?[{id:"tabBgSelect",label:(0,i.t)("Bg"),options:[{id:"optionsBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabOptions",label:(0,i.t)("Text"),options:[{id:"optionsColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"Border",label:(0,i.t)("Border"),options:[{id:"optionsBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]:void 0};function u(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:u}=(0,a.getOptionColorHexByPalette)(l("optionsColorHex"),l("optionsColorPalette")),{hex:p}=(0,a.getOptionColorHexByPalette)(l("checkboxColorHex"),l("checkboxColorPalette")),f=t.items.length>1,m="style-1"===t.checkboxType,y="style-2"===t.checkboxType,g="style-3"===t.checkboxType,b="style-4"===t.checkboxType,h="manual"===t.dataSource,v="manual"!==t.dataSource,S="date"!==t.filterType,w="rating"===t.filterType,x="checkbox"===t.filterType,M="radio"===t.filterType,T="checkrange"===t.filterType,P="active"===t.filterType,C="range"===t.filterType,k="select"===t.filterType,_="date"===t.filterType,O="search"===t.filterType,E="on"===t.showCounter,z="full"===t.checkOrientation,B="on"===t.checkOrientation,j="on"===t.hierarchical,N=x||T||M,I=N&&"off"===t.checkOrientation,L=N&&"off"===t.checkOrientationCustom;return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-filters",title:(0,i.t)("Filter")},devices:"desktop",position:70,options:[{id:"itemsTabs",type:"tabs",tabs:[{id:"filter",label:"Filter",position:20,options:[{id:"filterType",label:(0,i.t)("Type"),type:"select-dev",position:10,choices:[{value:"active",title:"Active"},{value:"radio",title:"Radio"},{value:"checkbox",title:"Checkbox"},{value:"checkrange",title:"Check Range"},{value:"select",title:"Select"},{value:"search",title:"Search"},{value:"range",title:"Range"},{value:"date",title:"Date"},{value:"rating",title:"Rating"}]},{id:"dataSource",label:(0,i.t)("Data Source"),type:"select-dev",position:20,disabled:!(x||M||C),choices:[{value:"manual",title:"Manual Input"},{value:"taxonomies",title:"Taxonomies"},{value:"posts",title:"Posts"},{value:"custom",title:"Custom"}]},N&&(m||y)?{id:"showCounter",label:(0,i.t)("Show Counter"),type:"switch-dev",position:30}:{},{id:"showLabel",position:40,label:(0,i.t)("Show Label"),type:"switch-dev"},C?{id:"showRangeText",label:(0,i.t)("Show Text"),type:"switch-dev",disabled:!C}:{}]},{id:"item",label:"Items",position:40,options:[{id:"checkboxType",label:(0,i.t)("Style"),type:"select-dev",disabled:!N,choices:T?[{value:"style-1",title:"Style 1"},{value:"style-2",title:"Style 2"}]:[{value:"style-1",title:"Style 1"},{value:"style-2",title:"Style 2"},{value:"style-3",title:"Style 3"},{value:"style-4",title:"Style 4"}]},{id:"checkOrientation",label:(0,i.t)("Position"),type:"radioGroup-dev",disabled:!N||g,choices:s(E,[{value:"on",icon:"nc-filters-left"},{value:"off",icon:"nc-filters-columns"},{value:"inline",icon:"nc-filters-inline"}],m,y)},{id:"checkOrientationCustom",label:(0,i.t)("Position"),type:"radioGroup-dev",disabled:!N||m||y||b,choices:[{value:"on",icon:"nc-filters-left"},{value:"off",icon:"nc-filters-columns"},{value:"inline",icon:"nc-filters-inline"}]},(x||M)&&(m||y)&&B&&v?{id:"hierarchical",label:(0,i.t)("Hierarchical"),type:"switch-dev"}:{},(x||M)&&v&&(m||y)&&B&&j?{id:"hierarchicalSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}:{},{id:"checkColumns",label:(0,i.t)("Columns"),type:"select-dev",disabled:!I||g,choices:[{value:"2",title:"2"},{value:"3",title:"3"},{value:"4",title:"4"}]},{id:"checkColumnsCustom",label:(0,i.t)("Columns"),type:"select-dev",disabled:!L||m||y||b,choices:[{value:"2",title:"2"},{value:"3",title:"3"},{value:"4",title:"4"}]},P?{id:"activeStyle",label:(0,i.t)("Style"),type:"select-dev",choices:[{value:"style-1",title:"Style 1"},{value:"style-2",title:"Style 2"}]}:{},P?{id:"activeOrientation",label:(0,i.t)("Position"),type:"radioGroup-dev",choices:[{value:"on",icon:{name:"nc-filters-left"}},{value:"inline",icon:{name:"nc-filters-inline"}}]}:{},P?{id:"activeColumns",label:(0,i.t)("Columns"),type:"select-dev",disabled:"off"!==t.activeOrientation,choices:[{value:"2",title:"2"},{value:"3",title:"3"},{value:"4",title:"4"}]}:{},_?{id:"dateType",label:(0,i.t)("Native HTML5"),type:"switch-dev"}:{},{id:"spacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]},disabled:c(t)},N||P?{id:"gap",label:(0,i.t)("Gap"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}:{},k&&f?{id:"optionSpacing",label:(0,i.t)("Gap"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}:{}]},T?{id:"itemsTabs",position:60,type:"tabs",tabs:[]}:{},C?{id:"tabRange",label:"Range",position:60,options:[{id:"rangeLabel",label:(0,i.t)("Label"),type:"inputText-dev",position:20,placeholder:(0,i.t)("Label")},{id:"rangeMin",label:(0,i.t)("Min"),type:"number-dev",disabled:v,config:{min:0,max:9999999999,size:"large"}},{id:"rangeMax",label:(0,i.t)("Max"),type:"number-dev",disabled:v,config:{min:0,max:9999999999,size:"large"}},{id:"rangeStep",label:(0,i.t)("Step"),type:"number-dev",config:{min:0,max:9999999999,size:"large"}}]}:{},w?{id:"rating",label:"Rating",position:80,options:[{id:"icon",label:(0,i.t)("Icon"),type:"iconSetter-dev",devices:"desktop"},{id:"groupSettings",type:"group-dev",options:[{id:"iconSize",label:(0,i.t)("Size 2"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:"custom"!==t.iconSize,config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"iconSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:20,units:[{value:"px",title:"px"}]}},{id:"starCount",label:(0,i.t)("Stars count"),type:"select-dev",choices:[{value:"1",title:"1"},{value:"2",title:"2"},{value:"3",title:"3"},{value:"4",title:"4"},{value:"5",title:"5"},{value:"6",title:"6"},{value:"7",title:"7"},{value:"8",title:"8"},{value:"9",title:"9"},{value:"10",title:"10"}]},{id:"ratingEquality",label:(0,i.t)("Inequality operator"),type:"select-dev",choices:[{value:"one",title:"Greater than or equals (>=)"},{value:"two",title:"Less than or equals (<=)"}]}]}:{},{id:"apply",label:"Apply",position:90,options:[{id:"showApply",label:(0,i.t)("Show Apply"),type:"switch-dev"},{id:"applyType",label:(0,i.t)("Apply type"),type:"select-dev",choices:[{value:"test1",title:"AJAX"},{value:"test2",title:"Test 2"}]},{id:"applyOn",label:(0,i.t)("Apply on"),type:"select-dev",choices:[{value:"test1",title:"Value change"},{value:"test2",title:"Test 2"}]}]}]}]},x||M||k?{id:"dynamicToolbarFilter",type:"popover-dev",config:{icon:"nc-dynamic",title:(0,i.t)("Dynamic Content")},devices:"desktop",disabled:!(N||k),position:80,options:[{id:"itemsTabs",type:"tabs",tabs:[{id:"filter",label:"Filter",options:["taxonomies"===t.dataSource||k?{id:"taxonomy",label:(0,i.t)("Taxonomy"),type:"select-dev",position:20,choices:[{value:"one",title:"Categories"},{value:"two",title:"Etc..."}]}:{}]}]}]}:{},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:80,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabsTypographyTitle",label:(0,i.t)("Title"),options:[{id:"title",type:"typography-dev",disabled:!0}]},N||w||C||P?{}:{id:"tabsTypographyOptionsText",label:(0,i.t)("Text"),options:[{id:"options",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},!N&&!P||w||C||!m&&!y?{}:{id:"tabsTypographyCheckboxText",label:(0,i.t)("Text"),options:N||w||C||P?[{id:"check",type:"typography-dev",config:{fontFamily:"desktop"===o}}]:[]}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:N?(0,r.hexToRgba)(p,t.checkboxColorOpacity):(0,r.hexToRgba)(u,t.optionsColorOpacity)}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",config:{showSingle:!0,align:"start"},tabs:d(t)}]},z||C||O||k||!S?{}:{id:"horizontalAlignOption",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[b&&h?{id:"imgWidth",label:(0,i.t)("Width"),type:"slider-dev",config:{min:1,max:1e3,units:[{value:"px",title:"px"}]}}:{},b&&h?{id:"imgHeight",label:(0,i.t)("Height"),type:"slider-dev",config:{min:1,max:1e3,units:[{value:"px",title:"px"}]}}:{},g?{id:"checkColorSize",label:(0,i.t)("Size"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}}:{},{id:"optionWidth",label:(0,i.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}},_?{id:"widthDateOption",label:(0,i.t)("Width Option"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}:{},w?{}:{id:"advancedSettings",devices:"desktop",type:"advancedSettings",label:(0,i.t)("More Settings"),icon:"nc-cog"}]},!v||!m&&!y||T||k?{}:{id:"duplicate",type:"button",disabled:!0},!v||!m&&!y||T||k?{}:{id:"remove",type:"button",disabled:!0}]}},94729:(e,t)=>{"use strict";function o(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},5385:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(68256),n=o(69321),a=o(64985),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,i.getOptionColorHexByPalette)(s("checkIconColorHex"),s("checkIconColorPalette")),d="manual"===t.dataSource,u="style-4"===t.checkboxType,p="style-3"===t.checkboxType,f="style-1"===t.checkboxType,m="active"===t.filterType;return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-filters",title:(0,a.t)("Filter")},devices:"desktop",position:70,options:[{id:"itemsTabs",type:"tabs",tabs:[{id:"item",label:"Items",position:40,options:[{id:"spacing",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,t.checkIconColorOpacity)}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabCheckIconColor",label:(0,a.t)(m?"Color":"Bg"),options:[{id:"checkIconColor",type:"colorPicker-dev",disabled:p||u,states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"Border",label:(0,a.t)("Border"),options:[{id:"checkIconBorder",type:"border-dev",disabled:p||u,states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabCheckIconBoxShadow",label:(0,a.t)("Shadow"),options:[{id:"checkIconBoxShadow",type:"boxShadow-dev",devices:"desktop",disabled:p||u||m,states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},position:110,options:[!d&&u?{id:"imgWidth",label:(0,a.t)("Width"),type:"slider-dev",config:{min:1,max:1e3,units:[{value:"px",title:"px"}]}}:{},!d&&u?{id:"imgHeight",label:(0,a.t)("Height"),type:"slider-dev",config:{min:1,max:1e3,units:[{value:"px",title:"px"}]}}:{},!d&&p?{id:"checkColorSize",label:(0,a.t)("Size"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}}:{},f?{id:"checkSize",label:(0,a.t)("Size"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}}:{},{id:"advancedSettings",devices:"desktop",type:"advancedSettings",label:(0,a.t)("More Settings"),icon:"nc-cog"}]}]}},56983:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(68256),n=o(69321),a=o(64985);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:s}=(0,i.getOptionColorHexByPalette)(l("labelColorHex"),l("labelColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-filters",title:(0,a.t)("Filter")},devices:"desktop",position:70,options:[{id:"labelSpacing",type:"slider-dev",label:(0,a.t)("Spacing"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,a.t)("Typography")},position:70,options:[{id:"label",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,t.labelColorOpacity)}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabTitle",label:(0,a.t)("Label"),options:[{id:"labelColor",type:"colorPicker-dev"}]}]}]},{id:"horizontalAlignLabel",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,a.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,a.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,a.t)("Align"),value:"right"}]}]}},7289:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(68256),n=o(69321),a=o(64985),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,i.getOptionColorHexByPalette)(s("selectOptionColorrHex"),s("selectOptionColorPalette"));return[{id:"popoverColorSelectItem",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,t.selectOptionColorOpacity)}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBgSelectOption",label:(0,a.t)("Bg"),options:[{id:"selectOptionBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabTextSelectOption",label:(0,a.t)("Text"),options:[{id:"selectOptionColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorderSelectOption",label:(0,a.t)("Border"),options:[{id:"selectOptionBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadowSelectOption",label:(0,a.t)("Shadow"),options:[{id:"selectOptionBoxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"popoverTypographySelectItem",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,a.t)("Typography")},position:70,options:[{id:"selectOption",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"advancedSettingsselectItems",devices:"desktop",type:"advancedSettings",roles:["admin"],position:110,icon:"nc-cog",title:(0,a.t)("Settings")}]}},10066:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(68256),n=o(69321),a=o(64985);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:s}=(0,i.getOptionColorHexByPalette)(l("titleColorHex"),l("titleColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-filters",title:(0,a.t)("Filter")},devices:"desktop",position:70,options:[{id:"itemsTabs",type:"tabs",tabs:[{id:"item",label:"Items",options:[{id:"titleSpacing",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,a.t)("Typography")},position:70,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabsTypographyTitle",label:(0,a.t)("Title"),options:[{id:"title",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,t.titleColorOpacity)}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabTitle",label:(0,a.t)("Title"),options:[{id:"titleColor",type:"colorPicker-dev"}]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,a.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,a.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,a.t)("Align"),value:"right"}]}]}},48453:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(63692)),n=u(o(67439)),a=f(o(92433)),l=f(o(76883)),s=f(o(25432)),c=u(o(75107)),d=o(29433);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends i.default{static get componentId(){return"FormField"}static defaultValue=c.default;renderForEdit(e){const{type:t}=e,o=a[t];return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(l,s),r.default.createElement("div",{className:(0,d.fieldStyleClassName)(e),style:(0,d.fieldStyleCSSVars)(e)},r.default.createElement(o,{...e,onChange:e=>this.patchValue(e)})))}}},25432:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Form Fields");function i(){return[]}},29433:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fieldStyleClassName:function(){return l},fieldStyleCSSVars:function(){return s}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=o(44664),a=o(69321);function l(e){let t;t={".brz-ed--desktop &":{maxWidth:"var(--width)",flexBasis:"var(--width)","& .brz-textarea":{height:"var(--height)"}},".brz-ed--tablet &":{maxWidth:"var(--tabletWidth)",flexBasis:"var(--tabletWidth)","& .brz-textarea":{height:"var(--tabletHeight)"}},".brz-ed--mobile &":{maxWidth:"var(--mobileWidth)",flexBasis:"var(--mobileWidth)","& .brz-textarea":{height:"var(--mobileHeight)"}}};const o=String((0,n.css)(t));return(0,r.default)("brz-forms__item",o)}function s(e){const{type:t,width:o,height:r}=e;return{"--width":`${o}%`,"--height":"Paragraph"===t?`${r}px`:"auto","--tabletWidth":`${(0,a.tabletSyncOnChange)(e,"width")}%`,"--tabletHeight":"Paragraph"===t?`${(0,a.tabletSyncOnChange)(e,"height")}px`:"auto","--mobileWidth":`${(0,a.mobileSyncOnChange)(e,"width")}%`,"--mobileHeight":"Paragraph"===t?`${(0,a.mobileSyncOnChange)(e,"height")}px`:"auto"}}},76883:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(i=o(10301))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(69321),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(92433));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=r.default.map(l,(e=>({title:e.componentTitle,value:e.componentType})));function d(e){let{v:t,device:o}=e;return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{title:(0,n.t)("Field"),icon:"nc-form-left"},position:60,options:[{id:"type",label:(0,n.t)("Field Type"),type:"select-dev",position:10,devices:"desktop",choices:c},{id:"required",label:(0,n.t)("Required"),type:"switch-dev",position:20,devices:"desktop"},{id:"width",label:(0,n.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{title:"%",value:"%"}]}},{id:"height",label:(0,n.t)("Height"),type:"slider-dev",disabled:"Paragraph"!==("type",(0,a.defaultValueValue)({v:t,key:"type",device:o})),config:{min:1,max:300,units:[{title:"px",value:"px"}]}}]}]}},87669:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=o(64985),n=a(o(70612));function a(e){return e&&e.__esModule?e:{default:e}}class l extends n.default{static get componentTitle(){return(0,i.t)("Email")}static get componentType(){return"Email"}static pattern="^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$";renderForEdit=e=>r.default.createElement("input",{className:"brz-input brz-forms__field",...e});renderForView=e=>r.default.createElement("input",{className:"brz-input brz-forms__field",type:"email",maxLength:"255",...e})}},23083:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(70612)),n=o(64985);function a(e){return e&&e.__esModule?e:{default:e}}class l extends i.default{static get componentTitle(){return(0,n.t)("Number")}static get componentType(){return"Number"}static pattern="^-?[0-9]\\d*(\\.\\d+)?$";renderForEdit=e=>r.default.createElement("input",{className:"brz-input brz-forms__field",...e});renderForView=e=>r.default.createElement("input",{className:"brz-input brz-forms__field",type:"number",...e})}},29777:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(70612)),n=o(64985);function a(e){return e&&e.__esModule?e:{default:e}}class l extends i.default{static get componentTitle(){return(0,n.t)("Paragraph")}static get componentType(){return"Paragraph"}renderForEdit=e=>r.default.createElement("textarea",{className:"brz-textarea brz-forms__field",...e})}},84541:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=y(o(27378)),i=o(70634),n=y(o(10301)),a=y(o(17882)),l=y(o(97023)),s=y(o(65961)),c=y(o(33364)),d=o(81300),u=o(73948),p=o(92213),f=o(64985),m=y(o(70612));function y(e){return e&&e.__esModule?e:{default:e}}class g extends m.default{static get componentTitle(){return(0,f.t)("Select")}static get componentType(){return"Select"}constructor(e){super(e),this.state={isOpen:!1,newItemValue:""}}handleOptionsChange=(e,t)=>{const o=(0,i.replaceAt)(this.props.options,t,e);this.props.onChange({options:o})};handleOptionsAdd=()=>{const e=(0,i.addLast)(this.props.options,this.state.newItemValue);this.setState({newItemValue:""}),this.props.onChange({options:e})};handleOptionsRemove=e=>{const t=(0,i.removeAt)(this.props.options,e);this.props.onChange({options:t})};handleKeyUp=e=>{13===e.keyCode&&this.handleOptionsAdd()};handleClick=e=>{e.preventDefault(),this.selectInput.classList.add("brz-ed-dd-cancel")};handleBlur=()=>{this.selectInput.classList.remove("brz-ed-dd-cancel")};renderOptions=()=>{const e="desktop"===(0,p.getStore)().getState().ui.deviceMode;return n.default.map(this.props.options,((t,o)=>r.default.createElement("div",{key:o,className:"brz-forms__select-item"},r.default.createElement("div",{className:"brz-forms__select-item__input"},r.default.createElement("input",{className:"brz-input",value:t,onChange:e=>this.handleOptionsChange(e.target.value,o)})),e?r.default.createElement("div",{className:"brz-forms__select-item__icon",onClick:()=>this.handleOptionsRemove(o)},r.default.createElement(c.default,{icon:"nc-trash"})):null)))};renderForEdit=e=>{const t="desktop"===(0,p.getStore)().getState().ui.deviceMode,{isOpen:o,newItemValue:i}=this.state,n=52*(this.props.options.length+Number(t));return r.default.createElement(a.default,{onClickOutside:()=>this.setState({isOpen:!1})},r.default.createElement("div",{className:"brz-forms__select"},r.default.createElement("div",{className:"brz-forms__select-current brz-forms__field"},r.default.createElement("input",{...e,ref:e=>{this.selectInput=e},className:"brz-input",onClick:e=>{this.setState({isOpen:!o}),this.handleClick(e)},onBlur:this.handleBlur}),r.default.createElement(u.ThemeIcon,{name:"arrow-down",type:"editor",className:"brz-forms__select--arrow"})),o&&r.default.createElement("div",{className:"brz-forms__select-list brz-ed-dd-cancel"},r.default.createElement(d.Scrollbar,{autoHeightMax:n,theme:"light"},this.renderOptions(),t?r.default.createElement("div",{className:"brz-forms__select-item"},r.default.createElement("div",{className:"brz-forms__select-item__input"},r.default.createElement("input",{placeholder:(0,f.t)("Add new option"),className:"brz-input brz-input__select",value:i,onChange:e=>{let{target:{value:t}}=e;return this.setState({newItemValue:t})},onKeyUp:e=>this.handleKeyUp(e)})),r.default.createElement("div",{className:"brz-forms__select-item__icon",onClick:this.handleOptionsAdd},r.default.createElement(c.default,{icon:"nc-arrow-right"}))):null))))};renderForView=e=>{const{label:t,options:o}=this.props;return r.default.createElement("div",{"data-label":t},r.default.createElement(l.default,{inputAttributes:e,defaultValue:this.props.label,maxItems:o.length+1,itemHeight:52},r.default.createElement(s.default,{value:""},t),o.map(((e,t)=>r.default.createElement(s.default,{key:t,value:e},e)))))}}},44706:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(70612)),n=o(64985);function a(e){return e&&e.__esModule?e:{default:e}}class l extends i.default{static get componentTitle(){return(0,n.t)("Text")}static get componentType(){return"Text"}renderForEdit=e=>r.default.createElement("input",{className:"brz-input brz-forms__field",...e})}},70612:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}class n extends r.Component{static get componentTitle(){return"Text"}static get componentType(){return"Text"}static defaultProps={_id:null,label:"Default Label",required:"off",type:"Text"};content=r.default.createRef();handleTextChange=e=>{let{target:{value:t}}=e;this.props.onChange({label:t})};handleClick=e=>{e.preventDefault();const t=this.content.current;t&&t.classList.add("brz-ed-dd-cancel")};handleBlur=()=>{const e=this.content.current;e&&e.classList.remove("brz-ed-dd-cancel")};renderForEdit(e){return r.default.createElement("input",{className:"brz-input brz-forms__field",...e})}renderForView(e){return this.renderForEdit(e)}render(){const{_id:e,label:t,required:o,type:r}=this.props;let i;return i={ref:this.content,type:"text",value:t,onChange:this.handleTextChange,onClick:this.handleClick,onBlur:this.handleBlur},this.renderForEdit(i)}}},92433:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Text:function(){return r.default},Email:function(){return i.default},Number:function(){return n.default},Paragraph:function(){return a.default},Select:function(){return l.default}});const r=s(o(44706)),i=s(o(87669)),n=s(o(23083)),a=s(o(29777)),l=s(o(84541));function s(e){return e&&e.__esModule?e:{default:e}}},52195:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(i=o(10787))&&i.__esModule?i:{default:i};var i;const n=o(67439),a=o(64985);class l extends r.default{static get componentId(){return"FormItem.Items"}static defaultProps={className:""};getItemProps(e,t,o){const r={getItems:()=>[{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:(0,a.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},...o.length>1?[{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:(0,a.t)("Delete"),position:250,disable:1===o.length,onChange:()=>{(0,n.hideToolbar)(),this.removeItem(t)}}]:[]]};return{toolbarExtend:this.makeToolbarPropsFromConfig2(r)}}}},66937:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=c(o(27378)),i=c(o(63692)),n=c(o(52195)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(17780)),l=c(o(32749)),s=o(20449);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}class u extends i.default{static get componentId(){return"FormFields"}static defaultValue=l.default;renderForEdit(e){const t=this.applyRulesToValue(e,[e.fontStyle&&`${e.fontStyle}__fsDesktop`,e.tabletFontStyle&&`${e.tabletFontStyle}__fsTablet`,e.mobileFontStyle&&`${e.mobileFontStyle}__fsMobile`]),o=this.makeSubcomponentProps({bindWithKey:"items",toolbarExtend:this.makeToolbarPropsFromConfig2(a)});return r.default.createElement("div",{className:(0,s.styleClassName)(t),style:(0,s.styleCSSVars)(t)},r.default.createElement(n.default,o))}}},20449:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleClassName:function(){return c},styleCSSVars:function(){return d}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=o(44664),a=o(72833),l=o(69321),s=o(31715);function c(e){let t;t={".brz & .brz-forms__item":{fontFamily:"var(--fontFamily)",color:"var(--color)","& .brz-forms__field":{backgroundColor:"var(--backgroundColor)",borderColor:"var(--borderColor)",borderWidth:"var(--borderWidth)",borderStyle:"var(--borderStyle)"},"& .brz-forms__select-item__input":{color:"var(--color)"}},".brz & .form-alert":{fontFamily:"var(--fontFamily)"},".brz-ed--desktop &.brz-forms__fields":{marginRight:"var(--marginRight)",marginLeft:"var(--marginLeft)"},".brz-ed--desktop & .brz-forms__item":{fontSize:"var(--fontSize)",lineHeight:"var(--lineHeight)",fontWeight:"var(--fontWeight)",letterSpacing:"var(--letterSpacing)",paddingRight:"var(--paddingRight)",paddingBottom:"var(--paddingBottom)",paddingLeft:"var(--paddingLeft)"},".brz-ed--tablet &.brz-forms__fields":{marginRight:"var(--tabletMarginRight)",marginLeft:"var(--tabletMarginLeft)"},".brz-ed--tablet & .brz-forms__item":{fontSize:"var(--tabletFontSize)",lineHeight:"var(--tabletLineHeight)",fontWeight:"var(--tabletFontWeight)",letterSpacing:"var(--tabletLetterSpacing)",paddingRight:"var(--tabletPaddingRight)",paddingBottom:"var(--tabletPaddingBottom)",paddingLeft:"var(--tabletPaddingLeft)"},".brz-ed--mobile &.brz-forms__fields":{marginRight:"var(--mobileMarginRight)",marginLeft:"var(--mobileMarginLeft)"},".brz-ed--mobile & .brz-forms__item":{fontSize:"var(--mobileFontSize)",lineHeight:"var(--mobileLineHeight)",fontWeight:"var(--mobileFontWeight)",letterSpacing:"var(--mobileLetterSpacing)",paddingRight:"var(--mobilePaddingRight)",paddingBottom:"var(--mobilePaddingBottom)",paddingLeft:"var(--mobilePaddingLeft)"}};const o=String((0,n.css)(t));return(0,r.default)("brz-forms__fields",o)}function d(e){const{fontFamily:t,fontFamilyType:o,fontSize:r,fontWeight:i,lineHeight:n,letterSpacing:c,paddingTop:d,paddingRight:u,paddingBottom:p,paddingLeft:f,tabletFontSize:m,tabletLineHeight:y,tabletFontWeight:g,tabletLetterSpacing:b,mobileFontSize:h,mobileLineHeight:v,mobileFontWeight:S,mobileLetterSpacing:w}=e;return{"--paddingTop":`${d}px`,"--paddingRight":u/2+"px","--paddingBottom":`${p}px`,"--paddingLeft":f/2+"px","--marginRight":`-${u/2}px`,"--marginLeft":`-${f/2}px`,"--fontFamily":(0,a.getFontById)({family:t,type:o}).family,"--fontWeight":i,"--fontSize":`${r}px`,"--lineHeight":n,"--letterSpacing":`${c}px`,"--color":(0,s.styleColor)({v:e,device:"desktop",state:"normal"}),"--backgroundColor":(0,s.styleBgColor)({v:e,device:"desktop",state:"normal"}),"--borderColor":(0,s.styleBorderColor)({v:e,device:"desktop",state:"normal"}),"--borderWidth":(0,s.styleBorderWidth)({v:e,device:"desktop",state:"normal",current:"borderWidth"}),"--borderStyle":(0,s.styleBorderStyle)({v:e,device:"desktop"}),"--tabletFontSize":`${m}px`,"--tabletLineHeight":y,"--tabletFontWeight":g,"--tabletLetterSpacing":`${b}px`,"--tabletPaddingTop":`${(0,l.tabletSyncOnChange)(e,"paddingTop")}px`,"--tabletPaddingRight":(0,l.tabletSyncOnChange)(e,"paddingRight")/2+"px","--tabletPaddingBottom":`${(0,l.tabletSyncOnChange)(e,"paddingBottom")}px`,"--tabletPaddingLeft":(0,l.tabletSyncOnChange)(e,"paddingLeft")/2+"px","--tabletMarginRight":`-${(0,l.tabletSyncOnChange)(e,"paddingRight")/2}px`,"--tabletMarginLeft":`-${(0,l.tabletSyncOnChange)(e,"paddingLeft")/2}px`,"--mobileFontSize":`${h}px`,"--mobileLineHeight":v,"--mobileFontWeight":S,"--mobileLetterSpacing":`${w}px`,"--mobilePaddingTop":`${(0,l.mobileSyncOnChange)(e,"paddingTop")}px`,"--mobilePaddingRight":(0,l.mobileSyncOnChange)(e,"paddingRight")/2+"px","--mobilePaddingBottom":`${(0,l.mobileSyncOnChange)(e,"paddingBottom")}px`,"--mobilePaddingLeft":(0,l.mobileSyncOnChange)(e,"paddingLeft")/2+"px","--mobileMarginRight":`-${(0,l.mobileSyncOnChange)(e,"paddingRight")/2}px`,"--mobileMarginLeft":`-${(0,l.mobileSyncOnChange)(e,"paddingLeft")/2}px`}}},17780:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("bgColorHex"),l("bgColorPalette")),{hex:c}=(0,a.getOptionColorHexByPalette)(l("colorHex"),l("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-form-left",title:(0,i.t)("Field")},position:60,options:[{id:"padding",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",title:(0,i.t)("Typography"),size:"desktop"===o?"large":"auto"},position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:l("bgColorOpacity")>0?(0,r.hexToRgba)(s,l("bgColorOpacity")):(0,r.hexToRgba)(c,l("colorOpacity"))}}},position:80,options:[{id:"color",type:"tabs-dev",tabs:[{id:"bgColor",label:(0,i.t)("Background"),options:[{id:"bgColor",type:"colorPicker-dev",devices:"desktop"}]},{id:"labelColor",label:(0,i.t)("Label"),options:[{id:"color",type:"colorPicker-dev",devices:"desktop"}]},{id:"borderColor",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop"}]}]}]}]}},46667:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=y(o(27378)),i=o(10301),n=y(o(63692)),a=y(o(36275)),l=y(o(10787)),s=y(o(22546)),c=o(51401),d=y(o(46212)),u=b(o(17094)),p=b(o(96174)),f=b(o(38694)),m=b(o(93930));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class h extends n.default{static get componentId(){return"Form"}static defaultValue=d.default;static defaultProps={extendParentToolbar:i.noop};componentDidMount(){const e=this.makeToolbarPropsFromConfig2(u,p,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}handleSubmit=e=>{e.preventDefault()};renderFields(){const e=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{meta:this.props.meta}});return r.default.createElement(l.default,e)}renderButton(){const e=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:1,itemProps:{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(f,m,{allowExtend:!1})}});return r.default.createElement(l.default,e)}renderForEdit(e){return r.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:(0,c.styleClassName)(e),style:(0,c.styleCSSVars)(e)},r.default.createElement("form",{className:"brz-form",noValidate:!0,onSubmit:this.handleSubmit},this.renderFields(e),this.renderButton(e))))}renderForView(e){const{_id:t,messageSuccess:o,messageError:i,messageRedirect:n,customCSS:l}=e,{submitUrl:d,recaptcha:u}=s.default.get("applications").form,p=s.default.get("project").id,f=u&&u.siteKey;return r.default.createElement(a.default,{selectorName:this.getId(),css:l},r.default.createElement("div",{className:(0,c.styleClassName)(e),style:(0,c.styleCSSVars)(e),"data-form-version":"1"},r.default.createElement("form",{className:"brz-form",action:d,noValidate:!0,"data-form-id":t,"data-project-id":p,"data-success":o,"data-error":i,"data-redirect":n,onSubmit:this.handleSubmit},this.renderFields(e),this.renderButton(e),f&&r.default.createElement("div",{className:"brz-g-recaptcha","data-sitekey":f,"data-size":"invisible","data-callback":"brzFormV1Captcha"}))))}}},93930:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Submit Form");function i(){return[]}},96174:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Form");function i(){return[]}},51401:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleClassName:function(){return l},styleCSSVars:function(){return s}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=o(44664),a=o(69321);function l(e){let t;t={".brz &.brz-forms .brz-btn":{display:"inline-flex"},".brz-ed--desktop &":{textAlign:"var(--horizontalAlign)"},".brz-ed--tablet &":{textAlign:"var(--tabletHorizontalAlign)"},".brz-ed--mobile &":{textAlign:"var(--mobileHorizontalAlign)"}};const o=String((0,n.css)(t));return(0,r.default)("brz-forms",o)}function s(e){const{horizontalAlign:t}=e;return{"--horizontalAlign":t,"--tabletHorizontalAlign":(0,a.tabletSyncOnChange)(e,"horizontalAlign"),"--mobileHorizontalAlign":(0,a.mobileSyncOnChange)(e,"horizontalAlign")}}},38694:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=(i=o(10301))&&i.__esModule?i:{default:i};var i;const n=o(64985);function a(e){let{v:t}=e;const o=r.default.pluck(t.items[0].value.items,"value");return[{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"toolbarFormLink",type:"popover-dev",config:{icon:"nc-link",title:(0,n.t)("Link"),size:"medium"},position:90,options:[{id:"formLink",type:"tabs-dev",tabs:[{id:"message",label:(0,n.t)("Message"),options:[{id:"messageSuccess",type:"inputText-dev",label:(0,n.t)("Success"),placeholder:(0,n.t)("Message sent"),devices:"desktop"},{id:"messageError",type:"inputText-dev",label:(0,n.t)("Error"),placeholder:(0,n.t)("Message not sent"),devices:"desktop"}]},{id:"redirect",label:(0,n.t)("Redirect"),options:[{id:"messageRedirect",type:"inputText-dev",label:(0,n.t)("Go to"),placeholder:"http://",devices:"desktop"}]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"apps",type:"formApps-dev",devices:"desktop",config:{id:t._id,fields:o,icon:"nc-extensions-2"}}]}},17094:(e,t)=>{"use strict";function o(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},94874:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=m(o(60042)),i=m(o(27378)),n=m(o(67439)),a=m(o(63692)),l=o(94220),s=o(6804),c=m(o(55623)),d=g(o(13699)),u=o(57922),p=g(o(33415)),f=g(o(26402));function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class b extends a.default{static get componentId(){return"Form2Field"}static defaultValue=c.default;getError(e){const{type:t,fileSizeErrorMessage:o,fileTypeErrorMessage:r,numberMinMessage:i,numberMaxMessage:n}=e;switch(t){case"FileUpload":return{fileMaxSizeError:o,fileTypeError:r};case"Number":return{minNumError:i,maxNumError:n};default:return{}}}renderForEdit(e,t,o){const{labelType:a,placeholder:s,className:c,selectClassName:m,toolbarExtendLabel:y,toolbarExtendSelect:g}=this.props,{type:b}=e,h=f[b],v=(0,r.default)("brz-forms2__item",c,(0,l.css)(`${this.constructor.componentId}-field`,`${this.getId()}-field`,(0,u.style)(e,t,o)));return i.default.createElement("div",{className:v},"outside"===a&&i.default.createElement(n.default,y,i.default.createElement(h.Label,{id:this.getId(),value:e,onChange:e=>this.patchValue(e)})),i.default.createElement(n.default,this.makeToolbarPropsFromConfig2(p,d),i.default.createElement("div",null,i.default.createElement(h,{...e,showPlaceholder:s,labelType:a,toolbarExtendSelect:g,selectClassName:m,onChange:e=>this.patchValue(e)}))))}renderForView(e,t,o){const n=(0,s.uuid)(),{labelType:a,placeholder:c,className:d,selectClassName:p}=this.props,{type:m}=e,y=f[m],g=(0,r.default)("brz-forms2__item",d,{"brz-d-none":"Hidden"===m},(0,l.css)(`${this.constructor.componentId}-field`,`${this.getId()}-field`,(0,u.style)(e,t,o)));return i.default.createElement("div",{className:g},"outside"===a&&i.default.createElement(y.Label,{id:n,value:e}),i.default.createElement(y,{...e,labelId:n,error:this.getError(e),showPlaceholder:c,selectClassName:p,labelType:a}))}}const h=b},13699:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},57922:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth","cssStyleElementForm2FlexBasisPercent"]},".brz &&:hover .brz-textarea":{standart:["cssStyleElementForm2InputHeight"]},".brz && .brz-forms2__checkbox-option":{standart:["cssStyleElementForm2FieldColumns"]},".brz && .brz-forms2__radio-option":{standart:["cssStyleElementForm2FieldColumns"]}}})}},33415:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=s(o(10301)),i=s(o(22546)),n=o(64985),a=o(69321),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(26402));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e){let{v:t,device:o}=e;const s=("type",(0,a.defaultValueValue)({v:t,key:"type",device:o}));const c="Date"===s,d="FileUpload"===s,u="Select"===s,p="Hidden"===s,f="Number"===s,m="Paragraph"===s,y="Checkbox"===s||"Radio"===s,g=c||"Time"===s,b=[];if(d){const{maxUploadFileSize:e}=i.default.getAll().server||{},t=Number(e);for(let e=1;e<=t;e++)b.push({title:`${e} MB`,value:`${e}mb`})}return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-form-left",title:(0,n.t)("Field")},position:60,options:[{id:"currentShortcodeTabs",type:"tabs-dev",tabs:[{id:"field",label:(0,n.t)("Field"),options:[{id:"type",label:(0,n.t)("Type"),type:"select-dev",devices:"desktop",position:10,choices:r.default.map(l,(e=>({title:e.componentTitle,value:e.componentType})))},{id:"fileSizeErrorMessage",type:"inputText-dev",position:15,label:"File size error message",placeholder:"..type error message",devices:"desktop",disabled:!d},{id:"fileTypeErrorMessage",type:"inputText-dev",position:15,label:"File type error message",placeholder:"..type error message",devices:"desktop",disabled:!d},{id:"numberMinMessage",type:"inputText-dev",position:15,label:"Min number error message",placeholder:"..type error message",devices:"desktop",disabled:!f},{id:"numberMaxMessage",type:"inputText-dev",position:15,label:"Max number error message",placeholder:"..type error message",devices:"desktop",disabled:!f},...g?[{id:"min",type:"inputText-dev",position:20,label:c?(0,n.t)("Min Date"):(0,n.t)("Min Time"),placeholder:c?"YYYY-MM-DD":"HH:MM",devices:"desktop"},{id:"max",type:"inputText-dev",position:30,label:c?(0,n.t)("Max Date"):(0,n.t)("Max Time"),placeholder:c?"YYYY-MM-DD":"HH:MM",devices:"desktop"},{id:"nativeHtml",type:"switch-dev",position:40,label:(0,n.t)("Native HTML5"),devices:"desktop"}]:[],...y?[{id:"columns",label:(0,n.t)("Columns"),type:"select-dev",position:20,choices:[{title:"1",value:1},{title:"2",value:2},{title:"3",value:3},{title:"4",value:4},{title:"5",value:5},{title:"6",value:6}]}]:[],...d?[{id:"fileMaxSize",label:(0,n.t)("Max. File Size"),type:"select-dev",devices:"desktop",position:20,helper:{content:(0,n.t)("If you need to increase max upload size please contact your hosting.")},choices:b},{id:"fileTypes",label:(0,n.t)("Allowed File Types"),type:"inputText-dev",devices:"desktop",position:30,config:{size:"medium"},helper:{content:(0,n.t)("Enter the allowed file types, separated by a comma (jpg, gif, pdf, etc).")}}]:[],...u?[{id:"multipleSelection",label:(0,n.t)("Multiple Selection"),type:"switch-dev",position:20,disabled:!u,devices:"desktop"}]:[],...f?[{id:"min",type:"inputText-dev",position:20,label:(0,n.t)("Min"),placeholder:(0,n.t)("Min"),devices:"desktop"},{id:"max",type:"inputText-dev",position:30,label:(0,n.t)("Max"),placeholder:(0,n.t)("Max"),devices:"desktop"}]:[],...p?[]:[{id:"required",label:(0,n.t)("Required"),type:"switch-dev",position:100,disabled:p,devices:"desktop"}]]},{id:"advanced",label:(0,n.t)("Advanced"),options:[...y?[{id:"placeholder",type:"switch-dev",disabled:!0}]:[]]},{id:"background",label:(0,n.t)("Background"),options:[...y?[{id:"size",type:"radioGroup-dev",disabled:!0,choices:[]},{id:"borderRadius",type:"slider-dev",disabled:!0}]:[]]}]},...y?[{id:"size",type:"radioGroup-dev",disabled:!0,choices:[]}]:[]]},...y?[{id:"toolbarTypography",type:"popover-dev",disabled:!0},{id:"toolbarColor",type:"popover-dev",disabled:!0}]:[{id:"toolbarTypographyCheckbox",type:"popover-dev",disabled:!0},{id:"toolbarColorCheckbox",type:"popover-dev",disabled:!0}],{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"width",label:(0,n.t)("Width"),position:30,type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},...m?[{id:"height",label:(0,n.t)("Height"),type:"slider-dev",devices:"desktop",position:40,config:{min:1,max:300,units:[{value:"px",title:"px"}]}}]:[],{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},90108:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(27378)),i=o(70634),n=d(o(37490)),a=o(64985),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(31916)),s=d(o(33364)),c=o(73948);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends n.default{static get componentTitle(){return(0,a.t)("Checkbox")}static get componentType(){return"Checkbox"}state={value:"",active:{}};getClassName(){return"brz-forms2__field brz-forms2__checkbox"}handleActive=e=>{this.setState({active:e})};handleChangeOption(e,t){const{options:o,onChange:r}=this.props;r({options:(0,i.replaceAt)(o,t,e)})}handleChangeValue=e=>{this.setState({value:e.target.value})};handleKeyUp=e=>{13===e.keyCode&&this.handleAddOption()};handleAddOption=()=>{const{options:e,onChange:t}=this.props,{value:o}=this.state;o&&o.trim()&&(t({options:[...e,o]}),this.setState({value:""}))};handleRemoveOption(e){const{options:t,onChange:o}=this.props;this.setState({active:(0,i.omit)(this.state.active,t[e])}),o({options:(0,i.removeAt)(t,e)})}renderIconForEdit=e=>{let{active:t}=e;return r.default.createElement("div",{className:"brz-control__check-group-icon"},r.default.createElement(s.default,{className:"brz-d-block",icon:t?"nc-check-square-on":"nc-check-square-off"}))};renderIconForView=()=>r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--check"},r.default.createElement(c.ThemeIcon,{className:"brz-d-block",name:"check-square-on",type:"editor"})),r.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--uncheck"},r.default.createElement(c.ThemeIcon,{className:"brz-d-block",name:"check-square-off",type:"editor"})));renderOptions(e){const{label:t,_id:o}=e,{active:i}=this.state;return r.default.createElement(l.default,{className:"brz-forms2__checkbox-options",name:t,defaultValue:i,onChange:this.handleActive},this.props.options.map(((e,t)=>r.default.createElement(l.CheckGroupItem,{key:t,className:"brz-forms2__checkbox-option",name:o,value:e,renderIcons:this.renderIconForEdit},r.default.createElement("div",{className:"brz-forms2__checkbox-option-name"},r.default.createElement("input",{type:"text",className:"brz-input",value:e,onChange:e=>this.handleChangeOption(e.target.value,t)}),r.default.createElement("span",{className:"brz-span brz-invisible"},e)),r.default.createElement("div",{className:"brz-forms2__checkbox-option-icon",onClick:()=>this.handleRemoveOption(t)},r.default.createElement(s.default,{icon:"nc-trash"}))))))}renderForEdit(e){return r.default.createElement("div",{className:this.getClassName()},this.renderOptions(e),r.default.createElement("div",{className:"brz-forms2__checkbox-option brz-forms2__checkbox-option-new"},r.default.createElement("span",{className:"brz-span"},r.default.createElement("input",{type:"text",className:"brz-input",placeholder:(0,a.t)("Add new option"),value:this.state.value,onChange:this.handleChangeValue,onKeyUp:this.handleKeyUp})),r.default.createElement("div",{className:"brz-forms2__checkbox-option-icon",onClick:this.handleAddOption},r.default.createElement(s.default,{icon:"nc-arrow-right"}))))}renderForView(e){const{attr:t}=e,o=e.options.filter((e=>e&&e.trim()));return o.length?r.default.createElement("div",{className:this.getClassName()},r.default.createElement(l.default,{className:"brz-forms2__checkbox-options"},o.filter((e=>e&&e.trim())).map(((e,o)=>r.default.createElement(l.CheckGroupItem,{...t,key:o,className:"brz-forms2__checkbox-option",value:e,renderIcons:this.renderIconForView},r.default.createElement("span",{className:"brz-span brz-forms2__checkbox-option-name"},e)))))):null}}},19045:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(i=o(37490))&&i.__esModule?i:{default:i};var i;const n=o(64985);class a extends r.default{static get componentTitle(){return(0,n.t)("Date")}static get componentType(){return"Date"}getAttributes(){const{min:e,max:t,nativeHtml:o}=this.props;return{"data-min":e,"data-max":t,"data-native":"on"===o}}}},15207:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=o(64985),n=a(o(37490));function a(e){return e&&e.__esModule?e:{default:e}}class l extends n.default{static get componentTitle(){return(0,i.t)("Email")}static get componentType(){return"Email"}static pattern='^(([^<>()\\[\\]\\\\.,;:\\s@"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@"]+)*)|(".+"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$';renderForView(e){const{attr:t}=e;return r.default.createElement("input",{...t,maxLength:"255",className:this.getClassName(e)})}}},86309:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=s(o(10301)),n=s(o(60042)),a=o(73948),l=o(66848);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static defaultProps={id:"",className:"",name:"",value:null,placeholder:null,required:!1,accept:"",multiple:!1,fileText:"",onChange:i.default.noop,onChangeText:i.default.noop,onBlur:i.default.noop,onClick:i.default.noop};renderForEdit(){const{className:e,value:t,onChange:o,onChangeText:i,onBlur:a,onClick:s,fileText:c,showPlaceholder:d}=this.props,u=(0,n.default)("brz-input__upload",e),p=(0,n.default)("brz-input","brz-input__upload-placeholder",{"brz-p-events--none":!d});return r.default.createElement("div",{className:u,onClick:s,onBlur:a},r.default.createElement("label",{className:"brz-label"},r.default.createElement("input",{className:p,type:"text",value:t,onChange:o}),r.default.createElement("span",{className:"brz-button"},r.default.createElement(l.TextEditor,{value:c,onChange:i}))))}renderForView(){const{fileText:e,...t}=this.props,{id:o,className:i,placeholder:l}=t,s=(0,n.default)("brz-input__upload",i);return r.default.createElement("div",{className:s},r.default.createElement("input",{...t,type:"file",className:"brz-input"}),r.default.createElement("label",{htmlFor:o,className:"brz-label"},r.default.createElement("span",{className:"brz-span"},l),r.default.createElement(a.ThemeIcon,{className:"brz-input__upload-delete brz-hidden",name:"close",type:"editor"}),r.default.createElement("span",{className:"brz-button"},e)))}render(){return this.renderForEdit()}}const u=d},9032:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=c(o(27378)),i=c(o(60042)),n=c(o(37490)),a=o(64985),l=c(o(86309)),s=o(6085);function c(e){return e&&e.__esModule?e:{default:e}}class d extends n.default{static get componentTitle(){return(0,a.t)("File")}static get componentType(){return"FileUpload"}getClassName(){return(0,i.default)("brz-input brz-forms2__field brz-forms2__field-fileUpload")}getAttributes(){const{fileTypes:e,fileMaxSize:t,error:o}=this.props;return{accept:e,"data-file-max-size":t,"data-error":(0,s.encodeToString)(o)}}handleTextChange=e=>{this.handleChange({fileText:e})};handleValueChange=e=>{this.handleChange({label:e.target.value,placeholder:e.target.value})};renderForEdit(e){const{labelType:t,attr:o,showPlaceholder:i}=e,{fileText:n}=this.props;return"outside"===t?r.default.createElement(l.default,{...o,fileText:n,className:this.getClassName(e),value:o.placeholder,onChange:this.handleValueChange,onChangeText:this.handleTextChange,showPlaceholder:i}):r.default.createElement(l.default,{...o,fileText:n,className:this.getClassName(e),onChange:this.handleValueChange,onChangeText:this.handleTextChange,showPlaceholder:i})}renderForView(e){const{fileText:t}=this.props;return r.default.createElement(l.default,{...e.attr,fileText:t,multiple:!1,className:this.getClassName(e)})}}},26038:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),i=a(o(37490)),n=o(64985);function a(e){return e&&e.__esModule?e:{default:e}}class l extends i.default{static get componentTitle(){return(0,n.t)("Hidden")}static get componentType(){return"Hidden"}static Label(){for(var e=arguments.length,t=new Array(e),o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(i=o(37490))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(6085);class l extends r.default{static get componentTitle(){return(0,n.t)("Number")}static get componentType(){return"Number"}static pattern="^-?[0-9]\\d*(\\.\\d+)?$";getAttributes(){const{min:e,max:t,error:o}=this.props;return{"data-min":e,"data-max":t,"data-error":(0,a.encodeToString)(o)}}}},81332:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),i=l(o(60042)),n=l(o(37490)),a=o(64985);function l(e){return e&&e.__esModule?e:{default:e}}class s extends n.default{static get componentTitle(){return(0,a.t)("Paragraph")}static get componentType(){return"Paragraph"}getClassName(e){const{showPlaceholder:t}=e;return(0,i.default)("brz-textarea brz-forms2__field brz-forms2__field-paragraph",{"brz-p-events--none":!t})}renderForEdit(e){const{labelType:t,attr:o}=e;return"outside"===t?r.default.createElement("textarea",{...o,ref:this.input,className:this.getClassName(e),value:o.placeholder,onChange:e=>{this.handleChange({placeholder:e.target.value})}}):r.default.createElement("textarea",{...o,ref:this.input,className:this.getClassName(e),onChange:e=>{this.handleChange({label:e.target.value,placeholder:e.target.value})}})}renderForView(e){return r.default.createElement("textarea",{...e.attr,className:this.getClassName(e)})}}},26608:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(i=o(37490))&&i.__esModule?i:{default:i};var i;const n=o(64985);class a extends r.default{static get componentTitle(){return(0,n.t)("Password")}static get componentType(){return"Password"}}},45975:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=c(o(27378)),i=o(70634),n=c(o(37490)),a=o(64985),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(80425)),s=c(o(33364));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}class u extends n.default{static get componentTitle(){return(0,a.t)("Radio")}static get componentType(){return"Radio"}state={value:""};getClassName(){return"brz-forms2__field brz-forms2__radio"}handleChangeOption(e,t){const{options:o,onChange:r}=this.props;r({options:(0,i.replaceAt)(o,t,e)})}handleChangeValue=e=>{this.setState({value:e.target.value})};handleKeyUp=e=>{13===e.keyCode&&this.handleAddOption()};handleAddOption=()=>{const{options:e,onChange:t}=this.props,{value:o}=this.state;o&&o.trim()&&(t({options:[...e,o]}),this.setState({value:""}))};handleRemoveOption(e){const{options:t,onChange:o}=this.props;o({options:(0,i.removeAt)(t,e)})}renderOptions(e){const{label:t,options:o}=e,i=o[0]||"";return r.default.createElement(l.default,{className:"brz-forms2__radio-options",name:t,defaultValue:i},o.map(((e,t)=>r.default.createElement(l.RadioItem,{key:t,className:"brz-forms2__radio-option",value:e,checkIcon:"check-circle-on",unCheckIcon:"check-circle-off"},r.default.createElement("div",{className:"brz-forms2__radio-option-name"},r.default.createElement("input",{type:"text",className:"brz-input",value:e,onChange:e=>this.handleChangeOption(e.target.value,t)}),r.default.createElement("span",{className:"brz-span brz-invisible"},e)),r.default.createElement("div",{className:"brz-forms2__radio-option-icon",onClick:()=>this.handleRemoveOption(t)},r.default.createElement(s.default,{icon:"nc-trash"}))))))}renderForEdit(e){return r.default.createElement("div",{className:this.getClassName()},this.renderOptions(e),r.default.createElement("div",{className:"brz-forms2__radio-option brz-forms2__radio-option-new"},r.default.createElement("span",{className:"brz-span"},r.default.createElement("input",{type:"text",className:"brz-input",placeholder:(0,a.t)("Add new option"),value:this.state.value,onChange:this.handleChangeValue,onKeyUp:this.handleKeyUp})),r.default.createElement("div",{className:"brz-forms2__radio-option-icon",onClick:this.handleAddOption},r.default.createElement(s.default,{icon:"nc-arrow-right"}))))}renderForView(e){const{attr:t}=e,o=e.options.filter((e=>e&&e.trim())),i=o[0]||"";return o.length?r.default.createElement("div",{className:this.getClassName()},r.default.createElement(l.default,{name:t.name,className:"brz-forms2__radio-options",defaultValue:i},o.map(((e,o)=>r.default.createElement(l.RadioItem,{...t,key:o,className:"brz-forms2__radio-option",value:e,checkIcon:"check-circle-on",unCheckIcon:"check-circle-off"},r.default.createElement("span",{className:"brz-span brz-forms2__radio-option-name"},e)))))):null}}},3329:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=g(o(60042)),i=g(o(27378)),n=g(o(27998)),a=o(70634),l=g(o(10301)),s=g(o(17882)),c=g(o(33364)),d=g(o(21107)),u=o(73948),p=g(o(67439)),f=o(92213),m=o(64985),y=g(o(37490));function g(e){return e&&e.__esModule?e:{default:e}}class b extends y.default{static get componentTitle(){return(0,m.t)("Select")}static get componentType(){return"Select"}content=i.default.createRef();dropdown=i.default.createRef();scrollbar=i.default.createRef();state={isOpen:!1,newItemValue:""};getClassName(){const{multipleSelection:e}=this.props;return(0,r.default)("brz-forms2__field brz-forms2__field-select",{"brz-forms2__field-select--multiple":"on"===e},this.props.selectClassName)}getAttributes(){const{multipleSelection:e}=this.props;return{multiple:"on"===e,"data-max-item-dropdown":5}}handleOutside=()=>{this.state.isOpen&&this.setState({isOpen:!1})};handleOptionsChange=(e,t)=>{const o=(0,a.replaceAt)(this.props.options,t,e);this.props.onChange({options:o})};handleOptionsAdd=()=>{const{newItemValue:e}=this.state,{options:t,onChange:o}=this.props;e&&e.trim()&&(o({options:(0,a.addLast)(t,e)}),this.setState({newItemValue:""},(()=>{this.scrollbar.current?.scrollToBottom()})))};handleOptionsRemove=e=>{const t=(0,a.removeAt)(this.props.options,e);this.props.onChange({options:t})};handleKeyUp=e=>{13===e.keyCode&&this.handleOptionsAdd()};handleClick=e=>{e.preventDefault();const t=this.input.current;t&&t.classList.add("brz-ed-dd-cancel")};handleBlur=()=>{const e=this.input.current;e&&e.classList.remove("brz-ed-dd-cancel")};handleOpen=e=>{this.setState((e=>{let{isOpen:t}=e;return{isOpen:!t}}),this.forceUpdate),this.handleClick(e)};getHeight=l.default.debounce((()=>this.dropdown.current?5*this.dropdown.current.querySelector(".brz-forms2__select-item").getBoundingClientRect().height:"100px"));renderOptions(e,t){let{options:o}=e;return o.map(((e,o)=>i.default.createElement("div",{key:o,className:"brz-forms2__select-item"},i.default.createElement("div",{className:"brz-forms2__select-item__input"},i.default.createElement("input",{className:"brz-input",value:e,onChange:e=>this.handleOptionsChange(e.target.value,o)})),t&&i.default.createElement("div",{className:"brz-forms2__select-item__icon",onClick:()=>this.handleOptionsRemove(o)},i.default.createElement(c.default,{icon:"nc-trash"})))))}renderDropdown(e){const t="desktop"===(0,f.getStore)().getState().ui.deviceMode,o=this.content.current,{top:a,left:l,height:s,width:u}=o.getBoundingClientRect(),{scrollLeft:y}=o.ownerDocument.documentElement,g={width:u,top:a+s+window.scrollY,left:l+y},b=(0,r.default)("brz-portal-forms__select brz-ed-dd-cancel",this.props.selectClassName);return i.default.createElement(d.default,{node:o.ownerDocument.body,className:b},i.default.createElement(p.default,this.props.toolbarExtendSelect,i.default.createElement("div",{ref:this.dropdown,className:"brz-forms2__select-list",style:g},i.default.createElement(n.default,{ref:this.scrollbar,autoHeight:!0,autoHeightMax:this.getHeight()},this.renderOptions(e,t),t&&i.default.createElement("div",{className:"brz-forms2__select-item"},i.default.createElement("div",{className:"brz-forms2__select-item__input"},i.default.createElement("input",{placeholder:(0,m.t)("Add new option"),className:"brz-input brz-input__select",value:this.state.newItemValue,onChange:e=>{let{target:{value:t}}=e;this.setState({newItemValue:t})},onKeyUp:e=>this.handleKeyUp(e)})),i.default.createElement("div",{className:"brz-forms2__select-item__icon",onClick:this.handleOptionsAdd},i.default.createElement(c.default,{icon:"nc-arrow-right"})))))))}renderForEdit(e){const{isOpen:t}=this.state,{labelType:o,attr:n,showPlaceholder:a}=e,l=(0,r.default)("brz-input",{"brz-p-events--none":!a});return i.default.createElement(s.default,{exceptions:[".brz-portal-forms__select",".brz-ed-toolbar",".brz-ed-tooltip__content-portal",".brz-ed-eyeDropper"],onClickOutside:this.handleOutside},i.default.createElement("div",{ref:this.content,className:this.getClassName(e)},i.default.createElement("div",{className:"brz-forms2__select-current",onClick:this.handleOpen},"outside"===o?i.default.createElement("input",{...n,ref:this.input,className:l,value:n.placeholder,onChange:e=>{this.handleChange({placeholder:e.target.value})},onBlur:this.handleBlur}):i.default.createElement("input",{...n,ref:this.input,className:l,onChange:e=>{this.handleChange({label:e.target.value,placeholder:e.target.value})},onBlur:this.handleBlur}),i.default.createElement(u.ThemeIcon,{name:"arrow-down",type:"editor",className:"brz-forms2__select--arrow"})),t&&this.renderDropdown(e)))}renderForView(e){const{label:t,attr:o}=e,r=e.options.filter((e=>e&&e.trim()));return r.length?i.default.createElement("div",{className:this.getClassName(e)},i.default.createElement("select",{...o,className:"brz-select"},i.default.createElement("option",{value:""},t),r.map(((e,t)=>i.default.createElement("option",{key:t,value:e},e))))):null}}},41069:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(i=o(37490))&&i.__esModule?i:{default:i};var i;const n=o(64985);class a extends r.default{static get componentTitle(){return(0,n.t)("Tel")}static get componentType(){return"Tel"}static pattern="[0-9()#&+*-=.]+"}},64205:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(i=o(37490))&&i.__esModule?i:{default:i};var i;const n=o(64985);class a extends r.default{static get componentTitle(){return(0,n.t)("Text")}static get componentType(){return"Text"}}},2761:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(i=o(37490))&&i.__esModule?i:{default:i};var i;const n=o(64985);class a extends r.default{static get componentTitle(){return(0,n.t)("Time")}static get componentType(){return"Time"}getAttributes(){const{min:e,max:t,nativeHtml:o}=this.props;return{"data-min":e,"data-max":t,"data-native":"on"===o}}}},33932:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(64985),i=(n=o(37490))&&n.__esModule?n:{default:n};var n;class a extends i.default{static get componentTitle(){return(0,r.t)("URL")}static get componentType(){return"Url"}static pattern="(http(s)?:\\/\\/.)?(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_\\+.~#?&\\/=]*)"}},37490:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}class l extends n.Component{static get componentTitle(){return"Text"}static get componentType(){return"Text"}static defaultProps={_id:null,label:"Default Label",labelType:"inside",required:"off",type:"Text",selectToolbarItems:null};static Label(e){let{id:t,value:o,onChange:r}=e;const{label:i,placeholder:a}=o;return n.default.createElement("label",{className:"brz-label brz-forms2__field-label"},n.default.createElement("div",{className:"brz-p-relative"},n.default.createElement("input",{className:"brz-input brz-p-absolute",type:"text",value:i,placeholder:null===a?i:a,onChange:e=>{r({label:e.target.value})}}),n.default.createElement("span",{className:"brz-invisible"},i)))}input=n.default.createRef();getClassName(e){const{attr:t,showPlaceholder:o}=e;return(0,r.default)(`brz-input brz-forms2__field brz-forms2__field-${t.type}`,{"brz-p-events--none":!o})}getPlaceholder(){const{showPlaceholder:e,placeholder:t,label:o,labelType:r}=this.props;return e?null===t?o:t:""}getValue(){const{showPlaceholder:e,label:t}=this.props;return e?t:""}getAttributes(){return{}}handleChange=e=>{this.props.onChange(e)};handleClick=e=>{e.preventDefault();const t=this.input.current;t&&t.classList.add("brz-ed-dd-cancel")};handleBlur=()=>{const e=this.input.current;e&&e.classList.remove("brz-ed-dd-cancel")};renderForEdit(e){const{labelType:t,attr:o}=e;return"outside"===t?n.default.createElement("input",{...o,ref:this.input,className:this.getClassName(e),value:o.placeholder,onChange:e=>{this.handleChange({placeholder:e.target.value})}}):n.default.createElement("input",{...o,ref:this.input,className:this.getClassName(e),onChange:e=>{this.handleChange({label:e.target.value,placeholder:e.target.value})}})}renderForView(e){const{attr:t}=e;return n.default.createElement("input",{...t,className:this.getClassName(e)})}render(){const{_id:e,label:t,labelType:o,showPlaceholder:r,required:i,type:n,columns:a,options:l,tabletColumns:s,mobileColumns:c,labelId:d}=this.props;{const e={options:l,label:t,labelType:o,showPlaceholder:r,columns:a,tabletColumns:s,mobileColumns:c,attr:{type:"text",value:this.getValue(),placeholder:this.getPlaceholder(),onClick:this.handleClick,onBlur:this.handleBlur}};return this.renderForEdit(e)}}}},26402:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Text:function(){return r.default},Email:function(){return i.default},Number:function(){return n.default},Paragraph:function(){return a.default},Select:function(){return l.default},Radio:function(){return s.default},Checkbox:function(){return c.default},Date:function(){return d.default},Url:function(){return p.default},Time:function(){return u.default},FileUpload:function(){return f.default},Hidden:function(){return m.default},Tel:function(){return y.default},Password:function(){return g.default}});const r=b(o(64205)),i=b(o(15207)),n=b(o(77610)),a=b(o(81332)),l=b(o(3329)),s=b(o(45975)),c=b(o(90108)),d=b(o(19045)),u=b(o(2761)),p=b(o(33932)),f=b(o(9032)),m=b(o(26038)),y=b(o(41069)),g=b(o(26608));function b(e){return e&&e.__esModule?e:{default:e}}},26668:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=o(70634),i=o(67439),n=(a=o(10787))&&a.__esModule?a:{default:a};var a;const l=o(64985);class s extends n.default{static get componentId(){return"Form2Fields.Items"}static defaultProps={className:"",style:{}};getItemProps(e,t,o){const r={getItems:()=>[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{align:"vertical",disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:(0,l.t)("Duplicate"),position:225,onChange:()=>{this.cloneItem(t)}},...o.length>1?[{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:(0,l.t)("Delete"),position:250,disable:1===o.length,onChange:()=>{(0,i.hideToolbar)(),this.removeItem(t)}}]:[]]};return{...super.getItemProps(e,t,o),toolbarExtend:this.makeToolbarPropsFromConfig2(r)}}cloneItem(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e+1;const o=this.getDBValue()||[];if(!o[e])throw new Error(`Can't clone invalid item at index ${e}`);const i=o[e],n=i.value.label.replace(/-[0-9]+/g,"");let a=o.reduce(((e,t)=>{const o=t.value.label;if(o.includes(n)){const t=o.match(/-([0-9]+)$/)||[];if(t.length&&e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=g(o(60042)),i=g(o(27378)),n=g(o(63692)),a=o(94220),l=g(o(26668)),s=g(o(46976)),c=h(o(13314)),d=h(o(16173)),u=h(o(54366)),p=o(54458),f=h(o(36787)),m=h(o(47442)),y=h(o(11400));function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class v extends n.default{static get componentId(){return"Form2Fields"}static defaultValue=s.default;renderForEdit(e,t,o){const{labelType:n,placeholder:s}=this.props,g=(0,r.default)((0,a.css)(`${this.getComponentId()}-fields`,`${this.getId()}-fields`,(0,p.styleFormFields)(e,t,o))),b=(0,r.default)((0,a.css)(`${this.getComponentId()}-field_select`,`${this.getId()}-field_select`,(0,p.styleFormSelect)(e,t,o))),h=this.makeSubcomponentProps({bindWithKey:"items",toolbarExtend:this.makeToolbarPropsFromConfig2(f,c),itemProps:{labelType:n,placeholder:s,className:g,selectClassName:b,toolbarExtendLabel:this.makeToolbarPropsFromConfig2(m,d,{allowExtend:!1}),toolbarExtendSelect:this.makeToolbarPropsFromConfig2(y,u,{allowExtend:!1})}});return i.default.createElement(l.default,h)}}const S=v},13314:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},16173:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},54366:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},54458:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleFormFields:function(){return i},styleFormSelect:function(){return n}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz &&:hover .brz-forms2__field-label":{standart:["cssStyleLabelColor","cssStyleElementForm2FieldsLabelFontFamily","cssStyleElementForm2FieldsLabelFontSize","cssStyleElementForm2FieldsLabelFontWeight","cssStyleElementForm2FieldsLabelLetterSpacing","cssStyleElementForm2FieldsLabelAlign","cssStyleElementForm2FieldsLabelLineHeight"]},".brz && .brz-forms2__field-label":{standart:["cssStyleElementForm2FieldsLabelPadding"]},".brz &&:hover .brz-forms2__field:not(.brz-forms2__radio):not(.brz-forms2__checkbox)":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow","cssStyleElementForm2FieldsLineHeight"],interval:["cssStyleHoverTransition"]},".brz &&.brz-forms2__item--error .brz-forms2__field:not(.brz-forms2__radio):not(.brz-forms2__checkbox)":{standart:["cssStyleElementForm2FieldsBorderRequired"]},".brz && .brz-forms2__field:not(.brz-forms2__radio):not(.brz-forms2__checkbox):not(.brz-forms2__field-select)":{standart:["cssStylePaddingFourFields"]},".brz && .brz-forms2__field-paragraph":{standart:["cssStyleTypography2LineHeight"]},".brz &&:hover .brz-forms2__radio":{standart:["cssStyleElementForm2FieldsCheckboxColor","cssStyleElementForm2FieldsCheckboxFontFamily","cssStyleElementForm2FieldsCheckboxFontSize","cssStyleElementForm2FieldsCheckboxFontWeight","cssStyleElementForm2FieldsCheckboxLetterSpacing","cssStyleElementForm2FieldsCheckboxLineHeight"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-forms2__checkbox":{standart:["cssStyleElementForm2FieldsCheckboxColor","cssStyleElementForm2FieldsCheckboxFontFamily","cssStyleElementForm2FieldsCheckboxFontSize","cssStyleElementForm2FieldsCheckboxFontWeight","cssStyleElementForm2FieldsCheckboxLetterSpacing","cssStyleElementForm2FieldsCheckboxLineHeight"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-forms2__select-item__input":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && .form-alert":{standart:["cssStyleTypographyFontFamily"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-forms2__select-current":{standart:["cssStylePaddingFourFields"]},".brz &&:hover .brz-forms2__select-list":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementForm2FieldsSelectColor","cssStyleElementForm2FieldsSelectBgColor","cssStyleElementForm2FieldsSelectBorderRadius","cssStyleElementForm2FieldsSelectBoxShadow"]},".brz &&:hover .brz-forms2__select-item":{standart:["cssStyleElementForm2FieldsSelectBorder"]}}})}},36787:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=o(57582);function c(e){let{v:t,device:o}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette")),{hex:u}=(0,a.getOptionColorHexByPalette)(c("checkboxColorHex"),c("checkboxColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",options:[{id:"currentShortcodeTabs",type:"tabs-dev",tabs:[{id:"background",options:[(0,s.toolbarElementForm2Size)({v:t,device:o,devices:"desktop"})]}]},(0,s.toolbarElementForm2Size)({v:t,device:o,devices:"responsive"})]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarTypographyCheckbox",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"checkbox",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("bgColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabText",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarColorCheckbox",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,c("checkboxColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"checkboxColor",type:"colorPicker-dev"}]}]}},47442:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(64985),i=o(81405),n=o(68256),a=o(69321);function l(e){let{v:t,device:o}=e;const l=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,n.getOptionColorHexByPalette)(l("labelColorHex"),l("labelColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-form-left",title:(0,r.t)("Field")},position:60,options:[{id:"labelPaddingBottom",label:(0,r.t)("Spacing"),position:60,type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"label",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(s,l("labelColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"color",type:"tabs-dev",tabs:[{label:(0,r.t)("Label"),options:[{id:"labelColor",type:"colorPicker-dev"}]}]}]},{id:"labelHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"right"}]}]}},11400:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(64985),i=o(81405),n=o(68256),a=o(69321);function l(e){let{v:t,device:o}=e;const l=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,n.getOptionColorHexByPalette)(l("selectColorHex"),l("selectColorPalette"));return[{id:"toolbarColorSelect",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(s,l("selectBgColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsSelectColor",type:"tabs-dev",tabs:[{id:"tabSelectText",label:(0,r.t)("Text"),options:[{id:"selectColor",type:"colorPicker-dev"}]},{id:"tabSelectBg",label:(0,r.t)("Bg"),options:[{id:"selectBgColor",type:"colorPicker-dev"}]},{id:"tabSelectBorder",label:(0,r.t)("Border"),options:[{id:"selectBorder",type:"border-dev",config:{width:["grouped"]}}]},{id:"tabSelectBoxShadow",label:(0,r.t)("Shadow"),options:[{id:"selectBoxShadow",type:"boxShadow-dev"}]}]}]}]}},31850:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return C}});const r=x(o(60042)),i=x(o(27378)),n=o(10301),a=x(o(31440)),l=x(o(36275)),s=(o(73948),x(o(10787))),c=x(o(63692)),d=o(86022),u=x(o(22546)),p=o(94220),f=o(16526),m=T(o(48499)),y=x(o(82725)),g=T(o(17330)),b=T(o(64220)),h=o(95068),v=T(o(44849)),S=T(o(59482)),w=T(o(85868));function x(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const P=["centerLeft","centerRight"];class C extends c.default{static get componentId(){return"Form2"}static defaultValue=y.default;static defaultProps={extendParentToolbar:n.noop};handleResizerChange=e=>this.patchValue(e);componentDidMount(){const e=this.makeToolbarPropsFromConfig2(w,b,{allowExtend:!1});this.props.extendParentToolbar(e)}handleSubmit=e=>{e.preventDefault()};renderFields(e){const{label:t,placeholder:o}=e,r=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{meta:this.props.meta,labelType:"off"===t?"inside":"outside",placeholder:"on"===o,toolbarExtend:this.makeToolbarPropsFromConfig2(S,null,{allowExtend:!1})}});return i.default.createElement(s.default,r)}renderButton(e){const t=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:1,itemProps:{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(v,g,{allowExtend:!1})}}),o=(0,r.default)("brz-forms2","brz-forms2__item","brz-forms2__item-button",{"brz-forms2-story":(0,f.isStory)(u.default.getAll())}),n={...m.mRead(e.customAttributes),className:o};return i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement("div",n,i.default.createElement(s.default,t),!1))}renderForEdit(e,t,o){const n=(0,r.default)("brz-forms2",(0,p.css)(`${this.constructor.componentId}-form`,`${this.getId()}-form`,(0,h.styleForm)(e,t,o))),s=i.default.createElement("form",{className:"brz-form",noValidate:!0,onSubmit:this.handleSubmit},this.renderFields(e),this.renderButton(e));return i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(d.Wrapper,this.makeWrapperProps({className:n}),(0,f.isStory)(u.default.getAll())?i.default.createElement(a.default,{points:P,meta:this.props.meta,value:e,onChange:this.handleResizerChange,restrictions:{width:{"%":{min:5,max:100}}}},s):s))}renderForView(e,t,o){const n=(0,r.default)("brz-forms2",(0,p.css)(`${this.constructor.componentId}-form`,`${this.getId()}-form`,(0,h.styleForm)(e,t,o))),{_id:a,messageSuccess:s,messageError:c,messageRedirect:f,customCSS:m}=e,{submitUrl:y,recaptcha:g}=u.default.get("applications").form,b=u.default.get("project").id,v=g&&g.siteKey;return i.default.createElement(l.default,{selectorName:this.getId(),css:m},i.default.createElement(d.Wrapper,this.makeWrapperProps({className:n,attributes:{"data-form-version":"2"}}),i.default.createElement("form",{className:"brz-form brz-d-xs-flex brz-flex-xs-wrap",action:y,noValidate:!0,"data-form-id":a,"data-project-id":b,"data-success":s,"data-error":c,"data-redirect":f},this.renderFields(e),this.renderButton(e),v&&i.default.createElement("div",{className:"brz-g-recaptcha","data-sitekey":v,"data-size":"invisible","data-callback":"brzFormV2Captcha"}))))}}},17330:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(81263),i=o(64985),n=o(68256),a=e=>{let{context:t}=e;const o=(0,n.getDynamicContentOption)({options:t.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",options:[{id:"customAttributes",label:(0,i.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:o},{id:"customCSS",label:(0,i.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:'\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

'},placeholder:"element { CSS goes here }"}]}]}]},{id:"effects",options:[{id:"tabs",type:"tabs-dev",tabs:[{id:"tabHover",options:[{id:"hover",type:"animation-dev",disabled:!0}]}]}]}]}]}},64220:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},95068:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styleForm",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidthStoryOnly"]},".brz &&:hover .brz-form":{standart:["cssStyleElementForm2Margin"]},".brz &&:hover .brz-forms2__item":{standart:["cssStyleElementForm2Padding"]},".brz &&:hover .brz-forms2__item-button":{standart:["cssStyleMarginAlign","cssStyleElementForm2SubmitWidth"]},".brz &&:hover .brz-forms2-story .brz-btn:before":{standart:["cssStyleElementForm2StoryButtonHeight"]}}})}},44849:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(16526),l=o(57582);function s(e){let{v:t,device:o}=e;const i=(0,a.isStory)(r.default.getAll());return[{id:"popoverLink",type:"popover-dev",config:{icon:"nc-link",title:(0,n.t)("Link"),size:"medium"},position:90,options:[{id:"linkForm",type:"tabs-dev",tabs:[{id:"message",label:(0,n.t)("Message"),options:[{id:"messageSuccess",label:(0,n.t)("Success"),type:"inputText-dev",devices:"desktop",placeholder:(0,n.t)("Message sent")},{id:"messageError",label:(0,n.t)("Error"),type:"inputText-dev",devices:"desktop",placeholder:(0,n.t)("Message not sent")}]},{id:"redirect",label:(0,n.t)("Redirect"),options:[{id:"messageRedirect",label:(0,n.t)("Go to"),type:"inputText-dev",devices:"desktop",placeholder:"http://"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"submitWidth",label:(0,n.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"submitHeight",label:(0,n.t)("Height"),type:"slider-dev",disabled:!i,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},(0,l.toolbarElementForm2Apps)({v:t,device:o,devices:"desktop",state:"normal"})]}},59482:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarCurrentElement",type:"popover-dev",options:[{id:"currentShortcodeTabs",type:"tabs-dev",tabs:[{id:"field",options:[{id:"padding",type:"slider-dev",label:(0,r.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"advanced",options:[{id:"label",label:(0,r.t)("Label"),type:"switch-dev",position:15,devices:"desktop"},{id:"placeholder",label:(0,r.t)("Placeholder"),type:"switch-dev",position:16,devices:"desktop"}]}]}]}]}},85868:(e,t)=>{"use strict";function o(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},32364:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(27378)),i=o(23884),n=d(o(95664)),a=d(o(63692)),l=o(25663),s=o(97045),c=o(74215);function d(e){return e&&e.__esModule?e:{default:e}}class u extends a.default{static get componentId(){return"GlobalBlock"}static defaultProps={meta:{}};static defaultValue={};shouldComponentUpdate(e){const t=this.getId();return e.blocksData[t].value!==this.props.blocksData[t].value||this.optionalSCU(e)}handleComponentChange=(e,t)=>{if("replace_all"===t.intent)this.props.onChange(e,t);else{const{blocksData:o}=this.props,r=this.getId(),i={...o[r],value:e};this.props.reduxDispatch((0,c.updateGlobalBlock)({id:r,data:i,meta:{...t,sourceBlockId:this.getId()}}))}};renderForEdit(){const e=this.getId(),{blocksData:t,globalBlocks:o,page:i}=this.props;if(!o[e])return null;if(!(0,l.canUseCondition)(o[e],i))return null;const{type:a,value:s,...c}=t[e];if("GlobalBlock"===a)throw new Error(`Global block not found ${e}`);const d=n.default.getComponent(a),u={...this.props.meta,globalBlockId:e};if(d)return r.default.createElement(d,{...this.props,...c,_id:this.getId(),meta:u,dbValue:s,toolbarExtend:this.props.toolbarExtend,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:this.handleComponentChange});{const e=n.default.getNotFoundComponent();return r.default.createElement(e,{meta:u,dbValue:s,toolbarExtend:this.props.toolbarExtend,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:this.handleComponentChange,componentId:a})}}}const p=(0,i.connect)((e=>({blocksData:(0,s.blocksDataSelector)(e),globalBlocks:(0,s.globalBlocksSelector)(e),page:(0,s.pageSelector)(e)})))(u)},84010:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return H}});const r=B(o(60042)),i=N(o(27378)),n=B(o(31440)),a=B(o(36275)),l=o(62182),s=o(21407),c=B(o(1440)),d=o(10730),u=o(73948),p=B(o(67439)),f=B(o(10787)),m=B(o(63692)),y=o(26989),g=o(86022),b=B(o(22546)),h=o(97045),v=o(92213),S=o(94220),w=o(49863),x=o(16526),M=o(69321),T=N(o(4645)),P=N(o(24119)),C=N(o(59638)),k=o(22741),_=B(o(5183)),O=N(o(64020)),E=o(45408),z=N(o(67262));function B(e){return e&&e.__esModule?e:{default:e}}function j(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(j=function(e){return e?o:t})(e)}function N(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=j(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const I=["topLeft","topRight","bottomLeft","bottomRight"],L=e=>{const{customSize:t,tabletCustomSize:o,mobileCustomSize:r,customSizeSuffix:i,tabletCustomSizeSuffix:n,mobileCustomSizeSuffix:a,...l}=e;return{...l,size:t,tabletSize:o,mobileSize:r,sizeSuffix:i,tabletSizeSuffix:n,mobileSizeSuffix:a}},D=e=>{let t=e;if("size"in e){const{size:o,...r}=e;t={...r,customSize:o}}if("tabletSize"in e){const{tabletSize:o,...r}=e;t={...r,tabletCustomSize:o}}if("mobileSize"in e){const{mobileSize:o,...r}=e;t={...r,mobileCustomSize:o}}return t},F=(0,w.pipe)(T.read,k.isNullish),A=b.default.getAll(),R=(0,x.isStory)(A);class W extends m.default{static get componentId(){return"Icon"}static defaultValue=_.default;handleResizerChange=e=>{const t=(0,h.deviceModeSelector)((0,v.getStore)().getState()),o=(0,M.defaultValueKey)({key:"size",device:t,state:"normal"});this.patchValue({...D(e),[o]:"custom"})};renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{value:{popupId:t}}=e;const{blockId:o}=e;return"GlobalBlock"===e.type&&(t=(0,h.blocksDataSelector)((0,v.getStore)().getState())[e.value._id].value.popupId),{blockId:o,instanceKey:`${this.getId()}_${t}`}}});return i.default.createElement(f.default,e)}dvv=e=>{const t=this.getValue(),o=(0,h.deviceModeSelector)(this.getReduxState()),r=P.mRead(t.tabsState);return(0,M.defaultValueValue)({v:t,key:e,device:o,state:r})};renderForEdit(e,t,o){const{type:f,name:m,linkType:b,linkAnchor:w,linkToSlide:x,linkExternalBlank:M,linkExternalRel:T,linkExternalType:P,linkPopup:k,linkUpload:_,actionClosePopup:B,customID:j,customClassName:N,customCSS:D,cssIDPopulation:A,cssClassPopulation:W}=e,H={anchor:w,story:F(x)?"":`slide-${x}`,external:e[P],popup:k,upload:_,action:"",lightBox:"",page:""},V=(0,r.default)("brz-icon","brz-span",N,(0,S.css)(`${this.getComponentId()}-icon`,`${this.getId()}-icon`,(0,E.style)(e,t,o))),U=(0,r.default)("brz-icon__container",(0,S.css)(`${this.getComponentId()}-icon-wrap`,`${this.getId()}-icon-wrap`,(0,E.styleWrapper)(e,t,o)));let G=i.default.createElement("span",{className:V},i.default.createElement(u.ThemeIcon,{name:m,type:f}));if(H[b]){const e=(0,r.default)({"brz-popup2__action-close":"action"===b&&"on"===B}),t="story"===b&&x?{"data-brz-link-story":x}:{};G=i.default.createElement(c.default,{type:b,href:H[b],target:M,rel:T,className:e,slide:t},G)}const $={...!(0===C.mRead(j).length&&0===C.mRead(A).length)&&{id:""===A?C.mRead(j):C.mRead(A)},className:""===W?C.mRead(N):C.mRead(W)},Q=C.read(this.dvv("hoverName"))??"none",Y=(0,d.makeOptionValueToAnimation)(e),{cloneableAnimationId:Z}=this.props.meta,K=C.read(Z)??this.getId(),q=R||!1;return i.default.createElement(i.Fragment,null,i.default.createElement(p.default,this.makeToolbarPropsFromConfig2(z,O),i.default.createElement(a.default,{selectorName:this.getId(),css:D},i.default.createElement(g.Wrapper,this.makeWrapperProps({className:R?U:"brz-icon__container",attributes:{...$}}),i.default.createElement(n.default,{keepAspectRatio:!0,points:I,meta:this.props.meta,value:L(e),onChange:this.handleResizerChange},i.default.createElement(l.HoverAnimation,{animationId:K,cssKeyframe:Q,options:(0,s.getHoverAnimationOptions)(Y,Q),isHidden:q},G))))),(0,y.shouldRenderPopup)(e,(0,h.blocksDataSelector)((0,v.getStore)().getState()))&&this.renderPopups())}}const H=W},64020:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return f},getItems:function(){return m}});const r=o(21407),i=o(93873),n=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(81263),s=o(64985),c=o(16526),d=o(69321),u=o(68256),p=o(59638),f=(0,s.t)("Icon"),m=e=>{let{v:t,device:o,context:a}=e;const f=e=>(0,d.defaultValueValue)({v:t,key:e,device:o}),m=(0,p.read)(f("hoverName"))??"none",y=(0,u.getDynamicContentOption)({options:a.dynamicContent.config,type:l.DCTypes.richText}),g=(0,c.isStory)(n.default.getAll());return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,s.t)("Styling"),label:(0,s.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",disabled:"submit"===f("type")||"search"===f("type"),tabs:[{id:"settingsStyling",label:(0,s.t)("Basic")},{id:"moreSettingsAdvanced",label:(0,s.t)("Advanced"),options:[{id:"cssID",label:(0,s.t)("CSS ID"),type:"population-dev",position:30,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:y,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,s.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:y,option:{id:"customClassName",type:"inputText-dev"}},{id:"hoverTransition",label:(0,s.t)("Hover Transition"),disabled:g,position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]},{id:"effects",title:(0,s.t)("Effects"),label:(0,s.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"tabHover",label:(0,s.t)("Hover"),options:[{id:"hover",type:"animation-dev",disabled:g,devices:"desktop",config:{types:i.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(m),delay:!1}}]}]}]}]}]}},45408:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return i},styleWrapper:function(){return n}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleColor","cssStyleBorder","cssStyleBoxShadow","cssStyleFontSizeIconOldOption","cssStyleElementIconBgColor","cssStyleElementIconBgGradient","cssStyleElementIconPadding","cssStyleStrokeWidth","cssStyleBorderRadiusType"],interval:["cssStyleHoverTransition","cssStyleElementIconPropertyHoverTransition"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementIconSizeStory"]}}})}},67262:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81405),a=o(64985),l=o(16526),s=o(69321),c=o(68256),d=o(24119),u=o(57582);function p(e){let{v:t,device:o,component:i,context:p}=e;const f=e=>(0,s.defaultValueValue)({v:t,key:e,device:o}),{hex:m}=(0,c.getOptionColorHexByPalette)(f("colorHex"),f("colorPalette")),y=Boolean(i.props.meta.sectionPopup),g=Boolean(i.props.meta.sectionPopup2),b=r.default.getAll(),h=(0,l.isStory)(b),v=(0,l.isPopup)(b);return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-star",title:(0,a.t)("Icon")},position:70,options:[{id:"currentShortcodeTabs",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,a.t)("Icon"),options:[{id:"",label:(0,a.t)("Icon"),type:"iconSetter-dev",position:40},{id:"sizeGroup",type:"group-dev",position:60,disabled:h,options:[{id:"size",label:(0,a.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"customSize",type:"slider-dev",disabled:"custom"!==f("size"),config:{min:14,max:180,units:[{title:"px",value:"px"}]}}]},{id:"padding",label:(0,a.t)("Bg Size"),type:"slider-dev",devices:"responsive",config:{min:0,max:180,units:[{title:"px",value:"px"}]},disabled:"default"===f("fillType")}]},{id:"iconBackground",label:(0,a.t)("Background"),options:[{id:"fillType",label:(0,a.t)("Fill"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"filled",icon:"nc-circle"},{value:"outline",icon:"nc-outline"},{value:"default",icon:"nc-close"}]},{id:"borderRadiusTypeGroup",type:"group-dev",disabled:"default"===f("fillType")||"none"===f("borderStyle")&&"none"===f("boxShadow"),devices:"desktop",options:[{id:"borderRadiusType",label:(0,a.t)("Corner"),type:"radioGroup-dev",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}]},{id:"borderRadius",type:"slider-dev",devices:"desktop",disabled:"custom"!==f("borderRadiusType"),config:{min:0,max:500,units:[{title:"px",value:"px"}]}}]},{id:"padding",label:(0,a.t)("Size"),devices:"desktop",disabled:"default"===f("fillType"),type:"slider-dev",config:{min:0,max:h?50:180,units:h?[{title:"%",value:"%"}]:[{title:"px",value:"px"}]}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(m,f("colorOpacity"))}}},roles:["admin"],position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,a.t)("Icon"),options:[{id:"color",type:"colorPicker-dev",states:[d.NORMAL,d.HOVER]}]},{id:"tabBg",label:(0,a.t)("Bg"),options:[{id:"",type:"backgroundColor-dev",devices:"desktop",states:[d.NORMAL,d.HOVER],disabled:"filled"!==f("fillType")}]},{id:"tabBorder",label:(0,a.t)("Border"),options:[{id:"border",devices:"desktop",type:"border-dev",states:[d.NORMAL,d.HOVER],disabled:"default"===f("fillType")}]},{id:"tabShadow",label:(0,a.t)("Shadow"),options:[{id:"boxShadow",devices:"desktop",type:"boxShadow-dev",states:[d.NORMAL,d.HOVER],disabled:"default"===f("fillType")}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,a.t)("Link")},devices:"desktop",position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0},tabs:[{id:"external",label:(0,a.t)("URL"),options:[(0,u.toolbarLinkExternal)({v:t,config:p.dynamicContent.config}),{id:"linkExternalBlank",label:(0,a.t)("Open In New Tab"),type:"switch-dev"},{id:"linkExternalRel",label:(0,a.t)("Make it Nofollow"),type:"switch-dev"}]},{id:"anchor",label:(0,a.t)("Block"),options:[(0,u.toolbarLinkAnchor)({v:t,disabled:v||h})]},{id:"popup",label:(0,a.t)("Popup"),options:[{id:"linkPopup",type:"promptAddPopup",disabled:y||g||v||h,label:(0,a.t)("Popup"),popupKey:`${i.getId()}_${f("linkPopup")}`,value:{value:f("linkPopup"),popups:f("popups")},onChange:e=>{let{value:t,popups:o}=e;return{linkPopup:t,popups:o}}}]},{id:"story",label:(0,a.t)("Slides"),options:[(0,u.toolbarStoryAnchor)({disabled:!h})]}]}]},{id:"advancedSettings",devices:"desktop",type:"advancedSettings",roles:["admin"],position:110,icon:"nc-cog",title:(0,a.t)("Settings")}]}},9117:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const r=S(o(27378)),i=S(o(36275)),n=S(o(60042)),a=o(10301),l=S(o(63692)),s=S(o(10787)),c=o(94220),d=x(o(43734)),u=x(o(75103)),p=x(o(53041)),f=x(o(686)),m=x(o(30698)),y=x(o(72866)),g=x(o(10942)),b=x(o(95021)),h=S(o(30430)),v=o(53005);function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class M extends l.default{static get componentId(){return"IconText"}static defaultValue=h.default;static defaultProps={extendParentToolbar:a.noop};componentDidMount(){const e=this.makeToolbarPropsFromConfig2(d,u,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a={...this.props.meta,inIconText:!0},l=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{meta:a,toolbarExtend:this.makeToolbarPropsFromConfig2(p,f,{allowExtend:!1})}}),d=r.default.createElement(s.default,l),u=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:1,itemProps:(e,t)=>{let o;switch(t){case 1:o={meta:a,toolbarExtend:this.makeToolbarPropsFromConfig2(m,y,{allowExtend:!1})};break;case 2:o={className:"brz-ed-dd-cancel",meta:a,toolbarExtend:this.makeToolbarPropsFromConfig2(g,b,{allowExtend:!1}),showBorder:!1};break;default:throw new Error(`IconText unexpected index ${t}`)}return o}}),h=r.default.createElement(s.default,u),S=(0,n.default)("brz-icon-text",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,v.style)(e,t,o)));return r.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:S},d,r.default.createElement("div",{className:"brz-text-btn"},h)))}}const T=M},95021:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(57582);function i(e){let{device:t,state:o}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0},(0,r.toolbarDisabledPadding)({device:t,state:o}),(0,r.toolbarDisabledMargin)({device:t,state:o})]}},686:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},75103:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Icon Box");function i(){return[]}},72866:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},53005:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementIconBoxFlexDirection"]},".brz &&:hover .brz-icon__container":{standart:["cssStyleElementIconBoxMargin","cssStyleFlexVerticalAlign"]}}})}},10942:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(57582);function i(e){let{device:t}=e;return[{id:"advancedSettings",type:"advancedSettings",disabled:!0},(0,r.toolbarDisabledShowOnResponsive)({device:t})]}},53041:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-star"},position:70,options:[{id:"currentShortcodeTabs",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,r.t)("Icon"),options:[{id:"iconSpacing",label:(0,r.t)("Spacing"),type:"slider-dev",position:70,config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}]},{id:"iconPosition",type:"toggle-dev",position:90,devices:"desktop",choices:[{icon:"nc-hrz-align-left",title:(0,r.t)("Horizontal Align"),value:"left"},{icon:"nc-hrz-align-right",title:(0,r.t)("Horizontal Align"),value:"right"}]},{id:"verticalAlign",type:"toggle-dev",position:90,devices:"desktop",choices:[{icon:"nc-ver-align-top",title:(0,r.t)("Vertical Align"),value:"top"},{icon:"nc-ver-align-middle",title:(0,r.t)("Vertical Align"),value:"center"},{icon:"nc-ver-align-bottom",title:(0,r.t)("Vertical Align"),value:"bottom"}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0}]}},43734:(e,t)=>{"use strict";function o(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},30698:(e,t)=>{"use strict";function o(){return[{id:"list",type:"toggle",devices:"desktop",disabled:!0},{id:"toolbarSettings",type:"popover-dev",options:[{id:"grid",type:"grid",disabled:!0}]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},73669:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=(i=o(27378))&&i.__esModule?i:{default:i};var i;const n=e=>{let{attr:t,v:{imageSrc:o}}=e;return r.default.createElement("img",{...t,className:"dynamic-image",src:o,draggable:!1,loading:"lazy"})}},59533:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(81504),l=o(19057),s=o(94220),c=o(68914),d=o(69321),u=o(66559),p=o(3109),f=o(85742);function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}const y=e=>{const{sizeType:t,src:o,maxCw:r,fileName:i}=e;if(t===l.SizeType.custom)return`${(0,c.getImageUrl)({fileName:i,uid:o,sizeType:l.SizeType.custom,crop:{...l.defaultCrop,iW:r}})} 1x, ${(0,c.getImageUrl)({fileName:i,uid:o,sizeType:l.SizeType.custom,crop:{...l.defaultCrop,iW:2*r}})} 2x`;{const e=(0,c.getImageUrl)({fileName:i,sizeType:t,uid:o});return`${e} 1x, ${e} 2x`}},g=e=>{const{sizeType:t,src:o,maxCw:r,fileName:i}=e;return t===l.SizeType.custom?(0,c.getImageUrl)({fileName:i,sizeType:l.SizeType.custom,uid:o,crop:{...l.defaultCrop,iW:r,iH:"any"}})??"":(0,c.getImageUrl)({sizeType:t,uid:o,fileName:i})??""},b=e=>{const{v:t,vs:o,vd:i,_id:l,componentId:c,meta:m,extraAttributes:b={},getResponsiveUrls:h}=e,{desktopW:v,tabletW:S,mobileW:w}=m,{imageSrc:x,imageFileName:M,imageWidth:T,imageHeight:P,positionX:C,positionY:k,zoom:_,width:O,height:E,widthSuffix:z,heightSuffix:B}=t,j=(0,n.useRef)(!0),[N,I]=(0,n.useState)(q(v)),[L,D]=(0,n.useState)(q(S,"tablet")),[F,A]=(0,n.useState)(q(w,"mobile"));(0,n.useEffect)((()=>{const e=q(v),t=q(S,"tablet"),o=q(w,"mobile");j.current||(e>N&&I(e),t>L&&D(t),o>F&&A(o)),j.current=!1}),[v,S,w,O,E,_]);const R=X(),W=K("sizeType",u.DESKTOP),H=K("sizeType",u.TABLET),V=K("sizeType",u.MOBILE),U=h&&h(R),{desktopSrc:G,tabletSrc:$,mobileSrc:Q,sourceSrc:Y}=U||{desktopSrc:y({src:x,fileName:M,sizeType:W,maxCw:N}),tabletSrc:y({src:x,fileName:M,sizeType:H,maxCw:L}),mobileSrc:y({src:x,fileName:M,sizeType:V,maxCw:F}),sourceSrc:g({src:x,fileName:M,sizeType:W,maxCw:F})},Z=(0,r.default)("brz-img",t.className,(0,s.css)(`${c}-${l}-image`,`${l}-image`,(0,p.styleImage)(t,o,i,R)));return n.default.createElement(n.default.Fragment,null,n.default.createElement("source",{srcSet:G,media:"(min-width: 992px)"}),n.default.createElement("source",{srcSet:$,media:"(min-width: 768px)"}),n.default.createElement("img",{className:Z,srcSet:Q,src:Y,...b,draggable:!1,loading:"lazy"}));function K(e,o){return(0,d.defaultValueValue)({v:t,key:e,device:o})}function q(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop";const r=X(e);let i,n;if(m.row?.itemsLength){const{itemsLength:e}=m.row;n=v-a.MIN_COL_WIDTH*(e-1),i=100*r[o].width/n}else n=e,i=100*r[o].width/e;const l=20*Math.ceil(i/20);return Math.round(Math.min(l*n/100,t.imageWidth))}function X(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v;const o={imageWidth:T,imageHeight:P,positionX:C,positionY:k,zoom:_,width:O,height:E,widthSuffix:z,heightSuffix:B,size:K("size",u.DESKTOP)},r={imageWidth:T,imageHeight:P,positionX:(0,d.tabletSyncOnChange)(t,"positionX"),positionY:(0,d.tabletSyncOnChange)(t,"positionY"),zoom:(0,d.tabletSyncOnChange)(t,"zoom"),width:t.tabletWidth||O,height:t.tabletHeight||E,widthSuffix:(0,d.tabletSyncOnChange)(t,"widthSuffix"),heightSuffix:(0,d.tabletSyncOnChange)(t,"heightSuffix"),size:K("size",u.TABLET)},i={imageWidth:T,imageHeight:P,positionX:(0,d.mobileSyncOnChange)(t,"positionX"),positionY:(0,d.mobileSyncOnChange)(t,"positionY"),zoom:(0,d.mobileSyncOnChange)(t,"zoom"),width:t.mobileWidth||O,height:t.mobileHeight||E,widthSuffix:(0,d.mobileSyncOnChange)(t,"widthSuffix"),heightSuffix:(0,d.mobileSyncOnChange)(t,"heightSuffix"),size:K("size",u.MOBILE)};return{desktop:(0,f.calcImageSizes)(o,e),tablet:(0,f.calcImageSizes)(r,S),mobile:(0,f.calcImageSizes)(i,w)}}}},25814:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=s(o(60042)),i=s(o(27378)),n=o(19057),a=o(68914),l=o(85742);function s(e){return e&&e.__esModule?e:{default:e}}const c=e=>{let{v:t,imageSrc:o,extraAttributes:s={}}=e;const c=(0,a.getImageUrl)({uid:o,sizeType:n.SizeType.original,fileName:t.imageFileName}),d=(0,r.default)("brz-img","brz-img-svg",{"brz-img__original":(0,l.showOriginalImage)(t)});return i.default.createElement("img",{className:d,src:c,...s,draggable:!1,loading:"lazy"})}},8207:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}}),c(o(60042));const r=c(o(27378)),i=c(o(53125)),n=(o(94220),o(3109),o(85742)),a=c(o(73669)),l=c(o(59533)),s=c(o(25814));function c(e){return e&&e.__esModule?e:{default:e}}const d=(0,c(o(92986)).default)((e=>{const{v:t,vs:o,vd:c,_id:d,componentId:u,wrapperSizes:p,extraAttributes:f,meta:m}=e,{imageSrc:y,imageExtension:g,imagePopulation:b}=t,h="brz-picture";if(b)return m._dc?.lastCache?.imageSrc?r.default.createElement(a.default,{v:t,attr:f}):v();if(y||b){const i=(0,n.isSVG)(g)||(0,n.isGIF)(g)||(0,n.showOriginalImage)(t)?r.default.createElement(s.default,{v:t,vs:o,vd:c,_id:d,componentId:u,extraAttributes:f,imageSrc:y}):r.default.createElement(l.default,{...e,extraAttributes:f,gallery:e?.gallery});return r.default.createElement("picture",{className:h},i)}return v();function v(){return r.default.createElement("div",{className:h},r.default.createElement(i.default,{icon:"img"}))}}))},92986:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=m(o(60042)),i=m(o(27378)),n=m(o(1440)),a=m(o(22546)),l=o(19057),s=o(49863),c=o(68914),d=g(o(4645)),u=g(o(59638)),p=o(22741),f=o(85742);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const b=(0,s.pipe)(d.read,p.isNullish),h=e=>{const{linkType:t,imagePopulation:o,imageExtension:r,imageSrc:i,imageFileName:n}=e;if(i&&"lightBox"===t&&!(0,f.isSVG)(r)&&!(0,f.isGIF)(r))return o?(0,c.imagePopulationUrl)(o,{...c.defaultImagePopulation,useCustomPlaceholder:a.default.getAll().dynamicContent?.useCustomPlaceholder??!1}):(0,c.getImageUrl)({uid:i,fileName:n,sizeType:l.SizeType.custom})},v=function(e){return t=>{const{imageSrc:o,imageFileName:a,imageExtension:l,imagePopulation:s,linkType:c,linkAnchor:d,linkToSlide:p,linkExternalBlank:f,linkExternalRel:m,linkLightBox:y,linkExternalType:g,linkPopup:v,linkUpload:S,actionClosePopup:w}=t.v,x="on"===y?"lightBox":c,M={anchor:d,story:b(p)?"":`slide-${p}`,external:u.read(t.v[g]),popup:v,upload:S,lightBox:h({linkType:x,imageSrc:o,imagePopulation:s,imageExtension:l,imageFileName:a})??"",action:""};if(""!==M[x]){const o=(0,r.default)({"brz-popup2__action-close":"action"===c&&"on"===w}),a="story"!==x||b(p)?{}:{"data-brz-link-story":p};return i.default.createElement(n.default,{className:o,type:x,href:M[x],target:f,rel:m,slide:a},i.default.createElement(e,t))}return i.default.createElement(e,t)}}},45914:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=m(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=m(o(31440)),a=o(85742),l=o(94220),s=o(78438),c=o(69321),d=o(66559),u=o(3109),p=o(85742),f=m(o(48593));function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}const g=e=>{const{v:t,vs:o,vd:m,_id:y,componentId:g,wrapperSizes:b,meta:h,onChange:v,onStart:S,onEnd:w}=e,{maskShape:x}=t,{points:M,restrictions:T}=(0,f.default)(e),P=(0,r.default)("brz-ed-image__wrapper",{"brz-img__original":(0,p.showOriginalImage)(t)},(0,l.css)(`${g}-${y}-wrapper`,`${y}-wrapper`,(0,u.styleWrapper)(t,o,m,{...b,showOriginalImage:(0,p.showOriginalImage)(t)}))),C=(0,i.useCallback)((e=>{v(function(e,t){let o={};if("absolute"===t.elementPosition||"fixed"===t.elementPosition){const r=t.imageWidth/t.imageHeight;o={offsetY:e.offsetY||t.offsetY,height:e.height*r}}return{...e,...o}}(e,t))}),[v,t]),k=(0,r.default)("brz-ed-image__wrapper-container",(0,l.css)(`${g}-${y}-wrapper-container`,`${y}-wrapper-container`,(0,u.styleWrapperContainer)(t,o,m)));return i.default.createElement(n.default,{keepAspectRatio:!0,restrictions:T,points:M,meta:h,value:function(e,t){const{width:o,height:r,tabletWidth:i,mobileWidth:n,imageWidth:l,imageHeight:u,elementPosition:p,widthSuffix:f,imagePopulation:m,imageExtension:y}=e,{desktopW:g,tabletW:b,mobileW:h}=t,v="absolute"===p||"fixed"===p,S=(0,a.getSizeType)(e,d.DESKTOP),{size:w,...x}=e,M=((0,a.isSVG)(y)||(0,a.isGIF)(y))&&!m;return{...x,width:"px"===f?(0,s.clamp)(o||g,0,g):o,tabletWidth:"px"===(0,c.tabletSyncOnChange)(e,"widthSuffix")?(0,s.clamp)(i||o,0,b):i,mobileWidth:(0,c.mobileSyncOnChange)(e,"widthSuffix")?(0,s.clamp)(n||o,0,h):n,height:v?r/(l/u):r,..."custom"!==S&&!M&&{size:w}}}(t,h),onChange:C,onStart:S,onEnd:w},"none"!==x?i.default.createElement("div",{className:k},i.default.createElement("div",{className:P},e.children)):i.default.createElement("div",{className:P},e.children))}},48593:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=o(27378),i=o(2610),n=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(85742),s=o(63586),c=["topLeft","topRight","bottomLeft","bottomRight"],d={default:["topLeft","topCenter","topRight","centerLeft","centerRight","bottomLeft","bottomCenter","bottomRight"],gallery:["bottomCenter"],svg:c,originalImage:["topLeft","topRight","bottomLeft","bottomRight"],gif:c,sizeType:c,population:c},u=e=>{let{v:t,meta:o,gallery:a}=e;const{sizeType:c,imagePopulation:u}=t,p=(0,r.useMemo)((()=>n.default.getAll().dynamicContent?.useCustomPlaceholder??!1),[]),f=(0,i.placeholderObjFromStr)(u,p);if(f)return void 0===f.attr||void 0===f.attr?.size?{points:d.default,restrictions:(0,s.getWidthRestriction)(o,!1)}:{points:d.population,restrictions:(0,s.getSizeRestriction)()};if("custom"===c){const{imageExtension:e,elementPosition:r}=t,i="absolute"===r||"fixed"===r;let n=d.default;return a&&a.inGallery?n=a.layout&&"masonry"===a.layout?d.gallery:t?.clonedFromGallery?d.default:[]:(0,l.isSVG)(e)?n=d.svg:(0,l.isGIF)(e)?n=d.gif:(0,l.showOriginalImage)(t)&&(n=d.originalImage),{points:n,restrictions:(0,s.getWidthRestriction)(o,i)}}return"justified"===a?.layout?{points:[],restrictions:(0,s.getSizeRestriction)()}:{points:d.sizeType,restrictions:(0,s.getSizeRestriction)()}}},63586:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getSizeRestriction:function(){return o},getWidthRestriction:function(){return r}});const o=()=>({size:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletSize:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileSize:{px:{min:5,max:1e3},"%":{min:5,max:100}}}),r=(e,t)=>({height:{px:{min:5,max:1/0},"%":{min:5,max:1/0}},width:{px:{min:5,max:e.desktopW},"%":{min:5,max:t?1/0:100}},tabletWidth:{px:{min:5,max:e.tabletW},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:e.mobileW},"%":{min:5,max:100}}})},51160:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{elementModelToValue:function(){return y},patchOnImageChange:function(){return g},patchOnSizeTypeChange:function(){return b},patchOnDCChange:function(){return h},pathOnUnitChange:function(){return S}});const r=o(47885),i=o(2610),n=m(o(78438)),a=m(o(73904)),l=o(55250),s=o(69321),c=o(77725),d=m(o(59638)),u=o(63147),p=o(85742);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const y=(0,c.readWithParser)({height:(0,r.mPipe)((0,l.prop)("height"),a.read),width:(0,r.mPipe)((0,l.prop)("width"),a.read),heightSuffix:(0,r.mPipe)((0,l.prop)("heightSuffix"),(0,r.pass)(u.isUnit)),widthSuffix:(0,r.mPipe)((0,l.prop)("widthSuffix"),(0,r.pass)(u.isUnit)),sizeType:(0,r.mPipe)((0,l.prop)("sizeType"),d.read),size:(0,r.mPipe)((0,l.prop)("size"),a.read),imageExtension:(0,r.mPipe)((0,l.prop)("imageExtension"),d.read),imagePopulation:(0,r.optional)((0,r.mPipe)((0,l.prop)("imagePopulation"),d.read)),tabletWidth:(0,r.optional)((0,r.mPipe)((0,l.prop)("tabletWidth"),a.read)),tabletHeight:(0,r.optional)((0,r.mPipe)((0,l.prop)("tabletHeight"),a.read)),tabletWidthSuffix:(0,r.optional)((0,r.mPipe)((0,l.prop)("tabletWidthSuffix"),(0,r.pass)(u.isUnit))),tabletHeightSuffix:(0,r.optional)((0,r.mPipe)((0,l.prop)("tabletHeightSuffix"),(0,r.pass)(u.isUnit))),mobileWidth:(0,r.optional)((0,r.mPipe)((0,l.prop)("mobileWidth"),a.read)),mobileHeight:(0,r.optional)((0,r.mPipe)((0,l.prop)("mobileHeight"),a.read)),mobileWidthSuffix:(0,r.optional)((0,r.mPipe)((0,l.prop)("mobileWidthSuffix"),(0,r.pass)(u.isUnit))),mobileHeightSuffix:(0,r.optional)((0,r.mPipe)((0,l.prop)("mobileHeightSuffix"),(0,r.pass)(u.isUnit)))}),g=(e,t,o,r)=>{const i=r.imageWidth,a=r.imageHeight,l=r.imageExtension,s=r.imageSrc,c="svg"===l||"gif"===l,d=(0,p.calcWrapperSizes)({imageWidth:i,imageHeight:a,widthSuffix:t.widthSuffix,heightSuffix:t.heightSuffix,width:t.width,height:t.height,size:t.size},e);let u=o.width,f=o.height,m=t.widthSuffix,y=t.heightSuffix,g=t.tabletWidth??null,b=t.tabletHeight??null,h=t.tabletWidthSuffix??null,v=t.tabletHeightSuffix??null,S=t.mobileWidth??null,w=t.mobileHeight??null,x=t.mobileWidthSuffix??null,M=t.mobileHeightSuffix??null;if("%"===t.widthSuffix){const e=t.width||100;u=o.width*e/d.width}else if(c){const o=n.roundTo(t.width/e*100,2);u=n.clamp(o,0,100),m="%"}if(c)f=100,y="%",g=null,b=null,h=null,v=null,S=null,w=null,x=null,M=null;else if("%"===t.heightSuffix){const e=t.height||100;f=o.height*e/d.height}return{imageWidth:i,imageHeight:a,imageSrc:s,imageExtension:l,width:n.roundTo(u,2),height:n.roundTo(f,2),widthSuffix:m,heightSuffix:y,mobileHeight:w,mobileHeightSuffix:M,mobileWidth:S,mobileWidthSuffix:x,tabletHeight:b,tabletHeightSuffix:v,tabletWidth:g,tabletWidthSuffix:h}},b=(e,t)=>{const o=t.sizeType,r={sizeType:o},i=(0,p.getImageSize)(o);if((0,p.isPredefinedSize)(i)){const t=n.roundTo(i.width/e*100,2);r.size=n.clamp(t,0,100)}return(0,p.isOriginalSize)(i)&&(r.size=100),(0,p.isCustomSize)(i)&&(r.width=100,r.height=100,r.widthSuffix="%",r.heightSuffix="%"),r},h=(e,t,o,a)=>{const l=(0,i.placeholderObjFromStr)(t.imagePopulation,a);if(void 0===l)return{width:100,height:100,widthSuffix:"%",heightSuffix:"%"};const{attr:s}=l,c=(0,r.mPipe)(d.read,p.getImageSize)(s?.size);if(void 0!==c){if((0,p.isPredefinedSize)(c)){const t=n.roundTo(c.width/e*100,2);return{size:n.clamp(t,0,100)}}return{size:100}}return{height:o.height,heightSuffix:"px"}},v=(e,t,o)=>{switch(o){case"%":return n.roundTo(t/e*100,2);case"px":return n.roundTo(t/100*e,2)}},S=(e,t,o,r)=>{const i=t.imageExtension,n=t.imagePopulation,l="svg"===i||"gif"===i,c=e=>(0,s.defaultValueKey)({key:e,device:r,state:"normal"}),[d]=Object.keys(o).filter((e=>e===c("widthSuffix")||e===c("heightSuffix"))),p=e=>(0,s.defaultValueValue)({key:e,v:t,device:r});if(void 0===d)return o;const f=c("width"),m=a.read(p("width")),y=p(d),g=o[d];return(0,u.isUnit)(g)&&void 0!==m?!l||n||y===g?o:{[d]:g,[f]:v(e,m,g)}:{}}},46350:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return U}});const r=R(o(60042)),i=H(o(27378)),n=R(o(36042)),a=R(o(10301)),l=R(o(36275)),s=o(62182),c=o(21407),d=o(83185),u=o(10730),p=R(o(67439)),f=R(o(10787)),m=R(o(63692)),y=o(2610),g=o(76753),b=o(26989),h=R(o(22546)),v=o(97045),S=o(92213),w=o(94220),x=o(68914),M=o(78438),T=o(16526),P=o(69321),C=o(86845),k=o(4645),_=o(66559),O=o(59638),E=o(86022),z=R(o(8207)),B=R(o(45914)),j=R(o(59195)),N=o(51160),I=H(o(72058)),L=o(3109),D=R(o(10441)),F=H(o(93993)),A=o(85742);function R(e){return e&&e.__esModule?e:{default:e}}function W(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(W=function(e){return e?o:t})(e)}function H(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=W(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class V extends m.default{static get componentId(){return"Image"}static defaultProps={meta:{},onResize:a.default.noop};static defaultValue=j.default;static experimentalDynamicContent=!0;prevWrapperSizes={cW:0,cH:0};constructor(e){super(e);const{desktopW:t,mobileW:o,tabletW:r}=this.props.meta;this.state={containerWidth:t,tabletContainerWidth:r,mobileContainerWidth:o,isDragging:!1,sizePatch:null}}container=i.default.createRef();componentDidMount(){this.mounted=!0,this.handleResize()}componentWillUnmount(){this.mounted=!1}patchValue(e,t){const o=this.handleImageChange(e);super.patchValue({...e,...o},t)}handleImageChange(e){const t=(0,v.deviceModeSelector)((0,S.getStore)().getState()),{v:o}=this.getValue2(),r=(0,N.elementModelToValue)(o),i=F.fromImageElementModel(e),n=F.fromImageDCElementModel(e),a=F.patchImageSizeType(e),l=F.patchImageUnit(e,t);if(void 0===r)return{};if(void 0!==i){const e=this.getWrapperSizes(o)[t],n=this.getContainerSize()[t];return(0,N.patchOnImageChange)(n,r,e,i)}if(void 0!==n){const r=this.getWrapperSizes(o)[t],i=this.getContainerSize()[t],n=h.default.getAll().dynamicContent?.useCustomPlaceholder??!1;return(0,N.patchOnDCChange)(i,e,r,n)}if(void 0!==l){const e=this.getContainerSize()[t];return(0,N.pathOnUnitChange)(e,r,l,t)}const s=("sizeType",(0,P.defaultValueValue)({v:o,device:t,key:"sizeType"}));if(void 0!==a&&a.sizeType!==s){const e=this.getContainerSize()[t];return(0,N.patchOnSizeTypeChange)(e,a)}return{}}handleResize=()=>{(0,T.isStory)(h.default.getAll())||this.updateContainerWidth(),this.props.onResize()};handleChange=e=>{this.patchValue(e)};handleBoxResizerChange=e=>{this.state.isDragging?this.setState({sizePatch:e}):this.handleChange(e)};onDragStart=()=>{this.setState({isDragging:!0})};onDragEnd=()=>{const e=this.state.sizePatch;this.setState({isDragging:!1,sizePatch:null},(()=>this.handleBoxResizerChange(e)))};getWidth=()=>{const e=this.container?.current?.parentElement,t=e?.getBoundingClientRect().width;if(e&&(0,M.isNumber)(t)){const o=getComputedStyle(e);return t-(parseFloat(o.paddingLeft)+parseFloat(o.paddingRight))-(parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth))}};updateContainerWidth=()=>{if(!this.mounted)return;const e=(0,S.getStore)().getState().ui.deviceMode,t=this.getWidth();if(void 0!==t)switch(e){case"desktop":this.state.containerWidth!==t&&this.setState({containerWidth:t});break;case"tablet":this.state.tabletContainerWidth!==t&&this.setState({tabletContainerWidth:t});break;case"mobile":this.state.mobileContainerWidth!==t&&this.setState({mobileContainerWidth:t})}};getExtraImageProps(e){return{alt:e.alt}}getImageUrlsFor(e,t,o){const r=this.getValue();let{width:i,height:n}=e[o];if(i=Math.round(i),n=Math.round(n),r.imagePopulation){const e=h.default.getAll().dynamicContent?.useCustomPlaceholder??!1,t=r.imageSrc,o={cW:Math.round(i),cH:Math.round(n)},a=(0,A.multiplier)(o,2),l=(0,x.imagePopulationUrl)(t,{...o,useCustomPlaceholder:e});return{source:l,url:`${l} 1x, ${(0,x.imagePopulationUrl)(t,{...a,useCustomPlaceholder:e})} 2x`}}return(0,A.getCustomImageUrl)((0,d.fromElementModel)((e=>(0,P.defaultValueValue)({v:r,key:e,device:o}))),e[o],t[o])}getResponsiveUrls(e,t){return{desktopSrc:this.getImageUrlsFor(e,t,"desktop").url,tabletSrc:this.getImageUrlsFor(e,t,"tablet").url,mobileSrc:this.getImageUrlsFor(e,t,"mobile").url,sourceSrc:this.getImageUrlsFor(e,t,"desktop").source}}getWrapperSizes(e){const{containerWidth:t,tabletContainerWidth:o,mobileContainerWidth:r}=this.state,{imageExtension:i,imagePopulation:n,imageWidth:a,imageHeight:l,width:s,height:c,widthSuffix:d,heightSuffix:u}=e,p=((0,A.isSVG)(i)||(0,A.isGIF)(i))&&!n,f=(0,A.getSizeType)(e,_.DESKTOP),m=(0,A.getSizeType)(e,_.TABLET),y=(0,A.getSizeType)(e,_.MOBILE),g=(0,A.getImageSize)(f),b=(0,A.getImageSize)(m),h=(0,A.getImageSize)(y),{desktop:v,tablet:S,mobile:w}=this.getContainerSize();if((0,A.isPredefinedSize)(g)&&!p)return{desktop:(0,A.calcWrapperPredefinedSizes)(g,v),tablet:(0,A.calcWrapperPredefinedSizes)(b,S),mobile:(0,A.calcWrapperPredefinedSizes)(h,w)};const x=(t,o)=>(0,P.defaultValueValue)({v:e,device:o,key:t}),M=x("size",_.DESKTOP),T=x("size",_.TABLET),C=x("size",_.MOBILE),k={imageWidth:a,imageHeight:l,imageExtension:i,width:s,height:c,widthSuffix:d,heightSuffix:u,size:M},O={imageWidth:a,imageHeight:l,imageExtension:i,size:T,width:e.tabletWidth||s,height:e.tabletHeight||c,widthSuffix:(0,P.tabletSyncOnChange)(e,"widthSuffix"),heightSuffix:(0,P.tabletSyncOnChange)(e,"heightSuffix")},E={imageWidth:a,imageHeight:l,imageExtension:i,size:C,width:e.mobileWidth||s,height:e.mobileHeight||c,widthSuffix:(0,P.mobileSyncOnChange)(e,"widthSuffix"),heightSuffix:(0,P.mobileSyncOnChange)(e,"heightSuffix")};return(0,A.isOriginalSize)(g)&&!p?{desktop:(0,A.calcWrapperOriginalSizes)(k,t),tablet:(0,A.calcWrapperOriginalSizes)(O,o),mobile:(0,A.calcWrapperOriginalSizes)(E,r)}:{desktop:(0,A.calcWrapperSizes)(k,t),tablet:(0,A.calcWrapperSizes)(O,o),mobile:(0,A.calcWrapperSizes)(E,r)}}getContainerSize(){return{desktop:this.state.containerWidth,tablet:this.state.tabletContainerWidth,mobile:this.state.mobileContainerWidth}}getLightboxClassName(){const e=this.getValue(),t=Boolean(this.props.renderer?.gallery?.inGallery);return{"brz-image__lightbox":(e.imageSrc||e.imagePopulation)&&"on"===e.linkLightBox&&!t&&!((0,A.isSVG)(e.imageExtension)||(0,A.isGIF)(e.imageExtension))}}getDBValue(){const{resize:e,tabletResize:t,mobileResize:o,...r}=super.getDBValue();let i={};if(e&&(i={...i,width:e,widthSuffix:"%",heightSuffix:"%"}),t&&(i={...i,tabletWidth:t,tabletWidthSuffix:"%",tabletHeightSuffix:"%"}),o&&(i={...i,mobileWidth:o,mobileWidthSuffix:"%",mobileHeightSuffix:"%"}),r.height&&!r.heightSuffix&&(i={...i,heightSuffix:"%"}),r.tabletHeight&&!r.tabletHeightSuffix&&(i={...i,tabletHeightSuffix:"%"}),r.mobileHeight&&!r.mobileHeightSuffix&&(i={...i,mobileHeightSuffix:"%"}),r.imagePopulation){const{imageSizes:e,dynamicContent:t}=h.default.getAll(),o=t?.useCustomPlaceholder??!1,n=(0,y.placeholderObjFromStr)(r.imagePopulation,o),a=n?.attr,l=n?.name;if(void 0!==l&&void 0!==a?.size){const t=e?.find((e=>{let{name:t}=e;return t===a.size}));if(void 0!==e&&void 0===t){const e={...a,size:"original"};i={...i,imagePopulation:(0,y.placeholderObjToStr)({name:l,attr:e},o)}}}}if(void 0!==r.sizeType&&"custom"!==r.sizeType){const{imageSizes:e}=h.default.getAll(),t=e?.find((e=>{let{name:t}=e;return t===r.sizeType}));void 0===t&&(r.sizeType="original")}const n=this.state.sizePatch??{};return{...r,...i,...n}}getDCValueHook(e,t){const o=this.getWrapperSizes(t),{deviceMode:r}=(0,S.getStore)().getState().ui,i=e=>(0,P.defaultValueValue)({v:t,key:e,device:r});return e.map((e=>{if("image"===e.key){let{width:n,height:a}=o[r],{cW:l,cH:s}=this.prevWrapperSizes;(n>l||a>s)&&(l=n,s=a,this.prevWrapperSizes={cW:n,cH:a});const c=(0,d.fromElementModel)((o=>t[(0,g.createOptionId)((0,y.keyToDCFallback2Key)(e.key),o)])),u=(0,A.getCustomImageUrl)(c,this.getWrapperSizes(t)[r],(0,A.calcImageSizes)({size:i("size"),width:i("width"),height:i("height"),widthSuffix:i("widthSuffix"),heightSuffix:i("heightSuffix"),imageHeight:c.height,imageWidth:c.width,positionX:c.x,positionY:c.y,zoom:i("zoom")},this.props.meta[`${r}W`],!1)).source;return{...e,key:"imageSrc",attr:{...e.attr,cW:Math.round(l),cH:Math.round(s),disableCrop:!0},...u?{fallback:u}:{}}}return e}))}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{blockId:t,value:{popupId:o}}=e;return"GlobalBlock"===e.type&&(o=(0,v.blocksDataSelector)((0,S.getStore)().getState())[e.value._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${o}`}}});return i.default.createElement(f.default,e)}getHoverAnimationData(e){const{gallery:t={}}=this.props.renderer?this.props.renderer:{gallery:{}},{wrapperAnimationId:o}=this.props.meta,{hoverName:r,hoverDuration:i,hoverInfiniteAnimation:n,inGallery:a}=t,l=(0,O.read)(o)??this.getId();if(a){const e=(0,O.read)(r)??"none",t={duration:(0,k.read)(i)??1e3,infiniteAnimation:n??!1};return{hoverName:e,animationId:l,options:(0,c.getHoverAnimationOptions)(t,e)}}const{hoverName:s}=e,d=(0,O.read)(s)??"none",p=(0,u.makeOptionValueToAnimation)(e);return{hoverName:d,animationId:l,options:(0,c.getHoverAnimationOptions)(p,d)}}renderForEdit(e,t,o){const{className:a}=e,c=(0,T.isStory)(h.default.getAll()),{gallery:d={}}=this.props.renderer?this.props.renderer:{gallery:{}},{containerWidth:u,tabletContainerWidth:f,mobileContainerWidth:m}=this.state,y=this.getWrapperSizes(e),g=(0,D.default)({desktopWrapperSizes:y.desktop,desktopContainerWidth:u,tabletWrapperSizes:y.tablet,tabletContainerWidth:f,mobileWrapperSizes:y.mobile,mobileContainerWidth:m,gallery:d}),x=""!==e.linkExternal||""!==e.linkPopulation,M=(0,r.default)("brz-image",c&&"brz-image--story",{"brz-story-linked":c&&x},this.getLightboxClassName(),a),P=(0,r.default)("brz-ed-image__content",(0,w.css)(`${this.constructor.componentId}-${this.getId()}-content`,`${this.getId()}-content`,(0,L.styleContent)(e,t,o,{...y,showOriginalImage:(0,A.showOriginalImage)(e)}))),k={...this.props.meta,desktopW:u,tabletW:f,mobileW:m,_dc:this._dc},{animationId:_,hoverName:O,options:j}=this.getHoverAnimationData(e),{wrapperAnimationActive:N}=this.props.meta,F=(0,C.read)(N);return i.default.createElement(i.Fragment,null,i.default.createElement(E.Wrapper,this.makeWrapperProps({className:(0,r.default)(M,P),ref:this.container}),i.default.createElement(p.default,this.makeToolbarPropsFromConfig2(g,I),i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(s.HoverAnimation,{animationId:_,cssKeyframe:O,options:j,isDisabledHover:F,isHidden:c},i.default.createElement(B.default,{v:e,vs:t,vd:o,_id:this.getId(),componentId:this.constructor.componentId,wrapperSizes:y,meta:k,onChange:this.handleBoxResizerChange,onStart:this.onDragStart,onEnd:this.onDragEnd,gallery:d},i.default.createElement(z.default,{v:e,vs:t,vd:o,_id:this.getId(),componentId:this.constructor.componentId,wrapperSizes:y,meta:k,gallery:d})))))),i.default.createElement(n.default,{onResize:this.handleResize}),(0,b.shouldRenderPopup)(e,(0,v.blocksDataSelector)((0,S.getStore)().getState()))&&this.renderPopups())}renderForView(e,t,o){const{className:n}=e,a=(0,T.isStory)(h.default.getAll()),c="absolute"===e.elementPosition||"fixed"===e.elementPosition,{animationId:d,hoverName:u,options:p}=this.getHoverAnimationData(e),f=this.getWrapperSizes(e),m=this.getExtraImageProps(e),y={wrapperSizes:f,props:this.props},g=""!==e.linkExternal||""!==e.linkPopulation,x=(0,r.default)("brz-image",{"brz-story-linked":a&&g},{"brz-image--hovered":"none"!==u},c&&"brz-image--story",this.getLightboxClassName(),n,(0,w.css)(`${this.getComponentId()}-${this.getId()}-parent`,`${this.getId()}-parent`,(0,L.style)(e,t,o,y))),M=(0,r.default)((0,w.css)(`${this.getComponentId()}-${this.getId()}-parent-hover`,`${this.getId()}-parent-hover`,(0,L.styleHover)(e,t,o,y)));return i.default.createElement(i.Fragment,null,i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(s.HoverAnimation,{animationId:d,className:M,cssKeyframe:u,options:p,isHidden:"none"===u||a},i.default.createElement(E.Wrapper,this.makeWrapperProps({className:x,ref:this.container}),i.default.createElement(z.default,{v:e,vs:t,vd:o,_id:this.getId(),componentId:this.constructor.componentId,wrapperSizes:f,meta:this.props.meta,extraAttributes:m,getResponsiveUrls:e=>this.getResponsiveUrls(f,e),onChange:this.handleChange})))),(0,b.shouldRenderPopup)(e,(0,v.blocksDataSelector)((0,S.getStore)().getState()))&&this.renderPopups())}}const U=V},46380:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(2610),i=a(o(22546)),n=a(o(46350));function a(e){return e&&e.__esModule?e:{default:e}}class l extends n.default{getExtraImageProps(e){const{alt:t,imageSrc:o,imagePopulation:n}=e;if(t)return{alt:t};if(n){const e=i.default.getAll().dynamicContent?.useCustomPlaceholder??!1,t=(0,r.placeholderObjFromStr)(n,e);if(t)return{alt:`{{ brizy_dc_image_alt placeholder='${t.name}' }}`}}return{alt:`{{ brizy_dc_image_alt uid='${o}' }}`}}}},72058:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=o(21407),i=o(93873),n=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(39191),s=o(64985),c=o(69321),d=o(59638),u=o(85742),p=o(16526),f=e=>{let{v:t,device:o}=e;const a=e=>(0,c.defaultValueValue)({v:t,key:e,device:o}),f=a("imageExtension"),m=a("imageSrc"),y=(0,d.read)(a("hoverName"))??"none",g=(0,p.isStory)(n.default.getAll()),b=(0,l.isWp)(n.default.getAll());return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,s.t)("Styling"),label:(0,s.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,s.t)("Basic"),icon:"nc-styling",options:[{id:"border",label:(0,s.t)("Corner"),type:"corners-dev"}]},{id:"moreSettingsAdvanced",label:(0,s.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,s.t)("Hover Transition"),position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"alt",type:"inputText-dev",label:(0,s.t)("Alt Title"),display:"block",helper:{content:"Specify an alternate text for the image, if it cannot be displayed."}},{id:"showOriginalImage",type:"switch-dev",label:(0,s.t)("Show Original image"),disabled:!b||(0,u.isSVG)(f)||(0,u.isGIF)(f)||!m}]}]}]},{id:"effects",title:(0,s.t)("Effects"),label:(0,s.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,s.t)("Entrance"),options:[]},{id:"tabHover",label:(0,s.t)("Hover"),options:[{id:"hover",type:"animation-dev",devices:"desktop",disabled:g,config:{types:i.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(y),delay:!1}}]}]}]}]}]}},3109:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleHover:function(){return i},style:function(){return n},styleContent:function(){return a},styleWrapper:function(){return l},styleWrapperContainer:function(){return s},styleImage:function(){return c},stylePicture:function(){return d}});const r=o(94220);function i(e,t,o,i){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&.brz-hover-animation__container":{standart:["cssStyleElementImageMaxWidthPreview"]}},props:i})}function n(e,t,o,i){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover:not(.brz-image--hovered)":{standart:["cssStyleElementImageMaxWidthPreview"]},".brz &&:hover":{standart:["cssStyleElementImageHeightPreview","cssStyleElementImageBoxShadow|||preview","cssStyleBorder|||preview","cssStyleBorderRadius|||preview","cssStyleElementImageMaskDropShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover .brz-picture:after":{standart:["cssStyleElementImageBoxShadow|||preview","cssStyleBgColor|||preview","cssStyleBgGradient|||preview","cssStyleBorderRadius|||preview"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover .brz-picture":{standart:["cssStyleElementImageFilter|||preview","cssStyleImageMask","cssStyleImageMaskSize","cssStyleImageMaskPosition","cssStyleImageMaskRepeat","cssStyleElementImageCustomImage"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]}},props:i})}function a(e,t,o,i){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementImageMaxWidthEditor","cssStyleElementImageHeightEditor"]}},props:i})}function l(e,t,o,i){const n={".brz &&:hover":{standart:["cssStyleElementImageFilter|||editor","cssStyleElementImageWidthWrapper","cssStyleElementImageHeightWrapper|||editor","cssStyleElementImagePosition",..."none"===e.maskShape?["cssStyleBorder|||editor","cssStyleBorderRadius|||editor","cssStyleElementImageBoxShadow|||editor"]:[],"cssStyleImageMask","cssStyleImageMaskSize","cssStyleImageMaskPosition","cssStyleImageMaskRepeat","cssStyleElementImageCustomImage"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover:after":{standart:["cssStyleElementImageBoxShadow|||editor","cssStyleBgColor|||editor","cssStyleBgGradient|||editor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]}};return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:n,props:i})}function s(e,t,o,i){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderRadius|||editor","cssStyleBorder|||editor","cssStyleElementImageBoxShadow|||editor","cssStyleElementImageMaskDropShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]}},props:i})}function c(e,t,o,i){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementImageWidthWrapper","cssStyleElementImageHeightWrapper","cssStyleElementImageMarginLeft","cssStyleElementImageMarginTop"]}},props:i})}function d(e,t,o,i){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementImagePictureSizePreview"]},".brz &&:hover > .brz-img":{standart:["cssStyleElementImagePosition","cssStyleElementImageSizePreview"]}},props:i})}},10441:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return y},getItems:function(){return g}});const r=o(2610),i=(n=o(22546))&&n.__esModule?n:{default:n};var n;const a=o(81263),l=o(81405),s=o(64985),c=o(16526),d=o(69321),u=o(68256),p=o(24119),f=o(57582),m=o(85742),y=e=>{let{desktopContainerWidth:t,tabletContainerWidth:o,mobileContainerWidth:r,gallery:i}=e;return{getItems:g({property:{desktop:{cW:t,gallery:i},tablet:{cW:o,gallery:i},mobile:{cW:r,gallery:i}}})}},g=e=>{let{property:t}=e;return e=>{let{v:o,device:n,component:y,context:g}=e;const b=i.default.getAll(),h=Boolean(y.props.meta.sectionPopup),v=Boolean(y.props.meta.sectionPopup2),S=b.dynamicContent?.useCustomPlaceholder??!1,{cW:w,gallery:x}=t[n],M=Boolean(o?.clonedFromGallery),{inGallery:T=!1,withBigImage:P=!1,enableTags:C}=x||{},k=e=>(0,d.defaultValueValue)({v:o,key:e,device:n}),{hex:_}=(0,u.getOptionColorHexByPalette)(k("borderColorHex"),k("borderColorPalette")),O=C&&!M,E=k("borderColorOpacity"),z=k("maskShape"),B=k("maskPosition"),j=k("maskSize"),N=k("maskScaleSuffix"),I=k("maskCustomUploadImageSrc"),L="none"===z||"custom"===z&&!I,D=k("widthSuffix"),F=k("heightSuffix"),A=k("sizeType"),R=(0,u.getDynamicContentOption)({options:g.dynamicContent.config,type:a.DCTypes.image}),W=k("imageExtension"),H=k("imagePopulation"),V=k("linkPopup"),U=(0,r.placeholderObjFromStr)(H,S),G="custom"===A&&!U||!(!U||void 0!==U.attr&&void 0!==U.attr?.size),$=((0,m.isSVG)(W)||(0,m.isGIF)(W))&&!U;return[{id:"toolbarImage",type:"popover-dev",config:{icon:"nc-img",title:(0,s.t)("Image")},position:80,options:[{id:"media",type:"tabs-dev",tabs:[{id:"tabImage",label:(0,s.t)("Image"),options:[{id:"image",type:"population-dev",label:(0,s.t)("Image"),disabled:((0,m.isSVG)(W)||(0,m.isGIF)(W)||H)&&"desktop"!==n||M,config:"desktop"===n&&!x.inGallery&&R?R:void 0,fallback:{id:(0,r.keyToDCFallback2Key)("image"),type:"imageUpload-dev"},option:{id:"",type:"imageUpload-dev",config:{edit:"desktop"===n}}},{id:"zoom",label:(0,s.t)("Zoom"),type:"slider-dev",disabled:Boolean(H)||(0,m.isSVG)(W)||(0,m.isGIF)(W)||"custom"!==A||M,config:{min:100,max:200,inputMin:100,units:[{value:"%",title:"%"}]}},{id:"linkLightBox",label:(0,s.t)("Open in Lightbox"),type:"switch-dev",disabled:T||(0,m.isSVG)(W)||(0,m.isGIF)(W)||M||(0,c.isStory)(i.default.getAll()),devices:"desktop"}]},{id:"tabMask",label:(0,s.t)("Mask"),position:110,options:[...T&&!M?[]:[{id:"maskShape",label:(0,s.t)("Shape"),devices:"desktop",type:"select-dev",choices:[{title:(0,s.t)("None"),value:"none"},{value:"circle",icon:{name:"nc-mask-shape-circle"},title:""},{value:"rhombus",icon:{name:"nc-mask-shape-rhombus"},title:""},{value:"star",icon:{name:"nc-mask-shape-star"},title:""},{value:"flower",icon:{name:"nc-mask-shape-flower"},title:""},{value:"square",icon:{name:"nc-mask-shape-square"},title:""},{value:"triangle",icon:{name:"nc-mask-shape-triangle"},title:""},{value:"blob1",icon:{name:"nc-mask-shape-blob1"},title:""},{value:"blob2",icon:{name:"nc-mask-shape-blob2"},title:""},{value:"blob3",icon:{name:"nc-mask-shape-blob3"},title:""},{value:"blob4",icon:{name:"nc-mask-shape-blob4"},title:""},{value:"brush1",icon:{name:"nc-mask-shape-brush1"},title:""},{value:"brush2",icon:{name:"nc-mask-shape-brush2"},title:""},{value:"brush3",icon:{name:"nc-mask-shape-brush3"},title:""},{value:"brush4",icon:{name:"nc-mask-shape-brush4"},title:""},{value:"poly1",icon:{name:"nc-mask-shape-poly1"},title:""},{value:"poly2",icon:{name:"nc-mask-shape-poly2"},title:""},{value:"poly3",icon:{name:"nc-mask-shape-poly3"},title:""},{value:"poly4",icon:{name:"nc-mask-shape-poly4"},title:""},{value:"custom",title:(0,s.t)("Custom")}]},{id:"maskCustomUpload",type:"imageUpload-dev",devices:"desktop",label:(0,s.t)("Image"),config:{pointer:!1,disableSizes:!0,acceptedExtensions:["png","svg"]},helper:{enabled:!0,content:(0,s.t)("Upload only [ .png or .svg ]")},disabled:"custom"!==z},{id:"groupSize",type:"group-dev",disabled:L,options:[{id:"maskSize",label:(0,s.t)("Size"),type:"select-dev",choices:[{title:(0,s.t)("Fit"),value:"contain"},{title:(0,s.t)("Fill"),value:"cover"},{title:(0,s.t)("Custom"),value:"custom"}]},{id:"maskScale",type:"slider-dev",disabled:"custom"!==j,config:{min:1,max:"px"===N?500:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"groupPosition",type:"group-dev",disabled:L,options:[{id:"maskPosition",type:"select-dev",label:(0,s.t)("Position"),choices:[{title:(0,s.t)("Center Center"),value:"center center"},{title:(0,s.t)("Center Left"),value:"center left"},{title:(0,s.t)("Center Right"),value:"center right"},{title:(0,s.t)("Top Center"),value:"top center"},{title:(0,s.t)("Top Right"),value:"top right"},{title:(0,s.t)("Top Left"),value:"top left"},{title:(0,s.t)("Bottom Center"),value:"bottom center"},{title:(0,s.t)("Bottom Left"),value:"bottom left"},{title:(0,s.t)("Bottom Right"),value:"bottom right"},{title:(0,s.t)("Custom"),value:"custom"}]},{id:"maskPositionx",label:(0,s.t)("X"),type:"slider-dev",disabled:"custom"!==B,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"maskPositiony",label:(0,s.t)("Y"),type:"slider-dev",disabled:"custom"!==B,config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"maskRepeat",label:(0,s.t)("Repeat"),type:"select-dev",disabled:L||"cover"===j,choices:[{title:(0,s.t)("No Repeat"),value:"no-repeat"},{title:(0,s.t)("Repeat"),value:"repeat"},{title:(0,s.t)("Repeat-X"),value:"repeat-x"},{title:(0,s.t)("Repeat-Y"),value:"repeat-y"},{title:(0,s.t)("Space"),value:"space"},{title:(0,s.t)("Round"),value:"round"}]}]]},{id:"tabTags",label:(0,s.t)("Tags"),options:[(0,f.toolbarImageTags)({devices:"desktop",gallery:x,enableTags:O})]}]}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,s.t)("Colors"),icon:{style:{backgroundColor:(0,l.hexToRgba)(_,E)}}},roles:["admin"],position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,s.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev",states:[p.NORMAL,p.HOVER]}]},{id:"tabBorder",label:(0,s.t)("Border"),options:[{id:"border",type:"border-dev",states:[p.NORMAL,p.HOVER]}]},{id:"tabBoxShadow",label:(0,s.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[p.NORMAL,p.HOVER],disabled:!L}]},{id:"tabDropShadow",label:(0,s.t)("Shadow"),options:[{id:"maskShadow",type:"textShadow-dev",states:[p.NORMAL,p.HOVER],disabled:L}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,s.t)("Link")},position:90,disabled:T&&"on"===k("linkLightBox")||P,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0,showSingle:!0},tabs:[{id:"external",label:(0,s.t)("URL"),options:[(0,f.toolbarImageLinkExternal)({v:o,inGallery:T,config:g.dynamicContent.config,devices:"desktop"}),{id:"linkExternalBlank",label:(0,s.t)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:(0,s.t)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:"anchor",label:(0,s.t)("Block"),options:[(0,f.toolbarLinkAnchor)({v:o,devices:"desktop",disabled:(0,c.isStory)(i.default.getAll())})]},{id:"popup",label:(0,s.t)("Popup"),options:[{id:"linkPopup",type:"promptAddPopup",disabled:(0,c.isStory)(i.default.getAll())||("desktop"===n?h||v||(0,c.isPopup)(i.default.getAll()):"popup"!==k("linkType")||""===V),label:(0,s.t)("Popup"),canDelete:"desktop"===n,popupKey:`${y.getId()}_${V}`,value:{value:V,popups:k("popups")},onChange:e=>{let{value:t,popups:o}=e;return{linkPopup:t,popups:o}}}]},{id:"story",label:(0,s.t)("Slides"),options:[(0,f.toolbarStoryAnchor)({disabled:!(0,c.isStory)(i.default.getAll())})]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,s.t)("Settings")},roles:["admin"],position:110,disabled:T&&!M||(0,c.isStory)(i.default.getAll()),options:[{id:"width",label:$?(0,s.t)("Size"):(0,s.t)("Width"),type:"slider-dev",disabled:!G&&!$,config:{min:5,max:"px"===D?w:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}],inputMax:$?100:void 0}},{id:"height",label:(0,s.t)("Height"),type:"slider-dev",disabled:!G||$,config:{min:5,max:"px"===F?Math.round(2*w):100,units:H?[{value:"px",title:"px"}]:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"size",label:(0,s.t)("Size"),type:"slider-dev",disabled:G||$,config:{min:5,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,s.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,s.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",icon:"nc-cog",disabled:!(0,c.isStory)(i.default.getAll()),position:110}]}}},63147:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isUnit",{enumerable:!0,get:function(){return i}}),(r=o(27378))&&r.__esModule;const i=e=>["px","%"].includes(e)},93993:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromImageElementModel:function(){return u},fromImageDCElementModel:function(){return p},patchImageSizeType:function(){return f},patchImageUnit:function(){return m}});const r=o(47885),i=d(o(73904)),n=o(55250),a=o(69321),l=o(77725),s=d(o(59638));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const u=(0,l.readWithParser)({imageSrc:(0,r.mPipe)((0,n.prop)("imageSrc"),s.read),imageExtension:(0,r.mPipe)((0,n.prop)("imageExtension"),s.read),imageHeight:(0,r.mPipe)((0,n.prop)("imageHeight"),i.read),imageWidth:(0,r.mPipe)((0,n.prop)("imageWidth"),i.read)}),p=(0,l.readWithParser)({imagePopulation:(0,r.mPipe)((0,n.prop)("imagePopulation"),s.read)}),f=(0,l.readWithParser)({sizeType:(0,r.mPipe)((0,n.prop)("sizeType"),s.read)}),m=(e,t)=>{if(e){const o=e=>(0,a.defaultValueKey)({key:e,device:t,state:"normal"}),[r]=Object.keys(e).filter((e=>e===o("widthSuffix")||e===o("heightSuffix")));return r?e:void 0}}},85742:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{calcWrapperSizes:function(){return f},calcWrapperPredefinedSizes:function(){return m},calcWrapperOriginalSizes:function(){return y},calcImageSizes:function(){return g},isSVG:function(){return b},isGIF:function(){return h},isPredefinedSize:function(){return v},isOriginalSize:function(){return S},isCustomSize:function(){return w},getImageSize:function(){return x},getSizeType:function(){return M},showOriginalImage:function(){return T},getCustomImageUrl:function(){return P},multiplier:function(){return C},readUnit:function(){return k},readSizeType:function(){return _}});const r=o(2610),i=(n=o(22546))&&n.__esModule?n:{default:n};var n;const a=o(19057),l=o(68914),s=o(78438),c=o(69321),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(59638)),u=o(22741);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f=(e,t)=>{const o=e.imageWidth||1440,r=e.imageHeight||960,i=t/(o/r);let n=(0,s.clamp)(e.width||t,0,t),a=e.height||i;if("%"===e.widthSuffix&&(n=e.width*t/100),"%"===e.heightSuffix){const t=n/(o/r);a=e.height*t/100}return{width:(0,s.roundTo)(n,2),height:(0,s.roundTo)(a,2)}},m=(e,t)=>{if(e.width>t){const o=t/e.width;return{width:(0,s.clamp)(e.width,0,t),height:(0,s.roundTo)(e.height*o,2)}}return{width:e.width,height:e.height}},y=(e,t)=>{const o=e.imageWidth||1440,r=e.imageHeight||960,i=e.size*t/100,n=i/(o/r),a=e.size*n/100;return{width:(0,s.roundTo)(i,2),height:(0,s.roundTo)(a,2)}},g=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=f(e,t);let i=1,n=1;e.imageWidth/r.width{let o,r;const i=e.imgWidth-e.wrapperWidth,n=e.imgHeight-e.wrapperHeight;return o=e.positionX*e.imgWidth/100-e.wrapperWidth/2,r=e.positionY*e.imgHeight/100-e.wrapperHeight/2,e.imgWidth>e.wrapperWidth?(o<0&&(o=0),o>i&&(o=i)):o=t?0:i/2,e.imgHeight>e.wrapperHeight?(r<0&&(r=0),r>n&&(r=n)):r=t?0:n/2,{left:-o,top:-r}})(c,o);return{width:(0,s.roundTo)(c.imgWidth,2),height:(0,s.roundTo)(c.imgHeight,2),marginLeft:(0,s.roundTo)(d.left,2),marginTop:(0,s.roundTo)(d.top,2)}},b=e=>"svg"===e,h=e=>"gif"===e,v=e=>"object"==typeof e&&"width"in e&&"height"in e,S=e=>"original"===e,w=e=>"custom"===e,x=e=>{if("custom"===e)return a.SizeType.custom;const t=i.default.getAll(),{imageSizes:o}=t,r=o?.find((t=>{let{name:o}=t;return o===e}));if(void 0!==r&&!(0,u.isNullish)(r.height)&&!(0,u.isNullish)(r.width)){const{width:e,height:t}=r;return{width:e,height:t,widthSuffix:"px",heightSuffix:"px"}}return a.SizeType.original},M=(e,t)=>{if(e.imagePopulation){const t=i.default.getAll(),o=t.dynamicContent?.useCustomPlaceholder??!1,n=(0,r.placeholderObjFromStr)(e.imagePopulation,o);if(void 0!==n?.attr?.size){const e=d.read(n.attr.size)??"custom";return e.trim().length>0?e:"custom"}return"custom"}return(0,c.defaultValueValue)({v:e,device:t,key:"sizeType"})},T=e=>Boolean(!b(e.imageExtension)&&!h(e.imageExtension)&&e.imageSrc&&"on"===e.showOriginalImage);function P(e,t,o){const r=Math.round(t.width),i=Math.round(t.height),n=e.src??"",s=e.sizeType??"",c=e.fileName??"",d=x(s);if(v(d)||S(d)){const e=(0,l.getImageUrl)({uid:n,fileName:c,sizeType:s});return{source:`${e}`,url:`${e} 1x, ${e} 2x`}}const{width:u,height:p}=o,f=Math.abs(o.marginLeft),m=Math.abs(o.marginTop),y={iW:Math.round(u),iH:Math.round(p),oX:Math.round(f),oY:Math.round(m),cW:Math.round(r),cH:Math.round(i)},g=(0,l.getImageUrl)({uid:n,crop:y,fileName:c,sizeType:a.SizeType.custom});return{source:`${g}`,url:`${g} 1x, ${(0,l.getImageUrl)({uid:n,crop:C(y,2),fileName:c,sizeType:a.SizeType.custom})} 2x`}}function C(e,t){return Object.entries(e).reduce(((e,o)=>{let[r,i]=o;return e[r]="number"==typeof i?Math.min(i*t,9e3):i,e}),e)}const k=e=>{if("px"===e||"%"===e)return e},_=e=>{switch(e){case a.SizeType.custom:case a.SizeType.original:return e}}},57977:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=o(64985),i={getItems:function(){return[{id:"main",type:"group",title:(0,r.t)("Image"),disabled:!0,items:[]}]}}},4127:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return $}});const r=W(o(60042)),i=o(47885),n=V(o(27378)),a=W(o(36042)),l=o(70634),s=V(o(10301)),c=o(66848),d=W(o(36275)),u=W(o(67439)),p=W(o(63692)),f=o(19057),m=o(97045),y=o(92213),g=o(63425),b=o(94220),h=o(34721),v=o(68914),S=o(16526),w=o(69321),x=V(o(4645)),M=V(o(63300)),T=o(66559),P=V(o(24119)),C=o(6085),k=W(o(10787)),_=o(85742),O=o(86022),E=W(o(60919)),z=W(o(96583)),B=V(o(13104)),j=V(o(7490)),N=V(o(31619)),I=o(33205),L=V(o(92874)),D=V(o(85129)),F=V(o(39985)),A=o(57016),R=o(24236);function W(e){return e&&e.__esModule?e:{default:e}}function H(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(H=function(e){return e?o:t})(e)}function V(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=H(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const U=[{title:"desktop",value:g.DeviceMode2.Desktop,enabled:!0,breakpoint:1500,content:1500},{title:"tablet",value:g.DeviceMode2.Tablet,enabled:!0,breakpoint:991,content:991},{title:"mobile",value:g.DeviceMode2.Mobile,enabled:!0,breakpoint:767,content:767}];class G extends p.default{static get componentId(){return"ImageGallery"}static defaultValue=E.default;handleAllTagChange=e=>{this.patchValue({allTag:e})};static defaultProps={meta:{},onToolbarOpen:s.default.noop,onToolbarClose:s.default.noop,onToolbarEnter:s.default.noop,onToolbarLeave:s.default.noop,extendParentToolbar:s.default.noop};state={visibleTag:""};node=null;gallery=null;isotope=null;handleResize=()=>{const{layout:e}=this.getValue();"justified"===e&&(0,(0,h.applyFilter)("getLibs",{}).ImagesLoaded)(this.node,(()=>{this.gallery&&this.gallery.arrange()}))};handleFilterClick(e){e!==this.state.visibleTag&&this.setState({visibleTag:e})}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(D,j,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}_parent`});this.props.extendParentToolbar(e),this.initGallery()}componentDidUpdate(e){const{items:t}=e.dbValue,{items:o}=this.props.dbValue,{layout:r}=this.getValue(),i="masonry"===r,n="justified"===r;(t.some(((e,t)=>{const r=e.value,i=o[t]?.value;return r._id!==i?._id}))||t.length!==o.length)&&(i&&(this.destroyIsotope(),this.initIsotope()),n&&this.gallery&&this.gallery.arrange());const a=(0,A.getSpacing)(this.props.dbValue),l=(0,A.getSpacing)(e.dbValue);i&&!s.default.isEqual(a,l)&&this.reinitIsotopes()}initGallery(){const e=this.getValue();switch(e.layout){case"masonry":this.initIsotope();break;case"justified":(0,(0,h.applyFilter)("getLibs",{}).ImagesLoaded)(this.node,(()=>{this.initJustifiedGallery(e)}))}}getDefaultGridItems(e){let{gridAspectRatio:t,gridColumn:o,items:r,lightBox:i}=e;const{gridAspectRatio:n,gridColumn:a}=this.getValue();if(this.node){const{items:e}=this.getValue(),{width:s}=this.node.getBoundingClientRect();return(r??e).map((e=>{const r=e.value,[c,d]=(t??n).split("/"),u=x.read(c)??4,p=x.read(d)??3,f=s/(u/p)/(o??a),m=(0,_.calcWrapperSizes)({imageWidth:x.read(r.imageWidth)??600,imageHeight:x.read(r.imageHeight)??450,width:100,widthSuffix:"%",height:100,heightSuffix:"%",size:x.read(r.size)??100},s/(o??a)),y=(0,_.calcWrapperSizes)({imageWidth:x.read(r.hoverImageWidth)??600,imageHeight:x.read(r.hoverImageHeight)??450,widthSuffix:"%",heightSuffix:"%",width:100,height:100,size:x.read(r.size)??100},s/(o??a));return(0,l.mergeIn)(e,["value"],{height:100*f/m.height,hoverHeight:100*f/y.height,heightSuffix:"%",tabletHeight:null,tabletHeightSuffix:null,mobileHeight:null,mobileHeightSuffix:null,sizeType:"custom",tabletSizeType:null,mobileSizeType:null,...i&&(0,A.mergeLinkType)(i)})}))}return r??[]}adjustImagesByHeight(e){let{height:t,heightKey:o,heightSuffix:r="px",width:i,widthKey:n,items:a,isChanged:s}=e;if(this.node){const{gridColumn:e}=this.getValue(),{width:c}=this.node.getBoundingClientRect(),d=t??c/e;let u=d;return{items:a.map((e=>{const t=e.value;if(t.clonedFromGallery)return e;const a=(0,_.calcWrapperSizes)({imageWidth:x.read(t.imageWidth)??600,imageHeight:x.read(t.imageHeight)??450,width:100,widthSuffix:"%",height:d,heightSuffix:r,size:x.read(t.size)??100},c/this.dvv("gridColumn"));return u=a.height,(0,l.mergeIn)(e,["value"],{hoverHeight:a.height,heightSuffix:"px",tabletHeight:t.tabletHeight??t.height,tabletHeightSuffix:"px",mobileHeight:t.mobileHeight??t.height,mobileHeightSuffix:"px",[o??"height"]:"height"===s?a.height:t.height,..."width"===s?{widthSuffix:"px",tabletWidth:t.tabletWidth??i??t.width,tabletWidthSuffix:"px",mobileWidth:t.mobileWidth??i??t.width,mobileWidthSuffix:"px",[n??"width"]:i}:{}})})),height:u}}return{items:a,height:t??100}}patchValue(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.itemsOption){const{layout:o,bigImageImagesHeight:r,tabletBigImageImagesHeight:n,mobileBigImageImagesHeight:a}=this.getValue(),c="justified"===o?"original":"custom",d=this.getValue().items,u=e.itemsOption.map((e=>{const t=d.find((t=>t.value._id===e.id));if(t){const o=t.value,{uid:r,width:i,height:n}=e,{imageSrc:a,imageWidth:l,imageHeight:s,imageFileName:c}=o;return a!==r||l!==i||s!==n?{...t,value:{...t.value,imageSrc:r,imageWidth:i,imageHeight:n,imageFileName:c}}:t}{const t="bigImage"===o?{height:r,heightSuffix:"px",tabletHeight:n,tabletHeightSuffix:"px",mobileHeight:a,mobileHeightSuffix:"px"}:{};return(0,S.setIds)({type:"Image",value:{imageSrc:e.uid,imageFileName:e.fileName,imageWidth:e.width,imageHeight:e.height,imageExtension:(0,s.last)((M.read(e.uid)??"").split(".")),...t,_styles:["image"],sizeType:c}})}})).filter(i.isT),{imageSrc:p,imageFileName:f,imageExtension:m}=u[0].value,y="bigImage"===o?(0,S.setIds)({type:"Image",value:{...d[0].value,imageSrc:p,imageFileName:f,imageExtension:m,sizeType:"custom",tabletSizeType:null,mobileSizeType:null,clonedFromGallery:!0}}):null,{itemsOption:g,...b}=e;super.patchValue({...b,items:y?(0,l.insert)(u,0,y):u},t)}else super.patchValue(e,t)}getIsotope=()=>this.isotope;getGallery=()=>this.gallery;handleRef=e=>{e&&(this.node=e)};handleResizeImage=()=>{this.node&&this.isotope&&this.isotope.layout()};dvv=e=>{const t=this.getValue(),o=P.mRead(t.tabsState),r=(0,m.deviceModeSelector)((0,y.getStore)().getState());return(0,w.defaultValueValue)({v:t,key:e,device:r,state:o})};handleValueChange(e,t){const o=(0,m.deviceModeSelector)((0,y.getStore)().getState()),r=this.getValue(),i=(0,l.merge)(r,e),{items:n}=this.getValue(),a=e=>(0,w.defaultValueKey)({key:e,device:o,state:"normal"});if(t.patch.lightBox){const{lightBox:t,layout:o}=e,r=e.items.map((e=>(0,l.mergeIn)(e,["value"],{linkType:"on"===t&&"bigImage"!==o?"lightBox":"external",linkLightBox:"bigImage"!==o&&t})));e=(0,l.mergeIn)(e,["items"],r)}if(t.patch.items){if(t.patch.items.length!==n.length)if("grid"===i.layout){const o=this.getDefaultGridItems({items:t.patch.items});e=(0,l.mergeIn)(e,["items"],o)}else this.destroyJustifiedGallery(),this.destroyIsotope(),this.initGallery();if("bigImage"===i.layout&&i.items[1]!==n[1]){const{imageSrc:t,imageFileName:o,imageExtension:r,imageWidth:n,imageHeight:a,size:s}=i.items[1].value;e=(0,l.mergeIn)(e,["items",0,"value"],{imageSrc:t,imageFileName:o,imageExtension:r,imageWidth:n,imageHeight:a,size:s})}}switch(t.patch.layout){case"justified":{this.destroyIsotope();const{lightBox:t}=e,r=i.items.map((e=>(0,l.mergeIn)(e,["value"],{sizeType:"original",...(0,A.mergeLinkType)(t),tabletSizeType:null,mobileSizeType:null,[a("height")]:("rowHeight",(0,w.defaultValueValue)({key:"rowHeight",device:o,v:i})),[a("heightSuffix")]:"px"})));e=(0,l.mergeIn)(e,["items"],r),this.destroyJustifiedGallery(),this.initJustifiedGallery(i);break}case"grid":{const{lightBox:t}=e;this.destroyJustifiedGallery(),this.destroyIsotope();const o=this.getDefaultGridItems({lightBox:t});e=(0,l.mergeIn)(e,["items"],o);break}case"masonry":{const{lightBox:t}=e;this.destroyJustifiedGallery(),this.destroyIsotope(),this.initIsotope();const o=e.items.map((e=>(0,l.mergeIn)(e,["value"],{...e.value,sizeType:"custom",...(0,A.mergeLinkType)(t),tabletSizeType:null,mobileSizeType:null})));e=(0,l.mergeIn)(e,["items"],o);break}case"bigImage":{this.destroyJustifiedGallery(),this.destroyIsotope();const t=e.items.map((e=>(0,l.mergeIn)(e,["value"],{...e.value,linkType:"external",linkLightBox:"off",sizeType:"custom",tabletSizeType:null,mobileSizeType:null}))),{items:o,height:r}=this.adjustImagesByHeight({height:x.read(i.bigImageImagesHeight),heightSuffix:(0,_.readUnit)(i.bigImageImagesHeightSuffix),items:t,isChanged:"height"});if("left"===i[a("thumbStyle")]||"right"===i[a("thumbStyle")]){e=(0,l.mergeIn)(e,["items"],(0,A.addHorizontalThumbStyleData)(i,o));break}const n=Object.assign({},e);n.bigImageImagesHeight=r,e=(0,l.merge)(e,n),e=(0,l.mergeIn)(e,["items"],o);break}}if(t.patch[a("bigImageImagesHeight")]||t.patch[a("thumbWidth")]){const o=(0,A.changeImagesData)(e.items,{sizeType:"custom",tabletSizeType:null,mobileSizeType:null}),{items:r,height:n}=this.adjustImagesByHeight({height:x.read(t.patch[a("bigImageImagesHeight")]??i[a("bigImageImagesHeight")]),heightSuffix:(0,_.readUnit)(i[a("bigImageImagesHeightSuffix")]),heightKey:a("height"),width:x.read(t.patch[a("thumbWidth")]??i[a("thumbWidth")]),widthKey:a("width"),items:o,isChanged:t.patch[a("bigImageImagesHeight")]?"height":"width"}),s=Object.assign({},e);s[a("bigImageImagesHeight")]=n,e=(0,l.merge)(e,s),e=(0,l.mergeIn)(e,["items"],r)}if(t.patch[a("thumbStyle")])switch(t.patch[a("thumbStyle")]){case"top":case"bottom":e=(0,l.mergeIn)(e,["items"],(0,A.removeHorizontalThumbStyleData)(i.items));break;case"left":case"right":e=(0,l.mergeIn)(e,["items"],(0,A.addHorizontalThumbStyleData)(i))}if(t.patch.layout){const{layout:t}=r,{layout:o}=i;if("bigImage"===t){const t=Object.assign({},e),o=(0,l.removeAt)(e.items,0);t.items=(0,A.removeHorizontalThumbStyleData)(o),e=(0,l.merge)(e,t)}if("bigImage"===o){const t=(0,l.getIn)(e,["items",0]).value,{imageSrc:o,imageFileName:r,imageWidth:i,imageHeight:n,size:a,imageExtension:s}=t,c=(0,S.setIds)({type:"Image",value:{imageSrc:o,imageFileName:r,imageExtension:s,imageWidth:i,imageHeight:n,size:a,sizeType:"custom",tabletSizeType:null,mobileSizeType:null,clonedFromGallery:!0}}),d=(0,l.insert)(e.items,0,c);e=(0,l.mergeIn)(e,["items"],d)}}if(t.patch[a("rowHeight")]){const{layout:e}=this.getValue();"justified"===e&&(this.destroyJustifiedGallery(),this.initJustifiedGallery(i))}if((t.patch.gridAspectRatio||t.patch[a("gridColumn")])&&"grid"===e.layout){const o=this.getDefaultGridItems({gridAspectRatio:t.patch.gridAspectRatio,gridColumn:x.read(t.patch[a("gridColumn")])});e=(0,l.mergeIn)(e,["items"],o)}super.handleValueChange(e,t)}getMeta(e,t){const{meta:o}=this.props,{spacing:r,gridColumn:i,tabletGridColumn:n,mobileGridColumn:a}=e,l=(0,w.defaultValueValue)({v:e,key:"spacing",device:T.TABLET,state:"normal"}),s=(0,w.defaultValueValue)({v:e,key:"spacing",device:T.MOBILE,state:"normal"}),c=t?1:i,d=t?1:n,u=t?1:a,p=((o.desktopW??0)+r)/c,f=(o.desktopWNoSpacing??0)/c,m=(o.tabletW+l)/d,y=(o.tabletWNoSpacing??0)/d,g=(o.mobileW+s)/u,b=(o.mobileWNoSpacing??0)/u;return Object.assign({},o,{desktopW:Math.round(10*(p-r))/10,desktopWNoSpacing:Math.round(f),tabletW:Math.round(m-l),tabletWNoSpacing:Math.round(y),mobileW:Math.round(g-s),mobileWNoSpacing:Math.round(b)})}getTags(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?e.split(",").reduce(((e,t)=>{const o=t.trim();return o?[...e,o]:e}),[]):[]}renderTags(e,t,o){const{filterStyle:i,items:a,layout:l,allTag:s,sortTags:d}=e;if("bigImage"===l)return;const p=(0,r.default)("brz-image__gallery-filter",`brz-image__gallery-filter--${i}`,(0,b.css)(`${this.getComponentId()}-filter`,`${this.getId()}-filter`,(0,I.styleForFilter)(e,t,o))),f=(0,r.default)("brz-li brz-image__gallery-filter__item",`brz-image__gallery-filter__item--${i}`),m=a.reduce(((e,t)=>{const o=t.value,r=this.getTags(o.tags).filter((t=>!e.includes(t)));return e.concat(r)}),[]),y=[s].concat("on"===d?m.sort(((e,t)=>e.localeCompare(t))):m).map(((t,o)=>{const r=t.replace(/\s/g,"-"),i=t===s?"*":r;return n.default.createElement(u.default,{...this.makeToolbarPropsFromConfig2(F,N,{allowExtend:!1}),key:o},n.default.createElement("li",{className:f+""+(this.state.visibleTag===t?" brz-image__gallery-filter__item--active":""),"data-filter":i,onClick:()=>{const e=this.getIsotope(),o=this.getGallery();if(this.handleFilterClick(t),"justified"===l&&o)o.arrange({filter:i});else if("grid"===l){const e=[...this.node?.querySelectorAll(".brz-image__gallery-item")??[]];(0,R.arrangeGridByTags)(i,e)}else e&&e.arrange({filter:t===s?"*":`.${r}`})}},t===e.allTag?n.default.createElement(c.TextEditor,{value:s,onChange:this.handleAllTagChange}):t))}));return n.default.createElement("div",{className:"brz-image__gallery--filter-wrapper"},n.default.createElement("ul",{className:`brz-ul ${p}`},y))}getImagesSrc=()=>{const{items:e}=this.getValue();return e.map((e=>{const t=e.value;return(0,v.getImageUrl)({uid:M.read(t.imageSrc)??"",sizeType:(0,_.readSizeType)(t.sizeType)??f.SizeType.custom,fileName:t.imageFileName??""})})).filter(Boolean)};renderFirstImage(){const e=this.getValue(),{layout:t,thumbStyle:o,enableTags:r,hoverName:i,hoverDuration:a,hoverInfiniteAnimation:l}=e,s=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{meta:this.getMeta(e,!0),onResize:this.handleResizeImage,layout:t,thumbStyle:o,renderer:{gallery:{inGallery:!0,enableTags:"on"===r,layout:t,withBigImage:"bigImage"===t,hoverName:i,hoverDuration:a,hoverInfiniteAnimation:l}}}});return n.default.createElement(k.default,s)}renderBigImage=(e,t,o)=>{const{lightBox:i}=e,a=this.getImagesSrc(),l=(0,r.default)({"brz-image__gallery-big-image":a.length,"brz-image__gallery-placeholder":!a.length,"brz-image__gallery-lightbox brz-cursor-pointer":"on"===i},(0,b.css)(`${this.getComponentId()}-bigImage`,`${this.getId()}-bigImage`,(0,I.styleBigImage)(e,t,o))),s="on"===i&&!1;return n.default.createElement("div",{className:l,"data-images":(0,C.encodeToString)(a.slice(1)),"data-lightbox":i},n.default.createElement("div",{className:"brz-image__gallery-big-image-content"},this.renderFirstImage(),s))};renderForEdit(e,t,o){const{lightBox:i,enableTags:l,layout:s,thumbStyle:c,imagesMaskShape:u,hoverName:p,hoverDuration:f,hoverInfiniteAnimation:m}=e,y=(0,r.default)("brz-image__gallery-wrapper","brz-d-xs-flex brz-flex-xs-wrap",`brz-image__gallery-${s}`,{"brz-image__gallery-lightbox":"on"===i},{"brz-image__gallery-with-thumb":"bigImage"===s},(0,b.css)(`${this.getComponentId()}-gallery`,`${this.getId()}-gallery`,(0,I.style)(e,t,o))),g=Boolean(e.items[0].value?.clonedFromGallery),h=this.makeSubcomponentProps({bindWithKey:"items",...g?{sliceStartIndex:1}:{},itemProps:{meta:this.getMeta(e),onResize:this.handleResizeImage,layout:s,thumbStyle:c,renderer:{gallery:{inGallery:!0,enableTags:"on"===e.enableTags,layout:s,withBigImage:"bigImage"===s,imagesMaskShape:u,hoverName:p,hoverDuration:f,hoverInfiniteAnimation:m}}},toolbarExtend:this.makeToolbarPropsFromConfig2(L,B)}),v=e.items.reduce(((e,t)=>{const o=t.value,r=this.getTags(o.tags).filter((t=>!e.includes(t)));return e.concat(r)}),[]),S=(0,r.default)("brz-image__gallery",{[`brz-image__gallery-${c}`]:"bigImage"===s},(0,b.css)(`${this.getComponentId()}-galleryWrapper`,`${this.getId()}-galleryWrapper`,(0,I.styleWrapper)(e,t,o)));return n.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(n.Fragment,null,n.default.createElement(O.Wrapper,this.makeWrapperProps({className:S}),"on"===l&&v.length>0&&this.renderTags(e,t,o),n.default.createElement("div",{className:"brz-image__gallery-container"},"bigImage"===s&&this.renderBigImage(e,t,o),n.default.createElement("div",{className:y,ref:this.handleRef},n.default.createElement(z.default,h)))),n.default.createElement(a.default,{onResize:this.handleResize})))}getGalleryLib(){return(0,h.applyFilter)("getLibs",{}).Gallery}getIsotopeLib(){return(0,h.applyFilter)("getLibs",{}).Isotope}initIsotope(){const e=this.getIsotopeLib();e&&this.node&&(this.isotope=new e(this.node,{itemSelector:".brz-image__gallery-item",masonry:{columnWidth:".brz-image__gallery-item"}}))}reinitIsotopes=s.default.debounce((()=>{this.destroyIsotope(),this.initIsotope()}),500);initJustifiedGallery(e){const t=this.getGalleryLib();if(t&&this.node){const{settings:o}=(0,A.makeOptionValueToSettings)(e,U);this.gallery=new t(this.node,o)}}destroyIsotope(){this.isotope&&this.isotope.destroy()}destroyJustifiedGallery(){this.gallery&&(this.gallery.destroy(),this.gallery=null)}}const $=G},96583:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),i=d(o(27378)),n=d(o(39552)),a=o(67439),l=d(o(10787)),s=o(64985),c=d(o(57977));function d(e){return e&&e.__esModule?e:{default:e}}class u extends l.default{static get componentId(){return"ImageGallery.Items"}static defaultProps={className:"",meta:{}};getItemProps(e,t,o){const{layout:r,thumbStyle:i}=this.props.itemProps,n="bigImage"!==r||"left"!==i&&"right"!==i?"horizontal":"vertical",l={getItems:()=>[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{align:n,disable:0===t||1===t&&"bigImage"===r?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,s.t)("Duplicate"),position:200,roles:["admin"],devices:"desktop",onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,s.t)("Delete"),position:250,roles:["admin"],devices:"desktop",disabled:o.length<=1,onChange:()=>{(0,a.hideToolbar)(),this.removeItem(t)}}]},c=this.makeToolbarPropsFromConfig2(l,{allowExtend:!1});return{...super.getItemProps(e,t,o),toolbarExtend:c}}getTags(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?e.split(",").reduce(((e,t)=>{const o=t.trim();return o?[...e,o.replace(/\s/g,"-")]:e}),[]):[]}renderItemWrapper(e,t,o,a){const l=this.getTags(a.value.tags),{renderer:s}=this.props.itemProps,{imageSrc:d}=a.value,{layout:u}=s.gallery,p="masonry"===u,f="justified"===u,m=(0,r.default)("brz-image__gallery-item",{"brz-cursor-pointer":"bigImage"===u&&!1},{"brz-image__gallery-item-empty":(p||f)&&!d},l);return i.default.createElement(n.default,{key:t,...this.makeContextMenuProps(c.default,{id:t})},i.default.createElement("div",{className:m},e))}}const p=u},13104:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"border",type:"corners-dev",disabled:!0},{id:"thumbnailBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:70}]},{id:"moreSettingsAdvanced",options:[{id:"hoverTransition",type:"slider-dev",disabled:!0},{id:"customCSS",type:"codeMirror-dev",disabled:!0}]},{id:"moreSettingsTransform",options:[{id:"transform",type:"transform-dev",disabled:!0}]}]},{id:"settingsTabsResponsive",type:"tabs-dev",config:{align:"start"},devices:"responsive",disabled:!0,tabs:[]}]},{id:"effects",title:(0,r.t)("Effects"),label:(0,r.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",disabled:!0,tabs:[{id:"entrance",label:(0,r.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]},7490:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return u},getItems:function(){return p}});const r=o(21407),i=o(93873),n=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(64985),s=o(16526),c=o(69321),d=o(59638),u=(0,l.t)("Gallery"),p=e=>{let{v:t,device:o,state:a}=e;const u=(0,d.read)(("hoverName",(0,c.defaultValueValue)({v:t,key:"hoverName",device:o,state:a})))??"none";const p=(0,s.isStory)(n.default.getAll());return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,l.t)("Styling"),label:(0,l.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,l.t)("Basic"),options:[]},{id:"moreSettingsAdvanced",label:(0,l.t)("Advanced"),options:[{id:"customCSS",label:(0,l.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:'\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

'},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,l.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]},{id:"effects",title:(0,l.t)("Effects"),label:(0,l.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,l.t)("Entrance"),options:[]},{id:"tabHover",label:(0,l.t)("Hover"),options:[{id:"hover",type:"animation-dev",devices:"desktop",disabled:p,config:{types:i.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(u),delay:!1}}]}]}]}]}]}},31619:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Gallery Tags");function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"filterPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}},{id:"filterBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[]}]}]}]}]}},33205:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return i},styleForFilter:function(){return n},styleBigImage:function(){return a},styleWrapper:function(){return l}});const r=o(94220);function i(e,t,o){const i={".brz &&:hover":{standart:["cssStyleElementImageGalleryWidth","cssStyleElementImageGalleryMargin","cssStyleElementImageGalleryGridItemsSpacing"]},".brz &&:hover .brz-image__gallery-item":{standart:["cssStyleElementImageGalleryItemWidth","cssStyleElementImageGalleryItemPadding"]},".brz &&.brz-image__gallery-grid .brz-image__gallery-item":{standart:["cssStyleElementImageGalleryGridAspectRatio"]},".brz &&.brz-image__gallery-with-thumb .brz-image__gallery-item:hover .brz-image":{standart:["cssStyleElementImageGalleryBorderRadiusThumbnail"]},".brz && .brz-image__gallery-item:hover .brz-image":{standart:["cssStyleElementImageGalleryImagesBoxShadow",..."none"!==e.imagesMaskShape?["cssStyleElementImageGalleryImagesBorder"]:[]]},".brz && .brz-image__gallery-item:hover .brz-ed-image__wrapper-container":{standart:["cssStyleElementImageGalleryImagesBorder"]},".brz && .brz-image__gallery-item:hover .brz-picture":{standart:[]},".brz &&.brz-image__gallery-with-thumb .brz-image__gallery-item:hover .brz-picture:after":{standart:["cssStyleElementImageGalleryBorderRadiusThumbnail"]},".brz && .brz-image__gallery-item:hover .brz-ed-image__wrapper::after":{standart:["cssStyleElementImageGalleryImagesOverlay","cssStyleElementImageGalleryImagesGradient"]},".brz && .brz-image__gallery-item:hover .brz-picture::after":{standart:[]},".brz &&.brz-image__gallery-with-thumb .brz-image__gallery-item:hover .brz-ed-image__wrapper":{standart:["cssStyleElementImageGalleryBorderRadiusThumbnail"]},".brz && .brz-image__gallery-item:hover .brz-ed-image__wrapper":{standart:["cssStyleElementImageGalleryBigImageImagesMaskShape","cssStyleElementImageGalleryBigImageImagesMaskSize","cssStyleElementImageGalleryBigImageImagesMaskPosition","cssStyleElementImageGalleryBigImageImagesMaskRepeat","cssStyleElementImageGalleryBigImageImagesCustomMask",..."none"===e.imagesMaskShape?["cssStyleElementImageGalleryImagesBorder"]:[]]}};return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:i})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementImageGalleryFilterAfterSpacing","cssStyleElementImageGalleryFilterHorizontalAlign"]},".brz && .brz-image__gallery-filter__item":{standart:["cssStyleElementImageGalleryFilterSpacing","cssStyleElementImageGallery3FontFamily","cssStyleElementImageGallery3FontSize","cssStyleElementImageGallery3LineHeight","cssStyleElementImageGallery3FontWeight","cssStyleElementImageGallery3LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-image__gallery-filter__item:not(.brz-image__gallery-filter__item--active):hover":{standart:["cssStyleElementImageGalleryFilterColor"]},".brz && .brz-image__gallery-filter__item--style-1":{standart:["cssStyleElementAccordionFilterPaddingFourFields","cssStyleElementImageGalleryBorderRadius"]},".brz && .brz-image__gallery-filter__item--style-1:not(.brz-image__gallery-filter__item--active):hover":{standart:["cssStyleElementImageGalleryFilterBgColor","cssStyleElementImageGalleryFilterBorder","cssStyleElementImageGalleryFilterBoxShadow","cssStyleElementImageGalleryBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-image__gallery-filter__item--style-1.brz-image__gallery-filter__item--active":{standart:["cssStyleElementImageGalleryFilterActiveColor","cssStyleElementImageGalleryFilterActiveBgColor","cssStyleElementImageGalleryFilterActiveBorder","cssStyleElementImageGalleryFilterActiveShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&.brz-image__gallery-filter--style-2:hover":{standart:["cssStyleElementAccordionFilterPaddingFourFields","cssStyleElementImageGalleryFilterBgColor","cssStyleElementImageGalleryFilterBorder","cssStyleElementImageGalleryFilterBoxShadow","cssStyleDisplayInlineFlex","cssStyleElementImageGalleryBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-image__gallery-filter__item--style-2.brz-image__gallery-filter__item--active":{standart:["cssStyleElementImageGalleryFilterActiveColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementImageGalleryBigImageSpacing","cssStyleElementImageGalleryBigImageWidth"]}}})}function l(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-image__gallery-container":{standart:["cssStyleElementImageGalleryBigImageStyle"]}}})}},92874:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("galleryImageBorderColorHex"),s("galleryImageBorderColorPallete")),d=s("layout"),u=s("imagesMaskShape"),p=s("imagesMaskPosition"),f=s("imagesMaskSize"),m=s("imagesMaskScaleSuffix"),y=s("imagesMaskCustomUploadImageSrc"),g="none"===u||"custom"===u&&!y;return[{id:"toolbarImage",type:"popover-dev",config:{icon:"nc-img",title:(0,i.t)("Image")},position:80,options:[{id:"media",type:"tabs-dev",tabs:[{id:"tabImage",label:(0,i.t)("Image"),options:[{id:"thumbStyle",label:(0,i.t)("Style"),type:"radioGroup-dev",disabled:"bigImage"!==d,devices:"desktop",position:10,choices:[{value:"bottom",icon:"nc-woo-gallery-bottom"},{value:"left",icon:"nc-woo-gallery-left"},{value:"top",icon:"nc-woo-gallery-top"},{value:"right",icon:"nc-woo-gallery-right"}]}]},{id:"tabMask",label:(0,i.t)("Mask"),position:110,options:[{id:"imagesMaskShape",label:(0,i.t)("Shape"),devices:"desktop",type:"select-dev",choices:[{title:(0,i.t)("None"),value:"none"},{value:"circle",icon:{name:"nc-mask-shape-circle"},title:""},{value:"rhombus",icon:{name:"nc-mask-shape-rhombus"},title:""},{value:"star",icon:{name:"nc-mask-shape-star"},title:""},{value:"flower",icon:{name:"nc-mask-shape-flower"},title:""},{value:"square",icon:{name:"nc-mask-shape-square"},title:""},{value:"triangle",icon:{name:"nc-mask-shape-triangle"},title:""},{value:"blob1",icon:{name:"nc-mask-shape-blob1"},title:""},{value:"blob2",icon:{name:"nc-mask-shape-blob2"},title:""},{value:"blob3",icon:{name:"nc-mask-shape-blob3"},title:""},{value:"blob4",icon:{name:"nc-mask-shape-blob4"},title:""},{value:"brush1",icon:{name:"nc-mask-shape-brush1"},title:""},{value:"brush2",icon:{name:"nc-mask-shape-brush2"},title:""},{value:"brush3",icon:{name:"nc-mask-shape-brush3"},title:""},{value:"brush4",icon:{name:"nc-mask-shape-brush4"},title:""},{value:"poly1",icon:{name:"nc-mask-shape-poly1"},title:""},{value:"poly2",icon:{name:"nc-mask-shape-poly2"},title:""},{value:"poly3",icon:{name:"nc-mask-shape-poly3"},title:""},{value:"poly4",icon:{name:"nc-mask-shape-poly4"},title:""},{value:"custom",title:(0,i.t)("Custom")}]},{id:"imagesMaskCustomUpload",type:"imageUpload-dev",devices:"desktop",label:(0,i.t)("Image"),config:{pointer:!1,disableSizes:!0,acceptedExtensions:["png","svg"]},helper:{enabled:!0,content:(0,i.t)("Upload only [ .png or .svg ]")},disabled:"custom"!==u},{id:"groupSize",type:"group-dev",disabled:g,options:[{id:"imagesMaskSize",label:(0,i.t)("Size"),type:"select-dev",choices:[{title:(0,i.t)("Fit"),value:"contain"},{title:(0,i.t)("Fill"),value:"cover"},{title:(0,i.t)("Custom"),value:"custom"}]},{id:"imagesMaskScale",type:"slider-dev",disabled:"custom"!==f,config:{min:1,max:"px"===m?500:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"groupPosition",type:"group-dev",disabled:g,options:[{id:"imagesMaskPosition",type:"select-dev",label:(0,i.t)("Position"),choices:[{title:(0,i.t)("Center Center"),value:"center center"},{title:(0,i.t)("Center Left"),value:"center left"},{title:(0,i.t)("Center Right"),value:"center right"},{title:(0,i.t)("Top Center"),value:"top center"},{title:(0,i.t)("Top Right"),value:"top right"},{title:(0,i.t)("Top Left"),value:"top left"},{title:(0,i.t)("Bottom Center"),value:"bottom center"},{title:(0,i.t)("Bottom Left"),value:"bottom left"},{title:(0,i.t)("Bottom Right"),value:"bottom right"},{title:(0,i.t)("Custom"),value:"custom"}]},{id:"imagesMaskPositionx",label:(0,i.t)("X"),type:"slider-dev",disabled:"custom"!==p,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"imagesMaskPositiony",label:(0,i.t)("Y"),type:"slider-dev",disabled:"custom"!==p,config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"imagesMaskRepeat",label:(0,i.t)("Repeat"),type:"select-dev",disabled:g||"cover"===f,choices:[{title:(0,i.t)("No-Repeat"),value:"no-repeat"},{title:(0,i.t)("Repeat"),value:"repeat"},{title:(0,i.t)("Repeat-X"),value:"repeat-x"},{title:(0,i.t)("Repeat-Y"),value:"repeat-y"},{title:(0,i.t)("Space"),value:"space"},{title:(0,i.t)("Round"),value:"round"}]}]}]}]},{id:"toolbarColor",type:"popover-dev",disabled:!0},{id:"toolbarGalleryImageColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("galleryImageBorderColorOpacity"))}}},position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlayImages",label:(0,i.t)("Overlay"),options:[{id:"galleryImageOverlay",type:"backgroundColor-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"galleryImageBorder",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"galleryImageBoxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarGallerySettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},disabled:"bigImage"!==d,position:110,options:[{id:"thumbWidth",label:(0,i.t)("Width"),type:"slider-dev",disabled:"left"!==t.thumbStyle&&"right"!==t.thumbStyle,config:{min:0,max:300,units:[{value:"px",title:"px"}]}},{id:"bigImageImagesHeight",type:"slider-dev",label:(0,i.t)("Height"),disabled:"bigImage"!==d,config:{units:[{value:"px",title:"px"}],min:100,max:1e3}},{id:"spacing",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:20,units:[{value:"px",title:"px"}]}},{id:"bigImageSpacing",type:"slider-dev",label:(0,i.t)("Indent"),disabled:"bigImage"!==d,config:{units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},85129:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=e=>{let{v:t,device:o,state:n}=e;const a=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:n}),l=a("layout"),s=a("thumbStyle"),c="left"===s||"right"===s;return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"toolbarGallery",type:"popover-dev",config:{icon:"nc-gallery",title:(0,r.t)("Gallery")},position:80,options:[{id:"galleryTabs",type:"tabs-dev",tabs:[{id:"tabGallery",label:(0,r.t)("Gallery"),options:[{id:"items",type:"gallery-for-gallery-dev",label:(0,r.t)("Images"),devices:"desktop",config:{canDeleteLast:!1}},{id:"groupLayout",type:"group-dev",options:[{id:"layout",type:"select-dev",label:(0,r.t)("Layout"),devices:"desktop",choices:[{title:"Grid",value:"grid"},{title:"Justified",value:"justified"},{title:"Masonry",value:"masonry"},{title:"Big Image",value:"bigImage"}]},{id:"gridAspectRatio",type:"select-dev",label:(0,r.t)("Aspect Ratio"),devices:"desktop",disabled:"grid"!==l,choices:[{title:"1:1",value:"1/1"},{title:"3:2",value:"3/2"},{title:"4:3",value:"4/3"},{title:"9:16",value:"9/16"},{title:"16:9",value:"16/9"},{title:"21:9",value:"21/9"}]},{id:"rowHeight",type:"slider-dev",label:(0,r.t)("Height"),disabled:"justified"!==l,config:{min:50,max:500,units:[{value:"px",title:"px"}]}}]},{id:"enableTags",label:(0,r.t)("Enable Tags"),type:"switch-dev",devices:"desktop",disabled:"bigImage"===l}]},{id:"tabItems",label:(0,r.t)("Items"),options:[{id:"gridColumn",type:"slider-dev",label:(0,r.t)("Columns"),disabled:"justified"===l||"bigImage"===l&&c,config:{min:1,max:6}},{id:"spacing",type:"slider-dev",label:(0,r.t)("Spacing"),disabled:"bigImage"===l,config:{min:0,max:20,units:[{value:"px",title:"px"}]}}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,r.t)("Link")},position:90,options:[{id:"lightBox",label:(0,r.t)("Open in Lightbox"),type:"switch-dev",devices:"desktop"}]}]}},39985:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({key:e,v:t,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgColorHex"),s("bgColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarGallery",type:"popover-dev",config:{icon:"nc-tags",title:(0,i.t)("Tags")},position:80,options:[{id:"sortTags",label:(0,i.t)("Sort alphabetically"),type:"switch-dev",devices:"desktop"},{id:"filterStyle",label:(0,i.t)("Style"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"style-1",icon:"nc-tags-style-2"},{value:"style-2",icon:"nc-tags-style-1"}]},{id:"filterSpacing",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"afterFilterSpacing",type:"slider-dev",label:(0,i.t)("Content Gap"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"filter",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:s("bgColorOpacity")>0?(0,r.hexToRgba)(c,s("bgColorOpacity")):(0,r.hexToRgba)(d,s("colorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",className:"",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"filterBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabText",label:(0,i.t)("Text"),options:[{id:"filterColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"filterBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"filterBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"filterHorizontalAlign",type:"toggle-dev",devices:"desktop",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"advancedSettings",devices:"desktop",type:"advancedSettings",roles:["admin"],position:110,icon:"nc-cog",title:(0,i.t)("Settings")},{id:"toolbarSettings",type:"popover-dev",disabled:!0}]}},24236:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isJustified:function(){return o},removeUselessInfo:function(){return r},arrangeGridByTags:function(){return i}});const o=e=>"justified"===e,r=e=>{const t=e.querySelectorAll("picture > source"),o=e.querySelector("img");o?.removeAttribute("srcset"),t.forEach((e=>{e.remove()}))},i=(e,t)=>{e&&"*"!==e?(t.forEach((e=>{e.style.display="block"})),t.forEach((t=>{t.classList.contains(e)||(t.style.display="none")}))):t.forEach((e=>{e.style.display="block"}))}},57016:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{makeOptionValueToSettings:function(){return l},getSpacing:function(){return s},changeImagesData:function(){return c},removeHorizontalThumbStyleData:function(){return d},addHorizontalThumbStyleData:function(){return u},mergeLinkType:function(){return p}});const r=o(70634),i=o(69321),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var l=i?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(r,n,l):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(4645));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=(e,t)=>{const o=n.read(e.rowHeight)??0;switch(e.layout){case"bigImage":return{type:"bigImage"};case"masonry":return{type:"masonry",settings:{itemSelector:".brz-image__gallery-item",masonry:{columnWidth:".brz-image__gallery-item"}}};case"grid":return{type:"grid"};case"justified":return{type:"justified",settings:{rowHeight:o,itemSelector:".brz-image__gallery-item",responsive:t.map((t=>{const o=t.value,r=(0,i.defaultValueValue)({v:e,device:o,key:"rowHeight"});return{breakpoint:t.breakpoint,settings:{rowHeight:r}}}))}}}},s=e=>({spacing:e.spacing,tabletSpacing:e.tabletSpacing,mobileSPacing:e.mobileSpacing}),c=(e,t)=>e.map((e=>(0,r.mergeIn)(e,["value"],{...e.value,...t??{}}))),d=e=>e.map((e=>{let{type:t,value:o}=e;const{width:r,tabletWidth:i,mobileWidth:n,widthSuffix:a,tabletWidthSuffix:l,mobileWidthSuffix:s,...c}=o;return{type:t,value:c}})),u=(e,t)=>{const{items:o,bigImageImagesHeight:r,tabletBigImageImagesHeight:i,mobilebigImageImagesHeight:n,bigImageImagesHeightSuffix:a,tabletBigImageImagesHeightSuffix:l,mobileBigImageImagesHeightSuffix:s,thumbWidth:c,thumbWidthSuffix:d,tabletThumbWidth:u,tabletThumbWidthSuffix:p,mobileThumbWidth:f,mobileThumbWidthSuffix:m}=e;return(t??o).map((e=>{let{type:t,value:o}=e;return o.clonedFromGallery?{type:t,value:o}:{type:t,value:{...o,height:r,heightSuffix:a,tabletHeight:i,tabletHeightSuffix:l,mobileHeight:n,mobileHeightSuffix:s,width:c,widthSuffix:d,tabletWidth:u,tabletWidthSuffix:p,mobileWidth:f,mobileWidthSuffix:m}}}))},p=e=>({linkType:"on"===e?"lightBox":"external",linkLightBox:e})},17878:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const r=h(o(60042)),i=h(o(27378)),n=h(o(31440)),a=o(54668),l=h(o(36275)),s=o(73948),c=h(o(67439)),d=h(o(63692)),u=o(94220),p=o(86022),f=h(o(86134)),m=S(o(93830)),y=o(23802),g=S(o(5753)),b=o(51453);function h(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const w=["centerLeft","centerRight"],x={width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}};class M extends d.default{static get componentId(){return"Line"}static defaultValue=f.default;static experimentalDynamicContent=!0;handleResizerChange=e=>this.patchValue(e);handleTextChange=e=>{this.patchValue(e)};renderLine(e){const{iconName:t,iconType:o,style:r,lineStyle:n,tagName:l}=e;switch(r){case"text":return i.default.createElement("span",{className:"brz-line-container"},i.default.createElement(a.Text,{className:"brz-line-content",id:"text",v:e,onChange:this.handleTextChange,tagName:l}));case"icon":return i.default.createElement("span",{className:"brz-line-container"},i.default.createElement("span",{className:"brz-line-icon-wrapper"},i.default.createElement(s.ThemeIcon,{className:"brz-line-content",name:t,type:o})));case"default":return(0,b.isDefaultLineType)(n)?i.default.createElement("hr",{className:"brz-hr"}):i.default.createElement("span",{className:"brz-line-container"})}}renderForEdit(e,t,o){const{customCSS:a}=e,s=(0,r.default)("brz-line",`brz-line-${e.style}`,(0,u.css)(this.getComponentId(),this.getId(),(0,y.style)(e,t,o)));return i.default.createElement(c.default,this.makeToolbarPropsFromConfig2(g,m),i.default.createElement(l.default,{selectorName:this.getId(),css:a},i.default.createElement(p.Wrapper,this.makeWrapperProps({className:s}),i.default.createElement(n.default,{points:w,restrictions:x,meta:this.props.meta,value:e,onChange:this.handleResizerChange},this.renderLine(e)))))}}const T=M},93830:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321);function n(e){let{v:t,device:o}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop"}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"tagName",label:(0,r.t)("HTML Tag"),disabled:"text"!==("style",(0,i.defaultValueValue)({v:t,key:"style",device:o})),devices:"desktop",type:"select-dev",choices:[{title:"Span",value:"span"},{title:"Div",value:"div"},{title:"P",value:"p"},{title:"H1",value:"h1"},{title:"H2",value:"h2"},{title:"H3",value:"h3"},{title:"H4",value:"h4"},{title:"H5",value:"h5"},{title:"H6",value:"h6"},{title:"PRE",value:"pre"}]}]}]},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65,devices:"responsive"}]}]}]}},23802:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz &&:hover .brz-hr":{standart:["cssStyleElementLineBorder","cssStyleBorderRadius"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-line-container:before":{standart:["cssStyleElementLineContentAlignBefore","cssStyleCustomLineBgColor","cssStyleCustomLineSize","cssStyleCustomLineAmount","cssStyleElementLineBorder","cssStyleElementLineStyledLineType","cssStyleBorderRadius"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-line-container:after":{standart:["cssStyleElementLineDisableAfter","cssStyleElementLineContentAlignAfter","cssStyleCustomLineBgColor","cssStyleCustomLineSize","cssStyleCustomLineAmount","cssStyleElementLineBorder","cssStyleElementLineStyledLineType","cssStyleBorderRadius"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-line-content":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz &&:hover.brz-line-text .brz-line-content":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementLineSpacing","cssStyleTextShadow"]},".brz &&:hover.brz-line-icon .brz-line-content":{standart:["cssStyleElementLineIconSize","cssStyleElementLineIconRotate"]},".brz &&:hover .brz-line-icon-wrapper":{standart:["cssStyleBoxShadow","cssStyleBorderRadius","cssStyleElementLineSpacing","cssStyleElementLineIconBgColor","cssStyleElementLineIconBorder","cssStyleElementLineIconPadding"],interval:["cssStyleHoverTransition"]}}})}},5753:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return m}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81263),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119),p=o(51453),f=e=>{switch(e){case"text":return(0,l.t)("Text");case"icon":return(0,l.t)("Icon");case"default":return""}};function m(e){let{v:t,device:o,context:i}=e;const m=(0,s.isStory)(r.default.getAll()),y=e=>(0,c.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),g=y("lineStyle"),b=y("style"),h="icon"===b,v="text"===b,S="default"===b,{hex:w}=(0,d.getOptionColorHexByPalette)(y("borderColorHex"),y("borderColorPalette")),x=(0,d.getDynamicContentOption)({options:i.dynamicContent.config,type:n.DCTypes.richText,config:{iconOnly:!0}});return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-divider",title:(0,l.t)("Style")},position:60,options:[{id:"lineTabs",type:"tabs-dev",position:10,tabs:[{id:"lineTab",label:(0,l.t)("Line"),options:[{id:"style",label:(0,l.t)("Style"),type:"radioGroup-dev",devices:"desktop",position:20,choices:[{value:"default",icon:"nc-line-solid"},{value:"text",icon:"nc-line-text"},{value:"icon",icon:"nc-line-icon"}]},{id:"lineStyle",label:(0,l.t)("Type"),type:"select-dev",position:30,devices:"desktop",choices:[{value:"solid",icon:{name:"nc-solid"},title:""},{value:"dashed",icon:{name:"nc-dashed"},title:""},{value:"dotted",icon:{name:"nc-dotted"},title:""},{value:"double",icon:{name:"nc-double"},title:""},{value:"groove",icon:{name:"nc-groove"},title:""},{value:"ridge",icon:{name:"nc-ridge"},title:""},{value:"inset",icon:{name:"nc-inset"},title:""},{value:"outset",icon:{name:"nc-outset"},title:""},{title:"",value:"diagonal-dash",icon:{name:"nc-diagonal-dash"}},{title:"",value:"fence",icon:{name:"nc-fence"}},{title:"",value:"fence2",icon:{name:"nc-fence2"}},{title:"",value:"hand-dashes",icon:{name:"nc-hand-dashes"}},{title:"",value:"hand-dots",icon:{name:"nc-hand-dots"}},{title:"",value:"hand-flows",icon:{name:"nc-hand-flows"}},{title:"",value:"hand-leaves",icon:{name:"nc-hand-leaves"}},{title:"",value:"line-dot",icon:{name:"nc-line-dot"}},{title:"",value:"stars",icon:{name:"nc-stars"}},{title:"",value:"waves",icon:{name:"nc-waves"}}]},{id:"weight",type:"slider-dev",label:(0,l.t)("Weight"),position:60,disabled:(0,p.isDefaultLineType)(g)||(0,p.isTypeWithoutWeight)(g),config:{min:1,max:5,units:[{value:"px",title:"px"}],step:.1}},{id:"borderWidth",label:(0,l.t)("Height"),type:"slider-dev",position:70,disabled:!(0,p.isDefaultLineType)(g),config:{min:1,max:50,units:[{value:"px",title:"px"}]}},{id:"amount",label:(0,l.t)("Amount"),type:"slider-dev",disabled:(0,p.isDefaultLineType)(g),config:{min:1,max:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"lineSize",label:(0,l.t)("Height"),type:"slider-dev",disabled:(0,p.isDefaultLineType)(g),config:{min:1,max:100,units:[{value:"px",title:"px"}]}}]},{id:"secondTab",label:f(b),options:[{id:"icon",label:(0,l.t)("Icon"),type:"iconSetter-dev",devices:"desktop",disabled:!h},{id:"horizontalAlign",label:(0,l.t)("Align"),type:"radioGroup-dev",devices:"desktop",disabled:S,choices:[{value:"left",icon:"nc-line-align-left"},{value:"center",icon:"nc-line-align-center"},{value:"right",icon:"nc-line-align-right"}]},{id:"groupIconSize",type:"group-dev",options:[{id:"iconSizeBtns",label:(0,l.t)("Size"),type:"radioGroup-dev",disabled:!h,choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconSize",type:"slider-dev",disabled:!h||"custom"!==y("iconSizeBtns"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"spacing",type:"slider-dev",label:(0,l.t)("Spacing"),disabled:S,config:{units:[{value:"px",title:"px"}]}},{id:"iconPadding",type:"slider-dev",label:(0,l.t)("Padding"),devices:"desktop",disabled:!h,config:{min:0,max:100,units:[{title:"px",value:"px"}]}},{id:"iconRotate",type:"slider-dev",label:(0,l.t)("Rotate"),devices:"desktop",disabled:!h,config:{min:0,max:360,units:[{title:"deg",value:"deg"}]}}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"xlarge":"auto",title:(0,l.t)("Typography")},disabled:!v,position:70,options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",devices:"desktop",type:"population-dev",config:x}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(w,y("borderColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:f(b),options:[{id:"color",type:"colorPicker-dev",disabled:S,states:[u.NORMAL,u.HOVER]}]},{id:"tabLine",label:(0,l.t)("Line"),options:[{id:"borderColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"iconBgColor",type:"colorPicker-dev",disabled:!h,states:[u.NORMAL,u.HOVER]}]},{id:"tabIconBorder",label:(0,l.t)("Border"),options:[{id:"iconBorder",type:"border-dev",states:[u.NORMAL,u.HOVER],disabled:!h}]},{id:"tabShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER],disabled:!h},{id:"textShadow",type:"textShadow-dev",states:[u.NORMAL,u.HOVER],disabled:!v}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},disabled:m,position:110,options:[{id:"width",label:(0,l.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===y("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",icon:"nc-cog",disabled:!m,position:110}]}},51453:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDefaultLineType:function(){return o},isTypeWithoutWeight:function(){return r},getStyledLines:function(){return i}});const o=e=>{switch(e){case"solid":case"dashed":case"dotted":case"double":case"groove":case"ridge":case"inset":case"outset":return!0;default:return!1}},r=e=>["line-dot","stars"].some((t=>t===e)),i=e=>({"diagonal-dash":`\n \x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\n Diagonal-dash\n Created with Sketch.\n \n \n \n`,fence:`\n \x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\n Fence\n Created with Sketch.\n \n \n \n`,fence2:`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nFence2\nCreated with Sketch.\n\n \n\n`,"hand-dashes":`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nHand Dashes\nCreated with Sketch.\n\n \n\n`,"hand-dots":`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nHand-dots\nCreated with Sketch.\n\n \n\n`,"hand-flows":`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nHand-flows\nCreated with Sketch.\n\n \n\n`,"hand-leaves":`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nHand-leaves\nCreated with Sketch.\n\n \n\n`,"line-dot":`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nLine & Dot\nCreated with Sketch.\n\n \n\n`,stars:`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nStars\nCreated with Sketch.\n\n \n\n`,waves:`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nWaves\nCreated with Sketch.\n\n \n\n`})},73006:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=f(o(60042)),i=f(o(27378)),n=o(66848),a=f(o(67439)),l=f(o(63692)),s=o(92161),c=o(94220),d=o(46479),u=f(o(76134)),p=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(4167));function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}class y extends l.default{static get componentId(){return"ForgotPasswordField"}static defaultValue=u.default;handleLabelChange=e=>{this.patchValue({label:e})};getLabel(e){const{label:t}=e;return null===t?"":t}getPlaceholder(e){const{placeholder:t,label:o}=e,{showPlaceholder:r,showLabel:i}=this.props;return"off"===r?"":null===t?o:t}renderForEdit(e,t,o){const{showLabel:l,toolbarExtendLabel:d}=this.props,u=(0,r.default)("brz-login-form__field",`brz-login-form__field-${e.type}`,(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,s.style)(e,t,o))),f={height:""===e.label?0:"auto"};return i.default.createElement("div",{className:u},"ResetEmail"===e.type&&i.default.createElement("div",{className:"brz-login__item"},"on"===l&&i.default.createElement(a.default,d,i.default.createElement("div",{className:"brz-login__field-label",style:f},i.default.createElement("label",{className:"brz-label"},i.default.createElement(n.TextEditor,{value:this.getLabel(e),onChange:this.handleLabelChange})))),i.default.createElement(a.default,this.makeToolbarPropsFromConfig2(p),i.default.createElement("div",{className:"brz-login__field"},"on"===l?i.default.createElement("input",{className:"brz-input",type:"email",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),onChange:e=>{this.patchValue({placeholder:e.target.value})}}):i.default.createElement("input",{className:"brz-input",type:"email",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),onChange:e=>{this.patchValue({label:e.target.value,placeholder:e.target.value})}})))))}renderForView(e,t,o){const{showLabel:n}=this.props,a=(0,r.default)("brz-login-form__field",`brz-login-form__field-${e.type}`,(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,s.style)(e,t,o))),l={height:""===e.label?0:"auto"};return i.default.createElement("div",{className:a},"ResetEmail"===e.type&&i.default.createElement("div",{className:"brz-login__item"},"on"===n&&i.default.createElement("div",{className:"brz-login__field-label",style:l},i.default.createElement("label",{className:"brz-label"},this.getLabel(e))),i.default.createElement("div",{className:"brz-login__field"},i.default.createElement("input",{type:"email",maxLength:"255",name:d.IS_WP?"user_login":"email",className:"brz-input",placeholder:this.getPlaceholder(e),defaultValue:"",required:!0}))))}}const g=y},4167:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]}]}},54376:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return M}});const r=g(o(60042)),i=g(o(27378)),n=h(o(31916)),a=o(66848),l=g(o(33364)),s=o(73948),c=g(o(67439)),d=g(o(63692)),u=o(92161),p=o(94220),f=o(46479),m=g(o(21914)),y=h(o(2255));function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const v=e=>{switch(e){case"Email":case"Password":case"Remember":return e;default:return}},S=e=>{switch(e){case"Email":return"text";case"Password":return"password"}},w=e=>{switch(e){case"Email":return f.IS_WP?"log":"email";case"Password":return f.IS_WP?"pwd":"password"}};class x extends d.default{static get componentId(){return"LoginField"}static defaultValue=m.default;state={value:"",active:{}};handleActive=e=>{this.setState({active:e})};handleLabelChange=e=>{this.patchValue({label:e})};handleLabelRememberChange=e=>{this.patchValue({label:e})};getLabel(e){const{label:t}=e;return null===t?"":t}getPlaceholder(e){const{placeholder:t,label:o}=e,{showPlaceholder:r,showLabel:i}=this.props;return"off"===r?"":null===t?o:t}renderIconForEdit=e=>{let{active:t}=e;return i.default.createElement("div",{className:"brz-control__check-group-icon"},i.default.createElement(l.default,{className:"brz-d-block",icon:t?"nc-check-square-on":"nc-check-square-off"}))};renderIconForView=()=>i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--check"},i.default.createElement(s.ThemeIcon,{className:"brz-d-block",name:"check-square-on",type:"editor"})),i.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--uncheck"},i.default.createElement(s.ThemeIcon,{className:"brz-d-block",name:"check-square-off",type:"editor"})));renderForEdit(e,t,o){const{active:l}=this.state,{remember:s,showLabel:d,toolbarExtendLabel:m,toolbarExtendCheckbox:g}=this.props,{type:b}=e,h=(0,r.default)("brz-login-form__field",`brz-login-form__field-${b}`,`brz-login-form__field-remember-${s}`,(0,p.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,u.style)(e,t,o))),S={height:""===e.label?0:"auto"};return v(b)?i.default.createElement("div",{className:h},("Email"===b||"Password"===b)&&i.default.createElement("div",{className:"brz-login__item"},"on"===d&&i.default.createElement(c.default,m,i.default.createElement("div",{className:"brz-login__field-label",style:S},i.default.createElement("label",{className:"brz-label"},i.default.createElement(a.TextEditor,{value:this.getLabel(e),onChange:this.handleLabelChange})))),i.default.createElement(c.default,this.makeToolbarPropsFromConfig2(y),i.default.createElement("div",{className:"brz-login__field"},i.default.createElement("input",{name:f.IS_WP?"log":"email",className:"brz-input",type:"text",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),required:!0,onChange:e=>{"on"===d?this.patchValue({placeholder:e.target.value}):this.patchValue({label:e.target.value,placeholder:e.target.value})}})))),"Remember"===b&&"on"===s&&i.default.createElement("div",{className:"brz-login__item"},i.default.createElement(c.default,g,i.default.createElement(n.default,{defaultValue:l,onChange:this.handleActive},i.default.createElement(n.CheckGroupItem,{name:"rememberme",value:"forever",renderIcons:this.renderIconForEdit},i.default.createElement(a.TextEditor,{value:this.getLabel(e),onChange:this.handleLabelRememberChange})))))):null}renderForView(e,t,o){const{remember:a,showLabel:l}=this.props,{type:s}=e,c=(0,r.default)("brz-login-form__field",`brz-login-form__field-${s}`,`brz-login-form__field-remember-${a}`,(0,p.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,u.style)(e,t,o))),d={height:""===e.label?0:"auto"},f=v(s),m="Email"===s;return f?i.default.createElement("div",{className:c},("Email"===s||"Password"===s)&&i.default.createElement("div",{className:"brz-login__item"},"on"===l&&i.default.createElement("div",{className:"brz-login__field-label",style:d},i.default.createElement("label",{className:"brz-label"},this.getLabel(e))),i.default.createElement("div",{className:"brz-login__field"},i.default.createElement("input",{type:S(f),maxLength:m?255:void 0,name:w(f),className:"brz-input",placeholder:this.getPlaceholder(e),defaultValue:"",required:!0}))),"Remember"===f&&"on"===a&&i.default.createElement("div",{className:"brz-login__item"},i.default.createElement(n.default,null,i.default.createElement(n.CheckGroupItem,{name:"rememberme",value:"forever",renderIcons:this.renderIconForView},this.getLabel(e))))):null}}const M=x},92161:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth","cssStyleElementForm2FlexBasisPercent"]}}})}},2255:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]}]}},7557:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=y(o(60042)),i=y(o(27378)),n=o(66848),a=y(o(33364)),l=o(73948),s=y(o(67439)),c=y(o(63692)),d=o(92161),u=o(94220),p=o(46479),f=y(o(81329)),m=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(44668));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}const b=e=>{switch(e){case"Name":case"RegisterEmail":return e;default:return}},h=e=>{switch(e){case"FirstName":case"LastName":case"Username":case"RegisterEmail":case"Password":case"PasswordConfirm":case"Phone":return e;default:return}};class v extends c.default{static get componentId(){return"RegisterField"}static defaultValue=f.default;handleLabelChange=e=>{this.patchValue({label:e})};getLabel(e){const{label:t}=e;return null===t?"":t}getPlaceholder(e){const{placeholder:t,label:o}=e,{showPlaceholder:r,showLabel:i}=this.props;return"off"===r?"":null===t?o:t}getWpFieldType(e){switch(b(e)){case"Name":return"text";case"RegisterEmail":return"email";case void 0:return""}}getWpFieldName(e){switch(b(e)){case"Name":return"user_login";case"RegisterEmail":return"user_email";case void 0:return""}}getCloudFieldType(e){switch(h(e)){case"FirstName":case"LastName":case"Username":case"Phone":return"text";case"RegisterEmail":return"email";case"Password":case"PasswordConfirm":return"password";case void 0:return""}}getCloudFieldName(e){switch(h(e)){case"FirstName":return"firstName";case"LastName":return"lastName";case"Username":return"userName";case"RegisterEmail":return"email";case"Password":return"password";case"PasswordConfirm":return"passwordConfirm";case"Phone":return"phone";case void 0:return""}}renderIconForEdit=e=>{let{active:t}=e;return i.default.createElement("div",{className:"brz-control__check-group-icon"},i.default.createElement(a.default,{className:"brz-d-block",icon:t?"nc-check-square-on":"nc-check-square-off"}))};renderIconForView=()=>i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--check"},i.default.createElement(l.ThemeIcon,{className:"brz-d-block",name:"check-square-on",type:"editor"})),i.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--uncheck"},i.default.createElement(l.ThemeIcon,{className:"brz-d-block",name:"check-square-off",type:"editor"})));renderRegisterInfoForEdit(e,t,o){const{type:r}=e;return"RegisterInfo"===r&&"on"===t&&i.default.createElement("div",{className:"brz-login__item"},i.default.createElement(s.default,o,i.default.createElement("div",{className:"brz-login__register-info"},i.default.createElement(n.TextEditor,{value:this.getLabel(e),onChange:this.handleLabelChange}))))}renderRegisterInfoForView(e,t){const{type:o}=e;return"RegisterInfo"===o&&"on"===t&&i.default.createElement("div",{className:"brz-login__item"},i.default.createElement("div",{className:"brz-login__register-info"},this.getLabel(e)))}renderForEdit(e,t,o){const{showLabel:a,toolbarExtendLabel:l,toolbarRegisterInfo:c,showRegisterInfo:f,showFirstName:y,showLastName:g,showUsername:b,showPhoneNumber:h}=this.props,{type:v}=e,S=(0,r.default)("brz-login-form__field",`brz-login-form__field-${v}`,{"brz-login-form__field-registerInfo-off":"off"===f&&"RegisterInfo"===v},(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,d.style)(e,t,o))),w={height:""===e.label?0:"auto"};return p.IS_WP?i.default.createElement("div",{className:S},("Name"===v||"RegisterEmail"===v)&&i.default.createElement("div",{className:"brz-login__item"},"on"===a&&i.default.createElement(s.default,l,i.default.createElement("div",{className:"brz-login__field-label",style:w},i.default.createElement("label",{className:"brz-label"},i.default.createElement(n.TextEditor,{value:this.getLabel(e),onChange:this.handleLabelChange})))),i.default.createElement(s.default,this.makeToolbarPropsFromConfig2(m),i.default.createElement("div",{className:"brz-login__field"},"on"===a?i.default.createElement("input",{className:"brz-input",type:"text",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),onChange:e=>{this.patchValue({placeholder:e.target.value})}}):i.default.createElement("input",{className:"brz-input",type:"text",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),onChange:e=>{this.patchValue({label:e.target.value,placeholder:e.target.value})}})))),this.renderRegisterInfoForEdit(e,f,c)):("FirstName"===v&&"on"===y||"LastName"===v&&"on"===g||"Username"===v&&"on"===b||"RegisterEmail"===v||"Password"===v||"PasswordConfirm"===v||"Phone"===v&&"on"===h)&&i.default.createElement("div",{className:S},i.default.createElement("div",{className:"brz-login__item"},"on"===a&&i.default.createElement(s.default,l,i.default.createElement("div",{className:"brz-login__field-label",style:w},i.default.createElement("label",{className:"brz-label"},i.default.createElement(n.TextEditor,{value:this.getLabel(e),onChange:this.handleLabelChange})))),i.default.createElement(s.default,this.makeToolbarPropsFromConfig2(m),i.default.createElement("div",{className:"brz-login__field"},"on"===a?i.default.createElement("input",{className:"brz-input",type:"text",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),onChange:e=>{this.patchValue({placeholder:e.target.value})}}):i.default.createElement("input",{className:"brz-input",type:"text",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),onChange:e=>{this.patchValue({label:e.target.value,placeholder:e.target.value})}})))))}renderForView(e,t,o){const{showLabel:n,showRegisterInfo:a,showFirstName:l,showLastName:s,showUsername:c,showPhoneNumber:f}=this.props,{type:m}=e,y=(0,r.default)("brz-login-form__field",`brz-login-form__field-${m}`,{"brz-login-form__field-registerInfo-off":"off"===a&&"RegisterInfo"===m},(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,d.style)(e,t,o))),g={height:""===e.label?0:"auto"};return p.IS_WP?i.default.createElement("div",{className:y},("Name"===m||"RegisterEmail"===m)&&i.default.createElement("div",{className:"brz-login__item"},"on"===n&&i.default.createElement("div",{className:"brz-login__field-label",style:g},i.default.createElement("label",{className:"brz-label"},this.getLabel(e))),i.default.createElement("div",{className:"brz-login__field"},i.default.createElement("input",{type:this.getWpFieldType(m),name:this.getWpFieldName(m),maxLength:"email"===this.getWpFieldType(m)?255:void 0,className:"brz-input",placeholder:this.getPlaceholder(e),defaultValue:"",required:!0}))),this.renderRegisterInfoForView(e,a)):("FirstName"===m&&"on"===l||"LastName"===m&&"on"===s||"Username"===m&&"on"===c||"RegisterEmail"===m||"Password"===m||"PasswordConfirm"===m||"Phone"===m&&"on"===f)&&i.default.createElement("div",{className:y},i.default.createElement("div",{className:"brz-login__item"},"on"===n&&i.default.createElement("div",{className:"brz-login__field-label",style:g},i.default.createElement("label",{className:"brz-label"},this.getLabel(e))),i.default.createElement("div",{className:"brz-login__field"},i.default.createElement("input",{type:this.getCloudFieldType(m),name:this.getCloudFieldName(m),maxLength:"email"===this.getCloudFieldType(m)?255:void 0,className:"brz-input",placeholder:this.getPlaceholder(e),defaultValue:"",required:"RegisterEmail"===m||"Password"===m||"PasswordConfirm"===m}))))}}const S=v},44668:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]}]}},12105:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return F}});const r=N(o(60042)),i=N(o(27378)),n=o(10301),a=o(66848),l=N(o(36275)),s=N(o(67439)),c=N(o(10787)),d=N(o(63692)),u=L(o(64053)),p=L(o(83237)),f=L(o(8750)),m=L(o(83315)),y=L(o(86049)),g=L(o(11319)),b=o(8704),h=N(o(22546)),v=o(94220),S=o(46479),w=o(86022),x=N(o(48442)),M=L(o(26786)),T=L(o(23078)),P=L(o(6980)),C=L(o(74803)),k=L(o(48649)),_=o(40247),O=L(o(87732)),E=L(o(9246)),z=L(o(22802)),B=L(o(39783)),j=N(o(5840));function N(e){return e&&e.__esModule?e:{default:e}}function I(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(I=function(e){return e?o:t})(e)}function L(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=I(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class D extends d.default{static get componentId(){return"Login"}static defaultValue=x.default;static defaultProps={extendParentToolbar:n.noop};canRegister=()=>!S.IS_WP||"1"===h.default.get("wp").usersCanRegister;componentDidMount(){const e=this.makeToolbarPropsFromConfig2((0,j.default)(this.canRegister()),C,{allowExtend:!1});this.props.extendParentToolbar(e)}handleResizerChange=e=>this.patchValue(e);handleLinkChange=e=>{this.patchValue({lostPassword:e})};handleRegisterLinkChange=e=>{this.patchValue({registerLink:e})};handleLoginLinkChange=e=>{this.patchValue({loginLink:e})};handleSubmit=e=>{e.preventDefault()};getRegisterSlices(){return S.IS_WP?{startIndex:3,endIndex:6}:{startIndex:11,endIndex:18}}getButtonSlices(e,t){if(e<9)return{startIndex:7,endIndex:8};switch(t){case"login":return{startIndex:8,endIndex:9};case"register":return{startIndex:9,endIndex:10};case"forgot":return{startIndex:10,endIndex:11}}}renderLoginFields(e){const t=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:3,itemProps:{meta:this.props.meta,toolbarExtendLabel:this.makeToolbarPropsFromConfig2(z,P,{allowExtend:!1}),toolbarExtendCheckbox:this.makeToolbarPropsFromConfig2(E,null,{allowExtend:!1}),toolbarExtend:this.makeToolbarPropsFromConfig2(O,T,{allowExtend:!1}),showLabel:e.showLabel,showPlaceholder:e.showPlaceholder,remember:e.remember}});return i.default.createElement(c.default,t)}renderRegisterFields(e){const t=this.getRegisterSlices(),o=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:t.startIndex,sliceEndIndex:t.endIndex,itemProps:{meta:this.props.meta,toolbarRegisterInfo:this.makeToolbarPropsFromConfig2(y,null,{allowExtend:!1}),toolbarExtendLabel:this.makeToolbarPropsFromConfig2(z,P,{allowExtend:!1}),toolbarExtendCheckbox:this.makeToolbarPropsFromConfig2(E,null,{allowExtend:!1}),toolbarExtend:this.makeToolbarPropsFromConfig2(O,T,{allowExtend:!1}),showLabel:e.showLabel,showPlaceholder:e.showPlaceholder,remember:e.remember,showRegisterInfo:e.showRegisterInfo,showFirstName:e.showFirstName,showLastName:e.showLastName,showUsername:e.showUsername,showPhoneNumber:e.showPhoneNumber}});return i.default.createElement(c.default,o)}renderForgotPasswordFields(e){const t=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:6,sliceEndIndex:7,itemProps:{meta:this.props.meta,toolbarExtendLabel:this.makeToolbarPropsFromConfig2(z,P,{allowExtend:!1}),toolbarExtendCheckbox:this.makeToolbarPropsFromConfig2(E,null,{allowExtend:!1}),toolbarExtend:this.makeToolbarPropsFromConfig2(O,T,{allowExtend:!1}),showLabel:e.showLabel,showPlaceholder:e.showPlaceholder,remember:e.remember}});return i.default.createElement(c.default,t)}renderButton(e,t){const o=this.getButtonSlices(e,t),r=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:o.startIndex,sliceEndIndex:o.endIndex,itemProps:{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(f,u,{allowExtend:!1}),attributes:{}}});return i.default.createElement("div",{className:"brz-login-form__field brz-login__item-button"},i.default.createElement("div",{className:"brz-login__item brz-align-self-xs-end"},i.default.createElement(c.default,r)))}renderLostYourPasswordLink(e){return i.default.createElement(s.default,{...this.makeToolbarPropsFromConfig2(B,M),key:"forgot"},i.default.createElement("div",{className:"brz-login-form__field brz-login-form__field-lost-password"},i.default.createElement(a.TextEditor,{value:e,onChange:this.handleLinkChange})))}renderRegisterLink(e){return i.default.createElement(s.default,{...this.makeToolbarPropsFromConfig2(g),key:"register"},i.default.createElement("div",{className:"brz-login-form__field brz-login-form__field-register-link"},i.default.createElement(a.TextEditor,{value:e,onChange:this.handleRegisterLinkChange})))}renderLoginLink(e){return i.default.createElement(s.default,{...this.makeToolbarPropsFromConfig2(m,k),key:"login"},i.default.createElement("div",{className:"brz-login-form__field brz-login-form__field-login-link"},i.default.createElement(a.TextEditor,{value:e,onChange:this.handleLoginLinkChange})))}renderLoginForm(e){const{showLostPassword:t,showRegisterLink:o,registerLink:r,lostPassword:n}=e;return i.default.createElement(i.default.Fragment,null,this.renderLoginFields(e),this.renderButton(e.items.length,"login"),"on"===t&&this.renderLostYourPasswordLink(n),"on"===o&&this.canRegister()&&this.renderRegisterLink(r))}renderRegisterForm(e){const{showLostPassword:t,loginLink:o,showLoginLink:r,lostPassword:n}=e;return i.default.createElement(i.default.Fragment,null,this.renderRegisterFields(e),this.renderButton(e.items.length,"register"),"on"===r&&this.renderLoginLink(o),"on"===t&&this.renderLostYourPasswordLink(n))}renderForgotForm(e){const{showRegisterLink:t,loginLink:o,showLoginLink:r,registerLink:n}=e;return i.default.createElement(i.default.Fragment,null,this.renderForgotPasswordFields(e),this.renderButton(e.items.length,"forgot"),"on"===r&&this.renderLoginLink(o),"on"===t&&this.canRegister()&&this.renderRegisterLink(n))}renderAuthorizedForm(e){const t=i.default.createElement("p",null,"John Doe");return i.default.createElement(s.default,this.makeToolbarPropsFromConfig2(p,M),i.default.createElement("div",{className:"brz-login__authorized"},"on"===e.showName&&i.default.createElement(b.DynamicContentHelper,{placeholder:"{{editor_user_display_name}}",tagName:"p",fallbackComponent:t}),(()=>{if(S.IS_WP){const{logoutRedirectType:t,logoutRedirect:o}=e,r=`{{editor_logout_url redirect="${"samePage"===t?"samePage":o}"}}`;return i.default.createElement("a",{className:"brz-login__authorized-link",href:r}," ","Logout")}return i.default.createElement("span",{className:"brz-login__authorized-link"}," Logout")})()))}getActions(e){switch(e){case"register":return"{{editor_registration_url}}";case"forgot":return"{{editor_lostpassword_url}}";default:return"{{editor_login_url}}"}}renderFormForView(e){const{defaultRoles:t}=e;return i.default.createElement(i.default.Fragment,null,this.renderAuthorizedForm(e),i.default.createElement("form",{className:"brz-login-form brz-login-form__login",noValidate:!0},this.renderLoginForm(e)),i.default.createElement("form",{className:"brz-login-form brz-login-form__register",noValidate:!0,"data-defaultrole":(()=>{try{return JSON.stringify(JSON.parse(t)?.map((e=>({id:e}))))}catch{return[]}})()},this.renderRegisterForm(e)),i.default.createElement("form",{className:"brz-login-form brz-login-form__forgot",noValidate:!0},this.renderForgotForm(e)))}renderForEdit(e,t,o){const{type:n}=e,a=(0,r.default)("brz-login",(0,v.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,_.style)(e,t,o))),s="login"===n?this.renderLoginForm(e):"register"===n?this.renderRegisterForm(e):"forgot"===n?this.renderForgotForm(e):void 0;return i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(w.Wrapper,this.makeWrapperProps({className:a}),"authorized"===n?this.renderAuthorizedForm(e):i.default.createElement("form",{className:"brz-login-form"},s)))}renderForView(e,t,o){const{type:n}=e,a=(0,r.default)("brz-login",(0,v.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,_.style)(e,t,o)));return i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(w.Wrapper,this.makeWrapperProps({className:a,attributes:{"data-islogged":"{{editor_is_user_logged_in}}","data-redirect":e.redirectType,"data-redirect-value":e.messageRedirect,"data-error-empty":e.emptyFieldsError,"data-error-passlength":e.passLengthError,"data-error-passmatch":e.passMatchError,type:n}}),this.renderFormForView(e)))}}const F=D},48179:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=n(o(27378)),i=n(o(12105));function n(e){return e&&e.__esModule?e:{default:e}}class a extends i.default{getActions(e){switch(e){case"register":return"{{brizy_dc_ajax_url}}?action=editor_signup&hash={{editor_nonce action='brizy-login'}}";case"forgot":return"{{brizy_dc_ajax_url}}?action=editor_lostpassword&hash={{editor_nonce action='brizy-login'}}";default:return"{{brizy_dc_ajax_url}}?action=editor_login&hash={{editor_nonce action='brizy-login'}}"}}renderFormForView(e){return r.default.createElement(r.default.Fragment,null,this.renderAuthorizedForm(e),r.default.createElement("form",{className:"brz-login-form brz-login-form__login",noValidate:!0,action:this.getActions("login")},this.renderLoginForm(e)),this.canRegister()&&r.default.createElement("form",{className:"brz-login-form brz-login-form__register",noValidate:!0,action:this.getActions("register"),method:"post"},this.renderRegisterForm(e)),r.default.createElement("form",{className:"brz-login-form brz-login-form__forgot",noValidate:!0,action:this.getActions("forgot"),method:"post"},this.renderForgotForm(e)))}}},26786:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},23078:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},64053:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},6980:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},74803:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},48649:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},40247:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-login-form":{standart:["cssStyleDisplayFlex","cssStyleElementLoginFormMargin"]},".brz &&:hover .brz-login__item-button":{standart:["cssStyleDisplayFlex","cssStyleMarginAlign","cssStyleElementForm2SubmitWidth"]},".brz && .brz-login__authorized":{standart:["cssStyleElementLoginAutorizedAlign"]},".brz && .brz-login__authorized p,.brz && .brz-login__authorized a,.brz && .brz-login__authorized span":{standart:["cssStyleElementLoginTextTypography2FontFamily","cssStyleElementLoginTextTypography2FontSize","cssStyleElementLoginTextTypography2LineHeight","cssStyleElementLoginTextTypography2FontWeight","cssStyleElementLoginTextTypography2LetterSpacing"]},".brz && .brz-login__authorized p:hover":{standart:["cssStyleElementLoginTextColor"]},".brz && .brz-login__authorized a:hover":{standart:["cssStyleElementLoginLinkColor"]},".brz && .brz-login__authorized span:hover":{standart:["cssStyleElementLoginLinkColor"]},".brz && .brz-login-form .brz-input:hover":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder","cssStyleBoxShadow","cssStyleBorderRadius","cssStylePaddingFourFields","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz && .brz-login-form .brz-login-form__field":{standart:["cssStyleElementLoginFieldPadding"]},".brz && .brz-login-form .brz-login__field-label":{standart:["cssStyleElementForm2FieldsLabelPadding"]},".brz &&:hover .brz-login-form .brz-login__field-label":{standart:["cssStyleLabelColor","cssStyleElementForm2FieldsLabelAlign"]},".brz &&:hover .brz-login-form .brz-login__field-label .brz-label":{standart:["cssStyleElementForm2FieldsLabelFontFamily","cssStyleElementForm2FieldsLabelFontSize","cssStyleElementForm2FieldsLabelFontWeight","cssStyleElementForm2FieldsLabelLetterSpacing","cssStyleElementForm2FieldsLabelLineHeight"]},".brz && .brz-login-form .brz-login-form__field-lost-password:hover":{standart:["cssStyleElementLoginLostPasswordColor","cssStyleElementLoginLostPasswordTypography2FontFamily","cssStyleElementLoginLostPasswordTypography2FontSize","cssStyleElementLoginLostPasswordTypography2FontWeight","cssStyleElementLoginLostPasswordTypography2LetterSpacing","cssStyleElementLoginLostPasswordTypography2LineHeight","cssStyleElementLoginLostPasswordAlign"]},".brz && .brz-login-form .brz-control__check-group-option:hover":{standart:["cssStyleElementForm2FieldsCheckboxColor","cssStyleElementForm2FieldsCheckboxFontFamily","cssStyleElementForm2FieldsCheckboxFontSize","cssStyleElementForm2FieldsCheckboxFontWeight","cssStyleElementForm2FieldsCheckboxLetterSpacing","cssStyleElementForm2FieldsCheckboxLineHeight","cssStyleElementLoginRememberMeAlign"]},".brz && .brz-login-form .brz-login__register-info:hover":{standart:["cssStyleElementLoginRegisterInfoTypography2FontFamily","cssStyleElementLoginRegisterInfoTypography2FontSize","cssStyleElementLoginRegisterInfoTypography2LineHeight","cssStyleElementLoginRegisterInfoTypography2FontWeight","cssStyleElementLoginRegisterInfoTypography2LetterSpacing","cssStyleElementRegisterInfoColor","cssStyleElementRegisterInfoAlign"]},".brz && .brz-login-form .brz-login-form__field-register-link:hover":{standart:["cssStyleElementLoginRegisterLinkTypography2FontFamily","cssStyleElementLoginRegisterLinkTypography2FontSize","cssStyleElementLoginRegisterLinkTypography2LineHeight","cssStyleElementLoginRegisterLinkTypography2FontWeight","cssStyleElementLoginRegisterLinkTypography2LetterSpacing","cssStyleElementLoginRegisterLinkColor","cssStyleElementLoginRegisterLinkAlign"]},".brz && .brz-login-form .brz-login-form__field-login-link:hover":{standart:["cssStyleElementLoginLoginLinkTypography2FontFamily","cssStyleElementLoginLoginLinkTypography2FontSize","cssStyleElementLoginLoginLinkTypography2LineHeight","cssStyleElementLoginLoginLinkTypography2FontWeight","cssStyleElementLoginLoginLinkTypography2LetterSpacing","cssStyleElementLoginLoginLinkColor","cssStyleElementLoginLoginLinkAlign"]}}})}},83237:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgColorHex"),s("bgColorPalette"));return[{id:"popoverLogout",type:"popover-dev",config:{icon:"nc-link",title:(0,i.t)("Logout"),size:"medium"},position:60,options:[{id:"redirectGroup",type:"group-dev",options:[{id:"logoutRedirectType",type:"select-dev",label:(0,i.t)("Redirect After Logout"),devices:"desktop",choices:[{title:(0,i.t)("Same Page"),value:"samePage"},{title:(0,i.t)("Custom"),value:"custom"}]},{id:"logoutRedirect",label:(0,i.t)("URL"),type:"inputText-dev",disabled:"custom"!==s("logoutRedirectType"),devices:"desktop",placeholder:"http://"}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"text",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("bgColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"textColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabLink",label:(0,i.t)("Link"),options:[{id:"linkColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"autorizedHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},87732:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=o(57582);function c(e){let{v:t,device:o}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette")),{hex:u}=(0,a.getOptionColorHexByPalette)(c("borderColorHex"),c("borderColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-form-left",title:(0,i.t)("Field")},position:60,options:[{id:"tabsCurrentElementFields",type:"tabs-dev",tabs:[{id:"tabsCurrentElementField",label:(0,i.t)("Field"),options:[(0,s.toolbarElementForm2Size)({v:t,device:o}),{id:"fieldPadding",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"tabsCurrentElementAdvanced",label:(0,i.t)("Advanced"),options:[{id:"showLabel",label:(0,i.t)("Label"),devices:"desktop",type:"switch-dev"},{id:"showPlaceholder",label:(0,i.t)("Placeholder"),devices:"desktop",type:"switch-dev"}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:c("bgColorOpacity")>0?(0,r.hexToRgba)(u,c("borderColorOpacity")):(0,r.hexToRgba)(d,c("bgColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabInput",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},8750:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321);function n(e){let{v:t,device:o}=e;return[{id:"popoverLink",type:"popover-dev",config:{icon:"nc-link",title:(0,r.t)("Link"),size:"medium"},position:90,options:[{id:"redirectGroup",type:"group-dev",options:[{id:"redirectType",type:"select-dev",label:(0,r.t)("Redirect After Login"),devices:"desktop",choices:[{title:(0,r.t)("Same Page"),value:"samePage"},{title:(0,r.t)("Custom"),value:"custom"}]},{id:"messageRedirect",label:(0,r.t)("URL"),type:"inputText-dev",disabled:"custom"!==("redirectType",(0,i.defaultValueValue)({v:t,key:"redirectType",device:o})),devices:"desktop",placeholder:"http://"}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},position:110,options:[{id:"submitWidth",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"right"}]}]}},9246:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),i=o(81405),n=o(68256),a=o(69321),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,n.getOptionColorHexByPalette)(s("checkboxColorHex"),s("checkboxColorPalette"));return[{id:"toolbarTypographyCheckbox",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"checkbox",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorCheckbox",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(c,s("checkboxColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"checkboxColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"rememberMeHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"right"}]}]}},22802:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("labelColorHex"),l("labelColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-form-left",title:(0,i.t)("Field")},position:60,options:[{id:"labelPaddingBottom",label:(0,i.t)("Spacing"),position:60,type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"label",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("labelColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"labelColor",type:"colorPicker-dev"}]},{id:"labelHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},39783:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("lostColorHex"),s("lostColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"lost",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("lostColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"lostColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"lostHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},5840:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return c},getItems:function(){return u}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(46479),a=o(64985),l=o(14052),s=o(69321),c=e=>({getItems:u(e)}),d=e=>{switch(e){case"forgot":case"register":return(0,a.t)("Back to Login");case"login":case"authorized":return(0,a.t)("Login")}},u=e=>t=>{let{v:o,device:i}=t;const c=r.default.getAll(),u=[{value:"login",title:"Login"},{value:"authorized",title:"Authorized"},...e?[{value:"register",title:"Register"}]:[],{value:"forgot",title:"Forgot Password"}],p=("type",(0,s.defaultValueValue)({v:o,key:"type",device:i}));const f="register"===p,m="login"===p,y="forgot"===p,g="authorized"===p;return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-form-left",title:(0,a.t)("Forms")},position:60,options:[{id:"tabsCurrentElementFields",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabsCurrentElementField",label:(0,a.t)("Type"),options:[{id:"type",type:"select-dev",label:(0,a.t)("Type"),devices:"desktop",choices:u},{id:"defaultRoles",type:"multiSelect-dev",label:(0,a.t)("Default Roles"),devices:"desktop",placeholder:"none",disabled:!f||n.IS_WP,choices:(0,l.getMembershipChoices)(c)}]},{id:"tabsCurrentElementAdvanced",label:(0,a.t)("Advanced"),options:[{id:"remember",label:(0,a.t)("Remember me"),devices:"desktop",disabled:!m,type:"switch-dev"},{id:"showName",type:"switch-dev",label:(0,a.t)("Full name"),devices:"desktop",disabled:!g},{id:"showFirstName",label:(0,a.t)("First Name"),devices:"desktop",disabled:!f||n.IS_WP,type:"switch-dev"},{id:"showLastName",label:(0,a.t)("Last Name"),devices:"desktop",disabled:!f||n.IS_WP,type:"switch-dev"},{id:"showUsername",label:(0,a.t)("Username"),devices:"desktop",disabled:!f||n.IS_WP,type:"switch-dev"},{id:"showPhoneNumber",label:(0,a.t)("Phone Number"),devices:"desktop",disabled:!f||n.IS_WP,type:"switch-dev"},{id:"showRegisterInfo",label:(0,a.t)("Register Info"),devices:"desktop",disabled:!f||n.IS_CLOUD,type:"switch-dev"},{id:"showLoginLink",label:d(p),devices:"desktop",disabled:!f&&!y,type:"switch-dev"},{id:"showLostPassword",label:(0,a.t)("Lost Password"),devices:"desktop",disabled:!f&&!m,type:"switch-dev"},{id:"showRegisterLink",label:(0,a.t)("Register"),devices:"desktop",disabled:!y&&!m||!e,type:"switch-dev"}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}},83315:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("loginLinkColorHex"),s("loginLinkColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"loginLink",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("loginLinkColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"loginLinkColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"loginLinkHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},86049:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("registerInfoColorHex"),s("registerInfoColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"registerInfo",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("registerInfoColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"registerInfoColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"registerInfoHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},11319:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("registerLinkColorHex"),s("registerLinkColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"registerLink",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("registerLinkColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"registerLinkColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"registerLinkHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},84157:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return B}});const r=C(o(60042)),i=o(42162),n=C(o(27378)),a=C(o(31440)),l=C(o(1440)),s=o(62948),c=C(o(67439)),d=C(o(10787)),u=C(o(63692)),p=o(26989),f=o(97045),m=o(92213),y=o(94220),g=o(59209),b=o(49863),h=o(64985),v=_(o(4645)),S=o(22741),w=o(86022),x=C(o(65349)),M=_(o(89281)),T=o(92538),P=_(o(48885));function C(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(k=function(e){return e?o:t})(e)}function _(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=k(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const O=["topLeft","topRight","bottomLeft","bottomRight"],E=(0,b.pipe)(v.read,S.isNullish);class z extends u.default{static get componentId(){return"Lottie"}state={animation:null};getAnimation=(()=>{var e=this;return function(){fetch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"https://assets6.lottiefiles.com/private_files/lf30_1KyL2Q.json").then((e=>e.json())).then((t=>{e.setState({animation:t})}),(()=>{s.ToastNotification.error((0,h.t)("Your link is not correct"))}))}})();componentDidMount(){const{animationFile:e,animationLink:t}=this.getValue();this.getAnimation(e?(0,g.customFileUrl)(e):t)}handleValueChange(e,t){super.handleValueChange(e,t);const{animationFile:o,animationLink:r}=t.patch||{};if(void 0===o&&void 0===r)return;const i=(0,g.customFileUrl)(o)||r;if(i)this.getAnimation(i);else{const{animationFile:e,animationLink:t}=this.getValue(),o=t||(0,g.customFileUrl)(e);this.getAnimation(o)}}handleResizerChange=e=>this.patchValue(e);static defaultValue=x.default;renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{blockId:t,value:{popupId:o}}=e;return"GlobalBlock"===e.type&&(o=(0,f.blocksDataSelector)((0,m.getStore)().getState())[e.value._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${o}`}}});return n.default.createElement(d.default,e)}renderForEdit(e,t,o){const{speed:l,loop:s,autoplay:d,direction:u,renderer:g}=e,{animation:b}=this.state,h={animationData:b,speed:l,direction:Number(u),isLoop:"on"===s,isAutoplay:"on"===d,renderer:g},v=(0,r.default)("brz-lottie",(0,y.css)(this.constructor.componentId,this.getId(),(0,T.style)(e,t,o)));return n.default.createElement(n.default.Fragment,null,n.default.createElement(c.default,this.makeToolbarPropsFromConfig2(P,M),n.default.createElement(w.Wrapper,this.makeWrapperProps({className:v}),n.default.createElement(a.default,{points:O,meta:this.props.meta,value:e,onChange:this.handleResizerChange,restrictions:{width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}}},n.default.createElement(i.LottieEditor,{...h,key:`renderer-${g}`})))),(0,p.shouldRenderPopup)(e,(0,f.blocksDataSelector)((0,m.getStore)().getState()))&&this.renderPopups())}renderForView(e,t,o){const{speed:a,loop:s,autoplay:c,direction:d,renderer:u,animationLink:b,animationFile:h,linkType:v,linkAnchor:S,linkToSlide:x,linkExternalBlank:M,linkExternalRel:P,linkExternalType:C,linkPopup:k,linkUpload:_}=e,O={anchor:S,story:E(x)?"":`slide-${x}`,external:e[C],popup:k,upload:_},z=(0,r.default)("brz-lottie",(0,y.css)(this.constructor.componentId,this.getId(),(0,T.style)(e,t,o))),B=h?(0,g.customFileUrl)(h):b,j="story"!==v||E(x)?{}:{"data-brz-link-story":x};return n.default.createElement(n.default.Fragment,null,n.default.createElement(w.Wrapper,this.makeWrapperProps({className:z}),O[v]?n.default.createElement(l.default,{href:O[v],type:v,target:M,rel:P,slide:j},n.default.createElement(i.LottieView,{animationData:B,speed:a,isLoop:s,isAutoplay:c,direction:d,renderer:u})):n.default.createElement(i.LottieView,{animationData:B,speed:a,isLoop:s,isAutoplay:c,direction:d,renderer:u})),(0,p.shouldRenderPopup)(e,(0,f.blocksDataSelector)((0,m.getStore)().getState()))&&this.renderPopups())}}const B=z},89281:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Lottie");function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50}]}]},{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50}]}]}]}},92538:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover.brz-lottie":{standart:["cssStyleSizeWidth","cssStyleBgColor","cssStyleBgGradient","cssStyleBorder","cssStyleBoxShadow"]},".brz &&:hover.brz-lottie .brz-ed-box__resizer div svg, .brz-lottie .brz-ed-box__resizer div canvas, &&.brz-lottie .brz-lottie-anim svg, &&.brz-lottie .brz-lottie__canvas canvas":{standart:["cssStylePaddingBG"]}}})}},48885:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81405),a=o(64985),l=o(16526),s=o(69321),c=o(68256),d=o(24119),u=o(57582);function p(e){let{v:t,device:o,component:i}=e;const p=e=>(0,s.defaultValueValue)({v:t,key:e,device:o}),f=Boolean(i.props.meta.sectionPopup),m=Boolean(i.props.meta.sectionPopup2),{hex:y}=(0,c.getOptionColorHexByPalette)(p("bgColorHex"),p("bgColorPalette")),g=r.default.getAll(),b=(0,l.isStory)(g),h=(0,l.isPopup)(g);return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-lottie",title:(0,a.t)("Lottie")},devices:"desktop",position:70,options:[{id:"animationLink",label:(0,a.t)("Lottie Link"),type:"inputText-dev",devices:"desktop",placeholder:"lottie link",disabled:""!==p("animationFile"),config:{size:"medium"},helper:{content:(0,a.t)("This is Lottie .json URL. Get more from LottieFiles.com.")}},{id:"animationFile",label:(0,a.t)("Lottie File"),type:"fileUpload-dev",config:{allowedExtensions:[".json"]},devices:"desktop"},{id:"renderer",type:"select-dev",label:(0,a.t)("Renderer"),choices:[{title:"SVG",value:"svg"},{title:"Canvas",value:"canvas"}]},{id:"autoplay",label:(0,a.t)("Autoplay"),type:"switch-dev"},{id:"direction",label:(0,a.t)("Reverse"),type:"switch-dev",disabled:"off"===p("autoplay"),config:{on:"-1",off:"1"}},{id:"loop",label:(0,a.t)("Loop"),type:"switch-dev",disabled:"off"===p("autoplay")},{id:"speed",type:"slider-dev",label:(0,a.t)("Speed"),devices:"desktop",config:{min:.1,max:5,step:.1}}]},{id:"toolbarColor",type:"popover-dev",position:80,config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(y,p("bgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,a.t)("Background"),options:[{id:"",type:"backgroundColor-dev",states:[d.NORMAL,d.HOVER]}]},{id:"tabBorder",label:(0,a.t)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop",states:[d.NORMAL,d.HOVER]}]},{id:"tabBoxShadow",label:(0,a.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",devices:"desktop",states:[d.NORMAL,d.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,a.t)("Link")},position:90,devices:"desktop",options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0},tabs:[{id:"external",label:(0,a.t)("URL"),options:[(0,u.toolbarLinkExternal)({v:t,config:i.context.dynamicContent.config}),{id:"linkExternalBlank",label:(0,a.t)("Open In New Tab"),type:"switch-dev"},{id:"linkExternalRel",label:(0,a.t)("Make it Nofollow"),type:"switch-dev"}]},{id:"anchor",label:(0,a.t)("Block"),options:[(0,u.toolbarLinkAnchor)({v:t,disabled:h||b})]},{id:"popup",label:(0,a.t)("Popup"),options:[{id:"linkPopup",type:"promptAddPopup",disabled:f||m||h||b,label:(0,a.t)("Popup"),popupKey:`${i.getId()}_${p("linkPopup")}`,value:{value:p("linkPopup"),popups:p("popups")},onChange:e=>{let{value:t,popups:o}=e;return{linkPopup:t,popups:o}}}]},{id:"story",label:(0,a.t)("Slides"),options:[(0,u.toolbarStoryAnchor)({disabled:!b})]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,a.t)("Settings"),icon:"nc-cog"},position:110,options:[{id:"width",label:(0,a.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===p("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},96363:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return E}});const r=T(o(60042)),i=o(42162),n=T(o(27378)),a=T(o(31440)),l=T(o(36275)),s=o(62182),c=o(21407),d=o(10730),u=T(o(67439)),p=T(o(63692)),f=T(o(22546)),m=o(94220),y=o(46479),g=o(16526),b=o(86845),h=o(59638),v=o(86022),S=T(o(77504)),w=C(o(68960)),x=o(16359),M=C(o(70233));function T(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const k=["topLeft","topCenter","topRight","centerLeft","centerRight","bottomLeft","bottomCenter","bottomRight"],_=e=>{const{size:t,tabletSize:o,mobileSize:r,sizeSuffix:i,tabletSizeSuffix:n,mobileSizeSuffix:a,...l}=e;return{width:t,tabletWidth:o,mobileWidth:r,widthSuffix:i,tabletWidthSuffix:n,mobileWidthSuffix:a,...l}};class O extends p.default{static get componentId(){return"Map"}static defaultValue=S.default;static experimentalDynamicContent=!0;handleResizerChange=e=>this.patchValue((e=>(e.width&&(e.size=e.width,delete e.width),e.tabletWidth&&(e.tabletSize=e.tabletWidth,delete e.tabletWidth),e.mobileWidth&&(e.mobileSize=e.mobileWidth,delete e.mobileWidth),e))(e));renderForEdit(e,t,o){const p=(0,g.isStory)(f.default.getAll()),{address:S,zoom:T,hoverName:P}=e,C=(0,r.default)("brz-map",{"brz-map_styles":p},(0,m.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,x.style)(e,t,o))),O=(0,h.read)(P)??"none",E=(0,d.makeOptionValueToAnimation)(e),{wrapperAnimationId:z}=this.props.meta,B=(0,h.read)(z)??this.getId(),{wrapperAnimationActive:j}=this.props.meta,N=(0,b.read)(j);return n.default.createElement(u.default,this.makeToolbarPropsFromConfig2(M,w),n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(v.Wrapper,this.makeWrapperProps({className:C}),n.default.createElement(a.default,{points:k,restrictions:{height:{px:{min:25,max:1/0},"%":{min:5,max:1/0}},width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletHeight:{px:{min:25,max:1/0},"%":{min:5,max:1/0}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileHeight:{px:{min:25,max:1/0},"%":{min:5,max:1/0}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}},meta:this.props.meta,value:_(e),onChange:this.handleResizerChange},n.default.createElement(s.HoverAnimation,{animationId:B,cssKeyframe:O,options:(0,c.getHoverAnimationOptions)(E,O),isDisabledHover:N,isHidden:p},n.default.createElement(i.MapEditor,{address:S,zoom:T,platform:y.IS_WP?"WP":"CLOUD"}))))))}renderForView(e,t,o){const{address:a,zoom:u,hoverName:p}=e,b=(0,g.isStory)(f.default.getAll()),S=(0,h.read)(p)??"none",w="none"===S||b,M=(0,r.default)("brz-map",{"brz-map_styles":w},(0,m.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,x.style)(e,t,o))),T=(0,d.makeOptionValueToAnimation)(e),{wrapperAnimationId:P}=this.props.meta,C=(0,h.read)(P)??this.getId();return n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(v.Wrapper,this.makeWrapperProps({className:M}),n.default.createElement(s.HoverAnimation,{animationId:C,cssKeyframe:S,options:(0,c.getHoverAnimationOptions)(T,S),isHidden:w},n.default.createElement(i.MapPreview,{address:a,zoom:u,platform:y.IS_WP?"WP":"CLOUD"}))))}}const E=O},68960:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return u},getItems:function(){return p}});const r=o(21407),i=o(93873),n=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(64985),s=o(16526),c=o(69321),d=o(59638),u=(0,l.t)("Map"),p=e=>{let{v:t,device:o,state:a}=e;const u=(0,s.isStory)(n.default.getAll()),p=(0,d.read)(("hoverName",(0,c.defaultValueValue)({v:t,key:"hoverName",device:o,state:a})))??"none";return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,l.t)("Styling"),label:(0,l.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,l.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,l.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,l.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,l.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,l.t)("Advanced"),options:[{id:"hoverTransition",label:(0,l.t)("Hover Transition"),disabled:u,devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,l.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,l.t)("Padding"),devices:"responsive",position:50}]},{id:"effects",title:(0,l.t)("Effects"),label:(0,l.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,l.t)("Entrance"),options:[]},{id:"tabHover",label:(0,l.t)("Hover"),options:[{id:"hover",type:"animation-dev",devices:"desktop",disabled:u,config:{types:i.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(p),delay:!1}}]}]}]}]}]}},16359:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover.brz-map":{standart:["cssStyleSizeSize","cssStyleSizeHeightPxOnly"]},".brz &&:hover.brz-map_styles:before":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover .brz-hover-animation:before":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover:after":{standart:["cssStyleSizeHeightPercentOnly"]},".brz &&:hover > .brz-ed-box__resizer":{standart:["cssStyleElementMapPropertyPositionFixed"]},".brz &&:hover .brz-map-content":{standart:["cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover .brz-iframe":{standart:["cssStyleFilter","cssStylePaddingBG","cssStyleBgColor","cssStyleBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]}}})}},70233:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81263),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119);function p(e){let{v:t,device:o,context:i}=e;const p=e=>(0,c.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:f}=(0,d.getOptionColorHexByPalette)(p("borderColorHex"),p("borderColorPalette")),m=(0,d.getDynamicContentOption)({options:i.dynamicContent.config,type:n.DCTypes.richText}),y=(0,s.isStory)(r.default.getAll());return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-pin",title:(0,l.t)("Map")},devices:"desktop",position:90,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,l.t)("Map"),options:[{id:"address",label:(0,l.t)("Address"),type:"inputText-dev",placeholder:(0,l.t)("Enter address"),population:m},{id:"zoom",label:(0,l.t)("Zoom"),type:"slider-dev",config:{min:1,max:21}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(f,p("borderColorOpacity"))}}},position:90,devices:"desktop",disabled:""===p("coverImageSrc"),options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,l.t)("Background"),options:[{id:"",type:"backgroundColor-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",devices:"desktop",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},position:110,disabled:y,options:[{id:"size",label:(0,l.t)("Width"),type:"slider-dev",position:80,config:{min:1,max:"px"===p("sizeSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"height",label:(0,l.t)("Height"),type:"slider-dev",config:{min:5,max:"%"===p("heightSuffix")?100:500,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",icon:"nc-cog",position:110,disabled:!y}]}},3968:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return j},getOpenedMegaMenu:function(){return I}});const r=O(o(60042)),i=O(o(27378)),n=o(84989),a=o(10301),l=O(o(17882)),s=o(91899),c=O(o(1440)),d=O(o(21107)),u=o(26667),p=o(73948),f=O(o(67439)),m=O(o(63692)),y=O(o(22546)),g=o(92213),b=o(94220),h=(o(46479),o(94306)),v=o(66559),S=o(68934),w=(o(6804),o(36953)),x=O(o(34791)),M=O(o(51533)),T=o(65525),P=O(o(92505)),C=o(85325),k=O(o(78191)),_=O(o(34501));function O(e){return e&&e.__esModule?e:{default:e}}const E=y.default.get("pro");let z=null;class B extends m.default{static get componentId(){return"MenuItem"}static defaultProps={defaultValue:{},level:0,mMenu:!1,menuSelected:void 0,mods:{desktop:"vertical",tablet:"vertical",mobile:"vertical"},getParentWidth:a.noop};static defaultValue=x.default;state={isOpen:!1};menuItem=i.default.createRef();megaMenuRef=i.default.createRef();componentDidUpdate(e){this.props.defaultValue.megaMenu!==e.defaultValue.megaMenu&&"on"===e.defaultValue.megaMenu&&this.open()}getMeta(e){const{meta:t,mods:o,mMenu:r}=this.props,{desktopW:i,desktopWNoSpacing:n,tabletW:a,tabletWNoSpacing:l,mobileW:s,mobileWNoSpacing:c}=(0,T.calculateMeta)({v:e,meta:t,mods:o,isMMenu:Boolean(r)});return{...t,desktopW:i,desktopWNoSpacing:n,tabletW:a,tabletWNoSpacing:l,mobileW:s,mobileWNoSpacing:c}}getMegaMenuWidth(e,t,o){const r=this.menuItem.current?.ownerDocument;if(!r)return`${e}${t}`;const{clientWidth:i}=r.body,n=this.menuItem.current.getBoundingClientRect(),a=n.left,l=i-n.right;let s;if("%"===t){const t=this.props.getParent(),o=t?.getBoundingClientRect().width;s=o*(e/100)}else s="vw"===t?e>=100?i:i*(e/100):e;if("vertical"===o&&a{this.setState({isOpen:!1}),z=null};open=()=>{const e=this.getValue();this.setState({isOpen:!0}),"on"===e.megaMenu&&(z=this)};handleClick=()=>{this.state.isOpen||this.open()};handleClickOutside=()=>{this.state.isOpen&&this.close()};insideMegaMenu=e=>{const t=this.megaMenuRef.current;if(this.state.isOpen&&t){if(t.contains(e))return!0;const o=(0,w.getParentMegaMenuUid)(e);if(o)return!!t.querySelector(`[data-menu-item-id=${o}]`)}return!1};renderIcon(e){const{iconName:t,iconType:o}=e,{level:n,mMenu:a}=this.props,l=(0,r.default)({"brz-menu__item__icon":0===n&&!a},{"brz-menu__sub-item__icon":n>=1},{"brz-mm-menu__item__icon":a});return i.default.createElement(p.ThemeIcon,{key:"icon",className:l,name:t,type:o})}renderLink(e,t,o,r){const{url:n,target:a,classes:l,attrTitle:s}=e;n.trim();let d={href:"",type:"",target:"_blank"===a?"on":"off",className:l,attr:{title:s},onDragStart:e=>(e.preventDefault(),!1),draggable:"false"};return i.default.createElement(c.default,d,r)}renderMegaMenu(e,t,o){return E?this.renderMegaMenuForEdit(e,t,o):null}renderMegaMenuForEdit(e,t,o){const{mMenu:a,level:l,getParent:c,mods:p}=this.props,{deviceMode:f}=(0,g.getStore)().getState().ui,m=N(p,f),y=(0,S.styleElementMegaMenuPlacement)({v:e,device:f}),w=(0,_.default)(m,Boolean(a)),x=this.makeSubcomponentProps({level:l,meta:this.getMeta(e),bindWithKey:"megaMenuItems",megaMenu:!0,toolbarExtend:this.makeToolbarPropsFromConfig2(w,null,{allowExtend:!1}),itemProps:{rerender:{placement:y}}});if(a)return i.default.createElement("div",{className:"brz-mega-menu__mmenu"},i.default.createElement(M.default,x));if(!this.state.isOpen)return;const T=(0,r.default)((0,b.css)(this.constructor.componentId,this.getId(),(0,C.styleMegaMenu)(e,t,o)));if(f===v.MOBILE&&"vertical"===m){const e=(0,r.default)("brz-mega-menu__dropdown",T);return i.default.createElement("div",{className:e},i.default.createElement(M.default,x))}const P=c(),k=(0,r.default)("brz-mega-menu__portal","brz-mega-menu__portal--opened",`brz-mega-menu__portal--${f}`,T),O=(0,S.styleElementMegaMenuWidth)({v:e,device:f}),E=(0,S.styleElementMegaMenuWidthSuffix)({v:e,device:f}),z=this.getMegaMenuWidth(O,E,m),B="vertical"===m?{placement:"left-start",referenceElement:P.querySelector(".brz-menu__ul")}:{placement:y,referenceElement:P};return i.default.createElement(n.Popper,B,(e=>{let{ref:t,style:o,placement:r}=e;return i.default.createElement(d.default,{node:document.body},i.default.createElement(u.SortableZIndex,{zIndex:2},i.default.createElement("div",{className:k,ref:e=>{(0,h.attachRef)(e,this.megaMenuRef),(0,h.attachRef)(e,t)},style:{...o,maxWidth:z,width:"100%"},"data-mega-menu-uid":this.getId(),"data-popper-placement":r},i.default.createElement(M.default,x))),i.default.createElement(s.DraggableOverlay,null))}))}renderMegaMenuForView(e,t,o){const{mMenu:n,level:a,mods:l}=this.props,s=this.makeSubcomponentProps({level:a,meta:this.getMeta(e),bindWithKey:"megaMenuItems",megaMenu:!0});if(n)return i.default.createElement("div",{className:"brz-mega-menu__mmenu"},i.default.createElement(M.default,s));const c=(0,r.default)("brz-mega-menu__portal",(0,b.css)(this.constructor.componentId,this.getId(),(0,C.styleMegaMenu)(e,t,o))),d=(0,S.styleElementMegaMenuWidth)({v:e,device:v.DESKTOP}),u=(0,S.styleElementMegaMenuWidthSuffix)({v:e,device:v.DESKTOP}),p=(0,S.styleElementMegaMenuWidth)({v:e,device:v.TABLET}),f=(0,S.styleElementMegaMenuWidthSuffix)({v:e,device:v.TABLET}),m=(0,S.styleElementMegaMenuWidth)({v:e,device:v.MOBILE}),y=(0,S.styleElementMegaMenuWidthSuffix)({v:e,device:v.MOBILE}),g=(0,S.styleElementMegaMenuPlacement)({v:e,device:v.DESKTOP}),h=(0,S.styleElementMegaMenuPlacement)({v:e,device:v.TABLET}),w=(0,S.styleElementMegaMenuPlacement)({v:e,device:v.MOBILE}),x={mods:l,placement:{desktop:"horizontal"===l[v.DESKTOP]?g:"left-start",tablet:"horizontal"===l[v.TABLET]?h:"left-start",mobile:"horizontal"===l[v.MOBILE]?w:"left-start"},widths:{desktop:`${d}${u}`,tablet:`${p}${f}`,mobile:`${m}${y}`}};return i.default.createElement("div",{className:c,"data-settings":encodeURIComponent(JSON.stringify(x))},i.default.createElement(M.default,s))}renderDropDown(){if(!E)return null;const{level:e,toolbarExtend:t,mMenu:o,meta:r,menuSelected:n,mods:a}=this.props,l=this.makeSubcomponentProps({toolbarExtend:t,level:e,mMenu:o,meta:r,mods:a,menuSelected:n,bindWithKey:"items",megaMenu:!1});return i.default.createElement(M.default,l)}renderSimple(e,t,o,r){const{level:a,mMenu:s,mods:c,menuSelected:d}=this.props,u=(0,C.styleClassName)(e,this.state),{deviceMode:p}=(0,g.getStore)().getState().ui,m=N(c,p),y=(0,k.default)(a,s),b=(0,P.default)(a,s),h=[".brz-ed-sidebar",".brz-ed-toolbar",".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal",".brz-ed-fixed",".brz-portal-forms__select",".brz-mm-menu_opened",".brz-ed-eyeDropper",this.insideMegaMenu,".react-contexify",".media-modal",".media-modal-backdrop"];return p===v.MOBILE&&"vertical"===m?i.default.createElement(l.default,{exceptions:h,onClickOutside:this.handleClickOutside},i.default.createElement("li",{className:u,onClick:this.handleClick},i.default.createElement(f.default,this.makeToolbarPropsFromConfig2(y,b),this.renderLink(e,t,o,r)),"off"===e.megaMenu?this.renderDropDown(e,t,o):this.renderMegaMenu(e,t,o))):i.default.createElement(l.default,{exceptions:h,onClickOutside:this.handleClickOutside},i.default.createElement(n.Manager,null,i.default.createElement(n.Reference,null,(()=>i.default.createElement("li",{"data-menu-item-id":this.getId(),ref:this.menuItem,className:u,onClick:this.handleClick},i.default.createElement(f.default,this.makeToolbarPropsFromConfig2(y,b),this.renderLink(e,t,o,r)),"off"===e.megaMenu&&this.renderDropDown()))),"on"===e.megaMenu&&this.renderMegaMenu(e,t,o)))}renderMMenu(e,t,o,r){const{level:n,mMenu:a,menuSelected:l}=this.props,s=(0,k.default)(n,a),c=(0,P.default)(n,a),d="off"===e.megaMenu;return i.default.createElement("li",{ref:this.menuItem,className:(0,C.styleMmMenuClassName)(e,this.menuItem.current)},i.default.createElement(f.default,this.makeToolbarPropsFromConfig2(s,c),this.renderLink(e,t,o,r)),d?i.default.createElement("div",null,this.renderDropDown(e,t,o)):i.default.createElement("div",null,this.renderMegaMenu(e,t,o)))}renderForEdit(e,t,o){const{title:r,iconName:n,iconType:a}=e,l=n&&a,s=i.default.createElement(i.default.Fragment,null,l&&this.renderIcon(e),i.default.createElement("span",{className:"brz-span",dangerouslySetInnerHTML:{__html:r}}));return this.props.mMenu?this.renderMMenu(e,t,o,s):this.renderSimple(e,t,o,s)}}const j=B,N=(e,t)=>e[t],I=()=>z},51533:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),i=l(o(60042)),n=l(o(10787)),a=l(o(13741));function l(e){return e&&e.__esModule?e:{default:e}}o(66559);class s extends n.default{static get componentId(){return"MenuItem.Items"}static defaultProps={megaMenu:!1,mMenu:!1,toolbarExtend:null,level:0,getParent:()=>{},meta:{},placement:null};getItemProps(e,t,o){const r=super.getItemProps(e,t,o);let{level:i,toolbarExtend:n,mMenu:a,meta:l,getParent:s,mods:c,menuSelected:d}=this.props;return{...r,menuSelected:d,mMenu:a,toolbarExtend:n,meta:l,getParent:s,mods:c,level:++i}}renderItemWrapper(e,t,o,r){const i="MenuItem"===r.type,n="SectionMegaMenu"===r.type,{megaMenu:a}=this.props;return a&&!i?e:a||n?null:e}renderItemsContainer(e){const{level:t,megaMenu:o,mMenu:n,mods:l}=this.props,s=e.filter((e=>e));return 0===s.length?null:o?s:((e,t,o,n)=>{const l=(0,i.default)("brz-mm-menu__sub-menu",{"brz-menu__ul--has-dropdown":0===o});return t?r.default.createElement("ul",{className:l},e):r.default.createElement(a.default,{placement:void 0,mods:void 0,className:"brz-menu__sub-menu"},e)})(s,n,t)}}const c=s},65525:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"calculateMeta",{enumerable:!0,get:function(){return l}});const r=o(66559),i=o(81504),n=o(68934),a=e=>{const{W:t,mode:o,device:r,isMMenu:a,v:l}=e;if(a)return"mobile"===r?380:440;if("horizontal"===o)return t;const s=(0,n.styleElementMegaMenuWidth)({v:l,device:r,state:"normal"});switch((0,n.styleElementMegaMenuWidthSuffix)({v:l,device:r,state:"normal"})){case"px":return s;case"vw":{const e="mobile"===r?t:(e=>{switch(e){case"desktop":return i.wInFullPage;case"tablet":return i.wInTabletPage;default:return i.wInMobilePage}})(r),o=s>=100?e:e*(s/100);return Math.round(10*o)/10}case"%":{const e=t*(s/100);return Math.round(10*e)/10}}},l=e=>{const{meta:t,mods:o,isMMenu:i,v:n}=e,{desktopW:l,desktopWNoSpacing:s,tabletW:c,tabletWNoSpacing:d,mobileW:u,mobileWNoSpacing:p}=t;return{desktopW:a({v:n,isMMenu:i,W:l,mode:o[r.DESKTOP],device:r.DESKTOP}),desktopWNoSpacing:a({v:n,isMMenu:i,W:s,mode:o[r.DESKTOP],device:r.DESKTOP}),tabletW:a({v:n,isMMenu:i,W:c,mode:o[r.TABLET],device:r.TABLET}),tabletWNoSpacing:a({v:n,isMMenu:i,W:d,mode:o[r.TABLET],device:r.TABLET}),mobileW:a({v:n,isMMenu:i,W:u,mode:o[r.MOBILE],device:r.MOBILE}),mobileWNoSpacing:a({v:n,isMMenu:i,W:p,mode:o[r.MOBILE],device:r.MOBILE})}}},92505:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return n},title:function(){return a},getItemsSimple:function(){return l},getItemsMMenu:function(){return s}});const r=o(64985),i=o(57582),n=(e,t)=>({title:a,getItems:t?s(e):l(e)}),a=(0,r.t)("Menu Items"),l=e=>t=>{let{device:o,state:r}=t;return[...e<1?[{id:"borderRadiusPicker",type:"group-dev",devices:"desktop",disabled:!0}]:[],...e>=1?[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0},(0,i.toolbarDisabledPadding)({device:o,state:r,prefix:"menu"})]:[]]},s=e=>e=>{let{device:t,state:o}=e;return[{id:"borderRadiusPicker",type:"group-dev",devices:"desktop",disabled:!0},(0,i.toolbarDisabledPadding)({device:t,state:o,prefix:"menu"})]}},85325:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleClassName:function(){return s},styleMmMenuClassName:function(){return c},styleMegaMenu:function(){return d}});const r=(i=o(60042))&&i.__esModule?i:{default:i};var i;const n=o(94220),a=e=>"on"!==e.megaMenu&&(e=>{let{items:t=[]}=e;return t.some((e=>"MenuItem"===e.type))})(e),l=e=>{if(!e)return"";let t=[];return e.classList.forEach((e=>{/brz-mm-(?!menu__item).*$/.test(e)&&t.push(e)})),t};function s(e,t){const{className:o,megaMenu:i,current:n}=e;return(0,r.default)("brz-menu__item",o,{"brz-menu__item--current":n,"brz-menu__item-mega-menu":"on"===i,"brz-menu__item-dropdown":a(e),"brz-menu__item--opened":t.isOpen})}function c(e,t){const{className:o,megaMenu:i,current:n}=e,s="on"===i,c=a(e),d=l(t);return(0,r.default)("brz-mm-menu__item",o,d,{"brz-mm-menu__item-empty":!s&&!c,"brz-mm-menu__item--current":n,"brz-mm-menu__item-mega-menu":s,"brz-mm-menu__item-dropdown":c})}function d(e,t,o){return(0,n.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementMegaMenuWidth"],interval:["cssStyleElementMegaMenuOffsetTop"]}}})}},78191:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=(e,t)=>({getItems:t?l(e):a(e)}),a=e=>t=>{let{v:o,device:n}=t;const a=("iconName",(0,i.defaultValueValue)({v:o,key:"iconName",device:n}));return[{id:"toolbarMenuSettings",type:"popover-dev",config:{icon:"nc-menu-3",title:(0,r.t)("Menu")},position:10,disabled:e>=1,options:[{id:"megaMenu",type:"switch-dev",devices:"desktop",label:(0,r.t)("Mega Menu")}]},{id:"toolbarMenuItem",type:"popover-dev",config:{icon:"nc-star",title:(0,r.t)("Icon")},position:20,disabled:e>=1,options:[{id:"icon",type:"iconSetter-dev",devices:"desktop",label:(0,r.t)("Icon"),config:{canDelete:!0},position:10},...""===a?[{id:"iconPosition",type:"radioGroup-dev",disabled:!0},{id:"iconSize",type:"slider-dev",disabled:!0},{id:"iconSpacing",type:"slider-dev",disabled:!0}]:[]]},{id:"subMenuToolbarMenuItem",type:"popover-dev",config:{icon:"nc-star",title:(0,r.t)("Icon")},position:20,disabled:e<1,options:[{id:"icon",type:"iconSetter-dev",devices:"desktop",label:(0,r.t)("Icon"),position:10,config:{canDelete:!0}},...""===a?[{id:"subMenuIconPosition",type:"radioGroup-dev",disabled:!0},{id:"subMenuIconSize",type:"slider-dev",disabled:!0},{id:"subMenuIconSpacing",type:"slider-dev",disabled:!0}]:[]]},...e<1?[{id:"subMenuToolbarTypography",type:"popover-dev",disabled:!0,options:[]},{id:"subMenuToolbarColor",type:"popover-dev",disabled:!0,options:[]}]:[],...e>=1?[{id:"advancedSettings",type:"advancedSettings",devices:"desktop"},{id:"toolbarTypography",type:"popover-dev",disabled:!0,options:[]},{id:"toolbarColor",type:"popover-dev",disabled:!0,options:[]}]:[]]},l=()=>e=>{let{v:t,device:o}=e;const n=("iconName",(0,i.defaultValueValue)({v:t,key:"iconName",device:o}));return[{id:"mMenuToolbarMenuItem",type:"popover-dev",config:{icon:"nc-star",title:(0,r.t)("Icon")},position:20,options:[{id:"icon",type:"iconSetter-dev",devices:"desktop",label:(0,r.t)("Icon"),config:{canDelete:!0}},...""===n?[{id:"mMenuIconPosition",type:"radioGroup-dev",disabled:!0},{id:"mMenuIconSize",type:"slider-dev",disabled:!0},{id:"mMenuIconSpacing",type:"slider-dev",disabled:!0}]:[]]}]}},34501:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(64985),i=o(69321),n=o(66559),a=(e,t)=>o=>{let{v:a,device:l}=o;const s=t||"vertical"===e&&l===n.MOBILE;return[{id:"megaMenuPlacement",type:"toggle-dev",position:100,disabled:t||"vertical"===e,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"bottom-start"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"bottom"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"bottom-end"}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,r.t)("Settings")},position:110,options:[{id:"megaMenuWidth",position:10,label:(0,r.t)("Width"),type:"slider-dev",disabled:t,config:{min:35,max:"px"===("megaMenuWidthSuffix",(0,i.defaultValueValue)({v:a,key:"megaMenuWidthSuffix",device:l,state:"normal"}))?1170:100,inputMin:35,units:[{title:"%",value:"%"},{title:"px",value:"px"},{title:"vw",value:"vw"}]}},{id:"megaMenuOffsetTop",position:30,label:(0,r.t)("Offset"),type:"slider-dev",disabled:s,config:{min:0,max:100,inputMin:0,inputMax:100,units:[{title:"px",value:"px"}]}}]}]},l=function(){for(var e=arguments.length,t=new Array(e),o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(67439),i=o(16957),n=o(64985),a=e=>({getItems:s(e)}),l="MacOS"===(0,i.detectOS)(),s=e=>(t,o)=>{const i=o.getCurrentCopiedElement(),a="Row"===t[e].type,s=i&&(a||t[e].type===i.type),c=s&&(a||i.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,n.t)("Copy"),helperText:()=>l?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,n.t)("Paste"),helperText:()=>l?"⌘ + V":"ctrl + V",inactive:!s,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,n.t)("Paste Styles"),inactive:!c,helperText:()=>l?"⌘ + ⇧ + V":"ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,n.t)("Duplicate"),helperText:()=>l?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,n.t)("Delete"),helperText:()=>l?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},74956:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return C}});const r=x(o(27378)),i=x(o(60042)),n=x(o(10301)),a=x(o(63692)),l=x(o(25382)),s=x(o(80544)),c=T(o(67439)),d=o(94220),u=o(89787),p=o(66559),f=o(46338),m=x(o(36275)),y=o(84733),g=T(o(49142)),b=T(o(6678)),h=x(o(89896)),v=x(o(91032)),S=o(60650),w=o(48499);function x(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class P extends a.default{static get componentId(){return"SectionMegaMenu"}static defaultProps={meta:{},rerender:{}};static defaultValue=h.default;static experimentalDynamicContent=!0;mounted=!1;toolbarRef=r.default.createRef();componentDidMount(){this.mounted=!0}shouldUpdateBecauseOfParent(e){return!n.default.isEqual(this.props.rerender,e.rerender)}shouldComponentUpdate(e){return this.optionalSCU(e)||this.shouldUpdateBecauseOfParent(e)}componentWillUnmount(){this.mounted=!1}handleToolbarEscape=()=>{this.toolbarRef.current.show()};getMeta(e){const{meta:t}=this.props,{w:o,wNoSpacing:r}=(0,u.getContainerW)({v:e,w:t.desktopW,wNoSpacing:t.desktopWNoSpacing,device:p.DESKTOP}),{w:i,wNoSpacing:n}=(0,u.getContainerW)({v:e,w:t.tabletW,wNoSpacing:t.tabletWNoSpacing,device:p.TABLET}),{w:a,wNoSpacing:l}=(0,u.getContainerW)({v:e,w:t.mobileW,wNoSpacing:t.mobileWNoSpacing,device:p.TABLET});return{...t,desktopW:o,desktopWNoSpacing:r,tabletW:i,tabletWNoSpacing:n,mobileW:a,mobileWNoSpacing:l}}renderToolbar=e=>r.default.createElement(c.default,{...this.makeToolbarPropsFromConfig2(g,b),ref:this.toolbarRef},r.default.createElement(e,{className:"brz-ed-border__button--row"}));renderItems(e,t,o){const n=this.getMeta(e),a=(0,i.default)("brz-container",e.containerClassName,(0,d.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,S.styleContainer)(e,t,o))),s=this.makeSubcomponentProps({className:a,meta:n,bindWithKey:"items"});return r.default.createElement(l.default,{value:e,meta:n},r.default.createElement(v.default,s))}renderForEdit(e,t,o){const{className:n,customClassName:a,cssClassPopulation:l,customAttributes:u}=e,p=(0,i.default)("brz-mega-menu",n,""===l?a:l,(0,d.css)(`${this.constructor.componentId}-section`,`${this.getId()}-section`,(0,S.styleSection)(e,t,o)));return r.default.createElement(s.default,{type:"mega__menu",color:"grey",activeBorderStyle:"dotted",activateOnContentClick:!1,buttonPosition:"topLeft",renderButtonWrapper:this.renderToolbar},(i=>{let{ref:n,attr:a,button:l,border:s}=i;return r.default.createElement(m.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{ref:n,id:this.getId(),className:p,"data-block-id":this.props.blockId,...(0,w.parseCustomAttributes)(u),...a},r.default.createElement(f.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},r.default.createElement(c.ToolbarExtend,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o)),l,s)))}))}renderForView(e,t,o){const{className:n,tagName:a,customClassName:l,cssIDPopulation:s,cssClassPopulation:c,customAttributes:u,customCSS:p}=e,f=(0,i.default)("brz-mega-menu",n,""===c?l:c,(0,d.css)(`${this.constructor.componentId}-section`,`${this.getId()}-section`,(0,S.styleSection)(e,t,o)));return r.default.createElement(m.default,{selectorName:this.getId(),css:p},r.default.createElement(y.CustomTag,{tagName:a,id:""===s?this.getId():s,className:f,"data-uid":this.getId(),...(0,w.parseCustomAttributes)(u)},this.renderItems(e,t,o)))}}const C=P},91032:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),i=p(o(10787)),n=p(o(49127)),a=p(o(24072)),l=p(o(20013)),s=o(67439),c=o(64985),d=o(39552),u=p(o(96116));function p(e){return e&&e.__esModule?e:{default:e}}class f extends i.default{static get componentId(){return"SectionMegaMenu.Items"}static defaultProps={className:"",meta:{}};getItemProps(e,t){const o={getItems:()=>[{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:(0,c.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:(0,c.t)("Delete"),position:250,onChange:()=>{(0,s.hideToolbar)(),this.removeItem(t)}}]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(o)}}renderItemWrapper(e,t,o){const i=(0,u.default)(o);return r.default.createElement(d.ContextMenuExtend,{key:t,...this.makeContextMenuProps(i)},r.default.createElement(a.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){const{className:t}=this.props;return e.length?r.default.createElement(n.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]},r.default.createElement("div",{className:t},e)):r.default.createElement("div",{className:t},r.default.createElement(l.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]}))}}const m=f},6678:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return a},getItems:function(){return l}});const r=o(81263),i=o(64985),n=o(68256),a=(0,i.t)("Mega Menu");function l(e){let{context:t}=e;const o=[{title:"Div",value:"div"},{title:(0,i.t)("Header"),value:"header"},{title:(0,i.t)("Footer"),value:"footer"},{title:(0,i.t)("Main"),value:"main"},{title:(0,i.t)("Article"),value:"article"},{title:(0,i.t)("Section"),value:"section"},{title:(0,i.t)("Aside"),value:"aside"},{title:(0,i.t)("Nav"),value:"nav"}],a=(0,n.getDynamicContentOption)({options:t.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),position:50,config:{units:["px"]}},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),icon:"nc-cog",devices:"desktop",options:[{id:"showOnDesktop",label:(0,i.t)("Show on Desktop"),position:10,closeTooltip:!0,type:"switch-dev",devices:"desktop"},{id:"cssID",label:(0,i.t)("Block Name"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom block name, example: my-block"},config:a,option:{id:"anchorName",type:"inputText-dev"}},{id:"cssClass",label:(0,i.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:a,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,i.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:a},{id:"hoverTransition",label:(0,i.t)("Hover Transition"),devices:"desktop",position:60,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"tagName",label:(0,i.t)("HTML Tag"),type:"select-dev",devices:"desktop",choices:o}]}]}]}]}]}},60650:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleSection:function(){return i},styleContainer:function(){return n}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleDisplayBlock","cssStyleVisibleMode|||preview","cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]},".brz &&:hover > .brz-bg":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg-content":{standart:["cssStylePaddingFourFields","cssStylePaddingRightLeftForEditor"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleVisibleMode|||editor"],standart:["cssStylePaddingFourFields","cssStylePaddingRightLeftForEditor","cssStyleElementMegaMenuHeight","cssStyleFlexColumnVerticalAlign","cssStyleBorderTransparentColor"]}}})}},49142:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=o(81263),i=o(81405),n=o(64985),a=o(69321),l=o(68256),s=o(24119),c=o(57582);function d(e){let{v:t,device:o,context:d}=e;const u=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:p}=(0,l.getOptionColorHexByPalette)(u("bgColorHex"),u("bgColorPalette")),f=(0,l.getDynamicContentOption)({options:d.dynamicContent.config,type:r.DCTypes.image});return[(0,c.toolbarShowOnResponsive)({v:t,device:o,devices:"responsive",closeTooltip:!0}),{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,n.t)("Background")},position:80,options:[{label:(0,n.t)("Image"),id:"bg",type:"imageUpload-dev",states:[s.NORMAL,s.HOVER],population:f}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,i.hexToRgba)(p,u("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,n.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[s.NORMAL,s.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,n.t)("Settings")},position:110,options:[{id:"groupToolbarContainerTypeAndHeight",type:"group-dev",position:100,options:[{id:"sectionHeightStyle",label:(0,n.t)("Height"),type:"select-dev",choices:[{title:(0,n.t)("Auto"),value:"auto"},{title:(0,n.t)("Custom"),value:"custom"}]},{id:"sectionHeight",type:"slider-dev",disabled:"custom"!==u("sectionHeightStyle"),config:{min:20,max:"px"===u("sectionHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"vh"}]}}]},{id:"verticalAlign",label:(0,n.t)("Content"),type:"radioGroup-dev",devices:"desktop",disabled:"auto"===u("sectionHeightStyle"),position:110,choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},3086:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=o(64985),i={getItems:function(){return[{id:"main",type:"group",title:(0,r.t)("Menu"),icon:"nc-tabs",disabled:(e,t)=>t.isInSubMenu,items:[]}]}}},5085:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return F}});const r=N(o(60042)),i=L(o(27378)),n=o(70634),a=N(o(10301)),l=N(o(17882)),s=N(o(39552)),c=o(66848),d=N(o(36275)),u=N(o(21107)),p=(o(95994),o(73948)),f=o(81504),m=N(o(10787)),y=N(o(63692)),g=N(o(22546)),b=N(o(47075)),h=(o(97045),o(92213)),v=o(94220),S=o(34721),w=o(64985),x=o(69321),M=o(66559),T=o(68934),P=o(86022),C=N(o(3086)),k=N(o(13642)),_=L(o(81981)),O=L(o(40513)),E=o(96835),z=L(o(94452)),B=L(o(32296)),j=o(72599);function N(e){return e&&e.__esModule?e:{default:e}}function I(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(I=function(e){return e?o:t})(e)}function L(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=I(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const D=g.default.get("pro");class F extends y.default{static get componentId(){return"Menu"}static defaultValue=k.default;static experimentalDynamicContent=!0;static defaultProps={extendParentToolbar:a.default.noop,meta:{}};nodeRef=i.default.createRef();mMenu=null;getMeta(e){const{meta:t}=this.props,o=(0,T.styleElementMMenu)({v:e,device:M.DESKTOP}),r=(0,T.styleElementMMenu)({v:e,device:M.TABLET}),i=(0,T.styleElementMMenu)({v:e,device:M.MOBILE}),n="on"===o?f.wInMMenu:t.desktopW,a="on"===o?f.wInMMenu:t.desktopWNoSpacing,l="on"===r?f.wInMMenu:t.tabletW,s="on"===r?f.wInMMenu:t.tabletWNoSpacing,c="on"===i?f.wInMMenu:t.mobileW,d="on"===i?f.wInMMenu:t.mobileWNoSpacing;return{...t,desktopW:n,desktopWNoSpacing:a,tabletW:l,tabletWNoSpacing:s,mobileW:c,mobileWNoSpacing:d}}getDeviceMode(){return(0,h.getStore)().getState().ui.deviceMode}hasMMenu(){const e=this.getValue(),t=this.getDeviceMode();return"on"===(0,T.styleElementMMenu)({v:e,device:t})}componentDidMount(){b.default.on("deviceMode.change",this.handleChange);const e=this.makeToolbarPropsFromConfig2(B,O,{allowExtend:!1,allowExtendFromThirdParty:!0});this.props.extendParentToolbar(e),this.hasMMenu()&&this.initMMenu()}componentWillUpdate(e){let{dbValue:t}=e;const{mMenuPosition:o,menuSelected:r}=this.getValue();(t.menuSelected&&t.menuSelected!==r||t.mMenuPosition&&t.mMenuPosition!==o)&&this.destroyMMenu()}componentDidUpdate(){this.hasMMenu()?this.initMMenu():this.destroyMMenu()}componentWillUnmount(){this.hasMMenu()&&this.destroyMMenu(),b.default.off("deviceMode.change",this.handleChange)}handleChange=()=>{this.forceUpdate()};getNode=()=>this.nodeRef.current;getDefaultValue(){return{...super.getDefaultValue(),symbols:{}}}getDBValue(){const e=g.default.get("menuData");if(0===e.length)return{...this.props.dbValue,items:[]};const{menuSelected:t=null,symbols:o={}}=this.props.dbValue||{},r=t||e[0].id,i=e.find((e=>e.id===r));return i&&0!==i.items.length?(void 0===this.menuItemsCache&&(this.menuItemsCache={}),void 0===this.menuItemsCache[r]&&(this.menuItemsCache[r]=(0,j.normalizeMenuItems)(i.items)),{...this.props.dbValue,menuSelected:r,items:(0,j.symbolsToItems)(this.menuItemsCache[r],o)}):{...this.props.dbValue,items:[]}}handleValueChange(e,t){const{items:o}=e;let{...r}=e;t.patch.items&&(r.symbols={...e.symbols,...(0,j.itemsToSymbols)(o)});const i=this.getDeviceMode(),a=("mMenuPosition",(0,x.defaultValueKey)({key:"mMenuPosition",device:i,state:"normal"}));const l=(t=>(0,x.defaultValueValue)({key:t,device:i,v:e}))(a);if(t.patch[a]){const e={...r,mMenuPosition:l};r=(0,n.merge)(r,e)}super.handleValueChange(r,t)}handleTextChange=e=>{this.patchValue({mMenuTitle:e})};renderMMenuTitle(e){const{mMenuTitle:t,stickyTitle:o}=e,n=(0,r.default)("brz-mm-navbar",{"brz-mm-navbar-sticky":"on"===o});return i.default.createElement("li",{className:n},i.default.createElement("a",{className:"brz-a brz-mm-navbar__title"},i.default.createElement(c.TextEditor,{value:t,onChange:this.handleTextChange})))}renderMenu(e,t,o,n){const{className:a,items:l,menuSelected:s}=e,c=this.hasMMenu()&&!!n,d=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{menuSelected:s,mMenu:c,meta:this.getMeta(e),mods:{[M.DESKTOP]:(0,T.styleElementMenuMode)({v:e,device:M.DESKTOP}),[M.TABLET]:(0,T.styleElementMenuMode)({v:e,device:M.TABLET}),[M.MOBILE]:(0,T.styleElementMenuMode)({v:e,device:M.MOBILE})},getParent:this.getNode,toolbarExtend:this.makeToolbarPropsFromConfig2(z,_,{allowExtend:!1})}}),u=(0,r.default)("brz-menu",{"brz-menu__mmenu":c,"brz-menu--has-dropdown":c&&l.some((e=>{let{value:{items:t}}=e;return t.length}))},"brz-menu__editor",a,(0,v.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,E.styleMenu)(e,t,o)),c&&this.getMMenuClassNames());return i.default.createElement("nav",{id:n,className:u},i.default.createElement("ul",{className:"brz-menu__ul"},c&&this.renderMMenuTitle(e),i.default.createElement(m.default,d)))}renderMMenu(e,t,o){const{menuSelected:r,mMenuPosition:n}=e;return i.default.createElement(i.default.Fragment,null,i.default.createElement(u.default,{key:`${r}-${n}`,node:document.body,className:"brz-ed-mmenu-portal"},i.default.createElement("div",{className:"brz-ed-mmenu-portal__menu brz-d-none"},this.renderMenu(e,t,o,this.getId()))),i.default.createElement("div",{className:"brz-mm-menu__icon",onClick:this.openMMenu},i.default.createElement(p.ThemeIcon,{name:"menu-3",type:"editor"})))}renderErrors(e){const t=g.default.get("menuData");let o;if(0===t.length){const e=g.default.get("urls").dashboardNavMenu;o=i.default.createElement(i.default.Fragment,null,i.default.createElement("a",{className:"brz-a",href:e,target:"_blank",rel:"noopener noreferrer"},(0,w.t)("Create a menu")),(0,w.t)("in your WordPress admin"))}return o||t.find((t=>t.id===e.menuSelected))||(o=(0,w.t)("Select a menu from the element options")),o&&i.default.createElement("div",{className:"brz-menu__error"},o)}renderForEdit(e,t,o){const n=this.renderErrors(e);if(n)return n;const a=(0,r.default)("brz-menu__container",(0,v.css)(`${this.constructor.componentId}-menu`,`${this.getId()}-menu`,(0,E.styleMenuContainer)(e,t,o)));return i.default.createElement(l.default,{exceptions:[".brz-ed-toolbar",".brz-ed-tooltip__content-portal",".brz-ed-sidebar__right",".brz-menu",".brz-menu__container",".brz-ed-fixed",".media-modal",".brz-ed-eyeDropper"],onClickOutside:this.closeMMenu},i.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(s.default,this.makeContextMenuProps(C.default),i.default.createElement(P.Wrapper,this.makeWrapperProps({className:a,ref:this.nodeRef}),this.hasMMenu()?this.renderMMenu(e,t,o):this.renderMenu(e,t,o)))))}renderForView(e,t,o){if(this.renderErrors(e))return null;const{mMenuTitle:n,mMenuPosition:a,stickyTitle:l}=e,s=this.hasMMenu(),c=s?{"data-mmenu-id":`#${this.getId()}`,"data-mmenu-position":`position-${a}`,"data-mmenu-title":n,"data-mmenu-stickytitle":l}:{},u=(0,r.default)("brz-menu__container",(0,v.css)(`${this.constructor.componentId}-menu`,`${this.getId()}-menu`,(0,E.styleMenuContainer)(e,t,o)));return i.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement("div",{className:u,...c},this.renderMenu(e,t,o),s&&i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:"brz-mm-menu__icon"},i.default.createElement(p.ThemeIcon,{name:"menu-3",type:"editor"})),D&&this.renderMenu(e,t,o,this.getId()))))}getMMenu(){return(0,S.applyFilter)("getLibs",{}).MMenu}initMMenu(){const e=this.getMMenu(),{items:t=[],mMenuPosition:o,stickyTitle:r}=this.getValue();if(this.mMenu||!e||0===t.length)return;const i={navbar:{add:!1,sticky:"on"===r},extensions:["theme-dark","pagedim-black","border-full","position-front",`position-${o}`],slidingSubmenus:!1};this.mMenu=new e(`#${this.getId()}`,i,{offCanvas:{menu:{insertSelector:"#brz-ed-root"},page:{wrapIfNeeded:!1,selector:"#brz-ed-root"}}})}destroyMMenu(){this.mMenu&&(this.mMenu.node.menu.remove(),this.mMenu=null)}openMMenu=()=>{const e=this.getMMenu();!this.mMenu&&e&&this.initMMenu();const t=this.mMenu?.API;t&&t.open()};closeMMenu=()=>{const e=this.mMenu?.API;e&&e.close()};getMMenuClassNames(){if(!this.mMenu?.node)return"";let e=[];return this.mMenu.node.menu.classList.forEach((t=>{/brz-mm-menu/.test(t)&&e.push(t)})),e}}},81981:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getItems:function(){return n},getItemsSimple:function(){return a},getItemsMMenu:function(){return l}});const r=o(64985),i=o(69321);function n(e){let{v:t,device:o,state:r}=e;return"on"===(0,i.defaultValueValue)({v:t,device:o,state:r,key:"mMenu"})?l():a()}function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[]}]}]}]},{id:"borderRadiusPicker",type:"group-dev",options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]},{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"menuPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}},{id:"menuBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]}]}]}function l(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"mMenuPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}}]}]}]}},40513:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Menu"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",devices:"desktop",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},96835:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleMenuContainer:function(){return i},styleMenu:function(){return n}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-mm-menu__icon":{interval:["cssStyleElementMenuShowIcon","cssStyleElementMMenuSize","cssStyleElementMMenuIconColor","cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-menu":{interval:["cssStyleElementMenuShow"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-menu__ul":{interval:["cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LineHeight","cssStyleTypography2LetterSpacing","cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"],standart:["cssStyleTypography2FontFamily","cssStyleColor"]},".brz && .brz-menu__ul:not(.brz-mm-listview)":{standart:["cssStyleElementMenuMode","cssStyleElementMenuSize","cssStyleElementMMenuListViewMargin"]},".brz && .brz-menu__ul > .brz-menu__item > .brz-a":{standart:["cssStyleElementMenuIconPosition"]},".brz && .brz-menu__ul > .brz-menu__item > .brz-a:hover":{standart:["cssStyleColor","cssStyleElementMenuLinkBgColor","cssStyleElementMenuPadding"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-menu__ul > .brz-menu__item.brz-menu__item--opened > .brz-a:hover":{standart:["cssStyleElementMenuColor","cssStyleElementMenuLinkBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-menu__ul > .brz-menu__item.brz-menu__item--opened:hover":{standart:["cssStyleElementMenuColor","cssStyleElementMenuBgColor","cssStyleElementMenuBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-menu__ul > .brz-menu__item.brz-menu__item--current:not(.brz-menu__item.brz-menu__item--current:active):hover":{standart:["cssStyleElementMenuCurrentColor","cssStyleElementMenuCurrentBgColor","cssStyleElementMenuCurrentBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-menu__ul > .brz-menu__item.brz-menu__item--current > .brz-a:not(.brz-a:active):hover":{standart:["cssStyleElementMenuCurrentColor","cssStyleElementMenuCurrentLinkBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover > .brz-ed-border":{interval:["cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]},".brz &&:hover .brz-menu__item__icon":{interval:["cssStyleElementMenuIconSize"],standart:["cssStyleElementMenuIconSpacing"]},".brz && .brz-menu__ul > .brz-menu__item:hover":{standart:["cssStyleElementMenuColor","cssStyleElementMenuBgColor","cssStyleElementMenuBorder","cssStyleElementMenuBorderRadius"],interval:["cssStyleElementMMenuItemPadding","cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-menu__ul > .brz-menu__item > a":{standart:["cssStyleElementMenuBorderRadius"]},".brz && .brz-menu__ul > .brz-menu__item:first-child":{interval:["cssStyleElementMMenuItemPaddingTopZero"]},".brz && .brz-menu__ul > .brz-menu__item:last-child":{interval:["cssStyleElementMMenuItemPaddingBottomZero"]},".brz && .brz-mm-menu__item:hover":{interval:["cssStyleElementMMenuFontSize","cssStyleElementMMenuFontWeight","cssStyleElementMMenuLineHeight","cssStyleElementMMenuLetterSpacing","cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"],standart:["cssStyleElementMMenuFontFamily","cssStyleElementMMenuColor","cssStyleElementMMenuBorderColor"]},".brz nav.brz-mm-menu&&":{standart:["cssStyleElementMMenuBackgroundColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&.brz-mm-menu .brz-mm-menu__item .brz-mm-listitem__text":{standart:["cssStyleElementMMenuPadding","cssStyleElementMMenuIconPosition"]},".brz &&:hover .brz-mm-menu__item:hover > .brz-mm-listitem__text":{standart:["cssStyleElementMMenuColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-mm-menu__item .brz-a":{interval:["cssStyleElementMMenuItemHorizontalAlign"]},".brz &&:hover .brz-mm-menu__item__icon":{interval:["cssStyleElementMMenuIconSpacing","cssStyleElementMMenuIconSize"]},".brz && .brz-mm-navbar":{interval:["cssStyleElementMMenuFontFamily","cssStyleElementMMenuFontSize","cssStyleElementMMenuFontWeight","cssStyleElementMMenuLineHeight","cssStyleElementMMenuLetterSpacing","cssStyleElementMMenuBorderColor","cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"],standart:["cssStyleElementMMenuTitleColor"]},".brz &&:hover .brz-mm-menu__item.brz-mm-listitem_opened":{standart:["cssStyleElementMMenuColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover.brz-mm-menu .brz-mm-listitem_vertical .brz-mm-btn_next":{interval:["cssStyleElementMMenuBtnNext"]},".brz &&.brz-mm-menu.brz-mm-menu_theme-dark .brz-mm-panels, .brz &&:hover .brz-mm-panels > .brz-mm-panel:before":{standart:["cssStyleElementMMenuGradientBgColor","cssStyleElementMMenuBackgroundColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&.brz-mm-menu.brz-mm-menu_theme-dark .brz-mm-panels, .brz &&:hover .brz-mm-panels > .brz-mm-panel":{standart:["cssStyleElementMMenuBackgroundColor","cssStyleElementMMenuImageFilter","cssStyleBgImagePosition"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-mm-panels > .brz-mm-panel":{standart:["cssStyleElementMenuHamburgerBgImage"]},".brz &&.brz-mm-menu.brz-mm-menu_theme-dark .brz-mm-navbar.brz-mm-listitem .brz-mm-listitem_opened > .brz-mm-listitem__text:after":{standart:["cssStyleElementMMenuBorderColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-mm-listitem":{standart:["cssStyleElementMMenuBorderColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-mm-menu__item.brz-mm-menu__item--current:not(.brz-mm-menu__item.brz-mm-menu__item--current:active):hover":{standart:["cssStyleElementMMenuActiveColor"]},".brz:hover && .brz-mm-menu__item.brz-mm-menu__item--current:not(brz-mm-menu__item.brz-mm-menu__item--current:active):hover > .brz-mm-listitem__text":{standart:["cssStyleElementMMenuActiveColor"]},".brz && .brz-menu__sub-menu:hover":{interval:["cssStyleElementMenuSubMenuFontSize","cssStyleElementMenuSubMenuFontWeight","cssStyleElementMenuSubMenuLineHeight","cssStyleElementMenuSubMenuLetterSpacing","cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"],standart:["cssStyleElementMenuSubMenuFontFamily","cssStyleElementMenuSubMenuColor","cssStyleElementMenuSubMenuBgColor","cssStyleBoxShadow","cssStyleBorderRadius"]},".brz &&:hover .brz-menu__sub-menu .brz-a":{standart:["cssStyleElementMenuSubMenuIconPosition"]},".brz &&:hover .brz-menu__sub-menu .brz-a:hover":{standart:["cssStyleElementMenuSubMenuColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-menu__sub-item__icon":{standart:["cssStyleElementMenuSubMenuIconSpacing","cssStyleElementMenuSubMenuIconSize"]},".brz &&:hover .brz-menu__dropdown > .brz-menu__item.brz-menu__item--current > .brz-a":{standart:["cssStyleElementMenuSubMenuCurrentColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-menu__dropdown > .brz-menu__item.brz-menu__item--current":{standart:["cssStyleElementMenuSubMenuCurrentBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-menu__dropdown > .brz-menu__item.brz-menu__item--current:hover":{standart:["cssStyleElementMenuSubMenuCurrentBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-menu__item--current .brz-menu__sub-menu":{standart:["cssStyleElementMenuSubMenuCurrentBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-menu__item-dropdown .brz-menu__item:hover":{standart:["cssStyleElementMenuSubMenuBgColor","cssStyleElementMenuSubMenuColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-menu__dropdown .brz-menu__item-dropdown:hover .brz-a:hover:after":{standart:["cssStyleElementMenuSubMenuBorderColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-menu__dropdown > .brz-menu__item":{standart:["cssStyleElementMenuSubMenuBorderBottom"]},".brz && .brz-menu__dropdown":{interval:["cssStyleMenuDropdownPosition"]},".brz && [data-popper-placement='left-start']":{interval:["cssStyleMenuDropdownPositionLeft"]},".brz && [data-popper-placement='right-start']":{interval:["cssStyleMenuDropdownPositionRight"]},".brz &&:hover > .brz-menu__ul > .brz-menu__item-dropdown > .brz-menu__dropdown":{interval:["cssStyleMenuFirstDropdownPosition"]},".brz &&:hover > .brz-menu__ul > .brz-menu__item-dropdown > [data-popper-placement='left-start']":{interval:["cssStyleMenuFirstDropdownPositionLeft"]},".brz &&:hover > .brz-menu__ul > .brz-menu__item-dropdown > [data-popper-placement='right-start']":{interval:["cssStyleMenuFirstDropdownPositionRight"]},".brz &&:hover .brz-menu__item-dropdown .brz-menu__dropdown":{interval:["cssStyleElementMenuDropdown"]},".brz &&:hover .brz-menu__item.brz-menu__item--opened > .brz-menu__dropdown":{interval:["cssStyleElementMenuDropdownOpened"]},".brz &&.brz-menu__preview:hover .brz-menu__item:hover > .brz-menu__sub-menu":{interval:["cssStyleElementMenuDropdownOpened"]},".brz &&:hover .brz-menu__dropdown .brz-menu__item-dropdown > .brz-a:after":{interval:["cssStyleElementMenuDropdownArrow"]},".brz &&:hover .brz-menu__dropdown .brz-menu__item-dropdown .brz-menu__dropdown":{interval:["cssStyleElementMenuInnerDropdown"]},".brz &&:hover .brz-menu__dropdown .brz-menu__item--opened > .brz-menu__dropdown":{interval:["cssStyleElementMenuDropdownInnerOpened"]},".brz &&.brz-menu__preview:hover .brz-menu__dropdown .brz-menu__item:hover > .brz-menu__sub-menu":{interval:["cssStyleElementMenuDropdownInnerOpened"]},".brz && .brz-mega-menu__dropdown":{interval:["cssStyleElementMegaMenuOpened"]},".brz &&.brz-menu__preview:hover .brz-menu__item:hover > .brz-mega-menu__portal":{interval:["cssStyleElementMenuDropdownOpened"]},".brz &&:hover .brz-menu__item-mega-menu .brz-mega-menu__portal":{interval:["cssStyleElementMenuDropdown"]}}})}},94452:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getItems:function(){return d},getItemsSimple:function(){return u},getItemsMMenu:function(){return p}});const r=o(81263),i=o(81405),n=o(64985),a=o(69321),l=o(68256),s=o(66559),c=o(24119);function d(e){let{v:t,device:o,state:r,context:i}=e;return"on"===(0,a.defaultValueValue)({v:t,device:o,state:r,key:"mMenu"})?p({v:t,device:o,state:r,context:i}):u({v:t,device:o,state:r})}function u(e){let{v:t,device:o,state:r}=e;const d=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:r}),{hex:u}=(0,l.getOptionColorHexByPalette)(d("colorHex"),d("colorPalette")),{hex:p}=(0,l.getOptionColorHexByPalette)(d("subMenuColorHex"),d("subMenuColorPalette"));return[{id:"toolbarMenuSettings",type:"popover-dev",config:{icon:"nc-menu-3",title:(0,n.t)("Menu")},position:10,options:[{id:"menuSize",type:"slider-dev",label:(0,n.t)("Size"),position:20,disabled:"horizontal"===d("verticalMode"),config:{min:10,max:100,units:[{title:"%",value:"%"}]}}]},{id:"toolbarMenuItem",type:"popover-dev",config:{icon:"nc-star",title:(0,n.t)("Icon")},position:20,options:[{id:"iconPosition",label:(0,n.t)("Position"),type:"radioGroup-dev",position:10,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"iconSize",type:"slider-dev",label:(0,n.t)("Size"),position:20,config:{min:0,max:100,units:[{title:"px",value:"px"}]}},{id:"iconSpacing",type:"slider-dev",devices:"desktop",label:(0,n.t)("Spacing"),roles:["admin"],position:30,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"subMenuToolbarMenuItem",type:"popover-dev",config:{icon:"nc-star",title:(0,n.t)("Icon")},position:20,options:[{id:"subMenuIconPosition",label:(0,n.t)("Position"),type:"radioGroup-dev",position:10,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"subMenuIconSize",type:"slider-dev",label:(0,n.t)("Size"),position:20,config:{min:0,max:100,units:[{title:"px",value:"px"}]}},{id:"subMenuIconSpacing",type:"slider-dev",devices:"desktop",label:(0,n.t)("Spacing"),roles:["admin"],position:30,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:o===s.DESKTOP?"large":"auto",title:(0,n.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:o===s.DESKTOP}}]},{id:"subMenuToolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:o===s.DESKTOP?"large":"auto",title:(0,n.t)("Typography")},roles:["admin"],position:70,options:[{id:"subMenu",type:"typography-dev",config:{fontFamily:o===s.DESKTOP}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(u,d("colorOpacity"))}}},devices:"desktop",position:80,roles:["admin"],options:[{id:"color",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[c.NORMAL,c.HOVER,c.ACTIVE]}]},{id:"bg",label:(0,n.t)("Bg"),options:[{id:"menuBgColor",type:"colorPicker-dev",states:[c.NORMAL,c.HOVER,c.ACTIVE]}]},{id:"border",label:(0,n.t)("Border"),options:[{id:"menuBorder",type:"border-dev",states:[c.NORMAL,c.HOVER,c.ACTIVE]}]}]}]},{id:"subMenuToolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(p,d("subMenuColorOpacity"))}}},devices:"desktop",position:80,roles:["admin"],options:[{id:"subMenuColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"subMenuColor",type:"colorPicker-dev",states:[c.NORMAL,c.HOVER,c.ACTIVE]}]},{id:"tabBackground",label:(0,n.t)("Bg"),options:[{id:"subMenuBgColor",type:"colorPicker-dev",states:[c.NORMAL,c.HOVER,c.ACTIVE]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"subMenuBorder",type:"border-dev"}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[c.NORMAL,c.HOVER,c.ACTIVE]}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",roles:["admin"],position:110,icon:"nc-cog",title:(0,n.t)("Settings")}]}function p(e){let{v:t,device:o,state:d,context:u}=e;const p=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:d}),{hex:f}=(0,l.getOptionColorHexByPalette)(p("mMenuColorHex"),p("mMenuColorPalette")),m=(0,l.getDynamicContentOption)({options:u.dynamicContent.config,type:r.DCTypes.image});return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,n.t)("Background")},position:10,options:[{id:"toolbarbackgroundTab",type:"tabs-dev",tabs:[{id:"imageFilter",label:(0,n.t)("Image"),options:[{label:(0,n.t)("Image"),id:"bg",type:"imageUpload-dev",population:m}]},{id:"filters",label:(0,n.t)("Filters"),options:[{id:"",type:"filters-dev",states:[c.NORMAL,c.HOVER]}]}]}]},{id:"mMenuToolbarMenuItem",type:"popover-dev",config:{icon:"nc-star",title:(0,n.t)("Icon")},position:20,options:[{id:"mMenuIconPosition",label:(0,n.t)("Position"),type:"radioGroup-dev",position:10,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"mMenuIconSize",type:"slider-dev",label:(0,n.t)("Size"),roles:["admin"],position:20,config:{min:0,max:100,units:[{title:"px",value:"px"}]}},{id:"mMenuIconSpacing",type:"slider-dev",label:(0,n.t)("Spacing"),roles:["admin"],position:30,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"mMenuToolbarTypography",type:"popover-dev",config:{icon:"nc-font",title:(0,n.t)("Typography"),size:o===s.DESKTOP?"large":"auto"},roles:["admin"],position:70,options:[{id:"mMenu",type:"typography-dev",config:{fontFamily:o===s.DESKTOP}}]},{id:"mMenuToolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(f,p("mMenuColorOpacity"))}}},position:80,roles:["admin"],options:[{id:"mMenuColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"mMenuColor",type:"colorPicker-dev",states:[c.NORMAL,c.HOVER,c.ACTIVE]}]},{id:"tabBackground",label:(0,n.t)("Background"),options:[{id:"mMenu",type:"backgroundColor-dev"}]},{id:"border",label:(0,n.t)("Border"),options:[{id:"mMenuBorder",type:"border-dev"}]}]}]},{id:"mMenuItemHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"mMenuAdvancedSettings",type:"advancedSettings",devices:"desktop",roles:["admin"],position:110,icon:"nc-cog",title:(0,n.t)("Settings")}]}},32296:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81405),a=o(64985),l=o(69321),s=o(68256),c=e=>{const{menuData:t}=r.default.getAll();if(0===t.length)return[{title:(0,a.t)("Missing Menus"),value:""}];const o=t.map((e=>{let{id:t,name:o}=e;return{title:o,value:t}}));return o.some((t=>{let{value:o}=t;return o===e}))?o:[{title:(0,a.t)("Select a Menu"),value:""},...o]};function d(e){let{v:t,device:o}=e;const r=e=>(0,l.defaultValueValue)({v:t,key:e,device:o}),i=r("menuSelected"),{hex:d}=(0,s.getOptionColorHexByPalette)(r("mMenuIconColorHex"),r("mMenuIconColorPalette")),u=(0,n.hexToRgba)(d,"desktop"===o?r("mMenuIconColorOpacity"):"tablet"===o?(0,l.tabletSyncOnChange)(t,"mMenuIconColorOpacity"):(0,l.mobileSyncOnChange)(t,"mMenuIconColorOpacity"));return[{id:"toolbarMenu",type:"popover-dev",config:{icon:"nc-menu-3",title:(0,a.t)("Menu")},roles:["admin"],position:10,options:[{id:"menuSelected",type:"select-dev",devices:"desktop",position:10,label:(0,a.t)("Menu"),choices:c(i)},{id:"groupSettings",type:"group-dev",position:20,options:[{id:"mMenu",type:"switch-dev",label:(0,a.t)("Make it Hamburger")},{id:"mMenuSize",type:"slider-dev",label:(0,a.t)("Size"),disabled:"on"!==r("mMenu"),config:{min:8,max:64,units:[{title:"px",value:"px"}]}}]},{id:"verticalMode",label:(0,a.t)("Orientation"),type:"radioGroup-dev",position:30,disabled:"on"===r("mMenu"),choices:[{value:"vertical",icon:"nc-vertical-items"},{value:"horizontal",icon:"nc-horizontal-items"}]},{id:"mMenuPosition",label:(0,a.t)("Drawer Position"),type:"radioGroup-dev",disabled:"off"===r("mMenu"),position:40,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"itemPadding",type:"slider-dev",label:(0,a.t)("Spacing"),roles:["admin"],position:50,disabled:1===t.items.length||"on"===r("mMenu"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"mMenuColors",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Color"),icon:{style:{backgroundColor:u}}},position:20,disabled:"off"===r("mMenu"),options:[{id:"mMenuIconColor",type:"colorPicker-dev"}]}]}},36953:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getParentMegaMenuUid",{enumerable:!0,get:function(){return o}});const o=e=>e.closest(".brz-mega-menu__portal")?.getAttribute("data-mega-menu-uid")??void 0},72599:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{normalizeMenuItems:function(){return s},symbolsToItems:function(){return c},itemsToSymbols:function(){return d}});const r=a(o(13556)),i=a(o(10301)),n=o(16526);function a(e){return e&&e.__esModule?e:{default:e}}const l=["id","itemId","title","url","target","items","megaMenuItems","attrTitle","classes","current"];function s(e){return(0,n.setIds)((0,n.mapModels)((e=>{let{type:t,value:o}=e;return{type:t,value:i.default.pick(o,l)}}),e))}function c(e,t){return e.map((e=>(0,r.default)(e,(o=>{if(Object.assign(o.value,t[e.value.id]),!o.value.megaMenuItems){const e=(0,n.setIds)({type:"SectionMegaMenu",value:{items:[]}});o.value.megaMenuItems=[e]}o.value.items=c(e.value.items,t)}))))}function d(e){return e.reduce(((e,t)=>({...e,[t.value.id]:i.default.omit(t.value,[...l.filter((e=>"megaMenuItems"!==e)),"_id"]),...t.value.items.length>0?d(t.value.items):{}})),{})}},20647:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=m(o(27378)),i=m(o(60042)),n=m(o(63692)),a=m(o(67439)),l=o(64187),s=m(o(90604)),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(88112)),d=m(o(73244)),u=o(10834),p=o(94220),f=o(8704);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}class g extends n.default{static get componentId(){return"WPNavigation"}static defaultValue=d.default;state={menus:[]};componentDidMount(){(0,l.getMenus)().then((e=>{this.setState({menus:e}),""===this.getValue().menuName&&e.length>0&&this.patchValue({menuName:e[0].slug})}))}renderForEdit(e,t,o){const n=(0,i.default)("brz-menu-simple",(0,p.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,u.style)(e,t,o))),{tabletToggleMenu:l,mobileToggleMenu:d}=e,m=(0,s.default)(this.state.menus);let y=r.default.createElement(f.DynamicContentHelper,{placeholder:`{{editor_navigation name="${e.menuName}"}}`,tagName:"div"});if("on"===l||"on"===d){const e=(0,i.default)("brz-menu-simple__toggle",{"brz-menu-simple__toggle--tablet":"on"===l,"brz-menu-simple__toggle--mobile":"on"===d}),t=`brz-menu-simple__btn-${this.getId().slice(0,5)}`;y=r.default.createElement("div",{className:e},r.default.createElement("input",{className:"brz-input",id:t,type:"checkbox"}),r.default.createElement("label",{className:"brz-menu-simple__icon",htmlFor:t},r.default.createElement("span",{className:"brz-menu-simple__icon--bars"})),y)}return r.default.createElement(a.default,this.makeToolbarPropsFromConfig2(m,c),r.default.createElement("div",{className:n},y))}}},88112:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Menu");function i(){return[]}},10834:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementMenuSimpleWidth"]},".brz &&:hover .menu":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"],interval:["cssStyleHoverTransition"]},".brz && .menu .menu-item a:hover":{standart:["cssStyleColor"]},".brz &&:hover .menu .menu-item.current-menu-item > a":{standart:["cssStyleElementMenuSimpleActiveColor"]},".brz &&:hover .menu .menu-item:first-child > a":{standart:["cssStyleElementMenuSimpleActiveColor"]},".brz &&:hover .menu > .menu-item:not(:last-child)":{standart:["cssStyleElementMenuSimpleItemPadding"]},".brz &&:hover .brz-menu-simple__icon--bars":{standart:["cssStyleElementMenuSimpleColorBars","cssStyleColor"]}}})}},90604:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{const t=e.map((e=>({title:e.name,value:e.slug})));return{getItems:c(t)}},c=e=>t=>{let{v:o,device:s}=t;const c=e=>(0,n.defaultValueValue)({v:o,key:e,device:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("colorHex"),c("colorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",position:60,config:{icon:"nc-menu-3"},options:[{id:"toggleMenu",type:"switch-dev",label:(0,i.t)("Toggle Menu"),devices:"responsive"},{id:"menuName",label:(0,i.t)("Menu"),devices:"desktop",type:"select-dev",choices:e},{id:"itemPadding",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===s?"large":"auto",title:(0,i.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===s}}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("colorOpacity"))}}},roles:["admin"],position:80,devices:"desktop",options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,i.t)("More Settings"),devices:"desktop",icon:"nc-cog",position:150}]}},11185:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsEventCalendar",{enumerable:!0,get:function(){return P}});const r=x(o(60042)),i=x(o(27378)),n=x(o(67439)),a=x(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=x(o(21223)),u=T(o(36638)),p=T(o(74266)),f=o(36841),m=T(o(21364)),y=T(o(90269)),g=T(o(72642)),b=T(o(40473)),h=T(o(1830)),v=T(o(72474)),S=T(o(21831)),w=o(35229);function x(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class P extends a.default{static get componentId(){return"MinistryBrandsEventCalendar"}static defaultValue=d.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(b,u,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-eventCalendar__wrapper",(0,c.css)(this.getComponentId(),this.getId(),(0,f.style)(e,t,o)));return i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(h,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-pagination"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-day"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(S,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-row-weekdays"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(y,p),selector:".brz-eventCalendar-day-number span"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-day-np"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(v,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-links"},i.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),i.default.createElement(l.DynamicContentHelper,{placeholder:(0,w.getPlaceholder)(e),props:{className:"brz-ministryBrands brz-eventCalendar"},blocked:!1,tagName:"div"}))))))))}}},36638:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(16526),l=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,n.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,n.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),options:[{id:"hoverTransition",label:(0,n.t)("Hover Transition"),disabled:(0,a.isStory)(r.default.getAll()),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,n.t)("Padding"),devices:"responsive",position:50}]}]}]},74266:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"padding",type:"padding-dev",disabled:!0},{id:"dayBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]},36841:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-ministryBrands.brz-eventCalendar":{standart:["cssStylePaddingBG","cssStyleBorderRadius","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleElementMinistryEventCalendarTableSpacing"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-eventCalendar-table":{standart:["cssStyleElementMinistryEventCalendarTableSpacing"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-row:nth-child(even) td:hover":{standart:["cssStyleElementMinistryEventCalendarEvenBgColor","cssStyleElementMinistryEventCalendarEvenBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-row:nth-child(odd):hover":{standart:["cssStyleElementMinistryEventCalendarOddBgColor","cssStyleElementMinistryEventCalendarOddBgGradient"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-eventCalendar-row-weekdays th":{standart:["cssStyleElementMinistryEventCalendarWeekdaysAlign"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-row-weekdays tr:not(:first-child) th:hover":{standart:["cssStyleElementMinistryEventCalendarTableBorder"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-row td:hover":{standart:["cssStyleElementMinistryEventCalendarTableBorder"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-pagination:hover":{standart:["cssStyleElementOfMinistryBrandsPaginationTypography","cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementMinistryEventCalendarPaginationAlign"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-pagination .brz-eventCalendar-heading":{standart:["cssStyleElementMinistryEventCalendarPaginationRight","cssStyleElementMinistryEventCalendarPaginationLeft"]},".brz && tr.brz-eventCalendar-row-weekdays th span:hover":{standart:["cssStyleElementMinistryEventCalendarWeekdaysTypography","cssStyleElementMinistryEventCalendarWeekdaysColor","cssStyleElementMinistryEventCalendarWeekdaysAlign"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-day:hover .brz-eventCalendar-day-number":{standart:["cssStyleElementMinistryEventCalendarDayAlign"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-day:hover .brz-eventCalendar-day-number span":{standart:["cssStyleElementMinistryEventCalendarDayTypography","cssStyleElementMinistryEventCalendarDayColor","cssStyleElementMinistryEventCalendarDayWidth","cssStyleElementMinistryEventCalendarDayHeight","cssStyleElementMinistryEventCalendarDayBgColor","cssStyleElementMinistryEventCalendarDayBgGradient","cssStyleElementMinistryEventCalendarDayBorder","cssStyleElementMinistryEventCalendarDayBorderRadius","cssStyleElementMinistryEventCalendarDayBoxShadow"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-links":{standart:["cssStyleElementMinistryEventCalendarTitleAlign"]},".brz && .brz-eventCalendar-links li .brz-eventCalendar-title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleTypography","cssStyleElementOfMinistryBrandsTitleColor"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-eventCalendar-day-np":{standart:["cssStyleElementMinistryEventCalendarTableBorder","cssStyleElementMinistryEventCalendarEmptyBgColor","cssStyleElementMinistryEventCalendarEmptyBgGradient"],interval:["cssStyleHoverTransition"]}}})}},21364:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("tableBorderColorHex"),s("tableBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("tableBorderColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabEvenBg",label:(0,i.t)("Even Bg"),options:[{id:"even",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabOddBg",label:(0,i.t)("Odd Bg"),options:[{id:"odd",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"tableBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},90269:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("dayColorHex"),s("dayColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"dayTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("dayColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"dayColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"day",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"dayBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabShadow",label:(0,i.t)("Shadow"),options:[{id:"dayBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"dayHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"dayWidth",label:(0,i.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"dayHeight",label:(0,i.t)("Height"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},72642:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("emptyBgColorHex"),s("emptyBgColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("emptyBgColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"empty",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]}]}},40473:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(41493),l=o(78407),s=e=>{let{v:t,device:o,state:i,context:s,component:c}=e;const d=r.default.getAll(),{apiUrl:u}=d.modules?.ekklesia??{},{getSourceChoices:p}=d.api?.sourceTypes??{};return[{id:"toolbarEventDetail",type:"popover-dev",config:{icon:"t2-event-calendar",title:(0,n.t)("Event Calendar")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",devices:"desktop",tabs:[{id:"tabSettings",label:(0,n.t)("Settings"),options:[{id:"category",label:(0,n.t)("Category"),type:"select-dev",choices:(0,l.getEkklesiaChoiches)({key:"event",url:u})},{id:"group",label:(0,n.t)("Group"),type:"select-dev",choices:(0,l.getEkklesiaChoiches)({key:"groups",url:u})},{id:"numberOfMonths",label:(0,n.t)("Number of months"),type:"number-dev",config:{min:1,max:12,spinner:!0}}]},{id:"page",label:(0,n.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,n.t)("Type"),devices:"desktop",choices:p?.()??[],config:{size:"large"},helper:{content:(0,n.t)("URL of event detail page. If used will add a link to the calendar titles to take the user to the event detail page. Requires the 'Event Detail' widget to be placed on a page and that page url/slug placed in this field.")}},{id:"detailPage",type:"internalLink-dev",label:(0,n.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}}]},{id:"tabEventDetail",label:(0,n.t)("Display"),options:[{id:"features",type:"switch-dev",label:(0,n.t)("Features"),helper:{content:(0,n.t)("If this is selected the No featured option does not apply.")}},{id:"nonfeatures",type:"switch-dev",label:(0,n.t)("No featured"),helper:{content:(0,n.t)("If this is selected the Features option does not apply.")}}]},{id:"tabEventSpacing",label:(0,n.t)("Between"),options:[{id:"borderSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}]},...(0,a.toolbarParentColors)({v:t,device:o,state:i,context:s,component:c}),{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]}]}},1830:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("paginationColorHex"),s("paginationColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"paginationTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("paginationColorOpacity"))}}},position:20,options:[{id:"paginationColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"paginationHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"paginationSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}}]}]}},72474:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("titleColorHex"),s("titleColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"titleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("titleColorOpacity"))}}},position:20,options:[{id:"titleColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"titleHorizontalAlign",type:"toggle-dev",devices:"desktop",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},21831:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("weekdaysColorHex"),s("weekdaysColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"weekdaysTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("weekdaysColorOpacity"))}}},position:20,options:[{id:"weekdaysColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"weekdaysHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},35229:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getPlaceholder:function(){return i},addContentEventListener:function(){return n}});const r=o(78407),i=e=>{const{category:t,group:o,numberOfMonths:i,features:n,nonfeatures:a,detailPage:l}=e;return`{{ekk_event_calendar\n category='${t}'\n group='${o}'\n ${(0,r.getFeatures)(n,"features")}\n ${(0,r.getFeatures)(a,"nonfeatures")}\n howmanymonths='${i}'\n detail_page='${(0,r.getDetail)(l)}'\n }}`},n=e=>{let{wrapper:t}=e;const o=Array.from(t.querySelectorAll(".brz-eventCalendar-month")),i="active";o.forEach(((e,t)=>{const n=e.querySelector(".brz-eventCalendar-pagination > .brz-eventCalendar-pagination-previous"),a=e.querySelector(".brz-eventCalendar-pagination > .brz-eventCalendar-pagination-next");0===t&&(e?.classList.add(i),n?.classList.add("off")),t===o.length-1&&a?.classList.add("off"),n?.addEventListener("click",(e=>{e.preventDefault(),(0,r.changeContentVisibility)({items:o,activeClassName:i,direction:"prev"})})),a?.addEventListener("click",(e=>{e.preventDefault(),(0,r.changeContentVisibility)({items:o,activeClassName:i,direction:"next"})}))}))}},40866:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsEventDetail",{enumerable:!0,get:function(){return P}});const r=x(o(60042)),i=x(o(27378)),n=x(o(67439)),a=x(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=T(o(65918)),u=T(o(63786)),p=T(o(89330)),f=T(o(42938)),m=T(o(74765)),y=T(o(8981)),g=T(o(75545)),b=T(o(58306)),h=x(o(95763)),v=o(97137),S=T(o(31099)),w=o(81044);function x(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class P extends a.default{static get componentId(){return"MinistryBrandsEventDetail"}static defaultValue=h.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(S,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-eventDetail__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,v.style)(e,t,o)));return i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(b,void 0,{allowExtend:!1}),selector:".brz-eventDetail__item--meta--title"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-eventDetail__item--meta--date"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-eventDetail__item :not(.brz-eventDetail__item--meta--preview, .brz-ministryBrands__item--meta--button) a"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--button"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-eventDetail__item--meta"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--links--previous"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-eventDetail__item--meta--preview *:not(:is(:has(a),a))"},i.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),i.default.createElement(l.DynamicContentHelper,{placeholder:(0,w.getPlaceholder)(e),props:{className:"brz-eventDetail"},blocked:!1,tagName:"div"})))))))))}}},97137:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-eventDetail:hover":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-eventDetail__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && :is(.brz-eventDetail__item--meta,.brz-eventDetail__item--meta--container):hover":{standart:["getAllCssStyleTypography"],interval:["cssStyleHoverTransition"]},".brz && :is(.brz-eventDetail__item--meta, .brz-eventDetail__item--meta > *:not(a)):hover":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventDetail__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventDetail__item--meta--date:hover":{standart:["cssStyleElementOfMinistryBrandsDateTypography","cssStyleElementOfMinistryBrandsDateColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--button:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--button a:hover":{standart:["cssStyleElementMinistryBrandsButtonsColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--links--previous:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover :is(.brz-eventDetail__item, .brz-eventDetail__item--meta--preview) > *:not(:last-child)":{standart:["cssStyleElementOfMinistryBrandsSpacing"]},".brz &&:hover .brz-eventDetail__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && .brz-eventDetail__item--meta--preview *:not(a):hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventDetail__item :not(.brz-eventDetail__item--meta--preview, .brz-ministryBrands__item--meta--button) a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]}}})}},31099:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(41493),l=o(78407),s=e=>{let{v:t,device:o,state:i,component:s,context:c}=e;const{apiUrl:d}=r.default.getAll()?.modules?.ekklesia??{};return[{id:"toolbarEventDetail",type:"popover-dev",config:{icon:"t2-event-detail",title:(0,n.t)("Event Detail")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,n.t)("Settings"),options:[{id:"recentEvents",devices:"desktop",label:(0,n.t)("Recent Events"),type:"select-dev",choices:(0,l.getEkklesiaChoiches)({key:"events",url:d}),helper:{content:(0,n.t)("Select a recent event as an example to style/setup. Since this is the events detail landing page this event will be replaced with the linked event.")}}]},{id:"tabEventDetail",label:(0,n.t)("Display"),options:[{id:"showImage",type:"switch-dev",devices:"desktop",label:(0,n.t)("Image")},{id:"showTitle",type:"switch-dev",devices:"desktop",label:(0,n.t)("Title")},{id:"showDate",type:"switch-dev",devices:"desktop",label:(0,n.t)("Date")},{id:"showCategory",type:"switch-dev",devices:"desktop",label:(0,n.t)("Category")},{id:"showGroup",type:"switch-dev",devices:"desktop",label:(0,n.t)("Group")},{id:"showMetaHeadings",type:"switch-dev",devices:"desktop",label:(0,n.t)("Meta Headings")},{id:"showLocation",type:"switch-dev",devices:"desktop",label:(0,n.t)("Location")},{id:"showRoom",type:"switch-dev",devices:"desktop",label:(0,n.t)("Room")},{id:"showCoordinator",type:"switch-dev",devices:"desktop",label:(0,n.t)("Coordinator")},{id:"showCoordinatorEmail",type:"switch-dev",devices:"desktop",label:(0,n.t)("Coordinator Email")},{id:"showCoordinatorPhone",type:"switch-dev",devices:"desktop",label:(0,n.t)("Coordinator Phone")},{id:"showCost",type:"switch-dev",devices:"desktop",label:(0,n.t)("Cost")},{id:"showWebsite",type:"switch-dev",devices:"desktop",label:(0,n.t)("Website")},{id:"showRegistration",type:"switch-dev",devices:"desktop",label:(0,n.t)("Registration")},{id:"showDescription",type:"switch-dev",devices:"desktop",label:(0,n.t)("Description")},{id:"showPreviousPage",type:"switch-dev",devices:"desktop",label:(0,n.t)("Previous Page")}]}]}]},...(0,a.toolbarParentColors)({v:t,device:o,state:i,component:s,context:c}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},81044:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(78407),i=e=>{const{showImage:t,showTitle:o,showDate:i,showCategory:n,showGroup:a,showMetaHeadings:l,showLocation:s,showRoom:c,showCoordinator:d,showCoordinatorEmail:u,showCoordinatorPhone:p,showCost:f,showWebsite:m,showRegistration:y,showDescription:g,recentEvents:b,showPreviousPage:h}=e;return`{{ekk_event_detail \n ${(0,r.getAttr)(t,"show_image")}\n ${(0,r.getAttr)(o,"show_title")}\n ${(0,r.getAttr)(i,"show_date")}\n ${(0,r.getAttr)(n,"show_category")}\n ${(0,r.getAttr)(a,"show_group")}\n ${(0,r.getAttr)(l,"show_meta_headings")}\n ${(0,r.getAttr)(s,"show_location")}\n ${(0,r.getAttr)(c,"show_room")}\n ${(0,r.getAttr)(d,"show_coordinator")}\n ${(0,r.getAttr)(u,"show_coordinator_email")}\n ${(0,r.getAttr)(p,"show_coordinator_phone")}\n ${(0,r.getAttr)(f,"show_cost")}\n ${(0,r.getAttr)(m,"show_website")}\n ${(0,r.getAttr)(y,"show_registration")}\n ${(0,r.getAttr)(g,"show_description")}\n ${(0,r.getAttr)(h,"previous_page")}\n events_recent='${b}'\n }}`}},84621:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsEventFeatured",{enumerable:!0,get:function(){return P}});const r=x(o(60042)),i=x(o(27378)),n=x(o(67439)),a=x(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=T(o(65918)),u=T(o(63786)),p=T(o(89330)),f=T(o(42938)),m=T(o(8981)),y=T(o(75545)),g=T(o(8382)),b=T(o(58306)),h=x(o(56715)),v=o(20682),S=T(o(79501)),w=o(93179);function x(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class P extends a.default{static get componentId(){return"MinistryBrandsEventFeatured"}static defaultValue=h.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(S,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-eventFeatured__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,v.style)(e,t,o)));return i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(b,void 0,{allowExtend:!1}),selector:".brz-eventFeatured__item--meta--title"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-eventFeatured__item--meta--date"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:":is(.brz-eventFeatured__item--meta--link, .brz-eventFeatured__item--meta--preview) a"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-eventFeatured__item--meta"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--button"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--register-button"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-eventFeatured__item--meta--preview *:not(:is(:has(a),a))"},i.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),i.default.createElement(l.DynamicContentHelper,{placeholder:(0,w.getPlaceholder)(e),props:{className:"brz-eventFeatured"},blocked:!1,tagName:"div"})))))))))}}},20682:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-eventFeatured":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-eventFeatured__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-eventFeatured__item--meta:hover":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && :is(.brz-eventFeatured__item--meta, .brz-eventFeatured__item--meta--link):hover":{standart:["getAllCssStyleTypography"]},".brz && .brz-eventFeatured__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventFeatured__item--meta--date:hover":{standart:["cssStyleElementOfMinistryBrandsDateTypography","cssStyleElementOfMinistryBrandsDateColor"],interval:["cssStyleHoverTransition"]},".brz &&:hover :is(.brz-eventFeatured__item, .brz-eventFeatured__item--meta--preview) > *":{standart:["cssStyleElementOfMinistryBrandsSpacing"]},".brz &&:hover .brz-eventFeatured__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && :is(.brz-eventFeatured__item--meta--preview, .brz-eventFeatured__item--meta--preview *):hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography"],interval:["cssStyleHoverTransition"]},".brz && :is(.brz-eventFeatured__item--meta--preview, .brz-eventFeatured__item--meta--preview *:not(a)):hover":{standart:["cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition"]},".brz && :is(.brz-eventFeatured__item--meta--link,.brz-eventFeatured__item--meta--preview) a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__item--meta--button:hover":{standart:["cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder","cssStyleElementMinistryBrandsButtonsColor","cssStyleElementMinistryBrandsButtonsTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--register-button:hover":{standart:["cssStyleElementMinistryBrandsRegisterButtonBgColor","cssStyleElementMinistryBrandsRegisterButtonBgGradient","cssStyleElementMinistryBrandsRegisterButtonBoxShadow","cssStyleElementMinistryBrandsRegisterButtonBorder","cssStyleElementMinistryBrandsRegisterButtonColor","cssStyleElementMinistryBrandsRegisterButtonTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},79501:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(69321),l=o(41493),s=o(78407),c=e=>{let{v:t,state:o,component:i,context:c,device:d}=e;const u=r.default.getAll(),{apiUrl:p}=u.modules?.ekklesia??{},{getSourceChoices:f}=u.api?.sourceTypes??{},m=e=>(0,a.defaultValueValue)({v:t,key:e,device:d}),y="on"===m("showLatestEvents");return[{id:"toolbarEventFeatured",type:"popover-dev",config:{icon:"t2-event-featured",title:(0,n.t)("Event Featured")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,n.t)("Settings"),options:[{id:"showLatestEvents",type:"switch-dev",devices:"desktop",label:(0,n.t)("Show Latest"),helper:{content:(0,n.t)("This option automatically shows the latest event and overrides the 'Recent Events' and 'Event Slug' options.")}},{id:"category",devices:"desktop",label:(0,n.t)("Category"),type:"select-dev",disabled:!y,choices:(0,s.getEkklesiaChoiches)({key:"event",url:p}),helper:{content:(0,n.t)("This option only applies to 'Show Latest'.")}},{id:"group",devices:"desktop",label:(0,n.t)("Group"),type:"select-dev",disabled:!y,choices:(0,s.getEkklesiaChoiches)({key:"groups",url:p}),helper:{content:(0,n.t)("This option only applies to 'Show Latest'.")}},{id:"recentEvents",devices:"desktop",label:(0,n.t)("Recent Events"),type:"select-dev",disabled:y||""!==m("eventSlug"),choices:(0,s.getEkklesiaChoiches)({key:"events",url:p}),helper:{content:(0,n.t)('Select a recent event. Use only if you are not using "Event Slug" below and "Show Latest" is set to "Off".')}},{id:"features",type:"switch-dev",devices:"desktop",label:(0,n.t)("Features"),disabled:!y||"on"===m("nonfeatures"),helper:{content:(0,n.t)("This option only applies to 'Show Latest' and if this is selected the 'No featured' option does not apply.")}},{id:"nonfeatures",type:"switch-dev",devices:"desktop",label:(0,n.t)("No featured"),disabled:!y||"on"===m("features"),helper:{content:(0,n.t)("This option only applies to 'Show Latest' and if this is selected the 'Featured' option does not apply.")}},{id:"eventSlug",type:"inputText-dev",devices:"desktop",placeholder:(0,n.t)("Slug..."),disabled:y,label:(0,n.t)("Slug"),helper:{content:(0,n.t)('Slug of event (my-event-name). Use only if you are not selecting from the "Recent Events" above and "Show Latest" is set to "Off".')}}]},{id:"tabEventFeatured",label:(0,n.t)("Display"),options:[{id:"showImage",type:"switch-dev",devices:"desktop",label:(0,n.t)("Image")},{id:"showTitle",type:"switch-dev",devices:"desktop",label:(0,n.t)("Title")},{id:"showDate",type:"switch-dev",devices:"desktop",label:(0,n.t)("Date")},{id:"showCategory",type:"switch-dev",devices:"desktop",label:(0,n.t)("Category")},{id:"showGroup",type:"switch-dev",devices:"desktop",label:(0,n.t)("Group")},{id:"showMetaHeadings",type:"switch-dev",devices:"desktop",label:(0,n.t)("Meta Headings")},{id:"showLocation",type:"switch-dev",devices:"desktop",label:(0,n.t)("Location")},{id:"showRoom",type:"switch-dev",devices:"desktop",label:(0,n.t)("Room")},{id:"showCoordinator",type:"switch-dev",devices:"desktop",label:(0,n.t)("Coordinator")},{id:"showCoordinatorEmail",type:"switch-dev",devices:"desktop",label:(0,n.t)("Coordinator Email")},{id:"showCoordinatorPhone",type:"switch-dev",devices:"desktop",label:(0,n.t)("Coordinator Phone")},{id:"showCost",type:"switch-dev",devices:"desktop",label:(0,n.t)("Cost")},{id:"showWebsite",type:"switch-dev",devices:"desktop",label:(0,n.t)("Website")},{id:"showRegistration",type:"switch-dev",devices:"desktop",label:(0,n.t)("Registration")},{id:"showDescription",type:"switch-dev",devices:"desktop",label:(0,n.t)("Description")},{id:"showPreview",type:"switch-dev",devices:"desktop",label:(0,n.t)("Preview")}]},{id:"page",label:(0,n.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,n.t)("Type"),devices:"desktop",choices:f?.()??[],config:{size:"large"},helper:{content:(0,n.t)('URL of event detail page. If used a link to the heading and an image will be added to take the user to the event detail page. Requires the "Event Detail" widget to be placed on a page and that page url/slug placed in this field .')}},{id:"detailPage",type:"internalLink-dev",label:(0,n.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButtonText",type:"inputText-dev",devices:"desktop",placeholder:(0,n.t)("Button Text..."),label:(0,n.t)("Button"),disabled:!m("detailPage"),helper:{content:(0,n.t)("Button will display if text is entered and a detail page selected.")}}]}]}]},...(0,l.toolbarParentColors)({v:t,device:d,state:o,component:i,context:c}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},93179:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(78407),i=e=>{const{showImage:t,showTitle:o,showDate:i,showCategory:n,showGroup:a,showMetaHeadings:l,showLocation:s,showRoom:c,showCoordinator:d,showCoordinatorEmail:u,showCoordinatorPhone:p,showCost:f,showWebsite:m,showRegistration:y,showDescription:g,showLatestEvents:b,recentEvents:h,eventSlug:v,category:S,group:w,features:x,nonfeatures:M,showPreview:T,detailPageButtonText:P,detailPage:C}=e,k=(0,r.getDetail)(C),_=(0,r.getAttr)(t,"show_image"),O=(0,r.getAttr)(o,"show_title"),E=(0,r.getAttr)(i,"show_date"),z=(0,r.getAttr)(n,"show_category"),B=(0,r.getAttr)(a,"show_group"),j=(0,r.getAttr)(l,"show_meta_headings"),N=(0,r.getAttr)(s,"show_location"),I=(0,r.getAttr)(c,"show_room"),L=(0,r.getAttr)(d,"show_coordinator"),D=(0,r.getAttr)(u,"show_coordinator_email"),F=(0,r.getAttr)(p,"show_coordinator_phone"),A=(0,r.getAttr)(f,"show_cost"),R=(0,r.getAttr)(m,"show_website"),W=(0,r.getAttr)(y,"show_registration"),H=(0,r.getAttr)(g,"show_description"),V=(0,r.getAttr)(T,"show_preview");return`{{ekk_event_featured \n category='${S}'\n group='${w}'\n recentEvents='${h}'\n ${(0,r.getAttr)(b,"show_latest_events")}\n event_slug='${v}'\n ${(0,r.getFeatures)(x,"features")}\n ${(0,r.getFeatures)(M,"nonfeatures")}\n ${_}\n ${O}\n ${E}\n ${z}\n ${B}\n ${j}\n ${N}\n ${I}\n ${L}\n ${D}\n ${F}\n ${A}\n ${R}\n ${W}\n ${H}\n ${V}\n detail_page_button_text='${P}'\n detail_page='${k}'\n }}`}},63530:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("calendarDaysColorHex"),s("calendarDaysColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"calendarDaysTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("calendarDaysColorOpacity"))}}},position:80,options:[{id:"colorTabs",type:"tabs-dev",tabs:[{id:"tabColor",label:(0,i.t)("Text"),options:[{id:"calendarDaysColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,i.t)("Background"),options:[{id:"calendarDays",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"calendarDaysBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},40878:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("calendarHeadingColorHex"),s("calendarHeadingColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"calendarHeadingTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("calendarHeadingColorOpacity"))}}},position:80,options:[{id:"calendarHeadingColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},54370:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsEventLayout",{enumerable:!0,get:function(){return z}});const r=_(o(60042)),i=_(o(27378)),n=_(o(67439)),a=_(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=E(o(65918)),u=E(o(86404)),p=E(o(63786)),f=E(o(95663)),m=E(o(75545)),y=E(o(58306)),g=E(o(63530)),b=E(o(40878)),h=_(o(51818)),v=E(o(72249)),S=E(o(48134)),w=E(o(21582)),x=E(o(33517)),M=E(o(511)),T=o(21158),P=E(o(80919)),C=E(o(38522)),k=o(18745);function _(e){return e&&e.__esModule?e:{default:e}}function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(O=function(e){return e?o:t})(e)}function E(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=O(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class z extends a.default{static get componentId(){return"MinistryBrandsEventLayout"}static defaultValue=h.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(C,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-eventLayout__wrapper",(0,c.css)(this.getComponentId(),this.getId(),(0,T.style)(e,t,o)));return i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(P,void 0,{allowExtend:!1}),selector:".brz-eventLayout--view"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(f,u,{allowExtend:!1}),selector:".brz-eventLayout--filters"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-eventLayout--featured__item-title"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-eventLayout--featured__item p"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-eventLayout--featured__preview"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(x,void 0,{allowExtend:!1}),selector:".brz-eventLayout__pagination"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(M,void 0,{allowExtend:!1}),selector:".brz-eventLayout--list-item__title"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(w,void 0,{allowExtend:!1}),selector:".brz-eventLayout--list-item__content-date"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(S,void 0,{allowExtend:!1}),selector:".brz-eventLayout--list-item__content__heading"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(v,void 0,{allowExtend:!1}),selector:".brz-eventLayout--list-item__content__meta"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(b,void 0,{allowExtend:!1}),selector:".brz-eventLayout--calendar-heading th"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-eventLayout--calendar-day"},i.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),i.default.createElement(l.DynamicContentHelper,{placeholder:(0,k.getPlaceholder)(e),props:{className:"brz-ministryBrands brz-eventLayout"},blocked:!1,tagName:"div"}))))))))))))))}}},72249:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("listItemMetaColorHex"),s("listItemMetaColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"listItemMetaTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("listItemMetaColorOpacity"))}}},position:80,options:[{id:"listItemMetaColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},48134:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("listItemTitleColorHex"),s("listItemTitleColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"listItemTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("listItemTitleColorOpacity"))}}},position:80,options:[{id:"listItemTitleColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},21582:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("listItemDateColorHex"),s("listItemDateColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"listItemDateTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("listItemDateColorOpacity"))}}},position:80,options:[{id:"colorTabs",type:"tabs-dev",tabs:[{id:"tabColor",label:(0,i.t)("Text"),options:[{id:"listItemDateColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Background"),options:[{id:"listItemDate",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},33517:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("listPaginationColorHex"),s("listPaginationColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"listPaginationTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("listPaginationColorOpacity"))}}},position:80,options:[{id:"listPaginationColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[{id:"listPaginationSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},511:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("listTitleColorHex"),s("listTitleColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"listTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("listTitleColorOpacity"))}}},position:80,options:[{id:"colorTabs",type:"tabs-dev",tabs:[{id:"tabColor",label:(0,i.t)("Text"),options:[{id:"listTitleColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"listBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},21158:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-eventLayout":{standart:["cssStylePaddingBG","cssStyleBorderRadius","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout iframe, .brz && .brz-eventLayout video, .brz && .brz-eventLayout img, .brz && .brz-eventLayout--featured__preview":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && .brz-eventLayout--featured":{standart:["cssStyleElementOfMinistryBrandsColumnsNumberWithSpacing"]},".brz && .brz-eventLayout--featured__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-eventLayout--view li:hover:not(.brz-eventLayout--view-active)":{standart:["cssStyleElementEventLayoutViewTypography","cssStyleElementEventLayoutViewBgColor","cssStyleElementEventLayoutViewBgGradient","cssStyleElementEventLayoutViewColor","cssStyleElementEventLayoutViewBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && li.brz-eventLayout--view-active:hover":{standart:["cssStyleElementEventLayoutViewTypography","cssStyleElementEventLayoutViewColorActive","cssStyleElementEventLayoutViewBgColorActive","cssStyleElementEventLayoutViewBgGradientActive","cssStyleElementEventLayoutViewBorderActive"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters:hover":{standart:["cssStyleMinistryElementFiltersBgColor","cssStyleMinistryElementFiltersBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters .brz-eventLayout--filters-form-selectWrapper:hover":{standart:["cssStyleMinistryElementFiltersTypography","cssStyleMinistryElementFiltersBorder","cssStyleMinistryElementFiltersBorderRadius","cssStyleMinistryElementFiltersInputBgColor","cssStyleMinistryElementFiltersInputGradientColor","cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters .brz-eventLayout--filters-form-selectWrapper:hover::after":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters .brz-eventLayout--filters-form-selectWrapper:hover select option":{standart:["cssStyleMinistryElementFiltersInputBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters input:hover":{standart:["cssStyleMinistryElementFiltersTypography","cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters fieldset:hover ":{standart:["cssStyleMinistryElementFiltersBorder","cssStyleMinistryElementFiltersBorderRadius","cssStyleMinistryElementFiltersInputBgColor","cssStyleMinistryElementFiltersInputGradientColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters fieldset:hover input::placeholder":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters fieldset:hover button":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--featured__item-title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--featured__item-title a:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--featured__item p:hover":{standart:["cssStyleElementOfMinistryBrandsDateTypography","cssStyleElementOfMinistryBrandsDateColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--featured__preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout__pagination:hover":{standart:["cssStyleElementEventLayoutListPaginationTypography","cssStyleElementEventLayoutListPaginationColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout__pagination span":{standart:["cssStyleElementEventLayoutListPaginationSpacing"]},".brz && .brz-eventLayout--list-item__title:hover":{standart:["cssStyleElementEventLayoutListTitleTypography","cssStyleElementEventLayoutListTitleColor","cssStyleElementEventLayoutListTitleBorderBottom"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--list-item__content-date:hover":{standart:["cssStyleElementEventLayoutListItemDateTypography","cssStyleElementEventLayoutListItemDateColor","cssStyleElementEventLayoutListItemDateBackgroundColor","cssStyleElementEventLayoutListItemDateBackgroundGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--list-item__content__heading:hover":{standart:["cssStyleElementEventLayoutListItemTitleTypography","cssStyleElementEventLayoutListItemTitleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--list-item__content__meta:hover":{standart:["cssStyleElementEventLayoutListItemMetaTypography","cssStyleElementEventLayoutListItemMetaColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--calendar-heading:hover":{standart:["cssStyleElementEventLayoutCalendarHeadingTypography","cssStyleElementEventLayoutCalendarHeadingColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--calendar-day:hover":{standart:["cssStyleElementEventLayoutCalendarDaysTypography","cssStyleElementEventLayoutCalendarDaysColor","cssStyleElementEventLayoutCalendarDaysBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--calendar-day__number span:hover":{standart:["cssStyleElementEventLayoutCalendarDaysBgColor","cssStyleElementEventLayoutCalendarDaysBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--calendar-day-np:hover":{standart:["cssStyleElementEventLayoutCalendarDaysBgColor","cssStyleElementEventLayoutCalendarDaysBgGradient","cssStyleElementEventLayoutCalendarDaysBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},80919:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("viewBgColorHex"),s("viewBgColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"layoutViewTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("viewBgColorOpacity"))}}},options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabViewBg",label:(0,i.t)("Background"),options:[{id:"view",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabViewText",label:(0,i.t)("Text"),options:[{id:"viewColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabViewBorder",label:(0,i.t)("Border"),options:[{id:"viewBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]}]}},38522:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(41493),l=o(78407),s=e=>{let{v:t,device:o,state:i,component:s,context:c}=e;const d="off"===t.showFeaturedView,u="off"===t.showListView,p="off"===t.showCalendarView,f="off"===t.showCategoryFilter,m="off"===t.addCategoryFilter,y="off"===t.addCategoryFilter2,g="off"===t.addCategoryFilter3,b=r.default.getAll(),{apiUrl:h}=b.modules?.ekklesia??{},{getSourceChoices:v}=b.api?.sourceTypes??{};return[{id:"toolbarEventLayout",type:"popover-dev",config:{icon:"t2-event-layout",title:(0,n.t)("Event Layout")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabColumns",label:(0,n.t)("Columns"),options:[{id:"howManyFeatured",label:(0,n.t)("Items"),type:"number-dev",disabled:d,devices:"desktop",config:{min:1,max:24,spinner:!0}},{id:"columnNumber",label:(0,n.t)("Columns"),type:"number-dev",disabled:d,config:{min:1,max:6,spinner:!0}}]},{id:"tabEventLayout",label:(0,n.t)("Display"),options:[{id:"featuredViewGroup",type:"group-dev",devices:"desktop",options:[{id:"showFeaturedView",label:(0,n.t)("Featured View"),type:"switch-dev",devices:"desktop"},{id:"featuredViewOrder",label:(0,n.t)("Order"),type:"number-dev",disabled:d,config:{min:1,max:3,spinner:!0},helper:{content:(0,n.t)("The featured view default is the first position. If you change the order make sure the other view positions are updated to be unique.")}},{id:"featuredViewHeading",label:(0,n.t)("Heading"),type:"inputText-dev",disabled:d},{id:"showFeaturedImages",label:(0,n.t)("Images"),type:"switch-dev",disabled:d},{id:"showFeaturedPreview",label:(0,n.t)("Preview"),type:"switch-dev",disabled:d},{id:"showFeaturedTitle",label:(0,n.t)("Title"),type:"switch-dev",disabled:d},{id:"showFeaturedDate",label:(0,n.t)("Date"),type:"switch-dev",disabled:d}]},{id:"listViewGroup",type:"group-dev",devices:"desktop",options:[{id:"showListView",label:(0,n.t)("List View"),type:"switch-dev",devices:"desktop"},{id:"listViewOrder",label:(0,n.t)("Order"),type:"number-dev",disabled:u,config:{min:1,max:3,spinner:!0},helper:{content:(0,n.t)("The list view default is the second position. If you change the order make sure the other view positions are updated to be unique.")}},{id:"listViewHeading",label:(0,n.t)("Heading"),type:"inputText-dev",disabled:u}]},{id:"calendarViewGroup",type:"group-dev",devices:"desktop",options:[{id:"showCalendarView",label:(0,n.t)("Calendar View"),type:"switch-dev",devices:"desktop"},{id:"calendarViewOrder",label:(0,n.t)("Order"),type:"number-dev",disabled:p,config:{min:1,max:3,spinner:!0},helper:{content:(0,n.t)("The calendar view default is the third position. If you change the order make sure the other view positions are updated to be unique.")}},{id:"calendarViewHeading",label:(0,n.t)("Heading"),type:"inputText-dev",disabled:p}]},{id:"howmanymonths",type:"number-dev",label:(0,n.t)("Months"),devices:"desktop"}]},{id:"page",label:(0,n.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,n.t)("Type"),devices:"desktop",choices:v?.()??[],config:{size:"large"},helper:{content:(0,n.t)('URL of event detail page. If used a link to the heading and an image will be added to take the user to the event detail page. Requires the "Event Detail" widget to be placed on a page and that page url/slug placed in this field.')}},{id:"eventDetailPage",type:"internalLink-dev",label:(0,n.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}}]},{id:"tabFilterSettings",label:(0,n.t)("Filter"),options:[{id:"parentCategory",label:(0,n.t)("Parent Category"),type:"select-dev",devices:"desktop",choices:(0,l.getEkklesiaChoiches)({key:"eventsLvl",subKey:"parents",url:h}),helper:{content:(0,n.t)("Defines which level 1 category to use as a base for the layout.")}},{id:"categoryGroup",type:"group-dev",devices:"desktop",options:[{id:"showCategoryFilter",type:"switch-dev",label:(0,n.t)("Category"),devices:"desktop"},{id:"categoryFilterParent",type:"select-dev",label:(0,n.t)("Parent"),devices:"desktop",disabled:f,choices:(0,l.getEkklesiaChoiches)({key:"eventsLvl",subKey:"childs",url:h}),helper:{content:(0,n.t)("Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"categoryFilterList",type:"inputText-dev",label:(0,n.t)("List"),devices:"desktop",disabled:f,helper:{content:(0,n.t)("This should be a comma separate list of category slugs without spaces eg. if you wanted to use the categories 'Category Example 1' and 'Category Example 2' the list would be 'category-example-1,category-example-2'. This option removes the parent filter options.")}},{id:"categoryFilterHeading",type:"inputText-dev",label:(0,n.t)("Heading"),devices:"desktop",disabled:f}]},{id:"showGroupGroup",type:"group-dev",devices:"desktop",options:[{id:"showGroupFilter",type:"switch-dev",label:(0,n.t)("Group"),devices:"desktop"},{id:"groupFilterHeading",type:"inputText-dev",label:(0,n.t)("Heading"),devices:"desktop",disabled:"off"===t.showGroupFilter}]},{id:"showGroupSearch",type:"group-dev",devices:"desktop",options:[{id:"showSearch",type:"switch-dev",label:(0,n.t)("Search"),devices:"desktop"},{id:"searchPlaceholder",type:"inputText-dev",label:(0,n.t)("Placeholder"),devices:"desktop",disabled:"off"===t.showSearch}]}]},{id:"tabAdvanced",label:(0,n.t)("Advanced"),options:[{id:"addCategoryGroup",type:"group-dev",devices:"desktop",options:[{id:"addCategoryFilter",type:"switch-dev",label:(0,n.t)("Add Category Filter"),devices:"desktop"},{id:"addCategoryFilterParent",type:"select-dev",label:(0,n.t)("Parent"),devices:"desktop",disabled:m,choices:(0,l.getEkklesiaChoiches)({key:"eventsLvl",subKey:"childs",url:h}),helper:{content:(0,n.t)("Additional category filters require this selection. Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"addCategoryFilterList",type:"inputText-dev",label:(0,n.t)("List"),devices:"desktop",disabled:m,helper:{content:(0,n.t)('This should be a comma separate list of category slugs without spaces eg. if you wanted to use the categories "Category Example 1" and "Category Example 2" the list would be "category-example-1,category-example-2". This option removes the parent filter options.')}},{id:"addCategoryFilterHeading",type:"inputText-dev",label:(0,n.t)("Heading"),devices:"desktop",disabled:m}]},{id:"addCategoryGroup2",type:"group-dev",devices:"desktop",options:[{id:"addCategoryFilter2",type:"switch-dev",label:(0,n.t)("Add Category Filter 2"),devices:"desktop"},{id:"addCategoryFilterParent2",type:"select-dev",label:(0,n.t)("Parent"),devices:"desktop",disabled:y,choices:(0,l.getEkklesiaChoiches)({key:"eventsLvl",subKey:"childs",url:h}),helper:{content:(0,n.t)("Additional category filters require this selection. Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"addCategoryFilterList2",type:"inputText-dev",label:(0,n.t)("List"),devices:"desktop",disabled:y,helper:{content:(0,n.t)('This should be a comma separate list of category slugs without spaces eg. if you wanted to use the categories "Category Example 1" and "Category Example 2" the list would be "category-example-1,category-example-2". This option removes the parent filter options.')}},{id:"addCategoryFilterHeading2",type:"inputText-dev",label:(0,n.t)("Heading"),devices:"desktop",disabled:y}]},{id:"addCategoryGroup3",type:"group-dev",devices:"desktop",options:[{id:"addCategoryFilter3",type:"switch-dev",label:(0,n.t)("Add Category Filter 3"),devices:"desktop"},{id:"addCategoryFilterParent3",type:"select-dev",label:(0,n.t)("Parent"),devices:"desktop",disabled:g,choices:(0,l.getEkklesiaChoiches)({key:"eventsLvl",subKey:"childs",url:h}),helper:{content:(0,n.t)("Additional category filters require this selection. Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"addCategoryFilterList3",type:"inputText-dev",label:(0,n.t)("List"),devices:"desktop",disabled:g,helper:{content:(0,n.t)('This should be a comma separate list of category slugs without spaces eg. if you wanted to use the categories "Category Example 1" and "Category Example 2" the list would be "category-example-1,category-example-2". This option removes the parent filter options.')}},{id:"addCategoryFilterHeading3",type:"inputText-dev",label:(0,n.t)("Heading"),devices:"desktop",disabled:g}]}]}]}]},...(0,a.toolbarParentColors)({v:t,device:o,state:i,component:s,context:c}),{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,disabled:d,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,disabled:d,options:[{id:"itemSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",position:110,disabled:!d}]}},18745:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getPlaceholder:function(){return i},addContentEventListener:function(){return n}});const r=o(78407),i=e=>{const{showFeaturedView:t,featuredViewOrder:o,featuredViewHeading:i,howManyFeatured:n,showFeaturedImages:a,showFeaturedPreview:l,showFeaturedTitle:s,showFeaturedDate:c,showListView:d,listViewOrder:u,listViewHeading:p,showCalendarView:f,calendarViewOrder:m,calendarViewHeading:y,howmanymonths:g,eventDetailPage:b,parentCategory:h,categoryFilterList:v,showCategoryFilter:S,categoryFilterParent:w,categoryFilterHeading:x,addCategoryFilterList:M,addCategoryFilterList2:T,addCategoryFilterList3:P,addCategoryFilter:C,addCategoryFilterParent:k,addCategoryFilterHeading:_,addCategoryFilter2:O,addCategoryFilter3:E,addCategoryFilterParent2:z,addCategoryFilterHeading2:B,addCategoryFilterParent3:j,addCategoryFilterHeading3:N,showGroupFilter:I,groupFilterHeading:L,showSearch:D,searchPlaceholder:F}=e,A=(0,r.getAttr)(t,"show_featured_view"),R=(0,r.getAttr)(a,"show_images_featured"),W=(0,r.getAttr)(l,"show_preview_featured"),H=(0,r.getAttr)(s,"show_title_featured"),V=(0,r.getAttr)(c,"show_date_featured"),U=(0,r.getAttr)(d,"show_list_view"),G=(0,r.getAttr)(f,"show_calendar_view"),$=(0,r.getAttr)(S,"show_category_filter"),Q=(0,r.getAttr)(C,"show_category_filter_add1"),Y=(0,r.getAttr)(O,"show_category_filter_add2"),Z=(0,r.getAttr)(E,"show_category_filter_add3"),K=(0,r.getAttr)(I,"show_group_filter"),q=(0,r.getAttr)(D,"show_search");return`{{ ekk_event_layout \n ${A}\n view_order_featured='${o}'\n view_featured_heading='${i}'\n howmanyfeatured='${n}' \n ${R}\n ${W}\n ${H}\n ${V} \n ${U}\n view_order_list='${u}'\n view_list_heading='${p}' \n ${G}\n view_order_calendar='${m}'\n view_calendar_heading='${y}' \n howmanymonths='${g}' \n detail_page='${(0,r.getDetail)(b)}'\n parent_category='${h}'\n category_filter_list='${v}'\n ${$}\n category_filter_parent='${w}'\n category_filter_heading='${x}'\n category_filter_list_add1='${M}'\n category_filter_list_add2='${T}'\n category_filter_list_add3='${P}'\n ${Q}\n category_filter_parent_add1='${k}'\n category_filter_heading_add1='${_}'\n ${Y}\n ${Z}\n category_filter_parent_add2='${z}'\n category_filter_heading_add2='${B}'\n category_filter_parent_add3='${j}'\n category_filter_heading_add3='${N}'\n ${K}\n group_filter_heading='${L}'\n ${q}\n search_placeholder='${F}'\n }}`},n=e=>{let{type:t,wrapper:o}=e;const i="list"==t?Array.from(o.querySelectorAll(".brz-eventLayout--list-item")):Array.from(o.querySelectorAll(".brz-eventLayout--calendar-item")),n="list"===t?"brz-eventLayout--list-item-active":"brz-eventLayout--calendar-item-active";i.forEach(((e,t)=>{const o=e.querySelector(".brz-eventLayout__pagination > .previous"),a=e.querySelector(".brz-eventLayout__pagination > .next");0===t&&(e?.classList.add(n),o?.classList.add("off")),t===i.length-1&&a?.classList.add("off"),o?.addEventListener("click",(e=>{e.preventDefault(),(0,r.changeContentVisibility)({items:i,activeClassName:n,direction:"prev"})})),a?.addEventListener("click",(e=>{e.preventDefault(),(0,r.changeContentVisibility)({items:i,activeClassName:n,direction:"next"})}))}))}},69443:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsEventList",{enumerable:!0,get:function(){return C}});const r=M(o(60042)),i=M(o(27378)),n=M(o(67439)),a=M(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=P(o(65918)),u=P(o(63786)),p=P(o(89330)),f=P(o(42938)),m=P(o(8981)),y=P(o(51179)),g=P(o(75545)),b=P(o(8382)),h=P(o(58306)),v=M(o(11457)),S=o(62332),w=P(o(20988)),x=o(50915);function M(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class C extends a.default{static get componentId(){return"MinistryBrandsEventList"}static defaultValue=v.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(w,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-eventList__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,S.style)(e,t,o)));return i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(h,void 0,{allowExtend:!1}),selector:".brz-eventList__item--meta--title"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-eventList__item--meta--date"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--button"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(b,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--register-button"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-eventList__item--meta--preview"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-eventList__item--meta--link a"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-eventList__item--meta"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__pagination a"},i.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),i.default.createElement(l.DynamicContentHelper,{placeholder:(0,x.getPlaceholder)(e),props:{className:"brz-eventList"},blocked:!1,tagName:"div"}))))))))))}}},62332:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-eventList":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-eventList__container":{standart:["cssStyleElementOfMinistryBrandsColumnsNumberWithSpacing"]},".brz && :is(.brz-eventList__item--meta, .brz-eventList__item--meta--link a):hover":{standart:["getAllCssStyleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventList__item--meta:not(a):hover":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__pagination a:hover:not(#current)":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__pagination a#current":{standart:["cssStyleElementOfMinistryBrandsPaginationColorActive","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventList__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventList__item--meta--date:hover":{standart:["cssStyleElementOfMinistryBrandsDateTypography","cssStyleElementOfMinistryBrandsDateColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventList__item--meta--preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && :is(.brz-eventList__item--meta--link,.brz-eventList__item--meta--preview) a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--button:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsColor","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--register-button:hover":{standart:["cssStyleElementMinistryBrandsRegisterButtonTypography","cssStyleElementMinistryBrandsRegisterButtonBgColor","cssStyleElementMinistryBrandsRegisterButtonBgGradient","cssStyleElementMinistryBrandsRegisterButtonColor","cssStyleElementMinistryBrandsRegisterButtonBoxShadow","cssStyleElementMinistryBrandsRegisterButtonBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventList__item:hover":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-eventList__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && .brz-ministryBrands__pagination a:hover":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},20988:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(69321),l=o(41493),s=o(78407),c=e=>{let{v:t,device:o,state:i,component:c,context:d}=e;const u=r.default.getAll(),{apiUrl:p}=u.modules?.ekklesia??{},{getSourceChoices:f}=u.api?.sourceTypes??{};return[{id:"toolbarEventList",type:"popover-dev",config:{icon:"t2-event-list",title:(0,n.t)("Event List")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,n.t)("Settings"),options:[{id:"category",devices:"desktop",label:(0,n.t)("Category"),type:"select-dev",choices:(0,s.getEkklesiaChoiches)({key:"event",url:p})},{id:"group",devices:"desktop",label:(0,n.t)("Group"),type:"select-dev",choices:(0,s.getEkklesiaChoiches)({key:"groups",url:p})}]},{id:"tabColumns",label:(0,n.t)("Columns"),options:[{id:"itemsNumber",label:(0,n.t)("Items"),type:"number-dev",devices:"desktop",config:{min:1,max:20,spinner:!0}},{id:"columnNumber",label:(0,n.t)("Columns"),type:"number-dev",config:{min:1,max:6,spinner:!0}}]},{id:"tabEventList",label:(0,n.t)("Display"),options:[{id:"showImage",label:(0,n.t)("Image"),type:"switch-dev",devices:"desktop"},{id:"showMeta",label:(0,n.t)("Meta"),type:"switch-dev",devices:"desktop"},{id:"showTitle",label:(0,n.t)("Title"),type:"switch-dev",devices:"desktop"},{id:"showDate",label:(0,n.t)("Date"),type:"switch-dev",devices:"desktop"},{id:"showCategory",label:(0,n.t)("Category"),type:"switch-dev",devices:"desktop"},{id:"showGroup",label:(0,n.t)("Group"),type:"switch-dev",devices:"desktop"},{id:"showLocation",label:(0,n.t)("Location"),type:"switch-dev",devices:"desktop"},{id:"showRegistration",label:(0,n.t)("Registration"),type:"switch-dev",devices:"desktop"},{id:"showPreview",label:(0,n.t)("Preview"),type:"switch-dev",devices:"desktop"},{id:"showPagination",label:(0,n.t)("Pagination"),type:"switch-dev",devices:"desktop"},{id:"features",type:"switch-dev",label:(0,n.t)("Features"),devices:"desktop",helper:{content:(0,n.t)("If this is selected the Non featured Only option does not apply.")}},{id:"nonfeatures",type:"switch-dev",label:(0,n.t)("No featured"),devices:"desktop",helper:{content:(0,n.t)("If this is selected the Featured Only option does not apply.")}}]},{id:"page",label:(0,n.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,n.t)("Type"),devices:"desktop",choices:f?.()??[],config:{size:"large"},helper:{content:(0,n.t)('URL of event detail page. If used a link to the heading and an image will be added to take the user to the event detail page. Requires the "Event Detail" widget to be placed on a page and that page url/slug placed in this field .')}},{id:"detailPage",type:"internalLink-dev",label:(0,n.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButtonText",type:"inputText-dev",devices:"desktop",label:(0,n.t)("Button"),placeholder:(0,n.t)("Button text..."),disabled:("detailPage",!(0,a.defaultValueValue)({v:t,key:"detailPage",device:o,state:i})),helper:{content:(0,n.t)("Button will display if text is entered and a detail page selected.")}}]}]}]},...(0,l.toolbarParentColors)({v:t,device:o,state:i,component:c,context:d}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},50915:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(78407),i=e=>{const{itemsNumber:t,showImage:o,showDate:i,showCategory:n,showGroup:a,showPreview:l,showTitle:s,showPagination:c,showMeta:d,group:u,category:p,detailPage:f,detailPageButtonText:m,features:y,nonfeatures:g,showLocation:b,showRegistration:h}=e;return`{{ekk_event_list\n howmany='${t}'\n ${(0,r.getAttr)(o,"show_images")}\n ${(0,r.getAttr)(s,"show_title")}\n ${(0,r.getAttr)(i,"show_date")}\n ${(0,r.getAttr)(n,"show_category")}\n ${(0,r.getAttr)(a,"show_group")}\n ${(0,r.getAttr)(d,"show_meta_headings")}\n ${(0,r.getAttr)(l,"show_preview")}\n ${(0,r.getAttr)(c,"show_pagination")}\n ${(0,r.getAttr)(b,"show_location")}\n ${(0,r.getAttr)(h,"show_registration")}\n category='${p}'\n ${(0,r.getFeatures)(y,"features")}\n ${(0,r.getFeatures)(g,"nonfeatures")}\n group='${u}'\n detail_page='${(0,r.getDetail)(f)}'\n detail_page_button_text='${m}'\n }}`}},34743:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsFormWidget",{enumerable:!0,get:function(){return p}});const r=d(o(27378)),i=d(o(67439)),n=d(o(63692)),a=o(8704),l=o(86022),s=d(o(12985)),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(72266));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends n.default{static get componentId(){return"MinistryBrandsFormWidget"}static defaultValue=s.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(c,void 0,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e){const{form:t}=e;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(c,void 0,{allowExtend:!1}),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-formWidget__container brz-ministryBrands"}),r.default.createElement(a.DynamicContentHelper,{placeholder:`{{ekk_form form='${t}'}}`,blocked:!1,props:{className:"brz-formWidget"},tagName:"div"})))}}},72266:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(78407),l=()=>{const{apiUrl:e}=r.default.getAll()?.modules?.ekklesia??{};return[{id:"toolbarGroupDetail",type:"popover-dev",config:{icon:"t2-group-detail",title:(0,n.t)("Form Widget")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",devices:"desktop",tabs:[{id:"tabSettings",label:(0,n.t)("Settings"),options:[{id:"form",label:(0,n.t)("Forms"),type:"select-dev",choices:(0,a.getEkklesiaChoiches)({key:"forms",url:e})}]}]}]}]}},94643:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsGroupDetail",{enumerable:!0,get:function(){return P}});const r=x(o(60042)),i=x(o(27378)),n=x(o(67439)),a=x(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=T(o(65918)),u=T(o(63786)),p=T(o(41488)),f=T(o(93495)),m=T(o(74765)),y=T(o(8981)),g=T(o(59511)),b=T(o(58306)),h=x(o(10676)),v=o(53776),S=T(o(98625)),w=o(27702);function x(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class P extends a.default{static get componentId(){return"MinistryBrandsGroupDetail"}static defaultValue=h.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(S,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-groupDetail__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,v.style)(e,t,o)));return i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(b,void 0,{allowExtend:!1}),selector:".brz-groupDetail__item--meta--title"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-groupDetail__item--meta--date"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:":is(.brz-groupDetail__item a, .brz-ministryBrands__item--meta--links)"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-groupDetail__item--meta"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-groupDetail__item--meta--preview p"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-groupDetail__item--meta--preview h4"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-groupDetail__item--meta--preview ul"},i.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),i.default.createElement(l.DynamicContentHelper,{placeholder:(0,w.getPlaceholder)(e),props:{className:"brz-groupDetail"},blocked:!1,tagName:"div"})))))))))}}},53776:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-groupDetail":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-groupDetail__container":{standart:["cssStyleElementOfMinistryBrandsColumnsNumber"]},".brz && .brz-groupDetail__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupDetail__item--meta--date:hover":{standart:["cssStyleElementOfMinistryBrandsDateColor","cssStyleElementOfMinistryBrandsDateTypography"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-groupDetail__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz &&:hover .brz-groupDetail__item > *":{standart:["cssStyleElementOfMinistryBrandsSpacing"]},".brz &&:hover .brz-groupDetail__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-groupDetail__item--meta:hover":{standart:["getAllCssStyleTypography","cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__pagination a:hover":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition"]},".brz && :is(.brz-groupDetail__item a, .brz-ministryBrands__item--meta--links):hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupDetail__item--meta--preview p:hover":{standart:["cssStyleElementOfMinistryBrandsParagraphTypography","cssStyleElementOfMinistryBrandsParagraphColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupDetail__item--meta--preview h4:hover":{standart:["cssStyleElementOfMinistryBrandsH4Typography","cssStyleElementOfMinistryBrandsH4Color"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupDetail__item--meta--preview ul":{standart:["cssStyleElementOfMinistryBrandsListPaddingLeft","cssStyleElementOfMinistryBrandsListTypes"]},".brz && .brz-groupDetail__item--meta--preview ul:hover li":{standart:["cssStyleElementOfMinistryBrandsListTypography","cssStyleElementOfMinistryBrandsListColor"],interval:["cssStyleHoverTransition"]}}})}},98625:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(41493),l=o(78407),s=e=>{let{v:t,device:o,component:i,context:s,state:c}=e;const{apiUrl:d}=r.default.getAll()?.modules?.ekklesia??{};return[{id:"toolbarGroupDetail",type:"popover-dev",config:{icon:"t2-group-detail",title:(0,n.t)("Sermon Detail")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",devices:"desktop",tabs:[{id:"tabSettings",label:(0,n.t)("Settings"),options:[{id:"groupsRecent",label:(0,n.t)("Recent Groups"),type:"select-dev",choices:(0,l.getEkklesiaChoiches)({key:"smallgroups",url:d})}]},{id:"tabGroupDetail",label:(0,n.t)("Display"),options:[{id:"showImage",type:"switch-dev",label:(0,n.t)("Image")},{id:"showTitle",type:"switch-dev",label:(0,n.t)("Title")},{id:"showCategory",type:"switch-dev",label:(0,n.t)("Category")},{id:"showGroup",type:"switch-dev",label:(0,n.t)("Group")},{id:"showMetaHeadings",type:"switch-dev",label:(0,n.t)("Meta Headings")},{id:"showDay",type:"switch-dev",label:(0,n.t)("Day")},{id:"showTimes",type:"switch-dev",label:(0,n.t)("Times")},{id:"showStatus",type:"switch-dev",label:(0,n.t)("Status")},{id:"showChildcare",type:"switch-dev",label:(0,n.t)("Childcare")},{id:"showResourceLink",type:"switch-dev",label:(0,n.t)("Resource Link")},{id:"showContent",type:"switch-dev",label:(0,n.t)("Content")},{id:"showPreviousPage",type:"switch-dev",label:(0,n.t)("Previous Page")}]}]}]},...(0,a.toolbarParentColors)({v:t,device:o,state:c,component:i,context:s}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},27702:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(78407),i=e=>{const{showImage:t,showTitle:o,showCategory:i,showGroup:n,showMetaHeadings:a,showDay:l,showTimes:s,showStatus:c,showChildcare:d,showResourceLink:u,showContent:p,groupsRecent:f,showPreviousPage:m}=e;return`{{ ekk_group_detail\n ${(0,r.getAttr)(t,"show_image")}\n ${(0,r.getAttr)(o,"show_title")}\n ${(0,r.getAttr)(i,"show_category")}\n ${(0,r.getAttr)(n,"show_group")}\n ${(0,r.getAttr)(a,"show_meta_headings")}\n ${(0,r.getAttr)(l,"show_day")}\n ${(0,r.getAttr)(s,"show_times")}\n ${(0,r.getAttr)(c,"show_status")}\n ${(0,r.getAttr)(d,"show_childcare")}\n ${(0,r.getAttr)(u,"show_resourcelink")}\n ${(0,r.getAttr)(p,"show_content")}\n ${(0,r.getAttr)(m,"previous_page")}\n groups_recent='${f}'\n }}`}},21519:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsGroupFeatured",{enumerable:!0,get:function(){return P}});const r=x(o(60042)),i=x(o(27378)),n=x(o(67439)),a=x(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=T(o(65918)),u=T(o(63786)),p=T(o(89330)),f=T(o(74765)),m=T(o(8981)),y=T(o(51179)),g=T(o(75545)),b=T(o(58306)),h=x(o(62547)),v=o(9290),S=T(o(44254)),w=o(58080);function x(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class P extends a.default{static get componentId(){return"MinistryBrandsGroupFeatured"}static defaultValue=h.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(S,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-groupFeatured__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,v.style)(e,t,o)));return i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(b,void 0,{allowExtend:!1}),selector:".brz-groupFeatured__item--meta--title"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-groupFeatured__item--meta--date"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--links"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-groupFeatured__item--meta"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--button"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-groupFeatured__item--meta--preview *"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__pagination"},i.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),i.default.createElement(l.DynamicContentHelper,{placeholder:(0,w.getPlaceholder)(e),props:{className:"brz-groupFeatured"},blocked:!1,tagName:"div"})))))))))}}},9290:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-groupFeatured":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-groupFeatured__container":{standart:["cssStyleElementOfMinistryBrandsColumnsNumber"]},".brz && .brz-groupFeatured__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupFeatured__item--meta--date:hover":{standart:["cssStyleElementOfMinistryBrandsDateColor","cssStyleElementOfMinistryBrandsDateTypography"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-groupFeatured__item img":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz &&:hover .brz-groupFeatured__item > *":{standart:["cssStyleElementOfMinistryBrandsSpacing"]},".brz &&:hover .brz-groupFeatured__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-groupFeatured__item--meta:hover":{standart:["getAllCssStyleTypography","cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__item--meta--links:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__item--meta--button:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--button a:hover":{standart:["cssStyleElementMinistryBrandsButtonsColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupFeatured__item--meta--preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition"]}}})}},44254:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(69321),l=o(41493),s=o(78407),c=e=>{let{v:t,device:o,state:i,component:c,context:d}=e;const u=r.default.getAll(),{apiUrl:p}=u.modules?.ekklesia??{},{getSourceChoices:f}=u.api?.sourceTypes??{},m=e=>(0,a.defaultValueValue)({v:t,key:e,device:o}),y="on"===m("groupLatest");return[{id:"toolbarGroupFeatured",type:"popover-dev",config:{icon:"t2-sermon-featured",title:(0,n.t)("Sermon Featured")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,n.t)("Settings"),options:[{id:"groupLatest",type:"switch-dev",devices:"desktop",label:(0,n.t)("Show Latest"),helper:{content:(0,n.t)("This option automatically shows the latest group and overrides the 'Recent Groups' and 'Group Slug' options.")}},{id:"category",devices:"desktop",label:(0,n.t)("Category"),type:"select-dev",disabled:!y,choices:(0,s.getEkklesiaChoiches)({key:"smallgroup",url:p}),helper:{content:(0,n.t)("This option only applies to 'Show Latest'.")}},{id:"group",devices:"desktop",label:(0,n.t)("Group"),type:"select-dev",disabled:!y,choices:(0,s.getEkklesiaChoiches)({key:"groups",url:p}),helper:{content:(0,n.t)("This option only applies to 'Show Latest'.")}},{id:"groupRecentList",devices:"desktop",label:(0,n.t)("Recent Groups"),type:"select-dev",disabled:y||""!==m("groupSlug"),choices:(0,s.getEkklesiaChoiches)({key:"smallgroups",url:p}),helper:{content:(0,n.t)("Select a recent group. Use only if you are not using 'Group Slug' below and 'Show Latest' is set to 'Off'.")}}]},{id:"tabGroupFeatured",label:(0,n.t)("Display"),options:[{id:"showImage",type:"switch-dev",label:(0,n.t)("Image"),devices:"desktop"},{id:"showCategory",type:"switch-dev",label:(0,n.t)("Category"),devices:"desktop"},{id:"showGroup",type:"switch-dev",label:(0,n.t)("Group"),devices:"desktop"},{id:"showDay",type:"switch-dev",label:(0,n.t)("Day"),devices:"desktop"},{id:"showTimes",type:"switch-dev",label:(0,n.t)("Times"),devices:"desktop"},{id:"showStatus",type:"switch-dev",label:(0,n.t)("Status"),devices:"desktop"},{id:"showChildcare",type:"switch-dev",label:(0,n.t)("Childcare"),devices:"desktop"},{id:"showResourceLink",type:"switch-dev",label:(0,n.t)("Resource Link"),devices:"desktop"},{id:"showPreview",type:"switch-dev",label:(0,n.t)("Preview"),devices:"desktop"}]},{id:"page",label:(0,n.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,n.t)("Type"),devices:"desktop",choices:f?.()??[],config:{size:"large"},helper:{content:(0,n.t)("URL of group detail page. If used will add a link to the heading to take the user to the group detail page. Requires the 'Group Detail' widget to be placed on a page and that page url/slug placed in this field .")}},{id:"detailPage",type:"internalLink-dev",label:(0,n.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButtonText",type:"inputText-dev",devices:"desktop",label:(0,n.t)("Button"),placeholder:(0,n.t)("Button Text..."),disabled:!m("detailPage"),helper:{content:(0,n.t)("Button will display if text is entered and a detail page selected.")}},{id:"groupSlug",type:"inputText-dev",devices:"desktop",label:(0,n.t)("Slug"),disabled:y||""!==m("groupRecentList"),placeholder:(0,n.t)("Slug..."),helper:{content:(0,n.t)("Slug of group. Use only if you are not selecting from the 'Recent Groups' above and 'Show Latest' is set to 'Off'.")}}]}]}]},...(0,l.toolbarParentColors)({v:t,device:o,state:i,component:c,context:d}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},58080:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(78407),i=e=>{const{showImage:t,showCategory:o,showGroup:i,showDay:n,showTimes:a,showStatus:l,showChildcare:s,showResourceLink:c,showPreview:d,groupLatest:u,groupRecentList:p,groupSlug:f,category:m,group:y,detailPageButtonText:g,detailPage:b,slug:h}=e;return`{{ ekk_group_featured\n ${(0,r.getAttr)(t,"show_image")}\n ${(0,r.getAttr)(o,"show_category")}\n ${(0,r.getAttr)(i,"show_group")}\n ${(0,r.getAttr)(n,"show_day")}\n ${(0,r.getAttr)(a,"show_times")}\n ${(0,r.getAttr)(l,"show_status")}\n ${(0,r.getAttr)(s,"show_childcare")}\n ${(0,r.getAttr)(c,"show_resourcelink")}\n ${(0,r.getAttr)(d,"show_preview")}\n ${(0,r.getAttr)(u,"group_latest")}\n group_recent_list='${p}'\n group_slug='${f}'\n category='${m}'\n group='${y}'\n detail_page_button_text='${g}'\n detail_page='${(0,r.getDetail)(b)}'\n slug='${h}'\n }}`}},61798:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsGroupLayout",{enumerable:!0,get:function(){return P}});const r=x(o(60042)),i=x(o(27378)),n=x(o(67439)),a=x(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=T(o(65918)),u=T(o(86404)),p=T(o(89330)),f=T(o(95663)),m=T(o(8981)),y=T(o(51179)),g=T(o(75545)),b=T(o(58306)),h=x(o(82366)),v=o(99924),S=T(o(9039)),w=o(59905);function x(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class P extends a.default{static get componentId(){return"MinistryBrandsGroupLayout"}static defaultValue=h.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(S,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-groupLayout__wrapper",(0,c.css)(this.getComponentId(),this.getId(),(0,v.style)(e,t,o)));return i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(f,u,{allowExtend:!1}),selector:".brz-groupLayout__filters"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(b,void 0,{allowExtend:!1}),selector:".brz-groupLayout--item__content-heading"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-groupLayout--item__content-meta"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-groupLayout--item__content-preview"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-groupLayout__pagination"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-groupLayout--item__content-detailButton"},i.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),i.default.createElement(l.DynamicContentHelper,{placeholder:(0,w.getPlaceholder)(e),props:{className:"brz-ministryBrands brz-groupLayout"},blocked:!1,tagName:"div"}))))))))}}},99924:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-groupLayout":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__content":{standart:["cssStyleElementOfMinistryBrandsColumnsNumberWithSpacing"]},".brz && .brz-groupLayout--item__content":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-groupLayout__filters:hover":{standart:["cssStyleMinistryElementFiltersBgColor","cssStyleMinistryElementFiltersBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__filters .brz-groupLayout__filters--form-selectWrapper:hover":{standart:["cssStyleMinistryElementFiltersTypography","cssStyleMinistryElementFiltersBorder","cssStyleMinistryElementFiltersBorderRadius","cssStyleMinistryElementFiltersInputBgColor","cssStyleMinistryElementFiltersInputGradientColor","cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__filters .brz-groupLayout__filters--form-selectWrapper:hover select option":{standart:["cssStyleMinistryElementFiltersInputBgColor","cssStyleMinistryElementFiltersInputGradientColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__filters input:hover":{standart:["cssStyleMinistryElementFiltersTypography","cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__filters fieldset:hover":{standart:["cssStyleMinistryElementFiltersBorder","cssStyleMinistryElementFiltersBorderRadius","cssStyleMinistryElementFiltersInputBgColor","cssStyleMinistryElementFiltersInputGradientColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__filters fieldset:hover input::placeholder":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__filters fieldset:hover button":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout--item__content-heading:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout--item__content-heading a:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout--item__content-meta:hover":{standart:["getAllCssStyleTypography","cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout--item__content-preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout--item__content-preview--more:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout--item iframe,.brz && .brz-groupLayout--item video, .brz && .brz-groupLayout--item img":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && .brz-groupLayout__pagination a:hover:not(#current)":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__pagination a#current":{standart:["cssStyleElementOfMinistryBrandsPaginationTypography","cssStyleElementOfMinistryBrandsPaginationColorActive"]},".brz && .brz-groupLayout--item__content-detailButton a:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsColor","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},9039:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(41493),l=o(78407),s=e=>{let{v:t,device:o,state:i,component:s,context:c}=e;const d=r.default.getAll(),{apiUrl:u}=d.modules?.ekklesia??{},{getSourceChoices:p}=d.api?.sourceTypes??{},f="off"===t.showCategoryFilter,m="off"===t.addCategoryFilter,y="off"===t.addCategoryFilter2,g="off"===t.addCategoryFilter3;return[{id:"toolbarGroupLayout",type:"popover-dev",config:{icon:"t2-group-layout",title:(0,n.t)("Group Layout")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabColumns",label:(0,n.t)("Columns"),options:[{id:"columnNumber",label:(0,n.t)("Columns"),type:"number-dev",config:{min:1,max:6,spinner:!0}},{id:"countPerPage",label:(0,n.t)("Items"),type:"number-dev",devices:"desktop",config:{min:1,max:24,spinner:!0}}]},{id:"tabGroupLayoutDisplay",label:(0,n.t)("Display"),options:[{id:"showImages",type:"switch-dev",devices:"desktop",label:(0,n.t)("Images")},{id:"showMeetingDay",type:"switch-dev",devices:"desktop",label:(0,n.t)("Meeting Day")},{id:"showMeetingTime",type:"switch-dev",devices:"desktop",label:(0,n.t)("Meeting Time")},{id:"showCategory",type:"switch-dev",devices:"desktop",label:(0,n.t)("Category")},{id:"showGroup",type:"switch-dev",devices:"desktop",label:(0,n.t)("Group")},{id:"showStatus",type:"switch-dev",devices:"desktop",label:(0,n.t)("Status")},{id:"showChildcare",type:"switch-dev",devices:"desktop",label:(0,n.t)("Childcare")},{id:"showResourceLink",type:"switch-dev",devices:"desktop",label:(0,n.t)("Resource Link")},{id:"showPreview",type:"switch-dev",devices:"desktop",label:(0,n.t)("Preview")},{id:"showPagination",type:"switch-dev",label:(0,n.t)("Pagination"),devices:"desktop"}]},{id:"page",label:(0,n.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,n.t)("Type"),devices:"desktop",choices:p?.()??[],config:{size:"large"},helper:{content:(0,n.t)('URL of group detail page. If used will add a link to the heading to take the user to the group detail page. Requires the "Group Detail" widget to be placed on a page and that page url/slug placed in this field.')}},{id:"detailPage",type:"internalLink-dev",label:(0,n.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailButtonText",type:"inputText-dev",label:(0,n.t)("Detail Button"),placeholder:(0,n.t)("Button name..."),devices:"desktop",disabled:!t.detailPage,helper:{content:(0,n.t)("Button will display if text is entered and a detail page selected.")}}]},{id:"tabFilterSettings",label:(0,n.t)("Filter"),options:[{id:"parentCategory",label:(0,n.t)("Parent Category"),type:"select-dev",devices:"desktop",choices:(0,l.getEkklesiaChoiches)({key:"smallgroupsLvl",url:u,subKey:"parents"}),helper:{content:(0,n.t)("Defines which level 1 category to use as a base for the layout.")}},{id:"categoryGroup",type:"group-dev",devices:"desktop",options:[{id:"showCategoryFilter",type:"switch-dev",label:(0,n.t)("Category"),devices:"desktop"},{id:"categoryFilterParent",type:"select-dev",label:(0,n.t)("Parent"),devices:"desktop",disabled:f,choices:(0,l.getEkklesiaChoiches)({key:"eventsLvl",url:u,subKey:"childs"}),helper:{content:(0,n.t)("Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"categoryFilterHeading",type:"inputText-dev",label:(0,n.t)("Heading"),devices:"desktop",disabled:f}]},{id:"showGroupGroup",type:"group-dev",devices:"desktop",options:[{id:"showGroupFilter",type:"switch-dev",label:(0,n.t)("Group"),devices:"desktop"},{id:"groupFilterHeading",type:"inputText-dev",label:(0,n.t)("Heading"),devices:"desktop",disabled:"off"===t.showGroupFilter}]},{id:"showGroupSearch",type:"group-dev",devices:"desktop",options:[{id:"showSearch",type:"switch-dev",label:(0,n.t)("Search"),devices:"desktop"},{id:"searchPlaceholder",type:"inputText-dev",label:(0,n.t)("Placeholder"),devices:"desktop",disabled:"off"===t.showSearch}]}]},{id:"tabAdvanced",label:(0,n.t)("Advanced"),options:[{id:"addCategoryGroup",type:"group-dev",devices:"desktop",options:[{id:"addCategoryFilter",type:"switch-dev",label:(0,n.t)("Add Category Filter"),devices:"desktop"},{id:"addCategoryFilterParent",type:"select-dev",label:(0,n.t)("Parent"),devices:"desktop",disabled:m,choices:(0,l.getEkklesiaChoiches)({key:"smallgroupsLvl",url:u,subKey:"childs"}),helper:{content:(0,n.t)("Additional category filters require this selection. Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"addCategoryFilterHeading",type:"inputText-dev",label:(0,n.t)("Heading"),devices:"desktop",disabled:m}]},{id:"addCategoryGroup2",type:"group-dev",devices:"desktop",options:[{id:"addCategoryFilter2",type:"switch-dev",label:(0,n.t)("Add Category Filter"),devices:"desktop"},{id:"addCategoryFilterParent2",type:"select-dev",label:(0,n.t)("Parent"),devices:"desktop",disabled:y,choices:(0,l.getEkklesiaChoiches)({key:"smallgroupsLvl",subKey:"childs",url:u}),helper:{content:(0,n.t)("Additional category filters require this selection. Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"addCategoryFilterHeading2",type:"inputText-dev",label:(0,n.t)("Heading"),devices:"desktop",disabled:y}]},{id:"addCategoryGroup3",type:"group-dev",devices:"desktop",options:[{id:"addCategoryFilter3",type:"switch-dev",label:(0,n.t)("Add Category Filter"),devices:"desktop"},{id:"addCategoryFilterParent3",type:"select-dev",label:(0,n.t)("Parent"),devices:"desktop",disabled:g,choices:(0,l.getEkklesiaChoiches)({key:"smallgroupsLvl",subKey:"childs",url:u}),helper:{content:(0,n.t)("Additional category filters require this selection. Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"addCategoryFilterHeading3",type:"inputText-dev",label:(0,n.t)("Heading"),devices:"desktop",disabled:g}]}]}]}]},...(0,a.toolbarParentColors)({v:t,device:o,state:i,component:s,context:c}),{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0}]}},59905:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(78407),i=e=>{const{showImages:t,showMeetingDay:o,showCategory:i,showGroup:n,showStatus:a,showChildcare:l,showResourceLink:s,showPreview:c,detailPage:d,detailButtonText:u,countPerPage:p,showCategoryFilter:f,parentCategory:m,categoryFilterParent:y,categoryFilterHeading:g,showGroupFilter:b,groupFilterHeading:h,showSearch:v,searchPlaceholder:S,showPagination:w,addCategoryFilter:x,addCategoryFilterParent:M,addCategoryFilterHeading:T,addCategoryFilter2:P,addCategoryFilterParent2:C,addCategoryFilterHeading2:k,addCategoryFilter3:_,addCategoryFilterParent3:O,addCategoryFilterHeading3:E}=e,z=(0,r.getAttr)(t,"show_images"),B=(0,r.getAttr)(o,"show_day"),j=(0,r.getAttr)(i,"show_category"),N=(0,r.getAttr)(n,"show_group"),I=(0,r.getAttr)(a,"show_status"),L=(0,r.getAttr)(l,"show_childcare"),D=(0,r.getAttr)(s,"show_resourcelink"),F=(0,r.getAttr)(c,"show_preview"),A=(0,r.getAttr)(f,"show_category_filter"),R=(0,r.getAttr)(b,"show_group_filter"),W=(0,r.getAttr)(v,"show_search"),H=(0,r.getAttr)(w,"show_pagination"),V=(0,r.getAttr)(x,"show_category_filter_add1"),U=(0,r.getAttr)(P,"show_category_filter_add2"),G=(0,r.getAttr)(_,"show_category_filter_add3");return`{{ ekk_group_layout\n ${z}\n ${B}\n ${j}\n ${N}\n ${I}\n ${L}\n ${D}\n ${F}\n detail_page='${(0,r.getDetail)(d)}'\n detail_page_button_text='${u}'\n howmany='${p}'\n ${A}\n parent_category='${m}'\n category_filter_parent='${y}'\n category_filter_heading='${g}'\n ${R}\n group_filter_heading='${h}'\n ${W}\n search_placeholder='${S}'\n ${H}\n ${V}\n category_filter_parent_add1='${M}'\n category_filter_heading_add1='${T}'\n ${U}\n category_filter_parent_add2='${C}'\n category_filter_heading_add2='${k}'\n ${G}\n category_filter_parent_add3='${O}'\n category_filter_heading_add3='${E}'\n }}`}},53021:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsGroupList",{enumerable:!0,get:function(){return T}});const r=w(o(60042)),i=w(o(27378)),n=w(o(67439)),a=w(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=M(o(65918)),u=M(o(89330)),p=M(o(42938)),f=M(o(8981)),m=M(o(51179)),y=M(o(75545)),g=M(o(58306)),b=w(o(85953)),h=o(84237),v=M(o(90689)),S=o(73591);function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function M(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class T extends a.default{static get componentId(){return"MinistryBrandsGroupList"}static defaultValue=b.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(v,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-groupList__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,h.style)(e,t,o)));return i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-groupList__item--meta--title"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-groupList__item :not(.brz-groupList__item--meta--title) a"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--button"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-groupList__item--meta"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-groupList__item--meta--preview *:not(a)"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__pagination a"},i.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),i.default.createElement(l.DynamicContentHelper,{placeholder:(0,S.getPlaceholder)(e),props:{className:"brz-groupList"},blocked:!1,tagName:"div"}))))))))}}},84237:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-groupList":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-groupList__container":{standart:["cssStyleElementOfMinistryBrandsColumnsNumberWithSpacing"]},".brz && .brz-groupList__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-groupList__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz &&:hover .brz-groupList__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-groupList__item--meta--preview *:not(a):hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupList__item--meta:hover":{standart:["getAllCssStyleTypography","cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__pagination a:hover:not(#current)":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__pagination a#current":{standart:["cssStyleElementOfMinistryBrandsPaginationTypography","cssStyleElementOfMinistryBrandsPaginationColorActive"]},".brz && .brz-groupList__item :not(.brz-groupList__item--meta--title, .brz-ministryBrands__item--meta--button) a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__item--meta--button:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--button a:hover":{standart:["cssStyleElementMinistryBrandsButtonsColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},90689:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(69321),l=o(41493),s=o(78407),c=e=>{let{v:t,device:o,state:i,component:c,context:d}=e;const u=r.default.getAll(),{apiUrl:p}=u.modules?.ekklesia??{},{getSourceChoices:f}=u.api?.sourceTypes??{};return[{id:"toolbarGroupList",type:"popover-dev",config:{icon:"t2-group-list",title:(0,n.t)("Group List")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,n.t)("Settings"),options:[{id:"category",devices:"desktop",label:(0,n.t)("Category"),type:"select-dev",choices:(0,s.getEkklesiaChoiches)({key:"smallgroup",url:p})},{id:"group",devices:"desktop",label:(0,n.t)("Group"),type:"select-dev",choices:(0,s.getEkklesiaChoiches)({key:"groups",url:p})}]},{id:"tabColumns",label:(0,n.t)("Columns"),options:[{id:"itemsNumber",label:(0,n.t)("Items"),type:"number-dev",devices:"desktop",config:{min:1,max:20,spinner:!0}},{id:"columnNumber",label:(0,n.t)("Columns"),type:"number-dev",config:{min:1,max:6,spinner:!0}}]},{id:"tabGroupList",label:(0,n.t)("Display"),options:[{id:"showImages",label:(0,n.t)("Images"),type:"switch-dev",devices:"desktop"},{id:"showCategory",type:"switch-dev",label:(0,n.t)("Category"),devices:"desktop"},{id:"showGroup",type:"switch-dev",label:(0,n.t)("Group"),devices:"desktop"},{id:"showCoordinator",type:"switch-dev",label:(0,n.t)("Coordinator"),devices:"desktop"},{id:"showPreview",type:"switch-dev",label:(0,n.t)("Preview"),devices:"desktop"},{id:"showPagination",type:"switch-dev",label:(0,n.t)("Pagination"),devices:"desktop"},{id:"showDay",type:"switch-dev",label:(0,n.t)("Day"),devices:"desktop"},{id:"showTimes",type:"switch-dev",label:(0,n.t)("Times"),devices:"desktop"},{id:"showStatus",type:"switch-dev",label:(0,n.t)("Status"),devices:"desktop"},{id:"showChildcare",type:"switch-dev",label:(0,n.t)("Childcare"),devices:"desktop"},{id:"showResourceLink",type:"switch-dev",label:(0,n.t)("Resource Link"),devices:"desktop"}]},{id:"page",label:(0,n.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,n.t)("Type"),devices:"desktop",choices:f?.()??[],config:{size:"large"},helper:{content:(0,n.t)("URL of group detail page. If used will add a link to the heading to take the user to the group detail page. Requires the 'Group Detail' widget to be placed on a page and that page url/slug placed in this field .")}},{id:"detailPage",type:"internalLink-dev",label:(0,n.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButtonText",type:"inputText-dev",devices:"desktop",label:(0,n.t)("Button Text"),disabled:("detailPage",!(0,a.defaultValueValue)({v:t,key:"detailPage",device:o})),placeholder:(0,n.t)("Button Text..."),helper:{content:(0,n.t)("Button will display if text is entered and a detail page selected.")}}]}]}]},...(0,l.toolbarParentColors)({v:t,device:o,state:i,component:c,context:d}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},73591:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(78407),i=e=>{const{showCategory:t,showGroup:o,showCoordinator:i,category:n,group:a,showPreview:l,detailPageButtonText:s,detailPage:c,itemsNumber:d,showPagination:u,showImages:p,showDay:f,showTimes:m,showStatus:y,showChildcare:g,showResourceLink:b}=e;return`{{ ekk_group_list\n howmany='${d}'\n ${(0,r.getAttr)(t,"show_category")}\n ${(0,r.getAttr)(o,"show_group")}\n ${(0,r.getAttr)(i,"show_coordinator")}\n category='${n}'\n group='${a}'\n ${(0,r.getAttr)(l,"show_preview")}\n ${(0,r.getAttr)(u,"show_pagination")}\n ${(0,r.getAttr)(p,"show_images")}\n ${(0,r.getAttr)(f,"show_day")}\n ${(0,r.getAttr)(m,"show_times")}\n ${(0,r.getAttr)(y,"show_status")}\n ${(0,r.getAttr)(g,"show_childcare")}\n ${(0,r.getAttr)(b,"show_resourcelink")}\n detail_page='${(0,r.getDetail)(c)}'\n detail_page_button_text='${s}'\n }}`}},77640:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsGroupSlider",{enumerable:!0,get:function(){return T}});const r=w(o(60042)),i=w(o(27378)),n=w(o(67439)),a=w(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=M(o(65918)),u=M(o(58306)),p=w(o(79337)),f=M(o(15562)),m=o(9013),y=M(o(95656)),g=M(o(81426)),b=M(o(85364)),h=M(o(77532)),v=M(o(32342)),S=o(24053);function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function M(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class T extends a.default{static get componentId(){return"MinistryBrandsGroupSlider"}static defaultValue=p.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(b,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-groupSlider__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,m.style)(e,t,o)));return i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-swiper-arrow"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(g,f,{allowExtend:!1}),selector:".brz-groupSlider_detail_button .brz-button"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(h,void 0,{allowExtend:!1}),selector:".brz-groupSlider_meta"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(v,void 0,{allowExtend:!1}),selector:".brz-slick-slider__dots li"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-groupSlider_heading"},i.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),i.default.createElement(l.DynamicContentHelper,{placeholder:(0,S.getPlaceholder)(e),props:{className:"brz-ministryBrands brz-groupSlider"},blocked:!1,tagName:"div"})))))))}}},15562:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"buttonBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]},9013:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-ministryBrands.brz-groupSlider":{standart:["cssStylePaddingBG"]},".brz && .brz-groupSlider-swiper-slide":{standart:["cssStyleElementMinistryGroupSliderItemsBetween","cssStyleElementMinistryGroupSliderSlidesToShow"]},".brz && .brz-groupSlider-swiper-slide .brz-groupSlider-info:hover":{standart:["cssStyleBorderRadius","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleElementMinistryGroupSliderItemsAlign"],interval:["cssStyleHoverTransition"]},".brz && .brz-slick-slider__dots li.slick-active":{standart:["cssStyleElementMinistryGroupSliderDotsColorColorActive"],interval:["cssStyleHoverTransition"]},".brz && .brz-slick-slider__dots li:not(.slick-active):hover":{standart:["cssStyleElementMinistryGroupSliderDotsColorColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupSlider-swiper-slide .brz-groupSlider-info .brz-groupSlider_heading:hover":{standart:["cssStyleElementMinistryGroupSliderTitleSpacing","cssStyleElementOfMinistryBrandsTitleTypography","cssStyleElementOfMinistryBrandsTitleColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupSlider-swiper-slide .brz-groupSlider-info .brz-groupSlider_meta:hover":{standart:["cssStyleElementMinistryGroupSliderMetaTypography","cssStyleElementOfMinistryBrandsMetaColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupSlider-swiper-slide .brz-groupSlider-info > *:not(:last-child)":{standart:["cssStyleElementMinistryGroupSliderMetaSpacing"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupSlider-swiper-slide .brz-groupSlider-info p:hover":{standart:["cssStyleElementMinistryGroupSliderMetaTypography","cssStyleElementOfMinistryBrandsMetaColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupSlider-swiper-slide .brz-groupSlider-image img":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && .brz-swiper-arrow_prev:hover":{standart:["cssStyleElementMinistryGroupSliderArrowSize","cssStyleElementMinistryGroupSliderArrowColor","cssStyleElementMinistryGroupSliderArrowSpacingLeft"],interval:["cssStyleHoverTransition"]},".brz && .brz-swiper-arrow_next:hover":{standart:["cssStyleElementMinistryGroupSliderArrowSize","cssStyleElementMinistryGroupSliderArrowColor","cssStyleElementMinistryGroupSliderArrowSpacingRight"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupSlider-swiper-slide .brz-groupSlider-info .brz-groupSlider_detail_button .brz-button:hover":{standart:["cssStyleElementMinistryGroupSliderButtonSize","cssStyleElementMinistryGroupSliderButtonWidth","cssStyleElementMinistryGroupSliderButtonTypography","cssStyleElementMinistryGroupSliderButtonColor","cssStyleElementMinistryGroupSliderButtonBgColor","cssStyleElementMinistryGroupSliderButtonBgGradient","cssStyleElementMinistryGroupSliderButtonBorder","cssStyleElementMinistryGroupSliderButtonBorderRadius","cssStyleElementMinistryGroupSliderButtonBoxShadow"],interval:["cssStyleHoverTransition"]}}})}},95656:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("arrowColorHex"),s("arrowColorPalette"));return[{id:"toolbarArrow",type:"popover-dev",config:{icon:"nc-star",title:(0,i.t)("Arrow")},position:10,options:[{id:"sizeGroup",type:"group-dev",options:[{id:"arrowIconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"arrowIconCustomSize",type:"slider-dev",disabled:"custom"!==s("arrowIconSize"),config:{min:1,max:100,units:[{title:"px",value:"px"}]}}]},{id:"arrowPosition",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("arrowColorOpacity"))}}},position:20,options:[{id:"arrowColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},81426:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("buttonBgColorHex"),c("buttonBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,i.t)("Button")},options:[{id:"groupSize",type:"group-dev",options:[{id:"buttonSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"buttonHeight",label:(0,i.t)("Height"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"buttonWidth",label:(0,i.t)("Width"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},options:[{id:"buttonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("buttonBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabButtonBg",label:(0,i.t)("Bg"),options:[{id:"button",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabText",label:(0,i.t)("Text"),options:[{id:"buttonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"buttonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"buttonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",position:110,icon:"nc-cog"}]}},85364:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(69321),l=o(41493),s=o(78407),c=e=>{let{v:t,device:o,state:i,context:c,component:d}=e;const u=r.default.getAll(),{apiUrl:p}=u.modules?.ekklesia??{},{getSourceChoices:f}=u.api?.sourceTypes??{};return[{id:"toolbarGroupSlider",type:"popover-dev",config:{icon:"t2-group-slider",title:(0,n.t)("Group Slider")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",devices:"desktop",tabs:[{id:"tabSettings",label:(0,n.t)("Settings"),options:[{id:"category",label:(0,n.t)("Category"),type:"select-dev",choices:(0,s.getEkklesiaChoiches)({key:"smallgroup",url:p})},{id:"group",label:(0,n.t)("Group"),type:"select-dev",choices:(0,s.getEkklesiaChoiches)({key:"groups",url:p})},{id:"howmany",label:(0,n.t)("Items"),type:"number-dev",config:{min:1,max:24,spinner:!0}},{id:"slidesToShow",label:(0,n.t)("Columns"),type:"number-dev",config:{min:1,max:4,spinner:!0}}]},{id:"tabDisplay",label:(0,n.t)("Display"),options:[{id:"showArrows",type:"switch-dev",label:(0,n.t)("Arrows")},{id:"showPagination",type:"switch-dev",label:(0,n.t)("Pagination")},{id:"showImages",type:"switch-dev",label:(0,n.t)("Images")},{id:"showMeetingDay",type:"switch-dev",label:(0,n.t)("Meeting day")},{id:"showMeetingTimes",type:"switch-dev",label:(0,n.t)("Meeting times")},{id:"showCategory",type:"switch-dev",label:(0,n.t)("Category")},{id:"showGroup",type:"switch-dev",label:(0,n.t)("Group")},{id:"showStatus",type:"switch-dev",label:(0,n.t)("Status")},{id:"showChildcare",type:"switch-dev",label:(0,n.t)("Childcare")},{id:"showResourceLink",type:"switch-dev",label:(0,n.t)("Resource link")},{id:"showPreview",type:"switch-dev",label:(0,n.t)("Preview")}]},{id:"page",label:(0,n.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,n.t)("Type"),devices:"desktop",choices:f?.()??[],config:{size:"large"},helper:{content:(0,n.t)('URL of group detail page. If used will add a link to the heading to take the user to the group detail page. Requires the "Group Detail" widget to be placed on a page and that page url/slug placed in this field.')}},{id:"detailPage",type:"internalLink-dev",label:(0,n.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButton",type:"inputText-dev",label:(0,n.t)("Button text"),disabled:("detailPage",!(0,a.defaultValueValue)({v:t,key:"detailPage",device:o})),placeholder:(0,n.t)("Button text..."),helper:{content:(0,n.t)("Button will display if text is entered and a detail page selected.")}}]}]}]},...(0,l.toolbarParentColors)({v:t,device:o,state:i,context:c,component:d}),{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"itemsHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"},{icon:"nc-text-align-justify",title:(0,n.t)("Align"),value:"justify"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:90,options:[{id:"itemsBetween",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0}]}},77532:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("metaColorHex"),s("metaColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"metaTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("metaColorOpacity"))}}},position:20,options:[{id:"metaColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:30,options:[{id:"metaSpacing",label:(0,i.t)("Bottom"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}}]}]}},32342:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("dotsBgColorHex"),s("dotsBgColorPalette"));return[{id:"toolbarBgColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Bg"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("dotsBgColorOpacity"))}}},position:80,options:[{id:"dots",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}},24053:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(78407),i=e=>{const{category:t,group:o,howmany:i,slidesToShow:n,showArrows:a,showPagination:l,showImages:s,showMeetingDay:c,showMeetingTimes:d,showCategory:u,showGroup:p,showStatus:f,showChildcare:m,showResourceLink:y,showPreview:g,detailPageButton:b,detailPage:h}=e;return`{{ \n ekk_group_slider\n category='${t}' \n group='${o}' \n howmany='${i}'\n column_count='${n}'\n ${(0,r.getAttr)(a,"show_arrows")}\n ${(0,r.getAttr)(l,"show_pagination")}\n ${(0,r.getAttr)(s,"show_images")}\n ${(0,r.getAttr)(u,"show_category")}\n ${(0,r.getAttr)(p,"show_group")}\n ${(0,r.getAttr)(f,"show_status")}\n ${(0,r.getAttr)(m,"show_childcare")}\n ${(0,r.getAttr)(y,"show_resourcelink")}\n ${(0,r.getAttr)(g,"show_preview")}\n ${(0,r.getAttr)(c,"show_day")}\n ${(0,r.getAttr)(d,"show_times")}\n detail_page='${(0,r.getDetail)(h)}'\n detail_page_button_text='${b}'\n }}`}},63439:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsSermonDetail",{enumerable:!0,get:function(){return T}});const r=w(o(60042)),i=w(o(27378)),n=w(o(67439)),a=w(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=M(o(65918)),u=M(o(89330)),p=M(o(42938)),f=M(o(74765)),m=M(o(8981)),y=M(o(75545)),g=M(o(58306)),b=w(o(1558)),h=o(70432),v=M(o(22310)),S=o(20784);function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function M(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class T extends a.default{static get componentId(){return"MinistryBrandsSermonDetail"}static defaultValue=b.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(v,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-sermonDetail__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,h.style)(e,t,o)));return i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-sermonDetail__item--meta"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-sermonDetail__item--meta--title"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--links--previous"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-sermonDetail__item--meta--links a"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-sermonDetail__item--media a"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-sermonDetail__item--meta--preview p"},i.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),i.default.createElement(l.DynamicContentHelper,{placeholder:(0,S.getPlaceholder)(e),props:{className:"brz-sermonDetail"},blocked:!1,tagName:"div"}))))))))}}},70432:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-sermonDetail":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && :is(.brz-sermonDetail__item--meta, .brz-sermonDetail__item--meta--links)":{standart:["getAllCssStyleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonDetail__item--meta:not(a):hover":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonDetail__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-sermonDetail__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz &&:hover .brz-sermonDetail__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz &&:hover .brz-sermonDetail__item > *":{standart:["cssStyleElementOfMinistryBrandsSpacing"]},".brz && .brz-sermonDetail__item--meta--preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonDetail__item--media:hover":{standart:["cssStyleElementOfMinistryBrandsButtonsHorizontalAlign"]},".brz && .brz-sermonDetail__item--media li:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonDetail__item--meta--links a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--links--previous:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},22310:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(41493),l=o(78407),s=e=>{let{v:t,device:o,state:i,component:s,context:c}=e;const{apiUrl:d}=r.default.getAll()?.modules?.ekklesia??{};return[{id:"toolbarSermonDetail",type:"popover-dev",config:{icon:"t2-sermon-detail",title:(0,n.t)("Sermon Detail")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,n.t)("Settings"),options:[{id:"recentSermons",label:(0,n.t)("Recent Sermons"),type:"select-dev",devices:"desktop",choices:(0,l.getEkklesiaChoiches)({key:"recentSermons",url:d}),helper:{content:(0,n.t)("Select a recent sermon as an example to style/setup. Since this is the sermon detail landing page this sermon will be replaced with the linked sermon.")}}]},{id:"tabButtons",label:(0,n.t)("Buttons"),options:[{id:"showMediaLinksVideo",type:"switch-dev",label:(0,n.t)("Video"),devices:"desktop"},{id:"showMediaLinksAudio",type:"switch-dev",label:(0,n.t)("Audio"),devices:"desktop"},{id:"showMediaLinksDownload",type:"switch-dev",label:(0,n.t)("Download"),devices:"desktop"},{id:"showMediaLinksNotes",type:"switch-dev",label:(0,n.t)("Notes"),devices:"desktop"}]},{id:"tabSermonDetail",label:(0,n.t)("Display"),options:[{id:"showImage",type:"switch-dev",label:(0,n.t)("Image"),devices:"desktop",helper:{content:(0,n.t)("Only select if 'Display Video' is not selected.")}},{id:"showVideo",type:"switch-dev",label:(0,n.t)("Video"),devices:"desktop",helper:{content:(0,n.t)("If this is selected and you would like the image to be a fallback when no video is available make sure to select 'Display Images'.")}},{id:"showAudio",type:"switch-dev",label:(0,n.t)("Audio"),devices:"desktop"},{id:"showTitle",type:"switch-dev",label:(0,n.t)("Title"),devices:"desktop"},{id:"showDate",type:"switch-dev",label:(0,n.t)("Date"),devices:"desktop"},{id:"showCategory",type:"switch-dev",label:(0,n.t)("Category"),devices:"desktop"},{id:"showGroup",type:"switch-dev",label:(0,n.t)("Group"),devices:"desktop"},{id:"showSeries",type:"switch-dev",label:(0,n.t)("Series"),devices:"desktop"},{id:"showPreacher",type:"switch-dev",label:(0,n.t)("Preacher"),devices:"desktop"},{id:"showPassage",type:"switch-dev",label:(0,n.t)("Passage"),devices:"desktop"},{id:"showMetaHeadings",type:"switch-dev",label:(0,n.t)("Meta Headings"),devices:"desktop"},{id:"showPreview",type:"switch-dev",label:(0,n.t)("Preview"),devices:"desktop"},{id:"showPreviousPage",type:"switch-dev",devices:"desktop",label:(0,n.t)("Previous Page")}]}]}]},...(0,a.toolbarParentColors)({v:t,device:o,state:i,component:s,context:c}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},20784:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(78407),i=e=>{const{showImage:t,showVideo:o,showAudio:i,showMediaLinksVideo:n,showMediaLinksAudio:a,showMediaLinksDownload:l,showMediaLinksNotes:s,showTitle:c,showDate:d,showCategory:u,showGroup:p,showSeries:f,showPreacher:m,showPassage:y,showMetaHeadings:g,showPreview:b,recentSermons:h,showPreviousPage:v}=e;return`{{ekk_sermon_detail\n sermons_recent='${h}'\n ${(0,r.getAttr)(t,"show_image")}\n ${(0,r.getAttr)(o,"show_video")}\n ${(0,r.getAttr)(i,"show_audio")}\n ${(0,r.getAttr)(n,"show_media_links_video")}\n ${(0,r.getAttr)(a,"show_media_links_audio")}\n ${(0,r.getAttr)(l,"show_media_links_download")}\n ${(0,r.getAttr)(s,"show_media_links_notes")}\n ${(0,r.getAttr)(c,"show_title")}\n ${(0,r.getAttr)(d,"show_date")}\n ${(0,r.getAttr)(u,"show_category")}\n ${(0,r.getAttr)(p,"show_group")}\n ${(0,r.getAttr)(f,"show_series")}\n ${(0,r.getAttr)(m,"show_preacher")}\n ${(0,r.getAttr)(y,"show_passage")}\n ${(0,r.getAttr)(g,"show_meta_headings")}\n ${(0,r.getAttr)(b,"show_preview")} \n ${(0,r.getAttr)(v,"previous_page")} \n }}`}},60436:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsSermonFeatured",{enumerable:!0,get:function(){return T}});const r=w(o(60042)),i=w(o(27378)),n=w(o(67439)),a=w(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=M(o(65918)),u=M(o(89330)),p=M(o(42938)),f=M(o(56777)),m=M(o(8981)),y=M(o(75545)),g=M(o(58306)),b=w(o(9796)),h=o(8644),v=M(o(63938)),S=o(45645);function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function M(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class T extends a.default{static get componentId(){return"MinistryBrandsSermonFeatured"}static defaultValue=b.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(v,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-sermonFeatured__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,h.style)(e,t,o)));return i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-sermonFeatured__item--meta"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-sermonFeatured__item--meta--title"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-sermonFeatured__item--media--links a"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-sermonFeatured__item--meta ~ a"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--button"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-sermonFeatured__item--meta--preview"},i.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),i.default.createElement(l.DynamicContentHelper,{placeholder:(0,S.getPlaceholder)(e),props:{className:"brz-sermonFeatured"},blocked:!1,tagName:"div"}))))))))}}},8644:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-sermonFeatured":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonFeatured__item--meta:hover":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && :is(.brz-sermonFeatured__item--meta, .brz-sermonFeatured__item--meta ~ a):hover":{standart:["getAllCssStyleTypography"],interval:["cssStyleHoverTransition"]},".brz && .brz-sermonFeatured__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-sermonFeatured__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz &&:hover .brz-sermonFeatured__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz &&:hover .brz-sermonFeatured__item > *":{standart:["cssStyleElementOfMinistryBrandsSpacing"]},".brz && .brz-sermonFeatured__item--meta--preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-sermonFeatured__item--meta ~ a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-sermonFeatured__item--media--links a:hover":{standart:["cssStyleElementOfMinistryBrandsMediaTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__item--meta--button:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsColor","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition"]}}})}},63938:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(69321),l=o(41493),s=o(78407),c=e=>{let{v:t,device:o,component:i,context:c,state:d}=e;const u=r.default.getAll(),{apiUrl:p}=u.modules?.ekklesia??{},{getSourceChoices:f}=u.api?.sourceTypes??{},m=e=>(0,a.defaultValueValue)({v:t,key:e,device:o}),y="on"===m("sermonLatest");return[{id:"toolbarSermonFeatured",type:"popover-dev",config:{icon:"t2-sermon-featured",title:(0,n.t)("Sermon Featured")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,n.t)("Settings"),options:[{id:"sermonLatest",type:"switch-dev",devices:"desktop",label:(0,n.t)("Show Latest"),helper:{content:(0,n.t)("This option automatically shows the latest sermon and overrides the 'Recent Sermons' and 'Sermon Slug' options.")}},{id:"category",devices:"desktop",label:(0,n.t)("Category"),type:"select-dev",disabled:!y,choices:(0,s.getEkklesiaChoiches)({key:"sermon",url:p}),helper:{content:(0,n.t)("This option only applies to 'Show Latest'.")}},{id:"group",devices:"desktop",label:(0,n.t)("Group"),type:"select-dev",disabled:!y,choices:(0,s.getEkklesiaChoiches)({key:"groups",url:p}),helper:{content:(0,n.t)("This option only applies to 'Show Latest'.")}},{id:"series",devices:"desktop",label:(0,n.t)("Series"),type:"select-dev",disabled:!y,choices:(0,s.getEkklesiaChoiches)({key:"series",url:p}),helper:{content:(0,n.t)("This option only applies to 'Show Latest'.")}},{id:"sermonRecentList",label:(0,n.t)("Recent Sermons"),type:"select-dev",devices:"desktop",disabled:y,choices:(0,s.getEkklesiaChoiches)({key:"recentSermons",url:p}),helper:{content:(0,n.t)("Select a recent sermon. Use only if you are not using 'Sermon Slug' below and 'Show Latest' is set to 'Off'.")}},{id:"sermonSlug",type:"inputText-dev",devices:"desktop",disabled:y,label:(0,n.t)("Slug"),placeholder:(0,n.t)("Sermon Slug..."),helper:{content:(0,n.t)("Slug of sermon (my-sermon-name). Use only if you are not selecting from the 'Recent Sermons' above and 'Show Latest' is set to 'Off'.")}},{id:"features",type:"switch-dev",devices:"desktop",label:(0,n.t)("Featured"),disabled:!y||"on"===m("nonfeatures"),helper:{content:(0,n.t)("This option only applies to 'Show Latest' and if this is selected the 'Non featured' option does not apply.")}},{id:"nonfeatures",type:"switch-dev",devices:"desktop",label:(0,n.t)("No featured"),disabled:!y||"on"===m("features"),helper:{content:(0,n.t)("This option only applies to 'Show Latest' and if this is selected the 'Featured' option does not apply.")}}]},{id:"tabSermonDisplay",label:(0,n.t)("Display"),options:[{id:"showImage",type:"switch-dev",devices:"desktop",label:(0,n.t)("Image"),helper:{content:(0,n.t)("Only select if 'Display Video' is not selected.")}},{id:"showVideo",type:"switch-dev",devices:"desktop",label:(0,n.t)("Video"),helper:{content:(0,n.t)("If this is selected and you would like the image to be a fallback when no video is available make sure to select 'Display Images'.")}},{id:"showAudio",type:"switch-dev",devices:"desktop",label:(0,n.t)("Audio")},{id:"showTitle",type:"switch-dev",devices:"desktop",label:(0,n.t)("Title")},{id:"showDate",type:"switch-dev",devices:"desktop",label:(0,n.t)("Date")},{id:"showCategory",type:"switch-dev",devices:"desktop",label:(0,n.t)("Category")},{id:"showGroup",type:"switch-dev",devices:"desktop",label:(0,n.t)("Group")},{id:"showSeries",type:"switch-dev",devices:"desktop",label:(0,n.t)("Series")},{id:"showPreacher",type:"switch-dev",devices:"desktop",label:(0,n.t)("Preacher")},{id:"showPassage",type:"switch-dev",devices:"desktop",label:(0,n.t)("Passage")},{id:"showMetaHeadings",type:"switch-dev",devices:"desktop",label:(0,n.t)("Meta Headings")},{id:"showContent",type:"switch-dev",devices:"desktop",label:(0,n.t)("Content")},{id:"showMediaLinks",type:"switch-dev",devices:"desktop",label:(0,n.t)("Media Links")},{id:"showPreview",type:"switch-dev",devices:"desktop",label:(0,n.t)("Preview")}]},{id:"page",label:(0,n.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,n.t)("Type"),devices:"desktop",choices:f?.()??[],config:{size:"large"},helper:{content:(0,n.t)("URL of sermon detail page. If used will add a link to the heading to take the user to the sermon detail page. Requires the 'Sermon Detail' widget to be placed on a page and that page url/slug placed in this field .")}},{id:"detailPage",type:"internalLink-dev",label:(0,n.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButtonText",type:"inputText-dev",label:(0,n.t)("Button"),devices:"desktop",placeholder:(0,n.t)("Button Text..."),disabled:!m("detailPage")}]}]}]},...(0,l.toolbarParentColors)({v:t,device:o,state:d,component:i,context:c}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},45645:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(78407),i=e=>{const{showImage:t,showVideo:o,showAudio:i,showTitle:n,showDate:a,showCategory:l,showGroup:s,showSeries:c,showPreacher:d,showPassage:u,showMetaHeadings:p,showContent:f,sermonLatest:m,sermonRecentList:y,sermonSlug:g,category:b,group:h,series:v,features:S,nonfeatures:w,showMediaLinks:x,showPreview:M,detailPageButtonText:T,detailPage:P}=e,C=(0,r.getAttr)(t,"show_image"),k=(0,r.getAttr)(o,"show_video"),_=(0,r.getAttr)(i,"show_audio"),O=(0,r.getAttr)(n,"show_title"),E=(0,r.getAttr)(a,"show_date"),z=(0,r.getAttr)(l,"show_category"),B=(0,r.getAttr)(s,"show_group"),j=(0,r.getAttr)(c,"show_series"),N=(0,r.getAttr)(d,"show_preacher"),I=(0,r.getAttr)(u,"show_passage"),L=(0,r.getAttr)(p,"show_meta_headings"),D=(0,r.getAttr)(f,"show_content"),F=(0,r.getAttr)(x,"show_media_links"),A=(0,r.getAttr)(M,"show_preview");return`{{ekk_sermon_featured\n sermon_recent_list='${y}'\n sermon_slug='${g}'\n ${C}\n ${k}\n ${_}\n ${O}\n ${E}\n ${z}\n ${B}\n ${j}\n ${N}\n ${I}\n ${L}\n ${D}\n ${(0,r.getAttr)(m,"sermon_latest")}\n category='${b}'\n group='${h}'\n series='${v}'\n ${(0,r.getFeatures)(S,"features")}\n ${(0,r.getFeatures)(w,"nonfeatures")}\n ${F}\n ${A}\n detail_page_button_text='${T}'\n detail_page='${(0,r.getDetail)(P)}'\n }}`}},49391:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsSermonLayout",{enumerable:!0,get:function(){return k}});const r=T(o(60042)),i=T(o(27378)),n=T(o(67439)),a=T(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=C(o(65918)),u=C(o(86404)),p=C(o(95663)),f=C(o(42938)),m=C(o(56777)),y=C(o(8981)),g=C(o(51179)),b=C(o(75545)),h=C(o(58306)),v=T(o(69077)),S=o(87661),w=C(o(41317)),x=C(o(39722)),M=o(65642);function T(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class k extends a.default{static get componentId(){return"MinistryBrandsSermonLayout"}static defaultValue=v.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(x,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-ministryBrands","brz-sermonLayout",(0,c.css)(this.getComponentId(),this.getId(),(0,S.style)(e,t,o)));return i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(h,void 0,{allowExtend:!1}),selector:".brz-sermonLayout__item--meta--title"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-sermonLayout__item :not(.brz-sermonLayout__item--meta--title, .brz-sermonLayout__item--detail-button, .brz-sermonLayout__item--media) a"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-sermonLayout__item--media a"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-sermonLayout__item--meta"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(b,void 0,{allowExtend:!1}),selector:".brz-sermonLayout__item--preview"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__pagination"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(p,u,{allowExtend:!1}),selector:".brz-sermonLayout__filter"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(w,void 0,{allowExtend:!1}),selector:".brz-sermonLayout__item--detail-button"},i.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-sermonLayout__wrapper"}),i.default.createElement(l.DynamicContentHelper,{placeholder:(0,M.getPlaceholder)(e),props:{className:a},blocked:!1,tagName:"div"}))))))))))}}},87661:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-sermonLayout__container":{standart:["cssStyleElementOfMinistryBrandsColumnsNumberWithSpacing"]},".brz &&:hover .brz-sermonLayout__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-sermonLayout__item :is(.brz-sermonLayout__item--meta, .brz-sermonLayout__item--meta ~ a)":{standart:["getAllCssStyleTypography"]},".brz && .brz-sermonLayout__item--meta:hover":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__item .brz-sermonLayout__item--media a:hover":{standart:["cssStyleElementOfMinistryBrandsMediaTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-sermonLayout__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && .brz-sermonLayout__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__item--meta--title:hover a":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__item--preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__pagination a:hover:not(#current)":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__pagination a#current":{standart:["cssStyleElementOfMinistryBrandsPaginationColorActive","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__item :not(.brz-sermonLayout__item--meta--title, .brz-sermonLayout__item--detail-button, .brz-sermonLayout__item--media) a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter:hover":{standart:["cssStyleMinistryElementFiltersBgColor","cssStyleMinistryElementFiltersBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter :is(.brz-sermonLayout__filter--form-selectWrapper, fieldset):hover":{standart:["cssStyleMinistryElementFiltersBorder","cssStyleMinistryElementFiltersTypography","cssStyleMinistryElementFiltersInputBgColor","cssStyleMinistryElementFiltersInputGradientColor","cssStyleMinistryElementFiltersInputColor","cssStyleMinistryElementFiltersBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter .brz-sermonLayout__filter--form-selectWrapper:hover select option":{standart:["cssStyleMinistryElementFiltersInputBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter .brz-sermonLayout__filter--form-selectWrapper:hover::after":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter input:hover":{standart:["cssStyleMinistryElementFiltersTypography","cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter fieldset:hover":{standart:["cssStyleMinistryElementFiltersInputBgColor","cssStyleMinistryElementFiltersInputGradientColor","cssStyleMinistryElementFiltersBorder","cssStyleMinistryElementFiltersBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter fieldset:hover input::placeholder":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter fieldset:hover button":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__item--detail-button a:hover":{standart:["cssStyleElementSermonLayoutButtonsTypography","cssStyleElementSermonLayoutButtonsBgColor","cssStyleElementSermonLayoutButtonsBgGradient","cssStyleElementSermonLayoutButtonsColor","cssStyleElementSermonLayoutButtonsBoxShadow","cssStyleElementSermonLayoutButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},41317:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("detailButtonBgColorHex"),s("detailButtonBgColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"detailButtonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("detailButtonBgColorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBgColor",label:(0,i.t)("Bg"),options:[{id:"detailButton",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabColor",label:(0,i.t)("Text"),options:[{id:"detailButtonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"detailButtonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabShadow",label:(0,i.t)("Shadow"),options:[{id:"detailButtonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},39722:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(41493),l=e=>{let{v:t,device:o,state:i,component:l,context:s}=e;const{getSourceChoices:c}=r.default.getAll().api?.sourceTypes??{};return[{id:"toolbarSermonLayout",type:"popover-dev",config:{icon:"t2-sermon-layout",title:(0,n.t)("Sermon Layout")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabColumns",label:(0,n.t)("Columns"),options:[{id:"howmany",type:"number-dev",label:(0,n.t)("Items"),devices:"desktop",config:{min:1,max:24,spinner:!0}},{id:"columnNumber",label:(0,n.t)("Columns"),type:"number-dev",config:{min:1,max:6,spinner:!0}}]},{id:"tabSermonLayout",label:(0,n.t)("Display"),options:[{id:"showPagination",label:(0,n.t)("Pagination"),type:"switch-dev",devices:"desktop"},{id:"showImages",label:(0,n.t)("Images"),type:"switch-dev",devices:"desktop"},{id:"showVideo",label:(0,n.t)("Video"),type:"switch-dev",devices:"desktop",helper:{content:(0,n.t)('If this is selected and you would like the image to be a fallback when no video is available make sure to select "Images".')}},{id:"showAudio",label:(0,n.t)("Audio"),type:"switch-dev",devices:"desktop"},{id:"showMediaLinks",label:(0,n.t)("Media Links"),type:"switch-dev",devices:"desktop"},{id:"showTitle",label:(0,n.t)("Title"),type:"switch-dev",devices:"desktop"},{id:"showDate",label:(0,n.t)("Date"),type:"switch-dev",devices:"desktop"},{id:"showCategory",label:(0,n.t)("Category"),type:"switch-dev",devices:"desktop"},{id:"showGroup",label:(0,n.t)("Group"),type:"switch-dev",devices:"desktop"},{id:"showSeries",label:(0,n.t)("Series"),type:"switch-dev",devices:"desktop"},{id:"showPreacher",label:(0,n.t)("Preacher"),type:"switch-dev",devices:"desktop"},{id:"showPassage",label:(0,n.t)("Passage"),type:"switch-dev",devices:"desktop"},{id:"showMeta",label:(0,n.t)("Meta"),type:"switch-dev",devices:"desktop"},{id:"showPreview",label:(0,n.t)("Preview"),type:"switch-dev",devices:"desktop"}]},{id:"page",label:(0,n.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,n.t)("Type"),devices:"desktop",choices:c?.()??[],config:{size:"large"},helper:{content:(0,n.t)('URL of sermon detail page. If used will add a link to the heading to take the user to the sermon detail page. Requires the "Sermon Detail" widget to be placed on a page and that page url/slug placed in this field.')}},{id:"detailPage",type:"internalLink-dev",label:(0,n.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButtonText",type:"inputText-dev",label:(0,n.t)("Button Text"),devices:"desktop",placeholder:(0,n.t)("Button Text..."),disabled:!t.detailPage,helper:{content:(0,n.t)("Button will display if text is entered and a detail page selected.")}}]},{id:"tabSermonLayoutFilter",label:(0,n.t)("Filter"),options:[{id:"groupGroupFilter",type:"group-dev",devices:"desktop",options:[{id:"showGroupFilter",type:"switch-dev",label:(0,n.t)("Group Filter")},{id:"groupFilterHeading",type:"inputText-dev",label:(0,n.t)("Heading"),disabled:"off"===t.showGroupFilter}]},{id:"groupCategoryFilter",type:"group-dev",devices:"desktop",options:[{id:"showCategoryFilter",type:"switch-dev",label:(0,n.t)("Category Filter")},{id:"categoryFilterHeading",type:"inputText-dev",label:(0,n.t)("Heading"),disabled:"off"===t.showCategoryFilter}]},{id:"groupSeriesFilter",type:"group-dev",devices:"desktop",options:[{id:"showSeriesFilter",type:"switch-dev",label:(0,n.t)("Series Filter")},{id:"seriesFilterHeading",type:"inputText-dev",label:(0,n.t)("Heading"),disabled:"off"===t.showSeriesFilter}]},{id:"groupSpeakerFilter",type:"group-dev",devices:"desktop",options:[{id:"showSpeakerFilter",type:"switch-dev",label:(0,n.t)("Speaker Filter")},{id:"speakerFilterHeading",type:"inputText-dev",label:(0,n.t)("Heading"),disabled:"off"===t.showSpeakerFilter}]},{id:"groupSearchFilter",type:"group-dev",devices:"desktop",options:[{id:"showSearchFilter",type:"switch-dev",label:(0,n.t)("Search Filter")},{id:"searchFilterPlacehoder",type:"inputText-dev",label:(0,n.t)("Placeholder"),disabled:"off"===t.showSearchFilter}]}]}]}]},...(0,a.toolbarParentColors)({v:t,device:o,state:i,component:l,context:s}),{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0}]}},65642:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(78407),i=e=>{const{showImages:t,showPagination:o,showVideo:i,showAudio:n,showMediaLinks:a,showTitle:l,showDate:s,showCategory:c,showGroup:d,showSeries:u,showPreacher:p,showPassage:f,showMeta:m,showPreview:y,showGroupFilter:g,showCategoryFilter:b,showSeriesFilter:h,showSpeakerFilter:v,showSearchFilter:S,detailPage:w,detailPageButtonText:x,howmany:M,groupFilterHeading:T,categoryFilterHeading:P,seriesFilterHeading:C,speakerFilterHeading:k,searchFilterPlacehoder:_}=e;return`{{ ekk_sermon_layout \n ${(0,r.getAttr)(t,"show_images")} \n ${(0,r.getAttr)(o,"show_pagination")} \n ${(0,r.getAttr)(i,"show_video")} \n ${(0,r.getAttr)(n,"show_audio")} \n ${(0,r.getAttr)(a,"show_media_links")} \n ${(0,r.getAttr)(l,"show_title")} \n ${(0,r.getAttr)(s,"show_date")} \n ${(0,r.getAttr)(c,"show_category")} \n ${(0,r.getAttr)(d,"show_group")} \n ${(0,r.getAttr)(u,"show_series")} \n ${(0,r.getAttr)(p,"show_preacher")} \n ${(0,r.getAttr)(f,"show_passage")} \n ${(0,r.getAttr)(m,"show_meta_headings")} \n ${(0,r.getAttr)(y,"show_preview")} \n ${(0,r.getAttr)(g,"show_group_filter")} \n ${(0,r.getAttr)(b,"show_category_filter")} \n ${(0,r.getAttr)(h,"show_series_filter")} \n ${(0,r.getAttr)(v,"show_speaker_filter")} \n ${(0,r.getAttr)(S,"show_search")} \n detail_page='${(0,r.getDetail)(w)}'\n detail_page_button_text='${x}'\n group_filter_heading='${T}'\n category_filter_heading='${P}' \n series_filter_heading='${C}' \n speaker_filter_heading='${k}' \n search_placeholder='${_}' \n howmany='${M}'\n }}`}},167:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsSermonList",{enumerable:!0,get:function(){return P}});const r=x(o(60042)),i=x(o(27378)),n=x(o(67439)),a=x(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=T(o(65918)),u=T(o(89330)),p=T(o(42938)),f=T(o(56777)),m=T(o(8981)),y=T(o(51179)),g=T(o(75545)),b=T(o(58306)),h=x(o(58846)),v=o(70510),S=T(o(41726)),w=o(72542);function x(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class P extends a.default{static get componentId(){return"MinistryBrandsSermonList"}static defaultValue=h.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(S,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-sermonList__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,v.style)(e,t,o)));return i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(b,void 0,{allowExtend:!1}),selector:".brz-sermonList__item--meta--title"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-sermonList__item--meta--link a"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--button"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-sermonList__item--media a"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-sermonList__item--meta"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-sermonList__item--meta--preview"},i.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__pagination a"},i.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),i.default.createElement(l.DynamicContentHelper,{placeholder:(0,w.getPlaceholder)(e),props:{className:"brz-sermonList"},blocked:!1,tagName:"div"})))))))))}}},70510:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-sermonList":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-sermonList__container":{standart:["cssStyleElementOfMinistryBrandsColumnsNumberWithSpacing"]},".brz &&:hover .brz-sermonList__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && :is(.brz-sermonList__item--meta, .brz-sermonList__item--meta--link):hover":{standart:["getAllCssStyleTypography"],interval:["cssStyleHoverTransition"]},".brz && .brz-sermonList__item--meta:not(a):hover":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__pagination a:hover:not(#current)":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__pagination a#current":{standart:["cssStyleElementOfMinistryBrandsPaginationColorActive","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-sermonList__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && .brz-sermonList__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition"]},".brz && .brz-sermonList__item--meta--preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__pagination a:hover":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__item--meta--button:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsColor","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonList__item--media a:hover":{standart:["cssStyleElementOfMinistryBrandsMediaTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-sermonList__item--meta--link a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]}}})}},41726:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(69321),l=o(41493),s=o(78407),c=e=>{let{v:t,device:o,state:i,component:c,context:d}=e;const u=r.default.getAll(),{apiUrl:p}=u.modules?.ekklesia??{},{getSourceChoices:f}=u.api?.sourceTypes??{};return[{id:"toolbarSermonList",type:"popover-dev",config:{icon:"t2-sermon-list",title:(0,n.t)("Sermon List")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,n.t)("Settings"),options:[{id:"category",label:(0,n.t)("Category"),type:"select-dev",devices:"desktop",choices:(0,s.getEkklesiaChoiches)({key:"sermon",url:p})},{id:"group",label:(0,n.t)("Group"),type:"select-dev",devices:"desktop",choices:(0,s.getEkklesiaChoiches)({key:"groups",url:p})},{id:"series",label:(0,n.t)("Series"),type:"select-dev",devices:"desktop",choices:(0,s.getEkklesiaChoiches)({key:"series",url:p})}]},{id:"tabColumns",label:(0,n.t)("Columns"),options:[{id:"itemsNumber",label:(0,n.t)("Items"),devices:"desktop",type:"number-dev",config:{min:1,max:20,spinner:!0}},{id:"columnNumber",label:(0,n.t)("Columns"),type:"number-dev",config:{min:1,max:6,spinner:!0}}]},{id:"tabSermonList",label:(0,n.t)("Display"),options:[{id:"showTitle",label:(0,n.t)("Title"),type:"switch-dev",devices:"desktop"},{id:"showVideo",label:(0,n.t)("Video"),type:"switch-dev",devices:"desktop",helper:{content:(0,n.t)("If this is selected and you would like the image to be a fallback when no video is available make sure to select 'Display Image'.")}},{id:"showImages",label:(0,n.t)("Images"),type:"switch-dev",devices:"desktop"},{id:"showAudio",label:(0,n.t)("Audio"),type:"switch-dev",devices:"desktop"},{id:"showMeta",label:(0,n.t)("Meta"),type:"switch-dev",devices:"desktop"},{id:"showDate",label:(0,n.t)("Date"),type:"switch-dev",devices:"desktop"},{id:"showCategory",label:(0,n.t)("Category"),type:"switch-dev",devices:"desktop"},{id:"showGroup",label:(0,n.t)("Group"),type:"switch-dev",devices:"desktop"},{id:"showPreacher",label:(0,n.t)("Preacher"),type:"switch-dev",devices:"desktop"},{id:"showPassages",label:(0,n.t)("Passages"),type:"switch-dev",devices:"desktop"},{id:"showSeries",label:(0,n.t)("Series"),type:"switch-dev",devices:"desktop"},{id:"showMedia",label:(0,n.t)("Media"),type:"switch-dev",devices:"desktop"},{id:"showPreview",label:(0,n.t)("Preview"),type:"switch-dev",devices:"desktop"},{id:"showPagination",label:(0,n.t)("Pagination"),type:"switch-dev",devices:"desktop"},{id:"features",label:(0,n.t)("Featured"),type:"switch-dev",devices:"desktop",helper:{content:(0,n.t)("If this is selected the Non featured Only option does not apply.")}},{id:"nonfeatures",label:(0,n.t)("No featured"),type:"switch-dev",devices:"desktop",helper:{content:(0,n.t)("If this is selected the Featured Only option does not apply.")}}]},{id:"page",label:(0,n.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,n.t)("Type"),devices:"desktop",choices:f?.()??[],config:{size:"large"},helper:{content:(0,n.t)("URL of sermon detail page. If used will add a link to the heading to take the user to the sermon detail page. Requires the 'Sermon Detail' widget to be placed on a page and that page url/slug placed in this field .")}},{id:"detailPage",type:"internalLink-dev",label:(0,n.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButton",devices:"desktop",type:"inputText-dev",placeholder:(0,n.t)("Button text..."),label:(0,n.t)("Button"),disabled:("detailUrl",!(0,a.defaultValueValue)({v:t,key:"detailUrl",device:o})),helper:{content:(0,n.t)("Button will display if text is entered and a detail page selected.")}}]}]}]},...(0,l.toolbarParentColors)({v:t,device:o,state:i,component:c,context:d}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},72542:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(78407),i=e=>{const{itemsNumber:t,showTitle:o,showImages:i,showDate:n,showCategory:a,showGroup:l,showPreacher:s,showPassages:c,showMedia:d,showPreview:u,showVideo:p,showAudio:f,showSeries:m,showPagination:y,showMeta:g,group:b,category:h,series:v,detailPageButton:S,features:w,nonfeatures:x,detailPage:M}=e,T=(0,r.getAttr)(o,"show_title"),P=(0,r.getAttr)(y,"show_pagination"),C=(0,r.getAttr)(l,"show_group"),k=(0,r.getAttr)(s,"show_preacher"),_=(0,r.getAttr)(c,"show_passage"),O=(0,r.getAttr)(u,"show_preview"),E=(0,r.getAttr)(p,"show_inline_video"),z=(0,r.getAttr)(f,"show_inline_audio"),B=(0,r.getAttr)(n,"show_date"),j=(0,r.getAttr)(i,"show_images"),N=(0,r.getAttr)(m,"show_series"),I=(0,r.getAttr)(a,"show_category"),L=(0,r.getAttr)(d,"show_media_links"),D=(0,r.getAttr)(g,"show_meta_headings");return`{{ekk_sermon_list \n howmany='${t}'\n group='${b}'\n category='${h}'\n series='${v}'\n ${(0,r.getFeatures)(w,"features")}\n ${(0,r.getFeatures)(x,"nonfeatures")}\n ${B}\n ${P}\n ${j}\n ${E}\n ${z}\n ${L}\n ${T}\n ${I}\n ${C}\n ${N}\n ${k}\n ${_}\n ${D}\n ${O}\n detail_url='${(0,r.getDetail)(M)}'\n detail_page_button_text='${S}'\n sticky_space='0'\n }}`}},55394:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{MinistryBrandsGroupLayout:function(){return r.MinistryBrandsGroupLayout},MinistryBrandsGroupSlider:function(){return i.MinistryBrandsGroupSlider},MinistryBrandsEventLayout:function(){return n.MinistryBrandsEventLayout},MinistryBrandsEventCalendar:function(){return a.MinistryBrandsEventCalendar},MinistryBrandsSermonLayout:function(){return l.MinistryBrandsSermonLayout},MinistryBrandsSermonList:function(){return s.MinistryBrandsSermonList},MinistryBrandsSermonFeatured:function(){return c.MinistryBrandsSermonFeatured},MinistryBrandsSermonDetail:function(){return d.MinistryBrandsSermonDetail},MinistryBrandsGroupList:function(){return u.MinistryBrandsGroupList},MinistryBrandsGroupDetail:function(){return p.MinistryBrandsGroupDetail},MinistryBrandsEventFeatured:function(){return f.MinistryBrandsEventFeatured},MinistryBrandsGroupFeatured:function(){return m.MinistryBrandsGroupFeatured},MinistryBrandsEventList:function(){return y.MinistryBrandsEventList},MinistryBrandsFormWidget:function(){return g.MinistryBrandsFormWidget},MinistryBrandsEventDetail:function(){return b.MinistryBrandsEventDetail}});const r=o(61798),i=o(77640),n=o(54370),a=o(11185),l=o(49391),s=o(167),c=o(60436),d=o(63439),u=o(53021),p=o(94643),f=o(84621),m=o(21519),y=o(69443),g=o(34743),b=o(40866)},65918:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(16526);function l(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,n.t)("Padding"),position:50},{id:"mediaBorder",type:"corners-dev",label:(0,n.t)("Media Corner"),position:65},{id:"border",type:"corners-dev",label:(0,n.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),options:[{id:"hoverTransition",label:(0,n.t)("Hover Transition"),disabled:(0,a.isStory)(r.default.getAll()),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,n.t)("Padding"),devices:"responsive",position:50},{id:"border",type:"corners-dev",label:(0,n.t)("Corner"),devices:"responsive",position:65}]}]}]}},86404:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Filter");function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"filterBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}]}]}},63786:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("dateColorHex"),s("dateColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"dateTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("dateColorOpacity"))}}},position:80,options:[{id:"dateColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},89330:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("detailButtonBgColorHex"),s("detailButtonBgColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"detailButtonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("detailButtonBgColorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBgColor",label:(0,i.t)("Bg"),options:[{id:"detailButton",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabColor",label:(0,i.t)("Text"),options:[{id:"detailButtonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"detailButtonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabShadow",label:(0,i.t)("Shadow"),options:[{id:"detailButtonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},95663:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("filterBgColorHex"),s("filterBgColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"filterTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("filterBgColorOpacity"))}}},position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabFilterBg",label:(0,i.t)("Bg"),options:[{id:"filter",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabInputBg",label:(0,i.t)("Input"),options:[{id:"input",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabInputColor",label:(0,i.t)("Text"),options:[{id:"input",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"inputBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop"}]}},41488:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("h4ColorHex"),s("h4ColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"h4Typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("h4ColorOpacity"))}}},position:80,options:[{id:"h4Color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},42938:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("metaLinksColorHex"),s("metaLinksColorPalette"));return[{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("metaLinksColorOpacity"))}}},position:80,options:[{id:"metaLinksColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},93495:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("listColorHex"),s("listColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:10,options:[{id:"listTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("listColorOpacity"))}}},position:20,options:[{id:"listColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"listType",type:"toggle-dev",position:30,choices:[{icon:"nc-list-numbers",title:(0,i.t)("List"),value:"ordered"},{icon:"nc-list-bullet",title:(0,i.t)("List"),value:"bullet"},{icon:"nc-list-default",title:(0,i.t)("List"),value:"default"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:40,options:[{id:"listPadding",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},56777:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("metaLinksColorHex"),s("metaLinksColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"mediaLinksTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("metaLinksColorOpacity"))}}},position:80,options:[{id:"metaLinksColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},74765:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("metaLinksColorHex"),s("metaLinksColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"metaLinksTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("metaLinksColorOpacity"))}}},position:80,options:[{id:"metaLinksColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},8981:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("colorOpacity"))}}},position:80,options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},51179:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("paginationColorHex"),s("paginationColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"paginationTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("paginationColorOpacity"))}}},position:80,options:[{id:"paginationColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}},59511:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("paragraphColorHex"),s("paragraphColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"paragraphTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("paragraphColorOpacity"))}}},position:80,options:[{id:"paragraphColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},41493:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"toolbarParentColors",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("parentBgColorHex"),s("parentBgColorPalette"));return[{id:"toolbarParentColors",type:"popover-dev",devices:"desktop",position:70,config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("parentBgColorOpacity"))}}},options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabParentBg",label:(0,i.t)("Background"),options:[{id:"parent",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabParentBorder",label:(0,i.t)("Border"),options:[{id:"parentBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabParentBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"parentBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},75545:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("previewColorHex"),s("previewColorPalette"));return[{id:"toolbarTypographyContent",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"previewTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorContent",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("previewColorOpacity"))}}},position:80,options:[{id:"previewColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},8382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("registerButtonBgColorHex"),s("registerButtonBgColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"registerButtonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("registerButtonBgColorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBgColor",label:(0,i.t)("Bg"),options:[{id:"registerButton",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabColor",label:(0,i.t)("Text"),options:[{id:"registerButtonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"registerButtonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabShadow",label:(0,i.t)("Shadow"),options:[{id:"registerButtonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},58306:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("titleColorHex"),s("titleColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"titleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("titleColorOpacity"))}}},position:80,options:[{id:"titleColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},78407:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getOption:function(){return i},getAttr:function(){return n},getFeatures:function(){return a},getDetail:function(){return l},changeContentVisibility:function(){return s},getEkklesiaFields:function(){return d},getEkklesiaChoiches:function(){return u}});const r=o(64985),i=e=>e?[{title:"None",value:""},...Object.entries(e).map((e=>{let[t,o]=e;return{title:String(o),value:t}}))]:[],n=(e,t)=>"on"===e?`${t}='1'`:`${t}='0'`,a=(e,t)=>"on"===e?`${t}='${t}'`:"",l=e=>encodeURI(e);function s(e){let{items:t,activeClassName:o,direction:r}=e,i=0;t.forEach(((e,t)=>{if(e.classList.contains(o)){switch(r){case"next":i=t+1;break;case"prev":i=t-1}e.classList.remove(o)}})),t[i].classList.add(o)}const c=e=>"subKey"in e,d=async e=>{try{const{url:t,key:o}=e,r=(await(e=>fetch(e).then((e=>e.json())))(t.concat("?module=",o))).data[o];if(!r||!(e=>"childs"in e&&"parents"in e)(r))return i(r);if(c(e))return i(r[e.subKey])}catch(e){}return[]},u=e=>{const{url:t,key:o}=e;return t?c(e)?{load:()=>d({key:o,subKey:e.subKey,url:t}),emptyLoad:{title:(0,r.t)("There are no choices")}}:{load:()=>d({key:o,url:t}),emptyLoad:{title:(0,r.t)("There are no choices")}}:[]}},25739:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotFound",{enumerable:!0,get:function(){return d}});const r=l(o(27378)),i=l(o(63692)),n=l(o(67439)),a=o(64985);function l(e){return e&&e.__esModule?e:{default:e}}const s={getItemsForDesktop:()=>[],getItemsForTablet:()=>[],getItemsForMobile:()=>[]},c=e=>e.filter((e=>"remove"===e.id));class d extends i.default{static get componentId(){return"NotFound"}static defaultProps={message:(0,a.t)("Missing Element")};static defaultValue={};renderForEdit(){const{componentId:e}=this.props;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig(s,null,{parentItemsFilter:c}),r.default.createElement("div",{style:{height:"50px",lineHeight:"50px",padding:"0 10px",backgroundColor:"lightgrey"}},(0,a.t)("Could not find")," ",r.default.createElement("b",null,e)," ",(0,a.t)("component")))}renderForView(){return null}}},67673:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=y(o(27378)),i=o(23884),n=y(o(10787)),a=o(78660),l=y(o(92823)),s=y(o(24072)),c=o(67439),d=o(74215),u=o(97045),p=o(92213),f=o(64985),m=o(16526);function y(e){return e&&e.__esModule?e:{default:e}}class g extends n.default{static get componentId(){return"Page.Items"}blockAdderRef=r.default.createRef();handleAddTemplate=(e,t)=>{const o={insertIndex:t},{blocks:r,...i}=e,n=(0,m.stripSystemKeys)(r),a=(0,m.setIds)(n);this.props.dispatch((0,d.importTemplate)({blocks:a,...i},o))};handleAddBlock=(e,t)=>{const{dispatch:o}=this.props,r={insertIndex:t},{block:i,...n}=e;if("GlobalBlock"===i.type)return void o((0,d.addGlobalBlock)(e,r));const a=(0,m.stripSystemKeys)(i),l=(0,m.setIds)(a);o((0,d.addBlock)({block:l,...n},r))};handleKeyDown=()=>{const e=this.getValue().length,t=t=>this.handleAddBlock(t,e),o=t=>this.handleAddTemplate(t,e);l.default.open({prompt:"blocks",mode:"single",props:{type:"normal",onChangeBlocks:t,onChangeGlobal:t,onChangeSaved:o,onChangeTemplate:o}})};getItemProps(e,t){const{blockId:o}=e;let r=!1;if("GlobalBlock"===e.type){const t=(0,u.blocksDataSelector)((0,p.getStore)().getState()),o=t[e.value._id]?.value?.slider;r=!o||"off"===o}const i={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,f.t)("Duplicate"),position:200,disabled:r,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,f.t)("Delete"),position:250,onChange:()=>{const{dispatch:o}=this.props;(0,c.hideToolbar)(),o((0,d.removeBlock)({index:t,id:e.value._id}))}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{blockId:o,toolbarExtend:this.makeToolbarPropsFromConfig(i)}}renderItemWrapper(e,t,o,i,n){const l=o+1,s="unlisted"!==i.value._blockVisibility&&n.slice(o+1).some((e=>"unlisted"!==e.value._blockVisibility));return r.default.createElement("div",{key:t,className:"brz-ed-wrap-block-item"},e,s&&r.default.createElement(a.MiddleBlockAdder,{onAddBlock:e=>this.handleAddBlock(e,l),onAddTemplate:e=>this.handleAddTemplate(e,l)}))}renderItemsContainer(e,t){const o=t.every((e=>"unlisted"===e.value._blockVisibility));return 0===e.length||o?r.default.createElement(r.default.Fragment,null,r.default.createElement(a.FirstBlockAdder,{ref:this.blockAdderRef,onAddBlock:e=>this.handleAddBlock(e,0),onAddTemplate:e=>this.handleAddTemplate(e,0)}),r.default.createElement(s.default,{keyNames:["ctrl+shift+A","cmd+shift+A","right_cmd+shift+A","shift+ctrl+A","shift+cmd+A","shift+right_cmd+A"],id:"key-helper-blocks",onKeyDown:this.handleKeyDown})):r.default.createElement("div",{className:"brz-ed-wrap-block-wrap"},r.default.createElement("div",{id:"brz-ed-page__blocks"},e),r.default.createElement(a.LastBlockAdder,{ref:this.blockAdderRef,onAddBlock:t=>this.handleAddBlock(t,e.length),onAddTemplate:t=>this.handleAddTemplate(t,e.length)}),r.default.createElement(s.default,{keyNames:["ctrl+shift+A","cmd+shift+A","right_cmd+shift+A","shift+ctrl+A","shift+cmd+A","shift+right_cmd+A"],id:"key-helper-blocks",onKeyDown:this.handleKeyDown}))}}const b=(0,i.connect)()(g)},74890:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=u(o(27378)),i=u(o(63692)),n=u(o(47075)),a=o(91899),l=u(o(67673)),s=o(6804),c=o(82689),d=u(o(13925));function u(e){return e&&e.__esModule?e:{default:e}}class p extends i.default{static get componentId(){return"Page"}static defaultValue=d.default;getDBValue(){const e=super.getDBValue();return e._id?e:(this._id||(this._id=(0,s.uuid)()),{...e,_id:this._id})}componentDidMount(){n.default.on("dnd.sort",this.handleDNDSort)}componentWillUnmount(){n.default.off("dnd.sort",this.handleDNDSort)}handleDNDSort=e=>{const{dbValue:t}=this.props,o=(0,c.changeValueAfterDND)(t,e);this.props.onChange(o)};renderForEdit(){const e=this.makeSubcomponentProps({bindWithKey:"items"});return r.default.createElement("div",{className:"brz-root__container brz-reset-all"},r.default.createElement(l.default,e),r.default.createElement(a.DraggableOverlay,null))}renderForView(){const e=this.makeSubcomponentProps({bindWithKey:"items"});return r.default.createElement("div",{className:"brz-root__container brz-reset-all"},r.default.createElement(l.default,e))}}const f=p},60920:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=o(70634),i=m(o(10301)),n=m(o(22546)),a=o(16526),l=o(92213),s=o(97045),c=o(53536),d=o(70377),u=o(52818),p=o(88988),f=o(71411);function m(e){return e&&e.__esModule?e:{default:e}}function y(e,t){const o=n.default.getAll(),{getState:m,dispatch:y}=(0,l.getStore)(),g=(0,s.globalBlocksAssembledSelector)(m()),b=(0,d.gbTransform)(e,g),h=(0,p.normalizeFromTo)(b,t);let v=(0,d.attachGlobalBlocks)(e,h.from,g);v=(0,d.attachGlobalBlocks)(v,h.to,g),v=(0,d.attachMenu)(v,o);const S=function(e,t){let o=e;if((0,f.isShortcode)(t)){const{from:e,to:n}=t;let l=(0,r.getIn)(o,e.itemPath);if(void 0===l)return;if("cloneable"===e.containerType){const t=(0,r.getIn)(o,e.itemPath.slice(0,-3));if(void 0===t)return;void 0!==n.itemIndex&&t.value.items.length<=1&&(e.containerPath=e.itemPath.slice(0,-4),e.itemPath=e.itemPath.slice(0,-3),e.itemIndex=Number(e.itemPath[e.itemPath.length-1]),i.default.isEqual(e.containerPath,n.containerPath)&&e.itemIndex{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{addIn:function(){return a},removeIn:function(){return l}});const r=o(70634),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(73904));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const a=(e,t,o)=>{let[...n]=t;const a=i.read(n.pop()),l=(0,r.getIn)(e,n);if(l&&void 0!==a){const t=(0,r.insert)(l,a,o);return(0,r.setIn)(e,n,t)}},l=(e,t)=>{let[...o]=t;const n=i.read(o.pop()),a=(0,r.getIn)(e,o);if(a&&void 0!==n){const t=(0,r.removeAt)(a,n);return(0,r.setIn)(e,o,t)}}},52818:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{normalizeColumnsWidths:function(){return s},simpleMove:function(){return p},moveAddableToSection:function(){return f},moveAddableToRow:function(){return m},moveAddableToColumn:function(){return y},moveColumnToSection:function(){return g},moveColumnToAnotherRow:function(){return b},moveShortcodeToSection:function(){return h},moveShortcodeToRow:function(){return v}});const r=o(70634),i=o(10301),n=o(23875),a=o(16526),l=o(53536),s=(e,t,o)=>{const a=(0,r.getIn)(e,t),{containerType:l,containerPath:s}=o??{},c="carousel"===l&&(0,i.isEqual)(s,t);return a&&(0,i.every)(a,(e=>{let{type:t}=e;return"Column"===t}))&&!c?(0,r.setIn)(e,t,(0,n.normalizeRowColumns)(a)):e},c=(e,t,o,r)=>{let n;var a,c;if(a=t.itemPath,c=o.itemPath,(0,i.some)(a,((e,t)=>e{const n=t.containerPath,a=(0,r.getIn)(e,n);if(a&&a.length<=1){let n=t.itemPath.slice(0,-3),a=t.itemPath.slice(0,-4);const l=(0,r.getIn)(e,n);"Carousel"===l?.type&&(n=n.slice(0,-3),a=a.slice(0,-4));const s={...t,itemPath:n,containerPath:a};return c(e,s,o,i)}return c(e,t,o,i)},u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.setIds)({type:e,value:t})},p=function(e,t,o){let i,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,r.getIn)(e,t.itemPath);if(n)return t.itemPath.length(0,l.addIn)(e,o.itemPath,t.itemData),m=(e,t,o)=>{const{itemData:r}=t,i="Row"!==r.type?[r]:[],n=u("Column",{_styles:["column"],items:i}),a=(0,l.addIn)(e,o.itemPath,n);if(a)return s(a,o.containerPath)},y=(e,t,o)=>(0,l.addIn)(e,o.itemPath,t.itemData),g=(e,t,o)=>{const i=(0,r.getIn)(e,t.itemPath),a=u("Row",{_styles:["row","hide-row-borders","padding-0"],items:(0,n.normalizeRowColumns)([i])}),l={...o,containerPath:[...o.itemPath,"value","items"]};return d(e,t,l,a)},b=(e,t,o)=>{const i=(0,r.getIn)(e,t.itemPath);if(i)return d(e,t,o,i)},h=(e,t,o,r)=>{const i=(0,l.removeIn)(e,t.itemPath);return i?(0,l.addIn)(i,o.itemPath,r):void 0},v=(e,t,o,r)=>{const i=u("Column",{_styles:["column"],items:[r]});let n;if(t.itemPath.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{attachGlobalBlocks:function(){return c},detachGlobalBlocks:function(){return d},gbTransform:function(){return u},attachMenu:function(){return p},detachMenu:function(){return f}});const r=(i=o(13556))&&i.__esModule?i:{default:i};var i;const n=o(72599),a=o(74215),l=o(16526),s=o(92636);function c(e,t,o){if("itemPath"in t){const{itemPath:i=[]}=t;return(0,r.default)(e,(e=>{let t=e,r=0;do{if(!t)break;if(t.type&&"GlobalBlock"===t.type&&t.value){const{_id:e}=t.value;o[e]&&Object.assign(t,o[e].data,{__tmp_global_original__:JSON.stringify(t)})}t=t[i[r++]]}while(r{(0,s.objectTraverse2)(e,(e=>{if(e.__tmp_global_original__){const t=JSON.parse(e.__tmp_global_original__);delete e.__tmp_global_original__,o.push([t.value._id,JSON.stringify(e)]),Object.assign(e,t)}}))}));if(o.length)for(const[e,r]of o)t((0,a.updateGlobalBlock)({id:e,data:JSON.parse(r)}));return i}function u(e,t){return(0,l.mapModels)((e=>{if("GlobalBlock"===e.type){const{_id:o}=e.value;if(t[o]&&t[o].data)return t[o].data}return e}),e)}function p(e,t){const{menuData:o}=t;return void 0===o?e:(0,l.mapModels)((e=>{const{type:t,value:i}=e;if("Menu"===t){const{menuSelected:t,symbols:a={}}=i,l=t||o[0]?.id,s=o.find((e=>e.id===l))||{items:[]},c=(0,n.normalizeMenuItems)(s.items);return(0,r.default)(e,(e=>{e.value.items=(0,n.symbolsToItems)(c,a)}))}return e}),e)}function f(e){return(0,l.mapModels)((e=>{const{type:t,value:o}=e;return"Menu"===t&&o.items?(0,r.default)(e,(e=>{Object.assign(e.value.symbols||{},(0,n.itemsToSymbols)(e.value.items)),delete e.value.items})):e}),e)}},88988:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeFromTo",{enumerable:!0,get:function(){return a}});const r=(i=o(13556))&&i.__esModule?i:{default:i};var i;const n=o(16526),a=(e,t)=>(0,r.default)(t,(t=>{"itemPath"in t.from&&(t.from.itemPath=(0,n.createFullModelPath)(e,t.from.itemPath)),"containerPath"in t.from&&(t.from.containerPath=(0,n.createFullModelPath)(e,t.from.containerPath)),"itemPath"in t.to&&(t.to.itemPath=(0,n.createFullModelPath)(e,t.to.itemPath)),"containerPath"in t.to&&(t.to.containerPath=(0,n.createFullModelPath)(e,t.to.containerPath))}))},82689:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"changeValueAfterDND",{enumerable:!0,get:function(){return r.default}});const r=(i=o(60920))&&i.__esModule?i:{default:i};var i},71411:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isAddable:function(){return o},isRow:function(){return r},isColumn:function(){return i},isShortcode:function(){return n}});const o=e=>"addable"===e.from.itemType,r=e=>"row"===e.from.itemType,i=e=>"column"===e.from.itemType,n=e=>"shortcode"===e.from.itemType},28172:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=h(o(27378)),i=h(o(92823)),n=h(o(63692)),a=h(o(10787)),l=o(78660),s=h(o(24072)),c=h(o(47075)),d=o(92213),u=o(97045),p=o(10744),f=o(74215),m=o(82689),y=h(o(77604)),g=o(6804),b=o(16526);function h(e){return e&&e.__esModule?e:{default:e}}class v extends n.default{static get componentId(){return"PagePopup"}static defaultValue=y.default;getDBValue(){const e=super.getDBValue();return e._id?e:(this._id||(this._id=(0,g.uuid)()),{...e,_id:this._id})}componentDidMount(){if(null===(0,u.triggersAmountSelector)((0,d.getStore)().getState())){const e=[{id:"pageLoad",active:!0,value:"1"}];(0,d.getStore)().dispatch((0,p.updateTriggers)(e))}c.default.on("dnd.sort",this.handleDNDSort)}componentWillUnmount(){c.default.off("dnd.sort",this.handleDNDSort)}handleClose=()=>{this.patchValue({items:[]})};handleDNDSort=e=>{const{dbValue:t}=this.props,o=(0,m.changeValueAfterDND)(t,e);this.props.onChange(o)};handleBlocksAdd=e=>{const{dispatch:t}=(0,d.getStore)(),o={insertIndex:0},{block:r,...i}=e;if("GlobalBlock"===r.type)t((0,f.addGlobalBlock)(e,o));else{const e=(0,b.stripSystemKeys)(r),n=(0,b.setIds)(e);t((0,f.addBlock)({block:n,...i},o))}};handlePromptOpen=()=>{const e={prompt:"blocks",mode:"single",props:{type:"popup",showTemplate:!1,blocksType:!1,globalSearch:!1,onChangeBlocks:this.handleBlocksAdd,onChangeGlobal:this.handleBlocksAdd,onChangeSaved:this.handleAddSavedBlock}};i.default.open(e)};renderItems(){const e=this.makeSubcomponentProps({bindWithKey:"items",itemProps:()=>({isOpened:!0,onClose:this.handleClose})});return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.default,e),r.default.createElement("div",{className:"brz-root__container-after"}))}renderForEdit(e){return 0===e.items.length?r.default.createElement(r.default.Fragment,null,r.default.createElement(l.FirstPopupBlockAdder,{insertIndex:0,onAddBlock:this.handleBlocksAdd}),r.default.createElement(s.default,{keyNames:["ctrl+shift+A","cmd+shift+A","right_cmd+shift+A","shift+ctrl+A","shift+cmd+A","shift+right_cmd+A"],id:"key-helper-blocks",onKeyDown:this.handlePromptOpen})):this.renderItems()}renderForView(){return this.renderItems()}}const S=v},60954:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(27378)),i=d(o(63692)),n=d(o(10787)),a=d(o(47075)),l=o(82689),s=d(o(40054)),c=o(6804);function d(e){return e&&e.__esModule?e:{default:e}}class u extends i.default{static get componentId(){return"PageStory"}static defaultValue=s.default;getDBValue(){const e=super.getDBValue();return e._id?e:(this._id||(this._id=(0,c.uuid)()),{...e,_id:this._id})}componentDidMount(){a.default.on("dnd.sort",this.handleDNDSort)}componentWillUnmount(){a.default.off("dnd.sort",this.handleDNDSort)}blocksFilter(e){return e.filter((e=>{let[t,o]=e;return"StoryItem"===o.type}))}handleClose=()=>{this.patchValue({items:[]})};handleDNDSort=e=>{const{dbValue:t}=this.props,o=(0,l.changeValueAfterDND)(t,e);this.props.onChange(o)};renderForEdit(e){const t=this.makeSubcomponentProps({bindWithKey:"items",itemProps:()=>({isOpened:!0,onClose:this.handleClose})});return r.default.createElement("div",{className:"brz-root__container brz-root__container-story brz-reset-all"},r.default.createElement(n.default,t))}}const p=u},70662:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=g(o(60042)),i=g(o(27378)),n=g(o(36275)),a=g(o(67439)),l=g(o(63692)),s=o(8704),c=o(94220),d=o(86022),u=g(o(32118)),p=h(o(660)),f=o(16485),m=h(o(68958)),y=o(19368);function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class v extends l.default{static get componentId(){return"WPPostContent"}static defaultValue=u.default;renderForEdit(e,t,o){const{sourceType:l,sourceID:u,className:g}=e,b=(0,r.default)("brz-wp-post-content",g,(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o)));return i.default.createElement(a.default,this.makeToolbarPropsFromConfig2(m,p),i.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(d.Wrapper,this.makeWrapperProps({className:b}),i.default.createElement(s.DynamicContentHelper,{placeholder:(0,y.getPlaceholder)(l,u),placeholderIcon:"wp-content",tagName:"div"}))))}}},660:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=e=>{let{v:t}=e;return"wp"===t.type?(0,r.t)("Post Content"):(0,r.t)("Product Content")},n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"}]}]}]}]}]}},16485:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleContentAlign","cssStyleSizeSizePercent"]},".brz &&:hover h1":{standart:["cssStyleElementWPPostContentH1Color","cssStyleElementWPPostContentTypography2H1FontFamily","cssStyleElementWPPostContentTypography2H1FontSize","cssStyleElementWPPostContentTypography2H1LineHeight","cssStyleElementWPPostContentTypography2H1FontWeight","cssStyleElementWPPostContentTypography2H1LetterSpacing"]},".brz &&:hover h2":{standart:["cssStyleElementWPPostContentH2Color","cssStyleElementWPPostContentTypography2H2FontFamily","cssStyleElementWPPostContentTypography2H2FontSize","cssStyleElementWPPostContentTypography2H2LineHeight","cssStyleElementWPPostContentTypography2H2FontWeight","cssStyleElementWPPostContentTypography2H2LetterSpacing"]},".brz &&:hover h3":{standart:["cssStyleElementWPPostContentH3Color","cssStyleElementWPPostContentTypography2H3FontFamily","cssStyleElementWPPostContentTypography2H3FontSize","cssStyleElementWPPostContentTypography2H3LineHeight","cssStyleElementWPPostContentTypography2H3FontWeight","cssStyleElementWPPostContentTypography2H3LetterSpacing"]},".brz &&:hover h4":{standart:["cssStyleElementWPPostContentH4Color","cssStyleElementWPPostContentTypography2H4FontFamily","cssStyleElementWPPostContentTypography2H4FontSize","cssStyleElementWPPostContentTypography2H4LineHeight","cssStyleElementWPPostContentTypography2H4FontWeight","cssStyleElementWPPostContentTypography2H4LetterSpacing"]},".brz &&:hover h5":{standart:["cssStyleElementWPPostContentH5Color","cssStyleElementWPPostContentTypography2H5FontFamily","cssStyleElementWPPostContentTypography2H5FontSize","cssStyleElementWPPostContentTypography2H5LineHeight","cssStyleElementWPPostContentTypography2H5FontWeight","cssStyleElementWPPostContentTypography2H5LetterSpacing"]},".brz &&:hover h6":{standart:["cssStyleElementWPPostContentH6Color","cssStyleElementWPPostContentTypography2H6FontFamily","cssStyleElementWPPostContentTypography2H6FontSize","cssStyleElementWPPostContentTypography2H6LineHeight","cssStyleElementWPPostContentTypography2H6FontWeight","cssStyleElementWPPostContentTypography2H6LetterSpacing"]},".brz && *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(b):not(strong):not(i):not(span):hover":{standart:["cssStyleElementWPPostContentParagraphColor","cssStyleElementWPPostContentTypography2ParagraphFontFamily","cssStyleElementWPPostContentTypography2ParagraphFontSize","cssStyleElementWPPostContentTypography2ParagraphLineHeight","cssStyleElementWPPostContentTypography2ParagraphFontWeight","cssStyleElementWPPostContentTypography2ParagraphLetterSpacing"]},".brz &&:hover strong *:not(strong):not(b), .brz &&:hover b *:not(strong):not(b)":{standart:["cssStyleElementWPPostContentFontWeightInherit"]},".brz &&:hover strong, .brz &&:hover b":{standart:["cssStyleElementWPPostContentParagraphColor","cssStyleElementWPPostContentTypography2ParagraphFontFamily","cssStyleElementWPPostContentTypography2ParagraphFontSize","cssStyleElementWPPostContentTypography2ParagraphLineHeight","cssStyleElementWPPostContentTypography2ParagraphLetterSpacing"]}}})}},68958:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64187),a=o(81405),l=o(64985),s=o(69321),c=o(68256);function d(e){let{v:t,device:o}=e;const i=e=>(0,s.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),d=i("sourceType"),u=r.default.getAll(),p=u?.api?.sourceItems?.handler,{hex:f}=(0,c.getOptionColorHexByPalette)(i("paragraphColorHex"),i("paragraphColorPalette"));return[{id:"posts",type:"popover-dev",config:{icon:"nc-wp-post-content",size:"auto",title:(0,l.t)("Description")},position:70,options:[{id:"sourceID",type:"select-dev",label:(0,l.t)("Source"),disabled:!p||!d,devices:"desktop",placeholder:"Select",choices:{load:(0,n.getSourceIds)(d,u),emptyLoad:{title:(0,l.t)("There are no choices")}}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},roles:["admin"],position:70,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabTypographyParagraph",label:"P",options:[{id:"paragraph",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyH1",label:"H1",options:[{id:"h1",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyH2",label:"H2",options:[{id:"h2",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyH3",label:"H3",options:[{id:"h3",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyH4",label:"H4",options:[{id:"h4",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyH5",label:"H5",options:[{id:"h5",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyH6",label:"H6",options:[{id:"h6",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(f,i("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabParagraph",label:"P",options:[{id:"paragraphColor",type:"colorPicker-dev"}]},{id:"tabH1",label:"H1",options:[{id:"h1Color",type:"colorPicker-dev"}]},{id:"tabH2",label:"H2",options:[{id:"h2Color",type:"colorPicker-dev"}]},{id:"tabH3",label:"H3",options:[{id:"h3Color",type:"colorPicker-dev"}]},{id:"tabH4",label:"H4",options:[{id:"h4Color",type:"colorPicker-dev"}]},{id:"tabH5",label:"H5",options:[{id:"h5Color",type:"colorPicker-dev"}]},{id:"tabH6",label:"H6",options:[{id:"h6Color",type:"colorPicker-dev"}]}]}]},{id:"contentHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,l.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,l.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,l.t)("Align"),value:"right"}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"advancedSettings",type:"advancedSettings",position:110,title:(0,l.t)("Settings"),roles:["admin"],devices:"desktop",icon:"nc-cog"}]}},19368:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return o}});const o=(e,t)=>e&&t?`{{brizy_dc_post_content type="${e}" id="${t}"}}`:"{{brizy_dc_post_content}}"},69521:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return P}});const r=T(o(27378)),i=x(o(63692)),n=x(o(10787)),a=x(o(36275)),l=x(o(1440)),s=x(o(67439)),c=T(o(3382)),d=T(o(97076)),u=x(o(58233)),p=o(97045),f=x(o(60042)),m=o(98764),y=o(94220),g=o(8704),b=o(86022),h=o(66005),v=o(92213),S=o(26989),w=o(89820);function x(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class P extends i.default{static get componentId(){return"WPPostExcerpt"}static defaultValue=u.default;patchValue(e,t){const{fontStyle:o}=e;super.patchValue({...e,...o?(0,h.getTagNameFromFontStyle)(o):{}},t)}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{blockId:t,value:{popupId:o}}=e;return"GlobalBlock"===e.type&&(o=(0,p.blocksDataSelector)((0,v.getStore)().getState())[e.value._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${o}`}}});return r.default.createElement(n.default,e)}renderForEdit(e,t,o){const{type:i,className:n,linkType:u,linkAnchor:h,linkExternalType:x,linkExternalBlank:M,linkExternalRel:T,linkPopup:P,linkUpload:C,sourceType:k}=e,_=(0,f.default)("brz-wp-post-excerpt",(0,y.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,m.style)(e,t,o)),n),O={anchor:h,external:e[x],popup:P,upload:C},E=r.default.createElement(g.DynamicContentHelper,{placeholder:(0,w.getPlaceholder)(i,k),placeholderIcon:(0,w.getPlaceholderIcon)(i),placeholderHeight:0,tagName:e.tagName,props:{className:"brz-wp-post-excerpt-content"}});return r.default.createElement(r.Fragment,null,r.default.createElement(s.default,this.makeToolbarPropsFromConfig2(c,d),r.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(b.Wrapper,this.makeWrapperProps({className:_}),O[u]?r.default.createElement(l.default,{href:O[u],type:u,target:M,rel:T},E):E))),(0,S.shouldRenderPopup)(e,(0,p.blocksDataSelector)((0,v.getStore)().getState()))&&this.renderPopups())}}},97076:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Excerpt"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"tagName",label:(0,r.t)("HTML Tag"),type:"select-dev",choices:[{title:"Span",value:"span"},{title:"P",value:"p"},{title:"H1",value:"h1"},{title:"H2",value:"h2"},{title:"H3",value:"h3"},{title:"H4",value:"h4"},{title:"H5",value:"h5"},{title:"H6",value:"h6"},{title:"PRE",value:"pre"}]}]}]}]}]}]}},98764:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleContentAlign"]},".brz &&:hover *":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz && > .brz-a.brz-a:not(.brz-btn):hover":{standart:["cssStyleColor"]}}})}},3382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81405),a=o(64985),l=o(16526),s=o(69321),c=o(68256),d=o(24119),u=o(57582),p=e=>{let{v:t,device:o,component:i}=e;const p=e=>(0,s.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:f}=(0,c.getOptionColorHexByPalette)(p("colorHex"),p("colorPalette")),m=Boolean(i.props.meta.sectionPopup),y=Boolean(i.props.meta.sectionPopup2),g=r.default.getAll(),b=(0,l.isPopup)(g);return[{id:"posts",type:"popover-dev",config:{icon:"nc-wp-post-excerpt",size:"auto",title:(0,a.t)("Context")},position:70,disabled:"wp"===p("type"),options:[{id:"sourceType",type:"select-dev",label:(0,a.t)("Context Type"),devices:"desktop",choices:[{value:"auto",title:"Auto"},{value:"profile",title:"Profile"}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,a.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(f,p("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"color",type:"colorPicker-dev",states:[d.NORMAL,d.HOVER]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,a.t)("Link")},position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0,showSingle:!0},tabs:[{id:"external",label:(0,a.t)("URL"),options:[(0,u.toolbarLinkExternal)({v:t,config:i.context.dynamicContent.config,devices:"desktop"}),{id:"linkExternalBlank",label:(0,a.t)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:(0,a.t)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:"anchor",label:(0,a.t)("Block"),options:[(0,u.toolbarLinkAnchor)({v:t,device:o,devices:"desktop",state:"normal",disabled:b})]},{id:"popup",label:(0,a.t)("Popup"),options:[(0,u.toolbarLinkPopup)({v:t,device:o,component:i,state:"normal",canDelete:"desktop"===o,disabled:"desktop"===o?m||y||b:"popup"!==p("linkType")||""===p("linkPopup")})]}]}]},{id:"horizontalAlign",type:"toggle-dev",choices:[],disabled:!0},{id:"contentHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,a.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,a.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,a.t)("Align"),value:"right"},{icon:"nc-text-align-justify",title:(0,a.t)("Align"),value:"justify"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,a.t)("More Settings"),position:110,title:(0,a.t)("Settings"),roles:["admin"],devices:"desktop",icon:"nc-cog"}]}},89820:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getPlaceholder:function(){return o},getPlaceholderIcon:function(){return r}});const o=(e,t)=>{switch(e){case"userEmail":return`{{ brizy_customer_email context="${t}" }}`;case"userFirstName":return`{{ brizy_customer_fname context="${t}" }}`;case"userLastName":return`{{ brizy_customer_lname context="${t}" }}`;case"userUsername":return`{{ brizy_customer_username context="${t}" }}`;case"userPhoneNumber":return`{{ brizy_customer_phone context="${t}" }}`;case"userRoles":return`{{ brizy_customer_roles context="${t}" }}`;case"wp":return"{{ brizy_dc_post_excerpt }}"}},r=e=>{switch(e){case"userEmail":return"user-email";case"userFirstName":case"userLastName":case"userUsername":return"user-details";case"userPhoneNumber":return"user-phone-number";case"userRoles":return"user-roles";case"wp":return"wp-excerpt"}}},24284:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const r=w(o(27378)),i=w(o(60042)),n=w(o(63692)),a=w(o(10787)),l=w(o(36275)),s=w(o(1440)),c=w(o(67439)),d=M(o(62311)),u=M(o(53329)),p=w(o(35259)),f=o(97045),m=o(45293),y=o(94220),g=o(8704),b=o(92213),h=o(86022),v=o(66005),S=o(26989);function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function M(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class T extends n.default{static get componentId(){return"WPPostsTitle"}static defaultValue=p.default;patchValue(e,t){const{fontStyle:o}=e;super.patchValue({...e,...o?(0,v.getTagNameFromFontStyle)(o):{}},t)}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{blockId:t,value:{popupId:o}}=e;return"GlobalBlock"===e.type&&(o=(0,f.blocksDataSelector)((0,b.getStore)().getState())[e.value._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${o}`}}});return r.default.createElement(a.default,e)}renderForEdit(e,t,o){const{className:n,linkType:a,linkExternalBlank:p,linkExternalRel:v,linkAnchor:w,linkExternalType:x,linkPopup:M,linkUpload:T,tagName:P,sourceType:C,sourceID:k}=e,_=(0,i.default)("brz-wp-title",n,(0,y.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,m.style)(e,t,o))),O={anchor:w,external:e[x],popup:M,upload:T},E=C?`{{brizy_dc_post_title type="${C}" id="${k}"}}`:"{{brizy_dc_post_title}}",z=r.default.createElement(g.DynamicContentHelper,{placeholder:E,placeholderIcon:"wp-title",tagName:P,props:{className:"brz-wp-title-content"}});return r.default.createElement(r.default.Fragment,null,r.default.createElement(c.default,this.makeToolbarPropsFromConfig2(d,u),r.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(h.Wrapper,this.makeWrapperProps({className:_}),O[a]?r.default.createElement(s.default,{href:O[a],type:a,target:p,rel:v},z):z))),(0,S.shouldRenderPopup)(e,(0,f.blocksDataSelector)((0,b.getStore)().getState()))&&this.renderPopups())}}},53329:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return l}});const r=o(64985),i=e=>{let{v:t}=e;return"woo"===t.type?(0,r.t)("Product Title"):(0,r.t)("Title")},n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

',a=[{title:"Span",value:"span"},{title:"Div",value:"div"},{title:"P",value:"p"},{title:"H1",value:"h1"},{title:"H2",value:"h2"},{title:"H3",value:"h3"},{title:"H4",value:"h4"},{title:"H5",value:"h5"},{title:"H6",value:"h6"},{title:"PRE",value:"pre"}];function l(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"tagName",label:(0,r.t)("HTML Tag"),type:"select-dev",devices:"desktop",position:100,choices:a},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:110,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},45293:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleContentAlign"]},".brz &&:hover *":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementTitleTextShadow"],interval:["cssStyleHoverTransition"]},".brz &&:hover > .brz-a.brz-a:not(.brz-btn)":{standart:["cssStyleColor"]},".brz &&:hover .brz-wp-title-content":{standart:["cssStyleStrokeText"]}}})}},62311:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return y}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(54639),a=o(64187),l=o(81405),s=o(64985),c=o(16526),d=o(69321),u=o(68256),p=o(24119),f=o(57582),m=o(30617);function y(e){let{v:t,device:o,component:i}=e;const y=r.default.getAll(),g=(0,c.isPopup)(y),b=e=>(0,d.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),h=Boolean(i.props.meta.sectionPopup),v=Boolean(i.props.meta.sectionPopup2),{hex:S}=(0,u.getOptionColorHexByPalette)(b("colorHex"),b("colorPalette")),w=b("sourceType"),x=y?.api?.sourceItems?.handler;return[{id:"posts",type:"popover-dev",config:{icon:"nc-wp-post-title",size:"auto",title:(0,s.t)("Title")},roles:["admin"],position:70,options:[{id:"sourceType",type:"select-dev",label:(0,s.t)("Source Type"),disabled:(0,n.isCloud)(y),device:"desktop",placeholder:"Options",choices:{load:()=>(0,m.getSourceTypeChoices)(),emptyLoad:{title:(0,s.t)("There are no choices")}}},{id:"sourceID",type:"select-dev",label:(0,s.t)("Source"),disabled:!x||""===w,device:"desktop",placeholder:"Select",choices:{load:(0,a.getSourceIds)(w,y),emptyLoad:{title:(0,s.t)("There are no choices")}}}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,s.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,s.t)("Colors"),icon:{style:{backgroundColor:(0,l.hexToRgba)(S,b("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,s.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[p.NORMAL,p.HOVER]}]},{id:"tabTextStroke",label:(0,s.t)("Stroke"),options:[{id:"textStrokeBorder",type:"border-dev",config:{width:["grouped"],styles:["none","solid"]},states:[p.NORMAL,p.HOVER]}]},{id:"tabTextShadow",label:(0,s.t)("Shadow"),options:[{id:"textShadow",type:"textShadow-dev",states:[p.NORMAL,p.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,s.t)("Link")},position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0,showSingle:!0},tabs:[{id:"external",label:(0,s.t)("URL"),options:[(0,f.toolbarLinkExternal)({v:t,device:o,config:i.context.dynamicContent.config,devices:"desktop",state:"normal"}),{id:"linkExternalBlank",label:(0,s.t)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:(0,s.t)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:"anchor",label:(0,s.t)("Block"),options:[(0,f.toolbarLinkAnchor)({v:t,device:o,devices:"desktop",state:"normal",disabled:g})]},{id:"popup",label:(0,s.t)("Popup"),options:[(0,f.toolbarLinkPopup)({v:t,component:i,state:"normal",device:"desktop",canDelete:"desktop"===o,disabled:"desktop"===o?h||v||g:"popup"!==b("linkType")||""===b("linkPopup")})]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"contentHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,s.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,s.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,s.t)("Align"),value:"right"},{icon:"nc-text-align-justify",title:(0,s.t)("Align"),value:"justify"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,s.t)("More Settings"),position:110,title:(0,s.t)("Settings"),roles:["admin"],devices:"desktop",icon:"nc-cog"}]}},30617:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getSourceTypeChoices:function(){return i},getSourceIdChoices:function(){return n},getShopifySourceTypeChoices:function(){return a}});const r=o(64187),i=async()=>{try{return[{name:"",label:"Auto"},...await(0,r.getCollectionSourceTypes)()].map((e=>({value:e.name,title:e.label})))}catch(e){return[]}},n=async e=>{try{return(await(0,r.getCollectionSourceItems)(e)).posts.map((e=>{let{ID:t,title:o}=e;return{value:t,title:o}}))}catch(e){return[]}},a=()=>[]},37913:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=y(o(60042)),i=y(o(27378)),n=o(39552),a=o(66848),l=y(o(24072)),s=y(o(49127)),c=y(o(67439)),d=y(o(10787)),u=o(55824),p=o(46479),f=y(o(78934)),m=o(4922);function y(e){return e&&e.__esModule?e:{default:e}}class g extends d.default{static get componentId(){return"Posts.Items"}static defaultProps={className:"",showPagination:!1,toolbarExtendPagination:{},showFilter:!1,filterStyle:"",toolbarExtendFilter:{},loopAttributes:{},meta:{}};getItemProps(){return{meta:this.props.meta}}getLoopAttributesString(){return(0,m.stringifyAttributes)(this.props.loopAttributes)}getLoopTagsAttributesString(){return(0,m.stringifyAttributes)(this.props.loopTagsAttributes)}getLoopItemFilter(){const{loopTagsAttributes:e,showFilter:t}=this.props;if(e&&t)return`{{brizy_dc_post_terms taxonomy="${e.tax}"}}`}handleSortableAcceptElements=e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0};renderItemWrapper(e,t,o){const r=(0,f.default)(o);return i.default.createElement(n.ContextMenuExtend,{key:t,...this.makeContextMenuProps(r)},i.default.createElement(l.default,{keyNames:["alt+C","alt+shift+V","shift+alt+V"],shortcutsTypes:["copy","pasteStyles"],id:t,onKeyDown:this.handleKeyDown},i.default.createElement("div",{className:"brz-posts__item","data-filter":this.getLoopItemFilter()},e)))}renderTagsForEdit(){const{toolbarExtendFilter:e,filterStyle:t,allTag:o,data:n,handleAllTagChange:l}=this.props,{tags:s=[]}=n,d=[{name:o},...s],u=(0,r.default)("brz-ul brz-posts__filter",`brz-posts__filter--${t}`);return d.length>1&&i.default.createElement("div",{className:"brz-posts__filter-wrapper"},i.default.createElement("ul",{className:u},d.map(((n,s)=>{const d=(0,r.default)("brz-li brz-posts__filter__item",`brz-posts__filter__item--${t}`,{"brz-posts-filter__item--active":0===s});return i.default.createElement(c.default,{key:s,...e},i.default.createElement("li",{className:d},n.name===o?i.default.createElement(a.TextEditor,{value:o,onChange:l}):n.name))}))))}renderPaginationForEdit(){return i.default.createElement(c.default,this.props.toolbarExtendPagination,i.default.createElement("div",{className:"brz-posts__pagination"},i.default.createElement("ul",{className:"page-numbers"},i.default.createElement("li",null,i.default.createElement("span",{className:"page-numbers current"},"1")),i.default.createElement("li",null,i.default.createElement("a",{className:"page-numbers",href:"#"},"2")),i.default.createElement("li",null,i.default.createElement("a",{className:"page-numbers",href:"#"},"3")),i.default.createElement("li",null,i.default.createElement("a",{className:"page-numbers",href:"#"},"...")),i.default.createElement("li",null,i.default.createElement("a",{className:"page-numbers",href:"#"},"10")),i.default.createElement("li",null,i.default.createElement("a",{className:"page-numbers",href:"#"},"11")))))}renderForEdit(e){const{className:t,showFilter:o,showPagination:r,data:n}=this.props,a=super.renderForEdit(e),l=n?.context.map((e=>i.default.createElement(u.EditorComponentContext.Provider,{key:e.dynamicContent.itemId,value:e},a)));return i.default.createElement(s.default,{path:this.getId(),type:"posts",acceptElements:this.handleSortableAcceptElements},i.default.createElement("div",{className:t},o&&this.renderTagsForEdit(),i.default.createElement("div",{className:"brz-posts__wrapper"},l),r&&this.renderPaginationForEdit()))}renderForView(e){return p.IS_WP?this.renderForViewWP(e):this.renderForViewCloud(e)}renderForViewWP(e){const{type:t,className:o,style:r,showPagination:n,showFilter:a}=this.props,l=e.map(this.renderItem),s=(0,m.getLoopName)(t),c=this.getLoopAttributesString();return i.default.createElement("div",{className:o,style:r},a&&`{{brizy_dc_post_loop_tags ${this.getLoopTagsAttributesString()}}}`,i.default.createElement("div",{className:"brz-posts__wrapper"},`{{${s} ${c}}}`,super.renderItemsContainer(l),`{{end_${s}}}`),n&&`{{brizy_dc_post_loop_pagination ${c}}}`)}renderForViewCloud(e){const{className:t,style:o,showPagination:r}=this.props,n=e.map(this.renderItem),a=this.getLoopAttributesString();return i.default.createElement("div",{className:t,style:o},i.default.createElement("div",{className:"brz-posts__wrapper"},`{{brizy_dc_post_loop ${a}}}`,super.renderItemsContainer(n),"{{end_brizy_dc_post_loop}}"),r&&`{{brizy_dc_post_loop_pagination ${a}}}`)}}},66979:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=o(64985),i={getItems:function(){return[{id:"main",type:"group",title:(0,r.t)("Posts"),icon:"nc-posts",disabled:(e,t)=>t.isInSubMenu,items:[]}]}}},78934:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(16957),i=o(64985),n="MacOS"===(0,r.detectOS)(),a=e=>n?e?"alt":"⌘":e?"alt":"ctrl",l=e=>({getItems:s(e)}),s=e=>(t,o)=>{const r=o.getCurrentCopiedElement(),n=r&&"Row"!==r.type;return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,i.t)("Copy"),helperText:e=>{let{isInSubMenu:t}=e;return a(t)+" + C"},onChange:()=>o.copy(e)},{id:"pasteStyles",type:"button",title:(0,i.t)("Paste Styles"),helperText:e=>{let{isInSubMenu:t}=e;return a(t)+" + ⇧ + V"},inactive:!n,onChange:()=>o.pasteStyles(e)}]}]}},49953:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Posts:function(){return W},default:function(){return H}});const r=F(o(60042)),i=F(o(27378)),n=o(34143),a=o(11717),l=o(10301),s=o(61898),c=F(o(39552)),d=F(o(36275)),u=F(o(33364)),p=F(o(53125)),f=F(o(63692)),m=o(42582),y=o(53002),g=F(o(22546)),b=o(62762),h=o(39191),v=o(97045),S=o(64187),w=o(94220),x=o(69321),M=R(o(13992)),T=F(o(37913)),P=F(o(66979)),C=F(o(98267)),k=o(94682),_=R(o(10407)),O=R(o(53158)),E=R(o(89612)),z=o(63572),B=R(o(84855)),j=R(o(80606)),N=F(o(62901)),I=o(43050),L=o(53169),D=o(4922);function F(e){return e&&e.__esModule?e:{default:e}}function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(A=function(e){return e?o:t})(e)}function R(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=A(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class W extends f.default{static get componentId(){return"Posts"}static defaultValue=C.default;handleAllTagChange=e=>{this.patchValue({allTag:e})};static defaultProps={extendParentToolbar:l.noop};state={dataLoading:!1,data:void 0};unmounted=!1;subject$;constructor(e){super(e),this.subject$=(new n.Subject).pipe((0,a.debounceTime)(1e3),(0,a.distinctUntilChanged)(),(0,a.tap)((()=>this.setState({dataLoading:!0}))),(0,a.switchMap)((e=>{const{loop:t,loopTags:o}=JSON.parse(e),r=[],i=this.getValue(),a=(0,D.getLoopName)(i.type);return t&&r.push(`{{${a} ${t}}}`,`{{brizy_dc_post_loop_pagination ${t}}}`),o&&r.push(`{{brizy_dc_post_loop_tags ${o}}}`),(0,n.from)(m.DCApiProxyInstance.getDC(r,{postId:(0,s.getCurrentPageId)(),cache:!1,useCustomPlaceholder:!1}).then((e=>{const[t,o,r]=e||[];return{loop:M.read(t),pagination:M.read(o),tags:M.read(r)}})))}))),this.subject$.subscribe((e=>{let{loop:t,pagination:o,tags:r}=e;if(!this.unmounted){const{collection:e=[],config:i={}}=t||{},n=e.map((e=>({dynamicContent:{itemId:e,config:(i[e]||i["*"])?.dynamicContent?.groups||{image:[],link:[],richText:[]}}})));this.setState({dataLoading:!1,data:{context:n,tags:r??[],paginationInfo:o??{itemsPerPage:0,totalCount:0}}})}}))}async componentDidMount(){this.reloadData();const e=await(async()=>{try{const e=this.getReduxState(),t=(0,v.pageSelector)(e);return(0,b.isCollectionPage)(t)?{collectionTypesInfo:await(0,S.getPostsSourceRefs)(t.collectionType.id)}:(0,b.isCustomerPage)(t)||(0,b.isShopifyPage)(t)?{collectionTypesInfo:await(0,S.getPostsSourceRefs)(t.id)}:{collectionTypesInfo:{collectionTypes:[],refsById:{}}}}catch(e){return void console.error(e)}})(),t=(0,N.default)(e),o=this.makeToolbarPropsFromConfig2(t,E,{allowExtend:!1});this.props.extendParentToolbar(o);const r=e?.collectionTypesInfo?.collectionTypes[0]?.id;r&&!this.getValue2().v.source&&this.patchValue({source:r})}componentDidUpdate(){this.reloadData()}componentWillUnmount(){this.unmounted=!0,this.subject$?.complete(),this.subject$=void 0}reloadData(){const e=this.getValue(),t={loop:(0,D.stringifyAttributes)(Object.assign({content_type:"json"},(0,L.getLoopAttributes)(e)))};if((0,h.isWp)(g.default.getAll())){const o=(0,L.getLoopTagsAttributes)(e);o&&(t.loopTags=(0,D.stringifyAttributes)(Object.assign({content_type:"json"},o)))}this.subject$?.next(JSON.stringify(t))}handleValueChange(e,t){void 0!==t.patch.source?super.handleValueChange((0,D.encodeSymbols)({...e,tagsSource:""}),t):super.handleValueChange((0,D.encodeSymbols)(e),t)}getValue2(){const e=super.getValue2(),t=(0,D.decodeSymbols)(e.v);return t===e.v?e:Object.assign(e,{v:t})}getMeta(e){const{meta:t}=this.props,{gridColumn:o,padding:r,tabletGridColumn:i}=e,n=t.desktopW/o,a=t.desktopWNoSpacing/o,l=t.tabletW/i,s=t.tabletWNoSpacing/i,c=(0,x.tabletSyncOnChange)(e,"padding");return{...t,desktopW:Math.round(10*(n-r))/10,desktopWNoSpacing:a,tabletW:Math.round(10*(l-c))/10,tabletWNoSpacing:s,inGrid:!1,posts:!0}}renderForEdit(e,t,o){const{data:n,dataLoading:a}=this.state;if(void 0===n)return i.default.createElement(p.default,{icon:"posts",style:{height:"300px"}});const{type:l,pagination:s,filter:f,filterStyle:m,allTag:y,masonryFilter:g}=e,b=(0,r.default)("brz-posts",{"brz-posts--masonry":"on"===f&&"on"===g},(0,w.css)(this.getComponentId(),this.getId(),(0,z.style)(e,t,o))),h=this.makeSubcomponentProps({allTag:y,handleAllTagChange:this.handleAllTagChange,bindWithKey:"items",className:b,type:l,data:n,filterStyle:m,meta:this.getMeta(e),showPagination:"on"===s,showFilter:"on"===f,toolbarExtendPagination:this.makeToolbarPropsFromConfig2(j,O,{allowExtend:!1}),toolbarExtendFilter:this.makeToolbarPropsFromConfig2(B,_,{allowExtend:!1})});return i.default.createElement(i.default.Fragment,null,i.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(c.default,this.makeContextMenuProps(P.default),i.default.createElement(T.default,h))),a&&i.default.createElement("div",{className:"brz-ed-portal__loading"},i.default.createElement(u.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})))}renderForView(e,t,o){const{type:n,pagination:a,filter:l,masonryFilter:s}=e,u=(0,r.default)("brz-posts",{"brz-posts--masonry":"on"===l&&"on"===s},(0,w.css)(this.getComponentId(),this.getId(),(0,z.style)(e,t,o))),p=(0,L.getLoopTagsAttributes)(e),f=this.makeSubcomponentProps({type:n,className:u,handleAllTagChange:this.handleAllTagChange,bindWithKey:"items",meta:this.getMeta(e),showPagination:"on"===a,showFilter:"on"===l&&p,loopAttributes:(0,L.getLoopAttributes)(e),loopTagsAttributes:p});return i.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(c.default,this.makeContextMenuProps(P.default),i.default.createElement(T.default,f)))}}const H=(0,y.withMigrations)(W,k.migrations,{getValue:async()=>(0,b.isCloud)(g.default.getAll())?await(0,I.getCollectionTypesInfo)():Promise.resolve(void 0)})},76755:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"m2",{enumerable:!0,get:function(){return y}});const r=(i=o(10301))&&i.__esModule?i:{default:i};var i;const n=o(92636),a=u(o(31786)),l=u(o(48630)),s=u(o(63300)),c=u(o(55538));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}function p(e,t){if(l.hasKey("taxonomy",e)&&l.hasKey("taxonomyId",e)){const o=s.read(e.taxonomy),r=s.read(e.taxonomyId);if(o&&r)return{[`${t}_incBy`]:'["term"]',[`${t}_inc_term`]:`["${o}:${r}"]`}}}function f(e){if(l.hasKey("orderBy",e)){const t=s.read(e.orderBy)||"id";return"ID"===t?"id":t}}function m(e){if(l.hasKey("order",e))return(c.readWithChoices(["ASC","asc","DESC","desc"])(e.order)??"ASC").toUpperCase()}const y={version:2,cb(e){if(!l.isObject(e))throw new Error(`Posts migration 2 input failed ${e}`);const t=function(e){let t="posts";if(l.hasKey("type",e)){const o=c.readWithChoices(["posts","archives","products","archives-product","upsell"])(e.type);o&&(t=o)}else if(l.hasKey("_styles",e)){const o=a.readWithItemReader(s.read)(e._styles)??[];o.includes("posts--archives")||o.includes("posts--archive")||o.includes("posts-archives")||o.includes("posts-archive")?t="archives":o.includes("posts--archives-product")&&(t="archives-product")}return t}(e);let o;switch(t){case"posts":{const r="post";o={type:t,source:r,_styles:["posts","posts-posts"],orderBy:f(e),order:m(e),symbols:p(e,r)};break}case"archives":o={type:t,source:void 0,_styles:["posts","posts-archive"],orderBy:"id",order:"DESC",symbols:void 0};break;case"products":{const r="product";o={type:t,source:r,_styles:["posts","posts-products"],orderBy:f(e),order:m(e),symbols:p(e,r)};break}case"archives-product":o={type:t,source:void 0,_styles:["posts","posts-productArchive"],orderBy:"id",order:"DESC",symbols:void 0};break;case"upsell":o={type:t,source:void 0,_styles:["posts","posts-upsell"],orderBy:"id",order:"DESC",symbols:void 0};break;default:!function(e){throw new Error("Didn't expect to get here")}()}return function(e){const t=Object.entries(e).filter((e=>{let[t,o]=e;return void 0!==o}));return(0,n.objectFromEntries)(t)}({...r.default.omit(e,"taxonomy","taxonomyId","orderBy","order"),...o})}}},87299:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"m3",{enumerable:!0,get:function(){return f}});const r=(i=o(13556))&&i.__esModule?i:{default:i};var i;const n=o(92636),a=u(o(48630)),l=u(o(63300)),s=u(o(95945)),c=o(43050);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}function p(e,t,o){const i=e.symbols;if(a.isObject(i)){const e=i[`${t}_incBy`];if(l.is(e)){let n=i;try{const s=[];JSON.parse(e).forEach((e=>{const d=`${t}_inc_${e}`,u=i[d],p=o.refsById[t]?.find((t=>t.id===e));if(p?.fieldId?s.push((0,c.createFieldCollectionId)(e,p.fieldId)):s.push(e),l.is(u)&&p?.fieldId)try{const o=JSON.parse(u).map((e=>(0,c.createFieldCollectionId)(e,p.fieldId)));n=(0,r.default)(n,(r=>{a.isObject(r)&&(delete r[d],r[`${t}_inc_${(0,c.createFieldCollectionId)(e,p.fieldId)}`]=JSON.stringify(o))}))}catch(e){}})),s.length&&(n=(0,r.default)(n,(e=>{a.isObject(e)&&(e[`${t}_incBy`]=JSON.stringify(s))})))}catch(e){}return n}}}const f={version:3,cb(e,t){if(!a.isObject(e))throw new Error(`Posts migration 3 input failed ${e}`);let o;return t&&l.is(e.source)&&s.is(e.source)&&(o={symbols:p(e,e.source,t)}),function(e){const t=Object.entries(e).filter((e=>{let[t,o]=e;return void 0!==o}));return(0,n.objectFromEntries)(t)}({...e,...o})}}},94682:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"migrations",{enumerable:!0,get:function(){return n}});const r=o(76755),i=o(87299),n=[r.m2,i.m3]},10407:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),i=o(69321),n=e=>{let{v:t,device:o}=e;switch("type",(0,i.defaultValueValue)({v:t,key:"type",device:o})){case"posts":default:return(0,r.t)("Posts Tags");case"relatedProducts":return(0,r.t)("Related Products Tags");case"upsell":return(0,r.t)("Upsell Tags");case"products":return(0,r.t)("Products Tags");case"categories":return(0,r.t)("Categories Tags")}};function a(){return[{id:"filterPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}},{id:"filterBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]}},53158:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),i=o(69321),n=e=>{let{v:t,device:o}=e;switch("type",(0,i.defaultValueValue)({v:t,key:"type",device:o})){case"posts":default:return(0,r.t)("Posts Pagination");case"relatedProducts":return(0,r.t)("Related Products Pagination");case"upsell":return(0,r.t)("Upsell Pagination");case"products":return(0,r.t)("Products Pagination");case"categories":return(0,r.t)("Categories Pagination")}};function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"paginationBorder",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:65}]}]}]}]}]}},89612:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return l}});const r=o(64985),i=o(69321),n=e=>{let{v:t,device:o}=e;const n=("type",(0,i.defaultValueValue)({v:t,key:"type",device:o}));switch(n){case"posts":return(0,r.t)("Posts");case"archives":case"archives-product":return(0,r.t)("Archive");case"products":return(0,r.t)("Products");case"upsell":return(0,r.t)("Upsell");default:throw new Error(`unknown Posts type ${n}`)}},a='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function l(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling"},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:a},placeholder:"element { CSS goes here }"}]}]}]}]}]}},63572:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-posts__wrapper > .brz-posts__item":{standart:["cssStyleElementPostsItemWidth","cssStyleElementPostsItemSpacing"]},".brz && .brz-posts__filter-wrapper":{standart:["cssStyleElementPostsFilterDisplay","cssStyleElementPostsFilterHorizontalAlign","cssStyleElementPostsFilterAfterSpacing"]},".brz && .brz-posts__filter__item":{standart:["cssStyleElementPostsFilterSpacing","cssStyleElementPostsFilterFontFamily","cssStyleElementPostsFilterFontSize","cssStyleElementPostsFilterLineHeight","cssStyleElementPostsFilterFontWeight","cssStyleElementPostsFilterLetterSpacing"]},".brz && .brz-posts__filter__item--style-1:hover":{standart:["cssStyleElementPostsFilterPaddingFourFields"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-posts__filter__item--style-1.brz-posts-filter__item--active":{standart:["cssStyleElementPostsFilterActiveColor","cssStyleElementPostsFilterActiveBgColor","cssStyleElementPostsFilterActiveBorder","cssStyleElementPostsFilterActiveShadow"]},".brz && .brz-posts__filter__item--style-1:not(.brz-posts-filter__item--active):hover":{standart:["cssStyleElementPostsFilterBgColor","cssStyleElementPostsFilterBorder","cssStyleElementPostsFilterShadow","cssStyleElementPostsFilterColor","cssStyleElementPostsFilterBorderRadius"]},".brz && .brz-posts__filter--style-2:hover":{standart:["cssStyleElementPostsFilterPaddingFourFields"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-posts__filter__item--style-2.brz-posts-filter__item--active":{standart:["cssStyleElementPostsFilterActiveColor"]},".brz && .brz-posts__filter__item--style-2:not(.brz-posts-filter__item--active):hover":{standart:["cssStyleElementPostsFilterColor"]},".brz && .brz-posts__filter--style-2:not(.brz-posts-filter__item--active):hover":{standart:["cssStyleElementPostsFilterBgColor","cssStyleElementPostsFilterBorder","cssStyleElementPostsFilterBorderRadius","cssStyleElementPostsFilterShadow","cssStyleDisplayInlineFlex"]},".brz && .brz-posts__pagination ul.page-numbers":{standart:["cssStyleElementPostsPaginationSpacing"]},".brz && .brz-posts__pagination ul.page-numbers .page-numbers:hover":{standart:["cssStyleElementPostsPaginationFontFamily","cssStyleElementPostsPaginationFontSize","cssStyleElementPostsPaginationLineHeight","cssStyleElementPostsPaginationFontWeight","cssStyleElementPostsPaginationLetterSpacing","cssStyleElementPostsPaginationBorderRadius"]},".brz && .brz-posts__pagination ul.page-numbers li:hover .page-numbers:not(.current)":{standart:["cssStyleElementPostsPaginationBgColor","cssStyleElementPostsPaginationBorder","cssStyleElementPostsPaginationColor"]},".brz && .brz-posts__pagination ul.page-numbers .page-numbers.current:hover":{standart:["cssStyleElementPostsPaginationActiveColor","cssStyleElementPostsPaginationActiveBgColor","cssStyleElementPostsPaginationActiveBorder"]}}})}},84855:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgColorHex"),s("bgColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarFilter",type:"popover-dev",config:{icon:"nc-tags",title:(0,i.t)("Tags")},roles:["admin"],position:60,options:[{id:"filterStyle",type:"radioGroup-dev",label:(0,i.t)("Style"),devices:"desktop",choices:[{value:"style-1",icon:"nc-tags-style-2"},{value:"style-2",icon:"nc-tags-style-1"}]},{id:"filterSpacing",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"afterFilterSpacing",type:"slider-dev",label:(0,i.t)("Content Gap"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",title:(0,i.t)("Typography"),size:"desktop"===o?"large":"auto"},roles:["admin"],position:70,options:[{id:"filter",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:s("bgColorOpacity")>0?(0,r.hexToRgba)(c,s("bgColorOpacity")):(0,r.hexToRgba)(d,s("colorOpacity"))}}},devices:"desktop",roles:["admin"],position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"filterBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabText",label:(0,i.t)("Text"),options:[{id:"filterColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"filterBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"filterBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"filterHorizontalAlign",type:"toggle-dev",devices:"desktop",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",icon:"nc-cog",roles:["admin"],position:110,devices:"desktop",title:(0,i.t)("Settings")}]}},80606:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),i=o(81405),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("paginationColorHex"),s("paginationColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",position:70,roles:["admin"],config:{title:(0,r.t)("Typography"),size:"desktop"===o?"large":"auto",icon:"nc-font"},options:[{id:"pagination",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,r.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,i.hexToRgba)(c,s("paginationColorOpacity"))}}},devices:"desktop",roles:["admin"],position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,r.t)("Background"),options:[{id:"paginationBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabText",label:(0,r.t)("Text"),options:[{id:"paginationColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,r.t)("Border"),options:[{id:"paginationBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"advancedSettings",type:"advancedSettings",icon:"nc-cog",position:110,roles:["admin"],devices:"desktop",title:(0,r.t)("Settings")}]}},62901:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=o(64985),i=o(69321),n=o(73014),a=o(65249),l=o(9622),s=e=>t=>{let{v:o,device:i}=t;const{icon:s,title:u}=c(o),p=d(o,i),f=(0,n.tabFilter)(o,e),m=function(e){if(!["posts","products","archives","archives-product"].includes(e.type))return;const t=(0,a.tagsFilter)(e);return{id:"navigation",label:(0,r.t)("Navigation"),options:[...t,{id:"groupPagination",type:"group-dev",devices:"desktop",options:[{id:"pagination",label:(0,r.t)("Pagination"),type:"switch-dev",disabled:(0,l.disableNavigation)(e)},{id:"paginationSpacing",label:(0,r.t)("Spacing"),type:"slider-dev",disabled:"on"!==e.pagination,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]}}(o);return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"popoverCurrentElement",type:"popover-dev",config:{icon:s,title:u},roles:["admin"],position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[...p?[p]:[],...f?[f]:[],...m?[m]:[]]}]}]},c=e=>{switch(e.type){case"posts":return{title:(0,r.t)("Posts"),icon:"nc-wp-posts"};case"archives":case"archives-product":return{title:(0,r.t)("Archive"),icon:"nc-archives"};case"products":return{title:(0,r.t)("Products"),icon:"nc-woo-products"};case"upsell":return{title:(0,r.t)("Upsell"),icon:"nc-woo-upsell"};default:throw new Error(`unknown Posts type: ${e.type}`)}},d=(e,t)=>{const{title:o}=c(e),n=o=>(0,i.defaultValueValue)({key:o,v:e,device:t}),a="desktop"===t?6:Math.min(n("gridColumn")*n("gridRow"),6);return{id:"posts",label:o,options:[{id:"gridColumn",type:"slider-dev",label:(0,r.t)("Columns"),config:{min:1,max:a,inputMin:1,inputMax:a,step:1}},{id:"gridRow",type:"slider-dev",label:(0,r.t)("Rows"),devices:"desktop",config:{min:1,max:15,step:1,inputMin:1,inputMax:50}},{id:"padding",label:(0,r.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}},u=e=>({getItems:s(e)})},73014:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"tabFilter",{enumerable:!0,get:function(){return s}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(4922),l=o(43050);function s(e){const t="posts"===e.type,o="archives"===e.type,i="products"===e.type,l="archives-product"===e.type;if(!(t||o||i||l))return;const s=(0,a.decodeV)(e),d=s.source===a.CURRENT_CONTEXT_TYPE,u=function(e){const t=r.default.getAll(),o="posts"===e.type;let i=[];return o&&(i=(t.wp.postLoopSources??[]).map((e=>{let{label:t,name:o}=e;return{title:t,value:o}}))),{id:"source",type:"select-dev",label:(0,n.t)("Source"),devices:"desktop",choices:i,disabled:!o}}(s);return{id:"filter",label:"Filter",options:[u,c("include",s,!t&&!i||d),c("exclude",s,!t&&!i||d),{id:"offset",label:(0,n.t)("Offset"),type:"number-dev",devices:"desktop"},{id:"orderBy",type:"select-dev",label:(0,n.t)("Order By"),devices:"desktop",choices:[{title:(0,n.t)("ID"),value:"id"},{title:(0,n.t)("Title"),value:"title"},{title:(0,n.t)("Date"),value:"date"},{title:(0,n.t)("Random"),value:"rand"},{title:(0,n.t)("Comment Count"),value:"comment_count"}]},{id:"order",type:"radioGroup-dev",label:(0,n.t)("Order"),devices:"desktop",choices:[{value:"ASC",icon:"nc-up"},{value:"DESC",icon:"nc-down"}]}]}}function c(e,t,o){const r="include"===e,i=r?"inc":"exc",a=t.source,s=[{id:"term",title:(0,n.t)("Category"),load:l.termsLoad,search:l.termsSearch},{id:"author",title:(0,n.t)("Author"),load:l.authorsLoad,search:l.authorsSearch},{id:"manual",title:(0,n.t)("Manual"),load:(0,l.manualLoad)([a],[]),search:(0,l.manualSearch)([a],[])}],c=r?(0,n.t)("All"):(0,n.t)("None"),d={id:`symbol_${a}_${i}By`,type:"multiSelect-dev",label:r?(0,n.t)("Include by"):(0,n.t)("Exclude by"),devices:"desktop",placeholder:c,choices:s.map((e=>({value:e.id,title:e.title})))},u=s.filter((e=>t.symbols[`${a}_${i}By`]?.includes(e.id))).map((e=>({id:`symbol_${a}_${i}_${e.id}`,label:e.title,type:"multiSelect-dev",devices:"desktop",placeholder:c,choices:{load:e.load,search:e.search}})));return{id:`${i}By-group`,type:"group-dev",options:[d,...u],disabled:o}}},65249:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"tagsFilter",{enumerable:!0,get:function(){return a}});const r=o(64985),i=o(4922),n=o(43050);function a(e){const t=(0,i.decodeV)(e),o=t.source,a="off"===e.filter;return[{id:"filter-group",type:"group-dev",disabled:!["posts","products"].includes(t.type),options:[{id:"filter",type:"switch-dev",label:(0,r.t)("Tags"),devices:"desktop"},{id:"tagsSource",type:"select-dev",label:(0,r.t)("Source"),devices:"desktop",disabled:a,placeholder:(0,r.t)("Select tags"),choices:{load:(0,n.tagsFilterLoad)(o),emptyLoad:{title:(0,r.t)("Don't have tags")}}},{id:"masonryFilter",type:"switch-dev",label:(0,r.t)("Masonry Arrangement"),devices:"desktop",disabled:a}]}]}},9622:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"disableNavigation",{enumerable:!0,get:function(){return n}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(63300));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const n=e=>{const{source:t}=e,o=`symbol_${t}_incBy`,i=r.read(e[o])??"{}";let n;try{const e=JSON.parse(i);Array.isArray(e)&&(n=e[0])}catch(e){}if(void 0===n||Array.isArray(n)&&0===n.length)switch(t){case"shopify-collection":case"shopify-blog":return!0}switch(t){case"shopify-product":switch(n){case"related":case"shopify-collection":return!1;case"manual":return!0}return!1;case"shopify-article":return!1;case"shopify-collection":case"shopify-page":case"shopify-blog":return!0}return!1}},43050:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{authorsLoad:function(){return i},authorsSearch:function(){return n},termsLoad:function(){return a},termsSearch:function(){return l},manualLoad:function(){return s},manualSearch:function(){return c},postsManualLoad:function(){return d},postsManualSearch:function(){return u},productsManualLoad:function(){return p},productsManualSearch:function(){return f},tagsFilterLoad:function(){return m},createFieldCollectionId:function(){return y}});const r=o(64187);async function i(e,t){try{const o=e.map((e=>`${e}`));return(await(0,r.getAuthors)({include:o,abortSignal:t})).map((e=>{let{ID:t,display_name:o}=e;return{title:o,value:String(t)}}))}catch(e){return[]}}async function n(e,t){try{return(await(0,r.getAuthors)({search:e,abortSignal:t})).map((e=>{let{ID:t,display_name:o}=e;return{title:o,value:String(t)}}))}catch(e){return[]}}async function a(e,t){const o=e.map((e=>(":",`${e}`.split(":").map((e=>e.trim())))));try{return(await(0,r.getTermsBy)({include:o,abortSignal:t})).map((e=>{let{term_id:t,name:o,taxonomy:r,taxonomy_name:i}=e;return{title:`${o} (${i})`,value:r+":"+t}}))}catch(e){return[]}}async function l(e,t){try{return(await(0,r.getTermsBy)({search:e,abortSignal:t})).map((e=>{let{term_id:t,name:o,taxonomy:r,taxonomy_name:i}=e;return{title:`${o} (${i})`,value:r+":"+t}}))}catch(e){return[]}}const s=(e,t)=>async(o,i)=>{try{const n=o.map((e=>`${e}`));return(await(0,r.getPosts)({include:n,abortSignal:i,postType:e,excludePostType:t})).map((e=>{let{ID:t,title:o}=e;return{title:o,value:String(t)}}))}catch(e){return[]}},c=(e,t)=>async(o,i)=>{try{return(await(0,r.getPosts)({search:o,abortSignal:i,postType:e,excludePostType:t})).map((e=>{let{ID:t,title:o}=e;return{title:o,value:String(t)}}))}catch(e){return[]}},d=s([],["product"]),u=c([],["product"]),p=s(["product"],[]),f=c(["product"],[]),m=e=>async t=>{try{return(await(0,r.getPostTaxonomies)({taxonomy:e,abortSignal:t})).filter((e=>e.public&&"post_format"!==e.name)).map((e=>{let{name:t,labels:o}=e;return{title:`${o.name}`,value:t}}))}catch(e){return[]}},y=()=>""},4922:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{stringifyAttributes:function(){return y},decodeV:function(){return v},decodeSymbols:function(){return S},encodeSymbols:function(){return w},CURRENT_CONTEXT_TYPE:function(){return x},getLoopName:function(){return M}});const r=(i=o(13556))&&i.__esModule?i:{default:i};var i;const n=o(78650),a=o(92636),l=m(o(31786)),s=m(o(13992)),c=m(o(4645)),d=m(o(48630)),u=m(o(63300)),p=o(22741);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}function y(e){return Object.entries(e).map(g).filter(p.isT).join(" ")}function g(e){let[t,o]=e;if(null!=o){if("string"==typeof o||"number"==typeof o)return`${t}='${o}'`;if(Array.isArray(o)&&o.length>0)return`${t}='${o.join(",")}'`;{const e=Object.entries(o).map(b).filter((e=>e.length>0)).join("&");return e.length>0?`${t}='${e}'`:void 0}}}function b(e){let[t,o]=e;if(null==o)return"";if("string"==typeof o||"number"==typeof o)return`${t}=${o}`;if(Array.isArray(o)||"object"==typeof o)return Object.entries(o).map((e=>{let[o,r]=e;return b([`${t}[${o}]`,r])})).filter((e=>e.length>0)).join("&");throw new Error("can't stringify v: "+o)}const h=(0,n.mPipe)(s.read,l.readWithItemReader(u.read));function v(e){const{type:t,gridRow:o,gridColumn:r,source:i,querySource:n,offset:a,orderBy:l,order:s,symbols:p,excludeCurrentProduct:f,excludeCurrentProductOption:m}=e;return{type:u.read(t)??"",gridRow:c.read(o)??1,gridColumn:c.read(r)??1,source:u.read(i)??"",querySource:u.read(n)??"",offset:c.read(a)??0,orderBy:u.read(l)??"",order:u.read(s)??"",symbols:d.readWithValueReader(h)(p)??{},..."on"===f?{excludeCurrentProduct:f}:{},...m?{excludeCurrentProductOption:m}:{}}}function S(e){const t=e.symbols;return t&&Object.keys(t).length>0?{...e,...(0,a.objectFromEntries)(Object.entries(t).map((e=>{let[t,o]=e;return[`symbol_${t}`,o]})))}:e}function w(e){return(0,r.default)(e,(e=>{for(const[t,o]of Object.entries(e))t.startsWith("symbol_")&&(e.symbols=e.symbols||{},e.symbols[t.replace("symbol_","")]=u.read(o),delete e[t])}))}const x="brz_current_context";function M(e){switch(e){case"upsell":return"editor_product_upsells";case"archives":case"archives-product":case"products":case"posts":return"brizy_dc_post_loop"}}},53169:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getLoopAttributes:function(){return m},getLoopTagsAttributes:function(){return y}});const r=o(10301),i=c(o(55538)),n=c(o(6085)),a=o(22741),l=o(4922);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}function d(e){return e.map((e=>{const[t,o]=e.split(":");return void 0!==t&&""!==t&&void 0!==o&&""!==o?[t,o]:void 0})).filter(a.isT)}function u(e){return"id"===e?"ID":e}function p(e){const{gridRow:t,gridColumn:o,type:i,source:n,offset:a,orderBy:s,order:c,symbols:p}=(0,l.decodeV)(e),f={post_status:"publish",post_type:"products"===i?"product":n,posts_per_page:0!==t&&0!==o?t*o:-1,ignore_sticky_posts:1},m=p[`${n}_excBy`]??[],y=p[`${n}_exc_manual`]??[],g=p[`${n}_exc_author`]??[],b=p[`${n}_exc_term`]??[],h=p[`${n}_incBy`]??[],v=p[`${n}_inc_manual`]??[],S=m.includes("manual")?(0,r.difference)(v,y):v,w=p[`${n}_inc_author`]??[],x=m.includes("author")?(0,r.difference)(w,g):w,M=p[`${n}_inc_term`]??[],T=m.includes("term")?(0,r.difference)(M,b):M;h.includes("manual")&&S.length>0&&(f.post__in=S),m.includes("manual")&&y.length>0&&(f.post__not_in=y),h.includes("author")&&x.length>0&&(f.author__in=x),m.includes("author")&&g.length>0&&(f.author__not_in=g);const P=h.includes("term")&&T.length>0,C=m.includes("term")&&b.length>0;if(P||C){let e,t;if(P){e={relation:"OR"};let t=0;for(const[o,r]of d(T))e[t++]={taxonomy:o,field:"term_id",terms:r}}if(C){t={relation:"AND"};let e=0;for(const[o,r]of d(b))t[e++]={taxonomy:o,field:"term_id",terms:r,operator:"NOT IN"}}e&&t?f.tax_query={relation:"AND",0:e,1:t}:e&&!t?f.tax_query=[e]:!e&&t&&(f.tax_query=[t])}s&&(f.orderby=u(s)),c&&(f.order=c);const k={query:f};return a>0&&(k.offset=a),k}function f(e){const{gridRow:t,gridColumn:o,orderBy:r,order:n,offset:a}=(0,l.decodeV)(e),s={count:0!==t&&0!==o?t*o:-1,orderby:u(r||"id"),order:i.readWithChoices(["ASC","DESC"])(n)??"DESC"};return a>0&&(s.offset=a),s}function m(e){if(e.source===l.CURRENT_CONTEXT_TYPE)return f(e);switch(e.type){case"archives":case"archives-product":case"upsell":return f(e);default:return p(e)}}function y(e){const{tagsSource:t,filterStyle:o,type:r,allTag:i}=e,a=n.toString(t),l=n.toString(i)??"";if(a&&("posts"===r||"products"===r))return{tax:a,allTag:l,ulClassName:`brz-posts__filter--${o}`,liClassName:`brz-posts__filter__item--${o}`,...p(e)}}},64068:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=b(o(60042)),i=o(42162),n=b(o(27378)),a=b(o(31440)),l=o(54668),s=b(o(36275)),c=b(o(67439)),d=b(o(63692)),u=o(94220),p=o(86022),f=b(o(72192)),m=v(o(46454)),y=o(60979),g=v(o(44548));function b(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const S=["centerLeft","centerRight"],w={width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}};class x extends d.default{static get componentId(){return"ProgressBar"}static defaultValue=f.default;static experimentalDynamicContent=!0;handleChange=e=>this.patchValue(e);renderForEdit(e,t,o){const{className:d,customCSS:f,showText:b,percentage:h,showPercentage:v,progressBarStyle:x}=e,M="on"===v,T=(0,r.default)((0,u.css)(`${this.constructor.componentId}-bar`,`${this.getId()}-bar`,(0,y.styleBar)(e,t,o))),P=(0,r.default)(d,"brz-progress-bar",`brz-progress-bar-${x}`,{"brz-without-percent":"off"===v,"brz-without-text":"style1"===x&&"off"===b},(0,u.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,y.styleBg)(e,t,o))),C=n.default.createElement(l.Text,{id:"text",v:e,className:"brz-progress-bar__text",onChange:this.handleChange});return n.default.createElement(c.default,this.makeToolbarPropsFromConfig2(g,m),n.default.createElement(s.default,{selectorName:this.getId(),css:f},n.default.createElement(p.Wrapper,this.makeWrapperProps({className:P,attributes:{"data-type":x}}),n.default.createElement(a.default,{points:S,restrictions:w,meta:this.props.meta,value:e,onChange:this.handleChange},"style1"===x?n.default.createElement(i.ProgressBar1,{text:C,className:T,showText:"on"===b,showPercentage:M,percentage:h}):n.default.createElement(i.ProgressBar2,{className:T,showPercentage:M,percentage:h})))))}renderForView(e,t,o){const{className:a,customCSS:c,showText:d,percentage:f,showPercentage:m,progressBarStyle:g}=e,b="on"===m,h=(0,r.default)((0,u.css)(`${this.constructor.componentId}-bar`,`${this.getId()}-bar`,(0,y.styleBar)(e,t,o))),v=(0,r.default)(a,"brz-progress-bar",`brz-progress-bar-${g}`,{"brz-without-percent":"off"===m,"brz-without-text":"style1"===g&&"off"===d},(0,u.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,y.styleBg)(e,t,o))),S=n.default.createElement(l.Text,{id:"text",v:e,className:"brz-progress-bar__text"});return n.default.createElement(s.default,{selectorName:this.getId(),css:c},n.default.createElement(p.Wrapper,this.makeWrapperProps({className:v,attributes:{"data-type":g}}),"style1"===g?n.default.createElement(i.ProgressBar1,{text:S,className:h,showText:"on"===d,showPercentage:b,percentage:f}):n.default.createElement(i.ProgressBar2,{className:h,showPercentage:b,percentage:f})))}}},46454:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return l},getItems:function(){return s}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(16526),l=(0,n.t)("Progress");function s(){const e=(0,a.isStory)(r.default.getAll());return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),icon:"nc-styling",options:[{id:"border",type:"corners-dev",label:(0,n.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,n.t)("Hover Transition"),disabled:e,devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},60979:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleBg:function(){return i},styleBar:function(){return n}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover.brz-progress-bar-style1":{standart:["cssStyleBg2Color","cssStyleBorderRadius","cssStyleSizeProgressBarStyle1Height"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover.brz-progress-bar-style1::after":{standart:["cssStyleBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover.brz-progress-bar-style2 .brz-progress-bar-overlay":{standart:["cssStyleBg2Color","cssStyleBorderRadius","cssStyleSizeProgressBarStyle2Height"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover.brz-progress-bar-style2 .brz-progress-bar-overlay::after":{standart:["cssStyleBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-progress-bar__wrapper":{standart:["cssStyleBgColor","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover.brz-progress-bar-style2 .brz-progress-bar__percent":{standart:["cssStyleBgColor","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-progress-bar__text":{standart:["cssStyleLabelColor","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-progress-bar__percent":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeProgressBarMaxWidthPercent","cssStyleElementProgressBarPadding"]}}})}},44548:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81263),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119),p=e=>{let{v:t,device:o,context:i}=e;const p=e=>(0,c.defaultValueValue)({v:t,key:e,device:o}),{hex:f}=(0,d.getOptionColorHexByPalette)(p("bgColorHex"),p("bgColorPalette")),m=p("progressBarStyle"),y=p("showText"),g="style2"===m,b="off"===p("showPercentage"),h="off"===y,v=(0,d.getDynamicContentOption)({options:i.dynamicContent.config,type:n.DCTypes.richText}),S=(0,s.isStory)(r.default.getAll());return[{id:"toolbarProgressBar",type:"popover-dev",config:{title:(0,l.t)("Progress"),icon:"nc-progress-bar"},devices:"desktop",position:70,options:[{id:"progressBarStyle",label:(0,l.t)("Style"),type:"radioGroup-dev",choices:[{value:"style1",icon:"nc-progress-bar-style-1"},{value:"style2",icon:"nc-progress-bar-style-2"}]},{id:"percentage",label:(0,l.t)("Fill"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]},population:v},{id:"showText",type:"switch-dev",label:(0,l.t)("Title"),disabled:g},{id:"showPercentage",type:"switch-dev",label:(0,l.t)("Percentage")}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"xlarge":"auto",title:(0,l.t)("Typography")},roles:["admin"],position:70,options:[{id:"tabsTypography",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabText",label:(0,l.t)("Title"),options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o},disabled:h||g}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",config:{...v,iconOnly:!0},devices:"desktop",disabled:h||g||void 0===v}]}]}]},{id:"tabPercent",label:(0,l.t)("Percent"),options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},disabled:b,columns:[{id:"col-1",size:1,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"auto",align:"center",options:[{id:"percentage",type:"population-dev",config:{...v,iconOnly:!0},disabled:void 0===v,devices:"desktop"}]}]}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(f,p("bgColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,l.t)("Title"),options:[{id:"labelColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:h||g}]},{id:"tabPercent",label:(0,l.t)("Percent"),options:[{id:"color",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:b}]},{id:"tabBar",label:(0,l.t)("Bar"),options:[{id:"bgColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"bg2Color",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},roles:["admin"],disabled:S,position:110,options:[{id:"width",label:(0,l.t)("Width"),type:"slider-dev",position:100,config:{min:1,max:"px"===p("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"style1Height",label:(0,l.t)("Height"),type:"slider-dev",disabled:g,config:{min:10,max:200,units:[{value:"px",title:"px"}]}},{id:"style2Height",label:(0,l.t)("Height"),type:"slider-dev",disabled:"style1"===m,config:{min:10,max:200,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:!S,position:110,devices:"desktop",icon:"nc-cog"}]}},51589:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const r=S(o(60042)),i=S(o(27378)),n=S(o(31440)),a=o(66848),l=S(o(36275)),s=S(o(67439)),c=S(o(10787)),d=S(o(63692)),u=o(94220),p=o(6085),f=o(86022),m=S(o(491)),y=x(o(39415)),g=x(o(63172)),b=o(33421),h=x(o(31754)),v=x(o(18750));function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const M=["centerLeft","centerRight"];class T extends d.default{static get componentId(){return"ProtectedPage"}static defaultValue=m.default;handleResizerChange=e=>this.patchValue(e);componentDidMount(){const e=this.makeToolbarPropsFromConfig2(v,g,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}handleLabelChange=e=>{this.patchValue({label:e})};renderButton(){const e=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:this.props.meta}});return i.default.createElement(c.default,e)}renderForEdit(e,t,o){const{customCSS:c,label:d,className:p}=e,m=(0,r.default)("brz-protected",p,(0,u.css)(this.getComponentId(),this.getId(),(0,b.styles)(e,t,o)));return i.default.createElement(s.default,this.makeToolbarPropsFromConfig2(h,y),i.default.createElement(l.default,{selectorName:this.getId(),css:c},i.default.createElement(f.Wrapper,this.makeWrapperProps({className:m}),i.default.createElement(n.default,{points:M,restrictions:{width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}},meta:this.props.meta,value:e,onChange:this.handleResizerChange},i.default.createElement("form",{className:"brz-form brz-protected-form"},i.default.createElement("div",{className:"brz-protected-form__input"},i.default.createElement(a.TextEditor,{className:"brz-input",value:d,onChange:this.handleLabelChange})),i.default.createElement("div",{className:"brz-protected-form__button"},this.renderButton()))))))}renderForView(e,t,o){const{customCSS:n,label:a,className:s,emptyMessage:c,invalidMessage:d,failMessage:m}=e,y=(0,r.default)("brz-protected",s,(0,u.css)(this.getComponentId(),this.getId(),(0,b.styles)(e,t,o))),g=(0,p.encodeToString)({empty:c,fail:m,invalid:d});return i.default.createElement(l.default,{selectorName:this.getId(),css:n},i.default.createElement(f.Wrapper,this.makeWrapperProps({className:y}),i.default.createElement("form",{className:"brz-form brz-protected-form","data-action":"/","data-messages":g},i.default.createElement("div",{className:"brz-protected-form__input"},i.default.createElement("input",{name:"protected",className:"brz-input",placeholder:a})),i.default.createElement("div",{className:"brz-protected-form__button"},this.renderButton()))))}}},39415:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function n(){return[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Styling"),icon:"nc-styling",options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}},63172:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},33421:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&":{standart:["cssStyleSizeWidth"]},".brz && .brz-protected-form":{standart:["cssStyleElementProtectedPageInputSpacing"]},".brz &&:hover .brz-protected-form__input":{standart:["cssStyleBorderRadius","cssStyleBorder","cssStyleBoxShadow","cssStyleElementProtectedPageInputWidth","cssStyleElementProtectedPageInputHeight","cssStyleBgColor","cssStyleBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-input":{standart:["cssStyleColor","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-input::placeholder":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-input:-webkit-autofill":{standart:["cssStyleElementProtectedPageAutocompleteColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},31754:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},roles:["admin"],position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,i.t)("Settings")},position:110,options:[{id:"inputWidth",label:(0,i.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"inputHeight",label:(0,i.t)("Height"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"inputSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},18750:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-lock",title:(0,r.t)("Protected Page")},position:60,options:[{id:"emptyMessage",type:"inputText-dev",label:"Empty message",placeholder:"..type error message",devices:"desktop"},{id:"invalidMessage",type:"inputText-dev",label:"Invalid message",placeholder:"..type error message",devices:"desktop"},{id:"failMessage",type:"inputText-dev",label:"Fail message",placeholder:"..type error message",devices:"desktop"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:10,max:100,units:[{value:"%",title:"%"}]}},{id:"advancedSettings",type:"advancedSettings",label:(0,r.t)("More Settings")}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0}]}},16921:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=m(o(27378)),i=m(o(63692)),n=o(66848),a=m(o(13293)),l=m(o(67439)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(35889)),c=m(o(60042)),d=o(94220),u=o(30755),p=m(o(33364)),f=o(73948);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}const g=e=>{switch(e){case"Password":case"PasswordConfirm":return e;default:return}};class b extends i.default{static get componentId(){return"ResetPasswordField"}static defaultValue=a.default;state={value:"",active:{}};handleActive=e=>{this.setState({active:e})};handleLabelChange=e=>{this.patchValue({label:e})};getLabel(e){const{label:t}=e;return null===t?"":t}getPlaceholder(e){const{placeholder:t,label:o}=e,{showPlaceholder:r,showLabel:i}=this.props;return"off"===r?"":null===t?o:t}getFieldType(e){switch(g(e)){case"Password":case"PasswordConfirm":return"password";case void 0:return""}}getFieldName(e){switch(g(e)){case"Password":return"password";case"PasswordConfirm":return"passwordConfirm";case void 0:return""}}renderIconForEdit=e=>{let{active:t}=e;return r.default.createElement("div",{className:"brz-control__check-group-icon"},r.default.createElement(p.default,{className:"brz-d-block",icon:t?"nc-check-square-on":"nc-check-square-off"}))};renderIconForView=()=>r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--check"},r.default.createElement(f.ThemeIcon,{className:"brz-d-block",name:"check-square-on",type:"editor"})),r.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--uncheck"},r.default.createElement(f.ThemeIcon,{className:"brz-d-block",name:"check-square-off",type:"editor"})));renderForEdit(e,t,o){const{showLabel:i,toolbarExtendLabel:a}=this.props,{type:p}=e,f=(0,c.default)("brz-reset-psw-form__field",`brz-reset-psw-form__field-${p}`,(0,d.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,u.style)(e,t,o))),m={height:""===e.label?0:"auto"};return r.default.createElement("div",{className:f},("Password"===p||"PasswordConfirm"===p)&&r.default.createElement("div",{className:"brz-reset-psw__item"},"on"===i&&r.default.createElement(l.default,a,r.default.createElement("div",{className:"brz-reset-psw__field-label",style:m},r.default.createElement("label",{className:"brz-label"},r.default.createElement(n.TextEditor,{value:this.getLabel(e),onChange:this.handleLabelChange})))),r.default.createElement(l.default,this.makeToolbarPropsFromConfig2(s),r.default.createElement("div",{className:"brz-reset-psw__field"},r.default.createElement("input",{name:"password",className:"brz-input",type:"text",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),required:!0,onChange:e=>{"on"===i?this.patchValue({placeholder:e.target.value}):this.patchValue({label:e.target.value,placeholder:e.target.value})}})))))}renderForView(e,t,o){const{showLabel:i}=this.props,{type:n}=e,a=(0,c.default)("brz-reset-psw-form__field",`brz-reset-psw-form__field-${n}`,(0,d.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,u.style)(e,t,o))),l={height:""===e.label?0:"auto"};return r.default.createElement("div",{className:a},("Password"===n||"PasswordConfirm"===n)&&r.default.createElement("div",{className:"brz-reset-psw__item"},"on"===i&&r.default.createElement("div",{className:"brz-reset-psw__field-label",style:l},r.default.createElement("label",{className:"brz-label"},this.getLabel(e))),r.default.createElement("div",{className:"brz-reset-psw__field"},r.default.createElement("input",{type:this.getFieldType(n),name:this.getFieldName(n),className:"brz-input",placeholder:this.getPlaceholder(e),defaultValue:"",required:!0}))))}}const h=b},30755:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth","cssStyleElementForm2FlexBasisPercent"]}}})}},35889:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]}]}},36148:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const r=S(o(60042)),i=S(o(27378)),n=S(o(36275)),a=S(o(10787)),l=S(o(63692)),s=o(94220),c=o(86022),d=S(o(82432)),u=x(o(62646)),p=x(o(48674)),f=x(o(26350)),m=x(o(41001)),y=o(95308),g=x(o(6153)),b=x(o(11682)),h=x(o(82108)),v=x(o(65023));function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class M extends l.default{static get componentId(){return"ResetPassword"}static defaultValue=d.default;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(v,m,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}handleResizerChange=e=>this.patchValue(e);handleSubmit=e=>{e.preventDefault()};renderResetPasswordFields(e){const t=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:2,itemProps:{meta:this.props.meta,toolbarExtendLabel:this.makeToolbarPropsFromConfig2(h,f,{allowExtend:!1}),toolbarExtend:this.makeToolbarPropsFromConfig2(g,u,{allowExtend:!1}),showLabel:e.showLabel,showPlaceholder:e.showPlaceholder}});return i.default.createElement(a.default,t)}renderButton(){const e=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:2,sliceEndIndex:3,itemProps:{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(b,p,{allowExtend:!1}),attributes:{type:"submit"}}});return i.default.createElement("div",{className:"brz-reset-psw-form__field brz-reset-psw__item-button"},i.default.createElement("div",{className:"brz-reset-psw__item brz-align-self-xs-end"},i.default.createElement(a.default,e)))}renderResetPasswordForm(e){return i.default.createElement(i.default.Fragment,null,this.renderResetPasswordFields(e),this.renderButton())}renderForm(e){return i.default.createElement("form",{className:"brz-reset-psw-form"},this.renderResetPasswordForm(e))}renderForEdit(e,t,o){const a=(0,r.default)("brz-reset-psw",(0,s.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,y.style)(e,t,o)));return i.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(c.Wrapper,this.makeWrapperProps({className:a,attributes:{"data-redirect":e.redirectType,"data-redirect-value":e.messageRedirect,"data-error-empty":e.emptyFieldsError,"data-error-url":e.submitUrlError,"data-error-passlength":e.passLengthError,"data-error-passmatch":e.passMatchError}}),this.renderForm(e)))}}const T=M},62646:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},48674:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Reset Password");function i(){return[]}},26350:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Reset Password");function i(){return[]}},41001:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Reset Password");function i(){return[]}},95308:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-reset-psw-form":{standart:["cssStyleDisplayFlex","cssStyleElementLoginFormMargin"]},".brz &&:hover .brz-reset-psw__item-button":{standart:["cssStyleDisplayFlex","cssStyleMarginAlign","cssStyleElementForm2SubmitWidth"]},".brz && .brz-reset-psw-form .brz-input:hover":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder","cssStyleBoxShadow","cssStyleBorderRadius","cssStylePaddingFourFields","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz && .brz-reset-psw-form .brz-reset-psw-form__field":{standart:["cssStyleElementLoginFieldPadding"]},".brz && .brz-reset-psw-form .brz-reset-psw__field-label":{standart:["cssStyleElementForm2FieldsLabelPadding"]},".brz &&:hover .brz-reset-psw-form .brz-reset-psw__field-label":{standart:["cssStyleLabelColor","cssStyleElementForm2FieldsLabelAlign"]},".brz &&:hover .brz-reset-psw-form .brz-reset-psw__field-label .brz-label":{standart:["cssStyleElementForm2FieldsLabelFontFamily","cssStyleElementForm2FieldsLabelFontSize","cssStyleElementForm2FieldsLabelFontWeight","cssStyleElementForm2FieldsLabelLetterSpacing","cssStyleElementForm2FieldsLabelLineHeight"]}}})}},6153:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=o(57582);function c(e){let{v:t,device:o}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette")),{hex:u}=(0,a.getOptionColorHexByPalette)(c("borderColorHex"),c("borderColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-form-left",title:(0,i.t)("Field")},position:60,options:[{id:"tabsCurrentElementFields",type:"tabs-dev",tabs:[{id:"tabsCurrentElementField",label:(0,i.t)("Field"),options:[(0,s.toolbarElementForm2Size)({v:t,device:o}),{id:"fieldPadding",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"tabsCurrentElementAdvanced",label:(0,i.t)("Advanced"),options:[{id:"showLabel",label:(0,i.t)("Label"),devices:"desktop",type:"switch-dev"},{id:"showPlaceholder",label:(0,i.t)("Placeholder"),devices:"desktop",type:"switch-dev"}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:c("bgColorOpacity")>0?(0,r.hexToRgba)(u,c("borderColorOpacity")):(0,r.hexToRgba)(d,c("bgColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabInput",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},11682:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321);function n(e){let{v:t,device:o}=e;return[{id:"popoverLink",type:"popover-dev",config:{icon:"nc-link",title:(0,r.t)("Link"),size:"medium"},position:90,options:[{id:"redirectGroup",type:"group-dev",options:[{id:"redirectType",type:"select-dev",label:(0,r.t)("Redirect After Login"),devices:"desktop",choices:[{title:(0,r.t)("Same Page"),value:"samePage"},{title:(0,r.t)("Custom"),value:"custom"}]},{id:"messageRedirect",label:(0,r.t)("URL"),type:"inputText-dev",disabled:"custom"!==("redirectType",(0,i.defaultValueValue)({v:t,key:"redirectType",device:o})),devices:"desktop",placeholder:"http://"}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},position:110,options:[{id:"submitWidth",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"right"}]}]}},82108:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("labelColorHex"),l("labelColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-form-left",title:(0,i.t)("Field")},position:60,options:[{id:"labelPaddingBottom",label:(0,i.t)("Spacing"),position:60,type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"label",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("labelColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"labelColor",type:"colorPicker-dev"}]},{id:"labelHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},65023:(e,t)=>{"use strict";function o(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},12594:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{triggerCodes:function(){return v},default:function(){return x}});const r=b(o(65311)),i=b(o(27378)),n=o(23884),a=b(o(10301)),l=b(o(22546)),s=o(97045),c=o(94220),d=o(16526),u=o(6804),p=o(63580),f=o(42412),m=b(o(23749)),y=b(o(30317)),g=o(44643);function b(e){return e&&e.__esModule?e:{default:e}}const h=[],v=["#","@"],S=["brz-ed-content-editable-focus","brz-ed-dd-cancel"];class w extends i.default.Component{isUnmounted=!1;content=i.default.createRef();contentEditable=i.default.createRef();quill=null;currentSelection=null;lastUpdatedValue="";componentDidMount(){const{initDelay:e}=this.props;this.lastUpdatedValue=this.props.value,e>0?setTimeout((()=>{this.isUnmounted||this.initPlugin()}),e):this.initPlugin()}componentDidUpdate(e){const{fonts:t}=e,{value:o,forceUpdate:r,onSelectionChange:i,isToolbarOpen:n}=this.props,s=!a.default.isEqual(t,this.props.fonts),c=o!==this.lastUpdatedValue||r;(c||s)&&this.quill&&(this.reinitPluginWithValue(o),c&&!(0,d.isStory)(l.default.getAll())&&n()&&i(this.getSelectionFormat(),this.getCoords(this.quill.getSelection(!0))))}shouldComponentUpdate(e){const{fonts:t,value:o}=e;return!a.default.isEqual(t,this.props.fonts)||o!==this.lastUpdatedValue}componentWillUnmount(){this.isUnmounted=!0,this.destroyPlugin()}getCoords(e){if(!e)return{bottom:0,height:0,left:0,right:0,top:0,width:0};const t=this.content.current,{top:o,left:r}=t.getBoundingClientRect(),i=this.quill.getBounds(e.index,e.length);return{...i,top:i.top+o+window.scrollY,left:i.left+r}}reinitPluginWithValue(e,t){this.destroyPlugin(),this.contentEditable.current&&(this.lastUpdatedValue=e,this.contentEditable.current.innerHTML=this.changeRichTextFonts(e)),this.initPlugin(),t?.restoreSelectionIndex&&this.quill.setSelection(t.restoreSelectionIndex,0)}initPlugin=()=>{const e=new y.default(this.contentEditable.current,{placeholder:"Enter text here...",modules:{toolbar:!1,history:{maxStack:0},keyboard:{bindings:m.default},clipboard:{matchVisual:!1}}});e.on("selection-change",((t,o)=>{if(this.currentSelection=t,e.hasFocus()&&t&&!a.default.isEqual(t,o)){const e=this.getSelectionFormat();this.props.onSelectionChange(e,this.getCoords(t))}})),e.on("text-change",(()=>{const t=e.getSelection(!0),o=this.getSelectionFormat();this.props.onSelectionChange(o,this.getCoords(t)),this.save(e.root.innerHTML)})),this.quill=e,0===h.length&&document.addEventListener("mousedown",this.onBlurAll,!1),h.push(this)};destroyPlugin(){this.quill=null,h.splice(h.indexOf(this),1),0===h.length&&document.removeEventListener("mousedown",this.onBlurAll,!1)}restoreSelection(e){let{index:t,length:o}=e;const r=this.quill,i=r.getLines(t,o),n=r.getLine(t),a=n&&n[0].domNode.textContent.length;1===i.length&&a{this.lastUpdatedValue=e,this.props.onTextChange(e)}),500);handleClick=()=>{const e=this.content.current;e&&e.classList.add(...S)};handleKeyPress=e=>{v.includes(e.key)&&this.quill.format("prepopulation","visible")};handlePaste=e=>{const t=e.clipboardData.getData("Text"),o=this.currentSelection?.index??0;setTimeout((()=>{this.contentEditable?.current?.innerHTML&&this.reinitPluginWithValue(this.contentEditable.current.innerHTML,{restoreSelectionIndex:o+t.length+1})}),1)};onBlurAll=e=>{h.forEach((t=>{const o=t.content.current;o&&!o.contains(e.target)&&o.classList.remove(...S)}))};changeRichTextFonts(e){return(0,f.mapBlockElements)(e,(e=>{const t=(0,u.uuid)(5),o=this.getClassName(e.attr("class")?.split(" ")??[],t);e.attr("data-generated-css",o),e.attr("data-uniq-id",t)}))}render(){const{value:e}=this.props,t=this.changeRichTextFonts(e);return i.default.createElement("div",{ref:this.content,className:"brz-ed-content-editable-wrap",onPaste:this.handlePaste},i.default.createElement("div",{className:"brz-ed-content-editable-child"}),i.default.createElement("div",{ref:this.contentEditable,dangerouslySetInnerHTML:{__html:t},onClick:this.handleClick,onKeyPress:this.handleKeyPress}))}getExtraClassNames(e){const t=[];return e.is("*[class*='brz-tp__dc-block']")&&t.push("brz-tp__dc-block"),e.is("*[class*='brz-tp__dc-block-st1']")&&t.push("brz-tp__dc-block-st1"),t}getClassName(e,t){const{v:o,vs:r,vd:i}=(0,g.classNamesToV2)(e),n=(0,p.styleHeading)(o,r,i),{className:a}=(0,c.css1)(t,n[2],((e,t)=>e.replace(/&&/gm,`[data-generated-css=${t}]`)));return a}setGeneratedCss(){const e=this.quill.getLines(),t=[];e.forEach((e=>{const o=e.domNode;let r=o.getAttribute("data-uniq-id");t.includes(r)&&(r=(0,u.uuid)(5),o.setAttribute("data-uniq-id",r));const i=this.getClassName(Array.from(o.classList),r);e.format("generated-css",i),t.push(r)}))}formatPopulation=e=>{const t=l.default.getAll(),o=t?.dynamicContent?.groups?.richText,r=t?.dynamicContent?.useCustomPlaceholder,{label:i,display:n,placeholder:a}=e;let s=(0,f.createLabel)(i);!Array.isArray(o)&&o?.handler&&(s=i);const c=r?a:a.replace("{{","").replace("}}",""),d=this.quill,u=d.getSelection(!0),[p,m]=d.getLeaf(u.index),y=d.getLine(u.index)[0],g=d.getFormat();let{index:b,length:h}=u;(g.prepopulation||g.population)&&(b=u.index-m,h=p.length()),d.deleteText(b,h);const v={...g,population:c,dcBlock:!1,populationColor:!1};if("inline"===n)d.insertText(b,s,v),d.format("dcBlock",!1),d.format("populationColor",!1);else{v.dcBlock=!0;const e=y.domNode.innerText;e.trim().length?y.offset()+e.length===b?(d.insertText(b,"\n"),b+=1,d.insertText(b,s,v),d.format("dcBlock",!0)):(y.offset()===b||(d.insertText(b,"\n"),b+=1),d.insertText(b,`${s}\n`,v)):(d.insertText(b,s,v),d.format("dcBlock",!0))}d.insertText(b+s.length," ",{population:null}),d.setSelection(b+s.length+1,0)};format=(e,t)=>{const o=this.quill,r=o.getSelection(!0),i=o.getLine(r.index)[0];if(!r.length){if("link"===e){const[i]=o.getLeaf(r.index);return void o.formatText(o.getIndex(i.parent),i.parent.length(),e,t)}const n=t||!1;let a=i.offset();return"li"===i.domNode.tagName.toLowerCase()&&(a=i.parent.offset()+i.offset()),void o.formatText(a,i.length(),e,n)}o.format(e,t)};formatMultiple(e){const t=Object.values(g.currentBlockValues).map((e=>Object.keys(e))).flat();for(let[o,r]of Object.entries(e))"popups"!==o&&(t.includes(o)&&(r=(0,g.formatVToQuilValue)(r)),this.format(o,r));this.setGeneratedCss()}}const x=(0,n.connect)((e=>({defaultFont:(0,s.defaultFontSelector)(e),fonts:(0,s.unDeletedFontsSelector)(e)})),null,null,{forwardRef:!0})(w)},60546:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return Z}});const r=V(o(60042)),i=G(o(27378)),n=V(o(31542)),a=V(o(31440)),l=V(o(17882)),s=V(o(7098)),c=o(1424),d=V(o(36275)),u=V(o(24072)),p=V(o(1440)),f=o(62948),m=V(o(53125)),y=V(o(67439)),g=V(o(10787)),b=V(o(63692)),h=o(76753),v=V(o(22546)),S=o(54639),w=o(81263),x=o(97045),M=o(92213),T=o(94220),P=o(49863),C=o(64985),k=o(16526),_=o(98610),O=o(68256),E=G(o(4645)),z=G(o(66559)),B=o(22741),j=o(86022),N=G(o(12594)),I=V(o(30277)),L=G(o(41651)),D=o(63580),F=V(o(65168)),A=o(20825),R=o(42412),W=o(39030),H=o(44643);function V(e){return e&&e.__esModule?e:{default:e}}function U(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(U=function(e){return e?o:t})(e)}function G(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=U(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const $=(0,P.pipe)(E.read,B.isNullish),Q=["centerLeft","centerRight"];class Y extends b.default{static get componentId(){return"RichText"}static defaultValue=I.default;static experimentalDynamicContent=!0;handleResizerChange=e=>this.patchValue(e);prepopulation=null;state={formats:{},prepopulation:null,population:null,selectionCoords:null};quillRef=i.default.createRef();toolbarRef=i.default.createRef();toolbarOpen=!1;renderDC=!v.default.getAll().dynamicContent?.liveInBuilder||!1;componentDidMount(){const e=n.default.findDOMNode(this),t=v.default.getAll().dynamicContent?.useCustomPlaceholder??!1;e.addEventListener("click",(e=>e.toolbarHandled=!0),!1);const o=this.context.dynamicContent.itemId;o&&e.setAttribute("data-item_id",o);const r=e.querySelectorAll("[data-image_population]");r.length>0&&this.renderDC&&r.forEach((async e=>{const r=e.getAttribute("data-image_population");if(r){const i=await(0,W.getImagePopulation)(r,o,t);i&&(e.classList.add("brz-population-mask__style"),e.style.backgroundImage=`url("${i}")`)}}))}handleToolbarOpen=()=>{this.toolbarOpen=!0};handleToolbarClose=()=>{this.toolbarOpen=!1};handleSelectionChange=(e,t)=>{const o={formats:e},r=v.default.getAll(),i=r.dynamicContent?.groups;if(Array.isArray(i)||"function"!=typeof i?.richText?.handler)(this.state.prepopulation!==e.prepopulation||t&&this.state.selectionCoords!==t||e.population)&&Object.assign(o,{prepopulation:e.prepopulation||null,population:e.population||null,selectionCoords:t}),this.setState(o,(()=>this.toolbarRef.current.show()));else if(t&&this.state.selectionCoords!==t){Object.assign(o,{selectionCoords:t});const r=e.prepopulation?.trim();if(r&&this.prepopulation!==r){const t=e=>{try{const t=(0,R.dcItemOptionParser)(e);this.prepopulation=t.label,this.quillRef.current.formatPopulation({label:t.label,display:t.display,placeholder:t.placeholder}),this.quillRef.current.format("prepopulation",null),this.prepopulation=null}catch(e){f.ToastNotification.error((0,C.t)("Invalid Dynamic Option"))}},o=e=>{f.ToastNotification.error(e)},r=e.prepopulation?.at(-1);r&&N.triggerCodes.some((e=>e===r))&&i.richText.handler(t,o,{keyCode:r})}this.setState(o,(()=>this.toolbarRef.current.show()))}};handleTextChange=e=>{let t;this.tmpPopups&&(t=this.tmpPopups,this.tmpPopups=null),this.patchValue({text:e,...t?{popups:t}:{}})};handlePopulationSet=e=>{const t=(0,O.getDynamicContentByPlaceholder)(this.context.dynamicContent.config,e);t&&this.quillRef.current.formatPopulation({label:t.label,display:t.display??"inline",placeholder:e}),this.quillRef.current.format("prepopulation",null)};handlePopulationClickOutside=()=>{this.setState({prepopulation:null,population:null})};handleBlockTag=e=>{switch(e){case"paragraph":return{pre:!1,header:null};case"heading1":return{pre:!1,header:"h1"};case"heading2":return{pre:!1,header:"h2"};case"heading3":return{pre:!1,header:"h3"};case"heading4":return{pre:!1,header:"h4"};case"heading5":return{pre:!1,header:"h5"};case"heading6":return{pre:!1,header:"h6"}}};handleChange=e=>{const t=document.activeElement;switch(e.popups&&(this.tmpPopups=e.popups),this.patchValue(e),n.default.findDOMNode(this).contains(t)||t.focus&&t.focus(),e.typographyFontStyle){case"paragraph":case"heading1":case"heading2":case"heading3":case"heading4":case"heading5":case"heading6":this.quillRef.current.formatMultiple(this.handleBlockTag(e.typographyFontStyle))}this.quillRef.current.formatMultiple(e)};handleKeyDown=()=>{};handleKeyUp=()=>{};getClassName(e,t,o){const i=e.textPopulation&&(0,T.css)("dc"+this.getComponentId(),"dc"+this.getId(),(0,D.styleDC)(e,t,o));return(0,r.default)("brz-rich-text",{notranslate:!0,"brz-rich-text__custom":!e.textPopulation,"brz-rich-text__population-cloud":e.textPopulation&&(0,S.isCloud)(v.default.getAll())},e.className,(0,T.css)(this.getComponentId(),this.getId(),(0,D.style)(e,t,o)),i)}getToolbarOpen=()=>this.toolbarOpen;patchValue(e,t){let o=e;if("textPopulation"in e&&""===e.textPopulation)this.toolbarRef.current.hide();else if("textPopulation"in e&&e.textPopulation){if(this.getValue2().v.textPopulation)return super.patchValue(e,t);const r=["FontFamily","FontFamilyType","FontSize","FontSizeSuffix","FontStyle","FontWeight","LetterSpacing","LineHeight"],i=Array.from(this.quillRef.current?.quill?.root?.children??[]).filter((e=>!!A.TypographyTags[e.tagName])).reverse().reduce(((e,t)=>(e.push([t.tagName,[...t.classList]]),e)),[]).map((e=>{let[t,o]=e;return[t,(0,H.classNamesToV)(o)]})).map((e=>{let[t,o]=e;return z.types.map((e=>{const i=t=>{const r=(0,_.defaultValueKey2)({key:(0,h.createOptionId)("typography",t),device:e});return o[r]};return r.reduce(((o,r)=>{var n;return o[(n=r,(0,_.defaultValueKey2)({key:(0,h.createOptionId)((0,A.tagId)(t),n),device:e,state:"normal"}))]=i(r),o[(t=>(0,_.defaultValueKey2)({key:(0,h.createOptionId)("typography",t),device:e,state:"normal"}))(r)]=i(r),o}),{})}))})).flat().reduce(((e,t)=>({...e,...t})),{}),n=this.quillRef.current.quill.getFormat(0);o={...o,...i,...(0,R.parseShadow)(n.shadow),bgColorHex:n.color??null,bgColorPalette:n.colorPalette??null}}super.patchValue(o,t)}getValue2(){const{v:e,vs:t,vd:o}=super.getValue2();return e.textPopulation?{v:e,vs:t,vd:o}:{v:{...e,...this.state.formats,tag:this.state.formats?.tagName},vs:t,vd:o}}renderPopulationHelper(){const{prepopulation:e,population:t,selectionCoords:{left:o,top:r,height:a}}=this.state;let c=t?t.label:e;const d={left:o,width:"130px",top:r+a},u=(0,O.getDynamicContentChoices)(this.context.dynamicContent.config,w.DCTypes.richText)||[],p=new RegExp(c.substr(1).replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"i"),f=u.filter((e=>{let{title:t}=e;return p.test(t)})),m=i.default.createElement(l.default,{onClickOutside:this.handlePopulationClickOutside},i.default.createElement(s.default,{style:d,choices:f,onChange:this.handlePopulationSet}));return n.default.createPortal(m,document.body)}renderPopups(e){const{popups:t}=e;if(0===t.reduce(((e,t)=>{let o=t;return"GlobalBlock"===o.type&&(o=(0,x.blocksDataSelector)((0,M.getStore)().getState())[o.value._id]),o?[...e,o]:e}),[]).length)return null;const o=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{blockId:t,value:{popupId:o}}=e;return"GlobalBlock"===e.type&&(o=(0,x.blocksDataSelector)((0,M.getStore)().getState())[e.value._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${o}`}}});return i.default.createElement(g.default,o)}renderLink(e){const{linkType:t,linkAnchor:o,linkExternalBlank:r,linkExternalRel:n,linkExternalType:a,linkPopup:l,linkUpload:s,linkToSlide:c,text:d}=e,u={anchor:o,linkToSlide:$(c)?"":`slide-${c}`,external:e[a],popup:l,upload:s};let f=i.default.createElement("div",{className:"placeholder-is-empty"},i.default.createElement(m.default,{icon:"wp-title"}));if((this._dc?.lastCache?.text||this.renderDC)&&(f=i.default.createElement("span",{className:"brz-blocked",dangerouslySetInnerHTML:{__html:d}})),""!==u[t]){const e=isNaN(c)?{}:{"data-brz-link-story":c};return i.default.createElement(p.default,{className:"brz-ed-content-dc-link",type:t,href:u[t],target:r,rel:n,slide:e},f)}return f}renderForEdit(e,t,o){const{prepopulation:r,population:n}=this.state,{meta:l={}}=this.props,s=Boolean(l.sectionPopup),p=Boolean(l.sectionPopup2),f=v.default.getAll(),m={...e,popups:this.tmpPopups||e.popups},g=(0,F.default)(m,this.handleChange),b=!(0,c.getCurrentTooltip)()&&(null!==r||n);let h=i.default.createElement(N.default,{ref:this.quillRef,componentId:this.getId(),value:e.text,onSelectionChange:this.handleSelectionChange,onTextChange:this.handleTextChange,isToolbarOpen:this.getToolbarOpen,initDelay:s||p||(0,k.isPopup)(f)?1e3:0}),S={manualControl:!0,repositionOnUpdates:!0,onOpen:this.handleToolbarOpen,onClose:this.handleToolbarClose};return e.textPopulation&&(S={},h=this.renderLink(e)),i.default.createElement(i.default.Fragment,null,i.default.createElement(u.default,{shortcutsTypes:["copy","paste","delete"],id:this.getId(),onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp},i.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(y.default,{...this.makeToolbarPropsFromConfig2(g,L),ref:this.toolbarRef,...S},i.default.createElement(j.Wrapper,this.makeWrapperProps({className:this.getClassName(e,t,o)}),(0,k.isStory)(f)?i.default.createElement(a.default,{points:Q,meta:{...l,horizontalAlign:"left"},value:e,onChange:this.handleResizerChange,restrictions:{width:{"%":{min:5,max:100}}}},h):h)))),b&&this.renderPopulationHelper(),this.renderPopups(e))}getExtraClassNames(e){const t=[];return e.is("*[class*='brz-tp__dc-block']")&&t.push("brz-tp__dc-block"),e.is("*[class*='brz-tp__dc-block-st1']")&&t.push("brz-tp__dc-block-st1"),t}renderForView(e,t,o){let r=i.default.createElement(N.default,{value:e.text});return e.textPopulation&&(r=this.renderLink(e)),i.default.createElement(i.Fragment,null,i.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(j.Wrapper,this.makeWrapperProps({className:this.getClassName(e,t,o)}),r)),this.renderPopups(e))}}const Z=Y},41651:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Text");function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"blendMode",label:(0,r.t)("Blending Mode"),type:"select-dev",devices:"desktop",position:80,choices:[{title:(0,r.t)("Normal"),value:"normal"},{title:(0,r.t)("Color"),value:"color"},{title:(0,r.t)("Color Burn"),value:"color-burn"},{title:(0,r.t)("Color Dodge"),value:"color-dodge"},{title:(0,r.t)("Darken"),value:"darken"},{title:(0,r.t)("Difference"),value:"difference"},{title:(0,r.t)("Exclusion"),value:"exclusion"},{title:(0,r.t)("Hue"),value:"hue"},{title:(0,r.t)("Lighten"),value:"lighten"},{title:(0,r.t)("Luminosity"),value:"luminosity"},{title:(0,r.t)("Multiply"),value:"multiply"},{title:(0,r.t)("Overlay"),value:"overlay"},{title:(0,r.t)("Saturation"),value:"saturation"},{title:(0,r.t)("Screen"),value:"screen"}]}]}]}]}]}]}},63580:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return i},styleDC:function(){return n},styleHeading:function(){return a}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth","cssStyleBlendMode"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementRichTextDCColor","cssStyleElementRichTextDCGradient","cssStyleElementTitleTextShadow","cssStyleContentAlign","cssStyleElementRichTextFontFamily","cssStyleElementRichTextFontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleElementRichTextBgImage","cssStyleElementRichTextDCUppercase"]},".brz &&:hover *":{standart:["cssStyleElementRichTextDCUppercase"]},".brz &&:hover > .brz-a.brz-a:not(.brz-btn)":{standart:["cssStyleColor","cssStyleElementRichTextGradient","cssStyleTextShadow"]},".brz && h1":{standart:["cssStyleElementRichTextH1FontFamily","cssStyleElementRichTextH1FontSize","cssStyleElementRichTextH1LineHeight","cssStyleElementRichTextH1FontWeight","cssStyleElementRichTextH1LetterSpacing"]},".brz && h2":{standart:["cssStyleElementRichTextH2FontFamily","cssStyleElementRichTextH2FontSize","cssStyleElementRichTextH2LineHeight","cssStyleElementRichTextH2FontWeight","cssStyleElementRichTextH2LetterSpacing"]},".brz && h3":{standart:["cssStyleElementRichTextH3FontFamily","cssStyleElementRichTextH3FontSize","cssStyleElementRichTextH3LineHeight","cssStyleElementRichTextH3FontWeight","cssStyleElementRichTextH3LetterSpacing"]},".brz && h4":{standart:["cssStyleElementRichTextH4FontFamily","cssStyleElementRichTextH4FontSize","cssStyleElementRichTextH4LineHeight","cssStyleElementRichTextH4FontWeight","cssStyleElementRichTextH4LetterSpacing"]},".brz && h5":{standart:["cssStyleElementRichTextH5FontFamily","cssStyleElementRichTextH5FontSize","cssStyleElementRichTextH5LineHeight","cssStyleElementRichTextH5FontWeight","cssStyleElementRichTextH5LetterSpacing"]},".brz && h6":{standart:["cssStyleElementRichTextH6FontFamily","cssStyleElementRichTextH6FontSize","cssStyleElementRichTextH6LineHeight","cssStyleElementRichTextH6FontWeight","cssStyleElementRichTextH6LetterSpacing"]},".brz && *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(b):not(strong):not(i):not(span)":{standart:["cssStyleElementRichTextFontFamily","cssStyleElementRichTextFontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"]},".brz && strong, .brz && b":{standart:["cssStyleElementRichTextFontFamily","cssStyleElementRichTextFontSize","cssStyleTypography3LineHeight","cssStyleTypography3LetterSpacing"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleColor","cssStyleElementRichTextMartinTop","cssStyleElementRichTextMartinBottom","cssStyleContentAlign","cssStyleElementRichTextFontFamily","cssStyleElementRichTextFontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"]}}})}},32615:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=o(70634),i=(n=o(22546))&&n.__esModule?n:{default:n};var n;const a=o(81263),l=o(81405),s=o(64985),c=o(69321),d=o(68256),u=o(24119),p=o(6085),f=e=>{let{hex:t,opacity:o}=e;return(0,l.hexToRgba)(t,o)},m=(e,t)=>{if(e.palette){const{palette:o,opacity:r,horizontal:i,vertical:n,blur:a}=e;return`rgba(var(${(0,l.makeStylePaletteCSSVar)(o,t)}),${r}) ${i}px ${n}px ${a}px`}return`${f({hex:e.hex,opacity:e.opacity})} ${e.horizontal}px ${e.vertical}px ${e.blur}px`},y=(e,t,o)=>{if("hex"===o.isChanged){const i=(0,r.setIn)(e,[t,"hex"],o.hex);return(0,p.encodeToString)((0,r.setIn)(i,[t,"colorPalette"],null))}if("opacity"===o.isChanged)return(0,p.encodeToString)((0,r.setIn)(e,[t,"opacity"],o.opacity));const i=(0,r.setIn)(e,[t,"colorPalette"],o.palette);return(0,p.encodeToString)((0,r.setIn)(i,[t,"hex"],null))};function g(e,t){let{populationColor:o}=e;const r={p:"P",h1:"H1",h2:"H2",h3:"H3",h4:"H4",h5:"H5",h6:"H6"};return Object.entries(o).reduce(((e,i)=>{let[n,a]=i;const{hex:s}=(0,l.getColorPaletteColor)(a.colorPalette)||{};return e.push({id:r[n],label:r[n],options:[{id:"paragraphColor",type:"colorPicker2",select:{show:!1},value:{hex:s||a.hex,opacity:a.opacity,palette:a.colorPalette},onChange:e=>t({populationColor:y(o,n,e)})},{type:"grid-dev",className:"brz-ed-grid__color-fileds",columns:[{size:"auto",options:[{id:"paragraphColorFields",type:"colorFields",position:30,value:{hex:s||a.hex,opacity:a.opacity},onChange:e=>t(y(o,n,e))}]}]}]}),e}),[])}function b(e,t){let{populationColor:o}=e;return[{id:"colorTabs",type:"tabs-dev",tabs:g({populationColor:o},t)}]}function h(e,t,o){let{context:r}=t;const{src:n=null,population:c=null,fileName:p=null,x:f=null,y=null,extension:g=null,width:b=null,height:h=null}=e.backgroundImage||{},v=i.default.getAll(),S=(0,d.getDynamicContentOption)({options:r.dynamicContent.config,type:a.DCTypes.image,config:{show:!0}});return[{id:"colorTabs",type:"tabs-dev",tabs:[{id:"tabText",label:(0,s.t)("Color"),options:[{id:"",type:"backgroundColor-dev",states:[u.NORMAL],config:{withNone:!1},dependencies:t=>{const r=t.bgColorPalette!==e.bgColorPalette?t.bgColorPalette:"",i=t.bgColorPalette!==e.bgColorPalette&&(0,l.getColorPaletteColor)(t.bgColorPalette)?(0,l.getColorPaletteColor)(t.bgColorPalette).hex:t.bgColorHex,n=t.gradientColorPalette?(0,l.getColorPaletteColor)(t.gradientColorPalette).hex:t.gradientColorHex;o((e=>"gradient"===("none"===e.bgColorType?e.tempBgColorType:e.bgColorType)?{...e,backgroundGradient:{type:"linear-gradient",radialPosition:90,linearAngle:90,startPointer:0,finishPointer:100,activePointer:"startPointer",startHex:"#239ddb",finishHex:"#009900",startOpacity:1,finishOpacity:.8,startPalette:"",finishPalette:"",startHex:e.bgColorHex,startOpacity:String(e.bgColorOpacity),finishOpacity:String(e.gradientColorOpacity),startPalette:e.bgColorPalette,finishPalette:e.gradientColorPalette,finishHex:e.gradientColorHex,startPointer:e.gradientStartPointer,finishPointer:e.gradientFinishPointer,activePointer:e.gradientActivePointer,type:"linear"===e.gradientType?"linear-gradient":"radial-gradient",linearAngle:e.gradientLinearDegree,radialPosition:e.gradientRadialDegree},color:null,opacity:null,colorPalette:e.bgColorPalette,bgColorType:"gradient"}:{...e,bgColorType:"solid",backgroundGradient:null,color:e.bgColorPalette?null:e.bgColorHex,opacity:String(e.bgColorOpacity),colorPalette:e.bgColorPalette})({...t,bgColorHex:i,gradientColorHex:n,bgColorPalette:r}))}}]},{id:"tabShadow",label:(0,s.t)("Shadow"),options:[{id:"textShadow",type:"textShadow-dev",icon:"nc-bold",title:(0,s.t)("Text Shadow"),dependencies:e=>{let{textShadowBlur:t,textShadowColorHex:r,textShadowHorizontal:i,textShadowColorOpacity:n,textShadowColorPalette:a,textShadowVertical:l}=e,s={hex:r,opacity:n,horizontal:i,vertical:l,blur:t},c=null;a&&(s={...s,palette:a},c=a),o({shadow:m(s,v),shadowColorPalette:c})}}]},{id:"tabImage",label:(0,s.t)("Mask"),options:[{id:"image",label:(0,s.t)("Image"),type:"imageSetter",population:S,value:{src:n,population:c,width:b,height:h,x:f,y,fileName:p,extension:g},onChange:e=>{let{width:t,height:r,src:i,x:n,y:a,population:l,fileName:s,extension:c}=e;return n=n||50,a=a||50,o({backgroundImage:{src:i,population:l,fileName:s,x:n,y:a,extension:c,width:t,height:r}})}}]}]}]}const v=(e,t,o)=>{let{device:r,context:i}=t;const{isPopulationBlock:n,populationColor:a}=e;let u;if(e.textPopulation){const{hex:t}=(0,d.getOptionColorHexByPalette)((0,c.defaultValueValue)({v:e,key:"colorHex",device:r}),(0,c.defaultValueValue)({v:e,key:"colorPalette",device:r}));u=(0,l.hexToRgba)(t,e.colorOpacity)}else u=f(e.color);return{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,s.t)("Colors"),icon:{style:{backgroundColor:u}}},devices:"desktop",roles:["admin"],position:20,options:n?b({populationColor:a},o):e.textPopulation?[{id:"tabsColor",className:"",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,s.t)("Bg"),options:[{id:"",type:"backgroundColor-dev"}]},{id:"tabShadow",label:(0,s.t)("Shadow"),options:[{id:"textShadow",type:"textShadow-dev"}]},{id:"mask",label:(0,s.t)("Mask"),options:[{id:"bg",type:"imageUpload-dev"}]}]}]:h(e,{device:r,context:i},o)}}},65168:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(22546)),i=o(81263),n=o(64985),a=o(16526),l=o(68256),s=o(6085),c=o(57582),d=p(o(32615)),u=o(8413);function p(e){return e&&e.__esModule?e:{default:e}}const f=Boolean(r.default.get("pro"));function m(e,t){return{getItems:y(e,t)}}const y=(e,t)=>o=>{let{device:p,component:m,context:y}=o;const g=(0,a.isStory)(r.default.getAll()),b=(0,a.isPopup)(r.default.getAll()),h=Boolean(m.props.meta?.sectionPopup),v=Boolean(m.props.meta?.sectionPopup2),S=e.population&&"block"===e.population.display;let w;w="desktop"===p?h||v||b:"popup"!==e.linkType||""===e.linkPopup;const x=S||"desktop"!==p&&w,M=!("desktop"===p&&!S&&!e.textPopulation),T=!e.textPopulation||"desktop"!==p,P=(0,l.getDynamicContentOption)({options:y.dynamicContent.config,type:i.DCTypes.richText,config:{iconOnly:!0}}),C=((e,t)=>e.textPopulation?{}:{dependencies:e=>{t("tag"in e?(e=>{switch(e){case"p":return{pre:!1,header:null};case"pre":return{header:!1,pre:e};default:return{pre:!1,header:e}}})(e.tag):e)}})(e,t),k=(e,t)=>{const{text:o,textPopulation:r}=e;return!r||!(0,u.checkTextIncludeTag)(o,t)};return[{id:"toolbarFont",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===p?"xlarge":"auto",title:(0,n.t)("Typography")},roles:["admin"],position:10,disabled:S,options:[{id:"tabsTypography",type:"tabs-dev",config:{showSingle:e.textPopulation},tabs:[{id:"tabTypographyParagraph",label:(0,n.t)("P"),options:[{id:"gridTypographyParagraph",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===p},...C}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",disabled:!P,config:P,devices:"desktop"}]}]}]},{id:"tabTypographyH1",label:(0,n.t)("H1"),options:[{id:"gridTypographyH1",type:"grid-dev",config:{separator:!0},disabled:k(e,"h1"),columns:[{id:"col-1",size:1,align:"center",options:[{id:"h1",type:"typography-dev",config:{fontFamily:"desktop"===p},...C}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",disabled:!P,config:P,devices:"desktop"}]}]}]},{id:"tabTypographyH2",label:(0,n.t)("H2"),options:[{id:"gridTypographyH2",type:"grid-dev",disabled:k(e,"h2"),columns:[{id:"col-1",size:1,align:"center",options:[{id:"h2",type:"typography-dev",config:{fontFamily:"desktop"===p},...C}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",disabled:!P,config:P,devices:"desktop"}]}]}]},{id:"tabTypographyH3",label:(0,n.t)("H3"),options:[{id:"gridTypographyH3",type:"grid-dev",disabled:k(e,"h3"),columns:[{id:"col-1",size:1,align:"center",options:[{id:"h3",type:"typography-dev",config:{fontFamily:"desktop"===p},...C}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",disabled:!P,config:P,devices:"desktop"}]}]}]},{id:"tabTypographyH4",label:(0,n.t)("H4"),options:[{id:"gridTypographyH4",type:"grid-dev",disabled:k(e,"h4"),columns:[{id:"col-1",size:1,align:"center",options:[{id:"h4",type:"typography-dev",config:{fontFamily:"desktop"===p},...C}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",disabled:!P,config:P,devices:"desktop"}]}]}]},{id:"tabTypographyH5",label:(0,n.t)("H5"),options:[{id:"gridTypographyH5",type:"grid-dev",disabled:k(e,"h5"),columns:[{id:"col-1",size:1,align:"center",options:[{id:"h5",type:"typography-dev",config:{fontFamily:"desktop"===p},...C}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",disabled:!P,config:P,devices:"desktop"}]}]}]},{id:"tabTypographyH6",label:(0,n.t)("H6"),options:[{id:"gridTypographyH6",type:"grid-dev",disabled:k(e,"h6"),columns:[{id:"col-1",size:1,align:"center",options:[{id:"h6",type:"typography-dev",config:{fontFamily:"desktop"===p},...C}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",disabled:!P,config:P,devices:"desktop"}]}]}]}]}]},{id:"dynamicTextCapitalize",type:"button",icon:"nc-tp-capitalize",title:(0,n.t)("Uppercase"),position:75,disabled:T,value:"on"===e.dynamicTextCapitalize,onChange:e=>({dynamicTextCapitalize:e?"on":"off"})},(0,d.default)({...e,isPopulationBlock:S},{device:p,component:m,context:y},t),{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"contentHorizontalAlign",type:"toggle-dev",position:30,disabled:S,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"},{icon:"nc-text-align-justify",title:(0,n.t)("Align"),value:"justify"}],...C},{id:"list",type:"toggle-dev",position:40,disabled:M,choices:[{icon:"nc-list-numbers",title:(0,n.t)("List"),value:"ordered"},{icon:"nc-list-bullet",title:(0,n.t)("List"),value:"bullet"},{icon:"nc-list-default",title:(0,n.t)("List"),value:""}],...C},{id:"bold",type:"button",icon:"nc-bold",title:(0,n.t)("Bold"),position:50,disabled:M,value:e.bold,onChange:e=>t({bold:e})},{id:"italic",type:"button",icon:"nc-italic",title:(0,n.t)("Italic"),position:60,disabled:M,value:e.italic,onChange:e=>t({italic:e})},{id:"underline",type:"button",icon:"nc-tp-underline",title:(0,n.t)("Underline"),position:65,disabled:M,value:e.underline,onChange:e=>t({underline:e})},{id:"strike",type:"button",icon:"nc-tp-strike",title:(0,n.t)("Strike"),position:70,disabled:M,value:e.strike,onChange:e=>t({strike:e})},{id:"capitalize",type:"button",icon:"nc-tp-capitalize",title:(0,n.t)("Uppercase"),position:75,disabled:M,value:e.capitalize,onChange:e=>t({capitalize:e?"on":null})},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,n.t)("Link")},disabled:x,position:80,options:[{id:"linkType",type:"tabs",config:{saveTab:!0},tabs:[{id:"external",label:(0,n.t)("URL"),options:[{...(0,c.toolbarLinkExternal)({v:e,config:y.dynamicContent.config}),disabled:"desktop"!==p,...e.textPopulation?{}:{onChange:(o,r)=>{let{value:i,population:n}=o,{changed:a,changeEvent:l}=r;"blur"!==l&&"population"!==a||t({link:(0,s.encodeToString)({type:e.linkType,anchor:e.linkAnchor?`#${e.linkAnchor}`:"",external:i,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:"value"!==a&&n?"population":"external",population:n,popup:e.linkPopup?`#${e.linkPopup}`:"",upload:e.linkUpload,linkToSlide:e.linkToSlide})})}}},{id:"linkExternalBlank",type:"switch-dev",label:(0,n.t)("Open In New Tab"),disabled:"desktop"!==p,...e.textPopulation?{}:{dependencies:o=>{let{linkExternalBlank:r}=o;t({link:(0,s.encodeToString)({type:e.linkType,anchor:e.linkAnchor?`#${e.linkAnchor}`:"",external:e.linkExternal,externalBlank:r,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,popup:e.linkPopup?`#${e.linkPopup}`:"",upload:e.linkUpload,linkToSlide:e.linkToSlide})})}}},{id:"linkExternalRel",type:"switch-dev",label:(0,n.t)("Make it Nofollow"),disabled:"desktop"!==p,...e.textPopulation?{}:{dependencies:o=>{let{linkExternalRel:r}=o;return t({link:(0,s.encodeToString)({type:e.linkType,anchor:e.linkAnchor?`#${e.linkAnchor}`:"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:r,externalType:e.linkExternalType,population:e.linkPopulation,popup:e.linkPopup?`#${e.linkPopup}`:"",upload:e.linkUpload,linkToSlide:e.linkToSlide})})}}}]},{id:"anchor",label:(0,n.t)("Block"),options:[{...(0,c.toolbarLinkAnchor)({v:e}),disabled:"desktop"!==p||(0,a.isPopup)(r.default.getAll())||(0,a.isStory)(r.default.getAll()),...e.textPopulation?{}:{onChange:o=>t({link:(0,s.encodeToString)({type:e.linkType,anchor:o?`#${o}`:"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,popup:e.linkPopup?`#${e.linkPopup}`:"",upload:e.linkUpload,linkToSlide:e.linkToSlide})})}}]},{id:"upload",label:(0,n.t)("File"),disabled:"desktop"!==p,options:[{id:"linkUpload",label:(0,n.t)("File"),type:"fileUpload-dev",disabled:!f||"desktop"!==p,...e.textPopulation?{}:{dependencies:o=>{let{linkUpload:r}=o;t({link:(0,s.encodeToString)({type:e.linkType,anchor:e.linkAnchor?`#${e.linkAnchor}`:"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,popup:e.linkPopup?`#${e.linkPopup}`:"",upload:r,linkToSlide:e.linkToSlide})})}}}]},{id:"popup",label:(0,n.t)("Popup"),options:[{...(0,c.toolbarLinkPopup)({v:e,component:m,canDelete:"desktop"===p}),disabled:w||g,...e.textPopulation?{}:{onChange:o=>{let{value:r,popups:i}=o;return t({link:(0,s.encodeToString)({type:e.linkType,anchor:e.linkAnchor?`#${e.linkAnchor}`:"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,popup:r?`#${r}`:"",upload:e.linkUpload,linkToSlide:e.linkToSlide}),popups:i})}}}]},{id:"linkToSlide",label:(0,n.t)("Slides"),options:[{id:"linkToSlide",type:"number-dev",label:(0,n.t)("Slide"),disabled:!g,config:{min:1,max:1e6},dependencies:o=>{let{linkToSlide:r}=o;t({link:(0,s.encodeToString)({type:e.linkType,anchor:e.linkAnchor?`#${e.linkAnchor}`:"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,popup:e.linkPopup?`#${e.linkPopup}`:"",linkToSlide:r})})}}]}],value:e.linkType,...e.textPopulation?{}:{onChange:o=>{t({link:(0,s.encodeToString)({type:o,anchor:e.linkAnchor?`#${e.linkAnchor}`:"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,popup:e.linkPopup?`#${e.linkPopup}`:"",upload:e.linkUpload,linkToSlide:e.linkToSlide})})}}}]},{id:"advancedSettings",type:"advancedSettings",icon:"nc-cog",disabled:!e.textPopulation,title:(0,n.t)("Settings"),devices:"desktop",position:110},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,n.t)("Settings")},roles:["admin"],position:110,disabled:Boolean(e.textPopulation),options:[{id:"marginTop",label:(0,n.t)("Gap Above"),type:"slider-dev",disabled:g,config:{min:0,max:100,step:1,units:[{value:"px",title:"px"}]},...C},{id:"marginBottom",label:(0,n.t)("Gap Below"),type:"slider-dev",disabled:g,config:{min:0,max:100,step:1,units:[{value:"px",title:"px"}]},...C},{id:"tag",label:(0,n.t)("HTML Tag"),type:"select-dev",className:"brz-control__select--small",disabled:S,choices:[{title:"P",value:"p"},{title:"H1",value:"h1"},{title:"H2",value:"h2"},{title:"H3",value:"h3"},{title:"H4",value:"h4"},{title:"H5",value:"h5"},{title:"H6",value:"h6"},{title:"PRE",value:"pre"}],...C},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"center"}}]},{size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash",align:"center"}}]}]}]}]}},8413:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"checkTextIncludeTag",{enumerable:!0,get:function(){return o}});const o=(e,t)=>{if(!e||!t)return!1;const o=new RegExp(`<${t} .*?>|<${t}>`,"gi");return null!==e.match(o)}},20825:(e,t)=>{"use strict";var o;function r(e){switch(e){case o.P:return"typography";case o.H1:return"h1";case o.H2:return"h2";case o.H3:return"h3";case o.H4:return"h4";case o.H5:return"h5";case o.H6:return"h6"}}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{TypographyTags:function(){return o},tagId:function(){return r}}),function(e){e.P="P",e.H1="H1",e.H2="H2",e.H3="H3",e.H4="H4",e.H5="H5",e.H6="H6"}(o||(o={}))},23749:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(30317),i=function(e,t){let{index:o,length:i}=e;const{prepopulation:n,population:a}=this.quill.getFormat();if(!n&&!a){if(0===i){const[{domNode:e},i]=this.quill.getLine(o);let n,a;return e.textContent.length===i?(n=(new r.Delta).retain(o+1).insert(" \n",t.format),a=o+1):i>0?(n=(new r.Delta).retain(o).insert("\n",t.format),a=o+1):(n=(new r.Delta).retain(o).insert(" \n",t.format),a=o+2),this.quill.updateContents(n),void this.quill.setSelection(a,0)}return!0}},n=function(){const{prepopulation:e,population:t}=this.quill.getFormat();return!e&&!t},a={enter:{key:r.Keyboard.keys.ENTER,handler:i},"header enter":i,arrowUp:{key:38,handler:n},arrowDown:{key:40,handler:n}}},40122:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getStyle:function(){return l},default:function(){return s}});const r=(i=o(59810))&&i.__esModule?i:{default:i};var i;const n=o(81405);let a=r.default.import("blots/inline");function l(e){const{type:t,radialPosition:o,linearAngle:r,startPointer:i,finishPointer:a,startHex:l,finishHex:s,startOpacity:c,finishOpacity:d}=e;return`${t}(${"linear-gradient"===t?`${r}deg`:`circle ${o}px`}, ${(0,n.hexToRgba)(l,c)} ${i}%, ${(0,n.hexToRgba)(s,d)} ${a}%)`}class s extends a{static className="text-gradient";static create(e){const t=super.create(e);return this.setValue(e,t),t}static formats(e){const t=t=>{const o=e.getAttribute(t);return r=o,!isNaN(parseFloat(r))&&isFinite(r)?Number(o):o;var r},o=t("data-gradient_type");return o?{type:o,radialPosition:t("data-gradient_radial_position"),linearAngle:t("data-gradient_linear_angle"),startPointer:t("data-gradient_start_pointer"),finishPointer:t("data-gradient_finish_pointer"),activePointer:t("data-gradient_active_pointer"),startHex:t("data-gradient_start_hex"),finishHex:t("data-gradient_finish_hex"),startOpacity:t("data-gradient_start_opacity"),finishOpacity:t("data-gradient_finish_opacity"),startPalette:t("data-gradient_start_palette"),finishPalette:t("data-gradient_finish_palette")}:null}static setValue(e,t){if(!e)return;const{type:o,radialPosition:r,linearAngle:i,startPointer:n,finishPointer:a,activePointer:s,startHex:c,finishHex:d,startOpacity:u,finishOpacity:p,startPalette:f,finishPalette:m}=e,y=l(e);t.style.backgroundImage=y,t.classList.add("brz-image-gradient"),t.setAttribute("data-gradient_type",o),t.setAttribute("data-gradient_radial_position",r),t.setAttribute("data-gradient_linear_angle",i),t.setAttribute("data-gradient_start_pointer",n),t.setAttribute("data-gradient_finish_pointer",a),t.setAttribute("data-gradient_active_pointer",s),t.setAttribute("data-gradient_start_hex",c),t.setAttribute("data-gradient_finish_hex",d),t.setAttribute("data-gradient_start_opacity",u),t.setAttribute("data-gradient_finish_opacity",p),t.setAttribute("data-gradient_start_palette",f),t.setAttribute("data-gradient_finish_palette",m)}static removeValue(e){e.style.backgroundImage=null,e.removeAttribute("data-gradient_type"),e.removeAttribute("data-gradient_radial_position"),e.removeAttribute("data-gradient_linear_angle"),e.removeAttribute("data-gradient_start_pointer"),e.removeAttribute("data-gradient_finish_pointer"),e.removeAttribute("data-gradient_active_pointer"),e.removeAttribute("data-gradient_start_hex"),e.removeAttribute("data-gradient_finish_hex"),e.removeAttribute("data-gradient_start_opacity"),e.removeAttribute("data-gradient_finish_opacity"),e.removeAttribute("data-gradient_start_palette"),e.removeAttribute("data-gradient_finish_palette")}format(e,t){e!==this.statics.blotName?super.format(e,t):t?this.constructor.setValue(t,this.domNode):this.constructor.removeValue(this.domNode)}}s.blotName="backgroundGradient",s.tagName="span"},38646:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(59810)),i=s(o(22546)),n=o(19057),a=o(68914),l=o(39030);function s(e){return e&&e.__esModule?e:{default:e}}let c=r.default.import("blots/inline");class d extends c{static create(e){const t=super.create(e);return this.setValue(e,t),t}static formats(e){let t=e.getAttribute("data-image_src"),o=e.getAttribute("data-image_population");if(t||o){const r=parseInt(e.style.backgroundPositionX)||null,i=parseInt(e.style.backgroundPositionY)||null,n=parseInt(e.getAttribute("data-image_width"))||null,a=parseInt(e.getAttribute("data-image_height"))||null,l=e.getAttribute("data-image_extension"),s=e.getAttribute("data-image_file_name")||"image";return e.classList.contains("brz-population-mask")||(o=null),{src:t,population:o,x:r,y:i,extension:l,fileName:s,width:n,height:a}}return null}static setValue(e,t){const{src:o,fileName:r,population:s,x:c,y:d,extension:u,width:p,height:f}=e;if(s)t.style.backgroundImage=null,t.style.backgroundPosition="50% 50%",t.classList.add("brz-population-mask"),t.classList.remove("brz-population-mask__style"),t.classList.remove("brz-text-mask"),t.setAttribute("data-image_population",s),requestAnimationFrame((()=>{const e=t.closest("[data-item_id]").getAttribute("data-item_id"),o=i.default.getAll().dynamicContent,r=o?.liveInBuilder??!1,n=o?.useCustomPlaceholder??!1;r?(0,l.getImagePopulation)(s,e,n).then((e=>{e&&(t.style.backgroundImage=`url("${e}")`,t.classList.add("brz-population-mask__style"))})):(t.style.backgroundImage=`url("${s}")`,t.classList.add("brz-population-mask__style"))}));else if(o){const e=(0,a.getImageUrl)({fileName:r,uid:o,sizeType:n.SizeType.custom});t.classList.add("brz-text-mask"),t.classList.remove("brz-population-mask"),t.classList.remove("brz-population-mask__style"),t.style.backgroundImage=`url("${e}")`,t.style.backgroundPosition=`${c}% ${d}%`,t.removeAttribute("data-image_population"),t.setAttribute("data-image_src",o),t.setAttribute("data-image_file_name",r),t.setAttribute("data-image_width",p),t.setAttribute("data-image_height",f),t.setAttribute("data-image_extension",u)}else this.removeValue(t)}static removeValue(e){e.style.backgroundImage=null,e.style.backgroundPosition=null,e.classList.remove("brz-text-mask"),e.classList.remove("brz-population-mask"),e.classList.remove("brz-population-mask__style"),e.removeAttribute("data-image_population"),e.removeAttribute("data-image_src"),e.removeAttribute("data-image_file_name"),e.removeAttribute("data-image_width"),e.removeAttribute("data-image_height"),e.removeAttribute("data-image_extension")}format(e,t){e!==this.statics.blotName?super.format(e,t):t?this.constructor.setValue(t,this.domNode):this.constructor.removeValue(this.domNode)}}d.blotName="backgroundImage",d.tagName="span"},71419:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let i=((r=o(59810))&&r.__esModule?r:{default:r}).default.import("parchment");class n extends i.Attributor.Style{value(e){let t=super.value(e);return t.startsWith("rgb(")?(t=t.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+t.split(",").map((function(e){return("00"+parseInt(e,10).toString(16)).slice(-2)})).join("")):t}}const a=new n("block-color","color",{scope:i.Scope.BLOCK})},69796:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let i=((r=o(59810))&&r.__esModule?r:{default:r}).default.import("parchment");class n extends i.Attributor.Style{}const a=new n("block-opacity","opacity",{scope:i.Scope.BLOCK})},59532:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=(i=o(59810))&&i.__esModule?i:{default:i};var i;let n=r.default.import("parchment");const a=r.default.import("formats/list"),l=r.default.import("formats/list/item");class s extends l{format(e,t){e!==a.blotName||t?(super.format(e,t),this.copyFormatToParent("color","block-color"),this.copyFormatToParent("opacity","block-opacity"),this.copyFormatToParent("colorPalette","block-colorPalette")):this.replaceWith(n.create(this.statics.scope))}copyFormatToParent(e,t){if(1===this.children.length){const o=this.children.head,{attributes:r={}}=o.attributes||{};if(r[e]){const i=r[e].value(o.domNode);super.format(t,i),"color"===e&&super.format("block-colorPalette",null),"colorPalette"===e&&super.format("block-color",null)}}else this.attributes.hasOwnProperty(t)&&super.format(t,null)}optimize(e){super.optimize(e),this.copyFormatToParent("color","block-color"),this.copyFormatToParent("opacity","block-opacity")}}},67679:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let i=((r=o(59810))&&r.__esModule?r:{default:r}).default.import("blots/block");class n extends i{static className="text-block";static create(e){const t=super.create(e);return t.classList.add("brz-tp__dc-block-st1"),t}static formats(){return!0}format(e,t){if(e!==this.statics.blotName||!t)return super.format(e,t);this.domNode.classList.add("brz-tp__dc-block-st1")}}n.blotName="dcBlock",n.tagName="div",n.className="brz-tp__dc-block";const a=n},8817:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(i=o(59810))&&i.__esModule?i:{default:i};var i;const n=o(6085),a=r.default.import("formats/link");class l extends a{static create(e){let t=super.create(e);return e=this.sanitize(e),this.setAttributes(t,e),t}static formats(e){return e.getAttribute("data-href")}static setAttributes(e,t){const o=(0,n.decodeFromString)(t),{type:r,linkToSlide:i}=o;e.removeAttribute("href"),e.removeAttribute("target"),e.setAttribute("data-href",t),e.classList.remove("link--anchor","link--external","link--popup","link--story","link--upload","is-empty"),"anchor"===r&&e.classList.add("link--anchor"),"external"===r&&e.classList.add("link--external"),"popup"===r&&e.classList.add("link--popup"),"upload"===r&&e.classList.add("link--upload"),"linkToSlide"===r&&(e.classList.add("link--story"),e.setAttribute("data-brz-link-story",i)),o[r]||e.classList.add("is-empty")}format(e,t){if(e!==this.statics.blotName||!t)return super.format(e,t);t=this.constructor.sanitize(t),this.constructor.setAttributes(this.domNode,t)}}},40888:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(i=o(59810))&&i.__esModule?i:{default:i};var i;const n=r.default.import("modules/clipboard"),a=r.default.import("delta");class l extends n{onPaste(e){if(e.defaultPrevented||!this.quill.isEnabled())return;const t=this.quill.getSelection();if(!t)return;let o=(new a).retain(t.index);const i=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(r.default.sources.SILENT);const n=this.quill.getFormat(t);setTimeout((()=>{o=o.concat(this.convert()).delete(t.length),o.ops.forEach((e=>{if("string"==typeof e.insert){const t=e?.attributes?.header??null;e.attributes={...n,...e?.attributes,...t?{typographyFontStyle:`heading${t}`}:{}}}return e})),this.quill.updateContents(o,r.default.sources.USER),this.quill.setSelection(o.length()-t.length,0,r.default.sources.SILENT),this.quill.scrollingContainer.scrollTop=i,this.quill.focus()}),1)}}},64567:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});let i=((r=o(59810))&&r.__esModule?r:{default:r}).default.import("blots/inline");class n extends i{static className="text-population";static create(e){const t=super.create(e);return this.setValue(e,t),t}static formats(e){return e.getAttribute("data-population")||null}static setValue(e,t){e&&t.setAttribute("data-population",e)}static removeValue(e){e.removeAttribute("data-population")}format(e,t){e!==this.statics.blotName?super.format(e,t):t?this.constructor.setValue(t,this.domNode):this.constructor.removeValue(this.domNode)}}n.blotName="population",n.tagName="span"},20301:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let i=((r=o(59810))&&r.__esModule?r:{default:r}).default.import("blots/block");class n extends i{}n.blotName="pre",n.tagName="pre";const a=n},42412:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{mapBlockElements:function(){return b},parseShadow:function(){return v},getFormats:function(){return x},dcItemOptionParser:function(){return M},createLabel:function(){return T}});const r=o(47885),i=(n=o(22546))&&n.__esModule?n:{default:n};var n;const a=o(81405),l=o(49863),s=o(68256),c=y(o(48630)),d=y(o(63300)),u=o(6085),p=o(22741),f=o(44643);function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const g=o(65311);function b(e,t){let o=function(e){return g(`
${e}
`)}(e);const r=function(e){return e.find(":header, p, pre, li, div:not(.brz-temp-div)")}(o);return r.each(((e,o)=>t(g(o)))),o.html()}const h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(0, 0, 0, 1)";return e=e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i),e?{hex:`#${t(e[1])}${t(e[2])}${t(e[3])}`,opacity:e[4]}:e;function t(e){return("0"+parseInt(e,10).toString(16)).slice(-2)}},v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(e.includes("var")){const t=/rgba\(var\((.*?)\),(\d+(?:\.\d+)?)\)+\s+(\d+px)\s?(\d+px)\s?(\d+px)/,[,o,r,i,n,a]=t.exec(e)??[],l=(e=>getComputedStyle(document.documentElement).getPropertyValue(e))(o),s=h(`rgba(${l}, ${r})`);return l&&s?{textShadowColorHex:s.hex??"#000000",textShadowColorOpacity:s.opacity??1,textShadowVertical:parseInt(n??5),textShadowHorizontal:parseInt(i??5),textShadowBlur:parseInt(a??5)}:{}}const[,t,o]=e.split(", rgb")[0].match(/^(rgb.*\)) (.*)/)||[];let r="#000000",i=0,n=0,a=0,l=0;if(t&&o){let{hex:e,opacity:s}=h(t);const[c,d,u]=o.split(" ");r=e,i=isNaN(parseFloat(s))?1:s,n=parseInt(d),a=parseInt(c),l=parseInt(u)}return{textShadowColorHex:r,textShadowColorOpacity:i,textShadowVertical:n,textShadowHorizontal:a,textShadowBlur:l}},S=(e,t)=>{let{header:o,pre:r}=e;const i=t.closest("pre"),n=i.prop("tagName")?i.prop("tagName").toLowerCase():null,a=t.closest("p, h1, h2, h3, h4, h5, h6"),l=a.prop("tagName")?a.prop("tagName").toLowerCase():null;return n||l},w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"{}";const{type:t="external",anchor:o="",external:r="",externalBlank:i="off",externalRel:n="off",population:a="",externalType:l="external",popup:s="",upload:c="",linkToSlide:d=1}=(0,u.decodeFromString)(e);return{linkType:t,linkAnchor:o.replace("#",""),linkExternal:r,linkExternalBlank:i,linkExternalRel:n,linkPopulation:a,linkExternalType:l,linkPopup:s.replace("#",""),linkUpload:c,linkToSlide:d}},x=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=(0,f.classNamesToV)(e.closest("p, :header, pre, li").attr("class")?.split(" ")??[]),r=i.default.get("dynamicContent")||{};t=(e=>Object.entries(e).reduce(((e,t)=>{let[o,r]=t;return e[o]=Array.isArray(r)?r[0]:r,e}),{}))(t);const n=e.css("color"),l=e.css("opacity"),c=(e.css("text-shadow"),t.populationColor?{populationColor:(0,u.decodeFromString)(t.populationColor)}:{populationColor:{p:{hex:null,opacity:1,colorPalette:null},h1:{hex:null,opacity:1,colorPalette:null},h2:{hex:null,opacity:1,colorPalette:null},h3:{hex:null,opacity:1,colorPalette:null},h4:{hex:null,opacity:1,colorPalette:null},h5:{hex:null,opacity:1,colorPalette:null},h6:{hex:null,opacity:1,colorPalette:null}}});let d=t.color?t.color:n;(0,a.isHex)(d)||(d=h(d).hex);const p=t.opacity||l,m=t.colorPalette?t.colorPalette.split(",")[0]:"";return{...o,bold:t.bold??"",italic:t.italic??"",underline:t.underline??"",strike:t.strike??"",capitalize:t.capitalize??"",color:{hex:d,opacity:isNaN(p)?1:p},colorPalette:m,bgColorPalette:m,bgColorOpacity:isNaN(p)?1:Number(p),bgColorHex:d,...v(t.shadow),textShadowColorPalette:t.shadowColorPalette||null,backgroundImage:t.backgroundImage||null,backgroundGradient:t.backgroundGradient||null,...w(t.link),...c,list:t.list??"",population:t.population?{population:t.population,label:e.closest("[data-population]").text(),display:(0,s.getDynamicContentByPlaceholder)(r,`{{${t.population}}}`)?.display??"inline"}:null,prepopulation:t.prepopulation?e.closest(".brz-pre-population-visible").text():null,tagName:S(t,e)}},M=(0,r.parseStrict)({label:(0,l.pipe)((0,r.mPipe)((0,r.pass)(c.isObject),c.readKey("label"),d.read),(0,p.throwOnNullish)("Invalid label")),placeholder:(0,l.pipe)((0,r.mPipe)((0,r.pass)(c.isObject),c.readKey("placeholder"),d.read),(0,p.throwOnNullish)("Invalid placeholder")),display:(0,l.pipe)((0,r.mPipe)((0,r.pass)(c.isObject),c.readKey("display"),d.read),(0,p.onNullish)("inline")),alias:(0,r.optional)((e=>d.read(e.alias)))}),T=e=>`#${e}`},30317:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Delta:function(){return g},Keyboard:function(){return b},default:function(){return h}});const r=y(o(59810)),i=y(o(8817)),n=y(o(71419)),a=y(o(69796)),l=y(o(59532)),s=y(o(64567)),c=y(o(20301)),d=y(o(67679)),u=y(o(38646)),p=y(o(40122)),f=y(o(40888)),m=o(44643);function y(e){return e&&e.__esModule?e:{default:e}}{const v=r.default.import("parchment");function S(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"class";const r={scope:"inline"===(arguments.length>3&&void 0!==arguments[3]?arguments[3]:"block")?v.Scope.INLINE:v.Scope.BLOCK};switch(o){case"class":return new v.Attributor.Class(e,t,r);case"style":return new v.Attributor.Style(e,t,r);default:return new v.Attributor.Attribute(e,t,r)}}function w(e,t){Object.entries(e).forEach((e=>{let[o,i]=e;i&&Object.entries(i).forEach((e=>{let[i,{prefix:n}]=e;const a=S(i,n,o,t);r.default.register(a)}))}))}r.default.debug("error"),w(m.legacyValues,"block"),w(m.blockValues,"block"),w(m.inlineValues,"inline"),r.default.register(S("generated-css","data-generated-css","attribute")),r.default.register(S("uniq-id","data-uniq-id","attribute")),r.default.register(u.default),r.default.register(s.default),r.default.register(i.default),r.default.register(n.default),r.default.register(a.default),r.default.register(l.default),r.default.register(c.default,!0),r.default.register(d.default,!0),r.default.register(p.default,!0),r.default.register("modules/clipboard",f.default,!0)}const g=r.default.import("delta"),b=r.default.import("modules/keyboard"),h=r.default},39030:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImagePopulation",{enumerable:!0,get:function(){return i}});const r=o(42582),i=async(e,t,o)=>{if(!t||!e)return"";const i={postId:t,useCustomPlaceholder:o};return r.DCApiProxyInstance.getFromCache(e,i)||await r.DCApiProxyInstance.getDC([e],i).then((e=>e[0])).catch((()=>""))}},32389:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{legacyValues:function(){return n},blockValues:function(){return a},inlineValues:function(){return l},customValues:function(){return s},currentBlockValues:function(){return c},currentValues:function(){return d},allValues:function(){return u}});const r=(i=o(33979))&&i.__esModule?i:{default:i};var i;const n={class:{typographyFontStyle:{prefix:"brz-tp",defaultValue:"paragraph"},tabletTypographyFontSize:{prefix:"brz-fs-sm-im",defaultValue:null},mobileTypographyFontSize:{prefix:"brz-fs-xs-im",defaultValue:null},tabletTypographyFontSizeSuffix:{prefix:"brz-fs-s-sm-im",defaultValue:null},mobileTypographyFontSizeSuffix:{prefix:"brz-fs-s-xs-im",defaultValue:null},tabletTypographyLineHeight:{prefix:"brz-lh-sm-im",defaultValue:null},mobileTypographyLineHeight:{prefix:"brz-lh-xs-im",defaultValue:null},tabletTypographyFontWeight:{prefix:"brz-fw-sm-im",defaultValue:null},mobileTypographyFontWeight:{prefix:"brz-fw-xs-im",defaultValue:null},tabletTypographyLetterSpacing:{prefix:"brz-ls-sm-im",defaultValue:null},mobileTypographyLetterSpacing:{prefix:"brz-ls-xs-im",defaultValue:null}},style:{},attribute:{}},a={class:{typographyFontStyle:{prefix:"brz-tp-lg",defaultValue:""},tabletTypographyFontStyle:{prefix:"brz-tp-sm",defaultValue:null},mobileTypographyFontStyle:{prefix:"brz-tp-xs",defaultValue:null},typographyFontFamily:{prefix:"brz-ff",defaultValue:"lato"},typographyFontFamilyType:{prefix:"brz-ft",defaultValue:"google"},typographyFontSize:{prefix:"brz-fs-lg",defaultValue:16},tabletTypographyFontSize:{prefix:"brz-fs-sm",defaultValue:null},mobileTypographyFontSize:{prefix:"brz-fs-xs",defaultValue:null},typographyFontSizeSuffix:{prefix:"brz-fss-lg",defaultValue:"px"},tabletTypographyFontSizeSuffix:{prefix:"brz-fss-sm",defaultValue:null},mobileTypographyFontSizeSuffix:{prefix:"brz-fss-xs",defaultValue:null},typographyFontWeight:{prefix:"brz-fw-lg",defaultValue:400},tabletTypographyFontWeight:{prefix:"brz-fw-sm",defaultValue:null},mobileTypographyFontWeight:{prefix:"brz-fw-xs",defaultValue:null},typographyLineHeight:{prefix:"brz-lh-lg",defaultValue:1.3},tabletTypographyLineHeight:{prefix:"brz-lh-sm",defaultValue:null},mobileTypographyLineHeight:{prefix:"brz-lh-xs",defaultValue:null},typographyLetterSpacing:{prefix:"brz-ls-lg",defaultValue:0},tabletTypographyLetterSpacing:{prefix:"brz-ls-sm",defaultValue:null},mobileTypographyLetterSpacing:{prefix:"brz-ls-xs",defaultValue:null},contentHorizontalAlign:{prefix:"brz-text-lg",defaultValue:"left"},tabletContentHorizontalAlign:{prefix:"brz-text-sm",defaultValue:null},mobileContentHorizontalAlign:{prefix:"brz-text-xs",defaultValue:null},marginTop:{prefix:"brz-mt-lg",defaultValue:0},tabletMarginTop:{prefix:"brz-mt-sm",defaultValue:null},mobileMarginTop:{prefix:"brz-mt-xs",defaultValue:null},marginBottom:{prefix:"brz-mb-lg",defaultValue:0},tabletMarginBottom:{prefix:"brz-mb-sm",defaultValue:null},mobileMarginBottom:{prefix:"brz-mb-xs",defaultValue:null},"block-colorPalette":{prefix:"brz-bcp",defaultValue:""}},style:{},attribute:{}},l={class:{colorPalette:{prefix:"brz-cp",defaultValue:""},shadowColorPalette:{prefix:"brz-scp",defaultValue:""},prepopulation:{prefix:"brz-pre-population",defaultValue:""},capitalize:{prefix:"brz-capitalize",defaultValue:"off"}},style:{opacity:{prefix:"opacity",defaultValue:1},shadow:{prefix:"text-shadow",defaultValue:""}},attribute:{populationColor:{prefix:"data-color",defaultValue:""}}},s={},c=r.default.all([a,s]),d=r.default.all([c,l]),u=r.default.all([d,n])},44643:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{blockValues:function(){return i.blockValues},inlineValues:function(){return i.inlineValues},customValues:function(){return i.customValues},currentBlockValues:function(){return i.currentBlockValues},legacyValues:function(){return i.legacyValues},VToClassNames:function(){return n},classNamesToV:function(){return a},classNamesToV2:function(){return l},getDefaultValues:function(){return s},getElementValues:function(){return c},formatVToQuilValue:function(){return d}});const r=o(78438),i=o(32389),n=e=>Object.entries(e).reduce(((e,t)=>{let[o,r]=t,n=function(e){const t={};return Object.entries(i.currentValues).forEach((e=>{let[,o]=e;Object.entries(o).forEach((e=>{let[o,{prefix:r}]=e;t[o]=r}))})),t[e]}(o);return n=`${n}-${r}`,e.push(n),e}),[]).join(" "),a=e=>l(e).v,l=e=>{const t=s(),o=c(e);return{v:{...t,...o},vs:{},vd:t}},s=()=>{const e={};return Object.entries(i.currentBlockValues).forEach((t=>{let[,o]=t;Object.entries(o).forEach((t=>{let[o,{defaultValue:r}]=t;e[o]=r}))})),e},c=e=>{const t={};if(e.length){const o=new RegExp("^(.*)-(.*$)");e.forEach((e=>{const n=e.match(o);if(n){const[,e,o]=n,a=function(e){const t={};return Object.entries(i.currentValues).forEach((e=>{let[,o]=e;Object.entries(o).forEach((e=>{let[o,{prefix:r}]=e;t[r]=o}))})),Object.entries(i.legacyValues).forEach((e=>{let[,o]=e;Object.entries(o).forEach((e=>{let[o,{prefix:r}]=e;t[r]=o}))})),t[e]}(e);t[a]=function(e){return"empty"===e?"":void 0===e?null:(e.includes(",")&&(e=e.split(",")[0]),(0,r.isNumeric)(e.replace("m_","-").replace("_","."))?Number(e.replace("m_","-").replace("_",".")):e)}(o)}}))}return t};function d(e){return""===e?"empty":(0,r.isNumeric)(e)?String(e).replace(".","_").replace("-","m_"):e}},95957:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return k}});const r=M(o(33979)),i=M(o(27378)),n=o(70634),a=M(o(10301)),l=o(39552),s=M(o(24072)),c=M(o(49127)),d=M(o(20013)),u=o(67439),p=o(81504),f=M(o(10787)),m=o(97045),y=o(92213),g=o(64985),b=o(78438),h=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(73904)),v=o(69321),S=o(94306),w=M(o(89871)),x=o(23875);function M(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}const P=e=>Math.round(10*e)/10;class C extends f.default{static get componentId(){return"Row.Items"}static defaultProps={containerClassName:"",meta:{},itemProps:{}};nodeRef=i.default.createRef();columnWidths=null;popoverData=null;state={patch:null,isDragging:!1,deltaX:0};getDBValue(){return this.state.patch?(0,n.mergeDeep)(this.props.dbValue,this.state.patch):this.props.dbValue}handleValueChange(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{arrayOperation:o}=t,r="insert"===o||"remove"===o,i=r?(0,x.normalizeRowColumns)(e):e;r&&(this.columnWidths=this.getColumnWidthsInPx()),super.handleValueChange(i,t)}componentDidMount(){this.columnWidths=this.getColumnWidthsInPx()}handleColumnResizeStart=(e,t,o)=>{const r=this.nodeRef.current;this.columnWidths=this.getColumnWidthsInPx(),this.containerWidth=(0,x.getElemWidthWithoutPaddings)(r),this.handleColumnResize(e,t,o)};handleColumnResizeEnd=(e,t)=>{this.setState({patch:null,isDragging:!1},(()=>this.handleColumnResize(e,this.state.deltaX,t))),this.containerWidth=null,this.popoverData=null};handleColumnResize=(e,t,o)=>{const{col1Index:r}=this.getColumnIndexesByPosition(e,o),i=this.columnWidths[r]+t,n=P(100*i/this.containerWidth);this.state.isDragging&&this.setState({deltaX:t}),this.changeColumnWidths(e,n,o)};changeColumnWidths(e,t,o){const r=this.getDBValue(),i=(0,m.deviceModeSelector)((0,y.getStore)().getState()),a=(0,v.defaultValueKey)({key:"width",device:i}),{min:l,max:s}=this.getColumnWidthLimitsPercent(e,o),{col1Index:c,col2Index:d}=this.getColumnIndexesByPosition(e,o);t=(0,b.clamp)(t,l,s);const u=P(t),p=[u];let f=(0,n.setIn)(r,[c,"value",a],u);if("desktop"===i){const e=this.getColumnWidthByIndex(c),o=this.getColumnWidthByIndex(d),r=P(e+(o-t));p.push(r),f=(0,n.setIn)(f,[d,"value",a],r)}this.popoverData=p,this.state.isDragging?this.setState((e=>({...e,patch:f}))):this.handleValueChange(f)}getColumnWidthByIndex(e){const t=this.getDBValue(),o=(0,m.deviceModeSelector)((0,y.getStore)().getState()),r=(0,v.defaultValueKey)({key:"width",device:o});switch(o){case"desktop":return h.read(t[e]?.value?.[r])??50;case"tablet":return h.read(t[e]?.value?.[r])??h.read(t[e]?.value?.width)??50}return h.read(t[e]?.value?.[r])??100}getColumnIndexesByPosition(e,t){let o=e,r=e+1;return this.props.dbValue.length-1===e&&(r=e-1,o=e),"left"===t&&(o=e-1,r=e),{col1Index:o,col2Index:r}}getColumnWidthLimitsPercent(e,t,o){if("desktop"!==(0,m.deviceModeSelector)((0,y.getStore)().getState()))return{min:5,max:100};const{col1Index:r,col2Index:i}=this.getColumnIndexesByPosition(e,t),n=this.getColumnWidthByIndex(r),a=this.getColumnWidthByIndex(i),l=o?.[r]||this.getColumnWidthsInPx()[r],s=p.MIN_COL_WIDTH*n/l,c=n+a-s,d=P(s),u=P(c);return{min:(0,b.isNumeric)(d)?d:5,max:(0,b.isNumeric)(u)?u:100}}getItemProps(e,t,o){const{isInner:i}=this.props.meta.row,n=1===o.length,a=(0,r.default)(this.props.meta,{row:{item:{index:t,isFirst:0===t,isLast:t===o.length-1,isOnly:n}}}),l=e=>{const r=a.sectionPopup2||a.sectionPopup,l=o.length-1===t?"left":"right",{min:s,max:c}=this.getColumnWidthLimitsPercent(t,l,this.columnWidths),d=n?{}:{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,g.t)("Settings")},options:[{id:"width",label:(0,g.t)("Width"),type:"slider",position:105,inputType:"number",slider:{min:s,max:c,step:.1},input:{show:!0,min:s,max:c,step:.1},value:{value:this.getColumnWidthByIndex(t)},suffix:{show:!0,choices:[{title:"%",value:"%"}]},onChange:e=>{let{value:o}=e;return this.changeColumnWidths(t,o,"right")}}]},p=[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},...this.canAddColumn()?[{id:"emptyItem",type:"button",icon:"nc-add",title:(0,g.t)("Add New Column"),position:100,onChange:()=>{this.addColumn(t+1)}},{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,g.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}}]:[],{id:"remove",type:"button",title:(0,g.t)("Delete"),icon:"nc-trash",disabled:n&&r&&!i,position:250,onChange:()=>{(0,u.hideToolbar)(),this.removeItem(t)}}];let f=[d];return"desktop"===e&&f.push(...p),f},s={getItemsForDesktop:()=>l("desktop"),getItemsForTablet:()=>l("tablet"),getItemsForMobile:()=>l("mobile")},c=this.makeToolbarPropsFromConfig(s);return{...this.props.itemProps,tabletReversed:this.props.tabletReversed,mobileReversed:this.props.mobileReversed,meta:a,toolbarExtend:c,popoverData:this.getPopoverData,onResizeStart:e=>{this.setState({isDragging:!0},(()=>this.handleColumnResizeStart(t,0,e)))},onResize:(e,o)=>this.handleColumnResize(t,e,o),onResizeEnd:e=>this.handleColumnResizeEnd(t,e)}}handleSortableAcceptElements=(e,t)=>{if("addable"===e.elementType&&"row"===e.elementNode.getAttribute("data-sortable-subtype"))return!1;const o=e.sortableNode===t.sortableNode,r=-1!==["column","shortcode","addable"].indexOf(e.elementType),i=t.sortableNode.children.length<6;return o||r&&i};getColumnWidthsInPx=()=>{const e=this.nodeRef.current;return e?a.default.map(e.children,(e=>e.getBoundingClientRect().width)):[]};getPopoverData=()=>this.popoverData;canAddColumn(){return this.getValue().length<6}addColumn(e){const t={...this.getValue()[0],value:{items:[]}};this.insertItem(e,t)}renderItemWrapper(e,t,o){const r=(0,w.default)(o);return i.default.createElement(l.ContextMenuExtend,{key:t,...this.makeContextMenuProps(r)},i.default.createElement(s.default,{keyNames:["alt+N","ctrl+N","cmd+N","right_cmd+N","alt+D","alt+C","alt+V","alt+shift+V","shift+alt+V","alt+del","alt+up","alt+down"],shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","verticalAlign","showSidebarStyling","showSidebarAdvanced","width","tabletWidth","mobileWidth"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){const{containerClassName:t}=this.props;return 0===e.length?i.default.createElement("div",{className:t},i.default.createElement(d.default,{path:this.getId(),type:"row",isGrid:!0,acceptElements:this.handleSortableAcceptElements})):i.default.createElement(c.default,{path:this.getId(),type:"row",isGrid:!0,acceptElements:this.handleSortableAcceptElements},((o,r)=>i.default.createElement("div",{...r,ref:e=>{(0,S.attachRef)(e,o),(0,S.attachRef)(e,this.nodeRef)},className:t},e)))}}const k=C},68774:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(16526),l={getItems:function(e,t){const o=Boolean(t.props.meta.sectionPopup),i=Boolean(t.props.meta.sectionPopup2);return[{id:"main",type:"group",icon:"nc-row",title:(0,n.t)("Row"),disabled:(t,n)=>"off"===e.showToolbar||o||i||(0,a.isPopup)(r.default.getAll())||n.isInSubMenu,items:[]}]}}},89871:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(67439),i=o(16957),n=o(64985),a="MacOS"===(0,i.detectOS)(),l=e=>a?e?"alt":"⌘":e?"alt":"ctrl",s=e=>({getItems:c(e)}),c=e=>(t,o)=>{const i=o.canAddColumn()?[{id:"duplicate",type:"button",title:(0,n.t)("Add New"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + N"},onChange(){o.addColumn(e+1)}}]:[],s=o.getCurrentCopiedElement(),c=s&&"Row"!==s.type;return[{id:"main",type:"group",items:[...i,{id:"copy",type:"button",title:(0,n.t)("Copy"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + C"},onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,n.t)("Paste"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + V"},inactive:!c,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,n.t)("Paste Styles"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + ⇧ + V"},inactive:!c,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,n.t)("Duplicate"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + D"},onChange(){o.cloneItem(e)}},{id:"remove",type:"button",title:(0,n.t)("Delete"),helperText:e=>{let{isInSubMenu:t}=e;return(e=>a?e?"alt + delete":"⌘ + delete":e?"alt + delete":"ctrl + delete")(t)},onChange(){(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},59300:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return H}});const r=F(o(60042)),i=R(o(27378)),n=F(o(45771)),a=F(o(25382)),l=F(o(80544)),s=F(o(39552)),c=F(o(36275)),d=F(o(1440)),u=o(46338),p=o(91435),f=o(16874),m=o(76742),y=F(o(58566)),g=R(o(67439)),b=F(o(10787)),h=F(o(63692)),v=o(26989),S=F(o(22546)),w=o(97045),x=o(92213),M=o(94220),T=o(89787),P=o(16526),C=o(69321),k=R(o(24119)),_=o(48499),O=R(o(59638)),E=o(68934),z=F(o(95957)),B=F(o(68774)),j=F(o(66482)),N=R(o(6775)),I=o(73382),L=R(o(65758)),D=R(o(21275));function F(e){return e&&e.__esModule?e:{default:e}}function A(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(A=function(e){return e?o:t})(e)}function R(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=A(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class W extends h.default{static get componentId(){return"Row"}static defaultProps={meta:{}};static defaultValue=j.default;static experimentalDynamicContent=!0;mounted=!1;toolbarRef=i.default.createRef();componentDidMount(){this.mounted=!0}shouldComponentUpdate(e){return this.optionalSCU(e)}componentWillUnmount(){this.mounted=!1}handleValueChange(e,t){const o=Boolean(this.props.meta.sectionPopup),r=Boolean(this.props.meta.sectionPopup2);0!==e.items.length||o&&r&&(0,P.isPopup)(S.default.getAll())?super.handleValueChange(e,t):this.selfDestruct()}handleToolbarEscape=()=>{this.toolbarRef.current.show()};getMeta(e){const{meta:t}=this.props,o=(0,E.styleSizeSize)({v:e,device:"desktop"}),r=(0,E.styleSizeSize)({v:e,device:"tablet"}),i=(0,E.styleSizeSize)({v:e,device:"mobile"}),{w:n,wNoSpacing:a}=(0,T.getContainerW)({v:e,w:t.desktopW,wNoSpacing:t.desktopWNoSpacing,width:o,device:"desktop"}),{w:l,wNoSpacing:s}=(0,T.getContainerW)({v:e,w:t.tabletW,wNoSpacing:t.tabletWNoSpacing,width:r,device:"tablet"}),{w:c,wNoSpacing:d}=(0,T.getContainerW)({v:e,w:t.mobileW,wNoSpacing:t.mobileWNoSpacing,width:i,device:"mobile"});return Object.assign({},t,{row:{isInner:this.isInnerRow(),itemsLength:e.items.length},inGrid:!0,desktopW:n,desktopWNoSpacing:a,tabletW:l,tabletWNoSpacing:s,mobileW:c,mobileWNoSpacing:d})}isInnerRow(){const{meta:e}=this.props;return void 0!==e.row}dvv=e=>{const t=this.getValue(),o=(0,w.deviceModeSelector)((0,x.getStore)().getState()),r=k.mRead(t.tabsState);return(0,C.defaultValueValue)({v:t,key:e,device:o,state:r})};getAnimationClassName=(e,t,o)=>{if(!(0,C.validateKeyByProperty)(e,"animationName","none"))return;const i=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,M.css)(`${this.getComponentId()}-animation-${i}`,`${this.getId()}-animation-${i}`,(0,I.styleAnimation)(e,t,o)))};renderToolbar=e=>i.default.createElement(g.default,{...this.makeToolbarPropsFromConfig2(L,N),ref:this.toolbarRef},i.default.createElement(y.default,null,i.default.createElement(e,{className:"brz-ed-border__button--row"})));renderContent(e,t,o){const{className:n,mobileReverseColumns:l,tabletReverseColumns:s}=e,c=(0,r.default)("brz-row",{"brz-row--inner":this.isInnerRow()},n,(0,M.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,I.styleContainer)(e,t,o))),d=this.makeSubcomponentProps({bindWithKey:"items",containerClassName:c,toolbarExtend:this.makeToolbarPropsFromConfig2(D,null,{allowExtend:!1}),meta:this.getMeta(e),tabletReversed:s,mobileReversed:l});return i.default.createElement(a.default,{value:e,meta:this.getMeta(e)},i.default.createElement(z.default,d))}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{blockId:t,value:{popupId:o}}=e;return"GlobalBlock"===e.type&&(o=(0,w.blocksDataSelector)((0,x.getStore)().getState())[e.value._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${o}`}}});return i.default.createElement(b.default,e)}renderForEdit(e,t,o){const{className:a,customClassName:d,showToolbar:y,cssClassPopulation:b,customAttributes:h}=e,S=O.mRead(e.customID)||void 0,T=O.mRead(e.cssIDPopulation)||void 0,P=(0,r.default)("brz-row__container",a,(0,M.css)(`${this.constructor.componentId}-row`,`${this.getId()}-row`,(0,I.styleRow)(e,t,o)),""===b?d:b),C=this.getAnimationClassName(e,t,o);if("off"===y)return i.default.createElement(m.SortableElement,{type:"row",useHandle:!0},(r=>i.default.createElement(n.default,{component:"div",componentProps:r,className:P,animationClass:C},this.renderContent(e,t,o))));const k=i.default.createElement(p.ScrollMotion,{options:(0,f.makeOptionValueToMotion)(e)},this.renderContent(e,t,o));return i.default.createElement(i.Fragment,null,i.default.createElement(m.SortableElement,{type:"row",useHandle:!0},(t=>i.default.createElement(s.default,this.makeContextMenuProps(B.default),i.default.createElement(l.default,{type:"row",color:"grey",activeBorderStyle:"dotted",activateOnContentClick:!1,buttonPosition:"topLeft",renderButtonWrapper:this.renderToolbar},(o=>{let{ref:r,attr:a,button:l,border:s}=o;return i.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(n.default,{ref:r,component:"div",componentProps:{...(0,_.parseCustomAttributes)(h),...t,...a,id:T??S,className:P},animationClass:C},i.default.createElement(u.Roles,{allow:["admin"],fallbackRender:()=>k},i.default.createElement(g.ToolbarExtend,{onEscape:this.handleToolbarEscape},k),l,s)))}))))),(0,v.shouldRenderPopup)(e,(0,w.blocksDataSelector)((0,x.getStore)().getState()))&&this.renderPopups())}renderForView(e,t,o){const{className:a,tagName:l,linkExternalType:s,linkType:u,linkAnchor:m,linkExternalBlank:y,linkExternalRel:g,linkPopup:b,linkUpload:h,customClassName:S,cssClassPopulation:T,customAttributes:P}=e,{sectionPopup:C,sectionPopup2:k}=this.props.meta,E={anchor:m,external:e[s],popup:b,upload:h},z=O.mRead(e.customID)||void 0,B=O.mRead(e.cssIDPopulation)||void 0,j=(0,r.default)("brz-row__container",a,(0,M.css)(`${this.constructor.componentId}-row`,`${this.getId()}-row`,(0,I.styleRow)(e,t,o)),""===T?S:T),N=this.getAnimationClassName(e,t,o);return i.default.createElement(i.Fragment,null,i.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(n.default,{iterationCount:C||k?1/0:1,component:l,componentProps:{...(0,_.parseCustomAttributes)(P),id:B??z,className:j},animationClass:N},i.default.createElement(p.ScrollMotion,{options:(0,f.makeOptionValueToMotion)(e)},this.renderContent(e,t,o)),""!==E[u]&&i.default.createElement(d.default,{className:"brz-link-container",type:u,href:E[u],target:y,rel:g}))),(0,v.shouldRenderPopup)(e,(0,w.blocksDataSelector)((0,x.getStore)().getState()))&&this.renderPopups())}}const H=W},6775:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return a},getItems:function(){return l}});const r=o(81263),i=o(64985),n=o(68256),a=(0,i.t)("Row");function l(e){let{component:t,context:o}=e;const a=Boolean(t.props.meta.sectionPopup),l=[{title:"Div",value:"div"},{title:(0,i.t)("Header"),value:"header"},{title:(0,i.t)("Footer"),value:"footer"},{title:(0,i.t)("Main"),value:"main"},{title:(0,i.t)("Article"),value:"article"},{title:(0,i.t)("Section"),value:"section"},{title:(0,i.t)("Aside"),value:"aside"},{title:(0,i.t)("Nav"),value:"nav"}],s=(0,n.getDynamicContentOption)({options:o.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"desktop",position:50},{id:"margin",label:(0,i.t)("Margin"),type:"margin-dev",disabled:a,devices:"desktop",position:60},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),position:65},{id:"blendMode",label:(0,i.t)("Blending Mode"),type:"select-dev",devices:"desktop",position:80,choices:[{title:(0,i.t)("Normal"),value:"normal"},{title:(0,i.t)("Color"),value:"color"},{title:(0,i.t)("Color Burn"),value:"color-burn"},{title:(0,i.t)("Color Dodge"),value:"color-dodge"},{title:(0,i.t)("Darken"),value:"darken"},{title:(0,i.t)("Difference"),value:"difference"},{title:(0,i.t)("Exclusion"),value:"exclusion"},{title:(0,i.t)("Hue"),value:"hue"},{title:(0,i.t)("Lighten"),value:"lighten"},{title:(0,i.t)("Luminosity"),value:"luminosity"},{title:(0,i.t)("Multiply"),value:"multiply"},{title:(0,i.t)("Overlay"),value:"overlay"},{title:(0,i.t)("Saturation"),value:"saturation"},{title:(0,i.t)("Screen"),value:"screen"}]}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),icon:"nc-cog",options:[{id:"showOnDesktop",label:(0,i.t)("Show on Desktop"),position:10,closeTooltip:!0,type:"switch-dev",devices:"desktop"},{id:"zIndex",type:"slider-dev",position:20,label:(0,i.t)("Z-index"),devices:"desktop",config:{min:0,max:100}},{id:"cssID",label:(0,i.t)("CSS ID"),type:"population-dev",position:30,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:s,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,i.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:s,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,i.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:s},{id:"hoverTransition",label:(0,i.t)("Hover Transition"),devices:"desktop",position:60,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"tagName",label:(0,i.t)("HTML Tag"),type:"select-dev",choices:l}]}]},{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"responsive",position:50},{id:"margin",label:(0,i.t)("Margin"),type:"margin-dev",disabled:a,devices:"responsive",position:60},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),devices:"responsive",position:65}]},{id:"effects",title:(0,i.t)("Effects"),label:(0,i.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,i.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},73382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleRow:function(){return c},styleContainer:function(){return d},styleAnimation:function(){return u}});const r=o(25095),i=o(76753),n=o(94220),a=o(69321),l=o(66559),s=o(24119);function c(e,t,o){const c=(0,r.fromElementModel)((t=>l.types.some((o=>(0,a.defaultValueValue)({v:e,device:o,key:(0,i.createOptionId)("motion",t),state:s.NORMAL})))));let d=c.vertical||c.horizontal||c.transparency||c.blur||c.rotate||c.scale||c.mouseTrack||c.mouseTilt?"div > ":"";const u={".brz &&:hover":{interval:["cssStyleRowMinHeight","cssStyleDisplayFlex"],standart:["cssStyleMargin","cssStyleZIndex","cssStyleFlexVerticalAlign"]},[`.brz &&:hover > ${d}.brz-bg`]:{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow","cssStyleSizeMaxWidthPercentOnly","cssStyleBlendMode"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},[`.brz &&:hover > ${d}.brz-bg > .brz-bg-image`]:{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition","cssStyleBgMediaImage"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},[`.brz &&:hover > ${d}.brz-bg > .brz-bg-image:after`]:{standart:["cssStyleBgImageHover"]},[`.brz &&:hover > ${d}.brz-bg > .brz-bg-color`]:{standart:["cssStyleBgColor","cssStyleBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},[`.brz &&:hover > ${d}.brz-bg > .brz-bg-map`]:{standart:["cssStyleFilter","cssStyleBgMediaMap"]},[`.brz &&:hover > ${d}.brz-bg > .brz-bg-video`]:{standart:["cssStyleFilter","cssStyleBgMediaVideo"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},[`.brz &&:hover > ${d}.brz-row`]:{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleRowReverseColumn","cssStyleHoverTransition","cssStylePropertyHoverTransition"]}};return u[".brz &&:hover"].interval.push("cssStyleVisibleEditorDisplayNoneOrBlock|||editor"),(0,n.renderStyles)({v:e,vs:t,vd:o,styles:u})}function d(e,t,o){return(0,n.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStylePaddingFourFields","cssStyleSizeMaxWidthPercentOnly"],interval:["cssStyleVisible|||editor"]}}})}function u(e,t,o){return(0,n.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},65758:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81263),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119),p=o(57582);function f(e){let{v:t,device:o,component:i,state:f,context:m}=e;const y=e=>(0,c.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),g=e=>(0,c.defaultValueValue)({v:t,key:e,device:o,state:f}),{hex:b}=(0,d.getOptionColorHexByPalette)(y("bgColorHex"),y("bgColorPalette")),h=Boolean(i.props.meta.sectionPopup),v=Boolean(i.props.meta.sectionPopup2),S=(0,d.getDynamicContentOption)({options:m.dynamicContent.config,type:n.DCTypes.image}),w=(0,s.isPopup)(r.default.getAll());return[(0,p.toolbarShowOnResponsive)({v:t,device:o,devices:"responsive"}),{id:"toolbarMedia",type:"popover-dev",config:{icon:"nc-background",title:(0,l.t)("Background")},position:80,options:[{id:"tabsMedia",type:"tabs-dev",tabs:[{id:"tabMedia",label:(0,l.t)("Background"),options:[{id:"media",label:(0,l.t)("Type"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"image",icon:"nc-media-image"},{value:"video",icon:"nc-media-video"},{value:"map",icon:"nc-media-map"}]},(0,p.toolbarElementContainerTypeImageMap)({v:t,device:o,devices:"responsive",state:f}),{label:(0,l.t)("Image"),id:"bg",type:"imageUpload-dev",states:[u.NORMAL,u.HOVER],devices:"desktop",disabled:"image"!==g("media"),population:S},{label:(0,l.t)("Image"),id:"bg",type:"imageUpload-dev",states:[u.NORMAL,u.HOVER],devices:"responsive",disabled:"image"!==g("media")&&"video"!==g("media"),population:S},(0,p.toolbarBgVideoUrl)({v:t,device:o,devices:"desktop",state:f,disabled:"video"!==g("media")}),{id:"bgVideoLoop",label:(0,l.t)("Loop"),type:"switch-dev",devices:"desktop",disabled:"video"!==g("media")},{id:"bgMapAddress",label:(0,l.t)("Address"),type:"inputText-dev",devices:"desktop",disabled:"map"!==y("media"),placeholder:(0,l.t)("Enter address"),config:{size:"large"}},{id:"bgMapZoom",label:(0,l.t)("Zoom"),type:"slider-dev",disabled:"map"!==y("media")||"desktop"!==o,config:{min:1,max:21}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(b,y("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,l.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"border",type:"border-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",title:(0,l.t)("Link"),size:"medium"},position:100,disabled:!!(h||v||w)||("desktop"===o?"on"===y("linkLightBox"):"popup"!==y("linkType")||""===y("linkPopup")),options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0},tabs:[{id:"external",label:(0,l.t)("URL"),options:[(0,p.toolbarImageLinkExternal)({v:t,device:o,devices:"desktop",state:"normal"}),{id:"linkExternalBlank",type:"switch-dev",label:(0,l.t)("Open In New Tab"),devices:"desktop"},{id:"linkExternalRel",type:"switch-dev",label:(0,l.t)("Make it Nofollow"),devices:"desktop"}]},{id:"anchor",label:(0,l.t)("Block"),options:[(0,p.toolbarLinkAnchor)({v:t,device:o,devices:"desktop",state:"normal"})]},{id:"popup",label:(0,l.t)("Popup"),options:[(0,p.toolbarLinkPopup)({v:t,component:i,state:"normal",device:"desktop",devices:"desktop",canDelete:!0,disabled:h||v||w})]}]}]},{id:"toolbarLinkResponsive",type:"popover-dev",config:{icon:"nc-link",title:(0,l.t)("Link"),size:"medium"},position:100,devices:"responsive",disabled:"popup"!==y("linkType")||""===y("linkPopup"),options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0},tabs:[{id:"popup",label:(0,l.t)("Popup"),options:[(0,p.toolbarLinkPopup)({v:t,component:i,state:"normal",device:"desktop",devices:"responsive",canDelete:!1,disabled:"popup"!==y("linkType")||""===y("linkPopup")})]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},position:100,options:[{id:"size",label:(0,l.t)("Width"),type:"slider-dev",position:80,disabled:h||v||w,config:{min:40,max:100,units:[{value:"%",title:"%"}]}},{id:"multiPicker",type:"group-dev",position:90,disabled:v||w,options:[{id:"columnsHeightStyle",label:(0,l.t)("Height"),type:"select-dev",position:90,choices:[{title:(0,l.t)("Auto"),value:"auto"},{title:(0,l.t)("Custom"),value:"custom"}]},{id:"columnsHeight",type:"slider-dev",disabled:"custom"!==y("columnsHeightStyle"),position:1100,config:{min:20,max:500,units:[{value:"px",title:"px"}]}},{id:"verticalAlign",label:(0,l.t)("Content"),type:"radioGroup-dev",disabled:"custom"!==y("columnsHeightStyle"),position:1100,choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"}]}]},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},21275:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"reverseColumns",type:"toggle-dev",devices:"responsive",position:20,choices:[{icon:"nc-switch",title:(0,r.t)("Reverse Columns"),value:"on"},{icon:"nc-switch",title:(0,r.t)("Reverse Columns"),value:"off"}]}]}},23875:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{normalizeRowColumns:function(){return a},getElemWidthWithoutPaddings:function(){return l}});const r=o(70634),i=100,n=e=>Number(e.toFixed(1));function a(e){if(!e||0===e.length)return e;const t=n(i/e.length),o=n(i-t*(e.length-1));return e.map(((i,n)=>{const a=n!==e.length-1?t:o;return(0,r.setIn)(i,["value","width"],a)}))}function l(e){const t=window.getComputedStyle(e);return e.clientWidth-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight)}},9515:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=h(o(27378)),i=h(o(60042)),n=h(o(22546)),a=h(o(63692)),l=h(o(10787)),s=h(o(36275)),c=o(73948),d=h(o(67439)),u=o(94220),p=o(36785),f=S(o(13349)),m=S(o(29400)),y=h(o(59732)),g=h(o(31440)),b=o(86022);function h(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const w=["centerLeft","centerRight"];class x extends a.default{static get componentId(){return"Search"}static defaultValue=y.default;inputRef=r.default.createRef();handleResizerChange=e=>this.patchValue(e);handleInputChange=e=>this.patchValue({label:e.target.value});handleInputClick=e=>{e.preventDefault(),this.inputRef.current?.classList.add("brz-ed-dd-cancel")};handleInputBlur=()=>{this.inputRef.current?.classList.remove("brz-ed-dd-cancel")};renderButton(){const e=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:this.props.meta}});return r.default.createElement(l.default,e)}renderIcon(){return r.default.createElement(c.ThemeIcon,{className:"brz-search-icon__style1",type:"editor",name:"search"})}renderForEdit(e,t,o){const{searchStyle:n,customCSS:a,label:l,className:c}=e,y=(0,i.default)("brz-search-container",`brz-search-container--${n}`,c,(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.styles)(e,t,o)));return r.default.createElement(d.default,this.makeToolbarPropsFromConfig2(f,m),r.default.createElement(s.default,{selectorName:this.getId(),css:a},r.default.createElement(b.Wrapper,this.makeWrapperProps({className:y}),r.default.createElement(g.default,{points:w,restrictions:{width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}},meta:this.props.meta,value:e,onChange:this.handleResizerChange},r.default.createElement("form",{className:"brz-form brz-search-form",noValidate:!0},"classic"!==n&&this.renderIcon(),r.default.createElement("input",{name:"s",ref:this.inputRef,className:"brz-input brz-search",autoComplete:"off",value:l,onChange:this.handleInputChange,onClick:this.handleInputClick,onBlur:this.handleInputBlur}),"classic"===n&&this.renderButton())))))}renderForView(e,t,o){const{searchStyle:a,customCSS:l,label:c,className:d}=e,f=(0,i.default)("brz-search-container",`brz-search-container--${"fullScreen"===a?"minimal":a}`,d,(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.styles)(e,t,o))),m=n.default.get("urls").site;return r.default.createElement(s.default,{selectorName:this.getId(),css:l},r.default.createElement(b.Wrapper,this.makeWrapperProps({className:f}),r.default.createElement("form",{className:"brz-form brz-search-form",action:m,method:"get"},"classic"!==a&&this.renderIcon(),r.default.createElement("input",{name:"s",className:"brz-input brz-search",placeholder:c}),"classic"===a&&this.renderButton())))}}},29400:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Search"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50}]}]}]}},36785:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBgColor","cssStyleBgGradient","cssStyleSizeWidth","cssStyleBorderRadius","cssStyleBorder","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&.brz-search-container--minimal .brz-search-form":{standart:["cssStyleSizeHeightPxOnly"]},".brz &&.brz-search-container--minimal:after":{standart:["cssStyleSizeHeightPercentOnly"]},".brz &&:hover .brz-btn, &&:hover .brz-search-form":{standart:["cssStyleBorderRadius"]},".brz &&:hover .brz-search-form":{standart:["cssStylePaddingBG"]},".brz &&:hover .brz-search, &&:hover .brz-search::placeholder":{standart:["cssStyleColor","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleElementSearchLineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-search-form .brz-search-icon__style1":{standart:["cssStyleColor","cssStyleTypography3FontSize"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-search:-webkit-autofill":{standart:["cssStyleElementSearchAutocompleteColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},13349:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-search",title:(0,i.t)("Additionals")},position:60,options:[{id:"searchStyle",label:(0,i.t)("Style"),type:"select-dev",devices:"desktop",choices:[{title:(0,i.t)("Classic"),value:"classic"},{title:(0,i.t)("Minimal"),value:"minimal"}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},roles:["admin"],position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,i.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===s("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"height",label:(0,i.t)("Height"),type:"slider-dev",disabled:"minimal"!==s("searchStyle"),config:{min:10,max:200,inputMin:0,inputMax:1e3,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},62899:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(35301)),n=u(o(60042)),a=u(o(10787)),l=u(o(33364)),s=o(73948),c=o(67439),d=o(64985);function u(e){return e&&e.__esModule?e:{default:e}}const p=e=>{let{className:t,extraClassName:o,onClick:i,icon:a}=e;return r.default.createElement("div",{className:(0,n.default)(t,o),onClick:i},r.default.createElement(s.ThemeIcon,{name:a,type:"editor"}))};class f extends a.default{static get componentId(){return"Section.Items"}static defaultProps={className:"",meta:{}};state={showSpinner:!1,showSlider:this.props.meta.section.isSlider};componentDidUpdate(e){e.meta.section.isSlider!==this.props.meta.section.isSlider&&this.setState({showSpinner:!0},(()=>{setTimeout((()=>{this.setState({showSlider:this.props.meta.section.isSlider},(()=>{setTimeout((()=>{this.setState({showSpinner:!1})}),50)}))}),50)}))}getItemProps(e,t,o){const{showSlider:r}=this.state,{meta:i,itemProps:n}=this.props,a=r?[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,d.t)("Duplicate"),position:225,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,d.t)("Delete"),position:250,onChange:()=>{(0,c.hideToolbar)(),this.removeItem(t)}}]:[],l={getItemsForDesktop:()=>a,getItemsForTablet:()=>[],getItemsForMobile:()=>[]},s=this.makeToolbarPropsFromConfig(l);return{...n,meta:{...i,section:{...i.section,isSlider:r}},toolbarExtend:s}}renderItemsContainer(e){const{showSlider:t}=this.state;let o;if(t){const{sliderDots:t,sliderArrows:n,sliderAnimation:a}=this.props;o=r.default.createElement(i.default,{className:`brz-slick-slider brz-slick-slider--${a}`,ref:e=>{this.slider=e},slidesToShow:1,slidesToScroll:1,swipe:!1,draggable:!1,accessibility:!1,arrows:"none"!==n,useTransform:!1,speed:500,nextArrow:r.default.createElement(p,{icon:`right-arrow-${n}`,extraClassName:"brz-slick-slider__arrow brz-slick-slider__arrow-next"}),prevArrow:r.default.createElement(p,{icon:`right-arrow-${n}`,extraClassName:"brz-slick-slider__arrow brz-slick-slider__arrow-prev"}),dots:"none"!==t,dotsClass:`brz-slick-slider__dots brz-slick-slider__dots--${t}`,fade:"fade"===a,verticalSwiping:"fade"===a,vertical:"vertical"===a},e)}else o=e;return o}renderForEdit(e){const{showSlider:t,showSpinner:o}=this.state,i=o&&r.default.createElement("div",{className:"brz-ed-portal__loading"},r.default.createElement(l.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),n=t?super.renderForEdit(e):super.renderForEdit(e.slice(0,1));return r.default.createElement(r.default.Fragment,null,n,i)}}const m=f},24901:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(67439),i=o(16957),n=o(64985),a="MacOS"===(0,i.detectOS)(),l=e=>({getItems:s(e)}),s=e=>(t,o)=>{const i=o.getCurrentCopiedElement();return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,n.t)("Copy"),helperText:()=>a?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,n.t)("Paste"),helperText:()=>a?"⌘ + V":"ctrl + V",inactive:!i,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,n.t)("Paste Styles"),helperText:()=>a?"⌘ + ⇧ + V":"ctrl + ⇧ + V",inactive:!i,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,n.t)("Duplicate"),helperText:()=>a?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,n.t)("Delete"),helperText:()=>a?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},75148:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=P(o(60042)),i=P(o(27378)),n=o(70634),a=P(o(10301)),l=P(o(25382)),s=P(o(80544)),c=P(o(36275)),d=P(o(38693)),u=o(46338),p=o(67439),f=P(o(63692)),m=o(97045),y=o(94220),g=o(14052),b=o(98930),h=o(69321),v=o(66559),S=P(o(18599)),w=P(o(22054)),x=k(o(10058)),M=o(33892),T=k(o(58714));function P(e){return e&&e.__esModule?e:{default:e}}function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(C=function(e){return e?o:t})(e)}function k(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=C(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class _ extends f.default{static get componentId(){return"SectionItem"}static defaultProps={meta:{}};static defaultValue=S.default;mounted=!1;collapsibleToolbarRef=i.default.createRef();state={isDragging:!1,paddingPatch:null};getDBValue(){return this.state.paddingPatch?(0,n.mergeDeep)(this.props.dbValue,this.state.paddingPatch):this.props.dbValue}componentDidMount(){this.mounted=!0}shouldUpdateBecauseOfParent(e){return this.props.meta.section.isSlider||!a.default.isEqual(this.props.rerender,e.rerender)}shouldComponentUpdate(e){return this.optionalSCU(e)||this.shouldUpdateBecauseOfParent(e)||this.state.paddingPatch}componentWillUnmount(){this.mounted=!1}handleToolbarEscape=()=>{this.collapsibleToolbarRef.current.open()};onPaddingResizerStart=()=>{this.setState({isDragging:!0})};handlePaddingResizerChange=e=>{this.state.isDragging?this.setState({paddingPatch:e}):this.patchValue(e)};onPaddingResizerEnd=()=>{const e=this.state.paddingPatch;this.setState({isDragging:!1,paddingPatch:null},(()=>this.handlePaddingResizerChange(e)))};dvv=(e,t)=>{const o=this.getValue();return(0,h.defaultValueValue)({v:o,key:e,device:t})};getMeta(){const{meta:e}=this.props,t=(0,m.deviceModeSelector)(this.getReduxState()),o=this.dvv("containerSize",v.DESKTOP),r=this.dvv("containerSize",v.TABLET),i=this.dvv("containerSize",v.MOBILE),n=this.dvv("containerSizeSuffix",v.DESKTOP),a=this.dvv("containerSizeSuffix",v.TABLET),l=this.dvv("containerSizeSuffix",v.MOBILE),s=this.dvv("containerType",t),c="fullWidth"===s?e.desktopFullW:e.desktopBoxedW,d="fullWidth"===s?e.desktopFullWNoSpacing:e.desktopBoxedWNoSpacing,u="%"===n?Math.round(c*(o/100)*10)/10:o,p="%"===n?Math.round(d*(o/100)*10)/10:o,f="%"===a?Math.round(e.tabletW*(r/100)*10)/10:r,y="%"===a?Math.round(e.tabletWNoSpacing*(r/100)*10)/10:r,g="%"===l?Math.round(e.mobileW*(i/100)*10)/10:i,b="%"===l?Math.round(e.mobileWNoSpacing*(i/100)*10)/10:i;return{...e,desktopW:u,desktopWNoSpacing:p,tabletW:f,tabletWNoSpacing:y,mobileW:g,mobileWNoSpacing:b}}renderToolbar(){const{globalBlockId:e}=this.props.meta,{membership:t,membershipRoles:o,translations:r,translationsLangs:n}=this.props.rerender;return i.default.createElement(p.CollapsibleToolbar,{...this.makeToolbarPropsFromConfig2(T,x),ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft",global:!!e,membership:(0,g.hasMembership)(t,o),language:(0,b.hasMultiLanguage)(r,n)})}renderItems(e,t,o){const n=this.getMeta(e),a=(0,r.default)("brz-container",e.containerClassName,(0,y.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,M.styleContainer)(e,t,o))),s=this.makeSubcomponentProps({bindWithKey:"items",className:a,meta:n});return i.default.createElement(l.default,{value:e,meta:n},i.default.createElement(d.default,{value:e,onStart:this.onPaddingResizerStart,onChange:this.handlePaddingResizerChange,onEnd:this.onPaddingResizerEnd},i.default.createElement(w.default,s)))}renderForEdit(e,t,o){const{className:n,containerType:a,customCSS:l}=e,d=(0,r.default)("brz-section__content",`brz-section--${a}`,n,(0,y.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,M.style)(e,t,o,this.props)));return i.default.createElement(s.default,{type:"section__item",hiddenInResponsive:!0,activateOnContentClick:!1},(r=>{let{ref:n,attr:a}=r;return i.default.createElement(c.default,{selectorName:this.getId(),css:l},i.default.createElement("div",{...a,ref:n,className:d},i.default.createElement(u.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},this.renderToolbar(),i.default.createElement(p.ToolbarExtend,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o)))))}))}renderForView(e,t,o){const{className:n,containerType:a,customCSS:l}=e,s=(0,r.default)("brz-section__content",`brz-section--${a}`,n,(0,y.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,M.style)(e,t,o,this.props)));return i.default.createElement(c.default,{selectorName:this.getId(),css:l},i.default.createElement("div",{className:s},this.renderItems(e,t,o)))}}const O=_},22054:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),i=p(o(10787)),n=p(o(49127)),a=p(o(20013)),l=o(67439),s=o(39552),c=p(o(24072)),d=p(o(24901)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends i.default{static get componentId(){return"SectionItem.Items"}static defaultProps={className:"",meta:{}};getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,u.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,u.t)("Delete"),position:250,onChange:()=>{(0,l.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig(o)}}renderItemWrapper(e,t,o){const i=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(i)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){const{className:t}=this.props;return e.length?r.default.createElement(n.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]},r.default.createElement("div",{className:t},e)):r.default.createElement("div",{className:t},r.default.createElement(a.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]}))}}const m=f},10058:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return s},getItems:function(){return c}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(57582),s=(0,i.t)("Block");function c(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("shapeTopColorHex"),s("shapeTopColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("shapeBottomColorHex"),s("shapeBottomColorPalette"));return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),position:50,config:{units:["px"]}},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),position:70},{id:"blendMode",label:(0,i.t)("Blending Mode"),type:"select-dev",devices:"desktop",position:80,choices:[{title:(0,i.t)("Normal"),value:"normal"},{title:(0,i.t)("Color"),value:"color"},{title:(0,i.t)("Color Burn"),value:"color-burn"},{title:(0,i.t)("Color Dodge"),value:"color-dodge"},{title:(0,i.t)("Darken"),value:"darken"},{title:(0,i.t)("Difference"),value:"difference"},{title:(0,i.t)("Exclusion"),value:"exclusion"},{title:(0,i.t)("Hue"),value:"hue"},{title:(0,i.t)("Lighten"),value:"lighten"},{title:(0,i.t)("Luminosity"),value:"luminosity"},{title:(0,i.t)("Multiply"),value:"multiply"},{title:(0,i.t)("Overlay"),value:"overlay"},{title:(0,i.t)("Saturation"),value:"saturation"},{title:(0,i.t)("Screen"),value:"screen"}]},{id:"shapeDividersGroup",type:"group-dev",options:[{id:"shape",label:(0,i.t)("Dividers"),type:"radioGroup-dev",choices:[{value:"top",icon:"nc-dividers-top"},{value:"bottom",icon:"nc-dividers-bottom"}]},{id:"shapeTopDividersGroup",type:"group-dev",disabled:"top"!==s("shape"),options:[{id:"shapeTopType",label:(0,i.t)("Type"),type:"select-dev",choices:(0,a.getShapes)()},{id:"shapeTopColors",type:"popover-dev",label:(0,i.t)("Color"),config:{size:"auto",title:(0,i.t)("Color"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("shapeTopColorOpacity"))}}},disabled:"none"===s("shapeTopType"),options:[{id:"shapeTopColor",type:"colorPicker-dev"}]},{id:"shapeTopHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===s("shapeTopType"),config:{min:0,max:"px"===s("shapeTopHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,l.toolbarShapeTopFlip)({v:t,device:o,disabled:"none"===s("shapeTopType"),state:"normal"}),{id:"shapeTopIndex",type:"radioGroup-dev",label:(0,i.t)("Arrangement"),disabled:"none"===s("shapeTopType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]},{id:"shapeBottomDividersGroup",type:"group-dev",disabled:"bottom"!==s("shape"),options:[{id:"shapeBottomType",label:(0,i.t)("Type"),type:"select-dev",choices:(0,a.getShapes)(),iconClassName:"brz-ed-shape icon--bottom"},{id:"shapeBottomColors",type:"popover-dev",label:(0,i.t)("Color"),config:{size:"auto",title:(0,i.t)("Color"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,s("shapeBottomColorOpacity"))}}},disabled:"none"===s("shapeBottomType"),options:[{id:"shapeBottomColor",type:"colorPicker-dev"}]},{id:"shapeBottomHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===s("shapeBottomType"),config:{min:0,max:"px"===s("shapeBottomHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,l.toolbarShapeBottomFlip)({v:t,device:o,disabled:"none"===s("shapeBottomType"),state:"normal"}),{id:"shapeBottomIndex",type:"radioGroup-dev",label:(0,i.t)("Arrangement"),disabled:"none"===s("shapeBottomType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]}]}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,i.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},33892:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return i},styleContainer:function(){return n}});const r=o(94220);function i(e,t,o,i){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStylePaddingPreview","cssStylePaddingRightLeftForEditor"]},".brz &&:hover > .brz-bg":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBlendMode"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition","cssStyleBgMediaImage","cssStyleSectionBgSize","cssStyleSectionBgRepeat"],interval:["cssStyleBgImageAttachment","cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"],interval:["cssStyleHoverTransitionFlash","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg > .brz-bg-map":{standart:["cssStyleFilter","cssStyleBgMediaMap"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg > .brz-bg-video":{standart:["cssStyleFilter","cssStyleBgMediaVideo"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top":{standart:["cssStyleShapeTopHeight","cssStyleShapeTopFlip","cssStyleShapeTopIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top::after":{standart:["cssStyleShapeTopType","cssStyleShapeTopHeight"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom":{standart:["cssStyleShapeBottomHeight","cssStyleShapeBottomFlip","cssStyleShapeBottomIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom::after":{standart:["cssStyleShapeBottomType","cssStyleShapeBottomHeight"]},".brz &&:hover > .brz-ed-draggable__padding--top":{standart:["cssStylePaddingTopForEditorResizer","cssStyleSectionPaddingsForEditorResize"]},".brz &&:hover > .brz-ed-draggable__padding--bottom":{standart:["cssStylePaddingBottomForEditorResizer","cssStyleSectionPaddingsForEditorResize"]}},props:i})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleSectionMaxWidth"]}}})}},58714:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return u}});const r=o(81263),i=o(81405),n=o(64985),a=o(69321),l=o(68256),s=o(24119),c=o(57582),d=o(77907),u=e=>{let{v:t,device:o,component:u,state:p,context:f}=e;const m=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:p}),{hex:y}=(0,l.getOptionColorHexByPalette)(m("bgColorHex"),m("bgColorPalette")),g=(0,l.getDynamicContentOption)({options:f.dynamicContent.config,type:r.DCTypes.image}),{isSlider:b}=u.props.meta.section,h=m("media"),v="image"===h,S="video"!==h,w="map"!==h,x="cover"===m("bgSize");return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,n.t)("Background")},position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,n.t)("Background"),options:[{id:"media",label:(0,n.t)("Type"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"image",icon:"nc-media-image"},{value:"video",icon:"nc-media-video"},{value:"map",icon:"nc-media-map"}]},(0,c.toolbarElementContainerTypeImageMap)({v:t,device:o,devices:"responsive",state:"normal"}),{label:(0,n.t)("Image"),id:"bg",type:"imageUpload-dev",states:v?[s.NORMAL,s.HOVER]:void 0,disabled:!v,population:g},{id:"bgSize",label:(0,n.t)("Size"),type:"select-dev",disabled:!v,choices:[{title:(0,n.t)("Cover"),value:"cover"},{title:(0,n.t)("Contain"),value:"contain"},{title:(0,n.t)("Auto"),value:"auto"}]},{id:"bgRepeat",label:(0,n.t)("Repeat"),type:"switch-dev",disabled:!v||x},{id:"bgAttachment",label:(0,n.t)("Parallax"),type:"select-dev",devices:"desktop",disabled:!v||!x||b,choices:[{title:(0,n.t)("None"),value:"none"},{title:(0,n.t)("Fixed"),value:"fixed"},{title:(0,n.t)("Animated"),value:"animated"}]},(0,c.toolbarBgVideoUrl)({v:t,device:o,devices:"desktop",disabled:S,state:"normal"}),{id:"bgVideoLoop",label:(0,n.t)("Loop"),type:"switch-dev",devices:"desktop",disabled:S},{id:"bgVideoStart",type:"number-dev",label:(0,n.t)("Start"),devices:"desktop",disabled:S,config:{size:"short",spinner:!1,max:99999},helper:{content:(0,n.t)("Specify a start time (in seconds)")}},{id:"bgMapAddress",label:(0,n.t)("Address"),type:"inputText-dev",placeholder:(0,n.t)("Enter address"),devices:"desktop",disabled:w},{id:"bgMapZoom",label:(0,n.t)("Zoom"),type:"slider-dev",disabled:w,config:{min:1,max:21}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(y,m("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,n.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[s.NORMAL,s.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"containerTypeGroup",type:"group-dev",position:10,options:[{id:"containerType",label:(0,n.t)("Width"),devices:"desktop",type:"select-dev",choices:[{title:(0,n.t)("Boxed"),value:"boxed"},{title:(0,n.t)("Full"),value:"fullWidth"}]},{id:"containerSize",label:"desktop"===o?"":(0,n.t)("Width"),type:"slider-dev",disabled:"boxed"!==m("containerType"),config:{min:(0,d.getMinContainerSuffix)({v:t,device:o}),max:(0,d.getMaxContainerSuffix)({v:t,device:o}),units:[{title:"px",value:"px"},{title:"%",value:"%"}]}}]},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},78257:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _}});const r=T(o(60042)),i=T(o(27378)),n=T(o(45771)),a=o(68832),l=o(81504),s=T(o(63692)),c=o(76753),d=T(o(22546)),u=o(62762),p=o(97045),f=o(92213),m=o(94220),y=o(16526),g=o(69321),b=C(o(24119)),h=o(48499),v=T(o(62899)),S=T(o(14692)),w=C(o(55609)),x=o(25240),M=C(o(3111));function T(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const k=d.default.getAll();class _ extends s.default{static get componentId(){return"Section"}static defaultProps={meta:{}};static defaultValue=S.default;static experimentalDynamicContent=!0;getMeta(e){const{meta:t}=this.props,{slider:o}=e;return Object.assign({},t,{desktopFullW:l.wInFullPage,desktopFullWNoSpacing:l.wInFullPage,desktopBoxedW:l.wInBoxedPage,desktopBoxedWNoSpacing:l.wInBoxedPage,tabletW:l.wInTabletPage,tabletWNoSpacing:l.wInTabletPage,mobileW:l.wInMobilePage,mobileWNoSpacing:l.wInMobilePage,section:{isSlider:"on"===o}})}shouldComponentUpdate(e){return this.optionalSCU(e)}handleValueChange(e,t){if(0===e.items.length)this.selfDestruct();else{const{patch:o}=t;o&&"on"===o.slider&&1===e.items.length?super.handleValueChange({...e,items:(0,y.cloneItem)(e.items,0)},t):super.handleValueChange(e,t)}}dvv=e=>{const t=this.getValue(),o=(0,p.deviceModeSelector)((0,f.getStore)().getState()),r=b.mRead(t.tabsState);return(0,g.defaultValueValue)({v:t,key:e,device:o,state:r})};getAnimationClassName=(e,t,o)=>{if(!(0,g.validateKeyByProperty)(e,"animationName","none"))return;const i=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,m.css)(`${this.getComponentId()}-animation-${i}`,`${this.getId()}-animation-${i}`,(0,x.styleAnimation)(e,t,o)))};renderItems(e){const t=(0,p.deviceModeSelector)(this.getReduxState()),o=(0,a.fromElementModel)(((e,t)=>o=>(0,g.defaultValueValue)({v:e,key:(0,c.createOptionId)("margin",o),device:t,state:b.NORMAL}))(e,t)),{membership:r,membershipRoles:n,sliderDots:l,sliderArrows:s,sliderAutoPlay:d,sliderAutoPlaySpeed:u,sliderAnimation:f,showOnDesktop:m,showOnTablet:y,showOnMobile:h,verticalAlign:S,tabletVerticalAlign:x,mobileVerticalAlign:T,fullHeight:P,tabletFullHeight:C,mobileFullHeight:k,tagName:_,cssIDPopulation:O,cssClassPopulation:E,customAttributesPopulation:z,marginType:B,tabletMarginType:j,mobileMarginType:N,animationName:I,animationDuration:L,animationDelay:D,animationInfiniteAnimation:F,tabletAnimationName:A,tabletAnimationDuration:R,tabletAnimationDelay:W,tabletAnimationInfiniteAnimation:H,mobileAnimationName:V,mobileAnimationDuration:U,mobileAnimationDelay:G,mobileAnimationInfiniteAnimation:$,translations:Q,translationsLangs:Y}=e,Z=this.makeSubcomponentProps({sliderDots:l,sliderArrows:s,sliderAnimation:f,sliderAutoPlaySpeed:u,bindWithKey:"items",meta:this.getMeta(e),sliderAutoPlay:"on"===d,toolbarExtend:this.makeToolbarPropsFromConfig2(M,w),itemProps:{rerender:{showOnDesktop:m,showOnTablet:y,showOnMobile:h,verticalAlign:S,tabletVerticalAlign:x,mobileVerticalAlign:T,fullHeight:P,tabletFullHeight:C,mobileFullHeight:k,tagName:_,cssIDPopulation:O,cssClassPopulation:E,customAttributesPopulation:z,marginType:B,membership:r,membershipRoles:n,tabletMarginType:j,mobileMarginType:N,animationName:I,animationDuration:L,animationDelay:D,animationInfiniteAnimation:F,tabletAnimationName:A,tabletAnimationDuration:R,tabletAnimationDelay:W,tabletAnimationInfiniteAnimation:H,mobileAnimationName:V,mobileAnimationDuration:U,mobileAnimationDelay:G,mobileAnimationInfiniteAnimation:$,translations:Q,translationsLangs:Y,...o}}});return i.default.createElement(v.default,Z)}renderForEdit(e,t,o){const{className:a,customClassName:l,cssClassPopulation:s,customAttributes:c}=e,d=(0,r.default)("brz-section",a,""===s?l:s,(0,m.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,x.styleSection)(e,t,o))),u=this.getAnimationClassName(e,t,o),p={...(0,h.parseCustomAttributes)(c),"data-block-id":this.props.blockId,"data-uid":this.getId(),id:this.getId(),className:d};return i.default.createElement(n.default,{component:"section",componentProps:p,animationClass:u},this.renderItems(e))}renderLangOrMemberOrAll(e,t){const{membershipRoles:o,translationsLangs:r,membership:n,translations:a}=t,l=!((0,u.isCloud)(k)&&(0,u.isShopify)(k)),s=JSON.parse(o).join(","),c=JSON.parse(r).join(",");return"on"===n&&"off"===a&&l?i.default.createElement(i.default.Fragment,null,`{{display_by_roles roles="${s}"}}`,e,"{{end_display_by_roles}}"):"off"===n&&"on"===a&&l?i.default.createElement(i.default.Fragment,null,`{{display_by_translations translations="${c}"}}`,e,"{{end_display_by_translations}}"):"on"===n&&"on"===a&&l?i.default.createElement(i.default.Fragment,null,`{{display_by_roles roles="${s}"}}`,`{{display_by_translations translations="${c}"}}`,e,"{{end_display_by_translations}}","{{end_display_by_roles}}"):e}renderForView(e,t,o){const{className:a,tagName:l,customClassName:s,cssIDPopulation:c,cssClassPopulation:d,customAttributes:u,anchorName:p}=e,{sectionPopup:f,sectionPopup2:y}=this.props.meta,g=(0,r.default)("brz-section",a,""===d?s:d,(0,m.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,x.styleSection)(e,t,o))),b=this.getAnimationClassName(e,t,o),v=""===c?p||this.getId():c,S={...(0,h.parseCustomAttributes)(u),"data-uid":this.getId(),id:v,name:v,className:g},w=i.default.createElement(n.default,{iterationCount:f||y?1/0:1,component:l,componentProps:S,animationClass:b},this.renderItems(e));return this.renderLangOrMemberOrAll(w,e)}}},55609:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(81263),i=o(64985),n=o(68256);function a(e){let{context:t}=e;const o=[{title:"Div",value:"div"},{title:(0,i.t)("Header"),value:"header"},{title:(0,i.t)("Footer"),value:"footer"},{title:(0,i.t)("Main"),value:"main"},{title:(0,i.t)("Article"),value:"article"},{title:(0,i.t)("Section"),value:"section"},{title:(0,i.t)("Aside"),value:"aside"},{title:(0,i.t)("Nav"),value:"nav"}],a=(0,n.getDynamicContentOption)({options:t.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),options:[{id:"margin",label:(0,i.t)("Margin"),type:"margin-dev",position:60}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),options:[{id:"showOnDesktop",label:(0,i.t)("Show on Desktop"),position:10,type:"switch-dev",devices:"desktop"},{id:"zIndex",type:"slider-dev",position:20,label:(0,i.t)("Z-index"),devices:"desktop",config:{min:0,max:100}},{id:"cssID",label:(0,i.t)("Block Name"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom block name, example: my-block"},config:a,option:{id:"anchorName",type:"inputText-dev"}},{id:"cssClass",label:(0,i.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:a,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,i.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:a},{id:"tagName",label:(0,i.t)("HTML Tag"),type:"select-dev",devices:"desktop",choices:o}]}]}]},{id:"effects",title:(0,i.t)("Effects"),label:(0,i.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,i.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},25240:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleSection:function(){return i},styleAnimation:function(){return n}});const r=o(94220);function i(e,t,o){const i={".brz &&:hover":{standart:["cssStyleZIndex","cssStyleMargin"],interval:["cssStyleDisplayBlock","cssStyleVisibleMode|||preview","cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]},".brz &&:hover.brz-section .brz-section__content":{standart:["cssStyleSectionHeightStyle","cssStyleDisplayFlex"]},".brz && .brz-container":{standart:["cssStyleFlexColumnVerticalAlign"]},".brz && > .slick-slider > .brz-slick-slider__dots:hover":{standart:["cssStyleSectionColorDots"]},".brz && > .slick-slider > .brz-slick-slider__arrow:hover":{standart:["cssStyleSectionColorArrows"]}};return i[".brz &&:hover"].interval.push("cssStyleShowBlock"),i[".brz &&:hover .brz-ed-collapsible"]={standart:["cssStyleSectionToolbarOffset"]},i[".brz &&:hover .brz-container"]={interval:["cssStyleVisibleMode|||editor"]},i[".brz &&:hover .brz-section__content > .brz-bg"]={interval:["cssStyleVisibleMode|||editor"]},(0,r.renderStyles)({v:e,vs:t,vd:o,styles:i})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},3111:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(62762),a=o(39191),l=o(64985),s=o(14052),c=o(98930),d=o(69321),u=o(24119),p=o(57582);function f(e){let{v:t,device:o,component:i}=e;const f=r.default.getAll(),m="function"!=typeof f.api?.savedBlocks?.create,y=!1===f.elements?.section?.multilanguage,g=e=>(0,d.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),b=g("slider"),h=[{title:(0,l.t)("None"),icon:{name:"nc-none"},value:"none"},{title:(0,l.t)("Circle"),icon:{name:"nc-circle-outline"},value:"circle"},{title:(0,l.t)("Diamond"),icon:{name:"nc-diamond-outline"},value:"diamond"},{title:(0,l.t)("Square"),icon:{name:"nc-square-outline"},value:"square"}],v=[{title:(0,l.t)("None"),icon:{name:"nc-none"},value:"none"},{title:(0,l.t)("Thin"),icon:{name:"nc-right-arrow-thin"},value:"thin"},{title:(0,l.t)("Heavy"),icon:{name:"nc-right-arrow-heavy"},value:"heavy"},{title:(0,l.t)("Tail"),icon:{name:"nc-right-arrow-tail"},value:"tail"},{title:(0,l.t)("Round"),icon:{name:"nc-right-arrow-filled"},value:"filled"},{title:(0,l.t)("Outline"),icon:{name:"nc-right-arrow-outline"},value:"outline"}];return[(0,p.toolbarShowOnResponsive)({v:t,device:o,devices:"responsive",closeTooltip:!0}),{id:"toolbarSlider",type:"popover-dev",devices:"desktop",config:{icon:"nc-block-switch",title:(0,l.t)("Block")},position:70,options:[{id:"sliders",type:"tabs-dev",tabs:[{id:"sliderOption1",label:(0,l.t)("Block"),devices:"desktop",options:[{id:"groupSettings",type:"group-dev",options:[{id:"makeItGlobal",label:(0,l.t)("Make it Global"),type:"globalBlock-dev",disabled:(0,n.isCloud)(f)&&(0,n.isShopify)(f),config:{_id:i.getId(),parentId:(0,p.getInstanceParentId)(i.props.instanceKey),blockType:"normal"}},{id:"gbConditions",disabled:!i.props.meta.globalBlockId,value:i.props.meta.globalBlockId,type:"gbConditions",context:"block"}]},{id:"membershipGroup",type:"group-dev",disabled:(0,n.isCloud)(f)&&(0,n.isShopify)(f),options:[{id:"membership",label:(0,l.t)("Membership"),type:"switch-dev"},{id:"membershipRoles",label:(0,l.t)("Show to"),type:"multiSelect-dev",placeholder:"Select",disabled:"off"===g("membership"),choices:(0,s.getAllMembershipChoices)(f)}]},{id:"translationsGroup",type:"group-dev",disabled:(0,a.isWp)(f),options:[{id:"translations",label:(0,l.t)("Multi-Language"),type:"switch-dev",disabled:y},{id:"translationsLangs",label:(0,l.t)("Show If Language"),type:"multiSelect-dev",placeholder:"Select",disabled:"off"===g("translations"),choices:(0,c.getLanguagesChoices)(f)}]},{id:"slider",label:(0,l.t)("Make it a Slider"),type:"switch-dev"}]},"on"===b?{id:"sliderOption2",label:(0,l.t)("Slider"),options:[{id:"sliderAutoPlayGroup",type:"group-dev",options:[{id:"sliderAutoPlay",label:(0,l.t)("Autoplay"),type:"switch-dev"},{id:"sliderAutoPlaySpeed",label:(0,l.t)("Speed"),type:"slider-dev",disabled:"on"!==g("sliderAutoPlay"),config:{min:1,max:6,units:[{title:"s",value:"s"}]}}]},{id:"sliderDots",label:(0,l.t)("Dots"),type:"select-dev",choices:h},{id:"sliderArrows",label:(0,l.t)("Arrows"),type:"select-dev",choices:v}]}:{}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto"},position:90,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:"off"===b?[]:[{id:"dots",label:(0,l.t)("Dots"),options:[{id:"sliderDotsColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:"off"===b}]},{id:"arrows",label:(0,l.t)("Arrows"),options:[{id:"sliderArrowsColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:"off"===b}]}]}]},{id:"makeItSaved",type:"savedBlock-dev",devices:"desktop",position:90,disabled:m,config:{icon:"nc-save-section",blockType:"normal",title:(0,l.t)("Save"),tooltipContent:(0,l.t)("Saved"),blockId:i.getId()}},{id:"toolbarSettings",type:"popover-dev",options:[{id:"toolbarContainerTypeAndHeight",type:"group-dev",position:100,options:[{id:"fullHeight",label:(0,l.t)("Height"),type:"select-dev",choices:[{title:(0,l.t)("Auto"),value:"off"},{title:(0,l.t)("Custom"),value:"custom"},{title:(0,l.t)("Full Height"),value:"on"}]},{id:"sectionHeight",type:"slider-dev",disabled:"custom"!==g("fullHeight"),config:{min:20,max:"px"===g("sectionHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"vh"}]}}]},{id:"verticalAlign",label:(0,l.t)("Content"),type:"radioGroup-dev",disabled:"off"===g("fullHeight"),position:110,choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"}]}]}]}},77907:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getMinContainerSuffix:function(){return a},getMaxContainerSuffix:function(){return l}});const r=o(81504),i=o(69321),n=o(66559);function a(e){let{v:t,device:o}=e;const a=(e,o)=>(0,i.defaultValueValue)({v:t,key:e,device:o}),l=a("containerSizeSuffix",n.DESKTOP),s=a("containerSizeSuffix",n.TABLET),c=a("containerSizeSuffix",n.MOBILE);switch(o){case"desktop":return"px"===l?r.minWInBoxedPage:r.minWidthPercentage;case"tablet":return"px"===s?r.wInMobilePage:r.minWidthPercentage;case"mobile":return"px"===c?r.maxWidthPercentage:r.minWidthPercentage}}function l(e){let{v:t,device:o}=e;const a=(e,o)=>(0,i.defaultValueValue)({v:t,key:e,device:o}),l=a("containerSizeSuffix",n.DESKTOP),s=a("containerSizeSuffix",n.TABLET),c=a("containerSizeSuffix",n.MOBILE);switch(o){case"desktop":return"px"===l?r.wInBoxedPage:r.maxWidthPercentage;case"tablet":return"px"===s?r.wInTabletPage:r.maxWidthPercentage;case"mobile":return"px"===c?r.wInMobilePage:r.maxWidthPercentage}}},26702:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),i=p(o(10787)),n=p(o(49127)),a=p(o(20013)),l=o(67439),s=o(39552),c=p(o(24072)),d=p(o(49929)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends i.default{static get componentId(){return"SectionFooter.Items"}static defaultProps={className:"",meta:{}};getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,u.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,u.t)("Delete"),position:250,onChange:()=>{(0,l.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig(o)}}renderItemWrapper(e,t,o){const i=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(i)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){return 0===e.length?r.default.createElement("div",{className:this.props.className},r.default.createElement(a.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]})):r.default.createElement(n.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]},r.default.createElement("div",{className:this.props.className},e))}}const m=f},49929:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(67439),i=o(16957),n=o(64985),a="MacOS"===(0,i.detectOS)(),l=e=>({getItems:s(e)}),s=e=>(t,o)=>{const i=o.getCurrentCopiedElement();return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,n.t)("Copy"),helperText:()=>a?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,n.t)("Paste"),helperText:()=>a?"⌘ + V":"ctrl + V",inactive:!i,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,n.t)("Paste Styles"),helperText:()=>a?"⌘ + ⇧ + V":"ctrl + ⇧ + V",inactive:!i,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,n.t)("Duplicate"),helperText:()=>a?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,n.t)("Delete"),helperText:()=>a?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},93211:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return D}});const r=j(o(60042)),i=j(o(27378)),n=o(70634),a=j(o(45771)),l=j(o(25382)),s=j(o(80544)),c=j(o(36275)),d=j(o(38693)),u=o(5264),p=o(46338),f=o(67439),m=o(81504),y=j(o(63692)),g=j(o(22546)),b=o(62762),h=o(97045),v=o(92213),S=o(94220),w=o(46479),x=o(14052),M=o(98930),T=o(69321),P=o(66559),C=I(o(24119)),k=o(48499),_=j(o(26702)),O=j(o(65215)),E=I(o(59991)),z=o(74613),B=I(o(98675));function j(e){return e&&e.__esModule?e:{default:e}}function N(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(N=function(e){return e?o:t})(e)}function I(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=N(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class L extends y.default{static get componentId(){return"SectionFooter"}static defaultProps={meta:{}};static defaultValue=O.default;static experimentalDynamicContent=!0;mounted=!1;collapsibleToolbarRef=i.default.createRef();state={isDragging:!1,paddingPatch:null};getDBValue(){return this.state.paddingPatch?(0,n.mergeDeep)(this.props.dbValue,this.state.paddingPatch):this.props.dbValue}componentDidMount(){this.mounted=!0}shouldComponentUpdate(e){return this.optionalSCU(e)||this.state.paddingPatch}componentWillUnmount(){this.mounted=!1}handleToolbarClose=()=>{this.mounted&&this.patchValue({tabsState:"tabNormal",tabsCurrentElement:"tabCurrentElement",tabsColor:"tabOverlay"})};handleToolbarEscape=()=>{this.collapsibleToolbarRef.current.open()};onPaddingResizerStart=()=>{this.setState({isDragging:!0})};handlePaddingResizerChange=e=>{this.state.isDragging?this.setState({paddingPatch:e}):this.patchValue(e)};onPaddingResizerEnd=()=>{const e=this.state.paddingPatch;this.setState({isDragging:!1,paddingPatch:null},(()=>this.handlePaddingResizerChange(e)))};handleRemove=()=>{this.selfDestruct()};dvv=(e,t)=>{const o=this.getValue(),r=C.mRead(o.tabsState);return(0,T.defaultValueValue)({v:o,key:e,device:t,state:r})};getMeta(){const{meta:e}=this.props,t=(0,h.deviceModeSelector)(this.getReduxState()),o=this.dvv("containerSize",P.DESKTOP),r=this.dvv("containerSize",P.TABLET),i=this.dvv("containerSize",P.MOBILE),n=this.dvv("containerSizeSuffix",P.DESKTOP),a=this.dvv("containerSizeSuffix",P.TABLET),l=this.dvv("containerSizeSuffix",P.MOBILE),s="fullWidth"===this.dvv("containerType",t)?m.wInFullPage:m.wInBoxedPage,c="%"===n?Math.round(s*(o/100)*10)/10:o,d="%"===a?Math.round(m.wInTabletPage*(r/100)*10)/10:r,u="%"===l?Math.round(m.wInMobilePage*(i/100)*10)/10:i;return{...e,desktopW:c,desktopWNoSpacing:c,tabletW:d,tabletWNoSpacing:d,mobileW:u,mobileWNoSpacing:u}}getAnimationClassName=(e,t,o)=>{if(!(0,T.validateKeyByProperty)(e,"animationName","none"))return;const i=(0,h.deviceModeSelector)((0,v.getStore)().getState()),n=`${this.dvv("animationName",i)}-${this.dvv("animationDuration",i)}-${this.dvv("animationDelay",i)}-${this.dvv("animationInfiniteAnimation",i)}`;return(0,r.default)((0,S.css)(`${this.getComponentId()}-animation-${n}`,`${this.getId()}-animation-${n}`,(0,z.styleAnimation)(e,t,o)))};renderToolbar(e){const{globalBlockId:t}=this.props.meta,{membership:o,membershipRoles:r,translations:n,translationsLangs:a}=e;return i.default.createElement(f.CollapsibleToolbar,{...this.makeToolbarPropsFromConfig2(B,E),ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft",global:!!t,membership:(0,x.hasMembership)(o,r),onClose:this.handleToolbarClose,language:(0,M.hasMultiLanguage)(n,a)})}renderItems(e,t,o){const n=this.getMeta(e),a=(0,r.default)("brz-container",e.containerClassName,(0,S.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,z.styleContainer)(e,t,o))),s=this.makeSubcomponentProps({bindWithKey:"items",className:a,meta:n});return i.default.createElement(l.default,{value:e,meta:n},i.default.createElement(d.default,{value:e,onStart:this.onPaddingResizerStart,onChange:this.handlePaddingResizerChange,onEnd:this.onPaddingResizerEnd},i.default.createElement(_.default,s)))}renderForEdit(e,t,o){const{className:n,customClassName:l,cssClassPopulation:d,customAttributes:m}=e;return w.IS_PRO?i.default.createElement(s.default,{type:"footer",hiddenInResponsive:!0,activateOnContentClick:!1},(s=>{let{ref:u,attr:y}=s;return i.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(a.default,{ref:u,component:"footer",componentProps:{...(0,k.parseCustomAttributes)(m),...y,"data-block-id":this.props.blockId,id:this.getId(),className:(0,r.default)("brz-footer",n,""===d?l:d,(0,S.css)(`${this.constructor.componentId}-section`,`${this.getId()}-section`,(0,z.styleSection)(e,t,o)))},animationClass:this.getAnimationClassName(e,t,o)},i.default.createElement(p.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},this.renderToolbar(e),i.default.createElement(f.ToolbarExtend,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o)))))})):i.default.createElement("footer",{className:"brz-footer"},i.default.createElement(u.ProBlocked,{text:"Footer",onRemove:this.handleRemove}))}renderLangOrMemberOrAll(e,t){const{membership:o,translations:r,translationsLangs:n,membershipRoles:a}=t,l=g.default.getAll(),s=!((0,b.isCloud)(l)&&(0,b.isShopify)(l)),c=JSON.parse(a).join(","),d=JSON.parse(n).join(",");return"on"===o&&"off"===r&&s?i.default.createElement(i.default.Fragment,null,`{{display_by_roles roles="${c}"}}`,e,"{{end_display_by_roles}}"):"off"===o&&"on"===r&&s?i.default.createElement(i.default.Fragment,null,`{{display_by_translations translations="${d}"}}`,e,"{{end_display_by_translations}}"):"on"===o&&"on"===r&&s?i.default.createElement(i.default.Fragment,null,`{{display_by_roles roles="${c}"}}`,`{{display_by_translations translations="${d}"}}`,e,"{{end_display_by_translations}}","{{end_display_by_roles}}"):e}renderForView(e,t,o){const{sectionPopup:n,sectionPopup2:l}=this.props.meta,{tagName:s,customCSS:d,className:u,anchorName:p,cssIDPopulation:f,customClassName:m,customAttributes:y,cssClassPopulation:g}=e,b=""===f?p||this.getId():f,h=i.default.createElement(c.default,{selectorName:this.getId(),css:d},i.default.createElement(a.default,{iterationCount:n||l?1/0:1,component:s,componentProps:{...(0,k.parseCustomAttributes)(y),"data-uid":this.getId(),id:b,name:b,className:(0,r.default)("brz-footer",u,""===g?m:g,(0,S.css)(`${this.getComponentId()}-section`,`${this.getId()}-section`,(0,z.styleSection)(e,t,o)))},animationClass:this.getAnimationClassName(e,t,o)},this.renderItems(e,t,o)));return this.renderLangOrMemberOrAll(h,e)}}const D=L},59991:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return c},getItems:function(){return d}});const r=o(81263),i=o(81405),n=o(64985),a=o(69321),l=o(68256),s=o(57582),c=(0,n.t)("Footer");function d(e){let{v:t,device:o,context:c}=e;const d=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:u}=(0,l.getOptionColorHexByPalette)(d("shapeTopColorHex"),d("shapeTopColorPalette")),{hex:p}=(0,l.getOptionColorHexByPalette)(d("shapeBottomColorHex"),d("shapeBottomColorPalette")),f=[{title:"Div",value:"div"},{title:(0,n.t)("Header"),value:"header"},{title:(0,n.t)("Footer"),value:"footer"},{title:(0,n.t)("Main"),value:"main"},{title:(0,n.t)("Article"),value:"article"},{title:(0,n.t)("Section"),value:"section"},{title:(0,n.t)("Aside"),value:"aside"},{title:(0,n.t)("Nav"),value:"nav"}],m=(0,l.getDynamicContentOption)({options:c.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),position:50,config:{units:["px"]}},{id:"margin",label:(0,n.t)("Margin"),type:"margin-dev",position:60},{id:"border",type:"corners-dev",label:(0,n.t)("Corner"),position:65},{id:"shapeDividersGroup",type:"group-dev",options:[{id:"shape",label:(0,n.t)("Dividers"),type:"radioGroup-dev",choices:[{value:"top",icon:"nc-dividers-top"},{value:"bottom",icon:"nc-dividers-bottom"}]},{id:"shapeTopDividersGroup",type:"group-dev",disabled:"top"!==d("shape"),options:[{id:"shapeTopType",label:(0,n.t)("Type"),type:"select-dev",choices:(0,l.getShapes)()},{id:"shapeTopColors",type:"popover-dev",label:(0,n.t)("Color"),config:{size:"auto",title:(0,n.t)("Color"),icon:{style:{backgroundColor:(0,i.hexToRgba)(u,d("shapeTopColorOpacity"))}}},disabled:"none"===d("shapeTopType"),options:[{id:"shapeTopColor",type:"colorPicker-dev"}]},{id:"shapeTopHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===d("shapeTopType"),config:{min:0,max:"px"===d("shapeTopHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,s.toolbarShapeTopFlip)({v:t,device:o,disabled:"none"===d("shapeTopType"),state:"normal"}),{id:"shapeTopIndex",type:"radioGroup-dev",label:(0,n.t)("Arrangement"),disabled:"none"===d("shapeTopType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]},{id:"shapeBottomDividersGroup",type:"group-dev",disabled:"bottom"!==d("shape"),options:[{id:"shapeBottomType",label:(0,n.t)("Type"),type:"select-dev",choices:(0,l.getShapes)(),iconClassName:"brz-ed-shape icon--bottom"},{id:"shapeBottomColors",type:"popover-dev",label:(0,n.t)("Color"),config:{size:"auto",title:(0,n.t)("Color"),icon:{style:{backgroundColor:(0,i.hexToRgba)(p,d("shapeBottomColorOpacity"))}}},disabled:"none"===d("shapeBottomType"),options:[{id:"shapeBottomColor",type:"colorPicker-dev"}]},{id:"shapeBottomHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===d("shapeBottomType"),config:{min:0,max:"px"===d("shapeBottomHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,s.toolbarShapeBottomFlip)({v:t,device:o,disabled:"none"===d("shapeBottomType"),state:"normal"}),{id:"shapeBottomIndex",type:"radioGroup-dev",label:(0,n.t)("Arrangement"),disabled:"none"===d("shapeBottomType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]}]}]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),icon:"nc-cog",devices:"desktop",options:[{id:"showOnDesktop",label:(0,n.t)("Show on Desktop"),position:10,closeTooltip:!0,type:"switch-dev",devices:"desktop"},{id:"zIndex",type:"slider-dev",position:20,label:(0,n.t)("Z-index"),devices:"desktop",config:{min:0,max:100}},{id:"cssID",label:(0,n.t)("Block Name"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom block name, example: my-block"},config:m,option:{id:"anchorName",type:"inputText-dev"}},{id:"cssClass",label:(0,n.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:m,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,n.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:m},{id:"hoverTransition",label:(0,n.t)("Hover Transition"),devices:"desktop",position:60,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"tagName",label:(0,n.t)("HTML Tag"),type:"select-dev",devices:"desktop",choices:f}]}]}]},{id:"effects",title:(0,n.t)("Effects"),label:(0,n.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,n.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},74613:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleSection:function(){return i},styleContainer:function(){return n},styleAnimation:function(){return a}});const r=o(94220);function i(e,t,o){const i={".brz &&:hover":{interval:["cssStyleVisibleMode|||preview"],standart:["cssStylePaddingPreview","cssStylePaddingRightLeftForEditor","cssStyleSectionHeightStyle","cssStyleDisplayFlex","cssStyleMargin","cssStyleZIndex"]},".brz &&:hover > .brz-bg":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadowSectionOutset"]},".brz &&:hover > .brz-bg:after":{standart:["cssStyleBoxShadowSection"]},".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition","cssStyleBgMediaImage"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top":{standart:["cssStyleShapeTopHeight","cssStyleShapeTopFlip","cssStyleShapeTopIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top::after":{standart:["cssStyleShapeTopType","cssStyleShapeTopHeight"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom":{standart:["cssStyleShapeBottomHeight","cssStyleShapeBottomFlip","cssStyleShapeBottomIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom::after":{standart:["cssStyleShapeBottomType","cssStyleShapeBottomHeight"]},".brz &&:hover > .brz-ed-draggable__padding--top":{standart:["cssStylePaddingTopForEditorResizer","cssStyleSectionPaddingsForEditorResize"]},".brz &&:hover > .brz-ed-draggable__padding--bottom":{standart:["cssStylePaddingBottomForEditorResizer","cssStyleSectionPaddingsForEditorResize"]},".brz && .brz-container":{standart:["cssStyleFlexColumnVerticalAlign"]}};return i[".brz &&:hover"].interval.push("cssStyleShowFlex"),i[".brz &&:hover .brz-ed-collapsible"]={standart:["cssStyleSectionToolbarOffset"]},i[".brz &&:hover"].interval.push("cssStyleVisibleEditorDisplayNoneOrFlex"),i[".brz &&:hover > .brz-bg"].interval=["cssStyleVisibleMode|||editor"],i[".brz &&:hover > .brz-container"]={interval:["cssStyleVisibleMode|||editor"]},(0,r.renderStyles)({v:e,vs:t,vd:o,styles:i})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleSectionMaxWidth"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},98675:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return b}});const r=o(77907),i=(n=o(22546))&&n.__esModule?n:{default:n};var n;const a=o(81263),l=o(62762),s=o(39191),c=o(81405),d=o(64985),u=o(14052),p=o(98930),f=o(69321),m=o(68256),y=o(24119),g=o(57582);function b(e){let{v:t,device:o,component:n,context:b}=e;const h=i.default.getAll(),v=!1===h.elements?.footer?.multilanguage,S=e=>(0,f.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),w=S("sectionHeightSuffix"),{hex:x}=(0,m.getOptionColorHexByPalette)(S("bgColorHex"),S("bgColorPalette")),M=(0,m.getDynamicContentOption)({options:b.dynamicContent.config,type:a.DCTypes.image});return[(0,g.toolbarShowOnResponsive)({v:t,device:o,devices:"responsive",closeTooltip:!0}),{id:"toolbarFooter",type:"popover-dev",config:{icon:"nc-footer",title:(0,d.t)("Footer")},position:70,devices:"desktop",options:[{id:"groupSettings",type:"group-dev",options:[{id:"makeItGlobal",label:(0,d.t)("Make it Global"),type:"globalBlock-dev",devices:"desktop",disabled:(0,l.isCloud)(h)&&(0,l.isShopify)(h),config:{_id:n.getId(),parentId:(0,g.getInstanceParentId)(n.props.instanceKey),blockType:"normal"}},{id:"gbConditions",disabled:!n.props.meta.globalBlockId,value:n.props.meta.globalBlockId,type:"gbConditions",context:"block"}]},{id:"membershipGroup",type:"group-dev",disabled:(0,l.isCloud)(h)&&(0,l.isShopify)(h),options:[{id:"membership",label:(0,d.t)("Membership"),type:"switch-dev"},{id:"membershipRoles",label:(0,d.t)("Show to"),type:"multiSelect-dev",placeholder:"Select",disabled:"off"===S("membership"),choices:(0,u.getAllMembershipChoices)(h)}]},{id:"translationsGroup",type:"group-dev",disabled:(0,s.isWp)(h),options:[{id:"translations",label:(0,d.t)("Multi-Language"),type:"switch-dev",disabled:v},{id:"translationsLangs",label:(0,d.t)("Show If Language"),type:"multiSelect-dev",placeholder:"Select",disabled:"off"===S("translations"),choices:(0,p.getLanguagesChoices)(h)}]}]},{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,d.t)("Background")},position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,d.t)("Image"),options:[{label:(0,d.t)("Image"),id:"bg",type:"imageUpload-dev",states:[y.NORMAL,y.HOVER],population:M}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,d.t)("Colors"),icon:{style:{backgroundColor:(0,c.hexToRgba)(x,S("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,d.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev",states:[y.NORMAL,y.HOVER]}]},{id:"tabBorder",label:(0,d.t)("Border"),options:[{id:"border",type:"border-dev",states:[y.NORMAL,y.HOVER]}]},{id:"tabBoxShadow",label:(0,d.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[y.NORMAL,y.HOVER]}]}]}]},{id:"makeItSaved",type:"savedBlock-dev",devices:"desktop",position:90,config:{icon:"nc-save-section",blockType:"normal",title:(0,d.t)("Save"),tooltipContent:(0,d.t)("Saved"),blockId:n.getId()}},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,d.t)("Settings")},position:110,options:[{id:"containerTypeGroup",type:"group-dev",position:10,options:[{id:"containerType",label:(0,d.t)("Width"),devices:"desktop",type:"select-dev",choices:[{title:(0,d.t)("Boxed"),value:"boxed"},{title:(0,d.t)("Full"),value:"fullWidth"}]},{id:"containerSize",label:"desktop"===o?"":(0,d.t)("Width"),type:"slider-dev",disabled:"boxed"!==S("containerType"),config:{min:(0,r.getMinContainerSuffix)({v:t,device:o}),max:(0,r.getMaxContainerSuffix)({v:t,device:o}),units:[{title:"px",value:"px"},{title:"%",value:"%"}]}}]},{id:"toolbarContainerTypeAndHeight",type:"group-dev",devices:"desktop",position:100,options:[{id:"fullHeight",label:(0,d.t)("Height"),type:"select-dev",choices:[{title:(0,d.t)("Auto"),value:"off"},{title:(0,d.t)("Custom"),value:"custom"},{title:(0,d.t)("Full Height"),value:"on"}]},{id:"sectionHeight",type:"slider-dev",disabled:"custom"!==S("fullHeight"),config:{min:20,max:"px"===w?500:100,units:[{title:"px",value:"px"},{title:"%",value:"vh"}]}}]},{id:"verticalAlign",label:(0,d.t)("Content"),type:"radioGroup-dev",devices:"desktop",disabled:"off"===S("fullHeight"),position:110,choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,d.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,d.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},44002:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(67439),i=o(16957),n=o(64985),a="MacOS"===(0,i.detectOS)(),l=e=>({getItems:s(e)}),s=e=>(t,o)=>{const i=o.getCurrentCopiedElement();return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,n.t)("Copy"),helperText:()=>a?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,n.t)("Paste"),helperText:()=>a?"⌘ + V":"ctrl + V",inactive:!i,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,n.t)("Paste Styles"),helperText:()=>a?"⌘ + ⇧ + V":"ctrl + ⇧ + V",inactive:!i,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,n.t)("Duplicate"),helperText:()=>a?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,n.t)("Delete"),helperText:()=>a?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},5807:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=C(o(60042)),i=C(o(27378)),n=o(70634),a=C(o(10301)),l=C(o(25382)),s=C(o(80544)),c=C(o(36275)),d=C(o(38693)),u=o(46338),p=o(67439),f=o(81504),m=C(o(63692)),y=o(97045),g=o(94220),b=o(14052),h=o(98930),v=o(69321),S=o(66559),w=C(o(66190)),x=C(o(2441)),M=_(o(64239)),T=o(1606),P=_(o(25315));function C(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(k=function(e){return e?o:t})(e)}function _(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=k(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class O extends m.default{static get componentId(){return"SectionHeaderItem"}static defaultProps={meta:{}};static defaultValue=w.default;mounted=!1;collapsibleToolbarRef=i.default.createRef();state={isDragging:!1,paddingPatch:null};getDBValue(){return this.state.paddingPatch?(0,n.mergeDeep)(this.props.dbValue,this.state.paddingPatch):this.props.dbValue}componentDidMount(){this.mounted=!0}shouldComponentUpdate(e){return this.optionalSCU(e)||this.shouldUpdateBecauseOfParent(e)||this.state.paddingPatch}shouldUpdateBecauseOfParent(e){return!a.default.isEqual(this.props.rerender,e.rerender)}componentWillUnmount(){this.mounted=!1}handleToolbarClose=()=>{this.mounted&&this.patchValue({tabsState:"tabNormal",tabsCurrentElement:"tabCurrentElement",tabsColor:"tabOverlay"})};handleToolbarEscape=()=>{this.collapsibleToolbarRef.current.open()};onPaddingResizerStart=()=>{this.setState({isDragging:!0})};handlePaddingResizerChange=e=>{this.state.isDragging?this.setState({paddingPatch:e}):this.patchValue(e)};onPaddingResizerEnd=()=>{const e=this.state.paddingPatch;this.setState({isDragging:!1,paddingPatch:null},(()=>this.handlePaddingResizerChange(e)))};dvv=(e,t)=>{const o=this.getValue();return(0,v.defaultValueValue)({v:o,key:e,device:t})};getMeta(){const{meta:e}=this.props,t=(0,y.deviceModeSelector)(this.getReduxState()),o=this.dvv("containerSize",S.DESKTOP),r=this.dvv("containerSize",S.TABLET),i=this.dvv("containerSize",S.MOBILE),n=this.dvv("containerSizeSuffix",S.DESKTOP),a=this.dvv("containerSizeSuffix",S.TABLET),l=this.dvv("containerSizeSuffix",S.MOBILE),s="fullWidth"===this.dvv("containerType",t)?f.wInFullPage:f.wInBoxedPage,c="%"===n?Math.round(s*(o/100)*10)/10:o,d="%"===a?Math.round(f.wInTabletPage*(r/100)*10)/10:r,u="%"===l?Math.round(f.wInMobilePage*(i/100)*10)/10:i;return{...e,desktopW:c,desktopWNoSpacing:c,tabletW:d,tabletWNoSpacing:d,mobileW:u,mobileWNoSpacing:u}}getSectionClassName(e,t,o){const{className:i}=e;return(0,r.default)("brz-section__menu-item",i,(0,g.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,T.styleSection)(e,t,o)))}renderToolbar(){const{globalBlockId:e}=this.props.meta,{membership:t,membershipRoles:o,translations:r,translationsLangs:n}=this.props.rerender;return i.default.createElement(p.CollapsibleToolbar,{...this.makeToolbarPropsFromConfig2(P,M),ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft",global:!!e,membership:(0,b.hasMembership)(t,o),language:(0,h.hasMultiLanguage)(r,n),onClose:this.handleToolbarClose})}renderItems(e,t,o){const n=this.getMeta(e),a=(0,r.default)("brz-container",e.containerClassName,(0,g.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,T.styleContainer)(e,t,o))),s=this.makeSubcomponentProps({className:a,meta:n,bindWithKey:"items"});return i.default.createElement(l.default,{value:e,meta:n},i.default.createElement(d.default,{value:e,onStart:this.onPaddingResizerStart,onChange:this.handlePaddingResizerChange,onEnd:this.onPaddingResizerEnd},i.default.createElement(x.default,s)))}renderForEdit(e,t,o){return i.default.createElement(s.default,{type:"header__static",hiddenInResponsive:!0,activateOnContentClick:!1},(r=>{let{ref:n,attr:a}=r;return i.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement("div",{ref:n,...a,className:this.getSectionClassName(e,t,o)},i.default.createElement(u.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},this.renderToolbar(),i.default.createElement(p.ToolbarExtend,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o)))))}))}renderForView(e,t,o){return i.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement("div",{className:this.getSectionClassName(e,t,o)},this.renderItems(e,t,o)))}}},2441:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),i=p(o(10787)),n=p(o(49127)),a=p(o(20013)),l=o(67439),s=o(39552),c=p(o(24072)),d=p(o(44002)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends i.default{static get componentId(){return"SectionHeaderItem.Items"}static defaultProps={className:"",meta:{}};getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,u.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,u.t)("Delete"),position:250,onChange:()=>{(0,l.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig(o)}}renderItemWrapper(e,t,o){const i=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(i)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){return 0===e.length?r.default.createElement("div",{className:this.props.className},r.default.createElement(a.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]})):r.default.createElement(n.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]},r.default.createElement("div",{className:this.props.className},e))}}const m=f},64239:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return s},getItems:function(){return c}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(57582),s=(0,i.t)("Header");function c(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("shapeTopColorHex"),s("shapeTopColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("shapeBottomColorHex"),s("shapeBottomColorPalette"));return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),position:50,config:{units:["px"]}},{id:"margin",label:(0,i.t)("Margin"),type:"margin-dev",position:60},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),position:65},{id:"shapeDividersGroup",type:"group-dev",options:[{id:"shape",label:(0,i.t)("Dividers"),type:"radioGroup-dev",choices:[{value:"top",icon:"nc-dividers-top"},{value:"bottom",icon:"nc-dividers-bottom"}]},{id:"shapeTopDividersGroup",type:"group-dev",disabled:"top"!==s("shape"),options:[{id:"shapeTopType",label:(0,i.t)("Type"),type:"select-dev",choices:(0,a.getShapes)()},{id:"shapeTopColors",type:"popover-dev",label:(0,i.t)("Color"),config:{size:"auto",title:(0,i.t)("Color"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("shapeTopColorOpacity"))}}},disabled:"none"===s("shapeTopType"),options:[{id:"shapeTopColor",type:"colorPicker-dev"}]},{id:"shapeTopHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===s("shapeTopType"),config:{min:0,max:"px"===s("shapeTopHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,l.toolbarShapeTopFlip)({v:t,device:o,disabled:"none"===s("shapeTopType"),state:"normal"}),{id:"shapeTopIndex",type:"radioGroup-dev",label:(0,i.t)("Arrangement"),disabled:"none"===s("shapeTopType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]},{id:"shapeBottomDividersGroup",type:"group-dev",disabled:"bottom"!==s("shape"),options:[{id:"shapeBottomType",label:(0,i.t)("Type"),type:"select-dev",choices:(0,a.getShapes)(),iconClassName:"brz-ed-shape icon--bottom"},{id:"shapeBottomColors",type:"popover-dev",label:(0,i.t)("Color"),config:{size:"auto",title:(0,i.t)("Color"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,s("shapeBottomColorOpacity"))}}},disabled:"none"===s("shapeBottomType"),options:[{id:"shapeBottomColor",type:"colorPicker-dev"}]},{id:"shapeBottomHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===s("shapeBottomType"),config:{min:0,max:"px"===s("shapeBottomHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,l.toolbarShapeBottomFlip)({v:t,device:o,disabled:"none"===s("shapeBottomType"),state:"normal"}),{id:"shapeBottomIndex",type:"radioGroup-dev",label:(0,i.t)("Arrangement"),disabled:"none"===s("shapeBottomType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]}]}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),icon:"nc-cog",devices:"desktop",options:[{id:"hoverTransition",label:(0,i.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},1606:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleSection:function(){return i},styleContainer:function(){return n}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStylePaddingPreview","cssStylePaddingRightLeftForEditor","cssStyleMargin"]},".brz &&:hover > .brz-bg":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadowSectionOutset"]},".brz &&:hover > .brz-bg:after":{standart:["cssStyleBoxShadowSection"]},".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top":{standart:["cssStyleShapeTopHeight","cssStyleShapeTopFlip","cssStyleShapeTopIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top::after":{standart:["cssStyleShapeTopType","cssStyleShapeTopHeight"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom":{standart:["cssStyleShapeBottomHeight","cssStyleShapeBottomFlip","cssStyleShapeBottomIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom::after":{standart:["cssStyleShapeBottomType","cssStyleShapeBottomHeight"]},".brz &&:hover > .brz-ed-draggable__padding--top":{standart:["cssStylePaddingTopForEditorResizer","cssStyleSectionPaddingsForEditorResize"]},".brz &&:hover > .brz-ed-draggable__padding--bottom":{standart:["cssStylePaddingBottomForEditorResizer","cssStyleSectionPaddingsForEditorResize"]},".brz &&:hover .brz-ed-collapsible":{standart:["cssStyleSectionToolbarOffset"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleSectionMaxWidth"]}}})}},25315:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=o(77907),i=o(81263),n=o(81405),a=o(64985),l=o(69321),s=o(68256),c=o(24119);function d(e){let{v:t,device:o,context:d}=e;const u=e=>(0,l.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:p}=(0,s.getOptionColorHexByPalette)(u("bgColorHex"),u("bgColorPalette")),f=(0,s.getDynamicContentOption)({options:d.dynamicContent.config,type:i.DCTypes.image});return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,a.t)("Background")},position:20,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,a.t)("Image"),options:[{label:(0,a.t)("Image"),id:"bg",type:"imageUpload-dev",states:[c.NORMAL,c.HOVER],population:f}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(p,u("bgColorOpacity"))}}},position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,a.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev",states:[c.NORMAL,c.HOVER]}]},{id:"tabBorder",label:(0,a.t)("Border"),options:[{id:"border",type:"border-dev",states:[c.NORMAL,c.HOVER]}]},{id:"tabBoxShadow",label:(0,a.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[c.NORMAL,c.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,a.t)("Settings")},position:110,options:[{id:"containerTypeGroup",type:"group-dev",position:10,options:[{id:"containerType",label:(0,a.t)("Width"),devices:"desktop",type:"select-dev",choices:[{title:(0,a.t)("Boxed"),value:"boxed"},{title:(0,a.t)("Full"),value:"fullWidth"}]},{id:"containerSize",label:"desktop"===o?"":(0,a.t)("Width"),type:"slider-dev",disabled:"boxed"!==u("containerType"),config:{min:(0,r.getMinContainerSuffix)({v:t,device:o}),max:(0,r.getMaxContainerSuffix)({v:t,device:o}),units:[{title:"px",value:"px"},{title:"%",value:"%"}]}}]},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},98570:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),i=p(o(10787)),n=p(o(49127)),a=p(o(20013)),l=o(67439),s=o(39552),c=p(o(24072)),d=p(o(25915)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends i.default{static get componentId(){return"SectionHeaderStickyItemItems.Items"}static defaultProps={className:"",meta:{}};getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,u.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,u.t)("Delete"),position:250,onChange:()=>{(0,l.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig(o)}}renderItemWrapper(e,t,o){const i=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(i)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){return 0===e.length?r.default.createElement("div",{className:this.props.className},r.default.createElement(a.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]})):r.default.createElement(n.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]},r.default.createElement("div",{className:this.props.className},e))}}const m=f},25915:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(67439),i=o(16957),n=o(64985),a="MacOS"===(0,i.detectOS)(),l=e=>({getItems:s(e)}),s=e=>(t,o)=>{const i=o.getCurrentCopiedElement();return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,n.t)("Copy"),helperText:()=>a?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,n.t)("Paste"),helperText:()=>a?"⌘ + V":"ctrl + V",inactive:!i,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,n.t)("Paste Styles"),helperText:()=>a?"⌘ + ⇧ + V":"ctrl + ⇧ + V",inactive:!i,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,n.t)("Duplicate"),helperText:()=>a?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,n.t)("Delete"),helperText:()=>a?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},38535:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=C(o(60042)),i=C(o(27378)),n=o(70634),a=C(o(10301)),l=C(o(25382)),s=C(o(80544)),c=C(o(36275)),d=C(o(38693)),u=o(46338),p=o(67439),f=o(81504),m=C(o(63692)),y=o(97045),g=o(94220),b=o(14052),h=o(98930),v=o(69321),S=o(66559),w=C(o(98570)),x=C(o(13215)),M=_(o(12434)),T=o(65423),P=_(o(65661));function C(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(k=function(e){return e?o:t})(e)}function _(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=k(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class O extends m.default{static get componentId(){return"SectionHeaderStickyItem"}static defaultProps={meta:{}};static defaultValue=x.default;static experimentalDynamicContent=!0;mounted=!1;collapsibleToolbarRef=i.default.createRef();state={isDragging:!1,paddingPatch:null};getDBValue(){return this.state.paddingPatch?(0,n.mergeDeep)(this.props.dbValue,this.state.paddingPatch):this.props.dbValue}componentDidMount(){this.mounted=!0}shouldComponentUpdate(e){return this.optionalSCU(e)||this.shouldUpdateBecauseOfParent(e)||this.state.paddingPatch}shouldUpdateBecauseOfParent(e){return!a.default.isEqual(this.props.rerender,e.rerender)}componentWillUnmount(){this.mounted=!1}handleToolbarClose=()=>{this.mounted&&this.patchValue({tabsState:"tabNormal",tabsCurrentElement:"tabCurrentElement",tabsColor:"tabOverlay"})};handleToolbarEscape=()=>{this.collapsibleToolbarRef.current.open()};onPaddingResizerStart=()=>{this.setState({isDragging:!0})};handlePaddingResizerChange=e=>{this.state.isDragging?this.setState({paddingPatch:e}):this.patchValue(e)};onPaddingResizerEnd=()=>{const e=this.state.paddingPatch;this.setState({isDragging:!1,paddingPatch:null},(()=>this.handlePaddingResizerChange(e)))};dvv=(e,t)=>{const o=this.getValue();return(0,v.defaultValueValue)({v:o,key:e,device:t})};getMeta(){const{meta:e}=this.props,t=(0,y.deviceModeSelector)(this.getReduxState()),o=this.dvv("containerSize",S.DESKTOP),r=this.dvv("containerSize",S.TABLET),i=this.dvv("containerSize",S.MOBILE),n=this.dvv("containerSizeSuffix",S.DESKTOP),a=this.dvv("containerSizeSuffix",S.TABLET),l=this.dvv("containerSizeSuffix",S.MOBILE),s="fullWidth"===this.dvv("containerType",t)?f.wInFullPage:f.wInBoxedPage,c="%"===n?Math.round(s*(o/100)*10)/10:o,d="%"===a?Math.round(f.wInTabletPage*(r/100)*10)/10:r,u="%"===l?Math.round(f.wInMobilePage*(i/100)*10)/10:i;return{...e,desktopW:c,desktopWNoSpacing:c,tabletW:d,tabletWNoSpacing:d,mobileW:u,mobileWNoSpacing:u}}getSectionClassName(e,t,o){return(0,r.default)("brz-section__header-sticky-item",(0,g.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,T.styleSection)(e,t,o)))}renderToolbar(){const{globalBlockId:e}=this.props.meta,{membership:t,membershipRoles:o,translations:r,translationsLangs:n}=this.props.rerender;return i.default.createElement(p.CollapsibleToolbar,{...this.makeToolbarPropsFromConfig2(P,M),ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft",global:!!e,membership:(0,b.hasMembership)(t,o),language:(0,h.hasMultiLanguage)(r,n),onClose:this.handleToolbarClose})}renderItems(e,t,o){const n=this.getMeta(e),a=(0,r.default)("brz-container",e.containerClassName,(0,g.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,T.styleContainer)(e,t,o))),s=this.makeSubcomponentProps({className:a,meta:n,bindWithKey:"items"});return i.default.createElement(l.default,{value:e,meta:n},i.default.createElement(d.default,{value:e,onStart:this.onPaddingResizerStart,onChange:this.handlePaddingResizerChange,onEnd:this.onPaddingResizerEnd},i.default.createElement(w.default,s)))}renderForEdit(e,t,o){return i.default.createElement(s.default,{type:"header__animated",hiddenInResponsive:!0,activateOnContentClick:!1},(r=>{let{ref:n,attr:a}=r;return i.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement("div",{ref:n,...a,className:this.getSectionClassName(e,t,o)},i.default.createElement(u.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},this.renderToolbar(),i.default.createElement(p.ToolbarExtend,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o)))))}))}renderForView(e,t,o){return i.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement("div",{className:this.getSectionClassName(e,t,o)},this.renderItems(e,t,o)))}}},12434:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return s},getItems:function(){return c}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(57582),s=(0,i.t)("Header");function c(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("shapeTopColorHex"),s("shapeTopColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("shapeBottomColorHex"),s("shapeBottomColorPalette"));return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),position:50,config:{units:["px"]}},{id:"margin",label:(0,i.t)("Margin"),type:"margin-dev",position:60},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),position:65},{id:"shapeDividersGroup",type:"group-dev",options:[{id:"shape",label:(0,i.t)("Dividers"),type:"radioGroup-dev",choices:[{value:"top",icon:"nc-dividers-top"},{value:"bottom",icon:"nc-dividers-bottom"}]},{id:"shapeTopDividersGroup",type:"group-dev",disabled:"top"!==s("shape"),options:[{id:"shapeTopType",label:(0,i.t)("Type"),type:"select-dev",choices:(0,a.getShapes)()},{id:"shapeTopColors",type:"popover-dev",label:(0,i.t)("Color"),config:{size:"auto",title:(0,i.t)("Color"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("shapeTopColorOpacity"))}}},disabled:"none"===s("shapeTopType"),options:[{id:"shapeTopColor",type:"colorPicker-dev"}]},{id:"shapeTopHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===s("shapeTopType"),config:{min:0,max:"px"===s("shapeTopHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,l.toolbarShapeTopFlip)({v:t,device:o,disabled:"none"===s("shapeTopType"),state:"normal"}),{id:"shapeTopIndex",type:"radioGroup-dev",label:(0,i.t)("Arrangement"),disabled:"none"===s("shapeTopType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]},{id:"shapeBottomDividersGroup",type:"group-dev",disabled:"bottom"!==s("shape"),options:[{id:"shapeBottomType",label:(0,i.t)("Type"),type:"select-dev",choices:(0,a.getShapes)(),iconClassName:"brz-ed-shape icon--bottom"},{id:"shapeBottomColors",type:"popover-dev",label:(0,i.t)("Color"),config:{size:"auto",title:(0,i.t)("Color"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,s("shapeBottomColorOpacity"))}}},disabled:"none"===s("shapeBottomType"),options:[{id:"shapeBottomColor",type:"colorPicker-dev"}]},{id:"shapeBottomHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===s("shapeBottomType"),config:{min:0,max:"px"===s("shapeBottomHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,l.toolbarShapeBottomFlip)({v:t,device:o,disabled:"none"===s("shapeBottomType"),state:"normal"}),{id:"shapeBottomIndex",type:"radioGroup-dev",label:(0,i.t)("Arrangement"),disabled:"none"===s("shapeBottomType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]}]}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),icon:"nc-cog",devices:"desktop",options:[{id:"hoverTransition",label:(0,i.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},65423:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleSection:function(){return i},styleContainer:function(){return n}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStylePaddingPreview","cssStylePaddingRightLeftForEditor","cssStyleMargin"]},".brz &&:hover > .brz-bg":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadowSectionOutset"]},".brz &&:hover > .brz-bg:after":{standart:["cssStyleBoxShadowSection"]},".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top":{standart:["cssStyleShapeTopHeight","cssStyleShapeTopFlip","cssStyleShapeTopIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top::after":{standart:["cssStyleShapeTopType","cssStyleShapeTopHeight"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom":{standart:["cssStyleShapeBottomHeight","cssStyleShapeBottomFlip","cssStyleShapeBottomIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom::after":{standart:["cssStyleShapeBottomType","cssStyleShapeBottomHeight"]},".brz &&:hover > .brz-ed-draggable__padding--top":{standart:["cssStylePaddingTopForEditorResizer","cssStyleSectionPaddingsForEditorResize"]},".brz &&:hover > .brz-ed-draggable__padding--bottom":{standart:["cssStylePaddingBottomForEditorResizer","cssStyleSectionPaddingsForEditorResize"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleSectionMaxWidth"]}}})}},65661:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=o(77907),i=o(81263),n=o(81405),a=o(64985),l=o(69321),s=o(68256),c=o(24119);function d(e){let{v:t,device:o,context:d}=e;const u=e=>(0,l.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:p}=(0,s.getOptionColorHexByPalette)(u("bgColorHex"),u("bgColorPalette")),f=(0,s.getDynamicContentOption)({options:d.dynamicContent.config,type:i.DCTypes.image});return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,a.t)("Background")},position:20,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,a.t)("Image"),options:[{label:(0,a.t)("Image"),id:"bg",type:"imageUpload-dev",states:[c.NORMAL,c.HOVER],population:f}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(p,u("bgColorOpacity"))}}},position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,a.t)("Overlay "),options:[{id:"",type:"backgroundColor-dev",states:[c.NORMAL,c.HOVER]}]},{id:"tabBorder",label:(0,a.t)("Border"),options:[{id:"border",type:"border-dev",states:[c.NORMAL,c.HOVER]}]},{id:"tabBoxShadow",label:(0,a.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[c.NORMAL,c.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,a.t)("Settings")},position:110,options:[{id:"containerTypeGroup",type:"group-dev",position:10,options:[{id:"containerType",label:(0,a.t)("Width"),devices:"desktop",type:"select-dev",choices:[{title:(0,a.t)("Boxed"),value:"boxed"},{title:(0,a.t)("Full"),value:"fullWidth"}]},{id:"containerSize",label:"desktop"===o?"":(0,a.t)("Width"),type:"slider-dev",disabled:"boxed"!==u("containerType"),config:{min:(0,r.getMinContainerSuffix)({v:t,device:o}),max:(0,r.getMaxContainerSuffix)({v:t,device:o}),units:[{title:"px",value:"px"},{title:"%",value:"%"}]}}]},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},70180:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return I}});const r=z(o(60042)),i=z(o(65311)),n=z(o(27378)),a=z(o(36042)),l=z(o(45771)),s=o(1424),c=z(o(21107)),d=o(5264),u=o(26667),p=z(o(34735)),f=o(67439),m=z(o(10787)),y=z(o(63692)),g=o(3968),b=z(o(22546)),h=o(62762),v=o(97045),S=o(92213),w=o(94220),x=o(46479),M=o(69321),T=j(o(24119)),P=o(6085),C=o(48499),k=z(o(35045)),_=j(o(42468)),O=o(4823),E=j(o(24498));function z(e){return e&&e.__esModule?e:{default:e}}function B(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(B=function(e){return e?o:t})(e)}function j(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=B(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const N=e=>{let{fixed:t=!1,node:o=null,height:r=0}=e;const n=(0,i.default)(o).siblings(".brz-ed-container-plus");t?n.addClass("brz-ed-container-plus--fixed").css({top:`${r}px`}):n.removeClass("brz-ed-container-plus--fixed").css({top:"auto"})};class I extends y.default{static get componentId(){return"SectionHeader"}static defaultProps={meta:{}};static defaultValue=k.default;static experimentalDynamicContent=!0;state={height:"auto"};isSticky=!1;isUpdated=!1;sectionNode=n.default.createRef();stickyNode=n.default.createRef();shouldComponentUpdate(e,t){return this.state.height!==t.height||this.optionalSCU(e)}componentDidMount(){const{type:e}=this.getValue();"animated"===e&&this.forceUpdate()}componentDidUpdate(){if(this.isUpdated)return;const{type:e}=this.getValue();"fixed"!==e&&N({fixed:!1,node:this.sectionNode.current})}handleValueChange(e,t){t.patch.type&&"fixed"!==t.patch.type&&(this.isUpdated=!0,this.setState({height:"auto"},(()=>this.isUpdated=!1))),this.props.onChange(e,t)}handleRemove=()=>{this.selfDestruct()};handleStickyChange=e=>{(0,f.hideToolbar)();const t=(0,s.getCurrentTooltip)();if(t&&t.hide(),"fixed"===this.getValue().type)N({fixed:e,node:this.sectionNode.current,height:this.state.height}),this.isSticky=e,this.forceUpdate();else{this.isSticky=!1;const e=(0,g.getOpenedMegaMenu)();e&&e.close()}};handleUpdateHeight=()=>{const{height:e}=this.stickyNode.current.getBoundingClientRect();N({fixed:this.isSticky,node:this.sectionNode.current,height:e}),e!==this.state.height&&this.setState({height:e})};getStyle(e){return"fixed"===e.type?{height:this.state.height}:null}getMeta(){return{...this.props.meta,section:{}}}getRerender(e){const{membership:t,membershipRoles:o,showOnDesktop:r,showOnMobile:i,showOnTablet:n,cssIDPopulation:a,cssClassPopulation:l,customAttributes:s,customAttributesPopulation:c,animationName:d,animationDuration:u,animationDelay:p,animationInfiniteAnimation:f,tabletAnimationName:m,tabletAnimationDuration:y,tabletAnimationDelay:g,tabletAnimationInfiniteAnimation:b,mobileAnimationName:h,mobileAnimationDuration:v,mobileAnimationDelay:S,mobileAnimationInfiniteAnimation:w,translations:x,translationsLangs:M}=e;return{membership:t,membershipRoles:o,showOnDesktop:r,showOnMobile:i,showOnTablet:n,cssIDPopulation:a,cssClassPopulation:l,customAttributes:s,customAttributesPopulation:c,animationName:d,animationDuration:u,animationDelay:p,tabletAnimationName:m,tabletAnimationDuration:y,tabletAnimationDelay:g,tabletAnimationInfiniteAnimation:b,animationInfiniteAnimation:f,mobileAnimationName:h,mobileAnimationDuration:v,mobileAnimationDelay:S,mobileAnimationInfiniteAnimation:w,translations:x,translationsLangs:M}}dvv=e=>{const t=this.getValue(),o=(0,v.deviceModeSelector)((0,S.getStore)().getState()),r=T.mRead(t.tabsState);return(0,M.defaultValueValue)({v:t,key:e,device:o,state:r})};getAnimationClassName=(e,t,o)=>{if(!(0,M.validateKeyByProperty)(e,"animationName","none"))return;const i=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,w.css)(`${this.getComponentId()}-animation-${i}`,`${this.getId()}-animation-${i}`,(0,O.styleAnimation)(e,t,o)))};renderAnimated(e){let{v:t,vs:o,vd:r}=e,i=n.default.createElement(p.default,{refSelector:`#${this.getId()}`,type:"animated",render:e=>this.renderAnimatedSticky({v:t,vs:o,vd:r,isSticky:e}),onChange:this.handleStickyChange});{const e=document.getElementById("brz-ed-root");i=n.default.createElement(c.default,{node:e,className:"brz-ed-portal-section-header__sticky"},i)}return n.default.createElement(n.default.Fragment,null,i,this.renderStatic({v:t}))}renderAnimatedSticky(e){let{v:t,vs:o,vd:i,isSticky:a}=e;const l=(0,r.default)("brz-section__header--animated",{"brz-section__header--animated-closed":!a},{"brz-section__header--animated-opened":a},(0,w.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,O.styleSection)(t,o,i))),s=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:1,itemProps:{toolbarExtend:this.makeToolbarPropsFromConfig2(E,_),meta:this.getMeta(t),rerender:this.getRerender(t)}});return n.default.createElement(u.SortableZIndex,{zIndex:1},n.default.createElement("div",{className:l},n.default.createElement(f.ToolbarExtend,{position:"fixed"},n.default.createElement(m.default,s))))}renderFixed(e){let{v:t}=e;return n.default.createElement(p.default,{refSelector:`#${this.getId()}`,type:"fixed",render:e=>this.renderFixedSticky({v:t,isSticky:e}),onChange:this.handleStickyChange})}renderFixedSticky(e){let{v:t,isSticky:o}=e;const i=(0,r.default)("brz-section__header--fixed",{"brz-section__header--fixed-opened":o}),l=o?"fixed":"absolute";return n.default.createElement(u.SortableZIndex,{zIndex:1},n.default.createElement("div",{className:i,ref:this.stickyNode},n.default.createElement(f.ToolbarExtend,{position:l},this.renderStatic({v:t})),n.default.createElement(a.default,{onResize:this.handleUpdateHeight})))}renderStatic(e){let{v:t}=e;const o=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{toolbarExtend:this.makeToolbarPropsFromConfig2(E,_),meta:this.getMeta(t),rerender:this.getRerender(t)}});return n.default.createElement(m.default,o)}renderForEdit(e,t,o){const{className:i,customClassName:a,cssClassPopulation:s,customAttributes:c,tagName:u}=e;return x.IS_PRO?n.default.createElement(l.default,{component:u,componentProps:{...(0,C.parseCustomAttributes)(c),id:this.getId(),style:this.getStyle(e),ref:this.sectionNode,className:(0,r.default)("brz-section brz-section__header",i,""===s?a:s,(0,w.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,O.styleSection)(e,t,o)))},animationClass:this.getAnimationClassName(e,t,o)},this[`render${(0,P.capitalize)(e.type)}`]({v:e,vs:t,vd:o})):n.default.createElement("header",{className:"brz-section brz-section__header"},n.default.createElement(d.ProBlocked,{text:"Header",absolute:!1,onRemove:this.handleRemove}))}renderLangOrMemberOrAll(e,t){const{membership:o,membershipRoles:r,translationsLangs:i,translations:a}=t,l=b.default.getAll(),s=JSON.parse(r).join(","),c=JSON.parse(i).join(","),d=!((0,h.isCloud)(l)&&(0,h.isShopify)(l));return"on"===o&&"off"===a&&d?n.default.createElement(n.default.Fragment,null,`{{display_by_roles roles="${s}"}}`,e,"{{end_display_by_roles}}"):"off"===o&&"on"===a&&d?n.default.createElement(n.default.Fragment,null,`{{display_by_translations translations="${c}"}}`,e,"{{end_display_by_translations}}"):"on"===o&&"on"===a&&d?n.default.createElement(n.default.Fragment,null,`{{display_by_roles roles="${s}"}}`,`{{display_by_translations translations="${c}"}}`,e,"{{end_display_by_translations}}","{{end_display_by_roles}}"):e}renderForView(e,t,o){const{type:i,tagName:a,className:s,anchorName:c,customClassName:d,customAttributes:u,cssIDPopulation:p,cssClassPopulation:f}=e,m=""===p?c||this.getId():p,y=n.default.createElement(l.default,{component:a,componentProps:{...(0,C.parseCustomAttributes)(u),id:m,name:m,style:this.getStyle(e),ref:this.sectionNode,className:(0,r.default)("brz-section brz-section__header",s,""===f?d:f,(0,w.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,O.styleSection)(e,t,o))),"data-uid":this.getId()},animationClass:this.getAnimationClassName(e,t,o)},this[`render${(0,P.capitalize)(i)}`]({v:e,vs:t,vd:o}));return this.renderLangOrMemberOrAll(y,e)}}},42468:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(81263),i=o(64985),n=o(68256);function a(e){let{context:t}=e;const o=[{title:"Div",value:"div"},{title:(0,i.t)("Header"),value:"header"},{title:(0,i.t)("Footer"),value:"footer"},{title:(0,i.t)("Main"),value:"main"},{title:(0,i.t)("Article"),value:"article"},{title:(0,i.t)("Section"),value:"section"},{title:(0,i.t)("Aside"),value:"aside"},{title:(0,i.t)("Nav"),value:"nav"}],a=(0,n.getDynamicContentOption)(t.dynamicContent.config,r.DCTypes.richText);return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),icon:"nc-cog",options:[{id:"showOnDesktop",label:(0,i.t)("Show on Desktop"),position:10,closeTooltip:!0,type:"switch-dev",devices:"desktop"},{id:"cssID",label:(0,i.t)("Block Name"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom block name, example: my-block"},config:a,option:{id:"anchorName",type:"inputText-dev"}},{id:"cssClass",label:(0,i.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:a,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,i.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:a},{id:"tagName",label:(0,i.t)("HTML Tag"),type:"select-dev",devices:"desktop",choices:o}]}]}]},{id:"effects",title:(0,i.t)("Effects"),label:(0,i.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,i.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},4823:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleSection:function(){return i},styleAnimation:function(){return n}});const r=o(94220);function i(e,t,o){const i={".brz &&:hover":{interval:["cssStyleDisplayBlock","cssStyleVisibleMode|||preview","cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]}};return i[".brz &&:hover"].interval.push("cssStyleShowBlock"),i[".brz &&:hover .brz-container"]={interval:["cssStyleVisibleMode|||editor"]},i[".brz &&:hover > .brz-section__menu-item > .brz-bg"]={interval:["cssStyleVisibleMode|||editor"]},i[".brz &&:hover > .brz-section__header-sticky-item > .brz-bg"]={interval:["cssStyleVisibleMode|||editor"]},(0,r.renderStyles)({v:e,vs:t,vd:o,styles:i})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},24498:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(62762),a=o(39191),l=o(64985),s=o(14052),c=o(98930),d=o(69321),u=o(57582);function p(e){let{v:t,device:o,component:i}=e;const p=r.default.getAll(),f=!1===p.elements?.header?.multilanguage,m=e=>(0,d.defaultValueValue)({v:t,key:e,device:o});return[(0,u.toolbarShowOnResponsive)({v:t,device:o,devices:"responsive",closeTooltip:!0}),{id:"toolbarSticky",type:"popover-dev",config:{icon:"nc-sticky-menu",title:(0,l.t)("Menu")},devices:"desktop",position:10,options:[{id:"type",label:(0,l.t)("Header"),type:"select-dev",devices:"desktop",choices:[{title:(0,l.t)("Static"),value:"static"},{title:(0,l.t)("Fixed"),value:"fixed"},{title:(0,l.t)("Sticky"),value:"animated"}]},{id:"groupSettings",type:"group-dev",options:[{id:"makeItGlobal",label:(0,l.t)("Make it Global"),type:"globalBlock-dev",devices:"desktop",disabled:(0,n.isCloud)(p)&&(0,n.isShopify)(p),config:{_id:i.getId(),parentId:(0,u.getInstanceParentId)(i.props.instanceKey),blockType:"normal"}},{id:"gbConditions",disabled:!i.props.meta.globalBlockId,value:i.props.meta.globalBlockId,type:"gbConditions",context:"block"}]},{id:"membershipGroup",type:"group-dev",disabled:(0,n.isCloud)(p)&&(0,n.isShopify)(p),options:[{id:"membership",label:(0,l.t)("Membership"),type:"switch-dev"},{id:"membershipRoles",label:(0,l.t)("Show to"),type:"multiSelect-dev",placeholder:"Select",disabled:"off"===m("membership"),choices:(0,s.getAllMembershipChoices)(p)}]},{id:"translationsGroup",type:"group-dev",disabled:(0,a.isWp)(p),options:[{id:"translations",label:(0,l.t)("Multi-Language"),type:"switch-dev",disabled:f},{id:"translationsLangs",label:(0,l.t)("Show If Language"),type:"multiSelect-dev",placeholder:"Select",disabled:"off"===m("translations"),choices:(0,c.getLanguagesChoices)(p)}]}]},{id:"makeItSaved",type:"savedBlock-dev",devices:"desktop",position:90,config:{icon:"nc-save-section",blockType:"normal",title:(0,l.t)("Save"),tooltipContent:(0,l.t)("Saved"),blockId:i.getId()}}]}},30344:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{SectionPopupInstances:function(){return j},default:function(){return I}});const r=E(o(60042)),i=E(o(27378)),n=E(o(31542)),a=E(o(25382)),l=E(o(80544)),s=E(o(36275)),c=o(46338),d=o(26667),u=o(73948),p=o(67439),f=o(81504),m=E(o(10787)),y=E(o(63692)),g=E(o(22546)),b=o(97045),h=o(92213),v=o(94220),S=o(89787),w=o(16526),x=o(69321),M=o(66559),T=E(o(83588)),P=o(67138),C=B(o(18006)),k=o(65836),_=B(o(32217)),O=B(o(71061));function E(e){return e&&e.__esModule?e:{default:e}}function z(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(z=function(e){return e?o:t})(e)}function B(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=z(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}let j=P.SectionPopupInstances;class N extends y.default{static get componentId(){return"SectionPopup"}static defaultProps={meta:{},onOpen:()=>{},onClose:()=>{}};static defaultValue=T.default;constructor(...e){super(...e),this.instanceKey=this.props.instanceKey||this.getId(),this.state={isOpened:this.props.isOpened},this.mounted=!1,this.popupsContainer=document.getElementById("brz-popups"),this.el=document.createElement("div")}componentDidMount(){this.mounted=!0,this.popupsContainer.appendChild(this.el),P.SectionPopupInstances.set(this.instanceKey,this)}shouldComponentUpdate(e,t){return this.state.isOpened!==t.isOpened||this.optionalSCU(e)}componentWillUnmount(){this.mounted=!1,this.popupsContainer.removeChild(this.el),this.popupsContainer=null,this.el=null,document.documentElement.classList.remove("brz-ow-hidden"),P.SectionPopupInstances.delete(this.instanceKey)}handleValueChange(e,t){super.handleValueChange(e,Object.assign(t,{SectionPopup:{dbId:this.getDBValue()._id,domId:this.getId()}}))}handleDropClick=()=>{this.close()};dvv=(e,t)=>{const o=this.getValue();return(0,x.defaultValueValue)({v:o,key:e,device:t})};getMeta(e){const{meta:t}=this.props,o=(0,b.deviceModeSelector)(this.getReduxState()),r=this.dvv("containerType",o),i=this.dvv("containerSize",M.DESKTOP),n=this.dvv("containerSize",M.TABLET),a=this.dvv("containerSize",M.MOBILE),{w:l,wNoSpacing:s}=(0,S.getContainerW)({v:e,w:"fullWidth"===r?f.wInFullPage:f.wInBoxedPage,wNoSpacing:"fullWidth"===r?f.wInFullPage:f.wInBoxedPage,width:i,device:"desktop"}),{w:c,wNoSpacing:d}=(0,S.getContainerW)({v:e,w:f.wInTabletPage,wNoSpacing:f.wInTabletPage,width:n,device:"tablet"}),{w:u,wNoSpacing:p}=(0,S.getContainerW)({v:e,w:f.wInMobilePage,wNoSpacing:f.wInMobilePage,width:a,device:"mobile"});return{...t,desktopW:l,desktopWNoSpacing:s,tabletW:c,tabletWNoSpacing:d,mobileW:u,mobileWNoSpacing:p,sectionPopup:!0}}renderToolbar(){const{globalBlockId:e}=this.props.meta;return i.default.createElement(p.CollapsibleToolbar,{...this.makeToolbarPropsFromConfig2(_,C,{allowExtend:!1,allowExtendFromThirdParty:!0}),className:"brz-ed-collapsible--section",animation:"rightToLeft",global:!!e})}renderItems(e,t,o){const n=this.getMeta(e),l=(0,r.default)("brz-container",e.containerClassName,(0,v.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,k.styleContainer)(e,t,o))),s=(0,r.default)("brz-container__wrap",(0,v.css)(`${this.constructor.componentId}-containerWrap`,`${this.getId()}-containerWrap`,(0,k.styleContainerWrap)(e,t,o))),c=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{toolbarExtend:this.makeToolbarPropsFromConfig2(O,null,{allowExtend:!1}),meta:n,inPopup:!0}});return i.default.createElement(a.default,{value:e,meta:n},i.default.createElement(d.SortableZIndex,{zIndex:1},i.default.createElement("div",{className:s},i.default.createElement("div",{className:l},i.default.createElement(m.default,c)))))}renderForEdit(e,t,o){if(!this.state.isOpened)return null;const{className:a,customClassName:d}=e,p=this.getId(),f=(0,r.default)("brz-popup","brz-popup__editor",{"brz-popup--opened":this.state.isOpened},a,d,(0,v.css)(`${this.constructor.componentId}-close`,`${this.getId()}-close`,(0,k.styleCloseButton)(e,t,o)));return n.default.createPortal(i.default.createElement(l.default,{type:"popup",hiddenInResponsive:!0,activateOnContentClick:!1},(r=>{let{ref:n,attr:a}=r;return i.default.createElement(s.default,{selectorName:p,css:e.customCSS},i.default.createElement("div",{ref:n,id:p,className:f,"data-block-id":this.props.blockId,...a},i.default.createElement("div",{className:"brz-popup__close",onClick:this.handleDropClick},i.default.createElement(u.ThemeIcon,{name:"close-popup",type:"editor"})),i.default.createElement(c.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},this.renderToolbar(),this.renderItems(e,t,o))))})),this.el)}renderForView(e,t,o){const{className:n,customClassName:a}=e,l=(0,b.triggersSelector)((0,h.getStore)().getState());let c={};if((0,w.isPopup)(g.default.getAll())){const e=["scrolling","showing","devices","referrer","loggedIn"],t=e=>encodeURIComponent(JSON.stringify(e)),o=e=>JSON.parse(decodeURIComponent(e)),r=e=>e.replace(/([A-Z])/g,(e=>`_${e.toLowerCase()}`));c=l.reduce(((i,n)=>{if(n.active){const a=`data-${r(n.id)}`;e.includes(n.id)?i[a]=i[a]?t([...o(i[a]),n.value]):t([n.value]):i[a]=n.value}return i}),{})}const d=(0,r.default)("brz-popup","brz-popup__preview",{"brz-conditions-popup":(0,w.isPopup)(g.default.getAll())},n,a,(0,v.css)(`${this.constructor.componentId}-close`,`${this.getId()}-close`,(0,k.styleCloseButton)(e,t,o)));return i.default.createElement(s.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement("div",{className:d,id:this.instanceKey,"data-brz-popup":this.instanceKey,...c},i.default.createElement("div",{className:"brz-popup__close"},i.default.createElement(u.ThemeIcon,{name:"close-popup",type:"editor"})),this.renderItems(e,t,o)))}open=()=>{document.documentElement.classList.add("brz-ow-hidden"),this.props.onOpen(),this.setState({isOpened:!0})};close=()=>{document.documentElement.classList.remove("brz-ow-hidden"),this.props.onClose(),this.setState({isOpened:!1})}}const I=N},67138:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SectionPopupInstances",{enumerable:!0,get:function(){return o}});let o=new Map},18006:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Popup");function i(){return[]}},65836:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleCloseButton:function(){return i},styleContainer:function(){return n},styleContainerWrap:function(){return a}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && > .brz-popup__close:hover":{standart:["cssStyleColor"]},".brz &&:hover > .brz-bg":{standart:["cssStyleBorder","cssStyleBorderRadius"]},".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleSizeMaxWidthContainer"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSectionPopupContainerWrap"]}}})}},32217:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81263),a=o(62762),l=o(81405),s=o(64985),c=o(69321),d=o(68256),u=o(24119),p=o(57582);function f(e){let{v:t,device:o,component:i,context:f}=e;const m=r.default.getAll(),y=e=>(0,c.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:g}=(0,d.getOptionColorHexByPalette)(y("bgColorHex"),y("bgColorPalette")),b=(0,d.getDynamicContentOption)({options:f.dynamicContent.config,type:n.DCTypes.image});return[{id:"toolbarPopup",type:"popover-dev",config:{icon:"nc-popup",title:"Popup"},devices:"desktop",position:70,options:[{id:"makeItGlobal",label:(0,s.t)("Make it Global"),type:"globalBlock-dev",devices:"desktop",disabled:(0,a.isCloud)(m)&&(0,a.isShopify)(m),config:{_id:i.getId(),parentId:(0,p.getInstanceParentId)(i.props.instanceKey,"popup"),blockType:"popup"}}]},{id:"toolbarMedia",type:"popover-dev",config:{icon:"nc-background",title:(0,s.t)("Background")},position:80,options:[{id:"tabsMedia",type:"tabs-dev",tabs:[{id:"tabMedia",label:(0,s.t)("Image"),options:[{id:"bg",type:"imageUpload-dev",population:b}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,s.t)("Colors"),icon:{style:{backgroundColor:(0,l.hexToRgba)(g,y("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,s.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev"}]},{id:"tabClose",label:(0,s.t)("Close"),options:[{id:"color",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"makeItSaved",type:"savedBlock-dev",devices:"desktop",position:90,config:{icon:"nc-save-section",blockType:"popup",title:(0,s.t)("Save"),tooltipContent:(0,s.t)("Saved"),blockId:i.getId()}}]}},71061:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarSettings",type:"popover-dev",cofnig:{icon:"nc-cog",title:(0,r.t)("Settings")},position:100,options:[{id:"containerSize",label:(0,r.t)("Width"),type:"slider-dev",position:100,config:{min:35,max:100,units:[{value:"%",title:"%"}]}}]}]}},38424:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{SectionPopup2Instances:function(){return R},default:function(){return H}});const r=D(o(60042)),i=D(o(27378)),n=D(o(31542)),a=D(o(25382)),l=D(o(80544)),s=D(o(36275)),c=D(o(33364)),d=D(o(24072)),u=o(46338),p=o(26667),f=o(73948),m=A(o(67439)),y=o(81504),g=D(o(10787)),b=D(o(63692)),h=o(67808),v=D(o(22546)),S=o(97045),w=o(94220),x=o(64985),M=o(89787),T=o(16526),P=o(69321),C=o(66559),k=o(48499),_=A(o(59638)),O=D(o(79047)),E=A(o(96133)),z=A(o(99222)),B=A(o(13724)),j=o(50688),N=A(o(80131)),I=A(o(53560)),L=A(o(72705));function D(e){return e&&e.__esModule?e:{default:e}}function F(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(F=function(e){return e?o:t})(e)}function A(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=F(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const R=h.SectionPopup2Instances;class W extends b.default{static get componentId(){return"SectionPopup2"}static defaultProps={meta:{},onOpen:()=>{},onClose:()=>{}};static defaultValue=O.default;static experimentalDynamicContent=!0;static tmpGlobal=null;collapsibleToolbarRef=i.default.createRef();constructor(...e){super(...e),this.instanceKey=this.props.instanceKey||this.getId();{const e=this.props.isOpened||W.tmpGlobal===this.getId();this.state={isOpened:e},e&&document.documentElement.classList.add("brz-ow-hidden"),W.tmpGlobal=null,this.popupsContainer=document.getElementById("brz-popups"),this.el=document.createElement("div")}}componentDidMount(){this.popupsContainer.appendChild(this.el),h.SectionPopup2Instances.set(this.instanceKey,this)}shouldComponentUpdate(e,t){return this.state.isOpened!==t.isOpened||this.optionalSCU(e)}componentWillUnmount(){this.popupsContainer.removeChild(this.el),this.popupsContainer=null,this.el=null,document.documentElement.classList.remove("brz-ow-hidden"),h.SectionPopup2Instances.delete(this.instanceKey)}handleValueChange(e,t){super.handleValueChange(e,Object.assign(t,{SectionPopup2:{dbId:this.getDBValue()._id,domId:this.getId()}}))}handleDropClick=()=>{this.close()};handleToolbarEscape=()=>{this.collapsibleToolbarRef.current.open()};getMeta(e){const{meta:t}=this.props,o=(t,o)=>(0,P.defaultValueValue)({v:e,device:o,key:t}),r=o("widthSuffix",C.DESKTOP),i=o("widthSuffix",C.TABLET),n=o("widthSuffix",C.MOBILE),a=o("width",C.DESKTOP),l=o("width",C.TABLET),s=o("width",C.MOBILE),{w:c,wNoSpacing:d}=(0,M.getContainerW)({v:e,w:"px"===r?a:y.wInFullPage,wNoSpacing:"px"===r?a:y.wInFullPage,width:"px"===r?100:a,device:"desktop"}),{w:u,wNoSpacing:p}=(0,M.getContainerW)({v:e,w:"px"===i?l:y.wInTabletPage,wNoSpacing:"px"===i?l:y.wInTabletPage,width:"px"===i?100:l,device:"tablet"}),{w:f,wNoSpacing:m}=(0,M.getContainerW)({v:e,w:"px"===n?s:y.wInMobilePage,wNoSpacing:"px"===n?s:y.wInMobilePage,width:"px"===n?100:s,device:"mobile"});return{...t,desktopW:c,desktopWNoSpacing:d,tabletW:u,tabletWNoSpacing:p,mobileW:f,mobileWNoSpacing:m,sectionPopup2:!0}}renderToolbar(){const{globalBlockId:e}=this.props.meta;return i.default.createElement(m.CollapsibleToolbar,{...this.makeToolbarPropsFromConfig2(N,E,{allowExtend:!1,allowExtendFromThirdParty:!0}),ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft",global:!!e})}renderItems(e,t,o){const n=this.getMeta(e),{containerClassName:l,showCloseButtonAfter:c,closeCustomClassName:d,closeCustomAttributes:u,closeCustomCSS:y,closeCustomID:b,cssIDPopulation:h}=e,S=_.mRead(b)||void 0,x=v.default.getAll(),M=!0===(x.ui?.popupSettings??{}).embedded,P=(0,T.isPopup)(x),C=!P,O=(0,r.default)("brz-popup2__close",!1,d),E=(0,r.default)("brz-popup2__inner","brz-d-xs-flex","brz-flex-xs-wrap",(0,w.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,j.styleInner)(e,t,o))),N=(0,r.default)("brz-container",l),D=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{toolbarExtend:this.makeToolbarPropsFromConfig2(L,B,{allowExtend:!1}),meta:n}}),F={...(0,k.parseCustomAttributes)(u),id:h??S,className:O};return i.default.createElement(a.default,{value:e,meta:n},i.default.createElement("div",{className:E},i.default.createElement(p.SortableZIndex,{zIndex:1},i.default.createElement("div",{className:"brz-container__wrap"},(P&&!M||C)&&i.default.createElement(m.default,this.makeToolbarPropsFromConfig2(I,z,{allowExtend:!1}),i.default.createElement(s.default,{selectorName:`${this.getId()}--close`,css:y},i.default.createElement("div",F,i.default.createElement(f.ThemeIcon,{name:"close-popup",type:"editor"})))),i.default.createElement("div",{className:N},i.default.createElement(g.default,D))))))}renderForEdit(e,t,o){if(!this.state.isOpened)return null;const{className:a,customClassName:p,customAttributes:f,columnsHeightStyle:y,customCSS:g}=e,b=this.getId(),h=v.default.getAll(),S=(0,T.isPopup)(h),M=(0,r.default)("brz-popup2","brz-popup2__editor",`brz-popup2__${y}`,"brz-popup2--fixed",{"brz-popup2--opened":this.state.isOpened},a,p,(0,w.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,j.style)(e,t,o)));let P=i.default.createElement(l.default,{type:"popup2",hiddenInResponsive:!0,activateOnContentClick:!1},(r=>{let{ref:n,attr:a}=r;return i.default.createElement(s.default,{selectorName:b,css:g},i.default.createElement("div",{id:b,className:M,"data-block-id":this.props.blockId,ref:n,...(0,k.parseCustomAttributes)(f),...a},!S&&i.default.createElement("button",{className:"brz-button brz-popup2__button-go-to-editor",onClick:this.handleDropClick},i.default.createElement(c.default,{icon:"nc-arrow-left",className:"brz-popup2__icon-go-to-editor"}),(0,x.t)("Go Back")),i.default.createElement(u.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},this.renderToolbar(),i.default.createElement(m.ToolbarExtend,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o)))))}));return S||(P=i.default.createElement(d.default,{keyNames:["esc"],id:"key-helper-prompt-esc",onKeyUp:this.handleDropClick},P)),n.default.createPortal(P,this.el)}renderForView(e,t,o){const{className:n,customClassName:a,customAttributes:l,columnsHeightStyle:c,scrollPage:d,clickOutsideToClose:u,showCloseButtonAfter:p,customCSS:f}=e,m=v.default.getAll(),y=(0,S.triggersSelector)(this.getReduxState()),g=(0,T.isPopup)(m),b=(0,T.isInternalPopup)(m),h=(0,T.isExternalPopup)(m),x=!g,M=m.ui?.popupSettings??{},P=M.embedded,C=M.scrollPageBehind,_=M.clickOutsideToClose;let O={};if(g){const e=["scrolling","showing","devices","referrer","loggedIn","currentUrl","currentDate","lastVisitDate","timeFrom","cookie","os","otherPopups","specificPopup"],t=e=>encodeURIComponent(JSON.stringify(e)),o=e=>JSON.parse(decodeURIComponent(e)),r=e=>e.replace(/([A-Z])/g,(e=>`_${e.toLowerCase()}`));O=y.reduce(((i,n)=>{if(n.active){const a=`data-${r(n.id)}`;e.includes(n.id)?i[a]=i[a]?t([...o(i[a]),n.value]):t([n.value]):i[a]=n.value}return i}),{})}"on"===d&&!0===C&&(O["data-scroll_page"]="true"),"on"===u&&!0===_&&(O["data-click_outside_to_close"]="true"),!0===P&&(O["data-brz-embedded"]="true"),p&&(O["data-show-close-button-after"]=p);const E=(0,r.default)("brz-popup2","brz-popup2__preview",`brz-popup2__${c}`,{"brz-popup2--static":g&&P,"brz-popup2--fixed":!P&&g||x,"brz-simple-popup":x,"brz-conditions-popup":g,"brz-conditions-internal-popup":b,"brz-conditions-external-popup":h},n,a,(0,w.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,j.style)(e,t,o)));return i.default.createElement(s.default,{selectorName:this.getId(),css:f},i.default.createElement("div",{className:E,id:this.instanceKey,"data-brz-popup":this.instanceKey,...O,...(0,k.parseCustomAttributes)(l)},this.renderItems(e,t,o)))}open(){document.documentElement.classList.add("brz-ow-hidden"),this.props.onOpen(),this.setState({isOpened:!0})}close(){document.documentElement.classList.remove("brz-ow-hidden"),this.props.onClose(),this.setState({isOpened:!1})}}const H=W},67808:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SectionPopup2Instances",{enumerable:!0,get:function(){return o}});let o=new Map},96133:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Popup");function i(){return[]}},99222:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return c},getItems:function(){return u}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81263),a=o(64985),l=o(16526),s=o(68256),c=(0,a.t)("Popup Close Icon"),d='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function u(e){let{context:t}=e;const o=(0,l.isStory)(r.default.getAll()),i=(0,s.getDynamicContentOption)({options:t.dynamicContent.config,type:n.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,a.t)("Styling"),label:(0,a.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",options:[{id:"cssID",label:(0,a.t)("CSS ID"),type:"population-dev",position:30,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:i,option:{id:"closeCustomID",type:"inputText-dev"}},{id:"cssClass",label:(0,a.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:i,option:{id:"closeCustomClassName",type:"inputText-dev"}},{id:"closeCustomAttributes",label:(0,a.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:i},{id:"closeCustomCSS",label:(0,a.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:d},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,a.t)("Hover Transition"),disabled:o,devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},13724:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"zIndex",type:"slider-dev",disabled:!0},{id:"showOnDesktop",type:"switch-dev",disabled:!0}]}]}]}]}]}},50688:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return i},styleInner:function(){return n}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleFlexHorizontalAlign","cssStyleFlexVerticalAlign"]},".brz &&:hover > .brz-container__wrap":{standart:["cssStyleSizeWidth","cssStyleContainerPopup2CustomHeight"]},".brz && > .brz-container__wrap .brz-popup2__close:hover":{standart:["cssStyleContainerPopup2CloseState","cssStyleContainerPopup2ClosePosition","cssStyleContainerPopup2CloseColor"],interval:["cssStyleHoverTransition"]},".brz && > .brz-container__wrap .brz-popup2__close:hover .brz-icon-svg":{standart:["cssStyleContainerPopup2CloseFontSize","cssStyleContainerPopup2CloseBgSize","cssStyleContainerPopup2CloseBgColor","cssStyleContainerPopup2CloseBorderRadius","cssStyleBoxShadow"]},".brz &&:hover .brz-container > .brz-row__container":{standart:["cssStyleRowMinHeight","cssStyleContainerPopup2RowFlexVerticalAlign"]}}})}},80131:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81263),a=o(62762),l=o(81405),s=o(64985),c=o(16526),d=o(69321),u=o(68256),p=o(57582),f=e=>{let{v:t,device:o,component:i,context:f}=e;const m=e=>(0,d.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),y=m("widthSuffix"),g=m("columnsHeightStyle"),{hex:b}=(0,u.getOptionColorHexByPalette)(m("bgColorHex"),m("bgColorPalette")),h=(0,u.getDynamicContentOption)({options:f.dynamicContent.config,type:n.DCTypes.image}),v=r.default.getAll(),S=v.ui?.popupSettings??{},w=(0,c.isPopup)(v),x=S.displayCondition,M=S.deletePopup,T=!0===S.embedded,P=!0===S.horizontalAlign,C=!0===S.verticalAlign,k=!0===S.scrollPageBehind,_=!0===S.clickOutsideToClose,O=w?"externalPopup":"popup",E="custom"===g?[{title:(0,s.t)("Auto"),value:"auto"},{title:(0,s.t)("Height"),value:"custom"},{title:(0,s.t)("Custom"),value:"custom2"},{title:(0,s.t)("Full Height"),value:"fullHeight"}]:[{title:(0,s.t)("Auto"),value:"auto"},{title:(0,s.t)("Custom"),value:"custom2"},{title:(0,s.t)("Full Height"),value:"fullHeight"}];return[{id:"toolbarPopup",type:"popover-dev",config:{icon:"nc-popup",title:"Popup"},position:70,devices:"desktop",disabled:w&&T,options:[{id:"tabsPopup",type:"tabs-dev",tabs:[{id:"tabPopup",label:(0,s.t)("Popup"),options:[{id:"makeItGlobal",label:(0,s.t)("Make it Global"),type:"globalBlock-dev",devices:"desktop",disabled:(0,a.isCloud)(v)&&(0,a.isShopify)(v),config:{_id:i.getId(),parentId:(0,p.getInstanceParentId)(i.props.instanceKey,O),blockType:O}},{id:"scrollPage",label:(0,s.t)("Scroll Page Behind"),type:"switch-dev",disabled:!k,position:100},{id:"popupConditions",type:"popupConditions",disabled:!x,position:150}]},{id:"tabClose",label:(0,s.t)("Close"),options:[{id:"clickOutsideToClose",label:(0,s.t)("Click Outside to Close"),type:"switch-dev",disabled:!_},{id:"groupShowCloseButton",type:"group-dev",options:[{id:"showCloseButton",label:(0,s.t)("Display Close Button"),type:"switch-dev"},{id:"showCloseButtonAfter",label:(0,s.t)("Delay"),type:"slider-dev",disabled:"on"!==m("showCloseButton"),config:{min:0,max:10,units:[{title:"s",value:"s"}]}}]}]}]}]},{id:"toolbarMedia",type:"popover-dev",config:{icon:"nc-background",title:(0,s.t)("Background")},position:80,options:[{id:"tabsMedia",type:"tabs-dev",tabs:[{id:"tabMedia",label:(0,s.t)("Image"),options:[{label:(0,s.t)("Image"),id:"bg",type:"imageUpload-dev",population:h}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,s.t)("Colors"),icon:{style:{backgroundColor:(0,l.hexToRgba)(b,m("bgColorOpacity"))}}},position:90,options:[{id:"",type:"backgroundColor-dev"}]},{id:"makeItSaved",type:"savedBlock-dev",devices:"desktop",position:90,config:{icon:"nc-save-section",blockType:"popup",title:(0,s.t)("Save"),tooltipContent:(0,s.t)("Saved"),blockId:i.getId()}},{id:"horizontalAlign",type:"toggle-dev",disabled:!P,position:90,choices:[{icon:"nc-hrz-align-left",title:(0,s.t)("Align"),value:"left"},{icon:"nc-hrz-align-center",title:(0,s.t)("Align"),value:"center"},{icon:"nc-hrz-align-right",title:(0,s.t)("Align"),value:"right"}]},{id:"verticalAlign",type:"toggle-dev",disabled:"fullHeight"===g||!C,position:100,choices:[{icon:"nc-ver-align-top",title:(0,s.t)("Align"),value:"top"},{icon:"nc-ver-align-middle",title:(0,s.t)("Align"),value:"center"},{icon:"nc-ver-align-bottom",title:(0,s.t)("Align"),value:"bottom"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,s.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,s.t)("Width"),type:"slider-dev",position:100,config:{min:"px"===y?200:20,max:"px"===y?1170:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},{id:"groupHeight",type:"group-dev",position:100,options:[{id:"columnsHeightStyle",label:(0,s.t)("Height"),type:"select-dev",choices:E},{id:"columnsHeight",type:"slider-dev",disabled:!("custom"===g||"custom2"===g),config:{min:20,max:"px"===m("columnsHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"vh"}]}}]},{id:"popupRowVerticalAlign",label:(0,s.t)("Content"),type:"radioGroup-dev",devices:"desktop",disabled:"auto"===m("columnsHeightStyle"),position:110,choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,s.t)("Styling"),icon:"nc-cog",align:"left"}}]},{id:"remove",type:"button",disabled:!M,title:(0,s.t)("Delete"),icon:"nc-trash",position:250,onChange:()=>{i.handleDropClick()}}]}},53560:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("closeColorHex"),s("closeColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-star",title:(0,i.t)("Icon")},position:70,options:[{id:"toolbarCurrentElementTabs",type:"tabs-dev",tabs:[{id:"toolbarCurrentElementTabClose",label:(0,i.t)("Icon"),options:[{id:"closeHorizontalPosition",label:(0,i.t)("Lateral"),type:"slider-dev",config:{min:-50,max:50,units:[{title:"px",value:"px"}]}},{id:"closeVerticalPosition",label:(0,i.t)("Vertical"),type:"slider-dev",config:{min:-50,max:50,units:[{title:"px",value:"px"}]}},{id:"groupCloseSize",type:"group-dev",options:[{id:"closeSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"closeCustomSize",type:"slider-dev",disabled:"custom"!==s("closeSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]}]},{id:"toolbarCurrentElementTabBackground",label:(0,i.t)("Background"),options:[{id:"closeBgSize",label:(0,i.t)("Size"),type:"slider-dev",config:{min:0,max:30,units:[{title:"px",value:"px"}]}},{id:"groupCloseBorderRadiusShape",type:"group-dev",options:[{id:"closeBorderRadiusType",label:(0,i.t)("Corner"),type:"radioGroup-dev",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}]},{id:"closeBorderRadius",type:"slider-dev",disabled:"custom"!==s("closeBorderRadiusType"),config:{min:0,max:50,units:[{title:"px",value:"px"}]}}]}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("closeColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabIcon",label:(0,i.t)("Icon"),options:[{id:"closeColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,i.t)("Background"),options:[{id:"closeBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"closePosition",type:"toggle-dev",position:100,choices:[{icon:"nc-position-in",value:"inside",title:""},{icon:"nc-position-out",value:"outside",title:""}]},{id:"closeAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-align-top-left",value:"topLeft",title:""},{icon:"nc-align-top-right",value:"topRight",title:""},{icon:"nc-align-bottom-right",value:"bottomRight",title:""},{icon:"nc-align-bottom-left",value:"bottomLeft",title:""}]},{id:"advancedSettings",type:"advancedSettings",roles:["admin"],position:110,icon:"nc-cog",devices:"desktop",title:(0,i.t)("Settings")}]}},72705:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(57582);function i(){return[(0,r.toolbarDisabledShowOnMobile)({}),(0,r.toolbarDisabledShowOnTablet)({})]}},6965:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=y(o(27378)),i=y(o(60042)),n=y(o(63692)),a=y(o(36275)),l=y(o(31440)),s=y(o(67439)),c=b(o(11828)),d=b(o(99603)),u=o(899),p=o(94220),f=y(o(10483)),m=o(86022);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const h=["topLeft","topCenter","topRight","centerLeft","centerRight","bottomLeft","bottomCenter","bottomRight"];class v extends n.default{static get componentId(){return"Shape"}static defaultValue=f.default;handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const n=(0,i.default)("brz-shape",(0,p.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,u.style)(e,t,o)));return r.default.createElement(s.default,this.makeToolbarPropsFromConfig2(c,d),r.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(m.Wrapper,this.makeWrapperProps({className:n}),r.default.createElement(l.default,{points:h,restrictions:{height:{"%":{min:5,max:1/0}},width:{"%":{min:5,max:100}}},meta:this.props.meta,value:e,onChange:this.handleResizerChange}))))}}const S=v},99603:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Shape"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"}]}]}]}]}]}},899:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz &&:hover:before":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow","cssStyleBgColor","cssStyleBgGradient"],interval:["cssStyleHoverTransition"]},".brz &&:hover:after":{standart:["cssStyleSizeHeightPercentOnly"]}}})}},11828:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(64985),i=o(81405),n=o(68256),a=o(69321);function l(e){let{v:t,device:o}=e;const l=e=>(0,a.defaultValueValue)({v:t,key:e,device:o}),{hex:s}=(0,n.getOptionColorHexByPalette)(l("bgColorHex"),l("bgColorPallete"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(s,l("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,r.t)("Color"),options:[{id:"",type:"backgroundColor-dev"}]},{id:"tabBorder",label:(0,r.t)("Border"),options:[{id:"border",type:"border-dev"}]},{id:"tabBoxShadow",label:(0,r.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev"}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",position:110,icon:"nc-cog"}]}},97557:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AddToCart",{enumerable:!0,get:function(){return S}});const r=b(o(60042)),i=b(o(27378)),n=o(54668),a=b(o(36275)),l=o(73948),s=b(o(67439)),c=b(o(63692)),d=o(94220),u=v(o(63300)),p=o(86022),f=b(o(76458)),m=v(o(87644)),y=o(55398),g=v(o(98550));function b(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class S extends c.default{static get componentId(){return"AddToCart"}static defaultValue=f.default;handleTextChange=e=>this.patchValue(e);renderIcon(e){const{iconName:t,iconType:o}=e;if(t&&o)return i.default.createElement(l.ThemeIcon,{className:"brz-shopify-icon-cart",name:t,type:o})}renderForEdit(e,t,o){const{itemId:l,variantId:c}=e,f=(0,r.default)("brz-shopify-add-to-cart",(0,d.css)(this.getComponentId(),this.getId(),(0,y.style)(e,t,o)));return i.default.createElement(s.default,this.makeToolbarPropsFromConfig2(g,m),i.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(p.Wrapper,{...this.makeWrapperProps({className:f,attributes:{"data-product-handle":l,"data-default-variant-id":u.read(c)??""}}),component:"button"},this.renderIcon(e),i.default.createElement(n.Text,{id:"text",v:e,onChange:this.handleTextChange}),!1)))}}},87644:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner")}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},55398:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBgGradient","cssStyleBoxShadow","cssStyleBorder","cssStyleBorderRadius","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementShopifyAddToCartSize","cssStyleElementButtonIconPosition"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-shopify-icon-cart":{standart:["cssStyleSizeFontSizeIcon","cssStyleElementButtonIconMargin","cssStyleElementButtonIconStrokeWidth"]}}})}},98550:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64187),a=o(81405),l=o(64985),s=o(69321),c=o(68256),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(63300)),u=o(24119);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f=e=>{let{v:t,device:o,state:i}=e;const p=r.default.getAll(),f=e=>(0,s.defaultValueValue)({v:t,key:e,device:o,state:i}),m=f("iconName"),{hex:y}=(0,c.getOptionColorHexByPalette)(f("bgColorHex"),f("bgColorPalette")),g=d.read(f("sourceType"))??"",b=p?.api?.sourceItems?.handler;return[{id:"toolbarCart",type:"popover-dev",position:50,config:{size:"auto",title:(0,l.t)("Products"),icon:"nc-woo-add-to-cart"},devices:"desktop",options:[{id:"groupProduct",type:"group-dev",options:[{id:"itemId",label:(0,l.t)("Product"),type:"select-dev",disabled:!b||""===g,choices:{load:(0,n.getSourceIds)(g,p),emptyLoad:{title:(0,l.t)("There are no choices")}}}]}]},{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-star",title:(0,l.t)("Icon")},position:60,options:[{id:"currentShortcodeTabs",type:"tabs-dev",tabs:[{id:"currentShortcodeIconTab",label:(0,l.t)("Icon"),options:[{id:"icon",label:(0,l.t)("Icon"),type:"iconSetter-dev",config:{canDelete:!0}},{id:"iconPosition",label:(0,l.t)("Position"),type:"radioGroup-dev",disabled:""===m,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"iconCustomSize",label:(0,l.t)("Size"),type:"slider-dev",disabled:""===m,config:{min:1,max:100,units:[{title:"px",value:"px"}]}},{id:"iconSpacing",label:(0,l.t)("Spacing"),type:"slider-dev",disabled:""===m,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(y,f("bgColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"",type:"backgroundColor-dev",devices:"desktop",states:[u.NORMAL,u.HOVER]}]},{id:"buttonColorTab",label:(0,l.t)("Text"),options:[{id:"color",type:"colorPicker-dev",devices:"desktop",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop",states:[u.NORMAL,u.HOVER]}]},{id:"tabShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",devices:"desktop",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},position:110,options:[{id:"width",label:(0,l.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"height",label:(0,l.t)("Height"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",label:(0,l.t)("More Settings"),icon:"nc-cog"}]}]}},79675:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AliExpressReview",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(35868)),c=f(o(35894)),d=f(o(36896));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"AliExpressReview"}static defaultValue=s.default;renderAliExpressWidget(e){switch(e){case"star":return r.default.createElement("div",{"data-pt-type":"RyviuProductReviews"},r.default.createElement("div",{className:"review-widget",dangerouslySetInnerHTML:{__html:""}}));case"widget":return r.default.createElement("div",{"data-pt-type":"RyviuProductReviews"},r.default.createElement("div",{className:"lt-block-reviews",dangerouslySetInnerHTML:{__html:''}}));case"featuredMasonry":return r.default.createElement("div",{"data-pt-type":"RyviuProductReviews",dangerouslySetInnerHTML:{__html:""}});case"featuredCarousel":return r.default.createElement("div",{"data-pt-type":"RyviuProductReviews",dangerouslySetInnerHTML:{__html:""}});case"questionAnswers":return r.default.createElement("div",{"data-pt-type":"QuestionsAndAnswersRyviu"},r.default.createElement("div",{className:"lt-block-reviews",dangerouslySetInnerHTML:{__html:''}}))}}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-aliExpress-review"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{widgetType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-aliExpress-review"}),this.renderAliExpressWidget(t))}}},35894:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},36896:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=e=>{let{v:t}=e;const o=("widgetType",(0,i.defaultValueValue)({v:t,key:"widgetType",device:"desktop",state:"normal"}));return[{id:"toolbarAliExpressReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Widgets")},options:[{id:"widgetType",label:(0,r.t)("Review Type"),type:"select-dev",placeholder:(0,r.t)("Select"),choices:[{title:"Stars",value:"star"},{title:"Widget",value:"widget"},{title:"Masonry",value:"featuredMasonry"},{title:"Carousel",value:"featuredCarousel"},{title:"Q & A",value:"questionAnswers"}],helper:{content:"questionAnswers"===o?(0,r.t)("You can add only 1 element on page"):""}}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},6758:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AliReviews",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(70013)),c=f(o(4971)),d=f(o(23320));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"AliReviews"}static defaultValue=s.default;renderAliWidget(e,t){const{productSource:o}=t;switch(e){case"prodRatingStar":return r.default.createElement("div",{"data-pf-type":"AliReviews"},r.default.createElement("div",{"product-id":"{{ product.id }}",className:"alr-display-review-badge"}),r.default.createElement("div",{style:{display:"none"},id:"shopify-ali-review","product-id":"{{ product.id }}"},"{{ shop.metafields.review_collector.review_code }}"));case"collRatingStar":return r.default.createElement("div",{"data-pf-type":"AliReviews"},r.default.createElement("div",{"product-id":o,className:`arv-collection arv-collection--${o}`}));case"reviewBox":return r.default.createElement("div",{"data-pf-type":"AliReviews"},r.default.createElement("div",{"pf-ar-element":"ali-review-box","pf-widget-id":"182499"},"{% include 'alireviews-widget-182499' %}"));case"carousel":return r.default.createElement("div",{"data-pf-type":"AliReviews"},r.default.createElement("div",{"pf-ar-element":"ali-carousel-slider"},"{% include 'alireviews-widget-undefined' %}"))}}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-reviews-ali"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-reviews-ali"}),this.renderAliWidget(t,e))}}},4971:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},23320:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=e=>{let{v:t}=e;const o=("reviewType",(0,i.defaultValueValue)({v:t,key:"reviewType",device:"desktop",state:"normal"}));return[{id:"toolbarAliReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Reviews")},options:[{id:"reviewType",label:(0,r.t)("Review Type"),type:"select-dev",config:{size:"large"},choices:[{title:"Product Rating Star",value:"prodRatingStar"},{title:"Collection Rating Star",value:"collRatingStar"},{title:"Review Box",value:"reviewBox"},{title:"Carousel Slider",value:"carousel"}]},{id:"productSource",label:(0,r.t)("Custom Product"),type:"select-dev",placeholder:(0,r.t)("No product selected"),disabled:"collRatingStar"!==o,choices:[{title:"112222",value:"112233"}]},{id:"widgetType",label:(0,r.t)("Widget List"),type:"select-dev",disabled:"carousel"!==o,choices:[{title:"No Data",value:"no_data"}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},68029:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AppstleSubscription",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(23406)),c=p(o(23080));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"AppstleSubscription"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-appstle-subscription"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-appstle-subscription"}),r.default.createElement("span",{className:"appstle_stand_alone_selector","data-product-data":"{{ product | json | escape }}","data-pf-type":"AppstleSubs"}))}}},23406:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},23080:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},11279:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AreviewReviews",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(7201)),c=f(o(48317)),d=f(o(14174));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"AreviewReviews"}static defaultValue=s.default;renderAreviewWidget(e){switch(e){case"carousel":return r.default.createElement("div",{id:"az_reviews_slider"});case"badge":return r.default.createElement("div",{id:"az_budge_reviews"});case"productRating":return r.default.createElement("div",{className:"areviews_header_stars"});case"productReviews":return r.default.createElement("div",{id:"Areviewsapp",className:"page-full"},"{% include 'aliexpress_reviews' %}");case"collectionRating":return r.default.createElement("div",{className:"areviews_product_item areviews_stars{{ product.id }}","data-product-id":"{{ product.id }}"})}}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-areview-reviews"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-areview-reviews"}),r.default.createElement("div",{"data-pf-type":"AReview"},this.renderAreviewWidget(t)))}}},48317:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},14174:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=e=>{let{v:t}=e;const o=("reviewType",(0,i.defaultValueValue)({v:t,key:"reviewType",device:"desktop",state:"normal"}));return[{id:"toolbarAreviewReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Reviews")},options:[{id:"reviewType",label:(0,r.t)("Review Type"),type:"select-dev",choices:[{title:"Carousel",value:"carousel"},{title:"Badge",value:"badge"},{title:"Product Rating",value:"productRating"},{title:"Product",value:"productReviews"},{title:"Collection Rating",value:"collectionRating"}],helper:{content:"collectionRating"===o?(0,r.t)("Collection Rating will work only if inserted in Product Details component"):""}}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},80573:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AutomizelyOrderTracking",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=(o(81405),o(86022)),s=u(o(46023)),c=f(o(38807)),d=f(o(21123));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"AutomizelyOrderTracking"}static defaultValue=s.default;renderForEdit(e){const{lookupOption:t,buttonText:o,domain:a,size:s,buttonColorHex:u,buttonColorOpacity:p,textColorHex:f,textColorOpacity:m,hideIcon:y}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-automizely-order-tracking"}),r.default.createElement(i.default,{icon:"img"})))}}},38807:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},21123:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=e=>{let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s=l("buttonColorOpacity"),c=l("titleColorOpacity"),{hex:d}=(0,a.getOptionColorHexByPalette)(l("buttonColorHex"),l("buttonColorPalette")),{hex:u}=(0,a.getOptionColorHexByPalette)(l("textColorHex"),l("textColorPalette"));return[{id:"toolbarAutomizelyOT",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Content"),icon:"nc-shopify-logo"},devices:"desktop",position:10,options:[{id:"lookupOption",label:(0,i.t)("Lookup Options"),type:"select-dev",choices:[{title:"Tracking Number",value:"tracking-number"},{title:"Order Number & Email",value:"order-number-and-email"},{title:"Both",value:"both"}]},{id:"buttonText",label:(0,i.t)("Button text"),type:"inputText-dev"},{id:"domain",label:(0,i.t)("Tracking Page URL"),type:"inputText-dev",helper:{content:(0,i.t)("Get your tracking page URL in the Tracking pages section of AfterShip application.")}},{id:"hideIcon",label:(0,i.t)("Hide Aftership Icon"),type:"switch-dev"},{id:"size",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:s>0?(0,r.hexToRgba)(d,s):(0,r.hexToRgba)(u,c)}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabButton",label:(0,i.t)("Button"),options:[{id:"buttonColor",type:"colorPicker-dev"}]},{id:"tabText",label:(0,i.t)("Text"),options:[{id:"textColor",type:"colorPicker-dev"}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,i.t)("More Settings"),position:110,icon:"nc-cog",title:(0,i.t)("Settings")}]}},5294:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BISStock",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(30973)),c=f(o(80522)),d=f(o(52802));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"BISStock"}static defaultValue=s.default;renderForEdit(e){const{buttonName:t}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-bis-stock"}),r.default.createElement(i.default,{icon:"img"})))}}},80522:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},52802:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarBISStock",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Name")},options:[{id:"buttonName",label:(0,r.t)("Button Name"),type:"inputText-dev"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},56186:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BoldBundles",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(41481)),c=p(o(16507));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"BoldBundles"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-bold-bundle"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-bold-bundle"}),r.default.createElement("div",{"data-pf-type":"BoldBundles"},'{% render "shappify-bdl-load-bundle", product: product %}'))}}},41481:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},16507:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},10104:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BoldProduct",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(96526)),c=p(o(45195));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"BoldProduct"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-bold-options"}),r.default.createElement(i.default,{icon:"img"})))}}},96526:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},45195:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},43843:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BoldSubscription",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(28608)),c=p(o(56952));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"BoldSubscription"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-bold-subscription"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-bold-subscription"}),r.default.createElement("div",{"data-pf-type":"BoldSubs"},r.default.createElement("div",null,"{% render 'bsub-widget', product: product %}")))}}},28608:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},56952:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},33805:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PickyStory",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(15855)),c=f(o(61785)),d=f(o(47982));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"PickyStory"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-picky-story"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{widgetType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-picky-story"}),r.default.createElement("div",{"data-pt-type":"PickyStory"},r.default.createElement("div",{className:`pagefly-picky-${t}`})))}}},61785:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},47982:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarBundlesApp",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Widgets")},options:[{id:"widgetType",label:(0,r.t)("Widget Type"),type:"select-dev",placeholder:(0,r.t)("Select"),choices:[{title:"Combo Product",value:"combo"},{title:"Bundles",value:"bundle"},{title:"Bundle Builders",value:"builder"},{title:"Kits",value:"kit"},{title:"Buy The Looks",value:"buy-the-look"}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},25154:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CrossSell",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(21511)),c=p(o(74419));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"CrossSell"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-cross-sell"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-cross-sell"}),r.default.createElement("div",{"data-pf-type":"CrossSell"},'{% include "cross-sell" %}'))}}},21511:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},74419:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},16217:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EmailMarketing",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(38345)),c=f(o(87181)),d=f(o(66043));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"EmailMarketing"}static defaultValue=s.default;renderCMWidget(e,t){switch(e){case"recent":case"summary":case"tab":case"badge":return r.default.createElement("div",{"data-pf-type":"CMCommerce",dangerouslySetInnerHTML:{__html:t}})}}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-email-marketing"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{widgetType:t,embededCode:o}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-email-marketing"}),this.renderCMWidget(t,o))}}},87181:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},66043:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=e=>{let{v:t}=e;const o=("widgetType",(0,i.defaultValueValue)({v:t,key:"widgetType",device:"desktop",state:"normal"}));return[{id:"toolbarEmailMarketing",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Widgets")},options:[{id:"groupOptions",type:"group-dev",options:[{id:"widgetType",label:(0,r.t)("Widget"),type:"select-dev",placeholder:(0,r.t)("Select..."),choices:[{title:"Recent",value:"recent"},{title:"Summary",value:"summary"},{title:"Tab",value:"tab"},{title:"Badge",value:"badge"}]},{id:"embededCode",label:(0,r.t)("Code"),type:"inputText-dev",placeholder:"
{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FastSimonUpsell",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(64538)),c=f(o(80692)),d=f(o(70458));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"FastSimonUpsell"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-fast-simon-upsell"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{embededCode:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-fast-simon-upsell"}),r.default.createElement("div",{"data-pf-type":"FastSimonUpsell",dangerouslySetInnerHTML:{__html:t}}))}}},80692:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},70458:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarFastSimonUpsell",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Upsell")},options:[{id:"embededCode",label:(0,r.t)("Embeded Code"),type:"inputText-dev",placeholder:"
{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FeraReviews",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(96249)),c=f(o(56383)),d=f(o(39779));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"FeraReviews"}static defaultValue=s.default;renderFeraWidget(e,t){switch(e){case"product":case"testimonial":case"allReviews":case"averageRating":case"avgStoreRating":case"banner":case"ppMedia":case"inStoreMedia":case"ppCounter":case"cpCounter":case"ppEventFeed":case"generalEventFeed":case"eventPopups":return r.default.createElement("div",{"data-pf-type":"Fera",dangerouslySetInnerHTML:{__html:t}})}}renderForEdit(e){const{reviewType:t,htmlTag:o}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-fera-reviews"}),r.default.createElement(i.default,{icon:"img"})))}}},56383:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},39779:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarFeraReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Reviews")},options:[{id:"reviewType",type:"select-dev",label:(0,r.t)("Reviews Type"),choices:[{title:"Product",value:"product"},{title:"Testimonial Carousel",value:"testimonial"},{title:"All Reviews",value:"allReviews"},{title:"Average Rating",value:"averageRating"},{title:"Avg. Store Rating",value:"avgStoreRating"},{title:"Logo Showcase Banner",value:"banner"},{title:"Product Page Media",value:"ppMedia"},{title:"In Store Media",value:"inStoreMedia"},{title:"Product Page Counter",value:"ppCounter"},{title:"Collection Page Counter",value:"cpCounter"},{title:"Product Page Event Feed",value:"ppEventFeed"},{title:"General Event Feed",value:"generalEventFeed"},{title:"Event Popups",value:"eventPopups"}]},{id:"htmlTag",label:(0,r.t)("HTML Tag"),type:"inputText-dev",placeholder:"
{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FrequentlyBought",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(34680)),c=f(o(554)),d=f(o(69340));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"FrequentlyBought"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-frequently-bought"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-frequently-bought"}),r.default.createElement("div",{"data-pf-type":"FrequentlyBought"}))}}},554:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},69340:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},39969:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GrowaveWishlist",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(95703)),c=p(o(54576));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"GrowaveWishlist"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-growave-wishlist"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-growave-wishlist"}),r.default.createElement("div",{"data-pf-type":"GrowaveWishlist"},"{% capture the_snippet_fave %}{% include 'socialshopwave-widget-fave' %}{% endcapture %}{% unless the_snippet_fave contains 'Liquid error' %}{{ the_snippet_fave }}{% endunless %}"))}}},95703:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},54576:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},55038:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeroWishList",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(29894)),c=p(o(13610));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"HeroWishList"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-hero-wishlist"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-hero-wishlist"}),r.default.createElement("div",{"data-pf-type":"HeroWishlist"},"{% render 'wishlisthero-custom-button.liquid' %}"))}}},29894:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},13610:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},71470:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HextomBadges",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(58749)),c=f(o(70778)),d=f(o(96937));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"HextomBadges"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-hextom-badge"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{badgeSeal:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-hextom-badge"}),r.default.createElement("div",{className:t,"data-pf-type":"HextomSalesBoost"}))}}},70778:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},96937:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarHextomReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Seals")},options:[{id:"badgeSeal",label:(0,r.t)("Seal Type"),type:"select-dev",placeholder:(0,r.t)("Select Seal"),choices:[{title:"Seal",value:"htusb-placeholder-trust"},{title:"Advanced Seal",value:"htusb-placeholder-trust-advanced"}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},8071:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HulkOptions",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(67542)),c=f(o(55513)),d=f(o(79290));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"HulkOptions"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-hulk-options"}),r.default.createElement(i.default,{icon:"img"})))}}},55513:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},79290:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},88006:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InfiniteOptions",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(84107)),c=f(o(63310)),d=f(o(90117));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"InfiniteOptions"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-infite-options"}),r.default.createElement(i.default,{icon:"img"})))}}},63310:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},90117:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},74723:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"KiwiChart",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(67284)),c=f(o(93849)),d=f(o(1007));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"KiwiChart"}static defaultValue=s.default;renderForEdit(e){const{displayMode:t}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-kiwi-chart"}),r.default.createElement(i.default,{icon:"img"})))}}},93849:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},1007:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarKiwiChart",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Information")},options:[{id:"displayMode",label:(0,r.t)("Display Mode"),type:"select-dev",choices:[{title:"Link Modal",value:"1"},{title:"Button Modal",value:"2"},{title:"Inline",value:"0"}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},10326:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"KlavyioMarketing",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(80610)),c=f(o(97243)),d=f(o(63444));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"KlavyioMarketing"}static defaultValue=s.default;renderForEdit(e){const{formID:t}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-klavyio-marketing"}),r.default.createElement(i.default,{icon:"img"})))}}},97243:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},63444:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarKlavyioMarketing",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Marketing")},options:[{id:"formID",type:"inputText-dev",label:(0,r.t)("Embed Form Id"),placeholder:"Enter form code"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},98495:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LaiReviews",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(40343)),c=f(o(92721)),d=f(o(26367));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"LaiReviews"}static defaultValue=s.default;renderLaiWidget(e){switch(e){case"star":return r.default.createElement("div",{className:"scm-reviews-rate","data-rate-version2":"{{ product.metafields.scm_review_importer.reviewsData.reviewCountInfo | json }}","data-product-id":"{{ product.id }}"});case"widget":return r.default.createElement(r.default.Fragment,null,'{% render "reviews-importer",product : product %}',r.default.createElement("div",{className:"scm-container custom",style:{display:"none"}},r.default.createElement("div",{id:"scm-reviews-importer",className:"scm-reviews-importer"},r.default.createElement("iframe",{id:"scm-reviews-importer-iframe",width:"100%",title:"reviews"}))));case"homePageReview":return r.default.createElement(r.default.Fragment,null,'{% render "lai-home-page" %}');case"showcase":return r.default.createElement(r.default.Fragment,null,'{% render "reviews-happy-page" %}')}}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-lai-reviews"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{widgetType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-lai-reviews"}),r.default.createElement("div",{"data-pf-type":"LaiReviews"},this.renderLaiWidget(t)))}}},92721:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},26367:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=e=>{let{v:t}=e;const o=("widgetType",(0,i.defaultValueValue)({v:t,key:"widgetType",device:"desktop",state:"normal"}));return[{id:"toolbarLAIReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Reviews")},options:[{id:"widgetType",label:(0,r.t)("Review Type"),type:"select-dev",choices:[{title:(0,r.t)("Star"),value:"star"},{title:(0,r.t)("Widget"),value:"widget"},{title:(0,r.t)("Homepage"),value:"homePageReview"},{title:(0,r.t)("Showcase"),value:"showcase"}],helper:{content:"star"!==o?(0,r.t)("Use only one widget per page like Widget, HomePage Review, Showcase Review"):""}}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},48898:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LimeSpot",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),i=p(o(53125)),n=p(o(67439)),a=p(o(63692)),l=o(6085),s=o(86022),c=p(o(70598)),d=m(o(10331)),u=m(o(35210));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"LimeSpot"}static defaultValue=c.default;renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-limespot-upsell"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{upsellType:t}=e;return r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-limespot-upsell"}),r.default.createElement("div",{"data-pf-type":"LimeSpot"},r.default.createElement("div",{id:`pf_limespot_${(0,l.capitalize)(t)}`})))}}},10331:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},35210:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=e=>{let{v:t}=e;const o=("upsellType",(0,i.defaultValueValue)({v:t,key:"upsellType",device:"desktop",state:"normal"}));return[{id:"toolbarLimeSpot",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Upsells")},options:[{id:"upsellType",label:(0,r.t)("Upsell"),type:"select-dev",placeholder:(0,r.t)("Select"),choices:[{title:"Most Popular",value:"popular"},{title:"You May Like",value:"youMayLike"},{title:"Recently Viewed",value:"recentViews"},{title:"Trending",value:"trending"},{title:"Cross-Sell",value:"crossSell"},{title:"Bought Together",value:"boughtTogether"},{title:"Related Items",value:"related"},{title:"New Arrivals",value:"newArrival"},{title:"Featured Collection 1",value:"featuredCollection1"},{title:"Featured Collection 2",value:"featuredCollection2"},{title:"Featured Collection 3",value:"featuredCollection3"},{title:"Featured Collection 4",value:"featuredCollection4"}],helper:{content:""!==o?(0,r.t)("Insert only one of each type of upsell on your page!"):""}}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},43512:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LooxReview",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(59116)),c=f(o(77653)),d=f(o(42786));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"LooxReview"}static defaultValue=s.default;displayLooxWidget(e,t){const{productID:o,reviewLimit:i,withImage:n}=t,a={"data-limit":`${i}`};switch("on"===n&&(a["data-mode"]="img"),e){case"gallery":return r.default.createElement("div",{id:"looxReviews","data-loox-aggregate":"true",...a},"gallery + allProductReviews");case"custom":return r.default.createElement("div",{id:"looxReviews","data-product-id":o,...a});case"star":return r.default.createElement("div",{className:"loox-rating","data-fetch":"true","data-id":o})}}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-loox-review"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-loox-review"}),this.displayLooxWidget(t,e))}}},77653:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},42786:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=e=>{let{v:t}=e;const o=("reviewType",(0,i.defaultValueValue)({v:t,key:"reviewType",device:"desktop",state:"normal"}));return[{id:"toolbarLooxReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Reviews")},options:[{id:"reviewType",label:(0,r.t)("Review Type"),type:"select-dev",choices:[{title:"Gallery",value:"gallery"},{title:"Custom Product",value:"custom"},{title:"Stars",value:"star"}]},{id:"productID",label:(0,r.t)("Product"),type:"select-dev",disabled:"gallery"===o,placeholder:(0,r.t)("Select Product"),choices:[{title:"112233",value:"112233"}]},{id:"reviewLimit",label:(0,r.t)("Reviews Limit"),type:"slider-dev",disabled:"star"===o},{id:"withImage",label:(0,r.t)("Reviews with Photo"),type:"switch-dev",disabled:"star"===o}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},14087:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MarselloMarketing",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(54797)),c=f(o(35760)),d=f(o(41153));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"MarselloMarketing"}static defaultValue=s.default;renderForEdit(e){const{pageLink:t}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-marsello-marketing"}),r.default.createElement(i.default,{icon:"img"})))}}},35760:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},41153:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarMarselloMarketing",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Marketing")},options:[{id:"pageLink",type:"inputText-dev",label:(0,r.t)("Landing Page Link"),placeholder:"https://app..."}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},86814:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OkendoReview",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(47514)),c=f(o(61451)),d=f(o(76171));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"OkendoReview"}static defaultValue=s.default;renderRyviuWidget(e,t){const{showHeader:o,headingText:i,autoPlay:n,imageLinkText:a,slideSize:l,arrowPosition:s,gapSize:c,gapSizeSuffix:d,hideLoadMoreArrow:u,loadMoreOnScoll:p,desktopGridStyle:f,mobileGridStyle:m,linkText:y,badgePosition:g,badgeSize:b,linkToPage:h}=t,v={};switch(e){case"star":return r.default.createElement("div",{"data-pf-type":"Okendo"},r.default.createElement("div",{"data-oke-reviews-product-listing-rating":!0},"{{ product.metafields.okendo.ProductListingSnippet }}"));case"widget":return r.default.createElement("div",{"data-pf-type":"Okendo"},r.default.createElement("div",{className:"okeReviews-widget-holder","data-oke-reviews-widget":!0,"data-oke-reviews-product-id":"shopify-{{ product.id }}"},"{{ product.metafields.okendo.ProductReviewsWidgetSnippet }}"));case"reviewCarousel":return"off"===o?(v["data-oke-hide-header"]="true",v["data-oke-reviews-carousel-heading"]="undefined"):(v["data-oke-hide-header"]="false",v["data-oke-reviews-carousel-heading"]=i),r.default.createElement("div",{"data-pf-type":"Okendo"},r.default.createElement("div",{"data-oke-reviews-carousel":!0,"data-oke-reviews-product-id":"shopify-{{ product.id }}",...v}));case"mediaCarousel":return v["data-oke-reviews-autoplay"]="off"===n?"false":"true",r.default.createElement("div",{"data-oke-media-carousel":!0,"data-oke-reviews-slide-link-text":a,"data-oke-reviews-min-images":"1","data-oke-reviews-slide-size":l,"data-oke-reviews-arrow-position":s,"data-oke-reviews-product-id":"shopify-{{ product.id }}",...v});case"mediaGrid":return v["data-oke-reviews-hide-arrow"]="off"===u?"false":"true",v["data-oke-reviews-load-more-on-scroll"]="off"===p?"false":"true",r.default.createElement("div",{"data-oke-media-grid":!0,"data-oke-reviews-gap-size":`${c.toString()}${d}`,"data-oke-reviews-grid-style":f,"data-oke-reviews-mobile-grid-style":m,"data-oke-reviews-cell-link-text":y,"data-oke-reviews-product-id":"shopify-{{ product.id }}",...v});case"badge":return r.default.createElement("div",{className:`okeReviews--${""===g?"undefined":g}`},r.default.createElement("div",{"data-oke-reviews-badge":!0,"data-oke-reviews-badge-size":b,"data-oke-reviews-badge-link":h}))}}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-okendo-review"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-okendo-review"}),this.renderRyviuWidget(t,e))}}},61451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},76171:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=e=>{let{v:t}=e;const o=e=>(0,i.defaultValueValue)({v:t,key:e,device:"desktop",state:"normal"}),n=o("reviewType"),a=o("showHeader");return[{id:"toolbarOkendoReview",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Reviews"),icon:"nc-shopify-logo"},devices:"desktop",position:10,options:[{id:"reviewType",label:(0,r.t)("Review Type"),type:"select-dev",choices:[{title:"Stars",value:"star"},{title:"Widget",value:"widget"},{title:"Carousel",value:"reviewCarousel"},{title:"Media Carousel",value:"mediaCarousel"},{title:"Media Grid",value:"mediaGrid"},{title:"Badge",value:"badge"}]},{id:"includeQA",label:(0,r.t)("Include Q & A"),type:"switch-dev",disabled:"widget"!==n,helper:{content:(0,r.t)("Works with PRO Plan")}},{id:"showHeader",label:(0,r.t)("Show Heading"),type:"switch-dev",disabled:"reviewCarousel"!==n},{id:"headingText",label:(0,r.t)("Heading Text"),config:{size:"medium"},type:"inputText-dev",disabled:"reviewCarousel"!==n||"on"!==a},{id:"autoPlay",label:"Autoplay",type:"switch-dev",disabled:"mediaCarousel"!==n},{id:"arrowPosition",label:(0,r.t)("Arrow Position"),type:"toggle-dev",disabled:"mediaCarousel"!==n,choices:[{title:(0,r.t)("Inside"),icon:"nc-position-in",value:"inside"},{title:(0,r.t)("Outside"),icon:"nc-position-out",value:"outside"}]},{id:"imageLinkText",label:(0,r.t)("Image Link Text"),type:"inputText-dev",config:{size:"medium"},disabled:"mediaCarousel"!==n,placeholder:(0,r.t)("Enter text here...")},{id:"slideSize",label:(0,r.t)("Slide Size"),type:"select-dev",disabled:"mediaCarousel"!==n,choices:[{title:(0,r.t)("Extra Small"),value:"x-small"},{title:(0,r.t)("Small"),value:"small"},{title:(0,r.t)("Medium"),value:"medium"},{title:(0,r.t)("Large"),value:"large"},{title:(0,r.t)("Extra Large"),value:"x-large"}]},{id:"linkText",label:(0,r.t)("Link Text"),type:"inputText-dev",config:{size:"medium"},disabled:"mediaGrid"!==n,placeholder:(0,r.t)("Enter text here...")},{id:"gapSize",label:(0,r.t)("Gap Size"),type:"slider-dev",disabled:"mediaGrid"!==n,config:{min:0,max:200,step:1,units:[{title:"px",value:"px"}]}},{id:"hideLoadMoreArrow",label:(0,r.t)("Hide Load More Arrow"),type:"switch-dev",disabled:"mediaGrid"!==n},{id:"loadMoreOnScoll",label:(0,r.t)("Load More On Scroll"),type:"switch-dev",disabled:"mediaGrid"!==n},{id:"desktopGridStyle",label:(0,r.t)("Desktop Grid Style"),type:"select-dev",disabled:"mediaGrid"!==n,choices:[{title:(0,r.t)("Default"),value:"default"},{title:(0,r.t)("Large Centered"),value:"large-centred"},{title:(0,r.t)("Extra Large"),value:"x-large"},{title:(0,r.t)("Two Heroes"),value:"two-heroes"}]},{id:"mobileGridStyle",label:(0,r.t)("Mobile Grid Style"),type:"select-dev",disabled:"mediaGrid"!==n,choices:[{title:(0,r.t)("Default"),value:"default-mobile"},{title:(0,r.t)("Alternate Mobile"),value:"alternate-mobile"},{title:(0,r.t)("Extra Large"),value:"hero-three-mobile"}]},{id:"badgePosition",label:(0,r.t)("Badge Position"),type:"radioGroup-dev",disabled:"badge"!==n,choices:[{value:"left",icon:"nc-align-left"},{value:"center",icon:"nc-align-middle"},{value:"right",icon:"nc-align-right"}]},{id:"badgeSize",label:(0,r.t)("Badge Size"),type:"radioGroup-dev",disabled:"badge"!==n,choices:[{value:"large",icon:"nc-large"},{value:"small",icon:"nc-small"}]},{id:"linkToPage",label:(0,r.t)("Link To Page"),type:"inputText-dev",config:{size:"medium"},disabled:"badge"!==n,placeholder:(0,r.t)("Enter text here...")}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},46303:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OmegaTracking",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(79243)),c=p(o(16011));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"OmegaTracking"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-omega-tracking"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-omega-tracking"}),r.default.createElement("div",{"data-pf-type":"OmegaOrderTracking"},r.default.createElement("div",{id:"omega-order-lookup"})))}}},79243:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},16011:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},48424:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OmnisendMarketing",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(4064)),c=f(o(90087)),d=f(o(35879));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"OmnisendMarketing"}static defaultValue=s.default;renderForEdit(e){const{pageLink:t}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-omnisend-marketing"}),r.default.createElement(i.default,{icon:"img"})))}}},90087:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},35879:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarOmnisendMarketing",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Marketing")},options:[{id:"pageLink",type:"inputText-dev",label:(0,r.t)("Landing Page Link"),placeholder:"https://..."}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},71692:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OnVoard",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(2172)),c=f(o(44204)),d=f(o(53251));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"OnVoard"}static defaultValue=s.default;renderForEdit(e){const{embedCode:t,widgetType:o}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-onvoard-notifications"}),r.default.createElement(i.default,{icon:"img"})))}}},44204:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},53251:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarJudgeReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Notification")},options:[{id:"widgetType",type:"select-dev",label:(0,r.t)("Widget"),helper:{content:(0,r.t)("This element should stay inside a Product Details Component")},choices:[{title:"Button",value:"button"},{title:"Text",value:"text"}]},{id:"embedCode",label:(0,r.t)("Short Code"),type:"inputText-dev",placeholder:"Insert code here..."}]}]}},83205:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ParcelPanel",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(10796)),c=p(o(75458));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"ParcelPanel"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-parcel-panel"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-parcel-panel"}),r.default.createElement("div",{"data-pf-type":"ParcelPanel",className:"sc-eTwdGJ IQtZe pf-22_"},r.default.createElement("div",{className:"sc-eTwdGJ IQtZe"},r.default.createElement("div",{className:"pp_main"},r.default.createElement("div",{className:"pp_tracking_info",style:{display:"none"}}),r.default.createElement("div",{className:"pp_tracking_content"})),r.default.createElement("script",{type:"text/javascript",src:"//www.parcelpanel.com/track-page/track-js-get/pp-tracking-ajax-func"}))))}}},10796:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},75458:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},9514:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PaywhirlSubscription",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(50289)),c=p(o(46913));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"PaywhirlSubscription"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-paywhirl-subscription"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-paywhirl-subscription"}),r.default.createElement("div",{"data-pf-type":"PayWhirl"},"{% render 'paywhirl-plan-selector', product: product %}"))}}},50289:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},46913:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},75572:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PowrContactForm",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(76073)),c=f(o(16343)),d=f(o(84028));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"PowrContactForm"}static defaultValue=s.default;renderForEdit(e){const{embededCode:t}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-powr-contact-form"}),r.default.createElement(i.default,{icon:"img"})))}}},16343:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},84028:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarPowrMarketing",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Marketing")},options:[{id:"embededCode",type:"inputText-dev",label:(0,r.t)("POWR Form Embed code"),placeholder:"Enter embed code"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},84067:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreProduct",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(57071)),c=p(o(56834));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"PreProduct"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-pre-product"}),r.default.createElement(i.default,{icon:"img"})))}}},57071:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},56834:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},40827:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ProductOptions",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(5335)),c=f(o(53915)),d=f(o(14021));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"ProductOptions"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-product-options"}),r.default.createElement(i.default,{icon:"img"})))}}},53915:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},14021:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},35348:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ProductReview",{enumerable:!0,get:function(){return b}});const r=m(o(27378)),i=m(o(60042)),n=m(o(63692)),a=m(o(36275)),l=m(o(67439)),s=g(o(96589)),c=g(o(24758)),d=o(94220),u=o(98627),p=o(86022),f=m(o(53125));function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class b extends n.default{static get componentId(){return"ProductReview"}handleResizerChange=e=>this.patchValue(e);handleTextChange=e=>{this.patchValue(e)};renderForEdit(e,t,o){const n=(0,i.default)("brz-shopify-product-review",(0,d.css)(this.getComponentId(),this.getId(),(0,u.style)(e,t,o)));return r.default.createElement(l.default,this.makeToolbarPropsFromConfig2(s,c),r.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(p.Wrapper,this.makeWrapperProps({className:n}),r.default.createElement(f.default,{icon:"img"}))))}renderForView(e,t,o){const n=(0,i.default)("brz-shopify-product-review",(0,d.css)(this.getComponentId(),this.getId(),(0,u.style)(e,t,o)));return r.default.createElement(p.Wrapper,this.makeWrapperProps({className:n}),r.default.createElement("div",{id:"shopify-product-reviews","data-id":"{{product.id}}"},"{{product.metafields.spr.reviews}}"))}}},24758:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},98627:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{}})}},96589:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},39706:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PushOwlNotifications",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(35872)),c=f(o(72917)),d=f(o(51062));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"PushOwlNotifications"}static defaultValue=s.default;renderForEdit(e){const{buttonType:t,buttonName:o,subMessage:a,preDisplay:s,postDisplay:u}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-owl-notifications"}),r.default.createElement(i.default,{icon:"img"})))}}},72917:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},51062:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=e=>{let{v:t}=e;const o=("buttonType",(0,i.defaultValueValue)({v:t,key:"buttonType",device:"desktop",state:"normal"}));return[{id:"toolbarVideoShopping",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Notifications")},options:[{id:"buttonType",label:(0,r.t)("Button Type"),type:"select-dev",choices:[{title:"Subscription",value:"subscribe"},{title:"Back In Stock",value:"bis"},{title:"Product Discount",value:"pd"}],helper:{content:"subscribe"!==o?(0,r.t)("Add only one item of this type on the page"):""}},{id:"buttonName",type:"inputText-dev",label:(0,r.t)("Button Name")},{id:"subMessage",type:"inputText-dev",label:(0,r.t)("Post Subscription Text")},{id:"preDisplay",type:"select-dev",label:(0,r.t)("Pre-display"),helper:{content:(0,r.t)("The button's state before visitors have subscribed")},choices:[{title:"Inline",value:"inline"},{title:"Block",value:"block"},{title:"Inline-Block",value:"inline-block"}]},{id:"postDisplay",type:"select-dev",label:(0,r.t)("Post-display Button"),helper:{content:(0,r.t)("The button's state after visitors have subscribed")},choices:[{title:"Inline",value:"inline"},{title:"Block",value:"block"},{title:"Inline-Block",value:"inline-block"},{title:"None",value:"none"}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},40544:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RechargeSubscriptions",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(97466)),c=f(o(39855)),d=f(o(76476));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"RechargeSubscriptions"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-recharge-subscriptions"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-recharge-subscriptions"}),r.default.createElement("div",{"data-pf-type":"ReCharge"},"{% render 'subscription-product' with product as product %}"))}}},39855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},76476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},36046:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReviewRivyo",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(38765)),c=f(o(38963)),d=f(o(2167));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"ReviewRivyo"}static defaultValue=s.default;renderRivyoWidget(e){switch(e){case"reviewWidget":return r.default.createElement("div",{"data-pf-element":"true",id:"wc_review_section",className:"wc_review_main_content","data-url":"{{ shop.url }}","data-handle":"{{ product.handle }}","data-limit":"0"});case"allStore":return r.default.createElement("div",{"data-pf-element":"true",id:"wc_all_review_page",className:"wc_review_main_content","data-url":"{{ shop.url }}","data-limit":"0"});case"averageRating":return r.default.createElement("div",{className:"wc_product_review_badge","data-handle":"{{ product.handle }}"})}}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-rivyo-review"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-rivyo-review"}),this.renderRivyoWidget(t))}}},38963:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},2167:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=e=>{let{v:t}=e;const o=("reviewType",(0,i.defaultValueValue)({v:t,key:"reviewType",device:"desktop",state:"normal"}));return[{id:"toolbarReviewByRivyo",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Review")},options:[{id:"reviewType",label:(0,r.t)("Review Type"),type:"select-dev",choices:[{title:"Widget",value:"reviewWidget"},{title:"All Store",value:"allStore"},{title:"Avg. Star Rating",value:"averageRating"}]},{id:"productSource",label:(0,r.t)("Product Source"),type:"select-dev",disabled:"allStore"===o,choices:[{title:"Auto",value:"auto"}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},66413:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReviewVitals",{enumerable:!0,get:function(){return p}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(92158)),c=o(26244),d=o(4700);function u(e){return e&&e.__esModule?e:{default:e}}class p extends a.default{static get componentId(){return"ReviewVitals"}static defaultValue=s.default;renderVitalsWidget(e){switch(e){case"default":return r.default.createElement("div",{id:"bundle-product_reviews"});case"sealsBadges":return r.default.createElement("div",{id:"bundle-trust_badges"});case"bundles":return r.default.createElement("div",{id:"bundle-product-bundles"});case"discounts":return r.default.createElement("div",{id:"bundle-volume-discounts"});case"scarcity":return r.default.createElement("div",{id:"vitals-stock-urgency"})}}renderForEdit(e){const{widgetType:t}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2({getItems:d.getItems},{getItems:c.getItems}),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-review-vitals"}),r.default.createElement(i.default,{icon:"img"})))}}},26244:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},4700:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarVitalsReview",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Reviews"),icon:"nc-shopify-logo"},devices:"desktop",position:10,options:[{id:"widgetType",label:"Select Widget",type:"select-dev",choices:[{title:"Review Widget",value:"default"},{title:"Trust Seals & Badges",value:"sealsBadges"},{title:"Product Bundles",value:"bundles"},{title:"Volume Discounts",value:"discounts"},{title:"Stock Scarcity",value:"scarcity"}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},43795:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReviewGrowave",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(7902)),c=f(o(81831)),d=f(o(24468));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"ReviewGrowave"}static defaultValue=s.default;renderGrowaveWidget(e){switch(e){case"product":return r.default.createElement("div",{id:"pf-growave-review-widget"},'{% capture the_snippet_reviews %}\n {% render "socialshopwave-widget-recommends", product: product %}\n {% endcapture %}\n {% unless the_snippet_reviews contains "Liquid error" %}\n {{ the_snippet_reviews }}\n {% endunless %}');case"averageRating":return r.default.createElement("div",null,'{% capture the_snippet_review_avg %}\n {% render "ssw-widget-avg-rate-profile", product: product, content_for_header: content_for_header %}\n {% endcapture %}\n {% unless the_snippet_review_avg contains "Liquid error" %}\n {{ the_snippet_review_avg }}\n {% endunless %}');case"caRating":return r.default.createElement("div",null,'{% capture the_snippet_review_avg %}\n {% render "ssw-widget-avg-rate-listing", product: product, content_for_header: content_for_header %}\n {% endcapture %}\n {% unless the_snippet_review_avg contains "Liquid error" %}\n {{ the_snippet_review_avg }}\n {% endunless %}')}}renderForEdit(e){const{reviewType:t}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-growave-review"}),r.default.createElement(i.default,{icon:"img"})))}}},81831:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},24468:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarGrowaveReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Reviews")},options:[{id:"reviewType",type:"select-dev",label:(0,r.t)("Reviews Type"),config:{size:"large"},choices:[{title:"Product Review",value:"product"},{title:"Product Avg. Rating",value:"averageRating"},{title:"Coll. Avg. Rating",value:"caRating"}]},{id:"productSource",type:"select-dev",label:(0,r.t)("Product Source"),config:{size:"large"},choices:[{title:"Auto",value:"auto"}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},31136:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReviewJudgeMe",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(53834)),c=f(o(16180)),d=f(o(14828));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"ReviewJudgeMe"}static defaultValue=s.default;renderJudgeReview(e){switch(e){case"widget":return r.default.createElement("div",{className:"pf-judme"},'{% include "judgeme_widgets", widget_type: "judgeme_review_widget", concierge_install: false %}');case"carousel":return r.default.createElement("div",{className:"pf-judme"},'{% include "judgeme_widgets", widget_type: "judgeme_featured_carousel", concierge_install: false %}');case"badge":return r.default.createElement("div",{className:"pf-judme"},'{% render "judgeme_widgets", widget_type: "judgeme_preview_badge", jm_style: "", concierge_install: false, product: product %}')}}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-review-judge"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-product-review"}),this.renderJudgeReview(t))}}},16180:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},14828:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=e=>{let{v:t}=e;const o=("reviewType",(0,i.defaultValueValue)({v:t,key:"reviewType",device:"desktop",state:"normal"}));return[{id:"toolbarJudgeReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Reviews")},options:[{id:"reviewType",label:(0,r.t)("Review Type"),type:"select-dev",choices:[{title:"Widget",value:"widget"},{title:"Carousel",value:"carousel"},{title:"Badge",value:"badge"}],helper:{content:"badge"===o?(0,r.t)("Badge will work only if inserted in Product Details component"):""}}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},62565:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReviewOpinew",{enumerable:!0,get:function(){return p}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(65087)),c=o(60690),d=o(46907);function u(e){return e&&e.__esModule?e:{default:e}}class p extends a.default{static get componentId(){return"ReviewOpinew"}static defaultValue=s.default;renderOpinewWidget(e,t){switch(e){case"default":return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{style:{clear:"both"}}),r.default.createElement("div",{id:"opinew-reviews-product-page-code","data-pf-element":"true"},r.default.createElement("span",{id:"opinew-plugin","data-server-address":"https://www.opinew.com","data-opinew-shop-id":"{{shop.id}}","data-shop-url":"{{shop.domain}}","data-platform-product-id":"{{product.id}}","data-opw-prodreviews":'{{ product.metafields.opinew_metafields["product_plugin"] }}'},r.default.createElement("span",{id:"opinew_product_plugin_app"}))));case"allReviews":return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{style:{clear:"both"}}),r.default.createElement("div",{id:"opinew-reviews-all-reviews-code","data-opw-prodreviews":'{{ shop.metafields.opinew["opinew_all_reviews"] }}'},r.default.createElement("span",{id:"opinew_all_reviews_plugin_app"})));case"productReview":return r.default.createElement("div",{id:"opinew-stars-plugin-product"},'{% include "opinew_review_stars_product" %}');case"collectionReviewStar":return r.default.createElement("div",{className:"opinew-stars-plugin-product-list"},'{% include "opinew_review_stars_lists" %}');case"avgStoreReview":return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{style:{clear:"both"}}),r.default.createElement("div",{id:"opinew-reviews-all-reviews-code"},r.default.createElement("span",{id:"opinew-shop-plugin"},"average"===t?'{{ shop.metafields.opinew["opinew_badge_wide_average"] }}':"small"===t?'{{ shop.metafields.opinew["opinew_badge_small"] }}':'{{ shop.metafields.opinew["opinew_badge_wide"] }}')))}}renderForEdit(e){const{reviewType:t,badgeSize:o}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2({getItems:d.getItems},{getItems:c.getItems}),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-review-vitals"}),r.default.createElement(i.default,{icon:"img"})))}}},60690:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},46907:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=e=>{let{v:t}=e;const o=("reviewType",(0,i.defaultValueValue)({v:t,key:"reviewType",device:"desktop",state:"normal"}));return[{id:"toolbarVitalsReview",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Reviews"),icon:"nc-shopify-logo"},devices:"desktop",position:10,options:[{id:"reviewType",label:"Review Type",type:"select-dev",choices:[{title:"Widget",value:"default"},{title:"All Store",value:"allReviews"},{title:"Product",value:"productReview"},{title:"Collection Star",value:"collectionReviewStar"},{title:"Average Store",value:"avgStoreReview"}]},{id:"badgeSize",label:"Badge Size",type:"select-dev",disabled:"avgStoreReview"!==o,choices:[{title:"Wide Average",value:"average"},{title:"Small",value:"small"},{title:"Wide",value:"wide"}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},5006:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SMSMarketing",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(82677)),c=f(o(78367)),d=f(o(56217));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"SMSMarketing"}static defaultValue=s.default;renderForEdit(e){const{embedCode:t}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-sms-marketing"}),r.default.createElement(i.default,{icon:"img"})))}}},78367:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},56217:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarKlavyioMarketing",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Marketing")},options:[{id:"embedCode",type:"inputText-dev",label:(0,r.t)("SMSBump's embed code"),placeholder:"Enter embed code"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},89609:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SealSubscription",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(90011)),c=p(o(18217));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"SealSubscription"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-seal-subscription"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-seal-subscription"}),r.default.createElement("div",{"data-pf-type":"SealSubs"},r.default.createElement("div",{className:"sealsubs-target-element","data-handle":"{{ product.handle }}"})))}}},90011:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},18217:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},19372:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SnowBall",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(42324)),c=f(o(87865)),d=f(o(40857));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"SnowBall"}static defaultValue=s.default;renderForEdit(e){const{embedCode:t}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-snowball-marketing"}),r.default.createElement(i.default,{icon:"img"})))}}},87865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},40857:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarSnowBall",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Snowball")},options:[{id:"embedCode",label:(0,r.t)("Embed Code"),type:"inputText-dev",placeholder:"Insert code here..."}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},11254:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"StampedBadge",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),i=p(o(53125)),n=p(o(67439)),a=p(o(63692)),l=o(81405),s=o(86022),c=p(o(39862)),d=m(o(77265)),u=m(o(39025));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"StampedBadge"}static defaultValue=c.default;renderStampedBadge(e,t){const{headerTitle:o,starSize:i,starSizeSuffix:n,feedHeight:a,feedHeightSuffix:s,reviewIDs:c,productIDs:d,productType:u,productVendor:p,feedTags:f,limitWords:m,minimumRating:y,textColorOpacity:g,textColorHex:b,starColorHex:h,starColorOpacity:v,ribbonOuterColorHex:S,ribbonOuterColorOpacity:w,ribbonInnerColorHex:x,ribbonInnerColorOpacity:M,ribbonColorHex:T,ribbonColorOpacity:P,fillEmpty:C,randomizer:k}=t,_={};switch("on"===C&&(_["data-fill-empty"]="true"),"on"===k&&(_["data-random"]="true"),""!==c&&(_["data-review-ids"]=c.trim().replace(/ /g,",")),""!==d&&(_["data-product-ids"]=d.trim().replace(/ /g,",")),""!==u&&(_["data-product-category"]=u),""!==p&&(_["data-product-brand"]=p),""!==f&&(_["data-tags"]=f.trim().replace(/ /g,",")),""!==o&&(_["data-title"]=o),e){case"minimal":return r.default.createElement("div",{id:"stamped-reviews-widget","data-widget-type":"site-badge","data-badge-type":"minimal","data-color-text":(0,l.hexToRgba)(b,g),"data-color-stars":(0,l.hexToRgba)(h,v),"data-star-size":`${i}${n}`,"data-limit-words":m.toString(),"data-min-rating":y,"data-style-color-star":"false","data-style-color-text":(0,l.hexToRgba)(b,g),..._});case"standard":return r.default.createElement("div",{id:"stamped-reviews-widget","data-widget-type":"site-badge","data-height":`${a}${s}`,"data-with-photos":"false","data-badge-type":"badge","data-color-outer":(0,l.hexToRgba)(S,w),"data-color-inner":(0,l.hexToRgba)(x,M),"data-color-ribbon":(0,l.hexToRgba)(T,P),"data-color-text":(0,l.hexToRgba)(b,g),"data-color-stars":(0,l.hexToRgba)(h,v),"data-limit-words":m.toString(),"data-min-rating":y,"data-style-color-star":"false","data-style-color-text":(0,l.hexToRgba)(b,g),..._})}}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-stamped-badge"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{badgeType:t}=e;return r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-stamped-badge"}),this.renderStampedBadge(t,e))}}},77265:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},39025:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(81405),i=o(64985),n=o(69321);function a(e){let{v:t,device:o}=e;const a=e=>(0,n.defaultValueValue)({v:t,key:e,state:"normal",device:o}),l=a("badgeType"),s=a("starColorOpacity"),c=a("starColorHex"),d=a("titleColorHex"),u=a("titleColorOpacity");return[{id:"toolbarStampedBadges",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,i.t)("Badges")},options:[{id:"badgeType",type:"select-dev",label:(0,i.t)("Badge Type"),choices:[{title:"Standard",value:"standard"},{title:"Minimal",value:"minimal"}]},{id:"feedHeight",type:"slider-dev",label:(0,i.t)("Height"),disabled:"standard"!==l,config:{min:100,max:1e3,step:1,units:[{title:"px",value:"px"}]}},{id:"headerTitle",label:(0,i.t)("Text"),type:"inputText-dev",placeholder:(0,i.t)("Insert Text...")},{id:"sizeGroup",type:"group-dev",label:(0,i.t)("Size"),options:[{id:"textSize",type:"slider-dev",label:(0,i.t)("Text"),config:{min:10,max:100,step:1,units:[{title:"px",value:"px"}]}},{id:"starSize",type:"slider-dev",label:(0,i.t)("Star"),disabled:"standard"===l,config:{min:10,max:100,step:1,units:[{title:"px",value:"px"}]}}]},{id:"reviewIDs",label:(0,i.t)("Review IDs"),type:"inputText-dev",placeholder:(0,i.t)("Insert IDs..."),helper:{content:(0,i.t)("Filter by multiple review IDs")}},{id:"productIDs",label:(0,i.t)("Product IDs"),type:"inputText-dev",placeholder:(0,i.t)("Insert IDs..."),helper:{content:(0,i.t)("Filter by multiple product IDs")}},{id:"productType",label:(0,i.t)("Product Type"),type:"inputText-dev",placeholder:(0,i.t)("Insert Type..."),helper:{content:(0,i.t)("Filter by product category")}},{id:"productVendor",label:(0,i.t)("Product Vendor"),type:"inputText-dev",placeholder:(0,i.t)("Insert Vendor..."),helper:{content:(0,i.t)("Filter by product vendor")}},{id:"feedTags",label:(0,i.t)("Feed Tags"),type:"inputText-dev",placeholder:(0,i.t)("Insert Types..."),helper:{content:(0,i.t)("Filter by reviews tags")}},{id:"limitWords",type:"slider-dev",label:(0,i.t)("Limit Words"),helper:{content:(0,i.t)("Limit the max number of words for review body")},config:{min:1,max:1e5,step:1}},{id:"minimumRating",type:"select-dev",label:(0,i.t)("Minimum Rating"),helper:{content:(0,i.t)("Show only reviews above the selected minimum rating")},choices:[{title:"1 star",value:"1"},{title:"2 stars",value:"2"},{title:"3 stars",value:"3"},{title:"4 stars",value:"4"},{title:"5 stars",value:"5"}]},{id:"fillEmpty",type:"switch-dev",label:(0,i.t)("Fill Empty"),helper:{content:(0,i.t)("If filtered results is empty, fill widget with other reviews")}},{id:"randomizer",type:"switch-dev",label:(0,i.t)("Random"),helper:{content:(0,i.t)("Randomize the reviews results")}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:s>0?(0,r.hexToRgba)(c,s):(0,r.hexToRgba)(d,u)}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"textColor",type:"colorPicker-dev"}]},{id:"tabStar",label:(0,i.t)("Star"),options:[{id:"starColor",type:"colorPicker-dev"}]},{id:"tabRibbon",label:(0,i.t)("Ribbon"),options:[{id:"ribbonColor",type:"colorPicker-dev",disabled:"standard"!==l}]},{id:"tabBadgeInner",label:(0,i.t)("Badge Inner"),options:[{id:"ribbonInnerColor",type:"colorPicker-dev",disabled:"standard"!==l}]},{id:"tabBadgeOutter",label:(0,i.t)("Badge Outter"),options:[{id:"ribbonOuterColor",type:"colorPicker-dev",disabled:"standard"!==l}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,i.t)("More Settings"),position:110,icon:"nc-cog",title:(0,i.t)("Settings")}]}},60932:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"StampedReviews",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),i=p(o(53125)),n=p(o(67439)),a=p(o(63692)),l=o(81405),s=o(86022),c=p(o(28482)),d=m(o(66154)),u=m(o(89589));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"StampedReviews"}static defaultValue=c.default;displayStampedWidget(e,t){const{reviewIDs:o,carouselTitle:i,labelSubtitle:n,autoSlide:a,autoPlaySpeed:s,productType:c,productVendor:d,productImage:u,limitWords:p,minimumRating:f,productIDs:m,titleColorHex:y,titleColorOpacity:g,starColorHex:b,starColorOpacity:h,textColorHex:v,textColorOpacity:S,linkColorHex:w,linkColorOpacity:x,feedType:M,hoverColorHex:T,hoverColorOpacity:P,hoverOpacity:C,verifiedColorHex:k,verifiedColorOpacity:_,feedTags:O,feedHeight:E,feedHeightSuffix:z,fillEmpty:B,randomizer:j}=t,N={id:"stamped-reviews-widget"};switch("on"===j&&(N["data-random"]="true"),""!==i&&(N["data-title"]=i),null!==p&&(N["data-limit-words"]=`${p}`),null!==f&&(N["data-min-rating"]=f),"on"===a&&(N["data-auto-play"]="true"),s&&(N["data-auto-play-speed"]=`${s}`),"on"===B&&(N["data-fill-empty"]="true"),""!==O&&(N["data-tags"]=O.trim().replace(/ /g,",")),""!==o&&(N["data-review-ids"]=o.trim().replace(/ /g,",")),""!==d&&(N["data-product-brand"]=d.trim()),""!==c&&(N["data-product-category"]=c.trim()),""!==m&&(N["data-product-ids"]=m.trim().replace(/ /g,",")),e){case"standard":return r.default.createElement("div",{id:"stamped-main-widget",className:"stamped-main-widget","data-widget-style":"standard","data-product-id":"{{ product.id }}","data-name":"{{ product.title | escape }}","data-url":"{{ shop.url }}{{ product.url }}","data-image-url":"{{ product.featured_image | product_img_url: 'large' |replace: '?', '%3F' | replace: '&','%26'}}","data-description":"{{ product.description | escape }}","data-product-sku":"{{ product.handle }}","data-product-type":"{{ product.type }}"},"{{ product.metafields.stamped.reviews }}");case"carousel":return r.default.createElement("div",{"data-widget-type":"carousel",...N,"data-style-color-title":(0,l.hexToRgba)(y,g),"data-style-color-star":(0,l.hexToRgba)(b,h),"data-style-color-text":(0,l.hexToRgba)(v,S),"data-style-color-link":(0,l.hexToRgba)(w,x)});case"fullPage":return"on"===u&&(N["data-product-image"]="true"),""!==n&&(N["data-label-subtitle"]=n),r.default.createElement("div",{"data-widget-type":"full-page","data-style-color-verified":(0,l.hexToRgba)(k,_),"data-style-color-star":(0,l.hexToRgba)(b,h),"data-style-color-text":(0,l.hexToRgba)(v,S),"data-style-color-link":(0,l.hexToRgba)(w,x),...N});case"topRated":return r.default.createElement("div",{"data-widget-type":"top-rated","data-with-photos":"false","data-style-color-link":(0,l.hexToRgba)(w,x),"data-style-color-star":(0,l.hexToRgba)(b,h),...N});case"starRating":return r.default.createElement("span",{className:"stamped-product-reviews-badge stamped-main-badge","data-id":"{{ product.id }}","data-product-sku":"{{ product.handle }}",style:{display:"inline-block"}},"{{ product.metafields.stamped.badge }}");case"visualGallery":return""!==M&&("carousel"===M&&(N["data-height"]=`${E}${z}`),N["data-feed-type"]=M,N["data-style-color-hover-opacity"]=`${C.toString()}`),r.default.createElement("div",{"data-widget-type":"visual-gallery","data-with-photos":"true","data-style-color-star":(0,l.hexToRgba)(b,h),"data-style-color-hover":(0,l.hexToRgba)(T,P),...N});case"wallPhotos":return r.default.createElement("div",{"data-widget-type":"wall-photos","data-style-color-hover":(0,l.hexToRgba)(T,P),"data-style-color-hover-opacity":C.toString(),"data-style-color-star":(0,l.hexToRgba)(b,h),"data-with-photos":"true",...N})}}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-stamped-reviews"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-stamped-reviews"}),this.displayStampedWidget(t,e))}}},66154:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},89589:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("starColorHex"),l("starColorPalette")),{hex:c}=(0,a.getOptionColorHexByPalette)(l("titleColorHex"),l("titleColorPalette")),d=l("starColorOpacity"),u=l("reviewType"),p=l("titleColorOpacity"),f=l("feedType"),m="standard"===u||"starRating"===u,y="standard"===u||"starRating"===u||"wallPhotos"===u||"fullPage"===u||"topRated"===u||"visualGallery"===u&&"carousel"!==f;return[{id:"toolbarStampedReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,i.t)("Reviews")},options:[{id:"reviewType",type:"select-dev",label:(0,i.t)("Reviews Type"),choices:[{title:"Main Widget",value:"standard"},{title:"Carousel",value:"carousel"},{title:"Full Page",value:"fullPage"},{title:"Top Rated",value:"topRated"},{title:"Star Rating",value:"starRating"},{title:"Visual Gallery",value:"visualGallery"},{title:"Wall Photos",value:"wallPhotos"}]},{id:"feedType",type:"select-dev",label:(0,i.t)("Feed Type"),placeholder:(0,i.t)("Feed Type"),disabled:"visualGallery"!==u,choices:[{title:"Carousel",value:"carousel"},{title:"Gallery",value:"feed"}]},{id:"feedHeight",type:"slider-dev",label:(0,i.t)("Height"),disabled:"visualGallery"!==u||"carousel"!==f,config:{min:100,max:1e3,step:1,units:[{title:"px",value:"px"}]}},{id:"hoverOpacity",type:"slider-dev",label:(0,i.t)("Hover Opacity"),disabled:"visualGallery"!==u&&"wallPhotos"!==u,config:{min:1,max:100,step:1}},{id:"carouselTitle",label:(0,i.t)("Title"),type:"inputText-dev",disabled:"carousel"!==u,placeholder:(0,i.t)("Insert Title...")},{id:"labelSubtitle",label:(0,i.t)("Label Subtitle"),type:"inputText-dev",disabled:"fullPage"!==u,placeholder:(0,i.t)("Based on Reviews")},{id:"productImage",type:"switch-dev",label:(0,i.t)("Show Product Image"),disabled:"fullPage"!==u},{id:"groupOptions",type:"group-dev",disabled:y,options:[{id:"autoSlide",type:"switch-dev",label:(0,i.t)("Auto Slide")},{id:"autoPlaySpeed",type:"slider-dev",label:(0,i.t)("Interval"),config:{min:300,max:5e3,step:1}}]},{id:"reviewIDs",label:(0,i.t)("Review IDs"),type:"inputText-dev",disabled:m,placeholder:(0,i.t)("Insert IDs..."),helper:{content:(0,i.t)("Filter by multiple review IDs")}},{id:"productIDs",label:(0,i.t)("Product IDs"),type:"inputText-dev",disabled:"standard"===u,placeholder:(0,i.t)("Insert IDs..."),helper:{content:(0,i.t)("Filter by multiple product IDs")}},{id:"productType",label:(0,i.t)("Product Type"),type:"inputText-dev",disabled:m,placeholder:(0,i.t)("Insert Type..."),helper:{content:(0,i.t)("Filter by product category")}},{id:"productVendor",label:(0,i.t)("Product Vendor"),type:"inputText-dev",disabled:m,placeholder:(0,i.t)("Insert Vendor..."),helper:{content:(0,i.t)("Filter by product vendor")}},{id:"feedTags",label:(0,i.t)("Feed Tags"),type:"inputText-dev",disabled:m,placeholder:(0,i.t)("Insert Types..."),helper:{content:(0,i.t)("Filter by reviews tags")}},{id:"limitWords",type:"slider-dev",label:(0,i.t)("Limit Words"),helper:{content:(0,i.t)("Limit the max number of words for review body")},disabled:m,config:{min:1,max:1e5,step:1}},{id:"minimumRating",type:"select-dev",label:(0,i.t)("Minimum Rating"),helper:{content:(0,i.t)("Show only reviews above the selected minimum rating")},disabled:m,choices:[{title:"1 star",value:"1"},{title:"2 stars",value:"2"},{title:"3 stars",value:"3"},{title:"4 stars",value:"4"},{title:"5 stars",value:"5"}]},{id:"fillEmpty",type:"switch-dev",label:(0,i.t)("Fill Empty"),disabled:m,helper:{content:(0,i.t)("If filtered results is empty, fill widget with other reviews")}},{id:"randomizer",type:"switch-dev",label:(0,i.t)("Random"),helper:{content:(0,i.t)("Randomize the reviews results")},disabled:m}]},{id:"popoverColor",type:"popover-dev",disabled:m,config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:d>0?(0,r.hexToRgba)(s,d):(0,r.hexToRgba)(c,p)}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabTitle",label:(0,i.t)("Title"),options:[{id:"titleColor",type:"colorPicker-dev",disabled:"carousel"!==u}]},{id:"tabStar",label:(0,i.t)("Star"),options:[{id:"starColor",type:"colorPicker-dev"}]},{id:"tabText",label:(0,i.t)("Text"),options:[{id:"textColor",type:"colorPicker-dev",disabled:"visualGallery"===u||"wallPhotos"===u||"topRated"===u}]},{id:"tabLink",label:(0,i.t)("Link"),options:[{id:"linkColor",type:"colorPicker-dev",disabled:"visualGallery"===u||"wallPhotos"===u}]},{id:"tabVerified",label:(0,i.t)("Verified"),options:[{id:"verifiedColor",type:"colorPicker-dev",disabled:"fullPage"!==u}]},{id:"tabHover",label:(0,i.t)("Hover"),options:[{id:"hoverColor",type:"colorPicker-dev",disabled:"visualGallery"!==u&&"wallPhotos"!==u}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,i.t)("More Settings"),position:110,icon:"nc-cog",title:(0,i.t)("Settings")}]}},12448:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SwymWishList",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(27558)),c=f(o(60841)),d=f(o(38576));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"SwymWishList"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-swym-wishlist"}),r.default.createElement(i.default,{icon:"img"})))}}},60841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},38576:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},51606:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TipoBooking",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(64294)),c=p(o(7975));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"TipoBooking"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-tipo-booking"}),r.default.createElement(i.default,{icon:"img"})))}}},64294:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},7975:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},83840:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TrustMeBadges",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(21204)),c=f(o(51766)),d=f(o(6432));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"TrustMeBadges"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-trust-me-badges"}),r.default.createElement(i.default,{icon:"shopify"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-trust-me-badges"}),r.default.createElement("div",{className:"giraffly-trust-badge"}))}}},51766:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},6432:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},7916:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TrustProductRating",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(4152)),c=p(o(62064));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"TrustProductRating"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-trust-product-rating"}),r.default.createElement(i.default,{icon:"shopify",type:"fa"})))}}},4152:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},62064:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",position:110}]},60118:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TrustProductReview",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(63692)),n=d(o(67439)),a=o(86022),l=p(o(66696)),s=p(o(59243)),c=d(o(53125));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends i.default{static get componentId(){return"TrustProductReview"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(l,s),r.default.createElement(a.Wrapper,this.makeWrapperProps({className:"brz-shopify-trust-product-review"}),r.default.createElement(c.default,{icon:"shopify",type:"fa"})))}}},59243:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},66696:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",position:110}]},73089:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TrustSeals",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(14317)),c=p(o(60933));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"TrustSeals"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-trust-seals"}),r.default.createElement(i.default,{icon:"shopify",type:"fa"})))}}},14317:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},60933:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",position:110}]},45532:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TrustedBadge",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(43694)),c=f(o(82824)),d=f(o(72355));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"TrustedBadge"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-trusted-badge"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{embededCode:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-trusted-badge"}),r.default.createElement("div",{"data-pf-type":"TrustedSite",dangerouslySetInnerHTML:{__html:t}}))}}},82824:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},72355:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarFeraReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Badge")},options:[{id:"embededCode",label:(0,r.t)("Trusted's embed code"),type:"inputText-dev",placeholder:"
{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SpecialOffers",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(87285)),c=f(o(99526)),d=f(o(16732));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"SpecialOffers"}static defaultValue=s.default;renderSpecialOfferWidget(e){switch(e){case"announcementBar":return r.default.createElement("div",{id:"saso-notifications"});case"productBundles":return r.default.createElement("div",{className:"saso-bundle"});case"volumeTier":return r.default.createElement("div",{className:"saso-volumes"})}}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-special-offers"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{widgetType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-special-offers"}),r.default.createElement("div",{"data-pf-type":"PixelUnion"},this.renderSpecialOfferWidget(t)))}}},99526:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},16732:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarBundlesApp",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Widgets")},options:[{id:"widgetType",label:(0,r.t)("Widget Type"),type:"select-dev",placeholder:(0,r.t)("Select"),choices:[{title:"Announcement Bar",value:"announcementBar"},{title:"Product Bundles",value:"productBundles"},{title:"Volume Tier Discount Table",value:"volumeTier"}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},96991:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"UnlimitedBundles",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(60913)),c=f(o(67598)),d=f(o(24846));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"UnlimitedBundles"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-unlimited-bundles"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{embededCode:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-unlimited-bundles"}),r.default.createElement("div",{"data-pf-type":"RevyBundle",dangerouslySetInnerHTML:{__html:t}}))}}},67598:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},24846:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarBundlesApp",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Bundles App")},options:[{id:"embededCode",label:(0,r.t)("Embeded Code"),type:"inputText-dev",placeholder:"
{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"UploadKit",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(63465)),c=p(o(48830));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"UploadKit"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-upload-uploadkit"}),r.default.createElement(i.default,{icon:"img"})))}}},63465:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},48830:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},29103:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Variations",{enumerable:!0,get:function(){return y}});const r=m(o(60042)),i=m(o(27378)),n=m(o(63692)),a=m(o(67439)),l=m(o(36275)),s=o(94220),c=o(86022),d=m(o(30638)),u=o(35031),p=o(31457),f=o(5522);function m(e){return e&&e.__esModule?e:{default:e}}class y extends n.default{static get componentId(){return"Variations"}static defaultValue=d.default;handleTextChange=e=>this.patchValue(e);renderForEdit(e,t,o){const n=(0,r.default)("brz-shopify-variations",(0,s.css)(this.getId(),this.getId(),(0,f.style)(e,t,o)));return i.default.createElement(a.default,this.makeToolbarPropsFromConfig2({getItems:u.getItems},{getItems:p.getItems}),i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(c.Wrapper,this.makeWrapperProps({className:n,attributes:{"data-product-handle":e.itemId}}),i.default.createElement("div",null,i.default.createElement("input",{type:"radio","data-product-handle":e.itemId,value:0})," S"),i.default.createElement("div",null,i.default.createElement("input",{type:"radio","data-product-handle":e.itemId,value:1})," M"),i.default.createElement("div",null,i.default.createElement("input",{type:"radio","data-product-handle":e.itemId,value:2})," L"))))}}},31457:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},5522:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz &&:hover .brz-hr":{standart:["cssStyleElementLineBorder"]}}})}},35031:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarCart",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:"nc-woo-add-to-cart"},devices:"desktop",position:90,options:[{id:"itemId",label:"Select product",type:"select-dev",config:{search:!0},choices:[{value:"841851",title:"841851"}]}]}]},90663:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VideoShopping",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(36074)),c=f(o(11997)),d=f(o(50514));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"VideoShopping"}static defaultValue=s.default;renderForEdit(e){const{embedCode:t}=e;return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-video-shopping"}),r.default.createElement(i.default,{icon:"img"})))}}},11997:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},50514:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarVideoShopping",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Video")},options:[{id:"embedCode",label:(0,r.t)("Video Embed Code"),type:"inputText-dev",placeholder:"
{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"WideBundle",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(10182)),c=f(o(22149)),d=f(o(23212));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"WideBundle"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-wide-bundle"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-wide-bundle"}),r.default.createElement("div",{"data-pf-type":"WideBundles"},r.default.createElement("div",{id:"new-form"})))}}},22149:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},23212:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},15845:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"WiserUpsell",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(85864)),c=f(o(89552)),d=f(o(69537));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"WiserUpsell"}static defaultValue=s.default;renderWiserWidget(e){switch(e){case"related":return r.default.createElement("div",{id:"pf_wiser_related_products"},'{% include "wiser_related" %}');case"recommended":return r.default.createElement("div",{id:"pf_wiser_recommended_products"},'{% include "wiser_recommended" %}');case"recentlyViewed":return r.default.createElement("div",{id:"pf_wiser_recently_products"},'{% include "wiser_recentview" %}');case"trending":return r.default.createElement("div",{id:"pf_wiser_trending_products"},'{% include "wiser_trending" %}');case"alsoBought":return r.default.createElement("div",{id:"pf_wiser_alsobought"},'{% include "wiser_alsobought" %}');case"topSelling":return r.default.createElement("div",{id:"pf_wiser_top_selling"},'{% include "wiser_topselling" %}');case"newArrivals":return r.default.createElement("div",{id:"pf_wiser_new_arrival"},'{% include "wiser_newarrivals" %}');case"featuredProducts":return r.default.createElement("div",{id:"pf_wiser_featured_collections"},'{% include "wiser_featured" %}')}}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-wiser-upsell"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{upsellType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-wiser-upsell"}),r.default.createElement("div",{"data-pf-type":"Wiser"},this.renderWiserWidget(t)))}}},89552:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},69537:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=e=>{let{v:t}=e;const o=("upsellType",(0,i.defaultValueValue)({v:t,key:"upsellType",device:"desktop",state:"normal"}));return[{id:"toolbarWiserUpsell",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Upsells")},options:[{id:"upsellType",label:(0,r.t)("Upsell Type"),type:"select-dev",choices:[{title:"Related Products",value:"related"},{title:"Recommended Products",value:"recommended"},{title:"Recently View Products",value:"recentlyViewed"},{title:"Trending Products",value:"trending"},{title:"Also Bought",value:"alsoBought"},{title:"Top Selling Products",value:"topSelling"},{title:"New Arrivals",value:"newArrivals"},{title:"Featured Products",value:"featuredProducts"}],helper:{content:""!==o?(0,r.t)("Insert only one of each type of upsell on your page!"):""}}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},75600:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"YotPoReview",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),i=p(o(53125)),n=p(o(67439)),a=p(o(63692)),l=o(86022),s=o(81405),c=p(o(15914)),d=m(o(16408)),u=m(o(34794));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"YotPoReview"}static defaultValue=c.default;renderWidget(e,t){const{appKey:o,reviewLogic:i,showTotalReviewsCount:n,showReviews:a,reviewsNumber:l,autoPlay:c,autoplaySpeed:d,showNavigation:u,headerCustomisation:p,colorHex:f,colorOpacity:m,fontSize:y,headerText:g,textAlign:b,bgColorSwitch:h,bgColorHex:v,bgColorOpacity:S}=t,w='{{ product.featured_image | product_img_url: "large" | replace: "?", "%3F" | replace: "&","%26" }}';switch(e){case"yotpo-main-widget":return r.default.createElement("div",{className:"yotpo yotpo-main-widget","data-product-id":"{{ product.id }}","data-name":"{{ product.title | escape }}","data-url":"{{ shop.url }}{{ product.url }}","data-image-url":w,"data-description":"{{ product.description | escape }}"});case"brz yotpo-main-widget":return r.default.createElement("div",{className:"yotpo yotpo-main-widget","data-product-id":"{{ product.id }}","data-name":"{{ product.title | escape }}","data-url":"{{ shop.url }}{{ product.url }}","data-image-url":w,"data-description":"{{ product.description | escape }}","data-mode":"questions"});case"bottomLine":return r.default.createElement("div",{className:"yotpo bottomLine","data-appkey":o,"data-domain":"{{ shop.permanent_domain | escape }}","data-product-id":"{{ product.id }}","data-product-models":"{{ product.id }}","data-name":"{{ product.title | escape }}","data-url":"{{ shop.url }}{{ product.url }}","data-image-url":w,"data-description":"{{ product.description | escape }}","data-bread-crumbs":"{{% for tag in product.tags %}{{ tag | escape }}}"});case"yotpo-shoppers-say":return r.default.createElement("div",{className:"yotpo yotpo-shoppers-say","data-product-id":"{{ product.id }}"});case"yotpo-reviews-carousel":{const e={};return"on"===n&&(e["data-show-bottomline"]="1"),"on"===c&&d&&(e["data-autoplay-enabled"]="1",e["data-autoplay-speed"]=`${d}`),"on"===u&&(e["data-show-navigation"]="1"),"on"===p&&(e["data-header-customisation-enabled"]="1",e["data-header-customisation-color"]=(0,s.hexToRgba)(f,m)??"",e["data-header-customisation-font-size"]=`${y}`,e["data-header-customisation-text"]=g,e["data-header-customisation-alignment"]=b),"on"===h?(e["data-background-color-enabled"]="1",e["data-background-color"]=(0,s.hexToRgba)(v,S)??""):e["data-background-color"]="transparent",r.default.createElement("div",{className:"yotpo yotpo-reviews-carousel","data-mode":i,"data-type":a,"data-count":l.toString(),...e})}case"yotpo-badge":return r.default.createElement("div",{id:"y-badges",className:"yotpo yotpo-badge badge-init"})}}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-yotpo-review"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-yotpo-review"}),this.renderWidget(t,e))}}},16408:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},34794:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t}=e;const o=e=>(0,n.defaultValueValue)({v:t,key:e,state:"normal"}),{hex:l}=(0,a.getOptionColorHexByPalette)(o("bgColorHex"),o("bgColorPalette")),{hex:s}=(0,a.getOptionColorHexByPalette)(o("colorHex"),o("colorPalette")),c=o("bgColorOpacity"),d=o("reviewType"),u=o("autoPlay"),p=o("headerCustomisation"),f=o("colorOpacity"),m=o("bgColorSwitch");return[{id:"toolbarYotPoReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,i.t)("Reviews")},options:[{id:"reviewType",type:"select-dev",label:(0,i.t)("Reviews Type"),config:{size:"large"},choices:[{title:"Main Widget",value:"yotpo-main-widget"},{title:"Q & A",value:"brz yotpo-main-widget"},{title:"Star Rating",value:"bottomLine"},{title:"Highlight",value:"yotpo-shoppers-say"},{title:"Carousel",value:"yotpo-reviews-carousel"},{title:"Badge",value:"yotpo-badge"}]},{id:"appKey",label:(0,i.t)("Application Key"),type:"inputText-dev",disabled:"bottomLine"!==d,placeholder:(0,i.t)("Insert AppKey"),helper:{content:(0,i.t)("Find your AppKey in www.yotpo.com -> Settings -> General Settings")}},{id:"reviewLogic",type:"select-dev",label:(0,i.t)("Review Logic"),disabled:"yotpo-reviews-carousel"!==d,choices:[{title:"Top Rated",value:"top_rated"},{title:"Most Recent",value:"most_recent"}]},{id:"showReviews",type:"select-dev",label:(0,i.t)("Show"),disabled:"yotpo-reviews-carousel"!==d,choices:[{title:"Site Reviews",value:"site"},{title:"Site & Products Reviews",value:"both"},{title:"P.R - All Products",value:"product"},{title:"P.R - Product Page",value:"per_product"}]},{id:"reviewsNumber",type:"slider-dev",label:(0,i.t)("Number of Reviews"),disabled:"yotpo-reviews-carousel"!==d,config:{min:1,max:9,step:1}},{id:"showTotalReviewsCount",type:"switch-dev",label:(0,i.t)("Show Total Reviews"),helper:{content:(0,i.t)("Show Total Reviews Count And Average Ratings")},disabled:"yotpo-reviews-carousel"!==d},{id:"groupSettings",type:"group-dev",disabled:"yotpo-reviews-carousel"!==d,options:[{id:"autoPlay",type:"switch-dev",label:(0,i.t)("Autoplay")},{id:"autoplaySpeed",type:"slider-dev",label:(0,i.t)("Speed"),disabled:"off"===u,config:{min:500,max:2e4,step:500}}]},{id:"showNavigation",type:"switch-dev",label:(0,i.t)("Show Navigation"),disabled:"yotpo-reviews-carousel"!==d},{id:"bgColorSwitch",type:"switch-dev",label:(0,i.t)("Enable Background Color"),disabled:"yotpo-reviews-carousel"!==d},{id:"headerCustomisation",type:"switch-dev",label:(0,i.t)("Header Customisation"),disabled:"yotpo-reviews-carousel"!==d},{id:"headerText",type:"inputText-dev",label:(0,i.t)("Text"),disabled:"yotpo-reviews-carousel"!==d||"off"===p,placeholder:(0,i.t)("Enter text here...")},{id:"fontSize",type:"slider-dev",label:(0,i.t)("Font Size"),disabled:"yotpo-reviews-carousel"!==d||"off"===p,config:{min:1,max:40,step:1,units:[{title:"px",value:"px"}]}},{id:"textAlign",type:"select-dev",label:(0,i.t)("Align Text"),disabled:"yotpo-reviews-carousel"!==d||"off"===p,choices:[{title:"Left",value:"left"},{title:"Center",value:"center"}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:c>0?(0,r.hexToRgba)(l,c):(0,r.hexToRgba)(s,f)}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,i.t)("Background"),options:[{id:"bgColor",type:"colorPicker-dev",disabled:"yotpo-reviews-carousel"!==d||"off"===m}]},{id:"tabText",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",disabled:"off"===p||"yotpo-reviews-carousel"!==d}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,i.t)("More Settings"),position:110,icon:"nc-cog",title:(0,i.t)("Settings")}]}},77805:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ZeptoPersonalizer",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),i=d(o(53125)),n=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(72674)),c=p(o(98546));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"ZeptoPersonalizer"}renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-zepto-personalizer"}),r.default.createElement(i.default,{icon:"img"})))}}},72674:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},98546:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},13212:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ZoorixUpsell",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),i=u(o(53125)),n=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(9517)),c=f(o(32465)),d=f(o(52428));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"ZoorixUpsell"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-zoorix-upsell"}),r.default.createElement(i.default,{icon:"img"})))}renderForView(e){const{embededCode:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-zoorix-upsell"}),r.default.createElement("div",{"data-pf-type":"Zoorix",dangerouslySetInnerHTML:{__html:t}}))}}},32465:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},52428:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarZoorixUpsell",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Upsell")},options:[{id:"embededCode",label:(0,r.t)("Embeded Code"),type:"inputText-dev",placeholder:"
{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{AddToCart:function(){return r.AddToCart},AliExpressReview:function(){return i.AliExpressReview},AppstleSubscription:function(){return n.AppstleSubscription},AreviewReviews:function(){return a.AreviewReviews},AutomizelyOrderTracking:function(){return l.AutomizelyOrderTracking},BISStock:function(){return s.BISStock},BoldProduct:function(){return c.BoldProduct},BoldSubscription:function(){return d.BoldSubscription},EmailMarketing:function(){return u.EmailMarketing},FastSimonUpsell:function(){return p.FastSimonUpsell},FeraReviews:function(){return f.FeraReviews},FrequentlyBought:function(){return m.FrequentlyBought},GrowaveWishlist:function(){return y.GrowaveWishlist},HeroWishList:function(){return g.HeroWishList},HextomBadges:function(){return b.HextomBadges},HulkOptions:function(){return h.HulkOptions},InfiniteOptions:function(){return v.InfiniteOptions},KiwiChart:function(){return S.KiwiChart},KlavyioMarketing:function(){return w.KlavyioMarketing},LaiReviews:function(){return x.LaiReviews},LimeSpot:function(){return M.LimeSpot},LooxReview:function(){return T.LooxReview},MarselloMarketing:function(){return P.MarselloMarketing},OkendoReview:function(){return C.OkendoReview},OmegaTracking:function(){return k.OmegaTracking},OmnisendMarketing:function(){return _.OmnisendMarketing},OnVoard:function(){return O.OnVoard},ParcelPanel:function(){return E.ParcelPanel},PaywhirlSubscription:function(){return z.PaywhirlSubscription},PowrContactForm:function(){return B.PowrContactForm},PreProduct:function(){return j.PreProduct},Price:function(){return N.Price},ProductOptions:function(){return I.ProductOptions},ProductReview:function(){return L.ProductReview},PushOwlNotifications:function(){return D.PushOwlNotifications},Vendor:function(){return F.Vendor},Quantity:function(){return A.Quantity},ProductMetafield:function(){return R.ProductMetafield},BlogPostMeta:function(){return W.BlogPostMeta},RechargeSubscriptions:function(){return H.RechargeSubscriptions},ReviewVitals:function(){return V.ReviewVitals},ReviewGrowave:function(){return U.ReviewGrowave},ReviewJudgeMe:function(){return G.ReviewJudgeMe},ReviewOpinew:function(){return $.ReviewOpinew},SealSubscription:function(){return Q.SealSubscription},SnowBall:function(){return Y.SnowBall},StampedBadge:function(){return Z.StampedBadge},StampedReviews:function(){return K.StampedReviews},SwymWishList:function(){return q.SwymWishList},TipoBooking:function(){return X.TipoBooking},TrustedBadge:function(){return J.TrustedBadge},TrustMeBadges:function(){return ee.TrustMeBadges},TrustProductRating:function(){return te.TrustProductRating},TrustProductReview:function(){return oe.TrustProductReview},TrustSeals:function(){return re.TrustSeals},SpecialOffers:function(){return ie.SpecialOffers},UploadKit:function(){return ne.UploadKit},Variations:function(){return ae.Variations},VideoShopping:function(){return le.VideoShopping},WideBundle:function(){return se.WideBundle},YotPoReview:function(){return ce.YotPoReview},ZeptoPersonalizer:function(){return de.ZeptoPersonalizer},ZoorixUpsell:function(){return ue.ZoorixUpsell},AliReviews:function(){return pe.AliReviews},SMSMarketing:function(){return fe.SMSMarketing},PickyStory:function(){return me.PickyStory},ReviewRivyo:function(){return ye.ReviewRivyo},UnlimitedBundles:function(){return ge.UnlimitedBundles},WiserUpsell:function(){return be.WiserUpsell},BoldBundles:function(){return he.BoldBundles},CrossSell:function(){return ve.CrossSell}});const r=o(97557),i=o(79675),n=o(68029),a=o(11279),l=o(80573),s=o(5294),c=o(10104),d=o(43843),u=o(16217),p=o(81115),f=o(76409),m=o(97453),y=o(39969),g=o(55038),b=o(71470),h=o(8071),v=o(88006),S=o(74723),w=o(10326),x=o(98495),M=o(48898),T=o(43512),P=o(14087),C=o(86814),k=o(46303),_=o(48424),O=o(71692),E=o(83205),z=o(9514),B=o(75572),j=o(84067),N=o(89367),I=o(40827),L=o(35348),D=o(39706),F=o(58922),A=o(92306),R=o(92096),W=o(99728),H=o(40544),V=o(66413),U=o(43795),G=o(31136),$=o(62565),Q=o(89609),Y=o(19372),Z=o(11254),K=o(60932),q=o(12448),X=o(51606),J=o(45532),ee=o(83840),te=o(7916),oe=o(60118),re=o(73089),ie=o(98856),ne=o(44438),ae=o(29103),le=o(90663),se=o(63197),ce=o(75600),de=o(77805),ue=o(13212),pe=o(6758),fe=o(5006),me=o(33805),ye=o(36046),ge=o(96991),be=o(15845),he=o(56186),ve=o(25154)},93814:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});const r=g(o(27378)),i=g(o(60042)),n=g(o(63692)),a=g(o(36275)),l=g(o(31440)),s=g(o(53125)),c=g(o(67439)),d=h(o(73588)),u=h(o(75821)),p=o(94220),f=o(57610),m=g(o(7006)),y=o(86022);function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const v=["topLeft","topCenter","topRight","centerLeft","centerRight","bottomLeft","bottomCenter","bottomRight"];class S extends n.default{static get componentId(){return"SoundCloud"}static defaultValue=m.default;handleResizerChange=e=>this.patchValue(e);getResizerRestrictions(e){return{height:{px:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},"%":{min:5,max:100}},width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletHeight:{px:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileHeight:{px:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}}}renderForEdit(e,t,o){const n=(0,i.default)("brz-soundcloud",(0,p.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o))),m=(0,i.default)("brz-iframe","intrinsic-ignore",{"brz-blocked":!0});let{url:g,autoPlay:b,showArtwork:h}=e;b="on"===b,h="on"===h;const S=`https://w.soundcloud.com/player/?url=${g}&auto_play=${b}&how_teaser=true&visual=${h}&`,w=g?r.default.createElement("div",{className:"brz-soundCloud-content"},r.default.createElement("iframe",{className:m,title:"sound-cloud",scrolling:"no",frameBorder:"no",src:S})):r.default.createElement(s.default,{icon:"sound-cloud"});return r.default.createElement(c.default,this.makeToolbarPropsFromConfig2(d,u),r.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(y.Wrapper,this.makeWrapperProps({className:n}),r.default.createElement(l.default,{points:v,restrictions:this.getResizerRestrictions(e),meta:this.props.meta,value:e,onChange:this.handleResizerChange},w))))}}const w=S},75821:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("SoundCloud");function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),devices:"desktop",icon:"nc-styling",options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},57610:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth","cssStyleSizeMinHeightPx"]},".brz &&:hover:before":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-soundCloud-content":{standart:["cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover iframe":{standart:["cssStyleSizeHeight"]}}})}},73588:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=o(57582);function c(e){let{v:t,device:o,state:c}=e;const d=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:c}),{hex:u}=(0,a.getOptionColorHexByPalette)(d("borderColorHex"),d("borderColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-sound-cloud",title:(0,i.t)("SoundCloud")},devices:"desktop",position:90,options:[{id:"url",label:(0,i.t)("Link"),type:"inputText-dev",devices:"desktop",placeholder:(0,i.t)("SoundCloud Link")},{id:"autoPlay",label:(0,i.t)("Autoplay"),type:"switch-dev",devices:"desktop"},(0,s.toolbarElementSoundCloudStyle)({v:t,device:o,devices:"desktop",state:"normal"})]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,d("borderColorOpacity"))}}},position:90,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[{id:"width",label:(0,i.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"height",label:(0,i.t)("Height"),type:"slider-dev",config:{min:d("smallHeight"),max:"on"===d("showArtwork")?d("largeHeight"):d("mediumHeight"),units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},33913:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=m(o(60042)),i=o(42162),n=m(o(27378)),a=m(o(31440)),l=m(o(67439)),s=m(o(63692)),c=o(94220),d=m(o(70096)),u=g(o(25269)),p=o(34332),f=g(o(81087));function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const b=["bottomCenter"],h={height:{px:{min:10,max:1/0},vh:{min:1,max:1/0},em:{min:1,max:1/0}},tabletHeight:{px:{min:10,max:1/0},vh:{min:1,max:1/0},em:{min:1,max:1/0}},mobileHeight:{px:{min:10,max:1/0},vh:{min:1,max:1/0},em:{min:1,max:1/0}}};class v extends s.default{static get componentId(){return"Spacer"}static defaultValue=d.default;handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const s=(0,r.default)("brz-spacer",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.style)(e,t,o)));return n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(f,u,{allowSidebarExtend:!1}),n.default.createElement(a.default,{points:b,restrictions:h,meta:this.props.meta,value:e,onChange:this.handleResizerChange},n.default.createElement(i.Gap,{className:s})))}renderForView(e,t,o){const a=(0,r.default)("brz-spacer",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.style)(e,t,o)));return n.default.createElement(i.Gap,{className:a})}}const S=v},25269:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Spacer");function i(){return[]}},34332:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeHeight"]}}})}},81087:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321);function n(e){let{v:t,device:o}=e;const n=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"});return[{id:"toolbarSettings",type:"popover-dev",config:{title:(0,r.t)("Settings")},position:110,options:[{id:"height",label:(0,r.t)("Height"),type:"slider-dev",config:{min:"px"===n("heightSuffix")?10:1,max:"px"===n("heightSuffix")?200:100,units:[{value:"px",title:"px"},{value:"vh",title:"vh"},{value:"em",title:"em"}]}}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}},82598:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=g(o(60042)),i=o(42162),n=g(o(27378)),a=o(54668),l=g(o(36275)),s=g(o(67439)),c=g(o(63692)),d=o(94220),u=o(86022),p=g(o(15659)),f=h(o(89083)),m=o(83907),y=h(o(87093));function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class v extends c.default{static get componentId(){return"StarRating"}static defaultValue=p.default;static experimentalDynamicContent=!0;handleTextChange=e=>{this.patchValue(e)};renderForEdit(e,t,o){const{iconName:c,iconType:p,label:g,rating:b,ratingScale:h,ratingStyle:v}=e,S=(0,r.default)("brz-starrating",(0,d.css)(this.constructor.componentId,this.getId(),(0,m.style)(e,t,o))),w=n.default.createElement(a.Text,{className:"brz-starrating-text",id:"text",v:e,onChange:this.handleTextChange});return n.default.createElement(s.default,this.makeToolbarPropsFromConfig2(y,f),n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(u.Wrapper,this.makeWrapperProps({className:S}),"style1"===v&&n.default.createElement(i.StarRating1,{label:w,showLeftLabel:"on"===g,showRightLabel:"on-right"===g,rating:b,ratingScale:h,iconName:c,iconType:p}),"style2"===v&&n.default.createElement(i.StarRating2,{showIcon:"off"!==g,rating:b,iconName:c,iconType:p}))))}renderForView(e,t,o){const{iconName:s,iconType:c,label:p,rating:f,ratingScale:y,ratingStyle:g}=e,b=(0,r.default)("brz-starrating",(0,d.css)(this.constructor.componentId,this.getId(),(0,m.style)(e,t,o))),h=n.default.createElement(a.Text,{className:"brz-starrating-text",id:"text",v:e,onChange:this.handleTextChange});return n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(u.Wrapper,this.makeWrapperProps({className:b}),"style1"===g&&n.default.createElement(i.StarRating1,{label:h,showLeftLabel:"on"===p,showRightLabel:"on-right"===p,rating:f,ratingScale:y,iconName:s,iconType:c}),"style2"===g&&n.default.createElement(i.StarRating2,{showIcon:"off"!==p,rating:f,iconName:s,iconType:c})))}}},89083:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return s},getItems:function(){return d}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(16526),l=o(69321),s=(0,n.t)("Rating"),c='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function d(e){let{v:t,device:o}=e;const i="style1"===("ratingStyle",(0,l.defaultValueValue)({v:t,key:"ratingStyle",device:o}));return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),options:[{id:"border",type:"corners-dev",label:(0,n.t)("Corner"),disabled:i}]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),options:[{id:"customCSS",label:(0,n.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:c},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,n.t)("Hover Transition"),disabled:(0,a.isStory)(r.default.getAll()),position:70,devices:"desktop",type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"border",type:"corners-dev",label:(0,n.t)("Corner"),devices:"responsive",disabled:i}]}]}]}},83907:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-starrating-text":{standart:["cssStyleElementStarRatingTextSpacing","cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-starrating-icon-wrap":{standart:["cssStyleSizeFontSizeIcon"]},".brz &&:hover .brz-starrating-container .brz-starrating-icon-wrap:not(:last-child)":{standart:["cssStyleElementStarRatingSpacing"]},".brz &&:hover .brz-starrating-container .brz-starrating-icon-wrap .brz-starrating-color-empty":{standart:["cssStyleElementStarRatingRatingBackgroundColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-starrating-container .brz-starrating-icon-wrap .brz-starrating-color":{standart:["cssStyleElementStarRatingRatingColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-starrating-style2-container":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorderRadius","cssStyleElementStarRatingDirection"]}}})}},87093:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81263),i=o(81405),n=o(64985),a=o(69321),l=o(68256),s=o(24119);function c(e){let{v:t,device:o,context:c}=e;const d=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),u=d("ratingScale"),p="off"===d("label"),f="style1"===d("ratingStyle"),{hex:m}=(0,l.getOptionColorHexByPalette)(d("ratingColorHex"),d("ratingColorPalette")),{hex:y}=(0,l.getOptionColorHexByPalette)(d("style2BgColorHex"),d("style2BgColorPalette")),g=(0,l.getDynamicContentOption)({options:c.dynamicContent.config,type:r.DCTypes.richText});return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-starrating",title:(0,n.t)("Rating")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",roles:["admin"],tabs:[{id:"tabCurrentElement",label:(0,n.t)("Rating"),options:[{id:"ratingScale",label:(0,n.t)("Rating scale"),type:"select-dev",devices:"desktop",choices:[{title:(0,n.t)("0-5"),value:5},{title:(0,n.t)("0-10"),value:10}]},{id:"ratingStyle",label:(0,n.t)("Style"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"style1",icon:"nc-rating-style-1"},{value:"style2",icon:"nc-rating-style-2"}]},{id:"groupStyle",type:"group-dev",options:[{id:"label",label:(0,n.t)("Label"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"on",icon:"nc-align-left"},{value:"on-right",icon:"nc-align-right"},{value:"off",icon:"nc-close"}]},{id:"spacing",label:(0,n.t)("Spacing"),type:"slider-dev",disabled:p,config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"rating",label:(0,n.t)("Rating"),type:"slider-dev",devices:"desktop",config:{min:0,max:u,step:.1,inputMin:0,inputMax:u,units:[{title:`/${u}`,value:`/${u}`}]},population:g}]},{id:"tabStarRatingIcons",label:f?(0,n.t)("Icons"):(0,n.t)("Icon"),options:[{id:"icon",label:(0,n.t)("Icon"),type:"iconSetter-dev",devices:"desktop",disabled:!f&&p},{id:"groupSettings",type:"group-dev",disabled:!f&&p,options:[{id:"iconSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:"custom"!==d("iconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"iconSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",disabled:!f,config:{min:0,max:20,units:[{value:"px",title:"px"}]}}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"xlarge":"auto",title:(0,n.t)("Typography")},disabled:p&&f,position:70,options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",align:"center",size:1,options:[{id:"",type:"typography-dev",disabled:p&&f,config:{fontFamily:"desktop"===o}}]},{id:"col-2",align:"center",size:"auto",options:[{id:"text",type:"population-dev",config:{...g,iconOnly:!0},disabled:void 0===g,devices:"desktop"}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:f?(0,i.hexToRgba)(m,d("ratingColorOpacity")):(0,i.hexToRgba)(y,d("style2BgColorOpacity"))}}},position:90,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",disabled:p&&f,states:[s.NORMAL,s.HOVER]}]},{id:"tabRating",label:(0,n.t)("Rating"),options:[{id:"ratingColor",type:"colorPicker-dev",devices:"desktop",disabled:!f,states:[s.NORMAL,s.HOVER]}]},{id:"tabBackground",label:(0,n.t)("Background"),options:[{id:f?"ratingBackgroundColor":"bgColor",type:"colorPicker-dev",devices:"desktop",states:[s.NORMAL,s.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,n.t)("Styling"),roles:["admin"],position:110,icon:"nc-cog"}]}},40606:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=o(65095),i=o(15393),n=o(9448),a=b(o(60042)),l=b(o(27378)),s=b(o(35301)),c=b(o(62035)),d=b(o(33364)),u=b(o(92823)),p=(o(73948),function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(67439))),f=b(o(10787)),m=o(74215),y=o(92213),g=o(64985);function b(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}const v=(0,c.default)((e=>{const{id:t,onClick:o,isActive:r,children:s}=e,{active:c,attributes:d,listeners:u,transform:p,transition:f,setNodeRef:m}=(0,i.useSortable)({id:t}),y=c?.id===t,g={transition:f,transform:n.CSS.Translate.toString(p),zIndex:y?1:0},b=(0,a.default)("story-slider-curtain",{"story-slider-dot--active":r});return l.default.createElement("li",{onClick:o,style:g,ref:m,...d,...u},l.default.createElement("div",{className:b}),l.default.createElement("div",{className:"story-slider-dot"},s))}),200),S=e=>{const{itemsIds:t,onClick:o,onSortEnd:n,onSortStart:a,children:s}=e,c=(0,r.useSensors)((0,r.useSensor)(r.PointerSensor,{activationConstraint:{distance:10}}),(0,r.useSensor)(r.KeyboardSensor));return l.default.createElement("ul",{className:"brz-slick-slider__dots"},l.default.createElement(r.DndContext,{onDragEnd:n,onDragStart:a,sensors:c,collisionDetection:r.closestCenter},l.default.createElement(i.SortableContext,{items:t},s)),l.default.createElement("li",{onClick:o},l.default.createElement("div",{className:"story-slider-curtain"}),l.default.createElement("div",{className:"brz-slick-slider__dots--add-new"},l.default.createElement(d.default,{icon:"nc-add"}))))};class w extends f.default{static get componentId(){return"Story.Items"}static defaultProps={className:"",meta:{}};state={active:0};componentDidUpdate(e,t){let{active:o}=t;this.state.active!==o&&this.slider.slickGoTo(this.state.active)}removeItem(e){super.removeItem(e),this.setState({active:Math.max(0,e-1)})}getToolbarSettings=e=>{const t=this.getDBValue();return{getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,g.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(e)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,g.t)("Delete"),disabled:1===t.length,position:250,onChange:()=>{(0,p.hideToolbar)(),this.removeItem(e)}},{id:"toolbarStories",type:"popover-dev",disabled:!0,options:[]},{id:"toolbarColor",type:"popover-dev",disabled:!0,options:[]},{id:"toolbarAutoplay",type:"popover-dev",disabled:!0,options:[]}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]}};getItemProps(){const{meta:e,itemProps:t}=this.props;return{meta:e,toolbarExtend:this.makeToolbarPropsFromConfig({getItemsForDesktop:()=>[{id:"duplicate",type:"button",disabled:!0},{id:"remove",type:"button",disabled:!0}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]}),...t}}handleSortEnd=e=>{let{active:t}=this.state;const{active:o,over:r}=e;if(!r)return;const n=this.getDBValue()||[],a=n.findIndex((e=>e.value._id===o.id)),l=n.findIndex((e=>e.value._id===r.id));if(a!==l){const e=(0,i.arrayMove)(n,a,l);this.handleValueChange(e)}a{this.setState({active:e})};handleAddStory=e=>{const t=(this.getDBValue()||[]).length,o={insertIndex:t};this.setState({active:t}),(0,y.getStore)().dispatch((0,m.importStory)(e,o))};handleAddNewElement=()=>{u.default.open({prompt:"blocks",mode:"single",props:{activeTab:"template",showTemplate:!0,showBlocks:!1,showSaved:!1,showGlobal:!1,templateSidebar:!0,blocksSidebar:!1,savedSidebar:!1,globalSidebar:!1,templateSearch:!0,blocksSearch:!1,savedSearch:!1,globalSearch:!1,onChangeTemplate:this.handleAddStory}})};renderDots=(e,t)=>{const o=e.map(((e,o)=>{const r=t[o]??{},i=o===this.state.active,n=r.value._id;return l.default.createElement(p.default,{key:n,...this.makeToolbarPropsFromConfig(this.getToolbarSettings(o))},l.default.createElement(v,{id:n,onClick:()=>this.handleClick(o),isActive:i},e))}));return l.default.createElement(S,{distance:5,axis:"x",helperClass:"slick-dots-is-dragging",itemsIds:t.map((e=>e.value._id)),onClick:this.handleAddNewElement,onSortEnd:this.handleSortEnd},o)};renderItemsContainer(e,t){return l.default.createElement(s.default,{className:"brz-slick-slider",ref:e=>{this.slider=e},centerMode:!1,centerPadding:"0px",variableWidth:!1,focusOnSelect:!1,alwaysShowDots:!0,slidesToShow:1,infinite:!0,slidesToScroll:1,initialSlide:0,swipe:!1,draggable:!1,accessibility:!1,arrows:!1,dots:!0,dotsClass:"brz-slick-slider__dots",fade:!1,verticalSwiping:!1,vertical:!1,appendDots:()=>this.renderDots(e,t)},e)}}const x=w},16223:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=o(70634),i=o(67439),n=o(16957),a=o(16526),l=o(64985),s="MacOS"===(0,n.detectOS)(),c=e=>({getItems:d(e)}),d=e=>(t,o)=>{const n=o.getCurrentCopiedElement();return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,l.t)("Copy"),helperText:()=>s?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,l.t)("Paste"),helperText:()=>s?"⌘ + V":"ctrl + V",inactive:!n,onChange:()=>{o.paste(e,(o=>{const{offsetX:i=0,offsetY:n=0}=t[e].value.items[0].value;let l=(0,r.setIn)(o,["value","items",0,"value","offsetX"],i);return l=(0,r.setIn)(l,["value","items",0,"value","offsetY"],n),(0,a.setOffsetsToElementFromWrapper)(l)}))}},{id:"pasteStyles",type:"button",title:(0,l.t)("Paste Styles"),helperText:()=>s?"⌘ + ⇧ + V":"ctrl + ⇧ + V",inactive:!n,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,l.t)("Duplicate"),helperText:()=>s?"⌘ + D":"ctrl + D",onChange:()=>o.insertItem(e+1,(0,a.setOffsetsToElementFromWrapper)(t[e]))},{id:"remove",type:"button",title:(0,l.t)("Delete"),helperText:()=>s?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,i.hideToolbar)(),o.removeItem(e)}}]}]}},79176:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=h(o(27378)),i=h(o(60042)),n=h(o(10301)),a=h(o(63692)),l=h(o(36275)),s=h(o(98781)),c=h(o(25382)),d=h(o(80544)),u=o(46338),p=o(67439),f=S(o(65325)),m=S(o(88192)),y=o(85730),g=o(94220),b=h(o(63894));function h(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class w extends a.default{static get componentId(){return"StoryItem"}static defaultProps={meta:{}};static defaultValue=b.default;collapsibleToolbarRef=r.default.createRef();shouldUpdateBecauseOfParent(e){return!n.default.isEqual(this.props.rerender,e.rerender)}shouldComponentUpdate(e){return this.optionalSCU(e)||this.shouldUpdateBecauseOfParent(e)}handleToolbarEscape=()=>{this.collapsibleToolbarRef.current.open()};getMeta(){const{meta:e}=this.props,t=Math.round(10*e.desktopW)/10,o=Math.round(10*e.tabletW)/10,r=Math.round(10*e.mobileW)/10;return{...e,mobileW:r,tabletW:o,desktopW:t}}renderToolbar(){return r.default.createElement(p.CollapsibleToolbar,{...this.makeToolbarPropsFromConfig2(f,m),ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft"})}renderItems(e){const t=this.getMeta(),o=(0,i.default)("brz-container",e.containerClassName),n=this.makeSubcomponentProps({bindWithKey:"items",className:o,meta:t});return r.default.createElement(c.default,{value:e,meta:t},r.default.createElement(s.default,n))}renderForEdit(e,t,o){const{className:n}=e,a=(0,i.default)("brz-section__content",n,(0,g.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,y.style)(e,t,o,this.props)));return r.default.createElement(d.default,{type:"story__item",activateOnContentClick:!1},(t=>{let{ref:o,attr:i}=t;return r.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{...i,id:this.getId(),className:a,ref:o},r.default.createElement(u.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e)},this.renderToolbar(),r.default.createElement(p.ToolbarExtend,{onEscape:this.handleToolbarEscape},this.renderItems(e)))))}))}renderForView(e,t,o){const{className:n}=e,a=(0,i.default)("brz-section__content",n,(0,g.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,y.style)(e,t,o,this.props)));return r.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:a},this.renderItems(e),r.default.createElement("div",{className:"brz-slick-slider__inner-arrow brz-slick-slider__inner-arrow-next"}),r.default.createElement("div",{className:"brz-slick-slider__inner-arrow brz-slick-slider__inner-arrow-prev"})))}}const x=w},98781:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=f(o(27378)),i=f(o(10787)),n=f(o(49127)),a=f(o(20013)),l=o(39552),s=f(o(24072)),c=o(16526),d=f(o(16223)),u=o(64985),p=o(67439);function f(e){return e&&e.__esModule?e:{default:e}}class m extends i.default{static get componentId(){return"StoryItem.Items"}static defaultProps={className:"",meta:{}};getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,u.t)("Duplicate"),position:200,onChange:()=>{const e=this.getDBValue()[t],o=(0,c.setOffsetsToElementFromWrapper)(e);this.insertItem(t+1,o)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,u.t)("Delete"),position:250,onChange:()=>{(0,p.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig(o)}}renderItemWrapper(e,t,o){const i=(0,d.default)(o);return r.default.createElement(l.ContextMenuExtend,{key:t,...this.makeContextMenuProps(i)},r.default.createElement(s.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){return 0===e.length?r.default.createElement("div",{className:this.props.className},r.default.createElement(a.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]})):r.default.createElement(n.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]},r.default.createElement("div",{className:this.props.className},e))}}const y=m},88192:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Story");function n(){return[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Styling"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[]}]}]}},85730:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o,i){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover > .brz-bg":{standart:["cssStyleBorder","cssStyleBorderRadius"]},".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition","cssStyleBgMediaImage"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"]},".brz &&:hover > .brz-bg > .brz-bg-map":{standart:["cssStyleFilter","cssStyleBgMediaMap"]},".brz &&:hover > .brz-bg > .brz-bg-video":{standart:["cssStyleFilter","cssStyleBgMediaVideo"]}},props:i})}},65325:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81263),i=o(81405),n=o(64985),a=o(69321),l=o(68256),s=o(57582);function c(e){let{v:t,component:o,device:c,context:d}=e;const u=e=>(0,a.defaultValueValue)({v:t,key:e,device:c}),{hex:p}=(0,l.getOptionColorHexByPalette)(u("bgColorHex"),u("bgColorPalette")),f=(0,l.getDynamicContentOption)({options:d.dynamicContent.config,type:r.DCTypes.image});return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,n.t)("Background")},position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,n.t)("Background"),options:[{id:"media",label:(0,n.t)("Type"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"image",icon:"nc-media-image"},{value:"video",icon:"nc-media-video"},{value:"map",icon:"nc-media-map"}]},{label:(0,n.t)("Image"),id:"bg",type:"imageUpload-dev",disabled:"image"!==u("media"),population:f},(0,s.toolbarBgVideoUrl)({v:t,device:c,devices:"desktop",disabled:"video"!==u("media"),state:"normal"}),{id:"bgVideoLoop",label:(0,n.t)("Loop"),type:"switch-dev",devices:"desktop",disabled:"video"!==u("media")},{id:"bgVideoStart",type:"number-dev",label:(0,n.t)("Start"),devices:"desktop",disabled:"video"!==u("media"),config:{size:"short",spinner:!1,max:99999},helper:{content:(0,n.t)("Specify a start time (in seconds)")}},{id:"bgMapAddress",label:(0,n.t)("Address"),type:"inputText-dev",placeholder:(0,n.t)("Enter address"),devices:"desktop",disabled:"map"!==u("media")},{id:"bgMapZoom",label:(0,n.t)("Zoom"),type:"slider-dev",disabled:"map"!==u("media"),config:{min:1,max:21}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(p,u("bgColorOpacity"))}}},position:90,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,n.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev"}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev"}]}]}]},{id:"makeItSaved",type:"savedBlock-dev",devices:"desktop",position:90,disabled:!0,config:{icon:"nc-save-section",blockType:"normal",title:(0,n.t)("Save"),tooltipContent:(0,n.t)("Saved"),blockId:o.getId()}},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,n.t)("More Settings"),roles:["admin"],position:110,icon:"nc-cog"}]}},92343:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=f(o(60042)),i=f(o(27378)),n=f(o(63692)),a=o(94220),l=f(o(40606)),s=f(o(10030)),c=y(o(59694)),d=o(92292),u=y(o(16241)),p=o(79669);function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class g extends n.default{static get componentId(){return"Story"}static defaultProps={meta:{}};static defaultValue=s.default;getMeta(){const{meta:e}=this.props,t=p.DW,o=p.TW,r=p.MW,i=Math.round(10*t)/10,n=Math.round(10*o)/10,a=Math.round(10*r)/10;return Object.assign({},e,{desktopW:i,tabletW:n,mobileW:a,blockId:this.props.blockId,section:{isSlider:!0}})}shouldComponentUpdate(e){return this.optionalSCU(e)}renderItems(e){const{sliderLoop:t,sliderAutoPlay:o,sliderAutoPlaySpeed:r,sliderAnimation:n,cssClassPopulation:a,customClassName:s}=e,d=this.makeSubcomponentProps({sliderLoop:t,sliderAnimation:n,sliderAutoPlay:o,sliderAutoPlaySpeed:r,itemProps:{rerender:{sliderLoop:t,sliderAutoPlay:o,sliderAutoPlaySpeed:r,cssClassPopulation:a,customClassName:s}},bindWithKey:"items",meta:this.getMeta(),toolbarExtend:this.makeToolbarPropsFromConfig2(u,c)});return i.default.createElement(l.default,d)}renderForEdit(e,t,o){const{className:n,customClassName:l,cssClassPopulation:s}=e,c=(0,r.default)("brz-section","brz-story",n,""===s?l:s,(0,a.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,d.styleSection)(e,t,o)));return i.default.createElement("section",{id:this.getId(),className:c,"data-block-id":this.props.blockId,"data-uid":this.getId()},this.renderItems(e))}renderForView(e,t,o){const{className:n,customClassName:l,cssClassPopulation:s}=e,c=(0,r.default)("brz-section","brz-story",n,""===s?l:s,(0,a.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,d.styleSection)(e,t,o)));return i.default.createElement("section",{className:c,"data-uid":this.getId()},this.renderItems(e))}}const b=g},59694:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(81263),i=o(64985),n=o(68256);function a(e){let{context:t}=e;const o=(0,n.getDynamicContentOption)({options:t.dynamicContent.config,type:r.DCTypes.richText});return[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,i.t)("Styling"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),icon:"nc-cog",options:[{id:"cssClass",label:(0,i.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:o,option:{id:"customClassName",type:"inputText-dev"}}]}]}]}},92292:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styleSection",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleDisplayBlock"]},".brz &&:hover .brz-section__content":{standart:["cssStyleDisplayFlex"]},".brz && .brz-slick-slider__dots > li:first-child.slick-active::after":{standart:["cssStyleStoryFristSlideProgress"]},".brz && .brz-slick-slider__dots > li.slick-active::after":{standart:["cssStyleStoryProgress"]}}})}},16241:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321);function n(e){let{v:t,device:o}=e;const n=e=>(0,i.defaultValueValue)({v:t,key:e,device:o});return[{id:"toolbarAutoplay",type:"popover-dev",config:{icon:"nc-play",title:(0,r.t)("Autoplay")},position:70,options:[{id:"sliderAutoPlayGroup",type:"group-dev",devices:"desktop",options:[{id:"sliderAutoPlay",label:(0,r.t)("Autoplay"),type:"switch-dev"},{id:"sliderAutoPlaySpeed",label:(0,r.t)("Speed"),type:"slider-dev",disabled:"on"!==n("sliderAutoPlay"),config:{min:1,max:6,step:.1,units:[{value:"s",title:"s"}]}}]},{id:"sliderLoop",label:(0,r.t)("Loop"),type:"switch-dev",devices:"desktop",disabled:"on"!==n("sliderAutoPlay")}]}]}},79669:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{DW:function(){return o},TW:function(){return r},MW:function(){return i},DH:function(){return n},TH:function(){return a},MH:function(){return l}});const o=400,r=400,i=400,n=800,a=800,l=800},48337:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(i=o(95664))&&i.__esModule?i:{default:i};var i;const n=o(64985),a={RichText:(0,n.t)("Text"),Image:(0,n.t)("Image"),Video:(0,n.t)("Video"),VideoPlaylist:(0,n.t)("Playlist"),Spacer:(0,n.t)("Spacer"),Line:(0,n.t)("Line"),Map:(0,n.t)("Map"),EmbedCode:(0,n.t)("Embed"),Form:(0,n.t)("Form"),Form2:(0,n.t)("Form"),IconText:(0,n.t)("Icon Box"),SoundCloud:(0,n.t)("SoundCloud"),Counter:(0,n.t)("Counter"),Countdown:(0,n.t)("Countdown"),Countdown2:(0,n.t)("Countdown"),Tabs:(0,n.t)("Tabs"),TimeLine:(0,n.t)("Timeline"),BusinessHour:(0,n.t)("Business Hour"),Switcher:(0,n.t)("Switcher"),ProgressBar:(0,n.t)("Progress"),Accordion:(0,n.t)("Accordion"),ImageGallery:(0,n.t)("Gallery"),Carousel:(0,n.t)("Carousel"),Row:(0,n.t)("Row"),Column:(0,n.t)("Column"),WPSidebar:(0,n.t)("Sidebar"),WPCustomShortcode:(0,n.t)("Shortcode"),WPPostsTitle:(0,n.t)("Post Title"),WPNavigation:(0,n.t)("Menu"),WPPostExcerpt:(0,n.t)("Post Excerpt"),WPPostNavigation:(0,n.t)("Post Navigation"),Posts:(0,n.t)("Posts"),Archives:(0,n.t)("Archives"),Menu:(0,n.t)("Menu"),FacebookButton:(0,n.t)("Facebook Button"),FacebookComments:(0,n.t)("Comments"),FacebookEmbed:(0,n.t)("Facebook Embed"),FacebookPage:(0,n.t)("Facebook Page"),FacebookGroup:(0,n.t)("Facebook Group"),WPBreadcrumbs:(0,n.t)("Breadcrumbs"),WPPostInfo:(0,n.t)("Post Info"),WPPostContent:(0,n.t)("Post Content"),Audio:(0,n.t)("Audio"),Twitter:(0,n.t)("Twitter"),Facebook:(0,n.t)("Facebook"),WPComments:(0,n.t)("Comments"),Search:(0,n.t)("Search"),WOOProductMeta:(0,n.t)("Product Meta"),WOORating:(0,n.t)("Product Rating"),WOOCart:(0,n.t)("WooCommerce Cart"),Login:(0,n.t)("Login"),Shape:(0,n.t)("Shape"),Icon:(0,n.t)("Icon"),Button:(0,n.t)("Button")},l={getItems:function(e){const{essentials:t}=r.default.getShortcodes(),{icon:o=""}=t.find((t=>t.component.resolve.value.items?.type===e.items[0].type))||{};return[{id:"main",type:"group",title:a[e.items[0].type],icon:o,items:[]}]}}},50737:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"StoryWrapper",{enumerable:!0,get:function(){return E}});const r=O(o(27378)),i=k(o(63692)),n=k(o(10787)),a=o(46338),l=O(o(66518)),s=O(o(53927)),c=k(o(48337)),d=k(o(63034)),u=k(o(39552)),p=O(o(59638)),f=k(o(60042)),m=o(63744),y=o(69321),g=O(o(24119)),b=o(97045),h=o(92213),v=O(o(71162)),S=o(76742),w=o(94220),x=k(o(80544)),M=O(o(67439)),T=O(o(23563)),P=O(o(29351)),C=k(o(58566));function k(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_=function(e){return e?o:t})(e)}function O(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class E extends i.default{static get componentId(){return"StoryWrapper"}static defaultValue=d.default;toolbarRef=(0,r.createRef)();handleExtendParentToolbar=e=>{this.childToolbarExtend=e};renderForEdit(e,t,o){const i="on"===e.showToolbar||"admin"!==(0,a.currentUserRole)()?e=>e.filter((e=>"duplicate"!==e.id&&"remove"!==e.id)):null,d=g.mRead(e.tabsState),p=(0,b.deviceModeSelector)((0,h.getStore)().getState()),f="relative"===v.getPosition((t=>(0,y.defaultValueValue)({v:e,key:t,device:p,state:d})));return r.default.createElement(x.default,{type:"wrapper",color:"grey",borderStyle:"dotted",buttonPosition:"topRight",renderButtonWrapper:this.renderToolbar},(a=>{let{ref:d,attr:p,border:m,button:y}=a;const g=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{toolbarExtend:this.makeToolbarPropsFromConfig2(l,s,{allowExtendFromChild:!1,parentItemsFilter:i}),extendParentToolbar:this.handleExtendParentToolbar,meta:this.props.meta,wrapperExtend:{ref:d,attributes:p,className:this.getWrapperClassName(e,t,o),animationClass:this.getAnimationClassName(e,t,o),renderContent:t=>{const o=f?r.default.createElement(S.SortableElement,{type:"shortcode"},t):t;return r.default.createElement(r.default.Fragment,null,"on"===e.showToolbar?r.default.createElement(M.ToolbarExtend,{onEscape:this.handleToolbarEscape},o,y):o,m)}}}});return r.default.createElement(u.default,{...this.makeContextMenuProps(c.default),componentId:e?.items[0]?.type??""},r.default.createElement(n.default,g))}))}renderForView(e,t,o){const i=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:this.props.meta,wrapperExtend:{className:this.getWrapperClassName(e,t,o),animationClass:this.getAnimationClassName(e,t,o)}}});return r.default.createElement(n.default,i)}getWrapperClassName=(e,t,o)=>{const{customClassName:r,cssClassPopulation:i}=e,n=""===i?p.mRead(r):p.mRead(i);return(0,f.default)((0,w.css)(this.getComponentId(),this.getId(),(0,m.styleWrapper)(e,t,o)),"brz-wrapper",n)};getAnimationClassName=(e,t,o)=>(0,f.default)((0,y.validateKeyByProperty)(e,"animationName","none")&&(0,w.css)(`${this.getComponentId()}-animation,`,`${this.getId()}-animation`,(0,m.styleAnimation)(e,t,o)));handleToolbarEscape=()=>this.toolbarRef.current?.show();renderToolbar=e=>r.default.createElement(M.default,{...this.makeToolbarPropsFromConfig2(T,P),ref:this.toolbarRef},r.default.createElement(C.default,null,r.default.createElement(e,null)))}},29351:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(81263),i=o(64985),n=o(68256);function a(e){let{context:t}=e;const o=(0,n.getDynamicContentOption)({options:t.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),icon:"nc-cog",options:[{id:"zIndex",type:"slider-dev",position:20,label:(0,i.t)("Z-index"),config:{min:0,max:100}},{id:"rotate",type:"slider-dev",position:21,label:(0,i.t)("Rotate"),config:{min:0,max:360,units:[{is:"deg",title:"deg"}]}},{id:"cssID",label:(0,i.t)("CSS ID"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:o,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,i.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:o,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,i.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."}}]}]}]},{id:"effects",title:(0,i.t)("Effects"),label:(0,i.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,i.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},53927:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81263),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,context:l}=e;if("on"===("showToolbar",(0,n.defaultValueValue)({v:t,key:"showToolbar",device:o})))return[];const s=(0,a.getDynamicContentOption)({options:l.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),icon:"nc-cog",options:[{id:"zIndex",type:"slider-dev",position:20,label:(0,i.t)("Z-index"),config:{min:0,max:100}},{id:"rotate",type:"slider-dev",position:21,label:(0,i.t)("Rotate"),config:{min:0,max:360,units:[{is:"deg",title:"deg"}]}},{id:"cssID",label:(0,i.t)("CSS ID"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:s,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,i.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:s,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,i.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."}}]}]}]},{id:"effects",title:(0,i.t)("Effects"),label:(0,i.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,i.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},63744:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleWrapper:function(){return n},styleAnimation:function(){return i.styleAnimation}});const r=o(94220),i=o(48382);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleDisplayFlex","cssStyleZIndexStory","cssStyleCustomPosition","cssStyleWrapperFixedFlex","cssStyleRotate"]}}})}},23563:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},66518:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},48696:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(67439),i=o(16957),n=o(64985),a=e=>({getItems:s(e)}),l="MacOS"===(0,i.detectOS)(),s=e=>(t,o)=>{const i=o.getCurrentCopiedElement(),a="Row"===t[e].type,s=i&&(a||t[e].type===i.type),c=s&&(a||i.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,n.t)("Copy"),helperText:()=>l?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,n.t)("Paste"),helperText:()=>l?"⌘ + V":"ctrl + V",inactive:!s,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,n.t)("Paste Styles"),inactive:!c,helperText:()=>l?"⌘ + ⇧ + V":"ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,n.t)("Duplicate"),helperText:()=>l?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,n.t)("Delete"),helperText:()=>l?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},68793:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=f(o(27378)),i=f(o(60042)),n=f(o(63692)),a=o(73948),l=f(o(68984)),s=f(o(67865)),c=o(66848),d=f(o(67439)),u=f(o(45771)),p=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(48833));function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}class y extends n.default{static get componentId(){return"SwitcherTab"}static defaultProps={meta:{}};static defaultValue=s.default;handleLabelChange=e=>{this.patchValue({labelText:e})};renderNav(e){const{iconName:t,iconType:o,labelText:n}=e,{active:l,onChangeNav:s}=this.props,u=(0,i.default)("brz-switcher__nav--item",{"brz-switcher__nav--item--active":l});return r.default.createElement("div",{className:u,onClick:s},r.default.createElement(d.default,this.makeToolbarPropsFromConfig2(p),r.default.createElement("div",{className:"brz-switcher__nav--button"},t&&o&&r.default.createElement(a.ThemeIcon,{name:t,type:o}),r.default.createElement(c.TextEditor,{value:n,onChange:this.handleLabelChange}))))}renderContent(){const{meta:e,active:t,animationClassName:o,meta:{sectionPopup:n,sectionPopup2:a}}=this.props,s=(0,i.default)("brz-switcher__content--tab","brz-flex-xs-column",{"brz-switcher__content--tab--active":t}),c=this.makeSubcomponentProps({meta:e,bindWithKey:"items",className:"brz-d-xs-flex brz-flex-xs-column"});return r.default.createElement(u.default,{iterationCount:1,component:"div",componentProps:{className:s},animationClass:o},r.default.createElement(l.default,c))}renderForEdit(e){const{renderType:t}=this.props;return"content"===t?this.renderContent(e):this.renderNav(e)}}const g=y},68984:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),i=p(o(10787)),n=o(67439),a=p(o(49127)),l=p(o(20013)),s=o(39552),c=p(o(24072)),d=p(o(48696)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends i.default{static get componentId(){return"SwitcherTab.Items"}static defaultProps={className:"",meta:{}};handleSortableAcceptElements=e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0};getItemProps(e,t){const o={getItems:()=>[{id:"duplicate",type:"button",title:(0,u.t)("Duplicate"),icon:"nc-duplicate",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",title:(0,u.t)("Delete"),icon:"nc-trash",position:210,onChange:()=>{(0,n.hideToolbar)(),this.removeItem(t)}}]},r=this.makeToolbarPropsFromConfig2(o);return{meta:this.props.meta,toolbarExtend:r}}renderItemsContainer(e){return 0===e.length?r.default.createElement("div",{className:this.props.className},r.default.createElement(l.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements})):r.default.createElement(a.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements},r.default.createElement("div",{className:this.props.className},e))}renderItemWrapper(e,t,o){const i=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(i)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}}const m=f},48833:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321);function n(e){let{v:t,device:o}=e;const n=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),a=n("iconName"),l=n("iconType");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-switcher",title:(0,r.t)("Switcher")},position:70,options:[{id:"currentShortcodeSwitcher",type:"tabs-dev",tabs:[{id:"currentShortcodeIcon",label:(0,r.t)("Icon"),options:[{id:"icon",label:(0,r.t)("Icon"),type:"iconSetter-dev",devices:"desktop",config:{canDelete:!0}},...a&&l?[]:[{id:"iconPosition",type:"radioGroup-dev",disabled:!0},{id:"groupIconSizesPicker",type:"group-dev",disabled:!0},{id:"iconSpacing",type:"slider-dev",disabled:!0}]]}]}]}]}},77542:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=o(64985),i={getItems:function(){return[{id:"main",type:"group",title:(0,r.t)("Switcher"),icon:"nc-switcher",disabled:(e,t)=>t.isInSubMenu,items:[]}]}}},11880:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return z}});const r=k(o(60042)),i=k(o(27378)),n=o(10301),a=k(o(39552)),l=o(66848),s=k(o(36275)),c=o(73948),d=k(o(67439)),u=k(o(63692)),p=o(97045),f=o(92213),m=o(94220),y=o(69321),g=O(o(24119)),b=o(86022),h=k(o(77542)),v=k(o(17175)),S=k(o(52758)),w=O(o(63364)),x=O(o(56413)),M=o(38687),T=O(o(54429)),P=O(o(6992)),C=O(o(52703));function k(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_=function(e){return e?o:t})(e)}function O(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class E extends u.default{static get componentId(){return"Switcher"}static defaultProps={meta:{},extendParentToolbar:n.noop};static defaultValue=v.default;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(P,x,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}handleChange=e=>{this.patchValue(e)};handleChangeNav=e=>{this.handleChange({activeTab:e})};dvv=e=>{const t=this.getValue(),o=(0,p.deviceModeSelector)((0,f.getStore)().getState()),r=g.mRead(t.tabsState);return(0,y.defaultValueValue)({v:t,key:e,device:o,state:r})};getAnimationClassName=(e,t,o)=>{if(!(0,y.validateKeyByProperty)(e,"animationName","none"))return;const i=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,m.css)(`${this.getComponentId()}-animation-${i}`,`${this.getId()}-animation-${i}`,(0,M.styleAnimation)(e,t,o)))};renderNav(e,t,o){const{activeTab:n,labelText1:a,labelText2:s,firstIconName:u,firstIconType:p,secondIconName:f,secondIconType:y}=e,g=(0,r.default)("brz-switcher__nav2--control",{"brz-switcher__nav2--control--active":0===n},(0,m.css)(this.constructor.componentId,this.getId(),(0,M.style)(e,t,o)));return i.default.createElement("div",{className:"brz-switcher__nav2"},Array(2).fill().map(((e,t)=>{const o=(0,r.default)("brz-switcher__nav2--button",{"brz-switcher__nav2__item--active":n===t});return i.default.createElement(i.default.Fragment,{key:t},i.default.createElement(d.default,this.makeToolbarPropsFromConfig2(0===t?T:C,w,{allowExtend:!1}),i.default.createElement("div",{className:o},0===t&&u&&p&&i.default.createElement(c.ThemeIcon,{name:u,type:p}),0===t&&i.default.createElement(l.TextEditor,{className:"brz-switcher__nav2__item",value:a,onChange:e=>this.handleChange({labelText1:e})}),1===t&&f&&y&&i.default.createElement(c.ThemeIcon,{name:f,type:y}),1===t&&i.default.createElement(l.TextEditor,{className:"brz-switcher__nav2__item",value:s,onChange:e=>this.handleChange({labelText2:e})}))),0===t&&i.default.createElement("div",{onClick:()=>{this.handleChangeNav(0===n?1:0)},className:g}))})))}renderForEdit(e,t,o){const{activeTab:n,customCSS:l,switcherStyle:c,iconName:d,iconType:u}=e,p=this.makeSubcomponentProps({activeTab:n,iconName:d,iconType:u,bindWithKey:"items",renderType:"nav",meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(T,w,{allowExtend:!1}),onChangeNav:this.handleChangeNav}),f=this.getAnimationClassName(e,t,o),y=this.makeSubcomponentProps({activeTab:n,iconName:d,iconType:u,animationClassName:f,bindWithKey:"items",renderType:"content",meta:this.props.meta}),g=(0,r.default)("brz-switcher",{"brz-switcher--style2":"style-2"===c},(0,m.css)(this.constructor.componentId,this.getId(),(0,M.style)(e,t,o))),v=(0,r.default)("brz-switcher__nav",{"brz-switcher__nav--active":0===n});return i.default.createElement(s.default,{selectorName:this.getId(),css:l},i.default.createElement(a.default,this.makeContextMenuProps(h.default),i.default.createElement(b.Wrapper,this.makeWrapperProps({className:g}),"style-2"===c?this.renderNav(e,t,o):i.default.createElement("div",{className:v},i.default.createElement(S.default,p)),i.default.createElement(S.default,y))))}}const z=E},52758:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(10301),i=o(70634),n=(a=o(10787))&&a.__esModule?a:{default:a};var a;class l extends n.default{static get componentId(){return"Switcher.Items"}static defaultProps={className:"",renderType:"",style:{},meta:{},onChangeNav:r.noop};getItemProps(e,t){const{renderType:o,meta:r,activeTab:i,animationClassName:n,toolbarExtend:a,onChangeNav:l}=this.props;return{meta:r,renderType:o,animationClassName:n,toolbarExtend:a,active:t===i,onChangeNav:()=>{t!==i&&l(t)}}}removeItem(e){const t=this.getDBValue()||[],o=(0,i.removeAt)(t,e);this.props.onChangeNav(0),setTimeout((()=>{this.handleValueChange(o,{arrayOperation:"remove"})}),0)}}const s=l},63364:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321);function n(e){let{v:t,device:o}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Styling"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,disabled:"style-2"===("switcherStyle",(0,i.defaultValueValue)({v:t,key:"switcherStyle",device:o}))},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]}]}]},{id:"effects",title:(0,r.t)("Effects"),label:(0,r.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,r.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},56413:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Switcher"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling"},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"}]}]}]}]}]}},38687:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return i},styleAnimation:function(){return n}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && > .brz-switcher__nav":{standart:["cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleBgColor","cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow","cssStyleElementSwitcherNavSpacing","cssStyleElementSwitcherWidth"]},".brz && > .brz-switcher__nav:before":{standart:["cssStyleBorderRadius","cssStyleElementSwitcherNavBeforeBg"]},".brz && > .brz-switcher__nav .brz-switcher__nav--item":{standart:["cssStyleColor","cssStylePaddingFourFields"]},".brz && > .brz-switcher__nav .brz-switcher__nav--item--active":{standart:["cssStyleElementSwitcherActiveTextColor"]},".brz && .brz-switcher__nav--button":{standart:["cssStyleElementSwitcherBtnIconPosition"]},".brz && .brz-switcher__nav--button .brz-icon-svg":{standart:["cssStyleSizeFontSizeIcon","cssStyleElementSwitcherBtnSpacing"]},".brz &&:hover > .brz-switcher__nav2":{standart:["cssStyleColor","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleElementSwitcherNavSpacing"]},".brz &&:hover > .brz-switcher__nav2 .brz-switcher__nav2--control":{standart:["cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleBgColor","cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow","cssStyleElementSwitcherNav2Height","cssStyleElementSwitcherNav2Width"]},".brz &&:hover .brz-switcher__nav2--button":{standart:["cssStyleElementSwitcherBtnIconPosition"]},".brz &&:hover .brz-switcher__nav2--button .brz-icon-svg":{standart:["cssStyleElementSwitcherBtnSpacing","cssStyleSizeFontSizeIcon"]},".brz &&:hover > .brz-switcher__nav2 .brz-switcher__nav2--control:before":{standart:["cssStyleBorderRadius","cssStyleElementSwitcherNavBeforeBg"]},".brz &&:hover > .brz-switcher__nav2 .brz-switcher__nav2__item--active .brz-switcher__nav2__item":{standart:["cssStyleElementSwitcherActiveTextColor"]},".brz &&:hover > .brz-switcher__nav2 .brz-switcher__nav2__item--active .brz-icon-svg":{standart:["cssStyleElementSwitcherActiveTextColor"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},54429:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),d=c("switcherStyle"),u=c("firstIconName"),p=c("firstIconType"),{hex:f}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-switcher",title:(0,i.t)("Switcher")},position:70,options:[{id:"currentShortcodeSwitcher",type:"tabs-dev",tabs:[{id:"currentShortcodeSwitcher",label:(0,i.t)("Switcher"),position:10,options:[{id:"switcherStyle",label:(0,i.t)("Style"),type:"radioGroup-dev",disabled:"tablet"===o||"mobile"===o,choices:[{value:"style-1",icon:"nc-switcher-style-1"},{value:"style-2",icon:"nc-switcher-style-2"}]},{id:"spacing",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"currentShortcodeIcon",devices:"desktop",label:(0,i.t)("Icon"),options:[..."style-1"===d?[]:[{id:"firstIcon",label:(0,i.t)("Icon"),type:"iconSetter-dev",devices:"desktop",config:{canDelete:!0}}],..."style-1"===d||u&&p?[{id:"iconPosition",label:(0,i.t)("Position"),type:"radioGroup-dev",choices:[{value:"left",icon:"nc-align-left"},{value:"top",icon:"nc-align-top"},{value:"right",icon:"nc-align-right"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"groupIconSizesPicker",type:"group-dev",options:[{id:"iconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:"custom"!==c("iconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"iconSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]:[]]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},roles:["admin"],position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(f,c("bgColorOpacity"))}}},devices:"desktop",roles:["admin"],position:90,options:[{id:"color",type:"tabs-dev",tabs:[{id:"bg",label:(0,i.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"text",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"border",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev"}]},{id:"shadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[{id:"navStyle2Size",label:(0,i.t)("Size"),type:"slider-dev",disabled:"style-1"===d,config:{min:25,max:100,units:[{value:"px",title:"px"}]}},{id:"navStyle1Width",label:(0,i.t)("Width"),type:"slider-dev",disabled:"style-2"===d,config:{min:0,max:1e3,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},6992:(e,t)=>{"use strict";function o(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},52703:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette")),u=c("secondIconName"),p=c("secondIconType"),f=c("switcherStyle");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-switcher",title:(0,i.t)("Switcher")},position:70,options:[{id:"currentShortcodeSwitcher",type:"tabs-dev",tabs:[{id:"currentShortcodeSwitcher",label:(0,i.t)("Switcher"),position:10,options:[{id:"switcherStyle",label:(0,i.t)("Style"),type:"radioGroup-dev",choices:[{value:"style-1",icon:"nc-switcher-style-1"},{value:"style-2",icon:"nc-switcher-style-2"}]},{id:"spacing",type:"slider-dev",label:(0,i.t)("Spacing"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"currentShortcodeIcon",devices:"desktop",label:(0,i.t)("Icon"),options:[{id:"secondIcon",label:(0,i.t)("Icon"),type:"iconSetter-dev",devices:"desktop",config:{canDelete:!0}},...u&&p?[{id:"iconPosition",label:(0,i.t)("Position"),type:"radioGroup-dev",choices:[{value:"left",icon:"nc-align-left"},{value:"top",icon:"nc-align-top"},{value:"right",icon:"nc-align-right"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"groupIconSizesPicker",type:"group-dev",options:[{id:"iconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:"custom"!==c("iconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"iconSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]:[]]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},roles:["admin"],position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("bgColorOpacity"))}}},devices:"desktop",roles:["admin"],position:90,options:[{id:"color",type:"tabs-dev",tabs:[{id:"bg",label:(0,i.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"text",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"border",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev"}]},{id:"shadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[{id:"navStyle2Size",label:(0,i.t)("Size"),type:"slider-dev",disabled:"style-1"===f,config:{min:25,max:100,units:[{value:"px",title:"px"}]}},{id:"navStyle1Width",label:(0,i.t)("Width"),type:"slider-dev",disabled:"style-2"===f,config:{min:0,max:1e3,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},7461:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=f(o(27378)),i=f(o(63692)),n=f(o(85625)),a=o(66848),l=o(73948),s=f(o(67439)),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(87873)),d=o(94220),u=o(7213),p=f(o(60042));function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}class y extends i.default{static get componentId(){return"TableAside"}static defaultProps={meta:{}};static defaultValue=n.default;handleLabelChange=e=>{this.patchValue({labelText:e})};renderForEdit(e,t,o){const{name:i,type:n,labelText:f}=e,m=(0,p.default)("brz-table__th","brz-table__aside",(0,d.css)(this.constructor.componentId,this.getId(),(0,u.style)(e,t,o)));return r.default.createElement(r.default.Fragment,null,r.default.createElement(s.default,this.makeToolbarPropsFromConfig2(c),r.default.createElement("th",{className:m},r.default.createElement("div",{className:"brz-table__th--btn"},i&&n&&r.default.createElement(l.ThemeIcon,{name:i,type:n}),r.default.createElement(a.TextEditor,{value:f,onChange:this.handleLabelChange})))))}}const g=y},7213:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:[]}}})}},87873:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321);function n(e){let{v:t,device:o,state:n}=e;const a=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:n}),l=""===a("name")&&""===a("type");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-star",title:(0,r.t)("Table")},position:50,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,r.t)("Icon"),position:60,options:[{id:"",label:(0,r.t)("Icon"),type:"iconSetter-dev",devices:"desktop",config:{canDelete:!0}},...l?[{id:"iconPosition",type:"radioGroup-dev",disabled:!0,choices:[]},{id:"groupIconSize",type:"group-dev",disabled:!0,options:[]},{id:"iconSpacing",type:"slider-dev",disabled:!0}]:[]]}]}]}]}},29214:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=p(o(27378)),i=p(o(63692)),n=p(o(10787)),a=p(o(48534)),l=o(94220),s=o(91967),c=p(o(60042)),d=m(o(75001)),u=m(o(61438));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class y extends i.default{static get componentId(){return"TableBody"}static defaultProps={meta:{}};static defaultValue=a.default;renderForEdit(e,t,o){const{meta:i}=this.props,a=(0,c.default)("brz-table__body",(0,l.css)(this.constructor.componentId,this.getId(),(0,s.style)(e,t,o))),p=this.makeSubcomponentProps({bindWithKey:"items",sliceEndIndex:i.table.rows,itemProps:{meta:i,toolbarExtend:this.makeToolbarPropsFromConfig2(d,u)}});return r.default.createElement("tbody",{className:a},r.default.createElement(n.default,p))}}const g=y},61438:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Table Sidebar");function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[]}]}]}]}]}},91967:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:[]},".brz &&:hover .brz-table__th.brz-table__th":{standart:["cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleBgColor","cssStyleColor","cssStyleBorder","cssStylePaddingFourFields"]},".brz &&:hover .brz-table__tr:nth-child(even) .brz-table__th":{standart:["cssStyleElementTableEvenBgColor","cssStyleElementTableEvenColor"]},".brz && .brz-table__th--btn":{standart:["cssStyleElementTableBtnIconPosition","cssStyleElementTableCustomFlexHorizontalAlign","cssStyleTextAlign"]},".brz && .brz-table__th .brz-icon-svg":{standart:["cssStyleElementTableSpacing","cssStyleSizeFontSizeIcon"]}}})}},75001:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({key:e,v:t,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgColorHex"),s("bgColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-star",title:(0,i.t)("Table")},position:50,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,i.t)("Icon"),position:60,options:[{id:"iconPosition",label:(0,i.t)("Position"),type:"radioGroup-dev",choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"groupIconSize",type:"group-dev",options:[{id:"iconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:"custom"!==s("iconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"iconSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:50,units:[{value:"px",title:"px"}]}}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{title:(0,i.t)("Typography"),icon:"nc-font",size:"desktop"===o?"large":"auto"},roles:["admin"],position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:s("bgColorOpacity")>0?(0,r.hexToRgba)(c,s("bgColorOpacity")):(0,r.hexToRgba)(d,s("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,i.t)("Background"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"tabText",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev"}]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:100,devices:"desktop",choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,i.t)("Settings"),icon:"nc-cog"},position:110,options:[{id:"advancedSettings",type:"advancedSettings",label:(0,i.t)("Styling"),icon:"nc-cog",devices:"desktop"}]}]}},22554:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(67439),i=o(16957),n=o(64985),a=e=>({getItems:s(e)}),l="MacOS"===(0,i.detectOS)(),s=e=>(t,o)=>{const i=o.getCurrentCopiedElement(),a="Row"===t[e].type,s=i&&(a||t[e].type===i.type),c=s&&(a||i.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,n.t)("Copy"),helperText:()=>l?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,n.t)("Paste"),helperText:()=>l?"⌘ + V":"ctrl + V",inactive:!s,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,n.t)("Paste Styles"),inactive:!c,helperText:()=>l?"⌘ + ⇧ + V":"ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,n.t)("Duplicate"),helperText:()=>l?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,n.t)("Delete"),helperText:()=>l?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},65411:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),i=l(o(63692)),n=l(o(96781)),a=l(o(22641));function l(e){return e&&e.__esModule?e:{default:e}}class s extends i.default{static get componentId(){return"TableCol"}static defaultProps={meta:{}};static defaultValue=n.default;renderForEdit(){const e=this.makeSubcomponentProps({className:"brz-d-xs-flex brz-flex-xs-column",bindWithKey:"items",meta:this.props.meta});return r.default.createElement("td",{className:"brz-table__td"},r.default.createElement(a.default,e))}}const c=s},22641:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),i=p(o(10787)),n=o(67439),a=p(o(49127)),l=p(o(20013)),s=o(39552),c=p(o(24072)),d=p(o(22554)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends i.default{static get componentId(){return"TableCol.Items"}static defaultProps={className:"",meta:{}};handleSortableAcceptElements=e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0};getItemProps(e,t,o){const r=super.getItemProps(e,t,o),i={getItems:()=>[{id:"duplicate",type:"button",title:(0,u.t)("Duplicate"),icon:"nc-duplicate",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",title:(0,u.t)("Delete"),icon:"nc-trash",position:210,onChange:()=>{(0,n.hideToolbar)(),this.removeItem(t)}}]},a=this.makeToolbarPropsFromConfig2(i);return{...r,meta:this.props.meta,toolbarExtend:a}}renderItemsContainer(e){return 0===e.length?r.default.createElement("div",{className:this.props.className},r.default.createElement(l.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements})):r.default.createElement(a.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements},r.default.createElement("div",{className:this.props.className},e))}renderItemWrapper(e,t,o){const i=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(i)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}}const m=f},41119:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=p(o(27378)),i=p(o(63692)),n=p(o(1426)),a=p(o(10787)),l=o(94220),s=o(70370),c=p(o(60042)),d=m(o(20696)),u=m(o(91936));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class y extends i.default{static get componentId(){return"TableHead"}static defaultProps={meta:{}};static defaultValue=n.default;renderForEdit(e,t,o){const i=(0,c.default)("brz-table__head",(0,l.css)(this.constructor.componentId,this.getId(),(0,s.style)(e,t,o))),n=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(d,u,{allowExtend:!1})}});return r.default.createElement("thead",{className:i},r.default.createElement(a.default,n))}}const g=y},91936:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Table Head");function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[]}]}]}]}]}},70370:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBgColor","cssStyleColor"]},".brz && .brz-table__th--btn":{standart:["cssStyleElementTableBtnIconPosition","cssStyleElementTableCustomFlexHorizontalAlign","cssStyleTextAlign"]},".brz && .brz-table__th.brz-table__th":{standart:["cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleBorder","cssStylePaddingFourFields"]},".brz && .brz-table__th:nth-child(even)":{standart:["cssStyleElementTableEvenBgColor","cssStyleElementTableEvenColor"]},".brz && .brz-table__th .brz-icon-svg":{standart:["cssStyleElementTableSpacing","cssStyleSizeFontSizeIcon"]}}})}},20696:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette")),{hex:u}=(0,a.getOptionColorHexByPalette)(c("colorHex"),c("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-star",title:(0,i.t)("Table")},position:50,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,i.t)("Icon"),position:60,options:[{id:"iconPosition",label:(0,i.t)("Position"),type:"radioGroup-dev",choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"groupIconSize",type:"group-dev",options:[{id:"iconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:"custom"!==c("iconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"iconSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:50,units:[{value:"px",title:"px"}]}}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",title:(0,i.t)("Typography"),size:"desktop"===o?"large":"auto"},roles:["admin"],position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:c("bgColorOpacity")>0?(0,r.hexToRgba)(d,c("bgColorOpacity")):(0,r.hexToRgba)(u,c("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,i.t)("Background"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"tabText",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev"}]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:100,devices:"desktop",choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,i.t)("More Settings"),roles:["admin"],position:110,icon:"nc-cog",devices:"desktop",title:(0,i.t)("Settings")}]}},38272:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),i=l(o(63692)),n=l(o(10787)),a=l(o(4480));function l(e){return e&&e.__esModule?e:{default:e}}class s extends i.default{static get componentId(){return"TableRow"}static defaultProps={meta:{}};static defaultValue=a.default;renderForEdit(){const{meta:e,toolbarExtend:t}=this.props,o=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{meta:e,toolbarExtend:t}}),i=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:1,sliceEndIndex:e.table.columns+1,itemProps:{meta:e,toolbarExtend:t}}),a=r.default.createElement(n.default,o),l=r.default.createElement(n.default,i);return r.default.createElement("tr",{className:"brz-table__tr"},e.table.showAside&&a,l)}}const c=s},27195:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=g(o(27378)),i=g(o(60042)),n=g(o(63692)),a=g(o(10787)),l=g(o(36275)),s=o(94220),c=o(79498),d=g(o(82617)),u=h(o(86645)),p=h(o(85180)),f=h(o(49786)),m=o(50881),y=o(24119);function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class v extends n.default{static get componentId(){return"Table"}static defaultProps={meta:{}};static defaultValue=d.default;getMeta(e){const{tableAside:t,rows:o,columns:r}=e,{meta:i}=this.props,{desktopW:n,desktopWNoSpacing:a,tabletW:l,tabletWNoSpacing:s,mobileW:c,mobileWNoSpacing:d}=(0,m.calculateMeta)({v:e,meta:i,state:y.NORMAL});return{...i,desktopW:n,desktopWNoSpacing:a,tabletW:l,tabletWNoSpacing:s,mobileW:c,mobileWNoSpacing:d,table:{rows:o,columns:r,showAside:"on"===t}}}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(u,p,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const{tableHead:n}=e,d=this.getMeta(e),u=(0,i.default)("brz-table",(0,s.css)(this.constructor.componentId,this.getId(),(0,c.style)(e,t,o))),p=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{meta:d}}),m=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:1,itemProps:{meta:d,toolbarExtend:this.makeToolbarPropsFromConfig2(f,null,{allowExtend:!1})}}),y=r.default.createElement(a.default,p),g=r.default.createElement(a.default,m);return r.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("table",{className:u},"on"===n&&y,g))}}const S=v},50881:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"calculateMeta",{enumerable:!0,get:function(){return l}});const r=o(68934),i=o(89787),n=o(66559),a=e=>{const{w:t,wNoSpacing:o,v:a,device:l,state:s}=e,c=(0,r.styleElementTableWidth)({v:a,device:l,state:s}),d=(0,r.stylePaddingType)({v:a,device:l,state:s}),u=(0,i.getPadding)({v:a,w:t,device:l,state:s,type:d}),p=(e=>{let{v:t,device:o,state:i,type:n}=e;switch(n){case"grouped":return(0,r.styleBorderWidthGrouped)({v:t,device:o,state:i});case"ungrouped":return(0,r.styleBorderWidthUngrouped)({v:t,device:o,state:i,current:"left"})/2+(0,r.styleBorderWidthUngrouped)({v:t,device:o,state:i,current:"right"})/2;default:return 0}})({v:a,device:l,state:s,type:(0,r.styleBorderWidthType)({v:a,device:l,state:s})}),f=p+u,m=(0,r.styleElementTableAside)({v:a,device:l,state:s}),y=(0,r.styleElementTableColumns)({v:a,device:l,state:s});if("off"===m||l===n.MOBILE){const e=t*(c/100)-f,r=o*(c/100);return{w:Math.round(10*(e/y-p))/10,wNoSpacing:Math.round(r/y*10)/10}}const g=(0,r.styleElementTableAsideWidth)({v:a,device:l,state:s}),b=t*(c/100)-f-g,h=o*(c/100)-g;return{w:Math.round(10*(b/y-p))/10,wNoSpacing:Math.round(h/y*10)/10}},l=e=>{const{v:t,state:o}=e,{w:r,wNoSpacing:i}=a({v:t,state:o,w:e.meta.desktopW,wNoSpacing:e.meta.desktopWNoSpacing,device:n.DESKTOP}),{w:l,wNoSpacing:s}=a({v:t,state:o,w:e.meta.tabletW,wNoSpacing:e.meta.tabletWNoSpacing,device:n.TABLET}),{w:c,wNoSpacing:d}=a({v:t,state:o,w:e.meta.mobileW,wNoSpacing:e.meta.mobileWNoSpacing,device:n.MOBILE});return{desktopW:r,desktopWNoSpacing:i,tabletW:l,tabletWNoSpacing:s,mobileW:c,mobileWNoSpacing:d}}},85180:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Table");function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",disabled:!0},{id:"tablePadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[]}]}]}]}]}},79498:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidthPercentOnly","cssStyleBorder","cssStyleBoxShadow"]},".brz &&:hover .brz-table__tr:nth-child(2n + 1) .brz-table__td":{standart:["cssStyleBgColor"]},".brz &&:hover .brz-table__tr:nth-child(even) .brz-table__td":{standart:["cssStyleElementTableEvenBgColor"]},".brz &&:hover .brz-table__td":{standart:["cssStyleBorder","cssStyleTablePadding"]},".brz &&:hover .brz-table__th":{standart:["cssStyleBorder"]},".brz &&:hover .brz-table__head > .brz-table__tr > .brz-table__aside:first-child":{standart:["cssStyleElementTableAsideWidth"]},".brz &&:hover .brz-table__body > .brz-table__tr > .brz-table__aside:first-child":{standart:["cssStyleElementTableAsideWidth"]}}})}},49786:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),i=()=>[{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog"},title:(0,r.t)("Settings"),position:110,options:[{id:"asideWidth",label:(0,r.t)("Width"),type:"slider-dev",position:100,config:{min:0,max:500,units:[{value:"px",title:"px"}]}}]}]},86645:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return m}});const r=o(70634),i=o(81405),n=o(64985),a=o(16526),l=o(69321),s=o(68256),c=o(24119),d={type:"TableRow",value:{items:[]}},u={type:"TableCol",value:{items:[]}},p={type:"TableAside",value:{labelText:"H 1",items:[]}},f={type:"TableAside",value:{labelText:"A 1",items:[]}};function m(e){let{v:t,device:o}=e;const m=e=>(0,l.defaultValueValue)({key:e,v:t,device:o}),{hex:y}=(0,s.getOptionColorHexByPalette)(m("bgColorHex"),m("bgColorPalette")),{hex:g}=(0,s.getOptionColorHexByPalette)(m("colorHex"),m("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-table-element"},title:(0,n.t)("Table"),position:60,options:[{id:"tableHead",label:(0,n.t)("Head"),type:"switch-dev",devices:"desktop"},{id:"tableAside",label:(0,n.t)("Sidebar"),type:"switch-dev",devices:"desktop"},{id:"rows",label:(0,n.t)("Rows"),type:"slider-dev",devices:"desktop",config:{min:1,max:10},dependencies:e=>{let{rows:o}=e;const[i,n]=t.items,l=(0,r.getIn)(n,["value","items"]);if(l&&l.length{let{columns:o}=e;const[i,n]=t.items,l=(0,r.getIn)(n,["value","items"]),s=(0,r.getIn)(i,["value","items"]),c=(0,r.getIn)(l,[0,"value","items"]),d=(0,r.getIn)(s,[0,"value","items"]);if(c&&c.length-1{const i=(0,a.setIds)(Array(o-(c.length-1)).fill(u)),n=(0,r.setIn)(t,["value","items"],(0,r.addLast)(t.value.items,i));return e.push(n),e}),[]),t=(0,a.setIds)(Array(o-(d.length-1)).fill(p)),f=(0,r.setIn)(s,[0,"value","items"],(0,r.addLast)(s[0].value.items,t)),m=(0,r.setIn)(n,["value","items"],e);return{items:[(0,r.setIn)(i,["value","items"],f),m],columns:o}}return{columns:o}}},{id:"width",label:(0,n.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",icon:{style:{backgroundColor:m("bgColorOpacity")>0?(0,i.hexToRgba)(y,m("bgColorOpacity")):(0,i.hexToRgba)(g,m("colorOpacity"))}}},title:(0,n.t)("Colors"),roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,n.t)("Background"),options:[{id:"bgColor",type:"colorPicker-dev",states:[c.NORMAL,c.ACTIVE]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev"}]},{id:"tabShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev"}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}},19814:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(70634),i=(n=o(10787))&&n.__esModule?n:{default:n};var n;const a=o(67439),l=o(64985);class s extends i.default{static get componentId(){return"Tabs.Items"}static defaultProps={className:"",renderType:"",style:{},meta:{},verticalMode:""};getItemProps(e,t,o){const{renderType:r,meta:i,activeTab:n,onChangeNav:s,action:c,verticalMode:d,animationClassName:u}=this.props,p={getItems:()=>[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{align:"on"===d?"vertical":"horizontal",disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:(0,l.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},...o.length>1?[{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:(0,l.t)("Delete"),position:250,disable:1===o.length,onChange:()=>{(0,a.hideToolbar)(),this.removeItem(t)}}]:[]]};return{meta:i,renderType:r,action:c,animationClassName:u,active:t===n,onChangeNav(){s(t)},toolbarExtend:this.makeToolbarPropsFromConfig2(p)}}removeItem(e){const t=this.getDBValue()||[],o=(0,r.removeAt)(t,e);this.props.onChangeNav(0),setTimeout((()=>{this.handleValueChange(o,{arrayOperation:"remove"})}),0)}}},20720:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),i=p(o(10787)),n=o(67439),a=p(o(49127)),l=p(o(20013)),s=o(39552),c=p(o(24072)),d=p(o(36154)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends i.default{static get componentId(){return"Tab.Items"}static defaultProps={className:"",meta:{}};handleSortableAcceptElements=e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0};getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",title:(0,u.t)("Duplicate"),icon:"nc-duplicate",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",title:(0,u.t)("Delete"),icon:"nc-trash",position:210,onChange:()=>{(0,n.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]},r=this.makeToolbarPropsFromConfig(o);return{meta:this.props.meta,toolbarExtend:r}}renderItemsContainer(e){return 0===e.length?r.default.createElement("div",{className:this.props.className},r.default.createElement(l.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements})):r.default.createElement(a.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements},r.default.createElement("div",{className:this.props.className},e))}renderItemWrapper(e,t,o){const i=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(i)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}}const m=f},36154:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(67439),i=o(16957),n=o(64985),a=e=>({getItems:s(e)}),l="MacOS"===(0,i.detectOS)(),s=e=>(t,o)=>{const i=o.getCurrentCopiedElement(),a="Row"===t[e].type,s=i&&(a||t[e].type===i.type),c=s&&(a||i.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,n.t)("Copy"),helperText:()=>l?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,n.t)("Paste"),helperText:()=>l?"⌘ + V":"ctrl + V",inactive:!s,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,n.t)("Paste Styles"),inactive:!c,helperText:()=>l?"⌘ + ⇧ + V":"ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,n.t)("Duplicate"),helperText:()=>l?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,n.t)("Delete"),helperText:()=>l?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},66344:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=m(o(60042)),i=o(83850),n=m(o(27378)),a=m(o(45771)),l=o(66848),s=o(73948),c=m(o(67439)),d=m(o(63692)),u=m(o(20720)),p=m(o(69423)),f=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(73212));function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}class g extends d.default{static get componentId(){return"Tab"}static defaultProps={meta:{}};static defaultValue=p.default;handleLabelChange=e=>{this.patchValue({labelText:e})};renderNav(e){const{iconName:t,iconType:o,labelText:i}=e,{active:a,onChangeNav:d,action:u}=this.props,p=(0,r.default)("brz-tabs__nav--item brz-tabs__nav--desktop",{"brz-tabs__nav--active":a});return n.default.createElement("li",{className:p,onClick:"click"===u?d:null,onMouseEnter:"hover"===u?d:null},n.default.createElement(c.default,this.makeToolbarPropsFromConfig2(f),n.default.createElement("div",{className:(0,r.default)("brz-tabs__nav--button")},t&&o&&n.default.createElement(s.ThemeIcon,{name:t,type:o}),n.default.createElement(l.TextEditor,{value:i,onChange:this.handleLabelChange}))))}renderContent(e){const{labelText:t,customClassName:o,iconName:l,iconType:d}=e,{active:p,meta:m,onChangeNav:y,animationClassName:g}=this.props,b=this.makeSubcomponentProps({meta:m,animationClassName:g,bindWithKey:"items",className:"brz-tab brz-d-xs-flex brz-flex-xs-column"}),h=(0,r.default)("brz-tabs__items",{"brz-tabs__items--active":p}),v=(0,r.default)("brz-tabs__nav--mobile",{"brz-tabs__nav--mobile--active":p}),S=(0,r.default)("brz-tabs__item--content",o);return n.default.createElement("div",{className:h},n.default.createElement("div",{className:v,onClick:y},n.default.createElement(c.default,this.makeToolbarPropsFromConfig2(f),n.default.createElement("div",{className:(0,r.default)("brz-tabs__nav--button")},l&&d&&n.default.createElement(s.ThemeIcon,{name:l,type:d}),n.default.createElement(i.DangerouslySetHtmlContent,{tagName:"span",html:t,ssr:!1})))),n.default.createElement("div",{className:S},n.default.createElement(a.default,{iterationCount:1,component:"div",componentProps:{className:"brz-d-xs-flex brz-flex-xs-column"},animationClass:g},n.default.createElement(u.default,b))))}renderForEdit(e){const{renderType:t}=this.props;return"content"===t?this.renderContent(e):this.renderNav(e)}}const b=g},73212:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321);function n(e){let{v:t,device:o}=e;return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-tabs",title:(0,r.t)("Tabs")},position:70,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeIcon",label:(0,r.t)("Icon"),options:[{id:"icon",label:(0,r.t)("Icon"),type:"iconSetter-dev",devices:"desktop",config:{canDelete:!0}},...""===("iconName",(0,i.defaultValueValue)({v:t,key:"iconName",device:o}))?[{id:"iconPosition",type:"radioGroup-dev",disabled:!0},{id:"groupIconSizesPicker",type:"group-dev",disabled:!0},{id:"iconSpacing",type:"slider-dev",disabled:!0}]:[]]}]}]}]}},37187:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=o(64985),i={getItems:function(){return[{id:"main",type:"group",title:(0,r.t)("Tabs"),icon:"nc-tabs",disabled:(e,t)=>t.isInSubMenu,items:[]}]}}},56482:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return k}});const r=T(o(60042)),i=T(o(27378)),n=o(10301),a=T(o(39552)),l=T(o(36275)),s=T(o(63692)),c=o(97045),d=o(92213),u=o(94220),p=o(89787),f=o(69321),m=C(o(24119)),y=o(86022),g=T(o(37187)),b=T(o(4366)),h=T(o(19814)),v=C(o(16730)),S=C(o(26340)),w=o(41165),x=C(o(45264)),M=C(o(6867));function T(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class k extends s.default{static get componentId(){return"Tabs"}static defaultValue=b.default;static defaultProps={meta:{},extendParentToolbar:n.noop};getMeta(e){const{meta:t}=this.props,{w:o,wNoSpacing:r}=(0,p.getContainerW)({v:e,w:t.desktopW,wNoSpacing:t.desktopWNoSpacing,device:"desktop"}),{w:i,wNoSpacing:n}=(0,p.getContainerW)({v:e,w:t.tabletW,wNoSpacing:t.tabletWNoSpacing,device:"tablet"}),{w:a,wNoSpacing:l}=(0,p.getContainerW)({v:e,w:t.mobileW,wNoSpacing:t.mobileWNoSpacing,device:"mobile"});return Object.assign({},t,{desktopW:o,desktopWMoSpacing:r,tabletW:i,tabletWMoSpacing:n,mobileW:a,mobileWMoSpacing:l})}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(M,S,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}handleNav=e=>{this.patchValue({activeTab:e})};dvv=e=>{const t=this.getValue(),o=(0,c.deviceModeSelector)((0,d.getStore)().getState()),r=m.mRead(t.tabsState);return(0,f.defaultValueValue)({v:t,key:e,device:o,state:r})};getAnimationClassName=(e,t,o)=>{if(!(0,f.validateKeyByProperty)(e,"animationName","none"))return;const i=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,u.css)(`${this.getComponentId()}-animation-${i}`,`${this.getId()}-animation-${i}`,(0,w.styleAnimation)(e,t,o)))};renderForEdit(e,t,o){const{activeTab:n,iconName:s,iconType:c,verticalMode:d,navStyle:p,verticalAlign:f,action:m}=e,b=this.getMeta(e),S=this.makeSubcomponentProps({activeTab:n,iconName:s,iconType:c,action:m,meta:b,verticalMode:d,bindWithKey:"items",renderType:"nav",onChangeNav:this.handleNav,toolbarExtend:this.makeToolbarPropsFromConfig2(x,v,{allowExtend:!1})}),M=this.getAnimationClassName(e,t,o),T=this.makeSubcomponentProps({activeTab:n,iconName:s,iconType:c,animationClassName:M,meta:b,bindWithKey:"items",renderType:"content",onChangeNav:this.handleNav,toolbarExtend:this.makeToolbarPropsFromConfig2(x,v,{allowExtend:!1})}),P=(0,r.default)("brz-tabs","on"===d?"brz-tabs--vertical":"brz-tabs--horizontal",`brz-tabs--${p}`,`brz-tabs--${f}`,(0,u.css)(this.constructor.componentId,this.getId(),(0,w.styleTabs)(e,t,o))),C=(0,r.default)("brz-tabs__nav","on"===d?"brz-tabs__nav--vertical":"brz-tabs__nav--horizontal",`brz-tabs__nav--${p}`,`brz-tabs__nav--${f}`),k=(0,r.default)("brz-tabs__content","on"===d?"brz-tabs__content--vertical":"brz-tabs__content--horizontal",`brz-tabs__content--${p}`,`brz-tabs__content--${f}`);return i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(a.default,this.makeContextMenuProps(g.default),i.default.createElement(y.Wrapper,this.makeWrapperProps({className:P,attributes:{"data-action":m}}),i.default.createElement("ul",{className:C},i.default.createElement(h.default,S)),i.default.createElement("div",{className:k},i.default.createElement(h.default,T)))))}}},16730:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(93873);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),position:50}]},{id:"effects",title:(0,r.t)("Effects"),label:(0,r.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",tabs:[{id:"entrance",label:(0,r.t)("Entrance"),options:[{id:"animation",type:"animation-dev",config:{types:i.tabEffects}}]}]}]}]}]}},26340:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Tabs");function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},41165:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleTabs:function(){return i},styleAnimation:function(){return n}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && > .brz-tabs__nav .brz-tabs__nav--item, .brz && > .brz-tabs__content > .brz-tabs__items > .brz-tabs__nav--mobile .brz-tabs__nav--button":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LineHeight","cssStyleTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav.brz-tabs__nav--horizontal":{standart:["cssStyleElementTabsNavAlign"]},".brz && > .brz-tabs__nav.brz-tabs__nav--horizontal.brz-tabs__nav--style-2":{standart:["cssStyleElementTabsAfterSpacing"]},".brz && > .brz-tabs__nav.brz-tabs__nav--vertical.brz-tabs__nav--style-2":{standart:["cssStyleElementTabsAfterSpacingVertical"]},".brz && > .brz-tabs__content > .brz-tabs__items:hover":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder","cssStyleElementTabsContentBgColor","cssStyleElementTabsContentBorder","cssStyleElementTabsContentShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav .brz-tabs__nav--item:not(.brz-tabs__nav--active) .brz-tabs__nav--button:hover":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav .brz-tabs__nav--item.brz-tabs__nav--active .brz-tabs__nav--button":{standart:["cssStyleElementTabsActiveColor","cssStyleElementTabsActiveBgColor","cssStyleElementTabsActiveShadow"]},".brz && > .brz-tabs__nav .brz-tabs__nav--button:hover":{standart:["cssStyleElementTabsBtnIconPosition","cssStyleElementTabsBtnIconJustifyContent"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__content .brz-tabs__nav--button .brz-icon-svg":{standart:["cssStyleElementTabsBtnSpacing","cssStyleSizeFontSizeIcon","cssStyleSizeMinWidthIcon"]},".brz && > .brz-tabs__content .brz-tabs__nav--button":{standart:["cssStyleElementTabsBtnIconPosition","cssStyleElementTabsBtnIconJustifyContent"]},".brz && > .brz-tabs__nav--style-1 .brz-tabs__nav--active .brz-tabs__nav--button":{standart:["cssStyleElementTabsActiveColor","cssStyleElementTabsActiveBgColor","cssStyleElementTabsActiveShadow","cssStyleElementTabsActiveBorder"]},".brz && > .brz-tabs__nav--style-2 .brz-tabs__nav--active .brz-tabs__nav--button":{standart:["cssStyleElementTabsActiveColor","cssStyleElementTabsActiveBgColor","cssStyleElementTabsActiveShadow","cssStyleElementTabsActiveBorder"]},".brz && > .brz-tabs__nav--style-3 .brz-tabs__nav--active .brz-tabs__nav--button":{standart:["cssStyleElementTabsActiveColor"]},".brz && > .brz-tabs__content > .brz-tabs__items > .brz-tabs__nav--mobile.brz-tabs__nav--mobile--active .brz-tabs__nav--button":{standart:["cssStyleElementTabsBorderMobileWidth","cssStyleElementTabsActiveColor","cssStyleElementTabsActiveBgColor"]},".brz && > .brz-tabs__content > .brz-tabs__items > .brz-tabs__nav--mobile .brz-tabs__nav--button":{standart:["cssStyleBgColor"]},".brz && > .brz-tabs__nav .brz-tabs__nav--button .brz-icon-svg":{standart:["cssStyleElementTabsBtnSpacing","cssStyleSizeFontSizeIcon","cssStyleSizeMinWidthIcon"]},".brz && > .brz-tabs__nav--horizontal.brz-tabs__nav--style-1 .brz-tabs__nav--active .brz-tabs__nav--button:hover":{standart:["cssStyleElementTabsBtnActiveBorderBottomColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav--vertical.brz-tabs__nav--style-1.brz-tabs__nav--left .brz-tabs__nav--active .brz-tabs__nav--button:hover":{standart:["cssStyleElementTabsBtnActiveBorderRightColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav--vertical.brz-tabs__nav--style-1.brz-tabs__nav--right .brz-tabs__nav--active .brz-tabs__nav--button:hover":{standart:["cssStyleElementTabsBtnActiveBorderLeftColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav--horizontal .brz-tabs__nav--item":{standart:["cssStyleElementTabsNavAlign"]},".brz && > .brz-tabs__nav--horizontal .brz-tabs__nav--active::after:hover":{standart:["cssStyleElementTabsActiveBeforeAfterColor","cssStyleElementTabsActiveBeforeHeight","cssStyleElementTabsBeforeAfterRightWidth"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav--horizontal .brz-tabs__nav--active::before:hover":{standart:["cssStyleElementTabsActiveBeforeAfterColor","cssStyleElementTabsActiveBeforeHeight","cssStyleElementTabsBeforeAfterLeftWidth"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav--vertical .brz-tabs__nav--active::after:hover":{standart:["cssStyleElementTabsActiveBeforeAfterColor","cssStyleElementTabsActiveBeforeWidth","cssStyleElementTabsBeforeAfterTop"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav--vertical .brz-tabs__nav--active::before:hover":{standart:["cssStyleElementTabsActiveBeforeAfterColor","cssStyleElementTabsActiveBeforeWidth","cssStyleElementTabsBeforeAfterBottom"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-tabs__item--content":{interval:["cssStyleElementTabsEmptyContent"],standart:["cssStyleElementTabsPadding"]},".brz && > .brz-tabs__nav--horizontal .brz-tabs__nav--item:not(:last-child)":{standart:["cssStyleElementTabsSpacing"]},".brz && > .brz-tabs__nav--vertical .brz-tabs__nav--item:not(:last-child)":{standart:["cssStyleElementTabsSpacing"]},".brz &&.brz-tabs.brz-tabs--style-3":{standart:["cssStyleElementTabsBgColor","cssStylePaddingFourFields"]},".brz && > .brz-tabs__nav.brz-tabs__nav--style-3 .brz-tabs__nav--item::before:hover":{standart:["cssStyleElementTabsNavBorderBottom"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav.brz-tabs__nav--style-3 .brz-tabs__nav--item::after:hover":{standart:["cssStyleElementTabsNavBorderBottom"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav.brz-tabs__nav--style-3 .brz-tabs__nav--active .brz-tabs__nav--button:before":{standart:["cssStyleElementTabsNavStyle3Before"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},45264:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({key:e,v:t,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgColorHex"),s("bgColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette")),u="on"===s("verticalMode"),p=s("navStyle");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-tabs",title:(0,i.t)("Tabs")},position:60,devices:"desktop",options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,i.t)("Tab"),position:10,options:[{id:"verticalMode",label:(0,i.t)("Orientation"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"on",icon:"nc-vertical-items"},{value:"off",icon:"nc-horizontal-items"}]},{id:"navStyle",label:(0,i.t)("Style"),type:"radioGroup-dev",devices:"desktop",choices:"off"===s("verticalMode")?[{value:"style-1",icon:"nc-tabs-style-2"},{value:"style-2",icon:"nc-tabs-style-1"},{value:"style-3",icon:"nc-tabs-style-5"}]:[{value:"style-1",icon:"nc-tabs-style-4"},{value:"style-2",icon:"nc-tabs-style-3"},{value:"style-3",icon:"nc-tabs-style-6"}]},{id:"action",label:(0,i.t)("Activate Tab"),type:"select-dev",devices:"desktop",choices:[{title:(0,i.t)("On Click"),value:"click"},{title:(0,i.t)("On Hover"),value:"hover"}]},{id:"spacingAfter",type:"slider-dev",label:(0,i.t)("Content Gap"),disabled:"style-2"!==p,devices:"desktop",config:{min:0,max:100}},{id:"spacing",type:"slider-dev",label:(0,i.t)("Spacing"),devices:"desktop",config:{min:0,max:100}}]},{id:"currentShortcodeIcon",label:(0,i.t)("Icon"),options:[{id:"iconPosition",label:(0,i.t)("Position"),type:"radioGroup-dev",choices:[{value:"left",icon:"nc-align-left"},{value:"top",icon:"nc-align-top"},{value:"right",icon:"nc-align-right"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"groupIconSizesPicker",type:"group-dev",options:[{id:"iconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:"custom"!==s("iconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"iconSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100}}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:s("bgColorOpacity")>0?(0,r.hexToRgba)(c,s("bgColorOpacity")):(0,r.hexToRgba)(d,s("colorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"bg",label:(0,i.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabText",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"horizontalAlign",type:"toggle-dev",devices:"desktop",disabled:u,position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"},{icon:"nc-text-align-justify",title:(0,i.t)("Align"),value:"justify"}]},{id:"verticalAlign",type:"toggle-dev",devices:"desktop",position:90,disabled:!u,choices:[{icon:"nc-hrz-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-hrz-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",roles:["admin"],position:110,title:(0,i.t)("Settings"),icon:"nc-cog"}]}},6867:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({key:e,v:t,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("contentBgColorHex"),s("contentBgColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("contentBgColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"contentBg",label:(0,i.t)("Bg"),options:[{id:"contentBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"contentBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"contentBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}},51915:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=m(o(60042)),i=m(o(27378)),n=o(66848),a=o(73948),l=m(o(67439)),s=m(o(63692)),c=o(94220),d=m(o(30303)),u=m(o(18636)),p=o(44901),f=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(30258));function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}class g extends s.default{static get componentId(){return"TimelineTab"}static defaultValue=d.default;handleLabelChange=e=>{this.patchValue({labelText:e})};renderForEdit(e,t,o){const{customClassName:s,labelText:d,name:m,type:y}=e,{verticalMode:g,timelineStyle:b,toolbarExtendLabel:h,meta:v}=this.props,S=this.makeSubcomponentProps({className:"brz-timeline__content brz-d-xs-flex brz-flex-xs-column",bindWithKey:"items",itemProps:{meta:v}}),w=(0,r.default)("brz-timeline__tab",`brz-timeline__tab--${b}`,"on"===g?"brz-timeline__tab--vertical":"brz-timeline__tab--horizontal",s,(0,c.css)(this.getComponentId(),this.getId(),(0,p.style)(e,t,o)));return i.default.createElement("div",{className:w},i.default.createElement("div",{className:"brz-timeline__nav--title"},i.default.createElement(l.default,h,i.default.createElement(n.TextEditor,{value:d,onChange:this.handleLabelChange}))),i.default.createElement(l.default,this.makeToolbarPropsFromConfig2(f),i.default.createElement("div",{className:"brz-timeline__nav--icon"},i.default.createElement(a.ThemeIcon,{name:m,type:y}))),i.default.createElement(u.default,S))}}},18636:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=p(o(27378)),i=p(o(10787)),n=p(o(49127)),a=p(o(36154)),l=o(39552),s=p(o(24072)),c=o(64985),d=o(67439),u=p(o(20013));function p(e){return e&&e.__esModule?e:{default:e}}class f extends i.default{static get componentId(){return"TimelineTab.Items"}static defaultProps={meta:{}};handleSortableAcceptElements=e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0};getItemProps(e,t,o){const r={getItems:()=>[{id:"duplicate",type:"button",title:(0,c.t)("Duplicate"),icon:"nc-duplicate",devices:"desktop",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",title:(0,c.t)("Delete"),icon:"nc-trash",devices:"desktop",position:210,onChange:()=>{(0,d.hideToolbar)(),this.removeItem(t)}}]};return{...super.getItemProps(e,t,o),toolbarExtend:this.makeToolbarPropsFromConfig2(r)}}renderItemsContainer(e){const{className:t}=this.props;return 0===e.length?r.default.createElement("div",{className:t},r.default.createElement(u.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements})):r.default.createElement(n.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements},r.default.createElement("div",{className:t},e))}renderItemWrapper(e,t,o){const i=(0,a.default)(o);return r.default.createElement(l.ContextMenuExtend,{key:t,...this.makeContextMenuProps(i)},r.default.createElement(s.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}}},44901:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-timeline__nav--icon":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder"]},".brz && .brz-timeline__content":{standart:["cssStyleBgColor","cssStyleBoxShadow","cssStyleBorder"]},".brz && .brz-timeline__content:before":{standart:["cssStyleBgColor","cssStyleBorder"]}}})}},30258:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=e=>{let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("bgColorHex"),l("bgColorPalette")),{hex:c}=(0,a.getOptionColorHexByPalette)(l("colorHex"),l("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-timeline",title:(0,i.t)("Timeline")},position:70,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,i.t)("Icon"),position:60,options:[{id:"",label:(0,i.t)("Icon"),type:"iconSetter-dev",devices:"desktop"}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:l("bgColorOpacity")>0?(0,r.hexToRgba)(s,l("bgColorOpacity")):(0,r.hexToRgba)(c,l("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"color",type:"tabs-dev",tabs:[{id:"bg",label:(0,i.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev"}]},{id:"icon",label:(0,i.t)("Icon"),options:[{id:"color",type:"colorPicker-dev"}]},{id:"border",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev"}]},{id:"shadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev"}]}]}]}]}},56860:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return k}});const r=T(o(60042)),i=T(o(27378)),n=T(o(10301)),a=T(o(36275)),l=T(o(63692)),s=o(94220),c=o(89787),d=o(69321),u=C(o(4645)),p=o(66559),f=o(68934),m=o(86022),y=T(o(92988)),g=T(o(44341)),b=C(o(42869)),h=C(o(41204)),v=C(o(88205)),S=o(52289),w=C(o(61313)),x=C(o(82479)),M=C(o(84469));function T(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class k extends l.default{static get componentId(){return"Timeline"}static defaultValue=y.default;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(M,v,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}getWidthWithW(e){const{v:t,w:o,wNoSpacing:r,device:i}=e,n=e=>(0,d.defaultValueValue)({v:t,key:e,device:i,state:"normal"}),a=n("tabsCount"),l="on"===n("verticalMode"),s=u.read(n("width"))??350,p="px"===n("widthSuffix"),m=(0,f.styleMarginType)({v:t,device:i,state:"normal"}),y=(0,c.getMargin)({w:o,v:t,device:i,type:m});return l?p?{v:t,device:i,w:s+y,wNoSpacing:s}:{v:t,w:o,wNoSpacing:r,device:i,width:s}:{v:t,device:i,w:o/a,wNoSpacing:r/a}}getMeta(e){const{meta:t}=this.props,{w:o,wNoSpacing:r}=(0,c.getContainerW)(this.getWidthWithW({v:e,w:t.desktopW??0,wNoSpacing:t.desktopWNoSpacing??0,device:p.DESKTOP})),{w:i,wNoSpacing:a}=(0,c.getContainerW)(this.getWidthWithW({v:e,w:t.tabletW??0,wNoSpacing:t.tabletWNoSpacing??0,device:p.TABLET})),{w:l,wNoSpacing:s}=(0,c.getContainerW)(this.getWidthWithW({v:e,w:t.mobileW??0,wNoSpacing:t.mobileWNoSpacing??0,device:p.MOBILE}));return n.default.extend({},t,{desktopW:o,desktopWNoSpacing:r,tabletW:i,tabletWNoSpacing:a,mobileW:l,mobileWNoSpacing:s})}renderForEdit(e,t,o){const{verticalMode:n,timelineStyle:l,customCSS:c}=e,d=(0,r.default)("brz-timeline__tabs",`brz-timeline__tabs--${l}`,"on"===n?"brz-timeline__tabs--vertical":"brz-timeline__tabs--horizontal",(0,s.css)(this.getComponentId(),this.getId(),(0,S.style)(e,t,o))),u=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{verticalMode:n,timelineStyle:l,meta:this.getMeta(e),toolbarExtendLabel:this.makeToolbarPropsFromConfig2(x,h,{allowExtend:!1})},toolbarExtend:this.makeToolbarPropsFromConfig2(w,b,{allowExtend:!1})});return i.default.createElement(a.default,{selectorName:this.getId(),css:c},i.default.createElement(m.Wrapper,this.makeWrapperProps({className:d}),i.default.createElement(g.default,u)))}}},44341:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(i=o(10787))&&i.__esModule?i:{default:i};var i;const n=o(64985),a=o(67439);class l extends r.default{static get componentId(){return"Timeline.Items"}static defaultProps={className:"",style:{},meta:{},name:"",type:""};getItemProps(e,t,o){const r={getItems:()=>[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{align:"off"==this.props.itemProps.verticalMode?"horizontal":"vertical",disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,n.t)("Duplicate"),devices:"desktop",position:210,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,n.t)("Delete"),devices:"desktop",position:220,disabled:1===o.length,onChange:()=>{(0,a.hideToolbar)(),this.removeItem(t)}}]};return{...super.getItemProps(e,t,o),toolbarExtend:this.makeToolbarPropsFromConfig2(r)}}}},42869:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Timeline Items");function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),position:50}]}]}]}},41204:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Timeline Labels");function i(){return[]}},88205:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Timeline");function i(){return[]}},52289:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&":{standart:["cssStyleDisplayFlex","cssStyleElementTimelineTabs","cssStyleElementTimelineTabsHorizontalStyle3"],interval:["cssStyleElementTimelineHorizontalStyle3GridTemplateColumns","cssStyleElementTimelineHorizontalStyle3GridTemplateRows"]},".brz && .brz-timeline__nav--title":{standart:["cssStyleLabelColor","cssStyleElementTimelineNavTitleVisible","cssStyleElementTimelineNavTitleWidth","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"]},".brz && .brz-timeline__nav--icon":{standart:["cssStyleElementTimelineIconSize","cssStyleBorder","cssStyleElementTimelinePaddingForIcon","cssStyleBorderRadiusType","cssStyleElementTimelineIconWidth","cssStyleElementTimelineIconHeight","cssStyleElementTimelineTabsVerticalNavIcon"]},".brz && .brz-timeline__content":{standart:["cssStylePaddingFourFields","cssStyleMargin","cssStyleBorder","cssStyleSizeMinWidth","cssStyleSizeWidth","cssStyleElementTimelineTabsVerticalContent"]},".brz && .brz-timeline__tab":{standart:["cssStyleElementTimelineTab","cssStyleElementTimelineVerticalTab","cssStyleElementTimelineCustomTabWidth","cssStyleElementTimelineVerticalPosition"],interval:["cssStyleElementTimelineHoziontalStyle3TabStyles"]},".brz && .brz-timeline__tab:nth-child(odd)":{standart:["cssStyleElementTimelineVerticalCustomTabPositionOdd","cssStyleElementTimelineTabHorizontalStyle3Odd"],interval:["cssStyleElementTimelineHoziontalStyle3TabStylesOdd"]},".brz && .brz-timeline__tab:nth-child(even)":{standart:["cssStyleElementTimelineTabCustomStyle","cssStyleElementTimelineVerticalCustomTabPosition"],interval:["cssStyleElementTimelineHoziontalStyle3TabStylesEven"]},".brz && .brz-timeline__tab:last-child":{standart:["cssStyleElementTimelineVerticalLastTab"]},".brz && .brz-timeline__tab:after":{standart:["cssStyleElementTimelineLineTop","cssStyleElementTimelineLineWidthHeightAfter"]},".brz && .brz-timeline__tab:nth-child(even):after":{standart:["cssStyleElementTimelineCustomLineTop","cssStyleElementTimelineVerticalCustomPosition"]},".brz && .brz-timeline__tab:nth-child(odd):after":{standart:["cssStyleElementTimelineCustomLineOdd"]},".brz && .brz-timeline__tab:before":{standart:["cssStyleElementTimelineBeforeDisplay","cssStyleElementTimelineLineWidthHeightBefore","cssStyleElementTimelineVerticalLinePosition"]},".brz && .brz-timeline__tab:nth-child(even):before":{standart:["cssStyleElementTimelineVerticalCustomPosition"]},".brz && .brz-timeline__tab:after, && .brz-timeline__tab:before":{standart:["cssStyleElementTimelineLineBgColor"]},".brz && .brz-timeline__tab .brz-timeline__content":{standart:["cssStyleElementTimelineContentSpacing","cssStyleSizeMinWidth","cssStyleSizeWidth"]},".brz && .brz-timeline__tab:nth-child(even) .brz-timeline__content":{standart:["cssStyleElementTimelineCustomContentSpacing"]},".brz && .brz-timeline__tab .brz-timeline__content:before":{interval:["cssStyleElementTimelineTabContentBefore","cssStyleElementTimelineTabContentArrowColor"]},".brz && .brz-timeline__tab:nth-child(even) > .brz-timeline__content:before":{interval:["cssStyleElementTimelineVerticalStyle3ArrowPosition","cssStyleElementTimelineTabContentArrowCustomColor"]},".brz && .brz-timeline__tab:nth-child(odd) > .brz-timeline__content:before":{interval:["cssStyleElementTimelineContentBeforeStyle3","cssStyleElementTimelineTabContentArrowCustomColor1"]},".brz && .brz-timeline__tabs--horizontal.brz-timeline__tabs--style-2":{standart:["cssStyleDisplayFlex"]},".brz && .brz-timeline__tab:first-child:before":{standart:["cssStyleElementTimelineVerticalTabBeforeNone"]},".brz && .brz-timeline__tab:nth-child(even):last-child:after":{standart:["cssStyleElementTimelineVerticalTabBeforeStyle3"]},".brz && .brz-timeline__tab .brz-timeline__nav--title":{standart:["cssStyleElementTimelineNavTitleSpacing"]},".brz && .brz-timeline__tab:nth-child(even) > .brz-timeline__nav--title":{standart:["cssStyleElementTimelineNavTitleStyle3"]}}})}},61313:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321),n=e=>{let{v:t,device:o,state:n}=e;const a=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:n}),l="off"===a("verticalMode");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-timeline",title:(0,r.t)("Timeline")},position:70,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeTimeline",label:(0,r.t)("Timeline"),position:40,options:[{id:"verticalMode",label:(0,r.t)("Orientation"),type:"radioGroup-dev",choices:[{value:"on",icon:"nc-vertical-items"},{value:"off",icon:"nc-horizontal-items"}]},{id:"timelineStyle",label:(0,r.t)("Style"),type:"radioGroup-dev",choices:[...l?[{value:"style-1",icon:"nc-timeline-style-2"},{value:"style-2",icon:"nc-timeline-style-1"},{value:"style-3",icon:"nc-timeline-style-3"}]:[{value:"style-1",icon:"nc-timeline-style-4"},{value:"style-2",icon:"nc-timeline-style-5"},{value:"style-3",icon:"nc-timeline-style-6"}]]},{id:"enableText",label:(0,r.t)("Titles"),type:"switch-dev",devices:"desktop"},{id:"tabsCount",label:(0,r.t)("Columns"),type:"slider-dev",disabled:"on"===a("verticalMode"),config:{min:1,max:6}},{id:"spacing",label:(0,r.t)("Spacing"),type:"slider-dev",config:{min:0,max:100}}]},{id:"currentShortcodeTab",label:(0,r.t)("Icon"),position:60,options:[{id:"groupSize",type:"group-dev",options:[{id:"size",label:(0,r.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"customSize",type:"slider-dev",disabled:"custom"!==a("size"),config:{min:14,max:180,units:[{title:"px",value:"px"}]}}]}]},{id:"iconBackground",label:(0,r.t)("Background"),position:80,options:[{id:"groupBorderRadius",type:"group-dev",options:[{id:"borderRadiusType",label:(0,r.t)("Corner"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}]},{id:"borderRadius",type:"slider-dev",devices:"desktop",disabled:"custom"!==a("borderRadiusType"),config:{min:0,max:300,units:[{title:"px",value:"px"}]}}]},{id:"iconPadding",label:(0,r.t)("Size"),type:"slider-dev",config:{min:0,max:180,units:[{title:"px",value:"px"}]}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors")},devices:"desktop",position:90,options:[{id:"color",type:"tabs-dev",tabs:[{id:"lineBorder",label:(0,r.t)("Line"),options:[{id:"lineBorder",type:"border-dev",config:{width:["grouped"]}}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,r.t)("Settings")},position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:0,max:1e3,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},82479:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=e=>{let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({key:e,v:t,device:o}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("labelBgColorHex"),l("labelBgColorPalette")),{hex:c}=(0,a.getOptionColorHexByPalette)(l("labelColorHex"),l("labelColorPalette"));return[{id:"toolbarTypographyLabel",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorLabel",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:l("bgColorOpacity")>0?(0,r.hexToRgba)(s,l("labelBgColorOpacity")):(0,r.hexToRgba)(c,l("labelColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"labelColor",type:"colorPicker-dev"}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,i.t)("Settings")},options:[{id:"textSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:-100,max:100,units:[{value:"px",title:"px"}]}}]}]}},84469:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]}]},16361:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _}}),o(73709);const r=T(o(60042)),i=T(o(27378)),n=T(o(27998)),a=o(84989),l=T(o(17882)),s=T(o(36275)),c=T(o(21107)),d=o(73948),u=T(o(67439)),p=T(o(63692)),f=o(86022),m=T(o(22546)),y=o(62762),g=o(94220),b=o(8704),h=T(o(12947)),v=C(o(5174)),S=o(62798),w=C(o(81276)),x=C(o(87477)),M=o(71963);function T(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const k=(e,t,o,r,n)=>i.default.createElement(i.default.Fragment,null,"on"===e&&i.default.createElement("span",{className:"brz-span",title:r.name},"full"===o?r.name:r.code),"on"===t&&n&&i.default.createElement("img",{className:"brz-translation__flag",src:(0,M.getFlagUrl)(n,r.code)}));class _ extends p.default{static get componentId(){return"Translation"}static defaultValue=h.default;content=i.default.createRef();state={isOpen:!1};handleOutside=()=>{this.state.isOpen&&this.setState({isOpen:!1})};handleOpen=()=>{this.setState((e=>{let{isOpen:t}=e;return{isOpen:!t}}),this.forceUpdate)};renderDropdown(e,t,o){const l=this.content.current,{nameDisplay:s,showName:d,showFlags:p}=e,f=m.default.getAll(),b=(0,y.isCloud)(f)&&(0,y.isCMS)(f)?f.urls.flags:"",h=0!==f.availableTranslations.length?f.availableTranslations:[{name:"French",code:"fr"},{name:"Italian",code:"it"}];if(l){const f=(0,r.default)("brz-portal-translation__select",{"brz-translation__code":"code"===s},(0,g.css)(`${this.getComponentId()}-dropdown`,`${this.getId()}-dropdown`,(0,S.styleDropdown)(e,t,o)));return i.default.createElement(c.default,{node:l.ownerDocument.body,className:f},i.default.createElement(u.default,this.makeToolbarPropsFromConfig2(x),i.default.createElement(a.Popper,{referenceElement:l,placement:"bottom-start",modifiers:[{name:"sameWidth",enabled:!0,fn:e=>{let{state:t}=e;t.styles.popper.width=`${t.rects.reference.width}px`},phase:"beforeWrite",requires:["computeStyles"]}]},(e=>{let{ref:t,style:o}=e;return i.default.createElement("div",{ref:t,className:"brz-translation__select-list",style:o},i.default.createElement(n.default,{autoHeight:!0},h.map(((e,t)=>i.default.createElement("div",{key:t,className:"brz-translation__select-item"},k(d,p,s,e,b))))))}))))}return null}renderForEdit(e,t,o){const{isOpen:n}=this.state,{customCSS:a,nameDisplay:c,showName:p,showFlags:b}=e,h=(0,r.default)("brz-translation",{"brz-translation__code":"code"===c},(0,g.css)(`${this.getComponentId()}-current`,`${this.getId()}-current`,(0,S.style)(e,t,o))),x=m.default.getAll(),M=(0,y.isCloud)(x)&&(0,y.isCMS)(x)?x.urls.flags:"";return i.default.createElement(i.default.Fragment,null,i.default.createElement(l.default,{exceptions:[".brz-portal-translation__select",".brz-ed-toolbar",".brz-ed-tooltip__content-portal",".brz-translation"],onClickOutside:this.handleOutside},i.default.createElement(u.default,this.makeToolbarPropsFromConfig2(w,v),i.default.createElement(s.default,{selectorName:this.getId(),css:a},i.default.createElement(f.Wrapper,this.makeWrapperProps({className:h,ref:this.content,onClick:this.handleOpen}),k(p,b,c,{name:"English",code:"en"},M),i.default.createElement(d.ThemeIcon,{className:"brz-translation__arrow",name:"triangle-down-20",type:"glyph"}))))),n&&this.renderDropdown(e,t,o))}renderForView(e,t,o){const{showFlags:n,showName:a,nameDisplay:l,customCSS:c}=e,d=(0,r.default)("brz-translation",{"brz-translation__code":"code"===l},(0,g.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,S.style)(e,t,o)));return i.default.createElement(s.default,{selectorName:this.getId(),css:c},i.default.createElement(f.Wrapper,this.makeWrapperProps({className:d,attributes:{"data-showflags":n,"data-showname":a}}),i.default.createElement(b.DynamicContentHelper,{placeholder:`{{translation_switcher namedisplay="${l}"}}`,tagName:"div",props:{className:"brz-translation__dc h-full"}})))}}},5174:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},62798:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return i},styleDropdown:function(){return n}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontWeight","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2LetterSpacing","cssStyleColor","cssStyleBgColor","cssStyleBorder","cssStyleBoxShadow","cssStyleSizeWidth","cssStyleSizeHeight","cssStyleElementTranslationAlign"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-span":{standart:["cssStyleElementTranslationTextSpacing"]},".brz && .brz-translation__flag":{standart:["cssStyleElementTranslationFlagSize","cssStyleElementTranslationFlagSpacing"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-translation__select-list:hover":{standart:["cssStyleElementTranslationBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-translation__select-list .brz-translation__select-item:hover":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontWeight","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2LetterSpacing","cssStyleElementTranslationColor","cssStyleElementTranslationBgColor","cssStyleElementTranslationBorder","cssStyleSizeHeight","cssStyleElementTranslationAlign"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-translation__select-list .brz-translation__select-item .brz-span":{standart:["cssStyleElementTranslationTextSpacing"]},".brz && .brz-translation__select-list .brz-translation__select-item .brz-translation__flag":{standart:["cssStyleElementTranslationFlagSize","cssStyleElementTranslationFlagSpacing"]}}})}},81276:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",devices:"desktop",config:{icon:"nc-multi-languages",title:(0,i.t)("Translation")},position:10,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElementLanguages",label:(0,i.t)("Languages"),options:[{id:"showName",label:(0,i.t)("Name"),type:"switch-dev",devices:"desktop"},{id:"nameDisplay",label:(0,i.t)("Display"),type:"select-dev",devices:"desktop",disabled:"off"===s("showName"),choices:[{value:"full",title:(0,i.t)("Full Name")},{value:"code",title:(0,i.t)("Country Code")}]},{id:"textSpacing",label:(0,i.t)("Spacing"),disabled:"off"===s("showName"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"tabCurrentElementFlag",label:(0,i.t)("Flag"),options:[{id:"showFlags",label:(0,i.t)("Flags"),type:"switch-dev",devices:"desktop"},{id:"groupSettings",type:"group-dev",disabled:"off"===s("showFlags"),options:[{id:"flagSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"flagCustomSize",type:"slider-dev",disabled:"custom"!==s("flagSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"flagSpacing",label:(0,i.t)("Spacing"),disabled:"off"===s("showFlags"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:20,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("colorOpacity"))}}},devices:"desktop",position:30,options:[{id:"color",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,i.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"boxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,i.t)("Settings")},position:50,options:[{id:"width",label:(0,i.t)("Width"),type:"slider-dev",config:{min:0,max:"px"===s("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"height",label:(0,i.t)("Height"),type:"slider-dev",config:{min:0,max:500,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},87477:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("selectColorHex"),s("selectColorPalette"));return[{id:"toolbarColorSelect",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("selectColorOpacity"))}}},options:[{id:"color",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"selectColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,i.t)("Bg"),options:[{id:"selectBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"selectBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"boxShadow",label:(0,i.t)("Shadow"),options:[{id:"selectBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"selectHorizontalAlign",type:"toggle-dev",choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"duplicate",type:"button",disabled:!0},{id:"remove",type:"button",disabled:!0}]}},71963:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getFlagUrl",{enumerable:!0,get:function(){return o}});const o=(e,t)=>`${e}/${t}.svg`},8587:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return P}});const r=o(42162),i=w(o(60042)),n=w(o(27378)),a=w(o(36042)),l=w(o(36275)),s=w(o(67439)),c=w(o(63692)),d=o(97045),u=o(92213),p=o(94220),f=o(69321),m=o(66559),y=o(6085),g=o(86022),b=w(o(99993)),h=M(o(39920)),v=o(63731),S=M(o(3210));function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function M(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class T extends c.default{static get componentId(){return"Twitter"}static defaultValue=b.default;static experimentalDynamicContent=!0;dvv=e=>{const t=this.getValue(),o=(0,d.deviceModeSelector)((0,u.getStore)().getState());return(0,f.defaultValueValue)({v:t,key:e,device:o})};isUnMounted=!1;currentDeviceMode=m.DESKTOP;componentWillUnmount(){this.isUnMounted=!0}handleChange=()=>{const e=(0,u.getStore)().getState(),t=(0,d.deviceModeSelector)(e);this.isUnMounted||this.currentDeviceMode===t||(this.forceUpdate(),this.currentDeviceMode=t)};renderEditorByType(e){const{type:t,name:o,height:i,theme:a,buttonSize:l,buttonShowCount:s,buttonShowScreenName:c}=e,d=o.replace(/^@/,"");switch(t){case"embed":return n.default.createElement(r.TwitterEmbedEditor,{name:d,height:i,theme:a});case"followButton":return n.default.createElement(r.TwitterFollowEditor,{name:d,size:l,showCount:s,showScreenName:c});case"mentionButton":return n.default.createElement(r.TwitterMentionEditor,{name:d,size:l})}}renderPreviewByType(e){const{type:t,name:o,height:i,theme:a,buttonSize:l,buttonShowCount:s,buttonShowScreenName:c,tweet:d}=e,u=o.replace(/^@/,"");switch(t){case"embed":return n.default.createElement(r.TwitterEmbedPreview,{name:u,height:i,theme:a});case"followButton":return n.default.createElement(r.TwitterFollowPreview,{name:u,size:l,showCount:s,showScreenName:c});case"mentionButton":return n.default.createElement(r.TwitterMentionPreview,{name:u,size:l,tweet:d})}}renderForEdit(e,t,o){const{twitterType:r,customCSS:c,twitter:d}=e,u="embed";let f;f=d===u?u:r!==u?r:"followButton";const m=(0,i.default)("brz-twitter",{"brz-twitter__embed":"embed"===d},(0,p.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,v.style)(e,t,o))),y={name:e.twitterUsername.trim(),type:f,height:Number(this.dvv("height")),theme:"dark"===e.twitterTheme?"dark":"light",buttonSize:"large"===e.buttonLarge?"large":"small",buttonShowCount:"on"===e.buttonShowCount,buttonShowScreenName:"on"===e.buttonShowScreenName};return n.default.createElement(s.default,this.makeToolbarPropsFromConfig2(S,h),n.default.createElement(l.default,{selectorName:this.getId(),css:c},n.default.createElement(g.Wrapper,this.makeWrapperProps({className:m}),this.renderEditorByType(y),n.default.createElement(a.default,{onResize:this.handleChange}))))}renderForView(e,t,o){const{twitterType:r,customCSS:a,height:s,tabletHeight:c,mobileHeight:d,twitter:u}=e,f="embed";let m;m=u===f?f:r!==f?r:"followButton";const b=(0,i.default)("brz-twitter",`brz-twitter__${m}`,(0,p.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,v.style)(e,o,t))),h={name:e.twitterUsername.trim(),type:m,height:Number(this.dvv("height")),theme:"dark"===e.twitterTheme?"dark":"light",buttonSize:"large"===e.buttonLarge?"large":"small",buttonShowCount:"on"===e.buttonShowCount,buttonShowScreenName:"on"===e.buttonShowScreenName,tweet:e.tweet},S={"data-type":r,"data-heights":(0,y.encodeToString)({desktop:s,tablet:c??s,mobile:d??s})};return n.default.createElement(l.default,{selectorName:this.getId(),css:a},n.default.createElement(g.Wrapper,{...this.makeWrapperProps({className:b}),attributes:S},this.renderPreviewByType(h)))}}const P=T},39920:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Twitter"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"}]}]}]}]}]}},63731:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&.brz-twitter__embed:hover":{standart:["cssStyleSizeWidth","cssStyleSizeHeight"]}}})}},3210:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81263),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l,context:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:l}),d=c("twitter"),u=c("twitterType"),p="embed"===u,f=(0,a.getDynamicContentOption)({options:s.dynamicContent.config,type:r.DCTypes.richText}),m="embed"===d?[{title:(0,i.t)("Embed"),value:"embed"}]:[{title:(0,i.t)("Follow"),value:"followButton"},{title:(0,i.t)("Mention"),value:"mentionButton"}];return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-twitter",title:(0,i.t)("Twitter")},devices:"desktop",position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,i.t)("Twitter"),options:[{id:"twitterUsername",label:(0,i.t)("Username"),type:"inputText-dev",devices:"desktop",placeholder:"username",population:f},{id:"twitter",label:(0,i.t)("Twitter"),type:"select-dev",devices:"desktop",choices:[{title:(0,i.t)("Embed"),value:"embed"},{title:(0,i.t)("Button"),value:"button"}]},{id:"twitterType",label:(0,i.t)("Type"),type:"select-dev",devices:"desktop",choices:m,disabled:m.length<=1},{id:"twitterTheme",label:(0,i.t)("Theme"),type:"select-dev",devices:"desktop",disabled:"embed"!==d,choices:[{title:(0,i.t)("Light"),value:"light"},{title:(0,i.t)("Dark"),value:"dark"}]}]},{id:"tabAdvanced",label:(0,i.t)("Advanced"),options:[{id:"buttonLarge",label:(0,i.t)("Button Size"),type:"radioGroup-dev",disabled:"followButton"!==u&&"mentionButton"!==u,position:10,choices:[{value:"small",icon:"nc-small"},{value:"large",icon:"nc-large"}]},{id:"buttonShowCount",label:(0,i.t)("Followers"),type:"switch-dev",disabled:"followButton"!==u,devices:"desktop"},{id:"buttonShowScreenName",label:(0,i.t)("Handle"),type:"switch-dev",disabled:"followButton"!==u,devices:"desktop"},{id:"tweet",label:(0,i.t)("Tweet"),type:"inputText-dev",disabled:"mentionButton"!==u,devices:"desktop",placeholder:"this is my tweet"}]}]}]},...p?[{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[{id:"width",label:(0,i.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"height",label:(0,i.t)("Height"),type:"slider-dev",config:{min:200,max:700,inputMin:0,inputMax:9999,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]}]:[{id:"toolbarSettings",type:"popover-dev",devices:"all",disabled:!0}],...p?[{id:"advancedSettings",type:"advancedSettings",disabled:!0}]:[{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,i.t)("More Settings"),roles:["admin"],position:110,devices:"desktop",icon:"nc-cog"}]]}},16091:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return B}});const r=k(o(60042)),i=k(o(27378)),n=o(70634),a=k(o(31440)),l=k(o(36275)),s=o(62182),c=o(21407),d=o(10730),u=k(o(53125)),p=o(73948),f=k(o(67439)),m=k(o(63692)),y=k(o(22546)),g=o(94220),b=o(59209),h=o(16526),v=o(86845),S=o(59638),w=o(47744),x=o(86022),M=k(o(46516)),T=O(o(87879)),P=o(60623),C=O(o(52011));function k(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_=function(e){return e?o:t})(e)}function O(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const E=["topLeft","topRight","bottomLeft","bottomRight"];class z extends m.default{static get componentId(){return"Video"}static defaultValue=M.default;state={isDragging:!1,sizePatch:null};getDBValue(){return this.state.sizePatch?(0,n.mergeDeep)(this.props.dbValue,this.state.sizePatch):this.props.dbValue}handleResizerChange=e=>{this.state.isDragging?this.setState({sizePatch:e}):this.patchValue(e)};onDragStart=()=>{this.setState({isDragging:!0})};onDragEnd=()=>{const e=this.state.sizePatch;this.setState({isDragging:!1,sizePatch:null},(()=>this.handleResizerChange(e)))};getVideoSrc(e){const{video:t,coverImageSrc:o,controls:r,start:i,end:n,loop:a,autoplay:l,privacyMode:s,suggestedVideos:c,muted:d}=e,u=(0,w.videoData)(t),p="any"===c?1:0,f="off"===d?0:1;let m=e.branding;"off"===e.branding?m=1:"on"===e.branding&&(m=0);let y=e.intro;return"off"===e.intro?y=0:"on"===e.intro&&(y=1),u?(0,w.videoUrl)(u,{autoplay:!!o||"on"===l,controls:"on"===r,branding:m,intro:y,suggestedVideo:p,start:i,end:n,loop:"on"===a,hasCover:!!o,privacyMode:s,videoMuted:f}):""}getAutoplay(e){let t=e.autoplay;return e.coverImageSrc?t="off":"off"===e.controls&&(t="on"),t}renderCover(){return i.default.createElement("div",{key:"cover",className:"brz-video__cover"},i.default.createElement("div",{className:"brz-video__cover-icon"},i.default.createElement("span",{className:"brz-span"},i.default.createElement(p.ThemeIcon,{name:"play",type:"editor"}))))}renderExternalPlayer(e){const{coverImageSrc:t,video:o,videoPopulation:r,controls:n,branding:a,intro:l,start:s,end:c,loop:d,lazyLoad:u}=e,p=this.getVideoSrc(e),f="on"===d&&c?c+1:c,m=i.default.createElement("div",{key:"url",className:"brz-video-data brz-hidden","data-src":p,"data-population":r,"data-controls":"on"===n,"data-branding":"on"===a,"data-intro":"on"===l,"data-start":s,"data-end":f,"data-loop":"on"===d,"data-autoplay":this.getAutoplay(e)});return t?[m,this.renderCover()]:r?[m,this.renderPlaceholder()]:o?[m,i.default.createElement("iframe",{loading:"on"===u?"lazy":"eager",key:"iframe",allowFullScreen:!0,className:"intrinsic-ignore brz-iframe",src:p,title:"video"})]:this.renderPlaceholder()}renderCustomPlayer(e,t,o){const{coverImageSrc:n,custom:a,start:l,end:s,controls:c,loop:d,ratio:u,type:f,video:m}=e,y=("custom"===f&&(0,b.customFileUrl)(a),(0,r.default)("brz-video-elem",(0,g.css)(`${this.constructor.componentId}-bg2`,`${this.getId()}-bg2`,(0,P.styleCustomVideo)(e,t,o)))),h=(0,r.default)("brz-video-custom-controls",(0,g.css)(`${this.constructor.componentId}-controls`,`${this.getId()}-controls`,(0,P.styleControls)(e,t,o))),v=(0,g.css)(`${this.constructor.componentId}-icon-controls`,`${this.getId()}-icon-controls`,(0,P.styleIcon)(e,t,o)),S=(0,r.default)("brz-icon-svg","brz-video-custom-play",v),w=((0,r.default)("brz-hidden","brz-icon-svg","brz-video-custom-pause",v),(0,r.default)("brz-icon-svg","brz-video-custom-mute",v)),x=((0,r.default)("brz-hidden","brz-icon-svg","brz-video-custom-unmute",v),(0,r.default)("brz-icon-svg","brz-video-custom-fullscreen-icon",v)),M=(0,r.default)("video-wrapper",`brz-image-fix-${u.replace(":","-")}`,(0,g.css)(`${this.constructor.componentId}-wrapper`,`${this.getId()}-wrapper`,(0,P.styleWrapper)(e,t,o)));let T=e.muted;"on"===this.getAutoplay(e)&&(T="on");let C=n?this.renderCover(e):this.renderPlaceholder();return i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:M},C),i.default.createElement("div",{className:y},"on"===c&&i.default.createElement("div",{className:"brz-video-custom-video-controls"},i.default.createElement("div",{className:"brz-video-custom-play-pause-btn"},i.default.createElement(p.ThemeIcon,{className:S,name:"button-play",type:"glyph"}),!1),i.default.createElement("div",{className:h},i.default.createElement("span",{className:"brz-video-custom-current-time"},"0:00"),i.default.createElement("div",{className:"brz-video-custom-slider"},i.default.createElement("div",{className:"brz-video-custom-progress"})),i.default.createElement("span",{className:"brz-video-custom-total-time"},"0:00")),i.default.createElement("div",{className:"brz-video-custom-volume"},i.default.createElement("div",{className:"brz-video-custom-fullscreen-btn"},i.default.createElement(p.ThemeIcon,{className:x,name:"zoom-e",type:"glyph"})),i.default.createElement("div",{className:"brz-video-custom-volume-btn"},i.default.createElement(p.ThemeIcon,{className:w,name:"volume-97",type:"glyph"}),!1),i.default.createElement("div",{className:"brz-video-custom-volume-controls brz-video-custom-slider"},i.default.createElement("div",{className:"brz-video-custom-progress"})))),!1))}renderPlaceholder(){return i.default.createElement(u.default,{key:"placeholder",icon:"play"})}renderForEdit(e,t,o){const{type:n,ratio:u,controls:p,loop:m,muted:b,customCSS:w,hoverName:M}=e,k=(0,r.default)("brz-video",{"brz-custom-video":"custom"===n||"url"===n},{"brz-youtube-video":"youtube"===n},{"brz-vimeo-video":"vimeo"===n},`brz-video-${p}-controls-hidden`,(0,g.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,P.styleContent)(e,t,o))),_=(0,r.default)("video-wrapper",`brz-image-fix-${u.replace(":","-")}`,(0,g.css)(`${this.constructor.componentId}-wrapper`,`${this.getId()}-wrapper`,(0,P.styleWrapper)(e,t,o)));let O="custom"===n||"url"===n?this.renderCustomPlayer(e,t,o):i.default.createElement("div",{className:_},this.renderExternalPlayer(e));const z=(0,S.read)(M)??"none",B=(0,d.makeOptionValueToAnimation)(e),{wrapperAnimationId:j}=this.props.meta,N=(0,S.read)(j)??this.getId(),{wrapperAnimationActive:I}=this.props.meta,L=(0,v.read)(I);return i.default.createElement(f.default,this.makeToolbarPropsFromConfig2(C,T),i.default.createElement(l.default,{selectorName:this.getId(),css:w},i.default.createElement(x.Wrapper,this.makeWrapperProps({className:k}),i.default.createElement(s.HoverAnimation,{animationId:N,cssKeyframe:z,options:(0,c.getHoverAnimationOptions)(B,z),isDisabledHover:L,isHidden:(0,h.isStory)(y.default.getAll())},i.default.createElement(a.default,{points:E,meta:this.props.meta,value:e,onChange:this.handleResizerChange,onStart:this.onDragStart,onEnd:this.onDragEnd,restrictions:{size:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletSize:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileSize:{px:{min:5,max:1e3},"%":{min:5,max:100}}}},i.default.createElement("div",{className:"brz-video-content","data-loop":"on"===m,"data-muted":"on"===b,"data-autoplay":this.getAutoplay(e)},O))))))}}const B=z},87879:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return u},getItems:function(){return p}});const r=o(21407),i=o(93873),n=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(64985),s=o(16526),c=o(69321),d=o(59638),u=(0,l.t)("Video"),p=e=>{let{v:t,state:o,device:a}=e;const u=(0,s.isStory)(n.default.getAll()),p=(0,d.read)(("hoverName",(0,c.defaultValueValue)({v:t,key:"hoverName",device:a,state:o})))??"none";return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,l.t)("Styling"),label:(0,l.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,l.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,l.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,l.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,l.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,l.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,l.t)("Hover Transition"),disabled:u,devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,l.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,l.t)("Padding"),devices:"responsive",position:50}]},{id:"effects",title:(0,l.t)("Effects"),label:(0,l.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,l.t)("Entrance"),options:[]},{id:"tabHover",label:(0,l.t)("Hover"),options:[{id:"hover",type:"animation-dev",devices:"desktop",disabled:u,config:{types:i.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(p),delay:!1}}]}]}]}]}]}},60623:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleContent:function(){return i},styleWrapper:function(){return n},styleCustomVideo:function(){return a},styleControls:function(){return l},styleIcon:function(){return s}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidthSize"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-video-content":{standart:["cssStyleBorder","cssStyleBoxShadow","cssStyleBorderRadius","cssStyleElementVideoBgColorPadding","cssStyleElementVideoBgGradientPadding"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-iframe, &&:hover .brz-video__cover:before":{standart:["cssStyleFilter"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover.brz-custom-video video":{standart:["cssStyleFilter","cssStylePaddingBG"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-iframe":{standart:["cssStylePaddingBG"]},".brz && .brz-video-content .brz-video-elem":{standart:["cssStylePaddingBG"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementVideoPaddingRatio"]},".brz &&:hover .brz-video__cover::before":{standart:["cssStyleElementVideoCoverSrc","cssStyleElementVideoCoverPosition","cssStyleElementVideoBgSize","cssStyleFilter","cssStyleElementVideoCoverPaddingBG"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-video__cover .brz-video__cover-icon":{standart:["cssStyleElementVideoIconFontSize","cssStyleElementVideoIconWidth","cssStyleElementVideoIconHeight","cssStyleBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-video__cover .brz-video__cover-icon .brz-span":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && > .brz-video-custom-video-controls > .brz-video-custom-controls > .brz-video-custom-current-time:hover":{standart:["cssStyleVideoIconControls"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz && > .brz-video-custom-video-controls > .brz-video-custom-controls > .brz-video-custom-total-time:hover":{standart:["cssStyleVideoIconControls"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz && .brz-video-custom-slider:hover:before":{standart:["cssStyleBg2Color","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz && .brz-video-custom-slider:hover .brz-video-custom-progress":{standart:["cssStyleBg2Color"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz && .brz-video-custom-video-controls:hover":{standart:["cssStyleVideoControlsBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]}}})}function l(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementMediaPadding","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"]}}})}function s(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementVideoControlsIconFontSize","cssStyleVideoIconControls"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]}}})}},52011:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81263),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119),p=e=>{let{v:t,device:o,context:i}=e;const p=r.default.getAll(),f=(0,s.isStory)(p),m=Boolean(p.pro),y=e=>(0,c.defaultValueValue)({v:t,key:e,device:o}),{hex:g}=(0,d.getOptionColorHexByPalette)(y("bgColorHex"),y("bgColorPalette")),{hex:b}=(0,d.getOptionColorHexByPalette)(y("borderColorHex"),y("borderColorPalette")),h=(0,d.getDynamicContentOption)({options:i.dynamicContent.config,type:n.DCTypes.link}),v=y("type"),S=!y("coverImageSrc"),w="youtube"===v,x="vimeo"===v,M="custom"===v,T="url"===v,P="off"===y("controls"),C="on"===y("autoplay"),k=m?[{title:(0,l.t)("Custom Video"),value:"custom"}]:[];return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-play",title:(0,l.t)("Video")},position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,l.t)("Video"),options:[{id:"type",label:(0,l.t)("Type"),type:"select-dev",devices:"desktop",choices:[{title:(0,l.t)("YouTube"),value:"youtube"},{title:(0,l.t)("Vimeo"),value:"vimeo"},...k,{title:(0,l.t)("URL"),value:"url"}]},{id:"ratio",label:(0,l.t)("Ratio"),type:"select-dev",devices:"desktop",choices:[{title:"1:1",value:"1:1"},{title:"3:2",value:"3:2"},{title:"4:3",value:"4:3"},{title:"9:16",value:"9:16"},{title:"16:9",value:"16:9"},{title:"21:9",value:"21:9"}]},{id:"custom",type:"fileUpload-dev",label:(0,l.t)("File"),config:{allowedExtensions:["video/*"]},devices:"desktop",disabled:!M},{id:"video",label:(0,l.t)("Link"),type:"inputText-dev",devices:"desktop",population:h,disabled:M,placeholder:w?(0,l.t)("YouTube"):x?(0,l.t)("Vimeo"):(0,l.t)("https://"),helper:{content:T?(0,l.t)("This is .mp4 URL."):w?(0,l.t)("Use the regular video links generated by YouTube. The 'feature=share' parameter is not a valid or recognized parameter by the YouTube platform."):""}}]},{id:"tabCurrentElementPlayback",label:(0,l.t)("Playback"),options:[{id:"autoplay",label:(0,l.t)("Autoplay"),type:"switch-dev",devices:"desktop",disabled:P||!S},{id:"muted",label:(0,l.t)("Muted"),type:"switch-dev",devices:"desktop",disabled:S&&P||S&&C},{id:"loop",label:(0,l.t)("Loop"),type:"switch-dev",devices:"desktop"},{id:"suggestedVideos",label:(0,l.t)("Suggested Videos"),type:"select-dev",devices:"desktop",disabled:!w,choices:[{title:"Current Video Channel",value:"current"},{title:"Any Video",value:"any"}]},{id:"start",type:"number-dev",label:(0,l.t)("Start"),devices:"desktop",helper:{content:(0,l.t)("Specify a start time (in seconds)")},config:{size:"short",max:99999,spinner:!1}},{id:"end",type:"number-dev",label:(0,l.t)("End"),devices:"desktop",disabled:x,helper:{content:(0,l.t)("Specify an end time (in seconds)")},config:{size:"short",max:99999,spinner:!1}}]},{id:"tabCurrentElementPlayer",label:(0,l.t)("Player"),options:[{label:(0,l.t)("Cover Image"),id:"cover",type:"imageUpload-dev",devices:"desktop"},{id:"coverZoom",label:(0,l.t)("Zoom"),type:"slider-dev",devices:"desktop",disabled:S,config:{min:100,max:300,units:[{value:"%",title:"%"}]}},{id:"iconSize",label:(0,l.t)("Play"),type:"slider-dev",devices:"desktop",disabled:S,config:{min:50,max:200,inputMin:50,inputMax:200,units:[{value:"px",title:"px"}]}},{id:"groupSettings",type:"group-dev",devices:"desktop",options:[{id:"controls",label:(0,l.t)("Controls"),type:"switch-dev"},{id:"controlsIconCustomSize",type:"slider-dev",label:(0,l.t)("Size"),disabled:!M||"on"!==y("controls"),config:{min:1,max:40,units:[{title:"px",value:"px"}]}}]},{id:"branding",label:(0,l.t)("Branding"),type:"switch-dev",devices:"desktop",disabled:P||!w},{id:"intro",label:(0,l.t)("Intro"),type:"switch-dev",devices:"desktop",disabled:!x},{id:"lazyLoad",label:(0,l.t)("Lazy Load"),type:"switch-dev",devices:"desktop",disabled:!w},{id:"privacyMode",label:(0,l.t)("Privacy Mode"),type:"switch-dev",devices:"desktop",disabled:!w}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},position:90,disabled:!M||P,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:S?(0,a.hexToRgba)(b,y("borderColorOpacity")):(0,a.hexToRgba)(g,y("bgColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabIcon",label:(0,l.t)("Icons"),options:[{id:"iconControlsColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:!M||P}]},{id:"tabBg",label:(0,l.t)("Bar"),options:[{id:"controlsBgColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:!M||P}]},{id:"tabBgProgress",label:(0,l.t)("Slider"),options:[{id:"bg2Color",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:!M||P}]},{id:"tabPlay",label:(0,l.t)("Play"),options:[{id:"bgColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:S||C}]},{id:"icon",label:(0,l.t)("Icon"),options:[{id:"color",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:S||C}]},{id:"tabBackground",label:(0,l.t)("Bg"),options:[{id:"padding",type:"backgroundColor-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"border",type:"border-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},position:110,disabled:f,options:[{id:"size",label:(0,l.t)("Size"),position:80,type:"slider-dev",config:{min:1,max:"px"===y("sizeSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",position:110,disabled:!f,icon:"nc-cog",devices:"desktop"}]}},97753:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=o(70634),i=o(10301),n=(a=o(10787))&&a.__esModule?a:{default:a};var a;const l=o(67439),s=o(64985);class c extends n.default{static get componentId(){return"VideoPlaylist.Items"}static defaultProps={meta:{},onActiveChange:i.noop};getItemProps(e,t,o){const r={getItems:()=>[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{align:"vertical",disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:(0,s.t)("Duplicate"),position:225,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:(0,s.t)("Delete"),position:250,disabled:1===o.length,onChange:()=>{(0,l.hideToolbar)(),this.removeItem(t)}}]};return{meta:this.props.meta,active:this.props.currentIndex===t,toolbarExtend:this.makeToolbarPropsFromConfig2(r),onActiveItem:()=>{this.props.onActiveChange(t)}}}removeItem(e){const t=this.getDBValue()||[],o=(0,r.removeAt)(t,e);setTimeout((()=>{this.handleValueChange(o,{arrayOperation:"remove"})}),0)}}const d=c},74722:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=b(o(60042)),i=b(o(27378)),n=o(66848),a=b(o(36275)),l=b(o(53125)),s=b(o(67439)),c=b(o(63692)),d=o(94220),u=o(68914),p=o(61839),f=o(47744),m=b(o(69309)),y=o(47572),g=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(2292));function b(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}class v extends c.default{static get componentId(){return"VideoPlaylistItem"}static defaultValue=m.default;handleTextChange=e=>{this.patchValue({title:e})};handleText2Change=e=>{this.patchValue({subTitle:e})};getVideoSrc(e){const{video:t,controls:o,start:r,end:i,branding:n,intro:a,loop:l}=e,s=(0,f.videoData)(t);return s?(0,f.videoUrl)(s,{controls:"on"===o?1:0,branding:"off"===n?1:0,intro:"off"===a?0:1,loop:"off"===l?0:1,suggestedVideo:!1,start:r,end:i}):""}getImageHref(e){const{video:t}=e;switch(t&&t.includes("youtube.com")?"long":"short"){case"long":return(0,p.getUrlQueryParam)(t,"v");case"short":return t.split("/")[3];default:return""}}renderForEdit(e,t,o){const{video:c,title:p,subTitle:f,coverImageSrc:m,coverImageFileName:b,coverSizeType:h,customCSS:v}=e,{onActiveItem:S,active:w}=this.props,x=this.getVideoSrc(e),M=(0,u.getImageUrl)({uid:m,fileName:b,sizeType:h}),T=(0,r.default)("brz-video-playlist-video-item",{"brz-video-playlist-video-item__cover":e.coverImageSrc},{"brz-video-playlist-video-item--active":w},(0,d.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,y.styleContent)(e,t,o))),P=this.getImageHref(e),C=e.coverImageSrc?i.default.createElement("img",{className:"brz-img",src:M,alt:"cover"}):c?i.default.createElement("img",{className:"brz-img",src:`https://img.youtube.com/vi/${P}/hqdefault.jpg`,alt:"cover"}):i.default.createElement(l.default,{icon:"play"});return i.default.createElement(s.default,this.makeToolbarPropsFromConfig2(g),i.default.createElement(a.default,{selectorName:this.getId(),css:v},i.default.createElement("div",{className:T,"data-link":x,onClick:S},i.default.createElement("div",{className:"brz-video-playlist-video-elem"},C),i.default.createElement("div",{className:"brz-video-playlist-title-video"},i.default.createElement(n.TextEditor,{value:p,onChange:this.handleTextChange}),i.default.createElement(n.TextEditor,{value:f,onChange:this.handleText2Change})))))}}const S=v},47572:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styleContent",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:before":{standart:["cssStyleBorderRadius"]},".brz && .brz-video-content && .brz-shortcode__placeholder":{standart:["cssStyleBorderRadius"]}}})}},2292:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(69321);function n(e){let{v:t,device:o}=e;const n=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),a=n("coverImageSrc"),l=n("type"),s=a?[]:[{id:"coverZoom",type:"slider-dev",disabled:!0},{id:"iconSize",type:"slider-dev",disabled:!0}],c=a?{}:{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{}},devices:"desktop",roles:["admin"],position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabPlay",label:(0,r.t)("Play"),position:20,options:[{id:"iconBgColor",type:"colorPicker-dev",disabled:!0}]},{id:"tabIcon",label:(0,r.t)("Icon"),position:30,options:[{id:"iconColor",type:"colorPicker-dev",disabled:!0}]}]}]};return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-play",title:(0,r.t)("Video")},devices:"desktop",position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,r.t)("Video"),options:[{id:"type",label:(0,r.t)("Type"),type:"select-dev",choices:[{value:"youtube",title:"YouTube"},{value:"vimeo",title:"Vimeo"}]},{id:"video",label:(0,r.t)("Link"),type:"inputText-dev",devices:"desktop",placeholder:"youtube"===l?(0,r.t)("YouTube"):"vimeo"===l?(0,r.t)("Vimeo"):""}]},{id:"tabCurrentElementAdvanced",label:(0,r.t)("Advanced"),options:[{id:"controls",label:(0,r.t)("Controls"),type:"switch-dev",devices:"desktop",disabled:"vimeo"===l},{id:"branding",label:(0,r.t)("Branding"),type:"switch-dev",devices:"desktop",disabled:"on"!==n("controls")||"youtube"!==l},{id:"intro",label:(0,r.t)("Intro"),type:"switch-dev",devices:"desktop",disabled:"vimeo"!==l},{id:"loop",label:(0,r.t)("Loop"),type:"switch-dev",devices:"desktop"},{id:"start",type:"number-dev",label:(0,r.t)("Start"),devices:"desktop",config:{size:"short",max:99999,spinner:!1},helper:{content:(0,r.t)("Specify a start time (in seconds)")}},{id:"end",type:"number-dev",label:(0,r.t)("End"),devices:"desktop",disabled:"vimeo"===l,config:{size:"short",max:99999,spinner:!1},helper:{content:(0,r.t)("Specify an end time (in seconds)")}}]},{id:"tabCurrentElementCover",label:(0,r.t)("Cover"),options:[{label:(0,r.t)("Cover"),id:"cover",type:"imageUpload-dev",devices:"desktop"},...s]}]}]},c,{id:"toolbarSettings",type:"popover-dev",config:{title:(0,r.t)("Settings")},roles:["admin"],position:110,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},36543:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return P}});const r=S(o(27378)),i=S(o(63692)),n=S(o(60042)),a=S(o(36275)),l=S(o(31440)),s=S(o(53125)),c=o(73948),d=o(47744),u=o(94220),p=x(o(60395)),f=x(o(46039)),m=x(o(37229)),y=x(o(29563)),g=S(o(97753)),b=o(74122),h=S(o(49013)),v=o(86022);function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const M=["centerLeft","centerRight"];class T extends i.default{static get componentId(){return"VideoPlaylist"}state={currentIndex:0};static defaultValue=h.default;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(m,y,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}handleValueChange(e,t){super.handleValueChange(e,t);const{items:o}=t.patch;o&&o.lengththis.patchValue(e);handleActive=e=>this.setState({currentIndex:e});handleCoverIconClick(e){e.preventDefault()}getItemValue(e){const t=e.items[this.state.currentIndex];return t?t.value:e.items[0].value}getVideoSrc(e){const t=this.getItemValue(e),{branding:o,intro:r,video:i,loop:n}=t,a=t.start,l=t.end,s=(0,d.videoData)(i);return s?(0,d.videoUrl)(s,{controls:"on"===t.controls?0:1,branding:"off"===o?1:0,intro:"off"===r?0:1,loop:"off"===n?0:1,suggestedVideo:!1,start:a,end:l}):""}renderCover(e){return r.default.createElement("div",{className:"brz-video-playlist__cover"},r.default.createElement("div",{className:"brz-video-playlist__cover-icon"},r.default.createElement("span",{className:"brz-play-button","data-video-url":e,onClick:this.handleCoverIconClick},r.default.createElement(c.ThemeIcon,{name:"play",type:"editor"}))))}renderForEdit(e,t,o){const{positionItem:i,positionThumbs:c,customCSS:d}=e,{meta:m}=this.props,{currentIndex:y}=this.state,h=this.getItemValue(e),{coverImageSrc:S}=h,w=this.getVideoSrc(e),x=(0,n.default)("brz-video-playlist",`brz-video-playlist-${i}`,`brz-video-playlist-${c}`,(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,b.styleContents)(e,t,o)),(0,u.css)(`${this.constructor.componentId}-cover`,`${this.getId()}-cover`,(0,b.styleCover)(h,t,o))),T=(0,n.default)("brz-video-playlist-col","brz-video-playlist-sidebar",(0,u.css)(`${this.constructor.componentId}-sidebar`,`${this.getId()}-sidebar`,(0,b.styleSideBar)(e,t,o))),P=this.makeSubcomponentProps({bindWithKey:"items",currentIndex:y,toolbarExtend:this.makeToolbarPropsFromConfig2(p,f,{allowExtend:!1}),meta:m}),C=S?r.default.createElement("div",{className:"brz-video-playlist-col brz-video-playlist-main brz-video-playlist-main__cover"},this.renderCover(w)):w?r.default.createElement("div",{className:"brz-video-playlist-col brz-video-playlist-main"},r.default.createElement("div",{className:"brz-video-playlist-main__content brz-p-relative brz-pointer-events-none"},r.default.createElement("iframe",{allowFullScreen:!0,className:"brz-iframe intrinsic-ignore",src:w,title:"video-playlist"}))):r.default.createElement("div",{className:"brz-video-playlist-col brz-video-playlist-main brz-video-playlist-main__placeholder"},r.default.createElement("div",{className:"brz-video-playlist-main__content brz-p-relative"},r.default.createElement(s.default,{icon:"play"})));return r.default.createElement(a.default,{selectorName:this.getId(),css:d},r.default.createElement(v.Wrapper,this.makeWrapperProps({className:x}),r.default.createElement(l.default,{points:M,meta:m,value:e,onChange:this.handleResizerChange},r.default.createElement("div",{className:"brz-video-playlist__container brz-ow-hidden brz-p-relative"},"horizontal"===i&&C,r.default.createElement("div",{className:T},r.default.createElement(g.default,{...P,onActiveChange:this.handleActive})),"vertical"===i&&C))))}renderForView(e,t,o){const{positionItem:i,positionThumbs:l,customCSS:c}=e,d=this.getItemValue(e),{coverImageSrc:p}=d,f=this.getVideoSrc(e),m=(0,n.default)("brz-video-playlist",`brz-video-playlist-${i}`,`brz-video-playlist-${l}`,"brz-ow-hidden",(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,b.styleContents)(e,t,o)),(0,u.css)(`${this.constructor.componentId}-cover`,`${this.getId()}-cover`,(0,b.styleCover)(d,t,o))),y=(0,n.default)("brz-video-playlist-col","brz-video-playlist-sidebar",(0,u.css)(`${this.constructor.componentId}-sidebar`,`${this.getId()}-sidebar`,(0,b.styleSideBar)(e,t,o))),h=this.makeSubcomponentProps({bindWithKey:"items",currentIndex:0,meta:this.props.meta}),S=(0,n.default)("brz-video-playlist-col","brz-video-playlist-main","brz-video-playlist-main__cover",{"brz-d-none":!p}),w=(0,n.default)("brz-video-playlist-col","brz-video-playlist-main","brz-video-playlist-main__video",{"brz-d-none":!f||p}),x=(0,n.default)("brz-video-playlist-col","brz-video-playlist-main","brz-video-playlist-main__placeholder",{"brz-d-none":f||p}),M=r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:S},this.renderCover(f)),r.default.createElement("div",{className:w},r.default.createElement("div",{className:"brz-video-playlist-main__content brz-p-relative"},r.default.createElement("iframe",{className:"brz-iframe intrinsic-ignore",allowFullScreen:!0,allow:"autoplay",src:f}))),r.default.createElement("div",{className:x},r.default.createElement("div",{className:"brz-video-playlist-main__content brz-p-relative"},r.default.createElement(s.default,{icon:"play"}))));return r.default.createElement(a.default,{selectorName:this.getId(),css:c},r.default.createElement(v.Wrapper,this.makeWrapperProps({className:m}),"horizontal"===i&&M,r.default.createElement("div",{className:y},r.default.createElement(g.default,{...h,onActiveChange:this.handleActive})),"vertical"===i&&M))}}const P=T},46039:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Playlist Items");function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),position:50},{id:"margin",label:(0,r.t)("Margin"),type:"margin-dev",position:60}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[]}]}]}]}]}},29563:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Playlist"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50}]}]}]}},74122:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleContents:function(){return i},styleSideBar:function(){return n},styleCover:function(){return a}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-video-playlist__container":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-video-playlist-sidebar":{standart:["cssStyleDisplayFlex"]},".brz &&:hover:before":{standart:["cssStyleBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&.brz-video-playlist-horizontal .brz-video-playlist-main":{standart:["cssStyleSizeWidthVideoBlock","cssStylePaddingBG"]},".brz &&.brz-video-playlist-horizontal .brz-video-playlist-col.brz-video-playlist-main.brz-video-playlist-main__cover":{standart:["cssStyleElementVideoPlaylistCoverPaddingBG"]},".brz &&.brz-video-playlist-horizontal .brz-video-playlist-sidebar":{standart:["cssStyleSizeWidthPixel","cssStylePaddingBG"]},".brz &&.brz-video-playlist-horizontal .brz-video-playlist-video-item":{standart:["cssStyleDisplayFlex"]},".brz &&.brz-video-playlist-vertical":{standart:[]},".brz &&.brz-video-playlist-vertical .brz-video-playlist__container":{standart:["cssStylePaddingBG"]},".brz &&.brz-video-playlist-vertical .brz-video-playlist-video-item":{standart:["cssStyleElementVideoPlaylistGridItemWidth"]},".brz && .brz-video-playlist-video-item:not(.brz-video-playlist-video-item--active):hover":{standart:["cssStyleBgColor","cssStyleElementVideoPlaylistBorderItem"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz && .brz-video-playlist-video-item.brz-video-playlist-video-item--active":{standart:["cssStyleElementVideoPlaylistItemActiveBg","cssStyleElementVideoPlaylistBorderItemActive"]},".brz &&:hover .brz-video-playlist-video-item":{standart:["cssStylePaddingFourFields","cssStyleMargin","cssStyleFlexVerticalAlign"]},".brz && .brz-video-playlist-video-item .brz-video-playlist-title-video span:first-child":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LetterSpacing","cssStyleTypography2FontWeight","cssStyleTypography2LineHeight"]},".brz && .brz-video-playlist-video-item:not(.brz-video-playlist-video-item--active):hover .brz-video-playlist-title-video span:first-child":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz && .brz-video-playlist-video-item.brz-video-playlist-video-item--active .brz-video-playlist-title-video span:first-child":{standart:["cssStyleElementVideoPlaylistItemActiveColor"]},".brz && .brz-video-playlist-video-item .brz-video-playlist-title-video span:last-child":{standart:["cssStyleElementVideoPlaylistSubTitleVideoTypography2FontFamily","cssStyleElementVideoPlaylistSubTitleVideoTypography2FontSize","cssStyleElementVideoPlaylistSubTitleVideoTypography2LineHeight","cssStyleElementVideoPlaylistSubTitleVideoTypography2FontWeight","cssStyleElementVideoPlaylistSubTitleVideoTypography2LetterSpacing"]},".brz && .brz-video-playlist-video-item:not(.brz-video-playlist-video-item--active):hover .brz-video-playlist-title-video span:last-child":{standart:["cssStyleCoverSubTitleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz && .brz-video-playlist-video-item.brz-video-playlist-video-item--active .brz-video-playlist-title-video span:last-child":{standart:["cssStyleElementVideoPlaylistItemSubtitleActiveColor"]},".brz &&:hover .brz-video-playlist-video-elem":{standart:["cssStyleElementVideoPlaylistImageSize"]},".brz &&:hover .brz-iframe, && .brz-video-playlist__cover:before, .brz && .brz-video-playlist-video-elem":{standart:["cssStyleFilter"]},".brz &&:hover .brz-video-playlist__cover .brz-video-playlist__cover-icon":{standart:["cssStyleElementVideoIconFontSize","cssStyleElementVideoIconWidth","cssStyleElementVideoIconHeight","cssStyleBgIconCoverColor","cssStyleDisplayFlex"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-video-playlist__cover .brz-play-button":{standart:["cssStyleCoverIconColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-video-playlist__cover::before":{standart:["cssStyleElementVideoBgSize","cssStyleFilter"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-video-playlist__cover":{standart:["cssStyleDisplayFlex"]},".brz &&:hover .brz-video-playlist__cover::before":{standart:["cssStyleElementVideoCoverSrc","cssStyleElementVideoCoverPosition","cssStyleFilter"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]}}})}},60395:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-play",title:(0,i.t)("Video")},devices:"desktop",position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElementCover",label:(0,i.t)("Cover"),options:[{id:"coverZoom",label:(0,i.t)("Zoom"),devices:"desktop",type:"slider-dev",config:{min:100,max:300,units:[{value:"%",title:"%"}]}},{id:"iconSize",label:(0,i.t)("Play"),type:"slider-dev",devices:"desktop",roles:["admin"],config:{min:50,max:200,inputMin:50,inputMax:200,units:[{value:"px",title:"px"}]}}]},{id:"tabCurrentElementFilter",label:(0,i.t)("Filters"),options:[{id:"",type:"filters-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},roles:["admin"],position:80,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabTitle",label:(0,i.t)("Title"),options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabSubTitle",label:(0,i.t)("Sub Title"),options:[{id:"subTitle",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("colorOpacity"))}}},devices:"desktop",roles:["admin"],position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabPlay",label:(0,i.t)("Play"),position:20,options:[{id:"iconBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabIcon",label:(0,i.t)("Icon"),position:30,options:[{id:"iconColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabVideoTitle",label:(0,i.t)("Title"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabVideoSubTitle",label:(0,i.t)("Sub Title"),options:[{id:"subTitleColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBgItem",label:(0,i.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"itemBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},roles:["admin"],position:110,options:[{id:"widthImage",label:(0,i.t)("Size"),type:"slider-dev",position:10,config:{min:0,max:500,units:[{value:"px",title:"px"}]}},{id:"verticalAlign",label:(0,i.t)("Content"),type:"radioGroup-dev",devices:"desktop",disabled:"vertical"===s("positionItem"),position:10,choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"}]}]}]}},37229:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("borderColorHex"),s("borderColorPalette")),d=s("positionItem");return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-play",title:(0,i.t)("Playlist")},position:10,options:[{id:"positionItem",label:(0,i.t)("Position"),type:"select-dev",devices:"desktop",choices:[{value:"horizontal",title:"Horizontal"},{value:"vertical",title:"Vertical"}]},{id:"positionThumbs",label:(0,i.t)("Thumbs"),type:"select-dev",devices:"desktop",disabled:"horizontal"===d,choices:[{value:"above",title:"Top"},{value:"under",title:"Bottom"}]},{id:"gridColumn",label:(0,i.t)("Columns"),type:"slider-dev",disabled:"horizontal"===d,config:{min:1,max:6}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("borderColorOpacity"))}}},position:90,devices:"desktop",roles:["admin"],options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,i.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,i.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"widthSidebar",label:(0,i.t)("Sidebar"),type:"slider-dev",disabled:"vertical"===d||"mobile"===o,config:{min:200,max:1e3,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},12692:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return M}});const r=S(o(27378)),i=S(o(63692)),n=S(o(36275)),a=S(o(67439)),l=x(o(68598)),s=x(o(47859)),c=x(o(9870)),d=x(o(73690)),u=x(o(1519)),p=x(o(67871)),f=x(o(48360)),m=S(o(96332)),y=S(o(60042)),g=o(72485),b=o(94220),h=o(8704),v=o(86022);function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class M extends i.default{static get componentId(){return"WOOAddToCart"}static defaultValue=m.default;renderForEdit(e,t,o){const{className:i}=e,m=(0,y.default)("brz-woo-add-to-cart",i,(0,b.css)(this.constructor.componentId,this.getId(),(0,g.style)(e,t,o)));return r.default.createElement(a.default,{...this.makeToolbarPropsFromConfig2(l,p),selector:"button, .brz-shortcode__placeholder"},r.default.createElement(a.default,{...this.makeToolbarPropsFromConfig2(u,p,{allowExtend:!1}),selector:"table.group_table"},r.default.createElement(a.default,{...this.makeToolbarPropsFromConfig2(d,p,{allowExtend:!1}),selector:"table.variations"},r.default.createElement(a.default,{...this.makeToolbarPropsFromConfig2(s,f,{allowExtend:!1}),selector:".brz-woo-add-to-cart .cart:not(.grouped_form) .quantity"},r.default.createElement(a.default,{...this.makeToolbarPropsFromConfig2(c,f,{allowExtend:!1}),selector:".brz-woo-add-to-cart .grouped_form .quantity"},r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(v.Wrapper,this.makeWrapperProps({className:m}),r.default.createElement(h.DynamicContentHelper,{placeholder:"{{editor_product_add_to_cart_btn}}",placeholderIcon:"woo-addToCart",tagName:"div"}))))))))}}},67871:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Add to cart"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"buttonBorder",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:70}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},48360:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Add to cart Input");function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Styling"),icon:"nc-styling",options:[{id:"inputBorder",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:70}]}]}]}]}]}},72485:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover form:not(.variations_form)":{standart:["cssStyleElementWOOAddToCartInputPosition","cssStyleElementWOOAddToCartInputAlign"]},".brz &&:hover form.variations_form .variations_button":{standart:["cssStyleElementWOOAddToCartInputPosition","cssStyleElementWOOAddToCartInputAlign"]},".brz && form.cart .quantity:hover":{standart:["cssStyleElementWOOAddToCartInputWidth","cssStyleElementWOOAddToCartInputHeight","cssStyleElementWOOAddToCartSpacing"]},".brz &&:hover input[type=number].input-text":{standart:["cssStyleElementWOOAddToCartInputColor","cssStyleElementWOOAddToCartInputFontFamily","cssStyleElementWOOAddToCartInputFontSize","cssStyleElementWOOAddToCartInputLineHeight","cssStyleElementWOOAddToCartInputFontWeight","cssStyleElementWOOAddToCartInputLetterSpacing","cssStyleElementWOOAddToCartInputRadius","cssStyleElementWOOAddToCartInputBg","cssStyleElementWOOAddToCartInputBorder","cssStyleElementWOOAddToCartInputBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover input[type=number].input-text::placeholder":{standart:["cssStyleElementWOOAddToCartInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .single_variation":{standart:["cssStyleElementWOOAddToCartValueColor","cssStyleElementWOOAddToCartValueFontFamily","cssStyleElementWOOAddToCartValueFontSize","cssStyleElementWOOAddToCartValueLineHeight","cssStyleElementWOOAddToCartValueFontWeight","cssStyleElementWOOAddToCartValueLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover button[type=submit].single_add_to_cart_button.single_add_to_cart_button":{standart:["cssStyleElementWOOAddToCartBorderRadius","cssStyleElementWOOAddToCartButtonColor","cssStyleBgColor","cssStyleBgGradient","cssStyleElementWOOAddToCartBorder","cssStyleBoxShadow","cssStyleElementWOOAddToCartSize","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover td label":{standart:["cssStyleElementWOOAddToCartLabelColor","cssStyleElementWOOAddToCartLabelFontFamily","cssStyleElementWOOAddToCartLabelFontSize","cssStyleElementWOOAddToCartLabelLineHeight","cssStyleElementWOOAddToCartLabelFontWeight","cssStyleElementWOOAddToCartLabelLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover td.value .reset_variations":{standart:["cssStyleElementWOOAddToCartClearColor","cssStyleElementWOOAddToCartClearFontFamily","cssStyleElementWOOAddToCartClearFontSize","cssStyleElementWOOAddToCartClearLineHeight","cssStyleElementWOOAddToCartClearFontWeight","cssStyleElementWOOAddToCartClearLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover table":{standart:["cssStyleElementWOOAddToCartTableMargin","cssStyleElementWOOAddToCartTableBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .label, .woocommerce-grouped-product-list-item":{standart:["cssStyleElementWOOAddToCartLabelBg"]},".brz &&:hover table td":{standart:["cssStyleElementWOOAddToCartTableBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover td.value select":{standart:["cssStyleElementWOOAddToCartTableBorder","cssStyleElementWOOAddToCartValueColor","cssStyleElementWOOAddToCartValueFontFamily","cssStyleElementWOOAddToCartValueFontSize","cssStyleElementWOOAddToCartValueLineHeight","cssStyleElementWOOAddToCartValueFontWeight","cssStyleElementWOOAddToCartValueLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .value":{standart:["cssStyleElementWOOAddToCartTableBg"]},".brz &&:hover td.woocommerce-grouped-product-list-item__price":{standart:["cssStyleElementWOOAddToCartValueColor","cssStyleElementWOOAddToCartValueFontFamily","cssStyleElementWOOAddToCartValueFontSize","cssStyleElementWOOAddToCartValueLineHeight","cssStyleElementWOOAddToCartValueFontWeight","cssStyleElementWOOAddToCartValueLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},68598:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),i=o(81405),n=o(68256),a=o(69321),l=o(24119),s=e=>{let{v:t,device:o,state:s}=e;const c=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,n.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(d,c("bgColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,r.t)("Bg"),options:[{id:"",type:"backgroundColor-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"buttonColorTab",label:(0,r.t)("Text"),options:[{id:"buttonColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,r.t)("Border"),options:[{id:"buttonBorder",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabShadow",label:(0,r.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog"},position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"height",label:(0,r.t)("Height"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},47859:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),d=c("inputPosition"),{hex:u}=(0,a.getOptionColorHexByPalette)(c("inputColorHex"),c("inputColorPalette"));return[{id:"toolbarWOOProductPage",type:"popover-dev",config:{icon:"nc-woo-add-to-cart",title:(0,i.t)("Add to cart")},position:10,options:[{id:"inputPosition",label:(0,i.t)("Position"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"},{value:"top",icon:"nc-align-top"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"inputVerticalAlign",label:(0,i.t)("Align"),disabled:"top"===d||"bottom"===d,type:"radioGroup-dev",devices:"desktop",choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"inputHorizontalAlign",label:(0,i.t)("Align"),disabled:"left"===d||"right"===d,type:"radioGroup-dev",devices:"desktop",choices:[{value:"left",icon:"nc-text-align-left"},{value:"center",icon:"nc-text-align-center"},{value:"right",icon:"nc-text-align-right"}]},{id:"spacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"input",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,c("inputColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"inputColorTab",label:(0,i.t)("Text"),options:[{id:"inputColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"inputBgColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"inputBorder",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabShadow",label:(0,i.t)("Shadow"),options:[{id:"inputBoxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog"},position:110,options:[{id:"inputWidth",label:(0,i.t)("Width"),type:"slider-dev",config:{min:20,max:100,units:"left"===d||"right"===d?[{value:"px",title:"px"}]:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"inputHeight",label:(0,i.t)("Height"),type:"slider-dev",config:{min:20,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]}]}]}]}},9870:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),d=c("inputPosition"),{hex:u}=(0,a.getOptionColorHexByPalette)(c("inputColorHex"),c("inputColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"input",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,c("inputColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"inputColorTab",label:(0,i.t)("Text"),options:[{id:"inputColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"inputBgColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"inputBorder",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabShadow",label:(0,i.t)("Shadow"),options:[{id:"inputBoxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog"},position:110,options:[{id:"inputWidth",label:(0,i.t)("Width"),type:"slider-dev",config:{min:20,max:100,units:"left"===d||"right"===d?[{value:"px",title:"px"}]:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"inputHeight",label:(0,i.t)("Height"),type:"slider-dev",config:{min:20,max:100,units:[{value:"px",title:"px"}]}},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",label:(0,i.t)("More Settings"),icon:"nc-cog"}]}]}},1519:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),i=o(81405),n=o(68256),a=o(69321),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,n.getOptionColorHexByPalette)(c("labelColorHex"),c("labelColorPalette"));return[{id:"toolbarWOOProductPage",type:"popover-dev",config:{icon:"nc-woo-2"},position:10,options:[{id:"tableSpacing",label:(0,r.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabLabel",label:(0,r.t)("Label"),options:[{id:"label",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabValue",label:(0,r.t)("Value"),options:[{id:"value",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(d,c("labelColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"labelColorTab",label:(0,r.t)("Label"),options:[{id:"labelColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"labelBgTab",label:(0,r.t)("Bg"),options:[{id:"labelBgColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"valueColorTab",label:(0,r.t)("Value"),options:[{id:"valueColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"borderColorTab",label:(0,r.t)("Border"),options:[{id:"tableBorder",type:"border-dev",config:{width:["grouped"]}}]},{id:"tabShadow",label:(0,r.t)("Shadow"),options:[{id:"tableBoxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]}]}},73690:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("labelColorHex"),c("labelColorPalette"));return[{id:"toolbarWOOProductPage",type:"popover-dev",config:{icon:"nc-woo-2",title:(0,i.t)("Add to cart")},position:10,options:[{id:"tableSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabLabel",label:(0,i.t)("Label"),options:[{id:"label",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabValue",label:(0,i.t)("Value"),options:[{id:"value",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabClear",label:(0,i.t)("Clear"),options:[{id:"clear",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("labelColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"inputColorTab",label:(0,i.t)("Input"),options:[{id:"inputColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"labelColorTab",label:(0,i.t)("Label"),options:[{id:"labelColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"labelBgTab",label:(0,i.t)("Label Bg"),options:[{id:"labelBgColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"valueColorTab",label:(0,i.t)("Value"),options:[{id:"valueColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"bgTab",label:(0,i.t)("Value Bg"),options:[{id:"tableBgColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"clearColorTab",label:(0,i.t)("Clear"),options:[{id:"clearColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"borderColorTab",label:(0,i.t)("Border"),options:[{id:"tableBorder",type:"border-dev",config:{width:["grouped"]}}]},{id:"tabShadow",label:(0,i.t)("Shadow"),options:[{id:"tableBoxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]}]}},63651:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=g(o(27378)),i=g(o(60042)),n=g(o(63692)),a=g(o(67439)),l=h(o(74541)),s=h(o(34564)),c=g(o(32190)),d=o(28249),u=o(94220),p=o(8704),f=o(86022),m=g(o(31440)),y=g(o(36275));function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const v=["centerLeft","centerRight"];class S extends n.default{static get componentId(){return"WOOAttributes"}static defaultValue=c.default;handleResizerChange=e=>this.patchValue(e);handleTextChange=e=>this.patchValue(e);renderForEdit(e,t,o){const{className:n}=e,c=(0,i.default)("brz-woo-attributes",n,(0,u.css)(this.constructor.componentId,this.getId(),(0,d.style)(e,t,o)));return r.default.createElement(a.default,this.makeToolbarPropsFromConfig2(l,s),r.default.createElement(y.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(f.Wrapper,this.makeWrapperProps({className:c}),r.default.createElement(m.default,{points:v,meta:this.props.meta,value:e,onChange:this.handleResizerChange,restrictions:{width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}}},r.default.createElement(p.DynamicContentHelper,{placeholder:"{{editor_product_additional_info}}",placeholderIcon:"woo-attributes",tagName:"div"})))))}}},34564:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Product Attributes"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"}]}]}]}]}]}},28249:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz &&:hover .woocommerce-product-attributes-item":{standart:["cssStyleElementWOOAttributesAttributesFontFamily","cssStyleElementWOOAttributesAttributesFontSize","cssStyleElementWOOAttributesAttributesFontWeight","cssStyleElementWOOAttributesAttributesLetterSpacing","cssStyleElementWOOAttributesAttributeColor"]},".brz &&:hover .woocommerce-product-attributes-item .woocommerce-product-attributes-item__label":{standart:["cssStyleElementWOOAttributesAttributesLineHeight","cssStyleElementWOOAttributesSpacing"]},".brz &&:hover .woocommerce-product-attributes-item .woocommerce-product-attributes-item__value":{standart:["cssStyleElementWOOAttributesAttributesLineHeight","cssStyleElementWOOAttributesSpacing"]},".brz &&:hover table th":{standart:["cssStyleElementWOOAttributesBorder"]},".brz &&:hover table td":{standart:["cssStyleElementWOOAttributesBorder"]},".brz && table tr:last-child th, .brz && table tr:last-child td":{standart:["cssStyleElementWOOAttributesLastElementBorder"]},".brz &&:hover h2":{standart:["cssStyleElementWOOAdditionalTitleFontFamily","cssStyleElementWOOAdditionalTitleFontSize","cssStyleElementWOOAdditionalTitleLineHeight","cssStyleElementWOOAdditionalTitleFontWeight","cssStyleElementWOOAdditionalTitleLetterSpacing","cssStyleElementWOOAdditionalTitleColor","cssStyleElementWOOAdditionalTitleSpacing"]}}})}},74541:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s="on"===l("titleDisabled"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("titleColorHex"),l("titleColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-woo-additional",title:(0,i.t)("Product Attributes")},position:60,options:[{id:"titleSpacing",label:(0,i.t)("Title"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"style",label:(0,i.t)("Style"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"table",icon:"nc-attributes-table"},{value:"dividers",icon:"nc-attributes-dividers"}]},{id:"spacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"between",type:"slider-dev",label:(0,i.t)("Between"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"tabsTypography",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabTypographyTitle",label:(0,i.t)("Title"),options:[{id:"title",type:"typography-dev",disabled:s,config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyAttributes",label:(0,i.t)("Attributes"),options:[{id:"attributes",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,l("titleColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabTitle",label:(0,i.t)("Title"),options:[{id:"titleColor",type:"colorPicker-dev",disabled:s,devices:"desktop"}]},{id:"tabAttribute",label:(0,i.t)("Attributes"),options:[{id:"attributeColor",type:"colorPicker-dev",devices:"desktop"}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",config:{width:["grouped"],styles:["solid","dashed","dotted"]}}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,i.t)("Width"),type:"slider-dev",position:100,config:{min:1,max:"%"===l("widthSuffix")?100:1e3,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},43081:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return C}});const r=M(o(27378)),i=M(o(60042)),n=M(o(63692)),a=M(o(36275)),l=P(o(67439)),s=o(86022),c=o(8704),d=o(94220),u=o(64985),p=M(o(22350)),f=P(o(20900)),m=P(o(9625)),y=P(o(7067)),g=P(o(42350)),b=P(o(39637)),h=P(o(15328)),v=P(o(21890)),S=P(o(92564)),w=P(o(75460)),x=o(72785);function M(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class C extends n.default{static get componentId(){return"WOOCart"}static defaultValue=p.default;state={sidebarOpened:!1};backgroundRef=r.default.createRef();dcRef=r.default.createRef();componentDidMount(){this.backgroundRef.current?.addEventListener("click",(e=>e.stopPropagation()))}handleValueChange(e,t){const{sidebar:o,tabletSidebar:r,mobileSidebar:i,...n}=e;"open"===o||"open"===r||"open"===i?((0,l.hideToolbar)(),this.setState({sidebarOpened:!0},(()=>{super.handleValueChange(n,t)}))):super.handleValueChange(e,t)}handleDCSuccess=()=>{this.dcRef.current?.addEventListener("click",(e=>{e.target.classList.contains("brz-woocart__sidebar-close")&&this.setState({sidebarOpened:!1})}))};renderForEdit(e,t,o){const n=this.getId(),{className:p,purchasesType:M}=e,T=(0,i.default)("brz-woocart__wrapper",{"brz-woocart__wrapper--opened":this.state.sidebarOpened},"brz-woocart__parent",`brz-woocart--${M}`,p,(0,d.css)(this.constructor.componentId,n,(0,x.style)(e,t,o)));return r.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(f,m),selector:".brz-a.brz-woocart, .brz-shortcode__placeholder"},r.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(y,S,{allowExtend:!1}),selector:".brz-woocart__sidebar__product-name"},r.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(g,S,{allowExtend:!1}),selector:".brz-woocart__sidebar__product-price__container"},r.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(b,S,{allowExtend:!1}),selector:".brz-woocart__sidebar-subtotal"},r.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(h,S,{allowExtend:!1}),selector:".brz-woocart__sidebar-buttons"},r.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(s.Wrapper,this.makeWrapperProps({className:T,attributes:{id:n}}),r.default.createElement(l.default,this.makeToolbarPropsFromConfig2(v,w,{allowExtend:!1}),r.default.createElement("div",{className:"brz-woocart__sidebar-toolbar"},(0,u.t)("Cart Settings"))),r.default.createElement("div",{className:"brz-woocart__background",ref:this.backgroundRef}),r.default.createElement(c.DynamicContentHelper,{placeholder:"{{editor_product_cart}}",placeholderIcon:"woo-cart",tagName:"div",props:{className:"brz-woocart__dc",ref:this.dcRef},onSuccess:this.handleDCSuccess}))))))))}}},9625:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Cart"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",devices:"desktop",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"}]}]}]}]}]}},92564:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Product");function i(){return[]}},75460:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Settings");function i(){return[]}},72785:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-woocart__dc":{standart:["cssStyleBgColor","cssStyleBorder","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-woocart__parent":{standart:["cssStyleElementWOOCartSubtotalDisabled","cssStyleSizeSpacing"]},".brz &&:hover .brz-woocart__price":{standart:["cssStyleColor","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-woocart__icon:before":{standart:["cssStyleElementWOOCartPurchasesDisabled","cssStyleElementWOOCartBubbleColor","cssStyleElementWOOCartBubbleBg"]},".brz &&.brz-woocart--plain:hover .brz-woocart__icon:before":{standart:["cssStyleSizeSpacing","cssStyleElementWOOCartPurchasesColor","cssStyleElementWOOCartPurchasesFontFamily","cssStyleElementWOOCartPurchasesFontSize","cssStyleElementWOOCartPurchasesLineHeight","cssStyleElementWOOCartPurchasesFontWeight","cssStyleElementWOOCartPurchasesLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-woocart__icon .brz-icon-svg":{standart:["cssStyleElementWOOCartIconColor","cssStyleElementWOOCartIconSize","cssStyleTypography3LineHeight"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-woocart__sidebar":{standart:["cssStyleElementWOOCartSidebarWidth","cssStyleElementWOOCartSidebarHeight","cssStyleElementWOOCartSidebarHorizontalAlign","cssStyleElementWOOCartSidebarVerticalAlign","cssStyleElementWOOCartSidebarBgColor"]},".brz && .brz-woocart__sidebar .brz-woocart__sidebar__product-name .brz-a:hover":{standart:["cssStyleElementWOOCartTitleColor","cssStyleElementWOOCartTitleFontFamily","cssStyleElementWOOCartTitleFontSize","cssStyleElementWOOCartTitleLineHeight","cssStyleElementWOOCartTitleFontWeight","cssStyleElementWOOCartTitleLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-woocart__sidebar .brz-woocart__sidebar__product-price-parent:hover":{standart:["cssStyleElementWOOCartCostColor","cssStyleElementWOOCartCostFontFamily","cssStyleElementWOOCartCostFontSize","cssStyleElementWOOCartCostLineHeight","cssStyleElementWOOCartCostFontWeight","cssStyleElementWOOCartCostLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-woocart__sidebar .brz-woocart__sidebar-subtotal:hover":{standart:["cssStyleElementWOOCartSubtotalColor","cssStyleElementWOOCartSubtotalFontFamily","cssStyleElementWOOCartSubtotalFontSize","cssStyleElementWOOCartSubtotalLineHeight","cssStyleElementWOOCartSubtotalFontWeight","cssStyleElementWOOCartSubtotalLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-woocart__sidebar .brz-woocart__sidebar-button:hover":{standart:["cssStyleElementWOOCartButtonBorderRadius","cssStyleElementWOOCartButtonSpacing","cssStyleElementWOOCartButtonBgColor","cssStyleElementWOOCartButtonColor","cssStyleElementWOOCartButtonFontFamily","cssStyleElementWOOCartButtonFontSize","cssStyleElementWOOCartButtonLineHeight","cssStyleElementWOOCartButtonFontWeight","cssStyleElementWOOCartButtonLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-woocart__sidebar .brz-woocart__sidebar-buttons":{standart:["cssStyleElementWOOCartButtonDirection"]},".brz && .brz-woocart__sidebar-remove .brz-icon-svg:hover":{standart:["cssStyleElementWOOCartCostColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},20900:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),c=s("purchasesType"),d=s("subtotal"),u="off"===s("purchases"),p="plain"!==c,f="bubble"!==c,{hex:m}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"popoverCurrentElement",type:"popover-dev",config:{icon:"nc-woo-cart",title:(0,i.t)("Shop Cart")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,i.t)("Cart"),options:[{id:"subtotal",label:(0,i.t)("Subtotal"),type:"switch-dev",devices:"desktop"},{id:"purchases",label:(0,i.t)("Cart Items"),type:"switch-dev",devices:"desktop"},{id:"purchasesType",type:"radioGroup-dev",label:(0,i.t)("Style"),devices:"desktop",disabled:u,choices:[{value:"plain",icon:"nc-cart-items-1",title:(0,i.t)("Plain")},{value:"bubble",icon:"nc-cart-items-2",title:(0,i.t)("Bubble")}]}]},{id:"tabIcon",label:(0,i.t)("Icon"),options:[{id:"iconCustomSize",type:"slider-dev",label:(0,i.t)("Size"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"spacing",type:"slider-dev",disabled:"off"===d&&u,label:(0,i.t)("Spacing"),config:{min:0,max:100,disabled:"on"!==d,units:[{value:"px",title:"px"}]}}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},roles:["admin"],position:70,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabsTypographyPrice",label:(0,i.t)("Total"),options:[{id:"typography",type:"typography-dev",disabled:"on"!==d,config:{fontFamily:"desktop"===o}}]},{id:"tabsTypographyPurchases",label:(0,i.t)("Item"),options:[{id:"purchases",type:"typography-dev",disabled:u||p,config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(m,s("colorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsToolbarColor",type:"tabs-dev",tabs:[{id:"BgColorTab",label:(0,i.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"colorTab",label:(0,i.t)("Total"),options:[{id:"color",type:"colorPicker-dev",devices:"desktop",disabled:"on"!==d,states:[l.NORMAL,l.HOVER]}]},{id:"IconColorTab",label:(0,i.t)("Icon"),options:[{id:"iconColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"PurchasesColorTab",label:(0,i.t)("Item"),options:[{id:"purchasesColor",type:"colorPicker-dev",devices:"desktop",disabled:u||p,states:[l.NORMAL,l.HOVER]}]},{id:"BorderTab",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"BubbleTab",label:(0,i.t)("Bub."),options:[{id:"bubbleColor",type:"colorPicker-dev",disabled:u||f,devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"BubbleBgTab",label:(0,i.t)("Bub. Bg"),options:[{id:"bubbleBgColor",type:"colorPicker-dev",disabled:u||f,devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"sidebar",type:"toggle-dev",position:100,choices:[{icon:"nc-link-sidebar",title:(0,i.t)("Sidebar"),value:"open"},{icon:"nc-link-sidebar",title:(0,i.t)("Sidebar"),value:"close"}]},{id:"advancedSettings",type:"advancedSettings",position:110,devices:"desktop"}]}},15328:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("buttonColorHex"),s("buttonColorPalette"));return[{id:"popoverCurrentElement",type:"popover-dev",config:{icon:"nc-woo-cart",title:(0,i.t)("Shop Cart")},position:60,options:[{id:"buttonDirection",label:(0,i.t)("Buttons"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"inline",icon:"nc-cart-inline"},{value:"column",icon:"nc-cart-column"}]},{id:"borderRadiusTypeGroup",type:"group-dev",devices:"desktop",options:[{id:"buttonBorderRadiusType",label:(0,i.t)("Corner"),type:"radioGroup-dev",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}]},{id:"buttonBorderRadius",type:"slider-dev",disabled:"custom"!==s("buttonBorderRadiusType"),config:{min:0,max:400,units:[{title:"px",value:"px"}]}}]},{id:"buttonSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",devices:"desktop",config:{min:5,max:50,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"button",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor2",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("buttonColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsToolbarColor",type:"tabs-dev",tabs:[{id:"buttonColorTab",label:(0,i.t)("Color"),options:[{id:"buttonColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"buttonBgColorTab",label:(0,i.t)("Overlay"),options:[{id:"buttonBgColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]}]}},7067:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),i=o(69321),n=o(81405),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("titleColorHex"),s("titleColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"title",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor2",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(c,s("titleColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"titleColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}},42350:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),i=o(69321),n=o(81405),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("priceColorHex"),s("priceColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"cost",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor2",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(c,s("priceColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"costColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}},39637:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),i=o(69321),n=o(81405),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("subtotalColorHex"),s("subtotalColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"subtotal",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor2",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(c,s("subtotalColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"subtotalColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}},21890:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(64985),i=o(69321),n=o(81405),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("sidebarBgColorHex"),l("sidebarBgColorPalette"));return[{id:"cartHorizontalAlign",type:"toggle-dev",disabled:l("sidebarWidth")>=100&&"%"===l("sidebarWidthSuffix"),position:90,choices:[{icon:"nc-hrz-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-hrz-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-hrz-align-right",title:(0,r.t)("Align"),value:"right"}]},{id:"cartVerticalAlign",type:"toggle-dev",disabled:"fullHeight"===l("sidebarHeightStyle")||l("sidebarHeight")>=100&&"vh"===l("sidebarHeightSuffix")&&"auto"!==l("sidebarHeightStyle"),position:110,choices:[{icon:"nc-ver-align-top",title:(0,r.t)("Align"),value:"top"},{icon:"nc-ver-align-middle",title:(0,r.t)("Align"),value:"center"},{icon:"nc-ver-align-bottom",title:(0,r.t)("Align"),value:"bottom"}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(s,l("sidebarBgColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"sidebarBgColor",type:"colorPicker-dev"}]},{id:"toolbarSettings",type:"popover-dev",roles:["admin"],position:110,options:[{id:"sidebarWidth",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===l("sidebarWidthSuffix")?500:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"groupHeight",type:"group-dev",position:100,options:[{id:"sidebarHeightStyle",label:(0,r.t)("Height"),type:"select-dev",choices:[{title:(0,r.t)("Auto"),value:"auto"},{title:(0,r.t)("Custom"),value:"custom"},{title:(0,r.t)("Full Height"),value:"fullHeight"}]},{id:"sidebarHeight",type:"slider-dev",disabled:"custom"!==l("sidebarHeightStyle"),config:{min:20,max:"px"===l("sidebarHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"vh"}]}}]}]}]}},87210:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=m(o(27378)),i=m(o(63692)),n=m(o(36275)),a=o(89474),l=m(o(67439)),s=g(o(76431)),c=g(o(34442)),d=m(o(83228)),u=m(o(60042)),p=o(12009),f=o(94220);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const b=["centerLeft","centerRight"];class h extends i.default{static get componentId(){return"WOOCategories"}static defaultValue=d.default;handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const i={number:e.number,orderby:e.orderBy,order:e.order,columns:e.columns,hide_empty:e.hideEmpty,parent:e.parent,ids:e.ids},d=(0,u.default)((0,f.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.style)(e,t,o)));return r.default.createElement(l.default,this.makeToolbarPropsFromConfig2(s,c),r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(a.WPShortcode,{name:"product_categories",attributes:i,placeholderIcon:"woo-2",className:d,resizerPoints:b,resizerMeta:this.props.meta,resizerValue:e,resizerOnChange:this.handleResizerChange})))}}const v=h},34442:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Shop Categories");function i(){return[]}},12009:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth"]}}})}},76431:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarWOOCategories",type:"popover-dev",config:{icon:"nc-woo-categories",title:(0,r.t)("Shop Categories")},devices:"desktop",position:10,options:[{id:"WOOCategoriesTabs",type:"tabs-dev",tabs:[{id:"layoutTab",label:(0,r.t)("Layout"),options:[{id:"columns",label:(0,r.t)("Columns"),type:"slider-dev",config:{min:1,max:6,inputMin:1,inputMax:6}},{id:"number",label:(0,r.t)("Categories Count"),type:"inputText-dev",devices:"desktop",config:{size:"short"}}]},{id:"orderTab",label:(0,r.t)("Filter"),options:[{id:"orderBy",label:(0,r.t)("Filter By"),type:"select-dev",devices:"desktop",choices:[{title:(0,r.t)("Name"),value:"name"},{title:(0,r.t)("Slug"),value:"slug"},{title:(0,r.t)("Description"),value:"description"},{title:(0,r.t)("Count"),value:"count"}]},{id:"order",devices:"desktop",label:(0,r.t)("Order"),type:"radioGroup-dev",choices:[{value:"ASC",icon:"nc-up"},{value:"DESC",icon:"nc-down"}]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog"},position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,devices:"desktop",columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},66479:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=m(o(27378)),i=m(o(63692)),n=m(o(60042)),a=m(o(67439)),l=g(o(66414)),s=g(o(60101)),c=m(o(23845)),d=o(58085),u=o(94220),p=o(8704),f=o(86022);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class b extends i.default{static get componentId(){return"WOOExcerpt"}static defaultValue=c.default;renderForEdit(e,t,o){const{className:i}=e,c=(0,n.default)("brz-wooexcerpt",i,(0,u.css)(this.constructor.componentId,this.getId(),(0,d.style)(e,t,o)));return r.default.createElement(a.default,this.makeToolbarPropsFromConfig2(l,s),r.default.createElement(f.Wrapper,this.makeWrapperProps({className:c}),r.default.createElement(p.DynamicContentHelper,{placeholder:"{{editor_product_short_description}}",placeholderIcon:"wp-excerpt",tagName:"div"})))}}const h=b},60101:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Product Excerpt"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:70,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"}]}]}]}]}]}},58085:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .woocommerce-product-details__short-description *":{standart:["cssStyleElementWPPostContentExcerptAlign"]},".brz && h1:hover":{standart:["cssStyleElementWPPostContentH1Color","cssStyleElementWPPostContentTypography2H1FontFamily","cssStyleElementWPPostContentTypography2H1FontSize","cssStyleElementWPPostContentTypography2H1LineHeight","cssStyleElementWPPostContentTypography2H1FontWeight","cssStyleElementWPPostContentTypography2H1LetterSpacing"],interval:["cssStyleHoverTransition"]},".brz && h2:hover":{standart:["cssStyleElementWPPostContentH2Color","cssStyleElementWPPostContentTypography2H2FontFamily","cssStyleElementWPPostContentTypography2H2FontSize","cssStyleElementWPPostContentTypography2H2LineHeight","cssStyleElementWPPostContentTypography2H2FontWeight","cssStyleElementWPPostContentTypography2H2LetterSpacing"],interval:["cssStyleHoverTransition"]},".brz && h3:hover":{standart:["cssStyleElementWPPostContentH3Color","cssStyleElementWPPostContentTypography2H3FontFamily","cssStyleElementWPPostContentTypography2H3FontSize","cssStyleElementWPPostContentTypography2H3LineHeight","cssStyleElementWPPostContentTypography2H3FontWeight","cssStyleElementWPPostContentTypography2H3LetterSpacing"],interval:["cssStyleHoverTransition"]},".brz && h4:hover":{standart:["cssStyleElementWPPostContentH4Color","cssStyleElementWPPostContentTypography2H4FontFamily","cssStyleElementWPPostContentTypography2H4FontSize","cssStyleElementWPPostContentTypography2H4LineHeight","cssStyleElementWPPostContentTypography2H4FontWeight","cssStyleElementWPPostContentTypography2H4LetterSpacing"],interval:["cssStyleHoverTransition"]},".brz && h5:hover":{standart:["cssStyleElementWPPostContentH5Color","cssStyleElementWPPostContentTypography2H5FontFamily","cssStyleElementWPPostContentTypography2H5FontSize","cssStyleElementWPPostContentTypography2H5LineHeight","cssStyleElementWPPostContentTypography2H5FontWeight","cssStyleElementWPPostContentTypography2H5LetterSpacing"],interval:["cssStyleHoverTransition"]},".brz && h6:hover":{standart:["cssStyleElementWPPostContentH6Color","cssStyleElementWPPostContentTypography2H6FontFamily","cssStyleElementWPPostContentTypography2H6FontSize","cssStyleElementWPPostContentTypography2H6LineHeight","cssStyleElementWPPostContentTypography2H6FontWeight","cssStyleElementWPPostContentTypography2H6LetterSpacing"],interval:["cssStyleHoverTransition"]},".brz &&:hover strong, .brz &&:hover b":{standart:["cssStyleElementWPPostContentParagraphColor","cssStyleElementWPPostContentTypography2ParagraphFontFamily","cssStyleElementWPPostContentTypography2ParagraphFontSize","cssStyleElementWPPostContentTypography2ParagraphLineHeight","cssStyleElementWPPostContentTypography2ParagraphLetterSpacing"],interval:["cssStyleHoverTransition"]},".brz && *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(b):not(strong):not(i):not(span):hover":{standart:["cssStyleElementWPPostContentParagraphColor","cssStyleElementWPPostContentTypography2ParagraphFontFamily","cssStyleElementWPPostContentTypography2ParagraphFontSize","cssStyleElementWPPostContentTypography2ParagraphLineHeight","cssStyleElementWPPostContentTypography2ParagraphFontWeight","cssStyleElementWPPostContentTypography2ParagraphLetterSpacing"],interval:["cssStyleHoverTransition"]}}})}},66414:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("paragraphColorHex"),c("paragraphColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabP",label:"P",options:[{id:"paragraph",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabH1",label:"H1",options:[{id:"h1",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabH2",label:"H2",options:[{id:"h2",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabH3",label:"H3",options:[{id:"h3",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabH4",label:"H4",options:[{id:"h4",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabH5",label:"H5",options:[{id:"h5",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabH6",label:"H6",options:[{id:"h6",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("paragraphColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabParagraph",label:"P",options:[{id:"paragraphColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabH1",label:"H1",options:[{id:"h1Color",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabH2",label:"H2",options:[{id:"h2Color",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabH3",label:"H3",options:[{id:"h3Color",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabH4",label:"H4",options:[{id:"h4Color",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabH5",label:"H5",options:[{id:"h5Color",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabH6",label:"H6",options:[{id:"h6Color",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}],onChange:(e,o)=>{let{isOpen:r}=o;return{tabsState:r?t.tabsState:"",tabsColor:r?t.tabsColor:""}}},{id:"excerptHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"advancedSettings",type:"advancedSettings",position:110,title:(0,i.t)("Settings"),roles:["admin"],devices:"desktop",icon:"nc-cog"}]}},34340:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return M}});const r=v(o(27378)),i=v(o(65311)),n=v(o(63692)),a=v(o(36275)),l=v(o(67439)),s=w(o(82758)),c=w(o(94891)),d=w(o(16823)),u=w(o(85410)),p=v(o(53241)),f=v(o(60042)),m=o(114),y=o(94220),g=o(8704),b=o(86022),h=v(o(31440));function v(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(S=function(e){return e?o:t})(e)}function w(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=S(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const x=["centerLeft","centerRight"];class M extends n.default{static get componentId(){return"WOOGallery"}static defaultValue=p.default;containerRef=r.default.createRef();handleResizerChange=e=>this.patchValue(e);handleDynamicContentSuccess=()=>{const e=this.containerRef.current?.querySelector(".woocommerce-product-gallery");e&&(0,i.default)(e).wc_product_gallery?.()};renderForEdit(e,t,o){const i=`brz-woo-gallery__thumbsTB-${e.thumbPerRowTB}`,n=`brz-woo-gallery__thumbsRL-${e.thumbPerRowRL}`,p="top"===e.thumbStyle||"bottom"===e.thumbStyle,v=(0,f.default)("brz-woo-gallery",`brz-woo-gallery__style-${e.thumbStyle}`,{[i]:p},{[n]:!p},(0,y.css)(this.constructor.componentId,this.getId(),(0,m.style)(e,t,o)));return r.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(s,c),selector:".woocommerce-product-gallery__image, .brz-shortcode__placeholder"},r.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(d,u,{allowExtend:!1}),selector:".flex-control-thumbs"},r.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(b.Wrapper,this.makeWrapperProps({className:v,ref:this.containerRef}),r.default.createElement(h.default,{points:x,meta:this.props.meta,value:e,onChange:this.handleResizerChange,restrictions:{width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}}},r.default.createElement(g.DynamicContentHelper,{placeholder:"{{editor_product_gallery}}",placeholderIcon:"woo-gallery",placeholderHeight:250,tagName:"div",onSuccess:this.handleDynamicContentSuccess,blocked:!1}))))))}}},94891:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

',n=(0,r.t)("Product Gallery");function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:70}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),type:"slider-dev",devices:"desktop",position:100,config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},85410:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return n}});const r=o(64985),i=(0,r.t)("Product Thumbnail");function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"thumbnailBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:70}]}]}]}]}]}},114:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz && .woocommerce-product-gallery > .flex-viewport:hover":{standart:["cssStyleBoxShadow","cssStyleBorder","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz && .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper:hover":{standart:["cssStyleBoxShadow","cssStyleBorder","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover .flex-control-thumbs":{standart:["cssStyleElementWOOGalleryParentSize","cssStyleElementWOOGallerySpacing","cssStyleElementWOOGallerySpacingStyleLeftRigth","cssStyleElementWOOGalleryChildStyle"]},".brz && .flex-control-thumbs li:hover":{standart:["cssStyleElementWOOGalleryBetweenThumbnail","cssStyleElementWOOGalleryThumbnailSize","cssStyleElementWOOGalleryBoxShadowThumbnail","cssStyleElementWOOGalleryBorderRadiusThumbnail","cssStyleElementWOOGalleryBorderThumbnail"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz && .woocommerce-product-gallery__trigger":{standart:["cssStyleElementWOOGalleryZoomReposition"]}}})}},82758:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),i=o(69321),n=o(81405),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)((0,i.defaultValueValue)({v:t,key:"borderColorHex",device:o,state:s}),(0,i.defaultValueValue)({v:t,key:"borderColorPalette",device:o,state:s}));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(d,c("borderColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBorder",label:(0,r.t)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,r.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,r.t)("Settings")},position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",position:100,config:{min:5,max:"px"===c("widthSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},16823:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("thumbnailBorderColorHex"),c("thumbnailBorderColorPalette")),u=c("thumbStyle"),p="left"===u,f="right"!==u,m="bottom"===u,y="top"===u,g=m?(0,i.t)("Top"):y?(0,i.t)("Bottom"):p?(0,i.t)("Right"):(0,i.t)("Left");return[{id:"toolbarWOOGalleryThumbnail",type:"popover-dev",position:10,config:{icon:"nc-woo-gallery"},options:[{id:"groupThumbStyle",type:"group-dev",options:[{id:"thumbStyle",label:(0,i.t)("Style"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"bottom",icon:"nc-woo-gallery-bottom"},{value:"left",icon:"nc-woo-gallery-left"},{value:"top",icon:"nc-woo-gallery-top"},{value:"right",icon:"nc-woo-gallery-right"}]},{id:"thumbWidth",label:(0,i.t)("Width"),type:"slider-dev",disabled:!p&&f,config:{min:0,max:200,units:[{value:"px",title:"px"}]}}]},{id:"spacing",label:g,type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"thumbPerRowTB",label:(0,i.t)("Columns"),type:"slider-dev",devices:"desktop",disabled:y&&m,config:{min:2,max:8}},{id:"thumbPerRowRL",label:(0,i.t)("Columns"),type:"slider-dev",devices:"desktop",disabled:!p&&f,config:{min:1,max:8}},{id:"betweenThumbnail",label:(0,i.t)("Between"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("thumbnailBorderColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"thumbnailBorder",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"thumbnailBoxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",position:110,devices:"desktop",icon:"nc-cog"}]}},6534:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=h(o(60042)),i=h(o(65311)),n=h(o(27378)),a=h(o(31440)),l=h(o(36275)),s=h(o(67439)),c=h(o(63692)),d=o(86022),u=o(64187),p=o(94220),f=o(8704),m=h(o(1337)),y=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(67044)),g=o(33854),b=h(o(55644));function h(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}const S={woocommerce_cart:()=>"{{editor_product_default_cart}}",woocommerce_checkout:()=>"{{editor_product_checkout}}",woocommerce_my_account:()=>"{{editor_product_my_account}}",woocommerce_order_tracking:()=>"{{editor_product_order_tracking}}",product:e=>{let{productID:t}=e;return`{{editor_product_page id="${t}"}}`},products:e=>{let{limit:t,category:o,columns:r,orderBy:i,order:n}=e;return`{{editor_product_products limit="${t}" category="${o}" columns="${r}" orderby="${i}" order="${n}"}}`}},w=["centerLeft","centerRight"];class x extends c.default{static get componentId(){return"WOOPages"}static defaultValue=m.default;state={taxonomies:[]};componentDidMount(){(0,u.getTerms)("product_cat").then((e=>this.setState({taxonomies:e})))}containerRef=n.default.createRef();handleResizerChange=e=>this.patchValue(e);handleDynamicContentSuccess=()=>{if("product"===this.getValue().shortcode){const e=this.containerRef.current?.querySelector(".woocommerce-product-gallery");e&&(0,i.default)(e).wc_product_gallery?.()}};renderForEdit(e,t,o){const i=(0,r.default)("brz-woo-pages",(0,p.css)(this.constructor.componentId,this.getId(),(0,g.style)(e,t,o)));return n.default.createElement(s.default,this.makeToolbarPropsFromConfig2((0,b.default)(this.state.taxonomies),y),n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(d.Wrapper,this.makeWrapperProps({className:i,ref:this.containerRef}),n.default.createElement(a.default,{points:w,value:e,onChange:this.handleResizerChange},n.default.createElement(f.DynamicContentHelper,{placeholder:S[e.shortcode]?.(e),tagName:"div",placeholderIcon:"woo-2",onSuccess:this.handleDynamicContentSuccess,props:{className:"brz-woo-page"}})))))}}},67044:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]}]},{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"responsive",disabled:!0},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"responsive",position:65}]}]}]}},33854:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz &&:hover .brz-woo-page":{standart:["cssStylePaddingBG","cssStyleBgColor","cssStyleBgGradient","cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow"]}}})}},55644:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256),l=o(24119),s=e=>({getItems:c(e)}),c=e=>t=>{let{v:o,device:s}=t;const c=e=>(0,n.defaultValueValue)({v:o,key:e,device:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette")),u=c("shortcode"),p="products"!==u;return[{id:"toolbarWOOPages",type:"popover-dev",config:{icon:"nc-woo-pages",title:(0,i.t)("Shop Pages")},devices:"desktop",position:10,options:[{id:"shortcode",label:(0,i.t)("Page"),type:"select-dev",devices:"desktop",choices:[{title:(0,i.t)("Cart"),value:"woocommerce_cart"},{title:(0,i.t)("Checkout"),value:"woocommerce_checkout"},{title:(0,i.t)("My Account"),value:"woocommerce_my_account"},{title:(0,i.t)("Order Tracking"),value:"woocommerce_order_tracking"},{title:(0,i.t)("Product"),value:"product"},{title:(0,i.t)("Products"),value:"products"}]},{id:"productID",label:(0,i.t)("Product ID"),type:"inputText-dev",devices:"desktop",disabled:"product"!==u,placeholder:(0,i.t)("Product ID or SKU")},{id:"columns",label:(0,i.t)("Columns"),type:"slider-dev",devices:"desktop",disabled:p,config:{min:1,max:6,inputMin:1,inputMax:6}},{id:"limit",label:(0,i.t)("Products Count"),type:"inputText-dev",devices:"desktop",disabled:p,config:{size:"short"}},{id:"category",label:(0,i.t)("Categories"),type:"select-dev",devices:"desktop",disabled:p,choices:[{title:(0,i.t)("All"),value:""},...e.map((e=>({title:e.name,value:e.slug})))]},{id:"orderBy",label:(0,i.t)("Filter By"),type:"select-dev",devices:"desktop",disabled:p,choices:[{title:(0,i.t)("Random"),value:"name"},{title:(0,i.t)("Title"),value:"title"},{title:(0,i.t)("Date"),value:"date"},{title:(0,i.t)("Rating"),value:"rating"},{title:(0,i.t)("Popularity"),value:"popularity"},{title:(0,i.t)("Menu Order"),value:"menu_order"},{title:(0,i.t)("Random"),value:"rand"},{title:(0,i.t)("ID"),value:"id"}]},{id:"order",label:(0,i.t)("Order"),type:"radioGroup-dev",devices:"desktop",disabled:p,choices:[{value:"ASC",icon:"nc-up"},{value:"DESC",icon:"nc-down"}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,i.t)("Background"),options:[{id:"",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog"},position:110,options:[{id:"width",label:(0,i.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===c("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},50879:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=y(o(27378)),i=y(o(60042)),n=y(o(63692)),a=y(o(67439)),l=y(o(78381)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(16288)),c=y(o(34236)),d=o(52535),u=o(94220),p=o(8704),f=o(86022),m=y(o(36275));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}class b extends n.default{static get componentId(){return"WOOPrice"}static defaultValue=c.default;state={hasDiscount:!1,hasTwoPrices:!1};handleDCLoad=e=>{this.setState({hasDiscount:e.includes("")}),this.setState({hasTwoPrices:e.indexOf("woocommerce-Price-amount")!==e.lastIndexOf("woocommerce-Price-amount")})};renderForEdit(e,t,o){const{hasDiscount:n,hasTwoPrices:c}=this.state,{className:y}=e,g=(0,i.default)("brz-woo-price",y,(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,d.style)(e,t,o))),b=(0,l.default)({hasDiscount:n,hasTwoPrices:c});return r.default.createElement(a.default,this.makeToolbarPropsFromConfig2(b,s),r.default.createElement(m.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(f.Wrapper,this.makeWrapperProps({className:g}),r.default.createElement(p.DynamicContentHelper,{placeholder:"{{editor_product_price}}",placeholderIcon:"woo-price",tagName:"div",onSuccess:this.handleDCLoad}))))}}},16288:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Product Price"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"}]}]}]}]}]}},52535:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover > div > p.price":{standart:["cssStyleElementWOOPriceColumn","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleColor"]},".brz &&:hover ins":{standart:["cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementWOOPriceSpacingLast"]},".brz &&:hover del":{standart:["cssStyleElementWOOPriceSaleFontFamily","cssStyleElementWOOPriceSaleFontSize","cssStyleElementWOOPriceSaleLineHeight","cssStyleElementWOOPriceSaleFontWeight","cssStyleElementWOOPriceSaleLetterSpacing","cssStyleElementWOOPriceColorSale","cssStyleElementWOOPriceSpacingFirst"]},".brz &&:hover .amount:first-child":{standart:["cssStyleElementWOOPriceSpacingFirst"]},".brz &&:hover .amount:nth-child(2)":{standart:["cssStyleElementWOOPriceSpacingLast"]}}})}},78381:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return l},getItems:function(){return s}});const r=o(64985),i=o(69321),n=o(81405),a=o(68256),l=e=>({getItems:s(e)}),s=e=>{let{hasDiscount:t,hasTwoPrices:o}=e;return e=>{let{v:l,device:s}=e;const c=e=>(0,i.defaultValueValue)({v:l,key:e,device:s,state:"normal"}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("colorHex"),c("colorPalette"));return[{id:"toolbarWOOPrice",type:"popover-dev",config:{icon:"nc-woo-price",title:(0,r.t)("Product Price")},devices:"desktop",position:60,disabled:!o,options:[{id:"column",label:(0,r.t)("Column"),type:"switch-dev",devices:"desktop"},{id:"spacing",label:(0,r.t)("Spacing"),type:"slider-dev",config:{min:0,max:20,units:[{title:"px",value:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===s?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabSale",label:(0,r.t)("Sale"),options:[{id:"sale",type:"typography-dev",disabled:!t,config:{fontFamily:"desktop"===s}}]},{id:"tabPrice",label:(0,r.t)("Price"),options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===s}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(d,c("colorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsToolbarColor",type:"tabs-dev",tabs:[{id:"saleColor",label:(0,r.t)("Sale"),options:[{id:"saleColor",type:"colorPicker-dev",devices:"desktop",disabled:!t}]},{id:"colorPrice",label:(0,r.t)("Price"),options:[{id:"color",type:"colorPicker-dev",devices:"desktop"}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",icon:"nc-cog",position:110}]}}},58224:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=y(o(27378)),i=y(o(63692)),n=y(o(36275)),a=y(o(67439)),l=b(o(76177)),s=b(o(51358)),c=y(o(50067)),d=y(o(60042)),u=o(78016),p=o(94220),f=o(8704),m=o(86022);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class h extends i.default{static get componentId(){return"WOOProductMeta"}static defaultValue=c.default;renderForEdit(e,t,o){const i=(0,d.default)("brz-wooproductmeta",{"brz-wooproductmeta-table":"table"===e.elementType},e.className,(0,p.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,u.style)(e,t,o)));return r.default.createElement(a.default,this.makeToolbarPropsFromConfig2(l,s),r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(m.Wrapper,this.makeWrapperProps({className:i}),r.default.createElement(f.DynamicContentHelper,{placeholder:"{{editor_product_metas}}",placeholderIcon:"woo-meta",tagName:"div"}))))}}},51358:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Product Meta"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"}]}]}]}]}]}},78016:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover > div > .brz-metas":{standart:["cssStyleElementWOOProductMetaType"]},".brz &&:hover > div > .brz-metas > .brz-wooproductmeta__container:not(:first-child)":{standart:["cssStyleElementWOOProductMetaDividers"]},".brz &&:hover > div > .brz-metas > .brz-wooproductmeta__container:not(:last-child)":{standart:["cssStyleElementWOOProductMetaRightSpacingInline"]},".brz &&:hover > div > .brz-metas > .brz-wooproductmeta__container > .brz-wooproductmeta__item":{standart:["cssStyleElementWOOProductMetaTopSpacing"]},".brz &&:hover > div > .brz-metas > .brz-wooproductmeta__container > .brz-wooproductmeta__item-category":{standart:["cssStyleElementWOOProductMetaCategoryFontFamily","cssStyleElementWOOProductMetaCategoryFontSize","cssStyleElementWOOProductMetaCategoryLineHeight","cssStyleElementWOOProductMetaCategoryFontWeight","cssStyleElementWOOProductMetaCategoryLetterSpacing","cssStyleElementWOOProductMetaCategoryColor"]},".brz &&:hover > div > .brz-metas > .brz-wooproductmeta__container > .brz-wooproductmeta__item-value":{standart:["cssStyleElementWOOProductMetaValueFontFamily","cssStyleElementWOOProductMetaValueFontSize","cssStyleElementWOOProductMetaValueLineHeight","cssStyleElementWOOProductMetaValueFontWeight","cssStyleElementWOOProductMetaValueLetterSpacing","cssStyleElementWOOProductMetaRightSpacing","cssStyleElementWOOProductMetaValueColor"]}}})}},76177:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"nomal"}),s=l("elementType"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("categoryColorHex"),l("categoryColorPalette"));return[{id:"toolbarWOOProductPage",type:"popover-dev",config:{icon:"nc-woo-meta",title:(0,i.t)("Product Meta")},position:20,options:[{id:"elementType",type:"select-dev",label:(0,i.t)("Type"),devices:"desktop",choices:[{title:(0,i.t)("Column"),value:"column"},{title:(0,i.t)("Table"),value:"table"},{title:(0,i.t)("Inline"),value:"inline"}]},{id:"topSpacing",type:"slider-dev",label:(0,i.t)("Between"),disabled:"inline"===s,config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"rightSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabTypographyCategory",label:(0,i.t)("Category"),options:[{id:"category",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyValue",label:(0,i.t)("Values"),options:[{id:"value",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,l("categoryColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabCategory",label:(0,i.t)("Category"),options:[{id:"categoryColor",type:"colorPicker-dev",devices:"dekstop"}]},{id:"tabValue",label:(0,i.t)("Value"),options:[{id:"valueColor",type:"colorPicker-dev",devices:"desktop"}]},{id:"tabDividers",label:(0,i.t)("Dividers"),options:[{id:"dividersColor",disabled:"inline"===s,type:"colorPicker-dev",devices:"desktop"}]}]}]},{id:"advancedSettings",type:"advancedSettings",roles:["admin"],position:110,devices:"desktop",icon:"nc-cog"}]}},86799:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=m(o(27378)),i=m(o(63692)),n=m(o(36275)),a=o(89474),l=m(o(67439)),s=g(o(24334)),c=g(o(13120)),d=m(o(65897)),u=m(o(60042)),p=o(90437),f=o(94220);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const b=["centerLeft","centerRight"];class h extends i.default{static get componentId(){return"WOOProductPage"}static defaultValue=d.default;handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const i={id:e.productID},d=(0,u.default)((0,f.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.style)(e,t,o)));return r.default.createElement(l.default,this.makeToolbarPropsFromConfig2(s,c),r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(a.WPShortcode,{name:"brizy_product_page",attributes:i,placeholderIcon:"woo-2",className:d,resizerPoints:b,resizerMeta:this.props.meta,resizerValue:e,resizerOnChange:this.handleResizerChange})))}}const v=h},13120:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("WooCommerce Product");function i(){return[]}},90437:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth"]}}})}},24334:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarWOOProductPage",type:"popover-dev",config:{icon:"nc-woo-2"},devices:"desktop",position:10,options:[{id:"productID",label:(0,r.t)("Product ID"),type:"inputText-dev",devices:"desktop",placeholder:(0,r.t)("Product ID or SKU")}]},{id:"toolbarSettings",type:"popover-dev",position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},38102:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=y(o(27378)),i=y(o(63692)),n=y(o(36275)),a=o(89474),l=y(o(67439)),s=y(o(80923)),c=y(o(7706)),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(40688)),u=y(o(60042)),p=o(64539),f=o(94220),m=o(64187);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}const b=["centerLeft","centerRight"];class h extends i.default{static get componentId(){return"WOOProducts"}static defaultValue=s.default;state={taxonomies:[]};componentDidMount(){(0,m.getTerms)("product_cat").then((e=>this.setState({taxonomies:e})))}handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const i=(0,c.default)(this.state.taxonomies),s={ids:e.ids,limit:e.limit,category:e.category,columns:e.columns,orderby:e.orderBy,order:e.order},m=(0,u.default)((0,f.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.style)(e,t,o)));return r.default.createElement(l.default,this.makeToolbarPropsFromConfig2(i,d),r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(a.WPShortcode,{name:"products",attributes:s,placeholderIcon:"woo-2",placeholderContainerWidth:this.props.meta.desktopW,className:m,resizerPoints:b,resizerMeta:this.props.meta,resizerValue:e,resizerOnChange:this.handleResizerChange})))}}const v=h},40688:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Shop Products");function i(){return[]}},64539:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth"]}}})}},7706:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=o(64985),i=e=>({getItems:n(e)}),n=e=>()=>[{id:"toolbarWOOProducts",type:"popover-dev",config:{icon:"nc-woo-products",title:(0,r.t)("Shop Products")},devices:"desktop",position:10,options:[{id:"WOOProductsTabs",type:"tabs-dev",tabs:[{id:"layoutTab",label:(0,r.t)("Layout"),options:[{id:"columns",label:(0,r.t)("Columns"),type:"slider-dev",config:{min:1,max:6,inputMin:1,inputMax:6}},{id:"limit",label:(0,r.t)("Products Count"),type:"inputText-dev",devices:"desktop",config:{size:"short"}}]},{id:"filterTab",label:(0,r.t)("Filter"),options:[{id:"category",label:(0,r.t)("Categories"),type:"select-dev",devices:"desktop",choices:[{title:(0,r.t)("All"),value:""},...e.map((e=>({title:e.name,value:e.slug})))]},{id:"orderBy",label:(0,r.t)("Filter By"),type:"select-dev",devices:"desktop",choices:[{title:(0,r.t)("Random"),value:"name"},{title:(0,r.t)("Title"),value:"title"},{title:(0,r.t)("Date"),value:"date"},{title:(0,r.t)("Rating"),value:"rating"},{title:(0,r.t)("Popularity"),value:"popularity"},{title:(0,r.t)("Menu Order"),value:"menu_order"},{title:(0,r.t)("Random"),value:"rand"},{title:(0,r.t)("ID"),value:"id"}]},{id:"order",devices:"desktop",label:(0,r.t)("Order"),type:"radioGroup-dev",choices:[{value:"ASC",icon:"nc-up"},{value:"DESC",icon:"nc-down"}]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog"},position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}]},28891:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=y(o(27378)),i=y(o(63692)),n=y(o(60042)),a=y(o(67439)),l=b(o(71582)),s=b(o(493)),c=y(o(8289)),d=o(52569),u=o(94220),p=o(8704),f=o(86022),m=y(o(36275));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class h extends i.default{static get componentId(){return"WOORating"}static defaultValue=c.default;renderForEdit(e,t,o){const i=(0,n.default)("brz-woo-rating",{"brz-disabled-rating-text":"off"===e.text},e.className,(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,d.style)(e,t,o)));return r.default.createElement(a.default,this.makeToolbarPropsFromConfig2(l,s),r.default.createElement(m.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(f.Wrapper,this.makeWrapperProps({className:i}),r.default.createElement(p.DynamicContentHelper,{placeholder:"{{editor_product_rating}}",placeholderIcon:"woo-rating",tagName:"div",blocked:!1}))))}}},493:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Product Rating"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:70,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"}]}]}]}]}]}},52569:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .star-rating:hover":{standart:["cssStyleElementWOORatingSize","cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .star-rating:hover:before":{standart:["cssStyleElementWOORatingBgStarColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .woocommerce-review-link:hover":{standart:["cssStyleElementWOORatingSpacing","cssStyleElementWOORatingTextColor","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},71582:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(24119);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s="off"===l("text");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-woo-rating",title:(0,i.t)("Product Rating")},position:60,options:[{id:"text",label:(0,i.t)("Text"),devices:"desktop",type:"switch-dev"},{id:"ratingSize",type:"slider-dev",label:(0,i.t)("Size"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"spacing",type:"slider-dev",label:(0,i.t)("Spacing"),disabled:s,config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"typography",type:"typography-dev",disabled:s,config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(l("colorHex"),l("colorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabStarColor",label:(0,i.t)("Rating"),options:[{id:"color",type:"colorPicker-dev",states:[a.NORMAL,a.HOVER]}]},{id:"tabBgStarColor",label:(0,i.t)("Bg Star"),options:[{id:"bgStarColor",type:"colorPicker-dev",states:[a.NORMAL,a.HOVER]}]},{id:"tabTextColor",label:(0,i.t)("Text"),options:[{id:"textColor",type:"colorPicker-dev",disabled:s,states:[a.NORMAL,a.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",roles:["admin"],position:110,devices:"desktop",icon:"nc-cog"}]}},75371:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=y(o(27378)),i=y(o(60042)),n=y(o(63692)),a=y(o(67439)),l=b(o(29911)),s=b(o(9522)),c=y(o(31382)),d=o(62665),u=o(94220),p=o(8704),f=o(86022),m=y(o(36275));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class h extends n.default{static get componentId(){return"WOOSku"}static defaultValue=c.default;renderForEdit(e,t,o){const{className:n}=e,c=(0,i.default)("brz-woosku",n,(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,d.style)(e,t,o)));return r.default.createElement(a.default,this.makeToolbarPropsFromConfig2(l,s),r.default.createElement(m.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(f.Wrapper,this.makeWrapperProps({className:c}),r.default.createElement(p.DynamicContentHelper,{placeholder:"{{editor_product_sku}}",placeholderIcon:"woo-sku",outerClassName:c,tagName:"div"}))))}}},9522:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Product SKU"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"}]}]}]}]}]}},62665:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]}}})}},29911:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(64985),i=o(81405),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("colorHex"),l("colorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(s,l("colorOpacity"))}}},roles:["admin"],position:80,devices:"desktop",options:[{id:"color",type:"colorPicker-dev",devices:"desktop"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",icon:"nc-cog",position:110}]}},38170:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=y(o(27378)),i=y(o(60042)),n=y(o(63692)),a=y(o(67439)),l=b(o(40720)),s=b(o(15141)),c=y(o(33806)),d=o(98170),u=o(94220),p=o(8704),f=o(86022),m=y(o(36275));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class h extends n.default{static get componentId(){return"WOOStock"}static defaultValue=c.default;renderForEdit(e,t,o){const{className:n}=e,c=(0,i.default)("brz-woo-stock",n,(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,d.style)(e,t,o)));return r.default.createElement(a.default,this.makeToolbarPropsFromConfig2(l,s),r.default.createElement(m.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(f.Wrapper,this.makeWrapperProps({className:c}),r.default.createElement(p.DynamicContentHelper,{placeholder:"{{editor_product_stock}}",placeholderIcon:"woo-stock",tagName:"div"}))))}}},15141:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Product Stock"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"}]}]}]}]}]}},98170:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .stock":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleColor"]}}})}},40720:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(64985),i=o(69321),n=o(81405),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("colorHex"),l("colorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(s,l("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:80,options:[{id:"color",type:"colorPicker-dev",devices:"desktop"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",icon:"nc-cog",position:110}]}},68676:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=y(o(27378)),i=y(o(63692)),n=y(o(36275)),a=y(o(67439)),l=b(o(77281)),s=b(o(53637)),c=y(o(79031)),d=y(o(60042)),u=o(10108),p=o(94220),f=o(8704),m=o(86022);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class h extends i.default{static get componentId(){return"WPBreadcrumbs"}static defaultValue=c.default;renderForEdit(e,t,o){const{className:i}=e,c=(0,d.default)("brz-wp__breadcrumbs",i,(0,p.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,u.style)(e,t,o)));return r.default.createElement(a.default,this.makeToolbarPropsFromConfig2(l,s),r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(m.Wrapper,this.makeWrapperProps({className:c}),r.default.createElement(f.DynamicContentHelper,{placeholder:"{{editor_breadcrumbs}}",placeholderIcon:"wp-breadcrumbs",tagName:"div",blocked:!1}))))}}const v=h},53637:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=e=>{let{v:t}=e;return"woo"===t.type?(0,r.t)("Product Breadcrumbs"):(0,r.t)("Breadcrumbs")},n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:70,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},10108:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-breadcrumbs .brz-a:hover":{standart:["cssStyleSizeTextSpacing"],interval:["cssStyleHoverTransition"]},".brz && .brz-breadcrumbs .brz-li:hover":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz &&:hover .brz-breadcrumbs .brz-icon-svg":{standart:["cssStyleSizeTextSpacing","cssStyleElementBreadcrumbsArrowSize","cssStyleElementBreadcrumbsColorArrows"]},".brz && .brz-breadcrumbs > .brz-li:last-child .brz-a:hover":{standart:["cssStyleElementBreadcrumbsColorActive"]}}})}},77281:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),i=o(81405),n=o(68256),a=o(69321),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,n.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-wp-breadcrumbs",title:(0,r.t)("Product Breadcrumbs")},position:60,options:[{id:"textSpacing",label:(0,r.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(c,s("colorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabLinks",label:(0,r.t)("Links"),devices:"desktop",options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE],devices:"desktop"}]},{id:"colorArrows",label:(0,r.t)("Arrows"),devices:"desktop",options:[{id:"arrowsColor",type:"colorPicker-dev",devices:"desktop"}]}]}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,r.t)("More Settings"),roles:["admin"],position:110,icon:"nc-cog",devices:"desktop"}]}},83003:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});const r=g(o(27378)),i=g(o(60042)),n=g(o(63692)),a=g(o(36275)),l=g(o(22546)),s=o(89474),c=g(o(67439)),d=h(o(15177)),u=h(o(95966)),p=g(o(50295)),f=o(17475),m=o(94220),y=o(28617);function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const v=["centerLeft","centerRight"];class S extends n.default{static get componentId(){return"WPCustomShortcode"}static defaultValue=p.default;handleResizerChange=e=>this.patchValue(e);handleValueChange(e,t){const o=l.default.getAll();if(t.patch.shortcode&&!o.user.allowScripts){const t=(0,y.xss)(e.shortcode,"discard");super.handleValueChange({...e,shortcode:t})}else super.handleValueChange(e,t)}renderForEdit(e,t,o){const{className:n}=e,l=(0,i.default)((0,m.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o)),n);return r.default.createElement(c.default,this.makeToolbarPropsFromConfig2(d,u),r.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(s.WPShortcode,{raw:e.shortcode,placeholderIcon:"wp-custom-shortcode",className:l,height:45,resizerPoints:v,resizerMeta:this.props.meta,resizerValue:e,resizerOnChange:this.handleResizerChange})))}}const w=S},95966:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return i}});const r=(0,o(64985).t)("Shortcode");function i(){return[]}},17475:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth"]}}})}},15177:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985);function i(){return[{id:"toolbarWPCustomShortcode",type:"popover-dev",config:{icon:"nc-wp-shortcode",size:"large"},devices:"desktop",position:10,options:[{id:"shortcode",type:"codeMirror-dev",devices:"desktop",placeholder:(0,r.t)("Example [gallery id='123' size='medium']"),config:{language:"html"}}]},{id:"toolbarSettings",type:"popover-dev",roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},27754:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=y(o(27378)),i=y(o(63692)),n=y(o(36275)),a=y(o(67439)),l=b(o(64149)),s=b(o(36772)),c=y(o(11816)),d=y(o(60042)),u=o(93822),p=o(94220),f=o(8704),m=o(86022);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class h extends i.default{static get componentId(){return"WPPostInfo"}static defaultValue=c.default;renderForEdit(e,t,o){const{className:i,postElements:c}=e,y=e=>JSON.parse(c).some((t=>t===e)),g=(0,d.default)("brz-wp__postinfo",{"brz-wp__postinfo__column":"column"===e.large},{"brz-wp__postinfo__disabled-author":!y("author")},{"brz-wp__postinfo__disabled-date":!y("date")},{"brz-wp__postinfo__disabled-time":!y("time")},{"brz-wp__postinfo__disabled-comments":!y("comments")},i,(0,p.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,u.style)(e,t,o)));return r.default.createElement(a.default,this.makeToolbarPropsFromConfig2(l,s),r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(m.Wrapper,this.makeWrapperProps({className:g}),r.default.createElement(f.DynamicContentHelper,{placeholder:"{{editor_post_info}}",placeholderIcon:"wp-post-info",tagName:"div",blocked:!1}))))}}const v=h},36772:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Post Info"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:70,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},93822:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-wp__postinfo .brz-li":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleColor","cssStyleElementPostInfoSpacing"]},".brz &&:hover .brz-wp__postinfo .brz-icon-svg":{standart:["cssStyleElementPostInfoColorIcons"]}}})}},64149:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),i=o(64985),n=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("iconsColorHex"),l("iconsColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-wp-post-info",title:(0,i.t)("Post info")},position:60,options:[{id:"postElements",type:"multiSelect-dev",label:(0,i.t)("Elements"),placeholder:(0,i.t)("0 Selected"),devices:"desktop",choices:[{value:"author",title:(0,i.t)("Author")},{value:"date",title:(0,i.t)("Date")},{value:"time",title:(0,i.t)("Time")},{value:"comments",title:(0,i.t)("Comments")}]},{id:"large",label:(0,i.t)("Orientation"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"inline",icon:"nc-horizontal-items"},{value:"column",icon:"nc-vertical-items"}]},{id:"textSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,i.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("iconsColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",devices:"desktop"}]},{id:"colorIcons",label:(0,i.t)("Icons"),options:[{id:"iconsColor",type:"colorPicker-dev",devices:"desktop"}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",icon:"nc-cog",position:150}]}},73412:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=g(o(27378)),i=g(o(63692)),n=g(o(36275)),a=o(66848),l=g(o(67439)),s=h(o(88394)),c=h(o(98660)),d=g(o(21193)),u=g(o(60042)),p=o(60849),f=o(94220),m=o(8704),y=o(86022);function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class v extends i.default{static get componentId(){return"WPPostNavigation"}static defaultValue=d.default;handleChangeNext=e=>{this.patchValue({next:e})};handleChangePrevious=e=>{this.patchValue({previous:e})};attributesData(e){const t=JSON.parse(e.categories);return 0===t.length?{post_type:"post"}:t.reduce(((t,o)=>({...t,[`${o}_taxonomy`]:e[o]})),{post_type:t.join()})}renderForEdit(e,t,o){const{next:i,previous:d,showTitle:m,showPost:g}=e,b=(0,u.default)("brz-single-post-navigation",(0,f.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.style)(e,t,o)));return r.default.createElement(l.default,this.makeToolbarPropsFromConfig2(s,c),r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(y.Wrapper,this.makeWrapperProps({className:b}),"on"===m&&r.default.createElement("div",{className:"brz-navigation-title"},r.default.createElement(a.TextEditor,{value:d,onChange:this.handleChangePrevious}),r.default.createElement(a.TextEditor,{value:i,onChange:this.handleChangeNext})),"on"===g&&r.default.createElement("div",{className:"brz-wp-shortcode"},r.default.createElement("div",{className:"brz-navigation"},r.default.createElement("a",{className:"brz-a",href:"#",rel:"prev"},"Previous post"),r.default.createElement("a",{className:"brz-a",href:"#",rel:"next"},"Next post"))))))}renderForView(e,t,o){const{next:i,previous:a,showTitle:l,showPost:s}=e,c=(0,u.default)("brz-single-post-navigation",(0,f.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.style)(e,t,o))),d={showTitle:l,showPost:s,...this.attributesData(e),..."on"===l&&{titlePrevious:a,titleNext:i}},g=`{{editor_post_navigation ${Object.keys(d).map((e=>String(d[e])&&`${e}="${d[e]}"`)).join(" ")}}}`;return r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(y.Wrapper,this.makeWrapperProps({className:c}),r.default.createElement(m.DynamicContentHelper,{placeholder:g,tagName:"div"})))}}const S=v},98660:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),i=(0,r.t)("Post Navigation"),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"}]}]}]}]}]}},60849:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&":{standart:["cssStyleSizeWidth"]},".brz && .brz-navigation-title":{standart:["cssStyleElementPostNavigationSpacing"]},".brz && .brz-navigation-title .brz-span:hover":{standart:["cssStyleElementPostNavigationColorTitle","cssStyleElementPostNavigation2TitleFontFamily","cssStyleElementPostNavigation2TitleFontSize","cssStyleElementPostNavigation2TitleLineHeight","cssStyleElementPostNavigation2TitleFontWeight","cssStyleElementPostNavigation2TitleLetterSpacing"]},".brz && .brz-navigation-title .brz-a:not(.brz-btn)[href]:hover":{standart:["cssStyleElementPostNavigationColorTitle","cssStyleElementPostNavigation2TitleFontFamily","cssStyleElementPostNavigation2TitleFontSize","cssStyleElementPostNavigation2TitleLineHeight","cssStyleElementPostNavigation2TitleFontWeight","cssStyleElementPostNavigation2TitleLetterSpacing"]},".brz && .brz-navigation .brz-a:not(.brz-btn)[href]:hover":{standart:["cssStyleElementPostNavigationColorPost","cssStyleElementPostNavigation2PostFontFamily","cssStyleElementPostNavigation2PostFontSize","cssStyleElementPostNavigation2PostLineHeight","cssStyleElementPostNavigation2PostFontWeight","cssStyleElementPostNavigation2PostLetterSpacing"]},".brz &&:hover:before":{standart:["cssStyleElementPostNavigationShowSeparation","cssStyleSizeHeight","cssStyleBgColor"]}}})}},88394:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return u}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(81405),a=o(64985),l=o(69321),s=o(68256),c=o(24119),d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return!e.some((e=>t===e))};function u(e){let{v:t,device:o,state:i}=e;const u=e=>(0,l.defaultValueValue)({v:t,key:e,device:o,state:i}),p=Boolean(r.default.get("wp")),f=JSON.parse(u("categories")),m=u("showPost"),y=u("showTitle");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-wp-post-navigation",title:(0,a.t)("Post Navigation")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,a.t)("Settings"),options:[{id:"height",label:(0,a.t)("Separator"),type:"slider-dev",devices:"desktop",config:{min:50,max:150,units:[{value:"%",title:"%"}]}},{id:"spacing",label:(0,a.t)("Spacing"),type:"slider-dev",disabled:"off"===m||"off"===y,config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"tabAdvanced",label:(0,a.t)("Advanced"),options:[{id:"showTitle",label:(0,a.t)("Label"),type:"switch-dev",disabled:"off"===m,devices:"desktop"},{id:"showPost",label:(0,a.t)("Post"),type:"switch-dev",disabled:"off"===y,devices:"desktop"},{id:"showSeparation",label:(0,a.t)("Separator"),type:"switch-dev",devices:"desktop"}]}]}]},{id:"dynamicToolbarCarousel",type:"popover-dev",config:{icon:"nc-dynamic",title:(0,a.t)("Dynamic Content")},roles:["admin"],devices:"desktop",disabled:!p,position:80,options:[{id:"categories",type:"multiSelect-dev",label:(0,a.t)("Categories"),placeholder:(0,a.t)("0 Selected"),config:{size:"large"},choices:(0,s.getTaxonomiesMultiOptions)()},{id:"post",label:(0,a.t)("Post"),type:"select-dev",disabled:d(f,"post"),choices:(0,s.getTaxonomiesMultiOptionsSub)("post")},{id:"product",label:(0,a.t)("Product"),type:"select-dev",disabled:d(f,"product"),choices:(0,s.getTaxonomiesMultiOptionsSub)("product")}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,a.t)("Typography")},position:70,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabTypographyTitle",label:(0,a.t)("Label"),options:[{id:"titleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyPost",label:(0,a.t)("Post"),options:[{id:"postTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(u("bgColorHex"),u("bgColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabTitle",label:(0,a.t)("Label"),options:[{id:"titleColor",type:"colorPicker-dev",disabled:"off"===u("showTitle"),states:[c.NORMAL,c.HOVER]}]},{id:"tabPost",label:(0,a.t)("Post"),options:[{id:"postColor",type:"colorPicker-dev",disabled:"off"===u("showTitle"),states:[c.NORMAL,c.HOVER]}]},{id:"tabSeparation",label:(0,a.t)("Separator"),options:[{id:"bgColor",type:"colorPicker-dev",disabled:"off"===u("showSeparation"),states:[c.NORMAL,c.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,a.t)("Settings")},position:110,options:[{id:"width",label:(0,a.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},65878:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=g(o(27378)),i=g(o(63692)),n=g(o(36275)),a=g(o(67439)),l=g(o(72575)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(75967)),c=g(o(79657)),d=g(o(60042)),u=o(3114),p=o(94220),f=o(64187),m=o(8704),y=o(86022);function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}class h extends i.default{static get componentId(){return"WPSidebar"}static defaultValue=c.default;state={sidebars:[]};componentDidMount(){(0,f.getSidebars)().then((e=>{this.setState({sidebars:e}),""===this.getValue().sidebar&&e.length>0&&this.patchValue({sidebar:e[0].id})}))}handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const{className:i}=e,c=(0,l.default)(this.state.sidebars),f=(0,d.default)("brz-wp__sidebar",(0,p.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,u.style)(e,t,o)),i);return r.default.createElement(a.default,this.makeToolbarPropsFromConfig(c,s),r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(y.Wrapper,this.makeWrapperProps({className:f}),r.default.createElement(m.DynamicContentHelper,{placeholder:`{{editor_sidebar id="${e.sidebar}"}}`,tagName:"div"}))))}}const v=h},75967:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},3114:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth"]}}})}},72575:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=o(64985),i=e=>{const t=e.map((e=>({title:e.title,value:e.id})));return{getItemsForDesktop:n(t),getItemsForTablet:a,getItemsForMobile:l}},n=e=>()=>[{id:"toolbarWPSidebar",type:"popover-dev",config:{icon:"nc-wp-shortcode"},position:90,options:[{id:"sidebar",label:(0,r.t)("Sidebar"),type:"select-dev",devices:"desktop",choices:e}]},{id:"toolbarSettings",type:"popover-dev",roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{title:"%",value:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}],a=()=>[{id:"tabletToolbarSettings",type:"popover-dev",roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{title:"%",value:"%"}]}}]}],l=()=>[{id:"mobileToolbarSettings",type:"popover-dev",roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{title:"%",value:"%"}]}}]}]},8704:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DynamicContentHelper",{enumerable:!0,get:function(){return c}});const r=l(o(60042)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=l(o(53125)),a=o(16550);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e){let{placeholder:t,tagName:o,props:l,placeholderIcon:s="wp-shortcode",placeholderHeight:c,onSuccess:d,blocked:u=!0,fallbackComponent:p}=e;const f=(0,a.useDC)(t),m="success"===f.status?f.data:t,y=f.status;if((0,i.useEffect)((()=>{"success"===y&&d&&d(m)}),[y,m,d]),"success"===y&&null!==(g=m)&&""!==g){const e=(0,r.default)(l?.className,{"brz-blocked":u});return i.default.createElement(o,{...l,className:""!==e?e:void 0,dangerouslySetInnerHTML:{__html:m},style:{minHeight:"20px"}})}if("waiting_delay"===y)return i.default.createElement("div",{style:{height:"20px"}});{const e=c?{height:c}:{};return p??i.default.createElement(n.default,{className:"placeholder-is-empty",style:e,icon:s})}var g}},89474:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{WPShortcode:function(){return p},WPShortcodeInner:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=d(o(10301)),n=d(o(60042)),a=d(o(53125)),l=d(o(31440)),s=o(6804),c=o(64187);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends r.Component{static defaultProps={name:"",attributes:{},height:null,raw:null,placeholderIcon:"wp-shortcode",resizerPoints:null,resizerMeta:null,resizerValue:null,resizerOnChange:null,renderHTMLInEditor:!0,className:"",style:{},blocked:!0,render:null};id=(0,s.uuid)(3);render(){const{className:e,style:t,resizerPoints:o,resizerMeta:i,resizerValue:a,resizerOnChange:s,...c}=this.props,d=(0,n.default)("brz-wp-shortcode",e);let u=r.default.createElement(f,c);return null!==a&&(u=r.default.createElement(l.default,{points:o,meta:i,value:a,onChange:s},u)),r.default.createElement("div",{className:d,style:t},u)}}class f extends r.Component{static defaultProps={name:"",attributes:{},raw:null,placeholderIcon:"wp-shortcode",renderHTMLInEditor:!0,render:null,onLoadHTML:i.default.noop};state={shortcodeHTML:null};componentDidMount(){const{renderHTMLInEditor:e}=this.props;e&&this.updateShortCodeHTML()}shouldComponentUpdate(e,t){const o=this.props,r=this.state;return!(i.default.isEqual(o.attributes,e.attributes)&&o.name===e.name&&o.raw===e.raw)||r.shortcodeHTML!==t.shortcodeHTML}componentDidUpdate(e){const t=this.props;(!i.default.isEqual(t.attributes,e.attributes)||t.name!==e.name||t.raw!==e.raw)&&this.updateShortCodeHTML()}updateShortCodeHTML(){const e=this.getShortcodeString();""!==e&&(0,c.shortcodeContent)(e).then((e=>{let{shortcode:t}=e;this.props.onLoadHTML(t),this.setState({shortcodeHTML:t})}))}getShortcodeString(){const{raw:e,name:t,attributes:o}=this.props;return null!==e?e:`[${t} ${o&&Object.keys(o).map((e=>String(o[e])&&`${e}="${o[e]}"`)).join(" ")||""}]`}renderMarkup(e){return{__html:e}}renderForEdit(){const{placeholderIcon:e,blocked:t,render:o,height:i}=this.props,{shortcodeHTML:n}=this.state;if(!n){const t=i?{minHeight:`${i}px`,height:`${i}px`}:{};return r.default.createElement(a.default,{style:t,icon:e})}return"function"==typeof o?o(n):r.default.createElement("div",{className:t?"brz-blocked":"",dangerouslySetInnerHTML:this.renderMarkup(n)})}renderForView(){const{render:e}=this.props,t=this.getShortcodeString();return"function"==typeof e?e(t):r.default.createElement("div",{dangerouslySetInnerHTML:this.renderMarkup(t)})}render(){return this.renderForEdit()}}},37951:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(i=o(95664))&&i.__esModule?i:{default:i};var i;const n=o(64985),a={RichText:(0,n.t)("Text"),Image:(0,n.t)("Image"),Video:(0,n.t)("Video"),VideoPlaylist:(0,n.t)("Playlist"),Spacer:(0,n.t)("Spacer"),Line:(0,n.t)("Line"),Map:(0,n.t)("Map"),EmbedCode:(0,n.t)("Embed"),Form:(0,n.t)("Form"),Form2:(0,n.t)("Form"),IconText:(0,n.t)("Icon Box"),SoundCloud:(0,n.t)("SoundCloud"),Counter:(0,n.t)("Counter"),Countdown:(0,n.t)("Countdown"),Countdown2:(0,n.t)("Countdown"),Tabs:(0,n.t)("Tabs"),Timeline:(0,n.t)("Timeline"),Switcher:(0,n.t)("Switcher"),Table:(0,n.t)("Table"),ProgressBar:(0,n.t)("Progress"),Accordion:(0,n.t)("Accordion"),ImageGallery:(0,n.t)("Gallery"),Carousel:(0,n.t)("Carousel"),Row:(0,n.t)("Row"),Column:(0,n.t)("Column"),Posts:e=>"posts"===e.type?(0,n.t)("Posts"):"upsell"===e.type?(0,n.t)("Upsell"):"relatedProducts"===e.type?(0,n.t)("Related Products"):"categories"===e.type?(0,n.t)("Categories"):(0,n.t)("Products"),Archives:(0,n.t)("Archives"),Menu:(0,n.t)("Menu"),FacebookButton:(0,n.t)("Facebook Button"),FacebookComments:e=>"true"===e.review?(0,n.t)("Review"):(0,n.t)("Comments"),FacebookEmbed:(0,n.t)("Facebook Embed"),FacebookPage:(0,n.t)("Facebook Page"),FacebookGroup:(0,n.t)("Facebook Group"),WPBreadcrumbs:e=>"woo"===e.type?(0,n.t)("Product Breadcrumbs"):(0,n.t)("Breadcrumbs"),Audio:(0,n.t)("Audio"),Twitter:(0,n.t)("Twitter"),Facebook:(0,n.t)("Facebook"),Search:(0,n.t)("Search"),Login:(0,n.t)("Login"),Lottie:(0,n.t)("Lottie"),Filters:(0,n.t)("Filters"),StarRating:(0,n.t)("Rating"),ProtectedPage:(0,n.t)("Protected Form"),Translation:(0,n.t)("Translation"),Calendly:(0,n.t)("Calendly"),Alert:(0,n.t)("Alert"),WPSidebar:(0,n.t)("Sidebar"),WPCustomShortcode:(0,n.t)("Shortcode"),WPPostNavigation:(0,n.t)("Post Navigation"),WPPostsTitle:e=>"woo"===e?.type?(0,n.t)("Product Title"):(0,n.t)("Post Title"),WPPostContent:e=>"woo"===e?.type?(0,n.t)("Product Content"):(0,n.t)("Post Content"),WPPostExcerpt:(0,n.t)("Post Excerpt"),WPNavigation:(0,n.t)("Menu"),WPPostInfo:(0,n.t)("Post Info"),WPComments:(0,n.t)("Comments"),WOOExcerpt:(0,n.t)("Product Excerpt"),WOOProductMeta:(0,n.t)("Product Meta"),WOORating:(0,n.t)("Product Rating"),WOOCart:(0,n.t)("Shop Cart"),WOOAddToCart:(0,n.t)("Add to cart"),WOOPrice:(0,n.t)("Product Price"),WOOStock:(0,n.t)("Product Stock"),WOOSku:(0,n.t)("Product SKU"),WOOGallery:(0,n.t)("Product Gallery"),WOOAttributes:(0,n.t)("Product Attributes"),WOOCategories:(0,n.t)("Shop Categories"),WOOProducts:(0,n.t)("Shop Products"),WOOPages:(0,n.t)("Shop Pages"),EcwidMyAccount:(0,n.t)("My Account"),EcwidCart:(0,n.t)("Cart & Checkout"),EcwidProduct:(0,n.t)("Product"),EcwidProducts:(0,n.t)("Products"),EcwidShoppingBag:(0,n.t)("Shopping Bag"),AddToCart:(0,n.t)("Add To Cart"),Quantity:(0,n.t)("Quantity"),Price:(0,n.t)("Price"),KlavyioMarketing:(0,n.t)("Email Marketing by Klaviyo"),PreProduct:(0,n.t)("PreProduct"),TrustProductReview:(0,n.t)("Trust Product Review"),TrustProductRating:(0,n.t)("Trust Product Rating"),TrustSeals:(0,n.t)("Trust Product Seals"),ReviewVitals:(0,n.t)("Reviews by Vitals"),AliExpressReview:(0,n.t)("Widgets by AliExpress"),SealSubscription:(0,n.t)("Subscription by Seal"),OmegaTracking:(0,n.t)("Tracking by Omega"),AppstleSubscription:(0,n.t)("Subscription by Appstle"),BoldSubscription:(0,n.t)("Subscription by Bold"),ReviewOpinew:(0,n.t)("Review by Opinew"),UploadKit:(0,n.t)("Upload Fields by UploadKit"),BISStock:(0,n.t)("Back in Stock"),ZeptoPersonalizer:(0,n.t)("Personalizer by Zepto"),StampedReviews:(0,n.t)("Reviews by Stamped"),PaywhirlSubscription:(0,n.t)("Subscription by Paywhirl"),FastSimonUpsell:(0,n.t)("Upsell by FastSimon"),TipoBooking:(0,n.t)("Appointment Booking by Tipo"),ReviewJudgeMe:(0,n.t)("Review by Judge"),ReviewGrowave:(0,n.t)("Review by Growave"),YotPoReview:(0,n.t)("YotPo Product Review"),LimeSpot:(0,n.t)("Upsell by LimeSpot"),GrowaveWishlist:(0,n.t)("Wishlist by Growave"),BoldProduct:(0,n.t)("Product Options by Bold"),SnowBall:(0,n.t)("Marketing by Social SnowBall"),HeroWishList:(0,n.t)("Wishlist by Hero"),SpecialOffers:(0,n.t)("Special Offers"),TrustedBadge:(0,n.t)("Badges by Trusted"),OnVoard:(0,n.t)("Notifications by OnVoard"),WideBundle:(0,n.t)("WideBundle"),HextomBadges:(0,n.t)("Badges by Hextom"),ZoorixUpsell:(0,n.t)("Upsell by Zoorix"),VideoShopping:(0,n.t)("Video Shopping"),PushOwlNotifications:(0,n.t)("Notifications by PushOwl"),InfiniteOptions:(0,n.t)("Infinite Options by ShopPad"),HulkOptions:(0,n.t)("Product Options by Hulk"),KiwiChart:(0,n.t)("Kiwi Size Chart & Recommender"),OmnisendMarketing:(0,n.t)("Marketing by Omnisend"),MarselloMarketing:(0,n.t)("Marketing by Marsello"),PowrContactForm:(0,n.t)("Advanced Contact Form by POWR"),EmailMarketing:(0,n.t)("Email Marketing"),ParcelPanel:(0,n.t)("Parcel Panel Order Tracking"),ReferralCandy:(0,n.t)("Notifications by ReferralCandy"),LaiReviews:(0,n.t)("Reviews by Lai"),ProductOptions:(0,n.t)("Product Options"),RechargeSubscriptions:(0,n.t)("Subscriptions by Recharge"),FeraReviews:(0,n.t)("Reviews by Fera"),FrequentlyBought:(0,n.t)("Frequently Bought"),LooxReview:(0,n.t)("Review by Loox"),AreviewReviews:(0,n.t)("Reviews by Areview"),SwymWishList:(0,n.t)("WishList by Swym"),AutomizelyOrderTracking:(0,n.t)("Order Tracking by Automizely"),StampedBadge:(0,n.t)("Badges by Stamped"),OkendoReview:(0,n.t)("Review by Okendo"),AliReviews:(0,n.t)("Reviews by Ali"),SMSMarketing:(0,n.t)("SMS Marketing by Yotpo"),PickyStory:(0,n.t)("Widgets by PickyStory"),ReviewRivyo:(0,n.t)("Review by Rivyo"),UnlimitedBundles:(0,n.t)("Unlimited Bundles"),WiserUpsell:(0,n.t)("Upsell by Wiser"),BoldBundles:(0,n.t)("Bundles by Bold"),CrossSell:(0,n.t)("Cross Sell"),ProductMetafield:(0,n.t)("Metafield"),BlogPostMeta:(0,n.t)("Meta"),Vendor:(0,n.t)("Vendor"),MinistryBrandsGroupLayout:(0,n.t)("Group Layout"),MinistryBrandsGroupSlider:(0,n.t)("Group Slider"),MinistryBrandsEventLayout:(0,n.t)("Event Layout"),MinistryBrandsEventCalendar:(0,n.t)("Event Calendar"),MinistryBrandsSermonLayout:(0,n.t)("Sermon Layout"),MinistryBrandsSermonList:(0,n.t)("Sermon List"),MinistryBrandsSermonFeatured:(0,n.t)("Sermon Featured"),MinistryBrandsSermonDetail:(0,n.t)("Sermon Detail"),MinistryBrandsGroupList:(0,n.t)("Group List"),MinistryBrandsGroupDetail:(0,n.t)("Group Detail"),MinistryBrandsEventFeatured:(0,n.t)("Event Featured"),MinistryBrandsGroupFeatured:(0,n.t)("Group Featured"),MinistryBrandsEventList:(0,n.t)("Event List"),MinistryBrandsEventDetail:(0,n.t)("Event Detail"),MinistryBrandsFormWidget:(0,n.t)("Form Widget")},l={getItems:function(e){const t=r.default.getShortcodes(),{items:o}=e,{icon:i=""}=Object.values(t).flat().find((e=>e.component.resolve.value.items?.type===o[0]?.type))||{};let n=a[o[0]?.type];return"function"==typeof n&&(n=n(o[0]?.value)),[{id:"main",type:"group",title:n,icon:i,items:[]}]}}},9571:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(67439),i=o(16957),n=o(64985),a="MacOS"===(0,i.detectOS)(),l={getItems:(e,t)=>[{id:"main",type:"group",items:[{id:"remove",type:"button",title:(0,n.t)("Delete"),helperText:()=>a?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),t.selfDestruct()}}]}]}},36669:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return Y}});const r=G(o(60042)),i=Q(o(27378)),n=G(o(45771)),a=G(o(80544)),l=Q(o(39552)),s=o(62182),c=o(21407),d=o(10730),u=o(5264),p=o(46338),f=o(91435),m=o(16874),y=o(76742),g=G(o(58566)),b=Q(o(67439)),h=G(o(10787)),v=G(o(63692)),S=o(76753),w=o(5312),x=o(1621),M=o(97045),T=o(92213),P=o(94220),C=o(89787),k=o(69321),_=Q(o(71162)),O=o(94306),E=o(86845),z=o(66559),B=Q(o(24119)),j=Q(o(95945)),N=Q(o(48499)),I=Q(o(59638)),L=o(76286),D=G(o(37951)),F=G(o(9571)),A=G(o(48425)),R=Q(o(20433)),W=Q(o(28067)),H=o(48382),V=Q(o(11097)),U=Q(o(6035));function G(e){return e&&e.__esModule?e:{default:e}}function $(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return($=function(e){return e?o:t})(e)}function Q(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=$(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}class Y extends v.default{static get componentId(){return"Wrapper"}static defaultValue=A.default;static experimentalDynamicContent=!0;childToolbarExtend=void 0;toolbarRef=(0,i.createRef)();shouldComponentUpdate(e){return this.optionalSCU(e)}getInnerElement(){return this.getDBValue().items[0]}getTitleIfPro(){const e=this.getInnerElement();if(void 0!==e)return j.is(e.type)?(0,S.getProTitle)(e.type,e.value):void 0}handleValueChange(e,t){0===e.items.length?this.selfDestruct():super.handleValueChange(e,t)}handleRemove=()=>{this.selfDestruct()};handleExtendParentToolbar=e=>{this.childToolbarExtend=e};getMeta(e){const{horizontalAlign:t,tabletHorizontalAlign:o,mobileHorizontalAlign:r}=e,{meta:i}=this.props,{w:n,wNoSpacing:a}=(0,C.getWrapperContainerW)({v:e,w:i.desktopW,wNoSpacing:i.desktopWNoSpacing,device:z.DESKTOP}),{w:l,wNoSpacing:s}=(0,C.getWrapperContainerW)({v:e,w:i.tabletW,wNoSpacing:i.tabletWNoSpacing,device:z.TABLET}),{w:c,wNoSpacing:d}=(0,C.getWrapperContainerW)({v:e,w:i.mobileW,wNoSpacing:i.mobileWNoSpacing,device:z.MOBILE}),u=I.read(this.dvv("animationName"))??"none",p=this.dvv("animationInfiniteAnimation")??!1;return{...i,desktopW:n,desktopWNoSpacing:a,tabletW:l,tabletWNoSpacing:s,mobileW:c,mobileWNoSpacing:d,horizontalAlign:t,tabletHorizontalAlign:o,mobileHorizontalAlign:r,wrapperAnimationId:this.getId(),wrapperAnimationActive:"none"!==u&&p}}renderContent(e){const t="on"===e.showToolbar||"admin"!==(0,p.currentUserRole)()?e=>e.filter((e=>"duplicate"!==e.id&&"remove"!==e.id)):null,o=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:this.getMeta(e),toolbarExtend:this.makeToolbarPropsFromConfig2(U,W,{allowExtendFromChild:!1,parentItemsFilter:t}),extendParentToolbar:this.handleExtendParentToolbar}});return i.default.createElement(h.default,o)}getHoverData(e){const t=I.read(this.dvv("hoverName"))??"none",o=this.getInnerElement()?.type,r=(0,d.makeOptionValueToAnimation)(e),i=!o||c.disableHoverForElements.includes(o)||!this.hoverAnimationOptionActive(t);return{animationId:this.getId(),cssKeyframe:t,options:(0,c.getHoverAnimationOptions)(r,t),isHidden:i}}renderStatic(e){let{v:t,vs:o,vd:c,extraAttr:d,className:y,ref:g}=e;const{customAttributes:h}=t,v=I.mRead(t.customID)||void 0,S=I.mRead(t.cssIDPopulation)||void 0,w=this.getTitleIfPro();if(w){const e=i.default.createElement(u.ProBlocked,{text:w,absolute:!1,onRemove:this.handleRemove});return i.default.createElement(a.default,{type:"wrapper",color:"grey",borderStyle:"dotted"},(a=>{let{ref:s,attr:u,border:f}=a;return i.default.createElement(n.default,{ref:e=>{(0,O.attachRef)(e,s),(0,O.attachRef)(e,g||null)},component:"div",className:(0,r.default)(this.getWrapperClassName(t,o,c),y),animationId:this.getId(),animationClass:this.getAnimationClassName(t,o,c),componentProps:{...N.mRead(h),...u,...d,id:S??v}},i.default.createElement(l.ContextMenuExtend,this.makeContextMenuProps(F.default),i.default.createElement(l.default,{...this.makeContextMenuProps(D.default),componentId:t?.items[0]?.type},i.default.createElement(p.Roles,{allow:["admin"],fallbackRender:()=>e},"on"===t.showToolbar?i.default.createElement(b.ToolbarExtend,{onEscape:this.handleToolbarEscape},e):e,f))))}))}const{cssKeyframe:x,animationId:M,options:T,isHidden:P}=this.getHoverData(t),{wrapperAnimationActive:C=!1}=this.getMeta(t),k=(0,E.read)(C),_=i.default.createElement(f.ScrollMotion,{options:(0,m.makeOptionValueToMotion)(t)},i.default.createElement(s.HoverAnimation,{animationId:M,cssKeyframe:x,options:T,isDisabledHover:k,isHidden:P},this.renderContent(t)));return i.default.createElement(a.default,{type:"wrapper",color:"grey",borderStyle:"dotted",buttonPosition:"topRight",renderButtonWrapper:this.renderToolbar},(e=>{let{ref:a,attr:s,button:u,border:f}=e;return i.default.createElement(n.default,{ref:e=>{(0,O.attachRef)(e,a),(0,O.attachRef)(e,g||null)},animationId:this.getId(),component:"div",className:(0,r.default)(this.getWrapperClassName(t,o,c),y),animationClass:this.getAnimationClassName(t,o,c),componentProps:{...N.mRead(h),...s,...d,id:S??v}},i.default.createElement(l.default,{...this.makeContextMenuProps(D.default),componentId:t?.items[0]?.type},i.default.createElement(p.Roles,{allow:["admin"],fallbackRender:()=>_},"on"===t.showToolbar?i.default.createElement(i.default.Fragment,null,i.default.createElement(b.ToolbarExtend,{onEscape:this.handleToolbarEscape},_),u):_,f)))}))}containerSize=()=>{const e=this.getValue(),t=(0,M.deviceModeSelector)((0,T.getStore)().getState()),o=this.getMeta(e),r=window.innerWidth,i=window.innerHeight;return(0,x.getContainerSizes)(e,t,o,r,i)};dvv=e=>{const t=this.getValue(),o=(0,M.deviceModeSelector)((0,T.getStore)().getState()),r=B.mRead(t.tabsState);return(0,k.defaultValueValue)({v:t,key:e,device:o,state:r})};renderForEdit(e,t,o){const r="relative"===_.getPosition(this.dvv);return i.default.createElement(y.SortableElement,{type:"shortcode"},(n=>i.default.createElement(w.Draggable,{active:!r,onChange:this.handleDraggable,hAlign:_.getHAlign(this.dvv)??"left",vAlign:_.getVAlign(this.dvv)??"top",xSuffix:_.getHUnit(this.dvv)??"px",ySuffix:_.getVUnit(this.dvv)??"px",getValue:()=>({x:_.getHOffset(this.dvv)??0,y:_.getVOffset(this.dvv)??0}),getContainerSizes:this.containerSize},((i,a)=>r?this.renderStatic({v:e,vs:t,vd:o,extraAttr:n}):this.renderStatic({v:e,vs:t,vd:o,className:a,ref:i})))))}renderForView(e,t,o){const{customAttributes:a}=e,{sectionPopup:l,sectionPopup2:c}=this.props.meta,d=I.mRead(e.customID)||void 0,u=I.mRead(e.cssIDPopulation)||void 0,{cssKeyframe:p,animationId:y,options:g,isHidden:b}=this.getHoverData(e),h=i.default.createElement(f.ScrollMotion,{options:(0,m.makeOptionValueToMotion)(e)},i.default.createElement(s.HoverAnimation,{animationId:y,cssKeyframe:p,options:g,isHidden:b},this.renderContent(e)));return i.default.createElement(n.default,{iterationCount:l||c?1/0:1,component:"div",animationId:this.getId(),className:(0,r.default)(this.getWrapperClassName(e,t,o)),animationClass:this.getAnimationClassName(e,t,o),componentProps:{...N.mRead(a),id:u??d}},h)}getWrapperClassName=(e,t,o)=>{const{customClassName:i,cssClassPopulation:n}=e,a=""===n?I.mRead(i):I.mRead(n);return(0,r.default)((0,P.css)(this.getComponentId(),this.getId(),(0,H.styleWrapper)(e,t,o)),"brz-wrapper",a)};getAnimationClassName=(e,t,o)=>{if(!(0,k.validateKeyByProperty)(e,"animationName","none"))return;const i=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,P.css)(`${this.getComponentId()}-animation-${i}`,`${this.getId()}-animation-${i}`,(0,H.styleAnimation)(e,t,o)))};hoverAnimationOptionActive=e=>Boolean((0,L.getAnimations)(e));handleDraggable=e=>{let{x:t,y:o}=e;const r=this.getValue(),i=B.mRead(r.tabsState),n=(0,M.deviceModeSelector)((0,T.getStore)().getState()),a=(e,t)=>({[(0,k.defaultValueKey)({key:e,device:n,state:i})]:t});this.patchValue(_.setHOffset(a,t,_.setVOffset(a,o,{})))};handleToolbarEscape=()=>this.toolbarRef.current?.show();renderToolbar=e=>{const t=this.getTitleIfPro();return toolbar&&void 0===t?i.default.createElement(b.default,{...this.makeToolbarPropsFromConfig2(V,R),ref:this.toolbarRef},i.default.createElement(g.default,null,i.default.createElement(e,null))):null}}},20433:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=o(21407),i=o(93873),n=o(81263),a=o(64985),l=o(69321),s=o(68256),c=o(59638),d=e=>{let{v:t,device:o,context:d}=e;const u=e=>(0,l.defaultValueValue)({v:t,key:e,device:o}),p="relative"===u("elementPosition"),f=(0,s.getDynamicContentOption)({options:d.dynamicContent.config,type:n.DCTypes.richText}),m=(0,c.read)(u("hoverName"))??"none";return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,a.t)("Styling"),label:(0,a.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,a.t)("Basic"),icon:"nc-styling",position:10,options:[{id:"padding",type:"padding-dev",label:(0,a.t)("Padding"),position:50},{id:"margin",devices:"desktop",label:(0,a.t)("Margin"),type:"margin-dev",position:60},{id:"groupPosition",type:"group-dev",options:[{id:"elementPosition",label:(0,a.t)("Position"),type:"select-dev",choices:[{value:"relative",title:"None"},{value:"absolute",title:"Absolute"},{value:"fixed",title:"Fixed"}]},{id:"width",label:(0,a.t)("Width"),type:"slider-dev",disabled:p,config:{min:0,max:"px"===u("widthSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetXAlignment",label:(0,a.t)("Horizontal Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"offsetX",type:"slider-dev",disabled:p,config:{min:"px"===u("offsetXSuffix")?-1200:-100,max:"px"===u("offsetXSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetYAlignment",label:(0,a.t)("Vertical Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"top",icon:"nc-align-top"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"offsetY",type:"slider-dev",disabled:p,config:{min:-1200,max:1200,units:[{value:"px",title:"px"}]}}]}]},{id:"moreSettingsAdvanced",label:(0,a.t)("Advanced"),icon:"nc-cog",options:[{id:"showOnDesktop",label:(0,a.t)("Show on Desktop"),type:"switch-dev",position:10,closeTooltip:!0},{id:"zIndex",type:"slider-dev",position:20,label:(0,a.t)("Z-index"),config:{min:0,max:100}},{id:"cssID",label:(0,a.t)("CSS ID"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:f,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,a.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:f,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,a.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:f}]}]},{id:"padding",type:"padding-dev",label:(0,a.t)("Padding"),devices:"responsive",position:50},{id:"margin",devices:"responsive",label:(0,a.t)("Margin"),type:"margin-dev",position:60},{id:"groupPosition",type:"group-dev",devices:"responsive",options:[{id:"elementPosition",label:(0,a.t)("Position"),type:"select-dev",choices:[{value:"relative",title:"None"},{value:"absolute",title:"Absolute"},{value:"fixed",title:"Fixed"}]},{id:"width",label:(0,a.t)("Width"),type:"slider-dev",disabled:p,config:{min:0,max:"px"===u("widthSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetXAlignment",label:(0,a.t)("Horizontal Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"offsetX",type:"slider-dev",disabled:p,config:{min:"px"===u("offsetXSuffix")?-1200:-100,max:"px"===u("offsetXSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetYAlignment",label:(0,a.t)("Vertical Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"top",icon:"nc-align-top"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"offsetY",type:"slider-dev",disabled:p,config:{min:-1200,max:1200,units:[{value:"px",title:"px"}]}}]}]},{id:"effects",title:(0,a.t)("Effects"),label:(0,a.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,a.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]},{id:"tabHover",label:(0,a.t)("Hover"),options:[{id:"hover",type:"animation-dev",devices:"desktop",config:{types:i.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(m),delay:!1}}]}]}]}]}]}},28067:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=o(21407),i=o(93873),n=o(81263),a=o(64985),l=o(69321),s=o(68256),c=o(59638);function d(e){let{v:t,device:o,context:d}=e;const u=e=>(0,l.defaultValueValue)({v:t,key:e,device:o});if("on"===u("showToolbar"))return[];const p="relative"===u("elementPosition"),f=(0,s.getDynamicContentOption)({options:d.dynamicContent.config,type:n.DCTypes.richText}),m=(0,c.read)(u("hoverName"))??"none";return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,a.t)("Styling"),label:(0,a.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,a.t)("Basic"),icon:"nc-styling",position:10,options:[{id:"padding",type:"padding-dev",label:(0,a.t)("Padding"),position:50},{id:"margin",devices:"desktop",label:(0,a.t)("Margin"),type:"margin-dev",position:60},{id:"groupPosition",type:"group-dev",options:[{id:"elementPosition",label:(0,a.t)("Position"),type:"select-dev",choices:[{value:"relative",title:"None"},{value:"absolute",title:"Absolute"},{value:"fixed",title:"Fixed"}]},{id:"width",label:(0,a.t)("Width"),type:"slider-dev",disabled:p,config:{min:0,max:"px"===u("widthSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetXAlignment",label:(0,a.t)("Horizontal Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"offsetX",type:"slider-dev",disabled:p,config:{min:"px"===u("offsetXSuffix")?-1200:-100,max:"px"===u("offsetXSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetYAlignment",label:(0,a.t)("Vertical Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"top",icon:"nc-align-top"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"offsetY",type:"slider-dev",disabled:p,config:{min:-1200,max:1200,units:[{value:"px",title:"px"}]}}]}]},{id:"moreSettingsAdvanced",label:(0,a.t)("Advanced"),icon:"nc-cog",options:[{id:"showOnDesktop",label:(0,a.t)("Show on Desktop"),type:"switch-dev",position:10,closeTooltip:!0},{id:"zIndex",type:"slider-dev",position:20,label:(0,a.t)("Z-index"),config:{min:0,max:100}},{id:"cssID",label:(0,a.t)("CSS ID"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:f,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,a.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:f,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,a.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:f}]}]},{id:"padding",type:"padding-dev",label:(0,a.t)("Padding"),devices:"responsive",position:50},{id:"margin",devices:"responsive",label:(0,a.t)("Margin"),type:"margin-dev",position:60},{id:"groupPosition",type:"group-dev",devices:"responsive",options:[{id:"elementPosition",label:(0,a.t)("Position"),type:"select-dev",choices:[{value:"relative",title:"None"},{value:"absolute",title:"Absolute"},{value:"fixed",title:"Fixed"}]},{id:"width",label:(0,a.t)("Width"),type:"slider-dev",disabled:p,config:{min:0,max:"px"===u("widthSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetXAlignment",label:(0,a.t)("Horizontal Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"offsetX",type:"slider-dev",disabled:p,config:{min:"px"===u("offsetXSuffix")?-1200:-100,max:"px"===u("offsetXSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetYAlignment",label:(0,a.t)("Vertical Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"top",icon:"nc-align-top"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"offsetY",type:"slider-dev",disabled:p,config:{min:-1200,max:1200,units:[{value:"px",title:"px"}]}}]}]},{id:"effects",title:(0,a.t)("Effects"),label:(0,a.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,a.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]},{id:"tabHover",label:(0,a.t)("Hover"),options:[{id:"hover",type:"animation-dev",devices:"desktop",config:{types:i.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(m),delay:!1}}]}]}]}]}]}},48382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleWrapper:function(){return i},styleAnimation:function(){return n}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleDisplayFlex","cssStyleVisibleMode|||preview","cssStyleVisibleEditorDisplayNoneOrFlex|||editor","cssStyleZIndex","cssStyleCustomPosition","cssStyleCustomWidth","cssStyleWrapperFixedFlex","cssStyleOffset"],standart:["cssStylePaddingFourFields","cssStyleMargin","cssStyleFlexHorizontalAlign","cssStylePositionRelative","cssStyleWrapperContainerFlex","cssStyleWrapperBorderFlex"]},".brz &&:hover .brz-hover-animation":{standart:["cssStyleFlexHorizontalAlign"]},".brz &&:hover > *:not(.brz-ed-border__inner):not(.brz-ed-border__button)":{interval:["cssStyleVisibleMode|||editor"]}}})}function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},11097:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),i=o(57582);function n(e){let{v:t,device:o}=e;return[(0,i.toolbarShowOnResponsive)({v:t,device:o,state:"normal",devices:"responsive",position:1}),{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",title:(0,r.t)("Settings"),devices:"desktop",position:110,roles:["admin"],icon:"nc-cog"}]}},6035:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(64985),i=o(69321),n=o(57582);function a(e){let{v:t,device:o}=e;return"on"===("showToolbar",(0,i.defaultValueValue)({v:t,key:"showToolbar",device:o}))?[]:[(0,n.toolbarShowOnResponsive)({v:t,device:o,state:"normal",devices:"responsive",position:1}),{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"right"}]}]}},98862:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return $e},NotFoundComponent:function(){return He.NotFound}});const r=Ve(o(39553)),i=Ve(o(68872)),n=Ve(o(49542)),a=Ve(o(11384)),l=Ve(o(52024)),s=Ve(o(17607)),c=Ve(o(9365)),d=Ve(o(33450)),u=Ve(o(52048)),p=Ve(o(60251)),f=Ve(o(15865)),m=Ve(o(77763)),y=Ge(o(56188)),g=Ve(o(18497)),b=Ve(o(49370)),h=Ve(o(80357)),v=Ve(o(41089)),S=Ve(o(45370)),w=Ve(o(14129)),x=Ve(o(55589)),M=Ve(o(42585)),T=Ve(o(43001)),P=Ve(o(99198)),C=Ve(o(46667)),k=Ve(o(31850)),_=Ve(o(94874)),O=Ve(o(52644)),E=Ve(o(48453)),z=Ve(o(66937)),B=Ve(o(32364)),j=Ve(o(84010)),N=Ve(o(9117)),I=Ve(o(46380)),L=Ve(o(4127)),D=Ve(o(17878)),F=Ve(o(48179)),A=Ve(o(73006)),R=Ve(o(54376)),W=Ve(o(7557)),H=Ve(o(84157)),V=Ve(o(96363)),U=Ve(o(5085)),G=Ve(o(3968)),$=Ve(o(74956)),Q=Ve(o(20647)),Y=Ge(o(55394)),Z=Ve(o(74890)),K=Ve(o(28172)),q=Ve(o(60954)),X=Ve(o(70662)),J=Ve(o(69521)),ee=Ve(o(24284)),te=Ve(o(49953)),oe=Ve(o(64068)),re=Ve(o(51589)),ie=Ve(o(36148)),ne=Ve(o(16921)),ae=Ve(o(60546)),le=Ve(o(59300)),se=Ve(o(78257)),ce=Ve(o(75148)),de=Ve(o(93211)),ue=Ve(o(70180)),pe=Ve(o(5807)),fe=Ve(o(38535)),me=Ve(o(30344)),ye=Ve(o(38424)),ge=Ve(o(6965)),be=Ge(o(74207)),he=Ve(o(93814)),ve=Ve(o(33913)),Se=Ve(o(82598)),we=Ve(o(92343)),xe=Ve(o(79176)),Me=o(50737),Te=Ve(o(11880)),Pe=Ve(o(68793)),Ce=Ve(o(27195)),ke=Ve(o(7461)),_e=Ve(o(29214)),Oe=Ve(o(65411)),Ee=Ve(o(41119)),ze=Ve(o(38272)),Be=Ve(o(56482)),je=Ve(o(66344)),Ne=Ve(o(56860)),Ie=Ve(o(51915)),Le=Ve(o(16361)),De=Ve(o(8587)),Fe=Ve(o(16091)),Ae=Ve(o(36543)),Re=Ve(o(74722)),We=Ve(o(36669)),He=o(25739);function Ve(e){return e&&e.__esModule?e:{default:e}}function Ue(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(Ue=function(e){return e?o:t})(e)}function Ge(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=Ue(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const $e={Page:Z.default,PagePopup:K.default,PageStory:q.default,Section:se.default,SectionItem:ce.default,Story:we.default,StoryItem:xe.default,SectionHeader:ue.default,SectionHeaderItem:pe.default,SectionHeaderStickyItem:fe.default,SectionFooter:de.default,Row:le.default,Column:u.default,Form:C.default,FormFields:z.default,FormField:E.default,Form2:k.default,Form2Fields:O.default,Form2Field:_.default,Wrapper:We.default,ProtectedPage:re.default,Cloneable:d.default,RichText:ae.default,Audio:a.default,Video:Fe.default,VideoPlaylist:Ae.default,VideoPlaylistItem:Re.default,Icon:j.default,Image:I.default,Line:D.default,Spacer:ve.default,EmbedCode:g.default,Map:V.default,Button:l.default,Counter:m.default,SoundCloud:he.default,ProgressBar:oe.default,IconText:N.default,Countdown:p.default,Countdown2:f.default,Tabs:Be.default,Tab:je.default,Timeline:Ne.default,TimelineTab:Ie.default,Switcher:Te.default,SwitcherTab:Pe.default,Table:Ce.default,TableBody:_e.default,TableHead:Ee.default,TableAside:ke.default,TableRow:ze.default,TableCol:Oe.default,Accordion:r.default,AccordionItem:i.default,GlobalBlock:B.default,ImageGallery:L.default,SectionPopup:me.default,SectionPopup2:ye.default,Carousel:c.default,StarRating:Se.default,MenuSimple:Q.default,Login:F.default,LoginField:R.default,RegisterField:W.default,ForgotPasswordField:A.default,ResetPassword:ie.default,ResetPasswordField:ne.default,Menu:U.default,MenuItem:G.default,SectionMegaMenu:$.default,Facebook:b.default,FacebookButton:h.default,FacebookComments:v.default,FacebookEmbed:S.default,FacebookPage:x.default,FacebookGroup:w.default,Twitter:De.default,Lottie:H.default,StoryWrapper:Me.StoryWrapper,Shape:ge.default,Filters:M.default,FiltersItem:T.default,FiltersOption:P.default,Translation:Le.default,Calendly:s.default,Alert:n.default,PostTitle:ee.default,PostExcerpt:J.default,Posts:te.default,WPPostContent:X.default,...be,...y,...Y}},41239:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return k},NotFoundComponent:function(){return T.NotFoundComponent}});const r=o(24510),i=P(o(9515)),n=P(o(12692)),a=P(o(63651)),l=P(o(43081)),s=P(o(87210)),c=P(o(66479)),d=P(o(34340)),u=P(o(6534)),p=P(o(50879)),f=P(o(58224)),m=P(o(86799)),y=P(o(38102)),g=P(o(28891)),b=P(o(75371)),h=P(o(38170)),v=P(o(68676)),S=P(o(83003)),w=P(o(27754)),x=P(o(73412)),M=P(o(65878)),T=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=C(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(98862));function P(e){return e&&e.__esModule?e:{default:e}}function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(C=function(e){return e?o:t})(e)}const k={...T.default,...(0,r.hasSidebars)()?{WPSidebar:M.default}:{},WPCustomShortcode:S.default,WPPostNavigation:x.default,WPBreadcrumbs:v.default,WPPostInfo:w.default,Search:i.default,...(0,r.pluginActivated)("woocommerce")?{WOOProducts:y.default,WOOProductPage:m.default,WOOCategories:s.default,WOOPages:u.default,WOOExcerpt:c.default,WOOGallery:d.default,WOOAddToCart:n.default,WOOCart:l.default,WOOSku:b.default,WOOStock:h.default,WOOPrice:p.default,WOOAttributes:a.default,WOOProductMeta:f.default,WOORating:g.default}:{}}},5312:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Draggable",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(61452);function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const a=e=>{let{active:t,children:o,onChange:n,onStart:a,onEnd:l,xSuffix:s,ySuffix:c,getValue:d,getContainerSizes:u}=e;const{x:p,y:f}=d(),[m,y]=(0,r.useState)({x:p,y:f}),g=(0,r.useCallback)((e=>{let{deltaX:t,deltaY:o}=e;const{width:r,height:i}=u(),a="px"===s?t:100*t/r,l="px"===c?o:100*o/i;n({x:Math.round(m.x+a),y:Math.round(m.y+l)})}),[m,u,n,s,c]),b=(0,r.useCallback)((()=>{const{x:e,y:t}=d();m.x===e&&m.y===t||(a&&a({x:e,y:t}),y({x:e,y:t}))}),[d,a,m]),h=(0,r.useCallback)((()=>{const{x:e,y:t}=d();m.x===e&&m.y===t||l&&l({x:e,y:t})}),[d,l,m]);return r.default.createElement(i.Draggable,{active:t,exceptions:[".brz-ed-toolbar",".brz-ed-tooltip__content-portal",".brz-rich-text .brz-ed-content-editable-focus",".brz-ed-eyeDropper"],onDragStart:b,onDrag:g,onDragEnd:h},o)}},1621:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getContainerSizes",{enumerable:!0,get:function(){return a}});const r=o(69321),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(73904));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const a=(e,t,o,n,a)=>({width:"absolute"===(0,r.defaultValueValue)({key:"elementPosition",device:t,v:e})?i.read(o[`${t}WNoSpacing`])??0:n,height:a})},66005:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{blockTagFromStyle:function(){return i},getTagNameFromFontStyle:function(){return n}});const r=o(84728),i=e=>{switch(e){case"paragraph":return"p";case"heading1":return"h1";case"heading2":return"h2";case"heading3":return"h3";case"heading4":return"h4";case"heading5":return"h5";case"heading6":return"h6"}},n=e=>(0,r.is)(e)?{tagName:i(e)}:{}},26989:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"shouldRenderPopup",{enumerable:!0,get:function(){return o}});const o=(e,t)=>{const{popups:o,linkType:r,linkPopup:i,linkLightBox:n}=e,a="on"===n?"lightBox":r;return o.length>0&&"popup"===a&&""!==i&&o.reduce(((e,o)=>{let r=o;return"GlobalBlock"===r.type&&(r=t[r.value._id]),r&&e.push(r),e}),[]).length>0}},86022:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{WrapperComponent:function(){return T},Wrapper:function(){return P}});const r=S(o(60042)),i=x(o(27378)),n=o(10301),a=S(o(45771)),l=o(67439),s=o(79669),c=o(5312),d=o(97045),u=o(92213),p=o(94220),f=o(69321),m=x(o(71162)),y=o(94306),g=x(o(63300)),b=x(o(24119)),h=o(6804),v=o(39871);function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}const M=(0,h.uuid)(7);function T(e,t){let{children:o,className:h,component:S,attributes:w={},animationClass:x,renderContent:T=n.identity,v:P,vs:C,vd:k,componentId:_,id:O,onChange:E,meta:{sectionPopup:z,sectionPopup2:B},onClick:j,onDragStart:N,slide:I}=e;const L="absolute"===P.elementPosition||"fixed"===P.elementPosition,D=(0,r.default)(h,g.read(w?.className),L&&(0,p.css)(`${_}-${O}-${M}`,`${O}-${M}`,(0,v.style)(P,C,k)));if(L){const e=b.mRead(P.tabsState),n=(0,d.deviceModeSelector)((0,u.getStore)().getState()),p=t=>(0,f.defaultValueValue)({v:P,key:t,device:n,state:e}),g=e=>{let{x:t,y:o}=e;const r=b.mRead(P.tabsState),i=(0,d.deviceModeSelector)((0,u.getStore)().getState()),n=(e,t)=>({[(0,f.defaultValueKey)({key:e,device:i,state:r})]:t});E(m.setHOffset(n,t,m.setVOffset(n,o,{})))},h=()=>({width:s.DW,height:s.DH}),v=()=>{(0,l.hideToolbar)()};return i.default.createElement(c.Draggable,{hAlign:m.getHAlign(p)??"left",vAlign:m.getVAlign(p)??"top",xSuffix:m.getHUnit(p)??"px",ySuffix:m.getVUnit(p)??"px",getValue:()=>({x:m.getHOffset(p)??0,y:m.getVOffset(p)??0}),getContainerSizes:h,onStart:v,onChange:g},((e,n)=>i.default.createElement(a.default,{component:S??"div",componentProps:{...w,className:(0,r.default)(D,n),onClick:j},animationClass:x,ref:o=>{(0,y.attachRef)(o,e),(0,y.attachRef)(o,t)}},T(o))))}return i.default.createElement(a.default,{iterationCount:!1,component:S??"div",componentProps:{...w,className:D,onClick:j,onDragStart:N,slide:I},animationClass:x,ref:t},T(o))}const P=(0,i.forwardRef)(T)},39871:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i}});const r=o(94220);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleOffset"]}}})}},53002:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"withMigrations",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),i=l(o(33364)),n=o(81481),a=o(4645);function l(e){return e&&e.__esModule?e:{default:e}}function s(e,t,o){return class extends e{dbValueMigrated=void 0;state={loading:!1};constructor(e){super(e);const r=(0,a.read)(this.props.dbValue?._version)??1,i=(0,n.findMigrations)(t,r);i.length>0&&(o?.getValue?(this.state={loading:!0},o.getValue().then((e=>{this.dbValueMigrated={...(0,n.migrate)(i,this.props.dbValue,e),_version:i[i.length-1].version},this.setState((()=>({loading:!1})))})).catch((e=>{throw e}))):this.dbValueMigrated={...(0,n.migrate)(i,this.props.dbValue),_version:i[i.length-1].version})}getDBValue(){return this.dbValueMigrated??super.getDBValue()}handleValueChange(e,t){this.dbValueMigrated&&(this.dbValueMigrated=void 0),super.handleValueChange(e,t)}renderForEdit(e,t,o){return this.state.loading?r.default.createElement("div",{className:"brz-ed-portal__loading",style:{position:"relative",height:"80px"}},r.default.createElement(i.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})):super.renderForEdit(e,t,o)}}}},22546:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isWp:function(){return n.isWp},isCMS:function(){return n.isCMS},default:function(){return l}});const r=(i=o(33979))&&i.__esModule?i:{default:i};var i;const n=o(54639);let a={};const l={init(e){a=e},load(e){a=(0,r.default)(a,e)},get:e=>a[e],getAll:()=>a}},81263:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DCTypes",{enumerable:!0,get:function(){return o}}),function(e){e.image="image",e.link="link",e.richText="richText",e.reference="reference",e.multiReference="multiReference"}(o||(o={}))},13662:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isCollectionPage:function(){return o},isCustomerPage:function(){return r},isEcwidProduct:function(){return i},isEcwidCategory:function(){return n},isEcwidShop:function(){return a},isShopifyShop:function(){return l}});const o=e=>"collections"===e.provider,r=e=>"customers"===e.provider,i=e=>e&&"ecwid-product"===e.provider,n=e=>e&&"ecwid-product-category"===e.provider,a=e=>"ecwid"===e?.type,l=e=>"shopify"===e?.type},62762:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isCMS:function(){return n},isShopify:function(){return a},isCustomer:function(){return l},isCollection:function(){return s},isCloud:function(){return c},isEcwidProductPage:function(){return d},isEcwidCategoryPage:function(){return u},isCollectionPage:function(){return p},isShopifyPage:function(){return f},isCustomerPage:function(){return m}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=e=>"cms"===e.platform,a=e=>"shopify"===e.platform,l=e=>"customers"===e.page.provider,s=e=>"collections"===e.page.provider,c=e=>!1,d=e=>"__type"in e&&"ecwid-product"===e.__type,u=e=>"__type"in e&&"ecwid-product-category"===e.__type,p=e=>"collectionType"in e,f=e=>{const t=r.default.getAll();return c(t)&&a(t)&&!("rules"in e)},m=e=>"groups"in e},97724:(e,t)=>{"use strict";var o,r,i,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Mode:function(){return o},LeftSidebarOptionsIds:function(){return r},LeftSidebarPageSettingsOptionsIds:function(){return i},LeftSidebarMoreOptionsIds:function(){return n},ElementTypes:function(){return l},isElementTypes:function(){return a}}),function(e){e.page="page",e.single="single",e.product="product",e.external_popup="external_popup",e.internal_popup="internal_popup",e.external_story="external_story",e.internal_story="internal_story",e.template="template"}(o||(o={})),function(e){e.cms="cms",e.addElements="addElements",e.reorderBlock="reorderBlock",e.globalStyle="globalStyle",e.collaboration="collaboration",e.deviceMode="deviceMode",e.pageSettings="pageSettings",e.more="more"}(r||(r={})),function(e){e.membership="membership",e.language="language",e.template="template",e.featuredImage="featuredImage"}(i||(i={})),function(e){e.link="link",e.shortcuts="shortcuts"}(n||(n={}));const a=e=>Object.values(l).includes(e);var l;!function(e){e.Image="Image",e.Map="Map",e.Video="Video",e.ImageGallery="ImageGallery",e.Quantity="Quantity",e.ProductMetafield="ProductMetafield",e.BlogPostMeta="BlogPostMeta",e.Price="Price",e.Posts="Posts",e.ProductList="ProductList",e.CollectionList="CollectionList",e.BlogPostList="BlogPostList"}(l||(l={}))},39191:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isWp",{enumerable:!0,get:function(){return o}});const o=e=>!0},19057:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{SizeType:function(){return o},defaultCrop:function(){return r}}),function(e){e.custom="custom",e.original="original"}(o||(o={}));const r={iW:5e3,iH:"any"}},54639:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isWp:function(){return i.isWp},isCMS:function(){return r.isCMS},isCloud:function(){return r.isCloud}});const r=o(62762),i=o(39191)},93223:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{ShopifyTemplate:function(){return o},isShopifyTemplate:function(){return r}}),function(e){e.Product="shopify-product",e.Page="shopify-page",e.Collection="shopify-collection",e.Article="shopify-article"}(o||(o={}));const r=e=>Object.values(o).includes(e)},95664:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(34721),i={};let n,a={},l={};const s={registerComponent(e){i[e.componentId]=e},getComponents:()=>i,getComponent:e=>i[e]||null,registerNotFoundComponent(e){n=e},getNotFoundComponent(){if(!n)throw new Error("NotFoundComponent not registered");return n},registerShortcode(e){a=e},registerShopifyShortcode(e){l=e},getShortcodes:()=>(0,r.applyFilter)("getShortcodes",a),getShopifyShortcodes:()=>(0,r.applyFilter)("getShopifyShortcodes",l)}},93804:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"states",{enumerable:!0,get:function(){return l}});const r=(i=o(22546))&&i.__esModule?i:{default:i};var i;const n=o(16526),a=o(24119),l=(0,n.isStory)(r.default.getAll())?(0,a.states)().filter((e=>"hover"!==e)):(0,a.states)()},47075:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(i=o(10301))&&i.__esModule?i:{default:i};var i;const n=o(50343),a=r.default.extend({},n.EventEmitter.prototype,{off(e,t){this.removeListener(e,t)}});a.setMaxListeners(1/0);const l=a},58135:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(50343),i={};class n extends r.EventEmitter{addChangeListener(e,t){this.on(e,t)}removeChangeListener(e,t){this.removeListener(e,t)}get(e){return i[e]}set(e,t){i[e]=t,this.emit(e,t)}}const a=new n;a.setMaxListeners(1/0);const l=a},66080:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EcwidService",{enumerable:!0,get:function(){return y}});const r=o(34143),i=o(11717),n=o(10301),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,o&&o.set(e,r),r}(o(77983)),l=o(25699);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}let c=0,d=!1;const u=e=>new MutationObserver((()=>(e=>{if(d||c>=10)return!0;switch(e){case"myAccount":(()=>{const e=document.querySelector(".ec-store__account-page .ec-footer");e&&e.children.length>0&&((0,l.replaceFooterLink)(e,".footer__link--my-account","/shop/my-account"),(0,l.replaceFooterLink)(e,".footer__link--favorites","/my-account/favorites"),(0,l.replaceFooterLink)(e,".footer__link--track-order","/shop/track-orders"),(0,l.replaceFooterLink)(e,".footer__link--shopping-cart","/shop/cart"),d=!0)})();break;case"shoppingBag":(()=>{const e=document.querySelector(".ec-minicart .ec-minicart__body");if(e&&e.parentNode){const t=e.cloneNode(!0);e.parentNode.replaceChild(t,e),t&&(t.addEventListener("click",(e=>{window.location.replace("/shop/cart"),e.stopPropagation()})),d=!0)}})()}c++})(e))),p={redirect:{fromFooter:{"/shop/my-account":".footer__link--my-account","/shop/track-orders":".footer__link--track-order","/my-account/favorites":".footer__link--favorites","/shop/cart":".footer__link--shopping-cart"},fromContent:{"/shop/cart":".details-product-purchase__checkout","/my-account/thank-you":".ec-form .form-control--done"}}},f={"/shop/my-account":"/shop/my-account","/shop/track-orders":"/shop/track-orders","/my-account/favorites":"/my-account/favorites","/shop/cart":"/shop/cart"},m={"/shop/cart":"/shop/cart","/my-account/thank-you":"/my-account/thank-you"};class y{storeId;$load;$widgets;config;constructor(e,t){this.storeId=e,this.$load=new r.ReplaySubject,this.$widgets=new r.Subject,this.config={...p,...t},window.ec=window.ec||{},window.ec.config=window.ec.config||{},window.ec.config.storefrontUrls=window.ec.config.storefrontUrls||{},window.ec.config.storefrontUrls.cleanUrls=!0,window.ec.config.baseUrl="/",window.ec.storefront={...window.ec.storefront,...t},this.$load.pipe((0,i.withLatestFrom)(this.$widgets),(0,i.map)((e=>{let[,t]=e;return t}))).subscribe((e=>Ecwid.openPage(e.type,e.args)))}loadScripts(e){if(document.getElementById("ecwid-script"))"function"==typeof ecwid_onBodyDone&&ecwid_onBodyDone();else{window.ecwid_script_defer=!0,window.ecwid_dynamic_widgets=!0;const t=document.createElement("script");t.id="ecwid-script",t.src=`https://app.ecwid.com/script.js?${this.storeId}&data_platform=code`,t.type="text/javascript",t.onload=()=>{Ecwid.OnAPILoaded.add((()=>{this.$load.next()})),Ecwid.OnPageLoaded.add((()=>{"function"==typeof this.config.onPageLoaded&&this.config.onPageLoaded(),this.config.redirect&&e&&this.changeRedirectLinks(e),Ecwid&&Ecwid.resizeProductBrowser&&Ecwid.resizeProductBrowser(),window&&window.pathBeforeEcwidChange&&window.location.pathname!==window.pathBeforeEcwidChange&&this.config.restoreUrl&&window.history.pushState({},"",window.pathBeforeEcwidChange)}))},document.body.append(t)}}static instances=new Map;static init(e,t){if(y.instances.has(e))return y.instances.get(e);const o=new y(e,t);return y.instances.set(e,o),o}openPage(e,t){this.addWidget(e),this.loadScripts(t),this.$widgets.next(e)}setId(e){const t=e.id||(0,n.uniqueId)("ecwid-widget-");return e.id||(e.id=t),e}addWidget(e){const t=[(0,l.convertEcwidWidget)(e)];"undefined"!=typeof Ecwid&&Ecwid.destroy&&Ecwid.destroy(),window._xnext_initialization_scripts=t}products(e){const t=this.setId(e);this.openPage(a.products(t.id,0),e)}product(e,t){const o=this.setId(t);this.openPage(a.product(o.id,e),t)}cart(e){window.pathBeforeEcwidChange=window.location.pathname;const t=this.setId(e);this.openPage(a.cart(t.id),e)}shoppingCart(e){this.loadScripts(e),this.$load.subscribe((()=>{Ecwid.init(),e&&u("shoppingBag").observe(e,{attributes:!0,subtree:!0})}))}myAccount(e){window.pathBeforeEcwidChange=window.location.pathname;const t=this.setId(e);this.openPage(a.myAccount(t.id),e),u("myAccount").observe(e,{attributes:!0,subtree:!0})}updateConfig(e){this.config=e,window.ec=window.ec??{},window.ec.storefront={...window.ec?.storefront,...e},Ecwid.refreshConfig?.()}changeRedirectLinks(e){this.config.redirect&&(this.config.redirect.fromContent&&Object.entries(this.config.redirect.fromContent).forEach((t=>{let[o,r]=t;(0,l.replaceContentLink)(e,r,m[o])})),this.config.redirect.fromFooter&&Object.entries(this.config.redirect.fromFooter).forEach((t=>{let[o,r]=t;(0,l.replaceFooterLink)(e,r,f[o])})))}getConfig(){return this.config}}},10227:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"eq",{enumerable:!0,get:function(){return o}});const o=(e,t)=>{for(const o in e)if(e[o]!==t[o])return!1;return!0}},77983:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{products:function(){return o},product:function(){return r},cart:function(){return i},myAccount:function(){return n}});const o=(e,t)=>({id:e,args:{categoryId:t},type:"CATEGORY"}),r=(e,t)=>({id:e,type:"product",args:{id:t}}),i=e=>({id:e,type:"cart",args:{}}),n=e=>({id:e,args:{},type:"account"})},25699:(e,t)=>{"use strict";function o(e){switch(e.type){case"cart":case"account":return{id:e.id,widgetType:"ProductBrowser",arg:[`id=${e.id}`]};case"product":return{id:e.id,widgetType:"ProductBrowser",arg:[`id=${e.id}`,`productId=${e.args.id}`]};case"CATEGORY":return{id:e.id,widgetType:"ProductBrowser",arg:[`id=${e.id}`,`categoryId=${e.args.categoryId}`]}}}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{convertEcwidWidget:function(){return o},replaceFooterLink:function(){return r},replaceContentLink:function(){return i}});const r=(e,t,o)=>{const r=e.querySelector(t);if(r&&r.parentNode){const e=r.parentNode,i=e.cloneNode(!0);if(e.parentNode&&e.parentNode.replaceChild(i,e),i){const e=i.querySelector(t);e&&(e.href=o)}}},i=(e,t,o)=>{const r=e.querySelector(t);if(r&&r.parentNode){const i=r.cloneNode(!0);r.parentNode.replaceChild(i,r);const n=e.querySelector(`${t} > button`);n&&n.addEventListener("click",(e=>{window.location.replace(o),e.stopPropagation()}))}}},76664:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e){var t="countdown";function o(t){this.settings=e.extend({now:(new Date).getTime()},t),this._startTime=(new Date).getTime(),this.start(),this.tick()}e.extend(o.prototype,{start:function(){this.intervalId=setInterval(this.tick.bind(this),this.settings.tickInterval)},update:function(t){this.settings=e.extend({},this.settings,t),this.intervalId||this.start(),this.tick()},tick:function(){var e=this.settings.now+((new Date).getTime()-this._startTime),t=Number(this.settings.endDate)+Number(this.settings.timeZoneOffset),o=this.settings.language,r=t-e,i=r>0,n=i?Math.floor(r/864e5):0,a=i?Math.floor(r%864e5/36e5):0,l=i?Math.floor(r%864e5/6e4)%60:0,s=i?Math.floor(r%864e5/1e3)%60%60:0;this.settings.onTick({days:{title:o.whichLabels(n)[3],amount:n},hours:{title:o.whichLabels(a)[4],amount:a},minutes:{title:o.whichLabels(l)[5],amount:l},seconds:{title:o.whichLabels(s)[6],amount:s}}),i||this.destroy()},destroy:function(){clearInterval(this.intervalId),this.intervalId=null}}),e.fn[t]=function(r){var i="plugin_"+t;return void 0===r||"object"==typeof r?this.each((function(){e.data(this,i)?e.data(this,i).update(r):e.data(this,i,new o(r))})):"string"==typeof r&&"_"!==r[0]&&"init"!==r?this.each((function(){var t=e.data(this,i);t instanceof o&&"function"==typeof t[r]&&t[r].apply(t,Array.prototype.slice.call(arguments,1))})):void 0}}(((r=o(65311))&&r.__esModule?r:{default:r}).default,window,document)},92260:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e){var t="countdown2";function o(t){this.settings=e.extend({now:(new Date).getTime()},t),this._startTime=(new Date).getTime(),this.start(),this.tick()}e.extend(o.prototype,{start:function(){this.intervalId=setInterval(this.tick.bind(this),this.settings.tickInterval)},update:function(t){this.settings=e.extend({},this.settings,t),this.intervalId||this.start(),this.tick()},tick:function(){var e=this.settings.now+((new Date).getTime()-this._startTime),t=Number(this.settings.endDate)+Number(this.settings.timeZoneOffset)-e,o=t>0,r=o?Math.floor(t/864e5):0,i=o?Math.floor(t%864e5/36e5):0,n=o?Math.floor(t%864e5/6e4)%60:0,a=o?Math.floor(t%864e5/1e3)%60%60:0;this.settings.onTick({days:r,hours:i,minutes:n,seconds:a}),o||this.destroy()},destroy:function(){clearInterval(this.intervalId),this.intervalId=null}}),e.fn[t]=function(r){var i="plugin_"+t;return void 0===r||"object"==typeof r?this.each((function(){e.data(this,i)?e.data(this,i).update(r):e.data(this,i,new o(r))})):"string"==typeof r&&"_"!==r[0]&&"init"!==r?this.each((function(){var t=e.data(this,i);t instanceof o&&"function"==typeof t[r]&&t[r].apply(t,Array.prototype.slice.call(arguments,1))})):void 0}}(((r=o(65311))&&r.__esModule?r:{default:r}).default,window,document)},10744:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{HYDRATE:function(){return o},EDITOR_RENDERED:function(){return r},UPDATE_BLOCKS:function(){return i},REMOVE_BLOCK:function(){return n},REMOVE_BLOCKS:function(){return a},REORDER_BLOCKS:function(){return l},MAKE_NORMAL_TO_GLOBAL_BLOCK:function(){return s},MAKE_POPUP_TO_GLOBAL_BLOCK:function(){return c},MAKE_GLOBAL_BLOCK_TO_POPUP:function(){return d},UPDATE_GLOBAL_BLOCK:function(){return u},DELETE_GLOBAL_BLOCK:function(){return p},CREATE_RULES:function(){return f},UPDATE_POPUP_RULES:function(){return m},UPDATE_UI:function(){return y},COPY_ELEMENT:function(){return g},UPDATE_CURRENT_STYLE_ID:function(){return b},UPDATE_CURRENT_STYLE:function(){return h},UPDATE_SCREENSHOT:function(){return v},UPDATE_GB_RULES:function(){return S},UPDATE_TRIGGERS:function(){return w},MAKE_GLOBAL_TO_NORMAL_BLOCK:function(){return x},ADD_BLOCK:function(){return M},UPDATE_ERROR:function(){return T},UPDATE_AUTHORIZATION:function(){return P},hydrate:function(){return C},editorRendered:function(){return k},updateCurrentStyleId:function(){return _},updateCurrentStyle:function(){return O},updatePopupRules:function(){return E},updateCopiedElement:function(){return z},updateTriggers:function(){return B},updateScreenshot:function(){return j},updateError:function(){return N}});const o="HYDRATE",r="EDITOR_RENDERED",i="UPDATE_BLOCKS",n="REMOVE_BLOCK",a="REMOVE_BLOCKS",l="REORDER_BLOCKS",s="MAKE_NORMAL_TO_GLOBAL_BLOCK",c="MAKE_POPUP_TO_GLOBAL_BLOCK",d="MAKE_GLOBAL_BLOCK_TO_POPUP",u="UPDATE_GLOBAL_BLOCK",p="DELETE_GLOBAL_BLOCK",f="CREATE_RULES",m="UPDATE_POPUP_RULES",y="UPDATE_UI",g="COPY_ELEMENT",b="UPDATE_CURRENT_STYLE_ID",h="UPDATE_CURRENT_STYLE",v="UPDATE_SCREENSHOT",S="UPDATE_GB_RULES",w="UPDATE_TRIGGERS",x="MAKE_GLOBAL_TO_NORMAL_BLOCK",M="ADD_BLOCK",T="UPDATE_ERROR",P="UPDATE_AUTHORIZATION";function C(e){let{project:t,projectStatus:r,fonts:i,page:n,globalBlocks:a,blocksThumbnailSizes:l,authorized:s,syncAllowed:c}=e;return{type:o,payload:{project:t,projectStatus:r,fonts:i,page:n,globalBlocks:a,blocksThumbnailSizes:l,authorized:s,syncAllowed:c}}}function k(){return{type:r}}function _(e){return{type:b,payload:e}}function O(e){return{type:h,payload:e}}function E(e){let{data:t,meta:o}=e;return{type:m,payload:t,meta:o}}function z(e){return{type:g,value:e}}function B(e,t){return{type:w,payload:{data:e},meta:t}}function j(e){let{blockId:t,data:o,meta:r}=e;return{type:v,payload:{blockId:t,data:o},meta:r}}function N(e){return{type:T,payload:e}}},74215:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{UPDATE_DISABLED_ELEMENTS:function(){return c},UPDATE_CURRENT_KIT_ID:function(){return d},ADD_FONTS:function(){return u},DELETE_FONTS:function(){return p},UPDATE_DEFAULT_FONT:function(){return f},ADD_GLOBAL_BLOCK:function(){return m},IMPORT_TEMPLATE:function(){return y},IMPORT_KIT:function(){return g},IMPORT_STORY:function(){return b},PUBLISH:function(){return h},FETCH_PAGE_SUCCESS:function(){return v},UPDATE_EXTRA_FONT_STYLES:function(){return S},redo:function(){return s.redo},undo:function(){return s.undo},makeNormalToGlobalBlock:function(){return w},makeGlobalToNormalBlock:function(){return x},makePopupToGlobalBlock:function(){return M},makeGlobalBlockToPopup:function(){return T},updateGlobalBlock:function(){return P},updateCurrentKitId:function(){return C},updateDisabledElements:function(){return k},addFonts:function(){return _},deleteFont:function(){return O},updateDefaultFont:function(){return E},updateExtraFontStyles:function(){return z},updateUI:function(){return B},updateStoreWasChanged:function(){return j},updateBlocks:function(){return N},fetchPageSuccess:function(){return I},updatePageStatus:function(){return L},updatePageLayout:function(){return D},addBlock:function(){return F},addGlobalBlock:function(){return A},deleteGlobalBlock:function(){return R},updateGBRules:function(){return W},removeBlock:function(){return H},removeBlocks:function(){return V},reorderBlocks:function(){return U},importStory:function(){return G},importTemplate:function(){return $},importKit:function(){return Q},setDeviceMode:function(){return Y},updateAuthorization:function(){return Z},updateSyncAllowed:function(){return K},updatePageTitle:function(){return q}});const r=o(70634),i=(n=o(10301))&&n.__esModule?n:{default:n};var n;const a=o(97045),l=o(6804),s=o(2460),c="UPDATE_DISABLED_ELEMENTS",d="UPDATE_CURRENT_KIT_ID",u="ADD_FONTS",p="DELETE_FONTS",f="UPDATE_DEFAULT_FONT",m="ADD_GLOBAL_BLOCK",y="IMPORT_TEMPLATE",g="IMPORT_KIT",b="IMPORT_STORY",h="PUBLISH",v="FETCH_PAGE_SUCCESS",S="UPDATE_EXTRA_FONT_STYLES";function w(e){return{type:"MAKE_NORMAL_TO_GLOBAL_BLOCK",payload:e}}function x(e){let{fromBlockId:t,block:o}=e;return{type:"MAKE_GLOBAL_TO_NORMAL_BLOCK",payload:{fromBlockId:t,block:o}}}function M(e){return{type:"MAKE_POPUP_TO_GLOBAL_BLOCK",payload:e}}function T(e){let{fromBlockId:t,parentId:o,block:r}=e;return{type:"MAKE_GLOBAL_BLOCK_TO_POPUP",payload:{fromBlockId:t,parentId:o,block:r}}}function P(e){let{id:t,data:o,meta:r}=e;return{type:"UPDATE_GLOBAL_BLOCK",payload:{id:t,data:o},meta:{is_autosave:1,...r}}}const C=e=>({type:"UPDATE_CURRENT_KIT_ID",payload:e}),k=e=>({type:"UPDATE_DISABLED_ELEMENTS",payload:e}),_=e=>(t,o)=>{const n=(0,a.fontsSelector)(o()),s=e.reduce(((e,t)=>{const{type:o,fonts:r}=t,a=n[o]?.data||[],[s,c]=i.default.partition(r,(e=>Object.prototype.hasOwnProperty.call(e,"deleted"))),d=c.map((e=>({...e,brizyId:(0,l.uuid)()})));return{...e,[o]:{data:a.map((e=>s.find((t=>{let{brizyId:o}=t;return e.brizyId===o}))||e)).concat(d)}}}),{});return t({type:"ADD_FONTS",payload:(0,r.mergeDeep)(n,s)})},O=e=>(t,o)=>{const{type:i,fonts:n}=e,l=(0,a.fontsSelector)(o()),s={[i]:{data:(l[i]&&l[i]?.data||[]).map((e=>n.some((t=>{let{brizyId:o}=t;return o===e.brizyId}))?{...e,deleted:!0}:e))}};return t({type:"DELETE_FONTS",payload:(0,r.mergeDeep)(l,s)})},E=e=>({type:"UPDATE_DEFAULT_FONT",payload:e}),z=e=>({type:"UPDATE_EXTRA_FONT_STYLES",payload:e});function B(e,t){return{type:"UPDATE_UI",key:e,value:t}}const j=e=>({type:"STORE_WAS_CHANGED",payload:e});function N(e){let{blocks:t,meta:o={}}=e;return{type:"UPDATE_BLOCKS",payload:{blocks:t},meta:{is_autosave:1,...o}}}const I=()=>({type:v}),L=e=>t=>new Promise(((o,r)=>{t({type:"PUBLISH",payload:{status:e},meta:{onSuccess:o,onError:r}})})),D=e=>({type:"UPDATE_PAGE_LAYOUT",payload:{layout:e}});function F(e){return{type:"ADD_BLOCK",payload:e,meta:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{insertIndex:0}}}function A(e){return{type:"ADD_GLOBAL_BLOCK",payload:e,meta:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{insertIndex:0}}}function R(e){let{id:t}=e;return{type:"DELETE_GLOBAL_BLOCK",payload:{id:t}}}function W(e){let{data:t,meta:o}=e;return{type:"UPDATE_GB_RULES",payload:t,meta:o}}function H(e){let{index:t,id:o}=e;return{type:"REMOVE_BLOCK",payload:{index:t,id:o}}}function V(){return{type:"REMOVE_BLOCKS"}}function U(e){return{type:"REORDER_BLOCKS",payload:e}}function G(e){return{type:b,payload:e,meta:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{insertIndex:0}}}function $(e){return{meta:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{insertIndex:0},type:"IMPORT_TEMPLATE",payload:e}}const Q=e=>({type:"IMPORT_KIT",payload:e});function Y(e){return B("deviceMode",e)}function Z(e){return{type:"UPDATE_AUTHORIZATION",payload:e}}function K(e){return{type:"UPDATE_SYNC_ALLOWED",payload:e}}function q(e){return{type:"UPDATE_PAGE_TITLE",payload:e}}},2460:(e,t)=>{"use strict";function o(){return{type:"UNDO"}}function r(){return{type:"REDO"}}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{undo:function(){return o},redo:function(){return r}})},45896:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{createHistorySnapshot:function(){return a},addHistoryDataToState:function(){return l},isHistoryEnhancedState:function(){return s},historyReducerEnhancer:function(){return c}});const r=o(35188),i=o(92636),n=o(90186);function a(e,t){return t.reduce(((t,o)=>(t[o]=e[o],t)),{})}function l(e,t){return{...e,history:{currSnapshot:t.getCurrentSnapshot(),prevSnapshot:t.getPreviousSnapshot(),canUndo:t.canUndo(),canRedo:t.canRedo()}}}function s(e){return"object"==typeof e.history&&null!==e.history&&(0,i.hasProps)(["currSnapshot","prevSnapshot","canUndo","canRedo"],e.history)}function c(e,t){const o=new n.History;return function(i,c){switch(c.type){case n.UNDO:case n.REDO:{const e=c.type===n.UNDO?o.canUndo():o.canRedo(),t=c.type===n.UNDO?o.undo:o.redo;return e?(t.call(o),l({...i,...o.getCurrentSnapshot(),storeWasChanged:r.StoreChanged.changed},o)):s(i)?i:l({...i,...o.getCurrentSnapshot(),storeWasChanged:r.StoreChanged.changed},o)}default:{const r=e(i,c);if(!c.type.includes("@@redux/INIT")){t.onBeforeUpdate&&t.onBeforeUpdate(i,c,o);const e=a(r,t.keysToTrack);o.update(e,{replacePresent:Boolean(c?.meta?.historyReplacePresent)})}return l(r,o)}}}}},86329:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"historySelector",{enumerable:!0,get:function(){return o}});const o=e=>e.history},90186:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{UNDO:function(){return o},REDO:function(){return r},History:function(){return i}});const o="UNDO",r="REDO";class i{snapshots=[];config={maxSize:20,collapseFrequency:2e3};currentIndex=-1;previousIndex=-1;lastSnapshotTimestamp=0;canUndo_=!1;canRedo_=!1;constructor(e){e&&(this.config=e),this.snapshots=new Array(this.config.maxSize).fill(null)}getSnapshots(){return this.snapshots}getCurrentSnapshot(){return this.snapshots[this.currentIndex]??null}getPreviousSnapshot(){return this.snapshots[this.previousIndex]??null}getSnapshot(e){if(e>0){const t=e-1;return this.snapshots[t]??null}{const t=this.snapshots.filter((e=>null!==e)).length+e;return this.snapshots[t]??null}}update(e,t){if(Object.keys(e).some((t=>e[t]!==this.snapshots[this.currentIndex]?.[t]))){const o=e,r=Date.now();if(t?.replacePresent)this.snapshots[this.currentIndex]=o;else{if(this.snapshots[this.currentIndex+1]&&null!==this.snapshots[this.currentIndex+1]){this.previousIndex=this.currentIndex,this.currentIndex++,this.snapshots[this.currentIndex]=o;for(let e=this.currentIndex+1;e<=this.snapshots.length-1;e++)this.snapshots[e]=null}else if(r-this.lastSnapshotTimestamp>this.config.collapseFrequency)if(this.currentIndex===this.snapshots.length-1){for(let e=0;e<=this.snapshots.length-2;e++)this.snapshots[e]=this.snapshots[e+1];this.snapshots[this.snapshots.length-1]=o}else this.previousIndex=this.currentIndex,this.currentIndex++,this.snapshots[this.currentIndex]=o;else this.snapshots[this.currentIndex]=o;this.updateFlags(),this.lastSnapshotTimestamp=r}}}replaceSnapshots(e){if(e.length!==this.snapshots.length)throw new Error("History. snapshots must be of same lengths");for(let t=0;t0,this.canRedo_=Boolean(this.snapshots[this.currentIndex+1]&&null!==this.snapshots[this.currentIndex+1])}}},21391:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=b(o(13556)),i=b(o(10301)),n=b(o(22546)),a=o(35188),l=o(64187),s=o(49627),c=o(64985),d=o(16526),u=o(10744),p=o(74215),f=o(86329),m=o(90186),y=o(97045),g=o(54985);function b(e){return e&&e.__esModule?e:{default:e}}const h=e=>t=>{const o=S.bind(null,e.dispatch);return a=>{const c=e.getState();t(a);const b=e.getState();!function(e){let{action:t,state:o,oldState:r,apiHandler:a}=e;if(t.type===p.PUBLISH){const{onSuccess:e=i.default.noop,onError:l=i.default.noop}=t.meta,s={is_autosave:0},c=(0,y.projectSelector)(r),u=(0,y.projectSelector)(o),p=(0,y.pageSelector)(r),f=(0,y.pageSelector)(o),m=[],b=n.default.getAll();if(!(0,d.isStory)(b)){const e=(0,y.changedGBIdsSelector)(o),t=(0,y.globalBlocksAssembledSelector)(o);g.debouncedApiUpdatePage.cancel(),g.debouncedApiAutoSave.cancel(),g.debouncedApiPublish.cancel();const r=Object.entries(t).reduce(((t,o)=>{let[r,i]=o;g.debouncedApiUpdateGlobalBlock.cancel(r);const{data:n,...a}=i;return t[r]=e.includes(r)?i:a,t}),{});m.push((0,g.apiUpdateGlobalBlocks)(r,s))}u!==c&&b.ui?.publish?.handler&&m.push((0,g.apiPublish)({projectData:u,is_autosave:s.is_autosave},b)),f!==p&&m.push((0,g.apiUpdatePage)(f,s)),a(Promise.all(m),e,l)}}({action:a,state:b,oldState:c,apiHandler:o}),function(e){let{action:t,state:o,oldState:a,apiHandler:s}=e;const c=n.default.getAll();switch(t.type){case u.UPDATE_CURRENT_STYLE_ID:case u.UPDATE_CURRENT_STYLE:case p.UPDATE_EXTRA_FONT_STYLES:{const e=(0,y.projectAssembled)(o);(0,g.debouncedApiAutoSave)({projectData:e},c);break}case p.IMPORT_KIT:case p.UPDATE_CURRENT_KIT_ID:case p.UPDATE_DISABLED_ELEMENTS:{const{onSuccess:e=i.default.noop,onError:r=i.default.noop}=t.meta||{},n=(0,y.projectSelector)(o);g.debouncedApiAutoSave.cancel(),s((0,g.apiOnChange)({projectData:n},c),e,r);break}case p.IMPORT_STORY:case p.IMPORT_TEMPLATE:{const{onSuccess:e=i.default.noop,onError:n=i.default.noop}=t.meta||{},l=(0,y.fontsSelector)(a),d=(0,y.fontsSelector)(o),u=(0,y.stylesSelector)(a),p=(0,y.stylesSelector)(o);if(l!==d||u!==p){const t=(0,r.default)((0,y.projectSelector)(o),(e=>{e.data.fonts=d,e.data.styles=p}));g.debouncedApiAutoSave.cancel(),s((0,g.apiOnChange)({projectData:t},c),e,n)}break}case p.ADD_FONTS:case p.DELETE_FONTS:{const e=(0,y.fontsSelector)(o),{onSuccess:n=i.default.noop,onError:a=i.default.noop}=t.meta||{},d=(0,r.default)((0,y.projectSelector)(o),(t=>{t.data.fonts=e}));g.debouncedApiAutoSave.cancel(),s((0,l.onChange)({projectData:d},c),n,a);break}case p.UPDATE_DEFAULT_FONT:{const e=(0,y.defaultFontSelector)(o),{onSuccess:n=i.default.noop,onError:a=i.default.noop}=t.meta||{},l=(0,r.default)((0,y.projectSelector)(o),(t=>{t.data.font=e}));g.debouncedApiAutoSave.cancel(),s((0,g.apiOnChange)({projectData:l},c),n,a);break}case m.UNDO:case m.REDO:{const{currSnapshot:e,prevSnapshot:t}=(0,f.historySelector)(o),r=e?.currentStyleId,i=t?.currentStyleId,n=e?.currentStyle,a=t?.currentStyle,l=e?.extraFontStyles,s=t?.extraFontStyles;if(r!==i||n!==a||l!==s){const e=(0,y.projectAssembled)(o);(0,g.debouncedApiAutoSave)({projectData:e},c)}}}}({action:a,state:b,oldState:c,apiHandler:o}),function(e){let{action:t,state:o}=e;switch(t.type){case u.MAKE_NORMAL_TO_GLOBAL_BLOCK:case u.MAKE_GLOBAL_TO_NORMAL_BLOCK:case u.REORDER_BLOCKS:case u.UPDATE_BLOCKS:case u.ADD_BLOCK:case p.ADD_GLOBAL_BLOCK:case u.REMOVE_BLOCK:{const e=(0,r.default)((0,y.pageSelector)(o),(e=>{e.data.items=(0,y.pageBlocksRawSelector)(o)}));(0,g.debouncedApiUpdatePage)(e,t.meta);break}case u.UPDATE_POPUP_RULES:{const{syncSuccess:e=i.default.noop,syncFail:r=i.default.noop}=t.meta||{},n={...o.page,rules:t.payload.rules};(0,g.apiUpdatePopupRules)(n,t.meta).then(e).catch(r);break}case u.UPDATE_TRIGGERS:{const{page:e}=o,{syncSuccess:r=i.default.noop,syncFail:n=i.default.noop}=t.meta||{},a={is_autosave:0};(0,g.apiUpdatePage)(e,a).then(r).catch(n);break}case m.UNDO:case m.REDO:}}({action:a,state:b,apiHandler:o}),function(e){let{action:t,state:o}=e;if(t.type===p.ADD_GLOBAL_BLOCK){const{_id:e}=t.payload.block.value,r=(0,y.globalBlocksSelector)(o)[e];g.debouncedApiUpdateGlobalBlock.set(e,e,r,t.meta)}else if(t.type===u.UPDATE_GLOBAL_BLOCK||t.type===u.REMOVE_BLOCK){const{id:e}=t.payload,r=(0,y.globalBlocksAssembledSelector)(o)[e];r&&g.debouncedApiUpdateGlobalBlock.set(e,e,r,t.meta)}else if(t.type===u.UPDATE_GB_RULES){const{id:e}=t.payload,{syncSuccess:r=i.default.noop,syncFail:n=i.default.noop}=t.meta||{},a={is_autosave:0},l=(0,y.globalBlocksSelector)(o)[e];(0,g.apiUpdateGlobalBlock)(e,l,a).then(r).catch(n)}if(t.type===u.MAKE_GLOBAL_TO_NORMAL_BLOCK){const{fromBlockId:e}=t.payload,r=(0,y.globalBlocksAssembledSelector)(o)[e];g.debouncedApiUpdateGlobalBlock.set(e,e,r,t.meta)}else if(t.type===u.DELETE_GLOBAL_BLOCK){const{id:e}=t.payload,r=(0,y.globalBlocksSelector)(o)[e],i={is_autosave:0};g.debouncedApiUpdateGlobalBlock.set(e,e,r,i)}else t.type===m.UNDO||(t.type,m.REDO)}({action:a,state:b,apiHandler:o}),function(e){let{action:t,state:o,apiHandler:r}=e;if(t.type===u.UPDATE_ERROR||t.type===u.HYDRATE){const e=(0,y.errorSelector)(o);(!e||e.code!==s.PROJECT_LOCKED_ERROR)&&v(r)}}({action:a,state:b,apiHandler:o})}},v=i.default.once((e=>{const{heartBeatInterval:t}=n.default.get("project");e((0,g.pollingSendHeartBeat)(t))}));function S(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.default.noop,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.default.noop;return t.then((t=>{e((0,p.updateStoreWasChanged)(a.StoreChanged.unchanged)),o(t)})).catch((t=>{t&&t.heartBeat?e((0,u.updateError)({code:s.HEART_BEAT_ERROR,data:t.data})):(e((0,u.updateError)({code:s.PROJECT_DATA_VERSION_ERROR,data:(0,c.t)("This page needs a refresh. You’ve probably updated this page (or another page) in a different tab or browser.")})),r(t))}))}},54985:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{apiPublish:function(){return a.publish},apiAutoSave:function(){return a.autoSave},apiOnChange:function(){return a.onChange},apiUpdatePage:function(){return s},apiCreateGlobalBlock:function(){return a.createGlobalBlock},apiUpdateGlobalBlock:function(){return a.updateGlobalBlock},apiUpdateGlobalBlocks:function(){return a.updateGlobalBlocks},apiCreateSavedBlock:function(){return a.createSavedBlock},apiDeleteSavedBlock:function(){return a.deleteSavedBlock},apiUpdatePopupRules:function(){return a.updatePopupRules},apiSendHeartBeat:function(){return a.sendHeartBeat},debouncedApiAutoSave:function(){return d},debouncedApiPublish:function(){return u},debouncedApiUpdatePage:function(){return p},debouncedApiUpdateGlobalBlock:function(){return f},pollingSendHeartBeat:function(){return m}});const r=l(o(60138)),i=l(o(10301)),n=l(o(22546)),a=o(64187);function l(e){return e&&e.__esModule?e:{default:e}}const s=(0,o(46479).isCustomerPage)(n.default.getAll())?a.updateCustomerPage:a.updatePage,c=2e3,d=i.default.debounce(a.autoSave,c),u=i.default.debounce(a.publish,c),p=i.default.debounce(s,c),f=new class{constructor(e,t){var o=this;this.fn=e,this.wait=t,this.cancelId=null,this._debounce=(0,r.default)((function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;ie})}cancel=e=>{this.cancelId=e};async set(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r{if(!t){t=!0;const o=()=>{setTimeout((()=>{(0,a.sendHeartBeat)().then((e=>{!0===e?.locked?r({heartBeat:!0,data:e}):o()})).catch(o)}),e)};o()}}))}},82942:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorMiddleware",{enumerable:!0,get:function(){return n}});const r=o(97045),i=o(49627),n=e=>t=>o=>{const n=(0,r.errorSelector)(e.getState());n&&i.IRREPARABLE_ERRORS.includes(n.code)||t(o)}},73656:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{api:function(){return r.default},sideEffects:function(){return i.default},screenshots:function(){return n.default},error:function(){return a.errorMiddleware}});const r=l(o(21391)),i=l(o(31629)),n=l(o(42232)),a=o(82942);function l(e){return e&&e.__esModule?e:{default:e}}},42232:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=(i=o(10301))&&i.__esModule?i:{default:i};var i;const n=o(70634),a=o(92636),l=o(64187),s=o(10744),c=o(74215),d=o(90186),u=o(97045),p=o(21486),f=o(56675),m=o(16526),y=(0,f.makeTaskQueue)({interval:2e3}),g=e=>e.reduce(((e,t)=>(e[t.value._id]=t,e)),{}),b=(e,t)=>Boolean(g((0,u.pageBlocksSelector)(t.getState()))[e]),h=e=>"desktop"===(0,u.deviceModeSelector)(e.getState()),v=e=>t=>o=>{const r=e.getState();if(t(o),o.type===s.UPDATE_UI&&"deviceMode"===o.key&&("desktop"===o.value?y.start():y.stop()),o.type!==s.EDITOR_RENDERED&&o.type!==s.UPDATE_CURRENT_STYLE_ID&&o.type!==s.UPDATE_CURRENT_STYLE&&o.type!==c.UPDATE_EXTRA_FONT_STYLES&&o.type!==c.IMPORT_TEMPLATE||S(e,t),h(e)&&(o.type===s.UPDATE_BLOCKS||o.type===s.ADD_BLOCK||o.type===c.ADD_GLOBAL_BLOCK||o.type===s.UPDATE_GLOBAL_BLOCK||o.type===d.UNDO||o.type===d.REDO)){let i;o.meta&&(i={popup:o.meta.SectionPopup||o.meta.SectionPopup2,sourceBlockId:o.meta.sourceBlockId}),w(r,e,t,i)}},S=r.default.debounce((function(e,t){const o={page:new Set,global:new Set},r=e.getState();{const e=(0,u.pageBlocksSelector)(r);for(const t of e){if("SectionPopup"===t.type||"SectionPopup2"===t.type)return;"GlobalBlock"===t.type?o.global.add(t.value._id):o.page.add(t)}}x(o,e,t)}),2e3),w=(0,f.debounceAdvanced)({fn:function(e,t,o,r){const i={page:new Set,global:new Set},n=t.getState();{const t=g((0,u.pageBlocksSelector)(e)),o=g((0,u.pageBlocksSelector)(n)),r=(0,u.blocksDataSelector)(e),a=(0,u.blocksDataSelector)(n);for(const[e,n]of Object.entries(o))if("GlobalBlock"!==n.type)n!==t[e]&&i.page.add(n);else{const e=n.value._id;a[e]!==r[e]&&i.global.add(e)}}{const t=(0,u.globalBlocksSelector)(n),o=(0,u.blocksDataSelector)(e),r=(0,u.blocksDataSelector)(n);for(const e of Object.keys(t))r[e]!==o[e]&&i.global.add(e)}x(i,t,o,r)},wait:2e3,memoizeArgs:[0],onFirstCall:()=>y.stop(),onAfterFnCall:e=>{let{fnArgs:[,t]}=e;h(t)&&y.start()}});async function x(e,t,o){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=[...Array.from(e.page).map((e=>({id:e.value._id+(r.taskIdSuffix||""),priority:void 0!==r.taskPriority?r.taskPriority:y.taskPriorities.NORMAL,cb:r.popup?P:M,cbArgs:[t,o,r,e]}))),...Array.from(e.global).map((e=>({id:e+(r.taskIdSuffix||""),priority:void 0!==r.taskPriority?r.taskPriority:y.taskPriorities.NORMAL,cb:r.popup?C:T,cbArgs:[t,o,r,e]})))];i.length>0&&y.enqueue(i)}async function M(e,t,o,r,i){const n=r.value._id;let a,c;{const t=document.querySelector(`[id='${n}']`);if(!b(n,e)||!t)return;try{c=await(0,p.makeNodeScreenshot)(t)}catch(e){return}}{if(!b(n,e))return;if(!h(e))return void i();const t=(0,u.screenshotsSelector)(e.getState());t[n]?(a=t[n]._thumbnailSrc,await(0,l.updateBlockScreenshot)({id:a,base64:c.src,blockType:"normal"})):a=(await(0,l.createBlockScreenshot)({base64:c.src,blockType:"normal"})).id}b(n,e)&&t((0,s.updateScreenshot)({blockId:n,data:{_thumbnailSrc:a,_thumbnailWidth:c.width,_thumbnailHeight:c.height,_thumbnailTime:Date.now()},meta:{blockType:"normal"}}))}async function T(e,t,o,r,i){let n,c;{let t;if(o.sourceBlockId)t=o.sourceBlockId;else{const o=(0,u.pageBlocksSelector)(e.getState()),{obj:i}=(0,a.findDeep)(o,(e=>e.value&&e.value._id===r));if(!i)return;t=i.value._id}const i=document.querySelector(`[id='${t}']`);if(!i)return;try{c=await(0,p.makeNodeScreenshot)(i)}catch(e){return}}{if(!(0,u.globalBlocksSelector)(e.getState())[r])return;if(!h(e))return void i();const t=(0,u.screenshotsSelector)(e.getState()),o=t._published[r]&&t._published[r]._thumbnailSrc,a=t[r]&&t[r]._thumbnailSrc;o&&o!==a?(n=a,await(0,l.updateBlockScreenshot)({id:n,base64:c.src,blockType:"global"})):n=(await(0,l.createBlockScreenshot)({base64:c.src,blockType:"global"})).id}(0,u.globalBlocksSelector)(e.getState())[r]&&t((0,s.updateScreenshot)({blockId:r,data:{_thumbnailSrc:n,_thumbnailWidth:c.width,_thumbnailHeight:c.height,_thumbnailTime:Date.now()},meta:{blockType:"global",action:0===o.isAutosave?"create":"update"}}))}async function P(e,t,o,r,i){const{dbId:a,domId:c}=o.popup,d=(0,u.pageBlocksSelector)(e.getState()),f=(0,m.createFullModelPath)(d,[a]).slice(0,-1),y=(0,n.getIn)(d,f).value._id;let g,b;{const e=document.querySelector(`[id='${c}']`);if(!e)return;try{b=await(0,p.makeNodeScreenshot)(e)}catch(e){return}}{const t=(0,u.pageBlocksSelector)(e.getState()),o=(0,n.getIn)(t,f);if(!o||!o.value||o.value._id!==y)return;if(!h(e))return void i();const r=(0,u.screenshotsSelector)(e.getState()),a=r._published[y]&&r._published[y]._thumbnailSrc,s=r[y]&&r[y]._thumbnailSrc;s&&s!==a?(g=s,await(0,l.updateBlockScreenshot)({id:g,base64:b.src,blockType:"global"})):g=(await(0,l.createBlockScreenshot)({base64:b.src,blockType:"global"})).id}{const o=(0,u.pageBlocksSelector)(e.getState()),r=(0,n.getIn)(o,f);if((r&&r.value&&r.value._id)!==y)return;t((0,s.updateScreenshot)({blockId:y,data:{_thumbnailSrc:g,_thumbnailWidth:b.width,_thumbnailHeight:b.height,_thumbnailTime:Date.now()},meta:{blockType:"popup"}}))}}async function C(e,t,o,r,i){const{domId:n,dbId:c}=o.popup,d=(0,u.globalBlocksAssembledSelector)(e.getState())[r];if(!d)return;const{obj:f}=(0,a.findDeep)(d,(e=>e&&e.value&&e.value._id===c));if(!f)return;const m=f.value._id,y=f===d.data;let g,b;{const e=document.querySelector(`[id='${n}']`);if(!e)return;try{b=await(0,p.makeNodeScreenshot)(e)}catch(e){return}}{const t=(0,u.globalBlocksAssembledSelector)(e.getState())[r];if(!t)return;const{obj:o}=(0,a.findDeep)(t,(e=>e&&e.value&&e.value._id===c));if(!Boolean(o))return;if(!h(e))return void i();if(o.value._thumbnailSrc){const t=(0,u.screenshotsSelector)(e.getState())._published[y?r:m];t&&o.value._thumbnailSrc===t._thumbnailSrc?g=(await(0,l.createBlockScreenshot)({base64:b.src,blockType:y?"global":"normal"})).id:(g=o.value._thumbnailSrc,await(0,l.updateBlockScreenshot)({id:g,base64:b.src,blockType:y?"global":"normal"}))}else g=(await(0,l.createBlockScreenshot)({base64:b.src,blockType:y?"global":"normal"})).id}{const o=(0,u.globalBlocksAssembledSelector)(e.getState())[r];if(!o)return;const{obj:i}=(0,a.findDeep)(o,(e=>e&&e.value&&e.value._id===c));if(!Boolean(i))return;t((0,s.updateScreenshot)({blockId:y?r:m,data:{_thumbnailSrc:g,_thumbnailWidth:b.width,_thumbnailHeight:b.height,_thumbnailTime:Date.now()},meta:{blockType:"popup"}}))}}},92691:(e,t)=>{"use strict";function o(e){let t,o,{fn:r,wait:i=1e3,memoizeArgs:n=[],onFirstCall:a=(()=>{}),onAfterFnCall:l=(()=>{})}=e,s=!1;return function(){for(var e=arguments.length,c=new Array(e),d=0;d(e[t]=c[t],e)),{})),o=setTimeout((()=>{const e=c.map(((e,o)=>t[o]?t[o]:e));o=void 0,t=void 0,s=!1,r(...e),l({fnArgs:e})}),i)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"debounceAdvanced",{enumerable:!0,get:function(){return o}})},56675:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{makeTaskQueue:function(){return r.makeTaskQueue},debounceAdvanced:function(){return i.debounceAdvanced}});const r=o(96465),i=o(92691)},96465:(e,t)=>{"use strict";function o(e){return{taskPriorities:{IMMEDIATE:0,HIGH:1,NORMAL:2},_options:{interval:1e3,...e},_running:!0,_looping:!1,_tasks:[],enqueue(e){const t=this._tasks.reduce(((e,t)=>(e[t.id]=!0,e)),{});e.forEach((e=>{if(t[e.id]){const t=this._tasks.findIndex((t=>t.id===e.id));this._tasks[t]=e}else this._tasks.push(e)})),this._tasks.sort(((e,t)=>e.priority-t.priority)),this._process()},start(){this._running=!0,this._process()},stop(){this._running=!1},_process(){0!==this._tasks.length&&(this._tasks.forEach((e=>{e.priority===this.taskPriorities.IMMEDIATE&&e.cb(...e.cbArgs||[])})),this._tasks=this._tasks.filter((e=>e.priority!==this.taskPriorities.IMMEDIATE)),this._looping||this._loop())},_loop(){this._looping=!0,setTimeout((async()=>{if(this._running&&this._tasks.length>0){const e=this._tasks.shift();try{const t=()=>t.called=!0;await e.cb(...e.cbArgs||[],t),t.called&&this._tasks.push(e)}catch(e){}this._tasks.length>0?this._loop():this._looping=!1}else this._looping=!1}),this._options.interval)}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"makeTaskQueue",{enumerable:!0,get:function(){return o}})},31629:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=b(o(65311)),i=b(o(10301)),n=o(81504),a=o(35188),l=o(81405),s=o(98130),c=o(37970),d=o(72833),u=o(10744),p=o(74215),f=o(86329),m=o(90186),y=o(97045),g=o(37203);function b(e){return e&&e.__esModule?e:{default:e}}const h=e=>t=>o=>b=>{const h={onBeforeNext:[],onAfterNext:[]};!function(e){e.onAfterNext.push((e=>{let{state:t,oldState:o}=e;const r=(0,y.storeWasChangedSelector)(o),i=(0,y.storeWasChangedSelector)(t);if(r!==i){const e=window.parent||window;switch(i){case a.StoreChanged.changed:e.addEventListener("beforeunload",v);break;case a.StoreChanged.unchanged:e.removeEventListener("beforeunload",v)}}}))}(h),b.type===u.HYDRATE&&function(e){e.onAfterNext.push((e=>{let{state:t,store:o,config:i}=e;const{document:n,parentDocument:a}=i,c=(0,d.projectFontsData)((0,y.unDeletedFontsSelector)(t)),{colorPalette:p,fontStyles:f}=(0,y.currentStyleSelector)(t),m=[...f,...(0,g.extraFontStylesSelector)(t)],b=(0,y.getDefaultFontDetailsSelector)(t),h=(0,r.default)("