PageSourceSearch

https://nagrodylema.pl/static/build/6494.ace86e9763be29d721dd.js

js nagrodylema.pl collected 2026-10-08 22:57:35 UTC 144,031 bytes, 3 lines download raw bytes

1/*! For license information please see /static/build/license.txt */
2(globalThis.webpackChunksitebuilder_client=globalThis.webpackChunksitebuilder_client||[]).push([[6494],{14938:(e,t,n)=>{"use strict";n.d(t,{r:()=>i});var r=n(672122);const a=new class{constructor(){this.osType=(0,r.h)()}};class i{constructor(e,t,n,r,a){this.actionName=e,this.description=t,this.category=a,this.keys=n,this.action=e=>{e.returnValue=!1,e.preventDefault(),e.stopPropagation(),r(e)},this.rawAction=r}get keysValue(){return this.keys.find(e=>e.osType===a.osType).keys}get keysDisplay(){return this.keys.find(e=>e.osType===a.osType).display}}},23297:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});class r{constructor(e=null,t=null){this.x=e,this.y=t}}},28453:(e,t,n)=>{"use strict";n.d(t,{o:()=>G});var r=n(259829),a=n(180265),i=n(118657),o=n(297765),s=n(967266),l=n(335744),c=n(23297),d=n(226221),u=n(413729);n(722930);class h{constructor(e,t,n){this.id=e,this.color=t,this.value=n}}var f=n(299072),p=n.n(f),g=(n(683122),n(795098)),m=n(46996),y=n(241558),v=n(436599),b=n(720903);class C{constructor(e,t,n){this.gradientType=e,this.gradientRadius=t,this.gradientValues=n}}var w=n(19609),T=n(596552);class S{stringToModel(e){let t=e;S.VAR_TEST.test(e)&&(t=getComputedStyle(document.head).getPropertyValue(e.slice(4,-1)));const n=new RegExp(T.d.NAMED_COLOR,"gi"),r=Array.from(t.matchAll(S.GRADIENT_TYPE),e=>e[0]),a=Array.from(t.matchAll(S.GRADIENT_RADIUS),e=>e[0]),i=Array.from(t.matchAll(S.GRADIENT_LENGTH),e=>e[1]),o=Array.from(t.matchAll(n,e=>e[0])),s=0!==a.length?parseInt(a[0].replace("deg",""),10):S.EMPTY_GRADIENT_RADIUS_VALUE,l=[];let c;i.forEach(e=>{l.push(e.replace("%",""))}),c=[];for(let e=0;e<o.length;e++)c.push(new h(e,o[e][0],l[e]));return new C(r[0],s,c)}toString(e){const t=e.gradientType===r.Q.LINEAR?`${e.gradientRadius}deg, `:"circle, ";let n=`${e.gradientType}(${t}`;return e.gradientValues.sort(this.compareHandleValues).forEach(e=>{n+=`${e.color} ${e.value}%, `}),n=`${n.replace(/,\s*$/,"")})`,n}compare(e,t){const n=this.stringToModel(e),r=this.stringToModel(t);if(n.gradientType!==r.gradientType||n.gradientRadius!==r.gradientRadius)return!1;const a=n.gradientValues.sort(this.compareHandleValues),i=r.gradientValues.sort(this.compareHandleValues);return a.length===i.length&&a.reduce((e,t,n)=>e&&t.value===i[n].value&&w.A.compare(t.color,i[n].color),!0)}compareHandleValues(e,t){return Number(e.value)>Number(t.value)?1:Number(e.value)<Number(t.value)?-1:0}}S.VAR_TEST=/^var/,S.GRADIENT_TYPE=/(linear-gradient|radial-gradient)/g,S.GRADIENT_RADIUS=/(-?[0-9]*deg|circle)/g,S.GRADIENT_LENGTH=/(?:#[a-fA-F\d]+\s+|\)\s+|\b[^\d\W]+\b\s+)(\d*(?:.\d+)?%)/g,S.EMPTY_GRADIENT_RADIUS_VALUE=180;const E=new S;var A,k=n(274692),x=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},B=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};let G=A=class extends((0,v.vE)(y.a)){constructor(){super(...arguments),this.HANDLE_SELECTED_CLASS="noUi-selected",this.sliderInstance=null,this.sliderValues=null,this.newSliderValue=null,this.gradientSliderElement=null,this.activeHandle=!1,this.activeSliderHandle=null,this.handles=null,this.gradientType=r.Q.LINEAR,this.linearGradientRadius=new c.A,this.gradient=null,this.availableWatch=!0,this.oldActiveSliderHandle=null,this.oldGradientType=r.Q.LINEAR,this.oldLinearGradientRadius=new c.A,this.unwatchActiveSliderHandle=null,this.unwatchGradientType=null,this.unwatchLinearGradientRadius=null,this.unwatchActiveHandleColor=null}created(){this.setValues(),this.unwatchActiveSliderHandle=this.$watch("activeSliderHandle",this.handleActiveSliderHandle,{deep:!0}),this.unwatchGradientType=this.$watch("gradientType",this.handleGradientType),this.unwatchLinearGradientRadius=this.$watch("linearGradientRadius",this.handleLinearGradientRadius,{deep:!0}),this.unwatchActiveHandleColor=this.$watch("activeSliderHandle.color",this.handleActiveHandleColorChange)}beforeDestroy(){this.detachEventListeners()}detachEventListeners(){var e,t,n,r,a,i,o,s;null===(e=this.unwatchActiveSliderHandle)||void 0===e||e.call(this),null===(t=this.unwatchGradientType)||void 0===t||t.call(this),null===(n=this.unwatchLinearGradientRadius)||void 0===n||n.call(this),null===(r=this.unwatchActiveHandleColor)||void 0===r||r.call(this),this.gradientSliderElement.querySelector(".noUi-base").removeEventListener("mousedown",this.onGradientMouseDown),null===(i=null===(a=this.sliderInstance)||void 0===a?void 0:a.off)||void 0===i||i.call(a,"end"),null===(s=null===(o=this.sliderInstance)||void 0===o?void 0:o.off)||void 0===s||s.call(o,"hover")}handleActiveSliderHandle(){(0,m.A)(this.activeSliderHandle,this.oldActiveSliderHandle)||this.setGradientValue()}handleGradientType(){(0,m.A)(this.gradientType,this.oldGradientType)||this.setGradientValue()}handleLinearGradientRadius(){(0,m.A)(this.linearGradientRadius,this.oldLinearGradientRadius)||this.setGradientValue()}mounted(){this.gradientSliderElement=document.getElementById(`gradientSlider${this.idModifier}`),this.init()}init(){this.createSliderInstance(),this.addSliderListeners(),this.updateViewAfterLoad()}
2updateValue(){!(0,m.A)(this.gradient,E.stringToModel(this.value))&&this.availableWatch&&this.$nextTick(()=>{this.reRenderColorPicker()}),this.availableWatch=!0}reRenderColorPicker(){this.sliderInstance.destroy(),this.setValues(),this.oldActiveSliderHandle=(0,b.A)(this.activeSliderHandle),this.oldLinearGradientRadius=(0,b.A)(this.linearGradientRadius),this.oldGradientType=(0,b.A)(this.gradientType),this.init()}setValues(){if(!this.value||"none"===this.value)return this.linearGradientRadius=l.c.degreeToPos(90),this.initSliderValues(),void(this.gradient=new C(this.gradientType,0,this.handles));this.gradient=E.stringToModel(this.value),this.gradientType=this.gradient.gradientType,this.oldGradientType=this.gradientType,this.handles=this.gradient.gradientValues,this.sliderValues=this.handles.map(e=>e.value),this.activeHandle=!0,this.activeSliderHandle=this.handles[0],this.linearGradientRadius=l.c.degreeToPos(this.gradient.gradientRadius)}initSliderValues(){this.sliderValues=[0,100],this.handles=[new h(0,"rgba(0, 0, 0, 0)",0),new h(1,"rgba(0, 0, 0, 0)",100)],this.activeHandle=!0,this.activeSliderHandle=this.handles[0]}createSliderInstance(){u.create(this.gradientSliderElement,{padding:[0,0],range:{min:[0],max:[100]},step:1,direction:"ltr",orientation:a.H.HORIZONTAL,start:this.sliderValues,behaviour:"unconstrained-drag-hover"}),this.sliderInstance=this.gradientSliderElement.noUiSlider}addSliderListeners(){this.addActiveHandleListener(),this.addSliderHandleListener(),this.addUpdateNewSliderValueListener(),this.addUpdateSliderValuesListener()}addSliderHandleListener(){this.gradientSliderElement.querySelector(".noUi-base").addEventListener("mousedown",this.onGradientMouseDown)}onGradientMouseDown(e){e.stopPropagation(),this.sliderValues=[...this.sliderValues,this.newSliderValue],this.sliderInstance.destroy(),this.createSliderInstance(),this.handles.push(new h(this.sliderValues.length-1,"rgb(255, 255, 255)",this.newSliderValue)),this.activeSliderHandle=this.handles[this.handles.length-1],this.activeHandle=!0,this.addSliderListeners(),this.handles.forEach(e=>{this.gradientSliderElement.querySelector(`[data-handle="${e.id}"] > div`).style.backgroundColor=e.color})}addUpdateSliderValuesListener(){this.sliderInstance.on("end",e=>{this.sliderValues!==e&&(this.sliderValues=e,this.activeSliderHandle.value=parseInt(this.sliderValues[this.activeSliderHandle.id],10))})}addActiveHandleListener(){this.gradientSliderElement.querySelectorAll(".noUi-handle").forEach(e=>{e.appendChild(k("<div></div>",{class:"noUi-arrow outer-arrow"}).get(0)),e.appendChild(k("<div></div>",{class:"noUi-arrow inner-arrow"}).get(0)),this.activeHandleElement.parentElement.classList.add(this.HANDLE_SELECTED_CLASS),e.addEventListener("mousedown",e=>{const t=e.currentTarget.attributes.getNamedItem("data-handle").value;this.activeSliderHandle=this.handles[t],this.activeHandle=!0,this.gradientSliderElement.querySelectorAll(`.${this.HANDLE_SELECTED_CLASS}`).forEach(e=>e.classList.remove(this.HANDLE_SELECTED_CLASS)),this.activeHandleElement.parentElement.classList.add(this.HANDLE_SELECTED_CLASS)})})}addUpdateNewSliderValueListener(){this.sliderInstance.on("hover",e=>{this.newSliderValue=e})}deleteHandle(){if(this.sliderValues.length>2){const e=this.activeSliderHandle.id;this.sliderValues.splice(e,1),this.handles.splice(e,1),this.handles.forEach((e,t)=>{e.id=t}),this.sliderInstance.destroy(),this.createSliderInstance(),this.activeSliderHandle=this.handles[0],this.handles.forEach(e=>{this.gradientSliderElement.querySelector(`[data-handle="${e.id}"] > div`).style.backgroundColor=e.color}),this.setGradientValue(),this.addSliderListeners()}}handleActiveHandleColorChange(){this.activeSliderHandle&&(this.activeHandleElement.style.backgroundColor=this.activeSliderHandle.color)}setGradientValue(){const e=this.gradientSliderElement.querySelector(".noUi-base");this.gradient.gradientValues=[...this.handles];let t=l.c.positionToDegree(this.linearGradientRadius.x,this.linearGradientRadius.y);isNaN(t)&&(t=A.DEFAULT_RADIUS,this.linearGradientRadius=l.c.degreeToPos(t)),this.gradient.gradientRadius=l.c.positionToDegree(this.linearGradientRadius.x,this.linearGradientRadius.y),this.oldGradientType=this.gradientType,this.gradient.gradientType=this.gradientType;const n=E.toString(this.gradient);if(this.availableWatch=!1,A.VAR_TEST.test(this.value)){getComputedStyle(document.head).getPropertyValue(this.value.slice(4,-1))!==n&&this.$emit("input",n)}else this.$emit("input",n);e.style.backgroundImage=n}
2updateViewAfterLoad(){this.handles.forEach(e=>{this.gradientSliderElement.querySelector(`[data-handle="${e.id}"] > div`).style.backgroundColor=e.color});this.gradientSliderElement.querySelector(".noUi-base").style.backgroundImage=this.value}get activeHandleElement(){return this.gradientSliderElement.querySelector(`[data-handle="${this.activeSliderHandle.id}"] > div`)}get canDeleteHandle(){return this.sliderValues.length>2}get enumGradientType(){return r.Q.getTranslatedSelectArray()}get isLinear(){return this.gradientType===r.Q.LINEAR}get colorPickerOptions(){return{colorInputName:g.C.THEME_GRADIENT_NAME}}};G.VAR_TEST=/^var/,G.DEFAULT_RADIUS=135,x([(0,i.kv)({default:""}),B("design:type",String)],G.prototype,"value",void 0),x([(0,i.kv)({default:""}),B("design:type",String)],G.prototype,"idModifier",void 0),x([(0,i.ox)("value"),B("design:type",Function),B("design:paramtypes",[]),B("design:returntype",void 0)],G.prototype,"updateValue",null),G=A=x([p(),(0,i.uA)({components:{VueColorPicker:o.q,StyleDropdown:d.P,WidgetRotateComponent:s.v}})],G)},93457:e=>{e.exports={activeTextColor:"#17b365",alertErrorColor:"#f73936",alertInfoColor:"#1ab1ba",alertWarningColor:"#f2b134",authBtnInColumnWidth:"360px",autocompleteBorder:"#ffffff3d",avatarDropdownSize:"50",avatarEditorDropdownSize:"40",avatarEditorSize:"26",avatarSize:"50",black:"#000",blackCharcoal:"#1b1b1b",blueGradientColor:"#2dc2ce",blueMain:"blue",blueSecondary:"#2dc1c5",bluishGray:"#9097a8",brightGrayBackground:"#eee",charc
2oalBlack:"#1d1f24",charcoalBlue:"#30343e",charcoalGray:"#4b515f",checkboxBackground:"#424753",checkboxDesign:"#aaaebb",cherryRedBorder:"#da4148",colorName:"#191c20",coolGray:"#9097a8",darkGrayishBlue:"#3c414d",darkTealBlue:"#007c81",designWhite:"#f7f7fa",dialogDarkGreyBackground:"#292c34",dialogLightGreyBackground:"#454a56",dictionaryBorderLightGray:"#aaaeb8",dimBlack:"#000518",dimGray:"#a2a2a2",dimmedText:"#babcbe",dodgerBlue:"#1481d4",ecomTooltipLabel:"#07ae5a",emeraldGreen:"#07ae5a",errorMain:"#dc1515",faintBlack:"#0003",ghostWhite:"#fff6",glassWhite:"#ffffffb3",goldenTan:"#c2a760",goldenYellow:"#ffc410",gradientSliderHandleBorderColor:"#c4c4c4",graphite:"#454545",gray:"#707070",grayDarken60:"#3c414d",grayDarken70:"#30343e",grayLightenBackground:"#e8f7f0",grayTableHeaderBorder:"#dcdfe6",green900:"#06301b",greenApple:"#82b440",greenDarkColor:"#009147",greenDarken60:"#107d47",greenInputText:"#07ae5a",greenLighten20:"#07ae5a33",greenLighten30:"#17b365",greenShade:"#17b365",greyDefaultInputBackground:"#30343e",greyInputBackground:"#1f222a",greyInputButtonBackground:"#363b47",greyPanelBackground:"#e5e5e5",greyPricingText:"#b4b5b6",greyTableText:"#424753",iconVeryLightGrey:"#bbbcbe",imagesProjectPreviewColor:"#f6f6f6",inputTextBorder:"#9e9e9e",jadeGreen:"#17b365",layoutBlackBackground:"#1d1f24",layoutButtonBackground:"#3c414d",layoutFormPlaceholderDark:"#fff6",layoutGreyBackground:"#edeff4",layoutTransitionDuration:".5s",leftPanelWidth:"50px",leftPanelWithWidgetWidth:"266px",lighGreyBackgroundColor:"#dde2e5",lightBlueGray:"#d9dde5",lightGray:"#e9eaec",lightGrayBackground:"#ebedf2",lightGrayColor:"#a5a5a5",lightGrayishBlue:"#dcdfe6",lightGreenBackground:"#17b365",lightGreyText:"#898d99",lightSeafoamGreen:"#e8f7f0",lightSkyBlue:"#75c9f8",lihgtBlueOpinionWidgetBg:"#f3fdfe",mainColorBlack:"#1d1f24",mainColorBlue:"#2dc2cb",mainColorDarkGreen:"#15a15b",mainColorGreen:"#11d472",mainColorLightGray:"#f7f7fa",mainColorOrange:"#f2b134",mainColorPink:"#ff2c7f",mainColorRed:"#ed553b",mainColorTheRedest:"#f26954",maskBackgroundColor:"#000",maxAuthBtnWidth:"400px",minSpaceBetweenAuthBtn:"10px",mistyGray:"#9097a8",mistyGrey:"#ddd",mossGreen:"#1b8952",mutedBlueGray:"#272b33",noDataTextColor:"#bfbfbf",offWhiteGray:"#f7f7fa",paleGray:"#ffffff80",paleGrayishBlue:"#d9dde5",pearlGray:"#f4f4f4",profileBackgroundGray:"#f6f7f8",profileSiteGreyText:"#5c5c5f",sageGray:"#adafae",sandstoneBackground:"#c2a76016",sapphireBlue:"#1481d4",scrollAreaScrollBarWidth:"12px",semiTransparentBlack:"#0000003f",semiTransparentEmeraldGreen:"#07ae5a7f",shadowBlackBorder:"#0006",shadyGreen:"#a2a2a2",slateGray:"#9f9f9f",socialIconLightGrayBackground:"#707070",softGray:"#ccc",steelGray:"gray",strokeWhite:"#fff",subscriptionYellow:"#fdaf69",tealBlue:"#00a9af",topPanelColorBorder:"#3c414d",topPanelHeight:"80px",topPanelHeightEditorValue:"40px",transparent:"transparent",transparentBlack:"#00000080",transparentBlackBackground:"#0000001a",transparentBlue:"#75c9f829",transparentEmeraldGreen:"#07ae5a00",transparentGreen:"#17b36529",transparentWhite:"#ffffffb3",transparentYellow:"#f1f2f41a",veryLightGray:"#f9f9f9",veryTransparentBlack:"#0000001a",vibrantBlue:"#0087ef",vividBlue:"#0087ef",warning50:"#c43f28",white:"#fff",whiteMain:"#fff",widgetDialogGreen:"#07ae5a",widgetDropdownBackground:"#3a3e49",widgetTreeHighlight:"#424753"}},115255:e=>{var t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"styleManagementDialog"}},[n("div",{attrs:{id:"maskOverlay"},on:{click:e.closeStylesManagementDialog}}),e._v(" "),n("div",{attrs:{id:"navigationPanel"}},[n("div",{attrs:{id:"navigationOptions"}},[e._v(e._s(e.$t("styles")))])]),e._v(" "),n("div",{staticClass:"hnr-scb scb-neutral",attrs:{id:"styles-wrapper"}},[n("domain-plan-access-mask",{attrs:{permissionName:"pageEdit",opacity:90}},[n("div",{attrs:{id:"styles-content"}},[n("color-styles",{ref:"colors",attrs:{id:"color-styles"},on:{initChange:e.initChange,flushChange:e.flushChange}})],1)])],1)])},n=[];t._withStripped=!0,e.exports=function(e){var r="function"==typeof e?e.options:e;return r.render=t,r.staticRenderFns=n,e}},222341:(e,t,n)=>{"use strict";n.d(t,{g:()=>a});var r=n(624537);class a extends r.l{static getClassName(){return"EnumDesignAction"}static getDescription(e){return a.DESCRIPTIONS[e]||""}}a.COPY="copy",a.PASTE="paste",a.PASTE_WITH_CLASS="pasteWithClass",a.PASTE_WITH_DEFAULT_CLASS="pasteWithDefaultClass",a.CUT="cut",a.DELETE="delete",a.DESELECT="deselect",a.VERTICAL_CENT
2ER="verticalCenter",a.VERTICAL_TOP="verticalTop",a.VERTICAL_BOTTOM="verticalBottom",a.HORIZONTAL_CENTER="horizontalCenter",a.HORIZONTAL_LEFT="horizontalLeft",a.HORIZONTAL_RIGHT="horizontalRight",a.TEXT_RIGHT="textRight",a.TEXT_LEFT="textLeft",a.TEXT_CENTER="textCenter",a.TEXT_JUSTIFY="textJustify",a.UNDO="undo",a.REDO="redo",a.SAVE="save",a.PREVIEW="preview",a.PUBLISH="publish",a.VIEW_DESKTOP="viewDesktop",a.VIEW_TABLET_HORIZONTAL="viewTabletHorizontal",a.VIEW_TABLET_VERTICAL="viewTabletVertical",a.VIEW_MOBILE_PHONE="viewMobilePhone",a.MOVE_UP="moveUp",a.MOVE_RIGHT="moveRight",a.MOVE_DOWN="moveDown",a.MOVE_LEFT="moveLeft",a.PREV_CONTAINER="prevContainer",a.NEXT_CONTAINER="nextContainer",a.SEARCH_STYLE="search",a.GO_BACK_TO_DICTIONARY="goBackToDictionary",a.CONVERT_TO_COMPONENT="convertToComponent",a.COMMAND_PALETTE="commandPalette",a.DESCRIPTIONS={[a.UNDO]:"Revert last change",[a.REDO]:"Reapply undone change",[a.COPY]:"Copy selected widget",[a.PASTE]:"Paste widget",[a.PASTE_WITH_CLASS]:"Choose which styles to keep",[a.PASTE_WITH_DEFAULT_CLASS]:"Use default common styles",[a.CUT]:"Cut selected widget",[a.DELETE]:"Remove selected widget",[a.DESELECT]:"Clear widget selection",[a.SAVE]:"Save current page",[a.PREVIEW]:"Preview in new tab",[a.PUBLISH]:"Publish to live site",[a.VIEW_DESKTOP]:"Switch to desktop mode (1920px+)",[a.VIEW_TABLET_HORIZONTAL]:"Switch to tablet landscape (1024px)",[a.VIEW_TABLET_VERTICAL]:"Switch to tablet portrait (768px)",[a.VIEW_MOBILE_PHONE]:"Switch to mobile phone (414px)",[a.PREV_CONTAINER]:"Navigate to parent container (during drag)",[a.NEXT_CONTAINER]:"Navigate to child container (during drag)",[a.GO_BACK_TO_DICTIONARY]:"Open page management tree",[a.COMMAND_PALETTE]:"Toggle command palette"}},259829:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});var r=n(624537),a=n(795098);class i extends r.l{static getClassName(){return"EnumGradientType"}static getRegexpForGradients(){return`(${i.LINEAR}|${i.RADIAL}|${a.C.GRADIENT_PREFIX})`}}i.LINEAR="linear-gradient",i.RADIAL="radial-gradient"},263190:e=>{e.exports={activeTextColor:"#17b365",alertErrorColor:"#f73936",alertInfoColor:"#1ab1ba",alertWarningColor:"#f2b134",authBtnInColumnWidth:"360px",autocompleteBorder:"#ffffff3d",avatarDropdownSize:"50",avatarEditorDropdownSize:"40",avatarEditorSize:"26",avatarSize:"50",black:"#000",blackCharcoal:"#1b1b1b",blueGradientColor:"#2dc2ce",blueMain:"blue",blueSecondary:"#2dc1c5",bluishGray:"#9097a8",brightGrayBackground:"#eee",charc
2oalBlack:"#1d1f24",charcoalBlue:"#30343e",charcoalGray:"#4b515f",checkboxBackground:"#424753",checkboxDesign:"#aaaebb",cherryRedBorder:"#da4148",colorName:"#191c20",coolGray:"#9097a8",darkGrayishBlue:"#3c414d",darkTealBlue:"#007c81",designWhite:"#f7f7fa",dialogDarkGreyBackground:"#292c34",dialogLightGreyBackground:"#454a56",dictionaryBorderLightGray:"#aaaeb8",dimBlack:"#000518",dimGray:"#a2a2a2",dimmedText:"#babcbe",dodgerBlue:"#1481d4",ecomTooltipLabel:"#07ae5a",emeraldGreen:"#07ae5a",errorMain:"#dc1515",faintBlack:"#0003",ghostWhite:"#fff6",glassWhite:"#ffffffb3",goldenTan:"#c2a760",goldenYellow:"#ffc410",gradientSliderHandleBorderColor:"#c4c4c4",graphite:"#454545",gray:"#707070",grayDarken60:"#3c414d",grayDarken70:"#30343e",grayLightenBackground:"#e8f7f0",grayTableHeaderBorder:"#dcdfe6",green900:"#06301b",greenApple:"#82b440",greenDarkColor:"#009147",greenDarken60:"#107d47",greenInputText:"#07ae5a",greenLighten20:"#07ae5a33",greenLighten30:"#17b365",greenShade:"#17b365",greyDefaultInputBackground:"#30343e",greyInputBackground:"#1f222a",greyInputButtonBackground:"#363b47",greyPanelBackground:"#e5e5e5",greyPricingText:"#b4b5b6",greyTableText:"#424753",iconVeryLightGrey:"#bbbcbe",imagesProjectPreviewColor:"#f6f6f6",inputTextBorder:"#9e9e9e",jadeGreen:"#17b365",layoutBlackBackground:"#1d1f24",layoutButtonBackground:"#3c414d",layoutFormPlaceholderDark:"#fff6",layoutGreyBackground:"#edeff4",layoutTransitionDuration:".5s",leftPanelWidth:"50px",leftPanelWithWidgetWidth:"266px",lighGreyBackgroundColor:"#dde2e5",lightBlueGray:"#d9dde5",lightGray:"#e9eaec",lightGrayBackground:"#ebedf2",lightGrayColor:"#a5a5a5",lightGrayishBlue:"#dcdfe6",lightGreenBackground:"#17b365",lightGreyText:"#898d99",lightSeafoamGreen:"#e8f7f0",lightSkyBlue:"#75c9f8",lihgtBlueOpinionWidgetBg:"#f3fdfe",mainColorBlack:"#1d1f24",mainColorBlue:"#2dc2cb",mainColorDarkGreen:"#15a15b",mainColorGreen:"#11d472",mainColorLightGray:"#f7f7fa",mainColorOrange:"#f2b134",mainColorPink:"#ff2c7f",mainColorRed:"#ed553b",mainColorTheRedest:"#f26954",maskBackgroundColor:"#000",maxAuthBtnWidth:"400px",minSpaceBetweenAuthBtn:"10px",mistyGray:"#9097a8",mistyGrey:"#ddd",mossGreen:"#1b8952",mutedBlueGray:"#272b33",noDataTextColor:"#bfbfbf",offWhiteGray:"#f7f7fa",paleGray:"#ffffff80",paleGrayishBlue:"#d9dde5",pearlGray:"#f4f4f4",profileBackgroundGray:"#f6f7f8",profileSiteGreyText:"#5c5c5f",sageGray:"#adafae",sandstoneBackground:"#c2a76016",sapphireBlue:"#1481d4",scrollAreaScrollBarWidth:"12px",semiTransparentBlack:"#0000003f",semiTransparentEmeraldGreen:"#07ae5a7f",shadowBlackBorder:"#0006",shadyGreen:"#a2a2a2",slateGray:"#9f9f9f",socialIconLightGrayBackground:"#707070",softGray:"#ccc",steelGray:"gray",strokeWhite:"#fff",subscriptionYellow:"#fdaf69",tealBlue:"#00a9af",topPanelColorBorder:"#3c414d",topPanelHeight:"80px",topPanelHeightEditorValue:"40px",transparent:"transparent",transparentBlack:"#00000080",transparentBlackBackground:"#0000001a",transparentBlue:"#75c9f829",transparentEmeraldGreen:"#07ae5a00",transparentGreen:"#17b36529",transparentWhite:"#ffffffb3",transparentYellow:"#f1f2f41a",veryLightGray:"#f9f9f9",veryTransparentBlack:"#0000001a",vibrantBlue:"#0087ef",vividBlue:"#0087ef",warning50:"#c43f28",white:"#fff",whiteMain:"#fff",widgetDialogGreen:"#07ae5a",widgetDropdownBackground:"#3a3e49",widgetTreeHighlight:"#424753"}},297765:(e,t,n)=>{"use strict";n.d(t,{q:()=>g});var r,a=n(715530),i=n(19609),o=n(574022),s=n(461621),l=n(118657),c=n(192178),d=n(430257),u=n.n(d),h=(n(341401),n(274692)),f=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},p=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};let g=r=class extends l.lD{constructor(){super(...arguments),this.color=null,this.unwatchColorCSSValue=null,this.onInputChangeThrottled=(0,o.A)(this.onInputChange.bind(this),r.COLOR_PICKER_THROTTLE_TIME)}mounted(){var e;this.$userColorInput=this.$refs.input,this.$colorSampleButton=this.$refs.sample,void 0===window.lessVars&&(window.lessVars=[]),a.A.init("color-picker"),this.$colorPickerInput=h(`#${this.pickerId} input[name="color-picker"]`),(null===(e=this.options)||void 0===e?void 0:e.colorInputName)&&this.$colorPickerInput.attr("name",this.options.colorInputName),this.$colorPickerInput.on("input",this.onInputChangeThrottled).trigger("input"),this.$userColorInput&&(this.$userColorInput.value=this.$colorSampleButton.style.backgroundColor,this.$userColorInput.addEventListener("change",this.handleColorInputChange),this.unwatchColorCSSValue=this.$watch("colorCSSValue",()=>{this.value===c.a.CURRENT_COLOR&&this.$forceUpdate()}),this.$forceUpdate())}onInputChange(e){this.$emit("input",h(e.target).val())}handleColorInputChange(){const e=i.A.validator(this.$userColorInput.value);!0===e?this.$colorPickerInput.val(this.$userColorInput.value).trigger("change"):!1===e?this.$userColorInput.value=this.$colorSampleButton.style.backgroundColor:this.$colorPickerInput.val(e).trigger("change")}detachEventListeners(){this.$userColorInput.removeEventListener("change",this.handleColorInputChange),this.$colorPickerInput.off("input",this.onInputChangeThrottled),this.unwatchColorCSSValue()}beforeDestroy(){this.detachEventListeners()}updated(){this.$colorSampleButton.style.backgroundColor=this.buttonBgColor,void 0!==this.$userColorInput&&(this.$userColorInput.value=this.$colorSampleButton.style.backgroundColor)}get pickerId(){return this.id?this.id:r.COLORPICKER_PREFIX+Date.now()+r.idCounter++}get buttonBgColor(){return this.value===c.a.CURRENT_COLOR?this.colorCSSValue:this.value.replace("!important","")}get isImportant(){return this.value.includes("!important")||this.important}};g.COLOR_PICKER_THROTTLE_TIME=200,g.COLORPICKER_PREFIX="picker",g.idCounter=0,f([(0,l.kv)({default:s.AppConstants.DEFAULT_COLOR}),p("design:type",String)],g.prototype,"value",void 0),f([(0,l.kv)({default:!0}),p("design:type",Boolean)],g.prototype,"showColorCode",void 0),f([(0,l.kv)({default:""}),p("design:type",String)],g.prototype,"id",void 0),f([(0,l.kv)(),p("design:type",String)],g.prototype,"colorCSSValue",void 0),f([(0,l.kv)({default:!1}),p("design:type",Boolean)],g.prototype,"important",void 0),f([(0,l.kv)({default:()=>{}}),p("design:type",Object)],g.prototype,"options",void 0),g=r=f([u(),l.uA],g)},299072:e=>{var t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"gradient-settings"},[n("div",{attrs:{id:"gradientSlider"+e.idModifier}}),e._v(" "),n("div",{staticClass:"handle-options"},[e.activeHandle?n("vue-color-picker",{attrs:{options:e.colorPickerOptions},model:{value:e.activeSliderHandle.color,callback:function(t){e.$set(e.activeSliderHandle,"color",t)},expression:"activeSliderHandle.color"}}
2):e._e(),e._v(" "),n("v-icon",{directives:[{name:"show",rawName:"v-show",value:e.sliderValues.length>2,expression:"sliderValues.length > 2"}],staticClass:"btn-delete-handle",on:{click:function(t){return e.deleteHandle()}}},[e._v(" mdi-trash-can-outline ")])],1),e._v(" "),n("div",{staticClass:"gradient-type column-container",attrs:{id:"gradientOptions"}},[n("div",{staticClass:"half-column gradient-type-dropdown"},[n("label",{staticClass:"option-label"},[e._v(e._s(e.$tc("gradientType")))]),e._v(" "),n("style-dropdown",{attrs:{id:"gradientType",list:e.enumGradientType},model:{value:e.gradientType,callback:function(t){e.gradientType=t},expression:"gradientType"}})],1),e._v(" "),e.isLinear?n("div",{staticClass:"half-column right"},[n("widget-rotate-component",{on:{initChange:e.initChange,flushChange:e.flushChange},model:{value:e.linearGradientRadius,callback:function(t){e.linearGradientRadius=t},expression:"linearGradientRadius"}})],1):e._e()])])},n=[];t._withStripped=!0,e.exports=function(e){var r="function"==typeof e?e.options:e;return r.render=t,r.staticRenderFns=n,e}},341401:e=>{e.exports={activeTextColor:"#17b365",alertErrorColor:"#f73936",alertInfoColor:"#1ab1ba",alertWarningColor:"#f2b134",authBtnInColumnWidth:"360px",autocompleteBorder:"#ffffff3d",avatarDropdownSize:"50",avatarEditorDropdownSize:"40",avatarEditorSize:"26",avatarSize:"50",black:"#000",blackCharcoal:"#1b1b1b",blueGradientColor:"#2dc2ce",blueMain:"blue",blueSecondary:"#2dc1c5",bluishGray:"#9097a8",brightGrayBackground:"#eee",charc
2oalBlack:"#1d1f24",charcoalBlue:"#30343e",charcoalGray:"#4b515f",checkboxBackground:"#424753",checkboxDesign:"#aaaebb",cherryRedBorder:"#da4148",colorName:"#191c20",coolGray:"#9097a8",darkGrayishBlue:"#3c414d",darkTealBlue:"#007c81",designWhite:"#f7f7fa",dialogDarkGreyBackground:"#292c34",dialogLightGreyBackground:"#454a56",dictionaryBorderLightGray:"#aaaeb8",dimBlack:"#000518",dimGray:"#a2a2a2",dimmedText:"#babcbe",dodgerBlue:"#1481d4",ecomTooltipLabel:"#07ae5a",emeraldGreen:"#07ae5a",errorMain:"#dc1515",faintBlack:"#0003",ghostWhite:"#fff6",glassWhite:"#ffffffb3",goldenTan:"#c2a760",goldenYellow:"#ffc410",gradientSliderHandleBorderColor:"#c4c4c4",graphite:"#454545",gray:"#707070",grayDarken60:"#3c414d",grayDarken70:"#30343e",grayLightenBackground:"#e8f7f0",grayTableHeaderBorder:"#dcdfe6",green900:"#06301b",greenApple:"#82b440",greenDarkColor:"#009147",greenDarken60:"#107d47",greenInputText:"#07ae5a",greenLighten20:"#07ae5a33",greenLighten30:"#17b365",greenShade:"#17b365",greyDefaultInputBackground:"#30343e",greyInputBackground:"#1f222a",greyInputButtonBackground:"#363b47",greyPanelBackground:"#e5e5e5",greyPricingText:"#b4b5b6",greyTableText:"#424753",iconVeryLightGrey:"#bbbcbe",imagesProjectPreviewColor:"#f6f6f6",inputTextBorder:"#9e9e9e",jadeGreen:"#17b365",layoutBlackBackground:"#1d1f24",layoutButtonBackground:"#3c414d",layoutFormPlaceholderDark:"#fff6",layoutGreyBackground:"#edeff4",layoutTransitionDuration:".5s",leftPanelWidth:"50px",leftPanelWithWidgetWidth:"266px",lighGreyBackgroundColor:"#dde2e5",lightBlueGray:"#d9dde5",lightGray:"#e9eaec",lightGrayBackground:"#ebedf2",lightGrayColor:"#a5a5a5",lightGrayishBlue:"#dcdfe6",lightGreenBackground:"#17b365",lightGreyText:"#898d99",lightSeafoamGreen:"#e8f7f0",lightSkyBlue:"#75c9f8",lihgtBlueOpinionWidgetBg:"#f3fdfe",mainColorBlack:"#1d1f24",mainColorBlue:"#2dc2cb",mainColorDarkGreen:"#15a15b",mainColorGreen:"#11d472",mainColorLightGray:"#f7f7fa",mainColorOrange:"#f2b134",mainColorPink:"#ff2c7f",mainColorRed:"#ed553b",mainColorTheRedest:"#f26954",maskBackgroundColor:"#000",maxAuthBtnWidth:"400px",minSpaceBetweenAuthBtn:"10px",mistyGray:"#9097a8",mistyGrey:"#ddd",mossGreen:"#1b8952",mutedBlueGray:"#272b33",noDataTextColor:"#bfbfbf",offWhiteGray:"#f7f7fa",paleGray:"#ffffff80",paleGrayishBlue:"#d9dde5",pearlGray:"#f4f4f4",profileBackgroundGray:"#f6f7f8",profileSiteGreyText:"#5c5c5f",sageGray:"#adafae",sandstoneBackground:"#c2a76016",sapphireBlue:"#1481d4",scrollAreaScrollBarWidth:"12px",semiTransparentBlack:"#0000003f",semiTransparentEmeraldGreen:"#07ae5a7f",shadowBlackBorder:"#0006",shadyGreen:"#a2a2a2",slateGray:"#9f9f9f",socialIconLightGrayBackground:"#707070",softGray:"#ccc",steelGray:"gray",strokeWhite:"#fff",subscriptionYellow:"#fdaf69",tealBlue:"#00a9af",topPanelColorBorder:"#3c414d",topPanelHeight:"80px",topPanelHeightEditorValue:"40px",transparent:"transparent",transparentBlack:"#00000080",transparentBlackBackground:"#0000001a",transparentBlue:"#75c9f829",transparentEmeraldGreen:"#07ae5a00",transparentGreen:"#17b36529",transparentWhite:"#ffffffb3",transparentYellow:"#f1f2f41a",veryLightGray:"#f9f9f9",veryTransparentBlack:"#0000001a",vibrantBlue:"#0087ef",vividBlue:"#0087ef",warning50:"#c43f28",white:"#fff",whiteMain:"#fff",widgetDialogGreen:"#07ae5a",widgetDropdownBackground:"#3a3e49",widgetTreeHighlight:"#424753"}},413729:(e,t)=>{var n,r,a;r=[],void 0===(a="function"==typeof(n=function(){"use strict";var e="14.7.0";function t(e){return"object"==typeof e&&"function"==typeof e.to&&"function"==typeof e.from}function n(e){e.parentElement.removeChild(e)}function r(e){return null!=e}function a(e){e.preventDefault()}function i(e){return e.filter(function(e){return!this[e]&&(this[e]=!0)},{})}function o(e,t){return Math.round(e/t)*t}function s(e,t){var n=e.getBoundingClientRect(),r=e.ownerDocument,a=r.documentElement,i=m(r);return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(i.x=0),t?n.top+i.y-a.clientTop:n.left+i.x-a.clientLeft}function l(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function c(e,t,n){n>0&&(f(e,t),setTimeout(function(){p(e,t)},n))}function d(e){return Math.max(Math.min(e,100),0)}function u(e){return Array.isArray(e)?e:[e]}function h(e){var t=(e=String(e)).split(".");return t.length>1?t[1].length:0}function f(e,t){e.classList&&!/\s/.test(t)?e.classList.add(t):e.className+=" "+t}function p(e,t){e.classList&&!/\s/.test(t)?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function g(e,t){return e.classList?e.classList.contains(t):new RegExp("\\b"+t+"\\b").test(e.className)}function m(e){var t=void 0!==window.pageXOffset,n="CSS1Compat"===(e.compatMode||"");return{x:t?window.pageXOffset:n?e.documentElement.scrollLeft:e.body.scrollLeft,y:t?window.pageYOffset:n?e.documentElement.scrollTop:e.body.scrollTop}}function y(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}
2:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}function v(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}function b(){return window.CSS&&CSS.supports&&CSS.supports("touch-action","none")}function C(e,t){return 100/(t-e)}function w(e,t,n){return 100*t/(e[n+1]-e[n])}function T(e,t){return w(e,e[0]<0?t+Math.abs(e[0]):t-e[0],0)}function S(e,t){return t*(e[1]-e[0])/100+e[0]}function E(e,t){for(var n=1;e>=t[n];)n+=1;return n}function A(e,t,n){if(n>=e.slice(-1)[0])return 100;var r=E(n,e),a=e[r-1],i=e[r],o=t[r-1],s=t[r];return o+T([a,i],n)/C(o,s)}function k(e,t,n){if(n>=100)return e.slice(-1)[0];var r=E(n,t),a=e[r-1],i=e[r],o=t[r-1];return S([a,i],(n-o)*C(o,t[r]))}function x(e,t,n,r){if(100===r)return r;var a=E(r,e),i=e[a-1],s=e[a];return n?r-i>(s-i)/2?s:i:t[a-1]?e[a-1]+o(r-e[a-1],t[a-1]):r}function B(t,n,r){var a;if("number"==typeof n&&(n=[n]),!Array.isArray(n))throw new Error("noUiSlider ("+e+"): 'range' contains invalid value.");if(!l(a="min"===t?0:"max"===t?100:parseFloat(t))||!l(n[0]))throw new Error("noUiSlider ("+e+"): 'range' value isn't numeric.");r.xPct.push(a),r.xVal.push(n[0]),a?r.xSteps.push(!isNaN(n[1])&&n[1]):isNaN(n[1])||(r.xSteps[0]=n[1]),r.xHighestCompleteStep.push(0)}function G(e,t,n){if(t)if(n.xVal[e]!==n.xVal[e+1]){n.xSteps[e]=w([n.xVal[e],n.xVal[e+1]],t,0)/C(n.xPct[e],n.xPct[e+1]);var r=(n.xVal[e+1]-n.xVal[e])/n.xNumSteps[e],a=Math.ceil(Number(r.toFixed(3))-1),i=n.xVal[e]+n.xNumSteps[e]*a;n.xHighestCompleteStep[e]=i}else n.xSteps[e]=n.xHighestCompleteStep[e]=n.xVal[e]}function _(e,t,n){var r;this.xPct=[],this.xVal=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.xHighestCompleteStep=[],this.snap=t;var a=[];for(r in e)e.hasOwnProperty(r)&&a.push([e[r],r]);for(a.length&&"object"==typeof a[0][0]?a.sort(function(e,t){return e[0][0]-t[0][0]}):a.sort(function(e,t){return e[0]-t[0]}),r=0;r<a.length;r++)B(a[r][1],a[r][0],this);for(this.xNumSteps=this.xSteps.slice(0),r=0;r<this.xNumSteps.length;r++)G(r,this.xNumSteps[r],this)}_.prototype.getDistance=function(t){var n,r=[];for(n=0;n<this.xNumSteps.length-1;n++){var a=this.xNumSteps[n];if(a&&t/a%1!=0)throw new Error("noUiSlider ("+e+"): 'limit', 'margin' and 'padding' of "+this.xPct[n]+"% range must be divisible by step.");r[n]=w(this.xVal,t,n)}return r},_.prototype.getAbsoluteDistance=function(e,t,n){var r,a=0;if(e<this.xPct[this.xPct.length-1])for(;e>this.xPct[a+1];)a++;else e===this.xPct[this.xPct.length-1]&&(a=this.xPct.length-2);n||e!==this.xPct[a+1]||a++;var i=1,o=t[a],s=0,l=0,c=0,d=0;for(r=n?(e-this.xPct[a])/(this.xPct[a+1]-this.xPct[a]):(this.xPct[a+1]-e)/(this.xPct[a+1]-this.xPct[a]);o>0;)s=this.xPct[a+1+d]-this.xPct[a+d],t[a+d]*i+100-100*r>100?(l=s*r,i=(o-100*r)/t[a+d],r=1):(l=t[a+d]*s/100*i,i=0),n?(c-=l,this.xPct.length+d>=1&&d--):(c+=l,this.xPct.length-d>=1&&d++),o=t[a+d]*i;return e+c},_.prototype.toStepping=function(e){return e=A(this.xVal,this.xPct,e)},_.prototype.fromStepping=function(e){return k(this.xVal,this.xPct,e)},_.prototype.getStep=function(e){return e=x(this.xPct,this.xSteps,this.snap,e)},_.prototype.getDefaultStep=function(e,t,n){var r=E(e,this.xPct);return(100===e||t&&e===this.xPct[r-1])&&(r=Math.max(r-1,1)),(this.xVal[r]-this.xVal[r-1])/n},_.prototype.getNearbySteps=function(e){var t=E(e,this.xPct);return{stepBefore:{startValue:this.xVal[t-2],step:this.xNumSteps[t-2],highestStep:this.xHighestCompleteStep[t-2]},thisStep:{startValue:this.xVal[t-1],step:this.xNumSteps[t-1],highestStep:this.xHighestCompleteStep[t-1]},stepAfter:{startValue:this.xVal[t],step:this.xNumSteps[t],highestStep:this.xHighestCompleteStep[t]}}},_.prototype.countStepDecimals=function(){var e=this.xNumSteps.map(h);return Math.max.apply(null,e)},_.prototype.convert=function(e){return this.getStep(this.toStepping(e))};var O={to:function(e){return void 0!==e&&e.toFixed(2)},from:Number},L={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},R={tooltips:".__tooltips",aria:".__aria"};function I(n){if(t(n))return!0;throw new Error("noUiSlider ("+e+"): 'format' requires 'to' and 'from' methods.")}function D(t,n){if(!l(n))throw new Error("noUiSlider ("+e+"): 'step' is not numeric.");t.singleStep=n}function N(t,n){if(!l(n))throw new Error("noUiSlider ("+e+"): 'keyboardPageMultiplier' is not numeric.");t.keyboardPageMultiplier=n}function P(t,n){if(!l(n))throw new Error("noUiSlider ("+e+"): 'keyboardDefaultStep' is not numeric.");t.keyboardDefaultStep=n}function W(t,n){if("object"!=typeof n||Array.isArray(n))throw new Error("noUiSlider ("+e+"): 'range' is not an object.");if(void 0===n.min||void 0===n.max)throw new Error("noUiSlider ("+e+"): Missing 'min' or 'max' in 'range'.");if(n.min===n.max)throw new Error("noUiSlider ("+e+"): 'range' 'min' and 'max' cannot be equal.");t.spectrum=new _(n,t.snap,t.singleStep)}
2function M(t,n){if(n=u(n),!Array.isArray(n)||!n.length)throw new Error("noUiSlider ("+e+"): 'start' option is incorrect.");t.handles=n.length,t.start=n}function V(t,n){if(t.snap=n,"boolean"!=typeof n)throw new Error("noUiSlider ("+e+"): 'snap' option must be a boolean.")}function H(t,n){if(t.animate=n,"boolean"!=typeof n)throw new Error("noUiSlider ("+e+"): 'animate' option must be a boolean.")}function F(t,n){if(t.animationDuration=n,"number"!=typeof n)throw new Error("noUiSlider ("+e+"): 'animationDuration' option must be a number.")}function $(t,n){var r,a=[!1];if("lower"===n?n=[!0,!1]:"upper"===n&&(n=[!1,!0]),!0===n||!1===n){for(r=1;r<t.handles;r++)a.push(n);a.push(!1)}else{if(!Array.isArray(n)||!n.length||n.length!==t.handles+1)throw new Error("noUiSlider ("+e+"): 'connect' option doesn't match handle count.");a=n}t.connect=a}function U(t,n){switch(n){case"horizontal":t.ort=0;break;case"vertical":t.ort=1;break;default:throw new Error("noUiSlider ("+e+"): 'orientation' option is invalid.")}}function j(t,n){if(!l(n))throw new Error("noUiSlider ("+e+"): 'margin' option must be numeric.");0!==n&&(t.margin=t.spectrum.getDistance(n))}function X(t,n){if(!l(n))throw new Error("noUiSlider ("+e+"): 'limit' option must be numeric.");if(t.limit=t.spectrum.getDistance(n),!t.limit||t.handles<2)throw new Error("noUiSlider ("+e+"): 'limit' option is only supported on linear sliders with 2 or more handles.")}function z(t,n){var r;if(!l(n)&&!Array.isArray(n))throw new Error("noUiSlider ("+e+"): 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(n)&&2!==n.length&&!l(n[0])&&!l(n[1]))throw new Error("noUiSlider ("+e+"): 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==n){for(Array.isArray(n)||(n=[n,n]),t.padding=[t.spectrum.getDistance(n[0]),t.spectrum.getDistance(n[1])],r=0;r<t.spectrum.xNumSteps.length-1;r++)if(t.padding[0][r]<0||t.padding[1][r]<0)throw new Error("noUiSlider ("+e+"): 'padding' option must be a positive number(s).");var a=n[0]+n[1],i=t.spectrum.xVal[0];if(a/(t.spectrum.xVal[t.spectrum.xVal.length-1]-i)>1)throw new Error("noUiSlider ("+e+"): 'padding' option must not exceed 100% of the range.")}}function Y(t,n){switch(n){case"ltr":t.dir=0;break;case"rtl":t.dir=1;break;default:throw new Error("noUiSlider ("+e+"): 'direction' option was not recognized.")}}function K(t,n){if("string"!=typeof n)throw new Error("noUiSlider ("+e+"): 'behaviour' must be a string containing options.");var r=n.indexOf("tap")>=0,a=n.indexOf("drag")>=0,i=n.indexOf("fixed")>=0,o=n.indexOf("snap")>=0,s=n.indexOf("hover")>=0,l=n.indexOf("unconstrained")>=0;if(i){if(2!==t.handles)throw new Error("noUiSlider ("+e+"): 'fixed' behaviour must be used with 2 handles");j(t,t.start[1]-t.start[0])}if(l&&(t.margin||t.limit))throw new Error("noUiSlider ("+e+"): 'unconstrained' behaviour cannot be used with margin or limit");t.events={tap:r||o,drag:a,fixed:i,snap:o,hover:s,unconstrained:l}}function q(t,n){if(!1!==n)if(!0===n){t.tooltips=[];for(var r=0;r<t.handles;r++)t.tooltips.push(!0)}else{if(t.tooltips=u(n),t.tooltips.length!==t.handles)throw new Error("noUiSlider ("+e+"): must pass a formatter for all handles.");t.tooltips.forEach(function(t){if("boolean"!=typeof t&&("object"!=typeof t||"function"!=typeof t.to))throw new Error("noUiSlider ("+e+"): 'tooltips' must be passed a formatter or 'false'.")})}}function Z(e,t){e.ariaFormat=t,I(t)}function J(e,t){e.format=t,I(t)}function Q(t,n){if(t.keyboardSupport=n,"boolean"!=typeof n)throw new Error("noUiSlider ("+e+"): 'keyboardSupport' option must be a boolean.")}function ee(e,t){e.documentElement=t}function te(t,n){if("string"!=typeof n&&!1!==n)throw new Error("noUiSlider ("+e+"): 'cssPrefix' must be a string or `false`.");t.cssPrefix=n}function ne(t,n){if("object"!=typeof n)throw new Error("noUiSlider ("+e+"): 'cssClasses' must be an object.");if("string"==typeof t.cssPrefix)for(var r in t.cssClasses={},n)n.hasOwnProperty(r)&&(t.cssClasses[r]=t.cssPrefix+n[r]);else t.cssClasses=n}function re(t){var n={margin:0,limit:0,padding:0,animate:!0,animationDuration:300,ariaFormat:O,format:O},a={step:{r:!1,t:D},keyboardPageMultiplier:{r:!1,t:N},keyboardDefaultStep:{r:!1,t:P},start:{r:!0,t:M},connect:{r:!0,t:$},direction:{r:!0,t:Y},snap:{r:!1,t:V},animate:{r:!1,t:H},animationDuration:{r:!1,t:F},range:{r:!0,t:W},orientation:{r:!1,t:U},margin:{r:!1,t:j},limit:{r:!1,t:X},padding:{r:!1,t:z},behaviour:{r:!0,t:K},ariaFormat:{r:!1,t:Z},format:{r:!1,t:J},tooltips:{r:!1,t:q},keyboardSupport:{r:!0,t:Q},documentElement:{r:!1,t:ee},cssPrefix:{r:!0,t:te}
2,cssClasses:{r:!0,t:ne}},i={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:L,keyboardPageMultiplier:5,keyboardDefaultStep:10};t.format&&!t.ariaFormat&&(t.ariaFormat=t.format),Object.keys(a).forEach(function(o){if(!r(t[o])&&void 0===i[o]){if(a[o].r)throw new Error("noUiSlider ("+e+"): '"+o+"' is required.");return!0}a[o].t(n,r(t[o])?t[o]:i[o])}),n.pips=t.pips;var o=document.createElement("div"),s=void 0!==o.style.msTransform,l=void 0!==o.style.transform;n.transformRule=l?"transform":s?"msTransform":"webkitTransform";var c=[["left","top"],["right","bottom"]];return n.style=c[n.dir][n.ort],n}function ae(t,o,l){var h,C,w,T,S,E,A=y(),k=b()&&v(),x=t,B=o.spectrum,G=[],_=[],O=[],L=0,I={},D=t.ownerDocument,N=o.documentElement||D.documentElement,P=D.body,W=-1,M=0,V=1,H=2,F="rtl"===D.dir||1===o.ort?0:100;function $(e,t){var n=D.createElement("div");return t&&f(n,t),e.appendChild(n),n}function U(e,t){var n=$(e,o.cssClasses.origin),r=$(n,o.cssClasses.handle);return $(r,o.cssClasses.touchArea),r.setAttribute("data-handle",t),o.keyboardSupport&&(r.setAttribute("tabindex","0"),r.addEventListener("keydown",function(e){return ye(e,t)})),r.setAttribute("role","slider"),r.setAttribute("aria-orientation",o.ort?"vertical":"horizontal"),0===t?f(r,o.cssClasses.handleLower):t===o.handles-1&&f(r,o.cssClasses.handleUpper),n}function j(e,t){return!!t&&$(e,o.cssClasses.connect)}function X(e,t){var n=$(t,o.cssClasses.connects);C=[],(w=[]).push(j(n,e[0]));for(var r=0;r<o.handles;r++)C.push(U(t,r)),O[r]=r,w.push(j(n,e[r+1]))}function z(e){return f(e,o.cssClasses.target),0===o.dir?f(e,o.cssClasses.ltr):f(e,o.cssClasses.rtl),0===o.ort?f(e,o.cssClasses.horizontal):f(e,o.cssClasses.vertical),f(e,"rtl"===getComputedStyle(e).direction?o.cssClasses.textDirectionRtl:o.cssClasses.textDirectionLtr),$(e,o.cssClasses.base)}function Y(e,t){return!!o.tooltips[t]&&$(e.firstChild,o.cssClasses.tooltip)}function K(){return x.hasAttribute("disabled")}function q(e){return C[e].hasAttribute("disabled")}function Z(){S&&(we("update"+R.tooltips),S.forEach(function(e){e&&n(e)}),S=null)}function J(){Z(),S=C.map(Y),be("update"+R.tooltips,function(e,t,n){if(S[t]){var r=e[t];!0!==o.tooltips[t]&&(r=o.tooltips[t].to(n[t])),S[t].innerHTML=r}})}function Q(){we("update"+R.aria),be("update"+R.aria,function(e,t,n,r,a){O.forEach(function(e){var t=C[e],r=Se(_,e,0,!0,!0,!0),i=Se(_,e,100,!0,!0,!0),s=a[e],l=o.ariaFormat.to(n[e]);r=B.fromStepping(r).toFixed(1),i=B.fromStepping(i).toFixed(1),s=B.fromStepping(s).toFixed(1),t.children[0].setAttribute("aria-valuemin",r),t.children[0].setAttribute("aria-valuemax",i),t.children[0].setAttribute("aria-valuenow",s),t.children[0].setAttribute("aria-valuetext",l)})})}function ee(t,n,r){if("range"===t||"steps"===t)return B.xVal;if("count"===t){if(n<2)throw new Error("noUiSlider ("+e+"): 'values' (>= 2) required for mode 'count'.");var a=n-1,i=100/a;for(n=[];a--;)n[a]=a*i;n.push(100),t="positions"}return"positions"===t?n.map(function(e){return B.fromStepping(r?B.getStep(e):e)}):"values"===t?r?n.map(function(e){return B.fromStepping(B.getStep(B.toStepping(e)))}):n:void 0}function te(e,t,n){function r(e,t){return(e+t).toFixed(7)/1}var a={},o=B.xVal[0],s=B.xVal[B.xVal.length-1],l=!1,c=!1,d=0;return(n=i(n.slice().sort(function(e,t){return e-t})))[0]!==o&&(n.unshift(o),l=!0),n[n.length-1]!==s&&(n.push(s),c=!0),n.forEach(function(i,o){var s,u,h,f,p,g,m,y,v,b,C=i,w=n[o+1],T="steps"===t;if(T&&(s=B.xNumSteps[o]),s||(s=w-C),!1!==C)for(void 0===w&&(w=C),s=Math.max(s,1e-7),u=C;u<=w;u=r(u,s)){for(y=(p=(f=B.toStepping(u))-d)/e,b=p/(v=Math.round(y)),h=1;h<=v;h+=1)a[(g=d+h*b).toFixed(5)]=[B.fromStepping(g),0];m=n.indexOf(u)>-1?V:T?H:M,!o&&l&&u!==w&&(m=0),u===w&&c||(a[f.toFixed(5)]=[u,m]),d=f}}),a}function ne(e,t,n){var r=D.createElement("div"),a=[];
2a[M]=o.cssClasses.valueNormal,a[V]=o.cssClasses.valueLarge,a[H]=o.cssClasses.valueSub;var i=[];i[M]=o.cssClasses.markerNormal,i[V]=o.cssClasses.markerLarge,i[H]=o.cssClasses.markerSub;var s=[o.cssClasses.valueHorizontal,o.cssClasses.valueVertical],l=[o.cssClasses.markerHorizontal,o.cssClasses.markerVertical];function c(e,t){var n=t===o.cssClasses.value,r=n?a:i;return t+" "+(n?s:l)[o.ort]+" "+r[e]}function d(e,a,i){if((i=t?t(a,i):i)!==W){var s=$(r,!1);s.className=c(i,o.cssClasses.marker),s.style[o.style]=e+"%",i>M&&((s=$(r,!1)).className=c(i,o.cssClasses.value),s.setAttribute("data-value",a),s.style[o.style]=e+"%",s.innerHTML=n.to(a))}}return f(r,o.cssClasses.pips),f(r,0===o.ort?o.cssClasses.pipsHorizontal:o.cssClasses.pipsVertical),Object.keys(e).forEach(function(t){d(t,e[t][0],e[t][1])}),r}function ae(){T&&(n(T),T=null)}function ie(e){ae();var t=e.mode,n=e.density||1,r=e.filter||!1,a=te(n,t,ee(t,e.values||!1,e.stepped||!1)),i=e.format||{to:Math.round};return T=x.appendChild(ne(a,r,i))}function oe(){var e=h.getBoundingClientRect(),t="offset"+["Width","Height"][o.ort];return 0===o.ort?e.width||h[t]:e.height||h[t]}function se(e,t,n,r){var a=function(a){return!!(a=le(a,r.pageOffset,r.target||t))&&!(K()&&!r.doNotReject)&&!(g(x,o.cssClasses.tap)&&!r.doNotReject)&&!(e===A.start&&void 0!==a.buttons&&a.buttons>1)&&(!r.hover||!a.buttons)&&(k||a.preventDefault(),a.calcPoint=a.points[o.ort],void n(a,r))},i=[];return e.split(" ").forEach(function(e){t.addEventListener(e,a,!!k&&{passive:!0}),i.push([e,a])}),i}function le(e,t,n){var r,a,i=0===e.type.indexOf("touch"),o=0===e.type.indexOf("mouse"),s=0===e.type.indexOf("pointer");if(0===e.type.indexOf("MSPointer")&&(s=!0),"mousedown"===e.type&&!e.buttons&&!e.touches)return!1;if(i){var l=function(e){return e.target===n||n.contains(e.target)||e.target.shadowRoot&&e.target.shadowRoot.contains(n)};if("touchstart"===e.type){var c=Array.prototype.filter.call(e.touches,l);if(c.length>1)return!1;r=c[0].pageX,a=c[0].pageY}else{var d=Array.prototype.find.call(e.changedTouches,l);if(!d)return!1;r=d.pageX,a=d.pageY}}return t=t||m(D),(o||s)&&(r=e.clientX+t.x,a=e.clientY+t.y),e.pageOffset=t,e.points=[r,a],e.cursor=o||s,e}function ce(e){var t=100*(e-s(h,o.ort))/oe();return t=d(t),o.dir?100-t:t}function de(e){var t=100,n=!1;
2return C.forEach(function(r,a){if(!q(a)){var i=_[a],o=Math.abs(i-e);(o<t||o<=t&&e>i||100===o&&100===t)&&(n=a,t=o)}}),n}function ue(e,t){"mouseout"===e.type&&"HTML"===e.target.nodeName&&null===e.relatedTarget&&fe(e,t)}function he(e,t){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===e.buttons&&0!==t.buttonsProperty)return fe(e,t);var n=(o.dir?-1:1)*(e.calcPoint-t.startCalcPoint);Ae(n>0,100*n/t.baseSize,t.locations,t.handleNumbers)}function fe(e,t){t.handle&&(p(t.handle,o.cssClasses.active),L-=1),t.listeners.forEach(function(e){N.removeEventListener(e[0],e[1])}),0===L&&(p(x,o.cssClasses.drag),Be(),e.cursor&&(P.style.cursor="",P.removeEventListener("selectstart",a))),t.handleNumbers.forEach(function(e){Te("change",e),Te("set",e),Te("end",e)})}function pe(e,t){if(t.handleNumbers.some(q))return!1;var n;1===t.handleNumbers.length&&(n=C[t.handleNumbers[0]].children[0],L+=1,f(n,o.cssClasses.active)),e.stopPropagation();var r=[],i=se(A.move,N,he,{target:e.target,handle:n,listeners:r,startCalcPoint:e.calcPoint,baseSize:oe(),pageOffset:e.pageOffset,handleNumbers:t.handleNumbers,buttonsProperty:e.buttons,locations:_.slice()}),s=se(A.end,N,fe,{target:e.target,handle:n,listeners:r,doNotReject:!0,handleNumbers:t.handleNumbers}),l=se("mouseout",N,ue,{target:e.target,handle:n,listeners:r,doNotReject:!0,handleNumbers:t.handleNumbers});r.push.apply(r,i.concat(s,l)),e.cursor&&(P.style.cursor=getComputedStyle(e.target).cursor,C.length>1&&f(x,o.cssClasses.drag),P.addEventListener("selectstart",a,!1)),t.handleNumbers.forEach(function(e){Te("start",e)})}function ge(e){e.stopPropagation();var t=ce(e.calcPoint),n=de(t);if(!1===n)return!1;o.events.snap||c(x,o.cssClasses.tap,o.animationDuration),Ge(n,t,!0,!0),Be(),Te("slide",n,!0),Te("update",n,!0),Te("change",n,!0),Te("set",n,!0),o.events.snap&&pe(e,{handleNumbers:[n]})}function me(e){var t=ce(e.calcPoint),n=B.getStep(t),r=B.fromStepping(n);Object.keys(I).forEach(function(e){"hover"===e.split(".")[0]&&I[e].forEach(function(e){e.call(E,r)})})}function ye(e,t){if(K()||q(t))return!1;var n=["Left","Right"],r=["Down","Up"],a=["PageDown","PageUp"],i=["Home","End"];o.dir&&!o.ort?n.reverse():o.ort&&!o.dir&&(r.reverse(),a.reverse());var s,l=e.key.replace("Arrow",""),c=l===a[0],d=l===a[1],u=l===r[0]||l===n[0]||c,h=l===r[1]||l===n[1]||d,f=l===i[0],p=l===i[1];if(!(u||h||f||p))return!0;if(e.preventDefault(),h||u){var g=o.keyboardPageMultiplier,m=u?0:1,y=Pe(t)[m];if(null===y)return!1;!1===y&&(y=B.getDefaultStep(_[t],u,o.keyboardDefaultStep)),(d||c)&&(y*=g),y=Math.max(y,1e-7),y*=u?-1:1,s=G[t]+y}else s=p?o.spectrum.xVal[o.spectrum.xVal.length-1]:o.spectrum.xVal[0];return Ge(t,B.toStepping(s),!0,!0),Te("slide",t),Te("update",t),Te("change",t),Te("set",t),!1}function ve(e){e.fixed||C.forEach(function(e,t){se(A.start,e.children[0],pe,{handleNumbers:[t]})}),e.tap&&se(A.start,h,ge,{}),e.hover&&se(A.move,h,me,{hover:!0}),e.drag&&w.forEach(function(t,n){if(!1!==t&&0!==n&&n!==w.length-1){var r=C[n-1],a=C[n],i=[t];f(t,o.cssClasses.draggable),e.fixed&&(i.push(r.children[0]),i.push(a.children[0])),i.forEach(function(e){se(A.start,e,pe,{handles:[r,a],handleNumbers:[n-1,n]})})}})}function be(e,t){I[e]=I[e]||[],I[e].push(t),"update"===e.split(".")[0]&&C.forEach(function(e,t){Te("update",t)})}function Ce(e){return e===R.aria||e===R.tooltips}function we(e){var t=e&&e.split(".")[0],n=t?e.substring(t.length):e;Object.keys(I).forEach(function(e){var r=e.split(".")[0],a=e.substring(r.length);t&&t!==r||n&&n!==a||Ce(a)&&n!==a||delete I[e]})}function Te(e,t,n){Object.keys(I).forEach(function(r){var a=r.split(".")[0];e===a&&I[r].forEach(function(e){e.call(E,G.map(o.format.to),t,G.slice(),n||!1,_.slice(),E)})})}function Se(e,t,n,r,a,i){var s;return C.length>1&&!o.events.unconstrained&&(r&&t>0&&(s=B.getAbsoluteDistance(e[t-1],o.margin,0),n=Math.max(n,s)),a&&t<C.length-1&&(s=B.getAbsoluteDistance(e[t+1],o.margin,1),n=Math.min(n,s))),C.length>1&&o.limit&&(r&&t>0&&(s=B.getAbsoluteDistance(e[t-1],o.limit,0),n=Math.min(n,s)),a&&t<C.length-1&&(s=B.getAbsoluteDistance(e[t+1],o.limit,1),n=Math.max(n,s))),o.padding&&(0===t&&(s=B.getAbsoluteDistance(0,o.padding[0],0),n=Math.max(n,s)),t===C.length-1&&(s=B.getAbsoluteDistance(100,o.padding[1],1),n=Math.min(n,s))),!((n=d(n=B.getStep(n)))===e[t]&&!i)&&n}function Ee(e,t){var n=o.ort;return(n?t:e)+", "+(n?e:t)}function Ae(e,t,n,r){var a=n.slice(),i=[!e,e],o=[e,!e];r=r.slice(),e&&r.reverse(),r.length>1?r.forEach(function(e,n){var r=Se(a,e,a[e]+t,i[n],o[n],!1);!1===r?t=0:(t=r-a[e],a[e]=r)}):i=o=[!0];var s=!1;r.forEach(function(e,r){s=Ge(e,n[e]+t,i[r],o[r])||s}),s&&r.forEach(function(e){Te("update",e),Te("slide",e)})}function ke(e,t){return o.dir?100-e-t:e}function xe(e,t){_[e]=t,G[e]=B.fromStepping(t);var n="translate("+Ee(10*(ke(t,0)-F)+"%","0")+")";C[e].style[o.transformRule]=n,_e(e),_e(e+1)}function Be(){O.forEach(function(e){var t=_[e]>50?-1:1,n=3+(C.length+t*e);C[e].style.zIndex=n})}function Ge(e,t,n,r,a){return a||(t=Se(_,e,t,n,r,!1)),!1!==t&&(xe(e,t),
2!0)}function _e(e){if(w[e]){var t=0,n=100;0!==e&&(t=_[e-1]),e!==w.length-1&&(n=_[e]);var r=n-t,a="translate("+Ee(ke(t,r)+"%","0")+")",i="scale("+Ee(r/100,"1")+")";w[e].style[o.transformRule]=a+" "+i}}function Oe(e,t){return null===e||!1===e||void 0===e?_[t]:("number"==typeof e&&(e=String(e)),e=o.format.from(e),!1===(e=B.toStepping(e))||isNaN(e)?_[t]:e)}function Le(e,t,n){var r=u(e),a=void 0===_[0];t=void 0===t||!!t,o.animate&&!a&&c(x,o.cssClasses.tap,o.animationDuration),O.forEach(function(e){Ge(e,Oe(r[e],e),!0,!1,n)});for(var i=1===O.length?0:1;i<O.length;++i)O.forEach(function(e){Ge(e,_[e],!0,!0,n)});Be(),O.forEach(function(e){Te("update",e),null!==r[e]&&t&&Te("set",e)})}function Re(e){Le(o.start,e)}function Ie(t,n,r,a){if(!((t=Number(t))>=0&&t<O.length))throw new Error("noUiSlider ("+e+"): invalid handle number, got: "+t);Ge(t,Oe(n,t),!0,!0,a),Te("update",t),r&&Te("set",t)}function De(){var e=G.map(o.format.to);return 1===e.length?e[0]:e}function Ne(){for(var e in we(R.aria),we(R.tooltips),o.cssClasses)o.cssClasses.hasOwnProperty(e)&&p(x,o.cssClasses[e]);for(;x.firstChild;)x.removeChild(x.firstChild);delete x.noUiSlider}function Pe(e){var t=_[e],n=B.getNearbySteps(t),r=G[e],a=n.thisStep.step,i=null;if(o.snap)return[r-n.stepBefore.startValue||null,n.stepAfter.startValue-r||null];!1!==a&&r+a>n.stepAfter.startValue&&(a=n.stepAfter.startValue-r),i=r>n.thisStep.startValue?n.thisStep.step:!1!==n.stepBefore.step&&r-n.stepBefore.highestStep,100===t?a=null:0===t&&(i=null);var s=B.countStepDecimals();return null!==a&&!1!==a&&(a=Number(a.toFixed(s))),null!==i&&!1!==i&&(i=Number(i.toFixed(s))),[i,a]}function We(){return O.map(Pe)}function Me(e,t){var n=De(),a=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];a.forEach(function(t){void 0!==e[t]&&(l[t]=e[t])});var i=re(l);a.forEach(function(t){void 0!==e[t]&&(o[t]=i[t])}),B=i.spectrum,o.margin=i.margin,o.limit=i.limit,o.padding=i.padding,o.pips?ie(o.pips):ae(),o.tooltips?J():Z(),_=[],Le(r(e.start)?e.start:n,t)}function Ve(){h=z(x),X(o.connect,h),ve(o.events),Le(o.start),o.pips&&ie(o.pips),o.tooltips&&J(),Q()}return Ve(),E={destroy:Ne,steps:We,on:be,off:we,get:De,set:Le,setHandle:Ie,reset:Re,__moveHandles:function(e,t,n){Ae(e,t,_,n)},options:l,updateOptions:Me,target:x,removePips:ae,removeTooltips:Z,getTooltips:function(){return S},getOrigins:function(){return C},pips:ie}}function ie(t,n){if(!t||!t.nodeName)throw new Error("noUiSlider ("+e+"): create requires a single element, got: "+t);if(t.noUiSlider)throw new Error("noUiSlider ("+e+"): Slider was already initialized.");var r=ae(t,re(n),n);return t.noUiSlider=r,r}return{__spectrum:_,version:e,cssClasses:L,create:ie}})?n.apply(t,r):n)||(e.exports=a)},427805:e=>{var t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"preview"},[n("div",{staticClass:"font-preview"},[n("div",{class:e.header+"-preview",attrs:{id:e.header+"-preview","widget-type":"header"},on:{click:function(t){return t.stopPropagation(),e.headerEdit.apply(null,arguments)}}},[n("div",{staticClass:"hnr-page"},[n(e.tag,{ref:"headerTooltip",tag:"component",class:e.tooltip+" headerTooltip"},[n("span",{staticClass:"preview_header"},[e._v(e._s(e.headerText))]),e._v(" "+e._s(e.defaultText)+" ")])],1),e._v(" "),e.prototypeText?n("div",{staticClass:"hnr-page"},[n(e.tag,{tag:"component",staticClass:"header-preview",attrs:{"widget-type":"header"}},[e._v(e._s(e.prototypeText))])],1):e._e()])]),e._v(" "),n("div",{staticClass:"font-data"},[n("div",{staticClass:"font-info-wrapper"},[n("p",{staticClass:"font-info"},[n("span",[e._v(e._s(e.font))])])])])])},n=[];t._withStripped=!0,e.exports=function(e){var r="function"==typeof e?e.options:e;return r.render=t,r.staticRenderFns=n,e}},430257:e=>{var t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"picker",staticClass:"vue-color-picker",attrs:{id:e.pickerId}},[n("div",{staticClass:"buttonColorPickerParent"},[n("button",{ref:"sample",staticClass:"buttonColorPicker",class:{important:e.isImportant}},[n("input",{staticClass:"color-picker",attrs:{type:"hidden",name:"color-picker"},domProps:{value:e.value}}),e._v(" "),n("div",{staticClass:"line"})])]),e._v(" "),e.showColorCode?n("input",{ref:"input",staticClass:"color-code",attrs:{type:"text"}}
2):e._e()])},n=[];t._withStripped=!0,e.exports=function(e){var r="function"==typeof e?e.options:e;return r.render=t,r.staticRenderFns=n,e}},465779:(e,t,n)=>{"use strict";n.d(t,{E:()=>D});var r=n(707658),a=n(48595),i=n(396062),o=n(93290),s=n(683343),l=n(222341),c=n(164956),d=n(708478),u=n(14938),h=n(678683),f=n(820999),p=n(250205),g=n(611138),m=n(492693),y=n(95997),v=n(751311),b=n(707063),C=n(710443),w=n(828045),T=n(364537),S=n(333783),E=n(649632),A=n(742420),k=n(55769),x=n(806933),B=n(812747),G=n(740101),_=n(640114),O=n(992629),L=function(e,t,n,r){return new(n||(n=O))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};r.a.check("config"),o.r.get(B.t,B.tc);const R=a.kL.resolve(k.v);function I(){return A.F.currentWidget||A.F.hoveredWidget}const D=[new u.r(l.g.UNDO,(0,o.t)("contextMenu.undo"),[new h.f(d.A.MAC_OS,"command+z","⌘+Z"),new h.f(d.A.LINUX,"ctrl+z","Ctrl+Z"),new h.f(d.A.WINDOWS,"ctrl+z","Ctrl+Z"),new h.f(d.A.OTHER,"ctrl+z","Ctrl+Z")],()=>{!A.F.isUndoRedoBlocked&&f.changeManager.canUndo&&f.changeManager.undo()},(0,o.t)("shortcutCategory.edit")),new u.r(l.g.REDO,(0,o.t)("contextMenu.redo"),[new h.f(d.A.MAC_OS,"shift+command+z","⇧+⌘+Z"),new h.f(d.A.LINUX,"ctrl+y","Ctrl+Y"),new h.f(d.A.WINDOWS,"ctrl+y","Ctrl+Y"),new h.f(d.A.OTHER,"ctrl+y","Ctrl+Y")],()=>{!A.F.isUndoRedoBlocked&&f.changeManager.canRedo&&f.changeManager.redo()},(0,o.t)("shortcutCategory.edit")),new u.r(l.g.COPY,(0,o.t)("contextMenu.copy"),[new h.f(d.A.MAC_OS,"command+c","⌘+C"),new h.f(d.A.LINUX,"ctrl+c","Ctrl+C"),new h.f(d.A.WINDOWS,"ctrl+c","Ctrl+C"),new h.f(d.A.OTHER,"ctrl+c","Ctrl+C")],()=>{!A.F.isCopyPasteBlocked&&A.F.currentWidget&&T.M.copy(A.F.currentWidget)},(0,o.t)("shortcutCategory.clipboard")),new u.r(l.g.PASTE,(0,o.t)("contextMenu.paste"),[new h.f(d.A.MAC_OS,"command+v","⌘+V"),new h.f(d.A.LINUX,"ctrl+v","Ctrl+V"),new h.f(d.A.WINDOWS,"ctrl+v","Ctrl+V"),new h.f(d.A.OTHER,"ctrl+v","Ctrl+V")],()=>L(void 0,void 0,void 0,function*(){null!=G.b.copiedWidget?A.F.isCopyPasteBlocked||T.M.paste():p.D.setNotification(`${(0,o.t)("contextMenu.copy")}/${(0,o.t)("contextMenu.paste")}`,(0,o.t)("emptyClipboard"),g.A.INFO)}),(0,o.t)("shortcutCategory.clipboard")),new u.r(l.g.PASTE_WITH_CLASS,(0,o.t)("contextMenu.pasteWithClass"),[new h.f(d.A.MAC_OS,"command+shift+v","⌘+⇧+V"),new h.f(d.A.LINUX,"ctrl+shift+v","Ctrl+⇧+V"),new h.f(d.A.WINDOWS,"ctrl+shift+v","Ctrl+⇧+V"),new h.f(d.A.OTHER,"ctrl+shift+v","Ctrl+⇧+V")],()=>{null!=G.b.copiedWidget?A.F.isCopyPasteBlocked||(T.M.canShowDialog()&&S.B.emit(E.m.COPY_WIDGET.SHOW_DIALOG),T.M.paste(!0)):p.D.setNotification(`${(0,o.t)("contextMenu.copy")}/${(0,o.t)("contextMenu.paste")}`,(0,o.t)("emptyClipboard"),g.A.INFO)},(0,o.t)("shortcutCategory.clipboard")),new u.r(l.g.PASTE_WITH_DEFAULT_CLASS,(0,o.t)("contextMenu.pasteWithDefaultClass"),[new h.f(d.A.MAC_OS,"command+alt+v","⌘+⌥+V"),new h.f(d.A.LINUX,"ctrl+alt+v","Ctrl+Alt+V"),new h.f(d.A.WINDOWS,"ctrl+alt+v","Ctrl+Alt+V")],()=>{null!=G.b.copiedWidget?A.F.isCopyPasteBlocked||(T.M.canShowDialog()&&S.B.emit(E.m.COPY_WIDGET.SHOW_DIALOG),T.M.paste(!0)):p.D.setNotification(`${(0,o.t)("contextMenu.copy")}/${(0,o.t)("contextMenu.paste")}`,(0,o.t)("emptyClipboard"),g.A.INFO)},(0,o.t)("shortcutCategory.clipboard")),new u.r(l.g.CUT,(0,o.t)("contextMenu.cut"),[new h.f(d.A.MAC_OS,"command+x","⌘+X"),new h.f(d.A.LINUX,"ctrl+x","Ctrl+X"),new h.f(d.A.WINDOWS,"ctrl+x","Ctrl+X"),new h.f(d.A.OTHER,"ctrl+x","Ctrl+X")],()=>{},(0,o.t)("shortcutCategory.clipboard")),new u.r(l.g.DELETE,(0,o.t)("contextMenu.delete"),[new h.f(d.A.MAC_OS,"del","Del"),new h.f(d.A.LINUX,"del","Del"),new h.f(d.A.WINDOWS,"del","Del"),new h.f(d.A.OTHER,"del","Del")],()=>{const e=A.F.currentWidget;e&&e.removeIcon&&y.widgetHelper.deleteWidget(e.widgetId,!1,null,!1,!0)},(0,o.t)("shortcutCategory.widget")),new u.r(l.g.VERTICAL_CENTER,"Align Widget Vertically",[new h.f(d.A.MAC_OS,"alt+v","⌥+V"),new h.f(d.A.LINUX,"alt+v","Alt+V"),new h.f(d.A.WINDOWS,"alt+v","Alt+V"),new h.f(d.A.OTHER,"alt+v","Alt+V")],()=>{v.h.setCurrentWidgetPosition(I(),b.k.MIDDLE)},(0,o.t)("shortcutCategory.alignWidget")),new u.r(l.g.VERTICAL_TOP,"Align Widget Top",[new h.f(d.A.MAC_OS,"alt+t","⌥+T"),new h.f(d.A.LINUX,"alt+t","Alt+T"),new h.f(d.A.WINDOWS,"alt+t","Alt+T"),new h.f(d.A.OTHER,"alt+t","Alt+T")],()=>{v.h.setCurrentWidgetPosition(I(),b.k.TOP)},(0,o.t)("shortcutCategory.alignWidget")),new u.r(l.g.VERTICAL_BOTTOM,"Align Widget Bottom",[new h.f(d.A.MAC_OS,"alt+b","⌥+B"),new h.f(d.A.LINUX,"alt+b","Alt+B"),new h.f(d.A.WINDOWS,"alt+b","Alt+B"),new h.f(d.A.OTHER,"alt+b","Alt+B")],()=>{v.h.setCurrentWidgetPosition(I(),b.k.BOTTOM)},(0,o.t)("shortcutCategory.alignWidget")),new u.r(l.g.HORIZONTAL_CENTER,"Align Widget Horizontally",[new h.f(d.A.MAC_OS,"alt+h","⌥+H"),new h.f(d.A.LINUX,"alt+h","Alt+H"),new h.f(d.A.WINDOWS,"alt+h","Alt+H"),new h.f(d.A.OTHER,"alt+h","Alt+H")],()=>{v.h.setCurrentWidgetPosition(I(),C.M.CENTER)},(0,o.t)("shortcutCategory.alignWidget")),new u.r(l.g.HORIZONTAL_LEFT,"Align Widget Left",[new h.f(d.A.MAC_OS,"alt+l","⌥+L"),new h.f(d.A.LINUX,"alt+l","Alt+L"),new h.f(d.A.WINDOWS,"alt+l","Alt+L"),new h.f(d.A.OTHER,"alt+l","Alt+L")],()=>{v.h.setCurrentWidgetPosition(I(),C.M.LEFT)},(0,o.t)("shortcutCategory.alignWidget")),new u.r(l.g.HORIZONTAL_RIGHT,"Align Widget Right",[new h.f(d.A.MAC_OS,"alt+r","⌥+R"),new h.f(d.A.LINUX,"alt+r","Alt+R"),new h.f(d.A.WINDOWS,"alt+r","Alt+R"),new h.f(d.A.OTHER,"alt+r","Alt+R")],()=>{v.h.setCurrentWidgetPosition(I(),C.M.RIGHT)},(0,o.t)("shortcutCategory.alignWidget")),new u.r(l.g.TEXT_LEFT,"Align Text Left",[new h.f(d.A.MAC_OS,"alt+shift+l","⌥+⇧+L"),new h.f(d.A.LINUX,"alt+shift+l","Alt+Shift+L"),new h.f(d.A.WINDOWS,"alt+shift+l","Alt+Shift+L"),new h.f(d.A.OTHER,"alt+shift+l","Alt+Shift+L")],()=>{v.h.setWidgetTextPosition(I(),w.E.LEFT)},(0,o.t)("shortcutCategory.alignText")),new u.r(l.g.TEXT_RIGHT,"Align Text Right",[new h.f(d.A.MAC_OS,"alt+shift+r","⌥+⇧+R"),new h.f(d.A.LINUX,"alt+shift+r","Alt+Shift+R"),new h.f(d.A.WINDOWS,"alt+shift+r","Alt+Shift+R"),new h.f(d.A.OTHER,"alt+shift+r","Alt+Shift+R")],()=>{v.h.setWidgetTextPosition(I(),w.E.RIGHT)},(0,o.t)("shortcutCategory.alignText")),new u.r(l.g.TEXT_CENTER,"Align Text Center",[new h.f(d.A.MAC_OS,"alt+shift+c","⌥+⇧+C"),new h.f(d.A.LINUX,"alt+shift+c","Alt+Shift+C"),new h.f(d.A.WINDOWS,"alt+shift+c","Alt+Shift+C"),new h.f(d.A.OTHER,"alt+shift+c","Alt+Shift+C")],()=>{v.h.setWidgetTextPosition(I(),w.E.CENTER)},(0,o.t)("shortcutCategory.alignText")),new u.r(l.g.TEXT_JUSTIFY,"Align Text Justify",[new h.f(d.A.MAC_OS,"alt+shift+j","⌥+⇧+J"),new h.f(d.A.LINUX,"alt+shift+j","Alt+Shift+J"),new h.f(d.A.WINDOWS,"alt+shift+j","Alt+Shift+J"),new h.f(d.A.OTHER,"alt+shift+j","Alt+Shift+J")],()=>{v.h.setWidgetTextPosition(I(),w.E.JUSTIFY)},(0,o.t)("shortcutCategory.alignText")),new u.r(l.g.SAVE,(0,o.t)("save"),[new h.f(d.A.MAC_OS,"command+s","⌘+S"),new h.f(d.A.LINUX,"ctrl+s","Ctrl+S"),new h.f(d.A.WINDOWS,"ctrl+s","Ctrl+S"),new h.f(d.A.OTHER,"ctrl+s","Ctrl+S")],()=>!A.F.isSaveLocked&&c.M.savePage(),(0,o.t)("shortcutCategory.page")),new u.r(l.g.PREVIEW,(0,o.t)("preview"),[new h.f(d.A.MAC_OS,"command+p","⌘+P"),new h.f(d.A.LINUX,"ctrl+p","Ctrl+P"),new h.f(d.A.WINDOWS,"ctrl+p","Ctrl+P"),new h.f(d.A.OTHER,"ctrl+p","Ctrl+P")],()=>!A.F.isSaveLocked&&c.M.previewPage(),(0,o.t)("shortcutCategory.page")),new u.r(l.g.PUBLISH,(0,o.t)("publish"),[new h.f(d.A.MAC_OS,"command+shift+p","⌘+⇧+P"),new h.f(d.A.LINUX,"ctrl+shift+p","Ctrl+Shift+P"),new h.f(d.A.WINDOWS,"ctrl+shift+p","Ctrl+Shift+P"),new h.f(d.A.OTHER,"ctrl+shift+p","Ctrl+Shift+P")],()=>R.publishCurrentPage(x.X.domainId,x.X.pageId,x.X.language),(0,o.t)("shortcutCategory.page")),new u.r(l.g.VIEW_DESKTOP,(0,o.t)("menuDesktopPreview"),[new h.f(d.A.MAC_OS,"command+shift+1","⌘+⇧+1"),new h.f(d.A.LINUX,"ctrl+shift+1","Ctrl+Shift+1"),new h.f(d.A.WINDOWS,"ctrl+shift+1","Ctrl+Shift+1"),new h.f(d.A.OTHER,"ctrl+shift+1","Ctrl+Shift+1")],()=>s.A.onModeChange(i.P.DESKTOP),(0,o.t)("shortcutCategory.view")),new u.r(l.g.VIEW_TABLET_HORIZONTAL,(0,o.t)("menuTabletHorizontalPreview"),[new h.f(d.A.MAC_OS,"command+shift+2","⌘+⇧+2"),new h.f(d.A.LINUX,"ctrl+shift+2","Ctrl+Shift+2"),new h.f(d.A.WINDOWS,"ctrl+shift+2","Ctrl+Shift+2"),new h.f(d.A.OTHER,"ctrl+shift+2","Ctrl+Shift+2")],()=>s.A.onModeChange(i.P.TABLET_HORIZONTAL),(0,o.t)("shortcutCategory.view")),new u.r(l.g.VIEW_TABLET_VERTICAL,(0,o.t)("menuTabletVerticalPreview"),[new h.f(d.A.MAC_OS,"command+shift+3","⌘+⇧+3"),new h.f(d.A.LINUX,"ctrl+shift+3","Ctrl+Shift+3"),new h.f(d.A.WINDOWS,"ctrl+shift+3","Ctrl+Shift+3"),new h.f(d.A.OTHER,"ctrl+shift+3","Ctrl+Shift+3")],()=>s.A.onModeChange(i.P.TABLET),(0,o.t)("shortcutCategory.view")),new u.r(l.g.VIEW_MOBILE_PHONE,(0,o.t)("menuMobilePreview"),[new h.f(d.A.MAC_OS,"command+shift+4","⌘+⇧+4"),new h.f(d.A.LINUX,"ctrl+shift+4","Ctrl+Shift+4"),new h.f(d.A.WINDOWS,"ctrl+shift+4","Ctrl+Shift+4"),new h.f(d.A.OTHER,"ctrl+shift+4","Ctrl+Shift+4")],()=>s.A.onModeChange(i.P.MOBILE),(0,o.t)("shortcutCategory.view")),new u.r(l.g.PREV_CONTAINER,"DnD: Outer Container",[new h.f(d.A.MAC_OS,"left","Left"),new h.f(d.A.LINUX,"left","Left"),new h.f(d.A.WINDOWS,"left","Left"),new h.f(d.A.OTHER,"left","Left")],()=>m.a.prevContainer(),(0,o.t)("shortcutCategory.dnd")),new u.r(l.g.NEXT_CONTAINER,"DnD: Inner Container",[new h.f(d.A.MAC_OS,"right","Right"),new h.f(d.A.LINUX,"right","Right"),new h.f(d.A.WINDOWS,"right","Right"),new h.f(d.A.OTHER,"right","Right")],()=>m.a.nextContainer(),(0,o.t)("shortcutCategory.dnd")),new u.r(l.g.GO_BACK_TO_DICTIONARY,(0,o.t)("goBackToDictionary"),[new h.f(d.A.MAC_OS,"ctrl+alt+p","⌃+⌥+P"),new h.f(d.A.LINUX,"ctrl+alt+p","Ctrl+Alt+P"),new h.f(d.A.WINDOWS,"ctrl+alt+p","Ctrl+Alt+P"),new h.f(d.A.OTHER,"ctrl+alt+p","Ctrl+Alt+P")],()=>{S.B.emit(E.m.PAGE_MANAGEMENT.TREE)},(0,o.t)("shortcutCategory.navigation")),new u.r(l.g.CONVERT_TO_COMPONENT,(0,B.tc)("contextMenu.convertToComponent"),[new h.f(d.A.MAC_OS,"command+shift+a","⌘+⇧+A"),new h.f(d.A.LINUX,"ctrl+shift+a","Ctrl+Shift+A"),new h.f(d.A.WINDOWS,"ctrl+shift+a","Ctrl+Shift+A"),new h.f(d.A.OTHER,"ctrl+shift+a","Ctrl+Shift+A")],()=>{const e=A.F.currentWidget;if(A.F.isCopyPasteBlocked)return;if(!e)return;!e||e.widgetData.isComponent||e.isPage()||e.widgetType===_.f.PAGE_REGION||!e.draggable&&e.widgetType!==_.f.SECTION||e.nestedWidget?p.D.setNotification((0,B.tc)("contextMenu.convertToComponent"),(0,o.t)("cannotConvertToComponent"),g.A.WARNING):A.F.openSaveWidgetDialog({previousVersionInfo:null,savingWidgetContent:!0,convertToComponent:!0,quickComponentMode:!0})},(0,o.t)("shortcutCategory.widget")),new u.r(l.g.COMMAND_PALETTE,"System: Command Palette",[new h.f(d.A.MAC_OS,"command+e","⌘+E"),new h.f(d.A.LINUX,"ctrl+e","Ctrl+E"),new h.f(d.A.WINDOWS,"ctrl+e","Ctrl+E"),new h.f(d.A.OTHER,"ctrl+e","Ctrl+E")],()=>{A.F.setShowCommandPalette(!0)},(0,o.t)("shortcutCategory.system"))]},503603:e=>{e.exports={activeTextColor:"#17b365",alertErrorColor:"#f73936",alertInfoColor:"#1ab1ba",alertWarningColor:"#f2b134",authBtnInColumnWidth:"360px",autocompleteBorder:"#ffffff3d",avatarDropdownSize:"50",avatarEditorDropdownSize:"40",avatarEditorSize:"26",avatarSize:"50",black:"#000",blackCharcoal:"#1b1b1b",blueGradientColor:"#2dc2ce",blueMain:"blue",blueSecondary:"#2dc1c5",bluishGray:"#9097a8",brightGrayBackgroun
2d:"#eee",charcoalBlack:"#1d1f24",charcoalBlue:"#30343e",charcoalGray:"#4b515f",checkboxBackground:"#424753",checkboxDesign:"#aaaebb",cherryRedBorder:"#da4148",colorName:"#191c20",coolGray:"#9097a8",darkGrayishBlue:"#3c414d",darkTealBlue:"#007c81",designWhite:"#f7f7fa",dialogDarkGreyBackground:"#292c34",dialogLightGreyBackground:"#454a56",dictionaryBorderLightGray:"#aaaeb8",dimBlack:"#000518",dimGray:"#a2a2a2",dimmedText:"#babcbe",dodgerBlue:"#1481d4",ecomTooltipLabel:"#07ae5a",emeraldGreen:"#07ae5a",errorMain:"#dc1515",faintBlack:"#0003",ghostWhite:"#fff6",glassWhite:"#ffffffb3",goldenTan:"#c2a760",goldenYellow:"#ffc410",gradientSliderHandleBorderColor:"#c4c4c4",graphite:"#454545",gray:"#707070",grayDarken60:"#3c414d",grayDarken70:"#30343e",grayLightenBackground:"#e8f7f0",grayTableHeaderBorder:"#dcdfe6",green900:"#06301b",greenApple:"#82b440",greenDarkColor:"#009147",greenDarken60:"#107d47",greenInputText:"#07ae5a",greenLighten20:"#07ae5a33",greenLighten30:"#17b365",greenShade:"#17b365",greyDefaultInputBackground:"#30343e",greyInputBackground:"#1f222a",greyInputButtonBackground:"#363b47",greyPanelBackground:"#e5e5e5",greyPricingText:"#b4b5b6",greyTableText:"#424753",iconVeryLightGrey:"#bbbcbe",imagesProjectPreviewColor:"#f6f6f6",inputTextBorder:"#9e9e9e",jadeGreen:"#17b365",layoutBlackBackground:"#1d1f24",layoutButtonBackground:"#3c414d",layoutFormPlaceholderDark:"#fff6",layoutGreyBackground:"#edeff4",layoutTransitionDuration:".5s",leftPanelWidth:"50px",leftPanelWithWidgetWidth:"266px",lighGreyBackgroundColor:"#dde2e5",lightBlueGray:"#d9dde5",lightGray:"#e9eaec",lightGrayBackground:"#ebedf2",lightGrayColor:"#a5a5a5",lightGrayishBlue:"#dcdfe6",lightGreenBackground:"#17b365",lightGreyText:"#898d99",lightSeafoamGreen:"#e8f7f0",lightSkyBlue:"#75c9f8",lihgtBlueOpinionWidgetBg:"#f3fdfe",mainColorBlack:"#1d1f24",mainColorBlue:"#2dc2cb",mainColorDarkGreen:"#15a15b",mainColorGreen:"#11d472",mainColorLightGray:"#f7f7fa",mainColorOrange:"#f2b134",mainColorPink:"#ff2c7f",mainColorRed:"#ed553b",mainColorTheRedest:"#f26954",maskBackgroundColor:"#000",maxAuthBtnWidth:"400px",minSpaceBetweenAuthBtn:"10px",mistyGray:"#9097a8",mistyGrey:"#ddd",mossGreen:"#1b8952",mutedBlueGray:"#272b33",noDataTextColor:"#bfbfbf",offWhiteGray:"#f7f7fa",paleGray:"#ffffff80",paleGrayishBlue:"#d9dde5",pearlGray:"#f4f4f4",profileBackgroundGray:"#f6f7f8",profileSiteGreyText:"#5c5c5f",sageGray:"#adafae",sandstoneBackground:"#c2a76016",sapphireBlue:"#1481d4",scrollAreaScrollBarWidth:"12px",semiTransparentBlack:"#0000003f",semiTransparentEmeraldGreen:"#07ae5a7f",shadowBlackBorder:"#0006",shadyGreen:"#a2a2a2",slateGray:"#9f9f9f",socialIconLightGrayBackground:"#707070",softGray:"#ccc",steelGray:"gray",strokeWhite:"#fff",subscriptionYellow:"#fdaf69",tealBlue:"#00a9af",topPanelColorBorder:"#3c414d",topPanelHeight:"80px",topPanelHeightEditorValue:"40px",transparent:"transparent",transparentBlack:"#00000080",transparentBlackBackground:"#0000001a",transparentBlue:"#75c9f829",transparentEmeraldGreen:"#07ae5a00",transparentGreen:"#17b36529",transparentWhite:"#ffffffb3",transparentYellow:"#f1f2f41a",veryLightGray:"#f9f9f9",veryTransparentBlack:"#0000001a",vibrantBlue:"#0087ef",vividBlue:"#0087ef",warning50:"#c43f28",white:"#fff",whiteMain:"#fff",widgetDialogGreen:"#07ae5a",widgetDropdownBackground:"#3a3e49",widgetTreeHighlight:"#424753"}},547160:e=>{var t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"label-inline"},[n("div",{class:e.ecommerce?"color-wrapper ecommerce-wrapper":"color-wrapper"},[n("div",{staticClass:"colorControl"},[n("div",{staticClass:"colorInfo"},[n("div",{staticClass:"buttonColorPickerParent",on:{click:e.register}},[n("button",{ref:"sample",staticClass:"buttonColorPicker"},[n("input",{ref:"input",staticClass:"color-input",attrs:{id:e.name,type:"hidden",name:"ThmColor"}}),e._v(" "),e.ecommerce?n("bwe-tooltip",{attrs:{attach:"",top:"","max-width":"190px"},scopedSlots:e._u([{key:"activator",fn:function(t){return[n("svg",{attrs:{id:e.ecommerce},on:{mouseover:t.onMouseOver,mouseleave:t.onMouseLeave}}
2,[n("use",{class:e.darken?"darker":"",attrs:{"xlink:href":"#info-hover_info-icon"}})])]}}],null,!1,3428987711)},[e._v("\n                            "+e._s(e.ecommerceTooltip)+"\n                        ")]):e._e(),e._v(" "),n("div",{staticClass:"line",attrs:{id:"ecommerceTooltip"}})],1)]),e._v(" "),n("div",{staticClass:"color-type"},[e._v(e._s(e.name))])]),e._v(" "),n("bwe-tooltip",{staticClass:"lightTheme",attrs:{attach:"","nudge-top":"-10px","content-class":"lightTheme",top:"","min-width":"50px"},scopedSlots:e._u([{key:"activator",fn:function(t){return[n("button",{on:{click:e.copy,mouseover:t.onMouseOver,mouseleave:t.onMouseLeave}},[n("svg",[n("use",{attrs:{"xlink:href":"#copy-color_copy"}})])])]}}])},[e._v("\n                "+e._s(e.$t("dictEcommerce.copy"))+"\n            ")]),e._v(" "),e.deletable?n("div",{staticClass:"colorControl_trashWrapper"},[n("button",{staticClass:"trashWrapper_button",on:{click:function(t){return t.stopPropagation(),e.removeColor(e.idx)}}},[n("svg",[n("use",{attrs:{"xlink:href":"#trash2_trash"}})])])]):e._e()],1),e._v(" "),n("div",{class:e.ecommerce?"color-description ecommerce-description":"color-description"},[e.showShades?n("div",{staticClass:"color-wrap"},[n("div",{staticClass:"color-shades-box"},[n("div",{staticClass:"color-shades-text"},[e._v(e._s(e.$t("dictWD.stylesManagement.shades")))]),e._v(" "),n("div",{staticClass:"color-wrap color-boxes"},e._l(e.shades,function(e){return n("div",{staticClass:"color-mask"},[n("div",{staticClass:"color-display",style:{backgroundColor:e}})])}),0)]),e._v(" "),n("div",{staticClass:"color-shades-box"},[n("div",{staticClass:"color-shades-text"},[e._v(e._s(e.$t("dictWD.stylesManagement.transparencies")))]),e._v(" "),n("div",{staticClass:"color-wrap color-boxes"},e._l(e.transparencies,function(e){return n("div",{staticClass:"color-mask"},[n("div",{staticClass:"color-display",style:{backgroundColor:e}})])}),0)])]):e._e()])])])},n=[];t._withStripped=!0,e.exports=function(e){var r="function"==typeof e?e.options:e;return r.render=t,r.staticRenderFns=n,e}},549369:e=>{var t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"canvasSettings"},[n("label-with-tooltip",{attrs:{id:"gridWidth",outerSpacing:!1,tooltipInfoOrgProps:{class:"lightTheme","content-class":"lightTheme"},translatedLabel:e.$t("gridWidth"),tooltip:e.$t("notRecommendedBelowDesktop"),isStyleAvailableToReset:!1,tooltipMaxWidth:"220px",tooltipPosition:e.bottomDirection,attach:"#gridWidth"}},[n("input-unit-number",{attrs:{unitsTypes:[e.EnumCssUnitsTypes.PX],unit:e.EnumCssUnitsTypes.PX,numberType:e.EnumNumberType.FLOAT},model:{value:e.buildWithGrid.width,callback:function(t){e.$set(e.buildWithGrid,"width",t)},expression:"buildWithGrid.width"}})],1),e._v(" "),n("label-with-tooltip",{attrs:{id:"buildWith",outerSpacing:!1,tooltipInfoOrgProps:{class:"lightTheme","content-class":"lightTheme"},translatedLabel:e.$t("buildNewSections"),tooltip:e.$t("sectionSettings"),isStyleAvailableToReset:!1,tooltipMaxWidth:"220px",tooltipPosition:e.bottomDirection,attach:"#buildWith"}},[n("options-buttons",{attrs:{options:e.gridOptions,showLabel:!0,showIcon:!1,withToggler:!0},model:{value:e.buildWithGrid.buildOption,callback:function(t){e.$set(e.buildWithGrid,"buildOption",t)},expression:"buildWithGrid.buildOption"}})],1),e._v(" "),n("div",{staticClass:"canvasSettings_group"},[n("b",{staticClass:"canvasSettings_group_title"},[e._v(e._s(e.$t("sectionPadding")))]),e._v(" "),n("div",{staticClass:"canvasSettings_group_row"},[n("label-with-tooltip",{staticClass:"canvasSettings_subLabel",attrs:{outerSpacing:!1,tooltipInfoOrgProps:{class:"lightTheme","content-class":"lightTheme"},translatedLabel:e.$t("horizontal"),isStyleAvailableToReset:!1,hideInfoIcon:!0}},[n("input-unit-number",{attrs:{id:"padHo",unitsTypes:[e.EnumCssUnitsTypes.PX],unit:e.EnumCssUnitsTypes.PX,numberType:e.EnumNumberType.FLOAT},model:{value:e.buildWithGrid.paddingHorizontal,callback:function(t){e.$set(e.buildWithGrid,"paddingHorizontal",t)},expression:"buildWithGrid.paddingHorizontal"}})],1),e._v(" "),n("label-with-tooltip",{staticClass:"canvasSettings_subLabel",attrs:{outerSpacing:!1,tooltipInfoOrgProps:{class:"lightTheme","content-class":"lightTheme"},translatedLabel:e.$t("vertical"),isStyleAvailableToReset:!1,hideInfoIcon:!0}},[n("input-unit-number",{attrs:{id:"padVer",unitsTypes:[e.EnumCssUnitsTypes.PX],unit:e.EnumCssUnitsTypes.PX,numberType:e.EnumNumberType.FLOAT},model:{value:e.buildWithGrid.paddingVertical,callback:function(t){e.$set(e.buildWithGrid,"paddingVertical",t)},expression:"buildWithGrid.paddingVertical"}})],1)],1)]),e._v(" "),n("div",{staticClass:"canvasSettings_group"},[n("b",{staticClass:"canvasSettings_group_title"},[e._v(e._s(e.$t("colGridGap")))]),e._v(" "),n("div",{staticClass:"canvasSettings_group_row"},[n("label-with-tooltip",{staticClass:"canvasSettings_subLabel",attrs:{outerSpacing:!1,tooltipInfoOrgProps:{class:"lightTheme","content-class":"lightTheme"},translatedLabel:e.$t("row"),isStyleAvailableToReset:!1,hideInfoIcon:!0}}
2,[n("input-unit-number",{attrs:{id:"columnGapRow",unitsTypes:[e.EnumCssUnitsTypes.PX],unit:e.EnumCssUnitsTypes.PX,numberType:e.EnumNumberType.FLOAT},model:{value:e.columnGap.row,callback:function(t){e.$set(e.columnGap,"row",t)},expression:"columnGap.row"}})],1),e._v(" "),n("label-with-tooltip",{staticClass:"canvasSettings_subLabel",attrs:{outerSpacing:!1,tooltipInfoOrgProps:{class:"lightTheme","content-class":"lightTheme"},translatedLabel:e.$t("column"),isStyleAvailableToReset:!1,hideInfoIcon:!0}},[n("input-unit-number",{attrs:{id:"columnGapCol",unitsTypes:[e.EnumCssUnitsTypes.PX],unit:e.EnumCssUnitsTypes.PX,numberType:e.EnumNumberType.FLOAT},model:{value:e.columnGap.column,callback:function(t){e.$set(e.columnGap,"column",t)},expression:"columnGap.column"}})],1)],1)]),e._v(" "),n("div",{staticClass:"canvasSettings_group"},[n("b",{staticClass:"canvasSettings_group_title"},[e._v(e._s(e.$t("columnsPadding")))]),e._v(" "),n("div",{staticClass:"canvasSettings_group_row"},[n("label-with-tooltip",{staticClass:"canvasSettings_subLabel",attrs:{outerSpacing:!1,tooltipInfoOrgProps:{class:"lightTheme","content-class":"lightTheme"},translatedLabel:e.$t("horizontal"),isStyleAvailableToReset:!1,hideInfoIcon:!0}},[n("input-unit-number",{attrs:{id:"columnPaddingHorizontal",unitsTypes:[e.EnumCssUnitsTypes.PX],unit:e.EnumCssUnitsTypes.PX,numberType:e.EnumNumberType.FLOAT},model:{value:e.colPadding.horizontal,callback:function(t){e.$set(e.colPadding,"horizontal",t)},expression:"colPadding.horizontal"}})],1),e._v(" "),n("label-with-tooltip",{staticClass:"canvasSettings_subLabel",attrs:{outerSpacing:!1,tooltipInfoOrgProps:{class:"lightTheme","content-class":"lightTheme"},translatedLabel:e.$t("vertical"),isStyleAvailableToReset:!1,hideInfoIcon:!0}},[n("input-unit-number",{attrs:{id:"columnPaddingVertical",unitsTypes:[e.EnumCssUnitsTypes.PX],unit:e.EnumCssUnitsTypes.PX,numberType:e.EnumNumberType.FLOAT},model:{value:e.colPadding.vertical,callback:function(t){e.$set(e.colPadding,"vertical",t)},expression:"colPadding.vertical"}})],1)],1)])],1)},n=[];t._withStripped=!0,e.exports=function(e){var r="function"==typeof e?e.options:e;return r.render=t,r.staticRenderFns=n,e}},584618:e=>{e.exports={activeTextColor:"#17b365",alertErrorColor:"#f73936",alertInfoColor:"#1ab1ba",alertWarningColor:"#f2b134",authBtnInColumnWidth:"360px",autocompleteBorder:"#ffffff3d",avatarDropdownSize:"50",avatarEditorDropdownSize:"40",avatarEditorSize:"26",avatarSize:"50",black:"#000",blackCharcoal:"#1b1b1b",blueGradientColor:"#2dc2ce",blueMain:"blue",blueSecondary:"#2dc1c5",bluishGray:"#9097a8",brightGrayBackground:"#eee",charc
2oalBlack:"#1d1f24",charcoalBlue:"#30343e",charcoalGray:"#4b515f",checkboxBackground:"#424753",checkboxDesign:"#aaaebb",cherryRedBorder:"#da4148",colorName:"#191c20",coolGray:"#9097a8",darkGrayishBlue:"#3c414d",darkTealBlue:"#007c81",designWhite:"#f7f7fa",dialogDarkGreyBackground:"#292c34",dialogLightGreyBackground:"#454a56",dictionaryBorderLightGray:"#aaaeb8",dimBlack:"#000518",dimGray:"#a2a2a2",dimmedText:"#babcbe",dodgerBlue:"#1481d4",ecomTooltipLabel:"#07ae5a",emeraldGreen:"#07ae5a",errorMain:"#dc1515",faintBlack:"#0003",ghostWhite:"#fff6",glassWhite:"#ffffffb3",goldenTan:"#c2a760",goldenYellow:"#ffc410",gradientSliderHandleBorderColor:"#c4c4c4",graphite:"#454545",gray:"#707070",grayDarken60:"#3c414d",grayDarken70:"#30343e",grayLightenBackground:"#e8f7f0",grayTableHeaderBorder:"#dcdfe6",green900:"#06301b",greenApple:"#82b440",greenDarkColor:"#009147",greenDarken60:"#107d47",greenInputText:"#07ae5a",greenLighten20:"#07ae5a33",greenLighten30:"#17b365",greenShade:"#17b365",greyDefaultInputBackground:"#30343e",greyInputBackground:"#1f222a",greyInputButtonBackground:"#363b47",greyPanelBackground:"#e5e5e5",greyPricingText:"#b4b5b6",greyTableText:"#424753",iconVeryLightGrey:"#bbbcbe",imagesProjectPreviewColor:"#f6f6f6",inputTextBorder:"#9e9e9e",jadeGreen:"#17b365",layoutBlackBackground:"#1d1f24",layoutButtonBackground:"#3c414d",layoutFormPlaceholderDark:"#fff6",layoutGreyBackground:"#edeff4",layoutTransitionDuration:".5s",leftPanelWidth:"50px",leftPanelWithWidgetWidth:"266px",lighGreyBackgroundColor:"#dde2e5",lightBlueGray:"#d9dde5",lightGray:"#e9eaec",lightGrayBackground:"#ebedf2",lightGrayColor:"#a5a5a5",lightGrayishBlue:"#dcdfe6",lightGreenBackground:"#17b365",lightGreyText:"#898d99",lightSeafoamGreen:"#e8f7f0",lightSkyBlue:"#75c9f8",lihgtBlueOpinionWidgetBg:"#f3fdfe",mainColorBlack:"#1d1f24",mainColorBlue:"#2dc2cb",mainColorDarkGreen:"#15a15b",mainColorGreen:"#11d472",mainColorLightGray:"#f7f7fa",mainColorOrange:"#f2b134",mainColorPink:"#ff2c7f",mainColorRed:"#ed553b",mainColorTheRedest:"#f26954",maskBackgroundColor:"#000",maxAuthBtnWidth:"400px",minSpaceBetweenAuthBtn:"10px",mistyGray:"#9097a8",mistyGrey:"#ddd",mossGreen:"#1b8952",mutedBlueGray:"#272b33",noDataTextColor:"#bfbfbf",offWhiteGray:"#f7f7fa",paleGray:"#ffffff80",paleGrayishBlue:"#d9dde5",pearlGray:"#f4f4f4",profileBackgroundGray:"#f6f7f8",profileSiteGreyText:"#5c5c5f",sageGray:"#adafae",sandstoneBackground:"#c2a76016",sapphireBlue:"#1481d4",scrollAreaScrollBarWidth:"12px",semiTransparentBlack:"#0000003f",semiTransparentEmeraldGreen:"#07ae5a7f",shadowBlackBorder:"#0006",shadyGreen:"#a2a2a2",slateGray:"#9f9f9f",socialIconLightGrayBackground:"#707070",softGray:"#ccc",steelGray:"gray",strokeWhite:"#fff",subscriptionYellow:"#fdaf69",tealBlue:"#00a9af",topPanelColorBorder:"#3c414d",topPanelHeight:"80px",topPanelHeightEditorValue:"40px",transparent:"transparent",transparentBlack:"#00000080",transparentBlackBackground:"#0000001a",transparentBlue:"#75c9f829",transparentEmeraldGreen:"#07ae5a00",transparentGreen:"#17b36529",transparentWhite:"#ffffffb3",transparentYellow:"#f1f2f41a",veryLightGray:"#f9f9f9",veryTransparentBlack:"#0000001a",vibrantBlue:"#0087ef",vividBlue:"#0087ef",warning50:"#c43f28",white:"#fff",whiteMain:"#fff",widgetDialogGreen:"#07ae5a",widgetDropdownBackground:"#3a3e49",widgetTreeHighlight:"#424753"}},637173:()=>{},678683:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});class r{constructor(e,t,n){this.osType=e,this.keys=t,this.display=n||t}}},683122:e=>{e.exports={activeTextColor:"#17b365",alertErrorColor:"#f73936",alertInfoColor:"#1ab1ba",alertWarningColor:"#f2b134",authBtnInColumnWidth:"360px",autocompleteBorder:"#ffffff3d",avatarDropdownSize:"50",avatarEditorDropdownSize:"40",avatarEditorSize:"26",avatarSize:"50",black:"#000",blackCharcoal:"#1b1b1b",blueGradientColor:"#2dc2ce",blueMain:"blue",blueSecondary:"#2dc1c5",bluishGray:"#9097a8",brightGrayBackground:"#eee",charc
2oalBlack:"#1d1f24",charcoalBlue:"#30343e",charcoalGray:"#4b515f",checkboxBackground:"#424753",checkboxDesign:"#aaaebb",cherryRedBorder:"#da4148",colorName:"#191c20",coolGray:"#9097a8",darkGrayishBlue:"#3c414d",darkTealBlue:"#007c81",designWhite:"#f7f7fa",dialogDarkGreyBackground:"#292c34",dialogLightGreyBackground:"#454a56",dictionaryBorderLightGray:"#aaaeb8",dimBlack:"#000518",dimGray:"#a2a2a2",dimmedText:"#babcbe",dodgerBlue:"#1481d4",ecomTooltipLabel:"#07ae5a",emeraldGreen:"#07ae5a",errorMain:"#dc1515",faintBlack:"#0003",ghostWhite:"#fff6",glassWhite:"#ffffffb3",goldenTan:"#c2a760",goldenYellow:"#ffc410",gradientSliderHandleBorderColor:"#c4c4c4",graphite:"#454545",gray:"#707070",grayDarken60:"#3c414d",grayDarken70:"#30343e",grayLightenBackground:"#e8f7f0",grayTableHeaderBorder:"#dcdfe6",green900:"#06301b",greenApple:"#82b440",greenDarkColor:"#009147",greenDarken60:"#107d47",greenInputText:"#07ae5a",greenLighten20:"#07ae5a33",greenLighten30:"#17b365",greenShade:"#17b365",greyDefaultInputBackground:"#30343e",greyInputBackground:"#1f222a",greyInputButtonBackground:"#363b47",greyPanelBackground:"#e5e5e5",greyPricingText:"#b4b5b6",greyTableText:"#424753",iconVeryLightGrey:"#bbbcbe",imagesProjectPreviewColor:"#f6f6f6",inputTextBorder:"#9e9e9e",jadeGreen:"#17b365",layoutBlackBackground:"#1d1f24",layoutButtonBackground:"#3c414d",layoutFormPlaceholderDark:"#fff6",layoutGreyBackground:"#edeff4",layoutTransitionDuration:".5s",leftPanelWidth:"50px",leftPanelWithWidgetWidth:"266px",lighGreyBackgroundColor:"#dde2e5",lightBlueGray:"#d9dde5",lightGray:"#e9eaec",lightGrayBackground:"#ebedf2",lightGrayColor:"#a5a5a5",lightGrayishBlue:"#dcdfe6",lightGreenBackground:"#17b365",lightGreyText:"#898d99",lightSeafoamGreen:"#e8f7f0",lightSkyBlue:"#75c9f8",lihgtBlueOpinionWidgetBg:"#f3fdfe",mainColorBlack:"#1d1f24",mainColorBlue:"#2dc2cb",mainColorDarkGreen:"#15a15b",mainColorGreen:"#11d472",mainColorLightGray:"#f7f7fa",mainColorOrange:"#f2b134",mainColorPink:"#ff2c7f",mainColorRed:"#ed553b",mainColorTheRedest:"#f26954",maskBackgroundColor:"#000",maxAuthBtnWidth:"400px",minSpaceBetweenAuthBtn:"10px",mistyGray:"#9097a8",mistyGrey:"#ddd",mossGreen:"#1b8952",mutedBlueGray:"#272b33",noDataTextColor:"#bfbfbf",offWhiteGray:"#f7f7fa",paleGray:"#ffffff80",paleGrayishBlue:"#d9dde5",pearlGray:"#f4f4f4",profileBackgroundGray:"#f6f7f8",profileSiteGreyText:"#5c5c5f",sageGray:"#adafae",sandstoneBackground:"#c2a76016",sapphireBlue:"#1481d4",scrollAreaScrollBarWidth:"12px",semiTransparentBlack:"#0000003f",semiTransparentEmeraldGreen:"#07ae5a7f",shadowBlackBorder:"#0006",shadyGreen:"#a2a2a2",slateGray:"#9f9f9f",socialIconLightGrayBackground:"#707070",softGray:"#ccc",steelGray:"gray",strokeWhite:"#fff",subscriptionYellow:"#fdaf69",tealBlue:"#00a9af",topPanelColorBorder:"#3c414d",topPanelHeight:"80px",topPanelHeightEditorValue:"40px",transparent:"transparent",transparentBlack:"#00000080",transparentBlackBackground:"#0000001a",transparentBlue:"#75c9f829",transparentEmeraldGreen:"#07ae5a00",transparentGreen:"#17b36529",transparentWhite:"#ffffffb3",transparentYellow:"#f1f2f41a",veryLightGray:"#f9f9f9",veryTransparentBlack:"#0000001a",vibrantBlue:"#0087ef",vividBlue:"#0087ef",warning50:"#c43f28",white:"#fff",whiteMain:"#fff",widgetDialogGreen:"#07ae5a",widgetDropdownBackground:"#3a3e49",widgetTreeHighlight:"#424753"}},706411:(e,t,n)=>{var r;!function(a,i){if(a){for(var o,s={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},l={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},c={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},u=1;u<20;++u)s[111+u]="f"+u;for(u=0;u<=9;++u)s[u+96]=u.toString();b.prototype.bind=function(e,t,n){var r=this;return e=e instanceof Array?e:[e],r._bindMultiple.call(r,e,t,n),r},b.prototype.unbind=function(e,t){return this.bind.call(this,e,function(){},t)},b.prototype.trigger=function(e,t){var n=this;return n._directMap[e+":"+t]&&n._directMap[e+":"+t]({},e),n},b.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},b.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(v(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},b.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)},b.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(s[t]=e[t]);o=null},b.init=function(){var e=b(i);for(var t in e)"_"!==t.charAt(0)&&(b[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},b.init(),a.Mousetrap=b,e.exports&&(e.exports=b),void 0===(r=function(){return b}.call(t,n,t,e))||(e.exports=r)}function h(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function f(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return s[e.which]?s[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function p(e,t){return e.sort().join(",")===t.sort().join(",")}function g(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function m(e,t,n){return n||(n=function(){if(!o)for(var e in o={},s)e>95&&e<112||s.hasOwnProperty(e)&&(o[s[e]]=e);return o}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function y(e,t){var n,r,a,i=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),a=0;a<n.length;
2++a)r=n[a],d[r]&&(r=d[r]),t&&"keypress"!=t&&c[r]&&(r=c[r],i.push("shift")),g(r)&&i.push(r);return{key:r,modifiers:i,action:t=m(r,i,t)}}function v(e,t){return null!==e&&e!==i&&(e===t||v(e.parentNode,t))}function b(e){var t=this;if(e=e||i,!(t instanceof b))return new b(e);t.target=e,t._callbacks={},t._directMap={};var n,r={},a=!1,o=!1,s=!1;function l(e){e=e||{};var t,n=!1;for(t in r)e[t]?n=!0:r[t]=0;n||(s=!1)}function c(e,n,a,i,o,s){var l,c,d=[],u=a.type;if(!t._callbacks[e])return[];for("keyup"==u&&g(e)&&(n=[e]),l=0;l<t._callbacks[e].length;++l)if(c=t._callbacks[e][l],(i||!c.seq||r[c.seq]==c.level)&&u==c.action&&("keypress"==u&&!a.metaKey&&!a.ctrlKey||p(n,c.modifiers))){var h=!i&&c.combo==o,f=i&&c.seq==i&&c.level==s;(h||f)&&t._callbacks[e].splice(l,1),d.push(c)}return d}function d(e,n,r,a){t.stopCallback(n,n.target||n.srcElement,r,a)||!1===e(n,r)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function u(e){"number"!=typeof e.which&&(e.which=e.keyCode);var n=f(e);n&&("keyup"!=e.type||a!==n?t.handleKey(n,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):a=!1)}function m(e,t,i,o){function c(t){return function(){s=t,++r[e],clearTimeout(n),n=setTimeout(l,1e3)}}function u(t){d(i,t,e),"keyup"!==o&&(a=f(t)),setTimeout(l,10)}r[e]=0;for(var h=0;h<t.length;++h){var p=h+1===t.length?u:c(o||y(t[h+1]).action);v(t[h],p,o,e,h)}}function v(e,n,r,a,i){t._directMap[e+":"+r]=n;var o,s=(e=e.replace(/\s+/g," ")).split(" ");s.length>1?m(e,s,n,r):(o=y(e,r),t._callbacks[o.key]=t._callbacks[o.key]||[],c(o.key,o.modifiers,{type:o.action},a,e,i),t._callbacks[o.key][a?"unshift":"push"]({callback:n,modifiers:o.modifiers,action:o.action,seq:a,level:i,combo:e}))}t._handleKey=function(e,t,n){var r,a=c(e,t,n),i={},u=0,h=!1;for(r=0;r<a.length;++r)a[r].seq&&(u=Math.max(u,a[r].level));for(r=0;r<a.length;++r)if(a[r].seq){if(a[r].level!=u)continue;h=!0,i[a[r].seq]=1,d(a[r].callback,n,a[r].combo,a[r].seq)}else h||d(a[r].callback,n,a[r].combo);var f="keypress"==n.type&&o;n.type!=s||g(e)||f||l(i),o=h&&"keydown"==n.type},t._bindMultiple=function(e,t,n){for(var r=0;r<e.length;++r)v(e[r],t,n)},h(e,"keypress",u),h(e,"keydown",u),h(e,"keyup",u)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},712270:()=>{},717978:e=>{var t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"gradientManagement"}},[n("div",{staticClass:"gradient-management__title"},[n("span",{staticClass:"accordion-title"},[e._v(e._s(e.title))]),e._v(" "),n("button",{on:{click:function(t){return e.close(!1)}}},[n("svg",[n("use",{attrs:{width:"12",height:"12","xlink:href":"#x-sign-icon_cross"}})])])]),e._v(" "),n("div",{staticClass:"gradient-name"},[n("p",{staticClass:"gradient-label"},[e._v(e._s(e.$t("dictWD.stylesManagement.gradientName")))]),e._v(" "),n(e.fieldName,{key:"gradient"+e.id,tag:"component",class:e.fieldClass,attrs:{type:"text",value:e.gradientName},on:{input:function(t){e.gradientName=t.target.value}}},[e._v(e._s(e.gradientName))]),e._v(" "),n("p",{staticClass:"error"},[e._v(e._s(e.error))])],1),e._v(" "),n("div",{staticClass:"styles-dialog-content gradient-slider",attrs:{id:"stylesDialog"}},[n("gradient-slider",{key:"gradient"+e.id,attrs:{idModifier:"Global"},on:{initChange:e.initChange,flushChange:e.flushChange},model:{value:e.gradient,callback:function(t){e.gradient=t},expression:"gradient"}})],1),e._v(" "),n("div",{staticClass:"gradient-management__buttons"},[n("button",{staticClass:"cancel",on:{click:function(t){return e.close(!1)}}},[e._v(e._s(e.$t("dictWD.stylesManagement.buttonCancel")))]),e._v(" "),n("button",{staticClass:"accept",on:{click:function(t){return e.close(!0)}}},[e._v(e._s(e.saveText))])])])},n=[];t._withStripped=!0,e.exports=function(e){var r="function"==typeof e?e.options:e;return r.render=t,r.staticRenderFns=n,e}},722930:()=>{},726492:(e,t,n)=>{"use strict";n.d(t,{Cz:()=>B,Ip:()=>b,Um:()=>k,Zl:()=>T,bm:()=>S,dv:()=>E,kE:()=>w,lR:()=>A});var r=n(586704),a=n(815707),i=n(717884),o=n(742420),s=n(270175),l=n(844054),c=n(531480),d=n(795098),u=n(196887),h=n(720903),f=n(243952);const p={btn:{display:"inline-block","margin-bottom":"0","font-weight":"normal","text-align":"center","white-space":"nowrap","vertical-align":"middle","-ms-touch-action":"manipulation","touch-action":"manipulation",cursor:"pointer","background-image":"none",border:"1px solid transparent",padding:"6px 12px","font-size":"14px","line-height":"1.42857143","border-radius":"4px","-webkit-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none"}},g=.75;function m(){return o.F.layoutsConfig.button[a.E.BASIC_STYLES][a.E.RESOLUTIONS]}function y(e,t){if(e===i.J.PRIMARY_BUTTON_CLASS){const e=Object.assign(Object.assign({},o.F.layoutsConfig.button.basic.default),{classStyles:Object.assign(Object.assign({},m()),o.F.layoutsConfig.button.basic.default.classStyles),layoutClassName:i.J.PRIMARY_BUTTON});return void s.A.setLayoutStyles(e.classStyles,e.layoutClassName,!1,t)}if(e===i.J.SECONDARY_BUTTON_CLASS){const e=Object.assign(Object.assign({},o.F.layoutsConfig.button.basic.b2),{classStyles:Object.assign(Object.assign({},m()),o.F.layoutsConfig.button.basic.b2.classStyles),layoutClassName:i.J.SECONDARY_BUTTON});s.A.setLayoutStyles(e.classStyles,e.layoutClassName,!1,t)}const n=function(e){return Object.assign(Object.assign({},o.F.layoutsConfig.button.basic.b29),{layoutClassName:e,classStyles:Object.assign({},m()),widgetData:new f.ButtonParams})}(e.startsWith(".")?e.slice(1):e);s.A.setLayoutStyles(n.classStyles,n.layoutClassName,!1,t)}function v(e){const t=Object.assign({},e);for(const e in t)t[e]="";return t}function b(e,t){const n={},a={};
2e.forEach(e=>{if("btn"===e){const e=function(){const e=bowweConfig.mobileFirst?r.d.MOBILE.toString():r.d.DESKTOP.toString();return{[e]:{".btn":Object.assign(Object.assign({},p.btn),{specificity:0,ruleIndex:-1})}}}();for(const t in e)n[t]=C(n[t]||{},e[t]);return}l.m.getAllResolutions().forEach(t=>{const r=c.uw.getCustomStylesheetByResolution(t),a=c.uw.getStylesBySelector(r,e);n[t]=C(n[t]||{},a)})}),t&&l.m.getAllResolutions().forEach(e=>{const n=c.uw.getUserStylesheetByResolution(e),r=c.uw.getStylesBySelector(n,t);a[e]=C(a[e]||{},r)});for(const e in a)n[e]=C(n[e]||{},a[e]);return n}function C(e,t){var n,r,a,i;const o=Object.assign({},e);for(const[e,s]of Object.entries(t)){const t=null!==(n=s.specificity)&&void 0!==n?n:c.uw.calculateSelectorSpecificity(e),l=null!==(r=s.ruleIndex)&&void 0!==r?r:0;if(o[e])for(const[n,r]of Object.entries(s)){if("specificity"===n||"ruleIndex"===n)continue;const s=o[e][n],c=null!==(a=o[e].specificity)&&void 0!==a?a:0,d=null!==(i=o[e].ruleIndex)&&void 0!==i?i:0;(t>c||t===c&&l>d||void 0===s)&&(o[e][n]=r,o[e].specificity=t,o[e].ruleIndex=l)}else o[e]=Object.assign(Object.assign({},s),{specificity:t,ruleIndex:l})}return o}function w(e,t,n){const r=(0,h.A)(n);for(const n in r)r[n]=r[n].map(n=>({selector:n.selector.startsWith(e)?n.selector.replace(e,t):n.selector,style:n.style}));return r}function T(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n],a=Object.entries(r).map(([e,t])=>({selector:e,style:t})).sort((e,t)=>{var n,r,a,i;const o=null!==(n=e.style.specificity)&&void 0!==n?n:0,s=null!==(r=t.style.specificity)&&void 0!==r?r:0;if(o!==s)return o-s;return(null!==(a=e.style.ruleIndex)&&void 0!==a?a:0)-(null!==(i=t.style.ruleIndex)&&void 0!==i?i:0)});t[n]=a}),t}function S(e){const t=[d.C.BUTTON_WIDGET_CLASS],n=document.getElementById(e),r=e=>e.startsWith(d.C.LAYOUT_PREFIX)?2:e.startsWith(d.C.WIDGET_BASE_LAYOUT_PREFIX)?1:0;return Array.from(n.classList).filter(e=>!t.includes(e)).sort((e,t)=>{const n=r(e),a=r(t);return n===a?e.localeCompare(t):n-a})}function E(e,t){(function(e){let t=!0;for(const n in e)for(const r in e[n])if(0!==Object.keys(e[n][r]).length){t=!1;break}return t})(b([null!=t?t:e]))&&function(e,t){o.F.setIgnoredByChangeManager(!0),s.A.setLayoutDefaultGlobalStyles(o.F.layoutsConfig.button[a.E.BASIC_STYLES],"button"),y(e,t),o.F.setIgnoredByChangeManager(!1)}(e)}function A(){A.alreadyRun||(o.F.buttonsList.forEach(e=>{E(`.${e}`,`${d.C.PAGE_CLASS} .${e}`)}),A.alreadyRun=!0)}function k(e){const t=b([`${d.C.PAGE_CLASS} ${e}`]);for(const e in t)for(const n in t[e]){const r=v(t[e][n]);0!==Object.keys(r).length&&u.stylesManagement.setStylesheetGlobalValues(r,n,!0,Number(e))}}function x(e){const t=e.querySelector(".library-button-viewport"),n=e.querySelector(".library-button-scaleWrapper"),r=e.querySelector(".button-preview");t&&n&&r&&(!function(e){e.style.paddingTop="",e.style.paddingRight="",e.style.paddingBottom="",e.style.paddingLeft=""}(r),n.style.transform="scale(1)",requestAnimationFrame(()=>{const e=t.getBoundingClientRect(),a=n.getBoundingClientRect();if(!a.width||!a.height)return;const i=function(e,t){const n=Math.min(e.width/t.width,e.height/t.height,1);return n>=g?{scale:n,paddingScale:1}:{scale:g,paddingScale:n/g}}(e,a);!function(e,t){if(t>=1)return;const n=getComputedStyle(e);e.style.paddingTop=parseFloat(n.paddingTop)*t+"px",e.style.paddingRight=parseFloat(n.paddingRight)*t+"px",e.style.paddingBottom=parseFloat(n.paddingBottom)*t+"px",e.style.paddingLeft=parseFloat(n.paddingLeft)*t+"px"}(r,i.paddingScale),n.style.transform=`scale(${i.scale})`}))}function B(e){(null==e?void 0:e.length)&&e.forEach(e=>{x(e)})}},741483:e=>{var t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"header-styles"}},[n("div",{attrs:{id:"preview-box"}},[n("div",{staticClass:"styles-row v-application v-application--is-ltr prototypeText"},[n("bwe-input",{staticClass:"darkTheme",attrs:{flat:!1,placeholder:e.$t("dictWD.stylesManagement.previewHelp")},model:{value:e.prototypeText,callback:function(t){e.prototypeText=t},expression:"prototypeText"}})],1),e._v(" "),n("header-tile",{attrs:{header:"text",prototypeText:e.prototypeText}}),e._v(" "),n("header-tile",{attrs:{header:"h1",prototypeText:e.prototypeText}}),e._v(" "),n("header-tile",{attrs:{header:"h2",prototypeText:e.prototypeText}}),e._v(" "),n("header-tile",{attrs:{header:"h3",prototypeText:e.prototypeText}}),e._v(" "),n("header-tile",{attrs:{header:"h4",prototypeText:e.prototypeText}}),e._v(" "),n("header-tile",{attrs:{header:"h5",prototypeText:e.prototypeText}}),e._v(" "),n("header-tile",{attrs:{header:"h6",prototypeText:e.prototypeText}}),e._v(" "),n("header-tile",{attrs:{header:"a",prototypeText:e.prototypeText}})],1)])},n=[];t._withStripped=!0,e.exports=function(e){var r="function"==typeof e?e.o
2ptions:e;return r.render=t,r.staticRenderFns=n,e}},778035:(e,t,n)=>{"use strict";n.d(t,{pW:()=>i,pe:()=>s,tY:()=>o});var r=n(19609);const a=[.13,.26,.39,.52,.65,.78,.91];function i(e,t){const n=(e,t)=>{document.documentElement.style.setProperty(e,t)},i=r.A.parseValueColor(e);i.RGBtoHSVandHSL();const l=[10,20,30],c=o(t),d=s(t),u=Array.from({length:6},(e,t)=>{let n=i.lightness;return n=t<3?n+l[2-t]>100?100:n+l[2-t]:n-l[t-3]<0?0:n-l[t-3],{h:i.hue,s:i.saturationHSL,l:n,a:i.a}});c.forEach((e,t)=>{const a=u[t];n(e.substr(4,e.length-5),r.A.HSLAColor(a.h,a.s,a.l,a.a).getRGBA())});const h=r.A.parseValueColor(e);d.forEach((e,t)=>{h.setAlpha(a[t]),n(e.substr(4,e.length-5),h.getRGBA())}),h.setAlpha(a[6]),n(`${t}-alpha7`,h.getRGBA())}function o(e){const t=(e,t)=>`${e+n[t]})`,n=["","er","est"];let r=Array(3).fill(`var(${e}-dark`),a=Array(3).fill(`var(${e}-light`);return r=r.map(t),a=a.map(t).reverse(),a.concat(r)}function s(e){let t=Array(6).fill(`var(${e}-alpha`);return t=t.map((e,t)=>`${e+(t+1)})`),t}},786494:(e,t,n)=>{"use strict";n.d(t,{B:()=>dt});var r=n(118657),a=n(512897),i=n.n(a),o=n(55042),s=n.n(o),l=new(i())({id:"x-sign-icon",use:"x-sign-icon-usage",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="x-sign-icon">\n\t<symbol id="x-sign-icon_cross" width="64" height="64" viewBox="0 0 64 64">\n\t\t<path d="M28.4643 32.0011L0.732214 4.26887C-0.244159 3.2925 -0.244159 1.7095 0.732214 0.733256C1.70859 -0.242992 3.29159 -0.243117 4.26783 0.733256L32 28.4655L59.7321 0.733256C60.7085 -0.243117 62.2915 -0.243117 63.2677 0.733256C64.244 1.70963 64.2441 3.29263 63.2677 4.26887L35.5356 32.0009L63.2677 59.7331C64.2441 60.7095 64.2441 62.2925 63.2677 63.2688C62.7796 63.7569 62.1397 64.0009 61.4998 64.0009C60.86 64.0009 60.2202 63.7569 59.732 63.2688L32 35.5367L4.26796 63.2688C3.77984 63.7569 3.13996 64.0009 2.50009 64.0009C1.86021 64.0009 1.22046 63.7569 0.732214 63.2688C-0.244159 62.2924 -0.244159 60.7094 0.732214 59.7331L28.4643 32.0011Z" />\n\t</symbol>\n</symbol>'});s().add(l);const c=l;var d,u=n(28453),h=n(742420),f=n(196887),p=n(795098),g=n(241558),m=n(436599),y=n(531480),v=n(717978),b=n.n(v),C=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},w=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};let T=d=class extends((0,m.vE)(g.a)){constructor(){super(...arguments),this.error="",this.suggestion=""}get title(){return this.init?this.$t("dictWD.stylesManagement.newGradient"):this.$t("dictWD.stylesManagement.editGradient")}get fieldName(){return this.init?"input":"span"}get fieldClass(){return this.init?this.error?"name-input error-border":"name-input":"name-display"}get gradientName(){return this.init?this.suggestion:y.uw.getGradientNameWithSpacing(this.id)}set gradientName(e){this.suggestion=e}get saveText(){return this.init?this.$t("dictWD.stylesManagement.buttonAdd"):this.$t("dictWD.stylesManagement.buttonSave")}get id(){return this.suggestion=this.placeholder,this.value.name}get gradient(){return this.value.value}set gradient(e){this.value.value=e}get icons(){return{Cross:c}}reloadGradient(){f.stylesManagement.setStylesheetCssVar(p.C.GRADIENT_PREFIX+this.id,this.value.value,()=>{},null,null,!1)}close(e){if(e&&this.init){const e=y.uw.getGradientNameWithReplacedSpacing(this.suggestion),t=h.F.gradients.find(({value:t,name:n})=>n===e);if(!this.suggestion)return void(this.error=this.$t("dictWD.stylesManagement.errorNoName"));if(!d.ALLOWED.test(this.suggestion))return void(this.error=this.$t("dictWD.stylesManagement.errorInvalid"));if(t)return void(this.error=this.$t("dictWD.stylesManagement.errorTaken"));this.suggestion=e}this.$emit("close",this.init&&e?this.suggestion:e),this.suggestion="",this.error=""}};T.ALLOWED=/^(?:[\p{L}\p{M}\p{Zs}_\d\s-])+$/u,C([(0,r.kv)(),w("design:type",Object)],T.prototype,"value",void 0),C([(0,r.kv)({default:!1}),w("design:type",Boolean)],T.prototype,"init",void 0),C([(0,r.kv)({default:""}),w("design:type",String)],T.prototype,"placeholder",void 0),C([(0,r.ox)("value.value"),w("design:type",Function),w("design:paramtypes",[]),w("design:returntype",void 0)],T.prototype,"reloadGradient",null),T=d=C([b(),(0,r.uA)({components:{GradientSlider:u.o}})],T);var S=new(i())({id:"info-hover",use:"info-hover-usage",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="info-hover">\n\t<symbol id="info-hover_info-icon" width="20" height="20" viewBox="0 0 20 20">\n\t\t<path d="M10 17.5C14.1421 17.5 17.5 14.1421 17.5 10C17.5 5.85786 14.1421 2.5 10 2.5C5.85786 2.5 2.5 5.85786 2.5 10C2.5 14.1421 5.85786 17.5 10 17.5Z" stroke-linecap="round" stroke-linejoin="round" />\n\t\t<path d="M9.375 9.375H10V13.75H10.625" stroke-linecap="round" stroke-linejoin="round" />\n\t\t<path d="M9.84375 7.5C10.3615 7.5 10.7812 7.08027 10.7812 6.5625C10.7812 6.04473 10.3615 5.625 9.84375 5.625C9.32598 5.625 8.90625 6.04473 8.90625 6.5625C8.90625 7.08027 9.32598 7.5 9.84375 7.5Z" fill="#AAAEB8" />\n\t</symbol>\n</symbol>'});s().add(S);const E=S;var A=new(i())({id:"trash2",use:"trash2-usage",content:'<symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="trash2">\n\t<symbol id="trash2_trash" fill="none" width="16" height="16" viewB
2ox="0 0 16 16">\n\t\t<path d="M13.4995 3.5L2.49951 3.50004" stroke="white" stroke-linecap="round" stroke-linejoin="round" />\n\t\t<path d="M6.5 6.5V10.5" stroke="white" stroke-linecap="round" stroke-linejoin="round" />\n\t\t<path d="M9.5 6.5V10.5" stroke="white" stroke-linecap="round" stroke-linejoin="round" />\n\t\t<path d="M12.5 3.5V13C12.5 13.1326 12.4473 13.2598 12.3536 13.3536C12.2598 13.4473 12.1326 13.5 12 13.5H4C3.86739 13.5 3.74021 13.4473 3.64645 13.3536C3.55268 13.2598 3.5 13.1326 3.5 13V3.5" stroke="white" stroke-linecap="round" stroke-linejoin="round" />\n\t\t<path d="M10.5 3.5V2.5C10.5 2.23478 10.3946 1.98043 10.2071 1.79289C10.0196 1.60536 9.76522 1.5 9.5 1.5H6.5C6.23478 1.5 5.98043 1.60536 5.79289 1.79289C5.60536 1.98043 5.5 2.23478 5.5 2.5V3.5" stroke="white" stroke-linecap="round" stroke-linejoin="round" />\n\t</symbol>\n    <symbol id="trash2_trashBigger" fill="none" width="24" height="24" viewBox="0 0 24 24">\n\t\t<path d="M20.5 4.5H3.5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />\n\t\t<path d="M9.5 8.5V15.5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />\n\t\t<path d="M14.5 8.5V15.5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />\n\t\t<path d="M19.5 4.5V19.7C19.5 19.9122 19.4122 20.1157 19.256 20.2658C19.0997 20.4157 18.8877 20.5 18.6667 20.5H5.33333C5.11232 20.5 4.90035 20.4157 4.74408 20.2658C4.5878 20.1157 4.5 19.9122 4.5 19.7V4.5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />\n\t\t<path d="M16.5 4.5V3.5C16.5 3.23478 16.3314 2.98043 16.0314 2.79289C15.7314 2.60536 15.3244 2.5 14.9 2.5H10.1C9.67565 2.5 9.26869 2.60536 8.96862 2.79289C8.66858 2.98043 8.5 3.23478 8.5 3.5V4.5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />\n\t</symbol>\n</symbol>'});s().add(A);const k=A;var x,B,G=n(333783),_=n(649632),O=n(820999),L=n(555909),R=n(38935),I=n(871528),D=n(95997),N=n(741548),P=n(640114),W=n(243952),M=n(688055),V=n.n(M),H=n(415868),F=n(431978),$=n(126189),U=n(992629),j=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},X=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},z=function(e,t,n,r){return new(n||(n=U))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};class Y extends F.I{constructor(e){super($.P.GLOBAL_BUTTON_ADD_CHANGE),this.className=$.P.GLOBAL_BUTTON_ADD_CHANGE,this.buttonsList={beforeChange:[],afterChange:[]},this.selector=e,this.buttonsList.beforeChange=V()(h.F.buttonsList);const t=V()(h.F.buttonsList);t.push(e),this.buttonsList.afterChange=t}undo(){return z(this,void 0,void 0,function*(){this.buttonsList.afterChange=this.buttonsList.afterChange||V()(h.F.buttonsList),h.F.setButtonsList(V()(this.buttonsList.beforeChange))})}redo(){return z(this,void 0,void 0,function*(){h.F.setButtonsList(V()(this.buttonsList.afterChange))})}get id(){return`${this.selector}:${this.className}`}}j([H.K,X("design:type",Function),X("design:paramtypes",[]),X("design:returntype","function"==typeof(x=void 0!==U&&U)?x:Object)],Y.prototype,"undo",null),j([H.K,X("design:type",Function),X("design:paramtypes",[]),X("design:returntype","function"==typeof(B=void 0!==U&&U)?B:Object)],Y.prototype,"redo",null);var K,q,Z=n(726492),J=n(992629),Q=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},ee=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},te=function(e,t,n,r){return new(n||(n=J))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};
2class ne extends F.I{constructor(e){super($.P.GLOBAL_BUTTON_REMOVE_CHANGE),this.className=$.P.GLOBAL_BUTTON_REMOVE_CHANGE,this.buttonsList={beforeChange:[],afterChange:[]},this.selector=e,this.buttonsList.beforeChange=V()(h.F.buttonsList);const t=V()(h.F.buttonsList),n=t.findIndex(t=>t===e);n>-1&&t.splice(n,1),this.buttonsList.afterChange=t}undo(){return te(this,void 0,void 0,function*(){this.buttonsList.afterChange=this.buttonsList.afterChange||V()(h.F.buttonsList),h.F.setButtonsList(V()(this.buttonsList.beforeChange))})}redo(){return te(this,void 0,void 0,function*(){h.F.setButtonsList(V()(this.buttonsList.afterChange))})}get id(){return`${this.selector}:${this.className}`}}Q([H.K,ee("design:type",Function),ee("design:paramtypes",[]),ee("design:returntype","function"==typeof(K=void 0!==J&&J)?K:Object)],ne.prototype,"undo",null),Q([H.K,ee("design:type",Function),ee("design:paramtypes",[]),ee("design:returntype","function"==typeof(q=void 0!==J&&J)?q:Object)],ne.prototype,"redo",null);var re=n(831052),ae=n(159464),ie=n(949981),oe=n(449168),se=(n(427493),n(76683)),le=n(427805),ce=n.n(le),de=(n(637173),n(274692)),ue=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},he=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};let fe=class extends r.lD{constructor(){super(...arguments),this.HEADER_TEXT="text",this.styles={}}created(){this.tag=this.header===this.HEADER_TEXT?"p":this.header,this.setStyles(),this.isHeader?this.defaultText=`${this.$t("dictWD.stylesManagement.headline")} ${this.header[1]}`:this.defaultText="p"===this.tag?this.$t("dictWD.stylesManagement.text"):this.$t("dictWD.stylesManagement.link"),G.B.onInstance(se.v.EDITOR.PREVIEW_MODE_CHANGE_FINISHED,this,()=>this.setStyles())}setStyles(){const e=this.header===this.HEADER_TEXT?"":this.header;this.styles=oe.G.getGlobalStyles(`${p.C.PAGE_CLASS} ${e}`.trim(),!0)}mounted(){this.widget=this.initWidget(`${this.header}-preview`,"p"!==this.tag?P.f.HEADER:P.f.TEXT),G.B.onInstance(_.m.UNDO_REDO.REDO,this,this.assignStyles),G.B.onInstance(_.m.UNDO_REDO.UNDO,this,this.assignStyles)}beforeDestroy(){this.detachEventListeners()}detachEventListeners(){G.B.detachAllFrom(this)}get tooltip(){return this.prototypeText?"header-name":""}get font(){return`${this.fontFamily}, ${this.fontSize}, ${this.fontWeight}`}get fontFamily(){return this.styles.fontFamily.value.replace(/\"/g,"")}get fontSize(){return this.styles.fontSize.value}get fontWeight(){return this.styles.fontWeight.value}get headerText(){return this.isHeader?this.header:""}get isHeader(){return"h"===this.header[0]}initWidget(e,t){const n=D.widgetHelper.addWidget(de(`#${e}`),t,e,!1);return n.suffixIndex=N.H.BASIC,n.isGlobalStyles=!0,n.isTextWidget=!0,n.lessVarsPrefix="p"===this.tag?"@Text":`@${this.tag}`,n.getLabel=()=>"h"===this.tag[0]?this.$t("dictWD.dialogTitles.header"):"p"===this.tag?this.$t("dictWD.stylesManagement.text"):this.$t("dictWD.stylesManagement.link"),n.isRenderedInMenu=!0,"a"===this.tag?n.selectorSuffixes={[N.H.BASIC]:{name:dictWD.selectorSuffixNormal,suffix:""},[N.H.HOVER]:{name:dictWD.selectorSuffixHover,suffix:":hover"}}:n.selectorSuffixes={[N.H.BASIC]:{name:dictWD.selectorSuffixNormal,suffix:""}},n}headerEdit(){G.B.onInstance(_.m.STYLES_DIALOG.STYLES_CHANGED,this,()=>{h.F.currentWidget===this.widget&&this.$nextTick(()=>this.assignStyles())}),h.F.setCurrentWidget(this.widget),h.F.setShowStylesDialog(!0)}assignStyles(){const e=this.header===this.HEADER_TEXT?p.C.PAGE_CLASS:`${p.C.PAGE_CLASS} ${this.header}`,t=oe.G.getGlobalStyles(e,!0);this.styles.fontFamily.value=t.fontFamily.value,this.styles.fontSize.value=t.fontSize.value,this.styles.fontWeight.value=t.fontWeight.value}};ue([(0,r.kv)({default:""}),he("design:type",String)],fe.prototype,"prototypeText",void 0),ue([(0,r.kv)(),he("design:type",String)],fe.prototype,"header",void 0),fe=ue([ce(),r.uA],fe);var pe=n(741483),ge=n.n(pe),me=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};let ye=class extends r.lD{constructor(){super(...arguments),this.prototypeText=""}get icons(){return{Info:E}}};ye=me([ge(),(0,r.uA)({components:{HeaderTile:fe,LabelWithTooltip:I.o,CollapseItem:re.CollapseItem,BweInput:ie.j}})],ye);var ve=n(19609),be=new(i())({id:"copy-color",use:"copy-color-usage",content:'<symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="copy-color">\n\t<symbol id="copy-color_copy" fill="none" width="24" height="24" viewBox="0 0 24 24">\n\t\t<path d="M15.75 15.7493H20.25V3.74927H8.25V8.24927" stroke-linecap="round" stroke-linejoin="round" />\n\t\t<path d="M15.75 8.24951H3.75V20.2495H15.75V8.24951Z" stroke-linecap="round" stroke-linejoin="round" />\n\t</symbol>\n</symbol>'});s().add(be);const Ce=be;var we,Te=n(574022),Se=n(453989),Ee=n(99511),Ae=n(250205),ke=n(611138),xe=n(778035),Be=(n(712270),n(547160)),Ge=n.n(Be),_e=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},Oe=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};let Le=we=class extends r.lD{constructor(){super(...arguments),this.callback=()=>{}
2,this.initFire=!0,this.currentColor="",this.lightBackground=!1,this.ecommerceTooltip=""}created(){this.currentColor=ve.A.getRealColor(`var(${this.watched}, #fff)`),this.lightBackground=this.isBright(ve.A.parseValueColor(this.currentColor).getHexa()),this.ecommerceTooltip=this.ecommerce?dict.vuetifyColorsInfo[/\b\w+\b/.exec(this.ecommerce)[0]]:""}mounted(){this.$colorSampleButton=this.$refs.sample,this.$refs.input.value=this.currentColor,this.$colorSampleButton.style.backgroundColor=this.currentColor,this.showShades?this.callback=()=>{this.updateMainColors()}:this.watched.endsWith("y")&&(this.callback=()=>{this.updateEcommerceColors()});new MutationObserver((0,Te.A)(e=>{!this.initFire&&O.changeManager.isContainerInitialized?e.forEach(()=>{this.currentColor=this.$colorSampleButton.style.backgroundColor,this.lightBackground=this.isBright(ve.A.parseValueColor(this.currentColor).getHexa()),ve.A.compare(this.currentColor,`var(${this.watched})`)||(this.callback(),f.stylesManagement.setStylesheetCssVar(this.watched,this.currentColor,this.callback,this.$colorSampleButton,this.$refs.input))}):this.initFire=!1},we.COLOR_PICKER_THROTTLE_TIME)).observe(this.$colorSampleButton,{attributes:!0,attributeFilter:["style"]}),ve.A.getRealColor(`var(${this.watched})`)||this.$nextTick(()=>{this.callback()})}get shades(){return(0,xe.tY)(this.watched)}get transparencies(){return(0,xe.pe)(this.watched)}get colorHex(){return this.currentColor?ve.A.parseValueColor(this.currentColor).getHexa():""}get icons(){return{Copy:Ce,Info:E}}
2get darken(){return this.lightBackground}register(){G.B.once(_.m.COLOR_PICKER.CLOSE_DIALOG,()=>{this.currentColor=this.$colorSampleButton.style.backgroundColor,f.stylesManagement.setStylesheetCssVar(this.watched,this.currentColor,this.callback,this.$colorSampleButton,this.$refs.input),this.callback(),this.$emit("colorChanged"),G.B.emit(_.m.STYLES_DIALOG.STYLES_CHANGED)})}setCss(e,t){document.documentElement.style.setProperty(e,t)}updateMainColors(){this.currentColor=this.$colorSampleButton.style.backgroundColor,(0,xe.pW)(this.currentColor,this.watched)}updateEcommerceColors(){this.currentColor=this.$colorSampleButton.style.backgroundColor;const e=ve.A.parseValueColor(this.currentColor);e.RGBtoHSVandHSL();const t=Array.from({length:2},(t,n)=>{let r=e.lightness;return r=0===n?r+10>100?100:r+10:r-10<0?0:r-10,{h:e.hue,s:e.saturationHSL,l:r,a:e.a}});let n=t[0];this.setCss(`${this.watched}-light`,ve.A.HSLAColor(n.h,n.s,n.l,n.a).getRGBA()),n=t[1],this.setCss(`${this.watched}-dark`,ve.A.HSLAColor(n.h,n.s,n.l,n.a).getRGBA())}copy(){Se.Ow.copyToClipboard(this.colorHex),Ae.D.setNotification(null,this.$t("successfullyCopied"),ke.A.INFO)}isBright(e){return"F"===e[1]&&"F"===e[3]&&"F"===e[5]}removeColor(){this.$emit("handleDelete")}};Le.COLOR_PICKER_THROTTLE_TIME=200,_e([(0,r.kv)({default:"color"}),Oe("design:type",String)],Le.prototype,"name",void 0),_e([(0,r.kv)(),Oe("design:type",String)],Le.prototype,"watched",void 0),_e([(0,r.kv)({default:!1}),Oe("design:type",Boolean)],Le.prototype,"showShades",void 0),_e([(0,r.kv)(),Oe("design:type",String)],Le.prototype,"ecommerce",void 0),_e([(0,r.kv)({default:!1}),Oe("design:type",Boolean)],Le.prototype,"deletable",void 0),Le=we=_e([Ge(),(0,r.uA)({components:{BweTooltip:Ee.A}})],Le);var Re=n(48595),Ie=n(166678),De=n(446235);class Ne extends Ie.M{static getClassName(){return"EnumBuildWithGridOptions"}}Ne.GRID=new De.h("grid","Build with grid",null),Ne.FULL=new De.h("full","Full width",null);var Pe,We=n(535814),Me=n(332467),Ve=n(852105),He=n(616181),Fe=n(309273),$e=n(513523),Ue=n(109184),je=n(549369),Xe=n.n(je),ze=(n(503603),n(992629)),Ye=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},Ke=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},qe=function(e,t,n,r){return new(n||(n=ze))(function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};let Ze=class extends r.lD{constructor(){super(...arguments),this.gridOptions=Ne.getAllValues(),this.buildWithGrid=h.F.buildWithGrid,this.columnGap=h.F.columnGap,this.colPadding=h.F.columnPadding,this.domainClient=Re.kL.resolve($e.a),this.isLoadingValues=!1,this.gridCssVariables={columnGap:"--columnGap",rowGap:"--rowGap",paddingHorizontal:"--paddingHorizontal",paddingVertical:"--paddingVertical",containerWidth:"--containerWidth",colPaddingHorizontal:"--colPaddingHorizontal",colPaddingVertical:"--colPaddingVertical"}}get EnumCssUnitsTypes(){return Ve.n}get EnumNumberType(){return Fe.X}get bottomDirection(){return He.H.BOTTOM}mounted(){this.loadCustomGridValues(),G.B.onInstance(se.v.EDITOR.PREVIEW_MODE_CHANGE_FINISHED,this,this.loadCustomGridValues)}beforeDestroy(){G.B.detachAllFrom(this)}getCssVarAsNumber(e,t){const n=f.stylesManagement.getResponsiveCssVar(e,Ue.N.deviceResolution),r=Number.parseFloat(n);return Number.isNaN(r)?t:r}loadCustomGridValues(){this.isLoadingValues=!0;const e=h.F.buildWithGrid.isGrid()?Ne.GRID.value:Ne.FULL.value;this.buildWithGrid={buildOption:e,width:this.getCssVarAsNumber(this.gridCssVariables.containerWidth,h.F.buildWithGrid.width),paddingHorizontal:this.getCssVarAsNumber(this.gridCssVariables.paddingHorizontal,h.F.buildWithGrid.paddingHorizontal),paddingVertical:this.getCssVarAsNumber(this.gridCssVariables.paddingVertical,h.F.buildWithGrid.paddingVertical),isGrid(){return this.buildOption===Ne.GRID.value}},this.columnGap={row:this.getCssVarAsNumber(this.gridCssVariables.rowGap,h.F.columnGap.row),column:this.getCssVarAsNumber(this.gridCssVariables.columnGap,h.F.columnGap.column)},this.colPadding={horizontal:this.getCssVarAsNumber(this.gridCssVariables.colPaddingHorizontal,h.F.columnPadding.horizontal),vertical:this.getCssVarAsNumber(this.gridCssVariables.colPaddingVertical,h.F.columnPadding.vertical)},this.$nextTick(()=>{this.isLoadingValues=!1})}applyGridValues(){this.isLoadingValues||(O.changeManager.initializeChangesIfNotExist(),this.setCustomGridCssVariables(),O.changeManager.flushChanges())}applyBuildOption(){return qe(this,void 0,void 0,function*(){if(this.isLoadingValues)return;const e=Object.assign(Object.assign({},h.F.buildWithGrid),{buildOption:this.buildWithGrid.buildOption,isGrid(){return this.buildOption===Ne.GRID.value}});h.F.setBuildWithGrid(e),yield this.domainClient.saveBuildWithGrid(Number(bowweConfig.domainId),this.buildWithGrid.isGrid())})}setCustomGridCssVariables(){const e=Ue.N.deviceResolution,t=[[this.gridCssVariables.columnGap,this.columnGap.column],[this.gridCssVariables.rowGap,this.columnGap.row],[this.gridCssVariables.paddingHorizontal,this.buildWithGrid.paddingHorizontal],[this.gridCssVariables.paddingVertical,this.buildWithGrid.paddingVertical],[this.gridCssVariables.containerWidth,this.buildWithGrid.width],[this.gridCssVariables.colPaddingHorizontal,this.colPadding.horizontal],[this.gridCssVariables.colPaddingVertical,this.colPadding.vertical]];
2f.stylesManagement.setResponsiveCssVars(t.map(([e,t])=>[e,`${t}${Ve.n.PX}`]),e)}};Ye([(0,r.ox)("buildWithGrid.width"),(0,r.ox)("buildWithGrid.paddingHorizontal"),(0,r.ox)("buildWithGrid.paddingVertical"),(0,r.ox)("columnGap.row"),(0,r.ox)("columnGap.column"),(0,r.ox)("colPadding.horizontal"),(0,r.ox)("colPadding.vertical"),Ke("design:type",Function),Ke("design:paramtypes",[]),Ke("design:returntype",void 0)],Ze.prototype,"applyGridValues",null),Ye([(0,r.ox)("buildWithGrid.buildOption"),H.K,Ke("design:type",Function),Ke("design:paramtypes",[]),Ke("design:returntype","function"==typeof(Pe=void 0!==ze&&ze)?Pe:Object)],Ze.prototype,"applyBuildOption",null),Ze=Ye([Xe(),(0,r.uA)({components:{InputUnitNumber:We.y,LabelWithTooltip:I.o,OptionsButtons:Me.K}})],Ze);var Je,Qe=n(715530),et=(n(263190),n(789630)),tt=n.n(et),nt=n(274692),rt=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};let at=Je=class extends((0,m.vE)(g.a)){constructor(){super(...arguments),this.DEFAULT_TEXT_COLOR_INDEX=0,this.INVERSE_TEXT_COLOR_INDEX=1,this.TEXT_COLOR_NAME_PREFIX="Name",this.LEGACY_TEXT_COLOR_NAME_PREFIX="Color",this.currentGradient={value:"",name:""},this.isGradientEdited=!1,this.activeCollapseNames=[],this.initGradient=!1,this.uneditedValue="",this.suggestion="",this.removed=[],this.globalButtons=[]}mounted(){this.gradientList.forEach(e=>f.stylesManagement.setStylesheetCssVar(p.C.GRADIENT_PREFIX+e.name,e.value,()=>{},null,null,!1)),this.buttonsList.forEach(e=>{const t=this.initButtonWidget(e);t.widgetData=(new W.ButtonParams).setButtonText(e),this.globalButtons.push(t)})}get gradientPrefix(){return p.C.GRADIENT_PREFIX}get textColorPrefix(){return p.C.TEXT_COLOR_PREFIX}get gradientList(){return h.F.gradients}get textColorsList(){return h.F.textColors}get buttonsList(){return h.F.buttonsList}get hasAccessToEcommerce(){return L.Z.hasUserAccessToTestFunc(R.j.ECOMMERCE)}get icons(){return{Info:E,Trash:k}}created(){this.loadDefaultButtonGlobalStyles(),G.B.onInstance(_.m.STYLE_MANAGEMENT.OPEN_CANVAS_SETTINGS,this,()=>this.openCanvasSettingsSection()),h.F.pendingOpenCanvasSettings&&(this.openCanvasSettingsSection(),h.F.setPendingOpenCanvasSettings(!1))}beforeDestroy(){G.B.detachAllFrom(this)}openCanvasSettingsSection(){this.activeCollapseNames.includes(Je.CANVAS_SETTINGS_NAME)||(this.activeCollapseNames=[...this.activeCollapseNames,Je.CANVAS_SETTINGS_NAME]),this.$nextTick(()=>{var e;null===(e=document.getElementById("collapse-item-canvas-settings"))||void 0===e||e.scrollIntoView({block:"nearest"})})}loadDefaultButtonGlobalStyles(){h.F.buttonsList.forEach(e=>(0,Z.dv)(`.${e}`,`${p.C.PAGE_CLASS} .${e}`))}removeFromStore(e){const{gradients:t}=h.F;return t.splice(e,1)[0]}addToStore(e,t){const{gradients:n}=h.F;n.splice(t,0,e)}callbackGen(e,t){G.B.once(_.m.UNDO_REDO.UNDO,()=>{e(),G.B.off(_.m.UNDO_REDO.REDO)}),G.B.once(_.m.UNDO_REDO.REDO,()=>{t(),G.B.off(_.m.UNDO_REDO.UNDO)})}newTextColor(){const e=this.textColorsList.reduce((e,t)=>{const n=t.name.match(new RegExp(`^(${this.TEXT_COLOR_NAME_PREFIX}|${this.LEGACY_TEXT_COLOR_NAME_PREFIX})(\\d+)$`));return n?Math.max(e,Number(n[2])):e},0),t=`${this.TEXT_COLOR_NAME_PREFIX}${e+1}`,n={value:Je.DEFAULT_COLOR,name:t,idx:this.textColorsList.length};h.F.addTextColor(n),O.changeManager.initSingleChange(),f.stylesManagement.setStylesheetCssVar(p.C.TEXT_COLOR_PREFIX+t,Je.DEFAULT_COLOR,()=>{},null,null,!1),this.$nextTick(()=>{Qe.A.init("color-input")})}handleColorChange(e){h.F.textColors[e].value=getComputedStyle(document.head).getPropertyValue(this.textColorPrefix+h.F.textColors[e].name)}newGradient(){if(this.isGradientEdited)return;const e=this.gradientList.length;this.suggestion=`${this.$t("dictWD.stylesManagement.gradient")} ${e+1}`;const t={value:Je.DEFAULT_GRADIENT,name:"Preview"};this.addToStore(t,e),this.initGradient=!0,this.uneditedValue="",O.changeManager.initSingleChange(),f.stylesManagement.setStylesheetCssVar(Je.GRADIENT_PREVIEW,Je.DEFAULT_GRADIENT,()=>{}
2,null,null,!1),this.$nextTick(()=>{this.editGradient(e,!0)})}editGradient(e,t=!1){this.isGradientEdited||(this.currentGradient=h.F.gradients[e],this.isGradientEdited=!0,t||(this.uneditedValue=this.currentGradient.value,O.changeManager.initSingleChange()))}removeGradient(e){if(this.isGradientEdited)return;const t=h.F.gradients.splice(e,1)[0];O.changeManager.initializeChanges(),f.stylesManagement.setStylesheetCssVar(this.gradientPrefix+t.name,Je.NONE,()=>{this.callbackGen(()=>{this.addToStore(t,e)},()=>{this.removeFromStore(e)})}),O.changeManager.flushChanges()}finishGradient(e){if(this.isGradientEdited=!1,O.changeManager.initSingleChange(),e)if(!0!==e){this.currentGradient.name=e;const t=h.F.gradients.length-1,n=()=>{this.callbackGen(()=>{const e=this.removeFromStore(t);this.removed.push(e)},()=>{const e=this.removed.pop();this.addToStore(e,t)})};f.stylesManagement.setStylesheetCssVar(this.gradientPrefix+e,this.currentGradient.value,n)}else f.stylesManagement.setStylesheetCssVar(this.gradientPrefix+e,this.currentGradient.value,()=>{});else this.uneditedValue?(f.stylesManagement.setStylesheetCssVar(this.gradientPrefix+this.currentGradient.name,this.uneditedValue,()=>{},null,null,!1),this.currentGradient.value=this.uneditedValue):(f.stylesManagement.setStylesheetCssVar(Je.GRADIENT_PREVIEW,Je.NONE,()=>{},null,null,!1),this.removeFromStore(h.F.gradients.length-1),this.currentGradient={value:"",name:""});O.changeManager.flushSingleChange()}spacing(e){return y.uw.getGradientNameWithSpacing(e)}initButtonWidget(e){const t=D.widgetHelper.addWidget(nt(`#${e}`),P.f.BUTTON,e,!1,void 0,void 0,new W.ButtonParams);return t.$widgetElement[0].classList.add(e),t.suffixIndex=N.H.BASIC,t.isGlobalStyles=!0,t.isTextWidget=!1,t.getLabel=()=>this.$t("dictWD.dialogTitles.button"),t.isRenderedInMenu=!0,t.isGlobalButton=!0,t.selectorSuffixes={[N.H.BASIC]:{name:dictWD.selectorSuffixNormal,suffix:""},[N.H.HOVER]:{name:dictWD.selectorSuffixHover,suffix:":hover"}},t}editButton(e){h.F.setCurrentWidget(this.globalButtons[e]),h.F.setShowStylesDialog(!0)}deleteButton(e){O.changeManager.initializeChanges();const t=h.F.buttonsList.findIndex(t=>t===e);t>-1&&(O.changeManager.register(new ne(e)),h.F.buttonsList.splice(t,1),this.globalButtons.splice(t,1)),O.changeManager.flushChanges()}addNewCustomButton(){O.changeManager.initializeChanges();const e=this.generateNewButtonName();O.changeManager.register(new Y(e)),h.F.buttonsList.push(e),(0,Z.dv)(`.${e}`,`${p.C.PAGE_CLASS} .${e}`),this.$nextTick(()=>{const t=this.initButtonWidget(e);t.widgetData=(new W.ButtonParams).setButtonText(e),this.globalButtons.push(t)}),O.changeManager.flushChanges()}generateNewButtonName(){const e=[];return this.buttonsList.forEach(t=>{const n=t.match(/^button-(?<number>\d*)$/);n&&e.push(Number(n.groups.number))}),e.length>0?`button-${Math.max(...e)+1}`:Je.BUTTON_THREE}getIsTextColorDeletable(e){return e!==this.DEFAULT_TEXT_COLOR_INDEX&&e!==this.INVERSE_TEXT_COLOR_INDEX}removeTextColor(e){const t=h.F.textColors[e];h.F.removeTextColor(e);O.changeManager.initializeChangesIfNotExist(),f.stylesManagement.setStylesheetCssVar(`${p.C.TEXT_COLOR_PREFIX}${t.name}`,Je.NONE,()=>{this.callbackGen(()=>{h.F.addTextColor(Object.assign(Object.assign({},t),{idx:e}))},()=>{h.F.removeTextColor(e)})}),O.changeManager.flushChanges()}handleCollapseChange(e){const t=Array.isArray(e)?e:[e];this.activeCollapseNames=t,t.includes("buttons")&&this.$nextTick(()=>{requestAnimationFrame(()=>{(0,Z.Cz)(this.$refs.libraryButtons)})})}};at.NONE="none",at.GRADIENT_PREVIEW="--gradientPreview",at.DEFAULT_GRADIENT="linear-gradient(135deg, var(--thm-color1) 0%, var(--thm-color2) 100%)",at.BUTTON_THREE="button-3",at.DEFAULT_COLOR="#000",at.CANVAS_SETTINGS_NAME="canvasSettings",at=Je=rt([tt(),(0,r.uA)({components:{ColorTile:Le,GradientManagement:T,LabelWithTooltip:I.o,Collapse:re.Collapse,CollapseItem:re.CollapseItem,HeaderStyles:ye,BweGhostButton:ae.E,CanvasSettings:Ze}})],at);var it=n(999990),ot=n(596258),st=(n(93457),n(115255)),lt=n.n(st),ct=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};let dt=class extends ot._{constructor(){super(...arguments),this.colorVisibility=0,this.typographyVisibility=0}get icons(){return{Cross:c}}
2created(){h.F.textColors.forEach(e=>f.stylesManagement.setStylesheetCssVar(p.C.TEXT_COLOR_PREFIX+e.name,e.value,()=>{},null,null,!1))}mounted(){Qe.A.init("color-input")}closeStylesManagementDialog(){this.$emit("closeDialog")}initChange(){O.changeManager.initSingleChange()}flushChange(){O.changeManager.flushSingleChange()}};dt=ct([lt(),(0,r.uA)({components:{ColorStyles:at,HeaderStyles:ye,DomainPlanAccessMask:it.y}})],dt)},789630:e=>{var t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"styles-section"},[n("collapse",{on:{change:e.handleCollapseChange},model:{value:e.activeCollapseNames,callback:function(t){e.activeCollapseNames=t},expression:"activeCollapseNames"}},[n("collapse-item",{attrs:{name:"textColors",id:"collapse-item-text-colors"}},[n("span",{staticClass:"accordion-title",attrs:{slot:"title"},slot:"title"},[n("span",{staticClass:"title-text"},[e._v(e._s(e.$t("dictWD.stylesManagement.textColors")))])]),e._v(" "),n("div",{staticClass:"color-row"},[e._l(e.textColorsList,function(t,r){return n("color-tile",{key:r,attrs:{name:t.name,watched:e.textColorPrefix+t.name,showShades:!1,deletable:e.getIsTextColorDeletable(r)},on:{colorChanged:function(){return e.handleColorChange(r)},handleDelete:function(){return e.removeTextColor(r)}}})}),e._v(" "),n("bwe-ghost-button",{attrs:{text:e.$tc("dictWD.stylesManagement.addTextColor"),prependIconName:"mdi-plus-circle-outline"},on:{click:e.newTextColor}})],2)]),e._v(" "),n("collapse-item",{attrs:{name:"themeColors",id:"collapse-item-theme-colors"}},[n("span",{staticClass:"accordion-title",attrs:{slot:"title"},slot:"title"},[n("span",{staticClass:"title-text"},[e._v(e._s(e.$t("dictWD.stylesManagement.themeColors")))])]),e._v(" "),n("div",{staticClass:"color-row"},e._l(6,function(t){return n("color-tile",{attrs:{name:e.$t("dictWD.stylesManagement.color")+" "+t,watched:"--thm-color"+t,showShades:""}})}),1)]),e._v(" "),n("collapse-item",{attrs:{name:"gradients",id:"collapse-item-gradients"}},[n("span",{staticClass:"accordion-title",attrs:{slot:"title"},slot:"title"},[n("span",{staticClass:"title-text"},[e._v(e._s(e.$t("dictWD.stylesManagement.gradients")))])]),e._v(" "),n("v-dialog",{attrs:{"content-class":"style-management-dialog__gradient-management","hide-overlay":"",transition:"slide-x-transition",persistent:"","no-click-animation":"","retain-focus":!1},model:{value:e.isGradientEdited,callback:function(t){e.isGradientEdited=t},expression:"isGradientEdited"}},[n("gradient-management",{attrs:{init:e.initGradient,placeholder:e.suggestion},on:{close:e.finishGradient,initChange:e.initChange,flushChange:e.flushChange},model:{value:e.currentGradient,callback:function(t){e.currentGradient=t},expression:"currentGradient"}})],1),e._v(" "),n("div",{staticClass:"color-row"},[e._l(e.gradientList,function(t,r){return n("label",{staticClass:"label-inline"},[n("div",{staticClass:"color-wrapper gradient-picker"},[n("button",{staticClass:"edit-gradient",style:{backgroundImage:"var("+e.gradientPrefix+t.name+")"},attrs:{id:"gradient"+t.name,name:"customGradient"},on:{click:function(t){e.initGradient=!1,e.editGradient(r)}}}),e._v(" "),n("div",{staticClass:"gradient-description"},[n("div",{staticClass:"color-type"},[e._v(e._s(e.spacing(t.name)))])]),e._v(" "),n("div",{staticClass:"gradient-pickerTrashWrapper"},[n("button",{staticClass:"gradient-pickerTrash",on:{click:function(t){return t.stopPropagation(),e.removeGradient(r)}}},[n("svg",[n("use",{attrs:{"xlink:href":"#trash2_trash"}})])])])])])}),e._v(" "),n("bwe-ghost-button",{attrs:{text:e.$tc("dictWD.stylesManagement.addGradient"),prependIconName:"mdi-plus-circle-outline"},on:{click:e.newGradient}})],2)],1),e._v(" "),n("collapse-item",{attrs:{name:"typography",id:"collapse-item-typography"}},[n("span",{staticClass:"accordion-title",attrs:{slot:"title"},slot:"title"},[n("span",{staticClass:"title-text"},[e._v(e._s(e.$t("dictWD.stylesManagement.typography")))])]),e._v(" "),n("header-styles",{ref:"headers",attrs:{id:"header-styles"}})],1),e._v(" "),n("collapse-item",{attrs:{name:"buttons",id:"collapse-item-buttons"}},[n("span",{staticClass:"accordion-title",attrs:{slot:"title"},slot:"title"},[n("span",{staticClass:"title-text"},[e._v(e._s(e.$t("dictWD.buttons")))])]),e._v(" "),n("div",{staticClass:"color-row"},[e._l(e.buttonsList,function(t,r){return n("div",{ref:"libraryButtons",refInFor:!0,staticClass:"library-button",attrs:{index:r}},[n("div",{staticClass:"hnr-page"},[n("div",{staticClass:"library-button-viewport"},[n("div",{staticClass:"library-button-scaleWrapper"},[n("button",{staticClass:"button-preview widget-button",class:t,attrs:{id:t,"widget-type":"button"},on:{click:function(t){return e.editButton(r)}}},[n("p",{staticClass:"content-editable button-text text-left"},[e._v(e._s(t))])])])])]),e._v(" "),n("div",{staticClass:"library-button-tras
2hWrapper"},[r>1?n("button",{staticClass:"library-button-trashIcon",on:{click:function(n){return n.stopPropagation(),e.deleteButton(t)}}},[n("svg",[n("use",{attrs:{"xlink:href":"#trash2_trash"}})])]):e._e()])])}),e._v(" "),n("div",{staticClass:"library-button"},[n("bwe-ghost-button",{attrs:{text:e.$tc("dictWD.addNewButton"),prependIconName:"mdi-plus-circle-outline"},on:{click:e.addNewCustomButton}}),e._v(" "),n("div",{staticClass:"library-button-trashWrapper"})],1)],2)]),e._v(" "),n("collapse-item",{attrs:{name:"canvasSettings",id:"collapse-item-canvas-settings"}},[n("span",{staticClass:"accordion-title",attrs:{slot:"title"},slot:"title"},[n("span",{staticClass:"title-text"},[e._v(e._s(e.$t("dictWD.stylesManagement.canvasSettings")))])]),e._v(" "),n("canvas-settings")],1)],1)],1)},n=[];t._withStripped=!0,e.exports=function(e){var r="function"==typeof e?e.options:e;return r.render=t,r.staticRenderFns=n,e}},828045:(e,t,n)=>{"use strict";n.d(t,{E:()=>a});var r=n(624537);class a extends r.l{static getClassName(){return"EnumTextAligment"}}a.LEFT="left",a.CENTER="center",a.RIGHT="right",a.JUSTIFY="justify"},858148:(e,t,n)=>{"use strict";n.d(t,{m:()=>l});var r=n(706411),a=n.n(r),i=n(333783),o=n(76683),s=n(465779);const l=new class{constructor(){i.B.onInstance(o.v.EDITOR.DISABLE_SHORTCUT_MANAGER,this,e=>{e?this.disable():this.enable()})}enable(e=null){null!==e?a().bind(e.keysValue,e.action):s.E.forEach(e=>a().bind(e.keysValue,e.action))}disable(){a().reset()}disenable(e=null){a().unbind(e.keysValue)}}},914248:e=>{var t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"widget-rotate"},[n("div",{staticClass:"widget-rotate-knob",on:{mousedown:e.onMouseDown}},[n("div",{staticClass:"rotate-container",style:{transform:"rotate("+e.currentRotation+"deg)"}},[n("svg",{attrs:{id:"outerCircle"}},[n("use",{attrs:{"xlink:href":"#rotation-outer_outer"}})]),e._v(" "),n("div",{staticClass:"widget-rotate-indicator"}),e._v(" "),n("svg",{attrs:{id:"innerCircle"}},[n("use",{attrs:{"xlink:href":"#rotation-inner_inner"}})])])]),e._v(" "),n("div",{staticClass:"widget-rotate-angle"},[n("label-with-tooltip",{attrs:{translatedLabel:e.$tc("angle"),isStyleAvaibleToReset:!1,infoIcon:!1}}),e._v(" "),n("input-unit-number",{attrs:{value:e.currentRotation,numberSufix:"&deg;",min:0,max:360,numberType:e.EnumNumberType.FLOAT},on:{input:e.inputAngle,initChange:e.initChange,flushChange:e.flushChange}})],1)])},n=[];t._withStripped=!0,e.exports=function(e){var r="function"==typeof e?e.options:e;return r.render=t,r.staticRenderFns=n,e}},967266:(e,t,n)=>{"use strict";n.d(t,{v:()=>k});n(584618);var r=n(335744),a=n(309273),i=n(535814),o=n(23297),s=n(858148),l=n(512897),c=n.n(l),d=n(55042),u=n.n(d),h=new(c())({id:"rotation-inner",use:"rotation-inner-usage",content:'<symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="rotation-inner">\n\t<symbol id="rotation-inner_inner" width="10" height="10" viewBox="0 0 10 10" fill="none">\n\t\t<circle cx="5" cy="5" r="4" stroke="#737781" stroke-width="2" />\n\t</symbol>\n</symbol>'});u().add(h);const f=h;var p=new(c())({id:"rotation-outer",use:"rotation-outer-usage",content:'<symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="rotation-outer">\n\t<symbol id="rotation-outer_outer" width="12" height="12" viewBox="0 0 12 12" fill="none">\n\t\t<circle cx="6" cy="6" r="4.5" stroke="#F7F7FA" fill="none" stroke-width="3" />\n\t</symbol>\n</symbol>'});u().add(p);const g=p;var m,y=n(574022),v=n(118657),b=n(241558),C=n(436599),w=n(871528),T=n(914248),S=n.n(T),E=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},A=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};let k=class extends((0,C.vE)(b.a)){constructor(){super(...arguments),this.CORDINATE_TRANSLATION=30,this.ROTATE_THROTTLE_TIME=70,this.activeMouseMove=!1,this.currentPosition=new o.A,this.dimension=null,this.onMouseMove=(0,y.A)(this.onMouseMoveThrottle,this.ROTATE_THROTTLE_TIME)}
2addMouseListener(){this.activeMouseMove?(this.initChange(),s.m.disable(),window.addEventListener("mousemove",this.onMouseMove,{passive:!0}),window.addEventListener("mouseup",this.onMouseUp)):(this.flushChange(),s.m.enable(),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp))}beforeDestroy(){this.detachEventListeners()}detachEventListeners(){window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp)}onMouseUp(){this.activeMouseMove=!1}onMouseDown(){this.activeMouseMove=!0}onMouseMoveThrottle(e){if(!this.activeMouseMove)return;const t=this.$el.getBoundingClientRect();this.setPointOutput(r.c.positionToDegree(e.pageX-window.scrollX-t.left-this.CORDINATE_TRANSLATION,t.top+window.scrollY+this.CORDINATE_TRANSLATION-e.pageY))}degreeToPos(e){const t=e*Math.PI/180;return this.currentPosition.x=Math.round(100*Math.sin(t))/100,this.currentPosition.y=Math.round(100*Math.cos(-t))/100,this.currentPosition}setPointOutput(e){this.$emit("input",this.degreeToPos(e))}get pointInput(){return this.value instanceof o.A}get currentRotation(){return r.c.positionToDegree(this.value.x,this.value.y)}inputAngle(e){this.setPointOutput(e)}get EnumNumberType(){return a.X}get Icons(){return{Inner:f,Outer:g}}};E([(0,v.kv)({required:!0}),A("design:type","function"==typeof(m=void 0!==o.A&&o.A)?m:Object)],k.prototype,"value",void 0),E([(0,v.ox)("activeMouseMove"),A("design:type",Function),A("design:paramtypes",[]),A("design:returntype",void 0)],k.prototype,"addMouseListener",null),k=E([S(),(0,v.uA)({components:{InputUnitNumber:i.y,LabelWithTooltip:w.o}})],k)}}]);
3//# sourceMappingURL=https://bowwe.preprod/static/build/6494.ace86e9763be29d721dd.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.