/home/arranoyd/public_html/wp-content/plugins/brizy/public/editor-build/140-wp/editor/js/editor.js
!function(e){function t(t){for(var n,i,l=t[0],c=t[1],s=t[2],p=0,u=[];p<l.length;p++)i=l[p],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&u.push(a[i][0]),a[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(d&&d(t);u.length;)u.shift()();return r.push.apply(r,s||[]),o()}function o(){for(var e,t=0;t<r.length;t++){for(var o=r[t],n=!0,l=1;l<o.length;l++){var c=o[l];0!==a[c]&&(n=!1)}n&&(r.splice(t--,1),e=i(i.s=o[0]))}return e}var n={},a={0:0},r=[];function i(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.e=function(e){var t=[],o=a[e];if(0!==o)if(o)t.push(o[2]);else{var n=new Promise((function(t,n){o=a[e]=[t,n]}));t.push(o[2]=n);var r,l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=function(e){return i.p+""+({}[e]||e)+".js"}(e);var c=new Error;r=function(t){l.onerror=l.onload=null,clearTimeout(s);var o=a[e];if(0!==o){if(o){var n=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+r+")",c.name="ChunkLoadError",c.type=n,c.request=r,o[1](c)}a[e]=void 0}};var s=setTimeout((function(){r({type:"timeout",target:l})}),12e4);l.onerror=l.onload=r,document.head.appendChild(l)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,o){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(o,n,function(t){return e[t]}.bind(null,n));return o},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var l=window.webpackJsonp=window.webpackJsonp||[],c=l.push.bind(l);l.push=t,l=l.slice();for(var s=0;s<l.length;s++)t(l[s]);var d=c;r.push([470,1]),o()}([,function(e,t,o){"use strict";var n=o(171);o.d(t,"a",(function(){return n.a}))},,function(e,t,o){"use strict";o.r(t);var n={};o.r(n),o.d(n,"saveOnChanges",(function(){return s})),o.d(n,"defaultValueKey",(function(){return i.a})),o.d(n,"defaultValueValue",(function(){return i.b})),o.d(n,"deviceStateValueByKey",(function(){return i.c})),o.d(n,"makeKeyByStateDevice",(function(){return i.e})),o.d(n,"onChangeBgImage",(function(){return v})),o.d(n,"onChangeBgImageBgOpacity",(function(){return y})),o.d(n,"onChangeBgImageDependencies",(function(){return f})),o.d(n,"onChangeBgImageColumnAndRowSyncMobile",(function(){return O})),o.d(n,"onChangeBorderStyle2",(function(){return S})),o.d(n,"onChangeElementBorderStyleDependencies2",(function(){return x})),o.d(n,"onChangeContainerBorderStyleDependencies2",(function(){return j})),o.d(n,"onChangeBorderColorHexAndOpacity2",(function(){return B})),o.d(n,"onChangeBorderColorHexAndOpacityPalette2",(function(){return P})),o.d(n,"onChangeElementBorderColorHexAndOpacityDependencies2",(function(){return w})),o.d(n,"onChangeContainerBorderColorHexAndOpacityDependencies2",(function(){return T})),o.d(n,"onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2",(function(){return z})),o.d(n,"onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2",(function(){return k})),o.d(n,"onChangeBorderColorPalette2",(function(){return E})),o.d(n,"onChangeBorderColorPaletteOpacity2",(function(){return H})),o.d(n,"onChangeBorderWidthType2",(function(){return _})),o.d(n,"onChangeBorderWidthGrouped2",(function(){return R})),o.d(n,"onChangeBorderWidthGroupedDependencies2",(function(){return M})),o.d(n,"onChangeBorderWidthUngrouped2",(function(){return I})),o.d(n,"onChangeBorderWidthUngroupedDependencies2",(function(){return F})),o.d(n,"onChangeBorderRadiusGrouped",(function(){return V})),o.d(n,"onChangeBorderRadiusGroupedDependencies",(function(){return D})),o.d(n,"onChangeBorderRadiusUngrouped",(function(){return A})),o.d(n,"onChangeBorderRadiusUngroupedDependencies",(function(){return G})),o.d(n,"onChangeColorHexAndOpacity",(function(){return U})),o.d(n,"onChangeColorHexAndOpacityPalette",(function(){return K})),o.d(n,"onChangeColorPalette",(function(){return q})),o.d(n,"onChangeColorPaletteOpacity",(function(){return Y})),o.d(n,"onChangeBgColorType2",(function(){return Z})),o.d(n,"onChangeGradientRange2",(function(){return J})),o.d(n,"onChangeBgColorHexAndOpacity2",(function(){return $})),o.d(n,"onChangeBgColorHexAndOpacityPalette2",(function(){return Q})),o.d(n,"onChangeBgColorHexAndOpacityDependencies2",(function(){return ee})),o.d(n,"onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2",(function(){return te})),o.d(n,"onChangeBgColorPalette2",(function(){return oe})),o.d(n,"onChangeBgColorPaletteOpacity2",(function(){return ne})),o.d(n,"onChangeBoxShadowHexAndOpacity2",(function(){return le})),o.d(n,"onChangeBoxShadowHexAndOpacityPalette2",(function(){return ce})),o.d(n,"onChangeBoxShadowHexAndOpacityDependencies2",(function(){return se})),o.d(n,"onChangeBoxShadowPalette2",(function(){return de})),o.d(n,"onChangeBoxShadowPaletteOpacity2",(function(){return pe})),o.d(n,"onChangeBoxShadowType2",(function(){return re})),o.d(n,"onChangeBoxShadowTypeDependencies2",(function(){return ie})),o.d(n,"onChangeBoxShadowFields2",(function(){return ue})),o.d(n,"onChangeBoxShadowFieldsDependencies2",(function(){return be})),o.d(n,"onChangeBoxShadowOpacity2",(function(){return he})),o.d(n,"onChangePaddingGrouped",(function(){return ve})),o.d(n,"onChangePaddingUngrouped",(function(){return ye})),o.d(n,"onChangeMarginGrouped",(function(){return Ce})),o.d(n,"onChangeMarginUngrouped",(function(){return Se})),o.d(n,"onChangeElementSectionBoxShadowHexAndOpacityDependencies",(function(){return xe})),o.d(n,"onChangeElementProgressBarBg2ColorHexAndOpacity",(function(){return je})),o.d(n,"onChangeElementProgressBarBg2ColorHexAndOpacityPalette",(function(){return Be})),o.d(n,"onChangeElementProgressBarBg2ColorHexAndOpacityDependencies",(function(){return Pe})),o.d(n,"onChangeElementProgressBarBg2ColorPalette",(function(){return we})),o.d(n,"onChangeElementProgressBarBg2ColorPaletteOpacity",(function(){return Te})),o.d(n,"onChangeElementIconBorderColorHex2",(function(){return ke})),o.d(n,"onChangeElementIconBorderColorPalette2",(function(){return Ee})),o.d(n,"onChangeElementIconBorderColorFields2",(function(){return He})),o.d(n,"onChangeElementIconBorderHoverColorHex2",(function(){return _e})),o.d(n,"onChangeElementIconBorderHoverColorPalette2",(function(){return Re})),o.d(n,"onChangeElementIconBorderHoverColorFields2",(function(){return Me})),o.d(n,"onChangeElementButtonBorderColorHex2",(function(){return Ie})),o.d(n,"onChangeElementButtonBorderColorPalette2",(function(){return Fe})),o.d(n,"onChangeElementButtonBorderColorFields2",(function(){return Ne})),o.d(n,"onChangeElementButtonBorderHoverColorHex2",(function(){return Le})),o.d(n,"onChangeElementButtonBorderHoverColorPalette2",(function(){return We})),o.d(n,"onChangeElementButtonBorderHoverColorFields2",(function(){return Ve})),o.d(n,"onChangeBgColorHexButton2",(function(){return De})),o.d(n,"onChangeBgColorPaletteButton2",(function(){return Ae})),o.d(n,"onChangeBgColorFieldsButton2",(function(){return Ge})),o.d(n,"onChangeHoverBgColorHexButton2",(function(){return Ue})),o.d(n,"onChangeHoverBgColorPaletteButton2",(function(){return Ke})),o.d(n,"onChangeHoverBgColorFieldsButton2",(function(){return qe})),o.d(n,"onChangeColorHexButtonIcon2",(function(){return Ye})),o.d(n,"onChangeColorPaletteButtonIcon2",(function(){return Xe})),o.d(n,"onChangeColorFieldsButtonIcon2",(function(){return Ze})),o.d(n,"onChangeHoverColorHexButtonIcon2",(function(){return Je})),o.d(n,"onChangeHoverColorPaletteButtonIcon2",(function(){return $e})),o.d(n,"onChangeHoverColorFieldsButtonIcon2",(function(){return Qe})),o.d(n,"onChangeMenuColorHex2",(function(){return et})),o.d(n,"onChangeMenuColorPalette2",(function(){return tt})),o.d(n,"onChangeMenuColorFields2",(function(){return ot})),o.d(n,"onChangeMenuHoverColorHex2",(function(){return nt})),o.d(n,"onChangeMenuHoverColorPalette2",(function(){return at})),o.d(n,"onChangeMenuHoverColorFields2",(function(){return rt})),o.d(n,"onChangeColorHexMMenu2",(function(){return it})),o.d(n,"onChangeColorPaletteMMenu2",(function(){return lt})),o.d(n,"onChangeColorFieldsMMenu2",(function(){return ct})),o.d(n,"onChangeHoverColorHexMMenu2",(function(){return st})),o.d(n,"onChangeHoverColorPaletteMMenu2",(function(){return dt})),o.d(n,"onChangeHoverColorFieldsMMenu2",(function(){return pt})),o.d(n,"onChangeColorHexSubMenu2",(function(){return ut})),o.d(n,"onChangeColorPaletteSubMenu2",(function(){return bt})),o.d(n,"onChangeColorFieldsSubMenu2",(function(){return ht})),o.d(n,"onChangeHoverColorHexSubMenu2",(function(){return mt})),o.d(n,"onChangeHoverColorPaletteSubMenu2",(function(){return gt})),o.d(n,"onChangeHoverColorFieldsSubMenu2",(function(){return vt})),o.d(n,"onChangeColorHexIconMenu2",(function(){return yt})),o.d(n,"onChangeColorPaletteIconMenu2",(function(){return ft})),o.d(n,"onChangeColorFieldsIconMenu2",(function(){return Ot})),o.d(n,"onChangeTabletColorHexIconMMenu2",(function(){return Ct})),o.d(n,"onChangeTabletColorPaletteIconMMenu2",(function(){return St})),o.d(n,"onChangeTabletColorFieldsIconMMenu2",(function(){return xt})),o.d(n,"onChangeMobileColorHexIconMMenu2",(function(){return jt})),o.d(n,"onChangeMobileColorPaletteIconMMenu2",(function(){return Bt})),o.d(n,"onChangeMobileColorFieldsIconMMenu2",(function(){return Pt})),o.d(n,"onChangeBgColorHexMMenu2",(function(){return wt})),o.d(n,"onChangeBgColorPaletteMMenu2",(function(){return Tt})),o.d(n,"onChangeBgColorFieldsMMenu2",(function(){return zt})),o.d(n,"onChangeBgColorHexSubMenu2",(function(){return kt})),o.d(n,"onChangeBgColorPaletteSubMenu2",(function(){return Et})),o.d(n,"onChangeBgColorFieldsSubMenu2",(function(){return Ht})),o.d(n,"onChangeBgHoverColorHexSubMenu2",(function(){return _t})),o.d(n,"onChangeBgHoverColorPaletteSubMenu2",(function(){return Rt})),o.d(n,"onChangeBgHoverColorFieldsSubMenu2",(function(){return Mt})),o.d(n,"onChangeBorderColorHexMMenu2",(function(){return It})),o.d(n,"onChangeBorderColorPaletteMMenu2",(function(){return Ft})),o.d(n,"onChangeBorderColorFieldsMMenu2",(function(){return Nt})),o.d(n,"onChangeBorderColorHexSubMenu2",(function(){return Lt})),o.d(n,"onChangeBorderColorPaletteSubMenu2",(function(){return Wt})),o.d(n,"onChangeBorderColorFieldsSubMenu2",(function(){return Vt})),o.d(n,"onChangeTypography",(function(){return Ut})),o.d(n,"onChangeTypographyTablet",(function(){return Kt})),o.d(n,"onChangeTypographyMobile",(function(){return qt})),o.d(n,"tabletSyncOnChange",(function(){return i.g})),o.d(n,"mobileSyncOnChange",(function(){return i.f})),o.d(n,"keySyncOnChange",(function(){return i.d})),o.d(n,"onChangeTypography2",(function(){return Zt}));var a=o(2),r=o(8),i=o(19);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function s(e){return e.onChange.reduce((t,o)=>{const a=n[o](e);return Object.assign(t,a)},{})}function d({v:e,device:t,state:o,me:n,childs:a,value:l,dragEnd:s=!0,tempZero:d=!1}){const p=e=>Object(i.a)({key:e,device:t,state:o});let u={};return((n=>Object(i.b)({v:e,key:n,device:t,state:o}))(n)!==l||s)&&(u=c({[p(n)]:l},a?a.reduce((e,t)=>(e[p(t)]=l,e),{}):{},{},s&&(d||!d&&0!==l&&""!==l)?c({[p("temp".concat(Object(r.c)(n)))]:l},a?a.reduce((e,t)=>(e[p("temp".concat(Object(r.c)(t)))]=l,e),{}):{}):{})),u}function p({v:e,device:t,state:o,me:n,childs:a,current:l,value:s,dragEnd:d=!0,tempZero:p=!1}){const u=e=>Object(i.a)({key:e,device:t,state:o});let b={};return((n=>Object(i.b)({v:e,key:n,device:t,state:o}))(l)!==s||d)&&(b=c({[u(l)]:s},d&&(p||!p&&0!==s&&""!==s)?{[u("temp".concat(Object(r.c)(l)))]:s}:{},{},a.filter(e=>e!==l).every(t=>e[t]===s)?c({[u(n)]:s},d&&(p||!p&&0!==s&&""!==s)?{[u("temp".concat(Object(r.c)(n)))]:s}:{}):{})),b}function u({v:e,device:t,state:o,parent:n,childs:a,value:l,sliderDragEnd:s=!0,temp:d=!1,tempZero:p=!1}){const u=c({[Object(i.a)({key:n,device:t,state:o})]:l},a.reduce((e,n)=>(e[Object(i.a)({key:n,device:t,state:o})]=l,e),{})),b=d&&!p?c({[Object(i.a)({key:"temp".concat(Object(r.c)(n)),device:t,state:o})]:l>0&&s?l:Object(i.b)({v:e,key:"temp".concat(Object(r.c)(n)),device:t,state:o})},a.reduce((n,a)=>(n[Object(i.a)({key:"temp".concat(Object(r.c)(a)),device:t,state:o})]=l>0&&s?l:Object(i.b)({v:e,key:"temp".concat(Object(r.c)(a)),device:t,state:o}),n),{})):d?c({[Object(i.a)({key:"temp".concat(Object(r.c)(n)),device:t,state:o})]:l},a.reduce((e,n)=>(e[Object(i.a)({key:"temp".concat(Object(r.c)(n)),device:t,state:o})]=l,e),{})):{};return Object.assign(u,b)}function b({v:e,device:t,state:o,parent:n,childs:a,current:l,value:c,temp:s=!1,tempZero:d=!1}){const p=a.filter(e=>e!==l).every(t=>e[t]===c)?c:Object(i.b)({v:e,key:n,device:t,state:o}),u=a.filter(e=>e!==l).every(t=>e[t]===c)?c:c>0?Object(i.b)({v:e,key:"temp".concat(Object(r.c)(n)),device:t,state:o}):Object(i.b)({v:e,key:n,device:t,state:o});return s&&d?{[Object(i.a)({key:n,device:t,state:o})]:p,[Object(i.a)({key:"temp".concat(Object(r.c)(n)),device:t,state:o})]:u}:{[Object(i.a)({key:n,device:t,state:o})]:p}}function h({v:e,device:t,state:o,childs:n,current:a,value:l,temp:s=!1}){return s?c({[Object(i.a)({key:a,device:t,state:o})]:l,[Object(i.a)({key:"temp".concat(Object(r.c)(a)),device:t,state:o})]:l},n.filter(e=>e!==a).reduce((n,a)=>(n[Object(i.a)({key:"temp".concat(Object(r.c)(a)),device:t,state:o})]=0===e[a]?0:Object(i.b)({v:e,key:"temp".concat(Object(r.c)(a)),device:t,state:o}),n),{})):{[Object(i.a)({key:a,device:t,state:o})]:l}}function m({v:e,device:t="desktop",state:o="normal",value:n,dependencies:a}){const l=n=>Object(i.b)({v:e,key:n,device:t,state:o});return Object.entries(a).reduce((a,[c,s])=>{const d=!(0!==n&&""!==n||void 0===s.nullValue||!(s.nullValue.length>0&&s.nullValue.every(t=>""===e[t]||0===e[t])||0===s.nullValue.length)),p=!(0===n||""===n||0!==l(c)&&""!==l(c)&&"off"!==l("boxShadow")||!(s.tempValue.length>0&&s.tempValue.every(t=>""===e[t]||0===e[t])||0===s.tempValue.length)),u=null===l(c)||void 0===l(c);return u&&console.log("onChange "+c+" "+l(c)),u||(a[(e=>Object(i.a)({key:e,device:t,state:o}))(c)]=d?"string"===s.type?"":0:l(p?"temp".concat(Object(r.c)(c)):c)),Object.assign(a,s.childs.reduce((a,l)=>(null===e[Object(i.a)({key:l,device:t,state:o})]||void 0===e[Object(i.a)({key:l,device:t,state:o})]||(a[Object(i.a)({key:l,device:t,state:o})]=0!==n&&""!==n||void 0===s.nullValue||!(s.nullValue.length>0&&s.nullValue.every(t=>""===e[t]||0===e[t])||0===s.nullValue.length)?(n>0||""!==n)&&s.childs.every(n=>0===Object(i.b)({v:e,key:"temp".concat(Object(r.c)(n)),device:t,state:o}))?Object(i.b)({v:e,key:"temp".concat(Object(r.c)(c)),device:t,state:o}):(n>0||""!==n)&&(s.tempValue.length>0&&s.tempValue.every(t=>""===e[t]||0===e[t])||0===s.tempValue.length)?Object(i.b)({v:e,key:"temp".concat(Object(r.c)(l)),device:t,state:o}):Object(i.b)({v:e,key:l,device:t,state:o}):"string"===s.type?"":0),a),{}),s.childs.reduce((a,l)=>(null===e[Object(i.a)({key:"temp".concat(Object(r.c)(l)),device:t,state:o})]||void 0===e[Object(i.a)({key:"temp".concat(Object(r.c)(l)),device:t,state:o})]||(a[Object(i.a)({key:"temp".concat(Object(r.c)(l)),device:t,state:o})]=(n>0||""!==n)&&s.childs.every(n=>0===Object(i.b)({v:e,key:"temp".concat(Object(r.c)(n)),device:t,state:o}))?Object(i.b)({v:e,key:c,device:t,state:o}):Object(i.b)({v:e,key:"temp".concat(Object(r.c)(l)),device:t,state:o})),a),{})),a},{})}function g({v:e,device:t,state:o,childs:n,current:a,value:l,dependencies:c}){return Object.entries(c).reduce((c,[s,d])=>(null===e[s]||(c[Object(i.a)({key:s,device:t,state:o})]=(0===l||""===l)&&(n.length>0&&n.filter(e=>e!==a).every(t=>0===e[t])||0===n.length)&&void 0!==d.nullValue&&(d.nullValue.length>0&&d.nullValue.every(t=>""===e[t]||0===e[t])||0===d.nullValue.length)?"string"===d.type?"":0:(l>0||""!==l)&&(d.tempValue.length>0&&d.tempValue.every(t=>""===e[t]||0===e[t])||0===d.tempValue.length)?Object(i.b)({v:e,key:"temp".concat(Object(r.c)(s)),device:t,state:o}):Object(i.b)({v:e,key:s,device:t,state:o})),Object.assign(c,d.childs.reduce((c,s)=>(null===e[s]||(c[Object(i.a)({key:s,device:t,state:o})]=(0===l||""===l)&&(n.length>0&&n.filter(e=>e!==a).every(t=>0===e[t])||0===n.length)&&(d.nullValue.length>0&&d.nullValue.every(t=>""===e[t]||0===e[t])||0===d.nullValue.length)?"string"===d.type?"":0:(l>0||""!==l)&&0===d.tempValue.length?Object(i.b)({v:e,key:"temp".concat(Object(r.c)(s)),device:t,state:o}):Object(i.b)({v:e,key:s,device:t,state:o})),c),{})),c),{})}function v({device:e,state:t,width:o,height:n,extension:a,src:r,x:l,y:c,population:s,isChanged:d}){return"image"===d?{[Object(i.a)({key:"bgImageWidth",device:e,state:t})]:o,[Object(i.a)({key:"bgImageHeight",device:e,state:t})]:n,[Object(i.a)({key:"bgImageExtension",device:e,state:t})]:a,[Object(i.a)({key:"bgImageSrc",device:e,state:t})]:r}:"population"===d?{[Object(i.a)({key:"bgPopulation",device:e,state:t})]:s}:{[Object(i.a)({key:"bgPositionX",device:e,state:t})]:l,[Object(i.a)({key:"bgPositionY",device:e,state:t})]:c}}function y({v:e,device:t,state:o,src:n,isChanged:a}){const r=""!==n&&1===Object(i.b)({v:e,key:"bgColorOpacity",device:t,state:o})?.9:Object(i.b)({v:e,key:"bgColorOpacity",device:t,state:o}),l=""!==n&&1===Object(i.b)({v:e,key:"bgColorOpacity",device:t,state:o})?.9:Object(i.b)({v:e,key:"tempBgColorOpacity",device:t,state:o});return"image"===a?{[Object(i.a)({key:"bgColorOpacity",device:t,state:o})]:r,[Object(i.a)({key:"tempBgColorOpacity",device:t,state:o})]:l}:{}}function f({v:e,device:t,state:o,src:n}){return m({v:e,device:t,state:o,value:n,dependencies:{borderRadius:{childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nullValue:["bgColorOpacity","borderColorOpacity"],tempValue:[]}}})}function O({v:e,device:t,src:o}){return"desktop"===t||"mobile"===t?{mobilePaddingRight:o?e.tempMobilePaddingRight:0,mobilePaddingLeft:o?e.tempMobilePaddingLeft:0}:{}}function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function S({v:e,device:t,state:o,borderStyle:n,prefix:a=""}){const l=e=>Object(i.a)({key:e,device:t,state:o}),c=Object(r.b)(a,"border"),s=Object(r.b)(c,"style"),d=Object(r.b)("temp",s);return{[l(s)]:n,[l(d)]:""!==n?n:(n=>Object(i.b)({v:e,key:n,device:t,state:o}))(d)}}function x({v:e,device:t,state:o,borderStyle:n,prefix:a=""}){const i=Object(r.b)(a,"border");return m({v:e,device:t,state:o,value:n,dependencies:{[Object(r.b)(i,"colorOpacity")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(i,"colorPalette")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(i,"width")]:{childs:[Object(r.b)(i,"topWidth"),Object(r.b)(i,"rightWidth"),Object(r.b)(i,"bottomWidth"),Object(r.b)(i,"leftWidth")],nullValue:[],tempValue:[]}}})}function j({v:e,device:t,state:o,borderStyle:n}){return m({v:e,device:t,state:o,value:n,dependencies:{borderColorOpacity:{childs:[],nullValue:[],tempValue:[]},borderColorPalette:{childs:[],nullValue:[],tempValue:[]},borderWidth:{childs:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],nullValue:[],tempValue:[]},borderRadius:{childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nullValue:["bgColorOpacity","bgImageSrc"],tempValue:[]}}})}function B({v:e,device:t,state:o,hex:n,opacity:a,prefix:l="",isChanged:c="hex",opacityDragEnd:s=!1}){const d=e=>Object(i.a)({key:e,device:t,state:o}),p=Object(r.b)(l,"border"),u=Object(r.b)(p,"colorHex"),b=Object(r.b)(p,"colorOpacity"),h=Object(r.b)("temp",b),m=(a=N({v:e,device:t,state:o,opacity:a,prefix:l,isChanged:c}))>0&&s?a:(n=>Object(i.b)({v:e,key:n,device:t,state:o}))(h);return{[d(u)]:n,[d(b)]:a,[d(h)]:m}}function P({v:e,device:t,state:o,opacity:n,prefix:a="",isChanged:l="hex"}){const c=e=>Object(i.a)({key:e,device:t,state:o}),s=n=>Object(i.b)({v:e,key:n,device:t,state:o}),d=Object(r.b)(a,"border"),p=Object(r.b)(d,"colorPalette"),u=Object(r.b)("temp",p);n=N({v:e,device:t,state:o,opacity:n,prefix:a,isChanged:l});const b="hex"===l||0===n?"":s(n>0?u:p),h="hex"===l?"":s(u);return{[c(p)]:b,[c(u)]:h}}function w({v:e,device:t,state:o,opacity:n,isChanged:a,prefix:i=""}){const l=Object(r.b)(i,"border"),c={[Object(r.b)(l,"style")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(l,"width")]:{childs:[Object(r.b)(l,"topWidth"),Object(r.b)(l,"rightWidth"),Object(r.b)(l,"bottomWidth"),Object(r.b)(l,"leftWidth")],nullValue:[],tempValue:[]}};return m({v:e,device:t,state:o,value:n=N({v:e,device:t,state:o,opacity:n,prefix:i,isChanged:a}),dependencies:c})}function T({v:e,device:t,state:o,opacity:n,isChanged:a}){return m({v:e,device:t,state:o,value:n=N({v:e,device:t,state:o,opacity:n,isChanged:a}),dependencies:{borderStyle:{childs:[],nullValue:[],tempValue:[]},borderWidth:{childs:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],nullValue:[],tempValue:[]},borderRadius:{childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nullValue:["bgColorOpacity","bgImageSrc"],tempValue:[]}}})}function z({v:e,device:t,opacity:o,isChanged:n}){if("desktop"===t||"tablet"===t){return{tabletPaddingRight:0===(o=N({v:e,device:t,opacity:o,isChanged:n}))?0:"hex"===n||o>0?e.tempTabletPaddingRight:e.tabletPaddingRight,tabletPaddingLeft:0===o?0:"hex"===n||o>0?e.tempTabletPaddingLeft:e.tabletPaddingLeft}}return{}}function k({v:e,device:t,opacity:o,isChanged:n}){if("desktop"===t||"mobile"===t){return{mobilePaddingRight:0===(o=N({v:e,device:t,opacity:o,isChanged:n}))?0:"hex"===n||o>0?e.tempMobilePaddingRight:e.mobilePaddingRight,mobilePaddingLeft:0===o?0:"hex"===n||o>0?e.tempMobilePaddingLeft:e.mobilePaddingLeft}}return{}}function E({device:e,state:t,palette:o,prefix:n=""}){const a=o=>Object(i.a)({key:o,device:e,state:t}),l=Object(r.b)(n,"border"),c=Object(r.b)(l,"colorPalette"),s=Object(r.b)("temp",c);return{[a(c)]:o,[a(s)]:o}}function H({v:e,device:t,state:o,opacity:n,isChanged:a,prefix:l=""}){const c=Object(r.b)(l,"border"),s=Object(r.b)(c,"colorOpacity");return n=N({v:e,device:t,state:o,opacity:n,prefix:l,isChanged:a}),{[(e=>Object(i.a)({key:e,device:t,state:o}))(s)]:n}}function _({device:e,state:t,type:o,prefix:n=""}){const a=Object(r.b)(n,"border");return{[(o=>Object(i.a)({key:o,device:e,state:t}))(Object(r.b)(a,"widthType"))]:o}}function R({v:e,device:t,state:o,value:n,sliderDragEnd:a,prefix:i=""}){const l=Object(r.b)(i,"border");return u({v:e,device:t,state:o,parent:Object(r.b)(l,"width"),childs:[Object(r.b)(l,"topWidth"),Object(r.b)(l,"rightWidth"),Object(r.b)(l,"bottomWidth"),Object(r.b)(l,"leftWidth")],value:n,sliderDragEnd:a,temp:!0,tempZero:!1})}function M({v:e,device:t,state:o,value:n,prefix:a=""}){const i=Object(r.b)(a,"border"),l=Object(r.b)(i,"style"),c=Object(r.b)(i,"radius"),s=Object(r.b)(i,"colorOpacity"),d=Object(r.b)(i,"colorPalette");return m({v:e,device:t,state:o,value:n,dependencies:{[l]:{childs:[],nullValue:[],tempValue:[]},[c]:{childs:[Object(r.b)(i,"topLeftRadius"),Object(r.b)(i,"topRightRadius"),Object(r.b)(i,"bottomLeftRadius"),Object(r.b)(i,"bottomRightRadius")],nullValue:["bgColorOpacity","bgImageSrc"],tempValue:[]},[s]:{childs:[],nullValue:[],tempValue:[]},[d]:{childs:[],nullValue:[],tempValue:[]}}})}function I({v:e,device:t,state:o,current:n,value:i,prefix:l=""}){const c=Object(r.b)(l,"border"),s=Object(r.b)(c,"width"),d=[Object(r.b)(c,"topWidth"),Object(r.b)(c,"rightWidth"),Object(r.b)(c,"bottomWidth"),Object(r.b)(c,"leftWidth")];return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},h({v:e,device:t,state:o,childs:d,current:n,value:i,temp:!0}),{},b({v:e,device:t,state:o,parent:s,childs:d,current:n,value:i,temp:!0}))}function F({v:e,device:t,state:o,current:n,value:a,prefix:i=""}){const l=Object(r.b)(i,"border"),c=Object(r.b)(l,"width"),s=[Object(r.b)(l,"topWidth"),Object(r.b)(l,"rightWidth"),Object(r.b)(l,"bottomWidth"),Object(r.b)(l,"leftWidth")],d=Object(r.b)(l,"style"),p=Object(r.b)(l,"radius"),u=Object(r.b)(l,"colorOpacity"),b=Object(r.b)(l,"colorPalette");return g({v:e,device:t,state:o,parent:c,childs:s,current:n,value:a,dependencies:{[d]:{childs:[],nullValue:[],tempValue:[]},[p]:{childs:[Object(r.b)(l,"topLeftRadius"),Object(r.b)(l,"topRightRadius"),Object(r.b)(l,"bottomLeftRadius"),Object(r.b)(l,"bottomRightRadius")],nullValue:["bgColorOpacity","bgImageSrc"],tempValue:[]},[u]:{childs:[],nullValue:[],tempValue:[]},[b]:{childs:[],nullValue:[],tempValue:[]}}})}function N({v:e,device:t,state:o,prefix:n="",opacity:a,isChanged:l="hex"}){const c=n=>Object(i.b)({v:e,key:n,device:t,state:o}),s=Object(r.b)(n,"border"),d=Object(r.b)(s,"colorOpacity"),p=Object(r.b)("temp",d);return"hex"!==l&&"palette"!==l||0!==c(d)?void 0===a?c(d):a:c(p)}function L(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function W(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?L(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):L(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function V({v:e,device:t,state:o,value:n,sliderDragEnd:a,prefix:i=""}){return u({v:e,device:t,state:o,parent:Object(r.b)(i,"borderRadius"),childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"].map(e=>Object(r.b)(i,e)),value:n,sliderDragEnd:a,temp:!0,tempZero:!0})}function D({v:e,device:t,state:o,value:n,prefix:a=""}){return m({v:e,device:t,state:o,value:n,tempZero:!0,dependencies:{borderStyle:{childs:[],tempValue:["bgColorOpacity","bgImageSrc"]},borderWidth:{childs:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"].map(e=>Object(r.b)(a,e)),tempValue:["bgColorOpacity","bgImageSrc"]},borderColorOpacity:{childs:[],tempValue:["bgColorOpacity","bgImageSrc"]},borderColorPalette:{childs:[],tempValue:["bgColorOpacity","bgImageSrc"]}}})}function A({v:e,device:t,state:o,value:n,current:a,prefix:i=""}){const l=Object(r.b)(i,a),c=Object(r.b)(i,"borderRadius"),s=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"].map(e=>Object(r.b)(i,e));return W({},h({v:e,childs:s,state:o,current:l,value:n,temp:!0}),{},b({v:e,device:t,state:o,parent:c,childs:s,current:l,value:n,temp:!0,tempZero:!0}))}function G({v:e,device:t,state:o,value:n,current:a,prefix:i=""}){const l=Object(r.b)(i,a);return W({},g({v:e,device:t,state:o,parent:Object(r.b)(i,"borderRadius"),childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"].map(e=>Object(r.b)(i,e)),current:l,value:n,dependencies:{borderStyle:{childs:[],tempValue:["bgColorOpacity","bgImageSrc"]},borderWidth:{childs:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"].map(e=>Object(r.b)(i,e)),tempValue:["bgColorOpacity","bgImageSrc"]},borderColorOpacity:{childs:[],tempValue:["bgColorOpacity","bgImageSrc"]},borderColorPalette:{childs:[],tempValue:["bgColorOpacity","bgImageSrc"]}}}))}function U({v:e,device:t,state:o,prefix:n="color",hex:a,opacity:l,isChanged:c="hex",opacityDragEnd:s=!1}){const d=e=>Object(i.a)({key:e,device:t,state:o}),p="temp".concat(Object(r.c)(n)),u=(l=X({v:e,device:t,state:o,prefix:n,opacity:l,isChanged:c}))>0&&s?l:(n=>Object(i.b)({v:e,key:n,device:t,state:o}))(Object(r.b)(p,"opacity"));return{[d(Object(r.b)(n,"hex"))]:a,[d(Object(r.b)(n,"opacity"))]:l,[d(Object(r.b)(p,"opacity"))]:u}}function K({v:e,device:t,state:o,prefix:n="color",opacity:a,isChanged:l="hex"}){const c=e=>Object(i.a)({key:e,device:t,state:o}),s=n=>Object(i.b)({v:e,key:n,device:t,state:o}),d="temp".concat(Object(r.c)(n));a=X({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:l});const p="hex"===l||0===a?"":s(a>0?Object(r.b)(d,"palette"):Object(r.b)(n,"palette")),u="hex"===l?"":s(Object(r.b)(d,"palette"));return{[c(Object(r.b)(n,"palette"))]:p,[c(Object(r.b)(d,"palette"))]:u}}function q({device:e,state:t,prefix:o="color",palette:n}){const a=o=>Object(i.a)({key:o,device:e,state:t}),l="temp".concat(Object(r.c)(o));return{[a(Object(r.b)(o,"palette"))]:n,[a(Object(r.b)(l,"palette"))]:n}}function Y({v:e,device:t,state:o,prefix:n="color",opacity:a,isChanged:l="hex"}){return a=X({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:l}),{[(e=>Object(i.a)({key:e,device:t,state:o}))(Object(r.b)(n,"opacity"))]:a}}function X({v:e,device:t,state:o,prefix:n="color",opacity:a,isChanged:l="hex"}){const c=n=>Object(i.b)({v:e,key:n,device:t,state:o}),s="temp".concat(Object(r.c)(n));return"hex"===l&&0===c(Object(r.b)(n,"opacity"))?c(Object(r.b)(s,"opacity")):void 0===a?c(Object(r.b)(n,"opacity")):a}function Z({v:e,device:t,state:o,bgColorType:n}){const a=e=>Object(i.a)({key:e,device:t,state:o});return{[a("bgColorType")]:n,[a("gradientActivePointer")]:"solid"===n?"startPointer":(n=>Object(i.b)({v:e,key:n,device:t,state:o}))("gradientActivePointer")}}function J({device:e,state:t,startPointer:o,finishPointer:n,activePointer:a}){const r=o=>Object(i.a)({key:o,device:e,state:t});return{[r("gradientStartPointer")]:o,[r("gradientFinishPointer")]:n,[r("gradientActivePointer")]:a}}function $({v:e,device:t,state:o,prefix:n,hex:a,opacity:l,isChanged:c="hex",opacityDragEnd:s=!1}){const d=e=>Object(i.a)({key:e,device:t,state:o}),p="temp".concat(Object(r.c)(n)),u=(l=ae({v:e,device:t,state:o,prefix:n,opacity:l,isChanged:c}))>0&&s?l:(n=>Object(i.b)({v:e,key:n,device:t,state:o}))(Object(r.b)(p,"colorOpacity"));return{[d(Object(r.b)(n,"colorHex"))]:a,[d(Object(r.b)(n,"colorOpacity"))]:l,[d(Object(r.b)(p,"colorOpacity"))]:u}}function Q({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:l="hex"}){const c=e=>Object(i.a)({key:e,device:t,state:o}),s=n=>Object(i.b)({v:e,key:n,device:t,state:o}),d="temp".concat(Object(r.c)(n));a=ae({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:l});const p="hex"===l||0===a?"":s(a>0?Object(r.b)(d,"colorPalette"):Object(r.b)(n,"colorPalette")),u="hex"===l?"":s(Object(r.b)(d,"colorPalette"));return{[c(Object(r.b)(n,"colorPalette"))]:p,[c(Object(r.b)(d,"colorPalette"))]:u}}function ee({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:r="hex"}){return m({v:e,device:t,state:o,value:a=ae({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:r}),dependencies:{borderRadius:{childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nullValue:["bgImageSrc","borderColorOpacity"],tempValue:[]}}})}function te({v:e,device:t,prefix:o,opacity:n,isChanged:a="hex"}){if("desktop"===t||"mobile"===t){return{mobilePaddingRight:0===(n=ae({v:e,device:t,prefix:o,opacity:n,isChanged:a}))?0:"hex"===a||n>0?e.tempMobilePaddingRight:e.mobilePaddingRight,mobilePaddingLeft:0===n?0:"hex"===a||n>0?e.tempMobilePaddingLeft:e.mobilePaddingLeft}}return{}}function oe({device:e,state:t,prefix:o,palette:n}){const a=o=>Object(i.a)({key:o,device:e,state:t}),l="temp".concat(Object(r.c)(o));return{[a(Object(r.b)(o,"colorPalette"))]:n,[a(Object(r.b)(l,"colorPalette"))]:n}}function ne({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:l="hex"}){return a=ae({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:l}),{[(e=>Object(i.a)({key:e,device:t,state:o}))(Object(r.b)(n,"colorOpacity"))]:a}}function ae({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:l="hex"}){const c=n=>Object(i.b)({v:e,key:n,device:t,state:o}),s="temp".concat(Object(r.c)(n));return"hex"!==l&&"palette"!==l||0!==c(Object(r.b)(n,"colorOpacity"))||1!==c(Object(r.b)(s,"colorOpacity"))||""===c("bgImageSrc")?"hex"!==l&&"palette"!==l||0!==c(Object(r.b)(n,"colorOpacity"))?void 0===a?c(Object(r.b)(n,"colorOpacity")):a:c(Object(r.b)(s,"colorOpacity")):.9}function re({v:e,device:t,state:o,boxShadowType:n,prefix:a=""}){const l=e=>Object(i.a)({key:e,device:t,state:o}),c=Object(r.b)(a,"boxShadow"),s=Object(r.b)("temp",c);return{[l(c)]:n,[l(s)]:""!==n?n:(n=>Object(i.b)({v:e,key:n,device:t,state:o}))(s)}}function ie({v:e,device:t,state:o,boxShadowType:n,prefix:a=""}){const i=Object(r.b)(a,"boxShadow");return m({v:e,device:t,state:o,value:n,dependencies:{[Object(r.b)(i,"colorOpacity")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(i,"colorPalette")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(i,"blur")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(i,"spread")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(i,"vertical")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(i,"horizontal")]:{childs:[],nullValue:[],tempValue:[]}}})}function le({v:e,device:t,state:o,hex:n,opacity:a,prefix:l="",isChanged:c="hex",opacityDragEnd:s=!1}){const d=e=>Object(i.a)({key:e,device:t,state:o}),p=Object(r.b)(l,"boxShadow"),u=Object(r.b)(p,"colorHex"),b=Object(r.b)(p,"colorOpacity"),h=Object(r.b)("temp",b),m=(a=he({v:e,device:t,state:o,opacity:a,prefix:l,isChanged:c}))>0&&s?a:(n=>Object(i.b)({v:e,key:n,device:t,state:o}))(h);return{[d(u)]:n,[d(b)]:a,[d(h)]:m}}function ce({v:e,device:t,state:o,opacity:n,prefix:a="",isChanged:l="hex"}){const c=e=>Object(i.a)({key:e,device:t,state:o}),s=n=>Object(i.b)({v:e,key:n,device:t,state:o}),d=Object(r.b)(a,"boxShadow"),p=Object(r.b)(d,"colorPalette"),u=Object(r.b)("temp",p);n=he({v:e,device:t,state:o,opacity:n,isChanged:l});const b="hex"===l||0===n?"":s(n>0?u:p),h="hex"===l?"":s(u);return{[c(p)]:b,[c(u)]:h}}function se({v:e,device:t,state:o,opacity:n,isChanged:a,prefix:i=""}){const l=Object(r.b)(i,"boxShadow"),c={[l]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(l,"blur")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(l,"spread")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(l,"vertical")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(l,"horizontal")]:{childs:[],nullValue:[],tempValue:[]}};return m({v:e,device:t,state:o,value:n=he({v:e,device:t,state:o,opacity:n,prefix:i,isChanged:a}),dependencies:c})}function de({device:e,state:t,palette:o,prefix:n=""}){const a=o=>Object(i.a)({key:o,device:e,state:t}),l=Object(r.b)(n,"boxShadow"),c=Object(r.b)(l,"colorPalette"),s=Object(r.b)("temp",c);return{[a(c)]:o,[a(s)]:o}}function pe({v:e,device:t,state:o,opacity:n,isChanged:a,prefix:l=""}){const c=Object(r.b)(l,"boxShadow"),s=Object(r.b)(c,"colorOpacity");return n=he({v:e,device:t,state:o,opacity:n,prefix:l,isChanged:a}),{[(e=>Object(i.a)({key:e,device:t,state:o}))(s)]:n}}function ue({device:e,state:t,boxShadowBlur:o=0,boxShadowSpread:n=0,boxShadowVertical:a=0,boxShadowHorizontal:l=0,prefix:c=""}){const s=o=>Object(i.a)({key:o,device:e,state:t}),d=Object(r.b)(c,"boxShadow"),p=Object(r.b)(d,"blur"),u=Object(r.b)(d,"spread"),b=Object(r.b)(d,"vertical"),h=Object(r.b)(d,"horizontal"),m=Object(r.b)("temp",p),g=Object(r.b)("temp",u),v=Object(r.b)("temp",b),y=Object(r.b)("temp",h);return{[s(p)]:o,[s(m)]:o,[s(u)]:n,[s(g)]:n,[s(b)]:a,[s(v)]:a,[s(h)]:l,[s(y)]:l}}function be({v:e,device:t,state:o,boxShadowBlur:n=0,boxShadowSpread:a=0,boxShadowVertical:i=0,boxShadowHorizontal:l=0,prefix:c=""}){const s=Math.max(n,a,i,l),d=Object(r.b)(c,"boxShadow");return m({v:e,device:t,state:o,value:s,dependencies:{[d]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(d,"colorOpacity")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(d,"colorPalette")]:{childs:[],nullValue:[],tempValue:[]}}})}function he({v:e,device:t,state:o,prefix:n="",opacity:a,isChanged:l="hex"}){const c=n=>Object(i.b)({v:e,key:n,device:t,state:o}),s=Object(r.b)(n,"boxShadow"),d=Object(r.b)(s,"colorOpacity"),p=Object(r.b)("temp",d);return"hex"!==l&&"palette"!==l||0!==c(d)?void 0===a?c(d):a:c(p)}function me(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ge(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?me(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):me(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function ve({v:e,device:t,state:o,me:n="padding",childs:a,value:i,suffix:l,sliderDragEnd:c,prefix:s=""}){const p=[],u=[],b=Object(r.b)(s,n);return a.forEach(e=>{const t=Object(r.b)(s,e);p.push(t),u.push(Object(r.b)(t,"suffix"))}),ge({},d({v:e,device:t,state:o,me:"".concat(b,"Suffix"),childs:u,value:l,dragEnd:c}),{},d({v:e,device:t,state:o,childs:p,value:i,me:b,dragEnd:c}))}function ye({v:e,device:t,state:o,value:n,suffix:a,sliderDragEnd:i,childs:l,current:c,me:s="padding",prefix:d=""}){const u=[],b=[],h=Object(r.b)(d,s),m=Object(r.b)(d,c);return l.forEach(e=>{const t=Object(r.b)(d,e);u.push(t),b.push(Object(r.b)(t,"suffix"))}),ge({},p({v:e,device:t,state:o,me:"".concat(h,"Suffix"),childs:b,current:"".concat(m,"Suffix"),value:a,dragEnd:i}),{},p({v:e,device:t,state:o,childs:u,current:m,value:n,me:h,dragEnd:i}))}function fe(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Oe(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):fe(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Ce({v:e,device:t,state:o,value:n,suffix:a}){const r=["marginTop","marginRight","marginBottom","marginLeft"],i=[];for(var l=0;l<r.length;l++)i[l]="".concat(r[l],"Suffix");return Oe({},u({v:e,device:t,state:o,parent:"".concat("margin","Suffix"),childs:i,value:a}),{},u({v:e,device:t,state:o,parent:"margin",childs:r,value:n}))}function Se({v:e,device:t,state:o,current:n,value:a,suffix:r}){const l=["marginTop","marginRight","marginBottom","marginLeft"],c=[];for(var s=0;s<l.length;s++)c[s]="".concat(l[s],"Suffix");return Oe({["".concat(Object(i.a)({key:"".concat(n,"Suffix"),device:t,state:o}))]:r},h({v:e,device:t,state:o,childs:l,current:n,value:a}),{},b({v:e,device:t,state:o,parent:"margin",childs:l,current:n,value:a}),{},b({v:e,device:t,state:o,parent:"".concat("margin","Suffix"),childs:c,current:"".concat(n,"Suffix"),value:r}))}function xe({v:e,device:t,state:o,opacity:n,isChanged:a="hex"}){return m({v:e,device:t,state:o,value:n=function({v:e,device:t,state:o,opacity:n,isChanged:a}){return"hex"===a&&0===Object(i.b)({v:e,key:"boxShadowColorOpacity",device:t,state:o})?Object(i.b)({v:e,key:"tempBoxShadowColorOpacity",device:t,state:o}):void 0===n?Object(i.b)({v:e,key:"boxShadowColorOpacity",device:t,state:o}):n}({v:e,device:t,state:o,opacity:n,isChanged:a}),dependencies:{boxShadowBlur:{childs:[],nullValue:[],tempValue:[]},boxShadowVertical:{childs:[],nullValue:[],tempValue:[]}}})}function je({v:e,device:t,state:o,hex:n,opacity:a,isChanged:r="hex",opacityDragEnd:l=!1}){const c=(a=ze({v:e,device:t,state:o,opacity:a,isChanged:r}))>0&&l?a:Object(i.b)({v:e,key:"tempBg2ColorOpacity",device:t,state:o});return{[Object(i.a)({key:"bg2ColorHex",device:t,state:o})]:n,[Object(i.a)({key:"bg2ColorOpacity",device:t,state:o})]:a,[Object(i.a)({key:"tempBg2ColorOpacity",device:t,state:o})]:c}}function Be({v:e,device:t,state:o,opacity:n,isChanged:a="hex"}){n=ze({v:e,device:t,state:o,opacity:n,isChanged:a});const r="hex"===a||0===n?"":n>0?Object(i.b)({v:e,key:"tempBg2ColorPalette",device:t,state:o}):Object(i.b)({v:e,key:"bg2ColorPalette",device:t,state:o}),l="hex"===a?"":Object(i.b)({v:e,key:"tempBg2ColorPalette",device:t,state:o});return{[Object(i.a)({key:"bg2ColorPalette",device:t,state:o})]:r,[Object(i.a)({key:"tempBg2ColorPalette",device:t,state:o})]:l}}function Pe({v:e,device:t,state:o,opacity:n,isChanged:a="hex"}){return m({v:e,device:t,state:o,value:n=ze({v:e,device:t,state:o,opacity:n,isChanged:a}),dependencies:{borderRadius:{childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nullValue:["bg2ImageSrc","borderColorOpacity"],tempValue:[]}}})}function we({device:e,state:t,palette:o}){return{[Object(i.a)({key:"bg2ColorPalette",device:e,state:t})]:o,[Object(i.a)({key:"tempBg2ColorPalette",device:e,state:t})]:o}}function Te({v:e,device:t,state:o,opacity:n,isChanged:a="hex"}){return n=ze({v:e,device:t,state:o,opacity:n,isChanged:a}),{[Object(i.a)({key:"bg2ColorOpacity",device:t,state:o})]:n}}function ze({v:e,device:t,state:o,opacity:n,isChanged:a}){return"hex"===a&&0===Object(i.b)({v:e,key:"bg2ColorOpacity",device:t,state:o})&&1===Object(i.b)({v:e,key:"tempBg2ColorOpacity",device:t,state:o})&&""!==Object(i.b)({v:e,key:"bg2ImageSrc",device:t,state:o})?.9:"hex"===a&&0===Object(i.b)({v:e,key:"bg2ColorOpacity",device:t,state:o})?Object(i.b)({v:e,key:"tempBg2ColorOpacity",device:t,state:o}):void 0===n?Object(i.b)({v:e,key:"bg2ColorOpacity",device:t,state:o}):n}function ke({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{borderColorHex:t,borderColorOpacity:o=t!==e.borderColorHex&&0===e.borderColorOpacity?e.tempBorderColorOpacity:o,borderColorPalette:"hex"===n?"":e.borderColorPalette,tempBorderColorOpacity:o>0?o:e.tempBorderColorOpacity,tempBorderColorPalette:"hex"===n?"":e.tempBorderColorPalette,padding:0===o&&0===e.bgColorOpacity?0:o>0?e.tempPadding:e.padding,borderRadiusType:0===o&&0===e.bgColorOpacity?"":o>0?e.tempBorderRadiusType:e.borderRadiusType,fillType:0===o&&0===e.bgColorOpacity?"default":o>0&&0===e.bgColorOpacity?"outline":e.fillType,borderWidth:0===o?0:o>0?e.tempBorderWidth:e.borderWidth,bgColorOpacity:o>0&&e.bgColorOpacity>0?e.tempBgColorOpacity:e.bgColorOpacity,hoverBgColorHex:e.bgColorHex===e.hoverBgColorHex?t:e.hoverBgColorHex,hoverBgColorOpacity:0===o&&0===e.bgColorOpacity?0:e.bgColorOpacity===e.hoverBgColorOpacity?o:e.hoverBgColorOpacity}}function Ee({v:e,palette:t}){return{borderColorPalette:t,tempBorderColorPalette:t,borderColorOpacity:0===e.borderColorOpacity?e.tempBorderColorOpacity:e.borderColorOpacity,padding:e.tempPadding,borderRadiusType:e.tempBorderRadiusType,fillType:0===e.bgColorOpacity?"outline":e.bgColorOpacity>0?"filled":e.fillType,borderWidth:e.tempBorderWidth}}function He({v:e,hex:t,opacity:o,isChanged:n}){return{borderColorPalette:"hex"===n?"":e.borderColorPalette,borderColorHex:t,borderColorOpacity:o}}function _e({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverBorderColorHex:t,hoverBorderColorOpacity:t!==e.hoverBorderColorHex&&0==e.hoverBorderColorOpacity?e.tempHoverBorderColorOpacity:o,hoverBorderColorPalette:"hex"===n?"":e.hoverBorderColorPalette}}function Re({v:e,palette:t}){return{hoverBorderColorPalette:t,hoverBorderColorOpacity:0===e.hoverBorderColorOpacity?e.tempHoverBorderColorOpacity:e.hoverBorderColorOpacity}}function Me({v:e,hex:t,opacity:o,isChanged:n}){return{hoverBorderColorPalette:"hex"===n?"":e.hoverBorderColorPalette,hoverBorderColorHex:t,hoverBorderColorOpacity:o}}function Ie({v:e,hex:t,opacity:o,isChanged:n="hex",opacityDragEnd:a=!1}){return{borderColorHex:t,borderColorOpacity:o=t!==e.borderColorHex&&0===e.borderColorOpacity?e.tempBorderColorOpacity:o,tempBorderColorOpacity:o>0&&a?o:e.tempBorderColorOpacity,borderColorPalette:"hex"===n?"":e.borderColorPalette,tempBorderColorPalette:"hex"===n?"":e.tempBorderColorPalette,paddingRL:0===o&&0===e.bgColorOpacity?0:o>0?e.tempPaddingRL:e.paddingRL,paddingRight:0===o&&0===e.bgColorOpacity?0:o>0?e.tempPaddingRight:e.paddingRight,paddingLeft:0===o&&0===e.bgColorOpacity?0:o>0?e.tempPaddingLeft:e.paddingRight,paddingTB:0===o&&0===e.bgColorOpacity?e.tempPaddingTB:e.paddingTB,paddingTop:0===o&&0===e.bgColorOpacity?e.tempPaddingTop:e.paddingTop,paddingBottom:0===o&&0===e.bgColorOpacity?e.tempPaddingBottom:e.paddingBottom,fillType:0===o&&0===e.bgColorOpacity?"default":o>0&&0===e.bgColorOpacity?"outline":e.fillType,borderRadiusType:0===o&&0===e.bgColorOpacity?"":o>0?e.tempBorderRadiusType:e.borderRadiusType,borderWidth:0===o?0:o>0?e.tempBorderWidth:e.borderWidth,bgColorOpacity:o>0&&e.bgColorOpacity>0?e.tempBgColorOpacity:e.bgColorOpacity,hoverBgColorHex:e.bgColorHex===e.hoverBgColorHex?t:e.hoverBgColorHex,hoverBgColorOpacity:0===o&&0===e.bgColorOpacity?0:e.bgColorOpacity===e.hoverBgColorOpacity?o:e.hoverBgColorOpacity}}function Fe({v:e,palette:t}){return{borderColorPalette:t,tempBorderColorPalette:t,borderColorOpacity:0===e.borderColorOpacity?e.tempBorderColorOpacity:e.borderColorOpacity,borderRadiusType:e.tempBorderRadiusType,fillType:0===e.bgColorOpacity?"outline":e.bgColorOpacity>0?"filled":e.fillType,borderWidth:e.tempBorderWidth}}function Ne({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{borderColorPalette:"hex"===n?"":e.borderColorPalette,borderColorHex:t,borderColorOpacity:o}}function Le({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverBorderColorHex:t,hoverBorderColorOpacity:t!==e.hoverBorderColorHex&&0==e.hoverBorderColorOpacity?e.tempHoverBorderColorOpacity:o,hoverBorderColorPalette:"hex"===n?"":e.hoverBorderColorPalette}}function We({v:e,palette:t}){return{hoverBorderColorPalette:t,hoverBorderColorOpacity:0===e.hoverBorderColorOpacity?e.tempHoverBorderColorOpacity:e.hoverBorderColorOpacity}}function Ve({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverBorderColorPalette:"hex"===n?"":e.hoverBorderColorPalette,hoverBorderColorHex:t,hoverBorderColorOpacity:o}}function De({v:e,hex:t,opacity:o,isChanged:n="hex",opacityDragEnd:a=!1}){return{bgColorHex:t,bgColorOpacity:o=t!==e.bgColorHex&&0===e.bgColorOpacity?e.tempBgColorOpacity:o,bgColorPalette:"hex"===n?"":e.bgColorPalette,tempBgColorPalette:"hex"===n?"":e.tempBgColorPalette,tempBgColorOpacity:o>0&&a?o:e.tempBgColorOpacity,borderRadiusType:0===o&&0===e.borderColorOpacity?"":o>0?e.tempBorderRadiusType:e.borderRadiusType,fillType:0===o&&0===e.borderColorOpacity?"default":0===o&&e.borderColorOpacity>0?"outline":o>0?"filled":e.fillType,borderWidth:0===o&&0===e.borderColorOpacity?0:e.borderWidth,borderColorHex:""!==e.bgColorPalette&&e.bgColorPalette===e.borderColorPalette&&"filled"===e.fillType?t:""===e.bgColorPalette&&e.bgColorHex===e.borderColorHex&&"filled"===e.fillType?t:e.borderColorHex,borderColorPalette:""!==e.bgColorPalette&&e.bgColorPalette===e.borderColorPalette&&"filled"===e.fillType?"":e.borderColorPalette,tempBorderColorPalette:""!==e.bgColorPalette&&e.bgColorPalette===e.borderColorPalette&&"filled"===e.fillType?"":e.tempBorderColorPalette,borderColorOpacity:""===e.bgColorPalette&&e.bgColorHex===e.borderColorHex&&e.bgColorOpacity===e.tempBorderColorOpacity&&"filled"===e.fillType?0:0===o&&0===e.borderColorOpacity?0:e.borderColorOpacity,hoverBgColorOpacity:0===o&&0===e.borderColorOpacity?0:o>0?e.tempHoverBgColorOpacity:e.hoverBgColorOpacity,hoverBorderColorHex:e.borderColorHex===e.hoverBorderColorHex?t:e.hoverBorderColorHex,hoverBorderColorOpacity:0===o&&0===e.bgColorOpacity?0:e.hoverBorderColorOpacity}}function Ae({v:e,palette:t}){return{bgColorPalette:t,tempBgColorPalette:t,bgColorOpacity:0===e.bgColorOpacity?e.tempBgColorOpacity:e.bgColorOpacity,borderRadiusType:e.tempBorderRadiusType,fillType:"filled",borderColorPalette:""!==e.bgColorPalette&&e.bgColorPalette===e.borderColorPalette&&"filled"===e.fillType?t:""===e.bgColorPalette&&e.bgColorHex===e.borderColorHex&&"filled"===e.fillType?t:e.borderColorPalette,tempBorderColorPalette:""!==e.bgColorPalette&&e.bgColorPalette===e.borderColorPalette&&"filled"===e.fillType?t:""===e.bgColorPalette&&e.bgColorHex===e.borderColorHex&&"filled"===e.fillType?t:e.borderColorPalette,hoverBgColorOpacity:e.tempHoverBgColorOpacity}}function Ge({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{bgColorPalette:"hex"===n?"":e.bgColorPalette,bgColorHex:t,bgColorOpacity:o}}function Ue({v:e,hex:t,opacity:o,isChanged:n="hex",opacityDragEnd:a=!1}){return{hoverBgColorHex:t,hoverBgColorOpacity:o=t!==e.hoverBgColorHex&&0===e.hoverBgColorOpacity?e.tempHoverBgColorOpacity:o,tempHoverBgColorOpacity:o>0&&a?o:e.tempHoverBgColorOpacity,hoverBgColorPalette:"hex"===n?"":e.hoverBgColorPalette,tempHoverBgColorPalette:"hex"===n?"":e.tempHoverBgColorPalette,hoverBorderColorHex:""!==e.hoverBgColorPalette&&e.hoverBgColorPalette===e.hoverBorderColorPalette&&"filled"===e.fillType?t:""===e.hoverBgColorPalette&&e.hoverBgColorHex===e.hoverBorderColorHex&&"filled"===e.fillType?t:e.hoverBorderColorHex,hoverBorderColorPalette:""!==e.hoverBgColorPalette&&e.hoverBgColorPalette===e.hoverBorderColorPalette&&"filled"===e.fillType?"":e.hoverBorderColorPalette,tempHoverBorderColorPalette:""!==e.hoverBgColorPalette&&e.hoverBgColorPalette===e.hoverBorderColorPalette&&"filled"===e.fillType?"":e.tempHoverBorderColorPalette,hoverBorderColorOpacity:""===e.hoverBgColorPalette&&e.hoverBgColorHex===e.hoverBorderColorHex&&e.hoverBgColorOpacity===e.tempHoverBorderColorOpacity&&"filled"===e.fillType?0:e.hoverBorderColorOpacity}}function Ke({v:e,palette:t}){return{hoverBgColorPalette:t,hoverBgColorOpacity:0===e.hoverBgColorOpacity?e.tempHoverBgColorOpacity:e.hoverBgColorOpacity,hoverBorderColorPalette:""!==e.hoverBgColorPalette&&e.hoverBgColorPalette===e.hoverBorderColorPalette&&"filled"===e.fillType?t:""===e.hoverBgColorPalette&&e.hoverBgColorHex===e.hoverBorderColorHex&&"filled"===e.fillType?t:e.hoverBorderColorPalette,tempHoverBorderColorPalette:""!==e.hoverBgColorPalette&&e.hoverBgColorPalette===e.hoverBorderColorPalette&&"filled"===e.fillType?t:""===e.hoverBgColorPalette&&e.hoverBgColorHex===e.hoverBorderColorHex&&"filled"===e.fillType?t:e.hoverBorderColorPalette}}function qe({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverBgColorPalette:"hex"===n?"":e.hoverBgColorPalette,hoverBgColorHex:t,hoverBgColorOpacity:o}}function Ye({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a}){return{colorHex:t,colorOpacity:o=t!==e.colorHex&&0==e.colorOpacity?e.tempColorOpacity:o,colorPalette:"hex"===n?"":e.colorPalette,tempColorOpacity:o>0&&a?o:e.tempColorOpacity,hoverColorHex:e.colorHex===e.hoverColorHex?t:e.hoverColorHex,hoverColorOpacity:e.colorOpacity===e.hoverColorOpacity?o:e.hoverColorOpacity}}function Xe({v:e,palette:t}){return{colorPalette:t,colorOpacity:0===e.colorOpacity?e.tempColorOpacity:e.colorOpacity}}function Ze({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{colorPalette:"hex"===n?"":e.colorPalette,colorHex:t,colorOpacity:o}}function Je({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverColorHex:t,hoverColorOpacity:t!==e.hoverColorHex&&0==e.hoverColorOpacity?e.tempHoverColorOpacity:o,hoverColorPalette:"hex"===n?"":e.hoverColorPalette}}function $e({v:e,palette:t}){return{hoverColorPalette:t,hoverColorOpacity:0===e.hoverColorOpacity?e.tempHoverColorOpacity:e.hoverColorOpacity}}function Qe({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverColorPalette:"hex"===n?"":e.hoverColorPalette,hoverColorHex:t,hoverColorOpacity:o}}function et({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a}){return{colorHex:t,colorOpacity:o=t!==e.colorHex&&0===e.colorOpacity?e.tempColorOpacity:o,colorPalette:"hex"===n?"":e.colorPalette,tempColorOpacity:o>0&&a?o:e.tempColorOpacity,hoverColorHex:e.colorHex===e.hoverColorHex?t:e.hoverColorHex,hoverColorOpacity:e.colorOpacity===e.hoverColorOpacity?o:e.hoverColorOpacity}}function tt({v:e,palette:t}){return{colorPalette:t,colorOpacity:0===e.colorOpacity?e.tempColorOpacity:e.colorOpacity,hoverColorPalette:e.colorPalette===e.hoverColorPalette?t:e.hoverColorPalette}}function ot({v:e,hex:t,opacity:o,isChanged:n}){return{colorPalette:"hex"===n?"":e.colorPalette,colorHex:t,colorOpacity:o,hoverColorHex:e.colorHex===e.hoverColorHex?t:e.hoverColorHex,hoverColorOpacity:e.colorOpacity===e.hoverColorOpacity?o:e.hoverColorOpacity}}function nt({v:e,hex:t,opacity:o,isChanged:n}){return o=t!==e.colorHex&&0===e.colorOpacity?e.tempColorOpacity:o,{hoverColorHex:t,hoverColorOpacity:t!==e.hoverColorHex&&0===e.hoverColorOpacity?e.tempHoverColorOpacity:o,hoverColorPalette:"hex"===n?"":e.hoverColorPalette}}function at({v:e,palette:t}){return{hoverColorPalette:t,hoverColorOpacity:0===e.hoverColorOpacity?e.tempHoverColorOpacity:e.hoverColorOpacity}}function rt({v:e,hex:t,opacity:o,isChanged:n}){return{hoverColorPalette:"hex"===n?"":e.hoverColorPalette,hoverColorHex:t,hoverColorOpacity:o}}function it({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a}){return{mMenuColorHex:t,mMenuColorOpacity:o=t!==e.mMenuColorHex&&0==e.mMenuColorOpacity?e.mMenuTempColorOpacity:o,mMenuColorPalette:"hex"===n?"":e.mMenuColorPalette,mMenuTempColorOpacity:o>0&&a?o:e.mMenuTempColorOpacity,mMenuHoverColorHex:e.mMenuColorHex===e.mMenuHoverColorHex?t:e.mMenuHoverColorHex,mMenuHoverColorOpacity:e.mMenuColorOpacity===e.mMenuHoverColorOpacity?o:e.mMenuHoverColorOpacity}}function lt({v:e,palette:t}){return{mMenuColorPalette:t,mMenuColorOpacity:0===e.mMenuColorOpacity?e.mMenuTempColorOpacity:e.mMenuColorOpacity}}function ct({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuColorPalette:"hex"===n?"":e.mMenuColorPalette,mMenuColorHex:t,mMenuColorOpacity:o}}function st({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuHoverColorHex:t,mMenuHoverColorOpacity:t!==e.mMenuHoverColorHex&&0==e.mMenuHoverColorOpacity?e.mMenuTempHoverColorOpacity:o,mMenuHoverColorPalette:"hex"===n?"":e.mMenuHoverColorPalette}}function dt({v:e,palette:t}){return{mMenuHoverColorPalette:t,mMenuHoverColorOpacity:0===e.mMenuHoverColorOpacity?e.mMenuTempHoverColorOpacity:e.mMenuHoverColorOpacity}}function pt({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuHoverColorPalette:"hex"===n?"":e.mMenuHoverColorPalette,mMenuHoverColorHex:t,mMenuHoverColorOpacity:o}}function ut({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a}){return{subMenuColorHex:t,subMenuColorOpacity:o=t!==e.subMenuColorHex&&0===e.subMenuColorOpacity?e.subMenuTempColorOpacity:o,subMenuColorPalette:"hex"===n?"":e.subMenuColorPalette,subMenuTempColorOpacity:o>0&&a?o:e.subMenuTempColorOpacity,subMenuHoverColorHex:e.subMenuColorHex===e.subMenuHoverColorHex?t:e.subMenuHoverColorHex,subMenuHoverColorOpacity:e.subMenuColorOpacity===e.subMenuHoverColorOpacity?o:e.subMenuHoverColorOpacity,mMenuColorHex:e.subMenuColorHex===e.mMenuColorHex?t:e.mMenuColorHex,mMenuColorOpacity:e.subMenuColorOpacity===e.mMenuColorOpacity?o:e.mMenuColorOpacity,mMenuHoverColorHex:e.subMenuColorHex===e.mMenuHoverColorHex?t:e.mMenuHoverColorHex,mMenuHoverColorOpacity:e.subMenuColorOpacity===e.mMenuHoverColorOpacity?o:e.mMenuHoverColorOpacity}}function bt({v:e,palette:t}){return{subMenuColorPalette:t,subMenuColorOpacity:0===e.subMenuColorOpacity?e.subMenuTempColorOpacity:e.subMenuColorOpacity,subMenuHoverColorPalette:e.subMenuColorPalette===e.subMenuHoverColorPalette?t:e.subMenuHoverColorPalette,mMenuColorPalette:e.subMenuColorPalette===e.mMenuColorPalette?t:e.mMenuColorPalette,mMenuHoverColorPalette:e.subMenuColorPalette===e.mMenuHoverColorPalette?t:e.mMenuHoverColorPalette}}function ht({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuColorPalette:"hex"===n?"":e.subMenuColorPalette,subMenuColorHex:t,subMenuColorOpacity:o,subMenuHoverColorHex:e.subMenuColorHex===e.subMenuHoverColorHex?t:e.subMenuHoverColorHex,subMenuHoverColorOpacity:e.subMenuColorOpacity===e.subMenuHoverColorOpacity?t:e.subMenuHoverColorOpacity,mMenuColorHex:e.subMenuColorHex===e.mMenuColorHex?t:e.mMenuBgColorHex,mMenuColorOpacity:e.subMenuColorOpacity===e.mMenuColorOpacity?o:e.mMenuColorOpacity,mMenuHoverColorHex:e.subMenuColorHex===e.mMenuHoverColorHex?t:e.mMenuHoverColorHex,mMenuHoverColorOpacity:e.subMenuColorOpacity===e.mMenuHoverColorOpacity?o:e.mMenuHoverColorOpacity}}function mt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuHoverColorHex:t,subMenuHoverColorOpacity:t!==e.subMenuHoverColorHex&&0===e.subMenuHoverColorOpacity?e.subMenuTempHoverColorOpacity:o,subMenuHoverColorPalette:"hex"===n?"":e.subMenuHoverColorPalette,mMenuHoverColorHex:e.subMenuHoverColorHex===e.mMenuHoverColorHex?t:e.mMenuHoverColorHex,mMenuHoverColorOpacity:e.subMenuHoverColorOpacity===e.mMenuHoverColorOpacity?o:e.mMenuHoverColorOpacity}}function gt({v:e,palette:t}){return{subMenuHoverColorPalette:t,subMenuHoverColorOpacity:0===e.subMenuHoverColorOpacity?e.subMenuTempHoverColorOpacity:e.subMenuHoverColorOpacity,mMenuHoverColorPalette:e.subMenuHoverColorPalette===e.mMenuHoverColorPalette?t:e.mMenuHoverColorPalette}}function vt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuHoverColorPalette:"hex"===n?"":e.subMenuHoverColorPalette,subMenuHoverColorHex:t,subMenuHoverColorOpacity:o,mMenuHoverColorHex:e.subMenuHoverColorHex===e.mMenuHoverColorHex?t:e.mMenuHoverColorHex,mMenuHoverColorOpacity:e.subMenuHoverColorOpacity===e.mMenuHoverColorOpacity?o:e.mMenuHoverColorOpacity}}function yt({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuIconColorHex:t,mMenuIconColorOpacity:t!==e.mMenuIconColorHex&&0===e.mMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o,mMenuIconColorPalette:"hex"===n?"":e.mMenuIconColorPalette}}function ft({v:e,palette:t}){return{mMenuIconColorPalette:t,mMenuIconColorHex:"",mMenuIconColorOpacity:0===e.mMenuIconColorOpacity?e.mMenuTempIconColorOpacity:e.mMenuIconColorOpacity}}function Ot({v:e,hex:t,opacity:o,isChanged:n}){const a=t!==e.mMenuIconColorHex&&0===e.mMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o;return{mMenuIconColorPalette:"hex"===n?"":e.mMenuIconColorPalette,mMenuIconColorHex:t,mMenuIconColorOpacity:a}}function Ct({v:e,hex:t,opacity:o,isChanged:n}){return{tabletMMenuIconColorHex:t,tabletMMenuIconColorOpacity:t!==e.tabletMMenuIconColorHex&&0===e.tabletMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o,tabletMMenuIconColorPalette:"hex"===n?"":e.tabletMMenuIconColorPalette}}function St({v:e,palette:t}){return{tabletMMenuIconColorPalette:t,tabletMMenuIconColorHex:"",tabletMMenuIconColorOpacity:0===e.tabletMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:e.tabletMMenuIconColorOpacity}}function xt({v:e,hex:t,opacity:o,isChanged:n}){const a=t!==e.tabletMMenuIconColorHex&&0===e.tabletMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o;return{tabletMMenuIconColorPalette:"hex"===n?"":e.tabletMMenuIconColorPalette,tabletMMenuIconColorHex:t,tabletMMenuIconColorOpacity:a}}function jt({v:e,hex:t,opacity:o,isChanged:n}){return{mobileMMenuIconColorHex:t,mobileMMenuIconColorOpacity:t!==e.mobileMMenuIconColorHex&&0===e.mobileMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o,mobileMMenuIconColorPalette:"hex"===n?"":e.mobileMMenuIconColorPalette}}function Bt({v:e,palette:t}){return{mobileMMenuIconColorPalette:t,mobileMMenuIconColorHex:"",mobileMMenuIconColorOpacity:0===e.mobileMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:e.mobileMMenuIconColorOpacity}}function Pt({v:e,hex:t,opacity:o,isChanged:n}){const a=t!==e.mobileMMenuIconColorHex&&0===e.mobileMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o;return{mobileMMenuIconColorPalette:"hex"===n?"":e.mobileMMenuIconColorPalette,mobileMMenuIconColorHex:t,mobileMMenuIconColorOpacity:a}}function wt({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a}){return{mMenuBgColorHex:t,mMenuBgColorOpacity:o=t!==e.mMenuBgColorHex&&0==e.mMenuBgColorOpacity?e.mMenuTempBgColorOpacity:o,mMenuBgColorPalette:"hex"===n?"":e.mMenuBgColorPalette,mMenuTempBgColorOpacity:o>0&&a?o:e.mMenuTempBgColorOpacity}}function Tt({v:e,palette:t}){return{mMenuBgColorPalette:t,mMenuBgColorOpacity:0===e.mMenuBgColorOpacity?e.mMenuTempBgColorOpacity:e.mMenuBgColorOpacity}}function zt({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuBgColorPalette:"hex"===n?"":e.mMenuBgColorPalette,mMenuBgColorHex:t,mMenuBgColorOpacity:o}}function kt({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a=!1}){return{subMenuBgColorHex:t,subMenuBgColorOpacity:o=t!==e.subMenuBgColorHex&&0===e.subMenuBgColorOpacity?e.subMenuTempBgColorOpacity:o,subMenuBgColorPalette:"hex"===n?"":e.subMenuBgColorPalette,subMenuTempBgColorOpacity:o>0&&a?o:e.subMenuTempBgColorOpacity,subMenuHoverBgColorHex:e.subMenuBgColorHex===e.subMenuHoverBgColorHex?t:e.subMenuHoverBgColorHex,subMenuHoverBgColorOpacity:e.subMenuBgColorOpacity===e.subMenuHoverBgColorOpacity?t:e.subMenuHoverBgColorOpacity,mMenuBgColorHex:e.subMenuBgColorHex===e.mMenuBgColorHex?t:e.mMenuBgColorHex,mMenuBgColorOpacity:e.subMenuBgColorOpacity===e.mMenuBgColorOpacity?o:e.mMenuBgColorOpacity}}function Et({v:e,palette:t}){return{subMenuBgColorPalette:t,subMenuBgColorOpacity:0===e.subMenuBgColorOpacity?e.subMenuTempBgColorOpacity:e.subMenuBgColorOpacity,subMenuHoverBgColorPalette:e.subMenuBgColorPalette===e.subMenuHoverBgColorPalette?t:e.subMenuHoverBgColorPalette,mMenuBgColorPalette:e.subMenuBgColorPalette===e.mMenuBgColorPalette?t:e.mMenuBgColorPalette}}function Ht({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuBgColorPalette:"hex"===n?"":e.subMenuBgColorPalette,subMenuBgColorHex:t,subMenuBgColorOpacity:o,subMenuHoverBgColorHex:e.subMenuBgColorHex===e.subMenuHoverBgColorHex?t:e.subMenuHoverBgColorHex,subMenuHoverBgColorOpacity:e.subMenuBgColorOpacity===e.subMenuHoverBgColorOpacity?t:e.subMenuHoverBgColorOpacity,mMenuBgColorHex:e.subMenuBgColorHex===e.mMenuBgColorHex?t:e.mMenuBgColorHex,mMenuBgColorOpacity:e.subMenuBgColorOpacity===e.mMenuBgColorOpacity?o:e.mMenuBgColorOpacity}}function _t({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuHoverBgColorHex:t,subMenuHoverBgColorOpacity:t!==e.subMenuHoverBgColorHex&&0===e.subMenuHoverBgColorOpacity?e.subMenuTempHoverBgColorOpacity:o,subMenuHoverBgColorPalette:"hex"===n?"":e.subMenuHoverBgColorPalette}}function Rt({v:e,palette:t}){return{subMenuHoverBgColorPalette:t,subMenuHoverBgColorOpacity:0===e.subMenuHoverBgColorOpacity?e.subMenuTempHoverBgColorOpacity:e.subMenuHoverBgColorOpacity}}function Mt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuHoverBgColorPalette:"hex"===n?"":e.subMenuHoverBgColorPalette,subMenuHoverBgColorHex:t,subMenuHoverBgColorOpacity:o}}function It({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a}){return{mMenuBorderColorHex:t,mMenuBorderColorOpacity:o=t!==e.mMenuBorderColorHex&&0==e.mMenuBorderColorOpacity?e.mMenuTempBorderColorOpacity:o,mMenuBorderColorPalette:"hex"===n?"":e.mMenuBorderColorPalette,mMenuTempBorderColorOpacity:o>0&&a?o:e.mMenuTempBorderColorOpacity}}function Ft({v:e,palette:t}){return{mMenuBorderColorPalette:t,mMenuBorderColorOpacity:0===e.mMenuBorderColorOpacity?e.mMenuTempBorderColorOpacity:e.mMenuBorderColorOpacity}}function Nt({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuBorderColorPalette:"hex"===n?"":e.mMenuBorderColorPalette,mMenuBorderColorHex:t,mMenuBorderColorOpacity:o}}function Lt({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a}){return{subMenuBorderColorHex:t,subMenuBorderColorOpacity:o=t!==e.subMenuBorderColorHex&&0===e.subMenuBorderColorOpacity?e.subMenuTempBorderColorOpacity:o,subMenuBorderColorPalette:"hex"===n?"":e.subMenuBorderColorPalette,subMenuTempBorderColorOpacity:o>0&&a?o:e.subMenuTempBorderColorOpacity,mMenuBorderColorHex:e.subMenuBorderColorHex===e.mMenuBorderColorHex?t:e.mMenuBorderColorHex,mMenuBorderColorOpacity:e.subMenuBorderColorOpacity===e.mMenuBorderColorOpacity?o:e.mMenuBorderColorOpacity}}function Wt({v:e,palette:t}){return{subMenuBorderColorPalette:t,subMenuBorderColorOpacity:0===e.subMenuBorderColorOpacity?e.subMenuTempBorderColorOpacity:e.subMenuBorderColorOpacity,mMenuBorderColorPalette:e.subMenuBorderColorPalette===e.mMenuBorderColorPalette?t:e.mMenuBorderColorPalette}}function Vt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuBorderColorPalette:"hex"===n?"":e.subMenuBorderColorPalette,subMenuBorderColorHex:t,subMenuBorderColorOpacity:o,mMenuBorderColorHex:e.subMenuBorderColorHex===e.mMenuBorderColorHex?t:e.mMenuBorderColorHex,mMenuBorderColorOpacity:e.subMenuBorderColorOpacity===e.mMenuBorderColorOpacity?o:e.mMenuBorderColorOpacity}}var Dt=o(23);function At(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Gt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?At(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):At(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Ut(e,t){const{fontSize:o,fontFamily:n,fontFamilyType:a,lineHeight:r,letterSpacing:i,fontWeight:l}=""===t.fontStyle?t:Object(Dt.e)(t.fontStyle);return Gt({fontSize:o,fontFamily:n,fontFamilyType:a,lineHeight:r,letterSpacing:i,fontWeight:l,fontStyle:""},e)}function Kt(e,t){const{tabletFontSize:o,tabletLineHeight:n,tabletLetterSpacing:a,tabletFontWeight:r}=""===t.tabletFontStyle?t:Object(Dt.e)(t.tabletFontStyle);return Gt({tabletFontSize:o,tabletLineHeight:n,tabletLetterSpacing:a,tabletFontWeight:r,tabletFontStyle:""},e)}function qt(e,t){const{mobileFontSize:o,mobileLineHeight:n,mobileLetterSpacing:a,mobileFontWeight:r}=""===t.mobileFontStyle?t:Object(Dt.e)(t.mobileFontStyle);return Gt({mobileFontSize:o,mobileLineHeight:n,mobileLetterSpacing:a,mobileFontWeight:r,mobileFontStyle:""},e)}var Yt=o(12);function Xt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Zt({v:e,prefix:t="",current:o,value:n,weights:l,type:c,device:s,state:d}){const p=Object(i.a)({key:Object(r.b)(t,"fontStyle"),device:s,state:d}),u=Object(i.a)({key:Object(r.b)(t,"fontFamily"),device:s,state:d}),b=Object(i.a)({key:Object(r.b)(t,"fontFamilyType"),device:s,state:d}),h=Object(i.a)({key:Object(r.b)(t,"fontSize"),device:s,state:d}),m=Object(i.a)({key:Object(r.b)(t,"lineHeight"),device:s,state:d}),g=Object(i.a)({key:Object(r.b)(t,"letterSpacing"),device:s,state:d}),v=Object(i.a)({key:Object(r.b)(t,"fontWeight"),device:s,state:d}),y=Object(Yt.e)("fontFamilyType",Object(i.b)({v:e,key:Object(r.b)(t,"fontFamilyType"),device:s,state:d}),Object(i.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:d})),f=Object(Yt.e)("fontFamily",Object(i.b)({v:e,key:Object(r.b)(t,"fontFamily"),device:s,state:d}),Object(i.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:d})),O=Object(Yt.e)("fontSize",Object(i.b)({v:e,key:Object(r.b)(t,"fontSize"),device:s,state:d}),Object(i.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:d})),C=Object(Yt.e)("lineHeight",Object(i.b)({v:e,key:Object(r.b)(t,"lineHeight"),device:s,state:d}),Object(i.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:d})),S=Object(Yt.e)("letterSpacing",Object(i.b)({v:e,key:Object(r.b)(t,"letterSpacing"),device:s,state:d}),Object(i.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:d})),x=Object(Yt.e)("fontWeight",Object(i.b)({v:e,key:Object(r.b)(t,"fontWeight"),device:s,state:d}),Object(i.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:d}));return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Xt(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Xt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({[p]:""},o===u?{[u]:n,[b]:c}:{[u]:f,[b]:y},{},o===h?{[h]:n}:{[h]:O},{},o===m?{[m]:n}:{[m]:C},{},o===g?{[g]:n}:{[g]:S},{},o===v?{[v]:n}:o===u?{[v]:Object(Dt.m)(x,l)}:{[v]:x})}o.d(t,"saveOnChanges",(function(){return s})),o.d(t,"defaultValueKey",(function(){return i.a})),o.d(t,"defaultValueValue",(function(){return i.b})),o.d(t,"deviceStateValueByKey",(function(){return i.c})),o.d(t,"makeKeyByStateDevice",(function(){return i.e})),o.d(t,"onChangeBgImage",(function(){return v})),o.d(t,"onChangeBgImageBgOpacity",(function(){return y})),o.d(t,"onChangeBgImageDependencies",(function(){return f})),o.d(t,"onChangeBgImageColumnAndRowSyncMobile",(function(){return O})),o.d(t,"onChangeBorderStyle2",(function(){return S})),o.d(t,"onChangeElementBorderStyleDependencies2",(function(){return x})),o.d(t,"onChangeContainerBorderStyleDependencies2",(function(){return j})),o.d(t,"onChangeBorderColorHexAndOpacity2",(function(){return B})),o.d(t,"onChangeBorderColorHexAndOpacityPalette2",(function(){return P})),o.d(t,"onChangeElementBorderColorHexAndOpacityDependencies2",(function(){return w})),o.d(t,"onChangeContainerBorderColorHexAndOpacityDependencies2",(function(){return T})),o.d(t,"onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2",(function(){return z})),o.d(t,"onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2",(function(){return k})),o.d(t,"onChangeBorderColorPalette2",(function(){return E})),o.d(t,"onChangeBorderColorPaletteOpacity2",(function(){return H})),o.d(t,"onChangeBorderWidthType2",(function(){return _})),o.d(t,"onChangeBorderWidthGrouped2",(function(){return R})),o.d(t,"onChangeBorderWidthGroupedDependencies2",(function(){return M})),o.d(t,"onChangeBorderWidthUngrouped2",(function(){return I})),o.d(t,"onChangeBorderWidthUngroupedDependencies2",(function(){return F})),o.d(t,"onChangeBorderRadiusGrouped",(function(){return V})),o.d(t,"onChangeBorderRadiusGroupedDependencies",(function(){return D})),o.d(t,"onChangeBorderRadiusUngrouped",(function(){return A})),o.d(t,"onChangeBorderRadiusUngroupedDependencies",(function(){return G})),o.d(t,"onChangeColorHexAndOpacity",(function(){return U})),o.d(t,"onChangeColorHexAndOpacityPalette",(function(){return K})),o.d(t,"onChangeColorPalette",(function(){return q})),o.d(t,"onChangeColorPaletteOpacity",(function(){return Y})),o.d(t,"onChangeBgColorType2",(function(){return Z})),o.d(t,"onChangeGradientRange2",(function(){return J})),o.d(t,"onChangeBgColorHexAndOpacity2",(function(){return $})),o.d(t,"onChangeBgColorHexAndOpacityPalette2",(function(){return Q})),o.d(t,"onChangeBgColorHexAndOpacityDependencies2",(function(){return ee})),o.d(t,"onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2",(function(){return te})),o.d(t,"onChangeBgColorPalette2",(function(){return oe})),o.d(t,"onChangeBgColorPaletteOpacity2",(function(){return ne})),o.d(t,"onChangeBoxShadowHexAndOpacity2",(function(){return le})),o.d(t,"onChangeBoxShadowHexAndOpacityPalette2",(function(){return ce})),o.d(t,"onChangeBoxShadowHexAndOpacityDependencies2",(function(){return se})),o.d(t,"onChangeBoxShadowPalette2",(function(){return de})),o.d(t,"onChangeBoxShadowPaletteOpacity2",(function(){return pe})),o.d(t,"onChangeBoxShadowType2",(function(){return re})),o.d(t,"onChangeBoxShadowTypeDependencies2",(function(){return ie})),o.d(t,"onChangeBoxShadowFields2",(function(){return ue})),o.d(t,"onChangeBoxShadowFieldsDependencies2",(function(){return be})),o.d(t,"onChangeBoxShadowOpacity2",(function(){return he})),o.d(t,"onChangePaddingGrouped",(function(){return ve})),o.d(t,"onChangePaddingUngrouped",(function(){return ye})),o.d(t,"onChangeMarginGrouped",(function(){return Ce})),o.d(t,"onChangeMarginUngrouped",(function(){return Se})),o.d(t,"onChangeElementSectionBoxShadowHexAndOpacityDependencies",(function(){return xe})),o.d(t,"onChangeElementProgressBarBg2ColorHexAndOpacity",(function(){return je})),o.d(t,"onChangeElementProgressBarBg2ColorHexAndOpacityPalette",(function(){return Be})),o.d(t,"onChangeElementProgressBarBg2ColorHexAndOpacityDependencies",(function(){return Pe})),o.d(t,"onChangeElementProgressBarBg2ColorPalette",(function(){return we})),o.d(t,"onChangeElementProgressBarBg2ColorPaletteOpacity",(function(){return Te})),o.d(t,"onChangeElementIconBorderColorHex2",(function(){return ke})),o.d(t,"onChangeElementIconBorderColorPalette2",(function(){return Ee})),o.d(t,"onChangeElementIconBorderColorFields2",(function(){return He})),o.d(t,"onChangeElementIconBorderHoverColorHex2",(function(){return _e})),o.d(t,"onChangeElementIconBorderHoverColorPalette2",(function(){return Re})),o.d(t,"onChangeElementIconBorderHoverColorFields2",(function(){return Me})),o.d(t,"onChangeElementButtonBorderColorHex2",(function(){return Ie})),o.d(t,"onChangeElementButtonBorderColorPalette2",(function(){return Fe})),o.d(t,"onChangeElementButtonBorderColorFields2",(function(){return Ne})),o.d(t,"onChangeElementButtonBorderHoverColorHex2",(function(){return Le})),o.d(t,"onChangeElementButtonBorderHoverColorPalette2",(function(){return We})),o.d(t,"onChangeElementButtonBorderHoverColorFields2",(function(){return Ve})),o.d(t,"onChangeBgColorHexButton2",(function(){return De})),o.d(t,"onChangeBgColorPaletteButton2",(function(){return Ae})),o.d(t,"onChangeBgColorFieldsButton2",(function(){return Ge})),o.d(t,"onChangeHoverBgColorHexButton2",(function(){return Ue})),o.d(t,"onChangeHoverBgColorPaletteButton2",(function(){return Ke})),o.d(t,"onChangeHoverBgColorFieldsButton2",(function(){return qe})),o.d(t,"onChangeColorHexButtonIcon2",(function(){return Ye})),o.d(t,"onChangeColorPaletteButtonIcon2",(function(){return Xe})),o.d(t,"onChangeColorFieldsButtonIcon2",(function(){return Ze})),o.d(t,"onChangeHoverColorHexButtonIcon2",(function(){return Je})),o.d(t,"onChangeHoverColorPaletteButtonIcon2",(function(){return $e})),o.d(t,"onChangeHoverColorFieldsButtonIcon2",(function(){return Qe})),o.d(t,"onChangeMenuColorHex2",(function(){return et})),o.d(t,"onChangeMenuColorPalette2",(function(){return tt})),o.d(t,"onChangeMenuColorFields2",(function(){return ot})),o.d(t,"onChangeMenuHoverColorHex2",(function(){return nt})),o.d(t,"onChangeMenuHoverColorPalette2",(function(){return at})),o.d(t,"onChangeMenuHoverColorFields2",(function(){return rt})),o.d(t,"onChangeColorHexMMenu2",(function(){return it})),o.d(t,"onChangeColorPaletteMMenu2",(function(){return lt})),o.d(t,"onChangeColorFieldsMMenu2",(function(){return ct})),o.d(t,"onChangeHoverColorHexMMenu2",(function(){return st})),o.d(t,"onChangeHoverColorPaletteMMenu2",(function(){return dt})),o.d(t,"onChangeHoverColorFieldsMMenu2",(function(){return pt})),o.d(t,"onChangeColorHexSubMenu2",(function(){return ut})),o.d(t,"onChangeColorPaletteSubMenu2",(function(){return bt})),o.d(t,"onChangeColorFieldsSubMenu2",(function(){return ht})),o.d(t,"onChangeHoverColorHexSubMenu2",(function(){return mt})),o.d(t,"onChangeHoverColorPaletteSubMenu2",(function(){return gt})),o.d(t,"onChangeHoverColorFieldsSubMenu2",(function(){return vt})),o.d(t,"onChangeColorHexIconMenu2",(function(){return yt})),o.d(t,"onChangeColorPaletteIconMenu2",(function(){return ft})),o.d(t,"onChangeColorFieldsIconMenu2",(function(){return Ot})),o.d(t,"onChangeTabletColorHexIconMMenu2",(function(){return Ct})),o.d(t,"onChangeTabletColorPaletteIconMMenu2",(function(){return St})),o.d(t,"onChangeTabletColorFieldsIconMMenu2",(function(){return xt})),o.d(t,"onChangeMobileColorHexIconMMenu2",(function(){return jt})),o.d(t,"onChangeMobileColorPaletteIconMMenu2",(function(){return Bt})),o.d(t,"onChangeMobileColorFieldsIconMMenu2",(function(){return Pt})),o.d(t,"onChangeBgColorHexMMenu2",(function(){return wt})),o.d(t,"onChangeBgColorPaletteMMenu2",(function(){return Tt})),o.d(t,"onChangeBgColorFieldsMMenu2",(function(){return zt})),o.d(t,"onChangeBgColorHexSubMenu2",(function(){return kt})),o.d(t,"onChangeBgColorPaletteSubMenu2",(function(){return Et})),o.d(t,"onChangeBgColorFieldsSubMenu2",(function(){return Ht})),o.d(t,"onChangeBgHoverColorHexSubMenu2",(function(){return _t})),o.d(t,"onChangeBgHoverColorPaletteSubMenu2",(function(){return Rt})),o.d(t,"onChangeBgHoverColorFieldsSubMenu2",(function(){return Mt})),o.d(t,"onChangeBorderColorHexMMenu2",(function(){return It})),o.d(t,"onChangeBorderColorPaletteMMenu2",(function(){return Ft})),o.d(t,"onChangeBorderColorFieldsMMenu2",(function(){return Nt})),o.d(t,"onChangeBorderColorHexSubMenu2",(function(){return Lt})),o.d(t,"onChangeBorderColorPaletteSubMenu2",(function(){return Wt})),o.d(t,"onChangeBorderColorFieldsSubMenu2",(function(){return Vt})),o.d(t,"onChangeTypography",(function(){return Ut})),o.d(t,"onChangeTypographyTablet",(function(){return Kt})),o.d(t,"onChangeTypographyMobile",(function(){return qt})),o.d(t,"tabletSyncOnChange",(function(){return i.g})),o.d(t,"mobileSyncOnChange",(function(){return i.f})),o.d(t,"keySyncOnChange",(function(){return i.d})),o.d(t,"onChangeTypography2",(function(){return Zt}))},,function(e,t,o){"use strict";var n=o(2),a=o(1),r=o(3),i=o(12);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c({v:e,device:t,state:o,devices:c="all",disabled:s=!1,onChange:d}){const p=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),u=Object(i.c)("image");return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("bgImage"),label:Object(a.a)("Image"),type:"imageSetter",devices:c,disabled:s,population:{show:u.length>0,choices:u},value:{width:p("bgImageWidth"),height:p("bgImageHeight"),src:p("bgImageSrc"),x:p("bgPositionX"),y:p("bgPositionY"),extension:p("bgImageExtension"),population:p("bgPopulation")},onChange:({width:a,height:i,src:c,x:s,y:p,population:u,extension:b},{isChanged:h})=>{const m=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},{v:e,device:t,state:o,onChange:d},{},{width:a,height:i,src:c,x:s,y:p,population:u,extension:b,isChanged:h});return Object(r.saveOnChanges)(m)}}}function s({v:e,device:t,devices:o="all",state:n,disabled:i=!1}){const l=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n});return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("bgVideo"),label:Object(a.a)("URL"),type:"input",inputType:"video",placeholder:Object(a.a)("YouTube or Vimeo"),disabled:i,devices:o,value:{value:l("bgVideo")},onChange:({value:e})=>({bgVideo:e,bgColorOpacity:""!==e&&1===l("bgColorOpacity")?.8:l("bgColorOpacity"),tempBgColorOpacity:""!==e&&1===l("bgColorOpacity")?.8:l("tempBgColorOpacity")})}}function d({v:e,device:t,devices:o="all",state:n,disabled:i=!1}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("bgVideoLoop"),label:Object(a.a)("Loop"),type:"switch",devices:o,disabled:i,value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("bgVideoLoop")}}function p({v:e,device:t,devices:o="all",state:n,disabled:i=!1}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("bgVideoStart"),devices:o,label:Object(a.a)("Start"),type:"input",inputType:"number",placeholder:"seconds",disabled:i,value:{value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("bgVideoStart")},onChange:({value:e})=>({[Object(r.defaultValueKey)({key:"bgVideoStart",device:t,state:n})]:Number(e)})}}function u({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("bgMapAddress"),label:Object(a.a)("Address"),type:"input",placeholder:Object(a.a)("Enter address"),devices:n,disabled:i,value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("bgMapAddress")},onChange:({value:e})=>({bgMapAddress:e})}}function b({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("bgMapZoom"),label:Object(a.a)("Zoom"),type:"slider",devices:n,disabled:i,slider:{min:1,max:21},input:{show:!0,min:1},value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("bgMapZoom")},onChange:({value:e})=>({bgMapZoom:e})}}var h=o(8);function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function v({v:e,device:t,devices:o="all",state:n,onChangeGrouped:i,onChangeUngrouped:l,prefix:c=""}){const s=Object(h.b)(c,"borderRadiusType");return{type:"multiPicker",devices:o,picker:{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))(s),label:Object(a.a)("Corner"),type:"radioGroup",choices:[{value:"grouped",icon:"nc-corners-all"},{value:"ungrouped",icon:"nc-corners-individual"}],value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))(s)},choices:g({},y({v:e,device:t,state:n,prefix:c,onChange:i}),{},f({v:e,device:t,state:n,prefix:c,onChange:l}))}}function y({v:e,device:t,state:o,onChange:n,prefix:a=""}){const i=Object(h.b)(a,"borderRadius");return{grouped:[{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))(i),type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))(i)},onChange:({value:i},{sliderDragEnd:l})=>{const c=g({},{v:e,device:t,state:o,prefix:a,onChange:n},{},{value:i,sliderDragEnd:l});return Object(r.saveOnChanges)(c)}}]}}function f({v:e,device:t,state:o,onChange:n,prefix:a=""}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),l=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),c=Object(h.b)(a,"borderTopLeftRadius"),s=Object(h.b)(a,"borderTopRightRadius"),d=Object(h.b)(a,"borderBottomRightRadius"),p=Object(h.b)(a,"borderBottomLeftRadius");return{ungrouped:[{id:i(c),icon:"nc-corners-top-left",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:l(c)},onChange:({value:i},{sliderDragEnd:l})=>{const c=g({},{v:e,device:t,state:o,prefix:a,onChange:n},{},{current:"borderTopLeftRadius",value:i,sliderDragEnd:l});return Object(r.saveOnChanges)(c)}},{id:i(s),icon:"nc-corners-top-right",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:l(s)},onChange:({value:i},{sliderDragEnd:l})=>{const c=g({},{v:e,device:t,state:o,prefix:a,onChange:n},{},{current:"borderTopRightRadius",value:i,sliderDragEnd:l});return Object(r.saveOnChanges)(c)}},{id:i(d),icon:"nc-corners-bottom-right",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:l(d)},onChange:({value:i},{sliderDragEnd:l})=>{const c=g({},{v:e,device:t,state:o,prefix:a,onChange:n},{},{current:"borderBottomRightRadius",value:i,sliderDragEnd:l});return Object(r.saveOnChanges)(c)}},{id:i(p),icon:"nc-corners-bottom-left",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:l(p)},onChange:({value:i},{sliderDragEnd:l})=>{const c=g({},{v:e,device:t,state:o,prefix:a,onChange:n},{},{current:"borderBottomLeftRadius",value:i,sliderDragEnd:l});return Object(r.saveOnChanges)(c)}}]}}function O(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?O(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):O(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function S({v:e,device:t,state:o,states:n,disabled:a=!1,prefix:l="color",devices:c="all",onChangeHex:s,onChangePalette:d}){const p=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:u}=Object(i.d)(p(Object(h.b)(l,"hex")),p(Object(h.b)(l,"palette")));return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))(l),type:"colorPicker2",disabled:a,devices:c,states:n,select:{show:!1},value:{hex:u,opacity:p(Object(h.b)(l,"opacity")),palette:p(Object(h.b)(l,"palette"))},onChange:({hex:n,opacity:a,palette:i,isChanged:c,opacityDragEnd:p})=>{const u=C({},{v:e,device:t,state:o,prefix:l,onChange:s},{},{hex:n,opacity:a,isChanged:c,opacityDragEnd:p}),b=C({},{v:e,device:t,state:o,prefix:l,onChange:d},{},{opacity:a,palette:i});return"hex"===c||"opacity"===c?Object(r.saveOnChanges)(u):Object(r.saveOnChanges)(b)}}}function x({v:e,device:t,state:o,disabled:n=!1,states:a,devices:l="all",prefix:c="color",onChange:s}){const d=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:p}=Object(i.d)(d(Object(h.b)(c,"hex")),d(Object(h.b)(c,"palette")));return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))(Object(h.b)(c,"field")),type:"colorFields",devices:l,disabled:n,states:a,value:{hex:p,opacity:d(Object(h.b)(c,"opacity"))},onChange:({hex:n})=>{const a=C({},{v:e,device:t,state:o,prefix:c,onChange:s},{},{hex:n});return Object(r.saveOnChanges)(a)}}}function j({v:e,device:t,state:o,devices:n="all",className:i,disabled:l}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("gradientType"),type:"select",devices:n,disabled:l,className:i,choices:[{title:Object(a.a)("Linear"),value:"linear"},{title:Object(a.a)("Radial"),value:"radial"}],value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("gradientType")}}function B({v:e,device:t,state:o,devices:n="all",disabled:a}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("gradientLinearDegree"),type:"inputNumber",className:"brz-ed-grid__gradient__size",devices:n,disabled:a,min:0,max:360,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("gradientLinearDegree")}}function P({v:e,device:t,state:o,devices:n="all",disabled:a}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("gradientRadialDegree"),type:"inputNumber",className:"brz-ed-grid__gradient__degree",devices:n,disabled:a,min:0,max:1e3,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("gradientRadialDegree")}}function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function T(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function z({v:e,device:t,state:o,states:n,devices:l="all",disabled:c=!1,prefix:s="bg",showSelect:d=!0,onChangeType:p,onChangeHex:u,onChangePalette:b,onChangeGradientHex:m,onChangeGradientPalette:g,onChangeGradient:v}){const y=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),f=y(Object(h.b)(s,"colorType")),{hex:O}=Object(i.d)(y(Object(h.b)(s,"colorHex")),y(Object(h.b)(s,"colorPalette"))),{hex:C}=Object(i.d)(y("gradientColorHex"),y("gradientColorPalette")),S=y("gradientActivePointer");return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))(Object(h.b)(s,"color")),type:"colorPicker2",disabled:c,devices:l,states:n,select:{show:d,choices:[{title:Object(a.a)("Solid"),value:"solid"},{title:Object(a.a)("Gradient"),value:"gradient"}]},gradient:{show:"gradient"===f},value:{hex:O,opacity:y(Object(h.b)(s,"colorOpacity")),palette:y(Object(h.b)(s,"colorPalette")),select:f,gradientColorHex:C,gradientColorOpacity:y("gradientColorOpacity"),gradientColorPalette:y("gradientColorPalette"),startPointer:y("gradientStartPointer"),finishPointer:y("gradientFinishPointer"),activePointer:S},onChange:({hex:n,opacity:a,palette:i,select:l,opacityDragEnd:c,startPointer:d,finishPointer:h,activePointer:y,isChanged:O})=>{const C=T({},{v:e,device:t,state:o,prefix:s,onChange:p},{},{bgColorType:l}),S=T({},{v:e,device:t,state:o,prefix:"startPointer"===y||"solid"===f?s:"gradient",onChange:"startPointer"===y||"solid"===f?u:m},{},{hex:n,opacity:a,isChanged:O,opacityDragEnd:c}),x=T({},{v:e,device:t,state:o,prefix:"startPointer"===y||"solid"===f?s:"gradient",onChange:"startPointer"===y||"solid"===f?b:g},{},{opacity:a,palette:i}),j=T({},{v:e,device:t,state:o,prefix:s,onChange:v},{},{startPointer:d,finishPointer:h,activePointer:y});return"select"===O?Object(r.saveOnChanges)(C):"hex"===O||"opacity"===O?Object(r.saveOnChanges)(S):"palette"===O?Object(r.saveOnChanges)(x):Object(r.saveOnChanges)(j)}}}function k({v:e,device:t,state:o,states:n,devices:a="all",prefix:l="bg",className:c="",disabled:s=!1,onChange:d}){const p=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:u}=Object(i.d)(p(Object(h.b)(l,"colorHex")),p(Object(h.b)(l,"colorPalette")));return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))(Object(h.b)(l,"colorField")),type:"colorFields",devices:a,states:n,disabled:s,className:c,value:{hex:u,opacity:p(Object(h.b)(l,"colorOpacity"))},onChange:({hex:n})=>{const a=T({},{v:e,device:t,state:o,prefix:l,onChange:d},{},{hex:n});return Object(r.saveOnChanges)(a)}}}var E=o(28);function H(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?H(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):H(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function R({v:e,device:t,state:o,states:n,onChangeStyle:l,onChangeHex:c,onChangePalette:s,devices:d="all",prefix:p="",showSelect:u=!0,choices:b=[{title:Object(a.a)("None"),value:""},{value:"solid",icon:"nc-solid"},{value:"dashed",icon:"nc-dashed"},{value:"dotted",icon:"nc-dotted"}]}){const m=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),g=Object(h.b)(p,"border"),v=Object(h.b)(g,"color"),y=Object(h.b)(g,"colorHex"),f=Object(h.b)(g,"colorOpacity"),O=Object(h.b)(g,"colorPalette"),C=Object(h.b)(g,"style"),{hex:S}=Object(i.d)(m(y),m(O));return{devices:d,id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))(v),type:"colorPicker2",states:n,select:{show:u,choices:b},value:{hex:S,opacity:m(f),palette:m(O),select:m(C)},onChange:({hex:n,opacity:a,palette:i,select:d,isChanged:u,opacityDragEnd:b})=>{const h=_({},{v:e,device:t,state:o,prefix:p,onChange:l},{},{borderStyle:d,isChanged:u}),m=_({},{v:e,device:t,state:o,prefix:p,onChange:c},{},{hex:n,opacity:a,isChanged:u,opacityDragEnd:b}),g=_({},{v:e,device:t,state:o,prefix:p,onChange:s},{},{opacity:a,palette:i});return"select"===u?Object(r.saveOnChanges)(h):"hex"===u||"opacity"===u?Object(r.saveOnChanges)(m):Object(r.saveOnChanges)(g)}}}function M({v:e,device:t,state:o,states:n,onChange:a,devices:l="all",prefix:c=""}){const s=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),d=Object(h.b)(c,"border"),p=Object(h.b)(d,"colorHex"),u=Object(h.b)(d,"colorOpacity"),b=Object(h.b)(d,"colorPalette"),{hex:m}=Object(i.d)(s(p),s(b));return{devices:l,id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))(Object(h.b)(d,"colorField")),type:"colorFields",states:n,value:{hex:m,opacity:s(u)},onChange:({hex:n})=>{const i=_({},{v:e,device:t,state:o,prefix:c,onChange:a},{},{hex:n});return Object(r.saveOnChanges)(i)}}}function I({v:e,device:t,state:o,onChange:n,devices:i="all",prefix:l=""}){const c=Object(h.b)(l,"border"),s=Object(h.b)(c,"width");return{devices:i,id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))(s),label:Object(a.a)("Size"),type:"inputNumber",min:0,max:360,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))(s),onChange:a=>{const i=_({},{v:e,device:t,state:o,prefix:l,onChange:n},{},{value:a});return Object(r.saveOnChanges)(i)}}}function F({v:e,device:t,state:o,states:n,onChangeType:i,onChangeGrouped:l,onChangeUngrouped:c,devices:s="all",prefix:d=""}){const p=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),u=Object(h.b)(d,"border"),b=Object(h.b)(u,"width"),m=Object(h.b)(b,"type"),g=Object(h.b)(u,"topWidth"),v=Object(h.b)(u,"rightWidth"),y=Object(h.b)(u,"bottomWidth"),f=Object(h.b)(u,"leftWidth"),O={grouped:[b],ungrouped:[g,v,y,f]};return{devices:s,id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))(b),type:"multiInputPicker",states:n,label:"grouped"===p(m)&&Object(a.a)("Size"),value:{type:p(m),grouped:[p(b)],ungrouped:[p(g),p(v),p(y),p(f)]},onChange:n=>{let{type:a,isChanged:s,isChangedIndex:p}=n,u=Object(E.a)(n,["type","isChanged","isChangedIndex"]);const b=_({},{v:e,device:t,state:o,prefix:d,onChange:i},{},{type:a}),h=_({},{v:e,device:t,state:o,prefix:d,onChange:"grouped"===a?l:c},{},{current:O[a][p],value:u[a][p]});return"type"===s?Object(r.saveOnChanges)(b):Object(r.saveOnChanges)(h)}}}function N(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function L(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?N(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):N(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function W({v:e,device:t,disabled:o=!1,state:n,states:l,onChangeType:c,onChangeHex:s,onChangePalette:d,prefix:p="",devices:u="all",choices:b="all"}){const m=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}),g=Object(h.b)(p,"boxShadow"),v=Object(h.b)(g,"colorHex"),y=Object(h.b)(g,"colorOpacity"),f=Object(h.b)(g,"colorPalette"),{hex:O}=Object(i.d)(m(v),m(f)),C=[{title:Object(a.a)("None"),value:""},{title:Object(a.a)("Inset"),value:"inset"},{title:Object(a.a)("Outset"),value:"on"}],S=[{title:Object(a.a)("None"),value:""},{title:Object(a.a)("Inset"),value:"inset"}],x=[{title:Object(a.a)("None"),value:""},{title:Object(a.a)("Outset"),value:"on"}];return{devices:u,states:l,disabled:o,id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))(g),type:"colorPicker2",select:{choices:"all"===b?C:"inset"===b?S:x},value:{hex:O,opacity:m(y),palette:m(f),select:m(g)},onChange:({hex:o,opacity:a,palette:i,select:l,isChanged:u,opacityDragEnd:b})=>{const h=L({},{v:e,device:t,state:n,prefix:p,onChange:c},{},{boxShadowType:l,isChanged:u}),m=L({},{v:e,device:t,state:n,prefix:p,onChange:s},{},{hex:o,opacity:a,isChanged:u,opacityDragEnd:b}),g=L({},{v:e,device:t,state:n,prefix:p,onChange:d},{},{opacity:a,palette:i});return"select"===u?Object(r.saveOnChanges)(h):"hex"===u||"opacity"===u?Object(r.saveOnChanges)(m):Object(r.saveOnChanges)(g)}}}function V({v:e,device:t,disabled:o=!1,state:n,states:a,onChange:l,prefix:c="",devices:s="all"}){const d=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}),p=Object(h.b)(c,"boxShadow"),u=Object(h.b)(p,"field"),b=Object(h.b)(p,"colorHex"),m=Object(h.b)(p,"colorPalette"),g=Object(h.b)(p,"colorOpacity"),{hex:v}=Object(i.d)(d(b),d(m));return{devices:s,disabled:o,id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))(u),type:"colorFields",states:a,value:{hex:v,opacity:d(g)},onChange:({hex:o})=>{const a=L({},{v:e,device:t,state:n,prefix:c,onChange:l},{},{hex:o});return Object(r.saveOnChanges)(a)}}}function D({v:e,device:t,disabled:o=!1,state:n,states:a,onChange:i,prefix:l="",devices:c="all"}){const s=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}),d=Object(h.b)(l,"boxShadow"),p=Object(h.b)(d,"fields"),u=Object(h.b)(d,"blur"),b=Object(h.b)(d,"spread"),m=Object(h.b)(d,"vertical"),g=Object(h.b)(d,"horizontal");return{devices:c,disabled:o,states:a,id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))(p),type:"multiInput",config:{defaultIcon:["nc-shadow"],icons:["nc-blur","nc-size","nc-vertical","nc-horizontal"]},value:[s(u),s(b),s(m),s(g)],onChange:([o,a,c,s])=>{const d=L({},{v:e,device:t,state:n,prefix:l,onChange:i},{},{boxShadowBlur:o,boxShadowSpread:a,boxShadowVertical:c,boxShadowHorizontal:s});return Object(r.saveOnChanges)(d)}}}function A({v:e,device:t,state:o,devices:n="all"}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("linkAnchor"),label:Object(a.a)("Block"),type:"blockThumbnail",devices:n,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("linkAnchor")}}function G({v:e,device:t,state:o,disabled:n=!1,devices:i="all"}){return{id:Object(r.defaultValueKey)({key:"linkUpload",device:t,state:o}),label:Object(a.a)("File"),type:"fileUpload",disabled:n,devices:i,value:Object(r.defaultValueValue)({v:e,key:"linkUpload",device:t,state:o})}}function U({v:e,devices:t="all"}){const o=Object(i.c)("link");return{id:"linkExternal",type:"input",devices:t,label:Object(a.a)("Link to"),placeholder:"http://",population:{show:o.length>0,choices:o},value:{value:e.linkExternal,population:e.linkPopulation},onChange:({value:e,population:t},{changed:o})=>({linkExternal:e,linkPopulation:t,linkExternalType:"value"===o||""===t?"linkExternal":"linkPopulation"})}}function K({v:e,device:t,state:o,devices:n="all"}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("linkExternalBlank"),type:"switch",label:Object(a.a)("Open In New Tab"),devices:n,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("linkExternalBlank")}}function q({v:e,device:t,state:o,devices:n="all"}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("linkExternalRel"),type:"switch",label:Object(a.a)("Make it Nofollow"),devices:n,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("linkExternalRel")}}function Y({v:e,device:t,state:o,canDelete:n=!0,disabled:i=!1,component:l,devices:c="all"}){const s=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),d=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o});return{id:s("linkPopup"),type:"promptAddPopup",label:Object(a.a)("Popup"),canDelete:n,disabled:i,popupKey:"".concat(l.getId(),"_").concat(d("linkPopup")),devices:c,value:{value:d("linkPopup"),popups:d("popups")},onChange:({value:e,popups:t})=>({[s("linkPopup")]:e,[s("popups")]:t})}}function X({v:e,device:t,state:o,devices:n="desktop",disabled:i=!0}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("actionClosePopup"),label:Object(a.a)("Close Popup"),type:"switch",devices:n,disabled:i,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("actionClosePopup")}}function Z({v:e,device:t,state:o,position:n=110,prefix:i="",disabled:l=!1,devices:c="all"}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))(Object(h.b)(i,"verticalAlign")),label:Object(a.a)("Content"),type:"radioGroup",devices:c,position:n,disabled:l,choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"}],value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(h.b)(i,"verticalAlign"))}}function J({v:e,device:t,devices:o="all",state:n,min:i=1,max:l=100,position:c=80,disabled:s=!1}){const d=e=>Object(r.defaultValueKey)({key:e,device:t,state:n});return{id:d("size"),label:Object(a.a)("Width"),type:"slider",devices:o,position:c,disabled:s,slider:{min:i,max:l},input:{show:!0,min:i,max:l},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("size")},onChange:({value:e})=>({[d("size")]:e})}}function $({v:e,device:t,state:o,prefix:n="",devices:i="all"}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),c=Object(h.b)(n,"width");return{devices:i,id:l(c),label:Object(a.a)("Width"),type:"slider",slider:{min:1,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))(c)},onChange:({value:e})=>({[l(c)]:e})}}function Q({v:e,device:t,state:o,devices:n="all"}){return{id:Object(r.defaultValueKey)({key:"containerSize",device:t,state:o}),label:Object(a.a)("Width"),type:"slider",devices:n,position:100,slider:{min:35,max:100},input:{show:!0,min:35,max:100},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(r.defaultValueValue)({v:e,key:"containerSize",device:t,state:o})},onChange:({value:e})=>({containerSize:e})}}function ee(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function te(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ee(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function oe({v:e,device:t,state:o,devices:n,position:a,disabled:r=!1}){return ae({v:e,device:t,state:o,devices:n,position:a,disabled:r})}function ne({v:e,device:t,state:o,devices:n,position:a,prefix:r="",disabled:i=!1}){return ae({v:e,device:t,state:o,devices:n,position:a,prefix:r,disabled:i,suffixChoices:[{title:"px",value:"px"}]})}function ae({v:e,device:t,state:o,prefix:n="",devices:i="all",disabled:l=!1,position:c=50,childs:s=["paddingTop","paddingRight","paddingBottom","paddingLeft"],suffixChoices:d=[{title:"px",value:"px"},{title:"%",value:"%"}]}){const p=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),u=Object(h.b)(n,"padding"),b=Object(h.b)(u,"type");return{id:p(u),type:"multiPicker",devices:i,position:c,disabled:l,picker:{id:p(b),label:Object(a.a)("Padding"),type:"radioGroup",choices:[{value:"grouped",icon:"nc-styling-all"},{value:"ungrouped",icon:"nc-styling-individual"}],value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))(b)},choices:te({},re({v:e,device:t,state:o,childs:s,suffixChoices:d,prefix:n,onChange:["onChangePaddingGrouped"]}),{},ie({v:e,device:t,state:o,childs:s,suffixChoices:d,prefix:n,onChange:["onChangePaddingUngrouped"]}))}}function re({v:e,device:t,state:o,childs:n,suffixChoices:a,onChange:i,prefix:l=""}){const c=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),s=Object(h.b)(l,"padding"),d=Object(h.b)(s,"suffix");return{grouped:[{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))(s),type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:a},value:{value:c(s),suffix:c(d)},onChange:({value:a,suffix:c},{sliderDragEnd:s})=>{const d=te({},{v:e,device:t,state:o,childs:n,onChange:i,prefix:l},{},{value:a,suffix:c,sliderDragEnd:s});return Object(r.saveOnChanges)(d)}}]}}function ie({v:e,device:t,state:o,childs:n,suffixChoices:a,onChange:i,prefix:l=""}){const c=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),s=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),d=Object(h.b)(l,"paddingTop"),p=Object(h.b)(d,"suffix"),u=Object(h.b)(l,"paddingRight"),b=Object(h.b)(u,"suffix"),m=Object(h.b)(l,"paddingBottom"),g=Object(h.b)(m,"suffix"),v=Object(h.b)(l,"paddingLeft"),y=Object(h.b)(v,"suffix");return{ungrouped:[{id:c(d),icon:"nc-styling-top",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:a},value:{value:s(d),suffix:s(p)},onChange:({value:a,suffix:c},{sliderDragEnd:s})=>{const d=te({},{v:e,device:t,state:o,childs:n,onChange:i,prefix:l},{},{current:"paddingTop",value:a,suffix:c,sliderDragEnd:s});return Object(r.saveOnChanges)(d)}},n.includes("paddingRight")?{id:c(u),icon:"nc-styling-right",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:a},value:{value:s(u),suffix:s(b)},onChange:({value:a,suffix:c},{sliderDragEnd:s})=>{const d=te({},{v:e,device:t,state:o,childs:n,onChange:i,prefix:l},{},{current:"paddingRight",value:a,suffix:c,sliderDragEnd:s});return Object(r.saveOnChanges)(d)}}:{},{id:c(m),icon:"nc-styling-bottom",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:a},value:{value:s(m),suffix:s(g)},onChange:({value:a,suffix:c},{sliderDragEnd:s})=>{const d=te({},{v:e,device:t,state:o,childs:n,onChange:i,prefix:l},{},{current:"paddingBottom",value:a,suffix:c,sliderDragEnd:s});return Object(r.saveOnChanges)(d)}},n.includes("paddingLeft")?{id:c(v),icon:"nc-styling-left",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:a},value:{value:s(v),suffix:s(y)},onChange:({value:a,suffix:c},{sliderDragEnd:s})=>{const d=te({},{v:e,device:t,state:o,childs:n,onChange:i,prefix:l},{},{current:"paddingLeft",value:a,suffix:c,sliderDragEnd:s});return Object(r.saveOnChanges)(d)}}:{}]}}function le(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ce(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?le(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):le(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function se({v:e,device:t,state:o,devices:n="all",disabled:i=!1,position:l=60,onChangeGrouped:c,onChangeUngrouped:s}){const d=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{id:d("margin"),type:"multiPicker",position:l,devices:n,disabled:i,picker:{id:d("marginType"),label:Object(a.a)("Margin"),type:"radioGroup",choices:[{value:"grouped",icon:"nc-styling-all"},{value:"ungrouped",icon:"nc-styling-individual"}],value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("marginType")},choices:ce({},de({v:e,device:t,state:o,onChange:c}),{},pe({v:e,device:t,state:o,onChange:s}))}}function de({v:e,device:t,state:o,marginType:n,onChange:a}){const i=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o});return{grouped:[{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("margin"),type:"slider",slider:{min:-100,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:i("margin"),suffix:i("marginSuffix")},onChange:({value:i,suffix:l})=>{const c=ce({},{v:e,device:t,state:o,marginType:n,onChange:a},{},{value:i,suffix:l});return Object(r.saveOnChanges)(c)}}]}}function pe({v:e,device:t,state:o,onChange:n}){const a=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),i=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o});return{ungrouped:[{id:a("marginTop"),icon:"nc-styling-top",type:"slider",slider:{min:-100,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:i("marginTop"),suffix:i("marginTopSuffix")},onChange:({value:a,suffix:i})=>{const l=ce({},{v:e,device:t,state:o,onChange:n},{},{current:"marginTop",value:a,suffix:i});return Object(r.saveOnChanges)(l)}},{id:Object(r.defaultValueKey)({key:"marginRight",device:t,state:o}),icon:"nc-styling-right",type:"slider",slider:{min:-100,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:Object(r.defaultValueValue)({v:e,key:"marginRight",device:t,state:o}),suffix:Object(r.defaultValueValue)({v:e,key:"marginRightSuffix",device:t,state:o})},onChange:({value:a,suffix:i})=>{const l=ce({},{v:e,device:t,state:o,onChange:n},{},{current:"marginRight",value:a,suffix:i});return Object(r.saveOnChanges)(l)}},{id:a("marginBottom"),icon:"nc-styling-bottom",type:"slider",slider:{min:-100,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:i("marginBottom"),suffix:i("marginBottomSuffix")},onChange:({value:a,suffix:i})=>{const l=ce({},{v:e,device:t,state:o,onChange:n},{},{current:"marginBottom",value:a,suffix:i});return Object(r.saveOnChanges)(l)}},{id:Object(r.defaultValueKey)({key:"marginLeft",device:t,state:o}),icon:"nc-styling-left",type:"slider",slider:{min:-100,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:Object(r.defaultValueValue)({v:e,key:"marginLeft",device:t,state:o}),suffix:Object(r.defaultValueValue)({v:e,key:"marginLeftSuffix",device:t,state:o})},onChange:({value:a,suffix:i})=>{const l=ce({},{v:e,device:t,state:o,onChange:n},{},{current:"marginLeft",value:a,suffix:i});return Object(r.saveOnChanges)(l)}}]}}function ue({v:e,position:t=10,devices:o="all",closeTooltip:n=!0}){return{id:"showOnDesktop",label:Object(a.a)("Show on Desktop"),position:t,closeTooltip:n,type:"switch",devices:o,value:e.showOnDesktop}}function be({v:e,device:t,devices:o="all",position:n=10,closeTooltip:r=!0}){return"tablet"===t?function({v:e,position:t=10,devices:o="all",closeTooltip:n=!0}){return{id:"showOnTablet",type:"toggle",devices:o,position:t,closeTooltip:n,choices:[{icon:"nc-eye-17",title:Object(a.a)("Disable on Tablet"),value:"on"},{icon:"nc-eye-ban-18",title:Object(a.a)("Enable on Tablet"),value:"off"}],value:e.showOnTablet}}({v:e,position:n,devices:o,closeTooltip:r}):"mobile"===t?function({v:e,position:t=10,devices:o="all",closeTooltip:n=!0}){return{id:"showOnMobile",type:"toggle",devices:o,position:t,closeTooltip:n,choices:[{icon:"nc-eye-17",title:Object(a.a)("Disable on Mobile"),value:"on"},{icon:"nc-eye-ban-18",title:Object(a.a)("Enable on Mobile"),value:"off"}],value:e.showOnMobile}}({v:e,position:n,devices:o,closeTooltip:r}):{}}function he({v:e,device:t,state:o,position:n=20,devices:i="all"}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{id:l("zIndex"),type:"slider",position:n,label:Object(a.a)("Z-index"),devices:i,slider:{min:0,max:100},input:{show:!0,min:0},value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("zIndex")},onChange:({value:e})=>({[l("zIndex")]:e})}}const me="\n<span>Add your custom class without the .dot, example: my-class</span>";function ge({v:e,position:t=40,device:o,state:n,devices:i="all",population:l}){const c=e=>Object(r.defaultValueKey)({key:e,device:o,state:n}),s=t=>Object(r.defaultValueValue)({v:e,key:t,device:o,state:n});return{id:c("customClassName"),label:Object(a.a)("CSS Class"),position:t,display:"block",type:"input",devices:i,helper:!0,helperContent:me,population:{show:l.length>0,choices:l},value:{value:s("customClassName"),population:s("cssClassPopulation")},onChange:({value:e,population:t})=>({[c("customClassName")]:e,[c("cssClassPopulation")]:t})}}const ve='\n<p class="brz-p">You can use the following selectors to create targeted CSS.</p>\n<p class="brz-p">\n <span class="brz-span brz-ed-tooltip__overlay-code">element</span> {...}\n <br class="brz-br">\n <span class="brz-span brz-ed-tooltip__overlay-code">element .child-element</span> {...}\n</p>';function ye({v:e,device:t,state:o,devices:n="all",position:i=45}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("customCSS"),type:"codeMirror",label:Object(a.a)("Custom CSS"),position:i,display:"block",devices:n,helper:!0,helperContent:ve,placeholder:"element { CSS goes here }",value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("customCSS")}}const fe="\n<span>Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character.</span>";function Oe({v:e,device:t,state:o,devices:n="all",position:i=45}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("customAttributes"),type:"codeMirror",label:Object(a.a)("Custom Attributes"),position:i,display:"block",devices:n,helper:!0,helperContent:fe,placeholder:"key1:value1\nkey2:value2",value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("customAttributes")}}function Ce({v:e,position:t=60,device:o,state:n,devices:l="all"}){const c=e=>Object(r.defaultValueKey)({key:e,device:o,state:n}),s=t=>Object(r.defaultValueValue)({v:e,key:t,device:o,state:n});return{id:c("animation"),type:"multiPicker",position:t,picker:{id:c("animationName"),label:Object(a.a)("Entrance Animation"),type:"select",choices:Object(i.a)(),value:"initial"===s("animationName")?s("tempAnimationName"):s("animationName"),onChange:e=>({animationName:e,tempAnimationName:e})},choices:(()=>{if("none"!==s("animationName")||"initial"===s("animationName")){const e="initial"===s("animationName")?s("tempAnimationName"):s("animationName");return{["".concat(e)]:[{id:c("animationDuration"),label:Object(a.a)("Duration"),type:"slider",devices:l,slider:{min:0,max:5,step:.1},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"s",value:"s"}]},value:{value:s("animationDuration")/1e3},onChange:({value:e},{sliderDragEnd:t})=>({animationName:t?s("tempAnimationName"):"initial",animationDuration:1e3*e})},{id:c("animationDelay"),label:Object(a.a)("Delay"),type:"slider",slider:{min:0,max:5,step:.1},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"s",value:"s"}]},value:{value:s("animationDelay")/1e3},onChange:({value:e},{sliderDragEnd:t})=>({animationName:t?s("tempAnimationName"):"initial",animationDelay:1e3*e})}]}}return{none:[]}})()}}function Se({v:e,position:t=150,device:o,state:n,devices:i="all"}){const l=e=>Object(r.defaultValueKey)({key:e,device:o,state:n});return{id:l("hoverTransition"),label:Object(a.a)("Hover Transition"),devices:i,position:t,type:"slider",slider:{min:0,max:99},input:{show:!0,min:0,max:99},suffix:{show:!0,choices:[{title:"ms",value:"ms"}]},value:{value:(t=>Object(r.defaultValueValue)({v:e,key:t,device:o,state:n}))("hoverTransition")},onChange:({value:e})=>({[l("hoverTransition")]:e})}}function xe({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:i}))("tagName"),label:Object(a.a)("Html Tag"),type:"select",devices:o,choices:[{title:Object(a.a)("Div"),value:"div"},{title:Object(a.a)("Header"),value:"header"},{title:Object(a.a)("Footer"),value:"footer"},{title:Object(a.a)("Main"),value:"main"},{title:Object(a.a)("Article"),value:"article"},{title:Object(a.a)("Section"),value:"section"},{title:Object(a.a)("Aside"),value:"aside"},{title:Object(a.a)("Nav"),value:"nav"}],disabled:n,value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i}))("tagName")}}function je({v:e,device:t,prefix:o="",devices:n="all",state:a,states:i}){return{id:Object(r.defaultValueKey)({key:Object(h.b)(o,"hue"),device:t,state:a}),icon:"nc-hue",className:"brz-ed-option__slider--hue",type:"slider",devices:n,states:i,slider:{min:0,max:360},input:{show:!0,min:0,max:360},suffix:{show:!0,choices:[{title:"deg",value:"deg"}]},value:{value:Object(r.defaultValueValue)({v:e,key:Object(h.b)(o,"hue"),device:t,state:a})},onChange:({value:n})=>({[Object(r.defaultValueKey)({v:e,key:Object(h.b)(o,"hue"),device:t,state:a})]:n})}}function Be({v:e,device:t,prefix:o="",devices:n="all",state:a,states:i}){return{id:Object(r.defaultValueKey)({key:Object(h.b)(o,"saturation"),device:t,state:a}),icon:"nc-saturation",className:"brz-ed-option__slider--saturation",type:"slider",devices:n,states:i,slider:{min:0,max:200},input:{show:!0,min:0,max:200},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(r.defaultValueValue)({v:e,key:Object(h.b)(o,"saturation"),device:t,state:a})},onChange:({value:e})=>({[Object(r.defaultValueKey)({key:Object(h.b)(o,"saturation"),device:t,state:a})]:e})}}function Pe({v:e,device:t,prefix:o="",devices:n="all",state:a,states:i}){return{id:Object(r.defaultValueKey)({key:Object(h.b)(o,"brightness"),device:t,state:a}),icon:"nc-brightness",className:"brz-ed-option__slider--brightness",type:"slider",devices:n,states:i,slider:{min:10,max:200},input:{show:!0,min:0,max:200},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(r.defaultValueValue)({v:e,key:Object(h.b)(o,"brightness"),device:t,state:a})},onChange:({value:e})=>({[Object(r.defaultValueKey)({key:Object(h.b)(o,"brightness"),device:t,state:a})]:e})}}function we({v:e,device:t,prefix:o="",devices:n="all",state:a,states:i}){return{id:Object(r.defaultValueKey)({key:Object(h.b)(o,"contrast"),device:t,state:a}),icon:"nc-contrast",className:"brz-ed-option__slider--contrast",type:"slider",devices:n,states:i,slider:{min:0,max:200},input:{show:!0,min:0,max:200},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(r.defaultValueValue)({v:e,key:Object(h.b)(o,"contrast"),device:t,state:a})},onChange:({value:e})=>({[Object(r.defaultValueKey)({key:Object(h.b)(o,"contrast"),device:t,state:a})]:e})}}function Te({device:e,devices:t="all",state:o}){return{id:Object(r.defaultValueKey)({key:"advancedSettings",device:e,state:o}),type:"advancedSettings",devices:t,disabled:!0}}function ze({device:e,devices:t="all"}){return{id:Object(r.defaultValueKey)({key:"toolbarSettings",device:e}),type:"popover",devices:t,disabled:!0}}function ke({devices:e="desktop"}){return{id:"showOnDesktop",type:"switch",disabled:!0,devices:e}}function Ee({devices:e="responsive"}){return{id:"showOnTablet",type:"toggle",disabled:!0,devices:e}}function He({devices:e="responsive"}){return{id:"showOnMobile",type:"toggle",disabled:!0,devices:e}}function _e(){return{id:"zIndex",type:"slider",disabled:!0}}function Re({device:e,devices:t="all"}){return{id:Object(r.defaultValueKey)({key:"toolbarLink",device:e}),type:"popover",devices:t,disabled:!0}}function Me({device:e}){let t;return t="tablet"===e?Ee({}):"mobile"===e?He({}):{}}function Ie({device:e,state:t,devices:o="all"}){return{id:(o=>Object(r.defaultValueKey)({key:o,device:e,state:t}))("padding"),devices:o,type:"multiPicker",disabled:!0}}function Fe({device:e,state:t,devices:o="all"}){return{id:(o=>Object(r.defaultValueKey)({key:o,device:e,state:t}))("margin"),devices:o,type:"multiPicker",disabled:!0}}function Ne({v:e,device:t,devices:o="all",state:n}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("media"),label:Object(a.a)("Type"),type:"radioGroup",devices:o,choices:[{value:"image",icon:"nc-media-image"},{value:"video",icon:"nc-media-video"},{value:"map",icon:"nc-media-map"}],value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("media")}}function Le({v:e,device:t,devices:o="all",state:n}){const i=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n});return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("media"),label:Object(a.a)("Type"),type:"radioGroup",devices:o,choices:[{value:"image",icon:"nc-media-image"},{value:"map",icon:"nc-media-map"}],value:"video"===i("media")?"image":i("media")}}function We({v:e,device:t,devices:o="all",state:n}){const i=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}),l=e=>Object(r.defaultValueKey)({key:e,device:t,state:n});return{type:"multiPicker",position:10,devices:o,picker:{id:l("containerType"),label:Object(a.a)("Width"),type:"select",choices:[{title:Object(a.a)("Boxed"),value:"boxed"},{title:Object(a.a)("Full"),value:"fullWidth"}],value:i("containerType")},choices:{boxed:[{id:l("containerSize"),type:"slider",slider:{min:35,max:100},input:{show:!0,min:35,max:100},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:i("containerSize")},onChange:({value:e})=>({[l("containerSize")]:e})}]}}}function Ve({v:e,device:t,position:o=10,devices:n="all",state:i}){const l=o=>Object(r.defaultValueKey)({v:e,key:o,device:t,state:i});return{id:l("containerSize"),type:"slider",label:Object(a.a)("Width"),position:o,devices:n,slider:{min:35,max:100},input:{show:!0,min:35,max:100},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i}))("containerSize")},onChange:({value:e})=>({[l("containerSize")]:e})}}function De(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ae({v:e,device:t,state:o,onChange:a}){const i=Object(r.defaultValueValue)({v:e,key:"boxShadowBlur",device:t,state:o}),l=Object(r.defaultValueValue)({v:e,key:"boxShadowVertical",device:t,state:o});return{id:Object(r.defaultValueKey)({key:"boxShadow",device:t,state:o}),type:"multiInput",config:{defaultIcon:["nc-shadow"],icons:["nc-blur","nc-vertical"]},value:[i,l],onChange:([i,l])=>{const c=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?De(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):De(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},{v:e,device:t,state:o,onChange:a},{},{boxShadowBlur:i,boxShadowVertical:l});return Object(r.saveOnChanges)(c)}}}function Ge({device:e,component:t,position:o=90,devices:n="all",state:i}){return{id:(t=>Object(r.defaultValueKey)({key:t,device:e,state:i}))("makeItSaved"),type:"buttonTooltip",icon:"nc-save-section",devices:n,position:o,title:Object(a.a)("Save"),tooltipContent:Object(a.a)("Saved"),onChange:()=>{t.becomeSaved()}}}function Ue({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("fullHeight"),label:Object(a.a)("Height"),type:"select",devices:n,disabled:i,choices:[{title:Object(a.a)("Auto"),value:"off"},{title:Object(a.a)("Custom"),value:"custom"},{title:Object(a.a)("Full Height"),value:"on"}],value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("fullHeight")}}function Ke({v:e,device:t,state:o,devices:n="all",disabled:a=!1}){const i=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),l=i("sectionHeightSuffix");return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("sectionHeight"),devices:n,disabled:a,type:"slider",slider:{min:20,max:"px"===l?500:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"vh"}]},value:{value:i("sectionHeight"),suffix:l},onChange:({value:e,suffix:t})=>({sectionHeight:e,sectionHeightSuffix:t})}}function qe({v:e,device:t,state:o,devices:n="all",position:a=100,disabled:r=!1}){return{id:"toolbarContainerTypeAndHeight",type:"multiPicker",devices:n,position:a,disabled:r,picker:Ue({v:e,device:t,state:o}),choices:{custom:[Ke({v:e,device:t,state:o})]}}}function Ye({v:e,component:t,devices:o="all",device:n,state:i}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:n,state:i}))("toolbarSlider"),type:"popover",icon:"nc-block-switch",title:Object(a.a)("Block"),position:70,devices:o,options:[{id:"sliders",type:"tabs",tabs:(({v:e,component:t,devices:o,device:n,state:i})=>{const l=t=>Object(r.defaultValueValue)({v:e,key:t,device:n,state:i}),c=e=>Object(r.defaultValueKey)({key:e,device:n,state:i}),s=l("slider");let d=[{id:c("sliderOption1"),label:Object(a.a)("Block"),devices:o,options:[Ze({device:n,devices:o,component:t,state:i}),{id:c("slider"),label:Object(a.a)("Make it a Slider"),type:"switch",value:s}]}];return"on"===s&&d.push({id:c("sliderOption2"),label:Object(a.a)("Slider"),options:[{type:"multiPicker",picker:{id:c("sliderAutoPlay"),label:Object(a.a)("Auto Play"),type:"switch",value:l("sliderAutoPlay")},choices:{on:[{id:c("sliderAutoPlaySpeed"),label:Object(a.a)("Speed"),type:"slider",slider:{min:1,max:6},input:{show:!0},suffix:{show:!0,choices:[{title:"s",value:"s"}]},value:{value:l("sliderAutoPlaySpeed")},onChange:({value:e})=>({sliderAutoPlaySpeed:e})}]}},{id:c("sliderDots"),label:Object(a.a)("Dots"),type:"select",choices:[{title:Object(a.a)("None"),icon:"nc-none",value:"none"},{title:Object(a.a)("Circle"),icon:"nc-circle-outline",value:"circle"},{title:Object(a.a)("Diamond"),icon:"nc-diamond-outline",value:"diamond"},{title:Object(a.a)("Square"),icon:"nc-square-outline",value:"square"}],value:l("sliderDots")},{id:c("sliderArrows"),label:Object(a.a)("Arrows"),type:"select",choices:[{title:Object(a.a)("None"),icon:"nc-none",value:"none"},{title:Object(a.a)("Thin"),icon:"nc-right-arrow-thin",value:"thin"},{title:Object(a.a)("Heavy"),icon:"nc-right-arrow-heavy",value:"heavy"},{title:Object(a.a)("Tail"),icon:"nc-right-arrow-tail",value:"tail"},{title:Object(a.a)("Round"),icon:"nc-right-arrow-filled",value:"filled"},{title:Object(a.a)("Outline"),icon:"nc-right-arrow-outline",value:"outline"}],value:l("sliderArrows")}]}),d})({v:e,component:t,devices:o,device:n,state:i})}]}}function Xe({v:e,device:t,devices:o="all",state:n}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:"normal"}),l=(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("slider");return{id:i("tabsColor"),type:"tabs",devices:o,tabs:"off"===l?[]:[{id:i("dots"),label:Object(a.a)("Dots"),devices:o,options:[S({v:e,device:t,state:n,devices:o,disabled:"off"===l,prefix:"sliderDotsColor",onChangeHex:["onChangeColorHexAndOpacity","onChangeColorHexAndOpacityPalette"],onChangePalette:["onChangeColorPalette","onChangeColorPaletteOpacity"]}),{type:"grid",disabled:"off"===l,className:"brz-ed-grid__color-fileds",devices:o,columns:[{width:100,options:[x({v:e,device:t,state:n,devices:o,prefix:"sliderDotsColor",onChange:["onChangeColorHexAndOpacity","onChangeColorHexAndOpacityPalette"]})]}]}]},{id:i("arrows"),label:Object(a.a)("Arrows"),devices:o,options:[S({v:e,device:t,state:n,devices:o,disabled:"off"===l,prefix:"sliderArrowsColor",onChangeHex:["onChangeColorHexAndOpacity","onChangeColorHexAndOpacityPalette"],onChangePalette:["onChangeColorPalette","onChangeColorPaletteOpacity"]}),{type:"grid",disabled:"off"===l,devices:o,className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[x({v:e,device:t,state:n,devices:o,prefix:"sliderArrowsColor",onChange:["onChangeColorHexAndOpacity","onChangeColorHexAndOpacityPalette"]})]}]}]}]}}function Ze({device:e,devices:t="all",component:o,state:n}){return{id:(t=>Object(r.defaultValueKey)({key:t,device:e,state:n}))("makeItGlobal"),label:Object(a.a)("Make it Global"),type:"switch",devices:t,value:o.props.meta.globalBlockId?"on":"off",onChange:e=>{"on"===e?o.becomeGlobal():o.becomeNormal()}}}function Je({v:e,device:t,devices:o="all",state:n}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("type"),label:Object(a.a)("Header"),type:"select",devices:o,choices:[{title:Object(a.a)("Static"),value:"static"},{title:Object(a.a)("Fixed"),value:"fixed"},{title:Object(a.a)("Sticky"),value:"animated"}],value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("type")}}function $e({v:e,device:t,devices:o="all",disabled:n=!1,state:a}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:a}))("columnsHeight"),devices:o,disabled:n,type:"slider",slider:{min:20,max:500},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:a}))("columnsHeight")},onChange:({value:e})=>({columnsHeight:e})}}function Qe({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:i});return{id:l("start"),devices:o,disabled:n,label:Object(a.a)("Start"),helper:!0,helperContent:Object(a.a)("Specify a start time (in seconds)"),type:"input",inputType:"number",placeholder:"seconds",roles:["admin"],value:{value:e.start},onChange:({value:e})=>({[l("start")]:Number(e)})}}function et({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:i});return{id:l("end"),devices:o,disabled:n,label:Object(a.a)("End"),helper:!0,helperContent:Object(a.a)("Specify an end time (in seconds)"),type:"input",inputType:"number",placeholder:"seconds",roles:["admin"],value:{value:e.end},onChange:({value:e})=>({[l("end")]:Number(e)})}}function tt({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:i});return{id:l("iconSize"),label:Object(a.a)("Play"),type:"slider",devices:o,disabled:n,roles:["admin"],slider:{min:50,max:200},input:{show:!0,min:50,max:200},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i}))("iconSize")},onChange:({value:e})=>({[l("iconSize")]:e,[l("iconSizeWidth")]:e,[l("iconSizeHeight")]:e})}}function ot({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("custom"),label:Object(a.a)("File"),type:"fileUpload",acceptedExtensions:["video/*"],devices:n,disabled:i,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("custom")}}function nt({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){const l=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i}),c=e=>Object(r.defaultValueKey)({key:e,device:t,state:i});return{type:"multiPicker",roles:["admin"],devices:o,disabled:n,picker:{id:c("controls"),label:Object(a.a)("Controls"),devices:o,disabled:n,type:"switch",roles:["admin"],value:l("controls")},choices:{on:[{id:c("controlsIconCustomSize"),type:"slider",label:Object(a.a)("Size"),disabled:"custom"!==e.type,slider:{min:1,max:40},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:l("controlsIconCustomSize")},onChange:({value:e})=>({[c("controlsIconCustomSize")]:e})}]}}}function at({v:e,device:t,state:o,prefix:n="",devices:i="all",disabled:l=!1}){const c=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),s=Object(h.b)(n,"widthSidebar");return{devices:i,id:c(s),label:Object(a.a)("Sidebar"),type:"slider",disabled:l,slider:{min:200,max:1e3},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))(s)},onChange:({value:e})=>({[c(s)]:e})}}function rt({v:e,device:t,state:o,prefix:n="",position:i=10,devices:l="all"}){const c=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),s=Object(h.b)(n,"widthImage");return{devices:l,id:c(s),label:Object(a.a)("Size"),type:"slider",position:i,slider:{min:0,max:500},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))(s)},onChange:({value:e})=>({[c(s)]:e})}}function it({v:e,device:t,state:o,disabled:n=!1}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{id:i("gridColumn"),label:Object(a.a)("Columns"),type:"slider",disabled:n,slider:{min:1,max:6},input:{show:!0,max:6},value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("gridColumn")},onChange:({value:e})=>({[i("gridColumn")]:e})}}var lt=o(7),ct=o.n(lt);function st({v:e,device:t,devices:o="all",state:n}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("hours"),type:"select",label:Object(a.a)("Hour"),devices:o,choices:ct.a.times(24,e=>{const t=(e+12)%12||12,o=e>=12?"pm":"am";return{title:"".concat(t," ").concat(o),value:"".concat(t," ").concat(o)}}),value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("hours")}}function dt({v:e,device:t,devices:o="all",state:n}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("minutes"),type:"select",devices:o,label:Object(a.a)("Minutes"),choices:ct.a.times(6,e=>{const t=10*e;return{title:"".concat(e,"0 m"),value:t}}),value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("minutes")}}function pt({v:e,device:t,devices:o="all",state:n}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("timeZone"),label:Object(a.a)("Time Zone"),type:"select",devices:o,choices:[{value:"660",title:Object(a.a)("- 11:00 (Niue)")},{value:"600",title:Object(a.a)("- 10:00 (Honolulu, Papeete)")},{value:"540",title:Object(a.a)("- 9:00 (Anchorage)")},{value:"480",title:Object(a.a)("- 8:00 (Los Angeles)")},{value:"420",title:Object(a.a)("- 7:00 (Denver, Phoenix)")},{value:"360",title:Object(a.a)("- 6:00 (Chicago, Dallas)")},{value:"300",title:Object(a.a)("- 5:00 (New York, Miami)")},{value:"240",title:Object(a.a)("- 4:00 (Halifax, Manaus)")},{value:"180",title:Object(a.a)("- 3:00 (Brasilia, Santiago)")},{value:"120",title:Object(a.a)("- 2:00 (Noronha)")},{value:"60",title:Object(a.a)("- 1:00 (Cape Verde)")},{value:"0",title:Object(a.a)("00:00 (London, Dublin)")},{value:"-60",title:Object(a.a)("+ 1:00 (Berlin, Paris)")},{value:"-120",title:Object(a.a)("+ 2:00 (Athens, Istanbul)")},{value:"-180",title:Object(a.a)("+ 3:00 (Moscow, Baghdad)")},{value:"-240",title:Object(a.a)("+ 4:00 (Dubai, Baku)")},{value:"-300",title:Object(a.a)("+ 5:00 (Yekaterinburg)")},{value:"-360",title:Object(a.a)("+ 6:00 (Nur-Sultan)")},{value:"-420",title:Object(a.a)("+ 7:00 (Bangkok, Jakarta)")},{value:"-480",title:Object(a.a)("+ 8:00 (Singapore, Beijing)")},{value:"-540",title:Object(a.a)("+ 9:00 (Tokyo, Seoul)")},{value:"-600",title:Object(a.a)("+ 10:00 (Sydney, Melbourne)")},{value:"-660",title:Object(a.a)("+ 11:00 (Ponape)")},{value:"-720",title:Object(a.a)("+ 12:00 (Auckland)")}],value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("timeZone")}}function ut({v:e,device:t,devices:o="all",state:n}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("language"),label:Object(a.a)("Language"),type:"select",devices:o,choices:[{title:Object(a.a)("German"),value:"de"},{title:Object(a.a)("English"),value:"en"},{title:Object(a.a)("Spanish"),value:"es"},{title:Object(a.a)("French"),value:"fr"},{title:Object(a.a)("Italian"),value:"it"},{title:Object(a.a)("Dutch"),value:"nl"},{title:Object(a.a)("Russian"),value:"ru"}],value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("language")}}function bt({v:e,device:t,devices:o="all",state:n}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("style"),label:Object(a.a)("Style"),type:"radioGroup",position:20,devices:o,choices:[{value:"style1",icon:"nc-countdown-style1"},{value:"style2",icon:"nc-countdown-style2"},{value:"style3",icon:"nc-countdown-style3"}],value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("style")}}function ht({v:e,device:t,devices:o="all",state:n,disabled:i=!1}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:n});return{id:l("start"),label:Object(a.a)("Start"),type:"input",inputType:"number",inputSize:"small",devices:o,disabled:i,value:{value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("start")},onChange:({value:e})=>({[l("start")]:e})}}function mt({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:i});return{id:l("end"),label:Object(a.a)("End"),type:"input",inputType:"number",inputSize:"small",devices:o,disabled:n,value:{value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i}))("end")},onChange:({value:e})=>({[l("end")]:e})}}function gt({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:i}),c=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i});return{id:l("type"),label:Object(a.a)("Style"),type:"radioGroup",disabled:n,devices:o,choices:[{value:"simple",icon:"nc-counter-style-1"},{value:"radial",icon:"nc-counter-style-2"},{value:"empty",icon:"nc-counter-style-3"},{value:"pie",icon:"nc-counter-style-4"}],value:c("type"),onChange:e=>({[l("type")]:e,[l("start")]:"simple"!==c("type")?c("start"):0})}}function vt({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){return{type:"multiPicker",roles:["admin"],devices:o,disabled:n,picker:{id:Object(r.defaultValueKey)({key:"style",device:t,state:i}),label:Object(a.a)("Style"),type:"radioGroup",devices:o,choices:[{value:"basic",icon:"nc-sndcloud-style-1"},{value:"artwork",icon:"nc-sndcloud-style-2"}],value:Object(r.defaultValueValue)({v:e,key:"style",device:t,state:i}),onChange:o=>({[Object(r.defaultValueKey)({v:e,key:"style",device:t,state:i})]:o,[Object(r.defaultValueKey)({v:e,key:"showArtwork",device:t,state:i})]:"basic"===o?"off":"on",[Object(r.defaultValueKey)({v:e,key:"height",device:t,state:i})]:"basic"===o?Object(r.defaultValueValue)({v:e,key:"mediumHeight",device:t,state:i}):"artwork"===o?Object(r.defaultValueValue)({v:e,key:"largeHeight",device:t,state:i}):Object(r.defaultValueValue)({v:e,key:"height",device:t,state:i})})}}}function yt({v:e,device:t,devices:o="all",state:n,position:i=350}){return{id:Object(r.defaultValueKey)({key:"itemPadding",device:t,state:n}),type:"slider",label:Object(a.a)("Spacing"),roles:["admin"],devices:o,position:i,slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},disabled:1===e.items.length,value:{value:Object(r.defaultValueValue)({v:e,key:"itemPadding",device:t,state:n})},onChange:({value:e})=>({[Object(r.defaultValueKey)({key:"itemPadding",device:t,state:n})]:e,[Object(r.defaultValueKey)({key:"itemPaddingRight",device:t,state:n})]:e,[Object(r.defaultValueKey)({key:"itemPaddingLeft",device:t,state:n})]:e})}}function ft({v:e,device:t,devices:o="all",state:n}){return{id:Object(r.defaultValueKey)({key:"code",device:t}),devices:o,type:"textarea",placeholder:Object(a.a)("Paste your code here..."),value:Object(r.defaultValueValue)({v:e,key:"code",device:t,state:n})}}function Ot({v:e,inGallery:t,device:o,state:n,devices:l="all"}){const c=t=>Object(r.defaultValueValue)({v:e,key:t,device:o,state:n}),s=Object(i.c)("link");return{id:(e=>Object(r.defaultValueKey)({key:e,device:o,state:n}))("linkExternal"),type:"input",label:Object(a.a)("Link to"),placeholder:"http://",devices:l,population:{show:s.length>0&&!t,choices:s},value:{population:c("linkPopulation"),value:c("linkExternal")},onChange:({value:e,population:t},{changed:o})=>({linkExternal:e,linkPopulation:t,linkExternalType:"value"===o||""===t?"linkExternal":"linkPopulation"})}}function Ct({devices:e="all",gallery:t}){const{inGallery:o=!1}=t||{};return{label:"Tags",id:"tags",type:"inputText-dev",helper:{enabled:!0,content:"Enter the tags, separated by a comma (art, sport, nature, etc).",position:"top-end"},placeholder:"art, nature, etc.",devices:e,disabled:!o}}function St({v:e,device:t,state:o,devices:n="all"}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),l=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),c=l("widthSuffix");return{id:i("width"),label:Object(a.a)("Width"),type:"slider",devices:n,position:100,slider:{min:"px"===c?200:20,max:"px"===c?1170:100},input:{show:!0,min:"px"===c?200:20,max:"px"===c?9999:100},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("width"),suffix:c},onChange:({value:e,suffix:t})=>({[i("width")]:e,[i("widthSuffix")]:t})}}function xt({v:e,device:t,state:o,devices:n="all",position:i=100,disabled:l=!1}){return{type:"multiPicker",devices:n,position:i,disabled:l,picker:"custom"===e.columnsHeightStyle?function({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("columnsHeightStyle"),label:Object(a.a)("Height"),type:"select",devices:n,disabled:i,choices:[{title:Object(a.a)("Auto"),value:"auto"},{title:Object(a.a)("Height"),value:"custom"},{title:Object(a.a)("Custom"),value:"custom2"},{title:Object(a.a)("Full Height"),value:"fullHeight"}],value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("columnsHeightStyle")}}({v:e,device:t,state:o}):function({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("columnsHeightStyle"),label:Object(a.a)("Height"),type:"select",devices:n,disabled:i,choices:[{title:Object(a.a)("Auto"),value:"auto"},{title:Object(a.a)("Custom"),value:"custom2"},{title:Object(a.a)("Full Height"),value:"fullHeight"}],value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("columnsHeightStyle")}}({v:e,device:t,state:o}),choices:{custom:[jt({v:e,device:t,state:o})],custom2:[jt({v:e,device:t,state:o})]}}}function jt({v:e,device:t,state:o,devices:n="all",disabled:a=!1}){const i=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),l=i("columnsHeightSuffix");return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("columnsHeight"),devices:n,disabled:a,type:"slider",slider:{min:20,max:"px"===l?500:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"vh"}]},value:{value:i("columnsHeight"),suffix:l},onChange:({value:e,suffix:t})=>({columnsHeight:e,columnsHeightSuffix:t})}}function Bt({v:e,device:t,state:o,devices:n="all"}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{id:i("closeHorizontalPosition"),label:Object(a.a)("Lateral"),type:"slider",devices:n,slider:{min:-50,max:50},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("closeHorizontalPosition")},onChange:({value:e})=>({[i("closeHorizontalPosition")]:e})}}function Pt({v:e,device:t,state:o,devices:n="all"}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{id:i("closeVerticalPosition"),label:Object(a.a)("Vertical"),type:"slider",devices:n,slider:{min:-50,max:50},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("closeVerticalPosition")},onChange:({value:e})=>({[i("closeVerticalPosition")]:e})}}function wt({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:i}),c=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i});return{type:"multiPicker",disabled:n,devices:o,picker:{id:l("closeBorderRadiusShape"),label:Object(a.a)("Corner"),type:"radioGroup",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}],value:c("closeBorderRadiusShape"),onChange:e=>({[l("closeBorderRadiusShape")]:e,[l("tempCloseBorderRadiusShape")]:""!==e?e:Object(r.defaultValueValue)("tempCloseBorderRadiusShape"),[l("closeBorderRadius")]:"rounded"===e?50:c("tempCloseBorderRadius")})},choices:{custom:[{id:l("closeBorderRadius"),type:"slider",slider:{min:0,max:50},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:c("closeBorderRadius")},onChange:({value:e})=>({[l("closeBorderRadius")]:e,[l("tempCloseBorderRadius")]:e})}]}}}function Tt({v:e,device:t,state:o,devices:n="all"}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),l=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o});return{type:"multiPicker",devices:n,roles:["admin"],picker:{id:i("closeSize"),label:Object(a.a)("Size"),type:"radioGroup",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}],value:l("closeSize"),onChange:e=>({[i("closeSize")]:e,[i("closeCustomSize")]:l("custom"!==e?"close".concat(Object(h.c)(e),"Size"):"closeCustomSize")})},choices:{custom:[{id:i("closeCustomSize"),type:"slider",devices:n,slider:{min:8,max:50},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:l("closeCustomSize")},onChange:({value:e})=>({[i("closeCustomSize")]:e})}]}}}function zt({v:e,device:t,state:o,devices:n="all"}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{id:i("closeBgSize"),label:Object(a.a)("Size"),type:"slider",devices:n,slider:{min:0,max:30},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("closeBgSize")},onChange:({value:e})=>({[i("closeBgSize")]:e,[i("tempCloseBgSize")]:e})}}function kt({v:e,device:t,state:o,devices:n="desktop",disabled:i=!1}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("scrollPage"),label:Object(a.a)("Scroll Page Behind"),type:"switch",devices:n,disabled:i,position:100,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("scrollPage")}}function Et({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("clickOutsideToClose"),label:Object(a.a)("Click Outside to Close"),type:"switch",devices:n,disabled:i,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("clickOutsideToClose")}}function Ht({v:e,device:t,state:o,devices:n="all"}){return{type:"multiPicker",devices:n,picker:{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("showCloseButton"),label:Object(a.a)("Display Close Button"),type:"switch",value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("showCloseButton")},choices:{on:[_t({v:e,device:t,state:o,devices:n})]}}}function _t({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{id:l("showCloseButtonAfter"),label:Object(a.a)("Delay"),type:"slider",devices:n,disabled:i,slider:{min:0,max:10},input:{show:!0},suffix:{show:!0,choices:[{title:"s",value:"s"}]},value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("showCloseButtonAfter")},onChange:({value:e})=>({[l("showCloseButtonAfter")]:e})}}var Rt=o(23);function Mt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function It(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Mt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Ft({v:e,prefix:t="",device:o,state:n,disabled:l=!1,devices:c="all",onChange:s}){const d=Object(r.defaultValueKey)({key:Object(h.b)(t,"fontFamily"),device:o,state:n}),p=Object(i.e)("fontFamily",Object(r.defaultValueValue)({v:e,key:Object(h.b)(t,"fontFamily"),device:o,state:n}),Object(r.defaultValueValue)({v:e,key:Object(h.b)(t,"fontStyle"),device:o,state:n}));return{id:d,label:Object(a.a)("Font Family"),type:"fontFamily",devices:c,disabled:l,value:p,onChange:({id:a,weights:i,type:l})=>{const c=It({},{v:e,prefix:t,device:o,state:n,onChange:s},{},{current:d,value:a,weights:i,type:l});return Object(r.saveOnChanges)(c)}}}function Nt({v:e,prefix:t="",device:o,state:n,disabled:i=!1,devices:l="all"}){const c=Object(r.defaultValueKey)({key:Object(h.b)(t,"fontStyle"),device:o,state:n}),s=Object(r.defaultValueValue)({v:e,key:Object(h.b)(t,"fontStyle"),device:o,state:n});return{id:c,label:Object(a.a)("Typography"),type:"fontStyle",devices:l,disabled:i,className:"brz-ed-popover__font-style",display:"block",value:s,onChange:e=>({[c]:e})}}function Lt({v:e,prefix:t="",device:o,state:n,disabled:l=!1,devices:c="all",onChange:s}){const d=Object(r.defaultValueKey)({key:Object(h.b)(t,"fontSize"),device:o,state:n}),p=Object(i.e)("fontSize",Object(r.defaultValueValue)({v:e,key:Object(h.b)(t,"fontSize"),device:o,state:n}),Object(r.defaultValueValue)({v:e,key:Object(h.b)(t,"fontStyle"),device:o,state:n}));return{id:d,label:Object(a.a)("Size"),type:"stepper",devices:c,disabled:l,display:"block",min:1,max:100,step:1,value:p,onChange:a=>{const i=It({},{v:e,prefix:t,device:o,state:n,onChange:s},{},{current:d,value:a});return Object(r.saveOnChanges)(i)}}}function Wt({v:e,prefix:t="",device:o,state:n,disabled:l=!1,devices:c="all",onChange:s}){const d=Object(r.defaultValueKey)({key:Object(h.b)(t,"lineHeight"),device:o,state:n}),p=Object(i.e)("lineHeight",Object(r.defaultValueValue)({v:e,key:Object(h.b)(t,"lineHeight"),device:o,state:n}),Object(r.defaultValueValue)({v:e,key:Object(h.b)(t,"fontStyle"),device:o,state:n}));return{id:d,label:Object(a.a)("Line Hgt."),type:"stepper",devices:c,disabled:l,display:"block",min:1,max:10,step:.1,value:p,onChange:a=>{const i=It({},{v:e,prefix:t,device:o,state:n,onChange:s},{},{current:d,value:a});return Object(r.saveOnChanges)(i)}}}function Vt({v:e,prefix:t="",device:o,state:n,disabled:l=!1,devices:c="all",onChange:s}){const d=Object(r.defaultValueKey)({key:Object(h.b)(t,"fontWeight"),device:o,state:n}),p=Object(i.e)("fontFamilyType",Object(r.defaultValueValue)({v:e,key:Object(h.b)(t,"fontFamilyType"),device:o,state:n}),Object(r.defaultValueValue)({v:e,key:Object(h.b)(t,"fontStyle"),device:o,state:n})),u=Object(i.e)("fontFamily",Object(r.defaultValueValue)({v:e,key:Object(h.b)(t,"fontFamily"),device:o,state:n}),Object(r.defaultValueValue)({v:e,key:Object(h.b)(t,"fontStyle"),device:o,state:n})),b=Object(i.e)("fontWeight",Object(r.defaultValueValue)({v:e,key:Object(h.b)(t,"fontWeight"),device:o,state:n}),Object(r.defaultValueValue)({v:e,key:Object(h.b)(t,"fontStyle"),device:o,state:n}));return{id:d,label:Object(a.a)("Weight"),type:"select",devices:c,disabled:l,display:"block",choices:Object(Rt.n)({type:p,family:u}),value:b,onChange:a=>{const i=It({},{v:e,prefix:t,device:o,state:n,onChange:s},{},{current:d,value:a});return Object(r.saveOnChanges)(i)}}}function Dt({v:e,prefix:t="",device:o,state:n,disabled:l=!1,devices:c="all",onChange:s}){const d=Object(r.defaultValueKey)({key:Object(h.b)(t,"letterSpacing"),device:o,state:n}),p=Object(i.e)("letterSpacing",Object(r.defaultValueValue)({v:e,key:Object(h.b)(t,"letterSpacing"),device:o,state:n}),Object(r.defaultValueValue)({v:e,key:Object(h.b)(t,"fontStyle"),device:o,state:n}));return{id:d,label:Object(a.a)("Letter Sp."),type:"stepper",devices:c,disabled:l,display:"block",min:-20,max:20,step:.5,value:p,onChange:a=>{const i=It({},{v:e,prefix:t,device:o,state:n,onChange:s},{},{current:d,value:a});return Object(r.saveOnChanges)(i)}}}function At({v:e,device:t,devices:o="all",state:n}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:n}),l=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n});return{type:"multiPicker",roles:["admin"],devices:o,picker:{id:i("iconSize"),label:Object(a.a)("Size"),type:"radioGroup",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}],value:l("iconSize"),onChange:e=>({[i("iconSize")]:e,[i("iconCustomSize")]:l("custom"!==e?"icon".concat(Object(h.c)(e),"Size"):"iconCustomSize")})},choices:{custom:[{id:i("iconCustomSize"),type:"slider",slider:{min:8,max:50},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:l("iconCustomSize")},onChange:({value:e})=>({[i("iconCustomSize")]:e})}]}}}function Gt({v:e,device:t,disabled:o=!1,devices:n="all",state:i}){return{id:Object(r.defaultValueKey)({key:"size",device:t,state:i}),label:Object(a.a)("Size"),disabled:o,devices:n,type:"radioGroup",choices:[{icon:"nc-small",value:"small"},{icon:"nc-large",value:"large"}],value:Object(r.defaultValueValue)({v:e,key:"size",device:t,state:i})}}function Ut({v:e,device:t,devices:o="all",state:n}){return{type:"multiPicker",picker:{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("order"),devices:o,label:Object(a.a)("Order"),type:"radioGroup",choices:[{value:"ASC",icon:"nc-up"},{value:"DESC",icon:"nc-down"}],value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("order")}}}function Kt({v:e,device:t,devices:o="all",state:n}){return{type:"multiPicker",picker:{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("order"),devices:o,label:Object(a.a)("Order"),type:"radioGroup",choices:[{value:"ASC",icon:"nc-up"},{value:"DESC",icon:"nc-down"}],value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("order")}}}function qt({v:e,device:t,devices:o="all",state:n}){return{id:Object(r.defaultValueKey)({key:"shortcode",device:t,state:n}),devices:o,type:"textarea",placeholder:Object(a.a)("Paste your WordPress shortcode here ..."),value:Object(r.defaultValueValue)({v:e,key:"shortcode",device:t,state:n})}}function Yt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Xt({v:e,device:t,state:o,devices:n="all"}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{devices:n,id:i("padding"),type:"slider",label:Object(a.a)("Spacing"),slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("padding")},onChange:({value:e})=>({[i("padding")]:e,[i("paddingRight")]:e,[i("paddingBottom")]:e,[i("paddingLeft")]:e})}}function Zt({v:e,device:t,state:o,devices:n="all"}){const a=ct.a.pluck(e.items[0].value.items,"value");return{devices:n,id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("apps"),type:"formApps",icon:"nc-extensions-2",value:{id:e._id,fields:a}}}function Jt({v:e,device:t,state:o,devices:n="all"}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),l=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),c={small:l("sizeSmallPadding"),medium:l("sizeMediumPadding"),large:l("sizeLargePadding")};return{devices:n,id:i("size"),label:Object(a.a)("Size"),type:"radioGroup",position:17,choices:[{icon:"nc-small",value:"small"},{icon:"nc-medium",value:"medium"},{icon:"nc-large",value:"large"}],value:l("size"),onChange:e=>({[i("size")]:e,[i("paddingTop")]:c[e],[i("paddingRight")]:c[e]+10,[i("paddingBottom")]:c[e],[i("paddingLeft")]:c[e]+10})}}function $t({v:e,device:t,state:o,onChange:i,devices:l="all"}){return{devices:l,id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("borderRadius"),label:Object(a.a)("Corner"),type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("borderRadius")},onChange:({value:a},{sliderDragEnd:l})=>{const c=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Yt(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Yt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},{v:e,device:t,state:o,onChange:i},{},{value:a,sliderDragEnd:l});return Object(r.saveOnChanges)(c)}}}function Qt({device:e,state:t,devices:o="all"}){return{id:Object(r.defaultValueKey)({key:"list",device:e,state:t}),devices:o,type:"toggle",disabled:!0}}var eo=o(14);function to({v:e,device:t,devices:o="all",state:n}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("shape"),label:Object(a.a)("Dividers"),type:"radioGroup",devices:o,choices:[{value:"top",icon:"nc-dividers-top"},{value:"bottom",icon:"nc-dividers-bottom"}],value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("shape")}}function oo({v:e,device:t,devices:o="all",state:n}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("shapeTopType"),label:Object(a.a)("Type"),type:"select",devices:o,className:"brz-control__select-option--icon",choices:Object(i.f)(),value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("shapeTopType")}}function no({v:e,device:t,devices:o="all",disabled:n=!1,state:l}){const c=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:l}),{hex:s}=Object(i.d)(c("shapeTopColorHex"),c("shapeTopColorPalette"));return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:l}))("shapeTopColors"),type:"popover",size:"auto",label:Object(a.a)("Color"),title:Object(a.a)("Color"),devices:o,disabled:n,icon:{style:{backgroundColor:Object(eo.c)(s,c("shapeTopColorOpacity"))}},options:[{id:"shapeTopColor",type:"colorPicker-dev"}]}}function ao({v:e,device:t,devices:o="all",disabled:n=!1,state:a}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:a}),l=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:a});return{id:i("shapeTopHeight"),type:"slider",icon:"nc-height",devices:o,disabled:n,slider:{min:0,max:"px"===l("shapeTopHeightSuffix")?500:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("shapeTopHeight"),suffix:l("shapeTopHeightSuffix")},onChange:({value:e,suffix:t})=>({[i("shapeTopHeight")]:e,[i("shapeTopHeightSuffix")]:t})}}function ro({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:i});return{id:l("shapeTopFlip"),label:Object(a.a)("Flip"),type:"checkGroup",disabled:n,devices:o,choices:[{value:"shapeTopHorizontal",icon:"nc-flip-horizontal"}],value:{shapeTopHorizontal:"on"===(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i}))("shapeTopHorizontal")},onChange:({shapeTopHorizontal:e})=>({[l("shapeTopHorizontal")]:e?"on":"off"})}}function io({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:i}))("shapeTopIndex"),type:"radioGroup",label:Object(a.a)("Arrangement"),disabled:n,devices:o,choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}],value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i}))("shapeTopIndex")}}function lo({v:e,device:t,devices:o="all",state:n}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("shapeBottomType"),label:Object(a.a)("Type"),type:"select",devices:o,className:"brz-control__select-option--icon brz-control__select-option--icon--bottom",choices:Object(i.f)(),value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("shapeBottomType")}}function co({v:e,device:t,devices:o="all",disabled:n=!1,state:l="normal"}){const c=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:l}),{hex:s}=Object(i.d)(c("shapeBottomColorHex"),c("shapeBottomColorPalette"));return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:l}))("shapeBottomColors"),type:"popover",size:"auto",label:Object(a.a)("Color"),title:Object(a.a)("Color"),devices:o,disabled:n,icon:{style:{backgroundColor:Object(eo.c)(s,c("shapeBottomColorOpacity"))}},options:[{id:"shapeBottomColor",type:"colorPicker-dev"}]}}function so({v:e,device:t,disabled:o=!1,devices:n="all",state:a}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:a}),l=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:a});return{id:i("shapeBottomHeight"),type:"slider",icon:"nc-height",disabled:o,devices:n,slider:{min:0,max:"px"===l("shapeBottomHeightSuffix")?500:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("shapeBottomHeight"),suffix:l("shapeBottomHeightSuffix")},onChange:({value:e,suffix:t})=>({[i("shapeBottomHeight")]:e,[i("shapeBottomHeightSuffix")]:t})}}function po({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:i});return{id:l("shapeBottomFlip"),label:Object(a.a)("Flip"),type:"checkGroup",devices:o,disabled:n,choices:[{value:"shapeBottomHorizontal",icon:"nc-flip-horizontal"}],value:{shapeBottomHorizontal:"on"===(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i}))("shapeBottomHorizontal")},onChange:({shapeBottomHorizontal:e})=>({[l("shapeBottomHorizontal")]:e?"on":"off"})}}function uo({v:e,device:t,devices:o="all",disabled:n=!1,state:i="normal"}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:i}))("shapeBottomIndex"),type:"radioGroup",label:Object(a.a)("Arrangement"),devices:o,disabled:n,choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}],value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i}))("shapeBottomIndex")}}const bo="\n<span>Add your custom block name, example: my-block </span>";function ho({v:e,device:t,devices:o="all",position:n=30,state:i,population:l}){const c=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i}),s=e=>Object(r.defaultValueKey)({key:e,device:t,state:i});return{id:s("anchorName"),label:Object(a.a)("Block Name"),type:"input",display:"block",position:n,devices:o,helper:!0,helperContent:bo,population:{show:l.length>0,choices:l},value:{value:c("anchorName"),population:c("cssIDPopulation")},onChange:({value:e,population:t})=>({[s("anchorName")]:e,[s("cssIDPopulation")]:t})}}const mo="\n<span>Add your custom ID without the #pound, example: my-id</span>";function go({v:e,device:t,devices:o="all",position:n=30,state:i,population:l}){const c=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i}),s=e=>Object(r.defaultValueKey)({key:e,device:t,state:i});return{id:s("customID"),label:Object(a.a)("CSS ID"),type:"input",display:"block",position:n,devices:o,helper:!0,helperContent:mo,population:{show:l.length>0,choices:l},value:{value:c("customID"),population:c("cssIDPopulation")},onChange:({value:e,population:t})=>({[s("customID")]:e,[s("cssIDPopulation")]:t})}}function vo({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("audio"),label:Object(a.a)("File"),type:"fileUpload",acceptedExtensions:[".mp3",".ogg",".wav"],devices:n,disabled:i,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("audio")}}function yo({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){const l=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i}),c=e=>Object(r.defaultValueKey)({key:e,device:t,state:i});return{type:"multiPicker",roles:["admin"],devices:o,disabled:n,picker:{id:c("iconSize"),devices:o,label:Object(a.a)("Icons"),type:"radioGroup",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}],value:l("iconSize"),onChange:e=>({[c("iconSize")]:e,iconCustomSize:l("small"===e?"smallIconSize":"medium"===e?"mediumIconSize":"large"===e?"largeIconSize":"iconCustomSize")})},choices:{custom:[{id:c("iconCustomSize"),type:"slider",slider:{min:1,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:l("iconCustomSize")},onChange:({value:e})=>({[c("iconCustomSize")]:e})}]}}}function fo({v:e,device:t,devices:o="all",state:n}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:n}),c=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n});return{id:l("taxonomy"),label:Object(a.a)("Categories"),className:"brz-ed-option__select-taxonomy",type:"select",devices:o,choices:Object(i.g)(),value:"".concat(c("taxonomy"),"|").concat(c("taxonomyId")),onChange:e=>{const[t,o]=e.split("|");return{[l("taxonomy")]:t,[l("taxonomyId")]:o}}}}function Oo({v:e,device:t,devices:o="all",state:n}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:n}))("order"),label:Object(a.a)("Order"),devices:o,type:"radioGroup",choices:[{value:"ASC",icon:"nc-up"},{value:"DESC",icon:"nc-down"}],value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("order")}}function Co({v:e,device:t,devices:o="all",state:n}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:n}),l=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n});return{type:"multiPicker",devices:o,picker:{id:i("pagination"),label:Object(a.a)("Pagination"),type:"switch",value:l("pagination")},choices:{on:[{id:i("paginationSpacing"),label:Object(a.a)("Spacing"),type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:l("paginationSpacing")},onChange:({value:e})=>({[i("paginationSpacing")]:e})}]}}}function So({v:e,device:t,state:o,disabled:n=!1,devices:i="all"}){return{devices:i,disabled:n,type:"multiPicker",picker:{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("sliderAutoPlay"),label:Object(a.a)("Auto Play"),type:"switch",value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("sliderAutoPlay")},choices:{on:[{id:"sliderAutoPlaySpeed",label:Object(a.a)("Speed"),type:"slider-dev",config:{min:1,max:6,units:[{value:"s",title:"s"}]}}]}}}function xo({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){const l=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o});return{devices:n,disabled:i,type:"multiPicker",picker:{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("sliderArrows"),label:Object(a.a)("Arrows"),type:"select",choices:[{title:Object(a.a)("None"),icon:"nc-none",value:"none"},{title:Object(a.a)("Thin"),icon:"nc-right-arrow-thin",value:"thin"},{title:Object(a.a)("Heavy"),icon:"nc-right-arrow-heavy",value:"heavy"},{title:Object(a.a)("Tail"),icon:"nc-right-arrow-tail",value:"tail"},{title:Object(a.a)("Round"),icon:"nc-right-arrow-filled",value:"filled"},{title:Object(a.a)("Outline"),icon:"nc-right-arrow-outline",value:"outline"}],value:l("sliderArrows")},choices:{[l("sliderArrows")]:[{id:"sliderArrowsSpacing",label:Object(a.a)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}],none:[]}}}function jo({v:e,device:t,state:o,disabled:n=!1,devices:i="all"}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("sliderDots"),label:Object(a.a)("Dots"),type:"select",devices:i,disabled:n,choices:[{title:Object(a.a)("None"),icon:"nc-none",value:"none"},{title:Object(a.a)("Circle"),icon:"nc-circle-outline",value:"circle"},{title:Object(a.a)("Diamond"),icon:"nc-diamond-outline",value:"diamond"},{title:Object(a.a)("Square"),icon:"nc-square-outline",value:"square"}],value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("sliderDots")}}function Bo({v:e,device:t,state:o,choices:n=[],disabled:i=!1,devices:l="all"}){const c=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),s=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{id:s("taxonomy"),label:Object(a.a)("Categories"),disabled:i,devices:l,type:"select",choices:n,value:"".concat(c("taxonomy"),"|").concat(c("taxonomyId")),onChange:e=>{const[t,o]=e.split("|");return{[s("taxonomy")]:t,[s("taxonomyId")]:o}}}}function Po({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("orderBy"),label:Object(a.a)("Filter By"),devices:n,disabled:i,type:"select",choices:[{title:Object(a.a)("ID"),value:"ID"},{title:Object(a.a)("Title"),value:"title"},{title:Object(a.a)("Date"),value:"date"},{title:Object(a.a)("Random"),value:"rand"},{title:Object(a.a)("Comment Count"),value:"comment_count"}],value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("orderBy")}}function wo({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){return{type:"multiPicker",disabled:i,devices:n,picker:{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:o}))("order"),label:Object(a.a)("Order"),type:"radioGroup",choices:[{value:"ASC",icon:"nc-up"},{value:"DESC",icon:"nc-down"}],value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("order")}}}function To({v:e,device:t,state:o,disabled:n=!1,devices:i="all"}){const l=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),c=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{id:c("sliderPaddingType"),type:"multiPicker",value:l("sliderPaddingType"),disabled:n,devices:i,position:50,picker:{id:c("sliderPaddingType"),label:Object(a.a)("Padding"),type:"radioGroup",choices:[{value:"grouped",icon:"nc-styling-all"},{value:"ungrouped",icon:"nc-styling-individual"}],value:l("sliderPaddingType")},choices:{grouped:[{id:c("sliderPadding"),type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("sliderPadding"),suffix:l("sliderPaddingSuffix")},onChange:({value:e,suffix:t})=>({[c("sliderPadding")]:e,[c("sliderPaddingSuffix")]:t,[c("sliderPaddingTop")]:e,[c("sliderPaddingRight")]:e,[c("sliderPaddingBottom")]:e,[c("sliderPaddingLeft")]:e})}],ungrouped:[{id:c("sliderPaddingTop"),icon:"nc-styling-top",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("sliderPaddingTop"),suffix:l("sliderPaddingTopSuffix")},onChange:({value:e,suffix:t})=>({[c("sliderPaddingTop")]:e,[c("sliderPaddingTopSuffix")]:t,[c("sliderPadding")]:e===l("sliderPaddingRight")&&e===l("sliderPaddingLeft")&&e===l("sliderPaddingBottom")?e:l("sliderPadding")})},{id:c("sliderPaddingRight"),icon:"nc-styling-right",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("sliderPaddingRight"),suffix:l("sliderPaddingRightSuffix")},onChange:({value:e,suffix:t})=>({[c("sliderPaddingRight")]:e,[c("sliderPaddingRightSuffix")]:t,[c("sliderPadding")]:e===l("sliderPaddingTop")&&e===l("sliderPaddingLeft")&&e===l("sliderPaddingBottom")?e:l("sliderPadding")})},{id:c("sliderPaddingBottom"),icon:"nc-styling-bottom",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("sliderPaddingBottom"),suffix:l("sliderPaddingBottomSuffix")},onChange:({value:e,suffix:t})=>({[c("sliderPaddingBottom")]:e,[c("sliderPaddingBottomSuffix")]:t,[c("sliderPadding")]:e===l("sliderPaddingRight")&&e===l("sliderPaddingLeft")&&e===l("sliderPaddingTop")?e:l("sliderPadding")})},{id:c("sliderPaddingLeft"),icon:"nc-styling-left",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("sliderPaddingLeft"),suffix:l("sliderPaddingLeftSuffix")},onChange:({value:e,suffix:t})=>({[c("sliderPaddingLeft")]:e,[c("sliderPaddingLeftSuffix")]:t,[c("sliderPadding")]:e===l("sliderPaddingRight")&&e===l("sliderPaddingTop")&&e===l("sliderPaddingBottom")?e:l("sliderPadding")})}]}}}function zo({v:e,device:t,devices:o="all",state:n}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:n});return{id:i("twitter"),label:Object(a.a)("Twitter"),type:"select",devices:o,choices:[{title:Object(a.a)("Embed"),value:"embed"},{title:Object(a.a)("Button"),value:"button"}],value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("twitter"),onChange:e=>({[i("twitter")]:e,[i("twitterType")]:"embed"===e?"embed":"followButton"})}}o(170);function ko({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){return{id:(e=>Object(r.defaultValueKey)({key:e,device:t,state:i}))("searchStyle"),label:Object(a.a)("Style"),type:"select",devices:o,disabled:n,choices:[{title:Object(a.a)("Classic"),value:"classic"},{title:Object(a.a)("Minimal"),value:"minimal"}],value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i}))("searchStyle")}}o.d(t,"f",(function(){return c})),o.d(t,"k",(function(){return s})),o.d(t,"i",(function(){return d})),o.d(t,"j",(function(){return p})),o.d(t,"g",(function(){return u})),o.d(t,"h",(function(){return b})),o.d(t,"n",(function(){return v})),o.d(t,"u",(function(){return S})),o.d(t,"v",(function(){return x})),o.d(t,"bc",(function(){return j})),o.d(t,"Zb",(function(){return B})),o.d(t,"ac",(function(){return P})),o.d(t,"d",(function(){return z})),o.d(t,"e",(function(){return k})),o.d(t,"l",(function(){return R})),o.d(t,"m",(function(){return M})),o.d(t,"p",(function(){return I})),o.d(t,"o",(function(){return F})),o.d(t,"q",(function(){return W})),o.d(t,"s",(function(){return V})),o.d(t,"r",(function(){return D})),o.d(t,"gc",(function(){return A})),o.d(t,"hc",(function(){return U})),o.d(t,"ic",(function(){return K})),o.d(t,"jc",(function(){return q})),o.d(t,"kc",(function(){return Y})),o.d(t,"lc",(function(){return G})),o.d(t,"a",(function(){return X})),o.d(t,"Mc",(function(){return Z})),o.d(t,"Ec",(function(){return $})),o.d(t,"Dc",(function(){return J})),o.d(t,"Cc",(function(){return Q})),o.d(t,"nc",(function(){return oe})),o.d(t,"oc",(function(){return ne})),o.d(t,"mc",(function(){return se})),o.d(t,"Ac",(function(){return ue})),o.d(t,"Bc",(function(){return be})),o.d(t,"Nc",(function(){return he})),o.d(t,"H",(function(){return ge})),o.d(t,"G",(function(){return ye})),o.d(t,"c",(function(){return Oe})),o.d(t,"Ub",(function(){return Ce})),o.d(t,"cc",(function(){return Se})),o.d(t,"Fc",(function(){return xe})),o.d(t,"Xb",(function(){return je})),o.d(t,"Yb",(function(){return Be})),o.d(t,"Vb",(function(){return Pe})),o.d(t,"Wb",(function(){return we})),o.d(t,"I",(function(){return Te})),o.d(t,"J",(function(){return Re})),o.d(t,"O",(function(){return Me})),o.d(t,"M",(function(){return ke})),o.d(t,"Q",(function(){return ze})),o.d(t,"P",(function(){return Ee})),o.d(t,"N",(function(){return He})),o.d(t,"R",(function(){return _e})),o.d(t,"L",(function(){return Ie})),o.d(t,"K",(function(){return Fe})),o.d(t,"db",(function(){return Ne})),o.d(t,"eb",(function(){return Le})),o.d(t,"cb",(function(){return We})),o.d(t,"fb",(function(){return Ve})),o.d(t,"Ab",(function(){return Ae})),o.d(t,"Eb",(function(){return Ge})),o.d(t,"Fb",(function(){return Ye})),o.d(t,"Gb",(function(){return Xe})),o.d(t,"Bb",(function(){return Ze})),o.d(t,"Cb",(function(){return Je})),o.d(t,"Db",(function(){return qe})),o.d(t,"yb",(function(){return $e})),o.d(t,"Qb",(function(){return ot})),o.d(t,"Jb",(function(){return nt})),o.d(t,"Pb",(function(){return Qe})),o.d(t,"Kb",(function(){return et})),o.d(t,"Lb",(function(){return tt})),o.d(t,"Ob",(function(){return at})),o.d(t,"Nb",(function(){return rt})),o.d(t,"Mb",(function(){return it})),o.d(t,"hb",(function(){return st})),o.d(t,"jb",(function(){return dt})),o.d(t,"kb",(function(){return pt})),o.d(t,"ib",(function(){return ut})),o.d(t,"gb",(function(){return bt})),o.d(t,"mb",(function(){return ht})),o.d(t,"lb",(function(){return mt})),o.d(t,"nb",(function(){return gt})),o.d(t,"Hb",(function(){return vt})),o.d(t,"bb",(function(){return yt})),o.d(t,"ob",(function(){return ft})),o.d(t,"ec",(function(){return Ot})),o.d(t,"fc",(function(){return Ct})),o.d(t,"D",(function(){return St})),o.d(t,"C",(function(){return xt})),o.d(t,"A",(function(){return Bt})),o.d(t,"B",(function(){return Pt})),o.d(t,"y",(function(){return wt})),o.d(t,"z",(function(){return Tt})),o.d(t,"x",(function(){return zt})),o.d(t,"E",(function(){return kt})),o.d(t,"w",(function(){return Et})),o.d(t,"F",(function(){return Ht})),o.d(t,"Gc",(function(){return Ft})),o.d(t,"Ic",(function(){return Nt})),o.d(t,"Hc",(function(){return Lt})),o.d(t,"Lc",(function(){return Wt})),o.d(t,"Jc",(function(){return Vt})),o.d(t,"Kc",(function(){return Dt})),o.d(t,"dc",(function(){return At})),o.d(t,"pb",(function(){return Gt})),o.d(t,"Rb",(function(){return Ut})),o.d(t,"Sb",(function(){return Kt})),o.d(t,"Tb",(function(){return qt})),o.d(t,"tb",(function(){return Xt})),o.d(t,"qb",(function(){return Zt})),o.d(t,"sb",(function(){return Jt})),o.d(t,"rb",(function(){return $t})),o.d(t,"ub",(function(){return Qt})),o.d(t,"pc",(function(){return to})),o.d(t,"zc",(function(){return oo})),o.d(t,"vc",(function(){return no})),o.d(t,"xc",(function(){return ao})),o.d(t,"wc",(function(){return ro})),o.d(t,"yc",(function(){return io})),o.d(t,"uc",(function(){return lo})),o.d(t,"qc",(function(){return co})),o.d(t,"sc",(function(){return so})),o.d(t,"rc",(function(){return po})),o.d(t,"tc",(function(){return uo})),o.d(t,"b",(function(){return ho})),o.d(t,"t",(function(){return go})),o.d(t,"T",(function(){return vo})),o.d(t,"S",(function(){return yo})),o.d(t,"xb",(function(){return fo})),o.d(t,"vb",(function(){return Oo})),o.d(t,"wb",(function(){return Co})),o.d(t,"U",(function(){return So})),o.d(t,"V",(function(){return xo})),o.d(t,"W",(function(){return jo})),o.d(t,"ab",(function(){return Bo})),o.d(t,"Y",(function(){return Po})),o.d(t,"X",(function(){return wo})),o.d(t,"Z",(function(){return To})),o.d(t,"Ib",(function(){return zo})),o.d(t,"zb",(function(){return ko}))},,,function(e,t,o){"use strict";o.d(t,"h",(function(){return n})),o.d(t,"f",(function(){return a})),o.d(t,"c",(function(){return r})),o.d(t,"b",(function(){return i})),o.d(t,"a",(function(){return l})),o.d(t,"g",(function(){return c})),o.d(t,"e",(function(){return s})),o.d(t,"d",(function(){return d}));const n=(e,t)=>"string"==typeof e?e:t,a=(e,t)=>n(e)||t,r=e=>e&&e[0].toUpperCase()+e.slice(1),i=(e,t)=>""===e?t:e+r(t),l=e=>e.reduce(i,""),c=(e,...t)=>{let o=0;return e.replace(/%s/g,()=>t[o++])},s=e=>encodeURIComponent(JSON.stringify(e)),d=e=>JSON.parse(decodeURIComponent(e))},,function(e,t,o){"use strict";o.d(t,"a",(function(){return d}));var n=o(0),a=o.n(n),r=o(7),i=o.n(r),l=o(6),c=o.n(l),s=o(100);const d=a.a.forwardRef(({className:e,icon:t="nc-circle-add",style:o,onClick:n=i.a.noop},r)=>{const l=c()("brz-icon-svg brz-ed-icon-svg",e);return a.a.createElement("svg",{ref:r,className:l,onClick:n,style:o},a.a.createElement("use",{xlinkHref:Object(s.a)(t)}))});t.b=d},function(e,t,o){"use strict";o.d(t,"c",(function(){return a})),o.d(t,"b",(function(){return r})),o.d(t,"a",(function(){return i})),o.d(t,"f",(function(){return l})),o.d(t,"d",(function(){return s})),o.d(t,"e",(function(){return d})),o.d(t,"g",(function(){return p}));var n=o(55);const a="normal",r="hover",i="active",l=()=>[a,r,i],c=e=>{const t=n.a.read(e);if(void 0===t)return;const o="tabNormal"===t?a:"tabHover"===t?r:t;return l().includes(o)?o:void 0},s=a,d=e=>{var t;return null!==(t=c(e))&&void 0!==t?t:s},p=e=>{switch(e){case a:return"tabNormal";case r:return"tabHover";default:return e}}},function(e,t,o){"use strict";var n=o(14);function a(e,t){if(t){e=Object(n.a)(t).hex}return{hex:e}}var r=o(23);function i(e,t,o){if(o){const{[e]:n}=Object(r.e)(o);t=n}return t}var l=o(1);const c=()=>[{value:"none",title:Object(l.a)("None")},{value:"bounce",title:Object(l.a)("Bounce")},{value:"flash",title:Object(l.a)("Flash")},{value:"pulse",title:Object(l.a)("Pulse")},{value:"rubberBand",title:Object(l.a)("RubberBand")},{value:"shake",title:Object(l.a)("Shake")},{value:"swing",title:Object(l.a)("Swing")},{value:"tada",title:Object(l.a)("Tada")},{value:"wobble",title:Object(l.a)("Wobble")},{value:"jello",title:Object(l.a)("Jello")},{value:"bounceIn",title:Object(l.a)("BounceIn")},{value:"bounceInDown",title:Object(l.a)("BounceInDown")},{value:"bounceInLeft",title:Object(l.a)("BounceInLeft")},{value:"bounceInRight",title:Object(l.a)("BounceInRight")},{value:"bounceInUp",title:Object(l.a)("BounceInUp")},{value:"fadeIn",title:Object(l.a)("FadeIn")},{value:"fadeInDown",title:Object(l.a)("FadeInDown")},{value:"fadeInDownBig",title:Object(l.a)("FadeInDownBig")},{value:"fadeInLeft",title:Object(l.a)("FadeInLeft")},{value:"fadeInLeftBig",title:Object(l.a)("FadeInLeftBig")},{value:"fadeInRight",title:Object(l.a)("FadeInRight")},{value:"fadeInRightBig",title:Object(l.a)("FadeInRightBig")},{value:"fadeInUp",title:Object(l.a)("FadeInUp")},{value:"fadeInUpBig",title:Object(l.a)("FadeInUpBig")},{value:"flip",title:Object(l.a)("Flip")},{value:"flipInX",title:Object(l.a)("FlipInX")},{value:"flipInY",title:Object(l.a)("FlipInY")},{value:"lightSpeedIn",title:Object(l.a)("LightSpeedIn")},{value:"rotateIn",title:Object(l.a)("RotateIn")},{value:"rotateInDownLeft",title:Object(l.a)("RotateInDownLeft")},{value:"rotateInDownRight",title:Object(l.a)("RotateInDownRight")},{value:"rotateInUpLeft",title:Object(l.a)("RotateInUpLeft")},{value:"rotateInUpRight",title:Object(l.a)("RotateInUpRight")},{value:"slideInUp",title:Object(l.a)("SlideInUp")},{value:"slideInDown",title:Object(l.a)("SlideInDown")},{value:"slideInLeft",title:Object(l.a)("SlideInLeft")},{value:"slideInRight",title:Object(l.a)("SlideInRight")},{value:"zoomIn",title:Object(l.a)("ZoomIn")},{value:"zoomInDown",title:Object(l.a)("ZoomInDown")},{value:"zoomInLeft",title:Object(l.a)("ZoomInLeft")},{value:"zoomInRight",title:Object(l.a)("ZoomInRight")},{value:"zoomInUp",title:Object(l.a)("ZoomInUp")},{value:"jackInTheBox",title:Object(l.a)("JackInTheBox")},{value:"rollIn",title:Object(l.a)("RollIn")}];var s=o(7),d=o.n(s),p=o(13);const u=e=>{const t=p.a.get("dynamicContent");if(!t)return[];const o=d.a.flatten(d.a.values(t[e]),!0).map(({label:e,placeholder:t})=>({title:e,value:t}));return o.length>0?o:[{title:Object(l.a)("No matches found"),value:""}]},b=(e,t)=>{const o=p.a.get("dynamicContent");if(o&&o[e])return d.a.flatten(d.a.values(o[e]),!0).find(e=>e.placeholder===t)},h=()=>[{title:"None",value:"none"},{icon:{className:"brz-ed-shape--1"},value:"1"},{icon:{className:"brz-ed-shape--2"},value:"2"},{icon:{className:"brz-ed-shape--3"},value:"3"},{icon:{className:"brz-ed-shape--4"},value:"4"},{icon:{className:"brz-ed-shape--5"},value:"5"},{icon:{className:"brz-ed-shape--6"},value:"6"},{icon:{className:"brz-ed-shape--7"},value:"7"},{icon:{className:"brz-ed-shape--8"},value:"8"},{icon:{className:"brz-ed-shape--9"},value:"9"},{icon:{className:"brz-ed-shape--10"},value:"10"},{icon:{className:"brz-ed-shape--11"},value:"11"},{icon:{className:"brz-ed-shape--12"},value:"12"},{icon:{className:"brz-ed-shape--13"},value:"13"},{icon:{className:"brz-ed-shape--14"},value:"14"},{icon:{className:"brz-ed-shape--15"},value:"15"},{icon:{className:"brz-ed-shape--16"},value:"16"},{icon:{className:"brz-ed-shape--17"},value:"17"},{icon:{className:"brz-ed-shape--18"},value:"18"},{icon:{className:"brz-ed-shape--19"},value:"19"},{icon:{className:"brz-ed-shape--20"},value:"20"},{icon:{className:"brz-ed-shape--21"},value:"21"},{icon:{className:"brz-ed-shape--22"},value:"22"},{icon:{className:"brz-ed-shape--23"},value:"23"},{icon:{className:"brz-ed-shape--24"},value:"24"},{icon:{className:"brz-ed-shape--25"},value:"25"},{icon:{className:"brz-ed-shape--26"},value:"26"},{icon:{className:"brz-ed-shape--27"},value:"27"},{icon:{className:"brz-ed-shape--28"},value:"28"},{icon:{className:"brz-ed-shape--29"},value:"29"},{icon:{className:"brz-ed-shape--30"},value:"30"},{icon:{className:"brz-ed-shape--31"},value:"31"},{icon:{className:"brz-ed-shape--32"},value:"32"},{icon:{className:"brz-ed-shape--33"},value:"33"},{icon:{className:"brz-ed-shape--34"},value:"34"},{icon:{className:"brz-ed-shape--35"},value:"35"},{icon:{className:"brz-ed-shape--36"},value:"36"},{icon:{className:"brz-ed-shape--37"},value:"37"},{icon:{className:"brz-ed-shape--38"},value:"38"},{icon:{className:"brz-ed-shape--39"},value:"39"},{icon:{className:"brz-ed-shape--40"},value:"40"},{icon:{className:"brz-ed-shape--41"},value:"41"},{icon:{className:"brz-ed-shape--42"},value:"42"}],m=()=>{const e=p.a.get("taxonomies");return e?e.map(e=>{const{id:t="",label:o="",name:n="",terms:a=[]}=e;return t||o||n||a||0!==a.length?a&&a.length?{title:o,optgroup:a.map(e=>({title:e.name,value:"".concat(n,"|").concat(e.id)}))}:{title:o,value:"".concat(n,"|").concat(t)}:{title:"-",value:""}}):[{title:"-",value:""}]};o.d(t,"d",(function(){return a})),o.d(t,"e",(function(){return i})),o.d(t,"a",(function(){return c})),o.d(t,"c",(function(){return u})),o.d(t,"b",(function(){return b})),o.d(t,"f",(function(){return h})),o.d(t,"g",(function(){return m}))},function(e,t,o){"use strict";var n=o(80);let a={};t.a={load:e=>{a=Object(n.a)(a,e)},get:e=>a[e],getAll:()=>a}},function(e,t,o){"use strict";var n=o(79),a=o(20),r=o(16);function i(){return Object(r.b)(Object(a.b)().getState()).colorPalette}function l(e){return i().find(t=>t.id===e)}const c=e=>e.map(({id:e,hex:t})=>".brz .brz-cp-".concat(e.toLowerCase(),", .brz .brz-bcp-").concat(e.toLowerCase(),"{color: ").concat(t,";}")).join("");o.d(t,"d",(function(){return s})),o.d(t,"c",(function(){return d})),o.d(t,"b",(function(){return i})),o.d(t,"a",(function(){return l})),o.d(t,"e",(function(){return c}));const s=n.a;function d(e,t){if(s(e)){e=e.replace("#",""),t=isNaN(t)?1:t;const o=parseInt(e.substring(0,2),16),n=parseInt(e.substring(2,4),16),a=parseInt(e.substring(4,6),16);return"rgba(".concat(o,", ").concat(n,", ").concat(a,", ").concat(t,")")}}},function(e,t,o){"use strict";var n=o(9),a=o(2),r=o(0),i=o.n(r),l=o(24),c=o.n(l),s=o(63),d=o(37),p=o(7),u=o.n(p);const b=i.a.createContext(void 0),h=({children:e,position:t,onEscape:o})=>{const n=Object(r.useContext)(b),a=Object(r.useMemo)(()=>u.a.defaults({position:t,onEscape:o},n),[t,o,n]);return i.a.createElement(b.Provider,{value:a},e)};var m=o(52),g=o(109);const v=({data:e,toolbar:t})=>i.a.createElement("div",{className:"brz-ed-toolbar__item"},i.a.createElement(g.a,{className:"brz-ed-toolbar__option",data:e,toolbar:t,location:"toolbar"}));function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class O extends i.a.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{itemsRenderer:void 0}),Object(a.a)(this,"setItemsRenderer",e=>{this.setState({itemsRenderer:e},this.props.onContentChange)}),Object(a.a)(this,"resetItemsRenderer",()=>{this.setState({itemsRenderer:void 0},this.props.onContentChange)}),Object(a.a)(this,"renderItems",e=>{const{position:t}=this.props,o=e.map((o,n)=>i.a.createElement(v,{key:o.id,data:o,toolbar:f({},this,{toolbarCSSPosition:t,toolbarItemIndex:n+1,toolbarItemsLength:e.length})}));return i.a.createElement("div",{className:"brz-ed-toolbar__items brz-d-xs-flex brz-align-items-center"},o)})}render(){const{containerRef:e,arrowRef:t,arrow:o,items:n,onClick:a,onMouseEnter:r,onMouseLeave:l}=this.props,{itemsRenderer:c}=this.state,s=Object(m.b)(n);return s.length?i.a.createElement("div",{ref:e,className:"brz-ed-toolbar",onClick:a,onMouseEnter:r,onMouseLeave:l},void 0!==c?c(s):this.renderItems(s),o&&i.a.createElement("div",{ref:t,className:"brz-ed-arrow brz-ed-arrow--top-center brz-ed-toolbar__arrow"})):null}}Object(a.a)(O,"defaultProps",{arrow:!0,items:[]});var C=o(34),S=o(149);const x=58,j=300;class B extends i.a.Component{constructor(...e){super(...e),Object(a.a)(this,"toolbarItemsContainerRef",i.a.createRef()),Object(a.a)(this,"toolbarItemsArrowRef",i.a.createRef()),Object(a.a)(this,"reposition",()=>{const{node:e,offsetTop:t,offsetBottom:o,offsetLeft:n,position:a}=this.props,r=this.toolbarItemsContainerRef.current,i=this.toolbarItemsArrowRef.current,l=e.ownerDocument.defaultView;if(!r)return;const c=r.getBoundingClientRect(),s=e.getBoundingClientRect();let d,p;const u="fixed"===a?0:l.scrollY;u+s.top-(c.height+j)>=l.scrollY?(d=!1,p=u+s.top-c.height-Number(t),Object(S.b)("above")):(d=!0,p=u+s.top+s.height+Number(o),Object(S.b)("below"));const b=s.left+s.width/2-c.width/2+Number(n),h=e.ownerDocument.defaultView===l.parent?x:0,m=document.documentElement.clientWidth-c.width,g=Object(C.a)(b,h,m),v=b-g;r.style.top="".concat(p,"px"),r.style.left="".concat(g,"px"),"fixed"===a&&(r.style.position="fixed"),r.classList.add("brz-ed-animated","brz-ed-animated--fadeInDown"),d?r.classList.add("brz-ed-toolbar--bottom"):r.classList.remove("brz-ed-toolbar--bottom"),i&&(d?(i.classList.remove("brz-ed-arrow--top-center"),i.classList.add("brz-ed-arrow--bottom-center")):(i.classList.remove("brz-ed-arrow--bottom-center"),i.classList.add("brz-ed-arrow--top-center")),i.style.left="calc(50% + ".concat(v,"px)"))})}componentDidMount(){this.reposition()}componentDidUpdate(){this.props.repositionOnUpdates&&this.reposition()}render(){return i.a.createElement(O,Object(n.a)({},this.props,{containerRef:this.toolbarItemsContainerRef,arrowRef:this.toolbarItemsArrowRef,arrow:!0,onContentChange:this.reposition}))}}Object(a.a)(B,"defaultProps",{offsetTop:14,offsetBottom:14,offsetLeft:0});var P=o(122);const w=({getItems:e,getTitle:t})=>e?(Object(r.useEffect)(()=>{P.b&&P.b.setItems(e,t)}),Object(r.useEffect)(()=>()=>{P.b&&P.b.clearItems()},[]),null):null;let T=null,z=null;const k={getActive:()=>z,setActive(e){this.unsetActive(),z=e},unsetIfActive(e){e===z&&(z=null,(T=e).handleMonitorDeactivationRequest())},unsetActive(){null!==z&&(T=z,z=null,T.handleMonitorDeactivationRequest())},activateLastActive(){T&&T.handleMonitorActivationRequest()}};function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const H=new Map;class _ extends i.a.Component{constructor(...e){super(...e),Object(a.a)(this,"context",void 0),Object(a.a)(this,"state",{opened:!1}),Object(a.a)(this,"node",null),Object(a.a)(this,"handleClick",e=>{e.stopPropagation();const{onClick:t}=this.props;t&&t(e)}),Object(a.a)(this,"handleMouseEnter",e=>{e.stopPropagation();const{onMouseEnter:t}=this.props;if(t&&t(e),null!==this.node){const e=new CustomEvent("brz.toolbar.mouseenter",{bubbles:!0});this.node.dispatchEvent(e)}}),Object(a.a)(this,"handleMouseLeave",e=>{e.stopPropagation();const{onMouseLeave:t}=this.props;if(void 0!==t&&t(e),this.node){const e=new CustomEvent("brz.toolbar.mouseleave",{bubbles:!0});this.node.dispatchEvent(e)}}),Object(a.a)(this,"handleEscape",()=>{const e=this.props,t=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},this.context,{},e);t.onEscape?t.onEscape():this.hide()}),Object(a.a)(this,"handleClickOutside",()=>{k.unsetActive()}),Object(a.a)(this,"clickOutsideException",e=>{try{const t=c.a.findDOMNode(this);return null!==t&&t.contains(e)}catch(e){return!1}}),Object(a.a)(this,"getOutSideExceptions",()=>[".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal",".brz-ed-fixed",".brz-ed-box__resizer--point",".media-modal",".media-modal-backdrop",this.clickOutsideException])}componentDidMount(){if(this.node=c.a.findDOMNode(this),null!==this.node&&null!==this.node.ownerDocument){if(!H.get(this.node.ownerDocument)){const e=this.node.ownerDocument.createElement("div");e.id="brz-toolbar-portal",this.node.ownerDocument.body.appendChild(e),H.set(this.node.ownerDocument,e)}this.props.manualControl||this.node.addEventListener("click",e=>{e.brzToolbarHandled||k.getActive()===this||(e.brzToolbarHandled=!0,this.show())},!1)}}componentWillUnmount(){k.unsetIfActive(this),this.node=null}handleMonitorActivationRequest(){this.show()}handleMonitorDeactivationRequest(){this.hide()}show(){if(!this.state.opened){const{onBeforeOpen:e,onOpen:t}=this.props;k.setActive(this),e&&e(),this.setState({opened:!0},()=>{if(t&&t(),null!==this.node){const e=new CustomEvent("brz.toolbar.open",{bubbles:!0});this.node.dispatchEvent(e)}})}}hide(){if(this.state.opened){const{onBeforeClose:e,onClose:t}=this.props;e&&e(),this.setState({opened:!1},()=>{if(t&&t(),null!==this.node){const e=new CustomEvent("brz.toolbar.close",{bubbles:!0});this.node.dispatchEvent(e)}})}}renderToolbar(){if(null===this.node)return;if(null===this.node.ownerDocument)return;const e=this.props.getItems();if(!e||0===e.length)return;const t=this.props,o=this.context,a=this.node.ownerDocument,r=H.get(a);return r&&c.a.createPortal(i.a.createElement(i.a.Fragment,null,i.a.createElement(s.a,{exceptions:this.getOutSideExceptions(),onClickOutside:this.handleClickOutside},i.a.createElement(B,Object(n.a)({},o,t,{items:e,node:this.node,onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave}))),t.getSidebarItems&&i.a.createElement(w,{getItems:t.getSidebarItems,getTitle:t.getSidebarTitle}),i.a.createElement(d.a,{id:"key-helper-toolbar-escape",keyNames:["esc"],onKeyUp:this.handleEscape})),r)}render(){const{children:e}=this.props,{opened:t}=this.state;return i.a.createElement(i.a.Fragment,null,e,t&&this.renderToolbar())}}Object(a.a)(_,"contextType",b),Object(a.a)(_,"defaultProps",{manualControl:!1});var R=o(6),M=o.n(R),I=o(75),F=o(10);class N extends i.a.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{opened:!1}),Object(a.a)(this,"onClickOutside",()=>{this.close()}),Object(a.a)(this,"handleClick",()=>{!this.state.opened?this.open():this.close()}),Object(a.a)(this,"handleEscape",()=>{this.close()})}componentWillUnmount(){k.unsetIfActive(this)}getClickOutSideExceptions(){return[".brz-ed-collapsible__toolbar",".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal",".media-modal",".media-modal-backdrop"]}handleMonitorActivationRequest(){this.open()}handleMonitorDeactivationRequest(){this.close()}open(){if(this.state.opened)return;const{onBeforeOpen:e,onOpen:t}=this.props;k.setActive(this),e&&e(),this.setState({opened:!0},()=>{t&&t()})}close(){if(!this.state.opened)return;const{onBeforeClose:e,onClose:t}=this.props;k.unsetIfActive(this),e&&e(),this.setState({opened:!1},()=>{t&&t()})}renderBadge(){return i.a.createElement(I.CSSTransition,{key:"badge",timeout:0},i.a.createElement("div",{className:"brz-ed-collapsible__badge"},i.a.createElement(F.b,{icon:"nc-global"})))}renderIcon(){return i.a.createElement(I.CSSTransition,{key:"icon",classNames:"fadeCollapsibleIcon",timeout:200},i.a.createElement("div",{className:"brz-ed-collapsible__icon",onClick:this.handleClick},i.a.createElement(F.b,{icon:"nc-settings"})))}renderToolbar(){const{getItems:e,animation:t}=this.props,o="leftToRight"===t?"animation-left-right":"animation-right-left",n=e();return i.a.createElement(I.CSSTransition,{key:"toolbar",classNames:o,timeout:200},i.a.createElement("div",{className:"brz-ed-collapsible__toolbar"},i.a.createElement(O,{items:n,arrow:!1})))}render(){const{className:e,badge:t,getSidebarItems:o,getSidebarTitle:n}=this.props,{opened:a}=this.state,r=M()("brz-ed-collapsible",{"brz-ed-collapsible--opened":a},e);return i.a.createElement(i.a.Fragment,null,i.a.createElement(s.a,{onClickOutside:this.onClickOutside,exceptions:this.getClickOutSideExceptions()},i.a.createElement(I.TransitionGroup,{className:r},t&&this.renderBadge(),a?this.renderToolbar():this.renderIcon())),a&&o&&i.a.createElement(w,{getItems:o,getTitle:n}),a&&i.a.createElement(d.a,{keyNames:["esc"],id:"key-helper-toolbar-escape",onKeyUp:this.handleEscape}))}}Object(a.a)(N,"defaultProps",{animation:"leftToRight",badge:!1}),o.d(t,"d",(function(){return L})),o.d(t,"e",(function(){return W})),o.d(t,"a",(function(){return N})),o.d(t,"b",(function(){return h}));t.c=_;const L=()=>k.unsetActive(),W=()=>k.activateLastActive()},function(e,t,o){"use strict";var n=o(2),a=o(71),r=o(36),i={"wrapper--iconText":{showToolbar:"on"},"wrapper--form2":{showToolbar:"on"},"wrapper--tabs":{showToolbar:"on"},"wrapper--timeline":{showToolbar:"on"},"wrapper--accordion":{showToolbar:"on"},"wrapper--imageGallery":{showToolbar:"on"},"wrapper--menu":{showToolbar:"on"},"wrapper--video-playlist":{showToolbar:"on"},"wrapper--switcher":{showToolbar:"on"},"wrapper--spacer":{marginTop:0,marginBottom:0,tabletMarginTop:0,tabletMarginBottom:0,mobileMarginTop:0,mobileMarginBottom:0},"wrapper--carousel":{showToolbar:"on"},"wrapper--posts":{showToolbar:"on",paddingType:"ungrouped",paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},"column--carousel":{width:100},"richText--carousel":{text:"<p class='brz-tp-paragraph brz-text-lg-center'><span class='brz-cp-color7'>No matter if you've used a visual page builder before, with Brizy you'll be a pro the second you start using it.</span></p>"},"hide-row-borders":{showToolbar:"off"},"padding-0":{padding:0},submit:{type:"submit"},"posts--column":{width:100},"posts--archives":{type:"archives",taxonomy:"template",taxonomyId:"main_query",pagination:"on"},"image--dynamic":{imagePopulation:"{{brizy_dc_img_featured_image}}"},"button--dynamic":{linkExternalType:"linkPopulation",linkPopulation:"{{brizy_dc_url_post}}",text:"READ MORE",borderRadius:2,borderWidth:2,fontSize:11,paddingBottom:11,paddingLeft:26,paddingRL:26,paddingRight:26,paddingTB:11,paddingTop:11,size:"small",tempPaddingBottom:11,tempPaddingLeft:26,tempPaddingRL:26,tempPaddingRight:26,tempPaddingTB:11,tempPaddingTop:11,mobileBorderRadius:2,mobilePaddingBottom:11,mobilePaddingLeft:26,mobilePaddingRight:26,mobilePaddingTop:11,mobileSize:"small"},"richText-title--dynamic":{text:"<p class='brz-text-lg-center brz-tp-heading4'><span class='brz-cp-color2'><span data-population='brizy_dc_post_title'>#Post Title</span> </span></p>"},"richText-desc--dynamic":{text:"<p class='brz-text-lg-center brz-tp-paragraph'><span class='brz-cp-color7'><span data-population='brizy_dc_post_excerpt'>#Post Excerpt</span></span></p>"},"wrapper--facebookComments":{showToolbar:"on"}},l=o(41);function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function s(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}o.d(t,"r",(function(){return d})),o.d(t,"o",(function(){return p})),o.d(t,"t",(function(){return u})),o.d(t,"k",(function(){return b})),o.d(t,"l",(function(){return h})),o.d(t,"x",(function(){return m})),o.d(t,"A",(function(){return g})),o.d(t,"g",(function(){return v})),o.d(t,"D",(function(){return y})),o.d(t,"b",(function(){return f})),o.d(t,"f",(function(){return O})),o.d(t,"y",(function(){return C})),o.d(t,"e",(function(){return S})),o.d(t,"E",(function(){return x})),o.d(t,"d",(function(){return j})),o.d(t,"C",(function(){return P})),o.d(t,"B",(function(){return w})),o.d(t,"u",(function(){return T})),o.d(t,"c",(function(){return z})),o.d(t,"z",(function(){return k})),o.d(t,"p",(function(){return E})),o.d(t,"w",(function(){return H})),o.d(t,"j",(function(){return _})),o.d(t,"h",(function(){return R})),o.d(t,"v",(function(){return M})),o.d(t,"q",(function(){return I})),o.d(t,"a",(function(){return F})),o.d(t,"m",(function(){return N})),o.d(t,"i",(function(){return L})),o.d(t,"s",(function(){return W})),o.d(t,"n",(function(){return D}));const d=e=>e.page,p=e=>e.pageBlocks,u=e=>e.project||{},b=e=>e.globalBlocks||{},h=e=>e.globalBlocksUpdates,m=e=>e.savedBlocks||{},g=e=>e.styles||[],v=e=>e.fonts||{},y=e=>e.ui||{},f=e=>e.currentStyle,O=e=>e.extraFontStyles,C=e=>e.screenshots||{},S=e=>e.error,x=Object(a.createSelector)(v,e=>Object.entries(e).reduce((e,t)=>{const[o,{data:n=[]}]=t;return s({},e,{["".concat(o)]:{data:n.filter(e=>!0!==e.deleted)}})},{})),j=Object(a.createSelector)(u,e=>e.data.disabledElements||[]),B=Object(a.createSelector)(d,e=>e.data||{}),P=(Object(a.createSelector)(d,e=>e.slug),Object(a.createSelector)(B,e=>e.triggers||[])),w=Object(a.createSelector)(B,e=>e.triggers?e.triggers.length:null),T=Object(a.createSelector)(B,e=>Number.isInteger(e.rulesAmount)?e.rulesAmount:null),z=Object(a.createSelector)(y,e=>e.deviceMode),k=Object(a.createSelector)(y,e=>e.showHiddenElements),E=Object(a.createSelector)(B,p,(e,t)=>Object(r.a)(e,e=>{e.items=t})),H=Object(a.createSelector)(m,C,(e,t)=>{return Object.values(t).find(e=>"saved"===e.blockScreenshot)?e:Object(l.e)(Object.entries(e).map(e=>{const[o,n]=e,a=t[o];return a?[o,s({},n,{value:s({},n.value,{},a)})]:e}))}),_=Object(a.createSelector)(b,p,(e,t)=>{const o={};return function t(n){Object(l.g)(n,n=>{if(n.type&&"GlobalBlock"===n.type&&n.value){const{globalBlockId:a}=n.value;o[a]||(o[a]=e[a],t(e[a]))}})}(t),o}),R=Object(a.createSelector)(b,h,(e,t)=>Object(l.e)(Object.entries(e).map(e=>{const[o,n]=e,a=t[o];return a?[o,Object(r.a)(n,e=>{e.data.value=a})]:e}))),M=Object(a.createSelector)(f,O,(e,t)=>{const{colorPalette:o,fontStyles:n}=e,a=n.concat(t),r=o.reduce((e,t)=>s({},e,{["".concat(t.id,"__color")]:{colorHex:t.hex},["".concat(t.id,"__hoverColor")]:{hoverColorHex:t.hex},["".concat(t.id,"__bg")]:{bgColorHex:t.hex},["".concat(t.id,"__hoverBg")]:{hoverBgColorHex:t.hex},["".concat(t.id,"__gradient")]:{gradientColorHex:t.hex},["".concat(t.id,"__hoverGradient")]:{hoverGradientColorHex:t.hex},["".concat(t.id,"__bg2")]:{bg2ColorHex:t.hex},["".concat(t.id,"__border")]:{borderColorHex:t.hex},["".concat(t.id,"__hoverBorder")]:{hoverBorderColorHex:t.hex},["".concat(t.id,"__arrowsColor")]:{sliderArrowsColorHex:t.hex},["".concat(t.id,"__dotsColor")]:{sliderDotsColorHex:t.hex},["".concat(t.id,"__boxShadow")]:{boxShadowColorHex:t.hex},["".concat(t.id,"__shapeTopColor")]:{shapeTopColorHex:t.hex},["".concat(t.id,"__shapeBottomColor")]:{shapeBottomColorHex:t.hex},["".concat(t.id,"__paginationColor")]:{paginationColorHex:t.hex},["".concat(t.id,"__tabletBg")]:{tabletBgColorHex:t.hex},["".concat(t.id,"__tabletBorder")]:{tabletBorderColorHex:t.hex},["".concat(t.id,"__mobileBg")]:{mobileBgColorHex:t.hex},["".concat(t.id,"__mobileBorder")]:{mobileBorderColorHex:t.hex},["".concat(t.id,"__subMenuColor")]:{subMenuColorHex:t.hex},["".concat(t.id,"__subMenuHoverColor")]:{subMenuHoverColorHex:t.hex},["".concat(t.id,"__subMenuBgColor")]:{subMenuBgColorHex:t.hex},["".concat(t.id,"__subMenuHoverBgColor")]:{subMenuHoverBgColorHex:t.hex},["".concat(t.id,"__subMenuBorderColor")]:{subMenuBorderColorHex:t.hex},["".concat(t.id,"__mMenuColor")]:{mMenuColorHex:t.hex},["".concat(t.id,"__mMenuHoverColor")]:{mMenuHoverColorHex:t.hex},["".concat(t.id,"__mMenuBgColor")]:{mMenuBgColorHex:t.hex},["".concat(t.id,"__mMenuBorderColor")]:{mMenuBorderColorHex:t.hex},["".concat(t.id,"__mMenuIconColor")]:{mMenuIconColorHex:t.hex},["".concat(t.id,"__tabletMMenuIconColor")]:{tabletMMenuIconColorHex:t.hex},["".concat(t.id,"__mobileMMenuIconColor")]:{mobileMMenuIconColorHex:t.hex},["".concat(t.id,"__labelColor")]:{labelColorHex:t.hex},["".concat(t.id,"__checkboxColor")]:{checkboxColorHex:t.hex},["".concat(t.id,"__selectColor")]:{selectColorHex:t.hex},["".concat(t.id,"__hoverSelectColor")]:{hoverSelectColorHex:t.hex},["".concat(t.id,"__selectBg")]:{selectBgColorHex:t.hex},["".concat(t.id,"__hoverSelectBg")]:{hoverSelectBgColorHex:t.hex},["".concat(t.id,"__selectBorderColor")]:{selectBorderColorHex:t.hex},["".concat(t.id,"__hoverSelectBorderColor")]:{hoverSelectBorderColorHex:t.hex},["".concat(t.id,"__selectBoxShadow")]:{selectBoxShadowColorHex:t.hex},["".concat(t.id,"__hoverSelectBoxShadow")]:{hoverSelectBoxShadowColorHex:t.hex}}),{}),l=a.reduce((e,t)=>s({},e,{["".concat(t.id,"__fsDesktop")]:{fontFamily:t.fontFamily,fontFamilyType:t.fontFamilyType,fontSize:t.fontSize,fontWeight:t.fontWeight,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing},["".concat(t.id,"__fsTablet")]:{tabletFontSize:t.tabletFontSize,tabletFontWeight:t.tabletFontWeight,tabletLineHeight:t.tabletLineHeight,tabletLetterSpacing:t.tabletLetterSpacing},["".concat(t.id,"__fsMobile")]:{mobileFontSize:t.mobileFontSize,mobileFontWeight:t.mobileFontWeight,mobileLineHeight:t.mobileLineHeight,mobileLetterSpacing:t.mobileLetterSpacing},["".concat(t.id,"__subMenuFsDesktop")]:{subMenuFontFamily:t.fontFamily,subMenuFontFamilyType:t.fontFamilyType,subMenuFontSize:t.fontSize,subMenuFontWeight:t.fontWeight,subMenuLineHeight:t.lineHeight,subMenuLetterSpacing:t.letterSpacing},["".concat(t.id,"__subMenuFsTablet")]:{tabletSubMenuFontSize:t.tabletFontSize,tabletSubMenuFontWeight:t.tabletFontWeight,tabletSubMenuLineHeight:t.tabletLineHeight,tabletSubMenuLetterSpacing:t.tabletLetterSpacing},["".concat(t.id,"__subMenuFsMobile")]:{mobileSubMenuFontSize:t.mobileFontSize,mobileSubMenuFontWeight:t.mobileFontWeight,mobileSubMenuLineHeight:t.mobileLineHeight,mobileSubMenuLetterSpacing:t.mobileLetterSpacing},["".concat(t.id,"__mMenuFsDesktop")]:{mMenuFontFamily:t.fontFamily,mMenuFontFamilyType:t.fontFamilyType,mMenuFontSize:t.fontSize,mMenuFontWeight:t.fontWeight,mMenuLineHeight:t.lineHeight,mMenuLetterSpacing:t.letterSpacing},["".concat(t.id,"__mMenuFsTablet")]:{tabletMMenuFontSize:t.tabletFontSize,tabletMMenuFontWeight:t.tabletFontWeight,tabletMMenuLineHeight:t.tabletLineHeight,tabletMMenuLetterSpacing:t.tabletLetterSpacing},["".concat(t.id,"__mMenuFsMobile")]:{mobileMMenuFontSize:t.mobileFontSize,mobileMMenuFontWeight:t.mobileFontWeight,mobileMMenuLineHeight:t.mobileLineHeight,mobileMMenuLetterSpacing:t.mobileLetterSpacing}}),{});return s({},i,{},r,{},l)}),I=Object(a.createSelector)(E,R,(e,t)=>{return function e(o){return Object(r.a)(o,o=>{Object(l.g)(o,o=>{if(o.type&&"GlobalBlock"===o.type&&o.value){const{globalBlockId:n}=o.value;t[n]&&e(Object.assign(o,t[n].data))}})})}(e)}),F=Object(a.createSelector)(e=>e.copiedElement,R,(e,t)=>Object(r.a)(e,e=>{Object(l.g)(e,e=>{if(e.type&&"GlobalBlock"===e.type&&e.value){const{globalBlockId:o}=e.value;t[o]&&Object.assign(e,t[o].data)}})})),N=Object(a.createSelector)(d,p,C,(e,t,o)=>Object(r.a)(e,e=>{e.data.items=t,Object.keys(o).length>0&&Object(l.g)(e,e=>{e.type&&"GlobalBlock"!==e.type&&e.value&&e.value._id&&o[e.value._id]&&Object.assign(e.value,o[e.value._id])})})),L=Object(a.createSelector)(b,h,C,(e,t,o)=>Object(l.e)(Object.entries(e).map(e=>{const[n,a]=e,i=t[n],c=o[n];if(!i&&!c)return e;return[n,Object(r.a)(a,e=>{i&&(e.data.value=i),c&&Object.assign(e.data.value,c),Object(l.g)(e.data.value,e=>{e.type&&"GlobalBlock"!==e.type&&e.value&&e.value._id&&o[e.value._id]&&Object.assign(e.value,o[e.value._id])})})]}))),W=Object(a.createSelector)(u,v,g,e=>e.currentStyleId,f,O,(e,t,o,n,a,i)=>Object(r.a)(e,e=>{e.data.fonts=t,e.data.styles=o,e.data.selectedStyle=n,e.data.extraFontStyles=i;for(let t=0;t<e.data.styles.length;t++)e.data.styles[t].id===a.id&&(e.data.styles[t]=a)})),V=Object(a.createSelector)(N,e=>e.data||{}),D=Object(a.createSelector)(V,e=>e.items||[])},function(e,t,o){"use strict";o.d(t,"j",(function(){return s})),o.d(t,"i",(function(){return d})),o.d(t,"x",(function(){return p})),o.d(t,"p",(function(){return u})),o.d(t,"a",(function(){return b})),o.d(t,"n",(function(){return h})),o.d(t,"o",(function(){return m})),o.d(t,"d",(function(){return g})),o.d(t,"w",(function(){return v})),o.d(t,"g",(function(){return y})),o.d(t,"e",(function(){return f})),o.d(t,"z",(function(){return O})),o.d(t,"h",(function(){return C})),o.d(t,"y",(function(){return S})),o.d(t,"C",(function(){return x})),o.d(t,"c",(function(){return j})),o.d(t,"l",(function(){return B})),o.d(t,"k",(function(){return P})),o.d(t,"q",(function(){return w})),o.d(t,"s",(function(){return T})),o.d(t,"r",(function(){return z})),o.d(t,"v",(function(){return k})),o.d(t,"m",(function(){return E})),o.d(t,"b",(function(){return H})),o.d(t,"f",(function(){return _})),o.d(t,"A",(function(){return R})),o.d(t,"t",(function(){return M})),o.d(t,"B",(function(){return I})),o.d(t,"u",(function(){return F})),o.d(t,"K",(function(){return N})),o.d(t,"J",(function(){return L})),o.d(t,"V",(function(){return W})),o.d(t,"U",(function(){return V})),o.d(t,"Y",(function(){return D})),o.d(t,"T",(function(){return A})),o.d(t,"N",(function(){return G})),o.d(t,"G",(function(){return U})),o.d(t,"Z",(function(){return K})),o.d(t,"R",(function(){return q})),o.d(t,"D",(function(){return Y})),o.d(t,"O",(function(){return X})),o.d(t,"P",(function(){return Z})),o.d(t,"E",(function(){return J})),o.d(t,"H",(function(){return $})),o.d(t,"F",(function(){return Q})),o.d(t,"I",(function(){return ee})),o.d(t,"M",(function(){return te})),o.d(t,"L",(function(){return oe})),o.d(t,"Q",(function(){return ne})),o.d(t,"S",(function(){return ae})),o.d(t,"W",(function(){return re})),o.d(t,"bb",(function(){return ie})),o.d(t,"ab",(function(){return le})),o.d(t,"X",(function(){return ce}));var n=o(2),a=o(22),r=o(16),i=o(43);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const s="HYDRATE",d="EDITOR_RENDERED",p="UPDATE_PAGE",u="UPDATE_BLOCKS",b="ADD_BLOCK",h="REMOVE_BLOCK",m="REORDER_BLOCKS",g="CREATE_GLOBAL_BLOCK",v="UPDATE_GLOBAL_BLOCK",y="DELETE_GLOBAL_BLOCK",f="CREATE_SAVED_BLOCK",O="UPDATE_SAVED_BLOCK",C="DELETE_SAVED_BLOCK",S="UPDATE_RULES",x="UPDATE_UI",j="COPY_ELEMENT",B="IMPORT_TEMPLATE",P="IMPORT_KIT",w="UPDATE_CURRENT_KIT_ID",T="UPDATE_CURRENT_STYLE_ID",z="UPDATE_CURRENT_STYLE",k="UPDATE_EXTRA_FONT_STYLES",E="PUBLISH",H="ADD_FONTS",_="DELETE_FONTS",R="UPDATE_SCREENSHOT",M="UPDATE_DISABLED_ELEMENTS",I="UPDATE_TRIGGERS",F="UPDATE_ERROR";function N({project:e,projectStatus:t,fonts:o,page:n,globalBlocks:a,savedBlocks:r,blocksThumbnailSizes:i}){return{type:s,payload:{project:e,projectStatus:t,fonts:o,page:n,globalBlocks:a,savedBlocks:r,blocksThumbnailSizes:i}}}function L(){return{type:d}}function W(e){return{type:T,payload:e}}function V(e){return{type:z,payload:e}}function D(e){return{type:k,payload:e}}function A(e){return{type:w,payload:e}}function G(){return e=>new Promise((t,o)=>{e({type:E,meta:{onSuccess:t,onError:o}})})}function U({type:e,fonts:t}){return(o,n)=>{const i=Object(r.g)(n()),l=i[e]&&i[e].data||[],s={["".concat(e)]:{data:l.map(e=>t.some(({brizyId:t})=>t===e.brizyId)?c({},e,{deleted:!0}):e)}};return o({type:_,payload:Object(a.mergeDeep)(i,s)})}}function K({data:e,meta:t}){return{type:S,payload:e,meta:t}}function q({blocks:e,meta:t}){return{type:u,payload:{blocks:e},meta:c({is_autosave:1},t)}}function Y(e,t={}){return{type:b,payload:e,meta:t}}function X({index:e}){return{type:h,payload:{index:e}}}function Z({oldIndex:e,newIndex:t}){return{type:m,payload:{oldIndex:e,newIndex:t}}}function J({id:e,data:t,meta:o}){return{type:g,payload:{id:e,data:t},meta:o}}function $({id:e}){return{type:y,payload:{id:e}}}function Q({id:e,data:t,meta:o}){return{type:f,payload:{id:e,data:t},meta:o}}function ee({id:e,meta:t}){return{type:C,payload:{id:e},meta:t}}function te(e,t={}){return{type:B,payload:e,meta:t}}function oe(e){return{type:P,payload:e}}function ne(e){return Object(i.c)("deviceMode",e)}function ae(e){return{type:j,value:e}}function re(e){return{type:M,payload:e}}function ie(e,t){return{type:I,payload:{data:e},meta:t}}function le({blockId:e,data:t,meta:o}){return{type:R,payload:{blockId:e,data:t},meta:o}}function ce(e){return{type:F,payload:e}}},function(e,t,o){"use strict";(function(e){var n=o(28),a=o(2),r=o(0),i=o.n(r),l=o(7),c=o.n(l),s=o(85),d=o(39),p=o(20),u=o(16),b=o(86),h=o(41),m=o(106),g=o(19),v=o(11),y=o(70),f=o(93),O=o(119),C=o(469);function S(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?S(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):S(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const j=([e,...t],o=!1)=>e.toUpperCase()+(o?t.join("").toLowerCase():t.join(""));class B extends i.a.Component{static get componentId(){throw new Error("".concat(this.name," must implement `static get componentId()`"))}optionalSCU(e){const t=this.props;if(t.dbValue!==e.dbValue)return!0;if(t.reduxState.currentStyleId!==e.reduxState.currentStyleId)return!0;if(t.reduxState.currentStyle!==e.reduxState.currentStyle)return!0;if(t.reduxState.extraFontStyles!==e.reduxState.extraFontStyles)return!0;if(t.reduxState.fonts!==e.reduxState.fonts)return!0;if(t.reduxState.copiedElement!==e.reduxState.copiedElement)return!0;const o=t.path||[],n=e.path||[];if(o.length!==n.length)return!0;for(let e=0,t=o.length;e<t;e++)if(o[e]!==n[e])return!0;return!1}getId(){return this.props._id||this.getDBValue()._id||(()=>{throw new Error("This should never happen. An initialized component must have a preset id")})()}getPath(){return this.props.path||[]}getReduxState(){return this.props.reduxState}getReduxDispatch(){return this.props.reduxDispatch}getDefaultValue(){const e=Object(h.d)(this.constructor.defaultValue);return this.props.defaultValue?x({},e,{},this.props.defaultValue):e}getDBValue(){return this.props.dbValue}getStylesValue(){const{_styles:e}=this.getDBValue()||{},t=Object(u.v)(this.getReduxState());return e&&t?e.reduce((e,o)=>t[o]?Object.assign(e,t[o]):e,{}):null}getValue(){const e=this.getDefaultValue(),t=this.getStylesValue(),o=this.getDBValue();return o?x({},e,{},t,{},o):e}getValue2(){const e=this.getDefaultValue(),t=this.getStylesValue();return{v:x({},e,{},t,{},this.getDBValue()),vs:x({},e,{},t),vd:e}}patchValue(e,t={}){const o=this.makeNewValueFromPatch(e);this.handleValueChange(o,x({},t,{patch:e}))}makeNewValueFromPatch(e){return x({},this.getDBValue(),{},e)}handleValueChange(e,t){this.props.onChange(e,t)}selfDestruct(){this.props.onChange(null)}makeSubcomponentProps(e){let{bindWithKey:t}=e,o=Object(n.a)(e,["bindWithKey"]);const a=this.getDefaultValue(),r=this.getDBValue();return x({},o,{_id:"".concat(this.getId(),"-").concat(t),path:[...this.getPath(),t],defaultValue:a&&a[t],dbValue:r&&r[t],reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:(e,o)=>this.patchValue({[t]:e},o)})}makeContextMenuProps(e,t={}){const o=this.constructor.componentId,n=this.getValue();return x({id:Object(d.a)(3),componentId:o,items:e.getItems(n,this)},t)}makeToolbarPropsFromConfig(t,o=null,n={}){const{onToolbarOpen:a,onToolbarClose:r,onToolbarEnter:i,onToolbarLeave:l}=this.props,{allowExtendFromParent:c,parentItemsFilter:d,allowExtendFromChild:h,allowExtendFromThirdParty:m,thirdPartyExtendId:g=this.constructor.componentId,allowSidebarExtendFromParent:y,allowSidebarExtendFromChild:O,allowSidebarExtendFromThirdParty:C,sidebarThirdPartyExtendId:S=g}=Object(f.c)(n);return{getItems:(e=Object(u.c)(Object(p.b)().getState()))=>{var o;const n="getItemsFor".concat(j(e,!0));const a=t[n],r=this.getValue(),i=r.tabsState;let l=this.bindToolbarItems(r,e,i,null!==(o=null==a?void 0:a(r,this))&&void 0!==o?o:[]);if(c&&this.props.toolbarExtend){const{getItems:t}=this.props.toolbarExtend;let o=t(e);"function"==typeof d&&(o=d(o)),l=Object(s.b)(l,o)}if(h&&this.childToolbarExtend){const{getItems:t}=this.childToolbarExtend,o=t(e);l=Object(s.b)(o,l)}if(m){const t=Object(b.b)("toolbarItemsExtend_".concat(g),null);if(null==t?void 0:t[n]){const o=this.bindToolbarItems(r,e,i,t[n](r,this));l=Object(s.b)(l,o)}}return l},getSidebarItems:(e=Object(u.c)(Object(p.b)().getState()))=>{var t,n;const a=this.getValue(),r=v.e(a.tabsState);let i=this.bindToolbarItems(a,e,r,(null==o?void 0:null===(t=o.getItems)||void 0===t?void 0:t.call(o,{v:a,component:this,device:e,state:r}))||[]);if(y&&(null===(n=this.props.toolbarExtend)||void 0===n?void 0:n.getSidebarItems)){const{getSidebarItems:t}=this.props.toolbarExtend,o=t(e);i=Object(s.b)(i,o)}if(O&&this.childToolbarExtend){const{getSidebarItems:t}=this.childToolbarExtend,o=t(e);i=Object(s.b)(o,i)}if(C){const t=Object(b.b)("sidebarItemsExtend_".concat(S),null);if(null==t?void 0:t.getItems){const o=this.bindToolbarItems(a,e,r,t.getItems({v:a,component:this,device:e,state:r}));i=Object(s.b)(i,o)}}return i},getSidebarTitle:()=>{let e=null==o?void 0:o.title;if(y&&this.props.toolbarExtend){const{getSidebarTitle:t}=this.props.toolbarExtend;e=t()||e}if(O&&this.childToolbarExtend){const{getSidebarTitle:t}=this.childToolbarExtend;e=t()||e}return e||""},onBeforeOpen:()=>e.Brizy.activeEditorComponent=this,onBeforeClose:()=>e.Brizy.activeEditorComponent=null,onOpen:a,onClose:r,onMouseEnter:i,onMouseLeave:l}}bindToolbarItems(e,t,o,n){return Object(s.c)(n=>{const{id:a,type:r,onChange:i}=n,l=e=>this.patchValue({tabsState:e});y.b()===t&&(n=Object(m.a)(o,l,n));const s=Object(f.b)(r),d=n.dependencies||c.a.identity;return s&&(n.id=Object(g.a)({key:n.id,device:Object(f.d)(t,n),state:Object(f.e)(o,n)}),n.value=Object(O.b)(r)(n=>Object(g.b)({v:e,key:Object(f.a)(a,n),device:t,state:o}))),n.onChange=(e,t)=>{let o=s?d(Object(f.f)(n.id,e)):i?i(e,t):((e,t)=>void 0!==t?{[e]:t}:null)(n.id,e);o&&this.patchValue(o)},n},Object(s.c)(C.a,n))}makeToolbarPropsFromConfig2(t,o=null,n={}){const{onToolbarOpen:a,onToolbarClose:r,onToolbarEnter:i,onToolbarLeave:l}=this.props,{allowExtendFromParent:c,parentItemsFilter:d,parentExtendProp:h="toolbarExtend",allowExtendFromChild:m,allowExtendFromThirdParty:g,thirdPartyExtendId:y=this.constructor.componentId,allowSidebarExtendFromParent:O,allowSidebarExtendFromChild:C,allowSidebarExtendFromThirdParty:S,sidebarThirdPartyExtendId:x=y}=Object(f.c)(n);return{getItems:(e=Object(u.c)(Object(p.b)().getState()))=>{var o;const n=this.getValue(),a=v.e(n.tabsState);let r=this.bindToolbarItems(n,e,a,null!==(o=null==t?void 0:t.getItems({v:n,component:this,device:e,state:a}))&&void 0!==o?o:[]);if(c&&this.props[h]){const{getItems:t}=this.props[h];let o=t(e);"function"==typeof d&&(o=d(o)),r=Object(s.b)(r,o)}if(m&&this.childToolbarExtend){const{getItems:t}=this.childToolbarExtend,o=t(e);r=Object(s.b)(o,r)}if(g){const t=Object(b.b)("toolbarItemsExtend_".concat(y),null);if(null==t?void 0:t.getItems){const o=this.bindToolbarItems(n,e,a,t.getItems({v:n,component:this,device:e,state:a}));r=Object(s.b)(r,o)}}return r},getSidebarItems:(e=Object(u.c)(Object(p.b)().getState()))=>{var t,n;const a=this.getValue(),r=v.e(a.tabsState);let i=this.bindToolbarItems(a,e,r,(null==o?void 0:null===(t=o.getItems)||void 0===t?void 0:t.call(o,{v:a,component:this,device:e,state:r}))||[]);if(O&&(null===(n=this.props[h])||void 0===n?void 0:n.getSidebarItems)){const{getSidebarItems:t}=this.props[h],o=t(e);i=Object(s.b)(i,o)}if(C&&this.childToolbarExtend){const{getSidebarItems:t}=this.childToolbarExtend,o=t(e);i=Object(s.b)(o,i)}if(S){const t=Object(b.b)("sidebarItemsExtend_".concat(x),null);if(null==t?void 0:t.getItems){const o=this.bindToolbarItems(a,e,r,t.getItems({v:a,component:this,device:e,state:r}));i=Object(s.b)(i,o)}}return i},getSidebarTitle:()=>{let e=null==o?void 0:o.title;if(O&&this.props.toolbarExtend){const{getSidebarTitle:t}=this.props.toolbarExtend;e=t()||e}if(C&&this.childToolbarExtend){const{getSidebarTitle:t}=this.childToolbarExtend;e=t()||e}return e||""},onBeforeOpen:()=>e.Brizy.activeEditorComponent=this,onBeforeClose:()=>e.Brizy.activeEditorComponent=null,onOpen:a,onClose:r,onMouseEnter:i,onMouseLeave:l}}render(){const{v:e,vs:t,vd:o}=this.getValue2();return this.renderForEdit(e,t,o)}renderForEdit(e,t,o){throw"renderForEdit: Not Implemented"}renderForView(e,t,o){return this.renderForEdit(e,t,o)}applyRulesToValue(e,t){const o=t.filter(Boolean);if(0===o.length)return e;const n=this.getRulesValue(o);return c.a.defaults(n,e)}getRulesValue(e){const t=Object(u.v)(this.getReduxState());return t?e.reduce((e,o)=>{let n;switch(typeof o){case"object":{const{rule:e,mapper:a}=o;n=t[e]&&a(t[e]);break}case"string":n=t[o];break;default:throw new Error("Invalid rule type")}return n?Object.assign(e,n):e},{}):null}}Object(a.a)(B,"defaultProps",{onToolbarOpen:c.a.noop,onToolbarClose:c.a.noop,onToolbarEnter:c.a.noop,onToolbarLeave:c.a.noop}),t.a=B}).call(this,o(67))},function(e,t,o){"use strict";o.d(t,"g",(function(){return u})),o.d(t,"f",(function(){return b})),o.d(t,"d",(function(){return h})),o.d(t,"a",(function(){return m})),o.d(t,"b",(function(){return v})),o.d(t,"c",(function(){return f})),o.d(t,"e",(function(){return O}));var n=o(2),a=o(45),r=o(7),i=o(8),l=o(70),c=o(11);function s(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function p(e,t,o){const n=e+(String(o).charAt(0).toUpperCase()+String(o).substr(1));return Object(a.d)(t[o],t[n])}function u(e,t){return p("tablet",e,t)}function b(e,t){return p("mobile",e,t)}function h(e,t){return Object(a.d)(e,t)}function m({key:e,device:t="desktop",state:o="normal"}){const n="temp"===e.substr(0,4)?"temp":"",a=n.length>0?e.substr(4):e;return Object(i.a)([n,g({key:a,device:t,state:o})])}function g({key:e,device:t,state:o}){const n=c.e(o),a=l.f(t),r=n===c.d?"":n,s=a===l.b()?"":a;return Object(i.a)([r,s,e])}function v({v:e,key:t,device:o="desktop",state:n="normal"}){const r=m({key:t,device:o,state:n});return Object(a.d)(e[t],e[r])}const y=Object(r.memoize)(()=>l.e().reduce((e,t)=>{const o=c.f().reduce((e,o)=>(e.push({device:t,state:o}),e),[]);return e.concat(o)},[]));function f(e,t){return y().reduce((o,n)=>o||v(d({v:e,key:t},n)),"")}function O(e,t){return y().map(e=>m(d({key:t},e)))}},function(e,t,o){"use strict";var n=o(139),a=o(376),r=o(2),i=o(36),l=o(22),c=o(26),s=o(16),d=o(25),p=o(41),u=o(64),b=o(99),h=o(17);function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const v={deviceMode:"desktop",leftSidebar:{isOpen:!1,drawerContentType:null},rightSidebar:{isOpen:!1,lock:void 0,alignment:"right"},showHiddenElements:!1,error:null};const y={value:{},path:[]};function f(e){const t={};return Object(p.g)(e,e=>{if(e.type&&e.value&&e.value._id&&e.value._thumbnailSrc){const o=e.value;t[e.value._id]={_thumbnailSrc:o._thumbnailSrc,_thumbnailWidth:o._thumbnailWidth,_thumbnailHeight:o._thumbnailHeight,_thumbnailTime:o._thumbnailTime}}}),t}const O=null;var C,S,x=Object(b.c)((C={project:function(e={},t,o){switch(t.type){case h.j:{const{project:e}=t.payload;return e}case h.m:return Object(i.a)(Object(s.s)(o),e=>{e.dataVersion=e.dataVersion+1});case h.t:{const o=t.payload;return Object(i.a)(e,e=>{e.data.disabledElements=o,e.dataVersion=e.dataVersion+1})}case h.k:{const{selectedKit:o}=t.payload;return Object(i.a)(e,e=>{e.data.selectedKit=o,e.dataVersion=e.dataVersion+1})}case h.q:{const o=t.payload;return Object(i.a)(e,e=>{e.data.selectedKit=o,e.dataVersion=e.dataVersion+1})}case h.l:case h.b:case h.f:return Object(i.a)(e,e=>{e.dataVersion=e.dataVersion+1});default:return e}},page:function(e={},t,o){switch(t.type){case h.j:{const{page:e}=t.payload;return e}case h.m:return Object(i.a)(Object(s.m)(o),e=>{e.status="publish",e.dataVersion=e.dataVersion+1});case h.B:{const{data:o}=t.payload;return Object(i.a)(e,e=>{e.data.triggers=o,e.dataVersion=e.dataVersion+1})}case h.y:return Object(i.a)(e,e=>{e.data.rulesAmount=t.payload.length,e.dataVersion=e.dataVersion+1});default:return e}},blocksThumbnailSizes:function(e={},t){switch(t.type){case h.j:return t.payload.blocksThumbnailSizes;default:return e}},globalBlocks:function(e={},t,o){switch(t.type){case h.j:return t.payload.globalBlocks;case h.d:{const{id:o,data:n}=t.payload;return Object(i.a)(e,e=>{e[o]={id:o,data:n,dataVersion:1}})}case h.g:{const{id:o}=t.payload;return Object(i.a)(e,e=>{e[o].data.deleted=!0,e[o].dataVersion=e[o].dataVersion+1})}case h.m:{const e=Object(s.i)(o);return Object.entries(e).reduce((e,[t,o])=>(e[t]=Object(i.a)(o,e=>{e.dataVersion=e.dataVersion+1}),e),{})}case h.A:{const{payload:{blockId:o,data:n},meta:{blockType:a,action:r}}=t;return"global"===a&&"create"===r?Object(i.a)(e,e=>{Object.assign(e[o].data.value,n),e[o].dataVersion=e[o].dataVersion+1}):e}default:return e}},globalBlocksUpdates:function(e={},t){switch(t.type){case h.w:{const{id:o,data:{value:n}}=t.payload;return g({},e,{[o]:n})}default:return e}},savedBlocks:function(e={},t,o){switch(t.type){case h.j:return t.payload.savedBlocks;case h.e:{const{id:n,data:a}=t.payload,r=Object(s.h)(o),l=Object(d.j)(e=>{if("GlobalBlock"===e.type){var t;const{globalBlockId:o}=e.value;return null===(t=r[o])||void 0===t?void 0:t.data}return e},a);return Object(i.a)(e,e=>{e[n]={id:n,data:l,dataVersion:1}})}case h.z:{const{id:o,data:n}=t.payload;return Object(i.a)(e,e=>{e[o].data=n,e[o].dataVersion=e[o].dataVersion+1})}case h.h:{const{id:o}=t.payload;return Object(i.a)(e,e=>{delete e[o]})}case h.A:{const{payload:{blockId:o,data:n},meta:{blockType:a}}=t;return"saved"===a?Object(i.a)(e,e=>{Object.assign(e[o].data.value,n),e[o].dataVersion=e[o].dataVersion+1}):e}default:return e}},styles:function(e=[],t){switch(t.type){case h.j:{const{project:e}=t.payload;return e.data.styles}case h.l:case h.k:{const{styles:o}=t.payload;return o?[...e,...o]:e}default:return e}},currentStyleId:function(e="",t){switch(t.type){case h.j:{const{project:e}=t.payload;return e.data.selectedStyle}case h.s:return t.payload;case h.l:{const{currentStyleId:o}=t.payload;return o||e}default:return e}},currentStyle:function(e={},t,o){switch(t.type){case h.j:{const{project:e}=t.payload;return e.data.styles.find(t=>t.id===e.data.selectedStyle)}case h.r:return t.payload;case h.s:{const e=t.payload;return o.styles.find(({id:t})=>t===e)}case h.l:{const{currentStyleId:o,styles:n}=t.payload;return o?n.find(e=>e.id===o):e}default:return e}},extraFontStyles:function(e=[],t){switch(t.type){case h.j:{const{project:e}=t.payload;return e.data.extraFontStyles}case h.v:return t.payload;default:return e}},pageBlocks:function(e=[],t){switch(t.type){case h.j:{const{page:e}=t.payload;return e.data.items||[]}case h.a:{const{block:o}=t.payload,{insertIndex:n}=t.meta;return c.a.insertItemsBatch(e,n,[o])}case h.n:{const{index:o}=t.payload;return Object(l.removeAt)(e,o)}case h.o:{const{oldIndex:o,newIndex:n}=t.payload,a=e[o];return Object(l.insert)(Object(l.removeAt)(e,o),n,a)}case h.p:{const{blocks:e}=t.payload;return e}case h.l:{const{blocks:o}=t.payload,{insertIndex:n}=t.meta;return c.a.insertItemsBatch(e,n,o)}default:return e}},fonts:function(e={},t){switch(t.type){case h.j:{const{fonts:e}=t.payload;return e}case h.b:case h.f:return g({},e,{},t.payload);case h.l:case h.k:case h.a:{const{fonts:o}=t.payload;return o&&0!==o.length?Object(i.a)(e,e=>{o.forEach(({type:t,fonts:o})=>{e[t]=e[t]||{data:[]},e[t].data.push(...o)})}):e}default:return e}},ui:function(e=v,t){switch(t.type){case h.C:{const{key:o,value:n}=t,a=g({},e,{[o]:n});return"deviceMode"===o&&"manual"!==a.rightSidebar.lock&&("desktop"!==n?a.rightSidebar=g({},a.rightSidebar,{isOpen:!0,lock:"auto"}):a.rightSidebar.isOpen&&(a.rightSidebar=g({},a.rightSidebar,{isOpen:!1,lock:void 0}))),a}default:return e}},copiedElement:function(e=y,t){switch(t.type){case h.c:return g({},e,{},t.value);default:return e}},error:function(e=O,t){switch(t.type){case h.j:{const{projectStatus:o}=t.payload;return o.locked?{code:u.f,data:o}:e}case h.u:return t.payload;default:return e}}},S={screenshots:function(e={},t,o,n){switch(t.type){case h.j:case h.m:{const e=f(n.page.data),t={};for(const[e,o]of Object.entries(n.globalBlocks)){const n=o.data;if(n.type&&n.value&&n.value._id&&n.value._thumbnailSrc){const o=n.value;t[e]={_thumbnailSrc:o._thumbnailSrc,_thumbnailWidth:o._thumbnailWidth,_thumbnailHeight:o._thumbnailHeight,_thumbnailTime:o._thumbnailTime}}Object.assign(t,f(n.value))}return g({},e,{},t,{_published:g({},e,{},t)})}case h.A:{const{payload:{blockId:o,data:n},meta:{blockType:a,action:r}}=t,i=g({},e,{[o]:n});return"global"===a&&"create"===r&&(i._published=g({},i._published,{[o]:n})),i}default:return e}}},(e={},t)=>{const o={};return Object.entries(C).reduce((o,[n,a])=>(o[n]=a(e[n],t,e),o),o),Object.entries(S).reduce((o,[n,a])=>(o[n]=a(e[n],t,e,o),o),o),o}),{keysToTrack:["pageBlocks","currentStyleId","currentStyle","extraFontStyles","globalBlocksUpdates"]});let j;function B({middleware:e=[]}={}){if(j)throw new Error("store is already created");return j=Object(n.d)(x,Object(n.c)(a.reduxBatch,Object(n.a)(...e)))}function P(){if(!j)throw new Error("store is not yet created");return j}o.d(t,"a",(function(){return B})),o.d(t,"b",(function(){return P}))},,,function(e,t,o){"use strict";var n=o(7),a=o.n(n),r=o(20),i=o(16);const l=({type:e,family:t})=>{const o=W(Object(i.E)(Object(r.b)().getState())),n=L(o[e],t,e);if(n)return A[e](n);const a=s();return A[a.group](a.font)},c=(e,t)=>Object.entries(e).reduce((e,o)=>{const[n,{data:a=[]}]=o,r=a.find(e=>t===A[n](e).id);return r?{group:n,font:r}:e},null),s=a.a.memoize(()=>{const e=Object(r.b)().getState(),{font:t}=Object(i.t)(e).data,{config:o}=Object(i.g)(e);return{group:"config",font:L(o.data,t)}});function d(){const{config:e={},blocks:t={},google:o={},upload:n={}}=Object(i.E)(Object(r.b)().getState());return{config:e.data||[],blocks:t.data||[],google:o.data||[],upload:n.data||[]}}function p(){return Object.values(d()).reduce((e,t)=>[...e,...t],[])}function u({includeDeleted:e=!1}={}){const t=Object(r.b)().getState(),{fontStyles:o}=Object(i.b)(t),n=[...o,...Object(i.f)(t)];return e?n:n.filter(e=>!0!==e.deleted)}function b(e){return u({includeDeleted:!0}).find(t=>t.id===e)}var h=o(66),m=o(1);const g=e=>{switch(e){case h.i:return Object(m.a)("Thin");case h.d:return Object(m.a)("Extra Light");case h.e:return Object(m.a)("Light");case h.g:return Object(m.a)("Normal");case h.f:return Object(m.a)("Medium");case h.h:return Object(m.a)("Semi Bold");case h.b:return Object(m.a)("Bold");case h.c:return Object(m.a)("Extra Bold");case h.a:return Object(m.a)("Black");default:String(e)}},v=h.l.reduce((e,t)=>(e[t]=g(t),e),{});function y({type:e,family:t}){if(e&&t){const{weights:o}=l({type:e,family:t});return o.map(e=>({title:g(e),value:e}))}return[{title:g(h.j),value:h.j}]}function f(e,t){return t.includes(Number(e))?e:h.j}var O=o(13),C=o(89);const S=e=>{const t=e.reduce((e,t)=>{const o=t.family.replace(/\s/g,"+"),n=t.variants.join();return""===e?"".concat(o,":").concat(n):"".concat(e,"|").concat(o,":").concat(n)},"");return"https://fonts.googleapis.com/css?family=".concat(t,"&subset=arabic,bengali,cyrillic,cyrillic-ext,devanagari,greek,greek-ext,gujarati,hebrew,khmer,korean,latin-ext,tamil,telugu,thai,vietnamese")},x=e=>{const t=O.a.get("urls").editorFonts,o=Object(C.a)({"brizy-font":e.reduce((e,{id:t,weights:o})=>{const n=o.join();return""===e?"".concat(t,":").concat(n):"".concat(e,"|").concat(t,":").concat(n)},"")});return Object(C.b)(t)?"".concat(t,"&").concat(o):"".concat(t,"?").concat(o)},j=({id:e,family:t})=>".brz .brz-ff-".concat(e,"{font-family:").concat(t,"!important;}"),B=e=>e.map(e=>{const{id:t,family:o,deleted:n=!1}=V(e)||{};return t&&o?j(n?{id:t,family:V(s().font).family}:{id:t,family:o}):(console.warn("There isn't family: ".concat(JSON.stringify(e))),"")}).join(""),P=e=>e.map(e=>{const{id:t,family:o,deleted:n=!1}=D(e)||{};return t&&o?j(n?{id:t,family:V(s().font).family}:{id:t,family:o}):(console.warn("There isn't family: ".concat(JSON.stringify(e))),"")}).join("");var w=o(28);const T=({fontFamily:e,fontFamilyType:t,fontSize:o,fontWeight:n,letterSpacing:a,lineHeight:r,tabletFontSize:i,tabletFontWeight:c,tabletLetterSpacing:s,tabletLineHeight:d,mobileFontSize:p,mobileFontWeight:u,mobileLetterSpacing:b,mobileLineHeight:h})=>{const{family:m}=l({family:e,type:t});return{desktop:["font-family: ".concat(m,";"),"font-size: ".concat(o,"px;"),"font-weight: ".concat(n,";"),"letter-spacing: ".concat(a,"px;"),"line-height: ".concat(r,"em;")].join(""),tablet:["font-size: ".concat(i,"px;"),"font-weight: ".concat(c,";"),"letter-spacing: ".concat(s,"px;"),"line-height: ".concat(d,"em;")].join(""),mobile:["font-size: ".concat(p,"px;"),"font-weight: ".concat(u,";"),"letter-spacing: ".concat(b,"px;"),"line-height: ".concat(h,"em;")].join("")}},z=e=>e.map(e=>{const{id:t}=e,o=Object(w.a)(e,["id"]),{desktop:n,tablet:a,mobile:r}=T(o),i=".brz-tp-".concat(t.toLowerCase());return[".brz-ed--desktop ".concat(i,", ").concat(i," { ").concat(n," }"),".brz-ed--tablet ".concat(i," { ").concat(a," }"),".brz-ed--mobile ".concat(i," { ").concat(r," }")].join("\n")}).join("\n");var k=o(33);const E=async()=>await(async e=>{const t=await fetch(e),{items:o}=await t.json();return o})(Object(k.a)("googleFonts.json"));var H=o(2),_=o(39),R=o(27);function M(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function I(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?M(Object(o),!0).forEach((function(t){Object(H.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):M(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const F=e=>e.reduce((e,t)=>{const o=parseInt(t);return isNaN(o)||e.includes(o)?e:[...e,o]},[400]),N=e=>e.toLowerCase().replace(/\s+/g,"_"),L=(e=[],t="",o="google")=>"upload"===o?e.find(({id:e})=>e===t):e.find(({family:e})=>N(e)===t),W=e=>Object.entries(e).reduce((e,t)=>{const[o,{data:n}]=t;return I({},e,"upload"===o?{upload:n}:{google:[...e.google||[],...n]})},{}),V=e=>{const{family:t,category:o,variants:n,brizyId:a,deleted:r}=e;return I({id:N(t),title:t,family:"".concat(t,", ").concat(o),weights:F(n)},a&&{brizyId:a},{},r&&{deleted:r})},D=e=>{const{id:t,family:o,weights:n,brizyId:a,deleted:r}=e;return I({id:t,title:o,family:"'".concat(t,"'"),weights:F(n)},a&&{brizyId:a},{},r&&{deleted:r})},A={config:V,google:V,blocks:V,upload:D},G=async e=>{if(0===e.length)return[];const t=new Map,o=e=>I({brizyId:Object(_.a)()},e),[n,a]=await Promise.all([E(),Object(R.w)()]);return e.forEach(({type:e,family:r})=>{if("google"===e){const e=L(n,r);if(e){const n=t.get("blocks")||[];t.set("blocks",[...n,o(e)])}}if("upload"===e){const e=L(a,r,"upload");if(e){const n=t.get("upload")||[];t.set("upload",[...n,o(e)])}}if("unknowns"===e){const e=L(a,r,"upload");if(e){const n=t.get("upload")||[];t.set("upload",[...n,o(e)])}else{const e=L(n,r);if(e){const n=t.get("blocks")||[];t.set("blocks",[...n,o(e)])}}}}),Object.values([...t]).reduce((e,t)=>{const[o,n]=t;return[...e,{type:o,fonts:n}]},[])};function U({group:e,font:t}){const o=A[e],{family:n}=o(t);return".brz .brz-root__container,.brz .brz-popup2,.brz .brz-popup {font-family:".concat(n,"!important;}")}o.d(t,"d",(function(){return l})),o.d(t,"i",(function(){return c})),o.d(t,"c",(function(){return s})),o.d(t,"k",(function(){return p})),o.d(t,"l",(function(){return d})),o.d(t,"f",(function(){return u})),o.d(t,"e",(function(){return b})),o.d(t,"w",(function(){return v})),o.d(t,"m",(function(){return f})),o.d(t,"n",(function(){return y})),o.d(t,"s",(function(){return S})),o.d(t,"t",(function(){return x})),o.d(t,"p",(function(){return B})),o.d(t,"r",(function(){return P})),o.d(t,"q",(function(){return z})),o.d(t,"h",(function(){return E})),o.d(t,"b",(function(){return A})),o.d(t,"g",(function(){return V})),o.d(t,"j",(function(){return D})),o.d(t,"a",(function(){return L})),o.d(t,"v",(function(){return W})),o.d(t,"u",(function(){return G})),o.d(t,"o",(function(){return U}))},,function(e,t,o){"use strict";var n=o(41),a=o(56),r=o(39);const i=(e,t,o,n)=>{if("type"===e&&null!=a.a.getComponent(t)){if(o.value=o.value||{},void 0!==o.value._id&&n.keepExistingIds)return;o.value._id=Object(r.a)()}};function l(e,t={}){const o=JSON.parse(JSON.stringify(e));return Object(n.f)(o,i,t),o}function c(e){return JSON.parse(JSON.stringify(e,(e,t)=>"_id"===e?void 0:t))}var s=o(2),d=o(22);function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){Object(s.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function b(e,t,o){let n=e.findIndex(e=>e===t),a="increase"===o?++n:--n;return a===e.length?a=0:a<0&&(a=e.length-1),e[a]}function h(e,t,o){return m(e,t,e=>{if(e.type){const{defaultValue:t}=a.a.getComponent(e.type)||{};return!(!t||!t.style)&&t.style[o]}})}function m(e,t,o){const n=[...e];let a=[];for(let r=0;r<=e.length;r++){const e=Object(d.getIn)(t,n),r=o(e);if(r||null===r)return{value:e,path:n};a.unshift(n.pop())}return{value:null,path:null}}function g(e,t=0,o=0){const n=function(e){const{defaultValue:t}=a.a.getComponent(e.type);return t.style}(e);let r=Object(d.setIn)(e,["value"],v(e.value,n));if(o++,e.value.items&&o<=t){const n=e.value.items.map((e,n)=>{let a={};return r.value&&r.value.items&&r.value.items[n]&&(a=r.value.items[n]),g(u({},e,{value:u({},a.value,{},e.value)}),t,o)});r=Object(d.setIn)(r,["value","items"],n)}return r}const v=(e,t={})=>Object.entries(t).reduce((o,[n,a])=>(o[n]=n in e?e[n]:a,o[n]="items"===n?e.items.map((e,o)=>u({},e,{value:u({},v(e.value,t.items[o].value),{},e.value)})):n in e?e[n]:a,o),{});var y=o(164),f=o(165),O=o(92);o.d(t,"j",(function(){return C})),o.d(t,"k",(function(){return l})),o.d(t,"m",(function(){return c})),o.d(t,"l",(function(){return g})),o.d(t,"f",(function(){return b})),o.d(t,"e",(function(){return m})),o.d(t,"g",(function(){return h})),o.d(t,"n",(function(){return y.a})),o.d(t,"h",(function(){return f.a})),o.d(t,"d",(function(){return O.d})),o.d(t,"c",(function(){return O.c})),o.d(t,"a",(function(){return O.a})),o.d(t,"b",(function(){return O.b})),o.d(t,"i",(function(){return O.g}));const C=(e,t)=>(e=>Object(n.b)(["type","value"],e))(t)?Object(n.c)(C.bind(null,e),e(t)):Object(n.c)(C.bind(null,e),t)},function(e,t,o){"use strict";(function(e){o.d(t,"a",(function(){return f}));var n=o(9),a=o(2),r=o(0),i=o.n(r),l=o(80),c=o(22),s=o(56),d=o(20),p=o(16),u=o(17),b=o(18),h=o(25);function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const v=(e,t)=>Object(l.a)((e=>Array.isArray(e)?[]:{})(e),e,t);function y(e,t,o){const n=e.slice();return t.forEach((function(t,a){if(void 0===n[a]){const e=!1!==o.clone&&o.isMergeableObject(t);n[a]=e?v(t,o):t}else o.isMergeableObject(t)?n[a]=Object(l.a)(e[a],t,o):-1===e.indexOf(t)&&n.push(t)})),n}class f extends b.a{constructor(...e){super(...e),Object(a.a)(this,"handleKeyDown",(e,{keyName:t,id:o})=>{e.preventDefault();const n=this.getValue().findIndex(({value:{_id:e}})=>e===o);switch(t){case"alt+N":case"ctrl+N":case"cmd+N":case"right_cmd+N":return void this.addColumn(n+1);case"alt+D":case"ctrl+D":case"cmd+D":case"right_cmd+D":return void this.cloneItem(n);case"alt+C":case"ctrl+C":case"cmd+C":case"right_cmd+C":return void this.copy(n);case"alt+V":case"ctrl+V":case"cmd+V":case"right_cmd+V":return void this.paste(n);case"alt+shift+V":case"ctrl+shift+V":case"cmd+shift+V":case"right_cmd+shift+V":case"shift+alt+V":case"shift+ctrl+V":case"shift+cmd+V":case"shift+right_cmd+V":return void this.pasteStyles(n);case"ctrl+right":case"cmd+right":case"right_cmd+right":return void this.changeHorizontalAlign(n,"increase");case"ctrl+left":case"cmd+left":case"right_cmd+left":return void this.changeHorizontalAlign(n,"decrease");case"ctrl+up":case"cmd+up":case"right_cmd+up":case"alt+up":return void this.changeVerticalAlign(n,"decrease");case"ctrl+down":case"cmd+down":case"right_cmd+down":case"alt+down":return void this.changeVerticalAlign(n,"increase");case"alt+del":case"del":case"cmd+backspace":case"cmd+del":case"right_cmd+backspace":case"right_cmd+del":return void this.removeItem(n)}}),Object(a.a)(this,"renderItem",(e,t,o)=>{const{sliceStartIndex:n,sliceEndIndex:a}=f.defaultProps,{sliceStartIndex:r=n,sliceEndIndex:i=a}=this.props;if(t>=r&&t<i){const n=e.value._id,a=this.renderItemData(e,n,t,o);return this.renderItemWrapper(a,n,t,e,o)}return null}),Object(a.a)(this,"getCurrentCopiedElement",()=>{const{path:e,value:t}=Object(p.a)(Object(d.b)().getState());return t?Object(c.getIn)(t,e):null})}static insertItemsBatch(e,t,o){return o.reduce((e,o,n)=>{const a=Object(h.n)(o),r=Object(h.k)(a);return Object(c.insert)(e,t+n,r)},e)}static cloneItem(e,t,o=t+1){if(!e[t])throw new Error("Can't clone invalid item at index ".concat(t));return f.insertItem(e,o,e[t])}insertItem(e,t){const o=Object(h.n)(t),n=Object(h.k)(o),a=this.getDBValue()||[],r=Object(c.insert)(a,e,n);this.handleValueChange(r,{arrayOperation:"insert"})}insertItemsBatch(e,t){const o=this.getDBValue()||[],n=t.reduce((t,o,n)=>{const a=Object(h.n)(o),r=Object(h.k)(a);return Object(c.insert)(t,e+n,r)},o);this.handleValueChange(n,{arrayOperation:"insert_bulk"})}updateItem(e,t,o={}){const n=this.getDBValue(),a=Object(c.setIn)(n,[e,"value"],t);this.handleValueChange(a,Object.assign(o,{arrayOperation:"itemChange"}))}removeItem(e){const t=this.getDBValue()||[],o=Object(c.removeAt)(t,e);this.handleValueChange(o,{arrayOperation:"remove"})}replaceItem(e,t,o){const n=Object(h.n)(t,{exclude:["_id"]}),a=Object(h.k)(n,o.idOptions),r=this.getDBValue()||[],i=Object(c.replaceAt)(r,e,a);this.handleValueChange(i,{arrayOperation:"replace",itemIndex:e,oldValue:r})}cloneItem(e,t=e+1){const o=this.getDBValue()||[];if(!o[e])throw new Error("Can't clone invalid item at index ".concat(e));this.insertItem(t,o[e])}getDefaultValue(){return this.props.defaultValue||[]}getValue(){return this.getDBValue()||this.getDefaultValue()}getValue2(){const e=this.getDefaultValue();return{v:this.getDBValue()||e}}validateValue(){}getItemProps(e,t,o){const{itemProps:n}=f.defaultProps,{itemProps:a=n}=this.props;return"function"==typeof a?a(e,t,o):a}renderItemData(e,t,o,a){const{type:r,value:l}=e,c=s.a.getComponent(r),d=this.getDefaultValue(),p=this.getItemProps(e,o,a),u=[...this.getPath(),o,"value"],b=d[o]&&d[o].value,h=l,m=(e,t={})=>{const{intent:n}=t;"replace_all"===n?this.replaceItem(o,e,t):null===e?this.removeItem(o,t):this.updateItem(o,e,t)};if(c)return i.a.createElement(c,Object(n.a)({},p,{key:t,path:u,defaultValue:b,dbValue:h,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:m}));{const e=s.a.getNotFoundComponent();return i.a.createElement(e,Object(n.a)({},p,{key:t,path:u,defaultValue:b,dbValue:h,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:m,componentId:r}))}}renderItemWrapper(e,t,o,n,a){return e}renderItemsContainer(e){return e}renderForEdit(e){const t=e.map(this.renderItem);return this.renderItemsContainer(t,e)}changeVerticalAlign(t,o){const n=this.getValue(),a=Object(p.q)(Object(d.b)().getState()),r=e.Brizy.activeEditorComponent.getPath(),{path:i,value:{type:l,value:u}}=Object(h.g)(r,a,"verticalAlign");if(u){const e=["top","center","bottom"],{defaultValue:{style:{verticalAlign:a}}}=s.a.getComponent(l),r=u.verticalAlign||a||"top",d=Object(h.f)(e,r,o),p=this.getPath(),b=i.reduce((e,t,o)=>(void 0===p[o]&&e.push(i[o]),e),[]),m=Object(c.setIn)(n,[...b,"value"],g({},u,{verticalAlign:d}));this.updateItem(t,m[t].value)}}changeHorizontalAlign(t,o){const n=this.getValue(),a=e.Brizy.activeEditorComponent.getPath(),r=Object(d.b)().getState(),i=Object(p.q)(r),{deviceMode:l}=r.ui,u="desktop"===l?"horizontalAlign":"".concat(l,"HorizontalAlign"),{path:b,value:{type:m,value:v}}=Object(h.g)(a,i,u);if(v){const e=["left","center","right"],{defaultValue:{style:a}}=s.a.getComponent(m),r=v[u]||a[u]||"left",i=Object(h.f)(e,r,o),l=this.getPath(),d=b.reduce((e,t,o)=>(void 0===l[o]&&e.push(b[o]),e),[]),p=Object(c.setIn)(n,[...d,"value"],g({},v,{[u]:i}));this.updateItem(t,p[t].value)}}copy(e){const t=this.getReduxDispatch(),o=[...this.getPath(),e],n=Object(p.p)(this.getReduxState());t(Object(u.S)({value:n,path:o}))}paste(e){const t=this.getValue()[e],{path:o,value:n}=Object(p.a)(Object(d.b)().getState());if(!n)return;const{value:a}=Object(h.e)(o,n,"Cloneable"===t.type||"Wrapper"===t.type?({type:e})=>"Cloneable"===e||"Wrapper"===e:({type:e})=>e===t.type);a&&this.insertItem(e+1,a)}pasteStyles(e){const{path:t,value:o}=Object(p.a)(Object(d.b)().getState());if(!o)return;const n=this.getValue()[e],a=this.getCurrentCopiedElement();let r=0;if(a&&"Wrapper"===a.type&&"Wrapper"===n.type){if(a.value.items[0].type!==n.value.items[0].type)return;r=1,"Form"===a.value.items[0].type||"IconText"===a.value.items[0].type?r=3:"ImageGallery"===a.value.items[0].type&&(r=2)}const{value:i}=Object(h.e)(t,o,({type:e})=>e===n.type);if(i){const t=Object(h.l)(i,r),o=Object(l.a)(n,t,{arrayMerge:y});this.updateItem(e,o.value)}}}Object(a.a)(f,"defaultProps",{itemProps:{},sliceStartIndex:0,sliceEndIndex:1/0}),Object(a.a)(f,"insertItem",h.h)}).call(this,o(67))},function(e,t,o){"use strict";var n=o(28),a=o(2),r=o(29),i=o.n(r),l=o(222),c=o.n(l),s=o(13),d=o(64);function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const b=e=>{let t;if(!e.data)throw new d.h("Project data should exist");try{t=JSON.parse(e.data)}catch(t){throw new d.h("Failed to parse project data ".concat(e.data))}return u({},e,{data:t})},h=e=>{return u({},e,{data:JSON.stringify(e.data)})},m=e=>{const t=String(e.id);let o;if(e.data)try{o=JSON.parse(e.data)}catch(t){throw new d.g("Failed to parse page ".concat(e.data))}else o={};return u({},e,{id:t,data:o})},g=e=>{return u({},e,{data:JSON.stringify(e.data)})},v=e=>{let t;if(!e.data)throw new d.b("globalBlock data should exist");try{t=JSON.parse(e.data)}catch(t){throw new d.b("Failed to parse globalBlock data ".concat(e.data))}return u({},e,{data:t})},y=e=>{return u({},e,{data:JSON.stringify(e.data)})},f=e=>{let t;if(!e.data)throw new d.i("savedBlock data should exist");try{t=JSON.parse(e.data)}catch(t){throw new d.i("Failed to parse savedBlock data ".concat(e.data))}return u({},e,{data:t})},O=e=>{return u({},e,{data:JSON.stringify(e.data)})};function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function S(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}o.d(t,"z",(function(){return P})),o.d(t,"r",(function(){return w})),o.d(t,"K",(function(){return T})),o.d(t,"a",(function(){return z})),o.d(t,"y",(function(){return k})),o.d(t,"p",(function(){return E})),o.d(t,"J",(function(){return H})),o.d(t,"L",(function(){return _})),o.d(t,"s",(function(){return R})),o.d(t,"l",(function(){return M})),o.d(t,"d",(function(){return I})),o.d(t,"H",(function(){return F})),o.d(t,"t",(function(){return N})),o.d(t,"f",(function(){return L})),o.d(t,"M",(function(){return W})),o.d(t,"g",(function(){return V})),o.d(t,"h",(function(){return D})),o.d(t,"m",(function(){return A})),o.d(t,"F",(function(){return G})),o.d(t,"G",(function(){return U})),o.d(t,"x",(function(){return K})),o.d(t,"u",(function(){return q})),o.d(t,"C",(function(){return Y})),o.d(t,"o",(function(){return X})),o.d(t,"v",(function(){return Z})),o.d(t,"w",(function(){return J})),o.d(t,"i",(function(){return $})),o.d(t,"b",(function(){return Q})),o.d(t,"D",(function(){return ee})),o.d(t,"q",(function(){return te})),o.d(t,"j",(function(){return oe})),o.d(t,"B",(function(){return ne})),o.d(t,"A",(function(){return ae}));const x=s.a.get("wp").api.url;function j(e,t){const{hash:o,url:n}=s.a.get("wp").api,a=S({},t,{action:e,hash:o,version:s.a.get("editorVersion")});return new c.a((e,t)=>i.a.post(n,a).done(e).fail(e=>t(e.responseText)))}function B(e){const{hash:t,url:o}=s.a.get("wp").api,a=s.a.get("editorVersion"),{data:r}=e,l=Object(n.a)(e,["data"]);return new c.a((e,n)=>{i.a.ajax(S({},l,{url:o,data:S({},r,{hash:t,version:a}),onbeforeunload:()=>"You have unsaved data.",failedAttempts:0,success(t){this.failedAttempts=0,window.onbeforeunload=null,e(t)},error(e){const{status:t,responseJSON:o}=e;0===t?(this.failedAttempts++,window.onbeforeunload=this.onbeforeunload,this.failedAttempts<=5&&setTimeout(()=>i.a.ajax(this),5e3*this.failedAttempts)):n(o)}}))})}function P(e,t={}){return fetch(e,t)}function w(){const{getProject:e}=s.a.get("wp").api;return B({type:"POST",dataType:"json",data:{action:e}}).then(({data:e})=>e).then(b)}function T(e,t={}){const{setProject:o}=s.a.get("wp").api,{is_autosave:n=1}=t,{data:a,dataVersion:r}=h(e);return B({type:"POST",dataType:"json",data:{data:a,dataVersion:r,is_autosave:n,action:o}})}function z(){const{lockProject:e}=s.a.get("wp").api,t=s.a.get("editorVersion");return P(x,{method:"POST",body:new URLSearchParams({version:t,action:e})}).then(e=>e.json()).then(e=>{if(e.success)return e.data;throw e})}function k(){const{removeLock:e}=s.a.get("wp").api,t=s.a.get("editorVersion"),o=new URL(x);return o.searchParams.append("action",e),o.searchParams.append("version",t),navigator.sendBeacon("".concat(o))}function E(){const e=s.a.get("wp").api;return B({type:"POST",dataType:"json",data:{id:s.a.get("wp").page,action:e.getPage}}).then(({data:e})=>e.map(m))}function H(e,t={}){const{updatePage:o}=s.a.get("wp").api,{is_autosave:n=1}=t;return B({type:"POST",dataType:"json",data:S({action:o},g(e),{is_autosave:n})})}function _(e){const{api:{updateRules:t,hash:o,url:n},page:a}=s.a.get("wp"),{rules:r,dataVersion:i}=e,l=s.a.get("editorVersion");return P("".concat(n,"?action=").concat(t,"&hash=").concat(o,"&post=").concat(a,"&version=").concat(l,"&dataVersion=").concat(i),{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)})}function R(){const{api:{getRuleList:e,hash:t,url:o},page:n}=s.a.get("wp"),a=s.a.get("editorVersion");return P(o,{method:"POST",credentials:"same-origin",body:new URLSearchParams({action:e,hash:t,post:n,version:a})}).then(e=>e.json()).then(({data:e})=>e)}function M(){const{getGlobalBlockList:e}=s.a.get("wp").api;return B({type:"POST",dataType:"json",data:{action:e}}).then(({data:e})=>e.map(v).reduce((e,{uid:t,data:o,dataVersion:n})=>(e[t]={id:t,data:o,dataVersion:n},e),{}))}function I(e){const{createGlobalBlock:t}=s.a.get("wp").api,{id:o,data:n,dataVersion:a}=y(e);return B({type:"POST",dataType:"json",data:{action:t,uid:o,data:n,dataVersion:a}})}function F(e,t={}){const{updateGlobalBlock:o}=s.a.get("wp").api,{is_autosave:n=1}=t,{id:a,data:r,dataVersion:i}=y(e);return B({type:"POST",dataType:"json",data:{action:o,uid:a,data:r,dataVersion:i,is_autosave:n}})}function N(){const{getSavedBlockList:e}=s.a.get("wp").api;return B({type:"POST",dataType:"json",data:{action:e}}).then(({data:e})=>e.map(f).reduce((e,{uid:t,data:o,dataVersion:n})=>(e[t]={uid:t,data:o,dataVersion:n},e),{}))}function L(e){const{createSavedBlock:t}=s.a.get("wp").api,{id:o,data:n,dataVersion:a}=O(e);return B({type:"POST",dataType:"json",data:{action:t,uid:o,data:n,dataVersion:a}})}function W(e,t={}){const{updateSavedBlock:o}=s.a.get("wp").api,{is_autosave:n=0}=t,{id:a,data:r,dataVersion:i}=O(e);return B({type:"POST",dataType:"json",data:{action:o,uid:a,data:r,dataVersion:i,is_autosave:n}})}function V({id:e}){const{deleteSavedBlock:t}=s.a.get("wp").api;return B({type:"POST",dataType:"json",data:{action:t,uid:e}})}function D(e){const{api:t,page:o}=s.a.get("wp"),n={post_id:o,media:e};return j(t.downloadMedia,n).then(({data:e})=>e)}function A(e){const{api:t,page:o}=s.a.get("wp"),n={post_id:o,attachment_id:e};return j(t.getMediaUid,n).then(({data:e})=>e)}function G(e,t){return j(s.a.get("wp").api.setFeaturedImage,{post:e,attachmentId:t})}function U(e,t,o,n){return j(s.a.get("wp").api.setFeaturedImageFocalPoint,{post:e,attachmentId:t,pointX:o,pointY:n})}function K(e){return j(s.a.get("wp").api.removeFeaturedImage,{post:e})}function q(){return j(s.a.get("wp").api.getSidebars,{}).then(({data:e})=>e)}function Y(e){return j(s.a.get("wp").api.shortcodeContent,{shortcode:e}).then(({data:e})=>e)}function X(){return j(s.a.get("wp").api.getMenus,{}).then(({data:e})=>e)}function Z(e){return j(s.a.get("wp").api.getTerms,{taxonomy:e}).then(({data:e})=>e)}function J(){return j(s.a.get("wp").api.getFonts,{}).then(({data:e})=>e)}function $(e){const t={attachment_id:e};return j(s.a.get("wp").api.getAttachmentUid,t).then(({data:e})=>e)}function Q({base64:e,blockType:t}){const{page:o,api:{createBlockScreenshot:n}}=s.a.get("wp"),a=s.a.get("editorVersion"),r=e.replace(/data:image\/.+;base64,/,"");return P(x,{method:"POST",credentials:"omit",body:new URLSearchParams({action:n,post:o,block_type:t,ibsf:r,version:a})}).then(e=>e.json()).then(e=>{if(e.success)return e.data;throw e})}function ee({id:e,base64:t,blockType:o}){const{page:n,api:{updateBlockScreenshot:a}}=s.a.get("wp"),r=s.a.get("editorVersion"),i=t.replace(/data:image\/.+;base64,/,"");return P(x,{method:"POST",credentials:"omit",body:new URLSearchParams({action:a,post:n,block_type:o,id:e,ibsf:i,version:r})}).then(e=>e.json()).then(e=>{if(e.success)return e.data;throw e})}function te(e){return j(s.a.get("wp").api.getPostObjects,{postType:e}).then(({data:e})=>e)}function oe(){return j(s.a.get("wp").api.getRuleGroupList,{context:"popup-rules"}).then(({data:e})=>e)}function ne(){const{heartBeat:e}=s.a.get("wp").api,t=s.a.get("editorVersion");return P(x,{method:"POST",body:new URLSearchParams({version:t,action:e})}).then(e=>e.json()).then(e=>{if(e.success)return e.data;throw e})}function ae(){const{takeOver:e}=s.a.get("wp").api,t=s.a.get("editorVersion");return P(x,{method:"POST",body:new URLSearchParams({version:t,action:e})}).then(e=>e.json()).then(e=>{if(e.success)return e.data;throw e})}},,function(e,t){e.exports=jQuery},function(e,t,o){"use strict";function n(e){return new Promise((function(t,o){const n=new Image;n.onload=function(){t(this)},n.onabort=function(){o('preloadImage("'.concat(e,'") onabort'))},n.onerror=function(){o('preloadImage("'.concat(e,'") onerror'))},n.src=e}))}var a=o(7),r=o.n(a),i=o(27);const l={acceptedExtensions:["jpeg","jpg","png","gif"],onBase64:e=>{},onUpload:e=>{},onError:e=>console.log("uploadImage default onError",e)};function c(e,t){const{acceptedExtensions:o,onBase64:n,onUpload:a,onError:c}=r.a.extend({},l,t);Promise.resolve(e).then(e=>{const t=e.name.split(".").pop();if(!(t&&r.a.some(o,e=>e===t.toLowerCase())))throw{status:406,message:"Extension is not accepted"};return e}).then(s).then(e=>{n(e);const t=e.replace(/data:image\/.+;base64,/,"");return Object(i.uploadImage)({base64:t})}).then(a).catch(c)}function s(e){return new Promise((function(t,o){const n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(){o("Error read file.")},n.onabort=function(){o("Abort read file.")},n.readAsDataURL(e)}))}var d=o(13),p=o(89);const u=e=>{const t=r.a.mapObject(e,e=>"number"===e?Math.round(e):e);return Object(p.a)(t)};const{pageAttachments:b}=d.a.get("wp"),h=d.a.get("urls").site,m={},g=h.includes("?")?"".concat(h,"&"):"".concat(h,"/?");function v(e,t={iW:5e3,iH:"any"}){if(!e)return null;{const o=u(t);if(b.images[e]||0===e.indexOf("wp-")){const t=Object(p.a)({brizy_media:e,brizy_crop:o,brizy_post:d.a.get("wp").page});return g+t}return m[e]||(m[e]=!0,Object(i.h)(e).then(()=>{m[e]=!1,b.images[e]=!0})),function(e,t={iW:5e3,iH:"any"}){if(e){const o=u(t);return[d.a.get("urls").image,o,e].join("/")}return null}(e,t)}}function y(e){if(e){const{customFile:t}=d.a.get("urls");return"".concat(t).concat(e)}return null}function f(e,t,o){const n=e>t?e/o:t/o;return{width:Math.round(e/n),height:Math.round(t/n)}}function O(e,t={cW:1200,cH:0}){const{cW:o,cH:n}=t;if(!e||"number"!=typeof o||"number"!=typeof n)throw new Error("Invalid arguments");return"{{".concat(e.replace(/{{|}}/g,"")," cW='").concat(o,"' cH='").concat(n,"'}}")}function C(e=""){return e.split(".").pop().toLowerCase()}o.d(t,"e",(function(){return n})),o.d(t,"g",(function(){return c})),o.d(t,"c",(function(){return v})),o.d(t,"f",(function(){return y})),o.d(t,"b",(function(){return O})),o.d(t,"d",(function(){return f})),o.d(t,"a",(function(){return C}))},,function(e,t,o){"use strict";var n=o(2),a=o(0),r=o.n(a),i=o(4),l=o.n(i),c=o(7),s=o.n(c),d=o(6),p=o.n(d);class u extends r.a.Component{getClassName(){return p()("brz-control__select-option",{active:this.props.active,disabled:this.props.disabled})}render(){const{title:e,disabled:t,onClick:o,value:n,children:a}=this.props,i=t?()=>{}:o;return r.a.createElement("div",{className:this.getClassName(),title:e,"data-value":n,onClick:i},a)}}Object(n.a)(u,"propTypes",{active:l.a.bool,title:l.a.string,disabled:l.a.bool,value:l.a.oneOfType([l.a.string,l.a.number]),onClick:l.a.func}),Object(n.a)(u,"defaultProps",{active:!1,title:"",disabled:!1,value:"",onClick:s.a.noop}),t.a=u},function(e,t,o){"use strict";var n=o(13);function a(e){return n.a.get("urls").assets+"/"+e}o.d(t,"a",(function(){return a}))},function(e,t,o){"use strict";function n(e,t,o){return e<t?t:e>o?o:e}function a(e,t){return+(Math.round(Number(e+"e+"+t))+"e-"+t)}o.d(t,"a",(function(){return n})),o.d(t,"d",(function(){return a})),o.d(t,"c",(function(){return r})),o.d(t,"f",(function(){return i})),o.d(t,"e",(function(){return l})),o.d(t,"g",(function(){return c})),o.d(t,"b",(function(){return s}));const r=e=>"number"==typeof e,i=(e,t)=>"number"==typeof e?e:t,l=(e,t)=>"number"==typeof e&&e>=0?e:t,c=(e,t)=>"number"==typeof e&&e>0?e:t,s=(e,t,o)=>o>=e&&o<=t},function(e,t,o){"use strict";o.d(t,"a",(function(){return d}));var n=o(2),a=o(0),r=o.n(a),i=o(6),l=o.n(i),c=o(100),s=o(379);class d extends r.a.Component{constructor(...e){super(...e),Object(n.a)(this,"state",{icon:null}),Object(n.a)(this,"isUnmounted",!1)}componentDidMount(){const{name:e,type:t,suffix:o}=this.props;this.getSvg(t,e,o)}componentWillReceiveProps({name:e,type:t,suffix:o}){const{name:n,type:a,suffix:r}=this.props;n===e&&a===t&&r===o||this.getSvg(t,e,o)}shouldComponentUpdate({name:e,type:t,suffix:o,className:n},{icon:a}){const{name:r,type:i,suffix:l,className:c}=this.props,{icon:s}=this.state;return s!==a||r!==e||i!==t||l!==o||c!==n}componentWillUnmount(){this.isUnmounted=!0}fetchIcon(e,t,o){const n=Object(c.c)(e,t,o),a=new Headers({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"});return fetch(n,{headers:a,method:"GET"}).then(e=>e.text())}async getSvg(e,t,o){const n=await this.fetchIcon(e,t,o);this.isUnmounted||this.setState({icon:Object(s.responseToSvg)(n)})}renderForEdit(){const{className:e}=this.props,t=l()("brz-icon-svg",e);return this.state.icon&&r.a.createElement("svg",{className:t,dangerouslySetInnerHTML:{__html:this.state.icon}})}renderForView(){const{className:e,type:t,name:o,suffix:n}=this.props,a=l()("brz-icon-svg",e),i=Object(c.c)(t,o,n);return r.a.createElement("svg",{className:a,"data-href":i})}render(){return this.renderForEdit()}}Object(n.a)(d,"defaultProps",{className:"",name:"",type:"",suffix:"nc_icon"})},,function(e,t,o){"use strict";(function(e){var n=o(28),a=o(2),r=o(0),i=o.n(r),l=o(22),c=o(20),s=o(38),d=o(25),p=o(16),u=o(468);function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const h={duplicate:["ctrl+D","cmd+D","right_cmd+D"],copy:["ctrl+C","cmd+C","right_cmd+C"],paste:["ctrl+V","cmd+V","right_cmd+V"],pasteStyles:["ctrl+shift+V","shift+ctrl+V","cmd+shift+V","shift+cmd+V","right_cmd+shift+V","shift+right_cmd+V"],delete:["del","cmd+backspace","cmd+del","right_cmd+backspace","right_cmd+del"],horizontalAlign:["ctrl+right","ctrl+left","cmd+right","cmd+left","right_cmd+right","right_cmd+left"],verticalAlign:["ctrl+up","ctrl+down","cmd+up","cmd+down","right_cmd+up","right_cmd+down"]},m=e=>e.reduce((e,t)=>(h[t]&&(e=[...e,...h[t]]),e),[]),g=i.a.createContext({});class v extends i.a.Component{constructor(...e){super(...e),Object(a.a)(this,"contextValue",{getParentContextMenuItems:this.getItems}),Object(a.a)(this,"getItems",()=>{let e=this.props,{children:t,shortcutsTypes:o=[],keyNames:r=[]}=e,i=Object(n.a)(e,["children","shortcutsTypes","keyNames"]);const{getParentContextMenuItems:l}=this.context;let c=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({onKeyUp:()=>{},onKeyDown:()=>{},keyNames:[...m(o),...r]},i);return c=l?[c,...l()]:[c]})}handleFilterItems(t){if(t.length&&t[0].id.startsWith("key-helper")){const e=t.find(e=>"key-helper-toolbar-escape"===e.id);return e?[e]:t}const o=e.Brizy.activeEditorComponent;if(!o)return[];const n=o.getPath(),a=Object(c.b)().getState(),r=Object(p.q)(a),i=Object(p.a)(a),s=[...n];if(h.paste.includes(t[0].keyName)){const{value:e}=Object(d.e)(n,r,({type:e})=>"Wrapper"===e||"Cloneable"===e);if(e&&i.value){const{value:o}=Object(d.e)(i.path,i.value,({type:e})=>"Wrapper"===e||"Cloneable"===e);if(o&&("Cloneable"===o.type||"Cloneable"===e.type)&&o.value.items[0].type!==e.value.items[0].type){const o=t.find(({id:t})=>t===e.value._id);return o?[o]:[]}}}let u=[];for(let e=0;e<=n.length;e++){const e=Object(l.getIn)(r,s);if(e){const o=t.find(({id:t})=>t===e._id);if(o)return[o]}u.unshift(s.pop())}return[]}shouldShortCutHandle(e,{keyName:t}){const o=h.delete.includes(t),n=h.paste.includes(t),a=h.copy.includes(t),r=o||n||a,i=e.target.closest("[contenteditable=true]")||e.target.closest("input")||e.target.closest("textarea");return!(e.target.closest([".brz-ed-sidebar__right","#brz-toolbar-portal",".brz-ed-tooltip__content-portal",".brz-ed-popup-integrations"].join(","))||i&&r)}render(){const{children:e,id:t}=this.props,o=this.getItems();return i.a.createElement(g.Provider,{value:this.contextValue},e,i.a.createElement(u.a,{items:o,id:t,shouldKeyDownHandle:this.shouldShortCutHandle,shouldKeyUpHandle:this.shouldShortCutHandle,filterItems:this.handleFilterItems}))}}Object(a.a)(v,"contextType",g),t.a=Object(s.c)({allow:["admin"],component:v,fallbackComponent:({children:e})=>e||null})}).call(this,o(67))},function(e,t,o){"use strict";var n=o(2),a=o(0),r=o.n(a),i=o(13);const l=()=>i.a.get("user").role;class c extends a.Component{render(){const{allow:e,children:t,component:o,render:n,fallbackComponent:a,fallbackRender:i}=this.props;if(e.includes(l())){if(t)return t;if(o)return r.a.createElement(o,null);if(n)return n()}else{if(a)return r.a.createElement(a,null);if(i)return i()}return null}}Object(n.a)(c,"defaultProps",{allow:[]});var s=o(9);const d=({allow:e,component:t,render:o,fallbackComponent:n,fallbackRender:a})=>{function i(i,c){if(e.includes(l())){if(t)return r.a.createElement(t,Object(s.a)({},i,{ref:c}));if(o)return o(i)}else{if(n)return r.a.createElement(n,Object(s.a)({},i,{ref:c}));if(a)return a(i)}return null}return i.displayName="RolesHOC(".concat(t.displayName||t.name,")"),r.a.forwardRef(i)};o.d(t,"a",(function(){return c})),o.d(t,"c",(function(){return d})),o.d(t,"b",(function(){return l}))},function(e,t,o){"use strict";o.d(t,"a",(function(){return r}));var n=o(375),a=o.n(n);const r=(e=36)=>a()("abcdefghijklmnopqrstuvwxyz",e)},function(e,t,o){"use strict";var n=o(9),a=o(2),r=o(0),i=o.n(r),l=o(7),c=o.n(l),s=o(6),d=o.n(s),p=o(47),u=o(10),b=(o(35),o(63)),h=o(73);function m(e,t,o,n){const a=t*o,r=t*n,i=e*t;return Math.max(a,Math.min(r,i))}class g extends i.a.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{isOpen:!1,currentValue:this.props.defaultValue,position:"bottom-left"}),Object(a.a)(this,"onClickOutside",()=>{this.state.isOpen&&this.setState({isOpen:!1})}),Object(a.a)(this,"handleItemClick",e=>{this.setState({isOpen:!1,currentValue:e}),this.props.onChange(e)}),Object(a.a)(this,"handleContentRef",e=>{this.content=e}),Object(a.a)(this,"handleDropdownNode",e=>{this.dropdown=e}),Object(a.a)(this,"handleLabelClick",()=>{this.setState({isOpen:!this.state.isOpen})})}componentDidMount(){this.props.inPortal||this.reposition()}componentWillReceiveProps(e){this.state.defaultValue!==e.defaultValue&&this.setState({currentValue:e.defaultValue})}getScrollPaneStyle(){const{children:e}=this.props,t=i.a.Children.count(e);let o=0;return i.a.Children.forEach(e,e=>{const{items:t}=e.props;t&&t.length&&(o+=t.length)}),{height:m(t+o,this.props.itemHeight,this.props.minItems,this.props.maxItems)}}reposition(){const{bottom:e,width:t,x:o}=this.dropdown.getBoundingClientRect();let{position:n}=this.state;const[a,r]=n.split("-");e>=window.innerHeight&&(n="top-".concat(r)),t+o>=window.innerWidth&&(n="".concat(a,"-right")),this.isRepositioning=!0,this.setState({position:n},()=>{this.isRepositioning=!1})}renderLabel(){const{labelType:e}=this.props;switch(e){case"icon":return this.renderLabelIcon();case"input":return this.renderLabelInput();default:throw new Error("Invalid label type ".concat(e))}}renderLabelIcon(){return i.a.createElement(u.b,{icon:this.props.labelIcon})}renderLabelInput(){const{children:e}=this.props,{currentValue:t}=this.state;let o;i.a.Children.forEach(e,e=>{const{items:n}=e.props;if(!o)if(n&&n.length){const n=i.a.Children.toArray(e.props.items);o=n.find(e=>e.props.value===t)}else e.props.value===t&&(o=e)});const n=i.a.createElement(u.b,{icon:"nc-stre-down",className:"brz-control__select--arrow"});return i.a.createElement(i.a.Fragment,null,o||this.findFirstItem(),n)}renderItems(e=this.props.children){const{currentValue:t}=this.state;return i.a.Children.map(e,(e,o)=>{const{value:n,disabled:a,items:r}=e.props;return r&&r.length?i.a.cloneElement(e,{key:o,items:this.renderItems(r)}):i.a.cloneElement(e,{key:o,active:n===t,onClick:a?null:()=>this.handleItemClick(n)})})}renderDropDown(){const{inPortal:e,className:t}=this.props;if(!e)return i.a.createElement("div",{className:"brz-control__select-options",ref:this.handleDropdownNode},i.a.createElement(p.a,{className:"brz-ed-scroll-pane",style:this.getScrollPaneStyle()},this.renderItems()));if(this.state.isOpen&&e){const{top:e,left:o,height:n,width:a}=this.content.getBoundingClientRect(),{scrollLeft:r}=this.content.ownerDocument.documentElement,l=d()("brz-control__portal-select brz-control__select",t),c={top:e+n+3,left:o+r,width:a};return i.a.createElement(h.a,{node:this.content.ownerDocument.body,className:l},i.a.createElement("div",{className:"brz-control__select-options",style:c},i.a.createElement(p.a,{className:"brz-ed-scroll-pane",style:this.getScrollPaneStyle()},this.renderItems())))}}render(){const{className:e,labelType:t,currentValue:o,inputAttributes:a,clickOutsideExceptions:r}=this.props,{position:l,isOpen:c}=this.state,s=d()("brz-control__select","brz-control__select--".concat(l),e,{opened:c}),p=[...r,".brz-control__portal-select"];return i.a.createElement(b.a,{exceptions:p,onClickOutside:this.onClickOutside},i.a.createElement("div",{className:s,ref:this.handleContentRef},i.a.createElement("div",{className:"brz-control__select-current brz-control__select-current__".concat(t),onClick:this.handleLabelClick},this.renderLabel()),this.renderDropDown(),i.a.createElement("input",Object(n.a)({type:"hidden",value:o},a))))}findFirstItem(e=this.props.children){let t;return i.a.Children.forEach(e,e=>{const{items:o}=e.props;t||(t=o&&o.length?this.findFirstItem(o):e)}),t}}Object(a.a)(g,"defaultProps",{defaultValue:"",inputAttributes:{},labelType:"input",labelIcon:"nc-menu",minItems:1,maxItems:5,itemHeight:38,arrowIcon:"nc-arrow-down",inPortal:!1,clickOutsideExceptions:[],onChange:c.a.noop}),t.a=g},function(e,t,o){"use strict";var n=o(7),a=o.n(n);const r=(e,t,o=[])=>{if(t(e))return{obj:e,path:o};for(let n in e)if(e.hasOwnProperty(n)&&"object"==typeof e[n]&&null!==e[n]){const{obj:a,path:i}=r(e[n],t,[...o,n]);if(a)return{obj:a,path:i}}return{obj:null,path:null}},i=(e,t,...o)=>{for(let n in e)e.hasOwnProperty(n)&&(e[n]&&"object"==typeof e[n]&&i(e[n],t,...o),t(n,e[n],e,...o))},l=(e,t)=>{for(let o in e)e.hasOwnProperty(o)&&e[o]&&"object"==typeof e[o]&&l(e[o],t);t(e)},c=e=>{const t={};for(let o in e)Array.isArray(e[o])||"object"!=typeof e[o]||null===e[o]?t[o]=e[o]:Object.assign(t,c(e[o]));return t};function s(e){return e.reduce((e,[t,o])=>(e[t]=o,e),{})}o.d(t,"c",(function(){return d})),o.d(t,"b",(function(){return p})),o.d(t,"h",(function(){return u})),o.d(t,"a",(function(){return r})),o.d(t,"f",(function(){return i})),o.d(t,"g",(function(){return l})),o.d(t,"d",(function(){return c})),o.d(t,"e",(function(){return s}));const d=(e,t)=>Array.isArray(t)?t.map(e):t&&"object"==typeof t?a.a.mapObject(t,e):t,p=(e,t)=>!(!t||!e.every(e=>t.hasOwnProperty(e))),u=e=>null!==e&&"object"==typeof e?e:{}},,function(e,t,o){"use strict";o.d(t,"b",(function(){return p})),o.d(t,"a",(function(){return u})),o.d(t,"c",(function(){return b}));var n=o(2),a=o(7),r=o.n(a),i=o(22),l=o(39),c=o(16);function s(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function p({id:e,data:t,meta:o}){return{type:"UPDATE_GLOBAL_BLOCK",payload:{id:e,data:t},meta:d({is_autosave:1},o)}}function u(e){return(t,o)=>{const n=Object(c.g)(o()),a=e.reduce((e,t)=>{var o;const{type:a,fonts:i}=t,c=(null===(o=n[a])||void 0===o?void 0:o.data)||[],[s,p]=r.a.partition(i,e=>Object.prototype.hasOwnProperty.call(e,"deleted")),u=p.map(e=>d({},e,{brizyId:Object(l.a)()}));return d({},e,{[a]:{data:c.map(e=>s.find(({brizyId:t})=>e.brizyId===t)||e).concat(u)}})},{});return t({type:"ADD_FONTS",payload:Object(i.mergeDeep)(n,a)})}}function b(e,t){return{type:"UPDATE_UI",key:e,value:t}}},,function(e,t,o){"use strict";o.d(t,"e",(function(){return a})),o.d(t,"d",(function(){return r})),o.d(t,"c",(function(){return i})),o.d(t,"a",(function(){return l})),o.d(t,"b",(function(){return c}));var n=o(7);function a(e,t){return void 0===e?t:e}function r(e,t){return null==t?e:t}function i(e,t,o){return void 0!==t&&t!==e?t:o}function l(e,t){if(void 0!==t)return e(t)}function c(...e){return t=>Object(n.foldr)(e,(e,t)=>void 0!==e?t(e):e,t)}},,function(e,t,o){"use strict";var n=o(2),a=o(0),r=o.n(a),i=o(24),l=o.n(i),c=o(6),s=o.n(c),d=o(7),p=o.n(d);class u extends a.Component{constructor(...e){super(...e),Object(n.a)(this,"content",r.a.createRef()),Object(n.a)(this,"updateDOM",()=>{setTimeout(()=>{if(this.unmounted)return;const e=this.content.current;e&&this.props.onUpdateDOM(this.math,e)},0)})}componentDidMount(){this.updateDOM()}componentDidUpdate(){this.updateDOM()}componentWillUnmount(){this.unmounted=!0}math(e,t,o,n,a){const r=Math.max(o,e),i=r-e,l=e/r*a,c=a-l;return{client:e,offset:t,position:n,track:a,overflow:i,thumb:l,piece:c,shift:0===i?0:n/i*c,scroll:r}}render(){return r.a.createElement("div",{ref:this.content,className:this.props.className,style:this.props.style,onScroll:this.updateDOM},this.props.children)}}u.defaultProps={onUpdateDOM:p.a.noop};var b=o(29),h=o.n(b);class m extends a.Component{constructor(e){super(e),this.state={startTop:!1,startLeft:!1},this.handleMouseDown=this.handleMouseDown.bind(this),this.handleMouseMove=this.handleMouseMove.bind(this),this.handleMouseUp=this.handleMouseUp.bind(this)}componentDidMount(){const e=l.a.findDOMNode(this);this.document=h()(e.style?e.ownerDocument:e.document||e),this.window=h()(this.document[0].defaultView||this.document[0].parentWindow)}handleMouseDown(e,t,o){if(h()(o.target).hasClass("brz-ed-sidebar-block-remove"))return e(o),void t(o);e(o),this.window.on("mousemove",this.handleMouseMove),this.window.on("mouseup",this.handleMouseUp),this.setState({startLeft:o.clientX,startTop:o.clientY}),this.props.onDragStart(this),t(o)}handleMouseMove(e){var t={top:e.clientY-this.state.startTop,left:e.clientX-this.state.startLeft};this.props.onDragMove(t,this),e.preventDefault()}handleMouseUp(){this.window.off("mousemove",this.handleMouseMove),this.window.off("mouseup",this.handleMouseUp),this.props.onDragEnd(this)}render(){const e=r.a.Children.only(this.props.children);return r.a.cloneElement(e,{onMouseDown:t=>{this.handleMouseDown(e.props.onMouseDown||p.a.noop,this.props.onMouseDown||p.a.noop,t)}})}}m.defaultProps={currentWindow:{},onDragEnd:p.a.noop,onDragStart:p.a.noop,onDragMove:p.a.noop},o.d(t,"a",(function(){return g}));class g extends a.Component{constructor(e){super(e),Object(n.a)(this,"captureStart",()=>{this._start=!1}),Object(n.a)(this,"handleChange",({left:e=null,top:t=null})=>{const o=l.a.findDOMNode(this.scrollable);this.props.onChange({left:e||o.scrollLeft,top:t||o.scrollTop})}),Object(n.a)(this,"handleMouseDown",e=>{const t=l.a.findDOMNode(this.wideTrack),o=t.getBoundingClientRect(),n=(e.clientX-o.left-this._wide.thumb/2)/this._wide.piece*this._wide.overflow;e.target===t&&(l.a.findDOMNode(this.scrollable).scrollLeft=n)}),Object(n.a)(this,"handleMouseDown2",e=>{const t=l.a.findDOMNode(this.tallTrack),o=t.getBoundingClientRect(),n=(e.clientY-o.top-this._tall.thumb/2)/this._tall.piece*this._tall.overflow;e.target===t&&(l.a.findDOMNode(this.scrollable).scrollTop=n,this.handleChange({top:n}))}),Object(n.a)(this,"handleMove",e=>{!1===this._start&&(this._start=parseInt(this.wideThumb.style.left));const t=(e.left+this._start)/this._wide.piece*this._wide.overflow;l.a.findDOMNode(this.scrollable).scrollLeft=t,this.handleChange({left:t})}),Object(n.a)(this,"handleMove2",e=>{!1===this._start&&(this._start=parseInt(this.tallThumb.style.top));const t=(e.top+this._start)/this._tall.piece*this._tall.overflow;l.a.findDOMNode(this.scrollable).scrollTop=t,this.handleChange({top:Math.min(this._tall.overflow,Math.max(0,t))})}),Object(n.a)(this,"handleResize",()=>{this.forceUpdate()}),Object(n.a)(this,"handleUpdateDOM",(e,t)=>{let o,n,a=l.a.findDOMNode(this.wideTrack),r=this.wideThumb,i=l.a.findDOMNode(this.tallTrack),c=this.tallThumb,s={overflow:Math.max(0,t.scrollWidth-t.clientWidth)},d={overflow:Math.max(t.scrollHeight-t.clientHeight)};a.style.position="absolute",i.style.position="absolute",r.style.position="relative",c.style.position="relative",a.style.display="block",o=a.offsetHeight,i.style.display="block",n=i.offsetWidth,t.style.overflow="hidden",t.style.borderBottomWidth=o+"px",t.style.borderBottomStyle=s.overflow?"solid":"none",t.style.borderRightWidth=n+"px",t.style.borderRightStyle=d.overflow?"solid":"none",s.overflow=Math.max(0,t.scrollWidth-t.clientWidth),d.overflow=Math.max(0,t.scrollHeight-t.clientHeight),a.style.display=s.overflow?"block":"none",a.style.width=t.clientWidth+"px",a.style.left=0,a.style.top=t.offsetHeight-o+"px",i.style.display=d.overflow?"block":"none",i.style.height=t.clientHeight+"px",i.style.top=0,this._wide=s=e(t.clientWidth,t.offsetWidth,t.scrollWidth,t.scrollLeft,a.clientWidth),this._tall=d=e(t.clientHeight,t.offsetHeight,t.scrollHeight,t.scrollTop,i.clientHeight),r.style.left=s.shift+"px",r.style.width=s.thumb+"px",c.style.top=d.shift+"px",c.style.height=d.thumb+"px"}),Object(n.a)(this,"handleWheel",e=>{e.stopPropagation();let t=l.a.findDOMNode(this.scrollable);const o=t.scrollTop,n=t.scrollLeft,a=navigator.userAgent.toLowerCase();let r=1;/firefox/.test(a)&&(r=20),/chrome/.test(a)&&(r=.8),this.props.onlyWide?t.scrollLeft=n+(e.deltaX?e.deltaX:e.deltaY*r):(e.preventDefault(),t.scrollTop=o+e.deltaY*r,t.scrollLeft=n+e.deltaX),(t.scrollTop!=o||t.scrollLeft!=n||this.props.onlyWide)&&e.preventDefault(),this.handleChange({left:t.scrollLeft,top:t.scrollTop})}),this.handleRef=r.a.createRef(),this._start=0,this._wide={},this._tall={}}componentDidMount(){this.handleRef.current.addEventListener("wheel",this.handleWheel,{passive:!1}),window.addEventListener("resize",this.handleResize,{passive:!0})}componentWillUnmount(){window.removeEventListener("resize",this.handleResize),this.handleRef.current.removeEventListener("wheel",this.handleWheel)}handleSetPositionWide(e){this.handleMove({top:0,left:e})}render(){const e=s()("brz-ed-scroll-pane",this.props.className);return r.a.createElement("div",{ref:this.handleRef,className:e,style:{position:"relative",width:this.props.style.width,height:this.props.style.height}},r.a.createElement(u,{ref:e=>{this.scrollable=e},className:"brz-ed-scroll-inner",style:this.props.style,onUpdateDOM:this.handleUpdateDOM},this.props.children),r.a.createElement(m,{ref:e=>{this.wideTrack=e},onDragStart:this.captureStart,onDragMove:this.handleMove},r.a.createElement("div",{className:"brz-ed-wide-track",onMouseDown:this.handleMouseDown},r.a.createElement("div",{ref:e=>{this.wideThumb=e},className:"brz-ed-wide-thumb"}))),r.a.createElement(m,{ref:e=>{this.tallTrack=e},onDragStart:this.captureStart,onDragMove:this.handleMove2},r.a.createElement("div",{className:"brz-ed-tall-track",onMouseDown:this.handleMouseDown2},r.a.createElement("div",{ref:e=>{this.tallThumb=e},className:"brz-ed-tall-thumb"}))))}}Object(n.a)(g,"defaultProps",{className:"",style:{},window:null,onlyWide:!1,wrapScrollable:e=>e,onChange:()=>{}})},function(e,t,o){"use strict";var n=o(7),a=o.n(n),r=o(173);function i(e,t){if("string"!=typeof e||"function"!=typeof t)throw new Error("incorrect argument types for UIState.addChangeListener")}let l={};const c=a.a.extend({},r.EventEmitter.prototype,{emitChange:function(e,t){this.emit(e,t)},addChangeListener:function(e,t){i(e,t),this.on(e,t)},removeChangeListener:function(e,t){i(e,t),this.removeListener(e,t)},get:function(e){return l[e]},set:function(e,t){l[e]=t,this.emitChange(e,t)}});c.setMaxListeners(1/0),t.a=c},function(e,t,o){"use strict";var n=o(2),a=o(0),r=o.n(a),i=o(7),l=o.n(i),c=o(6),s=o.n(c),d=o(172),p=o(679),u=o(73),b=o(63),h=o(24),m=o.n(h),g=o(678),v=o(149);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const O=48,C=14,S=12;class x extends r.a.Component{constructor(e){super(e);const{placement:t,arrowPlacement:o}=e;this.state={placement:t,arrowPlacement:o},this.isRepositioning=!1,this.contentRef=r.a.createRef()}componentDidMount(){const{isOpen:e,toolbar:t}=this.props;e&&t&&this.repositionByToolbar(t)}componentDidUpdate(){if(this.isRepositioning)return;const{toolbar:e}=this.props;e&&this.repositionByToolbar(e)}repositionByToolbar(e){let{placement:t,arrowPlacementStyle:o}=this.props;const n=m.a.findDOMNode(e),{top:a,right:r,left:i,width:l,height:c}=n.getBoundingClientRect(),{toolbarItemIndex:s,toolbarItemsLength:d,toolbarCSSPosition:p}=e,{width:u,height:b}=this.contentRef.current.getBoundingClientRect(),h="fixed"===p?0:window.scrollY,g=(l-S)/d,y=g*s-g/2+S/2,f=Math.round(10*(y-u/2))/10,x=h+a-C-b,j=i+f,B=O,P=document.documentElement.clientWidth-u;let w={top:x,left:j,position:p};if(("below"===Object(v.a)()||x<=h)&&(w.top=h+a+c+C,t="bottom-".concat(t.split("-")[1])),j>=P){const e=g*(d-s+1)-g/2+S/2;t="".concat(t.split("-")[0],"-right"),w.left=r-u,o={left:u-e}}j<=B&&(t="".concat(t.split("-")[0],"-left"),w.left=i,o={left:y}),this.isRepositioning=!0,this.setState({placement:t,placementStyle:w,arrowPlacement:t,arrowPlacementStyle:o},()=>this.isRepositioning=!1)}renderInToolbar(){const{className:e,isOpen:t,size:o,arrow:n,children:a}=this.props,{placement:i,placementStyle:l,arrowPlacement:c,arrowPlacementStyle:d}=this.state,p=s()("brz-ed-animated brz-ed-animated--fadeInUp","brz-ed-tooltip__overlay brz-ed-tooltip--".concat(i),{["brz-ed-tooltip--".concat(o)]:o},{"brz-invisible":!t},e),u=s()("brz-ed-arrow","brz-ed-arrow--".concat(c));return r.a.createElement("div",{ref:this.contentRef,className:p,style:l},n&&r.a.createElement("div",{className:u,style:d}),a)}renderSimple(){const{className:e,size:t,arrow:o,node:n,placement:a,offset:i,children:l}=this.props,c=s()("brz-ed-animated brz-ed-animated--fadeInUp","brz-ed-tooltip__overlay",{["brz-ed-tooltip--".concat(t)]:t},e);return r.a.createElement(g.a,{referenceElement:n,placement:a,eventsEnabled:!1,modifiers:{offset:{offset:"0, ".concat(i,"px")},computeStyle:{gpuAcceleration:!1}}},({ref:e,style:t,arrowProps:n,placement:a})=>r.a.createElement("div",{ref:e,className:c,style:t},o&&r.a.createElement("div",{className:"brz-ed-arrow brz-ed-arrow--".concat(a),ref:n.ref,style:f({},n.style,{margin:"0"})}),l))}render(){return this.props.toolbar?this.renderInToolbar():this.renderSimple()}}Object(n.a)(x,"defaultProps",{className:"",isOpen:!1,placement:"top-center",placementStyle:{},arrow:!0,arrowPlacement:"top-center",arrowPlacementStyle:{},size:"",offset:15,toolbar:null,inPortal:!1,node:null}),o.d(t,"b",(function(){return B})),o.d(t,"a",(function(){return P}));let j=[],B=()=>j[j.length-1];class P extends r.a.Component{constructor(...e){super(...e),Object(n.a)(this,"state",{isOpen:!1,isHidden:!1}),Object(n.a)(this,"contentRef",r.a.createRef()),Object(n.a)(this,"handleClickOutside",()=>{const{isOpen:e}=this.state;e&&this.close()}),Object(n.a)(this,"handleContentClick",()=>{const{isOpen:e,isHidden:t}=this.state;e?t?this.show():this.close():this.open()}),Object(n.a)(this,"handleMouseEnter",()=>{this.setState({needClose:!1}),this.open()}),Object(n.a)(this,"handleMouseLeave",()=>{this.setState({needClose:!0}),this.timeout=setTimeout(()=>{this.state.needClose&&this.close()},this.props.closeDelay)})}componentWillUnmount(){const e=j.indexOf(this);-1!==e&&j.splice(e),clearTimeout(this.timeout)}open(){const{isOpen:e}=this.state;e||this.setState({isOpen:!0},()=>{j.push(this),this.props.onOpen()})}close(){const{isOpen:e}=this.state;e&&this.setState({isOpen:!1},()=>{j.pop(),this.props.onClose()})}show(){const{isHidden:e}=this.state;e&&this.setState({isHidden:!1})}hide(){const{isHidden:e}=this.state;e||this.setState({isHidden:!0})}reposition(){this.forceUpdate()}renderOverlay(){const{isOpen:e,isHidden:t}=this.state;if(!e)return null;const{overlayClassName:o,nodeRef:n,overlay:a,arrow:i,placement:l,size:c,offset:d,toolbar:p,inPortal:b,portalNode:h}=this.props,m=n&&n.current||this.contentRef.current,g=h||m.ownerDocument.body,v=r.a.createElement(x,{className:o,node:m,arrow:i,placement:l,size:c,offset:d,isOpen:e,toolbar:p,inPortal:b},a);return b||p?r.a.createElement(u.a,{node:g,className:s()("brz-reset-all","brz-ed-tooltip__content-portal",{"brz-invisible":t})},v):v}renderInToolbar(){const{title:e,children:t,openOnClick:o}=this.props;return r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{title:e,ref:this.contentRef,className:"brz-ed-tooltip__content",onClick:o?this.handleContentClick:l.a.noop},t),this.renderOverlay())}renderSimple(){const{title:e,children:t,openOnClick:o}=this.props;return r.a.createElement(d.c,null,r.a.createElement(p.a,null,()=>r.a.createElement("div",{title:e,ref:this.contentRef,className:"brz-ed-tooltip__content",onClick:o?this.handleContentClick:l.a.noop},t)),this.renderOverlay())}render(){const{toolbar:e,openOnClick:t,className:o,clickOutsideExceptions:n}=this.props,a=s()("brz-ed-tooltip",{"brz-ed-tooltip__static":!e},{"brz-ed-tooltip--opened":this.state.isOpen},o),i=[...n,".brz-ed-tooltip__content-portal"];return r.a.createElement(b.a,{onClickOutside:this.handleClickOutside,exceptions:i},r.a.createElement("div",{className:a,onMouseEnter:t?l.a.noop:this.handleMouseEnter,onMouseLeave:t?l.a.noop:this.handleMouseLeave},e?this.renderInToolbar():this.renderSimple()))}}Object(n.a)(P,"defaultProps",{className:"",overlayClassName:"",arrow:!0,placement:"top-center",openOnClick:!0,closeDelay:0,overlay:"",size:"",title:"",offset:15,toolbar:null,inPortal:!1,portalNode:null,clickOutsideExceptions:[],nodeRef:null,onOpen:()=>{},onClose:()=>{}})},,,function(e,t,o){"use strict";o.d(t,"b",(function(){return p}));var n=o(2),a=o(0),r=o.n(a),i=o(38),l=o(20),c=o(16),s=o(119),d=o(109);const p=e=>e.filter(e=>{const{type:t,disabled:o,devices:n,roles:a}=e;if(!t)return!1;if(!0===o)return!1;if(n&&"all"!==n){const e=Object(c.c)(Object(l.b)().getState());if("desktop"===n&&"desktop"!==e)return!1;if("responsive"===n&&"desktop"===e)return!1}if(Array.isArray(a)&&!a.includes(Object(i.b)()))return!1;const r=s.a[t];return!r||"function"!=typeof r.shouldOptionBeFiltered||!s.a[t].shouldOptionBeFiltered(e)});class u extends r.a.Component{render(){const{data:e,className:t,optionClassName:o,toolbar:n,location:a}=this.props,i=p(e).map((e,t)=>r.a.createElement(d.a,{key:e.id||t,className:o,toolbar:n,data:e,location:a}));return r.a.createElement("div",{className:t},i)}}Object(n.a)(u,"defaultProps",{className:"",optionClassName:"",location:"",data:null,toolbar:null}),t.a=u},,,function(e,t,o){"use strict";var n=o(45);o.d(t,"c",(function(){return a})),o.d(t,"b",(function(){return i})),o.d(t,"a",(function(){return l}));const a=e=>{switch(typeof e){case"string":return e;case"number":return e.toString();default:return}};r=a;var r;const i="",l={read:a,empty:i,append:(e,t)=>e+t,concat:e=>e.join(""),eq:function(e,t){return e===t}}},function(e,t,o){"use strict";var n=o(86);let a,r={},i={};const l={registerComponent(e){r[e.componentId]=e},getComponents:()=>r,getComponent:e=>r[e]||null,registerNotFoundComponent(e){a=e},getNotFoundComponent(){if(!a)throw new Error("NotFoundComponent not registered");return a},registerShortcode(e){i=e},getShortcodes:()=>Object(n.b)("getShortcodes",i)};t.a=l},,,,,,function(e,t,o){"use strict";var n=o(2),a=o(0),r=o.n(a),i=o(7),l=o.n(i),c=o(1),s=o(6),d=o.n(s);const p={ENTER:13,B:66,I:73,U:85,V:86,Y:89,Z:90};class u extends a.Component{constructor(...e){super(...e),Object(n.a)(this,"content",r.a.createRef()),Object(n.a)(this,"handleClick",e=>{e.preventDefault();const t=this.content.current;t&&t.classList.add("brz-ed-dd-cancel")}),Object(n.a)(this,"handleKeyDown",e=>{const t=e.which,o=e.metaKey||e.ctrlKey;t!==p.ENTER?o&&t===p.V?e.preventDefault():(!o||t!==p.B&&t!==p.I&&t!==p.U)&&(!o||t!==p.Z&&t!==p.Y)||e.preventDefault():e.preventDefault()}),Object(n.a)(this,"handleInput",e=>{this.notifyChange(e.target.textContent)}),Object(n.a)(this,"handleBlur",()=>{const e=this.content.current;e&&e.classList.remove("brz-ed-dd-cancel")}),Object(n.a)(this,"notifyChange",l.a.debounce(e=>{this.mounted&&this.props.onChange(e)},1e3))}componentDidMount(){this.mounted=!0}componentWillReceiveProps(e){const t=this.content.current;t&&e.value!==t.textContent&&(t.textContent=e.value)}shouldComponentUpdate(){return!1}componentWillUnmount(){this.mounted=!1}render(){const e=d()("brz-span brz-text__editor",this.props.className);return r.a.createElement("span",{ref:this.content,className:e,contentEditable:!0,onClick:this.handleClick,onKeyDown:this.handleKeyDown,onInput:this.handleInput,onBlur:this.handleBlur,dangerouslySetInnerHTML:{__html:this.props.value}})}}Object(n.a)(u,"defaultProps",{className:"",value:Object(c.a)("Editable Text")}),t.a=u},function(e,t,o){"use strict";o.d(t,"a",(function(){return p}));var n=o(2),a=o(0),r=o.n(a),i=o(24),l=o.n(i),c=o(29),s=o.n(c);let d=[];class p extends r.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleAll",e=>{d.forEach(t=>{const{exceptions:o,onClickOutside:n}=t.props;let a=0;if(o.length>0){const{functionExceptions:t,stringExceptions:n}=o.reduce((e,t)=>{switch(typeof t){case"function":e.functionExceptions.push(t);break;case"string":e.stringExceptions.push(t)}return e},{functionExceptions:[],stringExceptions:[]});t.length>0&&(a+=t.filter(t=>!0===t(e.target)).length),0===a&&n.length>0&&(a+=s()(e.target).closest(n.join(",")).length)}if(0===a){const o=l.a.findDOMNode(t);o&&!o.contains(e.target)&&n(e)}})})}componentDidMount(){0===d.length&&(document.addEventListener("mousedown",this.handleAll,!0),window.parent.document.addEventListener("mousedown",this.handleAll,!0)),d.push(this)}componentWillUnmount(){d.splice(d.indexOf(this),1),0===d.length&&(document.removeEventListener("mousedown",this.handleAll,!0),window.parent.document.removeEventListener("mousedown",this.handleAll,!0))}render(){return r.a.Children.only(this.props.children)}}Object(n.a)(p,"defaultProps",{exceptions:[]})},function(e,t,o){"use strict";o.d(t,"a",(function(){return n})),o.d(t,"h",(function(){return a})),o.d(t,"g",(function(){return r})),o.d(t,"i",(function(){return i})),o.d(t,"b",(function(){return l})),o.d(t,"c",(function(){return c})),o.d(t,"f",(function(){return s})),o.d(t,"e",(function(){return d})),o.d(t,"d",(function(){return p}));class n{constructor(e){this.name="CustomError",this.message=e,this.date=new Date}getName(){return this.name}getMessage(){return this.message}}class a extends n{constructor(e){super(e),this.name="Project"}}class r extends n{constructor(e){super(e),this.name="Page"}}class i extends n{constructor(e){super(e),this.name="SavedBlocks"}}class l extends n{constructor(e){super(e),this.name="GlobalBlocks"}}const c=1,s=2,d=3,p=[c,d]},function(e,t,o){"use strict";var n=o(45);const a=(e,t)=>e.reduce((e,o)=>e.concat(t(o)),[]);o.d(t,"a",(function(){return i})),o.d(t,"f",(function(){return l})),o.d(t,"e",(function(){return c})),o.d(t,"d",(function(){return d})),o.d(t,"c",(function(){return p})),o.d(t,"b",(function(){return a}));const r=(e,t)=>[...e,...t],i=e=>e.reduce(r,[]);function l(e){return Array.isArray(e)?e:[]}function c(e,t){return l(t).length>0?t:e}const s=(e,t)=>void 0!==t[e]?e:void 0,d=(e,t)=>Object(n.a)(e=>(e+1)%t.length,s(e,t));function p(e,t){const o=t.indexOf(e);return o<0?void 0:o}},function(e,t,o){"use strict";o.d(t,"i",(function(){return n})),o.d(t,"d",(function(){return a})),o.d(t,"e",(function(){return r})),o.d(t,"g",(function(){return i})),o.d(t,"f",(function(){return l})),o.d(t,"h",(function(){return c})),o.d(t,"b",(function(){return s})),o.d(t,"c",(function(){return d})),o.d(t,"a",(function(){return p})),o.d(t,"l",(function(){return u})),o.d(t,"j",(function(){return b})),o.d(t,"k",(function(){return h}));const n=100,a=200,r=300,i=400,l=500,c=600,s=700,d=800,p=900,u=[n,a,r,i,l,c,s,d,p],b=i,h=(e,t)=>u.includes(e)?e:t},,,,function(e,t,o){"use strict";o.d(t,"a",(function(){return n})),o.d(t,"b",(function(){return a})),o.d(t,"e",(function(){return r})),o.d(t,"f",(function(){return i})),o.d(t,"d",(function(){return l})),o.d(t,"c",(function(){return c}));const n="desktop",a=()=>n,r=()=>[n,"tablet","mobile"],i=e=>(e=>r().includes(e))(e)?e:a(),l=e=>["tablet","mobile"].includes(i(e)),c=e=>(()=>[n])().includes(i(e))},,,function(e,t,o){"use strict";var n=o(2),a=o(0),r=o.n(a),i=o(24),l=o.n(i),c=o(4),s=o.n(c);class d extends r.a.Component{constructor(e){super(e);const{node:t,className:o}=this.props,n=t.ownerDocument;this.el=n.createElement("div"),o&&(this.el.className=o),t.appendChild(this.el)}componentWillReceiveProps(e){e.className!==this.props.className&&(this.el.className=e.className)}componentWillUnmount(){this.props.node.removeChild(this.el)}render(){return l.a.createPortal(this.props.children,this.el)}}Object(n.a)(d,"propTypes",{className:s.a.string,node:s.a.object.isRequired}),t.a=d},function(e,t,o){"use strict";o.d(t,"b",(function(){return n})),o.d(t,"a",(function(){return a}));const n=e=>{if(""===e||"number"!=typeof e&&"string"!=typeof e)return;const t=Number(e);return isNaN(t)?void 0:t},a={read:n}},,,,,function(e,t,o){"use strict";o.d(t,"a",(function(){return i})),o.d(t,"c",(function(){return l})),o.d(t,"b",(function(){return c}));var n=o(45),a=o(55);const r=/^#(?:[A-Fa-f0-9]{3}){1,2}$/;function i(e){return r.test(e)}const l=(e,t)=>i(t)?t:e,c=Object(n.b)(e=>i(e)?e:void 0,a.a.read)},,function(e,t,o){"use strict";var n=o(13),a=o(33);function r(){return Object(a.a)("editor/img/block-placeholder.jpg")}function i(e){if(!e)return r();const t=n.a.get("urls").blockThumbnails;return t?"".concat(t,"/").concat(e.id,".jpg"):Object(a.a)("thumbs/".concat(e.id,".jpg"))}var l=o(2),c=o(20),s=o(89),d=o(16);function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){Object(l.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const b=(e,t={})=>{const o=function(e,t){"GlobalBlock"===e.type&&(e=Object(d.i)(Object(c.b)().getState())[e.value.globalBlockId].data);if(!0===t.searchScreenshotInStoreFirst){const t=Object(d.y)(Object(c.b)().getState());t[e.value._id]&&(e=u({},e,{value:u({},e.value,{},t[e.value._id])}))}const{_thumbnailSrc:o,_thumbnailWidth:n,_thumbnailHeight:a}=e.value;if(o&&n&&a)return{url:h(e),width:n,height:a};return null}(e,t);let i;if(o)i=o;else{const{blocksThumbnailSizes:t}=Object(c.b)().getState(),o=t[e.blockId];if(o){const t=n.a.get("urls").blockThumbnails;i={url:t?"".concat(t,"/").concat(e.blockId,".jpg"):Object(a.a)("thumbs/".concat(e.blockId,".jpg")),width:o[0],height:o[1]}}else i={url:r(),width:500,height:200}}return i};function h(e){const{_thumbnailSrc:t,_thumbnailTime:o}=e.value,a=n.a.get("urls").site,r=n.a.get("wp").page,i=Object(s.a)({brizy_post:r,brizy_block_screenshot:t,t:o||Date.now()});return Object(s.b)(a)?"".concat(a,"&").concat(i):"".concat(a,"?").concat(i)}o.d(t,"a",(function(){return i})),o.d(t,"b",(function(){return b}))},,,,function(e,t,o){"use strict";var n=o(7),a=o.n(n);function r(e,t){let o=!1;for(let a=0;a<t.length;a++){for(let l=0;l<e.length;l++){if(n=e[l],r=t[a],n.type===r.type&&n.id&&r.id&&n.id===r.id){e[l]=i(e[l],t[a]),o=!0;break}o=!1}o||e.push(t[a])}var n,r;return function e(t){if(!t||"function"!=typeof t[Symbol.iterator])return t;for(let o of t){let t="options";o.columns&&(t="columns"),o.tabs&&(t="tabs"),o[t]&&(o[t]=e(o[t]))}return a.a.sortBy(t,"position")}(e)}function i(e,t){for(const o of Object.keys(t))"columns"===o||"options"===o||"tabs"===o?e[o]=r(e[o]||[],t[o]||[]):"disabled"===o&&!0===t[o]&&(e[o]=t[o]);return e}var l=o(41);o.d(t,"a",(function(){return c})),o.d(t,"c",(function(){return s})),o.d(t,"b",(function(){return r}));const c=e=>Object(l.b)(["id","type"],e),s=(e,t)=>c(t)?Object(l.c)(s.bind(null,e),e(t)):Object(l.c)(s.bind(null,e),t)},function(e,t,o){"use strict";o.d(t,"a",(function(){return a})),o.d(t,"b",(function(){return r}));const n={};function a(e,t,o=10){void 0===n[e]&&(n[e]=[]);const a={cb:t,priority:o},r=n[e].findIndex(({priority:e})=>a.priority<e);-1!==r?n[e].splice(r,0,a):n[e].push(a)}function r(e,t,...o){return void 0===n[e]?t:n[e].reduce((e,{cb:t})=>t(e,...o),t)}},,,function(e,t,o){"use strict";var n=o(166);const a=e=>e.includes("?");o.d(t,"a",(function(){return n.a})),o.d(t,"b",(function(){return a}))},function(e,t,o){"use strict";(function(e){var n=o(2),a=o(0),r=o.n(a),i=o(6),l=o.n(i),c=o(7),s=o.n(c);const d=e=>({x:e.clientX,y:e.clientY});class p extends r.a.Component{constructor(...t){super(...t),Object(n.a)(this,"state",{isDragging:!1}),Object(n.a)(this,"isMouseDown",null),Object(n.a)(this,"startPosition",null),Object(n.a)(this,"currentPosition",null),Object(n.a)(this,"lastDelta",null),Object(n.a)(this,"handleClick",e=>{e.stopPropagation()}),Object(n.a)(this,"handleMouseDown",t=>{if(0!==t.button)return;const{draggingCursor:o,onDragStart:n}=this.props,a=document.querySelector(".brz-root__container-after");a.style.pointerEvents="all",o&&(a.style.cursor=o),e.BRZ_IS_DRAGGING=!0,this.isMouseDown=!0,this.currentPosition=this.startPosition=d(t),window.parent.document.body.classList.add("brz-pointer-events-none"),n(),this.initMouseEvents(),this.setState({isDragging:!0},()=>{requestAnimationFrame(this.update)})}),Object(n.a)(this,"handleMouseMove",e=>{this.currentPosition=d(e)}),Object(n.a)(this,"handleMouseUp",()=>{const{draggingCursor:t,onDragEnd:o}=this.props,n=document.querySelector(".brz-root__container-after");n.style.pointerEvents="none",t&&(n.style.cursor="auto"),e.BRZ_IS_DRAGGING=!1,this.isMouseDown=!1,this.startPosition=null,this.lastDelta=null,window.parent.document.body.classList.remove("brz-pointer-events-none"),this.cleanMouseEvents(),o(),this.setState({isDragging:!1})}),Object(n.a)(this,"update",()=>{if(this.isMouseDown){requestAnimationFrame(this.update);const e=this.currentPosition.x-this.startPosition.x,t=this.currentPosition.y-this.startPosition.y,{x:o,y:n}=this.lastDelta||{};e===o&&t===n||(this.lastDelta={x:e,y:t},this.props.onDrag({deltaX:e,deltaY:t}))}}),Object(n.a)(this,"initMouseEvents",()=>{window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("mouseup",this.handleMouseUp)}),Object(n.a)(this,"cleanMouseEvents",()=>{window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("mouseup",this.handleMouseUp)})}componentWillUnmount(){this.cleanMouseEvents()}render(){const{className:e,style:t=null,renderPopover:o}=this.props,{isDragging:n}=this.state,a=l()("brz-ed-draggable","brz-ed-dd-cancel",e);return r.a.createElement("div",{className:a,style:t,onMouseDown:this.handleMouseDown,onClick:this.handleClick},this.props.children,n&&o&&o())}}Object(n.a)(p,"defaultProps",{className:"",style:{},draggingCursor:null,renderPopover:null,onDragStart:s.a.noop,onDrag:s.a.noop,onDragEnd:s.a.noop}),t.a=p}).call(this,o(67))},,function(e,t,o){"use strict";o.d(t,"d",(function(){return r})),o.d(t,"c",(function(){return i})),o.d(t,"a",(function(){return l})),o.d(t,"b",(function(){return c})),o.d(t,"e",(function(){return s})),o.d(t,"f",(function(){return d})),o.d(t,"g",(function(){return p}));var n=o(13);const a=()=>n.a.get("mode")||"page",r="page"===a(),i="internal_popup"===a(),l="external_popup"===a(),c=i||l,s=!!n.a.get("pro"),d=!!n.a.get("wp"),p=e=>"internal_popup"===e||"external_popup"===e},function(e,t,o){"use strict";var n=o(2),a=o(8),r=o(11),i=o(106),l=o(70);const c=e=>(e=>["all","desktop","responsive"].includes(e))(e)?e:"all",s=e=>c((e||{}).devices);function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}o.d(t,"a",(function(){return p})),o.d(t,"f",(function(){return u})),o.d(t,"b",(function(){return b})),o.d(t,"e",(function(){return h})),o.d(t,"d",(function(){return m})),o.d(t,"c",(function(){return g}));const p=(e,t)=>{const o=t.startsWith("temp")?"temp":"",n=o.length?t.substr(4):t,r="value"===n||"Value"===n?"":n;return Object(a.a)([o,e,r])},u=(e,t)=>t&&"object"==typeof t?Object.keys(t).reduce((o,n)=>(o[p(e,n)]=t[n],o),{}):t,b=e=>String(e).endsWith("-dev"),h=(e,t)=>Object(i.b)(e,t)?e:r.d,m=(e,t)=>((e,t)=>{switch(c(t)){case"all":return!0;case"responsive":return Object(l.d)(e);default:return Object(l.c)(e)}})(e,s(t))?e:Object(l.b)(),g=e=>{var t,o,a,r,i,l,c,s,p,u,b;const h=null===(t=e.allowExtend)||void 0===t||t,m=null!==(o=e.allowExtendFromParent)&&void 0!==o?o:h,g=null!==(a=e.allowExtendFromChild)&&void 0!==a?a:h,v=null!==(r=e.allowExtendFromThirdParty)&&void 0!==r?r:h;return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},e,{allowExtend:h,allowExtendFromParent:m,allowExtendFromChild:g,allowExtendFromThirdParty:v,allowSidebarExtend:null!==(i=e.allowSidebarExtend)&&void 0!==i?i:h,allowSidebarExtendFromParent:null!==(l=null!==(c=e.allowSidebarExtendFromParent)&&void 0!==c?c:e.allowSidebarExtend)&&void 0!==l?l:m,allowSidebarExtendFromChild:null!==(s=null!==(p=e.allowSidebarExtendFromChild)&&void 0!==p?p:e.allowSidebarExtend)&&void 0!==s?s:g,allowSidebarExtendFromThirdParty:null!==(u=null!==(b=e.allowSidebarExtendFromThirdParty)&&void 0!==b?b:e.allowSidebarExtend)&&void 0!==u?u:v})}},,,,,,function(e,t,o){"use strict";o.d(t,"a",(function(){return y})),o.d(t,"c",(function(){return f})),o.d(t,"b",(function(){return O}));var n=o(2),a=o(0),r=o.n(a);function i(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function l(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?i(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}let c=new Array(10).fill(null),s=0,d=0,p=!1,u=!1;const b=(e,t)=>t.reduce((t,o)=>("object"==typeof o&&(o=o.key),t[o]=e[o],t),{}),h=()=>{p=s>0,u=Boolean(c[s+1]&&null!==c[s+1])},m=()=>(s--,h(),c[s]),g=()=>(s++,h(),c[s]),v=(e,{keysToTrack:t},o)=>{if(0===s&&null===c[s])return c[s]=b(e,t),h(),void(d=Date.now());if(t.some(t=>{if("string"==typeof t)return e[t]!==c[s][t];{const{key:o,equals:n}=t;return n?!n(e[o],c[s][o]):e[o]!==c[s][o]}})){const n=b(e,t),a=Date.now();if(o.replacePresent)c[s]=n;else{if(c[s+1]&&null!==c[s+1]){c[++s]=n;for(let e=s+1;e<=c.length-1;e++)c[e]=null}else{if(a-d>2e3){if(s===c.length-1){for(let e=0;e<=c.length-2;e++)c[e]=c[e+1];c[c.length-1]=n}else c[++s]=n}else c[s]=n}h(),d=a}}},y={UNDO:"UNDO",REDO:"REDO"};function f(e,t){return function(o,n){switch(n.type){case y.UNDO:return l({},o,{},m(),{historyTravelling:!0});case y.REDO:return l({},o,{},g(),{historyTravelling:!0});default:{o&&delete o.historyTravelling;const a=e(o,n);return"@@redux/INIT"!==n.type&&v(a,t,{replacePresent:n.meta&&n.meta.historyReplacePresent}),a}}}}class O extends r.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleKeyDown",e=>{const t=e.metaKey||e.ctrlKey;90===e.keyCode&&(t||t&&e.shiftKey)&&(e.preventDefault(),e.shiftKey?this.triggerRedo():this.triggerUndo())}),Object(n.a)(this,"triggerUndo",()=>{p&&this.props.dispatch({type:y.UNDO,currentSnapshot:c[s],nextSnapshot:c[s-1]})}),Object(n.a)(this,"triggerRedo",()=>{u&&this.props.dispatch({type:y.REDO,currentSnapshot:c[s],nextSnapshot:c[s+1]})})}componentDidMount(){window.document.addEventListener("keydown",this.handleKeyDown),window.parent.document.addEventListener("keydown",this.handleKeyDown)}componentWillUnmount(){window.document.removeEventListener("keydown",this.handleKeyDown),window.parent.document.removeEventListener("keydown",this.handleKeyDown)}render(){return this.props.render({canUndo:p,triggerUndo:this.triggerUndo,canRedo:u,triggerRedo:this.triggerRedo})}}Object(n.a)(O,"defaultProps",{dispatch:null,render:null})},function(e,t,o){"use strict";var n=o(13),a=o(33);function r(e){const t=n.a.get("urls").editorIcons;return t?"".concat(t,"/icons.svg#").concat(e):Object(a.a)("editor/icons/icons.svg#".concat(e))}function i(e,t){const o=n.a.get("urls").templateIcons;return o?"".concat(o,"/").concat(e,"/").concat(t,".txt"):Object(a.a)("editor/icons/".concat(e,"/").concat(t,".txt"))}var l=o(377);const c=e=>({1:'<svg viewBox="0 0 1920 200" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 .023L0 200V0h1920z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),2:'<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="'.concat(e,'" fill-rule="nonzero"><path d="M0 200V0h1920z"/><path opacity=".251" d="M0 240V0h1920L137.195 222.85z"/></g></svg>'),3:'<svg viewBox="0 0 1920 200" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 200L1374.256 11.518 0 200V0h1920z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),4:'<svg viewBox="0 0 1920 250" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="'.concat(e,'" fill-rule="nonzero"><path opacity=".25" d="M1920 240L1374.256 11.518 0 250V0h1920z"/><path d="M1920 200L1374.256 11.518 0 200V0h1920z"/></g></svg>'),5:'<svg viewBox="0 0 1920 69" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 32.332L1872.003 69l-47.999-36.668L1776.008 69l-47.997-36.668-48 36.668-47.998-36.668L1584.016 69l-47.997-36.668L1488.02 69l-47.999-36.668L1392.022 69l-48-36.668-48 36.668-48-36.668L1200.025 69l-47.999-36.668-48 36.668-48-36.668-48 36.668-48-36.668L912.027 69l-48-36.668L816.032 69l-47.997-36.668L720.033 69l-47.998-36.668-48 36.668-47.998-36.668L528.04 69l-48-36.668L432.036 69l-48.004-36.668-48 36.668-48.005-36.668-48 36.668-48.003-36.668L144.02 69 96.018 32.332 48.01 69 0 32.332V0h1920z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),6:'<svg viewBox="0 0 1919 100" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1865.687 100c-26.657 0-26.657-33.314-53.315-33.314-26.654 0-26.654 33.314-53.308 33.314s-26.654-33.314-53.31-33.314c-26.653 0-26.653 33.314-53.306 33.314s-26.653-33.314-53.306-33.314c-26.655 0-26.655 33.314-53.31 33.314-26.652 0-26.652-33.314-53.305-33.314-26.654 0-26.654 33.314-53.31 33.314-26.653 0-26.653-33.314-53.307-33.314-26.652 0-26.652 33.314-53.305 33.314-26.652 0-26.652-33.314-53.304-33.314-26.651 0-26.651 33.314-53.303 33.314-26.653 0-26.653-33.314-53.305-33.314-26.65 0-26.65 33.314-53.301 33.314-26.653 0-26.653-33.314-53.307-33.314-26.65 0-26.65 33.314-53.301 33.314-26.654 0-26.654-33.314-53.306-33.314-26.652 0-26.653 33.314-53.305 33.314s-26.653-33.314-53.305-33.314S826.216 100 799.564 100c-26.654 0-26.654-33.314-53.306-33.314-26.652 0-26.652 33.314-53.304 33.314-26.653 0-26.653-33.314-53.306-33.314-26.652 0-26.652 33.314-53.304 33.314-26.653 0-26.653-33.314-53.304-33.314-26.65 0-26.652 33.314-53.304 33.314s-26.652-33.314-53.305-33.314S399.778 100 373.126 100c-26.653 0-26.653-33.314-53.306-33.314-26.652 0-26.652 33.314-53.304 33.314s-26.652-33.314-53.304-33.314c-26.651 0-26.651 33.314-53.302 33.314s-26.651-33.314-53.303-33.314c-26.65 0-26.65 33.314-53.302 33.314C26.652 100 26.652 66.686 0 66.686V0h1919.003L1919 66.686c-26.657 0-26.657 33.314-53.314 33.314z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),7:'<svg viewBox="0 0 1920 200" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0 111.22c39.924 57.863 43.635-81.12 86.057-49.377 22.96 17.18 28.423 139.795 63.67 131.577 29.69-6.92 46.923-44.683 62.128-71.756 31.87-50.039 80.334 24.686 134.72 4.477 43.687-16.232 35.42-36.266 70.842-.398 38.085 38.563 65.343-59.381 92.63-51.265 52.535 15.626 66.523 175.912 107.386 83.442 21.395-48.414 68.874-121.81 103.424-45.875 45.148 99.23 54.337 15.01 73.935-36.992 27.286-72.402 47.559 50.828 90.996 61.402 25.52 6.212 43.74-24.442 56.396-47.275 50.19-67.647 72.223 38.517 105.804 42.913 33.582 4.395 43.952-40.933 78.17-31.257 38.657 10.932 44.729 99.625 75.705 98.585 32.066-1.077 10.475-113.292 58.263-131.984 37.054-14.492 44.996 46.504 87.28 45.715 42.285-.789 53.14-137.725 95.082-44.886 9.373 20.75 16.322 103.621 43.433 109.406 35.063 7.48 43.86-81.364 90.923-81.714 68.327 5.077 61.933 82.101 96.71 70.335 29.87-10.106 49.187-131.546 72.779-122.802 26.43 9.797 29.214 119.883 77.916 70.624 23.122-23.385 34.37-82.184 69.35-36.356 21.163 27.726 4.003 7.799 26.401 35.202V0H0v111.22z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),8:'<svg viewBox="0 0 1920 200" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="'.concat(e,'" fill-rule="nonzero"><path d="M0 111.22c39.924 57.863 43.635-81.12 86.057-49.377 22.96 17.18 28.423 139.795 63.67 131.577 29.69-6.92 46.923-44.683 62.128-71.756 31.87-50.039 80.334 24.686 134.72 4.477 43.687-16.232 35.42-36.266 70.842-.398 38.085 38.563 65.343-59.381 92.63-51.265 52.535 15.626 66.523 175.912 107.386 83.442 21.395-48.414 68.874-121.81 103.424-45.875 45.148 99.23 54.337 15.01 73.935-36.992 27.286-72.402 47.559 50.828 90.996 61.402 25.52 6.212 43.74-24.442 56.396-47.275 50.19-67.647 72.223 38.517 105.804 42.913 33.582 4.395 43.952-40.933 78.17-31.257 38.657 10.932 44.729 99.625 75.705 98.585 32.066-1.077 10.475-113.292 58.263-131.984 37.054-14.492 44.996 46.504 87.28 45.715 42.285-.789 53.14-137.725 95.082-44.886 9.373 20.75 16.322 103.621 43.433 109.406 35.063 7.48 43.86-81.364 90.923-81.714 68.327 5.077 61.933 82.101 96.71 70.335 29.87-10.106 49.187-131.546 72.779-122.802 26.43 9.797 29.214 119.883 77.916 70.624 23.122-23.385 34.37-82.184 69.35-36.356 21.163 27.726 4.003 7.799 26.401 35.202V0H0v111.22z"/><path d="M1920 111.22c-39.924 57.863-113.614-125.271-101.202-93.282C1832 51.96 1784.872 112.96 1758 112.96s-60.795-67.95-76-95.023c-31.87-50.04-69.614 138.725-124 118.517-43.688-16.233-19.995-46.58-55.417-10.712-38.085 38.563-65.343-59.381-92.63-51.265-52.535 15.626-70.09 139.656-110.953 47.186-21.395-48.414-65.307-56.142-99.857 19.793-16.433 36.118-28.102 47.932-37.243 45.841-15.973-3.652-24.227-49.759-36.692-82.834-27.286-72.4-47.559 21.417-90.996 31.99-25.52 6.213-43.74-24.44-56.396-47.274-50.19-67.647-75.234 42.88-108.816 47.275-33.582 4.395-40.94-45.295-75.159-35.619-38.656 10.932-35.865 78.636-66.841 77.595-32.066-1.077-19.338-92.302-67.126-110.994C622.82 52.945 610.284 172.357 568 171.57c-42.285-.79-33-144.118-70-104.132-19.133 20.677-28.889 84.699-56 90.483-35.063 7.48-59.936-56.734-107-57.084-68.327 5.078-56.327 40.621-95 40.621s-48.408-37.24-72-28.496c-26.431 9.796-25.751 94.007-62 36.554-14.795-23.45-44.62-117.584-79.6-71.756C5.239 105.485 22.399 85.558 0 112.96V0h1920v111.22z" opacity=".25"/></g></svg>'),9:'<svg viewBox="0 0 1920 200" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="'.concat(e,'" fill-rule="nonzero"><path d="M1000.521.023L0 200V0h1000.521z"/><path d="M919.479.023L1920 200V0H919.479z"/></g></svg>'),10:'<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="'.concat(e,'" fill-rule="nonzero"><path opacity=".25" d="M1920 0v240L959.944 9.734 0 240V0z"/><path d="M1920 0v198.347L959.944 8.044 0 198.347V0z"/></g></svg>'),11:'<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 5.206c-320 1.996-640 21.432-960 58.308C640 100.39 320 159.22 0 240V0h1920v5.206z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),12:'<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="'.concat(e,'" fill-rule="nonzero"><path d="M0 240V0h1920v4.538c-312.667-.827-632.667 14.938-960 47.295C632.667 84.191 312.667 146.913 0 240z" opacity=".15"/><path d="M0 210.704V0h1920v4.507c-332 1.2-652 16.735-960 46.605C652 80.982 332 134.18 0 210.704z" opacity=".3"/><path d="M0 4.507V0h1920v4.507c-320 1.494-640 16.045-960 43.651C640 75.765 320 119.806 0 180.282V4.507z"/></g></svg>'),13:'<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 5.206V240c-160-80.78-320-139.61-480-176.486-160-36.876-320-56.312-480-58.308-160 1.996-320 21.432-480 58.308C320 100.39 160 159.22 0 240V0h1920v5.206z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),14:'<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="'.concat(e,'" fill-rule="nonzero"><path d="M0 240V0l960 .03V4C754 7.849 600 23.182 498 50 354.334 87.773 188.334 151.106 0 240z" opacity=".15"/><path d="M0 211V0h960v5C794 1.667 634 17.187 480 51.56 326 85.935 166 139.08 0 211z" opacity=".3"/><path d="M0 4.5V0h960v5C800 6.158 640 20.52 480 48.083 320 75.647 160 119.62 0 180V4.5z"/><g><path d="M1920 240V0L960 .03V4c206 3.849 360 19.182 462 46 143.666 37.773 309.666 101.106 498 190z" opacity=".15"/><path d="M1920 211V0H960v5c166-3.333 326 12.187 480 46.56 154 34.374 314 87.52 480 159.44z" opacity=".3"/><path d="M1920 4.5V0H960v5c160 1.158 320 15.52 480 43.083C1600 75.647 1760 119.62 1920 180V4.5z"/></g></g></svg>'),15:'<svg viewBox="0 0 1920 200" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0 0h1920v200l-160-15.833L1438 70 707 184.167 211 90 0 200z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),16:'<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="'.concat(e,'" fill-rule="nonzero"><path d="M0 0h1920v198.347L1760 182 1438 70 707 183 211 89 0 198.347z"/><path opacity=".2" d="M0 0h1920v228.1L1721 240 1438 70l-283 122.397-347.347-25.04L707 183l-81.92-15.517L383 192.397 211 89 0 228.1z"/><path opacity=".25" d="M1920 0H0v228.1l193 9.917L390 123l317 60 67-11.43 477-23.801 271 44.628L1616 132l144 50 110 12 50 34.1z"/></g></svg>'),17:'<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 0H0v144.419L640 240l640-189.197 640 93.616z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),18:'<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="'.concat(e,'" fill-rule="nonzero"><path opacity=".25" d="M0 0h1920v144.419L1277 221l-286-85-351 104L0 144.419z"/><path opacity=".2" d="M1920 0H0v144.419L640 240l167.811-49.89L1038 240l393-167 489 71.419z"/><path d="M1920 0H0v144.419L640 240l640-189.197 640 93.616z"/></g></svg>'),19:'<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0 172.043C160 217.348 320 240 480 240c240 0 720-138.495 960-136.774 160 1.147 320 24.086 480 68.817V0H0v172.043z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),20:'<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="'.concat(e,'" fill-rule="nonzero"><path d="M1920 129.751C1760 191.917 1600 223 1440 223c-152.892 0-399.532-31.384-620.475-53.784C687 191 557.108 205.465 470 206c-162-2-318.667-21.333-470-58V0h1920v129.751z" opacity=".203"/><path d="M230 190c160 33.333 320 50 480 50 240 0 776-105 923-115 98-6.667 193.667 1 287 23V0H0v148c45.073 10.416 81.073 18.083 108 23 26.927 4.917 67.594 11.25 122 19z" opacity=".3"/><path d="M0 148c160 38.476 320 57.714 480 57.714 240 0 720-118.71 960-117.235 160 .983 320 20.824 480 59.521V0H0v148z"/></g></svg>'),21:'<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g stroke="none" fill="none" fill-rule="evenodd"><g transform="translate(0.000000, -8261.000000)" fill="'.concat(e,'" fill-rule="nonzero"><g id="21" transform="translate(0.000000, 8261.000000)"><path d="M0,168.988943 C80.5473907,217.603736 160.512186,220.954929 239.894386,179.042522 C358.967686,116.173913 359.812598,59.826087 443.76887,59.826087 C527.725143,59.826087 547.8693,208.397586 697.791216,199.354108 C847.713131,190.310629 776.750091,26.8323684 937.666281,1.78889015 C1098.58247,-23.2545881 1239.52127,223.162118 1417.41641,209.093238 C1553.34561,198.343244 1504.21655,68.173913 1615.15877,45.2173913 C1689.12025,29.9130435 1790.73399,71.5072464 1920,170 L1920,240 L0,240 L0,168.988943 Z" transform="translate(960.000000, 120.000000) scale(1, -1) translate(-960.000000, -120.000000) "></path></g></g></g></svg>'),22:'<svg viewBox="0 0 1919 255" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(0.000000, -8701.000000)" fill="'.concat(e,'" fill-rule="nonzero"><g transform="translate(959.500000, 8828.500000) scale(1, -1) translate(-959.500000, -8828.500000) translate(0.000000, 8701.000000)"><path d="M0,183.988943 C80.5473907,232.603736 160.512186,235.954929 239.894386,194.042522 C358.967686,131.173913 359.812598,74.826087 443.76887,74.826087 C527.725143,74.826087 547.8693,223.397586 697.791216,214.354108 C847.713131,205.310629 776.750091,41.8323684 937.666281,16.7888902 C1098.58247,-8.25458811 1239.52127,238.162118 1417.41641,224.093238 C1553.34561,213.343244 1504.21655,83.173913 1615.15877,60.2173913 C1689.12025,44.9130435 1790.40066,86.1702275 1919,183.988943 L1919,255 L0,255 L0,183.988943 Z"></path><path d="M0,184 C55.2272449,222.607421 122.531967,220.954929 201.914167,179.042522 C320.987468,116.173913 321.832379,59.826087 405.788652,59.826087 C489.744925,59.826087 509.889081,208.397586 659.810997,199.354108 C809.732913,190.310629 738.769873,26.8323684 899.686062,1.78889015 C1060.60225,-23.2545881 1201.54105,223.162118 1379.43619,209.093238 C1515.3654,198.343244 1466.23634,68.173913 1577.17855,45.2173913 C1651.14003,29.9130435 1765.08051,76.173913 1919,184 L1919,255 L0,255 L0,184 Z" opacity="0.3"></path></g></g></g></svg>'),23:'<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 0v131.144c-95.98 0-96.336 108.856-192.319 108.856-95.982 0-95.982-108.856-191.969-108.856-95.986 0-95.986 54.68-191.969 54.68-95.986 0-95.986-125.11-191.969-125.11-95.982 0-95.982 173.868-191.965 173.868s-95.983-103.438-191.965-103.438c-95.98 0-95.98 70.933-191.959 70.933s-95.979-98.021-191.958-98.021-95.979 81.768-191.958 81.768c-95.986 0-95.986-54.68-191.969-54.68V0h1920z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),24:'<svg viewBox="0 0 1920 398" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="'.concat(e,'" fill-rule="nonzero"><path d="M1920 0v198.247c-95.98 0-96.336 114.753-192.319 114.753-95.982 0-95.982-114.753-191.969-114.753-95.986 0-95.986 57.642-191.969 57.642-95.986 0-95.986-131.885-191.969-131.885-95.982 0-95.982 183.285-191.965 183.285s-95.983-109.042-191.965-109.042c-95.98 0-95.98 74.776-191.959 74.776s-95.979-103.33-191.958-103.33-95.979 86.196-191.958 86.196c-95.986 0-95.986-57.642-191.969-57.642V0h1920z" opacity=".25"/><path d="M1920 0v158.358c-95.98 0-96.336 81.642-192.319 81.642-95.982 0-95.982-81.642-191.969-81.642-95.986 0-95.986 41.01-191.969 41.01-95.986 0-95.986-93.832-191.969-93.832-95.982 0-95.982 130.4-191.965 130.4s-95.983-77.578-191.965-77.578c-95.98 0-95.98 53.2-191.959 53.2s-95.979-73.516-191.958-73.516-95.979 61.326-191.958 61.326c-95.986 0-95.986-41.01-191.969-41.01V0h1920z" opacity=".35"/><path d="M0 0v244.694C95.98 244.694 96.336 398 192.319 398c95.982 0 95.982-153.306 191.969-153.306 95.986 0 95.986 77.008 191.969 77.008 95.986 0 95.986-176.195 191.969-176.195 95.982 0 95.982 244.863 191.965 244.863s95.983-145.676 191.965-145.676c95.98 0 95.98 99.897 191.959 99.897s95.979-138.046 191.958-138.046 95.979 115.157 191.958 115.157c95.986 0 95.986-77.008 191.969-77.008V0H0z" opacity=".134"/><path d="M1920 0v131.144c-95.98 0-96.336 108.856-192.319 108.856-95.982 0-95.982-108.856-191.969-108.856-95.986 0-95.986 54.68-191.969 54.68-95.986 0-95.986-125.11-191.969-125.11-95.982 0-95.982 173.868-191.965 173.868s-95.983-103.438-191.965-103.438c-95.98 0-95.98 70.933-191.959 70.933s-95.979-98.021-191.958-98.021-95.979 81.768-191.958 81.768c-95.986 0-95.986-54.68-191.969-54.68V0h1920z"/></g></svg>'),25:'<svg viewBox="0 0 1920 788" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 0H0v173c48-38.667 95.667-75.333 143-110 71-51 110-58 206-40 366 84 1154 243 1293 297 58 22 88 44 121 101 23.333 52 75.667 174.333 157 367V0z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),26:'<svg viewBox="0 0 1920 798" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="'.concat(e,'" fill-rule="nonzero"><path d="M1920 0H0v189c24-18 60.347-41.755 109.04-71.264C207.368 57.772 261.38 50.915 394.33 78.549 902 172 1349 270 1534.999 319.512c80.324 21.553 121.87 53.106 167.572 108.947C1734.886 479.402 1807.361 602.583 1920 798V0z" opacity=".25"/><path d="M1920 0H0v173c48-38.667 95.667-75.333 143-110 71-51 110-58 206-40 366 84 1154 243 1293 297 58 22 88 44 121 101 23.333 52 75.667 174.333 157 367V0z"/></g></svg>'),27:'<svg viewBox="0 0 1920 800" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 0H0v12.984c1029.719 130.503 1587.292 213.733 1672.719 249.688 53.468 21.972 81.125 43.945 111.547 100.874C1805.776 415.48 1851.02 560.966 1920 800V0z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),28:'<svg viewBox="0 0 1920 800" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="'.concat(e,'" fill-rule="nonzero"><path d="M1920 0H0v12.984c1029.719 130.503 1587.292 213.733 1672.719 249.688 53.468 21.972 81.125 43.945 111.547 100.874C1805.776 415.48 1851.02 560.966 1920 800V0z"/><path d="M1920 0H0v13c996.788 159.826 1536.916 257.717 1620.386 293.672 52.243 21.972 79.265 43.945 108.99 100.874L1920 800V0z" opacity=".25"/></g></svg>'),29:'<svg viewBox="0 0 1920 144" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0 0h1920v70c-96-31-184 1.639-289 21-145 28-245 41-373 50-66 4-150 7-327-30-171-31-301-83-399-83-114 4-258 70-362 77-44 .667-100.667-11-170-35V0z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),30:'<svg viewBox="0 0 1920 99" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M781.659 67.679c5.394-.297 18.088 1.159 22.66-1.526-2.846 1.667-19.23.32-21.954.394-5.954.164-11.903.198-17.902.532-10.396.578-20.684.776-31.023 1.7-30.343 2.713-60.606 3.909-90.983 4.702-.776.26-6.442-.068-9.11 1.099.969-.476 2.062-.742 3.212-.923-12.678.311-25.374.572-38.12.821-18.571.363-37.346.906-55.894 2.175-13.194.907-26.309 1.303-39.486 2.204-8.555.584-28.417 4.827-35.323 1.094 13.602-3.898 29.658-1.78 43.702-2.742 9.608-.663 19.108-.765 28.694-1.422 19.601-1.343 38.993-2.793 58.737-3.473 37.118-1.275 75.018-5.218 112.006-5.382 23.33-.102 47.316-2.974 70.504-3.501 16.673-.38 33.646-.816 50.137-2.232 36.036-3.093 72.702-.93 108.795-3.853 12.588-1.02 25.703 1.79 38.359-.204 7.177-1.133 13.97-2.045 21.873-2.039 11.795.006 23.403-.85 35.357-.872 8.514-.017 17.868.702 26.167-1.541-15.942-2.187-31.974.39-48.012.238-20.367-.199-40.835-.3-61.264.611-34.348 1.53-69.042 1.292-103.509 3.014-116.714 5.824-233.554 11.914-350.342 16.225-61.75 2.278-123.75 7.45-185.28 10.475-27.222 1.343-54.086 3.938-81.29 5.36-10.345.538-97.176 10.905-98.564 6.175 14.543-4.782 33.057-2.963 48.398-3.949 11.025-.708 22.032-1.983 33.051-2.884 29.414-2.402 59.428-4.005 89.034-5.772 77.2-4.612 154.037-11.557 231.305-14.09 35.64-1.167 71.336-3.2 106.987-4.436 25.947-.9 51.82-3.603 77.784-4.231 16.236-.391 33.232.203 49.4-2.51-27.453-2.93-57.241 2.187-84.847 3.104-21.766.726-45.282 5.564-66.827 3.337 2.577-1.15 7.755.77 9.778-1.2-.011.005-14.713-.879-16.237-.743-4.214.38-8.424 1.042-12.707 1.32-13.947.906-27.799.855-41.74 1.796a1687.78 1687.78 0 0 1-58.766 2.934c-70.226 2.278-140.865 8.544-211.154 13.444-33.6 2.345-66.962 2.748-100.602 5.846-5.292.488-55.961 3.405-89.006 6.442 4.005-.465 7.127-.884 8.078-1.23-6.158-.645 6.787-1.45 9.795-1.625 7.666-.448 15.297-1.57 22.967-2.04 5.773-.351 11.37-.799 17.098-1.479 11.868-1.405 33.623 1.45 43.713-4.713a5.205 5.205 0 0 1-1.966-.397c4.86-2.237 11.84-.215 16.927-1.852-14.191-3.348-29.827 2.674-43.203 3.444-12.837.743-26.06 1.87-38.863 3.388a1546.6 1546.6 0 0 1-39.815 4.192c-9.704.901-19.069 2.827-28.915 3.75-9.976.936-19.953 1.865-29.93 2.8-2.798.26-16.372-.307-19.216 1.217 2.47-2.243 15.79-1.988 18.656-2.996-5.58-.697-12.81.373-18.469.94-2.49.25-10.413-.36-13.559.166C.342 96.926.024 64.672 0 0h1920v25c-1.187.402-.707.537-.245.687-3.116-.769-12.798 2.086-16.785 2.523-10.299 1.122-21.3.992-31.55 1.014-15.239.034-30.353 3.858-45.933 4.793-14.174.85-28.643 2.034-42.664 2.43-5.966.17-12.571-.589-18.554.38-1.575.255-17.992 3.037-11.313 1.348-32.298-1.847-65.824 1.819-98.139 2.13-13.998.136-28.2 1.275-42.12.788-13.047-.459-33.374-3.507-45.424 1.586 5.569-2.35 21.114.725 28.252.46 9.66-.363 19.075-.771 28.683-.941 21.386-.38 42.705-.516 64.164-1.145 28.32-.833 56.279 2.567 84.877 1.558 11.137-.396 21.408-.334 32.625-.668 6.852-.203 20.95-4.053 27.32-.207-2.45-1.183-23.322 1.227-26.283 1.272-4.504.068-32.07-1.711-33.94.895.787-.952 7.387 1.382 7.909 1.609-2.182.3-8.034 1.393-9.847.612 2.074 1.02 4.674 1.507 7.54 1.7-1.455.243-2.786.424-3.914.498 3.96.13 10.13-.425 11.212-.544 3.25-.257 6.224-.57 9.14-.922l.11-.002c.403-.05.8-.096 1.202-.147a2.793 2.793 0 0 0-.009-.008c4.738-.572 8.317-.986 11.249-1.023 8.509-.108 16.304-.793 24.592.266-19.21 6.164-43.916 3.875-64.05 4.68-17.285.691-34.677.663-52.035 1.382-28.173 1.167-56.392.748-84.616 1.875-10.061.403-20.344.38-30.456.873-14.776.718-35.283 5.175-49.465 1.064 1.823.39 13.264.051 20.669-.792-8.186.277-21.726-1.326-25.375-1.088-3.116.204-19.601 1.966-14.457.493-15.93-2.634-34.87.736-51.05.714-16.904-.023-33.243 1.49-50.091 1.512-15.914.023-31.6.255-47.531.64-21.21.516-42.416 1.02-63.626 1.61-11.585.317-23.165.656-34.74 1.013-2.554.08-21.289-1.036-25.311.142 3.722-1.79 15.08-1.405 18.633-2.272-3.213-6.078-58.539-.985-64.6-.436-18.917 1.717-37.102 2.22-55.758 1.853-63.342-1.258-127.586 1.161-191.155 3.461-32.082 1.161-64.34 1.314-96.512 2.912-14.34.708-28.36.844-42.756 1.632-5.601.305-45.334 3.228-46.227.471a5.557 5.557 0 0 0 .013-.002zm-559.447 11.45c8.345-2.776 19.947-2.804 28.864-3.263.25.023-26.462 3.518-28.864 3.263zm48.25-4.583c5.065-.991 10.413-1.161 15.512-.73-4.521 1.46-10.792 1.342-15.511.73zM630.34 61.822c.895 2.249 11.036-1.042 12.497-.584-1.427-.566-4.934-.164-6.31-.328-.363-.012-6.42.334-6.187.912zm18.429-.952zm14.242-.453c5.099-.159 11.336.56 16.531-.606-2.356.096-5.886-.47-7.03-.606-5.039.316-19.504-1.012-23.706 1.641 2.032-1.256 11.193-.339 14.205-.43zm139.092-4.951c1.394.113 1.15.243-.72.396-1.399-.102-1.155-.238.72-.396zm12.82-.833a1.207 1.207 0 0 0 0 0zm31.833-.895c-4.152-.244-8.798-.068-12.905.657 2.906.606 6.09-.153 9.053.283 1.28-.311 2.566-.629 3.852-.94zm10.294-.006c-1.988.425-3.84.646-5.297-.244 2.244-.453 3.705.046 5.297.244zm-44.934 11.71c-1.052.02-2.09.127-2.076.465.555.068 1.518-.077 2.39-.216l-.314-.249zm20.54-.736c-1.383-.97-11.642-.618-12.741.657-.204.362 8.39.09 9.177.192 1.808.686 2.992.403 3.564-.85zm27.986-.998c-4.974-.764-17.806-1.235-22.338.986 2.759-1.286 10.786-.26 14.033.176 2.923.102 5.512-.391 8.305-1.162zm208.644-11.24c-.737.409-3.224-.65-4.346.018.499.583 3.881.294 4.346-.017zm46.777-1.206c-8.962-2.481-24.666-1.076-33.85-.074.64 1.116-.056 1.547-2.095 1.286 1.535 1.983 33.215.918 35.945-1.212zm25.431-.946c-1.41-.924-13.064 1.41-11.024 1.58.668-.022 11.194-1.467 11.024-1.58zm56.607-.98c-.402-1.74-11.421-1.054-12.367.25l3.484.662c.753-.028 9.07-.113 8.883-.912zm28.043-.958c.062.844 8.447.777 9.24.93 3.807-.669-9.495-3.502-9.24-.93zm35.713-.657c-4.674-.957-11.993-.833-16.525.182-.068.005-4.306.583-3.269.929 4.442 1.49 15.534.696 19.794-1.11zm18.078-.606c-3.2-1.173-4.515.074-7.438.737.696 2.096 8.934-1.117 7.438-.737zm19.89.09c-1.971.035-2.3-.073-.985-.328 1.949-.04 2.277.068.985.329zm6.311 8.011c-5.63-.147-12.208-1.127-17.709.63 0 1.495 5.971.237 6.696.084 3.58-.017 7.694.578 11.013-.714zm22.248-.362c-1.932.04-2.26-.068-.986-.323 1.988-.023 2.317.085.986.323zm12.837-.13c-1.852.096-2.09.22-.708.373 1.88-.107 2.119-.232.708-.374zm18.429-8.73c-1.734-2.488-9.251-1.162-11.886-.539-13.596.334-28.615-.974-41.967 1.377 7.97 1.631 16.53.56 24.57.119 9.727-.538 19.714.968 29.283-.958zm7.348-.414c-1.745.124-4.572.272-5.195-.402-.306-.335 2.81.113 5.195.402zm.589-.102c-.142.013-.198.037-.198.068.204-.017.392-.031.548-.042l-.35-.026zm.935.36c.409.038.827.028 1.065-.083-.071.04-.322.041-.689.017l-.376.066zm9.925.439c-3.875-1.893 16.628-1.167 16.514-1.11-4.107 2.124-12.01 1.002-16.514 1.11zm19.522 7.172c-1.223-.221-2.453-.436-3.676-.657-.391-.023-6.481-.006-6.306.68.357 1.41 8.963.345 9.982-.023zm3.847.13c-1.388-.153-1.144-.278.73-.374 1.412.153 1.162.278-.73.374zm17.964-1.422c4.42 1.156-5.512 2.668-6.05 1.144-.255-.725 5.337-1.155 6.05-1.144zm2.017-7.438c2.827-.595 5.903-1.145 8.787-.539-5.886 1.473-10.418 1.32-16.384.726 2.527-.063 5.07-.193 7.597-.187zm12.407 8.435c-1.564.623-9.5 1.603-10.288-.294 3.501-.856 7.376-1.598 10.288.294zm4.997-8.107c-1.61-.255-2.997-.782-5.297-.402 1.45.946 3.28.76 5.297.402zm9.88 7.325c-.674-.447-1.445-.544-2.306-.3a4.858 4.858 0 0 0-1.756.133c.976-.14 3.035.68 4.062.167zm-4.328-.09a5.2 5.2 0 0 1 .266-.077.874.874 0 0 0-.266.077zm16.141.202a3.06 3.06 0 0 0-.726.189c.26-.046.52-.09.782-.134l-.056-.055zm1.007-.106l.42-.068c-.114.006-.182.006-.278.006-.051.017-.09.04-.142.062zm-.934.436c.237-.147.566-.272.872-.402.714-.011.969.13-.872.402zm6.112-.9c-1.342-.556-3.37-.238-4.906.34 1.745-.097 5.116-.256 4.906-.34zm7.507-7.439c-4.266 1.745-16.197-4.651-20.117-.833-.136.12 8.123 1.031 9.25 1.218 2.216-.04 8.51.697 10.867-.385zm23.17-.47c-.555.277-2.453-.096-2.17-.238 1.185.113 2.216.22 2.17.238zm-3.133-.521c-.356-.063-.73-.04-1.082-.142-.062-.09.539.017 1.082.142zm-1.404 8.039c3.132 1.11 8.067.753 11.319.005 2.128-.04 11.108-1.363 13.483-.59-7.455-2.427-17.615 2.85-24.802.585zm35.48-8.136c-2.13-1.779-8.118-.651-10.576-.453 2.034 1.847 8.384 1.043 10.577.453zm4.97-.402c-.414-.821 8.916-1.218 9.432-1.184 2.056 2.572-8.764 2.51-9.433 1.184zm237.717 2.232c-1.394-.175-1.156-.294.714-.345 1.41.164 1.172.277-.714.345zm-70.978 2.064a2.374 2.374 0 0 0-.545.259c.173-.09.355-.177.545-.26zm0 0c3.221-1.087 11.33 2.36 14.06 2.604 6.118.556 12.242-.464 18.326-.617 7.592-.187 15.908.26 23.579-.737-7.931-.402-17.313-1.439-20.655-1.416-8.98.055-27.991-3.006-35.31.166zm-67.14 1.403c2.538-.187 5.801-.708 7.914.555-2.056.476-7.081 1.881-7.914-.555zm-20.485.403c5.421-1.434 12.525-.8 18.032.305-5.914.726-12.192.595-18.032-.305zm.028 3.96c-2.181.022-6.215.674-8.436-.074.04.006 10.69-.232 8.436.073zm-10.038-3.596c-1.046-.026-2.083.038-2.086.378.573.104 1.52-.002 2.38-.109l-.294-.27zm-12.696 3.725c-1.562.13-3.028.194-3.61.006 1.09.296 2.352.326 3.688.234l-.078-.24zm-33.34-3.138c.9-.073 1.915-.164 2.94-.22-4.18.453-9.093 2.203-12.622.741 1.79.499 7.982-.487 9.682-.52z" fill="'.concat(e,'" fill-rule="evenodd"/></svg>'),31:'<svg viewBox="0 0 1920 359" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1900.821 32.686c-8.161 5.646-17.284 11.593-25.72 16.295-7.624 4.25-11.488 9.048-18.584 13.977-5.919 4.109-10.999 9.104-16.88 13.298-13.43 9.594-27.453 20.046-41.722 27.566-5.032 2.649-10.602 4.59-15.682 7.596-5.956 3.525-4.967 6.324-11.658 9.547-.773-.895-.226-1.686 1.65-2.384-18.077 6.503-35.286 17.746-52.787 26.85-13.788 7.182-27.765 12.535-41.901 18.378-13.242 5.476-25.192 13.402-38.782 16.992-7.134 1.885-13.157 4.977-19.716 8.115-3.619 1.734-7.172 2.328-10.687 4.486-2.931 1.79-9.274 4.166-11.234 6.946-.32.462 11.29-3.695 12.515-4.119 4.618-1.592 9.67-3.345 14.24-5.504 8.86-4.194 17.323-8.387 26.069-12.534 18.811-8.925 39.253-14.467 57.941-24.221 9.161-4.778 17.172-9.962 26.662-13.76 16.342-6.54 32.402-10.612 48.715-18.443 5.41-2.602 11.526-4.854 16.578-8.087 2.554-1.64 4.938-5.127 7.577-6.399 1.386-.669 5.57-.952 7.191-1.517 4.203-1.48 7.954-4.307 11.611-6.588 5.193-3.242 16.512-14.598 23.326-12.516 1.78.84-9.49 6.767-10.33 7.257-4.184 2.432-8.52 5.334-12.902 7.728-2.86 1.564-28.342 13.533-30.951 16.368 1.421-1.03 7.593-1.03 8.408-.695-1.338 1.027-7.672 5.448-8.868 5.268 2.035.481 6.851-1.592 11.799-4.156-5.136 3.384-9.905 6.805-10.395 6.362 1.216 1.102 12.336-5.25 13.816-6.277.961-1.037 9.227-6.22 9.622-5.928-1.507-.622-.282-1.338.472-1.762 3.317-1.876 6.54-4.354 10-6.249 7.925-4.354 13.1-8.67 21.364-11.224-2.818 4.1-12.138 10.763-16.276 14.212-5.833 4.853-13.194 8.727-19.81 12.402-8.246 4.58-16.512 9.293-24.664 13.826-15.098 8.388-31.242 14.75-46.415 23.175-26.021 14.448-53.654 25.399-80.485 38.197-9.312 4.43-19.509 7.144-28.679 11.856a259.32 259.32 0 0 1-18.802 8.765c-5.871 2.45-11.714 4.957-17.652 7.247-.688.274-10.442 3.412-10.235 3.082 3.1-4.91 21.582-6.427 25.145-12.11-3.27 2.667-24.334 8.66-27.35 9.82-5.843 2.243-12.045 8.576-19.17 8.143.575-.528 1.15-1.046 1.725-1.574-5.965.33-13.203 4.693-19.094 6.38-4.985 1.433-10.357 3.46-14.966 5.297-8.2 3.26-16.719 5.975-24.786 8.897-23.995 8.68-47.64 18.227-72.644 24.06-17.718 4.138-35.342 9.406-52.947 14.59-8.387 2.46-16.737 5.08-25.163 7.398-10.97 3.025-22.12 5.503-33.193 8.133-2.036.48-13.91 2.563-22.732 4.43 7.248-2.837 14.024-8.549 1.33-6.579-10.349 1.612-21.121 3.977-31.168 6.4-11.507 2.78-22.628 5.305-34.088 8.208-4.533 1.15-8.5 2.545-13.477 2.931-7.483.575-11.837 3.553-18.5 4.184-30.96 2.922-64.303 8.35-96.073 12.648-7.992 1.084-14.4 3.874-22.704 3.968-4.552.056-8.039 1.074-12.365 1.63-4.721.603-9.188-1.121-13.75-.839-18.265 1.15-36.209 6.598-54.897 6.701-17.181.085-35.22 2.818-52.363 4.241-14.09 1.169-29.037.396-42.89 1.527-15.673 1.282-31.968 1.687-47.415 3.016-2.875.245-69.977 2.158-70.712-1.932 4.967-.141 19.952 2.243 23.816-1.103 1.63-1.413-7.125-.358-6.918-.358-6.04.066-12.647-.17-18.84-.32-5.946-.151-12.034-.424-18.15-.255-10.575.292-20.876-.085-31.384.81-13.487 1.15-26.917-1.903-40.365-1.988-12.3-.085-21.507.142-33.533-.839-10.828-.876-21.393-2.016-32.297-1.64-12.921.453-25.512-2.195-38.367-3.873-20.367-2.658-40.893-4.948-61.363-6.503-11.413-.867-22.468-2.535-33.872-3.411-8.086-.623-31.996.179-36.529-5.797 7.521-1.47 18.689 1.292 26.257 2.347 5.834.81 11.13 1.536 16.85 2.158 8.37.915 16.626 1.574 24.834 2.8 26.351 3.91 52.711 4.928 79.345 7.294 11.743 1.037 24.004-.18 35.813 1.725 8.604 1.376 18.16.433 26.878.64 21.743.519 42.335 2.432 64.219 1.848 23.09-.613 45.105-.424 67.828-1.056 7.87-.226 14.975-.047 22.873.245 10.263.387 21.016-1.074 31.327-.763 34.88 1.055 69.835-4.873 104.329-5.702 13.024-.311 25.512-.066 37.405-4.08 5.702-1.923 14.392-2.036 21.064-2.922 12.092-1.603 23.75-2.102 36.313-2.573 7.671-.283 18.01-1.093 24.833-4.6-15.692-2.374-31.035 2.319-46.755 3.073-20.752.99-42.589 1.395-63.313 4.656-15.014 2.365-30.696 1.47-46.058 2.695-18.34 1.46-36.99 1.197-55.36 1.838-54.84 1.913-110.275 2.535-165.342 1.084-28.217-.745-57-1.706-85.367-3.808-26.238-1.95-52.193-5.56-78.506-7.568-14.212-1.083-29.696-1.96-43.861-4.184-68.591-10.772-137.57-22.44-205.538-34.927-27.633-5.08-54.907-11.121-82.314-17.473-10.49-2.432-86.893-22.6-86.44-25.569 8.66-.999 21.232 4.694 29.724 6.739 5.457 1.31 10.404 3.204 15.71 4.655 9.368 2.554 18.934 4.543 28.378 6.814 24.654 5.928 49.082 12.752 74.368 17.407 85.3 15.72 170.583 34.513 257.08 41.091 35.748 2.724 71.023 8.708 106.987 9.877 32.006 1.037 64.718 5.589 96.78 4.118 14.495-.669 30.762 1.753 45.473-1.272-15.362-3.581-32.213-.283-47.537-.876-14.334-.556-28.895-.198-43.324-1.65-9.302-.933-18.802-.01-28.132-.66-11.13-.782-27.661.962-38.697-2.28 2.545-1.395 8.425 1.583 10.273-.735 1.564-1.734-21.846-2.696-24.39-2.62-13.883.396-27.417-3.176-41.026-4.6-20.554-2.139-41.891-3.43-62.21-5.984-19.264-2.422-38.876-3.544-57.358-8.397-17.69-4.646-36.727-6.484-54.973-8.84-17.869-2.31-34.277-3.29-51.325-5.664-17.247-2.404-33.787-10.179-50.959-12.045-39.733-4.316-75.744-20.489-114.93-28.028-10.905-2.092-21.734-6.597-32.487-9.632-7.766-2.196-16.7-2.582-24.683-5.042-5.72-1.762-55.41-16.859-55.783-16.06 1.094-2.355 32.9 8.162 37.707 7.634-1.291-.31-2.026-1.008-2.224-2.092 3.534-2.11 14.269 4.486 17.897 5.457 8.755 2.337 17.586 4.854 26.21 7.172 7.85 2.12 16.21 2.997 24.258 4.929 7.38 1.772 22.26 8.708 29.093 5.523a3.961 3.961 0 0 1-1.715-1.376c5.052-1.508 11.96 4.109 17.256 3.506-5.211-4.59-16.247-6.41-22.948-7.446-7.747-1.197-11.913-1.385-19.858-3.383-12.996-3.27-26.595-7.2-39.856-9.575-6.418-1.15-13.119-1.678-19.254-3.13-7.323-1.733-13.854-4.985-20.866-7.19-10.555-3.308-21.412-4.6-32.41-7.888-8.294-2.48-16.587-4.967-24.881-7.446-1.187-.348-20.96-7.323-21.412-6.89 1.724-2.016 16.964 3.563 19.998 3.309-4.015-2.969-12.977-5.372-17.84-6.776-2.488-.717-5.485-.415-7.85-1.423.047.013-4.306-2.565-6.089-3.814V0h1920v14l-7.987 8.713c2.323-1.072 3.867-1.758 3.85-1.694-.319 1.441-3.15 2.449-5.387 3.37L1909 26l-2.882 1.589c-1.546 1.69-3.095 3.574-5.297 5.097zM258.347 249.41l.01.043c.835.17 1.669.34 2.503.496a85.479 85.479 0 0 0-2.513-.539zm0 0a95.544 95.544 0 0 0-2.492-.46c.835.16 1.669.332 2.503.503l-.01-.043zM1795.36 118.013c-.143.155-.217.282-.215.38.005-.153.1-.29.268-.412l-.053.032zM257.646 237.197c-1.187-.631-2.384-1.423-3.628-1.932-7.973-1.526-19.094-1.13-26.549-4.599 4.6 3.308 13.147 3.506 18.613 4.675 2.592.556 9.302 2.865 11.564 1.856zm41.204 8.558c-5.485-3.384-11.752-4.392-17.775-5.099-3.59-.414-8.444-.348-11.714-2.592-1.725-.31-6.918-2.28-8.53-1.244-.706.547 15.947 4.77 17.615 5.165 5.664 1.338 14.269 4.505 20.404 3.77zm-61.89 1.8c.96-.198 1.8-.01 2.506.594-.951.207-1.79.01-2.507-.594zm30.912 17.906c-.49-2.808-14.759-2.78-16.983-3.901-4.006-1.282-8.953-1.574-13.034-2.413-5.221-1.074-11.036-3.355-16.559-2.62 3.148 1.875 46.651 9.632 46.576 8.934zm33.306-5.74c-.208.123-19.622-3.382-19.905-3.665 1.64 1.668 6.513 1.696 8.709 2.818 1.96.612 9.34 1.828 11.196.848zm192.447 28.566c.18-.113-.735-.376-1.979-.688-.395.038.65 1.48 1.98.688zm26.474 2.78c-.782-.49-1.63-.546-2.545-.178.792.461 1.64.527 2.545.179zm117.391 39.517c.471 3.13 11.913-.075 12.977.623-1.225-.971-4.74-.736-6.465-1.348-.5-.113-6.71-.594-6.512.725zm53.135 2.498c-3.12-.34-6.22-.48-9.264-1.451-4.543-.104-21.271-3.176-24.73-.274.726-.622 13.458.971 14.768 1.065 5.693.424 13.703 3.007 19.226.66zm142.894 2.865c-1.602-.122-3.694.198-4.675.226-1.145.028-7.896 1.116-8.779.855 3.264 1.336 9.876-1.306 13.454-1.081zm-13.515 1.056a3.7 3.7 0 0 1 0 0zm42.41-.82c-4.391-.33-9.075-.057-13.41.735 2.817 1.055 6.465.141 9.424.83 1.329-.529 2.658-1.047 3.986-1.565zm10.697-.029c-1.46-1.394-3.1-1.168-5.504-.395.066.292.132.574.208.857 1.819.48 3.59.33 5.296-.462zm-44.578 17.992c-.292-.189-4.457-.613-4.439.396.934.235 4.722-.17 4.44-.396zm19.292-.18c-1.244-1.45-12.45-1.328-13.364.283-.556 1.48 8.718.67 9.623.905-.424.038 4.769.038 3.741-1.187zm29.292-1.206c-4.006-.97-20-.923-23.383 1.546 1.63-1.093 12.233-.396 14.712.386 3.26.16 5.749-.64 8.67-1.932zm265.345-33.136c-5.71-1.706-13.76.923-19.282 1.074-5.023.142-10.96 1.621-15.786 3.148-2.186 2.441 7.71-3.44-1.923 2.394 2.083 3.242 16.107-1.659 19.99-2.375 3.572-.66 14.994-.943 17.001-4.241zm84.585-13.722c-.697-2.14-12.073-.51-12.76 2.007 1.262.217 2.535.424 3.797.641.773-.141 9.49-1.037 8.963-2.648zm44.823-10.216c.528-.735 16.615-1.046 20.102-4.543-4.363-.565-13.279 1.357-16.888 3.468-.67.17-2.78.349-3.214 1.075zm13.364-61.523c3.94-.943 17.378-1.263 18.18-6.022.366-1.12-21.57 4.895-22.529 4.938 1.881-.083 2.663 1.008 4.349 1.084zm17.718 55.152c1.263 2.827 6.003-1.744 7.389-2.63l-.396-.848c-4.826.16-3.968 1.687-6.993 3.478zm159.83-102.774c6.031-.189 15.21-2.064 19.772-6.003-5.777-.066-14.825 2.95-19.773 6.003zm-37.548 10.848c.613.197 1.216.395 1.82.593 1.945-.306 11.61-3.273 12.64-4.922-1.286 2.024-13.967.508-14.46 4.329zm-88.543 23.72c3.337 3.365 8.633 1.273 11.668-1.696 7.238-2.77 15.71-3.666 23.08-5.88 2.253-.679 20.508-3.808 18.237-6.748-1.33-1.838-26.7 6.653-30.46 7.54-3.233.763-23.128 6.116-22.525 6.785zm3.506 73.663c-5.786.848-13.222.706-18.066 4.457.716 2.224 5.767-.49 6.955-1.159 3.967-1.48 7.86-.264 11.111-3.298zm50.94-27.737c-2.385-3.09-9.764.443-12.233 2.159-5.542 1.63-11.065 3.28-16.295 4.825-8.398 2.478-18.161 3.43-25.833 7.228 9.029 1.113 18.66-2.704 27.039-5.758 9.057-3.308 18.971-3.251 27.321-8.454zm31.524-68.13c-1.856 1.763-13.495.604-17.19 4.138 1.31.057 2.62.104 3.92.151 4.524-1.338 9.727-.763 13.27-4.288zm-12.365 63.786c3.808-1.122 13.732-2.554 16.239-6.004.245-.33-23.297 2.931-16.239 6.004zm22.892 6.521a573.079 573.079 0 0 1-4.024-.103c-.697.085-6.625 1.564-6.126 2.705.82 1.866 9.255-1.725 10.15-2.602zm23.42-7.162c-.603-.16-1.197-.33-1.8-.5-.97.142-6.314 2.12-5.645 3.384 1.112 2.082 7.992-1.848 7.445-2.884zm27.953-8.265c-.782-.462-1.592-.377-2.45.254a3.433 3.433 0 0 0-1.914.971c.239-.237 3.722-.304 4.364-1.225zm6.755-2.088c.307-.057.577-.25.813-.58-.372-.212-.711-.287-1.018-.23l.205.81zm6.196-1.415c.008.048.13-.079.385-.475.042-.056.04-.082.018-.094l-.403.57zm-1.541.292a.9.9 0 0 0-.204.148.699.699 0 0 0 .32-.18l-.116.032zm6.346-3.264c.547.15-2.271 1.272-4.222 2.017.791-1.065 2.346-2.545 4.222-2.017zm3.826-14.222c-2.205 2.743-18.82-.282-20.385 5.07-.452 1.405 8.605-.942 9.783-.998 2.412-.867 9.066-1.989 10.602-4.072zm288.408-112.038c-2.8.519 1.395-1.027 1.376-.99-.462.33-.914.66-1.376.99zm-66.122 35.135c.052-.108.11-.215.171-.32-.073.1-.13.208-.171.32zm15.418-2.894c6.38-1.8 11.97-6.248 17.662-9.386 7.285-4.015 18.65-7.465 24.249-13.59 1.517-.726 7.228-2.328 7.813-4.072.537-1.753-11.215 3.742-11.705 3.977l-18.887 9.048c-4.08 1.95-7.822 4.552-11.649 6.56-5.292 2.77-19.706 4.88-22.73 10.036 1.785-2.477 12.93-1.912 15.247-2.573zm-59.506 22.949c-1.282.528-4.213 1.225-5.805 2.29 3.006-1.658 11.61-2.026 13.269-4.768-.068.113-7.125 2.337-7.464 2.478zm-50.958 27.67c-1.329.49-2.686 1.216-3.647 1.612-.207.084-7.61 3.912-7.95 3.92 3.515.11 8.102-4.09 11.597-5.532zm5.787-1.658c2.12.254 6.616-2.423 8.303-3.11 2.309-1.527-8.313 3.11-8.303 3.11zm-114.312 22.853c-.313.027-.525.081-.45.161.254.028.507 0 .757-.041l-.307-.12zm1.576.218c.019-.02-.038-.02-.038-.038-.688.104-1.347.207-1.847.283.641.028 1.291.066 1.885-.245zm2.498-.349c-.566.848-2.658.66-1.998.226 1.083-.16 2.035-.283 1.998-.226zm-.698 13.354c3.091.622 8.869-1.3 11.31-3.61 2.325-.818 11.347-5.54 13.16-5.24-7.51-1.247-17.742 9.925-24.47 8.85zM1824.46 54.306c-.202.131-.415.273-.637.424.225-.124.45-.245.675-.366l-.038-.058zm0 0l.038.058c.598-.32 1.197-.634 1.785-.962.075.018.462-.217.99-.575-.33.179-.641.377-.971.565-.225-.054-.914.312-1.842.914zm30.718-22.411c-2.054-1.847-11.111 8.303-13.486 10.056-1.3.961-11.253 8.755-14.42 10.885 10.415-5.787 19.849-12.016 27.907-20.941zM151.14 216.228c2.618 2.376 20.332 6.06 24.47 5.023-2.542.587-9.873-3.339-13.509-2.997-.622-.15-10.31-1.526-10.96-2.026zm24.608 4.986zm1249.8-32.77c-.606.102-1.19.133-1.727.048.466.15 1.01.155 1.614.054l.113-.102zm0 0l-.113.102c.603-.101 1.265-.309 1.967-.582-.622.203-1.249.377-1.854.48zm5.435-1.733c.283-.095 8.906-3.45 9.33-3.356-3.44-.885-8.85 3.026-12.911 4.618 1.291-.424 2.563-.96 3.581-1.262zm-206.857 57.234c1.97.604 6.738-1.3 8.434-1.705 2.865-1.33-9.471 1.46-8.434 1.705zm12.685-3.034c1.404.433 8.01-1.81 5.57-1.932-1.244.15-4.92 2.054-5.57 1.932zm-56.943 9.509c.547.726 3.958.047 4.401-.537.16-.283-3.986 0-4.4.537zm-987.1-25.644c-2.11-.528-4.231-1.093-6.333-1.612-.99-.593-3.12.368-1.583.434 1.017.452 1.545.311 1.583-.434.283.387 2.96.98 6.333 1.612z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),32:'<svg viewBox="0 0 1920 221" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M3.747 220.063L0 221V0h1920v63l-33-45-402 6-333 23-351 31-349 50-149 26-247 54-44 10-8.253 2.063c-1.615-.021-3.064.052-3.747.442 8.343-4.816 20.442-4.762 29.507-7.39 8.358-2.42 16.862-4.048 25.282-6.291 18.874-5.032 37.035-10.41 56.348-13.098 7.958-1.106 15.264-4.763 23-6.3 3.48-.69 6.96-1.605 10.463-2.135 7.098-1.076 14.027-2.105 21.11-3.55 16.117-3.287 33.24-8.603 47.068-13.597 8.842-3.188 19.889-4.609 29.153-5.477 5.07-.476 44.71-6.13 45.056-9.172-.039.407-28.209 1.413-33.125 3.887 3.549-2.789 17.884-3.28 22.047-4.064 8.42-1.59 17.538-4.402 26.08-4.494-1.39.092-2.465.645-3.226 1.66 2.144 3.218 16.525-2.42 19.467-2.927 6.069-1.053 12.222-.984 18.13-3.15-5.762.161-11.078 1.037-16.747 2.105-2.136.407-8.359.576-11.093 1.36 3.88-1.86 10.14-1.875 14.096-2.62l25.712-4.84c19.62-3.687 39.325-6.952 58.99-10.378 36.283-6.315 72.62-13.382 109.117-17.608 23.407-2.704 46.715-8.504 70.345-10.486 28.738-2.404 57.008-8.258 85.463-12.36 11.892-1.72 23.814-3.94 35.767-5.162 14.957-1.53 29.945-3.227 44.917-5.17 6.8-.884 13.598-1.76 20.396-2.643 3.895-.507 10.525.023 14.673-1.214-3.564.622-10.194-.092-12.445.185-5.485.668-10.947 1.505-16.432 2.143-1.16.138-6.284-.062-7.152.538 2.512-2.55 13.95-2.105 17.615-2.597 6.315-.845 12.414-1.529 18.514-3.403-10.286-1.168-20.527.008-30.89 1.367-16.462 2.167-32.91 3.388-49.38 5.708-20.365 2.865-40.953 4.863-61.103 8.128-25.958 4.202-52.707 6.345-78.672 10.962-18.491 3.28-37.527 6.468-56.156 8.181-23.968 2.197-48.812 6.668-72.312 11.639-15.118 3.195-30.682 4.202-45.9 6.868-14.458 2.527-28.93 5-43.38 7.59-10.371 1.85-20.711 3.879-31.06 5.83-6.96 1.314-13.965 3.011-20.987 3.964-3.254.442-7.871.048-10.904 1.37 8.277-4.042 21.74-4.864 31.062-6.624 5.431-1.022 10.878-1.975 16.294-3.073 2.212-.454 7.236-2.566 11.123-3.61-9.432 1.336-31.276 4.976-31.573 6.229.494-2.09 17.085-3.925 19.044-4.94-22.616.876-45.186 9.104-67.395 12.062 10.694-3.703 21.648-5.97 32.772-8.067 101.004-19.074 202.7-37.573 304.54-52.276 45.555-6.576 91.094-14.58 136.634-18.614 11.692-1.03 22.984-3.749 34.615-4.57 10.24-.723 20.511-2.65 30.567-3.834 6.537-.776 11.846-2.566 17.6-3.365 4.962-.683 10.309.377 15.402-.092 5.3-.492 10.594-1.221 15.887-1.828l40.484-4.656c22.64-2.604 45.486-4.954 68.27-6.214 12.983-.715 26.02-2.49 39.118-3.188 25.827-1.383 52.36-3.519 77.965-7.206 21.51-3.096 44.426-2.113 66.243-3.987 29.169-2.505 58.506-2.82 87.59-6.215 22.263-2.604 44.849-.768 67.073-3.71 23.945-3.173 48.72-1.883 72.864-3.25 48.113-2.727 95.888-2.758 144.031-4.794 18.207-.768 36.498-.122 54.712-.637 16.655-.469 32.357-1.337 48.574-1.352 11.139-.008 22.708 1.552 33.793.445 16.033-1.59 32.396 0 48.65-.875 13.514-.723 27.41 1.275 40.647.115 7.09-.622 14.22.008 21.387.438 7.228.43 14.073-2.505 21.11-2.274 4.325.146 9.472 1.429 14.196 1.49 5.578.07 11.293-.622 16.932-.684 5.823-.061 11.9.853 17.753 1.537 4.74.553 6.968-.23 11.377-.715 2.543-.276 13.32.507 12.16-2.158 8.904-1.736 20.78-1.299 29.6.745-5.193.96-.338 1.352 2.051 2.09 2.712.837 5.447.66 8.166.683 5.224.039 10.862.584 15.664.822-.008-.223-.085-1.429-.146-2.596.3 3.549 2.243 1.551 3.664 4.878 2.159 5.047.507 15.256.692 20.695.291 8.873.591 17.746.89 26.619.108 3.165 2.336 10.04-2.865 8.965-.084.407-.13.975-.169 1.582-.046-.476-.1-.96-.115-1.398-4.24-.507-10.263 2.036-14.604 2.689-4.577.688-9.263.939-13.878 1.37.96-.012 1.82.307 2.57.95-2.304 3.218-13.29-1.199-16.078.092.568-.354 1.444-.592 2.473-.753-6.76.545-13.497 1.636-19.858 1.406-7.759-.284-16.178 1.951-24.06 2.274-7.267.3-14.696.276-21.925 1.436-8.588 1.375-17.976.784-26.295 3.657 7.774.576 15.28-.423 23.038-1.168 6.047-.581 16.017-3.725 21.95-2.076-1.815-.112-7.987 1.406-9.635 1.57l-16.624 1.612c-10.77 1.053-21.487 1.483-32.22 2.413-11.169.968-22.33 2.12-33.493 3.18-2.42.23-18.537.722-25.067 1.39 3.365-.722 8.405-1.95 7.898-2.243-6.622-.683-10.586.523-16.171 2.197 1.851.139 3.695.33 5.531.577-28.5 2.734-57.385 4.64-85.985 7.297-30.644 2.85-61.303 4.856-91.87 7.152 1.498-.307 2.796-.814 3.533-1.85.016-.024-10.401.122-11.753.337-2.917.465-9.636.22-12.31 1.736 3.123-1.768 10.332-.1 16.197.108-10.017.768-20.035 1.56-30.03 2.443-17.806 1.575-35.629 3.403-53.443 4.04-13.344.477-26.35 3.826-39.655 4.156-9.142.223-18.168 1.506-26.526 4.11 1.647.077 7.639.375 7.384.377 16.04-.085 32.41-2.005 48.441-2.743 7.582-.345 15.126-1.475 22.7-1.966 2.728-.185 5.232-.085 7.96-.13 5.83-.107 17.684-3.629 23.294-1.746-3.142-.933-12.917 1.7-16.05 1.983-4.733.43-9.273.515-13.966.63-12.66.307-25.436 1.813-38.065 2.466-15.725.814-31.32 2.458-47.03 3.365-16.831.976-34.031 2.558-50.909 2.827-10.97.177-22.109.492-33.056 1.314-15.464 1.167-31.45 3.58-46.899 3.84-17.054.292-34.354 1.383-51.37 2.758-20.227 1.637-41.806 4.034-61.979 1.629 4.087-1.652 9.595-.453 14.02-.676 4.51-.23 9.003-.837 13.513-1.068 7.49-.384 15.049-.799 22.57-1.075 25.035-.93 50.01-2.535 75.038-4.663 4.548-.384 107.165-3.718 107.234-6.691-.038.23-22.816 1.336-26.073 1.42-8.435.224-16.401-1.666-24.82-1.59-21.772.193-43.381 3.872-64.999 4.671-65.712 2.436-130.917 12.053-196.699 14.197-24.629.806-48.98 4.801-73.533 4.84-12.022.023-24.275.491-36.252 1.981-4.94.623-9.725 1.629-14.757 1.783-9.019.269-24.052 2.704-32.58-.254-.914-.315 3.619-1.867 3.242-2.082-4.27-2.458-13.697.984-18.437 1.468-8.043.822-15.986 1.367-24.03.683 13.345-3.35 27.503-4.21 41.108-5.131 6.176-.423 12.521-.162 18.706-1.03 8.004-1.121 18.997-.607 26.464-3.74-5.462-3.02-16.332-.57-22.562-.116-7.221.522-14.627 1.567-21.87 1.59-7.614.015-15.05.346-22.694.899-4.809.353-18.513-.983-22.178 1.237 6.23-3.772 17.047-.093 24.022-3.234-17.577-3.165-36.344 5.024-54.113 3.241 6.73-1.905 1.114-1.475-1.336-2.081-1.798-.446-3.987-1.13-5.17-1.522-2.635-.875-6.584-2.343-9.995-2.85-9.502-1.413-17.953-.153-27.678.53-13.551.953-27.67 1.706-41.145 3.534-5.209.7-9.703.914-14.996 1.022-3.518.07-18.675 3.403-21.387.914-.315-.284 10.702-1.582 11.116-1.652 3.987-.637 7.145-2.335 11.247-2.972 15.164-2.351 30.751-1.921 45.893-4.495 8.696-1.482 17.976-.061 26.595-2.42 10.163-2.78 21.671-3.879 32.664-6.068 18.06-3.595 36.751-5.362 55.058-7.544 16.032-1.905 32.403-4.363 48.297-5.062 7.013-.308 14.189-1.322 21.156-2.205 4.248-.546 8.773-1.537 12.553-2.574 1.702-.467 9.355-1.052 11.97-1.791-1.282.361-2.558.723-3.835 1.085 26.841-.6 53.552-5.194 80.454-7.26 35.36-2.712 70.537-4.379 105.767-8.312 18.698-2.09 36.628-4.064 55.45-4.471 19.811-.43 39.547-5.109 58.537-6.968-3.165-.453 3.272 0 3.618-.814-.07.161-22.409 1.49-23.868 1.736 1.128-.146 4.868.33 5.429.109-3.334 1.312-11.49 1.812-15.007 1.118 1.275.056 4.715-.967 6.205-.989-14.027-.284-27.74 2.474-41.552 4.202-16.67 2.082-33.648 1.936-50.456 3.358-28.762 2.427-57.923 3.625-86.654 7.459-40.43 5.393-81.26 2.581-122.152 6.399-6.261.584-12.584.707-18.829 1.49-4.901.615-10.102 2.95-14.972 3.135-5.677.215-11.815-.454-17.815-.116-10.617.6-21.34 2.267-31.904 3.55-17.83 2.166-35.829 3.572-53.774 5.907-5.447.707-10.932 1.736-16.41 2.128-8.98.638-23.63 5.354-31.987 2.235 16.094-4.978 35.022-4.57 51.685-6.345 7.029-.745 13.981-1.767 21.072-2.635 3.595-.446 5.96-1.805 9.395-2.32 4.133-.622 8.504.092 12.76-.469 27.148-3.556 54.373-4.509 81.437-7.705-3.495-2.058-9.725 1.813-12.898-1.183 3.134-.568 10.294-2.327 14.42-2.158-5.501-.968-13.828 1.09-18.883 1.46-3.972.291-7.982.476-11.992.714 3.81-.484 7.636-1.176 9.142-1.283 7.282-.53 14.242-1.46 21.44-2.428l1.268-.322c-2.381-2.59-21.226 1.267-24.621 1.728-2.735.369-15.072 3.45-16.724 2.028.553.653 2.32.791 4.502.715-2.105.169-4.218.276-6.3.553-5.123.676-10.055 1.375-15.271 1.751-14.043 1.022-27.218 3.08-40.969 2.604 8.381-2.88 18.514-2.427 27.24-4.74-20.057-.46-40.868 5.509-60.864 6.968-7.114.515-14.181 1.452-21.28 2.374-15.126 1.959-30.16 3.165-45.293 5.124 1.836.169 9.065 1.068 14.988 1.444-13.383.453-26.719.077-40.116 1.091-22.201 1.675-44.264 6.276-66.435 8.212-34.615 3.02-68.654 11.915-103.224 14.911-19.428 1.682-38.994 5.454-58.33 8.573-19.996 3.227-39.747 5.977-59.574 9.426-33.978 5.915-67.787 11.116-101.657 17.515-12.675 2.397-25.481 4.28-38.241 6.469-9.849 1.69-19.49 2.988-29.407 4.824-3.964.73-39.04 8.358-40.116 6.023 16.509-6.837 37.496-7.713 55.042-11.032 7.113-1.344 14.22-1.997 21.34-3.342 17.554-3.318 35.077-6.898 52.677-9.956 76.959-13.351 154.624-24.513 232.006-36.835 63.208-10.064 127.123-15.587 190.554-24.045-4.156-.154 2.166-.66 2.95-.753 2.258-.276 4.54-.169 6.79-.276 1.114-.054 2.136.092 3.765.015 12.114-.553 24.52-2.965 36.59-4.056 20.618-1.867 41.152-4.932 61.748-6.584C916.348 88.75 952.2 84.84 987.99 81.237c66.104-6.652 132.754-11.746 198.997-17.085-28.962-.407-58.983 3.795-87.891 6.238-15.18 1.283-30.52 2.62-45.532 3.603-16.063 1.052-32.61 4.97-48.689 4.386 4.11-1.736 12.553.584 15.964-2.412-1.083.83-11.001-1.144-13.974-.975-3.88.215-7.905.607-11.746 1.183-4.824.722-9.495 1.636-14.388 2.15-20.788 2.175-41.668 2.974-62.371 5.355-28.685 3.296-57.431 4.556-86.009 9.157-28.83 4.64-59.036 4.195-87.222 10.578-6.86 1.552-13.889.538-20.81 1.253-5.578.576-11.109 1.797-16.701 2.25-25.082 2.028-50.018 5.8-74.985 9.403-31.896 4.602-62.824 9.733-94.443 15.88-16.21 3.149-32.795 2.703-49.05 4.939-20.442 2.819-40.9 7.543-61.196 10.447-11.6 1.66-23.138 4.033-34.684 6.038-10.525 1.829-20.55 1.683-31.167 3.18-23.476 3.32-46.822 9.358-70.267 13.23-18.338 3.026-37.712 5.415-55.734 9.794-11.884 2.88-24.106 5.231-36.144 7.375-15.203 2.711-30.06 6.153-45.324 9.264-2.39.484-42.275 8.481-42.298 8.996.154-3.664 52.83-12.422 58.691-14.988-.768.039-4.647.177-4.524-.123 1.39-3.487 18.221-3.664 22.439-4.524 11.223-2.29 22.455-4.579 33.678-6.868 9.971-2.028 19.827-3.388 29.722-5.854 11.754-2.927 24.045-4.54 35.944-6.79 9.849-1.86 25.267-2.006 33.825-7.568-.765.027-1.53.05-2.295.07 2.566-.117 7.982-2.156 10.66-2.666 5.047-.968 10.924-1.368 15.749-3.25-20.389-1.613-41.599 8.681-59.675 10.248-7.551.653-17.223 2.497-24.652 4.525-13.336 3.634-27.202 6.83-40.86 9.364-15.365 2.85-30.33 6.983-45.686 10.118-15.487 3.165-31.604 4.847-46.676 9.126-17.37 4.924-35.076 8.65-52.784 12.522l-31.411 6.867c-3.311.73-20.273 2.29-21.61 4.34.937-1.981 11.761-3.625 14.48-4.224 5.64-1.23 10.748-2.251 16.018-4.594-10.048.346-22.747 3.365-32.542 5.961-3.78.999-7.136 2.428-11.054 2.965-1.303.178-3.815-.029-6.017-.058zm249.698-62.402l-.06.003a.86.86 0 0 0-.253.286c.065-.103.182-.197.313-.289zm0 0c.13-.09.275-.18.394-.271-.18.088-.334.18-.455.274l.061-.003zm179.793-20.552c-3.372-3.05-24.844 3.895-29.507 4.494-5.539.707-10.862 2.312-16.355 3.203-9.38 1.521-19.251 2.197-28.293 5.685 12.506-.177 25.881-4.171 38.21-6.276 11.209-1.913 22.356-3.918 33.664-5.885 1.09.046 1.85-.36 2.281-1.221zm29.307-4.67c-8.427.299-17.046 1.443-25.228 3.664 8.066.015 15.749-1.652 23.669-3.096.522-.192 1.037-.384 1.56-.569zm569.088-57.04c2.935-.177 5.892-.523 8.834-.86-5-.193-11.108-1.944-15.418.606-.276.162 5.954.292 6.584.254zm23.424-2.83zm21.209-1.365c8.796-.852 17.792-1.236 26.71-1.905-3.31-.077-7.013-.614-9.11-.584-6.914.108-13.99 1.176-20.865 1.821-4.635.44-13.564-.394-17.818 1.96 3.719-2.001 16.101-.807 21.083-1.292zm-135.911 23.2c-.477-.076-.96-.123-1.445-.13-.522.084-1.037.176-1.559.26 1.106-.068 2.635.016 3.004-.13zm115.454-11.538c-.145.075-.293.148-.444.218a2.42 2.42 0 0 0 .444-.218zm-17.078-.392c-7.974-.799-16.747-.76-25.22.323-8.727 1.114-17.723 1.398-26.442 2.688-8.135 1.199-16.424 1.39-24.575 2.566-4.978.715-15.072-.084-18.974 2.39-.876.583 10.486.422 12.39.276l18.138-1.36c12.038-.899 24.337-1.13 36.298-2.72 5.692-.76 10.985-1.543 16.762-1.636 7.3-.12 21.365 1.297 28.257-1.917-3.2 1.227-13.774-.325-16.634-.61zm91.094-5.823c1.882-.146 4.579-.046 7.206-.154-5.539-.007-12.253-1.428-16.916.254 2.39-.446 7.844.046 9.71-.1zm34.915-2.95c-4.179.553-9.257 1.698-13.013.161 2.389-.63 11.684-2.827 13.013-.16zm3.949-1.244c9.656-1.675 19.827-2.213 29.56-1.667-8.826 2.596-20.403 2.558-29.56 1.667zm30.59-9.265c-1.237-.1-2.481-.192-3.718-.284-1.176.292-2.351.576-3.526.868 2.412-.192 4.832-.384 7.244-.584zm8.05-.645c-2.181-.484-4.309-.315-6.383.514 2.128-.176 4.256-.345 6.384-.514zm98.53-1.106c-1.259.576-7.973.138-9.894.3l-6.983.575c5.962.361 12.392 1.183 16.878-.875zm177.011-5.309c2.205 1.43 5.938.515 8.712-.054-2.22-1.467-5.939-.553-8.712.054zm-44.732 5.024c4.908-.092 9.64-.138 14.565-.56-1.583.268 6.921-.4 5.477-1.39-2.274-1.568-11.3.076-14.273.16-5.286.146-14.074-.514-18.921 1.721 1.974-.845 10.378.115 13.152.07zm34.469 43.527c-10.501-.73-23.192-.814-33.302 2.143 9.749.922 20.38-.653 30.122-1.52l3.18-.623zm25.443-1.529c-3.372-3.31-12.852-.384-17.077.784 2.35.169 4.709.33 7.06.5 3.295-.677 6.79-.178 10.017-1.284zm70.544-6.384c-6-.468-12.022-.115-18.022.077-.86.031-11.615 1.506-10.985 2.282 2.689 3.28 23.56-1.452 27.379-1.805.545-.185 1.09-.377 1.628-.554zm114.463-8.788c-5.561-3.864-12.913-.999-18.967.407-6.168 1.43-13.251.722-19.481.876-8.589.215-16.87 2.182-25.413 2.55-8.696.377-16.124.254-24.644 2.605.484 2.773 77.973-4.61 86.293-5.385 1.106.169 1.844-.185 2.212-1.053zm12.13-.53c-.01.003-.02.006-.027.01a.157.157 0 0 0 .027-.01zm79.725-6.852c-.03.008-.06.017-.084.028a.846.846 0 0 0 .084-.028zM270.939 147.764c.576-.23 1.221-.4 1.744-.676-.492.261-1.083.484-1.744.676zm-37.934 7.267c.43.515 1.037.576 1.805.177 6.799-1.283 13.674-2.382 20.442-3.856 4.763-1.038 10.97-1.714 15.687-3.588-4.402 1.29-12.045 1.237-16.309 2.25-5.393 1.276-17.093 1.852-21.625 5.017zm29.522-10.54c-3.303 1.644-8.804 2.436-12.383 2.336 3.303-1.621 8.811-2.443 12.383-2.336zm46.408-7.298c-2.474 1-5.247 1.514-8.305 1.575 2.466-.998 5.224-1.513 8.305-1.575z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),33:'<svg viewBox="0 0 1920 358" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1917.452 7.061c-.313 1.498-4.576 1.888-6.03 2.812-2.74 1.734-5.044 4.348-8.481 6.12-9.324 4.802-19.8 9.275-29.307 12.818-3.205 1.191-6.139 2.275-8.976 4.057-1.82 1.152-1.694 3.001-3.776 4.376-3.127 2.12-7.57 2.682-10.92 4.425-6.333 3.282-11.638 8.597-18.251 11.54-13.593 6.052-27.322 13.061-40.674 18.483-6.1 2.479-12.586 4.802-18.802 7.64-6.477 2.952-6.138 6.09-13.254 8.655-.688-.997-.049-1.753 1.926-2.266-18.918 4.677-37.807 13.961-56.435 21.33-14.097 5.586-28.349 10.194-42.533 15.103-14.01 4.85-27.806 12.006-42.145 14.64-7.387 1.355-13.729 3.998-20.642 6.68-3.805 1.471-7.455 1.781-11.192 3.708-3.079 1.588-9.76 3.524-11.899 6.177-.32.397 10.486-2.13 11.812-2.556 4.599-1.5 9.43-2.634 14.068-4.435 7.63-2.952 15.133-6.322 22.665-8.674 15.094-4.725 30.488-9.324 45.418-14.978 16.933-6.41 34.109-14.33 51.507-19.18 13.565-3.786 26.8-5.102 40.296-9.837 12.984-4.55 27.051-11.328 38.757-15.162 7.203-2.362 14.213-4.89 20.97-8.239 4.658-2.314 16.053-9.75 21.543-7.136 1.723 1.124-10.544 5.422-11.454 5.78-3.814 1.501-7.755 3.428-11.744 4.86-4.068 1.46-33.117 10.84-35.682 13.865 1.455-.942 7.834-.244 8.621.194-1.433.89-8.365 4.734-9.517 4.425 1.55.561 4.918-.281 8.781-1.637-3.243 1.608-5.973 3.04-6.922 3.505-2.11 1.055 24.592-9.052 24.263-9.372-1.675-.716-.204-1.394.687-1.762 3.224-1.355 6.303-3.127 9.75-4.367 8.888-3.195 15.404-7.019 24.379-8.413-3.34 3.66-13.787 9.023-18.396 11.802-5.063 3.05-12.16 6.032-17.611 8.433-8.143 3.582-16.44 6.148-24.524 9.798-21.93 9.895-44.953 18.85-67.773 26.819-24.36 8.51-48.487 17.563-72.518 26.732-9.44 3.601-19.615 5.499-28.92 9.42-5.034 2.12-9.75 4.173-15.055 5.896-8.258 2.692-24.718 11.802-33.19 10.505.136.02 22.046-8.133 25.87-11.037-3.727 2.478-26.344 7.222-29.597 8.752-5.102 2.411-11.686 8.007-18.211 7.3.6-.503 1.21-1.016 1.81-1.53-5.673.078-10.543 3.835-15.83 5.393-3.64 1.075-7.445 1.278-11.211 2.556-7.523 2.566-15.22 4.948-22.927 7.01-20.167 5.393-37.856 14.048-58.159 18.618-18.26 4.105-36.055 9.42-54.393 14.755-20.487 5.955-41.07 11.59-61.683 17.128a11184.603 11184.603 0 0 1-30.943 8.249c-2.155.577-21.629 4.369-24.487 5.756 1.86-1.26 11.064-4.63 12.365-5.31 12.586-6.536 1.278-5.103-6.448-3.012-11.047 3.001-22.675 5.557-34.06 7.949-22.26 4.666-44.818 11.56-65.324 15.249-33.122 5.954-68.78 11.502-101.263 20.835-15.53 4.463-32.096 4.192-47.76 7.262-20.594 4.027-41.933 7.735-62.691 10.398-33.954 4.347-68.741 8.49-102.773 14.252-15.23 2.575-29.733 3.708-45.079 5.877-6.342.9-50.2 6.69-51.091 3.62 5.015-.706 20.429-.01 23.962-3.843-.62.668-20.206 1.568-21.987 1.694-11.483.804-23.217 2.198-34.67 2.895-10.602.649-20.623 4.318-31.186 4.415-12.625.106-24.418 1.975-36.8 3.224-12.239 1.24-22.008 1.491-35.107 1.917-9.295.3-18.231 2.353-27.41 3.108-10.485.871-21.203-.155-31.737-.02-24.863.31-49.678 1.404-74.705 2.111-9.75.271-19.383.145-29.2.649-7.63.397-31.05 4.105-35.833-.63 12.905-4.57 30.217-.939 43.616-1.607 9.12-.455 18.009-.648 26.993-.464 20.342.406 39.793-1.327 60.038-3.002 52.369-4.347 104.167-6.69 156.1-12.576 11.929-1.356 24.012-3.331 35.64-4.454 9.217-.89 18.608-1.181 28.135-3.05 7.687-1.51 14.978-1.24 22.83-2.314 9.982-1.375 20.826-3.36 31.011-3.543 18.822-.349 37.75-5.52 56.532-7.485 16.247-1.704 32.686-6.777 48.807-8.21 6.1-.532 12.14-.31 18.289-1.133 4.308-.57 10.088-.377 14.077-2.294 1.114-.533 4.154-3.65 3.912-3.553 6.36-2.489 16.081-3.38 22.646-4.444 11.812-1.917 23.197-2.963 35.426-4.173 7.823-.785 18.211-2.42 24.872-6.603-17.291-1.191-33.17 5.644-50.268 6.98-18.037 1.414-36.21 4.338-54.228 6.962-13.39 1.946-26.17 4.502-39.638 6.012-16.45 1.84-33.363 3.834-49.552 6.584-61.828 10.514-125.264 13.874-187.721 20.932-61.5 6.951-123.473 6.642-185.321 9.837-54.838 2.836-110.219 2.343-164.873-.455-18.85-.969-38.301 0-56.629-2.673-22.2-3.233-44.42-5.935-66.485-9.885-24.825-4.444-50.027-11.56-73.157-21.358-6.273-2.662-54.847-22.723-52.514-27.932 8.597 1.384 17.94 9.41 25.928 13.1 19.035 8.78 37.643 16.284 58.033 21.958 34.148 9.498 69.894 17.873 105.823 20.67 89.606 6.981 179.55 3.583 269.079 2.315 40.867-.581 82.044-4.648 122.756-7.29 14.707-.96 29.762-3.022 44.314-4.542 14.794-1.549 31.185-1.462 46.047-5.547-13.06-1.55-27.438 2.265-39.802 3.456-13.594 1.307-27.41 3.108-41.187 3.776-15.868.775-32.473 2.866-47.993 3.282-9.808.262-21.968 3.737-31.563 1.985 2.392-1.694 8.762.687 10.321-1.869 1.481-2.09-21.658-.513-24.166-.116-15.917 2.498-32.59 1.782-48.584 2.043-21.484.358-44.004 1.723-65.536 1.772-18.26.039-36.617 1.046-55.003-.078-19.025-1.161-37.992-1.045-57.181-.677-17.573.339-33.722 1.278-50.8 1.549-17.922.28-35.388-5.703-53.164-6.71-16.043-.91-31.166-4.918-46.88-8.016-9.943-1.956-16.943-5.383-26.063-8.743-11.754-4.328-24.612-8.646-36.888-12.219-12.683-3.688-24.244-8.394-35.736-15.403-8.433-5.142-18.163-8.646-26.402-14.756-10.38-7.687-22.036-14.823-31.709-23.914-.89-.833-16.042-16.072-15.345-16.488 1.103-.668 27.119 24.156 31.834 25.647-1.114-.823-1.54-1.8-1.288-2.924 3.147-.377 5.848 4.832 7.784 6.429 5.277 4.347 11.793 8.084 17.592 11.647 7.63 4.686 14.784 9.101 22.927 12.432 9.904 4.047 33.606 19.102 43.49 15.578a4.152 4.152 0 0 1-1.606-1.588c5.218-1.026 11.899 4.967 17.408 4.54-5.258-5.072-18.406-8.655-25.357-10.465-4.338-1.133-5.519.716-9.537-.707-1.946-.697-6.041-3.253-8.684-4.463-13.207-6.061-27.38-11.909-40.064-19.403-17.805-10.524-33.848-24.001-48.37-38.466-10.515-10.466-17.902-24.873-24.535-37.924C5.42 189.772-.35 174.901.017 174.97c1.781.116 8.81 16.565 10.63 18.192-.525-4.023-2.884-9.587-4.814-14.314l-2.6-6.285c-.433-.805-.911-1.606-1.344-2.414L0 167V0h1920v6l-2.548 1.061zM218.237 314.04c-.485-2.324-19.21-4.018-21.804-4.705-6.932-1.83-18.483-5.16-25.618-4.464 6.157 4.009 16.333 3.834 23.314 5.848 7.387 2.13 14.62 2.75 22.374 4.067.843.222 1.414-.03 1.734-.746zm382.434 18.096c.513 1.849 11.83-.088 12.325-.126 2.691-.271-13.071-2.518-12.325.126zm32.182-1.095c6.67-.28 13.768-1.278 20.622-2.062 2.808-.3-6.312-.958-8.21-.871-4.936.232-22.074-.445-25.083 2.727.813-.856 10.824.284 12.671.206zm196.58-18.656c-4.433-.126-9.362.474-13.573 1.897 2.972.804 6.554-.571 9.653-.048 1.307-.62 2.614-1.24 3.92-1.85zm10.903-.736c-1.666.958-3.457 1.239-5.354.852.948-1.733 3.379-2.256 5.354-.852zm-47.926 23.197c.852-.658 5.848-.503 3.94 0-1.18.175-4.743.678-3.94 0zm23.72-2.13c-1.17 1.065-13.37 1.424-13.254.959 1.424-3.224 13.633-1.297 13.255-.959zm29.87-4.453c-3.99-.61-20.594.523-23.615 3.272 3.108-2.662 15.772-.32 20.294-1.423 1.113-.62 2.217-1.24 3.32-1.85zm218.2-43.404a7.247 7.247 0 0 1-4.347.988c-1.627-.33 5.383-2.256 4.347-.988zm35.32-7.465c-2.73.34-4.56-.523-7.475-.203-7.29.804-11.957 3.02-16.44 5.983 2.488 3.505 31.33-5.576 36.685-6.758 2.381-4.376-11.415.823-12.77.978zm39.676-7.213c-2.779 2.518-10.437 1.598-12.074 3.302 2.014-2.13 12.287-3.486 12.074-3.302zm58.072-11.899c-4.25 1.036-7.465 2.014-11.851 1.51.93-4.056 14.484-3.804 11.85-1.51zm29.636-9.285c.106-2.45 14.88-1.8 10.263.513-1.704-.184-10.38 2.237-10.263-.513zm37.197-7.871c-3.64-.397-18.453 1.83-20.331 5.15-.223.34 14.077-1.984 16.953-3.862a8.459 8.459 0 0 0 3.378-1.288zm13.4-1.491c1.714-1.172 3.437-2.353 5.16-3.524-.145-.29-.28-.572-.416-.862-4.908.271-4.008 1.83-7.038 3.737.329.707 1.558 1.21 2.294.649zm35.542 4.115c-5.857 1.007-13.4 1.045-18.211 4.996.387 1.161 11.918-2.663 14.552-2.556a9.732 9.732 0 0 0 3.66-2.44zm51.74-28.049c-2.285-3.001-22.065 3.931-25.908 4.987-3.534.968-7.194 2.846-10.95 3.843-5.78 1.53-13.12 2.508-18.522 5.364 8.772.89 17.96-2.856 26.18-5.538 8.53-2.779 16.74-3.64 25.289-6.235a529.832 529.832 0 0 1 3.911-2.42zm10.157-2.904c.28-.465-3.525.435-2.498.174 2.691-.774-6.671-.116-5.77.823.851.89 5.634-.368 6.68-.358a270.34 270.34 0 0 1 1.588-.64zm9.352-1.375c3.883-1.113 13.99-2.508 16.556-6.012.262-.349-23.75 2.769-16.556 6.012zm12.887 9.498c.687 1.597 8.917-1.636 9.4-1.772 3.806-1.171-10.61-1.046-9.4 1.772zm15.907-4.105c-.523.261-1.046.523-1.568.774-2.798-.135 1.54-.726 1.568-.774zm-1.423-14.668c1.442-1.094 3.166-1.588 5.238-1.51-1.482 1.103-3.205 1.597-5.238 1.51zm18.657 10.195c-.746.571-5.48 3.989-6.603 1.781-1.307-2.565 10.35-4.599 6.603-1.781zm-9.75-12.219c3.65-.29 7.571-.455 11.096-1.375 1.82-1.316 3.65-2.643 5.48-3.96-4.6-.387-11.793 3.96-16.576 5.335zm24.253 8.569c-3.408-2.266-7.426-.252-10.766 2.12 1.21 2.14 8.249-.968 8.917-1.162.62-.32 1.23-.648 1.85-.958zm1.56-14.726c-1.55 1.161-3.283 1.675-5.21 1.549.726-2.004 3.04-2.653 5.21-1.55zm13.26 9.334c-.623.095-3.662.221-4.363 1.045.852.358 1.675.319 2.478-.126.644-.308 1.288-.607 1.923-.914l-.039-.005zm18.118-5.49c-.28.212-4.938.919-6.506 2.826 1.481-1.055 1.772-1.055.89.01 1.443-.794 4.222-1.723 5.616-2.837zm3.863-14.214c-1.52.475-20.738 5.122-20.254 3.767 1.384-4.27 20.002-3.69 20.254-3.767zm239.084-65.788c3.999-.358 7.465-.068 11.919-1.22 6.67-1.723 14.048-5.315 20.428-8.123 5.277-2.324 10.621-4.367 15.975-6.71 2.402-1.055 11.764-4.037 12.577-5.818.726-1.724-10.408 2.13-11.163 2.4-6.642 2.392-13.293 4.774-19.935 7.165-12.577 4.522-24.447 8.627-37.159 12.993-2.207.775 6.37-.59 7.358-.687zm-68.005 22.549a32.232 32.232 0 0 0-6.69 2.391c1.394 2.479 6.903-.57 8.287-1.665-.251-.687-.784-.93-1.597-.726zm-26.403 8.762c-.251.087 8.791-.91 12.2-2.227 1.849-.716 3.66-1.23 5.392-2.198-6.012-.474-12.034 2.547-17.592 4.425zm-6.854 8.782c2.352-.765 6.148-2.982 8.636-2.498 1.094.174-11.405 4.066-8.636 2.498zm-6.023-3.457c-.59.717 5.316-.978 4.26-1.365-1.558.01-2.972.465-4.26 1.365zm-86.952 27.72c-3.012.367-6.323 1.945-9.227 2.836-2.169.668-10.612 4.831-12.616 4.425 6.37 1.597 18.822-5.412 24.38-7.126 4.143-1.346-4.958.155-2.537-.136zm9.914-15.55c-2.789.95-7.659 3.844-10.253 1.675 2.091-.88 12.102-2.314 10.253-1.675zm15.142-4.686c-1.384.455-8.336 3.786-9.478 2.053-2.314-3.486 14.823-5.683 9.478-2.053zm23.082 4.686c-5.122.688-11.202 6.361-15.317 5.79 4.231 1.307 11.028-4.812 15.317-5.79z" fill="'.concat(e,'" fill-rule="evenodd"/></svg>'),34:'<svg viewBox="0 0 1920 381" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M.025 367.84L0 368V0h1920l-10.314 7.057c-.107 2.047-5.607 4.204-6.828 5.613-2.445 2.811-2.466 6.336-6.568 8.791-4.658 7.606-17.698 16.125-24.884 21.276-6.767 4.815-8.519 9.798-14.624 15.002-9.872 8.403-18.339 17.918-28.4 26.217-10.826 8.917-22.45 16.838-33.224 24.601-4.249 3.063-9.683 5.56-13.387 9.253-4.427 4.417-3.336 5.917-9.914 9.715-.87-.903-.377-1.805 1.5-2.707-17.939 7.868-35.196 20.1-52.748 30.172-12.515 7.176-25 12.148-38.008 18.307-16.503 7.826-32.554 17.477-50.284 22.314-6.819 1.857-12.756 5.319-19.145 8.13-5.582 2.455-16.922 4.91-20.71 10.218-.482.682 12.065-3.304 13.303-3.734 6.892-2.371 13.596-5.141 20.216-8.236 8.844-4.133 16.9-7.658 25.84-11.257 24.023-9.662 47.303-20.824 69.858-34.022 10.334-6.053 22.566-10.721 33.75-14.77 17.163-6.222 35.48-15.097 49.758-26.91 6.484-5.361 14.95-9.421 22.671-14.97 5.445-3.914 16.125-16.482 23.332-14.824.944.367-18.8 14.886-20.71 16.093-3.756 2.38-32.457 19.453-32.987 22.008.295-1.419 8.033-1.92 8.995-1.572-1.144 1.154-7.763 6.4-8.823 6.274 1.805.346 5.172-1.249 8.907-3.525-3.021 2.35-5.602 4.427-6.588 5.172-2.099 1.573 23.478-14.058 22.587-14.635-.577-.462-2.004.031-3.82.996 1.71-1.269 3.19-2.381 4.082-3 3.294-2.287 6.378-5.078 9.945-7.333 7.952-5.036 13.124-9.862 21.496-13.345-2.14 4.123-10.826 11.394-14.55 14.845-4.617 4.27-9.967 7.575-14.845 11.54-6.987 5.686-14.583 10.512-21.895 15.789-19.66 14.184-41.691 25.252-62.463 37.83-24.486 14.824-51.752 26.238-77.37 38.513-9.642 4.616-20.08 7.616-29.669 12.337-5.634 2.77-10.9 5.35-16.911 7.564-8.372 3.074-24.507 12.977-33.1 11.823.011 0 23.06-9.61 26.658-12.704-3.535 2.654-27.329 8.613-30.654 10.27-5.256 2.623-12.107 8.456-18.957 7.7.629-.555 1.248-1.101 1.867-1.657-7.774.094-20.583 6.242-28.567 8.76-8.854 2.801-17.813 5.434-27.067 7.606-18.526 4.343-34.955 10.25-53.409 14.498-17.415 4.018-34.19 6.42-51.804 9.704-23.794 4.428-47.681 8.173-71.716 11.068-11.1 1.343-22.22 2.529-33.35 3.599-1.924.185-30.833 1.347-32.25 2.026.794-.666 12.655-2.705 14.11-3.18 12.075-3.913 5.424-4.889-3.493-4.69-11.687.263-23.405-.189-35.071 1.05-7.323.776-14.436-.62-21.832-.043-4.49.357-9.756 2.13-14.205 2.14-3.776.011-7.815-.471-11.613-.88-8.152-.882-12.778 1.28-20.111 1.059-18.517-.556-40.411-3.871-60.092-6.148-11.351-1.311-23.427-.566-34.704-2.098-9.306-1.259-18.884-1.248-28.147-3.367-5.424-1.249-10.334-1.008-15.611-1.543-4.962-.503-9.001-3.577-13.69-4.364-5.928-.997-13.482-1.49-19.587-2.266-20.856-2.665-41.544-7.018-62.19-10.113-33.13-4.973-66.093-12.747-99.538-17.95-14.373-2.235-27.77-5.403-42.363-7.659-6.095-.944-48.562-8.245-48.562-11.277 4.951.734 19.806 5.854 24.087 3.084-.487.314-22.168-4.805-22.933-4.962-5.256-1.06-10.26-2.36-15.737-3.137-10.826-1.532-21.14-4.773-32.081-5.508-12.254-.818-23.321-4.102-35.659-5.507-8.949-1.018-19.135-.462-27.675-1.815-8.77-1.385-20.268-4.333-30.581-5.204-11.939-1.018-24.245-.66-36.393-3.137-24.612-5.014-51.101-7.081-76.217-7.102-14.509-.01-28.787-.692-43.327.02-6.735.326-27.518 3.348-31.704-.838 11.624-5.487 31.4-1.71 43.989-1.574 14.456.168 28.587-.346 43.023.64 19.545 1.332 40.348 1.28 60.375 3.986 11.897 1.606 24.518 1.186 36.425 3.64 9.106 1.879 18.873 1.533 28.116 2.708 8.948 1.133 17.215 3.598 26.216 3.451 11.3-.189 23.406 3.294 35.114 4.71 13.564 1.627 28 2.466 41.24 4.68 10.081 1.678 19.156 4.962 29.783 6.252 8.466 1.028 15.789 3.126 24.234 4.668 9.715 1.773 20.5 2.718 30.172 5.235 18.39 4.784 38.26 5.907 56.567 11.184 16.209 4.668 33.896 3.85 50.105 7.805 6.441 1.574 13.156 4.07 19.775 5.476 4.574.976 9.988 2.203 14.635 1.72 1.647-.167 3.61-2.087 3.871-2.097 6.757-.347 16.513 1.93 22.986 2.99 12.159 1.993 23.689 4.637 36.152 7.207 7.637 1.573 18.327 3.2 25.902 1.143-13.47-5.686-29.71-6.504-44.272-8.193-18.852-2.182-38.24-6.767-57.123-10.512-26.804-5.319-54.144-9.956-81.105-15.726-112.82-24.14-229.458-42.866-344.313-49.842-36.54-2.224-75.104-3.221-111.54.094-44.87 4.092-90.358 5.308-134.21 16.995-30.161 8.036-59.127 18.475-88.974 28.756-17.834 6.137-35.417 14.897-52.412 23.468-5.235 2.644-10.491 6.022-15.328 8.466-3.147 1.585-29.615 19.01-31.808 17.457-1.248-.891 41.313-26.133 46.254-28.881 13.324-7.396 27.33-13.05 40.537-19.23 28.347-13.26 58.215-21.076 88.145-29.385 73.07-20.28 146.485-21.633 221.716-23.038 36.833-.682 74.17 4.784 110.815 7.92 32.795 2.801 65.695 8.624 98.363 12.978 14.53 1.93 31.054 7.112 46.307 6.315-11.361-5.025-26.626-6-38.27-7.249-12.841-1.374-25.452-3.745-38.555-5.267-17.058-1.982-35.386-4.668-51.93-7.238-9.756-1.521-22.398.22-31.567-3.158 2.633-1.437 8.602 2.035 10.533-.357 2.067-2.287-22.933-4.091-25.808-4.05-15.652.221-30.938-2.821-46.475-3.608-20.184-1.018-41.69-2.57-61.907-1.542-9.62.482-19.104 1.888-28.829 1.353-10.187-.566-17.425.776-27.539.378-17.152-.682-35.417 1.72-52.475 4.437-18.915 3.011-36.1 6.431-53.378 11.456-16.555 4.805-35.68 6.337-52.035 11.551-13.9 4.427-26.794 8.246-40.18 13.072-17.164 6.19-32.764 10.082-48.794 18.086-23.688 11.823-47.209 24.14-68.873 39.53-6.055 4.299-51.723 39.294-50.237 43.443-1.484-3.368 23.118-25.477 24.797-28.598-3.127-.252-2.403-1.144-1.427-2.088-5.004 3.462-10.082 6.871-14.394 11.005-8.099 7.763-15.421 17.048-21.81 26.888-1.857 2.875-14.383 27.969-13.9 35.974-.746-4.669 1.174-14.887.923-16.89-2.927 3.556-4.28 13.868-4.04 18.558.032.713 1.574 15.484 1.186 15.17-3.033-2.448-3.879-7.45-4.026-12.527zM1830.68 44.164c7.428-5.917 12.747-10.764 18.275-18.853-1.175-.88-18.4 17.09-25 23.605 2.613-1.794 5.078-3.441 6.725-4.752zm-6.725 4.762c-3.546 2.424-7.385 5.12-10.081 7.764 2.885-1.836 5.665-3.767 7.973-5.76.43-.377 1.164-1.08 2.108-2.004zM181.19 182.046c-12.232.892-20.142 10.554-31.462 13.386 8.75-.42 16.282-9.956 24.885-10.27a15.64 15.64 0 0 0 6.577-3.116zm43.307-13.932c.997-.304-8.277-.23-10.931.64-4.774 1.563-8.97 3.787-13.691 5.109-2.875.808-14.53 2.958-15.925 5.948-.105.305 16.334-3.64 18.516-4.259 7.008-1.983 14.74-4.983 22.031-7.438zm17.866-4.731c3.21-2.193 8.204-3.18 12.138-3.043-3.86 1.175-8.036 2.864-12.138 3.043zm-88.47 62.903c-7.333-.556-17.415 5.466-23.29 9.442-6.766 4.585-10.124 7.323-17.572 11.488-11.173 6.242-24.003 13.795-34.18 21.82-4.815 3.798-8.392 9.296-12.861 13.209-1.112.976-2.319 1.846-3.504 2.759 3.766-2.35 7.637-4.417 8.57-5.12 7.166-5.402 14.698-9.651 22.095-14.31 6.483-4.08 11.917-9.126 18.663-13.123 6.43-3.809 25.388-10.418 28.22-17.583a4.005 4.005 0 0 1-2.276.063c2.55-4.543 12.631-4.973 16.135-8.645zm53.147-23.353c-1.657-2.003-18.61 6.578-20.96 7.376-7.103 2.391-19.42 6.735-24.476 12.232 7.658-.913 17.09-7.102 24.391-10.03 6.505-2.601 13.104-5.297 19.891-8.014.881-.22 1.27-.735 1.154-1.564zm26.878-22.345c2.182-.882-5.676.912-7.47 1.51-2.087.703-11.162 5.13-12.337 4.753 5.602 1.73 14.719-4.532 19.807-6.263zm358.024 5.486c-.283-3.136 14.992 2.14 12.232 1.93-.514-.041-12.043.064-12.232-1.93zm46.422 4.742c-2.329-.45-4.616-.87-7.05-1.206-3.545-.483-16.91-3.819-19.806-1.532.314-.262 12.096 2.098 13.764 2.371 6.252 1.018 12.914 1.847 19.44 2.518 3.105.367-4.973-1.888-6.348-2.15zm153.231 28.011c-3.724-.566-11.246-.336-14.32-2.518-.084-.084 17.404 2.97 14.32 2.518zm28.787 4.994c-4.217-1.48-9.221-2.36-13.701-2.161 2.58 1.72 6.515 1.405 9.326 2.885l4.375-.724zm5.309 1.815c1.531-1.563 3.923-1.238 5.423.808-1.898.42-3.703.157-5.423-.808zm-43.548 11.298c-1.28.735-4.532-.954-4.396-1.017 1.144-.483 4.28 1.06 4.396 1.017zm18.988 3.935c.766-.378-10.784-5.739-12.998-3-.325.566 11.603 3.713 12.998 3zm26.29 5.392c1.26-.262 2.508-.535 3.777-.797-3.41-1.847-20.174-5.76-23.688-3.945 3.567-1.7 15.369 4.522 19.912 4.742zm228.378 26.51a6.986 6.986 0 0 1-4.543-.42c-1.5-.88 5.959-.545 4.543.42zm36.865 3.337c-2.812-.441-4.04-1.91-6.872-2.497-7.7-1.616-12.851-.672-18.338 1.08 1.301 4.207 32.826 3.85 38.093 4.176 3.378-3.599-11.341-2.529-12.883-2.76zm28.41 3.934c2.475-1.574 13.354-.242 12.882 0-3.41 1.815-10.931-1.217-12.883 0zm61.697 1.72c1.898-3.997 15.547-.503 12.274 1.322-4.553.053-7.963.304-12.274-1.322zm44.23-1.385c-.651 2.655 8.58 2.078 10.26 2.613 5.37-1.616-9.6-5.34-10.26-2.613zm79.646-3.535l1.898.157c-.094-.008-4.264 1-1.898-.157zm-40.41 3.126c-3.547-1.206-19.105-2.066-21.633.923-.514.515 14.74.997 17.95-.325a223.9 223.9 0 0 1 3.682-.598zm19.754-1.72c-.095-.336-.178-.661-.273-.997-5.088-.598-4.385 1.238-7.805 2.738.2.787 1.343 1.595 2.213 1.112 1.952-.944 3.903-1.899 5.865-2.853zm29.868 13.596c-5.875.031-14.174-1.133-19.577 2.098.2 1.322 12.663-.734 15.412-.136a9.847 9.847 0 0 0 4.165-1.962zm56.976-22.262c-1.983-3.525-23.028.766-27.193 1.375-3.713.535-7.742 2.087-11.697 2.643-6.106.86-13.743.724-19.692 2.801 8.876 2.56 18.727-.199 27.529-1.95 9.169-1.837 17.54-1.428 26.741-2.896 1.437-.661 2.875-1.322 4.312-1.973zm9.033-1.364c.566-.178 1.122-.346 1.689-.514.356-.482-3.662.074-2.581-.094 2.675-.493-6.735-.787-5.99.23.744 1.018 5.853.253 6.881.378zm29.017-5.539c.347-.398-24.79.22-17.582 4.606 4.144-.777 14.676-1.186 17.582-4.606zm4.774 15.4c-.546.106-9.369 2.645-9.935.872-.997-3.169 13.995-1.69 9.935-.871zm6.966-1.783c-.021.042-4.595.2-1.69.661.557-.21 1.123-.43 1.69-.66zm5.161-17.047c-2.108-.21-3.923.136-5.497 1.133 2.109.346 3.924-.01 5.497-1.133zm6.096 15.096c1.007 2.465 6.19-.934 6.966-1.48 4.05-2.79-8.152-1.415-6.966 1.48zm-2.298-15.4c3.777-.053 7.826.041 11.488-.703 1.961-1.301 3.913-2.602 5.875-3.903-4.606-.734-12.432 3.472-17.363 4.605zm22.566 11.865c.661-.305 1.322-.609 1.972-.913-3.241-2.591-7.679-.787-11.309 1.563 1.112 2.382 8.571-.472 9.337-.65zm4.375-16.639c-2.203-1.385-4.595-.892-5.466 1.238 1.972.273 3.798-.136 5.466-1.238zm13.48 11.152c-.03.042-3.881-.126-4.73.776.86.462 1.72.483 2.601.074.713-.284 1.427-.567 2.13-.85zm13.03-2.025c1.616-.84 4.354-1.605 5.938-2.811-.273.188-5.182.786-6.86 2.77 1.573-1.07 1.877-1.06.922.041zm10.302-18.023c-1.657.461-21.548 4.532-20.992 3.116 1.584-4.449 20.751-3.043 20.992-3.116zm262.82-93.223c-8.782 5.529-17.993 9.421-27.476 14.341 1.416-.734 11.582-1.552 15.62-2.654 8.53-2.34 19.115-10.407 26.438-15.222 3.567-2.35 22.996-12.4 23.961-16.45.346-1.72-15.054 6.767-17.32 8.078-6.977 4.04-14.405 7.616-21.224 11.907zm-94.041 47c1.647 2.486 7.154-.871 8.497-2.245-.314-.693-.902-.924-1.741-.672a31.835 31.835 0 0 0-6.756 2.917zm-2.025 2.203c-6.253-.168-12.295 3.546-17.856 5.948-.23.105 9.033-1.406 12.453-3.231 1.804-.965 3.672-1.595 5.403-2.717zm-15.443 12.61c-2.591-.367-6.42 2.308-8.77 3.284-2.843 1.94 10.019-3.169 8.77-3.284zm-10.994-1.815c1.185.357-4.879 2.623-4.291 1.762a7.35 7.35 0 0 1 4.29-1.762zm-7.659 3.535c-.042.063-9.011 2.78-9.064 2.801-1.206.494 7.48-.461 9.064-2.8zm-110.301 22.283c-.336-.619-.976-.66-1.92-.136.294.63.934.671 1.92.136zm2.79.074c-.912.839-1.783.88-2.622.136.283-.692 2.507.031 2.622-.136zm11.866 10.207c-2.12.661-11.226 4.92-13.177 4.427 6.693 2.015 19.576-5.465 25.367-7.333 1.51-.524-9.736 2.13-12.19 2.906zm9.022-18.097c2.192-.965 12.494-2.475 10.543-1.773-2.906 1.039-7.868 4.113-10.543 1.773zm16.334-4.584c-2.476-3.787 15.338-5.875 9.799-2.025-1.47.472-8.582 3.882-9.799 2.025zm34.033 2.738c-5.277.85-11.624 7.239-15.779 6.599 4.333 1.416 11.414-5.424 15.779-6.599zM77.97 240.292c5.31-3.433 18.002-9.214 21.568-15.086-1.395 1.236-9.67 5.45-11.759 7.008-1.28.954-12.925 10.123-9.809 8.078zm21.626-15.082c.042-.068.082-.136.122-.204a.862.862 0 0 1-.18.2l.058.004zm-8.512-2.145c-.986 1.794-5.655 4.449-7.344 4.732.976-1.763 5.676-4.47 7.344-4.732zm29.228-14.162c-1.249 1.51-2.959 2.444-5.11 2.832 1.26-1.5 2.96-2.434 5.11-2.832z" fill="'.concat(e,'" fill-rule="evenodd"/></svg>'),35:'<svg viewBox="0 0 1920 213" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1919.173 80.207c.278.108.554.22.827.34-1.73-.748-12.547 3.453-15.827 3.925-9.7 1.4-20.288 2.517-30.074 3.146-16.087 1.039-31.474 4.744-48.064 6.946-15.041 1.999-30.924 2.95-45.752 3.965-6.663.456-13.404-.18-20.185.865-.693.103-17.299 3.831-8.716 1.055-32.835-2.895-68.053.873-100.951.196-14.38-.29-28.524.205-42.684-.723-12.004-.78-34.03-5.043-44.705.393 3.146-1.605 19.053 1.825 24.449 1.92 8.433.157 17.062-.528 25.244-.536 22.78-.015 45.28 1.912 68.108 1.448 25.314-.52 49.346 3.618 74.724 3.666 16.669.031 32.205-.181 48.544-.874-13.774.787-28.013 1.833-31.616 2.368 2.085.134 6.954 2.439 7.112 2.478-1.888.346-8.654 1.605-10.014.795 1.077.74 2.706 1.18 4.53 1.502.36.064 6.178 1.483 10.526.873.653-.22 10.612-1.597 10.958-1.022 4.61-.968 9.432-1.66 12.594-1.935 8.402-.732 15.45-1.251 23.505.007-18.344 8.402-45.853 6.105-65.984 6.797-16.842.582-33.731.826-50.754 1.212-26.298.605-52.533-.181-78.901.094-12.634.126-25.244-.181-37.964-.346-14.758-.197-39.026 4.948-52.116-1.204.449.22 22.349.15 26.754-1.022-4.783.99-32.315-1.747-34.644-1.684-.566.016-17.18 1.518-11.343-.37-11.194-3.272-28.335-1.345-40.182-1.895-11.069-.512-22.38-1.48-33.622-1.48-19.39 0-40.245-.597-60.06-1.934-23.034-1.558-46.216-2.935-69.375-4.004-16.244-.756-32.48-1.503-48.725-2.25-.96-.048-21.106-2.29-24.19-1.739 2.518-1.266 16.913-1.18 19.407-1.786-3.792-7.166-52.666-6.639-61.083-6.741-18.51-.228-35.95.07-53.508-1.353-65.127-5.286-130.915-9.833-196.718-10.313-33.165-.244-66.637-1.762-100.03-2.108-10.313-.103-87.31 4.232-88.86-.818-10.014-.504-18.046-1.11-21.743-1.023-12.193.275-24.032 1.337-36.202 2.045-27.666 1.597-53.46 2.329-80.71 4.917-29.712 2.824-59.7 3.445-89.639 6.655-13.782 1.479-27.887 2.997-41.7 4.578-8.661.991-36.886 9.818-44.053 5.35 12.422-6.042 29.515-4.69 42.999-6.719 11.58-1.746 23.048-2.957 34.683-4.263 18.809-2.109 37.39-4.327 56.568-6.349 82.347-8.66 165.566-10.32 248.164-12.067 32.49-.692 66.496-1.392 98.71.362 19.579 1.07 37.035.102 56.174.504 17.173.361 42.117 6.725 59.44 1.754-16.638-4.5-36.32-3.666-53.39-4.885-19.006-1.361-38.334-1.943-57.387-1.951-32.245-.008-65.071-1.408-97.529-1.778-122.324-1.4-247.134 6.521-368.05 24.15-59.344 8.653-118.485 19.47-176.437 33.087-28.744 6.757-57.441 14.246-85.564 23.347-8.819 2.856-83.7 29.5-85.076 26.99 16.858-13.656 54.916-20.342 76.289-27.186 15.277-4.893 31.403-9.527 47.199-13.798 85.509-23.12 171.34-37.5 258.792-50.157 44.603-6.45 89.63-7.85 134.47-12.13 21.837-2.085 43.903-3.02 65.874-4.46 14.946-.976 31.112.92 46.16-2.219-22.277-3.776-48.197.913-70.664 2.58-16.535 1.228-33.677 2.313-50.047 3.399-9.95.66-22.23 3.272-32.127 1.974 2.337-1.486 8.197.543 9.794-1.762.401-.503-36.697 2.384-39.67 2.628-11.454.944-23.152.936-34.582 2.092-16.976 1.723-34.77 4.807-51.706 6.82-76.093 9.063-150.55 26.306-224.911 45.217-56.836 14.45-116.558 31.285-170.294 55.246 2.533-1.55 4.853-3.21 6.765-5.018-7.678 1.125 8.401-4.445 11.178-5.46 7.04-2.564 13.908-5.6 20.949-8.15a373.664 373.664 0 0 0 14.655-5.671c9.306-3.823 35.494-8 41.472-15.961 1.55-3.808 9.857-3.17 14.042-6.238-11.218-1.07-26.424 7.898-34.825 11.013-12.783 4.743-25.22 9.636-37.98 15.088-13.71 5.852-27.674 11.532-41.778 17.267-5.806 2.352-10.896 6.19-16.394 8.802-4.413 2.093-27.73 10.054-43.227 16.685 1.361-.669 2.478-1.266 2.95-1.7-3.356.4-24.065 7.002-29.994 10.242L0 213V0h1920v80l-.827.207zM177.806 121.885c-5.191 2.99-9.974 5.207-12.971 4.193 4.318-1.471 8.653-2.777 12.971-4.193zm2.29 8.787c3.264-.228 7.127-1.188 11.351-2.62 1.235-.59 2.391-1.203 3.335-1.84-4.633.33-10.014 3.68-14.686 4.46zm-1.361.163l-.018-.041a8.293 8.293 0 0 1-1.296.027 7.9 7.9 0 0 0 1.314.014zm0 0c.446-.03.9-.089 1.36-.163-.452.031-.922.084-1.378.122l.018.04zm54.35-18.595c3.437-1.392 7.496-2.588 11.484-3.508a9192.43 9192.43 0 0 0-11.485 3.508zm1127.922-22.277c-.04-.008-.079-.016-.118-.032-.04.016-.079.024-.087.04.07-.008.134 0 .205-.008zM233.5 101.653l-4.098.164c-8.819 1.833-16.74 7.702-25.582 8.89 3.642.11 25.952-5.035 29.68-9.055zm40.859-10.951c-11.053-.543-19.596 5.97-29.948 6.521-.967.236-8.889 3.477-7.89 3.619 7.111.999 32.221-6.954 37.838-10.14zm26.715-6.207c-3.572.04-8.024.913-11.108 2.754a58.21 58.21 0 0 0 11.108-2.754zM238.15 122.24c-8.755 3.729-20.028 4.208-27.784 9.676 2.587-.103 44.046-14.373 44.32-14.058-1.678-1.934-14.144 4.248-16.536 4.382zm18.935-5.436c4.83-2.203 10.061-3.343 15.332-3.54-4.067 2.635-10.4 3.493-15.332 3.54zm14.53-12.83c2.15-.569 8.433-1.857 10.288-3.69-1.661.835-19.186 5.087-19.264 5.066 2.289.606 6.474-1.337 8.975-1.376zm10.288-3.69c.045-.044.087-.088.127-.133a.393.393 0 0 1-.117.081l-.01.053zm335.405-31.788c.904 2.706 11.304-1.471 12.578-.944-1.164-.598-4.845-.323-6.387-.386-.032.008-6.553.244-6.191 1.33zm51.51-3.682c-2.998.19-6.097.166-9.086-.354-3.548.339-14.553-.086-20.492 1.212 7.803-1.495 24.504 1.573 29.578-.858zm138.127-3.815c-1.29-.11-2.595-.086-3.933.236-3.186-.967-6.041-.7-8.574.802 2.784 1 8.873-.967 12.507-1.038zm28.65.252c-4.067-.559-9.007-.41-13.035.377 2.809.92 6.2.055 9.118.748 1.306-.378 2.604-.748 3.917-1.125zm10.376.495c-1.4-.102-2.84-1.156-5.333-.59 1.321 1.322 3.162 1.125 5.333.59zM802.62 76.243c-.22-.118-4.28-.487-4.264.386.968.212 4.327-.33 4.264-.386zm17.627.377l.148.016c.177-.002.311-.026.397-.078l-.545.062zm29.021-.849c-4.059-1.054-19.304-1.683-22.482.339 2.045-1.212 11.414.236 14.097.865 3.35-.173 5.081-.118 8.385-1.204zm210.524-1.722c-.394.26-3.352-1.03-4.374-.315.409.747 3.854.74 4.374.315zm47.19 2.163c-8.031-3.8-24.834-3.54-34.07-2.808.567 1.329-.172 1.864-2.225 1.612 1.07 2.266 33.896 3.414 36.296 1.196zm25.315 1.455c-3.139 1.4-7.552 1.164-10.88.606-2.886-.582 11.14-.716 10.88-.606zm57.465 3.052c-.205-2.194-11.399-2.517-12.476-.802 1.14.417 2.289.826 3.437 1.243.826.142 9.165.897 9.039-.44zm37.554 3.116c-1.093-.386-10.014-.819-9.258-2.77.889-2.289 13.483 2.117 9.258 2.77zm26.841.125c-4.476-1.69-12.138-2.179-16.67-1.203.19-.04-4.994.094-3.39.999 3.296 1.872 16.544 1.864 20.06.204zm18.282.756c-3.257-2.046-4.358-.347-7.576.361.48 2.817 8.394-.574 7.576-.361zm25.55 13.53c-5.514-.692-12.413-2.58-17.92-.708-.134 2.006 5.766.905 6.742.708 3.343.614 8.07 1.33 11.178 0zm54.94-8.3c-1.338-3.248-9.26-2.351-11.934-1.714-13.94.543-28.634-3.69-42.463-1.628 8.307 3.123 17.605 2.14 26.282 2.36 9.243.235 18.903 2.753 28.115.983zm9.991.522a.859.859 0 0 0 .044-.021l-.044.021zm8.96 1.414c-5.602-4.429 16.873-.244 16.778-.197-3.61 2.156-13.09.37-16.779.197zm8.896 10.73c.189 1.77 9.023 1.211 10.085.779-1.22-.402-2.43-.803-3.65-1.204-.102 0-6.56-.732-6.435.425zm32.245.763c-.779.047-6.466-.212-6.23 1.101.361 2.03 10.674.89 6.23-1.101zm2.777-10.14c2.84-.582 6.104-1.11 8.928-.04-6.6 1.7-10.218 1.11-16.622-.306 2.557.118 5.137.141 7.694.346zm11.697 12.665c-1.667.763-9.849 1.054-10.368-1.227 4.06-1.015 7.285-1.298 10.368 1.227zm.527-11.8c2.573-.37 3.894.771 5.31.976-2.226.362-4.051.456-5.31-.976zm27.997 13.011c-.904.567-.818.378-.22.024.212-.063.354-.094.22-.024zm4.846-.527c.37.236-2.384.22-4.374.19 1.172-.551 3.013-1.078 4.374-.19zm8.291-9.81c-3.54 1.7-16.637-6.63-20.256-2.556-.7.748 8.205 2.046 9.235 2.352 1.77.08 9 1.29 11.021.205zm242.823 19.227c6.089.857 12.264-.236 18.266-.527 9.015-.433 19.344.896 28.092-1.346.967.055 9.47-.739 8.511-1.18-9.77-4.515-33.212.032-43.919-.141-5.555-.092-20.456-3.047-25.273-.586 2.896-1.146 11.987 3.452 14.323 3.78zm-112.042.354a15.532 15.532 0 0 1 0 0zm29.61-4.587c6.733-.361 5.577-1.038 8 1.102-1.495.409-7.529 1.22-8-1.102zm-20.815-.4c5.734 1.486 12.31 1.99 18.273 1.266-5.207-1.7-13.042-2.895-18.273-1.267zm-12.32.463c1.007.3 4.304-.11 4.304-.11-.213-.126-4.256-.77-4.303.11zm-4.515-.613c3.683.65-7.825-.276-8.473-.003 2.298-1.05 6.014-.036 8.473.003zm-10.163 4.61c2.973 1.25 8.842-.37 12.523-.213-1.29-.18-2.604-.236-3.957-.031-3.178-1.322-6.033-1.243-8.566.244zm-69.21-7.151c-6.529-3.47-19.1 2.258-25.165-.873 3.021 1.707 8.11 1.534 11.462.779 1.109.047 12.334-.622 13.703.094zm.787-11.084c2.517-.102 8.865-1.015 10.659 1.314-2.32.7-8.976 1.077-10.66-1.314zm25.361.016c-.597-.079-10.1-.488-9.636 1.054.346 1.148 11.8 3.225 9.636-1.054zm13.153 12.28c1.094.047 2.36-.048 3.619-.056-4.374.252-10.297 2.227-13.475.166 1.022.464 8.897-.15 9.856-.11zm280.685-38.13c9.613-1.447 28.445-7.709 29.743-4.837-9.117 2.863-19.76 4.9-29.743 4.837zm-5.24-.102c-1.785.032-3.815.126-6.017.252 2.934-.393 5.593-.582 6.041-.252 1.692.15 3.462.095 5.216.102-2.557.386-4.492.457-5.24-.102zM154.278 130.525c.188-.153.354-.301.496-.443-.14.146-.308.285-.501.418l.005.025zm-22.75 9.036c3.531.196 18.573-5.638 22.745-9.061-2.593 1.779-9.642 2.38-12.541 4.577-1.102.433-8.803 4.476-10.203 4.484zm16.166-11.847a23.034 23.034 0 0 1-7.37 2.761 18.375 18.375 0 0 1 7.37-2.761z" fill="'.concat(e,'" fill-rule="evenodd"/></svg>'),36:'<svg viewBox="0 0 1920 219" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1497.465 78.371v.013l-.06-.036.06.012v.011c.104-.155-.078-.355-1.045-.515l-.264-.042c.43.083.84.306 1.25.545-2.26-.264-4.711-.384-2.164-.18.913.529 1.983.445 2.223.216 1.046.637 1.983 1.418 2.668.59.18-.217-1.19-.445-2.668-.614zm413.177-71.135c-3.1.997-6.044 3.028-9.66 3.905-8.94 2.15-19.767 3.749-28.443 4.794-15.681 1.887-29.74 10.887-45.938 14.468-14.323 3.172-29.86 7.87-43.63 9.805-5.865.83-12.666.108-18.506 2.572-4.698 1.982-5.695 6.224-12.064 5.239-.409-1.178.348-1.875 2.271-2.08-19.502-.6-40.014 5.877-60.333 8.004-12.918 1.358-26.063 3.388-39.005 4.698-14.756 1.502-28.767 5.347-43.246 5.191-7.246-.072-13.362.925-20.452 2.127-5.768.973-17.7.553-22.11 5.155-1.261 1.31 11.788 0 12.726-.108 5.082-.59 10.31-.337 15.645-1.202 9.168-1.478 17.411-3.653 26.52-4.89 20.283-2.74 40.987-3.16 61.582-6.621 10.575-1.779 19.058-2.98 29.512-3.329 20.043-.673 38.308 2.187 59.396-1.358 3.881-.649 6.801-1.598 10.418-2.139a31.733 31.733 0 0 0 5.12-2.74 42.935 42.935 0 0 1 3.207 1.875c5.06-.505 10.262-.72 15.273-1.538 5.984-.973 21.57-8.736 26.784-2.896.853 1.226-21.665 4.662-23.888 4.807-2.866.283-32.167 3.258-35.863 4.956 1.67-.41 7.335 2.53 7.781 2.986-1.25.481-9.252 2.548-9.757 2.175 1.346 1.202 4.29 1.478 7.955 1.262-4.17.973-7.426 1.899-7.39 2.007.565 1.442 13.338-.71 14.54-1.094.528-.348 10.477-2.968 10.646-2.62-.193-.492-1.178-.648-2.452-.684 6.67-1.418 12.978-2.98 16.258-3.473 8.4-1.25 13.483-3.497 21.533-1.562-2.944 2.415-12.352 4.494-16.546 6.032-5.648 2.067-11.211 3.257-17.16 4.542-9.408 2.043-18.84 3.653-28.441 5.24-17.664 2.92-35.929 4.71-53.93 7.798-25.558 4.374-51.693 5.756-77.36 10.37-11.715 2.103-23.924 2.776-35.82 4.89-4.902.866-9.288 1.767-14.167 2.692-6.128 1.166-30.257 6.44-35.916 3.497-.474-.249 24.855-4.639 26.532-6.32-1.581.914-28.982 2.209-30.93 2.667-4.819 1.153-10.622 6.284-16.87 3.533.648-.457 1.297-.926 1.946-1.382-5.287-1.43-10.995 1.91-16.27 2.427-6.309.613-13.146.048-19.358 1.117-12.329 2.115-24.682 1.394-37.082 4.026-19.971 4.242-43.27 5.155-64.215 7.306-21.785 2.235-43.535 5.07-65.284 7.618-4.562.535-58.409 4.093-68.8 6.785 4.327-1.505 12.3-2.18 14.03-3.937 6.777-6.873-2.127-5.3-8.928-4.458-8.327 1.033-17.363.865-25.678 1.79-12.51 1.394-24.922 4.458-37.07 5.708-3.197.324-7.054-.324-10.322-.312-6.38.036-8.916 2.62-13.29 3.28-8.411 1.274-19.19.637-28.154.024-7.162-.493-13.687 1.79-20.512 2.463-17.471 1.719-35.616 1.55-52.607 4.038-15.056 2.199-30.365 2.607-44.988 3.737-20.668 1.586-41.672 4.085-61.968 5.647-31.663 2.44-63.89 5.468-95.78 8.135-15.286 1.274-29.2 2.62-44.233 4.65-6.176.83-50.167 5.84-51.008 2.44 4.121-.565 20.043-.108 22.566-3.641.24-.348-21.533 1.19-22.05 1.226-6.44.444-12.785.745-19.418 1.646-10.959 1.49-21.593 2.21-32.383 4.338-13.29 2.62-26.917 1.442-40.435 3.424-9.865 1.454-15.861 2.572-25.655 3.557-22.278 2.235-43.342 4.819-66.029 5.912-20.992 1.021-42.393 2.62-63.385 5.66-10.79 1.562-21.269 2.006-32.083 3.569-6.886.997-31.314 6.488-35.472 2.199 11.163-6.958 30.918-3.834 43.619-5.672 9.793-1.418 19.045-1.586 28.706-2.992 20.2-2.932 39.51-5.876 60.382-7.606 18.901-1.575 37.995-3.089 57.293-5.792 8.508-1.19 18.06-3.076 26.051-3.581 6.5-.42 11.067-2.608 17.207-3.629 4.687-.781 11.392 1.634 16.51.961 21.089-2.775 43.21-7.197 63.542-8.58 8.388-.576 17.135-2.92 25.018-3.52 8.808-.66 16.414-.336 25.078-2.079 9.228-1.862 20.055-1.982 29.355-2.788 10.623-.925 21.642-1.922 32.132-3.184 16.762-2.03 33.609-2.535 50.275-4.35 12.69-1.382 26.292-.096 38.993-4.11 1.754-.552 4.566-2.847 8.7-3.147 3.256-.24 6.224-.012 9.517-.12 11.872-.41 22.89-2.596 35.4-3.1 8.182-.325 18.805.396 26.026-4.182-16.017-3.954-31.95 1.97-48.22 2.223-21.666.324-43.127 2.187-64.552 4.842-33.128 4.098-67.206 3.293-100.563 7.702-24.153 3.197-49.267 4.831-73.54 6.465-29.259 1.959-58.062 7.727-87.189 10.923-62.905 6.897-126.807 14.852-190.505 20.44-60.08 5.275-121.267 13.806-180.892 19.13-26.675 2.378-52.907 7.221-79.69 9.889-15.766 1.574-31.567 4.866-47.357 6.332-8.099.757-54.193 10.046-56.248 5.624.325.697 72.025-11.584 81.915-13.134 22.013-3.437 46.515-4.927 69.273-8.411 37.935-5.792 77-11.86 115.32-15.249 43.33-3.833 86.78-10.13 130.448-13.566 36.793-2.884 73.563-7.93 110.476-10.622 26.136-1.911 51.983-7.595 78.25-9.337 15.669-1.033 34.462-.385 49.735-6.2-15.61-3.16-32.288 3.34-47.536 3.628-13.77.265-28.418 3.738-42.513 4.831-10.659.83-22.014 2.812-31.927 3.533-8.977.649-20.86 5.19-29.753 3.388 2.02-2.066 8.52.169 9.637-2.62 1.935-4.073-29.68 1.55-31.806 1.84-14.06 1.946-28.299 1.43-42.213 2.739-19.911 1.874-40.783 6.032-60.61 8.748-3.076.42-6.897-.156-10.923.432-6.91 1.01-14.01-.673-21.425 1.07-4.686 1.093-5.876 1.442-12.545 1.658-3.88.132-7.774 1.346-11.643 1.742-17.328 1.79-34.715 1.79-52.223 5.66-31.746 7.017-65.224 9.877-100.035 13.963-14.66 1.718-31.89 6.74-47.187 6.14-4.59-.192-8.207-1.766-13.518-1.37-5.191.385-9.553 1.622-14.744 2.307-7.775 1.022-16.03 1.406-24.045 2.764-19.526 3.293-39.581 6.128-60.105 9.397-5.359.853-55.442 8.435-55.406 9.384-.096-2.523 32.624-7.714 36.012-10.346-8.351-2.066 6.549-2.715 8.147-2.86 7.582-.672 15.02-2.823 22.59-3.58 6.405-.65 12.113-1.346 18.277-2.764 9.229-2.127 38.308-1.021 43.931-8.928a3.53 3.53 0 0 1-2.066-.89c3.34-3.436 12.845-.744 16.798-3.448-5.419-2.68-20.427-.589-26.231 1.226-4.374 1.37-5.636 2.235-9.553 3.244-3.352.865-8.748.325-12.184 1.286-8.964 2.5-16.75 3.87-26.316 5.323-7.702 1.178-15.272 4.819-22.95 6.645-7.955 1.899-17.316 1.394-25.487 2.199-6.982.697-13.614 3.893-20.752 5.6-5.636 1.345-55.287 5.575-56.008 8.459.433-2.764 16.174-4.458 18.722-6.345-5.468-1.586-15.069.89-21.1 1.563.364-.041-10.04 1.726-12.006.888L0 0h1920v5c-.68.8-8.587 1.987-9.358 2.236zM262.368 160.983c-7.15 1.538-14.275 4.638-21.905 2.716 5.683-4.038 23.96-5.227 30.413-3.665-1.502 2.066-6.513 1.381-8.508.949zm-29.5 4.95c.878.397 1.707.253 2.488-.408-.865-.409-1.706-.264-2.487.409zm34.8 9.854c-1.262-2.788-14.516 2.115-16.895 1.598-6.874.54-23.324 2.44-28.61 6.2 2.643.637 45.949-6.609 45.504-7.798zm18.036-2.103c-3.617 2.523-11.668 2.367-15.561 1.262 4.83-1.959 10.598-2.2 15.56-1.262zm10.394-17.303c.108-.157-20.452 2.403-19.587 2.992 1.73 1.153 6.765-.337 9 .168 2.127-.324 9.253-1.322 10.587-3.16zm347.845-7.198c-.613-.469-5.275-.6-6.429-.637-.685-.012-6.537.289-6.068 1.983.925 3.352 11.583-1.91 12.497-1.346zm38.644-4.254c-2.956.277-6.14.397-9.097-.3-3.953.553-21.485.42-23.635 3.725-.157.252 12.64-.961 14.275-1.082 5.023-.372 14.167 1.094 18.457-2.343zm120.174-9.228c-1.418-.192-1.202-.469.649-.853 1.418.204 1.201.492-.65.853zm12.977-2.716c-1.033.084-8.375 1.923-8.4 1.899 2.548 1.129 13.203-3.075 14.396-2.308-1.455-.936-4.422.253-5.996.41zm32.336-2.643c-3.917-.373-9.205.228-12.882 1.682 2.656 1.07 6.309-.373 9.169.408l3.713-2.09zm4.987-.661c3.232-1.502 3.424-.517 5.37.372-2.282 1.13-4.12 1.49-5.37-.372zm-35.58 26.159c.684.625-3.389 1.117-4.194.925-.12-1.141 3.689-1.273 4.194-.925zm18.36-2.007c-1.081-1.394-12.148-.084-12.713 1.61-.42 2.26 8.135-.036 9.277.24.048-.011 4.59-.36 3.436-1.85zm27.998-2.811c-3.088-.89-20.14.144-22.302 2.667 1.057-1.13 11.752-.649 14.143.012 3.304.096 5.443-.95 8.159-2.68zm254.611-34.847c-4.17-2.151-14.01-.854-18.192-.89-4.975-.048-11.02.841-15.814 2.247-5.984 7.282 10.418 2.98 15.045 2.38 3.869-.505 17.207-.325 18.961-3.737zm25.378-3.125c-.817-.985-13.11 3.545-10.802 3.833.42 0 12.845-1.393 10.802-3.833zm47.921-2.283c1.19-.024 9.144-.372 8.76-2.33-.577-2.993-11.656-1.695-12.377 1.08 1.214.421 2.415.83 3.617 1.25zm36.553-6.91c.313-2.643 14.708.313 9.613 2.524-1.994-.673-9.985.685-9.613-2.523zm35.905-2.246c-3.677-1.346-13.338-.48-16.547 1.274-.696.18-2.715-.036-3.184.769-.6.865 16.679 1.081 19.73-2.043zm17.76-3.389c-4.975-.733-3.93 1.37-7.054 3.1.853 3.437 7.618.3 7.054-3.1zm19.214-.372c1.934-.156 2.283.048 1.045.637-1.947.156-2.295-.048-1.045-.637zm8.735 17.231c-5.13 0-13.278-1.081-17.663 2.283.408 2.764 5.31.553 6.729-.18 3.689-.228 8.219.432 10.934-2.103zm52.103-22.735c-1.743-4.23-9.085-2.09-12.005-.396-5.767.66-11.283 1.286-16.546 1.934-7.919.986-18.24.409-25.306 3.485 7.967 2.86 17.796.204 25.907-1.298 9.276-1.73 19.346.625 27.95-3.725zm8.195-1.55c-2.596-.757-7.09-2.067-6.165-.312.733 1.394 4.819.54 6.165.312zm10.706.986c3.52-.409 13.879-.24 16.378-3.389.24-.288-16.138-.228-17.411.517.348.961.697 1.91 1.033 2.872zm20.788 13.926c-1.274-.384-2.535-.769-3.797-1.153-.745-.036-6.56.096-6.212 1.826.468 2.367 8.976.229 10.01-.673zm3.87.036c-1.407-.228-1.178-.504.672-.829 1.43.229 1.202.505-.673.83zm27.276-21.665c-6.212 3.821-9.336 3.605-16.306 2.56 2.512-.289 5.059-.733 7.582-.878 2.536-1.333 5.792-2.775 8.724-1.682zm-9.505 17.544c4.855 2.27-5.19 5.587-5.876 2.8-.456-1.863 4.699-2.728 5.876-2.8zm4.254 1.225c3.353-2.018 7.835-4.073 10.37-.024-1.646 1.587-9.589 2.8-10.37.024zm14.035-17.483c-2.343 1.045-4.158 1.406-5.383-.517 3.328-1.394 3.412-.456 5.383.517zm17.855 14.403c.298.028.596-.122.89-.452-.294-.379-.592-.58-.89-.607v1.059zm5.611-.01a3.919 3.919 0 0 0-.383.47c.817-.318 1.193-.564 1.289-.73l-.906.26zm-.354-.33c-.3.116-.6.296-.846.56.318.037.61-.038.886-.177l-.04-.383zm.955-.236v-.014c1.339-1.22 3.508-2.393 5-1.28.409.3-4.542 1.141-4.71 1.177-.079.098-.197.076-.29.117zm11.297-17.576c-1.659 1.67-18.277-5.227-20.296-.313-.889 2.031 8.087 1.55 9.469 1.923 1.25-.144 9.529-.156 10.827-1.61zm44.568 10.562c-5.78-3.413-19.9 5.768-24.754 3.004 2.596 1.646 8.736 1.166 11.344-.793 1.526-.168 12.677-2.644 13.41-2.21zm9.468-16.739c-1.922-2.86-7.906-.865-10.67-.192 1.454 2.343 8.183 1.863 10.67.192zm14.168-4.373c2.547 5.443-8.676 4.986-9.253 3.184-.805-2.487 8.183-3.232 9.253-3.184zm21.088 15.689c-1.919-.233-4.606.371-6.068.749.12-.012-9.793 1.706-9.625 1.79 3.1 2.33 12.21-2.433 15.842-2.448l-.149-.091zm25.066-2.22c-.853.878 12.545-.768 8.303-1.26-1.947.083-6.837-.097-8.303 1.26zm17.015-1.802c-.505-.36-4.278-.36-4.194.805.853.253 4.855-.252 4.194-.805zm0 7.15c-1.13-.589 11.655-1.718 8.46-.517-1.767.337-6.682 1.586-8.46.517zm25.883-9.697c-5.6 1.947-12.51 2.139-18.097.817 4.014-2.692 13.627-2.463 18.097-.817zm10.141-1.923c.625 1.899-7.03 3.377-7.786.229.252-.06 7.258-1.887 7.786-.229zm20.02-2.283c-2.296-1.31-4.82-1.286-7.559.072-1.508-.036-5.997-.179-7.053 1.138.796-.914 12.855.845 14.611-1.21zM166.784 162.041l-.005-.104c-2.294.85-10.268.425-12.99 2.218-1.514.24-10.058 2.692-10.683 2.44 2.693 1.345 19.822-2.02 23.678-4.554zm0 0a2.99 2.99 0 0 0 .5-.397c-.106.112-.278.21-.505.293l.005.104z" fill="'.concat(e,'" fill-rule="evenodd"/></svg>'),37:'<svg viewBox="0 0 1920 221" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="'.concat(e,'" fill-rule="evenodd"><path d="M1876.683 56.742c-20.485-1.862-33.521-1.862-40.97 1.863v-5.587c0-3.725-1.862-5.587-5.587-3.725-20.485 14.898-50.281 11.174-91.251-9.311l1.862-3.725c-1.862 0-3.724 1.863-9.311 3.725-3.725 1.862-7.45 3.724-9.312 3.724 0-1.862 0-1.862 1.863-3.724V38.12l-7.45 3.724c-3.724 0-5.586 1.862-7.448 3.725 0-1.863 0-3.725-1.863-5.587-1.862-1.862-1.862-3.725-1.862-5.587l-3.725 5.587c-1.862 5.587-5.586 7.449-9.31 9.311-1.863 0-5.588 0-7.45-1.862-5.587-1.862-7.449-1.862-9.311-1.862-3.725 0-7.45 1.862-11.174 3.724 1.862-3.724 1.862-5.587 1.862-5.587-9.311 3.725-20.485 7.45-33.52 9.312-22.348 1.862-35.384 1.862-37.246 3.724 1.862-5.587 3.725-9.311 1.862-13.036-1.862 5.587-5.586 11.174-14.898 13.036-1.862-1.862-1.862-1.862-3.724-1.862-1.863 0-1.863 0-3.725 1.862-5.313 3.542-8.942 5.4-10.887 3.972-.582.942-1.029 1.615-2.149 1.615-1.862 0-1.862 0-3.724-1.862-3.725 0-3.725 1.862-5.587 3.724l-3.725-7.449c-1.862 3.725-1.862 5.587-1.862 5.587-1.862 0-1.862-1.862-3.724-3.724-1.863-1.863-1.863-1.863-3.725-1.863-1.241-1.241-2.483 0-3.725 3.725-1.862 0-1.862 0-3.724-1.862-1.242-1.242-3.104-1.863-5.587-1.863-1.862 1.863-5.587 1.863-11.173 1.863-.5-.5-.998-.731-1.462-.731a7.062 7.062 0 0 0 1.462-1.132c1.862-1.862 1.862-3.724 0-9.311-14.899 5.587-44.695 9.311-91.252 9.311-3.724-5.587-5.587-7.449-5.587-9.311-1.862 0-3.724 0-7.449 1.862l-6.057 4.543c.058-.71-.406-1.695-1.392-2.68-1.862-1.863-1.862-1.863-3.724-1.863-3.725 0-3.725 1.862-5.587 3.725-1.862 1.862-3.725 3.724-5.587 1.862 1.862-1.862 3.725-5.587 1.862-9.311-1.862 3.724-5.586 5.586-9.31 7.449-5.588 1.862-5.588 1.862-7.45 1.862 1.862-1.862 1.862-3.725 1.862-5.587-1.862 1.862-5.587 3.725-9.311 3.725-5.587-1.863-7.45-1.863-9.311 0l1.862-5.587c-1.862-1.862-3.725-1.862-3.725-1.862-1.862 1.862-1.862 1.862-1.862 3.724s0 3.725-1.862 5.587c-1.862 0-1.862-1.862-1.862-5.587-1.863 3.725-7.45 5.587-13.036 7.45-9.312 1.862-13.036 1.862-13.036 3.724v-3.725c-1.863 1.863-5.587 1.863-13.036 1.863-5.587 0-9.311 0-13.036 1.862-4.41-2.646-7.149-4.874-8.415-6.685a6.67 6.67 0 0 1-.896 1.098l-5.587 3.725c-1.862 0-1.862 0-3.725 1.862 0 1.862 0 3.724 1.863 7.449-9.312-1.862-13.036-3.725-13.036-3.725-5.587 0-9.312 0-11.174 1.863 1.862-1.863 1.862-3.725 0-9.312C1251 63 1233 55.138 1233 57c-3.725 5.587-6.25 7.191-9.974 9.054 1.862-1.863 1.862-3.725 0-9.312-1.086-1.086-1.539-2.172-1.358-3.259l-11.678 20.02s0-1.863-1.862-3.725c0-1.862-1.862-3.724-3.725-1.862 0 1.862 0 3.724-1.862 7.449h-7.449c-5.587-1.862-7.449-3.725-7.449-7.45-1.862-1.861 0-1.861 1.862-3.724 1.863-1.862 1.863-1.862 0-3.724-1.862 0-3.724 1.862-5.586 3.724-1.863 1.863-3.725 1.863-5.587 1.863V64.19c-1.863-1.862-5.587 0-7.45 1.863-1.862 3.724-1.862 7.449 0 9.311 1.863 0 1.863 0 1.863-1.862-1.862-1.863 0-3.725 1.862-1.863-1.862 5.587-7.449 7.45-14.898 9.312 0-1.862 0-3.725 1.862-7.45-5.53 3.687-12.885 9.199-23.87 14.729-.104.708.323-.492 1.523-1.692 1.5-4.5 1.792-6.583 2.821-6.251-3.553-.96-9.005.783-17.72 2.526-4.719 3.147-9.439 3.635-13.036 1.465l.001 4.122c-1.862 0-3.725-1.862-5.587-3.725-1.862-1.862-1.862-3.724-3.724-1.862-5.587 1.862-7.45 3.725-7.45 3.725 0-1.151 0-2.302.44-3.014l-13.475 6.738c-9.312 1.862-14.898 1.862-20.485 0 0 1.862-1.863 3.725-3.725 7.45-1.862 1.861-3.724 3.724-5.587 3.724l1.863-7.45c-1.263-1.262-2.525-1.668-3.787-1.8l-1.8 1.8v-1.862c-3.707.432-5.303 1.147-7.45 1.863-1.862 1.862-5.586 0-7.448-1.863 1.862-1.862 1.862-1.862 1.862-3.724 0-3.725-1.862-5.587-3.725-5.587-1.862 1.862-1.862 1.862-1.862 3.725l-7.449 7.449c0 1.862-1.862 1.862-3.724 1.862-1.863 0-1.863 0-1.863 1.862 0 0-1.862 0-3.724 1.862-3.725 0-5.587-1.862-5.587-5.586v-7.754c-1.083 1.877-3.888 5.543-7.45 11.478v-3.724c0 3.724 0 5.586-1.861 5.586 0 1.242-2.483 1.242-7.45 0 0 1.863 0 3.725-1.862 5.587-1.862-1.862-5.587-1.862-11.173-1.862-5.587-1.862-7.45-3.725-9.312-5.587-3.724 3.725-5.587 5.587-7.449 5.587-1.862 1.862-5.587 3.725-9.311 1.862 1.862-1.862 3.724-3.724 3.724-5.587-1.862-1.862-3.724-1.862-3.724-1.862 0 1.862 0 1.862-1.862 1.862l-1.863 1.863c0 1.862-3.724-1.863-13.036-11.174-1.862 1.862-3.724 3.725-3.724 7.45 0 1.861 0 3.724 1.862 5.586v3.725c-1.862-3.725-3.724-5.587-5.587-5.587l-11.173 7.449c-1.863 0-1.863-1.862-3.725-3.725 1.862-1.862 1.862-3.724 1.862-5.587 1.863-1.862 1.863-3.724 0-5.586-1.862-1.863-1.862-3.725-3.724-3.725s-1.862 1.862-3.725 3.725c-1.862 1.862-3.724 3.724-3.724 5.586-1.242 1.242-2.576 4.41-4.003 9.504-3.446-.192-3.446-.192-5.309 1.67-5.586 0-5.586-1.862-5.586-5.587 0 1.863-1.863 1.863-3.725 1.863s-3.724 1.862-3.724 7.449c-1.863-1.863-9.312-3.725-20.485-1.863-9.312 1.863-14.899-1.862-18.623-9.311 0 0-1.862 0-3.725 1.862-1.862 1.863-1.862 1.863 0 3.725 1.863 1.862 1.863 3.724 1.863 1.862l1.862-1.862v5.587c-3.725-1.863-5.587-1.863-5.587-3.725-1.862-1.862-1.862-3.724 0-9.311-1.862-1.863-1.862 0-3.724 1.862-1.863 0-1.863 1.862-3.725 5.587l-3.725 7.449c-1.862 1.862-3.724 1.862-5.586 1.862 0-3.724-1.863-5.587-5.587-5.587l-5.587 9.312-5.587-5.587V105.16l-5.587 1.863-3.724 5.586-4.246-7.076c.223 1.117-.224 2.234-1.34 3.352-1.863 1.862-3.725 1.862-3.725 1.862l1.862-1.862c-1.862-1.862-3.725-1.862-7.45 0 0 1.862 1.863 5.587 7.45 7.449 0 1.862 0 1.862-1.862 1.862-1.863 1.862-3.725 1.862-3.725 3.725 0-1.863-1.862-3.725-3.725-3.725h-7.449c-1.862 0-1.862 0-1.862 1.862-1.862 1.863-1.862 3.725-1.862 3.725s-1.862 0-3.725-1.862c-1.862 0-1.862-1.863 0-3.725l1.863 1.862c1.862 0 1.862 0 3.724-1.862-1.862 0-1.862 0-1.862-1.862l-1.862-1.862c-1.863-1.863-1.863 0-3.725 1.862-1.862 0-1.862 1.862-1.862 7.449 0 1.862-1.862 3.725-3.725 1.862 1.863-1.862 1.863-1.862 1.863-3.724 1.862-1.863 1.862-3.725 1.862-3.725l-7.45-3.724v4.655-.93c0 1.861-1.862 3.724-5.586 5.586-1.862 1.862-3.725 3.725-3.725 5.587-1.862 1.862-3.724 0-5.586-1.862-3.725-1.863-5.587-1.863-5.587-1.863-1.863-1.862-3.725-3.724-5.587-1.862l-5.587 5.587v-1.862c-1.862 0-1.862 0-3.724 1.862l-5.587 3.724c-1.863-1.862-1.863-5.586-3.725-13.036-1.862-1.862-1.862-3.724-1.862-3.724-1.862-1.862-1.862 0-3.725 1.862-1.862 0-3.724 1.862-3.724 7.45-1.862 3.724-1.862 7.448 0 9.31-1.862-1.862-7.45 0-14.898 1.863-5.587 1.862-9.312 0-13.036-1.862-1.862 3.724-3.725 5.586-3.725 5.586-1.862 0-7.449 1.863-20.485 3.725-7.449 1.862-14.898 1.862-20.485-3.725 1.863-1.862 3.725-3.724 1.863-5.586-1.863-3.725-1.863-5.587-1.863-5.587-1.862 1.862-1.862 3.724-3.724 1.862 0-1.241-.62 0-1.862 3.725 1.862 3.724 1.862 5.586 1.862 7.449l3.724 3.724c-3.724 1.863-7.449 3.725-13.036 3.725-5.586 1.862-9.31 0-11.173-1.862 1.862 1.862 1.862 3.724 0 5.586l-5.587-7.449c-1.862-1.862-3.724 0-5.587 1.863v5.586l-3.724-5.586s0 1.862-1.863 7.449c-1.241 1.241-3.724-.621-7.449-5.587-3.724 5.587-5.586 7.449-5.586 7.449-3.725 3.724-7.45 3.724-9.312 1.862l-5.587-5.587c-1.862 0-1.862 0-1.862 1.863 0 1.862 0 3.724 1.862 5.586-1.862-1.862-3.724-1.862-5.586-1.862-1.863-1.862-3.725-1.862-5.587-1.862l-7.45-5.587c-9.31 14.898-26.071 22.347-52.143 24.21v-3.725c-1.862-1.862-1.862 0-1.862 1.862 0 1.863 0 1.863-1.862 3.725 0-1.862 0-3.725-1.863-7.45-1.862-1.862-3.724-5.586-1.862-7.448-1.862-1.863-3.724 0-5.587 3.724-1.862 5.587-3.724 7.45-5.587 7.45 0 1.862 0 3.724 1.863 1.862 1.862-1.863 1.862 0 1.862 1.862-9.311 0-11.174 1.862-9.311 5.587-1.863-1.863-3.725-7.45-1.863-13.036l-3.724 5.587c-1.862-3.725-1.862-9.312 0-16.76 1.862-5.588-7.45 0-9.312 5.586 0 .634-.013 1.242-.04 1.822-1.875-1.822-5.56-1.809-7.409.04-1.862 1.862-3.724 3.725-5.586 3.725 1.862 1.862 3.724 3.724 1.862 7.449 0 1.862 0 3.724-1.862 5.587-1.863-1.863-1.863-3.725-1.863-5.587 0-1.862-1.862-1.862-3.724-1.862 0 0 0 1.862-1.862 7.449-1.863 1.862 0 3.724 1.862 5.586v3.725c-1.242 1.241-3.725 1.241-7.45 0-1.862 0-1.862 0-1.862 1.862-1.862-1.862-1.862-5.587 0-11.173 0-5.587-1.862-9.312-3.724-11.174 0 1.862 0 5.587-1.862 11.174-1.863 5.586-1.863 9.311 0 13.036l-3.725-5.587v-7.45c0-1.24-1.862 0-5.587 3.725 0 1.862 0 3.725-1.862 3.725l-3.725-7.45v9.312c0-1.862 0-1.862-1.862-3.725l-3.724-3.724s-1.863 1.862-7.45 3.724c-1.862 1.863-3.724 1.863-5.586-3.724v1.862c-1.862 0-1.862 0-3.725 1.862-1.862 1.863-1.862 3.725 0 5.587 7.45-1.862 7.45 0 9.312 3.725-1.863-1.862-3.725-3.725-5.587-1.862 0 1.862 0 1.862-1.862 3.724-1.863 1.862-1.863 3.725-1.863 3.725l-1.862-3.725c-1.862 5.587-3.725 9.311-3.725 7.45 0-3.725 0-5.588-1.862-7.45l-1.862 7.45c-3.725 0-3.725-1.863-5.587-3.725 0-1.863 0-3.725-1.862-3.725 0-1.862 0-1.862-1.862-1.862l2.807-4.211c-.716.128-1.762-.33-2.807-1.376-1.863-1.862-1.863-3.725-3.725-1.862 0 1.862 0 5.587-1.862 11.173v9.312c-1.863 1.862-1.863 0-3.725-1.863 0-1.862 0 0-1.862 1.863l3.724-9.312c0-1.862-1.862-3.724-3.724-5.586-1.862-1.863-5.587-3.725-7.45-1.863l-3.724 7.45c0 3.724 1.863 5.586 3.725 7.448-1.862 0-1.862 0-3.725-1.862C331 205.724 331 203.862 331 202c-1.862 1.863-1.862 3.725-1.862 5.587 1.862 1.862 1.862 3.725 0 5.587l-7.45-7.45-9.31-7.448L316.1 187.1l-3.725 1.862c1.863-3.724-5.586 0-7.449 5.587-1.862 7.45-9.311 11.174-11.173 5.587-1.863-1.862-1.863-3.724-3.725-3.724-1.862-1.863-7.449 1.862-9.311-1.863 0-3.724-1.863-5.587-3.725-3.724-3.724 1.862-5.587 1.862-5.587 1.862-1.862 1.862-3.724 3.725-1.862 7.45 0 1.861 1.862 3.724 3.725 1.861 1.862 0 1.862 1.863 1.862 3.725-1.862 1.862-5.587 1.862-9.311 0-1.863-1.862-3.725 7.449-5.587 5.587-1.862 0-9.312-1.863-14.898-7.45-1.16-2.32-3.045-3.195-4.75-2.173.683-1.172 1.025-2.882 1.025-5.275-1.862 1.862-5.587 0-7.449-3.725-1.862-1.862-9.311-3.725-7.45-1.862l3.725 7.449c-5.586 0-9.31 1.862-11.173 3.724-3.725 1.863-5.587 5.587-7.45 9.312-1.861-1.863-1.861-3.725-1.861-7.45 0-1.54 0-3.081 1.055-3.567-8.96 3.656-18.089 5.384-28.99 3.568 1.863 1.862 1.863 3.724 1.863 5.586 0 1.863-1.863 1.863-3.725 1.863l-1.862 1.862c-.299.299-.55.598-.753.896-1.58-5.596-2.972-8.598-2.972-10.207l-1.862 1.862c-1.862 0-1.862-1.862-1.862-3.725 0-3.724-1.862-5.586-3.725-3.724-5.587 5.587-11.173 11.173-18.622 14.898-5.587-1.862-9.312-1.862-14.899 0-1.862 1.862-3.724 1.862-9.31 3.724-1.863 1.863-3.725 3.725-5.588 3.725-1.862-1.862-3.724-3.725-5.587-9.311-1.862-5.587-1.862-7.45-3.724-7.45s-1.862 1.863 0 5.587v1.863c0 1.241-.62.62-1.862-1.863h-9.312c-3.724 1.863-5.586 5.587-5.586 11.174v-11.174c0-1.241-.621-.62-1.863 1.863-1.862 0-1.862 0-1.862 1.862v-3.725l-1.862-1.862V202c-1.863-1.862-5.587-1.862-7.45 0-3.724 3.725-5.586 5.587-7.448 5.587l5.586 5.587c-1.862 1.862-5.586 3.724-11.173 3.724s-9.312 0-11.174 1.863l-1.862-5.587-3.725 3.724c0-1.862-1.862-3.724-3.724-5.586-1.862-1.863-1.862 0-3.725 1.862l2.2-4.4L43 208l-10 3.31L22 205l-1-4.706-11 1.705 1-3.724-11-4.211V0h1920v10l-6 15c-10.662 17.914-29.694 32.59-37.317 31.742z" fill-rule="nonzero" opacity=".25"/><path d="M1914 25c-8.415 9.712-15.106 15.19-20.072 16.43-9.311 9.312-20.485 11.175-37.245 9.312-20.485-1.862-33.521-1.862-40.97 1.863v-5.587c0-3.725-1.862-5.587-5.587-3.725-20.485 14.898-50.281 11.174-91.251-9.311l1.862-3.725c-1.862 0-3.724 1.863-9.311 3.725-3.725 1.862-7.45 3.724-9.312 3.724 0-1.862 0-1.862 1.863-3.724V32.12l-7.45 3.724c-3.724 0-5.586 1.862-7.448 3.725 0-1.863 0-3.725-1.863-5.587-1.862-1.862-1.862-3.725-1.862-5.587l-3.725 5.587c-1.862 5.587-5.586 7.449-9.31 9.311-1.863 0-5.588 0-7.45-1.862-5.587-1.862-7.449-1.862-9.311-1.862-3.725 0-7.45 1.862-11.174 3.724 1.862-3.724 1.862-5.587 1.862-5.587-9.311 3.725-20.485 7.45-33.52 9.312-22.348 1.862-35.384 1.862-37.246 3.724 1.862-5.587 3.725-9.311 1.862-13.036-1.862 5.587-5.586 11.174-14.898 13.036-1.862-1.862-1.862-1.862-3.724-1.862-1.863 0-1.863 0-3.725 1.862-5.313 3.542-8.942 5.4-10.887 3.972-.582.942-1.029 1.615-2.149 1.615-1.862 0-1.862 0-3.724-1.862-3.725 0-3.725 1.862-5.587 3.724l-3.725-7.449c-1.862 3.725-1.862 5.587-1.862 5.587-1.862 0-1.862-1.862-3.724-3.724-1.863-1.863-1.863-1.863-3.725-1.863-1.241-1.241-2.483 0-3.725 3.725-1.862 0-1.862 0-3.724-1.862-1.242-1.242-3.104-1.863-5.587-1.863-1.862 1.863-5.587 1.863-11.173 1.863-.5-.5-.998-.731-1.462-.731a7.062 7.062 0 0 0 1.462-1.132c1.862-1.862 1.862-3.724 0-9.311-14.899 5.587-44.695 9.311-91.252 9.311-3.724-5.587-5.587-7.449-5.587-9.311-1.862 0-3.724 0-7.449 1.862l-6.057 4.543c.058-.71-.406-1.695-1.392-2.68-1.862-1.863-1.862-1.863-3.724-1.863-3.725 0-3.725 1.862-5.587 3.725-1.862 1.862-3.725 3.724-5.587 1.862 1.862-1.862 3.725-5.587 1.862-9.311-1.862 3.724-5.586 5.586-9.31 7.449-5.588 1.862-5.588 1.862-7.45 1.862 1.862-1.862 1.862-3.725 1.862-5.587-1.862 1.862-5.587 3.725-9.311 3.725-5.587-1.863-7.45-1.863-9.311 0l1.862-5.587c-1.862-1.862-3.725-1.862-3.725-1.862-1.862 1.862-1.862 1.862-1.862 3.724s0 3.725-1.862 5.587c-1.862 0-1.862-1.862-1.862-5.587-1.863 3.725-7.45 5.587-13.036 7.45-9.312 1.862-13.036 1.862-13.036 3.724v-3.725c-1.863 1.863-5.587 1.863-13.036 1.863-5.587 0-9.311 0-13.036 1.862-4.41-2.646-7.149-4.874-8.415-6.685a6.67 6.67 0 0 1-.896 1.098l-5.587 3.725c-1.862 0-1.862 0-3.725 1.862 0 1.862 0 3.724 1.863 7.449-9.312-1.862-13.036-3.725-13.036-3.725-5.587 0-9.312 0-11.174 1.863 1.862-1.863 1.862-3.725 0-9.312C1231 57 1213 49.138 1213 51c-3.725 5.587-6.25 7.191-9.974 9.054 1.862-1.863 1.862-3.725 0-9.312-1.086-1.086-1.539-2.172-1.358-3.259l-11.678 20.02s0-1.863-1.862-3.725c0-1.862-1.862-3.724-3.725-1.862 0 1.862 0 3.724-1.862 7.449h-7.449c-5.587-1.862-7.449-3.725-7.449-7.45-1.862-1.861 0-1.861 1.862-3.724 1.863-1.862 1.863-1.862 0-3.724-1.862 0-3.724 1.862-5.586 3.724-1.863 1.863-3.725 1.863-5.587 1.863V58.19c-1.863-1.862-5.587 0-7.45 1.863-1.862 3.724-1.862 7.449 0 9.311 1.863 0 1.863 0 1.863-1.862-1.862-1.863 0-3.725 1.862-1.863-1.862 5.587-7.449 7.45-14.898 9.312 0-1.862 0-3.725 1.862-7.45-5.53 3.687-12.885 9.199-23.87 14.729-.104.708.323-.492 1.523-1.692 1.5-4.5 1.792-6.583 2.821-6.251-3.553-.96-9.005.783-17.72 2.526-4.719 3.147-9.439 3.635-13.036 1.465l.001 4.122c-1.862 0-3.725-1.862-5.587-3.725-1.862-1.862-1.862-3.724-3.724-1.862-5.587 1.862-7.45 3.725-7.45 3.725 0-1.151 0-2.302.44-3.014l-13.475 6.738c-9.312 1.862-14.898 1.862-20.485 0 0 1.862-1.863 3.725-3.725 7.45-1.862 1.861-3.724 3.724-5.587 3.724l1.863-7.45c-1.263-1.262-2.525-1.668-3.787-1.8l-1.8 1.8v-1.862c-3.707.432-5.303 1.147-7.45 1.863-1.862 1.862-5.586 0-7.448-1.863 1.862-1.862 1.862-1.862 1.862-3.724 0-3.725-1.862-5.587-3.725-5.587-1.862 1.862-1.862 1.862-1.862 3.725l-7.449 7.449c0 1.862-1.862 1.862-3.724 1.862-1.863 0-1.863 0-1.863 1.862 0 0-1.862 0-3.724 1.862-3.725 0-5.587-1.862-5.587-5.586v-7.754c-1.083 1.877-3.888 5.543-7.45 11.478v-3.724c0 3.724 0 5.586-1.861 5.586 0 1.242-2.483 1.242-7.45 0 0 1.863 0 3.725-1.862 5.587-1.862-1.862-5.587-1.862-11.173-1.862-5.587-1.862-7.45-3.725-9.312-5.587-3.724 3.725-5.587 5.587-7.449 5.587-1.862 1.862-5.587 3.725-9.311 1.862 1.862-1.862 3.724-3.724 3.724-5.587-1.862-1.862-3.724-1.862-3.724-1.862 0 1.862 0 1.862-1.862 1.862l-1.863 1.863c0 1.862-3.724-1.863-13.036-11.174-1.862 1.862-3.724 3.725-3.724 7.45 0 1.861 0 3.724 1.862 5.586v3.725c-1.862-3.725-3.724-5.587-5.587-5.587l-11.173 7.449c-1.863 0-1.863-1.862-3.725-3.725 1.862-1.862 1.862-3.724 1.862-5.587 1.863-1.862 1.863-3.724 0-5.586-1.862-1.863-1.862-3.725-3.724-3.725s-1.862 1.862-3.725 3.725c-1.862 1.862-3.724 3.724-3.724 5.586-1.242 1.242-2.576 4.41-4.003 9.504-3.446-.192-3.446-.192-5.309 1.67-5.586 0-5.586-1.862-5.586-5.587 0 1.863-1.863 1.863-3.725 1.863s-3.724 1.862-3.724 7.449c-1.863-1.863-9.312-3.725-20.485-1.863-9.312 1.863-14.899-1.862-18.623-9.311 0 0-1.862 0-3.725 1.862-1.862 1.863-1.862 1.863 0 3.725 1.863 1.862 1.863 3.724 1.863 1.862l1.862-1.862v5.587c-3.725-1.863-5.587-1.863-5.587-3.725-1.862-1.862-1.862-3.724 0-9.311-1.862-1.863-1.862 0-3.724 1.862-1.863 0-1.863 1.862-3.725 5.587l-3.725 7.449c-1.862 1.862-3.724 1.862-5.586 1.862 0-3.724-1.863-5.587-5.587-5.587l-5.587 9.312-5.587-5.587V99.16l-5.587 1.863-3.724 5.586-4.246-7.076c.223 1.117-.224 2.234-1.34 3.352-1.863 1.862-3.725 1.862-3.725 1.862l1.862-1.862c-1.862-1.862-3.725-1.862-7.45 0 0 1.862 1.863 5.587 7.45 7.449 0 1.862 0 1.862-1.862 1.862-1.863 1.862-3.725 1.862-3.725 3.725 0-1.863-1.862-3.725-3.725-3.725h-7.449c-1.862 0-1.862 0-1.862 1.862-1.862 1.863-1.862 3.725-1.862 3.725s-1.862 0-3.725-1.862c-1.862 0-1.862-1.863 0-3.725l1.863 1.862c1.862 0 1.862 0 3.724-1.862-1.862 0-1.862 0-1.862-1.862l-1.862-1.862c-1.863-1.863-1.863 0-3.725 1.862-1.862 0-1.862 1.862-1.862 7.449 0 1.862-1.862 3.725-3.725 1.862 1.863-1.862 1.863-1.862 1.863-3.724 1.862-1.863 1.862-3.725 1.862-3.725l-7.45-3.724v4.655-.93c0 1.861-1.862 3.724-5.586 5.586-1.862 1.862-3.725 3.725-3.725 5.587-1.862 1.862-3.724 0-5.586-1.862-3.725-1.863-5.587-1.863-5.587-1.863-1.863-1.862-3.725-3.724-5.587-1.862l-5.587 5.587v-1.862c-1.862 0-1.862 0-3.724 1.862l-5.587 3.724c-1.863-1.862-1.863-5.586-3.725-13.036-1.862-1.862-1.862-3.724-1.862-3.724-1.862-1.862-1.862 0-3.725 1.862-1.862 0-3.724 1.862-3.724 7.45-1.862 3.724-1.862 7.448 0 9.31-1.862-1.862-7.45 0-14.898 1.863-5.587 1.862-9.312 0-13.036-1.862-1.862 3.724-3.725 5.586-3.725 5.586-1.862 0-7.449 1.863-20.485 3.725-7.449 1.862-14.898 1.862-20.485-3.725 1.863-1.862 3.725-3.724 1.863-5.586-1.863-3.725-1.863-5.587-1.863-5.587-1.862 1.862-1.862 3.724-3.724 1.862 0-1.241-.62 0-1.862 3.725 1.862 3.724 1.862 5.586 1.862 7.449l3.724 3.724c-3.724 1.863-7.449 3.725-13.036 3.725-5.586 1.862-9.31 0-11.173-1.862 1.862 1.862 1.862 3.724 0 5.586l-5.587-7.449c-1.862-1.862-3.724 0-5.587 1.863v5.586l-3.724-5.586s0 1.862-1.863 7.449c-1.241 1.241-3.724-.621-7.449-5.587-3.724 5.587-5.586 7.449-5.586 7.449-3.725 3.724-7.45 3.724-9.312 1.862l-5.587-5.587c-1.862 0-1.862 0-1.862 1.863 0 1.862 0 3.724 1.862 5.586-1.862-1.862-3.724-1.862-5.586-1.862-1.863-1.862-3.725-1.862-5.587-1.862l-7.45-5.587c-9.31 14.898-26.071 22.347-52.143 24.21v-3.725c-1.862-1.862-1.862 0-1.862 1.862 0 1.863 0 1.863-1.862 3.725 0-1.862 0-3.725-1.863-7.45-1.862-1.862-3.724-5.586-1.862-7.448-1.862-1.863-3.724 0-5.587 3.724-1.862 5.587-3.724 7.45-5.587 7.45 0 1.862 0 3.724 1.863 1.862 1.862-1.863 1.862 0 1.862 1.862-9.311 0-11.174 1.862-9.311 5.587-1.863-1.863-3.725-7.45-1.863-13.036l-3.724 5.587c-1.862-3.725-1.862-9.312 0-16.76 1.862-5.588-7.45 0-9.312 5.586 0 .634-.013 1.242-.04 1.822-1.875-1.822-5.56-1.809-7.409.04-1.862 1.862-3.724 3.725-5.586 3.725 1.862 1.862 3.724 3.724 1.862 7.449 0 1.862 0 3.724-1.862 5.587-1.863-1.863-1.863-3.725-1.863-5.587 0-1.862-1.862-1.862-3.724-1.862 0 0 0 1.862-1.862 7.449-1.863 1.862 0 3.724 1.862 5.586v3.725c-1.242 1.241-3.725 1.241-7.45 0-1.862 0-1.862 0-1.862 1.862-1.862-1.862-1.862-5.587 0-11.173 0-5.587-1.862-9.312-3.724-11.174 0 1.862 0 5.587-1.862 11.174-1.863 5.586-1.863 9.311 0 13.036l-3.725-5.587v-7.45c0-1.24-1.862 0-5.587 3.725 0 1.862 0 3.725-1.862 3.725l-3.725-7.45v9.312c0-1.862 0-1.862-1.862-3.725l-3.724-3.724s-1.863 1.862-7.45 3.724c-1.862 1.863-3.724 1.863-5.586-3.724v1.862c-1.862 0-1.862 0-3.725 1.862-1.862 1.863-1.862 3.725 0 5.587 7.45-1.862 7.45 0 9.312 3.725-1.863-1.862-3.725-3.725-5.587-1.862 0 1.862 0 1.862-1.862 3.724-1.863 1.862-1.863 3.725-1.863 3.725l-1.862-3.725c-1.862 5.587-3.725 9.311-3.725 7.45 0-3.725 0-5.588-1.862-7.45l-1.862 7.45c-3.725 0-3.725-1.863-5.587-3.725 0-1.863 0-3.725-1.862-3.725 0-1.862 0-1.862-1.862-1.862l2.807-4.211c-.716.128-1.762-.33-2.807-1.376-1.863-1.862-1.863-3.725-3.725-1.862 0 1.862 0 5.587-1.862 11.173v9.312c-1.863 1.862-1.863 0-3.725-1.863 0-1.862 0 0-1.862 1.863l3.724-9.312c0-1.862-1.862-3.724-3.724-5.586-1.862-1.863-5.587-3.725-7.45-1.863l-3.724 7.45c0 3.724 1.863 5.586 3.725 7.448-1.862 0-1.862 0-3.725-1.862C311 199.724 311 197.862 311 196c-1.862 1.863-1.862 3.725-1.862 5.587 1.862 1.862 1.862 3.725 0 5.587l-7.45-7.45-9.31-7.448L296.1 181.1l-3.725 1.862c1.863-3.724-5.586 0-7.449 5.587-1.862 7.45-9.311 11.174-11.173 5.587-1.863-1.862-1.863-3.724-3.725-3.724-1.862-1.863-7.449 1.862-9.311-1.863 0-3.724-1.863-5.587-3.725-3.724-3.724 1.862-5.587 1.862-5.587 1.862-1.862 1.862-3.724 3.725-1.862 7.45 0 1.861 1.862 3.724 3.725 1.861 1.862 0 1.862 1.863 1.862 3.725-1.862 1.862-5.587 1.862-9.311 0-1.863-1.862-3.725 7.449-5.587 5.587-1.862 0-9.312-1.863-14.898-7.45-1.16-2.32-3.045-3.195-4.75-2.173.683-1.172 1.025-2.882 1.025-5.275-1.862 1.862-5.587 0-7.449-3.725-1.862-1.862-9.311-3.725-7.45-1.862l3.725 7.449c-5.586 0-9.31 1.862-11.173 3.724-3.725 1.863-5.587 5.587-7.45 9.312-1.861-1.863-1.861-3.725-1.861-7.45 0-1.54 0-3.081 1.055-3.567-8.96 3.656-18.089 5.384-28.99 3.568 1.863 1.862 1.863 3.724 1.863 5.586 0 1.863-1.863 1.863-3.725 1.863l-1.862 1.862c-.299.299-.55.598-.753.896-1.58-5.596-2.972-8.598-2.972-10.207l-1.862 1.862c-1.862 0-1.862-1.862-1.862-3.725 0-3.724-1.862-5.586-3.725-3.724-5.587 5.587-11.173 11.173-18.622 14.898-5.587-1.862-9.312-1.862-14.899 0-1.862 1.862-3.724 1.862-9.31 3.724-1.863 1.863-3.725 3.725-5.588 3.725-1.862-1.862-3.724-3.725-5.587-9.311-1.862-5.587-1.862-7.45-3.724-7.45s-1.862 1.863 0 5.587v1.863c0 1.241-.62.62-1.862-1.863h-9.312c-3.724 1.863-5.586 5.587-5.586 11.174v-11.174c0-1.241-.621-.62-1.863 1.863-1.862 0-1.862 0-1.862 1.862v-3.725l-1.862-1.862V196c-1.863-1.862-5.587-1.862-7.45 0-3.724 3.725-5.586 5.587-7.448 5.587l5.586 5.587c-1.862 1.862-5.586 3.724-11.173 3.724s-9.312 0-11.174 1.863l-1.862-5.587-3.725 3.724c0-1.862-1.862-3.724-3.724-5.586-1.862-1.863-1.862 0-3.725 1.862l2.2-4.4L23 202l-6-1-6-5-5 1-6-3V0h1920v10l-6 15z" fill-rule="nonzero"/><path d="M701.253 158.643l1.245-.25.995.25.996-1.493h1.99c2.987 0 4.231 2.986 4.231 5.475 0 1.742-.249 3.235-.497 4.977l-2.738 1.991-2.489.249c-2.737 0-10.95-.498-10.95-4.48 0-.995.498-2.488.747-3.484l1.244-.995 1.742 1.244a23.06 23.06 0 0 1 3.484-3.484zm124.699 11.082c.249.497.497 1.493.497 1.99l-.248 2.738-1.245 1.493c-1.99.996-4.23 1.494-6.47 1.494l-4.48-2.24-1.493-1.991v-.498l.249-1.99c1.244-2.24 3.235-3.734 5.475-4.978h3.484l3.982 2.986.498.996h-.25zm54.751-39.82c0-2.986 1.245-5.724 4.48-5.724 2.489 0 4.728 2.49 4.728 4.978 0 .498-.746 2.24-.995 2.737l-5.226 1.991c-1.245-.995-2.24-2.488-2.987-3.982zm-6.72 25.634c0 2.24-1.741 3.982-3.981 3.982-1.991 0-4.48-2.489-4.48-4.48 0-1.99 1.742-4.23 3.733-4.23 2.24 0 4.729 2.488 4.729 4.728zm33.35-19.412c0-1.742 1.492-3.484 3.235-3.484 2.24 0 4.23 1.991 4.23 4.23 0 1.743-1.244 4.232-3.235 4.232-2.489 0-4.23-2.738-4.23-4.978zm-76.902 6.222l-2.488 2.738c-1.742 0-2.987-1.494-2.987-3.236l2.987-2.488 2.488 2.986zm135.386-9.706l-2.738-2.24 1.991-1.99 2.24 1.99-1.493 2.24zm-120.205 39.073l1.991-1.494 1.991 2.24-1.99 1.991-1.992-2.737zm-138.137 1.61l-4.48-2.489.498-.249 5.226-.248.498.746-1.742 2.24zm128.93-6.339l2.24-1.244 1.492 1.742-1.742 1.493-1.99-1.244v-.747zm75.407-21.403l-1.742 1.742-1.991-2.488 1.244-.996 2.489 1.742zm-39.322 2.738l-1.742-2.489 1.494-1.244 1.742 1.493-1.494 2.24zm32.354-10.702l-.747-1.493.995-2.24h.747l-.249 3.485-.746.248zm37.33-5.226l1.742-.995 1.245 1.244-1.245 1.244-1.742-1.493zm-77.896 27.376l1.742-1.244 1.244.995-1.493 1.742-1.493-1.493zm75.905-20.656l.996 1.742-1.245 1.244-1.244-1.244 1.493-1.742zm-239.428 32.221l-1.244-.747.996-.248 1.244.746-.996.25zm158.048-38.692l-.747-.498.498-.746.497.497-.248.747zm-20.906 44.299l-.497-.498.249-.498.497.25-.249.746zm17.67-32.602c-.249-.249-.249-.249-.249-.498l.25-.249.248.25-.249.497zm23.643-7.217c-.249.249-.249.249-.498.249l-.249-.25.25-.248.497.249zm85.86-13.44h-.249c0-.248 0-.248.25-.248v.249zm-256.102 33.715c.25 0 .25-.248.498-.248v.248l-.249.25c0-.25 0-.25-.249-.25zm131.418-25.004c-.249-.249-.249-.249-.249-.498h.25c.248 0 .248 0 .248.25-.249 0-.249 0-.249.248zm-141.373 28.24c-.248 0-.248-.25-.497-.25 0 .25.249.25.497.25zm9.457-4.48v-.249l.25.249h-.25zm664.017-37.916h-1.803l-1.803-6.611 1.202-2.404 1.803-.601.601 2.404v7.212zm56.494-33.656l2.404-2.404 1.803 3.005-1.803 3.005-2.404-3.606zm-33.656-26.444l1.202 1.202v1.202c-.601-.601-.601-.601-1.202-.601v-1.803zm187.34 59.262c.601 0 .601 0 .601.601s0 .601-.601.601l-.601-.601.601-.601zm83.701 3.025l.601.601v.601h-.601v-1.202zM1362.27 36.502c.601 0 .601 0 .601.601h-.601v-.601zm57.095 33.055h.601v.601c-.601 0-.601 0-.601-.601zm-111.185-8.414l3.005 6.01-9.015 6.01-4.808-6.01c3.005-3.606 5.409-8.414 9.616-10.818l1.803 2.404-.601 2.404zm-24.641 46.277l-6.01-4.207c0-4.207 1.202-9.616 6.611-9.616l5.409 6.611-6.01 7.212zm51.686-22.237l-6.01-9.015 5.409-3.005 6.01 4.808-5.409 7.212zm251.046 2.167l4.808 3.606-6.01 7.212-4.808-6.01 6.01-4.808zm155.013 25.479l3.005 3.005-2.404 3.606-8.414-2.404-2.404-4.207 4.808-2.404 5.409 2.404zm34.04-13.773v-1.803l6.01-4.207 4.808 5.409-4.207 4.808-6.611-4.207zm-149.599-16.277l3.606-6.611 4.207 6.611 6.995-5.192-14.808 5.192zm82.721 30.651l-4.207 6.01-3.606-6.01 3.005-4.808 4.808 4.808zm-51.686-26.444l3.005-4.207 3.005 4.808-3.005 3.005-3.005-3.606zm-332.954 42.671l-4.808-2.404 4.207-3.606 3.005 3.005-2.404 3.005zm-34.257-10.818l2.404-4.207 3.005 3.606-3.005 3.005-2.404-2.404zm388.236-13.439l2.404 1.803-2.404 1.803-1.803-1.803 1.803-1.803zm84.918-8.748l-1.202-.601 1.202-1.202 1.202 1.202-1.202.601zm-562.703 30l.601-1.202.601.601-.601 1.202-.601-.601zm15.46 4.45c-4.828 0-7.798-3.342-9.284-7.798.743-2.228.743-4.827 2.6-6.312 1.114-2.228 2.97-3.342 5.57-3.342 5.198 0 9.654 2.97 9.654 8.54 0 4.828-3.713 8.912-8.54 8.912zm-113.604 7.028c0-2.971 3.342-5.942 5.199-7.798 2.97 0 7.426 5.198 7.426 8.169 0 3.342-4.085 5.57-6.312 7.426-3.342-.37-6.313-4.455-6.313-7.797zm-46.345-26.817l-4.084 5.57c-3.714 0-7.056-3.343-7.427-7.056l5.199-4.827c3.713 0 6.312 2.6 6.312 6.313z"/></g></svg>'),38:'<svg viewBox="0 0 1920 255" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1106.457 241.001l12.529-1.761c-8.931 1.76-12.522 1.761-12.529 1.761h1.862c-35.368 3.723-76.321 5.585-119.136 5.585-9.307 0-18.615 0-24.2 1.861 1.862-1.861 3.724-1.861 5.585-1.861h-9.307c5.584-1.862 11.169-3.723 13.03-5.585h-111.69l-94.935-3.723c-109.829-5.584-173.12-9.307-186.15-11.168-65.152-5.585-124.72-13.031-182.426-18.615-57.706-7.446-87.49-11.17-93.075-11.17l-63.29-9.307c48.398 9.308 85.628 16.754 111.689 20.477 48.399 7.446 98.66 14.892 150.781 20.476l148.92 11.169c143.296 5.511 244.891 9.21 304.785 7.516-1.788.14-3.848.554-5.085 1.791h11.169c-11.169 1.862-24.2 1.862-39.091 1.862-5.585 0-16.754 0-31.646 1.861-13.03 0-24.2 0-29.784 1.862h-63.29l-120.998-3.723c-57.706-1.862-135.889-9.308-236.41-22.338l-81.905-9.307-40.953-5.585c-14.892-1.861-27.922-5.584-39.091-7.446-1.862 0-1.862 0-1.862-1.861h-1.861c-13.03-3.723-27.923-9.308-46.538-18.615l-14.891-1.862H199.91c1.862 0 3.723 0 7.446 1.862l-16.753-3.723c-35.369 0-67.014-3.723-91.214-9.308-1.861 0-1.861 0-1.861-1.861h-1.862c-1.861 0-3.723 0-1.861-1.862h7.446c13.03 1.862 20.476 1.862 24.2 0-1.862 0-5.585 0-7.447-1.861h-3.723c0-1.862 0-1.862 1.862-3.723-1.862 0-1.862 0-3.723-1.862 0 0-1.862-1.861-7.446-3.723 48.399 1.862 115.413 5.585 202.903 7.446l-7.446-3.723c-3.723-1.861-7.446-1.861-13.03-1.861-9.308 0-13.031 0-13.031-1.862-31.646 1.862-52.122 1.862-65.152 0-22.338 0-52.122-1.861-87.49-7.446L37.96 138.62c-13.03-1.861-22.338-5.584-29.784-7.446H6.315v-1.861H4.453c-2.438-1.22-4.077-1.64-4.396-2.308L0 127V0h1920v4l-.459.23c.13.112.26.232.39.362 1.86 0-33.508 9.307-102.383 26.06l-122.859 29.785 87.49-18.615c46.538-9.308 70.737-14.892 74.46-14.892-1.861 1.861-3.723 1.861-7.446 1.861l-7.446 3.723c9.308-1.861 16.754-3.723 18.615-3.723l-169.396 50.26-59.567 18.615-46.538 13.03c-24.2 5.585-40.953 11.17-50.26 14.893 57.706-13.03 124.72-31.646 204.764-55.845l48.4-13.03c26.06-9.308 48.398-14.892 67.013-18.615l-14.892 5.584 16.4-3.28c-11.353 2.614-29.34 11.553-55.491 23.757l-46.538 18.614c-13.03 3.723-26.06 7.446-37.23 13.031-16.753 5.584-26.06 9.307-26.06 9.307-14.893 5.585-39.092 9.308-70.737 14.892l-117.274 29.784-109.829 26.061c1.862-1.861 3.723-1.861 9.308-3.723-5.585 1.862-9.308 1.862-13.03 1.862 46.537-20.477 85.628-35.369 115.412-40.953-24.2 1.861-50.26 9.307-81.906 22.338-31.645 13.03-61.429 20.476-93.074 26.06l-20.477 3.724c7.321 0 29.038-1.8 66.92-3.63l-1.767 1.768h9.307c-20.476 5.585-78.183 14.892-176.842 27.923l-31.645 11.169 74.46-7.446c27.922-3.723 52.121-9.308 74.46-14.892l78.182-18.615c61.43-14.892 106.105-22.338 134.027-20.477 0-1.861 1.862-1.861 7.446-3.723h5.585c16.753-1.861 29.784-3.723 42.814-3.723l-7.446 1.862h13.03l-37.23 3.723c-29.783 13.03-80.043 24.2-150.78 37.23l-80.044 11.169c-50.26 9.307-76.322 13.03-78.183 13.03-9.308 1.862-22.338 1.862-42.814 3.723-20.477 0-35.369 1.862-42.815 3.723-29.784 5.584-63.29 9.307-98.659 11.169 20.477 1.861 33.507 1.861 39.091 1.861h-11.169 11.17zM958.9 246.656c.903-.07 1.737-.07 2.361-.07-.78.024-1.566.048-2.36.07zm417.38-65.129l.094-.093h1.862c-.657.03-1.309.062-1.956.093zm480.005-141.124l2.216-.443c-.709.118-1.447.266-2.216.443zm-741.35 200.587c-.343.011-.687.011-1.032.011h-5.584a1848 1848 0 0 0 6.617-.011zm0 0c1.507-.052 3.013-.329 4.519-1.816l106.139-14.926c42.814-3.723 72.598-5.584 93.075-3.723 1.861 0-1.862 0-7.446 1.862h11.169c-18.615 1.861-48.4 5.584-89.352 13.03-33.745 3.552-72.574 5.41-118.103 5.573zm4.519-1.816l-.468.066.502-.1a7.809 7.809 0 0 1-.034.034z" fill="'.concat(e,'" fill-rule="nonzero"/></svg>'),39:'<svg viewBox="0 0 1920 85" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1481.47 31.033c1.99-.252 4.01-.504 6.067-.748l6.049-1.648c.34-.122.677-.242 1.01-.358l-5.598.495-7.528 2.26zm15.39-4.619c1.984-.2 3.86-.366 5.627-.498a89.808 89.808 0 0 1 3.978-.898l-2.01.763c.358-.023.71-.044 1.058-.063l1.242-.252c-.256.06-.529.136-.82.229.666-.036 1.313-.065 1.943-.09l16.7-.605h8.736c.77.303 2.312.303 4.11.303 2.056.303 3.598.303 4.368.303.654 0 1.282 0 1.883.01-13.57-1.42-26.97-1.721-40.34-1.145l-6.475 1.943zm49.48-.506h-.694c.171.202.455.27.702.292-8.266-.276-22.289.326-42.067 1.223l-3.154.278c-.944.44-1.974.93-3.095 1.463 4.195-.338 11.557-.817 21.922-1.439l13.103-.605h15.416c-.257-.303-1.028-.606-1.799-.909h1.285c-.22 0-.44 0-.66-.19l-.958-.113zm1.616.192c.125.019.256.035.39.048l-.39-.048zm47.438 10.128a13.408 13.408 0 0 0-.675-.024l2.826.606.028.006-2.18-.588zm9.693 2.622a48.625 48.625 0 0 1 5.304 2.2c4.368 2.12 7.965 3.33 11.305 3.634-3.144-.695-7.039-2.276-11.57-4.47l-5.04-1.364zm27.824 9.07a224.922 224.922 0 0 0-7.104-2.025c1.05.495 2.786 1.192 5.21 1.926.63.036 1.262.069 1.894.098zm11.376 4.403l1.88.693 2.615.102c-.702-.244-1.396-.483-2.082-.72a71.837 71.837 0 0 1-2.413-.075zm10.849.202c.328.113.658.224.988.335l1.144.539c1.688.047 3.432.09 5.234.129l-.285-.142a672.93 672.93 0 0 1-3.11-.7c-1.185-.002-1.666-.021-1.666-.28-.816.047-1.584.087-2.305.119zm-24.144 1.564l-2.359-.926c-5.91-1.817-11.048-2.726-15.93-3.029 0 .303-1.284-.302-4.11-1.817l-12.332-1.514c-6.937-.605-10.791-.908-12.076-1.211-1.798-.303-4.368-.606-7.708-.606-3.34-.302-5.909-.302-7.707-.605l-4.625-.909-4.368-.605c-2.826-.303-5.91-.303-9.25-.303-3.082-.303-9.248-.303-18.498-.303.257-.909-1.284-1.514-4.881-1.211-6.166-.303-12.59-.303-19.013-.303-7.707 0-13.617.303-17.728.908l-16.7.606c-3.854.303-9.506.606-16.7 1.514-4.59.65-8.524 1.144-11.99 1.373l-6.168 1.585-21.107 5.067c.357-.362.715-.362 1.788-.724-1.073.362-1.788.362-2.504.362 5.532-2.463 10.517-4.51 14.869-5.97-.838.035-1.673.076-2.508.123a82.734 82.734 0 0 0-5.921 2.228c-6.082 2.533-11.806 3.98-17.888 5.066l-3.935.724c1.407 0 5.58-.35 12.86-.705l-.339.343h1.789c-3.935 1.086-15.026 2.896-33.987 5.429l-6.082 2.172 14.31-1.448c5.367-.724 10.018-1.81 14.31-2.895l15.026-3.62c11.806-2.895 20.393-4.342 25.759-3.98 0-.362.358-.362 1.43-.724h1.074c3.22-.362 5.724-.724 8.229-.724l-1.431.362h2.504l-7.155.724c-5.724 2.533-15.384 4.704-28.979 7.238l-15.383 2.171c-9.66 1.81-14.668 2.534-15.026 2.534-1.789.362-4.293.362-8.228.723-3.935 0-6.798.362-8.229.724-5.724 1.086-12.163 1.81-18.96 2.172 3.935.362 6.439.362 7.512.362h-2.146 2.146l2.408-.343c-1.716.342-2.406.343-2.408.343h.358c-6.797.723-14.668 1.085-22.896 1.085-1.79 0-3.578 0-4.651.362.358-.362.715-.362 1.073-.362h-1.789c1.074-.362 2.147-.723 2.505-1.085h-21.466l-18.245-.724c-15.571-.801-26.275-1.405-31.824-1.812l3.055 1.222 1.083.507 5.863.445c27.54 1.071 47.065 1.79 58.576 1.461-.344.027-.74.108-.978.348h2.147c-2.147.362-4.651.362-7.513.362-1.073 0-3.22 0-6.082.362-2.504 0-4.65 0-5.724.362h-12.164l-23.254-.724c-1.825-.06-3.758-.148-5.798-.267 1.531.675 2.764 1.153 3.728 1.375l-2.921-.584 2.652.995a83.284 83.284 0 0 1-8.308-2.107c-1.498-.111-3.045-.236-4.644-.373l13.947 4.138c-.332 0-1.658-.332-3.316-.663l1.327.663c.663 0 .994 0 1.326.331-.663 0-4.974-.994-13.263-2.652l-15.584-3.316 21.884 5.305c12.268 2.984 18.568 4.642 18.237 4.642-.332.332-.664.332-.995.332h.331c-.994.331-5.636 0-13.263-.663l-14.258-1.99c-.331-.331-.663-.331-.994-.331-.332-.332-.664-.332-.995-.332-.663-.331-.995-.663-.995-.995-.663-.331-5.305-1.326-14.258-3.315l-9.615-2.985-7.283-2.427-8.118-.933-7.87-1.086c-2.863-.362-5.367-1.086-7.514-1.448-.357 0-.357 0-.357-.362h-.358c-2.014-.582-4.26-1.398-6.923-2.637l-13.304-1.386c-8.952-.663-13.926-.994-15.584-1.326-2.321-.331-5.637-.663-9.947-.663-4.31-.332-7.627-.332-9.948-.663l-5.968-.995-5.637-.663c-3.647-.332-7.626-.332-11.937-.332-3.979-.331-11.937-.331-23.873-.331.331-.995-1.658-1.658-6.3-1.327-7.958-.331-16.248-.331-24.537-.331-9.948 0-17.574.331-22.88.995l-21.552.663c-4.973.331-12.268.663-21.552 1.658-8.29.994-14.921 1.658-20.558 1.658-.975 0-1.946.003-2.915.01-2.396.832-3.7 1.353-3.7 1.353-3.165 1.187-8.308 1.978-15.032 3.165l-24.92 6.329-23.34 5.538c.396-.396.792-.396 1.978-.791-1.186.395-1.977.395-2.769.395 9.89-4.35 18.197-7.515 24.526-8.702-5.143.395-10.68 1.978-17.405 4.747-6.725 2.769-13.054 4.35-19.779 5.538l-4.35.79c1.555 0 6.17-.382 14.22-.77l-.376.375h1.978c-4.351 1.187-16.614 3.165-37.58 5.934l-6.724 2.373 15.823-1.582c5.933-.791 11.076-1.978 15.823-3.165l16.613-3.955c13.054-3.165 22.548-4.747 28.481-4.352 0-.395.396-.395 1.583-.79h1.186c3.56-.396 6.33-.792 9.098-.792l-1.582.396h2.769l-7.911.79c-6.33 2.77-17.01 5.143-32.041 7.912l-17.01 2.374c-10.68 1.977-16.218 2.769-16.614 2.769-1.977.395-4.746.395-9.098.79-4.35 0-7.515.396-9.098.792-6.329 1.187-13.449 1.978-20.965 2.373 4.352.396 7.12.396 8.307.396h-2.373 2.769c-7.516.79-16.218 1.187-25.317 1.187-1.977 0-3.955 0-5.142.395.396-.395.791-.395 1.187-.395h-1.978c1.187-.396 2.373-.792 2.769-1.187h-23.734l-20.174-.791c-23.339-1.187-36.788-1.978-39.557-2.374-13.845-1.186-26.503-2.769-38.765-3.955-12.263-1.583-18.592-2.374-19.779-2.374l-13.45-1.978c10.286 1.978 18.197 3.56 23.735 4.352 10.285 1.582 20.965 3.164 32.04 4.35L756 81.393c30.45 1.171 52.04 1.957 64.767 1.597-.38.03-.817.118-1.08.381h2.373c-2.373.396-5.142.396-8.307.396-1.187 0-3.56 0-6.724.395-2.77 0-5.143 0-6.33.396H787.25l-25.712-.791c-12.262-.396-28.876-1.978-50.237-4.747l-17.405-1.978-8.702-1.187c-3.165-.395-5.934-1.186-8.307-1.582-.396 0-.396 0-.396-.396h-.395c-2.77-.79-5.934-1.977-9.89-3.955l-3.164-.396h-3.56c.395 0 .791 0 1.582.396l-3.56-.791c-7.516 0-14.24-.791-19.383-1.978-.395 0-.395 0-.395-.396h-.396c-.395 0-.791 0-.395-.395h1.582c2.769.395 4.351.395 5.142 0-.395 0-1.187 0-1.582-.396h-.791c0-.395 0-.395.395-.791-.395 0-.395 0-.79-.396 0 0-.396-.395-1.583-.79.714.027 1.446.056 2.198.087l-11.702-1.633c-.331-.331-.663-.331-.994-.331-.332-.332-.664-.332-.995-.332-.663-.331-.995-.663-.995-.995-.663-.331-5.305-1.326-14.258-3.315l-9.615-2.985-9.948-3.315c-7.626-1.99-14.258-2.985-20.558-3.316 0 .331-1.658-.332-5.305-1.99l-15.916-1.658c-8.952-.663-13.926-.994-15.584-1.326-2.321-.331-5.637-.663-9.947-.663-4.31-.332-7.627-.332-9.948-.663l-5.968-.995-5.637-.663c-3.647-.332-7.626-.332-11.937-.332-3.979-.331-11.937-.331-23.873-.331.331-.995-1.658-1.658-6.3-1.327-7.958-.331-16.248-.331-24.537-.331-9.948 0-17.574.331-22.88.995l-21.552.663c-4.973.331-12.268.663-21.552 1.658-8.29.994-14.921 1.658-20.558 1.658-2.492 0-4.962.022-7.415.072-1.687.69-3.685 1.56-6.021 2.553l-8.916 3.21c-2.487.618-4.973 1.235-7.12 2.217-3.203.944-4.986 1.586-4.986 1.586-2.85.957-7.448 1.5-13.464 2.347l-22.355 4.854-20.924 4.2c.364-.34.716-.328 1.784-.642-1.068.314-1.771.29-2.475.265 8.928-3.562 16.413-6.118 22.077-6.976-4.584.192-9.558 1.427-15.623 3.68-6.065 2.253-11.742 3.464-17.758 4.31l-3.894.568c1.384.049 5.499-.148 12.669-.244l-.346.323 1.759.061c-3.906.92-14.871 2.298-33.598 4.11l-6.053 1.9 14.118-.915c5.3-.52 9.91-1.415 14.167-2.322l14.895-3.002c11.705-2.408 20.196-3.52 25.46-2.984.012-.352.363-.34 1.43-.655l1.056.037c3.178-.241 5.652-.507 8.114-.42l-1.419.302 2.462.086-7.059.457c-5.713 2.266-15.284 4.045-28.735 6.04l-15.198 1.582c-9.558 1.427-14.507 1.959-14.858 1.946-1.771.29-4.233.205-8.115.421-3.869-.135-6.695.119-8.114.421-5.664.859-12.02 1.341-18.715 1.46 3.857.487 6.319.573 7.374.61l-2.11-.074 2.462.086c-6.708.47-14.458.551-22.547.269-1.76-.062-3.518-.123-4.585.192.364-.34.716-.327 1.067-.315l-1.758-.061c1.067-.315 2.135-.63 2.499-.97l-21.104-.737-17.913-1.33c-20.715-1.78-32.65-2.9-35.099-3.338-12.273-1.485-23.48-3.285-34.346-4.721-10.854-1.788-16.457-2.688-17.513-2.724l-11.897-2.177c9.084 2.078 16.069 3.73 20.968 4.606 9.096 1.726 18.544 3.465 28.355 4.864l28.064 3.093c27.04 1.987 46.211 3.356 57.54 3.431-.34.015-.732.08-.974.305l2.11.074c-2.122.278-4.584.192-7.398.094-1.055-.037-3.165-.11-5.991.143-2.462-.086-4.573-.16-5.64.155l-11.959-.418-22.837-1.502c-10.891-.732-25.615-2.655-44.522-5.78l-15.414-2.3-7.701-1.325c-2.802-.45-5.24-1.24-7.337-1.665-.352-.012-.352-.012-.34-.364-2.79-.801-5.566-1.955-9.022-3.836l10.12 2.002-3.165-.11c.352.012.704.024 1.395.4l-3.141-.813c-6.683-.234-12.638-1.146-17.173-2.36-.352-.013-.352-.013-.34-.365-.703-.024-1.055-.037-.69-.376l1.406.05c2.45.437 3.857.486 4.573.159-.352-.013-1.056-.037-1.395-.401-.691-.376-.691-.376-.327-.716-.352-.012-.352-.012-.691-.376 0 0-.34-.364-1.383-.753 9.133.671 8.848-.635 25.367.294l-1.382-.753c-.692-.376-1.395-.4-2.45-.438-1.759-.061-2.462-.086-2.45-.437-5.992.142 3.062 2.46.612 2.022-4.22-.147-9.836-.696-16.482-1.984l-15.754-2.663c-2.45-.438-4.184-1.203-5.578-1.604l-.34-.364c-1.043-.388-1.394-.4-1.03-.74.351.012.703.025 1.419-.302 1.77-.29 3.893-.569 5.64-.156 9.457 1.349 18.938 2.044 28.745 2.411C37.132 46.006 26.174 42.032 0 35V0h1920v35c-8.047-1.185-16.074-1.682-24.086-1.641l-24.508 7.258-8.997 2.807-7.029 1.965c-3.655.842-6.186 1.684-7.591 2.245 8.716-1.965 18.838-4.771 30.928-8.42l7.31-1.965a71.457 71.457 0 0 1 10.122-2.806l-2.25.842 2.477-.495c-1.714.394-4.431 1.742-8.381 3.582l-7.03 2.807c-1.967.561-3.935 1.122-5.622 1.964-2.53.842-3.937 1.404-3.937 1.404-2.249.842-5.904 1.403-10.684 2.245l-17.713 4.49-16.589 3.93c.281-.28.563-.28 1.406-.561-.843.28-1.406.28-1.968.28 7.029-3.087 12.933-5.332 17.432-6.174-3.655.28-7.591 1.403-12.371 3.368-4.78 1.964-9.278 3.087-14.058 3.929l-3.093.561c1.106 0 4.386-.271 10.108-.547l-.267.267h1.405c-3.092.842-11.808 2.245-26.71 4.21l-4.78 1.684 11.247-1.123c4.217-.561 7.872-1.403 11.246-2.245l11.81-2.807c9.277-2.245 16.025-3.368 20.243-3.087 0-.281.281-.281 1.125-.562h.843c2.53-.28 4.499-.561 6.467-.561l-1.125.28h1.968l-5.623.562c-4.499 1.965-12.09 3.649-22.774 5.613l-12.09 1.684c-7.592 1.404-11.528 1.965-11.81 1.965-1.405.28-3.373.28-6.466.561-3.093 0-5.342.281-6.467.562-4.498.842-9.56 1.403-14.901 1.684 3.093.28 5.06.28 5.904.28h-1.687 1.968c-5.342.562-11.527.842-17.994.842-1.406 0-2.812 0-3.655.281a.965.965 0 0 1 .22-.168l-.33.01c.125-.01.241-.01.332-.01.207-.113.414-.113.621-.113h-1.406c.844-.28 1.687-.561 1.969-.842h-16.87l-14.34-.561c-16.588-.842-26.148-1.403-28.116-1.684-9.84-.842-18.838-1.965-27.554-2.807-3.263-.42-5.935-.762-8.045-1.024.774.374 1.428.646 1.972.794l-2.263-.534 1.803.797c7.244 1.112 14.764 2.22 22.56 3.055l22.493 1.684c21.643.83 36.988 1.388 46.035 1.133-.27.02-.581.083-.768.27h1.687c-1.687.28-3.655.28-5.905.28-.843 0-2.53 0-4.78.281-1.968 0-3.655 0-4.498.281h-9.56l-18.275-.561c-8.716-.281-20.525-1.404-35.708-3.368l-12.371-1.404-1.801-.245.372.22c.514 0 .771 0 1.028.302-.294 0-1.516-.297-3.712-.837l-2.073-.282c-1.46-.182-2.802-.483-4.026-.748l4.415 1.262c9.507 2.725 14.388 4.24 14.131 4.24-.257.302-.513.302-.77.302h.257c-.771.303-4.368 0-10.277-.605l-11.048-1.817c-.257-.303-.514-.303-.771-.303-.257-.303-.514-.303-.77-.303-.515-.303-.772-.606-.772-.909-.513-.302-4.11-1.21-11.047-3.028l-7.451-2.725-2.51-.986c-1-.166-1.942-.352-2.819-.554-.281 0-.281 0-.281-.281h-.281c-.282 0-.563 0-.282-.28h.824zm23.1 3.957l-6.19-1.552 8.527 2.436c-.734-.25-1.51-.54-2.338-.884zm4.059 1.376l.134.038v-.038h-.134zm11.067.516a56.497 56.497 0 0 1-4.836-1.443c-1.16-.13-1.873-.196-2.16-.196l-1.741-.255 2.21.773c2.524.47 4.7.853 6.527 1.121zm-216.74-20.288a82.9 82.9 0 0 0-3.367.937c.486.021.996.048 1.532.08 1.407-.348 2.841-.711 4.305-1.09-.838.023-1.66.047-2.47.073zm25.228-10.781c.3-.045.6-.09.898-.133l13.909-2.994c1.68-.34 3.207-.654 4.587-.94-1.304.082-2.607.172-3.91.27l-15.484 3.797zm308.253 36.126l-.035.005.025-.005L1785 65c.225-.007.45-.046.675-.257l15.86-2.113c6.398-.527 10.849-.79 13.909-.527.278 0-.278 0-1.113.264H1816c-2.782.263-7.232.79-13.352 1.844-4.804.48-10.297.74-16.689.784zm109.362-31.632l-.678.007-.462.23c.408-.08.793-.162 1.14-.237zm-2.29.034c-1.072.022-2.144.054-3.215.095l-17.847 4.319 13.214-2.807c3.39-.677 5.996-1.223 7.848-1.607zm-25.095 2.065c-18.396 2.52-36.732 6.97-55.056 11.52l2.575-.19 13.496-1.403c3.093-1.404 4.498-1.965 4.498-1.684 5.342-.28 10.966-1.123 17.432-2.807l8.435-2.807 8.154-2.526.466-.103zm-619.443 24.816l.71.222 7.215 2.14 4.455.339-3.049-.82c-1.579-.478-3.13-.944-4.653-1.397a925.7 925.7 0 0 1-4.678-.484zm214.804-31.716c-14.397 2.226-28.925 5.178-43.758 8.558a673.619 673.619 0 0 1-19.117 4.073l3.367-.25 17.172-1.81c3.936-1.81 5.725-2.534 5.725-2.172 6.797-.362 13.952-1.447 22.18-3.619l10.733-3.619 3.698-1.16zm-218.224 18.18c-10.739-1.472-21.676-3.332-32.894-5.59a548.61 548.61 0 0 0-33.957-5.737c-3.145-.068-7.059-.356-11.913-.778l-16.927-2.38c-2.405-.199-4.805-.38-7.2-.546a83.086 83.086 0 0 0-4.057.273c6.3.332 12.268.995 17.573 1.99 1.327.331 3.98.663 7.627.663 3.647.332 5.968.332 7.626.663.331 0 4.974.663 13.926 2.321l14.258 1.99c11.906 2.193 20.555 4.09 25.948 6.25 3.11.206 5.804.358 8.057.51l11.933.372zm-39.19-2.654c-2.481-.511-5.173-1.121-8.074-1.825l-13.927-3.315c-3.979-.995-8.289-1.99-13.263-2.653l-13.263-1.326 5.637 1.99c17.574 2.32 27.853 3.978 31.5 4.973h-1.658l.315.315c-6.748-.326-10.616-.647-11.92-.647l3.647.663c.873.154 1.738.316 2.598.489h.23c5.146 0 11.062.518 18.179 1.336zm-.134 4.456c1.167.406 2.292.76 3.382 1.064l-1.392-.704c-.595-.3-1.19-.351-1.99-.36zM570.56 38.352c5.145 2.045 9.46 3.223 13.486 3.532-2.53-.474-5.435-1.325-8.681-2.48a1634.97 1634.97 0 0 0-4.805-1.052zm62.367 14.265l3.84 1.536c3.493 1.63 6.169 2.933 8.141 3.68 4.015.137 8.059.204 12.152.218a2291.878 2291.878 0 0 1-24.133-5.434zm8.712 5.087a85.745 85.745 0 0 1-7.194-2.225l-8.62-2.32c-14.258-4.311-26.195-7.627-36.474-9.948 1.658.663 4.642 1.658 8.952 2.652l8.29 2.321 10.61 3.316 20.165 5.983c1.421.084 2.844.157 4.271.22zM626.21 56.59l-8.343-1.775 6.314 1.53c.302.027.598.068.886.125.38.041.762.081 1.143.12zm27.984 7.125c2.661.687 3.948 1.047 3.794 1.047a1.373 1.373 0 0 1-.025.024c7.12.294 15.257.587 24.46.783l-1.581-.792c-.792-.395-1.583-.395-2.77-.395-1.977 0-2.768 0-2.768-.396-6.725.396-11.076.396-13.845 0-2.118 0-4.552-.078-7.265-.271zM338.093 42.78c-1.706.067-3.406.15-5.102.25l-16.331 4.231-11.378 3.124-8.88 2.155c-4.608.896-7.81 1.84-9.594 2.482 10.99-2.08 23.774-5.156 39.058-9.2l9.231-2.143a94.027 94.027 0 0 1 2.996-.9zm-20.009.883l-.044-.008-.554.113.598-.105zm27.909-5.771a88.665 88.665 0 0 1 7.274-.32c2.32-.33 5.968-.33 11.605 0 0-.33.663-.33 2.321-.33.995 0 1.658 0 2.321-.332l1.327-.663c-7.535.16-14.217.398-20.083.638-1.434.306-3.023.642-4.765 1.007zm-8.414-2.515c-.764-.096-1.906-.028-3.544.206h-1.326a1.297 1.297 0 0 1-.019-.019c-17.926 4.132-35.554 8.727-53.117 13.157 3.59-.446 7.361-1.1 11.399-2.005l10.674-3.149 10.31-2.809c9.571-1.779 14.532-2.662 15.248-2.989.012-.352.376-.691 1.092-1.018.352.012.703.024 1.067-.315.352.012.704.024 1.068-.315l7.148-.744zm3.085-1.613c26.882-5.938 54.507-10.635 83.653-12-8.222.672-17.952 1.742-29.271 3.209l-14.59 1.658-7.294.995c-2.653.331-4.974.994-6.964 1.326-.331 0-.331 0-.331.331h-.332c-2.32.664-4.973 1.658-8.29 3.316l-2.652.332h-2.984c.332 0 .663 0 1.326-.332l-2.984.663a84.1 84.1 0 0 0-9.287.502zM461.54 21.94c-8.278.252-17.953.618-29.026 1.043l-26.526 1.99c-9.284.995-18.237 2.32-26.858 3.647-4.642.663-11.274 1.99-19.895 3.648l11.274-1.658c.995 0 6.3-.663 16.579-1.99 10.279-.994 20.89-2.32 32.495-3.316 2.32-.331 13.594-.994 33.157-1.989l16.91-.663h2.347a477.08 477.08 0 0 0-10.457-.712zM996.693 45.4l-2.58 1.032c.862.038 1.78.085 2.76.143 0-.332.662-.332 2.32-.332.995 0 1.658 0 2.321-.331l1.327-.663c-2.117.045-4.166.096-6.148.151zm123.794-14.762l-2.107-.059c.14.037.286.057.424.068-10.669-.302-28.765.357-54.29 1.338l-26.526 1.99c-9.284.995-18.237 2.32-26.858 3.647-1.262.18-2.671.41-4.227.682l-4.425 1.312.031-.004c.995 0 6.3-.663 16.579-1.99 10.279-.994 20.89-2.32 32.495-3.316 2.32-.331 13.594-.994 33.157-1.989l16.91-.663h19.896c-.332-.332-1.327-.663-2.321-.995h1.658c-.132 0-.264 0-.396-.02zM981.113 45.954l-3.178.943a95.045 95.045 0 0 1 4.598-.274c.924-.276 1.857-.556 2.798-.84-1.452.057-2.858.114-4.218.171zm-21.232 6.437l-6.098 1.707c-5.142 1.187-8.702 2.373-10.68 3.165 6.223-1.406 12.955-3.116 20.3-5.133-1.176.078-2.35.165-3.522.26zm34.33-12.996l-1.358.209-10.97 2.66h.068l2.984-.664c-.663.332-.994.332-1.326.332h.497l8.128-1.73a48.297 48.297 0 0 1 1.978-.807zm-45.142 7.836a1711.243 1711.243 0 0 0-20.35 4.036c5.802-.614 11.937-1.725 18.735-3.498l1.615-.538zm-31.156 6.274a2310.716 2310.716 0 0 0-4.291.903l2.978-.31c.464-.211.902-.409 1.313-.593zM820.766 82.99c.192-.014.37-.014.502-.014l-.502.014zm88.694-13.84l.02-.02h.395l-.415.02zm-55.536 12.636c-.073.003-.146.003-.22.003h-1.186c.472 0 .94-.001 1.406-.003zm0 0c.32-.01.64-.07.96-.386l22.555-3.171c9.098-.791 15.427-1.187 19.778-.791.395 0-.396 0-1.582.395h2.373c-3.956.396-10.285 1.187-18.987 2.77-7.171.754-15.422 1.149-25.097 1.183zm.96-.386l-.1.014.107-.02a1.667 1.667 0 0 1-.007.006zm-.1.014c-1.9.375-2.662.375-2.662.375l2.662-.375zm264.02-50.767l.42.012c-.11 0-.26 0-.42-.012zm74.346 11.6l.348.017h-.331l-.017-.016zm85.5 25.138c.138.032.27.058.395.08l-.394-.08zM177.68 74.103a5.634 5.634 0 0 0-.447-.003l.447.003zm78.864-9.572l.352.012-.37.005.018-.017zm-49.986 9.524l-1.055-.037 1.25.041c-.065 0-.13-.002-.195-.004zm1.06-.31l20.154-2.119c8.114-.421 13.754-.576 17.61-.09.352.013-.351-.012-1.419.303l2.11.074c-3.529.229-9.18.736-16.968 1.872-6.4.449-13.748.544-22.352.274.285 0 .571-.042.866-.313zm-.088.01a34.5 34.5 0 0 0 .095-.015 1.49 1.49 0 0 1-.006.006l-.09.01zm-2.379.25s.678.024 2.379-.25l-2.379.25zm1129.139-8.439c.173-.014.333-.014.453-.014l-.453.014zm80.215-12.662l.018-.019h.358l-.376.019zm92.25-27.438l.427-.086a7.039 7.039 0 0 0-.426.086zm-142.477 38.998c-.066.003-.133.003-.199.003h-1.073c.427 0 .85-.001 1.272-.003zm0 0c.29-.01.579-.063.868-.353l20.399-2.902c8.228-.723 13.952-1.085 17.887-.723.358 0-.357 0-1.43.362h2.146c-3.578.361-9.302 1.085-17.172 2.533-6.486.69-13.948 1.052-22.698 1.083zm.868-.353l-.09.013.097-.02a1.516 1.516 0 0 1-.007.007zM1794.143 63H1793c.857 0 1.429 0 2-.28-.286.28-.571.28-.857.28zm29.562-7l.014-.014h.281l-.295.014zm72.96-21l.335-.067c-.107.018-.219.04-.335.067zM1785 64.998c-.052.002-.104.002-.156.002H1784c.336 0 .669 0 1-.002zm0-.264c-1.427.266-2 .266-2 .266l2-.266zM1546.238 26l.762.023c-.202 0-.47 0-.762-.023z" fill="'.concat(e,'" fill-rule="evenodd"/></svg>'),40:'<svg viewBox="0 0 1920 105" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1919.907 79.685c.044.992-.183.547-.906-2.314-9.313-36.836-59.693-72.785-98.19-51.04-3.123 1.764-14.043 11.599-22.806 21.904-.337.4 3.687 18.175 3.499 20.815-.457 6.334-1.093 9.517-6.884 12.225-6.773 3.167-20.505 1.316-21.503-7.779-.942-8.607 2.135-18.254 7.058-27.137-10.371-18.45-26.977-30.74-53.316-24.396-15.13 3.646-31.543 10.34-40.994 23.344 5.981 8.716 19.299 26.823 9.916 35.887-5.44 5.257-23.155 10.42-29.155 3.663-3.787-4.265-1.858-14.68-1.022-19.748.338-2.058 7.02-19.35 6.971-19.41-17.723-21.783-43-32.578-75.237-20.146-12.653 4.879-26.37 11.257-36.428 20.974 6.876 11.656 17.968 30.19 10.407 43.873-13.274 24.02-43.588 2.618-38.14-20.036.687-2.86 13.57-25.086 13.995-24.48-3.283-4.696-6.5-8.544-8.824-10.79-14.025-13.561-30.837-20.225-50.318-13.646-11.358 3.834-23.192 7.983-33.399 14.453-1.04.586-1.961 1.335-2.967 1.97.608-.386 3.971 23.792 3.22 26.955-1.574 6.623-5.6 9.838-12.173 11.593-9.34 2.496-29.663-.987-24.175-14.712 3.95-9.877 10.1-18.468 17.62-25.772-16.531-14.465-53.239-13.571-71.916-6.74-6.241 2.283-22.77 12.595-34.907 24.416.951 1.34 1.987 2.585 2.856 4.01 6 9.848 13.205 31.795-3.135 35.797-15.566 3.811-30.65-15.22-21.747-28.833 2.333-3.565 4.801-7.067 7.346-10.515-18.127-15.58-50.584-28.188-59.988-29.762-18.264-3.06-41.351-2.824-54.008 13.559.196-.255-.324.978-1.182 2.991-.457 1.075 5.268 12.349 5.672 14.65.893 5.082 1.23 11.583-.4 16.56-2.109 6.436-10.035 14.57-17.689 13.74-7.5-.824-9.494-9.3-9.011-15.665.345-4.555 7.825-24.452 5.302-27.791-11.077-14.661-29.734-24.164-48.375-22.62-16.776 1.393-32.92 5.966-46.936 15.675-1.562 1.082-7.676 5.192-14.03 10.585 1.362 1.81 2.825 3.502 3.992 5.537 15.722 27.424-22.913 50.096-30.625 20.77-1-3.815 7.383-26.552 10.708-24.292-13.736-9.338-34.104-16.29-41.705-16.621-14.22-.621-28.7-.184-42.268 4.773-5.089 1.858-20.95 10.722-33.183 20.672 4.117 8.74 7.242 25.172 2.244 34.093-6.848 12.223-21.907 4.606-26.827-5.093-4.036-7.955-3.39-18.535 1.908-25.753 2.04-2.779 4.301-5.408 6.656-7.956-15.798-16.757-49.441-22.66-68.385-18.107-8.264 1.985-20.88 6.847-32.041 13.781 2.382 5.055 4.38 10.344 5.472 16.078 2.374 12.452-1.96 33.448-15.808 37.992-12.084 3.965-22.493-11.252-23.846-22.115-.83-6.649 1.72-12.918 5.241-18.411 1.077-1.682 14.64-16.29 15.043-15.623-2.468-4.073-5.1-7.466-7.465-9.56-16.682-14.741-39.199-27.314-62.002-13.114-11.668 7.263-24.006 14.612-33.67 24.505-.186.192-1.343 1.698-2.953 3.939 5.387 12.213 6.793 57.376-19.133 43.911-13.904-7.219-4.192-32.92 1.838-42.5a67.173 67.173 0 0 1 2.573-3.764c-10.736-13.678-31.358-21.023-50.661-18.824-15.306 1.744-37.758 7.967-53.092 18.606 2.985 4.295 5.52 8.986 7.335 14.257 3.84 11.164 4.678 24.325-2.905 34.155-14.546 18.857-28.165-1.74-30.967-18.73-.557-3.384 6.939-31.153 9.813-28.243-8.593-8.7-19.941-15.606-29.58-18.767-19.336-6.342-48.446-7.624-62.883 4.347.773.83 1.634 1.524 2.37 2.411 6.158 7.45 9.891 19.756 6.926 29.233-1.705 5.448-10.334 13.025-16.433 11.81-7.163-1.426-10.389-13.379-11.36-19.65-.285-1.835.996-21.157 1.935-20.564-6.446-4.06-13.221-6.882-16.532-7.672-9.159-2.185-18.71-4.28-28.193-3.596-11.102.799-23.044 2.682-32.152 9.72-2.158 1.665-5.875 5.184-9.422 9.519.138-.168 7.892 14.123 8.38 15.618 1.734 5.348 2.973 11.555.858 16.997-6.034 15.516-21.834 5.89-27.296-5.07-1.42-2.85-.798-24.803 1.325-23.556-8.49-4.99-17.756-8.506-20.68-9.258-8.362-2.153-17.181-4.612-25.906-4.27-13.895.543-25.803 4.904-34.103 15.44 5.149 14.164 6.773 44.66-16.41 36.846-11.002-3.709-5.008-21.789-1.625-30.217 1.13-2.813 2.527-5.517 4.05-8.15-10.451-13.946-29.904-26.24-39.232-27.544-14.599-2.04-30.078.413-42.034 9.65-2.327 1.798-5.372 4.502-8.466 7.738.452 1.077.856 2.253 1.373 3.223 3.085 5.794 7.735 11.765 9.288 18.242 5.228 21.823-29.53 31.524-34.043 7.292-1.864-10.008 3.248-20.966 8.302-29.275-5.09-9.574-12.09-16.692-26.874-10.671-11.4 4.64-23.32 10.835-31.942 19.9.782 3.049 1.364 6.125 1.576 9.138.624 8.905-1.653 22.561-11.684 25.66-10.696 3.3-17.018-7.147-15.368-16.664.563-3.238 11.092-19.893 10.76-20.566C79.03 37.077 68.51 29.445 55.648 33.405 29.18 41.547 8.113 57.839 13.318 87.658c.885 5.07-6.138 8.906-8.82 3.72C1.662 85.9.254 80.375.031 74.952L0 75V0h1920v80l-.093-.315zm-129.22-5.809a140.484 140.484 0 0 0-3.044-10.42c-2.34 5.27-2.049 9.288 3.044 10.42zm-116.316 3.495c5.317 2.613 10.486 1.934 15.526-1.696-2.834-6.949-6.105-13.55-9.86-19.578-2.899 6.589-6.1 15.079-5.666 21.274zM1556.04 90.792c3.447-4.67 4.73-11.237 4.16-16.908-.267-2.688-7.476-19.038-7.452-19.137-2.263 9.321-7.937 16.44-6.377 26.704.598 3.933 4.421 16.447 9.67 9.341zm-113.772-25.11c5.89-5.915-4.897-16.337.295-20.945-1.414 1.255-2.897 2.42-4.22 3.801-5.997 4.717-14.493 25.795.822 19.154 1.346-.584 2.358-1.26 3.103-2.01zm-121.61 21.09c8.995-8.122 7.811-16.837 1.424-25.115-7.197 9.3-9.823 18.608-1.424 25.115zm-127.266-12.8c.307-4.835-.259-9.546-1.449-14.073-3.29 9.614-4.864 17.89 1.449 14.072zm-131.312 3.746c12.691-7.567 11.085-16.039 3.46-23.662-7.478 8.235-11.884 17.395-3.46 23.662zm-130.913 7.149c2.673-7.523 2.913-14.23 1.196-20.108-7.28 7.919-10.013 15.554-1.196 20.108zm-125.64 8.023c17.861-4.16 16.156-23.01 9.571-38.355-12.504 10.35-19.622 23.688-9.57 38.355zm-112.86-4.107c4.433-9.27 5.443-17.789 3.912-25.289-6.75 11.209-12.627 24.352-3.911 25.29zm-117.147 4.52c10.058-11.527 7.943-24.205.305-35.207-7.706 9.388-9.54 21.122-.305 35.206zM472.786 65.298c4.908-6.579 2.3-13.165-3.176-18.774-1.977 5.77-1.917 13.038.788 21.997a6.17 6.17 0 0 1 2.388-3.223zM370.238 75.756c5.325-6.07 2.586-12.23-3.29-17.63-2.968 6.597-3.317 13.293 2.763 17.917.174-.105.348-.2.527-.287zM264.223 80.27c4.67-4.556 6.025-9.83 4.908-15.346-2.71 4.873-5.532 11.065-4.908 15.346zM159.54 72.548c15.833-2.767 8.634-10.372 4.05-19.361-3.88 6.392-6.064 13.262-4.05 19.361zm-71.803-7.37c-.131.276-.345.5-.468.782-.895 1.736-1.503 3.545-2.083 5.36a14.939 14.939 0 0 0 2.551-6.142z" fill="'.concat(e,'" fill-rule="evenodd"/></svg>'),41:'<svg viewBox="0 0 1920 113" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1892.28 65.435c-3.577.03-5.903.146-6.98.35-2.404.454-4.909 1.337-6.093 3.658-1.502 2.948.7 6.275 4.105 6.135 2.589-.105 4.664-1.166 6.716-2.663-.168.137-.075-4.08.083-4.53.287-.807 1.01-1.79 2.168-2.95zm1.604 2.092c-1.445.446-2.401 2.065-1.245 3.957 1.083 1.768 4.289 1.433 4.978-.58.703-2.058-1.85-3.96-3.733-3.377zm1-9.776c-.63 1.712.774 4.17 1.165 5.869 2.566 1.536 4.525-3.003 4.694-4.754.091-.954.077-3.926-.907-4.353-1.077-.467-3.33 1.162-4.404 2.41-.27.312-.465.601-.548.828zm15.532 8.149c-.452-3.74-9.576 1.784-9.408 2.04.48.72.776 1.573.772 2.444 3.913.39 9.22.334 8.636-4.484zm-8.92 17.423c3.74-.374 4.852-4.125 2.04-6.65-.976-.878-2.077-1.63-3.21-2.33-.102-.024-.199-.05-.298-.076-.323.35-.584.752-.992 1.02-1.97 1.298-4.954 1.625-6.979.328 1.322 4.23 4.41 8.213 9.438 7.708zm-61.079-33.196c-6.544-8.957-15.344-22.304-26.132-27.682-.239.014-.477.02-.716.036 6.666 13.503 13.62 26.761 20.478 40.225 1.156 2.268-2.042 4.156-3.414 1.995-7.949-12.502-13.939-25.536-20.1-38.754-2.968 10.48-5.129 20.755 2.155 30.781 4.847 6.672 10.407 11.979 16.625 17.286 7.64 6.52 14.706 13.012 19.724 21.456 5.776-15.473 1.111-32.024-8.62-45.343zM1712.9 54.992c-4.776-3.739-10.04-6.898-15.643-9.232-2.55-1.063-5.366-2.246-8.11-2.684-1.086-.172-5.314.782-5.932.105 4.468 5.04 9.171 9.889 14.34 14.22 5.919 4.956 12.491 9.07 18.352 14.048 1.768 1.502-.479 3.927-2.334 3.026-13.234-6.423-24.437-19.036-33.38-30.593-.089.33-.206.605-.449.861-2.261 16.486 1.423 30.825 18.25 37.996 11.747 5.008 23.481 10.033 35.167 15.18.085.037.731-6.447.721-7.065a33.364 33.364 0 0 0-.865-6.99c-2.692-11.669-10.86-21.624-20.117-28.872zM1634.2 73.016c-2.235-1.878-3.211-3.432-6.613-2.583-2.332.582-5.06 2.346-5.479 4.84-.675 4.04 1.928 6.56 5.673 4.806.303-.143 3.571-1.65 3.567-1.778.043-2.112 1.179-4.04 2.852-5.285zm7.573 11.667c-2.35.704-5.045.675-7.122-.473-3.685 2.688-8.972 8.659-3.224 11.201 3.044 1.348 5.916-.673 7.332-3.347 1.148-2.17 2.37-4.925 3.014-7.38zm-4.41-8.41c-3.248 3.754 3.81 4.999 4.135 2.127.204-1.837-2.22-4.34-4.135-2.126zm13.642-12.718c-5.014-1.176-8.917 3.763-9.523 8.343-.024.168 3.894 3.175 4.375 3.048 1.714-.453 6.391-4.434 7.236-5.877 1.326-2.272.687-4.865-2.088-5.514zm6.924 22.208c.224-6.355-5.244-7.587-10.414-7.262-.275 1.48-.993 2.793-2.038 3.899 2.185 1.877 3.398 4.692 6.114 6.113 2.595 1.358 6.213.797 6.338-2.75zm-82.924-19.635c-4.876-8.757-10.66-16.898-16.97-24.647 2.483 11.929 6.9 22.646 12.415 33.972 1.34 2.755-2.397 4.964-4.107 2.401-6.603-9.895-10.479-21.083-12.678-32.656-3.98 10.823-6.035 21.514 2.02 32.39 5.961 8.047 12.018 16.022 17.924 24.11 2.154-11.998 8.343-23.098 1.396-35.57zm-110.3-16.138c-7.345-7.583-14.855-15.38-25.066-18.357-.127.52 17.668 20.78 21.876 33.394.07.216.101.406.028.62-3.662.817-6.43-6.443-7.84-8.7-1.448-2.32-3.154-4.451-4.949-6.51-1.736-1.991-3.557-3.91-5.234-5.95-1.073-1.306-4.998-5.275-4.849-6.987-1.146 13.22 4.742 25.58 16.714 33.345 6.476 4.202 12.798 8.028 18.145 13.276 3.327-12.799 1.51-23.462-8.826-34.131zm-74.448 20.451c-2.658-2.306-4.826-5.2-8.755-4.826-2.312.218-6.666 3.096-3.345 5.295 2.811 1.86 9.7 1.89 9.327 3.086.538-1.364 1.546-2.607 2.773-3.555zm-6.995 13.493c.853.002 6.985-3.01 6.186-3.628-1.964-1.512-1.574-3.24-4.165-2.1-1.558.685-3.129 1.88-3.557 3.607-.249 1.005-.249 1.543.049 1.823.26.247.745.298 1.487.298zm9.208-10.172c-1.176 1.84-.802 3.734 1.736 2.999 2.575-.748 2.538-2.886 1.55-3.9-.776-.795-2.138-.9-3.286.9zm1.926-5.738c-.087.37-.317.604-.586.78 1.528-.994 4.388-.608 6.14-.82 2.484-.298 5.095-1.298 6.718-3.285 1.518-1.857 2.437-5.582.311-7.431-2.611-2.276-6.797-.752-8.753 1.667-2.138 2.64-3.072 5.839-3.83 9.089zm21.52 7.18c-.711-7.04-14.046-2.982-13.99-2.629.318 1.554.235 3.165-.345 4.572-.277.67 4.232 2.544 4.909 2.698 1.356.31 2.914.341 4.29.202 2.806-.277 5.464-1.613 5.136-4.842zm-16.906 15.589c6.306-2.312 1.071-11.08-.855-9.962-.778.453-1.588.823-2.453.995-.667.13-1.963 5.667-1.726 6.42.699 2.228 2.738 3.39 5.034 2.547zm-58.485 6.892c1.99-24.954-29.295-35.94-50.563-41.812 12.068 6.949 19.594 20.255 34.39 23.123 2.343.455 1.7 3.98-.545 4.032-16.159.368-24.265-16.585-36.246-25.301.42.5.754.921.863 1.131 1.615 3.11 1.868 3.507 2.868 6.93 2.781 9.53 9.73 15.9 18.74 19.722 10.206 4.331 21.629 5.647 30.493 12.175zm-125.637.14c4.768-19.696-15.805-30.268-33.216-37.067 5.805 4.608 11.073 9.883 15.376 15.619 1.348 1.797-1.566 3.943-3.066 2.364-9.226-9.7-18.535-18.11-29.497-25.627 7.81 9.186 13.994 20.086 24.184 26.347 9.347 5.744 19.675 9.836 26.22 18.363zm-79.694-27.736c-4.452-1.578-7.749 2.975-3.226 5.576.756.435 2.33 1.415 3.218 1.294 1.158-.158 1.38-1.799 2.641-1.77.065.001.118.024.182.026-.95-1.718-1.885-3.432-2.815-5.126zm3.47 18.283c-.048.172 0 .327-.095.505-1.487 2.745-3.068 6.013-1.908 9.196 1.2 3.284 2.797 3.314 4.08 2.019 1.14-1.148 2.032-3.337 2.183-5.223.047-.584-.525-6.871-.85-6.748-.962.368-2.211.495-3.41.25zm2.86-8.181c-1.138-2.224-2.878.865-2.714 2.271.458 3.836 3.482-.772 2.714-2.271zm12.811-11.24c-4.17-1.15-8.405 1.532-11.11 4.412-.685.732 5.13 3.355 5.821 3.438 2.304.281 5.328-.07 7.032-1.819 2.31-2.368 1.837-5.372-1.743-6.03zm4.386 24.097c1.142-2.494-1.081-5.612-2.87-7.12-2.474-2.087-5.774-3.488-9.026-4.113-.649-.105-1.687 2.982-1.588 3.515.3 1.595 2.69 2.878 3.7 4.1 1.32 1.597 2.334 3.382 4.382 4.158 1.402.532 4.57 1.275 5.402-.54zm-23.7-8.846c-.38-1.762-.34-3.543.094-5.283-.28 1.126-8.78.233-9.941.586-2.464.75-5.433 2.834-5.13 5.84.328 3.257 4.347 4.848 7.223 4 3.004-.882 4.978-2.778 7.167-4.898.176-.172.388-.164.586-.245zm-48.749-32.781c-6.281-6.696-13.177-12.017-20.57-16.935 10.17 9.522 17.159 22.222 20.661 35.797.71 2.753-3.55 3.921-4.248 1.17-3.021-11.93-8.567-22.104-15.978-31.146 1.055 4.178 1.635 8.608 2.11 13.068 1.57 14.73 6.505 23.077 17.936 32.21 2.45 1.956 4.586 3.888 6.494 6.016 1.328-13.791 3.125-30.02-6.405-40.18zM996.638 64.59c-3.252-8.794-15.57-23.244-24.532-30.18-.164-.019-.321-.04-.483-.061 2.066 12.353 9.68 20.987 15.148 32.33 1.146 2.382-2.062 4.281-3.543 2.072-7.514-11.186-12.201-21.67-14.273-34.822-3.213.3-5.246 3.791-6.594 7.46 4.058 7.942 6.144 16.762 1.354 24.119-.035.056-.08.097-.116.153 2.73 3.367 6.615 6.122 11.15 8.93 8.521 5.274 15.872 11.313 22.727 18.255-.28-9.543 2.476-19.293-.838-28.256zM960 37.166a78.545 78.545 0 0 1 2.298-3.526 45.152 45.152 0 0 1-2.298-.322c-.756.12-1.544.243-2.298.322A80.353 80.353 0 0 1 960 37.166zm-.806 18.691c.788-4.424.351-9.277-1.557-14.467-1.346-3.668-3.38-7.16-6.592-7.461-2.072 13.153-6.759 23.636-14.27 34.822-1.484 2.21-4.694.308-3.546-2.071 5.467-11.344 13.082-19.978 15.148-32.331-.164.02-.321.042-.483.06-8.963 6.937-21.282 21.387-24.532 30.181-3.314 8.963-.56 18.713-.838 28.256 6.855-6.942 14.206-12.98 22.726-18.256 7.498-4.642 12.573-11.04 13.944-18.733zm-121.31 15.597c-.697 2.75-4.958 1.582-4.248-1.17 3.502-13.576 10.489-26.276 20.66-35.798-7.392 4.918-14.288 10.24-20.57 16.935-9.527 10.16-7.734 26.389-6.404 40.18 1.908-2.128 4.042-4.06 6.494-6.016 11.43-9.133 16.366-17.48 17.936-32.21.475-4.46 1.055-8.89 2.11-13.068-7.41 9.042-12.957 19.216-15.978 31.147zm-49.853 4.211c4.523-2.6 1.226-7.154-3.226-5.576-.93 1.694-1.865 3.408-2.815 5.126.064-.002.117-.025.182-.027 1.26-.028 1.483 1.613 2.64 1.77.888.122 2.46-.858 3.219-1.293zm6.792 3.84c-1.16-.353-9.658.54-9.94-.586.435 1.74.476 3.521.096 5.283.198.081.408.073.586.245 2.189 2.12 4.163 4.016 7.167 4.899 2.876.847 6.895-.744 7.223-4.002.303-3.005-2.666-5.089-5.132-5.839zm-11.487 18.568c1.162-3.183-.419-6.451-1.906-9.196-.097-.178-.045-.333-.093-.505-1.2.244-2.448.117-3.414-.25-.323-.124-.895 6.163-.848 6.747.151 1.886 1.044 4.075 2.18 5.223 1.286 1.295 2.882 1.265 4.08-2.02zM770.953 76.8c.689-.085 6.506-2.708 5.82-3.438-2.704-2.88-6.94-5.562-11.11-4.412-3.58.66-4.052 3.663-1.741 6.031 1.703 1.748 4.727 2.1 7.03 1.82zm.109 12.63c1.01-1.223 3.4-2.508 3.7-4.1.101-.534-.94-3.62-1.588-3.516-3.252.625-6.552 2.026-9.026 4.113-1.789 1.508-4.012 4.626-2.87 7.12.833 1.813 4 1.072 5.402.54 2.048-.776 3.062-2.56 4.382-4.157zm7.413-9.24c-.768 1.5 2.256 6.107 2.714 2.271.164-1.406-1.576-4.497-2.714-2.271zm-47.145-.73c10.188-6.261 16.375-17.16 24.184-26.347-10.96 7.517-20.271 15.926-29.497 25.627-1.5 1.579-4.414-.567-3.064-2.364 4.3-5.736 9.57-11.01 15.374-15.619-17.411 6.799-37.984 17.369-33.216 37.066 6.544-8.527 16.872-12.62 26.219-18.363zm-99.755-20.603c.109-.21.442-.63.86-1.131-11.978 8.716-20.082 25.669-36.245 25.301-2.243-.052-2.886-3.577-.545-4.032 14.798-2.868 22.322-16.174 34.392-23.123-21.268 5.871-52.554 16.858-50.563 41.81 8.865-6.526 20.287-7.842 30.494-12.173 9.01-3.822 15.958-10.192 18.739-19.721 1-3.424 1.253-3.82 2.868-6.93zm-93.076 6.757c-3.93-.374-6.1 2.52-8.757 4.826 1.227.948 2.235 2.19 2.773 3.555-.374-1.196 6.516-1.227 9.327-3.086 3.319-2.199-1.033-5.077-3.343-5.295zm-.275 18.021c.298-.28.298-.818.049-1.823-.428-1.728-1.999-2.922-3.557-3.607-2.591-1.142-2.201.588-4.165 2.1-.8.616 5.335 3.63 6.186 3.628.742 0 1.227-.051 1.487-.298zm-12.431-6.875c2.538.735 2.912-1.158 1.736-3.001-1.148-1.8-2.51-1.694-3.284-.9-.99 1.015-1.027 3.153 1.548 3.9zm.23 11.485c.237-.753-1.06-6.29-1.726-6.42-.865-.172-1.673-.542-2.453-.995-1.926-1.117-7.163 7.65-.855 9.962 2.296.843 4.335-.321 5.034-2.547zm-12.514-8.401c.677-.154 5.186-2.027 4.91-2.698-.58-1.407-.664-3.018-.346-4.572.056-.353-13.279-4.412-13.99 2.63-.326 3.23 2.33 4.565 5.133 4.842 1.379.14 2.937.107 4.293-.202zm-.491-22.577c-2.124 1.849-1.205 5.574.313 7.431 1.623 1.987 4.232 2.985 6.72 3.284 1.75.213 4.61-.173 6.138.82-.269-.175-.501-.41-.586-.78-.758-3.25-1.692-6.448-3.828-9.088-1.958-2.42-6.144-3.943-8.757-1.667zm-48.404 13.577c11.972-7.765 17.858-20.125 16.714-33.345.147 1.712-3.776 5.681-4.849 6.987-1.677 2.04-3.498 3.959-5.234 5.95-1.795 2.059-3.5 4.19-4.948 6.51-1.41 2.257-4.181 9.517-7.841 8.7-.075-.214-.043-.404.028-.62 4.208-12.614 22.003-32.875 21.876-33.394-10.21 2.977-17.72 10.774-25.067 18.357-10.334 10.67-12.151 21.332-8.824 34.131 5.347-5.248 11.667-9.074 18.145-13.276zm-100.3 6.742c8.055-10.875 6-21.566 2.02-32.389-2.199 11.573-6.075 22.76-12.678 32.656-1.712 2.563-5.447.354-4.107-2.4 5.516-11.327 9.93-22.044 12.417-33.973-6.311 7.749-12.094 15.89-16.972 24.647-6.949 12.472-.758 23.572 1.394 35.57 5.906-8.088 11.967-16.063 17.927-24.11zm-71.902-7.154c-3.402-.849-4.378.705-6.613 2.583 1.671 1.245 2.81 3.173 2.852 5.285-.004.127 3.262 1.635 3.567 1.778 3.745 1.755 6.348-.766 5.671-4.806-.416-2.494-3.147-4.258-5.477-4.84zm-3.84 24.978c5.746-2.542.46-8.513-3.224-11.2-2.077 1.147-4.771 1.174-7.122.472.645 2.456 1.866 5.21 3.014 7.381 1.416 2.674 4.288 4.695 7.332 3.347zm-14.43-20.465c.48.127 4.397-2.88 4.375-3.048-.606-4.58-4.509-9.519-9.523-8.343-2.775.649-3.416 3.242-2.088 5.514.845 1.443 5.522 5.424 7.236 5.877zm-5.734 13.567c2.716-1.42 3.929-4.236 6.114-6.113-1.045-1.106-1.76-2.42-2.038-3.9-5.17-.324-10.638.908-10.414 7.263.125 3.547 3.743 4.108 6.338 2.75zm14.228-12.24c-1.916-2.212-4.341.29-4.133 2.127.323 2.872 7.38 1.627 4.133-2.126zm-60.63 6.466c16.828-7.17 20.512-21.51 18.25-37.996-.242-.256-.361-.531-.448-.86-8.943 11.556-20.146 24.17-33.38 30.592-1.857.901-4.102-1.526-2.336-3.026 5.863-4.977 12.435-9.092 18.353-14.048 5.17-4.331 9.873-9.18 14.341-14.22-.62.677-4.844-.277-5.931-.105-2.745.438-5.56 1.62-8.11 2.684-5.603 2.334-10.868 5.493-15.644 9.232-9.256 7.248-17.425 17.203-20.117 28.873a33.23 33.23 0 0 0-.865 6.989c-.01.618.636 7.102.721 7.065 11.686-5.147 23.42-10.172 35.167-15.18zM107.31 56.73c7.286-10.027 5.125-20.302 2.156-30.782-6.16 13.218-12.15 26.252-20.1 38.754-1.371 2.16-4.569.273-3.413-1.995 6.858-13.464 13.81-26.722 20.478-40.225-.237-.016-.475-.022-.716-.036-10.788 5.378-19.588 18.725-26.132 27.682-9.731 13.32-14.396 29.867-8.62 45.343 5.018-8.444 12.084-14.936 19.722-21.456 6.22-5.307 11.78-10.614 16.625-17.286zM34.7 65.783c-1.615-.305-5.787-1.238-6.981-.35.913.838 1.74 1.741 2.168 2.952.16.448.253 4.666.083 4.529 2.054 1.497 4.13 2.558 6.718 2.663 3.406.14 5.609-3.187 4.105-6.135-1.184-2.32-3.689-3.204-6.094-3.659zm-16.195 17.54c5.026.504 8.116-3.48 9.438-7.71-2.025 1.298-5.008.971-6.979-.327-.408-.268-.669-.67-.992-1.02-.099.026-.196.052-.297.077-1.134.699-2.235 1.45-3.214 2.33-2.809 2.524-1.697 6.275 2.044 6.65zM9.584 65.9c-.584 4.818 4.723 4.874 8.636 4.484-.004-.87.293-1.724.77-2.443.17-.257-8.954-5.78-9.406-2.041zm10.58-11.387c-.984.424-.998 3.4-.907 4.353.167 1.75 2.128 6.29 4.694 4.754.39-1.7 1.795-4.157 1.167-5.87-.085-.226-.28-.515-.548-.828-1.075-1.247-3.33-2.876-4.406-2.409zm7.195 16.97c1.158-1.89.2-3.51-1.243-3.956-1.884-.582-4.436 1.32-3.733 3.377.687 2.013 3.895 2.348 4.976.58zm1874.623-36.392c-4.684-1.812-8.22-3.114-10.604-3.905a174.081 174.081 0 0 0-10.6-3.135c-1.836-.48-3.679-.93-5.528-1.352-1.162-.264-3.676-.297-4.608-.986 9.711 7.179 17.636 16.787 22.266 27.923 11.865-10.685 12.908 6.878 12.296 7.04 5.174-1.373 10.249-.983 9.796 5.224-.382 5.28-3.929 7.999-8.234 8.735a9.337 9.337 0 0 1 1.73 2.65c1.58 3.609.269 7.48-3.276 9.18-6.595 3.166-15.39-2.606-16.692-9.496-2.273 1.275-4.802 2.051-7.44 1.445-3.308-.762-6.541-3.308-6.707-6.948-.386-8.436 8.375-11.68 15.48-10.924-6.842-16.623-18.774-35.856-38.24-37.644a226.419 226.419 0 0 0-15.658-.914c-2.616-.058-11.06 1.431-13.056.065 10.562 7.225 19.171 19.76 24.87 29.69 4.073 7.095 7.3 14.807 8.576 22.928 1.277 8.133-.503 15.314-3.302 22.935-.673 1.833-1.496 4.687-3.09 5.932-2.537 1.984-3.687-1.98-4.928-3.804-4.994-7.336-11.338-13.565-17.991-19.388-7.094-6.207-14.315-12.577-18.905-20.952-7.145-13.036-3.33-22.917-.667-36.272-20.415-.523-42.576 5.52-62.594 9.347 17.041 5.41 33.897 21.678 42.011 36.436-.01-.018 9.123-4.11 10.512-3.828.004 3.931-4.962 6.748-8.181 7.811 11.403-3.007 13.6 16.676.186 11.07-.586-.245-4.887-3.28-4.59-7.446-2.65 1.061 1.746 5.58-1.195 7.106-4.523 2.349-4.052-5.546-3.42-7.51.13-.404 1.674-5.093 2.392-4.374-6.67-6.722-12.19-14.577-19.182-20.964-8.707-7.955-20.583-17.292-33.113-15.497-10.158 1.455-20.229 3.807-30.366 5.454 10.954 4.954 20.875 13.624 28.484 21.955 10.562 11.56 14.64 25.007 9.752 40.233-.457 1.425-2.163 2.78-3.741 2.124-17.3-7.185-38.923-12.888-52.8-25.843-8.874-8.282-8.644-23.828-6.005-35.093-7.128.796-14.272 1.418-21.439 1.758-12.403.588-24.762.362-37.092-.307 4.474 3.146 8.62 6.805 12.179 10.964 1.673 1.956 2.928 4.214 4.482 6.257 1.437 1.886 3.384 3.094 4.901 4.879 1.185-2.811 2.391-5.49 5.002-7.284 3.182-2.189 8.109-2.692 11.345-.408 6.366 4.495 3.92 10.928-.88 14.915 5.091 1.33 9.063 6.953 8.079 12.201-.81 4.32-4.643 7.44-9.13 6.765-2.651-.398-6.01-2.26-8.359-4.691-.066 1.04-.218 2.088-.638 3.187-1.813 4.747-5.38 8.125-10.647 8.56-4.744.39-9.067-2.55-9.798-7.376-.166-1.095.426-8.043 2.124-8.007-4.554-.095-9.358-3.9-9.313-9.232.059-7.046 5.521-11.106 11.587-11.745-1.983-3.203-5.296-6.968-6.189-8.007-2.726-3.177-4.802-3.963-7.63-7.053-6.483-7.082-15.074-5.12-23.716-6-8.596-.878-17.175-1.913-25.745-3.016 7.45 8.231 14.291 18.381 17.363 27.704 3.246 9.861-.83 19.093-1.348 28.92-.167 3.144.02 15.523-5.048 15.483-4.4-.035-8.147-4.869-10.613-7.947-3.468-4.325-6.293-9.095-9.475-13.624-6.815-9.707-14.8-20.88-12.205-33.434 1.356-6.567 5.439-12.47 7.747-18.667-6.178-2.36-13.735-2.087-20.257-2.944-4.715-.62-17.486.129-21.128-2.646 7.874 5.997 14.754 14.574 16.6 23.531 2.808-.226 5.621.651 7.812 3.094 1.532 1.71-.746 3.889-2.478 2.478-.39-.319-.857-.463-1.305-.655 4.242 2.94 3.88 7.731-.81 9.926-1.698.794-3.944 1.198-5.678.277-.792-.42-1.477-1.082-1.843-1.912-.313-.708-.687-4.44-.089-4.932-1.27 1.045-1.508 2.434-1.124 3.984.37 1.494 1.233 2.77-.527 3.785-8.038 4.635-4.996-9.115-2.09-12.077.839-.855 1.805-1.56 2.82-2.171-2.565-5.002-4.346-10.243-8.155-14.717-8.911-10.47-17.373-12.29-30.62-13.29a468.303 468.303 0 0 0-16.84-.979c-3.758-.145-12.354 1.378-15.567-.297 9.711 5.063 18.014 14.766 24.186 22.595 6.684 8.479 8.472 18.558 6.785 29.05-.415 2.576-3.656 17.792-8.2 11.933-9.297-11.989-26.807-16.067-34.13-29.766-4.559-8.533-6.962-19.145-3.712-28.483 3.001-8.631-12.71-4.13-17.086-3.65-16.746 1.842-33.562 4.65-50.423 7.765 7.413 5.518 16.443 15.702 21.789 22.616.774.236 1.54.485 2.251.766.388.153.708.368.968.616.898-3.84 2.506-7.562 5.948-9.666 4.18-2.557 9.386-2.739 12.828 1.137 3.007 3.388 2.62 8.626.36 12.297.73.07 1.445.208 2.142.43 4.137 1.322 8.191 5.075 6.9 9.905-1.85 6.924-7.852 8.937-13.751 7.898.762 4.701-1.512 10.086-7.157 11.098-4.485.802-8.971-.984-10.556-5.54-.481-1.38-.681-2.989-.546-4.543-.74.71-1.566 1.352-2.603 1.837-2.38 1.112-5.649.944-7.706-.794-2.288-1.93-1.126-5.463.176-7.775.764-1.354 1.643-2.454 2.664-3.383-4.748 1.26-9.928-1.613-8.746-7.888 1.03-5.455 4.968-7.33 9.423-7.47-1.979-2.715-3.947-5.439-6.165-7.874-5.462-6-9.82-11.981-18.585-12.256-7.28-.228-14.178 3.258-21.205 4.612-13.038 2.514-26.084 4.994-39.182 7.169 17.567 4.333 36.401 13.686 45.589 29.901 2.965 5.23 4.262 11.33 3.935 17.335-.605 11.075-6.35 4.284-12.897.558-4.028-2.296-8.474-3.731-12.858-5.168-8.878-2.913-18.252-5.447-24.869-12.496-7.536-8.028-7.593-28.64-20.443-26.91a447.843 447.843 0 0 1-15.236 1.798c-5.275.527-19.768 4.202-24.378 1.7 10.78 5.853 20.835 14.432 27.027 23.424 2.706-.158 5.465.509 7.725 2.057 1.437.982.212 2.971-1.338 2.29-1.023-.449-2.167-.657-3.33-.742.886.065 2.115 4.45 2.311 5.283.445 1.896.043 4.253-1.671 5.405-1.613 1.085-8.606.541-9.388-1.567-.13-.35-.182-.745-.24-1.136-.19 6.102-4.861 8.404-5.334 1.532-.216-3.12 2.472-8.844 4.852-10.766.227-.182.508-.246.744-.41-5.88-5.612-11.255-11.58-18.015-16.328-9.348-6.564-16.23-8.638-27.53-9.121-7.368-.315-14.735-.833-22.57-1.862 12.3 4.995 25.639 13.242 30.827 26.106 2.54 6.3 2.817 13.634.495 20.061-3.765 10.427-7.262 2.163-11.451-2.756-2.628-3.084-6.138-5.35-9.564-7.434-6.789-4.133-14.267-7.235-19.752-13.193-8.149-8.854-14.319-23.762-25.435-29.049-9.38-4.46-20.24-4.06-30.184-6.336 8.226 7.106 14.954 15.99 18.482 25.56 4.14-5.636 12.923-8.777 18.358-3.233 3.146 3.21 3.278 8.143.036 11.447-1.148 1.17-2.494 1.942-3.909 2.545.976.543 1.936 1.145 2.85 1.907 3.185 2.654 5.863 7.161 4.679 11.488-2.266 8.27-15.554 4.588-16.838-1.964.399 2.035.49 4.14.029 6.206-.692 3.1-2.454 7.19-6.031 7.696-3.216.455-7.646-2.884-9.483-5.283-1.443-1.88-2.943-5.374-1.219-7.488-11.257 5.861-21.772-10.642-10.568-17.494 1.567-.956 3.535-1.702 5.593-2.098-.16-.976-.176-1.984.13-2.985 1.078-3.508 3.784-5.018 6.76-5.17-7.733-13.235-18.049-23.446-33.368-26.72-6.496-1.388-19.5-1.516-24.884-5.16 7.608 5.15 14.605 11.49 19.162 18.543 6.799 10.52 6.24 24.067 5.1 36.044-.312 3.27-.47 7.625-1.91 10.596-2.713 5.593-3.305 3.17-7.214-.897-7.613-7.92-18.571-13.792-22.522-24.627-4.218-11.576-1.957-25.206-7.256-36.326-3.961-8.309-10.544-7.537-18.377-8.395a301.907 301.907 0 0 0-15.393-1.304c-9.44-.546-19.361-1.19-28.761.158-1.987.285-6.452 2.409-8.17 2.225 20.935 2.247 44.221 9.18 51.588 25.473 3.377-1.81 7.282-2.466 11.15-1.281.914.279 1.045 1.772 0 1.978-2.59.512-5.184 1.205-6.451 2.545 6.85 2.405 5.042 12.082-1.64 13.094-2.711.413-5.432-.885-6.853-3.197-.38 2.233-.34 4.517-.317 7.148.028 3.824-3.537 2.05-4.798.625-1.544-1.748-1.103-5.592-.752-7.66.178-1.043 4.523-10.01 4.871-9.505-12.22-17.682-34.6-20.938-55.52-23.323a68.349 68.349 0 0 1 3.84 4.572c4.001 5.222 10.125 9.79 13.587 15.346 8.984 14.416.63 30.384 7.09 45.43 1.219 2.84-2.102 6.098-4.565 3.524-8.869-9.259-17.456-17.543-28.3-24.534-4.46-2.878-8.397-5.744-11.78-9.43-3.383 3.686-7.32 6.552-11.78 9.43-10.846 6.99-19.431 15.275-28.3 24.534-2.465 2.574-5.784-.683-4.565-3.523 6.457-15.047-1.894-31.015 7.09-45.431 3.464-5.556 9.584-10.124 13.585-15.346a68.978 68.978 0 0 1 3.842-4.572c-20.922 2.385-43.3 5.641-55.52 23.323.348-.505 4.693 8.462 4.87 9.505.352 2.068.793 5.912-.751 7.66-1.261 1.425-4.826 3.2-4.798-.625.022-2.63.063-4.915-.32-7.148-1.418 2.312-4.14 3.61-6.853 3.197-6.68-1.012-8.486-10.689-.584-13.272-2.32-1.162-4.913-1.855-7.506-2.367-1.043-.206-.914-1.7 0-1.978 3.87-1.185 7.775-.53 11.152 1.281 7.367-16.294 30.651-23.226 51.587-25.473-1.717.184-6.182-1.94-8.169-2.225-9.4-1.348-19.323-.704-28.76-.158-5.14.3-10.274.742-15.394 1.304-7.833.858-14.416.086-18.377 8.395-5.3 11.12-3.036 24.75-7.258 36.326-3.947 10.835-14.907 16.706-22.52 24.627-3.909 4.064-4.503 6.49-7.213.897-1.44-2.97-1.599-7.326-1.91-10.598-1.14-11.975-1.698-25.522 5.099-36.042 4.557-7.053 11.552-13.393 19.161-18.543-5.382 3.644-18.39 3.772-24.883 5.16-15.32 3.274-25.635 13.485-33.367 26.72 2.975.152 5.68 1.662 6.758 5.17.307 1 .291 2.01.131 2.985 2.058.396 4.024 1.142 5.593 2.098 11.204 6.85.689 23.355-10.568 17.494 1.724 2.112.224 5.609-1.217 7.488-1.84 2.4-6.27 5.738-9.487 5.283-3.573-.507-5.337-4.595-6.029-7.696-.458-2.065-.37-4.171.029-6.206-1.284 6.552-14.572 10.232-16.838 1.964-1.184-4.327 1.494-8.834 4.679-11.488.914-.762 1.874-1.364 2.85-1.907-1.415-.603-2.761-1.375-3.909-2.545-3.242-3.304-3.11-8.238.036-11.447 5.435-5.544 14.218-2.403 18.358 3.233 3.528-9.57 10.254-18.454 18.482-25.56-9.941 2.276-20.807 1.876-30.184 6.336-11.118 5.287-17.288 20.195-25.435 29.047-5.485 5.96-12.965 9.062-19.752 13.195-3.426 2.084-6.936 4.35-9.564 7.432-4.19 4.92-7.686 13.185-11.45 2.758-2.323-6.427-2.044-13.76.494-20.06 5.188-12.865 18.527-21.112 30.356-26.036-7.364.956-14.731 1.476-22.1 1.79-11.3.484-18.183 2.558-27.53 9.122-6.761 4.747-12.135 10.716-18.014 16.328.236.164.517.228.742.41 2.382 1.922 5.07 7.646 4.854 10.766-.473 6.872-5.143 4.57-5.333-1.532-.06.39-.11.787-.241 1.136-.782 2.108-7.775 2.652-9.388 1.567-1.714-1.154-2.116-3.509-1.671-5.405.196-.832 1.423-5.218 2.312-5.283-1.164.085-2.308.293-3.33.742-1.55.681-2.776-1.308-1.34-2.29 2.26-1.548 5.02-2.217 7.726-2.057 6.19-8.992 16.247-17.571 27.027-23.424-4.61 2.502-19.103-1.173-24.38-1.7a449.056 449.056 0 0 1-15.236-1.799c-12.85-1.73-12.905 18.883-20.443 26.91-6.617 7.05-15.989 9.584-24.865 12.497-4.386 1.437-8.832 2.872-12.862 5.166-6.544 3.728-12.29 10.52-12.895-.556-.327-6.005.97-12.104 3.935-17.337 9.188-16.21 28.022-25.566 45.59-29.9-13.1-2.174-26.145-4.654-39.183-7.168-7.027-1.354-13.925-4.84-21.205-4.612-8.767.275-13.122 6.255-18.585 12.256-2.217 2.435-4.186 5.16-6.163 7.874 4.45.14 8.392 2.015 9.419 7.47 1.184 6.275-3.996 9.149-8.744 7.888 1.021.93 1.9 2.029 2.664 3.383 1.302 2.31 2.464 5.845.176 7.775-2.057 1.738-5.325 1.906-7.706.794-1.04-.485-1.864-1.128-2.603-1.837.137 1.554-.065 3.163-.546 4.543-1.585 4.554-6.071 6.342-10.556 5.54-5.645-1.012-7.92-6.397-7.159-11.098-5.897 1.04-11.9-.974-13.749-7.898-1.291-4.83 2.763-8.583 6.9-9.905.697-.222 1.413-.36 2.142-.43-2.26-3.673-2.647-8.91.36-12.297 3.44-3.876 8.65-3.694 12.828-1.137 3.442 2.104 5.048 5.826 5.95 9.666.258-.248.578-.463.966-.616.71-.281 1.477-.53 2.251-.766 5.346-6.914 14.376-17.098 21.79-22.616-16.862-3.114-33.678-5.923-50.424-7.765-4.376-.48-20.09-4.981-17.086 3.65 3.252 9.338.847 19.95-3.713 28.483-7.322 13.699-24.832 17.777-34.13 29.766-4.543 5.86-7.784-9.357-8.199-11.932-1.687-10.495.101-20.574 6.785-29.053 6.172-7.827 14.475-17.53 24.186-22.593-3.213 1.675-11.811.152-15.568.297-5.619.22-11.233.556-16.84.978-13.246 1-21.708 2.822-30.619 13.29-3.807 4.475-5.59 9.716-8.154 14.718 1.014.61 1.98 1.316 2.819 2.17 2.906 2.963 5.948 16.713-2.09 12.078-1.76-1.014-.897-2.291-.527-3.785.384-1.55.145-2.94-1.124-3.984.598.492.224 4.224-.089 4.932-.366.83-1.051 1.491-1.843 1.912-1.736.921-3.98.517-5.677-.277-4.69-2.195-5.053-6.987-.81-9.926-.447.192-.916.336-1.306.655-1.732 1.411-4.01-.768-2.478-2.478 2.193-2.443 5.004-3.32 7.81-3.094 1.848-8.957 8.728-17.534 16.6-23.53-3.642 2.774-16.41 2.024-21.126 2.645-6.524.857-14.079.584-20.257 2.944 2.306 6.197 6.389 12.1 7.747 18.667 2.595 12.555-5.392 23.727-12.207 33.434-3.18 4.53-6.005 9.297-9.473 13.624-2.466 3.078-6.213 7.912-10.613 7.947-5.068.04-4.883-12.339-5.048-15.484-.52-9.826-4.594-19.058-1.348-28.919 3.072-9.323 9.913-19.473 17.36-27.704-8.567 1.103-17.144 2.138-25.742 3.015-8.642.881-17.233-1.081-23.719 6-2.827 3.09-4.9 3.877-7.627 7.054-.893 1.039-4.206 4.804-6.189 8.007 6.066.64 11.528 4.7 11.587 11.745.045 5.331-4.76 9.137-9.313 9.232 1.7-.036 2.29 6.912 2.124 8.007-.731 4.827-5.054 7.765-9.798 7.373-5.267-.432-8.834-3.81-10.647-8.557-.42-1.101-.572-2.146-.638-3.187-2.349 2.431-5.708 4.293-8.36 4.69-4.486.676-8.318-2.445-9.129-6.764-.984-5.248 2.988-10.871 8.079-12.2-4.8-3.988-7.246-10.421-.88-14.916 3.236-2.284 8.163-1.78 11.345.408 2.61 1.795 3.817 4.473 5.002 7.284 1.517-1.785 3.462-2.993 4.899-4.88 1.558-2.042 2.811-4.3 4.484-6.256 3.56-4.16 7.705-7.818 12.18-10.964-12.331.669-24.69.895-37.095.307-7.165-.34-14.31-.962-21.437-1.758 2.64 11.265 2.87 26.81-6.005 35.093-13.877 12.955-35.5 18.658-52.8 25.843-1.578.655-3.282-.699-3.74-2.124-4.892-15.226-.811-28.672 9.75-40.233 7.61-8.33 17.53-17.001 28.485-21.955-10.137-1.647-20.206-4-30.366-5.454-12.53-1.797-24.404 7.542-33.113 15.497-6.993 6.387-12.512 14.242-19.182 20.964.718-.721 2.262 3.97 2.391 4.374.633 1.964 1.104 9.859-3.42 7.51-2.94-1.526 1.456-6.047-1.194-7.106.295 4.166-4.004 7.201-4.59 7.446-13.411 5.606-11.217-14.077.188-11.07-3.221-1.063-8.187-3.88-8.183-7.81 1.389-.284 10.524 3.809 10.512 3.827 8.114-14.758 24.97-31.025 42.011-36.436-20.02-3.827-42.18-9.87-62.592-9.347 2.662 13.355 6.476 23.236-.669 36.272-4.59 8.375-11.81 14.745-18.905 20.952-6.653 5.82-13 12.05-17.993 19.388-1.241 1.823-2.39 5.788-4.925 3.804-1.595-1.245-2.418-4.099-3.09-5.932-2.8-7.621-4.582-14.802-3.303-22.935 1.275-8.12 4.503-15.833 8.575-22.929 5.7-9.93 14.31-22.464 24.87-29.69-1.995 1.367-10.44-.122-13.055-.064a226.42 226.42 0 0 0-15.659.914C48.913 24.686 36.981 43.917 30.14 60.542c7.102-.756 15.865 2.488 15.48 10.924-.167 3.64-3.4 6.186-6.709 6.948-2.637.606-5.166-.17-7.44-1.445-1.303 6.89-10.096 12.662-16.691 9.497-3.547-1.702-4.857-5.572-3.276-9.182a9.337 9.337 0 0 1 1.73-2.65C8.929 73.9 5.382 71.182 5 65.9c-.453-6.207 4.622-6.597 9.796-5.225-.612-.163.43-17.724 12.294-7.04C31.722 42.5 39.645 32.893 49.358 25.714c-.932.69-3.448.722-4.608.986-1.85.423-3.692.871-5.527 1.352a173.655 173.655 0 0 0-10.6 3.135c-2.564.85-5.105 1.764-7.625 2.731l-4.268 1.779c-1.06.541-2.267 1.212-3.465 1.671L0 44V0h1920v44l-7.506-4.042c-2.84-1.372-6.343-2.995-10.512-4.867z" fill="'.concat(e,'" fill-rule="evenodd"/></svg>'),42:'<svg viewBox="0 0 1920 163" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="'.concat(e,'" fill-rule="evenodd"><g opacity=".25"><path d="M67.296 78.015c8.258 4.814 19.024 3.4 26.725-1.502 17.41-11.081 18.436-37.104.11-47.537C54.449 6.381 2.446 27.822.093 77.821c-2.514 53.38 46.872 82.54 97.08 70.135 51.934-12.834 75.287-48.718 120.084-75.87 21.24-12.873 48.253-18.453 72.548-21.323 18.015-2.13 39.802 1.067 52.65 15.16 10.328 11.33 19.91 49.77.439 54.29-43.13 10.008-28.386-32.004-47.677-27.024-14.944 3.858-2.205 31.403 4.547 37.032 11.15 9.295 29.15 10.194 42.756 7.775 44.38-7.898 31.5-67.839 6.985-88.652C313.802 19.031 245.76 41.6 210.085 59.815c-51.856 26.478-70.88 69.636-132.768 76.047-32.82 3.397-61.768-15.415-64.919-49.241-.18-10.876 2.349-21.08 7.581-30.617 3.177-4.17 6.356-8.337 9.534-12.507 20.723-27.183 32.557.62 37.555 19.732 0 0-8.386 2.726-6.934 7.821.56 1.975 2.595 4.303 7.162 6.965zM665.768 82.389a9.887 9.887 0 0 0-3.201-.85c-15.71-1.463-20.108 29.08-16.292 39.42 9.74 26.382 48.78 27.08 71.883 24.49 39.091-4.38 64.245-39.079 88.99-65.68 26.414-28.391 65.873-35.275 103.264-28.535 45.6 8.222 42.928 57.208 10.89 80.654-5.497 2.712-10.993 5.427-16.494 8.141-36.314 17.925-2.312-33.34-5.063-41.876-10.158-31.504-54.392 13.395-48.984 36.603 11.666 50.05 84.417 20.827 102.93-2.292 32.707-40.843-13.537-89.817-52.37-96.837-25.353-4.58-52.864.94-75.609 12.634-25.58 13.151-37.737 37.11-59.583 54.419-19.596 15.528-40.96 37.931-69.4 28.43-57.374-19.172-17.535-42.624-30.961-48.721"/><path d="M1035.057 82.053c-23.562-37.557-63.544-16.237-76.794 17.923-25.49 65.71 62.675 49.055 96.897 34.198 23.479-10.192 43.588-30.237 63.061-46.272 16.298-13.424 31.585-23.566 51.537-30.6 37.258-4.815 57.531 10.377 60.815 45.572.857 9.182-11.794 32.907-22.569 33.816-6 .507-10.816-4.068-14.44-8.266-10.014-11.595-3.553-8.83-.18-18.982 5.627-16.938-21.862-10.404-27.78-4.123-8.847 9.386-10.464 27.06-1.028 36.497 31.894 31.894 75.226-4.936 79.304-38.924 5.772-48.135-53.162-72.548-90.513-53.903-35.332 17.64-62.12 46.635-94.89 68.182-12.393 8.147-27.317 12.466-41.426 16.562-81.654 23.707-29.293-106.335 12.553-48.493 2.338 3.232 7.656.326 5.453-3.187M445.186 82.053c-41.017-65.233-109.666 38.56-68.863 61.75 27.63 15.7 62.204 1.988 88.967-9.629 23.476-10.192 43.588-30.237 63.059-46.272 16.297-13.424 31.585-23.566 51.536-30.6 25.601-9.029 55.232 12.107 57.33 38.335 2.229 27.846-29.593 57.573-41.394 19.14 18.172-4.617-2.726-24.482-18.132-11.533-10.585 8.898-13.002 28.553-2.984 38.572 31.895 31.894 75.226-4.936 79.303-38.924 5.774-48.135-53.162-72.548-90.511-53.903-35.334 17.64-62.123 46.635-94.89 68.182-12.396 8.147-27.32 12.466-41.426 16.562-81.655 23.707-29.295-106.335 12.553-48.493 2.336 3.232 7.66.324 5.452-3.187"/><path d="M1297.729 78.312c.562 1.973 2.597 4.3 7.165 6.963 8.258 4.814 19.022 3.399 26.724-1.502 17.411-11.081 18.436-37.105.111-47.537-39.683-22.596-91.687-1.152-94.041 48.847-2.513 53.378 46.872 82.54 97.079 70.132 51.935-12.832 89.29-48.715 134.087-75.87 21.237-12.872 48.252-18.45 72.545-21.322 18.018-2.13 39.805 1.067 52.653 15.162 10.327 11.328 19.909 49.768.438 54.287-43.129 10.008-28.385-32.001-47.676-27.021-14.944 3.856-2.205 31.4 4.547 37.03 11.15 9.294 29.148 10.196 42.755 7.774 44.379-7.898 31.498-67.838 6.985-88.651-35.702-30.312-103.743-7.743-139.42 10.473-51.854 26.476-84.878 69.635-146.767 76.044-32.82 3.398-61.767-15.412-64.918-49.239-.18-10.877 2.346-21.081 7.579-30.619 3.179-4.167 6.356-8.337 9.535-12.504 20.722-27.185 32.557.62 37.555 19.73 0 0-8.385 2.726-6.936 7.823"/><path d="M1696.784 89.313c-41.02-65.234-109.669 38.56-68.866 61.749 27.63 15.701 62.206 1.99 88.97-9.628 23.474-10.19 43.585-30.235 63.058-46.272 16.298-13.424 31.585-23.564 51.537-30.601 25.6-9.028 55.231 12.108 57.33 38.337 2.226 27.844-29.595 57.572-41.396 19.14 18.171-4.617-2.727-24.483-18.131-11.535-10.586 8.9-13.001 28.556-2.985 38.572 31.894 31.894 75.228-4.935 79.304-38.921 5.774-48.138-53.162-72.55-90.51-53.906-35.335 17.64-62.126 46.636-94.893 68.182-12.393 8.15-27.317 12.466-41.424 16.563-81.654 23.707-29.295-106.336 12.553-48.493 2.336 3.232 7.658.323 5.453-3.187"/></g><path d="M1919.995 86.998a54.235 54.235 0 0 1-.39 7.156c-4.076 33.986-47.41 70.815-79.304 38.921-10.016-10.016-7.601-29.673 2.985-38.572 15.404-12.948 36.302 6.918 18.13 11.535 11.802 38.432 43.623 8.704 41.396-19.14-2.098-26.229-31.728-47.365-57.33-38.337-19.95 7.037-35.238 17.177-51.536 30.6-19.473 16.038-39.584 36.082-63.059 46.273-26.763 11.619-61.339 25.33-88.969 9.628-7.053-4.009-10.835-10.425-12.056-17.961-4.707 5.986-11.784 10.381-21.746 12.154-13.607 2.422-31.605 1.52-42.755-7.775-6.752-5.628-19.491-33.173-4.547-37.03 19.29-4.98 4.547 37.03 47.676 27.022 19.471-4.519 9.89-42.96-.438-54.287-12.848-14.095-34.635-17.292-52.653-15.162-24.293 2.872-51.308 8.45-72.545 21.322-44.797 27.155-82.152 63.038-134.087 75.87-40.603 10.034-80.668-7.119-93.181-42.28-10.198 30.525-48.253 57.638-77.01 28.88-9.436-9.436-7.82-27.11 1.029-36.496 5.917-6.281 33.406-12.815 27.779 4.123-3.373 10.152-9.834 7.387.18 18.982 3.624 4.198 8.44 8.773 14.44 8.266 10.775-.91 23.426-24.634 22.57-33.816-3.285-35.195-23.558-50.387-60.816-45.573-19.952 7.035-35.24 17.177-51.537 30.601-19.473 16.035-39.582 36.08-63.06 46.272-27.333 11.866-89.074 24.879-99.84-3.84a59.788 59.788 0 0 1-1.63 2.13c-18.513 23.119-91.264 52.341-102.93 2.292-5.408-23.208 38.826-68.107 48.984-36.603 2.751 8.537-31.251 59.8 5.063 41.876 5.501-2.714 10.997-5.429 16.494-8.14 32.038-23.447 34.71-72.433-10.89-80.655-37.391-6.74-76.85.144-103.263 28.535-24.746 26.601-49.9 61.3-88.991 65.68-22.437 2.515-59.906 1.93-70.969-22.273-14.237 25.745-47.009 44.115-72.484 18.64-10.018-10.019-7.6-29.674 2.984-38.572 15.406-12.95 36.304 6.916 18.132 11.534 11.801 38.432 43.623 8.705 41.394-19.141-2.098-26.228-31.729-47.364-57.33-38.336-19.951 7.035-35.239 17.177-51.536 30.601-19.471 16.035-39.583 36.08-63.06 46.272-26.762 11.617-61.336 25.33-88.966 9.628-7.053-4.008-10.836-10.426-12.056-17.962-4.708 5.987-11.785 10.383-21.748 12.156-13.606 2.419-31.605 1.52-42.756-7.775-6.752-5.629-19.49-33.174-4.547-37.032 19.291-4.98 4.547 37.032 47.677 27.024 19.47-4.52 9.889-42.96-.439-54.29-12.848-14.093-34.635-17.29-52.65-15.16-24.295 2.87-51.309 8.45-72.548 21.322-44.797 27.153-82.15 63.037-134.085 75.87C48.965 143.867 1.516 117.46.036 68.088L0 68V0h1920v87l-.005-.002z" fill-rule="nonzero"/></g></svg>')});function s(e,t){const o=c(t),n=l.Base64.encode(o[e]);return"data:image/svg+xml;base64,".concat(n)}o.d(t,"a",(function(){return r})),o.d(t,"c",(function(){return i})),o.d(t,"b",(function(){return s}))},,,,,,function(e,t,o){"use strict";o.d(t,"a",(function(){return c})),o.d(t,"b",(function(){return s})),o.d(t,"c",(function(){return d}));var n=o(2),a=o(11),r=o(65);function i(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function l(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?i(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const c=(e,t,o)=>{const{id:n,type:i}=o||{};if("tabsState"===n)return o;switch(i){case"tabs":case"tabs-dev":return l({},o,{tabs:Object(r.f)(o.tabs).map(o=>l({},o,{options:[{id:"tabsState",type:"stateMode",options:o.options,value:a.e(e),onChange:t}]}))});case"popover":case"popover-dev":return l({},o,{options:[{id:"tabsState",type:"stateMode",options:o.options,value:a.e(e),onChange:t}]});default:return o}},s=(e,t)=>Object(r.e)([a.d],t.states).includes(e),d=(e,t)=>t.some(s.bind(null,e))},function(e,t,o){"use strict";o.d(t,"a",(function(){return p}));var n=o(2),a=o(0),r=o.n(a),i=o(7),l=o.n(i),c=o(6),s=o.n(c),d=o(10);class p extends r.a.Component{constructor(...e){super(...e),Object(n.a)(this,"onChange",e=>{const{valueMap:t,onChange:o}=this.props,n=l.a.isObject(t)?t[e.target.checked]:e.target.checked;setTimeout(o,200,n)})}render(){const{className:e,defaultValue:t,valueMap:o,arrowCheck:n,arrowUnCheck:a}=this.props,i=l.a.isObject(o)?"true"===l.a.findKey(o,e=>e===t):t,c=s()("brz-ed-control__switch",e);return r.a.createElement("div",{className:c},r.a.createElement("label",{className:"brz-label brz-ed-control__switch-label"},r.a.createElement("input",{type:"checkbox",className:"brz-input brz-ed-control__switch-input",defaultChecked:i,onChange:this.onChange}),r.a.createElement("span",{className:"brz-span brz-ed-control__switch-arrows"},r.a.createElement(d.b,{className:"brz-ed-control__switch--check",icon:n}),r.a.createElement(d.b,{className:"brz-icon-svg brz-ed-control__switch--un-check",icon:a})),r.a.createElement("span",{className:"brz-span brz-ed-control__switch--handle"})))}}Object(n.a)(p,"defaultProps",{className:"",arrowCheck:"nc-check-small",arrowUnCheck:"nc-remove",defaultValue:!1,valueMap:null})},,function(e,t,o){"use strict";var n=o(28),a=o(9),r=o(0),i=o.n(r),l=o(6),c=o.n(l),s=o(119),d=o(93),p=o(10),u=o(49);const b=({children:e,className:t,label:o,helper:n,helperPlacement:a="top",display:r="inline"})=>{const l=c()("brz-ed-option-wrapper","brz-ed-option__".concat(r),t);return i.a.createElement("div",{className:l},o||n?i.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__focal-point__label"},o,n&&i.a.createElement("div",{className:"brz-ed-option__helper"},i.a.createElement(u.a,{placement:a,openOnClick:!1,overlay:i.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:n}})},i.a.createElement(p.b,{icon:"nc-alert-circle-que"})))):null,e)};class h extends i.a.Component{renderLegacy(e){const{data:t={className:""},className:o,location:n="",toolbar:r=null}=this.props;return i.a.createElement(e,Object(a.a)({},t,{className:c()(t.className,o),location:n,toolbar:r}))}renderNew(e){const t=this.props,{data:{label:o,display:r,helper:l,className:s,type:d},className:p=""}=t,u=Object(n.a)(t.data,["label","display","helper","className","type"]),h=c()("brz-ed-option-type__".concat(d),p,s);return i.a.createElement(b,{className:h,label:o,helper:null==l?void 0:l.content,helperPlacement:null==l?void 0:l.position,display:r},i.a.createElement(e,Object(a.a)({toolbar:this.props.toolbar},u)))}render(){const e=this.props.data.type,t=s.c[e];return t?Object(d.b)(this.props.data.type)?this.renderNew(t):this.renderLegacy(t):null}}t.a=h},,,function(e,t,o){"use strict";(function(e){o.d(t,"b",(function(){return d}));var n=o(13),a=o(39),r=o(89),i=o(387),l=o(365);o.d(t,"a",(function(){return l.a}));const c={},s=new Worker(e,{});async function d(e){if(!e)return Promise.reject("Could not find node");const t=getComputedStyle(e);if("none"===t.display||"0"===t.opacity)return Promise.reject("Could not make screenshot for node ".concat(e," because it's hidden"));let o;try{o=await Object(i.a)(e)}catch(e){console.error("cloneinline",e)}const r=function(e){let{width:t,height:o}=e.getBoundingClientRect();return{width:t,height:o}}(e),l=new Blob([o.outerHTML],{type:"text/plain"}),d=URL.createObjectURL(l);return new Promise((e,t)=>{const o=Object(a.a)(3),{assets:i,site:l}=n.a.get("urls");c[o]=[e,t,r,d],s.postMessage({id:o,url:d,assetUrl:i,siteUrl:l,options:r,proxyUrl:p()})})}function p(){{const e=n.a.get("urls").site;return Object(r.b)(e)?"".concat(e,"&brizy_file="):"".concat(e,"?brizy_file=")}}s.onmessage=async e=>{const{id:t,url:o}=e.data,n=await fetch(o),a=await n.text(),[r,i,l,s]=c[t];URL.revokeObjectURL(s),URL.revokeObjectURL(o);const d=document.createElement("img");d.onload=async()=>{let e=d.width,t=d.height;e>600&&(t=Math.floor(600*t/e),e=600);const o=document.createElement("canvas");o.width=e,o.height=t,o.getContext("2d").drawImage(d,0,0,e,t);const n=o.toDataURL("image/jpeg",1);r({src:n,width:e,height:t})},d.onerror=i,d.crossOrigin="anonymous",d.src=a,delete c[t]}}).call(this,o(589))},,,,,,,function(e,t,o){"use strict";var n=o(45);function a(e,t){return t?t[e]:void 0}var r=o(2),i=o(0),l=o.n(i),c=o(6),s=o.n(c),d=o(10),p=o(20),u=o(43),b=o(16),h=o(70);function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class v extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"state",{isSidebarOpen:!1}),Object(r.a)(this,"handleLabelClick",()=>{const e=Object(p.b)(),{rightSidebar:t}=Object(b.D)(e.getState());t.isOpen||this.setState({isSidebarOpen:!0},()=>{e.dispatch(Object(u.c)("rightSidebar",g({},t,{isOpen:!0})))})})}static shouldOptionBeFiltered(){return Object(b.c)(Object(p.b)().getState())!==h.a}componentWillUnmount(){const e=Object(p.b)(),{rightSidebar:t}=Object(b.D)(e.getState());this.state.isSidebarOpen&&void 0===t.lock&&e.dispatch(Object(u.c)("rightSidebar",g({},t,{isOpen:!1})))}renderIcon(){const{icon:e}=this.props;return l.a.createElement("div",{className:"brz-ed-option__icon"},l.a.createElement(d.b,{icon:e}))}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return l.a.createElement("div",{className:"brz-ed-option__label"},e,t&&l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}),l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}render(){const{className:e,icon:t,label:o,helper:n,attr:a,title:r}=this.props,i=s()("brz-ed-option__advanced","brz-ed-option__inline",e,a.className);return l.a.createElement("div",{className:i,title:r,onClick:this.handleLabelClick},t&&this.renderIcon(),(o||n)&&this.renderLabel())}}Object(r.a)(v,"defaultProps",{className:"",icon:"nc-cog",title:"",label:"",sidebarLabel:"",helper:!1,helperContent:"",attr:{}});var y=o(9),f=o(36),O=o(7),C=o.n(O),S=o(31),x=o(47),j=o(81),B=o(30),P=o(17),w=o(1);function T(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function z(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?T(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):T(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const k=132;class E extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"anchorInputRefs",[]),Object(r.a)(this,"handleThumbnailClick",e=>{this.props.value===e?this.props.onChange(""):this.props.onChange(e)}),Object(r.a)(this,"handleInputChange",C.a.debounce((e,t)=>{const{pageBlocks:o,globalBlocks:n,dispatch:a}=this.props,r=encodeURIComponent(e);let i=r;if(""!==i){const e=o.filter(e=>e.value._id!==t).map(e=>("GlobalBlock"===e.type&&(e=n[e.value.globalBlockId].data),e.value.anchorName));let a=!1,l=0;do{a=!1;for(let t of e)if(i===t){a=!0,i=r+"-"+(++l+1);break}}while(a)}const l=o.find(({type:e,value:o})=>"GlobalBlock"===e?n[o.globalBlockId].data.value._id===t:o._id===t);if("GlobalBlock"!==l.type){const e=o.map(e=>e.value._id===t?z({},e,{value:z({},e.value,{anchorName:i})}):e);a(Object(P.R)({blocks:e}))}else{const e=l.value.globalBlockId,t=Object(f.a)(n[e],e=>{e.data.value.anchorName=i});a(Object(u.b)(t))}this.anchorInputRefs[t].setValue(i)},1e3))}componentWillUnmount(){this.anchorInputRefs=null}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props,n=t?l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}),l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return l.a.createElement("div",{className:"brz-ed-option__label"},e,n)}renderThumbnails(){const{value:e,pageBlocksAssembled:t,globalBlocks:o}=this.props;return t.filter(e=>"unlisted"!==e.value._blockVisibility).map(t=>{"GlobalBlock"===t.type&&(t=o[t.value.globalBlockId].data);const{_id:n,anchorName:a}=t.value,r=s()("brz-ed-option__block-thumbnail-item",{active:n===e}),i=a?decodeURIComponent(a):"";return l.a.createElement("div",{key:n,className:r,onClick:()=>this.handleThumbnailClick(n)},l.a.createElement(H,{blockData:t}),l.a.createElement(_,{ref:e=>{e&&(this.anchorInputRefs[n]=e)},id:n,value:i,onChange:e=>this.handleInputChange(e,n)}))})}render(){const{className:e,attr:t,label:o,helper:n,display:a}=this.props,r=s()("brz-ed-option__block-thumbnail","brz-ed-option__".concat(a),e,t.className);return l.a.createElement("div",Object(y.a)({},t,{className:r}),o||n?this.renderLabel():null,l.a.createElement(x.a,{style:{height:"100%",overflow:"hidden"},className:"brz-ed-scroll-pane brz-ed-scroll--small brz-ed-scroll--darker"},this.renderThumbnails()))}}Object(r.a)(E,"defaultProps",{label:"",className:"",attr:{},helper:!1,helperContent:"",display:"inline",value:""});class H extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"state",{blockData:this.props.blockData,imageFetched:!1,showSpinner:!0})}componentDidMount(){this.mounted=!0,this.preloadThumbnail(this.state.blockData)}preloadThumbnail(e){let t=!1;const{url:o}=Object(j.b)(e);return Object(B.e)(o).then(()=>{this.mounted&&!t&&this.setState({imageFetched:!0,showSpinner:!1,blockData:e})}),()=>t=!0}render(){const{blockData:e,imageFetched:t,showSpinner:o}=this.state,{url:n,width:a,height:r}=Object(j.b)(e),i={width:k,height:k*r/a},c=o?{}:{display:"none"};return l.a.createElement("div",{className:"brz-ed-option__block-thumbnail-image",style:i},l.a.createElement("div",{className:"brz-ed-option__block-thumbnail-loading",style:c},l.a.createElement(d.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),t&&l.a.createElement("img",{className:"brz-img",src:n}))}}class _ extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"state",{inputValue:this.props.value}),Object(r.a)(this,"handleContainerClick",e=>{e.stopPropagation()}),Object(r.a)(this,"handleInputChange",e=>{this.setState({inputValue:e.target.value},()=>{this.props.onChange(this.state.inputValue)})})}setValue(e){this.state.inputValue!==e&&this.setState({inputValue:e})}render(){const{id:e}=this.props,t="anchor-".concat(e);return l.a.createElement("div",{className:"brz-ed-option__block-thumbnail-anchor",onClick:this.handleContainerClick},l.a.createElement("span",{className:"brz-span"},"#"),l.a.createElement("input",{className:"brz-input",type:"text",autoComplete:"off",placeholder:Object(w.a)("block-name"),value:this.state.inputValue,onChange:this.handleInputChange,id:t}),l.a.createElement("label",{className:"brz-label",htmlFor:t},l.a.createElement(d.b,{icon:"nc-pen"})))}}var R=Object(S.b)(e=>({pageBlocks:Object(b.o)(e),pageBlocksAssembled:Object(b.n)(e),globalBlocks:Object(b.h)(e)}))(E);class M extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleMouseDown",e=>{e.preventDefault(),this.props.onChange(!this.props.value)})}render(){const{className:e,attr:t,value:o,icon:n,title:a}=this.props,r=s()("brz-ed-option__button",{"brz-ed-toolbar--active":o},e,t.className),i=C.a.omit(t,"className");return l.a.createElement("div",Object(y.a)({className:r,title:a,onMouseDown:this.handleMouseDown},i),l.a.createElement(d.b,{icon:n}))}}Object(r.a)(M,"defaultProps",{className:"",attr:{},icon:"nc-circle-add",title:"Add",value:!1});var I=M;const F=1e3,N=2500;class L extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"state",{loading:!1,active:!1}),Object(r.a)(this,"mounted",!1),Object(r.a)(this,"handleMouseDown",e=>{e.preventDefault(),this.props.onChange(!this.props.value)}),Object(r.a)(this,"handleClick",()=>{const{loading:e}=this.state;e||(this.setState({loading:!0},()=>setTimeout(()=>{this.mounted&&this.setState({loading:!1,active:!0})},F)),setTimeout(()=>{this.mounted&&this.setState({active:!1})},N))})}componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}renderTooltip(){const{tooltipContent:e}=this.props,{loading:t,active:o}=this.state,n=s()("brz-ed-toolbar__item__tooltip",{"brz-ed-animated brz-ed-animated--fadeIn active":o});return!t&&l.a.createElement("div",{className:n},e)}render(){const{className:e,attr:t,value:o,icon:n,title:a,tooltipContent:r}=this.props,{loading:i}=this.state,c=s()("brz-ed-option__button","brz-p-relative",{"brz-ed-toolbar--active":o},e,t.className);return l.a.createElement("div",Object(y.a)({},t,{className:c,title:a,onClick:this.handleClick,onMouseDown:this.handleMouseDown}),r&&this.renderTooltip(),i?l.a.createElement(d.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):l.a.createElement(d.b,{icon:n,className:"brz-ed-animated brz-ed-animated--fadeIn"}))}}Object(r.a)(L,"defaultProps",{className:"",attr:{},icon:"nc-circle-add",title:"Add",tooltipContent:"",value:!1});var W=L,V=o(49);let D;D=o(230),o(232),o(115);class A extends l.a.Component{constructor(e){super(e),Object(r.a)(this,"state",{value:""}),Object(r.a)(this,"lastUpdatedValue",""),Object(r.a)(this,"onChange",e=>this.setState({value:e},this.onChangeDebounced)),Object(r.a)(this,"onChangeDebounced",C.a.debounce(()=>{this.props.onChange(this.state.value),this.lastUpdatedValue=this.state.value},1e3)),this.state={value:e.value}}componentWillReceiveProps({value:e}){e!==this.lastUpdatedValue&&(this.state.value!==this.lastUpdatedValue&&(this.onChangeDebounced.cancel(),this.props.onChange(this.state.value),this.lastUpdatedValue=this.state.value),this.setState({value:e}))}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props,n=t?l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(V.a,{placement:"bottom-center",openOnClick:!1,overlay:l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}))):null;return l.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__code__label"},e,n)}render(){const{label:e,className:t,helper:o,display:n,lineNumbers:a,attr:r,placeholder:i}=this.props,c=s()("brz-ed-option__code","brz-ed-option__".concat(n),t,r.className),d=C.a.omit(r,"className"),p={lineNumbers:a,tabSize:2,placeholder:i,mode:"css"};return l.a.createElement("div",Object(y.a)({className:c},d),e||o?this.renderLabel():null,l.a.createElement(D,{value:this.state.value,onChange:this.onChange,options:p}))}}Object(r.a)(A,"defaultProps",{className:"",label:"",placeholder:"",helper:!1,helperContent:"",attr:{},display:"inline",lineNumbers:!1,value:"",onChange:C.a.noop});var G=A,U=o(111),K=o.n(U);function q(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Y={simpleCheckForValidColor(e){let t=0,o=0;return C.a.each(["r","g","b","a","h","s","l","v"],n=>{if(e[n]&&(t+=1,isNaN(e[n])||(o+=1),"s"===n||"l"===n)){/^\d+%$/.test(e[n])&&(o+=1)}}),t===o&&e},toState(e,t,o){const n=e.hex?K()(e.hex):K()(e),a=n.toHsl(),i=n.toHsv(),l=n.toRgb(),c=n.toHex();0===a.s&&(a.h=t||0,i.h=t||0);let s={};return e.hex||0===i.v||(s={hsv:i}),o||(s={hsv:i}),"saturation"===e.wasChanged&&(s={hsv:{h:i.h,s:0===i.s?e.s/100:i.s,v:i.v}}),"hue"!==e.wasChanged&&"opacity"!==e.wasChanged||(s={}),function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?q(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):q(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({hsl:a,hex:"#".concat(c),rgb:l,oldHue:e.h||t||a.h,source:e.source},s)},isValidHex:e=>K()(e).isValid(),getContrastingColor(e){if(!e)return"#fff";const t=this.toState(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"}};const X="#000000";class Z extends i.Component{constructor(e){super(e),Object(r.a)(this,"onHexChange",({target:{value:e}})=>{const{value:{opacity:t},onChange:o}=this.props;this.setState({hex:e}),e.length<6||!Y.isValidHex(e)||o({hex:(e="#"===e[0]?e:"#"+e).toLowerCase(),opacity:t,isChanged:"hex"})}),this.state={hex:e.value.hex||X}}componentWillReceiveProps({value:{hex:e}}){e!==this.state.hex&&this.setState({hex:e||X})}render(){return l.a.createElement("input",{id:"hex",className:"brz-input",autoComplete:"off",value:this.state.hex,onChange:this.onHexChange})}}Object(r.a)(Z,"defaultProps",{value:{hex:X}}),Z.defaultProps={value:{hex:"#000000",opacity:1},onChange:C.a.noop};class J extends l.a.Component{render(){const{className:e,attr:t,value:o,onChange:n}=this.props,a=s()("brz-ed-option__color-picker__hex",e,t.className),r=C.a.omit(t,"className");return l.a.createElement("div",Object(y.a)({className:a},r),l.a.createElement(Z,{value:o,onChange:n}))}}Object(r.a)(J,"defaultProps",{className:"",attr:{},value:{hex:"#000000",opacity:1},onChange:C.a.noop});var $=J,Q=o(14);class ee extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleSidebarOpen",()=>{Object(p.b)().dispatch(Object(u.c)("leftSidebar",{isOpen:!0,drawerContentType:"styling"}))})}render(){const{className:e,colors:t,value:o,onChange:n}=this.props,a=s()("brz-ed-option__color-palette",e),r=(t||Object(Q.b)()).map(e=>{const t=s()("brz-ed-option__color-palette__item",{active:e.id===o}),a={backgroundColor:e.hex};return l.a.createElement("div",{key:e.id,className:t,style:a,onClick:()=>n(e.id)})});return l.a.createElement("div",{className:a},r,l.a.createElement("div",{className:"brz-ed-option__color-palette__icon",onClick:this.handleSidebarOpen},l.a.createElement(d.b,{icon:"nc-cog"})))}}Object(r.a)(ee,"defaultProps",{className:"",colors:null,value:"",onChange:()=>console.log("ColorPalette default onChange")});var te=ee;class oe extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleSidebarOpen",()=>{Object(p.b)().dispatch(Object(u.c)("leftSidebar",{isOpen:!0,drawerContentType:"styling"}))})}render(){const{className:e,colors:t,value:o,onChange:n}=this.props,a=s()("brz-ed-option__color-palette2",e),r=(t||Object(Q.b)()).map(e=>{const t=s()("brz-ed-option__color-palette2__item",{active:e.id===o}),a={backgroundColor:e.hex};return l.a.createElement("div",{key:e.id,className:t,style:a,onClick:()=>n(e.id)})});return l.a.createElement("div",{className:a},r,l.a.createElement("div",{className:"brz-ed-option__color-palette2__icon",onClick:this.handleSidebarOpen},l.a.createElement(d.b,{icon:"nc-cog"})))}}Object(r.a)(oe,"defaultProps",{className:"",colors:null,value:"",onChange:()=>console.log("ColorPalette default onChange")});var ne=oe,ae=o(15);function re(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class ie extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"state",{active:null}),Object(r.a)(this,"handleToolbarOpen",e=>{this.setState({active:e})}),Object(r.a)(this,"handleToolbarClose",()=>{this.setState({active:null})}),Object(r.a)(this,"renderLabel",()=>{const{label:e,helper:t,helperContent:o}=this.props,n=t?l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}),l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return l.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__color-palette-editor__label"},e,n)})}handleColorChange(e,t){const o=this.props.value.map((o,n)=>n===t?function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?re(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):re(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},o,{hex:e.hex}):o);this.props.onChange(o)}render(){const{className:e,attr:t,label:o,helper:n,value:a}=this.props,r=a.map((e,t)=>{const o=s()("brz-ed-option__color-palette-editor__item",{active:t===this.state.active}),n={backgroundColor:e.hex};return l.a.createElement(ae.c,{key:t,getItems:()=>[{id:"settings",type:"popover",icon:"nc-cog",display:"inside",size:"auto",onOpenDirect:!0,position:90,options:[{id:"backgroundColor",type:"colorPicker",label:"Color HEX",disableOpacity:!0,value:{hex:e.hex,opacity:1},onChange:e=>this.handleColorChange(e,t)},{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[{id:"backgroundColorFields",type:"colorFields",disableOpacity:!0,value:{hex:e.hex,opacity:1},onChange:e=>this.handleColorChange(e,t)}]}]}]}],onOpen:()=>this.handleToolbarOpen(t),onClose:this.handleToolbarClose},l.a.createElement("div",{className:o,style:n}))}),i=s()("brz-ed-option__color-palette-editor",e,t.className);return l.a.createElement("div",Object(y.a)({},t,{className:i}),o||n?this.renderLabel():null,r)}}Object(r.a)(ie,"defaultProps",{className:"",helperContent:"",helper:!1,attr:{},value:[]});var le=ie,ce=o(24),se=o.n(ce);const de=(e,t,o,n)=>{e.preventDefault();const a=n.clientWidth,r=n.clientHeight,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,c=i-(n.getBoundingClientRect().left+t.pageXOffset),s=l-(n.getBoundingClientRect().top+t.pageYOffset);if("vertical"===o.direction){let e;if(e=s<0?0:s>r?1:Math.round(100*s/r)/100,o.hsl.a!==e)return{h:o.hsl.h,s:o.hsl.s,l:o.hsl.l,a:e,source:"rgb"}}else{let e;if(e=c<0?0:c>a?1:Math.round(100*c/a)/100,o.a!==e)return{h:o.hsl.h,s:o.hsl.s,l:o.hsl.l,a:e,source:"rgb"}}return null},pe={},ue=(e,t,o,n)=>{const a="".concat(e,"-").concat(t,"-").concat(o).concat(n?"-server":""),r=((e,t,o,n)=>{if("undefined"==typeof document&&!n)return null;const a=n?new n:document.createElement("canvas");a.width=2*o,a.height=2*o;const r=a.getContext("2d");return r?(r.fillStyle=e,r.fillRect(0,0,a.width,a.height),r.fillStyle=t,r.fillRect(0,0,o,o),r.translate(o,o),r.fillRect(0,0,o,o),a.toDataURL()):null})(e,t,o,n);return pe[a]?pe[a]:(pe[a]=r,r)},be=({white:e,grey:t,size:o,renderers:n,borderRadius:a,boxShadow:r})=>{const i={borderRadius:a,boxShadow:r,absolute:"0px 0px 0px 0px",background:"url(".concat(ue(e,t,o,n.canvas),") center left")};return l.a.createElement("div",{style:i})};be.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var he=be;function me(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class ge extends i.Component{constructor(e){super(e),Object(r.a)(this,"change",null),Object(r.a)(this,"handleChange",(e,t)=>{const o=this.props.contentWindow();this.change=de(e,o,this.props,this.container)||this.change,this.change&&(this.change.a=1-this.change.a,this.props.onChange&&this.props.onChange(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?me(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):me(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},this.change,{opacityDragEnd:t,wasChanged:"opacity"}),e))}),Object(r.a)(this,"handleMouseDown",e=>{this.handleChange(e);const t=this.props.contentWindow();t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp),this.setState({showTooltip:!0})}),Object(r.a)(this,"handleMouseUp",e=>{this.handleChange(e,!0),this.unbindEventListeners(),this.setState({showTooltip:!1}),this.change=null}),Object(r.a)(this,"unbindEventListeners",()=>{const e=this.props.contentWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}),this.state={showTooltip:!1}}componentWillUnmount(){this.unbindEventListeners()}render(){const{direction:e,rgb:t}=this.props,o={background:"linear-gradient(".concat("vertical"===e?"to top":"to right",", rgba(").concat(t.r,",").concat(t.g,",").concat(t.b,", 0) 0%,\n rgba(").concat(t.r,",").concat(t.g,",").concat(t.b,", 1) 100%)"),boxShadow:this.props.shadow,borderRadius:this.props.radius},n="vertical"===e?{left:0,top:"".concat(100*(1-t.a),"%")}:{left:"".concat(100*t.a,"%")};return l.a.createElement("div",{className:"color-picker-alpha-body",style:{borderRadius:this.props.radius}},l.a.createElement("div",{className:"color-picker-alpha-checkboard"},l.a.createElement(he,{renderers:this.props.renderers})),l.a.createElement("div",{className:"color-picker-alpha-gradient",style:o}),l.a.createElement("div",{className:"color-picker-alpha-container",ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},l.a.createElement("div",{className:"color-picker-alpha-pointer",style:n},this.props.pointer?this.props.pointer(this.props,this.state.showTooltip):l.a.createElement("div",{className:"color-picker-alpha-slider"}))))}}Object(r.a)(ge,"defaultProps",{contentWindow:()=>window});function ve(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ye(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ve(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const fe=e=>{class t extends i.Component{constructor(e){super(),Object(r.a)(this,"handleChange",(e,t)=>{if(Y.simpleCheckForValidColor(e)){const o=Y.toState(e,e.h||this.state.oldHue,e.hsv||this.state.hsv);this.setState(o),this.props.onChangeComplete&&this.debounce(this.props.onChangeComplete,o,t),this.props.onChange&&this.props.onChange(ye({},o,{wasChanged:e.wasChanged,opacityDragEnd:e.opacityDragEnd}),t)}}),Object(r.a)(this,"handleSwatchHover",(e,t)=>{if(Y.simpleCheckForValidColor(e)){const o=Y.toState(e,e.h||this.state.oldHue,e.hsv||this.state.hsv);this.setState(o),this.props.onSwatchHover&&this.props.onSwatchHover(o,t)}}),this.state=ye({},Y.toState(e.color,0,null)),this.debounce=C.a.debounce((e,t,o)=>{e(t,o)},100)}componentWillReceiveProps(e){this.setState(ye({},Y.toState(e.color,this.state.oldHue,this.state.hsv)))}render(){const t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),l.a.createElement(e,Object(y.a)({},this.props,this.state,{onChange:this.handleChange},t))}}return t.propTypes=ye({},e.propTypes),t.defaultProps=ye({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t};const Oe=(e,t,o,n)=>{e.preventDefault();const a=n.clientWidth,r=n.clientHeight,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,c=i-(n.getBoundingClientRect().left+t.pageXOffset),s=l-(n.getBoundingClientRect().top+t.pageYOffset);if("vertical"===o.direction){let e;if(s<0)e=359;else if(s>r)e=0;else{e=360*(-100*s/r+100)/100}if(o.hsl.h!==e)return{h:e,s:o.hsl.s,l:o.hsl.l,a:o.hsl.a,source:"rgb"}}else{let e;if(c<0)e=0;else if(c>a)e=359;else{e=360*(100*c/a)/100}if(o.hsl.h!==e)return{h:e,s:o.hsl.s,l:o.hsl.l,a:o.hsl.a,source:"rgb"}}return null};function Ce(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class Se extends i.Component{constructor(...e){super(...e),Object(r.a)(this,"handleChange",e=>{const t=this.props.contentWindow(),o=Oe(e,t,this.props,this.container);o&&this.props.onChange&&this.props.onChange(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ce(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ce(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},o,{wasChanged:"hue"}),e)}),Object(r.a)(this,"handleMouseDown",e=>{this.handleChange(e,!0);const t=this.props.contentWindow();t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp)}),Object(r.a)(this,"handleMouseUp",()=>{this.unbindEventListeners()})}componentWillUnmount(){this.unbindEventListeners()}unbindEventListeners(){const e=this.props.contentWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}render(){const{direction:e="horizontal"}=this.props,t={hue:{borderRadius:this.props.radius,boxShadow:this.props.shadow},pointer:{left:"".concat(100*this.props.hsl.h/360,"%")}},o={left:"0px",top:"".concat(-100*this.props.hsl.h/360+100,"%")};return l.a.createElement("div",{className:"hue",style:t.hue},l.a.createElement("div",{className:s()("hue-".concat(e),"hue-container"),style:t.container,ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},l.a.createElement("div",{style:o,className:"hue-pointer"},this.props.pointer?l.a.createElement(this.props.pointer,this.props):l.a.createElement("div",{className:"hue-slider"}))))}}Object(r.a)(Se,"defaultProps",{contentWindow:()=>window});const xe=(e,t,o,n)=>{e.preventDefault();const{width:a,height:r}=n.getBoundingClientRect(),i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY;let c=i-(n.getBoundingClientRect().left+t.pageXOffset),s=l-(n.getBoundingClientRect().top+t.pageYOffset);c<0?c=0:c>a?c=a:s<0?s=0:s>r&&(s=r);const d=100*c/a,p=-100*s/r+100;return{h:o.hsl.h,s:d,v:p,a:o.hsl.a,source:"rgb"}};function je(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class Be extends i.Component{constructor(e){super(e),Object(r.a)(this,"handleChange",e=>{const t=this.props.contentWindow();this.props.onChange&&this.throttle(this.props.onChange,xe(e,t,this.props,this.container),e)}),Object(r.a)(this,"handleMouseDown",e=>{this.handleChange(e,!0);const t=this.props.contentWindow();t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp)}),Object(r.a)(this,"handleMouseUp",()=>{this.unbindEventListeners()}),this.throttle=C.a.throttle((e,t,o)=>{e(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?je(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):je(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{wasChanged:"saturation"}),o)},50)}componentWillUnmount(){this.unbindEventListeners()}unbindEventListeners(){const e=this.props.contentWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}render(){const e={color:{background:"hsl(".concat(this.props.hsl.h,",100%, 50%)"),borderRadius:this.props.radius},white:{borderRadius:this.props.radius},black:{boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{top:"".concat(-100*this.props.hsv.v+100,"%"),left:"".concat(100*this.props.hsv.s,"%")}};return l.a.createElement("div",{style:e.color,className:"color-picker-saturation-body",ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},l.a.createElement("div",{style:e.white,className:"saturation-white"},l.a.createElement("div",{style:e.black,className:"saturation-black"}),l.a.createElement("div",{style:e.pointer,className:"saturation-pointer"},this.props.pointer?l.a.createElement(this.props.pointer,this.props):l.a.createElement("div",{className:"saturation-circle"}))))}}Object(r.a)(Be,"defaultProps",{contentWindow:()=>window});class Pe extends i.Component{constructor(...e){super(...e),Object(r.a)(this,"renderPointer",()=>l.a.createElement("div",{className:"color-picker-pointer"})),Object(r.a)(this,"renderPointerOpacity",({rgb:{a:e}},t)=>(e*=100,l.a.createElement("div",{className:"color-picker-pointer"},t&&l.a.createElement("div",{className:"color-picker-pointer-tooltip"},Math.round(e),"%"))))}render(){const{className:e,contentWindow:t,disableOpacity:o,hsl:n,hsv:a,rgb:r,renderers:i,onChange:c}=this.props,d=s()("brz-ed-control__colorPicker",e);return l.a.createElement("div",{className:d},l.a.createElement("div",{className:"color-picker-body"},l.a.createElement("div",{className:"color-picker-saturation"},l.a.createElement(Be,{hsl:n,hsv:a,contentWindow:t,pointer:this.renderPointer,onChange:c})),l.a.createElement("div",{className:"color-picker-hue"},l.a.createElement(Se,{direction:"vertical",hsl:n,contentWindow:t,pointer:this.renderPointer,onChange:c})),!o&&l.a.createElement("div",{className:"color-picker-alpha"},l.a.createElement(ge,{direction:"vertical",rgb:r,hsl:n,contentWindow:t,renderers:i,pointer:this.renderPointerOpacity,onChange:c}))))}}Pe.defaultProps={disableOpacity:!1,onChange:C.a.noop};var we=fe(Pe);const Te="#000000",ze=1;class ke extends l.a.Component{constructor(e){super(e),Object(r.a)(this,"handleChange",e=>{const{hex:t,rgb:{a:o},wasChanged:n,opacityDragEnd:a}=e;this.lastValue={hex:t,opacity:o};const r=t.toLowerCase();this.props.onChange({hex:r,opacity:Number(Number(o).toFixed(2)),isChanged:"opacity"===n?"opacity":"hex",opacityDragEnd:a})}),Object(r.a)(this,"getContentWindow",()=>{return se.a.findDOMNode(this).ownerDocument.defaultView}),this.throttledHandleChange=this.handleChange}componentDidMount(){this.lastValue=this.props.value}shouldComponentUpdate({value:e}){const{hex:t,opacity:o}=e,{hex:n,opacity:a}=this.lastValue;return(t!==n||o!==a)&&(this.lastValue=e,!0)}render(){let{value:{hex:e,opacity:t},disableOpacity:o}=this.props;return e=Object(Q.d)(e)?e:Te,t=isNaN(Number(t))?ze:t,l.a.createElement(we,{color:Object(Q.c)(e,t),opacity:t,disableOpacity:o,contentWindow:this.getContentWindow,onChange:this.throttledHandleChange})}}ke.defaultProps={value:{hex:Te,opacity:ze},disableOpacity:!1,onChange:C.a.noop};var Ee=ke;class He extends l.a.Component{render(){const{className:e,attr:t,value:o,disableOpacity:n,onChange:a}=this.props,r=s()("brz-ed-option__colorPicker",e,t.className);return l.a.createElement("div",Object(y.a)({},t,{className:r}),l.a.createElement(Ee,{value:o,disableOpacity:n,onChange:a}))}}Object(r.a)(He,"defaultProps",{className:"",attr:{},value:{hex:"#000000",opacity:1},disableOpacity:!1,onChange:C.a.noop});var _e=He,Re=o(28);const Me=(e,t,o,n)=>{e.preventDefault();const a=n.clientWidth,r=n.clientHeight,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,c=i-(n.getBoundingClientRect().left+t.pageXOffset),s=l-(n.getBoundingClientRect().top+t.pageYOffset);if("vertical"===o.direction){let e;if(e=s<0?0:s>r?1:Math.round(100*s/r)/100,o.hsl.a!==e)return{h:o.hsl.h,s:o.hsl.s,l:o.hsl.l,a:e,source:"rgb"}}else{let e;if(e=c<0?0:c>a?1:Math.round(100*c/a)/100,o.a!==e)return{h:o.hsl.h,s:o.hsl.s,l:o.hsl.l,a:e,source:"rgb"}}return null},Ie={},Fe=(e,t,o,n)=>{const a="".concat(e,"-").concat(t,"-").concat(o).concat(n?"-server":""),r=((e,t,o,n)=>{if("undefined"==typeof document&&!n)return null;const a=n?new n:document.createElement("canvas");a.width=2*o,a.height=2*o;const r=a.getContext("2d");return r?(r.fillStyle=e,r.fillRect(0,0,a.width,a.height),r.fillStyle=t,r.fillRect(0,0,o,o),r.translate(o,o),r.fillRect(0,0,o,o),a.toDataURL()):null})(e,t,o,n);return Ie[a]?Ie[a]:(Ie[a]=r,r)},Ne=({white:e,grey:t,size:o,renderers:n,borderRadius:a,boxShadow:r})=>{const i={borderRadius:a,boxShadow:r,absolute:"0px 0px 0px 0px",background:"url(".concat(Fe(e,t,o,n.canvas),") center left")};return l.a.createElement("div",{style:i})};Ne.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var Le=Ne;function We(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class Ve extends i.Component{constructor(e){super(e),Object(r.a)(this,"change",null),Object(r.a)(this,"handleChange",(e,t)=>{const o=this.props.contentWindow();this.change=Me(e,o,this.props,this.container)||this.change,this.change&&(this.change.a=1-this.change.a,this.props.onChange&&this.props.onChange(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?We(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):We(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},this.change,{opacityDragEnd:t,wasChanged:"opacity"}),e))}),Object(r.a)(this,"handleMouseDown",e=>{this.handleChange(e);const t=this.props.contentWindow();t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp),this.setState({showTooltip:!0})}),Object(r.a)(this,"handleMouseUp",e=>{this.handleChange(e,!0),this.unbindEventListeners(),this.setState({showTooltip:!1}),this.change=null}),Object(r.a)(this,"unbindEventListeners",()=>{const e=this.props.contentWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}),this.state={showTooltip:!1}}componentWillUnmount(){this.unbindEventListeners()}render(){const{direction:e,rgb:t}=this.props,o={background:"linear-gradient(".concat("vertical"===e?"to top":"to right",", rgba(").concat(t.r,",").concat(t.g,",").concat(t.b,", 0) 0%,\n rgba(").concat(t.r,",").concat(t.g,",").concat(t.b,", 1) 100%)"),boxShadow:this.props.shadow,borderRadius:this.props.radius},n="vertical"===e?{left:0,top:"".concat(100*(1-t.a),"%")}:{left:"".concat(100*t.a,"%")};return l.a.createElement("div",{className:"color-picker2-alpha-body",style:{borderRadius:this.props.radius}},l.a.createElement("div",{className:"color-picker2-alpha-checkboard"},l.a.createElement(Le,{renderers:this.props.renderers})),l.a.createElement("div",{className:"color-picker2-alpha-gradient",style:o}),l.a.createElement("div",{className:"color-picker2-alpha-container",ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},l.a.createElement("div",{className:"color-picker2-alpha-pointer",style:n},this.props.pointer?this.props.pointer(this.props,this.state.showTooltip):l.a.createElement("div",{className:"color-picker2-alpha-slider"}))))}}Object(r.a)(Ve,"defaultProps",{contentWindow:()=>window});function De(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Ae={simpleCheckForValidColor(e){let t=0,o=0;return C.a.each(["r","g","b","a","h","s","l","v"],n=>{if(e[n]&&(t+=1,isNaN(e[n])||(o+=1),"s"===n||"l"===n)){/^\d+%$/.test(e[n])&&(o+=1)}}),t===o&&e},toState(e,t,o){const n=e.hex?K()(e.hex):K()(e),a=n.toHsl(),i=n.toHsv(),l=n.toRgb(),c=n.toHex();0===a.s&&(a.h=t||0,i.h=t||0);let s={};return e.hex||0===i.v||(s={hsv:i}),o||(s={hsv:i}),"saturation"===e.wasChanged&&(s={hsv:{h:i.h,s:0===i.s?e.s/100:i.s,v:i.v}}),"hue"!==e.wasChanged&&"opacity"!==e.wasChanged||(s={}),function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?De(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):De(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({hsl:a,hex:"#".concat(c),rgb:l,oldHue:e.h||t||a.h,source:e.source},s)},isValidHex:e=>K()(e).isValid(),getContrastingColor(e){if(!e)return"#fff";const t=this.toState(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"}};function Ge(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ue(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ge(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Ke=e=>{class t extends i.Component{constructor(e){super(),Object(r.a)(this,"handleChange",(e,t)=>{if(Ae.simpleCheckForValidColor(e)){const o=Ae.toState(e,e.h||this.state.oldHue,e.hsv||this.state.hsv);this.setState(o),this.props.onChangeComplete&&this.debounce(this.props.onChangeComplete,o,t),this.props.onChange&&this.props.onChange(Ue({},o,{wasChanged:e.wasChanged,opacityDragEnd:e.opacityDragEnd}),t)}}),Object(r.a)(this,"handleSwatchHover",(e,t)=>{if(Ae.simpleCheckForValidColor(e)){const o=Ae.toState(e,e.h||this.state.oldHue,e.hsv||this.state.hsv);this.setState(o),this.props.onSwatchHover&&this.props.onSwatchHover(o,t)}}),this.state=Ue({},Ae.toState(e.color,0,null)),this.debounce=C.a.debounce((e,t,o)=>{e(t,o)},100)}componentWillReceiveProps(e){this.setState(Ue({},Ae.toState(e.color,this.state.oldHue)))}render(){const t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),l.a.createElement(e,Object(y.a)({},this.props,this.state,{onChange:this.handleChange},t))}}return t.propTypes=Ue({},e.propTypes),t.defaultProps=Ue({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t};const qe=(e,t,o,n)=>{e.preventDefault();const a=n.clientWidth,r=n.clientHeight,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,c=i-(n.getBoundingClientRect().left+t.pageXOffset),s=l-(n.getBoundingClientRect().top+t.pageYOffset);if("vertical"===o.direction){let e;if(s<0)e=359;else if(s>r)e=0;else{e=360*(-100*s/r+100)/100}if(o.hsl.h!==e)return{h:e,s:o.hsl.s,l:o.hsl.l,a:o.hsl.a,source:"rgb"}}else{let e;if(c<0)e=0;else if(c>a)e=359;else{e=360*(100*c/a)/100}if(o.hsl.h!==e)return{h:e,s:o.hsl.s,l:o.hsl.l,a:o.hsl.a,source:"rgb"}}return null};function Ye(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class Xe extends i.Component{constructor(...e){super(...e),Object(r.a)(this,"handleChange",e=>{const t=this.props.contentWindow(),o=qe(e,t,this.props,this.container);o&&this.props.onChange&&this.props.onChange(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ye(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},o,{wasChanged:"hue"}),e)}),Object(r.a)(this,"handleMouseDown",e=>{this.handleChange(e,!0);const t=this.props.contentWindow();t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp)}),Object(r.a)(this,"handleMouseUp",()=>{this.unbindEventListeners()})}componentWillUnmount(){this.unbindEventListeners()}unbindEventListeners(){const e=this.props.contentWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}render(){const{direction:e="horizontal"}=this.props,t={hue:{borderRadius:this.props.radius,boxShadow:this.props.shadow},pointer:{left:"".concat(100*this.props.hsl.h/360,"%")}},o={left:"0px",top:"".concat(-100*this.props.hsl.h/360+100,"%")};return l.a.createElement("div",{className:"hue",style:t.hue},l.a.createElement("div",{className:s()("hue-".concat(e),"hue-container"),style:t.container,ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},l.a.createElement("div",{style:o,className:"hue-pointer"},this.props.pointer?l.a.createElement(this.props.pointer,this.props):l.a.createElement("div",{className:"hue-slider"}))))}}Object(r.a)(Xe,"defaultProps",{contentWindow:()=>window});const Ze=(e,t,o,n)=>{e.preventDefault();const{width:a,height:r}=n.getBoundingClientRect(),i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY;let c=i-(n.getBoundingClientRect().left+t.pageXOffset),s=l-(n.getBoundingClientRect().top+t.pageYOffset);c<0?c=0:c>a?c=a:s<0?s=0:s>r&&(s=r);const d=100*c/a,p=-100*s/r+100;return{h:o.hsl.h,s:d,v:p,a:o.hsl.a,source:"rgb"}};function Je(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class $e extends i.Component{constructor(e){super(e),Object(r.a)(this,"handleChange",e=>{const t=this.props.contentWindow();this.props.onChange&&this.throttle(this.props.onChange,Ze(e,t,this.props,this.container),e)}),Object(r.a)(this,"handleMouseDown",e=>{this.handleChange(e,!0);const t=this.props.contentWindow();t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp)}),Object(r.a)(this,"handleMouseUp",()=>{this.unbindEventListeners()}),this.throttle=C.a.throttle((e,t,o)=>{e(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Je(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Je(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{wasChanged:"saturation"}),o)},50)}componentWillUnmount(){this.unbindEventListeners()}unbindEventListeners(){const e=this.props.contentWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}render(){const e={color:{background:"hsl(".concat(this.props.hsl.h,",100%, 50%)"),borderRadius:this.props.radius},white:{borderRadius:this.props.radius},black:{boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{top:"".concat(-100*this.props.hsv.v+100,"%"),left:"".concat(100*this.props.hsv.s,"%")}};return l.a.createElement("div",{style:e.color,className:"color-picker2-saturation-body",ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},l.a.createElement("div",{style:e.white,className:"saturation-white"},l.a.createElement("div",{style:e.black,className:"saturation-black"}),l.a.createElement("div",{style:e.pointer,className:"saturation-pointer"},this.props.pointer?l.a.createElement(this.props.pointer,this.props):l.a.createElement("div",{className:"saturation-circle"}))))}}Object(r.a)($e,"defaultProps",{contentWindow:()=>window});class Qe extends i.Component{constructor(...e){super(...e),Object(r.a)(this,"renderPointer",()=>l.a.createElement("div",{className:"color-picker2-pointer"})),Object(r.a)(this,"renderPointerOpacity",({rgb:{a:e}},t)=>(e*=100,l.a.createElement("div",{className:"color-picker2-pointer"},t&&l.a.createElement("div",{className:"color-picker2-pointer-tooltip"},Math.round(e),"%"))))}render(){const{className:e,contentWindow:t,disableOpacity:o,hsl:n,hsv:a,rgb:r,renderers:i,onChange:c}=this.props,d=s()("brz-ed-control__colorPicker2",e);return l.a.createElement("div",{className:d},l.a.createElement("div",{className:"color-picker2-body"},l.a.createElement("div",{className:"color-picker2-saturation"},l.a.createElement($e,{hsl:n,hsv:a,contentWindow:t,pointer:this.renderPointer,onChange:c})),l.a.createElement("div",{className:"color-picker2-hue"},l.a.createElement(Xe,{direction:"vertical",hsl:n,contentWindow:t,pointer:this.renderPointer,onChange:c})),!o&&l.a.createElement("div",{className:"color-picker2-alpha"},l.a.createElement(Ve,{direction:"vertical",rgb:r,hsl:n,contentWindow:t,renderers:i,pointer:this.renderPointerOpacity,onChange:c}))))}}Qe.defaultProps={disableOpacity:!1,onChange:C.a.noop};var et=Ke(Qe);const tt="#000000",ot=1;class nt extends l.a.Component{constructor(e){super(e),Object(r.a)(this,"handleChange",e=>{const{hex:t,rgb:{a:o},wasChanged:n,opacityDragEnd:a}=e;this.lastValue={hex:t,opacity:o};const r=t.toLowerCase();this.props.onChange({hex:r,opacity:Number(Number(o).toFixed(2)),isChanged:"opacity"===n?"opacity":"hex",opacityDragEnd:a})}),Object(r.a)(this,"getContentWindow",()=>{return se.a.findDOMNode(this).ownerDocument.defaultView}),this.throttledHandleChange=this.handleChange}componentDidMount(){this.lastValue=this.props.value}shouldComponentUpdate({value:e}){const{hex:t,opacity:o}=e,{hex:n,opacity:a}=this.lastValue;return(t!==n||o!==a)&&(this.lastValue=e,!0)}render(){let{value:{hex:e,opacity:t},disableOpacity:o}=this.props;return e=Object(Q.d)(e)?e:tt,t=isNaN(Number(t))?ot:t,l.a.createElement(et,{color:Object(Q.c)(e,t),opacity:t,disableOpacity:o,contentWindow:this.getContentWindow,onChange:this.throttledHandleChange})}}nt.defaultProps={value:{hex:tt,opacity:ot},disableOpacity:!1,onChange:C.a.noop};var at=nt,rt=o(40);class it extends i.Component{render(){const{title:e,items:t,children:o}=this.props;return l.a.createElement("div",{title:e,className:"brz-control__select-optgroup"},l.a.createElement("div",{className:"brz-control__select-optgroup-label"},o),t)}}Object(r.a)(it,"defaultProps",{title:"",active:"",items:[]});var lt=it,ct=o(32),st=o(108);const dt=st.a.Range;class pt extends i.Component{render(){const{className:e,min:t,max:o,step:n,startPointer:a,finishPointer:r,allowCross:i,handle:c,railStyle:d,onChange:p}=this.props,u=s()("brz-ed-control__range",e);return l.a.createElement("div",{className:u},l.a.createElement(dt,{count:1,defaultValue:[a,r],min:t,max:o,step:n,allowCross:i,handle:c,railStyle:d,onChange:p}))}}function ut(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function bt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ut(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}Object(r.a)(pt,"defaultProps",{min:0,max:100,step:1,startPointer:0,finishPointer:100,allowCross:!1,handle:null,railStyle:{},onChange:C.a.noop});const ht=st.a.Handle;class mt extends l.a.Component{constructor(e){super(e),Object(r.a)(this,"handleOnMouseDown",e=>{this.handleChange({activePointer:0===e?"startPointer":"finishPointer",isChanged:"activePointer"})}),Object(r.a)(this,"handleRangeChange",([e,t])=>{this.handleChange({startPointer:e,finishPointer:t,isChanged:e===this.state.startPointer?"finishPointer":"startPointer"})}),Object(r.a)(this,"handleChange",e=>{const t=bt({},this.state,{},e);this.setState(t),this.props.onChange(t)}),Object(r.a)(this,"handle",e=>{const{className:t,dragging:o,value:n,index:a}=e,r=Object(Re.a)(e,["className","dragging","value","index"]),i=s()(t,{"brz-ed-rc-slider-handle--active":"startPointer"===this.state.activePointer&&0===a||"finishPointer"===this.state.activePointer&&1===a});return l.a.createElement(ht,Object(y.a)({key:a,value:n,onMouseDown:()=>this.handleOnMouseDown(a)},r,{className:i}))});const t=e.value;this.state=bt({},t)}componentWillReceiveProps({value:e}){e.startPointer===this.state.startPointer&&e.finishPointer===this.state.finishPointer&&e.activePointer===this.state.activePointer&&e.hex===this.state.hex&&e.gradientColorHex===this.state.gradientColorHex||this.setState(bt({},e))}render(){const{className:e,config:{range:{min:t,max:o,step:n}},attr:a}=this.props,r=s()("brz-ed-option__range",e,a.className),i=C.a.omit(a,"className"),{startPointer:c,finishPointer:d,hex:p,gradientColorHex:u}=this.state;return l.a.createElement("div",Object(y.a)({className:r},i),l.a.createElement("div",{className:"brz-ed-option__range__content"},l.a.createElement(pt,{id:this.props.id,min:t,max:o,step:n,startPointer:c,finishPointer:d,handle:this.handle,railStyle:{backgroundImage:"linear-gradient(to right, ".concat(p,", ").concat(u,")")},onChange:this.handleRangeChange})))}}Object(r.a)(mt,"defaultProps",{className:"",attr:{},config:{range:{min:0,max:100,step:1}},value:{startPointer:0,finishPointer:100,activePointer:"startPointer",hex:"#000000",gradientColorHex:"#000000"},onChange:C.a.noop});var gt=mt;function vt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class yt extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleChange",e=>{const{value:t,onChange:o}=this.props,n="gradient"===t.select&&"finishPointer"===t.activePointer;let a={};if("hex"===e.isChanged){const{hex:t}=e;a=n?{gradientColorHex:t}:{hex:t}}let i={};if("opacity"===e.isChanged){const{opacity:t}=e;i=n?{gradientColorOpacity:t}:{opacity:t}}o(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):vt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{},e,{},a,{},i))})}renderPalette(){const{palette:{choices:e},value:{palette:t,gradientColorPalette:o,select:n,activePointer:a}}=this.props,r="gradient"===n&&"finishPointer"===a?o:t;return l.a.createElement(ne,{choices:e,value:r,onChange:e=>{this.handleChange({palette:e,isChanged:"palette"})}})}renderGradient(){const e=this.props,{gradient:{show:t},value:{startPointer:o,finishPointer:n,activePointer:a,hex:r,gradientColorHex:i}}=e,c=Object(Re.a)(e.gradient,["show"]);return l.a.createElement(gt,{config:{range:c},value:{startPointer:o,finishPointer:n,activePointer:a,hex:r,gradientColorHex:i},onChange:this.handleChange})}renderSelectChoices(e){return e.map((e,t)=>{const{title:o,icon:n,optgroup:a,value:r}=e;let i;if(C.a.isObject(n)){const e=s()("brz-control__select-option__bg",n.className);i=l.a.createElement("div",Object(y.a)({},n,{className:e}))}else n&&(i=l.a.createElement(d.b,{icon:n}));return a&&a.length?l.a.createElement(lt,{key:t,title:o,items:this.renderSelectChoices(a)},i,o&&l.a.createElement("span",{className:"brz-span"},o)):l.a.createElement(ct.a,{key:t,value:r,title:o},i,o&&l.a.createElement("span",{className:"brz-span"},o))})}renderSelect(){const{select:e,value:t}=this.props;return l.a.createElement(rt.a,{className:"brz-control__select--dark brz-control__select__auto",defaultValue:t.select,itemHeight:e.itemHeight||24,onChange:e=>{this.handleChange({select:e,isChanged:"select"})}},this.renderSelectChoices(e.choices))}render(){const{className:e,picker:{showOpacity:t=!0},palette:{show:o=!0},gradient:{show:n=!0},select:{show:a=!0},attr:r,value:{hex:i,opacity:c,select:d,activePointer:p,gradientColorHex:u,gradientColorOpacity:b}}=this.props,h=s()("brz-ed-option__colorPicker2",e,r.className),m="gradient"===d&&"finishPointer"===p?{hex:u,opacity:b}:{hex:i,opacity:c};return l.a.createElement("div",Object(y.a)({},r,{className:h}),n&&this.renderGradient(),a&&this.renderSelect(),l.a.createElement(at,{value:m,disableOpacity:!t,onChange:this.handleChange}),o&&this.renderPalette())}}Object(r.a)(yt,"defaultProps",{className:"",attr:{},picker:{showOpacity:!0},palette:{show:!0,choices:[]},select:{show:!0,itemHeight:24,choices:[]},gradient:{show:!1,min:0,max:100,step:1},value:{select:"",hex:"#000000",opacity:1,palette:"",gradientColorHex:"#000000",gradientColorOpacity:1,gradientColorPalette:"",startPointer:0,finishPointer:100,activePointer:"startPointer"},onChange:C.a.noop});var ft=yt,Ot=o(38),Ct=o(48),St=o(23);function xt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const jt={default:"17px",great_vibes:"18px",alex_brush:"18px",allura:"18px",parisienne:"18px"};class Bt extends i.Component{constructor(...e){super(...e),Object(r.a)(this,"handleOpenFonts",e=>{e.preventDefault(),Ct.a.set("prompt",{prompt:"fonts"})})}checkCurrentFont(){const{fonts:e,value:t}=this.props;return Object.entries(e).some(e=>{const[o,n]=e;return n.data.some(e=>St.b[o](e).id===t)})}renderFontList(e,t,o){const{value:n,defaultFont:a,onChange:i}=this.props;return e.map(e=>{const c=St.b[t](e),{id:d,family:p,title:u}=c,b=s()("brz-ed-font__name",{active:o?d===n:d===a}),h={fontFamily:p,fontSize:jt[d]||jt.default};return l.a.createElement("div",{key:d,className:b,style:h,onClick:()=>i(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?xt(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):xt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},c,{type:t}))},u)})}render(){const{config:e={},blocks:t={},google:o={},upload:n={}}=this.props.fonts,a=this.checkCurrentFont(),r=n.data&&n.data.length>0||o.data&&o.data.length>0;return l.a.createElement("div",{className:"brz-ed-font__typography"},l.a.createElement(x.a,{className:"brz-ed-scroll--dark brz-ed-scroll--small",style:{height:"100%"}},n.data&&n.data.length>0&&this.renderFontList(n.data,"upload",a),o.data&&o.data.length>0&&this.renderFontList(o.data,"google",a),r&&l.a.createElement("hr",{className:"brz-hr brz-ed-font__separator"}),t.data&&this.renderFontList(t.data,"google",a),this.renderFontList(e.data,"google",a)),l.a.createElement(Ot.a,{allow:["admin"]},l.a.createElement("div",{className:"brz-ed-font__typography-adder",onClick:this.handleOpenFonts},l.a.createElement(d.b,{icon:"nc-add"}),Object(w.a)("Add New Font"))))}}Object(r.a)(Bt,"defaultProps",{defaultFont:"",value:"lato",fonts:{},onChange:C.a.noop});var Pt=Object(S.b)(e=>({fonts:Object(b.E)(e),defaultFont:Object(b.t)(e).data.font}),null)(Bt);class wt extends l.a.Component{renderLabel(){const{label:e,helper:t,helperContent:o,helperPlacement:n}=this.props;return l.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__select__label"},e,t&&l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(V.a,{placement:n,openOnClick:!1,overlay:l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}))))}renderChoices(e=this.props.choices){return e.map((e,t)=>{const{title:o,icon:n,optgroup:a,value:r}=e;let i;if(C.a.isObject(n)){const e=s()("brz-control__select-option__bg",n.className);i=l.a.createElement("div",Object(y.a)({},n,{className:e}))}else n&&(i=l.a.createElement(d.b,{icon:n}));return a&&a.length?l.a.createElement(lt,{key:t,title:o,items:this.renderChoices(a)},i,o&&l.a.createElement("span",{className:"brz-span"},o)):l.a.createElement(ct.a,{key:t,value:r,title:o},i,o&&l.a.createElement("span",{className:"brz-span"},o))})}renderAfterSelect(){}render(){const{label:e,display:t,itemHeight:o,helper:n,value:a,className:r,attr:i,onChange:c}=this.props,d=s()("brz-ed-option__select","brz-ed-option__".concat(t),r,i.className);return l.a.createElement("div",Object(y.a)({},i,{className:d}),e||n?this.renderLabel():null,l.a.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},l.a.createElement(rt.a,{className:"brz-control__select--dark",defaultValue:a,itemHeight:o,onChange:c},this.renderChoices()),this.renderAfterSelect()))}}Object(r.a)(wt,"defaultProps",{label:"",display:"inline",className:"",itemHeight:30,icon:"",choices:[],attr:{},helper:!1,helperContent:"",helperPlacement:"top-center",onChange:C.a.noop});var Tt=wt;var zt=class extends Tt{handleSidebarOpen(){Object(p.b)().dispatch(Object(u.c)("leftSidebar",{isOpen:!0,drawerContentType:"styling"}))}renderChoices(){return[{id:"",title:"Custom"},...Object(St.f)()].map(({id:e,title:t})=>l.a.createElement(ct.a,{key:e,value:e},t))}renderAfterSelect(){return l.a.createElement("div",{className:"brz-ed-option__select__after",onClick:this.handleSidebarOpen},l.a.createElement(d.b,{icon:"nc-cog"}))}},kt=o(58),Et=o.n(kt),Ht=o(62),_t=o(39),Rt=o(8);function Mt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function It(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Mt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Ft extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"state",{device:"desktop",active:!1}),Object(r.a)(this,"handleToolbarOpen",()=>{this.setState({active:!0})}),Object(r.a)(this,"handleToolbarClose",()=>{this.setState({active:!1})}),Object(r.a)(this,"handleTabsChange",e=>{this.setState({device:e})}),Object(r.a)(this,"handleTextChange",e=>{this.props.onChange({title:e})}),Object(r.a)(this,"handleDelete",()=>{Object(ae.d)(),this.props.onChange({deleted:!0})})}render(){const{title:e,fontFamily:t,fontFamilyType:o,fontSize:n,fontWeight:a,lineHeight:r,letterSpacing:i,tabletFontSize:c,tabletFontWeight:p,tabletLineHeight:u,tabletLetterSpacing:b,mobileFontSize:h,mobileFontWeight:m,mobileLineHeight:g,mobileLetterSpacing:v,showDeleteIcon:y,deletable:f,onChange:O}=this.props,{device:C,active:S}=this.state,x=s()("brz-ed-option__font-style-editor",{active:S}),j={fontFamily:Object(St.d)({family:t,type:o}).family,fontWeight:"desktop"===C?a:"tablet"===C?p:m};return l.a.createElement("div",{className:x},y?l.a.createElement("div",{className:"brz-ed-option__font-style-editor--delete",onClick:this.handleDelete},l.a.createElement(d.b,{icon:"nc-remove"})):null,l.a.createElement(ae.c,{getItems:()=>[{id:"toolbarTypography",type:"popover",icon:"nc-font",size:"large",display:"inside",onOpenDirect:!0,options:[{type:"grid",className:"brz-ed-grid__typography brz-ed-grid__typography--sidebar",columns:[{width:54,options:[{id:"fontFamily",label:"Font Family",type:"fontFamily",value:t,onChange:({id:e,type:t})=>O({fontFamily:e,fontFamilyType:t})}]},{width:46,className:"brz-ed-popover__typography",options:[{id:"fontDevices",type:"tabs",align:"start",tabsClassName:"brz-ed-control__tabs__editor",tabs:[{id:"desktop",tabIcon:"nc-desktop",options:[{type:"grid",className:"brz-ed-grid__typography",columns:[{width:50,options:[{id:"fontSize",label:"Size",type:"stepper",display:"block",min:1,max:300,step:1,value:n,onChange:e=>O({fontSize:e})},{id:"lineHeight",label:"Line Hgt.",type:"stepper",display:"block",min:1,max:10,step:.1,value:r,onChange:e=>O({lineHeight:e})}]},{width:50,options:[{id:"fontWeight",label:"Weight",type:"select",display:"block",choices:Object(St.n)({family:t,type:o}),value:a,onChange:e=>O({fontWeight:e})},{id:"letterSpacing",label:"Letter Sp.",type:"stepper",display:"block",min:-20,max:20,step:.5,value:i,onChange:e=>O({letterSpacing:e})}]}]}]},{id:"tablet",tabIcon:"nc-tablet",options:[{type:"grid",className:"brz-ed-grid__typography",columns:[{width:50,options:[{id:"tabletFontSize",label:"Size",type:"stepper",display:"block",min:1,max:100,step:1,value:c,onChange:e=>O({tabletFontSize:e})},{id:"tabletLineHeight",label:"Line Hgt.",type:"stepper",display:"block",min:1,max:10,step:.1,value:u,onChange:e=>O({tabletLineHeight:e})}]},{width:50,options:[{id:"tabletFontWeight",label:"Weight",type:"select",display:"block",choices:Object(St.n)({family:t,type:o}),value:p,onChange:e=>O({tabletFontWeight:e})},{id:"tabletLetterSpacing",label:"Letter Sp.",type:"stepper",display:"block",min:-20,max:20,step:.5,value:b,onChange:e=>O({tabletLetterSpacing:e})}]}]}]},{id:"mobile",tabIcon:"nc-phone",options:[{type:"grid",className:"brz-ed-grid__typography",columns:[{width:50,options:[{id:"mobileFontSize",label:"Size",type:"stepper",display:"block",min:1,max:100,step:1,value:h,onChange:e=>O({mobileFontSize:e})},{id:"mobileLineHeight",label:"Line Hgt.",type:"stepper",display:"block",min:1,max:10,step:.1,value:g,onChange:e=>O({mobileLineHeight:e})}]},{width:50,options:[{id:"mobileFontWeight",label:"Weight",type:"select",display:"block",choices:Object(St.n)({family:t,type:o}),value:m,onChange:e=>O({mobileFontWeight:e})},{id:"mobileLetterSpacing",label:"Letter Sp.",type:"stepper",display:"block",min:-20,max:20,step:.5,value:v,onChange:e=>O({mobileLetterSpacing:e})}]}]}]}],value:C,onChange:this.handleTabsChange}]}]}]}],onOpen:this.handleToolbarOpen,onClose:this.handleToolbarClose},l.a.createElement("div",{className:"brz-ed-option__font-style-editor__container"},l.a.createElement("p",{className:"brz-p brz-ed-option__font-style-editor__title"},"on"===f?l.a.createElement(Ht.a,{value:e,onChange:this.handleTextChange}):e),l.a.createElement("p",{className:"brz-p brz-ed-option__font-style-editor__sample",style:j},Object(w.a)("It's a sample")))))}}Object(r.a)(Ft,"defaultProps",{title:"Title",fontFamily:"",fontSize:12,fontWeight:300,lineHeight:1,letterSpacing:1,tabletFontSize:12,tabletFontWeight:300,tabletLineHeight:1,tabletLetterSpacing:1,mobileFontSize:12,mobileFontWeight:300,mobileLineHeight:1,mobileLetterSpacing:1,showDeleteIcon:!1});class Nt extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleChange",(e,t)=>{const{value:o,onChange:n}=this.props;n(o.map(o=>e===o.id?It({},o,{},t):o))}),Object(r.a)(this,"handleAddNew",()=>{const{value:e,onChange:t}=this.props,o=It({},e[0],{deletable:"on",id:Object(_t.a)(10),title:Object(Rt.g)(Object(w.a)("New Style #%s"),e.length)});t([...e,o])}),Object(r.a)(this,"renderThumbs",e=>{let{style:t}=e,o=Object(Re.a)(e,["style"]);return l.a.createElement("div",Object(y.a)({},o,{style:It({},t,{borderRadius:"inherit",backgroundColor:"#3f4652"})}))})}render(){const{value:e}=this.props,t=e.filter(e=>!0!==e.deleted).map(e=>l.a.createElement(Ft,Object(y.a)({key:e.id,showDeleteIcon:"on"===e.deletable},e,{onChange:this.handleChange.bind(null,e.id)})));return l.a.createElement("div",{className:"brz-ed-option__font-styles"},l.a.createElement("div",{className:"brz-ed-option__font-styles--scroll-pane"},l.a.createElement(Et.a,{renderThumbHorizontal:this.renderThumbs,renderThumbVertical:this.renderThumbs},t)),l.a.createElement("div",{className:"brz-ed-option__font-styles--add",onClick:this.handleAddNew},l.a.createElement(d.b,{icon:"nc-add"}),l.a.createElement("span",{className:"brz-span"},Object(w.a)("Add New"))))}}Object(r.a)(Nt,"defaultProps",{value:{}});var Lt=Nt;class Wt extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleMouseDown",e=>{e.preventDefault();const{value:t}=this.props;Ct.a.set("prompt",{prompt:"form-integrations",value:{formId:t.id,formFields:t.fields}})})}render(){const{className:e,attr:t,icon:o}=this.props,n=s()("brz-ed-option__button",e,t.className);return l.a.createElement("div",Object(y.a)({},t,{className:n,onMouseDown:this.handleMouseDown}),l.a.createElement(d.b,{icon:o}))}}Object(r.a)(Wt,"defaultProps",{className:"",attr:{},icon:"nc-cog",value:!1});var Vt=Wt,Dt=o(52);const At=["top","center","bottom"],Gt=e=>At.includes(e)?"brz-ed-grid-option__column--".concat(e):"";class Ut extends l.a.Component{static shouldOptionBeFiltered({columns:e}){return e.every(e=>0===Object(Dt.b)(e.options).length)}filterColumns(e){return e.filter(e=>0!==Object(Dt.b)(e.options).length)}render(){const{className:e,attr:t,columns:o,location:n,toolbar:a,separator:r}=this.props,i=s()("brz-d-xs-flex brz-flex-xs-no-wrap brz-ed-grid",{"brz-ed-grid--separator":!!r},e),c=this.filterColumns(o).map(({className:e,width:t,options:o,vAlign:r},i,c)=>{const d=s()("brz-ed-grid-option__column",Gt(r),e),p=1===c.length,u={width:p?"100%":"".concat(t,"%"),flexBasis:p?"100%":"".concat(t,"%")};return l.a.createElement("div",{key:i,className:d,style:u},l.a.createElement(Dt.a,{className:"brz-ed-grid__options",optionClassName:"brz-ed-grid__option",data:o,location:n,toolbar:a}))});return l.a.createElement("div",Object(y.a)({},t,{className:i}),c)}}Object(r.a)(Ut,"defaultProps",{className:"",location:"",attr:{},toolbar:null,columns:[],separator:!1});var Kt=Ut,qt=o(136),Yt=o(55);var Xt=({value:e,onChange:t})=>l.a.createElement("div",{className:"brz-ed-control__population__input"},l.a.createElement("span",null,e),l.a.createElement(d.b,{icon:"nc-circle-remove",onClick:()=>t(Yt.b)}));function Zt({choices:e,value:t,onChange:o,className:n}){const a=s()("brz-control__select--dark","brz-control__select__auto","brz-control__select-population",{"brz-control__select--active":Boolean(t)},n),r=e.map(({title:e,icon:o,value:n})=>l.a.createElement(ct.a,{key:n,value:n,title:e,active:n===t},o&&l.a.createElement(d.b,{icon:o}),l.a.createElement("span",{className:"brz-span"},e)));return l.a.createElement(rt.a,{className:a,defaultValue:t,itemHeight:30,labelType:"icon",labelIcon:"nc-dynamic",onChange:o},r)}function Jt({choices:e,value:t="",renderUnset:o,onChange:n}){let a;if(t){const o=e.find(e=>e.value===t)||{};a=l.a.createElement(Xt,{value:o.title,onChange:n})}else a=o();return l.a.createElement(l.a.Fragment,null,a,l.a.createElement(Zt,{choices:e,value:t,onChange:n}))}function $t(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class Qt extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handlePopulationChange",e=>{const{value:t,onChange:o}=this.props;o(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$t(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{population:e}),{isChanged:"population"})}),Object(r.a)(this,"renderImageSetter",()=>{const{value:e,onlyPointer:t,showPointer:o,onChange:n}=this.props;return l.a.createElement(qt.a,Object(y.a)({},e,{onlyPointer:t,showPointer:o,onChange:n}))})}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props,n=t?l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}),l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return l.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__focal-point__label"},e,n)}render(){const{className:e,label:t,attr:o,display:n,helper:a,population:{choices:r,show:i},value:{population:c}}=this.props,d=s()("brz-ed-option__focal-point","brz-ed-option__".concat(n),e,o.className),p=i?l.a.createElement(Jt,{choices:r,value:c,renderUnset:this.renderImageSetter,onChange:this.handlePopulationChange}):this.renderImageSetter();return l.a.createElement("div",Object(y.a)({},o,{className:d}),(t||a)&&this.renderLabel(),p)}}Object(r.a)(Qt,"defaultProps",{label:"",className:"",attr:{},helper:!1,helperContent:"",onlyPointer:!1,showPointer:!0,display:"inline",population:{show:!1,choices:[]},value:{},onChange:C.a.noop});var eo=Qt,to=o(35);class oo extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleClick",()=>{const{value:e,onChange:t}=this.props;Ct.a.set("prompt",{prompt:"icon",value:e,onChange:t})}),Object(r.a)(this,"handleRemove",()=>{this.props.onChange({name:"",type:""})}),Object(r.a)(this,"renderSelectIcon",()=>l.a.createElement("div",{className:"brz-ed-control__icon-setter__box",onClick:this.handleClick},l.a.createElement(d.b,{icon:"nc-add"}))),Object(r.a)(this,"renderRemoveIcon",()=>this.props.canDelete?l.a.createElement("div",{key:"second",className:"brz-ed-control__focal-point__delete",onClick:this.handleRemove},l.a.createElement(d.b,{icon:"nc-circle-remove"})):null),Object(r.a)(this,"renderIcon",()=>{const{name:e,type:t}=this.props.value;return[l.a.createElement("div",{key:"first",className:"brz-ed-control__icon-setter__box",onClick:this.handleClick},l.a.createElement("div",{className:"brz-ed-control__icon-setter--active"},l.a.createElement(to.a,{className:"grid-16 stroke-2",name:e,type:t}))),this.renderRemoveIcon()]})}render(){const{name:e}=this.props.value,t=s()("brz-ed-control__icon-setter",this.props.className);return l.a.createElement("div",{className:t},e?this.renderIcon():this.renderSelectIcon())}}Object(r.a)(oo,"defaultProps",{className:"",canDelete:!1,value:{},onChange:C.a.noop});class no extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"renderLabel",()=>{const{label:e,helper:t,helperContent:o}=this.props,n=t?l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}),l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return l.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__focal-point__label"},e,n)})}render(){const{className:e,label:t,attr:o,value:n,helper:a,onChange:r,canDelete:i}=this.props,c=s()("brz-ed-option__icon-setter","brz-ed-option__inline",e,o.className),d=C.a.omit(o,"className");return l.a.createElement("div",Object(y.a)({className:c},d),t||a?this.renderLabel():null,l.a.createElement(oo,{value:n,onChange:r,canDelete:i}))}}Object(r.a)(no,"defaultProps",{label:"",className:"",attr:{},helper:!1,helperContent:"",canDelete:!1,value:{},onChange:C.a.noop});var ao=no,ro=o(34);function io(e,t){const o=lo(t);return o>0?e.toFixed(o):String(e)}function lo(e){const[,t]=String(e).split(".");return t?t.length:0}function co(e,t,o,n){return function(e,t,o=0){const n=10**lo(t);return e*=n,t*=n,o*=n,(Math.ceil((e-o)/t)*t+o)/n}(Object(ro.a)(e,t,o),n,t)}const so=uo.bind(null,"add"),po=uo.bind(null,"sub");function uo(e,t,o){const n=lo(t),a=lo(o),r=10**Math.max(n,a),i=t*r,l=o*r;let c;switch(e){case"add":c=i+l;break;case"sub":c=i-l;break;default:throw new Error("operation type unknown ".concat(e))}return c/r}const bo=1e3;class ho extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"state",{text:io(this.props.value,this.props.step),value:this.props.value,prevPropsValue:this.props.value}),Object(r.a)(this,"handleChange",e=>{this.setState({text:e.target.value},()=>{this.props.onTextChange(this.state.text),this.debouncedOnChange()})}),Object(r.a)(this,"debouncedOnChange",C.a.debounce(()=>{this.setState((e,t)=>{const{min:o,max:n,step:a}=t,{text:r,value:i}=e,l=parseFloat(r),c=co("number"!=typeof l||Number.isNaN(l)?i:l,o,n,a);return{text:io(c,a),value:c}},()=>{this.props.onTextChange(this.state.text),this.props.onChange(this.state.value)})},bo))}static getDerivedStateFromProps(e,t){return e.value!==t.prevPropsValue?{text:io(e.value,e.step),value:e.value,prevPropsValue:e.value}:null}componentWillUnmount(){this.debouncedOnChange.cancel()}increment(){this.setState((e,t)=>{const{min:o,max:n,step:a}=t,{text:r,value:i}=e,l=Number(r),c=co(so(l,a),o,n,a);return c!==i?{text:io(c,a),value:c}:null},()=>{this.props.onTextChange(this.state.text),this.props.onChange(this.state.value)})}decrement(){this.setState((e,t)=>{const{min:o,max:n,step:a}=t,{text:r,value:i}=e,l=Number(r),c=co(po(l,a),o,n,a);return c!==i?{text:io(c,a),value:c}:null},()=>{this.props.onTextChange(this.state.text),this.props.onChange(this.state.value)})}getText(){return this.state.text}render(){const{className:e,min:t,max:o,step:n,onFocus:a,onBlur:r,onMouseEnter:i,onMouseLeave:c,size:s}=this.props,{text:d}=this.state;return l.a.createElement("input",{className:e,type:"number",value:d,min:t,max:o,step:n,size:s,onFocus:a,onBlur:r,onChange:this.handleChange,onMouseEnter:i,onMouseLeave:c})}}Object(r.a)(ho,"defaultProps",{className:"",value:0,min:0,max:100,step:1,round:!0,onFocus:C.a.noop,onBlur:C.a.noop,onTextChange:C.a.noop,onChange:C.a.noop});class mo extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"state",{activeIcon:this.getInitialIcon(),focusedIcon:0,focused:!1}),Object(r.a)(this,"handleInputValueChange",(e,t)=>{const{value:o,onChange:n}=this.props;n(o.map((o,n)=>n===e?t:o))})}getInitialIcon(){const{defaultIcon:e,icons:t}=this.props.config;return e||t[0]}handleMouseEnter(e){const{icons:t}=this.props.config;this.setState({activeIcon:t[e]})}handleMouseLeave(){const{icons:e}=this.props.config,{focusedIcon:t,focused:o}=this.state;this.setState({activeIcon:o?e[t]:this.getInitialIcon()})}onFocus(e){const{icons:t}=this.props.config;this.setState({activeIcon:t[e],focusedIcon:e,focused:!0})}onBlur(e){this.setState({activeIcon:this.getInitialIcon(),focusedIcon:e,focused:!1})}render(){const{className:e,attr:t,min:o,max:n,step:a,value:r,display:i}=this.props,{activeIcon:c}=this.state,p=s()("brz-ed-option__input-outline","brz-ed-option__multi-input","brz-ed-option__".concat(i),"brz-ed-option__input-number-wrap",e,t.className),u=r.map((e,t)=>l.a.createElement("div",{key:t,className:"brz-ed-option__multi-input-container",onMouseEnter:()=>this.handleMouseEnter(t),onMouseLeave:()=>this.handleMouseLeave(t)},l.a.createElement(ho,{className:"brz-input",min:o,max:n,step:a,value:e,onFocus:()=>this.onFocus(t),onBlur:()=>this.onBlur(t),onChange:e=>this.handleInputValueChange(t,e)})));return l.a.createElement("div",Object(y.a)({className:p},t),l.a.createElement(d.b,{icon:c,className:"brz-icon"}),u)}}Object(r.a)(mo,"defaultProps",{className:"",display:"inline",config:{defaultIcon:null,icons:["nc-settings"]},min:-9999,max:9999,step:1,value:null,attr:{},onChange:C.a.noop});var go=mo,vo=o(109);class yo extends l.a.Component{render(){const{className:e,choices:t,picker:o,attr:n,location:a,toolbar:r}=this.props,i=s()("brz-ed-option__multiPicker","brz-ed-option__inline",e,n.className),c=t[o.value]&&t[o.value].length>0;return l.a.createElement("div",Object(y.a)({},n,{className:i}),l.a.createElement("div",{className:"brz-ed-multiPicker__head"},l.a.createElement(vo.a,{className:"brz-ed-multiPicker__head__option",data:o})),l.a.createElement("div",{className:"brz-ed-multiPicker__body"},c&&l.a.createElement(Dt.a,{optionClassName:"brz-ed-multiPicker__option",data:t[o.value],location:a,toolbar:r})))}}Object(r.a)(yo,"defaultProps",{className:"",attr:{},picker:{},choices:{},location:"",toolbar:null});var fo=yo;const Oo="grouped",Co="ungrouped",So=[Oo,Co],xo=e=>So.includes(e)?e:void 0,jo=Oo,Bo=e=>{var t;return null!==(t=xo(e))&&void 0!==t?t:jo};class Po extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleClick",()=>{const{value:{type:e,grouped:t,ungrouped:o},onChange:n}=this.props;n({type:e===Oo?Co:Oo,grouped:t,ungrouped:o,isChanged:"type",isChangedIndex:0})}),Object(r.a)(this,"handleInputValueChange",(e,t)=>{const{value:{type:o,grouped:n,ungrouped:a},onChange:r}=this.props,i=this.props.value[o].map((o,n)=>n===e?t:o);r({type:o,grouped:"grouped"===o?i:n,ungrouped:"ungrouped"===o?i:a,isChanged:"value",isChangedIndex:e})})}render(){const{className:e,attr:t,min:o,max:n,step:a,value:{type:r},label:i,display:c,icon:p}=this.props,u=s()("brz-ed-option__multi-border","brz-ed-option__".concat(c),e,t.className),b=s()("brz-button",{"brz-ed-option__multi-border--active":"grouped"===r});return l.a.createElement("div",Object(y.a)({},t,{className:u}),i&&l.a.createElement("div",{className:"brz-label"},i),this.props.value[r].map((e,t)=>l.a.createElement(ho,{className:"brz-input brz-ed-option__multi-input",key:t,min:o,max:n,step:a,value:e,onChange:e=>this.handleInputValueChange(t,e)})),l.a.createElement("button",{className:b,onClick:this.handleClick},l.a.createElement(d.b,{icon:p,className:"brz-icon"})))}}Object(r.a)(Po,"defaultProps",{className:"",display:"inline",icon:"nc-combined-shape",label:"Size",min:-9999,max:9999,step:1,attr:{},value:{type:"grouped",grouped:[],ungrouped:[]},onChange:C.a.noop});var wo=Po;function To(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function zo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?To(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):To(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ko=1e3;class Eo extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"lastChange",this.props.value.value),Object(r.a)(this,"state",{value:this.props.value.value}),Object(r.a)(this,"isFocused",!1),Object(r.a)(this,"handleInputChange",e=>{const t=e.target.value;this.setState({value:t},()=>{this.debouncedHandleChange()})}),Object(r.a)(this,"handlePopulationChange",e=>{this.setState({value:""},()=>{const t={population:e};this.handleChange(t,{changed:"population"})})}),Object(r.a)(this,"handleChange",(e={},t={})=>{const o=zo({value:this.state.value,population:this.props.value.population},e),n=zo({changed:"value",changeEvent:"change"},t);this.props.onChange(o,n),this.lastChange=this.state.value}),Object(r.a)(this,"debouncedHandleChange",C.a.debounce((...e)=>this.isFocused&&this.handleChange(...e),ko)),Object(r.a)(this,"handleInputFocus",()=>{this.isFocused=!0}),Object(r.a)(this,"handleInputBlur",()=>{if(this.isFocused=!1,this.props.value.value!==this.state.value){const e={},t={changed:"value",changeEvent:"blur"};this.handleChange(e,t)}}),Object(r.a)(this,"renderInput",()=>{const{inputSize:e,inputType:t,placeholder:o,population:n}=this.props,a=s()("brz-input brz-ed-control__input","brz-ed-control__input--".concat(e),{"brz-ed-control__input--dynamic":n&&n.show});return l.a.createElement("input",{className:a,placeholder:o,type:t,value:this.state.value,onChange:this.handleInputChange,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur})})}componentWillReceiveProps(e){var t,o;const n=null!==(t=null==e?void 0:null===(o=e.value)||void 0===o?void 0:o.value)&&void 0!==t?t:"";this.lastChange!==n&&this.setState({value:n},()=>{this.lastChange=this.state.value})}componentWillUnmount(){this.isFocused&&this.handleInputBlur()}renderLabel(){const{label:e,helper:t,helperContent:o,helperPlacement:n,population:a}=this.props;return l.a.createElement("div",{className:s()("brz-ed-option__label brz-ed-option__input__label",{"brz-ed-option__input__label--dynamic":a&&a.show})},e,t&&l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(V.a,{placement:n,openOnClick:!1,overlay:l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}))))}render(){const{className:e,helper:t,label:o,display:n,population:{choices:a,show:r},value:{population:i}}=this.props,c=s()("brz-ed-option__input","brz-ed-option__".concat(n),e,{"brz-ed-option-input--dynamic":r}),d=r?l.a.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},l.a.createElement(Jt,{choices:a,value:i,renderUnset:this.renderInput,onChange:this.handlePopulationChange})):this.renderInput();return l.a.createElement("div",{className:c},(o||t)&&this.renderLabel(),d)}}Object(r.a)(Eo,"defaultProps",{className:"",label:"",placeholder:"",helper:!1,helperContent:"",helperPlacement:"top-center",display:"inline",value:{value:"",population:""},inputType:"text",inputSize:"large",population:{show:!1,choices:[]},onChange:C.a.noop});var Ho=Eo;class _o extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"onChangeDebounced",C.a.debounce(e=>{console.log("textarea debounce"),this.props.onChange(e)},1e3)),Object(r.a)(this,"handleChance",e=>{console.log("textarea handleChange"),this.onChangeDebounced(e.target.value)}),Object(r.a)(this,"handleFocus",()=>{this.textarea.focus()}),Object(r.a)(this,"renderLabel",()=>{const{label:e,helper:t,helperContent:o}=this.props,n=t?l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}),l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return l.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__textarea__label"},e,n)})}render(){const{label:e,className:t,helper:o,placeholder:n,attr:a,value:r}=this.props,i=s()("brz-ed-option__textarea","brz-ed-option__inline",t,a.className),c=C.a.omit(a,"className");return l.a.createElement("div",Object(y.a)({className:i},c),e||o?this.renderLabel():null,l.a.createElement("textarea",{ref:e=>{this.textarea=e},type:"text",className:"brz-textarea brz-ed-control__textarea",placeholder:n,defaultValue:r,onClick:this.handleFocus,onChange:this.handleChance}))}}Object(r.a)(_o,"defaultProps",{className:"",label:"",placeholder:"",helper:!1,helperContent:"",attr:{},value:"",onChange:C.a.noop});var Ro=_o;class Mo extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleTooltipOpen",()=>{this.props.onChange(void 0,{isOpen:!0})}),Object(r.a)(this,"handleTooltipClose",()=>{this.props.onChange(void 0,{isOpen:!1})}),Object(r.a)(this,"switchToEdit",e=>{e.stopPropagation(),this.props.toolbar.setItemsRenderer(this.renderToolbarItems)}),Object(r.a)(this,"renderToolbarItems",e=>{const t=e.find(({id:e})=>e===this.props.id),o=s()("brz-ed-popover__inner",{["brz-ed-tooltip--".concat(t.size)]:t.size});return l.a.createElement("div",{className:o},this.renderContent(t))}),Object(r.a)(this,"renderContent",e=>{const{toolbar:t,location:o}=this.props,{options:n,key:a}=e||this.props;return l.a.createElement("div",{key:a,className:"brz-d-xs-flex brz-flex-xs-wrap"},l.a.createElement(Dt.a,{className:"brz-ed-popover__options",optionClassName:"brz-ed-popover__option",data:n,location:o,toolbar:t}))})}static shouldOptionBeFiltered({options:e}){return 0===Object(Dt.b)(e).length}componentDidMount(){const{display:e,onOpenDirect:t}=this.props;"inside"===e&&t&&this.props.toolbar.setItemsRenderer(this.renderToolbarItems)}getClickOutSideExceptions(){let e=[".brz-ed-fixed",".media-modal",".media-modal-backdrop"];return"toolbar"===this.props.location&&e.push(".brz-ed-sidebar__right"),e}renderIcon(){const{icon:e}=this.props;if(C.a.isObject(e)){const t=s()("brz-ed-popover__tooltip--icon-custom",e.className);return l.a.createElement("div",Object(y.a)({},e,{className:t}))}return l.a.createElement(d.b,{icon:e})}renderLabelHelper(){const{label:e,helper:t,helperContent:o}=this.props;return e||t?l.a.createElement("div",{key:"label",className:"brz-ed-option__label brz-ed-option__popover__label"},e,t&&l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}),l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}}))):null}renderInside(){const{className:e,icon:t,title:o}=this.props,n=s()("brz-ed-popover__inner--icon",e),a=C.a.omit(t,"className"),r=s()("brz-ed-popover__tooltip--icon-custom",t.className);return l.a.createElement("div",{className:n,title:o,onMouseDown:this.switchToEdit},C.a.isObject(t)?l.a.createElement("div",Object(y.a)({className:r},a)):l.a.createElement(d.b,{icon:t}))}renderOutside(){const{className:e,title:t,size:o,location:n,toolbar:a}=this.props,r=s()("brz-ed-popover",e);let i=a,c="top-center";return"rightSidebar"===n&&(i=null,c="bottom-center"),l.a.createElement("div",{className:r},this.renderLabelHelper(),l.a.createElement(V.a,{className:"brz-ed-popover__tooltip",placement:c,overlay:this.renderContent(),title:t,size:o,toolbar:i,clickOutsideExceptions:this.getClickOutSideExceptions(),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},this.renderIcon()))}render(){const{display:e}=this.props;return"outside"===e?this.renderOutside():this.renderInside()}}Object(r.a)(Mo,"defaultProps",{className:"",icon:"nc-cog",size:"medium",title:"Settings",label:"",helperContent:"",helper:!1,display:"outside",onOpenDirect:!1,location:"",toolbar:null,options:[]});var Io=Mo,Fo=o(25);class No extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleMouseDown",()=>{let e=[{id:"triggers",type:"triggers",icon:"nc-triggers",label:Object(w.a)("Triggers"),title:Object(w.a)("WHAT WILL TRIGGER THE POPUP TO OPEN")}];Fo.a||e.push({id:"rules",type:"rules",icon:"nc-eye-17",label:Object(w.a)("Conditions"),title:Object(w.a)("WHERE DO YOU WANT TO DISPLAY IT?")}),Ct.a.set("prompt",{prompt:"conditions",options:e})})}calConditionsAmount(){const e=Object(p.b)().getState();let t=0;Fo.a||(t=null===(t=Object(b.u)(e))?1:t);const o=Object(b.C)(e);return t+(o.find(({id:e})=>"triggerOnce"===e)?o.length:o.length+1)}render(){const{className:e,attr:t}=this.props,o=s()("brz-ed-option__popup_conditions",e,t.className),n=C.a.omit(t,"className");return l.a.createElement("div",Object(y.a)({className:o,onMouseDown:this.handleMouseDown},n),l.a.createElement("span",{className:"brz-ed-option__popup_conditions-count"},this.calConditionsAmount()),Object(w.a)(" Display Conditions"))}}Object(r.a)(No,"defaultProps",{className:"",attr:{}});var Lo=No,Wo=o(80),Vo=o(140),Do=o(141),Ao=o(165);const Go=140;class Uo extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleCreate",()=>{Ct.a.set("prompt",{prompt:"blocks",tabs:{templates:!1},tabProps:{blocks:{showSidebar:!1,showCategories:!1,showType:!1,showSearch:!1,type:"popups",onAddBlocks:this.handleAddBlocks},saved:{showSearch:!1,blocksFilter:e=>e.filter(([e,{data:t}])=>"SectionPopup"===t.type||"SectionPopup2"===t.type),onAddBlocks:this.handleAddBlocks},global:{showSearch:!1,blocksFilter:e=>e.filter(([e,{data:t}])=>"SectionPopup"===t.type||"SectionPopup2"===t.type),onAddBlocks:this.handleAddBlocks}}})}),Object(r.a)(this,"handleAddBlocks",e=>{const{value:{popups:t},globalBlocks:o,onChange:n,dispatch:a}=this.props;let{block:r}=e;const{fonts:i}=e;let l;if(i&&a(Object(u.a)(i)),"GlobalBlock"!==r.type)l=Object(_t.a)(),r=Object(Wo.a)(r,{value:{_blockVisibility:"unlisted",popupId:l}});else{const e=r.value.globalBlockId,t=o[e].data;t.value.popupId?l=t.value.popupId:(l=Object(_t.a)(),a(Object(u.b)({id:e,data:Object(Wo.a)(t,{value:{popupId:l}}),meta:{is_autosave:0}})))}n({value:l,popups:Object(Ao.a)(t,t.length,r)})}),Object(r.a)(this,"handleEdit",()=>{const{popupKey:e,value:{value:t}}=this.props;new Map([...Do.a,...Vo.a]).get(e||t).open(),Object(ae.d)()}),Object(r.a)(this,"handleDelete",()=>{const{value:{value:e,popups:t},globalBlocks:o}=this.props;this.props.onChange({value:"",popups:t.filter(t=>{if("GlobalBlock"!==t.type)return t.value.popupId!==e;{const n=t.value.globalBlockId,a=o[n].data;return!a||a.value.popupId!==e}})})})}getPopupBlock(){const{globalBlocks:e,pageBlocks:t,value:{value:o,popups:n}}=this.props;let a;return(a=n.find(t=>("GlobalBlock"===t.type&&(t=e[t.value.globalBlockId].data),t.value.popupId===o)))||(a=t.find(e=>e.value._id===o)),a}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return l.a.createElement("div",{className:"brz-ed-option__label"},e,t&&l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}),l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}renderThumbnail(e){const{canDelete:t}=this.props,{url:o,width:n,height:a}=Object(j.b)(e,{searchScreenshotInStoreFirst:!0}),{width:r,height:i}=Object(B.d)(n,a,Go),c={width:"".concat(r,"px"),height:"".concat(i,"px")};return l.a.createElement("figure",{className:"brz-figure brz-ed-option__prompt-popup__image",style:c},l.a.createElement("img",{src:o,className:"brz-img",onClick:this.handleEdit,alt:"Popup Thumbnail"}),t&&l.a.createElement("div",{className:"brz-ed-option__prompt-popup-remove",onClick:this.handleDelete},l.a.createElement(d.b,{icon:"nc-circle-remove"})))}renderAdder(){return l.a.createElement("div",{className:"brz-ed-control__focal-point__label"},l.a.createElement("div",{className:"brz-ed-control__focal-point__upload",onClick:this.handleCreate},l.a.createElement(d.b,{icon:"nc-add"})))}render(){const{className:e,attr:t,label:o,helper:n,display:a,value:r}=this.props,i=s()("brz-ed-option__prompt-popup","brz-ed-option__".concat(a),e,t.className),c=r.value&&this.getPopupBlock();return l.a.createElement("div",Object(y.a)({},t,{className:i}),o||n?this.renderLabel():null,c?this.renderThumbnail(c):this.renderAdder())}}Object(r.a)(Uo,"defaultProps",{label:"",className:"",attr:{},helper:!1,helperContent:"",display:"inline",canDelete:!0,popupKey:"",value:{value:"",popups:[]},onChange:C.a.noop});var Ko=Object(S.b)(e=>({pageBlocks:Object(b.o)(e),globalBlocks:Object(b.k)(e)}))(Uo);class qo extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleClick",()=>{const{value:e,onChange:t}=this.props;Ct.a.set("prompt",{prompt:"icon",value:e,onChange:t})})}render(){const{className:e,attr:t,icon:o}=this.props,n=s()("brz-ed-option__prompt-icon",e,t.className),a=C.a.omit(t,"className");return l.a.createElement("div",Object(y.a)({className:n,onClick:this.handleClick},a),l.a.createElement(d.b,{icon:o}))}}Object(r.a)(qo,"defaultProps",{className:"",attr:{},icon:"nc-grid-45",value:null,onChange:C.a.noop});var Yo=qo;class Xo extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"onClick",e=>{this.props.onChange(e)}),Object(r.a)(this,"getCurrent",()=>C.a.find(this.props.children,e=>e.props.value===this.props.defaultValue)||this.props.children[0]),Object(r.a)(this,"renderOptions",()=>C.a.map(this.props.children,(e,t)=>l.a.cloneElement(e,{key:t,active:this.props.defaultValue===e.props.value,onClick:e.props.disabled?null:this.onClick.bind(null,e.props.value)})))}render(){const{className:e,name:t,defaultValue:o}=this.props,n=s()("brz-ed-control__radio-group",e);return l.a.createElement("div",{className:n},this.renderOptions(),l.a.createElement("div",null,l.a.createElement("input",{className:"brz-input",name:t,type:"hidden",value:o})))}}Object(r.a)(Xo,"defaultProps",{name:"defaultName",className:"",defaultValue:"",onChange:C.a.noop});class Zo extends l.a.Component{render(){const{className:e,active:t,children:o,onClick:n}=this.props,a=s()("brz-control__radio-option",{active:t},e);return l.a.createElement("div",{className:a,onClick:n},o)}}class Jo extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"renderIcon",e=>l.a.createElement("div",{className:"brz-ed-option__radio-group__icon"},l.a.createElement(d.b,{icon:e}))),Object(r.a)(this,"renderLabel",()=>{const{label:e,helper:t,helperContent:o}=this.props,n=t?l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}),l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return l.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__radio-group__label"},e,n)}),Object(r.a)(this,"renderRadioChoices",e=>e.map(({value:e,title:t,icon:o})=>{const n=s()({"brz-ed-option__radio-group--boxed":o});return l.a.createElement(Zo,{key:e,value:e,className:n},o?this.renderIcon(o):null,t?this.renderTitle(t):null)})),Object(r.a)(this,"renderTitle",e=>l.a.createElement("div",{className:"brz-ed-option__radio-group__title"},e))}render(){const{label:e,display:t,className:o,helper:n,choices:a,attr:r,value:i,onChange:c}=this.props,d=s()("brz-ed-option__radio-group","brz-ed-option__".concat(t),o,r.className),p=C.a.omit(r,"className");return l.a.createElement("div",Object(y.a)({className:d},p),e||n?this.renderLabel():null,l.a.createElement(Xo,{defaultValue:i,onChange:c},this.renderRadioChoices(a)))}}Object(r.a)(Jo,"defaultProps",{label:"",display:"inline",icon:"",title:"",className:"",value:"",helper:!1,helperContent:"",attr:{},choices:[],onChange:C.a.noop});var $o=Jo,Qo=o(4),en=o.n(Qo),tn=o(121),on=o(169);class nn extends l.a.Component{renderLabel(){const{label:e,helper:t,helperContent:o}=this.props,n=t?l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}),l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return l.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__check-group__label"},e,n)}renderChoices(){const{choices:e}=this.props;return e.map(({value:e,title:t,icon:o})=>{const n=s()({"brz-ed-option__check-group--boxed":o});return l.a.createElement(on.a,{key:e,className:n,name:t||o,value:e},o&&l.a.createElement("div",{className:"brz-ed-option__check-group__icon"},l.a.createElement(d.b,{icon:o})),t&&l.a.createElement("div",{className:"brz-ed-option__check-group__title"},t))})}render(){const{label:e,display:t,className:o,helper:n,attr:a,value:r,onChange:i}=this.props,c=s()("brz-ed-option__check-group","brz-ed-option__".concat(t),o,a.className);return l.a.createElement("div",Object(y.a)({},a,{className:c}),e||n?this.renderLabel():null,l.a.createElement(tn.b,{defaultValue:r,onChange:i},this.renderChoices()))}}Object(r.a)(nn,"propTypes",{label:en.a.string,display:en.a.string,icon:en.a.string,title:en.a.string,className:en.a.string,helper:en.a.bool,helperContent:en.a.string,attr:en.a.object,choices:en.a.array.isRequired,value:en.a.object.isRequired,onChange:en.a.func.isRequired}),Object(r.a)(nn,"defaultProps",{label:"",display:"inline",icon:"",title:"",className:"",value:{},helper:!1,helperContent:"",attr:{},choices:[],onChange:C.a.noop});var an=nn;class rn extends i.Component{render(){const{className:e,value:t,min:o,max:n,step:a}=this.props,r=s()("brz-ed-control__slider",e);return l.a.createElement("div",{className:r},l.a.createElement(st.a,{value:t,min:o,max:n,step:a,onChange:this.props.onChange,onAfterChange:this.props.onChangeEnd}))}}Object(r.a)(rn,"defaultProps",{value:100,min:0,max:100,step:1,onChange:C.a.noop,onChangeEnd:C.a.noop});class ln extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"state",{inputText:""}),Object(r.a)(this,"inputRef",l.a.createRef()),Object(r.a)(this,"handleInputTextChange",e=>{this.setState({inputText:e})}),Object(r.a)(this,"handleInputValueChange",e=>{const{suffixValue:t,onChange:o}=this.props;o({value:e,suffixValue:t})}),Object(r.a)(this,"handleSuffixChange",e=>{const{value:t,onChange:o}=this.props;o({value:t,suffixValue:e})})}componentDidMount(){this.setState({inputText:this.inputRef.current.getText()})}componentDidUpdate(){this.state.inputText!==this.inputRef.current.getText()&&this.setState({inputText:this.inputRef.current.getText()})}renderSuffix(){const{suffixes:e,suffixValue:t}=this.props;return e.map(o=>{const{title:n,value:a}=o,r=s()("brz-ed-option__text-box__helper",{"brz-ed-option__text-box__helper--active":a===t}),i=e.length>1?()=>{this.handleSuffixChange(a)}:null;return l.a.createElement("div",{key:a,className:r,onClick:i},n)})}render(){const{className:e,attr:t,min:o,max:n,step:a,value:r,suffixes:i,suffixValue:c}=this.props,{inputText:d}=this.state,p=null!==c&&i.length>1,u=s()("brz-ed-option__text-box",{"brz-ed-option__text-box--fixed-width":p},e,t.className),b="".concat(d.slice(0,-1),"9");return l.a.createElement("div",Object(y.a)({},t,{className:u}),l.a.createElement("label",{className:"brz-label"},l.a.createElement("div",{className:"brz-ed-option__text-box__input"},!p&&l.a.createElement("div",{className:"brz-invisible"},b),l.a.createElement(ho,{ref:this.inputRef,className:"brz-input brz-ed-control__text-box--resizer",min:o,max:n,step:a,value:r,onTextChange:this.handleInputTextChange,onChange:this.handleInputValueChange})),i.length>0&&this.renderSuffix()))}}Object(r.a)(ln,"defaultProps",{className:"",attr:{},suffixes:[{title:"px",value:"px"}],min:0,max:0,step:0,value:0,suffixValue:null,onChange:C.a.noop});var cn=ln;function sn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function dn(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?sn(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):sn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class pn extends l.a.Component{constructor(e){super(e),Object(r.a)(this,"handleSliderChange",e=>{this.handleChange({value:e},{sliderDragEnd:!1})}),Object(r.a)(this,"handleSliderChangeEnd",e=>{this.handleChange({value:e},{sliderDragEnd:!0})}),Object(r.a)(this,"handleInputChange",({value:e,suffixValue:t})=>{this.handleChange({value:e,suffix:t},{sliderDragEnd:!0})}),Object(r.a)(this,"handleChange",(e,t)=>{const{onChange:o}=this.props,n=dn({},this.state,{},e);this.setState(n),o(n,t)});const t=e.value;this.state=dn({},t)}componentWillReceiveProps({value:e}){e.value===this.state.value&&e.suffix===this.state.suffix||this.setState(dn({},e))}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return l.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__slider__label"},e,t&&l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}),l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}renderIcon(){const{icon:e,title:t}=this.props;return l.a.createElement("div",{className:"brz-ed-option__slider__icon",title:t},l.a.createElement(d.b,{icon:e}))}renderInput(){const e=this.constructor.defaultProps,t=this.props,{suffix:{show:o=e.suffix.show,choices:n=e.suffix.choices},input:{min:a=(null!=e.input.min?e.input.min:null!=t.slider.min?t.slider.min:e.slider.min),max:r=(null!=e.input.max?e.input.max:null!=t.slider.max?t.slider.max:e.slider.max),step:i=(null!=e.input.step?e.input.step:null!=t.slider.step?t.slider.step:e.slider.step)}}=this.props,{value:c,suffix:s}=this.state;return l.a.createElement(cn,{min:Number(a),max:Number(r),step:Number(i),suffixes:o?n:[],suffixValue:o?s:null,value:Number(c),onChange:this.handleInputChange})}render(){const e=this.constructor.defaultProps,{className:t,label:o,display:n,slider:{min:a=e.slider.min,max:r=e.slider.max,step:i=e.slider.step},input:c,suffix:d,helper:p,attr:u,icon:b}=this.props,h=s()("brz-ed-option__slider","brz-ed-option__".concat(n),{"brz-ed-option__slider-suffix":d.length>0},t,u.className),m=C.a.omit(u,"className"),g=Object(ro.a)(this.state.value,a,r);return l.a.createElement("div",Object(y.a)({className:h},m),o||p?this.renderLabel():null,l.a.createElement("div",{className:"brz-ed-option__slider__content"},b&&this.renderIcon(),l.a.createElement(rn,{id:this.props.id,min:Number(a),max:Number(r),step:Number(i),value:Number(g),onChange:this.handleSliderChange,onChangeEnd:this.handleSliderChangeEnd}),c.show&&this.renderInput()))}}Object(r.a)(pn,"defaultProps",{label:"",title:"",display:"inline",className:"",helperContent:"",helper:!1,icon:"",attr:{},slider:{min:0,max:100,step:1},input:{show:!1,min:-9999,max:9999,step:null},suffix:{show:!1,choices:[]},value:{value:0,suffix:null},onChange:C.a.noop});var un=pn;class bn extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"nodeRef",l.a.createRef()),Object(r.a)(this,"inputRef",l.a.createRef()),Object(r.a)(this,"mounted",!1),Object(r.a)(this,"mouseDown",!1),Object(r.a)(this,"timeoutId",null),Object(r.a)(this,"intervalId",null),Object(r.a)(this,"handleDocumentMouseUp",()=>{this.mouseDown&&(this.mouseDown=!1,clearTimeout(this.timeoutId),clearInterval(this.intervalId))}),Object(r.a)(this,"handleIncrement",()=>{this.emulateNativeInput(this.handleIncrementCb)}),Object(r.a)(this,"handleIncrementCb",()=>{this.inputRef.current.increment()}),Object(r.a)(this,"handleDecrement",()=>{this.emulateNativeInput(this.handleDecrementCb)}),Object(r.a)(this,"handleDecrementCb",()=>{this.inputRef.current.decrement()})}componentDidMount(){this.mounted=!0,this.nodeRef.current.ownerDocument.addEventListener("mouseup",this.handleDocumentMouseUp)}componentWillUnmount(){this.mounted=!1,this.nodeRef.current.ownerDocument.removeEventListener("mouseup",this.handleDocumentMouseUp),clearTimeout(this.timeoutId),clearInterval(this.intervalId)}emulateNativeInput(e){e(),this.mouseDown=!0,this.timeoutId=setTimeout(()=>{this.mounted&&this.mouseDown&&(this.intervalId=setInterval(()=>{this.mounted&&this.mouseDown&&e()},50))},400)}render(){const{className:e,value:t,min:o,max:n,step:a,onChange:r}=this.props,i=s()("brz-ed-control__stepper",e);return l.a.createElement("div",{ref:this.nodeRef,className:i},l.a.createElement("div",{className:"brz-ed-control__stepper--value"},l.a.createElement(ho,{ref:this.inputRef,className:"brz-input brz-ed-control__input",value:t,min:o,max:n,step:a,onChange:r})),l.a.createElement("div",{className:"brz-ed-control__stepper--arrows"},l.a.createElement("div",{className:"brz-ed-control__stepper--up",onMouseDown:this.handleIncrement},l.a.createElement(d.b,{icon:"nc-stre-up"})),l.a.createElement("div",{className:"brz-ed-control__stepper--down",onMouseDown:this.handleDecrement},l.a.createElement(d.b,{icon:"nc-stre-down"}))))}}Object(r.a)(bn,"propTypes",{className:en.a.string,min:en.a.number,max:en.a.number,step:en.a.number,value:en.a.number,onChange:en.a.func}),Object(r.a)(bn,"defaultProps",{className:"",min:0,max:10,step:1,value:1,onChange:C.a.noop});class hn extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"renderLabel",()=>{const{label:e,helper:t,helperContent:o}=this.props,n=t?l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}),l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return l.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__stepper__label"},e,n)})}render(){const{label:e,display:t,min:o,max:n,step:a,helper:r,value:i,className:c,attr:d,onChange:p}=this.props,u=s()("brz-ed-option__stepper","brz-ed-option__".concat(t),c,d.className),b=C.a.omit(d,"className");return l.a.createElement("div",Object(y.a)({className:u},b),e||r?this.renderLabel():null,l.a.createElement(bn,{value:Number(i),min:Number(o),max:Number(n),step:Number(a),onChange:p}))}}Object(r.a)(hn,"defaultProps",{label:"",display:"inline",min:0,max:10,step:1,value:5,className:"",attr:{},helper:!1,helperContent:"",onChange:C.a.noop});var mn=hn,gn=o(107);class vn extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleChange",e=>{const{closeTooltip:t,showHiddenElements:o,onChange:n}=this.props;if("off"===e&&t&&!o){const e=Object(V.b)();e&&e.state.isOpen&&e.close()}n(e)})}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return l.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__switch__label"},e,t&&l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}),l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}render(){const{label:e,display:t,helper:o,value:n,valueMap:a,attr:r,className:i}=this.props,c=s()("brz-ed-option__switch","brz-ed-option__".concat(t),i,r.className);return l.a.createElement("div",Object(y.a)({},r,{className:c}),e||o?this.renderLabel(e):null,l.a.createElement(gn.a,{key:n,defaultValue:n,valueMap:a,onChange:this.handleChange}))}}Object(r.a)(vn,"defaultProps",{label:"",display:"inline",className:"",closeTooltip:!1,value:"off",valueMap:{true:"on",false:"off"},attr:{},helper:!1,helperContent:"",onChange:C.a.noop});var yn=Object(S.b)(e=>({showHiddenElements:Object(b.z)(e)}))(vn);class fn extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"renderTabs",()=>{const{value:e,hideHandlesWhenOne:t,align:o,tabsPosition:n,tabsClassName:a,children:r,onChange:i}=this.props,c=l.a.Children.toArray(r);if(0===c.length||1===c.length&&t)return null;const p=s()("brz-ul brz-ed-control__tabs","brz-justify-content-xs-".concat(o),"brz-ed-control__tabs__".concat(n),a),u=c.map((t,o)=>{const{icon:n,value:a,title:r,label:c}=t.props,p=s()("brz-li brz-ed-control__tab",{"brz-ed-control__tab__icon":n,active:e===a});return l.a.createElement("li",{key:o,title:r,className:p,onClick:()=>i(a)},n&&l.a.createElement(d.b,{icon:n}),l.a.createElement("span",{className:"brz-span"},c))});return l.a.createElement("ul",{className:p},u)}),Object(r.a)(this,"renderTabContent",()=>{const{value:e,tabsPosition:t,children:o}=this.props,n=l.a.Children.toArray(o),a=s()("brz-ed-control__tab__content","brz-ed-control__tabs__content__".concat(t)),r=n.find(t=>e===t.props.value);return r&&l.a.createElement("div",{className:a},r.props.children)})}render(){return l.a.createElement("div",{className:this.props.className},this.props.helper,this.renderTabs(),this.renderTabContent())}}Object(r.a)(fn,"propTypes",{align:en.a.string,className:en.a.string,tabsClassName:en.a.string,tabsPosition:en.a.string,value:en.a.string,hideHandlesWhenOne:en.a.bool,onChange:en.a.func}),Object(r.a)(fn,"defaultProps",{align:"",className:"",tabsClassName:"",tabsPosition:"top",value:"",hideHandlesWhenOne:!0,onChange:C.a.noop,helper:null});class On extends l.a.Component{render(){return this.props.children}}class Cn extends l.a.Component{static shouldOptionBeFiltered({tabs:e}){return e.every(e=>0===Object(Dt.b)(e.options).length)}constructor(e){super(e),Object(r.a)(this,"handleTabChange",e=>{this.isControlled?this.props.onChange(e):e!==this.state.activeTab&&this.setState({activeTab:e},()=>{const e=Object(V.b)();e&&e.reposition()})});const[t]=this.filterTabs(e.tabs);this.state={activeTab:t&&(t.id||t.label||t.tabIcon)},this.isControlled=null!==e.value}getActiveTab(){const{tabs:e,value:t}=this.props,o=this.filterTabs(e).some(({id:e})=>e===t);return this.isControlled&&o?t:this.state.activeTab}filterTabs(e){return e.filter(e=>0!==Object(Dt.b)(e.options).length)}sortTabs(e){for(const t of e)if(void 0!==t.position)return[...e].sort((e,t)=>(e.position||100)-(t.position||100));return e}render(){const{tabs:e,className:t,tabsPosition:o,tabsClassName:n,hideHandlesWhenOne:a,align:r,location:i,toolbar:c}=this.props,s=this.sortTabs(this.filterTabs(e)).map(({id:e,title:o,label:n,options:a,tabIcon:r})=>{const s=e||n||r;return l.a.createElement(On,{key:s,title:o,label:n,icon:r,value:s},l.a.createElement(Dt.a,{className:"brz-ed-tabs__options",optionClassName:t,data:a,toolbar:c,location:i}))});return l.a.createElement(fn,{className:"brz-ed-tabs__option--inline",tabsClassName:n,tabsPosition:o,value:this.getActiveTab(),align:r,hideHandlesWhenOne:a,onChange:this.handleTabChange},s)}}Object(r.a)(Cn,"defaultProps",{align:"center",hideHandlesWhenOne:!0,tabs:[],location:"",value:null,toolbar:null});var Sn=Cn,xn=o(65);function jn({className:e,children:t,value:o,onChange:n}){var a;const r=s()("brz-ed-control__icon-carousel",e),i=null!==(a=t.find(e=>e.props.value===o))&&void 0!==a?a:t[0],c=t.map(e=>e.props.value);return l.a.createElement("div",{className:r,title:i.props.title,onClick:()=>{const e=Object(xn.c)(o,c),t=void 0!==e?Object(xn.d)(e,c):void 0;void 0!==t&&n(c[t])}},i)}var Bn=jn;function Pn({className:e,icon:t}){return l.a.createElement(d.a,{className:e,icon:t})}var wn=Pn;class Tn extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleChange",e=>{const{closeTooltip:t,showHiddenElements:o,onChange:n}=this.props;if("off"===e&&t&&!o){const e=Object(V.b)();e&&e.close()}n(e)})}getTitle(){const{choices:e,value:t}=this.props,o=e.find(e=>e.value===t);return o?o.title:""}render(){const{className:e,attr:t,choices:o,value:n}=this.props,a=C.a.map(o,({icon:e,value:t})=>l.a.createElement(wn,{key:e,value:t,icon:e})),r=s()("brz-ed-option__toggle",e,t.className);return l.a.createElement(Bn,Object(y.a)({value:n,title:this.getTitle(),onChange:this.handleChange},t,{className:r}),a)}}Object(r.a)(Tn,"defaultProps",{className:"",attr:{},closeTooltip:!1,value:"",choices:[]}),Object(r.a)(Tn,"propTypes",{className:en.a.string,attr:en.a.object,closeTooltip:en.a.bool,value:en.a.any,choices:en.a.array.isRequired});var zn=Object(S.b)(e=>({showHiddenElements:Object(b.z)(e)}))(Tn);class kn extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleInputValueChange",e=>{this.props.onChange(e)})}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return l.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__input-number__label"},e,t&&l.a.createElement("div",{className:"brz-ed-option__helper"},l.a.createElement(d.b,{icon:"nc-alert-circle-que"}),l.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}render(){const{className:e,label:t,helper:o,attr:n,min:a,max:r,step:i,value:c}=this.props,d=s()("brz-ed-option__inline","brz-ed-option__input-number",e,n.className);return l.a.createElement("div",Object(y.a)({},n,{className:d}),(t||o)&&this.renderLabel(),l.a.createElement("div",{className:"brz-ed-option__input-number-wrap"},l.a.createElement(ho,{className:"brz-input",min:a,max:r,step:i,value:c,onChange:this.handleInputValueChange})))}}Object(r.a)(kn,"defaultProps",{className:"",label:"",placeholder:"",helper:!1,helperContent:"",attr:{},min:-9999,max:9999,step:1,value:0,onChange:C.a.noop});var En=kn;function Hn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _n(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Hn(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Hn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Rn=st.a.Handle;class Mn extends l.a.Component{constructor(e){super(e),Object(r.a)(this,"handleOnMouseDown",e=>{const t=0===e?"startPointer":"finishPointer";this.handleChange({activePointer:t})}),Object(r.a)(this,"handleRangeChange",e=>{this.handleChange({startPointer:e[0],finishPointer:e[1]})}),Object(r.a)(this,"handleChange",e=>{const t=_n({},this.state,{},e);this.setState(t),this.props.onChange(t)}),Object(r.a)(this,"handle",e=>{const{className:t,dragging:o,value:n,index:a}=e,r=Object(Re.a)(e,["className","dragging","value","index"]),i=s()(t,{"brz-ed-rc-slider-handle--active":"startPointer"===this.state.activePointer&&0===a||"finishPointer"===this.state.activePointer&&1===a});return l.a.createElement(Rn,Object(y.a)({key:a,value:n,onMouseDown:()=>this.handleOnMouseDown(a)},r,{className:i}))});const t=e.value;this.state=_n({},t)}componentWillReceiveProps({value:e}){e.startPointer===this.state.startPointer&&e.finishPointer===this.state.finishPointer&&e.activePointer===this.state.activePointer&&e.bgColorHex===this.state.bgColorHex&&e.gradientColorHex===this.state.gradientColorHex||this.setState(_n({},e))}render(){const{className:e,config:{range:{min:t,max:o,step:n}},attr:a}=this.props,r=s()("brz-ed-option__range",e,a.className),i=C.a.omit(a,"className"),{startPointer:c,finishPointer:d,bgColorHex:p,gradientColorHex:u}=this.state;return l.a.createElement("div",Object(y.a)({className:r},i),l.a.createElement("div",{className:"brz-ed-option__range__content"},l.a.createElement(pt,{id:this.props.id,min:t,max:o,step:n,startPointer:c,finishPointer:d,handle:this.handle,railStyle:{backgroundImage:"linear-gradient(to right, ".concat(p,", ").concat(u,")")},onChange:this.handleRangeChange})))}}Object(r.a)(Mn,"defaultProps",{className:"",attr:{},config:{range:{min:0,max:100,step:1}},value:{startPointer:0,finishPointer:100,activePointer:"startPointer",bgColorHex:"#000000",gradientColorHex:"#000000"},onChange:C.a.noop});var In=Mn;class Fn extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"handleMouseDown",e=>{e.preventDefault(),Ct.a.set("prompt",{prompt:"apps-integrations",value:this.props.value})})}render(){const{className:e,attr:t,icon:o}=this.props,n=s()("brz-ed-option__button",e,t.className);return l.a.createElement("div",Object(y.a)({},t,{className:n,onMouseDown:this.handleMouseDown}),l.a.createElement(d.b,{icon:o}))}}Object(r.a)(Fn,"defaultProps",{className:"",attr:{},icon:"nc-cog",value:{}});var Nn=Fn,Ln=o(384),Wn=o(11),Vn=o(106);function Dn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function An(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Dn(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Dn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Gn=(e,t)=>t.reduce((t,o)=>{switch(o.type){case"grid":{const n=Object(xn.f)(o.columns).map(t=>An({},t,{options:Gn(e,Object(xn.f)(t.options))}));t.push(An({},o,{columns:n}))}break;default:Object(Vn.b)(e,o)&&t.push(o)}return t},[]),Un=e=>e.reduce((e,t)=>{switch(t.type){case"grid":{const o=Object(xn.f)(t.columns).map((e={})=>Object(xn.f)(e.options));return e.push(...Un(C.a.flatten(o))),e}default:return e.push(t),e}},[]),Kn=e=>{switch(e){case Wn.c:return"nc-circle";case Wn.b:return"nc-hover";case Wn.a:return"nc-target"}},qn=e=>{switch(e){case Wn.c:return Object(w.a)("Normal");case Wn.b:return Object(w.a)("Hover");case Wn.a:return Object(w.a)("Active")}};class Yn extends i.Component{constructor(...e){super(...e),Object(r.a)(this,"haveState",e=>Object(Vn.c)(e,Un(this.props.options))),Object(r.a)(this,"active",()=>{const e=Wn.e(this.props.value);return this.haveState(e)?e:Wn.d}),Object(r.a)(this,"renderOption",e=>l.a.createElement(Dt.a,{className:"brz-ed-tabs__options",optionClassName:this.props.className,data:Gn(e,this.props.options),toolbar:this.props.toolbar,location:this.props.location})),Object(r.a)(this,"renderTabs",e=>l.a.createElement(fn,{tabsPosition:"left",value:Wn.g(this.active()),onChange:this.props.onChange},e.map(e=>l.a.createElement(On,{key:e,active:this.active()===e,title:qn(e),icon:Kn(e),value:Wn.g(e)},this.renderOption(e)))))}static shouldOptionBeFiltered({options:e}){return 0===Object(Dt.b)(e).length}componentWillUnmount(){this.active()!==Wn.d&&this.props.onChange(Wn.g(Wn.d))}render(){const e=Object(Wn.f)().filter(this.haveState);switch(e.length){case 0:return null;case 1:return this.renderOption(e[0]);default:return this.renderTabs(e)}}}Object(r.a)(Yn,"propTypes",{options:en.a.arrayOf(en.a.object),className:en.a.string,location:en.a.string,toolbar:en.a.object,onChange:en.a.func,value:en.a.string}),Object(r.a)(Yn,"defaultProps",{options:[],className:"",location:"",toolbar:"",value:Wn.g(Wn.d),onChange:C.a.noop});const Xn=({className:e,palette:t,onChange:o,openSettings:n,value:a})=>{const r=s()("brz-ed-control__color-palette",e);return l.a.createElement("div",{className:r},t.map(({id:e,hex:t})=>{const n=s()({"brz-ed-control__color-palette__item":!0,active:e===a});return l.a.createElement("div",{key:e,className:n,style:{backgroundColor:t},onClick:()=>o(e)})}),l.a.createElement("div",{className:"brz-ed-control__color-palette__icon",onClick:n},l.a.createElement(d.b,{icon:"nc-cog"})))};function Zn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}Xn.propTypes={className:en.a.string,palette:en.a.arrayOf(en.a.shape({id:en.a.string,hex:en.a.string})).isRequired,value:en.a.string,onChange:en.a.func.isRequired,openSettings:en.a.func},Xn.defaultProps={className:"",value:""};const Jn=(e,t,o)=>((e,t)=>(t.find(t=>t.id===e)||{}).hex)(t,o)||e;class $n extends i.PureComponent{constructor(...e){super(...e),Object(r.a)(this,"onColorChange",({hex:e,opacity:t,isChanged:o,opacityDragEnd:n})=>{this.props.onChange({hex:e,opacity:t,palette:this.props.value.palette},{isChanged:o,opacityDragEnd:n})}),Object(r.a)(this,"onPaletteChange",e=>{this.props.onChange(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Zn(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Zn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},this.props.value,{palette:e}),{isChanged:"palette"})})}render(){const{className:e,value:t,opacity:o,palette:n,paletteOpenSettings:a}=this.props,r=s()("brz-ed-control__colorPicker3",e),i={opacity:t.opacity,hex:Jn(t.hex,t.palette,this.props.palette)};return l.a.createElement("div",{className:r},l.a.createElement(at,{value:i,disableOpacity:!o,onChange:this.onColorChange}),l.a.createElement(Xn,{palette:n,onChange:this.onPaletteChange,openSettings:a,value:t.palette}))}}Object(r.a)($n,"propTypes",{className:en.a.string,opacity:en.a.bool,hexInput:en.a.bool,palette:Xn.propTypes.palette,paletteOpenSettings:Xn.propTypes.openSettings,value:en.a.shape({hex:en.a.string.isRequired,opacity:en.a.number.isRequired,palette:en.a.string.isRequired}).isRequired,onChange:en.a.func.isRequired}),Object(r.a)($n,"defaultProps",{className:"",opacity:!0,hexInput:!0,palette:[]});const Qn=["color1","color2","color3","color4","color5","color6","color7","color8"],ea=e=>Qn.includes(e)?e:void 0,ta=(e,t)=>{var o;return null!==(o=ea(t))&&void 0!==o?o:e};var oa=o(74);const na=Object(n.b)(e=>Object(ro.b)(0,1,e)?e:void 0,oa.a.read),aa=e=>{var t;return null!==(t=na(e))&&void 0!==t?t:0},ra=(e,t)=>{var o;return null!==(o=na(e))&&void 0!==o?o:t};var ia=o(79),la=o(41);function ca(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function sa(e,t,o){return Object(n.e)(t[e],o)}function da(e,t,o){return void 0===t||t===sa(e,o)?o:function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ca(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ca(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},Object(la.h)(o),{[e]:t})}function pa(e,t){return Object(xn.f)(e).reduce((e,[t,...o])=>t&&t(...o,e)||e,t)}function ua(e,t,o){return(n,a)=>void 0===e(n)||t(a)===n?a:o(n,a)}const ba=["",...Qn],ha=e=>""===e||ea(e)?e:void 0,ma=e=>{var t;return null!==(t=ha(e))&&void 0!==t?t:""},ga=(e,t)=>{var o;return null!==(o=ha(e))&&void 0!==o?o:t},va=(e={},t)=>ra(Object(la.h)(e).opacity,t),ya=(e,t={})=>{const o={};if(ra(e,o)===o||va(t,o)===e)return t;const n=Ca(t)||sa("tempPalette",t,"");return pa([[da,"tempOpacity",0===e?va(t):void 0],[da,"opacity",e],[da,"palette",e?n:""],[da,"tempPalette",e?void 0:n]],t)},fa=(e={},t)=>Object(ia.a)(Object(la.h)(e).hex)?Object(la.h)(e).hex:t,Oa=(e,t={})=>{if(!Object(ia.a)(e)||e===Object(la.h)(t).hex)return t;const o=Object(la.h)(t);return pa([[da,"hex",e],[da,"opacity",e?o.opacity||o.tempOpacity||1:0],[da,"tempOpacity",e?void 0:o.opacity],[da,"palette",e?"":void 0],[da,"tempPalette",e?"":void 0]],t)},Ca=(e={},t)=>ga(sa("palette",e),t),Sa=(e,t={})=>{const o={};if(ga(e,o)===o||Ca(t,o)===e)return t;const n=Ca(t)||sa("tempPalette",t),a=va(t)||sa("tempOpacity",t);return pa([[da,"tempPalette",e?void 0:n],[da,"palette",e],[da,"opacity",e?va(t,0)||a:void 0]],t)};function xa(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const ja=(e,t,o,n)=>(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?xa(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):xa(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e})({},e(t,o),{tempOpacity:0!==t&&n?o.opacity:o.tempOpacity}),Ba=(e,t)=>{const o=e?va(t)||sa("tempOpacity",t):0,n=e?Ca(t)||sa("tempPalette",t):"";return pa([[ya,o],[Sa,n]],t)},Pa=({className:e="",value:t,onChange:o,size:n="auto",placeholder:a=""})=>{const r=s()("brz-ed-control__input2",e,"".concat("brz-ed-control__input2","--").concat(n));return l.a.createElement("div",{className:r},l.a.createElement("input",{type:"text",value:t,placeholder:a,onChange:({target:{value:e}})=>o(e)}))};function wa(e,t,o){const n=Object(i.useRef)();Object(i.useEffect)(()=>(clearTimeout(n.current),n.current=setTimeout(e,t),()=>clearTimeout(n.current)),o)}const Ta=({className:e,value:t,onChange:o})=>{const[a,r]=Object(i.useState)(t);return wa(()=>Object(n.a)(o,Object(ia.b)(a)),1e3,[a]),Object(i.useEffect)(()=>r(t),[t]),l.a.createElement(Pa,{className:s()("brz-ed-control__input-hex",e),value:a,onChange:r})},za=({value:e,onChange:t,children:o})=>l.a.createElement("div",{className:"brz-ed-control__color-picker-inputs"},l.a.createElement(Ta,{value:e,onChange:t}),o),ka=ja.bind(null,ya),Ea=(e,t)=>(t.find(t=>t.id===e)||{}).hex;class Ha extends l.a.Component{constructor(...e){super(...e),Object(r.a)(this,"opacity",()=>this.props.config.opacity||Ha.defaultProps.config.opacity),Object(r.a)(this,"onChange",(e,t={})=>{switch(t.isChanged){case"palette":this.props.onChange(Sa(e.palette,this.props.value),t);break;case"hex":this.props.onChange(Oa(e.hex,this.props.value),t);break;case"opacity":this.props.onChange(ka(e.opacity,this.props.value,!!t.opacityDragEnd),t)}}),Object(r.a)(this,"onHexChange",e=>{this.props.onChange(Oa(e,this.props.value),{isChanged:"hex"})}),Object(r.a)(this,"handleSidebarOpen",()=>{Object(p.b)().dispatch(Object(u.c)("leftSidebar",{isOpen:!0,drawerContentType:"styling"}))})}render(){const{className:e,attr:t}=this.props,o=s()("brz-ed-option__colorPicker",e,t.className);return l.a.createElement("div",Object(y.a)({},t,{className:o}),l.a.createElement($n,{value:this.props.value,opacity:this.opacity(),onChange:this.onChange,palette:Object(Q.b)(),paletteOpenSettings:this.handleSidebarOpen}),l.a.createElement(za,{value:this.props.value.hex,onChange:this.onHexChange}))}}Object(r.a)(Ha,"propTypes",{className:en.a.string,attr:en.a.object,value:en.a.shape({hex:en.a.string,opacity:en.a.number,tempOpacity:en.a.number,palette:en.a.string,tempPalette:en.a.string}),config:en.a.shape({opacity:en.a.bool}),onChange:en.a.func}),Object(r.a)(Ha,"defaultProps",{className:"",attr:{},value:{hex:"#000000",opacity:1,tempOpacity:1,palette:"",tempPalette:""},config:{opacity:!0},onChange:C.a.noop}),Object(r.a)(Ha,"getModel",e=>{const t=Ha.defaultProps.value,o=ta(t.palette,e("palette"));return{hex:Ea(o,Object(Q.b)())||e("hex")||t.hex,opacity:ra(e("opacity"),t.opacity),palette:o,tempOpacity:ra(e("tempOpacity"),t.tempOpacity),tempPalette:ta(t.tempPalette,e("tempPalette"))}});var _a=o(137),Ra=o.n(_a);const Ma=e=>{let{children:t,active:o=!1}=e,n=Object(Re.a)(e,["children","active"]);const a=s()({"brz-ed-control__multiSelect__option":!0,"brz-ed-control__multiSelect__option--active":o}),r="string"==typeof t?t:"";return l.a.createElement("li",Object(y.a)({className:a,title:r},n),t)},Ia=({onRemove:e,children:t})=>{const o="string"==typeof t?t:"";return l.a.createElement("div",{className:"brz-ed-control__multiSelect--tag"},l.a.createElement("div",{className:"brz-ed-control__multiSelect--tag--value",title:o},t),l.a.createElement(d.b,{icon:"nc-trash",onClick:e}))};function Fa(e){return e.props.value}function Na(e,t){if(t.length<=1)return t[0]?t[0]:void 0;const o=t.indexOf(e);return-1===o?t[0]:0===o?t[t.length-1]:o>=t.length?t[t.length-2]:t[o-1]}function La(e,t){if(t.length<=1)return t[0]?t[0]:void 0;const o=t.indexOf(e);return-1===o?t[0]:o>=t.length-1?t[0]:t[o+1]}function Wa(e,t,o){"function"==typeof t?t(o).then(e):e(t)}var Va=o(175),Da=o(172),Aa=o(679),Ga=o(678);const Ua=({className:e,placeholder:t="",children:o,tags:n,editable:a=!0,size:r,onKeyDown:c,onType:p,onSelect:u,inputValue:b,scroll:h=5})=>{const m=Object(i.useRef)(null),[g,v]=Object(i.useState)(0),f=({scrollHeight:e})=>{g||v(((e,t,o)=>t<=o?e:e/t*o)(e,o.length,h))},O=s()("brz-ed-control__multiSelect","brz-ed-control__multiSelect--size-".concat(r),e);return l.a.createElement("div",{className:O},l.a.createElement(Da.c,null,l.a.createElement(Va.a,{onChange:u,itemToString:e=>{var t;return e&&null!==(t=Yt.a.read(Fa(e)))&&void 0!==t?t:""}},({openMenu:e,isOpen:r,getMenuProps:i,getItemProps:s})=>{return l.a.createElement("div",null,l.a.createElement(Aa.a,null,({ref:o})=>l.a.createElement("div",{ref:o,className:"brz-ed-control__multiSelect--value-container",onClick:()=>e()},n,a&&l.a.createElement("input",{placeholder:t,ref:m,value:b,size:b.length||1,onChange:({target:t})=>(t=>{p(t),r||e()})(t.value),onKeyDown:({key:e})=>c(e),onFocus:()=>e(),className:"brz-input brz-ed-control__multiSelect--value"}),!a&&l.a.createElement(d.b,{icon:"nc-stre-down",className:"brz-control__select--arrow"}))),l.a.createElement("div",{className:"brz-ed-control__multiSelect__menu-container"},l.a.createElement(Ga.a,null,({ref:e,style:t,placement:n})=>{if(!r)return null;const a=o.map((e,t)=>{const o=s({item:e,key:t});return l.a.createElement(Ma,Object(y.a)({key:t},o,e.props))});return a.length?l.a.createElement("div",{ref:e,style:t,className:"brz-ed-control__multiSelect__menu","data-placement":n},l.a.createElement(kt.Scrollbars,{onUpdate:f,autoHeight:!0,autoHeightMax:g,renderThumbVertical:e=>l.a.createElement("div",Object(y.a)({className:"brz-ed-control__multiSelect__scroll-thumb"},e))},l.a.createElement("ul",Object(y.a)({},i(),{className:"brz-ul"}),a))):null})))})))},Ka=({className:e,value:t,children:o,onChange:n,scroll:a,editable:r=!0,size:c="medium",placeholder:s="",hideSelected:d=!0})=>{const[p,u]=Object(i.useState)([]),[b,h]=Object(i.useState)([]),[m,g]=Object(i.useState)(),[v,f]=Object(i.useState)(""),C=e=>m===e||t.includes(e),S=e=>{const o=new Ra.a(e,["props.children"]);h(o.search(v).filter(e=>!(d&&t.includes(Fa(e)))))};Object(i.useEffect)(()=>g(void 0),[b]),Object(i.useEffect)(()=>Wa(u,o),[o]),Object(i.useEffect)(()=>Wa(S,o,v),[o,v,t]);const x=function(e,t){return e.reduce((e,o)=>{const n=t.find(e=>Fa(e)===o);return n&&e.push(n),e},[])}(t,p).map((e,o)=>l.a.createElement(Ia,{key:o,onRemove:()=>(e=>{n(t.filter(t=>t!==e))})(Fa(e))},e.props.children),[]);return l.a.createElement(Ua,{className:e,placeholder:s,size:c,inputValue:v,tags:x,editable:r,onSelect:e=>{n(Object(O.uniq)([...t,Fa(e)]))},onKeyDown:e=>{switch(e){case"Backspace":!v.length&&t.length&&n(Object(O.initial)(t));break;case"Enter":m&&(n(Object(O.uniq)([...t,m])),f(""));break;case"ArrowDown":case"ArrowUp":if(b.length){const t=(e=>"ArrowDown"===e?La:Na)(e),o=m?t(m,b.map(Fa)):Fa(b[0]);g(o)}}},onType:f,scroll:a},b.map(({props:e})=>l.a.createElement(Ma,Object(y.a)({},e,{key:e.value,active:C(e.value)}))))},qa=e=>"number"==typeof e?oa.a.read(e):Yt.a.read(e),Ya=qa,Xa=qa;function Za(e,t){return"function"==typeof t?o=>t(o).then(e):e(t)}const Ja=e=>{let{value:t,onChange:o,children:n,className:a}=e,r=Object(Re.a)(e,["value","onChange","children","className"]);const[c,d]=Object(i.useState)(t);return l.a.createElement(Ka,Object(y.a)({},r,{className:s()(a,"brz-ed-control__select-single"),onChange:e=>o(Ya(Object(O.last)(e))||""),value:[c],hideSelected:!1}),Za(e=>{var o,n,a,r;const i=null!==(o=null!==(n=null===(a=e.find(e=>e.props.value===t))||void 0===a?void 0:a.props.value)&&void 0!==n?n:null===(r=e[0])||void 0===r?void 0:r.props.value)&&void 0!==o?o:"";return c!==i&&d(i),e},n))};function $a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const Qa=e=>{const t=s()(e.className,"brz-ed-control__colorPickerSelect");return l.a.createElement("div",{className:t},e.children.length&&l.a.createElement(Ja,{className:"brz-control__select--dark brz-control__select__auto",value:e.value.select,editable:!1,onChange:t=>e.onChange(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$a(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$a(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},e.value,{select:t}),{isChanged:"select"}),size:"short"},e.children),l.a.createElement($n,{onChange:e.onChange,palette:e.palette,paletteOpenSettings:e.paletteOpenSettings,opacity:e.opacity,value:e.value}))};Qa.propTypes={className:en.a.string,opacity:$n.propTypes.opacity,hexInput:$n.propTypes.hexInput,palette:$n.propTypes.palette,paletteOpenSettings:$n.propTypes.paletteOpenSettings,itemHeight:en.a.number,value:en.a.shape({hex:en.a.string.isRequired,opacity:en.a.number.isRequired,palette:en.a.string.isRequired,select:en.a.oneOfType([en.a.string,en.a.number]).isRequired}).isRequired,onChange:en.a.func.isRequired},Qa.defaultProps={children:[],itemHeight:24};const er=["none","inset","outset"],tr=e=>er.includes(e)?e:void 0,or=e=>{var t;return null!==(t=tr(e))&&void 0!==t?t:"none"};function nr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ar(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?nr(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):nr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const rr=e=>{let{value:t}=e,o=Object(Re.a)(e,["value"]);const n=s()("brz-ed-control__boxShadow",o.className),a=Object(i.useCallback)(e=>o.onChange(ar({},t,{hex:e}),{isChanged:"hex"}),[o.onChange]),r=Object(i.useCallback)(e=>{const[n,a,r,i]=e,l=(([e,t,o,n],[a,r,i,l])=>e!==a?"blur":t!==r?"spread":o!==i?"vertical":n!==l?"horizontal":void 0)(e,[t.blur,t.spread,t.vertical,t.horizontal]);l&&o.onChange(ar({},t,{blur:n,spread:a,vertical:r,horizontal:i}),{isChanged:l})},[o.onChange]);return l.a.createElement("div",{className:n},l.a.createElement(Qa,{onChange:o.onChange,value:{select:t.type,hex:t.hex,opacity:t.opacity,palette:t.palette},opacity:o.opacity,palette:o.palette,paletteOpenSettings:o.paletteOpenSettings},o.types.map(({id:e,title:o})=>l.a.createElement(Ma,{key:e,value:e,title:o,active:t.value===e},l.a.createElement("span",null,o)))),l.a.createElement(za,{value:t.hex,onChange:a},l.a.createElement(go,{config:{defaultIcon:["nc-shadow"],icons:["nc-blur","nc-size","nc-vertical","nc-horizontal"]},value:[t.blur,t.spread,t.vertical,t.horizontal],onChange:r})))};rr.propTypes={className:en.a.string,opacity:en.a.bool,types:en.a.arrayOf(en.a.shape({id:en.a.string,title:en.a.string})),palette:Qa.propTypes.palette,paletteOpenSettings:Qa.propTypes.paletteOpenSettings,value:en.a.shape({type:en.a.oneOf(er),hex:en.a.string,opacity:en.a.number,palette:en.a.string,blur:en.a.number,spread:en.a.number,vertical:en.a.number,horizontal:en.a.number}),onChange:en.a.func.isRequired},rr.defaultProps={className:"",types:[],palette:[],value:{}};const ir=(e,t)=>Object(ro.c)(e)&&e>=0?e:t,lr=ro.f,cr=(e,t)=>{var o;return null!==(o=tr(null==e?void 0:e.type))&&void 0!==o?o:t},sr=(e,t)=>{if(void 0===tr(e)||cr(t)===e)return t;const o="none"===e;return pa([[da,"tempType",o?sa("type",t):void 0],[da,"type",e],[Br,!o],[xr,!o]],t)},dr=(e,t)=>{if(void 0===ra(e)||va(t)===e)return t;return pa([[ya,e],[jr,e>0]],t)},pr=(e,t)=>{if(void 0===Object(ia.c)(void 0,e)||fa(t)===e)return t;return pa([[Oa,e],[jr,""!==e]],t)},ur=(e,t)=>{const o={};return ga(e,o)===o||Ca(t,o)===e?t:pa([[Sa,e],[jr,"none"!==e]],t)},br=(e,t)=>ir(Object(la.h)(e).blur,t),hr=(e,t,o)=>da("temp".concat(Object(Rt.c)(e)),t||(Pr(o)?0:o[e]||void 0),o),mr=ua(ir,br,(e,t)=>pa([[da,"blur",e],[hr,"blur",e],[e=>jr(Pr(e),e)]],t)),gr=(e,t)=>lr(Object(la.h)(e).spread,t),vr=ua(lr,gr,(e,t)=>pa([[da,"spread",e],[hr,"spread",e],[e=>jr(Pr(e),e)]],t)),yr=(e,t)=>Object(ro.f)(sa("horizontal",e,t),t),fr=ua(ro.f,yr,(e,t)=>pa([[da,"horizontal",e],[da,"tempHorizontal",e]],t)),Or=(e,t)=>Object(ro.f)(sa("vertical",e,t),t),Cr=ua(ro.f,Or,(e,t)=>pa([[da,"vertical",e],[da,"tempVertical",e]],t));function Sr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const xr=(e,t)=>{const o=e?va(t)||sa("tempOpacity",t):0,n=e?Ca(t)||sa("tempPalette",t):"";return pa([[dr,o],[ur,n]],t)},jr=(e,t)=>{var o;const n=e?null!==(o=(e=>"none"===e?void 0:e)(cr(t)))&&void 0!==o?o:tr(null==t?void 0:t.tempType):"none";return sr(n,t)},Br=(e,t)=>{const o=void 0,n=br(t,o)||sa("tempBlur",t,0),a=gr(t,o)||sa("tempSpread",t,0),i=yr(t,o)||sa("tempHorizontal",t,0),l=Or(t,o)||sa("tempVertical",t,0),c=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Sr(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Sr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},Object(la.h)(t));return c.blur=e?n:0,c.tempBlur=n,c.spread=e?a:0,c.tempSpread=a,c.vertical=e?l:0,c.tempVertical=l,c.horizontal=e?i:0,c.tempHorizontal=i,c},Pr=e=>!(!br(e,0)&&!gr(e,0)),wr=e=>{switch(e){case"none":return Object(w.a)("None");case"inset":return Object(w.a)("Inset");case"outset":return Object(w.a)("Outset");default:return e}},Tr=()=>er.map(e=>({id:e,title:wr(e)})),zr=e=>"on"===e?"outset":e,kr=e=>{switch(e){case"none":return"";case"outset":return"on";default:return e}},Er=e=>({value:kr(e.type),tempValue:kr(e.tempType),colorHex:e.hex,colorPalette:e.palette,tempColorPalette:e.tempPalette,colorOpacity:e.opacity,tempColorOpacity:e.tempOpacity,blur:e.blur,tempBlur:e.tempBlur,spread:e.spread,tempSpread:e.tempSpread,vertical:e.vertical,tempVertical:e.tempVertical,horizontal:e.horizontal,tempHorizontal:e.tempHorizontal}),Hr=(e,t,o)=>{const n=sa(o,t);return void 0===n?sa(o,e):n},_r=ja.bind(void 0,dr),Rr=()=>{Object(p.b)().dispatch(Object(u.c)("leftSidebar",{isOpen:!0,drawerContentType:"styling"}))},Mr=e=>{let{onChange:t,value:o}=e,n=Object(Re.a)(e,["onChange","value"]);const a=s()("brz-ed-option__boxShadow",n.className);return l.a.createElement(rr,{opacity:Ir(n.config,"opacity"),className:a,value:o,onChange:(e,n={})=>{if("opacity"===n.isChanged)t(Er(_r(sa("opacity",e),o,!!n.opacityDragEnd)),n);else{const a=(e=>{switch(e){case"select":return sr;case"palette":return ur;case"hex":return pr;case"opacity":return dr;case"blur":return mr;case"spread":return vr;case"vertical":return Cr;case"horizontal":return fr;default:return}})(n.isChanged);a&&t(Er(a(sa(n.isChanged,e),o)),n)}},types:Tr(),palette:Object(Q.b)(),paletteOpenSettings:Rr})};Mr.getModel=e=>{var t,o,n,a,r,i,l;const c={type:or(zr(e("value"))),opacity:aa(e("colorOpacity")),blur:ir(e("blur"),0),spread:lr(e("spread"),0)},s="none"===c.type||0===c.opacity||0===c.blur&&0===c.spread;return{type:s?"none":c.type,tempType:null!==(t=tr(zr(e("tempValue"))))&&void 0!==t?t:"outset",hex:null!==(o=ia.b(e("colorHex")))&&void 0!==o?o:"#000000",opacity:s?0:c.opacity,tempOpacity:null!==(n=na(e("tempColorOpacity")))&&void 0!==n?n:1,palette:s?"":ma(e("colorPalette")),tempPalette:ma(e("tempColorPalette")),blur:s?0:c.blur,tempBlur:ir(e("tempBlur"),4),spread:s?0:c.spread,tempSpread:lr(e("tempSpread"),2),vertical:s?0:null!==(a=oa.a.read(e("vertical")))&&void 0!==a?a:0,tempVertical:null!==(r=oa.a.read(e("tempVertical")))&&void 0!==r?r:0,horizontal:s?0:null!==(i=oa.a.read(e("horizontal")))&&void 0!==i?i:0,tempHorizontal:null!==(l=oa.a.read(e("tempHorizontal")))&&void 0!==l?l:0}},Mr.propTypes={className:en.a.string,config:en.a.shape({opacity:en.a.bool}),value:en.a.shape({type:en.a.oneOf(er),tempType:en.a.string,hex:en.a.string,opacity:en.a.number,tempOpacity:en.a.number,palette:en.a.oneOf(ba),tempPalette:en.a.oneOf(ba),blur:en.a.number,tempBlur:en.a.number,spread:en.a.number,tempSpread:en.a.number,vertical:en.a.number,tempVertical:en.a.number,horizontal:en.a.number,tempHorizontal:en.a.number}),onChange:en.a.func.isRequired},Mr.defaultProps={className:"",config:{opacity:!0},value:{}};const Ir=(e,t)=>Hr(Mr.defaultProps,e,t),Fr=["none","solid","dashed","dotted"],Nr=e=>Fr.includes(e)?e:void 0,Lr=e=>{var t;return null!==(t=Nr(e))&&void 0!==t?t:"none"},Wr=e=>"none"===e?void 0:e,Vr=Object(n.b)(e=>e>=0?e:void 0,oa.a.read),Dr=(e,t)=>0===e?t:e,Ar=e=>{var t;return null!==(t=Vr(e))&&void 0!==t?t:0},Gr=e=>oi(e,jo)===Oo?0===ai(e,0):[ii,li,ci,si].reduce((t,o)=>t&&0===o(e,0),!0),Ur=e=>[e.topWidth,e.rightWidth,e.bottomWidth,e.leftWidth].every((e,t,o)=>e===o[0]),Kr=(e,t,o)=>{var n;return null!==(n=Vr(sa(e,t)))&&void 0!==n?n:o},qr=(e,t,o)=>{if(void 0===Vr(t)||Kr(e,o)===t)return o;const n=["topWidth","rightWidth","bottomWidth","leftWidth"].reduce((e,t)=>{var o;const n=null!==(o=Kr(t,e))&&void 0!==o?o:0;return da(Object(Rt.b)("temp",t),n,e)},Object(la.h)(o)),a=(e=>Object(Rt.b)("temp",e))(e),r=pa([[da,Object(Rt.b)("temp",e),t],[da,e,t],[t=>da(a,Ur(t)?o[e]:t[e],t)],[e=>t>0&&Ur(e)?da("width",t,e):e]],n),i=!Gr(r);return pa([[Yr,i],[Ba,i]],r)},Yr=(e,t)=>{var o;const a=e?null!==(o=Object(n.a)(Wr,Jr(t)))&&void 0!==o?o:Nr(null==t?void 0:t.tempStyle):"none";return pa([[$r,a]],t)},Xr=(e,t)=>["width","topWidth","rightWidth","bottomWidth","leftWidth"].reduce((t,o)=>{const n=Object(Rt.b)("temp",o),a=Kr(o,t),r=Kr(n,t,0);return pa([[da,n,e||0===a?void 0:a],[da,o,e?Dr(a,r):0]],t)},t),Zr=e=>{switch(e){case"none":return{id:"none",title:Object(w.a)("None")};case"solid":return{id:"solid",icon:"nc-solid"};case"dashed":return{id:"dashed",icon:"nc-dashed"};case"dotted":return{id:"dotted",icon:"nc-dotted"};default:return}},Jr=(e,t)=>{var o;return null!==(o=Nr(sa("style",e)))&&void 0!==o?o:t},$r=ua(Nr,Jr,(e,t)=>pa([[da,"tempStyle",Object(n.a)(Wr,Jr(t))],[da,"style",e],[Ba,"none"!==e],[Xr,"none"!==e]],t)),Qr=(e,t)=>{if(void 0===ia.c(void 0,e)||fa(t)===e)return t;const o=""!==e;return pa([[Oa,e],[Yr,o],[Xr,o]],t)},ei=ua(ra,va,(e,t)=>{const o=0!==e;return pa([[ya,e],[Yr,o],[Xr,o]],t)}),ti=ua(ga,Ca,(e,t)=>{const o=""!==e;return pa([[Sa,e],[Yr,o],[Xr,o]],t)}),oi=(e,t)=>{var o;return null!==(o=xo(sa("widthType",e)))&&void 0!==o?o:t},ni=ua(xo,oi,(e,t)=>da("widthType",e,t)),ai=(e,t)=>Kr("width",e,t),ri=ua(Vr,ai,(e,t)=>pa([[da,"width",e],[da,"tempWidth",e>0?e:void 0],[da,"topWidth",e>0?e:void 0],[da,"rightWidth",e>0?e:void 0],[da,"bottomWidth",e>0?e:void 0],[da,"leftWidth",e>0?e:void 0],[Yr,e>0],[Ba,e>0]],t)),ii=(e,t)=>Kr("topWidth",e,t),li=(e,t)=>Kr("rightWidth",e,t),ci=(e,t)=>Kr("bottomWidth",e,t),si=(e,t)=>Kr("leftWidth",e,t);var di=o(171);function pi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ui(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?pi(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):pi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const bi=e=>{let{value:t,onChange:o}=e,n=Object(Re.a)(e,["value","onChange"]);const a=s()("brz-ed-control__border",n.className),r=Object(i.useCallback)(e=>o({select:t.style,hex:e,opacity:t.opacity,palette:t.palette},{isChanged:"hex"}),[o]),c=Object(i.useCallback)((e={})=>{switch(e.isChanged){case"type":o(ui({},t,{widthType:e.type}),{isChanged:"widthType"});break;case"value":if(e.type===Oo)o(ui({},t,{width:e.grouped[0]}),{isChanged:"width"});else{const n=(e=>{switch(e){case 0:return"topWidth";case 1:return"rightWidth";case 2:return"bottomWidth";case 3:return"leftWidth"}})(e.isChangedIndex);o(ui({},t,{[n]:e.ungrouped[e.isChangedIndex]}),{isChanged:n})}}},[o]);return l.a.createElement("div",{className:a},l.a.createElement(Qa,{onChange:o,value:{select:t.style,hex:t.hex,opacity:t.opacity,palette:t.palette},opacity:n.opacity,palette:n.palette,paletteOpenSettings:n.paletteOpenSettings},n.styles.map(({id:e,title:o,icon:n})=>l.a.createElement(Ma,{key:e,value:e,active:t.style===e},o&&l.a.createElement("span",null,o),n&&l.a.createElement(d.b,{icon:n,className:"brz-icon"})))),l.a.createElement(za,{value:t.hex,onChange:r},l.a.createElement(wo,{min:0,label:t.widthType===Oo?Object(di.a)("Size"):"",value:{type:t.widthType,grouped:[t.width],ungrouped:[t.topWidth,t.rightWidth,t.bottomWidth,t.leftWidth]},onChange:c})))};bi.propTypes={className:en.a.string,opacity:en.a.bool,styles:en.a.arrayOf(en.a.shape({id:en.a.string,title:en.a.string,icon:en.a.string})),palette:Qa.propTypes.palette,paletteOpenSettings:Qa.propTypes.paletteOpenSettings,value:en.a.shape({style:en.a.oneOf(Fr),hex:en.a.string,opacity:en.a.number,palette:en.a.oneOf(ba),widthType:en.a.oneOf(So),width:en.a.number,topWidth:en.a.number,rightWidth:en.a.number,bottomWidth:en.a.number,leftWidth:en.a.number}),onChange:en.a.func.isRequired},bi.defaultProps={className:"",styles:[],palette:[],value:{}};const hi=ja.bind(void 0,ei),mi=({value:e,onChange:t,className:o,config:n})=>{const a=gi(n,"styles"),r=a.includes("none")?O.identity:e=>Math.max(1,e);return l.a.createElement(bi,{className:o,value:e,onChange:(o,n={})=>{let a=e;const i=n.isChanged,l=sa(i,o);switch(i){case"select":a=$r(l,e);break;case"opacity":a=hi(l,e,!!n.opacityDragEnd);break;case"hex":a=Qr(l,e);break;case"palette":{const t=sa("hex",Object(Q.a)(l));a=Qr(t,e),a=ti(l,a)}break;case"widthType":a=ni(l,e);break;case"width":a=ri(r(l),e);break;case"topWidth":a=((e,t)=>qr("topWidth",e,t))(r(l),e);break;case"rightWidth":a=((e,t)=>qr("rightWidth",e,t))(r(l),e);break;case"bottomWidth":a=((e,t)=>qr("bottomWidth",e,t))(r(l),e);break;case"leftWidth":a=((e,t)=>qr("leftWidth",e,t))(r(l),e)}t((e=>{var t,o,n,a,r,i,l,c;return{style:Lr(e.style),tempStyle:null!==(t=Nr(e.tempStyle))&&void 0!==t?t:"solid",colorHex:null!==(o=ia.b(e.hex))&&void 0!==o?o:"",colorOpacity:aa(e.opacity),tempColorOpacity:null!==(n=na(e.tempOpacity))&&void 0!==n?n:1,colorPalette:ma(e.palette),tempColorPalette:ma(e.tempPalette),widthType:Bo(e.widthType),width:Ar(e.width),tempWidth:null!==(a=Vr(e.tempWidth))&&void 0!==a?a:1,topWidth:Ar(e.topWidth),tempTopWidth:null!==(r=Vr(e.tempTopWidth))&&void 0!==r?r:1,rightWidth:Ar(e.rightWidth),tempRightWidth:null!==(i=Vr(e.tempRightWidth))&&void 0!==i?i:1,bottomWidth:Ar(e.bottomWidth),tempBottomWidth:null!==(l=Vr(e.tempBottomWidth))&&void 0!==l?l:1,leftWidth:Ar(e.leftWidth),tempLeftWidth:null!==(c=Vr(e.tempLeftWidth))&&void 0!==c?c:1}})(a),n)},palette:Object(Q.b)(),paletteOpenSettings:Rr,opacity:gi(n,"opacity"),styles:a.map(Zr).filter(Boolean)})};mi.getModel=e=>{var t,o,n,a,r,i,l,c;const s={style:Lr(e("style")),opacity:aa(e("colorOpacity")),widthType:Bo(e("widthType")),width:Ar(e("width")),topWidth:Ar(e("topWidth")),rightWidth:Ar(e("rightWidth")),bottomWidth:Ar(e("bottomWidth")),leftWidth:Ar(e("leftWidth"))},d="none"===s.style||0===s.opacity||Gr(s);return{style:d?"none":s.style,tempStyle:null!==(t=Nr(e("tempStyle")))&&void 0!==t?t:"solid",hex:null!==(o=ia.b(e("colorHex")))&&void 0!==o?o:"#000000",opacity:d?0:s.opacity,tempOpacity:null!==(n=na(e("tempColorOpacity")))&&void 0!==n?n:1,palette:d?"":ma(e("colorPalette")),tempPalette:ma(e("tempColorPalette")),widthType:Bo(e("widthType")),width:d?0:s.width,tempWidth:null!==(a=Vr(e("tempWidth")))&&void 0!==a?a:1,topWidth:d?0:s.topWidth,tempTopWidth:null!==(r=Vr(e("tempTopWidth")))&&void 0!==r?r:1,rightWidth:d?0:s.rightWidth,tempRightWidth:null!==(i=Vr(e("tempRightWidth")))&&void 0!==i?i:1,bottomWidth:d?0:s.bottomWidth,tempBottomWidth:null!==(l=Vr(e("tempBottomWidth")))&&void 0!==l?l:1,leftWidth:d?0:s.leftWidth,tempLeftWidth:null!==(c=Vr(e("tempLeftWidth")))&&void 0!==c?c:1}},mi.propTypes={className:en.a.string,config:en.a.shape({opacity:en.a.bool,styles:en.a.arrayOf(en.a.oneOf(Fr))}),value:en.a.shape({style:en.a.oneOf(Fr),tempStyle:en.a.oneOf(Fr),hex:en.a.string,opacity:en.a.number,tempOpacity:en.a.number,palette:en.a.oneOf(ba),tempPalette:en.a.oneOf(ba),widthType:en.a.oneOf(So),width:en.a.number,tempWidth:en.a.number,topWidth:en.a.number,tempTopWidth:en.a.number,rightWidth:en.a.number,tempRightWidth:en.a.number,bottomWidth:en.a.number,tempBottomWidth:en.a.number,leftWidth:en.a.number,tempLeftWidth:en.a.number}).isRequired,onChange:en.a.func.isRequired},mi.defaultProps={className:"",config:{opacity:!0,styles:Fr}};const gi=(e,t)=>Hr(mi.defaultProps,e,t),vi=e=>{const t=s()("brz-ed-control__font-style",e.className);return l.a.createElement("div",{className:t},l.a.createElement(rt.a,{className:"brz-control__select--dark",defaultValue:e.value,itemHeight:30,onChange:e.onChange},e.styles.map(({id:t,title:o})=>l.a.createElement(ct.a,{key:t,active:e.value===t,value:t},o))),e.openSettings&&l.a.createElement("div",{className:"brz-ed-control__font-style--settings",onClick:e.openSettings},l.a.createElement(d.b,{icon:"nc-cog"})))};vi.propTypes={className:en.a.string,styles:en.a.arrayOf(en.a.shape({id:en.a.string,title:en.a.string})).isRequired,label:en.a.string,value:en.a.string.isRequired,onChange:en.a.func.isRequired,openSettings:en.a.func},vi.defaultProps={className:""};const yi=({className:e,children:t})=>{const o=s()("brz-ed-component__label",e);return l.a.createElement("div",{className:o},t)};function fi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const Oi={default:"17px",great_vibes:"18px",alex_brush:"18px",allura:"18px",parisienne:"18px"};class Ci extends i.Component{constructor(...e){super(...e),Object(r.a)(this,"handleOpenFonts",e=>{e.preventDefault(),this.props.addFont()})}checkCurrentFont(){const{fonts:e,value:t}=this.props;return Object.entries(e).some(e=>e.some(e=>e.id===t))}renderFontList(e,t){const{value:o,onChange:n}=this.props;return e.map(e=>{const{id:a,family:i,title:c}=e,d=s()("brz-ed-font__name",{active:a===o}),p={fontFamily:i,fontSize:Oi[a]||Oi.default};return l.a.createElement("div",{key:a,className:d,style:p,onClick:()=>n(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?fi(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):fi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},e,{type:t}))},c)})}render(){const{config:e=[],blocks:t=[],google:o=[],upload:n=[]}=this.props.fonts,a=this.checkCurrentFont(),r=n.length>0||o.length>0,i=s()("brz-ed-font__typography",this.props.className);return l.a.createElement("div",{className:i},l.a.createElement(x.a,{className:"brz-ed-scroll--dark brz-ed-scroll--small",style:{height:"100%"}},n.length>0&&this.renderFontList(n,"upload",a),o.length>0&&this.renderFontList(o,"google",a),r&&l.a.createElement("hr",{className:"brz-hr brz-ed-font__separator"}),t&&this.renderFontList(t,"google",a),this.renderFontList(e,"google",a)),this.props.addFont&&l.a.createElement("div",{className:"brz-ed-font__typography-adder",onClick:this.handleOpenFonts},l.a.createElement(d.b,{icon:"nc-add"}),this.props.addFontLabel))}}const Si=en.a.shape({id:en.a.string,family:en.a.string,title:en.a.string,size:en.a.string});Ci.propTypes={className:en.a.string,addFont:en.a.func,addFontLabel:en.a.string,fonts:en.a.shape({config:en.a.arrayOf(Si),blocks:en.a.arrayOf(Si),google:en.a.arrayOf(Si),upload:en.a.arrayOf(Si)}).isRequired,value:en.a.string.isRequired,onChange:en.a.func.isRequired},Ci.defaultProps={className:"",addFontLabel:Object(w.a)("Add New Font")};class xi extends i.PureComponent{constructor(...e){super(...e),Object(r.a)(this,"onFontFamily",e=>this.props.onChange(e,{isChanged:"fontFamily"})),Object(r.a)(this,"onFontStyle",e=>this.props.onChange(e,{isChanged:"fontStyle"})),Object(r.a)(this,"onFontSize",e=>this.props.onChange(e,{isChanged:"fontSize"})),Object(r.a)(this,"onFontWeight",e=>this.props.onChange(e,{isChanged:"fontWeight"})),Object(r.a)(this,"onLineHeight",e=>this.props.onChange(e,{isChanged:"lineHeight"})),Object(r.a)(this,"onLetterSpacing",e=>this.props.onChange(e,{isChanged:"letterSpacing"}))}render(){const e=this.props,t=s()("brz-ed-control__typography",e.className);return l.a.createElement("div",{className:t},e.fontFamily&&l.a.createElement(Ci,{onChange:this.onFontFamily,value:e.font,fonts:e.fonts,addFont:e.fontAdd,addFontLabel:e.fontAddLabel}),l.a.createElement("div",{className:"brz-ed-control__typography-styles"},l.a.createElement("div",{className:"brz-ed__col brz-ed__col-1-1"},l.a.createElement(yi,null,e.styleLabel),l.a.createElement(vi,{styles:e.styles,openSettings:e.styleOpenSettings,onChange:this.onFontStyle,value:e.style})),l.a.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},l.a.createElement(yi,null,e.sizeLabel),l.a.createElement(bn,{min:e.sizeMin,max:e.sizeMax,step:e.sizeStep,value:e.size,onChange:this.onFontSize})),l.a.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},l.a.createElement(yi,null,e.weightLabel),l.a.createElement(rt.a,{className:"brz-control__select--dark",defaultValue:e.weight,itemHeight:30,onChange:this.onFontWeight},e.weights.map(({value:t,title:o})=>l.a.createElement(ct.a,{key:t,value:t,title:o,active:t===e.weight},o)))),l.a.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},l.a.createElement(yi,null,e.lineHeightLabel),l.a.createElement(bn,{min:e.lineHeightMin,max:e.lineHeightMax,step:e.lineHeightStep,value:e.lineHeight,onChange:this.onLineHeight})),l.a.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},l.a.createElement(yi,null,e.letterSpacingLabel),l.a.createElement(bn,{min:e.letterSpacingMin,max:e.letterSpacingMax,step:e.letterSpacingStep,value:e.letterSpacing,onChange:this.onLetterSpacing}))))}}xi.propTypes={className:en.a.string,onChange:en.a.func.isRequired,fontFamily:en.a.bool,fonts:Ci.propTypes.fonts,font:en.a.string.isRequired,fontAdd:Ci.propTypes.addFont,fontAddLabel:Ci.propTypes.addFontLabel,styles:vi.propTypes.styles,style:en.a.string.isRequired,styleLabel:vi.propTypes.label,styleOpenSettings:vi.propTypes.openSettings,size:en.a.number.isRequired,sizeMin:en.a.number,sizeMax:en.a.number,sizeStep:en.a.number,sizeLabel:en.a.string,weights:en.a.arrayOf(en.a.shape({value:en.a.number,title:en.a.string})).isRequired,weight:en.a.number.isRequired,weightLabel:en.a.string,lineHeight:en.a.number.isRequired,lineHeightMin:en.a.number,lineHeightMax:en.a.number,lineHeightStep:en.a.number,lineHeightLabel:en.a.string,letterSpacing:en.a.number.isRequired,letterSpacingMin:en.a.number,letterSpacingMax:en.a.number,letterSpacingStep:en.a.number,letterSpacingLabel:en.a.string},xi.defaultProps={className:"",styleLabel:Object(w.a)("Typography"),sizeLabel:Object(w.a)("Size"),weightLabel:Object(w.a)("Weight"),lineHeightLabel:Object(w.a)("Line Hgt."),letterSpacingLabel:Object(w.a)("Letter Sp."),fontFamily:!0,sizeMin:0,sizeMax:100,sizeStep:1,lineHeightMin:1,lineHeightMax:10,lineHeightStep:.1,letterSpacingMin:-20,letterSpacingMax:20,letterSpacingStep:.5};const ji=["google","upload"],Bi=(e,t)=>ji.includes(e)?e:t;var Pi=o(66);function wi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ti(e,t,o){return(n,a)=>{if(void 0!==e(n)&&t(a)!==n)return o(n,a)}}function zi(e,t){const o=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?wi(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):wi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t);return Object(xn.f)(e).reduce((e,[t,n])=>Object.assign(e,t(n,Object.assign(o,e))),{})}const ki=e=>(t,o)=>pa([[da,e,t],[Ni,""]],o),Ei=e=>(t,o)=>zi([[()=>({fontSize:o.fontSize,fontWeight:o.fontWeight,letterSpacing:o.letterSpacing,lineHeight:o.lineHeight,[e]:t})],[Ni,""]],o),Hi=e=>(t,o)=>zi([[()=>({fontFamily:o.fontFamily,fontFamilyType:o.fontFamilyType,[e]:t})],[Ni,""]],o),_i=(e,t)=>Rt.f(sa("fontFamily",e),t),Ri=Ti(Rt.f,_i,Hi("fontFamily")),Mi=(ua(Rt.f,_i,ki("fontFamily")),(e,t)=>Bi(sa("fontFamilyType",e),t)),Ii=Ti(Bi,Mi,Hi("fontFamilyType")),Fi=(ua(Bi,Mi,ki("fontFamilyType")),(e,t)=>Rt.h(sa("fontStyle",e),t)),Ni=ua(Rt.h,Fi,da.bind(null,"fontStyle")),Li=Ti(Rt.h,Fi,e=>({fontStyle:e})),Wi=(e,t)=>ro.g(sa("fontSize",e),t),Vi=Ti(ro.g,Wi,Ei("fontSize")),Di=(ua(ro.g,Wi,ki("fontSize")),(e,t)=>Pi.k(sa("fontWeight",e),t)),Ai=Ti(Pi.k,Di,Ei("fontWeight")),Gi=(ua(Pi.k,Di,ki("fontWeight")),(e,t)=>Object(ro.f)(sa("letterSpacing",e),t)),Ui=Ti(ro.f,Gi,Ei("letterSpacing")),Ki=(ua(ro.f,Gi,ki("letterSpacing")),(e,t)=>ro.g(sa("lineHeight",e),t)),qi=Ti(ro.g,Ki,Ei("lineHeight"));ua(ro.g,Ki,ki("lineHeight"));var Yi=o(3);const Xi=e=>({fontFamily:Rt.h(e("fontFamily"),""),fontFamilyType:Bi(e("fontFamilyType"),"google"),fontStyle:Rt.h(e("fontStyle"),""),fontSize:ro.g(e("fontSize"),17),fontWeight:Pi.k(e("fontWeight"),Pi.j),letterSpacing:Object(ro.f)(e("letterSpacing"),0),lineHeight:ro.g(e("lineHeight"),1)}),Zi=e=>{const t=Object(St.e)(e.fontStyle)||e,o=Object(b.c)(Object(p.b)().getState());return Xi(n=>"fontStyle"===n?e.fontStyle:Object(Yi.defaultValueValue)({key:n,v:t,device:o}))},Ji=({id:e,type:t,weights:o},n)=>{const a=o.includes(Di(n))?void 0:Pi.j;return zi([[Ri,e],[Ii,t],[Ai,a]],n)},$i=()=>{Ct.a.set("prompt",{prompt:"fonts"})},Qi=()=>{Object(p.b)().dispatch(Object(u.c)("leftSidebar",{isOpen:!0,drawerContentType:"styling"}))};class el extends i.PureComponent{constructor(...e){super(...e),Object(r.a)(this,"onChange",(e,t={})=>{let o;const n="fontStyle"===t.isChanged?this.props.value:Zi(this.props.value);switch(t.isChanged){case"fontFamily":o=Ji(e,n);break;case"fontStyle":o=Li(e,n);break;case"fontSize":o=Vi(e,n);break;case"fontWeight":o=Ai(e,n);break;case"letterSpacing":o=Ui(e,n);break;case"lineHeight":o=qi(e,n)}this.props.onChange(o,t)})}render(){const e=this.props,t=Zi(this.props.value),o=[{id:"",title:Object(w.a)("Custom")},...Object(St.f)()],n=Object(St.n)({type:t.fontFamilyType,family:t.fontFamily});return l.a.createElement(xi,{onChange:this.onChange,fontFamily:ol(e.config,"fontFamily"),fonts:e.fonts,font:t.fontFamily,fontAdd:"admin"===Object(Ot.b)()?$i:void 0,fontAddLabel:Object(w.a)("Add New Font"),styles:o,style:t.fontStyle,styleOpenSettings:Qi,size:t.fontSize,weights:n,weight:t.fontWeight,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing})}}el.getModel=Xi;const tl=en.a.shape({id:en.a.string,family:en.a.string,title:en.a.string,size:en.a.string});el.propTypes={value:en.a.shape({fontFamily:en.a.string,fontFamilyType:en.a.oneOf(ji),fontStyle:en.a.string,fontSize:en.a.number,fontWeight:en.a.oneOf(Pi.l),letterSpacing:en.a.number,lineHeight:en.a.number}).isRequired,fonts:en.a.shape({config:en.a.arrayOf(tl),blocks:en.a.arrayOf(tl),google:en.a.arrayOf(tl),upload:en.a.arrayOf(tl)}),onChange:en.a.func.isRequired,config:en.a.shape({fontFamily:en.a.bool})},el.defaultProps={config:{fontFamily:!0}};const ol=Hr.bind(null,el.defaultProps.config),nl=Object(S.b)(e=>({fonts:Object.entries(Object(b.E)(e)).reduce((e,[t,{data:o}])=>(e[t]=o.map(St.b[t]),e),{}),defaultFont:Object(b.t)(e).data.font}),null)(el);function al(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function rl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?al(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):al(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const il=ua(Rt.h,(e,t)=>Rt.f(e.extension,t),(e,t)=>rl({},t,{extension:e})),ll=ua(Rt.h,(e,t)=>Rt.f(e.src,t),(e,t)=>rl({},t,{src:e})),cl=ua(ro.e,(e,t)=>ro.e(e.width,t),(e,t)=>rl({},t,{width:e})),sl=ua(ro.e,(e,t)=>ro.e(e.height,t),(e,t)=>rl({},t,{height:e})),dl=ua(ro.e,(e,t)=>ro.e(e.x,t),(e,t)=>rl({},t,{x:e})),pl=ua(ro.e,(e,t)=>ro.e(e.y,t),(e,t)=>rl({},t,{y:e})),ul=({onChange:e,value:t,config:o})=>{const n=s()("brz-ed-option__focal-point","brz-ed-option__inline");return l.a.createElement(qt.a,{className:n,onlyPointer:!(null==o?void 0:o.edit),showPointer:"svg"!==t.extension&&(null==o?void 0:o.pointer),x:t.x,y:t.y,width:t.width,height:t.height,src:t.src,onChange:(o,n)=>{switch(n.isChanged){case"image":{const n=((e,t)=>{const o=zi([[ll,e.src],[il,e.extension],[cl,e.width],[sl,e.height]],t);return o?{imageSrc:o.src,imageExtension:o.extension,imageWidth:o.width,imageHeight:o.height}:void 0})(o,t);n&&e(n)}break;case"pointer":{const n=((e,t)=>{const o=function(e,t){return e.reduce((e,[t,o])=>t&&t(o,e)||e,t)}([[dl,e.x],[pl,e.y]],t);return o?{positionX:o.x,positionY:o.y}:void 0})(o,t);n&&e(n)}}}})};ul.getModel=e=>({src:Rt.h(e("imageSrc"))||"",extension:Rt.h(e("imageExtension"))||"",width:Object(n.e)(ro.e(e("imageWidth")),0),height:Object(n.e)(ro.e(e("imageHeight")),0),x:Object(n.e)(ro.e(e("positionX")),50),y:Object(n.e)(ro.e(e("positionY")),50)}),ul.defaultProps={className:"",config:{pointer:!0,edit:!0}};const bl=e=>{if("object"==typeof e){const t=Yt.a.read(a("population",e));return void 0===t?void 0:{population:t}}if("string"==typeof e)return{population:e}},hl={population:""},ml=(e,t)=>Yt.a.eq(e.population,t.population),gl=({config:e,value:t=hl,onChange:o,options:n=[],className:a})=>{let r;const i=(null==e?void 0:e.choices)||[],c=e=>{o(bl(e)||hl)},d=()=>n.map((e,t)=>l.a.createElement(vo.a,{key:t,data:e,className:s()(e.className,"brz-ed-option-population")})),p=s()(a,"brz-ed-option-population",{"brz-control__select-population--only-icon":!!(null==e?void 0:e.iconOnly)});if(ml(t,hl))r=d();else{const o=i.find(e=>e.value===t.population);r=o?(null==e?void 0:e.iconOnly)?null:l.a.createElement(Xt,{value:o.title,onChange:c}):d()}return l.a.createElement("div",{className:"brz-ed-control__population"},r,i.length>0?l.a.createElement(Zt,{className:p,choices:i,value:t.population,onChange:c}):null)};gl.getModel=e=>({population:Yt.a.read(e("population"))||""}),gl.shouldOptionBeFiltered=({config:e})=>{var t;return!!(null==e?void 0:e.iconOnly)&&0===(null!==(t=null==e?void 0:e.choices)&&void 0!==t?t:[]).length};const vl=({className:e,onChange:t,value:{value:o},config:n={},placeholder:a})=>{var r;const[c,s]=Object(i.useState)(o);return wa(()=>{o!==c&&t({value:c})},1e3,[c]),l.a.createElement(Pa,{className:e,onChange:s,value:c,size:null!==(r=n.size)&&void 0!==r?r:"large",placeholder:a})};vl.getModel=e=>({value:Yt.a.read(e("value"))||""});const yl=({placeholder:e,choices:t,value:o=[],onChange:n,config:a})=>{var r,i;return l.a.createElement(Ka,{placeholder:e,size:null!==(r=null==a?void 0:a.size)&&void 0!==r?r:"medium",value:o,editable:null===(i=null==a?void 0:a.search)||void 0===i||i,onChange:e=>{const t=(null==a?void 0:a.items)||999;n({value:JSON.stringify(Object(O.take)(e,t))})}},Za(e=>e.map(({value:e,title:t,icon:o},n)=>l.a.createElement(Ma,{key:n,value:e},o&&l.a.createElement(d.b,{icon:o,className:"brz--space-right"}),t)),null!=t?t:[]))};yl.getModel=e=>{let t;try{var o;t=JSON.parse(null!==(o=Yt.a.read(e("value")))&&void 0!==o?o:"")}catch(e){t=[]}return Array.isArray(t)&&t.length?t.reduce((e,t)=>{const o=Xa(t);return o&&e.push(o),e},[]):[]};const fl=({onChange:e,config:t,value:o,placeholder:n,choices:a})=>{var r;return l.a.createElement(Ja,{onChange:t=>e({value:t}),placeholder:n,size:null==t?void 0:t.size,value:o,editable:null!==(r=null==t?void 0:t.search)&&void 0!==r&&r},Za(e=>e.map(({value:e,title:t,icon:o},n)=>l.a.createElement(Ma,{key:n,value:e},o&&l.a.createElement(d.b,{icon:o,className:"brz--space-right"}),t)),a))};function Ol({className:e,value:t,onChange:o}){const n=s()({[e||""]:!0,"brz-ed-control__switch2":!0,"brz-ed-control__switch2--on":t});return l.a.createElement("div",{className:n,onClick:()=>o(!t)},l.a.createElement("label",{className:"brz-label brz-ed-control__switch2-label"},l.a.createElement("span",{className:"brz-span brz-ed-control__switch2-arrows"},l.a.createElement(d.b,{className:"brz-ed-control__switch2--check",icon:"nc-check-small"}),l.a.createElement(d.b,{className:"brz-icon-svg brz-ed-control__switch2--un-check",icon:"nc-remove"}),l.a.createElement("span",{className:"brz-span brz-ed-control__switch2--handle"}))))}fl.getModel=e=>qa(e("value"))||"";const Cl=({onChange:e,config:t,className:o,value:n})=>{var a,r;const i=null!==(a=null==t?void 0:t.on)&&void 0!==a?a:"on",c=null!==(r=null==t?void 0:t.off)&&void 0!==r?r:"off";return l.a.createElement(Ol,{className:o,value:n===i,onChange:t=>e({value:t?i:c})})};Cl.getModel=e=>{var t;return null!==(t=qa(e("value")))&&void 0!==t?t:""};const Sl=e=>e.target.value,xl=({value:e,onChange:t,className:o,min:a,max:r,step:c})=>{const d=Object(i.useCallback)(Object(n.b)(e=>t(e,{editing:!0}),oa.b,Sl),[t]),p=Object(i.useCallback)(Object(n.b)(e=>t(e,{editing:!1}),oa.b,Sl),[t]);return l.a.createElement("input",{className:s()("brz-ed-control--slider2",o),type:"range",value:e,min:a,max:r,step:c,onChange:d,onMouseUp:p})},jl=({value:{number:e,unit:t},onChange:o,className:n,min:a=-99999,max:r=99999,step:i,units:c})=>{const d=n=>{n!==t&&o({number:e,unit:n})};return l.a.createElement("div",{className:s()("brz-ed-control__number-unit",n)},l.a.createElement("div",{className:"brz-ed-control__number-unit__input"},l.a.createElement("div",{className:"brz-invisible"},e),l.a.createElement(ho,{className:"brz-input",value:e,onChange:n=>{n!==e&&o({number:n,unit:t})},min:a,max:r,step:i})),c.map(({value:e,title:o},n)=>{const a=s()({"brz-ed-control__number-unit__unit":!0,"brz-ed-control__number-unit__unit--active":c.length>1&&e===t});return l.a.createElement("div",{key:n,className:a,onClick:d.bind(null,e)},o)}))},Bl=({value:{number:e,unit:t=""},onChange:o,className:n,min:a,max:r,inputMin:c,inputMax:d,step:p,units:u})=>{const b=Object(i.useCallback)((e,n)=>o({number:e,unit:t},n),[o]),h=Object(i.useCallback)(e=>o(e,{editing:!1}),[o]);return l.a.createElement("div",{className:s()("brz-ed__control--number-slider",n)},l.a.createElement(xl,{value:e,onChange:b,step:p,min:a,max:r}),l.a.createElement(jl,{units:u,step:p,min:c?Math.min(a,c):void 0,max:d?Math.max(r,d):void 0,value:{number:e,unit:t},onChange:h}))},Pl=({className:e,onChange:t,value:o,config:n={}})=>{var a,r,c,s,d,p;const u=null!==(a=n.debounceUpdate)&&void 0!==a&&a,[b,h]=Object(i.useState)(o),[m,g]=Object(i.useState)(!1),v=Object(i.useCallback)((e,t)=>{h(e),g(t.editing)},[h,g]);return function(e,t,o){const{current:n}=Object(i.useRef)({f:e});Object(i.useEffect)(()=>{n.f=e,void 0===n.t&&(n.t=setTimeout(()=>{n.f(),n.t=void 0},t))},o)}(()=>{((e,t)=>e.number===t.number&&e.unit===t.unit)(o,b)||u&&m||t((e=>({value:e.number,suffix:e.unit}))(b))},Math.max(0,null!==(r=null==n?void 0:n.updateRate)&&void 0!==r?r:16),[b]),l.a.createElement(Bl,{className:e,min:null!==(c=n.min)&&void 0!==c?c:0,max:null!==(s=n.max)&&void 0!==s?s:100,inputMin:null==n?void 0:n.inputMin,inputMax:null==n?void 0:n.inputMax,step:null!==(d=n.step)&&void 0!==d?d:1,value:b,onChange:v,units:null!==(p=n.units)&&void 0!==p?p:[]})};Pl.getModel=e=>{var t,o;return{number:null!==(t=oa.a.read(e("value")))&&void 0!==t?t:0,unit:null!==(o=Yt.a.read(e("suffix")))&&void 0!==o?o:""}};const wl=({className:e,choices:t,value:o,onChange:n})=>{const a=s()("brz-ed-option__toggle",e);return t.length?l.a.createElement(jn,{value:o,onChange:e=>n({value:e}),className:a},t.map(({icon:e,value:t,title:o},n)=>l.a.createElement(Pn,{key:n,value:t,icon:e,title:o}))):null};wl.getModel=e=>{var t;return null!==(t=qa(e("value")))&&void 0!==t?t:""};const Tl=({className:e,title:t,size:o,placement:n,onOpen:a,onClose:r,children:i,trigger:c,toolbar:d})=>{const p=s()("brz-ed-popover",e),u=l.a.createElement("div",{className:"brz-d-xs-flex brz-flex-xs-wrap"},i);return l.a.createElement("div",{className:p},l.a.createElement(V.a,{className:"brz-ed-popover__tooltip",placement:n,overlay:u,title:t,size:o,onOpen:a,onClose:r,openOnClick:!0,toolbar:d},c))},zl=e=>{let{className:t,content:o}=e,n=Object(Re.a)(e,["className","content"]);const a=s()("brz-ed-popover__tooltip--icon-custom",t);return l.a.createElement("div",Object(y.a)({},n,{className:a,dangerouslySetInnerHTML:{__html:null!=o?o:""}}))},kl=({icon:e})=>l.a.createElement(d.b,{icon:e}),El=e=>{switch(typeof e){case"object":return l.a.createElement(zl,e);case"string":return l.a.createElement(kl,{icon:e})}},Hl=({className:e,config:t,options:o,toolbar:n})=>{var a,r,i;return l.a.createElement(Tl,{title:null==t?void 0:t.title,trigger:El(null!==(a=null==t?void 0:t.icon)&&void 0!==a?a:"nc-cog"),className:e,placement:null!==(r=null==t?void 0:t.placement)&&void 0!==r?r:"top-center",size:null!==(i=null==t?void 0:t.size)&&void 0!==i?i:"medium",toolbar:n},l.a.createElement(Dt.a,{className:"brz-ed-popover__options",optionClassName:"brz-ed-popover__option",data:o,toolbar:n}))};Hl.getModel=()=>void 0,Hl.shouldOptionBeFiltered=({options:e})=>0===Object(Dt.b)(null!=e?e:[]).length;const _l=({className:e,active:t,onChange:o,align:n,position:a,children:r})=>{const c=s()("brz-ul brz-ed-control__tabs","brz-justify-content-xs-".concat(n),"brz-ed-control__tabs__".concat(a),e),p=r.map((e,n)=>{const{icon:a,value:r,title:c,label:p}=e.props,u=s()("brz-li brz-ed-control__tab",{"brz-ed-control__tab__icon":a,active:t===r});return l.a.createElement("li",{key:n,title:c,className:u,onClick:Object(i.useCallback)(()=>o(r),[r])},a&&l.a.createElement(d.b,{icon:a}),l.a.createElement("span",{className:"brz-span"},p))});return l.a.createElement("ul",{className:c},p)},Rl=({className:e,showSingle:t,children:o,value:n,onChange:a,align:r,position:c})=>{var d;const p=s()("brz-ed-control__tabs-wrapper",e),u=i.Children.toArray(o);if(0===u.length)return null;const b=u.length>1||t&&1===u.length,h=null!==(d=u.find(e=>e.props.value===n))&&void 0!==d?d:u[0],m=l.a.createElement("div",{className:s()("brz-ed-control__tab__content","brz-ed-control__tabs__content__".concat(c),h.props.className)},h.props.children);return b?l.a.createElement("div",{className:p},l.a.createElement(_l,{active:h.props.value,align:r,position:c,onChange:a},u),m):m},Ml=({children:e})=>l.a.createElement(l.a.Fragment,null,e),Il=({tabs:e,onChange:t,value:o,config:n,toolbar:a,className:r})=>{var c,d,p;const[u,b]=Object(i.useState)(o),h=null!==(c=null==n?void 0:n.position)&&void 0!==c?c:"top",m=null!==(d=null==n?void 0:n.align)&&void 0!==d?d:"center",g=Object(i.useCallback)(b,[o]);return Object(i.useEffect)(()=>{(null==n?void 0:n.saveTab)&&t({value:u})},[u]),l.a.createElement(Rl,{align:m,value:u,onChange:g,position:h,showSingle:null!==(p=null==n?void 0:n.showSingle)&&void 0!==p&&p,className:s()("brz-ed-tabs__option--inline",r)},e.filter(e=>Object(Dt.b)(e.options).length>0).map(({id:e,title:t,label:o,options:n,className:r})=>l.a.createElement(Ml,{key:e,value:e,title:t,label:o,className:r},l.a.createElement(Dt.a,{className:"brz-ed-tabs__options",optionClassName:"brz-ed-tabs__option",data:n,toolbar:a}))))};Il.getModel=e=>{var t;return null!==(t=qa(e("value")))&&void 0!==t?t:""},Il.shouldOptionBeFiltered=({tabs:e=[]})=>e.every(e=>{var t;return 0===Object(Dt.b)(null!==(t=null==e?void 0:e.options)&&void 0!==t?t:[]).length});const Fl=({className:e="",value:t,onChange:o,size:a="auto",placeholder:r="",rows:c=5})=>{const d=s()("brz-ed-control__textarea2",e,"".concat("brz-ed-control__textarea2","--").concat(a)),p=Object(i.useCallback)(Object(n.b)(o,Sl),[t]);return l.a.createElement("textarea",{rows:c,className:d,value:t,placeholder:r,onChange:p})},Nl=({className:e,onChange:t,value:{value:o},config:n={},placeholder:a})=>{var r;const[c,s]=Object(i.useState)(o);return wa(()=>{o!==c&&t({value:c})},1e3,[c]),l.a.createElement(Fl,{className:e,onChange:s,value:c,size:null!==(r=n.size)&&void 0!==r?r:"auto",placeholder:a,rows:n.lines})};Nl.getModel=e=>({value:Yt.a.read(e("value"))||""});const Ll=o(230);class Wl extends i.Component{constructor(e){super(e),Object(r.a)(this,"onChange",e=>this.setState({value:e},this.update)),Object(r.a)(this,"update",()=>this.props.onChange(this.state.value)),this.state={value:e.value},o(232),o(249)("./".concat(e.language,"/").concat(e.language))}componentDidUpdate(e){const t=this.props.language;e.language!==t&&o(249)("./".concat(t,"/").concat(t))}render(){return Ll&&l.a.createElement(Ll,{className:s()("brz-ed-control__codeMirror",this.props.className),value:this.state.value,onChange:this.onChange,options:{tabSize:2,placeholder:this.props.placeholder,mode:this.props.language}})}}const Vl=({className:e,onChange:t,value:{value:o},config:n={},placeholder:a})=>{var r;const[c,s]=Object(i.useState)(o);return wa(()=>{o!==c&&t({value:c})},1e3,[c]),l.a.createElement(Wl,{className:e,onChange:s,value:c,language:null!==(r=n.language)&&void 0!==r?r:"css",placeholder:a})};Vl.getModel=e=>({value:Yt.a.read(e("value"))||""}),o.d(t,"c",(function(){return Dl})),o.d(t,"b",(function(){return Al}));const Dl={advancedSettings:v,blockThumbnail:R,button:I,buttonTooltip:W,codeMirror:G,"codeMirror-dev":Vl,colorFields:$,colorPaletteEditor:le,colorPalette:te,colorPalette2:ne,colorPicker:_e,"colorPicker-dev":Ha,"boxShadow-dev":Mr,"border-dev":mi,colorPicker2:ft,fontFamily:Pt,fontStyle:zt,fontStyleEditor:Lt,formApps:Vt,grid:Kt,imageSetter:eo,"imageUpload-dev":ul,iconSetter:ao,multiInput:go,multiInputPicker:wo,multiPicker:fo,"multiSelect-dev":yl,input:Ho,"inputText-dev":vl,textarea:Ro,"textarea-dev":Nl,popover:Io,"popover-dev":Hl,"population-dev":gl,popupConditions:Lo,promptAddPopup:Ko,promptIcon:Yo,radioGroup:$o,checkGroup:an,select:Tt,"select-dev":fl,slider:un,"slider-dev":Pl,stepper:mn,switch:yn,"switch-dev":Cl,tabs:Sn,"tabs-dev":Il,toggle:zn,"toggle-dev":wl,"typography-dev":nl,inputNumber:En,range:In,range2:gt,integrationsApps:Nn,fileUpload:Ln.a,stateMode:Yn},Al=e=>(function(e,t,o){return Object(n.e)(a(t,o),e)})(()=>({}),"getModel",Dl[e]);t.a=Dl},,function(e,t,o){"use strict";o.d(t,"b",(function(){return h}));var n=o(2),a=o(0),r=o.n(a),i=o(7),l=o.n(i),c=o(4),s=o.n(c),d=o(6),p=o.n(d),u=o(169);function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}o.d(t,"a",(function(){return u.a}));class h extends r.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleChange",e=>{const{defaultValue:t,onChange:o}=this.props;o(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{[e]:!t[e]}))})}renderOptions(){const{defaultValue:e,children:t}=this.props;return r.a.Children.map(t,(t,o)=>r.a.cloneElement(t,{key:o,active:Boolean(e[t.props.value]),onClick:t.props.disabled?null:()=>this.handleChange(t.props.value)}))}render(){const e=p()("brz-control__check-group",this.props.className);return r.a.createElement("div",{className:e},this.renderOptions())}}Object(n.a)(h,"propTypes",{name:s.a.string,className:s.a.string,defaultValue:s.a.object,onChange:s.a.func}),Object(n.a)(h,"defaultProps",{name:"defaultName",className:"",defaultValue:{},onChange:l.a.noop})},function(e,t,o){"use strict";var n=o(2),a=o(0),r=o.n(a),i=o(31),l=o(6),c=o.n(l),s=o(52),d=o(10),p=o(75);function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const h={left:{exited:{transform:"translate3d(-100%, 0, 0)"},entering:{transform:"translate3d(-100%, 0, 0)"},entered:{transform:"translate3d(0, 0, 0)"}},right:{exited:{transform:"translate3d(100%, 0, 0)"},entering:{transform:"translate3d(100%, 0, 0)"},entered:{transform:"translate3d(0, 0, 0)"}}},m=({className:e,alignment:t,play:o,children:n})=>r.a.createElement(p.Transition,{in:o,timeout:150},a=>r.a.createElement("div",{className:c()(e,{active:o}),style:b({transition:"transform ".concat(150,"ms linear")},h[t][a])},n));var g=o(58),v=o.n(g);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const O=({style:e})=>r.a.createElement("div",{style:f({},e,{borderRadius:"inherit",backgroundColor:"#3f4652"})}),C=({children:e})=>r.a.createElement(v.a,{renderThumbHorizontal:O,renderThumbVertical:O},e);var S=o(16),x=o(43),j=o(70),B=o(1);function P(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function w(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?P(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):P(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}let T;o.d(t,"b",(function(){return T})),o.d(t,"a",(function(){return k}));class z extends r.a.Component{constructor(...e){super(...e),Object(n.a)(this,"getItems",void 0),Object(n.a)(this,"getTitle",void 0),Object(n.a)(this,"clearItemsTimeoutId",0),Object(n.a)(this,"unmounted",!1),Object(n.a)(this,"onAlignmentClick",()=>{const{isOpen:e,lock:t,alignment:o}=this.props,n={alignment:"left"===o?"right":"left",lock:t,isOpen:e};this.props.dispatch(Object(x.c)("rightSidebar",n))}),Object(n.a)(this,"onLockClick",()=>{const{isOpen:e,lock:t,alignment:o}=this.props,n=void 0!==this.getItems?Object(s.b)(this.getItems()):void 0,a={alignment:o,lock:"manual"===t?void 0:"manual",isOpen:(void 0===t||void 0!==n&&0!==n.length)&&e};this.props.dispatch(Object(x.c)("rightSidebar",a))}),Object(n.a)(this,"renderScrollbarsThumb",({style:e})=>r.a.createElement("div",{style:w({},e,{borderRadius:"inherit",backgroundColor:"#3f4652"})}))}componentDidMount(){T=this}componentDidUpdate(e){e.deviceMode!==this.props.deviceMode&&(this.getItems=void 0,this.getTitle=void 0)}componentWillUnmount(){this.unmounted=!0,T=void 0}setItems(e,t){window.clearTimeout(this.clearItemsTimeoutId),this.getItems=e,this.getTitle=t,this.props.isOpen&&this.forceUpdate()}clearItems(){const{lock:e,alignment:t,dispatch:o}=this.props;if(e)this.clearItemsTimeoutId=window.setTimeout(()=>{this.getItems=void 0,this.getTitle=void 0,this.forceUpdate()},150);else{const n={isOpen:!1,lock:e,alignment:t};o(Object(x.c)("rightSidebar",n))}}renderEmpty(){return r.a.createElement("div",{className:"brz-ed-sidebar__right__empty"},r.a.createElement(d.b,{icon:"nc-settings",className:"brz-ed-sidebar__right__empty-icon"}),r.a.createElement("div",{className:"brz-ed-sidebar__right__empty-text"},Object(B.a)("Select an element on the page to display more settings")))}renderItems(e){return r.a.createElement("div",{className:"brz-ed-sidebar__main brz-ed-sidebar__right__options"},r.a.createElement(C,null,r.a.createElement(s.a,{className:"brz-ed-sidebar__right__tabs",optionClassName:"brz-ed-sidebar__right__option",data:e,location:"rightSidebar"})))}render(){var e;const{isOpen:t,lock:o,alignment:n,deviceMode:a}=this.props,i=c()("brz-ed-sidebar","brz-ed-sidebar__right",{"brz-ed-sidebar__right--align-right":"right"===n,"brz-ed-sidebar__right--align-left":"left"===n}),l=(null===(e=this.getTitle)||void 0===e?void 0:e.call(this))||Object(B.a)("More Settings"),p=void 0!==this.getItems?Object(s.b)(this.getItems()):void 0,u=p?this.renderItems(p):this.renderEmpty();return r.a.createElement("div",{className:i},r.a.createElement(m,{className:"brz-ed-sidebar__content",alignment:n,play:t},r.a.createElement("div",{className:"brz-ed-sidebar__header"},r.a.createElement("h1",{className:"brz-h1 brz-ed-sidebar__header__title"},l),r.a.createElement("div",{className:"brz-ed-sidebar__right__header-icons"},r.a.createElement("div",{className:"brz-ed-sidebar__right__header-icon"},r.a.createElement(d.b,{icon:"left"===n?"nc-hrz-align-left":"nc-hrz-align-right",onClick:this.onAlignmentClick}),r.a.createElement("div",{className:"brz-ed-sidebar__add-elements__tooltip brz-ed-sidebar__right__icon-tooltip"},"left"===n?Object(B.a)("Aligned Left"):Object(B.a)("Aligned Right"))),a===j.a&&r.a.createElement("div",{className:"brz-ed-sidebar__right__header-icon"},r.a.createElement(d.b,{icon:void 0!==o?"nc-lock":"nc-unlock",onClick:this.onLockClick}),r.a.createElement("div",{className:"brz-ed-sidebar__add-elements__tooltip brz-ed-sidebar__right__icon-tooltip"},void 0!==o?Object(B.a)("Locked"):Object(B.a)("Unlocked"))))),u))}}Object(n.a)(z,"defaultProps",{isOpen:!1,lock:void 0,alignment:"right",deviceMode:"desktop",dispatch:e=>e});const k=Object(i.b)(e=>{const{isOpen:t,lock:o,alignment:n}=Object(S.D)(e).rightSidebar;return{isOpen:t,lock:o,alignment:n,deviceMode:Object(S.c)(e)}})(z)},,,,,,,,,,,,,,function(e,t,o){"use strict";(function(e){o.d(t,"a",(function(){return h}));var n=o(2),a=o(0),r=o.n(a),i=o(6),l=o.n(i),c=o(13),s=o(466),d=o(10),p=o(27),u=o(30);const{pageAttachments:b}=c.a.get("wp");class h extends s.a{constructor(...t){super(...t),Object(n.a)(this,"wpMediaFrame",null),Object(n.a)(this,"handleWpImageChange",()=>{const{onlyPointer:t}=this.props;if(t)return;const o=e.wp||e.parent.wp;if(!o)throw new Error("Could not find WordPress on global object (window.wp)");if(!o.media)throw new Error("Could not find WordPress media object (window.wp.media). Make sure the WordPress media script is enqueued.");this.wpMediaFrame||(this.wpMediaFrame=o.media({library:{type:"image"},states:new o.media.controller.Library({library:o.media.query({type:"image"}),multiple:!1,title:"Upload media",filterable:"uploaded",priority:20})}),this.wpMediaFrame.on("select",()=>{const e=this.wpMediaFrame.state().get("selection").first();Object(p.m)(e.get("id")).then(t=>{const{x:o,y:n}=this.props;b.images[t.uid]=!0;const{url:a}=e.toJSON();Object(u.e)(a).then(({width:e,height:r})=>{const i={x:o,y:n,src:t.uid,width:e,height:r,extension:Object(u.a)(a)};this.mounted&&this.setState(i),this.props.onChange(i,{isChanged:"image"})})}).catch(e=>{console.error("failed to get attachment uid",e)})})),this.wpMediaFrame.open()})}componentWillUnmount(){super.componentWillUnmount&&super.componentWillUnmount(),this.wpMediaFrame&&(this.wpMediaFrame.detach(),this.wpMediaFrame=null)}renderUpload(){const{onlyPointer:e,onUpload:t}=this.props,{loading:o}=this.state,n=l()("brz-label brz-ed-control__focal-point__label",{"brz-ed-control__focal-point__label--disable":e}),a="function"==typeof t;return r.a.createElement("label",{className:n},o?r.a.createElement("div",{className:"brz-ed-control__focal-point__upload brz-ed-control__focal-point__upload--loading"},r.a.createElement(d.b,{icon:"nc-bars"})):r.a.createElement("div",{className:"brz-ed-control__focal-point__upload",onClick:a?t:this.handleWpImageChange},r.a.createElement(d.b,{icon:"nc-upload"})))}}}).call(this,o(67))},,,,function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));let n=new Map},function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));let n=new Map},,,,,,,,function(e,t,o){"use strict";o.d(t,"a",(function(){return a})),o.d(t,"b",(function(){return r}));let n="above";const a=()=>n,r=e=>{n=e}},,,,,,,,,,,,,,,function(e,t,o){"use strict";o.d(t,"a",(function(){return a}));const n=["_id","_thumbnailSrc","_thumbnailWidth","_thumbnailHeight","_thumbnailTime"];function a(e,{exclude:t=[]}={}){const o=n.filter(e=>!t.includes(e));return JSON.parse(JSON.stringify(e,(e,t)=>{if(!o.includes(e))return t}))}},function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var n=o(164),a=o(25),r=o(22);const i=(e,t,o)=>{const i=Object(n.a)(o),l=Object(a.k)(i);return Object(r.insert)(e,t,l)}},function(e,t,o){"use strict";function n(e){if(!e)return"";var t=[];for(var o in e)t.push(o+"="+encodeURIComponent(e[o]));return t.join("&")}o.d(t,"a",(function(){return n}))},,,function(e,t,o){"use strict";o.d(t,"a",(function(){return b}));var n=o(2),a=o(0),r=o.n(a),i=o(4),l=o.n(i),c=o(7),s=o.n(c),d=o(6),p=o.n(d),u=o(39);class b extends a.Component{renderForEdit(){const{className:e,name:t,active:o,value:n,children:a,renderIcons:i,onClick:l}=this.props,c=p()("brz-control__check-group-option",{active:o},e);return r.a.createElement("div",{className:c,onClick:l},"function"==typeof i&&i({active:o}),a,r.a.createElement("input",{className:"brz-input",type:"hidden",name:t,value:n}))}renderForView(){const{className:e,active:t,name:o,value:n,required:a,renderIcons:i,children:l}=this.props,c=p()("brz-control__check-group-option",e),s=Object(u.a)();return r.a.createElement("div",{className:c},r.a.createElement("input",{id:s,className:"brz-input",type:"checkbox",name:o,value:n,checked:t,onChange:()=>{},required:a,"data-type":this.props["data-type"],"data-label":this.props["data-label"]}),r.a.createElement("label",{className:"brz-label",htmlFor:s},"function"==typeof i&&i(),l))}render(){return this.renderForEdit()}}Object(n.a)(b,"propTypes",{className:l.a.string,active:l.a.bool,value:l.a.string.isRequired,name:l.a.string.isRequired,onClick:l.a.func,renderIcons:l.a.func}),Object(n.a)(b,"defaultProps",{className:"",active:!1,value:"",name:"",renderIcons:s.a.noop,onClick:s.a.noop})},function(e,t,o){"use strict";o.d(t,"a",(function(){return r}));var n=o(1),a=o(3);function r({v:e,device:t,devices:o="all",state:r}){const i=e=>Object(a.defaultValueKey)({key:e,device:t,state:r});return{id:i("filterStyle"),label:Object(n.a)("Style"),type:"radioGroup",devices:o,choices:[{value:"style-1",icon:"nc-tags-style-2"},{value:"style-2",icon:"nc-tags-style-1"}],value:(o=>Object(a.defaultValueValue)({v:e,key:o,device:t,state:r}))("filterStyle"),onChange:e=>({[i("filterStyle")]:e})}}},function(e,t,o){"use strict";var n=o(13);o.d(t,"a",(function(){return r}));const a=(n.a.get("wp")||{}).l10n||{},r=e=>((e,t)=>e[t]||t)(a,e)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,o){"use strict";(function(e){var n=o(2),a=o(0),r=o.n(a),i=o(7),l=o.n(i),c=o(6),s=o.n(c),d=o(393),p=o(90),u=o(38);class b extends a.Component{constructor(...t){super(...t),Object(n.a)(this,"isDragging",!1),Object(n.a)(this,"isInElement",!1),Object(n.a)(this,"hideAfterDrag",!1),Object(n.a)(this,"state",{active:!1}),Object(n.a)(this,"handleMouseEnter",()=>{this.cursorInsideElement=!0}),Object(n.a)(this,"handleMouseLeave",()=>{this.cursorInsideElement=!1}),Object(n.a)(this,"handleMouseEnterSuccess",()=>{e.BRZ_IS_DRAGGING||this.setState({active:!0})}),Object(n.a)(this,"handleMouseLeaveSuccess",()=>{this.isDragging||this.setState({active:!1})}),Object(n.a)(this,"handleDragStart",()=>{this.state.active||this.setState({active:!0})}),Object(n.a)(this,"handleDrag",e=>{this.state.active&&(this.isDragging=!0,this.props.onDrag(e))}),Object(n.a)(this,"handleDragEnd",()=>{this.state.active&&(this.isDragging=!1,this.cursorInsideElement||this.setState({active:!1}),this.props.onDragEnd())})}render(){const{position:e,value:t,tabletValue:o,mobileValue:n}=this.props,a=s()("brz-ed-draggable__padding",{"brz-ed-draggable__padding--top":"top"===e,"brz-ed-draggable__padding--bottom":"bottom"===e,"brz-ed-draggable__padding--active":this.state.active});return r.a.createElement(d.a,{delay:500,onEnter:this.handleMouseEnter,onEnterSuccess:this.handleMouseEnterSuccess,onLeave:this.handleMouseLeave,onLeaveSuccess:this.handleMouseLeaveSuccess},r.a.createElement(p.a,{className:a,draggingCursor:"ns-resize",onDragStart:this.handleDragStart,onDrag:this.handleDrag,onDragEnd:this.handleDragEnd},r.a.createElement("span",{className:"brz-ed-draggable__padding--value brz-ed-draggable__padding--desktop-value"},t),r.a.createElement("span",{className:"brz-ed-draggable__padding--value brz-ed-draggable__padding--tablet-value"},o),r.a.createElement("span",{className:"brz-ed-draggable__padding--value brz-ed-draggable__padding--mobile-value"},n)))}}Object(n.a)(b,"defaultProps",{position:"",value:"",tabletValue:"",mobileValue:"",onDrag:l.a.noop,onDragEnd:l.a.noop}),t.a=Object(u.c)({allow:["admin"],component:b,fallbackRender:({position:e})=>{const t=s()({"brz-ed-draggable__padding--top":"top"===e,"brz-ed-draggable__padding--bottom":"bottom"===e});return r.a.createElement("div",{className:t})}})}).call(this,o(67))},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,o){var n={"./apl/apl":250,"./apl/apl.js":250,"./asciiarmor/asciiarmor":251,"./asciiarmor/asciiarmor.js":251,"./asn.1/asn.1":252,"./asn.1/asn.1.js":252,"./asterisk/asterisk":253,"./asterisk/asterisk.js":253,"./brainfuck/brainfuck":254,"./brainfuck/brainfuck.js":254,"./clike/clike":156,"./clike/clike.js":156,"./clojure/clojure":255,"./clojure/clojure.js":255,"./cmake/cmake":256,"./cmake/cmake.js":256,"./cobol/cobol":257,"./cobol/cobol.js":257,"./coffeescript/coffeescript":191,"./coffeescript/coffeescript.js":191,"./commonlisp/commonlisp":258,"./commonlisp/commonlisp.js":258,"./crystal/crystal":259,"./crystal/crystal.js":259,"./css/css":115,"./css/css.js":115,"./cypher/cypher":260,"./cypher/cypher.js":260,"./d/d":261,"./d/d.js":261,"./dart/dart":262,"./dart/dart.js":262,"./diff/diff":263,"./diff/diff.js":263,"./django/django":264,"./django/django.js":264,"./dockerfile/dockerfile":265,"./dockerfile/dockerfile.js":265,"./dtd/dtd":266,"./dtd/dtd.js":266,"./dylan/dylan":267,"./dylan/dylan.js":267,"./ebnf/ebnf":268,"./ebnf/ebnf.js":268,"./ecl/ecl":269,"./ecl/ecl.js":269,"./eiffel/eiffel":270,"./eiffel/eiffel.js":270,"./elm/elm":271,"./elm/elm.js":271,"./erlang/erlang":272,"./erlang/erlang.js":272,"./factor/factor":273,"./factor/factor.js":273,"./fcl/fcl":274,"./fcl/fcl.js":274,"./forth/forth":275,"./forth/forth.js":275,"./fortran/fortran":276,"./fortran/fortran.js":276,"./gas/gas":277,"./gas/gas.js":277,"./gfm/gfm":278,"./gfm/gfm.js":278,"./gherkin/gherkin":279,"./gherkin/gherkin.js":279,"./go/go":280,"./go/go.js":280,"./groovy/groovy":281,"./groovy/groovy.js":281,"./haml/haml":282,"./haml/haml.js":282,"./handlebars/handlebars":194,"./handlebars/handlebars.js":194,"./haskell-literate/haskell-literate":283,"./haskell-literate/haskell-literate.js":283,"./haskell/haskell":196,"./haskell/haskell.js":196,"./haxe/haxe":284,"./haxe/haxe.js":284,"./htmlembedded/htmlembedded":285,"./htmlembedded/htmlembedded.js":285,"./htmlmixed/htmlmixed":96,"./htmlmixed/htmlmixed.js":96,"./http/http":286,"./http/http.js":286,"./idl/idl":287,"./idl/idl.js":287,"./javascript/javascript":118,"./javascript/javascript.js":118,"./jinja2/jinja2":288,"./jinja2/jinja2.js":288,"./jsx/jsx":289,"./jsx/jsx.js":289,"./julia/julia":290,"./julia/julia.js":290,"./livescript/livescript":291,"./livescript/livescript.js":291,"./lua/lua":292,"./lua/lua.js":292,"./markdown/markdown":192,"./markdown/markdown.js":192,"./mathematica/mathematica":293,"./mathematica/mathematica.js":293,"./mbox/mbox":294,"./mbox/mbox.js":294,"./meta":193,"./meta.js":193,"./mirc/mirc":295,"./mirc/mirc.js":295,"./mllike/mllike":296,"./mllike/mllike.js":296,"./modelica/modelica":297,"./modelica/modelica.js":297,"./mscgen/mscgen":298,"./mscgen/mscgen.js":298,"./mumps/mumps":299,"./mumps/mumps.js":299,"./nginx/nginx":300,"./nginx/nginx.js":300,"./nsis/nsis":301,"./nsis/nsis.js":301,"./ntriples/ntriples":302,"./ntriples/ntriples.js":302,"./octave/octave":303,"./octave/octave.js":303,"./oz/oz":304,"./oz/oz.js":304,"./pascal/pascal":305,"./pascal/pascal.js":305,"./pegjs/pegjs":306,"./pegjs/pegjs.js":306,"./perl/perl":307,"./perl/perl.js":307,"./php/php":308,"./php/php.js":308,"./pig/pig":309,"./pig/pig.js":309,"./powershell/powershell":310,"./powershell/powershell.js":310,"./properties/properties":311,"./properties/properties.js":311,"./protobuf/protobuf":312,"./protobuf/protobuf.js":312,"./pug/pug":197,"./pug/pug.js":197,"./puppet/puppet":313,"./puppet/puppet.js":313,"./python/python":198,"./python/python.js":198,"./q/q":314,"./q/q.js":314,"./r/r":315,"./r/r.js":315,"./rpm/changes/index.html":562,"./rpm/rpm":316,"./rpm/rpm.js":316,"./rst/rst":317,"./rst/rst.js":317,"./ruby/ruby":157,"./ruby/ruby.js":157,"./rust/rust":318,"./rust/rust.js":318,"./sas/sas":319,"./sas/sas.js":319,"./sass/sass":200,"./sass/sass.js":200,"./scheme/scheme":320,"./scheme/scheme.js":320,"./shell/shell":321,"./shell/shell.js":321,"./sieve/sieve":322,"./sieve/sieve.js":322,"./slim/slim":323,"./slim/slim.js":323,"./smalltalk/smalltalk":324,"./smalltalk/smalltalk.js":324,"./smarty/smarty":325,"./smarty/smarty.js":325,"./solr/solr":326,"./solr/solr.js":326,"./soy/soy":327,"./soy/soy.js":327,"./sparql/sparql":328,"./sparql/sparql.js":328,"./spreadsheet/spreadsheet":329,"./spreadsheet/spreadsheet.js":329,"./sql/sql":330,"./sql/sql.js":330,"./stex/stex":199,"./stex/stex.js":199,"./stylus/stylus":201,"./stylus/stylus.js":201,"./swift/swift":331,"./swift/swift.js":331,"./tcl/tcl":332,"./tcl/tcl.js":332,"./textile/textile":333,"./textile/textile.js":333,"./tiddlywiki/tiddlywiki":334,"./tiddlywiki/tiddlywiki.css":563,"./tiddlywiki/tiddlywiki.js":334,"./tiki/tiki":335,"./tiki/tiki.css":564,"./tiki/tiki.js":335,"./toml/toml":336,"./toml/toml.js":336,"./tornado/tornado":337,"./tornado/tornado.js":337,"./troff/troff":338,"./troff/troff.js":338,"./ttcn-cfg/ttcn-cfg":339,"./ttcn-cfg/ttcn-cfg.js":339,"./ttcn/ttcn":340,"./ttcn/ttcn.js":340,"./turtle/turtle":341,"./turtle/turtle.js":341,"./twig/twig":342,"./twig/twig.js":342,"./vb/vb":343,"./vb/vb.js":343,"./vbscript/vbscript":344,"./vbscript/vbscript.js":344,"./velocity/velocity":345,"./velocity/velocity.js":345,"./verilog/verilog":346,"./verilog/verilog.js":346,"./vhdl/vhdl":347,"./vhdl/vhdl.js":347,"./vue/vue":348,"./vue/vue.js":348,"./webidl/webidl":349,"./webidl/webidl.js":349,"./xml/xml":129,"./xml/xml.js":129,"./xquery/xquery":350,"./xquery/xquery.js":350,"./yacas/yacas":351,"./yacas/yacas.js":351,"./yaml-frontmatter/yaml-frontmatter":352,"./yaml-frontmatter/yaml-frontmatter.js":352,"./yaml/yaml":202,"./yaml/yaml.js":202,"./z80/z80":353,"./z80/z80.js":353};function a(e){var t=r(e);return o(t)}function r(e){if(!o.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}a.keys=function(){return Object.keys(n)},a.resolve=r,e.exports=a,a.id=249},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,o){"use strict";let n;o.d(t,"a",(function(){return a}));const a=()=>{if(n)return Promise.resolve(!0);if(!1===n)return Promise.reject(!1);const e=document.createElement("canvas");e.width=100,e.height=100;const t=e.getContext("2d");t.fillStyle="rgb(0, 255, 0)",t.fillRect(0,0,100,100);const o=e.toDataURL();t.fillStyle="red",t.fillRect(0,0,100,100);const a=new Image;a.src=o;const c=r(100,100,0,0,a);return i(c).then(e=>{t.drawImage(e,0,0);const a=t.getImageData(0,0,100,100).data;if(!l(a))return n=!1,Promise.reject(n);t.fillStyle="red",t.fillRect(0,0,100,100);const c=document.createElement("div");c.style.backgroundImage="url(".concat(o,")"),c.style.height="".concat(100,"px");const s=r(100,100,0,0,c);return i(s)}).then(e=>{t.drawImage(e,0,0);const o=t.getImageData(0,0,100,100).data;return n=l(o)}).catch(()=>n=!1)},r=(e,t,o,n,a)=>{const r="http://www.w3.org/2000/svg",i=document.createElementNS(r,"svg"),l=document.createElementNS(r,"foreignObject");return i.setAttributeNS(null,"width",e),i.setAttributeNS(null,"height",t),l.setAttributeNS(null,"width","100%"),l.setAttributeNS(null,"height","100%"),l.setAttributeNS(null,"x",o),l.setAttributeNS(null,"y",n),l.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(l),l.appendChild(a),i},i=e=>new Promise((t,o)=>{const n=new Image;n.onload=()=>t(n),n.onerror=o,n.src="data:image/svg+xml;charset=utf-8,".concat(encodeURIComponent((new XMLSerializer).serializeToString(e)))}),l=e=>0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},,,,,,,,,,,,,,function(e,t){var o="MC43NDQwMzkxMDQwNjc4MDM0";function n(e,t){if(t<0)return n(e,t+26);for(var o="",a=0;a<e.length;a++){var r=e[a];if(r.match(/[a-z]/i)){var i=e.charCodeAt(a);i>=65&&i<=90?r=String.fromCharCode((i-65+t)%26+65):i>=97&&i<=122&&(r=String.fromCharCode((i-97+t)%26+97))}o+=r}return o}function a(e){return n(e,-20).replace(o,"")}e.exports={encrypt:function(e){var t=parseInt(e.length/2);return n(e.slice(0,t)+o+e.slice(t),20)},decrypt:a,responseToSvg:function e(t){if(/^<svg/.test(t))return t;try{return e(atob(a(t)))}catch(e){throw new Error("Icon not valid ".concat(t))}}}},,,,,function(e,t,o){"use strict";(function(e){var n=o(2),a=o(0),r=o.n(a),i=o(385),l=o(10),c=o(27);class s extends i.a{constructor(...t){super(...t),Object(n.a)(this,"wpMediaFrame",null),Object(n.a)(this,"handleChange",()=>{const t=e.wp||e.parent.wp;if(!t)throw new Error("Could not find WordPress on global object (window.wp)");if(!t.media)throw new Error("Could not find WordPress media object (window.wp.media). Make sure the WordPress media script is enqueued.");this.wpMediaFrame||(this.wpMediaFrame=t.media({library:{type:"image"},states:new t.media.controller.Library({multiple:!1,title:"Upload file",filterable:"uploaded",priority:20})}),this.wpMediaFrame.on("select",()=>{const e=this.wpMediaFrame.state().get("selection").first();Object(c.i)(e.get("id")).then(({uid:t})=>{const o=e.get("filename"),n="".concat(t,"|||").concat(o);this.mounted&&this.setState({value:n,loading:!1}),this.props.onChange(n)}).catch(e=>{console.error("failed to get attachment uid",e)})})),this.wpMediaFrame.open()})}componentWillUnmount(){super.componentWillUnmount&&super.componentWillUnmount(),this.wpMediaFrame&&(this.wpMediaFrame.detach(),this.wpMediaFrame=null)}renderUploadButton(){return r.a.createElement("div",{className:"brz-file-upload",onClick:this.handleChange},r.a.createElement(l.b,{icon:"nc-add"}))}}t.a=s}).call(this,o(67))},function(e,t,o){"use strict";var n=o(2),a=o(0),r=o.n(a),i=o(7),l=o.n(i),c=o(6),s=o.n(c),d=o(10),p=o(27);class u extends r.a.Component{constructor(...e){super(...e),Object(n.a)(this,"state",{loading:!1,value:this.props.value}),Object(n.a)(this,"mounted",!1),Object(n.a)(this,"handleChange",async e=>{const{files:t}=e.target;if(t&&t[0]){this.setState({loading:!0});try{const{name:e,filename:o}=await Object(p.uploadFile)(t[0]),n="".concat(e,"|||").concat(o);this.mounted&&this.setState({value:n,loading:!1}),this.props.onChange(n)}catch(e){this.mounted&&this.setState({loading:!1,value:""})}}}),Object(n.a)(this,"handleRemove",()=>{this.setState({value:""}),this.props.onChange("")})}componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return r.a.createElement("div",{className:"brz-ed-option__label"},e,t&&r.a.createElement("div",{className:"brz-ed-option__helper"},r.a.createElement(d.b,{icon:"nc-alert-circle-que"}),r.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}renderUploadButton(){const{acceptedExtensions:e}=this.props;return r.a.createElement("div",{className:"brz-file-upload"},r.a.createElement(d.b,{icon:"nc-add"}),r.a.createElement("input",{type:"file",onChange:this.handleChange,accept:e.join(",")}))}renderLoading(){return r.a.createElement("div",{className:"brz-file-upload"},r.a.createElement(d.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}renderFileName(){const[,e]=this.state.value.split("|||",2),t=e.length>20?"..."+e.substring(e.length-20,e.length):e;return r.a.createElement("div",{className:"brz-file-name brz-ed-option__inline"},r.a.createElement("span",{className:"brz-file-title",title:e},t),r.a.createElement("span",{className:"brz-file-remove"},r.a.createElement(d.b,{icon:"nc-remove",onClick:this.handleRemove})))}render(){const{loading:e,value:t}=this.state,{label:o,helper:n,className:a}=this.props,i=s()("brz-ed-option__inline","brz-ed-option__file_upload",a);return r.a.createElement("div",{className:i},(o||n)&&this.renderLabel(),e?this.renderLoading():t?this.renderFileName():this.renderUploadButton())}}Object(n.a)(u,"defaultProps",{className:"",attr:{},acceptedExtensions:[],label:"",placeholder:"",helper:null,helperContent:null,value:"",onChange:l.a.noop}),t.a=u},,function(e,t,o){"use strict";async function n(e){const t=e,o=e.cloneNode(!0),n=new i({tasks:a(o,t),taskCb:r,msPerFrame:10});return await n.schedule(),o}function a(e,t,o=[]){const n=window.getComputedStyle(t);if(o.push({clone:e,originalStyle:n}),!(t instanceof HTMLIFrameElement))for(let n=0;n<e.children.length;n++)a(e.children[n],t.children[n],o);return o}function r(e){const{clone:t,originalStyle:o}=e;if(o.cssText)t.style.cssText=o.cssText;else for(let e=0;e<o.length;e++){const n=o[e];t.style.setProperty(n,o.getPropertyValue(n),o.getPropertyPriority(n))}}o.d(t,"a",(function(){return n}));class i{constructor({tasks:e,taskCb:t,msPerFrame:o}){this._tasks=e,this._taskCb=t,this._msPerFrame=o,this._process=this._process.bind(this)}schedule(){return this._currentTaskIndex=0,new Promise((e,t)=>{this._resolve=e,this._reject=t,requestAnimationFrame(this._process)})}_process(e){do{if(this._taskCb(this._tasks[this._currentTaskIndex]),this._currentTaskIndex===this._tasks.length-1)return void requestAnimationFrame(this._resolve);this._currentTaskIndex++}while(performance.now()-e<this._msPerFrame);requestAnimationFrame(this._process)}}},function(e,t,o){"use strict";(function(e){o.d(t,"a",(function(){return g}));var n=o(2),a=o(0),r=o.n(a),i=o(7),l=o.n(i),c=o(6),s=o.n(c),d=o(13),p=o(136),u=o(27),b=o(30);const{page:h}=d.a.get("wp"),m=l.a.debounce((...e)=>{Object(u.G)(...e)},1e3);class g extends r.a.Component{constructor(...t){super(...t),Object(n.a)(this,"mounted",!1),Object(n.a)(this,"handleImageChange",e=>{const{src:t,x:o,y:n}=e;""===t?(this.constructor.currentFeaturedImage={id:"",url:"",pointX:50,pointY:50},Object(u.x)(h)):(this.constructor.currentFeaturedImage.pointX=o,this.constructor.currentFeaturedImage.pointY=n,m(h,this.constructor.currentFeaturedImage.id,o,n)),this.forceUpdate()}),Object(n.a)(this,"handleImageUpload",()=>{const t=e.wp||e.parent.wp;if(!t)throw new Error("Could not find WordPress on global object (window.wp)");if(!t.media)throw new Error("Could not find WordPress media object (window.wp.media). Make sure the WordPress media script is enqueued.");this.props.meta&&this.props.meta.popover&&this.props.meta.popover.hide();const o=t.media.featuredImage.frame();o.on("select",()=>{const e=o.state().get("selection").first(),{url:t,id:n}=e.attributes;Object(u.F)(h,n).then(()=>{this.constructor.currentFeaturedImage.id=n,this.constructor.currentFeaturedImage.url=t,this.mounted&&this.forceUpdate()})}),o.on("close",()=>{this.props.meta&&this.props.meta.popover&&this.props.meta.popover.show()}),o.open()})}componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}render(){const{className:e,label:t,title:o}=this.props,n=s()("brz-ed-sidebar__wp-feature__image",e),{pointX:a,pointY:i,url:l}=this.constructor.currentFeaturedImage;return r.a.createElement("div",{className:n,title:o},t&&r.a.createElement("div",{className:"brz-ed-option__label"},t),r.a.createElement("div",null,r.a.createElement(p.a,{src:l,extension:Object(b.a)(l),customUrl:!0,x:a,y:i,onUpload:this.handleImageUpload,onChange:this.handleImageChange})))}}Object(n.a)(g,"defaultProps",{label:"",className:"",title:""}),Object(n.a)(g,"currentFeaturedImage",(()=>{const{id:e,url:t,pointX:o,pointY:n}=d.a.get("wp").featuredImage||{};return{id:e||"",url:t||"",pointX:o||50,pointY:n||50}})())}).call(this,o(67))},function(e,t,o){"use strict";(function(e){o.d(t,"a",(function(){return n}));const n=(t,o)=>{(e.Brizy.applyFilter("iconFontsLoaders")||[]).map(e=>e(t,o))}}).call(this,o(67))},function(e){e.exports=JSON.parse('{"content":{"items":[]}}')},function(e){e.exports=JSON.parse('{"content":{"items":[]}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"anchorName":"","cssIDPopulation":"","fullHeight":"off","tagName":"section","slider":"off","hoverSlider":null,"showOnDesktop":"on","zIndex":0,"hoverZIndex":null,"tabletAnchorName":null,"tabletFullHeight":null,"tabletSlider":null,"showOnTablet":"on","tabletZIndex":null,"mobileAnchorName":null,"mobileFullHeight":null,"mobileSlider":null,"showOnMobile":"on","mobileZIndex":null},"animation":{"sliderAnimation":"none","sliderAutoPlay":"off","sliderAutoPlaySpeed":3,"tabletSliderAutoPlay":null,"tabletSliderAutoPlaySpeed":null,"mobileSliderAutoPlay":null,"mobileSliderAutoPlaySpeed":null},"toolbar":{"tabsColor":""},"style":{"className":"","customClassName":"","cssClassPopulation":"","customAttributes":"","sliderDots":"circle","sliderDotsColorHex":"#000000","sliderDotsColorOpacity":1,"sliderDotsColorPalette":"","tempSliderDotsColorOpacity":1,"tempSliderDotsColorPalette":"","hoverSliderDotsColorHex":"#000000","hoverSliderDotsColorOpacity":1,"hoverSliderDotsColorPalette":"","tempHoverSliderDotsColorOpacity":1,"tempHoverSliderDotsColorPalette":"","sliderArrows":"thin","sliderArrowsColorHex":"#000000","sliderArrowsColorOpacity":0.7,"sliderArrowsColorPalette":"","tempSliderArrowsColorOpacity":1,"tempSliderArrowsColorPalette":"","hoverSliderArrowsColorHex":"#000000","hoverSliderArrowsColorOpacity":1,"hoverSliderArrowsColorPalette":"","tempHoverSliderArrowsColorOpacity":1,"tempHoverSliderArrowsColorPalette":"","sectionHeightStyle":"auto","sectionHeight":400,"sectionHeightSuffix":"px","verticalAlign":"center","marginType":"grouped","margin":0,"marginTop":0,"marginRight":0,"marginBottom":0,"marginLeft":0,"marginSuffix":"px","marginTopSuffix":"px","marginRightSuffix":"px","marginBottomSuffix":"px","marginLeftSuffix":"px","tabletSliderDots":null,"tabletSliderArrows":null,"tabletSliderDotsColorHex":null,"tabletSliderDotsColorOpacity":null,"tabletSliderDotsColorPalette":null,"tempTabletSliderDotsColorOpacity":null,"tempTabletSliderDotsColorPalette":null,"tabletSectionHeightStyle":null,"tabletSectionHeight":null,"tabletSectionHeightSuffix":null,"tabletMarginType":"ungrouped","tabletMargin":0,"tabletMarginTop":0,"tabletMarginRight":0,"tabletMarginBottom":0,"tabletMarginLeft":0,"tabletMarginSuffix":"px","tabletMarginTopSuffix":"px","tabletMarginRightSuffix":"px","tabletMarginBottomSuffix":"px","tabletMarginLeftSuffix":"px","mobileSliderDots":null,"mobileSliderArrows":null,"mobileSliderDotsColorHex":null,"mobileSliderDotsColorOpacity":null,"mobileSliderDotsColorPalette":null,"tempMobileSliderDotsColorOpacity":null,"tempMobileSliderDotsColorPalette":null,"mobileSectionHeightStyle":null,"mobileSectionHeight":null,"mobileSectionHeightSuffix":null,"mobileMarginType":"ungrouped","mobileMargin":0,"mobileMarginTop":0,"mobileMarginRight":0,"mobileMarginBottom":0,"mobileMarginLeft":0,"mobileMarginSuffix":"px","mobileMarginTopSuffix":"px","mobileMarginRightSuffix":"px","mobileMarginBottomSuffix":"px","mobileMarginLeftSuffix":"px"}}')},function(e,t,o){"use strict";o.d(t,"a",(function(){return s}));var n=o(2),a=o(0),r=o(24),i=o.n(r),l=o(7),c=o.n(l);class s extends a.Component{constructor(...e){super(...e),Object(n.a)(this,"isMounted",!0),Object(n.a)(this,"timeoutId",null),Object(n.a)(this,"enterSuccess",!1),Object(n.a)(this,"handleMouseEnter",()=>{this.props.onEnter(),this.timeoutId=setTimeout(this.handleMouseEnterTimeout,this.props.delay),this.enterSuccess=!1}),Object(n.a)(this,"handleMouseEnterTimeout",()=>{this.isMounted&&(this.enterSuccess=!0,this.props.onEnterSuccess())}),Object(n.a)(this,"handleMouseLeave",()=>{this.props.onLeave(),clearTimeout(this.timeoutId),this.enterSuccess&&this.props.onLeaveSuccess()})}componentDidMount(){this.isMounted=!0;const e=i.a.findDOMNode(this);e.addEventListener("mouseenter",this.handleMouseEnter),e.addEventListener("mouseleave",this.handleMouseLeave)}componentWillUnmount(){this.isMounted=!1;const e=i.a.findDOMNode(this);e.removeEventListener("mouseenter",this.handleMouseEnter),e.removeEventListener("mouseleave",this.handleMouseLeave)}render(){return this.props.children}}Object(n.a)(s,"defaultProps",{delay:1e3,onEnter:c.a.noop,onEnterSuccess:c.a.noop,onLeave:c.a.noop,onLeaveSuccess:c.a.noop})},function(e){e.exports=JSON.parse('{"content":{"items":[],"media":"image","hoverMedia":"image","bgImageWidth":0,"bgImageHeight":0,"bgImageSrc":"","bgPositionY":50,"bgPositionX":50,"bgPopulation":"","bgImageExtension":"","bgAttachment":"none","bgVideo":"","bgVideoLoop":"off","bgVideoStart":0,"bgMapAddress":"Wall Street","bgMapZoom":15,"brightness":100,"hue":0,"saturation":100,"contrast":100,"hoverBgImageWidth":null,"hoverBgImageHeight":null,"hoverBgImageSrc":null,"hoverBgPositionY":null,"hoverBgPositionX":null,"hoverBgPopulation":null,"hoverBgImageExtension":null,"hoverBrightness":null,"hoverHue":null,"hoverSaturation":null,"hoverContrast":null,"tabletMedia":"image","tabletBgImageWidth":null,"tabletBgImageHeight":null,"tabletBgImageSrc":null,"tabletBgPositionX":null,"tabletBgPositionY":null,"tabletBgPopulation":null,"tabletBgImageExtension":null,"tabletBrightness":null,"tabletHue":null,"tabletSaturation":null,"tabletContrast":null,"tabletBgAttachment":"none","tabletBgMapZoom":null,"mobileMedia":"image","mobileBgImageWidth":null,"mobileBgImageHeight":null,"mobileBgImageSrc":null,"mobileBgPositionX":null,"mobileBgPositionY":null,"mobileBgPopulation":null,"mobileBgImageExtension":null,"mobileBrightness":null,"mobileHue":null,"mobileSaturation":null,"mobileContrast":null,"mobileBgAttachment":"none","mobileBgMapZoom":null},"toolbar":{"tabsState":"","tabsCurrentElement":"","tabsColor":"","tabletTabsState":null,"tabletTabsCurrentElement":null,"tabletTabsColor":null,"mobileTabsState":null,"mobileTabsCurrentElement":null,"mobileTabletTabsColor":null},"style":{"className":"","borderStyle":"solid","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"bgColorType":"solid","bgColorHex":"#000000","bgColorOpacity":0,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","gradientColorHex":"#009900","gradientColorOpacity":1,"gradientColorPalette":"","tempGradientColorOpacity":1,"tempGradientColorPalette":"","gradientActivePointer":"startPointer","gradientStartPointer":0,"gradientFinishPointer":100,"gradientType":"linear","gradientLinearDegree":90,"gradientRadialDegree":90,"hoverBgColorType":null,"hoverBgColorHex":null,"hoverBgColorOpacity":null,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":null,"tempHoverBgColorPalette":null,"hoverGradientActivePointer":null,"hoverGradientStartPointer":null,"hoverGradientFinishPointer":null,"hoverGradientType":null,"hoverGradientLinearDegree":null,"hoverGradientRadialDegree":null,"hoverGradientColorHex":null,"hoverGradientColorOpacity":null,"hoverGradientColorPalette":null,"tempHoverGradientColorOpacity":null,"tempHoverGradientColorPalette":null,"borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"borderWidthType":"grouped","hoverBorderWidthType":null,"borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":8,"tempBorderTopWidth":8,"tempBorderRightWidth":8,"tempBorderBottomWidth":8,"tempBorderLeftWidth":8,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"hoverTransition":50,"containerType":"boxed","containerSize":100,"hoverContainerType":null,"hoverContainerSize":null,"paddingType":"ungrouped","tempPaddingType":"ungrouped","padding":75,"paddingTop":75,"paddingRight":0,"paddingBottom":75,"paddingLeft":0,"tempPadding":75,"tempPaddingTop":75,"tempPaddingRight":0,"tempPaddingBottom":75,"tempPaddingLeft":0,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPaddingSuffix":"px","tempPaddingTopSuffix":"px","tempPaddingRightSuffix":"px","tempPaddingBottomSuffix":"px","tempPaddingLeftSuffix":"px","hoverPaddingType":null,"tempHoverPaddingType":null,"hoverPadding":null,"hoverPaddingTop":null,"hoverPaddingRight":null,"hoverPaddingBottom":null,"hoverPaddingLeft":null,"tempHoverPadding":null,"tempHoverPaddingTop":null,"tempHoverPaddingRight":null,"tempHoverPaddingBottom":null,"tempHoverPaddingLeft":null,"hoverPaddingSuffix":null,"hoverPaddingTopSuffix":null,"hoverPaddingRightSuffix":null,"hoverPaddingBottomSuffix":null,"hoverPaddingLeftSuffix":null,"tempHoverPaddingSuffix":null,"tempHoverPaddingTopSuffix":null,"tempHoverPaddingRightSuffix":null,"tempHoverPaddingBottomSuffix":null,"tempHoverPaddingLeftSuffix":null,"containerClassName":"","shape":"top","shapeTopColorHex":"#000000","shapeTopColorOpacity":1,"shapeTopColorPalette":"","tempShapeTopColorOpacity":1,"tempShapeTopColorPalette":"","shapeBottomColorHex":"#000000","shapeBottomColorOpacity":1,"shapeBottomColorPalette":"","tempShapeBottomColorOpacity":1,"tempShapeBottomColorPalette":"","tempShapeColorOpacity":1,"shapeTopHeight":100,"shapeTopHeightSuffix":"px","shapeBottomHeight":100,"shapeBottomHeightSuffix":"px","shapeTopType":"none","shapeBottomType":"none","shapeTopIndex":"auto","shapeBottomIndex":"auto","shapeTopHorizontal":"off","shapeBottomHorizontal":"off","customCSS":"","tabletContainerType":null,"tabletContainerSize":null,"tabletBorderStyle":null,"tempTabletBorderStyle":null,"tabletBorderWidthType":null,"tabletBorderWidth":null,"tabletBorderTopWidth":null,"tabletBorderRightWidth":null,"tabletBorderBottomWidth":null,"tabletBorderLeftWidth":null,"tempTabletBorderWidth":null,"tempTabletBorderTopWidth":null,"tempTabletBorderRightWidth":null,"tempTabletBorderBottomWidth":null,"tempTabletBorderLeftWidth":null,"tabletBorderRadiusType":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomLeftRadius":null,"tabletBorderBottomRightRadius":null,"tempTabletBorderRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tempTabletBorderBottomRightRadius":null,"tabletBgColorType":null,"tabletGradientStartPointer":null,"tabletGradientFinishPointer":null,"tabletGradientActivePointer":null,"tabletGradientType":null,"tabletGradientLinearDegree":null,"tabletGradientRadialDegree":null,"tabletBgColorHex":null,"tabletBgColorOpacity":null,"tabletBgColorPalette":null,"tempTabletBgColorOpacity":null,"tempTabletBgColorPalette":null,"tabletGradientColorHex":null,"tabletGradientColorOpacity":null,"tabletGradientColorPalette":null,"tempTabletGradientColorOpacity":null,"tempTabletGradientColorPalette":null,"tabletBorderColorHex":null,"tabletBorderColorOpacity":null,"tabletBorderColorPalette":null,"tempTabletBorderColorOpacity":null,"tempTabletBorderColorPalette":null,"tabletPaddingType":"ungrouped","tempTabletPaddingType":"ungrouped","tabletPadding":50,"tabletPaddingTop":50,"tabletPaddingRight":15,"tabletPaddingBottom":50,"tabletPaddingLeft":15,"tempTabletPadding":50,"tempTabletPaddingTop":50,"tempTabletPaddingRight":15,"tempTabletPaddingBottom":50,"tempTabletPaddingLeft":15,"tabletPaddingSuffix":"px","tabletPaddingTopSuffix":"px","tabletPaddingRightSuffix":"px","tabletPaddingBottomSuffix":"px","tabletPaddingLeftSuffix":"px","tempTabletPaddingSuffix":"px","tempTabletPaddingTopSuffix":"px","tempTabletPaddingRightSuffix":"px","tempTabletPaddingBottomSuffix":"px","tempTabletPaddingLeftSuffix":"px","tabletShape":null,"tabletShapeTopColorHex":null,"tabletShapeTopColorOpacity":null,"tabletShapeTopColorPalette":null,"tempTabletShapeTopColorOpacity":null,"tempTabletShapeTopColorPalette":null,"tabletShapeBottomColorHex":null,"tabletShapeBottomColorOpacity":null,"tabletShapeBottomColorPalette":null,"tempTabletShapeBottomColorOpacity":null,"tempTabletShapeBottomColorPalette":null,"tabletShapeTopHeight":null,"tabletShapeTopHeightSuffix":null,"tabletShapeBottomHeight":null,"tabletShapeBottomHeightSuffix":null,"tabletShapeTopType":null,"tabletShapeBottomType":null,"tabletShapeTopIndex":null,"tabletShapeBottomIndex":null,"tabletShapeTopHorizontal":null,"tabletShapeBottomHorizontal":null,"mobileContainerType":null,"mobileContainerSize":null,"mobileBgColorType":null,"mobileGradientStartPointer":null,"mobileGradientFinishPointer":null,"mobileGradientActivePointer":null,"mobileGradientType":null,"mobileGradientLinearDegree":null,"mobileGradientRadialDegree":null,"mobileBgColorHex":null,"mobileBgColorOpacity":null,"mobileBgColorPalette":null,"tempMobileBgColorOpacity":null,"tempMobileBgColorPalette":null,"mobileGradientColorHex":null,"mobileGradientColorOpacity":null,"mobileGradientColorPalette":null,"tempMobileGradientColorOpacity":null,"tempMobileGradientColorPalette":null,"mobileBorderStyle":null,"tempMobileBorderStyle":null,"mobileBorderWidthType":null,"mobileBorderWidth":null,"mobileBorderTopWidth":null,"mobileBorderRightWidth":null,"mobileBorderBottomWidth":null,"mobileBorderLeftWidth":null,"tempMobileBorderWidth":null,"tempMobileBorderTopWidth":null,"tempMobileBorderRightWidth":null,"tempMobileBorderBottomWidth":null,"tempMobileBorderLeftWidth":null,"mobileBorderRadiusType":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomLeftRadius":null,"mobileBorderBottomRightRadius":null,"tempMobileBorderRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"tempMobileBorderBottomRightRadius":null,"mobileBorderColorHex":null,"mobileBorderColorOpacity":null,"mobileBorderColorPalette":null,"tempMobileBorderColorOpacity":null,"tempMobileBorderColorPalette":null,"mobilePaddingType":"ungrouped","tempMobilePaddingType":"ungrouped","mobilePadding":25,"mobilePaddingTop":25,"mobilePaddingRight":15,"mobilePaddingBottom":25,"mobilePaddingLeft":15,"tempMobilePadding":25,"tempMobilePaddingTop":25,"tempMobilePaddingRight":15,"tempMobilePaddingBottom":25,"tempMobilePaddingLeft":15,"mobilePaddingSuffix":"px","mobilePaddingTopSuffix":"px","mobilePaddingRightSuffix":"px","mobilePaddingBottomSuffix":"px","mobilePaddingLeftSuffix":"px","tempMobilePaddingSuffix":"px","tempMobilePaddingTopSuffix":"px","tempMobilePaddingRightSuffix":"px","tempMobilePaddingBottomSuffix":"px","tempMobilePaddingLeftSuffix":"px","mobileShape":null,"mobileShapeTopColorHex":null,"mobileShapeTopColorOpacity":null,"mobileShapeTopColorPalette":null,"tempMobileShapeTopColorOpacity":null,"tempMobileShapeTopColorPalette":null,"mobileShapeBottomColorHex":null,"mobileShapeBottomColorOpacity":null,"mobileShapeBottomColorPalette":null,"tempMobileShapeBottomColorOpacity":null,"tempMobileShapeBottomColorPalette":null,"mobileShapeTopHeight":null,"mobileShapeTopHeightSuffix":null,"mobileShapeBottomHeight":null,"mobileShapeBottomHeightSuffix":null,"mobileShapeTopType":null,"mobileShapeBottomType":null,"mobileShapeTopIndex":null,"mobileShapeBottomIndex":null,"mobileShapeTopHorizontal":null,"mobileShapeBottomHorizontal":null}}')},function(e){e.exports=JSON.parse('{"content":{"media":"image","tagName":"div","bgImageWidth":0,"bgImageHeight":0,"bgImageSrc":"","bgPositionY":50,"bgPositionX":50,"bgPopulation":"","bgImageExtension":"","brightness":100,"hue":0,"saturation":100,"contrast":100,"bgVideo":"","bgVideoLoop":"off","bgMapAddress":"Wall Street","bgMapZoom":15,"hoverMedia":"image","hoverBgImageWidth":null,"hoverBgImageHeight":null,"hoverBgImageSrc":null,"hoverBgPositionY":null,"hoverBgPositionX":null,"hoverBgPopulation":null,"hoverBgImageExtension":null,"hoverBrightness":null,"hoverHue":null,"hoverSaturation":null,"hoverContrast":null,"showToolbar":"on","showOnDesktop":"on","zIndex":0,"hoverZIndex":null,"tabletPopups":null,"tabletSize":null,"tabletReverseColumns":"off","showOnTablet":"on","tabletMedia":"image","tabletBgImageWidth":null,"tabletBgImageHeight":null,"tabletBgImageSrc":null,"tabletBgPositionX":null,"tabletBgPositionY":null,"tabletBgPopulation":null,"tabletBgImageExtension":null,"tabletBrightness":null,"tabletHue":null,"tabletSaturation":null,"tabletContrast":null,"tabletBgVideo":null,"tabletBgVideoLoop":null,"tabletBgMapZoom":null,"tabletZIndex":null,"showOnMobile":"on","mobilePopups":null,"mobileSize":null,"mobileMedia":"image","mobileBgImageWidth":null,"mobileBgImageHeight":null,"mobileBgImageSrc":null,"mobileBgPositionX":null,"mobileBgPositionY":null,"mobileBgPopulation":null,"homeBgImageExtension":null,"mobileBrightness":null,"mobileHue":null,"mobileSaturation":null,"mobileContrast":null,"mobileBgVideo":null,"mobileBgVideoLoop":null,"mobileBgMapZoom":null,"mobileZIndex":null,"size":100,"items":[],"popups":[]},"link":{"linkType":"external","linkExternal":"","linkAnchor":"","linkExternalBlank":"off","linkExternalRel":"off","linkExternalType":"linkExternal","linkPopulation":"","linkUpload":"","linkPopup":"","tabletLinkType":null,"tabletLinkPopup":null,"mobileLinkType":null,"mobileLinkPopup":null},"toolbar":{"tabsMedia":"","tabsState":"","tabsColor":"","tabletTabsMedia":null,"tabletTabsState":null,"tabletTabsColor":null,"mobileTabsMedia":null,"mobileTabsState":null,"mobileTabsColor":null},"animation":{"animationName":"none","tempAnimationName":"none","animationDuration":1000,"animationDelay":1000},"style":{"className":"","borderStyle":"solid","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":4,"tempBorderTopWidth":4,"tempBorderRightWidth":4,"tempBorderBottomWidth":4,"tempBorderLeftWidth":4,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"bgColorType":"solid","gradientActivePointer":"startPointer","gradientStartPointer":0,"gradientFinishPointer":100,"gradientType":"linear","gradientLinearDegree":90,"gradientRadialDegree":90,"hoverBgColorType":null,"hoverGradientActivePointer":null,"hoverGradientStartPointer":null,"hoverGradientFinishPointer":null,"hoverGradientType":null,"hoverGradientLinearDegree":null,"hoverGradientRadialDegree":null,"bgColorHex":"#000000","bgColorOpacity":0,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","hoverBgColorHex":null,"hoverBgColorOpacity":null,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":null,"tempHoverBgColorPalette":null,"gradientColorHex":"#009900","gradientColorOpacity":1,"gradientColorPalette":"","tempGradientColorOpacity":1,"tempGradientColorPalette":"","hoverGradientColorHex":null,"hoverGradientColorOpacity":null,"hoverGradientColorPalette":null,"tempHoverGradientColorOpacity":null,"tempHoverGradientColorPalette":null,"borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"hoverTransition":50,"columnsHeightStyle":"auto","columnsHeight":400,"columnsHeightSuffix":"px","verticalAlign":"top","paddingType":"grouped","tempPaddingType":"grouped","padding":10,"paddingTop":10,"paddingRight":10,"paddingBottom":10,"paddingLeft":10,"tempPadding":10,"tempPaddingTop":10,"tempPaddingRight":10,"tempPaddingBottom":10,"tempPaddingLeft":10,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPaddingSuffix":"px","tempPaddingTopSuffix":"px","tempPaddingRightSuffix":"px","tempPaddingBottomSuffix":"px","tempPaddingLeftSuffix":"px","hoverPaddingType":null,"tempHoverPaddingType":null,"hoverPadding":null,"hoverPaddingTop":null,"hoverPaddingRight":null,"hoverPaddingBottom":null,"hoverPaddingLeft":null,"tempHoverPadding":null,"tempHoverPaddingTop":null,"tempHoverPaddingRight":null,"tempHoverPaddingBottom":null,"tempHoverPaddingLeft":null,"hoverPaddingSuffix":null,"hoverPaddingTopSuffix":null,"hoverPaddingRightSuffix":null,"hoverPaddingBottomSuffix":null,"hoverPaddingLeftSuffix":null,"tempHoverPaddingSuffix":null,"tempHoverPaddingTopSuffix":null,"tempHoverPaddingRightSuffix":null,"tempHoverPaddingBottomSuffix":null,"tempHoverPaddingLeftSuffix":null,"marginType":"grouped","margin":0,"marginTop":0,"marginRight":0,"marginBottom":0,"marginLeft":0,"marginSuffix":"px","marginTopSuffix":"px","marginRightSuffix":"px","marginBottomSuffix":"px","marginLeftSuffix":"px","customClassName":"","customCSS":"","customID":"","cssIDPopulation":"","cssClassPopulation":"","tabletBorderStyle":null,"tempTabletBorderStyle":null,"tabletBorderWidthType":null,"tabletBorderWidth":null,"tabletBorderTopWidth":null,"tabletBorderRightWidth":null,"tabletBorderBottomWidth":null,"tabletBorderLeftWidth":null,"tempTabletBorderWidth":null,"tempTabletBorderTopWidth":null,"tempTabletBorderRightWidth":null,"tempTabletBorderBottomWidth":null,"tempTabletBorderLeftWidth":null,"tabletBorderRadiusType":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomLeftRadius":null,"tabletBorderBottomRightRadius":null,"tempTabletBorderRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tempTabletBorderBottomRightRadius":null,"tabletBgColorType":null,"tabletGradientStartPointer":null,"tabletGradientFinishPointer":null,"tabletGradientActivePointer":null,"tabletGradientType":null,"tabletGradientLinearDegree":null,"tabletGradientRadialDegree":null,"tabletBgColorHex":null,"tabletBgColorOpacity":null,"tabletBgColorPalette":null,"tempTabletBgColorOpacity":null,"tempTabletBgColorPalette":null,"tabletGradientColorHex":null,"tabletGradientColorOpacity":null,"tabletGradientColorPalette":null,"tempTabletGradientColorOpacity":null,"tempTabletGradientColorPalette":null,"tabletBorderColorHex":null,"tabletBorderColorOpacity":null,"tabletBorderColorPalette":null,"tempTabletBorderColorOpacity":null,"tempTabletBorderColorPalette":null,"tabletBoxShadow":null,"tempTabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"tabletColumnsHeightStyle":null,"tabletColumnsHeight":null,"tabletColumnsHeightSuffix":null,"tabletPaddingType":"ungrouped","tempTabletPaddingType":"ungrouped","tabletPadding":0,"tabletPaddingTop":0,"tabletPaddingRight":0,"tabletPaddingBottom":0,"tabletPaddingLeft":0,"tempTabletPadding":0,"tempTabletPaddingTop":0,"tempTabletPaddingRight":0,"tempTabletPaddingBottom":0,"tempTabletPaddingLeft":0,"tabletPaddingSuffix":"px","tabletPaddingTopSuffix":"px","tabletPaddingRightSuffix":"px","tabletPaddingBottomSuffix":"px","tabletPaddingLeftSuffix":"px","tempTabletPaddingSuffix":"px","tempTabletPaddingTopSuffix":"px","tempTabletPaddingRightSuffix":"px","tempTabletPaddingBottomSuffix":"px","tempTabletPaddingLeftSuffix":"px","tabletMarginType":"grouped","tabletMargin":0,"tabletMarginTop":10,"tabletMarginRight":0,"tabletMarginBottom":10,"tabletMarginLeft":0,"tabletMarginSuffix":"px","tabletMarginTopSuffix":"px","tabletMarginRightSuffix":"px","tabletMarginBottomSuffix":"px","tabletMarginLeftSuffix":"px","mobileReverseColumns":"off","mobileBgColorType":null,"mobileGradientStartPointer":null,"mobileGradientFinishPointer":null,"mobileGradientActivePointer":null,"mobileGradientType":null,"mobileGradientLinearDegree":null,"mobileGradientRadialDegree":null,"mobileBgColorHex":null,"mobileBgColorOpacity":null,"mobileBgColorPalette":null,"tempMobileBgColorOpacity":null,"tempMobileBgColorPalette":null,"mobileGradientColorHex":null,"mobileGradientColorOpacity":null,"mobileGradientColorPalette":null,"tempMobileGradientColorOpacity":null,"tempMobileGradientColorPalette":null,"mobileBorderStyle":null,"tempMobileBorderStyle":null,"mobileBorderWidthType":null,"mobileBorderWidth":null,"mobileBorderTopWidth":null,"mobileBorderRightWidth":null,"mobileBorderBottomWidth":null,"mobileBorderLeftWidth":null,"tempMobileBorderWidth":null,"tempMobileBorderTopWidth":null,"tempMobileBorderRightWidth":null,"tempMobileBorderBottomWidth":null,"tempMobileBorderLeftWidth":null,"mobileBorderRadiusType":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomLeftRadius":null,"mobileBorderBottomRightRadius":null,"tempMobileBorderRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"tempMobileBorderBottomRightRadius":null,"mobileBorderColorHex":null,"mobileBorderColorOpacity":null,"mobileBorderColorPalette":null,"tempMobileBorderColorOpacity":null,"tempMobileBorderColorPalette":null,"mobileBoxShadow":null,"tempMobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null,"mobileColumnsHeightStyle":null,"mobileColumnsHeight":null,"mobileColumnsHeightSuffix":null,"mobilePaddingType":"ungrouped","tempMobilePaddingType":"ungrouped","mobilePadding":0,"mobilePaddingTop":0,"mobilePaddingRight":0,"mobilePaddingBottom":0,"mobilePaddingLeft":0,"tempMobilePadding":0,"tempMobilePaddingTop":0,"tempMobilePaddingRight":0,"tempMobilePaddingBottom":0,"tempMobilePaddingLeft":0,"mobilePaddingSuffix":"px","mobilePaddingTopSuffix":"px","mobilePaddingRightSuffix":"px","mobilePaddingBottomSuffix":"px","mobilePaddingLeftSuffix":"px","tempMobilePaddingSuffix":"px","tempMobilePaddingTopSuffix":"px","tempMobilePaddingRightSuffix":"px","tempMobilePaddingBottomSuffix":"px","tempMobilePaddingLeftSuffix":"px","mobileMarginType":"grouped","mobileMargin":0,"mobileMarginTop":10,"mobileMarginRight":0,"mobileMarginBottom":10,"mobileMarginLeft":0,"mobileMarginSuffix":"px","mobileMarginTopSuffix":"px","mobileMarginRightSuffix":"px","mobileMarginBottomSuffix":"px","mobileMarginLeftSuffix":"px"}}')},function(e){e.exports=JSON.parse('{"//3":"La Box Shadow Color nu lucreaza corect ar trebui de adaugat in ca un key","//4":"La animation tot trebuei de uitata. In general in modulelemai noi trebuei de uitata la tot","//5":"Poate la tablet si mobile trebuei sa fie grouped: \\"tabletMarginType\\": \\"ungrouped\\",","//6":"Valorile papaddign tablet si mobile sunt corecte ???? si de ce sunt diferite???","//7":"Valorile margin tablet si mobile sunt corecte ???? si de ce sunt diferite???","//8":" \\"tempMobilePadding\\": 10, \\"tempMobilePaddingRight\\": 10, \\"tempMobilePaddingBottom\\": 10, \\"tempMobilePaddingLeft\\": 10, -- se foloseste in functia de desktop de a sybcroniza cu alte devices tablet sau mobile mai multe detalii se pot gasi in onChangeBgColorHexAndOpacityColumnAndRowSyncTablet ","content":{"width":50,"tagName":"div","media":"image","brightness":100,"hue":0,"saturation":100,"contrast":100,"bgImageWidth":0,"bgImageHeight":0,"bgImageSrc":"","bgPositionY":50,"bgPositionX":50,"bgPopulation":"","bgImageExtension":"","bgVideo":"","bgVideoLoop":"off","bgMapAddress":"Wall Street","bgMapZoom":15,"hoverMedia":"image","hoverBrightness":null,"hoverHue":null,"hoverSaturation":null,"hoverContrast":null,"hoverBgImageWidth":null,"hoverBgImageHeight":null,"hoverBgImageSrc":null,"hoverBgPositionY":null,"hoverBgPositionX":null,"hoverBgPopulation":null,"hoverBgImageExtension":null,"tabletWidth":null,"tabletMedia":"image","tabletBgImageWidth":null,"tabletBgImageHeight":null,"tabletBgImageSrc":null,"tabletBgPositionX":null,"tabletBgPositionY":null,"tabletBgPopulation":null,"tabletBgImageExtension":null,"tabletBrightness":null,"tabletHue":null,"tabletSaturation":null,"tabletContrast":null,"tabletBgMapZoom":null,"mobileWidth":100,"mobileMedia":"image","mobileBgImageWidth":null,"mobileBgImageHeight":null,"mobileBgImageSrc":null,"mobileBgPositionX":null,"mobileBgPositionY":null,"mobileBgPopulation":null,"mobileBgImageExtension":null,"mobileBrightness":null,"mobileHue":null,"mobileSaturation":null,"mobileContrast":null,"mobileBgMapZoom":null,"showOnDesktop":"on","zIndex":0,"hoverZIndex":null,"items":[],"popups":[],"showOnTablet":"on","tabletZIndex":null,"tabletPopups":[],"showOnMobile":"on","mobileZIndex":null,"mobilePopups":[]},"link":{"linkType":"external","linkExternal":"","linkAnchor":"","linkExternalBlank":"off","linkExternalRel":"off","linkExternalType":"linkExternal","linkPopulation":"","linkUpload":"","linkPopup":"","tabletLinkType":null,"tabletLinkPopup":null,"mobileLinkType":null,"mobileLinkPopup":null},"toolbar":{"tabsState":"","tabsCurrentElement":"","tabsColor":"","tabletTabsState":null,"tabletTabsColor":null,"mobileTabsState":null,"mobileTabsColor":null},"style":{"className":"","borderStyle":"solid","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":4,"tempBorderTopWidth":4,"tempBorderRightWidth":4,"tempBorderBottomWidth":4,"tempBorderLeftWidth":4,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"bgColorType":"solid","gradientActivePointer":"startPointer","gradientStartPointer":0,"gradientFinishPointer":100,"gradientType":"linear","gradientLinearDegree":90,"gradientRadialDegree":90,"hoverBgColorType":null,"hoverGradientActivePointer":null,"hoverGradientStartPointer":null,"hoverGradientFinishPointer":null,"hoverGradientType":null,"hoverGradientLinearDegree":null,"hoverGradientRadialDegree":null,"bgColorHex":"#000000","bgColorOpacity":0,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","hoverBgColorHex":null,"hoverBgColorOpacity":null,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":null,"tempHoverBgColorPalette":null,"gradientColorHex":"#009900","gradientColorOpacity":1,"gradientColorPalette":"","tempGradientColorOpacity":1,"tempGradientColorPalette":"","hoverGradientColorHex":null,"hoverGradientColorOpacity":null,"hoverGradientColorPalette":null,"tempHoverGradientColorOpacity":null,"tempHoverGradientColorPalette":null,"borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"hoverTransition":50,"verticalAlign":"top","paddingType":"ungrouped","tempPaddingType":"ungrouped","padding":15,"paddingTop":5,"paddingRight":15,"paddingBottom":5,"paddingLeft":15,"tempPadding":15,"tempPaddingTop":5,"tempPaddingRight":15,"tempPaddingBottom":5,"tempPaddingLeft":15,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPaddingSuffix":"px","tempPaddingTopSuffix":"px","tempPaddingRightSuffix":"px","tempPaddingBottomSuffix":"px","tempPaddingLeftSuffix":"px","hoverPaddingType":null,"tempHoverPaddingType":null,"hoverPadding":null,"hoverPaddingTop":null,"hoverPaddingRight":null,"hoverPaddingBottom":null,"hoverPaddingLeft":null,"tempHoverPadding":null,"tempHoverPaddingTop":null,"tempHoverPaddingRight":null,"tempHoverPaddingBottom":null,"tempHoverPaddingLeft":null,"hoverPaddingSuffix":null,"hoverPaddingTopSuffix":null,"hoverPaddingRightSuffix":null,"hoverPaddingBottomSuffix":null,"hoverPaddingLeftSuffix":null,"tempHoverPaddingSuffix":null,"tempHoverPaddingTopSuffix":null,"tempHoverPaddingRightSuffix":null,"tempHoverPaddingBottomSuffix":null,"tempHoverPaddingLeftSuffix":null,"marginType":"grouped","margin":0,"marginTop":0,"marginRight":0,"marginBottom":0,"marginLeft":0,"marginSuffix":"px","marginTopSuffix":"px","marginRightSuffix":"px","marginBottomSuffix":"px","marginLeftSuffix":"px","customClassName":"","customCSS":"","customID":"","cssIDPopulation":"","cssClassPopulation":"","tabletBorderStyle":null,"tempTabletBorderStyle":null,"tabletBorderWidthType":null,"tabletBorderWidth":null,"tabletBorderTopWidth":null,"tabletBorderRightWidth":null,"tabletBorderBottomWidth":null,"tabletBorderLeftWidth":null,"tempTabletBorderWidth":null,"tempTabletBorderTopWidth":null,"tempTabletBorderRightWidth":null,"tempTabletBorderBottomWidth":null,"tempTabletBorderLeftWidth":null,"tabletBorderRadiusType":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomLeftRadius":null,"tabletBorderBottomRightRadius":null,"tempTabletBorderRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tempTabletBorderBottomRightRadius":null,"tabletBgColorType":null,"tabletGradientStartPointer":null,"tabletGradientFinishPointer":null,"tabletGradientActivePointer":null,"tabletGradientType":null,"tabletGradientLinearDegree":null,"tabletGradientRadialDegree":null,"tabletBgColorHex":null,"tabletBgColorOpacity":null,"tabletBgColorPalette":null,"tempTabletBgColorOpacity":null,"tempTabletBgColorPalette":null,"tabletGradientColorHex":null,"tabletGradientColorOpacity":null,"tabletGradientColorPalette":null,"tempTabletGradientColorOpacity":null,"tempTabletGradientColorPalette":null,"tabletBorderColorHex":null,"tabletBorderColorOpacity":null,"tabletBorderColorPalette":null,"tempTabletBorderColorOpacity":null,"tempTabletBorderColorPalette":null,"tabletBoxShadow":null,"tempTabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"tabletVerticalAlign":null,"tabletPaddingType":"ungrouped","tempTabletPaddingType":"ungrouped","tabletPadding":15,"tabletPaddingTop":5,"tabletPaddingRight":15,"tabletPaddingBottom":5,"tabletPaddingLeft":15,"tempTabletPadding":15,"tempTabletPaddingTop":5,"tempTabletPaddingRight":15,"tempTabletPaddingBottom":5,"tempTabletPaddingLeft":15,"tabletPaddingSuffix":"px","tabletPaddingTopSuffix":"px","tabletPaddingRightSuffix":"px","tabletPaddingBottomSuffix":"px","tabletPaddingLeftSuffix":"px","tempTabletPaddingSuffix":"px","tempTabletPaddingTopSuffix":"px","tempTabletPaddingRightSuffix":"px","tempTabletPaddingBottomSuffix":"px","tempTabletPaddingLeftSuffix":"px","tabletMarginType":"ungrouped","tabletMargin":0,"tabletMarginTop":0,"tabletMarginRight":0,"tabletMarginBottom":0,"tabletMarginLeft":0,"tabletMarginSuffix":"px","tabletMarginTopSuffix":"px","tabletMarginRightSuffix":"px","tabletMarginBottomSuffix":"px","tabletMarginLeftSuffix":"px","mobileBgColorType":null,"mobileGradientStartPointer":null,"mobileGradientFinishPointer":null,"mobileGradientActivePointer":null,"mobileGradientType":null,"mobileGradientLinearDegree":null,"mobileGradientRadialDegree":null,"mobileBgColorHex":null,"mobileBgColorOpacity":null,"mobileBgColorPalette":null,"tempMobileBgColorOpacity":null,"tempMobileBgColorPalette":null,"mobileGradientColorHex":null,"mobileGradientColorOpacity":null,"mobileGradientColorPalette":null,"tempMobileGradientColorOpacity":null,"tempMobileGradientColorPalette":null,"mobileBorderStyle":null,"tempMobileBorderStyle":null,"mobileBorderWidthType":null,"mobileBorderWidth":null,"mobileBorderTopWidth":null,"mobileBorderRightWidth":null,"mobileBorderBottomWidth":null,"mobileBorderLeftWidth":null,"tempMobileBorderWidth":null,"tempMobileBorderTopWidth":null,"tempMobileBorderRightWidth":null,"tempMobileBorderBottomWidth":null,"tempMobileBorderLeftWidth":null,"mobileBorderRadiusType":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomLeftRadius":null,"mobileBorderBottomRightRadius":null,"tempMobileBorderRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"tempMobileBorderBottomRightRadius":null,"mobileBorderColorHex":null,"mobileBorderColorOpacity":null,"mobileBorderColorPalette":null,"tempMobileBorderColorOpacity":null,"tempMobileBorderColorPalette":null,"mobileBoxShadow":null,"tempMobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null,"mobileVerticalAlign":null,"mobilePaddingType":"ungrouped","tempMobilePaddingType":"ungrouped","mobilePadding":0,"mobilePaddingTop":0,"mobilePaddingRight":0,"mobilePaddingBottom":0,"mobilePaddingLeft":0,"tempMobilePadding":0,"tempMobilePaddingTop":0,"tempMobilePaddingRight":0,"tempMobilePaddingBottom":0,"tempMobilePaddingLeft":0,"mobilePaddingSuffix":"px","mobilePaddingTopSuffix":"px","mobilePaddingRightSuffix":"px","mobilePaddingBottomSuffix":"px","mobilePaddingLeftSuffix":"px","tempMobilePaddingSuffix":"px","tempMobilePaddingTopSuffix":"px","tempMobilePaddingRightSuffix":"px","tempMobilePaddingBottomSuffix":"px","tempMobilePaddingLeftSuffix":"px","mobileMarginType":"ungrouped","mobileMargin":10,"mobileMarginTop":10,"mobileMarginRight":0,"mobileMarginBottom":10,"mobileMarginLeft":0,"mobileMarginSuffix":"px","mobileMarginTopSuffix":"px","mobileMarginRightSuffix":"px","mobileMarginBottomSuffix":"px","mobileMarginLeftSuffix":"px"},"animation":{"animationName":"none","tempAnimationName":"none","animationDuration":1000,"animationDelay":1000}}')},function(e){e.exports=JSON.parse('{"content":{"messageSuccess":"","messageError":"","messageRedirect":"","items":[]},"style":{"horizontalAlign":"left","customCSS":"","tabletHorizontalAlign":null,"mobileHorizontalAlign":null}}')},function(e){e.exports=JSON.parse('{"content":{"items":[]},"style":{"fontStyle":"","fontFamilyType":"google","families":{"fontFamily":"noto_serif"},"fontSize":16,"fontWeight":400,"lineHeight":1.5,"letterSpacing":0,"colorHex":"#73777f","colorOpacity":0.7,"colorPalette":"","tempColorOpacity":0.7,"tempColorPalette":"color8","bgColorType":"solid","bgColorHex":"#ffffff","bgColorOpacity":1,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","borderColorHex":"#dcdee1","borderColorOpacity":1,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","size":"medium","padding":15,"paddingTop":0,"paddingRight":15,"paddingBottom":15,"paddingLeft":15,"borderRadiusType":"square","fillType":"filled","tempFillType":"filled","borderRadius":0,"borderStyle":"solid","tempBorderStyle":"solid","borderWidthType":"grouped","borderWidth":1,"borderTopWidth":1,"borderRightWidth":1,"borderBottomWidth":1,"borderLeftWidth":1,"tempBorderWidth":1,"tempBorderTopWidth":1,"tempBorderRightWidth":1,"tempBorderBottomWidth":1,"tempBorderLeftWidth":1,"borderTopLeftRadius":0,"borderTopRightRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"borderBottomLeftRadius":0,"borderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"tempBorderBottomRightRadius":0,"tabletFontStyle":"","tabletFontSize":14,"tabletLineHeight":1.5,"tabletLetterSpacing":0,"tabletFontWeight":400,"tabletBorderRadius":null,"tabletPadding":null,"tabletPaddingTop":null,"tabletPaddingRight":null,"tabletPaddingBottom":null,"tabletPaddingLeft":null,"mobileFontStyle":"","mobileFontSize":14,"mobileLineHeight":1.5,"mobileFontWeight":400,"mobileLetterSpacing":0,"mobileBorderRadius":null,"mobilePadding":null,"mobilePaddingTop":null,"mobilePaddingRight":null,"mobilePaddingBottom":null,"mobilePaddingLeft":null}}')},function(e){e.exports=JSON.parse('{"content":{"type":"Text","label":"Enter Text","labelType":"inside","required":"off","options":["Option 1","Option 2"]},"style":{"width":100,"height":165,"tabletWidth":null,"tabletHeight":null,"mobileWidth":null,"mobileHeight":null}}')},function(e){e.exports=JSON.parse('{"content":{"messageSuccess":"","messageError":"","messageRedirect":"","items":[]},"style":{"horizontalAlign":"left","label":"off","placeholder":"on","width":50,"submitWidth":100,"padding":15,"paddingTop":0,"paddingRight":15,"paddingBottom":15,"paddingLeft":15,"tempPadding":15,"tempPaddingTop":0,"tempPaddingRight":15,"tempPaddingBottom":15,"tempPaddingLeft":15,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPaddingSuffix":"px","tempPaddingTopSuffix":"px","tempPaddingRightSuffix":"px","tempPaddingBottomSuffix":"px","tempPaddingLeftSuffix":"px","tabletHorizontalAlign":null,"tabletWidth":null,"tabletSubmitWidth":null,"tabletPaddingType":"ungrouped","tempTabletPaddingType":"ungrouped","tabletPadding":null,"tabletPaddingTop":null,"tabletPaddingRight":null,"tabletPaddingBottom":null,"tabletPaddingLeft":null,"tempTabletPadding":null,"tempTabletPaddingTop":null,"tempTabletPaddingRight":null,"tempTabletPaddingBottom":null,"tempTabletPaddingLeft":null,"tabletPaddingSuffix":"px","tabletPaddingTopSuffix":"px","tabletPaddingRightSuffix":"px","tabletPaddingBottomSuffix":"px","tabletPaddingLeftSuffix":"px","tempTabletPaddingSuffix":"px","tempTabletPaddingTopSuffix":"px","tempTabletPaddingRightSuffix":"px","tempTabletPaddingBottomSuffix":"px","tempTabletPaddingLeftSuffix":"px","mobileHorizontalAlign":null,"mobileSubmitWidth":null,"mobilePaddingType":"ungrouped","tempMobilePaddingType":"ungrouped","mobilePadding":null,"mobilePaddingTop":null,"mobilePaddingRight":null,"mobilePaddingBottom":null,"mobilePaddingLeft":null,"tempMobilePadding":null,"tempMobilePaddingTop":null,"tempMobilePaddingRight":null,"tempMobilePaddingBottom":null,"tempMobilePaddingLeft":null,"mobilePaddingSuffix":"px","mobilePaddingTopSuffix":"px","mobilePaddingRightSuffix":"px","mobilePaddingBottomSuffix":"px","mobilePaddingLeftSuffix":"px","tempMobilePaddingSuffix":"px","tempMobilePaddingTopSuffix":"px","tempMobilePaddingRightSuffix":"px","tempMobilePaddingBottomSuffix":"px","tempMobilePaddingLeftSuffix":"px"}}')},function(e){e.exports=JSON.parse('{"content":{"items":[]},"toolbar":{"tabsState":"","tabsColor":"","tabsSelectState":"","tabsSelectColor":""},"style":{"families":{"fontFamily":"noto_serif","tabletFontFamily":null,"mobileFontFamily":null,"labelFontFamily":"noto_serif","tabletLabelFontFamily":null,"mobileLabelFontFamily":null,"checkboxFontFamily":"noto_serif","tabletCheckboxFontFamily":null,"mobileCheckboxFontFamily":null},"size":"medium","sizeLargePadding":20,"sizeMediumPadding":14,"sizeSmallPadding":10,"paddingType":"ungrouped","tempPaddingType":"ungrouped","padding":14,"paddingTop":14,"paddingRight":24,"paddingBottom":14,"paddingLeft":24,"tempPadding":15,"tempPaddingTop":14,"tempPaddingRight":24,"tempPaddingBottom":14,"tempPaddingLeft":24,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPaddingSuffix":"px","tempPaddingTopSuffix":"px","tempPaddingRightSuffix":"px","tempPaddingBottomSuffix":"px","tempPaddingLeftSuffix":"px","hoverPaddingType":null,"tempHoverPaddingType":null,"hoverPadding":null,"hoverPaddingTop":null,"hoverPaddingRight":null,"hoverPaddingBottom":null,"hoverPaddingLeft":null,"tempHoverPadding":null,"tempHoverPaddingTop":null,"tempHoverPaddingRight":null,"tempHoverPaddingBottom":null,"tempHoverPaddingLeft":null,"hoverPaddingSuffix":null,"hoverPaddingTopSuffix":null,"hoverPaddingRightSuffix":null,"hoverPaddingBottomSuffix":null,"hoverPaddingLeftSuffix":null,"tempHoverPaddingSuffix":null,"tempHoverPaddingTopSuffix":null,"tempHoverPaddingRightSuffix":null,"tempHoverPaddingBottomSuffix":null,"tempHoverPaddingLeftSuffix":null,"labelFontStyle":"","labelFontFamilyType":"google","labelFontSize":16,"labelFontWeight":400,"labelLineHeight":1.5,"labelLetterSpacing":0,"labelHorizontalAlign":"left","labelColorHex":"#73777f","labelColorOpacity":0.7,"labelColorPalette":"","tempLabelColorOpacity":0.7,"tempLabelColorPalette":"","labelPaddingType":"ungrouped","tempLabelPaddingType":"ungrouped","labelPadding":5,"labelPaddingTop":0,"labelPaddingRight":0,"labelPaddingBottom":5,"labelPaddingLeft":0,"tempLabelPadding":5,"tempLabelPaddingTop":0,"tempLabelPaddingRight":0,"tempLabelPaddingBottom":5,"tempLabelPaddingLeft":0,"labelPaddingSuffix":"px","labelPaddingTopSuffix":"px","labelPaddingRightSuffix":"px","labelPaddingBottomSuffix":"px","labelPaddingLeftSuffix":"px","tempLabelPaddingSuffix":"px","tempLabelPaddingTopSuffix":"px","tempLabelPaddingRightSuffix":"px","tempLabelPaddingBottomSuffix":"px","tempLabelPaddingLeftSuffix":"px","hoverLabelPaddingType":null,"tempHoverLabelPaddingType":null,"hoverLabelPadding":null,"hoverLabelPaddingTop":null,"hoverLabelPaddingRight":null,"hoverLabelPaddingBottom":null,"hoverLabelPaddingLeft":null,"tempHoverLabelPadding":null,"tempHoverLabelPaddingTop":null,"tempHoverLabelPaddingRight":null,"tempHoverLabelPaddingBottom":null,"tempHoverLabelPaddingLeft":null,"hoverLabelPaddingSuffix":null,"hoverLabelPaddingTopSuffix":null,"hoverLabelPaddingRightSuffix":null,"hoverLabelPaddingBottomSuffix":null,"hoverLabelPaddingLeftSuffix":null,"tempHoverLabelPaddingSuffix":null,"tempHoverLabelPaddingTopSuffix":null,"tempHoverLabelPaddingRightSuffix":null,"tempHoverLabelPaddingBottomSuffix":null,"tempHoverLabelPaddingLeftSuffix":null,"fontStyle":"","fontFamilyType":"google","fontSize":18,"fontWeight":400,"lineHeight":1.5,"letterSpacing":0,"colorHex":"#73777f","colorOpacity":0.7,"colorPalette":"","tempColorOpacity":0.7,"tempColorPalette":"","hoverColorHex":null,"hoverColorOpacity":null,"hoverColorPalette":null,"tempHoverColorOpacity":null,"tempHoverColorPalette":null,"checkboxColorHex":"#73777f","checkboxColorOpacity":0.7,"checkboxColorPalette":"","tempCheckboxColorOpacity":0.7,"tempCheckboxColorPalette":"","checkboxFontStyle":"","checkboxFontFamilyType":"google","checkboxFontSize":16,"checkboxFontWeight":400,"checkboxLineHeight":1.5,"checkboxLetterSpacing":0,"selectColorHex":"#73777f","selectColorOpacity":0.7,"selectColorPalette":"","tempSelectColorOpacity":0.7,"tempSelectColorPalette":"","hoverSelectColorHex":null,"hoverSelectColorOpacity":null,"hoverSelectColorPalette":null,"tempHoverSelectColorOpacity":null,"tempHoverSelectColorPalette":null,"selectBgColorType":"solid","hoverSelectBgColorType":null,"selectBgColorHex":"#ffffff","selectBgColorOpacity":1,"selectBgColorPalette":"","tempSelectBgColorOpacity":1,"tempSelectBgColorPalette":"","hoverSelectBgColorHex":null,"hoverSelectBgColorOpacity":null,"hoverSelectBgColorPalette":null,"tempHoverSelectBgColorOpacity":null,"tempHoverSelectBgColorPalette":null,"selectBoxShadow":"","tempSelectBoxShadow":"on","selectBoxShadowColorHex":"#000000","selectBoxShadowColorOpacity":1,"selectBoxShadowColorPalette":"","tempSelectBoxShadowColorOpacity":1,"tempSelectBoxShadowColorPalette":"","selectBoxShadowBlur":0,"selectBoxShadowSpread":0,"selectBoxShadowVertical":0,"selectBoxShadowHorizontal":0,"tempSelectBoxShadowBlur":4,"tempSelectBoxShadowSpread":0,"tempSelectBoxShadowVertical":2,"tempSelectBoxShadowHorizontal":1,"hoverSelectBoxShadow":null,"tempHoverSelectBoxShadow":null,"hoverSelectBoxShadowColorHex":null,"hoverSelectBoxShadowColorOpacity":null,"hoverSelectBoxShadowColorPalette":null,"tempHoverSelectBoxShadowColorPalette":null,"tempHoverSelectBoxShadowColorOpacity":null,"hoverSelectBoxShadowBlur":null,"hoverSelectBoxShadowSpread":null,"hoverSelectBoxShadowVertical":null,"hoverSelectBoxShadowHorizontal":null,"tempHoverSelectBoxShadowBlur":null,"tempHoverSelectBoxShadowSpread":null,"tempHoverSelectBoxShadowVertical":null,"tempHoverSelectBoxShadowHorizontal":null,"selectBorderColorHex":"#dcdee1","selectBorderColorOpacity":1,"selectBorderColorPalette":"","tempSelectBorderColorOpacity":1,"tempSelectBorderColorPalette":"","hoverSelectBorderColorHex":null,"hoverSelectBorderColorOpacity":null,"hoverSelectBorderColorPalette":null,"tempHoverSelectBorderColorOpacity":null,"tempHoverSelectBorderColorPalette":null,"selectBorderStyle":"solid","tempSelectBorderStyle":"solid","hoverSelectBorderStyle":null,"tempHoverSelectBorderStyle":null,"selectBorderWidthType":"grouped","selectBorderWidth":1,"selectBorderTopWidth":1,"selectBorderRightWidth":1,"selectBorderBottomWidth":1,"selectBorderLeftWidth":1,"tempSelectBorderWidth":1,"tempSelectBorderTopWidth":1,"tempSelectBorderRightWidth":1,"tempSelectBorderBottomWidth":1,"tempSelectBorderLeftWidth":1,"hoverSelectBorderWidthType":null,"hoverSelectBorderWidth":null,"hoverSelectBorderTopWidth":null,"hoverSelectBorderRightWidth":null,"hoverSelectBorderBottomWidth":null,"hoverSelectBorderLeftWidth":null,"tempHoverSelectBorderWidth":null,"tempHoverSelectBorderTopWidth":null,"tempHoverSelectBorderRightWidth":null,"tempHoverSelectBorderBottomWidth":null,"tempHoverSelectBorderLeftWidth":null,"selectBorderRadiusType":"grouped","selectBorderRadius":0,"selectBorderTopLeftRadius":0,"selectBorderTopRightRadius":0,"selectBorderBottomRightRadius":0,"selectBorderBottomLeftRadius":0,"tempSelectBorderRadius":0,"tempSelectBorderTopLeftRadius":0,"tempSelectBorderTopRightRadius":0,"tempSelectBorderBottomRightRadius":0,"tempSelectBorderBottomLeftRadius":0,"hoverSelectBorderRadiusType":null,"hoverSelectBorderRadius":null,"hoverSelectBorderTopLeftRadius":null,"hoverSelectBorderTopRightRadius":null,"hoverSelectBorderBottomRightRadius":null,"hoverSelectBorderBottomLeftRadius":null,"tempHoverSelectBorderRadius":null,"tempHoverSelectBorderTopLeftRadius":null,"tempHoverSelectBorderTopRightRadius":null,"tempHoverSelectBorderBottomRightRadius":null,"tempHoverSelectBorderBottomLeftRadius":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"bgColorType":"solid","hoverBgColorType":null,"bgColorHex":"#ffffff","bgColorOpacity":1,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","hoverBgColorHex":null,"hoverBgColorOpacity":null,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":null,"tempHoverBgColorPalette":null,"borderStyle":"solid","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":1,"borderTopWidth":1,"borderRightWidth":1,"borderBottomWidth":1,"borderLeftWidth":1,"tempBorderWidth":1,"tempBorderTopWidth":1,"tempBorderRightWidth":1,"tempBorderBottomWidth":1,"tempBorderLeftWidth":1,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"borderColorHex":"#dcdee1","borderColorOpacity":1,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"hoverTransition":50,"tabletSize":"medium","tabletSizeLargePadding":20,"tabletSizeMediumPadding":14,"tabletSizeSmallPadding":10,"tabletLabelFontFamilyType":null,"tabletLabelFontStyle":"","tabletLabelFontSize":14,"tabletLabelLineHeight":1.5,"tabletLabelFontWeight":400,"tabletLabelLetterSpacing":0,"tabletLabelHorizontalAlign":null,"tabletFontFamilyType":null,"tabletFontStyle":"","tabletFontSize":14,"tabletLineHeight":1.5,"tabletLetterSpacing":0,"tabletFontWeight":400,"tabletCheckboxFontFamilyType":null,"tabletCheckboxFontStyle":"","tabletCheckboxFontSize":14,"tabletCheckboxLineHeight":1.5,"tabletCheckboxFontWeight":400,"tabletCheckboxLetterSpacing":0,"tabletPaddingType":"ungrouped","tempTabletPaddingType":"ungrouped","tabletPadding":14,"tabletPaddingTop":14,"tabletPaddingRight":24,"tabletPaddingBottom":14,"tabletPaddingLeft":24,"tempTabletPadding":14,"tempTabletPaddingTop":14,"tempTabletPaddingRight":24,"tempTabletPaddingBottom":14,"tempTabletPaddingLeft":24,"tabletPaddingSuffix":"px","tabletPaddingTopSuffix":"px","tabletPaddingRightSuffix":"px","tabletPaddingBottomSuffix":"px","tabletPaddingLeftSuffix":"px","tempTabletPaddingSuffix":"px","tempTabletPaddingTopSuffix":"px","tempTabletPaddingRightSuffix":"px","tempTabletPaddingBottomSuffix":"px","tempTabletPaddingLeftSuffix":"px","tabletHoverPaddingType":null,"tempTabletHoverPaddingType":null,"tabletHoverPadding":null,"tabletHoverPaddingTop":null,"tabletHoverPaddingRight":null,"tabletHoverPaddingBottom":null,"tabletHoverPaddingLeft":null,"tempTabletHoverPadding":null,"tempTabletHoverPaddingTop":null,"tempTabletHoverPaddingRight":null,"tempTabletHoverPaddingBottom":null,"tempTabletHoverPaddingLeft":null,"tabletHoverPaddingSuffix":null,"tabletHoverPaddingTopSuffix":null,"tabletHoverPaddingRightSuffix":null,"tabletHoverPaddingBottomSuffix":null,"tabletHoverPaddingLeftSuffix":null,"tempTabletHoverPaddingSuffix":null,"tempTabletHoverPaddingTopSuffix":null,"tempTabletHoverPaddingRightSuffix":null,"tempTabletHoverPaddingBottomSuffix":null,"tempTabletHoverPaddingLeftSuffix":null,"tabletLabelPaddingType":"ungrouped","tempTabletLabelPaddingType":"ungrouped","tabletLabelPadding":5,"tabletLabelPaddingTop":0,"tabletLabelPaddingRight":0,"tabletLabelPaddingBottom":5,"tabletLabelPaddingLeft":0,"tempTabletLabelPadding":5,"tempTabletLabelPaddingTop":0,"tempTabletLabelPaddingRight":0,"tempTabletLabelPaddingBottom":5,"tempTabletLabelPaddingLeft":0,"tabletLabelPaddingSuffix":"px","tabletLabelPaddingTopSuffix":"px","tabletLabelPaddingRightSuffix":"px","tabletLabelPaddingBottomSuffix":"px","tabletLabelPaddingLeftSuffix":"px","tempTabletLabelPaddingSuffix":"px","tempTabletLabelPaddingTopSuffix":"px","tempTabletLabelPaddingRightSuffix":"px","tempTabletLabelPaddingBottomSuffix":"px","tempTabletLabelPaddingLeftSuffix":"px","tabletHoverLabelPaddingType":null,"tempTabletHoverLabelPaddingType":null,"tabletHoverLabelPadding":null,"tabletHoverLabelPaddingTop":null,"tabletHoverLabelPaddingRight":null,"tabletHoverLabelPaddingBottom":null,"tabletHoverLabelPaddingLeft":null,"tempTabletHoverLabelPadding":null,"tempTabletHoverLabelPaddingTop":null,"tempTabletHoverLabelPaddingRight":null,"tempTabletHoverLabelPaddingBottom":null,"tempTabletHoverLabelPaddingLeft":null,"tabletHoverLabelPaddingSuffix":null,"tabletHoverLabelPaddingTopSuffix":null,"tabletHoverLabelPaddingRightSuffix":null,"tabletHoverLabelPaddingBottomSuffix":null,"tabletHoverLabelPaddingLeftSuffix":null,"tempTabletHoverLabelPaddingSuffix":null,"tempTabletHoverLabelPaddingTopSuffix":null,"tempTabletHoverLabelPaddingRightSuffix":null,"tempTabletHoverLabelPaddingBottomSuffix":null,"tempTabletHoverLabelPaddingLeftSuffix":null,"tabletBorderWidthType":null,"tabletBorderWidth":null,"tabletBorderTopWidth":null,"tabletBorderRightWidth":null,"tabletBorderBottomWidth":null,"tabletBorderLeftWidth":null,"tempTabletBorderWidth":null,"tempTabletBorderTopWidth":null,"tempTabletBorderRightWidth":null,"tempTabletBorderBottomWidth":null,"tempTabletBorderLeftWidth":null,"tabletHoverBorderWidthType":null,"tabletHoverBorderWidth":null,"tabletHoverBorderTopWidth":null,"tabletHoverBorderRightWidth":null,"tabletHoverBorderBottomWidth":null,"tabletHoverBorderLeftWidth":null,"tempTabletHoverBorderWidth":null,"tempTabletHoverBorderTopWidth":null,"tempTabletHoverBorderRightWidth":null,"tempTabletHoverBorderBottomWidth":null,"tempTabletHoverBorderLeftWidth":null,"mobileSize":"small","mobileSizeLargePadding":20,"mobileSizeMediumPadding":14,"mobileSizeSmallPadding":10,"mobileLabelFontFamilyType":null,"mobileLabelFontStyle":"","mobileLabelFontSize":14,"mobileLabelLineHeight":1.5,"mobileLabelFontWeight":400,"mobileLabelLetterSpacing":0,"mobileLabelHorizontalAlign":null,"mobileFontFamilyType":null,"mobileFontStyle":"","mobileFontSize":14,"mobileLineHeight":1.5,"mobileFontWeight":400,"mobileLetterSpacing":0,"mobileCheckboxFontFamilyType":null,"mobileCheckboxFontStyle":"","mobileCheckboxFontSize":14,"mobileCheckboxLineHeight":1.5,"mobileCheckboxFontWeight":400,"mobileCheckboxLetterSpacing":0,"mobilePaddingType":"ungrouped","tempMobilePaddingType":"ungrouped","mobileHoverPaddingType":null,"tempMobileHoverPaddingType":null,"mobilePadding":10,"mobilePaddingTop":10,"mobilePaddingRight":20,"mobilePaddingBottom":10,"mobilePaddingLeft":20,"mobileHoverPadding":null,"mobileHoverPaddingTop":null,"mobileHoverPaddingRight":null,"mobileHoverPaddingBottom":null,"mobileHoverPaddingLeft":null,"tempMobilePadding":10,"tempMobilePaddingTop":10,"tempMobilePaddingRight":20,"tempMobilePaddingBottom":10,"tempMobilePaddingLeft":20,"tempHoverMobilePadding":null,"tempHoverMobilePaddingTop":null,"tempHoverMobilePaddingRight":null,"tempHoverMobilePaddingBottom":null,"tempHoverMobilePaddingLeft":null,"mobilePaddingSuffix":"px","mobilePaddingTopSuffix":"px","mobilePaddingRightSuffix":"px","mobilePaddingBottomSuffix":"px","mobilePaddingLeftSuffix":"px","tempMobilePaddingSuffix":"px","tempMobilePaddingTopSuffix":"px","tempMobilePaddingRightSuffix":"px","tempMobilePaddingBottomSuffix":"px","tempMobilePaddingLeftSuffix":"px","mobileHoverPaddingSuffix":null,"mobileHoverPaddingTopSuffix":null,"mobileHoverPaddingRightSuffix":null,"mobileHoverPaddingBottomSuffix":null,"mobileHoverPaddingLeftSuffix":null,"tempMobileHoverPaddingSuffix":null,"tempMobileHoverPaddingTopSuffix":null,"tempMobileHoverPaddingRightSuffix":null,"tempMobileHoverPaddingBottomSuffix":null,"tempMobileHoverPaddingLeftSuffix":null,"mobileLabelPaddingType":"ungrouped","tempMobileLabelPaddingType":"ungrouped","mobileLabelPadding":5,"mobileLabelPaddingTop":0,"mobileLabelPaddingRight":0,"mobileLabelPaddingBottom":5,"mobileLabelPaddingLeft":0,"tempMobileLabelPadding":0,"tempMobileLabelPaddingTop":0,"tempMobileLabelPaddingRight":0,"tempMobileLabelPaddingBottom":0,"tempMobileLabelPaddingLeft":0,"mobileLabelPaddingSuffix":"px","mobileLabelPaddingTopSuffix":"px","mobileLabelPaddingRightSuffix":"px","mobileLabelPaddingBottomSuffix":"px","mobileLabelPaddingLeftSuffix":"px","tempMobileLabelPaddingSuffix":"px","tempMobileLabelPaddingTopSuffix":"px","tempMobileLabelPaddingRightSuffix":"px","tempMobileLabelPaddingBottomSuffix":"px","tempMobileLabelPaddingLeftSuffix":"px","mobileHoverLabelPaddingType":null,"tempMobileHoverLabelPaddingType":null,"mobileHoverLabelPadding":null,"mobileHoverLabelPaddingTop":null,"mobileHoverLabelPaddingRight":null,"mobileHoverLabelPaddingBottom":null,"mobileHoverLabelPaddingLeft":null,"tempMobileHoverLabelPadding":null,"tempMobileHoverLabelPaddingTop":null,"tempMobileHoverLabelPaddingRight":null,"tempMobileHoverLabelPaddingBottom":null,"tempMobileHoverLabelPaddingLeft":null,"mobileHoverLabelPaddingSuffix":null,"mobileHoverLabelPaddingTopSuffix":null,"mobileHoverLabelPaddingRightSuffix":null,"mobileHoverLabelPaddingBottomSuffix":null,"mobileHoverLabelPaddingLeftSuffix":null,"tempMobileHoverLabelPaddingSuffix":null,"tempMobileHoverLabelPaddingTopSuffix":null,"tempMobileHoverLabelPaddingRightSuffix":null,"tempMobileHoverLabelPaddingBottomSuffix":null,"tempMobileHoverLabelPaddingLeftSuffix":null,"mobileBorderWidthType":null,"mobileBorderWidth":null,"mobileBorderTopWidth":null,"mobileBorderRightWidth":null,"mobileBorderBottomWidth":null,"mobileBorderLeftWidth":null,"tempMobileBorderWidth":null,"tempMobileBorderTopWidth":null,"tempMobileBorderRightWidth":null,"tempMobileBorderBottomWidth":null,"tempMobileBorderLeftWidth":null,"mobileHoverBorderWidthType":null,"mobileHoverBorderWidth":null,"mobileHoverBorderTopWidth":null,"mobileHoverBorderRightWidth":null,"mobileHoverBorderBottomWidth":null,"mobileHoverBorderLeftWidth":null,"tempMobileHoverBorderWidth":null,"tempMobileHoverBorderTopWidth":null,"tempMobileHoverBorderRightWidth":null,"tempMobileHoverBorderBottomWidth":null,"tempMobileHoverBorderLeftWidth":null}}')},function(e){e.exports=JSON.parse('{"content":{"type":"Text","label":"Enter Text","placeholder":null,"labelType":"inside","required":"off","options":["Option 1","Option 2"],"nativeHtml":"off","multipleSelection":"off","fileTypes":".jpg, .png, .gif, .pdf","fileMaxSize":"1mb"},"style":{"width":100,"height":165,"min":"","max":"","columns":1,"tabletColumns":null,"tabletWidth":null,"tabletHeight":null,"mobileColumns":null,"mobileWidth":null,"mobileHeight":null}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"showToolbar":"off","showOnDesktop":"on","zIndex":0,"hoverZIndex":null,"showOnTablet":"on","tabletZIndex":null,"showOnMobile":"on","mobileZIndex":null},"style":{"className":"","horizontalAlign":"center","paddingType":"grouped","tempPaddingType":"grouped","padding":0,"paddingTop":0,"paddingRight":0,"paddingBottom":0,"paddingLeft":0,"tempPadding":0,"tempPaddingTop":0,"tempPaddingRight":0,"tempPaddingBottom":0,"tempPaddingLeft":0,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPaddingSuffix":"px","tempPaddingTopSuffix":"px","tempPaddingRightSuffix":"px","tempPaddingBottomSuffix":"px","tempPaddingLeftSuffix":"px","hoverPaddingType":null,"tempHoverPaddingType":null,"hoverPadding":null,"hoverPaddingTop":null,"hoverPaddingRight":null,"hoverPaddingBottom":null,"hoverPaddingLeft":null,"tempHoverPadding":null,"tempHoverPaddingTop":null,"tempHoverPaddingRight":null,"tempHoverPaddingBottom":null,"tempHoverPaddingLeft":null,"hoverPaddingSuffix":null,"hoverPaddingTopSuffix":null,"hoverPaddingRightSuffix":null,"hoverPaddingBottomSuffix":null,"hoverPaddingLeftSuffix":null,"tempHoverPaddingSuffix":null,"tempHoverPaddingTopSuffix":null,"tempHoverPaddingRightSuffix":null,"tempHoverPaddingBottomSuffix":null,"tempHoverPaddingLeftSuffix":null,"marginType":"ungrouped","margin":0,"marginTop":10,"marginRight":0,"marginBottom":10,"marginLeft":0,"marginSuffix":"px","marginTopSuffix":"px","marginRightSuffix":"px","marginBottomSuffix":"px","marginLeftSuffix":"px","customClassName":"","customID":"","cssIDPopulation":"","cssClassPopulation":"","tabletHorizontalAlign":null,"tabletPaddingType":"grouped","tempTabletPaddingType":"grouped","tabletPadding":0,"tabletPaddingTop":0,"tabletPaddingRight":0,"tabletPaddingBottom":0,"tabletPaddingLeft":0,"tempTabletPadding":0,"tempTabletPaddingTop":0,"tempTabletPaddingRight":0,"tempTabletPaddingBottom":0,"tempTabletPaddingLeft":0,"tabletPaddingSuffix":"px","tabletPaddingTopSuffix":"px","tabletPaddingRightSuffix":"px","tabletPaddingBottomSuffix":"px","tabletPaddingLeftSuffix":"px","tempTabletPaddingSuffix":"px","tempTabletPaddingTopSuffix":"px","tempTabletPaddingRightSuffix":"px","tempTabletPaddingBottomSuffix":"px","tempTabletPaddingLeftSuffix":"px","tabletMarginType":"ungrouped","tabletMargin":0,"tabletMarginTop":10,"tabletMarginRight":0,"tabletMarginBottom":10,"tabletMarginLeft":0,"tabletMarginSuffix":"px","tabletMarginTopSuffix":"px","tabletMarginRightSuffix":"px","tabletMarginBottomSuffix":"px","tabletMarginLeftSuffix":"px","mobileHorizontalAlign":null,"mobilePaddingType":"grouped","tempMobilePaddingType":"grouped","mobilePadding":0,"mobilePaddingTop":0,"mobilePaddingRight":0,"mobilePaddingBottom":0,"mobilePaddingLeft":0,"tempMobilePadding":0,"tempMobilePaddingTop":0,"tempMobilePaddingRight":0,"tempMobilePaddingBottom":0,"tempMobilePaddingLeft":0,"mobilePaddingSuffix":"px","mobilePaddingTopSuffix":"px","mobilePaddingRightSuffix":"px","mobilePaddingBottomSuffix":"px","mobilePaddingLeftSuffix":"px","tempMobilePaddingSuffix":"px","tempMobilePaddingTopSuffix":"px","tempMobilePaddingRightSuffix":"px","tempMobilePaddingBottomSuffix":"px","tempMobilePaddingLeftSuffix":"px","mobileMarginType":"ungrouped","mobileMargin":0,"mobileMarginTop":10,"mobileMarginRight":0,"mobileMarginBottom":10,"mobileMarginLeft":0,"mobileMarginSuffix":"px","mobileMarginTopSuffix":"px","mobileMarginRightSuffix":"px","mobileMarginBottomSuffix":"px","mobileMarginLeftSuffix":"px"},"animation":{"animationName":"none","animationDuration":1000,"animationDelay":1000,"tempAnimationName":"none"}}')},function(e){e.exports=JSON.parse('{"content":{"blockType":"div","minItems":0,"maxItems":100,"showOnDesktop":"on","zIndex":0,"hoverZIndex":null,"showOnTablet":"on","tabletZIndex":null,"showOnMobile":"on","mobileZIndex":null,"items":[]},"style":{"className":"","itemClassName":"","itemPadding":10,"itemPaddingTop":0,"itemPaddingRight":10,"itemPaddingBottom":20,"itemPaddingLeft":10,"horizontalAlign":"center","paddingType":"grouped","tempPaddingType":"grouped","padding":0,"paddingTop":0,"paddingRight":0,"paddingBottom":0,"paddingLeft":0,"tempPadding":0,"tempPaddingTop":0,"tempPaddingRight":0,"tempPaddingBottom":0,"tempPaddingLeft":0,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPaddingSuffix":"px","tempPaddingTopSuffix":"px","tempPaddingRightSuffix":"px","tempPaddingBottomSuffix":"px","tempPaddingLeftSuffix":"px","hoverPaddingType":null,"tempHoverPaddingType":null,"hoverPadding":null,"hoverPaddingTop":null,"hoverPaddingRight":null,"hoverPaddingBottom":null,"hoverPaddingLeft":null,"tempHoverPadding":null,"tempHoverPaddingTop":null,"tempHoverPaddingRight":null,"tempHoverPaddingBottom":null,"tempHoverPaddingLeft":null,"hoverPaddingSuffix":null,"hoverPaddingTopSuffix":null,"hoverPaddingRightSuffix":null,"hoverPaddingBottomSuffix":null,"hoverPaddingLeftSuffix":null,"tempHoverPaddingSuffix":null,"tempHoverPaddingTopSuffix":null,"tempHoverPaddingRightSuffix":null,"tempHoverPaddingBottomSuffix":null,"tempHoverPaddingLeftSuffix":null,"marginType":"ungrouped","margin":0,"marginTop":10,"marginRight":0,"marginBottom":10,"marginLeft":0,"marginSuffix":"px","marginTopSuffix":"px","marginRightSuffix":"px","marginBottomSuffix":"px","marginLeftSuffix":"px","customClassName":"","customID":"","cssIDPopulation":"","cssClassPopulation":"","tabletHorizontalAlign":null,"tabletItemPadding":null,"tabletItemPaddingTop":null,"tabletItemPaddingRight":null,"tabletItemPaddingBottom":null,"tabletItemPaddingLeft":null,"tabletPaddingType":"grouped","tempTabletPaddingType":"grouped","tabletPadding":0,"tabletPaddingTop":0,"tabletPaddingRight":0,"tabletPaddingBottom":0,"tabletPaddingLeft":0,"tempTabletPadding":0,"tempTabletPaddingTop":0,"tempTabletPaddingRight":0,"tempTabletPaddingBottom":0,"tempTabletPaddingLeft":0,"tabletPaddingSuffix":"px","tabletPaddingTopSuffix":"px","tabletPaddingRightSuffix":"px","tabletPaddingBottomSuffix":"px","tabletPaddingLeftSuffix":"px","tempTabletPaddingSuffix":"px","tempTabletPaddingTopSuffix":"px","tempTabletPaddingRightSuffix":"px","tempTabletPaddingBottomSuffix":"px","tempTabletPaddingLeftSuffix":"px","tabletMarginType":"ungrouped","tabletMargin":0,"tabletMarginTop":10,"tabletMarginRight":0,"tabletMarginBottom":10,"tabletMarginLeft":0,"tabletMarginSuffix":"px","tabletMarginTopSuffix":"px","tabletMarginRightSuffix":"px","tabletMarginBottomSuffix":"px","tabletMarginLeftSuffix":"px","mobileHorizontalAlign":null,"mobileItemPadding":null,"mobileItemPaddingTop":null,"mobileItemPaddingRight":null,"mobileItemPaddingBottom":null,"mobileItemPaddingLeft":null,"mobilePaddingType":"grouped","tempMobilePaddingType":"grouped","mobilePadding":0,"mobilePaddingTop":0,"mobilePaddingRight":0,"mobilePaddingBottom":0,"mobilePaddingLeft":0,"tempMobilePadding":0,"tempMobilePaddingTop":0,"tempMobilePaddingRight":0,"tempMobilePaddingBottom":0,"tempMobilePaddingLeft":0,"mobilePaddingSuffix":"px","mobilePaddingTopSuffix":"px","mobilePaddingRightSuffix":"px","mobilePaddingBottomSuffix":"px","mobilePaddingLeftSuffix":"px","tempMobilePaddingSuffix":"px","tempMobilePaddingTopSuffix":"px","tempMobilePaddingRightSuffix":"px","tempMobilePaddingBottomSuffix":"px","tempMobilePaddingLeftSuffix":"px","mobileMarginType":"ungrouped","mobileMargin":0,"mobileMarginTop":10,"mobileMarginRight":0,"mobileMarginBottom":10,"mobileMarginLeft":0,"mobileMarginSuffix":"px","mobileMarginTopSuffix":"px","mobileMarginRightSuffix":"px","mobileMarginBottomSuffix":"px","mobileMarginLeftSuffix":"px"},"animation":{"animationName":"none","animationDuration":1000,"animationDelay":1000,"tempAnimationName":"none"}}')},function(e){e.exports=JSON.parse('{"content":{"text":"<p class=\'brz-tp-paragraph\'><span class=\'brz-cp-color7\'>No matter if you\'ve used a visual page builder before, with Brizy you\'ll be a pro the second you start using it.</span></p>","popups":[]},"style":{"customCSS":""}}')},function(e){e.exports=JSON.parse('{"content":{"type":"youtube","ratio":"16:9","video":"","custom":"","videoPopulation":"","controls":"on","branding":"on","intro":"on","autoplay":"off","muted":"off","loop":"off","start":0,"end":0,"coverImageSrc":"","coverImageWidth":0,"coverImageHeight":0,"coverImageExtension":"","coverPositionY":50,"coverPositionX":50,"coverZoom":100,"tabletCoverPositionY":null,"tabletCoverPositionX":null,"mobileCoverPositionY":null,"mobileCoverPositionX":null,"tabletCoverZoom":null,"mobileCoverZoom":null},"toolbar":{"tabsState":"","tabsCurrentElement":"","tabsColor":""},"style":{"className":"","iconSize":80,"iconSizeWidth":80,"iconSizeHeight":80,"controlsIconCustomSize":16,"brightness":100,"hue":0,"saturation":100,"contrast":100,"typographyFontStyle":"","typographyFontFamilyType":"google","typographyFamilies":{"typographyFontFamily":"lato"},"typographyFontSize":16,"typographyFontWeight":400,"typographyLineHeight":1.1,"typographyLetterSpacing":0,"colorHex":"#0000ee","colorOpacity":1,"colorPalette":"","tempColorOpacity":1,"tempColorPalette":"color8","hoverColorHex":null,"hoverColorOpacity":null,"hoverColorPalette":null,"tempHoverColorOpacity":null,"tempHoverColorPalette":null,"iconControlsColorType":"solid","iconControlsColorHex":"#0000ee","iconControlsColorOpacity":1,"iconControlsColorPalette":"color2","tempIconControlsColorOpacity":1,"tempIconControlsColorPalette":"color2","hoverIconControlsColorType":null,"hoverIconControlsColorHex":null,"hoverIconControlsColorOpacity":null,"hoverIconControlsColorPalette":null,"tempHoverIconControlsColorOpacity":null,"tempHoverIconControlsColorPalette":null,"controlsBgColorType":"solid","controlsBgColorHex":"#0000ee","controlsBgColorOpacity":1,"controlsBgColorPalette":"color6","tempControlsBgColorOpacity":1,"tempControlsBgColorPalette":"color6","hoverControlsBgColorType":null,"hoverControlsBgColorHex":null,"hoverControlsBgColorOpacity":null,"hoverControlsBgColorPalette":null,"tempHoverControlsBgColorOpacity":null,"tempHoverControlsBgColorPalette":null,"bgColorType":"solid","bgColorHex":"#d62b63","bgColorOpacity":0.75,"bgColorPalette":"","tempBgColorOpacity":0.75,"tempBgColorPalette":"","hoverBgColorType":null,"hoverBgColorHex":"#239ddb","hoverBgColorOpacity":0.75,"hoverBgColorPalette":"","tempHoverBgColorOpacity":0.75,"tempHoverBgColorPalette":"","bg2ColorType":"solid","bg2ColorHex":"#05CAB6","bg2ColorOpacity":1,"bg2ColorPalette":"color3","tempBg2ColorOpacity":1,"tempBg2ColorPalette":"color3","hoverBg2ColorType":null,"hoverBg2ColorHex":null,"hoverBg2ColorOpacity":null,"hoverBg2ColorPalette":null,"tempHoverBg2ColorOpacity":null,"tempHoverBg2ColorPalette":null,"borderStyle":"","borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":4,"tempBorderTopWidth":4,"tempBorderRightWidth":4,"tempBorderBottomWidth":4,"tempBorderLeftWidth":4,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"size":100,"customCSS":"","hoverTransition":50,"tabletCoverImageWidth":null,"tabletCoverImageHeight":null,"tabletTypographyFontStyle":"","tabletTypographyFontFamilyType":null,"tabletTypographyFamilies":{"tabletTypographyFontFamily":null},"tabletTypographyFontSize":16,"tabletTypographyFontWeight":400,"tabletTypographyLineHeight":1.1,"tabletTypographyLetterSpacing":0,"tabletBorderStyle":null,"tempTabletBorderStyle":null,"tabletBorderWidthType":null,"tabletBorderWidth":null,"tabletBorderTopWidth":null,"tabletBorderRightWidth":null,"tabletBorderBottomWidth":null,"tabletBorderLeftWidth":null,"tempTabletBorderWidth":null,"tempTabletBorderTopWidth":null,"tempTabletBorderRightWidth":null,"tempTabletBorderBottomWidth":null,"tempTabletBorderLeftWidth":null,"tabletBorderRadiusType":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomLeftRadius":null,"tabletBorderBottomRightRadius":null,"tempTabletBorderRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tempTabletBorderBottomRightRadius":null,"tabletBorderColorHex":null,"tabletBorderColorOpacity":null,"tabletBorderColorPalette":null,"tempTabletBorderColorOpacity":null,"tempTabletBorderColorPalette":null,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"tabletSize":null,"mobileCoverImageWidth":null,"mobileCoverImageHeight":null,"mobileTypographyFontStyle":"","mobileTypographyFontFamilyType":null,"mobileTypographyFamilies":{"mobileTypographyFontFamily":null},"mobileTypographyFontSize":16,"mobileTypographyFontWeight":400,"mobileTypographyLineHeight":1.1,"mobileTypographyLetterSpacing":0,"mobileBorderStyle":null,"tempMobileBorderStyle":null,"mobileBorderWidthType":null,"mobileBorderWidth":null,"mobileBorderTopWidth":null,"mobileBorderRightWidth":null,"mobileBorderBottomWidth":null,"mobileBorderLeftWidth":null,"tempMobileBorderWidth":null,"tempMobileBorderTopWidth":null,"tempMobileBorderRightWidth":null,"tempMobileBorderBottomWidth":null,"tempMobileBorderLeftWidth":null,"mobileBorderRadiusType":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomLeftRadius":null,"mobileBorderBottomRightRadius":null,"tempMobileBorderRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"tempMobileBorderBottomRightRadius":null,"mobileBorderColorHex":null,"mobileBorderColorOpacity":null,"mobileBorderColorPalette":null,"tempMobileBorderColorOpacity":null,"tempMobileBorderColorPalette":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null,"mobileSize":null}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"positionItem":"horizontal","positionThumbs":"above","gridColumn":2,"tabletGridColumn":2,"mobileGridColumn":2,"coverZoom":100,"tabletCoverPositionY":null,"tabletCoverPositionX":null,"mobileCoverPositionY":null,"mobileCoverPositionX":null,"tabletCoverZoom":null,"mobileCoverZoom":null},"toolbar":{"tabsState":"","tabsCurrentElement":"","tabsColor":""},"style":{"className":"","iconSize":80,"iconSizeWidth":80,"iconSizeHeight":80,"brightness":100,"hue":0,"saturation":100,"contrast":100,"fontStyle":"","fontFamilyType":"google","families":{"fontFamily":"lato"},"fontSize":20,"fontWeight":400,"lineHeight":1.5,"letterSpacing":0,"subTitlefontStyle":"","subTitlefontFamilyType":"google","subTitleFamilies":{"subTitlefontFamily":"lato"},"subTitlefontSize":16,"subTitlefontWeight":400,"subTitleLineHeight":1.5,"subTitleLetterSpacing":0,"colorType":"solid","colorHex":"#0000ee","colorOpacity":1,"colorPalette":"color8","tempColorOpacity":1,"tempColorPalette":"color8","hoverColorHex":null,"hoverColorOpacity":null,"hoverColorPalette":null,"tempHoverColorOpacity":null,"tempHoverColorPalette":null,"iconBgColorType":"solid","iconBgColorHex":"#d62b63","iconBgColorOpacity":0.75,"iconBgColorPalette":"","tempIconBgColorOpacity":0.75,"tempIconBgColorPalette":"","hoverIconBgColorType":null,"hoverIconBgColorHex":null,"hoverIconBgColorOpacity":null,"hoverIconBgColorPalette":null,"tempHoverIconBgColorOpacity":null,"tempHoverIconBgColorPalette":null,"iconColorHex":"#0000ee","iconColorOpacity":1,"iconColorPalette":"","tempIconColorOpacity":1,"tempIconColorPalette":"color8","hoverIconColorHex":null,"hoverIconColorOpacity":null,"hoverIconColorPalette":null,"tempHoverIconColorOpacity":null,"tempHoverIconColorPalette":null,"subTitleColorHex":"#0000ee","subTitleColorOpacity":1,"subTitleColorPalette":"color8","tempSubTitleColorOpacity":1,"tempSubTitleColorPalette":"color8","hoverSubTitleColorHex":null,"hoverSubTitleColorOpacity":null,"hoverSubTitleColorPalette":null,"tempHoverSubTitleColorOpacity":null,"tempHoverSubTitleColorPalette":null,"bgColorType":"solid","bgColorHex":"#666666","bgColorOpacity":1,"bgColorPalette":"color7","tempBgColorOpacity":1,"tempBgColorPalette":"","hoverBgColorType":null,"hoverBgColorHex":null,"hoverBgColorOpacity":null,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":null,"tempHoverBgColorPalette":null,"borderStyle":"","borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":4,"tempBorderTopWidth":4,"tempBorderRightWidth":4,"tempBorderBottomWidth":4,"tempBorderLeftWidth":4,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"itemBorderStyle":"","itemBorderColorHex":"#66738d","itemBorderColorOpacity":0,"itemBorderColorPalette":"","tempItemBorderColorOpacity":1,"tempItemBorderColorPalette":"","hoverItemBorderColorHex":null,"hoverItemBorderColorOpacity":null,"hoverItemBorderColorPalette":null,"tempHoverItemBorderColorOpacity":null,"tempHoverItemBorderColorPalette":null,"tempItemBorderStyle":"solid","hoverItemBorderStyle":null,"tempHoverItemBorderStyle":null,"itemBorderWidthType":"grouped","itemBorderWidth":0,"itemBorderTopWidth":0,"itemBorderRightWidth":0,"itemBorderBottomWidth":0,"itemBorderLeftWidth":0,"tempItemBorderWidth":1,"tempItemBorderTopWidth":1,"tempItemBorderRightWidth":1,"tempItemBorderBottomWidth":1,"tempItemBorderLeftWidth":1,"hoverItemBorderWidthType":null,"hoverItemBorderWidth":null,"hoverItemBorderTopWidth":null,"hoverItemBorderRightWidth":null,"hoverItemBorderBottomWidth":null,"hoverItemBorderLeftWidth":null,"tempHoverItemBorderWidth":null,"tempHoverItemBorderTopWidth":null,"tempHoverItemBorderRightWidth":null,"tempHoverItemBorderBottomWidth":null,"tempHoverItemBorderLeftWidth":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"width":100,"widthSidebar":300,"widthImage":110,"verticalAlign":"top","customCSS":"","paddingType":"grouped","tempPaddingType":"grouped","padding":15,"paddingTop":0,"paddingRight":0,"paddingBottom":0,"paddingLeft":0,"tempPadding":0,"tempPaddingTop":0,"tempPaddingRight":0,"tempPaddingBottom":0,"tempPaddingLeft":0,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPaddingSuffix":"px","tempPaddingTopSuffix":"px","tempPaddingRightSuffix":"px","tempPaddingBottomSuffix":"px","tempPaddingLeftSuffix":"px","hoverPaddingType":null,"tempHoverPaddingType":null,"hoverPadding":null,"hoverPaddingTop":null,"hoverPaddingRight":null,"hoverPaddingBottom":null,"hoverPaddingLeft":null,"tempHoverPadding":null,"tempHoverPaddingTop":null,"tempHoverPaddingRight":null,"tempHoverPaddingBottom":null,"tempHoverPaddingLeft":null,"hoverPaddingSuffix":null,"hoverPaddingTopSuffix":null,"hoverPaddingRightSuffix":null,"hoverPaddingBottomSuffix":null,"hoverPaddingLeftSuffix":null,"tempHoverPaddingSuffix":null,"tempHoverPaddingTopSuffix":null,"tempHoverPaddingRightSuffix":null,"tempHoverPaddingBottomSuffix":null,"tempHoverPaddingLeftSuffix":null,"marginType":"ungrouped","margin":0,"marginTop":0,"marginRight":0,"marginBottom":0,"marginLeft":0,"marginSuffix":"px","marginTopSuffix":"px","marginRightSuffix":"px","marginBottomSuffix":"px","marginLeftSuffix":"px","hoverTransition":50,"tabletCoverImageWidth":null,"tabletCoverImageHeight":null,"tabletFontStyle":"","tabletFontFamilyType":null,"tabletFamilies":{"tabletFontFamily":null},"tabletFontSize":18,"tabletFontWeight":400,"tabletLineHeight":1.1,"tabletLetterSpacing":0,"tabletSubTitleFontStyle":"","tabletSubTitleFontFamilyType":null,"tabletSubTitleFamilies":{"tabletSubTitleFontFamily":null},"tabletSubTitleFontSize":14,"tabletSubTitleFontWeight":400,"tabletSubTitleLineHeight":1.1,"tabletSubTitleLetterSpacing":0,"tabletBorderStyle":null,"tempTabletBorderStyle":null,"tabletBorderWidthType":null,"tabletBorderWidth":null,"tabletBorderTopWidth":null,"tabletBorderRightWidth":null,"tabletBorderBottomWidth":null,"tabletBorderLeftWidth":null,"tempTabletBorderWidth":null,"tempTabletBorderTopWidth":null,"tempTabletBorderRightWidth":null,"tempTabletBorderBottomWidth":null,"tempTabletBorderLeftWidth":null,"tabletBorderRadiusType":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomLeftRadius":null,"tabletBorderBottomRightRadius":null,"tempTabletBorderRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tempTabletBorderBottomRightRadius":null,"tabletBorderColorHex":null,"tabletBorderColorOpacity":null,"tabletBorderColorPalette":null,"tempTabletBorderColorOpacity":null,"tempTabletBorderColorPalette":null,"tabletItemBorderStyle":null,"tempTabletItemBorderStyle":null,"tabletItemBorderWidthType":null,"tabletItemBorderWidth":null,"tabletItemBorderTopWidth":null,"tabletItemBorderRightWidth":null,"tabletItemBorderBottomWidth":null,"tabletItemBorderLeftWidth":null,"tempTabletItemBorderWidth":null,"tempTabletItemBorderTopWidth":null,"tempTabletItemBorderRightWidth":null,"tempTabletItemBorderBottomWidth":null,"tempTabletItemBorderLeftWidth":null,"tabletItemBorderRadiusType":null,"tabletItemBorderRadius":null,"tabletItemBorderTopLeftRadius":null,"tabletItemBorderTopRightRadius":null,"tabletItemBorderBottomLeftRadius":null,"tabletItemBorderBottomRightRadius":null,"tempTabletItemBorderRadius":null,"tempTabletItemBorderTopLeftRadius":null,"tempTabletItemBorderTopRightRadius":null,"tempTabletItemBorderBottomLeftRadius":null,"tempTabletItemBorderBottomRightRadius":null,"tabletItemBorderColorHex":null,"tabletItemBorderColorOpacity":null,"tabletItemBorderColorPalette":null,"tempTabletItemBorderColorOpacity":null,"tempTabletItemBorderColorPalette":null,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"tabletWidth":null,"tabletWidthSidebar":250,"tabletWidthImage":75,"tabletPaddingType":"grouped","tempTabletPaddingType":"grouped","tabletPadding":15,"tabletPaddingTop":0,"tabletPaddingRight":0,"tabletPaddingBottom":0,"tabletPaddingLeft":0,"tempTabletPadding":0,"tempTabletPaddingTop":0,"tempTabletPaddingRight":0,"tempTabletPaddingBottom":0,"tempTabletPaddingLeft":0,"tabletPaddingSuffix":"px","tabletPaddingTopSuffix":"px","tabletPaddingRightSuffix":"px","tabletPaddingBottomSuffix":"px","tabletPaddingLeftSuffix":"px","tempTabletPaddingSuffix":"px","tempTabletPaddingTopSuffix":"px","tempTabletPaddingRightSuffix":"px","tempTabletPaddingBottomSuffix":"px","tempTabletPaddingLeftSuffix":"px","tabletMarginType":"ungrouped","tabletMargin":0,"tabletMarginTop":0,"tabletMarginRight":0,"tabletMarginBottom":0,"tabletMarginLeft":0,"tabletMarginSuffix":"px","tabletMarginTopSuffix":"px","tabletMarginRightSuffix":"px","tabletMarginBottomSuffix":"px","tabletMarginLeftSuffix":"px","mobileCoverImageWidth":null,"mobileCoverImageHeight":null,"mobileFontStyle":"","mobileFontFamilyType":null,"mobileFamilies":{"mobileFontFamily":null},"mobileFontSize":18,"mobileFontWeight":400,"mobileLineHeight":1.1,"mobileLetterSpacing":0,"mobileSubTitleFontStyle":"","mobileSubTitleFontFamilyType":null,"mobileSubTitleFamilies":{"mobileSubTitleFontFamily":null},"mobileSubTitleFontSize":14,"mobileSubTitleFontWeight":400,"mobileSubTitleLineHeight":1.1,"mobileSubTitleLetterSpacing":0,"mobileBorderStyle":null,"tempMobileBorderStyle":null,"mobileBorderWidthType":null,"mobileBorderWidth":null,"mobileBorderTopWidth":null,"mobileBorderRightWidth":null,"mobileBorderBottomWidth":null,"mobileBorderLeftWidth":null,"tempMobileBorderWidth":null,"tempMobileBorderTopWidth":null,"tempMobileBorderRightWidth":null,"tempMobileBorderBottomWidth":null,"tempMobileBorderLeftWidth":null,"mobileBorderRadiusType":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomLeftRadius":null,"mobileBorderBottomRightRadius":null,"tempMobileBorderRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"tempMobileBorderBottomRightRadius":null,"mobileBorderColorHex":null,"mobileBorderColorOpacity":null,"mobileBorderColorPalette":null,"tempMobileBorderColorOpacity":null,"tempMobileBorderColorPalette":null,"mobileItemBorderStyle":null,"tempMobileItemBorderStyle":null,"mobileItemBorderWidthType":null,"mobileItemBorderWidth":null,"mobileItemBorderTopWidth":null,"mobileItemBorderRightWidth":null,"mobileItemBorderBottomWidth":null,"mobileItemBorderLeftWidth":null,"tempMobileItemBorderWidth":null,"tempMobileItemBorderTopWidth":null,"tempMobileItemBorderRightWidth":null,"tempMobileItemBorderBottomWidth":null,"tempMobileItemBorderLeftWidth":null,"mobileItemBorderRadiusType":null,"mobileItemBorderRadius":null,"mobileItemBorderTopLeftRadius":null,"mobileItemBorderTopRightRadius":null,"mobileItemBorderBottomLeftRadius":null,"mobileItemBorderBottomRightRadius":null,"tempMobileItemBorderRadius":null,"tempMobileItemBorderTopLeftRadius":null,"tempMobileItemBorderTopRightRadius":null,"tempMobileItemBorderBottomLeftRadius":null,"tempMobileItemBorderBottomRightRadius":null,"mobileItemBorderColorHex":null,"mobileItemBorderColorOpacity":null,"mobileItemBorderColorPalette":null,"tempMobileItemBorderColorOpacity":null,"tempMobileItemBorderColorPalette":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null,"mobileWidth":null,"mobileWidthSidebar":null,"mobilePaddingType":"grouped","tempMobilePaddingType":"grouped","mobilePadding":15,"mobilePaddingTop":0,"mobilePaddingRight":0,"mobilePaddingBottom":0,"mobilePaddingLeft":0,"tempMobilePadding":0,"tempMobilePaddingTop":0,"tempMobilePaddingRight":0,"tempMobilePaddingBottom":0,"tempMobilePaddingLeft":0,"mobilePaddingSuffix":"px","mobilePaddingTopSuffix":"px","mobilePaddingRightSuffix":"px","mobilePaddingBottomSuffix":"px","mobilePaddingLeftSuffix":"px","tempMobilePaddingSuffix":"px","tempMobilePaddingTopSuffix":"px","tempMobilePaddingRightSuffix":"px","tempMobilePaddingBottomSuffix":"px","tempMobilePaddingLeftSuffix":"px","mobileMarginType":"ungrouped","mobileMargin":0,"mobileMarginTop":0,"mobileMarginRight":0,"mobileMarginBottom":0,"mobileMarginLeft":0,"mobileMarginSuffix":"px","mobileMarginTopSuffix":"px","mobileMarginRightSuffix":"px","mobileMarginBottomSuffix":"px","mobileMarginLeftSuffix":"px"}}')},function(e){e.exports=JSON.parse('{"content":{"type":"youtube","video":"","ratio":"16:9","controls":"on","branding":"on","intro":"on","loop":"off","start":0,"end":0,"title":"Test title Video","subTitle":"Sub title video","coverImageSrc":"","coverImageWidth":0,"coverImageHeight":0,"coverImageExtension":"","coverPositionY":50,"coverPositionX":50},"toolbar":{"tabsState":"","tabsCurrentElement":"","tabsColor":""},"style":{"className":"","boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"customCSS":"","hoverTransition":50,"tabletCoverImageWidth":null,"tabletCoverImageHeight":null,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"tabletSize":null,"mobileCoverImageWidth":null,"mobileCoverImageHeight":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null,"mobileSize":null}}')},function(e){e.exports=JSON.parse('{"content":{"type":"soundcloud","audio":"","showCurrentTime":"on","showDurationTime":"on","showProgressBarTrack":"on","showProgressBarVolume":"on","url":"https://soundcloud.com/englicious/lord-of-the-flies-audiobook-slightly-sped-up","autoPlay":"off","showArtwork":"off","coverImageSrc":"","coverImageWidth":0,"coverImageHeight":0,"coverImageExtension":null,"coverPositionY":50,"coverPositionX":50,"tabletCoverPositionY":null,"tabletCoverPositionX":null,"mobileCoverPositionY":null,"mobileCoverPositionX":null,"coverZoom":100,"tabletCoverZoom":null,"mobileCoverZoom":null},"toolbar":{"tabsState":"","tabsCurrentElement":"","tabsColor":""},"style":{"className":"","style":"basic","smallHeight":125,"mediumHeight":175,"largeHeight":350,"iconSize":"small","iconCustomSize":16,"iconPosition":"right","iconSpacing":10,"iconStrokeWidth":1,"smallIconSize":16,"mediumIconSize":24,"largeIconSize":32,"fontStyle":"","fontFamilyType":"google","families":{"fontFamily":"lato"},"fontSize":16,"fontWeight":400,"lineHeight":1.1,"letterSpacing":0,"bgColorType":"solid","bgColorHex":"#000000","bgColorOpacity":0.75,"bgColorPalette":"color6","tempBgColorOpacity":0.75,"tempBgColorPalette":"color6","hoverBgColorType":null,"hoverBgColorHex":null,"hoverBgColorOpacity":null,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":null,"tempHoverBgColorPalette":null,"bg2ColorType":"solid","bg2ColorHex":"#05CAB6","bg2ColorOpacity":1,"bg2ColorPalette":"color3","tempBg2ColorOpacity":1,"tempBg2ColorPalette":"color3","hoverBg2ColorType":null,"hoverBg2ColorHex":null,"hoverBg2ColorOpacity":null,"hoverBg2ColorPalette":null,"tempHoverBg2ColorOpacity":null,"tempHoverBg2ColorPalette":null,"colorHex":"#000000","colorOpacity":1,"colorPalette":"color2","tempColorOpacity":1,"tempColorPalette":"color2","hoverColorHex":null,"hoverColorOpacity":null,"hoverColorPalette":null,"tempHoverColorOpacity":null,"tempHoverColorPalette":null,"borderColorHex":"#f5f5f5","borderColorOpacity":1,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"borderStyle":"","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":2,"tempBorderTopWidth":2,"tempBorderRightWidth":2,"tempBorderBottomWidth":2,"tempBorderLeftWidth":2,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderRadiusType":"grouped","borderRadius":3,"borderTopLeftRadius":3,"borderTopRightRadius":3,"borderBottomRightRadius":3,"borderBottomLeftRadius":3,"tempBorderRadius":3,"tempBorderTopLeftRadius":3,"tempBorderTopRightRadius":3,"tempBorderBottomRightRadius":3,"tempBorderBottomLeftRadius":3,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"width":100,"height":175,"customHeight":175,"customCSS":"","hoverTransition":50,"tabletHeight":null,"tabletWidth":null,"mobileHeight":null,"mobileWidth":null}}')},function(e){e.exports=JSON.parse('{"content":{"type":"glyph","name":"favourite-31","popups":[]},"link":{"linkType":"external","linkExternal":"","linkAnchor":"","linkExternalBlank":"off","linkExternalRel":"off","linkExternalType":"linkExternal","linkPopulation":"","linkUpload":"","linkPopup":"","actionClosePopup":"off"},"toolbar":{"tabsState":"","tabsColor":""},"style":{"className":"","size":"medium","customSize":48,"smallSize":32,"mediumSize":48,"largeSize":64,"padding":0,"tempPadding":20,"colorHex":"#239ddb","colorOpacity":1,"colorPalette":"color3","tempColorOpacity":1,"tempColorPalette":"color3","hoverColorHex":"#239ddb","hoverColorOpacity":0.8,"hoverColorPalette":"color3","tempHoverColorOpacity":1,"tempHoverColorPalette":"color3","bgColorType":"solid","gradientActivePointer":"startPointer","gradientStartPointer":0,"gradientFinishPointer":100,"gradientType":"linear","gradientLinearDegree":90,"gradientRadialDegree":90,"hoverBgColorType":"solid","hoverGradientActivePointer":"startPointer","hoverGradientStartPointer":0,"hoverGradientFinishPointer":100,"hoverGradientType":"linear","hoverGradientLinearDegree":90,"hoverGradientRadialDegree":90,"bgColorHex":"#bde1f4","bgColorOpacity":0,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"color5","hoverBgColorHex":"#bde1f4","hoverBgColorOpacity":0,"hoverBgColorPalette":"","tempHoverBgColorOpacity":1,"tempHoverBgColorPalette":"color5","gradientColorHex":"#009900","gradientColorOpacity":1,"gradientColorPalette":"","tempGradientColorOpacity":1,"tempGradientColorPalette":"","hoverGradientColorHex":"#009900","hoverGradientColorOpacity":0,"hoverGradientColorPalette":"","tempHoverGradientColorOpacity":1,"tempHoverGradientColorPalette":"","borderColorHex":"#239ddb","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"color3","hoverBorderColorHex":"#239ddb","hoverBorderColorOpacity":0,"hoverBorderColorPalette":"","tempHoverBorderColorOpacity":1,"tempHoverBorderColorPalette":"color3","//1":"Astea 2 key de jos au fost folosite in trecut si sunt foarte importante. Trebuei atent sa vem ce afcem cu ele","borderRadiusType":"","tempBorderRadiusType":"rounded","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":4,"tempBorderTopLeftRadius":4,"tempBorderTopRightRadius":4,"tempBorderBottomRightRadius":4,"tempBorderBottomLeftRadius":4,"hoverBorderRadius":0,"hoverBorderTopLeftRadius":0,"hoverBorderTopRightRadius":0,"hoverBorderBottomRightRadius":0,"hoverBorderBottomLeftRadius":0,"tempHoverBorderRadius":4,"tempHoverBorderTopLeftRadius":4,"tempHoverBorderTopRightRadius":4,"tempHoverBorderBottomRightRadius":4,"tempHoverBorderBottomLeftRadius":4,"fillType":"default","tempFillType":"filled","borderWidth":0,"tempBorderWidth":3,"borderStyle":"solid","hoverTransition":50,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"strokeWidth":1,"customCSS":"","tabletSize":null,"tabletCustomSize":null,"tabletPadding":null,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"mobileSize":null,"mobileCustomSize":null,"mobilePadding":null,"tempMobilePadding":20,"mobileBorderRadius":null,"tempMobileBorderRadius":4,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null}}')},function(e){e.exports=JSON.parse('{"content":{"imageSrc":"","imagePopulation":"","imageWidth":600,"imageHeight":450,"imageExtension":"","positionY":50,"positionX":50,"tabletPositionY":null,"tabletPositionX":null,"mobilePositionY":null,"mobilePositionX":null,"popups":[],"tags":""},"link":{"linkType":"external","linkExternal":"","linkAnchor":"","linkExternalBlank":"off","linkExternalRel":"off","linkLightBox":"off","linkExternalType":"linkExternal","linkPopulation":"","linkUpload":"","linkPopup":"","actionClosePopup":"off"},"toolbar":{"tabsState":"","tabsColor":""},"style":{"customCSS":"","imageBrightness":100,"imageHue":0,"imageSaturation":100,"imageContrast":100,"imageOpacity":100,"resize":100,"zoom":100,"width":100,"height":100,"borderRadiusType":"square","borderRadius":0,"tempBorderRadius":0,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"hoverTransition":50,"tabletResize":null,"tabletZoom":null,"tabletWidth":null,"tabletHeight":null,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"mobileResize":null,"mobileZoom":null,"mobileWidth":null,"mobileHeight":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null}}')},function(e){e.exports=JSON.parse('{"style":{"className":"","borderStyle":"solid","tempBorderStyle":"solid","borderWidthType":"grouped","borderWidth":2,"borderTopWidth":2,"borderRightWidth":2,"borderBottomWidth":2,"borderLeftWidth":2,"tempBorderWidth":2,"tempBorderTopWidth":2,"tempBorderRightWidth":2,"tempBorderBottomWidth":2,"tempBorderLeftWidth":2,"borderColorHex":"#73777f","borderColorOpacity":0.75,"borderColorPalette":"color7","tempBorderColorOpacity":0.75,"tempBorderColorPalette":"color7","customCSS":"","width":75,"tabletBorderWidth":null,"tabletWidth":null,"mobileBorderWidth":null,"mobileWidth":null}}')},function(e){e.exports=JSON.parse('{"style":{"className":"","height":50,"tabletHeight":null,"mobileHeight":null}}')},function(e){e.exports=JSON.parse('{"content":{"code":""},"toolbar":{"tabsState":"","tabsCurrentElement":"","tabsColor":""},"style":{"className":"","borderStyle":"","hoverBorderStyle":null,"tempBorderStyle":"solid","tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempBorderWidth":4,"tempBorderTopWidth":4,"tempBorderRightWidth":4,"tempBorderBottomWidth":4,"tempBorderLeftWidth":4,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"borderColorHex":"#dcdee1","borderColorOpacity":1,"borderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempBorderColorOpacity":1,"tempBorderColorPalette":"","tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"width":100,"height":250,"customCSS":"","hoverTransition":50,"tabletBorderStyle":null,"tempTabletBorderStyle":null,"tabletBorderWidthType":null,"tabletBorderWidth":null,"tabletBorderTopWidth":null,"tabletBorderRightWidth":null,"tabletBorderBottomWidth":null,"tabletBorderLeftWidth":null,"tempTabletBorderWidth":null,"tempTabletBorderTopWidth":null,"tempTabletBorderRightWidth":null,"tempTabletBorderBottomWidth":null,"tempTabletBorderLeftWidth":null,"tabletBorderRadiusType":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomRightRadius":null,"tabletBorderBottomLeftRadius":null,"tempTabletBorderRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tabletBorderColorHex":null,"tabletBorderColorOpacity":null,"tabletBorderColorPalette":null,"tempTabletBorderColorOpacity":null,"tempTabletBorderColorPalette":null,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"tabletWidth":null,"tabletHeight":null,"mobileBorderStyle":null,"tempMobileBorderStyle":null,"mobileBorderWidthType":null,"mobileBorderWidth":null,"mobileBorderTopWidth":null,"mobileBorderRightWidth":null,"mobileBorderBottomWidth":null,"mobileBorderLeftWidth":null,"tempMobileBorderWidth":null,"tempMobileBorderTopWidth":null,"tempMobileBorderRightWidth":null,"tempMobileBorderBottomWidth":null,"tempMobileBorderLeftWidth":null,"mobileBorderRadiusType":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomRightRadius":null,"mobileBorderBottomLeftRadius":null,"tempMobileBorderRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"mobileBorderColorHex":null,"mobileBorderColorOpacity":null,"mobileBorderColorPalette":null,"tempMobileBorderColorOpacity":null,"tempMobileBorderColorPalette":null,"mobileWidth":null,"mobileHeight":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null}}')},function(e){e.exports=JSON.parse('{"content":{"address":"Wall Street","addressPopulation":"","zoom":15},"toolbar":{"tabsState":"","tabsCurrentElement":"","tabsColor":"","tabletTabsState":null,"tabletTabsCurrentElement":null,"mobileTabsState":null,"mobileTabsCurrentElement":null},"style":{"className":"","brightness":100,"hue":0,"saturation":100,"contrast":100,"size":100,"height":400,"borderStyle":"solid","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":4,"tempBorderTopWidth":4,"tempBorderRightWidth":4,"tempBorderBottomWidth":4,"tempBorderLeftWidth":4,"hoverBrightness":null,"hoverHue":null,"hoverSaturation":null,"hoverContrast":null,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"customCSS":"","hoverTransition":50,"tabletBrightness":null,"tabletHue":null,"tabletSaturation":null,"tabletContrast":null,"tabletSize":null,"tabletHeight":null,"tabletBorderStyle":null,"tempTabletBorderStyle":null,"tabletBorderWidthType":null,"tabletBorderWidth":null,"tabletBorderTopWidth":null,"tabletBorderRightWidth":null,"tabletBorderBottomWidth":null,"tabletBorderLeftWidth":null,"tempTabletBorderWidth":null,"tempTabletBorderTopWidth":null,"tempTabletBorderRightWidth":null,"tempTabletBorderBottomWidth":null,"tempTabletBorderLeftWidth":null,"tabletBorderRadiusType":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomLeftRadius":null,"tabletBorderBottomRightRadius":null,"tempTabletBorderRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tempTabletBorderBottomRightRadius":null,"tabletBorderColorHex":null,"tabletBorderColorOpacity":null,"tabletBorderColorPalette":null,"tempTabletBorderColorOpacity":null,"tempTabletBorderColorPalette":null,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"mobileBrightness":null,"mobileHue":null,"mobileSaturation":null,"mobileContrast":null,"mobileSize":null,"mobileHeight":null,"mobileBorderStyle":null,"tempMobileBorderStyle":null,"mobileBorderWidthType":null,"mobileBorderWidth":null,"mobileBorderTopWidth":null,"mobileBorderRightWidth":null,"mobileBorderBottomWidth":null,"mobileBorderLeftWidth":null,"tempMobileBorderWidth":null,"tempMobileBorderTopWidth":null,"tempMobileBorderRightWidth":null,"tempMobileBorderBottomWidth":null,"tempMobileBorderLeftWidth":null,"mobileBorderRadiusType":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomLeftRadius":null,"mobileBorderBottomRightRadius":null,"tempMobileBorderRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"tempMobileBorderBottomRightRadius":null,"mobileBorderColorHex":null,"mobileBorderColorOpacity":null,"mobileBorderColorPalette":null,"tempMobileBorderColorOpacity":null,"tempMobileBorderColorPalette":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null}}')},function(e){e.exports=JSON.parse('{"content":{"text":"BUTTON","type":"link","iconName":"tail-right","iconType":"glyph","popups":[]},"toolbar":{"tabsState":"","tabsColor":""},"link":{"linkType":"external","linkExternal":"","linkAnchor":"","linkExternalBlank":"off","linkExternalRel":"off","linkExternalType":"linkExternal","linkPopulation":"","linkUpload":"","linkPopup":"","actionClosePopup":"off"},"style":{"className":"","iconSize":"small","iconCustomSize":16,"iconPosition":"right","iconSpacing":10,"iconStrokeWidth":1,"smallIconSize":16,"mediumIconSize":24,"largeIconSize":32,"fontStyle":"button","fontFamilyType":"google","families":{"fontFamily":"montserrat"},"fontSize":12,"fontWeight":700,"lineHeight":1.8,"letterSpacing":3,"bgColorType":"solid","gradientActivePointer":"startPointer","gradientStartPointer":0,"gradientFinishPointer":100,"gradientType":"linear","gradientLinearDegree":90,"gradientRadialDegree":90,"hoverBgColorType":"solid","hoverGradientActivePointer":"startPointer","hoverGradientStartPointer":0,"hoverGradientFinishPointer":100,"hoverGradientType":"linear","hoverGradientLinearDegree":90,"hoverGradientRadialDegree":90,"bgColorHex":"#239ddb","bgColorOpacity":1,"bgColorPalette":"color3","tempBgColorOpacity":1,"tempBgColorPalette":"color3","hoverBgColorHex":"#239ddb","hoverBgColorOpacity":0.8,"hoverBgColorPalette":"color3","tempHoverBgColorOpacity":0.8,"tempHoverBgColorPalette":"color3","gradientColorHex":"#009900","gradientColorOpacity":0.8,"gradientColorPalette":"","tempGradientColorOpacity":0.8,"tempGradientColorPalette":"","hoverGradientColorHex":"#009900","hoverGradientColorOpacity":0,"hoverGradientColorPalette":"","tempHoverGradientColorOpacity":0.8,"tempHoverGradientColorPalette":"","colorHex":"#ffffff","colorOpacity":1,"colorPalette":"color8","tempColorOpacity":1,"tempColorPalette":"color8","hoverColorHex":"#ffffff","hoverColorOpacity":1,"hoverColorPalette":"color8","tempHoverColorOpacity":1,"tempHoverColorPalette":"color8","borderColorHex":"#239ddb","borderColorOpacity":0,"borderColorPalette":"color3","tempBorderColorOpacity":1,"tempBorderColorPalette":"color3","hoverBorderColorHex":"#239ddb","hoverBorderColorOpacity":0,"hoverBorderColorPalette":"color3","tempHoverBorderColorOpacity":0.8,"tempHoverBorderColorPalette":"color3","size":"medium","smallFontSize":11,"mediumFontSize":12,"largeFontSize":13,"paddingTB":14,"paddingRL":42,"tempPaddingTB":14,"tempPaddingRL":42,"padding":14,"paddingTop":14,"paddingRight":42,"paddingBottom":14,"paddingLeft":42,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPadding":14,"tempPaddingTop":14,"tempPaddingRight":42,"tempPaddingBottom":14,"tempPaddingLeft":42,"smallPaddingY":11,"smallPaddingX":26,"mediumPaddingY":14,"mediumPaddingX":42,"largePaddingY":19,"largePaddingX":44,"borderRadiusType":"square","tempBorderRadiusType":"square","borderRadius":2,"borderTopLeftRadius":2,"borderTopRightRadius":2,"borderBottomRightRadius":2,"borderBottomLeftRadius":2,"tempBorderRadius":2,"tempBorderTopLeftRadius":2,"tempBorderTopRightRadius":2,"tempBorderBottomRightRadius":2,"tempBorderBottomLeftRadius":2,"hoverBorderRadius":2,"hoverBorderTopLeftRadius":2,"hoverBorderTopRightRadius":2,"hoverBorderBottomRightRadius":2,"hoverBorderBottomLeftRadius":2,"tempHoverBorderRadius":2,"tempHoverBorderTopLeftRadius":2,"tempHoverBorderTopRightRadius":2,"tempHoverBorderBottomRightRadius":2,"tempHoverBorderBottomLeftRadius":2,"fillType":"filled","tempFillType":"filled","borderStyle":"solid","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":2,"borderTopWidth":2,"borderRightWidth":2,"borderBottomWidth":2,"borderLeftWidth":2,"tempBorderWidth":2,"tempBorderTopWidth":2,"tempBorderRightWidth":2,"tempBorderBottomWidth":2,"tempBorderLeftWidth":2,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"hoverTransition":50,"customCSS":"","tabletSize":"small","tabletPadding":11,"tabletPaddingTB":11,"tabletPaddingRL":26,"tempTabletPaddingTB":11,"tempTabletPaddingRL":26,"tabletPaddingTop":11,"tabletPaddingRight":26,"tabletPaddingBottom":11,"tabletPaddingLeft":26,"tabletPaddingSuffix":"px","tabletPaddingTopSuffix":"px","tabletPaddingRightSuffix":"px","tabletPaddingBottomSuffix":"px","tabletPaddingLeftSuffix":"px","tempTabletPadding":11,"tempTabletPaddingTop":11,"tempTabletPaddingRight":26,"tempTabletPaddingBottom":11,"tempTabletPaddingLeft":26,"tabletFontStyle":"button","tabletFontSize":11,"tabletFontWeight":700,"tabletLineHeight":1.8,"tabletLetterSpacing":1,"tabletBgColorType":null,"tabletBorderRadius":null,"tempTabletBorderRadius":2,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"mobileSize":"small","mobilePaddingTB":11,"mobilePaddingRL":26,"tempMobilePaddingTB":11,"tempMobilePaddingRL":26,"mobilePadding":11,"mobilePaddingTop":11,"mobilePaddingRight":26,"mobilePaddingBottom":11,"mobilePaddingLeft":26,"mobilePaddingSuffix":"px","mobilePaddingTopSuffix":"px","mobilePaddingRightSuffix":"px","mobilePaddingBottomSuffix":"px","mobilePaddingLeftSuffix":"px","tempMobilePadding":11,"tempMobilePaddingTop":11,"tempMobilePaddingRight":26,"tempMobilePaddingBottom":11,"tempMobilePaddingLeft":26,"mobileFontStyle":"button","mobileFontSize":11,"mobileFontWeight":700,"mobileLineHeight":1.8,"mobileLetterSpacing":1,"mobileBgColorType":null,"mobileBorderRadius":null,"tempMobileBorderRadius":2,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null}}')},function(e){e.exports=JSON.parse('{"content":{"start":0,"end":100,"duration":2},"toolbar":{"tabsState":"","tabsColor":""},"type":"simple","style":{"className":"","strokeWidth":7,"fontStyle":"","fontFamilyType":"google","families":{"fontFamily":"roboto"},"fontSize":56,"fontWeight":400,"lineHeight":1.3,"letterSpacing":0,"colorHex":"#239ddb","colorOpacity":1,"colorPalette":"color3","tempColorOpacity":1,"tempColorPalette":"color3","hoverColorHex":"#239ddb","hoverColorOpacity":0.8,"hoverColorPalette":"color3","tempHoverColorOpacity":1,"tempHoverColorPalette":"color3","strokeColorType":"solid","strokeColorHex":"#eeeeee","strokeColorOpacity":1,"strokeColorPalette":"color3","hoverStrokeColorType":null,"hoverStrokeColorHex":null,"hoverStrokeColorOpacity":null,"hoverStrokeColorPalette":null,"tempHoverStrokeColorOpacity":null,"tempHoverStrokeColorPalette":null,"tempStrokeColorOpacity":1,"tempStrokeColorPalette":"color3","fillColorType":"solid","fillColorHex":"#cccccc","fillColorOpacity":1,"fillColorPalette":"color6","tempFillColorOpacity":1,"tempFillColorPalette":"","hoverFillColorType":null,"hoverFillColorHex":null,"hoverFillColorOpacity":null,"hoverFillColorPalette":null,"tempHoverFillColorOpacity":null,"tempHoverFillColorPalette":null,"width":35,"customCSS":"","hoverTransition":50,"tabletFontStyle":"","tabletFontFamilyType":null,"tabletFamilies":{"tabletFontFamily":null},"tabletFontSize":56,"tabletFontWeight":400,"tabletLineHeight":1.3,"tabletLetterSpacing":0,"mobileFontStyle":"","mobileFontFamilyType":null,"mobileFamilies":{"mobileFontFamily":null},"mobileFontSize":56,"mobileFontWeight":400,"mobileLineHeight":1.3,"mobileLetterSpacing":0}}')},function(e){e.exports=JSON.parse('{"content":{"url":"https://soundcloud.com/englicious/lord-of-the-flies-audiobook-slightly-sped-up","autoPlay":"off","showArtwork":"off"},"toolbar":{"tabsState":"","tabsCurrentElement":"","tabsColor":""},"style":{"className":"","style":"basic","smallHeight":125,"mediumHeight":175,"largeHeight":350,"borderStyle":"solid","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":4,"tempBorderTopWidth":4,"tempBorderRightWidth":4,"tempBorderBottomWidth":4,"tempBorderLeftWidth":4,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"width":100,"height":175,"customCSS":"","hoverTransition":50,"tabletBorderStyle":null,"tempTabletBorderStyle":null,"tabletBorderWidthType":null,"tabletBorderWidth":null,"tabletBorderTopWidth":null,"tabletBorderRightWidth":null,"tabletBorderBottomWidth":null,"tabletBorderLeftWidth":null,"tempTabletBorderWidth":null,"tempTabletBorderTopWidth":null,"tempTabletBorderRightWidth":null,"tempTabletBorderBottomWidth":null,"tempTabletBorderLeftWidth":null,"tabletBorderRadiusType":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomLeftRadius":null,"tabletBorderBottomRightRadius":null,"tempTabletBorderRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tempTabletBorderBottomRightRadius":null,"tabletBorderColorHex":null,"tabletBorderColorOpacity":null,"tabletBorderColorPalette":null,"tempTabletBorderColorOpacity":null,"tempTabletBorderColorPalette":null,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"tabletWidth":null,"tabletHeight":null,"mobileBorderStyle":null,"tempMobileBorderStyle":null,"mobileBorderWidthType":null,"mobileBorderWidth":null,"mobileBorderTopWidth":null,"mobileBorderRightWidth":null,"mobileBorderBottomWidth":null,"mobileBorderLeftWidth":null,"tempMobileBorderWidth":null,"tempMobileBorderTopWidth":null,"tempMobileBorderRightWidth":null,"tempMobileBorderBottomWidth":null,"tempMobileBorderLeftWidth":null,"mobileBorderRadiusType":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomLeftRadius":null,"mobileBorderBottomRightRadius":null,"tempMobileBorderRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"tempMobileBorderBottomRightRadius":null,"mobileBorderColorHex":null,"mobileBorderColorOpacity":null,"mobileBorderColorPalette":null,"tempMobileBorderColorOpacity":null,"tempMobileBorderColorPalette":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null,"mobileWidth":null,"mobileHeight":null}}')},function(e){e.exports=JSON.parse('{"content":{"progressBarStyle":"style1","text":"My skill","percentage":80,"showText":"on","showPercentage":"on"},"toolbar":{"tabsState":""},"style":{"className":"","fontStyle":"","fontFamilyType":"google","families":{"fontFamily":"roboto"},"fontSize":16,"fontWeight":400,"lineHeight":1.3,"letterSpacing":0,"typographyFontStyle":"","typographyFontFamilyType":"google","typographyFamilies":{"typographyFontFamily":"roboto"},"typographyFontSize":16,"typographyFontWeight":400,"typographyLineHeight":1.3,"typographyLetterSpacing":0,"colorHex":"#f1f1f1","colorOpacity":1,"colorPalette":"","tempColorOpacity":1,"tempColorPalette":"","hoverColorHex":null,"hoverColorOpacity":null,"hoverColorPalette":null,"tempHoverColorOpacity":null,"tempHoverColorPalette":null,"labelColorHex":"#f1f1f1","labelColorOpacity":1,"labelColorPalette":"","tempLabelColorOpacity":1,"tempLabelColorPalette":"","hoverLabelColorHex":null,"hoverLabelColorOpacity":null,"hoverLabelColorPalette":null,"tempHoverLabelColorOpacity":null,"tempHoverLabelColorPalette":null,"bgColorType":"solid","bgColorHex":"#239ddb","bgColorOpacity":1,"bgColorPalette":"color3","hoverBgColorType":null,"hoverBgColorHex":null,"hoverBgColorOpacity":null,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":null,"tempHoverBgColorPalette":null,"tempBgColorOpacity":1,"tempBgColorPalette":"color3","bg2ColorType":"solid","bg2ColorHex":"#cccccc","bg2ColorOpacity":1,"bg2ColorPalette":"","tempBg2ColorOpacity":1,"tempBg2ColorPalette":"","hoverBg2ColorType":null,"hoverBg2ColorHex":null,"hoverBg2ColorOpacity":null,"hoverBg2ColorPalette":null,"tempHoverBg2ColorOpacity":null,"tempHoverBg2ColorPalette":null,"borderStyle":"solid","tempBorderStyle":"solid","borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":2,"tempBorderTopWidth":2,"tempBorderRightWidth":2,"tempBorderBottomWidth":2,"tempBorderLeftWidth":2,"borderRadiusType":"grouped","borderRadius":2,"borderTopLeftRadius":2,"borderTopRightRadius":2,"borderBottomRightRadius":2,"borderBottomLeftRadius":2,"tempBorderRadius":2,"tempBorderTopLeftRadius":2,"tempBorderTopRightRadius":2,"tempBorderBottomRightRadius":2,"tempBorderBottomLeftRadius":2,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"width":100,"paddingType":"ungrouped","paddingTop":5,"paddingRight":15,"paddingTopSuffix":"px","paddingRightSuffix":"px","customCSS":"","hoverTransition":50,"tabletFontStyle":"","tabletFontFamilyType":null,"tabletFamilies":{"tabletFontFamily":null},"tabletFontSize":14,"tabletFontWeight":400,"tabletLineHeight":1.3,"tabletLetterSpacing":0,"tabletTypographyFontStyle":"","tabletTypographyFontFamilyType":null,"tabletTypographyFamilies":{"tabletTypographyFontFamily":null},"tabletTypographyFontSize":16,"tabletTypographyFontWeight":400,"tabletTypographyLineHeight":1.3,"tabletTypographyLetterSpacing":0,"tabletBorderWidthType":null,"tabletBorderWidth":null,"tabletBorderTopWidth":null,"tabletBorderRightWidth":null,"tabletBorderBottomWidth":null,"tabletBorderLeftWidth":null,"tempTabletBorderWidth":null,"tempTabletBorderTopWidth":null,"tempTabletBorderRightWidth":null,"tempTabletBorderBottomWidth":null,"tempTabletBorderLeftWidth":null,"tabletBorderRadiusType":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomLeftRadius":null,"tabletBorderBottomRightRadius":null,"tempTabletBorderRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tempTabletBorderBottomRightRadius":null,"tabletBgColorHex":null,"tabletBgColorOpacity":null,"tabletBgColorPalette":null,"tempTabletBgColorOpacity":null,"tempTabletBgColorPalette":null,"tabletWidth":null,"mobileFontStyle":"","mobileFontFamilyType":null,"mobileFamilies":{"mobileFontFamily":null},"mobileFontSize":13,"mobileFontWeight":400,"mobileLineHeight":1.3,"mobileLetterSpacing":0,"mobileTypographyFontStyle":"","mobileTypographyFontFamilyType":null,"mobileTypographyFamilies":{"mobileTypographyFontFamily":null},"mobileTypographyFontSize":16,"mobileTypographyFontWeight":400,"mobileTypographyLineHeight":1.1,"mobileTypographyLetterSpacing":0,"mobileBgColorHex":null,"mobileBgColorOpacity":null,"mobileBgColorPalette":null,"tempMobileBgColorOpacity":null,"tempMobileBgColorPalette":null,"mobileBorderWidthType":null,"mobileBorderWidth":null,"mobileBorderTopWidth":null,"mobileBorderRightWidth":null,"mobileBorderBottomWidth":null,"mobileBorderLeftWidth":null,"tempMobileBorderWidth":null,"tempMobileBorderTopWidth":null,"tempMobileBorderRightWidth":null,"tempMobileBorderBottomWidth":null,"tempMobileBorderLeftWidth":null,"mobileBorderRadiusType":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomLeftRadius":null,"mobileBorderBottomRightRadius":null,"tempMobileBorderRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"tempMobileBorderBottomRightRadius":null,"mobileWidth":null}}')},function(e){e.exports=JSON.parse('{"content":{"items":[{"type":"Icon","value":{}},{"type":"RichText","value":{}},{"type":"Cloneable","value":{"style":{"horizontalAlign":"left"}}}]},"style":{"iconPosition":"left","iconSpacing":20,"customCSS":""}}')},function(e){e.exports=JSON.parse('{"content":{"date":"","hours":"10 am","minutes":30,"language":"en","timeZone":-120},"style":{"className":"","fontStyle":"","fontFamilyType":"google","families":{"fontFamily":"roboto"},"fontSize":42,"fontWeight":700,"lineHeight":1.3,"letterSpacing":0,"colorHex":"#73777f","colorOpacity":0.75,"colorPalette":"color7","tempColorOpacity":0.75,"tempColorPalette":"color7","width":100,"customCSS":"","tabletFontStyle":"","tabletFontFamilyType":null,"tabletFamilies":{"tabletFontFamily":null},"tabletFontSize":30,"tabletFontWeight":700,"tabletLineHeight":1,"tabletLetterSpacing":1,"tabletWidth":null,"mobileFontStyle":"","mobileFontFamilyType":null,"mobileFamilies":{"mobileFontFamily":null},"mobileFontSize":30,"mobileFontWeight":700,"mobileLineHeight":1,"mobileLetterSpacing":1,"mobileWidth":null}}')},function(e){e.exports=JSON.parse('{"content":{"date":"","hours":"10 am","minutes":30,"timeZone":-120,"linkType":"linkAction","messageText":"Congratulation!","messageRedirect":"","actions":"none","daysLabel":"days","hoursLabel":"hours","minutesLabel":"minutes","secondsLabel":"seconds","style":"style1","showDays":"on","showHours":"on","showMinutes":"on","showSeconds":"on"},"style":{"className":"","numberFontStyle":"","numberFontFamilyType":"google","numberFamilies":{"numberFontFamily":"roboto"},"numberFontSize":42,"numberFontWeight":700,"numberLineHeight":1.3,"numberLetterSpacing":0,"titleFontStyle":"","titleFontFamilyType":"google","titleFamilies":{"titleFontFamily":"roboto"},"titleFontSize":20,"titleFontWeight":700,"titleLineHeight":1.3,"titleLetterSpacing":0,"messageFontStyle":"","messageFontFamilyType":"google","messageFamilies":{"messageFontFamily":"roboto"},"messageFontSize":32,"messageFontWeight":700,"messageLineHeight":1.3,"messageLetterSpacing":0,"numberColorHex":"#73777f","numberColorOpacity":0.75,"numberColorPalette":"color7","tempNumberColorOpacity":0.75,"tempNumberColorPalette":"color7","titleColorHex":"#73777f","titleColorOpacity":0.75,"titleColorPalette":"color7","tempTitleColorOpacity":0.75,"tempTitleColorPalette":"color7","messageColorHex":"#73777f","messageColorOpacity":0.75,"messageColorPalette":"color7","tempMessageColorOpacity":0.75,"tempMessageColorPalette":"color7","hoverNumberColorHex":null,"hoverNumberColorOpacity":null,"hoverNumberColorPalette":null,"tempHoverNumberColorOpacity":null,"tempHoverNumberColorPalette":null,"hoverTitleColorHex":null,"hoverTitleColorOpacity":null,"hoverTitleColorPalette":null,"tempHoverTitleColorOpacity":null,"tempHoverTitleColorPalette":null,"hoverMessageColorHex":null,"hoverMessageColorOpacity":null,"hoverMessageColorPalette":null,"tempHoverMessageColorOpacity":null,"tempHoverMessageColorPalette":null,"bgColorType":"solid","bgColorHex":"#000000","bgColorOpacity":0,"bgColorPalette":"color2","hoverBgColorType":null,"hoverBgColorHex":null,"hoverBgColorOpacity":null,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":null,"tempHoverBgColorPalette":null,"tempBgColorOpacity":1,"tempBgColorPalette":"color3","borderStyle":"solid","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":4,"tempBorderTopWidth":4,"tempBorderRightWidth":4,"tempBorderBottomWidth":4,"tempBorderLeftWidth":4,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"width":100,"height":100,"spacing":20,"customCSS":"","hoverTransition":50,"tabletNumberFontStyle":"","tabletNumberFontFamilyType":null,"tabletNumberFamilies":{"tabletNumberFontFamily":null},"tabletNumberFontSize":30,"tabletNumberFontWeight":700,"tabletNumberLineHeight":1,"tabletNumberLetterSpacing":1,"tabletTitleFontStyle":"","tabletTitleFontFamilyType":null,"tabletTitleFamilies":{"tabletTitleFontFamily":null},"tabletTitleFontSize":20,"tabletTitleFontWeight":700,"tabletTitleLineHeight":1,"tabletTitleLetterSpacing":1,"tabletMessageFontStyle":"","tabletMessageFontFamilyType":null,"tabletMessageFamilies":{"tabletMessageFontFamily":null},"tabletMessageFontSize":32,"tabletMessageFontWeight":700,"tabletMessageLineHeight":1,"tabletMessageLetterSpacing":1,"tabletBorderStyle":null,"tempTabletBorderStyle":null,"tabletBorderWidthType":null,"tabletBorderWidth":null,"tabletBorderTopWidth":null,"tabletBorderRightWidth":null,"tabletBorderBottomWidth":null,"tabletBorderLeftWidth":null,"tempTabletBorderWidth":null,"tempTabletBorderTopWidth":null,"tempTabletBorderRightWidth":null,"tempTabletBorderBottomWidth":null,"tempTabletBorderLeftWidth":null,"tabletBorderRadiusType":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomLeftRadius":null,"tabletBorderBottomRightRadius":null,"tempTabletBorderRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tempTabletBorderBottomRightRadius":null,"tabletBorderColorHex":null,"tabletBorderColorOpacity":null,"tabletBorderColorPalette":null,"tempTabletBorderColorOpacity":null,"tempTabletBorderColorPalette":null,"tabletBoxShadow":null,"tempTabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"tabletWidth":null,"tabletHeight":null,"mobileNumberFontStyle":"","mobileNumberFontFamilyType":null,"mobileNumberFamilies":{"mobileNumberFontFamily":null},"mobileNumberFontSize":30,"mobileNumberFontWeight":700,"mobileNumberLineHeight":1,"mobileNumberLetterSpacing":1,"mobileTitleFontStyle":"","mobileTitleFontFamilyType":null,"mobileTitleFamilies":{"mobileTitleFontFamily":null},"mobileTitleFontSize":20,"mobileTitleFontWeight":700,"mobileTitleLineHeight":1,"mobileTitleLetterSpacing":1,"mobileMessageFontStyle":"","mobileMessageFontFamilyType":null,"mobileMessageFamilies":{"mobileMessageFontFamily":null},"mobileMessageFontSize":32,"mobileMessageFontWeight":700,"mobileMessageLineHeight":1,"mobileMessageLetterSpacing":1,"mobileBorderStyle":null,"tempMobileBorderStyle":null,"mobileBorderWidthType":null,"mobileBorderWidth":null,"mobileBorderTopWidth":null,"mobileBorderRightWidth":null,"mobileBorderBottomWidth":null,"mobileBorderLeftWidth":null,"tempMobileBorderWidth":null,"tempMobileBorderTopWidth":null,"tempMobileBorderRightWidth":null,"tempMobileBorderBottomWidth":null,"tempMobileBorderLeftWidth":null,"mobileBorderRadiusType":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomLeftRadius":null,"mobileBorderBottomRightRadius":null,"tempMobileBorderRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"tempMobileBorderBottomRightRadius":null,"mobileBorderColorHex":null,"mobileBorderColorOpacity":null,"mobileBorderColorPalette":null,"tempMobileBorderColorOpacity":null,"tempMobileBorderColorPalette":null,"mobileBoxShadow":null,"tempMobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null,"mobileWidth":null,"mobileHeight":null}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"activeTab":0,"verticalMode":"off","verticalAlign":"left","navStyle":"style-1","spacing":3,"spacingAfter":30,"action":"click"},"toolbar":{"tabsColor":""},"style":{"className":"","horizontalAlign":"left","iconSize":"small","iconCustomSize":16,"iconPosition":"left","iconSpacing":10,"tabletIconSize":null,"tabletIconCustomSize":null,"tabletIconPosition":null,"tabletIconSpacing":null,"mobileIconSize":null,"mobileIconCustomSize":null,"mobileIconPosition":null,"mobileIconSpacing":null,"iconStrokeWidth":1,"iconSmallSize":16,"iconMediumSize":24,"iconLargeSize":32,"tabletIconSmallSize":16,"tabletIconMediumSize":24,"tabletIconLargeSize":32,"mobileIconSmallSize":16,"mobileIconMediumSize":24,"mobileIconLargeSize":32,"fontStyle":"","fontFamilyType":"google","families":{"fontFamily":"noto_serif"},"fontSize":16,"fontWeight":400,"lineHeight":1.5,"letterSpacing":0,"borderStyle":"solid","tempBorderStyle":"solid","borderWidthType":"grouped","borderWidth":2,"borderTopWidth":2,"borderRightWidth":2,"borderBottomWidth":2,"borderLeftWidth":2,"tempBorderWidth":2,"tempBorderTopWidth":2,"tempBorderRightWidth":2,"tempBorderBottomWidth":2,"tempBorderLeftWidth":2,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"borderColorHex":"#dcdee1","borderColorOpacity":1,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderStyle":null,"tempHoverBorderStyle":null,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"colorHex":"#73777f","colorOpacity":0.7,"colorPalette":"","tempColorOpacity":0.7,"tempColorPalette":"color8","hoverColorHex":null,"hoverColorOpacity":0.7,"hoverColorPalette":null,"tempHoverColorOpacity":0.7,"tempHoverColorPalette":null,"bgColorType":"solid","bgColorHex":"#ffffff","bgColorOpacity":1,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","hoverBgColorType":null,"hoverBgColorHex":null,"hoverBgColorOpacity":1,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":1,"tempHoverBgColorPalette":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"paddingType":"ungrouped","tempPaddingType":"ungrouped","padding":0,"paddingTop":0,"paddingRight":10,"paddingBottom":0,"paddingLeft":10,"tempPadding":0,"tempPaddingTop":0,"tempPaddingRight":10,"tempPaddingBottom":0,"tempPaddingLeft":10,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPaddingSuffix":"px","tempPaddingTopSuffix":"px","tempPaddingRightSuffix":"px","tempPaddingBottomSuffix":"px","tempPaddingLeftSuffix":"px","hoverPaddingType":null,"tempHoverPaddingType":null,"hoverPadding":null,"hoverPaddingTop":null,"hoverPaddingRight":null,"hoverPaddingBottom":null,"hoverPaddingLeft":null,"tempHoverPadding":null,"tempHoverPaddingTop":null,"tempHoverPaddingRight":null,"tempHoverPaddingBottom":null,"tempHoverPaddingLeft":null,"hoverPaddingSuffix":null,"hoverPaddingTopSuffix":null,"hoverPaddingRightSuffix":null,"hoverPaddingBottomSuffix":null,"hoverPaddingLeftSuffix":null,"tempHoverPaddingSuffix":null,"tempHoverPaddingTopSuffix":null,"tempHoverPaddingRightSuffix":null,"tempHoverPaddingBottomSuffix":null,"tempHoverPaddingLeftSuffix":null,"customCSS":"","tabletFontStyle":"","tabletFontFamilyType":null,"tabletFamilies":{"tabletFontFamily":null},"tabletFontSize":14,"tabletLineHeight":1.5,"tabletLetterSpacing":0,"tabletFontWeight":400,"tabletHorizontalAlign":null,"tabletPaddingType":"ungrouped","tempTabletPaddingType":"ungrouped","tabletPadding":0,"tabletPaddingTop":0,"tabletPaddingRight":10,"tabletPaddingBottom":0,"tabletPaddingLeft":10,"tempTabletPadding":0,"tempTabletPaddingTop":0,"tempTabletPaddingRight":10,"tempTabletPaddingBottom":0,"tempTabletPaddingLeft":10,"tabletPaddingSuffix":"px","tabletPaddingTopSuffix":"px","tabletPaddingRightSuffix":"px","tabletPaddingBottomSuffix":"px","tabletPaddingLeftSuffix":"px","tempTabletPaddingSuffix":"px","tempTabletPaddingTopSuffix":"px","tempTabletPaddingRightSuffix":"px","tempTabletPaddingBottomSuffix":"px","tempTabletPaddingLeftSuffix":"px","mobileFontStyle":"","mobileFontFamilyType":null,"mobileFamilies":{"mobileFontFamily":null},"mobileFontSize":14,"mobileLineHeight":1.5,"mobileLetterSpacing":0,"mobileFontWeight":400,"mobileHorizontalAlign":null,"mobilePaddingType":"ungrouped","tempMobilePaddingType":"ungrouped","mobilePadding":0,"mobilePaddingTop":0,"mobilePaddingRight":10,"mobilePaddingBottom":0,"mobilePaddingLeft":10,"tempMobilePadding":0,"tempMobilePaddingTop":0,"tempMobilePaddingRight":10,"tempMobilePaddingBottom":0,"tempMobilePaddingLeft":10,"mobilePaddingSuffix":"px","mobilePaddingTopSuffix":"px","mobilePaddingRightSuffix":"px","mobilePaddingBottomSuffix":"px","mobilePaddingLeftSuffix":"px","tempMobilePaddingSuffix":"px","tempMobilePaddingTopSuffix":"px","tempMobilePaddingRightSuffix":"px","tempMobilePaddingBottomSuffix":"px","tempMobilePaddingLeftSuffix":"px"}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"id":"","labelText":"","labelClassName":"","iconType":"","iconName":"","bgImageSrc":"","bgPositionY":50,"bgPositionX":50,"bgImageWidth":0,"bgImageHeight":0,"bgImageExtension":"","tabletBgImageSrc":"","tabletBgPositionY":50,"tabletBgPositionX":50,"tabletBgImageWidth":0,"tabletBgImageHeight":0,"tabletBgImageExtension":"","mobileBgImageSrc":"","mobileBgPositionY":50,"mobileBgPositionX":50,"mobileBgImageWidth":0,"mobileBgImageHeight":0,"mobileBgImageExtension":""},"style":{"className":"","bgColorHex":"#000000","bgColorOpacity":0,"tempBgColorOpacity":0.8,"borderColorHex":"#009900","borderColorOpacity":0,"tempBorderColorOpacity":0.8,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":5,"tempBorderTopWidth":5,"tempBorderRightWidth":5,"tempBorderBottomWidth":5,"tempBorderLeftWidth":5,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":4,"tempBorderTopLeftRadius":4,"tempBorderTopRightRadius":4,"tempBorderBottomRightRadius":4,"tempBorderBottomLeftRadius":4}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"activeTab":0,"enableText":"on","verticalMode":"off","tabletVerticalMode":"off","mobileVerticalMode":"off","timelineStyle":"style-1","tabletTimelineStyle":"style-1","mobileTimelineStyle":"style-1","tabsCount":2,"spacing":20,"tabletSpacing":15,"mobileSpacing":10,"type":"glyph","name":"favourite-31"},"style":{"className":"","width":350,"widthSuffix":"px","size":"medium","customSize":32,"smallSize":32,"mediumSize":48,"largeSize":64,"iconPadding":10,"iconBorderWidth":2,"iconBgColorOpacity":1,"typographyFontStyle":"","typographyFontFamilyType":"google","families":{"typographyFontFamily":"noto_serif"},"typographyFontSize":16,"typographyFontWeight":400,"typographyLineHeight":1.5,"typographyLetterSpacing":0,"borderStyle":"solid","tempBorderStyle":"solid","borderWidthType":"grouped","borderWidth":2,"borderTopWidth":2,"borderRightWidth":2,"borderBottomWidth":2,"borderLeftWidth":2,"tempBorderWidth":2,"tempBorderTopWidth":2,"tempBorderRightWidth":2,"tempBorderBottomWidth":2,"tempBorderLeftWidth":2,"borderRadiusType":"grouped","borderRadius":30,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"lineBorderStyle":"solid","tempLineBorderStyle":"solid","lineBorderWidthType":"grouped","lineBorderWidth":2,"lineBorderTopWidth":2,"lineBorderRightWidth":2,"lineBorderBottomWidth":2,"lineBorderLeftWidth":2,"tempLineBorderWidth":2,"tempLineBorderTopWidth":2,"tempLineBorderRightWidth":2,"tempLineBorderBottomWidth":2,"tempLineBorderLeftWidth":2,"lineBorderRadiusType":"grouped","lineBorderRadius":30,"lineBorderTopLeftRadius":0,"lineBorderTopRightRadius":0,"lineBorderBottomRightRadius":0,"lineBorderBottomLeftRadius":0,"tempLineBorderRadius":0,"tempLineBorderTopLeftRadius":0,"tempLineBorderTopRightRadius":0,"tempLineBorderBottomRightRadius":0,"tempLineBorderBottomLeftRadius":0,"labelColorHex":"#73777f","labelColorOpacity":0.7,"labelColorPalette":"","labelTempColorOpacity":0.7,"labelTempColorPalette":"color8","labelBgColorHex":"#ffffff","labelBgColorOpacity":1,"labelBgColorPalette":"","labelTempBgColorOpacity":1,"labelTempBgColorPalette":"","borderColorHex":"#dcdee1","borderColorOpacity":1,"borderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempBorderColorOpacity":1,"tempBorderColorPalette":"","tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"lineBorderColorHex":"#dcdee1","lineBorderColorOpacity":1,"lineBorderColorPalette":"","hoverLineBorderColorHex":null,"hoverLineBorderColorOpacity":null,"hoverLineBorderColorPalette":null,"tempLineBorderColorOpacity":1,"tempLineBorderColorPalette":"","tempHoverLineBorderColorOpacity":null,"tempHoverLineBorderColorPalette":null,"tempBorderRadiusType":"rounded","paddingType":"ungrouped","padding":16,"paddingTop":0,"paddingRight":10,"paddingBottom":0,"paddingLeft":10,"tempPadding":10,"tempPaddingTop":10,"tempPaddingRight":10,"tempPaddingBottom":10,"tempPaddingLeft":10,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPaddingSuffix":"px","tempPaddingTopSuffix":"px","tempPaddingRightSuffix":"px","tempPaddingBottomSuffix":"px","tempPaddingLeftSuffix":"px","marginType":"ungrouped","margin":0,"marginTop":0,"marginRight":10,"marginBottom":0,"marginLeft":10,"marginSuffix":"px","marginTopSuffix":"px","marginRightSuffix":"px","marginBottomSuffix":"px","marginLeftSuffix":"px","customCSS":"","tabletWidth":270,"typographyTabletFontStyle":"","typographyTabletFontSize":14,"typographyTabletLineHeight":1.5,"typographyTabletLetterSpacing":0,"typographyTabletFontWeight":400,"tabletPaddingType":"ungrouped","tabletPadding":0,"tabletPaddingTop":0,"tabletPaddingRight":10,"tabletPaddingBottom":0,"tabletPaddingLeft":10,"tabletMarginType":"ungrouped","tabletMargin":0,"tabletMarginTop":0,"tabletMarginRight":10,"tabletMarginBottom":0,"tabletMarginLeft":10,"tabletMarginSuffix":"px","tabletMarginTopSuffix":"px","tabletMarginRightSuffix":"px","tabletMarginBottomSuffix":"px","tabletMarginLeftSuffix":"px","mobileWidth":150,"typographyMobileFontStyle":"","typographyMobileFontSize":14,"typographyMobileLineHeight":1.5,"typographyMobileLetterSpacing":0,"typographyMobileFontWeight":400,"mobilePaddingType":"ungrouped","mobilePadding":0,"mobilePaddingTop":0,"mobilePaddingRight":10,"mobilePaddingBottom":0,"mobilePaddingLeft":10,"mobileMarginType":"ungrouped","mobileMargin":0,"mobileMarginTop":0,"mobileMarginRight":10,"mobileMarginBottom":0,"mobileMarginLeft":10,"mobileMarginSuffix":"px","mobileMarginTopSuffix":"px","mobileMarginRightSuffix":"px","mobileMarginBottomSuffix":"px","mobileMarginLeftSuffix":"px"}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"activeTab":0,"type":"glyph","name":"favourite-31","labelText":""},"style":{"className":"","customCSS":"","colorHex":"#73777f","colorOpacity":0.7,"colorPalette":"","tempColorOpacity":0.7,"tempColorPalette":"color8","bgColorHex":"#ffffff","bgColorOpacity":1,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","borderStyle":"solid","tempBorderStyle":"solid","borderWidthType":"grouped","borderWidth":2,"borderTopWidth":2,"borderRightWidth":2,"borderBottomWidth":2,"borderLeftWidth":2,"tempBorderWidth":2,"tempBorderTopWidth":2,"tempBorderRightWidth":2,"tempBorderBottomWidth":2,"tempBorderLeftWidth":2,"borderRadiusType":"grouped","borderRadius":100,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":100,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"borderColorHex":"#e5e5e5","borderColorOpacity":1,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"activeTab":0,"spacing":20,"navStyle2Size":50,"navStyle1Width":200,"switcherStyle":"style-1","labelText1":"Tab 1","labelText2":"Tab 2"},"toolbar":{"tabsColor":""},"style":{"className":"","typographyFontStyle":"","typographyFontFamilyType":"google","families":{"typographyFontFamily":"noto_serif"},"typographyFontSize":16,"typographyFontWeight":400,"typographyLineHeight":1.5,"typographyLetterSpacing":0,"borderStyle":"solid","tempBorderStyle":"solid","borderWidthType":"grouped","borderWidth":1,"borderTopWidth":1,"borderRightWidth":1,"borderBottomWidth":1,"borderLeftWidth":1,"tempBorderWidth":1,"tempBorderTopWidth":1,"tempBorderRightWidth":1,"tempBorderBottomWidth":1,"tempBorderLeftWidth":1,"borderRadiusType":"grouped","borderRadius":100,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":100,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"borderColorHex":"#e5e5e5","borderColorOpacity":1,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","colorHex":"#3c4b71;","colorOpacity":1,"colorPalette":"","tempColorOpacity":1,"tempColorPalette":"color8","activeColorHex":"#ffffff","activeColorOpacity":1,"activeColorPalette":"","tempActiveColorOpacity":0.7,"tempActiveColorPalette":"color8","bgColorType":"solid","bgColorHex":"#f7f7fb","bgColorOpacity":1,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","activeBgColorHex":"#617be5","activeBgColorOpacity":1,"activeBgColorPalette":"","tempActiveBgColorOpacity":1,"tempActiveBgColorPalette":"","boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"customCSS":"","paddingType":"grouped","tempPaddingType":"grouped","padding":14,"paddingTop":14,"paddingRight":14,"paddingBottom":14,"paddingLeft":14,"tempPadding":14,"tempPaddingTop":14,"tempPaddingRight":14,"tempPaddingBottom":14,"tempPaddingLeft":14,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPaddingSuffix":"px","tempPaddingTopSuffix":"px","tempPaddingRightSuffix":"px","tempPaddingBottomSuffix":"px","tempPaddingLeftSuffix":"px","tabletTypographyFontStyle":"","tabletTypographyFontFamilyType":null,"tabletFamilies":{"tabletTypographyFontFamily":null},"tabletTypographyFontSize":null,"tabletTypographyLineHeight":null,"tabletTypographyLetterSpacing":null,"tabletTypographyFontWeight":null,"tabletPaddingType":"grouped","tempTabletPaddingType":"grouped","tabletPadding":14,"tabletPaddingTop":14,"tabletPaddingRight":14,"tabletPaddingBottom":14,"tabletPaddingLeft":14,"tempTabletPadding":14,"tempTabletPaddingTop":14,"tempTabletPaddingRight":14,"tempTabletPaddingBottom":14,"tempTabletPaddingLeft":14,"tabletPaddingSuffix":"px","tabletPaddingTopSuffix":"px","tabletPaddingRightSuffix":"px","tabletPaddingBottomSuffix":"px","tabletPaddingLeftSuffix":"px","tempTabletPaddingSuffix":"px","tempTabletPaddingTopSuffix":"px","tempTabletPaddingRightSuffix":"px","tempTabletPaddingBottomSuffix":"px","tempTabletPaddingLeftSuffix":"px","mobileTypographyFontStyle":"","mobileTypographyFontFamilyType":null,"mobileFamilies":{"mobileTypographyFontFamily":null},"mobileTypographyFontSize":null,"mobileTypographyLineHeight":null,"mobileTypographyLetterSpacing":null,"mobileTypographyFontWeight":null,"mobilePaddingType":"grouped","tempMobilePaddingType":"grouped","mobilePadding":14,"mobilePaddingTop":14,"mobilePaddingRight":14,"mobilePaddingBottom":14,"mobilePaddingLeft":14,"tempMobilePadding":14,"tempMobilePaddingTop":14,"tempMobilePaddingRight":14,"tempMobilePaddingBottom":14,"tempMobilePaddingLeft":14,"mobilePaddingSuffix":"px","mobilePaddingTopSuffix":"px","mobilePaddingRightSuffix":"px","mobilePaddingBottomSuffix":"px","mobilePaddingLeftSuffix":"px","tempMobilePaddingSuffix":"px","tempMobilePaddingTopSuffix":"px","tempMobilePaddingRightSuffix":"px","tempMobilePaddingBottomSuffix":"px","tempMobilePaddingLeftSuffix":"px"}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"labelText":""},"style":{"className":"","customCSS":""}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"activeAccordionItem":0,"filterStyle":"style-1","filterSpacing":3,"afterFilterSpacing":20,"collapsible":"on","navIcon":"none","enableTags":"on"},"style":{"className":"","spacing":3,"horizontalAlign":"left","fontStyle":"","fontFamilyType":"google","families":{"filterFontFamily":"noto_serif"},"fontSize":16,"fontWeight":400,"lineHeight":1.5,"letterSpacing":0,"filterFontStyle":"","filterFontFamilyType":"google","filterFontSize":16,"filterFontWeight":400,"filterLineHeight":1.5,"filterLetterSpacing":0,"borderStyle":"solid","hoverBorderStyle":null,"tempBorderStyle":"solid","tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":2,"borderTopWidth":2,"borderRightWidth":2,"borderBottomWidth":2,"borderLeftWidth":2,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempBorderWidth":2,"tempBorderTopWidth":2,"tempBorderRightWidth":2,"tempBorderBottomWidth":2,"tempBorderLeftWidth":2,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderColorHex":"#dcdee1","borderColorOpacity":1,"borderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempBorderColorOpacity":1,"tempBorderColorPalette":"","tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"filterHorizontalAlign":"left","filterBorderStyle":"solid","filterHoverBorderStyle":null,"filterTempBorderStyle":"solid","filterTempHoverBorderStyle":null,"filterBorderWidthType":"grouped","filterBorderWidth":2,"filterBorderTopWidth":2,"filterBorderRightWidth":2,"filterBorderBottomWidth":2,"filterBorderLeftWidth":2,"filterHoverBorderWidthType":null,"filterHoverBorderWidth":null,"filterHoverBorderTopWidth":null,"filterHoverBorderRightWidth":null,"filterHoverBorderBottomWidth":null,"filterHoverBorderLeftWidth":null,"filterTempBorderWidth":2,"filterTempBorderTopWidth":2,"filterTempBorderRightWidth":2,"filterTempBorderBottomWidth":2,"filterTempBorderLeftWidth":2,"filterTempHoverBorderWidth":null,"filterTempHoverBorderTopWidth":null,"filterTempHoverBorderRightWidth":null,"filterTempHoverBorderBottomWidth":null,"filterTempHoverBorderLeftWidth":null,"filterBorderColorHex":"#dcdee1","filterBorderColorOpacity":1,"filterBorderColorPalette":"","filterHoverBorderColorHex":null,"filterHoverBorderColorOpacity":null,"filterHoverBorderColorPalette":null,"filterTempBorderColorOpacity":1,"filterTempBorderColorPalette":"","filterTempHoverBorderColorOpacity":null,"filterTempHoverBorderColorPalette":null,"filterBorderRadiusType":"grouped","filterBorderRadius":0,"filterBorderTopLeftRadius":0,"filterBorderTopRightRadius":0,"filterBorderBottomRightRadius":0,"filterBorderBottomLeftRadius":0,"filterHoverBorderRadiusType":null,"filterHoverBorderRadius":null,"filterHoverBorderTopLeftRadius":null,"filterHoverBorderTopRightRadius":null,"filterHoverBorderBottomRightRadius":null,"filterHoverBorderBottomLeftRadius":null,"filterTempBorderRadius":0,"filterTempBorderTopLeftRadius":0,"filterTempBorderTopRightRadius":0,"filterTempBorderBottomRightRadius":0,"filterTempBorderBottomLeftRadius":0,"filterTempHoverBorderRadius":null,"filterTempHoverBorderTopLeftRadius":null,"filterTempHoverBorderTopRightRadius":null,"filterTempHoverBorderBottomRightRadius":null,"filterTempHoverBorderBottomLeftRadius":null,"colorHex":"#73777f","colorOpacity":0.7,"colorPalette":"","tempColorOpacity":0.7,"tempColorPalette":"color8","hoverColorHex":null,"hoverColorOpacity":null,"hoverColorPalette":null,"tempHoverColorOpacity":null,"tempHoverColorPalette":null,"filterColorHex":"#73777f","filterColorOpacity":0.7,"filterColorPalette":"","filterTempColorOpacity":0.7,"filterTempColorPalette":"color8","filterHoverColorHex":null,"filterHoverColorOpacity":null,"filterHoverColorPalette":null,"filterTempHoverColorOpacity":null,"filterTempHoverColorPalette":null,"bgColorType":"solid","bgColorHex":"#ffffff","bgColorOpacity":1,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","hoverBgColorType":null,"hoverBgColorHex":null,"hoverBgColorOpacity":null,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":null,"tempHoverBgColorPalette":null,"filterBgColorType":"solid","filterBgColorHex":"#ffffff","filterBgColorOpacity":1,"filterBgColorPalette":"","filterTempBgColorOpacity":1,"filterTempBgColorPalette":"","filterHoverBgColorType":null,"filterHoverBgColorHex":null,"filterHoverBgColorOpacity":null,"filterHoverBgColorPalette":null,"filterTempHoverBgColorOpacity":null,"filterTempHoverBgColorPalette":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"filterBoxShadow":"","filterTempBoxShadow":"on","filterBoxShadowColorHex":"#000000","filterBoxShadowColorOpacity":1,"filterBoxShadowColorPalette":"","filterTempBoxShadowColorOpacity":1,"filterTempBoxShadowColorPalette":"","filterBoxShadowBlur":0,"filterBoxShadowSpread":0,"filterBoxShadowVertical":0,"filterBoxShadowHorizontal":0,"filterTempBoxShadowBlur":4,"filterTempBoxShadowSpread":0,"filterTempBoxShadowVertical":2,"filterTempBoxShadowHorizontal":1,"filterHoverBoxShadow":null,"filterTempHoverBoxShadow":null,"filterHoverBoxShadowColorHex":null,"filterHoverBoxShadowColorOpacity":null,"filterHoverBoxShadowColorPalette":null,"filterTempHoverBoxShadowColorPalette":null,"filterTempHoverBoxShadowColorOpacity":null,"filterHoverBoxShadowBlur":null,"filterHoverBoxShadowSpread":null,"filterHoverBoxShadowVertical":null,"filterHoverBoxShadowHorizontal":null,"filterTempHoverBoxShadowBlur":null,"filterTempHoverBoxShadowSpread":null,"filterTempHoverBoxShadowVertical":null,"filterTempHoverBoxShadowHorizontal":null,"filterPaddingType":"grouped","tempFilterPaddingType":"grouped","filterPadding":10,"filterPaddingTop":10,"filterPaddingRight":10,"filterPaddingBottom":10,"filterPaddingLeft":10,"tempFilterPadding":10,"tempFilterPaddingTop":10,"tempFilterPaddingRight":10,"tempFilterPaddingBottom":10,"tempFilterPaddingLeft":10,"filterPaddingSuffix":"px","filterPaddingTopSuffix":"px","filterPaddingRightSuffix":"px","filterPaddingBottomSuffix":"px","filterPaddingLeftSuffix":"px","tempFilterPaddingSuffix":"px","tempFilterPaddingTopSuffix":"px","tempFilterPaddingRightSuffix":"px","tempFilterPaddingBottomSuffix":"px","tempFilterPaddingLeftSuffix":"px","paddingType":"ungrouped","tempPaddingType":"ungrouped","padding":0,"paddingTop":0,"paddingRight":10,"paddingBottom":0,"paddingLeft":10,"tempPadding":0,"tempPaddingTop":0,"tempPaddingRight":10,"tempPaddingBottom":0,"tempPaddingLeft":10,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPaddingSuffix":"px","tempPaddingTopSuffix":"px","tempPaddingRightSuffix":"px","tempPaddingBottomSuffix":"px","tempPaddingLeftSuffix":"px","hoverPaddingType":null,"tempHoverPaddingType":null,"hoverPadding":null,"hoverPaddingTop":null,"hoverPaddingRight":null,"hoverPaddingBottom":null,"hoverPaddingLeft":null,"tempHoverPadding":null,"tempHoverPaddingTop":null,"tempHoverPaddingRight":null,"tempHoverPaddingBottom":null,"tempHoverPaddingLeft":null,"hoverPaddingSuffix":null,"hoverPaddingTopSuffix":null,"hoverPaddingRightSuffix":null,"hoverPaddingBottomSuffix":null,"hoverPaddingLeftSuffix":null,"tempHoverPaddingSuffix":null,"tempHoverPaddingTopSuffix":null,"tempHoverPaddingRightSuffix":null,"tempHoverPaddingBottomSuffix":null,"tempHoverPaddingLeftSuffix":null,"customCSS":"","tabletFontStyle":"","tabletFontFamilyType":null,"tabletFamilies":{"tabletFilterFontFamily":null},"tabletFontSize":14,"tabletLineHeight":1.5,"tabletFontWeight":400,"tabletLetterSpacing":0,"tabletFilterFontStyle":"","tabletFilterFontFamilyType":null,"tabletFilterFontSize":14,"tabletFilterFontWeight":400,"tabletFilterLineHeight":1.5,"tabletFilterLetterSpacing":0,"tabletBorderStyle":null,"tempTabletBorderStyle":null,"tabletBorderWidthType":null,"tabletBorderWidth":null,"tabletBorderTopWidth":null,"tabletBorderRightWidth":null,"tabletBorderBottomWidth":null,"tabletBorderLeftWidth":null,"tempTabletBorderWidth":null,"tempTabletBorderTopWidth":null,"tempTabletBorderRightWidth":null,"tempTabletBorderBottomWidth":null,"tempTabletBorderLeftWidth":null,"tabletBorderRadiusType":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomRightRadius":null,"tabletBorderBottomLeftRadius":null,"tempTabletBorderRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tabletBorderColorHex":null,"tabletBorderColorOpacity":null,"tabletBorderColorPalette":null,"tempTabletBorderColorOpacity":null,"tempTabletBorderColorPalette":null,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"tabletFilterPaddingType":"grouped","tempTabletFilterPaddingType":"grouped","tabletFilterPadding":null,"tabletFilterPaddingTop":null,"tabletFilterPaddingRight":null,"tabletFilterPaddingBottom":null,"tabletFilterPaddingLeft":null,"tempTabletFilterPadding":null,"tempTabletFilterPaddingTop":null,"tempTabletFilterPaddingRight":null,"tempTabletFilterPaddingBottom":null,"tempTabletFilterPaddingLeft":null,"tabletFilterPaddingSuffix":null,"tabletFilterPaddingTopSuffix":null,"tabletFilterPaddingRightSuffix":null,"tabletFilterPaddingBottomSuffix":null,"tabletFilterPaddingLeftSuffix":null,"tempTabletFilterPaddingSuffix":null,"tempTabletFilterPaddingTopSuffix":null,"tempTabletFilterPaddingRightSuffix":null,"tempTabletFilterPaddingBottomSuffix":null,"tempTabletFilterPaddingLeftSuffix":null,"tabletPaddingType":"ungrouped","tempTabletPaddingType":"ungrouped","tabletPadding":0,"tabletPaddingTop":0,"tabletPaddingRight":10,"tabletPaddingBottom":0,"tabletPaddingLeft":10,"tempTabletPadding":0,"tempTabletPaddingTop":0,"tempTabletPaddingRight":10,"tempTabletPaddingBottom":0,"tempTabletPaddingLeft":10,"tabletPaddingSuffix":"px","tabletPaddingTopSuffix":"px","tabletPaddingRightSuffix":"px","tabletPaddingBottomSuffix":"px","tabletPaddingLeftSuffix":"px","tempTabletPaddingSuffix":"px","tempTabletPaddingTopSuffix":"px","tempTabletPaddingRightSuffix":"px","tempTabletPaddingBottomSuffix":"px","tempTabletPaddingLeftSuffix":"px","mobileFontStyle":"","mobileFontFamilyType":null,"mobileFamilies":{"mobileFilterFontFamily":null},"mobileFontSize":14,"mobileLineHeight":1.5,"mobileFontWeight":400,"mobileLetterSpacing":0,"mobileFilterFontStyle":"","mobileFilterFontFamilyType":null,"mobileFilterFontSize":14,"mobileFilterFontWeight":400,"mobileFilterLineHeight":1.5,"mobileFilterLetterSpacing":0,"mobileBorderStyle":null,"tempMobileBorderStyle":null,"mobileBorderWidthType":null,"mobileBorderWidth":null,"mobileBorderTopWidth":null,"mobileBorderRightWidth":null,"mobileBorderBottomWidth":null,"mobileBorderLeftWidth":null,"tempMobileBorderWidth":null,"tempMobileBorderTopWidth":null,"tempMobileBorderRightWidth":null,"tempMobileBorderBottomWidth":null,"tempMobileBorderLeftWidth":null,"mobileBorderRadiusType":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomRightRadius":null,"mobileBorderBottomLeftRadius":null,"tempMobileBorderRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"mobileBorderColorHex":null,"mobileBorderColorOpacity":null,"mobileBorderColorPalette":null,"tempMobileBorderColorOpacity":null,"tempMobileBorderColorPalette":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null,"mobilePaddingType":"ungrouped","tempMobilePaddingType":"ungrouped","mobilePadding":0,"mobilePaddingTop":0,"mobilePaddingRight":10,"mobilePaddingBottom":0,"mobilePaddingLeft":10,"tempMobilePadding":0,"tempMobilePaddingTop":0,"tempMobilePaddingRight":10,"tempMobilePaddingBottom":0,"tempMobilePaddingLeft":10,"mobilePaddingSuffix":"px","mobilePaddingTopSuffix":"px","mobilePaddingRightSuffix":"px","mobilePaddingBottomSuffix":"px","mobilePaddingLeftSuffix":"px","tempMobilePaddingSuffix":"px","tempMobilePaddingTopSuffix":"px","tempMobilePaddingRightSuffix":"px","tempMobilePaddingBottomSuffix":"px","tempMobilePaddingLeftSuffix":"px","mobileFilterPaddingType":"grouped","tempMobileFilterPaddingType":"grouped","mobileFilterPadding":null,"mobileFilterPaddingTop":null,"mobileFilterPaddingRight":null,"mobileFilterPaddingBottom":null,"mobileFilterPaddingLeft":null,"tempMobileFilterPadding":null,"tempMobileFilterPaddingTop":null,"tempMobileFilterPaddingRight":null,"tempMobileFilterPaddingBottom":null,"tempMobileFilterPaddingLeft":null,"mobileFilterPaddingSuffix":null,"mobileFilterPaddingTopSuffix":null,"mobileFilterPaddingRightSuffix":null,"mobileFilterPaddingBottomSuffix":null,"mobileFilterPaddingLeftSuffix":null,"tempMobileFilterPaddingSuffix":null,"tempMobileFilterPaddingTopSuffix":null,"tempMobileFilterPaddingRightSuffix":null,"tempMobileFilterPaddingBottomSuffix":null,"tempMobileFilterPaddingLeftSuffix":null}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"tags":"","id":"","labelText":"","labelClassName":"","bgImageSrc":"","bgImageWidth":0,"bgImageHeight":0,"bgPositionY":50,"bgPositionX":50,"bgImageExtension":"","tabletBgImageSrc":"","tabletBgImageWidth":0,"tabletBgImageHeight":0,"tabletBgPositionY":50,"tabletBgPositionX":50,"tabletBgImageExtension":"","mobileBgImageSrc":"","mobileBgImageWidth":0,"mobileBgImageHeight":0,"mobileBgPositionY":50,"mobileBgPositionX":50,"mobileBgImageExtension":""},"style":{"className":"","bgColorHex":"#000000","bgColorOpacity":0,"tempBgColorOpacity":0.8,"borderColorHex":"#009900","borderColorOpacity":0,"tempBorderColorOpacity":0.8,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":5,"tempBorderTopWidth":5,"tempBorderRightWidth":5,"tempBorderBottomWidth":5,"tempBorderLeftWidth":5,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":4,"tempBorderTopLeftRadius":4,"tempBorderTopRightRadius":4,"tempBorderBottomRightRadius":4,"tempBorderBottomLeftRadius":4}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"media":"image","tagName":"footer","bgImageWidth":0,"bgImageHeight":0,"bgImageSrc":"","bgPositionY":50,"bgPositionX":50,"bgPopulation":"","bgImageExtension":"","brightness":100,"hue":0,"saturation":100,"contrast":100,"bgVideo":"","bgVideoLoop":"off","bgMapAddress":"Wall Street","bgMapZoom":15,"hoverMedia":"image","hoverBgImageWidth":null,"hoverBgImageHeight":null,"hoverBgImageSrc":null,"hoverBgPositionY":null,"hoverBgPositionX":null,"hoverBgPopulation":null,"hoverBgImageExtension":null,"hoverBrightness":null,"hoverHue":null,"hoverSaturation":null,"hoverContrast":null,"sectionHeightStyle":"auto","sectionHeight":400,"sectionHeightSuffix":"px","verticalAlign":"center","anchorName":"","cssIDPopulation":"","multiPage":"off","showOnDesktop":"on","showOnTablet":"on","tabletMedia":"image","tabletBgImageWidth":null,"tabletBgImageHeight":null,"tabletBgImageSrc":null,"tabletBgPositionX":null,"tabletBgPositionY":null,"tabletBgPopulation":null,"tabletBgImageExtension":null,"tabletBrightness":null,"tabletHue":null,"tabletSaturation":null,"tabletContrast":null,"tabletSectionHeightStyle":null,"tabletSectionHeight":null,"tabletSectionHeightSuffix":null,"tabletBgMapZoom":null,"showOnMobile":"on","mobileMedia":"image","mobileBgImageWidth":null,"mobileBgImageHeight":null,"mobileBgImageSrc":null,"mobileBgPositionX":null,"mobileBgPositionY":null,"mobileBgPopulation":null,"mobileBgImageExtension":null,"mobileBrightness":null,"mobileHue":null,"mobileSaturation":null,"mobileContrast":null,"mobileSectionHeightStyle":null,"mobileSectionHeight":null,"mobileSectionHeightSuffix":null,"mobileBgMapZoom":null},"toolbar":{"tabsState":"","tabsCurrentElement":"","tabsColor":""},"style":{"className":"","customClassName":"","cssClassPopulation":"","customAttributes":"","borderStyle":"","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":8,"tempBorderTopWidth":8,"tempBorderRightWidth":8,"tempBorderBottomWidth":8,"tempBorderLeftWidth":8,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"bgColorType":"solid","gradientActivePointer":"startPointer","gradientStartPointer":0,"gradientFinishPointer":100,"gradientType":"linear","gradientLinearDegree":90,"gradientRadialDegree":90,"hoverBgColorType":null,"hoverGradientActivePointer":null,"hoverGradientStartPointer":null,"hoverGradientFinishPointer":null,"hoverGradientType":null,"hoverGradientLinearDegree":null,"hoverGradientRadialDegree":null,"bgColorHex":"#000000","bgColorOpacity":0,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","hoverBgColorHex":null,"hoverBgColorOpacity":null,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":null,"tempHoverBgColorPalette":null,"gradientColorHex":"#009900","gradientColorOpacity":1,"gradientColorPalette":"","tempGradientColorOpacity":1,"tempGradientColorPalette":"","hoverGradientColorHex":null,"hoverGradientColorOpacity":null,"hoverGradientColorPalette":null,"tempHoverGradientColorOpacity":null,"tempHoverGradientColorPalette":null,"borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"hoverTransition":50,"containerType":"boxed","containerSize":100,"paddingType":"ungrouped","tempPaddingType":"ungrouped","padding":75,"paddingTop":75,"paddingRight":0,"paddingBottom":75,"paddingLeft":0,"tempPadding":75,"tempPaddingTop":75,"tempPaddingRight":0,"tempPaddingBottom":75,"tempPaddingLeft":0,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPaddingSuffix":"px","tempPaddingTopSuffix":"px","tempPaddingRightSuffix":"px","tempPaddingBottomSuffix":"px","tempPaddingLeftSuffix":"px","hoverPaddingType":null,"tempHoverPaddingType":null,"hoverPadding":null,"hoverPaddingTop":null,"hoverPaddingRight":null,"hoverPaddingBottom":null,"hoverPaddingLeft":null,"tempHoverPadding":null,"tempHoverPaddingTop":null,"tempHoverPaddingRight":null,"tempHoverPaddingBottom":null,"tempHoverPaddingLeft":null,"hoverPaddingSuffix":null,"hoverPaddingTopSuffix":null,"hoverPaddingRightSuffix":null,"hoverPaddingBottomSuffix":null,"hoverPaddingLeftSuffix":null,"tempHoverPaddingSuffix":null,"tempHoverPaddingTopSuffix":null,"tempHoverPaddingRightSuffix":null,"tempHoverPaddingBottomSuffix":null,"tempHoverPaddingLeftSuffix":null,"boxShadow":"","tempBoxShadow":"inset","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"shape":"top","shapeTopColorHex":"#000000","shapeTopColorOpacity":1,"shapeTopColorPalette":"","tempShapeTopColorOpacity":1,"tempShapeTopColorPalette":"","shapeBottomColorHex":"#000000","shapeBottomColorOpacity":1,"shapeBottomColorPalette":"","tempShapeBottomColorOpacity":1,"tempShapeBottomColorPalette":"","tempShapeColorOpacity":1,"shapeTopHeight":100,"shapeTopHeightSuffix":"px","shapeBottomHeight":100,"shapeBottomHeightSuffix":"px","shapeTopType":"none","shapeBottomType":"none","shapeTopIndex":"auto","shapeBottomIndex":"auto","shapeTopHorizontal":"off","shapeBottomHorizontal":"off","containerClassName":"","customCSS":"","tabletContainerType":null,"tabletContainerSize":null,"tabletBorderStyle":null,"tempTabletBorderStyle":null,"tabletBorderWidthType":null,"tabletBorderWidth":null,"tabletBorderTopWidth":null,"tabletBorderRightWidth":null,"tabletBorderBottomWidth":null,"tabletBorderLeftWidth":null,"tempTabletBorderWidth":null,"tempTabletBorderTopWidth":null,"tempTabletBorderRightWidth":null,"tempTabletBorderBottomWidth":null,"tempTabletBorderLeftWidth":null,"tabletBorderRadiusType":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomLeftRadius":null,"tabletBorderBottomRightRadius":null,"tempTabletBorderRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tempTabletBorderBottomRightRadius":null,"tabletBgColorType":null,"tabletGradientStartPointer":null,"tabletGradientFinishPointer":null,"tabletGradientActivePointer":null,"tabletGradientType":null,"tabletGradientLinearDegree":null,"tabletGradientRadialDegree":null,"tabletBgColorHex":null,"tabletBgColorOpacity":null,"tabletBgColorPalette":null,"tempTabletBgColorOpacity":null,"tempTabletBgColorPalette":null,"tabletGradientColorHex":null,"tabletGradientColorOpacity":null,"tabletGradientColorPalette":null,"tempTabletGradientColorOpacity":null,"tempTabletGradientColorPalette":null,"tabletBorderColorHex":null,"tabletBorderColorOpacity":null,"tabletBorderColorPalette":null,"tempTabletBorderColorOpacity":null,"tempTabletBorderColorPalette":null,"tabletPaddingType":"ungrouped","tempTabletPaddingType":"ungrouped","tabletPadding":25,"tabletPaddingTop":25,"tabletPaddingRight":15,"tabletPaddingBottom":25,"tabletPaddingLeft":15,"tempTabletPadding":25,"tempTabletPaddingTop":25,"tempTabletPaddingRight":15,"tempTabletPaddingBottom":25,"tempTabletPaddingLeft":15,"tabletPaddingSuffix":"px","tabletPaddingTopSuffix":"px","tabletPaddingRightSuffix":"px","tabletPaddingBottomSuffix":"px","tabletPaddingLeftSuffix":"px","tempTabletPaddingSuffix":"px","tempTabletPaddingTopSuffix":"px","tempTabletPaddingRightSuffix":"px","tempTabletPaddingBottomSuffix":"px","tempTabletPaddingLeftSuffix":"px","tabletBoxShadow":null,"tempTabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"tabletShapeTopType":null,"tabletShapeBottomType":null,"tabletShapeTopColorHex":null,"tabletShapeTopColorOpacity":null,"tabletShapeTopColorPalette":null,"tempTabletShapeTopColorOpacity":null,"tempTabletShapeTopColorPalette":null,"tabletShapeBottomColorHex":null,"tabletShapeBottomColorOpacity":null,"tabletShapeBottomColorPalette":null,"tempTabletShapeBottomColorOpacity":null,"tempTabletShapeBottomColorPalette":null,"tabletShape":null,"tabletShapeTopHeight":null,"tabletShapeTopHeightSuffix":null,"tabletShapeBottomHeight":null,"tabletShapeBottomHeightSuffix":null,"mobileContainerType":null,"mobileContainerSize":null,"mobileBgColorType":null,"mobileGradientStartPointer":null,"mobileGradientFinishPointer":null,"mobileGradientActivePointer":null,"mobileGradientType":null,"mobileGradientLinearDegree":null,"mobileGradientRadialDegree":null,"mobileBorderStyle":null,"tempMobileBorderStyle":null,"mobileBorderWidthType":null,"mobileBorderWidth":null,"mobileBorderTopWidth":null,"mobileBorderRightWidth":null,"mobileBorderBottomWidth":null,"mobileBorderLeftWidth":null,"tempMobileBorderWidth":null,"tempMobileBorderTopWidth":null,"tempMobileBorderRightWidth":null,"tempMobileBorderBottomWidth":null,"tempMobileBorderLeftWidth":null,"mobileBorderRadiusType":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomLeftRadius":null,"mobileBorderBottomRightRadius":null,"tempMobileBorderRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"tempMobileBorderBottomRightRadius":null,"mobileBgColorHex":null,"mobileBgColorOpacity":null,"mobileBgColorPalette":null,"tempMobileBgColorOpacity":null,"tempMobileBgColorPalette":null,"mobileGradientColorHex":null,"mobileGradientColorOpacity":null,"mobileGradientColorPalette":null,"tempMobileGradientColorOpacity":null,"tempMobileGradientColorPalette":null,"mobileBorderColorHex":null,"mobileBorderColorOpacity":null,"mobileBorderColorPalette":null,"tempMobileBorderColorOpacity":null,"tempMobileBorderColorPalette":null,"mobileBoxShadow":null,"tempMobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null,"mobilePaddingType":"ungrouped","tempMobilePaddingType":"ungrouped","mobilePadding":25,"mobilePaddingTop":25,"mobilePaddingRight":15,"mobilePaddingBottom":25,"mobilePaddingLeft":15,"tempMobilePadding":25,"tempMobilePaddingTop":25,"tempMobilePaddingRight":15,"tempMobilePaddingBottom":25,"tempMobilePaddingLeft":15,"mobilePaddingSuffix":"px","mobilePaddingTopSuffix":"px","mobilePaddingRightSuffix":"px","mobilePaddingBottomSuffix":"px","mobilePaddingLeftSuffix":"px","tempMobilePaddingSuffix":"px","tempMobilePaddingTopSuffix":"px","tempMobilePaddingRightSuffix":"px","tempMobilePaddingBottomSuffix":"px","tempMobilePaddingLeftSuffix":"px","mobileShapeTopType":null,"mobileShapeBottomType":null,"mobileShapeTopColorHex":null,"mobileShapeTopColorOpacity":null,"mobileShapeTopColorPalette":null,"tempMobileShapeTopColorOpacity":null,"tempMobileShapeTopColorPalette":null,"mobileShapeBottomColorHex":null,"mobileShapeBottomColorOpacity":null,"mobileShapeBottomColorPalette":null,"tempMobileShapeBottomColorOpacity":null,"tempMobileShapeBottomColorPalette":null,"mobileShape":null,"mobileShapeTopHeight":null,"mobileShapeTopHeightSuffix":null,"mobileShapeBottomHeight":null,"mobileShapeBottomHeightSuffix":null}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"type":"fixed","anchorName":"","cssIDPopulation":"","showOnDesktop":"on","showOnTablet":"on","showOnMobile":"on"},"style":{"className":"","customClassName":"","cssClassPopulation":"","containerClassName":"","customAttributes":""}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"media":"image","bgImageWidth":0,"bgImageHeight":0,"bgImageSrc":"","bgPositionY":50,"bgPositionX":50,"bgPopulation":"","bgImageExtension":"","brightness":100,"hue":0,"saturation":100,"contrast":100,"hoverMedia":"image","hoverBgImageWidth":null,"hoverBgImageHeight":null,"hoverBgImageSrc":null,"hoverBgPositionY":null,"hoverBgPositionX":null,"hoverBgPopulation":null,"hoverBgImageExtension":null,"hoverBrightness":null,"hoverHue":null,"hoverSaturation":null,"hoverContrast":null,"tabletMedia":null,"tabletBgImageWidth":null,"tabletBgImageHeight":null,"tabletBgImageSrc":null,"tabletBgPositionX":null,"tabletBgPositionY":null,"tabletBgPopulation":null,"tabletBgImageExtension":null,"tabletBrightness":null,"tabletHue":null,"tabletSaturation":null,"tabletContrast":null,"mobileMedia":null,"mobileBgImageWidth":null,"mobileBgImageHeight":null,"mobileBgImageSrc":null,"mobileBgPositionX":null,"mobileBgPositionY":null,"mobileBgPopulation":null,"mobileBgImageExtension":null,"mobileBrightness":null,"mobileHue":null,"mobileSaturation":null,"mobileContrast":null},"toolbar":{"tabsState":"","tabsCurrentElement":"","tabsColor":""},"style":{"className":"","borderStyle":"","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":8,"tempBorderTopWidth":8,"tempBorderRightWidth":8,"tempBorderBottomWidth":8,"tempBorderLeftWidth":8,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"bgColorType":"solid","gradientActivePointer":"startPointer","gradientStartPointer":0,"gradientFinishPointer":100,"gradientType":"linear","gradientLinearDegree":90,"gradientRadialDegree":90,"hoverBgColorType":null,"hoverGradientActivePointer":null,"hoverGradientStartPointer":null,"hoverGradientFinishPointer":null,"hoverGradientType":null,"hoverGradientLinearDegree":null,"hoverGradientRadialDegree":null,"bgColorHex":"#000000","bgColorOpacity":0,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","hoverBgColorHex":null,"hoverBgColorOpacity":null,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":null,"tempHoverBgColorPalette":null,"gradientColorHex":"#009900","gradientColorOpacity":1,"gradientColorPalette":"","tempGradientColorOpacity":1,"tempGradientColorPalette":"","hoverGradientColorHex":null,"hoverGradientColorOpacity":null,"hoverGradientColorPalette":null,"tempHoverGradientColorOpacity":null,"tempHoverGradientColorPalette":null,"borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"hoverTransition":50,"containerType":"boxed","containerSize":100,"hoverContainerType":null,"hoverContainerSize":null,"paddingType":"ungrouped","tempPaddingType":"ungrouped","padding":75,"paddingTop":75,"paddingRight":0,"paddingBottom":75,"paddingLeft":0,"tempPadding":75,"tempPaddingTop":75,"tempPaddingRight":0,"tempPaddingBottom":75,"tempPaddingLeft":0,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPaddingSuffix":"px","tempPaddingTopSuffix":"px","tempPaddingRightSuffix":"px","tempPaddingBottomSuffix":"px","tempPaddingLeftSuffix":"px","hoverPaddingType":null,"tempHoverPaddingType":null,"hoverPadding":null,"hoverPaddingTop":null,"hoverPaddingRight":null,"hoverPaddingBottom":null,"hoverPaddingLeft":null,"tempHoverPadding":null,"tempHoverPaddingTop":null,"tempHoverPaddingRight":null,"tempHoverPaddingBottom":null,"tempHoverPaddingLeft":null,"hoverPaddingSuffix":null,"hoverPaddingTopSuffix":null,"hoverPaddingRightSuffix":null,"hoverPaddingBottomSuffix":null,"hoverPaddingLeftSuffix":null,"tempHoverPaddingSuffix":null,"tempHoverPaddingTopSuffix":null,"tempHoverPaddingRightSuffix":null,"tempHoverPaddingBottomSuffix":null,"tempHoverPaddingLeftSuffix":null,"boxShadow":"","tempBoxShadow":"inset","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowVertical":null,"hoverBoxShadowSpread":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowHorizontal":null,"shape":"top","shapeTopColorHex":"#000000","shapeTopColorOpacity":1,"shapeTopColorPalette":"","tempShapeTopColorOpacity":1,"tempShapeTopColorPalette":"","shapeBottomColorHex":"#000000","shapeBottomColorOpacity":1,"shapeBottomColorPalette":"","tempShapeBottomColorOpacity":1,"tempShapeBottomColorPalette":"","tempShapeColorOpacity":1,"shapeTopHeight":100,"shapeTopHeightSuffix":"px","shapeBottomHeight":100,"shapeBottomHeightSuffix":"px","shapeTopType":"none","shapeBottomType":"none","shapeTopIndex":"auto","shapeBottomIndex":"auto","shapeTopHorizontal":"off","shapeBottomHorizontal":"off","containerClassName":"","customClassName":"","customCSS":"","tabletContainerType":null,"tabletContainerSize":null,"tabletBorderStyle":null,"tempTabletBorderStyle":null,"tabletBorderWidthType":null,"tabletBorderWidth":null,"tabletBorderTopWidth":null,"tabletBorderRightWidth":null,"tabletBorderBottomWidth":null,"tabletBorderLeftWidth":null,"tempTabletBorderWidth":null,"tempTabletBorderTopWidth":null,"tempTabletBorderRightWidth":null,"tempTabletBorderBottomWidth":null,"tempTabletBorderLeftWidth":null,"tabletBorderRadiusType":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomLeftRadius":null,"tabletBorderBottomRightRadius":null,"tempTabletBorderRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tempTabletBorderBottomRightRadius":null,"tabletBgColorType":null,"tabletGradientStartPointer":null,"tabletGradientFinishPointer":null,"tabletGradientActivePointer":null,"tabletGradientType":null,"tabletGradientLinearDegree":null,"tabletGradientRadialDegree":null,"tabletBgColorHex":null,"tabletBgColorOpacity":null,"tabletBgColorPalette":null,"tempTabletBgColorOpacity":null,"tempTabletBgColorPalette":null,"tabletGradientColorHex":null,"tabletGradientColorOpacity":null,"tabletGradientColorPalette":null,"tempTabletGradientColorOpacity":null,"tempTabletGradientColorPalette":null,"tabletBorderColorHex":null,"tabletBorderColorOpacity":null,"tabletBorderColorPalette":null,"tempTabletBorderColorOpacity":null,"tempTabletBorderColorPalette":null,"tabletPaddingType":"ungrouped","tempTabletPaddingType":"ungrouped","tabletPadding":50,"tabletPaddingTop":50,"tabletPaddingRight":15,"tabletPaddingBottom":50,"tabletPaddingLeft":15,"tempTabletPadding":50,"tempTabletPaddingTop":50,"tempTabletPaddingRight":15,"tempTabletPaddingBottom":50,"tempTabletPaddingLeft":15,"tabletPaddingSuffix":"px","tabletPaddingTopSuffix":"px","tabletPaddingRightSuffix":"px","tabletPaddingBottomSuffix":"px","tabletPaddingLeftSuffix":"px","tempTabletPaddingSuffix":"px","tempTabletPaddingTopSuffix":"px","tempTabletPaddingRightSuffix":"px","tempTabletPaddingBottomSuffix":"px","tempTabletPaddingLeftSuffix":"px","tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"tabletShapeTopType":null,"tabletShapeBottomType":null,"tabletShapeTopColorHex":null,"tabletShapeTopColorOpacity":null,"tabletShapeTopColorPalette":null,"tempTabletShapeTopColorOpacity":null,"tempTabletShapeTopColorPalette":null,"tabletShapeBottomColorHex":null,"tabletShapeBottomColorOpacity":null,"tabletShapeBottomColorPalette":null,"tempTabletShapeBottomColorOpacity":null,"tempTabletShapeBottomColorPalette":null,"tabletShape":null,"tabletShapeTopHeight":null,"tabletShapeTopHeightSuffix":null,"tabletShapeBottomHeight":null,"tabletShapeBottomHeightSuffix":null,"mobileContainerType":null,"mobileContainerSize":null,"mobileBgColorType":null,"mobileGradientStartPointer":null,"mobileGradientFinishPointer":null,"mobileGradientActivePointer":null,"mobileGradientType":null,"mobileGradientLinearDegree":null,"mobileGradientRadialDegree":null,"mobileBorderStyle":null,"tempMobileBorderStyle":null,"mobileBorderWidthType":null,"mobileBorderWidth":null,"mobileBorderTopWidth":null,"mobileBorderRightWidth":null,"mobileBorderBottomWidth":null,"mobileBorderLeftWidth":null,"tempMobileBorderWidth":null,"tempMobileBorderTopWidth":null,"tempMobileBorderRightWidth":null,"tempMobileBorderBottomWidth":null,"tempMobileBorderLeftWidth":null,"mobileBorderRadiusType":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomLeftRadius":null,"mobileBorderBottomRightRadius":null,"tempMobileBorderRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"tempMobileBorderBottomRightRadius":null,"mobileBgColorHex":null,"mobileBgColorOpacity":null,"mobileBgColorPalette":null,"tempMobileBgColorOpacity":null,"tempMobileBgColorPalette":null,"mobileGradientColorHex":null,"mobileGradientColorOpacity":null,"mobileGradientColorPalette":null,"tempMobileGradientColorOpacity":null,"tempMobileGradientColorPalette":null,"mobileBorderColorHex":null,"mobileBorderColorOpacity":null,"mobileBorderColorPalette":null,"tempMobileBorderColorOpacity":null,"tempMobileBorderColorPalette":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null,"mobilePaddingType":"ungrouped","tempMobilePaddingType":"ungrouped","mobilePadding":25,"mobilePaddingTop":25,"mobilePaddingRight":15,"mobilePaddingBottom":25,"mobilePaddingLeft":15,"tempMobilePadding":25,"tempMobilePaddingTop":25,"tempMobilePaddingRight":15,"tempMobilePaddingBottom":25,"tempMobilePaddingLeft":15,"mobilePaddingSuffix":"px","mobilePaddingTopSuffix":"px","mobilePaddingRightSuffix":"px","mobilePaddingBottomSuffix":"px","mobilePaddingLeftSuffix":"px","tempMobilePaddingSuffix":"px","tempMobilePaddingTopSuffix":"px","tempMobilePaddingRightSuffix":"px","tempMobilePaddingBottomSuffix":"px","tempMobilePaddingLeftSuffix":"px","mobileShapeTopType":null,"mobileShapeBottomType":null,"mobileShapeTopColorHex":null,"mobileShapeTopColorOpacity":null,"mobileShapeTopColorPalette":null,"tempMobileShapeTopColorOpacity":null,"tempMobileShapeTopColorPalette":null,"mobileShapeBottomColorHex":null,"mobileShapeBottomColorOpacity":null,"mobileShapeBottomColorPalette":null,"tempMobileShapeBottomColorOpacity":null,"tempMobileShapeBottomColorPalette":null,"mobileShape":null,"mobileShapeTopHeight":null,"mobileShapeTopHeightSuffix":null,"mobileShapeBottomHeight":null,"mobileShapeBottomHeightSuffix":null}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"media":"image","bgImageWidth":0,"bgImageHeight":0,"bgImageSrc":"","bgPositionY":50,"bgPositionX":50,"bgPopulation":"","bgImageExtension":"","brightness":100,"hue":0,"saturation":100,"contrast":100,"hoverMedia":"image","hoverBgImageWidth":null,"hoverBgImageHeight":null,"hoverBgImageSrc":null,"hoverBgPositionY":null,"hoverBgPositionX":null,"hoverBgPopulation":null,"hoverBgImageExtension":null,"hoverBrightness":null,"hoverHue":null,"hoverSaturation":null,"hoverContrast":null,"tabletMedia":null,"tabletBgImageWidth":null,"tabletBgImageHeight":null,"tabletBgImageSrc":null,"tabletBgPositionX":null,"tabletBgPositionY":null,"tabletBgPopulation":null,"tabletBgImageExtension":null,"tabletBrightness":null,"tabletHue":null,"tabletSaturation":null,"tabletContrast":null,"mobileMedia":null,"mobileBgImageWidth":null,"mobileBgImageHeight":null,"mobileBgImageSrc":null,"mobileBgPositionX":null,"mobileBgPositionY":null,"mobileBgPopulation":null,"mobileBgImageExtension":null,"mobileBrightness":null,"mobileHue":null,"mobileSaturation":null,"mobileContrast":null},"toolbar":{"tabsState":"","tabsCurrentElement":"","tabsColor":""},"style":{"className":"","borderStyle":"","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":8,"tempBorderTopWidth":8,"tempBorderRightWidth":8,"tempBorderBottomWidth":8,"tempBorderLeftWidth":8,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"bgColorType":"solid","gradientActivePointer":"startPointer","gradientStartPointer":0,"gradientFinishPointer":100,"gradientType":"linear","gradientLinearDegree":90,"gradientRadialDegree":90,"hoverBgColorType":null,"hoverGradientActivePointer":null,"hoverGradientStartPointer":null,"hoverGradientFinishPointer":null,"hoverGradientType":null,"hoverGradientLinearDegree":null,"hoverGradientRadialDegree":null,"bgColorHex":"#FFFFFF","bgColorOpacity":1,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","hoverBgColorHex":null,"hoverBgColorOpacity":null,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":null,"tempHoverBgColorPalette":null,"gradientColorHex":"#009900","gradientColorOpacity":1,"gradientColorPalette":"","tempGradientColorOpacity":1,"tempGradientColorPalette":"","hoverGradientColorHex":null,"hoverGradientColorOpacity":null,"hoverGradientColorPalette":null,"tempHoverGradientColorOpacity":null,"tempHoverGradientColorPalette":null,"borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"hoverTransition":50,"containerType":"boxed","containerSize":100,"hoverContainerType":null,"hoverContainerSize":null,"paddingType":"ungrouped","tempPaddingType":"ungrouped","padding":10,"paddingTop":10,"paddingRight":0,"paddingBottom":10,"paddingLeft":0,"tempPadding":10,"tempPaddingTop":10,"tempPaddingRight":0,"tempPaddingBottom":10,"tempPaddingLeft":0,"paddingSuffix":"px","paddingTopSuffix":"px","paddingRightSuffix":"px","paddingBottomSuffix":"px","paddingLeftSuffix":"px","tempPaddingSuffix":"px","tempPaddingTopSuffix":"px","tempPaddingRightSuffix":"px","tempPaddingBottomSuffix":"px","tempPaddingLeftSuffix":"px","hoverPaddingType":null,"tempHoverPaddingType":null,"hoverPadding":null,"hoverPaddingTop":null,"hoverPaddingRight":null,"hoverPaddingBottom":null,"hoverPaddingLeft":null,"tempHoverPadding":null,"tempHoverPaddingTop":null,"tempHoverPaddingRight":null,"tempHoverPaddingBottom":null,"tempHoverPaddingLeft":null,"hoverPaddingSuffix":null,"hoverPaddingTopSuffix":null,"hoverPaddingRightSuffix":null,"hoverPaddingBottomSuffix":null,"hoverPaddingLeftSuffix":null,"tempHoverPaddingSuffix":null,"tempHoverPaddingTopSuffix":null,"tempHoverPaddingRightSuffix":null,"tempHoverPaddingBottomSuffix":null,"tempHoverPaddingLeftSuffix":null,"boxShadow":"","tempBoxShadow":"inset","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"shape":"top","shapeTopColorHex":"#000000","shapeTopColorOpacity":1,"shapeTopColorPalette":"","tempShapeTopColorOpacity":1,"tempShapeTopColorPalette":"","shapeBottomColorHex":"#000000","shapeBottomColorOpacity":1,"shapeBottomColorPalette":"","tempShapeBottomColorOpacity":1,"tempShapeBottomColorPalette":"","tempShapeColorOpacity":1,"shapeTopHeight":100,"shapeTopHeightSuffix":"px","shapeBottomHeight":100,"shapeBottomHeightSuffix":"px","shapeTopType":"none","shapeBottomType":"none","shapeTopIndex":"auto","shapeBottomIndex":"auto","shapeTopHorizontal":"off","shapeBottomHorizontal":"off","containerClassName":"","customClassName":"","customCSS":"","tabletContainerType":null,"tabletContainerSize":null,"tabletBorderStyle":null,"tempTabletBorderStyle":null,"tabletBorderWidthType":null,"tabletBorderWidth":null,"tabletBorderTopWidth":null,"tabletBorderRightWidth":null,"tabletBorderBottomWidth":null,"tabletBorderLeftWidth":null,"tempTabletBorderWidth":null,"tempTabletBorderTopWidth":null,"tempTabletBorderRightWidth":null,"tempTabletBorderBottomWidth":null,"tempTabletBorderLeftWidth":null,"tabletBorderRadiusType":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomLeftRadius":null,"tabletBorderBottomRightRadius":null,"tempTabletBorderRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tempTabletBorderBottomRightRadius":null,"tabletBgColorType":null,"tabletGradientStartPointer":null,"tabletGradientFinishPointer":null,"tabletGradientActivePointer":null,"tabletGradientType":null,"tabletGradientLinearDegree":null,"tabletGradientRadialDegree":null,"tabletBgColorHex":null,"tabletBgColorOpacity":null,"tabletBgColorPalette":null,"tempTabletBgColorOpacity":null,"tempTabletBgColorPalette":null,"tabletGradientColorHex":null,"tabletGradientColorOpacity":null,"tabletGradientColorPalette":null,"tempTabletGradientColorOpacity":null,"tempTabletGradientColorPalette":null,"tabletBorderColorHex":null,"tabletBorderColorOpacity":null,"tabletBorderColorPalette":null,"tempTabletBorderColorOpacity":null,"tempTabletBorderColorPalette":null,"tabletPaddingType":"ungrouped","tempTabletPaddingType":"ungrouped","tabletPadding":10,"tabletPaddingTop":10,"tabletPaddingRight":0,"tabletPaddingBottom":10,"tabletPaddingLeft":0,"tempTabletPadding":10,"tempTabletPaddingTop":10,"tempTabletPaddingRight":0,"tempTabletPaddingBottom":10,"tempTabletPaddingLeft":0,"tabletPaddingSuffix":"px","tabletPaddingTopSuffix":"px","tabletPaddingRightSuffix":"px","tabletPaddingBottomSuffix":"px","tabletPaddingLeftSuffix":"px","tempTabletPaddingSuffix":"px","tempTabletPaddingTopSuffix":"px","tempTabletPaddingRightSuffix":"px","tempTabletPaddingBottomSuffix":"px","tempTabletPaddingLeftSuffix":"px","tabletShapeTopType":null,"tabletShapeBottomType":null,"tabletShapeTopColorHex":null,"tabletShapeTopColorOpacity":null,"tabletShapeTopColorPalette":null,"tempTabletShapeTopColorOpacity":null,"tempTabletShapeTopColorPalette":null,"tabletShapeBottomColorHex":null,"tabletShapeBottomColorOpacity":null,"tabletShapeBottomColorPalette":null,"tempTabletShapeBottomColorOpacity":null,"tempTabletShapeBottomColorPalette":null,"tabletShape":null,"tabletShapeTopHeight":null,"tabletShapeTopHeightSuffix":null,"tabletShapeBottomHeight":null,"tabletShapeBottomHeightSuffix":null,"tabletBoxShadow":null,"tempTabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"mobileContainerType":null,"mobileContainerSize":null,"mobileBgColorType":null,"mobileGradientStartPointer":null,"mobileGradientFinishPointer":null,"mobileGradientActivePointer":null,"mobileGradientType":null,"mobileGradientLinearDegree":null,"mobileGradientRadialDegree":null,"mobileBorderStyle":null,"tempMobileBorderStyle":null,"mobileBorderWidthType":null,"mobileBorderWidth":null,"mobileBorderTopWidth":null,"mobileBorderRightWidth":null,"mobileBorderBottomWidth":null,"mobileBorderLeftWidth":null,"tempMobileBorderWidth":null,"tempMobileBorderTopWidth":null,"tempMobileBorderRightWidth":null,"tempMobileBorderBottomWidth":null,"tempMobileBorderLeftWidth":null,"mobileBorderRadiusType":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomLeftRadius":null,"mobileBorderBottomRightRadius":null,"tempMobileBorderRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"tempMobileBorderBottomRightRadius":null,"mobileBgColorHex":null,"mobileBgColorOpacity":null,"mobileBgColorPalette":null,"tempMobileBgColorOpacity":null,"tempMobileBgColorPalette":null,"mobileGradientColorHex":null,"mobileGradientColorOpacity":null,"mobileGradientColorPalette":null,"tempMobileGradientColorOpacity":null,"tempMobileGradientColorPalette":null,"mobileBorderColorHex":null,"mobileBorderColorOpacity":null,"mobileBorderColorPalette":null,"tempMobileBorderColorOpacity":null,"tempMobileBorderColorPalette":null,"mobileBoxShadow":null,"tempMobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null,"mobilePaddingType":"ungrouped","tempMobilePaddingType":"ungrouped","mobilePadding":10,"mobilePaddingTop":10,"mobilePaddingRight":0,"mobilePaddingBottom":10,"mobilePaddingLeft":0,"tempMobilePadding":10,"tempMobilePaddingTop":10,"tempMobilePaddingRight":0,"tempMobilePaddingBottom":10,"tempMobilePaddingLeft":0,"mobilePaddingSuffix":"px","mobilePaddingTopSuffix":"px","mobilePaddingRightSuffix":"px","mobilePaddingBottomSuffix":"px","mobilePaddingLeftSuffix":"px","tempMobilePaddingSuffix":"px","tempMobilePaddingTopSuffix":"px","tempMobilePaddingRightSuffix":"px","tempMobilePaddingBottomSuffix":"px","tempMobilePaddingLeftSuffix":"px","mobileShapeTopType":null,"mobileShapeBottomType":null,"mobileShapeTopColorHex":null,"mobileShapeTopColorOpacity":null,"mobileShapeTopColorPalette":null,"tempMobileShapeTopColorOpacity":null,"tempMobileShapeTopColorPalette":null,"mobileShapeBottomColorHex":null,"mobileShapeBottomColorOpacity":null,"mobileShapeBottomColorPalette":null,"tempMobileShapeBottomColorOpacity":null,"tempMobileShapeBottomColorPalette":null,"mobileShape":null,"mobileShapeTopHeight":null,"mobileShapeTopHeightSuffix":null,"mobileShapeBottomHeight":null,"mobileShapeBottomHeightSuffix":null}}')},function(e){e.exports=JSON.parse('{"content":{"items":[],"lightBox":"off","enableTags":"on","gridColumn":2,"tabletGridColumn":2,"mobileGridColumn":1},"style":{"className":"","spacing":5,"filterSpacing":10,"afterFilterSpacing":20,"filterStyle":"style-1","filterHorizontalAlign":"left","customCSS":"","filterFontStyle":"","filterFontFamilyType":"google","families":{"filterFontFamily":"noto_serif"},"filterFontSize":16,"filterFontWeight":400,"filterLineHeight":1.5,"filterLetterSpacing":0,"borderStyle":"solid","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":2,"borderTopWidth":2,"borderRightWidth":2,"borderBottomWidth":2,"borderLeftWidth":2,"tempBorderWidth":2,"tempBorderTopWidth":2,"tempBorderRightWidth":2,"tempBorderBottomWidth":2,"tempBorderLeftWidth":2,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"filterColorHex":"#73777f","filterColorOpacity":0.7,"filterColorPalette":"","tempFilterColorOpacity":0.7,"tempFilterColorPalette":"color8","hoverFilterColorHex":null,"hoverFilterColorOpacity":null,"hoverFilterColorPalette":null,"tempHoverFilterColorOpacity":null,"tempHoverFilterColorPalette":null,"filterBgColorType":"solid","filterBgColorHex":"#ffffff","filterBgColorOpacity":1,"filterBgColorPalette":"","tempFilterBgColorOpacity":1,"tempFilterBgColorPalette":"","hoverFilterBgColorType":null,"hoverFilterBgColorHex":null,"hoverFilterBgColorOpacity":null,"hoverFilterBgColorPalette":null,"tempHoverFilterBgColorOpacity":null,"tempHoverFilterBgColorPalette":null,"filterBoxShadow":"","tempFilterBoxShadow":"on","filterBoxShadowColorHex":"#000000","filterBoxShadowColorOpacity":1,"filterBoxShadowColorPalette":"","tempFilterBoxShadowColorOpacity":1,"tempFilterBoxShadowColorPalette":"","filterBoxShadowBlur":0,"filterBoxShadowSpread":0,"filterBoxShadowVertical":0,"filterBoxShadowHorizontal":0,"tempFilterBoxShadowBlur":4,"tempFilterBoxShadowSpread":0,"tempFilterBoxShadowVertical":2,"tempFilterBoxShadowHorizontal":1,"hoverFilterBoxShadow":null,"tempHoverFilterBoxShadow":null,"hoverFilterBoxShadowColorHex":null,"hoverFilterBoxShadowColorOpacity":null,"hoverFilterBoxShadowColorPalette":null,"tempHoverFilterBoxShadowColorPalette":null,"tempHoverFilterBoxShadowColorOpacity":null,"hoverFilterBoxShadowBlur":null,"hoverFilterBoxShadowSpread":null,"hoverFilterBoxShadowVertical":null,"hoverFilterBoxShadowHorizontal":null,"tempHoverFilterBoxShadowBlur":null,"tempHoverFilterBoxShadowSpread":null,"tempHoverFilterBoxShadowVertical":null,"tempHoverFilterBoxShadowHorizontal":null,"filterPaddingType":"grouped","tempFilterPaddingType":"grouped","filterPadding":10,"filterPaddingTop":10,"filterPaddingRight":10,"filterPaddingBottom":10,"filterPaddingLeft":10,"tempFilterPadding":10,"tempFilterPaddingTop":10,"tempFilterPaddingRight":10,"tempFilterPaddingBottom":10,"tempFilterPaddingLeft":10,"filterPaddingSuffix":"px","filterPaddingTopSuffix":"px","filterPaddingRightSuffix":"px","filterPaddingBottomSuffix":"px","filterPaddingLeftSuffix":"px","tempFilterPaddingSuffix":"px","tempFilterPaddingTopSuffix":"px","tempFilterPaddingRightSuffix":"px","tempFilterPaddingBottomSuffix":"px","tempFilterPaddingLeftSuffix":"px","filterBorderStyle":"solid","hoverFilterBorderStyle":null,"tempFilterBorderStyle":"solid","tempHoverFilterBorderStyle":null,"filterBorderWidthType":"grouped","filterBorderWidth":2,"filterBorderTopWidth":2,"filterBorderRightWidth":2,"filterBorderBottomWidth":2,"filterBorderLeftWidth":2,"hoverFilterBorderWidthType":null,"hoverFilterBorderWidth":null,"hoverFilterBorderTopWidth":null,"hoverFilterBorderRightWidth":null,"hoverFilterBorderBottomWidth":null,"hoverFilterBorderLeftWidth":null,"tempFilterBorderWidth":2,"tempFilterBorderTopWidth":2,"tempFilterBorderRightWidth":2,"tempFilterBorderBottomWidth":2,"tempFilterBorderLeftWidth":2,"tempHoverFilterBorderWidth":null,"tempHoverFilterBorderTopWidth":null,"tempHoverFilterBorderRightWidth":null,"tempHoverFilterBorderBottomWidth":null,"tempHoverFilterBorderLeftWidth":null,"filterBorderColorHex":"#dcdee1","filterBorderColorOpacity":1,"filterBorderColorPalette":"","hoverFilterBorderColorHex":null,"hoverFilterBorderColorOpacity":null,"hoverFilterBorderColorPalette":null,"tempFilterBorderColorOpacity":1,"tempFilterBorderColorPalette":"","tempHoverFilterBorderColorOpacity":null,"tempHoverFilterBorderColorPalette":null,"filterBorderRadiusType":"grouped","filterBorderRadius":0,"filterBorderTopLeftRadius":0,"filterBorderTopRightRadius":0,"filterBorderBottomRightRadius":0,"filterBorderBottomLeftRadius":0,"hoverFilterBorderRadiusType":null,"hoverFilterBorderRadius":null,"hoverFilterBorderTopLeftRadius":null,"hoverFilterBorderTopRightRadius":null,"hoverFilterBorderBottomRightRadius":null,"hoverFilterBorderBottomLeftRadius":null,"tempFilterBorderRadius":0,"tempFilterBorderTopLeftRadius":0,"tempFilterBorderTopRightRadius":0,"tempFilterBorderBottomRightRadius":0,"tempFilterBorderBottomLeftRadius":0,"tempHoverFilterBorderRadius":null,"tempHoverFilterBorderTopLeftRadius":null,"tempHoverFilterBorderTopRightRadius":null,"tempHoverFilterBorderBottomRightRadius":null,"tempHoverFilterBorderBottomLeftRadius":null,"tabletFilterFontStyle":"","tabletFilterFontFamilyType":null,"tabletFamilies":{"tabletFilterFontFamily":null},"tabletFilterFontSize":14,"tabletFilterLineHeight":1.5,"tabletFilterLetterSpacing":0,"tabletFilterFontWeight":400,"tabletHorizontalAlign":null,"tabletSpacing":null,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"tabletFilterPaddingType":"grouped","tempTabletFilterPaddingType":"grouped","tabletFilterPadding":null,"tabletFilterPaddingTop":null,"tabletFilterPaddingRight":null,"tabletFilterPaddingBottom":null,"tabletFilterPaddingLeft":null,"tempTabletFilterPadding":null,"tempTabletFilterPaddingTop":null,"tempTabletFilterPaddingRight":null,"tempTabletFilterPaddingBottom":null,"tempTabletFilterPaddingLeft":null,"tabletFilterPaddingSuffix":null,"tabletFilterPaddingTopSuffix":null,"tabletFilterPaddingRightSuffix":null,"tabletFilterPaddingBottomSuffix":null,"tabletFilterPaddingLeftSuffix":null,"tempTabletFilterPaddingSuffix":null,"tempTabletFilterPaddingTopSuffix":null,"tempTabletFilterPaddingRightSuffix":null,"tempTabletFilterPaddingBottomSuffix":null,"tempTabletFilterPaddingLeftSuffix":null,"mobileFilterFontStyle":"","mobileFilterFontFamilyType":null,"mobileFamilies":{"mobileFilterFontFamily":null},"mobileFilterFontSize":14,"mobileFilterLineHeight":1.5,"mobileFilterLetterSpacing":0,"mobileFilterFontWeight":400,"mobileHorizontalAlign":null,"mobileSpacing":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null,"mobileFilterPaddingType":"grouped","tempMobileFilterPaddingType":"grouped","mobileFilterPadding":null,"mobileFilterPaddingTop":null,"mobileFilterPaddingRight":null,"mobileFilterPaddingBottom":null,"mobileFilterPaddingLeft":null,"tempMobileFilterPadding":null,"tempMobileFilterPaddingTop":null,"tempMobileFilterPaddingRight":null,"tempMobileFilterPaddingBottom":null,"tempMobileFilterPaddingLeft":null,"mobileFilterPaddingSuffix":null,"mobileFilterPaddingTopSuffix":null,"mobileFilterPaddingRightSuffix":null,"mobileFilterPaddingBottomSuffix":null,"mobileFilterPaddingLeftSuffix":null,"tempMobileFilterPaddingSuffix":null,"tempMobileFilterPaddingTopSuffix":null,"tempMobileFilterPaddingRightSuffix":null,"tempMobileFilterPaddingBottomSuffix":null,"tempMobileFilterPaddingLeftSuffix":null}}')},function(e){e.exports=JSON.parse('{"content":{"popupId":"","items":[],"media":"image","bgImageWidth":0,"bgImageHeight":0,"bgImageSrc":"","bgPositionY":50,"bgPositionX":50,"bgPopulation":"","bgImageExtension":"","brightness":100,"hue":0,"saturation":100,"contrast":100,"hoverMedia":"image","hoverBgImageWidth":null,"hoverBgImageHeight":null,"hoverBgImageSrc":null,"hoverBgPositionY":null,"hoverBgPositionX":null,"hoverBgPopulation":null,"hoverBgImageExtension":null,"hoverBrightness":null,"hoverHue":null,"hoverSaturation":null,"hoverContrast":null,"tabletMedia":"image","tabletBgImageWidth":null,"tabletBgImageHeight":null,"tabletBgImageSrc":null,"tabletBgPositionX":null,"tabletBgPositionY":null,"tabletBgPopulation":null,"tabletBgImageExtension":null,"tabletBrightness":null,"tabletHue":null,"tabletSaturation":null,"tabletContrast":null,"mobileMedia":"image","mobileBgImageWidth":null,"mobileBgImageHeight":null,"mobileBgImageSrc":null,"mobileBgPositionX":null,"mobileBgPositionY":null,"mobileBgPopulation":null,"mobileBgImageExtension":null,"mobileBrightness":null,"mobileHue":null,"mobileSaturation":null,"mobileContrast":null},"toolbar":{"tabsMedia":"","tabsState":"","tabsColor":"","tabletTabsMedia":null,"tabletTabsState":null,"tabletTabsColor":null,"mobileTabsMedia":null,"mobileTabsState":null,"mobileTabsColor":null},"style":{"className":"","borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":8,"tempBorderTopWidth":8,"tempBorderRightWidth":8,"tempBorderBottomWidth":8,"tempBorderLeftWidth":8,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"bgColorType":"solid","tempBgColorType":"solid","gradientActivePointer":"startPointer","gradientStartPointer":0,"gradientFinishPointer":100,"gradientType":"linear","gradientLinearDegree":90,"gradientRadialDegree":90,"bgColorHex":"#000000","bgColorOpacity":0,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","gradientColorHex":"#009900","gradientColorOpacity":1,"gradientColorPalette":"","tempGradientColorOpacity":1,"tempGradientColorPalette":"","colorHex":"#ffffff","colorOpacity":1,"colorPalette":"","tempColorOpacity":1,"tempColorPalette":"color3","borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","containerClassName":"","containerSize":100,"customCSS":"","hoverBgColorType":null,"tempHoverBgColorType":null,"hoverGradientActivePointer":null,"hoverGradientStartPointer":null,"hoverGradientFinishPointer":null,"hoverGradientType":null,"hoverGradientLinearDegree":null,"hoverGradientRadialDegree":null,"hoverBgColorHex":null,"hoverBgColorOpacity":null,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":null,"tempHoverBgColorPalette":null,"hoverGradientColorHex":null,"hoverGradientColorOpacity":null,"hoverGradientColorPalette":null,"tempHoverGradientColorOpacity":null,"tempHoverGradientColorPalette":null,"hoverColorHex":"#239ddb","hoverColorOpacity":0.8,"hoverColorPalette":"color3","tempHoverColorOpacity":1,"tempHoverColorPalette":"color3","tabletContainerType":null,"tabletContainerSize":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomLeftRadius":null,"tabletBorderBottomRightRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tempTabletBorderBottomRightRadius":null,"tabletBgColorType":null,"tabletGradientStartPointer":null,"tabletGradientFinishPointer":null,"tabletGradientActivePointer":null,"tabletGradientType":null,"tabletGradientLinearDegree":null,"tabletGradientRadialDegree":null,"tabletBgColorHex":null,"tabletBgColorOpacity":null,"tabletBgColorPalette":null,"tempTabletBgColorOpacity":null,"tempTabletBgColorPalette":null,"tabletGradientColorHex":null,"tabletGradientColorOpacity":null,"tabletGradientColorPalette":null,"tempTabletGradientColorOpacity":null,"tempTabletGradientColorPalette":null,"mobileContainerType":null,"mobileContainerSize":null,"mobileBgColorType":null,"mobileGradientStartPointer":null,"mobileGradientFinishPointer":null,"mobileGradientActivePointer":null,"mobileGradientType":null,"mobileGradientLinearDegree":null,"mobileGradientRadialDegree":null,"mobileBgColorHex":null,"mobileBgColorOpacity":null,"mobileBgColorPalette":null,"tempMobileBgColorOpacity":null,"tempMobileBgColorPalette":null,"mobileGradientColorHex":null,"mobileGradientColorOpacity":null,"mobileGradientColorPalette":null,"tempMobileGradientColorOpacity":null,"tempMobileGradientColorPalette":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomLeftRadius":null,"mobileBorderBottomRightRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"tempMobileBorderBottomRightRadius":null}}')},function(e){e.exports=JSON.parse('{"content":{"popupId":"","items":[],"media":"image","bgImageWidth":0,"bgImageHeight":0,"bgImageSrc":"","bgPositionY":50,"bgPositionX":50,"bgPopulation":"","bgImageExtension":"","brightness":100,"hue":0,"saturation":100,"contrast":100,"hoverMedia":"image","hoverBgImageWidth":null,"hoverBgImageHeight":null,"hoverBgImageSrc":null,"hoverBgPositionY":null,"hoverBgPositionX":null,"hoverBgPopulation":null,"hoverBgImageExtension":null,"hoverBrightness":null,"hoverHue":null,"hoverSaturation":null,"hoverContrast":null,"tabletMedia":"image","tabletBgImageWidth":null,"tabletBgImageHeight":null,"tabletBgImageSrc":null,"tabletBgPositionX":null,"tabletBgPositionY":null,"tabletBgPopulation":null,"tabletBgImageExtension":null,"tabletBrightness":null,"tabletHue":null,"tabletSaturation":null,"tabletContrast":null,"mobileMedia":"image","mobileBgImageWidth":null,"mobileBgImageHeight":null,"mobileBgImageSrc":null,"mobileBgPositionX":null,"mobileBgPositionY":null,"mobileBgPopulation":null,"mobileBgImageExtension":null,"mobileBrightness":null,"mobileHue":null,"mobileSaturation":null,"mobileContrast":null},"toolbar":{"tabsState":"","tabsColor":"","tabletTabsState":null,"tabletTabsColor":null,"mobileTabsState":null,"mobileTabsColor":null},"style":{"className":"","closePosition":"outside","closeHorizontalPosition":20,"closeHorizontalPositionSuffix":"px","closeVerticalPosition":20,"closeVerticalPositionSuffix":"px","closeSize":"small","closeCustomSize":16,"closeSmallSize":16,"closeMediumSize":24,"closeLargeSize":32,"closeFillType":"default","tempCloseFillType":"filled","closeBorderRadiusShape":"","tempCloseBorderRadiusShape":"square","closeBorderRadius":0,"tempCloseBorderRadius":2,"closeBgSize":0,"tempCloseBgSize":5,"closeColorHex":"#ffffff","closeColorOpacity":1,"closeColorPalette":"","tempCloseColorOpacity":1,"tempCloseColorPalette":"color3","hoverCloseColorHex":null,"hoverCloseColorOpacity":null,"hoverCloseColorPalette":null,"tempHoverCloseColorOpacity":null,"tempHoverCloseColorPalette":null,"closeBgColorHex":"#000000","closeBgColorOpacity":0,"closeBgColorPalette":"","tempCloseBgColorOpacity":1,"tempCloseBgColorPalette":"","hoverCloseBgColorHex":null,"hoverCloseBgColorOpacity":null,"hoverCloseBgColorPalette":null,"tempHoverCloseBgColorOpacity":null,"tempHoverCloseBgColorPalette":null,"closeAlign":"topRight","scrollPage":"off","clickOutsideToClose":"on","showCloseButton":"on","showCloseButtonAfter":0,"hoverShowCloseButton":null,"bgColorType":"solid","tempBgColorType":"solid","hoverBgColorType":null,"tempHoverBgColorType":null,"bgColorHex":"#000000","bgColorOpacity":0,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","hoverBgColorHex":null,"hoverBgColorOpacity":null,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":null,"tempHoverBgColorPalette":null,"gradientColorHex":"#009900","gradientColorOpacity":1,"gradientColorPalette":"","tempGradientColorOpacity":1,"tempGradientColorPalette":"","gradientActivePointer":"startPointer","gradientStartPointer":0,"gradientFinishPointer":100,"gradientType":"linear","gradientLinearDegree":90,"gradientRadialDegree":90,"hoverGradientColorHex":null,"hoverGradientColorOpacity":null,"hoverGradientColorPalette":null,"tempHoverGradientColorOpacity":null,"tempHoverGradientColorPalette":null,"hoverGradientActivePointer":null,"hoverGradientStartPointer":null,"hoverGradientFinishPointer":null,"hoverGradientType":null,"hoverGradientLinearDegree":null,"hoverGradientRadialDegree":null,"verticalAlign":"center","horizontalAlign":"center","width":1170,"widthSuffix":"px","columnsHeightStyle":"auto","columnsHeight":400,"columnsHeightSuffix":"px","popupRowVerticalAlign":"center","borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"containerClassName":"","customCSS":"","tabletClosePosition":null,"tabletPopupRowVerticalAlign":null,"tabletCloseHorizontalPosition":null,"tabletCloseHorizontalPositionSuffix":null,"tabletCloseVerticalPosition":null,"tabletCloseVerticalPositionSuffix":null,"tabletCloseSize":null,"tabletCloseCustomSize":null,"tabletCloseSmallSize":null,"tabletCloseMediumSize":null,"tabletCloseLargeSize":null,"tabletCloseFillType":null,"tempTabletCloseFillType":null,"tabletCloseBorderRadiusShape":null,"tempTabletCloseBorderRadiusShape":null,"tabletCloseBorderRadius":null,"tempTabletCloseBorderRadius":null,"tabletCloseBgSize":null,"tempTabletCloseBgSize":null,"tabletCloseColorHex":null,"tabletCloseColorOpacity":null,"tabletCloseColorPalette":null,"tempTabletCloseColorOpacity":null,"tempTabletCloseColorPalette":null,"tabletCloseBgColorHex":null,"tabletCloseBgColorOpacity":null,"tabletCloseBgColorPalette":null,"tempTabletCloseBgColorOpacity":null,"tempTabletCloseBgColorPalette":null,"tabletCloseAlign":null,"tabletShowCloseButton":null,"tabletShowCloseButtonAfter":null,"tabletBgColorType":null,"tabletBgColorHex":null,"tabletBgColorOpacity":null,"tabletBgColorPalette":null,"tempTabletBgColorOpacity":null,"tempTabletBgColorPalette":null,"tabletGradientColorHex":null,"tabletGradientColorOpacity":null,"tabletGradientColorPalette":null,"tempTabletGradientColorOpacity":null,"tempTabletGradientColorPalette":null,"tabletGradientStartPointer":null,"tabletGradientFinishPointer":null,"tabletGradientActivePointer":null,"tabletGradientType":null,"tabletGradientLinearDegree":null,"tabletGradientRadialDegree":null,"tabletVerticalAlign":null,"tabletHorizontalAlign":null,"tabletWidth":null,"tabletWidthSuffix":null,"tabletColumnsHeightStyle":null,"tabletColumnsHeight":null,"tabletColumnsHeightSuffix":null,"tabletBorderRadius":null,"tabletBorderTopLeftRadius":null,"tabletBorderTopRightRadius":null,"tabletBorderBottomLeftRadius":null,"tabletBorderBottomRightRadius":null,"tempTabletBorderTopLeftRadius":null,"tempTabletBorderTopRightRadius":null,"tempTabletBorderBottomLeftRadius":null,"tempTabletBorderBottomRightRadius":null,"mobileClosePosition":null,"mobilePopupRowVerticalAlign":null,"mobileCloseHorizontalPosition":null,"mobileCloseHorizontalPositionSuffix":null,"mobileCloseVerticalPosition":null,"mobileCloseVerticalPositionSuffix":null,"mobileCloseSize":null,"mobileCloseCustomSize":null,"mobileCloseSmallSize":null,"mobileCloseMediumSize":null,"mobileCloseLargeSize":null,"mobileCloseFillType":null,"tempMobileCloseFillType":null,"mobileCloseBorderRadiusShape":null,"tempMobileCloseBorderRadiusShape":null,"mobileCloseBorderRadius":null,"tempMobileCloseBorderRadius":null,"mobileCloseBgSize":null,"tempMobileCloseBgSize":null,"mobileCloseColorHex":null,"mobileCloseColorOpacity":null,"mobileCloseColorPalette":null,"tempMobileCloseColorOpacity":null,"tempMobileCloseColorPalette":null,"mobileCloseBgColorHex":null,"mobileCloseBgColorOpacity":null,"mobileCloseBgColorPalette":null,"tempMobileCloseBgColorOpacity":null,"tempMobileCloseBgColorPalette":null,"mobileCloseAlign":null,"mobileShowCloseButton":null,"mobileShowCloseButtonAfter":null,"mobileBgColorType":null,"mobileBgColorHex":null,"mobileBgColorOpacity":null,"mobileBgColorPalette":null,"tempMobileBgColorOpacity":null,"tempMobileBgColorPalette":null,"mobileGradientColorHex":null,"mobileGradientColorOpacity":null,"mobileGradientColorPalette":null,"tempMobileGradientColorOpacity":null,"tempMobileGradientColorPalette":null,"mobileGradientStartPointer":null,"mobileGradientFinishPointer":null,"mobileGradientActivePointer":null,"mobileGradientType":null,"mobileGradientLinearDegree":null,"mobileGradientRadialDegree":null,"mobileVerticalAlign":null,"mobileHorizontalAlign":null,"mobileWidth":null,"mobileWidthSuffix":null,"mobileColumnsHeightStyle":null,"mobileColumnsHeight":null,"mobileColumnsHeightSuffix":null,"mobileBorderRadius":null,"mobileBorderTopLeftRadius":null,"mobileBorderTopRightRadius":null,"mobileBorderBottomLeftRadius":null,"mobileBorderBottomRightRadius":null,"tempMobileBorderTopLeftRadius":null,"tempMobileBorderTopRightRadius":null,"tempMobileBorderBottomLeftRadius":null,"tempMobileBorderBottomRightRadius":null}}')},function(e){e.exports=JSON.parse('{"content":{"swipe":"on","dynamic":"off","orderBy":"title","order":"ASC","columns":4,"taxonomy":"category","taxonomyId":1,"slidesToShow":3,"slidesToScroll":1,"sliderAutoPlay":"off","sliderAutoPlaySpeed":3,"items":[]},"style":{"className":"","spacing":0,"sliderArrows":"thin","sliderArrowsSpacing":30,"sliderArrowsColorHex":"#000000","sliderArrowsColorOpacity":1,"sliderArrowsColorPalette":"","tempSliderArrowsColorOpacity":1,"tempSliderArrowsColorPalette":"","sliderDots":"circle","sliderDotsColorHex":"#000000","sliderDotsColorOpacity":1,"sliderDotsColorPalette":"","tempSliderDotsColorOpacity":1,"tempSliderDotsColorPalette":"","sliderPaddingType":"ungrouped","sliderPadding":0,"sliderPaddingSuffix":"px","sliderPaddingTop":10,"sliderPaddingTopSuffix":"px","sliderPaddingRight":70,"sliderPaddingRightSuffix":"px","sliderPaddingBottom":30,"sliderPaddingBottomSuffix":"px","sliderPaddingLeft":70,"sliderPaddingLeftSuffix":"px","customCSS":"","tabletSlidesToShow":2,"tabletSliderArrowsSpacing":null,"tabletSliderPaddingType":"ungrouped","tabletSliderPadding":0,"tabletSliderPaddingSuffix":"px","tabletSliderPaddingTop":10,"tabletSliderPaddingTopSuffix":"px","tabletSliderPaddingRight":0,"tabletSliderPaddingRightSuffix":"px","tabletSliderPaddingBottom":30,"tabletSliderPaddingBottomSuffix":"px","tabletSliderPaddingLeft":0,"tabletSliderPaddingLeftSuffix":"px","mobileSliderArrowsSpacing":null,"mobileSliderPaddingType":"ungrouped","mobileSliderPadding":0,"mobileSliderPaddingSuffix":"px","mobileSliderPaddingTop":10,"mobileSliderPaddingTopSuffix":"px","mobileSliderPaddingRight":0,"mobileSliderPaddingRightSuffix":"px","mobileSliderPaddingBottom":30,"mobileSliderPaddingBottomSuffix":"px","mobileSliderPaddingLeft":0,"mobileSliderPaddingLeftSuffix":"px"}}')},function(e){e.exports=JSON.parse('{"toolbar":{"tabsState":"","tabsColor":"","tabletTabsState":null,"tabletTabsColor":null,"mobileTabsState":null,"mobileTabsColor":null},"content":{"iconName":"shape-star","iconType":"outline"},"style":{"className":"","label":"on","text":"Rating","rating":2.5,"spacing":15,"iconSize":"small","iconCustomSize":16,"iconSmallSize":16,"iconMediumSize":24,"iconLargeSize":32,"iconSpacing":3,"fontStyle":"","fontFamilyType":"google","families":{"fontFamily":"lato"},"fontSize":16,"fontWeight":400,"lineHeight":1.3,"letterSpacing":0,"colorHex":"#2B3039;","colorOpacity":1,"colorPalette":"","tempColorOpacity":1,"tempColorPalette":"","hoverColorHex":null,"hoverColorOpacity":null,"hoverColorPalette":null,"tempHoverColorOpacity":null,"tempHoverColorPalette":null,"ratingColorHex":"#d62c64","ratingColorOpacity":1,"ratingColorPalette":"","tempRatingColorOpacity":1,"tempRatingColorPalette":"","ratingBackgroundColorHex":"#d7d7d1","ratingBackgroundColorOpacity":1,"ratingBackgroundColorPalette":"","tempRatingBackgroundColorOpacity":1,"tempRatingBackgroundColorPalette":"","hoverRatingColorHex":null,"hoverRatingColorOpacity":null,"hoverRatingColorPalette":null,"tempHoverRatingColorOpacity":null,"tempHoverRatingColorPalette":null,"hoverRatingBackgroundColorHex":null,"hoverRatingBackgroundColorOpacity":null,"hoverRatingBackgroundColorPalette":null,"tempHoverRatingBackgroundColorOpacity":null,"tempHoverRatingBackgroundColorPalette":null,"customCSS":"","hoverTransition":50,"tabletSpacing":null,"tabletIconSize":null,"tabletIconCustomSize":null,"tabletIconSmallSize":null,"tabletIconMediumSize":null,"tabletIconLargeSize":null,"tabletIconSpacing":null,"tabletFontStyle":null,"tabletFontFamilyType":null,"tabletFamilies":{"tabletFontFamily":null},"tabletFontSize":null,"tabletFontWeight":null,"tabletLineHeight":null,"tabletLetterSpacing":null,"mobileSpacing":null,"mobileIconSize":null,"mobileIconCustomSize":null,"mobileIconSmallSize":null,"mobileIconMediumSize":null,"mobileIconLargeSize":null,"mobileIconSpacing":null,"mobileFontStyle":null,"mobileFontFamilyType":null,"mobileFamilies":{"mobileFontFamily":null},"mobileFontSize":null,"mobileFontWeight":null,"mobileLineHeight":null,"mobileLetterSpacing":null}}')},function(e){e.exports=JSON.parse('{"content":{"menuName":""},"style":{"className":"","width":100,"itemPadding":15,"fontStyle":"","fontFamilyType":"google","families":{"fontFamily":"roboto"},"fontSize":14,"fontWeight":600,"lineHeight":1.3,"letterSpacing":0,"colorHex":"#33344b","colorOpacity":1,"colorPalette":"","tempColorOpacity":1,"tempColorPalette":"","tabletWidth":null,"tabletItemPadding":null,"tabletToggleMenu":"off","tabletFontStyle":"","tabletFontSize":14,"tabletLineHeight":1.3,"tabletFontWeight":600,"tabletLetterSpacing":0,"mobileWidth":null,"mobileItemPadding":null,"mobileToggleMenu":"off","mobileFontStyle":"","mobileFontSize":14,"mobileLineHeight":1.3,"mobileFontWeight":600,"mobileLetterSpacing":0}}')},function(e){e.exports=JSON.parse('{"content":{"menuSelected":"","items":[],"symbols":{},"mMenu":"off","mMenuTitle":"Menu","tabletMMenu":"on","mobileMMenu":"on"},"style":{"className":"","colorHex":"#000000","colorOpacity":1,"colorPalette":"","hoverColorHex":"#000000","hoverColorOpacity":1,"hoverColorPalette":"","tempColorOpacity":1,"tempHoverColorOpacity":1,"fontStyle":"button","fontFamilyType":"google","subMenuFontFamilyType":"google","mMenuFontFamilyType":"google","families":{"fontFamily":"montserrat","subMenuFontFamily":"montserrat","mMenuFontFamily":"montserrat"},"fontSize":12,"fontWeight":700,"lineHeight":1.8,"letterSpacing":3,"customCSS":"","tabletFontStyle":"button","tabletFontSize":11,"tabletFontWeight":700,"tabletLineHeight":1.8,"tabletLetterSpacing":1,"mobileFontStyle":"button","mobileFontSize":11,"mobileFontWeight":700,"mobileLineHeight":1.8,"mobileLetterSpacing":1,"horizontalAlign":"center","tabletHorizontalAlign":null,"mobileHorizontalAlign":null,"iconSize":12,"iconSpacing":15,"itemPadding":10,"itemPaddingTop":0,"itemPaddingRight":10,"itemPaddingBottom":0,"itemPaddingLeft":10,"tabletIconSize":12,"tabletItemPadding":10,"tabletItemPaddingTop":0,"tabletItemPaddingRight":10,"tabletItemPaddingBottom":0,"tabletItemPaddingLeft":10,"mobileIconSize":12,"mobileItemPadding":10,"mobileItemPaddingTop":0,"mobileItemPaddingRight":10,"mobileItemPaddingBottom":0,"mobileItemPaddingLeft":10,"subMenuColorHex":"#ffffff","subMenuColorOpacity":1,"subMenuColorPalette":"","subMenuHoverColorHex":"#ffffff","subMenuHoverColorOpacity":1,"subMenuHoverColorPalette":"","subMenuTempColorOpacity":1,"subMenuTempHoverColorOpacity":1,"subMenuBgColorType":"solid","subMenuBgColorHex":"#333333","subMenuBgColorOpacity":1,"subMenuBgColorPalette":"","subMenuHoverBgColorType":"solid","subMenuHoverBgColorHex":"#333333","subMenuHoverBgColorOpacity":1,"subMenuHoverBgColorPalette":"","subMenuTempBgColorOpacity":1,"subMenuTempHoverBgColorOpacity":1,"subMenuBorderColorHex":"#555555","subMenuBorderColorOpacity":1,"subMenuBorderColorPalette":"","subMenuTempBorderColorOpacity":1,"subMenuBorderWidth":1,"subMenuBorderStyle":"solid","subMenuIconSize":12,"subMenuIconSpacing":15,"subMenuFontStyle":"button","subMenuFontSize":12,"subMenuFontWeight":700,"subMenuLineHeight":1.8,"subMenuLetterSpacing":3,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowVertical":null,"hoverBoxShadowSpread":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowHorizontal":null,"tabletSubMenuFontStyle":"button","tabletSubMenuFontSize":11,"tabletSubMenuFontWeight":700,"tabletSubMenuLineHeight":1.8,"tabletSubMenuLetterSpacing":1,"mobileSubMenuFontStyle":"button","mobileSubMenuFontSize":11,"mobileSubMenuFontWeight":700,"mobileSubMenuLineHeight":1.8,"mobileSubMenuLetterSpacing":1,"mMenuSize":18,"mMenuFontStyle":"button","mMenuFontSize":12,"mMenuFontWeight":700,"mMenuLineHeight":1.8,"mMenuLetterSpacing":3,"mMenuPosition":"left","mMenuColorHex":"#ffffff","mMenuColorOpacity":1,"mMenuColorPalette":"","mMenuHoverColorHex":"#ffffff","mMenuHoverColorOpacity":1,"mMenuHoverColorPalette":"","mMenuTempColorOpacity":1,"mMenuTempHoverColorOpacity":1,"mMenuBgColorType":"solid","mMenuBgColorHex":"#333333","mMenuBgColorOpacity":1,"mMenuBgColorPalette":"","mMenuTempBgColorOpacity":1,"mMenuBorderColorHex":"#555555","mMenuBorderColorOpacity":1,"mMenuBorderColorPalette":"","mMenuTempBorderColorOpacity":1,"mMenuIconSize":12,"mMenuIconSpacing":15,"mMenuIconColorHex":"#333333","mMenuIconColorOpacity":1,"mMenuIconColorPalette":"","mMenuTempIconColorOpacity":1,"mMenuItemHorizontalAlign":"left","tabletMMenuItemHorizontalAlign":null,"mobileMMenuItemHorizontalAlign":null,"tabletMMenuSize":null,"tabletMMenuFontStyle":"button","tabletMMenuFontSize":12,"tabletMMenuFontWeight":700,"tabletMMenuLineHeight":1.8,"tabletMMenuLetterSpacing":3,"tabletMMenuPosition":null,"tabletMMenuIconSize":12,"tabletMMenuIconSpacing":15,"tabletMMenuIconColorHex":null,"tabletMMenuIconColorOpacity":null,"tabletMMenuIconColorPalette":null,"mobileMMenuSize":null,"mobileMMenuFontStyle":"button","mobileMMenuFontSize":12,"mobileMMenuFontWeight":700,"mobileMMenuLineHeight":1.8,"mobileMMenuLetterSpacing":3,"mobileMMenuPosition":null,"mobileMMenuIconSize":12,"mobileMMenuIconSpacing":15,"mobileMMenuIconColorHex":null,"mobileMMenuIconColorOpacity":null,"mobileMMenuIconColorPalette":null}}')},function(e){e.exports=JSON.parse('{"content":{"id":"","title":"","attrTitle":"","classes":"","target":"","url":"","items":[],"iconName":"","iconType":"","megaMenu":"off","megaMenuItems":[{"type":"SectionMegaMenu","value":{"items":[]}}]}}')},function(e){e.exports=JSON.parse('{"content":{"facebookType":"button","facebookButtonType":"like","layout":"button","showFriends":"off","showCounter":"off","size":"small","share":"on","facebookEmbedType":"post","postAndVideoShowText":"on","facebookEmbedVideoAllowFullScreen":"off","facebookEmbedVideoAutoPlay":"off","facebookEmbedVideoCaptions":"off","pageTabs":"timeline","smallHeader":"off","hideCover":"off","showFacepile":"off","showSocialContext":"on","showMetaData":"on"},"link":{"targetUrl":"current","href":"","facebookEmbedPostHref":"https://www.facebook.com/brizy.io/posts/1382471355229091","facebookEmbedVideoHref":"https://www.facebook.com/brizy.io/videos/1941346902610185","facebookPageHref":"https://facebook.com/brizy.io","facebookGroupHref":"https://www.facebook.com/groups/brizy/"},"style":{"width":300,"height":450,"skin":"light","className":"","customCSS":"","borderStyle":"solid","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":4,"tempBorderTopWidth":4,"tempBorderRightWidth":4,"tempBorderBottomWidth":4,"tempBorderLeftWidth":4,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"hoverTransition":50,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null}}')},function(e){e.exports=JSON.parse('{"content":{"type":"like","layout":"button","size":"small","share":"on","showFriends":"off","showCounter":"off","darkScheme":"off"},"link":{"targetUrl":"current","href":""},"toolbar":{"tabsState":"","tabsColor":""},"style":{"className":"","customCSS":"","boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"hoverTransition":50,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null}}')},,function(e){e.exports=JSON.parse('{"content":{"type":"facebook","numPosts":10,"darkScheme":"off","disqusShortname":"brizy-disqus","skin":"skin1"},"link":{"targetUrl":"current","href":""},"toolbar":{"tabsState":"","tabsColor":""},"style":{"className":"","customCSS":"","width":100,"logoSize":67,"borderStyle":"solid","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"bgColorType":"solid","bgColorHex":"#000000","bgColorOpacity":0,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":4,"tempBorderTopWidth":4,"tempBorderRightWidth":4,"tempBorderBottomWidth":4,"tempBorderLeftWidth":4,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"nameColorHex":"#000000","nameColorOpacity":1,"nameColorPalette":"color1","tempNameColorOpacity":1,"tempNameColorPalette":"color1","commentsColorHex":"#73777f","commentsColorOpacity":0.75,"commentsColorPalette":"color7","tempCommentsColorOpacity":0.75,"tempCommentsColorPalette":"color7","postButtonColorHex":"#ffffff","postButtonColorOpacity":1,"postButtonColorPalette":"color6","temppostButtonColorOpacity":1,"temppostButtonColorPalette":"color6","hoverPostButtonColorHex":null,"hoverPostButtonColorOpacity":null,"hoverPostButtonColorPalette":null,"tempHoverPostButtonColorOpacity":1,"tempHoverPostButtonColorPalette":"color6","postButtonBgColorType":"solid","postButtonBgColorHex":"#3dbfe8","postButtonBgColorOpacity":1,"postButtonBgColorPalette":"","tempPostButtonBgColorOpacity":1,"tempPostButtonBgColorPalette":"","hoverPostButtonBgColorHex":null,"hoverPostButtonBgColorOpacity":null,"hoverPostButtonBgColorPalette":null,"tempHoverPostButtonBgColorOpacity":null,"tempHoverPostButtonBgColorPalette":null,"nameFontStyle":"","nameFontFamilyType":"google","nameFamilies":{"nameFontFamily":"lato"},"nameFontFamily":"","nameFontSize":20,"nameFontWeight":600,"nameLineHeight":1.3,"nameLetterSpacing":-0.1,"commentFontStyle":"","commentFontFamilyType":"google","commentFamilies":{"commentFontFamily":"lato"},"commentFontFamily":"","commentFontSize":15,"commentFontWeight":400,"commentLineHeight":1.9,"commentLetterSpacing":0.5,"dateFontStyle":"","dateFontFamilyType":"google","dateFamilies":{"dateFontFamily":"lato"},"dateFontFamily":"","dateFontSize":15,"dateFontWeight":500,"dateLineHeight":1.3,"dateLetterSpacing":0,"replyFontStyle":"","replyFontFamilyType":"google","replyFamilies":{"replyFontFamily":"lato"},"replyFontFamily":"","replyFontSize":15,"replyFontWeight":600,"replyLineHeight":1.3,"replyLetterSpacing":0,"postButtonFontStyle":"","postButtonFontFamilyType":"google","postButtonFamilies":{"postButtonFontFamily":"lato"},"postButtonFontFamily":"","postButtonFontSize":16,"postButtonFontWeight":600,"postButtonLineHeight":1,"postButtonLetterSpacing":-0.1,"hoverTransition":50,"tabletWidth":null,"tabletLogoSize":null,"tabletDateSpacing":null,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"tabletNameFontStyle":"","tabletNameFontFamilyType":null,"tabletNameFamilies":{"tabletNameFontFamily":null},"tabletNameFontSize":20,"tabletNameFontWeight":600,"tabletNameLineHeight":1.3,"tabletNameLetterSpacing":-0.1,"tabletCommentFontStyle":"","tabletCommentFontFamilyType":null,"tabletCommentFamilies":{"tabletCommentFontFamily":null},"tabletCommentFontSize":15,"tabletCommentFontWeight":400,"tabletCommentLineHeight":1.9,"tabletCommentLetterSpacing":0.5,"tabletDateFontStyle":"","tabletDateFontFamilyType":null,"tabletDateFamilies":{"tabletDateFontFamily":null},"tabletDateFontSize":15,"tabletDateFontWeight":500,"tabletDateLineHeight":1.3,"tabletDateLetterSpacing":0,"tabletReplyFontStyle":"","tabletReplyFontFamilyType":null,"tabletReplyFamilies":{"tabletReplyFontFamily":null},"tabletReplyFontSize":15,"tabletReplyFontWeight":600,"tabletReplyLineHeight":1.3,"tabletReplyLetterSpacing":0,"tabletPostButtonFontStyle":"","tabletPostButtonFontFamilyType":null,"tabletPostButtonFamilies":{"tabletPostButtonFontFamily":null},"tabletPostButtonFontSize":15,"tabletPostButtonFontWeight":600,"tabletPostButtonLineHeight":1.3,"tabletPostButtonLetterSpacing":0,"mobileWidth":null,"mobileLogoSize":null,"mobileDateSpacing":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null,"mobileNameFontStyle":"","mobileNameFontFamilyType":null,"mobileNameFamilies":{"mobileNameFontFamily":null},"mobileNameFontSize":20,"mobileNameFontWeight":600,"mobileNameLineHeight":1.3,"mobileNameLetterSpacing":-0.1,"mobileCommentFontStyle":"","mobileCommentFontFamilyType":null,"mobileCommentFamilies":{"mobileCommentFontFamily":null},"mobileCommentFontSize":15,"mobileCommentFontWeight":400,"mobileCommentLineHeight":1.9,"mobileCommentLetterSpacing":0.5,"mobileDateFontStyle":"","mobileDateFontFamilyType":null,"mobileDateFamilies":{"mobileDateFontFamily":null},"mobileDateFontSize":15,"mobileDateFontWeight":500,"mobileDateLineHeight":1.3,"mobileDateLetterSpacing":0,"mobileReplyFontStyle":"","mobileReplyFontFamilyType":null,"mobileReplyFamilies":{"mobileReplyFontFamily":null},"mobileReplyFontSize":15,"mobileReplyFontWeight":600,"mobileReplyLineHeight":1.3,"mobileReplyLetterSpacing":0,"mobilePostButtonFontStyle":"","mobilePostButtonFontFamilyType":null,"mobilePostButtonFamilies":{"mobilePostButtonFontFamily":null},"mobilePostButtonFontSize":15,"mobilePostButtonFontWeight":600,"mobilePostButtonLineHeight":1.3,"mobilePostButtonLetterSpacing":0}}')},function(e){e.exports=JSON.parse('{"content":{"type":"post","postAndVideoShowText":"on","videoAllowFullScreen":"off","videoAutoPlay":"off","videoCaptions":"off"},"link":{"postHref":"https://www.facebook.com/brizy.io/posts/1382471355229091","videoHref":"https://www.facebook.com/brizy.io/videos/1941346902610185"},"toolbar":{"tabsState":"","tabsColor":""},"style":{"className":"","customCSS":"","borderStyle":"solid","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":4,"tempBorderTopWidth":4,"tempBorderRightWidth":4,"tempBorderBottomWidth":4,"tempBorderLeftWidth":4,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"hoverTransition":50,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null}}')},function(e){e.exports=JSON.parse('{"content":{"pageTabs":"timeline","smallHeader":"off","hideCover":"off","showFacepile":"off"},"link":{"href":"https://facebook.com/brizy.io"},"toolbar":{"tabsState":"","tabsColor":""},"style":{"height":450,"className":"","customCSS":"","borderStyle":"solid","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":4,"tempBorderTopWidth":4,"tempBorderRightWidth":4,"tempBorderBottomWidth":4,"tempBorderLeftWidth":4,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"hoverTransition":50,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null}}')},function(e){e.exports=JSON.parse('{"content":{"showSocialContext":"on","showMetaData":"on"},"link":{"href":"https://www.facebook.com/groups/brizy/"},"toolbar":{"tabsState":"","tabsColor":""},"style":{"width":300,"skin":"light","className":"","customCSS":"","borderStyle":"solid","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":0,"borderTopWidth":0,"borderRightWidth":0,"borderBottomWidth":0,"borderLeftWidth":0,"tempBorderWidth":4,"tempBorderTopWidth":4,"tempBorderRightWidth":4,"tempBorderBottomWidth":4,"tempBorderLeftWidth":4,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderColorHex":"#66738d","borderColorOpacity":0,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"hoverTransition":50,"tabletBoxShadow":null,"tabletBoxShadowColorHex":null,"tabletBoxShadowColorOpacity":null,"tabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorPalette":null,"tempTabletBoxShadowColorOpacity":null,"tabletBoxShadowBlur":null,"tabletBoxShadowSpread":null,"tabletBoxShadowVertical":null,"tabletBoxShadowHorizontal":null,"tempTabletBoxShadowBlur":null,"tempTabletBoxShadowSpread":null,"tempTabletBoxShadowVertical":null,"tempTabletBoxShadowHorizontal":null,"mobileBoxShadow":null,"mobileBoxShadowColorHex":null,"mobileBoxShadowColorOpacity":null,"mobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorPalette":null,"tempMobileBoxShadowColorOpacity":null,"mobileBoxShadowBlur":null,"mobileBoxShadowSpread":null,"mobileBoxShadowVertical":null,"mobileBoxShadowHorizontal":null,"tempMobileBoxShadowBlur":null,"tempMobileBoxShadowSpread":null,"tempMobileBoxShadowVertical":null,"tempMobileBoxShadowHorizontal":null}}')},,function(e){e.exports=JSON.parse('{"content":{"twitterUsername":"","twitter":"embed","twitterType":"embed","twitterTheme":"light","buttonLarge":"small","buttonShowCount":"off","buttonShowScreenName":"on","tweet":""},"style":{"width":100,"height":400,"customCSS":"","tabletWidth":null,"tabletHeight":null,"mobileWidth":null,"mobileHeight":null}}')},function(e){e.exports=JSON.parse('{"content":{"sidebar":""},"style":{"width":100,"customCSS":"","tabletWidth":null,"mobileWidth":null}}')},function(e){e.exports=JSON.parse('{"content":{"shortcode":""},"style":{"className":"","width":100,"tabletWidth":null,"mobileWidth":null,"customCSS":""}}')},function(e){e.exports=JSON.parse('{"content":{"columns":3,"limit":6,"category":"","orderBy":"name","order":"ASC","ids":""},"style":{"className":"","width":100,"tabletWidth":null,"mobileWidth":null,"customCSS":""}}')},function(e){e.exports=JSON.parse('{"content":{"productID":""},"style":{"className":"","width":100,"tabletWidth":null,"mobileWidth":null,"customCSS":""}}')},function(e){e.exports=JSON.parse('{"content":{"number":8,"orderBy":"name","order":"ASC","columns":4,"hideEmpty":0,"parent":"","ids":""},"style":{"className":"","width":100,"tabletWidth":null,"mobileWidth":null,"customCSS":""}}')},function(e){e.exports=JSON.parse('{"content":{"shortcode":"woocommerce_cart","currentUser":""},"style":{"className":"","width":100,"tabletWidth":null,"mobileWidth":null,"customCSS":""}}')},function(e){e.exports=JSON.parse('{"content":{"type":"posts","items":[],"taxonomy":"category","taxonomyId":1,"order":"ASC","orderBy":"ID","pagination":"off","gridRow":1,"gridColumn":3,"tabletGridColumn":2},"style":{"className":"","padding":0,"paginationSpacing":20,"paginationColorHex":"#ffffff","paginationColorOpacity":1,"paginationColorPalette":"color3","//1":"Aici ii hernea cu 2 temp dar sa gresit mai demult si acum sa corectat","tempPaginationColorOpacity":1,"tempPaginationColorPalette":"color3","paginationTempColorOpacity":1,"paginationTempColorPalette":"color3","customCSS":"","tabletPadding":null,"tabletPaginationSpacing":null,"mobilePadding":null,"mobilePaginationSpacing":null}}')},function(e){e.exports=JSON.parse('{"toolbar":{"tabsState":"","tabsColor":"","tabletTabsState":null,"tabletTabsColor":null,"mobileTabsState":null,"mobileTabsColor":null},"style":{"customCSS":"","textSpacing":5,"fontStyle":"","fontFamilyType":"google","families":{"fontFamily":"lato"},"fontSize":16,"fontWeight":400,"lineHeight":1.3,"letterSpacing":0,"colorHex":"#ffffff","colorOpacity":1,"colorPalette":"color3","tempColorOpacity":1,"tempColorPalette":"color3","activeColorHex":"#239ddb","activeColorOpacity":1,"activeColorPalette":"color2","tempActiveColorOpacity":1,"tempActiveColorPalette":"color2","arrowsColorHex":"#239ddb","arrowsColorOpacity":0.35,"arrowsColorPalette":"color2","tempArrowsColorOpacity":0.35,"tempArrowsColorPalette":"color2","hoverColorHex":"#009900","hoverColorOpacity":null,"hoverColorPalette":"color1","tempHoverColorOpacity":null,"tempHoverColorPalette":"color1","hoverActiveColorHex":null,"hoverActiveColorOpacity":null,"hoverActiveColorPalette":null,"tempHoverActiveColorOpacity":null,"tempHoverActiveColorPalette":null,"hoverArrowsColorHex":null,"hoverArrowsColorOpacity":null,"hoverArrowsColorPalette":null,"tempHoverArrowsColorOpacity":null,"tempHoverArrowsColorPalette":null,"hoverTransition":50,"tabletTextSpacing":null,"tabletFontStyle":"","tabletFontFamilyType":null,"tabletFamilies":{"tabletFontFamily":null},"tabletFontSize":15,"tabletFontWeight":400,"tabletLineHeight":1.3,"tabletLetterSpacing":0,"mobileTextSpacing":null,"mobileFontStyle":"","mobileFontFamilyType":null,"mobileFamilies":{"mobileFontFamily":null},"mobileFontSize":15,"mobileFontWeight":400,"mobileLineHeight":1.3,"mobileLetterSpacing":0}}')},function(e){e.exports=JSON.parse('{"content":{"popups":[]},"toolbar":{"tabsState":"","tabsColor":""},"style":{"fontStyle":"heading2","fontFamilyType":"google","families":{"fontFamily":"lato"},"fontSize":56,"fontWeight":400,"lineHeight":1.3,"letterSpacing":0,"colorHex":"#000000","colorOpacity":1,"colorPalette":"","tempColorOpacity":1,"tempColorPalette":"","hoverColorHex":null,"hoverColorOpacity":null,"hoverColorPalette":null,"tempHoverColorOpacity":null,"tempHoverColorPalette":null,"contentHorizontalAlign":"left","className":"","customCSS":"","tabletFontStyle":"heading2","tabletFontFamilyType":null,"tabletFamilies":{"tabletFontFamily":null},"tabletFontSize":30,"tabletFontWeight":700,"tabletLineHeight":1,"tabletLetterSpacing":1,"tabletContentHorizontalAlign":null,"mobileFontStyle":"heading2","mobileFontFamilyType":null,"mobileFamilies":{"mobileFontFamily":null},"mobileFontSize":30,"mobileFontWeight":700,"mobileLineHeight":1,"mobileLetterSpacing":1,"mobileContentHorizontalAlign":null},"link":{"linkType":"external","linkExternal":"","linkAnchor":"","linkExternalBlank":"off","linkExternalRel":"off","linkExternalType":"linkExternal","linkPopulation":"","linkUpload":"","linkPopup":"","actionClosePopup":"off","tabletLinkType":null,"tabletLinkPopup":null,"mobileLinkType":null,"mobileLinkPopup":null}}')},function(e){e.exports=JSON.parse('{"content":{"popups":[]},"toolbar":{"tabsState":"","tabsColor":""},"style":{"fontStyle":"paragraph","fontFamilyType":"google","families":{"fontFamily":"lato"},"fontSize":16,"fontWeight":400,"lineHeight":1.3,"letterSpacing":0,"colorHex":"#000000","colorOpacity":1,"colorPalette":"","tempColorOpacity":1,"tempColorPalette":"","hoverColorHex":null,"hoverColorOpacity":null,"hoverColorPalette":null,"tempHoverColorOpacity":null,"tempHoverColorPalette":null,"contentHorizontalAlign":"left","className":"","customCSS":"","tabletFontStyle":"paragraph","tabletFontFamilyType":null,"tabletFamilies":{"tabletFontFamily":null},"tabletFontSize":16,"tabletFontWeight":400,"tabletLineHeight":1.3,"tabletLetterSpacing":0,"tabletContentHorizontalAlign":null,"mobileFontStyle":"paragraph","mobileFontFamilyType":null,"mobileFamilies":{"mobileFontFamily":null},"mobileFontSize":16,"mobileFontWeight":400,"mobileLineHeight":1.3,"mobileLetterSpacing":0,"mobileContentHorizontalAlign":null},"link":{"linkType":"external","linkExternal":"","linkAnchor":"","linkExternalBlank":"off","linkExternalRel":"off","linkExternalType":"linkExternal","linkPopulation":"","linkUpload":"","linkPopup":"","tabletLinkType":null,"tabletLinkPopup":null,"mobileLinkType":null,"mobileLinkPopup":null}}')},function(e){e.exports=JSON.parse('{"toolbar":{"tabsState":"","tabsColor":""},"style":{"paragraphFontStyle":"paragraph","paragraphFontFamilyType":"google","paragraphFamilies":{"paragraphFontFamily":"lato"},"paragraphFontSize":16,"paragraphFontWeight":400,"paragraphLineHeight":1.3,"paragraphLetterSpacing":0,"h1FontStyle":"heading1","h1FontFamilyType":"google","h1Families":{"h1FontFamily":"lato"},"h1FontSize":16,"h1FontWeight":400,"h1LineHeight":1.3,"h1LetterSpacing":0,"h2FontStyle":"heading2","h2FontFamilyType":"google","h2Families":{"h2FontFamily":"lato"},"h2FontSize":16,"h2FontWeight":400,"h2LineHeight":1.3,"h2LetterSpacing":0,"h3FontStyle":"heading3","h3FontFamilyType":"google","h3Families":{"h3FontFamily":"lato"},"h3FontSize":16,"h3FontWeight":400,"h3LineHeight":1.3,"h3LetterSpacing":0,"h4FontStyle":"heading4","h4FontFamilyType":"google","h4Families":{"h4FontFamily":"lato"},"h4FontSize":16,"h4FontWeight":400,"h4LineHeight":1.3,"h4LetterSpacing":0,"h5FontStyle":"heading5","h5FontFamilyType":"google","h5Families":{"h5FontFamily":"lato"},"h5FontSize":16,"h5FontWeight":400,"h5LineHeight":1.3,"h5LetterSpacing":0,"h6FontStyle":"heading6","h6FontFamilyType":"google","h6Families":{"h6FontFamily":"lato"},"h6FontSize":16,"h6FontWeight":400,"h6LineHeight":1.3,"h6LetterSpacing":0,"paragraphColorHex":"#000000","paragraphColorOpacity":1,"paragraphColorPalette":"","tempParagraphColorOpacity":1,"tempParagraphColorPalette":"","h1ColorHex":"#000000","h1ColorOpacity":1,"h1ColorPalette":"","tempH1ColorOpacity":1,"tempH1ColorPalette":"","h2ColorHex":"#000000","h2ColorOpacity":1,"h2ColorPalette":"","tempH2ColorOpacity":1,"tempH2ColorPalette":"","h3ColorHex":"#000000","h3ColorOpacity":1,"h3ColorPalette":"","tempH3ColorOpacity":1,"tempH3ColorPalette":"","h4ColorHex":"#000000","h4ColorOpacity":1,"h4ColorPalette":"","tempH4ColorOpacity":1,"tempH4ColorPalette":"","h5ColorHex":"#000000","h5ColorOpacity":1,"h5ColorPalette":"","tempH5ColorOpacity":1,"tempH5ColorPalette":"","h6ColorHex":"#000000","h6ColorOpacity":1,"h6ColorPalette":"","tempH6ColorOpacity":1,"tempH6ColorPalette":"","contentHorizontalAlign":"left","tabletParagraphFontStyle":null,"tabletParagraphFontFamilyType":null,"tabletParagraphFamilies":{"tabletParagraphFontFamily":null},"tabletParagraphFontSize":null,"tabletParagraphFontWeight":null,"tabletParagraphLineHeight":null,"tabletParagraphLetterSpacing":null,"tabletH1FontStyle":null,"tabletH1FontFamilyType":null,"tabletH1Families":{"tabletH1FontFamily":null},"tabletH1FontSize":null,"tabletH1FontWeight":null,"tabletH1LineHeight":null,"tabletH1LetterSpacing":null,"tabletH2FontStyle":null,"tabletH2FontFamilyType":null,"tabletH2Families":{"tabletH2FontFamily":null},"tabletH2FontSize":null,"tabletH2FontWeight":null,"tabletH2LineHeight":null,"tabletH2LetterSpacing":null,"tabletH3FontStyle":null,"tabletH3FontFamilyType":null,"tabletH3Families":{"tabletH3FontFamily":null},"tabletH3FontSize":null,"tabletH3FontWeight":null,"tabletH3LineHeight":null,"tabletH3LetterSpacing":null,"tabletH4FontStyle":null,"tabletH4FontFamilyType":null,"tabletH4Families":{"tabletH4FontFamily":null},"tabletH4FontSize":null,"tabletH4FontWeight":null,"tabletH4LineHeight":null,"tabletH4LetterSpacing":null,"tabletH5FontStyle":null,"tabletH5FontFamilyType":null,"tabletH5Families":{"tabletH5FontFamily":null},"tabletH5FontSize":null,"tabletH5FontWeight":null,"tabletH5LineHeight":null,"tabletH5LetterSpacing":null,"tabletH6FontStyle":null,"tabletH6FontFamilyType":null,"tabletH6Families":{"tabletH6FontFamily":null},"tabletH6FontSize":null,"tabletH6FontWeight":null,"tabletH6LineHeight":null,"tabletH6LetterSpacing":null,"tabletContentHorizontalAlign":null,"mobileParagraphFontStyle":null,"mobileParagraphFontFamilyType":null,"mobileParagraphFamilies":{"mobileParagraphFontFamily":null},"mobileParagraphFontSize":null,"mobileParagraphFontWeight":null,"mobileParagraphLineHeight":null,"mobileParagraphLetterSpacing":null,"mobileH1FontStyle":null,"mobileH1FontFamilyType":null,"mobileH1Families":{"mobileH1FontFamily":null},"mobileH1FontSize":null,"mobileH1FontWeight":null,"mobileH1LineHeight":null,"mobileH1LetterSpacing":null,"mobileH2FontStyle":null,"mobileH2FontFamilyType":null,"mobileH2Families":{"mobileH2FontFamily":null},"mobileH2FontSize":null,"mobileH2FontWeight":null,"mobileH2LineHeight":null,"mobileH2LetterSpacing":null,"mobileH3FontStyle":null,"mobileH3FontFamilyType":null,"mobileH3Families":{"mobileH3FontFamily":null},"mobileH3FontSize":null,"mobileH3FontWeight":null,"mobileH3LineHeight":null,"mobileH3LetterSpacing":null,"mobileH4FontStyle":null,"mobileH4FontFamilyType":null,"mobileH4Families":{"mobileH4FontFamily":null},"mobileH4FontSize":null,"mobileH4FontWeight":null,"mobileH4LineHeight":null,"mobileH4LetterSpacing":null,"mobileH5FontStyle":null,"mobileH5FontFamilyType":null,"mobileH5Families":{"mobileH5FontFamily":null},"mobileH5FontSize":null,"mobileH5FontWeight":null,"mobileH5LineHeight":null,"mobileH5LetterSpacing":null,"mobileH6FontStyle":null,"mobileH6FontFamilyType":null,"mobileH6Families":{"mobileH6FontFamily":null},"mobileH6FontSize":null,"mobileH6FontWeight":null,"mobileH6LineHeight":null,"mobileH6LetterSpacing":null,"mobileContentHorizontalAlign":null}}')},function(e){e.exports=JSON.parse('{"toolbar":{"tabsState":"","tabsColor":"","tabletTabsState":null,"tabletTabsColor":null,"mobileTabsState":null,"mobileTabsColor":null},"style":{"customCSS":"","postElements":"[\\"author\\", \\"date\\", \\"time\\", \\"comments\\"]","large":"inline","textSpacing":30,"hoverTransition":50,"fontStyle":"","fontFamilyType":"google","families":{"fontFamily":"lato"},"fontFamily":"","fontSize":16,"fontWeight":400,"lineHeight":1.3,"letterSpacing":0,"colorHex":"#2B3039","colorOpacity":1,"colorPalette":"","tempColorOpacity":1,"tempColorPalette":"","iconsColorHex":"#111111","iconsColorOpacity":1,"iconsColorPalette":"","tempIconsColorOpacity":1,"tempIconsColorPalette":"","tabletTextSpacing":null,"tabletFontStyle":"","tabletFontFamilyType":null,"tabletFamilies":{"tabletFontFamily":null},"tabletFontSize":15,"tabletFontWeight":400,"tabletLineHeight":1.3,"tabletLetterSpacing":0,"mobileTextSpacing":null,"mobileFontStyle":"","mobileFontFamilyType":null,"mobileFamilies":{"mobileFontFamily":null},"mobileFontSize":15,"mobileFontWeight":400,"mobileLineHeight":1.3,"mobileLetterSpacing":0}}')},function(e){e.exports=JSON.parse('{"content":{"searchStyle":"classic","label":"Search...","items":[]},"style":{"className":"","customCSS":"","height":55,"width":100,"typographyFontStyle":"","typographyFontFamilyType":"google","typographyFamilies":{"typographyFontFamily":"roboto"},"typographyFontSize":21,"typographyFontWeight":700,"typographyLineHeight":1,"typographyLetterSpacing":1,"bgColorType":"solid","hoverBgColorType":null,"bgColorHex":"#000000","bgColorOpacity":0,"bgColorPalette":"","tempBgColorOpacity":1,"tempBgColorPalette":"","hoverBgColorHex":null,"hoverBgColorOpacity":null,"hoverBgColorPalette":null,"tempHoverBgColorOpacity":null,"tempHoverBgColorPalette":null,"colorHex":"#ccc","colorOpacity":1,"colorPalette":"color7","tempColorOpacity":1,"tempColorPalette":"color7","hoverColorHex":null,"hoverColorOpacity":null,"hoverColorPalette":null,"tempHoverColorOpacity":null,"tempHoverColorPalette":null,"borderStyle":"solid","tempBorderStyle":"solid","hoverBorderStyle":null,"tempHoverBorderStyle":null,"borderWidthType":"grouped","borderWidth":2,"borderTopWidth":2,"borderRightWidth":2,"borderBottomWidth":2,"borderLeftWidth":2,"tempBorderWidth":2,"tempBorderTopWidth":2,"tempBorderRightWidth":2,"tempBorderBottomWidth":2,"tempBorderLeftWidth":2,"hoverBorderWidthType":null,"hoverBorderWidth":null,"hoverBorderTopWidth":null,"hoverBorderRightWidth":null,"hoverBorderBottomWidth":null,"hoverBorderLeftWidth":null,"tempHoverBorderWidth":null,"tempHoverBorderTopWidth":null,"tempHoverBorderRightWidth":null,"tempHoverBorderBottomWidth":null,"tempHoverBorderLeftWidth":null,"borderRadiusType":"grouped","borderRadius":0,"borderTopLeftRadius":0,"borderTopRightRadius":0,"borderBottomRightRadius":0,"borderBottomLeftRadius":0,"tempBorderRadius":0,"tempBorderTopLeftRadius":0,"tempBorderTopRightRadius":0,"tempBorderBottomRightRadius":0,"tempBorderBottomLeftRadius":0,"hoverBorderRadiusType":null,"hoverBorderRadius":null,"hoverBorderTopLeftRadius":null,"hoverBorderTopRightRadius":null,"hoverBorderBottomRightRadius":null,"hoverBorderBottomLeftRadius":null,"tempHoverBorderRadius":null,"tempHoverBorderTopLeftRadius":null,"tempHoverBorderTopRightRadius":null,"tempHoverBorderBottomRightRadius":null,"tempHoverBorderBottomLeftRadius":null,"borderColorHex":"#dcdee1","borderColorOpacity":1,"borderColorPalette":"","tempBorderColorOpacity":1,"tempBorderColorPalette":"","hoverBorderColorHex":null,"hoverBorderColorOpacity":null,"hoverBorderColorPalette":null,"tempHoverBorderColorOpacity":null,"tempHoverBorderColorPalette":null,"boxShadow":"","tempBoxShadow":"on","boxShadowColorHex":"#000000","boxShadowColorOpacity":1,"boxShadowColorPalette":"","tempBoxShadowColorOpacity":1,"tempBoxShadowColorPalette":"","boxShadowBlur":0,"boxShadowSpread":0,"boxShadowVertical":0,"boxShadowHorizontal":0,"tempBoxShadowBlur":4,"tempBoxShadowSpread":0,"tempBoxShadowVertical":2,"tempBoxShadowHorizontal":1,"hoverBoxShadow":null,"tempHoverBoxShadow":null,"hoverBoxShadowColorHex":null,"hoverBoxShadowColorOpacity":null,"hoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorPalette":null,"tempHoverBoxShadowColorOpacity":null,"hoverBoxShadowBlur":null,"hoverBoxShadowSpread":null,"hoverBoxShadowVertical":null,"hoverBoxShadowHorizontal":null,"tempHoverBoxShadowBlur":null,"tempHoverBoxShadowSpread":null,"tempHoverBoxShadowVertical":null,"tempHoverBoxShadowHorizontal":null,"hoverTransition":50,"tabletTypographyFontStyle":"","tabletTypographyFontFamilyType":null,"tabletTypographyFamilies":{"tabletTypographyFontFamily":null},"tabletTypographyFontSize":13,"tabletTypographyFontWeight":400,"tabletTypographyLineHeight":1,"tabletTypographyLetterSpacing":1,"mobileTypographyFontStyle":"","mobileTypographyFontFamilyType":null,"mobileTypographyFamilies":{"mobileTypographyFontFamily":null},"mobileTypographyFontSize":13,"mobileTypographyFontWeight":400,"mobileTypographyLineHeight":1,"mobileTypographyLetterSpacing":1}}')},function(e,t,o){"use strict";(function(e){const{t:o}=e.Brizy;t.a={id:"audio",title:o("Audio"),icon:"nc-audio",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--audio"],items:[{type:"Audio",value:{_styles:["audio"]}}]}}}}).call(this,o(67))},function(e,t,o){"use strict";var n=o(2),a=o(0),r=o.n(a),i=o(4),l=o.n(i),c=o(6),s=o.n(c),d=o(120),p=o(10),u=o(30),b=o(1),h=o(24),m=o.n(h),g=o(7),v=o.n(g),y=o(29),f=o.n(y);function O(e){return parseInt(e,10)}function C(e){let t=e.clientHeight;const o=e.ownerDocument.defaultView.getComputedStyle(e);return t+=O(o.borderTopWidth),t+=O(o.borderBottomWidth)}function S(e){let t=e.clientWidth;const o=e.ownerDocument.defaultView.getComputedStyle(e);return t+=O(o.borderLeftWidth),t+=O(o.borderRightWidth)}class x extends r.a.Component{constructor(e){super(e),Object(n.a)(this,"disableTextSelect",()=>{f()("*[contenteditable]").attr("contenteditable",!1),f()("body").addClass("unselectable")}),Object(n.a)(this,"enableTextSelect",()=>{f()("*[contenteditable]").attr("contenteditable",!0),f()("body").removeClass("unselectable")}),Object(n.a)(this,"getBoundPosition",()=>{let e=this.props.bounds;const t=m.a.findDOMNode(this);if("string"==typeof e){const{ownerDocument:o}=t;let n;if("parent"===e)n=t.parentNode;else if(!(n=o.querySelector(e)))throw new Error("Bounds selector ".concat(e," could not find an element."));e={left:S(n),top:C(n)}}return e}),Object(n.a)(this,"getMouseCoordinates",e=>{const t=m.a.findDOMNode(this),o=t.offsetParent||t.ownerDocument.body,n=o===o.ownerDocument.body?{left:0,top:0}:o.getBoundingClientRect();return{x:e.clientX+o.scrollLeft-n.left,y:e.clientY+o.scrollTop-n.top}}),Object(n.a)(this,"getCoordinates",e=>{const t=this.getMouseCoordinates(e),o=this.getBoundPosition();return{x:O(Math.max(Math.min(t.x,o.left),0)),y:O(Math.max(Math.min(t.y,o.top),0))}}),Object(n.a)(this,"getCoordinatesInPercent",e=>{const{x:t,y:o}=this.getCoordinates(e),n=this.getBoundPosition();return{x:O(100*t/n.left),y:O(100*o/n.top)}}),Object(n.a)(this,"onClick",e=>{this.onDrag(e)}),Object(n.a)(this,"onDragStart",e=>{e.preventDefault();const t=this.getCoordinatesInPercent(e);this.props.onDragStart(t),this.disableTextSelect(),f()(this.window).on("mousemove",this.onDrag),f()(this.window).on("mouseup",this.onDragEnd)}),Object(n.a)(this,"onDrag",e=>{const t=this.getCoordinatesInPercent(e);this.props.onDrag(t),this.setState(t)}),Object(n.a)(this,"onDragEnd",e=>{const t=this.getCoordinatesInPercent(e);this.props.onDragEnd(t),this.enableTextSelect(),f()(this.window).off("mousemove",this.onDrag),f()(this.window).off("mouseup",this.onDragEnd),this.setState(t)}),this.state={x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y},this.window=null}componentDidMount(){const e=m.a.findDOMNode(this),t=e.parentNode||e.ownerDocument.body;f()(t).on("click",this.onDragEnd),this.window=e.ownerDocument.defaultView}componentWillReceiveProps(e){const t=this.props.position.x,o=this.props.position.y,n=e.position.x,a=e.position.y;t===n&&o===a||this.setState({x:n,y:a})}componentWillUnmount(){const e=m.a.findDOMNode(this),t=e.parentNode||e.ownerDocument.body;this.enableTextSelect(),f()(t).off("click",this.onDragEnd),f()(this.window).off("mousemove",this.onDrag),f()(this.window).off("mouseup",this.onDragEnd),this.window=null}render(){const e=this.state,t={left:"".concat(e.x,"%"),top:"".concat(e.y,"%")};return r.a.cloneElement(r.a.Children.only(this.props.children),{style:t,onMouseDown:this.onDragStart})}}Object(n.a)(x,"defaultProps",{bounds:"parent",onDragStart:v.a.noop,onDrag:v.a.noop,onDragEnd:v.a.noop,defaultPosition:{x:50,y:50}});const j=140,B=e=>"svg"===e;var P=function(e){const{src:t="",x:o=50,y:n=50,extension:i=null,width:l=0,height:c=0,customUrl:s=!1,showPointer:d=!0,onChange:p=(()=>{})}=e,[b,h]=Object(a.useState)(o),[m,g]=Object(a.useState)(n);let[v,y]=Object(a.useState)(null),[f,O]=Object(a.useState)(null);function C(e){e.x!==b&&h(e.x),e.y!==m&&g(e.y),p(e,{isChanged:"pointer"})}v!==o&&(h(o),y(o)),f!==n&&(g(n),O(n));const S=s?t:B(i)?Object(u.f)(t):Object(u.c)(t,{iW:j,iH:"any"}),{width:P,height:w}=Object(u.d)(l,c,j);return r.a.createElement("div",{key:"setter",className:"brz-ed-control__focal-point__setter",style:{width:"".concat(P,"px"),height:"".concat(w,"px")}},r.a.createElement("img",{className:"brz-img",src:S}),d&&r.a.createElement(x,{bounds:"parent",position:{x:b,y:m},onDrag:C,onDragEnd:C},r.a.createElement("div",{className:"brz-ed-control__focal-point__point"})))};function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function T(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}o.d(t,"a",(function(){return k}));const z=e=>"svg"===e;class k extends r.a.Component{constructor(...e){super(...e),Object(n.a)(this,"state",{src:this.props.src,width:this.props.width,height:this.props.height,extension:this.props.extension,loading:!1}),Object(n.a)(this,"mounted",!1),Object(n.a)(this,"handleChange",(e,t)=>{const{x:o,y:n,extension:a}=this.props,{src:r,width:i,height:l}=this.state;this.props.onChange(T({src:r,width:i,height:l,x:o,y:n,extension:a},e),t)}),Object(n.a)(this,"handleRemove",()=>{const e={src:"",width:0,height:0};this.setState(e),this.props.onChange(e,{isChanged:"image"})}),Object(n.a)(this,"handleImageChange",e=>{const{files:t}=e.target;t&&t[0]&&(this.setState({loading:!0}),Object(u.g)(t[0],{acceptedExtensions:["jpeg","jpg","png","gif","svg"],onUpload:({name:e})=>{const t=Object(u.a)(e),o=z(t)?Object(u.f)(e):Object(u.c)(e);Object(u.e)(o).then(({width:o,height:n})=>{const{x:a,y:r}=this.props,i={x:a,y:r,src:e,width:o,height:n,extension:t};this.mounted&&this.setState(T({},i,{loading:!1})),this.handleChange(i,{isChanged:"image"})})},onError:e=>{let t;t=413===e.status?e.message||Object(b.a)("Image file is too large."):Object(b.a)("Failed to upload file. Please upload a valid JPG, PNG, SVG or GIF image."),d.a.error(t)}}))})}componentDidMount(){this.mounted=!0}componentWillReceiveProps(e){this.props.src!==e.src&&this.setState({src:e.src})}componentWillUnmount(){this.mounted=!1}renderDraggable(){const{customUrl:e,onlyPointer:t,showPointer:o,x:n,y:a}=this.props,{src:i,width:l,height:c,extension:s}=this.state;let d=[r.a.createElement(P,{key:"image",src:i,width:l,height:c,x:n,y:a,customUrl:e,extension:s,showPointer:o,onChange:this.handleChange})];return t||d.push(r.a.createElement("div",{key:"delete",className:"brz-ed-control__focal-point__delete",onClick:this.handleRemove},r.a.createElement(p.b,{icon:"nc-circle-remove"}))),d}renderUpload(){const{onlyPointer:e,onUpload:t}=this.props,{loading:o}=this.state,n=s()("brz-label brz-ed-control__focal-point__label",{"brz-ed-control__focal-point__label--disable":e}),a="function"==typeof t;return r.a.createElement("label",{className:n},o?r.a.createElement("div",{className:"brz-ed-control__focal-point__upload brz-ed-control__focal-point__upload--loading"},r.a.createElement(p.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})):r.a.createElement("div",{className:"brz-ed-control__focal-point__upload"},r.a.createElement(p.b,{icon:"nc-upload"})),!e&&r.a.createElement("input",{className:"brz-input",type:"file",accept:"image/*",hidden:!0,onChange:a?t:this.handleImageChange}))}render(){const e=s()("brz-ed-control__focal-point",this.props.className);return r.a.createElement("div",{className:e},this.state.src?this.renderDraggable():this.renderUpload())}}Object(n.a)(k,"propTypes",{className:l.a.string,src:l.a.string,x:l.a.number,y:l.a.number,width:l.a.number,height:l.a.number,extension:l.a.string,onlyPointer:l.a.bool,showPointer:l.a.bool,customUrl:l.a.bool,onUpload:l.a.func,onChange:l.a.func}),Object(n.a)(k,"defaultProps",{className:"",src:"",x:50,y:50,width:0,height:0,extension:null,onlyPointer:!1,showPointer:!0,customUrl:!1})},,function(e,t,o){"use strict";var n=o(28),a=o(2),r=o(0),i=o.n(r),l=o(7),c=o.n(l);const s="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0,d={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,minus:s?173:189,plus:s?61:187,right_minus:109,right_plus:107,"-":s?173:189,"=":s?61:187,"⇪":20,",":188,".":190,"/":191,"`":192,";":s?59:186,"'":222,"[":219,"]":221,"\\":220},p={"⇧":16,shift:16,"⌥":18,option:18,alt:18,"⌃":17,control:17,ctrl:17,"⌘":s?224:91,cmd:s?224:91,command:s?224:91,"right_⌘":93,right_cmd:93,right_command:93},u=(c.a.invert(d),c.a.invert(p),e=>d[e.toLowerCase()]||p[e.toLowerCase()]||e.toUpperCase().charCodeAt(0));function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function h(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}let m={},g=[];class v extends i.a.Component{constructor(...e){super(...e),Object(a.a)(this,"handleBlur",()=>{g=[]}),Object(a.a)(this,"handleKeyUp",e=>{this.handleChange(e),g=p["⌘"]===e.keyCode||p["right_⌘"]===e.keyCode||p.ctrl===e.keyCode?[]:g.filter(t=>t!==e.keyCode)}),Object(a.a)(this,"handleKeyDown",e=>{(g.includes(p["⌘"])||g.includes(p["right_⌘"]))&&(g=g.filter(e=>Object.values(p).includes(e))),g.includes(e.keyCode)||(g.push(e.keyCode),this.handleChange(e))})}componentDidMount(){const{items:e}=this.props;0===Object.keys(m).length&&(document.addEventListener("keyup",this.handleKeyUp),document.addEventListener("keydown",this.handleKeyDown),window.parent.document.addEventListener("keyup",this.handleKeyUp),window.parent.document.addEventListener("keydown",this.handleKeyDown),window.addEventListener("blur",this.handleBlur),window.parent.addEventListener("blur",this.handleBlur)),e.forEach(e=>{let{keyNames:t}=e,o=Object(n.a)(e,["keyNames"]);const a=t.map(e=>e.split("+").map(e=>u(e)).join("+"));a.forEach((e,n)=>{const a=h({},o,{keyName:t[n]});if(m[e]){const t=m[e].findIndex(({id:e})=>e===a.id);-1===t?m[e].push(a):m[e][t]=a}else m[e]=[a]}),a.forEach((e,n)=>{const a=h({},o,{keyName:t[n]});m[e]?m[e].find(({id:e})=>e===a.id)||m[e].push(a):m[e]=[a]})})}componentWillUnmount(){const{id:e}=this.props;m=Object.entries(m).reduce((t,[o,n])=>(t[o]=n.filter(t=>t.id!==e),0===t[o].length&&delete t[o],t),{}),0===Object.keys(m).length&&(document.removeEventListener("keyup",this.handleKeyUp),document.removeEventListener("keydown",this.handleKeyDown),window.parent.document.removeEventListener("keyup",this.handleKeyUp),window.parent.document.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("blur",this.handleBlur),window.parent.removeEventListener("blur",this.handleBlur))}handleChange(e){const t=g.join("+");if(m[t]){const o=this.props.filterItems(m[t]);"keydown"===e.type&&o.forEach(t=>{let{onKeyDown:o,onKeyUp:a}=t,r=Object(n.a)(t,["onKeyDown","onKeyUp"]);this.props.shouldKeyDownHandle(e,r)&&o(e,r)}),"keyup"===e.type&&o.forEach(t=>{let{onKeyDown:o,onKeyUp:a}=t,r=Object(n.a)(t,["onKeyDown","onKeyUp"]);return this.props.shouldKeyUpHandle(e,r)&&a(e,r)})}}render(){return null}}Object(a.a)(v,"defaultProps",{id:null,items:[],shouldKeyDownHandle:()=>!0,shouldKeyUpHandle:()=>!0,filterItems:e=>e});t.a=v},function(e,t,o){"use strict";var n=o(28),a=o(93);const r=()=>!0;function i(e){return function(e){const{population:t,label:o,disabled:i,display:l,states:c,devices:s,helper:d,position:p}=e,u=Object(n.a)(e,["population","label","disabled","display","states","devices","helper","position"]);return r()&&void 0!==t&&Object(a.b)(u.type)?{id:u.id,label:o,disabled:i,display:l,states:c,devices:s,helper:d,position:p,className:u.className,type:"population-dev",config:{choices:t},options:[u]}:e}(e)}o.d(t,"a",(function(){return i}))},function(e,t,o){o(471),o(472),o(473),e.exports=o(677)},function(e,t,o){"use strict";o.r(t),function(e){var t=o(13);const n=e.__VISUAL_CONFIG__;t.a.load(n)}.call(this,o(67))},function(e,t,o){"use strict";o.r(t);var n=o(13);o.p=n.a.get("urls").assets+"/editor/js/"},function(e,t,o){"use strict";o.r(t),function(e){var t=o(13),n=o(86),a=o(1),r=o(25),i=o(12),l=o(14),c=o(23),s=o(3),d=o(5),p=o(11);e.Brizy={config:t.a,addFilter:n.a,applyFilter:n.b,t:a.a,utils:{stateMode:{NORMAL:p.c,HOVER:p.b},setIds:r.k,isGlobalPopup:r.i,getAnimations:i.a,getDynamicContentChoices:i.c,getDynamicContentByPlaceholder:i.b,getShapes:i.f,getOptionColorHexByPalette:i.d,hexToRgba:l.c,getColorPaletteColors:l.b,getColorPaletteColor:l.a,makeRichTextColorPaletteCSS:l.e,getFontById:c.d,getUsedFonts:c.k,getUsedFontsDetails:c.l,getFontStyles:c.f,getFontStyle:c.e,weightTypes:c.w,getWeight:c.m,getWeightChoices:c.n,makeSubsetGoogleFontsUrl:c.s,makeRichTextFontGoogleCSS:c.p,makeRichTextFontUploadCSS:c.r,makeRichTextFontStylesCSS:c.q,defaultValueValue:s.defaultValueValue,defaultValueKey:s.defaultValueKey,tabletSyncOnChange:s.tabletSyncOnChange,mobileSyncOnChange:s.mobileSyncOnChange,onChangeTypography:s.onChangeTypography,onChangeTypographyMobile:s.onChangeTypographyMobile,NORMAL:p.c,HOVER:p.b},toolbar:{toolbarColor2:d.u,toolbarColorHexField2:d.v,toolbarFilterHue:d.Xb,toolbarFilterSaturation:d.Yb,toolbarFilterBrightness:d.Vb,toolbarFilterContrast:d.Wb,toolbarCustomCSS:d.G,toolbarLinkPopup:d.kc,toolbarLinkUpload:d.lc,toolbarActionClosePopup:d.a,toolbarElementAudioUpload:d.T,toolbarElementAudioIconSize:d.S}}}.call(this,o(67))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,o){e.exports=o.p+"0.worker.js"},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,o){"use strict";o.r(t);var n={};o.r(n),o.d(n,"facebook",(function(){return rc}));var a={};o.r(a),o.d(a,"email",(function(){return gd})),o.d(a,"wordpress",(function(){return yd})),o.d(a,"mailchimp",(function(){return Od})),o.d(a,"sendinblue",(function(){return Sd})),o.d(a,"zapier",(function(){return jd})),o.d(a,"campaignmonitor",(function(){return Pd})),o.d(a,"convertkit",(function(){return Td})),o.d(a,"activecampaign",(function(){return kd})),o.d(a,"getresponse",(function(){return Hd})),o.d(a,"mailjet",(function(){return Rd})),o.d(a,"egoi",(function(){return Id})),o.d(a,"hubspot",(function(){return Nd})),o.d(a,"mailerlite",(function(){return Wd})),o.d(a,"drip",(function(){return Dd})),o.d(a,"smtp",(function(){return Gd})),o.d(a,"gmail_smtp",(function(){return Kd})),o.d(a,"mailgun",(function(){return Yd})),o.d(a,"madmimi",(function(){return Zd})),o.d(a,"constantcontact",(function(){return $d})),o.d(a,"aweber",(function(){return ep})),o.d(a,"salesforce",(function(){return op})),o.d(a,"sendgrid",(function(){return ap})),o.d(a,"recaptcha",(function(){return ip}));var r={};o.r(r),o.d(r,"google",(function(){return Rp})),o.d(r,"uploader",(function(){return Yp}));var i={};o.r(i),o.d(i,"cssStyleSizeWidthPercent",(function(){return Wm})),o.d(i,"cssStyleSizeMaxWidthPercent",(function(){return Vm})),o.d(i,"cssStyleSizeHeightPx",(function(){return Dm})),o.d(i,"cssStyleSizeMinHeightPx",(function(){return Am})),o.d(i,"cssStyleSizeMaxWidthSize",(function(){return Gm})),o.d(i,"cssStyleSizeSizePercent",(function(){return Um})),o.d(i,"cssStyleSizeMaxWidthContainer",(function(){return Km})),o.d(i,"cssStyleSizeTextSpacing",(function(){return Ym})),o.d(i,"cssStyleSizeSpacing",(function(){return qm})),o.d(i,"cssStyleSizeMinWidthPx",(function(){})),o.d(i,"cssStyleElementLineBorder",(function(){return Xm})),o.d(i,"cssStyleTypographyElementCountdownLabelFontSize",(function(){return ig})),o.d(i,"cssStyleNumberTypography2FontFamily",(function(){return sg})),o.d(i,"cssStyleNumberTypography2FontSize",(function(){return dg})),o.d(i,"cssStyleNumberTypography2LetterSpacing",(function(){return bg})),o.d(i,"cssStyleNumberTypography2FontWeight",(function(){return ug})),o.d(i,"cssStyleNumberTypography2LineHeight",(function(){return pg})),o.d(i,"cssStyleTitleTypography2FontFamily",(function(){return hg})),o.d(i,"cssStyleTitleTypography2FontSize",(function(){return mg})),o.d(i,"cssStyleTitleTypography2LetterSpacing",(function(){return yg})),o.d(i,"cssStyleTitleTypography2FontWeight",(function(){return vg})),o.d(i,"cssStyleTitleTypography2LineHeight",(function(){return gg})),o.d(i,"cssStyleMessageTypography2FontFamily",(function(){return fg})),o.d(i,"cssStyleMessageTypography2FontSize",(function(){return Og})),o.d(i,"cssStyleMessageTypography2LetterSpacing",(function(){return xg})),o.d(i,"cssStyleMessageTypography2FontWeight",(function(){return Sg})),o.d(i,"cssStyleMessageTypography2LineHeight",(function(){return Cg})),o.d(i,"cssStyleElementCountDown2NumberColor",(function(){return jg})),o.d(i,"cssStyleElementCountDown2TitleColor",(function(){return Bg})),o.d(i,"cssStyleElementCountDown2MessageColor",(function(){return Pg})),o.d(i,"cssStyleElementCountDown2SpacingLeft",(function(){return lg})),o.d(i,"cssStyleElementCountDown2SpacingRight",(function(){return cg})),o.d(i,"cssStyleElementCountDown2HoverTransitionProperty",(function(){return wg})),o.d(i,"cssStyleElementCounterChartEnd",(function(){return Tg})),o.d(i,"cssStyleElementCounterChartWidth",(function(){return zg})),o.d(i,"cssStyleElementCounterFillColor",(function(){return kg})),o.d(i,"cssStyleElementCounterStrokeColor",(function(){return Eg})),o.d(i,"cssStyleElementCounterTransitionHoverProperty",(function(){return Hg})),o.d(i,"cssStyleElementIconBoxFlexDirection",(function(){return _g})),o.d(i,"cssStyleElementIconBoxMarginRight",(function(){return Rg})),o.d(i,"cssStyleElementIconBoxMarginLeft",(function(){return Mg})),o.d(i,"cssStyleBorder",(function(){return Ig})),o.d(i,"cssStyleBorderTransparentColor",(function(){return Fg})),o.d(i,"cssStyleElementImageGallery3FontFamily",(function(){return $g})),o.d(i,"cssStyleElementImageGallery3FontSize",(function(){return Qg})),o.d(i,"cssStyleElementImageGallery3LineHeight",(function(){return ev})),o.d(i,"cssStyleElementImageGallery3FontWeight",(function(){return tv})),o.d(i,"cssStyleElementImageGallery3LetterSpacing",(function(){return ov})),o.d(i,"cssStyleElementImageGalleryWidth",(function(){return Lg})),o.d(i,"cssStyleElementImageGalleryMargin",(function(){return Wg})),o.d(i,"cssStyleElementImageGalleryItemWidth",(function(){return Vg})),o.d(i,"cssStyleElementImageGalleryItemPadding",(function(){return Dg})),o.d(i,"cssStyleElementImageGalleryFilterSpacing",(function(){return Ag})),o.d(i,"cssStyleElementImageGalleryFilterAfterSpacing",(function(){return Gg})),o.d(i,"cssStyleElementImageGalleryFilterHorizontalAlign",(function(){return Ug})),o.d(i,"cssStyleElementImageGalleryPaddingFourFields",(function(){return Kg})),o.d(i,"cssStyleElementImageGalleryBorderRadius",(function(){return Jg})),o.d(i,"cssStyleElementImageGalleryFilterColor",(function(){return qg})),o.d(i,"cssStyleElementImageGalleryFilterBgColor",(function(){return Yg})),o.d(i,"cssStyleElementImageGalleryFilterBoxShadow",(function(){return Xg})),o.d(i,"cssStyleElementImageGalleryFilterBorder",(function(){return Zg})),o.d(i,"cssStyleBorderRadius",(function(){return Ng})),o.d(i,"cssStyleBgColor",(function(){return nv})),o.d(i,"cssStyleBgColorHex",(function(){return av})),o.d(i,"cssStyleBg2Color",(function(){return rv})),o.d(i,"cssStyleBgGradient",(function(){return iv})),o.d(i,"cssStyleBgImage",(function(){return lv})),o.d(i,"cssStyleBgImagePosition",(function(){return cv})),o.d(i,"cssStyleBgImageAttachment",(function(){return sv})),o.d(i,"cssStyleBgMap",(function(){return dv})),o.d(i,"cssStyleColor",(function(){return pv})),o.d(i,"cssStyleLabelColor",(function(){return uv})),o.d(i,"cssStyleBoxShadow",(function(){return hv})),o.d(i,"cssStyleBoxShadowSuffixForGlamour",(function(){return bv})),o.d(i,"cssStyleBoxShadowSection",(function(){return mv})),o.d(i,"cssStyleShapeTopType",(function(){return gv})),o.d(i,"cssStyleShapeTopHeight",(function(){return vv})),o.d(i,"cssStyleShapeTopFlip",(function(){return yv})),o.d(i,"cssStyleShapeTopIndex",(function(){return fv})),o.d(i,"cssStyleShapeBottomType",(function(){return Ov})),o.d(i,"cssStyleShapeBottomHeight",(function(){return Cv})),o.d(i,"cssStyleShapeBottomFlip",(function(){return Sv})),o.d(i,"cssStyleShapeBottomIndex",(function(){return xv})),o.d(i,"cssStyleHoverTransition",(function(){return jv})),o.d(i,"cssStylePropertyHoverTransition",(function(){return Bv})),o.d(i,"cssStyleTypographyFontFamily",(function(){return Pv})),o.d(i,"cssStyleTypographyFontSize",(function(){return wv})),o.d(i,"cssStyleTypographyLineHeight",(function(){return Tv})),o.d(i,"cssStyleTypographyFontWeight",(function(){return zv})),o.d(i,"cssStyleTypographyLetterSpacing",(function(){return kv})),o.d(i,"cssStyleTypography2FontFamily",(function(){return Zm})),o.d(i,"cssStyleTypography2FontSize",(function(){return Jm})),o.d(i,"cssStyleTypography2LineHeight",(function(){return $m})),o.d(i,"cssStyleTypography2FontWeight",(function(){return Qm})),o.d(i,"cssStyleTypography2LetterSpacing",(function(){return eg})),o.d(i,"cssStyleTypography3FontFamily",(function(){return tg})),o.d(i,"cssStyleTypography3FontSize",(function(){return og})),o.d(i,"cssStyleTypography3LineHeight",(function(){return ng})),o.d(i,"cssStyleTypography3FontWeight",(function(){return ag})),o.d(i,"cssStyleTypography3LetterSpacing",(function(){return rg})),o.d(i,"cssStyleElementProgressBarPadding",(function(){return Ev})),o.d(i,"cssStyleSizeProgressBarMaxWidthPercent",(function(){return Hv})),o.d(i,"cssStyleElementProgressBarPropertyHoverTransition",(function(){return _v})),o.d(i,"cssStyleElementButtonBorderRadius",(function(){return Rv})),o.d(i,"cssStyleElementButtonIconPosition",(function(){return Mv})),o.d(i,"cssStyleElementButtonIconFontSize",(function(){return Iv})),o.d(i,"cssStyleElementButtonIconMargin",(function(){return Fv})),o.d(i,"cssStyleElementIconStrokeWidth",(function(){return Nv})),o.d(i,"cssStyleElementButtonPropertyHoverTransition",(function(){return Lv})),o.d(i,"cssStyleElementFacebookButtonPropertyHoverTransition",(function(){return Wv})),o.d(i,"cssStyleElementFacebookCommentsPropertyHoverTransition",(function(){return Vv})),o.d(i,"cssStyleElementFacebookEmbedPropertyHoverTransition",(function(){return Dv})),o.d(i,"cssStyleElementFacebookGroupPropertyHoverTransition",(function(){return Av})),o.d(i,"cssStyleElementFacebookPagePropertyHoverTransition",(function(){return Gv})),o.d(i,"cssStyleElementMapPropertyHoverTransition",(function(){return Uv})),o.d(i,"cssStyleElementSoundCloudPropertyHoverTransition",(function(){return Kv})),o.d(i,"cssStyleContainerPopup2ContainerWidth",(function(){return qv})),o.d(i,"cssStyleContainerPopup2CloseState",(function(){return Yv})),o.d(i,"cssStyleContainerPopup2ClosePosition",(function(){return ey})),o.d(i,"cssStyleContainerPopup2CloseFontSize",(function(){return Zv})),o.d(i,"cssStyleContainerPopup2CloseBgSize",(function(){return Jv})),o.d(i,"cssStyleContainerPopup2CloseBorderRadius",(function(){return $v})),o.d(i,"cssStyleContainerPopup2CloseColor",(function(){return Xv})),o.d(i,"cssStyleContainerPopup2CloseBgColor",(function(){return Qv})),o.d(i,"cssStyleContainerPopup2RowFlexVerticalAlign",(function(){return ty})),o.d(i,"cssStyleContainerPopup2CustomHeight",(function(){return oy})),o.d(i,"cssStyleContainerPopup2CustomHeightOverflow",(function(){return ny})),o.d(i,"cssStyleContainerPopup2Custom2Height100",(function(){return ay})),o.d(i,"cssStyleContainerPopup2Custom2MaxHeight100",(function(){return ry})),o.d(i,"cssStyleZIndex",(function(){return iy})),o.d(i,"cssStyleFlexVerticalAlign",(function(){return ly})),o.d(i,"cssStyleFlexHorizontalAlign",(function(){return cy})),o.d(i,"cssStyleContentAlign",(function(){return sy})),o.d(i,"cssStyleMarginAlign",(function(){return dy})),o.d(i,"cssStyleFlexColumn",(function(){return py})),o.d(i,"cssStylePadding",(function(){return vy})),o.d(i,"cssStylePaddingFourFields",(function(){return uy})),o.d(i,"cssStylePaddingPreview",(function(){return by})),o.d(i,"cssStylePaddingTopForEditorResizer",(function(){return hy})),o.d(i,"cssStylePaddingBottomForEditorResizer",(function(){return my})),o.d(i,"cssStylePaddingRightLeftForEditor",(function(){return gy})),o.d(i,"cssStyleItemPadding",(function(){return yy})),o.d(i,"cssStyleMargin",(function(){return fy})),o.d(i,"cssStyleItemMargin",(function(){return Oy})),o.d(i,"cssStyleDisplayFlex",(function(){return Cy})),o.d(i,"cssStyleDisplayInlineFlex",(function(){return Sy})),o.d(i,"cssStyleDisplayBlock",(function(){return xy})),o.d(i,"cssStyleVisible",(function(){return jy})),o.d(i,"cssStyleVisibleEditorDisplayNoneOrFlex",(function(){return By})),o.d(i,"cssStyleVisibleEditorDisplayNoneOrBlock",(function(){return wy})),o.d(i,"cssStyleVisibleEditorDisplayNoneOrInlineFlex",(function(){return Py})),o.d(i,"cssStyleVisibleMode",(function(){return Ty})),o.d(i,"cssStyleFilter",(function(){return ky})),o.d(i,"cssStyleFilterSuffixForGlamour",(function(){return zy})),o.d(i,"cssStyleElementVideoPaddingRatio",(function(){return Ey})),o.d(i,"cssStyleElementVideoFilter",(function(){return Hy})),o.d(i,"cssStyleElementVideoPointerEvents",(function(){return _y})),o.d(i,"cssStyleElementVideoBgSize",(function(){return Ry})),o.d(i,"cssStyleElementVideoIconFontSize",(function(){return My})),o.d(i,"cssStyleElementVideoIconWidth",(function(){return Iy})),o.d(i,"cssStyleElementVideoIconHeight",(function(){return Fy})),o.d(i,"cssStyleElementVideoControlsIconFontSize",(function(){return Gy})),o.d(i,"cssStyleElementVideoBgColorRatio",(function(){return Ny})),o.d(i,"cssStyleElementVideoCoverSrc",(function(){return Ly})),o.d(i,"cssStyleElementVideoCoverPosition",(function(){return Wy})),o.d(i,"cssStyleElementVideoPropertyHoverTransition",(function(){return Vy})),o.d(i,"cssStyleVideoControlsBgColor",(function(){return Dy})),o.d(i,"cssStyleVideoIconControls",(function(){return Ay})),o.d(i,"cssStyleElementVideoPlaylistSubTitleVideoTypography2FontFamily",(function(){return Uy})),o.d(i,"cssStyleElementVideoPlaylistSubTitleVideoTypography2FontSize",(function(){return Ky})),o.d(i,"cssStyleElementVideoPlaylistSubTitleVideoTypography2LineHeight",(function(){return qy})),o.d(i,"cssStyleElementVideoPlaylistSubTitleVideoTypography2FontWeight",(function(){return Yy})),o.d(i,"cssStyleElementVideoPlaylistSubTitleVideoTypography2LetterSpacing",(function(){return Xy})),o.d(i,"cssStyleElementVideoPlaylistBorderItem",(function(){return $y})),o.d(i,"cssStyleElementVideoPlaylistGridItemWidth",(function(){return ef})),o.d(i,"cssStyleSizeWidthPixel",(function(){return Zy})),o.d(i,"cssStyleElementVideoPlaylistImageSize",(function(){return Jy})),o.d(i,"cssStyleSizeWidthVideoBlock",(function(){return Qy})),o.d(i,"cssStyleBgIconCoverColor",(function(){return nf})),o.d(i,"cssStyleCoverIconColor",(function(){return tf})),o.d(i,"cssStyleCoverSubTitleColor",(function(){return of})),o.d(i,"cssStyleElementMediaIconFontSize",(function(){return af})),o.d(i,"cssStyleElementMediaPadding",(function(){return rf})),o.d(i,"cssStyleRowMinHeight",(function(){return lf})),o.d(i,"cssStyleRowReverseColumn",(function(){return cf})),o.d(i,"cssStylePosition",(function(){return sf})),o.d(i,"cssStylePositionMode",(function(){return df})),o.d(i,"cssStyleIconSpacing",(function(){return pf})),o.d(i,"cssStyleIconSize",(function(){return uf})),o.d(i,"cssStyleSectionMaxWidth",(function(){return hf})),o.d(i,"cssStyleSectionContainerType",(function(){return mf})),o.d(i,"cssStyleSectionSliderHeight",(function(){return gf})),o.d(i,"cssStyleSectionColorDots",(function(){return vf})),o.d(i,"cssStyleSectionColorArrows",(function(){return yf})),o.d(i,"cssStyleSectionPropertyHoverTransition",(function(){return ff})),o.d(i,"cssStyleSectionToolbarOffset",(function(){return Of})),o.d(i,"cssStyleSectionHeightStyle",(function(){return Cf})),o.d(i,"cssStyleSectionPaddingsForEditorResize",(function(){})),o.d(i,"cssStyleSectionPopupContainerWrap",(function(){return Sf})),o.d(i,"cssStyleElementBreadcrumbsArrowSize",(function(){return xf})),o.d(i,"cssStyleElementBreadcrumbsColorActive",(function(){return jf})),o.d(i,"cssStyleElementBreadcrumbsColorArrows",(function(){return Bf})),o.d(i,"cssStyleElementForm2FlexBasisPercent",(function(){return Pf})),o.d(i,"cssStyleElementForm2SubmitWidth",(function(){return wf})),o.d(i,"cssStyleElementForm2InputHeight",(function(){return Tf})),o.d(i,"cssStyleElementForm2FieldsLineHeight",(function(){return Hf})),o.d(i,"cssStyleElementForm2FieldsLabelFontFamily",(function(){return _f})),o.d(i,"cssStyleElementForm2FieldsLabelFontSize",(function(){return Rf})),o.d(i,"cssStyleElementForm2FieldsLabelFontWeight",(function(){return If})),o.d(i,"cssStyleElementForm2FieldsLabelLetterSpacing",(function(){return Ff})),o.d(i,"cssStyleElementForm2FieldsLabelAlign",(function(){return zf})),o.d(i,"cssStyleElementForm2FieldsLabelLineHeight",(function(){return Mf})),o.d(i,"cssStyleElementForm2FieldsLabelPadding",(function(){return Nf})),o.d(i,"cssStyleElementForm2Margin",(function(){return kf})),o.d(i,"cssStyleElementForm2Padding",(function(){return Ef})),o.d(i,"cssStyleElementForm2FieldsBorderRequired",(function(){return qf})),o.d(i,"cssStyleElementForm2FieldsCheckboxColor",(function(){return Lf})),o.d(i,"cssStyleElementForm2FieldsCheckboxFontFamily",(function(){return Wf})),o.d(i,"cssStyleElementForm2FieldsCheckboxFontSize",(function(){return Vf})),o.d(i,"cssStyleElementForm2FieldsCheckboxFontWeight",(function(){return Df})),o.d(i,"cssStyleElementForm2FieldsCheckboxLetterSpacing",(function(){return Af})),o.d(i,"cssStyleElementForm2FieldsCheckboxLineHeight",(function(){return Gf})),o.d(i,"cssStyleElementForm2FieldsSelectColor",(function(){return Uf})),o.d(i,"cssStyleElementForm2FieldsSelectBgColor",(function(){return Kf})),o.d(i,"cssStyleElementForm2FieldsSelectChoiceBgColor",(function(){return Yf})),o.d(i,"cssStyleElementForm2FieldsSelectBorder",(function(){return Xf})),o.d(i,"cssStyleElementForm2FieldsSelectBorderRadius",(function(){return Zf})),o.d(i,"cssStyleElementForm2FieldsSelectBoxShadow",(function(){return Jf})),o.d(i,"cssStyleElementForm2FieldColumns",(function(){return $f})),o.d(i,"cssStyleElementPostInfoColorText",(function(){return eO})),o.d(i,"cssStyleElementPostInfoColorIcons",(function(){return Qf})),o.d(i,"cssStyleElementPostInfoSpacing",(function(){return tO})),o.d(i,"cssStyleElementStarRatingRatingColor",(function(){return oO})),o.d(i,"cssStyleElementStarRatingRatingBackgroundColor",(function(){return nO})),o.d(i,"cssStyleElementStarRatingPropertyHoverTransition",(function(){return aO})),o.d(i,"cssStyleElementTimelineTabContentArrowColor",(function(){return VO})),o.d(i,"cssStyleElementTimelineTabContentArrowCustomColor",(function(){return DO})),o.d(i,"cssStyleElementTimelineTabContentArrowCustomColor1",(function(){return AO})),o.d(i,"cssStyleElementTimelineBeforeDisplay",(function(){return jO})),o.d(i,"cssStyleElementTimelineCustomLineOdd",(function(){return HO})),o.d(i,"cssStyleElementTimelineVerticalTab",(function(){return tC})),o.d(i,"cssStyleElementTimelineVerticalLastTab",(function(){return oC})),o.d(i,"cssStyleElementTimelineTabsVerticalContent",(function(){return eC})),o.d(i,"cssStyleElementTimelineTabsVerticalNavIcon",(function(){return QO})),o.d(i,"cssStyleElementTimelineTabsHorizontalStyle3",(function(){return $O})),o.d(i,"cssStyleElementTimelineTabHorizontalStyle3Odd",(function(){return JO})),o.d(i,"cssStyleElementTimelineTabCustomStyle",(function(){return ZO})),o.d(i,"cssStyleElementTimelineContentBeforeStyle3",(function(){return qO})),o.d(i,"cssStyleElementTimelineVerticalTabBeforeNone",(function(){return nC})),o.d(i,"cssStyleElementTimelineVerticalTabBeforeStyle3",(function(){return aC})),o.d(i,"cssStyleElementTimelineNavTitleStyle3",(function(){return XO})),o.d(i,"cssStyleElementTimelineTab",(function(){return UO})),o.d(i,"cssStyleElementTimelineTabs",(function(){return GO})),o.d(i,"cssStyleElementTimelineTabContentBefore",(function(){return KO})),o.d(i,"cssStyleElementTimelineNavTitle",(function(){return YO})),o.d(i,"cssStyleElementTimelineWidth",(function(){return WO})),o.d(i,"cssStyleElementTimelineIconSize",(function(){return dO})),o.d(i,"cssStyleElementTimelineIconWidth",(function(){return uO})),o.d(i,"cssStyleElementTimelineIconHeight",(function(){return bO})),o.d(i,"cssStyleElementTimelineIconBorderRadius",(function(){return OO})),o.d(i,"cssStyleElementTimelineNavTitleWidth",(function(){return hO})),o.d(i,"cssStyleElementTimelineLineBgColor",(function(){return gO})),o.d(i,"cssStyleElementTimelineLineTop",(function(){return vO})),o.d(i,"cssStyleElementTimelineArrowBorder",(function(){return fO})),o.d(i,"cssStyleElementTimelineVerticalCustomTabPositionOdd",(function(){return IO})),o.d(i,"cssStyleElementTimelineContentSpacing",(function(){return yO})),o.d(i,"cssStyleElementTimelineVerticalCustomContentSpacing",(function(){return LO})),o.d(i,"cssStyleElementTimelinePaddingForIcon",(function(){return pO})),o.d(i,"cssStyleElementTimelineNavTitleVisible",(function(){return mO})),o.d(i,"cssStyleElementTimelineVerticalPosition",(function(){return CO})),o.d(i,"cssStyleElementTimelineLineWidthHeight",(function(){return SO})),o.d(i,"cssStyleElementTimelineVerticalLinePosition",(function(){return xO})),o.d(i,"cssStyleElementTimelineVerticalLineTopPosition",(function(){return BO})),o.d(i,"cssStyleElementTimelineVerticalLineBottomPosition",(function(){return PO})),o.d(i,"cssStyleElementTimelineCustomTabWidth",(function(){return wO})),o.d(i,"cssStyleElementTimelineCustomLastTabWidth",(function(){return TO})),o.d(i,"cssStyleElementTimelineVerticalInvertPosition",(function(){return zO})),o.d(i,"cssStyleElementTimelineVerticalInvertLinePosition",(function(){return kO})),o.d(i,"cssStyleElementTimelineCustomLineTop",(function(){return EO})),o.d(i,"cssStyleElementTimelineCustomContentSpacing",(function(){return _O})),o.d(i,"cssStyleElementTimelineCustomContentBottomSpacing",(function(){return RO})),o.d(i,"cssStyleElementTimelineVerticalCustomTabPosition",(function(){return MO})),o.d(i,"cssStyleElementTimelineVerticalCustomPosition",(function(){return FO})),o.d(i,"cssStyleElementTimelineVerticalStyle3ArrowPosition",(function(){return NO})),o.d(i,"cssStyleElementSwitcherNavSpacing",(function(){return cC})),o.d(i,"cssStyleElementSwitcherNavBeforeBg",(function(){return lC})),o.d(i,"cssStyleElementSwitcherActiveTextColor",(function(){return sC})),o.d(i,"cssStyleElementSwitcherNav2Width",(function(){return rC})),o.d(i,"cssStyleElementSwitcherNav2Height",(function(){return iC})),o.d(i,"cssStyleElementSwitcherWidth",(function(){return dC})),o.d(i,"cssStyleElementWPPostContentH1Color",(function(){return pC})),o.d(i,"cssStyleElementWPPostContentH2Color",(function(){return uC})),o.d(i,"cssStyleElementWPPostContentH3Color",(function(){return bC})),o.d(i,"cssStyleElementWPPostContentH4Color",(function(){return hC})),o.d(i,"cssStyleElementWPPostContentH5Color",(function(){return mC})),o.d(i,"cssStyleElementWPPostContentH6Color",(function(){return gC})),o.d(i,"cssStyleElementWPPostContentParagraphColor",(function(){return vC})),o.d(i,"cssStyleElementWPPostContentTypography2ParagraphFontFamily",(function(){return yC})),o.d(i,"cssStyleElementWPPostContentTypography2ParagraphFontSize",(function(){return fC})),o.d(i,"cssStyleElementWPPostContentTypography2ParagraphLineHeight",(function(){return OC})),o.d(i,"cssStyleElementWPPostContentTypography2ParagraphFontWeight",(function(){return CC})),o.d(i,"cssStyleElementWPPostContentTypography2ParagraphLetterSpacing",(function(){return SC})),o.d(i,"cssStyleElementWPPostContentTypography2H1FontFamily",(function(){return xC})),o.d(i,"cssStyleElementWPPostContentTypography2H1FontSize",(function(){return jC})),o.d(i,"cssStyleElementWPPostContentTypography2H1LineHeight",(function(){return BC})),o.d(i,"cssStyleElementWPPostContentTypography2H1FontWeight",(function(){return PC})),o.d(i,"cssStyleElementWPPostContentTypography2H1LetterSpacing",(function(){return wC})),o.d(i,"cssStyleElementWPPostContentTypography2H2FontFamily",(function(){return TC})),o.d(i,"cssStyleElementWPPostContentTypography2H2FontSize",(function(){return zC})),o.d(i,"cssStyleElementWPPostContentTypography2H2LineHeight",(function(){return kC})),o.d(i,"cssStyleElementWPPostContentTypography2H2FontWeight",(function(){return EC})),o.d(i,"cssStyleElementWPPostContentTypography2H2LetterSpacing",(function(){return HC})),o.d(i,"cssStyleElementWPPostContentTypography2H3FontFamily",(function(){return _C})),o.d(i,"cssStyleElementWPPostContentTypography2H3FontSize",(function(){return RC})),o.d(i,"cssStyleElementWPPostContentTypography2H3LineHeight",(function(){return MC})),o.d(i,"cssStyleElementWPPostContentTypography2H3FontWeight",(function(){return IC})),o.d(i,"cssStyleElementWPPostContentTypography2H3LetterSpacing",(function(){return FC})),o.d(i,"cssStyleElementWPPostContentTypography2H4FontFamily",(function(){return NC})),o.d(i,"cssStyleElementWPPostContentTypography2H4FontSize",(function(){return LC})),o.d(i,"cssStyleElementWPPostContentTypography2H4LineHeight",(function(){return WC})),o.d(i,"cssStyleElementWPPostContentTypography2H4FontWeight",(function(){return VC})),o.d(i,"cssStyleElementWPPostContentTypography2H4LetterSpacing",(function(){return DC})),o.d(i,"cssStyleElementWPPostContentTypography2H5FontFamily",(function(){return AC})),o.d(i,"cssStyleElementWPPostContentTypography2H5FontSize",(function(){return GC})),o.d(i,"cssStyleElementWPPostContentTypography2H5LineHeight",(function(){return UC})),o.d(i,"cssStyleElementWPPostContentTypography2H5FontWeight",(function(){return KC})),o.d(i,"cssStyleElementWPPostContentTypography2H5LetterSpacing",(function(){return qC})),o.d(i,"cssStyleElementWPPostContentTypography2H6FontFamily",(function(){return YC})),o.d(i,"cssStyleElementWPPostContentTypography2H6FontSize",(function(){return XC})),o.d(i,"cssStyleElementWPPostContentTypography2H6LineHeight",(function(){return ZC})),o.d(i,"cssStyleElementWPPostContentTypography2H6FontWeight",(function(){return JC})),o.d(i,"cssStyleElementWPPostContentTypography2H6LetterSpacing",(function(){return $C})),o.d(i,"cssStyleElementWOOPriceColorSale",(function(){return QC})),o.d(i,"cssStyleElementWOOPriceSaleFontFamily",(function(){return eS})),o.d(i,"cssStyleElementWOOPriceSaleFontSize",(function(){return tS})),o.d(i,"cssStyleElementWOOPriceSaleLineHeight",(function(){return oS})),o.d(i,"cssStyleElementWOOPriceSaleFontWeight",(function(){return nS})),o.d(i,"cssStyleElementWOOPriceSaleLetterSpacing",(function(){return aS})),o.d(i,"cssStyleElementWOOPriceColumn",(function(){return rS})),o.d(i,"cssStyleElementWOOPriceSpacing",(function(){return iS})),o.d(i,"cssStyleElementWOOAdditionalTitleFontFamily",(function(){return lS})),o.d(i,"cssStyleElementWOOAdditionalTitleFontSize",(function(){return cS})),o.d(i,"cssStyleElementWOOAdditionalTitleLineHeight",(function(){return sS})),o.d(i,"cssStyleElementWOOAdditionalTitleFontWeight",(function(){return dS})),o.d(i,"cssStyleElementWOOAdditionalTitleLetterSpacing",(function(){return pS})),o.d(i,"cssStyleElementWOOAdditionalAttributesFontFamily",(function(){return uS})),o.d(i,"cssStyleElementWOOAdditionalAttributesFontSize",(function(){return bS})),o.d(i,"cssStyleElementWOOAdditionalAttributesLineHeight",(function(){return hS})),o.d(i,"cssStyleElementWOOAdditionalAttributesFontWeight",(function(){return mS})),o.d(i,"cssStyleElementWOOAdditionalAttributesLetterSpacing",(function(){return gS})),o.d(i,"cssStyleElementWOOAdditionalSpacing",(function(){return vS})),o.d(i,"cssStyleElementWOOAdditionalTitleColor",(function(){return yS})),o.d(i,"cssStyleElementWOOAdditionalAttributeColor",(function(){return fS})),o.d(i,"cssStyleElementWOOAdditionalBorderColor",(function(){return OS})),o.d(i,"cssStyleElementWOOAdditionalBorderWidth",(function(){return CS})),o.d(i,"cssStyleElementAccordion3FontFamily",(function(){return NS})),o.d(i,"cssStyleElementAccordion3FontSize",(function(){return LS})),o.d(i,"cssStyleElementAccordion3LineHeight",(function(){return WS})),o.d(i,"cssStyleElementAccordion3FontWeight",(function(){return VS})),o.d(i,"cssStyleElementAccordion3LetterSpacing",(function(){return DS})),o.d(i,"cssStyleElementAccordionFilterColor",(function(){return xS})),o.d(i,"cssStyleElementAccordionFilterBgColor",(function(){return jS})),o.d(i,"cssStyleElementAccordionFilterBorder",(function(){return BS})),o.d(i,"cssStyleElementAccordionFilterBorderRadius",(function(){return PS})),o.d(i,"cssStyleElementAccordionFilterShadow",(function(){return wS})),o.d(i,"cssStyleElementAccordionMarginTop",(function(){return TS})),o.d(i,"cssStyleElementAccordionSpacing",(function(){return zS})),o.d(i,"cssStyleElementAccordionFilterSpacing",(function(){return kS})),o.d(i,"cssStyleElementAccordionFilterAfterSpacing",(function(){return ES})),o.d(i,"cssStyleElementAccordionNavAlign",(function(){return HS})),o.d(i,"cssStyleElementAccordionNavTextAlign",(function(){return _S})),o.d(i,"cssStyleElementAccordionNavIconSpacing",(function(){return RS})),o.d(i,"cssStyleElementAccordionNavIconSize",(function(){return MS})),o.d(i,"cssStyleElementAccordionFilterHorizontalAlign",(function(){return IS})),o.d(i,"cssStyleElementAccordionFilterPaddingFourFields",(function(){return FS})),o.d(i,"cssStyleElementTabsItemsBorderWidth",(function(){return AS})),o.d(i,"cssStyleElementTabsBtnSpacing",(function(){return GS})),o.d(i,"cssStyleElementTabsBtnIconSize",(function(){return US})),o.d(i,"cssStyleElementTabsBtnActiveBorderBottomColor",(function(){return KS})),o.d(i,"cssStyleElementTabsBtnActiveBorderRightColor",(function(){return qS})),o.d(i,"cssStyleElementTabsBtnActiveBorderLeftColor",(function(){return YS})),o.d(i,"cssStyleElementTabsActiveBeforeAfterColor",(function(){return XS})),o.d(i,"cssStyleElementTabsActiveBeforeHeight",(function(){return ZS})),o.d(i,"cssStyleElementTabsActiveBeforeWidth",(function(){return JS})),o.d(i,"cssStyleElementTabsBeforeAfterRightWidth",(function(){return $S})),o.d(i,"cssStyleElementTabsBeforeAfterLeftWidth",(function(){return QS})),o.d(i,"cssStyleElementTabsBorderColor",(function(){return ex})),o.d(i,"cssStyleElementTabsBorderWidth",(function(){return tx})),o.d(i,"cssStyleElementTabsBorderMobileWidth",(function(){return ox})),o.d(i,"cssStyleElementTabsEmptyContent",(function(){return nx})),o.d(i,"cssStyleElementTabsBtnIconPosition",(function(){return ax})),o.d(i,"cssStyleElementTabsBtnIconJustifyContent",(function(){return rx})),o.d(i,"cssStyleElementTabsBeforeAfterTop",(function(){return ix})),o.d(i,"cssStyleElementTabsBeforeAfterBottom",(function(){return lx})),o.d(i,"cssStyleElementTabsAfterSpacing",(function(){return cx})),o.d(i,"cssStyleElementTabsSpacing",(function(){return dx})),o.d(i,"cssStyleElementTabsAfterSpacingVertical",(function(){return sx})),o.d(i,"cssStyleElementCommentsNameFontFamily",(function(){return px})),o.d(i,"cssStyleElementCommentsNameFontSize",(function(){return ux})),o.d(i,"cssStyleElementCommentsNameLineHeight",(function(){return bx})),o.d(i,"cssStyleElementCommentsNameFontWeight",(function(){return hx})),o.d(i,"cssStyleElementCommentsNameLetterSpacing",(function(){return mx})),o.d(i,"cssStyleElementCommentsDateFontFamily",(function(){return Cx})),o.d(i,"cssStyleElementCommentsDateFontSize",(function(){return Sx})),o.d(i,"cssStyleElementCommentsDateLineHeight",(function(){return xx})),o.d(i,"cssStyleElementCommentsDateFontWeight",(function(){return jx})),o.d(i,"cssStyleElementCommentsDateLetterSpacing",(function(){return Bx})),o.d(i,"cssStyleElementCommentsCommentFontFamily",(function(){return gx})),o.d(i,"cssStyleElementCommentsCommentFontSize",(function(){return vx})),o.d(i,"cssStyleElementCommentsCommentLineHeight",(function(){return yx})),o.d(i,"cssStyleElementCommentsCommentFontWeight",(function(){return fx})),o.d(i,"cssStyleElementCommentsCommentLetterSpacing",(function(){return Ox})),o.d(i,"cssStyleElementCommentsReplyFontFamily",(function(){return Px})),o.d(i,"cssStyleElementCommentsReplyFontSize",(function(){return wx})),o.d(i,"cssStyleElementCommentsReplyLineHeight",(function(){return Tx})),o.d(i,"cssStyleElementCommentsReplyFontWeight",(function(){return zx})),o.d(i,"cssStyleElementCommentsReplyLetterSpacing",(function(){return kx})),o.d(i,"cssStyleElementCommentsPostButtonFontFamily",(function(){return Ex})),o.d(i,"cssStyleElementCommentsPostButtonFontSize",(function(){return Hx})),o.d(i,"cssStyleElementCommentsPostButtonLineHeight",(function(){return _x})),o.d(i,"cssStyleElementCommentsPostButtonFontWeight",(function(){return Rx})),o.d(i,"cssStyleElementCommentsPostButtonLetterSpacing",(function(){return Mx})),o.d(i,"cssStyleElementCommentsLogoSize",(function(){return Ix})),o.d(i,"cssStyleElementCommentsWidthContainer",(function(){return Fx})),o.d(i,"cssStyleElementCommentsPostButtonColor",(function(){return Nx})),o.d(i,"cssStyleElementCommentsPostButtonBg",(function(){return Lx})),o.d(i,"cssStyleElementCommentsColorLink",(function(){return Wx})),o.d(i,"cssStyleElementCommentsNameColor",(function(){return Vx})),o.d(i,"cssStyleElementCommentsCommentsColor",(function(){return Dx})),o.d(i,"cssStyleElementCommentsChildMargin",(function(){return Ax})),o.d(i,"cssStyleElementCommentsHeightNameDate",(function(){return Gx})),o.d(i,"cssStyleElementCommentsDviderReplyHeight",(function(){return Ux})),o.d(i,"cssStyleElementSearchAutocompleteColor",(function(){return Kx})),o.d(i,"cssStyleElementSearchMinWidth",(function(){return qx})),o.d(i,"cssStyleElementSearchMinHeight",(function(){return Yx})),o.d(i,"cssStyleElementSearchPropertyHoverTransition",(function(){return Xx})),o.d(i,"cssStyleElementSearchLineHeight",(function(){return Zx})),o.d(i,"renderStyles",(function(){return Zb})),o.d(i,"css",(function(){return Qb})),o.d(i,"tmpCSSFromCache",(function(){return eh}));var l={};o.r(l),o.d(l,"getItems",(function(){return tj}));var c={};o.r(c),o.d(c,"getItems",(function(){return oj}));var s={};o.r(s),o.d(s,"getItems",(function(){return SB}));var d={};o.r(d),o.d(d,"title",(function(){return xB})),o.d(d,"getItems",(function(){return jB}));var p={};o.r(p),o.d(p,"getItems",(function(){return IB}));var u={};o.r(u),o.d(u,"title",(function(){return FB})),o.d(u,"getItems",(function(){return NB}));var b={};o.r(b),o.d(b,"getItems",(function(){return LB}));var h={};o.r(h),o.d(h,"getItems",(function(){return rP}));var m={};o.r(m),o.d(m,"title",(function(){return iP})),o.d(m,"getItems",(function(){return lP}));var g={};o.r(g),o.d(g,"getItems",(function(){return PP}));var v={};o.r(v),o.d(v,"title",(function(){return wP})),o.d(v,"getItems",(function(){return TP}));var y={};o.r(y),o.d(y,"getItems",(function(){return zP}));var f={};o.r(f),o.d(f,"title",(function(){return kP})),o.d(f,"getItems",(function(){return EP}));var O={};o.r(O),o.d(O,"getItems",(function(){return RP}));var C={};o.r(C),o.d(C,"Text",(function(){return WP})),o.d(C,"Email",(function(){return VP})),o.d(C,"Number",(function(){return DP})),o.d(C,"Paragraph",(function(){return AP})),o.d(C,"Select",(function(){return GP}));var S={};o.r(S),o.d(S,"getItems",(function(){return KP}));var x={};o.r(x),o.d(x,"title",(function(){return qP})),o.d(x,"getItems",(function(){return YP}));var j={};o.r(j),o.d(j,"getItems",(function(){return tw}));var B={};o.r(B),o.d(B,"title",(function(){return ow})),o.d(B,"getItems",(function(){return nw}));var P={};o.r(P),o.d(P,"getItems",(function(){return aw}));var w={};o.r(w),o.d(w,"getItems",(function(){return rw}));var T={};o.r(T),o.d(T,"title",(function(){return iw})),o.d(T,"getItems",(function(){return lw}));var z={};o.r(z),o.d(z,"getItems",(function(){return bw}));var k={};o.r(k),o.d(k,"getItems",(function(){return hw}));var E={};o.r(E),o.d(E,"title",(function(){return mw})),o.d(E,"getItems",(function(){return gw}));var H={};o.r(H),o.d(H,"getItems",(function(){return vw}));var _={};o.r(_),o.d(_,"title",(function(){return yw})),o.d(_,"getItems",(function(){return fw}));var R={};o.r(R),o.d(R,"Text",(function(){return jw})),o.d(R,"Email",(function(){return Bw})),o.d(R,"Number",(function(){return Pw})),o.d(R,"Paragraph",(function(){return ww})),o.d(R,"Select",(function(){return zw})),o.d(R,"Radio",(function(){return kw})),o.d(R,"Checkbox",(function(){return Hw})),o.d(R,"Date",(function(){return _w})),o.d(R,"Url",(function(){return Mw})),o.d(R,"Time",(function(){return Rw})),o.d(R,"FileUpload",(function(){return Nw})),o.d(R,"Hidden",(function(){return Lw})),o.d(R,"Tel",(function(){return Ww})),o.d(R,"Password",(function(){return Vw}));var M={};o.r(M),o.d(M,"getItems",(function(){return Dw}));var I={};o.r(I),o.d(I,"title",(function(){return Aw})),o.d(I,"getItems",(function(){return Gw}));var F={};o.r(F),o.d(F,"getItems",(function(){return Xw}));var N={};o.r(N),o.d(N,"getItems",(function(){return Zw}));var L={};o.r(L),o.d(L,"getItems",(function(){return Jw}));var W={};o.r(W),o.d(W,"getItems",(function(){return $w}));var V={};o.r(V),o.d(V,"getItems",(function(){return mT}));var D={};o.r(D),o.d(D,"getItems",(function(){return gT}));var A={};o.r(A),o.d(A,"title",(function(){return Lz})),o.d(A,"getItems",(function(){return Wz}));var G={};o.r(G),o.d(G,"getItems",(function(){return $z}));var U={};o.r(U),o.d(U,"title",(function(){return Qz})),o.d(U,"getItems",(function(){return ek}));var K={};o.r(K),o.d(K,"getItems",(function(){return ck}));var q={};o.r(q),o.d(q,"title",(function(){return sk})),o.d(q,"getItems",(function(){return dk}));var Y={};o.r(Y),o.d(Y,"getItems",(function(){return pk}));var X={};o.r(X),o.d(X,"title",(function(){return uk})),o.d(X,"getItems",(function(){return bk}));var Z={};o.r(Z),o.d(Z,"getItems",(function(){return jk}));var J={};o.r(J),o.d(J,"getItems",(function(){return Tk}));var $={};o.r($),o.d($,"title",(function(){return zk})),o.d($,"getItems",(function(){return kk}));var Q={};o.r(Q),o.d(Q,"getItemsForDesktop",(function(){return Mk})),o.d(Q,"getItemsForTablet",(function(){return Ik})),o.d(Q,"getItemsForMobile",(function(){return Fk}));var ee={};o.r(ee),o.d(ee,"title",(function(){return Nk})),o.d(ee,"getItems",(function(){return Lk}));var te={};o.r(te),o.d(te,"title",(function(){return qk})),o.d(te,"getItems",(function(){return Yk}));var oe={};o.r(oe),o.d(oe,"getItems",(function(){return BE}));var ne={};o.r(ne),o.d(ne,"title",(function(){return PE})),o.d(ne,"getItems",(function(){return wE}));var ae={};o.r(ae),o.d(ae,"getItems",(function(){return HE}));var re={};o.r(re),o.d(re,"title",(function(){return _E})),o.d(re,"getItems",(function(){return RE}));var ie={};o.r(ie),o.d(ie,"getItems",(function(){return WE}));var le={};o.r(le),o.d(le,"title",(function(){return VE})),o.d(le,"getItems",(function(){return DE}));var ce={};o.r(ce),o.d(ce,"getItems",(function(){return YE}));var se={};o.r(se),o.d(se,"title",(function(){return XE})),o.d(se,"getItems",(function(){return ZE}));var de={};o.r(de),o.d(de,"getItemsForDesktop",(function(){return lH})),o.d(de,"getItemsForTablet",(function(){return cH})),o.d(de,"getItemsForMobile",(function(){return sH}));var pe={};o.r(pe),o.d(pe,"title",(function(){return dH})),o.d(pe,"getItems",(function(){return pH}));var ue={};o.r(ue),o.d(ue,"getItems",(function(){return gH}));var be={};o.r(be),o.d(be,"title",(function(){return vH})),o.d(be,"getItems",(function(){return yH}));var he={};o.r(he),o.d(he,"getItems",(function(){return BH}));var me={};o.r(me),o.d(me,"title",(function(){return PH})),o.d(me,"getItems",(function(){return wH}));var ge={};o.r(ge),o.d(ge,"getItems",(function(){return HH}));var ve={};o.r(ve),o.d(ve,"title",(function(){return _H})),o.d(ve,"getItems",(function(){return RH}));var ye={};o.r(ye),o.d(ye,"getItems",(function(){return LH}));var fe={};o.r(fe),o.d(fe,"title",(function(){return WH})),o.d(fe,"getItems",(function(){return VH}));var Oe={};o.r(Oe),o.d(Oe,"getItems",(function(){return DH}));var Ce={};o.r(Ce),o.d(Ce,"getItems",(function(){return AH}));var Se={};o.r(Se),o.d(Se,"getItems",(function(){return GH}));var xe={};o.r(xe),o.d(xe,"getItems",(function(){return UH}));var je={};o.r(je),o.d(je,"getItems",(function(){return KH}));var Be={};o.r(Be),o.d(Be,"getItems",(function(){return qH}));var Pe={};o.r(Pe),o.d(Pe,"getItems",(function(){return t_}));var we={};o.r(we),o.d(we,"title",(function(){return o_})),o.d(we,"getItems",(function(){return n_}));var Te={};o.r(Te),o.d(Te,"de",(function(){return r_})),o.d(Te,"en",(function(){return i_})),o.d(Te,"es",(function(){return l_})),o.d(Te,"fr",(function(){return c_})),o.d(Te,"it",(function(){return s_})),o.d(Te,"nl",(function(){return d_})),o.d(Te,"ru",(function(){return p_}));var ze={};o.r(ze),o.d(ze,"getItems",(function(){return f_}));var ke={};o.r(ke),o.d(ke,"title",(function(){return O_})),o.d(ke,"getItems",(function(){return C_}));var Ee={};o.r(Ee),o.d(Ee,"getItems",(function(){return R_}));var He={};o.r(He),o.d(He,"title",(function(){return M_})),o.d(He,"getItems",(function(){return I_}));var _e={};o.r(_e),o.d(_e,"title",(function(){return F_})),o.d(_e,"getItems",(function(){return N_}));var Re={};o.r(Re),o.d(Re,"getItems",(function(){return L_}));var Me={};o.r(Me),o.d(Me,"getItems",(function(){return q_}));var Ie={};o.r(Ie),o.d(Ie,"getItems",(function(){return Q_}));var Fe={};o.r(Fe),o.d(Fe,"title",(function(){return eR})),o.d(Fe,"getItems",(function(){return tR}));var Ne={};o.r(Ne),o.d(Ne,"getItems",(function(){return aR}));var Le={};o.r(Le),o.d(Le,"title",(function(){return rR})),o.d(Le,"getItems",(function(){return iR}));var We={};o.r(We),o.d(We,"getItems",(function(){return lR}));var Ve={};o.r(Ve),o.d(Ve,"title",(function(){return cR})),o.d(Ve,"getItems",(function(){return sR}));var De={};o.r(De),o.d(De,"getItems",(function(){return mR}));var Ae={};o.r(Ae),o.d(Ae,"getItems",(function(){return SR}));var Ge={};o.r(Ge),o.d(Ge,"title",(function(){return xR})),o.d(Ge,"getItems",(function(){return jR}));var Ue={};o.r(Ue),o.d(Ue,"getItems",(function(){return PR}));var Ke={};o.r(Ke),o.d(Ke,"title",(function(){return wR})),o.d(Ke,"getItems",(function(){return TR}));var qe={};o.r(qe),o.d(qe,"getItems",(function(){return DR}));var Ye={};o.r(Ye),o.d(Ye,"title",(function(){return AR})),o.d(Ye,"getItems",(function(){return GR}));var Xe={};o.r(Xe),o.d(Xe,"getItems",(function(){return UR}));var Ze={};o.r(Ze),o.d(Ze,"getItems",(function(){return KR}));var Je={};o.r(Je),o.d(Je,"getItems",(function(){return YR}));var $e={};o.r($e),o.d($e,"title",(function(){return XR})),o.d($e,"getItems",(function(){return ZR}));var Qe={};o.r(Qe),o.d(Qe,"getItems",(function(){return iM}));var et={};o.r(et),o.d(et,"title",(function(){return lM})),o.d(et,"getItems",(function(){return cM}));var tt={};o.r(tt),o.d(tt,"getItems",(function(){return gM}));var ot={};o.r(ot),o.d(ot,"title",(function(){return vM})),o.d(ot,"getItems",(function(){return yM}));var nt={};o.r(nt),o.d(nt,"getItems",(function(){return _M}));var at={};o.r(at),o.d(at,"getItems",(function(){return RM}));var rt={};o.r(rt),o.d(rt,"getItems",(function(){return UM}));var it={};o.r(it),o.d(it,"title",(function(){return KM})),o.d(it,"getItems",(function(){return qM}));var lt={};o.r(lt),o.d(lt,"getItems",(function(){return nI}));var ct={};o.r(ct),o.d(ct,"title",(function(){return aI})),o.d(ct,"getItems",(function(){return rI}));var st={};o.r(st),o.d(st,"getItems",(function(){return hI}));var dt={};o.r(dt),o.d(dt,"title",(function(){return mI})),o.d(dt,"getItems",(function(){return gI}));var pt={};o.r(pt),o.d(pt,"getItems",(function(){return yI}));var ut={};o.r(ut),o.d(ut,"title",(function(){return fI})),o.d(ut,"getItems",(function(){return OI}));var bt={};o.r(bt),o.d(bt,"getItems",(function(){return BI}));var ht={};o.r(ht),o.d(ht,"title",(function(){return PI})),o.d(ht,"getItems",(function(){return wI}));var mt={};o.r(mt),o.d(mt,"getItems",(function(){return TI}));var gt={};o.r(gt),o.d(gt,"getItems",(function(){return MI}));var vt={};o.r(vt),o.d(vt,"title",(function(){return II})),o.d(vt,"getItems",(function(){return FI}));var yt={};o.r(yt),o.d(yt,"getItems",(function(){return NI}));var ft={};o.r(ft),o.d(ft,"getItems",(function(){return LI}));var Ot={};o.r(Ot),o.d(Ot,"getItems",(function(){return WI}));var Ct={};o.r(Ct),o.d(Ct,"title",(function(){return VI})),o.d(Ct,"getItems",(function(){return DI}));var St={};o.r(St),o.d(St,"getItems",(function(){return sF}));var xt={};o.r(xt),o.d(xt,"getItems",(function(){return dF}));var jt={};o.r(jt),o.d(jt,"title",(function(){return pF})),o.d(jt,"getItems",(function(){return uF}));var Bt={};o.r(Bt),o.d(Bt,"getItems",(function(){return vF}));var Pt={};o.r(Pt),o.d(Pt,"title",(function(){return yF})),o.d(Pt,"getItems",(function(){return fF}));var wt={};o.r(wt),o.d(wt,"title",(function(){return wF})),o.d(wt,"getItems",(function(){return TF}));var Tt={};o.r(Tt),o.d(Tt,"getItems",(function(){return LF})),o.d(Tt,"getItemsSimple",(function(){return WF})),o.d(Tt,"getItemsMMenu",(function(){return VF}));var zt={};o.r(zt),o.d(zt,"getItems",(function(){return DF}));var kt={};o.r(kt),o.d(kt,"getItems",(function(){return UF}));var Et={};o.r(Et),o.d(Et,"title",(function(){return KF})),o.d(Et,"getItems",(function(){return qF}));var Ht={};o.r(Ht),o.d(Ht,"getItems",(function(){return jN}));var _t={};o.r(_t),o.d(_t,"title",(function(){return BN})),o.d(_t,"getItems",(function(){return PN}));var Rt={};o.r(Rt),o.d(Rt,"getItems",(function(){return EN}));var Mt={};o.r(Mt),o.d(Mt,"title",(function(){return HN})),o.d(Mt,"getItems",(function(){return _N}));var It={};o.r(It),o.d(It,"getItems",(function(){return qN}));var Ft={};o.r(Ft),o.d(Ft,"getItems",(function(){return YN}));var Nt={};o.r(Nt),o.d(Nt,"title",(function(){return XN})),o.d(Nt,"getItems",(function(){return ZN}));var Lt={};o.r(Lt),o.d(Lt,"getItems",(function(){return tL}));var Wt={};o.r(Wt),o.d(Wt,"title",(function(){return oL})),o.d(Wt,"getItems",(function(){return nL}));var Vt={};o.r(Vt),o.d(Vt,"getItems",(function(){return cL}));var Dt={};o.r(Dt),o.d(Dt,"title",(function(){return sL})),o.d(Dt,"getItems",(function(){return dL}));var At={};o.r(At),o.d(At,"getItems",(function(){return mL}));var Gt={};o.r(Gt),o.d(Gt,"title",(function(){return gL})),o.d(Gt,"getItems",(function(){return vL}));var Ut={};o.r(Ut),o.d(Ut,"getItems",(function(){return jL}));var Kt={};o.r(Kt),o.d(Kt,"title",(function(){return BL})),o.d(Kt,"getItems",(function(){return PL}));var qt={};o.r(qt),o.d(qt,"title",(function(){return LL})),o.d(qt,"getItems",(function(){return WL}));var Yt={};o.r(Yt),o.d(Yt,"getItems",(function(){return UL}));var Xt={};o.r(Xt),o.d(Xt,"title",(function(){return KL})),o.d(Xt,"getItems",(function(){return qL}));var Zt={};o.r(Zt),o.d(Zt,"title",(function(){return tW})),o.d(Zt,"getItems",(function(){return oW}));var Jt={};o.r(Jt),o.d(Jt,"getItems",(function(){return iW}));var $t={};o.r($t),o.d($t,"title",(function(){return lW})),o.d($t,"getItems",(function(){return cW}));var Qt={};o.r(Qt),o.d(Qt,"getItems",(function(){return bW}));var eo={};o.r(eo),o.d(eo,"title",(function(){return hW})),o.d(eo,"getItems",(function(){return mW}));var to={};o.r(to),o.d(to,"getItems",(function(){return OW}));var oo={};o.r(oo),o.d(oo,"title",(function(){return CW})),o.d(oo,"getItems",(function(){return SW}));var no={};o.r(no),o.d(no,"getItems",(function(){return HW}));var ao={};o.r(ao),o.d(ao,"title",(function(){return MW})),o.d(ao,"getItems",(function(){return IW}));var ro={};o.r(ro),o.d(ro,"getItems",(function(){return DW}));var io={};o.r(io),o.d(io,"title",(function(){return AW})),o.d(io,"getItems",(function(){return GW}));var lo={};o.r(lo),o.d(lo,"getItems",(function(){return YW}));var co={};o.r(co),o.d(co,"title",(function(){return XW})),o.d(co,"getItems",(function(){return ZW}));var so={};o.r(so),o.d(so,"getItems",(function(){return tV}));var po={};o.r(po),o.d(po,"title",(function(){return oV})),o.d(po,"getItems",(function(){return nV}));var uo={};o.r(uo),o.d(uo,"getItems",(function(){return cV}));var bo={};o.r(bo),o.d(bo,"title",(function(){return sV})),o.d(bo,"getItems",(function(){return dV}));var ho={};o.r(ho),o.d(ho,"getItems",(function(){return mV}));var mo={};o.r(mo),o.d(mo,"title",(function(){return gV})),o.d(mo,"getItems",(function(){return vV}));var go={};o.r(go),o.d(go,"getItems",(function(){return SV}));var vo={};o.r(vo),o.d(vo,"title",(function(){return xV})),o.d(vo,"getItems",(function(){return jV}));var yo=o(2),fo=(o(565),o(571),o(574),o(0)),Oo=o.n(fo),Co=o(24),So=o.n(Co),xo=o(31),jo=o(80),Bo=o(13),Po=o(27),wo=o(33);const To=(e,t)=>{for(let o in e){if(!e.hasOwnProperty(o))continue;e[o]&&"object"==typeof e[o]&&To(e[o],t);const n=t[e.type]||t.Component;"function"==typeof n&&e.type&&e.value&&n(e)}};var zo=o(56),ko=o(23);const Eo=({type:e,family:t})=>"".concat(e,"|").concat(t),Ho=e=>{const[t,o]=e.split("|");return{type:t,family:o}},_o=e=>{const t=zo.a.getComponent(e);return t?t.defaultValue:{}},Ro=({models:e={},globalBlocks:t={}})=>{const o=new Set;return To(e,{Component({type:e,value:t}){const n=_o(e).style||{};Object.entries(n.families||{}).forEach(e=>{const[a,r]=e,i={type:t["".concat(a,"Type")]||n["".concat(a,"Type")],family:t[a]||r};i.type&&i.family&&o.add(Eo(i))})},RichText({type:e,value:t}){const n=_o(e).content||{},a=/class="(.+?)">/g,r=/.*?brz-(f(?:[f|t]))-(\w+)+.*?/g;let i;const l=t.text||n.text;for(;i=a.exec(l);){let e,[t,n]=i,a={};for(;e=r.exec(n);){const[t,o,n]=e;"ft"===o&&(a.type=n),"ff"===o&&(a.family=n)}a.family&&(a.type?o.add(Eo(a)):o.add(Eo({family:a.family,type:"unknowns"})))}},GlobalBlock({value:{globalBlockId:e}}){const n=t[e];if(n){Ro({models:n,globalBlocks:t}).forEach(e=>{o.add(Eo(e))})}}}),[...o].map(Ho)},Mo=e=>{const t=new Set;return e.forEach(e=>{((e,t)=>{for(let o in e)e.hasOwnProperty(o)&&"function"==typeof t[o]&&t[o](e[o])})(e,{fontFamily(o){t.add(Eo({type:e.fontFamilyType,family:o}))}})}),[...t].map(Ho)},Io=(e,t)=>{const o=e.reduce((e,t)=>e.some(({family:e})=>e===t.family)?e:[...e,t],[]),n=Object(ko.v)(t);return o.reduce((e,t)=>{const{type:o,family:a}=t;return"unknowns"===o?Object.entries(n).find(([e,t])=>Object(ko.a)(t,a,e))?e:[...e,t]:Object(ko.a)(n[o],a,o)?e:[...e,t]},[])};var Fo=o(65),No=o(64),Lo=o(20),Wo=o(386),Vo=o(112),Do=o(7),Ao=o.n(Do),Go=o(36),Uo=o(17),Ko=o(99),qo=o(92);const Yo=qo.d||Bo.a.get("wp")?Po.J:qo.c?Po.updateInternalPopup:Po.updateExternalPopup,Xo=Ao.a.debounce(Po.K,2e3),Zo=Ao.a.debounce(Yo,2e3),Jo=on(Po.d,2e3),$o=on(Po.H,2e3),Qo=on(Po.f,2e3),en=on(Po.M,2e3),tn=on(Po.g,2e3);function on(e,t,o=5){const n=o,a=new Array(n);let r=0;const i=new Map;return function(o){return void 0===i.get(o)&&(i.set(o,r),a[r]=Ao.a.debounce(e,t),r=(r+1)%n),a[i.get(o)]}}var nn=o(16),an=o(1);function rn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const{isGlobalPopup:ln}=Bo.a.get("wp")||{},{UNDO:cn,REDO:sn}=Ko.a;var dn=e=>t=>{const o=un.bind(null,t);return n=>{t(n);const a=e.getState();!function({action:e,state:t,apiHandler:o}){if(e.type===Uo.m){const{onSuccess:n=Ao.a.noop,onError:a=Ao.a.noop}=e.meta,r=Object(nn.t)(t),i=Object(nn.r)(t),l=Object.values(Object(nn.j)(t));Zo.cancel(),Xo.cancel();for(const{id:e}of l)$o(e).cancel();const c={is_autosave:0};o(Promise.all([Object(Po.K)(r,c),Yo(i,c),...l.map(e=>Object(Po.H)(e,c))]),n,a)}}({action:n,state:a,apiHandler:o}),function({action:e,state:t,apiHandler:o}){switch(e.type){case Uo.t:{const e={is_autosave:0},n=Object(nn.t)(t);o(Object(Po.K)(n,e));break}case Uo.s:case Uo.r:case Uo.v:{const e=Object(nn.s)(t);Xo(e);break}case Uo.l:case Uo.k:case Uo.q:{const{onSuccess:n=Ao.a.noop,onError:a=Ao.a.noop}=e.meta||{},r=Object(Go.a)(Object(nn.t)(t),e=>{e.data.fonts=Object(nn.g)(t),e.data.styles=Object(nn.A)(t)}),i={is_autosave:0};Xo.cancel(),o(Object(Po.K)(r,i),n,a);break}case Uo.b:case Uo.f:{const n=Object(nn.g)(t),{onSuccess:a=Ao.a.noop,onError:r=Ao.a.noop}=e.meta||{},i=Object(Go.a)(Object(nn.t)(t),e=>{e.data.fonts=n}),l={is_autosave:0};Xo.cancel(),o(Object(Po.K)(i,l),a,r);break}case cn:case sn:{const o=e.currentSnapshot.currentStyleId,n=e.nextSnapshot.currentStyleId,a=e.currentSnapshot.currentStyle,r=e.nextSnapshot.currentStyle,i=e.currentSnapshot.extraFontStyles,l=e.nextSnapshot.extraFontStyles;if(o!==n||a!==r||i!==l){const e=Object(nn.s)(t);Xo(e)}}}}({action:n,state:a,apiHandler:o}),function({action:e,state:t}){switch(e.type){case Uo.x:case Uo.a:case Uo.n:{const{page:o}=t;Zo(o,e.meta);break}case Uo.p:{const o=Object(Go.a)(Object(nn.r)(t),e=>{e.data.items=Object(nn.o)(t)});Zo(o,e.meta);break}case Uo.y:{const{syncSuccess:o=Ao.a.noop,syncFail:n=Ao.a.noop}=e.meta||{},a=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):rn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t.page,{rules:e.payload});Object(Po.L)(a,e.meta).then(o).catch(n);break}case Uo.B:{const{page:o}=t,{syncSuccess:n=Ao.a.noop,syncFail:a=Ao.a.noop}=e.meta||{};Yo(o,{is_autosave:0}).then(n).catch(a);break}case cn:case sn:{const{page:t}=e.currentSnapshot,{page:o}=e.nextSnapshot;t!==o&&Zo(o)}}}({action:n,state:a,apiHandler:o}),function({action:e,state:t}){if(e.type===Uo.d){const{id:o}=e.payload,n=Object(nn.k)(t)[o];Jo(o)(n)}else if(e.type===Uo.w){const{id:o}=e.payload,n=Object(nn.k)(t)[o];$o(o)(n,e.meta)}else if(e.type===Uo.g){const{id:o}=e.payload,n=Object(nn.k)(t)[o],a={is_autosave:0};$o(o)(n,a)}else if(e.type===cn||e.type===sn){const{globalBlocks:t}=e.currentSnapshot,{globalBlocks:o}=e.nextSnapshot;t!==o&&Object.keys(o).forEach(e=>{if(o[e]&&t[e]&&o[e]!==t[e]){const t=o[e];$o(e)(t)}})}}({action:n,state:a,apiHandler:o}),function({action:e,state:t}){if(e.type===Uo.e){const{id:o}=e.payload,n=Object(nn.x)(t)[o];Qo(o)(n)}else if(e.type===Uo.z){const{id:o}=e.payload,n=Object(nn.x)(t)[o];en(o)(n,e.meta)}else if(e.type===Uo.h){const{id:t}=e.payload;tn(t)(e.payload)}}({action:n,state:a,apiHandler:o}),function({action:e,state:t}){if(e.type===Uo.A){const{payload:{blockId:o},meta:{blockType:n,action:a}}=e;if("saved"===n){const e=Object(nn.x)(t)[o];if(e){const t={is_autosave:0};en(o)(e,t)}}if("global"===n&&"create"===a){const e=Object(nn.k)(t)[o];if(e){const t={is_autosave:0};$o(o)(e,t)}}}}({action:n,state:a,apiHandler:o}),function({action:e,state:t,apiHandler:o}){if(e.type===Uo.u||e.type===Uo.j){const e=Object(nn.e)(t);(!e||e.code!==No.f)&&pn(o)}}({action:n,state:a,apiHandler:o}),ln&&function({action:e,state:t,apiHandler:o}){if(e.type===Uo.y){const{syncSuccess:t=Ao.a.noop,syncFail:n=Ao.a.noop}=e.meta||{};o(Object(Po.L)(e.payload,e.meta),t,n)}if(e.type===Uo.y||e.type===Uo.B){const{page:n}=t,{syncSuccess:a=Ao.a.noop,syncFail:r=Ao.a.noop}=e.meta||{};o(Yo(n,{is_autosave:0}),a,r)}}({action:n,state:a,apiHandler:o})}};const pn=Ao.a.once(e=>{const{heartBeatInterval:t}=Bo.a.get("project");e(function(e){let t=!1;return new Promise((o,n)=>{if(!t){t=!0;const o=()=>{setTimeout(()=>{Object(Po.B)().then(e=>{!1===e.locked?o():n({heartBeat:!0,data:e})})},e)};o()}})}(t))});function un(e,t,o=Ao.a.noop,n=Ao.a.noop){return t.then(e=>{o(e)}).catch(t=>{t&&t.heartBeat?e(Object(Uo.X)({code:No.c,data:t.data})):(e(Object(Uo.X)({code:No.e,data:Object(an.a)("This page needs a refresh. You’ve probably updated this page (or another page) in a different tab or browser.")})),n(t))})}var bn=o(29),hn=o.n(bn),mn=o(14);const gn=o(7);function vn(e,t){if(gn.isString(t))return e===t;if(gn.isRegExp(t))return t.test(e);throw Error("unknown match type")}function yn(e){return e.split(/\s+/).filter(Boolean)}function fn(e,t){const o=yn(e),n=gn.isArray(t)?t:[t];return gn.uniq(o.concat(n)).join(" ")}function On(e,t){const o=yn(e),n=gn.isArray(t)?t:[t];return gn.filter(o,e=>!1===gn.some(n,t=>vn(e,t))).join(" ")}const Cn=1170,Sn=1920,xn=768,jn=430,Bn=60,{UNDO:Pn,REDO:wn}=Ko.a;var Tn=e=>t=>o=>n=>{const a={onBeforeNext:[],onAfterNext:[]};switch(n.type){case Uo.a:case Uo.n:case Uo.o:case Uo.x:case Uo.p:case Uo.w:case Uo.s:case Uo.r:case Uo.v:case Uo.l:case Pn:case wn:(window.parent||window).addEventListener("beforeunload",zn);break;case Uo.m:(window.parent||window).removeEventListener("beforeunload",zn);break}n.type===Uo.j&&function(e){e.onAfterNext.push(({state:e,store:t,config:o})=>{const{document:n,parentDocument:a}=o,r=Object(ko.v)(Object(nn.E)(e)),i=Object(ko.v)(Object(nn.g)(e)),{colorPalette:l,fontStyles:c}=Object(nn.b)(e),s=Object(nn.f)(e),d=Object(ko.c)(e),p=hn()("<style>").attr("id","brz-project-default-font").html(Object(ko.o)(d));hn()("head",n).append(p),hn()("head",a).append(p.clone());const u=hn()("<link>").attr({href:Object(ko.s)(r.google),type:"text/css",rel:"stylesheet"});hn()("head",n).append(u),hn()("head",a).append(u.clone());const b=hn()("<style>").attr("id","brz-rich-text-font-families").html(Object(ko.p)(i.google));if(hn()("head",n).append(b),r.upload&&r.upload.length>0){const e=hn()("<link>").attr({href:Object(ko.t)(r.upload),type:"text/css",rel:"stylesheet"});hn()("head",n).append(e),hn()("head",a).append(e.clone())}i.upload&&i.upload.length>0&&hn()("#brz-rich-text-font-families").append(Object(ko.r)(i.upload));const h=hn()("<style>").attr("id","brz-rich-text-font-styles").html(Object(ko.q)([...c,...s]));hn()("head",n).append(h);const m=hn()("<style>").attr("id","brz-rich-text-colors").html(Object(mn.e)(l));hn()("head",n).append(m),n.body.style.setProperty("--elements-visibility","none"),hn()(window).on("storage",e=>{const{key:o,newValue:n,oldValue:a}=e.originalEvent;"copiedStyles"===o&&n&&n!==a&&t.dispatch(Object(Uo.S)(JSON.parse(n)))})})}(a),n.type!==Uo.l&&n.type!==Uo.k&&n.type!==Uo.a&&n.type!==Uo.b&&n.type!==Uo.f||function(e){e.onAfterNext.push(({config:e,state:t,oldState:o,action:n})=>{if(t.fonts===o.fonts)return;const{document:a,parentDocument:r}=e,{fontStyles:i}=Object(nn.b)(t),l=Object(nn.f)(t),c=hn()("#brz-rich-text-font-families"),{google:s,upload:d}=Object(ko.v)(Object(nn.g)(t));hn()("#brz-rich-text-font-styles").html(Object(ko.q)([...i,...l])),c.html(Object(ko.p)(s)),d&&d.length>0&&c.append(Object(ko.r)(d)),n.type!==Uo.f&&function(e,t){return Object.entries(t).reduce((t,[o,{data:n}])=>{const a=e[o];return a?a.data!==n?[...t,{type:o,fonts:Ao.a.difference(n,a.data)}]:t:[...t,{type:o,fonts:n}]},[])}(o.fonts,t.fonts).forEach(({type:e,fonts:t})=>{const o="upload"===e?Object(ko.t)(t):Object(ko.s)(t),n=hn()("<link>").attr({href:o,type:"text/css",rel:"stylesheet"});hn()("head",a).append(n),hn()("head",r).append(n.clone())})})}(a),n.type!==Uo.l&&n.type!==Uo.s&&n.type!==Uo.r&&n.type!==Uo.v||function(e){e.onAfterNext.push(({state:e})=>{const{fontStyles:t,colorPalette:o}=Object(nn.b)(e),n=Object(nn.f)(e);hn()("#brz-rich-text-font-styles").html(Object(ko.q)([...t,...n])),hn()("#brz-rich-text-colors").html(Object(mn.e)(o))})}(a),n.type===Uo.C&&"deviceMode"===n.key&&function(e){e.onAfterNext.push(({config:e,action:t})=>{const{document:o,parentDocument:n}=e,a=t.value,r=n.getElementById("brz-ed-iframe"),i=fn(On(r.className,/^brz-ed-iframe--/),"brz-ed-iframe--".concat(a)),l=o.getElementsByClassName("brz")[0],c=fn(On(l.className,/^brz-ed--/),"brz-ed--".concat(a)),s=r.offsetWidth-o.body.offsetWidth;let d="";if(s>0&&("mobile"===a||"tablet"===a)){d="".concat(("mobile"===a?jn:xn)+(s+30),"px")}requestAnimationFrame(()=>{r.className=i,l.className=c,r.style.maxWidth=d})})}(a),n.type===Uo.C&&"showHiddenElements"===n.key&&function(e){e.onAfterNext.push(({config:e,action:t})=>{const{document:o}=e;t.value?o.body.style.removeProperty("--elements-visibility"):o.body.style.setProperty("--elements-visibility","none")})}(a),n.type===Uo.c&&function(e){e.onAfterNext.push(({action:e})=>{const t=localStorage.getItem("copiedStyles"),o=JSON.stringify(e.value);t!==o&&localStorage.setItem("copiedStyles",o)})}(a),n.type!==Pn&&n.type!==wn||function(e){e.onAfterNext.push(({state:e,action:t})=>{const o=t.currentSnapshot.currentStyleId,n=t.nextSnapshot.currentStyleId,a=t.currentSnapshot.currentStyle,r=t.nextSnapshot.currentStyle,i=t.currentSnapshot.extraFontStyles,l=t.nextSnapshot.extraFontStyles;if(o!==n||a!==r||i!==l){const{fontStyles:t,colorPalette:o}=Object(nn.b)(e),n=Object(nn.f)(e);hn()("#brz-rich-text-font-styles").html(Object(ko.q)([...t,...n])),hn()("#brz-rich-text-colors").html(Object(mn.e)(o))}})}(a);const r=t.getState();o(n);const i=t.getState();a.onAfterNext.forEach(o=>o({config:e,state:i,oldState:r,store:t,action:n}))};function zn(e){e.preventDefault(),e.returnValue="Do you really want to close?"}var kn=o(22),En=o(41);function Hn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _n(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Hn(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Hn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const{UNDO:Rn,REDO:Mn}=Ko.a,In={taskPriorities:{IMMEDIATE:0,HIGH:1,NORMAL:2},_options:_n({interval:1e3},{interval:2e3}),_running:!0,_looping:!1,_tasks:[],enqueue(e){const t=this._tasks.reduce((e,t)=>(e[t.id]=!0,e),{});e.forEach(e=>{if(t[e.id]){const t=this._tasks.findIndex(t=>t.id===e.id);this._tasks[t]=e}else this._tasks.push(e)}),this._tasks.sort((e,t)=>e.priority-t.priority),this._process()},start(){this._running=!0,this._process()},stop(){this._running=!1},_process(){0!==this._tasks.length&&(this._tasks.forEach(e=>{e.priority===this.taskPriorities.IMMEDIATE&&e.cb(...e.cbArgs||[])}),this._tasks=this._tasks.filter(e=>e.priority!==this.taskPriorities.IMMEDIATE),this._looping||this._loop())},_loop(){this._looping=!0,setTimeout(async()=>{if(this._running&&this._tasks.length>0){const e=this._tasks.shift();try{const t=()=>t.called=!0;await e.cb(...e.cbArgs||[],t),t.called&&this._tasks.push(e)}catch(e){}this._tasks.length>0?this._loop():this._looping=!1}else this._looping=!1},this._options.interval)}};const Fn=e=>e.reduce((e,t)=>(e[t.value._id]=t,e),{}),Nn=(e,t)=>Boolean(Fn(Object(nn.o)(t.getState()))[e]),Ln=e=>"desktop"===Object(nn.c)(e.getState());var Wn=e=>t=>o=>{const n=e.getState();if(t(o),o.type===Uo.C&&"deviceMode"===o.key&&("desktop"===o.value?In.start():In.stop()),o.type!==Uo.i&&o.type!==Uo.s&&o.type!==Uo.r&&o.type!==Uo.v&&o.type!==Uo.l||Vn(e,t),Ln(e)){if(o.type===Uo.p||o.type===Uo.a||o.type===Uo.w||o.type===Rn||o.type===Mn){let a;o.meta&&(a={popup:o.meta.SectionPopup||o.meta.SectionPopup2,sourceBlockId:o.meta.sourceBlockId}),An(n,e,t,a)}if(o.type===Uo.e||o.type===Uo.d){const a={taskIdSuffix:"_create",sourceBlockId:o.meta.sourceBlockId,isAutosave:0,taskPriority:o===Uo.e?In.taskPriorities.IMMEDIATE:In.taskPriorities.HIGH};Dn(n,e,t,a)}}};const Vn=Ao.a.debounce((function(e,t){const o={page:new Set,saved:new Set,global:new Set},n=e.getState();{const e=Object(nn.o)(n);for(const t of e){if("SectionPopup"===t.type||"SectionPopup2"===t.type)return;"GlobalBlock"===t.type?o.global.add(t.value.globalBlockId):o.page.add(t)}}Gn(o,e,t)}),2e3);function Dn(e,t,o,n){const a={page:new Set,saved:new Set,global:new Set},r=t.getState();{const t=Fn(Object(nn.o)(e)),o=Fn(Object(nn.o)(r)),n=Object(nn.k)(e),i=Object(nn.l)(e),l=Object(nn.k)(r),c=Object(nn.l)(r);for(const[e,r]of Object.entries(o))if("GlobalBlock"!==r.type)r!==t[e]&&a.page.add(r);else{const e=r.value.globalBlockId;l[e]===n[e]&&c[e]===i[e]||a.global.add(e)}}{const t=Object(nn.x)(e),o=Object(nn.x)(r);for(const e of Object.keys(o))o[e]!==t[e]&&a.saved.add(e)}{const t=Object(nn.k)(e),o=Object(nn.l)(e),n=Object(nn.k)(r),i=Object(nn.l)(r);for(const e of Object.keys(n))n[e]===t[e]&&i[e]===o[e]||a.global.add(e)}Gn(a,t,o,n)}const An=function({fn:e,wait:t=1e3,memoizeArgs:o=[],onFirstCall:n=(()=>{}),onAfterFnCall:a=(()=>{})}){let r,i,l=!1;return(...c)=>{l||(n(),l=!0),i&&clearTimeout(i),o&&!r&&(r=o.reduce((e,t)=>(e[t]=c[t],e),{})),i=setTimeout(()=>{const t=c.map((e,t)=>r[t]?r[t]:e);i=void 0,r=void 0,l=!1,e(...t),a({fnArgs:t})},t)}}({fn:Dn,wait:2e3,memoizeArgs:[0],onFirstCall:()=>In.stop(),onAfterFnCall:({fnArgs:[,e]})=>{Ln(e)&&In.start()}});async function Gn(e,t,o,n={}){const a=[...Array.from(e.page).map(e=>({id:e.value._id+(n.taskIdSuffix||""),priority:void 0!==n.taskPriority?n.taskPriority:In.taskPriorities.NORMAL,cb:n.popup?Yn:Un,cbArgs:[t,o,n,e]})),...Array.from(e.saved).map(e=>({id:e+(n.taskIdSuffix||""),priority:void 0!==n.taskPriority?n.taskPriority:In.taskPriorities.NORMAL,cb:Kn,cbArgs:[t,o,n,e]})),...Array.from(e.global).map(e=>({id:e+(n.taskIdSuffix||""),priority:void 0!==n.taskPriority?n.taskPriority:In.taskPriorities.NORMAL,cb:n.popup?Xn:qn,cbArgs:[t,o,n,e]}))];a.length>0&&In.enqueue(a)}async function Un(e,t,o,n,a){const r=n.value._id;let i,l;if(Nn(r,e)){try{const e=document.querySelector("#".concat(r));l=await Object(Vo.b)(e)}catch(e){return void 0}{if(!Nn(r,e))return;if(!Ln(e))return void a();const t=Object(nn.y)(e.getState());if(t[r])i=t[r]._thumbnailSrc,await Object(Po.D)({id:i,base64:l.src,blockType:"normal"});else{i=(await Object(Po.b)({base64:l.src,blockType:"normal"})).id}}Nn(r,e)&&t(Object(Uo.ab)({blockId:r,data:{_thumbnailSrc:i,_thumbnailWidth:l.width,_thumbnailHeight:l.height,_thumbnailTime:Date.now()},meta:{blockType:"normal"}}))}}async function Kn(e,t,o,n,a){let r,i;{const e=document.querySelector("#".concat(o.sourceBlockId));if(!e)return;try{i=await Object(Vo.b)(e)}catch(e){return void 0}}if(!Object(nn.x)(e.getState())[n])return;if(!Ln(e))return void a();r=(await Object(Po.b)({base64:i.src,blockType:"global"})).id;if(!Object(nn.x)(e.getState())[n])return;t(Object(Uo.ab)({blockId:n,data:{_thumbnailSrc:r,_thumbnailWidth:i.width,_thumbnailHeight:i.height,_thumbnailTime:Date.now()},meta:{blockType:"saved"}}))}async function qn(e,t,o,n,a){let r,i;{let t;if(o.sourceBlockId)t=o.sourceBlockId;else{const o=Object(nn.o)(e.getState()),{obj:a}=Object(En.a)(o,e=>e.value&&e.value.globalBlockId===n);if(!a)return;t=a.value._id}const a=document.querySelector("#".concat(t));if(!a)return;try{i=await Object(Vo.b)(a)}catch(e){return void 0}}{if(!Object(nn.k)(e.getState())[n])return;if(!Ln(e))return void a();const t=Object(nn.y)(e.getState()),o=t._published[n]&&t._published[n]._thumbnailSrc,l=t[n]&&t[n]._thumbnailSrc;if(o&&o!==l)r=l,await Object(Po.D)({id:r,base64:i.src,blockType:"global"});else{r=(await Object(Po.b)({base64:i.src,blockType:"global"})).id}}if(!Object(nn.k)(e.getState())[n])return;t(Object(Uo.ab)({blockId:n,data:{_thumbnailSrc:r,_thumbnailWidth:i.width,_thumbnailHeight:i.height,_thumbnailTime:Date.now()},meta:{blockType:"global",action:0===o.isAutosave?"create":"update"}}))}async function Yn(e,t,o,n,a){const{path:r,domId:i}=o.popup,l=r.slice(1,-1),c=Object(nn.o)(e.getState()),s=Object(kn.getIn)(c,l).value._id;let d,p;{const e=document.querySelector("#".concat(i));if(!e)return;try{p=await Object(Vo.b)(e)}catch(e){return void 0}}{const t=Object(nn.o)(e.getState()),o=Object(kn.getIn)(t,l);if(!(o&&o.value&&o.value._id===s))return;if(!Ln(e))return void a();const n=Object(nn.y)(e.getState()),r=n._published[s]&&n._published[s]._thumbnailSrc,i=n[s]&&n[s]._thumbnailSrc;if(i&&i!==r)d=i,await Object(Po.D)({id:d,base64:p.src,blockType:"global"});else{d=(await Object(Po.b)({base64:p.src,blockType:"global"})).id}}{const o=Object(nn.o)(e.getState()),n=Object(kn.getIn)(o,l);if(!((n&&n.value&&n.value._id)===s))return;t(Object(Uo.ab)({blockId:s,data:{_thumbnailSrc:d,_thumbnailWidth:p.width,_thumbnailHeight:p.height,_thumbnailTime:Date.now()},meta:{blockType:"popup"}}))}}async function Xn(e,t,o,n,a){const{domId:r,dbId:i}=o.popup,l=Object(nn.k)(e.getState())[n],{obj:c}=Object(En.a)(l,e=>e&&e.value&&e.value._id===i),s=c.value._id,d=c===l.data;let p,u;{const e=document.querySelector("#".concat(r));if(!e)return;try{u=await Object(Vo.b)(e)}catch(e){return void 0}}{const t=Object(nn.k)(e.getState())[n],{obj:o}=Object(En.a)(t,e=>e&&e.value&&e.value._id===i);if(!Boolean(o))return;if(!Ln(e))return void a();if(o.value._thumbnailSrc){const t=Object(nn.y)(e.getState())._published[d?n:s];if(t&&o.value._thumbnailSrc===t._thumbnailSrc){p=(await Object(Po.b)({base64:u.src,blockType:d?"global":"normal"})).id}else p=o.value._thumbnailSrc,await Object(Po.D)({id:p,base64:u.src,blockType:d?"global":"normal"})}else{p=(await Object(Po.b)({base64:u.src,blockType:d?"global":"normal"})).id}}{const o=Object(nn.k)(e.getState())[n],{obj:a}=Object(En.a)(o,e=>e&&e.value&&e.value._id===i);if(!Boolean(a))return;t(Object(Uo.ab)({blockId:d?n:s,data:{_thumbnailSrc:p,_thumbnailWidth:u.width,_thumbnailHeight:u.height,_thumbnailTime:Date.now()},meta:{blockType:"popup"}}))}}const Zn=e=>t=>o=>{const n=Object(nn.e)(e.getState());n&&No.d.includes(n.code)||t(o)};async function Jn(){let e=await Object(Vo.a)();return[Wo.a,Zn,Tn({document:document,parentDocument:window.parent.document}),...e?[Wn]:[],dn]}var $n=o(48);class Qn extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"handlePageChange",({items:e},t)=>{this.props.reduxDispatch(Object(Uo.R)({blocks:e,meta:t}))})}render(){const{Page:e}=zo.a.getComponents(),{reduxState:t,reduxDispatch:o}=this.props;return Oo.a.createElement(e,{dbValue:Object(nn.p)(t),reduxState:t,reduxDispatch:o,onChange:this.handlePageChange})}}var ea=Object(xo.b)(e=>({reduxState:e}),e=>({reduxDispatch:e}),null,{areStatesEqual:(e,t)=>e.pageBlocks===t.pageBlocks&&e.currentStyleId===t.currentStyleId&&e.currentStyle===t.currentStyle&&e.extraFontStyles===t.extraFontStyles&&e.fonts===t.fonts&&e.copiedElement===t.copiedElement})(Qn),ta=o(9),oa=o(63);class na extends Oo.a.Component{render(){return Oo.a.createElement("div",{className:this.props.className},Oo.a.createElement("ul",{className:"brz-ul"},this.props.children))}}var aa=o(6),ra=o.n(aa),ia=o(10);class la extends Oo.a.Component{render(){const{icon:e,title:t,className:o,onClick:n}=this.props,a=ra()("brz-li brz-ed-sidebar__control__item",o);return Oo.a.createElement("li",{className:a,title:t,onClick:n},Oo.a.createElement(ia.b,{icon:e}))}}Object(yo.a)(la,"defaultProps",{className:"",icon:"",title:"",onClick:Ao.a.noop});var ca=o(28),sa=o(58),da=o.n(sa);function pa(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ua(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?pa(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):pa(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class ba extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"renderThumbs",e=>{let{style:t}=e,o=Object(ca.a)(e,["style"]);return Oo.a.createElement("div",Object(ta.a)({},o,{style:ua({},t,{borderRadius:"inherit",backgroundColor:"#3f4652"})}))})}render(){const e=this.props,{headerText:t,renderExtraHeader:o,children:n}=e,a=Object(ca.a)(e,["headerText","renderExtraHeader","children"]);return Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement("div",{className:"brz-ed-sidebar__header"},Oo.a.createElement("h3",{className:"brz-h3 brz-ed-sidebar__header__title"},t),"function"==typeof o&&o()),Oo.a.createElement("div",{className:"brz-ed-sidebar__main"},n&&Oo.a.createElement(da.a,{renderThumbHorizontal:this.renderThumbs,renderThumbVertical:this.renderThumbs},Oo.a.cloneElement(n,a))))}}Object(yo.a)(ba,"defaultProps",{headerText:""});var ha=o(75);function ma(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ga(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ma(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ma(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const va={transition:"transform ".concat(150,"ms linear"),transform:"translate3d(-100%, 0, 0)"},ya={entering:{transform:"translate3d(-100%, 0, 0)"},entered:{transform:"translate3d(0, 0, 0)"}};var fa=({in:e,children:t})=>Oo.a.createElement(ha.Transition,{in:e,timeout:150},o=>Oo.a.createElement("div",{className:"brz-ed-sidebar__content ".concat(e?"active":""),style:ga({},va,{},ya[o])},t));class Oa extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"onMouseDown",()=>{window.parent.document.addEventListener("mouseup",this.onMouseUp),window.parent.document.querySelector("#brz-ed-iframe").style.pointerEvents="none"}),Object(yo.a)(this,"onMouseUp",()=>{window.parent.document.removeEventListener("mouseup",this.onMouseUp),window.parent.document.querySelector("#brz-ed-iframe").style.removeProperty("pointer-events")})}componentDidMount(){So.a.findDOMNode(this).addEventListener("mousedown",this.onMouseDown)}render(){return Oo.a.Children.only(this.props.children)}}var Ca=o(38),Sa=o(43),xa=o(137),ja=o.n(xa),Ba=o(173);const Pa=Ao.a.extend({},Ba.EventEmitter.prototype,{off(e,t){this.removeListener(e,t)}});Pa.setMaxListeners(1/0);var wa=Pa;const Ta={start:["mousedown"],move:["mousemove"],end:["mouseup"]};function za(e,t){for(;e;){if(t(e))return e;e=e.parentElement}}function ka(e){return Array.prototype.indexOf.call(e.parentNode.children,e)}function Ea(e){let t=0;for(;e=e.parentElement;)t++;return t}function Ha(e,...t){t.filter(String).forEach(t=>e.classList.add(t))}function _a(e,...t){t.forEach(t=>e.classList.remove(t))}function Ra(e,t,o,n){const a=o-e,r=n-t;return Math.sqrt(a*a+r*r)}function Ma(e,t,o,n){const a=t<n,r=e<o;return{isAbove:a,isBelow:!a,isLeft:r,isRight:!r}}function Ia(e,t,o){return e>=o.left&&e<=o.right&&t>=o.top&&t<=o.bottom}function Fa(e){return{x:e.left+.5*(e.right-e.left),y:e.top+.5*(e.bottom-e.top)}}function Na(e,t,o){return e<t?t:e>o?o:e}const La={acceptElements:[],isGrid:!1,blindZone:null,chosenClass:"sortable-chosen",receiverClass:"sortable-receiver",hoveredClass:"sortable-hovered",hoveredClassTop:"sortable-hovered-top",hoveredClassBottom:"sortable-hovered-bottom",hoveredClassLeft:"sortable-hovered-left",hoveredClassRight:"sortable-hovered-right",helperClass:"sortable-helper",placeholderClass:"sortable-placeholder",cancelClass:"sortable-cancel",distance:5,onBeforeStart:null,onStart:null,onSort:null,onEnd:null};let Wa={dragInProgress:!1},Va=[];var Da=class{constructor(e,t){this.options=t;for(let e in La)e in this.options||(this.options[e]=La[e]);this.el=e,this.document=this.el.ownerDocument||document;let o=0;za(this.el,e=>{e.hasAttribute("data-sortable-zindex")&&(o+=Number(e.getAttribute("data-sortable-zindex")))}),this.el.sortableInfo={depth:Ea(this.el),zIndex:o,isGrid:this.options.isGrid,acceptElements:this.options.acceptElements||null},this.dragInfo={sourceSortable:null,sourceElement:null,receiverSortables:null,sourceElementIndex:null,targetSortable:null,targetElement:null,targetElementIndex:null,originalTouch:null},this.helper=this.document.createElement("div"),this.helper.className=this.options.helperClass,this.helper.style.position="fixed",this.helper.style.zIndex=1e6,this.helper.style.top=0,this.helper.style.left=0,this.helper.style["will-change"]="transform",this.handleContainerStart=this.handleContainerStart.bind(this),this.handlePendingMove=this.handlePendingMove.bind(this),this.handlePendingEnd=this.handlePendingEnd.bind(this),this.handleSortMove=this.handleSortMove.bind(this),this.handleSortEnd=this.handleSortEnd.bind(this),this.registerSortable(),this.attachContainerEvents()}destroy(){this.detachContainerEvents(),this.unregisterSortable()}registerSortable(){Va.push(this.el)}unregisterSortable(){const e=Va.indexOf(this.el);Va.splice(e,1)}handleContainerStart(e){if(Wa.dragInProgress)return;if(0!==e.button)return;const{distance:t,cancelClass:o,onBeforeStart:n}=this.options;if(za(e.target,e=>(function(e,t){return e.classList.contains(t)})(e,o)))return;const a=za(e.target,e=>e.hasAttribute("data-sortable-element"));if(a){if(a.hasAttribute("data-sortable-use-handle")){if(!za(e.target,e=>e.hasAttribute("data-sortable-handle")))return}if(!t)throw Error("Not implemented yet. No distance");if(n){const e={defaultPrevented:!1,preventDefault(){this.defaultPrevented=!0}};if(n(e),e.defaultPrevented)return}Wa.dragInProgress=!0,this.dragInfo.sourceSortable=this.el,this.dragInfo.sourceElement=a,this.dragInfo.sourceElementIndex=ka(a),this.dragInfo.originalTouch={clientX:e.clientX,clientY:e.clientY},this.attachPendingEvents()}}handlePendingMove(e){const{distance:t}=this.options,{originalTouch:o}=this.dragInfo;Ra(o.clientX,o.clientY,e.clientX,e.clientY)>t&&(this.detachPendingEvents(),this.handleSortStart(e))}handlePendingEnd(){this.detachPendingEvents(),this.resetDragInfo(),this.resetGlobalState()}handleSortStart(e){const{chosenClass:t,receiverClass:o,onStart:n}=this.options;this.addHelper(e),this.dragInfo.receiverSortables=this.findReceiverSortables(),this.dragInfo.receiverSortables.forEach(e=>Ha(e,o)),Ha(this.dragInfo.sourceElement,t),n&&n(),this.attachSortEvents()}handleSortMove(e){this.updateHelperPosition(e),this.updateDragInfo(e)}handleSortEnd(){const{onSort:e,onEnd:t}=this.options,{sourceSortable:o,sourceElement:n,sourceElementIndex:a,targetSortable:r,targetElement:i,targetElementIndex:l}=this.dragInfo;if(this.detachSortEvents(),this.resetDragInfoClasses(),this.removeHelper(),this.resetDragInfo(),this.resetGlobalState(),e&&i&&null!==l){const t=n.getAttribute("data-sortable-type");e({from:{sortableNode:o,elementNode:n,elementIndex:a,elementType:t},to:{sortableNode:r,elementIndex:l}})}t&&t()}addHelper(e){this.document.body.appendChild(this.helper),this.helperRect=this.helper.getBoundingClientRect(),this.updateHelperPosition(e)}updateHelperPosition(e){const t=e.clientX-this.helperRect.width/2,o=e.clientY-this.helperRect.height/2;this.helper.style.transform="translate(".concat(t,"px,").concat(o,"px)")}removeHelper(){this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper)}updateDragInfo(e){const{hoveredClass:t,hoveredClassTop:o,hoveredClassBottom:n,hoveredClassLeft:a,hoveredClassRight:r,blindZone:i}=this.options,{clientX:l,clientY:c}=e;if(this.dragInfo.targetSortable=null,this.dragInfo.targetElement&&(_a(this.dragInfo.targetElement,t,o,n,a,r),this.dragInfo.targetElement.previousElementSibling&&_a(this.dragInfo.targetElement.previousElementSibling,t,o,n)),this.dragInfo.targetElement=null,this.dragInfo.targetElementIndex=null,i){if(Ia(l,c,i))return}const s=this.findClosestSortable(l,c);if(s){if(this.dragInfo.sourceElement.contains(s))return;const i=this.findClosestNode(l,c,s);if(i===this.dragInfo.sourceElement)return;if(this.dragInfo.targetSortable=s,this.dragInfo.targetElement=i,this.dragInfo.targetElementIndex=0,i){const l=i.getBoundingClientRect(),{x:c,y:d}=Fa(l),{isAbove:p,isLeft:u}=Ma(e.clientX,e.clientY,c,d),b=s.sortableInfo.isGrid,h=b?u:p;this.dragInfo.targetElementIndex=ka(i)+(h?0:1),this.dragInfo.sourceSortable===this.dragInfo.targetSortable&&this.dragInfo.targetElementIndex>this.dragInfo.sourceElementIndex&&(this.dragInfo.targetElementIndex-=1);let m=this.dragInfo.targetElement,g="";if(b)g=u?a:r;else if(p){const e=m.previousElementSibling;e&&e!==this.dragInfo.sourceElement?(m=e,g=n):g=o}else g=n;Ha(m,t,g)}}}resetDragInfoClasses(){const{receiverClass:e,chosenClass:t,hoveredClass:o,hoveredClassTop:n,hoveredClassBottom:a,hoveredClassLeft:r,hoveredClassRight:i}=this.options,{sourceElement:l,targetElement:c,receiverSortables:s}=this.dragInfo;s.forEach(t=>_a(t,e)),_a(l,t),c&&(_a(c,o,n,a,r,i),c.previousElementSibling&&_a(c.previousElementSibling,o,n,a))}resetDragInfo(){this.dragInfo={}}findReceiverSortables(){const{sourceSortable:e,sourceElement:t}=this.dragInfo,o=t.getAttribute("data-sortable-type");return Va.filter(n=>{if("true"===n.dataset.sortableDisabled||n.closest("[data-sortable-disabled='true']"))return!1;if("function"==typeof n.sortableInfo.acceptElements){const a={sortableNode:e,elementNode:t,elementType:o},r={sortableNode:n};return n.sortableInfo.acceptElements(a,r)}return"*"===n.sortableInfo.acceptElements||function(e){return Array.isArray(e)}(n.sortableInfo.acceptElements)&&-1!==n.sortableInfo.acceptElements.indexOf(o)})}findClosestSortable(e,t){return this.dragInfo.receiverSortables.reduce((o,n)=>{const a=n.getBoundingClientRect();if(Ia(e,t,a)){const e=n.sortableInfo.zIndex,t=n.sortableInfo.depth;if(e>o.zIndex||e===o.zIndex&&t>o.depth)return{node:n,depth:t,zIndex:e}}return o},{node:null,depth:-1,zIndex:-1}).node}findClosestNode(e,t,o){const n=(a=o.children,Array.from(a));var a;return 0===n.length?null:1===n.length?n[0]:n.reduce((o,n)=>{const a=n.getBoundingClientRect(),r=Na(e,a.left,a.right),i=Na(t,a.top,a.bottom),l=Ra(e,t,r,i);return l<o.distance?{node:n,distance:l}:o},{node:null,distance:1/0}).node}getPlaceholderIndex(){if(!this.placeholder.parentNode)return null;const{sourceSortable:e,sourceElementIndex:t,targetSortable:o}=this.dragInfo,n=ka(this.placeholder);return e!==o?n:n>t?n-1:n}updatePlaceholder(e){const{targetSortable:t,targetElement:o}=this.dragInfo;if(t&&o){const n=t.sortableInfo.isGrid,a=o.getBoundingClientRect(),{x:r,y:i}=Fa(a),{isAbove:l,isLeft:c}=Ma(e.clientX,e.clientY,r,i),s=(n?c:l)?o:o.nextSibling;t.insertBefore(this.placeholder,s)}else this.removePlaceholder()}removePlaceholder(){this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder)}resetGlobalState(){Wa.dragInProgress=!1}attachContainerEvents(){Ta.start.forEach(e=>this.el.addEventListener(e,this.handleContainerStart,!1))}detachContainerEvents(){Ta.start.forEach(e=>this.el.removeEventListener(e,this.handleContainerStart,!1))}attachPendingEvents(){Ta.move.forEach(e=>this.document.addEventListener(e,this.handlePendingMove,!1)),Ta.end.forEach(e=>this.document.addEventListener(e,this.handlePendingEnd,!1))}detachPendingEvents(){Ta.move.forEach(e=>this.document.removeEventListener(e,this.handlePendingMove,!1)),Ta.end.forEach(e=>this.document.removeEventListener(e,this.handlePendingEnd,!1))}attachSortEvents(){Ta.move.forEach(e=>this.document.addEventListener(e,this.handleSortMove,!1)),Ta.end.forEach(e=>this.document.addEventListener(e,this.handleSortEnd,!1))}detachSortEvents(){Ta.move.forEach(e=>this.document.removeEventListener(e,this.handleSortMove,!1)),Ta.end.forEach(e=>this.document.removeEventListener(e,this.handleSortEnd,!1))}},Aa=o(15);class Ga extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleEmptyClick",()=>{Object(Lo.b)().dispatch(Object(Sa.c)("leftSidebar",{isOpen:!0,drawerContentType:"addElements"}))})}componentDidMount(){const{acceptElements:e,isGrid:t,blindZone:o,onStart:n,onSort:a,onEnd:r}=this.props,i=Object(Co.findDOMNode)(this);this.plugin=new Da(i,{acceptElements:e,isGrid:t,blindZone:o,cancelClass:"brz-ed-dd-cancel",onBeforeStart(e){const{ui:{deviceMode:t}}=Object(Lo.b)().getState();"mobile"!==t&&"tablet"!==t||e.preventDefault()},onStart(){document.body.classList.add("brz-ed-sorting"),requestAnimationFrame(Aa.d),n()},onEnd(){document.body.classList.remove("brz-ed-sorting"),r()},onSort:a})}componentWillUnmount(){this.plugin.destroy()}render(){const{children:e,type:t,path:o,disabled:n}=this.props;return e?Oo.a.cloneElement(Oo.a.Children.only(e),{"data-sortable-type":t,"data-sortable-path":o.join("."),"data-sortable-disabled":n}):Oo.a.createElement("div",{className:"brz-ed-sortable--empty","data-sortable-type":t,"data-sortable-path":o.join("."),"data-sortable-disabled":n},Oo.a.createElement("div",{className:"brz-ed-border__sortable brz-ed-border__inner brz-ed-border--no-space brz-ed-border--grey brz-ed-border--dotted"}),Oo.a.createElement("div",{className:"brz-ed-container-trigger brz-ed-container-trigger--small",onClick:this.handleEmptyClick}))}}Object(yo.a)(Ga,"defaultProps",{path:[],type:"",acceptElements:[],isGrid:!1,blindZone:null,disabled:!1,onSort:e=>{const{from:t,to:o}=e,n=t.sortableNode.getAttribute("data-sortable-path").split("."),a=t.sortableNode.getAttribute("data-sortable-type"),r=[...n,String(t.elementIndex)],i=o.sortableNode.getAttribute("data-sortable-path").split("."),l=o.sortableNode.getAttribute("data-sortable-type"),c=[...i,String(o.elementIndex)];Ao.a.isEqual(r,c)||wa.emit("dnd.sort",{from:{containerPath:n,containerType:a,itemIndex:t.elementIndex,itemPath:r,itemType:t.elementType},to:{containerPath:i,containerType:l,itemIndex:o.elementIndex,itemPath:c}})},onStart:Ao.a.noop,onEnd:Ao.a.noop});var Ua=Object(Ca.c)({allow:["admin"],component:Ga,fallbackRender:({children:e})=>e});function Ka(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class qa extends Oo.a.Component{constructor(e){if(super(e),!this.props.type)throw new Error("SortableElement must receive a non-empty type")}render(){const{children:e,type:t,subtype:o,useHandle:n}=this.props;let a=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ka(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ka(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({"data-sortable-element":!0,"data-sortable-type":t},o?{"data-sortable-subtype":o}:{});return n&&(a["data-sortable-use-handle"]=!0),Oo.a.cloneElement(Oo.a.Children.only(e),a)}}Object(yo.a)(qa,"defaultProps",{type:"",subtype:"",useHandle:!1});var Ya=qa,Xa=o(25);function Za(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ja(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Za(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Za(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function $a(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}const Qa={left:0,right:328,top:0,bottom:1/0};class er extends fo.Component{constructor(e){super(e),Object(yo.a)(this,"handleSortableSort",(e,t)=>{const{from:o,to:n}=e,{resolve:a}=t[o.elementIndex],r=Object(Xa.k)(a),i=n.sortableNode.getAttribute("data-sortable-path").split("."),l=n.sortableNode.getAttribute("data-sortable-type"),c=[...i,String(n.elementIndex)];wa.emit("dnd.sort",{from:{itemData:r,itemType:"addable"},to:{containerPath:i,containerType:l,itemIndex:n.elementIndex,itemPath:c}})}),Object(yo.a)(this,"handleDisabledElementsChange",e=>{const{disabledElements:t}=this.state;if(t[e]){const{[e]:o}=t,n=Object(ca.a)(t,[e].map($a));this.setState({disabledElements:n})}else this.setState({disabledElements:Ja({},t,{[e]:!0})})});const t=e.disabledElements.reduce((e,t)=>Ja({},e,{[t]:!0}),{});this.state={disabledElements:t,inputValue:""}}componentDidUpdate(e){e.isEditMode!==this.props.isEditMode&&this.setState({inputValue:""}),e.isEditMode&&!this.props.isEditMode&&this.props.onElementsChange(Object.keys(this.state.disabledElements))}getFilteredShortcodes(e){const{isEditMode:t}=this.props,{disabledElements:o,inputValue:n}=this.state,a=e.filter(e=>t||!t&&!o[e.id]);return new ja.a(a,["title"]).search(n)}renderIcon(e,t){return Oo.a.createElement(fo.Fragment,null,Oo.a.createElement("div",{className:"brz-ed-sidebar__add-elements__icon"},Oo.a.createElement(ia.b,{icon:t})),Oo.a.createElement("span",{className:"brz-span brz-ed-sidebar__add-elements__text"},e),Oo.a.createElement("div",{className:"brz-ed-sidebar__add-elements__tooltip"},e))}renderIcons(e){const{disabledElements:t}=this.state,{isEditMode:o}=this.props;return e.map(({id:e,title:n,icon:a})=>{const r=this.renderIcon(n,a);return o?Oo.a.createElement("div",{className:"brz-ed-sidebar__add-elements__item brz-ed-sidebar__add-elements__item-edit",key:e},Oo.a.createElement("div",{className:ra()("brz-ed-sidebar__edit",{"brz-ed-sidebar__edit--checked":!t[e]}),onClick:()=>this.handleDisabledElementsChange(e)},Oo.a.createElement("span",{className:"brz-ed-sidebar__checked"},Oo.a.createElement(ia.b,{icon:"nc-check-circle"}))),r):Oo.a.createElement(Ya,{key:e,type:"addable",subtype:e},Oo.a.createElement("div",{className:"brz-ed-sidebar__add-elements__item"},r))})}render(){const{inputValue:e}=this.state,t=zo.a.getShortcodes();return Oo.a.createElement(fo.Fragment,null,Oo.a.createElement("div",{className:"brz-ed-sidebar__search"},Oo.a.createElement("input",{type:"text",className:"brz-input",autoFocus:!0,placeholder:Object(an.a)("Search element"),value:e,onChange:({target:{value:e}})=>this.setState({inputValue:e})}),Oo.a.createElement("div",{className:"brz-ed-sidebar__button-search"},Oo.a.createElement(ia.b,{icon:"nc-search"}))),Object.entries(t).filter(([e,t])=>this.getFilteredShortcodes(t).length>0).map(([e,t],o)=>{const n=this.getFilteredShortcodes(t),a=Ao.a.sortBy(n.filter(e=>!e.hidden),e=>e.position||10);return Oo.a.createElement(fo.Fragment,{key:e},0!==o&&Oo.a.createElement("div",{className:"brz-ed-sidebar__add-elements--separator-title"},e),Oo.a.createElement(or,{shortcodes:a,onChange:this.handleSortableSort},Oo.a.createElement("div",{className:"brz-ed-sidebar__add-elements brz-ed-sidebar__add-elements--".concat(e)},this.renderIcons(a))))}))}}class tr extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{isEditMode:!1}),Object(yo.a)(this,"renderExtraHeader",()=>{const{isEditMode:e}=this.state;return Oo.a.createElement("div",{className:"brz-ed-sidebar__edit-button",onClick:()=>this.setState({isEditMode:!e})},e?Object(an.a)("Done"):Object(an.a)("Edit"))})}render(){const{children:e}=this.props,{isEditMode:t}=this.state;return Oo.a.cloneElement(e,{renderExtraHeader:this.renderExtraHeader,isEditMode:t})}}class or extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleChange",e=>{const{shortcodes:t,onChange:o}=this.props;o(e,t)})}render(){return Oo.a.createElement(Ua,{type:"addable",blindZone:Qa,onSort:this.handleChange},this.props.children)}}const nr={id:"addElements",icon:"nc-add",drawerTitle:Object(an.a)("Add Elements"),showInDeviceModes:["desktop"],drawerComponent:Object(xo.b)(e=>({disabledElements:Object(nn.d)(e)}),e=>({onElementsChange:t=>e(Object(Uo.W)(t))}))(er),wrapperHeaderComponent:tr};var ar=o(176),rr=o(81),ir=o(30);class lr extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{blockData:this.props.blockData,imageFetched:!1,showSpinner:!0})}componentDidMount(){this.mounted=!0,this.cancelCurrentPreload=this.preloadThumbnail(this.state.blockData)}componentDidUpdate(){this.props.blockData!==this.state.blockData&&(this.cancelCurrentPreload(),this.cancelCurrentPreload=this.preloadThumbnail(this.props.blockData))}componentWillUnmount(){this.mounted=!1,this.cancelCurrentPreload(),clearTimeout(this.showSpinnerTimeout)}preloadThumbnail(e){let t=!1;const{url:o}=Object(rr.b)(e);return Object(ir.e)(o).then(()=>{this.mounted&&!t&&this.setState({imageFetched:!0,showSpinner:!1,blockData:e})}),()=>t=!0}render(){const{blockData:e,imageFetched:t,showSpinner:o}=this.state,{url:n,width:a,height:r}=Object(rr.b)(e),i={paddingTop:"".concat(175*r/a,"px")},l=o?{}:{display:"none"};return Oo.a.createElement("div",{className:"brz-ed-sidebar-block-image",style:i},Oo.a.createElement("div",{className:"brz-ed-sidebar-block-image-loading",style:l},Oo.a.createElement(ia.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),t&&Oo.a.createElement("img",{className:"brz-img",src:n}),Oo.a.createElement("div",{className:"brz-ed-sidebar-block-layout"},Oo.a.createElement("span",{className:"brz-span brz-ed-sidebar-block-drag"},Object(an.a)("Drag to reorder"))))}}Object(yo.a)(lr,"defaultProps",{blockData:null,spinnerDelay:300});const cr=Object(ar.c)(({item:e})=>Oo.a.createElement(lr,{blockData:e})),sr=Object(ar.b)(({item:e,onRemove:t})=>Oo.a.createElement("div",{className:"brz-ed-sidebar-block-item"},Oo.a.createElement(cr,{item:e}),Oo.a.createElement("div",{className:"brz-ed-sidebar-block-remove",onClick:t},Oo.a.createElement(ia.b,{icon:"nc-circle-remove-2",className:"brz-ed-bar-icon"})))),dr=Object(ar.a)(({isSorting:e,items:t,innerRef:o,onItemRemove:n})=>{const a=[];for(let e=0;e<t.length;e++){const o=t[e];"unlisted"!==o.value._blockVisibility&&a.push(Oo.a.createElement(sr,{key:o.value._id,item:o,index:e,onRemove:()=>n(e)}))}const r=ra()("brz-ed-sidebar-sortable",{"brz-ed-sidebar-sortable--sorting":e});return Oo.a.createElement("div",{ref:o,className:r},a)});class pr extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{blocks:[],isSorting:!1}),Object(yo.a)(this,"content",Oo.a.createRef()),Object(yo.a)(this,"handleBeforeSortStart",()=>{this.setState({isSorting:!0})}),Object(yo.a)(this,"getContentWindow",()=>window.parent),Object(yo.a)(this,"getContainer",()=>{const e=this.content.current;return e&&e.parentElement}),Object(yo.a)(this,"handleSortEnd",({oldIndex:e,newIndex:t})=>{e!==t?this.setState(o=>{const{blocks:n}=o,a=n[e];return{blocks:Object(kn.insert)(Object(kn.removeAt)(n,e),t,a),optimistic:!0,isSorting:!1}},()=>{setTimeout(()=>{this.props.dispatch(Object(Uo.P)({oldIndex:e,newIndex:t}))},100)}):this.setState({isSorting:!1})}),Object(yo.a)(this,"handleItemRemove",e=>{this.props.dispatch(Object(Uo.O)({index:e}))})}static getDerivedStateFromProps(e,t){return t.optimistic?{blocks:t.blocks,optimistic:!1}:e.page.data.items!==t.blocks?{blocks:e.page.data.items||[]}:null}render(){const{blocks:e,isSorting:t}=this.state;return Oo.a.createElement(dr,{helperClass:"brz-ed-sidebar-block-item-helper",isSorting:t,items:e,distance:5,useDragHandle:!0,innerRef:this.content,contentWindow:this.getContentWindow,getContainer:this.getContainer,onSortStart:this.handleBeforeSortStart,onSortEnd:this.handleSortEnd,onItemRemove:this.handleItemRemove})}}const ur={id:"blocksSortable",icon:"nc-reorder",disabled:Xa.b,drawerTitle:Object(an.a)("Reorder Blocks"),drawerComponent:Object(xo.b)(e=>({page:Object(nn.m)(e)}))(pr)};var br=o(52);const hr=e=>{const t=Bo.a.get("branding");return t?Object.entries(t).reduce((e,[t,o])=>e.replace(new RegExp(t,"ig"),o),e):e};function mr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function gr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?mr(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):mr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class vr extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleCurrentStyleIdChange",e=>{this.props.dispatch(Object(Uo.V)(e))}),Object(yo.a)(this,"handleColorPaletteChange",e=>{const{currentStyle:t,dispatch:o}=this.props;o(Object(Uo.U)(gr({},t,{colorPalette:e})))}),Object(yo.a)(this,"handleFontStylesChange",e=>{const{currentStyle:t,extraFontStyles:o,dispatch:n}=this.props,{fontStyles:a}=t,r=[...a,...o];if(e.length>r.length)n(Object(Uo.Y)(e.filter(e=>"on"===e.deletable)));else for(const o of e)for(const a of r)if(o.id===a.id&&o!==a)return void("off"===o.deletable?n(Object(Uo.U)(gr({},t,{fontStyles:e.filter(e=>"off"===e.deletable)}))):n(Object(Uo.Y)(e.filter(e=>"on"===e.deletable))))})}render(){const{styles:e,currentStyle:{id:t,colorPalette:o,fontStyles:n},extraFontStyles:a}=this.props,r=[{id:"currentStyle",label:"Current Style",type:"select",choices:e.map(e=>({title:hr(e.title),value:e.id})),display:"block",value:t,onChange:this.handleCurrentStyleIdChange},{id:"colorPalette",type:"colorPaletteEditor",attr:{className:"brz-ed-sidebar-option__color-palette-editor"},value:o,onChange:this.handleColorPaletteChange},{id:"fontStyles",type:"fontStyleEditor",value:[...n,...a],onChange:this.handleFontStylesChange}];return Oo.a.createElement("div",{className:"brz-ed-sidebar__styling"},Oo.a.createElement(br.a,{className:"brz-ed-sidebar-options",data:r}))}}const yr={id:"styling",icon:"nc-brush",drawerTitle:Object(an.a)("Styling"),drawerComponent:Object(xo.b)(e=>({styles:Object(nn.A)(e),currentStyle:Object(nn.b)(e),extraFontStyles:Object(nn.f)(e)}),e=>({dispatch:e}))(vr)};var fr=o(37);const Or=()=>Object(Lo.b)().getState().ui.deviceMode,Cr={id:"mobile",type:"link",label:Object(an.a)("Mobile"),icon:"nc-phone",extraProps:()=>({className:ra()({"brz-ed-sidebar__popover__item--active":"mobile"===Or()}),onClick:()=>{"mobile"!==Or()&&(Object(Lo.b)().dispatch(Object(Uo.Q)("mobile")),setTimeout(()=>{wa.emit("deviceMode.change","mobile")},300))}})},Sr={id:"tablet",type:"link",label:Object(an.a)("Tablet"),icon:"nc-tablet",extraProps:()=>({className:ra()({"brz-ed-sidebar__popover__item--active":"tablet"===Or()}),onClick:()=>{"tablet"!==Or()&&(Object(Lo.b)().dispatch(Object(Uo.Q)("tablet")),setTimeout(()=>{wa.emit("deviceMode.change","tablet")},300))}})},xr={id:"desktop",type:"link",label:Object(an.a)("Desktop"),icon:"nc-desktop",extraProps:()=>({className:ra()({"brz-ed-sidebar__popover__item--active":"desktop"===Or()}),onClick:()=>{"desktop"!==Or()&&(Object(Lo.b)().dispatch(Object(Uo.Q)("desktop")),setTimeout(()=>{wa.emit("deviceMode.change","desktop")},300))}})},jr=["ctrl+plus","cmd+plus","right_cmd+plus","ctrl+right_plus","cmd+right_plus","right_cmd+right_plus"],Br=["ctrl+minus","cmd+minus","right_cmd+minus","ctrl+right_minus","cmd+right_minus","right_cmd+right_minus"];function Pr(e,{keyName:t}){e.preventDefault();const{options:o}=wr;let n=o.findIndex(({id:e})=>e===(()=>Object(Lo.b)().getState().ui.deviceMode)());jr.includes(t)?n--:n++,n===o.length?n=0:n<0&&(n=o.length-1),Object(Lo.b)().dispatch(Object(Uo.Q)(o[n].id)),setTimeout(()=>{wa.emit("deviceMode.change",o[n].id)},300)}const wr={id:"deviceModes",type:"popover",title:Object(an.a)("Mobile view"),className:"brz-ed-sidebar__popover--deviceMode",options:[xr,Sr,Cr],render:e=>Oo.a.createElement(Oo.a.Fragment,null,e,Oo.a.createElement(fr.a,{keyNames:[...jr,...Br],id:"key-helper-device-modes",onKeyDown:Pr})),extraProps:()=>{return{icon:"mobile"===Or()?"nc-phone":"tablet"===Or()?"nc-tablet":"nc-desktop"}}},Tr=Bo.a.get("urls"),zr=Bo.a.get("wp"),kr=Boolean(Bo.a.get("pro"));var Er={top:[nr,ur,yr],bottom:[wr,{id:"popover",icon:"nc-page",title:Object(an.a)("Page"),type:"popover",disabled:Xa.b,options:[{type:"wpTemplate",label:Object(an.a)("Page Template"),roles:["admin"]},{type:"wpFeatureImage",label:Object(an.a)("Featured Image"),disabled:zr.isTemplate}]},{id:"popover",icon:"nc-menu",title:Object(an.a)("More"),type:"popover",options:[{type:"link",icon:"nc-unlock",linkTarget:"_blank",label:Object(an.a)("Upgrade to Pro"),link:Tr.upgradeToPro,disabled:kr},{type:"link",icon:"nc-bug",linkTarget:"_blank",label:Object(an.a)("Submit an Issue"),link:Tr.support,roles:["admin"]},{type:"link",icon:"nc-info",linkTarget:"_blank",label:Object(an.a)("About Brizy"),link:Tr.about},{type:"link",icon:"nc-alert-circle-que",label:Object(an.a)("Shortcuts"),link:"#",onClick:e=>{e.preventDefault(),$n.a.set("prompt",{prompt:"key-helper"})}},{type:"link",icon:"nc-cog",linkTarget:"_blank",label:Object(an.a)("Plugin Settings"),link:Tr.pluginSettings,roles:["admin"]},{type:"link",icon:"nc-back",label:Object(an.a)("Go to Dashboard"),link:Tr.backToDashboard}]}]};class Hr extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleClick",e=>{const{onClick:t,link:o}=this.props;t(),""===o&&e.preventDefault()})}render(){const{className:e,label:t,link:o,title:n}=this.props,a=ra()("brz-ed-sidebar-bottom__option",e);return Oo.a.createElement("div",{className:a,title:n},Oo.a.createElement("a",{href:o,className:"brz-a brz-ed-sidebar__popover__btn",onClick:this.handleClick},Oo.a.createElement("span",{className:"brz-span"},t)))}}Object(yo.a)(Hr,"defaultProps",{label:"",link:"",title:"",onClick:Ao.a.noop});class _r extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleClick",e=>{const{link:t,meta:o={},onClick:n}=this.props;""!==t&&"#"!==t||!o.popover||o.popover.close(),n(e)})}render(){const{className:e,icon:t,label:o,link:n,linkTarget:a,title:r}=this.props,i=ra()("brz-ed-sidebar-bottom__option",e);let l=Oo.a.createElement(Oo.a.Fragment,null,t&&Oo.a.createElement(ia.b,{icon:t}),o&&Oo.a.createElement("span",{className:"brz-span"},o));return""!==n&&(l=Oo.a.createElement("a",{href:n,target:a,className:"brz-a"},l)),Oo.a.createElement("div",{className:i,title:r,onClick:this.handleClick},l)}}Object(yo.a)(_r,"defaultProps",{className:"",label:"",icon:"",link:"",linkTarget:"",title:"",onClick:Ao.a.noop});class Rr extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{isOpen:!1,isHidden:!1}),Object(yo.a)(this,"handleClick",()=>{if(!this.state.isOpen){const e=Object(Lo.b)();e.getState().ui.leftSidebar.isOpen&&e.dispatch(Object(Sa.c)("leftSidebar",{isOpen:!1})),this.open()}}),Object(yo.a)(this,"handleClickOutside",()=>{this.close()}),Object(yo.a)(this,"open",()=>{const{isOpen:e}=this.state;e||this.setState({isOpen:!0})}),Object(yo.a)(this,"close",()=>{const{isOpen:e}=this.state;e&&this.setState({isOpen:!1})}),Object(yo.a)(this,"show",()=>{const{isHidden:e}=this.state;e&&this.setState({isHidden:!1})}),Object(yo.a)(this,"hide",()=>{const{isHidden:e}=this.state;e||this.setState({isHidden:!0})})}renderOptions(){const{options:e}=this.props,t={popover:{open:this.open,close:this.close,show:this.show,hide:this.hide}};return Oo.a.createElement(Xr,{optionClassName:"brz-ed-sidebar__popover__item",data:e,meta:t})}render(){const{icon:e,clickOutsideExceptions:t,className:o,title:n}=this.props,{isOpen:a,isHidden:r}=this.state,i=ra()("brz-ed-sidebar-bottom__option brz-ed-sidebar__popover",o,{"brz-ed-sidebar__popover__item--active":a}),l=ra()("brz-ed-animated brz-ed-animated--fadeInLeft brz-ed-sidebar__popover-content",{"brz-hidden":r}),c=[...t,".supports-drag-drop"];return Oo.a.createElement(oa.a,{onClickOutside:this.handleClickOutside,exceptions:c},Oo.a.createElement("div",{className:i,title:n,onClick:this.handleClick},Oo.a.createElement(ia.b,{icon:e}),this.state.isOpen&&Oo.a.createElement("div",{className:l},this.renderOptions())))}}function Mr(e){const{Component:t}=e;return Oo.a.createElement(t,null)}Object(yo.a)(Rr,"defaultProps",{icon:"",options:[],clickOutsideExceptions:[],title:""}),Mr.defaultProps={Component:()=>{}};var Ir={button:Hr,link:_r,popover:Rr,custom:Mr},Fr=o(4),Nr=o.n(Fr),Lr=o(40),Wr=o(32);class Vr extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleTemplateChange",e=>{const t=window.parent||window,{changeTemplate:o}=Bo.a.get("urls");t.location.href="".concat(o,"&template=").concat(e)})}renderOptions(){const{templates:e}=Bo.a.get("wp");return e.map((e,t)=>Oo.a.createElement(Wr.a,{key:t,value:e.id},e.title))}render(){const{label:e,className:t,currentTemplate:o}=this.props,n=ra()("brz-ed-sidebar-bottom__option brz-ed-sidebar__wp-template",t);return Oo.a.createElement("div",{className:n},e&&Oo.a.createElement("div",{className:"brz-ed-option__label"},e),Oo.a.createElement(Lr.a,{defaultValue:o,className:"brz-control__select--dark",maxItems:"6",itemHeight:"30",onChange:this.handleTemplateChange},this.renderOptions()))}}Object(yo.a)(Vr,"propTypes",{label:Nr.a.string,className:Nr.a.string,currentTemplate:Nr.a.string}),Object(yo.a)(Vr,"defaultProps",{label:"",className:"",currentTemplate:""});function Dr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Ar=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Dr(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Dr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},Ir,{wpTemplate:Object(xo.b)(e=>({currentTemplate:e.page.template}),null)(Vr),wpFeatureImage:o(388).a});function Gr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class Ur extends Oo.a.Component{render(){const{data:e,meta:t,className:o}=this.props,n=Ar[e.type],a="object"==typeof e.extraProps?e.extraProps:"function"==typeof e.extraProps?e.extraProps():{},r=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Gr(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Gr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},e,{},a,{meta:t,className:ra()("brz-ed-sidebar__control__item",o,e.className,a.className)}),i=Oo.a.createElement(n,r);return r.render?r.render(i):i}}Object(yo.a)(Ur,"defaultProps",{className:"",data:{}});var Kr=Ur;const qr=({disabled:e,roles:t})=>!0!==e&&!(Array.isArray(t)&&!t.includes(Object(Ca.b)()));class Yr extends Oo.a.Component{render(){const{className:e,optionClassName:t,data:o,meta:n}=this.props,a=ra()("brz-ed-sidebar__control__options",e),r=o.filter(qr).map((e,o)=>Oo.a.createElement(Kr,{key:o,className:t,data:e,meta:n}));return Oo.a.createElement("div",{className:a},r)}}Object(yo.a)(Yr,"defaultProps",{className:"",data:null,meta:{}});var Xr=Yr;const Zr=[...Er.top].reduce((e,t)=>(e[t.id]=t,e),{});class Jr extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"deviceModeChanged",!1),Object(yo.a)(this,"handleClickOutside",()=>{const{drawerContentType:e,onDrawerContentTypeChange:t}=this.props;e&&t(null,!1)})}componentWillReceiveProps(e){const{deviceMode:t}=e,{deviceMode:o}=this.props;this.deviceModeChanged=t!==o}renderIcons(e){const{deviceMode:t,drawerContentType:o,onDrawerContentTypeChange:n}=this.props;return e.filter(e=>"admin"===Object(Ca.b)()&&(!e.showInDeviceModes||e.showInDeviceModes.includes(t))&&!e.disabled).map(e=>{const t=o===e.id?"brz-ed-sidebar__control__item--active":"",a="object"==typeof e.iconProps?e.iconProps:"function"==typeof e.iconProps?e.iconProps({activeClass:"brz-ed-sidebar__control__item--active"}):{};return Oo.a.createElement(la,Object(ta.a)({key:e.id,className:t,icon:e.icon,title:e.drawerTitle,onClick:()=>n(e.id,!0)},a))})}render(){const{drawerContentType:e}=this.props,t=this.renderIcons(Er.top),o=Boolean(e&&!this.deviceModeChanged);let n="",a=null,r=({children:e})=>e;if(o){const t=Zr[e];n=t.drawerTitle,a=t.drawerComponent,t.wrapperHeaderComponent&&(r=t.wrapperHeaderComponent)}return Oo.a.createElement(oa.a,{onClickOutside:this.handleClickOutside,exceptions:[".brz-ed-sortable--empty",".brz-ed-toolbar",".brz-ed-fixed-bottom-panel"]},Oo.a.createElement(Oa,null,Oo.a.createElement("div",{id:"brz-ed-sidebar",className:"brz-ed-sidebar"},Oo.a.createElement(na,{className:"brz-ed-sidebar__control"},t),Oo.a.createElement(Xr,{className:"brz-ed-sidebar__control--bottom",data:Er.bottom}),Oo.a.createElement(fa,{in:o},Oo.a.createElement(r,null,Oo.a.createElement(ba,{headerText:n},a&&Oo.a.createElement(a,null)))))))}}var $r=Object(xo.b)(e=>({deviceMode:e.ui.deviceMode,drawerContentType:e.ui.leftSidebar.drawerContentType}),e=>({onDrawerContentTypeChange:(t,o)=>e(Object(Sa.c)("leftSidebar",{drawerContentType:t,isOpen:o}))}))(Jr);class Qr extends Oo.a.Component{renderHistoryItems({canUndo:e,canRedo:t,triggerUndo:o,triggerRedo:n}){const a=ra()("brz-li brz-ed-fixed-bottom-panel__item",{active:e}),r=ra()("brz-li brz-ed-fixed-bottom-panel__item",{active:t});return Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement("li",{className:a,title:"Undo (CTRL+Z)",onClick:o},Oo.a.createElement(ia.b,{icon:"nc-undo"})),Oo.a.createElement("li",{className:r,title:"Redo (CTRL+SHIFT+Z)",onClick:n},Oo.a.createElement(ia.b,{icon:"nc-redo"})))}render(){return Oo.a.createElement(Ko.b,{dispatch:this.props.dispatch,render:this.renderHistoryItems})}}class ei extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{loading:!1}),Object(yo.a)(this,"publish",e=>{e.preventDefault(),this.state.loading||this.setState({loading:!0},()=>{this.props.dispatch(Object(Uo.N)()).then(()=>{this.setState({loading:!1})}).catch(e=>{this.setState({loading:!1})})})})}render(){const{page:e}=this.props,{loading:t}=this.state,o="publish"===e.status?Object(an.a)("Update"):Object(an.a)("Publish");return Oo.a.createElement(fo.Fragment,null,Oo.a.createElement("li",{className:"brz-li brz-ed-fixed-bottom-panel__item brz-ed-fixed-bottom-panel__btn"},Oo.a.createElement("span",{className:"brz-span",onClick:this.publish},t?Oo.a.createElement(ia.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):o)),Oo.a.createElement(fr.a,{id:"key-helper-update-page",keyNames:["ctrl+S","cmd+S","right_cmd+S"],onKeyDown:this.publish}))}}var ti=[Object(xo.b)(e=>({showHiddenElements:Object(nn.z)(e)}))((function({showHiddenElements:e,dispatch:t}){const o=e?"nc-eye-17":"nc-eye-ban-18",n=e?Object(an.a)("Hide Hidden Elements"):Object(an.a)("Show Hidden Elements");return Oo.a.createElement("li",{className:"brz-li brz-ed-fixed-bottom-panel__item brz-ed-fixed-bottom-panel__hidden_elements",title:n,onClick:()=>t(Object(Sa.c)("showHiddenElements",!e))},Oo.a.createElement(ia.b,{icon:o}))})),Object(xo.b)(e=>({state:e}),e=>({dispatch:e}))(Qr),()=>{const{site:e,pagePreview:t}=Bo.a.get("urls"),o=Xa.b?e:t;return Oo.a.createElement("li",{className:"brz-li brz-ed-fixed-bottom-panel__item brz-ed-fixed-bottom-panel__preview",title:"Preview"},Oo.a.createElement("a",{href:o,className:"brz-a",target:"_blank",rel:"noopener noreferrer"},Oo.a.createElement(ia.b,{icon:"nc-preview"})))},Object(xo.b)(e=>({page:e.page}),e=>({dispatch:e}))(ei)];function oi(){const e=ti.map((e,t)=>Oo.a.createElement(e,{key:t}));return Oo.a.createElement("div",{className:"brz-ed-fixed-bottom-panel"},Oo.a.createElement("ul",{className:"brz-ul"},e))}class ni extends Oo.a.Component{render(){const{className:e,children:t,onClose:o}=this.props,n=ra()("brz-ed-fixed",e);return Oo.a.createElement("div",{className:n},Oo.a.createElement(fr.a,{keyNames:["esc"],id:"key-helper-prompt-esc",onKeyUp:this.props.onClose}),Oo.a.createElement("div",{className:"brz-ed-fixed-overlay",onClick:o}),Oo.a.createElement("div",{className:"brz-ed-fixed-scroll"},t))}}Object(yo.a)(ni,"defaultProps",{className:"",onClose:Ao.a.noop});var ai=ni,ri=o(467);function ii(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function li(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ii(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ii(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ci=({onScroll:e,forwardedRef:t,style:o,children:n})=>{const a=Object(fo.useCallback)(e=>{t(e?e.view:null)},[]);return Oo.a.createElement(da.a,{ref:a,style:li({},o,{overflow:"hidden"}),onScroll:e},n)},si=Object(fo.forwardRef)((e,t)=>Oo.a.createElement(ci,Object(ta.a)({},e,{forwardedRef:t})));si.displayName="CustomScrollbarsVirtualList";const di=e=>{const t=Object(fo.forwardRef)((t,o)=>{let{style:n}=t,a=Object(ca.a)(t,["style"]);return Oo.a.createElement("div",Object(ta.a)({ref:o,style:li({},n,{paddingLeft:e,paddingTop:e,marginBottom:e})},a))});return t.displayName="InnerElement",t};var pi=e=>{const{height:t,width:o,columnCount:n,columnWidth:a,rowCount:r,rowHeight:i,initialScrollTop:l,renderItem:c,style:s={},gutter:d=0}=e;return Oo.a.createElement(ri.a,{height:t,width:o,columnCount:n,columnWidth:a+d,rowCount:r,rowHeight:i+d,style:s,initialScrollTop:l,outerElementType:si,innerElementType:di(d)},c)};function ui(e,t){switch(t.type){case"wait":if("delay"===e.status)return{status:"waiting"};break;case"resolve":if("delay"===e.status||"waiting"===e.status)return{status:"resolved",value:t.value};break;case"reject":if("delay"===e.status||"waiting"===e.status)return{status:"rejected",reason:t.reason}}return e}function bi({getPromise:e,renderResolved:t,renderRejected:o,renderWaiting:n,delayMs:a=0}){const r=a&&a>0,[i,l]=Object(fo.useReducer)(ui,{status:r?"delay":"waiting"});return Object(fo.useEffect)(()=>{let t,o=!1;return r&&(t=window.setTimeout(()=>{o||l({type:"wait"})},a)),e().then(e=>{o||(clearTimeout(t),l({type:"resolve",value:e}))}).catch(e=>{o||(clearTimeout(t),l({type:"reject",reason:e}))}),()=>{o=!0}},[]),"waiting"===i.status&&n?n():"resolved"===i.status?t(i.value):"rejected"===i.status&&o?o(i.reason):null}var hi=o(389);const mi=[{id:1,title:"Animals/Nature"},{id:2,title:"Arrows"},{id:3,title:"Business/Finance"},{id:4,title:"Clothes/Accessories"},{id:5,title:"Design/Development"},{id:6,title:"Emoticons"},{id:7,title:"Energy/Environment"},{id:8,title:"Files/Folders"},{id:10,title:"Food"},{id:11,title:"Home/Buildings"},{id:12,title:"Healthcare/Medical"},{id:13,title:"Holidays"},{id:14,title:"Loaders"},{id:15,title:"Maps/Location"},{id:16,title:"Multimedia"},{id:18,title:"School/Education"},{id:19,title:"Shopping"},{id:20,title:"Social Media"},{id:21,title:"Sport"},{id:22,title:"Technology"},{id:23,title:"Text Editing"},{id:24,title:"Touch Gestures"},{id:25,title:"Transportation"},{id:26,title:"Travel"},{id:27,title:"User Interface"},{id:28,title:"Users"},{id:29,title:"Weather"}],gi=[{title:"Accessibility",id:1},{title:"Alert",id:2},{title:"Animals",id:3},{title:"Arrows",id:4},{title:"Audio & Video",id:5},{title:"Automotive",id:6},{title:"Autumn",id:7},{title:"Beverage",id:8},{title:"Buildings",id:9},{title:"Business",id:10},{title:"Camping",id:11},{title:"Charity",id:12},{title:"Chat",id:13},{title:"Chess",id:14},{title:"Childhood",id:15},{title:"Clothing",id:16},{title:"Code",id:17},{title:"Communication",id:18},{title:"Computers",id:19},{title:"Construction",id:20},{title:"Currency",id:21},{title:"Date & Time",id:22},{title:"Design",id:23},{title:"Editors",id:24},{title:"Education",id:25},{title:"Emoji",id:26},{title:"Energy",id:27},{title:"Files",id:28},{title:"Finance",id:29},{title:"Fitness",id:30},{title:"Food",id:31},{title:"Fruits & Vegetables",id:32},{title:"Games",id:33},{title:"Tabletop Gaming",id:34},{title:"Genders",id:35},{title:"Halloween",id:36},{title:"Hands",id:37},{title:"Health",id:38},{title:"Holiday",id:39},{title:"Hotel",id:40},{title:"Household",id:41},{title:"Images",id:42},{title:"Interfaces",id:43},{title:"Logistics",id:44},{title:"Maps",id:45},{title:"Maritime",id:46},{title:"Marketing",id:47},{title:"Mathematics",id:48},{title:"Medical",id:49},{title:"Moving",id:50},{title:"Music",id:51},{title:"Objects",id:52},{title:"Payments & Shopping",id:53},{title:"Pharmacy",id:54},{title:"Political",id:55},{title:"Religion",id:56},{title:"Science",id:57},{title:"Science Fiction",id:58},{title:"Security",id:59},{title:"Shapes",id:60},{title:"Shopping",id:61},{title:"Social",id:62},{title:"Spinners",id:63},{title:"Sports",id:64},{title:"Spring",id:65},{title:"Status",id:66},{title:"Summer",id:67},{title:"Toggle",id:68},{title:"Travel",id:69},{title:"Users & People",id:70},{title:"Vehicles",id:71},{title:"Weather",id:72},{title:"Winter",id:73},{title:"Writing",id:74}],vi=[{id:2,name:"fa",title:"FA",icon:"nc-full-cube"}],yi=[{id:0,name:"outline",title:"Outline",icon:"nc-cube"},{id:1,name:"glyph",title:"Glyph",icon:"nc-full-cube"}];var fi=o(45),Oi=o(74);const Ci=Object(fi.b)(e=>e>=0&&e<=2?e:void 0,Math.round,Oi.b);var Si=o(55);const xi=e=>{if(null===e||"object"!=typeof e)return;const t=Si.c(e.title),o=Si.c(e.name),n=Ci(e.type);if(void 0===t||void 0===o||void 0===n)return;const a=Si.c(e.family);return{title:t,name:o,type:n,cat:Object(Fo.f)(e.cat).map(Oi.b).filter(Boolean),family:a}},ji=e=>Object(Fo.f)(null==e?void 0:e.default).map(xi).filter(Boolean),Bi=e=>{switch(e){case 0:return o.e(4).then(o.t.bind(null,680,3)).then(ji);case 1:return o.e(3).then(o.t.bind(null,681,3)).then(ji);case 2:return o.e(2).then(o.t.bind(null,682,3)).then(ji)}},Pi=()=>qo.f?qo.e?[...yi,...vi]:vi:yi,wi=e=>Promise.all(e.map(Bi)).then(Fo.a),Ti=e=>{var t;switch(e.type){case 0:case 1:{const t=Pi()[e.type].name;return"nc-".concat(t," nc-").concat(t,"-").concat(e.name)}case 2:return"".concat(null!==(t=e.family)&&void 0!==t?t:"fa"," fa-").concat(e.name)}},zi=e=>{switch(e){case 0:case 1:return mi;case 2:return gi}};function ki(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ei(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ki(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ki(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Hi=Pi(),_i=Hi.reduce((e,{id:t,name:o})=>(e[t]=o,e),{});class Ri extends fo.Component{constructor(...e){var t;super(...e),Object(yo.a)(this,"state",{typeId:(null!==(t=Hi.find(e=>e.name===this.props.value.type))&&void 0!==t?t:Hi[0]).id,categoryId:"*",search:""}),Object(yo.a)(this,"containerRef",Oo.a.createRef()),Object(yo.a)(this,"onIconClick",e=>{this.props.onClose(),setTimeout(()=>{this.props.onChange(e)},0)})}componentDidMount(){const{templateFonts:e}=Bo.a.get("urls");Object(hi.a)(this.containerRef.current,e)}renderTabs(){const e=Hi.map(e=>Oo.a.createElement("div",{key:e.id,className:ra()("brz-ed-popup-tab-item",{active:e.id===this.state.typeId}),onClick:()=>this.setState({typeId:e.id})},Oo.a.createElement("div",{className:"brz-ed-popup-tab-icon"},Oo.a.createElement(ia.b,{icon:e.icon})),Oo.a.createElement("div",{className:"brz-ed-popup-tab-name"},e.title)));return Oo.a.createElement("div",{className:"brz-ed-popup-header"},Oo.a.createElement("div",{className:"brz-ed-popup-header__tabs"},e),Oo.a.createElement("div",{className:"brz-ed-popup-btn-close",onClick:this.props.onClose}))}renderFilters(){const{categoryId:e,search:t,typeId:o}=this.state,n=[{id:"*",name:"all",title:"All Categories"},...zi(o)];return Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement("div",{className:"brz-ed-popup__categories"},Oo.a.createElement(Lr.a,{className:"brz-ed-popup__select brz-ed-popup__select--block-categories brz-ed-popup-control__select--light",defaultValue:e,maxItems:10,itemHeight:30,onChange:e=>this.setState({categoryId:e})},n.map(({id:e,title:t})=>Oo.a.createElement(Wr.a,{key:e,value:e},t)))),Oo.a.createElement("div",{className:"brz-ed-popup__search"},Oo.a.createElement("input",{type:"text",className:"brz-input brz-ed-popup__input",placeholder:"Enter Search Keyword",onChange:e=>this.setState({search:e.target.value}),value:t}),Oo.a.createElement("div",{className:ra()("brz-ed-popup__search--icon",{active:t.length>0})},Oo.a.createElement(ia.b,{icon:"nc-search"}))))}filterIcons(e){const{typeId:t,categoryId:o,search:n}=this.state,a=new RegExp(n,"i");return e.filter(({type:e,cat:r,title:i})=>t===e&&("*"===o||r.includes(o))&&(""===n||a.test(i)))}render(){return Oo.a.createElement(ai,{onClose:this.props.onClose},Oo.a.createElement("div",{ref:this.containerRef,className:"brz-ed-popup-wrapper"},this.renderTabs(),Oo.a.createElement("div",{className:"brz-ed-popup-content brz-ed-popup-pane brz-ed-popup-icons"},Oo.a.createElement("div",{className:"brz-ed-popup-body"},Oo.a.createElement("div",{className:"brz-ed-popup__head--search brz-d-xs-flex brz-align-items-center brz-justify-content-xs-center"},this.renderFilters()),Oo.a.createElement("div",{className:"brz brz-ed-popup-icons__grid"},Oo.a.createElement(bi,{getPromise:()=>wi(Pi().map(e=>e.id)),renderResolved:e=>{const t=this.filterIcons(e);return Oo.a.createElement(Mi,{icons:t,value:this.props.value,onChange:this.onIconClick})},renderWaiting:()=>Oo.a.createElement(Ii,null),delayMs:1e3}))))))}}function Mi({icons:e,value:t,onChange:o}){const[n,a]=Object(fo.useState)(null),r=Object(fo.useRef)(null),i=e.findIndex(e=>e.name===t.name),l=Math.floor(e.length/8)+1,c=Math.floor(i/8),s=0===c?0:c-1;if(Object(fo.useEffect)(()=>{if(r.current){const{width:e,height:t}=r.current.getBoundingClientRect();a({width:e,height:t})}},[]),!n)return Oo.a.createElement("div",{style:{height:"100%"},ref:r},Oo.a.createElement(Ii,null));const{width:d,height:p}=n,u=74*s;return Oo.a.createElement(pi,{width:d,height:p,columnCount:8,columnWidth:68,rowCount:l,rowHeight:68,gutter:6,initialScrollTop:u,renderItem:({rowIndex:n,columnIndex:a,style:r})=>{const i=e[8*n+a];if(!i)return null;const{type:l,name:c}={type:_i[i.type],name:i.name},s=ra()("brz-ed-popup-icons__grid__item",{active:l===t.type&&c===t.name});return Oo.a.createElement("div",{style:Ei({},r,{left:r.left+6,top:r.top+6,width:r.width-6,height:r.height-6}),className:s,onClick:()=>{o({type:l,name:c})}},Oo.a.createElement("i",{className:ra()(["brz-font-icon",Ti(i)])}))}})}function Ii(){return Oo.a.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center",alignItems:"center",color:"#828b92",fontSize:"35px"}},Oo.a.createElement(ia.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}function Fi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class Ni extends fo.Component{constructor(e){super(e),Object(yo.a)(this,"handleLoading",e=>{this.setState({loading:e})});const{currentTab:t,tabs:o}=this.props;this.state={loading:!0,currentTab:t,tabs:o}}handleTabChange(e){this.state.loading&&this.props.blockTabsWhenLoading||this.setState({currentTab:e})}handleTabUpdate(e,t){const{tabs:o}=this.state,n=o.map(o=>o.id===e?function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Fi(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Fi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},o,{},t):o);this.setState({tabs:n})}renderHeader(){const{currentTab:e,tabs:t}=this.state,{onClose:o}=this.props,n=t.map(t=>{const{id:o,icon:n,img:a,title:r}=t,i=ra()("brz-ed-popup-tab-item",{active:o===e});return Oo.a.createElement("div",{key:o,className:i,onClick:()=>this.handleTabChange(o)},n&&Oo.a.createElement("div",{className:"brz-ed-popup-tab-icon"},Oo.a.createElement(ia.b,{icon:n})),a?Oo.a.createElement("div",{className:"brz-ed-popup-tab-image"},Oo.a.createElement("img",{className:"brz-img",src:a,alt:r})):Oo.a.createElement("div",{className:"brz-ed-popup-tab-name"},r))});return Oo.a.createElement("div",{className:"brz-ed-popup-header"},Oo.a.createElement("div",{className:"brz-ed-popup-header__tabs"},n),Oo.a.createElement("div",{className:"brz-ed-popup-btn-close",onClick:o}))}renderCurrentTab(){const{tabs:e,loading:t,currentTab:o}=this.state;return e.reduce((e,{id:n,component:a})=>n===o?[Oo.a.createElement(a,Object(ta.a)({},this.props,{key:n,loading:t,onLoading:this.handleLoading,onTabUpdate:e=>{this.handleTabUpdate(n,e)}}))]:e,[])}renderTabs(){const{tabs:e,loading:t,currentTab:o}=this.state;return e.map(({id:e,component:n})=>{const a=ra()("brz-ed-popup-integration-".concat(e),{"brz-hidden":e!==o});return Oo.a.createElement(n,Object(ta.a)({},this.props,{key:e,loading:t,className:a,onTabUpdate:t=>{this.handleTabUpdate(e,t)}}))})}render(){return Oo.a.createElement(ai,{className:"brz-ed-popup-integrations",onClose:this.props.onClose},Oo.a.createElement("div",{className:"brz-ed-popup-wrapper"},this.renderHeader(),Oo.a.createElement("div",{className:"brz-ed-popup-content"},this.state.loading?this.renderCurrentTab():this.renderTabs())))}}Object(yo.a)(Ni,"defaultProps",{tabs:[],currentTab:"",blockTabsWhenLoading:!0});var Li=Ni;const Wi=Oo.a.createContext({app:{},connectedApps:[],formId:"",formFields:[],stages:[],stage:"",oldStage:"",onChange:(e,t)=>{},onChangeNext:Do.noop,onChangePrev:Do.noop,onConnectApp:Do.noop,onDisconnectApp:Do.noop,onChangeProgress:Do.noop,onError:Do.noop});class Vi extends fo.Component{render(){const{stage:e,apps:t,children:o,onClose:n}=this.props;return Oo.a.Children.map(o,o=>e===o.props.num&&Oo.a.cloneElement(o,{apps:t,onClose:n}))}}Object(yo.a)(Vi,"defaultProps",{stage:"",apps:[]});var Di=e=>{const{stage:t,children:o}=e;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations__progress"},Oo.a.Children.map(o,e=>e&&Oo.a.cloneElement(e,{stage:t})))};class Ai extends fo.Component{render(){const{stage:e,apps:t,children:o}=this.props;return Oo.a.Children.map(o,o=>o&&Oo.a.cloneElement(o,{stage:e,apps:t}))}}Object(yo.a)(Ai,"defaultProps",{stage:"",apps:[]}),Object(yo.a)(Ai,"Steps",Vi),Object(yo.a)(Ai,"Step",e=>{let{render:t}=e;return t(Object(ca.a)(e,["render"]))}),Object(yo.a)(Ai,"Progress",Di),Object(yo.a)(Ai,"Stage",({stage:e,num:t,text:o,img:n})=>{const a=ra()("brz-ed-popup-integrations__progress-stage",{"brz-ed-popup-integrations__progress-stage--active":t===e});return Oo.a.createElement("div",{className:a},Oo.a.createElement("span",{className:"brz-span"},n&&Oo.a.createElement("img",{className:"brz-img",src:n,alt:"Logo"}),o))});var Gi=Ai;class Ui extends fo.Component{render(){const{apps:e,render:t}=this.props;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations__apps brz-d-xs-flex brz-flex-xs-wrap"},e.map((e,o)=>t(e,o)))}}Object(yo.a)(Ui,"defaultProps",{apps:[],render:Ao.a.noop});var Ki=o(49);const qi=Bo.a.get("pro"),Yi=Bo.a.get("urls");class Xi extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{tooltipOpen:!1}),Object(yo.a)(this,"iconRef",Oo.a.createRef()),Object(yo.a)(this,"handleTooltipOpen",()=>{this.setState({tooltipOpen:!0})}),Object(yo.a)(this,"handleTooltipClose",()=>{this.setState({tooltipOpen:!1})})}renderProInfo(){return Oo.a.createElement("div",{className:"brz-ed-tooltip-content__pro"},Oo.a.createElement("p",{className:"brz-p brz-ed-tooltip-content__pro-title"},Object(an.a)("You’ll need Brizy PRO to use this integration")),Oo.a.createElement("p",{className:"brz-p brz-ed-tooltip-content__pro-body"},Oo.a.createElement("a",{className:"brz-a",href:Yi.upgradeToPro,rel:"noopener noreferrer",target:"_blank"},Oo.a.createElement(ia.b,{icon:"nc-lock"}),Object(an.a)("Get Brizy PRO"))))}renderPro(){const{img:e,title:t}=this.props,o=ra()("brz-ed-popup-integrations__app-logo",this.state.tooltipOpen&&"brz-ed-popup-integrations__app-logo--open");return Oo.a.createElement("div",{className:"brz-ed-popup-integrations__app brz-ed-popup-integrations__app--pro"},Oo.a.createElement(Ki.a,{overlayClassName:"brz-ed-tooltip--delay-2",size:"small",offset:"5",openOnClick:!1,nodeRef:this.iconRef,overlay:this.renderProInfo(),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},Oo.a.createElement("div",{className:o},Oo.a.createElement("img",{className:"brz-img",src:e,alt:t}),Oo.a.createElement("span",{ref:this.iconRef,className:"brz-span brz-ed-popup-integrations__app-icon brz-ed-popup-integrations__app-icon--pro"},Oo.a.createElement(ia.b,{icon:"nc-lock"})),Oo.a.createElement("p",{className:"brz-p brz-ed-badge brz-ed-badge--pro"},"pro")),Oo.a.createElement("div",{className:"brz-ed-popup-integrations__app-title"},t)))}renderFree(){const{img:e,title:t,loading:o,active:n,onClick:a}=this.props,r=ra()("brz-ed-popup-integrations__app",n&&"brz-ed-popup-integrations__app--connected",o&&"brz-ed-popup-integrations__app--loading");return Oo.a.createElement("div",{className:r,onClick:a},Oo.a.createElement("div",{className:"brz-ed-popup-integrations__app-logo"},Oo.a.createElement("img",{className:"brz-img",src:e,alt:t}),n&&!o&&Oo.a.createElement("span",{className:"brz-span brz-ed-popup-integrations__app-icon"},Oo.a.createElement(ia.b,{icon:"nc-check-small"})),o&&Oo.a.createElement("span",{className:"brz-span brz-ed-popup-integrations__app-icon"},Oo.a.createElement(ia.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))),Oo.a.createElement("div",{className:"brz-ed-popup-integrations__app-title"},t))}render(){return!qi&&this.props.pro?this.renderPro():this.renderFree()}}Object(yo.a)(Xi,"defaultProps",{img:"",pro:!1,shortTitle:"",loading:!1,active:!1,onClick:Ao.a.noop});const Zi=Bo.a.get("urls");class Ji extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{loadingApp:"",onConnectApp:Ao.a.noop})}componentDidUpdate(e){this.props.error!==e.error&&this.state.loadingApp&&this.setState({loadingApp:""})}handleChangeApp(e){const{onConnectApp:t}=this.context;t(e),this.setState({loadingApp:e.id})}renderError(){return Oo.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},Oo.a.createElement("span",{className:"brz-span"},this.props.error))}renderProException(){return Oo.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-pro brz-mb-lg-0"},Oo.a.createElement("span",{className:"brz-span"},Object(an.a)("Some integrations are available only in PRO")),Oo.a.createElement("a",{className:"brz-ed-btn brz-ed-btn-width-2 brz-ed-btn-sm brz-ed-btn-icon brz-ed-btn-icon--left brz-ed-btn-rounded brz-ed-btn-pro",rel:"noopener noreferrer",href:Zi.upgradeToPro,target:"_blank"},Oo.a.createElement(ia.b,{icon:"nc-lock"}),Object(an.a)("Get Brizy PRO")))}render(){const{apps:e,height:t,proExceptions:o,error:n}=this.props,{connectedApps:a}=this.context,{loadingApp:r}=this.state;return Oo.a.createElement(da.a,{style:{height:t}},n&&this.renderError(),o&&this.renderProException(),Oo.a.createElement(Ui,{apps:e,render:e=>Oo.a.createElement(Xi,Object(ta.a)({},e,{key:e.id,loading:r===e.id,active:a.includes(e.id),onClick:()=>{this.handleChangeApp(e)}}))}))}}Object(yo.a)(Ji,"contextType",Wi),Object(yo.a)(Ji,"defaultProps",{apps:[],height:"100%",proExceptions:!1,error:null});var $i=Ji;class Qi extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{loading:!0,showProgress:!0,connectedApp:"",connectedApps:[],stage:this.props.stage,stages:this.props.stages,oldStage:"",data:{},error:null,appError:null}),Object(yo.a)(this,"appsData",[]),Object(yo.a)(this,"appsComponent",{}),Object(yo.a)(this,"proExceptions",!1),Object(yo.a)(this,"handleConnectApp",async e=>{const{id:t,stages:o}=e;this.setState(Object(Go.a)(n=>{n.stages=o,n.connectedApp=t,n.data[t]=e}),()=>{this.handleNext()})}),Object(yo.a)(this,"handleDisconnectApp",e=>{const{stage:t,stages:o}=this.props;this.setState(Object(Go.a)(n=>{const a=n.connectedApps;n.stage=t,n.stages=o,n.connectedApps=a.filter(t=>t!==e)}))}),Object(yo.a)(this,"handleProgress",e=>{this.setState(e)}),Object(yo.a)(this,"handleChange",(e,t)=>{this.setState(Object(Go.a)(o=>{o.data[e].data=t}))}),Object(yo.a)(this,"handleNext",async e=>{const{stages:t,stage:o}=this.state,n=t.findIndex(({type:e})=>e===o)+1,a=e||t[n].type,r=this.getComponent(a);let i=!1;if(r&&"function"==typeof r.onBeforeLoad){const e=t[n+1].type,o={onChangeNext:t=>{const o=t||e;i=!0,this.handleNext(o)}};await r.onBeforeLoad(this.getContextValue(),o)}i||this.setState({stage:a,oldStage:o})}),Object(yo.a)(this,"handlePrev",e=>{this.setState(Object(Go.a)(t=>{if("appList"===e){const{stage:e,stages:o}=this.props;t.stage=e,t.stages=o,t.connectedApp=""}else{var o;const{stage:n,stages:a}=t,r=a.findIndex(({type:e})=>e===n)-1;t.stage=e||(null===(o=a[r])||void 0===o?void 0:o.type)||"",t.oldStage=n,t.connectedApp=-1===r?"":t.connectedApp}}))}),Object(yo.a)(this,"handleError",e=>{this.setState({error:e})})}getContextValue(){const{formId:e,formFields:t}=this.props.value,{connectedApp:o,connectedApps:n,data:a,stages:r,stage:i,oldStage:l}=this.state;return{app:a[o]||{},connectedApps:n,formId:e,formFields:t,stages:r,stage:i,oldStage:l,onChange:this.handleChange,onChangeNext:this.handleNext,onChangePrev:this.handlePrev,onConnectApp:this.handleConnectApp,onDisconnectApp:this.handleDisconnectApp,onChangeProgress:this.handleProgress,onError:this.handleError}}getConnectedApps(e){const{connectedApps:t}=this.state;return Array.isArray(e)?e.reduce((e,t)=>t.completed?[...e,t.id]:e,t):t}getComponent(e){return this.appsComponent[this.state.connectedApp][e]}renderLoading(){return Oo.a.createElement("div",{className:"brz-ed-popup-content--loading"},Oo.a.createElement(ia.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}renderError(){return Oo.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},Oo.a.createElement("span",{className:"brz-span"},this.state.error))}renderApps(){const{error:e,appError:t}=this.state;return Oo.a.createElement(Oo.a.Fragment,null,e&&this.renderError(),Oo.a.createElement($i,{apps:this.appsData,proExceptions:this.proExceptions,error:t}))}renderSteps(){var e;const{showProgress:t,stage:o,stages:n,connectedApp:a,data:r}=this.state,i=t&&!(null===(e=n.find(e=>e.type===o))||void 0===e?void 0:e.hideProgress),l=n.reduce((e,t,o,n)=>{const i={num:t.type};return o===n.findIndex(e=>e.title)?i.img=r[a].img:i.text=t.title,t.title?[...e,Oo.a.createElement(Gi.Stage,Object(ta.a)({key:o},i))]:e},[]);return Oo.a.createElement(Wi.Provider,{value:this.getContextValue()},Oo.a.createElement(Gi,{stage:o},i&&l.length>0&&Oo.a.createElement(Gi.Progress,null,l),Oo.a.createElement(Gi.Steps,{onClose:this.props.onClose},n.map((e,t)=>{const o=this.getComponent(e.type);return Oo.a.createElement(Gi.Step,{key:t,num:e.type,render:e=>o&&Oo.a.createElement(o,Object(ta.a)({},e,{apps:this.appsData}))})}))))}renderContent(){const{stage:e,stages:t}=this.state;return Oo.a.createElement(Wi.Provider,{value:this.getContextValue()},""!==e&&t.length?this.renderSteps():this.renderApps())}render(){const e=ra()("brz-ed-popup-integration",this.props.className);return Oo.a.createElement("div",{className:e},this.state.loading?this.renderLoading():this.renderContent())}}Object(yo.a)(Qi,"defaultProps",{className:"",value:{formId:"",formFields:[]},tab:{},stage:"",stages:[],onLoading:Ao.a.noop,onTabUpdate:Ao.a.noop,onClose:Ao.a.noop});var el=Qi;function tl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const ol=(e,t={})=>{let o=new URL(e);return Object.entries(t).forEach(([e,t])=>{o.searchParams.append(e,t)}),o},nl=e=>e.json().then(t=>(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?tl(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):tl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e})({},t,{status:e.status,ok:e.ok,data:t.data||null})).catch(()=>{throw{status:500,data:"Server Error"}}),al=()=>new Promise(e=>{setTimeout(()=>{e(!0)},650)}),rl=(e,t,o,n)=>{let a=e&&JSON.parse(e)||[];const r=t&&t.length||0;let i=t.filter(e=>e.required).length;!a.some(({target:e})=>"email"===e)&&o.some(({type:e})=>e&&"email"===e.toLowerCase())&&(a=((e,t)=>{const o=t.find(({type:e})=>e&&"email"===e.toLowerCase());return e.push({sourceId:o._id,sourceTitle:o.label,target:"email"}),e})(a,o),i--);let l=0,c=0;return o.map(({_id:e,label:o})=>{const s=a.find(({sourceId:t})=>t===e);let d=null;return s&&s.target&&"_auto_generate"!==s.target?d=s.target:(il(r+c,n)||c<i?(d=ll(t,a,l),l++):d="_auto_generate",c++),{sourceId:e,sourceTitle:o,target:d}})},il=(e,t)=>t&&e>=t.maxFields,ll=(e,t,o)=>{const n=Ao.a.pluck(e,"slug"),a=Ao.a.pluck(t,"target");return Ao.a.difference(n,a)[o]},cl=(e,t,o="select")=>{if("select"===o){const o=Ao.a.pluck(e.filter(e=>e.required),"slug"),n=Ao.a.pluck(t,"target");return!Ao.a.difference(o,n).length}if("input"===o)return 0===t.filter(e=>""===e.target).length},sl=e=>{navigator.clipboard?navigator.clipboard.writeText(e):(e=>{let t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.focus(),t.select();try{document.execCommand("copy")}catch(e){console.error("Fallback: Oops, unable to copy",e)}document.body.removeChild(t)})(e)};function dl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const pl=e=>{const{api:t}=Bo.a.get("wp"),o=Bo.a.get("editorVersion"),n=ol(t.url,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?dl(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):dl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({action:t.getAccounts,hash:t.hash,version:o},e||{}));return Object(Po.z)(n,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(nl).then(e=>e)},ul=e=>{const{api:t}=Bo.a.get("wp"),o=Bo.a.get("editorVersion"),n=ol(t.url,{action:t.addAccount,hash:t.hash,version:o});return Object(Po.z)(n,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(e)}).then(nl).then(e=>e)},bl=e=>{const{api:t}=Bo.a.get("wp"),o=Bo.a.get("editorVersion"),n=ol(t.url,{action:t.deleteAccount,hash:t.hash,version:o,id:e});return Object(Po.z)(n,{method:"DELETE",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(nl).then(e=>e)};var hl=o(47),ml=o(35),gl=o(39);class vl extends Oo.a.Component{renderForEdit(){const{active:e,className:t,checkIcon:o,unCheckIcon:n,children:a,onClick:r}=this.props,i=ra()("brz-control__radio-option",{"brz-control__radio-option--active":e},t),l=ra()("brz-control__radio-check",{"brz-control__radio-check--active":e});return Oo.a.createElement("div",{className:i,onClick:r},Oo.a.createElement(ia.b,{className:l,icon:"nc-".concat(e?o:n)}),a)}renderForView(){const{active:e,className:t,value:o,name:n,checkIcon:a,unCheckIcon:r,required:i,children:l,onClick:c}=this.props,s=ra()("brz-control__radio-option",{"brz-control__radio-option--active":e},t),d=Object(gl.a)();return Oo.a.createElement("div",{className:s,onClick:c},Oo.a.createElement("input",{id:d,className:"brz-input",type:"radio",name:n,value:o,checked:e,required:i,"data-type":this.props["data-type"],"data-label":this.props["data-label"],onChange:()=>{}}),Oo.a.createElement("label",{className:"brz-label",htmlFor:d},Oo.a.createElement(ml.a,{className:"brz-control__radio-icon brz-control__radio--check",type:"editor",name:a}),Oo.a.createElement(ml.a,{className:"brz-control__radio-icon brz-control__radio--uncheck",type:"editor",name:r}),l))}render(){return this.renderForEdit()}}Object(yo.a)(vl,"defaultProps",{checkIcon:"check",unCheckIcon:"uncheck",className:"",active:!1,value:"",name:"",onClick:Ao.a.noop});class yl extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{currentValue:this.props.defaultValue}),Object(yo.a)(this,"onItemClick",e=>{this.setState({currentValue:e}),this.props.onChange(e)}),Object(yo.a)(this,"getCurrent",()=>Ao.a.find(this.props.children,e=>e.props.value===this.state.currentValue)||this.props.children[0])}componentWillReceiveProps(e){this.state.defaultValue!==e.defaultValue&&this.setState({currentValue:e.defaultValue})}renderOptions(){return Oo.a.Children.map(this.props.children,(e,t)=>Oo.a.cloneElement(e,{key:t,active:this.state.currentValue===e.props.value,name:this.props.name,onClick:e.props.disabled?null:this.onItemClick.bind(null,e.props.value)}))}renderForEdit(){const{className:e,name:t,currentValue:o}=this.props,n=ra()("brz-control__radio",e);return Oo.a.createElement("div",{className:n},this.renderOptions(),Oo.a.createElement("input",{className:"brz-input",name:t,type:"hidden",value:o}))}renderForView(){const e=ra()("brz-control__radio",this.props.className);return Oo.a.createElement("div",{className:e},this.renderOptions())}render(){return this.renderForEdit()}}Object(yo.a)(yl,"defaultProps",{name:"defaultName",defaultValue:"",onChange:Ao.a.noop});const fl={gray:"brz-ed-btn-width-3 brz-ed-btn-gray",tail:"brz-ed-btn-width-1 brz-ed-btn-teal",default:"brz-ed-btn-width-1 brz-ed-btn-default",red:"brz-ed-btn-width-1 brz-ed-btn-red"};class Ol extends fo.Component{render(){const{className:e,type:t,rightIcon:o,leftIcon:n,loading:a,disabled:r,children:i,onClick:l}=this.props,c=ra()("brz-button brz-ed-btn","brz-ed-btn-sm brz-ed-btn-rounded",e,a?"brz-ed-btn--loading":"brz-ed-btn-icon",{"brz-ed-btn-icon--left":n},{"brz-ed-btn-icon--right":o},{"brz-ed-btn--disabled":r},fl[t]);return Oo.a.createElement("button",{className:c,onClick:l},a?Oo.a.createElement(ia.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):Oo.a.createElement(Oo.a.Fragment,null,n&&Oo.a.createElement(ia.b,{icon:n}),i,o&&Oo.a.createElement(ia.b,{icon:o})))}}Object(yo.a)(Ol,"defaultProps",{className:"",type:"",rightIcon:"",leftIcon:"",loading:!1,disabled:!1,onClick:Ao.a.noop});var Cl=Ol;class Sl extends fo.Component{renderOptions(){const{active:e,data:{accounts:t,usedAccount:o,completed:n},disconnectLoading:a,onActive:r,onDisconnect:i}=this.props,l=t.map(({name:e,id:t})=>Oo.a.createElement(vl,{value:t,key:t},e||"Account ".concat(t),t===o&&n&&Oo.a.createElement("div",{title:"Disconnect",className:"brz-ed-popup-integrations--delete",onClick:i},Oo.a.createElement(ia.b,{icon:a?"nc-circle-02":"nc-connection",className:a?"brz-ed-animated--spin":""}))));return Oo.a.createElement(hl.a,{style:{maxHeight:205},className:"brz-ed-scroll-pane brz-ed-popup-integrations__scroll-pane"},Oo.a.createElement(yl,{className:"brz-ed-popup-integrations-option__radio",name:"list",defaultValue:e,onChange:r},l))}renderError(){const{error:e,data:{accounts:t}}=this.props;return Oo.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},Oo.a.createElement("span",{className:"brz-span"},0===t.length&&Object(an.a)("Accounts are empty. Please connect a new account and try again."),e))}render(){const{data:{accounts:e},error:t,nextLoading:o,prevLoading:n,connectLoading:a,onConnect:r,onPrev:i,onNext:l}=this.props,c=e.length>0;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__account"},(!c||t)&&this.renderError(),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},Oo.a.createElement("p",{className:"brz-p"},Oo.a.createElement("strong",{className:"brz-strong"},Object(an.a)("SELECT ACCOUNT")))),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},c&&this.renderOptions(),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-new__option",onClick:r},Oo.a.createElement(ia.b,{icon:a?"nc-circle-02":"nc-add",className:a?"brz-ed-animated--spin":""}),Object(an.a)("Connect a new account")),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},Oo.a.createElement(Cl,{type:"gray",leftIcon:"nc-arrow-left",loading:n,onClick:i},Object(an.a)("Back")),Oo.a.createElement(Cl,{type:"tail",rightIcon:"nc-arrow-right",loading:o,onClick:l},Object(an.a)("Continue")))))}}Object(yo.a)(Sl,"defaultProps",{id:"",title:"",shortTitle:"",description:"",img:"",form:{},data:{},active:"",nextLoading:!1,prevLoading:!1,connectLoading:!1,disconnectLoading:!1,onActive:Ao.a.noop,onPrev:Ao.a.noop,onNext:Ao.a.noop,onConnect:Ao.a.noop,onDisconnect:Ao.a.noop});var xl=Sl;class jl extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleKeyDown",e=>{13===e.which&&this.props.onNext()})}renderError(){return Oo.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},Oo.a.createElement("span",{className:"brz-span"},this.props.error))}renderInputs(){const{data:e,onChange:t}=this.props;return e.map((e,o)=>{const{title:n,name:a,value:r}=e;return Oo.a.createElement("label",{key:o,className:"brz-ed-popup-integrations__connect-label"},Oo.a.createElement("input",{className:"brz-input",name:n,type:"text",value:r,required:!0,onChange:e=>{t(e.target.value,a)},onKeyDown:this.handleKeyDown}),Oo.a.createElement("p",{className:"brz-p"},Oo.a.createElement("strong",{className:"brz-strong"},n," ",Oo.a.createElement("span",{className:"brz-span"},"(",Object(an.a)("required"),")"))))})}render(){const{img:e,title:t,descriptions:o,error:n,nextLoading:a,prevLoading:r,onNext:i,onPrev:l}=this.props;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations__connect"},Oo.a.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},Oo.a.createElement("img",{className:"brz-img",src:e,title:t}),Oo.a.createElement("p",{className:"brz-p"},o)),Oo.a.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},n&&this.renderError(),this.renderInputs(),null!==a&&Oo.a.createElement(Cl,{type:"tail",loading:a,onClick:i},Object(an.a)("Connect")),null!==r&&Oo.a.createElement(Cl,{type:"default",loading:r,onClick:l},Object(an.a)("Cancel"))))}}Object(yo.a)(jl,"defaultProps",{img:"",title:"",descriptions:"",data:[{title:"",name:"",value:""}],nextLoading:null,prevLoading:null,error:null,onNext:Ao.a.noop,onPrev:Ao.a.noop});var Bl=jl;class Pl extends fo.Component{renderError(){return Oo.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},Oo.a.createElement("span",{className:"brz-span"},this.props.error))}render(){const{title:e,img:t,descriptions:o,error:n,nextLoading:a,prevLoading:r,onNext:i,onPrev:l}=this.props;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations__connect"},Oo.a.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},Oo.a.createElement("img",{className:"brz-img",src:t,alt:e}),Oo.a.createElement("p",{className:"brz-p"},o)),Oo.a.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},n&&this.renderError(),null!==a&&Oo.a.createElement(Cl,{type:"red",loading:a,onClick:i},Object(an.a)("Disconnect")),null!==r&&Oo.a.createElement(Cl,{type:"default",loading:r,onClick:l},Object(an.a)("Cancel"))))}}Object(yo.a)(Pl,"defaultProps",{title:"",descriptions:"",nextLoading:null,prevLoading:null,error:null,onNext:Ao.a.noop,onPrev:Ao.a.noop});var wl=Pl,Tl=o(107),zl=o(175),kl=o(679),El=o(678),Hl=o(172),_l=o(73);function Rl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ml(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Rl(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Rl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Il=(e,t,o,n)=>{const a=t*o,r=t*n,i=e*t;return Math.max(a,Math.min(r,i))};class Fl extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{inputValue:""}),Object(yo.a)(this,"selectRef",Oo.a.createRef()),Object(yo.a)(this,"inputRef",Oo.a.createRef()),Object(yo.a)(this,"handleChange",(e,t)=>{const{multiple:o,value:n,onChange:a}=this.props;if(o){if(t.isOpen||this.setState({inputValue:""}),e.hasOwnProperty("value")){const t=Array.isArray(n)?n:[];a(Object(kn.addLast)(t,e.value))}}else e&&(this.setState({inputValue:e.value}),a(e))}),Object(yo.a)(this,"handleInputChange",e=>{this.setState({inputValue:e.target.value})}),Object(yo.a)(this,"handleRemoveTag",e=>{const{value:t,onChange:o}=this.props;o(Object(kn.removeAt)(t,e))}),Object(yo.a)(this,"handleInputKeyDown",e=>{const{value:t,multiple:o,onChange:n}=this.props;o&&8===e.keyCode&&!this.state.inputValue&&n(Object(kn.removeLast)(t))})}itemToString(e){return e?e.label:""}renderTags(e){return Array.isArray(e)?e.map((e,t)=>Oo.a.createElement("div",{key:t,className:"brz-control__select2-tag"},e,Oo.a.createElement(ia.b,{icon:"nc-trash",onClick:()=>{this.handleRemoveTag(t)}}))):null}renderInput(e){const{multiple:t,selectedItem:o,isOpen:n,toggleMenu:a,inputProps:r}=e,i=t?"brz-control__select2-value-container-tag":"brz-control__select2-value-container";return Oo.a.createElement(kl.a,null,({ref:e})=>Oo.a.createElement("div",{ref:e,className:i,onClick:()=>{a(),!n&&this.inputRef.current.focus()}},t&&this.renderTags(o),Oo.a.createElement("input",Object(ta.a)({},r,{className:"brz-input brz-control__select2-value"}))))}renderDropdown(e){const{className:t,options:o,value:n,multiple:a,placement:r,fixed:i,itemHeight:l,minItems:c,maxItems:s,isOpen:d,inputValue:p,highlightedIndex:u,selectedItem:b,getItemProps:h,getMenuProps:m}=e;if(!d)return;const g=Array.isArray(n)&&a?o.filter(e=>n.every(t=>t!==e.value)):o,v=this.selectRef.current,y=v.getBoundingClientRect().width,f=v.ownerDocument.body,O=ra()("brz-ed-select2-portal",t),C=new ja.a(g,["value"]);return Oo.a.createElement(_l.a,{node:f,className:O},Oo.a.createElement(El.a,{placement:r,positionFixed:i},({ref:e,style:t,placement:o})=>{const n=C.search(p).map((e,t)=>Oo.a.createElement("li",Object(ta.a)({key:e.value},h({index:t,item:e}),{className:ra()("brz-li brz-control__select2-option",{"brz-control__select2-option--active":b===e||u===t})}),e.value));return Oo.a.createElement("div",{ref:e,style:Ml({},t,{width:y}),className:"brz-control__select2-menu","data-placement":o},Oo.a.createElement(hl.a,{style:{height:Il(n.length,l,c,s)},className:"brz-control__select2-scroll-pane brz-ed-scroll--small"},Oo.a.createElement("ul",Object(ta.a)({},m(),{className:"brz-ul"}),n.length>0?n:Oo.a.createElement("li",{className:"brz-li brz-control__select2-option"},Object(an.a)("Nothing Found")))))}))}render(){const{className:e,placeholder:t,multiple:o,value:n}=this.props,{inputValue:a}=this.state,r=ra()("brz-control__select2-container",e);return Oo.a.createElement("div",{ref:this.selectRef,className:r},Oo.a.createElement(Hl.c,null,Oo.a.createElement(zl.a,{initialSelectedItem:n,selectedItem:n,onChange:this.handleChange,itemToString:this.itemToString},({getInputProps:e,getItemProps:n,getMenuProps:r,isOpen:i,highlightedIndex:l,selectedItem:c,toggleMenu:s})=>Oo.a.createElement("div",{className:"brz-control__select2"},this.renderInput({inputProps:e({ref:this.inputRef,placeholder:t,value:a,onKeyDown:this.handleInputKeyDown,onChange:this.handleInputChange}),multiple:o,selectedItem:c,isOpen:i,toggleMenu:s}),this.renderDropdown(Ml({},this.props,{inputValue:a,isOpen:i,highlightedIndex:l,selectedItem:c,getMenuProps:r,getItemProps:n}))))))}}Object(yo.a)(Fl,"defaultProps",{className:"",value:null,options:[{label:"Test",value:"test"}],placement:"bottom",placeholder:"",fixed:!1,minItems:1,maxItems:5,itemHeight:30,multiple:!1,onChange:Ao.a.noop});var Nl=Fl;class Ll extends fo.Component{renderSelect({name:e,value:t,choices:o}){const n=o.map(({title:e,name:t})=>Oo.a.createElement(Wr.a,{key:t,value:t},e));return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},Oo.a.createElement(Lr.a,{className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,defaultValue:t,onChange:t=>{this.props.onActive(e,t)}},n))}renderInput({name:e,value:t}){return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},Oo.a.createElement("input",{className:"brz-input",required:!0,type:"password"===e?"password":"text",value:t,onChange:t=>{this.props.onActive(e,t.target.value)}}))}renderSwitch({name:e,value:t}){return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},Oo.a.createElement(Tl.a,{className:"brz-ed-control__switch--light",defaultValue:t,onChange:t=>{this.props.onActive(e,t)}}))}renderSearch({name:e,multiple:t,value:o,choices:n}){const a=Boolean(o)&&t?o.split(","):o;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},Oo.a.createElement(Nl,{className:"brz-control__select2--light",multiple:t,value:a,options:n,onChange:o=>{this.props.onActive(e,t?o.join(","):o.value)}}))}renderOptions(){const e=this.props.data.map((e,t)=>{const{title:o,required:n,type:a,helper:r}=e;return Oo.a.createElement("div",{key:t,className:"brz-ed-popup-integrations-step__fields-option"},Oo.a.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},Oo.a.createElement("p",{className:"brz-p"},o,n&&Oo.a.createElement("strong",{className:"brz-strong brz--required"},"*")),r&&Oo.a.createElement(Ki.a,{className:"brz-ed-popup-integrations-fields__tooltip",openOnClick:!1,inPortal:!0,overlay:Oo.a.createElement("div",{className:"brz-ed-popup-integrations-fields__info",dangerouslySetInnerHTML:{__html:r}})},Oo.a.createElement(ia.b,{icon:"nc-alert-circle-que"}))),!a&&this.renderInput(e),"select"===a&&this.renderSelect(e),"switch"===a&&this.renderSwitch(e),"search"===a&&this.renderSearch(e))});return Oo.a.createElement(hl.a,{style:{maxHeight:255},className:"brz-ed-popup-integrations__scroll-pane"},e)}renderError(){return Oo.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},Oo.a.createElement("span",{className:"brz-span"},this.props.error))}render(){const{headTitle:e,headDescription:t,description:o,error:n,prevLoading:a,nextLoading:r,onPrev:i,onNext:l}=this.props;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},n&&this.renderError(),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},e&&Oo.a.createElement("p",{className:"brz-p"},Oo.a.createElement("strong",{className:"brz-strong"},e)),t&&Oo.a.createElement("p",{className:"brz-p"},Oo.a.createElement("strong",{className:"brz-strong"},t))),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},this.renderOptions(),o&&Oo.a.createElement("p",{className:"brz-p brz-ed-popup-integrations__description"},o),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==a&&Oo.a.createElement(Cl,{type:"gray",leftIcon:"nc-arrow-left",loading:a,onClick:i},Object(an.a)("Back")),null!==r&&Oo.a.createElement(Cl,{type:"tail",rightIcon:"nc-arrow-right",loading:r,onClick:l},Object(an.a)("Continue")))))}}Object(yo.a)(Ll,"defaultProps",{id:"",headTitle:"",headDescription:"",description:"",data:[{title:"",value:"",name:"",helper:null}],nextLoading:null,prevLoading:null,onPrev:Ao.a.noop,onNext:Ao.a.noop,onActive:Ao.a.noop});var Wl=Ll;class Vl extends fo.Component{renderSelect(e,t){const{formFields:o,fields:n,restrictions:a,onActive:r}=this.props,i=Ao.a.pluck(o,"target");let l=n.filter(e=>-1===i.indexOf(e.slug)||e.slug===t);const c=n.length+(o.length-Ao.a.without(i,"_auto_generate").length);(!il(c,a)||t&&"_auto_generate"===t)&&l.unshift({name:"Auto Generate",required:!1,slug:"_auto_generate"});const s=l.map(({required:e,name:t,slug:o})=>Oo.a.createElement(Wr.a,{key:o,value:o},Oo.a.createElement("span",{className:"brz-span"},t),e&&Oo.a.createElement("strong",{className:"brz-strong brz--required"},"*")));return Oo.a.createElement(Lr.a,{defaultValue:t,className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,onChange:t=>{r(e,t)}},s)}renderOptions(){const e=this.props.formFields.map(({sourceTitle:e,target:t,sourceId:o})=>Oo.a.createElement("div",{key:o,className:"brz-ed-popup-integrations-step__fields-option"},Oo.a.createElement("p",{className:"brz-p"},e),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},this.renderSelect(o,t))));return Oo.a.createElement(hl.a,{style:{maxHeight:255},className:"brz-ed-popup-integrations__scroll-pane"},e)}renderError(){return Oo.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},Oo.a.createElement("span",{className:"brz-span"},this.props.error))}renderErrorEmpty(){return Oo.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},Oo.a.createElement("span",{className:"brz-span"},Object(an.a)("Fields are empty. Please add fields and try again.")))}render(){const{title:e,error:t,formFields:o,prevLoading:n,nextLoading:a,onPrev:r,onNext:i}=this.props;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},t&&this.renderError(),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},Oo.a.createElement("p",{className:"brz-p"},Oo.a.createElement("strong",{className:"brz-strong"},Object(an.a)("FORM FIELDS"))),Oo.a.createElement("p",{className:"brz-p"},Oo.a.createElement("strong",{className:"brz-strong"},e," ",Object(an.a)("FIELDS")))),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},o.length?this.renderOptions():this.renderErrorEmpty(),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==n&&Oo.a.createElement(Cl,{type:"gray",leftIcon:"nc-arrow-left",loading:n,onClick:r},Object(an.a)("Back")),null!==a&&Oo.a.createElement(Cl,{type:"tail",rightIcon:"nc-arrow-right",loading:a,onClick:i},Object(an.a)("Continue")))))}}Object(yo.a)(Vl,"defaultProps",{id:"",title:"",shortTitle:"",description:"",img:"",fields:[],formFields:[],restrictions:{},error:null,nextLoading:null,prevLoading:null,onActive:Ao.a.noop,onPrev:Ao.a.noop,onNext:Ao.a.noop});var Dl=Vl;class Al extends fo.Component{renderError(){return Oo.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},Oo.a.createElement("span",{className:"brz-span"},this.props.error))}renderList(){const{active:e,lists:t,listsCreate:o,hasConfirmation:n,onActive:a}=this.props,r=o&&o.length>0,i=ra()("brz-ed-popup-integrations__scroll-pane",{"brz-ed-popup-integrations__scroll-pane--big":n},{"brz-ed-popup-integrations__scroll-pane--small":!r}),l=t.map(({name:e,id:t})=>Oo.a.createElement(vl,{value:t,key:t},e||"List ".concat(t)));return Oo.a.createElement(hl.a,{style:{maxHeight:n?203:255},className:i},Oo.a.createElement(yl,{className:"brz-ed-popup-integrations-option__radio",name:"list",defaultValue:e,onChange:a},l))}renderConfirmation(){const{confirmationNeeded:e,onConfirm:t}=this.props;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations__confirmation"},Oo.a.createElement("p",{className:"brz-p"},Object(an.a)("Email confirmation to join the list")),Oo.a.createElement(Lr.a,{defaultValue:e,className:"brz-control__select--white",maxItems:"6",itemHeight:"30",onChange:t},Oo.a.createElement(Wr.a,{value:!1},Object(an.a)("Not Required")),Oo.a.createElement(Wr.a,{value:!0},Object(an.a)("Required"))))}renderCreateList(){const{createLoading:e,onCreateList:t}=this.props;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-new__option",onClick:t},Oo.a.createElement(ia.b,{icon:e?"nc-circle-02":"nc-add",className:e?"brz-ed-animated--spin":""}),Object(an.a)("Create a new list"))}renderProList(){return Oo.a.createElement(yl,{className:"brz-ed-popup-integrations-option__radio",name:"proList",defaultValue:"none"},Oo.a.createElement(vl,{value:"none"},Object(an.a)("None")))}render(){const{listPro:e,lists:t,listsCreate:o,hasConfirmation:n,error:a,nextLoading:r,prevLoading:i,onPrev:l,onNext:c}=this.props,s=t.length>0,d=o&&o.length>0;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__lists"},a&&this.renderError(),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},Oo.a.createElement("p",{className:"brz-p"},Oo.a.createElement("strong",{className:"brz-strong"},Object(an.a)("SELECT LIST")))),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},s&&this.renderList(),e&&this.renderProList(),d&&this.renderCreateList(),n&&this.renderConfirmation(),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==i&&Oo.a.createElement(Cl,{type:"gray",leftIcon:"nc-arrow-left",loading:i,onClick:l},Object(an.a)("Back")),null!==r&&Oo.a.createElement(Cl,{type:s||e?"tail":"gray",rightIcon:"nc-arrow-right",loading:r,onClick:s||e?c:null},Object(an.a)("Continue")))))}}Object(yo.a)(Al,"defaultProps",{id:"",title:"",shortTitle:"",description:"",img:"",active:"",listPro:!1,lists:[],listsCreate:[],apiKeyValue:{},hasConfirmation:!1,createLoading:!1,confirmationNeeded:!1,nextLoading:null,prevLoading:null,error:null,onActive:Ao.a.noop,onConfirm:Ao.a.noop,onCreateList:Ao.a.noop,onPrev:Ao.a.noop,onNext:Ao.a.noop});var Gl=Al;class Ul extends fo.Component{render(){const{title:e,onNext:t}=this.props;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__done"},Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__done-icon"},Oo.a.createElement(ia.b,{icon:"nc-check-light"})),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__done-content"},Oo.a.createElement("p",{className:"brz-p"},Object(an.a)("You have successfully connect the form with")," ",e)),Oo.a.createElement(Cl,{type:"tail",onClick:t},Object(an.a)("Done")))}}Object(yo.a)(Ul,"defaultProps",{title:"",onNext:Ao.a.noop});var Kl=Ul;async function ql(e){try{return await(t=e,fetch("https://graph.facebook.com/".concat(t)).then(({status:e})=>200===e))}catch(e){return!1}var t}function Yl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Xl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Yl(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Yl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Zl=[{name:"appid",title:"App ID"}];class Jl extends fo.Component{constructor(e,t){super(e),Object(yo.a)(this,"handleChange",(e,t)=>{this.setState(({apiKeyValue:o})=>({apiKeyValue:Xl({},o,{["".concat(t)]:e.trim()})}))}),Object(yo.a)(this,"handleConnect",async()=>{const{app:e,onChangeNext:t}=this.context,{apiKeyValue:o}=this.state,n=Object.values(o);if(this.setState({nextLoading:!0,error:null}),n.some(e=>!e))await al(),this.setState({error:"Fields are empty",nextLoading:!1});else{const{data:a,group:r,id:i}=e,[l]=n;if(!await ql(l))return void this.setState({isValidate:!1,error:"Your AppId is no valid, re check and try again",nextLoading:!1});if(a&&a.id){const{status:e}=await bl(a.id);200!==e&&this.setState({nextLoading:!1,error:Object(an.a)("Something went wrong")})}const{status:c}=await ul(Xl({service:i,group:r},o));200!==c?this.setState({nextLoading:!1,error:Object(an.a)("Something went wrong")}):t()}}),Object(yo.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await al(),this.context.onChangePrev()});const{app:{data:o}}=t;this.state={apiKeyValue:o||this.getDefaultValue(),nextLoading:!1,prevLoading:!1,error:null}}static async onBeforeLoad(e,t){e.app.data&&t.onChangeNext("disconnect")}getDefaultValue(){return Zl.reduce((e,{name:t})=>Xl({},e,{["".concat(t)]:""}),{})}render(){const{app:e}=this.context,{apiKeyValue:t,nextLoading:o,prevLoading:n,error:a}=this.state,r=Zl.map(({title:e,name:o})=>({title:e,name:o,value:t[o]}));return Oo.a.createElement(Bl,Object(ta.a)({},e,{data:r,nextLoading:o,prevLoading:n,error:a,onChange:this.handleChange,onNext:this.handleConnect,onPrev:this.handlePrev}))}}Object(yo.a)(Jl,"contextType",Wi);var $l=Jl;class Ql extends fo.Component{constructor(e){super(e),Object(yo.a)(this,"handleNext",async()=>{const{app:e,onChange:t,onDisconnectApp:o}=this.context;this.setState({nextLoading:!0,error:null});const{status:n}=await bl(e.data.id);200===n?(o(e.id),t(e.id,null)):this.setState({nextLoading:!1,error:Object(an.a)("Something went wrong")})}),Object(yo.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0,error:null}),await al(),this.context.onChangePrev("appList")}),this.state={nextLoading:!1,prevLoading:!1,error:null}}render(){const{nextLoading:e,prevLoading:t,error:o}=this.state;return Oo.a.createElement(wl,Object(ta.a)({},this.context.app,{descriptions:"".concat(Object(an.a)("Are you want to delete account")," ?"),nextLoading:e,prevLoading:t,error:o,onPrev:this.handlePrev,onNext:this.handleNext}))}}Object(yo.a)(Ql,"contextType",Wi);var ec=Ql;class tc extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleClose",()=>{this.props.onClose()})}render(){const{app:e}=this.context;return Oo.a.createElement(Kl,Object(ta.a)({},e,{onNext:this.handleClose}))}}Object(yo.a)(tc,"contextType",Wi);var oc=tc;class nc{}Object(yo.a)(nc,"connect",void 0),Object(yo.a)(nc,"account",void 0),Object(yo.a)(nc,"fields",void 0),Object(yo.a)(nc,"list",void 0),Object(yo.a)(nc,"done",void 0);class ac extends nc{}Object(yo.a)(ac,"connect",$l),Object(yo.a)(ac,"disconnect",ec),Object(yo.a)(ac,"done",oc);var rc=ac;var ic=class extends el{constructor(...e){super(...e),Object(yo.a)(this,"appsData",[]),Object(yo.a)(this,"appsComponent",n),Object(yo.a)(this,"handleConnectApp",async e=>{const t=e.id,{stages:o}=this.appsData[0];await al(),this.setState(Object(Go.a)(n=>{n.stages=o,n.connectedApp=t,Object.assign(n.data[t],e)}),()=>{this.handleNext()})})}async componentDidMount(){const e=Object(wo.a)("integrations.json"),t=await fetch(e),o=await t.json();this.appsData=o.facebook,await this.getData()}async getData(){const{group:e,service:t}=this.props.value,{status:o,data:n}=await pl({group:e,services:t});if(n&&n.length>0&&200===o){const e=n[0],{services:t}=e;this.setState(Object(Go.a)(o=>{o.data[t]={data:e},o.loading=!1,o.connectedApps=[t]}))}else this.setState({loading:!1})}};const lc=[{id:"app",title:Object(an.a)("APPS"),icon:"nc-extensions-2",component:ic}];class cc extends fo.Component{render(){return Oo.a.createElement(Li,Object(ta.a)({},this.props,{tabs:lc,currentTab:"app"}))}}Object(yo.a)(cc,"defaultProps",{value:{service:"facebook",group:"social"}});var sc=cc;function dc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function pc(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?dc(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):dc(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class uc extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{currentFilter:this.props.defaultFilter}),Object(yo.a)(this,"setFilter",e=>{this.setState(t=>({currentFilter:pc({},t.currentFilter,{},e)}))})}render(){const{filterFn:e,data:t,children:o}=this.props,{currentFilter:n}=this.state;return o(t.filter(t=>e(t,n)),n,this.setFilter)}}function bc(e){const{className:t="",title:o="",children:n}=e,a=ra()("brz-ed-popup-two-sidebar",t);return Oo.a.createElement("div",{className:a},Oo.a.createElement("div",{className:"brz-ed-popup-two-sidebar-title"},o),n)}function hc(e){const{lists:t=[],counters:o={},value:n="",onChange:a=(()=>{})}=e;return t.map(({id:e,title:t,icon:r})=>o[e]>0&&Oo.a.createElement("div",{key:e,title:Object(an.a)(t),className:ra()("brz-ed-popup-two-sidebar-list",{"brz-ed-popup-two-sidebar-list-active":e===n}),onClick:()=>a(e)},r&&Oo.a.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-icon"},Oo.a.createElement(ia.b,{icon:r})),Oo.a.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-text"},t),Oo.a.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-new"},"new"),Oo.a.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-quantity"},o[e])))}function mc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function gc(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?mc(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):mc(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function vc(e){const{className:t,children:o}=e,n=ra()("brz-ed-popup-two-body__sidebar",t),a=e=>{let{style:t}=e,o=Object(ca.a)(e,["style"]);return Oo.a.createElement("div",Object(ta.a)({},o,{style:gc({},t,{borderRadius:"inherit",backgroundColor:"rgba(129, 138, 145, 0.5)"})}))};return Oo.a.createElement("div",{className:n},Oo.a.createElement(da.a,{renderThumbHorizontal:a,renderThumbVertical:a},Oo.a.createElement("div",{className:"brz-ed-popup-two-sidebar-body"},o)))}class yc extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleInputChange",e=>{this.props.onChange(e.target.value)})}render(){const{className:e,value:t}=this.props,o=ra()("brz-ed-popup-two-search",e);return Oo.a.createElement("div",{className:o},Oo.a.createElement("input",{type:"text",className:"brz-input brz-ed-popup-two__input",placeholder:Object(an.a)("Type to search"),value:t,onChange:this.handleInputChange}),Oo.a.createElement("div",{className:"brz-ed-popup-two-search-icon"},Oo.a.createElement(ia.b,{icon:"nc-search"})))}}Object(yo.a)(yc,"defaultProps",{className:"",value:"",onChange:Ao.a.noop});let fc=new Map,Oc=null;class Cc extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{imageFetched:!1,showSpinner:!1}),Object(yo.a)(this,"content",Oo.a.createRef()),Object(yo.a)(this,"handleIntersection",e=>{e.forEach(({isIntersecting:e,target:t})=>{if(e){const e=fc.get(t);if(!e)return;const o=e.props.src;Object(ir.e)(o).then(()=>{Oc&&Oc.unobserve(t),e.mounted&&e.setState({imageFetched:!0,showSpinner:!1},e.props.onImageLoaded())})}})})}componentDidMount(){const e=this.content.current;if(this.mounted=!0,null===Oc){const{observerRootSelector:t,observerRootMargin:o,observerThreshold:n}=this.props,a={root:e.ownerDocument.querySelector(t),rootMargin:o,threshold:n};(Oc=new e.ownerDocument.defaultView.IntersectionObserver(this.handleIntersection,a)).POLL_INTERVAL=200}Oc.observe(e),fc.set(e,this),setTimeout(()=>{this.mounted&&!this.state.imageFetched&&this.setState({showSpinner:!0})},this.props.spinnerDelay)}componentWillUnmount(){const e=this.content.current;this.mounted=!1,Oc.unobserve(e),fc.delete(e),0===fc.size&&(Oc.disconnect(),Oc=null)}render(){const{width:e,height:t,src:o,style:n}=this.props,{imageFetched:a,showSpinner:r}=this.state,i=Math.round(t/e*100*10)/10;return Oo.a.createElement("div",{ref:this.content,className:"brz-observer__image",style:{paddingTop:"".concat(i,"%")}},r&&Oo.a.createElement("div",{className:"brz-ed-option__block-thumbnail-loading"},Oo.a.createElement(ia.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),a&&Oo.a.createElement("img",{className:"brz-img",style:n,src:o,alt:"lazyLoad Image"}))}}Object(yo.a)(Cc,"defaultProps",{width:100,height:100,src:"",observerRootSelector:null,observerRootMargin:"0px",observerThreshold:[0],spinnerDelay:250,style:{},onImageLoaded:Ao.a.noop});const Sc=292,xc={animationName:"fadeIn",animationFillMode:"both",animationDelay:"200ms",animationDuration:"200ms"},jc=Bo.a.get("pro"),Bc=Bo.a.get("urls");class Pc extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{tooltipOpen:!1}),Object(yo.a)(this,"iconRef",Oo.a.createRef()),Object(yo.a)(this,"handleTooltipOpen",()=>{this.setState({tooltipOpen:!0})}),Object(yo.a)(this,"handleTooltipClose",()=>{this.setState({tooltipOpen:!1})}),Object(yo.a)(this,"handleClick",()=>{const{data:e,onAdd:t}=this.props;t(e)}),Object(yo.a)(this,"handleRemove",()=>{const{data:e,onRemove:t}=this.props;t(e)})}renderProInfo(){return Oo.a.createElement("div",{className:"brz-ed-tooltip-content__pro"},Oo.a.createElement("p",{className:"brz-p brz-ed-tooltip-content__pro-title"},Object(an.a)("You’ll need Brizy PRO to use this block")),Oo.a.createElement("p",{className:"brz-p brz-ed-tooltip-content__pro-body"},Oo.a.createElement("a",{className:"brz-a",href:Bc.upgradeToPro,target:"_blank",rel:"noopener noreferrer"},Oo.a.createElement(ia.b,{icon:"nc-lock"}),Object(an.a)("Get Brizy PRO"))))}renderBlank(){const e=Xa.b?Object(an.a)("Add a blank popup"):Object(an.a)("Add a blank block");return Oo.a.createElement("div",{onClick:this.handleClick,className:"brz-ed-popup-two-block-item brz-ed-popup-two-block__blank brz-ed-popup-two-block__blank-first"},Oo.a.createElement("div",{className:"brz-ed-container-trigger brz-ed-container-trigger--small"}),Oo.a.createElement("p",{className:"brz-p"},e))}renderPro(){const{animation:e,isLayout:t,data:{thumbnailSrc:o,thumbnailWidth:n,thumbnailHeight:a},onImageLoaded:r}=this.props,{width:i,height:l}=Object(ir.d)(n,a,Sc),c=ra()("brz-figure brz-ed-popup-two-block-item",this.state.tooltipOpen&&"brz-ed-popup-two-block-item--active"),s=Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(Cc,{observerRootSelector:".brz-ed-popup-two-blocks-body",style:e?xc:{},src:o,width:i,height:l,onImageLoaded:r}),Oo.a.createElement("p",{className:"brz-p brz-ed-badge brz-ed-badge--pro"},"pro"));return t?Oo.a.createElement("figure",{className:c,onClick:this.handleClick},s):Oo.a.createElement(Ki.a,{overlayClassName:"brz-ed-tooltip--delay-1",size:"small",offset:"5",openOnClick:!1,nodeRef:this.iconRef,overlay:this.renderProInfo(),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},Oo.a.createElement("figure",{className:c},s,Oo.a.createElement("span",{ref:this.iconRef,className:"brz-ed-popup-two-block__span-lock"},Oo.a.createElement(ia.b,{icon:"nc-lock"}))))}renderFree(){const{animation:e,data:{thumbnailSrc:t,thumbnailWidth:o,thumbnailHeight:n},onImageLoaded:a}=this.props,{width:r,height:i}=Object(ir.d)(o,n,Sc);return Oo.a.createElement("figure",{className:"brz-figure brz-ed-popup-two-block-item",onClick:this.handleClick},Oo.a.createElement(Cc,{observerRootSelector:".brz-ed-popup-two-blocks-body",style:e?xc:{},src:t,width:r,height:i,onImageLoaded:a}))}renderRemoveIcon(){return Oo.a.createElement("div",{className:"brz-ed-badge__delete brz-ed-popup-two-block-remove",onClick:this.handleRemove},Oo.a.createElement(ia.b,{icon:"nc-trash"}))}render(){const{isLayout:e,data:{blank:t,showRemoveIcon:o,pro:n}}=this.props,a=!jc&&n,r=t&&"blank"===t,i=ra()("brz-ed-popup-two-block",a&&"brz-ed-popup-two-block--pro",e&&"brz-ed-popup-two-block--layout");return Oo.a.createElement("div",{className:i},r?this.renderBlank():a?this.renderPro():this.renderFree(),o&&this.renderRemoveIcon())}}Object(yo.a)(Pc,"defaultProps",{showRemoveIcon:!1,blockData:{},animation:!1,isLayout:!1,onAdd:Ao.a.noop,onRemove:Ao.a.noop,onImageLoaded:Ao.a.noop}),Object(yo.a)(Pc,"propTypes",{showRemoveIcon:Nr.a.bool,blockData:Nr.a.object,animation:Nr.a.bool,isLayout:Nr.a.bool,onAdd:Nr.a.func,onRemove:Nr.a.func,onImageLoaded:Nr.a.func});class wc extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{thumbnailLoaded:!1}),Object(yo.a)(this,"handleLoaded",()=>{this.setState({thumbnailLoaded:!0})})}render(){const e=this.props,{data:{name:t,pages:o,color:n}}=e,a=Object(ca.a)(e,["data"]),{thumbnailLoaded:r}=this.state;return Oo.a.createElement("div",{className:"brz-ed-popup-two-block-info",style:r?xc:{}},Oo.a.createElement(Pc,Object(ta.a)({},a,{data:this.props.data,isLayout:!0,onImageLoaded:this.handleLoaded})),r&&o.length>1&&Oo.a.createElement("span",{className:"brz-ed-popup-two-block-info-color",style:{backgroundColor:n}},Oo.a.createElement("span",{className:"brz-ed-popup-two-block-info-color-opacity",style:{backgroundColor:n}})),Oo.a.createElement("div",{className:"brz-ed-popup-two-block-info-downline"},Oo.a.createElement("div",{className:"brz-ed-popup-two-block-info-title"},t),Oo.a.createElement("div",{className:"brz-ed-popup-two-block-info-title"},o.length," ",o.length>1?Object(an.a)("layouts"):Object(an.a)("layout"))))}}class Tc extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{currentColumns:this.props.columns}),Object(yo.a)(this,"handleResize",()=>{const e=window.innerWidth,{responsive:t,columns:o}=this.props;if(t&&t.length){const n=t.reduce((t,o)=>o.breakpoint>e&&(void 0===t.breakpoint||t.breakpoint>o.breakpoint)?o:t,{});this.setState({currentColumns:n.settings&&n.settings.columns||o})}})}componentDidMount(){this.handleResize(),window.addEventListener("resize",this.handleResize)}componentWillUnmount(){window.removeEventListener("resize",this.handleResize)}render(){const{data:e,onThumbnailAdd:t,onThumbnailRemove:o,ThumbnailComponent:n}=this.props,{currentColumns:a}=this.state;let r=[];for(let e=0;e<a;e++)r.push([]);const i=e.reduce((e,r,i)=>{const l=Oo.a.createElement(n,{key:i,animation:!0,data:r,onAdd:t,onRemove:o});return e[i%a].push(l),e},r).map((e,t)=>Oo.a.createElement("div",{key:t,className:"brz-ed-popup-two-blocks__grid__column",style:{width:"".concat(100/a,"%"),flexBasis:"".concat(100/a,"%")}},e));return Oo.a.createElement("div",{className:"brz-ed-popup-two-blocks__grid"},i)}}function zc(e){const t=Bo.a.get("urls").templateThumbnails;return t?"".concat(t,"/").concat(e.id,".jpg"):Object(wo.a)("thumbs/".concat(e.id,".jpg"))}Object(yo.a)(Tc,"defaultProps",{columns:4,responsive:[{breakpoint:1460,settings:{columns:3}}],ThumbnailComponent:Pc});class kc extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{imageFetched:!1,showSpinner:!1}),Object(yo.a)(this,"mounted",!1)}componentDidMount(){const{src:e,spinnerDelay:t}=this.props;this.mounted=!0,Object(ir.e)(e).then(()=>{this.setState({imageFetched:!0,showSpinner:!1})}),setTimeout(()=>{this.mounted&&!this.state.imageFetched&&this.setState({showSpinner:!0})},t)}render(){const{imageFetched:e,showSpinner:t}=this.state,{className:o,src:n,style:a}=this.props,r=ra()("brz-img",o);return Oo.a.createElement(fo.Fragment,null,e&&Oo.a.createElement("img",{className:r,src:n,style:a}),t&&Oo.a.createElement(ia.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}}function Ec(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Hc(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ec(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ec(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}Object(yo.a)(kc,"defaultProps",{className:"",src:"",style:{},spinnerDelay:250});const _c=Bo.a.get("pro"),Rc=Bo.a.get("urls"),Mc=500,Ic={animationName:"fadeIn",animationFillMode:"both",animationDelay:"200ms",animationDuration:"200ms"};class Fc extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{active:this.props.data.pages[0].id,thumbnailHeight:0,transition:0,previewPointer:"none",importStyles:!1}),Object(yo.a)(this,"thumbnailDetails",Oo.a.createRef()),Object(yo.a)(this,"handleUpdateThumbnail",()=>{this.setState({thumbnailHeight:this.thumbnailDetails.current.clientHeight})}),Object(yo.a)(this,"handleBack",()=>{this.props.onBack()}),Object(yo.a)(this,"handleThumbnailAdd",async()=>{const{data:{name:e},projectFonts:t,onAddBlocks:o,onClose:n}=this.props,{active:a,importStyles:r}=this.state,i=await fetch(Object(wo.a)("templates/resolves/".concat(a,".json"))),{blocks:l}=await i.json();let c;if(r){const t=await fetch(Object(wo.a)("templates/meta.json")),{templates:o}=await t.json();c=o.find(({name:t})=>t===e).styles}let s=Ro({models:l});if(r){const e=Object(Fo.b)(c,({fontStyles:e})=>e),t=Mo(e);s.push(...t)}o({blocks:l,styles:c,fonts:await Object(ko.u)(Io(s,t)),currentStyleId:r&&c&&c[0].id}),n()})}componentDidMount(){this.handleUpdateThumbnail(),window.addEventListener("resize",this.handleUpdateThumbnail),setTimeout(()=>{this.setState({previewPointer:"auto"})},200)}componentWillUnmount(){window.removeEventListener("resize",this.handleUpdateThumbnail)}render(){const{HeaderSlotLeft:e,projectStyles:t,data:{name:o,pages:n,styles:a,pro:r}}=this.props,{active:i,thumbnailHeight:l,previewPointer:c,importStyles:s}=this.state,d=t.find(({id:e})=>a.some(({id:t})=>t===e)),p=n.find(({id:e})=>e===i),u=zc(p),b=n.map((e,t)=>{const o=ra()("brz-ed-popup-two-details-page-select",{"brz-ed-popup-two-details-page-select-active-block":e.id===i}),n=zc(e);return Oo.a.createElement("div",{key:t,className:o,onClick:()=>{this.setState({active:e.id})}},Oo.a.createElement(kc,{src:n,style:Ic}),Oo.a.createElement("div",{className:"brz-ed-popup-two-details-page-select-active"},e.title))}),h=p.thumbnailHeight/Mc,m=!_c&&r;return Oo.a.createElement(fo.Fragment,null,Oo.a.createElement(e,null,Oo.a.createElement("div",{className:"brz-ed-popup-two-header__search brz-ed-popup-two-header__search--hidden"})),Oo.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-blocks__grid brz-ed-popup-two-details"},Oo.a.createElement("div",{className:"brz-ed-popup-two-details-left"},Oo.a.createElement("div",{className:"brz-ed-popup-two-details-back",onClick:this.handleBack},Oo.a.createElement(ia.b,{icon:"nc-arrow-left",className:"brz-ed-popup-two-details-back-icon"}),Object(an.a)("Back to Layouts")),Oo.a.createElement("div",{ref:this.thumbnailDetails,className:"brz-ed-popup-two-details-preview",style:{"--thumbnailHeight":"".concat(l,"px"),"--previewPointer":"".concat(c)}},Oo.a.createElement(kc,{className:"brz-ed-popup-two-details-preview-img",src:u,style:Hc({},Ic,{"--transitionPreview":"transform ".concat(h,"s linear")})}))),Oo.a.createElement("div",{className:"brz-ed-popup-two-details-right"},Oo.a.createElement("div",{className:"brz-ed-popup-two-details-title"},Oo.a.createElement("h2",{className:"brz-ed-popup-two-details-title-name"},o),Oo.a.createElement("div",{className:"brz-ed-popup-two-details-title-count"},n.length," ",n.length>1?Object(an.a)("layouts"):Object(an.a)("layout"))),Oo.a.createElement("div",{className:"brz-ed-popup-two-details-page"},Oo.a.createElement(da.a,null,b))),Oo.a.createElement("div",{className:"brz-ed-popup-two-details-footer"},Oo.a.createElement("div",{className:"brz-ed-popup-two-details-footer-grid"},Oo.a.createElement("div",{className:"brz-ed-popup-two-details-footer-render"},Oo.a.createElement("div",{className:"brz-ed-popup-two-details-footer-radio"},m?Oo.a.createElement("div",{className:"brz-ed-popup-two-details-footer-radio-button brz-ed-popup-two-details-footer-radio-button--pro"},Object(an.a)("Upgrade to PRO to use this layout")):a.length>0&&!d&&Oo.a.createElement("div",{className:"brz-ed-popup-two-details-footer-radio-button",onClick:()=>{this.setState({importStyles:!s})}},Oo.a.createElement(ia.b,{icon:s?"nc-check":"nc-uncheck",className:"brz-ed-popup-two-details-footer-radio-icon"}),Object(an.a)("Replace global styling"))),m?Oo.a.createElement("a",{className:"brz-ed-btn brz-ed-btn-width-2 brz-ed-btn-sm brz-ed-btn-icon brz-ed-btn-icon--left brz-ed-btn-rounded brz-ed-btn-pro",href:Rc.upgradeToPro,rel:"noopener noreferrer",target:"_blank"},Oo.a.createElement(ia.b,{icon:"nc-lock"}),Object(an.a)("Get Brizy PRO")):Oo.a.createElement("div",{className:"brz-ed-popup-two-details-footer-render-button",onClick:this.handleThumbnailAdd},Object(an.a)("Import This Layout")))))))}}Object(yo.a)(Fc,"defaultProps",{data:{pages:[]},onClose:Ao.a.noop,onAddBlocks:Ao.a.noop,onBack:Ao.a.noop});var Nc=Object(xo.b)(e=>({projectStyles:Object(nn.A)(e),projectFonts:Object(nn.g)(e)}),e=>({dispatch:e}))(Fc);function Lc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class Wc extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{data:null,thumbnailData:null}),Object(yo.a)(this,"handleThumbnailAdd",e=>{this.setState({thumbnailData:e})})}async componentDidMount(){const e=await this.getData();this.setState({data:e})}async getData(){const e=Object(wo.a)("templates/meta.json"),t=await fetch(e);return await t.json()}renderLoading(){const{showSidebar:e,showSearch:t,HeaderSlotLeft:o}=this.props;return Oo.a.createElement(fo.Fragment,null,t&&Oo.a.createElement(o,null,Oo.a.createElement(yc,{className:"brz-ed-popup-two-header__search"})),e&&Oo.a.createElement("div",{className:"brz-ed-popup-two-body__sidebar"},Oo.a.createElement("div",{className:"brz-ed-popup-two-sidebar-body"})),Oo.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-body__content--loading"},Oo.a.createElement(ia.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})))}renderList(){const{data:e}=this.state,{showSidebar:t,showSearch:o,HeaderSlotLeft:n}=this.props,{templates:a}=e,r=a.map(e=>(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Lc(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Lc(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e})({},e,{},e.pages[0],{thumbnailSrc:zc(e.pages[0])})),i=a,l={};for(let e=0;e<i.length;e++){const t=i[e].cat;for(let e=0;e<t.length;e++){const o=t[e];l["*"]=i.length,void 0===l[o]?l[o]=1:l[o]++}}const c=[{id:"*",title:Object(an.a)("All Categories")}].concat(e.categories);return Oo.a.createElement(uc,{data:r,filterFn:(e,t)=>{const o="*"===t.category||e.cat.includes(Number(t.category)),n=""===t.search||new RegExp(t.search.replace(/[.*+?^${}()|[\]\\]/g,""),"i").test(e.keywords);return o&&n},defaultFilter:{category:"*",search:""}},(e,a,r)=>Oo.a.createElement(fo.Fragment,null,o&&Oo.a.createElement(n,null,Oo.a.createElement(yc,{className:"brz-ed-popup-two-header__search",value:a.search,onChange:e=>r({search:e})})),t&&Oo.a.createElement(vc,null,Oo.a.createElement(bc,{title:"CATEGORIES"},Oo.a.createElement(hc,{lists:c,value:a.category,counters:l,onChange:e=>r({category:e})}))),Oo.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-blocks-body-layouts"},Oo.a.createElement(da.a,null,e.length>1?Oo.a.createElement(Tc,{data:e,ThumbnailComponent:wc,onThumbnailAdd:this.handleThumbnailAdd,onThumbnailRemove:this.handleThumbnailRemove}):Oo.a.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},Oo.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},Object(an.a)("Nothing here, please refine your search.")))))))}renderDetails(){return Oo.a.createElement(Nc,Object(ta.a)({},this.props,{data:this.state.thumbnailData,onBack:()=>{this.setState({thumbnailData:null})}}))}render(){const{data:e,thumbnailData:t}=this.state;return e?t?this.renderDetails():this.renderList():this.renderLoading()}}Object(yo.a)(Wc,"defaultProps",{showSidebar:!0,showSearch:!0,onAddBlocks:Ao.a.noop,onClose:Ao.a.noop,onNext:Ao.a.noop});let Vc={type:0,category:"*",search:""};class Dc extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleThumbnailAdd",e=>{this.props.onChange(e)}),Object(yo.a)(this,"handleImportKit",e=>{this.props.onChangeKit(e)})}getData(e,t){const{categoriesFilter:o}=this.props,n=e.find(({id:e})=>e===t),{categories:a,blocks:r,styles:i,types:l}=n,c=o([{id:"*",title:Object(an.a)("All Categories")},...a]),s=new Map(c.map(e=>[e.id,!0]));return{styles:i,types:l,categories:c,blocks:r.filter(e=>e.cat.some(e=>s.get(e)))}}renderLoading(){const{showSidebar:e,showSearch:t,HeaderSlotLeft:o}=this.props;return Oo.a.createElement(Oo.a.Fragment,null,t&&Oo.a.createElement(o,null,Oo.a.createElement(yc,{className:"brz-ed-popup-two-header__search"})),e&&Oo.a.createElement("div",{className:"brz-ed-popup-two-body__sidebar"},Oo.a.createElement("div",{className:"brz-ed-popup-two-sidebar-body"})),Oo.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-body__content--loading"},Oo.a.createElement(ia.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})))}render(){const{loading:e,kits:t,blocks:o,types:n,categories:a,selectedKit:r,showSearch:i,showSidebar:l,showType:c,showCategories:s,HeaderSlotLeft:d}=this.props;if(e)return this.renderLoading();const p={},u={},b=t.filter(({id:e})=>e!==r).length>0;return Oo.a.createElement(uc,{data:o,filterFn:(e,t)=>{const o=t.type===e.type,n="*"===t.category||e.cat.includes(Number(t.category)),a=""===t.search||new RegExp(t.search.replace(/[.*+?^${}()|[\]\\]/g,""),"i").test(e.keywords);return o&&n&&a},defaultFilter:Vc},(e,h,m)=>{if(Vc.type=h.type,!p[h.type])for(let e=0;e<o.length;e++){const t=o[e].type,n=o[e].cat;if(void 0===p[t]?p[t]=1:p[t]++,h.type===t){u["*"]=p[t];for(let e=0;e<n.length;e++){const t=n[e];void 0===u[t]?u[t]=1:u[t]++}}}return Oo.a.createElement(Oo.a.Fragment,null,i&&Oo.a.createElement(d,null,Oo.a.createElement(yc,{className:"brz-ed-popup-two-header__search",value:h.search,onChange:e=>m({search:e})})),l&&Oo.a.createElement(vc,null,b&&Oo.a.createElement(bc,{title:"BLOCKS"},Oo.a.createElement(Lr.a,{defaultValue:r,className:"brz-control__select--dark brz-control__select--full-width",maxItems:"6",itemHeight:"30",onChange:this.handleImportKit},t.map(({id:e,name:t},o)=>Oo.a.createElement(Wr.a,{key:o,value:e},t)))),c&&Oo.a.createElement(bc,{title:"STYLES"},Oo.a.createElement(hc,{lists:n,counters:p,value:h.type,onChange:e=>m({type:e})})),s&&Oo.a.createElement(bc,{title:"CATEGORIES"},Oo.a.createElement(hc,{lists:a,counters:u,value:h.category,onChange:e=>m({category:e})}))),Oo.a.createElement("div",{className:"brz-ed-popup-two-body__content"},Oo.a.createElement(da.a,null,e.length>0?Oo.a.createElement(Tc,{data:e,onThumbnailAdd:this.handleThumbnailAdd}):Oo.a.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},Oo.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},Object(an.a)("Nothing here, please refine your search."))))))})}}Object(yo.a)(Dc,"defaultProps",{showSidebar:!0,showSearch:!0,showType:!0,showCategories:!0,loading:!1,kits:[],styles:[],types:[],categories:[],blocks:[],HeaderSlotLeft:Ao.a.noop,HeaderSlotRight:Ao.a.noop,onAddBlocks:Ao.a.noop,onClose:Ao.a.noop,onChange:Ao.a.noop,onChangeKit:Ao.a.noop});var Ac=Dc;function Gc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Uc(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Gc(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Gc(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Kc extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{kits:[],loading:!0,styles:[],types:[],categories:[],blocks:[]}),Object(yo.a)(this,"handleThumbnailAdd",async e=>{const{projectFonts:t,onAddBlocks:o,onClose:n}=this.props,a=Uc({},await this.getBlockResolve(e.id),{blockId:e.id}),r=Io(Ro({models:a}),t);o({block:a,fonts:await Object(ko.u)(r)}),n()}),Object(yo.a)(this,"handleImportKit",async e=>{const{selectedKit:t,projectFonts:o,projectStyles:n,dispatch:a}=this.props,{kits:r}=this.state;if(t===e)return;const i=this.getKitData(r,e),{styles:l}=i;if(this.setState(i),l.some(({id:e})=>!n.some(({id:t})=>t===e))){const t=l.reduce((e,{fontStyles:t})=>e.concat(Mo(t)),[]),n=await Object(ko.u)(Io(t,o));a(Object(Uo.L)({selectedKit:e,styles:l,fonts:n}))}else a(Object(Uo.T)(e))})}async getMeta(){const{type:e}=this.props,t=await fetch(Object(wo.a)("".concat(e,"/meta.json")));return await t.json()}async getBlockResolve(e){const{type:t}=this.props,o=await fetch(Object(wo.a)("".concat(t,"/resolves/").concat(e,".json")));return await o.json()}getKitData(e,t=this.props.selectedKit){const{categoriesFilter:o}=this.props,n=e.find(({id:e})=>e===t),{categories:a,blocks:r,styles:i,types:l}=n,c=o([{id:"*",title:Object(an.a)("All Categories")},...a]),s=new Map(c.map(e=>[e.id,!0])),d=r.filter(e=>e.cat.some(e=>s.get(e))).map(e=>Uc({},e,{thumbnailSrc:Object(rr.a)(e)}));return{kits:e,styles:i,types:l,categories:c.filter(({hidden:e})=>!0!==e),blocks:d}}getPopupData({blocks:e}){return{blocks:e.map(e=>Uc({},e,{thumbnailSrc:Object(rr.a)(e)}))}}async componentDidMount(){const e=await this.getMeta(),t="kits"===this.props.type?this.getKitData(e):this.getPopupData(e);this.setState(Uc({},t,{loading:!1}))}render(){const{kits:e,types:t,blocks:o,categories:n,loading:a}=this.state;return Oo.a.createElement(Ac,Object(ta.a)({},this.props,{loading:a,kits:e,blocks:o,categories:n,types:t,onChangeKit:this.handleImportKit,onChange:this.handleThumbnailAdd}))}}Object(yo.a)(Kc,"defaultProps",{showSidebar:!0,showSearch:!0,showType:!0,showCategories:!0,type:"kits",categoriesFilter:e=>e,HeaderSlotLeft:Ao.a.noop(),HeaderSlotRight:Ao.a.noop(),onAddBlocks:Ao.a.noop,onClose:Ao.a.noop});var qc=Object(xo.b)(e=>({selectedKit:Object(nn.t)(e).data.selectedKit,projectFonts:Object(nn.g)(e),projectStyles:Object(nn.A)(e)}),e=>({dispatch:e}))(Kc);class Yc extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{search:""}),Object(yo.a)(this,"handleThumbnailAdd",async e=>{const{projectFonts:t,onAddBlocks:o,onClose:n}=this.props,{resolve:a}=e,r=Io(Ro({models:a}),t);o({block:a,fonts:await Object(ko.u)(r)}),n()}),Object(yo.a)(this,"handleThumbnailRemove",e=>{this.props.dispatch(Object(Uo.I)({id:e.id}))})}renderThumbnails(e){const{HeaderSlotLeft:t,showSearch:o}=this.props;return Oo.a.createElement(fo.Fragment,null,o&&Oo.a.createElement(t,null,Oo.a.createElement(yc,{className:"brz-ed-popup-two-header__search",value:this.state.search,onChange:e=>this.setState({search:e})})),Oo.a.createElement("div",{className:"brz-ed-popup-two-body__content"},Oo.a.createElement(da.a,null,Oo.a.createElement(Tc,{data:e,onThumbnailAdd:this.handleThumbnailAdd,onThumbnailRemove:this.handleThumbnailRemove}))))}renderEmpty(){const{HeaderSlotLeft:e,showSearch:t}=this.props;return Oo.a.createElement(fo.Fragment,null,t&&Oo.a.createElement(e,null,Oo.a.createElement(yc,{className:"brz-ed-popup-two-header__search",value:this.state.search,onChange:e=>this.setState({search:e})})),Oo.a.createElement("div",{className:"brz-ed-popup-two-body__content"},Oo.a.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},""!==this.state.search?Oo.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},Object(an.a)("Nothing here, please refine your search.")):Oo.a.createElement(fo.Fragment,null,Oo.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},Object(an.a)("Nothing here yet, save a block first.")),Oo.a.createElement("img",{src:"".concat(Object(wo.a)("editor/img/save_toolbar.gif"),"?").concat(Math.random()),className:"brz-ed-popup-two-blocks__grid-clear-image-saved",alt:"Saved"})))))}render(){const{savedBlocks:e,blocksFilter:t}=this.props,o=t(Object.entries(e)).reduce((e,[t,o])=>{const{url:n,width:a,height:r}=Object(rr.b)(o.data),i={id:t,thumbnailSrc:n,thumbnailWidth:a,thumbnailHeight:r,showRemoveIcon:!0,resolve:o.data};return e.push(i),e},[]);return o.length>0?this.renderThumbnails(o):this.renderEmpty()}}Object(yo.a)(Yc,"defaultProps",{showSearch:!0,blocksFilter:e=>e,onAddBlocks:Ao.a.noop,onClose:Ao.a.noop});var Xc=Object(xo.b)(e=>({savedBlocks:Object(nn.w)(e),projectFonts:Object(nn.g)(e)}))(Yc);class Zc extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{search:""}),Object(yo.a)(this,"handleThumbnailAdd",async e=>{const{globalBlocks:t,projectFonts:o,onAddBlocks:n,onClose:a}=this.props,{resolve:r}=e,i=Io(Ro({models:r,globalBlocks:t}),o);n({block:r,fonts:await Object(ko.u)(i)}),a()}),Object(yo.a)(this,"handleThumbnailRemove",e=>{const{dispatch:t}=this.props,{id:o}=e;t(Object(Uo.H)({id:o}))})}renderThumbnails(e){const{HeaderSlotLeft:t,showSearch:o}=this.props;return Oo.a.createElement(fo.Fragment,null,o&&Oo.a.createElement(t,null,Oo.a.createElement(yc,{className:"brz-ed-popup-two-header__search",value:this.state.search,onChange:e=>this.setState({search:e})})),Oo.a.createElement("div",{className:"brz-ed-popup-two-body__content"},Oo.a.createElement(da.a,null,Oo.a.createElement(Tc,{data:e,onThumbnailAdd:this.handleThumbnailAdd,onThumbnailRemove:this.handleThumbnailRemove}))))}renderEmpty(){const{HeaderSlotLeft:e,showSearch:t}=this.props;return Oo.a.createElement(fo.Fragment,null,t&&Oo.a.createElement(e,null,Oo.a.createElement(yc,{className:"brz-ed-popup-two-header__search",value:this.state.search,onChange:e=>this.setState({search:e})})),Oo.a.createElement("div",{className:"brz-ed-popup-two-body__content"},Oo.a.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},""!==this.state.search?Oo.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},Object(an.a)("Nothing here, please refine your search.")):Oo.a.createElement(fo.Fragment,null,Oo.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},Object(an.a)("Nothing here yet, make a global block first.")),Oo.a.createElement("img",{src:"".concat(Object(wo.a)("editor/img/global_toolbar.gif"),"?").concat(Math.random()),className:"brz-ed-popup-two-blocks__grid-clear-image-global",alt:"Global"})))))}render(){const{globalBlocks:e,blocksFilter:t}=this.props,o=t(Object.entries(e)).reduce((e,[t,o])=>{if(o.data.deleted)return e;const{url:n,width:a,height:r}=Object(rr.b)(o.data),i={id:t,thumbnailSrc:n,thumbnailWidth:a,thumbnailHeight:r,showRemoveIcon:!0,resolve:{type:"GlobalBlock",blockId:o.data.blockId,value:{globalBlockId:t}}};return e.push(i),e},[]);return o.length>0?this.renderThumbnails(o):this.renderEmpty()}}Object(yo.a)(Zc,"defaultProps",{showSearch:!0,blocksFilter:e=>e,onAddBlocks:Ao.a.noop,onClose:Ao.a.noop});var Jc=Object(xo.b)(e=>({globalBlocks:Object(nn.i)(e),projectFonts:Object(nn.g)(e)}),e=>({dispatch:e}))(Zc);const $c=[{id:"templates",title:Object(an.a)("Layouts"),icon:"nc-pages",component:Wc},{id:"blocks",title:Xa.b?Object(an.a)("Popups"):Object(an.a)("Blocks"),icon:"nc-blocks",component:qc},{id:"saved",title:Xa.b?Object(an.a)("Saved Popups"):Object(an.a)("Saved Blocks"),icon:"nc-save-section",component:Xc},{id:"global",title:Xa.b?Object(an.a)("Global Popups"):Object(an.a)("Global Blocks"),icon:"nc-global",component:Jc}];class Qc extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{currentTab:"blocks"})}handleTabChange(e){this.setState({currentTab:e})}renderTabs(){const{currentTab:e}=this.state,{tabs:t,onClose:o}=this.props,n=$c.filter(e=>!1!==t[e.id]).map(t=>{const o=ra()("brz-ed-popup-two-tab-item",{"brz-ed-popup-two-tab-item-active":t.id===e});return Oo.a.createElement("div",{key:t.id,className:o,onClick:()=>this.handleTabChange(t.id)},Oo.a.createElement("div",{className:"brz-ed-popup-two-tab-icon"},Oo.a.createElement(ia.b,{icon:t.icon})),Oo.a.createElement("div",{className:"brz-ed-popup-two-tab-name"},t.title))});return Oo.a.createElement("div",{className:"brz-ed-popup-two-header"},Oo.a.createElement("div",{id:"brz-ed-popup-header-left-slot"}),Oo.a.createElement("div",{className:"brz-ed-popup-two-header__tabs"},n),Oo.a.createElement("div",{id:"brz-ed-popup-header-right-slot"}),Oo.a.createElement("div",{className:"brz-ed-popup-two-btn-close",onClick:o}))}renderContent(){const{tabProps:e,onClose:t}=this.props,{currentTab:o}=this.state,n=$c.find(e=>e.id===o).component,a=e[o];return Oo.a.createElement(n,Object(ta.a)({onClose:t,HeaderSlotLeft:e=>Oo.a.createElement(es,Object(ta.a)({},e,{slot:"left"})),HeaderSlotRight:e=>Oo.a.createElement(es,Object(ta.a)({},e,{slot:"right"}))},a))}render(){const{onClose:e}=this.props;return Oo.a.createElement(ai,{onClose:e},Oo.a.createElement("div",{className:"brz-ed-popup-two-wrapper brz-ed-popup-two-blocks"},this.renderTabs(),Oo.a.createElement("div",{className:"brz-ed-popup-two-body"},this.renderContent())))}}Object(yo.a)(Qc,"defaultProps",{tabs:{},tabProps:{},onClose:Ao.a.noop});class es extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{isMounted:!1}),Object(yo.a)(this,"headerSlotNode",void 0)}componentDidMount(){this.headerSlotNode=window.parent.document.querySelector("#brz-ed-popup-header-".concat(this.props.slot,"-slot")),this.setState({isMounted:!0})}render(){return this.state.isMounted&&So.a.createPortal(this.props.children,this.headerSlotNode)}}Object(yo.a)(es,"propTypes",{slot:Nr.a.oneOf(["left","right"]).isRequired}),Object(yo.a)(es,"defaultProps",{slot:"left"});var ts=Qc;const os=({formId:e})=>{const{api:t}=Bo.a.get("wp"),o=Bo.a.get("editorVersion"),n=ol(t.url,{formId:e,action:t.getForm,hash:t.hash,version:o});return Object(Po.z)(n,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(nl).then(e=>e)},ns=({formId:e})=>{const{api:t}=Bo.a.get("wp"),o=Bo.a.get("editorVersion"),n=ol(t.url,{action:t.createForm,hash:t.hash,version:o});return Object(Po.z)(n,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({id:e})}).then(nl).then(e=>e)},as=({formId:e,hasEmailTemplate:t,emailTemplate:o})=>{const{api:n}=Bo.a.get("wp"),a=Bo.a.get("editorVersion"),r=ol(n.url,{formId:e,action:n.updateForm,hash:n.hash,version:a});return Object(Po.z)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({hasEmailTemplate:t,emailTemplate:o})}).then(nl).then(e=>e)},rs=({formId:e,id:t})=>{const{api:o}=Bo.a.get("wp"),n=Bo.a.get("editorVersion"),a=ol(o.url,{action:o.getIntegration,hash:o.hash,version:n,formId:e,integration:t});return Object(Po.z)(a,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(nl).then(e=>e)},is=({formId:e,id:t})=>{const{api:o}=Bo.a.get("wp"),n=Bo.a.get("editorVersion"),a=ol(o.url,{action:o.createIntegration,hash:o.hash,version:n,formId:e});return Object(Po.z)(a,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({id:t})}).then(nl).then(e=>e)},ls=e=>{let{formId:t}=e,o=Object(ca.a)(e,["formId"]);const{api:n}=Bo.a.get("wp"),a=Bo.a.get("editorVersion"),r=ol(n.url,{action:n.updateIntegration,hash:n.hash,version:a,formId:t}),i=Ao.a.pick(o,["id","usedAccount","fieldsMap","usedList","confirmationNeeded","usedFolder","completed"]);return Object(Po.z)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(i)}).then(nl).then(e=>e)},cs=({formId:e,id:t})=>{const{api:o}=Bo.a.get("wp"),n=Bo.a.get("editorVersion"),a=ol(o.url,{action:o.getAccountProperties,hash:o.hash,version:n,formId:e,integration:t});return Object(Po.z)(a,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(nl).then(e=>e)},ss=({formId:e,id:t,data:o})=>{const{api:n}=Bo.a.get("wp"),a=Bo.a.get("editorVersion"),r=ol(n.url,{action:n.authenticateIntegration,hash:n.hash,version:a,formId:e,integration:t});return Object(Po.z)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(o)}).then(nl).then(e=>e)},ds=({formId:e,id:t,data:o})=>{const{api:n}=Bo.a.get("wp"),a=Bo.a.get("editorVersion"),r=ol(n.url,{action:n.createIntegrationGroup,hash:n.hash,version:a,formId:e,integration:t});return Object(Po.z)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(o)}).then(nl).then(e=>e)},ps=(...e)=>rs(...e),us=(...e)=>is(...e),bs=e=>{let{formId:t}=e,o=Object(ca.a)(e,["formId"]);const{api:n}=Bo.a.get("wp"),a=Bo.a.get("editorVersion"),r=ol(n.url,{action:n.updateIntegration,hash:n.hash,version:a,formId:t});return Object(Po.z)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(o)}).then(nl).then(e=>e)},hs=({group:e,service:t,secretkey:o,sitekey:n,response:a})=>{const{api:r}=Bo.a.get("wp"),i=Bo.a.get("editorVersion"),l=ol(r.url,{action:r.addAccount,hash:r.hash,version:i,secretkey:o,response:a});return Object(Po.z)(l,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({group:e,service:t,sitekey:n,secretkey:o})}).then(nl).then(e=>e)};function ms(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function gs(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ms(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ms(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const vs=(e,t)=>{const o=t.map(e=>e.title).join(" & ");switch(e.code){case 401:return"".concat(Object(an.a)("Incorrect")," ").concat(o);case 400:return Object(an.a)("Duplicate Account");default:return Object(an.a)("Something went wrong")}};class ys extends fo.Component{constructor(e,t){super(e),Object(yo.a)(this,"handleChange",(e,t)=>{this.setState(o=>({apiKeyValue:gs({},o.apiKeyValue,{["".concat(t)]:e.trim()})}))}),Object(yo.a)(this,"handleConnect",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeProgress:a,onChangeNext:r}=this.context,{apiKeyValue:i}=this.state,l=Object.values(i);if(this.setState({nextLoading:!0,error:null}),l.some(e=>!e))await al(),this.setState({error:Object(an.a)("Fields are empty"),nextLoading:!1});else{const{status:l,data:c}=await ss(gs({},t,{formId:o,data:i}));if(200!==l)this.setState({nextLoading:!1,error:vs(c,t.accountApiKeys)});else{n(e,gs({},t,{accounts:[...t.accounts||[],c]})),a({showProgress:!0}),r()}}}),Object(yo.a)(this,"handlePrev",async()=>{const{oldStage:e,onChangeNext:t,onChangePrev:o,onChangeProgress:n}=this.context;this.setState({error:null,prevLoading:!0}),await al(),n({showProgress:!0}),"account"===e?t("account"):o()});const{data:{accountApiKeys:o}}=t.app,n=o.reduce((e,{name:t})=>gs({},e,{["".concat(t)]:""}),{});this.state={apiKeyValue:n,nextLoading:!1,prevLoading:!1,error:null}}static async onBeforeLoad(e,t){const{formId:o,app:{id:n,data:a},onChange:r,onChangeProgress:i}=e,{data:l}=await cs({id:n,formId:o});r(n,gs({},a,{accountApiKeys:l})),a.usedAccount||a.accounts&&a.accounts.length?t.onChangeNext():i({showProgress:!1})}render(){const{app:e}=this.context,{apiKeyValue:t,error:o,nextLoading:n,prevLoading:a}=this.state,r=e.data.accountApiKeys.map(({title:e,name:o})=>({title:e,name:o,value:t[o]}));return Oo.a.createElement(Bl,Object(ta.a)({},e,{data:r,error:o,nextLoading:n,prevLoading:a,onPrev:this.handlePrev,onNext:this.handleConnect,onChange:this.handleChange}))}}Object(yo.a)(ys,"contextType",Wi);var fs=ys;function Os(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Cs(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Os(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Os(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Ss extends fo.Component{constructor(e,t){super(e),Object(yo.a)(this,"handleActive",e=>{this.setState({active:e})}),Object(yo.a)(this,"handleConnect",async()=>{const{onChangeProgress:e,onChangePrev:t}=this.context;this.setState({connectLoading:!0}),await al(),e({showProgress:!1}),t("connect")}),Object(yo.a)(this,"handleDisconnect",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onDisconnectApp:a,onChangeProgress:r}=this.context;this.setState({nextLoading:!0,error:null});const{status:i,data:l}=await ls(Cs({},t,{formId:o,usedAccount:null}));200!==i?this.setState({nextLoading:!1,error:Object(an.a)("Something went wrong")}):(this.setState({mode:"account",nextLoading:!1}),n(e,Cs({},t,{},l)),r({showProgress:!0}),a(e))}),Object(yo.a)(this,"handleAccountMode",async()=>{this.setState({prevLoading:!0,error:null}),await al(),this.context.onChangeProgress({showProgress:!0}),this.setState({mode:"account",prevLoading:!1})}),Object(yo.a)(this,"handleDisconnectMode",async()=>{this.setState({disconnectLoading:!0,error:null}),await al(),this.context.onChangeProgress({showProgress:!1}),this.setState({mode:"disconnect",disconnectLoading:!1})}),Object(yo.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeNext:a}=this.context,{active:r}=this.state;if(this.setState({nextLoading:!0,error:null}),r!==t.usedAccount){const{status:i,data:l}=await ls(Cs({},t,{formId:o,usedAccount:r}));200!==i?this.setState({nextLoading:!1,error:Object(an.a)("Something went wrong")}):(n(e,Cs({},t,{},l)),a())}else await al(),a()}),Object(yo.a)(this,"handlePrev",async()=>{const{onChangePrev:e}=this.context;this.setState({prevLoading:!0}),await al(),e("appList")}),this.state={active:this.getActiveAccount(t.app.data),mode:"account",nextLoading:!1,prevLoading:!1,connectLoading:!1,disconnectLoading:!1}}getActiveAccount(e){const t=e.accounts.length?e.accounts[0].id:"";return e.usedAccount||t}render(){const{app:e}=this.context;return"account"===this.state.mode?Oo.a.createElement(xl,Object(ta.a)({},e,this.state,{onActive:this.handleActive,onConnect:this.handleConnect,onDisconnect:this.handleDisconnectMode,onConfirm:this.handleConfirm,onPrev:this.handlePrev,onNext:this.handleNext})):Oo.a.createElement(wl,Object(ta.a)({},e,this.state,{descriptions:"Subscribers are automatically synced to your ".concat(e.title," list"),onPrev:this.handleAccountMode,onNext:this.handleDisconnect}))}}Object(yo.a)(Ss,"contextType",Wi);var xs=Ss;function js(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Bs(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?js(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):js(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Ps extends fo.Component{constructor(e,t){super(e),Object(yo.a)(this,"handleActive",e=>{this.setState({active:e})}),Object(yo.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeNext:a}=this.context,{active:r}=this.state;if(this.setState({nextLoading:!0,error:null}),r!==t.usedFolder){const{status:i,data:l}=await ls(Bs({},t,{formId:o,usedFolder:r}));200!==i?this.setState({nextLoading:!1,error:Object(an.a)("Something went wrong")}):(n(e,Bs({},t,{},l)),a())}else await al(),a()}),Object(yo.a)(this,"handlePrev",async e=>{this.setState({prevLoading:!0,error:null}),await al(),e&&"string"==typeof e?this.context.onChangePrev(e):this.context.onChangePrev()}),this.state={active:this.getActiveClient(t.app.data),nextLoading:!1,prevLoading:!1}}getActiveClient(e){const{usedFolder:t,folders:o}=e,n=o.length?o[0].id:"";return t||n}render(){const{app:e}=this.context,{folders:t,accountPro:o}=e.data;return Oo.a.createElement(Gl,Object(ta.a)({},this.state,{listPro:o,lists:t,onActive:this.handleActive,onPrev:this.handlePrev,onNext:this.handleNext}))}}Object(yo.a)(Ps,"contextType",Wi);var ws=Ps;function Ts(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function zs(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ts(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ts(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class ks extends fo.Component{constructor(e,t){super(e),Object(yo.a)(this,"handleActive",(e,t)=>{const{formFields:o}=this.state,n=o.findIndex(({sourceId:t})=>t===e);this.setState({formFields:Object(kn.replaceAt)(o,n,zs({},o[n],{target:t}))})}),Object(yo.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0,error:null}),await al(),this.context.onChangePrev()}),Object(yo.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeNext:a}=this.context,{formFields:r}=this.state;if(this.setState({nextLoading:!0,error:null}),cl(t.fields,r,"select")){const{status:i,data:l}=await ls(zs({},t,{formId:o,fieldsMap:JSON.stringify(r),completed:!0}));200!==i?this.setState({nextLoading:!1,error:Object(an.a)("Something went wrong")}):(n(e,zs({},t,{},l)),a())}else await al(),this.setState({error:Object(an.a)("All fields marked with an asterisk ( * ) must be mapped."),nextLoading:!1})});const{app:{data:{fieldsMap:o,fields:n},restrictions:a},formFields:r}=t;this.state={formFields:rl(o,n,r,a),prevLoading:!1,nextLoading:!1,error:null}}render(){const{app:e}=this.context,{formFields:t,error:o,nextLoading:n,prevLoading:a}=this.state;return Oo.a.createElement(Dl,Object(ta.a)({},e,e.data,{formFields:t,error:o,nextLoading:n,prevLoading:a,onActive:this.handleActive,onPrev:this.handlePrev,onNext:this.handleNext}))}}Object(yo.a)(ks,"contextType",Wi);var Es=ks;function Hs(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _s(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Hs(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Hs(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Rs extends fo.Component{constructor(e,t){super(e),Object(yo.a)(this,"handleActive",(e,t)=>{const{formFields:o}=this.state,n=o.findIndex(({sourceId:t})=>t===e);this.setState({formFields:Object(kn.replaceAt)(o,n,_s({},o[n],{target:t}))})}),Object(yo.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0,error:null}),await al(),this.context.onChangePrev()}),Object(yo.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeNext:a}=this.context,{formFields:r}=this.state;if(this.setState({error:null,nextLoading:!0}),cl(t.fields,r,"input")){const{status:i,data:l}=await ls(_s({},t,{formId:o,fieldsMap:JSON.stringify(r),completed:!0}));200!==i?this.setState({nextLoading:!1,error:Object(an.a)("Something went wrong")}):(n(e,_s({},t,{},l)),a())}else await al(),this.setState({error:Object(an.a)("All fields cannot be empty"),nextLoading:!1})});const{app:{data:o,restrictions:n},formFields:a}=t,{fieldsMap:r,fields:i}=o||{};this.state={formFields:rl(r,i,a,n),prevLoading:!1,nextLoading:!1}}static async onBeforeLoad(e){const{app:{id:t,data:o},onChange:n}=e;n(t,_s({},o,{fields:[]}))}render(){const{app:{title:e}}=this.context,{formFields:t,error:o,nextLoading:n,prevLoading:a}=this.state,r=t.map(({sourceTitle:e,sourceId:t,target:o})=>({title:e,name:t,value:"_auto_generate"===o?e:o}));return Oo.a.createElement(Wl,{headTitle:Object(an.a)("FORM FIELDS"),headDescription:"".concat(e," ").concat(Object(an.a)("FIELDS")),data:r,error:o,nextLoading:n,prevLoading:a,onActive:this.handleActive,onPrev:this.handlePrev,onNext:this.handleNext})}}Object(yo.a)(Rs,"contextType",Wi);var Ms=Rs;function Is(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Fs(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Is(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Is(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Ns extends fo.Component{constructor(e){super(e),Object(yo.a)(this,"handleChange",(e,t)=>{this.setState(({apiKeyValue:o})=>({apiKeyValue:Fs({},o,{["".concat(e)]:t})}))}),Object(yo.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,apiKeys:n,onChange:a,onChangeNext:r}=this.props,{apiKeyValue:i}=this.state;if(this.setState({nextLoading:!0,error:null}),n.find(({required:e,name:t})=>e&&!i[t]))await al(),this.setState({error:Object(an.a)("All fields marked with an asterisk ( * ) must be completed."),nextLoading:!1});else{const{status:n,data:l}=await bs(Fs({},t,{},i,{formId:o,completed:!0}));200!==n?this.setState({nextLoading:!1,error:Object(an.a)("Something went wrong")}):(a(e,Fs({},t,{},l)),r())}}),Object(yo.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await al(),this.props.onChangePrev()}),this.state={apiKeyValue:this.getDefaultValue(),prevLoading:!1,nextLoading:!1,error:null}}getDefaultValue(){const{app:{data:e},apiKeys:t}=this.props;return t.reduce((t,{name:o})=>Fs({},t,{["".concat(o)]:e[o]||""}),{})}render(){const{app:e,apiKeys:t}=this.props,{apiKeyValue:o,error:n,prevLoading:a,nextLoading:r}=this.state,i=t.map(e=>Fs({},e,{value:o[e.name]}));return Oo.a.createElement(Wl,Object(ta.a)({},e,{data:i,error:n,prevLoading:a,nextLoading:r,onActive:this.handleChange,onPrev:this.handlePrev,onNext:this.handleNext}))}}var Ls=Ns;const Ws=[{name:"emailTo",title:Object(an.a)("Email To"),required:!0,helper:'<p class="brz-p">If you need to have multiple emails you can separate them by commas:</p>\n <p class="brz-p"><span class="brz-span">me@email.com,</span> <span class="brz-span">hi@email.com</span></p>'},{name:"subject",title:Object(an.a)("Subject")},{name:"fromEmail",title:Object(an.a)("From Email")},{name:"fromName",title:Object(an.a)("From Name")},{name:"replayTo",title:Object(an.a)("Reply-To")},{name:"cc",title:Object(an.a)("Cc")},{name:"bcc",title:Object(an.a)("Bcc")},{name:"metaData",title:Object(an.a)("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 Vs extends fo.Component{render(){return Oo.a.createElement(Ls,Object(ta.a)({},this.context,{apiKeys:Ws,onClose:this.props.onClose}))}}Object(yo.a)(Vs,"contextType",Wi);var Ds=Vs,As=o(8);class Gs extends fo.Component{renderError(){return Oo.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},Oo.a.createElement("span",{className:"brz-span"},this.props.error))}renderInput({name:e}){const{apiKeyValue:t,onChange:o}=this.props;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},Oo.a.createElement("input",{className:"brz-input",value:t[e],onChange:t=>{o(e,t.target.value)}}))}renderSelect({name:e,choices:t}){const{apiKeyValue:o,onChange:n}=this.props,a=o[e],r=(a?t:[{id:"",name:"Please Select Folder"},...t]).map((e,t)=>{const{id:o,name:n}=e;return Oo.a.createElement(Wr.a,{key:t,value:o},n)});return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},Oo.a.createElement(Lr.a,{defaultValue:a,className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,onChange:t=>{n(e,t)}},r))}renderTextarea({name:e}){const{apiKeyValue:t,onChange:o}=this.props;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},Oo.a.createElement("textarea",{className:"brz-textarea",value:t[e],onChange:t=>{o(e,t.target.value)}}))}renderApiKeys(){const e=this.props.listsCreate.map((e,t)=>{const{title:o,type:n}=e;return Oo.a.createElement("div",{key:t,className:"brz-ed-popup-integrations-step__fields-option"},Oo.a.createElement("p",{className:"brz-p"},o),this["render".concat(Object(As.c)(n))](e))});return Oo.a.createElement(hl.a,{style:{maxHeight:255},className:"brz-ed-scroll-pane brz-ed-popup-integrations__scroll-pane"},e)}render(){const{listsCreate:e,nextLoading:t,prevLoading:o,error:n,onPrev:a,onNext:r}=this.props;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__lists-create"},n&&this.renderError(),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},Oo.a.createElement("p",{className:"brz-p"},Oo.a.createElement("strong",{className:"brz-strong"},Object(an.a)("CREATE LIST")))),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},e.length>0&&this.renderApiKeys(),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},Oo.a.createElement(Cl,{type:"gray",leftIcon:"nc-arrow-left",loading:o,onClick:a},Object(an.a)("Back")),Oo.a.createElement(Cl,{type:"tail",loading:t,onClick:r},Object(an.a)("Create")))))}}function Us(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ks(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Us(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Us(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}Object(yo.a)(Gs,"defaultProps",{id:"",title:"",shortTitle:"",description:"",img:"",form:{},listsCreate:[],apiKeyValue:{},nextLoading:!1,prevLoading:!1,onPrev:Ao.a.noop,onNext:Ao.a.noop,onChange:Ao.a.noop});const qs=(e,t)=>{if("server"===e)return Object(an.a)("List are not created please connect the support");const{data:{accountPro:o,lists:n},title:a}=t;return o?"Please upgrade your ".concat(a," account to access your lists"):0===n.length?Object(an.a)("Lists are empty. Please add a new list and try again."):void 0};class Ys extends fo.Component{constructor(e,t){super(e),Object(yo.a)(this,"handleActive",e=>{this.setState({active:e})}),Object(yo.a)(this,"handleKeysChange",(e,t)=>{this.setState(o=>({apiKeyValue:Ks({},o.apiKeyValue,{["".concat(e)]:t})}))}),Object(yo.a)(this,"handleConfirm",async e=>{const{app:{id:t,data:o},formId:n,onChange:a}=this.context,{status:r,data:i}=await ls(Ks({},o,{formId:n,confirmationNeeded:e}));200!==r?this.setState({error:Object(an.a)("Something went wrong")}):a(t,Ks({},o,{},i))}),Object(yo.a)(this,"handleCreateMode",async()=>{this.setState({createLoading:!0}),await al(),this.setState({mode:"create",createLoading:!1,error:null})}),Object(yo.a)(this,"handleViewMode",async()=>{this.setState({prevLoading:!0,error:null}),await al(),this.setState({prevLoading:!1,mode:"view"})}),Object(yo.a)(this,"handleCreateList",async()=>{const{app:{id:e,data:t},formId:o,onChange:n}=this.context,{apiKeyValue:a}=this.state,r=Object.values(a);if(this.setState({nextLoading:!0,error:null}),r.some(e=>!e))await al(),this.setState({nextLoading:!1,error:Object(an.a)("All fields cannot be empty")});else{const{status:r,data:i}=await ds({formId:o,id:t.id,data:a,usedAccount:t.usedAccount});200!==r?this.setState({nextLoading:!1,error:qs("server")}):(n(e,Ks({},t,{lists:[...t.lists,i]})),this.setState({active:i.id,apiKeyValue:this.getApiKeyValue(t),mode:"view",nextLoading:!1,error:null}))}}),Object(yo.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeNext:a}=this.context,{active:r}=this.state;if(this.setState({nextLoading:!0,error:null}),r!==t.usedList){const{status:i,data:l}=await ls(Ks({},t,{formId:o,usedList:r}));200!==i?this.setState({nextLoading:!1,error:Object(an.a)("Something went wrong")}):(n(e,Ks({},t,{},l)),a())}else await al(),a()}),Object(yo.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0,error:null}),await al(),this.context.onChangePrev()});const{data:o}=t.app;this.state={active:this.getActiveList(o),apiKeyValue:this.getApiKeyValue(o),mode:"view",error:qs("application",t.app),createLoading:!1,prevLoading:!1,nextLoading:!1}}static async onBeforeLoad(e){const{app:{id:t,data:o},onChange:n}=e;n(t,Ks({},o,{accountPro:!Array.isArray(o.lists)}))}getActiveList(e){const t=e.lists.find(({id:t})=>t===e.usedList)||{},o=e.lists.length?e.lists[0].id:"";return t.id||o}getApiKeyValue({listProperties:e}){return Array.isArray(e)?e.reduce((e,{name:t})=>Ks({},e,{["".concat(t)]:""}),{}):[]}render(){const{app:e}=this.context,{lists:t,listProperties:o,hasConfirmation:n,accountPro:a,confirmationNeeded:r}=e.data;return"view"===this.state.mode?Oo.a.createElement(Gl,Object(ta.a)({},this.state,{lists:t,listsCreate:o,listPro:a,hasConfirmation:n,confirmationNeeded:r,onActive:this.handleActive,onConfirm:this.handleConfirm,onCreateList:this.handleCreateMode,onPrev:this.handlePrev,onNext:this.handleNext})):Oo.a.createElement(Gs,Object(ta.a)({},this.state,{listsCreate:o,onChange:this.handleKeysChange,onPrev:this.handleViewMode,onNext:this.handleCreateList}))}}Object(yo.a)(Ys,"contextType",Wi);var Xs=Ys;class Zs extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleClose",()=>{this.props.onClose()})}render(){const{app:e}=this.context;return Oo.a.createElement(Kl,Object(ta.a)({},e,{onNext:this.handleClose}))}}Object(yo.a)(Zs,"contextType",Wi);var Js=Zs;const $s=[{name:"emailTo",title:Object(an.a)("Email To"),required:!0,helper:'<p class="brz-p">If you need to have multiple emails you can separate them by commas:</p>\n <p class="brz-p"><span class="brz-span">me@email.com,</span> <span class="brz-span">hi@email.com</span></p>'},{name:"subject",title:Object(an.a)("Subject")},{name:"fromEmail",title:Object(an.a)("From Email")},{name:"fromName",title:Object(an.a)("From Name")},{name:"replayTo",title:Object(an.a)("Reply-To")},{name:"cc",title:Object(an.a)("Cc")},{name:"bcc",title:Object(an.a)("Bcc")},{name:"metaData",title:Object(an.a)("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:Object(an.a)("Host"),required:!0},{name:"port",title:Object(an.a)("Port"),required:!0},{name:"authentication",title:Object(an.a)("Authentication"),type:"switch"},{name:"username",title:Object(an.a)("Username"),required:!0},{name:"password",title:Object(an.a)("Password"),required:!0},{name:"encryption",title:Object(an.a)("Encryption"),type:"select",choices:[{title:"SSL",name:"ssl"},{title:"TLS",name:"tls"}]}];class Qs extends fo.Component{render(){return Oo.a.createElement(Ls,Object(ta.a)({},this.props,this.context,{apiKeys:$s}))}}Object(yo.a)(Qs,"contextType",Wi);var ed=Qs;const td=[{name:"emailTo",title:Object(an.a)("Email To"),required:!0,helper:'<p class="brz-p">If you need to have multiple emails you can separate them by commas:</p>\n <p class="brz-p"><span class="brz-span">me@email.com,</span> <span class="brz-span">hi@email.com</span></p>'},{name:"subject",title:Object(an.a)("Subject")},{name:"fromEmail",title:Object(an.a)("From Email")},{name:"fromName",title:Object(an.a)("From Name")},{name:"replayTo",title:Object(an.a)("Reply-To")},{name:"cc",title:Object(an.a)("Cc")},{name:"bcc",title:Object(an.a)("Bcc")},{name:"metaData",title:Object(an.a)("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:Object(an.a)("Username"),required:!0},{name:"password",title:Object(an.a)("Password"),required:!0}];class od extends fo.Component{render(){return Oo.a.createElement(Ls,Object(ta.a)({},this.props,this.context,{apiKeys:td}))}}Object(yo.a)(od,"contextType",Wi);var nd=od;class ad extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleConfirmation",e=>{this.props.onChangeConfirmation(e.target.checked)}),Object(yo.a)(this,"handleKeyDown",e=>{const{confirmed:t,onNext:o}=this.props;13===e.which&&t&&o()})}renderError(){return Oo.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},this.props.error)}renderValidationError(){return Oo.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error brz-ed-popup-recaptcha-validation-error"},Oo.a.createElement("p",{className:"brz-p"},Object(an.a)("Verification process failed, please make sure you have done the following three things and try again in a few minutes.")),Oo.a.createElement("p",{className:"brz-p"},"1. ",Object(an.a)("Inputted a valid site key"),". "),Oo.a.createElement("p",{className:"brz-p"},"2.",Object(an.a)("Deselected the “Verify the origin of reCAPTCHA solutions” checkbox within your Google account.")),Oo.a.createElement("p",{className:"brz-p"},"3. ",Object(an.a)("Established a stable internet connection"),"."))}renderItems(){const{data:e,onChange:t}=this.props;return e.map((e,o)=>{const{title:n,name:a,value:r}=e;return Oo.a.createElement("label",{key:o,className:"brz-ed-popup-integrations__connect-label"},Oo.a.createElement("input",{className:"brz-input",name:e,type:"text",value:r,required:!0,onChange:e=>{t(e.target.value,a)},onKeyDown:this.handleKeyDown}),Oo.a.createElement("p",{className:"brz-p"},Oo.a.createElement("strong",{className:"brz-strong"},n," ",Oo.a.createElement("span",{className:"brz-span"},"(",Object(an.a)("required"),")"))))})}renderDescriptions(){return Oo.a.createElement("div",{className:"brz-ed-popup-recaptcha__confirmation"},Oo.a.createElement("label",{className:"brz-label"},Oo.a.createElement("input",{className:"brz-input",type:"checkbox",value:this.props.confirmed,onChange:this.handleConfirmation}),'I have deselected "Verify the origins of reCAPTCHA solu-',Oo.a.createElement("br",{className:"brz-br"}),'tions and clicked "Save Changes" under "Key Settings >',Oo.a.createElement("br",{className:"brz-br"}),'Advanced Settings" in my Google reCAPTCHA page'))}render(){const{title:e,img:t,validated:o,confirmed:n,error:a,nextLoading:r,prevLoading:i,onRetry:l,onNext:c,onPrev:s}=this.props;return Oo.a.createElement(hl.a,{className:"brz-ed-popup-integrations-apps__scroll-pane",style:{height:"100%"}},Oo.a.createElement("div",{className:"brz-ed-popup-recaptcha__connect"},Oo.a.createElement("div",{className:"brz-ed-popup-recaptcha__container"},Oo.a.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},Oo.a.createElement("img",{className:"brz-img",src:t,alt:e}),o?this.renderDescriptions():this.renderValidationError(),a&&this.renderError()),Oo.a.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},this.renderItems(),o?Oo.a.createElement(Cl,{type:"tail",loading:r,disabled:!n,onClick:c},Object(an.a)("Connect")):Oo.a.createElement(Cl,{type:"tail",loading:r,onClick:l},Object(an.a)("Try Again")),Oo.a.createElement(Cl,{type:"default",loading:i,onClick:s},Object(an.a)("Cancel"))))))}}Object(yo.a)(ad,"defaultProps",{id:"",title:"",img:"",confirmed:!1,error:!1,nextLoading:!1,prevLoading:!1,onChange:Ao.a.noop,onChangeConfirmation:Ao.a.noop,onNext:Ao.a.noop,onPrev:Ao.a.noop});var rd=ad;function id(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}async function ld(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),n=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((a,r)=>{n.onload=()=>{const i=t.parent.grecaptcha;t.onloadRecaptchaCallback=()=>{const t=i.render(o,{sitekey:e.sitekey,size:"invisible",callback:async t=>{const{status:r}=await hs(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?id(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):id(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({group:"recaptcha",service:"recaptcha"},e,{response:t}));o.remove(),n.remove(),a(200===r)},"error-callback":()=>{o.remove(),n.remove(),r(!1)}});i.reset(t),i.execute(t)}}})}(e)}catch(e){return e}}function cd(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function sd(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?cd(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):cd(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const dd=[{name:"sitekey",title:"Site Key"},{name:"secretkey",title:"Secret Key"}];class pd extends fo.Component{constructor(e,t){super(e),Object(yo.a)(this,"handleChange",(e,t)=>{this.setState(({apiKeyValue:o})=>({apiKeyValue:sd({},o,{["".concat(t)]:e.trim()})}))}),Object(yo.a)(this,"handleConfirmation",e=>{this.setState({confirmed:e})}),Object(yo.a)(this,"handleNext",async()=>{const{app:e,onChangeNext:t}=this.context,{apiKeyValue:o}=this.state,n=Object.values(o);if(this.setState({nextLoading:!0,error:null}),n.some(e=>!e))await al(),this.setState({error:"Fields are empty",nextLoading:!1});else{const{data:n}=e;if(n){const{status:e}=await bl(n.id);200!==e&&this.setState({nextLoading:!1,error:Object(an.a)("Something went wrong")})}await ld(o)?t():this.setState({nextLoading:!1,validated:!1})}}),Object(yo.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await al(),this.context.onChangePrev()});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 dd.reduce((e,{name:t})=>sd({},e,{["".concat(t)]:""}),{})}render(){const{apiKeyValue:e,nextLoading:t,prevLoading:o,confirmed:n,error:a,validated:r}=this.state,i=dd.map(({title:t,name:o})=>({title:t,name:o,value:e[o]}));return Oo.a.createElement(rd,Object(ta.a)({},this.context.app,{data:i,validated:r,confirmed:n,nextLoading:t,prevLoading:o,error:a,onChange:this.handleChange,onChangeConfirmation:this.handleConfirmation,onNext:this.handleNext,onRetry:this.handleNext,onPrev:this.handlePrev}))}}Object(yo.a)(pd,"contextType",Wi);var ud=pd;class bd extends fo.Component{constructor(e){super(e),Object(yo.a)(this,"handleNext",async()=>{const{app:e,onChange:t,onDisconnectApp:o}=this.context;this.setState({nextLoading:!0,error:null});const{status:n}=await bl(e.data.id);n<400?(o(e.id),t(e.id,null)):this.setState({nextLoading:!1,error:Object(an.a)("Something went wrong")})}),Object(yo.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0,error:null}),await al(),this.context.onChangePrev("appList")}),this.state={nextLoading:!1,prevLoading:!1,error:null}}render(){const{nextLoading:e,prevLoading:t,error:o}=this.state;return Oo.a.createElement(wl,Object(ta.a)({},this.context.app,{descriptions:"".concat(Object(an.a)("Are you want to delete account")," ?"),nextLoading:e,prevLoading:t,error:o,onPrev:this.handlePrev,onNext:this.handleNext}))}}Object(yo.a)(bd,"contextType",Wi);var hd=bd;class md extends nc{}Object(yo.a)(md,"fields",Ds),Object(yo.a)(md,"done",Js);var gd=md;class vd extends nc{}Object(yo.a)(vd,"fields",Ds),Object(yo.a)(vd,"done",Js);var yd=vd;class fd extends nc{}Object(yo.a)(fd,"connect",fs),Object(yo.a)(fd,"account",xs),Object(yo.a)(fd,"fields",Es),Object(yo.a)(fd,"list",Xs),Object(yo.a)(fd,"done",Js);var Od=fd;class Cd extends nc{}Object(yo.a)(Cd,"connect",fs),Object(yo.a)(Cd,"account",xs),Object(yo.a)(Cd,"client",ws),Object(yo.a)(Cd,"fields",Es),Object(yo.a)(Cd,"list",Xs),Object(yo.a)(Cd,"done",Js);var Sd=Cd;class xd extends nc{}Object(yo.a)(xd,"connect",fs),Object(yo.a)(xd,"account",xs),Object(yo.a)(xd,"fields",Ms),Object(yo.a)(xd,"done",Js);var jd=xd;class Bd extends nc{}Object(yo.a)(Bd,"connect",fs),Object(yo.a)(Bd,"account",xs),Object(yo.a)(Bd,"client",ws),Object(yo.a)(Bd,"fields",Es),Object(yo.a)(Bd,"list",Xs),Object(yo.a)(Bd,"done",Js);var Pd=Bd;class wd extends nc{}Object(yo.a)(wd,"connect",fs),Object(yo.a)(wd,"account",xs),Object(yo.a)(wd,"fields",Es),Object(yo.a)(wd,"list",Xs),Object(yo.a)(wd,"done",Js);var Td=wd;class zd extends nc{}Object(yo.a)(zd,"connect",fs),Object(yo.a)(zd,"account",xs),Object(yo.a)(zd,"fields",Es),Object(yo.a)(zd,"list",Xs),Object(yo.a)(zd,"done",Js);var kd=zd;class Ed extends nc{}Object(yo.a)(Ed,"connect",fs),Object(yo.a)(Ed,"account",xs),Object(yo.a)(Ed,"fields",Es),Object(yo.a)(Ed,"list",Xs),Object(yo.a)(Ed,"done",Js);var Hd=Ed;class _d extends nc{}Object(yo.a)(_d,"connect",fs),Object(yo.a)(_d,"account",xs),Object(yo.a)(_d,"fields",Es),Object(yo.a)(_d,"list",Xs),Object(yo.a)(_d,"done",Js);var Rd=_d;class Md extends nc{}Object(yo.a)(Md,"connect",fs),Object(yo.a)(Md,"account",xs),Object(yo.a)(Md,"fields",Es),Object(yo.a)(Md,"list",Xs),Object(yo.a)(Md,"done",Js);var Id=Md;class Fd extends nc{}Object(yo.a)(Fd,"connect",fs),Object(yo.a)(Fd,"account",xs),Object(yo.a)(Fd,"list",Xs),Object(yo.a)(Fd,"fields",Es),Object(yo.a)(Fd,"done",Js);var Nd=Fd;class Ld extends nc{}Object(yo.a)(Ld,"connect",fs),Object(yo.a)(Ld,"account",xs),Object(yo.a)(Ld,"fields",Es),Object(yo.a)(Ld,"list",Xs),Object(yo.a)(Ld,"done",Js);var Wd=Ld;class Vd extends nc{}Object(yo.a)(Vd,"connect",fs),Object(yo.a)(Vd,"account",xs),Object(yo.a)(Vd,"fields",Es),Object(yo.a)(Vd,"done",Js);var Dd=Vd;class Ad extends nc{}Object(yo.a)(Ad,"fields",ed),Object(yo.a)(Ad,"done",Js);var Gd=Ad;class Ud extends nc{}Object(yo.a)(Ud,"fields",nd),Object(yo.a)(Ud,"done",Js);var Kd=Ud;class qd extends nc{}Object(yo.a)(qd,"connect",fs),Object(yo.a)(qd,"account",xs),Object(yo.a)(qd,"fields",Es),Object(yo.a)(qd,"list",Xs),Object(yo.a)(qd,"done",Js);var Yd=qd;class Xd extends nc{}Object(yo.a)(Xd,"connect",fs),Object(yo.a)(Xd,"account",xs),Object(yo.a)(Xd,"list",Xs),Object(yo.a)(Xd,"fields",Es),Object(yo.a)(Xd,"done",Js);var Zd=Xd;class Jd extends nc{}Object(yo.a)(Jd,"connect",fs),Object(yo.a)(Jd,"account",xs),Object(yo.a)(Jd,"fields",Es),Object(yo.a)(Jd,"list",Xs),Object(yo.a)(Jd,"done",Js);var $d=Jd;class Qd extends nc{}Object(yo.a)(Qd,"connect",fs),Object(yo.a)(Qd,"account",xs),Object(yo.a)(Qd,"fields",Es),Object(yo.a)(Qd,"list",Xs),Object(yo.a)(Qd,"done",Js);var ep=Qd;class tp extends nc{}Object(yo.a)(tp,"connect",fs),Object(yo.a)(tp,"account",xs),Object(yo.a)(tp,"fields",Es),Object(yo.a)(tp,"list",Xs),Object(yo.a)(tp,"done",Js);var op=tp;class np extends nc{}Object(yo.a)(np,"connect",fs),Object(yo.a)(np,"account",xs),Object(yo.a)(np,"fields",Es),Object(yo.a)(np,"list",Xs),Object(yo.a)(np,"done",Js);var ap=np;class rp extends nc{}Object(yo.a)(rp,"connect",ud),Object(yo.a)(rp,"done",Js),Object(yo.a)(rp,"disconnect",hd);var ip=rp;const lp=Bo.a.get("pro");var cp=class extends el{constructor(...e){super(...e),Object(yo.a)(this,"appsData",[]),Object(yo.a)(this,"appsComponent",a),Object(yo.a)(this,"proExceptions",!lp),Object(yo.a)(this,"handleConnectApp",async e=>{const{id:t,stages:o}=e,{formId:n}=this.props.value;let{status:a,data:r}=await rs({formId:n,id:t});if(200!==a){if(404!==a)return void this.setState({appError:Object(an.a)("The integration is not responding, please try again or verify the account credentials")});if(({status:a,data:r}=await is({formId:n,id:t})),200!==a)return void this.setState({appError:Object(an.a)("The integration is not responding, please try again or verify the account credentials")})}this.setState(Object(Go.a)(n=>{n.appError=null,n.stages=o,n.connectedApp=t,n.data[t]=e,n.data[t].data=r}),()=>{this.handleNext()})})}async componentDidMount(){const e=Object(wo.a)("integrations.json"),t=await fetch(e),{services:o}=await t.json();this.appsData=o,await this.getData()}async getData(){const{value:{formId:e}}=this.props,{status:t,data:o}=await os({formId:e});if(200!==t)if(404===t){const{status:t}=await ns({formId:e});t>=400?this.setState({error:Object(an.a)("Something went wrong")}):this.setState({loading:!1})}else this.setState({error:Object(an.a)("Something went wrong")});else o&&this.setState({connectedApps:this.getConnectedApps(o.integrations),loading:!1})}};const sp=Bo.a.get("pro"),dp=Bo.a.get("wp");var pp=class extends el{constructor(...e){super(...e),Object(yo.a)(this,"state",{loading:!0,showProgress:!0,connectedApp:"",connectedApps:[],stage:this.props.stage,stages:this.props.stages,oldStage:"",data:{},error:null,appError:null,emailTemplate:"",hasEmailTemplate:!1,textCopied:""}),Object(yo.a)(this,"appsData",[]),Object(yo.a)(this,"appsComponent",a),Object(yo.a)(this,"proExceptions",!sp),Object(yo.a)(this,"updateForm",Ao.a.debounce(()=>{as({formId:this.props.value.formId,hasEmailTemplate:this.state.hasEmailTemplate,emailTemplate:this.state.emailTemplate})},1e3)),Object(yo.a)(this,"handleConnectApp",async e=>{const t=e.id,{formId:o}=this.props.value,{stages:n=[]}=this.appsData.find(e=>e.id===t)||{};let{status:a,data:r}=await ps({formId:o,id:t});if(200!==a){if(404!==a)return void this.setState({error:Object(an.a)("Something went wrong")});{const{status:e,data:n}=await us({formId:o,id:t});if(200!==e)return void this.setState({error:Object(an.a)("Something went wrong")});r=n}}this.setState(Object(Go.a)(o=>{o.stages=n,o.connectedApp=t,o.data[t]=Object.assign(e,{data:r})}),()=>{this.handleNext()})}),Object(yo.a)(this,"handleHtmlChange",e=>{this.setState({emailTemplate:e.target.value},this.updateForm)}),Object(yo.a)(this,"handleEnableHtml",e=>{this.setState({hasEmailTemplate:e}),!1===e&&this.state.emailTemplate&&this.setState({emailTemplate:""},this.updateForm)})}async componentDidMount(){const e=Object(wo.a)("integrations.json"),t=await fetch(e),o=await t.json();this.appsData=dp?o.wpEmail:o.cloudEmail,await this.getData()}async getData(){const{value:{formId:e},onLoading:t}=this.props,{status:o,data:n}=await os({formId:e});if(200!==o)if(404===o){const{status:t,data:o}=await ns({formId:e});t>=400||!o?this.setState({error:Object(an.a)("Something went wrong")}):this.setState({connectedApps:this.getConnectedApps(o.integrations),loading:!1})}else this.setState({error:Object(an.a)("Something went wrong")});else n&&this.setState({connectedApps:this.getConnectedApps(n.integrations),emailTemplate:n.emailTemplate||"",hasEmailTemplate:n.hasEmailTemplate,loading:!1});t(!1)}handleCopyToClipboard(e){sl("{{".concat(e,"}}")),this.setState({textCopied:e},()=>{setTimeout(()=>{this.setState({textCopied:void 0})},800)})}renderFormInfo(){return Oo.a.createElement("div",{className:"brz-ed-popup-integration-email__info"},this.props.value.formFields.map((e,t)=>Oo.a.createElement("p",{key:t,title:"Click to copy",className:"brz-p",onClick:()=>{this.handleCopyToClipboard(e.label)}},Oo.a.createElement("span",{className:"brz-span brz-"},"{{".concat(e.label,"}}")),Oo.a.createElement(ia.b,{icon:"nc-duplicate"}),this.state.textCopied===e.label&&Oo.a.createElement("span",{className:"brz-span brz-ed-animated brz-ed-animated--fadeIn"},"Copied"))))}renderApps(){const{error:e,emailTemplate:t,hasEmailTemplate:o}=this.state,n=ra()("brz-ed-popup-integration-email__template",{"brz-ed-popup-integration-email__template--open":o});return Oo.a.createElement(Oo.a.Fragment,null,e&&super.renderError(),Oo.a.createElement($i,{apps:this.appsData,proExceptions:this.proExceptions}),!this.proExceptions&&Oo.a.createElement("div",{className:n},Oo.a.createElement("div",{className:"brz-ed-popup-integration-email__template-head"},Oo.a.createElement("p",{className:"brz-p"},Oo.a.createElement("strong",{className:"brz-strong"},Object(an.a)("USE CUSTOM TEMPLATE"))),Oo.a.createElement(Tl.a,{className:"brz-ed-control__switch--light",defaultValue:o,onChange:this.handleEnableHtml})),Oo.a.createElement("div",{className:"brz-ed-popup-integration-email__template-body"},Oo.a.createElement("textarea",{className:"brz-textarea",value:t,onChange:this.handleHtmlChange}),Oo.a.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},Oo.a.createElement("p",{className:"brz-p"},Object(an.a)("Tip: Use these shortcodes to populate your template")),Oo.a.createElement(Ki.a,{className:"brz-ed-popup-integration-email__tooltip",size:"small",openOnClick:!1,closeDelay:600,overlay:this.renderFormInfo()},Oo.a.createElement(ia.b,{icon:"nc-alert-circle-que"}))))))}};function up(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var bp=class extends el{constructor(...e){super(...e),Object(yo.a)(this,"appsData",[]),Object(yo.a)(this,"appsComponent",a),Object(yo.a)(this,"handleConnectApp",async e=>{const t=e.id;await al(),this.setState(Object(Go.a)(o=>{const n=o.data[t]||{};o.connectedApp=t,o.stages=e.stages,o.data[t]=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?up(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):up(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},n,{},e)}),()=>{this.handleNext()})})}async componentDidMount(){const e=Object(wo.a)("integrations.json"),t=await fetch(e),{recaptcha:o}=await t.json(),{status:n,data:a}=await pl({group:"recaptcha",services:"recaptcha"});this.appsData=o,200===n&&a&&a.length>0?this.setState(Object(Go.a)(e=>{e.data={recaptcha:{data:a[0]}},e.connectedApps=this.getConnectedApps(a),e.loading=!1})):this.setState({loading:!1})}getConnectedApps(e){return e.reduce((e,t)=>this.appsData.find(({id:e})=>e===t.group)?[...e,t.group]:e,[...this.state.connectedApps])}};const hp=[{id:"email",title:Object(an.a)("Email"),icon:"nc-email",component:pp},{id:"service",title:Object(an.a)("APPS"),icon:"nc-extensions-2",component:cp},{id:"recaptcha",title:Object(an.a)("ReCAPTCHA"),icon:"nc-captcha",component:bp}];class mp extends fo.Component{render(){return Oo.a.createElement(Li,Object(ta.a)({},this.props,{tabs:hp,currentTab:"email"}))}}Object(yo.a)(mp,"defaultProps",{onClose:Ao.a.noop});var gp=mp;function vp(){let e="Unknown OS";{const{appVersion:t}=navigator;-1!==t.indexOf("Win")&&(e="Windows"),-1!==t.indexOf("Mac")&&(e="MacOS"),-1!==t.indexOf("Linux")&&(e="Linux")}return e}class yp extends fo.Component{render(){const e="MacOS"===vp(),t=e?"".concat(Object(wo.a)("editor/img/mac-keyboard1x.png")," 1x , ").concat(Object(wo.a)("editor/img/mac-keyboard2x.png")," 2x"):"".concat(Object(wo.a)("editor/img/pc-keyboard1x.png")," 1x , ").concat(Object(wo.a)("editor/img/pc-keyboard2x.png")," 2x");return Oo.a.createElement(ai,{id:"key-helper",className:"brz-ed-hotkeys-overlay",onClose:this.props.onClose},Oo.a.createElement("div",{className:"brz-ed-hotkeys-wrapper"},Oo.a.createElement(ia.b,{icon:"nc-close-popup",className:"brz-ed-hotkeys-btn-close",onClick:this.props.onClose}),Oo.a.createElement("div",{className:"brz-ed-hotkeys-label"},Object(an.a)("Keyboard Shortcuts")),Oo.a.createElement("div",{className:"brz-ed-hotkeys-image-container"},Oo.a.createElement("picture",null,Oo.a.createElement("img",{className:"brz-ed-hotkeys-image",srcSet:t}))),Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container"},Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column"},Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},e?"cmd + C":"Ctrl + C"),Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(an.a)("Copy"))),Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},e?"cmd + V":"Ctrl + V"),Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(an.a)("Paste"))),Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},e?"cmd + shift + V":"Ctrl + Shift + V"),Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(an.a)("Paste Style"))),Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},e?"cmd + D":"Ctrl + D"),Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(an.a)("Duplicate"))),Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},e?"cmd + delete":"Delete"),Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(an.a)("Delete"))),Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},e?"cmd +":"Ctrl +",Oo.a.createElement(ia.b,{className:"brz-ed-hotkeys-icons",icon:"nc-arrow"}),Oo.a.createElement("span",{className:"divider"}," / "),Oo.a.createElement(ia.b,{className:"brz-ed-hotkeys-icons brz-ed-deg180",icon:"nc-arrow"})),Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(an.a)("Horizontal Align"))),Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},e?"cmd +":"Ctrl +",Oo.a.createElement(ia.b,{className:"brz-ed-hotkeys-icons brz-ed-deg90",icon:"nc-arrow"}),Oo.a.createElement("span",{className:"divider"}," / "),Oo.a.createElement(ia.b,{className:"brz-ed-hotkeys-icons brz-ed-deg270",icon:"nc-arrow"})),Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(an.a)("Vertical Align")))),Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column"},Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},e?"cmd + Z":"Ctrl + Z"),Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(an.a)("Undo"))),Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},e?"cmd + shift + Z":"Ctrl + Shift + Z"),Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(an.a)("Redo"))),Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},e?"cmd + S":"Ctrl + S"),Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(an.a)("Publish / Update Page"))),Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},e?"cmd +":"Ctrl +",Oo.a.createElement(ia.b,{className:"brz-ed-hotkeys-icons",icon:"nc-plus2"}),Oo.a.createElement("span",{className:"divider"}," / "),Oo.a.createElement(ia.b,{className:"brz-ed-hotkeys-icons",icon:"nc-minus"})),Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(an.a)("Responsive Zoom In / Out"))),Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},e?"cmd +":"Ctrl +",Oo.a.createElement(ia.b,{className:"brz-ed-hotkeys-icons",icon:"nc-alert-circle-que"})),Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(an.a)("Shortcuts"))),Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},e?"cmd + shift + A":"Ctrl + Shift + A"),Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(an.a)("Add New Block / Layout"))),Oo.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},e?"esc":"Esc"),Oo.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(an.a)("Select Parent Element")))))))}}const fp=({id:e,name:t,files:o})=>{const{api:n}=Bo.a.get("wp"),a=Bo.a.get("editorVersion"),r=ol(n.url,{action:n.createFont,hash:n.hash,version:a}),i=new FormData;return i.append("id",e),i.append("family",t),Object.entries(o).forEach(([e,t])=>{Object.entries(t).forEach(([t,o])=>{o&&i.append("fonts[".concat(e,"][").concat(t,"]"),o,o.name)})}),Object(Po.z)(r,{method:"POST",body:i}).then(nl).then(e=>e)},Op=e=>{const{api:t}=Bo.a.get("wp"),o=Bo.a.get("editorVersion"),n=ol(t.url,{action:t.deleteFont,hash:t.hash,version:o,id:e});return Object(Po.z)(n,{method:"POST"}).then(nl).then(e=>e)};function Cp(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const Sp=(e,t)=>{const o=e.family.toUpperCase(),n=t.family.toUpperCase();return o<n?-1:o>n?1:0};class xp extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{loadingApp:""})}async handleDeleteFont(e,t){this.setState({loadingApp:t.brizyId}),"upload"===e?await Op(t.id):await al(),this.setState({loadingApp:""}),this.props.deleteFont({type:e,fonts:[t]})}getSortedFonts(e){return Object.entries(e).map(([e,{data:t}])=>t.map(t=>(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Cp(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Cp(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e})({},t,{fontGroupType:e}))).reduce((e,t)=>e.concat(t),[]).sort(Sp)}render(){const{defaultFont:e,fonts:t}=this.props,{loadingApp:o}=this.state;return Oo.a.createElement(da.a,null,Oo.a.createElement("div",{className:"brz-ed-popup-fonts__lists brz-d-xs-flex brz-flex-xs-wrap"},this.getSortedFonts(t).map(t=>{let{fontGroupType:n}=t,a=Object(ca.a)(t,["fontGroupType"]);const{id:r,brizyId:i,title:l,family:c}=ko.b[n](a),s=e===r,d=o===i;return Oo.a.createElement("div",{key:i,className:"brz-ed-popup-fonts__item"},Oo.a.createElement("div",{className:"brz-ed-popup-fonts__item-logo",style:{fontFamily:c}},"Aa",!s&&!d&&Oo.a.createElement("div",{className:"brz-ed-badge__delete brz-ed-popup-fonts__delete",onClick:()=>{this.handleDeleteFont(n,a)}},Oo.a.createElement(ia.b,{icon:"nc-trash"}))),Oo.a.createElement("div",{className:"brz-ed-popup-fonts__item-title"},l),d&&Oo.a.createElement("span",{className:"brz-span brz-ed-popup-integrations__app-icon"},Oo.a.createElement(ia.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})))})))}}Object(yo.a)(xp,"defaultProps",{fonts:{},defaultFont:"",deleteFont:Ao.a.noop,onClose:Ao.a.noop});const jp={deleteFont:Uo.G};var Bp=Object(xo.b)(e=>({fonts:Object(nn.E)(e),defaultFont:Object(nn.t)(e).data.font}),jp)(xp);function Pp(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function wp(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Pp(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Pp(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Tp extends fo.Component{constructor(e){super(e),Object(yo.a)(this,"handleAddNewFont",(e,t)=>{this.setState({selectedFont:t})}),Object(yo.a)(this,"handleNext",async()=>{const{selectedFont:e}=this.state,{app:{data:{fonts:t}},onChangeNext:o}=this.context,n=t.find(({family:t})=>t===e);if(this.setState({nextLoading:!0,error:null}),await al(),n){const e=Object(ko.i)(this.props.fonts,Object(ko.g)(n).id);e?this.props.addFonts([{type:e.group,fonts:[wp({},e.font,{deleted:!1})]}]):this.props.addFonts([{type:"google",fonts:[n]}]),o()}else this.setState({error:"Font ".concat(e," not found, please try again"),nextLoading:!1})}),Object(yo.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await al(),this.context.onChangePrev()});const{config:t,blocks:o={},google:n={}}=this.props.fonts;this.usedFonts=[...t.data||[],...n.data||[],...o.data||[]],this.state={selectedFont:"",nextLoading:!1,prevLoading:!1,error:null}}static async onBeforeLoad(e){const{app:{id:t,data:o},onChange:n}=e;n(t,wp({},o,{fonts:await Object(ko.h)()}))}render(){const{app:e}=this.context,{selectedFont:t,prevLoading:o,nextLoading:n,error:a}=this.state,r=e.data.fonts.filter(e=>{const{id:t}=Object(ko.g)(e);return!this.usedFonts.some(e=>{const{id:o,deleted:n}=Object(ko.g)(e);return!0!==n&&o===t})}).map(e=>({value:e.family,label:e.family})),i=[{title:Object(an.a)("Font name"),type:"search",choices:r,value:t}],l=Oo.a.createElement(fo.Fragment,null,Object(an.a)("Tip: You can browse the Google font library")," ",Oo.a.createElement("a",{className:"brz-a",href:"https://fonts.google.com",target:"_blank",rel:"noopener noreferrer"},Object(an.a)("here")),".");return Oo.a.createElement(Wl,Object(ta.a)({},e,{data:i,headTitle:Object(an.a)("ADD GOOGLE FONT"),description:l,prevLoading:o,nextLoading:n,error:a,onActive:this.handleAddNewFont,onPrev:this.handlePrev,onNext:this.handleNext}))}}Object(yo.a)(Tp,"contextType",Wi);const zp={addFonts:Sa.a};var kp=Object(xo.b)(e=>({fonts:Object(nn.g)(e)}),zp)(Tp);class Ep extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleClose",()=>{this.props.onClose()})}render(){const{app:e}=this.context;return Oo.a.createElement(Kl,Object(ta.a)({},e,{onNext:this.handleClose}))}}Object(yo.a)(Ep,"contextType",Wi);var Hp=Ep;class _p extends nc{}Object(yo.a)(_p,"connect",kp),Object(yo.a)(_p,"done",Hp);var Rp=_p;function Mp(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class Ip extends fo.Component{constructor(e){super(e),Object(yo.a)(this,"handleChange",(e,t)=>{t.length<=17&&this.setState({fontName:t})}),Object(yo.a)(this,"handleNext",async()=>{const{fontName:e}=this.state,{app:{id:t,data:o={}},onChange:n,onChangeNext:a}=this.context;this.setState({nextLoading:!0}),await al(),e.trim()?(n(t,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Mp(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Mp(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},o,{fontName:e})),a()):this.setState({nextLoading:!1,error:Object(an.a)("Font Name is Required")})}),Object(yo.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await al(),this.context.onChangePrev()}),this.state={fontName:"",nextLoading:!1,prevLoading:!1,error:null}}render(){const{app:e}=this.context,{fontName:t,prevLoading:o,nextLoading:n,error:a}=this.state,r=[{title:Object(an.a)("Font name"),value:t}];return Oo.a.createElement(Wl,Object(ta.a)({},e,{headTitle:Object(an.a)("UPLOAD FONT"),data:r,error:a,prevLoading:o,nextLoading:n,onActive:this.handleChange,onNext:this.handleNext,onPrev:this.handlePrev}))}}Object(yo.a)(Ip,"contextType",Wi);var Fp=Ip;class Np extends fo.Component{renderError(){return Oo.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},Oo.a.createElement("span",{className:"brz-span"},this.props.error))}renderSelect({name:e,value:t,choices:o}){const n=o.map(({title:e,name:t})=>Oo.a.createElement(Wr.a,{key:t,value:t},e));return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},Oo.a.createElement(Lr.a,{className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,defaultValue:t,onChange:t=>{this.props.onActive(e,t)}},n))}renderUpload({name:e,value:t,accept:o}){return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-upload"},t?Oo.a.createElement(fo.Fragment,null,Oo.a.createElement("span",{className:"brz-span"},t.name),Oo.a.createElement("button",{className:"brz-button brz-ed-btn brz-ed-btn-xs brz-ed-btn-gray brz-ed-btn-red--hover brz-ed-btn-rounded brz-fw-700",onClick:()=>{this.props.onActive(e,"")}}," ",Object(an.a)("DELETE")," ")):Oo.a.createElement("label",{className:"brz-label brz-ed-btn brz-ed-btn-xs brz-ed-btn-gray brz-ed-btn-teal--hover brz-ed-btn-rounded brz-fw-700",htmlFor:e},Oo.a.createElement("input",{id:e,className:"brz-input brz-hidden",type:"file",accept:o,onChange:({target:t})=>{this.props.onActive(e,t.files[0])}}),Object(an.a)("UPLOAD")))}renderOptions(){const e=this.props.data.map((e,t)=>{const{title:o,type:n,helper:a}=e;return Oo.a.createElement("div",{key:t,className:"brz-ed-popup-integrations-step__fields-option"},Oo.a.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},Oo.a.createElement("p",{className:"brz-p"},o),a&&Oo.a.createElement(Ki.a,{className:"brz-ed-popup-integrations-fields__tooltip",openOnClick:!1,inPortal:!0,overlay:Oo.a.createElement("div",{className:"brz-ed-popup-integrations-fields__info",dangerouslySetInnerHTML:{__html:a}})},Oo.a.createElement(ia.b,{icon:"nc-alert-circle-que"}))),"select"===n&&this.renderSelect(e),"upload"===n&&this.renderUpload(e))});return Oo.a.createElement(hl.a,{style:{maxHeight:255},className:"brz-ed-popup-integrations__scroll-pane"},e)}render(){const{error:e,prevLoading:t,nextLoading:o,onPrev:n,onNext:a}=this.props;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},e&&this.renderError(),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},Oo.a.createElement("p",{className:"brz-p"},Oo.a.createElement("strong",{className:"brz-strong"},Object(an.a)("ADD FONT VARIATION")))),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},this.renderOptions(),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==t&&Oo.a.createElement(Cl,{type:"gray",leftIcon:"nc-arrow-left",loading:t,onClick:n},Object(an.a)("Back")),null!==o&&Oo.a.createElement(Cl,{type:"tail",loading:o,onClick:a},Object(an.a)("Add Font")))))}}Object(yo.a)(Np,"defaultProps",{data:[{title:"",value:"",name:"",helper:null}],nextLoading:null,prevLoading:null,onPrev:Ao.a.noop,onNext:Ao.a.noop,onActive:Ao.a.noop});var Lp=Np;class Wp extends fo.Component{renderError(){return Oo.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},Oo.a.createElement("span",{className:"brz-span"},this.props.error))}renderOptions(){const{data:e,onActive:t}=this.props,o=e.map((e,o)=>{const{id:n,title:a,type:r}=e;return Oo.a.createElement("div",{key:o,className:"brz-ed-popup-integrations-step__fields-option brz-ed-popup-integrations-step__fields-option--big"},Oo.a.createElement("p",{className:"brz-p brz-ed-popup-integration__font-name"},a),Oo.a.createElement("p",{className:"brz-p",style:{fontWeight:n,flexBasis:"60%"}},r),Oo.a.createElement("div",{title:"Disconnect",className:"brz-ed-popup-integrations--delete",onClick:()=>{t(n)}},Oo.a.createElement(ia.b,{icon:"nc-trash"})))});return Oo.a.createElement(hl.a,{style:{maxHeight:255},className:"brz-ed-popup-integrations__scroll-pane"},o)}render(){const{error:e,prevLoading:t,nextLoading:o,createLoading:n,onPrev:a,onNext:r,onCreate:i}=this.props;return Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},e&&this.renderError(),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},Oo.a.createElement("p",{className:"brz-p"},Oo.a.createElement("strong",{className:"brz-strong"},Object(an.a)("FONT VARIATION")))),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},this.renderOptions(),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-new__option",onClick:i},Oo.a.createElement(ia.b,{icon:n?"nc-circle-02":"nc-add",className:n?"brz-ed-animated--spin":""}),Object(an.a)("Add new font variation")),Oo.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==t&&Oo.a.createElement(Cl,{type:"gray",leftIcon:"nc-arrow-left",loading:t,onClick:a},Object(an.a)("Back")),null!==o&&Oo.a.createElement(Cl,{type:"tail",loading:o,onClick:r},Object(an.a)("Continue")))))}}Object(yo.a)(Wp,"defaultProps",{data:[{title:"",value:"",name:""}],nextLoading:null,prevLoading:null,createLoading:!1,onPrev:Ao.a.noop,onNext:Ao.a.noop,onActive:Ao.a.noop,onCreate:Ao.a.noop});var Vp=Wp;function Dp(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ap(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Dp(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Dp(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Gp=Ao.a.memoize(e=>Object.entries(e).map(([e,t])=>({title:t,name:e})));class Up extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{mode:"add",keyValue:this.getDefaultData(),nextLoading:!1,prevLoading:!1,addLoading:!1,error:null}),Object(yo.a)(this,"handleChangeAddMode",async()=>{this.setState({addLoading:!0}),await al(),this.setState({mode:"add",addLoading:!1})}),Object(yo.a)(this,"handleUploadFonts",(e,t)=>{this.setState(({keyValue:o})=>({error:null,keyValue:Ap({},o,{["".concat(e)]:t})}))}),Object(yo.a)(this,"handleAddFonts",async()=>{const{app:{id:e,data:t},onChange:o}=this.context,n=this.state.keyValue,{weight:a}=n,r=Object(ca.a)(n,["weight"]);if(this.setState({nextLoading:!0,error:null}),await al(),!Object.values(r).some(e=>Boolean(e)))return void this.setState({nextLoading:!1,error:Object(an.a)("You must be have one font added")});let i=new Set([...t.weights||[],Number(a)]);o(e,Object.assign({},t,{weights:[...i],files:Ap({},t.files||[],{[a]:r})})),this.setState({mode:"edit",keyValue:this.getDefaultData(),nextLoading:!1})}),Object(yo.a)(this,"handleRemoveFonts",e=>{const{app:{id:t,data:o},onChange:n}=this.context;n(t,Object.assign({},o,{weights:Ao.a.without(o.weights,e),files:Ao.a.omit(o.files,e)}))}),Object(yo.a)(this,"handleNext",async()=>{const{app:{data:{files:e,fontName:t}},onChangeNext:o}=this.context;this.setState({nextLoading:!0});const{status:n,data:a}=await fp({id:Object(gl.a)(),name:t,files:e});200!==n?this.setState({nextLoading:!1,error:Object(an.a)("Something went wrong")}):(this.props.dispatch(Object(Sa.a)([{type:"upload",fonts:[a]}])),o())}),Object(yo.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await al(),this.context.onChangePrev()})}getDefaultData(){return{weight:"400",ttf:"",eot:"",woff:"",woff2:""}}getAddData(){const{weight:e,ttf:t,eot:o,woff:n,woff2:a}=this.state.keyValue;return[{title:Object(an.a)("Font weight"),name:"weight",type:"select",value:e,choices:Gp(ko.w)},{title:Object(an.a)("TTF File"),name:"ttf",value:t,type:"upload",accept:".ttf",helper:"The Web Open Font Format (TTF) is a format used in web pages by modern browsers."},{title:Object(an.a)("EOT File"),name:"eot",value:o,type:"upload",accept:".eot",helper:"The Web Open Font Format (EOT) is a format used in web pages by modern browsers."},{title:Object(an.a)("WOFF File"),name:"woff",value:n,type:"upload",accept:".woff",helper:"The Web Open Font Format (WOFF) is a format used in web pages by modern browsers."},{title:Object(an.a)("WOFF2 File"),name:"woff2",value:a,type:"upload",accept:".woff2",helper:"The Web Open Font Format (WOFF2) is a format used in web pages by modern browsers."}]}getEditData(){const{data:{fontName:e,weights:t}}=this.context.app;return t.map(t=>({id:t,title:e,type:ko.w[t]}))}render(){const{mode:e,nextLoading:t,prevLoading:o,addLoading:n,error:a}=this.state;return"add"===e?Oo.a.createElement(Lp,{data:this.getAddData(),error:a,nextLoading:t,prevLoading:o,onNext:this.handleAddFonts,onPrev:this.handlePrev,onActive:this.handleUploadFonts}):Oo.a.createElement(Vp,{data:this.getEditData(),error:a,nextLoading:t,prevLoading:o,createLoading:n,onNext:this.handleNext,onPrev:this.handlePrev,onCreate:this.handleChangeAddMode,onActive:this.handleRemoveFonts})}}Object(yo.a)(Up,"contextType",Wi);var Kp=Object(xo.b)()(Up);class qp extends nc{}Object(yo.a)(qp,"upload",Fp),Object(yo.a)(qp,"variation",Kp),Object(yo.a)(qp,"done",Hp);var Yp=qp;const Xp=Bo.a.get("pro");var Zp=class extends el{constructor(...e){super(...e),Object(yo.a)(this,"appsData",[]),Object(yo.a)(this,"appsComponent",r),Object(yo.a)(this,"proExceptions",!Xp),Object(yo.a)(this,"handleConnectApp",async e=>{const t=e.id,{stages:o=[]}=this.appsData.find(e=>e.id===t)||{};await al(),this.setState(Object(Go.a)(n=>{n.stages=o,n.connectedApp=t,n.data[t]=e}),()=>{this.handleNext()})})}async componentDidMount(){const e=Object(wo.a)("integrations.json"),t=await fetch(e),{fonts:o}=await t.json();this.appsData=o,this.setState({loading:!1})}};const Jp=[{id:"upload",title:Object(an.a)("Add New"),icon:"nc-add",component:Zp},{id:"fonts",title:Object(an.a)("Fonts"),icon:"nc-font",component:Bp}];class $p extends fo.Component{render(){return Oo.a.createElement(Li,Object(ta.a)({},this.props,{tabs:Jp,currentTab:"upload",blockTabsWhenLoading:!1}))}}Object(yo.a)($p,"defaultProps",{value:{}});var Qp=$p;var eu=e=>Oo.a.createElement("div",{className:"brz-ed-popup-conditions__buttons"},Oo.a.createElement("button",{className:"brz-button brz-button__cancel",onClick:e.onClose},"Cancel"),Oo.a.createElement("button",{className:"brz-button brz-button__save",onClick:e.onChange},e.loading?Oo.a.createElement(ia.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):"Save"));function tu({showTypeButton:e=!0,active:t,children:o,onChange:n,onRemove:a}){const r=t?"include":"exclude",i=t?Oo.a.createElement(ia.b,{icon:"nc-include"}):Oo.a.createElement(ia.b,{icon:"nc-none"}),l=ra()("brz-ed-popup-conditions__type","brz-ed-popup-conditions__type-".concat(r));return Oo.a.createElement("div",{className:"brz-ed-popup-conditions__condition brz-d-xs-flex"},e&&Oo.a.createElement("div",{className:l,onClick:()=>n({active:!t})},Oo.a.createElement("span",{className:"brz-ed-popup-conditions__type-text"},i,Object(As.c)(r))),Oo.a.createElement("div",{className:"brz-ed-popup-conditions__select brz-d-xs-flex"},o),Oo.a.createElement("div",{className:"brz-ed-popup-conditions__remove",onClick:a},Oo.a.createElement(ia.b,{icon:"nc-trash"})))}const ou=1,nu=2,au=16,ru="page";function iu(e,{appliedFor:t,entityType:o}){return e.findIndex(({groupValue:e,value:n})=>e===t&&n===o)}function lu(e,t){if(!t.length)return t;let o=t;return e.forEach(e=>{const n=iu(t,e);if(e.appliedFor!==ou&&e.appliedFor!==nu)o=Object(kn.setIn)(o,[n,"disabled"],!0);else{const{items:t}=o[n];if(t&&e.entityValues.length){const a=t.findIndex(({value:{globalBlockId:t}})=>e.entityValues.includes(t));-1!==a&&(o=Object(kn.setIn)(o,[n,"items",a,"disabled"],!0))}}}),o}function cu(e){return e.filter((function(t,o){return e.findIndex(({appliedFor:e,entityType:o,entityValues:n})=>e===t.appliedFor&&o===t.entityType&&Ao.a.isEqual(n,t.entityValues))>=o})).map(e=>{let{id:t}=e;return Object(ca.a)(e,["id"])})}class su extends Oo.a.Component{renderGroupOptions(e){return[{title:"All",groupValue:"",value:""},...e].map(({title:e,value:t,groupValue:o,disabled:n})=>Oo.a.createElement(Wr.a,{key:"key-".concat(t),value:"".concat(o,"|").concat(t),disabled:n},e))}renderTypeOptions(e){return[{title:"All",value:""},...e].map(({title:e,value:t,disabled:o})=>Oo.a.createElement(Wr.a,{key:"key-".concat(t),value:t,disabled:o},e))}render(){const{rulesList:e,rule:t,onGroupChange:o,onTypeChange:n}=this.props,a=e[iu(e,t)];return Oo.a.createElement("div",{className:"brz-ed-popup-conditions__select brz-d-xs-flex"},Oo.a.createElement(Lr.a,{className:"brz-control__select--light",maxItems:6,itemHeight:30,defaultValue:"".concat(t.appliedFor,"|").concat(t.entityType),onChange:o},this.renderGroupOptions(e)),a&&a.items&&Oo.a.createElement(Lr.a,{defaultValue:t.entityValues[0],className:"brz-control__select--light",maxItems:6,itemHeight:30,onChange:n},this.renderTypeOptions(a.items)))}}Object(yo.a)(su,"defaultProps",{rulesList:[],rule:{},onGroupChange:Ao.a.noop,onTypeChange:Ao.a.noop});var du=su;function pu(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const uu=1,bu=2;class hu extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleRemove",e=>{this.props.onChange(Object(kn.removeAt)(this.props.rules,e))}),Object(yo.a)(this,"handleVisibilityTypeChange",(e,t)=>{t=t?uu:bu;const o=Object(kn.setIn)(this.props.rules,[e,"type"],Number(t));this.props.onChange(o)}),Object(yo.a)(this,"handleGroupChange",(e,t)=>{const{rules:o}=this.props;let[n,a]=e.split("|");const r=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?pu(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):pu(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},o[t],{entityType:a,appliedFor:""===n?"":Number(n),entityValues:[]});this.props.onChange(Object(kn.setIn)(o,[t],r))}),Object(yo.a)(this,"handleTypeChange",(e,t)=>{const{rules:o}=this.props,n=e?[e]:[];this.props.onChange(Object(kn.setIn)(o,[t,"entityValues"],n))})}render(){const{rules:e,rulesList:t}=this.props;return e.map((e,o)=>{let{type:n}=e,a=Object(ca.a)(e,["type"]);const r=n===uu;return Oo.a.createElement(tu,{key:o,active:r,index:o,onChange:()=>this.handleVisibilityTypeChange(o,!r),onRemove:()=>this.handleRemove(o)},Oo.a.createElement(du,{rule:a,rulesList:t,onGroupChange:e=>this.handleGroupChange(e,o),onTypeChange:e=>this.handleTypeChange(e,o)}))})}}Object(yo.a)(hu,"defaultProps",{rules:[],rulesList:[],onChange:Ao.a.noop});var mu=hu;function gu(e){const{className:t,type:o="text",placeholder:n="",value:a="",onChange:r=(()=>{})}=e,i=ra()("brz-input",t);return Oo.a.createElement("div",{className:"brz-control__select"},Oo.a.createElement("input",{className:i,type:o,placeholder:n,value:a,onChange:({target:{value:e}})=>r(e)}))}function vu(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function yu(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?vu(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):vu(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function fu(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ou(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?fu(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):fu(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Cu(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Su(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Cu(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Cu(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function xu(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ju(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?xu(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):xu(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const{availableRoles:Bu}=Bo.a.get("wp");var Pu=[{id:"pageLoad",title:"On Page Load",type:"number",placeholder:"After (sec)",Component:gu},{id:"scrolling",title:"On Scroll",defaultValue:{value:"down",within:"",toElement:""},duplicatesAmount:1/0,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(Lr.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o(yu({},t,{value:e}))},Oo.a.createElement(Wr.a,{key:"down",value:"down"},"Down"),Oo.a.createElement(Wr.a,{key:"up",value:"up"},"Up"),Oo.a.createElement(Wr.a,{key:"toElement",value:"toElement"},"To element")),"down"===t.value&&Oo.a.createElement("div",{className:"brz-control__select"},Oo.a.createElement("input",{className:"brz-input",type:"number",placeholder:"% of page height",value:t.within,onChange:({target:{value:e}})=>o(yu({},t,{within:e}))})),"toElement"===t.value&&Oo.a.createElement("div",{className:"brz-control__select"},Oo.a.createElement("input",{className:"brz-input",type:"text",placeholder:".my-class",value:t.toElement||"",onChange:({target:{value:e}})=>o(yu({},t,{toElement:e}))})))}},{id:"click",title:"On Click",type:"number",placeholder:"clicks",Component:gu},{id:"inactivity",title:"After Inactivity",type:"number",placeholder:"After (sec)",Component:gu},{id:"exitIntent",title:"On Page Exit Intent",defaultValue:!0},{id:"showing",title:"Show After X",defaultValue:{value:"views",views:5,sessions:3},duplicatesAmount:2,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(Lr.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o(Ou({},t,{value:e}))},Oo.a.createElement(Wr.a,{key:"views",value:"views"},"Page Views"),Oo.a.createElement(Wr.a,{key:"sessions",value:"sessions"},"Sessions")),Oo.a.createElement("div",{className:"brz-control__select"},Oo.a.createElement("input",{className:"brz-input",type:"number",placeholder:"Number of",value:t[t.value],onChange:({target:{value:e}})=>o(Ou({},t,{[t.value]:e}))})))}},{id:"referrer",title:"Arriving From",defaultValue:{value:"show",url:"",source:"search_engines"},duplicatesAmount:1/0,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(Lr.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o(Su({},t,{value:e}))},Oo.a.createElement(Wr.a,{key:"show",value:"show"},"Show"),Oo.a.createElement(Wr.a,{key:"hide",value:"hide"},"Hide"),Oo.a.createElement(Wr.a,{key:"regex",value:"regex"},"Regex"),Oo.a.createElement(Wr.a,{key:"source",value:"source"},"Source")),"source"===t.value?Oo.a.createElement(Lr.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.source,onChange:e=>o(Su({},t,{source:e}))},Oo.a.createElement(Wr.a,{key:"search_engines",value:"search_engines"},"Search Engines"),Oo.a.createElement(Wr.a,{key:"external",value:"external"},"External Links"),Oo.a.createElement(Wr.a,{key:"internal",value:"internal"},"Internal Links")):Oo.a.createElement("div",{className:"brz-control__select"},Oo.a.createElement("input",{className:"brz-input",type:"text",placeholder:"URL",value:t.url,onChange:({target:{value:e}})=>o(Su({},t,{url:e}))})))}},{id:"loggedIn",title:"Hide for logged in users",defaultValue:{value:"all",user:Bu[0].role},duplicatesAmount:1/0,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e,{availableRoles:n}=Bo.a.get("wp");return Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(Lr.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o(ju({},t,{value:e}))},Oo.a.createElement(Wr.a,{key:"all",value:"all"},"All users"),Oo.a.createElement(Wr.a,{key:"custom",value:"custom"},"Custom")),"custom"===t.value&&Oo.a.createElement(Lr.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.user,onChange:e=>o(ju({},t,{user:e}))},n.map(({role:e,name:t})=>Oo.a.createElement(Wr.a,{key:e,value:e},t))))}},{id:"devices",title:"Show on devices",defaultValue:"desktop",duplicatesAmount:3,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(Lr.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t,onChange:e=>o(e)},Oo.a.createElement(Wr.a,{key:"desktop",value:"desktop"},"Desktop"),Oo.a.createElement(Wr.a,{key:"tablet",value:"tablet"},"Tablet"),Oo.a.createElement(Wr.a,{key:"mobile",value:"mobile"},"Mobile")))}}];function wu(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Tu(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?wu(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):wu(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class zu extends Oo.a.Component{constructor(e){super(e),Object(yo.a)(this,"handleChange",()=>{const{values:e,triggerOnce:t}=this.state,o={id:"triggerOnce",active:!0,value:t};this.setState({loading:!0},()=>{const t={syncSuccess:()=>this.setState({loading:!1}),syncFail:()=>this.setState({loading:!1})};this.props.dispatch(Object(Uo.bb)([...e,o],t))})}),Object(yo.a)(this,"handleTriggerOnceChange",e=>this.setState({triggerOnce:e})),Object(yo.a)(this,"handleWrapperTriggerChange",(e,t)=>this.setState({values:Object(kn.setIn)(this.state.values,[e],Tu({},this.state.values[e],{},t))})),Object(yo.a)(this,"handleWrapperTriggerRemove",e=>this.setState({values:Object(kn.removeAt)(this.state.values,e)})),Object(yo.a)(this,"handleValueChange",(e,t)=>this.setState({values:Object(kn.setIn)(this.state.values,[e,"value"],t)})),Object(yo.a)(this,"handleAdd",()=>{const{values:e}=this.state,t=this.getAvailableItems();t[0]&&this.setState({values:[...e,{id:t[0].id,active:!0,value:t[0].defaultValue}]})});const t=e.values.find(({id:e})=>"triggerOnce"===e)||{},o=Object(kn.removeAt)(e.values,e.values.indexOf(t));this.state={triggerOnce:t.value||!1,values:o,loading:!1}}handleTriggerChange(e,t){const{values:o}=this.state,{defaultValue:n}=Pu.find(({id:e})=>e===t),a=Object(kn.setIn)(o,[e],Tu({},o[e],{id:t,value:n}));this.setState({values:a})}getAvailableItems(e){const{values:t}=this.state;let o=t.reduce((e,{id:t})=>(e[t]?e[t]++:e[t]=1,e),{});return Pu.filter(({id:n,duplicatesAmount:a=1})=>{const r=t.find(e=>e.id===n),i=o[n]&&a>o[n];return e===n||i||!r}).sort(({id:e,duplicatesAmount:o=0},{id:n,duplicatesAmount:a=0})=>{const r=t.find(t=>t.id===e),i=t.find(e=>e.id===n);return r?1:i?-1:o>a?1:o<a?-1:0})}renderTriggers(e){const{values:t}=this.state,o=t[e].id,n=this.getAvailableItems(o).map(({id:e,title:t},o)=>Oo.a.createElement(Wr.a,{key:o,value:e},t));return Oo.a.createElement(Lr.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:o,onChange:t=>this.handleTriggerChange(e,t)},n)}render(){const{values:e,triggerOnce:t}=this.state,o=e.map((e,t)=>{const o=Pu.find(({id:t})=>t===e.id)||{},{Component:n}=o,a=Object(ca.a)(o,["Component"]),r=n?Oo.a.createElement(n,Object(ta.a)({},a,e,{onChange:e=>this.handleValueChange(t,e)})):null;return Oo.a.createElement(tu,{showTypeButton:!1,key:t,active:e.active,onChange:e=>this.handleWrapperTriggerChange(t,e),onRemove:()=>this.handleWrapperTriggerRemove(t)},this.renderTriggers(t),r)});return Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement("div",{className:"brz-ed-popup-conditions__trigger-once"},Oo.a.createElement("div",null,"Trigger Popup Only Once"),Oo.a.createElement(Tl.a,{defaultValue:t,onChange:this.handleTriggerOnceChange})),Oo.a.createElement(hl.a,{style:{overflow:"hidden",height:"350px"},className:"brz-ed-scroll--medium brz-ed-scroll--new-dark"},o,Oo.a.createElement("div",{className:"brz-ed-popup-conditions__add-condition",onClick:this.handleAdd},Oo.a.createElement(ia.b,{icon:"nc-add"})," Add new trigger condition")),Oo.a.createElement(eu,{loading:this.state.loading,onChange:this.handleChange,onClose:this.props.onClose}))}}var ku={rules:function({onClose:e=(()=>{})}){const[t,o]=Object(fo.useState)([]),[n,a]=Object(fo.useState)(!1),[r,i]=Object(fo.useState)(null),[l,c]=function(e){const[t,o]=Object(fo.useState)([]),[n,a]=Object(fo.useState)(!0);return Object(fo.useEffect)(()=>{!async function(){a(!0);const e=(await Object(Po.j)()||[]).map(({items:e})=>e).flat();a(!1),o(e)}()},[]),Object(fo.useEffect)(()=>{t.length&&async function(){const n=function(e){return e.reduce((e,t)=>{return e.find(({appliedFor:e,entityType:o})=>e===t.appliedFor&&o===t.entityType)||e.push(t),e},[])}(e);let a=t;n.forEach(async e=>{const n=iu(t,e),r=e.appliedFor,i=t[n]&&t[n].items;if([ou,nu,au].includes(r)&&!i){let t=[];switch(r){case ou:case au:{const{posts:o}=await Object(Po.q)(e.entityType);t=o.map(({ID:e,title:t})=>({title:t,value:e}));break}case nu:t=(await Object(Po.v)(e.entityType)).map(({name:e,term_id:t})=>({title:e,value:t}));break}a=Object(kn.setIn)(a,[n,"items"],t),o(a)}})}()},[e,t]),[n,lu(e,t)]}(t);return Object(fo.useEffect)(()=>{!async function(){const e=await Object(Po.s)()||[];o(e)}()},[]),Oo.a.createElement(Oo.a.Fragment,null,l?Oo.a.createElement("div",{className:"brz-ed-popup-conditions__spin"},Oo.a.createElement(ia.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})):Oo.a.createElement(hl.a,{style:{overflow:"hidden",height:"350px"},className:"brz-ed-scroll--medium brz-ed-scroll--new-dark"},Oo.a.createElement(mu,{rules:t,rulesList:c,onChange:e=>o(e)}),Oo.a.createElement("div",{className:"brz-ed-popup-conditions__add-condition",onClick:function(){o([...t,{type:1,appliedFor:ou,entityType:ru,entityValues:[]}])}},Oo.a.createElement(ia.b,{icon:"nc-add"})," Add new display condition")),r&&Oo.a.createElement("div",{className:"error"},r),Oo.a.createElement(eu,{loading:n,onChange:async function(){a(!0),i(null),Object(Lo.b)().dispatch(Object(Uo.Z)({data:cu(t),meta:{syncSuccess:()=>a(!1),syncFail:e=>{a(!1),i(e.responseJSON.data.message)}}}))},onClose:e}))},triggers:Object(xo.b)(e=>({values:Object(nn.C)(e)}),e=>({dispatch:e}))(zu)};class Eu extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{activeTab:this.props.options[0].type}),Object(yo.a)(this,"handleTabChange",e=>this.setState({activeTab:e}))}renderIcons(){const{options:e}=this.props,{activeTab:t}=this.state;return e.map(e=>{const o=ra()("brz-ed-popup-tab-item","brz-ed-popup-tab-item-conditions",{active:t===e.type});return Oo.a.createElement("div",{key:e.type,className:o,onClick:()=>this.handleTabChange(e.type)},Oo.a.createElement("div",{className:"brz-ed-popup-tab-icon"},Oo.a.createElement(ia.b,{icon:e.icon})),Oo.a.createElement("div",{className:"brz-ed-popup-tab-name"},e.label))})}render(){const{options:e,onClose:t}=this.props,{activeTab:o}=this.state,n=ku[o],a=e.find(({type:e})=>e===o),{type:r,icon:i,label:l,title:c}=a,s=Object(ca.a)(a,["type","icon","label","title"]);return Oo.a.createElement(ai,{onClose:t},Oo.a.createElement("div",{className:"brz-ed-popup-wrapper"},Oo.a.createElement("div",{className:"brz-ed-popup-header"},Oo.a.createElement("div",{className:"brz-ed-popup-header__tabs"},this.renderIcons()),Oo.a.createElement("div",{className:"brz-ed-popup-btn-close",onClick:t})),Oo.a.createElement("div",{className:"brz-ed-popup-content brz-ed-popup-pane brz-ed-popup-icons"},Oo.a.createElement("div",{className:"brz-ed-popup-body"},Oo.a.createElement("div",{className:"brz-ed-popup-conditions"},Oo.a.createElement("div",{className:"brz-ed-popup-conditions__head"},Oo.a.createElement("h3",null,c)),Oo.a.createElement("div",{className:"brz-ed-popup-conditions__body"},Oo.a.createElement(n,Object(ta.a)({},s,{onClose:t}))))))))}}Object(yo.a)(Eu,"defaultProps",{options:[],onChange:()=>{},onClose:()=>{}});class Hu extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{data:null}),Object(yo.a)(this,"onUIStateChange",e=>{e?this.open(e):this.close()}),Object(yo.a)(this,"close",()=>{this.setState({data:null})}),Object(yo.a)(this,"open",e=>{this.setState({data:e})})}componentDidMount(){$n.a.addChangeListener("prompt",this.onUIStateChange)}componentWillUnmount(){$n.a.removeChangeListener("prompt",this.onUIStateChange)}render(){let e=null;const{data:t}=this.state,o=Boolean(t&&t.prompt);if(o){const o=Ao.a.omit(t,"prompt");switch(t.prompt){case"icon":e=Oo.a.createElement(Ri,Object(ta.a)({},o,{onClose:this.close}));break;case"form-integrations":e=Oo.a.createElement(gp,Object(ta.a)({},o,{onClose:this.close}));break;case"apps-integrations":e=Oo.a.createElement(sc,Object(ta.a)({},o,{onClose:this.close}));break;case"blocks":e=Oo.a.createElement(ts,Object(ta.a)({},o,{onClose:this.close}));break;case"key-helper":e=Oo.a.createElement(yp,Object(ta.a)({},o,{onClose:this.close}));break;case"fonts":e=Oo.a.createElement(Qp,Object(ta.a)({},o,{onClose:this.close}));break;case"conditions":e=Oo.a.createElement(Eu,Object(ta.a)({},o,{onClose:this.close}))}}return Oo.a.createElement(ha.CSSTransition,{in:o,classNames:"brz-ed-fade",timeout:150},Oo.a.createElement("div",null,e))}}var _u=Hu,Ru=o(120);function Mu(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Iu(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Mu(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Mu(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Fu=(e,t={})=>{Ru.a.error(e,Iu({renderIcon:()=>Oo.a.createElement(ia.b,{icon:"nc-info"}),bar:{size:"2px",style:"solid",color:"currentColor"}},t))},Nu=e=>e.lockedBy.user_email,Lu=({children:e})=>Oo.a.createElement("div",{className:"brz-ed-notification"},Oo.a.createElement("div",{className:"brz-ed-notification__body brz-d-xs-flex brz-flex-xs-column brz-align-items-xs-center brz-text-lg-center"},e)),Wu=({children:e})=>Oo.a.createElement("div",{className:"brz-ed-notification__head"},e),Vu=({children:e})=>Oo.a.createElement("div",{className:"brz-ed-notification__content"},e),Du=({children:e})=>Oo.a.createElement("div",{className:"brz-ed-notification__footer brz-d-xs-flex brz-align-items-xs-center"},e);var Au=Object(xo.b)(e=>({error:Object(nn.e)(e)}))(({error:e,dispatch:t})=>{const{code:o,data:n}=e||{};let a;switch(o){case No.c:a=Oo.a.createElement(Lu,null,Oo.a.createElement(Wu,null,Oo.a.createElement(ia.b,{icon:"nc-warning",className:"brz-ed-notification__warning"})),Oo.a.createElement(Vu,null,n.lockedBy?"".concat(Nu(n)," ").concat(Object(an.a)("is already editing project")):n.statusText||Object(an.a)("Something went wrong")),Oo.a.createElement(Du,null,Oo.a.createElement("button",{className:"brz-button brz-ed-btn brz-ed-btn-blue brz-ed-btn-round brz-ed-btn-xs-2",onClick:()=>{window.parent.location.reload()}},Object(an.a)("Refresh"))));break;case No.f:{const e=Bo.a.get("urls");a=Oo.a.createElement(Lu,null,Oo.a.createElement(Wu,null,Oo.a.createElement(ia.b,{icon:"nc-warning",className:"brz-ed-notification__warning"})),Oo.a.createElement(Vu,null,n.lockedBy?"".concat(Object(an.a)("You can’t make changes"),".\n ").concat(Nu(n)," ").concat(Object(an.a)("is currently working on this page. Do you want to take over")," ?"):n),Oo.a.createElement(Du,null,Oo.a.createElement("a",{className:"brz-a brz-d-xs-flex brz-align-items-xs-center brz-ed-notification__to-dashboard",href:e.backToDashboard},Object(an.a)("To Dashboard")),Oo.a.createElement("button",{className:"brz-button brz-ed-notification__take-over brz-ed-btn brz-ed-btn-blue brz-ed-btn-round brz-ed-btn-xs-2",onClick:()=>{t(Object(Uo.X)(null)),Object(Po.A)().catch(()=>{Fu(Object(an.a)("Take over failed please refresh the page"))})}},Object(an.a)("Take over"))));break}case No.e:a=Oo.a.createElement(Lu,null,Oo.a.createElement(Wu,null,Oo.a.createElement(ia.b,{icon:"nc-warning",className:"brz-ed-notification__warning"})),Oo.a.createElement(Vu,null,n),Oo.a.createElement(Du,null,Oo.a.createElement("button",{className:"brz-button brz-ed-btn brz-ed-btn-blue brz-ed-btn-round brz-ed-btn-xs-2",onClick:()=>{window.parent.location.reload()}},Object(an.a)("Refresh"))));break;default:a=null}return Oo.a.createElement(ha.CSSTransition,{in:Boolean(a),timeout:300,classNames:"brz-ed-fade",unmountOnExit:!0},a||Oo.a.createElement("span",null))}),Gu=o(122);class Uu extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"handlePageChange",({items:e},t)=>{this.props.reduxDispatch(Object(Uo.R)({blocks:e,meta:t}))})}componentDidMount(){document.body.classList.add("brz-ow-hidden","brz-height--100vh")}render(){const{PagePopup:e}=zo.a.getComponents(),{reduxState:t,reduxDispatch:o}=this.props,{pagePreview:n}=Bo.a.get("urls"),a=Object(nn.o)(t);return Oo.a.createElement(fo.Fragment,null,Boolean(a.length)&&Oo.a.createElement("iframe",{id:"brz-ed-home-page",src:n}),Oo.a.createElement(e,{dbValue:{items:a},reduxState:t,reduxDispatch:o,onChange:this.handlePageChange}))}}var Ku=Object(xo.b)(e=>({reduxState:e}),e=>({reduxDispatch:e}),null,{areStatesEqual:(e,t)=>e.pageBlocks===t.pageBlocks&&e.currentStyleId===t.currentStyleId&&e.currentStyle===t.currentStyle&&e.extraFontStyles===t.extraFontStyles&&e.fonts===t.fonts&&e.copiedElement===t.copiedElement})(Uu);class qu extends Oo.a.Component{constructor(e){super(e),this.parentWindowDocument=window.parent.document}handleKeyDown(){$n.a.set("prompt",{prompt:"key-helper"})}render(){return Oo.a.createElement(Oo.a.Fragment,null,Xa.b?Oo.a.createElement(Ku,null):Oo.a.createElement(ea,null),Oo.a.createElement(_l.a,{node:this.parentWindowDocument.body},Oo.a.createElement($r,null)),Oo.a.createElement(_l.a,{node:this.parentWindowDocument.body},Oo.a.createElement(Gu.a,null)),Oo.a.createElement(_l.a,{node:this.parentWindowDocument.body},Oo.a.createElement(oi,null)),Oo.a.createElement(_l.a,{node:this.parentWindowDocument.body},Oo.a.createElement(_u,null)),Oo.a.createElement(_l.a,{node:this.parentWindowDocument.body},Oo.a.createElement(Au,null)),Oo.a.createElement(fr.a,{keyNames:["ctrl+/","cmd+/","right_cmd+/"],id:"key-helper-editor",onKeyDown:this.handleKeyDown}))}}var Yu=qu;const Xu=async()=>{Xa.d;{const e=await Object(Po.p)();e.length,0;const t=Bo.a.get("page")&&Bo.a.get("page").id;return t?e.find(e=>e.id===t):e.find(e=>e.is_index)}};var Zu=o(18),Ju=o(26);class $u extends Oo.a.Component{render(){const{className:e,icon:t}=this.props,o=ra()(e,"floating-action-button");return Oo.a.createElement("div",{className:o,onClick:this.props.onClick},t?Oo.a.createElement(ia.b,{icon:t}):null)}}Object(yo.a)($u,"defaultProps",{className:"",icon:null,onClick:Ao.a.noop});var Qu=$u;function eb(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const tb={desktop:{title:Xa.b?Object(an.a)("START BUILDING YOUR POPUP"):Object(an.a)("START BUILDING YOUR PAGE"),description:Xa.b?Object(an.a)("Press the button above to add popup"):Object(an.a)("Press the button above to add blocks")},tablet:{title:Object(an.a)("SWITCH TO DESKTOP"),description:Xa.b?Object(an.a)("Switch to desktop to add popup"):Object(an.a)("Switch to desktop to add blocks")},mobile:{title:Object(an.a)("SWITCH TO DESKTOP"),description:Xa.b?Object(an.a)("Switch to desktop to add popup"):Object(an.a)("Switch to desktop to add blocks")}};class ob extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleTemplateAdd",e=>{const{insertIndex:t,dispatch:o}=this.props,n={insertIndex:t};o(Object(Uo.M)(e,n))}),Object(yo.a)(this,"handleBlockAdd",e=>{const{insertIndex:t,dispatch:o}=this.props,n={insertIndex:t};o(Object(Uo.D)(e,n))}),Object(yo.a)(this,"open",()=>{const{promptData:e,deviceMode:t,dispatch:o}=this.props;"desktop"===t?$n.a.set("prompt",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?eb(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):eb(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({prompt:"blocks",tabProps:{blocks:{onAddBlocks:this.handleBlockAdd},saved:{blocksFilter:e=>e.filter(([e,{data:t}])=>"SectionPopup"!==t.type&&"SectionPopup2"!==t.type),onAddBlocks:this.handleBlockAdd},global:{blocksFilter:e=>e.filter(([e,{data:t}])=>"SectionPopup"!==t.type&&"SectionPopup2"!==t.type),onAddBlocks:this.handleBlockAdd},templates:{onAddBlocks:this.handleTemplateAdd}}},e)):o(Object(Uo.Q)("desktop"))})}render(){const{deviceMode:e}=this.props,{title:t,description:o}=tb[e],n={icon:"mobile"===e||"tablet"===e?"nc-desktop":null,className:"mobile"===e||"tablet"===e?"floating-action-button--icon":null};return Oo.a.createElement("div",{className:"brz-ed-wrap-block-wrap brz-ed-wrap-block-wrap--first"},Oo.a.createElement("div",{className:"brz-ed-wrap-block-empty-page",onClick:this.open},Oo.a.createElement("div",{className:"brz-ed-wrap-block-empty-page-heading"},t),Oo.a.createElement(Qu,n),Oo.a.createElement("div",{className:"brz-ed-wrap-block-empty-page-heading2"},o)))}}Object(yo.a)(ob,"defaultProps",{insertIndex:0});var nb=Object(Ca.c)({allow:["admin"],component:Object(xo.b)(e=>({deviceMode:e.ui.deviceMode}),e=>({dispatch:e}),void 0,{forwardRef:!0})(ob)});class ab extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleTemplateAdd",e=>{const{insertIndex:t,dispatch:o}=this.props,n={insertIndex:t};o(Object(Uo.M)(e,n))}),Object(yo.a)(this,"handleBlockAdd",e=>{const{insertIndex:t,dispatch:o}=this.props,n={insertIndex:t};o(Object(Uo.D)(e,n))}),Object(yo.a)(this,"open",()=>{$n.a.set("prompt",{prompt:"blocks",tabProps:{blocks:{onAddBlocks:this.handleBlockAdd},saved:{blocksFilter:e=>e.filter(([e,{data:t}])=>"SectionPopup"!==t.type&&"SectionPopup2"!==t.type),onAddBlocks:this.handleBlockAdd},global:{blocksFilter:e=>e.filter(([e,{data:t}])=>"SectionPopup"!==t.type&&"SectionPopup2"!==t.type),onAddBlocks:this.handleBlockAdd},templates:{onAddBlocks:this.handleTemplateAdd}}})})}shouldComponentUpdate(){return!1}render(){return Oo.a.createElement("div",{className:"brz-ed-container-plus"},Oo.a.createElement("div",{className:"brz-ed-container-trigger brz-ed-container-trigger--small",onClick:this.open}))}}Object(yo.a)(ab,"defaultProps",{insertIndex:0});var rb=Object(Ca.c)({allow:["admin"],component:Object(xo.b)()(ab)});class ib extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleTemplateAdd",e=>{const{insertIndex:t,dispatch:o}=this.props,n={insertIndex:t};o(Object(Uo.M)(e,n))}),Object(yo.a)(this,"handleBlockAdd",e=>{const{insertIndex:t,dispatch:o}=this.props,n={insertIndex:t};o(Object(Uo.D)(e,n))}),Object(yo.a)(this,"open",()=>{$n.a.set("prompt",{prompt:"blocks",tabProps:{blocks:{onAddBlocks:this.handleBlockAdd},saved:{blocksFilter:e=>e.filter(([e,{data:t}])=>"SectionPopup"!==t.type&&"SectionPopup2"!==t.type),onAddBlocks:this.handleBlockAdd},global:{blocksFilter:e=>e.filter(([e,{data:t}])=>"SectionPopup"!==t.type&&"SectionPopup2"!==t.type),onAddBlocks:this.handleBlockAdd},templates:{onAddBlocks:this.handleTemplateAdd}}})})}shouldComponentUpdate(){return!1}render(){const e=ra()("brz-ed-container-adder",this.props.className);return Oo.a.createElement("div",{className:e},Oo.a.createElement("span",{className:"brz-span brz-ed-block-adder-title"},Object(an.a)("Add a new block")),Oo.a.createElement(Qu,{onClick:this.open}),Oo.a.createElement("span",{className:"brz-span brz-ed-block-adder-desc"},Object(an.a)("Press the button to add blocks")))}}Object(yo.a)(ib,"defaultProps",{insertIndex:0,blocks:[]});var lb=Object(Ca.c)({allow:["admin"],component:Object(xo.b)(void 0,void 0,void 0,{forwardRef:!0})(ib)});class cb extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{error:null}),Object(yo.a)(this,"handleRemoveClick",e=>{e.preventDefault(),e.stopPropagation(),this.props.onRemove()})}componentDidCatch(){this.setState({error:!0})}renderError(){const e=Bo.a.get("urls"),t={margin:"0 0.3em"};return Oo.a.createElement("div",{style:{height:"200px",background:"lightgray",display:"flex",justifyContent:"center",alignItems:"center"}},Oo.a.createElement("div",{style:{textAlign:"center",lineHeight:"2em"}},Oo.a.createElement("span",{className:"brz-span"},Object(an.a)("An error happened while trying to display this block")),Oo.a.createElement("br",{className:"brz-br"}),Oo.a.createElement("span",{className:"brz-span"},Object(an.a)("You can"),Oo.a.createElement("a",{className:"brz-a",href:e.support,target:"_blank",rel:"noopener noreferrer",style:t},Object(an.a)("open an issue")),Object(an.a)("or"),Oo.a.createElement("a",{className:"brz-a",href:"#",style:t,onClick:this.handleRemoveClick},Object(an.a)("remove this block")))))}renderForEdit(){return this.state.error?this.renderError():this.props.children}renderForView(){return null}render(){return this.renderForEdit()}}class sb extends Ju.a{constructor(...e){super(...e),Object(yo.a)(this,"blockAdderRef",Oo.a.createRef()),Object(yo.a)(this,"handleTemplateAdd",e=>{const t={insertIndex:this.getValue().length};this.props.dispatch(Object(Uo.M)(e,t))}),Object(yo.a)(this,"handleBlockAdd",e=>{const t={insertIndex:this.getValue().length};this.props.dispatch(Object(Uo.D)(e,t))}),Object(yo.a)(this,"handleKeyDown",()=>{$n.a.set("prompt",{prompt:"blocks",tabProps:{blocks:{categoriesFilter:e=>e.filter(({slug:e})=>"popup"!==e),onAddBlocks:this.handleBlockAdd},saved:{blocksFilter:e=>e.filter((e,{data:t})=>"SectionPopup"!==t.type&&"SectionPopup2"!==t.type),onAddBlocks:this.handleBlockAdd},global:{blocksFilter:e=>e.filter((e,{data:t})=>"SectionPopup"!==t.type&&"SectionPopup2"!==t.type),onAddBlocks:this.handleBlockAdd},templates:{onAddBlocks:this.handleTemplateAdd}}})})}static get componentId(){return"Page.Items"}getItemProps(e,t){const{blockId:o}=e,n={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:Object(an.a)("Delete"),position:250,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{blockId:o,toolbarExtend:this.makeToolbarPropsFromConfig(n)}}renderItemWrapper(e,t,o,n,a){const r=o+1,i="unlisted"!==n.value._blockVisibility&&a.slice(o+1).some(e=>"unlisted"!==e.value._blockVisibility);return Oo.a.createElement("div",{key:t,className:"brz-ed-wrap-block-item"},Oo.a.createElement(cb,{onRemove:()=>this.removeItem(o)},e),i&&Oo.a.createElement(rb,{insertIndex:r}))}renderItemsContainer(e,t){const o=t.every(e=>"unlisted"===e.value._blockVisibility);return 0===e.length||o?Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(nb,{ref:this.blockAdderRef,insertIndex:0}),Oo.a.createElement(fr.a,{keyNames:["ctrl+shift+A","cmd+shift+A","right_cmd+shift+A","shift+ctrl+A","shift+cmd+A","shift+right_cmd+A"],id:"key-helper-blocks",onKeyDown:this.handleKeyDown})):Oo.a.createElement("div",{className:"brz-ed-wrap-block-wrap"},e,Oo.a.createElement(lb,{ref:this.blockAdderRef,insertIndex:e.length}),Oo.a.createElement(fr.a,{keyNames:["ctrl+shift+A","cmd+shift+A","right_cmd+shift+A","shift+ctrl+A","shift+cmd+A","shift+right_cmd+A"],id:"key-helper-blocks",onKeyDown:this.handleKeyDown}))}}var db=Object(xo.b)()(sb);const pb=100,ub=e=>Number(e.toFixed(1));function bb(e){if(!e||0===e.length)return e;const t=ub(pb/e.length),o=ub(pb-t*(e.length-1));return e.map((n,a)=>{const r=a!==e.length-1?t:o;return Object(kn.setIn)(n,["value","width"],r)})}function hb(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function mb(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?hb(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):hb(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const gb=(e,[...t],o)=>{let n=t.pop();n=Number(n)?Number(n):n;let a=Object(kn.getIn)(e,t);return a=Object(kn.insert)(a,n,o),Object(kn.setIn)(e,t,a)},vb=(e,[...t])=>{let o=t.pop();o=Number(o)?Number(o):o;let n=Object(kn.getIn)(e,t);return n=Object(kn.removeAt)(n,o),Object(kn.setIn)(e,t,n)};function yb(e,t){const o=Object(nn.h)(Object(Lo.b)().getState()),{itemPath:n=[]}=t;return Object(Go.a)(e,e=>{let t=e,a=0;do{if(t.type&&"GlobalBlock"===t.type&&t.value){const{globalBlockId:e}=t.value;o[e]&&Object.assign(t,o[e].data,{__tmp_global_original__:JSON.stringify(t)})}t=t[n[a++]]}while(a<n.length)})}function fb(e){const t=[],o=Object(Go.a)(e,e=>{Object(En.g)(e,e=>{if(e.__tmp_global_original__){const o=JSON.parse(e.__tmp_global_original__);delete e.__tmp_global_original__,t.push([o.value.globalBlockId,JSON.stringify(e)]),Object.assign(e,o)}})});if(t.length)for(const[e,o]of t)Object(Lo.b)().dispatch(Object(Sa.b)({id:e,data:JSON.parse(o)}));return o}function Ob(e,{from:t,to:o}){let n=yb(e,t);return n=fb(n=function(e,{from:t,to:o}){let n=e;if("shortcode"===t.itemType){let e=Object(kn.getIn)(n,t.itemPath);if("cloneable"===t.containerType){let a=Object(kn.getIn)(n,t.itemPath.slice(0,-3));a.value.items.length<=1&&(t.containerPath=t.itemPath.slice(0,-4),t.itemPath=t.itemPath.slice(0,-3),t.itemIndex=Number(t.itemPath[t.itemPath.length-1]),Ao.a.isEqual(t.containerPath,o.containerPath)&&t.itemIndex<o.itemIndex&&(o.itemIndex--,o.itemPath[o.itemPath.length-1]=String(o.itemIndex))),e=Object(Xa.k)(Object(kn.setIn)(a,["value","items"],[e]))}switch(o.containerType){case"column":return Sb(n,t,o,e);case"row":return Bb(n,t,o,e);case"section":return Pb(n,t,o,e)}}if("column"===t.itemType){const e=Object(kn.getIn)(n,t.itemPath.slice(0,-3));if("posts"===t.containerType||"carousel"===t.containerType&&"on"===e.value.dynamic){t.itemPath[t.itemPath.length-1]="0";const e=Object(Xa.k)(Object(kn.getIn)(n,t.itemPath));n=gb(n,t.itemPath,e)}switch(o.containerType){case"column":return Tb(n,t,o);case"row":return Ao.a.isEqual(t.containerPath,o.containerPath)?Sb(n,t,o):xb(n,t,o);case"section":return Tb(n,t,o)}}if("row"===t.itemType)switch(o.containerType){case"column":case"section":return Sb(n,t,o)}if("addable"===t.itemType)switch(o.containerType){case"column":return Cb(n,t,o);case"row":return jb(n,t,o);case"section":return wb(n,t,o)}return n}(n=yb(n,o),{from:t,to:o})),n=fb(n)}const Cb=(e,t,o)=>gb(e,o.itemPath,t.itemData),Sb=(e,t,o,n=Object(kn.getIn)(e,t.itemPath))=>{let a;return t.itemPath.length<o.itemPath.length?(a=gb(e,o.itemPath,n),a=vb(a,t.itemPath)):(a=vb(e,t.itemPath),a=gb(a,o.itemPath,n))},xb=(e,t,o)=>{const n=Object(kn.getIn)(e,t.itemPath);return Hb(e,t,o,n)},jb=(e,t,o)=>{const{itemData:n}=t,a="Row"!==n.type?[n]:[],r=kb("Column",{_styles:["column"],items:a}),i=gb(e,o.itemPath,r);return zb(i,o.containerPath,t)},Bb=(e,t,o,n)=>{const a=kb("Column",{_styles:["column"],items:[n]});let r;return t.itemPath.length<o.itemPath.length?(r=zb(gb(e,o.itemPath,a),o.containerPath,t),r=vb(r,t.itemPath)):(r=vb(e,t.itemPath),r=gb(r,o.itemPath,a),zb(r,o.containerPath,t))},Pb=(e,t,o,n)=>{let a=vb(e,t.itemPath);return gb(a,o.itemPath,n)},wb=(e,t,o)=>gb(e,o.itemPath,t.itemData),Tb=(e,t,o)=>{const n=Object(kn.getIn)(e,t.itemPath),a=kb("Row",{_styles:["row","hide-row-borders","padding-0"],items:bb([n])}),r=mb({},o,{containerPath:[...o.itemPath,"value","items"]});return Hb(e,t,r,a)},zb=(e,t,o)=>{const n=Object(kn.getIn)(e,t),{containerType:a,containerPath:r}=o,i="carousel"===a&&Ao.a.isEqual(r,t);return n&&Ao.a.every(n,({type:e})=>"Column"===e)&&!i?Object(kn.setIn)(e,t,bb(n)):e},kb=(e,t={})=>Object(Xa.k)({type:e,value:t}),Eb=(e,t,o,n)=>{let a;return((e,t)=>Ao.a.some(e,(e,o)=>e<t[o]))(t.itemPath,o.itemPath)?(a=zb(gb(e,o.itemPath,n),o.containerPath,t),zb(vb(a,t.itemPath),t.containerPath,t)):(a=zb(vb(e,t.itemPath),t.containerPath,t),zb(gb(a,o.itemPath,n),o.containerPath,t))},Hb=(e,t,o,n)=>{const a=t.containerPath;if(Object(kn.getIn)(e,a).length<=1){const a=t.itemPath.slice(0,-3),r=t.itemPath.slice(0,-4),i=mb({},t,{itemPath:a,containerPath:r});return Eb(e,i,o,n)}return Eb(e,t,o,n)};var _b=o(390);function Rb(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class Mb extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleDNDSort",e=>{const{dbValue:t}=this.props,o=Ob(t,e);this.props.onChange(o)})}static get componentId(){return"Page"}getDBValue(){const e=super.getDBValue();return e._id?e:(this._id||(this._id=Object(gl.a)()),function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Rb(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Rb(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},e,{_id:this._id}))}componentDidMount(){wa.on("dnd.sort",this.handleDNDSort)}componentWillUnmount(){wa.off("dnd.sort",this.handleDNDSort)}renderForEdit(){const e=this.makeSubcomponentProps({bindWithKey:"items"});return Oo.a.createElement("div",{className:"brz-root__container brz-reset-all"},Oo.a.createElement(db,e),Oo.a.createElement("div",{className:"brz-root__container-after"}))}}Object(yo.a)(Mb,"defaultValue",_b);var Ib=Mb,Fb=o(391);function Nb(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class Lb extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleClose",()=>{this.patchValue({items:[]})}),Object(yo.a)(this,"handleDNDSort",e=>{const{dbValue:t}=this.props,o=Ob(t,e);this.props.onChange(o)}),Object(yo.a)(this,"handleBlocksAdd",({fonts:e,block:t})=>{const{dispatch:o}=Object(Lo.b)();e&&o(Object(Sa.a)(e));const n=Object(Xa.n)(t),a=Object(Xa.k)(n);this.patchValue({items:[a]})}),Object(yo.a)(this,"handlePromptOpen",()=>{$n.a.set("prompt",this.getPromptData())})}static get componentId(){return"PagePopup"}getDBValue(){const e=super.getDBValue();return e._id?e:(this._id||(this._id=Object(gl.a)()),function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Nb(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Nb(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},e,{_id:this._id}))}componentDidMount(){if(null===Object(nn.B)(Object(Lo.b)().getState())){const e=[{id:"pageLoad",active:!0,value:"1"}];Object(Lo.b)().dispatch(Object(Uo.bb)(e))}wa.on("dnd.sort",this.handleDNDSort)}componentWillUnmount(){wa.off("dnd.sort",this.handleDNDSort)}blocksFilter(e){return e.filter(([e,{data:t}])=>"SectionPopup"===t.type||"SectionPopup2"===t.type)}getPromptData(){return{prompt:"blocks",tabs:{templates:!1},tabProps:{blocks:{showSidebar:!1,showCategories:!1,showType:!1,showSearch:!1,type:"popups",onAddBlocks:this.handleBlocksAdd},saved:{showSearch:!1,blocksFilter:this.blocksFilter,onAddBlocks:this.handleBlocksAdd},global:{showSearch:!1,blocksFilter:this.blocksFilter,onAddBlocks:this.handleBlocksAdd}}}}renderItems(){const e=this.makeSubcomponentProps({bindWithKey:"items",itemProps:()=>({isOpened:!0,onClose:this.handleClose})});return Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(Ju.a,e),Oo.a.createElement("div",{className:"brz-root__container-after"}))}renderForEdit(e){return 0===e.items.length?Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(nb,{insertIndex:0,promptData:this.getPromptData(),onAddBlocks:this.handleBlocksAdd}),Oo.a.createElement(fr.a,{keyNames:["ctrl+shift+A","cmd+shift+A","right_cmd+shift+A","shift+ctrl+A","shift+cmd+A","shift+right_cmd+A"],id:"key-helper-blocks",onKeyDown:this.handlePromptOpen})):this.renderItems()}renderForView(){return this.renderItems()}}Object(yo.a)(Lb,"defaultValue",Fb);var Wb=Lb;function Vb(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var Db=Oo.a.forwardRef((e,t)=>{let{tagName:o,children:n}=e,a=Object(ca.a)(e,["tagName","children"]);return Oo.a.createElement(o||"div",function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Vb(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Vb(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},a,{ref:t}),n)});function Ab(e){return function(e,t){let o=1540483477,n=t^e.length,a=e.length,r=0;for(;a>=4;){let t=Gb(e,r);t=Kb(t,o),t=Kb(t^=t>>>24,o),n=Kb(n,o),n^=t,r+=4,a-=4}switch(a){case 3:n^=Ub(e,r),n=Kb(n^=e.charCodeAt(r+2)<<16,o);break;case 2:n=Kb(n^=Ub(e,r),o);break;case 1:n=Kb(n^=e.charCodeAt(r),o)}return n=Kb(n^=n>>>13,o),(n^=n>>>15)>>>0}(e).toString(36)}function Gb(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)+(e.charCodeAt(t++)<<16)+(e.charCodeAt(t)<<24)}function Ub(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)}function Kb(e,t){return(65535&(e|=0))*(t|=0)+(((e>>>16)*t&65535)<<16)|0}const qb={desktop:1500,tablet:991,mobile:767},Yb={normal:"normal",hover:"hover"};let Xb={};function Zb({v:e,vs:t,vd:o,styles:n,props:a}){if(o){const{defaultCSS:r,rulesCSS:l,customCSS:c}=function({v:e,vs:t,vd:o,styles:n,props:a}){let r="",l="",c="",s={},d={},p={},u="";Object.entries(qb).forEach((function([b,h]){Object.entries(Yb).forEach((function([h,m]){"desktop"!==b&&"normal"!==h||Object.entries(n).forEach((function([n,m]){Object.entries(m).forEach((function([m,g]){g.forEach((function(m){const g=m.split("|||");u=2===g.length?g[1]:"";const v=g[0];if(!i[v])throw"The style function ".concat(v," is missing");r=i[v]({v:e,device:b,state:h,mode:u,props:a}),s=$b({legacy:s,out:r,styleKey:n,state:h,currentStyle:m}),l=i[v]({v:t,device:b,state:h,mode:u,props:a}),d=$b({legacy:d,out:l,styleKey:n,state:h,currentStyle:m}),c=i[v]({v:o,device:b,state:h,mode:u,props:a}),p=$b({legacy:p,out:c,styleKey:n,state:h,currentStyle:m})}))}))}))}))}));const b=Jb({v:void 0,styles:n,legacy:p});Xb=p;const h=Jb({v:t,styles:n,legacy:d});Xb=d;const m=Jb({v:e,styles:n,legacy:s});return{defaultCSS:b,rulesCSS:h,customCSS:m}}({v:e,vs:t,vd:o,styles:n,props:a});return[r,l,c]}throw new Error("this should not happen. we must have accidentally omitted some element")}function Jb({v:e,styles:t,legacy:o}){let n="",a="",r="",i="",l="",c=0,s="",d="";return Object.entries(qb).forEach((function([p,u],b,h){Object.entries(Yb).forEach((function([b,m]){o[b]&&(r="",i="",Object.entries(o[b]).forEach((function([l,s]){let d;n="",a="",Object.entries(s).forEach((function([r,i]){let s=i[c];e&&JSON.stringify(Xb[b][l][r])===JSON.stringify(o[b][l][r])&&(s=""),n+=t[l].standart&&-1!==t[l].standart.indexOf(r)&&""!==s&&void 0!==s?s:"",a+=t[l].interval&&-1!==t[l].interval.indexOf(r)&&""!==s&&void 0!==s?s:""})),d="".concat("normal"===b?l.replace(":hover",""):l,"{"),""!==n&&(r+=d+n+"}"),""!==a&&(i+=d+a+"}")}))),""!==r&&(s="desktop"===p&&"hover"===b?"@media(min-width:".concat(h[c+1][1],"px){"):"desktop"===p?"":c===h.length-1?"@media(max-width:".concat(u,"px){"):"@media(max-width:".concat(h[c][1],"px) and (min-width:").concat(h[c+1][1]+1,"px){"),l+=s+r+(""!==s?"}":"")),""!==i&&(d=0===c?"@media(min-width:".concat(h[c+1][1],"px){"):c===h.length-1?"@media(max-width:".concat(u,"px){"):"@media(max-width:".concat(h[c][1],"px) and (min-width:").concat(h[c+1][1]+1,"px){"),l+=d+i+(""!==d?"}":""))})),c++})),l}function $b({legacy:e,out:t,styleKey:o,state:n,currentStyle:a}){return"hover"===n&&e.normal&&e.normal[o]&&e.normal[o][a]&&(t=e.normal[o][a][0]===t?"":t),e[n]?e[n][o]?e[n][o][a]?e[n][o][a].push(t):e[n][o][a]=[t]:e[n][o]={[a]:[t]}:e[n]={[o]:{[a]:[t]}},e}function Qb(e,t,[o,n,a]){let r,i,l;if(o)if(r=nh.get(e)){const{node:e,className:t,cssText:n}=r,a=th(o,t);a!==n&&(Qb.isServer||(e.childNodes[0].nodeValue=a),r.cssText=a)}else{const t="brz-css-".concat(Object(gl.a)(5)),n=th(o,t);let a;Qb.isServer||((a=document.createElement("style")).appendChild(document.createTextNode("")),a.childNodes[0].nodeValue=n,oh("default",a)),r={node:a,className:t,cssText:n},ah.default.push(r),nh.set(e,r)}if(n){const e=Ab(n);if(!(i=nh.get(e))){const t="brz-css-".concat(Object(gl.a)(5)),o=th(n,t);let a;Qb.isServer||((a=document.createElement("style")).appendChild(document.createTextNode("")),a.childNodes[0].nodeValue=o,oh("rules",a)),i={node:a,className:t,cssText:o},ah.rules.push(i),nh.set(e,i)}}if(a)if(l=nh.get(t)){const{node:e,className:t,cssText:o}=l,n=th(a,t);n!==o&&(Qb.isServer||(e.childNodes[0].nodeValue=n),l.cssText=n)}else{const e="brz-css-".concat(Object(gl.a)(5)),o=th(a,e);let n;Qb.isServer||((n=document.createElement("style")).appendChild(document.createTextNode("")),n.childNodes[0].nodeValue=o,oh("custom",n)),l={node:n,className:e,cssText:o},ah.custom.push(l),nh.set(t,l)}return[...r?[r.className]:[],...i?[i.className]:[],...l?[l.className]:[]].join(" ")}function eh(){let e="";for(const t of["default","rules","custom"])for(const{cssText:o}of ah[t])e+=o,e+="\n";return e}function th(e,t){return e.replace(/&&/gm,".".concat(t))}function oh(e,t){const o=ah.default,n=ah.rules,a=ah.custom;let r;switch(e){case"default":r=o.length>0?o[o.length-1].node:null;break;case"rules":r=n.length>0?n[n.length-1].node:o.length>0?o[o.length-1].node:null;break;case"custom":r=a.length>0?a[a.length-1].node:n.length>0?n[n.length-1].node:o.length>0?o[o.length-1].node:null;break;default:throw new Error("invalid tujur css node type: "+e)}r?r.insertAdjacentElement("afterend",t):document.head.appendChild(t)}const nh=new Map,ah={default:[],rules:[],custom:[]};var rh=o(3);function ih({v:e}){const{tabsState:t}=e;return"tabHover"===t?"hover":"normal"}function lh({v:e,device:t,state:o}){const n=ih({v:e,state:o}),a=Object(rh.defaultValueValue)({v:e,key:"borderStyle",device:t,state:o});return"hover"===n&&void 0!==e.hoverBorderStyle&&null!==e.hoverBorderStyle?""===e.hoverBorderStyle?"none":e.hoverBorderStyle:""===a?"none":a}function ch({v:e,device:t,state:o,current:n}){const a=ih({v:e,state:o}),r=Object(rh.defaultValueValue)({v:e,key:"borderWidthType",device:t,state:o}),i=Object(rh.defaultValueValue)({v:e,key:"borderWidthType",device:t,state:"hover"}),l=Object(rh.defaultValueValue)({v:e,key:"borderWidth",device:t,state:o}),c=Object(rh.defaultValueValue)({v:e,key:"borderWidth",device:t,state:"hover"}),s=Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),d=Object(rh.defaultValueValue)({v:e,key:n,device:t,state:"hover"});return"".concat("hover"===a&&"grouped"===i?c:"hover"===a&&"ungrouped"===i?d:"grouped"===r?l:s,"px")}var sh=o(12);function dh({v:e,device:t,state:o,prefix:n="color"}){const a=ih({v:e,state:o}),{hex:r}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"".concat(n,"Hex"),device:t,state:o}),Object(rh.defaultValueValue)({v:e,key:"".concat(n,"Palette"),device:t,state:o})),i=Object(rh.defaultValueValue)({v:e,key:"".concat(n,"Opacity"),device:t,state:o}),{hex:l}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"".concat(n,"Hex"),device:t,state:"hover"}),Object(rh.defaultValueValue)({v:e,key:"".concat(n,"Palette"),device:t,state:"hover"})),c=Object(rh.defaultValueValue)({v:e,device:t,key:"".concat(n,"Opacity"),state:"hover"});return"hover"===a?Object(mn.c)(l,c):Object(mn.c)(r,i)}function ph({v:e,device:t,state:o,prefix:n="bg"}){const a=ih({v:e,state:o}),r=Object(rh.defaultValueValue)({v:e,key:"".concat(n,"ColorType"),device:t,state:o}),{hex:i}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"".concat(n,"ColorHex"),device:t,state:o}),Object(rh.defaultValueValue)({v:e,key:"".concat(n,"ColorPalette"),device:t,state:o})),l=Object(rh.defaultValueValue)({v:e,key:"".concat(n,"ColorOpacity"),device:t,state:o}),c=Object(rh.defaultValueValue)({v:e,key:"".concat(n,"ColorType"),device:t,state:"hover"}),{hex:s}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"".concat(n,"ColorHex"),device:t,state:"hover"}),Object(rh.defaultValueValue)({v:e,key:"".concat(n,"ColorPalette"),device:t,state:"hover"})),d=Object(rh.defaultValueValue)({v:e,key:"".concat(n,"ColorOpacity"),device:t,state:"hover"});return"hover"===a&&"solid"===c?Object(mn.c)(s,d):"solid"===r?Object(mn.c)(i,l):"transparent"}function uh({v:e,device:t,state:o}){const n=ih({v:e,state:o}),a=Object(rh.defaultValueValue)({v:e,key:"bgColorType",device:t,state:o}),r=Object(rh.defaultValueValue)({v:e,key:"gradientType",device:t,state:o}),i=Object(rh.defaultValueValue)({v:e,key:"gradientLinearDegree",device:t,state:o}),{hex:l}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"bgColorHex",device:t,state:o}),Object(rh.defaultValueValue)({v:e,key:"bgColorPalette",device:t,state:o})),c=Object(rh.defaultValueValue)({v:e,key:"bgColorOpacity",device:t,state:o}),s=Object(rh.defaultValueValue)({v:e,key:"gradientStartPointer",device:t,state:o}),{hex:d}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"gradientColorHex",device:t,state:o}),Object(rh.defaultValueValue)({v:e,key:"gradientColorPalette",device:t,state:o})),p=Object(rh.defaultValueValue)({v:e,key:"gradientColorOpacity",device:t,state:o}),u=Object(rh.defaultValueValue)({v:e,key:"gradientFinishPointer",device:t,state:o}),b=Object(rh.defaultValueValue)({v:e,key:"gradientRadialDegree",device:t,state:o}),h=Object(rh.defaultValueValue)({v:e,key:"bgColorType",device:t,state:"hover"}),m=Object(rh.defaultValueValue)({v:e,key:"gradientType",device:t,state:"hover"}),g=Object(rh.defaultValueValue)({v:e,key:"gradientLinearDegree",device:t,state:"hover"}),{hex:v}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"bgColorHex",device:t,state:"hover"}),Object(rh.defaultValueValue)({v:e,key:"bgColorPalette",device:t,state:"hover"})),y=Object(rh.defaultValueValue)({v:e,key:"bgColorOpacity",device:t,state:"hover"}),f=Object(rh.defaultValueValue)({v:e,key:"gradientStartPointer",device:t,state:"hover"}),{hex:O}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"gradientColorHex",device:t,state:"hover"}),Object(rh.defaultValueValue)({v:e,key:"gradientColorPalette",device:t,state:"hover"})),C=Object(rh.defaultValueValue)({v:e,key:"gradientColorOpacity",device:t,state:"hover"}),S=Object(rh.defaultValueValue)({v:e,key:"gradientFinishPointer",device:t,state:"hover"}),x=Object(rh.defaultValueValue)({v:e,key:"gradientRadialDegree",device:t,state:"hover"});return"hover"===n&&"gradient"===h?"linear"===m?"linear-gradient(".concat(g,"deg, ").concat(Object(mn.c)(v,y)," ").concat(f,"%, ").concat(Object(mn.c)(O,C)," ").concat(S,"%)"):"radial-gradient(circle ".concat(x,"px,").concat(Object(mn.c)(v,y)," ").concat(f,"%, ").concat(Object(mn.c)(O,C)," ").concat(S,"%)"):"hover"===n&&"solid"===h?"none":"gradient"===a?"linear"===r?"linear-gradient(".concat(i,"deg, ").concat(Object(mn.c)(l,c)," ").concat(s,"%, ").concat(Object(mn.c)(d,p)," ").concat(u,"%)"):"radial-gradient(circle ".concat(b,"px, ").concat(Object(mn.c)(l,c)," ").concat(s,"%, ").concat(Object(mn.c)(d,p)," ").concat(u,"%)"):"none"}function bh({v:e,device:t,state:o}){const n=ih({v:e,state:o}),{hex:a}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"borderColorHex",device:t,state:o}),Object(rh.defaultValueValue)({v:e,key:"borderColorPalette",device:t,state:o})),r=Object(rh.defaultValueValue)({v:e,key:"borderColorOpacity",device:t,state:o}),{hex:i}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"borderColorHex",device:t,state:"hover"}),Object(rh.defaultValueValue)({v:e,key:"borderColorPalette",device:t,state:"hover"})),l=Object(rh.defaultValueValue)({v:e,key:"borderColorOpacity",device:t,state:"hover"});return"hover"===n?Object(mn.c)(i,l):Object(mn.c)(a,r)}function hh({v:e}){const{hoverTransition:t}=e;return"all 0.".concat(t,"s ease-in-out")}function mh({v:e,device:t,state:o}){const n=ih({v:e,state:o}),a=Object(rh.defaultValueValue)({v:e,key:"boxShadow",device:t,state:o});let r=Object(rh.defaultValueValue)({v:e,key:"boxShadowHorizontal",device:t,state:o}),i=Object(rh.defaultValueValue)({v:e,key:"boxShadowVertical",device:t,state:o});const l=Object(rh.defaultValueValue)({v:e,key:"boxShadowBlur",device:t,state:o}),c=Object(rh.defaultValueValue)({v:e,key:"boxShadowSpread",device:t,state:o}),{hex:s}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"boxShadowColorHex",device:t,state:o}),Object(rh.defaultValueValue)({v:e,key:"boxShadowColorPalette",device:t,state:o})),d=Object(rh.defaultValueValue)({v:e,key:"boxShadowColorOpacity",device:t,state:o}),p=Object(rh.defaultValueValue)({v:e,key:"boxShadow",device:t,state:"hover"});let u=Object(rh.defaultValueValue)({v:e,key:"boxShadowHorizontal",device:t,state:"hover"}),b=Object(rh.defaultValueValue)({v:e,key:"boxShadowVertical",device:t,state:"hover"});const h=Object(rh.defaultValueValue)({v:e,key:"boxShadowBlur",device:t,state:"hover"}),m=Object(rh.defaultValueValue)({v:e,key:"boxShadowSpread",device:t,state:"hover"}),{hex:g}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"boxShadowColorHex",device:t,state:"hover"}),Object(rh.defaultValueValue)({v:e,key:"boxShadowColorPalette",device:t,state:"hover"})),v=Object(rh.defaultValueValue)({v:e,key:"boxShadowColorOpacity",device:t,state:"hover"}),y="inset"===p?"inset ":"";return r="inset"===a?-1*r:r,i="inset"===a?-1*i:i,u="inset"===p?-1*u:u,b="inset"===p?-1*b:b,"hover"!==n||"on"!==p&&"inset"!==p?"on"===a||"inset"===a?"".concat("inset"===a?"inset ":"").concat(r,"px ").concat(i,"px ").concat(l,"px ").concat(c,"px ").concat(Object(mn.c)(s,d)):"none":"".concat(y).concat(u,"px ").concat(b,"px ").concat(h,"px ").concat(m,"px ").concat(Object(mn.c)(g,v))}var gh=o(100);const vh=e=>"svg"===e;function yh({v:e,device:t,state:o}){const n=ih({v:e,state:o}),a=Object(rh.defaultValueValue)({v:e,key:"media",device:t,state:o}),r=Object(rh.defaultValueValue)({v:e,key:"bgImageSrc",device:t,state:o}),i=Object(rh.defaultValueValue)({v:e,key:"bgImageExtension",device:t,state:o}),l=Object(rh.defaultValueValue)({v:e,key:"bgPopulation",device:t,state:o}),c=Object(rh.defaultValueValue)({v:e,key:"media",device:t,state:"hover"}),s=Object(rh.defaultValueValue)({v:e,key:"bgImageSrc",device:t,state:"hover"}),d=Object(rh.defaultValueValue)({v:e,key:"bgImageExtension",device:t,state:"hover"}),p=Object(rh.defaultValueValue)({v:e,key:"bgPopulation",device:t,state:"hover"}),u="image"===c&&""!==s&&""===p?"url(".concat(vh(d)?Object(ir.f)(s):Object(ir.c)(s),")"):"none",b="image"===a&&""!==r&&""===l?"url(".concat(vh(i)?Object(ir.f)(r):Object(ir.c)(r),")"):"none";return"hover"===n?u:b}const fh=(e,t)=>"hover"===ih({v:e,state:t})?"hover":t;function Oh({v:e,device:t,state:o,prefix:n=""}){o=fh(e,o);return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(n,"borderRadius"))}function Ch({v:e,device:t,state:o,prefix:n="",current:a="topLeft"}){o=fh(e,o);const r=Object(As.b)(n,"border");return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(r,"".concat(a,"Radius")))}const Sh=(e,t)=>"hover"===ih({v:e,state:t})?"hover":t;function xh({v:e,device:t,state:o,prefix:n=""}){o=Sh(e,o);const a=Object(As.b)(n,"border");return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(a,"style"))}function jh({v:e,device:t,state:o,prefix:n=""}){o=Sh(e,o);const a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),r=Object(As.b)(n,"border"),i=Object(As.b)(r,"colorHex"),l=Object(As.b)(r,"colorOpacity"),c=Object(As.b)(r,"colorPalette"),{hex:s}=Object(sh.d)(a(i),a(c));return Object(mn.c)(s,a(l))}function Bh({v:e,device:t,state:o,prefix:n=""}){o=Sh(e,o);const a=Object(As.b)(n,"border");return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(a,"widthType"))}function Ph({v:e,device:t,state:o,prefix:n=""}){o=Sh(e,o);const a=Object(As.b)(n,"border");return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(a,"width"))}function wh({v:e,device:t,state:o,prefix:n="",current:a="top"}){o=Sh(e,o);const r=Object(As.b)(n,"border");return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(r,"".concat(a,"Width")))}const Th=(e,t)=>"hover"===ih({v:e,state:t})?"hover":t;function zh({v:e,device:t,state:o,prefix:n="color"}){o=Th(e,o);const a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:r}=Object(sh.d)(a(Object(As.b)(n,"hex")),a(Object(As.b)(n,"palette")));return Object(mn.c)(r,a(Object(As.b)(n,"opacity")))}const kh=(e,t)=>"hover"===ih({v:e,state:t})?"hover":t;function Eh({v:e,device:t,state:o,prefix:n="bg"}){o=kh(e,o);const a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:r}=Object(sh.d)(a(Object(As.b)(n,"colorHex")),a(Object(As.b)(n,"colorPalette")));return Object(mn.c)(r,a(Object(As.b)(n,"colorOpacity")))}function Hh({v:e,device:t,state:o,prefix:n="bg"}){o=kh(e,o);const a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o});return Object(sh.d)(a(Object(As.b)(n,"colorHex")),a(Object(As.b)(n,"colorPalette"))).hex}function _h({v:e,device:t,state:o}){o=Rh(e,o);const n=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),a=n("bgColorType"),r=n("gradientType"),{hex:i}=Object(sh.d)(n("bgColorHex"),n("bgColorPalette")),{hex:l}=Object(sh.d)(n("gradientColorHex"),n("gradientColorPalette")),c=n("bgColorOpacity"),s=n("gradientColorOpacity"),d=n("gradientStartPointer"),p=n("gradientFinishPointer"),u=n("gradientLinearDegree"),b=n("gradientRadialDegree");return"gradient"===a?"linear"===r?"linear-gradient(".concat(u,"deg, ").concat(Object(mn.c)(i,c)," ").concat(d,"%, ").concat(Object(mn.c)(l,s)," ").concat(p,"%)"):"radial-gradient(circle ".concat(b,"px, ").concat(Object(mn.c)(i,c)," ").concat(d,"%, ").concat(Object(mn.c)(l,s)," ").concat(p,"%)"):"none"}const Rh=(e,t)=>"hover"===ih({v:e,state:t})?"hover":t;function Mh({v:e,device:t,state:o,prefix:n=""}){const a=(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(n,"verticalAlign"));return void 0===a?a:{top:"flex-start",center:"center",bottom:"flex-end"}[a]}function Ih({v:e,device:t,state:o,prefix:n=""}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(n,"horizontalAlign"))}function Fh({v:e,device:t,state:o,prefix:n=""}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(n,"width"))}function Nh({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"height",device:t})}function Lh({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"size",device:t})}function Wh({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"containerSize",device:t,state:o})}function Vh({v:e,device:t,state:o}){return"".concat(Object(rh.defaultValueValue)({v:e,key:"textSpacing",device:t,state:o}))}function Dh({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("containerType")}function Ah({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"fullHeight",device:t})}function Gh({v:e,device:t,state:o,prefix:n=""}){const a=Object(As.b)(n,"padding");return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(a,"type"))}function Uh({v:e,device:t,state:o,prefix:n=""}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(n,"padding"))}function Kh({v:e,device:t,state:o,prefix:n="",current:a="paddingTop"}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(n,a))}function qh({v:e,device:t,state:o,prefix:n="",current:a="paddingTopSuffix"}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(n,a))}function Yh({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"marginType",device:t,state:o})}function Xh({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"margin",device:t,state:o})}function Zh({v:e,device:t,state:o,current:n}){return Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o})}function Jh({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"marginSuffix",device:t,state:o})}function $h({v:e,device:t,state:o,current:n}){return Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o})}const Qh=(e,t)=>"hover"===ih({v:e,state:t})?"hover":t;function em({v:e,device:t,state:o,prefix:n=""}){o=Qh(e,o);return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(n,"boxShadow"))}function tm({v:e,device:t,state:o,prefix:n=""}){o=Qh(e,o);const a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),r=Object(As.b)(n,"boxShadow"),i=Object(As.b)(r,"colorHex"),l=Object(As.b)(r,"colorOpacity"),c=Object(As.b)(r,"colorPalette"),{hex:s}=Object(sh.d)(a(i),a(c));return Object(mn.c)(s,a(l))}function om({v:e,device:t,state:o,prefix:n=""}){o=Qh(e,o);const a=Object(As.b)(n,"boxShadow");return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(a,"horizontal"))}function nm({v:e,device:t,state:o,prefix:n=""}){o=Qh(e,o);const a=Object(As.b)(n,"boxShadow");return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(a,"vertical"))}function am({v:e,device:t,state:o,prefix:n=""}){o=Qh(e,o);const a=Object(As.b)(n,"boxShadow");return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(a,"blur"))}function rm({v:e,device:t,state:o}){let n;return n="desktop"===t?function({v:e}){const t=e.showOnDesktop;return"on"===t||void 0===t?"":"blur(3px)"}({v:e,device:t,state:o}):"tablet"===t?function({v:e}){const t=e.showOnTablet;return"on"===t||void 0===t?"":"blur(3px)"}({v:e,device:t,state:o}):function({v:e}){const t=e.showOnMobile;return"on"===t||void 0===t?"":"blur(3px)"}({v:e,device:t,state:o})}function im({v:e,device:t,state:o}){let n;return n="desktop"===t?function({v:e}){const t=e.showOnDesktop;return"on"===t||void 0===t?1:.9}({v:e,device:t,state:o}):"tablet"===t?function({v:e}){const t=e.showOnTablet;return"on"===t||void 0===t?1:.9}({v:e,device:t,state:o}):function({v:e}){const t=e.showOnMobile;return"on"===t||void 0===t?1:.9}({v:e,device:t,state:o})}function lm({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("zIndex")}function cm({v:e,device:t,state:o,prefix:n=""}){const a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),r=Object(As.b)(n,"fontFamily"),i=Object(As.b)(n,"fontFamilyType"),l=Object(As.b)(n,"fontStyle"),c=Object(sh.e)("fontFamily",e[r],a(l)),s=Object(sh.e)("fontFamilyType",e[i],a(l));return Object(ko.d)({type:s,family:c}).family}function sm({v:e,device:t,state:o,prefix:n=""}){const a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),r=Object(As.b)(n,"fontSize"),i=Object(As.b)(n,"fontStyle");return Object(sh.e)((e=>Object(rh.defaultValueKey)({key:e,device:t,state:o}))("fontSize"),a(r),a(i))}function dm({v:e,device:t,state:o,prefix:n=""}){const a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),r=Object(As.b)(n,"lineHeight"),i=Object(As.b)(n,"fontStyle");return Object(sh.e)((e=>Object(rh.defaultValueKey)({key:e,device:t,state:o}))("lineHeight"),a(r),a(i))}function pm({v:e,device:t,state:o,prefix:n=""}){const a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),r=Object(As.b)(n,"fontWeight"),i=Object(As.b)(n,"fontStyle");return Object(sh.e)((e=>Object(rh.defaultValueKey)({key:e,device:t,state:o}))("fontWeight"),a(r),a(i))}function um({v:e,device:t,state:o,prefix:n=""}){const a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),r=Object(As.b)(n,"letterSpacing"),i=Object(As.b)(n,"fontStyle");return Object(sh.e)((e=>Object(rh.defaultValueKey)({key:e,device:t,state:o}))("letterSpacing"),a(r),a(i))}function bm({v:e,device:t,state:o,prefix:n=""}){o=vm(e,o);return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(n,"brightness"))}function hm({v:e,device:t,state:o,prefix:n=""}){o=vm(e,o);return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(n,"hue"))}function mm({v:e,device:t,state:o,prefix:n=""}){o=vm(e,o);return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(n,"saturation"))}function gm({v:e,device:t,state:o,prefix:n=""}){o=vm(e,o);return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(n,"contrast"))}const vm=(e,t)=>"hover"===ih({v:e,state:t})?"hover":t;function ym({v:e,device:t}){return"".concat(Object(rh.defaultValueValue)({v:e,key:"spacing",device:t}),"px")}function fm({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"spacing",device:t})}const Om=e=>"svg"===e;function Cm({v:e,device:t,state:o,prefix:n=""}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(n,"widthSidebar"))}function Sm({v:e,device:t,state:o}){const n=Object(rh.defaultValueValue)({v:e,key:"iconPosition",device:t,state:o});return void 0===n?void 0:n}function xm({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("width")}function jm({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("widthSuffix")}function Bm({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("closeCustomSize")}function Pm({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("closeBgSize")}function wm({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("columnsHeightStyle")}function Tm({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"column",device:t,state:o})}function zm({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("width")}function km({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("widthSuffix")}function Em({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("tabsCount")}function Hm({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("customSize")}function _m({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("iconPadding")}function Rm({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("spacing")}function Mm({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("timelineStyle")}function Im({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("verticalMode")}function Fm({v:e,device:t,state:o="normal"}){return Object(rh.defaultValueValue)({v:e,key:"logoSize",device:t,state:o})}function Nm({v:e,device:t,state:o="normal"}){return Object(rh.defaultValueValue)({v:e,key:"skin",device:t,state:o})}function Lm({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("navStyle2Size")}function Wm({v:e,device:t,state:o}){const n=Fh({v:e,device:t,state:o});return void 0===n?"":"width:".concat(n,"%;")}function Vm({v:e,device:t,state:o}){const n=Fh({v:e,device:t,state:o});return void 0===n?"":"max-width:".concat(n,"%;")}function Dm({v:e,device:t,state:o}){return"height:".concat(Nh({v:e,device:t,state:o}),"px;")}function Am({v:e,device:t,state:o}){return"min-height:".concat(Nh({v:e,device:t,state:o}),"px;")}function Gm({v:e,device:t,state:o}){const n=Lh({v:e,device:t,state:o});return void 0!==n?"max-width:".concat(n,"%;"):""}function Um({v:e,device:t,state:o}){const n=Lh({v:e,device:t,state:o});return void 0===n?"":"width:".concat(n,"%;")}function Km({v:e,device:t,state:o}){const n=Wh({v:e,device:t,state:o});return"desktop"===t?"max-width: ".concat(n,"%;"):""}function qm({v:e,device:t,state:o}){return"margin-right: ".concat(function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("spacing")}({v:e,device:t,state:o}),"px;")}function Ym({v:e,device:t,state:o}){return"margin-right: ".concat(Vh({v:e,device:t,state:o}),"px;")}function Xm({v:e,device:t,state:o}){const n=wh({v:e,device:t,state:o,current:"top"}),a=xh({v:e,device:t,state:o}),r=jh({v:e,device:t,state:o});return void 0===n?"":"border-top:".concat(n,"px ").concat(a," ").concat(r,";")}function Zm({v:e,device:t,prefix:o=""}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:o}),";"):""}function Jm({v:e,device:t,prefix:o=""}){return"font-size:".concat(sm({v:e,device:t,prefix:o}),"px;")}function $m({v:e,device:t,prefix:o=""}){return"line-height:".concat(dm({v:e,device:t,prefix:o}),";")}function Qm({v:e,device:t,prefix:o=""}){return"font-weight:".concat(pm({v:e,device:t,prefix:o}),";")}function eg({v:e,device:t,prefix:o=""}){return"letter-spacing:".concat(um({v:e,device:t,prefix:o}),"px;")}function tg({v:e,device:t}){return Zm({v:e,device:t,prefix:"typography"})}function og({v:e,device:t}){return Jm({v:e,device:t,prefix:"typography"})}function ng({v:e,device:t}){return $m({v:e,device:t,prefix:"typography"})}function ag({v:e,device:t}){return Qm({v:e,device:t,prefix:"typography"})}function rg({v:e,device:t}){return eg({v:e,device:t,prefix:"typography"})}function ig({v:e,device:t}){return"font-size:".concat(function({v:e,device:t,state:o}){const n=Object(sh.e)(Object(rh.defaultValueKey)({key:"fontSize",device:t,state:o}),Object(rh.defaultValueValue)({v:e,key:"fontSize",device:t,state:o}),Object(rh.defaultValueValue)({v:e,key:"fontStyle",device:t,state:o})),a=(e=>e<=24?20:e>24&&e<=32?40:60)(n);return"calc(".concat(n,"px - ").concat(a,"%)")}({v:e,device:t}),";")}function lg({v:e,device:t}){return"margin-left:".concat(ym({v:e,device:t}),";")}function cg({v:e,device:t}){return"margin-right:".concat(ym({v:e,device:t}),";")}function sg({v:e,device:t}){return Zm({v:e,device:t,prefix:"number"})}function dg({v:e,device:t}){return Jm({v:e,device:t,prefix:"number"})}function pg({v:e,device:t}){return $m({v:e,device:t,prefix:"number"})}function ug({v:e,device:t}){return Qm({v:e,device:t,prefix:"number"})}function bg({v:e,device:t}){return eg({v:e,device:t,prefix:"number"})}function hg({v:e,device:t}){return Zm({v:e,device:t,prefix:"title"})}function mg({v:e,device:t}){return Jm({v:e,device:t,prefix:"title"})}function gg({v:e,device:t}){return $m({v:e,device:t,prefix:"title"})}function vg({v:e,device:t}){return Qm({v:e,device:t,prefix:"title"})}function yg({v:e,device:t}){return eg({v:e,device:t,prefix:"title"})}function fg({v:e,device:t}){return Zm({v:e,device:t,prefix:"message"})}function Og({v:e,device:t}){return Jm({v:e,device:t,prefix:"message"})}function Cg({v:e,device:t}){return $m({v:e,device:t,prefix:"message"})}function Sg({v:e,device:t}){return Qm({v:e,device:t,prefix:"message"})}function xg({v:e,device:t}){return eg({v:e,device:t,prefix:"message"})}function jg({v:e,device:t,state:o}){return pv({v:e,device:t,state:o,prefix:"numberColor"})}function Bg({v:e,device:t,state:o}){return pv({v:e,device:t,state:o,prefix:"titleColor"})}function Pg({v:e,device:t,state:o}){return pv({v:e,device:t,state:o,prefix:"messageColor"})}function wg(){return"transition-property: color, background-color, border, box-shadow;"}function Tg({v:e}){return"stroke-dasharray: calc(".concat(e.end," + 0.5) 100;")}function zg({v:e}){return"stroke-width: ".concat(e.strokeWidth," !important;")}function kg({v:e,device:t,state:o,prefix:n="fillColor"}){const a=function({v:e,device:t,state:o,prefix:n="fillColor"}){return zh({v:e,device:t,state:o,prefix:n})}({v:e,device:t,state:o,prefix:n});return void 0===a?"":"fill:".concat(a,";")}function Eg({v:e,device:t,state:o,prefix:n="strokeColor"}){const a=function({v:e,device:t,state:o,prefix:n="strokeColor"}){return zh({v:e,device:t,state:o,prefix:n})}({v:e,device:t,state:o,prefix:n});return void 0===a?"":"stroke:".concat(a,";")}function Hg(){return"transition-property: color, fill, stroke"}function _g({v:e,device:t,state:o}){return"flex-direction:".concat(function({v:e}){const{iconPosition:t}=e;return"right"===t?"row-reverse":"row"}({v:e,device:t,state:o}),";")}function Rg({v:e,device:t,state:o}){return"margin-right:".concat(function({v:e}){const{iconSpacing:t,iconPosition:o}=e;return"left"===o?"".concat(t,"px"):"auto"}({v:e,device:t,state:o}),";")}function Mg({v:e,device:t,state:o}){return"margin-left:".concat(function({v:e}){const{iconSpacing:t,iconPosition:o}=e;return"right"===o?"".concat(t,"px"):"auto"}({v:e,device:t,state:o}),";")}function Ig({v:e,device:t,state:o,prefix:n="",borderColor:a="color"}){let r="",i=0,l=0,c=0,s=0,d=Bh({v:e,device:t,state:o,prefix:n}),p="",u=0,b=0,h=0,m=0,g=!1,v="",y="";const f=xh({v:e,device:t,state:o,prefix:n});if(a="transparent"===a?"transparent":jh({v:e,device:t,state:o,prefix:n}),"grouped"===d){const a=Ph({v:e,device:t,state:o,prefix:n});i=a,l=a,c=a,s=a}else i=wh({v:e,device:t,state:o,prefix:n,current:"top"}),l=wh({v:e,device:t,state:o,prefix:n,current:"right"}),c=wh({v:e,device:t,state:o,prefix:n,current:"bottom"}),s=wh({v:e,device:t,state:o,prefix:n,current:"left"});if("normal"===o){if(v=xh({v:e,device:t,prefix:n,state:"hover"}),y="transparent"===a?"transparent":jh({v:e,device:t,prefix:n,state:"hover"}),"grouped"===(p=Bh({v:e,device:t,prefix:n,state:"hover"}))){const o=Ph({v:e,device:t,state:"hover"});u=o,b=o,h=o,m=o}else u=wh({v:e,device:t,prefix:n,state:"hover",current:"top"}),b=wh({v:e,device:t,prefix:n,state:"hover",current:"right"}),h=wh({v:e,device:t,prefix:n,state:"hover",current:"bottom"}),m=wh({v:e,device:t,prefix:n,state:"hover",current:"left"});g=(u>0||b>0||h>0||m>0)&&""!==v}const O=i===l&&i===c&&i===s&&0===i||""===f,C=(i>0||l>0||c>0||s>0)&&""!==f;return r=void 0===i||void 0===l||void 0===c||void 0===s||void 0===f||void 0===a?"":i===l&&i===c&&i===s&&i>0&&""!==f?"border:".concat(i,"px ").concat(f," ").concat(a,";"):C?"border-width:".concat(i,"px ").concat(l,"px ").concat(c,"px ").concat(s,"px;border-style:").concat(f,";border-color:").concat(a,";"):O&&g?"border:0px ".concat(v," ").concat(y,";"):"border:0px solid ".concat(a,";")}function Fg({v:e,device:t,state:o,prefix:n="",borderColor:a="transparent"}){return Ig({v:e,device:t,state:o,prefix:n,borderColor:a})}function Ng({v:e,device:t,state:o,prefix:n=""}){let a=0,r=0,i=0,l=0;if("grouped"===function({v:e,device:t,state:o,prefix:n=""}){o=fh(e,o);const a=Object(As.b)(n,"borderRadius");return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(a,"type"))}({v:e,device:t,state:o,prefix:n})){const c=Oh({v:e,device:t,state:o,prefix:n});a=c,r=c,i=c,l=c}else a=Ch({v:e,device:t,state:o,prefix:n,current:"topLeft"}),r=Ch({v:e,device:t,state:o,prefix:n,current:"topRight"}),i=Ch({v:e,device:t,state:o,prefix:n,current:"bottomLeft"}),l=Ch({v:e,device:t,state:o,prefix:n,current:"bottomRight"});return void 0===a?"":a===r&&a===i&&a===l&&a>0?"border-radius: ".concat(a,"px;"):a>0||r>0||i>0||l>0?"border-radius:".concat(a,"px ").concat(r,"px ").concat(l,"px ").concat(i,"px;"):"border-radius:0;"}function Lg({v:e,device:t,state:o}){const n=fm({v:e,device:t,state:o});return"width:calc(100% + ".concat(n,"px);")}function Wg({v:e,device:t,state:o}){const n=fm({v:e,device:t,state:o});return"margin:-".concat(n/2,"px;")}function Vg({v:e,device:t,state:o}){const n=function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"gridColumn",device:t})}({v:e,device:t,state:o});return"width:".concat(n>1?100/n:100,"%;")}function Dg({v:e,device:t,state:o}){const n=fm({v:e,device:t,state:o});return"padding:".concat(n/2,"px;")}function Ag({v:e,device:t,state:o}){const n=(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("filterSpacing");return"margin: 1px ".concat(n,"px 0 ").concat(n,"px;")}function Gg({v:e,device:t,state:o}){const n=(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("afterFilterSpacing");return"margin-bottom:".concat(n,"px;")}function Ug({v:e,device:t,state:o}){const n=function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"filterStyle",device:t})}({v:e,device:t,state:o}),a=Ih({v:e,device:t,state:o,prefix:"filter"});switch(n){case"style-2":return"center"===a?"":"left"===a?"margin-right: auto;":"margin-left: auto;";default:{const e={left:"flex-start",center:"center",right:"flex-end"},t=void 0===a?a:e[a];return"justify-content:".concat(t,";")}}}function Kg({v:e,device:t,state:o}){return uy({v:e,device:t,state:o,prefix:"filter"})}function qg({v:e,device:t,state:o}){return pv({v:e,device:t,state:o,prefix:"filterColor"})}function Yg({v:e,device:t,state:o}){return nv({v:e,device:t,state:o,prefix:"filterBg"})}function Xg({v:e,device:t,state:o}){return hv({v:e,device:t,state:o,prefix:"filter"})}function Zg({v:e,device:t,state:o}){return Ig({v:e,device:t,state:o,prefix:"filter"})}function Jg({v:e,device:t,state:o}){return Ng({v:e,device:t,state:o,prefix:"filter"})}function $g({v:e,device:t}){return Zm({v:e,device:t,prefix:"filter"})}function Qg({v:e,device:t}){return Jm({v:e,device:t,prefix:"filter"})}function ev({v:e,device:t}){return $m({v:e,device:t,prefix:"filter"})}function tv({v:e,device:t}){return Qm({v:e,device:t,prefix:"filter"})}function ov({v:e,device:t}){return eg({v:e,device:t,prefix:"filter"})}function nv({v:e,device:t,state:o,prefix:n="bg"}){const a=Eh({v:e,device:t,state:o,prefix:n}),r=_h({v:e,device:t,state:o});return void 0===a||"none"!==r?"":"background-color:".concat(a,";")}function av({v:e,device:t,state:o,prefix:n="bg"}){const a=Hh({v:e,device:t,state:o,prefix:n});return void 0===a?"":"background-color:".concat(a,";")}function rv({v:e,device:t,state:o}){return nv({v:e,device:t,state:o,prefix:"bg2"})}function iv({v:e,device:t,state:o}){const n=_h({v:e,device:t,state:o});return"background-image:".concat(n,";")}function lv({v:e,device:t,state:o}){const n=yh({v:e,device:t,state:o});return"background-image:".concat(n,";")}function cv({v:e,device:t,state:o}){const n=yh({v:e,device:t,state:o}),a=function({v:e,device:t,state:o}){const n=ih({v:e,state:o}),a=Object(rh.defaultValueValue)({v:e,key:"bgPopulation",device:t,state:o}),r=Object(rh.defaultValueValue)({v:e,key:"bgPositionX",device:t,state:o}),i=Object(rh.defaultValueValue)({v:e,key:"bgPopulation",device:t,state:"hover"}),l=Object(rh.defaultValueValue)({v:e,key:"bgPositionX",device:t,state:"hover"});return"hover"===n&&""===i?"".concat(l,"%"):""===a?"".concat(r,"%"):0}({v:e,device:t,state:o}),r=function({v:e,device:t,state:o}){const n=ih({v:e,state:o}),a=Object(rh.defaultValueValue)({v:e,key:"bgPopulation",device:t,state:o}),r=Object(rh.defaultValueValue)({v:e,key:"bgPositionY",device:t,state:o}),i=Object(rh.defaultValueValue)({v:e,key:"bgPopulation",device:t,state:"hover"}),l=Object(rh.defaultValueValue)({v:e,key:"bgPositionY",device:t,state:"hover"});return"hover"===n&&""===i?"".concat(l,"%"):""===a?"".concat(r,"%"):0}({v:e,device:t,state:o});return"none"===n?"":"background-position:".concat(a," ").concat(r,";")}function sv({v:e,device:t,props:o}){const{isSlider:n}=o.meta.section,a=function({v:e,isSlider:t}){const{bgAttachment:o}=e;return{none:"scroll",fixed:"fixed",animated:"scroll"}[t?"none":o]}({v:e,isSlider:n});return"desktop"!==t||void 0===a?"":"background-attachment:".concat(a,";")}function dv({v:e,device:t}){const o="map"===function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"media",device:t})}({v:e,device:t})?"block":"none";return"display: ".concat(o,";")}function pv({v:e,device:t,state:o,prefix:n}){const a=zh({v:e,device:t,state:o,prefix:n});return void 0===a?"":"color:".concat(a,";")}function uv({v:e,device:t,state:o}){const n=zh({v:e,device:t,state:o,prefix:"labelColor"});return void 0===n?"":"color:".concat(n,";")}function bv({v:e,device:t,state:o,prefix:n=""}){const a=em({v:e,device:t,state:o,prefix:n}),r=tm({v:e,device:t,state:o,prefix:n}),i=am({v:e,device:t,state:o,prefix:n}),l=function({v:e,device:t,state:o,prefix:n=""}){o=Qh(e,o);const a=Object(As.b)(n,"boxShadow");return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(a,"spread"))}({v:e,device:t,state:o,prefix:n}),c="inset"===a?-1*om({v:e,device:t,state:o,prefix:n}):om({v:e,device:t,state:o,prefix:n}),s="inset"===a?-1*nm({v:e,device:t,state:o,prefix:n}):nm({v:e,device:t,state:o,prefix:n});if(""===a||"off"===a||0===c&&0===s&&0===i&&0===l)return"";return"".concat("inset"===a?"inset ":"").concat(c,"px ").concat(s,"px ").concat(i,"px ").concat(l,"px ").concat(r,";")}function hv({v:e,device:t,state:o,prefix:n=""}){const a=bv({v:e,device:t,state:o,prefix:n});return""===a?"":"box-shadow:".concat(a,";")}function mv({v:e,device:t,state:o,prefix:n=""}){const a=em({v:e,device:t,state:o,prefix:n}),r=nm({v:e,device:t,state:o,prefix:n}),i=am({v:e,device:t,state:o,prefix:n}),l=tm({v:e,device:t,state:o,prefix:n}),c=r<0?-i:i;return""===a||"off"===a||0===r&&0===i?"":0===r?"box-shadow:inset 0 ".concat(r+c,"px ").concat(i,"px -").concat(i,"px ").concat(l,", inset 0 -").concat(r+c,"px ").concat(i,"px -").concat(i,"px ").concat(l,";"):"box-shadow:inset 0 ".concat(r+c,"px ").concat(i,"px -").concat(i,"px ").concat(l,", inset 0 0 0 0 ").concat(l,";")}function gv({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"shapeTopType",device:t,state:o})}({v:e,device:t,state:o}),a=function({v:e,device:t,state:o}){const{hex:n}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"shapeTopColorHex",device:t,state:o}),Object(rh.defaultValueValue)({v:e,key:"shapeTopColorPalette",device:t,state:o})),a=Object(rh.defaultValueValue)({v:e,key:"shapeTopColorOpacity",device:t,state:o}),r=Object(rh.defaultValueValue)({v:e,key:"shapeTopType",device:t,state:o});return Object(gh.b)(r,Object(mn.c)(n,a))}({v:e,device:t,state:o});return void 0===n?"":"none"===n?"background-image: none;":"background-image: url(".concat(a,");")}function vv({v:e,device:t}){const o=function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"shapeTopHeight",device:t})}({v:e,device:t}),n=function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"shapeTopHeightSuffix",device:t})}({v:e,device:t});return"background-size: 100% ".concat(o).concat(n,"; height: ").concat(o).concat(n,";")}function yv({v:e}){const t=function({v:e}){const{shapeTopHorizontal:t}=e;return t}({v:e});return"transform: ".concat("on"===t?"rotateX(0deg) rotateY(-180deg)":"rotateX(0deg) rotateY(0deg)",";")}function fv({v:e}){const t=function({v:e}){const{shapeTopIndex:t}=e;return t}({v:e});return"z-index: ".concat(t,";")}function Ov({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"shapeBottomType",device:t,state:o})}({v:e,device:t,state:o}),a=function({v:e,device:t,state:o}){const{hex:n}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"shapeBottomColorHex",device:t,state:o}),Object(rh.defaultValueValue)({v:e,key:"shapeBottomColorPalette",device:t,state:o})),a=Object(rh.defaultValueValue)({v:e,key:"shapeBottomColorOpacity",device:t,state:o}),r=Object(rh.defaultValueValue)({v:e,key:"shapeBottomType",device:t,state:o});return Object(gh.b)(r,Object(mn.c)(n,a))}({v:e,device:t,state:o});return void 0===n?"":"none"===n?"background-image: none;":"background-image: url(".concat(a,");")}function Cv({v:e,device:t}){const o=function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"shapeBottomHeight",device:t})}({v:e,device:t}),n=function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"shapeBottomHeightSuffix",device:t})}({v:e,device:t});return"background-size: 100% ".concat(o).concat(n,"; height: ").concat(o).concat(n,";")}function Sv({v:e}){const t=function({v:e}){const{shapeBottomHorizontal:t}=e;return t}({v:e});return"transform: ".concat("on"===t?"rotateX(-180deg) rotateY(0deg)":"rotateX(-180deg) rotateY(-180deg)",";")}function xv({v:e}){const t=function({v:e}){const{shapeBottomIndex:t}=e;return t}({v:e});return"z-index: ".concat(t,";")}function jv({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"hoverTransition",device:t,state:o})}({v:e,device:t,state:o});return void 0===n?"":"transition-duration:0.".concat(n,"s;")}function Bv(){return"transition-property: filter, box-shadow, background, border-radius, border-color;"}function Pv({v:e,device:t,state:o}){const n=function({v:e}){const{fontFamily:t,fontFamilyType:o}=e;return void 0===t?t:Object(ko.d)({family:t,type:o}).family}({v:e,device:t,state:o});return void 0===n?"":"font-family:".concat(n,";")}function wv({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"fontSize",device:t,state:o})}({v:e,device:t,state:o});return void 0===n?"":"font-size:".concat(n,"px;")}function Tv({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"lineHeight",device:t,state:o})}({v:e,device:t,state:o});return void 0===n?"":"line-height:".concat(n,";")}function zv({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"fontWeight",device:t,state:o})}({v:e,device:t,state:o});return void 0===n?"":"font-weight:".concat(n,";")}function kv({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"letterSpacing",device:t,state:o})}({v:e,device:t,state:o});return void 0===n?"":"letter-spacing:".concat(n,"px;")}function Ev({v:e,device:t,state:o}){const n=Kh({v:e,device:t,state:o,current:"paddingTop"}),a=Kh({v:e,device:t,state:o,current:"paddingRight"});return void 0===n&&void 0===a?"":"padding:".concat(n,"px ").concat(a,"px;")}function Hv({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("percentage")}({v:e,device:t,state:o});return void 0===n?"":"max-width:".concat(n,"%;")}function _v(){return"transition-property: color, box-shadow, background, border;"}function Rv({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){const n=Object(rh.defaultValueValue)({v:e,key:"tempBorderRadiusType",device:t,state:o}),a=Object(rh.defaultValueValue)({v:e,key:"borderRadius",device:t,state:o});return void 0===n||"hover"===o?void 0:"rounded"===n?500:a}({v:e,device:t,state:o});return void 0===n?"":"border-radius:".concat(n,"px;")}function Mv({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){const n=Sm({v:e,device:t,state:o});return void 0===n?void 0:"left"===n?"row nowrap":"row-reverse nowrap"}({v:e,device:t,state:o});return void 0===n?"":"flex-flow:".concat(n,";")}function Iv({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"iconCustomSize",device:t,state:o})}({v:e,device:t,state:o});return void 0===n?"":"font-size:".concat(n,"px;")}function Fv({v:e,device:t,state:o}){const n=Sm({v:e,device:t,state:o}),a=function({v:e,device:t,state:o}){const n=Sm({v:e,device:t,state:o}),a=Object(rh.defaultValueValue)({v:e,key:"iconSpacing",device:t,state:o});return void 0===n||void 0===a?void 0:a}({v:e,device:t,state:o});return void 0===n||void 0===a?"":"left"===n?"margin-right:".concat(a,"px;"):"margin-left:".concat(a,"px;")}function Nv({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){const n=Object(rh.defaultValueValue)({v:e,key:"iconCustomSize",device:t,state:o}),a=Object(rh.defaultValueValue)({v:e,key:"iconType",device:t,state:o});return void 0===a||void 0===n?void 0:"outline"===a&&n<=24?1:"outline"===a&&n>24&&n<=32?1.1:"outline"===a&&n>32&&n<=48?1.4:"outline"===a&&n>48&&n<=64?2.3:"outline"===a&&n>64?3:0}({v:e,device:t,state:o});return void 0===n?"":"stroke-width:".concat(n,";")}function Lv(){return"transition-property: color, box-shadow, background, border-color;"}function Wv(){return"transition-property:box-shadow;"}function Vv(){return"transition-property:color,border,box-shadow;"}function Dv(){return"transition-property:border, box-shadow;"}function Av(){return"transition-property:box-shadow;"}function Gv(){return"transition-property:box-shadow;"}function Uv(){return"transition-property:filter, box-shadow, border-radius, border;"}function Kv(){return"transition-property: box-shadow, border, border-radius;"}function qv({v:e,device:t,state:o}){const n=xm({v:e,device:t,state:o}),a=jm({v:e,device:t,state:o});return void 0===n?"":"width:".concat(n).concat(a,";")}function Yv({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return"on"===(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("showCloseButton")?"block":"none"}({v:e,device:t,state:o});return void 0===n?"":"display:".concat(n,";")}function Xv({v:e,device:t,state:o}){const n=zh({v:e,device:t,state:o,prefix:"closeColor"});return void 0===n?"":"color:".concat(n,";")}function Zv({v:e,device:t,state:o}){const n=Bm({v:e,device:t,state:o}),a=Pm({v:e,device:t,state:o});return void 0===n||void 0===a?"":"font-size:".concat(n+2*a,"px;")}function Jv({v:e,device:t,state:o}){const n=Pm({v:e,device:t,state:o});return void 0===n?"":"padding:".concat(n,"px;")}function $v({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("closeBorderRadius")}({v:e,device:t,state:o});return void 0===n?"":"border-radius:".concat(n,"px;")}function Qv({v:e,device:t,state:o}){const n=Eh({v:e,device:t,prefix:"closeBg",state:o});return void 0===n?"":"background-color:".concat(n,";")}function ey({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("closeAlign")}({v:e,device:t,state:o}),a=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("closeHorizontalPosition")}({v:e,device:t,state:o}),r=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("closeHorizontalPositionSuffix")}({v:e,device:t,state:o}),i=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("closeVerticalPosition")}({v:e,device:t,state:o}),l=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("closeVerticalPositionSuffix")}({v:e,device:t,state:o}),c=Bm({v:e,device:t,state:o}),s=Pm({v:e,device:t,state:o}),d=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("closePosition")}({v:e,device:t,state:o}),p="".concat("outside"===d?-i-c-2*s:i).concat(l),u="".concat("outside"===d?-a-c-2*s:a).concat(r);switch(n){case"topLeft":return"top:".concat(p,";left:").concat(u,";right:auto;bottom:auto;");case"topRight":return"top:".concat(p,";right:").concat(u,";left:auto;bottom:auto;");case"bottomLeft":return"bottom:".concat(p,";left:").concat(u,";right:auto;top:auto;");case"bottomRight":return"bottom:".concat(p,";right:").concat(u,";left:auto;top:auto;")}}function ty({v:e,device:t,state:o}){const n=Mh({v:e,device:t,state:o,prefix:"popupRow"});return void 0===n?"":"align-items:".concat(n,";")}function oy({v:e,device:t,state:o}){const n=wm({v:e,device:t,state:o}),a=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("columnsHeight")}({v:e,device:t,state:o}),r=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("columnsHeightSuffix")}({v:e,device:t,state:o});return"custom2"===n?"height: ".concat(a).concat(r,";"):""}function ny({v:e,device:t,state:o}){return"custom2"===wm({v:e,device:t,state:o})?"max-height: 100%; overflow-x: hidden; overflow-y: auto;":""}function ay({v:e,device:t,state:o}){return"custom2"===wm({v:e,device:t,state:o})?"height: 100%;":""}function ry({v:e,device:t,state:o}){return"custom2"===wm({v:e,device:t,state:o})?"max-height: 100%;":""}function iy({v:e,device:t,state:o}){const n=lm({v:e,device:t,state:o});return 0===n?"z-index:auto;":"z-index:".concat(n,";")}function ly({v:e,device:t,state:o}){const n=Mh({v:e,device:t,state:o});return void 0===n?"":"align-items:".concat(n,";")}function cy({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){const n=Object(rh.defaultValueValue)({v:e,key:"horizontalAlign",device:t,state:o});return void 0===n?n:{left:"flex-start",center:"center",right:"flex-end"}[n]}({v:e,device:t,state:o});return void 0===n?"":"justify-content:".concat(n,";")}function sy({v:e,device:t,state:o}){const n=Ih({v:e,device:t,state:o,prefix:"content"});return void 0===n?"":"text-align:".concat(n,";")}function dy({v:e,device:t,state:o,prefix:n=""}){const a=Ih({v:e,device:t,state:o,prefix:n});return void 0===a?"":{left:"margin-right: auto; margin-left: 0;",center:"margin-left: auto; margin-right: auto;",right:"margin-left: auto; margin-right: 0;"}[a]}function py({v:e,device:t,state:o}){const n=Fh({v:e,device:t,state:o});return n>0?"flex:1 1 ".concat(n,"%;"):""}function uy({v:e,device:t,state:o,prefix:n=""}){const a=vy({v:e,device:t,state:o,prefix:n}),r=a.paddingTop===a.paddingRight&&a.paddingTop===a.paddingBottom&&a.paddingTop===a.paddingLeft&&a.paddingTop>0;return 0===a.paddingTop&&0===a.paddingRight&&0===a.paddingBottom&&0===a.paddingLeft?"padding:0;":r?"padding:".concat(a.paddingTop).concat(a.paddingTopSuffix,";"):"padding:".concat(a.paddingTop).concat(a.paddingTopSuffix," ").concat(a.paddingRight).concat(a.paddingRightSuffix," ").concat(a.paddingBottom).concat(a.paddingBottomSuffix," ").concat(a.paddingLeft).concat(a.paddingLeftSuffix,";")}function by({v:e,device:t,state:o}){0}function hy({v:e,device:t,state:o}){{let n="";const a=vy({v:e,device:t,state:o});return n="height:".concat(a.paddingTop).concat(a.paddingTopSuffix,";")}}function my({v:e,device:t,state:o}){{let n="";const a=vy({v:e,device:t,state:o});return n="height:".concat(a.paddingBottom).concat(a.paddingBottomSuffix,";")}}function gy({v:e,device:t,state:o}){{let n="";const a=vy({v:e,device:t,state:o});return n="padding-right:".concat(a.paddingRight).concat(a.paddingRightSuffix,";padding-left:").concat(a.paddingLeft).concat(a.paddingLeftSuffix,";")}}function vy({v:e,device:t,state:o,prefix:n=""}){let a=0,r=0,i=0,l=0,c="px",s="px",d="px",p="px";if("grouped"===Gh({v:e,device:t,state:o,prefix:n})){const u=Uh({v:e,device:t,state:o,prefix:n}),b=function({v:e,device:t,state:o,prefix:n=""}){const a=Object(As.b)(n,"padding");return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(a,"suffix"))}({v:e,device:t,state:o,prefix:n});a=u,r=u,i=u,l=u,c=b,s=b,d=b,p=b}else a=Kh({v:e,device:t,state:o,prefix:n,current:"paddingTop"}),r=Kh({v:e,device:t,state:o,prefix:n,current:"paddingRight"}),i=Kh({v:e,device:t,state:o,prefix:n,current:"paddingBottom"}),l=Kh({v:e,device:t,state:o,prefix:n,current:"paddingLeft"}),c=qh({v:e,device:t,state:o,prefix:n,current:"paddingTopSuffix"}),s=qh({v:e,device:t,state:o,prefix:n,current:"paddingRightSuffix"}),d=qh({v:e,device:t,state:o,prefix:n,current:"paddingBottomSuffix"}),p=qh({v:e,device:t,state:o,prefix:n,current:"paddingLeftSuffix"});return{paddingTop:a,paddingRight:r,paddingBottom:i,paddingLeft:l,paddingTopSuffix:c,paddingRightSuffix:s,paddingBottomSuffix:d,paddingLeftSuffix:p}}function yy({v:e,device:t,state:o}){const n=function({v:e,device:t}){return"".concat(Object(rh.defaultValueValue)({v:e,key:"itemPaddingTop",device:t}),"px")}({v:e,device:t,state:o}),a=function({v:e,device:t}){return"".concat(parseFloat(Object(rh.defaultValueValue)({v:e,key:"itemPaddingRight",device:t})/2),"px")}({v:e,device:t,state:o}),r=function({v:e,device:t}){return"".concat(Object(rh.defaultValueValue)({v:e,key:"itemPaddingBottom",device:t}),"px")}({v:e,device:t,state:o}),i=function({v:e,device:t}){return"".concat(parseFloat(Object(rh.defaultValueValue)({v:e,key:"itemPaddingLeft",device:t})/2),"px")}({v:e,device:t,state:o});return"padding:".concat(n," ").concat(a," ").concat(r," ").concat(i,";")}function fy({v:e,device:t,state:o}){let n="",a="",r=0,i=0,l=0,c=0,s="",d="",p="",u="";"grouped"===(a=Yh({v:e,device:t,state:o}))?"auto"===(c=Zh({v:e,device:t,state:o,current:"marginLeft"}))?(r=l=Xh({v:e,device:t,state:o}),c=i="auto",s=p=Jh({v:e,device:t,state:o})):(r=i=l=c=Xh({v:e,device:t,state:o}),s=d=p=u=Jh({v:e,device:t,state:o})):(r=Zh({v:e,device:t,state:o,current:"marginTop"}),i=Zh({v:e,device:t,state:o,current:"marginRight"}),l=Zh({v:e,device:t,state:o,current:"marginBottom"}),c=Zh({v:e,device:t,state:o,current:"marginLeft"}),s=$h({v:e,device:t,state:o,current:"marginTopSuffix"}),d=$h({v:e,device:t,state:o,current:"marginRightSuffix"}),p=$h({v:e,device:t,state:o,current:"marginBottomSuffix"}),u=$h({v:e,device:t,state:o,current:"marginLeftSuffix"}));const b=0!==r||0!==i||0!==l||0!==c;return n=void 0===r?"":r===i&&r===l&&r===c&&0!==r?"margin:".concat(r).concat(s,";"):b?"margin:".concat(r).concat(s," ").concat(i).concat(d," ").concat(l).concat(p," ").concat(c).concat(u,";"):"margin:0;"}function Oy({v:e,device:t,state:o}){const n=function({v:e,device:t}){return"".concat(-Object(rh.defaultValueValue)({v:e,key:"itemPaddingTop",device:t}),"px")}({v:e,device:t,state:o}),a=function({v:e,device:t}){return"".concat(parseFloat(-Object(rh.defaultValueValue)({v:e,key:"itemPaddingRight",device:t})/2),"px")}({v:e,device:t,state:o}),r=function({v:e,device:t}){return"".concat(-Object(rh.defaultValueValue)({v:e,key:"itemPaddingBottom",device:t}),"px")}({v:e,device:t,state:o}),i=function({v:e,device:t}){return"".concat(parseFloat(-Object(rh.defaultValueValue)({v:e,key:"itemPaddingLeft",device:t})/2),"px")}({v:e,device:t,state:o});return"margin:".concat(n," ").concat(a," ").concat(r," ").concat(i,";")}function Cy(){return"display:flex;"}function Sy(){return"display:inline-flex;"}function xy(){return"display:block;"}function jy({v:e,device:t,state:o}){let n="";{const a=rm({v:e,device:t,state:o}),r=im({v:e,device:t,state:o});n=""!==a?"filter:".concat(a,";opacity:").concat(r,";"):""}return n}function By({v:e,device:t,state:o,mode:n="editor"}){const a=rm({v:e,device:t,state:o});return"editor"===n&&""!==a?"display:var(--elements-visibility, flex);":""}function Py({v:e,device:t,state:o,mode:n="editor"}){const a=rm({v:e,device:t,state:o});return"editor"===n&&""!==a?"display:var(--elements-visibility, inline-flex);":""}function wy({v:e,device:t,state:o,mode:n="editor"}){const a=rm({v:e,device:t,state:o});return"editor"===n&&""!==a?"display:var(--elements-visibility, block);":""}function Ty({v:e,device:t,state:o,mode:n="editor"}){const a=jy({v:e,device:t,state:o});return"editor"===n?a:""}function zy({v:e,device:t,state:o,prefix:n=""}){const a=bm({v:e,device:t,state:o,prefix:n}),r=hm({v:e,device:t,state:o,prefix:n}),i=mm({v:e,device:t,state:o,prefix:n}),l=gm({v:e,device:t,state:o,prefix:n});return 100===a&&0===r&&100===i&&100===l?"":"brightness(".concat(a,"%) hue-rotate(").concat(r,"deg) saturate(").concat(i,"%) contrast(").concat(l,"%)")}function ky({v:e,device:t,state:o,prefix:n=""}){const a=zy({v:e,device:t,state:o,prefix:n});return""===a?"":"filter:".concat(a,";")}function Ey({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){const n=Object(rh.defaultValueValue)({v:e,key:"ratio",device:t,state:o});return void 0===n?n:{"1:1":"100%","2:1":"50%","2:3":"150%","3:4":"125%","3:2":"66.67%","4:3":"75%","9:16":"177.78%","16:9":"56.25%","21:9":"42.86%"}[n]}({v:e,device:t,state:o});return void 0===n?"":"padding-top:".concat(n,";")}function Hy({v:e,device:t,state:o}){const n=bm({v:e,device:t,state:o}),a=hm({v:e,device:t,state:o}),r=mm({v:e,device:t,state:o}),i=gm({v:e,device:t,state:o});return void 0===n&&void 0===a&&void 0===r&&void 0===i?"":"filter:brightness(".concat(n,"%) hue-rotate(").concat(a,"deg) saturate(").concat(r,"%) contrast(").concat(i,"%);")}function _y(){return"pointer-events: none"}function Ry({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"coverZoom",device:t,state:o})}({v:e,device:t,state:o});return void 0===n?"":"background-size:".concat(n,"%;")}function My({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){const n=Object(rh.defaultValueValue)({v:e,key:"iconSize",device:t,state:o}),a=Math.round(.35*n);return void 0===n?n:a}({v:e,device:t,state:o});return void 0===n?"":"font-size:".concat(n,"px;")}function Iy({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"iconSizeWidth",device:t,state:o})}({v:e,device:t,state:o});return void 0===n?"":"width:".concat(n,"px;")}function Fy({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"iconSizeHeight",device:t,state:o})}({v:e,device:t,state:o});return void 0===n?"":"height:".concat(n,"px;")}function Ny({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){const n=Object(rh.defaultValueValue)({v:e,key:"ratio",device:t,state:o});return void 0===n?n:"4:3"===n?"#000":"transparent"}({v:e,device:t,state:o});return void 0===n?"":"background-color:".concat(n,";")}function Ly({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){const n=Object(rh.defaultValueValue)({v:e,key:"coverImageSrc",device:t,state:o}),a=Object(rh.defaultValueValue)({v:e,key:"coverImageExtension",device:t,state:o});return void 0===n?n:""===n?"none":"url(".concat(Om(a)?Object(ir.f)(n):Object(ir.c)(n),")")}({v:e,device:t,state:o});return void 0===n?"":"background-image:".concat(n,";")}function Wy({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"coverPositionX",device:t,state:o})}({v:e,device:t,state:o}),a=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"coverPositionY",device:t,state:o})}({v:e,device:t,state:o});return void 0===n&&void 0===a?"":"background-position:".concat(n,"% ").concat(a,"%;")}function Vy(){return"transition-property: box-shadow, border, border-radius;"}function Dy({v:e,device:t,state:o}){return nv({v:e,device:t,state:o,prefix:"controlsBg"})}function Ay({v:e,device:t,state:o}){return pv({v:e,device:t,state:o,prefix:"iconControlsColor"})}function Gy({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"controlsIconCustomSize",device:t,state:o})}({v:e,device:t,state:o});return void 0===n?"":"font-size:".concat(n,"px;")}function Uy({v:e,device:t}){return Zm({v:e,device:t,prefix:"subTitle"})}function Ky({v:e,device:t}){return Jm({v:e,device:t,prefix:"subTitle"})}function qy({v:e,device:t}){return $m({v:e,device:t,prefix:"subTitle"})}function Yy({v:e,device:t}){return Qm({v:e,device:t,prefix:"subTitle"})}function Xy({v:e,device:t}){return eg({v:e,device:t,prefix:"subTitle"})}function Zy({v:e,device:t,state:o}){const n=Cm({v:e,device:t,state:o});return void 0===n?"":"width:".concat(n,"px;")}function Jy({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o,prefix:n=""}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(n,"widthImage"))}({v:e,device:t,state:o});return void 0===n?"":"max-width:".concat(n,"px; flex: 1 1 ").concat(n,"px;")}function $y({v:e,device:t,state:o}){return Ig({v:e,device:t,state:o,prefix:"item"})}function Qy({v:e,device:t,state:o}){const n=Cm({v:e,device:t,state:o});return void 0===n?"":"width: calc(100% - ".concat(n,"px);")}function ef({v:e,device:t}){const o=Object(rh.defaultValueValue)({v:e,key:"gridColumn",device:t}),n=o>1?100/o:100;return"max-width:".concat(n,"%; flex: 0 0 ").concat(n,"%;")}function tf({v:e,device:t,state:o}){return pv({v:e,device:t,state:o,prefix:"iconColor"})}function of({v:e,device:t,state:o}){return pv({v:e,device:t,state:o,prefix:"subTitleColor"})}function nf({v:e,device:t,state:o}){return nv({v:e,device:t,state:o,prefix:"iconBg"})}function af({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"iconCustomSize",device:t,state:o})}({v:e,device:t,state:o});return void 0===n?"":"font-size:".concat(n,"px;")}function rf({v:e,device:t,state:o}){const n=Kh({v:e,device:t,state:o,current:"paddingTop"}),a=Kh({v:e,device:t,state:o,current:"paddingRight"});return void 0===n&&void 0===a?"":"padding:".concat(n,"px ").concat(a,"px;")}function lf({v:e,device:t}){const o=function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"columnsHeightStyle",device:t})}({v:e,device:t}),n="custom"===o?"".concat(function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"columnsHeight",device:t})}({v:e,device:t})).concat(function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"columnsHeightSuffix",device:t})}({v:e,device:t})):"fullHeight"===o?"100vh":"auto";return"min-height: ".concat(n,";")}function cf({v:e,device:t}){const o="on"===function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"reverseColumns",device:t})}({v:e,device:t})?"row-reverse":"row",n="on"===function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"reverseColumns",device:t})}({v:e,device:t})?"wrap-reverse":"wrap",a="on"===function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"reverseColumns",device:t})}({v:e,device:t})?"flex-end":"flex-start";return"desktop"!==t?"flex-direction:".concat(o,";flex-wrap:").concat(n,";justify-content:").concat(a,";"):""}function sf({v:e,device:t,state:o}){return 0===lm({v:e,device:t,state:o})?"position:static;":"position:relative;"}function df(){return"position:relative;"}function pf({v:e,device:t,state:o}){return"margin-right: ".concat(function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("iconSpacing")}({v:e,device:t,state:o}),"px;")}function uf({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("iconCustomSize")}({v:e,device:t,state:o});return void 0===n?"":"font-size:".concat(n,"px;")}const bf=e=>void 0!==e;function hf({v:e,device:t,state:o}){const n=Dh({v:e,device:t,state:o}),a=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("containerSize")}({v:e,device:t,state:o});return"boxed"===n?"max-width: ".concat(a,"%;"):"max-width: 100%;"}function mf({v:e}){return"fullWidth"===Dh({v:e})?"max-width: 100%;":"max-width: 1170px;"}function gf({v:e}){const t="on"===function({v:e}){const{slider:t}=e;return t}({v:e})?"height":"min-height",o="on"===Ah({v:e})?"100vh":"100%";return bf(o)?"".concat(t,": ").concat(o,";"):""}function vf({v:e,device:t,state:o,prefix:n="sliderDotsColor"}){const a=zh({v:e,device:t,state:o,prefix:n});return bf(a)?"color: ".concat(a,";"):""}function yf({v:e,device:t,state:o,prefix:n="sliderArrowsColor"}){const a=zh({v:e,device:t,state:o,prefix:n});return bf(a)?"color: ".concat(a,";"):""}function ff(){return"transition-property: filter, background, border, border-radius;"}function Of({v:e,device:t,state:o}){let n=0,a="";if("grouped"===Yh({v:e,device:t,state:o})?(n=Xh({v:e,device:t,state:o}),a=Jh({v:e,device:t,state:o})):(n=Zh({v:e,device:t,state:o,current:"marginTop"}),a=$h({v:e,device:t,state:o,current:"marginTopSuffix"})),!bf(n))return"";if(n<0){let t=44-n;if("%"===a){const o=document.querySelector('[data-uid="'.concat(e._id,'"]'));if(o){t=44+o.getBoundingClientRect().width/100*-n}}return"grid-template-rows: minmax(calc(100% - 42px), ".concat(t,"px) 42px;")}return"grid-template-rows: minmax(calc(100% - 42px), ".concat(44,"px) 42px;")}function Cf({v:e,device:t}){const o=Ah({v:e,device:t}),n="custom"===o?"".concat(function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"sectionHeight",device:t})}({v:e,device:t})).concat(function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"sectionHeightSuffix",device:t})}({v:e,device:t})):"on"===o?"100vh":"auto";return"min-height: ".concat(n,";")}function Sf(){return"max-width: 1170px; height: 100%;"}function xf({v:e,device:t,state:o}){return"font-size: ".concat(sm({v:e,device:t,state:o})/2,"px;")}function jf({v:e,device:t,state:o,prefix:n="activeColor"}){return"color: ".concat(zh({v:e,device:t,state:o,prefix:n}),";")}function Bf({v:e,device:t,state:o,prefix:n="arrowsColor"}){return"color: ".concat(zh({v:e,device:t,state:o,prefix:n}),";")}function Pf({v:e,device:t,state:o}){const n=Fh({v:e,device:t,state:o});return void 0===n?"":"flex-basis:".concat(n,"%;")}function wf({v:e,device:t,state:o}){const n=Fh({v:e,device:t,state:o,prefix:"submit"});return void 0===n?"":"max-width:".concat(n,"%;flex-basis:").concat(n,"%;")}function Tf({v:e,device:t,state:o}){const n=(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("type"),a=Nh({v:e,device:t,state:o});return void 0===a||void 0===n?"":"Paragraph"===n?"height:".concat(a,"px!important;"):"height:auto;"}function zf({v:e,device:t,state:o}){const n=Ih({v:e,device:t,state:o,prefix:"label"});return void 0===n?"":"text-align:".concat(n,";")}function kf({v:e,device:t,state:o}){const{paddingTop:n,paddingRight:a,paddingBottom:r,paddingLeft:i}=vy({v:e,device:t,state:o});return void 0===n||void 0===a||void 0===r||void 0===i?"":"margin:-".concat(n,"px -").concat(a/2,"px \n -").concat(r,"px -").concat(i/2,"px;")}function Ef({v:e,device:t,state:o}){const{paddingTop:n,paddingRight:a,paddingBottom:r,paddingLeft:i,paddingTopSuffix:l,paddingRightSuffix:c,paddingBottomSuffix:s,paddingLeftSuffix:d}=vy({v:e,device:t,state:o});return void 0===n||void 0===a||void 0===r||void 0===i?"":"padding:".concat(n).concat(l," \n ").concat(a/2).concat(c," \n ").concat(r).concat(s," \n ").concat(i/2).concat(d,";")}function Hf({v:e,device:t,state:o}){const n=dm({v:e,device:t}),a=sm({v:e,device:t}),{paddingTop:r,paddingBottom:i}=vy({v:e,device:t,state:o}),l=function({v:e,device:t,state:o,prefix:n=""}){let a=0,r=0;if("grouped"===Bh({v:e,device:t,state:o,prefix:n})){const i=Ph({v:e,device:t,state:o,prefix:n});a=i,r=i}else a=wh({v:e,device:t,state:o,prefix:n,current:"top"}),r=wh({v:e,device:t,state:o,prefix:n,current:"bottom"});return a+r}({v:e,device:t,state:o}),c=Math.round(a*n*10)/10;return"height:".concat(c+r+i+l,"px;")}function _f({v:e,device:t}){return Zm({v:e,device:t,prefix:"label"})}function Rf({v:e,device:t}){return Jm({v:e,device:t,prefix:"label"})}function Mf({v:e,device:t}){return $m({v:e,device:t,prefix:"label"})}function If({v:e,device:t}){return Qm({v:e,device:t,prefix:"label"})}function Ff({v:e,device:t}){return eg({v:e,device:t,prefix:"label"})}function Nf({v:e,device:t,state:o}){return uy({v:e,device:t,state:o,prefix:"label"})}function Lf({v:e,device:t,state:o}){return pv({v:e,device:t,state:o,prefix:"checkboxColor"})}function Wf({v:e,device:t}){return Zm({v:e,device:t,prefix:"checkbox"})}function Vf({v:e,device:t}){return Jm({v:e,device:t,prefix:"checkbox"})}function Df({v:e,device:t}){return $m({v:e,device:t,prefix:"checkbox"})}function Af({v:e,device:t}){return Qm({v:e,device:t,prefix:"checkbox"})}function Gf({v:e,device:t}){return eg({v:e,device:t,prefix:"checkbox"})}function Uf({v:e,device:t,state:o}){return pv({v:e,device:t,state:o,prefix:"selectColor"})}function Kf({v:e,device:t,state:o}){return nv({v:e,device:t,state:o,prefix:"selectBg"})}function qf({v:e,device:t,state:o}){const n=Ph({v:e,device:t,state:o});return void 0===n||0===n?"border: 2px solid #f00":"border-color: #f00"}function Yf({v:e,device:t,state:o}){const n=Hh({v:e,device:t,state:o,prefix:"selectBg"});return void 0===n?"":"background-color:".concat(Object(mn.c)(n,.2),";")}function Xf({v:e,device:t,state:o}){const n=wh({v:e,device:t,state:o,prefix:"select",current:"top"}),a=xh({v:e,device:t,state:o,prefix:"select"}),r=jh({v:e,device:t,state:o,prefix:"select"});return void 0===n?"":"border-bottom:".concat(n,"px ").concat(a," ").concat(r,";")}function Zf({v:e,device:t,state:o}){return Ng({v:e,device:t,state:o,prefix:"select"})}function Jf({v:e,device:t,state:o}){return hv({v:e,device:t,state:o,prefix:"select"})}function $f({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o,prefix:n=""}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))(Object(As.b)(n,"columns"))}({v:e,device:t,state:o});return void 0===n?"":"flex-basis:".concat(100/n,"%;")}function Qf({v:e,device:t,state:o,prefix:n="iconsColor"}){return"color: ".concat(zh({v:e,device:t,state:o,prefix:n}),";")}function eO({v:e,device:t,state:o,prefix:n="textColor"}){return"color: ".concat(zh({v:e,device:t,state:o,prefix:n}),";")}function tO({v:e,device:t,state:o}){return"inline"===function({v:e,device:t}){return Object(rh.defaultValueValue)({v:e,key:"large",device:t})}({v:e,device:t})?"margin-right: ".concat(Vh({v:e,device:t,state:o}),"px;"):"margin-top: ".concat(Vh({v:e,device:t,state:o}),"px;")}function oO({v:e,device:t,state:o,prefix:n="ratingColor"}){return"color: ".concat(zh({v:e,device:t,state:o,prefix:n}),";")}function nO({v:e,device:t,state:o,prefix:n="ratingBackgroundColor"}){return"color: ".concat(zh({v:e,device:t,state:o,prefix:n}),";")}function aO(){return"transition-property: color;"}function rO({v:e,device:t,prefix:o}){const n=Ph({v:e,device:t,prefix:o});return Hm({v:e,device:t,prefix:o})+2*_m({v:e,device:t,prefix:o})+2*n}function iO({v:e,device:t,state:o,prefix:n}){return rO({v:e,device:t,state:o,prefix:n})/2}function lO({v:e,device:t,prefix:o}){return"on"===function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("enableText")}({v:e,device:t,prefix:o})}function cO({v:e,device:t,prefix:o}){const n=sm({v:e,device:t,prefix:"typography"}),a=dm({v:e,device:t,prefix:"typography"});return lO({v:e,device:t,prefix:o})?n*a:0}function sO({v:e,device:t,prefix:o}){return lO({v:e,device:t,prefix:o})?116:0}function dO({v:e,device:t,prefix:o}){const n=Hm({v:e,device:t,prefix:o});return"font-size: ".concat(n,"px;")}function pO({v:e,device:t,prefix:o}){const n=_m({v:e,device:t,prefix:o});return"padding: ".concat(n,"px;")}function uO({v:e,prefix:t}){const o=rO({v:e,prefix:t});return"width: ".concat(o,"px;")}function bO({v:e,prefix:t}){const o=rO({v:e,prefix:t});return"height: ".concat(o,"px;")}function hO({v:e,prefix:t}){const o=rO({v:e,prefix:t});return"width: ".concat(o+60,"px;")}function mO({v:e}){return lO({v:e})?"display: block;":"display: none;"}function gO({v:e,device:t}){const o=jh({v:e,device:t,prefix:"line"});return"background-color: ".concat(o,";")}function vO({v:e,device:t,state:o}){const n=Mm({v:e,device:t,state:o}),a=Im({v:e,device:t,state:o}),r=Ph({v:e,prefix:"line"}),i=iO({v:e}),l=cO({v:e,device:t}),c=iO({v:e}),s=Ph({v:e,device:t}),d=Hm({v:e,device:t})+2*_m({v:e,device:t})+2*s+20,p=i+l-r/2;if("off"===a)switch(n){case"style-1":return"top: ".concat(p,"px; bottom:auto; left: ").concat(d,"px;");case"style-2":return"bottom: ".concat(p,"px; top:auto; left: ").concat(d,"px;");case"style-3":return"top: ".concat(p,"px; bottom:auto; left: ").concat(d,"px;")}else if("on"===a)switch(n){case"style-1":case"style-2":case"style-3":return"top: calc( ".concat(c,"px + 50%);")}}function yO({v:e,device:t,prefix:o}){const n=Rm({v:e,device:t,prefix:o}),a=Im({v:e,device:t}),r=Mm({v:e,device:t});if("off"===a)switch(r){case"style-1":return"margin: ".concat(n,"px 10px 0 10px;");case"style-2":return"margin: 0 10px ".concat(n,"px 10px;");case"style-3":return"margin: ".concat(n,"px 10px 0 10px;")}else if("on"===a)switch(r){case"style-1":return"margin: 0 0 0 ".concat(n,"px;");case"style-2":return"margin: 0 ".concat(n,"px 0 0;");case"style-3":return"margin: 0 0 0 ".concat(n,"px;")}}function fO({v:e,device:t,prefix:o}){const n=Ph({v:e,device:t,prefix:o}),a=jh({v:e,device:t,prefix:o});return"border: ".concat(n,"px solid ").concat(a,";")}function OO({v:e,device:t,state:o,prefix:n}){const a=Oh({v:e,device:t,state:o,prefix:n});return"border-radius: ".concat(a,"px;")}function CO({v:e,device:t,state:o,prefix:n}){const a=iO({v:e,prefix:n}),r=sO({v:e})+a,i=Im({v:e,device:t,state:o}),l=Mm({v:e,device:t,state:o});if("on"===i)switch(l){case"style-1":return"left: calc(50% - ".concat(r,"px); right: auto;");case"style-2":return"right: calc(50% - ".concat(r,"px); left: auto;")}else if("off"===i)return"left: auto; right: auto;"}function SO({v:e,device:t,state:o,prefix:n}){const a=iO({v:e,prefix:n}),r=rO({v:e,prefix:n}),i=Ph({v:e,device:t,prefix:"line"}),l=Im({v:e,device:t,state:o});return"on"===l?"height: calc(100px + (50% - ".concat(a,"px)); width: ").concat(i,"px;"):"off"===l?"width: calc(100% - ".concat(r,"px); height: ").concat(i,"px;"):void 0}function xO({v:e,device:t,state:o,prefix:n}){const a=Ph({v:e,device:t,prefix:"line"}),r=iO({v:e,prefix:n}),i=sO({v:e})+r-a/2,l=Im({v:e,device:t,state:o}),c=Mm({v:e,device:t,state:o});if("on"===l)switch(c){case"style-1":return"left: ".concat(i,"px; bottom: calc( ").concat(r,"px + 50%);");case"style-2":return"right: ".concat(i,"px; bottom: calc( ").concat(r,"px + 50%);");case"style-3":return"left: ".concat(i,"px; bottom: calc( ").concat(r,"px + 50%);")}}function jO({v:e,device:t,state:o}){const n=Im({v:e,device:t,state:o});return"on"===n?"display: block;":"off"===n?"display: none;":void 0}function BO({v:e,device:t,state:o,prefix:n}){const a=iO({v:e,prefix:n});if("on"===Im({v:e,device:t,state:o}))return"top: calc( ".concat(a,"px + 50%);")}function PO({v:e,device:t,state:o,prefix:n}){const a=iO({v:e,prefix:n}),r=Im({v:e,device:t,state:o}),i=Mm({v:e,device:t,state:o});if("on"===r&&("style-1"===i||"style-2"===i||"style-3"===i))return"bottom: calc( ".concat(a,"px + 50%);")}function wO({v:e,device:t,prefix:o}){const n=Em({v:e,device:t,prefix:o});if("off"===Im({v:e,device:t,prefix:o})){const e=100/n;return"width: ".concat(e,"%; min-width: ").concat(e,"%;")}return"width: auto; min-width: auto;"}function TO({v:e,device:t,prefix:o}){const n=100/Em({v:e,device:t,prefix:o});return"width: calc(".concat(n,"% - 30px); min-width: calc(").concat(n,"% - 30px);")}function zO({v:e,device:t,state:o,prefix:n}){const a=iO({v:e,prefix:n}),r=sO({v:e})+a,i=Im({v:e,device:t,state:o}),l=Mm({v:e,device:t,state:o});if("on"===i&&"style-2"===l)return"right: calc(50% - ".concat(r,"px);")}function kO({v:e,device:t,state:o,prefix:n}){const a=Ph({v:e,device:t,prefix:"line"}),r=iO({v:e,prefix:n}),i=sO({v:e})+r-a/2,l=Im({v:e,device:t,state:o}),c=Mm({v:e,device:t,state:o});if("on"===l&&"style-2"===c)return"right: ".concat(i,"px;")}function EO({v:e,device:t}){const o=Im({v:e,device:t}),n=Mm({v:e,device:t}),a=Ph({v:e,prefix:"line"}),r=iO({v:e}),i=cO({v:e,device:t}),l=Ph({v:e,device:t}),c=Hm({v:e,device:t}),s=_m({v:e,device:t}),d=iO({v:e}),p=sO({v:e})+d-a/2,u=c+2*s+2*l+20,b=r+i-a/2;if("off"===o)switch(n){case"style-1":return"top: ".concat(b,"px; bottom:auto; right: auto; left: ").concat(u,"px;");case"style-2":return"bottom: ".concat(b,"px; top:auto; right: auto; left: ").concat(u,"px;");case"style-3":return"bottom: ".concat(r,"px; top: unset; right: auto; left: ").concat(u,"px;")}else if("on"===o)switch(n){case"style-1":return"left: ".concat(p,"px;");case"style-2":return"right: ".concat(p,"px; left: auto;");case"style-3":return"left: ".concat(p,"px;")}}function HO({v:e,device:t}){const o=Im({v:e,device:t}),n=Mm({v:e,device:t}),a=Ph({v:e,prefix:"line"}),r=iO({v:e}),i=cO({v:e,device:t}),l=iO({v:e}),c=Ph({v:e,device:t}),s=Hm({v:e,device:t}),d=_m({v:e,device:t}),p=sO({v:e})+l-a/2,u=s+2*d+2*c+20,b=r+i-a/2;if("off"===o)switch(n){case"style-1":return"top: ".concat(b,"px; bottom:auto; right: auto; left: ").concat(u,"px;");case"style-2":return"bottom: ".concat(b,"px; top:auto; right: auto; left: ").concat(u,"px;");case"style-3":return"top: ".concat(r,"px; bottom: unset; right: auto; left: ").concat(u,"px;")}else if("on"===o)switch(n){case"style-1":return"top: calc( ".concat(l,"px + 50%); left: ").concat(p,"px;");case"style-2":return"top: calc( ".concat(l,"px + 50%); right: ").concat(p,"px; left: auto;");case"style-3":return"top: calc( ".concat(l,"px + 50%); left: ").concat(p,"px;")}}function _O({v:e,device:t,prefix:o}){const n=Rm({v:e,device:t,prefix:o}),a=Im({v:e,device:t}),r=Mm({v:e,device:t});if("off"===a){switch(r){case"style-1":return"margin: ".concat(n,"px 10px 0 10px;");case"style-2":case"style-3":return"margin: 0 10px ".concat(n,"px 10px;")}return"margin: 0 10px ".concat(n,"px 10px;")}if("on"===a)switch(r){case"style-1":return"margin: 0 0 0 ".concat(n,"px;");case"style-2":case"style-3":return"margin: 0 ".concat(n,"px 0 0;")}}function RO({v:e,device:t,prefix:o}){const n=Rm({v:e,device:t,prefix:o}),a=Im({v:e,device:t}),r=Mm({v:e,device:t});if("off"===a&&"style-3"===r)return"margin: ".concat(n,"px 10px 0 10px;")}function MO({v:e,device:t,prefix:o}){const n=iO({v:e,prefix:o}),a=sO({v:e})+n,r=Im({v:e,device:t}),i=Mm({v:e,device:t});if("on"===r)switch(i){case"style-1":return"left: calc(50% - ".concat(a,"px);");case"style-2":case"style-3":return"right: calc(50% - ".concat(a,"px); left: auto;")}else if("off"===r)switch(i){case"style-1":case"style-2":case"style-3":return"right: auto; left: auto;"}}function IO({v:e,device:t,prefix:o}){const n=iO({v:e,prefix:o}),a=sO({v:e})+n,r=Im({v:e,device:t}),i=Mm({v:e,device:t});if("on"===r)switch(i){case"style-1":return"left: calc(50% - ".concat(a,"px);");case"style-2":return"left:auto;";case"style-3":return"left: calc(50% - ".concat(a,"px);")}else if("off"===r)switch(i){case"style-1":return"left: auto;";case"style-2":return"left:auto;";case"style-3":return"left: auto;"}}function FO({v:e,device:t,prefix:o}){const n=Ph({v:e,device:t,prefix:"line"}),a=iO({v:e,prefix:o}),r=sO({v:e})+a-n/2,i=Im({v:e,device:t}),l=Mm({v:e,device:t});if("off"===i)switch(l){case"style-1":case"style-2":case"style-3":return""}else if("on"===i)switch(l){case"style-1":return"right: auto; left: ".concat(r,"px;");case"style-2":return"";case"style-3":return"right: ".concat(r,"px; left: unset;")}}function NO({v:e,device:t,prefix:o}){const n=Rm({v:e,device:t,prefix:o}),a=rO({v:e,prefix:o}),r=sO({v:e}),i=r+a+n-7,l=Im({v:e,device:t}),c=Mm({v:e,device:t}),s=iO({v:e,device:t}),d=r+a+n-7;if("off"===l)switch(c){case"style-1":return"bottom: auto; top: 0; left: ".concat(s,"px;");case"style-2":case"style-3":return"bottom: -15px; top: unset;left: ".concat(s,"px;")}else if("on"===l)switch(c){case"style-1":return"bottom: auto; left: ".concat(d,"px; top: 50%;");case"style-2":case"style-3":return"right: ".concat(i,"px; left: unset; top: 50%;")}}function LO({v:e,device:t,prefix:o}){const n=Rm({v:e,device:t,prefix:o}),a=Im({v:e,device:t}),r=Mm({v:e,device:t});if("on"===a&&"style-3"===r)return"margin: 0 ".concat(n,"px 0 0;")}function WO({v:e,device:t,state:o}){const n=zm({v:e,device:t,state:o}),a=km({v:e,device:t,state:o});return void 0===n?"":"min-width:".concat(n).concat(a,"; width:").concat(n).concat(a,";")}function VO({v:e,device:t}){const o=Im({v:e,device:t}),n=Mm({v:e,device:t});if("off"===o)switch(n){case"style-1":return"border-right: transparent ; border-bottom: transparent ; border-left: inherit ; border-top: inherit ;";case"style-2":return"border-left: transparent ; border-top: transparent ; border-right: inherit ; border-bottom: inherit ;"}else if("on"===o)switch(n){case"style-1":return"border-top: transparent ; border-right: transparent ; border-left: inherit ; border-bottom: inherit ;";case"style-2":return"border-left: transparent ; border-bottom: transparent ; border-right: inherit ; border-top: inherit ;"}}function DO({v:e,device:t}){const o=Im({v:e,device:t}),n=Mm({v:e,device:t});return"off"===o&&"style-3"===n?"border-left: transparent ; border-top: transparent ; border-right: inherit ; border-bottom: inherit;":"on"===o&&"style-3"===n?"border-left: transparent; border-bottom: transparent; border-right: inherit; border-top: inherit;":void 0}function AO({v:e,device:t}){const o=Im({v:e,device:t}),n=Mm({v:e,device:t});if("on"===o&&"style-3"===n)return"border-right: transparent; border-top: transparent; border-left: inherit; border-bottom: inherit;"}function GO({v:e,device:t}){const o=Im({v:e,device:t});return"off"===o?"flex: 1 1 auto; flex-direction: row; width: 100%; display: flex; overflow-x: auto; overflow-y: hidden; padding-bottom: 30px;":"on"===o?"display: flex; flex-direction: column; max-width: 100%; overflow-x: unset; overflow-y: unset; padding-bottom: unset; align-items: normal;":void 0}function UO({v:e,device:t}){const o=Im({v:e,device:t}),n=Mm({v:e,device:t});if("off"===o)switch(n){case"style-1":return"display: flex; align-items: normal; flex-direction: column;";case"style-2":return"display: flex; align-items: normal; flex-direction: column-reverse;";case"style-3":return"display: flex; align-items: normal; flex-direction: column;"}else if("on"===o)switch(n){case"style-1":return"display: flex; align-items: center; flex-direction: row;";case"style-2":return"display: flex; align-items: center; flex-direction: row-reverse;";case"style-3":return"display: flex; align-items: center; flex-direction: row;"}}function KO({v:e,device:t}){const o=Im({v:e,device:t}),n=Mm({v:e,device:t}),a=Rm({v:e,device:t}),r=sO({v:e,device:t}),i=rO({v:e,device:t}),l=iO({v:e,device:t}),c=r+i+a-7;if("off"===o)switch(n){case"style-1":return"bottom: auto; top: 0; left: ".concat(l,"px;");case"style-2":return"bottom: -15px; top: unset;left: ".concat(l,"px;");case"style-3":return"bottom: -15px; top: unset; left: ".concat(l,"px;")}else if("on"===o)switch(n){case"style-1":return"bottom: auto; left: ".concat(c,"px; top: 50%;");case"style-2":return"bottom: -15px; right: ".concat(c,"px; left: unset; top: 50%;");case"style-3":return"bottom: -15px; left: ".concat(c,"px; top: 50%;")}}function qO({v:e,device:t}){const o=Im({v:e,device:t}),n=Mm({v:e,device:t});return"off"===o&&"style-3"===n?"bottom: unset;":"off"===o&&"style-2"===n?"bottom: -15px;":void 0}function YO({v:e,device:t}){const o=Im({v:e,device:t}),n=Mm({v:e,device:t});return"off"===o&&"style-3"===n?"position: absolute; top: 0; transform: translateY(-100%);":"on"===o?"position: relative; left: -10px; transform: none;":"position: relative; transform: none;"}function XO({v:e,device:t}){const o=Im({v:e,device:t}),n=Mm({v:e,device:t});if("off"===o)switch(n){case"style-1":case"style-2":return"position: relative; transform: none;";case"style-3":return"position: absolute; bottom: 0; top: auto; transform: translateY(100%);"}else if("on"===o)switch(n){case"style-1":case"style-2":case"style-3":return"position: relative; left: -10px; transform: none;"}}function ZO({v:e,device:t}){const o=Im({v:e,device:t}),n=Mm({v:e,device:t});if("off"===o)switch(n){case"style-1":return"flex-direction: column;";case"style-2":case"style-3":return"flex-direction: column-reverse;"}else if("on"===o)switch(n){case"style-1":return"flex-direction: row;";case"style-2":case"style-3":return"flex-direction: row-reverse;"}}function JO({v:e,device:t}){const o=Im({v:e,device:t}),n=Mm({v:e,device:t});if("on"===o)switch(n){case"style-1":return"flex-direction: row;";case"style-2":return"flex-direction: row-reverse;";case"style-3":return"flex-direction: row;"}else if("off"===o)switch(n){case"style-1":return"flex-direction: column;";case"style-2":return"flex-direction: column-reverse;";case"style-3":return"flex-direction: column;"}}function $O({v:e,device:t}){const o=Im({v:e,device:t}),n=Mm({v:e,device:t});if("off"===o&&"style-3"===n)return"align-items: baseline;"}function QO({v:e,device:t}){const o=Im({v:e,device:t});return"on"===o?" margin-left: 0; line-height: 0; z-index: 1;":"off"===o?"margin-left: 20px":void 0}function eC({v:e,device:t}){const o=Im({v:e,device:t});return"on"===o?"position: static;":"off"===o?"position: relative;":void 0}function tC({v:e,device:t}){const o=Im({v:e,device:t});return"on"===o?"margin-bottom: 100px;":"off"===o?"margin-bottom: 0;":void 0}function oC({v:e,device:t}){if("on"===Im({v:e,device:t}))return"margin-bottom: 0;"}function nC({v:e,device:t}){if("on"===Im({v:e,device:t}))return"display: none;"}function aC({v:e,device:t}){const o=Im({v:e,device:t}),n=Mm({v:e,device:t});if("on"===o&&"style-3"===n)return"display: none;"}function rC({v:e,device:t,state:o}){const n=Lm({v:e,device:t,state:o});return"width: ".concat(2*n,"px;")}function iC({v:e,device:t,state:o}){const n=Lm({v:e,device:t,state:o});return"height: ".concat(n,"px;")}function lC({v:e,device:t,state:o}){return nv({v:e,device:t,state:o,prefix:"activeBg"})}function cC({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("spacing")}({v:e,device:t,state:o});return"margin-bottom:".concat(n,"px;")}function sC({v:e,device:t,state:o}){return pv({v:e,device:t,state:o,prefix:"activeColor"})}function dC({v:e,device:t,state:o}){return"width: ".concat(function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("navStyle1Width")}({v:e,device:t,state:o}),"px")}function pC({v:e,device:t,state:o}){const n=zh({v:e,device:t,prefix:"h1Color",state:o});return void 0===n?"":"color:".concat(n,";")}function uC({v:e,device:t,state:o}){const n=zh({v:e,device:t,prefix:"h2Color",state:o});return void 0===n?"":"color:".concat(n,";")}function bC({v:e,device:t,state:o}){const n=zh({v:e,device:t,prefix:"h3Color",state:o});return void 0===n?"":"color:".concat(n,";")}function hC({v:e,device:t,state:o}){const n=zh({v:e,device:t,prefix:"h4Color",state:o});return void 0===n?"":"color:".concat(n,";")}function mC({v:e,device:t,state:o}){const n=zh({v:e,device:t,prefix:"h5Color",state:o});return void 0===n?"":"color:".concat(n,";")}function gC({v:e,device:t,state:o}){const n=zh({v:e,device:t,prefix:"h6Color",state:o});return void 0===n?"":"color:".concat(n,";")}function vC({v:e,device:t,state:o}){const n=zh({v:e,device:t,prefix:"paragraphColor",state:o});return void 0===n?"":"color:".concat(n,";")}function yC({v:e,device:t}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:"paragraph"}),";"):""}function fC({v:e,device:t}){return"font-size:".concat(sm({v:e,device:t,prefix:"paragraph"}),"px;")}function OC({v:e,device:t}){return"line-height:".concat(dm({v:e,device:t,prefix:"paragraph"}),";")}function CC({v:e,device:t}){return"font-weight:".concat(pm({v:e,device:t,prefix:"paragraph"}),";")}function SC({v:e,device:t}){return"letter-spacing:".concat(um({v:e,device:t,prefix:"paragraph"}),"px;")}function xC({v:e,device:t}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:"h1"}),";"):""}function jC({v:e,device:t}){return"font-size:".concat(sm({v:e,device:t,prefix:"h1"}),"px;")}function BC({v:e,device:t}){return"line-height:".concat(dm({v:e,device:t,prefix:"h1"}),";")}function PC({v:e,device:t}){return"font-weight:".concat(pm({v:e,device:t,prefix:"h1"}),";")}function wC({v:e,device:t}){return"letter-spacing:".concat(um({v:e,device:t,prefix:"h1"}),"px;")}function TC({v:e,device:t}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:"h2"}),";"):""}function zC({v:e,device:t}){return"font-size:".concat(sm({v:e,device:t,prefix:"h2"}),"px;")}function kC({v:e,device:t}){return"line-height:".concat(dm({v:e,device:t,prefix:"h2"}),";")}function EC({v:e,device:t}){return"font-weight:".concat(pm({v:e,device:t,prefix:"h2"}),";")}function HC({v:e,device:t}){return"letter-spacing:".concat(um({v:e,device:t,prefix:"h2"}),"px;")}function _C({v:e,device:t}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:"h3"}),";"):""}function RC({v:e,device:t}){return"font-size:".concat(sm({v:e,device:t,prefix:"h3"}),"px;")}function MC({v:e,device:t}){return"line-height:".concat(dm({v:e,device:t,prefix:"h3"}),";")}function IC({v:e,device:t}){return"font-weight:".concat(pm({v:e,device:t,prefix:"h3"}),";")}function FC({v:e,device:t}){return"letter-spacing:".concat(um({v:e,device:t,prefix:"h3"}),"px;")}function NC({v:e,device:t}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:"h4"}),";"):""}function LC({v:e,device:t}){return"font-size:".concat(sm({v:e,device:t,prefix:"h4"}),"px;")}function WC({v:e,device:t}){return"line-height:".concat(dm({v:e,device:t,prefix:"h4"}),";")}function VC({v:e,device:t}){return"font-weight:".concat(pm({v:e,device:t,prefix:"h4"}),";")}function DC({v:e,device:t}){return"letter-spacing:".concat(um({v:e,device:t,prefix:"h4"}),"px;")}function AC({v:e,device:t}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:"h5"}),";"):""}function GC({v:e,device:t}){return"font-size:".concat(sm({v:e,device:t,prefix:"h5"}),"px;")}function UC({v:e,device:t}){return"line-height:".concat(dm({v:e,device:t,prefix:"h5"}),";")}function KC({v:e,device:t}){return"font-weight:".concat(pm({v:e,device:t,prefix:"h5"}),";")}function qC({v:e,device:t}){return"letter-spacing:".concat(um({v:e,device:t,prefix:"h5"}),"px;")}function YC({v:e,device:t}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:"h6"}),";"):""}function XC({v:e,device:t}){return"font-size:".concat(sm({v:e,device:t,prefix:"h6"}),"px;")}function ZC({v:e,device:t}){return"line-height:".concat(dm({v:e,device:t,prefix:"h6"}),";")}function JC({v:e,device:t}){return"font-weight:".concat(pm({v:e,device:t,prefix:"h6"}),";")}function $C({v:e,device:t}){return"letter-spacing:".concat(um({v:e,device:t,prefix:"h6"}),"px;")}function QC({v:e,device:t,state:o,prefix:n="saleColor"}){const a=zh({v:e,device:t,state:o,prefix:n});return void 0===a?"":"color:".concat(a,";")}function eS({v:e,device:t,prefix:o="sale"}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:o}),";"):""}function tS({v:e,device:t,prefix:o="sale"}){return"font-size:".concat(sm({v:e,device:t,prefix:o}),"px;")}function oS({v:e,device:t,prefix:o="sale"}){return"line-height:".concat(dm({v:e,device:t,prefix:o}),";")}function nS({v:e,device:t,prefix:o="sale"}){return"font-weight:".concat(pm({v:e,device:t,prefix:o}),";")}function aS({v:e,device:t,prefix:o="sale"}){return"letter-spacing:".concat(um({v:e,device:t,prefix:o}),"px;")}function rS({v:e,device:t,state:o}){const n="on"===Tm({v:e,device:t,state:o})?"column":"row";return void 0===n?"":"flex-direction: ".concat(n,";")}function iS({v:e,device:t,state:o}){const n=Tm({v:e,device:t,state:o}),a=function({v:e,device:t,state:o}){return Object(rh.defaultValueValue)({v:e,key:"spacing",device:t,state:o})}({v:e,device:t,state:o});return void 0===a?"":"on"===n?"margin: ".concat(a,"px 0 0 0;"):"margin: 0 0 0 ".concat(a,"px;")}function lS({v:e,device:t,prefix:o="title"}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:o}),";"):""}function cS({v:e,device:t,prefix:o="title"}){return"font-size:".concat(sm({v:e,device:t,prefix:o}),"px;")}function sS({v:e,device:t,prefix:o="title"}){return"line-height:".concat(dm({v:e,device:t,prefix:o}),";")}function dS({v:e,device:t,prefix:o="title"}){return"font-weight:".concat(pm({v:e,device:t,prefix:o}),";")}function pS({v:e,device:t,prefix:o="title"}){return"letter-spacing:".concat(um({v:e,device:t,prefix:o}),"px;")}function uS({v:e,device:t,prefix:o="attributes"}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:o}),";"):""}function bS({v:e,device:t,prefix:o="attributes"}){return"font-size:".concat(sm({v:e,device:t,prefix:o}),"px;")}function hS({v:e,device:t,prefix:o="attributes"}){return"line-height:".concat(dm({v:e,device:t,prefix:o}),";")}function mS({v:e,device:t,prefix:o="attributes"}){return"font-weight:".concat(pm({v:e,device:t,prefix:o}),";")}function gS({v:e,device:t,prefix:o="attributes"}){return"letter-spacing:".concat(um({v:e,device:t,prefix:o}),"px;")}function vS({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("spacing")}({v:e,device:t,state:o});return void 0===n?"":"padding-left: ".concat(n,"px;")}function yS({v:e,device:t,prefix:o="titleColor",state:n}){const a=zh({v:e,device:t,prefix:o,state:n});return void 0===a?"":"color:".concat(a,";")}function fS({v:e,device:t,prefix:o="attributeColor",state:n}){const a=zh({v:e,device:t,prefix:o,state:n});return void 0===a?"":"color:".concat(a,";")}function OS({v:e,device:t,prefix:o="borderColor",state:n}){const a=zh({v:e,device:t,prefix:o,state:n});return void 0===a?"":"border-color:".concat(a,";")}function CS({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("borderWidth")}({v:e,device:t,state:o});return void 0===n?"":"border-width: ".concat(n,"px;")}function SS({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("horizontalAlign")}function xS({v:e,device:t,state:o}){return pv({v:e,device:t,state:o,prefix:"filterColor"})}function jS({v:e,device:t,state:o}){return nv({v:e,device:t,state:o,prefix:"filterBg"})}function BS({v:e,device:t,state:o}){return Ig({v:e,device:t,state:o,prefix:"filter"})}function PS({v:e,device:t,state:o}){return Ng({v:e,device:t,state:o,prefix:"filter"})}function wS({v:e,device:t,state:o}){return hv({v:e,device:t,state:o,prefix:"filter"})}function TS({v:e,device:t,state:o}){return"margin-top: -".concat(wh({v:e,device:t,state:o}),"px ")}function zS({v:e,device:t,state:o}){return"margin-bottom: ".concat(function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("spacing")}({v:e,device:t,state:o}),"px ")}function kS({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("filterSpacing")}({v:e,device:t,state:o});return"margin: 1px ".concat(n,"px 0 ").concat(n,"px;")}function ES({v:e,device:t,state:o}){return"margin-bottom:".concat(function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("afterFilterSpacing")}({v:e,device:t,state:o}),"px;")}function HS({v:e,device:t,state:o}){if("right"===SS({v:e,device:t,state:o}))return"flex-direction: row-reverse;"}function _S({v:e,device:t,state:o}){if("center"===SS({v:e,device:t,state:o}))return"margin-left: auto; margin-right: auto;"}function RS({v:e,device:t,state:o}){return"center"===SS({v:e,device:t,state:o})?"margin-left: 10px;":""}function MS({v:e,device:t}){const o=.75*sm({v:e,device:t});return"font-size: ".concat(o,"px;")}function IS({v:e,device:t,state:o}){const n=Ih({v:e,device:t,state:o,prefix:"filter"});return"justify-content:".concat(void 0===n?n:{left:"flex-start",center:"center",right:"flex-end"}[n],";")}function FS({v:e,device:t,state:o}){return uy({v:e,device:t,state:o,prefix:"filter"})}function NS({v:e,device:t}){return Zm({v:e,device:t,prefix:"filter"})}function LS({v:e,device:t}){return Jm({v:e,device:t,prefix:"filter"})}function WS({v:e,device:t}){return $m({v:e,device:t,prefix:"filter"})}function VS({v:e,device:t}){return Qm({v:e,device:t,prefix:"filter"})}function DS({v:e,device:t}){return eg({v:e,device:t,prefix:"filter"})}function AS({v:e,device:t,state:o}){return"border-width: ".concat(Ph({v:e,device:t,state:o}),"px;")}function GS({v:e,device:t,state:o}){const n=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),a=n("iconPosition"),r=n("iconSpacing");return"left"===a?"margin: 0 ".concat(r,"px 0 0;"):"margin: 0 0 0 ".concat(r,"px;")}function US({v:e,device:t,state:o}){const n=(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("iconCustomSize");return"font-size: ".concat(n,"px;")}function KS({v:e,device:t,state:o}){return"border-bottom-color: ".concat(Eh({v:e,device:t,state:o})," !important;")}function qS({v:e,device:t,state:o}){const n=(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("bgColorHex");return"border-right-color: ".concat(n,";")}function YS({v:e,device:t,state:o}){const n=(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("bgColorHex");return"border-left-color: ".concat(n,";")}function XS({v:e,device:t,state:o}){return"background-color: ".concat(bh({v:e,device:t,state:o}),"; z-index: 1;")}function ZS({v:e,device:t,state:o}){return"height: ".concat(Ph({v:e,device:t,state:o}),"px;")}function JS({v:e,device:t,state:o}){return"width: ".concat(Ph({v:e,device:t,state:o}),"px;")}function $S({v:e,device:t,state:o}){return"right: calc(-100vw + ".concat(Ph({v:e,device:t,state:o}),"px);")}function QS({v:e,device:t,state:o}){return"left: calc(-100vw + ".concat(Ph({v:e,device:t,state:o}),"px);")}function ex({v:e,device:t,state:o}){return"border-color: ".concat(bh({v:e,device:t,state:o}),";")}function tx({v:e,device:t,state:o}){return"border-width: ".concat(Ph({v:e,device:t,state:o}),"px;")}function ox({v:e,device:t,state:o}){const n=Ph({v:e,device:t,state:o});return"border-width: 0 0 ".concat(n,"px 0;")}function nx({v:e}){return 0===e.items.length?"border-top: 1px solid transparent; margin-top: -1px;":""}function ax({v:e,device:t,state:o}){const n="left"===(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("iconPosition")?"row":"row-reverse";return"flex-direction: ".concat(n,";")}function rx({v:e,device:t,state:o}){const n="left"===(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("iconPosition")?"flex-start":"flex-end";return"justify-content: ".concat(n,";")}function ix({v:e,device:t,state:o}){const n=(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("borderWidth");return"top: calc(100% - ".concat(n,"px);")}function lx({v:e,device:t,state:o}){const n=(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("borderWidth");return"bottom: calc(100% - ".concat(n,"px);")}function cx({v:e,device:t,state:o}){const n=(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("spacingAfter");return"margin-bottom: ".concat(n,"px;")}function sx({v:e,device:t,state:o}){const n=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),a=n("spacingAfter");return"left"===n("verticalAlign")?"margin: 0 ".concat(a,"px 0 0;"):"margin: 0 0 0 ".concat(a,"px;")}function dx({v:e,device:t,state:o}){const n=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),a=n("spacing");return"off"===n("verticalMode")?"margin: 0 ".concat(a,"px 0 0;"):"margin: 0 0 ".concat(a,"px 0;")}function px({v:e,device:t,prefix:o="name"}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:o}),";"):""}function ux({v:e,device:t,prefix:o="name"}){return"font-size:".concat(sm({v:e,device:t,prefix:o}),"px;")}function bx({v:e,device:t,prefix:o="name"}){return"line-height:".concat(dm({v:e,device:t,prefix:o}),";")}function hx({v:e,device:t,prefix:o="name"}){return"font-weight:".concat(pm({v:e,device:t,prefix:o}),";")}function mx({v:e,device:t,prefix:o="name"}){return"letter-spacing:".concat(um({v:e,device:t,prefix:o}),"px;")}function gx({v:e,device:t,prefix:o="comment"}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:o}),";"):""}function vx({v:e,device:t,prefix:o="comment"}){return"font-size:".concat(sm({v:e,device:t,prefix:o}),"px;")}function yx({v:e,device:t,prefix:o="comment"}){return"line-height:".concat(dm({v:e,device:t,prefix:o}),";")}function fx({v:e,device:t,prefix:o="comment"}){return"font-weight:".concat(pm({v:e,device:t,prefix:o}),";")}function Ox({v:e,device:t,prefix:o="comment"}){return"letter-spacing:".concat(um({v:e,device:t,prefix:o}),"px;")}function Cx({v:e,device:t,prefix:o="date"}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:o}),";"):""}function Sx({v:e,device:t,prefix:o="date"}){return"font-size:".concat(sm({v:e,device:t,prefix:o}),"px;")}function xx({v:e,device:t,prefix:o="date"}){return"line-height:".concat(dm({v:e,device:t,prefix:o}),";")}function jx({v:e,device:t,prefix:o="date"}){return"font-weight:".concat(pm({v:e,device:t,prefix:o}),";")}function Bx({v:e,device:t,prefix:o="date"}){return"letter-spacing:".concat(um({v:e,device:t,prefix:o}),"px;")}function Px({v:e,device:t,prefix:o="reply"}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:o})," !important;"):""}function wx({v:e,device:t,prefix:o="reply"}){return"font-size:".concat(sm({v:e,device:t,prefix:o}),"px !important;")}function Tx({v:e,device:t,prefix:o="reply"}){return"line-height:".concat(dm({v:e,device:t,prefix:o})," !important;")}function zx({v:e,device:t,prefix:o="reply"}){return"font-weight:".concat(pm({v:e,device:t,prefix:o})," !important;")}function kx({v:e,device:t,prefix:o="reply"}){return"letter-spacing:".concat(um({v:e,device:t,prefix:o}),"px !important;")}function Ex({v:e,device:t,prefix:o="postButton"}){return"desktop"===t?"font-family:".concat(cm({v:e,device:t,prefix:o})," !important;"):""}function Hx({v:e,device:t,prefix:o="postButton"}){return"font-size:".concat(sm({v:e,device:t,prefix:o}),"px !important;")}function _x({v:e,device:t,prefix:o="postButton"}){return"line-height:".concat(dm({v:e,device:t,prefix:o})," !important;")}function Rx({v:e,device:t,prefix:o="postButton"}){return"font-weight:".concat(pm({v:e,device:t,prefix:o})," !important;")}function Mx({v:e,device:t,prefix:o="postButton"}){return"letter-spacing:".concat(um({v:e,device:t,prefix:o}),"px !important;")}function Ix({v:e,device:t,state:o="normal"}){const n=Fm({v:e,device:t,state:o});return"width: ".concat(n,"px !important; height: ").concat(n,"px;")}function Fx({v:e,device:t,state:o="normal"}){const n=Fm({v:e,device:t,state:o}),a="skin3"===Nm({v:e,device:t,state:o})?25:10;return"width: calc(100% - ".concat(n+a,"px);")}function Nx({v:e,device:t,state:o,prefix:n="postButtonColor"}){const a=zh({v:e,device:t,state:o,prefix:n});return void 0===a?"":"color:".concat(a,";")}function Lx({v:e,device:t,state:o,prefix:n="postButtonBg"}){return nv({v:e,device:t,state:o,prefix:n})}function Wx({v:e,device:t,state:o="normal",prefix:n="postButtonBg"}){const a=Eh({v:e,device:t,state:o,prefix:n});return void 0===a?"":"color:".concat(a," !important;")}function Vx({v:e,device:t,state:o,prefix:n="nameColor"}){const a=zh({v:e,device:t,state:o,prefix:n});return void 0===a?"":"color:".concat(a,";")}function Dx({v:e,device:t,state:o,prefix:n="commentsColor"}){const a=zh({v:e,device:t,state:o,prefix:n});return void 0===a?"":"color:".concat(a,";")}function Ax({v:e,device:t,state:o="normal"}){const n=Fm({v:e,device:t,state:o}),a="skin3"===Nm({v:e,device:t,state:o})?25:10;return"margin-left:".concat(n+a,"px;")}function Gx({v:e,device:t}){const o=dm({v:e,device:t,prefix:"name"}),n=sm({v:e,device:t,prefix:"name"}),a=dm({v:e,device:t,prefix:"date"}),r=sm({v:e,device:t,prefix:"date"}),i=dm({v:e,device:t,prefix:"reply"}),l=sm({v:e,device:t,prefix:"reply"}),c=Math.max(o*n,a*r,i*l);return void 0===o||void 0===n||void 0===a||void 0===r||void 0===i||void 0===l?"":"min-height: ".concat(c,"px;")}function Ux({v:e,device:t}){const o=dm({v:e,device:t,prefix:"reply"}),n=sm({v:e,device:t,prefix:"reply"});return void 0===o||void 0===n?"":"height: ".concat(o*n/100*77,"px;")}function Kx({v:e,device:t,state:o,prefix:n}){const a=zh({v:e,device:t,state:o,prefix:n});return void 0===a?"":"-webkit-text-fill-color:".concat(a,";")}function qx({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("openButtonWidth")}({v:e,device:t,state:o});return void 0===n?"":"min-width: ".concat(n,"px;")}function Yx({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("openButtonHeight")}({v:e,device:t,state:o});return void 0===n?"":"min-height: ".concat(n,"px;")}function Xx(){return"transition-property:background-color,color,border,box-shadow;"}function Zx({v:e,device:t}){const o=sm({v:e,device:t,prefix:"typography"}),n=dm({v:e,device:t,prefix:"typography"});return void 0===o||void 0===n?"":"height: ".concat(o*n,"px;")}function Jx(e,t,o){return"%"===t?o*(e/100):e}const $x=({w:e,v:t,device:o,state:n,type:a})=>{switch(a){case"grouped":return Jx(2*Xh({v:t,device:o,state:n}),Jh({v:t,device:o,state:n}),e);case"ungrouped":{const a=Zh({v:t,device:o,state:n,current:"marginLeft"}),r=$h({v:t,device:o,state:n,current:"marginLeftSuffix"}),i=Zh({v:t,device:o,state:n,current:"marginRight"}),l=$h({v:t,device:o,state:n,current:"marginRightSuffix"});return Jx(a,r,e)+Jx(i,l,e)}default:return 0}},Qx=({v:e,w:t=100,width:o=100,device:n="desktop",state:a="normal"})=>{const r=Yh({v:e,device:n,state:a}),i=o/100*(t-$x({w:t,v:e,device:n,state:a,type:r})),l=Gh({v:e,device:n,state:a}),c=Bh({v:e,device:n,state:a}),s=(({w:e,v:t,device:o,state:n,type:a})=>{switch(a){case"grouped":return Jx(2*Uh({v:t,device:o,state:n}),Jh({v:t,device:o,state:n}),e);case"ungrouped":{const a=Kh({v:t,device:o,state:n,current:"paddingLeft"}),r=qh({v:t,device:o,state:n,current:"paddingLeftSuffix"}),i=Kh({v:t,device:o,state:n,current:"paddingRight"}),l=qh({v:t,device:o,state:n,current:"paddingRightSuffix"});return Jx(a,r,e)+Jx(i,l,e)}default:return 0}})({v:e,device:n,state:a,w:i,type:l})+(({v:e,device:t,state:o,type:n})=>{switch(n){case"grouped":return 2*Ph({v:e,device:t,state:o});case"ungrouped":return wh({v:e,device:t,state:o,current:"left"})+wh({v:e,device:t,state:o,current:"right"});default:return 0}})({v:e,device:n,state:a,type:c});return Math.round(10*(i-s))/10};var ej=o(5);function tj({v:e,device:t,component:o}){const n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),a=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"});return[Object(ej.Bc)({v:e,device:t,devices:"responsive",closeTooltip:!0}),Object(ej.Fb)({v:e,component:o,device:t,devices:"desktop",state:"normal"}),{id:a("toolbarColor"),type:"popover",size:"auto",position:90,devices:"desktop",options:[{id:a("tabsState"),tabsPosition:"left",type:"tabs",value:n("tabsState"),tabs:[{id:a("tabNormal"),tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[Object(ej.Gb)({v:e,device:t,state:"normal"})]},{id:a("tabHover"),tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[Object(ej.Gb)({v:e,device:t,devices:"desktop",state:"hover"})]}]}]},Object(ej.Eb)({device:t,component:o,devices:"desktop",state:"normal"}),{id:a("toolbarSettings"),type:"popover",options:[Object(ej.Db)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.Mc)({v:e,device:t,devices:"desktop",state:"normal",disabled:"off"===n("fullHeight")})]}]}function oj({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),n=Object(sh.c)("richText");return[{id:o("settingsTabs"),type:"tabs",align:"start",tabs:[{id:o("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.mc)({v:e,device:t,state:"normal",onChangeGrouped:["onChangeMarginGrouped"],onChangeUngrouped:["onChangeMarginUngrouped"]})]},{id:o("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.Ac)({v:e,device:t,devices:"desktop",closeTooltip:!0}),Object(ej.Nc)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.b)({v:e,device:t,devices:"desktop",state:"normal",population:n}),Object(ej.H)({v:e,device:t,devices:"desktop",state:"normal",population:n}),Object(ej.c)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.Fc)({v:e,device:t,devices:"desktop",state:"normal"})]}]}]}function nj(e,t,o){const n={".brz &&:hover":{standart:["cssStyleZIndex","cssStyleMargin"],interval:["cssStyleDisplayBlock","cssStyleVisibleMode|||preview","cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]},".brz &&:hover .brz-container__wrap":{interval:["cssStyleVisibleMode|||editor","cssStyleFlexVerticalAlign"]},".brz &&:hover .brz-section__content":{standart:["cssStyleSectionHeightStyle"]},".brz && > .slick-slider > .brz-slick-slider__dots:hover":{standart:["cssStyleSectionColorDots"]},".brz && > .slick-slider > .brz-slick-slider__arrow:hover":{standart:["cssStyleSectionColorArrows"]},".brz &&:hover .brz-ed-collapsible":{standart:["cssStyleSectionToolbarOffset"]}};return Zb({v:e,vs:t,vd:o,styles:n})}var aj=o(174),rj=o.n(aj);function ij(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function lj(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ij(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ij(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const cj=({className:e,extraClassName:t,onClick:o,icon:n})=>Oo.a.createElement("div",{className:ra()(e,t),onClick:o},Oo.a.createElement(ml.a,{name:n,type:"editor"}));class sj extends Ju.a{constructor(...e){super(...e),Object(yo.a)(this,"state",{showSpinner:!1,showSlider:this.props.meta.section.isSlider})}static get componentId(){return"Section.Items"}componentWillReceiveProps(e){this.props.meta.section.isSlider!==e.meta.section.isSlider&&this.setState({showSpinner:!0},()=>{setTimeout(()=>{this.setState({showSlider:e.meta.section.isSlider},()=>{setTimeout(()=>{this.setState({showSpinner:!1})},50)})},50)})}getItemProps(e,t){const{showSlider:o}=this.state,{meta:n}=this.props,a=o?[{id:"duplicate",type:"button",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:Object(an.a)("Delete"),position:250,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}]:[],r={getItemsForDesktop:()=>a,getItemsForTablet:()=>[],getItemsForMobile:()=>[]},i=this.makeToolbarPropsFromConfig(r);return{meta:lj({},n,{section:lj({},n.section,{isSlider:o})}),toolbarExtend:i}}renderItemWrapper(e,t){const{showSlider:o}=this.state,{className:n}=this.props;return o?Oo.a.createElement("div",{key:t,className:n},e):e}renderItemsContainer(e){const{showSlider:t}=this.state;let o;if(t){const{sliderDots:t,sliderArrows:n,sliderAnimation:a}=this.props;o=Oo.a.createElement(rj.a,{className:"brz-slick-slider brz-slick-slider--".concat(a),ref:e=>{this.slider=e},slidesToShow:1,slidesToScroll:1,swipe:!1,draggable:!1,accessibility:!1,arrows:"none"!==n,nextArrow:Oo.a.createElement(cj,{icon:"right-arrow-".concat(n),extraClassName:"brz-slick-slider__arrow brz-slick-slider__arrow-next"}),prevArrow:Oo.a.createElement(cj,{icon:"right-arrow-".concat(n),extraClassName:"brz-slick-slider__arrow brz-slick-slider__arrow-prev"}),dots:"none"!==t,dotsClass:"brz-slick-slider__dots brz-slick-slider__dots--".concat(t),fade:"fade"===a,verticalSwiping:"fade"===a,vertical:"vertical"===a},e)}else o=Oo.a.createElement("div",{className:this.props.className},e);return o}renderForEdit(e){const{showSlider:t,showSpinner:o}=this.state,n=o&&Oo.a.createElement("div",{className:"brz-ed-slider__spinner"},Oo.a.createElement(ia.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),a=t?super.renderForEdit(e):super.renderForEdit(e.slice(0,1));return Oo.a.createElement(Oo.a.Fragment,null,a,n)}}Object(yo.a)(sj,"defaultProps",{className:"",meta:{}});var dj=sj,pj=o(392);function uj(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class bj extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"marginType",null),Object(yo.a)(this,"getAttributes",e=>{let t=[],o=e.split(" ").join("").split(":").join(" ").split("\n").join(" ").split(" ");for(let e=0;e<o.length;e+=2)t[o[e]]=o[e+1];return Object.assign({},t)})}static get componentId(){return"Section"}getMeta(e){const{meta:t}=this.props,{showOnDesktop:o,showOnMobile:n,showOnTablet:a,slider:r,verticalAlign:i,fullHeight:l}=e,c=Qx({v:e,w:Sn,device:"desktop"}),s=Qx({v:e,w:Cn,device:"desktop"}),d=Qx({v:e,w:xn,device:"tablet"}),p=Qx({v:e,w:jn,device:"mobile"});return Object.assign({},t,{desktopFullW:c,desktopBoxedW:s,tabletW:d,mobileW:p,section:{isSlider:"on"===r,showOnDesktop:"on"===o,showOnMobile:"on"===n,showOnTablet:"on"===a,marginType:this.marginType,verticalAlign:i,fullHeight:l}})}shouldComponentUpdate(e){return this.optionalSCU(e)}handleValueChange(e,t){if(0===e.items.length)this.selfDestruct();else{const{patch:o}=t;o&&"on"===o.slider&&1===e.items.length?super.handleValueChange(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?uj(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):uj(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},e,{items:Ju.a.cloneItem(e.items,0)}),t):super.handleValueChange(e,t)}const{deviceMode:o}=Object(Lo.b)().getState().ui,n=Yh({device:o,v:e,state:"normal"});this.marginType="".concat(o,"-").concat(n)}renderItems(e){const{sliderDots:t,sliderArrows:o,sliderAutoPlay:n,sliderAutoPlaySpeed:a,sliderAnimation:r}=e,i=this.makeSubcomponentProps({sliderDots:t,sliderArrows:o,sliderAnimation:r,sliderAutoPlaySpeed:a,bindWithKey:"items",meta:this.getMeta(e),className:"brz-section__items",sliderAutoPlay:"on"===n,toolbarExtend:this.makeToolbarPropsFromConfig2(l,c)});return Oo.a.createElement(dj,i)}renderForEdit(e,t,o){const{className:n,customClassName:a,cssClassPopulation:r,customAttributes:i}=e,l=ra()("brz-section",n,""===r?a:r,Qb("".concat(this.constructor.componentId),"".concat(this.getId()),nj(e,t,o)));return Oo.a.createElement("section",Object(ta.a)({id:this.getId(),className:l,"data-block-id":this.props.blockId,"data-uid":this.getId()},this.getAttributes(i)),this.renderItems(e))}renderForView(e,t,o){const{className:n,tagName:a,customClassName:r,cssIDPopulation:i,cssClassPopulation:l,customAttributes:c}=e,s=ra()("brz-section",n,""===l?r:l,Qb("".concat(this.constructor.componentId),"".concat(this.getId()),nj(e,t,o)));return Oo.a.createElement(Db,Object(ta.a)({tagName:a,id:""===i?e.anchorName||this.getId():i,className:s,"data-uid":this.getId()},this.getAttributes(c)),this.renderItems(e))}becomeSaved(){const{blockId:e}=this.props,t=this.getDBValue();(0,Object(Lo.b)().dispatch)(Object(Uo.F)({id:Object(gl.a)(),data:{type:this.constructor.componentId,blockId:e,value:t},meta:{sourceBlockId:this.getId()}}))}becomeGlobal(){const{blockId:e,onChange:t}=this.props,o=this.getDBValue(),n=Object(gl.a)();(0,Object(Lo.b)().dispatch)(Object(Uo.E)({id:n,data:{type:this.constructor.componentId,blockId:e,value:o},meta:{sourceBlockId:this.getId()}})),t({type:"GlobalBlock",blockId:e,value:{_id:this.getId(),globalBlockId:n}},{intent:"replace_all",idOptions:{keepExistingIds:!0}})}becomeNormal(){const{meta:{globalBlockId:e},onChange:t}=this.props,o=Object(nn.h)(Object(Lo.b)().getState()),n=Object(Xa.m)(o[e]).data;n.value._id=this.getId(),t(n,{intent:"replace_all",idOptions:{keepExistingIds:!0}})}}Object(yo.a)(bj,"defaultProps",{meta:{}}),Object(yo.a)(bj,"defaultValue",pj);var hj=bj;let mj={};function gj(e){return Object.entries(e).reduce((e,[t,o])=>e+=o.replace(/element/g,"[data-custom-id=".concat(t,"]")),"")}class vj extends Oo.a.Component{componentWillUnmount(){const{selectorName:e}=this.props;delete mj[e]}componentDidMount(){this.updateCSS()}updateCSS(){const{selectorName:e,css:t}=this.props,o=So.a.findDOMNode(this);if(mj[e]===t)return;t?(o.setAttribute("data-custom-id",e),mj[e]=t):(o.removeAttribute("data-custom-id",e),delete mj[e]);let n=document.getElementById("custom-css");n?n.innerHTML=gj(mj):((n=document.createElement("style")).id="custom-css",n.innerHTML=gj(mj),document.head.appendChild(n))}componentDidUpdate(){this.updateCSS()}renderForEdit(){const e=this.props,{selectorName:t,css:o,children:n}=e,a=Object(ca.a)(e,["selectorName","css","children"]);return Oo.a.cloneElement(Oo.a.Children.only(n),a)}renderForView(){const{selectorName:e,css:t,children:o}=this.props;return Oo.a.createElement("div",{"data-custom-id":e,"data-custom-css":gj({[e]:t})},Oo.a.Children.only(o))}render(){return this.renderForEdit()}}Object(yo.a)(vj,"defaultProps",{selectorName:"",css:""});var yj=o(110);class fj extends Oo.a.Component{render(){const{helperText:e,title:t,onChange:o,inactive:n,meta:a}=this.props;return Oo.a.createElement(yj.Item,{onClick:o,disabled:n},Oo.a.createElement("span",{className:"react-contexify__item--title"},t),Oo.a.createElement("span",{className:"react-contexify__item--placeholder"},e(a)))}}function Oj(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Cj(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Oj(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Oj(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}Object(yo.a)(fj,"defaultProps",{title:"",helperText:()=>"",inactive:!1,onChange:()=>{}});class Sj extends Oo.a.Component{render(){const{title:e,icon:t,items:o,meta:n}=this.props,a=Cj({},n,{depth:n.depth+1});return 0===n.depth&&0===n.index?Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(yj.Item,{key:"title",className:"react-contexify--title"},t&&Oo.a.createElement(ia.b,{icon:t})," ",e),Oo.a.createElement(zj,{data:o,meta:Cj({},a,{isInSubMenu:!1})})):Oo.a.createElement(yj.Submenu,{className:"react-contexify__item__submenu",label:e,hoverDelay:0,arrow:""},Oo.a.createElement(zj,{data:o,meta:Cj({},a,{isInSubMenu:!0})}))}}Object(yo.a)(Sj,"defaultProps",{title:"",icon:"",items:[]});var xj={button:fj,group:Sj};function jj(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Bj(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?jj(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):jj(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Pj(e,t){const o=[...e];for(var n=0;n<t.length;n++){let r=!1;for(var a=0;a<e.length;a++)t[n].id===e[a].id&&t[n].type===e[a].type&&t[n].items&&e[a].items&&(r=!0,o[a]=Bj({},t[n],{},e[a],{items:Pj(e[a].items,t[n].items)}));r||o.push(t[n])}return o}function wj(e,t){return e.filter((e,o)=>"function"==typeof e.disabled?!e.disabled(e,Bj({},t,{isInSubMenu:!(0===t.depth&&0===o)})):!e.disabled)}function Tj(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class zj extends Oo.a.Component{render(){const{data:e,meta:t}=this.props;return wj(e,t).map((e,o)=>{const n=xj[e.type],a=o,r=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Tj(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Tj(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{index:o});return Oo.a.createElement(n,Object(ta.a)({},e,{key:a,meta:r}))})}}Object(yo.a)(zj,"defaultProps",{meta:{}});class kj extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"getItems",()=>this.props.items)}getChildContext(){return{getParentContextMenuExtendItems:this.getItems}}render(){const{children:e}=this.props;return e}}Object(yo.a)(kj,"childContextTypes",{getParentContextMenuExtendItems:Nr.a.func});var Ej=Object(Ca.c)({allow:["admin"],component:kj,fallbackComponent:({children:e})=>e});class Hj extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleContextMenu",e=>{e.nativeEvent=e,this.props.onContextMenu(e)})}componentDidMount(){So.a.findDOMNode(this).addEventListener("contextmenu",this.handleContextMenu)}componentWillUnmount(){So.a.findDOMNode(this).removeEventListener("contextmenu",this.handleContextMenu)}render(){return this.props.children}}class _j extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"getItems",()=>{let{componentId:e,items:t}=this.props;const{getParentContextMenuExtendItems:o,getParentContextMenuItems:n}=this.context;return t=[e,o?Pj(t,o()):t],t=n?[t,...n()]:[t]}),Object(yo.a)(this,"renderProvider",e=>Oo.a.createElement(Hj,e,this.props.children))}getChildContext(){return{getParentContextMenuItems:this.getItems}}squashItems(e){return e.reduce((e,[t,o])=>(e.componentIdMap[t]||(e.componentIdMap[t]=!0,e.items=function(e,t){return[...e,...t]}(e.items,o)),e),{componentIdMap:{},items:[]}).items}render(){const{id:e,children:t}=this.props,o=this.squashItems(this.getItems()),n={depth:0};return 0===wj(o,n).length?t:Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(yj.ContextMenuProvider,{id:e,render:this.renderProvider},t),So.a.createPortal(Oo.a.createElement(yj.ContextMenu,{id:e},Oo.a.createElement(zj,{data:o,meta:n})),document.body))}}Object(yo.a)(_j,"defaultProps",{id:"",items:[]}),Object(yo.a)(_j,"contextTypes",{getParentContextMenuExtendItems:Nr.a.func,getParentContextMenuItems:Nr.a.func}),Object(yo.a)(_j,"childContextTypes",{getParentContextMenuItems:Nr.a.func});var Rj=Object(Ca.c)({allow:["admin"],component:_j,fallbackComponent:({children:e})=>e});const Mj="MacOS"===vp();var Ij=e=>({getItems:Fj(e)});const Fj=e=>(t,o)=>{const n=o.getCurrentCopiedElement();return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:Object(an.a)("Copy"),helperText:()=>Mj?"⌘ + C":"Ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:Object(an.a)("Paste"),helperText:()=>Mj?"⌘ + V":"Ctrl + V",inactive:!n,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:Object(an.a)("Paste Styles"),helperText:()=>Mj?"⌘ + ⇧ + V":"Ctrl + ⇧ + V",inactive:!n,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:Object(an.a)("Duplicate"),helperText:()=>Mj?"⌘ + D":"Ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:Object(an.a)("Delete"),helperText:()=>Mj?"⌘ + delete":"Delete",onChange:()=>{Object(Aa.d)(),o.removeItem(e)}}]}]};class Nj extends Ju.a{static get componentId(){return"SectionItem.Items"}getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:Object(an.a)("Delete"),position:250,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig(o)}}renderItemWrapper(e,t,o){const n=Ij(o);return Oo.a.createElement(Ej,Object(ta.a)({key:t},this.makeContextMenuProps(n)),Oo.a.createElement(fr.a,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){const t=e.length?Oo.a.createElement("div",{className:this.props.className},e):null;return Oo.a.createElement(Ua,{path:this.getPath(),type:"section",acceptElements:["row","column","shortcode","addable"]},t)}}Object(yo.a)(Nj,"defaultProps",{className:"",meta:{}});var Lj=Nj,Wj=o(166);function Vj(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const Dj={autoplay:!1,controls:!0,loop:!1},Aj=(e,{autoplay:t,controls:o,branding:n=1,loop:a,suggestedVideo:r,start:i=0,end:l=0})=>{let c={autoplay:Number(t),controls:Number(o),start:Number(i),end:Number(l),modestbranding:n,wmode:"transparent",enablejsapi:1,loop:0,rel:Number(r)};return a&&(c.loop=1,c.playlist=e),{url:"https://www.youtube.com/embed/".concat(e),options:c}},Gj=(e,{intro:t=1,autoplay:o,loop:n,start:a=0})=>({url:"https://player.vimeo.com/video/".concat(e),options:{autoplay:Number(o),background:0,title:t,byline:t,badge:!1,autopause:!1,portrait:t,loop:Number(n)},anchor:"#t=".concat(Number(a),"s")});function Uj({type:e,key:t},o){const n=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Vj(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Vj(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},Dj,{},o),{url:a,options:r,anchor:i=""}="youtube"===e?Aj(t,n):Gj(t,n);return"".concat(a,"?").concat(Object(Wj.a)(r)).concat(i)}function Kj(e){let t,o=null;return/(?:youtu\.be|youtube)/.test(e)?(o="youtube",t=e.match(/(?:v=|embed\/|youtu\.be\/)([A-Z0-9a-z\-_+%]*)(?:"|)/)):/(?:vimeo\.com)/.test(e)&&(o="vimeo",t=e.match(/vimeo\.com.*?\/([0-9]{1,20})/)),o&&t&&t[1]?{type:o,key:t[1]}:null}var qj=o(138),Yj=o.n(qj),Xj=[],Zj=!1;function Jj(e,t){this._loop=t.loop,this._start=t.start||0,function(e){if(Zj)e();else{if(0===Xj.length){var t=document.createElement("script");t.async=!0,t.src="https://www.youtube.com/iframe_api",t.onerror=function(){e(new Error("Failed to load"+t.src))},window.onYouTubeIframeAPIReady=function(){Zj=!0,Xj.forEach((function(e){e()}))};var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(t,o)}Xj.push(e)}}(this._init.bind(this,e))}function $j(e,t){var o=t.loop,n=t.start||0,a=function(t,o){e.get(0).contentWindow&&e.get(0).contentWindow.postMessage(JSON.stringify({method:t,value:o}),"*")}.bind(this);return window.addEventListener("message",function(e){switch(JSON.parse(e.data).event){case"ready":a("addEventListener","loaded"),a("addEventListener","finish");break;case"finish":a("setCurrentTime",n),o&&setTimeout(function(){a("play")}.bind(this),260);break;case"loaded":a("setCurrentTime",n),a("setVolume",0),a("play")}}.bind(this),!1),{mute:function(){a("setVolume",0)},unMute:function(){a("setVolume",100)},play:function(){a("play")},pause:function(){a("pause")},setLoop:function(e){this.play(),o=e},seekTo:function(e=0){n=e,a("setCurrentTime",e)},destroy:function(){a("unload"),a("removeEventListener","loaded"),a("removeEventListener","finish")}}}function Qj({video:e,bgVideoLoop:t,bgVideoStart:o}){const n={display:e?"block":"none"},a={autoplay:!0,background:!0,controls:!1,suggestedVideo:!1,loop:!1},r=e?e.type:null,i=e?Uj(e,a):null,l=Object(fo.useRef)(),c=Object(fo.useRef)(!0);return Object(fo.useLayoutEffect)(()=>()=>{hn()(l.current).backgroundVideo("destroy")},[]),Object(fo.useLayoutEffect)(()=>{c.current||hn()(l.current).backgroundVideo("resize")}),Object(fo.useLayoutEffect)(()=>{c.current||hn()(l.current).backgroundVideo("setLoop",t)},[t]),Object(fo.useLayoutEffect)(()=>{c.current||hn()(l.current).backgroundVideo("seekTo",o)},[o]),Object(fo.useLayoutEffect)(()=>{c.current?(c.current=!1,hn()(l.current).backgroundVideo({type:e.type,key:e.key,loop:t,start:o})):hn()(l.current).backgroundVideo("typeChange",{type:e.type,key:e.key,loop:t,start:o})},[e.type]),Oo.a.createElement("div",{ref:l,className:"brz-bg-video","data-type":r,"data-key":e.key,"data-loop":a.loop,"data-start":o},Oo.a.createElement("iframe",{src:i,"data-src":i,className:"brz-iframe brz-bg-video__cover",loading:"lazy",style:n}))}hn.a.extend(Jj.prototype,{_init:function(e){this.player=new YT.Player(e.get(0),{events:{onReady:function(e){e.target.mute(),e.target.seekTo(this._start),e.target.playVideo()}.bind(this),onStateChange:function(e){this._loop&&e.data==YT.PlayerState.ENDED&&(e.target.seekTo(this._start),e.target.playVideo())}.bind(this)}})},mute:function(){this.player.mute()},unMute:function(){this.player.unMute()},play:function(){this.player.playVideo()},stop:function(){this.player.stopVideo()},pause:function(){this.player.pauseVideo()},setLoop:function(e){this.play(),this._loop=e},seekTo:function(e=0){this._start=e,this.player.seekTo(e)},destroy:function(){this.player=null}}),function(e,t){var o="plugin_backgroundVideo";function n(t,o){this.$elem=e(t),this.$iframe=this.$elem.find("iframe"),this._setSizes=this._setSizes.bind(this),this._setSizes(),this._attachEvents(),this._init(o)}e.extend(n.prototype,{_init:function(e){"youtube"===e.type?this._player=new Jj(this.$iframe,e):"vimeo"===e.type&&(this._player=new $j(this.$iframe,e))},_setSizes:function(){var e=function(){var e=this.$elem.width(),t=this.$elem.height();if(e/1.78<t){var o=Math.ceil(1.78*t);return{width:o,height:t,left:(e-o)/2,top:0}}var n=Math.ceil(e/1.78);return{width:e,height:n,left:0,top:(t-n)/2}}.call(this);this.$iframe.width(e.width).height(e.height).css({left:e.left,top:e.top})},_attachEvents:function(){e(t).on("resize",this._setSizes)},_detachEvents:function(){e(t).off("resize",this._setSizes)},refresh:function(e,t){"typeChange"===e?(this._player.destroy(),this._init(t)):"resize"===e?this._setSizes():this._player[e](t)},destroy:function(){this._detachEvents(),this._player.destroy(),this.$iframe=null,this._player=null}}),e.fn.backgroundVideo=function(t){if(void 0===t||"object"==typeof t)return this.each((function(){e.data(this,o)||e.data(this,o,new n(this,t))}));if("string"==typeof t&&"destroy"===t)return this.each((function(){var t=e.data(this,o);t instanceof n&&t.destroy.apply(t)}));var a=Array.prototype.slice.call(arguments,1)[0];return this.each((function(){var r=e.data(this,o);r instanceof n&&r.refresh.apply(r,[t,a])}))}}(hn.a,window,document);const eB="undefined"!=typeof window?fo.useLayoutEffect:fo.useEffect;!function(e,t){function o(e,t,o,i){e[n](r+t,"wheel"===a?o:function(e){!e&&(e=i.event);var t={originalEvent:e,target:e.target||e.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"===e.type?0:1,deltaX:0,deltaZ:0,notRealWheel:1,preventDefault:function(){e.preventDefault?e.preventDefault():e.returnValue=!1}};return"mousewheel"===a?(t.deltaY=-.025*e.wheelDelta,e.wheelDeltaX&&(t.deltaX=-.025*e.wheelDeltaX)):t.deltaY=e.detail/3,o(t)},i||!1)}var n,a,r="";e.addEventListener?n="addEventListener":(n="attachEvent",r="on"),a="onwheel"in t.createElement("div")?"wheel":void 0!==t.onmousewheel?"mousewheel":"DOMMouseScroll",e.addWheelListener=function(e,t,n){o(e,a,t,n),"DOMMouseScroll"===a&&o(e,"MozMousePixelScroll",t,n)}}(window,document),function(e,t,o){var n="plugin_parallax";function a(n,a){this.$elem=e(n),this.options=e.extend({bgClass:"parallax-bg",wheelIgnoreClass:[],items:[],baseElement:t,windowHeight:Math.max(o.documentElement.clientHeight,t.innerHeight||0),r:0,u:0,v:0,s:!1,F:!1},a),this._handleScrollBound=this._handleScroll.bind(this),this._handleWheelBound=this._handleWheel.bind(this),this._handleResizeBound=this._handleResize.bind(this),this._init()}e.extend(a.prototype,{_init:function(){this.options.windowHeight=Math.max(o.documentElement.clientHeight,t.innerHeight||0),this.profileParallaxElements(),this._attachEvents(),this.d()},_attachEvents:function(){this.options.baseElement.addEventListener("scroll",this._handleScrollBound,!1),t.addEventListener("wheel",this._handleWheelBound,{passive:!1}),t.addEventListener("resize",this._handleResizeBound,{passive:!1})},_detachEvents:function(){this.options.baseElement.removeEventListener("scroll",this._handleScrollBound,!1),t.removeEventListener("wheel",this._handleWheelBound,!1),t.removeEventListener("resize",this._handleResizeBound,!1)},_handleScroll:function(){this.options.F=!0},_handleWheel:function(t){if(this.options.wheelIgnoreClass&&this.options.wheelIgnoreClass.length>0&&e(t.target).closest("."+this.options.wheelIgnoreClass.join(", .")).length>0)return null;t.preventDefault&&t.preventDefault(),this.options.v=t.notRealWheel?-t.deltaY/4:1===t.deltaMode?-t.deltaY/3:100===Math.abs(t.deltaY)?-t.deltaY/120:-t.deltaY/40,this.options.v=-2>this.options.v?-2:this.options.v,this.options.v=this.options.v>2?2:this.options.v,this.options.s=!0,this.options.u=4},_handleResize:function(){this.options.windowHeight=Math.max(o.documentElement.clientHeight,t.innerHeight||0),this.options.r=this.b(),this.profileParallaxElements()},profileParallaxElements:function(){var t=this.$elem,o=this;this.options.items=[],this.options.r=this.b(),t.find("."+this.options.bgClass).each((function(){var n=t,a=n.offset().top,r=o.getHeight(n);r&&o.setHeight(n,r),o.options.items.push({section:n.get(0),outerHeight:n.outerHeight(),elemTop:a,elemBottom:a+n.outerHeight(),isFirstSection:!1,imageHolder:this}),o.mr_setTranslate3DTransform(e(this).get(0),(o.f()+o.options.windowHeight-a)/2)}))},setHeight:function(t,o){e(t).find("."+this.options.bgClass).css({height:100*o+"vh"})},getHeight:function(t){var o=e(t),n=e(this.options.baseElement).height(),a=o.height();return a>n?a/n:null},getTransformStyle:function(e){for(var t=0;t<e.length;t++)if(void 0!==o.body.style[e[t]])return e[t];return null},getScrollingState:function(){return this.options.u>0},getCurrentElement:function(e){for(var t=0,o=this.options.items.length;this.options.items[t]&&this.options.items[t].section!==e;t++);return t===o?-1:t},isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},requestAnimationFrame:function(e){return(this.options.baseElement.requestAnimationFrame||this.options.baseElement.mozRequestAnimationFrame||this.options.baseElement.webkitRequestAnimationFrame||this.options.baseElement.msRequestAnimationFrame)(e)},mr_setTranslate3DTransform:function(e,t){var o=this.getTransformStyle(["transform","msTransform","webkitTransform","mozTransform","oTransform"]);e.style[o]="translate3d(0,"+t+"px,0)"},refresh:function(){this.profileParallaxElements()},destroy:function(){this._detachEvents(),this.$elem.removeData(n),this.$elem.find("."+this.options.bgClass).css({height:"",transform:""})},e:function(e,t){this.isVariant()?t+this.options.windowHeight-this.options.r>e.elemTop&&t-this.options.r<e.elemBottom&&(e.isFirstSection?this.mr_setTranslate3DTransform(e.imageHolder,t/2):this.mr_setTranslate3DTransform(e.imageHolder,t-e.elemTop-this.options.r)):t+this.options.windowHeight>e.elemTop&&t<e.elemBottom&&(e.isFirstSection?this.mr_setTranslate3DTransform(e.imageHolder,t/2):this.mr_setTranslate3DTransform(e.imageHolder,(t+this.options.windowHeight-e.elemTop)/2))},c:function(e,t,o,n){var a=e-1;return a/=n,e/=n,o*(--e*e*e*e*e+1)+t-(o*(--a*a*a*a*a+1)+t)},d:function(){var e=0;if(this.options.F){for(var t=this.options.items.length,o=this.f();t--;)this.e(this.options.items[t],o);this.options.F=!1}this.options.s&&(((e+=-this.options.v*this.c(this.options.u,0,300,30))>1||-1>e)&&(this.options.baseElement.scrollBy(0,e),e=0),this.options.u++,this.options.u>30&&(this.options.u=0,this.options.s=!1,this.options.v=0,e=0)),this.requestAnimationFrame.call(this,this.d.bind(this))},isVariant:function(){return!1},b:function(){return e(this.options.baseElement).outerHeight(!0)},f:function(){return this.options.baseElement!=t?this.options.baseElement.scrollTop:0===o.documentElement.scrollTop?o.body.scrollTop:o.documentElement.scrollTop}}),e.fn.parallax=function(t){if(void 0===t||"object"==typeof t)return this.each((function(){e.data(this,n)||e.data(this,n,new a(this,t))}));if("string"==typeof t&&"_"!==t[0]&&"init"!==t){var o=Array.prototype.slice.call(arguments,1);return this.each((function(){var r=e.data(this,n);r instanceof a&&"function"==typeof r[t]&&r[t].apply(r,o)}))}}}(hn.a,window,document);const tB=e=>{hn()(e).removeClass("brz-bg-image-parallax"),hn()(e.parentElement).parallax("destroy")},oB=e=>{hn()(e).addClass("brz-bg-image-parallax"),hn()(e.parentElement).parallax({bgClass:"brz-bg-image",wheelIgnoreClass:["brz-ed-container-plus","brz-ed-container-whiteout-show","brz-content-show"]})};function nB({showParallax:e}){const t=Object(Lo.b)().getState().ui.deviceMode;e=e&&"desktop"===t;const o=ra()("brz-bg-image",{"brz-bg-image-parallax":e}),n=Object(fo.useRef)(),a=Object(fo.useRef)(!0);return eB(()=>()=>{tB(n.current)},[]),eB(()=>{a.current?(a.current=!1,e&&oB(n.current)):e?oB(n.current):tB(n.current)}),Oo.a.createElement("div",{ref:n,className:o})}const aB="https://www.google.com/maps/embed/v1/place?key=AIzaSyCcywKcxXeMZiMwLDcLgyEnNglcLOyB_qw";function rB({map:e,mapZoom:t}){const o={display:e?"block":"none"},n=e?"".concat(aB,"&q=").concat(e,"&zoom=").concat(t):null;return Oo.a.createElement("div",{className:"brz-bg-map"},Oo.a.createElement("iframe",{className:"brz-iframe brz-bg-map__cover",src:n,style:o}))}function iB(){return Oo.a.createElement("div",{className:"brz-bg-color"})}function lB({shapeTop:e,shapeBottom:t}){return Oo.a.createElement(fo.Fragment,null,e&&Oo.a.createElement("div",{className:"brz-bg-shape brz-bg-shape__top"}),t&&Oo.a.createElement("div",{className:"brz-bg-shape brz-bg-shape__bottom"}))}const cB=e=>["image","video","map","shapeTop","shapeBottom","border","boxShadow","opacity"].some(t=>e[t]);class sB extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleChange",()=>this.forceUpdate())}componentDidMount(){wa.on("deviceMode.change",this.handleChange)}componentWillUnmount(){wa.off("deviceMode.change",this.handleChange)}render(){const{video:e,bgVideoLoop:t,bgVideoStart:o,image:n,parallax:a,map:r,mapZoom:i,opacity:l,shapeTop:c,shapeBottom:s,style:d,className:p,children:u}=this.props,b=ra()("brz-bg",p),h=e||a;return Oo.a.createElement("div",{className:b,style:d},cB(this.props)&&Oo.a.createElement("div",{className:"brz-bg-media"},n&&Oo.a.createElement(nB,{showParallax:a}),e&&Oo.a.createElement(Qj,{video:e,bgVideoLoop:t,bgVideoStart:o}),r&&Oo.a.createElement(rB,{map:r,mapZoom:i}),l&&Oo.a.createElement(iB,null),(c||s)&&Oo.a.createElement(lB,{shapeTop:c,shapeBottom:s})),Oo.a.createElement("div",{className:"brz-bg-content"},u),h&&Oo.a.createElement(Yj.a,{onResize:this.handleChange}))}}Object(yo.a)(sB,"defaultProps",{className:"",image:!1,opacity:!1,border:!1,boxShadow:!1,parallax:!1,video:!1,map:!1,mapZoom:0,shapeTop:"",shapeBottom:"",style:{}});var dB=sB;const pB=e=>{const t=(e=>(t=[],o)=>{const n=e[o];return null!=n?t.concat(n):t})(e);let o;if("solid"===e.bgColorType)o=Object(rh.makeKeyByStateDevice)(e,"bgColorOpacity").reduce(t,[]);else{o=["bgColorOpacity","gradientColorOpacity"].reduce((t,o)=>t.concat(Object(rh.makeKeyByStateDevice)(e,o)),[]).reduce(t,[])}return{media:o.some(e=>e<1),opacity:o.some(e=>e>0)}},uB=e=>Object(rh.deviceStateValueByKey)(e,"bgImageSrc")||e.bgPopulation,bB=e=>Object(rh.deviceStateValueByKey)(e,"boxShadow"),hB=e=>{return("grouped"===e.borderWidthType?["borderWidth"]:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"]).some(t=>Object(rh.deviceStateValueByKey)(e,t))},mB=(e,t={})=>{const{bgAttachment:o}=e,{section:n}=t;return o&&"animated"===o&&!n.isSlider};function gB({value:e,meta:t,className:o,children:n}){const{bgVideo:a,bgVideoLoop:r,bgVideoStart:i,bgMapZoom:l,bgMapAddress:c,shapeTopType:s,shapeBottomType:d}=e,p=Object(rh.deviceStateValueByKey)(e,"media"),{media:u,opacity:b}=pB(e);let h={className:o,opacity:b,children:n,image:u&&uB(e),imageExtension:e.bgImageExtension,border:hB(e),boxShadow:bB(e),parallax:mB(e,t),shapeTop:s&&"none"!==s,shapeBottom:d&&"none"!==d};return"video"===p&&(h.video=u&&Kj(a),h.bgVideoStart=i,h.bgVideoLoop="on"===r),"map"===p&&(h.map=u&&c,h.mapZoom=l),Oo.a.createElement(dB,h)}var vB=o(225);class yB extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"startPosition",null),Object(yo.a)(this,"handleTopDrag",e=>{this.handleDrag("paddingTop",e)}),Object(yo.a)(this,"handleBottomDrag",e=>{this.handleDrag("paddingBottom",e)}),Object(yo.a)(this,"handleDrag",(e,{deltaY:t})=>{const o=this.props.value,{deviceMode:n}=Object(Lo.b)().getState().ui;if(e="grouped"===o.paddingType?"padding":e,"tablet"===n){const t=(e="grouped"===o.tabletPaddingType?"padding":e).charAt(0).toUpperCase()+e.slice(1);e="tablet".concat(t)}if("mobile"===n){const t=(e="grouped"===o.mobilePaddingType?"padding":e).charAt(0).toUpperCase()+e.slice(1);e="mobile".concat(t)}this.startPosition=this.startPosition||o[e];const a=Math.max(15,this.startPosition+t);let r={};switch(e){case"paddingTop":r={paddingType:"ungrouped",paddingTop:a};break;case"paddingBottom":r={paddingType:"ungrouped",paddingBottom:a};break;case"tabletPaddingTop":r={tabletPaddingType:"ungrouped",tabletPaddingTop:a};break;case"tabletPaddingBottom":r={tabletPaddingType:"ungrouped",tabletPaddingBottom:a};break;case"mobilePaddingTop":r={mobilePaddingType:"ungrouped",mobilePaddingTop:a};break;case"mobilePaddingBottom":r={mobilePaddingType:"ungrouped",mobilePaddingBottom:a};break;case"padding":r={paddingType:"ungrouped",paddingTop:o[e],paddingBottom:o[e],[e]:a};break;case"tabletPadding":r={tabletPaddingType:"ungrouped",tabletPaddingTop:o[e],tabletPaddingBottom:o[e],[e]:a};break;case"mobilePadding":r={mobilePaddingType:"ungrouped",mobilePaddingTop:o[e],mobilePaddingBottom:o[e],[e]:a}}this.props.onChange(r)}),Object(yo.a)(this,"handleDragEnd",()=>{this.startPosition=null})}renderForEdit(){let{padding:e,tabletPadding:t,mobilePadding:o,paddingType:n,tabletPaddingType:a,mobilePaddingType:r,paddingTop:i,paddingBottom:l,tabletPaddingTop:c,tabletPaddingBottom:s,mobilePaddingTop:d,mobilePaddingBottom:p}=this.props.value;return"grouped"===n&&(i=l=e),"grouped"===a&&(c=s=t),"grouped"===r&&(d=p=o),Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(vB.a,{position:"top",onDrag:this.handleTopDrag,onDragEnd:this.handleDragEnd,value:"".concat(i,"px"),tabletValue:"".concat(c,"px"),mobileValue:"".concat(d,"px")}),this.props.children,Oo.a.createElement(vB.a,{position:"bottom",onDrag:this.handleBottomDrag,onDragEnd:this.handleDragEnd,value:"".concat(l,"px"),tabletValue:"".concat(s,"px"),mobileValue:"".concat(p,"px")}))}renderForView(){return this.props.children}render(){return this.renderForEdit()}}class fB extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{active:!1})}setActive(e){e!==this.state.active&&this.setState({active:e})}renderIcon(){const{icon:e,activeIcon:t}=this.props,{active:o}=this.state;return t?Oo.a.createElement(ha.CSSTransition,{in:o,timeout:150,classNames:"brz-ed-fade"},o?Oo.a.createElement(ia.b,{kre:"activeIcon",icon:t}):Oo.a.createElement(ia.b,{key:"icon",icon:e})):Oo.a.createElement(ia.b,{icon:e})}render(){const{innerRef:e,className:t,position:o}=this.props,{active:n}=this.state,a=ra()("brz-ed-border__button",t,{"brz-ed-border__button--top-left":"topLeft"===o,"brz-ed-border__button--top-right":"topRight"===o,"brz-ed-border__button--active":n});return Oo.a.createElement("div",{ref:e,className:a,"data-sortable-handle":this.props["data-sortable-handle"]},this.renderIcon())}}Object(yo.a)(fB,"defaultProps",{className:"",icon:"nc-stre-up",activeIcon:"nc-drag",position:"topRight"});var OB=fB;class CB extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"containerRef",Oo.a.createRef()),Object(yo.a)(this,"innerBorderRef",Oo.a.createRef()),Object(yo.a)(this,"buttonRef",Oo.a.createRef()),Object(yo.a)(this,"buttonInnerRef",Oo.a.createRef()),Object(yo.a)(this,"isBorderActive",!1),Object(yo.a)(this,"isButtonActive",!1),Object(yo.a)(this,"isHovered",!1),Object(yo.a)(this,"handleContentClick",e=>{this.handleActivationEvent(e)}),Object(yo.a)(this,"handleButtonClick",e=>{this.handleActivationEvent(e)}),Object(yo.a)(this,"handleClickOutside",()=>{this.setActive(!1,!1),this.setHover(!1)}),Object(yo.a)(this,"handleToolbarMouseEnter",()=>{this.isBorderActive||this.isButtonActive||this.setHover(!0)}),Object(yo.a)(this,"handleToolbarMouseLeave",()=>{this.isBorderActive||this.isButtonActive||this.setHover(!1)}),Object(yo.a)(this,"handleToolbarOpen",e=>{this.handleActivationEvent(e)}),Object(yo.a)(this,"handleToolbarClose",()=>{this.setActive(!1,!1)}),Object(yo.a)(this,"handleActivationEvent",e=>{const{showButton:t,activateOnContentClick:o}=this.props;if(e.brzContainerBorderHandled)return;let n=!1;if(t){this.buttonInnerRef.current.contains(e.target)&&(this.setActive(!0,!0),n=!0)}!n&&o&&(this.setActive(!0,!1),n=!0),n&&(e.brzContainerBorderHandled=!0),n||!this.isBorderActive&&!this.isBorderActive||this.setActive(!1,!1)}),Object(yo.a)(this,"renderButton",e=>{const{buttonPosition:t}=this.props;return Oo.a.createElement(OB,Object(ta.a)({},e,{ref:this.buttonRef,innerRef:this.buttonInnerRef,position:t}))})}componentDidMount(){this.containerRef.current.addEventListener("click",this.handleContentClick),this.containerRef.current.addEventListener("brz.toolbar.mouseenter",this.handleToolbarMouseEnter),this.containerRef.current.addEventListener("brz.toolbar.mouseleave",this.handleToolbarMouseLeave),this.containerRef.current.addEventListener("brz.toolbar.open",this.handleToolbarOpen),this.containerRef.current.addEventListener("brz.toolbar.close",this.handleToolbarClose)}setActive(e,t=!1){const{showBorder:o,showButton:n}=this.props;n&&this.isButtonActive!==t&&(this.isButtonActive=t,this.buttonRef.current.setActive(t)),o&&this.isBorderActive!==e&&(this.isBorderActive=e,e?this.containerRef.current.classList.add("brz-ed-border--active"):this.containerRef.current.classList.remove("brz-ed-border--active"))}setHover(e){e!==this.isHovered&&(this.isHovered=e,e?this.containerRef.current.classList.add("brz-ed-border--hovered"):this.containerRef.current.classList.remove("brz-ed-border--hovered"))}render(){const{className:e,color:t,showBorder:o,borderStyle:n,activeBorderStyle:a,showButton:r,renderButtonWrapper:i,children:l,clickOutsideExceptions:c}=this.props,s=ra()("brz-ed-border",{["brz-ed-border--".concat(t)]:t},e);let d,p;if(r&&(d=i?i(this.renderButton):this.renderButton()),o){const e=ra()("brz-ed-border__inner",{["brz-ed-border--".concat(n)]:n,["brz-ed-border--active-".concat(a)]:a});p=Oo.a.createElement("div",{ref:this.innerBorderRef,className:e})}return Oo.a.createElement(oa.a,{exceptions:c,onClickOutside:this.handleClickOutside},Oo.a.createElement("div",{ref:this.containerRef,className:s},l,d,p))}}function SB({v:e,device:t,component:o,state:n}){const a=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t}),r=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:n}),i=e=>Object(rh.defaultValueKey)({key:e,device:t}),{hex:l}=Object(sh.d)(r("bgColorHex"),r("bgColorPalette")),{isSlider:c}=o.props.meta.section;return[{id:i("toolbarCurrentElement"),type:"popover",icon:"nc-background",title:Object(an.a)("Background"),position:80,options:[{id:i("tabsState"),tabsPosition:"left",type:"tabs",value:a("tabsState"),tabs:[{id:i("tabNormal"),tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:i("tabsCurrentElement"),type:"tabs",value:a("tabsCurrentElement"),tabs:[{id:i("tabCurrentElement"),label:Object(an.a)("Background"),options:[Object(ej.db)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.eb)({v:e,device:t,devices:"responsive",state:"normal"}),Object(ej.f)({v:e,device:t,state:"normal",disabled:"image"!==a("media"),onChange:["onChangeBgImage","onChangeBgImageBgOpacity","onChangeBgImageDependencies"]}),{id:"bgAttachment",label:Object(an.a)("Parallax"),type:"select-dev",devices:"desktop",disabled:"image"!==a("media")||c,choices:[{title:Object(an.a)("None"),value:"none"},{title:Object(an.a)("Fixed"),value:"fixed"},{title:Object(an.a)("Animated"),value:"animated"}]},Object(ej.k)({v:e,device:t,devices:"desktop",disabled:"video"!==a("media"),state:"normal"}),Object(ej.i)({v:e,device:t,devices:"desktop",disabled:"video"!==a("media"),state:"normal"}),Object(ej.j)({v:e,device:t,devices:"desktop",disabled:"video"!==a("media"),state:"normal"}),Object(ej.g)({v:e,device:t,devices:"desktop",disabled:"map"!==a("media"),state:"normal"}),Object(ej.h)({v:e,device:t,disabled:"map"!==a("media"),state:"normal"})]}]}]},{id:i("tabHover"),tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:i("tabsCurrentElement"),type:"tabs",devices:"desktop",disabled:"tabCurrentElement"===a("tabsCurrentElement")&&("video"===a("media")||"map"===a("media")),value:a("tabsCurrentElement"),tabs:[{id:i("tabCurrentElement"),label:Object(an.a)("Background"),options:[Object(ej.f)({v:e,device:t,devices:"desktop",state:"hover",onChange:["onChangeBgImage","onChangeBgImageBgOpacity","onChangeBgImageDependencies"]})]}]}]}]}],onChange:(e,{isOpen:t})=>({tabsCurrentElement:t?a("tabsCurrentElement"):""})},{id:i("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),position:90,icon:{style:{backgroundColor:Object(mn.c)(l,a("bgColorOpacity"))}},options:[{id:i("tabsState"),tabsPosition:"left",type:"tabs",value:a("tabsState"),tabs:[{id:i("tabNormal"),tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:i("tabsColor"),type:"tabs",value:a("tabsColor"),tabs:[{id:i("tabOverlay"),label:Object(an.a)("Overlay"),options:[Object(ej.d)({v:e,device:t,state:"normal",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"normal",prefix:"startPointer"===a("gradientActivePointer")?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"normal",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===a("bgColorType")})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"normal",disabled:"solid"===a("bgColorType")||"radial"===a("gradientType")}),Object(ej.ac)({v:e,device:t,state:"normal",disabled:"solid"===a("bgColorType")||"linear"===a("gradientType")})]}]}]},{id:i("tabBorder"),label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"normal",onChangeStyle:["onChangeBorderStyle2","onChangeContainerBorderStyleDependencies2"],onChangeHex:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBorderColorPalette2","onChangeBorderColorPaletteOpacity2","onChangeContainerBorderColorHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"normal",onChange:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"]})]},{width:54,options:[Object(ej.o)({v:e,device:t,state:"normal",onChangeType:["onChangeBorderWidthType2"],onChangeGrouped:["onChangeBorderWidthGrouped2","onChangeBorderWidthGroupedDependencies2"],onChangeUngrouped:["onChangeBorderWidthUngrouped2","onChangeBorderWidthUngroupedDependencies2"]})]}]}]}]}]},{id:i("tabHover"),tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:i("tabsColor"),type:"tabs",devices:"desktop",value:a("tabsColor"),tabs:[{id:i("tabOverlay"),label:Object(an.a)("Overlay"),options:[Object(ej.d)({v:e,device:t,state:"hover",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"hover",prefix:"startPointer"===a("gradientActivePointer")?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"hover",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===a("bgColorType")})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"hover",disabled:"solid"===a("bgColorType")||"radial"===a("gradientType")}),Object(ej.ac)({v:e,device:t,state:"hover",disabled:"solid"===a("bgColorType")||"linear"===a("gradientType")})]}]}]},{id:i("tabBorder"),label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"hover",onChangeStyle:["onChangeBorderStyle2","onChangeContainerBorderStyleDependencies2"],onChangeHex:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBorderColorPalette2","onChangeBorderColorPaletteOpacity2","onChangeContainerBorderColorHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"hover",onChange:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"]})]},{width:54,options:[Object(ej.o)({v:e,device:t,state:"hover",onChangeType:["onChangeBorderWidthType2"],onChangeGrouped:["onChangeBorderWidthGrouped2","onChangeBorderWidthGroupedDependencies2"],onChangeUngrouped:["onChangeBorderWidthUngrouped2","onChangeBorderWidthUngroupedDependencies2"]})]}]}]}]}]}]}],onChange:(e,{isOpen:t})=>({tabsColor:t?a("tabsColor"):""})},{id:i("toolbarSettings"),type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),position:110,options:[Object(ej.cb)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.fb)({v:e,device:t,devices:"responsive",state:"normal"}),{id:i("advancedSettings"),type:"advancedSettings",devices:"desktop",sidebarLabel:Object(an.a)("More Settings"),label:Object(an.a)("More Settings"),icon:"nc-cog"}]}]}Object(yo.a)(CB,"propTypes",{className:Nr.a.string,color:Nr.a.oneOf(["grey","blue","red"]),showBorder:Nr.a.bool,borderStyle:Nr.a.oneOf(["none","solid","dotted"]),activeBorderStyle:Nr.a.oneOf(["none","solid","dotted"]),showButton:Nr.a.bool,buttonPosition:Nr.a.oneOf(["topLeft","topRight"]),renderButtonWrapper:Nr.a.func,activateOnContentClick:Nr.a.bool,clickOutsideExceptions:Nr.a.arrayOf(Nr.a.string)}),Object(yo.a)(CB,"defaultProps",{showBorder:!0,showButton:!1,buttonPosition:"topRight",activateOnContentClick:!0,clickOutsideExceptions:["#brz-toolbar-portal",".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal"]});const xB=Object(an.a)("Block");function jB({v:e,device:t}){const o=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t}),n=e=>Object(rh.defaultValueKey)({key:e,device:t});return[{id:n("settingsTabs"),type:"tabs",align:"start",tabs:[{id:n("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.oc)({v:e,device:t,state:"normal"}),Object(ej.n)({v:e,device:t,state:"normal",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]}),{type:"multiPicker",picker:Object(ej.pc)({v:e,device:t,state:"normal"}),disabled:"desktop"!==t&&("none"===o("shapeTopType")&&"none"===o("shapeBottomType")),choices:{top:[Object(ej.zc)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.vc)({v:e,device:t,disabled:"none"===o("shapeTopType"),devices:"desktop",state:"normal"}),Object(ej.xc)({v:e,device:t,disabled:"none"===o("shapeTopType"),state:"normal"}),Object(ej.wc)({v:e,device:t,disabled:"none"===o("shapeTopType"),devices:"desktop",state:"normal"}),Object(ej.yc)({v:e,device:t,disabled:"none"===o("shapeTopType"),devices:"desktop",state:"normal"})],bottom:[Object(ej.uc)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.qc)({v:e,device:t,disabled:"none"===o("shapeBottomType"),devices:"desktop",state:"normal"}),Object(ej.sc)({v:e,device:t,disabled:"none"===o("shapeBottomType"),state:"normal"}),Object(ej.rc)({v:e,device:t,disabled:"none"===o("shapeBottomType"),devices:"desktop",state:"normal"}),Object(ej.tc)({v:e,device:t,disabled:"none"===o("shapeBottomType"),devices:"desktop",state:"normal"})]}}]},{id:n("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.cc)({v:e,device:t,devices:"desktop",state:"normal"})]}]}]}var BB=o(394);function PB(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class wB extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"mounted",!1),Object(yo.a)(this,"collapsibleToolbarRef",Oo.a.createRef()),Object(yo.a)(this,"handleToolbarClose",()=>{this.mounted&&this.patchValue({tabsState:"tabNormal",tabsCurrentElement:"tabCurrentElement",tabsColor:"tabOverlay"})}),Object(yo.a)(this,"handleToolbarEscape",()=>{this.collapsibleToolbarRef.current.open()}),Object(yo.a)(this,"handlePaddingResizerChange",e=>this.patchValue(e))}static get componentId(){return"SectionItem"}componentDidMount(){this.mounted=!0}shouldMetaUpdate(e){const{meta:{section:{isSlider:t,verticalAlign:o,marginType:n,showOnDesktop:a,showOnMobile:r,showOnTablet:i,fullHeight:l}}}=this.props,{meta:{section:{marginType:c,showOnDesktop:s,showOnMobile:d,showOnTablet:p,verticalAlign:u,fullHeight:b}}}=e,{deviceMode:h}=Object(Lo.b)().getState().ui;return t||o!==u||("desktop"===h&&a!==s||"mobile"===h&&r!==d||"tablet"===h&&i!==p)||n!==c||l!==b}shouldComponentUpdate(e){return this.shouldMetaUpdate(e)||this.optionalSCU(e)}componentWillUnmount(){this.mounted=!1}getMeta(e){const{meta:t}=this.props,o=Dh({v:e}),n=Wh({v:e,device:"desktop"}),a=Wh({v:e,device:"tablet"}),r=Wh({v:e,device:"mobile"}),i=Qx({v:e,w:"fullWidth"===o?t.desktopFullW:t.desktopBoxedW,width:n,device:"desktop"}),l=Qx({v:e,w:t.tabletW,width:a,device:"tablet"});return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?PB(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):PB(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{mobileW:Qx({v:e,w:t.mobileW,width:r,device:"mobile"}),tabletW:l,desktopW:i})}renderToolbar(){const{globalBlockId:e}=this.props.meta;return Oo.a.createElement(Aa.a,Object(ta.a)({},this.makeToolbarPropsFromConfig2(s,d),{ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft",badge:Boolean(e)}))}renderItems(e,t,o){const n=this.getMeta(e),a=ra()(Qb("".concat(this.constructor.componentId,"-bg"),"".concat(this.getId(),"-bg"),function(e,t,o,n){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover > .brz-bg-media":{standart:["cssStyleBorder","cssStyleBorderRadius"]},".brz &&:hover > .brz-bg-media > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition"],interval:["cssStyleBgImageAttachment"]},".brz &&:hover > .brz-bg-media > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"]},".brz &&:hover > .brz-bg-media > .brz-bg-map":{standart:["cssStyleFilter","cssStyleBgMap"]},".brz &&:hover > .brz-bg-media > .brz-bg-video":{standart:["cssStyleFilter"]},".brz &&:hover > .brz-bg-media > .brz-bg-shape__top":{standart:["cssStyleShapeTopType","cssStyleShapeTopHeight","cssStyleShapeTopFlip","cssStyleShapeTopIndex"]},".brz &&:hover > .brz-bg-media > .brz-bg-shape__bottom":{standart:["cssStyleShapeBottomType","cssStyleShapeBottomHeight","cssStyleShapeBottomFlip","cssStyleShapeBottomIndex"]},".brz &&:hover > .brz-bg-content":{standart:["cssStylePaddingPreview","cssStylePaddingRightLeftForEditor","cssStyleDisplayFlex"]},".brz &&:hover > .brz-bg-content > .brz-ed-draggable__padding--top":{standart:["cssStylePaddingTopForEditorResizer"]},".brz &&:hover > .brz-bg-content > .brz-ed-draggable__padding--bottom":{standart:["cssStylePaddingBottomForEditorResizer"]}},props:n})}(e,t,o,this.props))),r=ra()("brz-container",e.containerClassName,Qb("".concat(this.constructor.componentId,"-container"),"".concat(this.getId(),"-container"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleSectionMaxWidth"]}}})}(e,t,o))),i=ra()("brz-container__wrap",Qb("".concat(this.constructor.componentId,"-containerWrap"),"".concat(this.getId(),"-containerWrap"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleSectionContainerType"]}}})}(e,t,o))),l=this.makeSubcomponentProps({bindWithKey:"items",className:r,meta:n});return Oo.a.createElement(gB,{className:a,value:e,meta:n},Oo.a.createElement(yB,{value:e,onChange:this.handlePaddingResizerChange},Oo.a.createElement("div",{className:i},Oo.a.createElement(Lj,l))))}renderForEdit(e,t,o){const{className:n,containerType:a}=e,r=ra()("brz-section__content","brz-section--".concat(a),n);return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:r},Oo.a.createElement(Ca.a,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},Oo.a.createElement(CB,{showBorder:!1,activateOnContentClick:!1},this.renderToolbar(),Oo.a.createElement(Aa.b,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o))))))}renderForView(e,t,o){const{className:n,containerType:a}=e,r=ra()("brz-section__content","brz-section--".concat(a),n);return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:r},this.renderItems(e,t,o)))}}Object(yo.a)(wB,"defaultProps",{meta:{}}),Object(yo.a)(wB,"defaultValue",BB);var TB=wB;class zB extends Oo.a.Component{render(){const{children:e}=this.props;return Oo.a.cloneElement(Oo.a.Children.only(e),{"data-sortable-handle":!0})}}var kB=zB;function EB(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function HB(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?EB(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):EB(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}let _B=new Map,RB=null;class MB extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{isVisible:!1}),Object(yo.a)(this,"content",Oo.a.createRef()),Object(yo.a)(this,"initObserver",()=>{const{observerRootSelector:e,observerRootMargin:t,observerThreshold:o}=this.props,n={root:document.querySelector(e),rootMargin:t,threshold:o};RB=new IntersectionObserver(this.handleIntersection,n)}),Object(yo.a)(this,"handleIntersection",e=>{e.forEach(({isIntersecting:e,target:t})=>{if(e){const e=_B.get(t);RB.unobserve(t),e.setState({isVisible:!0})}})})}componentDidMount(){if(!this.props.name)return;null===RB&&this.initObserver();const e=this.content.current;e&&(RB.observe(e),_B.set(e,this))}componentWillReceiveProps(e){if(e.name!==this.props.name){null===RB&&this.initObserver();const e=this.content.current;_B.has(e)||(RB.observe(e),_B.set(e,this))}}componentWillUnmount(){if(!this.props.name)return;const e=this.content.current;e&&(RB.unobserve(e),_B.delete(e)),0===_B.size&&(RB.disconnect(),RB=null)}renderForEdit(){const e=this.props,{className:t,tagName:o,customID:n,style:a,name:r,delay:i,duration:l,observerRootSelector:c,observerRootMargin:s,observerThreshold:d,children:p}=e,u=Object(ca.a)(e,["className","tagName","customID","style","name","delay","duration","observerRootSelector","observerRootMargin","observerThreshold","children"]),{isVisible:b}=this.state,h=Boolean(r),m=b&&h,g=ra()("brz-observer__animation",t,{"brz-animated":h,["".concat(r)]:m,"brz-animate":m}),v=HB({},a,{},h?{animationDelay:"".concat(i,"ms"),animationDuration:"".concat(l,"ms")}:{}),y=HB({},n?{id:n}:{},{className:g,style:v},u,{ref:this.content});return Oo.a.createElement(Db,Object(ta.a)({tagName:o},y),p)}renderForView(){const{className:e,customID:t,tagName:o,name:n,delay:a,duration:r,children:i}=this.props,l=Boolean(n),c=HB({},t?{id:t}:{},{className:ra()(e,{"brz-animated":l})},l?{"data-animate-name":n,"data-animate-delay":a,"data-animate-duration":r}:{});return Oo.a.createElement(Db,Object(ta.a)({tagName:o},c),i)}render(){return this.renderForEdit()}}function IB({v:e,device:t,component:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),a=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),r=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"hover"}),{hex:i}=Object(sh.d)(a("bgColorHex"),a("bgColorPalette")),l=Boolean(o.props.meta.sectionPopup),c=Boolean(o.props.meta.sectionPopup2);return[Object(ej.Bc)({v:e,device:t,devices:"responsive"}),{id:n("toolbarMedia"),type:"popover",icon:"nc-background",title:Object(an.a)("Background"),position:80,options:[{id:n("tabsState"),tabsPosition:"left",type:"tabs",value:a("tabsState"),tabs:[{id:n("tabNormal"),tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:n("tabsMedia"),type:"tabs",value:a("tabsMedia"),tabs:[{id:n("tabMedia"),label:Object(an.a)("Background"),options:[Object(ej.db)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.eb)({v:e,device:t,devices:"responsive",state:"normal"}),Object(ej.f)({v:e,device:t,state:"normal",devices:"desktop",disabled:"image"!==a("media"),onChange:["onChangeBgImage","onChangeBgImageBgOpacity","onChangeBgImageDependencies","onChangeBgImageColumnAndRowSyncMobile"]}),Object(ej.f)({v:e,device:t,state:"normal",devices:"responsive",disabled:"image"!==a("media")&&"video"!==a("media"),onChange:["onChangeBgImage","onChangeBgImageBgOpacity","onChangeBgImageDependencies","onChangeBgImageColumnAndRowSyncMobile"]}),Object(ej.k)({v:e,device:t,devices:"desktop",state:"normal",disabled:"video"!==a("media")}),Object(ej.i)({v:e,device:t,devices:"desktop",state:"normal",disabled:"video"!==a("media")}),{id:"bgMapAddress",label:Object(an.a)("Address"),type:"inputText-dev",devices:"desktop",disabled:"map"!==a("media"),placeholder:Object(an.a)("Enter address"),config:{size:"large"}},Object(ej.h)({v:e,device:t,state:"normal",disabled:"map"!==a("media")})]}]}]},{id:n("tabHover"),tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:n("tabsMedia"),type:"tabs",devices:"desktop",disabled:"tabMedia"===a("tabsMedia")&&("video"===a("media")||"map"===a("media")),value:a("tabsMedia"),tabs:[{id:n("tabMedia"),label:Object(an.a)("Background"),options:[Object(ej.f)({v:e,device:t,devices:"desktop",state:"hover",onChange:["onChangeBgImage","onChangeBgImageBgOpacity","onChangeBgImageDependencies","onChangeBgImageColumnAndRowSyncMobile"]})]}]}]}]}],onChange:(e,{isOpen:t})=>({[n("tabsMedia")]:t?a("tabsMedia"):""})},{id:n("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),position:90,icon:{style:{backgroundColor:Object(mn.c)(i,a("bgColorOpacity"))}},options:[{id:n("tabsState"),tabsPosition:"left",type:"tabs",value:a("tabsState"),tabs:[{id:n("tabNormal"),tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:n("tabsColor"),type:"tabs",value:a("tabsColor"),tabs:[{id:n("tabOverlay"),label:Object(an.a)("Overlay"),options:[Object(ej.d)({v:e,device:t,state:"normal",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"normal",prefix:"startPointer"===a("gradientActivePointer")?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"normal",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===a("bgColorType")})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"normal",disabled:"solid"===a("bgColorType")||"radial"===a("gradientType")}),Object(ej.ac)({v:e,device:t,state:"normal",disabled:"solid"===a("bgColorType")||"linear"===a("gradientType")})]}]}]},{id:n("tabBorder"),label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"normal",onChangeStyle:["onChangeBorderStyle2","onChangeContainerBorderStyleDependencies2"],onChangeHex:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2","onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2","onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2"],onChangePalette:["onChangeBorderColorPalette2","onChangeBorderColorPaletteOpacity2","onChangeContainerBorderColorHexAndOpacityDependencies2","onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2","onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"normal",onChange:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2","onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2","onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2"]})]},{width:54,options:[Object(ej.o)({v:e,device:t,state:"normal",onChangeType:["onChangeBorderWidthType2"],onChangeGrouped:["onChangeBorderWidthGrouped2","onChangeBorderWidthGroupedDependencies2"],onChangeUngrouped:["onChangeBorderWidthUngrouped2","onChangeBorderWidthUngroupedDependencies2"]})]}]}]},{id:n("tabBoxShadow"),label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,state:"normal",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:41,options:[Object(ej.s)({v:e,device:t,state:"normal",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:59,options:[Object(ej.r)({v:e,device:t,state:"normal",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]},{id:n("tabHover"),tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:n("tabsColor"),type:"tabs",value:a("tabsColor"),devices:"desktop",tabs:[{id:n("tabOverlay"),label:Object(an.a)("Overlay"),options:[Object(ej.d)({v:e,device:t,devices:"desktop",state:"hover",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"hover",devices:"desktop",prefix:"startPointer"===r("gradientActivePointer")?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"hover",devices:"desktop",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===r("bgColorType")})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"hover",devices:"desktop",disabled:"solid"===r("bgColorType")||"radial"===r("gradientType")}),Object(ej.ac)({v:e,device:t,devices:"desktop",state:"hover",disabled:"solid"===r("bgColorType")||"linear"===r("gradientType")})]}]}]},{id:n("tabBorder"),label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"hover",devices:"desktop",onChangeStyle:["onChangeBorderStyle2","onChangeContainerBorderStyleDependencies2"],onChangeHex:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2","onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2","onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2"],onChangePalette:["onChangeBorderColorPalette2","onChangeBorderColorPaletteOpacity2","onChangeContainerBorderColorHexAndOpacityDependencies2","onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2","onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2","onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2","onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2"]})]},{width:54,options:[Object(ej.o)({v:e,device:t,state:"hover",devices:"desktop",onChangeType:["onChangeBorderWidthType2"],onChangeGrouped:["onChangeBorderWidthGrouped2","onChangeBorderWidthGroupedDependencies2"],onChangeUngrouped:["onChangeBorderWidthUngrouped2","onChangeBorderWidthUngroupedDependencies2"]})]}]}]},{id:n("tabBoxShadow"),label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,state:"hover",devices:"desktop",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:41,options:[Object(ej.s)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:59,options:[Object(ej.r)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]}]}],onChange:(e,{isOpen:t})=>({[n("tabsState")]:t?a("tabsState"):"",[n("tabsColor")]:t?a("tabsColor"):""})},{id:n("toolbarLink"),type:"popover",icon:"nc-link",title:Object(an.a)("Link"),size:"medium",position:100,disabled:!!(l||c||Xa.b)||("desktop"===t?"on"===e.linkLightBox:"popup"!==a("linkType")||""===a("linkPopup")),options:[{id:n("linkType"),type:"tabs",value:a("linkType"),tabs:[{id:n("external"),label:Object(an.a)("URL"),options:[Object(ej.ec)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.ic)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.jc)({v:e,device:t,devices:"desktop",state:"normal"})]},{id:n("anchor"),label:Object(an.a)("Block"),options:[Object(ej.gc)({v:e,device:t,devices:"desktop",state:"normal"})]}]}]},{id:n("toolbarLinkResponsive"),type:"popover",icon:"nc-link",title:Object(an.a)("Link"),size:"medium",position:100,devices:"responsive",disabled:"popup"!==a("linkType")||""===a("linkPopup"),options:[{id:n("linkType"),type:"tabs",value:a("linkType"),tabs:[]}]},{id:n("toolbarSettings"),type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),position:100,options:[Object(ej.Dc)({v:e,device:t,state:"normal",min:40,max:100,disabled:l||c||Xa.b}),{type:n("multiPicker"),devices:"desktop",disabled:c||Xa.b,position:90,picker:{id:"columnsHeightStyle",label:Object(an.a)("Height"),type:"select-dev",devices:"desktop",choices:[{title:Object(an.a)("Auto"),value:"auto"},{title:Object(an.a)("Custom"),value:"custom"}]},choices:{custom:[Object(ej.yb)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.Mc)({v:e,device:t,state:"normal",devices:"desktop"})]}},{id:n("advancedSettings"),type:"advancedSettings",devices:"desktop",sidebarLabel:Object(an.a)("More Settings"),label:Object(an.a)("More Settings"),icon:"nc-cog",position:110}]}]}Object(yo.a)(MB,"defaultProps",{className:"",customID:"",tagName:"div",style:{},observerRootSelector:null,observerRootMargin:"0px",observerThreshold:[0],name:null,delay:1e3,duration:1e3});const FB=Object(an.a)("Row");function NB({v:e,device:t,component:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),a=Object(sh.c)("richText"),r=Boolean(o.props.meta.sectionPopup),i=[{title:Object(an.a)("Div"),value:"div"},{title:Object(an.a)("Header"),value:"header"},{title:Object(an.a)("Footer"),value:"footer"},{title:Object(an.a)("Main"),value:"main"},{title:Object(an.a)("Article"),value:"article"},{title:Object(an.a)("Section"),value:"section"},{title:Object(an.a)("Aside"),value:"aside"},{title:Object(an.a)("Nav"),value:"nav"}];return[{id:n("settingsTabs"),type:"tabs",align:"start",devices:"desktop",tabs:[{id:n("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.nc)({v:e,device:t,state:"normal",devices:"desktop"}),Object(ej.mc)({v:e,device:t,state:"normal",devices:"desktop",disabled:r,onChangeGrouped:["onChangeMarginGrouped"],onChangeUngrouped:["onChangeMarginUngrouped"]}),Object(ej.n)({v:e,device:t,state:"normal",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]})]},{id:n("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.Ac)({v:e,devices:"desktop"}),Object(ej.Nc)({v:e,device:t,state:"normal",devices:"desktop"}),{id:"cssID",label:Object(an.a)("CSS ID"),type:"population-dev",position:30,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:{choices:a},options:[{id:"customID",type:"inputText-dev"}]},{id:"cssClass",label:Object(an.a)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:{choices:a},options:[{id:"customClassName",type:"inputText-dev"}]},Object(ej.Ub)({v:e,device:t,state:"normal",devices:"desktop"}),Object(ej.cc)({v:e,device:t,position:60,devices:"desktop",state:"normal"}),{id:"tagName",label:Object(an.a)("Html Tag"),type:"select-dev",choices:i}]}]},Object(ej.nc)({v:e,device:t,state:"normal",devices:"responsive"}),Object(ej.mc)({v:e,device:t,state:"normal",devices:"responsive",disabled:r,onChangeGrouped:["onChangeMarginGrouped"],onChangeUngrouped:["onChangeMarginUngrouped"]}),Object(ej.n)({v:e,device:t,devices:"responsive",state:"normal",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]})]}function LB(){return[{id:"reverseColumns",type:"toggle-dev",devices:"responsive",position:20,choices:[{icon:"nc-switch",title:Object(an.a)("Reverse Columns"),value:"on"},{icon:"nc-switch",title:Object(an.a)("Reverse Columns"),value:"off"}]}]}var WB={getItems:function(e,t){const o=Boolean(t.props.meta.sectionPopup),n=Boolean(t.props.meta.sectionPopup2);return[{id:"main",type:"group",icon:"nc-row",title:Object(an.a)("Row"),disabled:(t,a)=>"off"===e.showToolbar||o||n||Xa.b||a.isInSubMenu,items:[]}]}};const VB=Bo.a.get("wp");class DB extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleClick",e=>{e.preventDefault()})}getClassName(){const{className:e,type:t}=this.props;return ra()("brz-a",{"brz-anchor":"anchor"===t},e)}getHref(){const{type:e,href:t}=this.props;let o;switch(e){case"anchor":case"popup":o="#".concat(t);break;case"upload":{const{customFile:e}=Bo.a.get("urls"),[n]=t.split("|||",1);o=VB?"".concat(e).concat(n):"".concat(e,"/").concat(n);break}case"lightBox":case"external":o=t;break;case"action":o="#";break;default:throw new Error("unknown link type ".concat(e))}return o}getRel(){return"on"===this.props.rel?"nofollow":null}getTarget(){const{type:e,target:t}=this.props;return"external"===e&&"on"===t||"upload"===e?"_blank":null}getAttr(){const{attr:e}=this.props;return Object.keys(e).filter(t=>""!==e[t]).reduce((t,o)=>(t[o]=e[o],t),{})}render(){const{type:e,style:t,children:o}=this.props,n=this.getClassName(),a=this.getHref(),r=this.getTarget(),i=this.getRel(),l=this.getAttr();return Oo.a.createElement("a",Object(ta.a)({className:n,href:a,target:r,rel:i,style:t,"data-brz-link-type":e,onClick:this.handleClick},l),o)}}Object(yo.a)(DB,"defaultProps",{className:"",style:null,href:"",target:null,type:"external",rel:null,attr:{title:""}});var AB=DB;const GB="MacOS"===vp(),UB=e=>GB?e?"Alt":"⌘":e?"Alt":"Ctrl";var KB=e=>({getItems:qB(e)});const qB=e=>(t,o)=>{const n=o.canAddColumn()?[{id:"duplicate",type:"button",title:Object(an.a)("Add New"),helperText:({isInSubMenu:e})=>UB(e)+" + N",onChange(){o.addColumn(e+1)}}]:[],a=o.getCurrentCopiedElement(),r=a&&"Row"!==a.type;return[{id:"main",type:"group",items:[...n,{id:"copy",type:"button",title:Object(an.a)("Copy"),helperText:({isInSubMenu:e})=>UB(e)+" + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:Object(an.a)("Paste"),helperText:({isInSubMenu:e})=>UB(e)+" + V",inactive:!r,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:Object(an.a)("Paste Styles"),helperText:({isInSubMenu:e})=>UB(e)+" + ⇧ + V",inactive:!r,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:Object(an.a)("Duplicate"),helperText:({isInSubMenu:e})=>UB(e)+" + D",onChange(){o.cloneItem(e)}},{id:"remove",type:"button",title:Object(an.a)("Delete"),helperText:({isInSubMenu:e})=>(e=>GB?e?"Alt + delete":"⌘ + delete":e?"Alt + Delete":"Delete")(e),onChange(){Object(Aa.d)(),o.removeItem(e)}}]}]};var YB=o(34);function XB(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ZB(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?XB(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):XB(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const JB=6,$B=e=>Math.round(10*e)/10;class QB extends Ju.a{constructor(...e){super(...e),Object(yo.a)(this,"nodeRef",Oo.a.createRef()),Object(yo.a)(this,"columnWidths",null),Object(yo.a)(this,"popoverData",null),Object(yo.a)(this,"handleColumnResize",(e,t,o)=>{const{deviceMode:n}=Object(Lo.b)().getState().ui;switch(n){case"desktop":this.handleDesktopColumnResize(e,t,o);break;case"tablet":this.handleDeviceColumnResize(e,t,"tabletWidth");break;case"mobile":this.handleDeviceColumnResize(e,t,"mobileWidth");break;default:console.error("Invalid Column Resize. This should not happen")}}),Object(yo.a)(this,"handleDesktopColumnResize",(e,t,o)=>{this.columnWidths=this.columnWidths||this.getColumnWidthsInPx();let n=e,a=e+1;"left"===o&&(n=e-1,a=e);const r=this.columnWidths.reduce((e,t)=>e+t,0),i=r-(r-this.columnWidths[n]-this.columnWidths[a])-Bn,l=Object(YB.a)(this.columnWidths[n]+t,Bn,i),c=Object(YB.a)(this.columnWidths[a]-t,Bn,i),s=$B(100*l/r),d=$B(100*c/r);this.popoverData=[s,d];let p=Object(kn.setIn)(this.getDBValue(),[n,"value","width"],s);p=Object(kn.setIn)(p,[a,"value","width"],d),this.handleValueChange(p)}),Object(yo.a)(this,"handleDeviceColumnResize",(e,t,o)=>{this.columnWidths=this.columnWidths||this.getColumnWidthsInPx();const n=this.nodeRef.current.getBoundingClientRect().width,a=Object(YB.a)(this.columnWidths[e]+t,Bn,n),r=$B(100*a/n);this.popoverData=[r];const i=Object(kn.setIn)(this.getDBValue(),[e,"value",o],r);this.handleValueChange(i)}),Object(yo.a)(this,"handleColumnResizeEnd",()=>{this.columnWidths=null,this.popoverData=null}),Object(yo.a)(this,"handleSortableAcceptElements",(e,t)=>{if("addable"===e.elementType){if("row"===e.elementNode.getAttribute("data-sortable-subtype"))return!1}const o=e.sortableNode===t.sortableNode,n=-1!==["column","shortcode","addable"].indexOf(e.elementType),a=t.sortableNode.children.length<JB;return o||n&&a}),Object(yo.a)(this,"getColumnWidthsInPx",()=>{const e=So.a.findDOMNode(this);return Ao.a.map(e.children,e=>e.getBoundingClientRect().width)}),Object(yo.a)(this,"getPopoverData",()=>this.popoverData)}static get componentId(){return"Row.Items"}handleValueChange(e,t={}){const{arrayOperation:o}=t,n="insert"===o||"remove"===o?bb(e):e;super.handleValueChange(n,t)}getItemProps(e,t,o){const n=Object(jo.a)(this.props.meta,{row:{item:{index:t,isFirst:0===t,isLast:t===o.length-1,isOnly:1===o.length}}}),a={getItemsForDesktop:()=>[...this.canAddColumn()?[{id:"emptyItem",type:"button",icon:"nc-add",title:Object(an.a)("Add New Column"),position:100,onChange:()=>{this.addColumn(t+1)}},{id:"duplicate",type:"button",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}}]:[],{id:"remove",type:"button",title:Object(an.a)("Delete"),icon:"nc-trash",position:250,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]},r=this.makeToolbarPropsFromConfig(a);return ZB({},this.props.itemProps,{tabletReversed:this.props.tabletReversed,mobileReversed:this.props.mobileReversed,meta:n,toolbarExtend:r,popoverData:this.getPopoverData,onResizeStart:e=>this.handleColumnResize(t,0,e),onResize:(e,o)=>this.handleColumnResize(t,e,o),onResizeEnd:this.handleColumnResizeEnd})}canAddColumn(){return this.getValue().length<JB}addColumn(e){const t=ZB({},this.getValue()[0],{value:{items:[]}});this.insertItem(e,t)}renderItemWrapper(e,t,o){const n=KB(o);return Oo.a.createElement(Ej,Object(ta.a)({key:t},this.makeContextMenuProps(n)),Oo.a.createElement(fr.a,{keyNames:["alt+N","ctrl+N","cmd+N","right_cmd+N","alt+D","alt+C","alt+V","alt+shift+V","shift+alt+V","alt+del","alt+up","alt+down"],shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","verticalAlign"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){const t=e.length?Oo.a.createElement("div",{ref:this.nodeRef,className:this.props.containerClassName},e):null;return Oo.a.createElement(Ua,{path:this.getPath(),type:"row",isGrid:!0,acceptElements:this.handleSortableAcceptElements},t)}}Object(yo.a)(QB,"defaultProps",{containerClassName:"",meta:{},itemProps:{}});var eP=QB;function tP(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleVisibleEditorDisplayNoneOrBlock|||editor"],standart:["cssStyleMargin"]}}})}var oP=o(395);class nP extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"mounted",!1),Object(yo.a)(this,"containerBorderRef",Oo.a.createRef()),Object(yo.a)(this,"toolbarRef",Oo.a.createRef()),Object(yo.a)(this,"handleToolbarEscape",()=>{this.toolbarRef.current.show()}),Object(yo.a)(this,"renderToolbar",e=>Oo.a.createElement(Aa.c,Object(ta.a)({},this.makeToolbarPropsFromConfig2(p,u),{ref:this.toolbarRef}),Oo.a.createElement(kB,null,Oo.a.createElement(e,{className:"brz-ed-border__button--row"}))))}static get componentId(){return"Row"}componentDidMount(){this.mounted=!0}shouldComponentUpdate(e){return this.optionalSCU(e)}componentWillUnmount(){this.mounted=!1}handleValueChange(e,t){const o=Boolean(this.props.meta.sectionPopup),n=Boolean(this.props.meta.sectionPopup2);0!==e.items.length||o&&n&&Xa.b?super.handleValueChange(e,t):this.selfDestruct()}getMeta(e){const{meta:t}=this.props,o=Lh({v:e,device:"desktop"}),n=Lh({v:e,device:"tablet"}),a=Lh({v:e,device:"mobile"}),r=Qx({v:e,w:t.desktopW,width:o,device:"desktop"}),i=Qx({v:e,w:t.tabletW,width:n,device:"tablet"}),l=Qx({v:e,w:t.mobileW,width:a,device:"mobile"});return Object.assign({},t,{row:{isInner:this.isInnerRow(),itemsLength:e.items.length},inGrid:!0,mobileW:l,tabletW:i,desktopW:r})}isInnerRow(){const{meta:e}=this.props;return void 0!==e.row}renderContent(e,t,o){const{className:n,mobileReverseColumns:a,tabletReverseColumns:r}=e,i=ra()("brz-flex-xs-wrap","brz-row__bg",Qb("".concat(this.constructor.componentId,"-bg"),"".concat(this.getId(),"-bg"),function(e,t,o){const n=["cssStyleSizeMaxWidthSize","cssStyleRowMinHeight","cssStyleDisplayFlex"];return n.push("cssStyleVisible"),Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleZIndex","cssStyleFlexVerticalAlign"],interval:n},".brz &&:hover > .brz-bg-media":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg-media > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg-media > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg-media > .brz-bg-map":{standart:["cssStyleFilter","cssStyleBgMap"]},".brz &&:hover > .brz-bg-media > .brz-bg-video":{standart:["cssStyleFilter"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg-content":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg-content > .brz-row":{interval:["cssStyleRowReverseColumn"]}}})}(e,t,o))),l=ra()("brz-row",{"brz-row--inner":this.isInnerRow()},n,Qb("".concat(this.constructor.componentId,"-container"),"".concat(this.getId(),"-container"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStylePaddingFourFields"]}}})}(e,t,o))),c=this.makeSubcomponentProps({bindWithKey:"items",containerClassName:l,toolbarExtend:this.makeToolbarPropsFromConfig2(b,null,{allowExtend:!1}),meta:this.getMeta(e),tabletReversed:r,mobileReversed:a});return Oo.a.createElement(gB,{className:i,value:e,meta:this.getMeta(e)},Oo.a.createElement(eP,c))}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let t=!1;"GlobalBlock"===e.type&&(e=Object(nn.k)(Object(Lo.b)().getState())[e.value.globalBlockId].data,t=!0);const{blockId:o,value:{popupId:n}}=e;return{blockId:o,instanceKey:"".concat(this.getId(),"_").concat(n)}}});return Oo.a.createElement(Ju.a,e)}renderForEdit(e,t,o){const{className:n,customID:a,customClassName:r,showToolbar:i,animationName:l,animationDuration:c,animationDelay:s,linkType:d,linkPopup:p,popups:u,cssIDPopulation:b,cssClassPopulation:h}=e,m=ra()("brz-row__container",n,Qb("".concat(this.constructor.componentId,"-row"),"".concat(this.getId(),"-row"),tP(e,t,o)),""===h?r:h);return"off"===i?Oo.a.createElement(Ya,{type:"row",useHandle:!0},Oo.a.createElement(MB,{className:m,name:"none"!==l&&l,duration:c,delay:s},this.renderContent(e,t,o))):Oo.a.createElement(fo.Fragment,null,Oo.a.createElement(Ya,{type:"row",useHandle:!0},Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(MB,{className:m,customID:""===b?a:b,name:"none"!==l&&l,duration:c,delay:s},Oo.a.createElement(Rj,this.makeContextMenuProps(WB),Oo.a.createElement(Ca.a,{allow:["admin"],fallbackRender:()=>this.renderContent(e,t,o)},Oo.a.createElement(CB,{ref:this.containerBorderRef,color:"grey",activeBorderStyle:"dotted",activateOnContentClick:!1,showButton:!0,buttonPosition:"topLeft",renderButtonWrapper:this.renderToolbar},Oo.a.createElement(Aa.b,{onEscape:this.handleToolbarEscape},this.renderContent(e,t,o)))))))),u.length>0&&"popup"===d&&""!==p&&this.renderPopups())}renderForView(e,t,o){const{className:n,tagName:a,animationName:r,animationDuration:i,animationDelay:l,linkExternalType:c,linkType:s,linkAnchor:d,linkExternalBlank:p,linkExternalRel:u,linkPopup:b,linkUpload:h,popups:m,customClassName:g,customID:v,cssIDPopulation:y,cssClassPopulation:f}=e,O={anchor:d,external:e[c],popup:b,upload:h},C=ra()("brz-row__container",n,Qb("".concat(this.constructor.componentId,"-row"),"".concat(this.getId(),"-row"),tP(e,t,o)),""===f?g:f);return Oo.a.createElement(fo.Fragment,null,Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(MB,{tagName:a,className:C,customID:""===y?v:y,name:"none"!==r&&r,duration:i,delay:l},this.renderContent(e,t,o),""!==O[s]&&Oo.a.createElement(AB,{className:"brz-link-container",type:s,href:O[s],target:p,rel:u}))),m.length>0&&"popup"===s&&""!==b&&this.renderPopups())}}Object(yo.a)(nP,"defaultProps",{meta:{}}),Object(yo.a)(nP,"defaultValue",oP);var aP=nP;function rP({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t}),n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t}),a=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"hover"}),{hex:r}=Object(sh.d)(n("bgColorHex"),n("bgColorPalette"));return[Object(ej.Bc)({v:e,device:t,devices:"responsive"}),{id:o("toolbarCurrentElement"),type:"popover",icon:"nc-background",title:Object(an.a)("Background"),position:80,options:[{id:o("tabsState"),tabsPosition:"left",type:"tabs",value:n("tabsState"),tabs:[{id:o("tabNormal"),tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:o("tabsCurrentElement"),type:"tabs",value:n("tabsCurrentElement"),tabs:[{id:o("tabCurrentElement"),label:Object(an.a)("Image"),options:[Object(ej.f)({v:e,device:t,state:"normal",onChange:["onChangeBgImage","onChangeBgImageBgOpacity","onChangeBgImageDependencies","onChangeBgImageColumnAndRowSyncMobile"]})]}]}]},{id:o("tabHover"),tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:o("tabsCurrentElement"),type:"tabs",value:n("tabsCurrentElement"),tabs:[{id:o("tabCurrentElement"),label:Object(an.a)("Image"),options:[Object(ej.f)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBgImage","onChangeBgImageBgOpacity","onChangeBgImageDependencies","onChangeBgImageColumnAndRowSyncMobile"]})]}]}]}]}],onChange:(e,{isOpen:t})=>({[o("tabsState")]:t?n("tabsState"):""})},{id:o("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),position:90,icon:{style:{backgroundColor:Object(mn.c)(r,n("bgColorOpacity"))}},options:[{id:o("tabsState"),tabsPosition:"left",type:"tabs",value:n("tabsState"),tabs:[{id:o("tabNormal"),tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:o("tabsColor"),type:"tabs",value:n("tabsColor"),tabs:[{id:o("tabOverlay"),label:Object(an.a)("Overlay"),options:[Object(ej.d)({v:e,device:t,state:"normal",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"normal",prefix:"startPointer"===n("gradientActivePointer")?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"normal",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===n("bgColorType")})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"normal",disabled:"solid"===n("bgColorType")||"radial"===n("gradientType")}),Object(ej.ac)({v:e,device:t,state:"normal",disabled:"solid"===n("bgColorType")||"linear"===n("gradientType")})]}]}]},{id:o("tabBorder"),label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"normal",onChangeStyle:["onChangeBorderStyle2","onChangeContainerBorderStyleDependencies2"],onChangeHex:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2","onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2","onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2"],onChangePalette:["onChangeBorderColorPalette2","onChangeBorderColorPaletteOpacity2","onChangeContainerBorderColorHexAndOpacityDependencies2","onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2","onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"normal",onChange:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2","onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2","onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2"]})]},{width:54,options:[Object(ej.o)({v:e,device:t,state:"normal",onChangeType:["onChangeBorderWidthType2"],onChangeGrouped:["onChangeBorderWidthGrouped2","onChangeBorderWidthGroupedDependencies2"],onChangeUngrouped:["onChangeBorderWidthUngrouped2","onChangeBorderWidthUngroupedDependencies2"]})]}]}]},{id:o("tabBoxShadow"),label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,state:"normal",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:41,options:[Object(ej.s)({v:e,device:t,state:"normal",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:59,options:[Object(ej.r)({v:e,device:t,state:"normal",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]},{id:o("tabHover"),tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:o("tabsColor"),type:"tabs",devices:"desktop",value:n("tabsColor"),tabs:[{id:o("tabOverlay"),label:Object(an.a)("Overlay"),options:[Object(ej.d)({v:e,device:t,state:"hover",devices:"desktop",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"hover",devices:"desktop",prefix:"startPointer"===a("gradientActivePointer")?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"hover",devices:"desktop",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===a("bgColorType")})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"hover",devices:"desktop",disabled:"solid"===a("bgColorType")||"radial"===a("gradientType")}),Object(ej.ac)({v:e,device:t,devices:"desktop",state:"hover",disabled:"solid"===a("bgColorType")||"linear"===a("gradientType")})]}]}]},{id:o("tabBorder"),label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"hover",devices:"desktop",onChangeStyle:["onChangeBorderStyle2","onChangeContainerBorderStyleDependencies2"],onChangeHex:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2","onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2","onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2"],onChangePalette:["onChangeBorderColorPalette2","onChangeBorderColorPaletteOpacity2","onChangeContainerBorderColorHexAndOpacityDependencies2","onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2","onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2","onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2","onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2"]})]},{width:54,options:[Object(ej.o)({v:e,device:t,state:"hover",devices:"desktop",onChangeType:["onChangeBorderWidthType2"],onChangeGrouped:["onChangeBorderWidthGrouped2","onChangeBorderWidthGroupedDependencies2"],onChangeUngrouped:["onChangeBorderWidthUngrouped2","onChangeBorderWidthUngroupedDependencies2"]})]}]}]},{id:o("tabBoxShadow"),label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,state:"hover",devices:"desktop",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:41,options:[Object(ej.s)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:59,options:[Object(ej.r)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]}]}],onChange:(e,{isOpen:t})=>({[o("tabsState")]:t?n("tabsState"):"",[o("tabsColor")]:t?n("tabsColor"):""})},{id:o("toolbarLink"),type:"popover",icon:"nc-link",title:Object(an.a)("Link"),size:"medium",position:100,disabled:"desktop"===t?"on"===e.linkLightBox:"popup"!==n("linkType")||""===e.linkPopup,options:[{id:o("linkType"),type:"tabs",value:n("linkType"),tabs:[{id:o("external"),label:Object(an.a)("URL"),options:[Object(ej.ec)({v:e,device:t,state:"normal",devices:"desktop"}),{id:"linkExternalBlank",label:Object(an.a)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:Object(an.a)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:o("anchor"),label:Object(an.a)("Block"),options:[Object(ej.gc)({v:e,device:t,state:"normal",devices:"desktop"})]}]}]},{id:o("toolbarSettings"),type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),position:110,devices:"desktop",options:[Object(ej.Mc)({v:e,device:t,state:"normal",devices:"desktop"}),{id:o("advancedSettings"),type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),label:Object(an.a)("More Settings"),icon:"nc-cog",devices:"desktop"}]}]}const iP=Object(an.a)("Column");function lP({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t}),n=Object(sh.c)("richText"),a=[{title:Object(an.a)("Div"),value:"div"},{title:Object(an.a)("Header"),value:"header"},{title:Object(an.a)("Footer"),value:"footer"},{title:Object(an.a)("Main"),value:"main"},{title:Object(an.a)("Article"),value:"article"},{title:Object(an.a)("Section"),value:"section"},{title:Object(an.a)("Aside"),value:"aside"},{title:Object(an.a)("Nav"),value:"nav"}];return[{id:o("settingsTabs"),type:"tabs",align:"start",devices:"desktop",tabs:[{id:o("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.nc)({v:e,device:t,state:"normal",devices:"desktop"}),Object(ej.mc)({v:e,device:t,state:"normal",devices:"desktop",onChangeGrouped:["onChangeMarginGrouped"],onChangeUngrouped:["onChangeMarginUngrouped"]}),Object(ej.n)({v:e,device:t,state:"normal",devices:"desktop",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]})]},{id:o("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[{id:"showOnDesktop",label:Object(an.a)("Show on Desktop"),type:"switch-dev",devices:"desktop",closeTooltip:!0,position:10},Object(ej.Nc)({v:e,device:t,state:"normal",devices:"desktop"}),{id:"cssID",label:Object(an.a)("CSS ID"),type:"population-dev",position:30,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:{choices:n},options:[{id:"customID",type:"inputText-dev"}]},{id:"cssClass",label:Object(an.a)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:{choices:n},options:[{id:"customClassName",type:"inputText-dev"}]},Object(ej.Ub)({v:e,device:t,state:"normal",devices:"desktop"}),Object(ej.cc)({v:e,device:t,state:"normal",position:60,devices:"desktop"}),{id:"tagName",label:Object(an.a)("Html Tag"),type:"select-dev",choices:a}]}]},Object(ej.nc)({v:e,device:t,state:"normal",devices:"responsive"}),Object(ej.mc)({v:e,device:t,state:"normal",devices:"responsive",onChangeGrouped:["onChangeMarginGrouped"],onChangeUngrouped:["onChangeMarginUngrouped"]}),Object(ej.n)({v:e,device:t,state:"normal",devices:"responsive",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]})]}var cP={getItems:function(e,t){return[{id:"main",type:"group",title:Object(an.a)("Column"),icon:"nc-column",disabled:t.props.meta.posts,items:[]}]}};var sP=o(90);class dP extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"handleDragStart",()=>{const{position:e,onResizeStart:t}=this.props;t(e)}),Object(yo.a)(this,"handleDrag",({deltaX:e})=>{const{position:t,onResize:o}=this.props;o(e,t)}),Object(yo.a)(this,"handleDragEnd",()=>{const{position:e,onResizeEnd:t}=this.props;t(e)}),Object(yo.a)(this,"renderPopover",()=>{const e=this.props.popoverData().reduce((e,t,o)=>(o>0&&e.push(Oo.a.createElement("span",{key:"".concat(o,"-divider"),className:"brz-ed-draggable__column-popover__divider"},"/")),e.push(Oo.a.createElement("span",{key:"".concat(o,"-value"),className:"brz-ed-draggable__column-popover__percent"},t.toFixed(1),"%")),e),[]);return Oo.a.createElement("div",{className:"brz-ed-draggable__column-popover"},e)})}render(){const{position:e,color:t}=this.props,o=ra()("brz-ed-draggable__column","brz-ed-draggable__column--".concat(e),"brz-ed-draggable__column--".concat(t));return Oo.a.createElement(sP.a,{className:o,draggingCursor:"col-resize",renderPopover:this.renderPopover,onDragStart:this.handleDragStart,onDrag:this.handleDrag,onDragEnd:this.handleDragEnd},Oo.a.createElement("div",{className:"brz-ed-draggable__column--item"}))}}var pP=dP,uP=e=>({getItems:hP(e)});const bP="MacOS"===vp(),hP=e=>(t,o)=>{const n=o.getCurrentCopiedElement(),a="Row"===t[e].type,r=n&&(a||t[e].type===n.type),i=r&&(a||n.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:Object(an.a)("Copy"),helperText:()=>bP?"⌘ + C":"Ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:Object(an.a)("Paste"),helperText:()=>bP?"⌘ + V":"Ctrl + V",inactive:!r,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:Object(an.a)("Paste Styles"),inactive:!i,helperText:()=>bP?"⌘ + ⇧ + V":"Ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:Object(an.a)("Duplicate"),helperText:()=>bP?"⌘ + D":"Ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:Object(an.a)("Delete"),helperText:({isInSubMenu:e})=>(e=>bP?e?"Alt + delete":"⌘ + delete":e?"Alt + Delete":"Delete")(e),onChange:()=>{Object(Aa.d)(),o.removeItem(e)}}]}]};function mP(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class gP extends Ju.a{constructor(...e){super(...e),Object(yo.a)(this,"handleSortableAcceptElements",e=>{const{row:t}=this.props.meta;if(t&&t.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0})}static get componentId(){return"Column.Items"}getItemProps(e,t,o){const n=Object(jo.a)(this.props.meta,{column:{item:{index:t,isFirst:0===t,isLast:t===o.length-1,isOnly:1===o.length}}}),a={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:Object(an.a)("Delete"),position:250,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]},r=this.makeToolbarPropsFromConfig(a);return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?mP(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):mP(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},this.props.itemProps,{meta:n,toolbarExtend:r})}renderItemWrapper(e,t,o){const n=uP(o);return Oo.a.createElement(Ej,Object(ta.a)({key:t},this.makeContextMenuProps(n)),Oo.a.createElement(fr.a,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){const t=e.length?Oo.a.createElement("div",{className:this.props.containerClassName},e):null;return Oo.a.createElement(Ua,{path:this.getPath(),type:"column",acceptElements:this.handleSortableAcceptElements},t)}}Object(yo.a)(gP,"defaultProps",{containerClassName:"",meta:{},itemProps:{}});var vP=gP;function yP(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleZIndex|||preview","cssStyleFlexColumn","cssStyleSizeMaxWidthPercent"]},".brz &&:hover > .brz-ed-border":{interval:["cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]}}})}var fP=o(396);class OP extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"containerBorderRef",Oo.a.createRef()),Object(yo.a)(this,"toolbarRef",Oo.a.createRef()),Object(yo.a)(this,"handleResizeStart",e=>{this.containerBorderRef.current&&this.containerBorderRef.current.setActive(!0),this.props.onResizeStart(e)}),Object(yo.a)(this,"handleResize",(e,t)=>{this.props.onResize(e,t)}),Object(yo.a)(this,"handleResizeEnd",e=>{this.containerBorderRef.current&&this.containerBorderRef.current.setActive(!1),this.props.onResizeEnd(e)}),Object(yo.a)(this,"handleToolbarEscape",()=>{this.toolbarRef.current.show()}),Object(yo.a)(this,"renderToolbar",e=>Oo.a.createElement(Aa.c,Object(ta.a)({},this.makeToolbarPropsFromConfig2(h,m),{ref:this.toolbarRef}),Oo.a.createElement(kB,null,Oo.a.createElement(e,null))))}static get componentId(){return"Column"}shouldComponentUpdate(e){const{meta:t,tabletReversed:o,mobileReversed:n}=this.props,a=e.mobileReversed!==n||e.tabletReversed!==o;return t.posts||t.inCarousel||a||this.optionalSCU(e)}getMeta(e){const{meta:t}=this.props,o=Fh({v:e,device:"desktop"}),n=Fh({v:e,device:"tablet"}),a=Fh({v:e,device:"mobile"}),r=Qx({v:e,width:o,w:t.desktopW,device:"desktop"}),i=Qx({v:e,w:t.tabletW,width:n,device:"tablet"}),l=Qx({v:e,w:t.mobileW,width:a,device:"mobile"});return Ao.a.extend({},t,{column:{width:o,tabletWidth:n,mobileWidth:a},mobileW:l,tabletW:i,desktopW:r})}isInnerRow(){const{meta:e}=this.props;return e.row&&e.row.isInner}renderResizer(e){const{meta:{row:t,inGrid:o},popoverData:n}=this.props;if(!o)return null;const{isFirst:a}=t.item,r=this.isInnerRow();return a&&"left"===e?null:Oo.a.createElement(pP,{popoverData:n,position:e,color:r&&o?"red":"blue",onResizeStart:this.handleResizeStart,onResize:this.handleResize,onResizeEnd:this.handleResizeEnd})}renderContent(e,t,o){const n=this.makeSubcomponentProps({bindWithKey:"items",containerClassName:"brz-column__items",meta:this.getMeta(e)}),a=ra()(Qb("".concat(this.constructor.componentId,"-bg"),"".concat(this.getId(),"-bg"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleZIndex|||editor","cssStyleFlexVerticalAlign","cssStylePaddingFourFields","cssStyleMargin"],interval:["cssStyleDisplayFlex","cssStyleVisible","cssStyleVisibleEditorDisplayNoneOrFlex|||editor"]},".brz &&:hover > .brz-bg-content":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg-media":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg-media > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg-media > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]}}})}(e,t,o)));return Oo.a.createElement(gB,{className:a,value:e,meta:this.getMeta(e)},Oo.a.createElement(vP,n))}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let t=!1;"GlobalBlock"===e.type&&(e=Object(nn.k)(Object(Lo.b)().getState())[e.value.globalBlockId].data,t=!0);const{blockId:o,value:{popupId:n}}=e;return{blockId:o,instanceKey:"".concat(this.getId(),"_").concat(n)}}});return Oo.a.createElement(Ju.a,e)}renderForEdit(e,t,o){const{animationName:n,animationDuration:a,animationDelay:r,items:i,linkType:l,linkPopup:c,popups:s,customID:d,customClassName:p,cssIDPopulation:u,cssClassPopulation:b}=e,{meta:{inGrid:h,posts:m}}=this.props,g=this.isInnerRow(),v=ra()("brz-columns",{"brz-columns__posts":m},{"brz-columns--empty":0===i.length},Qb("".concat(this.constructor.componentId,"-column"),"".concat(this.getId(),"-column"),yP(e,t,o)),""===b?p:b);return Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(Ya,{type:"column",useHandle:!0},Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(MB,{className:v,customID:""===u?d:u,name:"none"!==n&&n,duration:a,delay:r},Oo.a.createElement(Ca.a,{allow:["admin"],fallbackRender:()=>this.renderContent(e,t,o)},Oo.a.createElement(Rj,this.makeContextMenuProps(cP),Oo.a.createElement(CB,{ref:this.containerBorderRef,color:g&&h?"red":"blue",borderStyle:"solid",activateOnContentClick:!1,showButton:!0,buttonPosition:"topRight",renderButtonWrapper:this.renderToolbar},this.renderResizer("left"),this.renderResizer("right"),Oo.a.createElement(Aa.b,{onEscape:this.handleToolbarEscape},this.renderContent(e,t,o)))))))),s.length>0&&"popup"===l&&""!==c&&this.renderPopups())}renderForView(e,t,o){const{tagName:n,animationName:a,animationDuration:r,animationDelay:i,linkExternalType:l,linkType:c,linkAnchor:s,linkExternalBlank:d,linkExternalRel:p,linkPopup:u,linkUpload:b,popups:h,customID:m,customClassName:g,cssIDPopulation:v,cssClassPopulation:y}=e,f={anchor:s,external:e[l],popup:u,upload:b},O=ra()("brz-columns",Qb("".concat(this.constructor.componentId,"-column"),"".concat(this.getId(),"-column"),yP(e,t,o)),""===y?g:y);return Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(MB,{tagName:n,className:O,customID:""===v?m:v,name:"none"!==a&&a,duration:r,delay:i},this.renderContent(e,t,o),""!==f[c]&&Oo.a.createElement(AB,{className:"brz-container-link",type:c,href:f[c],target:d,rel:p}))),h.length>0&&"popup"===c&&""!==u&&this.renderPopups())}}Object(yo.a)(OP,"defaultProps",{meta:{},popoverData:[],onResizeStart:Ao.a.noop,onResize:Ao.a.noop,onResizeEnd:Ao.a.noop}),Object(yo.a)(OP,"defaultValue",fP);var CP=OP,SP=o(68);function xP(e){let t;t={".brz-ed--desktop &":{textAlign:"var(--horizontalAlign)"},".brz-ed--tablet &":{textAlign:"var(--tabletHorizontalAlign)"},".brz-ed--mobile &":{textAlign:"var(--mobileHorizontalAlign)"}};const o=String(Object(SP.css)(t));return ra()("brz-forms",o)}function jP(e){const{horizontalAlign:t}=e;return{"--horizontalAlign":t,"--tabletHorizontalAlign":Object(rh.tabletSyncOnChange)(e,"horizontalAlign"),"--mobileHorizontalAlign":Object(rh.mobileSyncOnChange)(e,"horizontalAlign")}}var BP=o(397);function PP(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}const wP=Object(an.a)("Form");function TP(){return[]}function zP({v:e,device:t}){const o=Ao.a.pluck(e.items[0].value.items,"value");return[Object(ej.I)({device:t}),{id:"toolbarFormLink",type:"popover",icon:"nc-link",title:Object(an.a)("Link"),size:"medium",position:90,options:[{id:"formLink",type:"tabs",tabs:[{id:"message",label:Object(an.a)("Message"),options:[{id:"messageSuccess",type:"inputText-dev",label:Object(an.a)("Success"),placeholder:Object(an.a)("Message sent"),devices:"desktop"},{id:"messageError",type:"inputText-dev",label:Object(an.a)("Error"),placeholder:Object(an.a)("Message not sent"),devices:"desktop"}]},{id:"redirect",label:Object(an.a)("Redirect"),options:[{id:"messageRedirect",type:"inputText-dev",label:Object(an.a)("Go to"),placeholder:"http://",devices:"desktop"}]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-text-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-text-align-right",title:Object(an.a)("Align"),value:"right"}]},{id:"apps",type:"formApps",icon:"nc-extensions-2",devices:"desktop",value:{id:e._id,fields:o}}]}const kP=Object(an.a)("Form Submit");function EP(){return[]}class HP extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleSubmit",e=>{e.preventDefault()})}static get componentId(){return"Form"}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(g,v,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:"".concat(this.constructor.componentId,"Parent")});this.props.extendParentToolbar(e)}renderFields(){const e=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{meta:this.props.meta}});return Oo.a.createElement(Ju.a,e)}renderButton(){const e=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:1,itemProps:{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(y,f,{allowExtend:!1})}});return Oo.a.createElement(Ju.a,e)}renderForEdit(e){return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:xP(),style:jP(e)},Oo.a.createElement("form",{className:"brz-form",noValidate:!0,onSubmit:this.handleSubmit},this.renderFields(e),this.renderButton(e))))}renderForView(e){const{_id:t,messageSuccess:o,messageError:n,messageRedirect:a,customCSS:r}=e,{submitUrl:i,recaptcha:l}=Bo.a.get("applications").form,c=Bo.a.get("project").id,s=l&&l.siteKey;return Oo.a.createElement(vj,{selectorName:this.getId(),css:r},Oo.a.createElement("div",{className:xP(),style:jP(e),"data-form-version":"1"},Oo.a.createElement("form",{className:"brz-form",action:i,noValidate:!0,"data-form-id":t,"data-project-id":c,"data-success":o,"data-error":n,"data-redirect":a,onSubmit:this.handleSubmit},this.renderFields(e),this.renderButton(e),s&&Oo.a.createElement("div",{className:"brz-g-recaptcha","data-sitekey":s,"data-size":"invisible"}))))}}Object(yo.a)(HP,"defaultValue",BP),Object(yo.a)(HP,"defaultProps",{extendParentToolbar:Do.noop});class _P extends Ju.a{static get componentId(){return"FormItem.Items"}getItemProps(e,t,o){const n={getItems:()=>[{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},...o.length>1?[{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:Object(an.a)("Delete"),position:250,disable:1===o.length,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}]:[]]};return{toolbarExtend:this.makeToolbarPropsFromConfig2(n)}}}function RP({v:e,device:t}){const{hex:o}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"bgColorHex",device:t}),Object(rh.defaultValueValue)({v:e,key:"bgColorPalette",device:t})),{hex:n}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"colorHex",device:t}),Object(rh.defaultValueValue)({v:e,key:"colorPalette",device:t}));return[{id:"toolbarCurrentShortcode",type:"popover",icon:"nc-form-left",title:Object(an.a)("Field"),position:60,options:[Object(ej.tb)({v:e,device:t,state:"normal"})]},{id:"toolbarTypography",type:"popover",icon:"nc-font",title:Object(an.a)("Typography"),size:"desktop"===t?"large":"auto",roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:"toolbarColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],position:80,icon:{style:{backgroundColor:e.bgColorOpacity>0?Object(mn.c)(o,e.bgColorOpacity):Object(mn.c)(n,e.colorOpacity)}},options:[{id:"color",type:"tabs",tabs:[{label:Object(an.a)("Background"),options:[{id:"bgColor",type:"colorPicker-dev",devices:"desktop"}]},{label:Object(an.a)("Label"),options:[{id:"color",type:"colorPicker-dev",devices:"desktop"}]},{label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop"}]}]}]}]}Object(yo.a)(_P,"defaultProps",{className:""});var MP=o(398);function IP(e){let t;t={".brz & .brz-forms__item":{fontFamily:"var(--fontFamily)",color:"var(--color)","& .brz-forms__field":{backgroundColor:"var(--backgroundColor)",borderColor:"var(--borderColor)",borderWidth:"var(--borderWidth)",borderStyle:"var(--borderStyle)"},"& .brz-forms__select-item__input":{color:"var(--color)"}},".brz & .form-alert":{fontFamily:"var(--fontFamily)"},".brz-ed--desktop &.brz-forms__fields":{marginRight:"var(--marginRight)",marginLeft:"var(--marginLeft)"},".brz-ed--desktop & .brz-forms__item":{fontSize:"var(--fontSize)",lineHeight:"var(--lineHeight)",fontWeight:"var(--fontWeight)",letterSpacing:"var(--letterSpacing)",paddingRight:"var(--paddingRight)",paddingBottom:"var(--paddingBottom)",paddingLeft:"var(--paddingLeft)"},".brz-ed--tablet &.brz-forms__fields":{marginRight:"var(--tabletMarginRight)",marginLeft:"var(--tabletMarginLeft)"},".brz-ed--tablet & .brz-forms__item":{fontSize:"var(--tabletFontSize)",lineHeight:"var(--tabletLineHeight)",fontWeight:"var(--tabletFontWeight)",letterSpacing:"var(--tabletLetterSpacing)",paddingRight:"var(--tabletPaddingRight)",paddingBottom:"var(--tabletPaddingBottom)",paddingLeft:"var(--tabletPaddingLeft)"},".brz-ed--mobile &.brz-forms__fields":{marginRight:"var(--mobileMarginRight)",marginLeft:"var(--mobileMarginLeft)"},".brz-ed--mobile & .brz-forms__item":{fontSize:"var(--mobileFontSize)",lineHeight:"var(--mobileLineHeight)",fontWeight:"var(--mobileFontWeight)",letterSpacing:"var(--mobileLetterSpacing)",paddingRight:"var(--mobilePaddingRight)",paddingBottom:"var(--mobilePaddingBottom)",paddingLeft:"var(--mobilePaddingLeft)"}};const o=String(Object(SP.css)(t));return ra()("brz-forms__fields",o)}function FP(e){const{fontFamily:t,fontFamilyType:o,fontSize:n,fontWeight:a,lineHeight:r,letterSpacing:i,paddingTop:l,paddingRight:c,paddingBottom:s,paddingLeft:d,tabletFontSize:p,tabletLineHeight:u,tabletFontWeight:b,tabletLetterSpacing:h,mobileFontSize:m,mobileLineHeight:g,mobileFontWeight:v,mobileLetterSpacing:y}=e;return{"--paddingTop":"".concat(l,"px"),"--paddingRight":"".concat(c/2,"px"),"--paddingBottom":"".concat(s,"px"),"--paddingLeft":"".concat(d/2,"px"),"--marginRight":"-".concat(c/2,"px"),"--marginLeft":"-".concat(d/2,"px"),"--fontFamily":Object(ko.d)({family:t,type:o}).family,"--fontWeight":a,"--fontSize":"".concat(n,"px"),"--lineHeight":r,"--letterSpacing":"".concat(i,"px"),"--color":dh({v:e,device:"desktop",state:"normal"}),"--backgroundColor":ph({v:e,device:"desktop",state:"normal"}),"--borderColor":bh({v:e,device:"desktop",state:"normal"}),"--borderWidth":ch({v:e,device:"desktop",state:"normal",current:"borderWidth"}),"--borderStyle":lh({v:e,device:"desktop"}),"--tabletFontSize":"".concat(p,"px"),"--tabletLineHeight":u,"--tabletFontWeight":b,"--tabletLetterSpacing":"".concat(h,"px"),"--tabletPaddingTop":"".concat(Object(rh.tabletSyncOnChange)(e,"paddingTop"),"px"),"--tabletPaddingRight":"".concat(Object(rh.tabletSyncOnChange)(e,"paddingRight")/2,"px"),"--tabletPaddingBottom":"".concat(Object(rh.tabletSyncOnChange)(e,"paddingBottom"),"px"),"--tabletPaddingLeft":"".concat(Object(rh.tabletSyncOnChange)(e,"paddingLeft")/2,"px"),"--tabletMarginRight":"-".concat(Object(rh.tabletSyncOnChange)(e,"paddingRight")/2,"px"),"--tabletMarginLeft":"-".concat(Object(rh.tabletSyncOnChange)(e,"paddingLeft")/2,"px"),"--mobileFontSize":"".concat(m,"px"),"--mobileLineHeight":g,"--mobileFontWeight":v,"--mobileLetterSpacing":"".concat(y,"px"),"--mobilePaddingTop":"".concat(Object(rh.mobileSyncOnChange)(e,"paddingTop"),"px"),"--mobilePaddingRight":"".concat(Object(rh.mobileSyncOnChange)(e,"paddingRight")/2,"px"),"--mobilePaddingBottom":"".concat(Object(rh.mobileSyncOnChange)(e,"paddingBottom"),"px"),"--mobilePaddingLeft":"".concat(Object(rh.mobileSyncOnChange)(e,"paddingLeft")/2,"px"),"--mobileMarginRight":"-".concat(Object(rh.mobileSyncOnChange)(e,"paddingRight")/2,"px"),"--mobileMarginLeft":"-".concat(Object(rh.mobileSyncOnChange)(e,"paddingLeft")/2,"px")}}class NP extends Zu.a{static get componentId(){return"FormFields"}renderForEdit(e){const t=this.applyRulesToValue(e,[e.fontStyle&&"".concat(e.fontStyle,"__fsDesktop"),e.tabletFontStyle&&"".concat(e.tabletFontStyle,"__fsTablet"),e.mobileFontStyle&&"".concat(e.mobileFontStyle,"__fsMobile")]),o=this.makeSubcomponentProps({bindWithKey:"items",toolbarExtend:this.makeToolbarPropsFromConfig2(O)});return Oo.a.createElement("div",{className:IP(),style:FP(t)},Oo.a.createElement(_P,o))}}Object(yo.a)(NP,"defaultValue",MP);class LP extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"content",Oo.a.createRef()),Object(yo.a)(this,"handleTextChange",({target:{value:e}})=>{this.props.onChange({label:e})}),Object(yo.a)(this,"handleClick",e=>{e.preventDefault();const t=this.content.current;t&&t.classList.add("brz-ed-dd-cancel")}),Object(yo.a)(this,"handleBlur",()=>{const e=this.content.current;e&&e.classList.remove("brz-ed-dd-cancel")})}static get componentTitle(){return"Text"}static get componentType(){return"Text"}renderForEdit(e){return Oo.a.createElement("input",Object(ta.a)({className:"brz-input brz-forms__field"},e))}renderForView(e){return this.renderForEdit(e)}render(){const{_id:e,label:t,required:o,type:n}=this.props;let a;return a={ref:this.content,type:"text",value:t,onChange:this.handleTextChange,onClick:this.handleClick,onBlur:this.handleBlur},this.renderForEdit(a)}}Object(yo.a)(LP,"defaultProps",{_id:null,label:"Default Label",required:"off",type:"Text"});class WP extends LP{constructor(...e){super(...e),Object(yo.a)(this,"renderForEdit",e=>Oo.a.createElement("input",Object(ta.a)({className:"brz-input brz-forms__field"},e)))}static get componentTitle(){return Object(an.a)("Text")}static get componentType(){return"Text"}}class VP extends LP{constructor(...e){super(...e),Object(yo.a)(this,"renderForEdit",e=>Oo.a.createElement("input",Object(ta.a)({className:"brz-input brz-forms__field"},e))),Object(yo.a)(this,"renderForView",e=>Oo.a.createElement("input",Object(ta.a)({className:"brz-input brz-forms__field",type:"email"},e)))}static get componentTitle(){return Object(an.a)("Email")}static get componentType(){return"Email"}}Object(yo.a)(VP,"pattern","^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$");class DP extends LP{constructor(...e){super(...e),Object(yo.a)(this,"renderForEdit",e=>Oo.a.createElement("input",Object(ta.a)({className:"brz-input brz-forms__field"},e))),Object(yo.a)(this,"renderForView",e=>Oo.a.createElement("input",Object(ta.a)({className:"brz-input brz-forms__field",type:"number"},e)))}static get componentTitle(){return Object(an.a)("Number")}static get componentType(){return"Number"}}Object(yo.a)(DP,"pattern","^-?[0-9]\\d*(\\.\\d+)?$");class AP extends LP{constructor(...e){super(...e),Object(yo.a)(this,"renderForEdit",e=>Oo.a.createElement("textarea",Object(ta.a)({className:"brz-textarea brz-forms__field"},e)))}static get componentTitle(){return Object(an.a)("Paragraph")}static get componentType(){return"Paragraph"}}class GP extends LP{static get componentTitle(){return Object(an.a)("Select")}static get componentType(){return"Select"}constructor(e){super(e),Object(yo.a)(this,"handleOptionsChange",(e,t)=>{const o=Object(kn.replaceAt)(this.props.options,t,e);this.props.onChange({options:o})}),Object(yo.a)(this,"handleOptionsAdd",()=>{const e=Object(kn.addLast)(this.props.options,this.state.newItemValue);this.setState({newItemValue:""}),this.props.onChange({options:e})}),Object(yo.a)(this,"handleOptionsRemove",e=>{const t=Object(kn.removeAt)(this.props.options,e);this.props.onChange({options:t})}),Object(yo.a)(this,"handleKeyUp",e=>{13===e.keyCode&&this.handleOptionsAdd()}),Object(yo.a)(this,"handleClick",e=>{e.preventDefault(),this.selectInput.classList.add("brz-ed-dd-cancel")}),Object(yo.a)(this,"handleBlur",()=>{this.selectInput.classList.remove("brz-ed-dd-cancel")}),Object(yo.a)(this,"renderOptions",()=>{const e="desktop"===Object(Lo.b)().getState().ui.deviceMode;return Ao.a.map(this.props.options,(t,o)=>Oo.a.createElement("div",{key:o,className:"brz-forms__select-item"},Oo.a.createElement("div",{className:"brz-forms__select-item__input"},Oo.a.createElement("input",{className:"brz-input",value:t,onChange:e=>this.handleOptionsChange(e.target.value,o)})),e?Oo.a.createElement("div",{className:"brz-forms__select-item__icon",onClick:()=>this.handleOptionsRemove(o)},Oo.a.createElement(ia.b,{icon:"nc-trash"})):null))}),Object(yo.a)(this,"renderForEdit",e=>{const t="desktop"===Object(Lo.b)().getState().ui.deviceMode,{isOpen:o,newItemValue:n}=this.state,a=52*(this.props.options.length+Number(t));return Oo.a.createElement(oa.a,{onClickOutside:()=>this.setState({isOpen:!1})},Oo.a.createElement("div",{className:"brz-forms__select"},Oo.a.createElement("div",{className:"brz-forms__select-current brz-forms__field"},Oo.a.createElement("input",Object(ta.a)({},e,{ref:e=>{this.selectInput=e},className:"brz-input",onClick:e=>{this.setState({isOpen:!o}),this.handleClick(e)},onBlur:this.handleBlur})),Oo.a.createElement(ml.a,{name:"arrow-down",type:"editor",className:"brz-forms__select--arrow"})),o&&Oo.a.createElement("div",{className:"brz-forms__select-list brz-ed-dd-cancel"},Oo.a.createElement(hl.a,{style:{height:a}},this.renderOptions(),t?Oo.a.createElement("div",{className:"brz-forms__select-item"},Oo.a.createElement("div",{className:"brz-forms__select-item__input"},Oo.a.createElement("input",{placeholder:Object(an.a)("Add new option"),className:"brz-input brz-input__select",value:n,onChange:({target:{value:e}})=>this.setState({newItemValue:e}),onKeyUp:e=>this.handleKeyUp(e)})),Oo.a.createElement("div",{className:"brz-forms__select-item__icon",onClick:this.handleOptionsAdd},Oo.a.createElement(ia.b,{icon:"nc-arrow-right"}))):null))))}),Object(yo.a)(this,"renderForView",e=>{const{label:t,options:o}=this.props;return Oo.a.createElement("div",{"data-label":t},Oo.a.createElement(Lr.a,{inputAttributes:e,defaultValue:this.props.label,maxItems:o.length+1,itemHeight:52},Oo.a.createElement(Wr.a,{value:""},t),o.map((e,t)=>Oo.a.createElement(Wr.a,{key:t,value:e},e))))}),this.state={isOpen:!1,newItemValue:""}}}const UP=Ao.a.map(C,e=>({title:e.componentTitle,value:e.componentType}));function KP({v:e}){return[{id:"toolbarCurrentShortcode",type:"popover",icon:"nc-form-left",title:Object(an.a)("Field"),position:60,options:[{id:"type",label:Object(an.a)("Field Type"),type:"select-dev",position:10,devices:"desktop",choices:UP},{id:"required",label:Object(an.a)("Required"),type:"switch-dev",position:20,devices:"desktop"},{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{title:"%",value:"%"}]}},{id:"height",label:Object(an.a)("Height"),type:"slider-dev",disabled:"Paragraph"!==e.type,config:{min:1,max:300,units:[{title:"px",value:"px"}]}}]}]}const qP=Object(an.a)("Form Fields");function YP(){return[]}var XP=o(399);function ZP(e){let t;t={".brz-ed--desktop &":{maxWidth:"var(--width)",flexBasis:"var(--width)","& .brz-textarea":{height:"var(--height)"}},".brz-ed--tablet &":{maxWidth:"var(--tabletWidth)",flexBasis:"var(--tabletWidth)","& .brz-textarea":{height:"var(--tabletHeight)"}},".brz-ed--mobile &":{maxWidth:"var(--mobileWidth)",flexBasis:"var(--mobileWidth)","& .brz-textarea":{height:"var(--mobileHeight)"}}};const o=String(Object(SP.css)(t));return ra()("brz-forms__item",o)}function JP(e){const{type:t,width:o,height:n}=e;return{"--width":"".concat(o,"%"),"--height":"Paragraph"===t?"".concat(n,"px"):"auto","--tabletWidth":"".concat(Object(rh.tabletSyncOnChange)(e,"width"),"%"),"--tabletHeight":"Paragraph"===t?"".concat(Object(rh.tabletSyncOnChange)(e,"height"),"px"):"auto","--mobileWidth":"".concat(Object(rh.mobileSyncOnChange)(e,"width"),"%"),"--mobileHeight":"Paragraph"===t?"".concat(Object(rh.mobileSyncOnChange)(e,"height"),"px"):"auto"}}class $P extends Zu.a{static get componentId(){return"FormField"}renderForEdit(e){const{type:t}=e,o=C[t];return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(S,x),Oo.a.createElement("div",{className:ZP(),style:JP(e)},Oo.a.createElement(o,Object(ta.a)({},e,{onChange:e=>this.patchValue(e)}))))}}function QP(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-form":{standart:["cssStyleElementForm2Margin"]},".brz &&:hover .brz-forms2__item":{standart:["cssStyleElementForm2Padding"]},".brz &&:hover .brz-forms2__item-button":{standart:["cssStyleMarginAlign","cssStyleElementForm2SubmitWidth"]}}})}Object(yo.a)($P,"defaultValue",XP);var ew=o(400);function tw(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}const ow=Object(an.a)("Form");function nw(){return[]}function aw({v:e,device:t}){return[{id:"toolbarCurrentElement",type:"popover",options:[{id:"currentShortcodeTabs",type:"tabs",tabs:[{id:"field",options:[Object(ej.tb)({v:e,device:t,state:"normal"})]},{id:"advanced",options:[{id:"label",label:Object(an.a)("Label"),type:"switch-dev",position:15,devices:"desktop"},{id:"placeholder",label:Object(an.a)("Placeholder"),type:"switch-dev",position:16,devices:"desktop"}]}]}]}]}function rw({v:e,device:t}){return[{id:"popoverLink",type:"popover",icon:"nc-link",title:Object(an.a)("Link"),size:"medium",position:90,options:[{id:"linkForm",type:"tabs",tabs:[{id:"message",label:Object(an.a)("Message"),options:[{id:"messageSuccess",label:Object(an.a)("Success"),type:"inputText-dev",devices:"desktop",placeholder:Object(an.a)("Message sent")},{id:"messageError",label:Object(an.a)("Error"),type:"inputText-dev",devices:"desktop",placeholder:Object(an.a)("Message not sent")}]},{id:"redirect",label:Object(an.a)("Redirect"),options:[{id:"messageRedirect",label:Object(an.a)("Go to"),type:"inputText-dev",devices:"desktop",placeholder:"http://"}]}]}]},{id:(e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}))("toolbarSettings"),type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"submitWidth",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-text-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-text-align-right",title:Object(an.a)("Align"),value:"right"}]},Object(ej.qb)({v:e,device:t,devices:"desktop",state:"normal"})]}const iw=Object(an.a)("Form Submit");function lw(){return[]}class cw extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleSubmit",e=>{e.preventDefault()})}static get componentId(){return"Form2"}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(j,B,{allowExtend:!1});this.props.extendParentToolbar(e)}renderFields(e){const{label:t,placeholder:o}=e,n=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{meta:this.props.meta,labelType:"off"===t?"inside":"outside",placeholder:"on"===o,toolbarExtend:this.makeToolbarPropsFromConfig2(P,null,{allowExtend:!1})}});return Oo.a.createElement(Ju.a,n)}renderButton(){const e=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:1,itemProps:{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(w,T,{allowExtend:!1})}});return Oo.a.createElement("div",{className:"brz-forms2__item brz-align-self-xs-end brz-forms2__item-button"},Oo.a.createElement(Ju.a,e))}renderForEdit(e,t,o){const n=ra()("brz-forms2",Qb("".concat(this.constructor.componentId,"-form"),"".concat(this.getId(),"-form"),QP(e,t,o)));return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:n},Oo.a.createElement("form",{className:"brz-form brz-d-xs-flex brz-flex-xs-wrap",noValidate:!0,onSubmit:this.handleSubmit},this.renderFields(e),this.renderButton(e))))}renderForView(e,t,o){const n=ra()("brz-forms2",Qb("".concat(this.constructor.componentId,"-form"),"".concat(this.getId(),"-form"),QP(e,t,o))),{_id:a,messageSuccess:r,messageError:i,messageRedirect:l,customCSS:c}=e,{submitUrl:s,recaptcha:d}=Bo.a.get("applications").form,p=Bo.a.get("project").id,u=d&&d.siteKey;return Oo.a.createElement(vj,{selectorName:this.getId(),css:c},Oo.a.createElement("div",{className:n,"data-form-version":"2"},Oo.a.createElement("form",{className:"brz-form brz-d-xs-flex brz-flex-xs-wrap",action:s,noValidate:!0,"data-form-id":a,"data-project-id":p,"data-success":r,"data-error":i,"data-redirect":l},this.renderFields(e),this.renderButton(e),u&&Oo.a.createElement("div",{className:"brz-g-recaptcha","data-sitekey":u,"data-size":"invisible"}))))}}function sw(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}Object(yo.a)(cw,"defaultValue",ew),Object(yo.a)(cw,"defaultProps",{extendParentToolbar:Do.noop});class dw extends Ju.a{static get componentId(){return"Form2Fields.Items"}getItemProps(e,t,o){const n={getItems:()=>[{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},...o.length>1?[{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:Object(an.a)("Delete"),position:250,disable:1===o.length,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}]:[]]};return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?sw(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):sw(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},super.getItemProps(e,t,o),{toolbarExtend:this.makeToolbarPropsFromConfig2(n)})}cloneItem(e,t=e+1){const o=this.getDBValue()||[];if(!o[e])throw new Error("Can't clone invalid item at index ".concat(e));const n=o[e],a=n.value.label.replace(/-[0-9]+/g,"");let r=o.reduce((e,t)=>{const o=t.value.label;if(o.includes(a)){const t=o.match(/-([0-9]+)$/)||[];if(t.length&&e<Number(t[1]))return Number(t[1])}return e},0);const i="".concat(a,"-").concat(++r),l=Object(kn.setIn)(n,["value","label"],i);this.insertItem(t,l)}}Object(yo.a)(dw,"defaultProps",{className:"",style:{}});var pw=dw,uw=o(11);function bw({v:e,device:t,state:o}){const n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),{hex:a}=Object(sh.d)(n("bgColorHex"),n("bgColorPalette")),{hex:r}=Object(sh.d)(n("checkboxColorHex"),n("checkboxColorPalette"));return[{id:"toolbarCurrentElement",type:"popover",options:[{id:"currentShortcodeTabs",type:"tabs",tabs:[{id:"background",options:[Object(ej.sb)({v:e,device:t,devices:"desktop"}),Object(ej.rb)({v:e,device:t,state:"normal",devices:"desktop",onChange:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"]})]}]},Object(ej.sb)({v:e,device:t,devices:"responsive"})]},{id:"toolbarTypography",type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:"toolbarTypographyCheckbox",type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"checkbox",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:"toolbarColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],position:80,devices:"desktop",icon:{style:{backgroundColor:Object(mn.c)(a,n("bgColorOpacity"))}},options:[{id:"tabsColor",type:"tabs",tabs:[{id:"tabBg",label:Object(an.a)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabText",label:Object(an.a)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabBorder",label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:o,states:[uw.c,uw.b],devices:"desktop",onChangeStyle:["onChangeBorderStyle2","onChangeElementBorderStyleDependencies2"],onChangeHex:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeElementBorderColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBorderColorPalette2","onChangeBorderColorPaletteOpacity2","onChangeElementBorderColorHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:o,states:[uw.c,uw.b],devices:"desktop",onChange:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeElementBorderColorHexAndOpacityDependencies2"]})]},{width:54,options:[Object(ej.o)({v:e,device:t,state:o,states:[uw.c,uw.b],devices:"desktop",onChangeType:["onChangeBorderWidthType2"],onChangeGrouped:["onChangeBorderWidthGrouped2","onChangeBorderWidthGroupedDependencies2"],onChangeUngrouped:["onChangeBorderWidthUngrouped2","onChangeBorderWidthUngroupedDependencies2"]})]}]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:"toolbarColorCheckbox",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],position:80,devices:"desktop",icon:{style:{backgroundColor:Object(mn.c)(r,n("checkboxColorOpacity"))}},options:[{id:"checkboxColor",type:"colorPicker-dev"}]}]}function hw({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),{hex:a}=Object(sh.d)(n("labelColorHex"),n("labelColorPalette"));return[{id:o("toolbarCurrentElement"),type:"popover",icon:"nc-form-left",title:Object(an.a)("Field"),roles:["admin"],position:60,options:[{id:"labelPaddingBottom",label:Object(an.a)("Spacing"),position:60,type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:o("toolbarTypography"),type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"label",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:o("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],position:80,devices:"desktop",icon:{style:{backgroundColor:Object(mn.c)(a,n("labelColorOpacity"))}},options:[{id:"color",type:"tabs",tabs:[{label:Object(an.a)("Label"),options:[{id:"labelColor",type:"colorPicker-dev"}]}]}]},{id:"labelHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-text-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-text-align-right",title:Object(an.a)("Align"),value:"right"}]}]}const mw=Object(an.a)("Form Labels");function gw(){return[]}function vw({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),{hex:a}=Object(sh.d)(n("selectColorHex"),n("selectColorPalette"));return[{id:o("toolbarColorSelect"),type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],position:80,devices:"desktop",icon:{style:{backgroundColor:Object(mn.c)(a,n("selectBgColorOpacity"))}},options:[{id:o("tabsSelectColor"),type:"tabs",tabs:[{id:"tabSelectText",label:Object(an.a)("Text"),options:[{id:"selectColor",type:"colorPicker-dev"}]},{id:o("tabSelectBg"),label:Object(an.a)("Bg"),options:[{id:"selectBgColor",type:"colorPicker-dev"}]},{id:o("tabSelectBorder"),label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,prefix:"select",state:"normal",devices:"desktop",onChangeStyle:["onChangeBorderStyle2","onChangeElementBorderStyleDependencies2"],onChangeHex:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeElementBorderColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBorderColorPalette2","onChangeBorderColorPaletteOpacity2","onChangeElementBorderColorHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,prefix:"select",state:"normal",devices:"desktop",onChange:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeElementBorderColorHexAndOpacityDependencies2"]})]},{width:54,options:[Object(ej.p)({v:e,device:t,prefix:"select",state:"normal",onChange:["onChangeBorderWidthGrouped2"]})]}]}]},{id:o("tabSelectBoxShadow"),label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,prefix:"select",state:"normal",devices:"desktop",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:41,options:[Object(ej.s)({v:e,device:t,prefix:"select",state:"normal",devices:"desktop",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:59,options:[Object(ej.r)({v:e,device:t,prefix:"select",state:"normal",devices:"desktop",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]}]}const yw=Object(an.a)("Form Select Dropdowns");function fw(){return[]}var Ow=o(401);class Cw extends Zu.a{static get componentId(){return"Form2Fields"}renderForEdit(e,t,o){const{labelType:n,placeholder:a}=this.props,r=ra()(Qb("".concat(this.constructor.componentId,"-fields"),"".concat(this.getId(),"-fields"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz &&:hover .brz-forms2__field-label":{standart:["cssStyleLabelColor","cssStyleElementForm2FieldsLabelFontFamily","cssStyleElementForm2FieldsLabelFontSize","cssStyleElementForm2FieldsLabelFontWeight","cssStyleElementForm2FieldsLabelLetterSpacing","cssStyleElementForm2FieldsLabelAlign","cssStyleElementForm2FieldsLabelLineHeight"]},".brz && .brz-forms2__field-label":{standart:["cssStyleElementForm2FieldsLabelPadding"]},".brz &&:hover .brz-forms2__field:not(.brz-forms2__radio):not(.brz-forms2__checkbox)":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow","cssStyleElementForm2FieldsLineHeight"],interval:["cssStyleHoverTransition"]},".brz &&.brz-forms2__item--error .brz-forms2__field:not(.brz-forms2__radio):not(.brz-forms2__checkbox)":{standart:["cssStyleElementForm2FieldsBorderRequired"]},".brz && .brz-forms2__field:not(.brz-forms2__radio):not(.brz-forms2__checkbox):not(.brz-forms2__field-select)":{standart:["cssStylePaddingFourFields"]},".brz && .brz-forms2__field-paragraph":{standart:["cssStyleTypography2LineHeight"]},".brz &&:hover .brz-forms2__radio":{standart:["cssStyleElementForm2FieldsCheckboxColor","cssStyleElementForm2FieldsCheckboxFontFamily","cssStyleElementForm2FieldsCheckboxFontSize","cssStyleElementForm2FieldsCheckboxFontWeight","cssStyleElementForm2FieldsCheckboxLetterSpacing","cssStyleElementForm2FieldsCheckboxLineHeight"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-forms2__checkbox":{standart:["cssStyleElementForm2FieldsCheckboxColor","cssStyleElementForm2FieldsCheckboxFontFamily","cssStyleElementForm2FieldsCheckboxFontSize","cssStyleElementForm2FieldsCheckboxFontWeight","cssStyleElementForm2FieldsCheckboxLetterSpacing","cssStyleElementForm2FieldsCheckboxLineHeight"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-forms2__select-item__input":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && .form-alert":{standart:["cssStyleTypographyFontFamily"]}}})}(e,t,o))),i=ra()(Qb("".concat(this.constructor.componentId,"-field_select"),"".concat(this.getId(),"-field_select"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz && .brz-forms2__select-current":{standart:["cssStylePaddingFourFields"]},".brz &&:hover .brz-forms2__select-list":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementForm2FieldsSelectColor","cssStyleElementForm2FieldsSelectBgColor","cssStyleElementForm2FieldsSelectBorderRadius","cssStyleElementForm2FieldsSelectBoxShadow"]},".brz &&:hover .brz-forms2__select-item:not(:last-child)":{standart:["cssStyleElementForm2FieldsSelectBorder"]}}})}(e,t,o))),l=this.makeSubcomponentProps({bindWithKey:"items",toolbarExtend:this.makeToolbarPropsFromConfig2(z),itemProps:{labelType:n,placeholder:a,className:r,selectClassName:i,toolbarExtendLabel:this.makeToolbarPropsFromConfig2(k,E,{allowExtend:!1}),toolbarExtendSelect:this.makeToolbarPropsFromConfig2(H,_,{allowExtend:!1})}});return Oo.a.createElement(pw,l)}}Object(yo.a)(Cw,"defaultValue",Ow);var Sw=Cw;class xw extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"input",Oo.a.createRef()),Object(yo.a)(this,"handleChange",e=>{this.props.onChange(e)}),Object(yo.a)(this,"handleClick",e=>{e.preventDefault();const t=this.input.current;t&&t.classList.add("brz-ed-dd-cancel")}),Object(yo.a)(this,"handleBlur",()=>{const e=this.input.current;e&&e.classList.remove("brz-ed-dd-cancel")})}static get componentTitle(){return"Text"}static get componentType(){return"Text"}static Label({id:e,value:t,onChange:o}){const{label:n,placeholder:a}=t;return Oo.a.createElement("label",{className:"brz-label brz-forms2__field-label"},Oo.a.createElement("div",{className:"brz-p-relative"},Oo.a.createElement("input",{className:"brz-input brz-p-absolute",type:"text",value:n,placeholder:null===a?n:a,onChange:e=>{o({label:e.target.value})}}),Oo.a.createElement("span",{className:"brz-invisible"},n)))}getClassName(e){const{attr:t,showPlaceholder:o}=e;return ra()("brz-input brz-forms2__field brz-forms2__field-".concat(t.type),{"brz-p-events--none":!o})}getPlaceholder(){const{showPlaceholder:e,placeholder:t,label:o,labelType:n}=this.props;return e?null===t?o:t:""}getValue(){const{showPlaceholder:e,label:t}=this.props;return e?t:""}renderForEdit(e){const{labelType:t,attr:o}=e;return"outside"===t?Oo.a.createElement("input",Object(ta.a)({},o,{ref:this.input,className:this.getClassName(e),value:o.placeholder,onChange:e=>{this.handleChange({placeholder:e.target.value})}})):Oo.a.createElement("input",Object(ta.a)({},o,{ref:this.input,className:this.getClassName(e),onChange:e=>{this.handleChange({label:e.target.value,placeholder:e.target.value})}}))}renderForView(e){const{attr:t}=e;return Oo.a.createElement("input",Object(ta.a)({},t,{className:this.getClassName(e)}))}render(){const{_id:e,label:t,labelType:o,showPlaceholder:n,required:a,type:r,min:i,max:l,nativeHtml:c,columns:s,options:d,multipleSelection:p,fileTypes:u,fileMaxSize:b,tabletColumns:h,mobileColumns:m}=this.props;{const e={options:d,label:t,labelType:o,showPlaceholder:n,columns:s,tabletColumns:h,mobileColumns:m,attr:{type:"text",value:this.getValue(),placeholder:this.getPlaceholder(),onClick:this.handleClick,onBlur:this.handleBlur}};return this.renderForEdit(e)}}}Object(yo.a)(xw,"defaultProps",{_id:null,label:"Default Label",labelType:"inside",required:"off",type:"Text",selectToolbarItems:null});class jw extends xw{static get componentTitle(){return Object(an.a)("Text")}static get componentType(){return"Text"}}class Bw extends xw{static get componentTitle(){return Object(an.a)("Email")}static get componentType(){return"Email"}}Object(yo.a)(Bw,"pattern","^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+$");class Pw extends xw{static get componentTitle(){return Object(an.a)("Number")}static get componentType(){return"Number"}}Object(yo.a)(Pw,"pattern","^-?[0-9]\\d*(\\.\\d+)?$");class ww extends xw{static get componentTitle(){return Object(an.a)("Paragraph")}static get componentType(){return"Paragraph"}getClassName(e){const{showPlaceholder:t}=e;return ra()("brz-textarea brz-forms2__field brz-forms2__field-paragraph",{"brz-p-events--none":!t})}renderForEdit(e){const{labelType:t,attr:o}=e;return"outside"===t?Oo.a.createElement("textarea",Object(ta.a)({},o,{ref:this.input,className:this.getClassName(e),value:o.placeholder,onChange:e=>{this.handleChange({placeholder:e.target.value})}})):Oo.a.createElement("textarea",Object(ta.a)({},o,{ref:this.input,className:this.getClassName(e),onChange:e=>{this.handleChange({label:e.target.value,placeholder:e.target.value})}}))}renderForView(e){return Oo.a.createElement("textarea",Object(ta.a)({},e.attr,{className:this.getClassName(e)}))}}const Tw=5;class zw extends xw{constructor(...e){super(...e),Object(yo.a)(this,"content",Oo.a.createRef()),Object(yo.a)(this,"dropdown",Oo.a.createRef()),Object(yo.a)(this,"scrollbar",Oo.a.createRef()),Object(yo.a)(this,"state",{isOpen:!1,newItemValue:""}),Object(yo.a)(this,"handleOutside",()=>{this.state.isOpen&&this.setState({isOpen:!1})}),Object(yo.a)(this,"handleOptionsChange",(e,t)=>{const o=Object(kn.replaceAt)(this.props.options,t,e);this.props.onChange({options:o})}),Object(yo.a)(this,"handleOptionsAdd",()=>{const{newItemValue:e}=this.state,{options:t,onChange:o}=this.props;e&&e.trim()&&(o({options:Object(kn.addLast)(t,e)}),this.setState({newItemValue:""},()=>{var e;null===(e=this.scrollbar.current)||void 0===e||e.scrollToBottom()}))}),Object(yo.a)(this,"handleOptionsRemove",e=>{const t=Object(kn.removeAt)(this.props.options,e);this.props.onChange({options:t})}),Object(yo.a)(this,"handleKeyUp",e=>{13===e.keyCode&&this.handleOptionsAdd()}),Object(yo.a)(this,"handleClick",e=>{e.preventDefault();const t=this.input.current;t&&t.classList.add("brz-ed-dd-cancel")}),Object(yo.a)(this,"handleBlur",()=>{const e=this.input.current;e&&e.classList.remove("brz-ed-dd-cancel")}),Object(yo.a)(this,"handleOpen",e=>{this.setState(({isOpen:e})=>({isOpen:!e}),this.forceUpdate),this.handleClick(e)}),Object(yo.a)(this,"getHeight",Ao.a.debounce(()=>{if(this.dropdown.current){return this.dropdown.current.querySelector(".brz-forms2__select-item").getBoundingClientRect().height*Tw}return"100px"}))}static get componentTitle(){return Object(an.a)("Select")}static get componentType(){return"Select"}getClassName(){return ra()("brz-forms2__field brz-forms2__field-select",this.props.selectClassName)}renderOptions({options:e},t){return e.map((e,o)=>Oo.a.createElement("div",{key:o,className:"brz-forms2__select-item"},Oo.a.createElement("div",{className:"brz-forms2__select-item__input"},Oo.a.createElement("input",{className:"brz-input",value:e,onChange:e=>this.handleOptionsChange(e.target.value,o)})),t&&Oo.a.createElement("div",{className:"brz-forms2__select-item__icon",onClick:()=>this.handleOptionsRemove(o)},Oo.a.createElement(ia.b,{icon:"nc-trash"}))))}renderDropdown(e){const t="desktop"===Object(Lo.b)().getState().ui.deviceMode,o=this.content.current,{top:n,left:a,height:r,width:i}=o.getBoundingClientRect(),{scrollLeft:l}=o.ownerDocument.documentElement,c={width:i,top:n+r+window.scrollY,left:a+l},s=ra()("brz-portal-forms__select brz-ed-dd-cancel",this.props.selectClassName);return Oo.a.createElement(_l.a,{node:o.ownerDocument.body,className:s},Oo.a.createElement(Aa.c,this.props.toolbarExtendSelect,Oo.a.createElement("div",{ref:this.dropdown,className:"brz-forms2__select-list",style:c},Oo.a.createElement(da.a,{ref:this.scrollbar,autoHeight:!0,autoHeightMax:this.getHeight()},this.renderOptions(e,t),t&&Oo.a.createElement("div",{className:"brz-forms2__select-item"},Oo.a.createElement("div",{className:"brz-forms2__select-item__input"},Oo.a.createElement("input",{placeholder:Object(an.a)("Add new option"),className:"brz-input brz-input__select",value:this.state.newItemValue,onChange:({target:{value:e}})=>{this.setState({newItemValue:e})},onKeyUp:e=>this.handleKeyUp(e)})),Oo.a.createElement("div",{className:"brz-forms2__select-item__icon",onClick:this.handleOptionsAdd},Oo.a.createElement(ia.b,{icon:"nc-arrow-right"})))))))}renderForEdit(e){const{isOpen:t}=this.state,{labelType:o,attr:n,showPlaceholder:a}=e,r=ra()("brz-input",{"brz-p-events--none":!a});return Oo.a.createElement(oa.a,{exceptions:[".brz-portal-forms__select",".brz-ed-toolbar",".brz-ed-tooltip__content-portal"],onClickOutside:this.handleOutside},Oo.a.createElement("div",{ref:this.content,className:this.getClassName(e)},Oo.a.createElement("div",{className:"brz-forms2__select-current",onClick:this.handleOpen},"outside"===o?Oo.a.createElement("input",Object(ta.a)({},n,{ref:this.input,className:r,value:n.placeholder,onChange:e=>{this.handleChange({placeholder:e.target.value})},onBlur:this.handleBlur})):Oo.a.createElement("input",Object(ta.a)({},n,{ref:this.input,className:r,onChange:e=>{this.handleChange({label:e.target.value,placeholder:e.target.value})},onBlur:this.handleBlur})),Oo.a.createElement(ml.a,{name:"arrow-down",type:"editor",className:"brz-forms2__select--arrow"})),t&&this.renderDropdown(e)))}renderForView(e){const{label:t,attr:o}=e,n=Ao.a.omit(o,["type","accept","data-min","data-max","data-native"]),a=e.options.filter(e=>e&&e.trim());return a.length?Oo.a.createElement("div",{className:this.getClassName(e)},Oo.a.createElement("select",Object(ta.a)({},n,{"data-max-item-dropdown":Tw,className:"brz-select"}),Oo.a.createElement("option",{value:" "},t),a.map((e,t)=>Oo.a.createElement("option",{key:t,value:e},e)))):null}}class kw extends xw{constructor(...e){super(...e),Object(yo.a)(this,"state",{value:""}),Object(yo.a)(this,"handleChangeValue",e=>{this.setState({value:e.target.value})}),Object(yo.a)(this,"handleKeyUp",e=>{13===e.keyCode&&this.handleAddOption()}),Object(yo.a)(this,"handleAddOption",()=>{const{options:e,onChange:t}=this.props,{value:o}=this.state;o&&o.trim()&&(t({options:[...e,o]}),this.setState({value:""}))})}static get componentTitle(){return Object(an.a)("Radio")}static get componentType(){return"Radio"}getClassName(){return"brz-forms2__field brz-forms2__radio"}handleChangeOption(e,t){const{options:o,onChange:n}=this.props;n({options:Object(kn.replaceAt)(o,t,e)})}handleRemoveOption(e){const{options:t,onChange:o}=this.props;o({options:Object(kn.removeAt)(t,e)})}renderOptions(e){const{label:t,options:o}=e,n=o[0]||"";return Oo.a.createElement(yl,{className:"brz-forms2__radio-options",name:t,defaultValue:n},o.map((e,t)=>Oo.a.createElement(vl,{key:t,className:"brz-forms2__radio-option",value:e,checkIcon:"check-circle-on",unCheckIcon:"check-circle-off"},Oo.a.createElement("div",{className:"brz-forms2__radio-option-name"},Oo.a.createElement("input",{type:"text",className:"brz-input",value:e,onChange:e=>this.handleChangeOption(e.target.value,t)}),Oo.a.createElement("span",{className:"brz-span brz-invisible"},e)),Oo.a.createElement("div",{className:"brz-forms2__radio-option-icon",onClick:()=>this.handleRemoveOption(t)},Oo.a.createElement(ia.b,{icon:"nc-trash"})))))}renderForEdit(e){return Oo.a.createElement("div",{className:this.getClassName()},this.renderOptions(e),Oo.a.createElement("div",{className:"brz-forms2__radio-option brz-forms2__radio-option-new"},Oo.a.createElement("span",{className:"brz-span"},Oo.a.createElement("input",{type:"text",className:"brz-input",placeholder:Object(an.a)("Add new option"),value:this.state.value,onChange:this.handleChangeValue,onKeyUp:this.handleKeyUp})),Oo.a.createElement("div",{className:"brz-forms2__radio-option-icon",onClick:this.handleAddOption},Oo.a.createElement(ia.b,{icon:"nc-arrow-right"}))))}renderForView(e){const{attr:t}=e,o=e.options.filter(e=>e&&e.trim()),n=o[0]||"";return o.length?Oo.a.createElement("div",{className:this.getClassName()},Oo.a.createElement(yl,{name:t.name,className:"brz-forms2__radio-options",defaultValue:n},o.map((e,o)=>Oo.a.createElement(vl,Object(ta.a)({},t,{key:o,className:"brz-forms2__radio-option",value:e,checkIcon:"check-circle-on",unCheckIcon:"check-circle-off"}),Oo.a.createElement("span",{className:"brz-span brz-forms2__radio-option-name"},e))))):null}}var Ew=o(121);class Hw extends xw{constructor(...e){super(...e),Object(yo.a)(this,"state",{value:"",active:{}}),Object(yo.a)(this,"handleActive",e=>{this.setState({active:e})}),Object(yo.a)(this,"handleChangeValue",e=>{this.setState({value:e.target.value})}),Object(yo.a)(this,"handleKeyUp",e=>{13===e.keyCode&&this.handleAddOption()}),Object(yo.a)(this,"handleAddOption",()=>{const{options:e,onChange:t}=this.props,{value:o}=this.state;o&&o.trim()&&(t({options:[...e,o]}),this.setState({value:""}))}),Object(yo.a)(this,"renderIconForEdit",({active:e})=>Oo.a.createElement("div",{className:"brz-control__check-group-icon"},Oo.a.createElement(ia.b,{className:"brz-d-block",icon:e?"nc-check-square-on":"nc-check-square-off"}))),Object(yo.a)(this,"renderIconForView",()=>Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--check"},Oo.a.createElement(ml.a,{className:"brz-d-block",name:"check-square-on",type:"editor"})),Oo.a.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--uncheck"},Oo.a.createElement(ml.a,{className:"brz-d-block",name:"check-square-off",type:"editor"}))))}static get componentTitle(){return Object(an.a)("Checkbox")}static get componentType(){return"Checkbox"}getClassName(){return"brz-forms2__field brz-forms2__checkbox"}handleChangeOption(e,t){const{options:o,onChange:n}=this.props;n({options:Object(kn.replaceAt)(o,t,e)})}handleRemoveOption(e){const{options:t,onChange:o}=this.props;this.setState({active:Object(kn.omit)(this.state.active,t[e])}),o({options:Object(kn.removeAt)(t,e)})}renderOptions(e){const{label:t,_id:o}=e,{active:n}=this.state;return Oo.a.createElement(Ew.b,{className:"brz-forms2__checkbox-options",name:t,defaultValue:n,onChange:this.handleActive},this.props.options.map((e,t)=>Oo.a.createElement(Ew.a,{key:t,className:"brz-forms2__checkbox-option",name:o,value:e,renderIcons:this.renderIconForEdit},Oo.a.createElement("div",{className:"brz-forms2__checkbox-option-name"},Oo.a.createElement("input",{type:"text",className:"brz-input",value:e,onChange:e=>this.handleChangeOption(e.target.value,t)}),Oo.a.createElement("span",{className:"brz-span brz-invisible"},e)),Oo.a.createElement("div",{className:"brz-forms2__checkbox-option-icon",onClick:()=>this.handleRemoveOption(t)},Oo.a.createElement(ia.b,{icon:"nc-trash"})))))}renderForEdit(e){return Oo.a.createElement("div",{className:this.getClassName()},this.renderOptions(e),Oo.a.createElement("div",{className:"brz-forms2__checkbox-option brz-forms2__checkbox-option-new"},Oo.a.createElement("span",{className:"brz-span"},Oo.a.createElement("input",{type:"text",className:"brz-input",placeholder:Object(an.a)("Add new option"),value:this.state.value,onChange:this.handleChangeValue,onKeyUp:this.handleKeyUp})),Oo.a.createElement("div",{className:"brz-forms2__checkbox-option-icon",onClick:this.handleAddOption},Oo.a.createElement(ia.b,{icon:"nc-arrow-right"}))))}renderForView(e){const{attr:t}=e,o=e.options.filter(e=>e&&e.trim());return o.length?Oo.a.createElement("div",{className:this.getClassName()},Oo.a.createElement(Ew.b,{className:"brz-forms2__checkbox-options"},o.filter(e=>e&&e.trim()).map((e,o)=>Oo.a.createElement(Ew.a,Object(ta.a)({},t,{key:o,className:"brz-forms2__checkbox-option",value:e,renderIcons:this.renderIconForView}),Oo.a.createElement("span",{className:"brz-span brz-forms2__checkbox-option-name"},e))))):null}}class _w extends xw{static get componentTitle(){return Object(an.a)("Date")}static get componentType(){return"Date"}}class Rw extends xw{static get componentTitle(){return Object(an.a)("Time")}static get componentType(){return"Time"}}class Mw extends xw{static get componentTitle(){return Object(an.a)("Url")}static get componentType(){return"Url"}}Object(yo.a)(Mw,"pattern","(http(s)?:\\/\\/.)?(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_\\+.~#?&\\/=]*)");class Iw extends fo.Component{renderForEdit(){const{className:e,value:t,onChange:o,onBlur:n,onClick:a}=this.props,r=ra()("brz-input__upload",e);return Oo.a.createElement("div",{className:r,onClick:a,onBlur:n},Oo.a.createElement("label",{className:"brz-label"},Oo.a.createElement("input",{className:"brz-input brz-input__upload-placeholder",type:"text",value:t,onChange:o}),Oo.a.createElement("span",{className:"brz-button"},"Choose File")))}renderForView(){const{id:e,className:t,placeholder:o}=this.props,n=ra()("brz-input__upload",t);return Oo.a.createElement("div",{className:n},Oo.a.createElement("input",Object(ta.a)({},this.props,{type:"file",className:"brz-input"})),Oo.a.createElement("label",{htmlFor:e,className:"brz-label"},Oo.a.createElement("span",{className:"brz-span"},o),Oo.a.createElement(ml.a,{className:"brz-input__upload-delete brz-hidden",name:"close",type:"editor"}),Oo.a.createElement("span",{className:"brz-button"},"Choose File")))}render(){return this.renderForEdit()}}Object(yo.a)(Iw,"defaultProps",{id:"",className:"",name:"",value:null,placeholder:null,required:!1,accept:"",multiple:!1,onChange:Ao.a.noop,onBlur:Ao.a.noop,onClick:Ao.a.noop});var Fw=Iw;class Nw extends xw{static get componentTitle(){return Object(an.a)("File")}static get componentType(){return"FileUpload"}getClassName({showPlaceholder:e}){return ra()("brz-input brz-forms2__field brz-forms2__field-fileUpload",{"brz-p-events--none":!e})}renderForEdit(e){const{labelType:t,attr:o}=e;return"outside"===t?Oo.a.createElement(Fw,Object(ta.a)({},o,{className:this.getClassName(e),value:o.placeholder,onChange:e=>{this.handleChange({placeholder:e.target.value})}})):Oo.a.createElement(Fw,Object(ta.a)({},o,{className:this.getClassName(e),onChange:e=>{this.handleChange({label:e.target.value,placeholder:e.target.value})}}))}renderForView(e){return Oo.a.createElement(Fw,Object(ta.a)({},e.attr,{multiple:!1,className:this.getClassName(e)}))}}class Lw extends xw{static get componentTitle(){return Object(an.a)("Hidden")}static get componentType(){return"Hidden"}static Label(...e){return super.Label(...e)}renderForView(e){const{attr:t}=e;return Oo.a.createElement("input",Object(ta.a)({},t,{required:!1,className:this.getClassName(e)}))}}class Ww extends xw{static get componentTitle(){return Object(an.a)("Tel")}static get componentType(){return"Tel"}}Object(yo.a)(Ww,"pattern","[0-9()#&+*-=.]+");class Vw extends xw{static get componentTitle(){return Object(an.a)("Password")}static get componentType(){return"Password"}}function Dw({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t}),n="Checkbox"===e.type,a="Radio"===e.type,r="Date"===e.type,i="Time"===e.type,l="FileUpload"===e.type,c="Select"===e.type,s="Hidden"===e.type,d="Number"===e.type,p="Paragraph"===e.type,u=n||a,b=r||i;let h=[];if(l){const{maxUploadSize:e}=Bo.a.get("server")||{},t=Number(e);for(let e=1;e<=t;e++)h.push({title:"".concat(e," MB"),value:"".concat(e,"mb")})}return[{id:"toolbarCurrentElement",type:"popover",icon:"nc-form-left",title:Object(an.a)("Field"),roles:["admin"],position:60,options:[{id:"currentShortcodeTabs",type:"tabs",tabs:[{id:"field",label:Object(an.a)("Field"),options:[{id:"type",label:Object(an.a)("Type"),type:"select-dev",devices:"desktop",position:10,choices:Ao.a.map(R,e=>({title:e.componentTitle,value:e.componentType}))},...b?[{id:"min",type:"inputText-dev",position:20,label:r?Object(an.a)("Min Date"):Object(an.a)("Min Time"),placeholder:r?"YYYY-MM-DD":"HH:MM",devices:"desktop"},{id:"max",type:"inputText-dev",position:30,label:r?Object(an.a)("Max Date"):Object(an.a)("Max Time"),placeholder:r?"YYYY-MM-DD":"HH:MM",devices:"desktop"},{id:"nativeHtml",type:"switch-dev",position:40,label:Object(an.a)("Native HTML5"),devices:"desktop"}]:[],...u?[{id:"columns",label:Object(an.a)("Columns"),type:"select-dev",position:20,choices:[{title:"1",value:1},{title:"2",value:2},{title:"3",value:3},{title:"4",value:4},{title:"5",value:5},{title:"6",value:6}]}]:[],...l?[{id:"fileMaxSize",label:Object(an.a)("Max. File Size"),type:"select-dev",devices:"desktop",position:20,helper:Object(an.a)("If you need to increase max upload size please contact your hosting."),choices:h},{id:"fileTypes",label:Object(an.a)("Allowed File Types"),type:"inputText-dev",devices:"desktop",position:30,config:{size:"medium"},helper:{content:Object(an.a)("Enter the allowed file types, separated by a comma (jpg, gif, pdf, etc).")}}]:[],...c?[{id:"multipleSelection",label:Object(an.a)("Multiple Selection"),type:"switch-dev",position:20,disabled:"Select"!==e.type,devices:"desktop"}]:[],...d?[{id:"min",type:"inputText-dev",position:20,label:Object(an.a)("Min"),placeholder:Object(an.a)("Min"),devices:"desktop"},{id:"max",type:"inputText-dev",position:30,label:Object(an.a)("Max"),placeholder:Object(an.a)("Max"),devices:"desktop"}]:[],...s?[]:[{id:"required",label:Object(an.a)("Required"),type:"switch-dev",position:100,disabled:"Hidden"===(o=>Object(rh.defaultValueValue)({v:e,key:o,device:t}))("type"),devices:"desktop"}]]},{id:"advanced",label:Object(an.a)("Advanced"),options:[...u?[{id:"placeholder",type:"switch-dev",disabled:!0}]:[]]},{id:"background",label:Object(an.a)("Background"),options:[...u?[{id:o("size"),type:"radioGroup",disabled:!0},{id:o("borderRadius"),type:"slider",disabled:!0}]:[]]}]},...u?[{id:o("size"),type:"radioGroup",disabled:!0}]:[]]},...u?[{id:"toolbarTypography",type:"popover",disabled:!0},{id:"toolbarColor",type:"popover",disabled:!0}]:[{id:"toolbarTypographyCheckbox",type:"popover",disabled:!0},{id:"toolbarColorCheckbox",type:"popover",disabled:!0}],{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"width",label:Object(an.a)("Width"),position:30,type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},...p?[{id:"height",label:Object(an.a)("Height"),type:"slider-dev",devices:"desktop",position:40,config:{min:1,max:300,units:[{value:"px",title:"px"}]}}]:[]]}]}const Aw=Object(an.a)("Form Fields");function Gw(){return[]}var Uw=o(402);function Kw(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidthPercent","cssStyleElementForm2FlexBasisPercent"]},".brz &&:hover .brz-textarea":{standart:["cssStyleElementForm2InputHeight"]},".brz && .brz-forms2__checkbox-option":{standart:["cssStyleElementForm2FieldColumns"]},".brz && .brz-forms2__radio-option":{standart:["cssStyleElementForm2FieldColumns"]}}})}class qw extends Zu.a{static get componentId(){return"Form2Field"}renderForEdit(e,t,o){const{labelType:n,placeholder:a,className:r,selectClassName:i,toolbarExtendLabel:l,toolbarExtendSelect:c}=this.props,{type:s}=e,d=R[s],p=ra()("brz-forms2__item",r,Qb("".concat(this.constructor.componentId,"-field"),"".concat(this.getId(),"-field"),Kw(e,t,o)));return Oo.a.createElement("div",{className:p},"outside"===n&&Oo.a.createElement(Aa.c,l,Oo.a.createElement(d.Label,{id:this.getId(),value:e,onChange:e=>this.patchValue(e)})),Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(M,I),Oo.a.createElement("div",null,Oo.a.createElement(d,Object(ta.a)({},e,{showPlaceholder:a,labelType:n,toolbarExtendSelect:c,selectClassName:i,onChange:e=>this.patchValue(e)})))))}renderForView(e,t,o){const{labelType:n,placeholder:a,className:r,selectClassName:i}=this.props,{type:l}=e,c=R[l],s=ra()("brz-forms2__item",r,{"brz-d-none":"Hidden"===e.type},Qb("".concat(this.constructor.componentId,"-field"),"".concat(this.getId(),"-field"),Kw(e,t,o)));return Oo.a.createElement("div",{className:s},"outside"===n&&Oo.a.createElement(c.Label,{id:this.getId(),value:e}),Oo.a.createElement(c,Object(ta.a)({},e,{showPlaceholder:a,selectClassName:i,labelType:n})))}}Object(yo.a)(qw,"defaultValue",Uw);var Yw=qw;function Xw({v:e,device:t}){return[Object(ej.Bc)({v:e,device:t,state:"normal",devices:"responsive",position:1}),{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-text-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-text-align-right",title:Object(an.a)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",position:110,roles:["admin"],icon:"nc-cog"}]}function Zw({v:e,device:t}){const o=Object(sh.c)("richText");return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",position:10,options:[Object(ej.nc)({v:e,device:t,state:"normal"}),Object(ej.mc)({v:e,device:t,state:"normal",onChangeGrouped:["onChangeMarginGrouped"],onChangeUngrouped:["onChangeMarginUngrouped"]})]},{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.Ac)({v:e,device:t}),Object(ej.Nc)({v:e,device:t}),Object(ej.t)({v:e,device:t,state:"normal",population:o}),Object(ej.H)({v:e,device:t,state:"normal",population:o}),Object(ej.Ub)({v:e,device:t})]}]},Object(ej.nc)({v:e,device:t,devices:"responsive",state:"normal"}),Object(ej.mc)({v:e,device:t,devices:"responsive",state:"normal",onChangeGrouped:["onChangeMarginGrouped"],onChangeUngrouped:["onChangeMarginUngrouped"]})]}function Jw({v:e,device:t}){return"on"===e.showToolbar?[]:[Object(ej.Bc)({v:e,device:t,state:"normal",devices:"responsive",position:1}),{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-text-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-text-align-right",title:Object(an.a)("Align"),value:"right"}]}]}function $w({v:e,device:t}){if("on"===e.showToolbar)return[];const o=Object(sh.c)("richText");return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",position:10,options:[Object(ej.nc)({v:e,device:t,state:"normal"}),Object(ej.mc)({v:e,device:t,state:"normal",onChangeGrouped:["onChangeMarginGrouped"],onChangeUngrouped:["onChangeMarginUngrouped"]})]},{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.Ac)({v:e,device:t}),Object(ej.Nc)({v:e,device:t}),Object(ej.t)({v:e,device:t,state:"normal",population:o}),Object(ej.H)({v:e,device:t,state:"normal",population:o}),Object(ej.Ub)({v:e,device:t})]}]},Object(ej.nc)({v:e,device:t,devices:"responsive",state:"normal"}),Object(ej.mc)({v:e,device:t,devices:"responsive",state:"normal",onChangeGrouped:["onChangeMarginGrouped"],onChangeUngrouped:["onChangeMarginUngrouped"]})]}const Qw={RichText:Object(an.a)("Text"),Image:Object(an.a)("Image"),Video:Object(an.a)("Video"),VideoPlaylist:Object(an.a)("Playlist"),Spacer:Object(an.a)("Spacer"),Line:Object(an.a)("Line"),Map:Object(an.a)("Map"),EmbedCode:Object(an.a)("Embed"),Form:Object(an.a)("Form"),Form2:Object(an.a)("Form"),IconText:Object(an.a)("Icon Box"),SoundCloud:Object(an.a)("SoundCloud"),Counter:Object(an.a)("Counter"),Countdown:Object(an.a)("Countdown"),Countdown2:Object(an.a)("Countdown"),Tabs:Object(an.a)("Tabs"),TimeLine:Object(an.a)("Timeline"),Switcher:Object(an.a)("Switcher"),ProgressBar:Object(an.a)("Progress"),Accordion:Object(an.a)("Accordion"),ImageGallery:Object(an.a)("Gallery"),Carousel:Object(an.a)("Carousel"),Row:Object(an.a)("Row"),Column:Object(an.a)("Column"),WPSidebar:Object(an.a)("Sidebar"),WPCustomShortcode:Object(an.a)("Shortcode"),WPPostsTitle:Object(an.a)("Post Title"),WPNavigation:Object(an.a)("Menu"),WPPostExcerpt:Object(an.a)("Post Excerpt"),Archives:Object(an.a)("Archives"),Posts:Object(an.a)("Posts"),Menu:Object(an.a)("Menu"),FacebookButton:Object(an.a)("Facebook Button"),FacebookComments:Object(an.a)("Comments"),FacebookEmbed:Object(an.a)("Facebook Embed"),FacebookPage:Object(an.a)("Facebook Page"),FacebookGroup:Object(an.a)("Facebook Group"),WPBreadcrumbs:Object(an.a)("Breadcrumbs"),WPPostInfo:Object(an.a)("Post Info"),WPPostContent:Object(an.a)("Post Content"),Audio:Object(an.a)("Audio"),Twitter:Object(an.a)("Twitter"),Facebook:Object(an.a)("Facebook"),WPComments:Object(an.a)("Comments"),Search:Object(an.a)("Search")};var eT={getItems:function(e){const{base:t}=zo.a.getShortcodes(),{icon:o=""}=t.find(({resolve:{value:{items:[{type:t}]}}})=>t===e.items[0].type)||{};return[{id:"main",type:"group",title:Qw[e.items[0].type],icon:o,items:[]}]}};var tT=o(403);function oT(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleDisplayBlock","cssStyleVisibleMode|||preview","cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]}}})}function nT(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function aT(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?nT(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):nT(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class rT extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"toolbarRef",Oo.a.createRef()),Object(yo.a)(this,"handleExtendParentToolbar",e=>{this.childToolbarExtend=e}),Object(yo.a)(this,"handleToolbarEscape",()=>{this.toolbarRef.current.show()}),Object(yo.a)(this,"renderToolbar",e=>Oo.a.createElement(Aa.c,Object(ta.a)({},this.makeToolbarPropsFromConfig2(F,N),{ref:this.toolbarRef}),Oo.a.createElement(kB,null,Oo.a.createElement(e,null))))}static get componentId(){return"Wrapper"}getMeta(e){const{meta:t}=this.props,{marginType:o,margin:n,marginSuffix:a,marginLeft:r,marginLeftSuffix:i,marginRight:l,marginRightSuffix:c,paddingType:s,padding:d,paddingSuffix:p,paddingLeft:u,paddingLeftSuffix:b,paddingRight:h,paddingRightSuffix:m,horizontalAlign:g,tabletPadding:v,tabletPaddingType:y,tabletPaddingSuffix:f,tabletPaddingLeft:O,tabletPaddingLeftSuffix:C,tabletPaddingRight:S,tabletPaddingRightSuffix:x,tabletMargin:j,tabletMarginType:B,tabletMarginSuffix:P,tabletMarginLeft:w,tabletMarginLeftSuffix:T,tabletMarginRight:z,tabletMarginRightSuffix:k,tabletHorizontalAlign:E,mobilePadding:H,mobilePaddingType:_,mobilePaddingSuffix:R,mobilePaddingLeft:M,mobilePaddingLeftSuffix:I,mobilePaddingRight:F,mobilePaddingRightSuffix:N,mobileMargin:L,mobileMarginType:W,mobileMarginSuffix:V,mobileMarginLeft:D,mobileMarginLeftSuffix:A,mobileMarginRight:G,mobileMarginRightSuffix:U,mobileHorizontalAlign:K}=e,q="grouped"===o?Jx(2*n,a,t.desktopW):Jx(r,i,t.desktopW)+Jx(l,c,t.desktopW),Y="grouped"===s?Jx(2*d,p,t.desktopW):Jx(u,b,t.desktopW)+Jx(h,m,t.desktopW),X="grouped"===y?Jx(2*v,f,t.tabletW):Jx(O,C,t.tabletW)+Jx(S,x,t.tabletW),Z="grouped"===B?Jx(2*j,P,t.tabletW):Jx(w,T,t.tabletW)+Jx(z,k,t.tabletW),J="grouped"===_?Jx(2*H,R,t.mobileW):Jx(M,I,t.mobileW)+Jx(F,N,t.mobileW),$=q+Y,Q=Z+X,ee=("grouped"===W?Jx(2*L,V,t.mobileW):Jx(D,A,t.mobileW)+Jx(G,U,t.mobileW))+J;return aT({},t,{mobileW:Math.round(10*(t.mobileW-ee))/10,tabletW:Math.round(10*(t.tabletW-Q))/10,desktopW:Math.round(10*(t.desktopW-$))/10,horizontalAlign:g,tabletHorizontalAlign:E,mobileHorizontalAlign:K})}renderContent(e,t,o){const{showToolbar:n,className:a}=e,r="on"===n||"admin"!==Object(Ca.b)()?e=>e.filter(e=>"duplicate"!==e.id&&"remove"!==e.id):null,i=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:this.getMeta(e),toolbarExtend:this.makeToolbarPropsFromConfig2(L,W,{allowExtendFromChild:!1,parentItemsFilter:r}),extendParentToolbar:this.handleExtendParentToolbar}}),l=ra()("brz-d-xs-flex",Qb("".concat(this.constructor.componentId,"-container"),"".concat(this.getId(),"-container"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleVisibleMode|||editor"],standart:["cssStylePaddingFourFields","cssStyleMargin","cssStyleZIndex","cssStyleFlexHorizontalAlign","cssStylePositionMode"]}}})}(e,t,o)),a);return Oo.a.createElement("div",{className:l},Oo.a.createElement(Ju.a,i))}renderForEdit(e,t,o){const{animationName:n,animationDuration:a,animationDelay:r,customClassName:i,customID:l,cssIDPopulation:c,cssClassPopulation:s}=e,d=e.items[0].type,p=ra()("brz-wrapper",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),oT(e,t,o)),""===s?i:s);return Oo.a.createElement(Ya,{type:"shortcode"},Oo.a.createElement(MB,{className:p,customID:""===c?l:c,name:"none"!==n&&n,duration:a,delay:r},Oo.a.createElement(Rj,aT({},this.makeContextMenuProps(eT),{componentId:d}),Oo.a.createElement(Ca.a,{allow:["admin"],fallbackRender:()=>this.renderContent(e,t,o)},Oo.a.createElement(CB,{color:"grey",borderStyle:"dotted",showButton:"on"===e.showToolbar,buttonPosition:"topRight",renderButtonWrapper:this.renderToolbar},"on"===e.showToolbar?Oo.a.createElement(Aa.b,{onEscape:this.handleToolbarEscape},this.renderContent(e,t,o)):this.renderContent(e,t,o))))))}renderForView(e,t,o){const{animationName:n,animationDuration:a,animationDelay:r,customClassName:i,customID:l,cssIDPopulation:c,cssClassPopulation:s}=e,d=ra()("brz-wrapper",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),oT(e,t,o)),""===s?i:s);return Oo.a.createElement(MB,{className:d,customID:""===c?l:c,name:"none"!==n&&n,duration:a,delay:r},this.renderContent(e,t,o))}}Object(yo.a)(rT,"defaultProps",{meta:{}}),Object(yo.a)(rT,"defaultValue",tT);var iT=rT;const lT={Button:Object(an.a)("Button"),Icon:Object(an.a)("Icon")};var cT={getItems:function(e){const{base:t}=zo.a.getShortcodes(),{icon:o=""}=t.find(({resolve:{value:{items:[{type:t}]}}})=>t===e[0].type)||{};return[{id:"main",type:"group",title:lT[e[0].type],icon:o,items:[]}]}};var sT=e=>({getItems:pT(e)});const dT="MacOS"===vp(),pT=e=>(t,o)=>{const n=o.getCurrentCopiedElement(),a=n&&n.type===t[e].type;return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:Object(an.a)("Copy"),helperText:()=>dT?"⌘ + C":"Ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:Object(an.a)("Paste"),helperText:()=>dT?"⌘ + V":"Ctrl + V",inactive:!a,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:Object(an.a)("Paste Styles"),helperText:()=>dT?"⌘ + ⇧ + V":"Ctrl + ⇧ + V",inactive:!a,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:Object(an.a)("Duplicate"),helperText:()=>dT?"⌘ + D":"Ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:Object(an.a)("Delete"),helperText:()=>dT?"⌘ + delete":"Delete",onChange:()=>{Object(Aa.d)(),o.removeItem(e)}}]}]};function uT(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class bT extends Ju.a{static get componentId(){return"Cloneable.Items"}getItemProps(e,t){const o={getItems:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),devices:"desktop",position:200,roles:["admin"],onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:Object(an.a)("Delete"),devices:"desktop",position:250,roles:["admin"],onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}]},n=this.makeToolbarPropsFromConfig2(o);return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?uT(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):uT(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},this.props.itemProps,{meta:this.props.meta,toolbarExtend:n})}renderItemsContainerDiv(e){const{containerClassName:t}=this.props;return Oo.a.createElement("div",{className:t},e)}renderItemsContainerList(e){const t=ra()("brz-ul brz-list",this.props.containerClassName);return Oo.a.createElement("ul",{className:t},e)}renderItemsContainer(e){const{blockType:t,onSortableStart:o,onSortableEnd:n}=this.props,a="div"===t?this.renderItemsContainerDiv(e):this.renderItemsContainerList(e);return Oo.a.createElement(Ua,{path:this.getPath(),type:"cloneable",acceptElements:null,onStart:o,onEnd:n},a)}renderItemWrapperDiv(e,t,o){const{itemClassName:n,meta:{inIconText:a}}=this.props,r=sT(o);let i=Oo.a.createElement(Ya,{key:t,type:"shortcode"},Oo.a.createElement("div",{className:n,id:t},e));if(!a){const e=["duplicate","copy","paste","pasteStyles","delete"];i=Oo.a.createElement(Ej,Object(ta.a)({key:t},this.makeContextMenuProps(r)),Oo.a.createElement(Rj,this.makeContextMenuProps(cT),Oo.a.createElement(fr.a,{shortcutsTypes:e,id:t,onKeyDown:this.handleKeyDown},i)))}return i}renderItemWrapperList(e,t,o){const{itemClassName:n,meta:{inIconText:a}}=this.props,r=ra()("brz-li brz-list__item",n),i=sT(o);let l=Oo.a.createElement(Ya,{type:"shortcode"},Oo.a.createElement("li",{key:t,className:r},e));if(!a){const e=["duplicate","copy","paste","pasteStyles","delete"];return Oo.a.createElement(Ej,Object(ta.a)({key:t},this.makeContextMenuProps(i)),Oo.a.createElement(Rj,this.makeContextMenuProps(cT),Oo.a.createElement(fr.a,{shortcutsTypes:e,id:t,onKeyDown:this.handleKeyDown},l)))}return l}renderItemWrapper(e,t,o,n,a){return"div"===this.props.blockType?this.renderItemWrapperDiv(e,t,o,n,a):this.renderItemWrapperList(e,t,o,n,a)}}Object(yo.a)(bT,"defaultProps",{blockType:"div",containerClassName:"",itemClassName:"",minItems:0,maxItems:9999,toolbarExtend:null,meta:{},itemProps:{}});var hT=bT;function mT({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"});return[{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-text-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-text-align-right",title:Object(an.a)("Align"),value:"right"}]},Object(ej.Bc)({v:e,device:t,state:"normal",devices:"responsive"}),{id:o("toolbarCurrentShortcode"),type:"popover",options:[{id:o("currentShortcodeTabs"),type:"tabs",tabs:[{id:o("currentShortcodeTab"),options:[Object(ej.bb)({v:e,device:t,state:"normal"})]}]}]}]}function gT({v:e,device:t}){const o=Object(sh.c)("richText");return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",position:10,options:[Object(ej.nc)({v:e,device:t,state:"normal",devices:"desktop"}),Object(ej.mc)({v:e,device:t,devices:"desktop",state:"normal",onChangeGrouped:["onChangeMarginGrouped"],onChangeUngrouped:["onChangeMarginUngrouped"]})]},{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.Ac)({v:e,device:t,state:"normal",devices:"desktop"}),Object(ej.Nc)({v:e,device:t,state:"normal",devices:"desktop"}),{id:"cssID",label:Object(an.a)("CSS ID"),type:"population-dev",position:30,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:{choices:o},options:[{id:"customID",type:"inputText-dev"}]},{id:"cssClass",label:Object(an.a)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:{choices:o},options:[{id:"customClassName",type:"inputText-dev"}]},Object(ej.Ub)({v:e,device:t,state:"normal",devices:"desktop"})]}]},Object(ej.nc)({v:e,device:t,state:"normal",devices:"responsive"}),Object(ej.mc)({v:e,device:t,devices:"responsive",state:"normal",onChangeGrouped:["onChangeMarginGrouped"],onChangeUngrouped:["onChangeMarginUngrouped"]})]}function vT(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleDisplayBlock","cssStyleVisibleMode|||preview","cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]}}})}var yT=o(404);class fT extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"containerBorder",Oo.a.createRef()),Object(yo.a)(this,"handleSortableStart",()=>{this.containerBorder.current&&this.containerBorder.current.setActive(!0)}),Object(yo.a)(this,"handleSortableEnd",()=>{this.containerBorder.current&&this.containerBorder.current.setActive(!1)})}static get componentId(){return"Cloneable"}handleValueChange(e,t){0===e.items.length?this.selfDestruct():super.handleValueChange(e,t)}getMeta(e){const{meta:t}=this.props,{marginType:o,margin:n,marginSuffix:a,marginLeft:r,marginLeftSuffix:i,marginRight:l,marginRightSuffix:c,paddingType:s,padding:d,paddingSuffix:p,paddingLeft:u,paddingLeftSuffix:b,paddingRight:h,paddingRightSuffix:m,tabletPadding:g,tabletPaddingType:v,tabletPaddingSuffix:y,tabletPaddingLeft:f,tabletPaddingLeftSuffix:O,tabletPaddingRight:C,tabletPaddingRightSuffix:S,tabletMargin:x,tabletMarginType:j,tabletMarginSuffix:B,tabletMarginLeft:P,tabletMarginLeftSuffix:w,tabletMarginRight:T,tabletMarginRightSuffix:z,mobilePadding:k,mobilePaddingType:E,mobilePaddingSuffix:H,mobilePaddingLeft:_,mobilePaddingLeftSuffix:R,mobilePaddingRight:M,mobilePaddingRightSuffix:I,mobileMargin:F,mobileMarginType:N,mobileMarginSuffix:L,mobileMarginLeft:W,mobileMarginLeftSuffix:V,mobileMarginRight:D,mobileMarginRightSuffix:A}=e,G="grouped"===o?Jx(2*n,a,t.desktopW):Jx(r,i,t.desktopW)+Jx(l,c,t.desktopW),U="grouped"===s?Jx(2*d,p,t.desktopW):Jx(u,b,t.desktopW)+Jx(h,m,t.desktopW),K="grouped"===v?Jx(2*g,y,t.tabletW):Jx(f,O,t.tabletW)+Jx(C,S,t.tabletW),q="grouped"===j?Jx(2*x,B,t.tabletW):Jx(P,w,t.tabletW)+Jx(T,z,t.tabletW),Y="grouped"===E?Jx(2*k,H,t.mobileW):Jx(_,R,t.mobileW)+Jx(M,I,t.mobileW),X=G+U,Z=q+K,J=("grouped"===N?Jx(2*F,L,t.mobileW):Jx(W,V,t.mobileW)+Jx(D,A,t.mobileW))+Y,$=Math.round(10*(t.mobileW-J))/10,Q=Math.round(10*(t.tabletW-Z))/10,ee=Math.round(10*(t.desktopW-X))/10;return Ao.a.extend({},t,{mobileW:$,tabletW:Q,desktopW:ee,inCloneable:!0})}renderContent(e,t,o){const{className:n,itemClassName:a}=e,r=ra()("brz-d-xs-flex brz-flex-xs-wrap",Qb("".concat(this.constructor.componentId,"-container"),"".concat(this.getId(),"-container"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleFlexHorizontalAlign","cssStylePaddingFourFields","cssStyleItemMargin"]}}})}(e,t,o)),n),i=ra()("brz-wrapper-clone__item",Qb("".concat(this.constructor.componentId,"-item"),"".concat(this.getId(),"-item"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleItemPadding"]}}})}(e,t,o)),a),l=ra()("brz-wrapper-clone__wrap",Qb("".concat(this.constructor.componentId,"-wrap"),"".concat(this.getId(),"-wrap"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleZIndex","cssStylePositionMode","cssStyleMargin"],interval:["cssStyleVisibleMode|||editor"]}}})}(e,t,o))),{minItems:c,maxItems:s,blockType:d}=e,p=this.makeSubcomponentProps({bindWithKey:"items",blockType:d,containerClassName:r,itemClassName:i,minItems:c,maxItems:s,meta:this.getMeta(e),toolbarExtend:this.makeToolbarPropsFromConfig2(V,D),onSortableStart:this.handleSortableStart,onSortableEnd:this.handleSortableEnd});return Oo.a.createElement("div",{className:l},Oo.a.createElement(hT,p))}renderForEdit(e,t,o){const{showBorder:n,propsClassName:a}=this.props,{animationName:r,animationDuration:i,animationDelay:l,customClassName:c,customID:s,cssIDPopulation:d,cssClassPopulation:p}=e,u=ra()("brz-wrapper-clone",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),vT(e,t,o)),""===p?c:p,a);return Oo.a.createElement(MB,{className:u,customID:""===d?s:d,name:"none"!==r&&r,duration:i,delay:l},n?Oo.a.createElement(CB,{ref:this.containerBorder,color:"grey",borderStyle:"dotted"},this.renderContent(e,t,o)):this.renderContent(e,t,o))}renderForView(e,t,o){const{animationName:n,animationDuration:a,animationDelay:r,customClassName:i,customID:l,cssIDPopulation:c,cssClassPopulation:s}=e,{propsClassName:d}=this.props,p=ra()("brz-wrapper-clone",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),vT(e,t,o)),""===s?i:s,d);return Oo.a.createElement(MB,{className:p,customID:""===c?l:c,name:"none"!==n&&n,duration:a,delay:r},this.renderContent(e,t,o))}}Object(yo.a)(fT,"defaultProps",{className:"",customID:"",showBorder:!0,meta:{}}),Object(yo.a)(fT,"defaultValue",yT);var OT=fT;function CT(e,t,o,n){var a=t*o,r=t*n,i=e*t;return Math.max(a,Math.min(r,i))}class ST extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{activeIndex:null}),Object(yo.a)(this,"handleKeyDown",()=>{const{value:e,onChange:t}=this.props;let o=this.state.activeIndex;13!==event.which||null===o?(null===o&&(o=-1),38===event.which&&o--,40===event.which&&o++,this.setState({activeIndex:Math.max(0,Math.min(e.length-1,o))})):t(e[o].value)}),Object(yo.a)(this,"handleMouseMove",({target:e})=>{const t=Number(e.getAttribute("data-index"));this.setState({activeIndex:t})})}componentDidMount(){document.addEventListener("keydown",this.handleKeyDown)}componentWillUnmount(){document.removeEventListener("keydown",this.handleKeyDown)}renderList(){const{value:e,onChange:t}=this.props,{activeIndex:o}=this.state;return e.map(({title:e,value:n},a)=>{const r=ra()("brz-ed-listbox__item",{"brz-ed-listbox__item--active":o===a});return Oo.a.createElement("div",{key:a,title:e,className:r,"data-index":a,onClick:()=>t(n)},e)})}render(){const{className:e,style:t,itemHeight:o,minItems:n,maxItems:a,value:r}=this.props,i=ra()("brz-ed-listbox",e),l={height:CT(r.length,o,n,a)},c=r.length?this.renderList():Oo.a.createElement("div",{className:"brz-ed-listbox__item brz-ed-listbox__item--disable"},Object(an.a)("No matches found"));return Oo.a.createElement("div",{className:i,style:t,onMouseMove:this.handleMouseMove},Oo.a.createElement(hl.a,{style:l},c))}}Object(yo.a)(ST,"defaultProps",{className:"",minItems:1,maxItems:10,itemHeight:30,style:{},value:[],onChange:()=>{}});var xT=ST,jT=o(46),BT=o.n(jT);const PT=BT.a.import("formats/link");class wT extends PT{static create(e){let t=super.create(e);return e=this.sanitize(e),this.setAttributes(t,e),t}static formats(e){return e.getAttribute("data-href")}static setAttributes(e,t){const o=Object(As.d)(t),{type:n}=o;e.removeAttribute("href"),e.removeAttribute("target"),e.setAttribute("data-href",t),e.classList.remove("link--anchor","link--external","link--popup","is-empty"),"anchor"===n&&e.classList.add("link--anchor"),"external"===n&&e.classList.add("link--external"),"popup"===n&&e.classList.add("link--popup"),o[n]||e.classList.add("is-empty")}format(e,t){if(e!==this.statics.blotName||!t)return super.format(e,t);t=this.constructor.sanitize(t),this.constructor.setAttributes(this.domNode,t)}}let TT=BT.a.import("parchment");class zT extends TT.Attributor.Style{value(e){let t=super.value(e);return t.startsWith("rgb(")?"#"+(t=t.replace(/^[^\d]+/,"").replace(/[^\d]+$/,"")).split(",").map((function(e){return("00"+parseInt(e,10).toString(16)).slice(-2)})).join(""):t}}const kT=new zT("block-color","color",{scope:TT.Scope.BLOCK});let ET=BT.a.import("parchment");class HT extends ET.Attributor.Style{}const _T=new HT("block-opacity","opacity",{scope:ET.Scope.BLOCK});let RT=BT.a.import("parchment");const MT=BT.a.import("formats/list"),IT=BT.a.import("formats/list/item");class FT extends IT{format(e,t){e!==MT.blotName||t?(super.format(e,t),this.copyFormatToParent("color","block-color"),this.copyFormatToParent("opacity","block-opacity"),this.copyFormatToParent("colorPalette","block-colorPalette")):this.replaceWith(RT.create(this.statics.scope))}copyFormatToParent(e,t){if(1===this.children.length){const o=this.children.head,{attributes:n={}}=o.attributes||{};if(n[e]){const a=n[e].value(o.domNode);super.format(t,a)}}else this.attributes.hasOwnProperty(t)&&super.format(t,null)}optimize(e){super.optimize(e),this.copyFormatToParent("color","block-color"),this.copyFormatToParent("opacity","block-opacity")}}let NT=BT.a.import("blots/inline");class LT extends NT{static create(e){const t=super.create(e);return this.setValue(e,t),t}static formats(e){const t=e.getAttribute("data-population");return t||null}static setValue(e,t){e&&t.setAttribute("data-population",e)}static removeValue(e){e.removeAttribute("data-population")}format(e,t){e!==this.statics.blotName?super.format(e,t):t?this.constructor.setValue(t,this.domNode):this.constructor.removeValue(this.domNode)}}Object(yo.a)(LT,"className","text-population"),LT.blotName="population",LT.tagName="span";let WT=BT.a.import("blots/block");class VT extends WT{}VT.blotName="pre",VT.tagName="pre";var DT=VT;let AT=BT.a.import("blots/block");class GT extends AT{static create(e){const t=super.create(e);return t.classList.add("brz-tp__dc-block-st1"),t}static formats(){return!0}format(e,t){if(e!==this.statics.blotName||!t)return super.format(e,t);this.domNode.classList.add("brz-tp__dc-block-st1")}}Object(yo.a)(GT,"className","text-block"),GT.blotName="dcBlock",GT.tagName="div",GT.className="brz-tp__dc-block";var UT=GT;let KT=BT.a.import("blots/inline");const qT=e=>"svg"===e;class XT extends KT{static create(e){const t=super.create(e);return this.setValue(e,t),t}static formats(e){let t=e.getAttribute("data-image_src");if(!t)return null;let o=e.getAttribute("data-image_population");const n=parseInt(e.style.backgroundPositionX)||null,a=parseInt(e.style.backgroundPositionY)||null,r=parseInt(e.getAttribute("data-image_width"))||null,i=parseInt(e.getAttribute("data-image_height"))||null,l=e.getAttribute("data-image_extension");return e.classList.contains("brz-population-mask")||(o=null),{src:t,population:o,x:n,y:a,extension:l,width:r,height:i}}static setValue(e,t){const{src:o,population:n,x:a,y:r,extension:i,width:l,height:c}=e;if(n)t.style.backgroundImage=null,t.style.backgroundPosition="50% 50%",t.classList.add("brz-population-mask"),t.classList.remove("brz-text-mask"),t.setAttribute("data-image_population",n);else if(o){const e=qT(i)?Object(ir.f)(o):Object(ir.c)(o);t.classList.add("brz-text-mask"),t.classList.remove("brz-population-mask"),t.style.backgroundImage="url('".concat(e,"')"),t.style.backgroundPosition="".concat(a,"% ").concat(r,"%"),t.removeAttribute("data-image_population"),t.setAttribute("data-image_src",o),t.setAttribute("data-image_width",l),t.setAttribute("data-image_height",c),t.setAttribute("data-image_extension",i)}else this.removeValue(t)}static removeValue(e){e.style.backgroundImage=null,e.style.backgroundPosition=null,e.classList.remove("brz-text-mask"),e.classList.remove("brz-population-mask"),e.removeAttribute("data-image_population"),e.removeAttribute("data-image_src"),e.removeAttribute("data-image_width"),e.removeAttribute("data-image_height"),e.removeAttribute("data-image_extension")}format(e,t){e!==this.statics.blotName?super.format(e,t):t?this.constructor.setValue(t,this.domNode):this.constructor.removeValue(this.domNode)}}XT.blotName="backgroundImage",XT.tagName="span";let ZT=BT.a.import("blots/inline");class JT extends ZT{static create(e){const t=super.create(e);return this.setValue(e,t),t}static formats(e){const t=t=>{const o=e.getAttribute(t);return(e=>!isNaN(parseFloat(e))&&isFinite(e))(o)?Number(o):o},o=t("data-gradient_type");return o?{type:o,radialPosition:t("data-gradient_radial_position"),linearAngle:t("data-gradient_linear_angle"),startPointer:t("data-gradient_start_pointer"),finishPointer:t("data-gradient_finish_pointer"),activePointer:t("data-gradient_active_pointer"),startHex:t("data-gradient_start_hex"),finishHex:t("data-gradient_finish_hex"),startOpacity:t("data-gradient_start_opacity"),finishOpacity:t("data-gradient_finish_opacity"),startPalette:t("data-gradient_start_palette"),finishPalette:t("data-gradient_finish_palette")}:null}static setValue(e,t){if(!e)return;const{type:o,radialPosition:n,linearAngle:a,startPointer:r,finishPointer:i,activePointer:l,startHex:c,finishHex:s,startOpacity:d,finishOpacity:p,startPalette:u,finishPalette:b}=e,h=function(e){const{type:t,radialPosition:o,linearAngle:n,startPointer:a,finishPointer:r,startHex:i,finishHex:l,startOpacity:c,finishOpacity:s}=e,d="linear-gradient"===t?"".concat(n,"deg"):"circle ".concat(o,"px"),p=Object(mn.c)(i,c),u=Object(mn.c)(l,s);return"".concat(t,"(").concat(d,", ").concat(p," ").concat(a,"%, ").concat(u," ").concat(r,"%)")}(e);t.style.backgroundImage=h,t.classList.add("brz-image-gradient"),t.setAttribute("data-gradient_type",o),t.setAttribute("data-gradient_radial_position",n),t.setAttribute("data-gradient_linear_angle",a),t.setAttribute("data-gradient_start_pointer",r),t.setAttribute("data-gradient_finish_pointer",i),t.setAttribute("data-gradient_active_pointer",l),t.setAttribute("data-gradient_start_hex",c),t.setAttribute("data-gradient_finish_hex",s),t.setAttribute("data-gradient_start_opacity",d),t.setAttribute("data-gradient_finish_opacity",p),t.setAttribute("data-gradient_start_palette",u),t.setAttribute("data-gradient_finish_palette",b)}static removeValue(e){e.style.backgroundImage=null,e.removeAttribute("data-gradient_type"),e.removeAttribute("data-gradient_radial_position"),e.removeAttribute("data-gradient_linear_angle"),e.removeAttribute("data-gradient_start_pointer"),e.removeAttribute("data-gradient_finish_pointer"),e.removeAttribute("data-gradient_active_pointer"),e.removeAttribute("data-gradient_start_hex"),e.removeAttribute("data-gradient_finish_hex"),e.removeAttribute("data-gradient_start_opacity"),e.removeAttribute("data-gradient_finish_opacity"),e.removeAttribute("data-gradient_start_palette"),e.removeAttribute("data-gradient_finish_palette")}format(e,t){e!==this.statics.blotName?super.format(e,t):t?this.constructor.setValue(t,this.domNode):this.constructor.removeValue(this.domNode)}}Object(yo.a)(JT,"className","text-gradient"),JT.blotName="backgroundGradient",JT.tagName="span";{let e=BT.a.import("parchment");BT.a.debug("error");const t=(t,o,n="class",a="block")=>{const r={scope:"inline"===a?e.Scope.INLINE:e.Scope.BLOCK};let i;switch(n){case"class":i=new e.Attributor.Class(t,o,r);break;case"style":i=new e.Attributor.Style(t,o,r);break;default:i=new e.Attributor.Attribute(t,o,r)}BT.a.register(i)};t("lineHeight","brz-lh-lg"),t("intermediateTabletLineHeight","brz-lh-sm-im"),t("intermediateMobileLineHeight","brz-lh-xs-im"),t("tabletLineHeight","brz-lh-sm"),t("mobileLineHeight","brz-lh-xs"),t("fontSize","brz-fs-lg"),t("intermediateTabletFontSize","brz-fs-sm-im"),t("intermediateMobileFontSize","brz-fs-xs-im"),t("tabletFontSize","brz-fs-sm"),t("mobileFontSize","brz-fs-xs"),t("desktopHorizontalAlign","brz-text-lg"),t("tabletHorizontalAlign","brz-text-sm"),t("mobileHorizontalAlign","brz-text-xs"),t("letterSpacing","brz-ls-lg"),t("intermediateTabletLetterSpacing","brz-ls-sm-im"),t("intermediateMobileLetterSpacing","brz-ls-xs-im"),t("tabletLetterSpacing","brz-ls-sm"),t("mobileLetterSpacing","brz-ls-xs"),t("fontFamily","brz-ff"),t("fontFamilyType","brz-ft"),t("fontWeight","brz-fw-lg"),t("intermediateTabletWeight","brz-fw-sm-im"),t("intermediateMobileWeight","brz-fw-xs-im"),t("tabletFontWeight","brz-fw-sm"),t("mobileFontWeight","brz-fw-xs"),t("desktopMarginTop","brz-mt-lg"),t("desktopMarginBottom","brz-mb-lg"),t("tabletMarginTop","brz-mt-sm"),t("mobileMarginTop","brz-mt-xs"),t("tabletMarginBottom","brz-mb-sm"),t("mobileMarginBottom","brz-mb-xs"),t("fontStyle","brz-tp"),t("colorPalette","brz-cp","class","inline"),t("block-colorPalette","brz-bcp","class","block"),t("shadowColorPalette","brz-scp","class","inline"),t("prepopulation","brz-pre-population","class","inline"),t("opacity","opacity","style","inline"),t("shadow","text-shadow","style","inline"),t("populationColor","data-color","attribute"),BT.a.register(XT),BT.a.register(LT),BT.a.register(wT),BT.a.register(kT),BT.a.register(_T),BT.a.register(FT),BT.a.register(DT,!0),BT.a.register(UT,!0),BT.a.register(JT,!0)}const $T=BT.a.import("delta"),QT=BT.a.import("modules/keyboard");var ez=BT.a;const tz=function({index:e,length:t},o){const{prepopulation:n,population:a}=this.quill.getFormat();if(!n&&!a){if(0===t){const[{domNode:t},n]=this.quill.getLine(e);let a,r;return t.textContent.length===n?(a=(new $T).retain(e+1).insert(" \n",o.format),r=e+1):n>0?(a=(new $T).retain(e).insert("\n",o.format),r=e+1):(a=(new $T).retain(e).insert(" \n",o.format),r=e+2),this.quill.updateContents(a),void this.quill.setSelection(r,0)}return!0}},oz=function(){const{prepopulation:e,population:t}=this.quill.getFormat();return!e&&!t};var nz={enter:{key:QT.keys.ENTER,handler:tz},"header enter":tz,backspace:{key:QT.keys.BACKSPACE,handler:function({index:e,length:t},o){const n=this.quill.getLines(e,t),[{domNode:a},r]=this.quill.getLine(e),i=a.textContent.length;if(this.quill.container.textContent){if(i===t||n.length>1)return this.quill.deleteText(e,t),void this.quill.updateContents((new $T).retain(e).insert(" ",o.format));if(1===i){let t=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(o.prefix)?2:1;return this.quill.deleteText(e-t,t),void(r>0&&this.quill.updateContents((new $T).retain(e-1).insert(" ",o.format)))}}return!0}},delete:{key:QT.keys.DELETE,handler:function({index:e,length:t},o){const n=this.quill.getLines(e,t),[{domNode:a},r]=this.quill.getLine(e),i=a.textContent;if(this.quill.container.textContent.trim()||1!==this.quill.container.textContent.length){if(this.quill.container.textContent){if(i.length===t||n.length>1)return this.quill.deleteText(e,t),void this.quill.updateContents((new $T).retain(e).insert(" ",o.format));if(0===r&&1===i.length&&0===i.replace(/ /gi,"").length)return void this.quill.deleteText(e,2);if(0===r&&1===i.length)return this.quill.deleteText(e,1),void this.quill.updateContents((new $T).retain(e).insert(" ",o.format))}return!0}}},arrowUp:{key:38,handler:oz},arrowDown:{key:40,handler:oz}};function az(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const rz=(e="rgba(0, 0, 0, 1)")=>{return(e=e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i))?{hex:"#".concat(t(e[1])).concat(t(e[2])).concat(t(e[3])),opacity:e[4]}:e;function t(e){return("0"+parseInt(e,10).toString(16)).slice(-2)}},iz=e=>{const[,t,o]=e.match(/^(rgb.*\)) (.*)/)||[];if(t&&o){let{hex:e,opacity:n}=rz(t);const[a,r,i]=o.split(" ");return n=parseFloat(n),{hex:e,opacity:isNaN(n)?1:n,vertical:parseInt(r),horizontal:parseInt(a),blur:parseInt(i)}}return{}},lz=({header:e,pre:t},o)=>{const n=o.closest("pre"),a=n.prop("tagName")?n.prop("tagName").toLowerCase():null,r=o.closest("p, h1, h2, h3, h4, h5, h6"),i=r.prop("tagName")?r.prop("tagName").toLowerCase():null;return a||i},cz=e=>{const t=Object(ko.k)().map(({family:e})=>e),o=e.split(",").find(e=>t.includes(e.replace(/"/g,"")));return o?(e=>e.trim().toLowerCase().replace(/"|'/g,"").replace(/ /g,"_"))(o):null},sz=(e,t={},o)=>{t=(e=>Object.entries(e).reduce((e,[t,o])=>(e[t]=Array.isArray(o)?o[0]:o,e),{}))(t);const n=e.closest("p, :header, pre, div"),a=parseInt(e.css("fontSize")),r=e.css("color"),i=e.css("opacity"),l=e.css("text-shadow"),c=parseFloat(n.css("marginTop")),s=parseFloat(n.css("marginBottom")),d=parseFloat(e.css("lineHeight")),p=parseFloat(e.css("letterSpacing")),u=isNaN(d)?1.5:d/a,b=e.css("textAlign"),h=["left","center","right","justify"].includes(b)?b:"left",m=e.css("fontFamily"),g=parseInt(e.css("fontWeight")),v=t["".concat(o,"MarginTop")],y=t["".concat(o,"MarginBottom")],f=t.link?(e=>{const{type:t,anchor:o="",external:n,externalBlank:a,externalRel:r,population:i,externalType:l,popup:c="",upload:s}=Object(As.d)(e);return{linkType:t,linkAnchor:o.replace("#",""),linkExternal:n,linkExternalBlank:a,linkExternalRel:r,linkPopulation:i,linkExternalType:l,linkPopup:c.replace("#",""),linkUpload:s}})(t.link):{},O=t.populationColor?{populationColor:Object(As.d)(t.populationColor)}:{};let C=t.color?t.color:r;Object(mn.d)(C)||(C=rz(C).hex);const S=(e=>Object(ko.e)(e)||{})(t.fontStyle)||{},x=t.lineHeight?t.lineHeight.replace("_","."):null,j=t.tabletLineHeight?t.tabletLineHeight.replace("_","."):null,B=t.mobileLineHeight?t.mobileLineHeight.replace("_","."):null,P=t.letterSpacing?t.letterSpacing.replace("m_","-").replace("_","."):null,w=t.tabletLetterSpacing?t.tabletLetterSpacing.replace("m_","-").replace("_","."):null,T=t.mobileLetterSpacing?t.mobileLetterSpacing.replace("m_","-").replace("_","."):null,z=t.opacity||i,k=t.colorPalette?t.colorPalette.split(",")[0]:"";return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?az(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):az(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{color:{hex:C,opacity:isNaN(z)?1:z},colorPalette:k,shadow:iz(t.shadow||l),shadowColorPalette:t.shadowColorPalette||"",fontFamily:t.fontFamily||S.fontFamily||cz(m),tabletFontFamily:null,mobileFontFamily:null,fontFamilyType:S.fontFamilyType||t.fontFamilyType||"google",tabletFontFamilyType:null,mobileFontFamilyType:null,fontStyle:t.fontStyle||null,fontWeight:Number(t.fontWeight)||S.fontWeight||g,tabletFontWeight:Number(t.tabletFontWeight)||S.tabletFontWeight||null,mobileFontWeight:Number(t.mobileFontWeight)||S.mobileFontWeight||null,lineHeight:Number(x)||S.lineHeight||u,tabletLineHeight:Number(j)||S.tabletLineHeight||null,mobileLineHeight:Number(B)||S.mobileLineHeight||null,fontSize:t.fontSize||S.fontSize||a,tabletFontSize:t.tabletFontSize||S.tabletFontSize||null,mobileFontSize:t.mobileFontSize||S.mobileFontSize||null,letterSpacing:isNaN(Number(w))?S.letterSpacing||p:Number(P),tabletLetterSpacing:w&&!isNaN(Number(w))?Number(w):S.tabletLetterSpacing||null,mobileLetterSpacing:T&&!isNaN(Number(T))?Number(T):S.mobileLetterSpacing||null,backgroundImage:t.backgroundImage||null,backgroundGradient:t.backgroundGradient||null,horizontalAlign:t.horizontalAlign||h,intermediateTabletLineHeight:t.intermediateTabletLineHeight||null,intermediateMobileLineHeight:t.intermediateMobileLineHeight||null,intermediateTabletFontSize:t.intermediateTabletFontSize||null,intermediateMobileFontSize:t.intermediateMobileFontSize||null,intermediateTabletLetterSpacing:t.intermediateTabletLetterSpacing||null,intermediateMobileLetterSpacing:t.intermediateMobileLetterSpacing||null,intermediateTabletWeight:t.intermediateTabletWeight||null,intermediateMobileWeight:t.intermediateMobileWeight||null},f,{},O,{list:t.list?t.list:null,marginBottom:y||s,marginTop:v||c,tabletHorizontalAlign:t.tabletHorizontalAlign||h,mobileHorizontalAlign:t.mobileHorizontalAlign||h,population:t.population?{population:t.population,label:e.closest("[data-population]").text(),display:Object(sh.b)("richText","{{".concat(t.population,"}}")).display}:null,prepopulation:t.prepopulation?e.closest(".brz-pre-population-visible").text():null,tagName:lz(t,e)})};function dz(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function pz(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?dz(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):dz(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const uz={backgroundImage:null,backgroundGradient:null,bold:!1,color:"#000",colorPalette:null,population:null,shadow:null,shadowColorPalette:null,populationColor:{p:{hex:null,opacity:1,colorPalette:null},h1:{hex:null,opacity:1,colorPalette:null},h2:{hex:null,opacity:1,colorPalette:null},h3:{hex:null,opacity:1,colorPalette:null},h4:{hex:null,opacity:1,colorPalette:null},h5:{hex:null,opacity:1,colorPalette:null},h6:{hex:null,opacity:1,colorPalette:null}},fontFamily:null,fontType:"google",fontStyle:null,lineHeight:1.6,horizontalAlign:"left",intermediateMobileLineHeight:null,intermediateMobileFontSize:null,italic:!1,letterSpacing:null,linkType:"external",linkAnchor:"",linkExternal:"",linkExternalBlank:"off",linkExternalRel:"off",linkPopulation:"",linkExternalType:"external",linkPopup:"",list:null,marginBottom:"0",marginTop:"0",mobileLineHeight:null,mobileFontSize:null,fontsize:16,tagName:null,fontWeight:""};let bz=[];const hz=["brz-ed-content-editable-focus","brz-ed-dd-cancel"];class mz extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"isUnmounted",!1),Object(yo.a)(this,"content",Oo.a.createRef()),Object(yo.a)(this,"contentEditable",Oo.a.createRef()),Object(yo.a)(this,"initPlugin",()=>{this.quill=new ez(this.contentEditable.current,{placeholder:"Enter text here...",modules:{toolbar:!1,history:{maxStack:0},keyboard:{bindings:nz}}}),this.quill.on("selection-change",(e,t)=>{if(this.quill.hasFocus()&&!Ao.a.isEqual(e,t)){const t=this.getSelectionFormat();this.props.onSelectionChange(t,this.getCoords(e))}}),this.quill.on("text-change",()=>{const e=this.quill.getSelection(!0),t=this.getSelectionFormat();this.props.onSelectionChange(t,this.getCoords(e)),this.save(this.quill.root.innerHTML)}),this.quill.clipboard.addMatcher(Node.ELEMENT_NODE,e=>{const{color:t,colorPalette:o}=this.quill.getFormat(),n=t||o?{color:t,colorPalette:o}:null;let a=e.textContent;if(["p","h1","h2","h3","h4","h5","h6"].includes(e.tagName.toLowerCase())){let t=""===e.textContent.trim()?"\n\n ":"";a=e.textContent.trim()+t}return(new $T).insert(a,n)}),0===bz.length&&document.addEventListener("mousedown",this.onBlurAll,!1),bz.push(this)}),Object(yo.a)(this,"save",Ao.a.debounce(e=>{this.props.onTextChange(e)},1e3)),Object(yo.a)(this,"handleClick",()=>{const e=this.content.current;e&&e.classList.add(...hz)}),Object(yo.a)(this,"handleKeyPress",e=>{"#"===e.key&&this.quill.format("prepopulation","visible")}),Object(yo.a)(this,"onBlurAll",e=>{bz.forEach(t=>{const o=t.content.current;o&&!o.contains(e.target)&&o.classList.remove(...hz)})}),Object(yo.a)(this,"format",(e,t)=>{const o=this.quill.getSelection(!0),n=this.quill.getLine(o.index)[0];if("population"!==e)if(o.length)this.quill.format(e,t);else{if("link"===e){let[n]=this.quill.getLeaf(o.index);return void this.quill.formatText(this.quill.getIndex(n.parent),n.parent.length(),e,t)}const a=t||!1;this.quill.formatText(n.offset(),n.length(),e,a)}else this.setPopulation(o,t)})}componentDidMount(){const{initDelay:e}=this.props;e>0?setTimeout(()=>{this.isUnmounted||this.initPlugin()},e):this.initPlugin()}componentWillReceiveProps({value:e,forceUpdate:t}){e!==this.props.value&&(t||Object(Lo.b)().getState().historyTravelling)&&(this.destroyPlugin(),this.contentEditable.current.innerHTML=e,this.initPlugin())}shouldComponentUpdate(){return!1}componentWillUnmount(){this.isUnmounted=!0,this.destroyPlugin()}getCoords(e){const t=this.content.current,{top:o,left:n}=t.getBoundingClientRect(),a=this.quill.getBounds(e);return pz({},a,{top:a.top+o+window.scrollY,left:a.left+n})}destroyPlugin(){this.quill=null,bz.splice(bz.indexOf(this),1),0===bz.length&&document.removeEventListener("mousedown",this.onBlurAll,!1)}restoreSelection(e,t){const o=this.quill.getLines(e,t),n=this.quill.getLine(e),a=n&&n[0].domNode.textContent.length;1===o.length&&a<t-e&&this.quill.setSelection(e,a)}getSelectionFormat(){const{deviceMode:e}=Object(Lo.b)().getState().ui;if(!this.quill.getSelection(!0))return uz;const{index:t,length:o}=this.quill.getSelection(!0);this.restoreSelection(t,o);const[{parent:{domNode:n}}]=this.quill.getLeaf(t+o),a=this.quill.getFormat(),r=sz(hn()(n),a,e);return pz({},uz,{},r)}render(){const{value:e}=this.props;return Oo.a.createElement("div",{ref:this.content,className:"brz-ed-content-editable-wrap"},Oo.a.createElement("div",{className:"brz-ed-content-editable-child"}),Oo.a.createElement("div",{ref:this.contentEditable,dangerouslySetInnerHTML:{__html:e},onClick:this.handleClick,onKeyPress:this.handleKeyPress}),Oo.a.createElement("div",{ref:e=>this.population=e}))}setPopulation(e,t){let[o,n]=this.quill.getLeaf(e.index);const a=this.quill.getLine(e.index)[0];let{label:r,display:i="inline"}=Object(sh.b)("richText",t);r="#".concat(r);const l=this.quill.getFormat();let{index:c,length:s}=e;(l.prepopulation||l.population)&&(c=e.index-n,s=o.length());const d=t.replace("{{","").replace("}}","");this.quill.deleteText(c,s);let p=pz({},l,{population:d,dcBlock:!1,populationColor:!1});if("inline"===i)this.quill.insertText(c,r,p),this.quill.format("dcBlock",!1),this.quill.format("populationColor",!1),this.quill.insertText(c+r.length," ",{population:null}),c+=1;else{p.dcBlock=!0;const e=a.domNode.innerText;e.trim().length?a.offset()+e.length===c?(this.quill.insertText(c,"\n"),c+=1,this.quill.insertText(c,r,p),this.quill.format("dcBlock",!0)):a.offset()===c?this.quill.insertText(c,"".concat(r,"\n"),p):(this.quill.insertText(c,"\n"),c+=1,this.quill.insertText(c,"".concat(r,"\n"),p)):(this.quill.insertText(c,r,p),this.quill.format("dcBlock",!0))}this.quill.setSelection(c+r.length,0)}}function gz(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function vz(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?gz(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):gz(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const yz=Object(sh.c)("image"),fz=({hex:e,opacity:t})=>Object(mn.c)(e,t),Oz=e=>"".concat(fz({hex:e.hex,opacity:e.opacity})," ").concat(e.horizontal,"px ").concat(e.vertical,"px ").concat(e.blur,"px"),Cz=(e,t,o)=>{if("hex"===o.isChanged){const n=Object(kn.setIn)(e,[t,"hex"],o.hex);return Object(As.e)(Object(kn.setIn)(n,[t,"colorPalette"],null))}if("opacity"===o.isChanged)return Object(As.e)(Object(kn.setIn)(e,[t,"opacity"],o.opacity));const n=Object(kn.setIn)(e,[t,"colorPalette"],o.palette);return Object(As.e)(Object(kn.setIn)(n,[t,"hex"],null))},Sz=(e,t)=>{const o=Object.assign({},{hex:"#000000",opacity:1,vertical:5,horizontal:5,blur:5},e);switch(t.isChanged){case"select":return{shadow:"none"===t.select?null:Oz(o),shadowColorPalette:null};case"hex":return{shadow:Oz(vz({},o,{hex:t.hex})),shadowColorPalette:null};case"opacity":return{shadow:Oz(vz({},o,{opacity:t.opacity}))};default:{const{hex:e}=Object(mn.a)(t.palette);return{shadow:Oz(vz({},o,{hex:e})),shadowColorPalette:t.palette}}}},xz=(e,t)=>{const o=vz({},{type:"linear-gradient",radialPosition:90,linearAngle:90,startPointer:0,finishPointer:100,activePointer:"startPointer",startHex:"#239ddb",finishHex:"#009900",startOpacity:1,finishOpacity:.8,startPalette:"",finishPalette:""},{},e);switch(t.isChanged){case"select":return"gradient"===t.select?{backgroundGradient:vz({},o,{startHex:t.hex,startOpacity:t.opacity,startPalette:t.palette}),color:null,opacity:null,colorPalette:""}:{backgroundGradient:null,color:t.hex,opacity:t.opacity,colorPalette:t.palette};case"hex":if("gradient"===t.select){return{backgroundGradient:vz({},o,{},"startPointer"===t.activePointer?{startHex:t.hex}:{finishHex:t.hex},{},"startPointer"===t.activePointer?{startPalette:""}:{finishPalette:""})}}return{color:t.hex,colorPalette:""};case"opacity":if("gradient"===t.select){return{backgroundGradient:vz({},o,{},"startPointer"===t.activePointer?{startOpacity:String(t.opacity)}:{finishOpacity:String(t.opacity)})}}return{opacity:String(t.opacity)};case"activePointer":return{backgroundGradient:vz({},o,{activePointer:t.activePointer})};case"startPointer":return{backgroundGradient:vz({},o,{startPointer:t.startPointer})};case"finishPointer":return{backgroundGradient:vz({},o,{finishPointer:t.finishPointer})};case"palette":if("gradient"===t.select){const e=(t.activePointer,t.palette),{hex:n}=Object(mn.a)(e);return{backgroundGradient:vz({},o,{},"startPointer"===t.activePointer?{startHex:n}:{finishHex:n},{},"startPointer"===t.activePointer?{startPalette:t.palette}:{finishPalette:t.palette})}}return{color:null,colorPalette:t.palette}}},jz=(e,t)=>e&&!e.startHex?{color:t.hex,colorPalette:""}:e&&"startPointer"===e.activePointer?{backgroundGradient:vz({},e,{startHex:t.hex})}:e&&"finishPointer"===e.activePointer?{backgroundGradient:vz({},e,{finishHex:t.hex})}:e?void 0:{color:t.hex,colorPalette:null},Bz=(e,t)=>({backgroundGradient:vz({},e,{type:"linear"===t?"linear-gradient":"radial-gradient"})}),Pz=(e,t)=>({backgroundGradient:vz({},e,{linearAngle:t})}),wz=(e,t)=>({backgroundGradient:vz({},e,{radialPosition:t})});function Tz({populationColor:e},t){const o={p:Object(an.a)("P"),h1:Object(an.a)("H1"),h2:Object(an.a)("H2"),h3:Object(an.a)("H3"),h4:Object(an.a)("H4"),h5:Object(an.a)("H5"),h6:Object(an.a)("H6")};return Object.entries(e).reduce((n,[a,r])=>{const{hex:i}=Object(mn.a)(r.colorPalette)||{};return n.push({label:o[a],options:[{id:"paragraphColor",type:"colorPicker2",select:{show:!1},value:{hex:i||r.hex,opacity:r.opacity,palette:r.colorPalette},onChange:o=>t({populationColor:Cz(e,a,o)})},{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:41,options:[{id:"paragraphColorFields",type:"colorFields",position:30,value:{hex:i||r.hex,opacity:r.opacity},onChange:o=>t(Cz(e,a,o))}]}]}]}),n},[])}function zz({populationColor:e},t){return[{id:"color",tabsPosition:"left",type:"tabs",tabs:[{tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:"colorTabs",className:"",type:"tabs",tabs:Tz({populationColor:e},t)}]}]}]}function kz(e,{device:t},o){const{src:n=null,population:a=null,x:r=null,y:i=null,extension:l=null,width:c=null,height:s=null}=e.backgroundImage||{},{type:d,radialPosition:p,linearAngle:u,startPointer:b,finishPointer:h,activePointer:m,startHex:g,finishHex:v,startOpacity:y,finishOpacity:f,startPalette:O,finishPalette:C}=e.backgroundGradient||{};let S={},x={};if(g){const e="startPointer"===m;S={colorType:"gradient",colorHex:g,colorOpacity:y,colorPalette:O,gradientStartPointer:b,gradientFinishPointer:h,gradientActivePointer:m,gradientColorHex:v,gradientColorOpacity:f,gradientColorPalette:C},x={colorHex:e?g:v,colorPalette:e?O:C}}else S={colorType:"solid",colorHex:e.color.hex,colorOpacity:e.color.opacity,colorPalette:e.colorPalette},x={colorHex:e.color.hex,colorPalette:e.colorPalette};const j={gradientLinearDegree:u},B={gradientRadialDegree:p},P={gradientType:"linear-gradient"===d?"linear":"radial"};return[{id:"colorTabs",type:"tabs",tabs:[{id:"tabText",label:Object(an.a)("Color"),options:[vz({},Object(ej.d)({v:S,prefix:"",device:t,state:"normal"}),{onChange:t=>o(xz(e.backgroundGradient,t))}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[vz({},Object(ej.e)({v:x,device:t,state:"normal",prefix:""}),{onChange:t=>o(jz(e.backgroundGradient,t))})]},{width:52,options:[vz({},Object(ej.bc)({v:P,device:t,state:"normal",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:!g}),{onChange:t=>o(Bz(e.backgroundGradient,t))})]},{width:18,options:[vz({},Object(ej.Zb)({v:j,device:t,state:"normal",disabled:!g||"radial-gradient"===d}),{onChange:t=>o(Pz(e.backgroundGradient,t))}),vz({},Object(ej.ac)({v:B,device:t,state:"normal",disabled:!g||"linear-gradient"===d}),{onChange:t=>o(wz(e.backgroundGradient,t))})]}]}]},{id:"tabShadow",label:Object(an.a)("Shadow"),options:[{id:"color",type:"colorPicker2",select:{show:!0,choices:[{title:Object(an.a)("Shadow"),value:"shadow"},{title:Object(an.a)("None"),value:"none"}]},value:{select:e.shadow.hex?"shadow":"none",hex:e.shadow.hex,opacity:e.shadow.opacity,palette:e.shadowColorPalette},onChange:t=>o(Sz(e.shadow,t))},{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:50,options:[{id:"bgColorFields",type:"colorFields",position:30,value:{hex:e.shadow.hex,opacity:e.shadow.opacity},onChange:t=>o(Sz(e.shadow,t))}]},{width:50,options:[{id:"texShadow",type:"multiInput",config:{defaultIcon:["nc-shadow"],icons:["nc-blur","nc-vertical","nc-horizontal"]},value:[e.shadow.blur,e.shadow.vertical,e.shadow.horizontal],onChange:([t,n,a])=>o({shadow:Oz(vz({},e.shadow,{blur:t,vertical:n,horizontal:a}))})}]}]}]},{id:"tabImage",label:Object(an.a)("Mask"),options:[{id:"image",label:Object(an.a)("Image"),type:"imageSetter",population:{show:yz.length>0,choices:yz},value:{src:n,population:a,width:c,height:s,x:r,y:i,extension:l},onChange:({width:e,height:t,src:n,x:a,y:r,population:i,extension:l})=>o({backgroundImage:{src:n,population:i,x:a=a||50,y:r=r||50,extension:l,width:e,height:t}})}]}]}]}var Ez=(e,{device:t},o)=>{const{isPopulationBlock:n,populationColor:a}=e;return{id:"toolbarColor",type:"popover",size:"auto",devices:"desktop",title:Object(an.a)("Colors"),roles:["admin"],position:20,icon:{style:{backgroundColor:fz(e.color)}},options:n?zz({populationColor:a},o):kz(e,{device:t},o)}};function Hz(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _z(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Hz(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Hz(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Rz=Boolean(Bo.a.get("pro")),Mz=(e,t)=>{if(!e)return t;const o=Object(ko.f)().find(t=>t.id===e);return _z({lineHeight:String(o.lineHeight).replace(".","_"),intermediateTabletLineHeight:String(o.tabletLineHeight).replace(".","_"),intermediateMobileLineHeight:String(o.mobileLineHeight).replace(".","_"),fontSize:String(o.fontSize),intermediateTabletFontSize:String(o.tabletFontSize),intermediateMobileFontSize:String(o.mobileFontSize),letterSpacing:String(o.letterSpacing).replace(".","_").replace("-","m_"),intermediateTabletLetterSpacing:String(o.tabletLetterSpacing).replace(".","_").replace("-","m_"),intermediateMobileLetterSpacing:String(o.mobileLetterSpacing).replace(".","_").replace("-","m_"),fontFamily:String(o.fontFamily),fontFamilyType:String(o.fontFamilyType),fontWeight:String(o.fontWeight),intermediateTabletWeight:String(o.tabletFontWeight),intermediateMobileWeight:String(o.mobileFontWeight),fontStyle:null},t)},Iz=(e,t,o,{toDec:n=!1,min:a=1,max:r=100})=>{o=o||t||"";const i=Number(o)+(Number(t)-Number(e)),l=n?(e=>Math.round(10*e)/10)(i):Math.round(i);return Math.min(Math.max(a,l),r)};var Fz=function(e,t){return{getItems:Nz(e,t)}};const Nz=(e,t)=>({device:o,component:n})=>{const a=Boolean(n.props.meta.sectionPopup),r=Boolean(n.props.meta.sectionPopup2),i=e.population&&"block"===e.population.display;let l;l="desktop"===o?!Rz||a||r||Xa.b:"popup"!==e.linkType||""===e.linkPopup;const c=i||"desktop"!==o&&l;return[{id:"toolbarFont",type:"popover",icon:"nc-font",size:"desktop"===o?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:10,disabled:i,options:[{type:"grid",className:"brz-ed-grid__typography",columns:[{width:54,options:[_z({},Object(ej.Gc)({v:e,device:o,devices:"desktop",state:"normal"}),{onChange:({id:o,weights:n,type:a})=>{const{fontFamily:r,fontWeight:i}=e,l=Mz(e.fontStyle,((e,t)=>({fontFamily:String(e),fontFamilyType:t.type,fontWeight:String(Object(ko.m)(t.fontWeight,t.weights))}))(o,{type:a,fontFamily:r,fontWeight:i,weights:n}));let c={};e.mobileFontWeight||(c={intermediateTabletWeight:l.fontWeight,intermediateMobileWeight:l.fontWeight}),t(_z({},l,{},c))}})]},{width:46,className:"brz-ed-popover__typography",options:[_z({},Object(ej.Ic)({v:e,device:o,devices:"desktop",state:"normal"}),{onChange:o=>{t(o?{fontStyle:o.toLowerCase(),fontFamily:null,fontFamilyType:null,fontSize:null,lineHeight:null,fontWeight:null,letterSpacing:null,intermediateTabletFontSize:null,intermediateMobileFontSize:null,intermediateTabletLineHeight:null,intermediateMobileLineHeight:null,intermediateTabletLetterSpacing:null,intermediateMobileLetterSpacing:null,intermediateTabletWeight:null,intermediateMobileWeight:null}:Mz(e.fontStyle,{}))}}),{type:"grid",className:"brz-ed-grid__typography",columns:[{width:50,options:[_z({},Object(ej.Hc)({v:e,device:o,state:"normal"}),{min:6,max:300,onChange:n=>{if("desktop"!==o)return void t({["".concat(o,"FontSize")]:String(n),["intermediate".concat(Object(As.c)(o),"FontSize")]:null});const a=Object(ko.e)(e.fontStyle)||{},r=Mz(e.fontStyle,{fontSize:String(n)});let i={intermediateTabletFontSize:null,intermediateMobileFontSize:null};if(!e.mobileFontSize||e.mobileFontSize&&a.mobileFontSize===e.mobileFontSize){const t=e.intermediateMobileFontSize||r.intermediateMobileFontSize;i.intermediateMobileFontSize=Iz(e.fontSize,n,t,{min:6,max:300})}if(!e.tabletFontSize||e.tabletFontSize&&a.tabletFontSize===e.tabletFontSize){const t=e.intermediateTabletFontSize||r.intermediateTabletFontSize;i.intermediateTabletFontSize=Iz(e.fontSize,n,t,{min:6,max:300})}t(_z({},r,{},i))}}),_z({},Object(ej.Lc)({v:e,device:o,state:"normal"}),{min:1,max:5,onChange:n=>{if("desktop"!==o)return void t({["".concat(o,"LineHeight")]:String(n).replace(".","_"),["intermediate".concat(Object(As.c)(o),"LineHeight")]:null});const a=Object(ko.e)(e.fontStyle)||{},r=Mz(e.fontStyle,{lineHeight:String(n).replace(".","_")});let i={intermediateTabletLineHeight:null,intermediateMobileLineHeight:null};if(!e.mobileLineHeight||e.mobileLineHeight&&a.mobileLineHeight===e.mobileLineHeight){const t=e.intermediateMobileLineHeight||r.intermediateMobileLineHeight||"";i.intermediateMobileLineHeight=String(Iz(e.lineHeight,n,t.replace("_","."),{toDec:!0,min:1,max:5})).replace(".","_")}if(!e.tabletLineHeight||e.tabletLineHeight&&a.tabletLineHeight===e.tabletLineHeight){const t=e.intermediateTabletLineHeight||r.intermediateTabletLineHeight||"";i.intermediateTabletLineHeight=String(Iz(e.lineHeight,n,t.replace("_","."),{toDec:!0,min:1,max:5})).replace(".","_")}t(_z({},r,{},i))}})]},{width:50,options:[_z({},Object(ej.Jc)({v:e,device:o,state:"normal"}),{onChange:n=>{if("desktop"!==o)return void t({["".concat(o,"FontWeight")]:String(n),["intermediate".concat(Object(As.c)(o),"FontWeight")]:null});let a={intermediateTabletWeight:null,intermediateMobileWeight:null};const r=Object(ko.e)(e.fontStyle)||{};(!e.mobileFontWeight||e.mobileFontWeight&&r.mobileFontWeight===e.mobileFontWeight)&&(a.intermediateMobileWeight=n),(!e.tabletFontWeight||e.tabletFontWeight&&r.tabletFontWeight===e.tabletFontWeight)&&(a.intermediateTabletWeight=n),t(Mz(e.fontStyle,_z({fontWeight:n},a)))}}),_z({},Object(ej.Kc)({v:e,device:o,state:"normal"}),{onChange:n=>{const a=e=>Number(String(e).replace("m_","-").replace("_",".")),r=e=>String(e).replace(".","_").replace("-","m_");if("desktop"!==o)return void t({["".concat(o,"LetterSpacing")]:r(n),["intermediate".concat(Object(As.c)(o),"LetterSpacing")]:null});const i=Object(ko.e)(e.fontStyle)||{},l=Mz(e.fontStyle,{letterSpacing:r(n)});let c={intermediateTabletLetterSpacing:null,intermediateMobileLetterSpacing:null};if(!e.mobileLetterSpacing||e.mobileLetterSpacing&&i.mobileLetterSpacing===e.mobileLetterSpacing){const t=e.intermediateMobileLetterSpacing||l.intermediateMobileLetterSpacing||"",o=Iz(e.letterSpacing,n,a(t),{min:-5,max:15});c.intermediateMobileLetterSpacing=r(o)}if(!e.tabletLetterSpacing||e.tabletLetterSpacing&&i.tabletLetterSpacing===e.tabletLetterSpacing){const t=e.intermediateTabletLetterSpacing||l.intermediateTabletLetterSpacing||"",o=Iz(e.letterSpacing,n,a(t),{min:-5,max:15});c.intermediateTabletLetterSpacing=r(o)}t(_z({},l,{},c))}})]}]}]}]}]},Ez(_z({},e,{isPopulationBlock:i}),{device:o,component:n},t),{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"richTextHorizontalAlign",label:Object(an.a)("Align"),type:"toggle",position:30,disabled:i,choices:[{icon:"nc-text-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-text-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-text-align-right",title:Object(an.a)("Align"),value:"right"},{icon:"nc-text-align-justify",title:Object(an.a)("Align"),value:"justify"}],value:"desktop"===o?e.horizontalAlign:e["".concat(o,"HorizontalAlign")],onChange:e=>t({["".concat(o,"HorizontalAlign")]:String(e)})},{id:"list",type:"toggle",position:40,disabled:"desktop"!==o||i,choices:[{icon:"nc-list-numbers",title:Object(an.a)("List"),value:"ordered"},{icon:"nc-list-bullet",title:Object(an.a)("List"),value:"bullet"},{icon:"nc-list-default",title:Object(an.a)("List"),value:null}],value:e.list,onChange:e=>t({list:e})},{id:"bold",type:"button",icon:"nc-bold",title:Object(an.a)("Bold"),position:50,disabled:"desktop"!==o||i,value:e.bold,onChange:e=>t({bold:e})},{id:"italic",type:"button",icon:"nc-italic",title:Object(an.a)("Italic"),position:60,disabled:"desktop"!==o||i,value:e.italic,onChange:e=>t({italic:e})},{id:"toolbarLink",type:"popover",icon:"nc-link",disabled:c,size:"medium",title:Object(an.a)("Link"),position:80,options:[{id:"linkType",type:"tabs",value:e.linkType,tabs:[{id:"external",label:Object(an.a)("URL"),options:[_z({},Object(ej.hc)({v:e}),{disabled:"desktop"!==o,onChange:({value:o,population:n},{changed:a,changeEvent:r})=>{"blur"!==r&&"population"!==a||t({link:Object(As.e)({type:e.linkType,anchor:e.linkAnchor?"#".concat(e.linkAnchor):"",external:o,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:"value"===a?"external":"population",population:n,popup:e.linkPopup?"#".concat(e.linkPopup):"",upload:e.linkUpload})})}}),_z({},Object(ej.ic)({v:e}),{disabled:"desktop"!==o,onChange:o=>t({link:Object(As.e)({type:e.linkType,anchor:e.linkAnchor?"#".concat(e.linkAnchor):"",external:e.linkExternal,externalBlank:o,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,popup:e.linkPopup?"#".concat(e.linkPopup):"",upload:e.linkUpload})})}),_z({},Object(ej.jc)({v:e}),{disabled:"desktop"!==o,onChange:o=>t({link:Object(As.e)({type:e.linkType,anchor:e.linkAnchor?"#".concat(e.linkAnchor):"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:o,externalType:e.linkExternalType,population:e.linkPopulation,popup:e.linkPopup?"#".concat(e.linkPopup):"",upload:e.linkUpload})})})]},{id:"anchor",label:Object(an.a)("Block"),disabled:"desktop"!==o,options:[_z({},Object(ej.gc)({v:e}),{disabled:"desktop"!==o,onChange:o=>t({link:Object(As.e)({type:e.linkType,anchor:o?"#".concat(o):"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,popup:e.linkPopup?"#".concat(e.linkPopup):"",upload:e.linkUpload})})})]},{id:"upload",label:Object(an.a)("File"),disabled:"desktop"!==o,options:[_z({},Object(ej.lc)({v:e,component:n}),{disabled:!Rz||"desktop"!==o,onChange:o=>t({link:Object(As.e)({type:e.linkType,anchor:e.linkAnchor?"#".concat(e.linkAnchor):"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,popup:e.linkPopup?"#".concat(e.linkPopup):"",upload:o})})})]},{id:"popup",label:Object(an.a)("Popup"),options:[_z({},Object(ej.kc)({v:e,component:n,canDelete:"desktop"===o}),{disabled:l,onChange:({value:o,popups:n})=>t({link:Object(As.e)({type:e.linkType,anchor:e.linkAnchor?"#".concat(e.linkAnchor):"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,popup:o?"#".concat(o):"",upload:e.linkUpload}),popups:n})})]}],onChange:o=>t({link:Object(As.e)({type:o,anchor:e.linkAnchor?"#".concat(e.linkAnchor):"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,popup:e.linkPopup?"#".concat(e.linkPopup):"",upload:e.linkUpload})})}]},{id:"toolbarSettings",type:"popover",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"marginTop",label:Object(an.a)("Gap Above"),type:"slider",slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.marginTop},onChange:({value:e})=>t({["".concat(o,"MarginTop")]:String(e)})},{id:"marginBottom",label:Object(an.a)("Gap Below"),type:"slider",slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.marginBottom},onChange:({value:e})=>t({["".concat(o,"MarginBottom")]:String(e)})},{id:"tag",label:Object(an.a)("HTML Tag"),type:"select",className:"brz-control__select--small",disabled:i,choices:[{title:Object(an.a)("P"),value:"p"},{title:Object(an.a)("H1"),value:"h1"},{title:Object(an.a)("H2"),value:"h2"},{title:Object(an.a)("H3"),value:"h3"},{title:Object(an.a)("H4"),value:"h4"},{title:Object(an.a)("H5"),value:"h5"},{title:Object(an.a)("H6"),value:"h6"},{title:Object(an.a)("PRE"),value:"pre"}],onChange:e=>t((e=>{switch(e){case"p":return{pre:!1,header:null};case"pre":return{header:!1,pre:e};default:return{pre:!1,header:e}}})(e)),value:e.tagName},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}]},Lz=Object(an.a)("Text");function Wz(){return[]}var Vz=o(405);function Dz(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Az(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Dz(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Dz(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Gz extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"state",{formats:{},isToolbarOpened:!1,prepopulation:null,population:null,selectionCoords:null}),Object(yo.a)(this,"quillRef",Oo.a.createRef()),Object(yo.a)(this,"toolbarRef",Oo.a.createRef()),Object(yo.a)(this,"handleSelectionChange",(e,t)=>{const o={formats:e};(this.state.prepopulation!==e.prepopulation||t&&this.state.selectionCoords!==t||e.population)&&Object.assign(o,{prepopulation:e.prepopulation,population:e.population,selectionCoords:t}),this.setState(o,()=>this.toolbarRef.current.show())}),Object(yo.a)(this,"handleTextChange",e=>{let t;this.tmpPopups&&(t=this.tmpPopups,this.tmpPopups=null),this.patchValue(Az({text:e},t?{popups:t}:{}))}),Object(yo.a)(this,"handlePopulationSet",e=>{this.quillRef.current.format("population",e),this.quillRef.current.format("prepopulation",null)}),Object(yo.a)(this,"handlePopulationClickOutside",()=>{this.setState({prepopulation:null,population:null})}),Object(yo.a)(this,"handleToolbarOpen",()=>{this.setState({isToolbarOpened:!0})}),Object(yo.a)(this,"handleToolbarClose",()=>{this.setState({isToolbarOpened:!1})}),Object(yo.a)(this,"handleToolbarChange",e=>{const t=document.activeElement;e.popups&&(this.tmpPopups=e.popups);for(const[t,o]of Object.entries(e))"popups"!==t&&this.quillRef.current.format(t,o);So.a.findDOMNode(this).contains(t)||t.focus&&t.focus()}),Object(yo.a)(this,"handleKeyDown",()=>{}),Object(yo.a)(this,"handleKeyUp",()=>{})}static get componentId(){return"RichText"}componentDidMount(){So.a.findDOMNode(this).addEventListener("click",e=>e.toolbarHandled=!0,!1)}getClassName(e){return ra()("brz-rich-text",e.className)}renderPopulationHelper(){const{prepopulation:e,population:t,selectionCoords:{left:o,top:n,height:a}}=this.state;let r=t?t.label:e;const i={width:"130px",left:o,top:n+a},l=Object(sh.c)("richText")||[],c=new RegExp(r.substr(1).replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"i"),s=l.filter(({title:e})=>c.test(e)),d=Oo.a.createElement(oa.a,{onClickOutside:this.handlePopulationClickOutside},Oo.a.createElement(xT,{style:i,value:s,onChange:this.handlePopulationSet}));return So.a.createPortal(d,document.body)}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let t=!1;"GlobalBlock"===e.type&&(e=Object(nn.k)(Object(Lo.b)().getState())[e.value.globalBlockId].data,t=!0);const{blockId:o,value:{popupId:n}}=e;return{blockId:o,instanceKey:"".concat(this.getId(),"_").concat(n)}}});return Oo.a.createElement(Ju.a,e)}renderForEdit(e){const{formats:t,prepopulation:o,population:n,isToolbarOpened:a}=this.state,{meta:r={}}=this.props,{popups:i}=e,l=Boolean(r.sectionPopup),c=Boolean(r.sectionPopup2),s=Fz(Az({},t,{popups:this.tmpPopups||e.popups}),this.handleToolbarChange),d=!Object(Ki.b)()&&(null!==o||n);return Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(fr.a,{shortcutsTypes:["copy","paste","delete"],id:this.getId(),onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp},Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(Aa.c,Object(ta.a)({},this.makeToolbarPropsFromConfig2(s,A),{ref:this.toolbarRef,manualControl:!0,onOpen:this.handleToolbarOpen,onClose:this.handleToolbarClose,repositionOnUpdates:!0}),Oo.a.createElement("div",{className:this.getClassName(e)},Oo.a.createElement(mz,{ref:this.quillRef,value:e.text,forceUpdate:!a,onSelectionChange:this.handleSelectionChange,onTextChange:this.handleTextChange,initDelay:l||c||Xa.b?1e3:0}))))),d&&this.renderPopulationHelper(),i.length>0&&this.renderPopups())}renderForView(e){const{popups:t}=e;return Oo.a.createElement(fo.Fragment,null,Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:this.getClassName(e),dangerouslySetInnerHTML:{__html:e.text}})),t.length>0&&this.renderPopups())}}Object(yo.a)(Gz,"defaultValue",Vz);var Uz=Gz;const Kz=e=>{const{deviceMode:t}=Object(Lo.b)().getState().ui;return"desktop"!==t?"".concat(t).concat(Object(As.c)(e)):e},qz=e=>e.reduce((e,t)=>(e[t]=!0,e),{}),Yz={height:{min:3,max:1/0},size:{min:3,max:100},width:{min:3,max:100},tabletHeight:{min:3,max:1/0},tabletSize:{min:3,max:100},tabletWidth:{min:3,max:100},mobileHeight:{min:3,max:1/0},mobileSize:{min:3,max:100},mobileWidth:{min:3,max:100}};class Xz extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{showPoints:!1}),Object(yo.a)(this,"contentRef",Oo.a.createRef()),Object(yo.a)(this,"startValue",null),Object(yo.a)(this,"startRect",null),Object(yo.a)(this,"cachedPoints",qz(this.props.points)),Object(yo.a)(this,"handleClick",()=>{this.setState({showPoints:!0})}),Object(yo.a)(this,"handleClickOutside",()=>{this.state.showPoints&&this.setState({showPoints:!1})}),Object(yo.a)(this,"handleDragStart",()=>{this.startValue=this.props.value;const e=this.contentRef.current;e&&(this.startRect=e.getBoundingClientRect()),Object(Aa.d)()}),Object(yo.a)(this,"handleDragEnd",()=>{this.startValue=null,this.startRect=null,Object(Aa.e)()}),Object(yo.a)(this,"handleTopCenterDrag",e=>this.handleDrag("topCenter",e)),Object(yo.a)(this,"handleBottomCenterDrag",e=>this.handleDrag("bottomCenter",e)),Object(yo.a)(this,"handleCenterLeftDrag",e=>this.handleDrag("centerLeft",e)),Object(yo.a)(this,"handleCenterRightDrag",e=>this.handleDrag("centerRight",e)),Object(yo.a)(this,"handleTopLeftDrag",e=>this.handleDrag("topLeft",e)),Object(yo.a)(this,"handleTopRightDrag",e=>this.handleDrag("topRight",e)),Object(yo.a)(this,"handleBottomLeftDrag",e=>this.handleDrag("bottomLeft",e)),Object(yo.a)(this,"handleBottomRightDrag",e=>this.handleDrag("bottomRight",e))}componentWillReceiveProps(e){this.props.points!==e.points&&(this.cachedPoints=qz(e.points))}handleDrag(e,{deltaX:t,deltaY:o}){let n;const a=Kz("horizontalAlign"),r="center"===this.props.meta[a]?2:1;switch(e){case"topCenter":n=[["height",-o]];break;case"bottomCenter":n=[["height",o]];break;case"centerLeft":n=[["width",-t*r]];break;case"centerRight":n=[["width",t*r]];break;case"topLeft":{const e=-t*r,a=-o;n=Boolean(this.props.value.size)?[["size",{dx:e,dy:a}]]:[["width",e],["height",a]];break}case"topRight":{const e=t*r,a=-o;n=Boolean(this.props.value.size)?[["size",{dx:e,dy:a}]]:[["width",e],["height",a]];break}case"bottomLeft":{const e=-t*r,a=o;n=Boolean(this.props.value.size)?[["size",{dx:e,dy:a}]]:[["width",e],["height",a]];break}case"bottomRight":{const e=t*r,a=o;n=Boolean(this.props.value.size)?[["size",{dx:e,dy:a}]]:[["width",e],["height",a]];break}}const i=n.reduce((e,[t,o])=>{const n=Kz(t),a=this.startValue[n]||this.startValue[t];let r,i=this.startRect[t];if("size"===t){const{dx:e,dy:t}=o;r=e/this.startRect.width<t/this.startRect.height?e/this.startRect.width*this.startValue[n]:t/this.startRect.height*this.startValue[n]}else r=o*a/i;const l=this.props.restrictions[n]||Yz[n];return e[n]=Object(YB.a)(Math.round(a+r),l.min,l.max),e},{});this.props.onChange(i)}renderForEdit(){const{showPoints:e}=this.state,{children:t}=this.props,{topCenter:o,topRight:n,centerRight:a,bottomLeft:r,bottomCenter:i,bottomRight:l,centerLeft:c,topLeft:s}=this.cachedPoints;return Oo.a.createElement(oa.a,{onClickOutside:this.handleClickOutside},Oo.a.createElement("div",{ref:this.contentRef,className:"brz-ed-box__resizer",onClick:this.handleClick},t,e&&o&&Oo.a.createElement(sP.a,{key:"topCenter",className:"brz-ed-box__resizer--point brz-ed-box__resizer--top-center",draggingCursor:"ns-resize",onDragStart:this.handleDragStart,onDrag:this.handleTopCenterDrag,onDragEnd:this.handleDragEnd}),e&&n&&Oo.a.createElement(sP.a,{key:"topRight",className:"brz-ed-box__resizer--point brz-ed-box__resizer--top-right",draggingCursor:"nesw-resize",onDragStart:this.handleDragStart,onDrag:this.handleTopRightDrag,onDragEnd:this.handleDragEnd}),e&&a&&Oo.a.createElement(sP.a,{key:"centerRight",className:"brz-ed-box__resizer--point brz-ed-box__resizer--center-right",draggingCursor:"col-resize",onDragStart:this.handleDragStart,onDrag:this.handleCenterRightDrag,onDragEnd:this.handleDragEnd}),e&&r&&Oo.a.createElement(sP.a,{key:"bottomLeft",className:"brz-ed-box__resizer--point brz-ed-box__resizer--bottom-left",draggingCursor:"nesw-resize",onDragStart:this.handleDragStart,onDrag:this.handleBottomLeftDrag,onDragEnd:this.handleDragEnd}),e&&i&&Oo.a.createElement(sP.a,{key:"bottomCenter",className:"brz-ed-box__resizer--point brz-ed-box__resizer--bottom-center",draggingCursor:"ns-resize",onDragStart:this.handleDragStart,onDrag:this.handleBottomCenterDrag,onDragEnd:this.handleDragEnd}),e&&l&&Oo.a.createElement(sP.a,{key:"bottomRight",className:"brz-ed-box__resizer--point brz-ed-box__resizer--bottom-right",draggingCursor:"nwse-resize",onDragStart:this.handleDragStart,onDrag:this.handleBottomRightDrag,onDragEnd:this.handleDragEnd}),e&&c&&Oo.a.createElement(sP.a,{key:"centerLeft",className:"brz-ed-box__resizer--point brz-ed-box__resizer--center-left",draggingCursor:"col-resize",onDragStart:this.handleDragStart,onDrag:this.handleCenterLeftDrag,onDragEnd:this.handleDragEnd}),e&&s&&Oo.a.createElement(sP.a,{key:"topLeft",className:"brz-ed-box__resizer--point brz-ed-box__resizer--top-left",draggingCursor:"nwse-resize",onDragStart:this.handleDragStart,onDrag:this.handleTopLeftDrag,onDragEnd:this.handleDragEnd})))}renderForView(){return this.props.children}render(){return this.renderForEdit()}}Object(yo.a)(Xz,"defaultProps",{points:["topCenter","topRight","centerRight","bottomLeft","bottomCenter","bottomRight","centerLeft","topLeft"],restrictions:{},meta:{},onChange:Ao.a.noop});var Zz=Object(Ca.c)({allow:["admin"],component:Xz,fallbackRender:({children:e})=>e});class Jz extends Oo.a.Component{render(){const{className:e,icon:t,style:o}=this.props,n=ra()("brz-shortcode__placeholder",e);return Oo.a.createElement("div",{className:n,style:o},Oo.a.createElement(ml.a,{name:t,type:"editor"}))}}function $z({v:e,device:t}){const o=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t}),{hex:n}=Object(sh.d)(o("bgColorHex"),o("bgColorPalette")),{hex:a}=Object(sh.d)(o("borderColorHex"),o("borderColorPalette")),r=Object(sh.c)("richText"),i=Boolean(Bo.a.get("pro"))?[{title:Object(an.a)("Custom Video"),value:"custom"}]:[];return[{id:"toolbarCurrentElement",type:"popover",icon:"nc-play",title:Object(an.a)("Video"),position:80,options:[{id:"tabsCurrentElement",type:"tabs",tabs:[{id:"tabCurrentElement",label:Object(an.a)("Video"),options:[{id:"type",label:Object(an.a)("Type"),type:"select-dev",devices:"desktop",choices:[{title:Object(an.a)("Youtube"),value:"youtube"},{title:Object(an.a)("Vimeo"),value:"vimeo"},...i]},{id:"ratio",label:Object(an.a)("Ratio"),type:"select-dev",devices:"desktop",choices:[{title:"1:1",value:"1:1"},{title:"3:2",value:"3:2"},{title:"4:3",value:"4:3"},{title:"9:16",value:"9:16"},{title:"16:9",value:"16:9"},{title:"21:9",value:"21:9"}]},Object(ej.Qb)({v:e,device:t,devices:"desktop",state:"normal",disabled:"custom"!==e.type}),{id:"video",label:Object(an.a)("Link"),type:"inputText-dev",devices:"desktop",population:r,disabled:"custom"===e.type,placeholder:"youtube"===e.type?Object(an.a)("Youtube"):"vimeo"===e.type?Object(an.a)("Vimeo"):""}]},{id:"tabCurrentElementAdvanced",label:Object(an.a)("Advanced"),options:[Object(ej.Jb)({v:e,device:t,devices:"desktop",state:"normal",disabled:"vimeo"===e.type}),{id:"branding",label:Object(an.a)("Branding"),type:"switch-dev",devices:"desktop",disabled:"on"!==e.controls||"youtube"!==e.type},{id:"intro",label:Object(an.a)("Intro"),type:"switch-dev",devices:"desktop",disabled:"vimeo"!==e.type},{id:"autoplay",label:Object(an.a)("Autoplay"),type:"switch-dev",devices:"desktop",disabled:"custom"!==e.type||"off"===e.controls||""!==e.coverImageSrc},{id:"muted",label:Object(an.a)("Muted"),type:"switch-dev",devices:"desktop",disabled:"custom"!==e.type||!e.coverImageSrc&&"off"===e.controls||!e.coverImageSrc&&"on"===e.autoplay},{id:"loop",label:Object(an.a)("Loop"),type:"switch-dev",devices:"desktop",disabled:"custom"!==e.type},{id:"start",label:Object(an.a)("Start"),helper:{content:Object(an.a)("Specify a start time (in seconds)")},config:{size:"short"},type:"inputText-dev",placeholder:"seconds",roles:["admin"]},{id:"end",label:Object(an.a)("End"),helper:{content:Object(an.a)("Specify an end time (in seconds)")},config:{size:"short"},type:"inputText-dev",placeholder:"seconds",roles:["admin"]}]},{id:"tabCurrentElementCover",label:Object(an.a)("Cover"),options:[{label:Object(an.a)("Cover"),id:"cover",type:"imageUpload-dev",devices:"desktop"},{id:"coverZoom",label:Object(an.a)("Zoom"),devices:"desktop",type:"slider-dev",config:{min:100,max:300,units:[{value:"%",title:"%"}]}},Object(ej.Lb)({v:e,device:t,state:"normal",devices:"desktop"})]}]}]},{id:"popoverTypography",type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:90,disabled:"custom"!==e.type||"off"===e.controls,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:"toolbarColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),devices:"desktop",roles:["admin"],position:90,icon:{style:{backgroundColor:""===e.coverImageSrc?Object(mn.c)(a,e.borderColorOpacity):Object(mn.c)(n,e.bgColorOpacity)}},options:[{id:"tabsColor",type:"tabs",tabs:[{id:"tabIcon",label:Object(an.a)("Icons"),options:[{id:"iconControlsColor",type:"colorPicker-dev",states:[uw.c,uw.b],disabled:"custom"!==e.type||"off"===e.controls}]},{id:"tabBg",label:Object(an.a)("Bar"),options:[{id:"controlsBgColor",type:"colorPicker-dev",states:[uw.c,uw.b],disabled:"custom"!==e.type||"off"===e.controls}]},{id:"tabBgProgress",label:Object(an.a)("Slider"),options:[{id:"bg2Color",type:"colorPicker-dev",states:[uw.c,uw.b],disabled:"custom"!==e.type||"off"===e.controls}]},{id:"tabPlay",label:Object(an.a)("Play"),options:[{id:"bgColor",type:"colorPicker-dev",states:[uw.c,uw.b],disabled:""===e.coverImageSrc||"on"===e.autoplay}]},{id:"icon",label:Object(an.a)("Icon"),options:[{id:"color",type:"colorPicker-dev",states:[uw.c,uw.b],disabled:""===e.coverImageSrc||"on"===e.autoplay}]},{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b],disabled:"custom"===e.type}]}]}]},{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"size",label:Object(an.a)("Size"),position:80,type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"advancedSettings",type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}]}Object(yo.a)(Jz,"defaultProps",{className:"",icon:"",style:{}});const Qz=Object(an.a)("Video");function ek({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.n)({v:e,device:t,state:"normal",devices:"desktop",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]})]},{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}function tk(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementVideoPaddingRatio","cssStyleElementVideoPointerEvents"]},".brz &&:hover .brz-video__cover::before":{standart:["cssStyleElementVideoCoverSrc","cssStyleElementVideoCoverPosition","cssStyleElementVideoBgSize"]},".brz &&:hover .brz-video__cover .brz-video__cover-icon":{standart:["cssStyleElementVideoIconFontSize","cssStyleElementVideoIconWidth","cssStyleElementVideoIconHeight","cssStyleBgColor"]},".brz &&:hover .brz-video__cover .brz-video__cover-icon .brz-a":{standart:["cssStyleColor"]}}})}const ok=Bo.a.get("wp"),nk=e=>{if(!e)return null;const{customFile:t}=Bo.a.get("urls"),[o]=e.split("|||",1);return ok?"".concat(t).concat(o):"".concat(t,"/").concat(o)};var ak=o(406);const rk=["topLeft","topRight","bottomLeft","bottomRight"];class ik extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e))}static get componentId(){return"Video"}getVideoSrc(e){const{video:t,coverImageSrc:o,controls:n,start:a,end:r}=e,i=Kj(t);let l=e.branding;"off"===e.branding?l=1:"on"===e.branding&&(l=0);let c=e.intro;return"off"===e.intro?c=0:"on"===e.intro&&(c=1),i?Uj(i,{autoplay:Boolean(o),controls:"on"===n,branding:l,intro:c,suggestedVideo:!1,start:a,end:r}):""}getAutoplay(e){let t=e.autoplay;return e.coverImageSrc?t="off":"off"===e.controls&&(t="on"),t}renderCover(){return Oo.a.createElement("div",{key:"cover",className:"brz-video__cover"},Oo.a.createElement("div",{className:"brz-video__cover-icon"},Oo.a.createElement("a",{className:"brz-a"},Oo.a.createElement(ml.a,{name:"play",type:"editor"}))))}renderExternalPlayer(e){const{coverImageSrc:t,video:o,videoPopulation:n,controls:a,branding:r,intro:i,start:l,end:c}=e,s=this.getVideoSrc(e),d=Oo.a.createElement("div",{key:"url",className:"brz-video-data brz-hidden","data-src":s,"data-population":n,"data-controls":"on"===a,"data-branding":"on"===r,"data-intro":"on"===i,"data-start":l,"data-end":c});return t?[d,this.renderCover()]:n?[d,this.renderPlaceholder()]:o?[d,Oo.a.createElement("iframe",{key:"iframe",allowFullScreen:!0,className:"brz-iframe",src:s})]:this.renderPlaceholder()}renderCustomPlayer(e,t,o){const{coverImageSrc:n,custom:a,start:r,end:i,controls:l,loop:c,ratio:s}=e,d=(nk(a),ra()("brz-video-element",Qb("".concat(this.constructor.componentId,"-bg2"),"".concat(this.getId(),"-bg2"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover > .brz-video-custom-video-controls > .brz-video-custom-controls > .brz-video-custom-current-time":{standart:["cssStyleVideoIconControls"]},".brz &&:hover > .brz-video-custom-video-controls > .brz-video-custom-controls > .brz-video-custom-total-time":{standart:["cssStyleVideoIconControls"]},".brz &&:hover .brz-video-custom-slider:before":{standart:["cssStyleBg2Color","cssStyleBorderRadius"]},".brz &&:hover .brz-video-custom-video-controls":{standart:["cssStyleVideoControlsBgColor"]}}})}(e,t,o)))),p=ra()("brz-video-custom-controls",Qb("".concat(this.constructor.componentId,"-controls"),"".concat(this.getId(),"-controls"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementMediaPadding","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"]}}})}(e,t,o))),u=Qb("".concat(this.constructor.componentId,"-icon-controls"),"".concat(this.getId(),"-icon-controls"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementVideoControlsIconFontSize","cssStyleVideoIconControls"]}}})}(e,t,o)),b=ra()("brz-icon-svg","brz-video-custom-play",u),h=(ra()("brz-hidden","brz-icon-svg","brz-video-custom-pause",u),ra()("brz-icon-svg","brz-video-custom-mute",u)),m=(ra()("brz-hidden","brz-icon-svg","brz-video-custom-unmute",u),ra()("brz-icon-svg","brz-video-custom-fullscreen-icon",u)),g=ra()("video-wrapper","brz-image-fix-".concat(s.replace(":","-")),Qb("".concat(this.constructor.componentId,"-wrapper"),"".concat(this.getId(),"-wrapper"),tk(e,t,o)));let v=e.muted;"on"===this.getAutoplay(e)&&(v="on");let y=n?this.renderCover(e):this.renderPlaceholder();return Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement("div",{className:g},y),Oo.a.createElement("div",{className:d},"on"===l&&Oo.a.createElement("div",{className:"brz-video-custom-video-controls"},Oo.a.createElement("div",{className:"brz-video-custom-play-pause-btn"},Oo.a.createElement(ml.a,{className:b,name:"button-play",type:"glyph"}),!1),Oo.a.createElement("div",{className:p},Oo.a.createElement("span",{className:"brz-video-custom-current-time"},"0:00"),Oo.a.createElement("div",{className:"brz-video-custom-slider"},Oo.a.createElement("div",{className:"brz-video-custom-progress"})),Oo.a.createElement("span",{className:"brz-video-custom-total-time"},"0:00")),Oo.a.createElement("div",{className:"brz-video-custom-volume"},Oo.a.createElement("div",{className:"brz-video-custom-fullscreen-btn"},Oo.a.createElement(ml.a,{className:m,name:"zoom-e",type:"glyph"})),Oo.a.createElement("div",{className:"brz-video-custom-volume-btn"},Oo.a.createElement(ml.a,{className:h,name:"volume-97",type:"glyph"}),!1),Oo.a.createElement("div",{className:"brz-video-custom-volume-controls brz-video-custom-slider"},Oo.a.createElement("div",{className:"brz-video-custom-progress"})))),!1))}renderPlaceholder(){return Oo.a.createElement(Jz,{key:"placeholder",icon:"play"})}renderForEdit(e,t,o){const{type:n,ratio:a,controls:r}=e,i=ra()("brz-video",{"brz-custom-video":"custom"===n},{"brz-youtube-video":"youtube"===n},{"brz-vimeo-video":"vimeo"===n},"brz-video-".concat(r,"-controls-hidden"),Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementVideoBgColorRatio","cssStyleSizeMaxWidthSize","cssStyleBorderRadius"]},".brz &&:hover .brz-video-content":{standart:["cssStyleBorderRadius","cssStyleBoxShadow","cssStyleBorder"],interval:["cssStyleHoverTransition","cssStyleElementVideoPropertyHoverTransition"]},".brz &&:hover .brz-video-content, && .brz-shortcode__placeholder":{interval:["cssStyleHoverTransition","cssStyleElementVideoPropertyHoverTransition"]},".brz &&:hover .brz-iframe, && .brz-video__cover:before":{standart:["cssStyleElementVideoFilter"]},".brz &&:hover.brz-custom-video video":{standart:["cssStyleElementVideoFilter"]},".brz &&:hover .brz-video-custom-progress":{standart:["cssStyleBg2Color"]}}})}(e,t,o))),l=ra()("video-wrapper","brz-image-fix-".concat(a.replace(":","-")),Qb("".concat(this.constructor.componentId,"-wrapper"),"".concat(this.getId(),"-wrapper"),tk(e,t,o)));let c="custom"===n?this.renderCustomPlayer(e,t,o):Oo.a.createElement("div",{className:l},this.renderExternalPlayer(e));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(G,U),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:i},Oo.a.createElement(Zz,{points:rk,meta:this.props.meta,value:e,onChange:this.handleResizerChange},Oo.a.createElement("div",{className:"brz-video-content"},c)))))}}Object(yo.a)(ik,"defaultValue",ak);var lk=ik;function ck({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t});return[{id:o("toolbarCurrentElement"),type:"popover",icon:"nc-play",devices:"desktop",title:Object(an.a)("Video"),position:80,options:[{id:"tabsCurrentElement",type:"tabs",tabs:[{id:"tabCurrentElementCover",label:Object(an.a)("Cover"),options:[{id:"coverZoom",label:Object(an.a)("Zoom"),devices:"desktop",type:"slider-dev",config:{min:100,max:300,units:[{value:"%",title:"%"}]}},Object(ej.Lb)({v:e,device:t,state:"normal",devices:"desktop"})]},{id:"tabCurrentElementFilter",label:Object(an.a)("Filters"),options:[Object(ej.Xb)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.Yb)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.Vb)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.Wb)({v:e,device:t,devices:"desktop",state:"normal"})]}]}]},{id:o("popoverTypography"),type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:80,options:[{id:"tabsTypography",type:"tabs",tabs:[{id:"tabTitle",label:Object(an.a)("Title"),options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:"tabSubTitle",label:Object(an.a)("Sub Title"),options:[{id:"subTitle",type:"typography-dev",config:{fontFamily:"desktop"===t}}]}]}]},{id:o("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),devices:"desktop",roles:["admin"],position:90,icon:{style:{color:Object(mn.c)(e.bgColorHex)}},options:[{id:"tabsColor",type:"tabs",tabs:[{id:"tabPlay",label:Object(an.a)("Play"),position:20,options:[{id:"iconBgColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabIcon",label:Object(an.a)("Icon"),position:30,options:[{id:"iconColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabVideoTitle",label:Object(an.a)("Title"),options:[{id:"color",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabVideoSubTitle",label:Object(an.a)("Sub Title"),options:[{id:"subTitleColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabBgItem",label:Object(an.a)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"itemBorder",type:"border-dev",states:[uw.c,uw.b]}]}]}]},{id:o("toolbarSettings"),type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[Object(ej.Nb)({v:e,device:t,state:"normal"}),Object(ej.Mc)({v:e,device:t,position:10,state:"normal",disabled:"vertical"===e.positionItem})]}]}const sk=Object(an.a)("Playlist Items");function dk({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.nc)({v:e,device:t,state:"normal"}),Object(ej.mc)({v:e,device:t,state:"normal",onChangeGrouped:["onChangeMarginGrouped"],onChangeUngrouped:["onChangeMarginUngrouped"]})]},{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[]}]}]}function pk({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t});return[{id:o("toolbarCurrentElement"),type:"popover",icon:"nc-play",title:Object(an.a)("Playlist"),position:10,options:[{id:"positionItem",label:Object(an.a)("Position"),type:"select-dev",devices:"desktop",choices:[{value:"horizontal",title:"Horizontal"},{value:"vertical",title:"Vertical"}]},{id:"positionThumbs",label:Object(an.a)("Thumbs"),type:"select-dev",devices:"desktop",disabled:"horizontal"===e.positionItem,choices:[{value:"above",title:"Top"},{value:"under",title:"Bottom"}]},Object(ej.Mb)({v:e,device:t,state:"normal",disabled:"horizontal"===e.positionItem})]},{id:o("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),devices:"desktop",roles:["admin"],position:90,icon:{style:{backgroundColor:Object(mn.c)(e.borderColorHex)}},options:[{id:"tabsColor",type:"tabs",tabs:[{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},Object(ej.I)({device:t}),{id:o("toolbarSettings"),type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[Object(ej.Ec)({v:e,device:t,state:"normal"}),Object(ej.Ob)({v:e,device:t,state:"normal",disabled:"vertical"===e.positionItem||"mobile"===t}),{id:o("advancedSettings"),type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}]}const uk=Object(an.a)("Playlist");function bk({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",devices:"desktop",options:[Object(ej.n)({v:e,device:t,state:"normal",devices:"desktop",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]})]},{id:(e=>Object(rh.defaultValueKey)({key:e,device:t}))("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal",devices:"desktop"}),Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}class hk extends Ju.a{static get componentId(){return"VideoPlaylist.Items"}getItemProps(e,t,o){const n={getItems:()=>[{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:Object(an.a)("Delete"),position:250,disabled:1===o.length,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(n),onActiveItem:()=>{this.props.onActiveChange(t)}}}removeItem(e){const t=this.getDBValue()||[],o=Object(kn.removeAt)(t,e);setTimeout(()=>{this.handleValueChange(o,{arrayOperation:"remove"})},0)}}Object(yo.a)(hk,"defaultProps",{meta:{},onActiveChange:Do.noop});var mk=hk;function gk(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidthPercent"]},".brz &&:hover .brz-video-playlist__container":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBgColor"]},".brz &&:hover .brz-video-playlist-sidebar":{standart:["cssStyleDisplayFlex"]},".brz &&:before:hover":{standart:["cssStyleBoxShadow","cssStyleBorderRadius"]},".brz &&.brz-video-playlist-horizontal .brz-video-playlist-main":{standart:["cssStyleSizeWidthVideoBlock"]},".brz &&.brz-video-playlist-horizontal .brz-video-playlist-sidebar":{standart:["cssStyleSizeWidthPixel"]},".brz &&.brz-video-playlist-horizontal .brz-video-playlist-video-item":{standart:["cssStyleDisplayFlex"]},".brz &&.brz-video-playlist-vertical .brz-video-playlist-video-item":{standart:["cssStyleElementVideoPlaylistGridItemWidth"]},".brz && .brz-video-playlist-video-item:hover":{standart:["cssStyleBgColor","cssStyleElementVideoPlaylistBorderItem"]},".brz &&:hover .brz-video-playlist-video-item":{standart:["cssStylePaddingFourFields","cssStyleMargin","cssStyleFlexVerticalAlign"]},".brz &&:hover .brz-video-playlist-video-item .brz-video-playlist-title-video span:first-child":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LetterSpacing","cssStyleTypography2FontWeight","cssStyleTypography2LineHeight"]},".brz &&:hover .brz-video-playlist-video-item .brz-video-playlist-title-video span:last-child":{standart:["cssStyleCoverSubTitleColor","cssStyleElementVideoPlaylistSubTitleVideoTypography2FontFamily","cssStyleElementVideoPlaylistSubTitleVideoTypography2FontSize","cssStyleElementVideoPlaylistSubTitleVideoTypography2LineHeight","cssStyleElementVideoPlaylistSubTitleVideoTypography2FontWeight","cssStyleElementVideoPlaylistSubTitleVideoTypography2LetterSpacing"]},".brz &&:hover .brz-video-playlist-video-element":{standart:["cssStyleElementVideoPlaylistImageSize"]},".brz &&:hover .brz-iframe, && .brz-video-playlist__cover:before":{standart:["cssStyleElementVideoFilter"]},".brz &&:hover .brz-video-playlist__cover .brz-video-playlist__cover-icon":{standart:["cssStyleElementVideoIconFontSize","cssStyleElementVideoIconWidth","cssStyleElementVideoIconHeight","cssStyleBgIconCoverColor","cssStyleDisplayFlex"]},".brz &&:hover .brz-video-playlist__cover .brz-a":{standart:["cssStyleCoverIconColor"]},".brz &&:hover .brz-video-playlist__cover::before":{standart:["cssStyleElementVideoBgSize"]}}})}function vk(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBgColor"]}}})}function yk(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-video-playlist__cover":{standart:["cssStyleDisplayFlex"]},".brz &&:hover .brz-video-playlist__cover::before":{standart:["cssStyleElementVideoCoverSrc","cssStyleElementVideoCoverPosition"]}}})}var fk=o(407);const Ok=["centerLeft","centerRight"];class Ck extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"state",{currentIndex:0}),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e)),Object(yo.a)(this,"handleActive",e=>this.setState({currentIndex:e}))}static get componentId(){return"VideoPlaylist"}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(Y,X,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:"".concat(this.constructor.componentId,"Parent")});this.props.extendParentToolbar(e)}handleValueChange(e,t){super.handleValueChange(e,t);const{items:o}=t.patch;o&&o.length<this.state.currentIndex&&this.setState({currentIndex:0})}handleCoverIconClick(e){e.preventDefault()}getItemValue(e){const t=e.items[this.state.currentIndex];return t?t.value:e.items[0].value}getVideoSrc(e){const t=this.getItemValue(e),{branding:o,intro:n,video:a}=t,r=t.start,i=t.end,l=Kj(a);return l?Uj(l,{controls:"on"===t.controls?0:1,branding:"off"===o?1:0,intro:"off"===n?0:1,suggestedVideo:!1,start:r,end:i}):""}renderCover(e){return Oo.a.createElement("div",{className:"brz-video-playlist__cover"},Oo.a.createElement("div",{className:"brz-video-playlist__cover-icon"},Oo.a.createElement("a",{className:"brz-a",href:e,onClick:this.handleCoverIconClick},Oo.a.createElement(ml.a,{name:"play",type:"editor"}))))}renderForEdit(e,t,o){const{positionItem:n,positionThumbs:a,customCSS:r}=e,{meta:i}=this.props,l=this.getItemValue(e),{coverImageSrc:c}=l,s=this.getVideoSrc(e),d=ra()("brz-video-playlist","brz-video-playlist-".concat(n),"brz-video-playlist-".concat(a),Qb("".concat(this.constructor.componentId),"".concat(this.getId()),gk(e,t,o)),Qb("".concat(this.constructor.componentId,"-cover"),"".concat(this.getId(),"-cover"),yk(l,t,o))),p=ra()("brz-video-playlist-col","brz-video-playlist-sidebar",Qb("".concat(this.constructor.componentId,"-sidebar"),"".concat(this.getId(),"-sidebar"),vk(e,t,o))),u=this.makeSubcomponentProps({bindWithKey:"items",currentIndex:this.state.currentIndex,toolbarExtend:this.makeToolbarPropsFromConfig2(K,q,{allowExtend:!1}),meta:i}),b=c?Oo.a.createElement("aside",{className:"brz-video-playlist-col brz-video-playlist-main brz-video-playlist-main__cover"},this.renderCover(s)):s?Oo.a.createElement("aside",{className:"brz-video-playlist-col brz-video-playlist-main"},Oo.a.createElement("div",{className:"brz-video-playlist-main__content brz-p-relative brz-pointer-events-none"},Oo.a.createElement("iframe",{allowFullScreen:!0,className:"brz-iframe",src:s}))):Oo.a.createElement("aside",{className:"brz-video-playlist-col brz-video-playlist-main brz-video-playlist-main__placeholder"},Oo.a.createElement("div",{className:"brz-video-playlist-main__content brz-p-relative"},Oo.a.createElement(Jz,{icon:"play"})));return Oo.a.createElement(vj,{selectorName:this.getId(),css:r},Oo.a.createElement("div",{className:d},Oo.a.createElement(Zz,{points:Ok,meta:i,value:e,onChange:this.handleResizerChange},Oo.a.createElement("div",{className:"brz-video-playlist__container brz-ow-hidden brz-p-relative"},"horizontal"===n&&b,Oo.a.createElement("section",{className:p},Oo.a.createElement(mk,Object(ta.a)({},u,{onActiveChange:this.handleActive}))),"vertical"===n&&b))))}renderForView(e,t,o){const{positionItem:n,positionThumbs:a,customCSS:r}=e,i=this.getItemValue(e),{coverImageSrc:l}=i,c=this.getVideoSrc(e),s=ra()("brz-video-playlist","brz-video-playlist-".concat(n),"brz-video-playlist-".concat(a),"brz-ow-hidden",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),gk(e,t,o)),Qb("".concat(this.constructor.componentId,"-cover"),"".concat(this.getId(),"-cover"),yk(i,t,o))),d=ra()("brz-video-playlist-col","brz-video-playlist-sidebar",Qb("".concat(this.constructor.componentId,"-sidebar"),"".concat(this.getId(),"-sidebar"),vk(e,t,o))),p=this.makeSubcomponentProps({bindWithKey:"items",currentIndex:0,meta:this.props.meta}),u=ra()("brz-video-playlist-col","brz-video-playlist-main","brz-video-playlist-main__cover",{"brz-d-none":!l}),b=ra()("brz-video-playlist-col","brz-video-playlist-main","brz-video-playlist-main__video",{"brz-d-none":!c||l}),h=ra()("brz-video-playlist-col","brz-video-playlist-main","brz-video-playlist-main__placeholder",{"brz-d-none":c||l}),m=Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement("aside",{className:u},this.renderCover(c)),Oo.a.createElement("aside",{className:b},Oo.a.createElement("div",{className:"brz-video-playlist-main__content brz-p-relative"},Oo.a.createElement("iframe",{className:"brz-iframe",allowFullScreen:!0,allow:"autoplay",src:c}))),Oo.a.createElement("aside",{className:h},Oo.a.createElement("div",{className:"brz-video-playlist-main__content brz-p-relative"},Oo.a.createElement(Jz,{icon:"play"}))));return Oo.a.createElement(vj,{selectorName:this.getId(),css:r},Oo.a.createElement("div",{className:s},"horizontal"===n&&m,Oo.a.createElement("section",{className:d},Oo.a.createElement(mk,Object(ta.a)({},p,{onActiveChange:this.handleActive}))),"vertical"===n&&m))}}Object(yo.a)(Ck,"defaultValue",fk);var Sk=Ck,xk=o(62);function jk({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t});return[{id:o("toolbarCurrentElement"),type:"popover",icon:"nc-play",devices:"desktop",title:Object(an.a)("Video"),position:80,options:[{id:"tabsCurrentElement",type:"tabs",tabs:[{id:"tabCurrentElement",label:Object(an.a)("Video"),options:[{id:"type",label:Object(an.a)("Type"),type:"select-dev",choices:[{value:"youtube",title:"Youtube"},{value:"vimeo",title:"Vimeo"}]},{id:"video",label:Object(an.a)("Link"),type:"inputText-dev",devices:"desktop",placeholder:"youtube"===e.type?Object(an.a)("Youtube"):"vimeo"===e.type?Object(an.a)("Vimeo"):""}]},{id:"tabCurrentElementAdvanced",label:Object(an.a)("Advanced"),options:[Object(ej.Jb)({v:e,device:t,devices:"desktop",state:"normal",disabled:"vimeo"===e.type}),{id:"branding",label:Object(an.a)("Branding"),type:"switch-dev",devices:"desktop",disabled:"on"!==e.controls||"youtube"!==e.type},{id:"intro",label:Object(an.a)("Intro"),type:"switch-dev",devices:"desktop",disabled:"vimeo"!==e.type},{id:"loop",label:Object(an.a)("Loop"),type:"switch-dev",devices:"desktop"},Object(ej.Pb)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.Kb)({v:e,device:t,devices:"desktop",state:"normal",disabled:"vimeo"===e.type})]},{id:"tabCurrentElementCover",label:Object(an.a)("Cover"),options:[{label:Object(an.a)("Cover"),id:"cover",type:"imageUpload-dev",devices:"desktop"}]}]}]},{id:o("toolbarSettings"),type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:o("advancedSettings"),type:"advancedSettings",label:Object(an.a)("More Settings"),position:20,icon:"nc-cog"}]}]}var Bk=o(408);class Pk extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleTextChange",e=>{this.patchValue({title:e})}),Object(yo.a)(this,"handleText2Change",e=>{this.patchValue({subTitle:e})})}static get componentId(){return"VideoPlaylistItem"}getVideoSrc(e){const{video:t,controls:o,start:n,end:a,branding:r,intro:i}=e,l=Kj(t);return l?Uj(l,{controls:"on"===o?1:0,branding:"off"===r?1:0,intro:"off"===i?0:1,suggestedVideo:!1,start:n,end:a}):""}renderForEdit(e,t,o){const{video:n,title:a,subTitle:r,coverImageSrc:i,customCSS:l}=e,{onActiveItem:c}=this.props,s=this.getVideoSrc(e),d=Object(ir.c)(i),p=ra()("brz-video-playlist-video-item",{"brz-video-playlist-video-item__cover":e.coverImageSrc},Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderRadius","cssStyleElementVideoBgColorRatio"]},".brz &&:hover:before":{standart:["cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStyleElementVideoPropertyHoverTransition"]},".brz &&:hover .brz-video-content, && .brz-shortcode__placeholder":{standart:["cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStyleElementVideoPropertyHoverTransition"]}}})}(e,t,o))),[u,b=""]=n.split("="),h=e.coverImageSrc?Oo.a.createElement("img",{className:"brz-img",src:d,alt:"cover"}):n?Oo.a.createElement("img",{className:"brz-img",src:"https://img.youtube.com/vi/".concat(b,"/hqdefault.jpg"),alt:"cover"}):Oo.a.createElement(Jz,{icon:"play"});return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Z),Oo.a.createElement(vj,{selectorName:this.getId(),css:l},Oo.a.createElement("div",{className:p,"data-link":s,onClick:c},Oo.a.createElement("div",{className:"brz-video-playlist-video-element"},h),Oo.a.createElement("div",{className:"brz-video-playlist-title-video"},Oo.a.createElement(xk.a,{value:a,onChange:this.handleTextChange}),Oo.a.createElement(xk.a,{value:r,onChange:this.handleText2Change})))))}}Object(yo.a)(Pk,"defaultValue",Bk);var wk=Pk;function Tk({v:e,device:t}){const o=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t}),{hex:n}=Object(sh.d)(o("bgColorHex"),o("bgColorPalette")),{hex:a}=Object(sh.d)(o("borderColorHex"),o("borderColorPalette"));return[{id:"toolbarCurrentElement",type:"popover",icon:"nc-audio",title:Object(an.a)("Audio"),position:80,options:[{id:"tabsCurrentElement",type:"tabs",tabs:[{id:"tabCurrentElementUpload",label:Object(an.a)("Audio"),options:[{id:"url",label:Object(an.a)("Link"),type:"inputText-dev",devices:"desktop",disabled:"custom"===o("type"),placeholder:Object(an.a)("SoundCloud Link")},Object(ej.Hb)({v:e,device:t,devices:"desktop",disabled:"custom"===o("type"),state:"normal"}),{id:"autoPlay",label:Object(an.a)("Auto Play"),type:"switch-dev",devices:"desktop",disabled:"custom"===o("type")}]}]}]},{id:"toolbarColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),devices:"desktop",roles:["admin"],position:100,icon:{style:{backgroundColor:e.bgColorOpacity>0?Object(mn.c)(a,e.borderColorOpacity):Object(mn.c)(n,e.bgColorOpacity)}},options:[{id:"tabsColor",type:"tabs",tabs:[{id:"tabIcon",label:Object(an.a)("Icon"),options:[{id:"color",type:"colorPicker-dev",disabled:"soundcloud"===o("type"),states:[uw.c,uw.b]}]},{id:"tabBg",label:Object(an.a)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[uw.c,uw.b],disabled:"soundcloud"===o("type")}]},{id:"tabBgProgress",label:Object(an.a)("Slider"),options:[{id:"bg2Color",type:"colorPicker-dev",disabled:"soundcloud"===o("type"),states:[uw.c,uw.b]}]},{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"height",label:Object(an.a)("Height"),type:"slider-dev",config:{min:40,max:300,units:[{value:"px",title:"px"}]}},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}]}const zk=Object(an.a)("Audio");function kk({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.n)({v:e,device:t,state:"normal",devices:"desktop",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]})]},{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}var Ek=o(409);const Hk=["topLeft","topCenter","topRight","centerLeft","centerRight","bottomLeft","bottomCenter","bottomRight"];class _k extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e))}static get componentId(){return"Audio"}getResizerRestrictions(e){return{height:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},width:{min:5,max:100},tabletHeight:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},tabletWidth:{min:5,max:100},mobileHeight:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},mobileWidth:{min:5,max:100}}}renderCover(){return Oo.a.createElement("div",{className:"brz-audio__cover"})}renderSoundCloud(e){const{url:t,autoPlay:o,showArtwork:n}=e,a=ra()("brz-iframe",{"brz-blocked":!0}),r="https://w.soundcloud.com/player/?url=".concat(t,"&auto_play=").concat("on"===o,"&how_teaser=true&visual=").concat("on"===n,"&");return t?Oo.a.createElement("div",{className:"brz-soundCloud-content"},Oo.a.createElement("iframe",{className:a,scrolling:"no",frameBorder:"no",src:r})):Oo.a.createElement(Jz,{icon:"sound-cloud"})}renderCustom(e,t,o){const{audio:n,showCurrentTime:a,showDurationTime:r,showProgressBarTrack:i,showProgressBarVolume:l}=e,c=(nk(n),ra()("brz-custom-audio",Qb("".concat(this.constructor.componentId,"-bg2"),"".concat(this.getId(),"-bg2"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderRadius","cssStyleBoxShadow","cssStyleBorder","cssStyleBgColor","cssStyleDisplayFlex"]},".brz &&:hover .brz-audio__cover::before":{standart:["cssStyleElementVideoCoverSrc","cssStyleElementVideoCoverPosition","cssStyleElementVideoBgSize","cssStyleBorderRadius"]},".brz &&:hover > .brz-audio-controls > .brz-audio-current-time":{standart:["cssStyleColor"]},".brz &&:hover > .brz-audio-controls > .brz-audio-total-time":{standart:["cssStyleColor"]},".brz &&:hover .brz-audio-slider:before":{standart:["cssStyleBg2Color","cssStyleBorderRadius"]}}})}(e,t,o)))),s=ra()("brz-audio-controls",Qb("".concat(this.constructor.componentId,"-controls"),"".concat(this.getId(),"-controls"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleDisplayFlex","cssStyleElementMediaPadding","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]}}})}(e,t,o))),d=Qb("".concat(this.constructor.componentId,"-icon"),"".concat(this.getId(),"-icon"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementMediaIconFontSize","cssStyleColor"]}}})}(e,t,o)),p=ra()("brz-icon-svg","brz-audio-play",d),u=(ra()("brz-hidden","brz-icon-svg","brz-audio-pause",d),ra()("brz-icon-svg","brz-audio-mute",d));ra()("brz-hidden","brz-icon-svg","brz-audio-unmute",d);return Oo.a.createElement("div",{className:c},this.renderCover(e,t,o),Oo.a.createElement("div",{className:"brz-audio-play-pause-btn brz-d-xs-flex"},Oo.a.createElement(ml.a,{className:p,name:"button-play",type:"glyph"}),!1),Oo.a.createElement("div",{className:s},"on"===a&&Oo.a.createElement("span",{className:"brz-audio-current-time"},"0:00"),"on"===i&&Oo.a.createElement("div",{className:"brz-audio-slider"},Oo.a.createElement("div",{className:"brz-audio-progress"})),"on"===r&&Oo.a.createElement("span",{className:"brz-audio-total-time"},"0:00")),"on"===l&&Oo.a.createElement("div",{className:"brz-audio-volume brz-d-xs-flex"},Oo.a.createElement("div",{className:"brz-audio-volume-btn brz-d-xs-flex"},Oo.a.createElement(ml.a,{className:u,name:"volume-97",type:"glyph"}),!1),Oo.a.createElement("div",{className:"brz-audio-volume-controls brz-d-xs-flex"},Oo.a.createElement("div",{className:"brz-audio-slider"},Oo.a.createElement("div",{className:"brz-audio-progress"})))),!1)}renderForEdit(e,t,o){const{type:n}=e,a=ra()({"brz-audio":"custom"===n},{"brz-soundcloud":"soundcloud"===n},Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidthPercent","cssStyleSizeMinHeightPx"]},".brz &&:hover .brz-audio-progress":{standart:["cssStyleBg2Color"]},".brz &&:hover:before":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStyleElementSoundCloudPropertyHoverTransition"]},".brz &&:hover .brz-soundCloud-content":{standart:["cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStyleElementSoundCloudPropertyHoverTransition"]},".brz &&:hover iframe":{standart:["cssStyleSizeHeightPx"]}}})}(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(J,$),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:a},Oo.a.createElement(Zz,{points:Hk,restrictions:this.getResizerRestrictions(e),meta:this.props.meta,value:e,onChange:this.handleResizerChange},"custom"===n?this.renderCustom(e,t,o):this.renderSoundCloud(e,t,o)))))}}Object(yo.a)(_k,"defaultValue",Ek);var Rk=_k;function Mk(e){const t="desktop",o=Math.round((e.customSize+2*e.tempPadding+2*e.tempBorderWidth)/2),{hex:n}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"colorHex",device:t}),Object(rh.defaultValueValue)({v:e,key:"colorPalette",device:t}));return[{id:"toolbarCurrentShortcode",type:"popover",icon:"nc-star",title:Object(an.a)("Icon"),position:70,options:[{id:"currentShortcodeTabs",className:"",type:"tabs",tabs:[{id:"currentShortcodeTab",label:Object(an.a)("Icon"),options:[{id:"iconImage",label:Object(an.a)("Icon"),type:"iconSetter",position:40,value:{name:e.name,type:e.type},onChange:({name:e,type:t})=>({name:e,type:t})},{type:"multiPicker",roles:["admin"],position:60,picker:{id:"size",label:Object(an.a)("Size"),type:"radioGroup",choices:[{value:"small",icon:"nc-32"},{value:"medium",icon:"nc-48"},{value:"large",icon:"nc-64"},{value:"custom",icon:"nc-more"}],value:e.size,onChange:t=>{const o=Math.round(e.borderRadius/Math.round(e["".concat(e.size,"Size")]+2*e.padding+2*e.borderWidth)*Math.round(e["".concat(t,"Size")]+2*e.padding+2*e.borderWidth));return{size:t,customSize:"custom"!==t?e["".concat(t,"Size")]:e.customSize,borderRadius:"custom"!==t?o:e.borderRadius}}},choices:{custom:[{id:"customSize",type:"slider",slider:{min:14,max:180},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.customSize},onChange:({value:t})=>{return{customSize:t,borderRadius:Math.round(e.borderRadius/Math.round(e.customSize+2*e.padding+2*e.borderWidth)*Math.round(t+2*e.padding+2*e.borderWidth))}}}]}}]},{id:"iconBackground",label:Object(an.a)("Background"),roles:["admin"],options:[{id:"fillType",label:Object(an.a)("Fill"),type:"radioGroup",choices:[{value:"filled",icon:"nc-circle"},{value:"outline",icon:"nc-outline"},{value:"default",icon:"nc-close"}],value:e.fillType,onChange:t=>({fillType:t,tempFillType:"default"!==t?t:e.tempFillType,padding:"default"===t?0:"default"!==t?e.tempPadding:e.padding,borderRadiusType:"default"===t?"":"default"!==t?e.tempBorderRadiusType:e.borderRadiusType,borderRadius:"default"===t?0:"default"!==t&&"square"===e.tempBorderRadiusType?e.tempBorderRadius:"default"!==t&&"rounded"===e.tempBorderRadiusType?o:e.borderRadius,borderWidth:"default"===t?0:"default"!==t?e.tempBorderWidth:e.borderWidth,borderColorOpacity:"default"===t?0:"default"!==t?e.tempBorderColorOpacity:e.borderColorOpacity,borderColorPalette:"default"===t?"":"default"!==t?e.tempBorderColorPalette:e.borderColorPalette,bgColorOpacity:"default"===t||"outline"===t?0:"filled"===t?e.tempBgColorOpacity:e.bgColorOpacity,bgColorPalette:"default"===t||"outline"===t?"":"filled"===t?e.tempBgColorPalette:e.bgColorPalette,gradientColorOpacity:"default"===t||"outline"===t?0:"filled"===t?e.tempGradientColorOpacity:e.gradientColorOpacity,gradientColorPalette:"default"===t||"outline"===t?"":"filled"===t?e.tempGradientColorPalette:e.gradientColorPalette,hoverBgColorOpacity:"default"===t?0:e.tempHoverBgColorOpacity,hoverBgColorPalette:"default"===t||"outline"===t?"":"filled"===t?e.tempHoverBgColorPalette:e.hoverBgColorPalette,hoverBorderColorOpacity:"default"===t?0:e.tempHoverBorderColorOpacity,hoverBorderColorPalette:"default"===t?"":"default"!==t?e.tempHoverBorderColorPalette:e.hoverBorderColorPalette})},{type:"multiPicker",picker:{id:"borderRadiusType",label:Object(an.a)("Corner"),type:"radioGroup",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}],value:e.borderRadiusType,onChange:t=>({borderRadiusType:t,tempBorderRadiusType:""!==t?t:e.tempBorderRadiusType,fillType:""!==t?e.tempFillType:e.fillType,borderRadius:"square"===t?e.tempBorderRadius:"rounded"===t?o:e.borderRadius,borderWidth:""!==t?e.tempBorderWidth:e.borderWidth,borderColorOpacity:""!==t?e.tempBorderColorOpacity:e.borderColorOpacity,borderColorPalette:""!==t?e.tempBorderColorPalette:e.borderColorPalette,bgColorOpacity:""!==t&&"filled"===e.tempFillType?e.tempBgColorOpacity:e.bgColorOpacity,bgColorPalette:""!==t&&"filled"===e.tempFillType?e.tempBgColorPalette:e.bgColorPalette,padding:""!==t?e.tempPadding:e.padding,hoverBgColorOpacity:""!==t?e.tempHoverBgColorOpacity:e.hoverBgColorOpacity,hoverBorderColorOpacity:""!==t?e.tempHoverBorderColorOpacity:e.hoverBorderColorOpacity})},choices:{custom:[{id:"borderRadius",type:"slider",slider:{min:0,max:o},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.borderRadius},onChange:({value:e})=>({borderRadius:e,tempBorderRadius:e})}]}},{id:"padding",label:Object(an.a)("Size"),type:"slider",slider:{min:0,max:180},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.padding},onChange:({value:t})=>({padding:t,tempPadding:t,borderRadius:"rounded"===e.borderRadiusType?Math.round((e.customSize+2*t+2*e.borderWidth)/2):e.borderRadius,borderWidth:t>0?e.tempBorderWidth:e.borderWidth,borderRadiusType:t>0?e.tempBorderRadiusType:e.borderRadiusType,fillType:t>0?e.tempFillType:e.fillType,borderColorOpacity:t>0?e.tempBorderColorOpacity:e.borderColorOpacity,borderColorPalette:t>0?e.tempBorderColorPalette:e.borderColorPalette,bgColorOpacity:t>0&&"filled"===e.tempFillType?e.tempBgColorOpacity:e.bgColorOpacity,bgColorPalette:t>0&&"filled"===e.tempFillType?e.tempBgColorPalette:e.bgColorPalette})},{id:"borderWidth",label:Object(an.a)("Border"),type:"slider",slider:{min:0,max:10},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.borderWidth},onChange:({value:t},{sliderDragEnd:n})=>({borderWidth:t,tempBorderWidth:t>0&&n?t:e.tempBorderWidth,padding:0===t&&0===e.bgColorOpacity?0:t>0?e.tempPadding:e.padding,borderRadiusType:0===t&&0===e.bgColorOpacity?"":t>0?e.tempBorderRadiusType:e.borderRadiusType,fillType:0===t&&0===e.bgColorOpacity?"default":t>0?e.tempFillType:e.fillType,borderRadius:0===t&&0===e.bgColorOpacity?0:t>0&&"square"===e.tempBorderRadiusType?e.tempBorderRadius:t>0&&"rounded"===e.tempBorderRadiusType?o:e.borderRadius,borderColorOpacity:0===t?0:t>0?e.tempBorderColorOpacity:e.borderColorOpacity,borderColorPalette:0===t?0:t>0?e.tempBorderColorPalette:e.borderColorPalette,bgColorOpacity:t>0&&"filled"===e.tempFillType?e.tempBgColorOpacity:e.bgColorOpacity,bgColorPalette:t>0&&"filled"===e.tempFillType?e.tempBgColorPalette:e.bgColorPalette,hoverBgColorOpacity:0===t&&0===e.bgColorOpacity?0:t>0&&"filled"===e.tempFillType?e.tempBgColorOpacity:e.bgColorOpacity})}]}]}]},{id:"toolbarColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],position:80,icon:{style:{backgroundColor:Object(mn.c)(n,e.colorOpacity)}},options:[{id:"tabsState",tabsPosition:"left",type:"tabs",value:e.tabsState,tabs:[{id:"tabNormal",tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:"tabsColor",className:"",type:"tabs",value:e.tabsColor,tabs:[{id:"tabText",label:Object(an.a)("Icon"),options:[Object(ej.u)({v:e,device:t,state:"normal",onChangeHex:["onChangeColorHexButtonIcon2"],onChangePalette:["onChangeColorPaletteButtonIcon2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[Object(ej.v)({v:e,device:t,state:"normal",onChange:["onChangeColorFieldsButtonIcon2"]})]}]}]},{id:"tabBg",label:Object(an.a)("Bg"),options:[Object(ej.d)({v:e,device:t,state:"normal",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"normal",prefix:"startPointer"===Object(rh.defaultValueValue)({v:e,key:"gradientActivePointer",device:t,state:"normal"})?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"normal",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===Object(rh.defaultValueValue)({v:e,key:"bgColorType",device:t,state:"normal"})})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"normal",disabled:"solid"===Object(rh.defaultValueValue)({v:e,key:"bgColorType",device:t,state:"normal"})||"radial"===Object(rh.defaultValueValue)({v:e,key:"gradientType",device:t,state:"normal"})}),Object(ej.ac)({v:e,device:t,state:"normal",disabled:"solid"===Object(rh.defaultValueValue)({v:e,key:"bgColorType",device:t,state:"normal"})||"linear"===Object(rh.defaultValueValue)({v:e,key:"gradientType",device:t,state:"normal"})})]}]}]},{id:"tabBorder",label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"normal",showSelect:!1,onChangeHex:["onChangeElementIconBorderColorHex2"],onChangePalette:["onChangeElementIconBorderColorPalette2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"normal",onChange:["onChangeElementIconBorderColorFields2"]})]}]}]},{id:"tabShadow",label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,state:"normal",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:41,options:[Object(ej.s)({v:e,device:t,state:"normal",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:59,options:[Object(ej.r)({v:e,device:t,state:"normal",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]},{id:"tabHover",tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:"tabsColor",className:"",type:"tabs",value:e.tabsColor,tabs:[{id:"tabText",label:Object(an.a)("Icon"),options:[Object(ej.u)({v:e,device:t,state:"hover",onChangeHex:["onChangeHoverColorHexButtonIcon2"],onChangePalette:["onChangeHoverColorPaletteButtonIcon2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[Object(ej.v)({v:e,device:t,state:"hover",onChange:["onChangeHoverColorFieldsButtonIcon2"]})]}]}]},{id:"tabBg",label:Object(an.a)("Bg"),options:[Object(ej.d)({v:e,device:t,state:"hover",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"hover",prefix:"startPointer"===Object(rh.defaultValueValue)({v:e,key:"gradientActivePointer",device:t,state:"hover"})?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"hover",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===Object(rh.defaultValueValue)({v:e,key:"bgColorType",device:t,state:"hover"})})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"hover",disabled:"solid"===Object(rh.defaultValueValue)({v:e,key:"bgColorType",device:t,state:"hover"})||"radial"===Object(rh.defaultValueValue)({v:e,key:"gradientType",device:t,state:"hover"})}),Object(ej.ac)({v:e,device:t,state:"hover",disabled:"solid"===Object(rh.defaultValueValue)({v:e,key:"bgColorType",device:t,state:"hover"})||"linear"===Object(rh.defaultValueValue)({v:e,key:"gradientType",device:t,state:"hover"})})]}]}]},{id:"tabBorder",label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"hover",showSelect:!1,onChangeHex:["onChangeElementIconBorderHoverColorHex2"],onChangePalette:["onChangeElementIconBorderHoverColorPalette2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"hover",onChange:["onChangeElementIconBorderHoverColorFields2"]})]}]}]},{id:"tabShadow",label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,state:"hover",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:41,options:[Object(ej.s)({v:e,device:t,state:"hover",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:59,options:[Object(ej.r)({v:e,device:t,state:"hover",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]}]}],onChange:(t,{isOpen:o})=>({tabsState:o?e.tabsState:"",tabsColor:o?e.tabsColor:""})},{id:"toolbarLink",type:"popover",icon:"nc-link",size:"medium",title:Object(an.a)("Link"),position:90,options:[{id:"linkType",type:"tabs",value:e.linkType,tabs:[{id:"external",label:Object(an.a)("URL"),options:[Object(ej.hc)({v:e}),{id:"linkExternalBlank",label:Object(an.a)("Open In New Tab"),type:"switch-dev"},{id:"linkExternalRel",label:Object(an.a)("Make it Nofollow"),type:"switch-dev"}]},{id:"anchor",label:Object(an.a)("Block"),options:[Object(ej.gc)({v:e})]}]}]},{id:"advancedSettings",type:"advancedSettings",roles:["admin"],position:110,icon:"nc-cog",title:Object(an.a)("Settings")}]}function Ik(e){return[{id:"tabletToolbarCurrentShortcode",type:"popover",icon:"nc-star",title:Object(an.a)("Icon"),roles:["admin"],position:70,options:[{type:"multiPicker",picker:{id:"tabletSize",label:Object(an.a)("Size"),type:"radioGroup",choices:[{value:"small",icon:"nc-32"},{value:"medium",icon:"nc-48"},{value:"large",icon:"nc-64"},{value:"custom",icon:"nc-more"}],value:Object(rh.tabletSyncOnChange)(e,"size"),onChange:t=>({tabletSize:t,tabletCustomSize:"custom"!==t?e["".concat(t,"Size")]:e.tabletCustomSize})},choices:{custom:[{id:"tabletCustomSize",type:"slider",slider:{min:14,max:180},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:Object(rh.tabletSyncOnChange)(e,"customSize")},onChange:({value:e})=>({tabletCustomSize:e})}]}},{id:"tabletPadding",label:Object(an.a)("Bg Size"),type:"slider",slider:{min:0,max:180},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},disabled:"default"===e.fillType,value:{value:Object(rh.tabletSyncOnChange)(e,"padding")},onChange:({value:e})=>({tabletPadding:e})}]},{id:"tabletToolbarLink",type:"popover",icon:"nc-link",disabled:""===e.linkPopup,position:80,options:[]},{id:"tabletToolbarSettings",type:"popover",disabled:!0}]}function Fk(e){return[{id:"mobileToolbarCurrentShortcode",type:"popover",icon:"nc-star",title:Object(an.a)("Icon"),roles:["admin"],position:70,options:[{type:"multiPicker",picker:{id:"mobileSize",label:Object(an.a)("Size"),type:"radioGroup",choices:[{value:"small",icon:"nc-32"},{value:"medium",icon:"nc-48"},{value:"large",icon:"nc-64"},{value:"custom",icon:"nc-more"}],value:Object(rh.mobileSyncOnChange)(e,"size"),onChange:t=>({mobileSize:t,mobileCustomSize:"custom"!==t?e["".concat(t,"Size")]:e.mobileCustomSize})},choices:{custom:[{id:"mobileCustomSize",type:"slider",slider:{min:14,max:180},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:Object(rh.mobileSyncOnChange)(e,"customSize")},onChange:({value:e})=>({mobileCustomSize:e})}]}},{id:"mobilePadding",label:Object(an.a)("Bg Size"),type:"slider",slider:{min:0,max:180},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},disabled:"default"===e.fillType,value:{value:Object(rh.mobileSyncOnChange)(e,"padding")},onChange:({value:e})=>({mobilePadding:e})}]},{id:"mobileToolbarLink",type:"popover",icon:"nc-link",disabled:""===e.linkPopup,position:80,options:[]},{id:"mobileToolbarSettings",type:"popover",disabled:!0}]}const Nk=Object(an.a)("Icon");function Lk({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",align:"start",devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.cc)({v:e,device:t,state:"normal",position:100})]}]}]}const Wk=(e,t)=>{const{type:o}=e;return"outline"===o&&t<=24?1:"outline"===o&&t>24&&t<=32?1.1:"outline"===o&&t>32&&t<=48?1.4:"outline"===o&&t>48&&t<=64?2.3:"outline"===o&&t>64?3:0};function Vk(e){const{className:t}=e;let o;o={".brz &":{color:"var(--color)",borderColor:"var(--borderColor)",backgroundColor:"var(--backgroundColor)",backgroundImage:"var(--backgroundGradient)",borderWidth:"var(--borderWidth)",borderStyle:"var(--borderStyle)",boxShadow:""!==bv({v:e,device:"desktop",state:"normal"})?"var(--boxShadow)":null,transition:"var(--hoverTransition)",transitionProperty:"var(--hoverTransitionProperty)"},".brz &:hover":{color:"var(--hoverColor)",borderColor:"var(--hoverBorderColor)",backgroundColor:"var(--hoverBgColor)",backgroundImage:"var(--hoverBackgroundGradient)"},".brz-ed--desktop &":{width:"var(--width)",height:"var(--height)",fontSize:"var(--fontSize)",padding:"var(--padding)",borderRadius:"var(--borderRadius)",strokeWidth:"var(--strokeWidth)",transition:"var(--hoverTransition)",transitionProperty:"var(--hoverTransitionProperty)",":hover":{boxShadow:""!==bv({v:e,device:"desktop",state:"hover"})?"var(--hoverBoxShadow)":null}},".brz-ed--tablet &":{width:"var(--tabletWidth)",height:"var(--tabletHeight)",fontSize:"var(--tabletFontSize)",padding:"var(--tabletPadding)",borderRadius:"var(--tabletBorderRadius)",strokeWidth:"var(--tabletStrokeWidth)"},".brz-ed--mobile &":{width:"var(--mobileWidth)",height:"var(--mobileHeight)",fontSize:"var(--mobileFontSize)",padding:"var(--mobilePadding)",borderRadius:"var(--mobileBorderRadius)",strokeWidth:"var(--mobileStrokeWidth)"}};const n=String(Object(SP.css)(o));return ra()("brz-span brz-icon",n,t)}var Dk=o(410);function Ak(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class Gk extends Zu.a{static get componentId(){return"Icon"}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let t=!1;"GlobalBlock"===e.type&&(e=Object(nn.k)(Object(Lo.b)().getState())[e.value.globalBlockId].data,t=!0);const{blockId:o,value:{popupId:n}}=e;return{blockId:o,instanceKey:"".concat(this.getId(),"_").concat(n)}}});return Oo.a.createElement(Ju.a,e)}renderForEdit(e){const{type:t,name:o,linkType:n,linkAnchor:a,linkExternalBlank:r,linkExternalRel:i,linkExternalType:l,linkPopup:c,linkUpload:s,popups:d,actionClosePopup:p}=e,u={anchor:a,external:e[l],popup:c,upload:s};let b=Oo.a.createElement("span",{className:Vk(e)},Oo.a.createElement(ml.a,{name:o,type:t}));if(""!==u[n]){const e=ra()({"brz-popup2__action-close":"action"===n&&"on"===p});b=Oo.a.createElement(AB,{type:n,href:u[n],target:r,rel:i,className:e},b)}const h=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ak(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ak(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},function(e){const{borderWidth:t,borderStyle:o,customSize:n,padding:a,borderRadius:r}=e,i=Object(rh.tabletSyncOnChange)(e,"customSize"),l="default"!==e.fillType?Object(rh.tabletSyncOnChange)(e,"padding"):0,c=Math.round((i+2*l+2*e.tempBorderWidth)/2),s="default"===e.fillType?0:"default"!==e.fillType&&"rounded"===e.tempBorderRadiusType?c:Math.round(e.borderRadius/Math.round(e.customSize+2*e.padding+2*e.borderWidth)*Math.round(i+2*l+2*e.borderWidth)),d=Object(rh.mobileSyncOnChange)(e,"customSize"),p="default"!==e.fillType?Object(rh.mobileSyncOnChange)(e,"padding"):0,u=Math.round((d+2*p+2*e.tempBorderWidth)/2),b="default"===e.fillType?0:"default"!==e.fillType&&"rounded"===e.tempBorderRadiusType?u:Math.round(e.borderRadius/Math.round(e.customSize+2*e.padding+2*e.borderWidth)*Math.round(d+2*p+2*e.borderWidth)),h=Math.round(n+2*a+2*t),m=Math.round(i+2*l+2*t),g=Math.round(d+2*p+2*t),v=Wk(e,n),y=Wk(e,i),f=Wk(e,d),O=bv({v:e,device:"desktop",state:"normal"}).replace(";",""),C=bv({v:e,device:"desktop",state:"hover"}).replace(";","");return{"--color":dh({v:e,device:"desktop",state:"normal"}),"--borderColor":bh({v:e,device:"desktop",state:"normal"}),"--backgroundColor":ph({v:e,device:"desktop",state:"normal"}),"--backgroundGradient":uh({v:e,device:"desktop",state:"normal"}),"--borderWidth":"".concat(t,"px"),"--borderStyle":o,"--hoverColor":dh({v:e,device:"desktop",state:"hover"}),"--hoverBorderColor":bh({v:e,device:"desktop",state:"hover"}),"--hoverBgColor":ph({v:e,device:"desktop",state:"hover"}),"--hoverBackgroundGradient":uh({v:e,device:"desktop",state:"hover"}),"--width":"".concat(h,"px"),"--height":"".concat(h,"px"),"--fontSize":"".concat(n,"px"),"--padding":"".concat(a,"px"),"--borderRadius":"".concat(r,"px"),"--strokeWidth":v,"--boxShadow":""!==O?O:null,"--hoverBoxShadow":""!==C?C:null,"--hoverTransition":hh({v:e}),"--hoverTransitionProperty":"background, border-radius, color, border-color, box-shadow","--tabletWidth":"".concat(m,"px"),"--tabletHeight":"".concat(m,"px"),"--tabletFontSize":"".concat(i,"px"),"--tabletPadding":"".concat(l,"px"),"--tabletBorderRadius":"".concat(s,"px"),"--tabletStrokeWidth":y,"--mobileWidth":"".concat(g,"px"),"--mobileHeight":"".concat(g,"px"),"--mobileFontSize":"".concat(d,"px"),"--mobilePadding":"".concat(p,"px"),"--mobileBorderRadius":"".concat(b,"px"),"--mobileStrokeWidth":f}}(e));return Oo.a.createElement(fo.Fragment,null,Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:"brz-icon__container",style:h},Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig(Q,ee),b))),d.length>0&&"popup"===n&&""!==c&&this.renderPopups())}}Object(yo.a)(Gk,"defaultValue",Dk);var Uk=Gk,Kk=o(411);const qk=Object(an.a)("Image");function Yk({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}const Xk=(e,{imageWidth:t,imageHeight:o,resize:n,width:a,height:r})=>{const i=e/(t/o);return{width:Math.round(e*(n/100)*(a/100)),height:Math.round(i*(n/100)*(r/100))}},Zk=(e,t,o=!1)=>{let n=Ao.a.extend({},t);const a=Xk(e,n);n.wrapperWidth=a.width,n.wrapperHeight=a.height;const r=((e,t)=>(t.imageHeight=e/(t.imageWidth/t.imageHeight),t.imageWidth=e,t))(e,n);let i=1;(n=Ao.a.extend(n,r)).height>100&&(i=n.height/100);let l=n.imageWidth*(n.resize/100)*(n.zoom/100)*i,c=n.imageHeight*(n.resize/100)*(n.zoom/100)*i;var s={imgWidth:l,imgHeight:c,imgMarginWidth:l-a.width*(n.zoom/100),imgMarginHeight:c-a.height*(n.zoom/100),wrapperWidth:n.wrapperWidth,wrapperHeight:n.wrapperHeight,positionX:n.positionX,positionY:n.positionY};const d=((e,t)=>{let o,n,a,r;const i=e.positionX,l=e.positionY,c=e.imgWidth-e.wrapperWidth,s=e.imgHeight-e.wrapperHeight;return a=i*e.imgWidth/100,r=l*e.imgHeight/100,o=a-e.wrapperWidth/2,n=r-e.wrapperHeight/2,e.imgWidth>e.wrapperWidth?(o<0&&(o=0),o>c&&(o=c)):o=t?0:c/2,e.imgHeight>e.wrapperHeight?(n<0&&(n=0),n>s&&(n=s)):n=t?0:s/2,{left:-o,top:-n}})(s,o);return{width:Math.round(s.imgWidth),height:Math.round(s.imgHeight),marginLeft:Math.round(d.left),marginTop:Math.round(d.top)}},Jk=()=>5,$k=()=>100,Qk=()=>5,eE=(e,t)=>{const{imageWidth:o,imageHeight:n}=t,a=2*e/(n/(o/e))*100;return a>=100?Math.round(a):100},tE=Object(sh.c)("image"),oE=e=>"svg"===e;var nE=({desktopWrapperSizes:e,desktopContainerWidth:t,tabletWrapperSizes:o,tabletContainerWidth:n,mobileWrapperSizes:a,mobileContainerWidth:r,gallery:i})=>({getItemsForDesktop:aE(e,t,i),getItemsForTablet:rE(o,n,i),getItemsForMobile:iE(a,r,i)});const aE=(e,t,o)=>n=>{const a="desktop",r=Math.round(Math.min(e.width,e.height)/2),{hex:i}=Object(sh.d)(Object(rh.defaultValueValue)({v:n,key:"boxShadowColorHex",device:a}),Object(rh.defaultValueValue)({v:n,key:"boxShadowColorPalette",device:a})),{inGallery:l=!1}=o||{};return[{id:"toolbarImage",type:"popover",icon:"nc-img",title:Object(an.a)("Image"),position:80,options:[{id:"media",type:"tabs",tabs:[{id:"image",label:Object(an.a)("Image"),options:[{id:"image",label:Object(an.a)("Image"),type:"imageSetter",showPointer:!oE(n.imageExtension),population:{show:tE.length>0&&!l,choices:tE},value:{width:n.imageWidth,height:n.imageHeight,extension:n.imageExtension,src:n.imageSrc,x:n.positionX,y:n.positionY,population:n.imagePopulation},onChange:({width:o,height:a,src:r,x:i,y:l,population:c,extension:s})=>{if(c)return{imagePopulation:c};o=o||lE.width,a=a||lE.height;const d=Xk(t,{imageWidth:o,imageHeight:a,resize:n.resize,width:n.width,height:100});let p=n.height;return oE(s)?p=100:r!==n.imageSrc&&(p=Math.round(e.height/d.height*100)),{imageWidth:o,imageHeight:a,imageSrc:r,imageExtension:s,height:p,positionX:i,positionY:l,imagePopulation:""}}},{id:"zoom",label:Object(an.a)("Zoom"),type:"slider",disabled:Boolean(n.imagePopulation)||oE(n.imageExtension),slider:{min:100,max:200},input:{show:!0,min:100,max:200},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:n.zoom},onChange:({value:e})=>({zoom:e})},{id:"linkLightBox",label:Object(an.a)("Open in Lightbox"),type:"switch-dev",disabled:l,devices:"desktop"}]},{id:"tags",label:Object(an.a)("Tags"),options:[Object(ej.fc)({v:n,device:a,gallery:o})]}]}]},{id:"toolbarColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],position:80,icon:{style:{backgroundColor:Object(mn.c)(i,n.boxShadowColorOpacity)}},options:[{id:"tabsState",tabsPosition:"left",type:"tabs",value:n.tabsState,tabs:[{id:"tabNormal",tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:"tabsColor",type:"tabs",value:n.tabsColor,hideHandlesWhenOne:!1,tabs:[{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:n,device:a,state:"normal",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:41,options:[Object(ej.s)({v:n,device:a,state:"normal",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:59,options:[Object(ej.r)({v:n,device:a,state:"normal",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]},{id:"tabHover",tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:"tabsColor",type:"tabs",value:n.tabsColor,hideHandlesWhenOne:!1,tabs:[{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:n,device:a,state:"hover",devices:"desktop",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:41,options:[Object(ej.s)({v:n,device:a,state:"hover",devices:"desktop",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:59,options:[Object(ej.r)({v:n,device:a,state:"hover",devices:"desktop",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]}]}],onChange:(e,{isOpen:t})=>({tabsState:t?n.tabsState:"tabNormal"})},{id:"toolbarLink",type:"popover",icon:"nc-link",title:Object(an.a)("Link"),size:"medium",position:90,disabled:l&&"on"===n.linkLightBox,options:[{id:"linkType",type:"tabs",value:n.linkType,tabs:[{id:"external",label:Object(an.a)("URL"),options:[Object(ej.ec)({v:n,inGallery:l}),Object(ej.ic)({v:n}),Object(ej.jc)({v:n})]},{id:"anchor",label:Object(an.a)("Block"),options:[Object(ej.gc)({v:n})]}]}]},{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,disabled:l,options:[{id:"resize",label:Object(an.a)("Size"),type:"slider",slider:{min:Jk(),max:$k()},input:{show:!0},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:n.resize},onChange:({value:e})=>({resize:e})},{id:"height",label:Object(an.a)("Height"),type:"slider",disabled:oE(n.imageExtension),slider:{min:Qk(),max:eE(t,n)},input:{show:!0},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:n.height},onChange:({value:e})=>({height:e})},{type:"multiPicker",picker:{id:"borderRadiusType",label:Object(an.a)("Corner"),type:"radioGroup",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}],value:n.borderRadiusType,onChange:e=>({borderRadiusType:e,borderRadius:"square"===e?n.tempBorderRadius:"rounded"===e?r:n.borderRadius})},choices:{custom:[{id:"borderRadius",type:"slider",slider:{min:0,max:r},input:{show:!0,max:r},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:Math.min(n.borderRadius,r)},onChange:({value:e})=>({borderRadius:e,tempBorderRadius:e})}]}},{id:"advancedSettings",type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}]},rE=(e,t,o)=>n=>{const{inGallery:a=!1}=o||{};return[{id:"toolbarImage",type:"popover",icon:"nc-img",title:Object(an.a)("Image"),position:80,options:[{id:"tabletImage",label:Object(an.a)("Image"),type:"imageSetter",onlyPointer:!0,showPointer:!oE(n.imageExtension),population:{show:tE.length>0&&!a,choices:tE},value:{width:n.imageWidth,height:n.imageHeight,extension:n.imageExtension,src:n.imageSrc,x:Object(rh.tabletSyncOnChange)(n,"positionX"),y:Object(rh.tabletSyncOnChange)(n,"positionY"),population:n.imagePopulation},onChange:({width:o,height:a,x:r,y:i,population:l,extension:c})=>{if(l)return{imagePopulation:l};o=o||lE.width,a=a||lE.height;const s=Xk(t,{imageWidth:o,imageHeight:a,resize:Object(rh.tabletSyncOnChange)(n,"resize"),width:Object(rh.tabletSyncOnChange)(n,"width"),height:100});return{imageWidth:o,imageHeight:a,imageExtension:c,tabletPositionX:r,tabletPositionY:i,tabletHeight:oE(c)?100:Math.round(e.height/s.height*100),imagePopulation:""}}},{id:"tabletZoom",label:Object(an.a)("Zoom"),type:"slider",disabled:Boolean(n.imagePopulation),slider:{min:100,max:200},value:{value:Object(rh.tabletSyncOnChange)(n,"zoom")},onChange:({value:e})=>({tabletZoom:e})}]},{id:"tabletToolbarLink",type:"popover",icon:"nc-link",position:90,options:[]},{id:"tabletToolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,disabled:a,options:[{id:"tabletResize",label:Object(an.a)("Size"),type:"slider",input:{show:!0},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(rh.tabletSyncOnChange)(n,"resize")},onChange:({value:e})=>({tabletResize:e})},{id:"tabletHeight",label:Object(an.a)("Height"),type:"slider",slider:{max:eE(t,n)},input:{show:!0},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(rh.tabletSyncOnChange)(n,"height")},onChange:({value:e})=>({tabletHeight:e})}]}]},iE=(e,t,o)=>n=>{const{inGallery:a=!1}=o||{};return[{id:"toolbarImage",type:"popover",icon:"nc-img",title:Object(an.a)("Image"),position:80,options:[{id:"media",type:"tabs",tabs:[{id:"image",label:Object(an.a)("Image"),options:[{id:"mobileImage",label:Object(an.a)("Image"),type:"imageSetter",onlyPointer:!0,showPointer:!oE(n.imageExtension),population:{show:tE.length>0&&!a,choices:tE},value:{width:n.imageWidth,height:n.imageHeight,extension:n.imageExtension,src:n.imageSrc,x:Object(rh.mobileSyncOnChange)(n,"positionX"),y:Object(rh.mobileSyncOnChange)(n,"positionY"),population:n.imagePopulation},onChange:({width:o,height:a,x:r,y:i,population:l,extension:c})=>{if(l)return{imagePopulation:l};o=o||lE.width,a=a||lE.height;const s=Xk(t,{imageWidth:o,imageHeight:a,resize:Object(rh.mobileSyncOnChange)(n,"resize"),width:Object(rh.mobileSyncOnChange)(n,"width"),height:100});return{imageWidth:o,imageHeight:a,imageExtension:c,mobilePositionX:r,mobilePositionY:i,mobileHeight:oE(c)?100:Math.round(e.height/s.height*100),imagePopulation:""}}},{id:"mobileZoom",label:Object(an.a)("Zoom"),type:"slider",disabled:Boolean(n.imagePopulation),slider:{min:100,max:200},value:{value:Object(rh.mobileSyncOnChange)(n,"zoom")},onChange:({value:e})=>({mobileZoom:e})}]}]}]},{id:"mobileToolbarLink",type:"popover",icon:"nc-link",position:90,options:[]},{id:"mobileToolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,disabled:a,options:[{id:"mobileResize",label:Object(an.a)("Size"),type:"slider",input:{show:!0},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(rh.mobileSyncOnChange)(n,"resize")},onChange:({value:e})=>({mobileResize:e})},{id:"mobileHeight",label:Object(an.a)("Height"),type:"slider",slider:{max:eE(t,n)},input:{show:!0},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(rh.mobileSyncOnChange)(n,"height")},onChange:({value:e})=>({mobileHeight:e})}]}]},lE={width:1440,height:960};function cE(e,t,o){const{className:n,borderRadius:a,imageSrc:r,imagePopulation:i,linkLightBox:l}=e,{meta:{desktopW:c,tabletW:s,mobileW:d,inGallery:p}}=o;const u=String(Object(SP.css)(void 0));return ra()("brz-image",{"brz-image__lightbox":(r||i)&&"on"===l&&!p},n,u)}function sE(e){const t=zy({v:e,device:"desktop",state:"normal",prefix:"image"});return{"--imageFilter":""!==t?t:null}}function dE(){const e=String(Object(SP.css)({".brz-ed--desktop &":{maxWidth:"var(--maxWidth)",height:"var(--height)"},".brz-ed--tablet &":{maxWidth:"var(--tabletMaxWidth)",height:"var(--tabletHeight)"},".brz-ed--mobile &":{maxWidth:"var(--mobileMaxWidth)",height:"var(--mobileHeight)"}}));return ra()("brz-ed-image__content",e)}function pE(e,t){const{borderRadius:o}=e,{desktop:{width:n,height:a},tablet:{width:r,height:i},mobile:{width:l,height:c}}=t,s=Math.round(Math.min(n,a)/2),d=Math.round(Math.min(r,i)/2),p=Math.round(Math.min(l,c)/2);return{"--maxWidth":"".concat(n,"px"),"--height":"".concat(a,"px"),"--borderRadius":"".concat(Math.min(o,s),"px"),"--tabletMaxWidth":"".concat(r,"px"),"--tabletHeight":"".concat(i,"px"),"--tabletBorderRadius":"".concat(Math.min(o,d),"px"),"--mobileMaxWidth":"".concat(l,"px"),"--mobileHeight":"".concat(c,"px"),"--mobileBorderRadius":"".concat(Math.min(o,p),"px")}}function uE(e){const{className:t}=e,o=String(Object(SP.css)({".brz-ed--desktop &":{width:"var(--width)",height:"var(--height)",borderRadius:"var(--borderRadius)",boxShadow:"var(--boxShadow)",transition:"var(--hoverTransition)",transitionProperty:"var(--hoverTransitionProperty)",":after":{boxShadow:"var(--boxShadow)",transition:"var(--hoverTransition)",transitionProperty:"var(--hoverTransitionProperty)"},":hover:after":{boxShadow:"var(--hoverBoxShadow)"},":hover":{boxShadow:"var(--hoverBoxShadow)"}},".brz-ed--tablet &":{width:"var(--tabletWidth)",height:"var(--tabletHeight)",borderRadius:"var(--tabletBorderRadius)",boxShadow:"var(--tabletBoxShadow)",":after":{boxShadow:"var(--tabletBoxShadow)"}},".brz-ed--mobile &":{width:"var(--mobileWidth)",height:"var(--mobileHeight)",borderRadius:"var(--mobileBorderRadius)",boxShadow:"var(--mobileBoxShadow)",":after":{boxShadow:"var(--mobileBoxShadow)"}}}));return ra()("brz-ed-image__wrapper",o,t)}function bE(e,t){const{desktop:{width:o,height:n},tablet:{width:a,height:r},mobile:{width:i,height:l}}=t,c=bv({v:e,device:"desktop",state:"normal"}).replace(";",""),s=bv({v:e,device:"desktop",state:"hover"}).replace(";",""),d=bv({v:e,device:"tablet",state:"normal"}).replace(";",""),p=bv({v:e,device:"mobile",state:"normal"}).replace(";","");return{"--width":"".concat(o,"px"),"--height":"".concat(n,"px"),"--boxShadow":""!==c?c:null,"--hoverBoxShadow":""!==s?s:null,"--hoverTransition":hh({v:e}),"--hoverTransitionProperty":"background, color, border-color, box-shadow","--tabletWidth":"".concat(a,"px"),"--tabletHeight":"".concat(r,"px"),"--tabletBoxShadow":""!==d?d:null,"--mobileWidth":"".concat(i,"px"),"--mobileHeight":"".concat(l,"px"),"--mobileBoxShadow":""!==p?p:null}}function hE(e){const{desktop:{width:t,height:o},tablet:{width:n,height:a},mobile:{width:r,height:i}}=e,l={"@media (min-width: 992px)":{".brz &":{paddingTop:"".concat(Object(YB.d)(o/t*100,4),"%")}},"@media (max-width: 991px)":{".brz &":{paddingTop:"".concat(Object(YB.d)(a/n*100,4),"%")}},"@media (max-width: 767px)":{".brz &":{paddingTop:"".concat(Object(YB.d)(i/r*100,4),"%")}}},c=String(Object(SP.css)(l));return ra()("brz-picture brz-d-block brz-p-relative",c)}function mE(e){const{className:t}=e,o={filter:""!==zy({v:e,device:"desktop",state:"normal",prefix:"image"})?"var(--imageFilter)":null,".brz-ed--desktop &":{width:"var(--width)",height:"var(--height)",marginLeft:"var(--marginLeft)",marginTop:"var(--marginTop)"},".brz-ed--tablet &":{width:"var(--tabletWidth)",height:"var(--tabletHeight)",marginLeft:"var(--tabletMarginLeft)",marginTop:"var(--tabletMarginTop)"},".brz-ed--mobile &":{width:"var(--mobileWidth)",height:"var(--mobileHeight)",marginLeft:"var(--mobileMarginLeft)",marginTop:"var(--mobileMarginTop)"}},n=String(Object(SP.css)(o));return ra()("brz-img",n,t)}function gE(e,t){const{desktop:{width:o,height:n,marginLeft:a,marginTop:r},tablet:{width:i,height:l,marginLeft:c,marginTop:s},mobile:{width:d,height:p,marginLeft:u,marginTop:b}}=t;return{"--width":"".concat(o,"px"),"--height":"".concat(n,"px"),"--marginLeft":"".concat(a,"px"),"--marginTop":"".concat(r,"px"),"--tabletWidth":"".concat(i,"px"),"--tabletHeight":"".concat(l,"px"),"--tabletMarginLeft":"".concat(c,"px"),"--tabletMarginTop":"".concat(s,"px"),"--mobileWidth":"".concat(d,"px"),"--mobileHeight":"".concat(p,"px"),"--mobileMarginLeft":"".concat(u,"px"),"--mobileMarginTop":"".concat(b,"px")}}function vE(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const yE={default:["topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight"],gallery:["bottomCenter"],svg:["topLeft","topRight","bottomLeft","bottomRight"]},fE=e=>{const{resize:t}=e,o=Object(ca.a)(e,["resize"]);return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?vE(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):vE(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({size:t,tabletSize:Object(rh.tabletSyncOnChange)(e,"resize"),mobileSize:Object(rh.mobileSyncOnChange)(e,"resize")},o)},OE=e=>(e.size&&(e.resize=e.size,delete e.size),e.tabletSize&&(e.tabletResize=e.tabletSize,delete e.tabletSize),e.mobileSize&&(e.mobileResize=e.mobileSize,delete e.mobileSize),e),CE=e=>"svg"===e;class SE extends Zu.a{static get componentId(){return"Image"}constructor(e){super(e),Object(yo.a)(this,"handleContainerRef",e=>{this.container=e}),Object(yo.a)(this,"handleResize",()=>{this.updateContainerMaxWidth(),this.updateContainerWidth(),this.props.onResize()}),Object(yo.a)(this,"handleBoxResizerChange",e=>{this.patchValue(OE(e)),this.props.onResize()}),Object(yo.a)(this,"updateContainerWidth",()=>{if(!this.mounted)return;const{containerWidth:e}=this.state;if("desktop"===Object(Lo.b)().getState().ui.deviceMode){const t=this.container.clientWidth;t!==e&&this.setState({containerWidth:t})}}),Object(yo.a)(this,"updateContainerMaxWidth",Ao.a.debounce(()=>{if(!this.mounted)return;const{tabletW:e,mobileW:t}=this.props.meta,{containerWidth:o,maxDesktopContainerWidth:n,maxTabletContainerWidth:a,maxMobileContainerWidth:r}=this.state,i=Math.round(this.getMaxContainerWidth(o)),l=Math.round(this.getMaxContainerWidth(e,"tablet")),c=Math.round(this.getMaxContainerWidth(t,"mobile"));(i>n||l>a||c>r)&&this.setState({maxDesktopContainerWidth:i,maxTabletContainerWidth:l,maxMobileContainerWidth:c})},2e3)),Object(yo.a)(this,"getMaxContainerWidth",(e,t="desktop")=>{const o=this.getValue(),n=this.getImageSizes(o,e);let a,r;if(this.props.meta.row&&this.props.meta.row.itemsLength){const{row:{itemsLength:e},desktopW:o}=this.props.meta;r=o-Bn*(e-1),a=100*n[t].width/r}else r=e,a=100*n[t].width/e;const i=20*Math.ceil(a/20);return Math.min(i*r/100,o.imageWidth)}),Object(yo.a)(this,"getImageSizes",(e,t)=>{const{imageWidth:o,imageHeight:n,positionX:a,positionY:r,resize:i,zoom:l,width:c,height:s}=e,{tabletW:d,mobileW:p}=this.props.meta,u={imageWidth:o,imageHeight:n,positionX:a,positionY:r,resize:i,zoom:l,width:c,height:s},b={imageWidth:o,imageHeight:n,positionX:Object(rh.tabletSyncOnChange)(e,"positionX"),positionY:Object(rh.tabletSyncOnChange)(e,"positionY"),resize:Object(rh.tabletSyncOnChange)(e,"resize"),zoom:Object(rh.tabletSyncOnChange)(e,"zoom"),width:c,height:Object(rh.tabletSyncOnChange)(e,"height")},h={imageWidth:o,imageHeight:n,positionX:Object(rh.mobileSyncOnChange)(e,"positionX"),positionY:Object(rh.mobileSyncOnChange)(e,"positionY"),resize:Object(rh.mobileSyncOnChange)(e,"resize"),zoom:Object(rh.mobileSyncOnChange)(e,"zoom"),width:c,height:Object(rh.mobileSyncOnChange)(e,"height")};return{desktop:Zk(t,u),tablet:Zk(d,b),mobile:Zk(p,h)}});const{desktopW:t,tabletW:o,mobileW:n}=this.props.meta,a=Math.round(this.getMaxContainerWidth(t)),r=Math.round(this.getMaxContainerWidth(o,"tablet")),i=Math.round(this.getMaxContainerWidth(n,"mobile"));this.state={containerWidth:t,maxDesktopContainerWidth:a,maxTabletContainerWidth:r,maxMobileContainerWidth:i}}componentDidMount(){this.mounted=!0,this.handleResize()}componentWillUnmount(){this.mounted=!1}getImageUrlsFor(e,t){const o=this.getValue(),{desktopW:n}=this.props.meta,{width:a,height:r}=e[t],i=this.getImageSizes(o,n);let{width:l,height:c,marginLeft:s,marginTop:d}=i[t];s=Math.abs(s),d=Math.abs(d);const p=o.imagePopulation?ir.b:ir.c,u=o.imagePopulation?o.imagePopulation:o.imageSrc,b=o.imagePopulation?{cW:a,cH:r}:{iW:l,iH:c,oX:s,oY:d,cW:a,cH:r};return{source:p(u,b),url:"".concat(p(u,b)," 1x, ").concat(p(u,(h=b,m=2,Object.entries(h).reduce((e,[t,o])=>(e[t]=o*m,e),{})))," 2x")};var h,m}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let t=!1;"GlobalBlock"===e.type&&(e=Object(nn.k)(Object(Lo.b)().getState())[e.value.globalBlockId].data,t=!0);const{blockId:o,value:{popupId:n}}=e;return{blockId:o,instanceKey:"".concat(this.getId(),"_").concat(n)}}});return Oo.a.createElement(Ju.a,e)}renderForEdit(e){const{imageWidth:t,imageHeight:o,imageSrc:n,imageExtension:a,imagePopulation:r,positionX:i,positionY:l,resize:c,zoom:s,width:d,height:p,linkAnchor:u,linkExternalBlank:b,linkExternalRel:h,linkLightBox:m,linkExternalType:g,linkPopup:v,linkUpload:y,popups:f}=e,{tabletW:O,mobileW:C,gallery:S={}}=this.props.meta,{containerWidth:x,maxDesktopContainerWidth:j,maxTabletContainerWidth:B,maxMobileContainerWidth:P}=this.state,w=this.getImageSizes(e,x);let T;if(r)T=Oo.a.createElement(Jz,{icon:"dynamic-img"});else if(n)if(CE(a))T=Oo.a.createElement("img",{className:mE(e),src:Object(ir.f)(n),draggable:!1,loading:"lazy"});else{const t={iW:P,iH:"any"},o={iW:2*P,iH:"any"},a="".concat(Object(ir.c)(n,t)," 1x, ").concat(Object(ir.c)(n,o)," 2x"),r={iW:B,iH:"any"},i={iW:2*B,iH:"any"},l="".concat(Object(ir.c)(n,r)," 1x, ").concat(Object(ir.c)(n,i)," 2x"),c={iW:j,iH:"any"},s={iW:2*j,iH:"any"},d="".concat(Object(ir.c)(n,c)," 1x, ").concat(Object(ir.c)(n,s)," 2x");T=Oo.a.createElement("picture",{className:"brz-picture"},Oo.a.createElement("source",{srcSet:d,media:"(min-width: 992px)"}),Oo.a.createElement("source",{srcSet:l,media:"(min-width: 768px)"}),Oo.a.createElement("img",{className:mE(e),style:gE(0,w),srcSet:a,src:Object(ir.c)(n,t),draggable:!1,loading:"lazy"}))}else T=Oo.a.createElement(Jz,{icon:"img"});const z="on"===m?"lightBox":e.linkType,k={anchor:u,external:e[g],popup:v,upload:y,lightBox:r?Object(ir.b)(r):CE(a)?Object(ir.f)(n):Object(ir.c)(n,{iW:1200,iH:"any"})};""!==k[z]&&(T=Oo.a.createElement(AB,{type:z,href:k[z],target:b,rel:h},T));const E={imageSrc:n,imageWidth:t,imageHeight:o,positionX:i,positionY:l,resize:c,zoom:s,width:d,height:p},H={imageSrc:n,imageWidth:t,imageHeight:o,positionX:Object(rh.tabletSyncOnChange)(e,"positionX"),positionY:Object(rh.tabletSyncOnChange)(e,"positionY"),resize:Object(rh.tabletSyncOnChange)(e,"resize"),zoom:Object(rh.tabletSyncOnChange)(e,"zoom"),width:d,height:Object(rh.tabletSyncOnChange)(e,"height")},_={imageSrc:n,imageWidth:t,imageHeight:o,positionX:Object(rh.mobileSyncOnChange)(e,"positionX"),positionY:Object(rh.mobileSyncOnChange)(e,"positionY"),resize:Object(rh.mobileSyncOnChange)(e,"resize"),zoom:Object(rh.mobileSyncOnChange)(e,"zoom"),width:d,height:Object(rh.mobileSyncOnChange)(e,"height")},R={desktop:Xk(x,E),tablet:Xk(O,H),mobile:Xk(C,_)},M=nE({desktopWrapperSizes:R.desktop,desktopContainerWidth:x,tabletWrapperSizes:R.tablet,tabletContainerWidth:O,mobileWrapperSizes:R.mobile,mobileContainerWidth:C,gallery:S}),I={height:{min:Qk(),max:1/0},size:{min:Jk(),max:$k()}};let F=yE.default;return S&&S.inGallery?F=yE.gallery:CE(a)&&(F=yE.svg),Oo.a.createElement(fo.Fragment,null,Oo.a.createElement("div",{ref:this.handleContainerRef,className:cE(e,0,this.props),style:sE(e)},Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig(M,te),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:dE(),style:pE(e,R)},Oo.a.createElement(Zz,{restrictions:I,points:F,meta:this.props.meta,value:fE(e),onChange:this.handleBoxResizerChange},Oo.a.createElement("div",{className:uE(e),style:bE(e,R)},T))))),Oo.a.createElement(Yj.a,{onResize:this.handleResize})),f.length>0&&"popup"===z&&""!==v&&this.renderPopups())}renderForView(e){const{imagePopulation:t,imageWidth:o,imageHeight:n,imageExtension:a,imageSrc:r,linkAnchor:i,linkExternalBlank:l,linkExternalRel:c,linkLightBox:s,linkExternalType:d,linkPopup:p,linkUpload:u,popups:b,actionClosePopup:h}=e,{desktopW:m,tabletW:g,mobileW:v}=this.props.meta,y={desktop:Xk(m,e),tablet:Xk(g,{imageWidth:o,imageHeight:n,resize:Object(rh.tabletSyncOnChange)(e,"resize"),width:Object(rh.tabletSyncOnChange)(e,"width"),height:Object(rh.tabletSyncOnChange)(e,"height")}),mobile:Xk(v,{imageWidth:o,imageHeight:n,resize:Object(rh.mobileSyncOnChange)(e,"resize"),width:Object(rh.mobileSyncOnChange)(e,"width"),height:Object(rh.mobileSyncOnChange)(e,"height")})},{source:f,url:O}=this.getImageUrlsFor(y,"desktop"),{url:C}=this.getImageUrlsFor(y,"tablet"),{url:S}=this.getImageUrlsFor(y,"mobile");let x;if(t||r){const o=this.getExtraImageProps?this.getExtraImageProps(e):{};x=CE(a)&&!t?Oo.a.createElement("picture",{className:hE(y)}," ",Oo.a.createElement("img",Object(ta.a)({},o,{className:"brz-img brz-p-absolute",src:Object(ir.f)(r),loading:"lazy"}))):Oo.a.createElement("picture",{className:hE(y)},Oo.a.createElement("source",{srcSet:O,media:"(min-width: 992px)"}),Oo.a.createElement("source",{srcSet:C,media:"(min-width: 768px)"}),Oo.a.createElement("img",Object(ta.a)({},o,{className:"brz-img brz-p-absolute",src:f,srcSet:S,loading:"lazy"})))}else x=Oo.a.createElement(Jz,{icon:"img"});const j="on"===s?"lightBox":e.linkType,B={anchor:i,external:e[d],popup:p,upload:u,lightBox:t?Object(ir.b)(t):CE(a)?Object(ir.f)(r):Object(ir.c)(r,{iW:1200,iH:"any"})};if(""!==B[j]){const e=ra()({"brz-popup2__action-close":"action"===j&&"on"===h});x=Oo.a.createElement(AB,{type:j,href:B[j],target:l,rel:c,className:e},x)}return Oo.a.createElement(fo.Fragment,null,Oo.a.createElement("div",{className:cE(e,0,this.props)},Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},x)),b.length>0&&"popup"===j&&""!==p&&this.renderPopups())}}Object(yo.a)(SE,"defaultProps",{meta:{},onResize:Ao.a.noop}),Object(yo.a)(SE,"defaultValue",Kk);var xE=SE;const jE=e=>e.replace(/{{|}}/g,"");function BE({v:e,device:t}){const o=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t}),{hex:n}=Object(sh.d)(o("borderColorHex"),o("borderColorPalette"));return[{id:(e=>Object(rh.defaultValueKey)({key:e,device:t}))("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],devices:"desktop",position:90,icon:{style:{backgroundColor:Object(mn.c)(n,e.borderColorOpacity)}},options:[Object(ej.l)({v:e,device:t,state:"normal",selectChoices:[{value:"solid",icon:"nc-solid"},{value:"dashed",icon:"nc-dashed"},{value:"dotted",icon:"nc-dotted"}],onChangeStyle:["onChangeBorderStyle2","onChangeElementBorderStyleDependencies2"],onChangeHex:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2"],onChangePalette:["onChangeBorderColorPalette2","onChangeBorderColorPaletteOpacity2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[Object(ej.m)({v:e,device:t,onChange:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2"]})]},{width:62,options:[Object(ej.p)({v:e,device:t,state:"normal",onChange:["onChangeBorderWidthGrouped2"]})]}]}]},{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"advancedSettings",type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog",devices:"desktop"}]}]}const PE=Object(an.a)("Line");function wE(){return[]}var TE=o(412);const zE=["centerLeft","centerRight"];class kE extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e))}static get componentId(){return"Line"}renderForEdit(e,t,o){const n=ra()("brz-line",Qb(this.constructor.componentId,this.getId(),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidthPercent"]},".brz &&:hover .brz-hr":{standart:["cssStyleElementLineBorder"]}}})}(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(oe,ne),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:n},Oo.a.createElement(Zz,{points:zE,meta:this.props.meta,value:e,onChange:this.handleResizerChange},Oo.a.createElement("hr",{className:"brz-hr"})))))}}Object(yo.a)(kE,"defaultValue",TE);var EE=kE;function HE(){return[{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"height",label:Object(an.a)("Height"),type:"slider-dev",config:{min:10,max:200,units:[{value:"px",title:"px"}]}}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}const _E=Object(an.a)("Spacer");function RE(){return[]}var ME=o(413);const IE=["bottomCenter"],FE={height:{min:10,max:1/0},tabletHeight:{min:10,max:1/0},mobileHeight:{min:10,max:1/0}};class NE extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e))}static get componentId(){return"Spacer"}renderForEdit(e,t,o){const n=ra()("brz-spacer",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeHeightPx"]}}})}(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(ae,re,{allowSidebarExtend:!1}),Oo.a.createElement(Zz,{points:IE,restrictions:FE,meta:this.props.meta,value:e,onChange:this.handleResizerChange},Oo.a.createElement("div",{className:n})))}}Object(yo.a)(NE,"defaultValue",ME);var LE=NE;function WE({v:e,device:t}){const o=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t}),{hex:n}=Object(sh.d)(o("borderColorHex"),o("borderColorPalette"));return[{id:"popoverCode",type:"popover",icon:"nc-iframe",size:"large",title:Object(an.a)("Embed"),roles:["admin"],devices:"desktop",position:90,options:[Object(ej.ob)({v:e,device:t,devices:"desktop",state:"normal"})]},{id:"popoverColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),devices:"desktop",position:90,icon:{style:{backgroundColor:Object(mn.c)(n,e.borderColorOpacity)}},options:[{id:"tabsColor",type:"tabs",tabs:[{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"advancedSettings",type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog",devices:"desktop"}]}]}const VE=Object(an.a)("Embed");function DE({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",devices:"desktop",options:[Object(ej.n)({v:e,device:t,state:"normal",devices:"desktop",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]})]},{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}var AE=o(414);const GE=["centerLeft","centerRight"],UE={width:{min:5,max:100},tabletWidth:{min:5,max:100},mobileWidth:{min:5,max:100}};class KE extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e))}static get componentId(){return"EmbedCode"}renderForEdit(e,t,o){const{code:n}=e,a=ra()("brz-embed-code",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidthPercent"]},".brz &&:hover:before":{standart:["cssStyleBoxShadow","cssStyleBorder","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover .brz-shortcode__placeholder":{standart:["cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]}}})}(e,t,o))),r=n?Oo.a.createElement("div",{className:ra()({"brz-blocked":!0}),dangerouslySetInnerHTML:{__html:n}}):Oo.a.createElement(Jz,{icon:"iframe"});return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(ie,le),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:a},Oo.a.createElement(Zz,{points:GE,restrictions:UE,meta:this.props.meta,value:e,onChange:this.handleResizerChange},Oo.a.createElement("div",{className:"brz-embed-content"},r)))))}}Object(yo.a)(KE,"defaultValue",AE);var qE=KE;function YE({v:e,device:t}){const o=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),n=Object(sh.c)("richText"),{hex:a}=Object(sh.d)(o("borderColorHex"),o("borderColorPalette"));return[{id:"toolbarCurrentElement",type:"popover",icon:"nc-pin",title:Object(an.a)("Map"),devices:"desktop",position:90,options:[{id:"tabsCurrentElement",type:"tabs",tabs:[{id:"tabCurrentElement",label:Object(an.a)("Map"),options:[{id:"address",label:Object(an.a)("Address"),type:"inputText-dev",placeholder:Object(an.a)("Enter address"),population:n},{id:"zoom",label:Object(an.a)("Zoom"),type:"slider-dev",config:{min:1,max:21}}]}]}]},{id:"toolbarColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],position:90,devices:"desktop",disabled:""===o("coverImageSrc"),icon:{style:{backgroundColor:Object(mn.c)(a,o("borderColorOpacity"))}},options:[{id:"tabsColor",type:"tabs",tabs:[{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",devices:"desktop",states:[uw.c,uw.b]}]}]}]},{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"size",label:Object(an.a)("Size"),type:"slider-dev",position:80,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"height",label:Object(an.a)("Height"),type:"slider-dev",config:{min:5,max:500,units:[{value:"px",title:"px"}]}},{id:"advancedSettings",type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog",devices:"desktop"}]}]}const XE=Object(an.a)("Map");function ZE({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.n)({v:e,device:t,state:"normal",devices:"desktop",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]})]},{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}var JE=o(415);function $E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const QE="https://www.google.com/maps/embed/v1/place",eH="AIzaSyCcywKcxXeMZiMwLDcLgyEnNglcLOyB_qw",tH=["topLeft","topCenter","topRight","centerLeft","centerRight","bottomLeft","bottomCenter","bottomRight"],oH={height:{min:25,max:1/0},width:{min:5,max:100},tabletHeight:{min:25,max:1/0},tabletWidth:{min:5,max:100},mobileHeight:{min:25,max:1/0},mobileWidth:{min:5,max:100}},nH=e=>{const{size:t,tabletSize:o,mobileSize:n}=e;return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$E(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({width:t,tabletWidth:o,mobileWidth:n},Object(ca.a)(e,["size","tabletSize","mobileSize"]))},aH=e=>(e.width&&(e.size=e.width,delete e.width),e.tabletWidth&&(e.tabletSize=e.tabletWidth,delete e.tabletWidth),e.mobileWidth&&(e.mobileSize=e.mobileWidth,delete e.mobileWidth),e);class rH extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(aH(e)))}static get componentId(){return"Map"}renderForEdit(e,t,o){const{address:n,addressPopulation:a,zoom:r}=e,i=""===a?n:a,l="".concat(QE,"?key=").concat(eH,"&q=").concat(i,"&zoom=").concat(r),c=ra()("brz-map",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeSizePercent","cssStyleSizeHeightPx"]},".brz &&:hover:before":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStyleElementMapPropertyHoverTransition"]},".brz &&:hover .brz-map-content":{standart:["cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStyleElementMapPropertyHoverTransition"]},".brz &&:hover .brz-iframe":{standart:["cssStyleFilter"],interval:["cssStyleHoverTransition","cssStyleElementMapPropertyHoverTransition"]}}})}(e,t,o))),s=n||a?Oo.a.createElement("div",{className:"brz-map-content"},Oo.a.createElement("iframe",{className:ra()("brz-iframe",{"brz-blocked":!0}),src:l})):Oo.a.createElement(Jz,{icon:"pin"});return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(ce,se),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:c},Oo.a.createElement(Zz,{points:tH,restrictions:oH,meta:this.props.meta,value:nH(e),onChange:this.handleResizerChange},s))))}}Object(yo.a)(rH,"defaultValue",JE);var iH=rH;function lH(e){const t="desktop",o=e.fontStyle,{fontSize:n,lineHeight:a}=""===o?e:Object(ko.e)(o);let r=n*a>=e.iconCustomSize?n*a:e.iconCustomSize,i=Math.round((r+2*e.paddingTop+2*e.tempBorderWidth)/2);const{hex:l}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"bgColorHex",device:t}),Object(rh.defaultValueValue)({v:e,key:"bgColorPalette",device:t})),{hex:c}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"colorHex",device:t}),Object(rh.defaultValueValue)({v:e,key:"colorPalette",device:t}));return[{id:"toolbarCurrentShortcode",type:"popover",icon:"nc-button",title:Object(an.a)("Button"),position:60,options:[{id:"currentShortcodeTabs",className:"",type:"tabs",tabs:[{id:"currentShortcodeTab",label:Object(an.a)("Button"),roles:["admin"],options:[{type:"multiPicker",position:10,picker:{id:"size",label:Object(an.a)("Size"),type:"radioGroup",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}],value:e.size,onChange:t=>({size:t,fontSize:"custom"!==t?e["".concat(t,"FontSize")]:n,paddingTB:"custom"!==t?e["".concat(t,"PaddingY")]:e.paddingTB,paddingTop:"custom"!==t?e["".concat(t,"PaddingY")]:e.paddingTop,paddingBottom:"custom"!==t?e["".concat(t,"PaddingY")]:e.paddingBottom,tempPaddingTB:"custom"!==t?e["".concat(t,"PaddingY")]:e.paddingTB,tempPaddingTop:"custom"!==t?e["".concat(t,"PaddingY")]:e.paddingTop,tempPaddingBottom:"custom"!==t?e["".concat(t,"PaddingY")]:e.paddingBottom,paddingRL:"custom"!==t&&"default"===e.fillType?0:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.paddingRL,paddingRight:"custom"!==t&&"default"===e.fillType?0:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.paddingRight,paddingLeft:"custom"!==t&&"default"===e.fillType?0:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.paddingLeft,tempPaddingRL:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.tempPaddingRL,tempPaddingRight:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.tempPaddingRight,tempPaddingLeft:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.tempPaddingLeft,borderRadius:"rounded"===e.borderRadiusType&&"custom"!==t&&e["".concat(t,"FontSize")]*a>=e.iconCustomSize?Math.round((e["".concat(t,"FontSize")]*a+2*e["".concat(t,"PaddingY")]+2*e.borderWidth)/2):"rounded"===e.borderRadiusType&&"custom"!==t&&e["".concat(t,"FontSize")]*a<e.iconCustomSize?Math.round((e.iconCustomSize+2*e["".concat(t,"PaddingY")]+2*e.borderWidth)/2):e.borderRadius,borderWidth:"custom"!==t&&"default"===e.fillType?0:"custom"!==t&&"default"!==e.fillType?e.tempBorderWidth:e.borderWidth})},choices:{custom:[{id:"paddingRL",label:Object(an.a)("Width"),type:"slider",disabled:"submit"===e.type,slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.paddingRL},onChange:({value:e})=>({paddingRL:e,paddingRight:e,paddingLeft:e,tempPaddingRL:e,tempPaddingRight:e,tempPaddingLeft:e})},{id:"paddingTB",label:Object(an.a)("Height"),type:"slider",slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.paddingTB},onChange:({value:t})=>({paddingTB:t,paddingTop:t,paddingBottom:t,tempPaddingTB:t,tempPaddingTop:t,tempPaddingBottom:t,borderRadius:"rounded"===e.borderRadiusType&&n*a>=e.iconCustomSize?Math.round((n*a+2*t+2*e.borderWidth)/2):"rounded"===e.borderRadiusType&&n*a<e.iconCustomSize?Math.round((e.iconCustomSize+2*t+2*e.borderWidth)/2):e.borderRadius})}]}},{id:"fillType",label:Object(an.a)("Fill"),type:"radioGroup",position:20,choices:[{value:"filled",icon:"nc-circle"},{value:"outline",icon:"nc-outline"},{value:"default",icon:"nc-close"}],value:e.fillType,onChange:t=>({fillType:t,tempFillType:"default"!==t?t:e.tempFillType,paddingRL:"default"===t?0:"default"!==t?e.tempPaddingRL:e.paddingRL,paddingRight:"default"===t?0:"default"!==t?e.tempPaddingRight:e.paddingRight,paddingLeft:"default"===t?0:"default"!==t?e.tempPaddingLeft:e.paddingRight,paddingTB:"default"!==t?e.tempPaddingTB:e.paddingTB,paddingTop:"default"!==t?e.tempPaddingTop:e.paddingTop,paddingBottom:"default"!==t?e.tempPaddingBottom:e.paddingBottom,borderRadiusType:"default"===t?"":"default"!==t?e.tempBorderRadiusType:e.borderRadiusType,borderRadius:"default"!==t&&"square"===e.tempBorderRadiusType?e.tempBorderRadius:"default"!==t&&"rounded"===e.tempBorderRadiusType?i:e.borderRadius,borderWidth:"default"===t?0:"default"!==t?e.tempBorderWidth:e.borderWidth,borderColorOpacity:"default"===t?0:"filled"===t&&e.bgColorHex===e.borderColorHex?0:"outline"===t?e.tempBorderColorOpacity:e.borderColorOpacity,borderColorPalette:"default"===t?"":"default"!==t?e.tempBorderColorPalette:e.borderColorPalette,bgColorOpacity:"default"===t||"outline"===t?0:"filled"===t?e.tempBgColorOpacity:e.bgColorOpacity,bgColorPalette:"default"===t||"outline"===t?"":"filled"===t?e.tempBgColorPalette:e.bgColorPalette,gradientColorOpacity:"default"===t||"outline"===t?0:"filled"===t?e.tempGradientColorOpacity:e.gradientColorOpacity,gradientColorPalette:"default"===t||"outline"===t?"":"filled"===t?e.tempGradientColorPalette:e.gradientColorPalette,hoverBgColorOpacity:"default"===t?0:"default"!==t?e.tempHoverBgColorOpacity:e.hoverBgColorOpacity,hoverBorderColorOpacity:"default"===t?0:"default"!==t&&e.hoverBgColorHex===e.hoverBorderColorHex?0:e.hoverBorderColorOpacity})},{type:"multiPicker",position:30,picker:{id:"borderRadiusType",label:Object(an.a)("Corner"),type:"radioGroup",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}],value:e.borderRadiusType,onChange:t=>({borderRadiusType:t,tempBorderRadiusType:""!==t?t:e.tempBorderRadiusType,paddingRight:""!==t?e.tempPaddingRight:e.paddingRight,paddingLeft:""!==t?e.tempPaddingLeft:e.paddingRight,fillType:""!==t?e.tempFillType:e.fillType,borderRadius:"square"===t?e.tempBorderRadius:"rounded"===t?i:e.borderRadius,borderWidth:""!==t?e.tempBorderWidth:e.borderWidth,borderColorOpacity:""!==t?e.tempBorderColorOpacity:e.borderColorOpacity,borderColorPalette:""!==t?e.tempBorderColorPalette:e.borderColorPalette,bgColorOpacity:""!==t&&"filled"===e.fillType?e.tempBgColorOpacity:e.bgColorOpacity,bgColorPalette:""!==t?e.tempBgColorPalette:e.bgColorPalette,hoverBgColorOpacity:""!==t?e.tempHoverBgColorOpacity:e.hoverBgColorOpacity,hoverBorderColorOpacity:""!==t?e.tempHoverBorderColorOpacity:e.hoverBorderColorOpacity})},choices:{custom:[{id:"borderRadius",type:"slider",slider:{min:0,max:i},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.borderRadius},onChange:({value:e})=>({borderRadius:e,tempBorderRadius:e})}]}},{id:"borderWidth",label:Object(an.a)("Border"),type:"slider",slider:{min:0,max:10},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},position:40,value:{value:e.borderWidth},onChange:({value:t},{sliderDragEnd:o})=>({borderWidth:t,tempBorderWidth:t>0&&o?t:e.tempBorderWidth,paddingRight:t>0?e.tempPaddingRight:e.paddingRight,paddingLeft:t>0?e.tempPaddingLeft:e.paddingRight,borderRadiusType:0===t&&0===e.bgColorOpacity?"":t>0?e.tempBorderRadiusType:e.borderRadiusType,fillType:0===t&&0===e.bgColorOpacity?"default":t>0?e.tempFillType:e.fillType,borderRadius:0===t&&0===e.bgColorOpacity?0:t>0&&"square"===e.tempBorderRadiusType?e.tempBorderRadius:t>0&&"rounded"===e.tempBorderRadiusType?i:e.borderRadius,borderColorOpacity:0===t?0:t>0?e.tempBorderColorOpacity:e.borderColorOpacity,borderColorPalette:0===t?0:t>0?e.tempBorderColorPalette:e.borderColorPalette,bgColorOpacity:t>0&&"filled"===e.tempFillType?e.tempBgColorOpacity:e.bgColorOpacity,bgColorPalette:t>0&&"filled"===e.tempFillType?e.tempBgColorPalette:e.bgColorPalette,hoverBgColorOpacity:0===t&&0===e.bgColorOpacity?0:t>0&&"filled"===e.tempFillType?e.tempHoverBgColorOpacity:e.hoverBgColorOpacity})}]},{label:Object(an.a)("Icon"),options:[{id:"iconImage",label:Object(an.a)("Icon"),type:"iconSetter",canDelete:!0,value:{name:e.iconName,type:e.iconType},onChange:({name:e,type:t})=>({iconName:e,iconType:t})},{id:"iconPosition",label:Object(an.a)("Position"),type:"radioGroup",roles:["admin"],choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}],value:e.iconPosition},{type:"multiPicker",roles:["admin"],picker:{id:"iconSize",label:Object(an.a)("Size"),type:"radioGroup",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}],value:e.iconSize,onChange:t=>{let o="custom"===t&&n*a>=e.iconCustomSize?n*a:"custom"===t&&n*a<e.iconCustomSize?e.iconCustomSize:"custom"!==t&&n*a>=e["".concat(t,"IconSize")]?n*a:e["".concat(t,"IconSize")],r=Math.round((o+2*e.paddingTop+2*e.tempBorderWidth)/2);return{iconSize:t,iconCustomSize:"small"===t?e.smallIconSize:"medium"===t?e.mediumIconSize:"large"===t?e.largeIconSize:e.iconCustomSize,borderRadius:"rounded"===e.borderRadiusType?r:e.borderRadius}}},choices:{custom:[{id:"iconCustomSize",type:"slider",slider:{min:1,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.iconCustomSize},onChange:({value:t})=>{let o=n*a>=t?n*a:t,r=Math.round((o+2*e.paddingTop+2*e.tempBorderWidth)/2);return{iconCustomSize:t,borderRadius:"rounded"===e.borderRadiusType?r:e.borderRadius}}}]}},{id:"iconSpacing",label:Object(an.a)("Spacing"),type:"slider",roles:["admin"],slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.iconSpacing},onChange:({value:e})=>({iconSpacing:e})}]}]}]},{id:"toolbarTypography",type:"popover",icon:"nc-font",size:"large",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"",type:"typography-dev"}]},{id:"toolbarColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],position:80,icon:{style:{backgroundColor:e.bgColorOpacity>0?Object(mn.c)(l,e.bgColorOpacity):Object(mn.c)(c,e.colorOpacity)}},options:[{id:"tabsState",tabsPosition:"left",type:"tabs",value:e.tabsState,tabs:[{id:"tabNormal",tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:"tabsColor",className:"",type:"tabs",value:e.tabsColor,tabs:[{id:"tabBg",label:Object(an.a)("Bg"),options:[Object(ej.d)({v:e,device:t,state:"normal",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexButton2"],onChangePalette:["onChangeBgColorPaletteButton2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"normal",prefix:"startPointer"===Object(rh.defaultValueValue)({v:e,key:"gradientActivePointer",device:t,state:"normal"})?"bg":"gradient",onChange:["onChangeBgColorFieldsButton2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"normal",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===Object(rh.defaultValueValue)({v:e,key:"bgColorType",device:t,state:"normal"})})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"normal",disabled:"solid"===Object(rh.defaultValueValue)({v:e,key:"bgColorType",device:t,state:"normal"})||"radial"===Object(rh.defaultValueValue)({v:e,key:"gradientType",device:t,state:"normal"})}),Object(ej.ac)({v:e,device:t,state:"normal",disabled:"solid"===Object(rh.defaultValueValue)({v:e,key:"bgColorType",device:t,state:"normal"})||"linear"===Object(rh.defaultValueValue)({v:e,key:"gradientType",device:t,state:"normal"})})]}]}]},{id:"tabText",label:Object(an.a)("Text"),options:[Object(ej.u)({v:e,device:t,state:"normal",onChangeHex:["onChangeColorHexButtonIcon2"],onChangePalette:["onChangeColorPaletteButtonIcon2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[Object(ej.v)({v:e,device:t,state:"normal",onChange:["onChangeColorFieldsButtonIcon2"]})]}]}]},{id:"tabBorder",label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"normal",showSelect:!1,onChangeHex:["onChangeElementButtonBorderColorHex2"],onChangePalette:["onChangeElementButtonBorderColorPalette2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"normal",onChange:["onChangeElementButtonBorderColorFields2"]})]}]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,state:"normal",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:41,options:[Object(ej.s)({v:e,device:t,state:"normal",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:59,options:[Object(ej.r)({v:e,device:t,state:"normal",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]},{id:"tabHover",tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:"tabsColor",className:"",type:"tabs",value:e.tabsColor,tabs:[{id:"tabBg",label:Object(an.a)("Bg"),options:[Object(ej.d)({v:e,device:t,state:"hover",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeHoverBgColorHexButton2"],onChangePalette:["onChangeHoverBgColorPaletteButton2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"hover",prefix:"startPointer"===Object(rh.defaultValueValue)({v:e,key:"gradientActivePointer",device:t,state:"hover"})?"bg":"gradient",onChange:["onChangeHoverBgColorFieldsButton2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"hover",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===Object(rh.defaultValueValue)({v:e,key:"bgColorType",device:t,state:"hover"})})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"hover",disabled:"solid"===Object(rh.defaultValueValue)({v:e,key:"bgColorType",device:t,state:"hover"})||"radial"===Object(rh.defaultValueValue)({v:e,key:"gradientType",device:t,state:"hover"})}),Object(ej.ac)({v:e,device:t,state:"hover",disabled:"solid"===Object(rh.defaultValueValue)({v:e,key:"bgColorType",device:t,state:"hover"})||"linear"===Object(rh.defaultValueValue)({v:e,key:"gradientType",device:t,state:"hover"})})]}]}]},{id:"tabText",label:Object(an.a)("Text"),options:[Object(ej.u)({v:e,device:t,state:"hover",onChangeHex:["onChangeHoverColorHexButtonIcon2"],onChangePalette:["onChangeHoverColorPaletteButtonIcon2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[Object(ej.v)({v:e,device:t,state:"hover",onChange:["onChangeHoverColorFieldsButtonIcon2"]})]}]}]},{id:"tabBorder",label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"hover",showSelect:!1,onChangeHex:["onChangeElementButtonBorderHoverColorHex2"],onChangePalette:["onChangeElementButtonBorderHoverColorPalette2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"hover",onChange:["onChangeElementButtonBorderHoverColorFields2"]})]}]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,state:"hover",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:41,options:[Object(ej.s)({v:e,device:t,state:"hover",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:59,options:[Object(ej.r)({v:e,device:t,state:"hover",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]}]}],onChange:(t,{isOpen:o})=>({tabsState:o?e.tabsState:"",tabsColor:o?e.tabsColor:""})},{id:"toolbarLink",type:"popover",icon:"nc-link",disabled:"submit"===e.type,size:"medium",title:Object(an.a)("Link"),position:90,options:[{id:"linkType",type:"tabs",value:e.linkType,tabs:[{id:"external",label:Object(an.a)("URL"),options:[Object(ej.hc)({v:e}),{id:"linkExternalBlank",label:Object(an.a)("Open In New Tab"),type:"switch-dev"},{id:"linkExternalRel",label:Object(an.a)("Make it Nofollow"),type:"switch-dev"}]},{id:"anchor",label:Object(an.a)("Block"),options:[Object(ej.gc)({v:e})]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:"submit"===e.type,roles:["admin"],position:110,icon:"nc-cog",title:Object(an.a)("Settings")}]}function cH(e){const t=e.tabletFontStyle,{tabletFontSize:o,tabletLineHeight:n}=""===t?e:Object(ko.e)(t);return[{id:"tabletToolbarCurrentShortcode",type:"popover",icon:"nc-button",title:Object(an.a)("Button"),roles:["admin"],position:60,options:[{type:"multiPicker",picker:{id:"size",label:Object(an.a)("Size"),type:"radioGroup",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}],value:e.tabletSize,onChange:t=>({tabletSize:t,tabletFontSize:"custom"!==t?e["".concat(t,"FontSize")]:e.tabletFontSize,tabletPaddingTB:"custom"!==t?e["".concat(t,"PaddingY")]:e.tabletPaddingTB,tabletPaddingTop:"custom"!==t?e["".concat(t,"PaddingY")]:e.tabletPaddingTop,tabletPaddingBottom:"custom"!==t?e["".concat(t,"PaddingY")]:e.tabletPaddingBottom,tempTabletPaddingTB:"custom"!==t?e["".concat(t,"PaddingY")]:e.tempTabletPaddingTB,tempTabletPaddingTop:"custom"!==t?e["".concat(t,"PaddingY")]:e.tempTabletPaddingTop,tempTabletPaddingBottom:"custom"!==t?e["".concat(t,"PaddingY")]:e.tempTabletPaddingBottom,tabletPaddingRL:"custom"!==t&&"default"===e.fillType?0:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.tabletPaddingRL,tabletPaddingRight:"custom"!==t&&"default"===e.fillType?0:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.tabletPaddingRight,tabletPaddingLeft:"custom"!==t&&"default"===e.fillType?0:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.tabletPaddingLeft,tempTabletPaddingRL:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.tempTabletPaddingRL,tempTabletPaddingRight:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.tempTabletPaddingRight,tempTabletPaddingLeft:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.tempTabletPaddingLeft,tabletBorderRadius:"rounded"===e.borderRadiusType&&"custom"!==t&&e["".concat(t,"FontSize")]*e.tabletLineHeight>=e.iconCustomSize?Math.round((e["".concat(t,"FontSize")]*e.tabletLineHeight+2*e["".concat(t,"PaddingY")]+2*e.borderWidth)/2):"rounded"===e.borderRadiusType&&"custom"!==t&&e["".concat(t,"FontSize")]*e.tabletLineHeight<e.iconCustomSize?Math.round((e.iconCustomSize+2*e["".concat(t,"PaddingY")]+2*e.borderWidth)/2):Object(rh.tabletSyncOnChange)(e,"borderRadius")})},choices:{custom:[{id:"tabletPaddingRL",label:Object(an.a)("Width"),type:"slider",slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.tabletPaddingRL},onChange:({value:e})=>({tabletPaddingRL:e,tabletPaddingRight:e,tabletPaddingLeft:e,tempTabletPaddingRight:e,tempTabletPaddingLeft:e})},{id:"tabletPaddingTB",label:Object(an.a)("Height"),type:"slider",slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.tabletPaddingTB},onChange:({value:t})=>({tabletPaddingTB:t,tabletPaddingTop:t,tabletPaddingBottom:t,tempTabletPaddingTop:t,tempTabletPaddingBottom:t,tabletBorderRadius:"rounded"===e.borderRadiusType&&o*n>=e.iconCustomSize?Math.round((o*n+2*t+2*e.borderWidth)/2):"rounded"===e.borderRadiusType&&o*n<e.iconCustomSize?Math.round((e.iconCustomSize+2*t+2*e.borderWidth)/2):Object(rh.tabletSyncOnChange)(e,"borderRadius")})}]}}]},{id:"tabletToolbarTypography",type:"popover",icon:"nc-font",size:"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:!1}}]},{id:"tabletToolbarLink",type:"popover",icon:"nc-link",position:90,options:[]}]}function sH(e){const t=e.mobileFontStyle,{mobileFontSize:o,mobileLineHeight:n}=""===t?e:Object(ko.e)(t);return[{id:"mobileToolbarCurrentShortcode",type:"popover",icon:"nc-button",title:Object(an.a)("Button"),roles:["admin"],position:60,options:[{type:"multiPicker",picker:{id:"size",label:Object(an.a)("Size"),type:"radioGroup",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}],value:e.mobileSize,onChange:t=>({mobileSize:t,mobileFontSize:"custom"!==t?e["".concat(t,"FontSize")]:e.mobileFontSize,mobilePaddingTB:"custom"!==t?e["".concat(t,"PaddingY")]:e.mobilePaddingTB,mobilePaddingTop:"custom"!==t?e["".concat(t,"PaddingY")]:e.mobilePaddingTop,mobilePaddingBottom:"custom"!==t?e["".concat(t,"PaddingY")]:e.mobilePaddingBottom,tempMobilePaddingTB:"custom"!==t?e["".concat(t,"PaddingY")]:e.tempMobilePaddingTB,tempMobilePaddingTop:"custom"!==t?e["".concat(t,"PaddingY")]:e.tempMobilePaddingTop,tempMobilePaddingBottom:"custom"!==t?e["".concat(t,"PaddingY")]:e.tempMobilePaddingBottom,mobilePaddingRL:"custom"!==t&&"default"===e.fillType?0:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.mobilePaddingRL,mobilePaddingRight:"custom"!==t&&"default"===e.fillType?0:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.mobilePaddingRight,mobilePaddingLeft:"custom"!==t&&"default"===e.fillType?0:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.mobilePaddingLeft,tempMobilePaddingRL:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.tempMobilePaddingRL,tempMobilePaddingRight:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.tempMobilePaddingRight,tempMobilePaddingLeft:"custom"!==t&&"default"!==e.fillType?e["".concat(t,"PaddingX")]:e.tempMobilePaddingLeft,mobileBorderRadius:"rounded"===e.borderRadiusType&&"custom"!==t&&e["".concat(t,"FontSize")]*e.mobileLineHeight>=e.iconCustomSize?Math.round((e["".concat(t,"FontSize")]*e.mobileLineHeight+2*e["".concat(t,"PaddingY")]+2*e.borderWidth)/2):"rounded"===e.borderRadiusType&&"custom"!==t&&e["".concat(t,"FontSize")]*e.mobileLineHeight<e.iconCustomSize?Math.round((e.iconCustomSize+2*e["".concat(t,"PaddingY")]+2*e.borderWidth)/2):Object(rh.mobileSyncOnChange)(e,"borderRadius")})},choices:{custom:[{id:"mobilePaddingRL",label:Object(an.a)("Width"),type:"slider",slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.mobilePaddingRL},onChange:({value:e})=>({mobilePaddingRL:e,mobilePaddingRight:e,mobilePaddingLeft:e,tempMobilePaddingRight:e,tempMobilePaddingLeft:e})},{id:"mobilePaddingTB",label:Object(an.a)("Height"),type:"slider",slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.mobilePaddingTB},onChange:({value:t})=>({mobilePaddingTB:t,mobilePaddingTop:t,mobilePaddingBottom:t,tempMobilePaddingTop:t,tempMobilePaddingBottom:t,mobileBorderRadius:"rounded"===e.borderRadiusType&&o*n>=e.iconCustomSize?Math.round((o*n+2*t+2*e.borderWidth)/2):"rounded"===e.borderRadiusType&&o*n<e.iconCustomSize?Math.round((e.iconCustomSize+2*t+2*e.borderWidth)/2):Object(rh.mobileSyncOnChange)(e,"borderRadius")})}]}}]},{id:"mobileToolbarTypography",type:"popover",icon:"nc-font",size:"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:!1}}]},{id:"mobileToolbarLink",type:"popover",icon:"nc-link",position:80,options:[]}]}const dH=Object(an.a)("Button");function pH({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",disabled:"submit"===e.type,tabs:[{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}function uH(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleTypographyFontFamily","cssStyleTypographyFontWeight","cssStyleTypographyFontSize","cssStyleTypographyLineHeight","cssStyleTypographyLetterSpacing","cssStyleColor","cssStyleBorder","cssStyleBgColor","cssStyleBgGradient","cssStyleBoxShadow","cssStyleElementButtonBorderRadius","cssStylePaddingFourFields","cssStyleElementButtonIconPosition"],interval:["cssStyleHoverTransition","cssStyleElementButtonPropertyHoverTransition"]}}})}var bH=o(416);class hH extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleTextChange",e=>{this.patchValue({text:e})})}static get componentId(){return"Button"}renderIcon(e,t,o){const n=ra()(Qb("".concat(this.constructor.componentId,"-icon"),"".concat(this.getId(),"-icon"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementButtonIconFontSize","cssStyleElementButtonIconMargin","cssStyleElementIconStrokeWidth"]}}})}(e,t,o))),{iconName:a,iconType:r}=e;return Oo.a.createElement(ml.a,{className:n,name:a,type:r})}renderSubmit(e,t,o,n){const a=ra()("brz-btn",Qb("".concat(this.constructor.componentId,"-bg"),"".concat(this.getId(),"-bg"),uH(e,t,o)));return Oo.a.createElement("a",{className:a},n)}renderLink(e,t,o,n){const{linkType:a,linkAnchor:r,linkExternalBlank:i,linkExternalType:l,linkExternalRel:c,linkPopup:s,linkUpload:d,actionClosePopup:p}=e,u=ra()("brz-btn",Qb("".concat(this.constructor.componentId,"-bg"),"".concat(this.getId(),"-bg"),uH(e,t,o)),{"brz-popup2__action-close":"action"===a&&"on"===p});let b={type:a,href:{anchor:r,external:e[l],popup:s,upload:d}[a],target:i,rel:c,className:u,onDragStart:e=>(e.preventDefault(),!1),draggable:"false"};return Oo.a.createElement(AB,b,n)}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let t=!1;"GlobalBlock"===e.type&&(e=Object(nn.k)(Object(Lo.b)().getState())[e.value.globalBlockId].data,t=!0);const{blockId:o,value:{popupId:n}}=e;return{blockId:o,instanceKey:"".concat(this.getId(),"_").concat(n)}}});return Oo.a.createElement(Ju.a,e)}renderForEdit(e,t,o){const n=this.applyRulesToValue(e,[e.fontStyle&&"".concat(e.fontStyle,"__fsDesktop"),e.tabletFontStyle&&"".concat(e.tabletFontStyle,"__fsTablet"),e.mobileFontStyle&&"".concat(e.mobileFontStyle,"__fsMobile")]),a=this.applyRulesToValue(t,[t.fontStyle&&"".concat(t.fontStyle,"__fsDesktop"),t.tabletFontStyle&&"".concat(t.tabletFontStyle,"__fsTablet"),t.mobileFontStyle&&"".concat(t.mobileFontStyle,"__fsMobile")]),r=this.applyRulesToValue(t,[o.fontStyle&&"".concat(o.fontStyle,"__fsDesktop"),o.tabletFontStyle&&"".concat(o.tabletFontStyle,"__fsTablet"),o.mobileFontStyle&&"".concat(o.mobileFontStyle,"__fsMobile")]),{text:i,type:l,iconName:c,iconType:s,linkType:d,linkPopup:p,popups:u}=n,b=c&&s,h=Oo.a.createElement(fo.Fragment,null,b&&this.renderIcon(n,a,r),Oo.a.createElement(xk.a,{value:i,onChange:this.handleTextChange}));return Oo.a.createElement(fo.Fragment,null,Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig(de,pe),Oo.a.createElement(vj,{selectorName:this.getId(),css:n.customCSS},"link"===l?this.renderLink(n,a,r,h):this.renderSubmit(n,a,r,h))),u.length>0&&"popup"===d&&""!==p&&this.renderPopups())}}Object(yo.a)(hH,"defaultValue",bH);var mH=hH;function gH({v:e,device:t}){const o=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t}),{hex:n}=Object(sh.d)(o("colorHex"),o("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover",devices:"desktop",icon:"nc-counter-outline",title:Object(an.a)("Counter"),position:70,options:[Object(ej.nb)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.mb)({v:e,device:t,devices:"desktop",state:"normal",disabled:"simple"!==e.type}),Object(ej.lb)({v:e,device:t,devices:"desktop",state:"normal"}),{id:"strokeWidth",label:Object(an.a)("Width"),type:"slider-dev",disabled:"simple"===e.type||"pie"===e.type,config:{min:1,max:32}},{id:"duration",label:Object(an.a)("Duration"),type:"slider-dev",config:{min:0,step:.2,max:10,units:[{value:"sec",title:"sec"}]}}]},{id:"popoverTypography",type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",disabled:"empty"===e.type||"pie"===e.type,title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:"popoverColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],devices:"desktop",position:90,icon:{style:{backgroundColor:Object(mn.c)(n,e.colorOpacity)}},options:[{id:"tabsColor",type:"tabs",tabs:[{id:"tabText",label:Object(an.a)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[uw.c,uw.b],disabled:"empty"===e.type||"pie"===e.type}]},{id:"tabBg",label:Object(an.a)("Bg"),options:[{id:"fillColor",type:"colorPicker-dev",disabled:"simple"===e.type,states:[uw.c,uw.b]}]},{id:"tabBgProgress",label:Object(an.a)("Progress"),options:[{id:"strokeColor",type:"colorPicker-dev",disabled:"simple"===e.type,states:[uw.c,uw.b]}]}]}]},{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,disabled:"simple"===e.type,options:[{id:"width",label:Object(an.a)("Size"),type:"slider-dev",disabled:"simple"===e.type,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"advancedSettings",type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),position:110,disabled:"simple"!==e.type,title:Object(an.a)("Settings"),roles:["admin"],icon:"nc-cog"}]}const vH=Object(an.a)("Counter");function yH({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}var fH=o(417);const OH=({className:e,type:t,strokeW:o})=>{const n=ra()("brz-counter-chart","brz-counter-chart-".concat(t)),a=ra()("brz-counter-pie-chart",e);return Oo.a.createElement("div",{className:n},Oo.a.createElement("svg",{className:"",viewBox:"0 0 32 32"},"radial"===t&&Oo.a.createElement("circle",{className:"brz-counter-radial-chart",r:16-o/4,cx:"16",cy:"16"}),"empty"===t&&Oo.a.createElement("circle",{className:"brz-counter-radial-chart",r:16-o/4,cx:"16",cy:"16"}),Oo.a.createElement("circle",{className:a,r:"16",cx:"16",cy:"16"})))};function CH(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const SH=["topLeft","topRight","bottomLeft","bottomRight"];class xH extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e)),Object(yo.a)(this,"state",{final:0}),Object(yo.a)(this,"initCounter",Ao.a.debounce(()=>{const{duration:e,start:t,end:o}=this.getValue(),n=e=>{this.state.final!==e&&this.setState({final:e})};this.lastAnimation&&this.lastAnimation.stop(!0,!0),this.lastAnimation=hn()({countNum:Number(t)}).animate({countNum:Number(o)},{duration:1e3*e,easing:"linear",step:function(){n(Object(YB.d)(this.countNum,2))},complete:function(){n(Number(o))}})},1e3))}static get componentId(){return"Counter"}componentDidMount(){this.initCounter()}componentDidUpdate(e){e.dbValue.start===this.props.dbValue.start&&e.dbValue.end===this.props.dbValue.end&&e.dbValue.duration===this.props.dbValue.duration||this.initCounter()}renderForEdit(e,t,o){const{final:n}=this.state,{type:a,start:r,end:i,duration:l}=e,c=ra()("brz-counter","brz-counter-".concat(a),Qb("".concat(this.constructor.componentId,"-counter"),"".concat(this.getId(),"-counter"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidthPercent"]},".brz &&:hover .brz-counter-figures":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition","cssStyleElementCounterTransitionHoverProperty"]},".brz &&:hover .brz-counter-chart-radial > svg > .brz-counter-pie-chart":{standart:["cssStyleElementCounterChartWidth"]},".brz &&:hover .brz-counter-chart-empty > svg > .brz-counter-pie-chart":{standart:["cssStyleElementCounterChartWidth"]},".brz &&:hover .brz-counter-pie-chart":{standart:["cssStyleElementCounterStrokeColor"],interval:["cssStyleHoverTransition","cssStyleElementCounterTransitionHoverProperty"]},".brz &&:hover .brz-counter-radial-chart":{standart:["cssStyleElementCounterFillColor"],interval:["cssStyleHoverTransition","cssStyleElementCounterTransitionHoverProperty"]},".brz &&:hover .brz-counter-chart-pie":{standart:["cssStyleElementCounterFillColor"],interval:["cssStyleHoverTransition","cssStyleElementCounterTransitionHoverProperty"]}}})}(e,t,o))),s=ra()("brz-counter-figures",Qb("".concat(this.constructor.componentId,"-number"),"".concat(this.getId(),"-number"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]}}})}(e,t,o))),d=ra()("brz-counter-chart-".concat(a),Qb("".concat(this.constructor.componentId,"-count"),"".concat(this.getId(),"-count"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementCounterChartEnd"]}}})}(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?CH(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):CH(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},e,{end:n}),t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(ue,be),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:c,"data-start":r,"data-end":i,"data-duration":l},Oo.a.createElement(Zz,{points:SH,meta:this.props.meta,value:e,onChange:this.handleResizerChange},"simple"!==a&&Oo.a.createElement(OH,{className:d,type:a,strokeW:e.strokeWidth})),Oo.a.createElement("div",{className:s},Oo.a.createElement("span",{className:"brz-counter-numbers"},parseInt(n)),"simple"!==a&&Oo.a.createElement("span",null,"%")))))}}Object(yo.a)(xH,"defaultValue",fH);var jH=xH;function BH({v:e,device:t,state:o}){const n=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:a}=Object(sh.d)(n("borderColorHex"),n("borderColorPalette"));return[{id:"toolbarCurrentElement",type:"popover",icon:"nc-sound-cloud",devices:"desktop",title:Object(an.a)("SoundCloud"),position:90,options:[{id:"url",label:Object(an.a)("Link"),type:"inputText-dev",devices:"desktop",placeholder:Object(an.a)("SoundCloud Link")},{id:"autoPlay",label:Object(an.a)("Auto Play"),type:"switch-dev",devices:"desktop"},Object(ej.Hb)({v:e,device:t,devices:"desktop",state:"normal"})]},{id:"toolbarColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),position:90,devices:"desktop",icon:{style:{backgroundColor:Object(mn.c)(a,e.borderColorOpacity)}},options:[{id:"tabsColor",type:"tabs",tabs:[{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"height",label:Object(an.a)("Height"),type:"slider-dev",config:{min:n("smallHeight"),max:"on"===n("showArtwork")?n("largeHeight"):n("mediumHeight"),units:[{value:"px",title:"px"}]}},{id:"advancedSettings",type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}]}const PH=Object(an.a)("SoundCloud");function wH({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),devices:"desktop",tabIcon:"nc-styling",options:[Object(ej.n)({v:e,device:t,state:"normal",devices:"desktop",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]})]},{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}var TH=o(418);const zH=["topLeft","topCenter","topRight","centerLeft","centerRight","bottomLeft","bottomCenter","bottomRight"];class kH extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e))}static get componentId(){return"SoundCloud"}getResizerRestrictions(e){return{height:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},width:{min:5,max:100},tabletHeight:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},tabletWidth:{min:5,max:100},mobileHeight:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},mobileWidth:{min:5,max:100}}}renderForEdit(e,t,o){const n=ra()("brz-soundcloud",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidthPercent","cssStyleSizeMinHeightPx"]},".brz &&:hover:before":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStyleElementSoundCloudPropertyHoverTransition"]},".brz &&:hover .brz-soundCloud-content":{standart:["cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStyleElementSoundCloudPropertyHoverTransition"]},".brz &&:hover iframe":{standart:["cssStyleSizeHeightPx"]}}})}(e,t,o))),a=ra()("brz-iframe",{"brz-blocked":!0});let{url:r,autoPlay:i,showArtwork:l}=e;i="on"===i,l="on"===l;const c="https://w.soundcloud.com/player/?url=".concat(r,"&auto_play=").concat(i,"&how_teaser=true&visual=").concat(l,"&"),s=r?Oo.a.createElement("div",{className:"brz-soundCloud-content"},Oo.a.createElement("iframe",{className:a,scrolling:"no",frameBorder:"no",src:c})):Oo.a.createElement(Jz,{icon:"sound-cloud"});return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(he,me),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:n},Oo.a.createElement(Zz,{points:zH,restrictions:this.getResizerRestrictions(e),meta:this.props.meta,value:e,onChange:this.handleResizerChange},s))))}}Object(yo.a)(kH,"defaultValue",TH);var EH=kH;function HH({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t}),n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t}),{hex:a}=Object(sh.d)(n("bgColorHex"),n("bgColorPalette"));return[{id:"toolbarProgressBar",type:"popover",devices:"desktop",icon:"nc-progress-bar",title:Object(an.a)("Progress"),position:70,options:[{id:"progressBarStyle",label:Object(an.a)("Style"),type:"radioGroup",devices:"desktop",choices:[{value:"style1",icon:"nc-progress-bar-style-1"},{value:"style2",icon:"nc-progress-bar-style-2"}],value:n("progressBarStyle"),onChange:e=>({[o("progressBarStyle")]:e})},{id:"percentage",label:Object(an.a)("Fill"),type:"slider-dev",devices:"desktop",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"showText",type:"switch-dev",label:Object(an.a)("Title"),devices:"desktop",disabled:"style2"===e.progressBarStyle},{id:"showPercentage",type:"switch-dev",label:Object(an.a)("Percentage"),devices:"desktop"}]},{id:"popoverTypography",type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"tabsTypography",type:"tabs",tabs:[{id:"tabText",label:Object(an.a)("Title"),options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===t},disabled:"off"===e.showText||"style2"===e.progressBarStyle}]},{id:"tabPercent",label:Object(an.a)("Percent"),options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===t},disabled:"off"===e.showPercentage}]}]}]},{id:"toolbarColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],devices:"desktop",position:90,icon:{style:{backgroundColor:Object(mn.c)(a,e.bgColorOpacity)}},options:[{id:"tabsColor",type:"tabs",tabs:[{id:"tabText",label:Object(an.a)("Title"),options:[{id:"labelColor",type:"colorPicker-dev",states:[uw.c,uw.b],disabled:"off"===e.showText||"style2"===e.progressBarStyle}]},{id:"tabPercent",label:Object(an.a)("Percent"),options:[{id:"color",type:"colorPicker-dev",states:[uw.c,uw.b],disabled:"off"===e.showPercentage}]},{id:"tabBar",label:Object(an.a)("Bar"),options:[{id:"bgColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabBg",label:Object(an.a)("Bg"),options:[{id:"bg2Color",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"advancedSettings",type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}]}const _H=Object(an.a)("Progress");function RH({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.n)({v:e,device:t,state:"normal",devices:"desktop",onChangeGrouped:["onChangeBorderRadiusGrouped"],onChangeUngrouped:["onChangeBorderRadiusUngrouped"]})]},{id:(e=>Object(rh.defaultValueKey)({key:e,device:t}))("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}function MH(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeProgressBarMaxWidthPercent","cssStyleElementProgressBarPadding"]}}})}var IH=o(419);const FH=["centerLeft","centerRight"];class NH extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleTextChange",e=>{this.patchValue({text:e})}),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e))}static get componentId(){return"ProgressBar"}renderText({text:e}){return Oo.a.createElement(xk.a,{value:e,onChange:this.handleTextChange})}renderStyle1(e,t,o){const{percentage:n,showText:a,showPercentage:r}=e,i=ra()("brz-d-xs-flex","brz-justify-content-xs-between","brz-align-items-xs-center","brz-progress-bar__wrapper",Qb("".concat(this.constructor.componentId,"-bar"),"".concat(this.getId(),"-bar"),MH(e,t,o)));return Oo.a.createElement("div",{className:i,"data-progress":n,style:{width:"".concat(n,"%"),maxWidth:"".concat(n,"%")}},"on"===a&&this.renderText(e),"on"===r&&Oo.a.createElement("span",{className:"brz-span brz-progress-bar__percent"},n,"%"))}renderStyle2(e,t,o){const{percentage:n,showPercentage:a}=e,r=ra()("brz-d-xs-flex","brz-justify-content-xs-between","brz-align-items-xs-center","brz-progress-bar__wrapper",Qb("".concat(this.constructor.componentId,"-bar"),"".concat(this.getId(),"-bar"),MH(e,t,o)));return Oo.a.createElement(Oo.a.Fragment,null,"on"===a&&Oo.a.createElement("span",{className:"brz-span brz-progress-bar__percent",style:{marginLeft:"".concat(n>=94?n-7:n-1,"%")}},n,"%"),Oo.a.createElement("div",{className:"brz-progress-bar-overlay"},Oo.a.createElement("div",{className:r,"data-progress":n,style:{width:"".concat(n,"%"),maxWidth:"".concat(n,"%")}})))}renderForEdit(e,t,o){const{className:n,customCSS:a,showText:r,showPercentage:i,progressBarStyle:l}=e,c=ra()(n,"brz-progress-bar","brz-progress-bar-".concat(l),{"brz-without-percent":"off"===i,"brz-without-text":"style1"===l&&"off"===r},Qb("".concat(this.constructor.componentId,"-bg"),"".concat(this.getId(),"-bg"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidthPercent"],interval:["cssStyleHoverTransition","cssStyleElementProgressBarPropertyHoverTransition"]},".brz &&:hover.brz-progress-bar-style1":{standart:["cssStyleBg2Color","cssStyleBorderRadius"]},".brz &&.brz-progress-bar-style1:after:hover":{standart:["cssStyleBoxShadow","cssStyleBorderRadius"]},".brz &&:hover.brz-progress-bar-style2 .brz-progress-bar-overlay":{standart:["cssStyleBg2Color","cssStyleBorderRadius"]},".brz &&.brz-progress-bar-style2 .brz-progress-bar-overlay:after:hover":{standart:["cssStyleBoxShadow","cssStyleBorderRadius"]},".brz &&:hover .brz-progress-bar__wrapper":{standart:["cssStyleBgColor","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStyleElementProgressBarPropertyHoverTransition"]},".brz &&:hover.brz-progress-bar-style2 .brz-progress-bar__percent":{standart:["cssStyleBgColor","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStyleElementProgressBarPropertyHoverTransition"]},".brz &&:hover .brz-text__editor":{standart:["cssStyleLabelColor","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"]},".brz &&:hover .brz-progress-bar__percent":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]}}})}(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(ge,ve),Oo.a.createElement(vj,{selectorName:this.getId(),css:a},Oo.a.createElement("div",{className:c,"data-type":l},Oo.a.createElement(Zz,{points:FH,meta:this.props.meta,value:e,onChange:this.handleResizerChange},"style1"===l?this.renderStyle1(e,t,o):this.renderStyle2(e,t,o)))))}}function LH(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}Object(yo.a)(NH,"defaultValue",IH);const WH=Object(an.a)("Icon Box");function VH(){return[]}function DH({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"});return[{id:o("toolbarCurrentShortcode"),type:"popover",icon:"nc-star",position:70,options:[{id:o("currentShortcodeTabs"),type:"tabs",tabs:[{id:o("currentShortcodeTab"),label:Object(an.a)("Icon"),options:[{id:"iconSpacing",label:Object(an.a)("Spacing"),type:"slider-dev",devices:"desktop",position:70,config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}]},{id:"iconPosition",type:"toggle-dev",position:90,devices:"desktop",choices:[{icon:"nc-hrz-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-hrz-align-right",title:Object(an.a)("Align"),value:"right"}]},Object(ej.J)({v:e,device:t,state:"normal"}),Object(ej.I)({device:t})]}function AH(){return[{id:"settingsTabs",type:"tabs",disabled:!0}]}function GH({v:e,device:t,state:o}){return[Object(ej.ub)({v:e,device:t,devices:"desktop",state:"normal"}),{id:Object(rh.defaultValueKey)({key:"toolbarSettings",device:t,state:"normal"}),type:"popover",options:[Object(ej.I)({device:t,state:o})]}]}function UH(){return[{id:"settingsTabs",type:"tabs",disabled:!0}]}function KH({device:e}){return[Object(ej.I)({device:e}),Object(ej.O)({device:e})]}function qH({device:e,state:t}){return[{id:"settingsTabs",type:"tabs",disabled:!0},Object(ej.L)({device:e,state:t}),Object(ej.K)({device:e,state:t})]}var YH=o(420);function XH(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const ZH=0,JH=1,$H=2;class QH extends Zu.a{static get componentId(){return"IconText"}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(ye,fe,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:"".concat(this.constructor.componentId,"Parent")});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const n=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?XH(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):XH(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},this.props.meta,{inIconText:!0}),a=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:ZH,sliceEndIndex:JH,itemProps:{meta:n,toolbarExtend:this.makeToolbarPropsFromConfig2(Oe,Ce,{allowExtend:!1})}}),r=Oo.a.createElement(Ju.a,a),i=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:JH,itemProps:(e,t)=>{let o;switch(t){case JH:o={meta:n,toolbarExtend:this.makeToolbarPropsFromConfig2(Se,xe,{allowExtend:!1})};break;case $H:o={className:"brz-ed-dd-cancel",meta:n,toolbarExtend:this.makeToolbarPropsFromConfig2(je,Be,{allowExtend:!1}),showBorder:!1};break;default:throw new Error("IconText unexpected index ".concat(t))}return o}}),l=Oo.a.createElement(Ju.a,i),c=ra()("brz-icon-text",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementIconBoxFlexDirection"]},".brz &&:hover .brz-icon__container":{standart:["cssStyleElementIconBoxMarginLeft","cssStyleElementIconBoxMarginRight"]}}})}(e,t,o)));return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:c},r,Oo.a.createElement("div",{className:"brz-text-btn"},l)))}}Object(yo.a)(QH,"defaultValue",YH),Object(yo.a)(QH,"defaultProps",{extendParentToolbar:Do.noop});var e_=QH;function t_({v:e,device:t,state:o}){const n=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:a}=Object(sh.d)(n("colorHex"),n("colorPalette"));return[{id:"toolbarCountdown",type:"popover",icon:"nc-countdown",title:Object(an.a)("Countdown"),position:70,options:[{id:"date",label:Object(an.a)("Date"),type:"inputText-dev",config:{size:"medium",placeholder:"dd/mm/yyyy"},devices:"desktop"},Object(ej.hb)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.jb)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.kb)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.ib)({v:e,device:t,devices:"desktop",state:"normal"})]},{id:"popoverTypography",type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:"popoverColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],devices:"desktop",position:90,icon:{style:{backgroundColor:Object(mn.c)(a,e.colorOpacity)}},options:[{id:"color",type:"colorPicker-dev"}]},{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"advancedSettings",type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog",devices:"desktop"}]}]}const o_=Object(an.a)("Countdown");function n_(){return[]}var a_=o(421);var r_={labels:[["Jahre","Monate","Wochen","Tage","Stunden","Minuten","Sekunden"],["Jahr","Monat","Woche","Tag","Stunde","Minute","Sekunde"]],whichLabels:function(e){var t=Number(e>1?0:1);return this.labels[t]}},i_={labels:[["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],["Year","Month","Week","Day","Hour","Minute","Second"]],whichLabels:function(e){var t=Number(e>1?0:1);return this.labels[t]}},l_={labels:[["Años","Meses","Semanas","Días","Horas","Minutos","Segundos"],["Año","Mes","Semana","Día","Hora","Minuto","Segundo"]],whichLabels:function(e){var t=0===e?0:1;return this.labels[t]}},c_={labels:[["Années","Mois","Semaines","Jours","Heures","Minutes","Secondes"],["Année","Mois","Semaine","Jour","Heure","Minute","Seconde"]],whichLabels:function(e){var t=Number(e>1?0:1);return this.labels[t]}},s_={labels:[["Anni","Mesi","Settimane","Giorni","Ore","Minuti","Secondi"],["Anno","Mese","Settimana","Giorno","Ora","Minuto","Secondo"]],whichLabels:function(e){var t=Number(e>1?0:1);return this.labels[t]}},d_={labels:[["Jaren","Maanden","Weken","Dagen","Uren","Minuten","Seconden"],["Jaar","Maand","Week","Dag","Uur","Minuut","Seconde"]],whichLabels:function(e){var t=Number(e>1?0:1);return this.labels[t]}},p_={labels:[["Лет","Месяцев","Недель","Дней","Часов","Минут","Секунд"],["Год","Месяц","Неделя","День","Час","Минута","Секунда"],["Года","Месяца","Недели","Дня","Часа","Минуты","Секунды"]],whichLabels:function(e){var t=e%10,o=Math.floor(e%100/10),n=1===e?1:t>=2&&t<=4&&1!==o?2:1===t&&1!==o?1:0;return this.labels[n]}};const u_=(e,t="d/m/Y")=>{if(e=new Date(e),isNaN(Date.parse(e)))return e;const o=e.getFullYear(),n=e.getMonth()+1,a=e.getDate(),r=e.getHours(),i=e.getMinutes(),l=e.getSeconds();return t.replace("Y",o).replace("m",n).replace("d",a).replace("H",r).replace("i",i).replace("s",l)};function b_(e,t,o){const[n,a]=t.split(" "),r=60*(new Date).getTimezoneOffset()*1e3;return function(e){const t=/^(\d{1,2})[-\/](\d{1,2})[-\/](\d{4})$/.exec(e);if(null===t)return!1;const o=t[2],n=t[1]-1,a=t[3],r=new Date(a,n,o);return r.getDate()==o&&r.getMonth()==n&&r.getFullYear()==a}(e)?new Date("".concat(e," ").concat(n,":").concat(o," ").concat(a)).getTime()-r:new Date(0).getTime()}function h_(e="en"){return Te[e]}function m_(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}!function(e){function t(t){this.settings=e.extend({now:(new Date).getTime()},t),this._startTime=(new Date).getTime(),this.start(),this.tick()}e.extend(t.prototype,{start:function(){this.intervalId=setInterval(this.tick.bind(this),this.settings.tickInterval)},update:function(t){this.settings=e.extend({},this.settings,t),this.intervalId||this.start(),this.tick()},tick:function(){var e=this.settings.now+((new Date).getTime()-this._startTime),t=Number(this.settings.endDate)+Number(this.settings.timeZoneOffset),o=this.settings.language,n=t-e,a=n>0,r=a?Math.floor(n/864e5):0,i=a?Math.floor(n%864e5/36e5):0,l=a?Math.floor(n%864e5/6e4)%60:0,c=a?Math.floor(n%864e5/1e3)%60%60:0;this.settings.onTick({days:{title:o.whichLabels(r)[3],amount:r},hours:{title:o.whichLabels(i)[4],amount:i},minutes:{title:o.whichLabels(l)[5],amount:l},seconds:{title:o.whichLabels(c)[6],amount:c}}),a||this.destroy()},destroy:function(){clearInterval(this.intervalId),this.intervalId=null}}),e.fn.countdown=function(o){var n="plugin_countdown";return void 0===o||"object"==typeof o?this.each((function(){e.data(this,n)?e.data(this,n).update(o):e.data(this,n,new t(o))})):"string"==typeof o&&"_"!==o[0]&&"init"!==o?this.each((function(){var a=e.data(this,n);a instanceof t&&"function"==typeof a[o]&&a[o].apply(a,Array.prototype.slice.call(arguments,1))})):void 0}}(hn.a,window,document);const g_=["centerLeft","centerRight"];class v_ extends Zu.a{static get componentId(){return"Countdown"}constructor(e){super(e),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e));const t=h_(this.getValue().language);this.endDate=this.getEndDate(),this.state={days:{title:t.whichLabels(0)[3],amount:0},hours:{title:t.whichLabels(0)[4],amount:0},minutes:{title:t.whichLabels(0)[5],amount:0},seconds:{title:t.whichLabels(0)[6],amount:0}}}componentDidMount(){if(!this.getValue().date){const e=new Date,t=new Date(e.setDate(e.getDate()+30));this.patchValue({date:u_(t,"d/m/Y")})}this.initPlugin({onTick:e=>{this.setState(e)}})}componentDidUpdate(e){const t=["date","hours","minutes","timeZone","language"],o=Ao.a.pick(e.dbValue,...t),n=Ao.a.pick(this.props.dbValue,...t);Ao.a.isEqual(o,n)||(this.endDate=this.getEndDate(),this.initPlugin())}componentWillUnmount(){hn()(this.countdown).countdown("destroy")}getEndDate(){const{date:e,hours:t,minutes:o}=this.getValue(),n=e.split("/"),a="".concat(n[1],"/").concat(n[0],"/").concat(n[2]);return b_(u_(a,"m/d/Y"),t,o)}initPlugin(e=null){const{timeZone:t,language:o}=this.getValue(),n=60*t*1e3,a=h_(o);hn()(this.countdown).countdown(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m_(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m_(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({now:Date.now(),endDate:this.endDate,timeZoneOffset:n,tickInterval:1e3,language:a},e))}renderPart(e){const t=ra()("brz-countdown__item","brz-countdown__".concat(e));return Oo.a.createElement("div",{className:t},Oo.a.createElement("div",{className:"brz-countdown__number"},this.state[e].amount),Oo.a.createElement("div",{className:"brz-countdown__label"},this.state[e].title))}renderForEdit(e,t,o){const n=ra()("brz-countdown",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleColor","cssStyleSizeWidthPercent","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz &&:hover .brz-countdown__label":{standart:["cssStyleTypographyElementCountdownLabelFontSize"]}}})}(e,t,o))),{timeZone:a,language:r}=e;return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Pe,we),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{ref:e=>{this.countdown=e},className:n,"data-end":this.endDate,"data-timezone":a,"data-language":r},Oo.a.createElement(Zz,{points:g_,meta:this.props.meta,value:e,onChange:this.handleResizerChange},this.renderPart("days"),this.renderPart("hours"),this.renderPart("minutes"),this.renderPart("seconds")))))}}Object(yo.a)(v_,"defaultValue",a_);var y_=v_;function f_({v:e,device:t,state:o}){const n=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:a}=Object(sh.d)(n("colorHex"),n("colorPalette")),r=0===e.bgColorOpacity&&0===e.borderColorOpacity;return[{id:"toolbarCountdown",type:"popover",icon:"nc-countdown",title:Object(an.a)("Countdown"),position:70,options:[{id:"tabsCurrentElement",type:"tabs",tabs:[{id:"tabTimerElementTimer",label:Object(an.a)("Timer"),options:[Object(ej.gb)({v:e,device:t,devices:"desktop",state:"normal"}),{id:"date",label:Object(an.a)("Date"),type:"inputText-dev",devices:"desktop",placeholder:"dd/mm/yyyy",config:{size:"medium"}},{id:"hours",label:Object(an.a)("Hour"),type:"select-dev",devices:"desktop",choices:Ao.a.times(24,e=>{const t=(e+12)%12||12,o=e>=12?"pm":"am";return{title:"".concat(t," ").concat(o),value:"".concat(t," ").concat(o)}})},{id:"minutes",label:Object(an.a)("Minutes"),type:"select-dev",devices:"desktop",choices:Ao.a.times(6,e=>{const t=10*e;return{title:"".concat(e,"0 m"),value:t}})},{id:"timeZone",label:Object(an.a)("Time Zone"),type:"select-dev",devices:"desktop",choices:[{value:660,title:Object(an.a)("- 11:00 (Niue)")},{value:600,title:Object(an.a)("- 10:00 (Honolulu, Papeete)")},{value:540,title:Object(an.a)("- 9:00 (Anchorage)")},{value:480,title:Object(an.a)("- 8:00 (Los Angeles)")},{value:420,title:Object(an.a)("- 7:00 (Denver, Phoenix)")},{value:360,title:Object(an.a)("- 6:00 (Chicago, Dallas)")},{value:300,title:Object(an.a)("- 5:00 (New York, Miami)")},{value:240,title:Object(an.a)("- 4:00 (Halifax, Manaus)")},{value:180,title:Object(an.a)("- 3:00 (Brasilia, Santiago)")},{value:120,title:Object(an.a)("- 2:00 (Noronha)")},{value:60,title:Object(an.a)("- 1:00 (Cape Verde)")},{value:0,title:Object(an.a)("00:00 (London, Dublin)")},{value:-60,title:Object(an.a)("+ 1:00 (Berlin, Paris)")},{value:-120,title:Object(an.a)("+ 2:00 (Athens, Istanbul)")},{value:-180,title:Object(an.a)("+ 3:00 (Moscow, Baghdad)")},{value:-240,title:Object(an.a)("+ 4:00 (Dubai, Baku)")},{value:-300,title:Object(an.a)("+ 5:00 (Yekaterinburg)")},{value:-360,title:Object(an.a)("+ 6:00 (Nur-Sultan)")},{value:-420,title:Object(an.a)("+ 7:00 (Bangkok, Jakarta)")},{value:-480,title:Object(an.a)("+ 8:00 (Singapore, Beijing)")},{value:-540,title:Object(an.a)("+ 9:00 (Tokyo, Seoul)")},{value:-600,title:Object(an.a)("+ 10:00 (Sydney, Melbourne)")},{value:-660,title:Object(an.a)("+ 11:00 (Ponape)")},{value:-720,title:Object(an.a)("+ 12:00 (Auckland)")}]}]},{id:"tabCurrentElementAdvanced",label:Object(an.a)("Advanced"),options:[{id:"showDays",label:Object(an.a)("Days"),type:"switch-dev",devices:"desktop"},{id:"showHours",label:Object(an.a)("Hours"),type:"switch-dev",devices:"desktop"},{id:"showMinutes",label:Object(an.a)("Minutes"),type:"switch-dev",devices:"desktop"},{id:"showSeconds",label:Object(an.a)("Seconds"),type:"switch-dev",devices:"desktop"}]}]}]},{id:"popoverTypography",type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"tabsTypography",type:"tabs",tabs:[{id:"tabsTypographyNumber",label:Object(an.a)("Number"),options:[{id:"number",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:"tabsTypographyTitle",label:Object(an.a)("Title"),options:[{id:"title",disabled:"style3"===e.style,type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:"tabsTypographyMessage",label:Object(an.a)("Message"),options:[{id:"message",disabled:"showMessage"!==e.actions,type:"typography-dev",config:{fontFamily:"desktop"===t}}]}]}]},{id:"popoverColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],devices:"desktop",position:90,icon:{style:{backgroundColor:Object(mn.c)(a,e.colorOpacity)}},options:[{id:"tabsColor",type:"tabs",tabs:[{id:"tabNumber",label:Object(an.a)("Nr"),options:[{id:"numberColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabTitle",label:Object(an.a)("Title"),options:[{id:"titleColor",type:"colorPicker-dev",disabled:"style3"===e.style,states:[uw.c,uw.b]}]},{id:"tabMessage",label:Object(an.a)("Message"),options:[{id:"messageColor",type:"colorPicker-dev",disabled:"showMessage"!==e.actions,states:[uw.c,uw.b]}]},{id:"tabBg",label:Object(an.a)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:"popoverLink",type:"popover",icon:"nc-link",title:Object(an.a)("Link"),size:"medium",position:90,options:[{id:"linkType",type:"tabs",value:e.linkType,tabs:[{id:"linkAction",label:Object(an.a)("Action"),options:[{id:"actions",label:Object(an.a)("When Finished"),type:"select-dev",devices:"desktop",choices:[{title:Object(an.a)("None"),value:"none"},{title:Object(an.a)("Hide"),value:"hide"},{title:Object(an.a)("Show message"),value:"showMessage"}]},{id:"messageText",label:Object(an.a)("Message"),type:"inputText-dev",disabled:"showMessage"!=n("actions"),placeholder:Object(an.a)("Message sent")}]},{id:"redirect",label:Object(an.a)("Redirect"),options:[{id:"messageRedirect",label:Object(an.a)("Go to"),type:"inputText-dev",devices:"desktop",placeholder:"http://"}]}]}]},{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"height",label:Object(an.a)("Height"),type:"slider-dev",disabled:r,config:{min:50,max:300,units:[{value:"px",title:"px"}]}},{id:"spacing",label:Object(an.a)("Spacing"),type:"slider-dev",disabled:r,config:{min:0,max:50,units:[{value:"px",title:"px"}]}},{id:"advancedSettings",type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog",devices:"desktop"}]}]}const O_=Object(an.a)("Countdown");function C_({v:e,device:t}){return[{id:"settingsTabs",devices:"desktop",type:"tabs",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.n)({v:e,device:t,state:"normal",devices:"desktop",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]})]},{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}var S_=o(422);const x_=(e,t="d/m/Y")=>{if(e=new Date(e),isNaN(Date.parse(e)))return e;const o=e.getFullYear(),n=e.getMonth()+1,a=e.getDate(),r=e.getHours(),i=e.getMinutes(),l=e.getSeconds();return t.replace("Y",o).replace("m",n).replace("d",a).replace("H",r).replace("i",i).replace("s",l)};function j_(e,t,o){const[n,a]=t.split(" "),r=60*(new Date).getTimezoneOffset()*1e3;return function(e){const t=/^(\d{1,2})[-\/](\d{1,2})[-\/](\d{4})$/.exec(e);if(null===t)return!1;const o=t[2],n=t[1]-1,a=t[3],r=new Date(a,n,o);return r.getDate()==o&&r.getMonth()==n&&r.getFullYear()==a}(e)?new Date("".concat(e," ").concat(n,":").concat(o," ").concat(a)).getTime()-r:new Date(0).getTime()}function B_(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}!function(e){function t(t){this.settings=e.extend({now:(new Date).getTime()},t),this._startTime=(new Date).getTime(),this.start(),this.tick()}e.extend(t.prototype,{start:function(){this.intervalId=setInterval(this.tick.bind(this),this.settings.tickInterval)},update:function(t){this.settings=e.extend({},this.settings,t),this.intervalId||this.start(),this.tick()},tick:function(){var e=this.settings.now+((new Date).getTime()-this._startTime),t=Number(this.settings.endDate)+Number(this.settings.timeZoneOffset)-e,o=t>0,n=o?Math.floor(t/864e5):0,a=o?Math.floor(t%864e5/36e5):0,r=o?Math.floor(t%864e5/6e4)%60:0,i=o?Math.floor(t%864e5/1e3)%60%60:0;this.settings.onTick({days:n,hours:a,minutes:r,seconds:i}),o||this.destroy()},destroy:function(){clearInterval(this.intervalId),this.intervalId=null}}),e.fn.countdown2=function(o){var n="plugin_countdown2";return void 0===o||"object"==typeof o?this.each((function(){e.data(this,n)?e.data(this,n).update(o):e.data(this,n,new t(o))})):"string"==typeof o&&"_"!==o[0]&&"init"!==o?this.each((function(){var a=e.data(this,n);a instanceof t&&"function"==typeof a[o]&&a[o].apply(a,Array.prototype.slice.call(arguments,1))})):void 0}}(hn.a,window,document);const P_=["centerLeft","centerRight"];class w_ extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleTextChange",(e,t)=>{this.patchValue({[e]:t})}),Object(yo.a)(this,"endDate",this.getEndDate()),Object(yo.a)(this,"days",Oo.a.createRef()),Object(yo.a)(this,"hours",Oo.a.createRef()),Object(yo.a)(this,"minutes",Oo.a.createRef()),Object(yo.a)(this,"seconds",Oo.a.createRef()),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e))}static get componentId(){return"Countdown2"}componentDidMount(){if(!this.getValue().date){const e=new Date,t=new Date(e.setDate(e.getDate()+30));this.patchValue({date:x_(t,"d/m/Y")})}const e=function(e){return("0"+e).slice(-2)};this.initPlugin({onTick:({days:t,hours:o,minutes:n,seconds:a})=>{const r=this.getValue();"on"===r.showDays&&(this.days.current.innerText=t),"on"===r.showHours&&(this.hours.current.innerText=e(o)),"on"===r.showMinutes&&(this.minutes.current.innerText=e(n)),"on"===r.showSeconds&&(this.seconds.current.innerText=e(a))}})}componentDidUpdate(e){const t=["date","hours","minutes","timeZone"],o=Ao.a.pick(e.dbValue,...t),n=Ao.a.pick(this.props.dbValue,...t);Ao.a.isEqual(o,n)||(this.endDate=this.getEndDate(),this.initPlugin())}componentWillUnmount(){hn()(this.countdown).countdown2("destroy")}getEndDate(){const{date:e,hours:t,minutes:o}=this.getValue(),n=e.split("/"),a="".concat(n[1],"/").concat(n[0],"/").concat(n[2]);return j_(x_(a,"m/d/Y"),t,o)}initPlugin(e=null){const{timeZone:t}=this.getValue(),o=60*t*1e3;hn()(this.countdown).countdown2(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?B_(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):B_(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({now:Date.now(),endDate:this.endDate,timeZoneOffset:o,tickInterval:1e3},e))}renderParts(){const e=this.getValue(),t=["days","hours","minutes","seconds"].filter(t=>{const o="show".concat(Object(As.c)(t));return"on"===e[o]}).map((t,o,n)=>{const a="style3"===e.style&&o!==n.length-1?Oo.a.createElement("span",{key:"separator",className:"brz-countdown2-separator"},":"):null;return[this.renderPart(t),a]});return Oo.a.createElement("div",{className:"brz-countdown2-parts"},t)}renderPart(e){const t=this.getValue(),o=this.getStylesValue(),n=this.getDefaultValue(),a=ra()("brz-countdown2__item","brz-countdown2__".concat(e),{"brz-countdown2_custom":0===t.bgColorOpacity&&0===t.borderColorOpacity},Qb("".concat(this.constructor.componentId,"-bg"),"".concat(this.getId(),"-bg"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBgColor","cssStyleBorder","cssStyleBoxShadow","cssStyleBorderRadius","cssStyleSizeHeightPx"],interval:["cssStyleHoverTransition","cssStyleElementCountDown2HoverTransitionProperty"]}}})}(t,o,n))),r=ra()("brz-countdown2__number",Qb("".concat(this.constructor.componentId,"-number"),"".concat(this.getId(),"-number"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementCountDown2NumberColor","cssStyleNumberTypography2FontFamily","cssStyleNumberTypography2FontSize","cssStyleNumberTypography2LineHeight","cssStyleNumberTypography2FontWeight","cssStyleNumberTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStyleElementCountDown2HoverTransitionProperty"]}}})}(t,o,n))),i=ra()("brz-countdown2__label",Qb("".concat(this.constructor.componentId,"-title"),"".concat(this.getId(),"-title"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementCountDown2TitleColor","cssStyleTitleTypography2FontFamily","cssStyleTitleTypography2FontSize","cssStyleTitleTypography2LineHeight","cssStyleTitleTypography2FontWeight","cssStyleTitleTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStyleElementCountDown2HoverTransitionProperty"]}}})}(t,o,n))),l="".concat(e,"Label");return Oo.a.createElement("div",{key:e,className:a},Oo.a.createElement("div",{ref:this[e],className:r},"00"),Oo.a.createElement("div",{className:i},Oo.a.createElement(xk.a,{value:t[l],onChange:this.handleTextChange.bind(null,l)})))}renderForEdit(e,t,o){const n=ra()("brz-countdown2",{"brz-countdown2-style1":"style1"===e.style},{"brz-countdown2-style2":"style2"===e.style},{"brz-countdown2-style3":"style3"===e.style},Qb("".concat(this.constructor.componentId,"-container"),"".concat(this.getId(),"-container"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidthPercent"]},".brz &&:hover .brz-countdown2__item":{standart:["cssStyleElementCountDown2SpacingRight","cssStyleElementCountDown2SpacingLeft"]},".brz &&:hover .brz-countdown2-separator":{standart:["cssStyleElementCountDown2NumberColor","cssStyleNumberTypography2FontFamily","cssStyleNumberTypography2FontSize","cssStyleNumberTypography2FontWeight"],interval:["cssStyleHoverTransition","cssStyleElementCountDown2HoverTransitionProperty"]}}})}(e,t,o))),a=ra()("brz-countdown2-message",Qb("".concat(this.constructor.componentId,"-message"),"".concat(this.getId(),"-message"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementCountDown2MessageColor","cssStyleMessageTypography2FontFamily","cssStyleMessageTypography2FontSize","cssStyleMessageTypography2LineHeight","cssStyleMessageTypography2FontWeight","cssStyleMessageTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStyleElementCountDown2HoverTransitionProperty"]}}})}(e,t,o))),{timeZone:r,linkType:i,messageText:l,messageRedirect:c,actions:s}=e;return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(ze,ke),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{ref:e=>{this.countdown=e},className:n,"data-end":this.endDate,"data-timezone":r,"data-link-type":i,"data-redirect":c,"data-message":l,"data-action":s},Oo.a.createElement(Zz,{points:P_,meta:this.props.meta,value:e,onChange:this.handleResizerChange},this.renderParts(),"showMessage"===s&&Oo.a.createElement("div",{className:a},l)))))}}Object(yo.a)(w_,"defaultValue",S_);var T_=w_,z_={getItems:function(){return[{id:"main",type:"group",title:Object(an.a)("Tabs"),icon:"nc-tabs",disabled:(e,t)=>t.isInSubMenu,items:[]}]}};class k_ extends Ju.a{static get componentId(){return"Tabs.Items"}getItemProps(e,t,o){const{renderType:n,meta:a,activeTab:r,onChangeNav:i,action:l}=this.props,c={getItems:()=>[{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},...o.length>1?[{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:Object(an.a)("Delete"),position:250,disable:1===o.length,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}]:[]]};return{meta:a,renderType:n,action:l,active:t===r,onChangeNav(){i(t)},toolbarExtend:this.makeToolbarPropsFromConfig2(c)}}removeItem(e){const t=this.getDBValue()||[],o=Object(kn.removeAt)(t,e);this.props.onChangeNav(0),setTimeout(()=>{this.handleValueChange(o,{arrayOperation:"remove"})},0)}}function E_({v:e,device:t,state:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t,state:o});return{id:n("iconPosition"),label:Object(an.a)("Position"),type:"radioGroup",choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}],value:(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("iconPosition"),onChange:e=>({[n("iconPosition")]:e})}}function H_({v:e,device:t,state:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t,state:o});return{id:n("verticalMode"),label:Object(an.a)("Orientation"),type:"radioGroup",choices:[{value:"on",icon:"nc-vertical-items"},{value:"off",icon:"nc-horizontal-items"}],value:(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("verticalMode"),onChange:e=>({[n("verticalMode")]:e})}}function __({v:e,device:t,state:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t,state:o});return{id:n("navStyle"),label:Object(an.a)("Style"),type:"radioGroup",choices:["off"===e.verticalMode?{value:"style-1",icon:"nc-tabs-style-2"}:{value:"style-1",icon:"nc-tabs-style-4"},"off"===e.verticalMode?{value:"style-2",icon:"nc-tabs-style-1"}:{value:"style-2",icon:"nc-tabs-style-3"}],value:(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("navStyle"),onChange:e=>({[n("navStyle")]:e})}}function R_({v:e,device:t,state:o}){const n=o=>Object(rh.defaultValueValue)({key:o,v:e,device:t}),{hex:a}=Object(sh.d)(n("bgColorHex"),n("bgColorPalette")),{hex:r}=Object(sh.d)(n("colorHex"),n("colorPalette")),i="on"===n("verticalMode"),l=n("navStyle");return[{id:"toolbarCurrentShortcode",type:"popover",icon:"nc-tabs",title:Object(an.a)("Tabs"),position:60,devices:"desktop",options:[{id:"currentShortcodeTabs",className:"",type:"tabs",tabs:[{id:"currentShortcodeTab",label:Object(an.a)("Tab"),position:10,options:[H_({v:e,device:t,state:o}),__({v:e,device:t,state:o}),{id:"action",label:Object(an.a)("Activate Tab"),type:"select-dev",devices:"desktop",choices:[{title:Object(an.a)("On Click"),value:"click"},{title:Object(an.a)("On Hover"),value:"hover"}]},{id:"spacingAfter",type:"slider-dev",label:Object(an.a)("Content Gap"),disabled:"style-1"===l,devices:"desktop",config:{min:0,max:100}},{id:"spacing",type:"slider-dev",label:Object(an.a)("Spacing"),devices:"desktop",config:{min:0,max:100}}]},{id:"currentShortcodeIcon",label:Object(an.a)("Icon"),options:[E_({v:e,device:t,state:o}),Object(ej.dc)({v:e,device:t,state:o}),{id:"iconSpacing",label:Object(an.a)("Spacing"),type:"slider-dev",config:{min:0,max:100}}]}]}]},{id:"toolbarTypography",type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:"toolbarColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],devices:"desktop",position:90,icon:{style:{backgroundColor:e.bgColorOpacity>0?Object(mn.c)(a,e.bgColorOpacity):Object(mn.c)(r,e.colorOpacity)}},options:[{id:"tabsColor",type:"tabs",tabs:[{label:Object(an.a)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabText",label:Object(an.a)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:"horizontalAlign",type:"toggle-dev",devices:"desktop",disabled:i,position:100,choices:[{icon:"nc-text-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-text-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-text-align-right",title:Object(an.a)("Align"),value:"right"}]},{id:"verticalAlign",type:"toggle-dev",devices:"desktop",position:90,disabled:!i,choices:[{icon:"nc-hrz-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-hrz-align-right",title:Object(an.a)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",roles:["admin"],position:110,title:Object(an.a)("Settings"),icon:"nc-cog"}]}Object(yo.a)(k_,"defaultProps",{className:"",renderType:"",style:{},meta:{}});const M_=Object(an.a)("Tabs Items");function I_({v:e,device:t}){return[Object(ej.nc)({v:e,device:t,state:"normal",onChangeGrouped:["onChangePaddingGrouped"],onChangeUngrouped:["onChangePaddingUngrouped"]})]}const F_=Object(an.a)("Tabs");function N_(){return[]}function L_(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}var W_=o(423);class V_ extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleNav",e=>{this.patchValue({activeTab:e})})}static get componentId(){return"Tabs"}getMeta(e){const{meta:t}=this.props,o=Qx({v:e,w:t.desktopW,device:"desktop"}),n=Qx({v:e,w:t.tabletW,device:"tablet"}),a=Qx({v:e,w:t.mobileW,device:"mobile"});return Object.assign({},t,{mobileW:a,tabletW:n,desktopW:o})}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(Re,_e,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:"".concat(this.constructor.componentId,"Parent")});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const{activeTab:n,iconName:a,iconType:r,verticalMode:i,navStyle:l,verticalAlign:c,action:s}=e,d=this.getMeta(e),p=this.makeSubcomponentProps({activeTab:n,iconName:a,iconType:r,action:s,meta:d,bindWithKey:"items",renderType:"nav",onChangeNav:this.handleNav,toolbarExtend:this.makeToolbarPropsFromConfig2(Ee,He,{allowExtend:!1})}),u=this.makeSubcomponentProps({activeTab:n,iconName:a,iconType:r,meta:d,bindWithKey:"items",renderType:"content",onChangeNav:this.handleNav,toolbarExtend:this.makeToolbarPropsFromConfig2(Ee,He,{allowExtend:!1})}),b=ra()("brz-tabs","on"===i?"brz-tabs--vertical":"brz-tabs--horizontal","brz-tabs--".concat(l),"brz-tabs--".concat(c),Qb(this.constructor.componentId,this.getId(),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover ":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LineHeight","cssStyleTypography2LetterSpacing"]},".brz && .brz-tabs__nav":{standart:["cssStyleFlexHorizontalAlign"]},".brz && .brz-tabs__nav.brz-tabs__nav--horizontal.brz-tabs__nav--style-2":{standart:["cssStyleElementTabsAfterSpacing"]},".brz && .brz-tabs__nav.brz-tabs__nav--vertical.brz-tabs__nav--style-2":{standart:["cssStyleElementTabsAfterSpacingVertical"]},".brz && .brz-tabs__items:hover":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder"]},".brz && .brz-tabs__nav--button:hover":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder","cssStyleBoxShadow","cssStyleElementTabsBtnIconPosition","cssStyleElementTabsBtnIconJustifyContent"]},".brz && .brz-tabs__nav--mobile.brz-tabs__nav--mobile--active .brz-tabs__nav--button":{standart:["cssStyleElementTabsBorderMobileWidth"]},".brz && .brz-tabs__nav--button .brz-icon-svg":{standart:["cssStyleElementTabsBtnSpacing","cssStyleElementTabsBtnIconSize"]},".brz && .brz-tabs__nav--horizontal.brz-tabs__nav--style-1 .brz-tabs__nav--active .brz-tabs__nav--button:hover":{standart:["cssStyleElementTabsBtnActiveBorderBottomColor"]},".brz && .brz-tabs__nav--vertical.brz-tabs__nav--style-1.brz-tabs__nav--left .brz-tabs__nav--active .brz-tabs__nav--button:hover":{standart:["cssStyleElementTabsBtnActiveBorderRightColor"]},".brz && .brz-tabs__nav--vertical.brz-tabs__nav--style-1.brz-tabs__nav--right .brz-tabs__nav--active .brz-tabs__nav--button:hover":{standart:["cssStyleElementTabsBtnActiveBorderLeftColor"]},".brz && .brz-tabs__nav--horizontal .brz-tabs__nav--active::after:hover ":{standart:["cssStyleElementTabsActiveBeforeAfterColor","cssStyleElementTabsActiveBeforeHeight","cssStyleElementTabsBeforeAfterRightWidth"]},".brz && .brz-tabs__nav--horizontal .brz-tabs__nav--active::before:hover":{standart:["cssStyleElementTabsActiveBeforeAfterColor","cssStyleElementTabsActiveBeforeHeight","cssStyleElementTabsBeforeAfterLeftWidth"]},".brz && .brz-tabs__nav--vertical .brz-tabs__nav--active::after:hover ":{standart:["cssStyleElementTabsActiveBeforeAfterColor","cssStyleElementTabsActiveBeforeWidth","cssStyleElementTabsBeforeAfterTop"]},".brz && .brz-tabs__nav--vertical .brz-tabs__nav--active::before:hover":{standart:["cssStyleElementTabsActiveBeforeAfterColor","cssStyleElementTabsActiveBeforeWidth","cssStyleElementTabsBeforeAfterBottom"]},".brz && .brz-tabs__item--content":{interval:["cssStyleElementTabsEmptyContent"],standart:["cssStylePaddingFourFields"]},".brz && .brz-tabs__nav--horizontal .brz-tabs__nav--item:not(:last-child)":{standart:["cssStyleElementTabsSpacing"]},".brz && .brz-tabs__nav--vertical .brz-tabs__nav--item:not(:last-child)":{standart:["cssStyleElementTabsSpacing"]}}})}(e,t,o))),h=ra()("brz-tabs__nav","on"===i?"brz-tabs__nav--vertical":"brz-tabs__nav--horizontal","brz-tabs__nav--".concat(l),"brz-tabs__nav--".concat(c)),m=ra()("brz-tabs__content","on"===i?"brz-tabs__content--vertical":"brz-tabs__content--horizontal","brz-tabs__content--".concat(l),"brz-tabs__content--".concat(c));return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(Rj,this.makeContextMenuProps(z_),Oo.a.createElement("div",{className:b,"data-action":s},Oo.a.createElement("ul",{className:h},Oo.a.createElement(k_,p)),Oo.a.createElement("div",{className:m},Oo.a.createElement(k_,u)))))}}Object(yo.a)(V_,"defaultValue",W_),Object(yo.a)(V_,"defaultProps",{meta:{},extendParentToolbar:Do.noop});var D_=e=>({getItems:G_(e)});const A_="MacOS"===vp(),G_=e=>(t,o)=>{const n=o.getCurrentCopiedElement(),a="Row"===t[e].type,r=n&&(a||t[e].type===n.type),i=r&&(a||n.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:Object(an.a)("Copy"),helperText:()=>A_?"⌘ + C":"Ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:Object(an.a)("Paste"),helperText:()=>A_?"⌘ + V":"Ctrl + V",inactive:!r,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:Object(an.a)("Paste Styles"),inactive:!i,helperText:()=>A_?"⌘ + ⇧ + V":"Ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:Object(an.a)("Duplicate"),helperText:()=>A_?"⌘ + D":"Ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:Object(an.a)("Delete"),helperText:()=>A_?"⌘ + delete":"Delete",onChange:()=>{Object(Aa.d)(),o.removeItem(e)}}]}]};class U_ extends Ju.a{constructor(...e){super(...e),Object(yo.a)(this,"handleSortableAcceptElements",e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0})}static get componentId(){return"Tab.Items"}getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",title:Object(an.a)("Duplicate"),icon:"nc-duplicate",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",title:Object(an.a)("Delete"),icon:"nc-trash",position:210,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]},n=this.makeToolbarPropsFromConfig(o);return{meta:this.props.meta,toolbarExtend:n}}renderItemsContainer(e){const t=e.length?Oo.a.createElement("div",{className:this.props.className},e):null;return Oo.a.createElement(Ua,{path:this.getPath(),type:"column",acceptElements:this.handleSortableAcceptElements},t)}renderItemWrapper(e,t,o){const n=D_(o);return Oo.a.createElement(Ej,Object(ta.a)({key:t},this.makeContextMenuProps(n)),Oo.a.createElement(fr.a,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign"],id:t,onKeyDown:this.handleKeyDown},e))}}Object(yo.a)(U_,"defaultProps",{className:"",meta:{}});var K_=U_;function q_({v:e}){return[{id:"toolbarCurrentShortcode",type:"popover",icon:"nc-tabs",title:Object(an.a)("Tabs"),position:70,options:[{id:"currentShortcodeTabs",className:"",type:"tabs",tabs:[{id:"currentShortcodeIcon",label:Object(an.a)("Icon"),options:[{id:"iconImage",label:Object(an.a)("Icon"),type:"iconSetter",devices:"desktop",canDelete:!0,value:{name:e.iconName,type:e.iconType},onChange:({name:e,type:t})=>({iconName:e,iconType:t})}]}]}]}]}var Y_=o(424);class X_ extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleLabelChange",e=>{this.patchValue({labelText:e})})}static get componentId(){return"Tab"}renderNav(e){const{iconName:t,iconType:o,labelText:n}=e,{active:a,onChangeNav:r,action:i}=this.props,l=ra()("brz-tabs__nav--item brz-tabs__nav--desktop",{"brz-tabs__nav--active":a});return Oo.a.createElement("li",{className:l,onClick:"click"===i?r:null,onMouseEnter:"hover"===i?r:null},Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Me),Oo.a.createElement("div",{className:ra()("brz-tabs__nav--button")},t&&o&&Oo.a.createElement(ml.a,{name:t,type:o}),Oo.a.createElement(xk.a,{value:n,onChange:this.handleLabelChange}))))}renderContent(e){const{labelText:t,customClassName:o,iconName:n,iconType:a}=e,{active:r,meta:i,onChangeNav:l}=this.props,c=this.makeSubcomponentProps({meta:i,bindWithKey:"items",className:"brz-tab"}),s=ra()("brz-tabs__items",{"brz-tabs__items--active":r}),d=ra()("brz-tabs__nav--mobile",{"brz-tabs__nav--mobile--active":r});return Oo.a.createElement("div",{className:s},Oo.a.createElement("div",{className:d,onClick:l},Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Me),Oo.a.createElement("div",{className:ra()("brz-tabs__nav--button")},n&&a&&Oo.a.createElement(ml.a,{name:n,type:a}),t))),Oo.a.createElement("div",{className:"brz-tabs__item--content"},Oo.a.createElement(gB,{key:"content",className:o,value:e},Oo.a.createElement(K_,c))))}renderForEdit(e){const{renderType:t}=this.props;return"content"===t?this.renderContent(e):this.renderNav(e)}}Object(yo.a)(X_,"defaultProps",{meta:{}}),Object(yo.a)(X_,"defaultValue",Y_);var Z_=X_;function J_(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class $_ extends Ju.a{static get componentId(){return"Timeline.Items"}getItemProps(e,t,o){const n={getItems:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),devices:"desktop",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:Object(an.a)("Delete"),devices:"desktop",position:210,disabled:1===o.length,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}]};return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?J_(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):J_(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},super.getItemProps(e,t,o),{toolbarExtend:this.makeToolbarPropsFromConfig2(n)})}}function Q_(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}Object(yo.a)($_,"defaultProps",{className:"",style:{},meta:{},name:"",type:""});const eR=Object(an.a)("Timeline");function tR(){return[]}function oR({v:e,device:t,devices:o="all",state:n}){const a=e=>Object(rh.defaultValueKey)({key:e,device:t,state:n});return{type:"multiPicker",roles:["admin"],devices:o,picker:{id:a("verticalMode"),label:Object(an.a)("Orientation"),type:"radioGroup",devices:o,choices:[{value:"on",icon:"nc-vertical-items"},{value:"off",icon:"nc-horizontal-items"}],value:(o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:n}))("verticalMode"),onChange:e=>({[a("verticalMode")]:e})}}}function nR({v:e,device:t,devices:o="all",state:n}){const a=e=>Object(rh.defaultValueKey)({key:e,device:t,state:n}),r=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:n}),i="off"===r(a("verticalMode"));return{type:"multiPicker",roles:["admin"],devices:o,picker:{id:a("timelineStyle"),label:Object(an.a)("Style"),type:"radioGroup",devices:o,choices:[...i?[{value:"style-1",icon:"nc-timeline-style-2"},{value:"style-2",icon:"nc-timeline-style-1"},{value:"style-3",icon:"nc-timeline-style-3"}]:[{value:"style-1",icon:"nc-timeline-style-4"},{value:"style-2",icon:"nc-timeline-style-5"},{value:"style-3",icon:"nc-timeline-style-6"}]],value:r("timelineStyle"),onChange:e=>({[a("timelineStyle")]:e})}}}function aR({v:e,device:t}){const o=Math.round((e.customSize+2*e.tempPadding+2*e.tempBorderWidth)/2),{hex:n}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"bgColorHex",device:t}),Object(rh.defaultValueValue)({v:e,key:"bgColorPalette",device:t})),{hex:a}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"colorHex",device:t}),Object(rh.defaultValueValue)({v:e,key:"colorPalette",device:t}));return[{id:"toolbarCurrentShortcode",type:"popover",icon:"nc-timeline",title:Object(an.a)("Timeline"),position:70,options:[{id:"currentShortcodeTabs",className:"",type:"tabs",tabs:[{id:"currentShortcodeTimeline",label:Object(an.a)("Timeline"),position:40,options:[oR({v:e,device:t,state:"normal"}),nR({v:e,device:t,state:"normal"}),{id:"enableText",label:Object(an.a)("Titles"),type:"switch-dev",devices:"desktop"},{id:"tabsCount",label:Object(an.a)("Columns"),type:"slider-dev",disabled:"on"===e.verticalMode,config:{min:1,max:6}},{id:"spacing",label:Object(an.a)("Spacing"),type:"slider-dev",config:{min:0,max:100}}]},{id:"currentShortcodeTab",label:Object(an.a)("Icon"),position:60,options:[{id:"iconImage",label:Object(an.a)("Icon"),type:"iconSetter",devices:"desktop",value:{name:e.name,type:e.type},onChange:({name:e,type:t})=>({name:e,type:t})},{type:"multiPicker",roles:["admin"],picker:{id:"size",label:Object(an.a)("Size"),type:"radioGroup",choices:[{value:"small",icon:"nc-32"},{value:"medium",icon:"nc-48"},{value:"large",icon:"nc-64"},{value:"custom",icon:"nc-more"}],value:e.size,onChange:t=>{const o=Math.round(e.borderRadius/Math.round(e["".concat(e.size,"Size")]+2*e.padding+2*e.iconBorderWidth)*Math.round(e["".concat(t,"Size")]+2*e.padding+2*e.iconBorderWidth));return{size:t,customSize:"custom"!==t?e["".concat(t,"Size")]:e.customSize,borderRadius:"custom"!==t?o:e.borderRadius}}},choices:{custom:[{id:"customSize",type:"slider",slider:{min:14,max:180},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.customSize},onChange:({value:t})=>{return{customSize:t,borderRadius:Math.round(e.borderRadius/Math.round(e.customSize+2*e.padding+2*e.iconBorderWidth)*Math.round(t+2*e.padding+2*e.iconBorderWidth))}}}]}}]},{id:"iconBackground",label:Object(an.a)("Background"),position:80,roles:["admin"],options:[{type:"multiPicker",picker:{id:"borderRadiusType",label:Object(an.a)("Corner"),type:"radioGroup",devices:"desktop",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}],value:e.borderRadiusType,onChange:t=>({borderRadiusType:t,tempBorderRadiusType:""!==t?t:e.tempBorderRadiusType,fillType:""!==t?e.tempFillType:e.fillType,borderRadius:"square"===t?e.tempBorderRadius:"rounded"===t?o:e.borderRadius,iconBorderWidth:""!==t?e.tempBorderWidth:e.iconBorderWidth,padding:""!==t?e.tempPadding:e.padding})},choices:{custom:[{id:"borderRadius",type:"slider",slider:{min:0,max:o},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.borderRadius},onChange:({value:e})=>({borderRadius:e,tempBorderRadius:e})}]}},{id:"padding",label:Object(an.a)("Size"),type:"slider",slider:{min:0,max:180},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.iconPadding},onChange:({value:t})=>({iconPadding:t,tempPadding:t,borderRadius:"rounded"===e.borderRadiusType?Math.round((e.customSize+2*t+2*e.iconBorderWidth)/2):e.borderRadius,iconBorderWidth:t>0?e.tempBorderWidth:e.iconBorderWidth,borderRadiusType:t>0?e.tempBorderRadiusType:e.borderRadiusType,fillType:t>0?e.tempFillType:e.fillType,borderColorOpacity:t>0?e.tempBorderColorOpacity:e.borderColorOpacity,borderColorPalette:t>0?e.tempBorderColorPalette:e.borderColorPalette,bgColorOpacity:t>0&&"filled"===e.tempFillType?e.tempBgColorOpacity:e.bgColorOpacity,bgColorPalette:t>0&&"filled"===e.tempFillType?e.tempBgColorPalette:e.bgColorPalette})}]}]}]},{id:"toolbarColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],devices:"desktop",position:90,icon:{style:{backgroundColor:e.bgColorOpacity>0?Object(mn.c)(n,e.bgColorOpacity):Object(mn.c)(a,e.colorOpacity)}},options:[{id:"color",type:"tabs",tabs:[{id:"lineBorder",label:Object(an.a)("Line"),options:[{id:"lineBorder",type:"border-dev"}]}]}]},{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:0,max:1e3,units:[{value:"px",title:"px"}]}},{id:"advancedSettings",type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog",devices:"desktop"}]}]}const rR=Object(an.a)("Timeline Items");function iR({v:e,device:t}){return[Object(ej.oc)({v:e,device:t,state:"normal"})]}function lR({v:e,device:t}){const{hex:o}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"labelBgColorHex",device:t}),Object(rh.defaultValueValue)({v:e,key:"labelBgColorPalette",device:t})),{hex:n}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"labelColorHex",device:t}),Object(rh.defaultValueValue)({v:e,key:"labelColorPalette",device:t}));return[{id:"toolbarTypographyLabel",type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:"toolbarColorLabel",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],devices:"desktop",position:90,icon:{style:{backgroundColor:e.bgColorOpacity>0?Object(mn.c)(o,e.labelBgColorOpacity):Object(mn.c)(n,e.labelColorOpacity)}},options:[{id:"color",type:"tabs",tabs:[{label:Object(an.a)("Color"),options:[{id:"labelColor",type:"colorPicker-dev"}]}]}]}]}const cR=Object(an.a)("Timeline Labels");function sR(){return[]}var dR=o(425);class pR extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleNav",e=>{this.patchValue({activeTab:e})})}static get componentId(){return"Timeline"}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(Ie,Fe,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:"".concat(this.constructor.componentId,"Parent")});this.props.extendParentToolbar(e)}getWidthWithW(e,t,o){const n=Em({v:e,device:o}),a=function({v:e,device:t,state:o}){return(n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}))("verticalMode")}({v:e,device:o}),r=zm({v:e,device:o}),i=km({v:e,device:o});let l=100,c=t;if("on"===a)if("px"===i){const t=Yh({v:e,device:o});c=r+$x({w:c,v:e,device:o,type:t})}else l=r;else c/=n;return{w:c,v:e,device:o,width:l}}getMeta(e){const{meta:t}=this.props,o=Qx(this.getWidthWithW(e,t.desktopW,"desktop")),n=Qx(this.getWidthWithW(e,t.tabletW,"tablet")),a=Qx(this.getWidthWithW(e,t.mobileW,"mobile"));return Ao.a.extend({},t,{mobileW:a,tabletW:n,desktopW:o})}renderForEdit(e,t,o){const{verticalMode:n,timelineStyle:a}=e,r=ra()("brz-timeline__tabs","brz-timeline__tabs--".concat(a),"on"===n?"brz-timeline__tabs--vertical":"brz-timeline__tabs--horizontal",Qb(this.constructor.componentId,this.getId(),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&":{standart:["cssStyleDisplayFlex","cssStyleElementTimelineTabs","cssStyleElementTimelineTabsHorizontalStyle3"]},".brz && .brz-timeline__nav--title":{standart:["cssStyleLabelColor","cssStyleElementTimelineNavTitleVisible","cssStyleElementTimelineNavTitleWidth","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleElementTimelineNavTitle"]},".brz && .brz-timeline__nav--icon":{standart:["cssStyleElementTimelineIconSize","cssStyleBorder","cssStyleElementTimelinePaddingForIcon","cssStyleElementTimelineIconBorderRadius","cssStyleElementTimelineIconWidth","cssStyleElementTimelineIconHeight","cssStyleElementTimelineTabsVerticalNavIcon"]},".brz && .brz-timeline__content":{standart:["cssStylePaddingFourFields","cssStyleMargin","cssStyleBorder","cssStyleElementTimelineWidth","cssStyleElementTimelineTabsVerticalContent"]},".brz && .brz-timeline__tab":{standart:["cssStyleElementTimelineTab","cssStyleElementTimelineVerticalTab","cssStyleElementTimelineCustomTabWidth","cssStyleElementTimelineVerticalPosition"]},".brz && .brz-timeline__tab:nth-child(odd)":{standart:["cssStyleElementTimelineVerticalCustomTabPositionOdd","cssStyleElementTimelineTabHorizontalStyle3Odd"]},".brz && .brz-timeline__tab:nth-child(even)":{standart:["cssStyleElementTimelineTabCustomStyle","cssStyleElementTimelineVerticalCustomTabPosition"]},".brz && .brz-timeline__tab:last-child":{standart:["cssStyleElementTimelineVerticalLastTab"]},".brz && .brz-timeline__tab:after":{standart:["cssStyleElementTimelineLineTop","cssStyleElementTimelineLineWidthHeight"]},".brz && .brz-timeline__tab:nth-child(even):after":{standart:["cssStyleElementTimelineCustomLineTop","cssStyleElementTimelineVerticalCustomPosition"]},".brz && .brz-timeline__tab:nth-child(odd):after":{standart:["cssStyleElementTimelineCustomLineOdd"]},".brz && .brz-timeline__tab:before":{standart:["cssStyleElementTimelineBeforeDisplay","cssStyleElementTimelineLineWidthHeight","cssStyleElementTimelineVerticalLinePosition"]},".brz && .brz-timeline__tab:nth-child(even):before":{standart:["cssStyleElementTimelineVerticalCustomPosition"]},".brz && .brz-timeline__tab:after, .brz-timeline__tab:before":{standart:["cssStyleElementTimelineLineBgColor"]},".brz && .brz-timeline__tab .brz-timeline__content":{standart:["cssStyleElementTimelineContentSpacing","cssStyleElementTimelineWidth"]},".brz && .brz-timeline__tab:nth-child(even) .brz-timeline__content":{standart:["cssStyleElementTimelineCustomContentSpacing"]},".brz && .brz-timeline__tab .brz-timeline__content:before":{interval:["cssStyleElementTimelineTabContentBefore","cssStyleElementTimelineTabContentArrowColor"]},".brz && .brz-timeline__tab:nth-child(even) > .brz-timeline__content:before":{interval:["cssStyleElementTimelineVerticalStyle3ArrowPosition","cssStyleElementTimelineTabContentArrowCustomColor"]},".brz && .brz-timeline__tab:nth-child(odd) > .brz-timeline__content:before":{interval:["cssStyleElementTimelineContentBeforeStyle3","cssStyleElementTimelineTabContentArrowCustomColor1"]},".brz && .brz-timeline__tabs--horizontal.brz-timeline__tabs--style-2":{standart:["cssStyleDisplayFlex"]},".brz && .brz-timeline__tab:first-child:before":{standart:["cssStyleElementTimelineVerticalTabBeforeNone"]},".brz && .brz-timeline__tab:nth-child(even):last-child:after":{standart:["cssStyleElementTimelineVerticalTabBeforeStyle3"]},".brz && .brz-timeline__tab:nth-child(even) > .brz-timeline__nav--title":{standart:["cssStyleElementTimelineNavTitleStyle3"]}}})}(e,t,o))),i=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:this.getMeta(e),verticalMode:n,timelineStyle:a,toolbarExtendLabel:this.makeToolbarPropsFromConfig2(We,Ve)},toolbarExtend:this.makeToolbarPropsFromConfig2(Ne,Le)});return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:r},Oo.a.createElement($_,i)))}}Object(yo.a)(pR,"defaultProps",{meta:{}}),Object(yo.a)(pR,"defaultValue",dR);var uR=o(426);function bR(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class hR extends Ju.a{constructor(...e){super(...e),Object(yo.a)(this,"handleSortableAcceptElements",e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0})}static get componentId(){return"TimelineTab.Items"}getItemProps(e,t,o){const n={getItems:()=>[{id:"duplicate",type:"button",title:Object(an.a)("Duplicate"),icon:"nc-duplicate",devices:"desktop",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",title:Object(an.a)("Delete"),icon:"nc-trash",devices:"desktop",position:210,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}]};return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?bR(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):bR(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},super.getItemProps(e,t,o),{toolbarExtend:this.makeToolbarPropsFromConfig2(n)})}renderItemsContainer(e){const t=e.length?Oo.a.createElement("div",{className:this.props.className},e):null;return Oo.a.createElement(Ua,{path:this.getPath(),type:"column",acceptElements:this.handleSortableAcceptElements},t)}renderItemWrapper(e,t,o){const n=D_(o);return Oo.a.createElement(Ej,Object(ta.a)({key:t},this.makeContextMenuProps(n)),Oo.a.createElement(fr.a,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign"],id:t,onKeyDown:this.handleKeyDown},e))}}Object(yo.a)(hR,"defaultProps",{meta:{}});const mR=({v:e,device:t})=>{const{hex:o}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"bgColorHex",device:t}),Object(rh.defaultValueValue)({v:e,key:"bgColorPalette",device:t})),{hex:n}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"colorHex",device:t}),Object(rh.defaultValueValue)({v:e,key:"colorPalette",device:t}));return[{id:(e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}))("toolbarCurrentShortcode"),type:"popover",icon:"nc-timeline",title:Object(an.a)("Timeline"),position:70,options:[{id:"currentShortcodeTabs",className:"",type:"tabs",tabs:[{id:"currentShortcodeTab",label:Object(an.a)("Icon"),position:60,options:[{id:"iconImage",label:Object(an.a)("Icon"),type:"iconSetter",devices:"desktop",value:{name:e.name,type:e.type},onChange:({name:e,type:t})=>({name:e,type:t})}]}]}]},{id:"toolbarColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],devices:"desktop",position:90,icon:{style:{backgroundColor:e.bgColorOpacity>0?Object(mn.c)(o,e.bgColorOpacity):Object(mn.c)(n,e.colorOpacity)}},options:[{id:"color",type:"tabs",tabs:[{label:Object(an.a)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev"}]},{label:Object(an.a)("Icon"),options:[{id:"color",type:"colorPicker-dev"}]},{label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev"}]},{label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev"}]}]}]}]};class gR extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleLabelChange",e=>{this.patchValue({labelText:e})})}static get componentId(){return"TimelineTab"}renderForEdit(e,t,o){const{customClassName:n,labelText:a,name:r,type:i}=e,{verticalMode:l,timelineStyle:c,toolbarExtendLabel:s,meta:d}=this.props,p=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:d}}),u=ra()("brz-timeline__tab","brz-timeline__tab--".concat(c),"on"===l?"brz-timeline__tabs--vertical":"brz-timeline__tabs--horizontal",n,Qb(this.constructor.componentId,this.getId(),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz && .brz-timeline__nav--icon":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder"]},".brz && .brz-timeline__content":{standart:["cssStyleBgColor","cssStyleBoxShadow","cssStyleBorder"]},".brz && .brz-timeline__content:before":{standart:["cssStyleBgColor","cssStyleElementTimelineArrowBorder"]}}})}(e,t,o)));return Oo.a.createElement("div",{className:u},Oo.a.createElement("div",{className:"brz-timeline__nav--title"},Oo.a.createElement(Aa.c,s,Oo.a.createElement(xk.a,{value:a,onChange:this.handleLabelChange}))),Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(De),Oo.a.createElement("div",{className:"brz-timeline__nav--icon"},Oo.a.createElement(ml.a,{name:r,type:i}))),Oo.a.createElement("div",{className:"brz-timeline__content"},Oo.a.createElement(hR,p)))}}function vR(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-switcher__nav":{standart:["cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleBgColor","cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow","cssStyleElementSwitcherNavSpacing","cssStyleElementSwitcherWidth"]},".brz &&:hover .brz-switcher__nav:before":{standart:["cssStyleBorderRadius","cssStyleElementSwitcherNavBeforeBg"]},".brz &&:hover .brz-switcher__nav--item":{standart:["cssStyleColor","cssStylePaddingFourFields"]},".brz &&:hover .brz-switcher__nav--item--active":{standart:["cssStyleElementSwitcherActiveTextColor"]},".brz &&:hover .brz-switcher__nav2":{standart:["cssStyleColor","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleElementSwitcherNavSpacing"]},".brz &&:hover .brz-switcher__nav2--control":{standart:["cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleBgColor","cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow","cssStyleElementSwitcherNav2Height","cssStyleElementSwitcherNav2Width"]},".brz &&:hover .brz-switcher__nav2--control:before":{standart:["cssStyleBorderRadius","cssStyleElementSwitcherNavBeforeBg"]}}})}Object(yo.a)(gR,"defaultProps",{meta:{}}),Object(yo.a)(gR,"defaultValue",uR);var yR={getItems:function(){return[{id:"main",type:"group",title:Object(an.a)("Switcher"),icon:"nc-switcher",disabled:(e,t)=>t.isInSubMenu,items:[]}]}};var fR=o(427);class OR extends Ju.a{static get componentId(){return"Switcher.Items"}getItemProps(e,t){const{renderType:o,meta:n,activeTab:a,toolbarExtend:r,onChangeNav:i}=this.props;return{meta:n,renderType:o,toolbarExtend:r,active:t===a,onChangeNav:()=>{t!==a&&i(t)}}}removeItem(e){const t=this.getDBValue()||[],o=Object(kn.removeAt)(t,e);this.props.onChangeNav(0),setTimeout(()=>{this.handleValueChange(o,{arrayOperation:"remove"})},0)}}Object(yo.a)(OR,"defaultProps",{className:"",renderType:"",style:{},meta:{},onChangeNav:Do.noop});var CR=OR;function SR(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}const xR=Object(an.a)("Switcher");function jR({v:e}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e})]}]}]}function BR({v:e,device:t,devices:o="all",state:n}){const a=e=>Object(rh.defaultValueKey)({key:e,device:t,state:n});return{type:"multiPicker",roles:["admin"],devices:o,picker:{id:a("switcherStyle"),label:Object(an.a)("Style"),type:"radioGroup",devices:o,choices:[{value:"style-1",icon:"nc-switcher-style-1"},{value:"style-2",icon:"nc-switcher-style-2"}],value:(o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:n}))("switcherStyle"),onChange:e=>({[a("switcherStyle")]:e})}}}function PR({v:e,device:t,state:o}){const{hex:n}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"bgColorHex",device:t,state:o}),Object(rh.defaultValueValue)({v:e,key:"bgColorPalette",device:t,state:o}));return[{id:"toolbarCurrentShortcode",type:"popover",devices:"desktop",icon:"nc-switcher",title:Object(an.a)("Switcher"),position:70,options:[BR({v:e,device:t,devices:"desktop",state:"normal"}),{id:"spacing",type:"slider-dev",label:Object(an.a)("Spacing"),devices:"desktop",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:"toolbarColor",type:"popover",devices:"desktop",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],position:90,icon:{style:{backgroundColor:Object(mn.c)(n,e.bgColorOpacity)}},options:[{id:"color",type:"tabs",tabs:[{label:Object(an.a)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[uw.c,uw.a]}]},{label:Object(an.a)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[uw.c,uw.a]}]},{label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev"}]},{label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev"}]}]}]},{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),position:110,options:[{id:"navStyle2Size",label:Object(an.a)("Size"),type:"slider-dev",disabled:"style-1"===e.switcherStyle,devices:"desktop",config:{min:25,max:100,units:[{value:"px",title:"px"}]}},{id:"navStyle1Width",label:Object(an.a)("Width"),type:"slider-dev",disabled:"style-2"===e.switcherStyle,config:{min:0,max:1e3,units:[{value:"px",title:"px"}]}},{id:"advancedSettings",type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog",devices:"desktop"}]}]}const wR=Object(an.a)("Switcher Tabs");function TR({v:e,device:t}){return[Object(ej.oc)({v:e,device:t,disabled:"style-2"===e.switcherStyle,state:"normal",onChangeGrouped:["onChangePaddingGrouped"],onChangeUngrouped:["onChangePaddingUngrouped"]}),Object(ej.n)({v:e,device:t,state:"normal",onChangeGrouped:["onChangeBorderRadiusGrouped"],onChangeUngrouped:["onChangeBorderRadiusUngrouped"]})]}class zR extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleChangeNav",e=>{this.patchValue({activeTab:e})}),Object(yo.a)(this,"handleLabelChange1",e=>{this.patchValue({labelText1:e})}),Object(yo.a)(this,"handleLabelChange2",e=>{this.patchValue({labelText2:e})})}static get componentId(){return"Switcher"}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(Ae,Ge,{allowExtend:!1});this.props.extendParentToolbar(e),this.handleChangeNav(0)}renderNav(e,t,o){const{activeTab:n,labelText1:a,labelText2:r}=e,i=ra()("brz-switcher__nav2--control",{"brz-switcher__nav2--control--active":0===n},Qb(this.constructor.componentId,this.getId(),vR(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Ue,Ke,{allowExtend:!1}),Oo.a.createElement("div",{className:"brz-switcher__nav2"},Oo.a.createElement(xk.a,{value:a,onChange:this.handleLabelChange1}),Oo.a.createElement("div",{onClick:()=>{this.handleChangeNav(0===n?1:0)},className:i}),Oo.a.createElement(xk.a,{value:r,onChange:this.handleLabelChange2})))}renderForEdit(e,t,o){const{activeTab:n,customCSS:a,switcherStyle:r}=e,i=ra()("brz-switcher",{"brz-switcher--style2":"style-2"===r},Qb(this.constructor.componentId,this.getId(),vR(e,t,o))),l=ra()("brz-switcher__nav",{"brz-switcher__nav--active":0===n}),c=this.makeSubcomponentProps({activeTab:n,bindWithKey:"items",renderType:"nav",meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(Ue,Ke,{allowExtend:!1}),onChangeNav:this.handleChangeNav}),s=this.makeSubcomponentProps({activeTab:n,bindWithKey:"items",renderType:"content",meta:this.props.meta});return Oo.a.createElement(vj,{selectorName:this.getId(),css:a},Oo.a.createElement(Rj,this.makeContextMenuProps(yR),Oo.a.createElement("div",{className:i},"style-2"===r?this.renderNav(e,t,o):Oo.a.createElement("div",{className:l},Oo.a.createElement(CR,c)),Oo.a.createElement(CR,s))))}}Object(yo.a)(zR,"defaultProps",{meta:{}}),Object(yo.a)(zR,"defaultValue",fR);var kR=zR,ER=e=>({getItems:_R(e)});const HR="MacOS"===vp(),_R=e=>(t,o)=>{const n=o.getCurrentCopiedElement(),a="Row"===t[e].type,r=n&&(a||t[e].type===n.type),i=r&&(a||n.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:Object(an.a)("Copy"),helperText:()=>HR?"⌘ + C":"Ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:Object(an.a)("Paste"),helperText:()=>HR?"⌘ + V":"Ctrl + V",inactive:!r,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:Object(an.a)("Paste Styles"),inactive:!i,helperText:()=>HR?"⌘ + ⇧ + V":"Ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:Object(an.a)("Duplicate"),helperText:()=>HR?"⌘ + D":"Ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:Object(an.a)("Delete"),helperText:()=>HR?"⌘ + delete":"Delete",onChange:()=>{Object(Aa.d)(),o.removeItem(e)}}]}]};class RR extends Ju.a{constructor(...e){super(...e),Object(yo.a)(this,"handleSortableAcceptElements",e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0})}static get componentId(){return"SwitcherTab.Items"}getItemProps(e,t){const o={getItems:()=>[{id:"duplicate",type:"button",title:Object(an.a)("Duplicate"),icon:"nc-duplicate",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",title:Object(an.a)("Delete"),icon:"nc-trash",position:210,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}]},n=this.makeToolbarPropsFromConfig2(o);return{meta:this.props.meta,toolbarExtend:n}}renderItemsContainer(e){const t=e.length?Oo.a.createElement("div",null,e):null;return Oo.a.createElement(Ua,{path:this.getPath(),type:"column",acceptElements:this.handleSortableAcceptElements},t)}renderItemWrapper(e,t,o){const n=ER(o);return Oo.a.createElement(Ej,Object(ta.a)({key:t},this.makeContextMenuProps(n)),Oo.a.createElement(fr.a,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign"],id:t,onKeyDown:this.handleKeyDown},e))}}Object(yo.a)(RR,"defaultProps",{className:"",meta:{}});var MR=RR,IR=o(428);class FR extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleLabelChange",e=>{this.patchValue({labelText:e})})}static get componentId(){return"SwitcherTab"}renderNav(e){const{labelText:t}=e,{active:o,onChangeNav:n,toolbarExtend:a}=this.props,r=ra()("brz-switcher__nav--item",{"brz-switcher__nav--item--active":o});return Oo.a.createElement(Aa.c,a,Oo.a.createElement("div",{className:r,onClick:n},Oo.a.createElement(xk.a,{value:t,onChange:this.handleLabelChange})))}renderContent(){const{meta:e,active:t}=this.props,o=ra()("brz-switcher__content--tab",{"brz-switcher__content--tab--active":t}),n=this.makeSubcomponentProps({meta:e,bindWithKey:"items"});return Oo.a.createElement("div",{className:o},Oo.a.createElement(MR,n))}renderForEdit(e){const{renderType:t}=this.props;return"content"===t?this.renderContent(e):this.renderNav(e)}}Object(yo.a)(FR,"defaultProps",{meta:{}}),Object(yo.a)(FR,"defaultValue",IR);var NR=FR;var LR={getItems:()=>[{id:"main",type:"group",title:Object(an.a)("Tabs"),icon:"nc-tabs",disabled:(e,t)=>t.isInSubMenu,items:[]}]};class WR extends Ju.a{constructor(...e){super(...e),Object(yo.a)(this,"state",{visibleTag:"All"}),Object(yo.a)(this,"tags",new Set),Object(yo.a)(this,"handleAccordionActive",e=>{const{activeAccordionItem:t,handleNav:o}=this.props;t!==e&&o(e)})}static get componentId(){return"Accordion.Items"}handleFilterClick(e){e!==this.state.visibleTag&&this.setState({visibleTag:e})}getItemProps(e,t,o){const{meta:n,activeAccordionItem:a,navIcon:r,collapsible:i}=this.props,{visibleTag:l}=this.state,{tags:c=""}=e.value;let s=this.updateTags(c);const d=ra()("brz-accordion__item",s,{"brz-accordion__item--active":a===t,"brz-accordion__hidden":!("All"===l||s.includes(l))}),p={getItems:()=>[{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:Object(an.a)("Delete"),position:210,disabled:1===o.length,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}]},u=this.makeToolbarPropsFromConfig2(p);return{meta:n,className:d,activeAccordionItem:a===t,navIcon:r,collapsible:i,toolbarExtend:u,tag:s,visibleTag:this.state.visibleTag,handleAccordion:()=>{this.handleAccordionActive(t)}}}getTags(e=""){return e?e.split(",").reduce((e,t)=>{const o=t.trim();return o?[...e,o.replace(/\s/g,"-")]:e},[]):[]}updateTags(e){const t=this.getTags(e);return t.length&&t.forEach(e=>{this.tags.add(e)}),t}updateItem(e,t,o={}){super.updateItem(e,t,o),this.tags.clear(),this.updateTags(t.tag)}renderTags(){const e=["All",...this.tags],{toolbarExtendFilter:t,filterStyle:o}=this.props,n=ra()("brz-accordion__filter","brz-accordion__filter--".concat(o)),a=ra()("brz-li brz-accordion__filter__item","brz-accordion__filter__item--".concat(o));return Oo.a.createElement("div",{className:"brz-accordion__filter-wrapper"},Oo.a.createElement("ul",{className:"brz-ul ".concat(n)},e.map((e,o)=>Oo.a.createElement(Aa.c,Object(ta.a)({},t,{key:o}),Oo.a.createElement("li",{className:a,"data-filter":"All"===e?"*":e,onClick:()=>{this.handleFilterClick(e)}},e)))))}removeItem(e){const t=this.getDBValue()||[],o=Object(kn.removeAt)(t,e);this.handleAccordionActive(0),setTimeout(()=>{this.handleValueChange(o,{arrayOperation:"remove"})},0)}renderItemsContainer(e){const{className:t,style:o,enableTags:n}=this.props;return Oo.a.createElement("div",{className:t,style:o},"on"===n&&this.tags.size>0&&this.renderTags(),e)}}Object(yo.a)(WR,"defaultProps",{className:"",activeAccordionItem:0,style:{},meta:{}});var VR=WR;function DR(){return[{id:(e=>Object(rh.defaultValueKey)({key:e,state:"normal"}))("toolbarAccordion"),type:"popover",icon:"nc-toggle",title:Object(an.a)("Accordion"),position:80,options:[{id:"enableTags",label:Object(an.a)("Enable tags"),type:"switch-dev"}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}const AR=Object(an.a)("Accordion");function GR(){return[]}function UR({v:e,device:t}){const o=o=>Object(rh.defaultValueValue)({key:o,v:e,device:t}),{hex:n}=Object(sh.d)(o("bgColorHex"),o("bgColorPalette")),{hex:a}=Object(sh.d)(o("colorHex"),o("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover",icon:"nc-toggle",title:Object(an.a)("Accordion"),position:60,options:[{id:"media",type:"tabs",position:60,tabs:[{id:"accordion",label:Object(an.a)("Accordion"),options:[{id:"collapsible",label:Object(an.a)("Collapsible"),type:"switch-dev"},{id:"navIcon",label:Object(an.a)("Icon"),type:"select-dev",choices:[{value:"none",title:"None",icon:"nc-none"},{value:"thin",title:"Thin",icon:"nc-down-arrow-thin"},{value:"heavy",title:"Heavy",icon:"nc-down-arrow-heavy"},{value:"tail",title:"Tail",icon:"nc-down-arrow-tail"},{value:"filled",title:"Round",icon:"nc-down-arrow-filled"},{value:"outline",title:"Outline",icon:"nc-down-arrow-outline"}]},{id:"spacing",type:"slider-dev",label:Object(an.a)("Spacing"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"tags",label:Object(an.a)("Tags"),position:80,options:[]}]}]},{id:"popoverTypography",type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:"popoverColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],devices:"desktop",position:90,icon:{style:{backgroundColor:e.bgColorOpacity>0?Object(mn.c)(n,e.bgColorOpacity):Object(mn.c)(a,e.colorOpacity)}},options:[{id:"tabsColor",type:"tabs",value:e.tabsColor,tabs:[{id:"tabText",label:Object(an.a)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabBackground",label:Object(an.a)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev",states:[uw.c,uw.b]}]},{id:"boxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-text-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-text-align-right",title:Object(an.a)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),roles:["admin"],position:110,icon:"nc-cog",title:Object(an.a)("Settings")}]}function KR({v:e,device:t}){return[Object(ej.nc)({v:e,device:t,state:"normal"}),Object(ej.n)({v:e,device:t,state:"normal",devices:"desktop",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]})]}var qR=o(170);function YR({v:e,device:t,state:o}){const n=n=>Object(rh.defaultValueValue)({key:n,v:e,device:t,state:o}),{hex:a}=Object(sh.d)(n("bgColorHex"),n("bgColorPalette")),{hex:r}=Object(sh.d)(n("colorHex"),n("colorPalette"));return[{id:"toolbarFilter",type:"popover",icon:"nc-tags",title:Object(an.a)("Tags"),position:60,options:[Object(qR.a)({v:e,device:t,state:"normal",devices:"desktop"}),{id:"filterSpacing",type:"slider-dev",label:Object(an.a)("Spacing"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"afterFilterSpacing",type:"slider-dev",label:Object(an.a)("Content Gap"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"filter",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:"toolbarColor",type:"popover",size:"auto",devices:"desktop",title:Object(an.a)("Colors"),roles:["admin"],position:80,icon:{style:{backgroundColor:e.bgColorOpacity>0?Object(mn.c)(a,e.bgColorOpacity):Object(mn.c)(r,e.colorOpacity)}},options:[{id:"tabsColor",className:"",type:"tabs",tabs:[{id:"tabBg",label:Object(an.a)("Bg"),options:[{id:"filterBgColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabText",label:Object(an.a)("Text"),options:[{id:"filterColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"filterBorder",type:"border-dev",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"filterBoxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:"filterHorizontalAlign",type:"toggle-dev",devices:"desktop",position:100,choices:[{icon:"nc-text-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-text-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-text-align-right",title:Object(an.a)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),roles:["admin"],position:110,icon:"nc-cog",title:Object(an.a)("Settings")}]}const XR=Object(an.a)("Accordion Tags");function ZR({v:e,device:t}){return[Object(ej.oc)({v:e,device:t,prefix:"filter",state:"normal",onChangeGrouped:["onChangePaddingGrouped"],onChangeUngrouped:["onChangePaddingUngrouped"]}),Object(ej.n)({v:e,device:t,prefix:"filter",state:"normal",onChangeGrouped:["onChangeBorderRadiusGrouped"],onChangeUngrouped:["onChangeBorderRadiusUngrouped"]})]}var JR=o(429);class $R extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleNav",e=>{this.patchValue({activeAccordionItem:e})})}static get componentId(){return"Accordion"}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(qe,Ye,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:"".concat(this.constructor.componentId,"Parent")});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const n=ra()("brz-accordion",Qb(this.constructor.componentId,this.getId(),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover ":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz && .brz-accordion__item:hover":{standart:["cssStyleBoxShadow","cssStyleBorder","cssStyleBorderRadius","cssStyleColor","cssStyleBgColor"]},".brz && .brz-accordion__nav":{standart:["cssStyleElementAccordionNavAlign"]},".brz && .brz-accordion__nav .brz-span":{standart:["cssStyleElementAccordionNavTextAlign"]},".brz && .brz-accordion__nav--icon":{standart:["cssStyleElementAccordionNavIconSpacing","cssStyleElementAccordionNavIconSize"]},".brz && .brz-accordion__item:not(:last-child)":{standart:["cssStyleElementAccordionSpacing"]},".brz &&:hover .brz-accordion__content":{standart:["cssStylePaddingFourFields","cssStyleElementAccordionMarginTop"]},".brz && .brz-accordion__filter-wrapper":{standart:["cssStyleElementAccordionFilterHorizontalAlign","cssStyleElementAccordion3FontFamily","cssStyleElementAccordion3FontSize","cssStyleElementAccordion3LineHeight","cssStyleElementAccordion3FontWeight","cssStyleElementAccordion3LetterSpacing"]},".brz && .brz-accordion__filter":{standart:["cssStyleElementAccordionFilterAfterSpacing"]},".brz && .brz-accordion__filter__item ":{standart:["cssStyleElementAccordionFilterSpacing"]},".brz && .brz-accordion__filter__item:hover":{standart:["cssStyleElementAccordionFilterColor"]},".brz && .brz-accordion__filter__item--style-1:hover":{standart:["cssStyleElementAccordionFilterPaddingFourFields","cssStyleElementAccordionFilterBgColor","cssStyleElementAccordionFilterBorder","cssStyleElementAccordionFilterBorderRadius","cssStyleElementAccordionFilterShadow"]},".brz && .brz-accordion__filter--style-2:hover":{standart:["cssStyleElementAccordionFilterPaddingFourFields","cssStyleElementAccordionFilterBgColor","cssStyleElementAccordionFilterBorder","cssStyleElementAccordionFilterShadow","cssStyleElementAccordionFilterBorderRadius","cssStyleDisplayInlineFlex"]}}})}(e,t,o))),{activeAccordionItem:a,filterStyle:r,navIcon:i,collapsible:l,enableTags:c}=e,s=this.makeSubcomponentProps({className:n,filterStyle:r,activeAccordionItem:a,navIcon:i,collapsible:l,enableTags:c,bindWithKey:"items",handleNav:this.handleNav,meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(Xe,Ze,{allowExtend:!1}),toolbarExtendFilter:this.makeToolbarPropsFromConfig2(Je,$e,{allowExtend:!1})});return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(Rj,this.makeContextMenuProps(LR),Oo.a.createElement(VR,s)))}}Object(yo.a)($R,"defaultProps",{meta:{},extendParentToolbar:Do.noop}),Object(yo.a)($R,"defaultValue",JR);var QR=$R,eM=e=>({getItems:oM(e)});const tM="MacOS"===vp(),oM=e=>(t,o)=>{const n=o.getCurrentCopiedElement(),a="Row"===t[e].type,r=n&&(a||t[e].type===n.type),i=r&&(a||n.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:Object(an.a)("Copy"),helperText:()=>tM?"⌘ + C":"Ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:Object(an.a)("Paste"),helperText:()=>tM?"⌘ + V":"Ctrl + V",inactive:!r,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:Object(an.a)("Paste Styles"),inactive:!i,helperText:()=>tM?"⌘ + ⇧ + V":"Ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:Object(an.a)("Duplicate"),helperText:()=>tM?"⌘ + D":"Ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:Object(an.a)("Delete"),helperText:()=>tM?"⌘ + delete":"Delete",onChange:()=>{Object(Aa.d)(),o.removeItem(e)}}]}]};class nM extends Ju.a{constructor(...e){super(...e),Object(yo.a)(this,"handleSortableAcceptElements",e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0})}static get componentId(){return"AccordionItem.Items"}getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",title:Object(an.a)("Duplicate"),icon:"nc-duplicate",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",title:Object(an.a)("Delete"),icon:"nc-trash",position:210,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]},n=this.makeToolbarPropsFromConfig(o);return{meta:this.props.meta,toolbarExtend:n}}renderItemsContainer(e){const t=e.length?Oo.a.createElement("div",{className:this.props.className},e):null;return Oo.a.createElement(Ua,{path:this.getPath(),type:"column",acceptElements:this.handleSortableAcceptElements},t)}renderItemWrapper(e,t,o){const n=eM(o);return Oo.a.createElement(Ej,Object(ta.a)({key:t},this.makeContextMenuProps(n)),Oo.a.createElement(fr.a,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign"],id:t,onKeyDown:this.handleKeyDown},e))}}Object(yo.a)(nM,"defaultProps",{className:"",meta:{}});var aM=nM,rM=o(430);function iM(){return[{id:"toolbarCurrentShortcode",type:"popover",icon:"nc-toggle",title:Object(an.a)("Accordion"),position:60,options:[{id:"media",type:"tabs",tabs:[{id:"accordion",label:Object(an.a)("Accordion"),position:60,options:[]},{id:"tags",label:Object(an.a)("Tags"),position:80,options:[{id:"tags",type:"inputText-dev",label:Object(an.a)("Tags"),helper:{enabled:!0,content:"Enter the tags, separated by a comma (art, sport, nature, etc).",position:"top-left"},placeholder:"art, nature, etc.",devices:"desktop"}]}]}]}]}const lM=Object(an.a)("Accordion Items");function cM(){return[]}class sM extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"state",{isActive:!1}),Object(yo.a)(this,"handleClick",()=>{this.setState({isActive:!this.state.isActive})}),Object(yo.a)(this,"handleTextChange",e=>{this.patchValue({labelText:e})})}static get componentId(){return"AccordionItem"}getIcon(e,t){let o=e?"up-arrow-".concat(t):"down-arrow-".concat(t);return Oo.a.createElement("div",{className:"brz-accordion--icon-wrapper"},Oo.a.createElement(ml.a,{className:"brz-accordion__nav--icon",type:"editor",name:o}))}renderForEdit(e){const{className:t,meta:o,handleAccordion:n,activeAccordionItem:a,navIcon:r,collapsible:i,visibleTag:l,tag:c}=this.props,s=this.makeSubcomponentProps({bindWithKey:"items",className:"brz-accordion--sortable",meta:o});if("off"===i){let t=ra()("brz-accordion__item",c,{"brz-accordion__item--active":this.state.isActive,"brz-accordion__hidden":!("All"===l||c.includes(l))});return Oo.a.createElement("div",{className:t},Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Qe,et),Oo.a.createElement("div",{className:"brz-accordion__nav","data-collapsible":i,onClick:this.handleClick},Oo.a.createElement(xk.a,{value:e.labelText,onChange:this.handleTextChange}),"none"!==r&&this.getIcon(this.state.isActive,r))),Oo.a.createElement("div",{className:"brz-accordion__content"},Oo.a.createElement(aM,s)))}return Oo.a.createElement("div",{className:t},Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Qe,et),Oo.a.createElement("div",{className:"brz-accordion__nav",onClick:n,"data-collapsible":i},Oo.a.createElement(xk.a,{value:e.labelText,onChange:this.handleTextChange}),"none"!==r&&this.getIcon(a,r))),Oo.a.createElement("div",{className:"brz-accordion__content"},Oo.a.createElement(aM,s)))}}Object(yo.a)(sM,"defaultProps",{meta:{}}),Object(yo.a)(sM,"defaultValue",rM);var dM=sM;const pM="MacOS"===vp();var uM=e=>({getItems:bM(e)});const bM=e=>(t,o)=>{const n=o.getCurrentCopiedElement();return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:Object(an.a)("Copy"),helperText:()=>pM?"⌘ + C":"Ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:Object(an.a)("Paste"),helperText:()=>pM?"⌘ + V":"Ctrl + V",inactive:!n,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:Object(an.a)("Paste Styles"),helperText:()=>pM?"⌘ + ⇧ + V":"Ctrl + ⇧ + V",inactive:!n,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:Object(an.a)("Duplicate"),helperText:()=>pM?"⌘ + D":"Ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:Object(an.a)("Delete"),helperText:()=>pM?"⌘ + delete":"Delete",onChange:()=>{Object(Aa.d)(),o.removeItem(e)}}]}]};class hM extends Ju.a{static get componentId(){return"SectionFooter.Items"}getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:Object(an.a)("Delete"),position:250,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig(o)}}renderItemWrapper(e,t,o){const n=uM(o);return Oo.a.createElement(Ej,Object(ta.a)({key:t},this.makeContextMenuProps(n)),Oo.a.createElement(fr.a,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){const t=e.length?Oo.a.createElement("div",{className:this.props.className},e):null;return Oo.a.createElement(Ua,{path:this.getPath(),type:"section",acceptElements:["row","column","shortcode","addable"]},t)}}Object(yo.a)(hM,"defaultProps",{className:"",meta:{}});var mM=hM;function gM({v:e,device:t,component:o}){const n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),a=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"hover"}),r=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),{hex:i}=Object(sh.d)(n("bgColorHex"),n("bgColorPalette"));return[Object(ej.Bc)({v:e,device:t,devices:"responsive",closeTooltip:!0}),{id:r("toolbarFooter"),type:"popover",icon:"nc-footer",title:Object(an.a)("Footer"),position:70,devices:"desktop",options:[Object(ej.Bb)({device:t,component:o,devices:"desktop",state:"normal"})]},{id:r("toolbarCurrentElement"),type:"popover",icon:"nc-background",title:Object(an.a)("Background"),position:80,options:[{id:r("tabsState"),tabsPosition:"left",type:"tabs",value:n("tabsState"),tabs:[{id:r("tabNormal"),tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:r("tabsCurrentElement"),type:"tabs",value:n("tabsCurrentElement"),tabs:[{id:r("tabCurrentElement"),label:Object(an.a)("Image"),options:[Object(ej.f)({v:e,device:t,state:"normal",onChange:["onChangeBgImage","onChangeBgImageBgOpacity","onChangeBgImageDependencies"]})]}]}]},{id:r("tabHover"),tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:r("tabsCurrentElement"),type:"tabs",value:n("tabsCurrentElement"),devices:"desktop",tabs:[{id:r("tabCurrentElement"),label:Object(an.a)("Image"),options:[Object(ej.f)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBgImage","onChangeBgImageBgOpacity","onChangeBgImageDependencies"]})]}]}]}]}],onChange:(e,{isOpen:t})=>({tabsCurrentElement:t?n("tabsCurrentElement"):""})},{id:r("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),position:90,icon:{style:{backgroundColor:Object(mn.c)(i,n("bgColorOpacity"))}},options:[{id:r("tabsState"),tabsPosition:"left",type:"tabs",value:n("tabsState"),tabs:[{id:r("tabNormal"),tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:r("tabsColor"),type:"tabs",value:n("tabsColor"),tabs:[{id:r("tabOverlay"),label:Object(an.a)("Overlay"),options:[Object(ej.d)({v:e,device:t,state:"normal",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"normal",prefix:"startPointer"===n("gradientActivePointer")?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"normal",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===n("bgColorType")})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"normal",disabled:"solid"===n("bgColorType")||"radial"===n("gradientType")}),Object(ej.ac)({v:e,device:t,state:"normal",disabled:"solid"===n("bgColorType")||"linear"===n("gradientType")})]}]}]},{id:r("tabBorder"),label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"normal",onChangeStyle:["onChangeBorderStyle2","onChangeContainerBorderStyleDependencies2"],onChangeHex:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBorderColorPalette2","onChangeBorderColorPaletteOpacity2","onChangeContainerBorderColorHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"normal",onChange:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"]})]},{width:54,options:[Object(ej.o)({v:e,device:t,state:"normal",onChangeType:["onChangeBorderWidthType2"],onChangeGrouped:["onChangeBorderWidthGrouped2","onChangeBorderWidthGroupedDependencies2"],onChangeUngrouped:["onChangeBorderWidthUngrouped2","onChangeBorderWidthUngroupedDependencies2"]})]}]}]},{id:r("tabBoxShadow"),label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,state:"normal",choices:"inset",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:65,options:[Object(ej.s)({v:e,device:t,state:"normal",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:35,options:[Object(ej.Ab)({v:e,device:t,state:"normal",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]},{id:r("tabHover"),tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:r("tabsColor"),type:"tabs",value:n("tabsColor"),devices:"desktop",tabs:[{id:r("tabOverlay"),label:Object(an.a)("Overlay"),options:[Object(ej.d)({v:e,device:t,state:"hover",devices:"desktop",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"hover",devices:"desktop",prefix:"startPointer"===a("gradientActivePointer")?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"hover",devices:"desktop",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===a("bgColorType")})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"hover",devices:"desktop",disabled:"solid"===a("bgColorType")||"radial"===a("gradientType")}),Object(ej.ac)({v:e,device:t,state:"hover",devices:"desktop",disabled:"solid"===a("bgColorType")||"linear"===a("gradientType")})]}]}]},{id:r("tabBorder"),label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"hover",devices:"desktop",onChangeStyle:["onChangeBorderStyle2","onChangeContainerBorderStyleDependencies2"],onChangeHex:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBorderColorPalette2","onChangeBorderColorPaletteOpacity2","onChangeContainerBorderColorHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"]})]},{width:54,options:[Object(ej.o)({v:e,device:t,state:"hover",devices:"desktop",onChangeType:["onChangeBorderWidthType2"],onChangeGrouped:["onChangeBorderWidthGrouped2","onChangeBorderWidthGroupedDependencies2"],onChangeUngrouped:["onChangeBorderWidthUngrouped2","onChangeBorderWidthUngroupedDependencies2"]})]}]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,state:"hover",choices:"inset",devices:"desktop",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:65,options:[Object(ej.s)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:35,options:[Object(ej.Ab)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]}]}],onChange:(e,{isOpen:t})=>({tabsColor:t?n("tabsColor"):""})},Object(ej.Eb)({device:t,state:"normal",component:o,devices:"desktop"}),{id:r("toolbarSettings"),type:"popover",title:Object(an.a)("Settings"),position:110,options:[Object(ej.cb)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.Db)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.fb)({v:e,device:t,devices:"responsive",state:"normal"}),Object(ej.Mc)({v:e,device:t,devices:"desktop",state:"normal",disabled:"auto"===n("sectionHeightStyle")}),{id:r("advancedSettings"),type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),label:Object(an.a)("More Settings"),icon:"nc-cog",devices:"desktop"}]}]}const vM=Object(an.a)("Footer");function yM({v:e,device:t}){const o=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),n=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),a=Object(sh.c)("richText");return[{id:n("settingsTabs"),type:"tabs",align:"start",tabs:[{id:n("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.oc)({v:e,device:t,state:"normal"}),Object(ej.n)({v:e,device:t,state:"normal",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]}),{type:"multiPicker",picker:Object(ej.pc)({v:e,device:t,devices:"desktop",state:"normal"}),disabled:"desktop"!==t&&("none"===o("shapeTopType")&&"none"===o("shapeBottomType")),choices:{top:[Object(ej.zc)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.vc)({v:e,device:t,disabled:"none"===o("shapeTopType"),devices:"desktop",state:"normal"}),Object(ej.xc)({v:e,device:t,disabled:"none"===o("shapeTopType"),state:"normal"}),Object(ej.wc)({v:e,device:t,disabled:"none"===o("shapeTopType"),devices:"desktop",state:"normal"}),Object(ej.yc)({v:e,device:t,disabled:"none"===o("shapeTopType"),devices:"desktop",state:"normal"})],bottom:[Object(ej.uc)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.qc)({v:e,device:t,disabled:"none"===o("shapeBottomType"),devices:"desktop",state:"normal"}),Object(ej.sc)({v:e,device:t,disabled:"none"===o("shapeBottomType"),state:"normal"}),Object(ej.rc)({v:e,device:t,disabled:"none"===o("shapeBottomType"),devices:"desktop",state:"normal"}),Object(ej.tc)({v:e,device:t,disabled:"none"===o("shapeBottomType"),devices:"desktop",state:"normal"})]}}]},{id:n("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",devices:"desktop",options:[Object(ej.Ac)({v:e,device:t,devices:"desktop",closeTooltip:!0}),Object(ej.b)({v:e,device:t,devices:"desktop",state:"normal",population:a}),Object(ej.H)({v:e,device:t,devices:"desktop",state:"normal",population:a}),Object(ej.c)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.cc)({v:e,position:60,devices:"desktop"}),Object(ej.Fc)({v:e,device:t,devices:"desktop",state:"normal"})]}]}]}function fM(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleDisplayBlock","cssStyleVisibleMode|||preview","cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]}}})}var OM=o(431);function CM(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class SM extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"mounted",!1),Object(yo.a)(this,"collapsibleToolbarRef",Oo.a.createRef()),Object(yo.a)(this,"handleToolbarClose",()=>{this.mounted&&this.patchValue({tabsState:"tabNormal",tabsCurrentElement:"tabCurrentElement",tabsColor:"tabOverlay"})}),Object(yo.a)(this,"handleToolbarEscape",()=>{this.collapsibleToolbarRef.current.open()}),Object(yo.a)(this,"handlePaddingResizerChange",e=>this.patchValue(e)),Object(yo.a)(this,"getAttributes",e=>{let t=[],o=e.split(" ").join("").split(":").join(" ").split("\n").join(" ").split(" ");for(let e=0;e<o.length;e+=2)t[o[e]]=o[e+1];return Object.assign({},t)})}static get componentId(){return"SectionFooter"}componentDidMount(){this.mounted=!0}shouldComponentUpdate(e){return this.optionalSCU(e)}componentWillUnmount(){this.mounted=!1}getMeta(e){const{meta:t}=this.props,o=Dh({v:e}),n=Wh({v:e,device:"desktop"}),a=Wh({v:e,device:"tablet"}),r=Wh({v:e,device:"mobile"}),i=Qx({v:e,w:"fullWidth"===o?Sn:Cn,width:n,device:"desktop"});return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?CM(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):CM(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{tabletW:Qx({v:e,w:xn,width:a,device:"tablet"}),mobileW:Qx({v:e,w:jn,width:r,device:"mobile"}),desktopW:i})}renderToolbar(){const{globalBlockId:e}=this.props.meta;return Oo.a.createElement(Aa.a,Object(ta.a)({},this.makeToolbarPropsFromConfig2(tt,ot),{ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft",badge:Boolean(e),onClose:this.handleToolbarClose}))}renderItems(e,t,o){const n=this.getMeta(e),a=ra()(Qb("".concat(this.constructor.componentId,"-bg"),"".concat(this.getId(),"-bg"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSectionHeightStyle","cssStyleFlexVerticalAlign","cssStyleDisplayFlex"],interval:["cssStyleVisibleMode|||editor"]},".brz &&:hover > .brz-bg-media":{standart:["cssStyleBorder","cssStyleBorderRadius"]},".brz &&:hover > .brz-bg-media > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition"]},".brz &&:hover > .brz-bg-media > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"]},".brz &&:hover > .brz-bg-media > .brz-bg-shape__top":{standart:["cssStyleShapeTopType","cssStyleShapeTopHeight","cssStyleShapeTopFlip","cssStyleShapeTopIndex"]},".brz &&:hover > .brz-bg-media > .brz-bg-shape__bottom":{standart:["cssStyleShapeBottomType","cssStyleShapeBottomHeight","cssStyleShapeBottomFlip","cssStyleShapeBottomIndex"]},".brz &&:hover > .brz-bg-content":{standart:["cssStyleBoxShadowSection","cssStylePaddingPreview","cssStylePaddingRightLeftForEditor"]},".brz &&:hover > .brz-bg-content > .brz-ed-draggable__padding--top":{standart:["cssStylePaddingTopForEditorResizer"]},".brz &&:hover > .brz-bg-content > .brz-ed-draggable__padding--bottom":{standart:["cssStylePaddingBottomForEditorResizer"]}}})}(e,t,o))),r=ra()("brz-container",e.containerClassName,Qb("".concat(this.constructor.componentId,"-container"),"".concat(this.getId(),"-container"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleSectionMaxWidth"]}}})}(e,t,o))),i=ra()("brz-container__wrap",Qb("".concat(this.constructor.componentId,"-containerWrap"),"".concat(this.getId(),"-containerWrap"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSectionContainerType"]}}})}(e,t,o))),l=this.makeSubcomponentProps({bindWithKey:"items",className:r,meta:n});return Oo.a.createElement(gB,{className:a,value:e,meta:n},Oo.a.createElement(yB,{value:e,onChange:this.handlePaddingResizerChange},Oo.a.createElement("div",{className:i},Oo.a.createElement(mM,l))))}renderForEdit(e,t,o){const{className:n,customClassName:a,cssClassPopulation:r,customAttributes:i}=e,l=ra()("brz-footer",n,""===r?a:r,Qb("".concat(this.constructor.componentId,"-section"),"".concat(this.getId(),"-section"),fM(e,t,o)));return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("footer",Object(ta.a)({id:this.getId(),className:l,"data-block-id":this.props.blockId},this.getAttributes(i)),Oo.a.createElement(Ca.a,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},Oo.a.createElement(CB,{showBorder:!1,activateOnContentClick:!1},this.renderToolbar(e),Oo.a.createElement(Aa.b,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o))))))}renderForView(e,t,o){const{className:n,tagName:a,customClassName:r,cssIDPopulation:i,cssClassPopulation:l,customAttributes:c}=e,s=ra()("brz-footer",n,""===l?r:l,Qb("".concat(this.constructor.componentId,"-section"),"".concat(this.getId(),"-section"),fM(e,t,o)));return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(Db,Object(ta.a)({tagName:a,id:""===i?e.anchorName||this.getId():i,className:s,"data-uid":this.getId()},this.getAttributes(c)),this.renderItems(e,t,o)))}becomeSaved(){const{blockId:e}=this.props,t=this.getDBValue();(0,Object(Lo.b)().dispatch)(Object(Uo.F)({id:Object(gl.a)(),data:{type:this.constructor.componentId,blockId:e,value:t},meta:{sourceBlockId:this.getId()}}))}becomeGlobal(){const{blockId:e,onChange:t}=this.props,o=this.getDBValue(),n=Object(gl.a)();(0,Object(Lo.b)().dispatch)(Object(Uo.E)({id:n,data:{type:this.constructor.componentId,blockId:e,value:o},meta:{sourceBlockId:this.getId()}})),t({type:"GlobalBlock",blockId:e,value:{_id:this.getId(),globalBlockId:n}},{intent:"replace_all",idOptions:{keepExistingIds:!0}})}becomeNormal(){const{meta:{globalBlockId:e},onChange:t}=this.props,o=Object(nn.h)(Object(Lo.b)().getState()),n=Object(Xa.m)(o[e]).data;n.value._id=this.getId(),t(n,{intent:"replace_all",idOptions:{keepExistingIds:!0}})}}Object(yo.a)(SM,"defaultProps",{meta:{}}),Object(yo.a)(SM,"defaultValue",OM);var xM=SM;function jM(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function BM(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?jM(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):jM(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class PM extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleComponentChange",(e,t)=>{if("replace_all"===t.intent)this.props.onChange(e,t);else{const{globalBlocks:o}=this.props,{globalBlockId:n}=this.getDBValue(),a=BM({},o[n].data,{value:e});this.props.reduxDispatch(Object(Sa.b)({id:n,data:a,meta:BM({},t,{sourceBlockId:this.getId()})}))}})}static get componentId(){return"GlobalBlock"}shouldComponentUpdate(e){const{globalBlockId:t}=this.getDBValue();return e.globalBlocks[t].data.value!==this.props.globalBlocks[t].data.value||this.optionalSCU(e)}renderForEdit(e){const{globalBlockId:t}=e,{globalBlocks:o}=this.props,n=o[t].data,{type:a,value:r}=n,i=Object(ca.a)(n,["type","value"]),l=zo.a.getComponent(a),c=BM({},this.props.meta,{globalBlockId:t});if(l)return Oo.a.createElement(l,Object(ta.a)({},this.props,i,{_id:this.getId(),path:this.getPath(),meta:c,dbValue:r,toolbarExtend:this.props.toolbarExtend,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:this.handleComponentChange}));{const e=zo.a.getNotFoundComponent();return Oo.a.createElement(e,{path:this.getPath(),meta:c,dbValue:r,toolbarExtend:this.props.toolbarExtend,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:this.handleComponentChange,componentId:a})}}}Object(yo.a)(PM,"defaultProps",{meta:{}}),Object(yo.a)(PM,"defaultValue",{});var wM=Object(xo.b)(e=>({globalBlocks:Object(nn.h)(e)}))(PM);const TM={events:["load","scroll"],listeners:[],framePending:!1,addEvents:function(){var e=this;this.notifyListeners=this.notifyListeners.bind(this),this.events.forEach((function(t){window.addEventListener(t,e.notifyListeners)}))},removeEvents:function(){var e=this;this.events.forEach((function(t){window.removeEventListener(t,e.notifyListeners)}))},addListener:function(e){0===this.listeners.length&&this.addEvents(),this.listeners.push(e)},removeListener:function(e){this.listeners.splice(this.listeners.indexOf(e),1),0===this.listeners.length&&this.removeEvents()},notifyListeners:function(){if(!this.framePending){var e=this;requestAnimationFrame((function(){e.framePending=!1,e.listeners.forEach((function(e){e()}))})),this.framePending=!0}}};class zM extends Oo.a.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{isSticky:!1}),Object(yo.a)(this,"refNode",null),Object(yo.a)(this,"handleChange",()=>{this.props.onChange(this.state.isSticky)}),Object(yo.a)(this,"checkSticky",()=>{const{refSelector:e,type:t}=this.props;this.refNode||(this.refNode=document.querySelector(e));const o=this.refNode.getBoundingClientRect(),n="animated"===t?-o.top>=o.height:o.top<=0;n!==this.state.isSticky&&this.setState({isSticky:n},this.handleChange)})}componentDidMount(){TM.addListener(this.checkSticky),this.checkSticky()}componentWillUnmount(){this.refNode=null,TM.removeListener(this.checkSticky)}render(){return this.props.render(this.state.isSticky)}}Object(yo.a)(zM,"defaultProps",{refSelector:"",type:"animated",render:()=>null,onChange:()=>null});class kM extends Oo.a.Component{render(){const{children:e,zindex:t}=this.props;return Oo.a.cloneElement(Oo.a.Children.only(e),{"data-sortable-zindex":t})}}Object(yo.a)(kM,"defaultProps",{zindex:0});var EM=kM,HM=o(432);function _M({v:e,device:t,component:o}){return[Object(ej.Bc)({v:e,device:t,devices:"responsive",closeTooltip:!0}),{id:(e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}))("toolbarSticky"),type:"popover",icon:"nc-sticky-menu",title:Object(an.a)("Menu"),devices:"desktop",position:10,options:[Object(ej.Cb)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.Bb)({device:t,component:o,state:"normal",devices:"desktop"})]},Object(ej.Eb)({device:t,state:"normal",component:o,devices:"desktop"})]}function RM({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),n=Object(sh.c)("richText");return[{id:o("settingsTabs"),type:"tabs",align:"start",devices:"desktop",tabs:[{id:o("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",devices:"desktop",options:[Object(ej.Ac)({v:e,device:t,devices:"desktop",closeTooltip:!0}),Object(ej.b)({v:e,device:t,devices:"desktop",state:"normal",population:n}),Object(ej.H)({v:e,device:t,devices:"desktop",state:"normal",population:n}),Object(ej.c)({v:e,device:t,devices:"desktop",state:"normal"})]}]}]}function MM(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleDisplayBlock","cssStyleVisibleMode|||preview","cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]},".brz &&:hover .brz-container__wrap":{interval:["cssStyleVisibleMode|||editor"]}}})}const IM=1,FM=({fixed:e=!1,node:t=null,height:o=0})=>{const n=hn()(t).siblings(".brz-ed-container-plus");e?n.addClass("brz-ed-container-plus--fixed").css({top:"".concat(o,"px")}):n.removeClass("brz-ed-container-plus--fixed").css({top:"auto"})};class NM extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"state",{height:"auto"}),Object(yo.a)(this,"isSticky",!1),Object(yo.a)(this,"isUpdated",!1),Object(yo.a)(this,"sectionNode",Oo.a.createRef()),Object(yo.a)(this,"stickyNode",Oo.a.createRef()),Object(yo.a)(this,"handleStickyChange",e=>{Object(Aa.d)();const t=Object(Ki.b)();t&&t.hide(),"fixed"===this.getValue().type?(FM({fixed:e,node:this.sectionNode.current,height:this.state.height}),this.isSticky=e,this.forceUpdate()):this.isSticky=!1}),Object(yo.a)(this,"handleUpdateHeight",()=>{const{height:e}=this.stickyNode.current.getBoundingClientRect();FM({fixed:this.isSticky,node:this.sectionNode.current,height:e}),e!==this.state.height&&this.setState({height:e})}),Object(yo.a)(this,"getAttributes",e=>{let t=[],o=e.split(" ").join("").split(":").join(" ").split("\n").join(" ").split(" ");for(let e=0;e<o.length;e+=2)t[o[e]]=o[e+1];return Object.assign({},t)})}static get componentId(){return"SectionHeader"}getMeta(e){const{showOnDesktop:t,showOnMobile:o,showOnTablet:n}=e;return Object.assign({},this.props.meta,{section:{showOnDesktop:"on"===t,showOnMobile:"on"===o,showOnTablet:"on"===n}})}shouldComponentUpdate(e,t){return this.state.height!==t.height||this.optionalSCU(e)}componentDidUpdate(){if(this.isUpdated)return;const{type:e}=this.getValue();"fixed"!==e&&FM({fixed:!1,node:this.sectionNode.current})}handleValueChange(e,t){t.patch.type&&"fixed"!==t.patch.type&&(this.isUpdated=!0,this.setState({height:"auto"},()=>this.isUpdated=!1)),this.props.onChange(e,t)}getStyle(e){return"fixed"===e.type?{height:this.state.height}:null}renderAnimated({v:e,vs:t,vd:o}){let n=Oo.a.createElement(zM,{refSelector:"#".concat(this.getId()),type:"animated",render:n=>this.renderAnimatedSticky({v:e,vs:t,vd:o,isSticky:n}),onChange:this.handleStickyChange});{const e=document.getElementById("brz-ed-root");n=Oo.a.createElement(_l.a,{node:e,className:"brz-ed-portal-section-header__sticky"},n)}return Oo.a.createElement(Oo.a.Fragment,null,n,this.renderStatic({v:e}))}renderAnimatedSticky({v:e,vs:t,vd:o,isSticky:n}){const a=ra()("brz-section__header--animated",{"brz-section__header--animated-closed":!n},{"brz-section__header--animated-opened":n},Qb("".concat(this.constructor.componentId),"".concat(this.getId()),MM(e,t,o))),r=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:IM,itemProps:{toolbarExtend:this.makeToolbarPropsFromConfig2(nt,at),meta:this.getMeta(e)}});return Oo.a.createElement(EM,{zindex:1},Oo.a.createElement("div",{className:a},Oo.a.createElement(Aa.b,{position:"fixed"},Oo.a.createElement(Ju.a,r))))}renderFixed({v:e}){return Oo.a.createElement(zM,{refSelector:"#".concat(this.getId()),type:"fixed",render:t=>this.renderFixedSticky({v:e,isSticky:t}),onChange:this.handleStickyChange})}renderFixedSticky({v:e,isSticky:t}){const o=ra()("brz-section__header--fixed",{"brz-section__header--fixed-opened":t}),n=t?"fixed":"absolute";return Oo.a.createElement(EM,{zindex:1},Oo.a.createElement("div",{className:o,ref:this.stickyNode},Oo.a.createElement(Aa.b,{position:n},this.renderStatic({v:e})),Oo.a.createElement(Yj.a,{onResize:this.handleUpdateHeight})))}renderStatic({v:e}){const t=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:IM,itemProps:{toolbarExtend:this.makeToolbarPropsFromConfig2(nt,at),meta:this.getMeta(e)}});return Oo.a.createElement(Ju.a,t)}renderForEdit(e,t,o){const{className:n,customClassName:a,cssClassPopulation:r,customAttributes:i}=e,l=ra()("brz-section brz-section__header",n,""===r?a:r,Qb("".concat(this.constructor.componentId),"".concat(this.getId()),MM(e,t,o)));return Oo.a.createElement("section",Object(ta.a)({id:this.getId(),className:l,style:this.getStyle(e),ref:this.sectionNode},this.getAttributes(i)),this["render".concat(Object(As.c)(e.type))]({v:e,vs:t,vd:o}))}renderForView(e,t,o){const{className:n,customClassName:a,cssIDPopulation:r,cssClassPopulation:i,customAttributes:l}=e,c=ra()("brz-section brz-section__header",n,""===i?a:i,Qb("".concat(this.constructor.componentId),"".concat(this.getId()),MM(e,t,o)));return Oo.a.createElement("section",Object(ta.a)({id:""===r?e.anchorName||this.getId():r,className:c,"data-uid":this.getId()},this.getAttributes(l)),this["render".concat(Object(As.c)(e.type))]({v:e,vs:t,vd:o}))}becomeSaved(){const{blockId:e}=this.props,t=this.getDBValue();(0,Object(Lo.b)().dispatch)(Object(Uo.F)({id:Object(gl.a)(),data:{type:this.constructor.componentId,blockId:e,value:t},meta:{sourceBlockId:this.getId()}}))}becomeGlobal(){const{blockId:e,onChange:t}=this.props,o=this.getDBValue(),n=Object(gl.a)();(0,Object(Lo.b)().dispatch)(Object(Uo.E)({id:n,data:{type:this.constructor.componentId,blockId:e,value:o},meta:{sourceBlockId:this.getId()}})),t({type:"GlobalBlock",blockId:e,value:{_id:this.getId(),globalBlockId:n}},{intent:"replace_all",idOptions:{keepExistingIds:!0}})}becomeNormal(){const{meta:{globalBlockId:e},onChange:t}=this.props,o=Object(nn.h)(Object(Lo.b)().getState()),n=Object(Xa.m)(o[e]).data;n.value._id=this.getId(),t(n,{intent:"replace_all",idOptions:{keepExistingIds:!0}})}}Object(yo.a)(NM,"defaultProps",{meta:{}}),Object(yo.a)(NM,"defaultValue",HM);var LM=NM;const WM="MacOS"===vp();var VM=e=>({getItems:DM(e)});const DM=e=>(t,o)=>{const n=o.getCurrentCopiedElement();return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:Object(an.a)("Copy"),helperText:()=>WM?"⌘ + C":"Ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:Object(an.a)("Paste"),helperText:()=>WM?"⌘ + V":"Ctrl + V",inactive:!n,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:Object(an.a)("Paste Styles"),helperText:()=>WM?"⌘ + ⇧ + V":"Ctrl + ⇧ + V",inactive:!n,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:Object(an.a)("Duplicate"),helperText:()=>WM?"⌘ + D":"Ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:Object(an.a)("Delete"),helperText:()=>WM?"⌘ + delete":"Delete",onChange:()=>{Object(Aa.d)(),o.removeItem(e)}}]}]};class AM extends Ju.a{static get componentId(){return"SectionHeaderItem.Items"}getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:Object(an.a)("Delete"),position:250,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig(o)}}renderItemWrapper(e,t,o){const n=VM(o);return Oo.a.createElement(Ej,Object(ta.a)({key:t},this.makeContextMenuProps(n)),Oo.a.createElement(fr.a,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){const t=e.length?Oo.a.createElement("div",{className:this.props.className},e):null;return Oo.a.createElement(Ua,{path:this.getPath(),type:"section",acceptElements:["row","column","shortcode","addable"]},t)}}Object(yo.a)(AM,"defaultProps",{className:"",meta:{}});var GM=AM;function UM({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),a=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"hover"}),{hex:r}=Object(sh.d)(n("bgColorHex"),n("bgColorPalette"));return[{id:o("toolbarCurrentElement"),type:"popover",icon:"nc-background",title:Object(an.a)("Background"),position:20,options:[{id:o("tabsState"),tabsPosition:"left",type:"tabs",value:n("tabsState"),tabs:[{id:o("tabNormal"),tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:o("tabsCurrentElement"),type:"tabs",value:n("tabsCurrentElement"),tabs:[{id:o("tabCurrentElement"),label:Object(an.a)("Image"),options:[Object(ej.f)({v:e,device:t,state:"normal",onChange:["onChangeBgImage","onChangeBgImageBgOpacity","onChangeBgImageDependencies"]})]}]}]},{id:o("tabHover"),tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:o("tabsCurrentElement"),type:"tabs",value:n("tabsCurrentElement"),devices:"desktop",tabs:[{id:o("tabCurrentElement"),label:Object(an.a)("Image"),options:[Object(ej.f)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBgImage","onChangeBgImageBgOpacity","onChangeBgImageDependencies"]})]}]}]}]}],onChange:(e,{isOpen:t})=>({tabsCurrentElement:t?n("tabsCurrentElement"):""})},{id:o("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),position:30,icon:{style:{backgroundColor:Object(mn.c)(r,n("bgColorOpacity"))}},options:[{id:o("tabsState"),tabsPosition:"left",type:"tabs",value:n("tabsState"),tabs:[{id:o("tabNormal"),tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:o("tabsColor"),type:"tabs",value:n("tabsColor"),tabs:[{id:o("tabOverlay"),label:Object(an.a)("Overlay"),options:[Object(ej.d)({v:e,device:t,state:"normal",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"normal",prefix:"startPointer"===n("gradientActivePointer")?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"normal",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===n("bgColorType")})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"normal",disabled:"solid"===n("bgColorType")||"radial"===n("gradientType")}),Object(ej.ac)({v:e,device:t,state:"normal",disabled:"solid"===n("bgColorType")||"linear"===n("gradientType")})]}]}]},{id:o("tabBorder"),label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"normal",onChangeStyle:["onChangeBorderStyle2","onChangeContainerBorderStyleDependencies2"],onChangeHex:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBorderColorPalette2","onChangeBorderColorPaletteOpacity2","onChangeContainerBorderColorHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"normal",onChange:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"]})]},{width:54,options:[Object(ej.o)({v:e,device:t,state:"normal",onChangeType:["onChangeBorderWidthType2"],onChangeGrouped:["onChangeBorderWidthGrouped2","onChangeBorderWidthGroupedDependencies2"],onChangeUngrouped:["onChangeBorderWidthUngrouped2","onChangeBorderWidthUngroupedDependencies2"]})]}]}]},{id:o("tabBoxShadow"),label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,state:"normal",choices:"inset",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:65,options:[Object(ej.s)({v:e,device:t,state:"normal",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:35,options:[Object(ej.Ab)({v:e,device:t,state:"normal",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]},{id:o("tabHover"),tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:o("tabsColor"),type:"tabs",value:n("tabsColor"),devices:"desktop",tabs:[{id:o("tabOverlay"),label:Object(an.a)("Overlay"),options:[Object(ej.d)({v:e,device:t,state:"hover",devices:"desktop",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"hover",devices:"desktop",prefix:"startPointer"===a("gradientActivePointer")?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"hover",devices:"desktop",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===a("bgColorType")})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"hover",devices:"desktop",disabled:"solid"===a("bgColorType")||"radial"===a("gradientType")}),Object(ej.ac)({v:e,device:t,state:"hover",devices:"desktop",disabled:"solid"===a("bgColorType")||"linear"===a("gradientType")})]}]}]},{id:o("tabBorder"),label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"hover",devices:"desktop",onChangeStyle:["onChangeBorderStyle2","onChangeContainerBorderStyleDependencies2"],onChangeHex:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBorderColorPalette2","onChangeBorderColorPaletteOpacity2","onChangeContainerBorderColorHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"]})]},{width:54,options:[Object(ej.o)({v:e,device:t,state:"hover",devices:"desktop",onChangeType:["onChangeBorderWidthType2"],onChangeGrouped:["onChangeBorderWidthGrouped2","onChangeBorderWidthGroupedDependencies2"],onChangeUngrouped:["onChangeBorderWidthUngrouped2","onChangeBorderWidthUngroupedDependencies2"]})]}]}]},{id:o("tabBoxShadow"),label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,state:"hover",devices:"desktop",choices:"inset",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:65,options:[Object(ej.s)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:35,options:[Object(ej.Ab)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]}]}],onChange:(e,{isOpen:t})=>({tabsColor:t?n("tabsColor"):""})},{id:o("toolbarSettings"),type:"popover",title:Object(an.a)("Settings"),position:110,options:[Object(ej.cb)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.fb)({v:e,device:t,devices:"responsive",state:"normal"}),{id:o("advancedSettings"),type:"advancedSettings",devices:"desktop",sidebarLabel:Object(an.a)("More Settings"),label:Object(an.a)("More Settings"),icon:"nc-cog",position:30}]}]}const KM=Object(an.a)("Header");function qM({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"});return[{id:o("settingsTabs"),type:"tabs",align:"start",tabs:[{id:o("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.oc)({v:e,device:t,state:"normal"}),Object(ej.n)({v:e,device:t,state:"normal",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]}),{type:"multiPicker",picker:Object(ej.pc)({v:e,device:t,state:"normal"}),disabled:"desktop"!==t&&("none"===n("shapeTopType")&&"none"===n("shapeBottomType")),choices:{top:[Object(ej.zc)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.vc)({v:e,device:t,disabled:"none"===n("shapeTopType"),devices:"desktop",state:"normal"}),Object(ej.xc)({v:e,device:t,disabled:"none"===n("shapeTopType"),state:"normal"}),Object(ej.wc)({v:e,device:t,disabled:"none"===n("shapeTopType"),devices:"desktop",state:"normal"}),Object(ej.yc)({v:e,device:t,disabled:"none"===n("shapeTopType"),devices:"desktop",state:"normal"})],bottom:[Object(ej.uc)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.qc)({v:e,device:t,disabled:"none"===n("shapeBottomType"),devices:"desktop",state:"normal"}),Object(ej.sc)({v:e,device:t,disabled:"none"===n("shapeBottomType"),state:"normal"}),Object(ej.rc)({v:e,device:t,disabled:"none"===n("shapeBottomType"),devices:"desktop",state:"normal"}),Object(ej.tc)({v:e,device:t,disabled:"none"===n("shapeBottomType"),devices:"desktop",state:"normal"})]}}]},{id:o("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",devices:"desktop",options:[Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop"})]}]}]}var YM=o(433);function XM(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class ZM extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"mounted",!1),Object(yo.a)(this,"collapsibleToolbarRef",Oo.a.createRef()),Object(yo.a)(this,"handleToolbarClose",()=>{this.mounted&&this.patchValue({tabsState:"tabNormal",tabsCurrentElement:"tabCurrentElement",tabsColor:"tabOverlay"})}),Object(yo.a)(this,"handleToolbarEscape",()=>{this.collapsibleToolbarRef.current.open()}),Object(yo.a)(this,"handlePaddingResizerChange",e=>this.patchValue(e))}static get componentId(){return"SectionHeaderItem"}componentDidMount(){this.mounted=!0}shouldMetaUpdate(e){const{meta:{section:{showOnDesktop:t,showOnMobile:o,showOnTablet:n}}}=this.props,{meta:{section:{showOnDesktop:a,showOnMobile:r,showOnTablet:i}}}=e,{deviceMode:l}=Object(Lo.b)().getState().ui;return"desktop"===l&&t!==a||"mobile"===l&&o!==r||"tablet"===l&&n!==i}shouldComponentUpdate(e){return this.shouldMetaUpdate(e)||this.optionalSCU(e)}componentWillUnmount(){this.mounted=!1}getMeta(e){const{meta:t}=this.props,o=Dh({v:e}),n=Wh({v:e,device:"desktop"}),a=Wh({v:e,device:"tablet"}),r=Wh({v:e,device:"mobile"});return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?XM(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):XM(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{desktopW:Qx({v:e,w:"fullWidth"===o?Sn:Cn,width:n,device:"desktop"}),tabletW:Qx({v:e,w:xn,width:a,device:"tablet"}),mobileW:Qx({v:e,w:jn,width:r,device:"mobile"})})}getSectionClassName(e){const{className:t}=e;return ra()("brz-section__menu-item",t)}renderToolbar(){const{globalBlockId:e}=this.props.meta;return Oo.a.createElement(Aa.a,Object(ta.a)({},this.makeToolbarPropsFromConfig2(rt,it),{ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft",badge:Boolean(e),onClose:this.handleToolbarClose}))}renderItems(e,t,o){const n=this.getMeta(e),a=ra()(Qb("".concat(this.constructor.componentId,"-bg"),"".concat(this.getId(),"-bg"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover > .brz-bg-media":{standart:["cssStyleBorder","cssStyleBorderRadius"]},".brz &&:hover > .brz-bg-media > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition"]},".brz &&:hover > .brz-bg-media > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"]},".brz &&:hover > .brz-bg-media > .brz-bg-shape__top":{standart:["cssStyleShapeTopType","cssStyleShapeTopHeight","cssStyleShapeTopFlip","cssStyleShapeTopIndex"]},".brz &&:hover > .brz-bg-media > .brz-bg-shape__bottom":{standart:["cssStyleShapeBottomType","cssStyleShapeBottomHeight","cssStyleShapeBottomFlip","cssStyleShapeBottomIndex"]},".brz &&:hover > .brz-bg-content":{standart:["cssStyleBoxShadowSection","cssStylePaddingPreview","cssStylePaddingRightLeftForEditor"]},".brz &&:hover > .brz-bg-content > .brz-ed-draggable__padding--top":{standart:["cssStylePaddingTopForEditorResizer"]},".brz &&:hover > .brz-bg-content > .brz-ed-draggable__padding--bottom":{standart:["cssStylePaddingBottomForEditorResizer"]}}})}(e,t,o))),r=ra()("brz-container",e.containerClassName,Qb("".concat(this.constructor.componentId,"-container"),"".concat(this.getId(),"-container"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleSectionMaxWidth"]}}})}(e,t,o))),i=ra()("brz-container__wrap",Qb("".concat(this.constructor.componentId,"-containerWrap"),"".concat(this.getId(),"-containerWrap"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleSectionContainerType"]}}})}(e,t,o))),l=this.makeSubcomponentProps({bindWithKey:"items",className:r,meta:n});return Oo.a.createElement(gB,{className:a,value:e,meta:n},Oo.a.createElement(yB,{value:e,onChange:this.handlePaddingResizerChange},Oo.a.createElement("div",{className:i},Oo.a.createElement(GM,l))))}renderForEdit(e,t,o){return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:this.getSectionClassName(e)},Oo.a.createElement(Ca.a,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},Oo.a.createElement(CB,{showBorder:!1,activateOnContentClick:!1},this.renderToolbar(),Oo.a.createElement(Aa.b,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o))))))}renderForView(e,t,o){return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:this.getSectionClassName(e)},this.renderItems(e,t,o)))}}Object(yo.a)(ZM,"defaultProps",{meta:{}}),Object(yo.a)(ZM,"defaultValue",YM);var JM=ZM;const $M="MacOS"===vp();var QM=e=>({getItems:eI(e)});const eI=e=>(t,o)=>{const n=o.getCurrentCopiedElement();return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:Object(an.a)("Copy"),helperText:()=>$M?"⌘ + C":"Ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:Object(an.a)("Paste"),helperText:()=>$M?"⌘ + V":"Ctrl + V",inactive:!n,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:Object(an.a)("Paste Styles"),helperText:()=>$M?"⌘ + ⇧ + V":"Ctrl + ⇧ + V",inactive:!n,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:Object(an.a)("Duplicate"),helperText:()=>$M?"⌘ + D":"Ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:Object(an.a)("Delete"),helperText:()=>$M?"⌘ + delete":"Delete",onChange:()=>{Object(Aa.d)(),o.removeItem(e)}}]}]};class tI extends Ju.a{static get componentId(){return"SectionHeaderStickyItemItems.Items"}getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:Object(an.a)("Delete"),position:250,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig(o)}}renderItemWrapper(e,t,o){const n=QM(o);return Oo.a.createElement(Ej,Object(ta.a)({key:t},this.makeContextMenuProps(n)),Oo.a.createElement(fr.a,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){const t=e.length?Oo.a.createElement("div",{className:this.props.className},e):null;return Oo.a.createElement(Ua,{path:this.getPath(),type:"section",acceptElements:["row","column","shortcode","addable"]},t)}}Object(yo.a)(tI,"defaultProps",{className:"",meta:{}});var oI=tI;function nI({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),a=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"hover"}),{hex:r}=Object(sh.d)(n("bgColorHex"),n("bgColorPalette"));return[{id:o("toolbarCurrentElement"),type:"popover",icon:"nc-background",title:Object(an.a)("Background"),position:20,options:[{id:o("tabsState"),tabsPosition:"left",type:"tabs",value:n("tabsState"),tabs:[{id:o("tabNormal"),tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:o("tabsCurrentElement"),type:"tabs",value:n("tabsCurrentElement"),tabs:[{id:o("tabCurrentElement"),label:Object(an.a)("Image"),options:[Object(ej.f)({v:e,device:t,state:"normal",onChange:["onChangeBgImage","onChangeBgImageBgOpacity","onChangeBgImageDependencies"]})]}]}]},{id:o("tabHover"),tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:o("tabsCurrentElement"),type:"tabs",value:n("tabsCurrentElement"),devices:"desktop",tabs:[{id:o("tabCurrentElement"),label:Object(an.a)("Image"),options:[Object(ej.f)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBgImage","onChangeBgImageBgOpacity","onChangeBgImageDependencies"]})]}]}]}]}],onChange:(e,{isOpen:t})=>({tabsCurrentElement:t?n("tabsCurrentElement"):""})},{id:o("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),position:30,icon:{style:{backgroundColor:Object(mn.c)(r,n("bgColorOpacity"))}},options:[{id:o("tabsState"),tabsPosition:"left",type:"tabs",value:n("tabsState"),tabs:[{id:o("tabNormal"),tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:o("tabsColor"),type:"tabs",value:n("tabsColor"),tabs:[{id:o("tabOverlay"),label:Object(an.a)("Overlay"),options:[Object(ej.d)({v:e,device:t,state:"normal",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"normal",prefix:"startPointer"===n("gradientActivePointer")?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"normal",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===n("bgColorType")})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"normal",disabled:"solid"===n("bgColorType")||"radial"===n("gradientType")}),Object(ej.ac)({v:e,device:t,state:"normal",disabled:"solid"===n("bgColorType")||"linear"===n("gradientType")})]}]}]},{id:o("tabBorder"),label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"normal",onChangeStyle:["onChangeBorderStyle2","onChangeContainerBorderStyleDependencies2"],onChangeHex:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBorderColorPalette2","onChangeBorderColorPaletteOpacity2","onChangeContainerBorderColorHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"normal",onChange:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"]})]},{width:54,options:[Object(ej.o)({v:e,device:t,state:"normal",onChangeType:["onChangeBorderWidthType2"],onChangeGrouped:["onChangeBorderWidthGrouped2","onChangeBorderWidthGroupedDependencies2"],onChangeUngrouped:["onChangeBorderWidthUngrouped2","onChangeBorderWidthUngroupedDependencies2"]})]}]}]},{id:o("tabBoxShadow"),label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,state:"normal",choices:"inset",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:65,options:[Object(ej.s)({v:e,device:t,state:"normal",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:35,options:[Object(ej.Ab)({v:e,device:t,state:"normal",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]},{id:o("tabHover"),tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:o("tabsColor"),type:"tabs",value:n("tabsColor"),devices:"desktop",tabs:[{id:"tabOverlay",label:Object(an.a)("Overlay"),options:[Object(ej.d)({v:e,device:t,state:"hover",devices:"desktop",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"hover",devices:"desktop",prefix:"startPointer"===a("gradientActivePointer")?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"hover",devices:"desktop",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===a("bgColorType")})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"hover",devices:"desktop",disabled:"solid"===a("bgColorType")||"radial"===a("gradientType")}),Object(ej.ac)({v:e,device:t,state:"hover",devices:"desktop",disabled:"solid"===a("bgColorType")||"linear"===a("gradientType")})]}]}]},{id:o("tabBorder"),label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"hover",devices:"desktop",onChangeStyle:["onChangeBorderStyle2","onChangeContainerBorderStyleDependencies2"],onChangeHex:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBorderColorPalette2","onChangeBorderColorPaletteOpacity2","onChangeContainerBorderColorHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBorderColorHexAndOpacity2","onChangeBorderColorHexAndOpacityPalette2","onChangeContainerBorderColorHexAndOpacityDependencies2"]})]},{width:54,options:[Object(ej.o)({v:e,device:t,state:"hover",devices:"desktop",onChangeType:["onChangeBorderWidthType2"],onChangeGrouped:["onChangeBorderWidthGrouped2","onChangeBorderWidthGroupedDependencies2"],onChangeUngrouped:["onChangeBorderWidthUngrouped2","onChangeBorderWidthUngroupedDependencies2"]})]}]}]},{id:o("tabBoxShadow"),label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,state:"hover",devices:"desktop",choices:"inset",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:65,options:[Object(ej.s)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:35,options:[Object(ej.Ab)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]}]}],onChange:(e,{isOpen:t})=>({tabsColor:t?n("tabsColor"):""})},{id:o("toolbarSettings"),type:"popover",title:Object(an.a)("Settings"),position:110,options:[Object(ej.cb)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.fb)({v:e,device:t,devices:"responsive",state:"normal"}),{id:o("advancedSettings"),type:"advancedSettings",devices:"desktop",sidebarLabel:Object(an.a)("More Settings"),label:Object(an.a)("More Settings"),icon:"nc-cog",position:30}]}]}const aI=Object(an.a)("Header");function rI({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"});return[{id:o("settingsTabs"),type:"tabs",align:"start",tabs:[{id:o("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.oc)({v:e,device:t,state:"normal"}),Object(ej.n)({v:e,device:t,onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]}),{type:"multiPicker",picker:Object(ej.pc)({v:e,device:t,state:"normal"}),disabled:"desktop"!==t&&("none"===n("shapeTopType")&&"none"===n("shapeBottomType")),choices:{top:[Object(ej.zc)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.vc)({v:e,device:t,disabled:"none"===n("shapeTopType"),devices:"desktop",state:"normal"}),Object(ej.xc)({v:e,device:t,disabled:"none"===n("shapeTopType"),state:"normal"}),Object(ej.wc)({v:e,device:t,disabled:"none"===n("shapeTopType"),devices:"desktop",state:"normal"}),Object(ej.yc)({v:e,device:t,disabled:"none"===n("shapeTopType"),devices:"desktop",state:"normal"})],bottom:[Object(ej.uc)({v:e,device:t,devices:"desktop",state:"normal"}),Object(ej.qc)({v:e,device:t,disabled:"none"===n("shapeBottomType"),devices:"desktop",state:"normal"}),Object(ej.sc)({v:e,device:t,disabled:"none"===n("shapeBottomType"),state:"normal"}),Object(ej.rc)({v:e,device:t,disabled:"none"===n("shapeBottomType"),devices:"desktop",state:"normal"}),Object(ej.tc)({v:e,device:t,disabled:"none"===n("shapeBottomType"),devices:"desktop",state:"normal"})]}}]},{id:o("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",devices:"desktop",options:[Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop"})]}]}]}var iI=o(434);function lI(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class cI extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"mounted",!1),Object(yo.a)(this,"collapsibleToolbarRef",Oo.a.createRef()),Object(yo.a)(this,"handleToolbarClose",()=>{this.mounted&&this.patchValue({tabsState:"tabNormal",tabsCurrentElement:"tabCurrentElement",tabsColor:"tabOverlay"})}),Object(yo.a)(this,"handleToolbarEscape",()=>{this.collapsibleToolbarRef.current.open()}),Object(yo.a)(this,"handlePaddingResizerChange",e=>this.patchValue(e))}static get componentId(){return"SectionHeaderStickyItem"}shouldMetaUpdate(e){const{meta:{section:{showOnDesktop:t,showOnMobile:o,showOnTablet:n}}}=this.props,{meta:{section:{showOnDesktop:a,showOnMobile:r,showOnTablet:i}}}=e,{deviceMode:l}=Object(Lo.b)().getState().ui;return"desktop"===l&&t!==a||"mobile"===l&&o!==r||"tablet"===l&&n!==i}componentDidMount(){this.mounted=!0}shouldComponentUpdate(e){return this.shouldMetaUpdate(e)||this.optionalSCU(e)}componentWillUnmount(){this.mounted=!1}getMeta(e){const{meta:t}=this.props,o=Dh({v:e}),n=Wh({v:e,device:"desktop"}),a=Wh({v:e,device:"tablet"}),r=Wh({v:e,device:"mobile"}),i=Qx({v:e,w:"fullWidth"===o?Sn:Cn,width:n,device:"desktop"});return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?lI(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):lI(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{tabletW:Qx({v:e,w:xn,width:a,device:"tablet"}),mobileW:Qx({v:e,w:jn,width:r,device:"mobile"}),desktopW:i})}renderToolbar(){const{globalBlockId:e}=this.props.meta;return Oo.a.createElement(Aa.a,Object(ta.a)({},this.makeToolbarPropsFromConfig2(lt,ct),{ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft",badge:Boolean(e),onClose:this.handleToolbarClose}))}renderItems(e,t,o){const n=this.getMeta(e),a=ra()(Qb("".concat(this.constructor.componentId,"-bg"),"".concat(this.getId(),"-bg"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover > .brz-bg-media":{standart:["cssStyleBorder","cssStyleBorderRadius"]},".brz &&:hover > .brz-bg-media > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition"]},".brz &&:hover > .brz-bg-media > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"]},".brz &&:hover > .brz-bg-media > .brz-bg-shape__top":{standart:["cssStyleShapeTopType","cssStyleShapeTopHeight","cssStyleShapeTopFlip","cssStyleShapeTopIndex"]},".brz &&:hover > .brz-bg-media > .brz-bg-shape__bottom":{standart:["cssStyleShapeBottomType","cssStyleShapeBottomHeight","cssStyleShapeBottomFlip","cssStyleShapeBottomIndex"]},".brz &&:hover > .brz-bg-content":{standart:["cssStyleBoxShadowSection","cssStylePaddingPreview","cssStylePaddingRightLeftForEditor"]},".brz &&:hover > .brz-bg-content > .brz-ed-draggable__padding--top":{standart:["cssStylePaddingTopForEditorResizer"]},".brz &&:hover > .brz-bg-content > .brz-ed-draggable__padding--bottom":{standart:["cssStylePaddingBottomForEditorResizer"]}}})}(e,t,o))),r=ra()("brz-container",e.containerClassName,Qb("".concat(this.constructor.componentId,"-container"),"".concat(this.getId(),"-container"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleSectionMaxWidth"]}}})}(e,t,o))),i=ra()("brz-container__wrap",Qb("".concat(this.constructor.componentId,"-containerWrap"),"".concat(this.getId(),"-containerWrap"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleSectionContainerType"]}}})}(e,t,o))),l=this.makeSubcomponentProps({bindWithKey:"items",className:r,meta:n});return Oo.a.createElement(gB,{className:a,value:e,meta:n},Oo.a.createElement(yB,{value:e,onChange:this.handlePaddingResizerChange},Oo.a.createElement("div",{className:i},Oo.a.createElement(oI,l))))}renderForEdit(e,t,o){return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(Ca.a,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},Oo.a.createElement(CB,{showBorder:!1,activateOnContentClick:!1},this.renderToolbar(),Oo.a.createElement(Aa.b,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o)))))}renderForView(e,t,o){return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",null,this.renderItems(e,t,o)))}}Object(yo.a)(cI,"defaultProps",{meta:{}}),Object(yo.a)(cI,"defaultValue",iI);var sI=cI,dI={getItems:function(){return[{id:"main",type:"group",title:Object(an.a)("Image"),disabled:!0,items:[]}]}};function pI(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class uI extends Ju.a{static get componentId(){return"ImageGallery.Items"}getItemProps(e,t,o){const n={getItems:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),position:200,roles:["admin"],devices:"desktop",onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:Object(an.a)("Delete"),position:250,roles:["admin"],devices:"desktop",disabled:o.length<=1,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}]},a=this.makeToolbarPropsFromConfig2(n,{allowExtend:!1});return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?pI(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):pI(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},super.getItemProps(e,t,o),{toolbarExtend:a})}getTags(e=""){return e?e.split(",").reduce((e,t)=>{const o=t.trim();return o?[...e,o.replace(/\s/g,"-")]:e},[]):[]}renderItemWrapper(e,t,o,n){const a=this.getTags(n.value.tags);return Oo.a.createElement(Rj,Object(ta.a)({key:t},this.makeContextMenuProps(dI,{id:t})),Oo.a.createElement("div",{className:ra()("brz-image__gallery-item",a)},e))}}Object(yo.a)(uI,"defaultProps",{className:"",meta:{}});var bI=uI;function hI({device:e}){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:(t=>Object(rh.defaultValueKey)({key:t,device:e,state:"normal"}))("toolbarGallery"),type:"popover",icon:"nc-gallery",title:Object(an.a)("Gallery"),position:80,options:[{id:"enableTags",label:Object(an.a)("Enable tags"),type:"switch-dev"},{id:"gridColumn",type:"slider-dev",label:Object(an.a)("Columns"),config:{min:1,max:6}},{id:"spacing",type:"slider-dev",label:Object(an.a)("Spacing"),config:{min:0,max:20,units:[{value:"px",title:"px"}]}},{id:"lightBox",label:Object(an.a)("Open in Lightbox"),type:"switch-dev",devices:"desktop"}]}]}const mI=Object(an.a)("Gallery");function gI({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"});return[{id:o("settingsTabs"),type:"tabs",align:"start",tabs:[{id:o("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[]},{id:o("moreSettingsAdvanced"),devices:"desktop",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal",devices:"desktop"})]}]}]}function vI({v:e,device:t,devices:o="all",state:n}){const a=e=>Object(rh.defaultValueKey)({key:e,device:t,state:n});return{id:a("filterStyle"),label:Object(an.a)("Style"),type:"radioGroup",devices:o,choices:[{value:"style-1",icon:"nc-tags-style-2"},{value:"style-2",icon:"nc-tags-style-1"}],value:(o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:n}))("filterStyle"),onChange:e=>({[a("filterStyle")]:e})}}function yI({v:e,device:t,state:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t,state:o}),a=o=>Object(rh.defaultValueValue)({key:o,v:e,device:t}),{hex:r}=Object(sh.d)(a("bgColorHex"),a("bgColorPalette")),{hex:i}=Object(sh.d)(a("colorHex"),a("colorPalette"));return[{id:n("toolbarGallery"),type:"popover",icon:"nc-tags",title:Object(an.a)("Tags"),position:80,options:[vI({v:e,device:t,state:"normal",devices:"desktop"}),{id:"filterSpacing",type:"slider-dev",label:Object(an.a)("Spacing"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"afterFilterSpacing",type:"slider-dev",label:Object(an.a)("Content Gap"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:n("toolbarTypography"),type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"filter",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:"toolbarColor",type:"popover",size:"auto",devices:"desktop",title:Object(an.a)("Colors"),roles:["admin"],position:80,icon:{style:{backgroundColor:e.bgColorOpacity>0?Object(mn.c)(r,e.bgColorOpacity):Object(mn.c)(i,e.colorOpacity)}},options:[{id:"tabsColor",className:"",type:"tabs",tabs:[{id:"tabBg",label:Object(an.a)("Bg"),options:[{id:"filterBgColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabText",label:Object(an.a)("Text"),options:[{id:"filterColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"filterBorder",type:"border-dev",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"filterBoxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:"filterHorizontalAlign",type:"toggle-dev",devices:"desktop",position:100,choices:[{icon:"nc-text-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-text-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-text-align-right",title:Object(an.a)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),roles:["admin"],position:110,icon:"nc-cog",title:Object(an.a)("Settings")},{id:Object(rh.defaultValueKey)({key:"toolbarSettings",device:t}),type:"popover",disabled:!0,options:[Object(ej.I)({device:t,state:"normal"})]}]}const fI=Object(an.a)("Gallery Tags");function OI({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.oc)({v:e,device:t,prefix:"filter",state:"normal",onChangeGrouped:["onChangePaddingGrouped"],onChangeUngrouped:["onChangePaddingUngrouped"]}),Object(ej.n)({v:e,device:t,prefix:"filter",state:"normal",onChangeGrouped:["onChangeBorderRadiusGrouped"],onChangeUngrouped:["onChangeBorderRadiusUngrouped"]})]},{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[]}]}]}var CI=o(435);var SI=o(86);class xI extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"node",null),Object(yo.a)(this,"getIsotope",()=>this.isotope),Object(yo.a)(this,"handleRef",e=>{this.node=e}),Object(yo.a)(this,"handleResizeImage",()=>{this.node&&this.isotope&&this.isotope.layout()})}static get componentId(){return"ImageGallery"}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(st,dt,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:"".concat(this.constructor.componentId,"_parent")});this.props.extendParentToolbar(e),this.initIsotope()}componentDidUpdate(e){e.dbValue.items.length!==this.props.dbValue.items.length&&(this.destroyIsotope(),this.initIsotope())}handleValueChange(e,t){if(t.patch.lightBox){const{lightBox:t}=e,o=e.items.map(e=>Object(kn.mergeIn)(e,["value"],{linkType:"on"===t?"lightBox":"external",linkLightBox:t}));e=Object(kn.mergeIn)(e,["items"],o)}super.handleValueChange(e,t)}getMeta(e){const{meta:t}=this.props,{spacing:o,gridColumn:n,tabletGridColumn:a,mobileGridColumn:r}=e,i=t.desktopW/n,l=t.tabletW/a,c=t.mobileW/r;return Object.assign({},t,{desktopW:Math.round(10*(i-o))/10,tabletW:Math.round(l),mobileW:Math.round(c),gallery:{inGallery:!0}})}getTags(e=""){return e?e.split(",").reduce((e,t)=>{const o=t.trim();return o?[...e,o]:e},[]):[]}renderTags(e,t,o){const{filterStyle:n,items:a}=e,r=ra()("brz-image__gallery-filter","brz-image__gallery-filter--".concat(n),Qb("".concat(this.constructor.componentId,"-filter"),"".concat(this.getId(),"-filter"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementImageGalleryFilterAfterSpacing","cssStyleElementImageGalleryFilterHorizontalAlign"]},".brz && .brz-image__gallery-filter__item":{standart:["cssStyleElementImageGalleryFilterSpacing"]},".brz && .brz-image__gallery-filter__item:hover":{standart:["cssStyleElementImageGalleryFilterColor","cssStyleElementImageGallery3FontFamily","cssStyleElementImageGallery3FontSize","cssStyleElementImageGallery3LineHeight","cssStyleElementImageGallery3FontWeight","cssStyleElementImageGallery3LetterSpacing"]},".brz && .brz-image__gallery-filter__item--style-1:hover":{standart:["cssStyleElementAccordionFilterPaddingFourFields","cssStyleElementImageGalleryFilterBgColor","cssStyleElementImageGalleryFilterBorder","cssStyleElementImageGalleryFilterBoxShadow","cssStyleElementImageGalleryBorderRadius"]},".brz &&.brz-image__gallery-filter--style-2:hover":{standart:["cssStyleElementAccordionFilterPaddingFourFields","cssStyleElementImageGalleryFilterBgColor","cssStyleElementImageGalleryFilterBorder","cssStyleElementImageGalleryFilterBoxShadow","cssStyleDisplayInlineFlex","cssStyleElementImageGalleryBorderRadius"]}}})}(e,t,o))),i=ra()("brz-li brz-image__gallery-filter__item","brz-image__gallery-filter__item--".concat(n)),l=a.reduce((e,t)=>{const o=this.getTags(t.value.tags).filter(t=>!e.includes(t));return e.concat(o)},["All"]).map((e,t)=>{const o=e.replace(/\s/g,"-");return Oo.a.createElement(Aa.c,Object(ta.a)({},this.makeToolbarPropsFromConfig2(pt,ut,{allowExtend:!1}),{key:t}),Oo.a.createElement("li",{className:i,"data-filter":"All"===e?"*":o,onClick:()=>{this.getIsotope().arrange({filter:"All"===e?"*":".".concat(o)})}},e))});return Oo.a.createElement("div",{className:"brz-image__gallery--filter-wrapper"},Oo.a.createElement("ul",{className:"brz-ul ".concat(r)},l))}renderForEdit(e,t,o){const{lightBox:n,enableTags:a}=e,r=ra()("brz-image__gallery-wrapper","brz-d-xs-flex brz-flex-xs-wrap",{"brz-image__gallery-lightbox":"on"===n},Qb("".concat(this.constructor.componentId,"-gallery"),"".concat(this.getId(),"-gallery"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementImageGalleryWidth","cssStyleElementImageGalleryMargin"]},".brz &&:hover .brz-image__gallery-item":{standart:["cssStyleElementImageGalleryItemWidth","cssStyleElementImageGalleryItemPadding"]}}})}(e,t,o))),i=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:this.getMeta(e),onResize:this.handleResizeImage}}),l=e.items.reduce((e,t)=>{const o=this.getTags(t.value.tags).filter(t=>!e.includes(t));return e.concat(o)},[]);return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:"brz-image__gallery"},"on"===a&&l.length>0&&this.renderTags(e,t,o),Oo.a.createElement("div",{className:r,ref:this.handleRef},Oo.a.createElement(bI,i))))}getIsotopeLib(){return Object(SI.b)("getLibs",{}).Isotope}initIsotope(){const e=this.getIsotopeLib();e&&(this.isotope=new e(this.node,{itemSelector:".brz-image__gallery-item",masonry:{columnWidth:".brz-image__gallery-item"}}))}destroyIsotope(){this.isotope&&this.isotope.destroy()}}Object(yo.a)(xI,"defaultValue",CI),Object(yo.a)(xI,"defaultProps",{extendParentToolbar:Do.noop});var jI=xI;function BI({v:e,device:t,component:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),a=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),{hex:r}=Object(sh.d)(a("bgColorHex"),a("bgColorPalette"));return[{id:"toolbarPopup",type:"popover",icon:"nc-popup",title:"Popup",devices:"desktop",position:70,options:[{id:"makeItGlobal",label:Object(an.a)("Make it Global"),type:"switch",value:o.props.meta.globalBlockId?"on":"off",onChange:e=>{"on"===e?o.becomeGlobal():o.becomeNormal()}}]},{id:n("toolbarMedia"),type:"popover",icon:"nc-background",title:Object(an.a)("Background"),position:80,options:[{id:n("tabsState"),tabsPosition:"left",type:"tabs",value:a("tabsState"),tabs:[{id:n("tabNormal"),tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:n("tabsMedia"),label:Object(an.a)("Background"),type:"tabs",value:a("tabsMedia"),tabs:[{id:n("tabMedia"),label:Object(an.a)("Image"),options:[Object(ej.f)({v:e,device:t,state:"normal",onChange:["onChangeBgImage","onChangeBgImageBgOpacity"]})]}]}]}]}],onChange:(e,{isOpen:t})=>({[n("tabsMedia")]:t?a("tabsMedia"):""})},{id:n("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),position:90,icon:{style:{backgroundColor:Object(mn.c)(r,a("bgColorOpacity"))}},options:[{id:n("tabsState"),tabsPosition:"left",type:"tabs",value:a("tabsState"),tabs:[{id:n("tabNormal"),tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:n("tabsColor"),type:"tabs",value:a("tabsColor"),tabs:[{id:n("tabOverlay"),label:Object(an.a)("Overlay"),options:[Object(ej.d)({v:e,device:t,state:"normal",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"normal",prefix:"startPointer"===a("gradientActivePointer")?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"normal",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===a("bgColorType")})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"normal",disabled:"solid"===a("bgColorType")||"radial"===a("gradientType")}),Object(ej.ac)({v:e,device:t,state:"normal",disabled:"solid"===a("bgColorType")||"linear"===a("gradientType")})]}]}]},{id:n("tabClose"),label:Object(an.a)("Close"),options:[Object(ej.u)({v:e,device:t,state:"normal",devices:"desktop",onChangeHex:["onChangeColorHexAndOpacity","onChangeColorHexAndOpacityPalette"],onChangePalette:["onChangeColorPalette","onChangeColorPaletteOpacity"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[Object(ej.v)({v:e,device:t,state:"normal",devices:"desktop",onChange:["onChangeColorHexAndOpacity","onChangeColorHexAndOpacityPalette"]})]},{width:52,options:[]},{width:18,options:[]}]}]}]}]},{id:n("tabHover"),tabIcon:"nc-hover",title:Object(an.a)("Hover"),devices:"desktop",options:[{id:n("tabsColor"),type:"tabs",value:a("tabsColor"),hideHandlesWhenOne:!1,tabs:[{id:n("tabClose"),label:Object(an.a)("Close"),options:[Object(ej.u)({v:e,device:t,state:"hover",devices:"desktop",onChangeHex:["onChangeColorHexAndOpacity","onChangeColorHexAndOpacityPalette"],onChangePalette:["onChangeColorPalette","onChangeColorPaletteOpacity"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[Object(ej.v)({v:e,device:t,state:"hover",devices:"desktop",onChange:["onChangeColorHexAndOpacity","onChangeColorHexAndOpacityPalette"]})]},{width:52,options:[]},{width:18,options:[]}]}]}]}]}]}],onChange:(e,{isOpen:t})=>({[n("tabsColor")]:t?a("tabsColor"):""})},{id:"makeItSaved",type:"buttonTooltip",icon:"nc-save-section",position:100,title:Object(an.a)("Save"),devices:"desktop",tooltipContent:Object(an.a)("Saved"),onChange:()=>{o.becomeSaved()}}]}const PI=Object(an.a)("Popup");function wI(){return[]}function TI({v:e,device:t}){return[{id:Object(rh.defaultValueKey)({key:"toolbarSettings",device:t,state:"normal"}),type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),position:100,options:[Object(ej.Cc)({v:e,device:t,state:"normal",devices:"desktop"})]}]}function zI(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz && > .brz-popup__close:hover":{standart:["cssStyleColor"]}}})}var kI=o(436),EI=o(141);function HI(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}EI.a;class _I extends Zu.a{static get componentId(){return"SectionPopup"}constructor(...e){super(...e),Object(yo.a)(this,"handleDropClick",()=>{this.close()}),this.instanceKey=this.props.instanceKey||this.getId(),this.state={isOpened:this.props.isOpened||_I.tmpGlobal===this.getId()},_I.tmpGlobal=null,this.mounted=!1,this.popupRef=Oo.a.createRef(),this.popupsContainer=document.getElementById("brz-popups"),this.el=document.createElement("div")}componentDidMount(){this.mounted=!0,this.popupsContainer.appendChild(this.el),EI.a.set(this.instanceKey,this)}shouldComponentUpdate(e,t){return this.state.isOpened!==t.isOpened||this.optionalSCU(e)}componentWillUnmount(){this.mounted=!1,this.popupsContainer.removeChild(this.el),this.popupsContainer=null,this.el=null,document.documentElement.classList.remove("brz-ow-hidden"),EI.a.delete(this.instanceKey)}handleValueChange(e,t){super.handleValueChange(e,Object.assign(t,{SectionPopup:{dbId:this.getDBValue()._id,domId:this.getId(),path:this.getPath()}}))}getMeta(e){const{meta:t}=this.props,o=Dh({v:e}),n=Wh({v:e,device:"desktop"}),a=Wh({v:e,device:"tablet"}),r=Wh({v:e,device:"mobile"}),i=Qx({v:e,w:"fullWidth"===o?Sn:Cn,width:n,device:"desktop"});return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?HI(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):HI(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{tabletW:Qx({v:e,w:xn,width:a,device:"tablet"}),mobileW:Qx({v:e,w:jn,width:r,device:"mobile"}),desktopW:i,sectionPopup:!0})}renderToolbar(){const{globalBlockId:e}=this.props.meta;return Oo.a.createElement(Aa.a,Object(ta.a)({},this.makeToolbarPropsFromConfig2(bt,ht,{allowExtend:!1,allowExtendFromThirdParty:!0}),{className:"brz-ed-collapsible--section",animation:"rightToLeft",badge:Boolean(e)}))}renderItems(e,t,o){const n=this.getMeta(e),a=ra()("brz-popup__inner","brz-d-xs-flex","brz-flex-xs-wrap","brz-align-items-xs-center",Qb("".concat(this.constructor.componentId,"-Bg"),"".concat(this.getId(),"-Bg"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover > .brz-bg-media":{standart:["cssStyleBorder","cssStyleBorderRadius"]},".brz &&:hover > .brz-bg-media > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition"]},".brz &&:hover > .brz-bg-media > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"]}}})}(e,t,o))),r=ra()("brz-container",e.containerClassName,Qb("".concat(this.constructor.componentId,"-container"),"".concat(this.getId(),"-container"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleSizeMaxWidthContainer"]}}})}(e,t,o))),i=ra()("brz-container__wrap",Qb("".concat(this.constructor.componentId,"-containerWrap"),"".concat(this.getId(),"-containerWrap"),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSectionPopupContainerWrap"]}}})}(e,t,o))),l=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{toolbarExtend:this.makeToolbarPropsFromConfig2(mt,null,{allowExtend:!1}),meta:n,inPopup:!0}});return Oo.a.createElement(gB,{className:a,value:e,meta:n},Oo.a.createElement(EM,{zindex:1},Oo.a.createElement("div",{className:i},Oo.a.createElement("div",{className:r},Oo.a.createElement(Ju.a,l)))))}renderForEdit(e,t,o){if(!this.state.isOpened)return null;const{className:n,customClassName:a}=e,r=this.getId(),i=ra()("brz-popup","brz-popup__editor",{"brz-popup--opened":this.state.isOpened},n,a,Qb("".concat(this.constructor.componentId,"-close"),"".concat(this.getId(),"-close"),zI(e,t,o)));return So.a.createPortal(Oo.a.createElement(vj,{selectorName:r,css:e.customCSS},Oo.a.createElement("div",{id:r,className:i,"data-block-id":this.props.blockId},Oo.a.createElement("div",{className:"brz-popup__close",onClick:this.handleDropClick},Oo.a.createElement(ml.a,{name:"close-popup",type:"editor"})),Oo.a.createElement(Ca.a,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},Oo.a.createElement(CB,{showBorder:!1,activateOnContentClick:!1},this.renderToolbar(),this.renderItems(e,t,o))))),this.el)}renderForView(e,t,o){const{className:n,customClassName:a}=e,r=Object(nn.C)(Object(Lo.b)().getState());let i={};if(Xa.b){const e=["scrolling","showing","devices","referrer","loggedIn"],t=e=>encodeURIComponent(JSON.stringify(e)),o=e=>JSON.parse(decodeURIComponent(e)),n=e=>e.replace(/([A-Z])/g,e=>"_".concat(e.toLowerCase()));i=r.reduce((a,r)=>{if(r.active){const i="data-".concat(n(r.id));e.includes(r.id)?a[i]=a[i]?t([...o(a[i]),r.value]):t([r.value]):a[i]=r.value}return a},{})}const l=ra()("brz-popup","brz-popup__preview",{"brz-conditions-popup":Xa.b},n,a,Qb("".concat(this.constructor.componentId,"-close"),"".concat(this.getId(),"-close"),zI(e,t,o)));return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",Object(ta.a)({className:l,"data-brz-popup":this.instanceKey},i),Oo.a.createElement("div",{className:"brz-popup__close"},Oo.a.createElement(ml.a,{name:"close-popup",type:"editor"})),this.renderItems(e,t,o)))}open(){document.documentElement.classList.add("brz-ow-hidden"),this.props.onOpen(),this.setState({isOpened:!0})}close(){document.documentElement.classList.remove("brz-ow-hidden"),this.props.onClose(),this.setState({isOpened:!1})}becomeSaved(){const{blockId:e}=this.props,t=this.getDBValue();(0,Object(Lo.b)().dispatch)(Object(Uo.F)({id:Object(gl.a)(),data:{type:this.constructor.componentId,blockId:e,value:t},meta:{sourceBlockId:this.getId()}}))}becomeGlobal(){_I.tmpGlobal=this.getId();const{blockId:e,onChange:t}=this.props,o=this.getDBValue(),n=Object(gl.a)();(0,Object(Lo.b)().dispatch)(Object(Uo.E)({id:n,data:{type:this.constructor.componentId,blockId:e,value:o},meta:{sourceBlockId:this.getId()}})),t({type:"GlobalBlock",blockId:e,value:{_id:this.getId(),globalBlockId:n}},{intent:"replace_all",idOptions:{keepExistingIds:!0}})}becomeNormal(){_I.tmpGlobal=this.getId();const{meta:{globalBlockId:e},onChange:t}=this.props,o=Object(nn.h)(Object(Lo.b)().getState()),n=Object(Xa.m)(o[e]).data;n.value._id=this.getId(),t(n,{intent:"replace_all",idOptions:{keepExistingIds:!0}})}}Object(yo.a)(_I,"defaultProps",{meta:{},onOpen:()=>{},onClose:()=>{}}),Object(yo.a)(_I,"defaultValue",kI),Object(yo.a)(_I,"tmpGlobal",null);var RI=_I;function MI({v:e,device:t,component:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),a=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),{hex:r}=Object(sh.d)(a("bgColorHex"),a("bgColorPalette"));return[{id:n("toolbarPopup"),type:"popover",icon:"nc-popup",title:"Popup",position:70,devices:"desktop",options:[{id:n("tabsPopup"),type:"tabs",tabs:[{id:n("tabPopup"),label:Object(an.a)("Popup"),options:[{id:n("makeItGlobal"),label:Object(an.a)("Make it Global"),type:"switch",devices:"desktop",value:o.props.meta.globalBlockId?"on":"off",onChange:e=>{"on"===e?o.becomeGlobal():o.becomeNormal()}},{id:"popupConditions",type:"popupConditions",disabled:!Xa.b},Object(ej.E)({v:e,device:t,state:"normal",position:50})]},{id:n("tabClose"),label:Object(an.a)("Close"),options:[Object(ej.w)({v:e,device:t,state:"normal"}),Object(ej.F)({v:e,device:t,state:"normal"})]}]}]},{id:n("toolbarMedia"),type:"popover",icon:"nc-background",title:Object(an.a)("Background"),position:80,options:[{id:n("tabsMedia"),type:"tabs",tabs:[{id:n("tabMedia"),label:Object(an.a)("Image"),options:[Object(ej.f)({v:e,device:t,state:"normal",onChange:["onChangeBgImage","onChangeBgImageBgOpacity"]})]}]}]},{id:n("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),position:90,icon:{style:{backgroundColor:Object(mn.c)(r,a("bgColorOpacity"))}},options:[{id:n("tabsColor"),type:"tabs",hideHandlesWhenOne:!1,tabs:[{id:n("tabOverlay"),label:Object(an.a)("Overlay"),options:[Object(ej.d)({v:e,device:t,state:"normal",onChangeType:["onChangeBgColorType2"],onChangeHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangePalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientHex:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradientPalette:["onChangeBgColorPalette2","onChangeBgColorPaletteOpacity2","onChangeBgColorHexAndOpacityDependencies2"],onChangeGradient:["onChangeGradientRange2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"normal",prefix:"startPointer"===a("gradientActivePointer")?"bg":"gradient",onChange:["onChangeBgColorHexAndOpacity2","onChangeBgColorHexAndOpacityPalette2","onChangeBgColorHexAndOpacityDependencies2"]})]},{width:52,options:[Object(ej.bc)({v:e,device:t,state:"normal",className:"brz-ed__select--transparent brz-ed__select--align-right",disabled:"solid"===a("bgColorType")})]},{width:18,options:[Object(ej.Zb)({v:e,device:t,state:"normal",disabled:"solid"===a("bgColorType")||"radial"===a("gradientType")}),Object(ej.ac)({v:e,device:t,state:"normal",disabled:"solid"===a("bgColorType")||"linear"===a("gradientType")})]}]}]}]}]},Object(ej.Eb)({device:t,state:"normal",component:o,devices:"desktop"}),{id:"horizontalAlign",type:"toggle-dev",position:90,choices:[{icon:"nc-hrz-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-hrz-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-hrz-align-right",title:Object(an.a)("Align"),value:"right"}]},{id:"verticalAlign",type:"toggle-dev",disabled:"fullHeight"===a("columnsHeightStyle"),position:110,choices:[{icon:"nc-ver-align-top",title:Object(an.a)("Align"),value:"top"},{icon:"nc-ver-align-middle",title:Object(an.a)("Align"),value:"center"},{icon:"nc-ver-align-bottom",title:Object(an.a)("Align"),value:"bottom"}]},{id:n("toolbarSettings"),type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[Object(ej.D)({v:e,device:t,state:"normal"}),Object(ej.C)({v:e,device:t,state:"normal"}),Object(ej.Mc)({v:e,device:t,state:"normal",prefix:"popupRow",disabled:"auto"===a("columnsHeightStyle")}),{id:n("advancedSettings"),type:"advancedSettings",devices:"desktop",label:Object(an.a)("More Settings"),icon:"nc-cog"}]},{id:"remove",type:"button",disabled:!Xa.b,title:Object(an.a)("Delete"),icon:"nc-trash",position:250,onChange:()=>{o.handleDropClick()}}]}const II=Object(an.a)("Popup");function FI(){return[]}function NI(){return[Object(ej.N)({}),Object(ej.P)({})]}function LI({device:e}){const t=t=>Object(rh.defaultValueKey)({key:t,device:e,state:"normal"});return[{id:t("settingsTabs"),type:"tabs",align:"start",tabs:[{id:t("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.R)(),Object(ej.M)({})]}]}]}function WI({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),{hex:a}=Object(sh.d)(n("closeColorHex"),n("closeColorPalette"));return[{id:"toolbarCurrentElement",type:"popover",icon:"nc-star",title:Object(an.a)("Icon"),position:70,options:[{id:"toolbarCurrentElementTabs",type:"tabs",tabs:[{id:"toolbarCurrentElementTabClose",label:Object(an.a)("Icon"),options:[Object(ej.A)({v:e,device:t,state:"normal"}),Object(ej.B)({v:e,device:t,state:"normal"}),Object(ej.z)({v:e,device:t,state:"normal"})]},{id:"toolbarCurrentElementTabBackground",label:Object(an.a)("Background"),options:[Object(ej.x)({v:e,device:t,state:"normal"}),Object(ej.y)({v:e,device:t,state:"normal"})]}]}]},{id:o("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),position:90,icon:{style:{backgroundColor:Object(mn.c)(a,n("closeColorOpacity"))}},options:[{id:o("tabsColor"),type:"tabs",tabs:[{id:o("tabIcon"),label:Object(an.a)("Icon"),options:[{id:"closeColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:o("tabBackground"),label:Object(an.a)("Background"),options:[{id:"closeBgColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]}]}]},{id:"closePosition",type:"toggle-dev",position:100,choices:[{icon:"nc-position-in",value:"inside"},{icon:"nc-position-out",value:"outside"}]},{id:"closeAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-align-top-left",value:"topLeft"},{icon:"nc-align-top-right",value:"topRight"},{icon:"nc-align-bottom-right",value:"bottomRight"},{icon:"nc-align-bottom-left",value:"bottomLeft"}]}]}const VI=Object(an.a)("Popup Close Icon");function DI(){return[]}var AI=o(437),GI=o(140);function UI(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}GI.a;class KI extends Zu.a{static get componentId(){return"SectionPopup2"}constructor(...e){super(...e),Object(yo.a)(this,"collapsibleToolbarRef",Oo.a.createRef()),Object(yo.a)(this,"handleDropClick",()=>{this.close()}),Object(yo.a)(this,"handleToolbarEscape",()=>{this.collapsibleToolbarRef.current.open()}),this.instanceKey=this.props.instanceKey||this.getId();{const e=this.props.isOpened||KI.tmpGlobal===this.getId();this.state={isOpened:e},e&&document.documentElement.classList.add("brz-ow-hidden"),KI.tmpGlobal=null,this.popupRef=Oo.a.createRef(),this.popupsContainer=document.getElementById("brz-popups"),this.el=document.createElement("div")}}componentDidMount(){this.popupsContainer.appendChild(this.el),GI.a.set(this.instanceKey,this)}shouldComponentUpdate(e,t){return this.state.isOpened!==t.isOpened||this.optionalSCU(e)}componentWillUnmount(){this.popupsContainer.removeChild(this.el),this.popupsContainer=null,this.el=null,document.documentElement.classList.remove("brz-ow-hidden"),GI.a.delete(this.instanceKey)}handleValueChange(e,t){super.handleValueChange(e,Object.assign(t,{SectionPopup2:{dbId:this.getDBValue()._id,domId:this.getId(),path:this.getPath()}}))}getMeta(e){const{meta:t}=this.props,o=xm({v:e,device:"desktop"}),n=jm({v:e,device:"desktop"}),a=xm({v:e,device:"tablet"}),r=jm({v:e,device:"tablet"}),i=xm({v:e,device:"mobile"}),l=jm({v:e,device:"mobile"});return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?UI(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):UI(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{desktopW:Qx({v:e,w:"px"===n?o:Sn,width:"px"===n?100:o,device:"desktop"}),tabletW:Qx({v:e,w:"px"===r?a:xn,width:"px"===r?100:a,device:"tablet"}),mobileW:Qx({v:e,w:"px"===l?i:jn,width:"px"===l?100:i,device:"mobile"}),sectionPopup2:!0})}renderToolbar(){const{globalBlockId:e}=this.props.meta;return Oo.a.createElement(Aa.a,Object(ta.a)({},this.makeToolbarPropsFromConfig2(gt,vt,{allowExtend:!1,allowExtendFromThirdParty:!0}),{ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft",badge:Boolean(e)}))}renderItems(e,t,o){const n=this.getMeta(e),{containerClassName:a}=e,r=ra()("brz-popup2__inner","brz-d-xs-flex","brz-flex-xs-wrap",Qb("".concat(this.constructor.componentId,"-bg"),"".concat(this.getId(),"-bg"),function(e,t,o){const n=".brz && .brz-container__wrap > .brz-container > .brz-row__container ";return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover > .brz-bg-media > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition"]},".brz &&:hover > .brz-bg-media > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"]},".brz &&:hover > .brz-bg-content":{standart:["cssStyleFlexHorizontalAlign","cssStyleFlexVerticalAlign"]},".brz &&:hover > .brz-bg-content > .brz-container__wrap":{standart:["cssStyleContainerPopup2ContainerWidth","cssStyleContainerPopup2CustomHeight"]},".brz &&:hover .brz-ed-border > .brz-row__bg > .brz-bg-content":{standart:["cssStyleContainerPopup2CustomHeightOverflow"]},".brz &&:hover .brz-row__bg > .brz-bg-content":{standart:[]},".brz &&:hover .brz-container > .brz-row__container > .brz-ed-border > .brz-bg":{standart:["cssStyleRowMinHeight","cssStyleContainerPopup2RowFlexVerticalAlign"]},".brz &&:hover .brz-container > .brz-row__container > .brz-bg":{standart:[]},".brz && > .brz-bg-content .brz-container__wrap .brz-popup2__close:hover":{standart:["cssStyleContainerPopup2CloseState","cssStyleContainerPopup2ClosePosition","cssStyleContainerPopup2CloseColor"]},".brz && > .brz-bg-content .brz-container__wrap .brz-popup2__close:hover .brz-icon-svg":{standart:["cssStyleContainerPopup2CloseFontSize","cssStyleContainerPopup2CloseBgSize","cssStyleContainerPopup2CloseBgColor","cssStyleContainerPopup2CloseBorderRadius"]},[".brz && > .brz-ed-border, ".concat(n," > .brz-ed-border")]:{standart:["cssStyleContainerPopup2Custom2MaxHeight100","cssStyleContainerPopup2Custom2Height100"]},["".concat(n,", ").concat(n," > .brz-ed-border > .brz-row__bg")]:{standart:["cssStyleContainerPopup2Custom2MaxHeight100","cssStyleContainerPopup2Custom2Height100"]},["".concat(n," , ").concat(n," > .brz-row__bg")]:{standart:[]}}})}(e,t,o))),i=ra()("brz-container",a),l=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{toolbarExtend:this.makeToolbarPropsFromConfig2(yt,ft,{allowExtend:!1}),meta:n}}),c=ra()("brz-popup2__close",{});return Oo.a.createElement(gB,{className:r,value:e,meta:n},Oo.a.createElement(EM,{zindex:1},Oo.a.createElement("div",{className:"brz-container__wrap"},Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Ot,Ct,{allowExtend:!1}),Oo.a.createElement("div",{className:c},Oo.a.createElement(ml.a,{name:"close-popup",type:"editor"}))),Oo.a.createElement("div",{className:i},Oo.a.createElement(Ju.a,l)))))}renderForEdit(e,t,o){if(!this.state.isOpened)return null;const{className:n,customClassName:a}=e,r=this.getId(),i=ra()("brz-popup2","brz-popup2__editor",{"brz-popup2--opened":this.state.isOpened},n,a);let l=Oo.a.createElement(vj,{selectorName:r,css:e.customCSS},Oo.a.createElement("div",{id:r,className:i,"data-block-id":this.props.blockId},!Xa.b&&Oo.a.createElement("button",{className:"brz-button brz-popup2__button-go-to-editor",onClick:this.handleDropClick},Oo.a.createElement(ia.b,{icon:"nc-arrow-left",className:"brz-popup2__icon-go-to-editor"}),Object(an.a)("Go Back")),Oo.a.createElement(Ca.a,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},Oo.a.createElement(CB,{showBorder:!1,activateOnContentClick:!1},this.renderToolbar(),Oo.a.createElement(Aa.b,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o))))));return Xa.b||(l=Oo.a.createElement(fr.a,{keyNames:["esc"],id:"key-helper-prompt-esc",onKeyUp:this.handleDropClick},l)),So.a.createPortal(l,this.el)}renderForView(e,t,o){const{className:n,customClassName:a}=e,r=Object(nn.C)(Object(Lo.b)().getState());let i={};if(Xa.b){const e=["scrolling","showing","devices","referrer","loggedIn"],t=e=>encodeURIComponent(JSON.stringify(e)),o=e=>JSON.parse(decodeURIComponent(e)),n=e=>e.replace(/([A-Z])/g,e=>"_".concat(e.toLowerCase()));i=r.reduce((a,r)=>{if(r.active){const i="data-".concat(n(r.id));e.includes(r.id)?a[i]=a[i]?t([...o(a[i]),r.value]):t([r.value]):a[i]=r.value}return a},{})}"on"===e.scrollPage&&(i["data-scroll_page"]="true"),"on"===e.clickOutsideToClose&&(i["data-click_outside_to_close"]="true"),e.showCloseButtonAfter&&(i["data-show-close-button-after"]=e.showCloseButtonAfter);const l=ra()("brz-popup2","brz-popup2__preview",{"brz-simple-popup":!Xa.b,"brz-conditions-popup":Xa.b,"brz-conditions-internal-popup":Xa.c,"brz-conditions-external-popup":Xa.a},n,a);return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",Object(ta.a)({className:l,"data-brz-popup":this.instanceKey},i),this.renderItems(e,t,o)))}open(){document.documentElement.classList.add("brz-ow-hidden"),this.props.onOpen(),this.setState({isOpened:!0})}close(){document.documentElement.classList.remove("brz-ow-hidden"),this.props.onClose(),this.setState({isOpened:!1})}becomeSaved(){const{blockId:e}=this.props,t=this.getDBValue();(0,Object(Lo.b)().dispatch)(Object(Uo.F)({id:Object(gl.a)(),data:{type:this.constructor.componentId,blockId:e,value:t},meta:{sourceBlockId:this.getId()}}))}becomeGlobal(){KI.tmpGlobal=this.getId();const{blockId:e,onChange:t}=this.props,o=this.getDBValue(),n=Object(gl.a)();(0,Object(Lo.b)().dispatch)(Object(Uo.E)({id:n,data:{type:this.constructor.componentId,blockId:e,value:o},meta:{sourceBlockId:this.getId()}})),t({type:"GlobalBlock",blockId:e,value:{_id:this.getId(),globalBlockId:n}},{intent:"replace_all",idOptions:{keepExistingIds:!0}})}becomeNormal(){KI.tmpGlobal=this.getId();const{meta:{globalBlockId:e},onChange:t}=this.props,o=Object(nn.h)(Object(Lo.b)().getState()),n=Object(Xa.m)(o[e]).data;n.value._id=this.getId(),t(n,{intent:"replace_all",idOptions:{keepExistingIds:!0}})}}Object(yo.a)(KI,"defaultProps",{meta:{},onOpen:()=>{},onClose:()=>{}}),Object(yo.a)(KI,"defaultValue",AI),Object(yo.a)(KI,"tmpGlobal",null);var qI=KI;var YI={getItems:()=>[{id:"main",type:"group",title:Object(an.a)("Carousel"),icon:"nc-carousel",disabled:(e,t)=>t.isInSubMenu,items:[]}]};const XI="MacOS"===vp(),ZI=e=>XI?e?"Alt":"⌘":e?"Alt":"Ctrl";var JI=e=>({getItems:$I(e)});const $I=e=>(t,o)=>{const n=o.getCurrentCopiedElement(),a=n&&"Row"!==n.type;return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:Object(an.a)("Copy"),helperText:({isInSubMenu:e})=>ZI(e)+" + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:Object(an.a)("Paste"),helperText:({isInSubMenu:e})=>ZI(e)+" + V",inactive:!a,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:Object(an.a)("Paste Styles"),helperText:({isInSubMenu:e})=>ZI(e)+" + ⇧ + V",inactive:!a,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:Object(an.a)("Duplicate"),helperText:({isInSubMenu:e})=>ZI(e)+" + D",onChange(){o.cloneItem(e)}},{id:"remove",type:"button",title:Object(an.a)("Delete"),helperText:({isInSubMenu:e})=>(e=>XI?e?"Alt + delete":"⌘ + delete":e?"Alt + Delete":"Delete")(e),onChange(){Object(Aa.d)(),o.removeItem(e)}}]}]},QI=e=>{if(!e)return;e.querySelectorAll(".slick-slide").forEach(e=>{e.dataset.sortableDisabled=e.attributes["aria-hidden"].value})},eF=e=>e.map(e=>Object(kn.setIn)(e,["value","width"],100));function tF(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function oF(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?tF(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):tF(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const nF=({className:e,extraClassName:t,onClick:o,icon:n})=>Oo.a.createElement("div",{className:ra()(e,t),onClick:o},Oo.a.createElement(ml.a,{name:n,type:"editor"}));class aF extends Ju.a{constructor(...e){super(...e),Object(yo.a)(this,"slider",null),Object(yo.a)(this,"handleRefSlider",e=>{this.slider=So.a.findDOMNode(e)}),Object(yo.a)(this,"handleSliderAfterChange",()=>{QI(this.slider)}),Object(yo.a)(this,"handleSortableAcceptElements",(e,t)=>{if("addable"===e.elementType){if("row"===e.elementNode.getAttribute("data-sortable-subtype"))return!1}const o=e.sortableNode===t.sortableNode,n=-1!==["column","shortcode","addable"].indexOf(e.elementType);return o||n}),Object(yo.a)(this,"addColumn",e=>{const t=this.getValue(),o=oF({},t[e-1],{value:oF({},t[e-1].value,{items:[]})});this.insertItem(e,o)})}static get componentId(){return"Carousel.Items"}componentDidMount(){QI(this.slider)}componentDidUpdate(e){const{slidesToShow:t,slidesToScroll:o}=this.props;t===e.slidesToShow&&o===e.slidesToScroll||QI(this.slider)}handleValueChange(e,t={}){const{arrayOperation:o}=t,n="insert"===o||"remove"===o,a=n?eF(e):e;n&&QI(this.slider),super.handleValueChange(a,t)}getItemProps(e,t,o){let{meta:n,slidesToShow:a,dynamic:r,toolbarExtend:i}=this.props;if("off"===r){const e={getItemsForDesktop:()=>[{id:"emptyItem",type:"button",icon:"nc-add",title:Object(an.a)("Add New Column"),position:100,onChange:()=>{this.addColumn(t+1)}},{id:"duplicate",type:"button",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},...o.length>a?[{id:"remove",type:"button",title:Object(an.a)("Delete"),icon:"nc-trash",position:250,onChange:()=>{Object(Aa.d)(),this.removeItem(t)}}]:[]],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};i=this.makeToolbarPropsFromConfig(e)}return{meta:n,toolbarExtend:i}}renderItemWrapper(e,t,o){const n=JI(o);return Oo.a.createElement(Ej,Object(ta.a)({key:t},this.makeContextMenuProps(n)),Oo.a.createElement(fr.a,{keyNames:["alt+N","ctrl+N","cmd+N","right_cmd+N","alt+D","alt+C","alt+V","alt+shift+V","shift+alt+V","alt+del","alt+up","alt+down"],shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","verticalAlign"],id:t,onKeyDown:this.handleKeyDown},e))}renderSlider(e){const{slidesToShow:t,slidesToScroll:o,sliderArrows:n,sliderAutoPlay:a,sliderAutoPlaySpeed:r,sliderDots:i,swipe:l,tabletSlidesToShow:c}=this.props;return Oo.a.createElement(rj.a,{ref:this.handleRefSlider,className:"brz-carousel__slider",slidesToShow:t,slidesToScroll:o,swipe:!1,draggable:!1,accessibility:!1,arrows:"none"!==n,nextArrow:Oo.a.createElement(nF,{icon:"right-arrow-".concat(n),extraClassName:"brz-slick-slider__arrow brz-slick-slider__arrow-next"}),prevArrow:Oo.a.createElement(nF,{icon:"right-arrow-".concat(n),extraClassName:"brz-slick-slider__arrow brz-slick-slider__arrow-prev"}),dots:"none"!==i,dotsClass:"brz-slick-slider__dots brz-slick-slider__dots--".concat(i),responsive:[{breakpoint:991,settings:{slidesToShow:c,slidesToScroll:1}},{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1}}],afterChange:this.handleSliderAfterChange},e)}renderForEdit(e){const{className:t,style:o,dynamic:n,columns:a}=this.props;let r="on"===n?Array(a).fill(super.renderForEdit(e.slice(0,1))):super.renderForEdit(e);return Oo.a.createElement(Ua,{path:this.getPath(),type:"carousel",acceptElements:this.handleSortableAcceptElements},Oo.a.createElement("div",{className:t,style:o},this.renderSlider(r)))}}Object(yo.a)(aF,"defaultProps",{containerClassName:"",dynamic:"off",taxonomy:"",taxonomyId:"",orderBy:"",order:"",slidesToShow:2,slidesToScroll:1,sliderArrows:"none",sliderDots:"none",meta:{}});var rF=aF;var iF=class extends rF{renderForView(e){const{className:t,style:o,dynamic:n,columns:a,taxonomy:r,taxonomyId:i,order:l,orderBy:c}=this.props;let s=("on"===n?e.slice(0,1):e).map(this.renderItem);return"on"===n&&(s=Oo.a.createElement(Oo.a.Fragment,null,"{{\n brizy_dc_post_loop\n count='".concat(a,"'\n taxonomy='").concat(r,"'\n value='").concat(i,"'\n order='").concat(l,"'\n orderby='").concat(c,"'\n }}"),s,"{{end_brizy_dc_post_loop}}")),Oo.a.createElement("div",{className:t,style:o},this.renderSlider(s))}};function lF(e){const{className:t}=e;let o;o={"& > .brz-carousel__slider > .brz-slick-slider__dots":{color:"var(--colorDots)"},"& > .brz-carousel__slider > .brz-slick-slider__arrow":{color:"var(--colorArrows)"},".brz-ed--desktop &":{"& > .brz-carousel__slider":{paddingLeft:"var(--paddingLeft)",paddingRight:"var(--paddingRight)"},"& > .brz-carousel__slider > .slick-list":{marginLeft:"var(--sliderMargin)",marginRight:"var(--sliderMargin)",paddingTop:"var(--paddingTop)",paddingBottom:"var(--paddingBottom)"},"& > .brz-carousel__slider > .slick-list > .slick-track > .slick-slide":{paddingLeft:"var(--spacing)",paddingRight:"var(--spacing)"},"& > .brz-carousel__slider > .brz-slick-slider__arrow-prev":{left:"var(--arrowsSpacing)"},"& > .brz-carousel__slider > .brz-slick-slider__arrow-next":{right:"var(--arrowsSpacing)"}},".brz-ed--tablet &":{"& > .brz-carousel__slider":{paddingLeft:"var(--tabletPaddingLeft)",paddingRight:"var(--tabletPaddingRight)"},"& > .brz-carousel__slider > .slick-list":{paddingTop:"var(--tabletPaddingTop)",paddingBottom:"var(--tabletPaddingBottom)"},"& > .brz-carousel__slider > .brz-slick-slider__arrow-prev":{left:"var(--tabletArrowsSpacing)"},"& > .brz-carousel__slider > .brz-slick-slider__arrow-next":{right:"var(--tabletArrowsSpacing)"}},".brz-ed--mobile &":{"& > .brz-carousel__slider":{paddingLeft:"var(--mobilePaddingLeft)",paddingRight:"var(--mobilePaddingRight)"},"& > .brz-carousel__slider > .slick-list":{paddingTop:"var(--mobilePaddingTop)",paddingBottom:"var(--mobilePaddingBottom)"},"& > .brz-carousel__slider > .brz-slick-slider__arrow-prev":{left:"var(--mobileArrowsSpacing)"},"& > .brz-carousel__slider > .brz-slick-slider__arrow-next":{right:"var(--mobileArrowsSpacing)"}}};const n=String(Object(SP.css)(o));return ra()("brz-carousel",n,t)}function cF(e){const{spacing:t,sliderArrowsSpacing:o,sliderPaddingType:n,sliderPadding:a,sliderPaddingSuffix:r,sliderPaddingTop:i,sliderPaddingTopSuffix:l,sliderPaddingRight:c,sliderPaddingRightSuffix:s,sliderPaddingBottom:d,sliderPaddingBottomSuffix:p,sliderPaddingLeft:u,sliderPaddingLeftSuffix:b,tabletSliderPaddingType:h,tabletSliderPadding:m,tabletSliderPaddingSuffix:g,tabletSliderPaddingTop:v,tabletSliderPaddingTopSuffix:y,tabletSliderPaddingRight:f,tabletSliderPaddingRightSuffix:O,tabletSliderPaddingBottom:C,tabletSliderPaddingBottomSuffix:S,tabletSliderPaddingLeft:x,tabletSliderPaddingLeftSuffix:j,mobileSliderPaddingType:B,mobileSliderPadding:P,mobileSliderPaddingSuffix:w,mobileSliderPaddingTop:T,mobileSliderPaddingTopSuffix:z,mobileSliderPaddingRight:k,mobileSliderPaddingRightSuffix:E,mobileSliderPaddingBottom:H,mobileSliderPaddingBottomSuffix:_,mobileSliderPaddingLeft:R,mobileSliderPaddingLeftSuffix:M}=e,I=Object(rh.tabletSyncOnChange)(e,"sliderArrowsSpacing"),F=Object(rh.mobileSyncOnChange)(e,"sliderArrowsSpacing");return{"--spacing":"".concat(t/2,"px"),"--sliderMargin":"-".concat(t/2,"px"),"--arrowsSpacing":"".concat(o,"px"),"--colorArrows":dh({v:e,device:"desktop",state:"normal",prefix:"sliderArrowsColor"}),"--colorDots":dh({v:e,device:"desktop",state:"normal",prefix:"sliderDotsColor"}),"--paddingTop":"grouped"===n?a+r:i+l,"--paddingRight":"grouped"===n?a+r:c+s,"--paddingBottom":"grouped"===n?a+r:d+p,"--paddingLeft":"grouped"===n?a+r:u+b,"--tabletArrowsSpacing":"".concat(I,"px"),"--tabletPaddingTop":"grouped"===h?m+g:v+y,"--tabletPaddingRight":"grouped"===h?m+g:f+O,"--tabletPaddingBottom":"grouped"===h?m+g:C+S,"--tabletPaddingLeft":"grouped"===h?m+g:x+j,"--mobileArrowsSpacing":"".concat(F,"px"),"--mobilePaddingTop":"grouped"===B?P+w:T+z,"--mobilePaddingRight":"grouped"===B?P+w:k+E,"--mobilePaddingBottom":"grouped"===B?P+w:H+_,"--mobilePaddingLeft":"grouped"===B?P+w:R+M}}function sF({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),{hex:a}=Object(sh.d)(n("sliderArrowsColorHex"),n("sliderArrowsColorPalette")),r=Boolean(Bo.a.get("wp"));return[{id:o("toolbarCarousel"),type:"popover",icon:"nc-carousel",title:Object(an.a)("Carousel"),roles:["admin"],disabled:"desktop"!==t&&"none"===e.sliderArrows,position:70,options:[{id:o("toolbarCarouselTabs"),type:"tabs",tabs:[{id:o("carousel"),label:Object(an.a)("Carousel"),options:[Object(ej.U)({v:e,device:t,devices:"desktop",state:"normal"}),{id:"slidesToShow",label:Object(an.a)("Columns"),type:"slider-dev",disabled:"mobile"===t,config:{min:1,max:6}},{id:"spacing",label:Object(an.a)("Spacing"),type:"slider-dev",config:{min:1,max:6,units:[{value:"px",title:"px"}]}},{id:"sliderArrowsSpacing",label:Object(an.a)("Arrows Spacing"),type:"slider-dev",devices:"responsive",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:o("navigation"),label:Object(an.a)("Navigation"),options:[Object(ej.V)({v:e,device:t,state:"normal",devices:"desktop"}),Object(ej.W)({v:e,device:t,state:"normal",devices:"desktop"})]}]}]},{id:o("dynamicToolbarCarousel"),type:"popover",icon:"nc-dynamic",title:Object(an.a)("Dynamic Content"),roles:["admin"],devices:"desktop",disabled:!r,position:80,options:[{id:"dynamic",label:Object(an.a)("Dynamic Content"),type:"switch-dev",devices:"desktop"},Object(ej.ab)({v:e,device:t,state:"normal",devices:"desktop",disabled:"off"===n("dynamic"),choices:Object(sh.g)()}),Object(ej.Y)({v:e,device:t,state:"normal",devices:"desktop",disabled:"off"===n("dynamic")}),Object(ej.X)({v:e,device:t,state:"normal",devices:"desktop",disabled:"off"===n("dynamic")})]},{id:o("toolbarColor"),type:"popover",size:"auto",position:90,title:Object(an.a)("Colors"),roles:["admin"],devices:"desktop",icon:{style:{backgroundColor:Object(mn.c)(a,n("sliderArrowsColorOpacity"))}},options:[{id:o("colorTabs"),type:"tabs",hideHandlesWhenOne:!1,tabs:[{id:o("arrows"),label:Object(an.a)("Arrows"),options:[{id:"sliderArrowsColor",type:"colorPicker-dev"}]},{id:o("dots"),label:Object(an.a)("Dots"),options:[{id:"sliderDotsColor",type:"colorPicker-dev",disabled:"off"===e.slider}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:o("advancedSettings"),type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),position:110,title:Object(an.a)("Settings"),roles:["admin"],icon:"nc-cog"}]}function dF({v:e,device:t}){return[{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:Object(an.a)("Duplicate"),roles:["admin"],position:200,onChange:()=>({columns:++e.columns})},...e.columns>e.slidesToShow&&"desktop"===t?[{id:"remove",type:"button",devices:"desktop",title:Object(an.a)("Delete"),roles:["admin"],icon:"nc-trash",position:250,onChange:()=>(Object(Aa.d)(),{columns:--e.columns})}]:[]]}const pF=Object(an.a)("Carousel");function uF({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"});return[Object(ej.L)({device:t,devices:"responsive",state:"normal"}),Object(ej.Z)({v:e,device:t,devices:"responsive",state:"normal"}),{id:o("settingsTabs"),type:"tabs",align:"start",tabs:[{id:o("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.L)({device:t,devices:"desktop",state:"normal"}),Object(ej.Z)({v:e,device:t,devices:"desktop",state:"normal"})]},{id:o("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal",devices:"desktop"})]}]}]}var bF=o(438);function hF(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class mF extends Zu.a{static get componentId(){return"Carousel"}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(St,jt,{allowExtend:!1});this.props.extendParentToolbar(e)}shouldComponentUpdate(e){return this.optionalSCU(e)}getMeta(e){const{meta:t}=this.props,{slidesToShow:o,spacing:n,sliderPaddingType:a,sliderPadding:r,sliderPaddingSuffix:i,sliderPaddingLeft:l,sliderPaddingLeftSuffix:c,sliderPaddingRight:s,sliderPaddingRightSuffix:d,tabletSlidesToShow:p,tabletSliderPaddingType:u,tabletSliderPadding:b,tabletSliderPaddingSuffix:h,tabletSliderPaddingLeft:m,tabletSliderPaddingLeftSuffix:g,tabletSliderPaddingRight:v,tabletSliderPaddingRightSuffix:y,mobileSliderPaddingType:f,mobileSliderPadding:O,mobileSliderPaddingSuffix:C,mobileSliderPaddingLeft:S,mobileSliderPaddingLeftSuffix:x,mobileSliderPaddingRight:j,mobileSliderPaddingRightSuffix:B}=e,P="grouped"===a?Jx(2*r,i,t.desktopW):Jx(l,c,t.desktopW)+Jx(s,d,t.desktopW),w="grouped"===u?Jx(2*b,h,t.tabletW):Jx(m,g,t.tabletW)+Jx(v,y,t.tabletW),T="grouped"===f?Jx(2*O,C,t.mobileW):Jx(S,x,t.mobileW)+Jx(j,B,t.mobileW),z=t.desktopW-(n+P),k=t.tabletW-(n+w);return function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?hF(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):hF(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},t,{desktopW:Math.round(z/o*10)/10,tabletW:Math.round(k/p*10)/10,mobileW:Math.round(10*(t.mobileW-T))/10,inCarousel:!0,inGrid:!1})}renderForEdit(e){const{slidesToShow:t,slidesToScroll:o,sliderArrows:n,sliderAutoPlay:a,sliderAutoPlaySpeed:r,sliderDots:i,swipe:l,dynamic:c,columns:s,taxonomy:d,taxonomyId:p,orderBy:u,order:b,tabletSlidesToShow:h}=e,m=this.makeSubcomponentProps({bindWithKey:"items",toolbarExtend:this.makeToolbarPropsFromConfig2(xt,null,{allowExtend:!1,allowExtendFromThirdParty:!0}),className:lF(e),style:cF(e),meta:this.getMeta(e),slidesToShow:t,slidesToScroll:o,sliderArrows:n,sliderAutoPlay:a,sliderAutoPlaySpeed:r,sliderDots:i,swipe:l,dynamic:c,columns:s,taxonomy:d,taxonomyId:p,orderBy:u,order:b,tabletSlidesToShow:h});return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(Rj,this.makeContextMenuProps(YI),Oo.a.createElement(iF,m)))}}Object(yo.a)(mF,"defaultValue",bF),Object(yo.a)(mF,"defaultProps",{extendParentToolbar:Do.noop});var gF=mF;function vF({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),{hex:a}=Object(sh.d)(n("bgColorHex"),n("bgColorPalette"));return[{id:o("toolbarCurrentShortcode"),type:"popover",icon:"nc-starrating",title:Object(an.a)("Rating"),position:60,options:[{id:o("tabsCurrentElement"),type:"tabs",tabs:[{id:o("tabCurrentElement"),label:Object(an.a)("Rating"),roles:["admin"],options:[{id:"label",label:Object(an.a)("Label"),type:"switch-dev",devices:"desktop"},{id:"rating",label:Object(an.a)("Rating"),type:"slider-dev",devices:"desktop",config:{min:0,max:5,step:.1,units:[{title:"/5",value:"/5"}]}},{id:"spacing",label:Object(an.a)("Spacing"),type:"slider-dev",disabled:"off"===e.label,config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:o("tabStarRatingIcons"),label:Object(an.a)("Icons"),roles:["admin"],options:[{id:"iconImage",label:Object(an.a)("Icon"),type:"iconSetter",devices:"desktop",value:{name:e.iconName,type:e.iconType},onChange:({name:e,type:t})=>({iconName:e,iconType:t})},Object(ej.dc)({v:e,device:t,state:"normal"}),{id:"iconSpacing",label:Object(an.a)("Spacing"),type:"slider-dev",config:{min:0,max:20,units:[{value:"px",title:"px"}]}}]}]}]},{id:o("toolbarTypography"),type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"",type:"typography-dev",disabled:"off"===e.label,config:{fontFamily:"desktop"===t}}]},{id:o("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),position:90,devices:"desktop",icon:{style:{backgroundColor:Object(mn.c)(a,n("bgColorOpacity"))}},options:[{id:o("tabsColor"),type:"tabs",tabs:[{id:o("tabText"),label:Object(an.a)("Text"),devices:"desktop",options:[{id:"color",type:"colorPicker-dev",disabled:"off"===e.label,devices:"desktop",states:[uw.c,uw.b]}]},{id:o("tabRating"),label:Object(an.a)("Rating"),devices:"desktop",options:[{id:"ratingColor",type:"colorPicker-dev",devices:"desktop",states:[uw.c,uw.b]}]},{id:o("tabBackground"),label:Object(an.a)("Background"),devices:"desktop",options:[{id:"ratingBackgroundColor",type:"colorPicker-dev",devices:"desktop",states:[uw.c,uw.b]}]}]}]},{id:o("advancedSettings"),type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),roles:["admin"],position:110,icon:"nc-cog"}]}const yF=Object(an.a)("Rating");function fF({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"});return[{id:o("settingsTabs"),type:"tabs",align:"start",tabs:[{id:o("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[]},{id:o("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,devices:"desktop"}),Object(ej.cc)({v:e,device:t,state:"normal",position:70,devices:"desktop"})]}]}]}var OF=o(439);class CF extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleTextChange",e=>{this.patchValue({text:e})})}static get componentId(){return"StarRating"}renderStars(e,t,o){const{iconName:n,iconType:a}=o,[r,i]=String(t).split("."),l=e<t,c=ra()("brz-starrating-color",{"brz-starrating-color-full":e<t,["brz-starrating-color-w".concat(i)]:i&&Math.floor(t)===e});return Oo.a.createElement("div",{key:e,className:"brz-starrating-icon-wrap"},Oo.a.createElement(ml.a,{name:n,type:a,className:"brz-starrating-color-empty"}),l&&Oo.a.createElement("span",{className:c},Oo.a.createElement(ml.a,{name:n,type:a})))}renderForEdit(e,t,o){const n=e.label,a=e.rating,r=ra()("brz-starrating",Qb(this.constructor.componentId,this.getId(),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-starrating-text":{standart:["cssStyleSizeSpacing","cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStyleElementStarRatingPropertyHoverTransition"]},".brz &&:hover .brz-starrating-container .brz-starrating-icon-wrap":{standart:["cssStyleIconSpacing","cssStyleIconSize"]},".brz &&:hover .brz-starrating-container .brz-starrating-icon-wrap .brz-starrating-color-empty":{standart:["cssStyleElementStarRatingRatingBackgroundColor"],interval:["cssStyleHoverTransition","cssStyleElementStarRatingPropertyHoverTransition"]},".brz &&:hover .brz-starrating-container .brz-starrating-icon-wrap .brz-starrating-color":{standart:["cssStyleElementStarRatingRatingColor"],interval:["cssStyleHoverTransition","cssStyleElementStarRatingPropertyHoverTransition"]}}})}(e,t,o))),i=Array(5).fill();return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Bt,Pt),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:r},"off"!==n&&Oo.a.createElement(xk.a,{className:"brz-starrating-text",value:e.text,onChange:this.handleTextChange}),Oo.a.createElement("div",{className:"brz-starrating-container",title:a},i.map((t,o)=>this.renderStars(o,a,e))))))}}Object(yo.a)(CF,"defaultValue",OF);var SF=CF;class xF extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"id",Object(gl.a)(3))}render(){const e=this.props,{className:t,style:o,resizerPoints:n,resizerMeta:a,resizerValue:r,resizerOnChange:i}=e,l=Object(ca.a)(e,["className","style","resizerPoints","resizerMeta","resizerValue","resizerOnChange"]),c=ra()("brz-wp-shortcode",t);let s=Oo.a.createElement(jF,l);return null!==r&&(s=Oo.a.createElement(Zz,{points:n,meta:a,value:r,onChange:i},s)),Oo.a.createElement("div",{className:c,style:o},s)}}Object(yo.a)(xF,"defaultProps",{name:"",attributes:{},height:null,raw:null,placeholderIcon:"wp-shortcode",resizerPoints:null,resizerMeta:null,resizerValue:null,resizerOnChange:null,renderHTMLInEditor:!0,className:"",style:{},blocked:!0,render:null});class jF extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{shortcodeHTML:null})}componentDidMount(){const{renderHTMLInEditor:e}=this.props;e&&this.updateShortCodeHTML()}shouldComponentUpdate(e,t){const o=this.props,n=this.state;return!(Ao.a.isEqual(o.attributes,e.attributes)&&o.name===e.name&&o.raw===e.raw)||n.shortcodeHTML!==t.shortcodeHTML}componentDidUpdate(e){const t=this.props;(!Ao.a.isEqual(t.attributes,e.attributes)||t.name!==e.name||t.raw!==e.raw)&&this.updateShortCodeHTML()}updateShortCodeHTML(){const e=this.getShortcodeString();""!==e&&Object(Po.C)(e).then(({shortcode:e})=>{this.props.onLoadHTML(e),this.setState({shortcodeHTML:e})})}getShortcodeString(){const{raw:e,name:t,attributes:o}=this.props;if(null!==e)return e;const n=o&&Object.keys(o).map(e=>String(o[e])&&"".concat(e,'="').concat(o[e],'"')).join(" ");return"[".concat(t," ").concat(n||"","]")}renderMarkup(e){return{__html:e}}renderForEdit(){const{placeholderIcon:e,blocked:t,render:o,height:n}=this.props,{shortcodeHTML:a}=this.state;if(!a){const t=n?{minHeight:"".concat(n,"px"),height:"".concat(n,"px")}:{};return Oo.a.createElement(Jz,{style:t,icon:e})}return"function"==typeof o?o(a):Oo.a.createElement("div",{className:t?"brz-blocked":"",dangerouslySetInnerHTML:this.renderMarkup(a)})}renderForView(){const{render:e}=this.props,t=this.getShortcodeString();return"function"==typeof e?e(t):Oo.a.createElement("div",{dangerouslySetInnerHTML:this.renderMarkup(t)})}render(){return this.renderForEdit()}}Object(yo.a)(jF,"defaultProps",{name:"",attributes:{},raw:null,placeholderIcon:"wp-shortcode",renderHTMLInEditor:!0,render:null,onLoadHTML:Ao.a.noop});var BF=e=>{const t=e.map(e=>({title:e.name,value:e.slug}));return{getItems:PF(t)}};const PF=e=>({v:t,device:o})=>{const n=e=>Object(rh.defaultValueValue)({v:t,key:e,device:o}),{hex:a}=Object(sh.d)(n("colorHex"),n("colorPalette"));return[{id:"toolbarCurrentElement",type:"popover",icon:"nc-menu-3",position:60,options:[{id:"toggleMenu",type:"switch-dev",label:Object(an.a)("Toggle Menu"),devices:"responsive"},{id:"menuName",label:Object(an.a)("Menu"),devices:"desktop",type:"select-dev",choices:e},{id:"itemPadding",label:Object(an.a)("Spacing"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover",roles:["admin"],icon:"nc-font",size:"large",title:Object(an.a)("Typography"),position:70,options:[{id:"",type:"typography-dev"}]},{id:"toolbarColor",type:"popover",devices:"desktop",title:Object(an.a)("Colors"),size:"auto",roles:["admin"],position:80,icon:{style:{backgroundColor:Object(mn.c)(a,t.colorOpacity)}},options:[{id:"color",type:"colorPicker-dev"}]},{id:(e=>Object(rh.defaultValueKey)({key:e,device:o,state:"normal"}))("advancedSettings"),type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),icon:"nc-cog",position:150}]},wF=Object(an.a)("Menu");function TF(){return[]}var zF=o(440);function kF(e){const{className:t}=e;let o;o={".brz & .menu":{fontFamily:"var(--fontFamily)"},".brz & .menu > .menu-item a":{color:"var(--color)"},".brz-ed--desktop &":{maxWidth:"var(--maxWidth)",width:"var(--width)","& .menu > .menu-item":{fontSize:"var(--fontSize)",lineHeight:"var(--lineHeight)",fontWeight:"var(--fontWeight)",letterSpacing:"var(--letterSpacing)","&:not(:last-child)":{marginRight:"var(--itemPadding)"}}},".brz-ed--tablet &":{maxWidth:"var(--tabletMaxWidth)",width:"var(--width)","& .menu > .menu-item":{fontSize:"var(--tabletFontSize)",lineHeight:"var(--tabletLineHeight)",fontWeight:"var(--tabletFontWeight)",letterSpacing:"var(--tabletLetterSpacing)","&:not(:last-child)":{marginRight:"var(--tabletMarginRight)",marginBottom:"var(--tabletMarginBottom)"}},"& .brz-menu-simple__icon--bars":{backgroundColor:"var(--color)",color:"var(--color)"}},".brz-ed--mobile &":{maxWidth:"var(--mobileMaxWidth)",width:"var(--width)","& .menu > .menu-item":{fontSize:"var(--mobileFontSize)",lineHeight:"var(--mobileLineHeight)",fontWeight:"var(--mobileFontWeight)",letterSpacing:"var(--mobileLetterSpacing)","&:not(:last-child)":{marginRight:"var(--mobileMarginRight)",marginBottom:"var(--mobileMarginBottom)"}},"& .brz-menu-simple__icon--bars":{backgroundColor:"var(--color)",color:"var(--color)"}}};const n=String(Object(SP.css)(o));return ra()("brz-menu-simple",{"brz-menu-simple--cloud":!1},n,t)}function EF(e){const{menuName:t,fontFamily:o,fontFamilyType:n,fontSize:a,fontWeight:r,lineHeight:i,letterSpacing:l,width:c,itemPadding:s,tabletFontSize:d,tabletLineHeight:p,tabletFontWeight:u,tabletLetterSpacing:b,tabletToggleMenu:h,mobileFontSize:m,mobileLineHeight:g,mobileFontWeight:v,mobileLetterSpacing:y,mobileToggleMenu:f}=e;return{"--maxWidth":"".concat(c,"%"),"--itemPadding":"".concat(s,"px"),"--width":t?"auto":"100%","--fontFamily":Object(ko.d)({family:o,type:n}).family,"--fontWeight":r,"--fontSize":"".concat(a,"px"),"--lineHeight":i,"--letterSpacing":"".concat(l,"px"),"--color":dh({v:e,device:"desktop",state:"normal"}),"--tabletMaxWidth":"".concat(Object(rh.tabletSyncOnChange)(e,"width"),"%"),"--tabletItemPadding":"".concat(Object(rh.tabletSyncOnChange)(e,"itemPadding"),"px"),"--tabletMarginRight":"off"===h?"".concat(Object(rh.tabletSyncOnChange)(e,"itemPadding"),"px"):0,"--tabletMarginBottom":"on"===h?"".concat(Object(rh.tabletSyncOnChange)(e,"itemPadding"),"px"):0,"--tabletFontSize":"".concat(d,"px"),"--tabletLineHeight":p,"--tabletFontWeight":u,"--tabletLetterSpacing":"".concat(b,"px"),"--mobileItemPadding":"".concat(Object(rh.mobileSyncOnChange)(e,"itemPadding"),"px"),"--mobileMarginRight":"off"===f?"".concat(Object(rh.mobileSyncOnChange)(e,"itemPadding"),"px"):0,"--mobileMarginBottom":"on"===f?"".concat(Object(rh.mobileSyncOnChange)(e,"itemPadding"),"px"):0,"--mobileFontSize":"".concat(m,"px"),"--mobileLineHeight":g,"--mobileFontWeight":v,"--mobileLetterSpacing":"".concat(y,"px"),"--mobileMaxWidth":"".concat(Object(rh.mobileSyncOnChange)(e,"width"),"%")}}class HF extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"state",{menus:[]})}static get componentId(){return"WPNavigation"}componentDidMount(){Object(Po.o)().then(e=>{this.setState({menus:e}),""===this.getValue().menuName&&e.length>0&&this.patchValue({menuName:e[0].slug})})}renderForEdit(e){const t=this.applyRulesToValue(e,[e.fontStyle&&"".concat(e.fontStyle,"__fsDesktop"),e.tabletFontStyle&&"".concat(e.tabletFontStyle,"__fsTablet"),e.mobileFontStyle&&"".concat(e.mobileFontStyle,"__fsMobile")]),{tabletToggleMenu:o,mobileToggleMenu:n}=t,a={name:t.menuName},r=BF(this.state.menus);let i=Oo.a.createElement(jF,{name:"brizy_navigation",attributes:a,placeholderIcon:"menu-3",blocked:!0});if("on"===o||"on"===n){const e=ra()("brz-menu-simple__toggle",{"brz-menu-simple__toggle--tablet":"on"===o,"brz-menu-simple__toggle--mobile":"on"===n}),t="brz-menu-simple__btn-".concat(this.getId().slice(0,5));i=Oo.a.createElement("div",{className:e},Oo.a.createElement("input",{className:"brz-input",id:t,type:"checkbox"}),Oo.a.createElement("label",{className:"brz-menu-simple__icon",htmlFor:t},Oo.a.createElement("span",{className:"brz-menu-simple__icon--bars"})),i)}return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(r,wt),Oo.a.createElement("div",{className:kF(t),style:EF(t)},i))}}function _F(e){const{className:t,opened:o,children:n,onClose:a}=e,r=ra()("brz-ed-fixed",t);return Oo.a.createElement(_l.a,{node:window.parent.document.body},Oo.a.createElement(ha.CSSTransition,{in:o,classNames:"brz-ed-fade",timeout:150},Oo.a.createElement("div",null,o&&Oo.a.createElement("div",{className:r},Oo.a.createElement(fr.a,{keyNames:["esc"],id:"key-helper-prompt-esc",onKeyUp:a}),Oo.a.createElement("div",{className:"brz-ed-fixed-overlay",onClick:a}),Oo.a.createElement("div",{className:"brz-ed-fixed-scroll"},n)))))}Object(yo.a)(HF,"defaultValue",zF),_F.defaultProps={className:"",opened:!1,onClose:Ao.a.noop};var RF=_F;function MF({iframeSrc:e,opened:t,onClose:o}){return Oo.a.createElement(RF,{opened:t,onClose:o},Oo.a.createElement(IF,{src:e,onRequestClose:o}))}function IF({src:e,onRequestClose:t}){const[o,n]=Object(fo.useState)(!1),a=Object(fo.useRef)(null);return Object(fo.useEffect)(()=>{const o=o=>{const r=new URL(e);if(o.origin===r.origin&&o.source===a.current.contentWindow&&o.data&&o.data.type)switch(o.data.type){case"CLOSE":t();break;case"NAVIGATE":o.data.url&&(n.parent.location.href=o.data.url)}},n=a.current.ownerDocument.defaultView;return n.addEventListener("message",o),()=>n.removeEventListener("message",o)},[]),Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement("iframe",{ref:a,title:"ThirdParty",src:e,style:{position:"relative",display:o?"block":"none",width:"100%",maxWidth:"1140px",height:"90%",maxHeight:"967px",border:0,borderRadius:"7px"},onLoad:()=>n(!0)}),!o&&Oo.a.createElement(ia.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin",style:{fontSize:"30px",color:"rgba(255, 255, 255, 0.75)"}}))}MF.defaultProps={iframeSrc:"",opened:!1,onClose:Ao.a.noop},MF.propTypes={iframeSrc:Nr.a.string.isRequired,opened:Nr.a.bool,onClose:Nr.a.func},IF.defaultProps={src:"",onRequestClose:Ao.a.noop},IF.propTypes={src:Nr.a.string.isRequired,onRequestClose:Nr.a.func};var FF=o(441),NF=o(70);function LF({v:e,device:t,state:o}){return"on"===Object(rh.defaultValueValue)({v:e,device:t,state:o,key:"mMenu"})?VF({v:e,device:t,state:o}):WF({v:e,device:t,state:o})}function WF({v:e,device:t,state:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t}),a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:r}=Object(sh.d)(n("colorHex"),a("colorPalette")),{hex:i}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"subMenuColorHex",device:t}),Object(rh.defaultValueValue)({v:e,key:"subMenuColorPalette",device:t}));return[{id:"toolbarMenuItem",type:"popover",icon:"nc-star",title:Object(an.a)("Icon"),position:20,options:[{id:n("iconSize"),type:"slider",label:Object(an.a)("Size"),roles:["admin"],position:20,slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:a("iconSize")},onChange:({value:e})=>({[n("iconSize")]:e})},{id:"iconSpacing",type:"slider",devices:"desktop",label:Object(an.a)("Spacing"),roles:["admin"],position:30,slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:a("iconSpacing")},onChange:({value:e})=>({[n("iconSpacing")]:e})}]},{id:"subMenuToolbarMenuItem",type:"popover",icon:"nc-star",title:Object(an.a)("Icon"),position:20,options:[{id:"subMenuIconSize",type:"slider",label:Object(an.a)("Size"),roles:["admin"],position:20,slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.subMenuIconSize},onChange:({value:e})=>({subMenuIconSize:e})},{id:"subMenuIconSpacing",type:"slider",devices:"desktop",label:Object(an.a)("Spacing"),roles:["admin"],position:30,slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.subMenuIconSpacing},onChange:({value:t})=>({subMenuIconSpacing:t,mMenuIconSpacing:e.subMenuIconSpacing===e.mMenuIconSpacing?t:e.mMenuIconSpacing})}]},{id:"toolbarTypography",type:"popover",icon:"nc-font",size:t===NF.a?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:t===NF.a}}]},{id:"subMenuToolbarTypography",type:"popover",icon:"nc-font",size:t===NF.a?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"subMenu",type:"typography-dev",config:{fontFamily:t===NF.a}}]},{id:"toolbarColor",type:"popover",devices:"desktop",size:"auto",title:Object(an.a)("Colors"),position:80,icon:{style:{backgroundColor:Object(mn.c)(r,e.colorOpacity)}},roles:["admin"],options:[{id:"color",tabsPosition:"left",type:"tabs",tabs:[{tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:"colorTabs",className:"",type:"tabs",tabs:[{label:Object(an.a)("Text"),options:[Object(ej.u)({v:e,device:t,state:"normal",onChangeHex:["onChangeMenuColorHex2"],onChangePalette:["onChangeMenuColorPalette2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[Object(ej.v)({v:e,device:t,state:"normal",onChange:["onChangeMenuColorFields2"]})]}]}]}]}]},{tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:"colorTabs",className:"",type:"tabs",tabs:[{label:Object(an.a)("Text"),options:[Object(ej.u)({v:e,device:t,state:"hover",onChangeHex:["onChangeMenuHoverColorHex2"],onChangePalette:["onChangeMenuHoverColorPalette2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[Object(ej.v)({v:e,device:t,state:"hover",onChange:["onChangeMenuHoverColorFields2"]})]}]}]}]}]}]}]},{id:"subMenuToolbarColor",type:"popover",devices:"desktop",size:"auto",title:Object(an.a)("Colors"),position:80,icon:{style:{backgroundColor:Object(mn.c)(i,e.subMenuColorOpacity)}},roles:["admin"],options:[{id:"subMenuColor",tabsPosition:"left",type:"tabs",tabs:[{tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:"subMenuColorTabs",type:"tabs",tabs:[{label:Object(an.a)("Text"),options:[Object(ej.u)({v:e,device:t,prefix:"subMenuColor",onChangeHex:["onChangeColorHexSubMenu2"],onChangePalette:["onChangeColorPaletteSubMenu2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[Object(ej.v)({v:e,device:t,prefix:"subMenuColor",onChange:["onChangeColorFieldsSubMenu2"]})]}]}]},{label:Object(an.a)("Bg"),options:[Object(ej.d)({v:e,device:t,state:"normal",prefix:"subMenuBg",showSelect:!1,onChangeHex:["onChangeBgColorHexSubMenu2"],onChangePalette:["onChangeBgColorPaletteSubMenu2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"normal",prefix:"subMenuBg",onChange:["onChangeBgColorFieldsSubMenu2"]})]}]}]},{label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"normal",prefix:"subMenu",showSelect:!1,onChangeHex:["onChangeBorderColorHexSubMenu2"],onChangePalette:["onChangeBorderColorPaletteSubMenu2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,prefix:"subMenu",state:"normal",onChange:["onChangeBorderColorFieldsSubMenu2"]})]}]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,choices:"outset",state:"normal",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:41,options:[Object(ej.s)({v:e,device:t,state:"normal",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:59,options:[Object(ej.r)({v:e,device:t,state:"normal",choices:"outset",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]},{tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:"subMenuHoverColorTabs",className:"",type:"tabs",tabs:[{label:Object(an.a)("Text"),options:[Object(ej.u)({v:e,device:t,prefix:"subMenuHoverColor",onChangeHex:["onChangeHoverColorHexSubMenu2"],onChangePalette:["onChangeHoverColorPaletteSubMenu2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[Object(ej.v)({v:e,device:t,prefix:"subMenuHoverColor",onChange:["onChangeHoverColorFieldsSubMenu2"]})]}]}]},{label:Object(an.a)("Background"),options:[Object(ej.d)({v:e,device:t,state:"normal",prefix:"subMenuHoverBg",showSelect:!1,onChangeHex:["onChangeBgHoverColorHexSubMenu2"],onChangePalette:["onChangeBorderColorPaletteMMenu2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"normal",prefix:"subMenuHoverBg",onChange:["onChangeBgHoverColorFieldsSubMenu2"]})]}]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[Object(ej.q)({v:e,device:t,choices:"outset",state:"hover",onChangeType:["onChangeBoxShadowType2","onChangeBoxShadowTypeDependencies2"],onChangeHex:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"],onChangePalette:["onChangeBoxShadowPalette2","onChangeBoxShadowPaletteOpacity2","onChangeBoxShadowHexAndOpacityDependencies2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:41,options:[Object(ej.s)({v:e,device:t,state:"hover",onChange:["onChangeBoxShadowHexAndOpacity2","onChangeBoxShadowHexAndOpacityPalette2","onChangeBoxShadowHexAndOpacityDependencies2"]})]},{width:59,options:[Object(ej.r)({v:e,device:t,state:"hover",choices:"outset",onChange:["onChangeBoxShadowFields2","onChangeBoxShadowFieldsDependencies2"]})]}]}]}]}]}]}]}]}function VF({v:e,device:t,state:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t}),a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:r}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"mMenuColorHex",device:t}),Object(rh.defaultValueValue)({v:e,key:"mMenuColorPalette",device:t}));return[{id:"mMenuToolbarMenuItem",type:"popover",icon:"nc-star",title:Object(an.a)("Icon"),position:20,options:[{id:n("mMenuIconSize"),type:"slider",label:Object(an.a)("Size"),roles:["admin"],position:20,slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:a("mMenuIconSize")},onChange:({value:e})=>({[n("mMenuIconSize")]:e})},{id:n("mMenuIconSpacing"),type:"slider",label:Object(an.a)("Spacing"),roles:["admin"],position:30,slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:a("mMenuIconSpacing")},onChange:({value:e})=>({[n("mMenuIconSpacing")]:e})}]},{id:"mMenuToolbarTypography",type:"popover",icon:"nc-font",size:t===NF.a?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"mMenu",type:"typography-dev",config:{fontFamily:t===NF.a}}]},{id:"mMenuToolbarColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),position:80,icon:{style:{backgroundColor:Object(mn.c)(r,e.mMenuColorOpacity)}},roles:["admin"],options:[{id:"mMenuColor",tabsPosition:"left",type:"tabs",tabs:[{tabIcon:"nc-circle",title:Object(an.a)("Normal"),options:[{id:"mMenuColorTabs",className:"",type:"tabs",tabs:[{label:Object(an.a)("Text"),options:[Object(ej.u)({v:e,device:t,prefix:"mMenuColor",state:"normal",onChangeHex:["onChangeColorHexMMenu2"],onChangePalette:["onChangeColorPaletteMMenu2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[Object(ej.v)({v:e,device:t,prefix:"mMenuColor",state:"normal",onChange:["onChangeColorFieldsMMenu2"]})]}]}]},{label:Object(an.a)("Background"),options:[Object(ej.d)({v:e,device:t,state:"normal",prefix:"mMenuBg",showSelect:!1,onChangeHex:["onChangeBgColorHexMMenu2"],onChangePalette:["onChangeBgColorPaletteMMenu2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:30,options:[Object(ej.e)({v:e,device:t,state:"normal",prefix:"mMenuBg",onChange:["onChangeBgColorFieldsMMenu2"]})]}]}]},{label:Object(an.a)("Border"),options:[Object(ej.l)({v:e,device:t,state:"normal",prefix:"mMenu",showSelect:!1,onChangeHex:["onChangeBorderColorHexMMenu2"],onChangePalette:["onChangeBorderColorPaletteMMenu2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:38,options:[Object(ej.m)({v:e,device:t,prefix:"mMenu",state:"normal",onChange:["onChangeBorderColorFieldsMMenu2"]})]}]}]}]}]},{tabIcon:"nc-hover",title:Object(an.a)("Hover"),options:[{id:"mMenuColorTabs",className:"",type:"tabs",tabs:[{label:Object(an.a)("Text"),options:[Object(ej.u)({v:e,device:t,prefix:"mMenuHoverColor",onChangeHex:["onChangeHoverColorHexMMenu2"],onChangePalette:["onChangeHoverColorPaletteMMenu2"]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[Object(ej.v)({v:e,device:t,prefix:"mMenuHoverColor",onChange:["onChangeHoverColorFieldsMMenu2"]})]}]}]},{id:"hiddenTab",options:[]}]}]}]}]},{id:"mMenuItemHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-text-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-text-align-right",title:Object(an.a)("Align"),value:"right"}]}]}function DF({v:e}){return[{id:"settingsTabs",type:"tabs",align:"start",devices:"desktop",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[]}]},{id:"borderRadiusPicker",type:"multiPicker",devices:"desktop",picker:{id:"borderRadiusType",label:Object(an.a)("Corner"),type:"radioGroup",choices:[{value:"grouped",icon:"nc-corners-all"},{value:"ungrouped",icon:"nc-corners-individual"}],value:e.borderRadiusType},choices:{grouped:[{id:"borderRadius",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.borderRadius},onChange:({value:t},{sliderDragEnd:o})=>({borderRadius:t,borderTopLeftRadius:t,borderTopRightRadius:t,borderBottomLeftRadius:t,borderBottomRightRadius:t,tempBorderRadius:o?t:e.tempBorderRadius,tempBorderTopLeftRadius:t>0&&o?t:e.tempBorderTopLeftRadius,tempBorderTopRightRadius:t>0&&o?t:e.tempBorderTopRightRadius,tempBorderBottomRightRadius:t>0&&o?t:e.tempBorderBottomRightRadius,tempBorderBottomLeftRadius:t>0&&o?t:e.tempBorderBottomLeftRadius})}],ungrouped:[{id:"borderTopLeftRadius",icon:"nc-corners-top-left",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.borderTopLeftRadius},onChange:({value:t},{sliderDragEnd:o})=>({borderTopLeftRadius:t,borderTopRightRadius:t>0?e.tempBorderTopRightRadius:e.borderTopRightRadius,borderBottomLeftRadius:t>0?e.tempBorderBottomLeftRadius:e.borderBottomLeftRadius,borderBottomRightRadius:t>0?e.tempBorderBottomRightRadius:e.borderBottomRightRadius,borderRadius:t===e.borderTopRightRadius&&t===e.borderBottomRightRadius&&t===e.borderBottomLeftRadius?t:e.borderRadius,tempBorderTopLeftRadius:t,tempBorderRadius:o&&t===e.borderTopRightRadius&&t===e.borderBottomRightRadius&&t===e.borderBottomLeftRadius?t:e.tempBorderRadius})},{id:"borderTopRightRadius",icon:"nc-corners-top-right",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.borderTopRightRadius},onChange:({value:t},{sliderDragEnd:o})=>({borderTopRightRadius:t,borderTopLeftRadius:t>0?e.tempBorderTopLeftRadius:e.borderTopLeftRadius,borderBottomLeftRadius:t>0?e.tempBorderBottomLeftRadius:e.borderBottomLeftRadius,borderBottomRightRadius:t>0?e.tempBorderBottomRightRadius:e.borderBottomRightRadius,borderRadius:t===e.borderTopLeftRadius&&t===e.borderBottomRightRadius&&t===e.borderBottomLeftRadius?t:e.borderRadius,tempBorderTopRightRadius:t,tempBorderRadius:o&&t===e.borderTopLeftRadius&&t===e.borderBottomRightRadius&&t===e.borderBottomLeftRadius?t:e.tempBorderRadius})},{id:"borderBottomRightRadius",icon:"nc-corners-bottom-right",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.borderBottomRightRadius},onChange:({value:t},{sliderDragEnd:o})=>({borderBottomRightRadius:t,borderTopLeftRadius:t>0?e.tempBorderTopLeftRadius:e.borderTopLeftRadius,borderBottomLeftRadius:t>0?e.tempBorderBottomLeftRadius:e.borderBottomLeftRadius,borderTopRightRadius:t>0?e.tempBorderTopRightRadius:e.borderTopRightRadius,borderRadius:t===e.borderTopLeftRadius&&t===e.borderTopRightRadius&&t===e.borderBottomLeftRadius?t:e.borderRadius,tempBorderBottomRightRadius:t,tempBorderRadius:o&&t===e.borderTopLeftRadius&&t===e.borderTopRightRadius&&t===e.borderBottomLeftRadius?t:e.tempBorderRadius})},{id:"borderBottomLeftRadius",icon:"nc-corners-bottom-left",type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:e.borderBottomLeftRadius},onChange:({value:t},{sliderDragEnd:o})=>({borderBottomLeftRadius:t,borderTopLeftRadius:t>0?e.tempBorderTopLeftRadius:e.borderTopLeftRadius,borderBottomRightRadius:t>0?e.tempBorderBottomRightRadius:e.borderBottomRightRadius,borderTopRightRadius:t>0?e.tempBorderTopRightRadius:e.borderTopRightRadius,borderRadius:t===e.borderTopLeftRadius&&t===e.borderTopRightRadius&&t===e.borderBottomRightRadius?t:e.borderRadius,tempBorderBottomLeftRadius:t,tempBorderRadius:o&&t===e.borderTopLeftRadius&&t===e.borderTopRightRadius&&t===e.borderBottomRightRadius?t:e.tempBorderRadius})}]}}]}const AF=Bo.a.get("menuData"),GF=()=>{const e=AF.map(({id:e,name:t})=>({title:t,value:e}));return e.length?e:[{title:"-",value:"-"}]};function UF({v:e,device:t,state:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t}),a=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t}),r=GF(),i=r.some(({value:t})=>t===e.menuSelected),l="desktop"===t?e.mMenuSize:"tablet"===t?Object(rh.tabletSyncOnChange)(e,"mMenuSize"):Object(rh.mobileSyncOnChange)(e,"mMenuSize"),{hex:c}=Object(sh.d)(a("mMenuIconColorHex"),a("mMenuIconColorPalette")),s=Object(mn.c)(c,"desktop"===t?e.mMenuIconColorOpacity:"tablet"===t?Object(rh.tabletSyncOnChange)(e,"mMenuIconColorOpacity"):Object(rh.mobileSyncOnChange)(e,"mMenuIconColorOpacity")),d="desktop"===t?["onChangeColorHexIconMenu2","onChangeColorPaletteIconMenu2","onChangeColorFieldsIconMenu2"]:"tablet"===t?["onChangeTabletColorHexIconMMenu2","onChangeTabletColorPaletteIconMMenu2","onChangeTabletColorFieldsIconMMenu2"]:["onChangeMobileColorHexIconMMenu2","onChangeMobileColorPaletteIconMMenu2","onChangeMobileColorFieldsIconMMenu2"];return[{id:"toolbarMenu",type:"popover",icon:"nc-menu-3",roles:["admin"],title:Object(an.a)("Menu"),position:10,options:[{id:"menuSelected",type:"select",devices:"desktop",position:10,label:Object(an.a)("Menu"),choices:i?r:[{title:Object(an.a)("Select a Menu"),value:"-"},...r],value:i?e.menuSelected:"-",onChange:e=>{if("-"!==e)return{menuSelected:e}}},{type:"multiPicker",position:20,picker:{id:n("mMenu"),label:Object(an.a)("Make it Hamburger"),type:"switch",value:a("mMenu")},choices:{on:[{id:"mMenuSize",type:"slider",label:Object(an.a)("Size"),roles:["admin"],slider:{min:8,max:64},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:l},onChange:({value:e})=>({[n("mMenuSize")]:e})}]}},{id:"mMenuPosition",label:Object(an.a)("Drawer Position"),type:"radioGroup",roles:["admin"],devices:"desktop",disabled:"off"===e.mMenu,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}],value:e.mMenuPosition},{id:n("itemPadding"),type:"slider",label:Object(an.a)("Spacing"),roles:["admin"],position:30,slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},disabled:1===e.items.length||"on"===a("mMenu"),value:{value:a("itemPadding")},onChange:({value:e})=>({[n("itemPadding")]:e,[n("itemPaddingRight")]:e,[n("itemPaddingLeft")]:e})}]},{id:"mMenuColors",type:"popover",size:"auto",title:Object(an.a)("Color"),position:20,disabled:"off"===a("mMenu"),icon:{style:{backgroundColor:s}},options:[Object(ej.u)({v:e,device:t,state:o,prefix:n("mMenuIconColor"),onChangeHex:[d[0]],onChangePalette:[d[1]]}),{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[Object(ej.v)({v:e,device:t,state:o,prefix:n("mMenuIconColor"),onChange:[d[2]]})]}]}]}]}const KF=Object(an.a)("Menu");function qF({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",align:"start",devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal",devices:"desktop"})]}]}]}const YF={left:"flex-start",center:"center",right:"flex-end"};function XF(e){let t;t={".brz-ed--desktop &":{"& .brz-mm-menu__icon":{display:"var(--showIcon)",fontSize:"var(--mMenuSize)",color:"var(--color)"},"& .brz-menu":{display:"var(--showMenu)"}},".brz-ed--tablet &":{"& .brz-mm-menu__icon":{display:"var(--showTabletIcon)",fontSize:"var(--tabletMMenuSize)",color:"var(--tabletColor)"},"& .brz-menu":{display:"var(--showTabletMenu)"}},".brz-ed--mobile &":{"& .brz-mm-menu__icon":{display:"var(--showMobileIcon)",fontSize:"var(--mobileMMenuSize)",color:"var(--mobileColor)"},"& .brz-menu":{display:"var(--showMobileMenu)"}}};const o=String(Object(SP.css)(t));return ra()("brz-menu__container",o)}function ZF(e){const{mMenuIconColorHex:t,mMenuIconColorOpacity:o,mMenu:n,mMenuSize:a,tabletMMenu:r,mobileMMenu:i}=e;return{"--color":Object(mn.c)(t,o),"--tabletColor":Object(mn.c)(Object(rh.tabletSyncOnChange)(e,"mMenuIconColorHex"),Object(rh.tabletSyncOnChange)(e,"mMenuIconColorOpacity")),"--mobileColor":Object(mn.c)(Object(rh.mobileSyncOnChange)(e,"mMenuIconColorHex"),Object(rh.mobileSyncOnChange)(e,"mMenuIconColorOpacity")),"--mMenuSize":"".concat(a,"px"),"--tabletMMenuSize":"".concat(Object(rh.tabletSyncOnChange)(e,"mMenuSize"),"px"),"--mobileMMenuSize":"".concat(Object(rh.mobileSyncOnChange)(e,"mMenuSize"),"px"),"--showIcon":"on"===n?"flex":"none","--showTabletIcon":"on"===r?"flex":"none","--showMobileIcon":"on"===i?"flex":"none","--showMenu":"on"===n?"none":"block","--showTabletMenu":"on"===r?"none":"block","--showMobileMenu":"on"===i?"none":"block"}}function JF(e,t){const{className:o,items:n}=e;let a;a={".brz &":{fontFamily:"var(--fontFamily)",color:"var(--color)","& .brz-mm-menu__item":{fontFamily:"var(--mMenuFontFamily)",color:"var(--mMenuColor)",borderColor:"var(--mMenuBorderColor)","&:hover > .brz-mm-listitem__text, .brz-mm-btn_next:hover, &.brz-mm-listitem_opened":{color:"var(--mMenuHoverColor)"}},"& .brz-menu__sub-menu":{fontFamily:"var(--subMenuFontFamily)",color:"var(--subMenuColor)",borderTopLeftRadius:"var(--borderTopLeftRadius)",borderTopRightRadius:"var(--borderTopRightRadius)",borderBottomLeftRadius:"var(--borderBottomLeftRadius)",borderBottomRightRadius:"var(--borderBottomRightRadius)",boxShadow:"var(--subMenuBoxShadow)","&:hover":{boxShadow:"var(--subMenuHoverBoxShadow)"},"& .brz-a:hover":{color:"var(--subMenuHoverColor)"}},"& .brz-mm-navbar":{color:"var(--mMenuColor)"},"& .brz-menu__ul > .brz-menu__item":{"& > .brz-a:hover":{color:"var(--hoverColor)"}},"& .brz-menu__item__icon":{marginRight:"var(--iconSpacing)"},"& .brz-menu__sub-item__icon":{marginRight:"var(--subMenuIconSpacing)",fontSize:"var(--subMenuIconSize)"},"&:not(.brz-mm-menu) .brz-menu__item-dropdown .brz-menu__item":{backgroundColor:"var(--subMenuBgColor)","&:hover":{backgroundColor:"var(--subMenuHoverBgColor)"}},"&:not(.brz-mm-menu) .brz-menu__dropdown .brz-menu__item-dropdown":{"&:after":{borderColor:"var(--subMenuColor)"},"&:hover:after":{borderColor:"var(--subMenuHoverColor)"}},"& .brz-menu__dropdown > .brz-menu__item":{borderBottomWidth:"var(--subMenuBorderWidth)",borderBottomStyle:"var(--subMenuBorderStyle)",borderBottomColor:"var(--subMenuBorderColor)"},"&.brz-mm-menu.brz-mm-menu_theme-dark":{"& .brz-mm-panels, & .brz-mm-panels > .brz-mm-panel":{backgroundColor:"var(--mMenuBgColor)"},"& .brz-mm-navbar.brz-mm-listitem, & .brz-mm-listitem_opened > .brz-mm-listitem__text:after":{borderColor:"var(--mMenuBorderColor)"}}},".brz-ed--desktop &":{fontSize:"var(--fontSize)",fontWeight:"var(--fontWeight)",lineHeight:"var(--lineHeight)",letterSpacing:"var(--letterSpacing)","& .brz-menu__sub-menu":{fontSize:"var(--subMenuFontSize)",fontWeight:"var(--subMenuFontWeight)",lineHeight:"var(--subMenuLineHeight)",letterSpacing:"var(--subMenuLetterSpacing)"},"& .brz-mm-menu__item":{fontSize:"var(--mMenuFontSize)",fontWeight:"var(--mMenuFontWeight)",lineHeight:"var(--mMenuLineHeight)",letterSpacing:"var(--mMenuLetterSpacing)","& .brz-a":{justifyContent:"var(--mMenuItemHorizontalAlign)"}},"& .brz-mm-navbar":{fontFamily:"var(--mMenuFontFamily)",fontSize:"var(--mMenuFontSize)",fontWeight:"var(--mMenuFontWeight)",lineHeight:"var(--mMenuLineHeight)",letterSpacing:"var(--mMenuLetterSpacing)"},"& .brz-menu__item__icon":{fontSize:"var(--iconSize)"},"& .brz-mm-menu__item__icon":{marginRight:"var(--mMenuIconSpacing)",fontSize:"var(--mMenuIconSize)"},"&.brz-mm-menu .brz-mm-listitem_vertical .brz-mm-btn_next":{height:"calc(var(--mMenuLineHeight) * var(--mMenuFontSize) + 19px)"},"& .brz-menu__ul:not(.brz-mm-listview)":{marginTop:"var(--itemMarginTop)",marginRight:"var(--itemMarginRight)",marginBottom:"var(--itemMarginBottom)",marginLeft:"var(--itemMarginLeft)"},"& .brz-menu__ul > .brz-menu__item":{paddingTop:"var(--itemPaddingTop)",marginRight:"var(--itemPaddingRight)",paddingBottom:"var(--itemPaddingBottom)",marginLeft:"var(--itemPaddingLeft)"}},".brz-ed--tablet &":{fontSize:"var(--tabletFontSize)",fontWeight:"var(--tabletFontWeight)",lineHeight:"var(--tabletLineHeight)",letterSpacing:"var(--tabletLetterSpacing)","& .brz-menu__sub-menu":{fontSize:"var(--tabletSubMenuFontSize)",fontWeight:"var(--tabletSubMenuFontWeight)",lineHeight:"var(--tabletSubMenuLineHeight)",letterSpacing:"var(--tabletSubMenuLetterSpacing)"},"& .brz-mm-menu__item":{fontSize:"var(--tabletMMenuFontSize)",fontWeight:"var(--tabletMMenuFontWeight)",lineHeight:"var(--tabletMMenuLineHeight)",letterSpacing:"var(--tabletMMenuLetterSpacing)","& .brz-a":{justifyContent:"var(--tabletMMenuItemHorizontalAlign)"}},"& .brz-mm-navbar":{fontFamily:"var(--mMenuFontFamily)",fontSize:"var(--tabletMMenuFontSize)",fontWeight:"var(--tabletMMenuFontWeight)",lineHeight:"var(--tabletMMenuLineHeight)",letterSpacing:"var(--tabletMMenuLetterSpacing)"},"& .brz-menu__item__icon":{fontSize:"var(--tabletIconSize)"},"& .brz-mm-menu__item__icon":{marginRight:"var(--tabletMMenuIconSpacing)",fontSize:"var(--tabletMMenuIconSize)"},"&.brz-mm-menu .brz-mm-listitem_vertical .brz-mm-btn_next":{height:"calc(var(--tabletMMenuLineHeight) * var(--tabletMMenuFontSize) + 19px)"},"& .brz-menu__ul:not(.brz-mm-listview)":{marginTop:"var(--tabletItemMarginTop)",marginRight:"var(--tabletItemMarginRight)",marginBottom:"var(--tabletItemMarginBottom)",marginLeft:"var(--tabletItemMarginLeft)"},"& .brz-menu__ul > .brz-menu__item":{paddingTop:"var(--tabletItemPaddingTop)",marginRight:"var(--tabletItemPaddingRight)",paddingBottom:"var(--tabletItemPaddingBottom)",marginLeft:"var(--tabletItemPaddingLeft)"}},".brz-ed--mobile &":{fontSize:"var(--mobileFontSize)",fontWeight:"var(--mobileFontWeight)",lineHeight:"var(--mobileLineHeight)",letterSpacing:"var(--mobileLetterSpacing)","& .brz-menu__sub-menu":{fontSize:"var(--mobileSubMenuFontSize)",fontWeight:"var(--mobileSubMenuFontWeight)",lineHeight:"var(--mobileSubMenuLineHeight)",letterSpacing:"var(--mobileSubMenuLetterSpacing)"},"& .brz-mm-menu__item":{fontSize:"var(--mobileMMenuFontSize)",fontWeight:"var(--mobileMMenuFontWeight)",lineHeight:"var(--mobileMMenuLineHeight)",letterSpacing:"var(--mobileMMenuLetterSpacing)","& .brz-a":{justifyContent:"var(--mobileMMenuItemHorizontalAlign)"}},"& .brz-mm-navbar":{fontFamily:"var(--mMenuFontFamily)",fontSize:"var(--mobileMMenuFontSize)",fontWeight:"var(--mobileMMenuFontWeight)",lineHeight:"var(--mobileMMenuLineHeight)",letterSpacing:"var(--mobileMMenuLetterSpacing)"},"& .brz-menu__item__icon":{fontSize:"var(--mobileIconSize)"},"& .brz-mm-menu__item__icon":{marginRight:"var(--mobileMMenuIconSpacing)",fontSize:"var(--mobileMMenuIconSize)"},"&.brz-mm-menu .brz-mm-listitem_vertical .brz-mm-btn_next":{height:"calc(var(--mobileMMenuLineHeight) * var(--mobileMMenuFontSize) + 19px)"},"& .brz-menu__ul:not(.brz-mm-listview)":{marginTop:"var(--mobileItemMarginTop)",marginRight:"var(--mobileItemMarginRight)",marginBottom:"var(--mobileItemMarginBottom)",marginLeft:"var(--mobileItemMarginLeft)"},"& .brz-menu__ul > .brz-menu__item":{paddingTop:"var(--mobileItemPaddingTop)",marginRight:"var(--mobileItemPaddingRight)",paddingBottom:"var(--mobileItemPaddingBottom)",marginLeft:"var(--mobileItemPaddingLeft)"}}};const r=String(Object(SP.css)(a));return ra()("brz-menu",{"brz-menu__mmenu":t,"brz-menu--has-dropdown":t&&n.some(({value:{items:e}})=>e.length)},"brz-menu__editor",r,o)}function $F(e){const{fontFamily:t,fontFamilyType:o,fontWeight:n,fontSize:a,lineHeight:r,letterSpacing:i,tabletFontSize:l,tabletFontWeight:c,tabletLineHeight:s,tabletLetterSpacing:d,mobileFontSize:p,mobileFontWeight:u,mobileLineHeight:b,mobileLetterSpacing:h,iconSize:m,iconSpacing:g,itemPaddingTop:v,itemPaddingRight:y,itemPaddingBottom:f,itemPaddingLeft:O,tabletIconSize:C,mobileIconSize:S,subMenuIconSize:x,subMenuIconSpacing:j,subMenuHoverColorHex:B,subMenuHoverColorOpacity:P,subMenuBgColorHex:w,subMenuBgColorOpacity:T,subMenuHoverBgColorHex:z,subMenuHoverBgColorOpacity:k,subMenuBorderColorHex:E,subMenuBorderColorOpacity:H,subMenuBorderWidth:_,subMenuBorderStyle:R,subMenuFontFamily:M,subMenuFontFamilyType:I,subMenuFontWeight:F,subMenuFontSize:N,subMenuLineHeight:L,subMenuLetterSpacing:W,borderRadiusType:V,borderRadius:D,borderTopLeftRadius:A,borderTopRightRadius:G,borderBottomLeftRadius:U,borderBottomRightRadius:K,tabletSubMenuFontSize:q,tabletSubMenuFontWeight:Y,tabletSubMenuLineHeight:X,tabletSubMenuLetterSpacing:Z,mobileSubMenuFontSize:J,mobileSubMenuFontWeight:$,mobileSubMenuLineHeight:Q,mobileSubMenuLetterSpacing:ee,mMenuIconSize:te,mMenuIconSpacing:oe,mMenuColorHex:ne,mMenuColorOpacity:ae,mMenuHoverColorHex:re,mMenuHoverColorOpacity:ie,mMenuBgColorHex:le,mMenuBgColorOpacity:ce,mMenuBorderColorHex:se,mMenuBorderColorOpacity:de,mMenuFontFamily:pe,mMenuFontFamilyType:ue,mMenuFontWeight:be,mMenuFontSize:he,mMenuLineHeight:me,mMenuLetterSpacing:ge,mMenuItemHorizontalAlign:ve,tabletMMenuFontSize:ye,tabletMMenuFontWeight:fe,tabletMMenuLineHeight:Oe,tabletMMenuLetterSpacing:Ce,tabletMMenuIconSize:Se,tabletMMenuIconSpacing:xe,tabletItemPaddingTop:je,tabletItemPaddingRight:Be,tabletItemPaddingBottom:Pe,tabletItemPaddingLeft:we,mobileMMenuFontSize:Te,mobileMMenuFontWeight:ze,mobileMMenuLineHeight:ke,mobileMMenuLetterSpacing:Ee,mobileMMenuIconSize:He,mobileMMenuIconSpacing:_e,mobileItemPaddingTop:Re,mobileItemPaddingRight:Me,mobileItemPaddingBottom:Ie,mobileItemPaddingLeft:Fe}=e;return{"--color":dh({v:e,device:"desktop",state:"normal"}),"--hoverColor":dh({v:e,device:"desktop",state:"hover"}),"--fontFamily":Object(ko.d)({family:t,type:o}).family,"--fontWeight":n,"--fontSize":"".concat(a,"px"),"--lineHeight":r,"--letterSpacing":"".concat(i,"px"),"--tabletFontSize":"".concat(l,"px"),"--tabletFontWeight":c,"--tabletLineHeight":s,"--tabletLetterSpacing":"".concat(d,"px"),"--mobileFontSize":"".concat(p,"px"),"--mobileFontWeight":u,"--mobileLineHeight":b,"--mobileLetterSpacing":"".concat(h,"px"),"--iconSize":"".concat(m,"px"),"--iconSpacing":"".concat(g,"px"),"--tabletIconSize":"".concat(C,"px"),"--mobileIconSize":"".concat(S,"px"),"--itemPaddingTop":"".concat(v,"px"),"--itemPaddingRight":"".concat(parseFloat(y/2),"px"),"--itemPaddingBottom":"".concat(f,"px"),"--itemPaddingLeft":"".concat(parseFloat(O/2),"px"),"--itemMarginTop":"".concat(-v,"px"),"--itemMarginRight":"".concat(parseFloat(-y/2),"px"),"--itemMarginBottom":"".concat(-f,"px"),"--itemMarginLeft":"".concat(parseFloat(-O/2),"px"),"--subMenuIconSize":"".concat(x,"px"),"--subMenuIconSpacing":"".concat(j,"px"),"--subMenuColor":dh({v:e,device:"desktop",state:"normal",prefix:"subMenuColor"}),"--subMenuHoverColor":Object(mn.c)(B,P),"--subMenuBgColor":Object(mn.c)(w,T),"--subMenuHoverBgColor":Object(mn.c)(z,k),"--subMenuBorderColor":Object(mn.c)(E,H),"--subMenuBorderWidth":"".concat(_,"px"),"--subMenuBorderStyle":R,"--subMenuFontFamily":Object(ko.d)({family:M,type:I}).family,"--subMenuFontWeight":F,"--subMenuFontSize":"".concat(N,"px"),"--subMenuLineHeight":L,"--subMenuLetterSpacing":"".concat(W,"px"),"--subMenuBoxShadow":mh({v:e,device:"desktop",state:"normal"}),"--subMenuHoverBoxShadow":mh({v:e,device:"desktop",state:"hover"}),"--borderTopLeftRadius":"".concat("grouped"===V?D:A,"px"),"--borderTopRightRadius":"".concat("grouped"===V?D:G,"px"),"--borderBottomLeftRadius":"".concat("grouped"===V?D:U,"px"),"--borderBottomRightRadius":"".concat("grouped"===V?D:K,"px"),"--tabletSubMenuFontSize":"".concat(q,"px"),"--tabletSubMenuFontWeight":Y,"--tabletSubMenuLineHeight":X,"--tabletSubMenuLetterSpacing":"".concat(Z,"px"),"--mobileSubMenuFontSize":"".concat(J,"px"),"--mobileSubMenuFontWeight":$,"--mobileSubMenuLineHeight":Q,"--mobileSubMenuLetterSpacing":"".concat(ee,"px"),"--mMenuIconSize":"".concat(te,"px"),"--mMenuIconSpacing":"".concat(oe,"px"),"--mMenuColor":Object(mn.c)(ne,ae),"--mMenuHoverColor":Object(mn.c)(re,ie),"--mMenuBgColor":Object(mn.c)(le,ce),"--mMenuBorderColor":Object(mn.c)(se,de),"--mMenuFontFamily":Object(ko.d)({family:pe,type:ue}).family,"--mMenuFontWeight":be,"--mMenuFontSize":"".concat(he,"px"),"--mMenuLineHeight":me,"--mMenuLetterSpacing":"".concat(ge,"px"),"--mMenuItemHorizontalAlign":YF[ve],"--tabletMMenuIconSize":"".concat(Se,"px"),"--tabletMMenuIconSpacing":"".concat(xe,"px"),"--tabletMMenuFontSize":"".concat(ye,"px"),"--tabletMMenuFontWeight":fe,"--tabletMMenuLineHeight":Oe,"--tabletMMenuLetterSpacing":"".concat(Ce,"px"),"--tabletMMenuItemHorizontalAlign":YF[Object(rh.tabletSyncOnChange)(e,"mMenuItemHorizontalAlign")],"--tabletItemPaddingTop":"".concat(je,"px"),"--tabletItemPaddingRight":"".concat(parseFloat(Be/2),"px"),"--tabletItemPaddingBottom":"".concat(Pe,"px"),"--tabletItemPaddingLeft":"".concat(parseFloat(we/2),"px"),"--tabletItemMarginTop":"".concat(-je,"px"),"--tabletItemMarginRight":"".concat(parseFloat(-Be/2),"px"),"--tabletItemMarginBottom":"".concat(-Pe,"px"),"--tabletItemMarginLeft":"".concat(parseFloat(-we/2),"px"),"--mobileMMenuIconSize":"".concat(He,"px"),"--mobileMMenuIconSpacing":"".concat(_e,"px"),"--mobileMMenuFontSize":"".concat(Te,"px"),"--mobileMMenuFontWeight":ze,"--mobileMMenuLineHeight":ke,"--mobileMMenuLetterSpacing":"".concat(Ee,"px"),"--mobileMMenuItemHorizontalAlign":YF[Object(rh.mobileSyncOnChange)(e,"mMenuItemHorizontalAlign")],"--mobileItemPaddingTop":"".concat(Re,"px"),"--mobileItemPaddingRight":"".concat(parseFloat(Me/2),"px"),"--mobileItemPaddingBottom":"".concat(Ie,"px"),"--mobileItemPaddingLeft":"".concat(parseFloat(Fe/2),"px"),"--mobileItemMarginTop":"".concat(-Re,"px"),"--mobileItemMarginRight":"".concat(parseFloat(-Me/2),"px"),"--mobileItemMarginBottom":"".concat(-Ie,"px"),"--mobileItemMarginLeft":"".concat(parseFloat(-Fe/2),"px")}}function QF(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function eN(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?QF(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):QF(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class tN extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"mMenu",null),Object(yo.a)(this,"handleTextChange",e=>{this.patchValue({mMenuTitle:e})}),Object(yo.a)(this,"openMMenu",()=>{var e;const t=this.getMMenu();!this.mMenu&&t&&this.initMMenu();const o=null===(e=this.mMenu)||void 0===e?void 0:e.API;o&&o.open()}),Object(yo.a)(this,"closeMMenu",()=>{var e;const t=null===(e=this.mMenu)||void 0===e?void 0:e.API;t&&t.close()})}static get componentId(){return"Menu"}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(kt,Et,{allowExtend:!1,allowExtendFromThirdParty:!0});this.props.extendParentToolbar(e);const{mMenu:t,tabletMMenu:o,mobileMMenu:n}=this.getValue();"on"!==t&&"on"!==o&&"on"!==n||this.initMMenu()}componentWillUpdate({dbValue:e}){const{mMenuPosition:t,menuSelected:o}=this.getValue();(e.menuSelected&&e.menuSelected!==o||e.mMenuPosition&&e.mMenuPosition!==t)&&this.destroyMMenu()}componentDidUpdate(){const{mMenu:e,tabletMMenu:t,mobileMMenu:o}=this.getValue();"on"===e||"on"===t||"on"===o?this.initMMenu():this.destroyMMenu()}componentWillUnmount(){const{mMenu:e,tabletMMenu:t,mobileMMenu:o}=this.getValue();"on"!==e&&"on"!==t&&"on"!==o||this.destroyMMenu()}getDBValue(){const e=Bo.a.get("menuData");if(0===e.length)return eN({},this.props.dbValue,{items:[]});const{menuSelected:t=null,symbols:o={}}=this.props.dbValue||{},n=t||e[0].id,a=e.find(e=>e.id===n);return a&&0!==a.items.length?(void 0===this.menuItemsCache&&(this.menuItemsCache={}),void 0===this.menuItemsCache[n]&&(this.menuItemsCache[n]=Object(Xa.k)(a.items)),eN({},this.props.dbValue,{menuSelected:n,items:function e(t){return t.map(t=>eN({},t,{value:eN({},t.value,{},o[t.value.id],{items:e(t.value.items)})}))}(this.menuItemsCache[n])})):eN({},this.props.dbValue,{items:[]})}handleValueChange(e,t){const{items:o}=e,n=Object(ca.a)(e,["items"]);t.patch.items&&(n.symbols=eN({},e.symbols,{},function e(t){return t.reduce((t,o)=>eN({},t,{[o.value.id]:Ao.a.omit(o.value,"id","title","url","_id","items")},o.value.items.length>0?e(o.value.items):{}),{})}(e.items))),super.handleValueChange(n,t)}renderMMenuTitle(e){const{mMenuTitle:t}=e;return Oo.a.createElement("li",{className:"brz-mm-navbar"},Oo.a.createElement("a",{className:"brz-a brz-mm-navbar__title"},Oo.a.createElement(xk.a,{value:t,onChange:this.handleTextChange})))}renderMenu(e,t){const{mMenu:o,tabletMMenu:n,mobileMMenu:a}=e,r=("on"===o||"on"===n||"on"===a)&&t,i=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{mMenu:r,toolbarExtend:this.makeToolbarPropsFromConfig2(Tt,zt,{allowExtend:!1})}});return Oo.a.createElement("nav",{id:t,className:JF(e,r),style:$F(e)},Oo.a.createElement("ul",{className:"brz-menu__ul"},r&&this.renderMMenuTitle(e),Oo.a.createElement(Ju.a,i)))}renderMMenu(e){const{menuSelected:t,mMenuPosition:o}=e;return Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement(_l.a,{key:"".concat(t,"-").concat(o),node:document.body,className:"brz-ed-mmenu-portal"},Oo.a.createElement("div",{className:"brz-ed-mmenu-portal__menu brz-d-none"},this.renderMenu(e,this.getId()))),this.renderMenu(e),Oo.a.createElement("div",{className:"brz-mm-menu__icon",onClick:this.openMMenu},Oo.a.createElement(ml.a,{name:"menu-3",type:"editor"})))}renderErrors(e){const t=Bo.a.get("menuData");let o;if(0===t.length){const e=Bo.a.get("urls").dashboardNavMenu;o=Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement("a",{className:"brz-a",href:e,target:"_blank",rel:"noopener noreferrer"},Object(an.a)("Create a menu")),Object(an.a)("in your WordPress admin"))}if(!o){t.find(t=>t.id===e.menuSelected)||(o=Object(an.a)("Select a menu from the element options"))}return o&&Oo.a.createElement("div",{className:"brz-menu__error"},o)}renderForEdit(e){const t=this.renderErrors(e);if(t)return t;const o=this.applyRulesToValue(e,[e.fontStyle&&"".concat(e.fontStyle,"__fsDesktop"),e.tabletFontStyle&&"".concat(e.tabletFontStyle,"__fsTablet"),e.mobileFontStyle&&"".concat(e.mobileFontStyle,"__fsMobile"),e.subMenuColorPalette&&"".concat(e.subMenuColorPalette,"__subMenuColor"),e.subMenuHoverColorPalette&&"".concat(e.subMenuHoverColorPalette,"__subMenuHoverColor"),e.subMenuBgColorPalette&&"".concat(e.subMenuBgColorPalette,"__subMenuBgColor"),e.subMenuHoverBgColorPalette&&"".concat(e.subMenuHoverBgColorPalette,"__subMenuHoverBgColor"),e.subMenuBorderColorPalette&&"".concat(e.subMenuBorderColorPalette,"__subMenuBorderColor"),e.subMenuFontStyle&&"".concat(e.subMenuFontStyle,"__subMenuFsDesktop"),e.tabletSubMenuFontStyle&&"".concat(e.tabletSubMenuFontStyle,"__subMenuFsTablet"),e.mobileSubMenuFontStyle&&"".concat(e.mobileSubMenuFontStyle,"__subMenuFsMobile"),e.mMenuColorPalette&&"".concat(e.mMenuColorPalette,"__mMenuColor"),e.mMenuBgColorPalette&&"".concat(e.mMenuBgColorPalette,"__mMenuBgColor"),e.mMenuBorderColorPalette&&"".concat(e.mMenuBorderColorPalette,"__mMenuBorderColor"),e.mMenuHoverColorPalette&&"".concat(e.mMenuHoverColorPalette,"__mMenuHoverColor"),e.mMenuIconColorPalette&&"".concat(e.mMenuIconColorPalette,"__mMenuIconColor"),e.tabletMMenuIconColorPalette&&"".concat(e.tabletMMenuIconColorPalette,"__tabletMMenuIconColor"),e.mobileMMenuIconColorPalette&&"".concat(e.mobileMMenuIconColorPalette,"__mobileMMenuIconColor"),e.mMenuFontStyle&&"".concat(e.mMenuFontStyle,"__mMenuFsDesktop"),e.tabletMMenuFontStyle&&"".concat(e.tabletMMenuFontStyle,"__mMenuFsTablet"),e.mobileMMenuFontStyle&&"".concat(e.mobileMMenuFontStyle,"__mMenuFsMobile")]),{mMenu:n,tabletMMenu:a,mobileMMenu:r}=o,i="on"===n||"on"===a||"on"===r;return Oo.a.createElement(oa.a,{exceptions:[".brz-ed-toolbar",".brz-ed-tooltip__content-portal",".brz-ed-sidebar__right",".brz-menu",".brz-menu__container",".brz-ed-fixed"],onClickOutside:this.closeMMenu},Oo.a.createElement(vj,{selectorName:this.getId(),css:o.customCSS},Oo.a.createElement("div",{className:XF(),style:ZF(o)},i?this.renderMMenu(o):this.renderMenu(o))))}renderForView(e){if(this.renderErrors(e))return null;const t=this.applyRulesToValue(e,[e.fontStyle&&"".concat(e.fontStyle,"__fsDesktop"),e.tabletFontStyle&&"".concat(e.tabletFontStyle,"__fsTablet"),e.mobileFontStyle&&"".concat(e.mobileFontStyle,"__fsMobile"),e.subMenuColorPalette&&"".concat(e.subMenuColorPalette,"__subMenuColor"),e.subMenuHoverColorPalette&&"".concat(e.subMenuHoverColorPalette,"__subMenuHoverColor"),e.subMenuBgColorPalette&&"".concat(e.subMenuBgColorPalette,"__subMenuBgColor"),e.subMenuHoverBgColorPalette&&"".concat(e.subMenuHoverBgColorPalette,"__subMenuHoverBgColor"),e.subMenuBorderColorPalette&&"".concat(e.subMenuBorderColorPalette,"__subMenuBorderColor"),e.subMenuFontStyle&&"".concat(e.subMenuFontStyle,"__subMenuFsDesktop"),e.tabletSubMenuFontStyle&&"".concat(e.tabletSubMenuFontStyle,"__subMenuFsTablet"),e.mobileSubMenuFontStyle&&"".concat(e.mobileSubMenuFontStyle,"__subMenuFsMobile"),e.mMenuColorPalette&&"".concat(e.mMenuColorPalette,"__mMenuColor"),e.mMenuBgColorPalette&&"".concat(e.mMenuBgColorPalette,"__mMenuBgColor"),e.mMenuBorderColorPalette&&"".concat(e.mMenuBorderColorPalette,"__mMenuBorderColor"),e.mMenuHoverColorPalette&&"".concat(e.mMenuHoverColorPalette,"__mMenuHoverColor"),e.mMenuIconColorPalette&&"".concat(e.mMenuIconColorPalette,"__mMenuIconColor"),e.tabletMMenuIconColorPalette&&"".concat(e.tabletMMenuIconColorPalette,"__tabletMMenuIconColor"),e.mobileMMenuIconColorPalette&&"".concat(e.mobileMMenuIconColorPalette,"__mobileMMenuIconColor"),e.mMenuFontStyle&&"".concat(e.mMenuFontStyle,"__mMenuFsDesktop"),e.tabletMMenuFontStyle&&"".concat(e.tabletMMenuFontStyle,"__mMenuFsTablet"),e.mobileMMenuFontStyle&&"".concat(e.mobileMMenuFontStyle,"__mMenuFsMobile")]),{mMenu:o,mMenuTitle:n,tabletMMenu:a,mobileMMenu:r,mMenuPosition:i}=t,l="on"===o||"on"===a||"on"===r,c=l?{"data-mmenu-id":"#".concat(this.getId()),"data-mmenu-position":"position-".concat(i),"data-mmenu-title":n}:{};return Oo.a.createElement(vj,{selectorName:this.getId(),css:t.customCSS},Oo.a.createElement("div",Object(ta.a)({className:XF(),style:ZF(t)},c),this.renderMenu(t),l&&Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement("div",{className:"brz-mm-menu__icon"},Oo.a.createElement(ml.a,{name:"menu-3",type:"editor"})),this.renderMenu(t,this.getId()))))}getMMenu(){return Object(SI.b)("getLibs",{}).MMenu}initMMenu(){const e=this.getMMenu(),{items:t=[],mMenuPosition:o}=this.getValue();if(this.mMenu||!e||0===t.length)return;const n={navbar:{add:!1},extensions:["theme-dark","pagedim-black","border-full","position-front","position-".concat(o)],slidingSubmenus:!1};this.mMenu=new e("#".concat(this.getId()),n,{offCanvas:{menu:{insertSelector:"#brz-ed-root"},page:{wrapIfNeeded:!1,selector:"#brz-ed-root"}}})}destroyMMenu(){this.mMenu&&(this.mMenu.node.menu.remove(),this.mMenu=null)}}Object(yo.a)(tN,"defaultValue",FF),Object(yo.a)(tN,"defaultProps",{extendParentToolbar:Ao.a.noop});class oN extends fo.Component{constructor(...e){super(...e),Object(yo.a)(this,"state",{position:this.props.position}),Object(yo.a)(this,"content",Object(fo.createRef)())}componentDidMount(){this.node=this.content.current,this.reposition()}componentWillReceiveProps(){const{position:e}=this.props;this.state.position!==e&&this.setState({position:e})}componentDidUpdate(){this.isReposition||this.reposition()}getClassName(){const{position:e}=this.state,{className:t}=this.props;return ra()("brz-menu__dropdown","brz-menu__dropdown-".concat(e),t)}reposition(){let{target:e}=this.props;e||(e=window.document.body);const{left:t,right:o}=this.node.getBoundingClientRect(),{width:n}=e.getBoundingClientRect();o>=n&&(this.isReposition=!0,this.setState({position:"right"},()=>this.isReposition=!1)),t<=0&&(this.isReposition=!0,this.setState({position:"left"},()=>this.isReposition=!1))}render(){return Oo.a.createElement("ul",{ref:this.content,className:this.getClassName()},this.props.children)}}Object(yo.a)(oN,"defaultProps",{className:"",position:"left",target:null});var nN=oN;const aN=2,rN=(e,t,o)=>{const n=ra()("brz-mm-menu__sub-menu",{"brz-menu__ul--has-dropdown":0===o});return t?Oo.a.createElement("ul",{className:n},e):Oo.a.createElement(nN,{className:"brz-menu__sub-menu"},e)};class iN extends Ju.a{static get componentId(){return"MenuItem.Items"}getItemProps(){let{level:e,toolbarExtend:t,mMenu:o}=this.props;return{level:++e,mMenu:o,toolbarExtend:t}}renderItemWrapper(e,t,o,n){const a="MenuItem"===n.type,r="SectionMegaMenu"===n.type,{megaMenu:i}=this.props;return i&&!a?e:i||r?null:e}renderItemsContainer(e){const{level:t,megaMenu:o,mMenu:n}=this.props,a=e.filter(e=>e);return 0===a.length||t>=aN?null:o?a:rN(a,n,t)}}Object(yo.a)(iN,"defaultProps",{megaMenu:!1,mMenu:!1,toolbarExtend:null,level:0});var lN=iN,cN=(e,t)=>({getItems:t?dN(e):sN(e)});const sN=e=>({v:t,device:o})=>{return[{id:"toolbarMenuItem",type:"popover",icon:"nc-star",title:Object(an.a)("Icon"),position:20,disabled:e>=1,options:[{id:"icon",type:"iconSetter",devices:"desktop",label:Object(an.a)("Icon"),canDelete:!0,position:10,value:{name:t.iconName,type:t.iconType},onChange:({name:e,type:t})=>({iconName:e,iconType:t})},...""===t.iconName?[{id:(e=>Object(rh.defaultValueKey)({key:e,device:o}))("iconSize"),type:"slider",disabled:!0},{id:"iconSpacing",type:"slider",disabled:!0}]:[]]},{id:"subMenuToolbarMenuItem",type:"popover",icon:"nc-star",title:Object(an.a)("Icon"),position:20,disabled:e<1,options:[{id:"iconImage",type:"iconSetter",devices:"desktop",label:Object(an.a)("Icon"),position:10,canDelete:!0,value:{name:t.iconName,type:t.iconType},onChange:({name:e,type:t})=>({iconName:e,iconType:t})},...""===t.iconName?[{id:"subMenuIconSize",type:"slider",disabled:!0},{id:"subMenuIconSpacing",type:"slider",disabled:!0}]:[]]},...e<1?[{id:"subMenuToolbarTypography",type:"popover",disabled:!0,options:[]},{id:"subMenuToolbarColor",type:"popover",disabled:!0,options:[]}]:[],...e>=1?[{id:"advancedSettings",type:"advancedSettings",devices:"desktop"},{id:"toolbarTypography",type:"popover",disabled:!0,options:[]},{id:"toolbarColor",type:"popover",disabled:!0,options:[]}]:[]]},dN=e=>({v:e,device:t})=>{const o=e=>Object(rh.defaultValueKey)({key:e,device:t});return[{id:"mMenuToolbarMenuItem",type:"popover",icon:"nc-star",title:Object(an.a)("Icon"),position:20,options:[{id:"icon",type:"iconSetter",devices:"desktop",label:Object(an.a)("Icon"),canDelete:!0,position:10,value:{name:e.iconName,type:e.iconType},onChange:({name:e,type:t})=>({iconName:e,iconType:t})},...""===e.iconName?[{id:o("mMenuIconSize"),type:"slider",disabled:!0},{id:o("mMenuIconSpacing"),type:"slider",disabled:!0}]:[]]}]};var pN=(e,t)=>({title:uN,getItems:t?hN(e):bN(e)});const uN=Object(an.a)("Menu Items"),bN=e=>()=>[...e<1?[{id:"borderRadiusPicker",type:"multiPicker",devices:"desktop",disabled:!0}]:[],...e>=1?[{id:"settingsTabs",type:"tabs",disabled:!0}]:[]],hN=e=>()=>[{id:"borderRadiusPicker",type:"multiPicker",devices:"desktop",disabled:!0}],mN=e=>{const{megaMenu:t,items:o}=e;return"on"!==t&&o.some(e=>"MenuItem"===e.type)};function gN(e,t){const{className:o,megaMenu:n}=e;return ra()("brz-menu__item",{"brz-menu__item-mega-menu":"on"===n},{"brz-menu__item-dropdown":mN(e)},{"brz-menu__item--opened":t.isOpen},o)}function vN(e){const{className:t}=e;return ra()("brz-mm-menu__item",t)}var yN=o(442);class fN extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"state",{isOpen:!1}),Object(yo.a)(this,"handleClick",()=>{this.state.isOpen||this.setState({isOpen:!0})}),Object(yo.a)(this,"handleClickOutside",()=>{this.state.isOpen&&this.setState({isOpen:!1})})}static get componentId(){return"MenuItem"}componentDidUpdate(e){this.props.defaultValue.megaMenu!==e.defaultValue.megaMenu&&"on"===e.defaultValue.megaMenu&&this.setState({isOpen:!0})}renderIcon(e){const{iconName:t,iconType:o}=e,{level:n,mMenu:a}=this.props,r=ra()({"brz-menu__item__icon":0===n&&!a},{"brz-menu__sub-item__icon":n>=1},{"brz-mm-menu__item__icon":a});return Oo.a.createElement(ml.a,{key:"icon",className:r,name:t,type:o})}renderLink(e,t){const{url:o,target:n,classes:a,attrTitle:r}=e,i=o.trim();let l="",c="";"#"===i.charAt(0)?(l="anchor",c=o.replace("#","")):(l="external",c=i);let s={href:c,type:l,target:"_blank"===n?"on":"off",className:a,attr:{title:r},onDragStart:e=>(e.preventDefault(),!1),draggable:"false"};return Oo.a.createElement(AB,s,t)}renderMegaMenu(){const e=this.makeSubcomponentProps({bindWithKey:"megaMenuItems",level:this.props.level,megaMenu:!0});return Oo.a.createElement(lN,e)}renderDropDown(){const{level:e,toolbarExtend:t,mMenu:o}=this.props,n=this.makeSubcomponentProps({bindWithKey:"items",toolbarExtend:t,level:e,mMenu:o,megaMenu:!1});return Oo.a.createElement(lN,n)}renderSimple(e,t){const{level:o,mMenu:n}=this.props,a=cN(o,n),r=pN(o,n);return Oo.a.createElement(oa.a,{exceptions:[".brz-ed-sidebar",".brz-ed-toolbar",".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal",".brz-ed-fixed"],onClickOutside:this.handleClickOutside},Oo.a.createElement("li",{className:gN(e,this.state),onClick:this.handleClick},Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(a,r),this.renderLink(e,t)),"on"===e.megaMenu?this.renderMegaMenu(e):this.renderDropDown(e)))}renderMMenu(e,t){const{level:o,mMenu:n}=this.props,a=cN(o,n),r=pN(o,n);return Oo.a.createElement("li",{className:vN(e)},Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(a,r),this.renderLink(e,t)),this.renderDropDown(e))}renderForEdit(e){const{title:t,iconName:o,iconType:n}=e,a=o&&n,r=Oo.a.createElement(Oo.a.Fragment,null,a&&this.renderIcon(e),t);return this.props.mMenu?this.renderMMenu(e,r):this.renderSimple(e,r)}}Object(yo.a)(fN,"defaultProps",{defaultValue:{},level:0,mMenu:!1}),Object(yo.a)(fN,"defaultValue",yN);var ON=fN,CN=o(226);class SN extends Oo.a.Component{renderForEdit(){const{appId:e,type:t,data:o}=this.props,n=CN[t],a=CN.FacebookProvider;return Oo.a.createElement(a,{appId:e},Oo.a.createElement(n,o))}renderForView(){const{appId:e,type:t,data:o}=this.props;return Oo.a.createElement("div",Object(ta.a)({},o,{className:"brz-facebook fb-".concat(t.toLocaleLowerCase()),appid:e}))}render(){return this.renderForEdit()}}Object(yo.a)(SN,"defaultProps",{appId:"",type:"",data:{}});var xN=SN;function jN({v:e,device:t,state:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),a=e=>Object(rh.defaultValueKey)({key:e,device:t}),{hex:r}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"borderColorHex",device:t,state:o}),Object(rh.defaultValueValue)({v:e,key:"borderColorPalette",device:t,state:o})),{hex:i}=Object(sh.d)(Object(rh.defaultValueValue)({v:e,key:"boxShadowColorHex",device:t,state:o}),Object(rh.defaultValueValue)({v:e,key:"boxShadowColorPalette",device:t,state:o})),l={button:Object(an.a)("Button"),embed:Object(an.a)("Embed"),page:Object(an.a)("Page"),group:Object(an.a)("Group")};return[{id:n("popoverCurrentElement"),type:"popover",icon:"nc-facebook",title:Object(an.a)("Facebook"),devices:"desktop",position:70,options:[{id:"tabsCurrentElement",type:"tabs",tabs:[{id:"tabCurrentElement",label:l[e.facebookType],options:[{id:"facebookType",label:Object(an.a)("Facebook"),type:"select-dev",devices:"desktop",choices:[{title:Object(an.a)("Button"),value:"button"},{title:Object(an.a)("Embed"),value:"embed"},{title:Object(an.a)("Page"),value:"page"},{title:Object(an.a)("Group"),value:"group"}]},{id:"facebookButtonType",type:"select-dev",label:Object(an.a)("Type"),disabled:"button"!==e.facebookType,devices:"desktop",choices:[{title:Object(an.a)("Like"),value:"like"},{title:Object(an.a)("Recommend"),value:"recommend"}]},{id:"layout",label:Object(an.a)("Layout"),type:"select-dev",devices:"desktop",disabled:"button"!==e.facebookType,choices:[{title:Object(an.a)("Button"),value:"button"},{title:Object(an.a)("Boxed"),value:"boxed"}]},{id:"facebookEmbedType",type:"select-dev",label:Object(an.a)("Type"),disabled:"embed"!==e.facebookType,devices:"desktop",choices:[{title:Object(an.a)("Post"),value:"post"},{title:Object(an.a)("Video"),value:"video"}]},{id:"facebookEmbedPostHref",label:Object(an.a)("Link"),type:"inputText-dev",devices:"desktop",disabled:"embed"!==e.facebookType||"post"!==e.facebookEmbedType},{id:"facebookEmbedVideoHref",label:Object(an.a)("Link"),type:"inputText-dev",disabled:"embed"!==e.facebookType||"video"!==e.facebookEmbedType,devices:"desktop"},{id:"facebookPageHref",label:Object(an.a)("Link"),type:"inputText-dev",disabled:"page"!==e.facebookType,devices:"desktop"},{id:"pageTabs",label:Object(an.a)("Tab"),type:"select-dev",devices:"desktop",disabled:"page"!==e.facebookType,choices:[{title:Object(an.a)("Timeline"),value:"timeline"},{title:Object(an.a)("Events"),value:"events"},{title:Object(an.a)("Messages"),value:"messages"}]},{id:"facebookGroupHref",label:Object(an.a)("Link"),type:"inputText-dev",disabled:"group"!==e.facebookType,devices:"desktop"},{id:"skin",label:Object(an.a)("Skin"),type:"select-dev",devices:"desktop",disabled:"group"!==e.facebookType,choices:[{title:Object(an.a)("Light"),value:"light"},{title:Object(an.a)("Dark"),value:"dark"}]}]},{id:"tabAdvanced",label:Object(an.a)("Advanced"),options:[Object(ej.pb)({v:e,device:t,disabled:"button"!==e.facebookType,devices:"desktop",state:"normal"}),{id:"share",disabled:"button"!==e.facebookType,label:Object(an.a)("Include Share Button"),type:"switch-dev",devices:"desktop"},{id:"showCounter",label:Object(an.a)("Show Button Counter"),type:"switch-dev",disabled:"button"!==e.facebookType||"boxed"===e.layout,devices:"desktop"},{id:"showFriends",label:Object(an.a)("Show Friends' Faces"),type:"switch-dev",disabled:"button"!==e.facebookType||"boxed"===e.layout,devices:"desktop"},{id:"facebookEmbedVideoAllowFullScreen",label:Object(an.a)("Full Screen"),type:"switch-dev",disabled:"embed"!==e.facebookType||"video"!==e.facebookEmbedType,devices:"desktop"},{id:"facebookEmbedVideoAutoPlay",label:Object(an.a)("AutoPlay"),type:"switch-dev",disabled:"embed"!==e.facebookType||"video"!==e.facebookEmbedType,devices:"desktop"},{id:"facebookEmbedVideoCaptions",label:Object(an.a)("Captions"),type:"switch-dev",disabled:"embed"!==e.facebookType||"video"!==e.facebookEmbedType,devices:"desktop"},{id:"postAndVideoShowText",label:Object(an.a)("Include Full Post"),disabled:"embed"!==e.facebookType,type:"switch-dev",devices:"desktop"},{id:"smallHeader",label:Object(an.a)("Use Small Header"),type:"switch-dev",devices:"desktop",disabled:"page"!==e.facebookType},{id:"hideCover",label:Object(an.a)("Hide Cover Photo"),type:"switch-dev",disabled:"page"!==e.facebookType,devices:"desktop"},{id:"showFacepile",label:Object(an.a)("Show Friend's Faces"),type:"switch-dev",disabled:"page"!==e.facebookType,devices:"desktop"},{id:"showSocialContext",label:Object(an.a)("Show Social Context"),type:"switch-dev",disabled:"group"!==e.facebookType,devices:"desktop"},{id:"showMetaData",label:Object(an.a)("Show Meta Data"),type:"switch-dev",disabled:"group"!==e.facebookType,devices:"desktop"}]}]}]},{id:n("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],position:80,devices:"desktop",icon:{style:{backgroundColor:"button"===e.facebookType?Object(mn.c)(i,e.boxShadowColorOpacity):Object(mn.c)(r,e.borderColorOpacity)}},options:[{id:"tabsColor",type:"tabs",hideHandlesWhenOne:!1,tabs:[{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"border",disabled:"button"===e.facebookType,type:"border-dev",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:n("toolbarLink"),type:"popover",icon:"nc-link",title:Object(an.a)("Link"),size:"medium",position:90,options:[{id:"targetUrl",label:Object(an.a)("Target URL"),type:"select-dev",devices:"desktop",disabled:"button"!==e.facebookType,choices:[{title:Object(an.a)("Current Page"),value:"current"},{title:Object(an.a)("Custom Page"),value:"custom"}]},{id:"href",type:"inputText-dev",label:Object(an.a)("Link"),disabled:"button"!==e.facebookType||"current"===e.targetUrl,devices:"desktop",placeholder:"http://"}]},"group"===e.facebookType||"page"===e.facebookType?{id:a("toolbarSettings"),type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"height",label:Object(an.a)("Height"),type:"slider-dev",disabled:"page"!==e.facebookType,devices:"desktop",config:{min:70,max:800,units:[{value:"px",title:"px"}],debounceUpdate:!0}},{id:"width",label:Object(an.a)("Width"),type:"slider-dev",disabled:"group"!==e.facebookType,devices:"desktop",config:{min:180,max:500,units:[{value:"px",title:"px"}],debounceUpdate:!0}},{id:n("advancedSettings"),type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}:Object(ej.Q)({device:t,state:"normal"}),"group"!==e.facebookType&&"page"!==e.facebookType?{id:a("advancedSettings"),type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),roles:["admin"],position:110,icon:"nc-cog"}:Object(ej.I)({device:t}),"page"===e.facebookType||"embed"===e.facebookType?{id:"horizontalAlign",type:"toggle-dev",disabled:!0}:{}]}const BN=Object(an.a)("Facebook");function PN({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[]},{id:(e=>Object(rh.defaultValueKey)({key:e,device:t}))("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal",devices:"desktop"}),Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}var wN=o(443);function TN(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover.brz-fb-styles":{standart:["cssStyleBoxShadow","cssStyleBorder"],interval:["cssStyleHoverTransition","cssStyleElementFacebookEmbedPropertyHoverTransition"]},".brz &&:hover.brz-fb-styles-button":{standart:["cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStyleElementFacebookButtonPropertyHoverTransition"]}}})}class zN extends Zu.a{static get componentId(){return"Facebook"}getAppData(){return{appId:0x67903d22b9a8,href:"{{ brizy_dc_current_page_unique_url }}",lang:"{{ brizy_dc_page_language }}"}}renderForEdit(e,t,o){const{className:n,facebookType:a,targetUrl:r,href:i,facebookButtonType:l,layout:c,size:s,share:d,showFriends:p,showCounter:u,facebookEmbedType:b,facebookEmbedPostHref:h,facebookEmbedVideoHref:m,postAndVideoShowText:g,facebookEmbedVideoAllowFullScreen:v,facebookEmbedVideoAutoPlay:y,facebookEmbedVideoCaptions:f,facebookPageHref:O,pageTabs:C,height:S,smallHeader:x,hideCover:j,showFacepile:B,facebookGroupHref:P,skin:w,showSocialContext:T,showMetaData:z,width:k}=e,E=ra()("brz-fb","brz-fb-".concat("button"===a?"like":a),{"brz-fb-styles":"button"!==a},{"brz-fb-styles-button":"button"===a},n,Qb("".concat(this.constructor.componentId),"".concat(this.getId()),TN(e,t,o))),H=this.getAppData(),_={button:"Like",embed:"post"===b?"EmbeddedPost":"EmbeddedVideo",page:"Page",group:"Group"},R={button:{href:"custom"===r&&""!==i?i:H.href,action:l,layout:"button"===c?"on"===p?"standard":"on"===u?"button_count":"button":"box_count",showFaces:"on"===p,size:s,share:"on"===d,lang:H.lang},embed:"post"===b?{width:"auto",href:h,showText:"on"===g,lang:H.lang}:{width:"auto",href:m,showText:"on"===g,allowFullScreen:"on"===v,autoPlay:"on"===y,showCaptions:"on"===f,lang:H.lang},page:{width:"500",href:""===O?"https://facebook.com/brizy.io":O,tabs:C,height:S,smallHeader:"on"===x,hideCover:"on"===j,showFacepile:"on"===B,adaptContainerWidth:!0,lang:H.lang},group:{width:k,href:""===P?"https://www.facebook.com/groups/brizy/":P,skin:w,showSocialContext:"on"===T,showMetaData:"on"===z,lang:H.lang}};return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Ht,_t),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:E},Oo.a.createElement(xN,{appId:H.appId,type:_[a],data:R[a]}))))}renderForView(e,t,o){const{className:n,facebookType:a,targetUrl:r,href:i,facebookButtonType:l,layout:c,size:s,share:d,showFriends:p,showCounter:u,facebookEmbedType:b,postAndVideoShowText:h,facebookEmbedPostHref:m,facebookEmbedVideoHref:g,facebookEmbedVideoAllowFullScreen:v,facebookEmbedVideoAutoPlay:y,facebookEmbedVideoCaptions:f,facebookPageHref:O,pageTabs:C,height:S,smallHeader:x,hideCover:j,showFacepile:B,width:P,facebookGroupHref:w,showSocialContext:T,showMetaData:z,skin:k}=e,E=ra()("brz-fb","brz-fb-".concat("button"===a?"like":a),{"brz-fb-styles":"button"!==a},{"brz-fb-styles-button":"button"===a},n,Qb("".concat(this.constructor.componentId),"".concat(this.getId()),TN(e,t,o))),H=this.getAppData(),_={button:{"data-href":"custom"===r&&""!==i?i:H.href,"data-action":l,"data-layout":"button"===c?"on"===p?"standard":"on"===u?"button_count":"button":"box_count","data-show-faces":p,"data-size":s,"data-share":d,"data-lang":H.lang,"data-colorscheme":"dark"},embed:"post"===b?{"data-show-text":"on"===h,"data-href":m,"data-lang":H.lang}:{"data-width":"auto","data-show-text":"on"===h,"data-allowFullScreen":"on"===v,"data-autoplay":"on"===y,"data-show-captions":"on"===f,"data-href":g,"data-lang":H.lang},page:{"data-width":"500","data-tabs":C,"data-height":S,"data-small-header":"on"===x,"data-hide-cover":"on"===j,"data-adapt-container-width":!0,"data-show-facepile":"on"===B,"data-href":""===O?"https://facebook.com/brizy.io":O,"data-lang":H.lang},group:{"data-width":P,"data-href":""===w?"https://www.facebook.com/groups/brizy/":w,"data-show-social-context":"on"===T,"data-show-metadata":"on"===z,"data-skin":k,"data-lang":H.lang}},R={button:"Like",embed:"post"===b?"post":"video",page:"Page",group:"Group"};return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:E},Oo.a.createElement(xN,{appId:H.appId,type:R[a],data:_[a]})))}}Object(yo.a)(zN,"defaultValue",wN);var kN=zN;function EN({v:e,device:t,state:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t}),a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:r}=Object(sh.d)(a("boxShadowColorHex"),a("boxShadowColorPalette"));return[{id:n("popoverCurrentElement"),type:"popover",icon:"nc-facebook",title:Object(an.a)("Button"),devices:"desktop",position:70,options:[{id:"tabsCurrentElement",type:"tabs",tabs:[{id:"tabCurrentElement",label:Object(an.a)("Button"),options:[{id:"targetUrl",label:Object(an.a)("Target URL"),type:"select-dev",devices:"desktop",choices:[{title:Object(an.a)("Current Page"),value:"current"},{title:Object(an.a)("Custom Page"),value:"custom"}]},{id:"href",label:Object(an.a)("Link"),type:"inputText-dev",devices:"desktop",disabled:"current"===e.targetUrl,placeholder:"http://"},{id:"type",label:Object(an.a)("Type"),type:"select-dev",devices:"desktop",choices:[{title:Object(an.a)("Like"),value:"like"},{title:Object(an.a)("Recommend"),value:"recommend"}]},{id:"layout",label:Object(an.a)("Layout"),type:"select-dev",devices:"desktop",choices:[{title:Object(an.a)("Button"),value:"button"},{title:Object(an.a)("Boxed"),value:"boxed"}]},Object(ej.pb)({v:e,device:t,devices:"desktop",state:"normal"}),{id:"share",label:Object(an.a)("Include Share Button"),type:"switch-dev",devices:"desktop"}]},{id:"tabAdvanced",label:Object(an.a)("Advanced"),options:[{id:"showCounter",label:Object(an.a)("Show Button Counter"),type:"switch-dev",disabled:"boxed"===e.layout,devices:"desktop"},{id:"showFriends",label:Object(an.a)("Show Friends' Faces"),type:"switch-dev",disabled:"boxed"===e.layout,devices:"desktop"}]}]}]},{id:n("popoverColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),devices:"desktop",roles:["admin"],position:80,icon:{style:{backgroundColor:Object(mn.c)(r,e.boxShadowColorOpacity)}},options:[{id:"tabsColor",type:"tabs",hideHandlesWhenOne:!1,tabs:[{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:n("advancedSettings"),type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),roles:["admin"],position:110,icon:"nc-cog"}]}const HN=Object(an.a)("Facebook Button");function _N({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[]},{id:(e=>Object(rh.defaultValueKey)({key:e,device:t}))("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal",devices:"desktop"}),Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}var RN=o(444);function MN(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStyleElementFacebookButtonPropertyHoverTransition"]}}})}class IN extends Zu.a{static get componentId(){return"FacebookButton"}getAppData(){return{appId:0x67903d22b9a8,href:"{{ brizy_dc_current_page_unique_url }}",lang:"{{ brizy_dc_page_language }}"}}renderForEdit(e,t,o){const{type:n,layout:a,size:r,share:i,showCounter:l,showFriends:c,darkScheme:s,targetUrl:d,href:p}=e,u=this.getAppData(),b={action:n,layout:"button"===a?"on"===c?"standard":"on"===l?"button_count":"button":"box_count",size:r,share:"on"===i,showFaces:"on"===c,colorScheme:"on"===s?"dark":"light",href:"custom"===d&&""!==p?p:u.href,lang:u.lang},h=ra()("brz-fb-like",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),MN(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Rt,Mt),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:h},Oo.a.createElement(xN,{appId:u.appId,type:"Like",data:b}))))}renderForView(e,t,o){const{type:n,layout:a,size:r,share:i,showCounter:l,showFriends:c,darkScheme:s,targetUrl:d,href:p}=e,u=this.getAppData(),b={"data-action":n,"data-layout":"button"===a?"on"===c?"standard":"on"===l?"button_count":"button":"box_count","data-size":r,"data-share":i,"data-show-faces":c,"data-colorscheme":"on"===s?"dark":"light","data-href":"custom"===d&&""!==p?p:u.href,"data-lang":u.lang},h=ra()("brz-fb-like",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),MN(e,t,o)));return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:h},Oo.a.createElement(xN,{appId:u.appId,type:"Like",data:b})))}}Object(yo.a)(IN,"defaultValue",RN);var FN=IN;function NN(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidthPercent","cssStyleBoxShadow","cssStyleBgColor","cssStyleBorder"],interval:["cssStyleHoverTransition","cssStyleElementFacebookCommentsPropertyHoverTransition"]},".brz && .brz-comments__skin-skin1 .brz-comments__name, && .brz-comments__skin-skin1 .brz-comments__date, && .brz-comments__skin-skin1 .brz-comments__reply":{standart:["cssStyleElementCommentsHeightNameDate"]},".brz && .brz-comments__skin-skin1 .brz-comments__reply:before":{standart:["cssStyleElementCommentsDviderReplyHeight"]},".brz && .brz-comments__name:hover":{standart:["cssStyleElementCommentsNameColor","cssStyleElementCommentsNameFontFamily","cssStyleElementCommentsNameFontSize","cssStyleElementCommentsNameLineHeight","cssStyleElementCommentsNameFontWeight","cssStyleElementCommentsNameLetterSpacing"],interval:["cssStyleHoverTransition","cssStyleElementFacebookCommentsPropertyHoverTransition"]},".brz &&:hover .brz-comments__date":{standart:["cssStyleElementCommentsDateFontFamily","cssStyleElementCommentsDateFontSize","cssStyleElementCommentsDateLineHeight","cssStyleElementCommentsDateFontWeight","cssStyleElementCommentsDateLetterSpacing"]},".brz &&:hover .brz-comments__reply":{standart:["cssStyleElementCommentsReplyFontFamily","cssStyleElementCommentsReplyFontSize","cssStyleElementCommentsReplyLineHeight","cssStyleElementCommentsReplyFontWeight","cssStyleElementCommentsReplyLetterSpacing"]},".brz && .brz-comment-awaiting-moderation:hover":{standart:["cssStyleElementCommentsCommentsColor","cssStyleElementCommentsCommentFontFamily","cssStyleElementCommentsCommentFontSize","cssStyleElementCommentsCommentLineHeight","cssStyleElementCommentsCommentFontWeight","cssStyleElementCommentsCommentLetterSpacing"],interval:["cssStyleHoverTransition","cssStyleElementFacebookCommentsPropertyHoverTransition"]},".brz && .brz-comments__text:hover":{standart:["cssStyleElementCommentsCommentsColor","cssStyleElementCommentsCommentFontFamily","cssStyleElementCommentsCommentFontSize","cssStyleElementCommentsCommentLineHeight","cssStyleElementCommentsCommentFontWeight","cssStyleElementCommentsCommentLetterSpacing"],interval:["cssStyleHoverTransition","cssStyleElementFacebookCommentsPropertyHoverTransition"]},".brz &&:hover .comment-reply-link":{standart:["cssStyleElementCommentsReplyFontFamily","cssStyleElementCommentsReplyFontSize","cssStyleElementCommentsReplyLineHeight","cssStyleElementCommentsReplyFontWeight","cssStyleElementCommentsReplyLetterSpacing"]},".brz && .brz-comment-respond .brz-submit:hover":{standart:["cssStyleElementCommentsPostButtonColor","cssStyleElementCommentsPostButtonBg","cssStyleElementCommentsPostButtonFontFamily","cssStyleElementCommentsPostButtonFontSize","cssStyleElementCommentsPostButtonLineHeight","cssStyleElementCommentsPostButtonFontWeight","cssStyleElementCommentsPostButtonLetterSpacing"]},".brz &&:hover .brz-comments__logo .brz-img":{standart:["cssStyleElementCommentsLogoSize"]},".brz &&:hover .brz-comments__right-date":{standart:["cssStyleElementCommentsWidthContainer"]},".brz && .brz-logged-in-as a, && .nav-links a, && .comment-reply-link, && #cancel-comment-reply-link":{standart:["cssStyleElementCommentsColorLink"]},".brz &&:hover .brz-comments-children":{standart:["cssStyleElementCommentsChildMargin"]},".brz && .brz-comment-reply-title, && .brz-comment-form-comment > label":{standart:["cssStyleElementCommentsNameFontFamily"]}}})}var LN=o(445),WN=o.n(LN);const VN={skin1:[{photo:"".concat(Object(wo.a)("editor/img/skin1-1.jpg")),name:"Quenten Kortum",message:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In comdimentum facilisis porta. Sed nec diam mattis viverra. Nulla fringilla, orci ac euismod semper, magna diam porttitor mauris, quis sollictudin sapien justo in libero."},{photo:"".concat(Object(wo.a)("editor/img/skin1-2.jpg")),name:"Uzoma Buchi",message:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In comdimentum facilisis porta. Sed nec diam mattis viverra. Nulla fringilla, orci ac euismod semper, magna diam porttitor mauris, quis sollictudin sapien justo in libero.",children:[{photo:"".concat(Object(wo.a)("editor/img/skin1-3.jpg")),name:"Sukhnam Chander",message:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In condimentum facilisis porta. Sed nec diam eu diam mattis viverra. Nulla fringilla, orci ac eusmod semper."}]},{photo:"".concat(Object(wo.a)("editor/img/skin1-4.jpg")),name:"Ivan Morais",message:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In comdimentum facilisis porta. Sed nec diam mattis viverra. Nulla fringilla, orci ac euismod semper, magna diam porttitor mauris, quis sollictudin sapien justo in libero."}],skin2:[{photo:"".concat(Object(wo.a)("editor/img/skin1-1.jpg")),name:"Quenten Kortum",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."},{photo:"".concat(Object(wo.a)("editor/img/skin1-2.jpg")),name:"Kwak Seong-Min",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra.",children:[{photo:"".concat(Object(wo.a)("editor/img/skin1-3.jpg")),name:"Xenie Dolezelova",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."}]},{photo:"".concat(Object(wo.a)("editor/img/skin1-4.jpg")),name:"Benedikt Safiyulin",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."}],skin3:[{photo:"".concat(Object(wo.a)("editor/img/skin1-1.jpg")),name:"Quinten Kortum",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."},{photo:"".concat(Object(wo.a)("editor/img/skin1-2.jpg")),name:"Jason Bailey",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra.",children:[{photo:"".concat(Object(wo.a)("editor/img/skin1-3.jpg")),name:"Kong Yijun",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."}]},{photo:"".concat(Object(wo.a)("editor/img/skin1-4.jpg")),name:"Emilee Simchenko",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."}],skin4:[{photo:"".concat(Object(wo.a)("editor/img/skin1-1.jpg")),name:"Arend Pellewever",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."},{photo:"".concat(Object(wo.a)("editor/img/skin1-2.jpg")),name:"Otmar Dolezal",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra.",children:[{photo:"".concat(Object(wo.a)("editor/img/skin1-3.jpg")),name:"Ashish Asharaful",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam eu diam mattis."}]},{photo:"".concat(Object(wo.a)("editor/img/skin1-4.jpg")),name:"Siri Jakobsson",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."}]};class DN extends fo.Component{templateComment(e,t){const{name:o,photo:n,message:a,children:r}=e,i=ra()("brz-li",{"brz-comments__name":"skin1"===t||"skin3"===t,"brz-comments__name-date":"skin2"===t});return"skin4"===t?Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement("ul",{className:"brz-ul brz-comments__right-date"},Oo.a.createElement("li",{className:"brz-li brz-comments__name-date"},Oo.a.createElement("span",{className:"brz-span brz-comments__name"},Oo.a.createElement("a",{href:"#"},o)),Oo.a.createElement("span",{className:"brz-span brz-comments__date"},Oo.a.createElement("a",{href:"#"},Oo.a.createElement("span",{className:"brz-span"},"23.09.2019, 14:35")))),Oo.a.createElement("li",{className:"brz-comments__logo"},Oo.a.createElement("a",{href:"#"},Oo.a.createElement("img",{src:n,className:"brz-img brz-comments__logo-img"}))),Oo.a.createElement("li",{className:"brz-li brz-comments__text"},Oo.a.createElement("p",null,a,Oo.a.createElement("a",{className:"comment-reply-link",href:"#"},"Reply")))),r&&Oo.a.createElement("ul",{className:"brz-comments-children"},Oo.a.createElement("li",{className:"comment even depth-2 brz-comments brz-comments__skin-skin4"},this.templateComment(r[0],t)))):Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement("div",{className:"brz-comments__logo"},Oo.a.createElement("a",{href:"#"},Oo.a.createElement("img",{src:n,className:"brz-img brz-comments__logo-img"}))),Oo.a.createElement("ul",{className:"brz-ul brz-comments__right-date"},Oo.a.createElement("li",{className:i},("skin1"===t||"skin3"===t)&&Oo.a.createElement("a",{href:"#"},o),"skin2"===t&&Oo.a.createElement(Oo.a.Fragment,null,Oo.a.createElement("span",{className:"brz-span brz-comments__name"},Oo.a.createElement("a",{href:"#"},o)),Oo.a.createElement("span",{className:"brz-span brz-comments__date"},Oo.a.createElement("a",{href:"#"},Oo.a.createElement("span",{className:"brz-span"},"23.09.2019, 14:35"))))),("skin1"===t||"skin3"===t)&&Oo.a.createElement("li",{className:"brz-li brz-comments__date"},Oo.a.createElement("a",{href:"#"},Oo.a.createElement("span",{className:"brz-span"},"23.09.2019, 14:35"))),"skin1"===t&&Oo.a.createElement("li",{className:"brz-li brz-comments__reply"},Oo.a.createElement("a",{className:"comment-reply-link",href:"#"},"Reply")),Oo.a.createElement("li",{className:"brz-comment-awaiting-moderation"},a,"skin3"===t&&Oo.a.createElement("a",{className:"comment-reply-link",href:"#"},"Reply")),"skin2"===t&&Oo.a.createElement("li",{className:"brz-li brz-comments__reply"},Oo.a.createElement("a",{className:"comment-reply-link",href:"#"},"Reply"))),r&&Oo.a.createElement("ul",{className:"brz-comments-children"},Oo.a.createElement("li",{className:"comment even depth-2 brz-comments brz-comments__skin-".concat(t)},this.templateComment(r[0],t))))}renderForEdit(){const{skin:e}=this.props,t=VN[e];return Oo.a.createElement("div",{className:"brz-comments-parrent"},Oo.a.createElement("div",null,Oo.a.createElement("div",{className:"brz-blocked"},Oo.a.createElement("ul",{className:"brz-comments"},t.map((t,o)=>Oo.a.createElement("li",{key:o,className:"comment even depth-2 brz-comments brz-comments__skin-".concat(e)},this.templateComment(t,e)))),Oo.a.createElement("div",{className:"brz-comment-respond"},Oo.a.createElement("h3",{id:"reply-title",className:"brz-comment-reply-title"},"Leave a comment"),Oo.a.createElement("form",{className:"brz-form brz--comment__form-reply-body"},Oo.a.createElement("p",{className:"brz-comment-form-comment"},Oo.a.createElement("textarea",{name:"comment",cols:"45",rows:"8","aria-required":"true"})),Oo.a.createElement("p",{className:"brz-form-submit"},Oo.a.createElement("input",{name:"submit",type:"submit",id:"brz-submit",className:"brz-submit",value:"Post Comment"})))))))}renderForView(){const{limit:e,skin:t,linkPage:o}=this.props,n={limit:e,skin:t,linkPage:o};return Oo.a.createElement(xF,{className:"brz-comments-parrent",name:"brizy_comments",attributes:n,placeholderIcon:"wp-shortcode"})}render(){return this.renderForEdit()}}Object(yo.a)(DN,"defaultProps",{limit:0,skin:"",linkPage:""});var AN=DN;class GN extends Oo.a.Component{renderForEdit(){const{appId:e,type:t,data:o}=this.props;return"facebook"===t?Oo.a.createElement(xN,{appId:e,type:"Comments",data:o}):"disqus"===t&&""===o.shortname?Oo.a.createElement("p",{className:"brz-disqus-no-data"},"Add the required data"):"disqus"===t?Oo.a.createElement(WN.a.DiscussionEmbed,o):Oo.a.createElement(AN,o)}renderForView(){const{appId:e,type:t,data:o}=this.props;return"facebook"===t?Oo.a.createElement(xN,{appId:e,type:"Comments",data:o}):"disqus"===t?Oo.a.createElement("div",Object(ta.a)({id:"disqus_thread"},o)):Oo.a.createElement(AN,o)}render(){return this.renderForEdit()}}Object(yo.a)(GN,"defaultProps",{type:"",appId:"",data:{}});var UN=GN;const KN=Boolean(Bo.a.get("wp"));function qN({v:e,device:t,state:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t}),a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:r}=Object(sh.d)(a("borderColorHex"),a("borderColorPalette")),i=KN?[{title:Object(an.a)("Facebook"),value:"facebook"},{title:Object(an.a)("Disqus"),value:"disqus"},{title:Object(an.a)("WordPress"),value:"WPComments"}]:[{title:Object(an.a)("Facebook"),value:"facebook"},{title:Object(an.a)("Disqus"),value:"disqus"}];return[{id:n("toolbarCurrentElement"),type:"popover",icon:"nc-comments",title:Object(an.a)("Comments"),devices:"desktop",position:70,options:[{id:"type",type:"select-dev",label:Object(an.a)("Comments"),devices:"desktop",choices:i},{id:"skin",label:Object(an.a)("Skin"),type:"select-dev",disabled:"WPComments"!==e.type,devices:"desktop",choices:[{title:Object(an.a)("Skin 1"),value:"skin1"},{title:Object(an.a)("Skin 2"),value:"skin2"},{title:Object(an.a)("Skin 3"),value:"skin3"},{title:Object(an.a)("Skin 4"),value:"skin4"}]},{id:"numPosts",label:Object(an.a)("Posts"),type:"slider-dev",disabled:"facebook"!==e.type&&"WPComments"!==e.type,devices:"desktop",config:{min:5,max:20,debounceUpdate:!0}},{id:"disqusShortname",type:"inputText-dev",label:Object(an.a)("Shortname"),disabled:"disqus"!==e.type,devices:"desktop",placeholder:"shortname"},{id:"logoSize",label:Object(an.a)("Avatar"),type:"slider-dev",disabled:"WPComments"!==e.type,config:{min:10,max:100,units:[{value:"px",title:"px"}]}}]},{id:n("toolbarTypography"),type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:n("tabsTypography"),type:"tabs",tabs:[{id:n("tabTypographyName"),label:Object(an.a)("Name"),options:[{id:"name",type:"typography-dev",disabled:"WPComments"!==e.type,config:{fontFamily:"desktop"===t}}]},{id:n("tabTypographyComment"),label:Object(an.a)("Comment"),options:[{id:"comment",type:"typography-dev",disabled:"WPComments"!==e.type,config:{fontFamily:"desktop"===t}}]},{id:n("tabTypographyDate"),label:Object(an.a)("Date"),options:[{id:"date",type:"typography-dev",disabled:"WPComments"!==e.type,config:{fontFamily:"desktop"===t}}]},{id:n("tabTypographyReply"),label:Object(an.a)("Reply"),options:[{id:"reply",type:"typography-dev",disabled:"WPComments"!==e.type,config:{fontFamily:"desktop"===t}}]},{id:n("tabTypographyPostButton"),label:Object(an.a)("Button"),options:[{id:"postButton",type:"typography-dev",disabled:"WPComments"!==e.type,config:{fontFamily:"desktop"===t}}]}]}]},{id:n("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),devices:"desktop",roles:["admin"],position:80,icon:{style:{backgroundColor:Object(mn.c)(r,e.borderColorOpacity)}},options:[{id:"tabsColor",type:"tabs",hideHandlesWhenOne:!1,tabs:[{id:"tabNameColor",label:Object(an.a)("Name"),options:[{id:"nameColor",disabled:"WPComments"!==e.type,type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabCommentsColor",label:Object(an.a)("Comments"),options:[{id:"commentsColor",disabled:"WPComments"!==e.type,type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabPostButtonColor",label:Object(an.a)("Btn Color"),options:[{id:"postButtonColor",type:"colorPicker-dev",disabled:"WPComments"!==e.type,states:[uw.c,uw.b]}]},{id:"tabPostButtonBg",label:Object(an.a)("Btn Bg"),options:[{id:"postButtonBgColor",type:"colorPicker-dev",disabled:"WPComments"!==e.type,states:[uw.c,uw.b]}]}]}]},{id:n("toolbarLink"),type:"popover",icon:"nc-link",title:Object(an.a)("Link"),size:"medium",position:90,options:[{id:"targetUrl",label:Object(an.a)("Target URL"),type:"select-dev",devices:"desktop",choices:[{title:Object(an.a)("Current Page"),value:"current"},{title:Object(an.a)("Custom Page"),value:"custom"}]},{id:"href",label:Object(an.a)("Link"),type:"inputText-dev",placeholder:"http://",disabled:"current"===a("targetUrl"),devices:"desktop"}]}]}function YN({v:e,device:t,state:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t}),a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:r}=Object(sh.d)(a("borderColorHex"),a("borderColorPalette"));return[{id:n("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),devices:"desktop",roles:["admin"],position:80,icon:{style:{backgroundColor:Object(mn.c)(r,e.borderColorOpacity)}},options:[{id:"tabsColor",type:"tabs",hideHandlesWhenOne:!1,tabs:[{id:"tabBgColor",label:Object(an.a)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:n("toolbarSettings"),type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:n("advancedSettings"),type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog"}]},Object(ej.I)({device:t,state:"normal"})]}const XN=Object(an.a)("Comments");function ZN({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[]},{id:(e=>Object(rh.defaultValueKey)({key:e,device:t}))("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal",devices:"desktop"}),Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}var JN=o(446);class $N extends Zu.a{static get componentId(){return"FacebookComments"}getAppDataEditor(){return{appId:0x67903d22b9a8,href:"http://brizy.io",lang:"en_US"}}getAppDataPreview(){return{appId:0x67903d22b9a8,href:"{{ brizy_dc_current_page_unique_url }}",lang:"{{ brizy_dc_page_language }}"}}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(Ft,Nt,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:"".concat(this.constructor.componentId,"Parent")});this.props.extendParentToolbar(e)}handleValueChange(e,t){super.handleValueChange(e,t),t.patch.type&&Object(Aa.d)()}renderForEdit(e,t,o){const{type:n,numPosts:a,darkScheme:r,targetUrl:i,href:l,disqusShortname:c,skin:s}=e,d=this.getAppDataEditor(),p={facebook:{width:"100%",numPosts:a,colorScheme:"on"===r?"dark":"light",href:"custom"===i&&""!==l?l:d.href,lang:d.lang},disqus:{shortname:c,config:{url:"custom"===i&&""!==l?l:d.href,identifier:"custom"===i&&""!==l?l:d.href}},WPComments:{skin:s}},u=ra()("brz-comments",{"brz-fb-comments":"facebook"===n},Qb("".concat(this.constructor.componentId),"".concat(this.getId()),NN(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(It),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:u},Oo.a.createElement(UN,{appId:d.appId,type:n,data:p[n]}))))}renderForView(e,t,o){const{type:n,numPosts:a,darkScheme:r,targetUrl:i,href:l,disqusShortname:c,skin:s}=e,d=this.getAppDataPreview(),p={facebook:{"data-width":"100%","data-numposts":a,"data-colorscheme":"on"===r?"dark":"light","data-href":"custom"===i&&""!==l?l:d.href,"data-lang":d.lang},disqus:{"data-shortname":c,"data-url":"custom"===i&&""!==l?l:d.href,"data-identifier":"custom"===i&&""!==l?l:d.href},WPComments:{limit:a,skin:s,linkPage:"custom"===i&&""!==l?l:d.href}},u=ra()("brz-comments",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),NN(e,t,o)));return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:u},Oo.a.createElement(UN,{appId:d.appId,type:n,data:p[n]})))}}Object(yo.a)($N,"defaultValue",JN);var QN=$N;function eL(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover:before":{standart:["cssStyleBoxShadow","cssStyleBorder"],interval:["cssStyleHoverTransition","cssStyleElementFacebookEmbedPropertyHoverTransition"]}}})}function tL({v:e,device:t,state:o}){const n=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:a}=Object(sh.d)(n("borderColorHex"),n("borderColorPalette"));return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"popoverCurrentElement",type:"popover",icon:"nc-facebook",title:Object(an.a)("Embed"),devices:"desktop",position:70,options:[{id:"tabsCurrentElement",type:"tabs",tabs:[{id:"tabCurrentElement",label:Object(an.a)("Embed"),options:[{id:"type",label:Object(an.a)("Embed"),type:"select-dev",devices:"desktop",choices:[{title:Object(an.a)("Post"),value:"post"},{title:Object(an.a)("Video"),value:"video"}]},{label:Object(an.a)("Link"),id:"postHref",type:"inputText-dev",devices:"desktop",disabled:"post"!==n("type")},{label:Object(an.a)("Link"),id:"videoHref",type:"inputText-dev",devices:"desktop",disabled:"video"!==n("type")},{id:"postAndVideoShowText",label:Object(an.a)("Include Full Post"),type:"switch-dev",devices:"desktop"}]},{id:"advanced",label:Object(an.a)("Advanced"),options:[{id:"videoAllowFullScreen",label:Object(an.a)("Full Screen"),type:"switch-dev",devices:"desktop",disabled:"video"!==n("type")},{id:"videoAutoPlay",label:Object(an.a)("AutoPlay"),type:"switch-dev",devices:"desktop",disabled:"video"!==n("type")},{id:"videoCaptions",label:Object(an.a)("Captions"),type:"switch-dev",devices:"desktop",disabled:"video"!==n("type")}]}]}]},{id:"popoverColor",type:"popover",size:"auto",title:Object(an.a)("Colors"),devices:"desktop",roles:["admin"],position:80,icon:{style:{backgroundColor:Object(mn.c)(a,e.borderColorOpacity)}},options:[{id:"tabsColor",type:"tabs",hideHandlesWhenOne:!1,tabs:[{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:"advancedSettings",type:"advancedSettings",roles:["admin"],icon:"nc-cog",position:110}]}const oL=Object(an.a)("Facebook Embed");function nL({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal",devices:"desktop"}),Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}var aL=o(447);class rL extends Zu.a{static get componentId(){return"FacebookEmbed"}getAppData(){return{appId:0x67903d22b9a8,lang:"{{ brizy_dc_page_language }}"}}renderForEdit(e,t,o){const{type:n,postAndVideoShowText:a,videoAllowFullScreen:r,videoAutoPlay:i,videoCaptions:l,postHref:c,videoHref:s}=e,d=this.getAppData(),p="post"===n?{width:"auto",showText:"on"===a,href:c,lang:d.lang}:{width:"auto",showText:"on"===a,allowFullScreen:"on"===r,autoPlay:"on"===i,showCaptions:"on"===l,href:s,lang:d.lang},u="post"===n?"EmbeddedPost":"EmbeddedVideo",b=ra()("brz-fb-embed",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),eL(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Lt,Wt),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:b},Oo.a.createElement(xN,{appId:d.appId,type:u,data:p}))))}renderForView(e,t,o){const{type:n,postAndVideoShowText:a,videoAllowFullScreen:r,videoAutoPlay:i,videoCaptions:l,postHref:c,videoHref:s}=e,d=this.getAppData(),p="post"===n?{"data-show-text":"on"===a,"data-href":c,"data-lang":d.lang}:{"data-width":"auto","data-show-text":"on"===a,"data-allowFullScreen":"on"===r,"data-autoplay":"on"===i,"data-show-captions":"on"==l,"data-href":s,"data-lang":d.lang},u="post"===n?"post":"video",b=ra()("brz-fb-embed",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),eL(e,t,o)));return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:b},Oo.a.createElement(xN,{appId:d.appId,type:u,data:p})))}}Object(yo.a)(rL,"defaultValue",aL);var iL=rL;function lL(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover:before":{standart:["cssStyleBoxShadow","cssStyleBorder"],interval:["cssStyleHoverTransition","cssStyleElementFacebookPagePropertyHoverTransition"]}}})}function cL({v:e,device:t,state:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t}),a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:r}=Object(sh.d)(a("borderColorHex"),a("borderColorPalette"));return[{id:n("toolbarCurrentElement"),type:"popover",devices:"desktop",icon:"nc-facebook",title:Object(an.a)("Page"),position:70,options:[{id:"tabsCurrentElement",type:"tabs",tabs:[{id:"tabCurrentElement",label:Object(an.a)("Page"),options:[{id:"href",label:Object(an.a)("Link"),type:"inputText-dev",devices:"desktop",placeholder:"https://facebook.com/brizy.io"},{id:"pageTabs",label:Object(an.a)("Tabs"),type:"select-dev",devices:"desktop",choices:[{title:Object(an.a)("Timeline"),value:"timeline"},{title:Object(an.a)("Events"),value:"events"},{title:Object(an.a)("Messages"),value:"messages"}]},{id:"height",label:Object(an.a)("Height"),type:"slider-dev",devices:"desktop",config:{min:70,max:800,units:[{value:"px",title:"px"}],debounceUpdate:!0}}]},{id:"tabAdvanced",label:Object(an.a)("Advanced"),type:"tabs",options:[{id:"smallHeader",label:Object(an.a)("Use Small Header"),type:"switch-dev",devices:"desktop"},{id:"hideCover",label:Object(an.a)("Hide Cover Photo"),type:"switch-dev",devices:"desktop"},{id:"showFacepile",label:Object(an.a)("Show Friend's Faces"),type:"switch-dev",devices:"desktop"}]}]}]},{id:n("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],position:80,devices:"desktop",icon:{style:{backgroundColor:Object(mn.c)(r,e.borderColorOpacity)}},options:[{id:"tabsColor",type:"tabs",hideHandlesWhenOne:!1,tabs:[{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:n("advancedSettings"),type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),roles:["admin"],position:110,icon:"nc-cog"},{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}const sL=Object(an.a)("Facebook Page");function dL({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[]},{id:(e=>Object(rh.defaultValueKey)({key:e,device:t}))("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal",devices:"desktop"}),Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}var pL=o(448);class uL extends Zu.a{static get componentId(){return"FacebookPage"}getAppData(){return{appId:0x67903d22b9a8,lang:"{{ brizy_dc_page_language }}"}}renderForEdit(e,t,o){const{pageTabs:n,height:a,smallHeader:r,hideCover:i,showFacepile:l,href:c}=e,s=this.getAppData(),d={width:"500",tabs:n,height:a,smallHeader:"on"===r,hideCover:"on"===i,adaptContainerWidth:!0,showFacepile:"on"===l,href:""===c?"https://facebook.com/brizy.io":c,lang:s.lang},p=ra()("brz-fb-page",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),lL(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Vt,Dt),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:p},Oo.a.createElement(xN,{appId:s.appId,key:this.key,type:"Page",data:d}))))}renderForView(e,t,o){const{pageTabs:n,height:a,smallHeader:r,hideCover:i,showFacepile:l,href:c}=e,s=this.getAppData(),d={"data-width":"500","data-tabs":n,"data-height":a,"data-small-header":"on"===r,"data-hide-cover":"on"===i,"data-adapt-container-width":!0,"data-show-facepile":"on"===l,"data-href":""===c?"https://facebook.com/brizy.io":c,"data-lang":s.lang},p=ra()("brz-fb-page",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),lL(e,t,o)));return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:p},Oo.a.createElement(xN,{appId:s.appId,type:"Page",data:d})))}}Object(yo.a)(uL,"defaultValue",pL);var bL=uL;function hL(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover:before":{standart:["cssStyleBoxShadow","cssStyleBorder"],interval:["cssStyleHoverTransition","cssStyleElementFacebookGroupPropertyHoverTransition"]}}})}function mL({v:e,device:t,state:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t}),a=n=>Object(rh.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:r}=Object(sh.d)(a("borderColorHex"),a("borderColorPalette"));return[{id:n("toolbarCurrentElement"),type:"popover",icon:"nc-facebook",title:Object(an.a)("Page"),devices:"desktop",position:70,options:[{id:"href",label:Object(an.a)("Link"),type:"inputText-dev",devices:"desktop",placeholder:"https://www.facebook.com/groups/brizy/"},{id:"skin",label:Object(an.a)("Skin"),type:"select-dev",devices:"desktop",choices:[{title:Object(an.a)("Light"),value:"light"},{title:Object(an.a)("Dark"),value:"dark"}]},{id:"showSocialContext",label:Object(an.a)("Show Social Context"),type:"switch-dev",devices:"desktop"},{id:"showMetaData",label:Object(an.a)("Show Meta Data"),type:"switch-dev",devices:"desktop"}]},{id:n("popoverColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),devices:"desktop",roles:["admin"],position:80,icon:{style:{backgroundColor:Object(mn.c)(r,e.borderColorOpacity)}},options:[{id:"tabsColor",type:"tabs",state:o,hideHandlesWhenOne:!1,tabs:[{id:"tabBorder",label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev",states:[uw.c,uw.b]}]},{id:"tabBoxShadow",label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:"toolbarSettings",type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",devices:"desktop",config:{min:180,max:500,units:[{value:"px",title:"px"}],debounceUpdate:!0}},{id:n("advancedSettings"),type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),label:Object(an.a)("More Settings"),icon:"nc-cog"}]}]}const gL=Object(an.a)("Facebook Group");function vL({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",devices:"desktop",options:[]},{id:"moreSettingsAdvanced",label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal",devices:"desktop"}),Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop",position:100})]}]}]}var yL=o(449);class fL extends Zu.a{static get componentId(){return"FacebookGroup"}getAppData(){return{appId:0x67903d22b9a8,lang:"{{ brizy_dc_page_language }}"}}renderForEdit(e,t,o){const{width:n,href:a,showSocialContext:r,showMetaData:i,skin:l}=e,c=this.getAppData(),s={width:n,href:""===a?"https://www.facebook.com/groups/brizy/":a,showSocialContext:"on"===r,showMetaData:"on"===i,skin:l,lang:c.lang},d=ra()("brz-fb-group",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),hL(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(At,Gt),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:d},Oo.a.createElement(xN,{appId:c.appId,type:"Group",data:s}))))}renderForView(e,t,o){const{width:n,href:a,showSocialContext:r,showMetaData:i,skin:l}=e,c=this.getAppData(),s={"data-width":n,"data-href":""===a?"https://www.facebook.com/groups/brizy/":a,"data-show-social-context":"on"===r,"data-show-metadata":"on"===i,"data-skin":l,"data-lang":c.lang},d=ra()("brz-fb-group",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),hL(e,t,o)));return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement("div",{className:d},Oo.a.createElement(xN,{appId:c.appId,type:"Group",data:s})))}}Object(yo.a)(fL,"defaultValue",yL);var OL=fL,CL=o(450);class SL extends fo.Component{renderForEdit(){const{type:e,data:t}=this.props,o=CL[{embed:"TwitterTimelineEmbed",followButton:"TwitterFollowButton",mentionButton:"TwitterMentionButton"}[e]];return Oo.a.createElement(o,Object(ta.a)({key:JSON.stringify(t)},t))}renderForView(){const{data:e}=this.props;return Oo.a.createElement("a",e)}render(){return this.renderForEdit()}}Object(yo.a)(SL,"defaultProps",{type:"",data:{}});var xL=SL;function jL({v:e,device:t,state:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t}),a="embed"===e.twitter?[{title:Object(an.a)("Embed"),value:"embed"}]:[{title:Object(an.a)("Follow"),value:"followButton"},{title:Object(an.a)("Mention"),value:"mentionButton"}];return[{id:n("toolbarCurrentShortcode"),type:"popover",icon:"nc-twitter",title:Object(an.a)("Twitter"),position:60,options:[{id:"tabsCurrentElement",type:"tabs",tabs:[{id:"tabCurrentElement",label:Object(an.a)("Twitter"),options:[{id:"twitterUsername",label:Object(an.a)("Username"),type:"inputText-dev",devices:"desktop",placeholder:"username"},Object(ej.Ib)({v:e,device:t,devices:"desktop",state:o}),{id:"twitterType",label:Object(an.a)("Type"),type:"select-dev",devices:"desktop",choices:a,disabled:a.length<=1},{id:"twitterTheme",label:Object(an.a)("Theme"),type:"select-dev",devices:"desktop",disabled:"embed"!==e.twitterType,choices:[{title:Object(an.a)("Light"),value:"light"},{title:Object(an.a)("Dark"),value:"dark"}]}]},{id:"tabAdvanced",label:Object(an.a)("Advanced"),options:[{type:"multiPicker",disabled:"followButton"!==e.twitterType&&"mentionButton"!==e.twitterType,position:10,picker:{id:"buttonLarge",label:Object(an.a)("Button Size"),type:"radioGroup",choices:[{value:"small",icon:"nc-small"},{value:"large",icon:"nc-large"}],value:e.buttonLarge}},{id:"buttonShowCount",label:Object(an.a)("Followers"),type:"switch-dev",disabled:"followButton"!==e.twitterType,devices:"desktop"},{id:"buttonShowScreenName",label:Object(an.a)("Handle"),type:"switch-dev",disabled:"followButton"!==e.twitterType,devices:"desktop"},{id:"tweet",label:Object(an.a)("Tweet"),type:"inputText-dev",disabled:"mentionButton"!==e.twitterType,devices:"desktop",placeholder:"this is my tweet"}]}]}]},"embed"===e.twitterType?{id:n("toolbarSettings"),type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"height",label:Object(an.a)("Height"),type:"slider-dev",config:{min:200,max:700,inputMin:0,inputMax:9999,units:[{value:"px",title:"px"}]}},{id:(e=>Object(rh.defaultValueKey)({key:e,device:t,state:o}))("advancedSettings"),type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}:Object(ej.Q)({device:t}),"embed"===e.twitterType?Object(ej.I)({device:t}):{id:n("advancedSettings"),type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),roles:["admin"],position:110,icon:"nc-cog"}]}const BL=Object(an.a)("Twitter");function PL({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[]},{id:(e=>Object(rh.defaultValueKey)({key:e,device:t}))("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal",devices:"desktop"})]}]}]}function wL(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&.brz-customSize:hover":{standart:["cssStyleSizeWidthPercent","cssStyleSizeHeightPx"]}}})}var TL=o(451);class zL extends Zu.a{static get componentId(){return"Twitter"}renderForEdit(e,t,o){const{twitterType:n,twitterUsername:a,twitterTheme:r,buttonLarge:i,buttonShowCount:l,buttonShowScreenName:c,customCSS:s}=e,d=a.trim()||"ThemeFuse",p=ra()("brz-twitter",{"brz-customSize":"embed"===n},Qb("".concat(this.constructor.componentId),"".concat(this.getId()),wL(e,t,o))),u={embed:{sourceType:"profile",screenName:d,theme:r,url:"https://twitter.com/".concat(d),options:{height:"100%"}},followButton:{screenName:d,url:"https://twitter.com/".concat(d),options:{size:"large"===i?"large":"small",showCount:"on"===l,showScreenName:"on"===c}},mentionButton:{screenName:d,url:"https://twitter.com/".concat(d),options:{size:"large"===i?"large":"small"}}};return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Ut,Kt),Oo.a.createElement(vj,{selectorName:this.getId(),css:s},Oo.a.createElement("div",{className:p},Oo.a.createElement(xL,{type:n,data:u[n]}))))}renderForView(e,t,o){const{twitterType:n,twitterUsername:a,twitterTheme:r,buttonLarge:i,buttonShowCount:l,buttonShowScreenName:c,tweet:s,customCSS:d}=e,p=a.trim()||"ThemeFuse",u=ra()("brz-twitter",{"brz-customSize":"embed"===n},Qb("".concat(this.constructor.componentId),"".concat(this.getId()),wL(e,o,t))),b={embed:{"data-height":"100%",className:"twitter-timeline","data-theme":r,href:"https://twitter.com/".concat(p)},followButton:{className:"twitter-follow-button","data-related":p,href:"https://twitter.com/".concat(p),"data-show-screen-name":"on"===c,"data-size":"large"===i?"large":"small","data-show-count":"on"===l},mentionButton:{className:"twitter-mention-button",href:"https://twitter.com/".concat(p,"?screen_name=").concat(p),"data-text":s,"data-size":"large"===i?"large":"small"}};return Oo.a.createElement(vj,{selectorName:this.getId(),css:d},Oo.a.createElement("div",{className:u},Oo.a.createElement(xL,{data:b[n]})))}}Object(yo.a)(zL,"defaultValue",TL);var kL=zL;const EL={getItemsForDesktop:()=>[],getItemsForTablet:()=>[],getItemsForMobile:()=>[]},HL=e=>e.filter(e=>"remove"===e.id);class _L extends Zu.a{static get componentId(){return"NotFound"}renderForEdit(){const{componentId:e}=this.props;return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig(EL,null,{parentItemsFilter:HL}),Oo.a.createElement("div",{style:{height:"50px",lineHeight:"50px",padding:"0 10px",backgroundColor:"lightgrey"}},Object(an.a)("Could not find")," ",Oo.a.createElement("b",null,e)," ",Object(an.a)("component")))}renderForView(){return null}}Object(yo.a)(_L,"defaultProps",{message:Object(an.a)("Missing Element")}),Object(yo.a)(_L,"defaultValue",{});var RL={Page:Ib,PagePopup:Wb,Section:hj,SectionItem:TB,SectionHeader:LM,SectionHeaderItem:JM,SectionHeaderStickyItem:sI,SectionFooter:xM,Row:aP,Column:CP,Form:HP,FormFields:NP,FormField:$P,Form2:cw,Form2Fields:Sw,Form2Field:Yw,Wrapper:iT,Cloneable:OT,RichText:Uz,Audio:Rk,Video:lk,VideoPlaylist:Sk,VideoPlaylistItem:wk,Icon:Uk,Image:class extends xE{getExtraImageProps(e){const{imageSrc:t,imagePopulation:o}=e;return{alt:o?"{{ brizy_dc_image_alt placeholder='".concat(jE(o),"' }}"):"{{ brizy_dc_image_alt uid='".concat(t,"' }}")}}},Line:EE,Spacer:LE,EmbedCode:qE,Map:iH,Button:mH,Counter:jH,SoundCloud:EH,ProgressBar:NH,IconText:e_,Countdown:y_,Countdown2:T_,Tabs:V_,Tab:Z_,Timeline:pR,TimelineTab:gR,Switcher:kR,SwitcherTab:NR,Accordion:QR,AccordionItem:dM,GlobalBlock:wM,ImageGallery:jI,SectionPopup:RI,SectionPopup2:qI,Carousel:gF,StarRating:SF,MenuSimple:HF,Menu:tN,MenuItem:ON,Facebook:kN,FacebookButton:FN,FacebookComments:QN,FacebookEmbed:iL,FacebookPage:bL,FacebookGroup:OL,Twitter:kL},ML=e=>{const t=e.map(e=>({title:e.title,value:e.id}));return{getItemsForDesktop:IL(t),getItemsForTablet:FL,getItemsForMobile:NL}};const IL=e=>t=>[{id:"toolbarWPSidebar",type:"popover",icon:"nc-wp-shortcode",position:90,options:[{id:"sidebar",label:Object(an.a)("Sidebar"),type:"select-dev",devices:"desktop",choices:e}]},{id:"toolbarSettings",type:"popover",icon:"nc-cog",roles:["admin"],position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider",slider:{min:1,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:t.width},onChange:({value:e})=>({width:e})},{id:"advancedSettings",type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}],FL=e=>[{id:"tabletToolbarSettings",type:"popover",icon:"nc-cog",roles:["admin"],position:110,options:[{id:"tabletWidth",label:Object(an.a)("Width"),type:"slider",slider:{min:1,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(rh.tabletSyncOnChange)(e,"width")},onChange:({value:e})=>({tabletWidth:e})}]}],NL=e=>[{id:"mobileToolbarSettings",type:"popover",icon:"nc-cog",roles:["admin"],position:110,options:[{id:"mobileWidth",label:Object(an.a)("Width"),type:"slider",slider:{min:1,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(rh.mobileSyncOnChange)(e,"width")},onChange:({value:e})=>({mobileWidth:e})}]}],LL=Object(an.a)("Sidebar");function WL(){return[]}var VL=o(452);const DL=["centerLeft","centerRight"];class AL extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"state",{sidebars:[]}),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e))}static get componentId(){return"WPSidebar"}componentDidMount(){Object(Po.u)().then(e=>{this.setState({sidebars:e}),""===this.getValue().sidebar&&e.length>0&&this.patchValue({sidebar:e[0].id})})}renderForEdit(e,t,o){const{className:n}=e,a=ML(this.state.sidebars),r={id:e.sidebar},i=ra()("brz-wp__sidebar",Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidthPercent"]}}})}(e,t,o)),n);return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig(a,qt),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(xF,{name:"brizy_sidebar",attributes:r,placeholderIcon:"wp-shortcode",placeholderContainerWidth:this.props.meta.desktopW,className:i,resizerPoints:DL,resizerMeta:this.props.meta,resizerValue:e,resizerOnChange:this.handleResizerChange})))}}Object(yo.a)(AL,"defaultValue",VL);var GL=AL;function UL({v:e,device:t}){return[{id:Object(rh.defaultValueKey)({key:"toolbarWPCustomShortcode",device:t,state:"normal"}),type:"popover",icon:"nc-wp-shortcode",size:"large",devices:"desktop",position:10,options:[Object(ej.Tb)({v:e,device:t,devices:"desktop",state:"normal"})]},{id:Object(rh.defaultValueKey)({key:"toolbarSettings",device:t,state:"normal"}),type:"popover",icon:"nc-cog",roles:["admin"],position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:Object(rh.defaultValueKey)({key:"advancedSettings",device:t,state:"normal"}),type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}]}const KL=Object(an.a)("Shortcode");function qL(){return[]}var YL=o(453);const XL=["centerLeft","centerRight"];class ZL extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e))}static get componentId(){return"WPCustomShortcode"}renderForEdit(e,t,o){const{className:n}=e,a=ra()(Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidthPercent"]}}})}(e,t,o)),n);return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Yt,Xt),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(xF,{raw:e.shortcode,placeholderIcon:"wp-shortcode",className:a,height:45,resizerPoints:XL,resizerMeta:this.props.meta,resizerValue:e,resizerOnChange:this.handleResizerChange})))}}Object(yo.a)(ZL,"defaultValue",YL);var JL=ZL,$L=o(454),QL=e=>({getItems:eW(e)});const eW=e=>({v:t,device:o})=>{const n=e=>Object(rh.defaultValueKey)({key:e,device:o});return[{id:n("toolbarWOOProducts"),type:"popover",devices:"desktop",icon:"nc-woo-2",position:10,options:[{id:n("WOOProductsTabs"),type:"tabs",tabs:[{id:n("layoutTab"),label:Object(an.a)("Layout"),options:[{id:"columns",label:Object(an.a)("Columns"),type:"select-dev",devices:"desktop",choices:[{title:"1",value:1},{title:"2",value:2},{title:"3",value:3},{title:"4",value:4},{title:"5",value:5},{title:"6",value:6}],config:{size:"small"}},{id:"limit",label:Object(an.a)("Products Count"),type:"inputText-dev",devices:"desktop",config:{size:"short"}}]},{id:"filterTab",label:Object(an.a)("Filter"),options:[{id:"category",label:Object(an.a)("Categories"),type:"select-dev",devices:"desktop",choices:e.map(e=>({title:e.name,value:e.slug}))},{id:"orderBy",label:Object(an.a)("Filter By"),type:"select-dev",devices:"desktop",choices:[{title:Object(an.a)("Title"),value:"title"},{title:Object(an.a)("Date"),value:"date"},{title:Object(an.a)("Rating"),value:"rating"},{title:Object(an.a)("Popularity"),value:"popularity"},{title:Object(an.a)("Menu Order"),value:"menu_order"},{title:Object(an.a)("Random"),value:"rand"},{title:Object(an.a)("ID"),value:"id"}]},Object(ej.Sb)({v:t,device:o,devices:"desktop",state:"normal"})]}]}]},{id:n("toolbarSettings"),type:"popover",icon:"nc-cog",roles:["admin"],position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:n("advancedSettings"),type:"advancedSettings",devices:"desktop",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}]},tW=Object(an.a)("Woo Products");function oW(){return[]}const nW=["centerLeft","centerRight"];class aW extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"state",{taxonomies:[]}),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e))}static get componentId(){return"WOOProducts"}componentDidMount(){Object(Po.v)("product_cat").then(e=>this.setState({taxonomies:e}))}renderForEdit(e,t,o){const n=QL(this.state.taxonomies),a={ids:e.ids,limit:e.limit,category:e.category,columns:e.columns,orderby:e.orderBy,order:e.order},r=ra()(Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidthPercent"]}}})}(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(n,Zt),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(xF,{name:"products",attributes:a,placeholderIcon:"woo-2",placeholderContainerWidth:this.props.meta.desktopW,className:r,resizerPoints:nW,resizerMeta:this.props.meta,resizerValue:e,resizerOnChange:this.handleResizerChange})))}}Object(yo.a)(aW,"defaultValue",$L);var rW=aW;function iW({device:e}){const t=t=>Object(rh.defaultValueKey)({key:t,device:e,state:"normal"});return[{id:t("toolbarWOOProductPage"),devices:"desktop",type:"popover",icon:"nc-woo-2",position:10,options:[{id:"productID",label:Object(an.a)("Product ID"),type:"inputText-dev",devices:"desktop",placeholder:Object(an.a)("Product ID or SKU")}]},{id:t("toolbarSettings"),type:"popover",roles:["admin"],icon:"nc-cog",position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:t("advancedSettings"),type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}]}const lW=Object(an.a)("Woo Product");function cW(){return[]}var sW=o(455);const dW=["centerLeft","centerRight"];class pW extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e))}static get componentId(){return"WOOProductPage"}renderForEdit(e,t,o){const n={id:e.productID},a=ra()(Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidthPercent"]}}})}(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Jt,$t),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(xF,{name:"brizy_product_page",attributes:n,placeholderIcon:"woo-2",className:a,resizerPoints:dW,resizerMeta:this.props.meta,resizerValue:e,resizerOnChange:this.handleResizerChange})))}}Object(yo.a)(pW,"defaultValue",sW);var uW=pW;function bW({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t});return[{id:o("toolbarWOOCategories"),type:"popover",devices:"desktop",icon:"nc-woo-2",position:10,options:[{id:o("WOOCategoriesTabs"),type:"tabs",tabs:[{id:o("layoutTab"),label:Object(an.a)("Layout"),options:[{id:"columns",label:Object(an.a)("Columns"),type:"select-dev",devices:"desktop",choices:[{title:"1",value:1},{title:"2",value:2},{title:"3",value:3},{title:"4",value:4},{title:"5",value:5},{title:"6",value:6}]},{id:"number",label:Object(an.a)("Categories Count"),type:"inputText-dev",devices:"desktop",config:{size:"short"}}]},{id:o("orderTab"),label:Object(an.a)("Filter"),options:[{id:"orderBy",label:Object(an.a)("Filter By"),type:"select-dev",devices:"desktop",choices:[{title:Object(an.a)("Name"),value:"name"},{title:Object(an.a)("Slug"),value:"slug"},{title:Object(an.a)("Description"),value:"description"},{title:Object(an.a)("Count"),value:"count"}]},Object(ej.Rb)({v:e,device:t,devices:"desktop",state:"normal"})]}]}]},{id:o("toolbarSettings"),type:"popover",roles:["admin"],icon:"nc-cog",position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:o("advancedSettings"),type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}]}const hW=Object(an.a)("Woo Categories");function mW(){return[]}var gW=o(456);const vW=["centerLeft","centerRight"];class yW extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e))}static get componentId(){return"WOOCategories"}renderForEdit(e,t,o){const n={number:e.number,orderby:e.orderBy,order:e.order,columns:e.columns,hide_empty:e.hideEmpty,parent:e.parent,ids:e.ids},a=ra()(Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidthPercent"]}}})}(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(Qt,eo),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(xF,{name:"product_categories",attributes:n,placeholderIcon:"woo-2",className:a,resizerPoints:vW,resizerMeta:this.props.meta,resizerValue:e,resizerOnChange:this.handleResizerChange})))}}Object(yo.a)(yW,"defaultValue",gW);var fW=yW;function OW({device:e}){const t=t=>Object(rh.defaultValueKey)({key:t,device:e});return[{id:t("toolbarWOOPages"),type:"popover",devices:"desktop",icon:"nc-woo-2",position:10,options:[{id:"shortcode",label:Object(an.a)("Page"),type:"select-dev",devices:"desktop",choices:[{title:Object(an.a)("Cart"),value:"woocommerce_cart"},{title:Object(an.a)("Checkout"),value:"woocommerce_checkout"},{title:Object(an.a)("My Account"),value:"woocommerce_my_account"},{title:Object(an.a)("Order Tracking"),value:"woocommerce_order_tracking"}]}]},{id:t("toolbarSettings"),type:"popover",roles:["admin"],icon:"nc-cog",position:110,options:[{id:"width",label:Object(an.a)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:t("advancedSettings"),type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}]}const CW=Object(an.a)("Woo Pages");function SW(){return[]}var xW=o(457);const jW=["centerLeft","centerRight"];class BW extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"handleResizerChange",e=>this.patchValue(e))}static get componentId(){return"WOOPages"}renderForEdit(e,t,o){const n=ra()(Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidthPercent"]}}})}(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(to,oo),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(xF,{name:e.shortcode,placeholderIcon:"woo-2",placeholderContainerWidth:this.props.meta.desktopW,className:n,resizerPoints:jW,resizerMeta:this.props.meta,resizerValue:e,resizerOnChange:this.handleResizerChange})))}}Object(yo.a)(BW,"defaultValue",xW);var PW=BW,wW={getItems:function(){return[{id:"main",type:"group",title:Object(an.a)("Posts"),icon:"nc-posts",disabled:(e,t)=>t.isInSubMenu,items:[]}]}};class TW extends Ju.a{constructor(...e){super(...e),Object(yo.a)(this,"handleSortableAcceptElements",e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0})}static get componentId(){return"Posts.Items"}getItemProps(){return{meta:this.props.meta}}getLoopAttributes(){const{loopAttributes:e}=this.props;return Object.keys(e).reduce((t,o)=>"".concat(t," ").concat(o,"='").concat(e[o],"'"),"")}renderForEdit(e){const{className:t,style:o,gridRow:n,gridColumn:a,pagination:r}=this.props,i=super.renderForEdit(e),l=Array(n*a).fill(i);return Oo.a.createElement(Ua,{path:this.getPath(),type:"posts",acceptElements:this.handleSortableAcceptElements},Oo.a.createElement("div",{className:t,style:o},l,r&&Oo.a.createElement("ul",{className:"page-numbers"},Oo.a.createElement("li",null,Oo.a.createElement("span",{className:"page-numbers current"},"1")),Oo.a.createElement("li",null,Oo.a.createElement("a",{className:"page-numbers",href:"#"},"2")),Oo.a.createElement("li",null,Oo.a.createElement("a",{className:"page-numbers",href:"#"},"3")),Oo.a.createElement("li",null,Oo.a.createElement("a",{className:"page-numbers",href:"#"},"...")),Oo.a.createElement("li",null,Oo.a.createElement("a",{className:"page-numbers",href:"#"},"10")),Oo.a.createElement("li",null,Oo.a.createElement("a",{className:"page-numbers",href:"#"},"11")))))}renderForView(e){const t=e.map(this.renderItem),{className:o,style:n,pagination:a}=this.props;return Oo.a.createElement("div",{className:o,style:n},"{{ brizy_dc_post_loop ".concat(this.getLoopAttributes()," }}"),super.renderItemsContainer(t),"{{end_brizy_dc_post_loop}}",a&&"{{ brizy_dc_post_loop_pagination ".concat(this.getLoopAttributes()," }}"))}}Object(yo.a)(TW,"defaultProps",{gridRow:1,gridColumn:2,pagination:!1,loopAttributes:{},meta:{}});var zW=TW;function kW(e){const{className:t,gridColumn:o}=e;let n;n={".brz & ul.page-numbers":{color:"var(--color)"},".brz-ed--desktop &":{gridTemplateColumns:"var(--gridTemplateColumn)",gridGap:"var(--gridGap)","& ul.page-numbers":{marginTop:"var(--marginTop)"}},".brz-ed--tablet &":{gridTemplateColumns:"var(--tabletGridTemplateColumn)",gridGap:"var(--tabletGridGap)","& ul.page-numbers":{marginTop:"var(--tabletMarginTop)"}},".brz-ed--mobile &":{gridGap:"var(--mobileGridGap)","& ul.page-numbers":{marginTop:"var(--mobileMarginTop)"}}};const a=String(Object(SP.css)(n));return ra()("brz-posts",{["brz-posts__col-".concat(o)]:!0},a,t)}function EW(e){const{gridColumn:t,padding:o,paginationSpacing:n,tabletGridColumn:a}=e,r=1===t?"100%":"".concat(100/t,"%"),i=1===a?"100%":"".concat(100/a,"%"),l=Object(rh.tabletSyncOnChange)(e,"padding"),c=Object(rh.tabletSyncOnChange)(e,"paginationSpacing"),s=Object(rh.mobileSyncOnChange)(e,"padding"),d=Object(rh.mobileSyncOnChange)(e,"paginationSpacing");return{"--gridTemplateColumn":"repeat(".concat(t,", minmax(0, ").concat(r,"))"),"--gridGap":"".concat(o,"px"),"--color":dh({v:e,device:"desktop",state:"normal",prefix:"paginationColor"}),"--marginTop":"".concat(n,"px"),"--tabletGridTemplateColumn":"repeat(".concat(a,", minmax(0, ").concat(i,"))"),"--tabletGridGap":"".concat(l,"px"),"--tabletMarginTop":"".concat(c,"px"),"--mobileGridGap":"".concat(s,"px 0"),"--mobileMarginTop":"".concat(d,"px")}}function HW({v:e,device:t}){const o=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),{hex:n}=Object(sh.d)(o("paginationColorHex"),o("paginationColorPalette"));return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0},..."archives"===o("type")?_W(e,t):RW(e,t),{id:(e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}))("toolbarColor"),type:"popover",devices:"desktop",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],disabled:"off"===o("pagination"),position:80,icon:{style:{backgroundColor:Object(mn.c)(n,o("paginationColorOpacity"))}},options:[{type:"tabs",hideHandlesWhenOne:!1,tabs:[{label:Object(an.a)("Pagination"),options:[{id:"paginationColor",type:"colorPicker-dev"}]}]}]}]}function _W(e,t){return[{id:(e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}))("toolbarPosts"),type:"popover",icon:"nc-wp-shortcode",title:Object(an.a)("Archives"),roles:["admin"],devices:"desktop",position:80,options:[{id:"gridColumn",label:Object(an.a)("Columns"),type:"slider-dev",config:{min:1,max:6}},{id:"gridRow",label:Object(an.a)("Rows"),type:"slider-dev",devices:"desktop",config:{min:1,max:10}},{id:"padding",label:Object(an.a)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}function RW(e,t){return[{id:(e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}))("toolbarPosts"),type:"popover",icon:"nc-wp-shortcode",title:Object(an.a)("Posts"),roles:["admin"],position:80,options:[{type:"tabs",devices:"desktop",tabs:[{label:Object(an.a)("Posts"),options:[{id:"gridColumn",label:Object(an.a)("Columns"),type:"slider-dev",config:{min:1,max:6}},{id:"gridRow",label:Object(an.a)("Rows"),type:"slider-dev",config:{min:1,max:10}},{id:"padding",label:Object(an.a)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{label:Object(an.a)("Filter"),options:[Object(ej.xb)({v:e,device:t,state:"normal"}),{id:"orderBy",label:Object(an.a)("Filter By"),type:"select-dev",choices:[{title:Object(an.a)("ID"),value:"ID"},{title:Object(an.a)("Title"),value:"title"},{title:Object(an.a)("Date"),value:"date"},{title:Object(an.a)("Random"),value:"rand"},{title:Object(an.a)("Comment Count"),value:"comment_count"}]},Object(ej.vb)({v:e,device:t,state:"normal"})]},{label:Object(an.a)("Navigation"),options:[Object(ej.wb)({v:e,device:t,state:"normal"})]}]},{id:"gridColumn",label:Object(an.a)("Columns"),type:"slider-dev",disabled:"tablet"!==t,config:{min:1,max:6}},{id:"padding",label:Object(an.a)("Spacing"),type:"slider-dev",devices:"responsive",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}const MW=Object(an.a)("Posts");function IW({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"});return[{id:o("settingsTabs"),type:"tabs",devices:"desktop",align:"start",tabs:[{id:o("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[]},{id:o("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal"})]}]}]}var FW=o(458);function NW(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function LW(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?NW(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):NW(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class WW extends Zu.a{static get componentId(){return"Posts"}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(no,ao,{allowExtend:!1});this.props.extendParentToolbar(e)}getMeta(e){const{meta:t}=this.props,{gridColumn:o,padding:n,tabletGridColumn:a}=e,r=t.desktopW/o,i=t.tabletW/a,l=Object(rh.tabletSyncOnChange)(e,"padding");return LW({},t,{desktopW:Math.round(10*(r-n))/10,tabletW:Math.round(10*(i-l))/10,inGrid:!1,posts:!0})}renderForEdit(e){const{type:t,taxonomy:o,taxonomyId:n,orderBy:a,order:r,gridRow:i,gridColumn:l,pagination:c}=e,s=this.makeSubcomponentProps({className:kW(e),style:EW(e),bindWithKey:"items",gridRow:i,gridColumn:l,pagination:"on"===c,loopAttributes:LW({count:i*l,taxonomy:o,value:n},"posts"===t?{order:r,orderby:a}:{}),meta:this.getMeta(e)});return Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(Rj,this.makeContextMenuProps(wW),Oo.a.createElement(zW,s)))}}Object(yo.a)(WW,"defaultValue",FW),Object(yo.a)(WW,"defaultProps",{extendParentToolbar:Do.noop});var VW=WW;function DW({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),{hex:a}=Object(sh.d)(n("colorHex"),n("colorPalette"));return[{id:o("toolbarCurrentShortcode"),type:"popover",icon:"nc-wp-shortcode",title:Object(an.a)("Breadcrumbs"),position:60,options:[{id:"textSpacing",label:Object(an.a)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:o("toolbarTypography"),type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:o("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),position:90,icon:{style:{backgroundColor:Object(mn.c)(a,n("colorOpacity"))}},options:[{id:o("tabsColor"),type:"tabs",tabs:[{id:o("tabLinks"),label:Object(an.a)("Links"),devices:"desktop",options:[{id:"color",type:"colorPicker-dev",states:[uw.c,uw.b],devices:"desktop"}]},{id:o("colorActive"),label:Object(an.a)("Active"),devices:"desktop",options:[{id:"activeColor",type:"colorPicker-dev",devices:"desktop"}]},{id:o("colorArrows"),label:Object(an.a)("Arrows"),devices:"desktop",options:[{id:"arrowsColor",type:"colorPicker-dev",devices:"desktop"}]}]}]},{id:o("advancedSettings"),type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),roles:["admin"],position:110,icon:"nc-cog"}]}const AW=Object(an.a)("Breadcrumbs");function GW({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"});return[{id:o("settingsTabs"),type:"tabs",align:"start",tabs:[{id:o("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[]},{id:o("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,devices:"desktop"}),Object(ej.cc)({v:e,device:t,state:"normal",position:70,devices:"desktop"})]}]}]}var UW=o(459);class KW extends Zu.a{static get componentId(){return"WPBreadcrumbs"}renderForEdit(e,t,o){const{className:n}=e,a=ra()("brz-wp__breadcrumbs",n,Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz && .brz-breadcrumbs .brz-a:hover":{standart:["cssStyleSizeTextSpacing"],interval:["cssStyleHoverTransition"]},".brz && .brz-breadcrumbs .brz-li:hover":{standart:["cssStyleColor"]},".brz &&:hover .brz-breadcrumbs .brz-icon-svg":{standart:["cssStyleSizeTextSpacing","cssStyleElementBreadcrumbsArrowSize","cssStyleElementBreadcrumbsColorArrows"]},".brz && .brz-breadcrumbs > .brz-li:last-child .brz-span:hover":{standart:["cssStyleElementBreadcrumbsColorActive"]}}})}(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(ro,io),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(xF,{blocked:!1,name:"brizy_breadcrumbs",height:45,placeholderIcon:"wp-shortcode",className:a})))}}Object(yo.a)(KW,"defaultValue",UW);var qW=KW;function YW({v:e,device:t,component:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),a=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),r=Boolean(o.props.meta.sectionPopup),i=Boolean(o.props.meta.sectionPopup2),{isGlobalPopup:l}=Bo.a.get("wp")||{},{hex:c}=Object(sh.d)(a("colorHex"),a("colorPalette"));return[{id:n("popoverTypography"),type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:n("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],devices:"desktop",position:90,icon:{style:{backgroundColor:Object(mn.c)(c,e.colorOpacity)}},options:[{id:n("tabsColor"),type:"tabs",tabs:[{id:n("tabText"),label:Object(an.a)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[uw.c,uw.b]}]}]}]},{id:n("toolbarLink"),type:"popover",icon:"nc-link",size:"medium",title:Object(an.a)("Link"),position:90,options:[{id:n("linkType"),type:"tabs",value:a("linkType"),tabs:[{id:n("external"),label:Object(an.a)("URL"),options:[Object(ej.hc)({v:e,device:t,devices:"desktop",state:"normal"}),{id:"linkExternalBlank",label:Object(an.a)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:Object(an.a)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:n("anchor"),label:Object(an.a)("Block"),options:[Object(ej.gc)({v:e,device:t,devices:"desktop",state:"normal"})]},{id:n("popup"),label:Object(an.a)("Popup"),options:[Object(ej.kc)({v:e,component:o,state:"normal",device:"desktop",canDelete:"desktop"===t,disabled:"desktop"===t?r||i||l:"popup"!==a("linkType")||""===a("linkPopup")})]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"contentHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-text-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-text-align-right",title:Object(an.a)("Align"),value:"right"}]},{id:n("advancedSettings"),type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),position:110,title:Object(an.a)("Settings"),roles:["admin"],icon:"nc-cog"}]}const XW=Object(an.a)("Post Title");function ZW({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"});return[{id:o("settingsTabs"),type:"tabs",align:"start",tabs:[{id:o("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[]},{id:o("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal",devices:"desktop"})]}]}]}var JW=o(460);function $W(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class QW extends Zu.a{static get componentId(){return"WPPostsTitle"}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let t=!1;"GlobalBlock"===e.type&&(e=Object(nn.k)(Object(Lo.b)().getState())[e.value.globalBlockId].data,t=!0);const{blockId:o,value:{popupId:n}}=e;return{blockId:o,instanceKey:"".concat(this.getId(),"_").concat(n)}}});return Oo.a.createElement(Ju.a,e)}renderWrapper(e,t){const{linkType:o,linkExternalBlank:n,linkExternalRel:a,linkAnchor:r,linkExternalType:i,linkPopup:l,linkUpload:c}=t,s={anchor:r,external:t[i],popup:l,upload:c};return Oo.a.createElement(AB,{className:"brz-blocked",href:s[o],type:o,target:n,rel:a},Oo.a.createElement("span",{className:"brz-span",dangerouslySetInnerHTML:{__html:e}}))}renderForEdit(e,t,o){const{className:n,linkType:a,linkPopup:r,popups:i}=e,l=ra()(Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleContentAlign"]},".brz &&:hover > .brz-a":{standart:["cssStyleColor"]}}})}(e,t,o)),n),{isTemplate:c,page:s}=Bo.a.get("wp"),d=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$W(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$W(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},c?{}:{post:s},{property:"post_title"});return Oo.a.createElement(fo.Fragment,null,Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(lo,co),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(xF,{attributes:d,name:"brizy_post_field",placeholderIcon:"wp-shortcode",height:45,className:l,render:t=>this.renderWrapper(t,e)}))),i.length>0&&"popup"===a&&""!==r&&this.renderPopups())}}Object(yo.a)(QW,"defaultValue",JW);var eV=QW;function tV({v:e,device:t,component:o}){const n=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),a=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),{hex:r}=Object(sh.d)(a("colorHex"),a("colorPalette")),{isGlobalPopup:i}=Bo.a.get("wp")||{},l=Boolean(o.props.meta.sectionPopup),c=Boolean(o.props.meta.sectionPopup2);return[{id:n("popoverTypography"),type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:n("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],devices:"desktop",position:90,icon:{style:{backgroundColor:Object(mn.c)(r,a("colorOpacity"))}},options:[{id:n("tabsColor"),type:"tabs",tabs:[{id:n("tabText"),label:Object(an.a)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[uw.c,uw.b]}]}]}]},{id:n("toolbarLink"),type:"popover",icon:"nc-link",size:"medium",title:Object(an.a)("Link"),position:90,options:[{id:n("linkType"),type:"tabs",value:a("linkType"),tabs:[{id:n("external"),label:Object(an.a)("URL"),options:[Object(ej.hc)({v:e,device:t,devices:"desktop",state:"normal"}),{id:"linkExternalBlank",label:Object(an.a)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:Object(an.a)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:n("anchor"),label:Object(an.a)("Block"),options:[Object(ej.gc)({v:e,device:t,devices:"desktop",state:"normal"})]},{id:n("popup"),label:Object(an.a)("Popup"),options:[Object(ej.kc)({v:e,component:o,state:"normal",canDelete:"desktop"===t,disabled:"desktop"===t?l||c||i:"popup"!==a("linkType")||""===a("linkPopup")})]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"contentHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-text-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-text-align-right",title:Object(an.a)("Align"),value:"right"}]},{id:n("advancedSettings"),type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),position:110,title:Object(an.a)("Settings"),roles:["admin"],icon:"nc-cog"}]}const oV=Object(an.a)("Post Excerpt");function nV({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"});return[{id:o("settingsTabs"),type:"tabs",align:"start",tabs:[{id:o("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[]},{id:o("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal",devices:"desktop"})]}]}]}var aV=o(461);function rV(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class iV extends Zu.a{static get componentId(){return"WPPostExcerpt"}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let t=!1;"GlobalBlock"===e.type&&(e=Object(nn.k)(Object(Lo.b)().getState())[e.value.globalBlockId].data,t=!0);const{blockId:o,value:{popupId:n}}=e;return{blockId:o,instanceKey:"".concat(this.getId(),"_").concat(n)}}});return Oo.a.createElement(Ju.a,e)}renderWrapper(e,t){const{linkType:o,linkExternalBlank:n,linkExternalRel:a,linkAnchor:r,linkExternalType:i,linkPopup:l,linkUpload:c}=t,s={anchor:r,external:t[i],popup:l,upload:c};return Oo.a.createElement(AB,{className:"brz-blocked",href:s[o],type:o,target:n,rel:a},Oo.a.createElement("span",{className:"brz-span",dangerouslySetInnerHTML:{__html:e}}))}renderForEdit(e,t,o){const{className:n,linkType:a,linkPopup:r,popups:i}=e,l=ra()(Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover ":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleContentAlign"]},".brz &&:hover > .brz-a":{standart:["cssStyleColor"]}}})}(e,t,o)),n),{isTemplate:c,page:s}=Bo.a.get("wp"),d=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?rV(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):rV(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},c?{}:{post:s},{property:"post_excerpt"});return Oo.a.createElement(fo.Fragment,null,Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(so,po),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(xF,{attributes:d,name:"brizy_post_field",placeholderIcon:"wp-shortcode",className:l,render:t=>this.renderWrapper(t,e)}))),i.length>0&&"popup"===a&&""!==r&&this.renderPopups())}}Object(yo.a)(iV,"defaultValue",aV);var lV=iV;function cV({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),{hex:a}=Object(sh.d)(n("colorHex"),n("colorPalette"));return[{id:o("toolbarTypography"),type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:o("tabsTypography"),type:"tabs",tabs:[{id:o("tabTypographyParagraph"),label:Object(an.a)("P"),options:[{id:"paragraph",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:o("tabTypographyH1"),label:Object(an.a)("H1"),options:[{id:"h1",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:o("tabTypographyH2"),label:Object(an.a)("H2"),options:[{id:"h2",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:o("tabTypographyH3"),label:Object(an.a)("H3"),options:[{id:"h3",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:o("tabTypographyH4"),label:Object(an.a)("H4"),options:[{id:"h4",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:o("tabTypographyH5"),label:Object(an.a)("H5"),options:[{id:"h5",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:o("tabTypographyH6"),label:Object(an.a)("H6"),options:[{id:"h6",type:"typography-dev",config:{fontFamily:"desktop"===t}}]}]}]},{id:o("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],devices:"desktop",position:90,icon:{style:{backgroundColor:Object(mn.c)(a,e.colorOpacity)}},options:[{id:"tabsColor",type:"tabs",value:e.tabsColor,tabs:[{id:"tabParagraph",label:Object(an.a)("P"),options:[{id:"paragraphColor",type:"colorPicker-dev"}]},{id:"tabH1",label:Object(an.a)("H1"),options:[{id:"h1Color",type:"colorPicker-dev"}]},{id:"tabH2",label:Object(an.a)("H2"),options:[{id:"h2Color",type:"colorPicker-dev"}]},{id:"tabH3",label:Object(an.a)("H3"),options:[{id:"h3Color",type:"colorPicker-dev"}]},{id:"tabH4",label:Object(an.a)("H4"),options:[{id:"h4Color",type:"colorPicker-dev"}]},{id:"tabH5",label:Object(an.a)("H5"),options:[{id:"h5Color",type:"colorPicker-dev"}]},{id:"tabH6",label:Object(an.a)("H6"),options:[{id:"h6Color",type:"colorPicker-dev"}]}]}],onChange:(t,{isOpen:o})=>({tabsState:o?e.tabsState:"",tabsColor:o?e.tabsColor:""})},{id:"contentHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:Object(an.a)("Align"),value:"left"},{icon:"nc-text-align-center",title:Object(an.a)("Align"),value:"center"},{icon:"nc-text-align-right",title:Object(an.a)("Align"),value:"right"}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:o("advancedSettings"),type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),position:110,title:Object(an.a)("Settings"),roles:["admin"],icon:"nc-cog"}]}const sV=Object(an.a)("Post Content");function dV({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"});return[{id:o("settingsTabs"),type:"tabs",align:"start",tabs:[{id:o("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[]},{id:o("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal",devices:"desktop"})]}]}]}var pV=o(462);function uV(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}class bV extends Zu.a{static get componentId(){return"WPPostContent"}renderForEdit(e,t,o){const{className:n}=e,a=ra()("brz-wp__postContent",n,Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleContentAlign","cssStyleSizeSizePercent"]},".brz &&:hover h1":{standart:["cssStyleElementWPPostContentH1Color","cssStyleElementWPPostContentTypography2H1FontFamily","cssStyleElementWPPostContentTypography2H1FontSize","cssStyleElementWPPostContentTypography2H1LineHeight","cssStyleElementWPPostContentTypography2H1FontWeight","cssStyleElementWPPostContentTypography2H1LetterSpacing"]},".brz &&:hover h2":{standart:["cssStyleElementWPPostContentH2Color","cssStyleElementWPPostContentTypography2H2FontFamily","cssStyleElementWPPostContentTypography2H2FontSize","cssStyleElementWPPostContentTypography2H2LineHeight","cssStyleElementWPPostContentTypography2H2FontWeight","cssStyleElementWPPostContentTypography2H2LetterSpacing"]},".brz &&:hover h3":{standart:["cssStyleElementWPPostContentH3Color","cssStyleElementWPPostContentTypography2H3FontFamily","cssStyleElementWPPostContentTypography2H3FontSize","cssStyleElementWPPostContentTypography2H3LineHeight","cssStyleElementWPPostContentTypography2H3FontWeight","cssStyleElementWPPostContentTypography2H3LetterSpacing"]},".brz &&:hover h4":{standart:["cssStyleElementWPPostContentH4Color","cssStyleElementWPPostContentTypography2H4FontFamily","cssStyleElementWPPostContentTypography2H4FontSize","cssStyleElementWPPostContentTypography2H4LineHeight","cssStyleElementWPPostContentTypography2H4FontWeight","cssStyleElementWPPostContentTypography2H4LetterSpacing"]},".brz &&:hover h5":{standart:["cssStyleElementWPPostContentH5Color","cssStyleElementWPPostContentTypography2H5FontFamily","cssStyleElementWPPostContentTypography2H5FontSize","cssStyleElementWPPostContentTypography2H5LineHeight","cssStyleElementWPPostContentTypography2H5FontWeight","cssStyleElementWPPostContentTypography2H5LetterSpacing"]},".brz &&:hover h6":{standart:["cssStyleElementWPPostContentH6Color","cssStyleElementWPPostContentTypography2H6FontFamily","cssStyleElementWPPostContentTypography2H6FontSize","cssStyleElementWPPostContentTypography2H6LineHeight","cssStyleElementWPPostContentTypography2H6FontWeight","cssStyleElementWPPostContentTypography2H6LetterSpacing"]},".brz &&:hover *":{standart:["cssStyleElementWPPostContentParagraphColor","cssStyleElementWPPostContentTypography2ParagraphFontFamily","cssStyleElementWPPostContentTypography2ParagraphFontSize","cssStyleElementWPPostContentTypography2ParagraphLineHeight","cssStyleElementWPPostContentTypography2ParagraphFontWeight","cssStyleElementWPPostContentTypography2ParagraphLetterSpacing"]}}})}(e,t,o))),{isTemplate:r,page:i}=Bo.a.get("wp"),l=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?uV(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):uV(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},r?{}:{post:i},{property:"post_content"});return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(uo,bo),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(xF,{attributes:l,name:"brizy_post_field",height:150,placeholderIcon:"wp-shortcode",className:a})))}}Object(yo.a)(bV,"defaultValue",pV);var hV=bV;function mV({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"}),n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),{hex:a}=Object(sh.d)(n("iconsColorHex"),n("iconsColorPalette"));return[{id:o("toolbarCurrentShortcode"),type:"popover",icon:"nc-wp-shortcode",title:Object(an.a)("Post info"),position:60,options:[{id:"postElements",type:"multiSelect-dev",label:Object(an.a)("Elements"),devices:"desktop",config:{size:"medium"},choices:[{value:"author",title:Object(an.a)("Author")},{value:"date",title:Object(an.a)("Date")},{value:"time",title:Object(an.a)("Time")},{value:"comments",title:Object(an.a)("Comments")}]},{type:"multiPicker",devices:"desktop",picker:{id:"large",label:Object(an.a)("Large"),type:"radioGroup",choices:[{value:"inline",icon:"nc-more"},{value:"column",icon:"nc-text-align-left"}],value:e.large}},{id:"textSpacing",label:Object(an.a)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:o("toolbarTypography"),type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:o("toolbarColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),position:90,icon:{style:{backgroundColor:Object(mn.c)(a,n("iconsColorOpacity"))}},options:[{id:o("tabsColor"),type:"tabs",value:n("tabsColor"),tabs:[{id:o("tabText"),label:Object(an.a)("Text"),devices:"desktop",options:[{id:"color",type:"colorPicker-dev",devices:"desktop"}]},{id:o("colorIcons"),label:Object(an.a)("Icons"),devices:"desktop",options:[{id:"iconsColor",type:"colorPicker-dev",devices:"desktop"}]}]}]},{id:o("advancedSettings"),type:"advancedSettings",sidebarLabel:Object(an.a)("More Settings"),icon:"nc-cog",position:150}]}const gV=Object(an.a)("Post Info");function vV({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t,state:"normal"});return[{id:o("settingsTabs"),type:"tabs",align:"start",tabs:[{id:o("settingsStyling"),label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[]},{id:o("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,devices:"desktop"}),Object(ej.cc)({v:e,device:t,state:"normal",position:70,devices:"desktop"})]}]}]}var yV=o(463);class fV extends Zu.a{static get componentId(){return"WPPostInfo"}renderForEdit(e,t,o){const{className:n,postElements:a}=e,r=e=>JSON.parse(a).some(t=>t===e),i=ra()("brz-wp__postinfo",{"brz-wp__postinfo__column":"column"===e.large},{"brz-wp__postinfo__disabled-author":!r("author")},{"brz-wp__postinfo__disabled-date":!r("date")},{"brz-wp__postinfo__disabled-time":!r("time")},{"brz-wp__postinfo__disabled-comments":!r("comments")},n,Qb("".concat(this.constructor.componentId),"".concat(this.getId()),function(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz && .brz-wp__postinfo .brz-li:hover":{standart:["cssStyleColor"]},".brz &&:hover .brz-wp__postinfo .brz-li":{standart:["cssStyleElementPostInfoSpacing"]},".brz &&:hover .brz-wp__postinfo .brz-icon-svg":{standart:["cssStyleElementPostInfoColorIcons"]}}})}(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(ho,mo),Oo.a.createElement(vj,{selectorName:this.getId(),css:e.customCSS},Oo.a.createElement(xF,{blocked:!1,name:"brizy_post_info",height:45,placeholderIcon:"wp-shortcode",className:i})))}}Object(yo.a)(fV,"defaultValue",yV);var OV=fV;function CV(e,t,o){return Zb({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBgColor","cssStyleBgGradient","cssStyleSizeWidthPercent","cssStyleBorderRadius","cssStyleBorder","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStyleElementSearchPropertyHoverTransition"]},".brz &&.brz-search-container__minimal":{standart:["cssStyleSizeMinHeightPx"]},".brz &&:hover .brz-btn, &&:hover .brz-search-form":{standart:["cssStyleBorderRadius"]},".brz &&:hover .brz-search, &&:hover .brz-search::placeholder":{standart:["cssStyleColor","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleElementSearchLineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"],interval:["cssStyleHoverTransition","cssStyleElementSearchPropertyHoverTransition"]},".brz &&:hover > .brz-search-form > .brz-icon-svg":{standart:["cssStyleColor","cssStyleTypography3FontSize"],interval:["cssStyleHoverTransition","cssStyleElementSearchPropertyHoverTransition"]},".brz &&:hover .brz-search:-webkit-autofill":{standart:["cssStyleElementSearchAutocompleteColor"],interval:["cssStyleHoverTransition","cssStyleElementSearchPropertyHoverTransition"]}}})}function SV({v:e,device:t}){const o=e=>Object(rh.defaultValueKey)({key:e,device:t}),n=o=>Object(rh.defaultValueValue)({v:e,key:o,device:t,state:"normal"}),{hex:a}=Object(sh.d)(n("colorHex"),n("colorPalette"));return[{id:o("toolbarCurrentShortcode"),type:"popover",icon:"nc-search",title:Object(an.a)("Additionals"),position:60,options:[Object(ej.zb)({v:e,device:t,devices:"desktop",state:"normal"})]},{id:o("popoverTypography"),type:"popover",icon:"nc-font",size:"desktop"===t?"large":"auto",title:Object(an.a)("Typography"),roles:["admin"],position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===t}}]},{id:o("popoverColor"),type:"popover",size:"auto",title:Object(an.a)("Colors"),roles:["admin"],devices:"desktop",position:90,icon:{style:{backgroundColor:Object(mn.c)(a,e.colorOpacity)}},options:[{id:"tabsColor",type:"tabs",tabs:[{id:"tabText",label:Object(an.a)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:o("tabBg"),label:Object(an.a)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[uw.c,uw.b]}]},{id:o("tabBorder"),label:Object(an.a)("Border"),options:[{id:"border",type:"border-dev",states:[uw.c,uw.b]}]},{id:o("tabBoxShadow"),label:Object(an.a)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[uw.c,uw.b]}]}]}]},{id:o("toolbarSettings"),type:"popover",icon:"nc-cog",title:Object(an.a)("Settings"),roles:["admin"],position:110,options:[Object(ej.Ec)({v:e,device:t,state:"normal"}),{id:"height",label:Object(an.a)("Height"),type:"slider-dev",disabled:"minimal"!==e.searchStyle,config:{min:10,max:200,inputMin:0,inputMax:1e3,units:[{value:"px",title:"px"}]}},{id:o("advancedSettings"),type:"advancedSettings",label:Object(an.a)("More Settings"),icon:"nc-cog"}]}]}const xV=Object(an.a)("Search");function jV({v:e,device:t}){return[{id:"settingsTabs",type:"tabs",devices:"desktop",align:"start",tabs:[{id:"settingsStyling",label:Object(an.a)("Styling"),tabIcon:"nc-styling",options:[Object(ej.n)({v:e,device:t,state:"normal",onChangeGrouped:["onChangeBorderRadiusGrouped","onChangeBorderRadiusGroupedDependencies"],onChangeUngrouped:["onChangeBorderRadiusUngrouped","onChangeBorderRadiusUngroupedDependencies"]})]},{id:(e=>Object(rh.defaultValueKey)({key:e,device:t}))("moreSettingsAdvanced"),label:Object(an.a)("Advanced"),tabIcon:"nc-cog",options:[Object(ej.G)({v:e,device:t,state:"normal",devices:"desktop"}),Object(ej.cc)({v:e,device:t,state:"normal",devices:"desktop"})]}]}]}var BV=o(464);class PV extends Zu.a{constructor(...e){super(...e),Object(yo.a)(this,"input",Oo.a.createRef()),Object(yo.a)(this,"handleClick",e=>{e.preventDefault();const t=this.input.current;t&&t.classList.add("brz-ed-dd-cancel")}),Object(yo.a)(this,"handleBlur",()=>{const e=this.input.current;e&&e.classList.remove("brz-ed-dd-cancel")})}static get componentId(){return"Search"}renderButton(){const e=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:this.props.meta}});return Oo.a.createElement(Ju.a,e)}renderIcon(){return Oo.a.createElement(ia.b,{icon:"nc-search"})}renderForEdit(e,t,o){const{searchStyle:n,customCSS:a,label:r,className:i}=e,l=ra()("brz-search-container","brz-search-container__".concat(n),i,Qb("".concat(this.constructor.componentId),"".concat(this.getId()),CV(e,t,o)));return Oo.a.createElement(Aa.c,this.makeToolbarPropsFromConfig2(go,vo),Oo.a.createElement(vj,{selectorName:this.getId(),css:a},Oo.a.createElement("div",{className:l},Oo.a.createElement("form",{className:"brz-form brz-search-form",noValidate:!0},"classic"!==n&&this.renderIcon(),Oo.a.createElement("input",{name:"s",ref:this.input,className:"brz-input brz-search",autoComplete:"off",onClick:this.handleClick,onBlur:this.handleBlur,value:r,onChange:e=>{this.patchValue({label:e.target.value,placeholder:e.target.value})}}),"classic"===n&&this.renderButton()))))}renderForView(e,t,o){const{searchStyle:n,customCSS:a,label:r,className:i}=e,l=ra()("brz-search-container","brz-search-container__".concat("fullScreen"===n?"minimal":n),i,Qb("".concat(this.constructor.componentId),"".concat(this.getId()),CV(e,t,o)));return Oo.a.createElement(vj,{selectorName:this.getId(),css:a},Oo.a.createElement("div",{className:l},Oo.a.createElement("form",{className:"brz-form brz-search-form",action:"/",method:"get"},"classic"!==n&&this.renderIcon(),Oo.a.createElement("input",{name:"s",className:"brz-input brz-search",placeholder:r}),"classic"===n&&this.renderButton())))}}Object(yo.a)(PV,"defaultValue",BV);var wV=PV;const TV=()=>Bo.a.get("wp").hasSidebars,zV=e=>Boolean(Bo.a.get("wp").plugins[e]);function kV(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var EV=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?kV(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):kV(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},RL,{Posts:VW},TV()?{WPSidebar:GL}:{},{WPCustomShortcode:JL,WPBreadcrumbs:qW,WPPostsTitle:eV,WPPostExcerpt:lV,WPPostContent:hV,WPPostInfo:OV,Search:wV},zV("woocommerce")?{WOOProducts:rW,WOOProductPage:uW,WOOCategories:fW,WOOPages:PW}:{}),HV={id:"text",title:Object(an.a)("Text"),icon:"nc-font",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--richText"],items:[{type:"RichText",value:{_styles:["richText"]}}]}}},_V={id:"button",title:Object(an.a)("Button"),icon:"nc-button",resolve:{type:"Cloneable",value:{_styles:["wrapper-clone","wrapper-clone--button"],items:[{type:"Button",value:{_styles:["button"]}}]}}},RV={id:"icon",title:Object(an.a)("Icon"),icon:"nc-star",resolve:{type:"Cloneable",value:{_styles:["wrapper-clone","wrapper-clone--icon"],items:[{type:"Icon",value:{_styles:["icon"]}}]}}},MV={id:"image",title:Object(an.a)("Image"),icon:"nc-img",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--image"],items:[{type:"Image",value:{_styles:["image"]}}]}}},IV=o(465),FV={id:"video",title:Object(an.a)("Video"),icon:"nc-play",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--video"],items:[{type:"Video",value:{_styles:["video"]}}]}}},NV={id:"spacer",title:Object(an.a)("Spacer"),icon:"nc-zoom-e",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--spacer"],items:[{type:"Spacer",value:{_styles:["spacer"]}}]}}},LV={id:"line",title:Object(an.a)("Line"),icon:"nc-divider",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--line"],items:[{type:"Line",value:{_styles:["line"]}}]}}},WV={id:"map",title:Object(an.a)("Map"),icon:"nc-pin",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--map"],items:[{type:"Map",value:{_styles:["map"]}}]}}},VV={id:"embedCode",title:Object(an.a)("Embed"),icon:"nc-iframe",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--embedCode"],items:[{type:"EmbedCode",value:{_styles:["embedCode"]}}]}}},DV={id:"form",title:Object(an.a)("Form"),icon:"nc-form-left",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--form2"],items:[{type:"Form2",value:{_styles:["form2"],items:[{type:"Form2Fields",value:{items:[{type:"Form2Field",value:{type:"Email",label:"Email",required:"on",options:["Option 1","Option 2"]}},{type:"Form2Field",value:{type:"Select",label:"Select",required:"off",options:["Option 1","Option 2"]}},{type:"Form2Field",value:{type:"Paragraph",label:"Paragraph",required:"off",options:["Option 1","Option 2"]}}]}},{type:"Button",value:{_styles:["button","submit"]}}]}}]}}},AV={id:"iconText",title:Object(an.a)("Icon Box"),icon:"nc-paragraph",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--iconText"],items:[{type:"IconText",value:{_styles:["iconText"],items:[{type:"Icon",value:{_styles:["icon","iconText--icon"]}},{type:"RichText",value:{_styles:["text","iconText--text"]}},{type:"Cloneable",value:{_styles:["wrapper-clone","iconText--wrapper-clone--button"],items:[{type:"Button",value:{_styles:["button","iconText--button"]}}]}}]}}]}}},GV={id:"counter",title:Object(an.a)("Counter"),icon:"nc-counter-outline",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--counter"],items:[{type:"Counter",value:{_styles:["counter"]}}]}}},UV={id:"countdown2",title:Object(an.a)("Countdown"),icon:"nc-countdown",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--countdown2"],items:[{type:"Countdown2",value:{_styles:["countdown2"]}}]}}},KV={id:"tabs",title:Object(an.a)("Tabs"),icon:"nc-tabs",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--tabs"],items:[{type:"Tabs",value:{_styles:["tabs"],items:[{type:"Tab",value:{labelText:"Tab 1",items:[{type:"Cloneable",value:{_styles:["wrapper-clone","tabs--wrapper-clone--icon"],items:[{type:"Icon",value:{_styles:["icon","tabs--icon"]}}]}}]}},{type:"Tab",value:{labelText:"Tab 2",items:[{type:"Cloneable",value:{_styles:["wrapper-clone","tabs--wrapper-clone--button"],items:[{type:"Button",value:{_styles:["button","tabs--button"]}}]}}]}}]}}]}}},qV={id:"progressBar",title:Object(an.a)("Progress"),icon:"nc-progress-bar",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--progressBar"],items:[{type:"ProgressBar",value:{_styles:["progressBar"]}}]}}},YV={id:"accordion",title:Object(an.a)("Accordion"),icon:"nc-toggle",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--accordion"],items:[{type:"Accordion",value:{_styles:["accordion"],items:[{type:"AccordionItem",value:{labelText:"Accordion 1",items:[{type:"Cloneable",value:{_styles:["wrapper-clone","accordion--wrapper-clone--icon"],items:[{type:"Icon",value:{_styles:["icon","accordion--icon"]}}]}}]}},{type:"AccordionItem",value:{labelText:"Accordion 2",items:[{type:"Cloneable",value:{_styles:["wrapper-clone","accordion--wrapper-clone--button"],items:[{type:"Button",value:{_styles:["button","accordion--button"]}}]}}]}}]}}]}}},XV={id:"MenuSimple",title:Object(an.a)("Menu"),icon:"nc-menu-3",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--WPNavigation"],items:[{type:"WPNavigation"}]}}},ZV={id:"row",title:Object(an.a)("Row"),icon:"nc-row",resolve:{type:"Row",value:{_styles:["row"],items:[{type:"Column",value:{_styles:["column"],items:[]}},{type:"Column",value:{_styles:["column"],items:[]}}]}}},JV={id:"columns",title:Object(an.a)("Column"),icon:"nc-column",resolve:{type:"Row",value:{_styles:["row","hide-row-borders","padding-0"],items:[{type:"Column",value:{_styles:["column"],items:[]}},{type:"Column",value:{_styles:["column"],items:[]}}]}}},$V={base:[HV,_V,RV,MV,IV.a,FV,NV,LV,WV,VV,DV,AV,GV,UV,KV,qV,YV,XV],grid:[ZV,JV],social:[]},QV={id:"WPSidebar",title:Object(an.a)("Sidebar"),icon:"nc-wp-shortcode",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--WPSidebar"],items:[{type:"WPSidebar"}]}}},eD={id:"WPCustomShortcode",title:Object(an.a)("Shortcode"),icon:"nc-wp-shortcode",resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--WPCustomShortcode"],items:[{type:"WPCustomShortcode"}]}}},tD={id:"WOOProducts",title:Object(an.a)("Products"),icon:"nc-woo-2",position:20,resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--WOOProducts"],items:[{type:"WOOProducts"}]}}};const oD=Bo.a.get("wp");var nD={id:"WOOProductPage",title:Object(an.a)("Product"),icon:"nc-woo-2",position:20,hidden:!oD.plugins.woocommerce,resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--WOOProductPage"],items:[{type:"WOOProductPage"}]}}},aD={id:"WOOCategories",title:Object(an.a)("Categories"),icon:"nc-woo-2",position:20,resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--WOOCategories"],items:[{type:"WOOCategories"}]}}},rD={id:"WOOPages",title:Object(an.a)("Pages"),icon:"nc-woo-2",position:20,resolve:{type:"Wrapper",value:{_styles:["wrapper","wrapper--WOOPages"],items:[{type:"WOOPages"}]}}};function iD(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var lD=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?iD(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):iD(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},$V,{wordpress:[...TV()?[QV]:[],eD],woocommerce:[...zV("woocommerce")?[tD,nD,aD,rD]:[]]});for(const e of Object.values(EV))zo.a.registerComponent(e);function cD(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}zo.a.registerNotFoundComponent(_L),zo.a.registerShortcode(lD);const sD=document.querySelector("#brz-ed-root"),dD=window.parent.document.querySelector(".brz-ed-page-curtain");!async function(){try{if(!sD)throw dD.classList.add("has-load-error"),new No.g("could not find #brz-ed-root");const e=Bo.a.get("project").status||{};e&&!e.locked&&await Object(Po.a)();const[t,o,n,a,r]=await Promise.all([Object(Po.r)(),Xu(),Object(Po.l)(),Object(Po.t)(),fetch(Object(wo.a)("thumbs/blocksThumbnailSizes.json")).then(e=>e.json())]);0;const{styles:i,extraFontStyles:l=[],fonts:c}=t.data,s=Ro({models:o.data,globalBlocks:n}),d=Object(Fo.b)(i,({fontStyles:e})=>e),p=Mo([...d,...l]),u=(await Object(ko.u)(Io([...s,...p],c))).reduce((e,{type:t,fonts:o})=>(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?cD(Object(o),!0).forEach((function(t){Object(yo.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):cD(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e})({},e,{[t]:{data:o}}),{}),b=Object(Lo.a)({middleware:await Jn()});b.dispatch(Object(Uo.K)({project:t,projectStatus:e,globalBlocks:n,savedBlocks:a,blocksThumbnailSizes:r,fonts:Object(jo.a)(c,u),page:o})),window.brzStore=b,window.parent.brzStore=b,window.parent.addEventListener("unload",Po.y,!1),So.a.render(Oo.a.createElement(xo.a,{store:b},Oo.a.createElement(Yu,null)),sD,()=>{dD.parentElement.removeChild(dD),b.dispatch(Object(Uo.J)())})}catch(e){const t=e instanceof No.a;t?console.error("editor bootstrap error",e.getMessage()):console.error("editor bootstrap error",e);const o=t?"".concat(Object(an.a)("Something went wrong with the")," ").concat(e.getName()):Object(an.a)("Something went wrong");Fu(o,{hideAfter:0,toastContainer:dD})}}()}]);