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
\n {...}\n
${(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:
\nme@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:
\nme@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