HEX
Server: Apache
System: Linux ecngx285.inmotionhosting.com 4.18.0-553.79.1.lve.el8.x86_64 #1 SMP Wed Oct 15 17:59:35 UTC 2025 x86_64
User: zeusxp5 (3862)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /home/zeusxp5/tour.kamille.us/wp-content/themes/solace/assets/js/build/all/customizer-preview.js
(()=>{let i="nv-focus-trap-start",n="nv-focus-trap-end",r=(e,o,i)=>{(e instanceof NodeList?e:[e]).forEach(t=>t.addEventListener(o,e=>i(e,t)))},a=(e,t)=>{o(e,t,"toggle")},x=(e,t)=>{o(e,t,"add")},$=(e,t)=>{o(e,t,"remove")},o=(e,t,o)=>{let i=t.split(" ");(e instanceof NodeList?e:[e]).forEach(e=>e.classList[o].apply(e.classList,i))},s=["dropdown-open","active","nav-clickaway-overlay"],t=()=>{l(),document.addEventListener("click",function(e){e.target.hash&&e.target.hash.includes("#")&&window.HFG.toggleMenuSidebar(!1)}),e(),p(),h(),window.HFG.initSearch=function(){p(),e()}},l=()=>{let r=SolaceProperties.isRTL;var e=document.querySelectorAll(".sub-menu, .minimal .nv-nav-search")||[];if(0!==e.length){let i=window.innerWidth;e.forEach(e=>{var t=e.getBoundingClientRect(),o=t.left;o<0&&(e.style.right=r?"-100%":"auto",e.style.left=r?"auto":0),o+t.width>=i&&(e.style.right=r?0:"100%",e.style.left="auto")}),"undefined"!=typeof menuCalcEvent&&window.dispatchEvent(menuCalcEvent)}};function e(){var e=document.querySelectorAll(".caret-wrap");r(e,"click",c)}function c(e,t){e.preventDefault(),e.stopPropagation();e=t.parentNode.parentNode.querySelector(".sub-menu");a(t,s[0]),a(e,s[0]),m(document.querySelectorAll("."+s[0]),s[0])}let d={};function u(e){var t=d.elements||function(e){return e=0<arguments.length&&void 0!==e?e:document,d.elements=[...e.querySelectorAll('a[href], button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')].filter(e=>!e.hasAttribute("disabled")&&!e.getAttribute("aria-hidden")),d.elements}(d.container),o=9===e.keyCode,i=e.shiftKey,r=document.activeElement,a=t[t.length-1],t=t[0];27===e.keyCode&&(e.preventDefault(),d.container.querySelector(d.close).click(),d.backFocus.focus(),document.dispatchEvent(new CustomEvent(n))),!i&&o&&a===r&&(e.preventDefault(),t.focus()),i&&o&&t===r&&(e.preventDefault(),a.focus()),o&&t===a&&e.preventDefault()}function p(){let e=document.querySelectorAll(".nv-nav-search")||[],t=document.querySelectorAll(".menu-item-nav-search")||[],o=document.querySelectorAll(".close-responsive-search")||[];r(t,"click",(e,t)=>{e.preventDefault(),e.stopPropagation();e=document.querySelector(".solace-nav-search");a(e,s[1]),m(t,s[1]),document.dispatchEvent(new CustomEvent(i,{detail:{container:t.querySelector(".nv-nav-search"),close:".close-responsive-search",firstFocus:".search-field",backFocus:t}}))}),r(e,"click",e=>{e.stopPropagation()}),r(o,"click",e=>{e.preventDefault(),$(t,s[1]);e=document.querySelector("."+s[2]);null!==e&&e.parentNode.removeChild(e)})}function h(){var e,t=document.querySelector(".header--row .menu-item-nav-cart");null!==t&&null!==(e=t.querySelector(".nv-nav-cart:not(.cart-off-canvas)"))&&(e.style.left=t.getBoundingClientRect().left<350?0:null)}function m(e,t){let o=document.querySelector("."+s[2]);null!==o&&o.parentNode.removeChild(o),o=document.createElement("div"),x(o,s[2]);var i=document.querySelector("header.header");i.parentNode.insertBefore(o,i),o.addEventListener("click",()=>{$(e,t),o.parentNode.removeChild(o)})}document.addEventListener(i,function(e){d=e.detail,setTimeout(()=>{d.container.querySelector(d.firstFocus).focus()},100),document.addEventListener("keydown",u)}),document.addEventListener(n,function(){d={},document.removeEventListener("keydown",u)}),window.addEventListener("resize",h);let f=e=>e.indexOf(",")<0?v(e):e.split(",").map(e=>v(e)).join(","),v=e=>(e=e.trim()).indexOf(" ")<0?e:`"${e}"`,S=["top","right","bottom","left"],b=["mobile","tablet","desktop"],g={mobile:!1,tablet:"min-width: 576px",desktop:"min-width: 961px"};class w{run(e,t,o,i){var{selector:i,vars:r,responsive:a=!1,suffix:n="",fallback:s="inherit",dispatchWindowResize:l=!1,valueRemap:c}=i;if(!i||!r)return!1;this.id=e,this.settingType=t,this.value=o,this.vars=r,this.selector="html "+i,this.suffix=n,this.responsive=a,this.fallback=s,this.timeout=null,this.valueRemap=c;t=this.getStyle();k(e,t),l&&(clearTimeout(this.timeout),this.timeout=setTimeout(()=>{window.dispatchEvent(new Event("resize"))},200))}getStyle(){var{vars:e,responsive:t}=this;if("backgroundControl"===e)return this.getBackgroundControlVars();if(this.isDirectionalValue(this.value))return this.getDirectionalNonResponsive();if(t)return this.getResponsiveVarCSS(this.selector,e,this.value,this.suffix,this.fallback);if(Array.isArray(e)){let t="";return e.forEach(e=>{this.vars=e,t+=this.getStringVarCSS()}),t}switch(typeof e){case"string":return this.getStringVarCSS();case"object":return this.getComposedVarCSS()}}getBackgroundControlVars(){var{value:t,selector:e}=this,{type:t,imageUrl:o,focusPoint:i,colorValue:r,toggleElementor:a,colorValueElementor:n,overlayColorValue:s,overlayOpacity:l,useFeatured:c,fixed:d}=t,u={"--bgimage":"unset","--overlaycolor":"unset","--bgoverlayopacity":"unset","--bgattachment":"unset","--bgposition":"unset","--colorValueElementor":"unset"};if("color"===t)u["--bgcolor"]=r,u["--bgcolorelementor"]=r,a&&(u["--bgcolorelementor"]=n);else{t=window.solaceCustomizePreview.currentFeaturedImage;let e=o;var r=""!==(e=c?t||o:e),{x:a,y:n}=i,c=`${(100*a).toFixed(0)}% ${(100*n).toFixed(0)}%`;u["--bgimage"]=r?`url("${e}")`:"none",u["--overlaycolor"]=s||"transparent",u["--bgoverlayopacity"]=""+l/100,u["--bgattachment"]=d?"fixed":"unset",u["--bgposition"]=c}return e+`{${Object.entries(u).map(e=>{var[e,t]=e;return e+":"+t}).join(";")}}`}getDirectionalNonResponsive(){var{selector:e,value:t,vars:o,suffix:i}=this,t=this.maybeParseJson(t);let r=i||"";return void 0!==t.unit&&(r=t.unit),e+`{${o}:${this.parseDirectionalValue(t,r)};}`}getResponsiveVarCSS(a,n,e,s,l){let c=this.maybeParseJson(e);if(void 0===c)return"";let d="";return b.forEach(e=>{let t=!1,o=s,i=(void 0!==c[e+"-unit"]&&(o=c[e+"-unit"]),c.suffix&&c.suffix[e]&&(o=c.suffix[e]),c[e]||(t=!0),c[e]),r=(i=t?l:this.parseDirectionalValue(i,o),"");"string"==typeof n&&(r=`${n}:${i};`),Array.isArray(n)&&n.forEach(e=>{let t=i;this.valueRemap&&this.valueRemap[e]&&this.valueRemap[e][i]&&(t=this.valueRemap[e][i]),r+=`${e}:${t};`}),g[e]&&(d+=`@media(${g[e]}) {`),d=(d+=a+"{")+r+"}",g[e]&&(d+="}")}),d}getStringVarCSS(){var{selector:e,vars:t,value:o,suffix:i,fallback:r,validateSuffix:a,settingType:n,valueRemap:s}=this;return o?"\\Solace\\Customizer\\Controls\\React\\Font_Family"===n?`${e} {${t}:${f(o)};}`:s?`${e} {${t}:${s[t][o]}${a(i)};}`:`${e} {${t}:${o}${a(i)};}`:e+` {${t}:${r};}`}getComposedVarCSS(){let{selector:l,vars:c,settingType:e,value:d,suffix:u,fallback:p}=this,h=this.isButtonSetting(e),m="";return Object.keys(c).forEach(t=>{let e=u,o=c[t];if("object"==typeof o){if(o.suffix&&(e=o.suffix),o.responsive)return m+=this.getResponsiveVarCSS(l,t,d[o.key],e,p),!1;o=o.key}m+=l+" {";let i=d[o]||null;if(h&&(t.toLowerCase().includes("btnshadow")||t.toLowerCase().includes("btnhovershadow"))){let e="none";var r,a,n,s;d.useShadow&&!0===d.useShadow&&t.toLowerCase().includes("btnshadow")&&(s=d.shadowColor||"rgba(0,0,0,0.5)",n=d.shadowProperties&&d.shadowProperties.blur?d.shadowProperties.blur:5,r=d.shadowProperties&&d.shadowProperties.width?d.shadowProperties.width:0,a=d.shadowProperties&&d.shadowProperties.height?d.shadowProperties.height:0,e=r+`px ${a}px ${n}px `+s),d.useShadowHover&&!0===d.useShadowHover&&t.toLowerCase().includes("btnhovershadow")&&(r=d.shadowColorHover||"rgba(0,0,0,0.5)",a=d.shadowPropertiesHover&&d.shadowPropertiesHover.blur?d.shadowPropertiesHover.blur:5,n=d.shadowPropertiesHover&&d.shadowPropertiesHover.width?d.shadowPropertiesHover.width:0,s=d.shadowPropertiesHover&&d.shadowPropertiesHover.height?d.shadowPropertiesHover.height:0,e=n+`px ${s}px ${a}px `+r),void(m=m+`${t}: ${e};`+"}")}else m=t.toLowerCase().includes("borderwidth")&&h&&"outline"!==d.type?m+(t+": 0;")+"}":(i=i?this.parseDirectionalValue(i,e):p,m+`${t}:${i};`+"}")}),m}isButtonSetting(e){return["\\Solace\\Customizer\\Controls\\React\\Button_Appearance","solace_button_appearance"].includes(e)}parseDirectionalValue(t,o){if("object"!=typeof t)return t+this.validateSuffix(o);if(!this.isDirectionalValue(t))return t;let i="";return S.forEach(e=>{0===t[e]||t[e]?i+=""+t[e]+this.validateSuffix(o)+" ":i+=this.fallback?this.fallback+" ":"0 "}),i=i.trim()}isDirectionalValue(e){return void 0!==e.top&&void 0!==e.right&&void 0!==e.bottom&&void 0!==e.left}maybeParseJson(t){if("string"!=typeof t)return t;try{JSON.parse(t)}catch(e){return t}return JSON.parse(t)}validateSuffix(e){return["px","em","rem","%","vh","vw"].includes(e)?e:""}}let k=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";let o=document.querySelector("#"+e+"-css-style");o||((o=document.createElement("style")).setAttribute("id",e+"-css-style"),o.setAttribute("type","text/css"),document.querySelector("head").appendChild(o)),o.innerHTML=t};var y,C,z,P=window.solaceCustomizePreview.newSkin;wp.customize.bind("preview-ready",function(){wp.customize.preview.bind("font-selection",function(t){if(t&&t.type&&t.controlId&&solaceCustomizePreview[t.type]&&solaceCustomizePreview[t.type][t.controlId]){var o=solaceCustomizePreview[t.type][t.controlId];let e=o.selector;var i,r=t.source,a=t.controlId+"_font_family",{additional:a=!1}=("google"===r.toLowerCase()&&(r=document.querySelector("#"+a),i="//fonts.googleapis.com/css?family="+t.value.replace(" ","+")+'%3A100%2C200%2C300%2C400%2C500%2C600%2C700%2C800&display=swap"',null!==r?r.setAttribute("href",i):((r=document.createElement("link")).setAttribute("rel","stylesheet"),r.setAttribute("id",a),r.setAttribute("href",i),r.setAttribute("type","text/css"),r.setAttribute("media","all"),document.querySelector("head").appendChild(r))),o);return!1!==a&&void 0!==a.cssVar&&solaceCustomizePreview.newSkin?!1:(i=t.inherit?"inherit":'-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif',e=(e=e.split(",")).map(function(e){return"html "+e}).join(","),!1===t.value?(k(t.controlId,e+"{font-family: "+i+";}"),!1):(r=f(t.value),void k(t.controlId,e+"{font-family: "+r+" ;}")))}console.warn("Font selection data missing or invalid:",t,solaceCustomizePreview[t?.type])})}),window.addEventListener("load",function(){document.addEventListener("header_builder_panel_changed",function(e){return"hfg_header_layout_partial"===e.detail.partial_id?(window.HFG.init(),window.HFG.initSearch(),l(),!1):"primary-menu_partial"===e.detail.partial_id?(t(),l(),!1):void 0}),document.addEventListener("customize_control_sidebar",function(e){"open"===e.detail&&window.HFG.toggleMenuSidebar(!0),"close"===e.detail&&window.HFG.toggleMenuSidebar(!1)}.bind(this)),document.addEventListener("customize_section_opened",function(e){"header_sidebar"===e.detail&&window.HFG.toggleMenuSidebar(!0)}.bind(this));let C={mobile:"max-width: 576px",tablet:"min-width: 576px",desktop:"min-width: 961px"},o=new w;_.each(solaceCustomizePreview,function(e,t){_.each(e,function(w,y){wp.customize(y,function(e){e.bind(function(n){if(solaceCustomizePreview.newSkin&&w.additional&&w.additional.cssVar)return o.run(y,t,n,w.additional.cssVar),!1;if(w.additional&&w.additional.template)return((e,r,a)=>{var n={mobile:"max-width: 576px",tablet:"min-width: 576px",desktop:"min-width: 960px"};let s="";if(a.directional){if(a.responsive)for(var t in n){let o=a.template,i=r[t+"-unit"];_.each(r[t],function(e,t){t=new RegExp(`{{value.${t}}}`,"g");o=o.replace(t,e+i)}),s+=`@media (${n[t]}) {${o}}`}else s=a.template,_.each(S,function(e){var t=new RegExp(`{{value.${e}}}`,"g");s=s.replace(t,r[e]+r.unit)});return k(e,s)}var o,i=new RegExp("{{value}}","g");if(a.responsive){var l,c=a.template,d=JSON.parse(r);for(l in n){let e="",t=e=a.suffix?a.suffix[l]:e;d[l+"-unit"]&&(t=d[l+"-unit"]),d.suffix&&d.suffix[l]&&(t=d.suffix[l]),0===d[l]||"0"===d[l]?s+=`@media (${n[l]}) {${c.replace(i,"0"+t)}}`:s+=`@media (${n[l]}) {${c.replace(i,d[l]+t||"inherit")}}`}}else 0===r||"0"===r?s+=a.template.replace(i,"0"):(o=r||a.fallback||"inherit",s+=a.template.replace(i,o.toString()));k(e,s)})(y,n,w.additional),!1;let s="";switch(t){case"solace_color_control":if(w.additional.partial)return wp.customize.selectiveRefresh.partial(w.additional.partial).refresh(),!1;_.each(w.additional,e=>{if(!e.selector)return!1;n=n||e.fallback,s+=`body ${e.selector} {
                  ${e.prop}: ${n} !important;
                }`}),k(y,s);break;case"solace_background_control":if("color"===n.type)return!n.colorValue&&w.additional.partial&&wp.customize.selectiveRefresh.partial(w.additional.partial).refresh(),s+=`body ${w.selector}{background-image: none !important;}`,e="undefined"!==n.colorValue?n.colorValue:"inherit",s=(s=(s+=w.selector+":before{ content: none !important;}")+`body ${w.selector}, body ${w.selector} .primary-menu-ul .sub-menu {background-color: ${e}!important;}`)+w.selector+` .primary-menu-ul .sub-menu, ${w.selector} .primary-menu-ul .sub-menu li {border-color: ${e}!important;}`,k(y,s),!1;n.useFeatured&&solaceCustomizePreview.currentFeaturedImage&&(n.imageUrl=solaceCustomizePreview.currentFeaturedImage),s=(s=(s+=w.selector+"{")+(n.imageUrl?`background-image: url("${n.imageUrl}") !important;`:"background-image: none !important;"))+(!0===n.fixed?"background-attachment: fixed !important;":"background-attachment: initial !important;"),n.focusPoint&&n.focusPoint.x&&n.focusPoint.y&&(s+="background-position:"+(100*n.focusPoint.x).toFixed(2)+"% "+(100*n.focusPoint.y).toFixed(2)+"% !important;"),s+="background-size: cover !important;",document.querySelector(".header-menu-sidebar").classList.contains("dropdown")||(s+=solaceCustomizePreview.newBuilder?"":"position: absolute;"),s=s+'top: 0; bottom: 0; width: 100%; content:"";'+"}";var e=n.overlayColorValue||"unset",l=0===n.overlayOpacity?0:n.overlayOpacity||50;s=(s=(s=(s+=`body ${w.selector}, body ${w.selector} .primary-menu-ul .sub-menu {background-color: ${e}!important;}`)+(w.selector+` .primary-menu-ul .sub-menu, ${w.selector} .primary-menu-ul .sub-menu li {border-color: ${e}!important;}`))+(w.selector+':before { content: "";position: absolute; top: 0; bottom: 0; width: 100%;'+`background-color: ${e}!important;`+"opacity: "+l/100+"!important;}"))+(w.selector+"{ background-color: transparent !important; }"),k(y,s);break;case"\\Solace\\Customizer\\Controls\\React\\Responsive_Radio_Buttons":var c=w,d=n;if(c.additional){e=document.querySelectorAll(c.selector);let t=[];Object.keys(d).map(e=>(t.push(e+"-"+d[e]),e)),_.each(e,function(e){e.parentNode.classList.remove(...c.additional.remove_classes),e.parentNode.classList.add(...t)})}break;case"\\Solace\\Customizer\\Controls\\React\\Featured_Image":var u=w,p=n;if(u.additional){l=document.querySelectorAll(u.selector);let t=[];Object.keys(p).map(e=>(t.push(e+"-"+p[e]),e)),_.each(l,function(e){e.parentNode.classList.remove(...u.additional.remove_classes),e.parentNode.classList.add(...t)})}break;case"\\Solace\\Customizer\\Controls\\React\\Radio_Buttons":if(!w.additional)return!1;let t="hfg-item-v-"+n;var h=document.querySelectorAll(w.selector);_.each(h,function(e){e=(solaceCustomizePreview.newBuilder?e.parentNode:e).parentNode;$(e,"hfg-item-v-top hfg-item-v-middle hfg-item-v-bottom"),x(e,t)});break;case"\\Solace\\Customizer\\Controls\\Radio_Image":break;case"\\Solace\\Customizer\\Controls\\Range":case"\\Solace\\Customizer\\Controls\\React\\Responsive_Range":h=JSON.parse(n);0<h.mobile?s+="@media (max-width: 576px) { body "+w.selector+"{ "+w.additional.prop+":"+h.mobile+w.additional.unit+";}}":s+="@media (max-width: 576px) { body "+w.selector+"{ "+w.additional.prop+":unset;}}",s=(s+=0<h.tablet?"@media (min-width: 576px) { body "+w.selector+"{ "+w.additional.prop+":"+h.tablet+w.additional.unit+";}}":"@media (min-width: 576px) { body "+w.selector+"{ "+w.additional.prop+":unset;}}")+(0<h.desktop?"@media (min-width: 961px) { body "+w.selector+"{ "+w.additional.prop+":"+h.desktop+w.additional.unit+";}}":"@media (min-width: 961px) { body "+w.selector+"{ "+w.additional.prop+":unset;}}"),k(y,s);break;case"\\Solace\\Customizer\\Controls\\React\\Spacing":for(var m in C){for(var f in s+="@media ("+C[m]+") { body "+w.selector+"{",n[m])if(""!==n[m][f]){let e=w.additional.prop+"-"+f;"border-width"===w.additional.prop&&(e=`border-${f}-width`),"border-radius"===w.additional.prop&&(e=`border-${{top:"top-left",right:"top-right",bottom:"bottom-right",left:"bottom-left"}[f]}-radius`),s+=e+":"+n[m][f]+n[m+"-unit"]+";"}else s+=w.additional.prop+"-"+f+": unset;";s+="}}"}k(y,s);break;case"\\Solace\\Customizer\\Controls\\React\\Typography":for(var v in s+=`html ${w.selector}{`,n.textTransform&&(s+=`text-transform: ${n.textTransform};`),n.fontWeight&&"none"!==n.fontWeight&&(s+=`font-weight: ${n.fontWeight};`),s+="}",C)s+=`@media (${C[v]}) {
											html ${w.selector} {`,w.live_refresh_default&&w.live_refresh_default.size&&(s+=`font-size:${w.live_refresh_default.size[v]}${w.live_refresh_default.size.suffix[v]};`),n.fontSize&&n.fontSize[v]&&(s+=`font-size:${n.fontSize[v]}${n.fontSize.suffix[v]};`),w.live_refresh_default&&w.live_refresh_default.letter_spacing&&(s+=`letter-spacing:${w.live_refresh_default.letter_spacing[v]}px;`),n.letterSpacing&&n.letterSpacing[v]&&(s+=`letter-spacing:${n.letterSpacing[v]}px;`),w.live_refresh_default&&w.live_refresh_default.line_height&&(s+=`line-height:${w.live_refresh_default.line_height[v]}${w.live_refresh_default.line_height.suffix&&w.live_refresh_default.line_height.suffix[v]?w.live_refresh_default.line_height.suffix[v]:""};`),n.lineHeight&&n.lineHeight[v]&&(s+=`line-height:${n.lineHeight[v]}${n.lineHeight.suffix[v]||""};`),s+="}}";k(y,s);break;case"\\Solace\\Customizer\\Controls\\React\\Button_Appearance":var h=n.background||"unset",b=n.text||"currentColor",g=n.text||"";let o="html "+w.selector,i=`html ${w.selector} .icon-bar`;w.additional&&w.additional.additional_buttons&&_.each(w.additional.additional_buttons,e=>{o+=",html "+e.button,i+=",html "+e.button+" "+e.text}),s+=o+` {
										background-color: ${h};
										color: ${b};`,"object"!=typeof n.borderRadius?s+=`border-radius: ${n.borderRadius}px;`:s+=`
                border-top-left-radius: ${n.borderRadius.top}px;
                border-top-right-radius: ${n.borderRadius.right}px;
                border-bottom-right-radius: ${n.borderRadius.bottom}px;
                border-bottom-left-radius: ${n.borderRadius.left}px;
                `,"outline"===n.type&&("object"!=typeof n.borderWidth?s+=`border: ${n.borderWidth}px solid ${g};`:s+=`
                  border-style: solid;
                  border-color: ${g};
                  border-top-width: ${n.borderWidth.top}px;
                  border-right-width: ${n.borderWidth.right}px;
                  border-bottom-width: ${n.borderWidth.bottom}px;
                  border-left-width: ${n.borderWidth.left}px;
                  `),"fill"===n.type&&(s+="border: none;"),s=(s+="}")+(i+` {
										background-color: ${b};
										color: ${b};
									}`),k(y,s);break;case"text":h=document.querySelector(w.selector);if(""===n)return h.parentNode.removeChild(h),!1;null===h&&((g=document.createElement(w.additional.html_tag)).classList.add(w.additional.wrap_class),document.querySelector(w.additional.parent).prepend(g)),document.querySelector(w.selector).innerHTML=n;break;case"solace_range_control":case"Solace\\Customizer\\Controls\\React\\Range":if("svg-icon-size"===w.additional.type)return s+=`html ${w.selector} {
											width: ${n}px;
											height: ${n}px;
										}`,k(y,s),!1;s+=`html ${w.selector} {
											${w.additional.type}: ${n}px;
										}`,k(y,s);break;case"\\Solace\\Customizer\\Controls\\React\\Color":b=""===n?"unset":n;s+=`html ${w.selector} {
										${w.additional.prop}: ${b};
									}`,k(y,s);break;case"\\Solace\\Customizer\\Controls\\React\\Font_Family":break;case"Solace\\Customizer\\Controls\\React\\Global_Colors":var h=document.querySelector("#nv-css-vars-inline-css"),{palettes:g,activePalette:b}=n;let r=g[b].colors,a=":root{";Object.keys(r).map(e=>(a+=`--${e}:${r[e]};`,"undefined"!=typeof elementorFrontend&&(a+=`--e-global-color-${e.replaceAll("-","")}:${r[e]};`),!1)),a+="}",h.innerHTML=a}})})})}),wp.customize("background_image",function(e){e.bind(function(e){e||document.querySelector("body").classList.remove("custom-background")})})}),(y=jQuery).solaceCustomizeUtilities={setLiveCss(r,e){let a="";if("object"!=typeof e)return y(r.selectors).css(r.cssProperty,e.toString()+r.propertyUnit),!1;y.each(e,function(e,t){if("suffix"===e)return!0;let o=r.propertyUnit;"object"==typeof r.propertyUnit&&(o=r.propertyUnit[e]);var i=r.selectors+"{ "+r.cssProperty+":"+t+o+"}";switch(e){default:case"mobile":a+=i;break;case"desktop":a+="@media(min-width: 960px) {"+i+"}";break;case"tablet":a+="@media (min-width: 576px){"+i+"}"}});e=y("."+r.styleClass);0<e.length?e.text(a):y("head").append('<style type="text/css" class="'+r.styleClass+'">'+a+"</style>")}},(C=jQuery).solaceRangesPreview={init(){this.rangesPreview()},ranges:{solace_container_width:{selector:".container",cssProp:"max-width",unit:"px",styleClass:"container-width-css"}},rangesPreview(){_.each(this.ranges,function(o,e){wp.customize(e,function(e){e.bind(function(e){e=JSON.parse(e);if(!e)return!0;"object"==typeof e.suffix&&(o.unit=e.suffix);var t={selectors:o.selector,cssProperty:o.cssProp,propertyUnit:o.unit||"",styleClass:o.styleClass};C.solaceCustomizeUtilities.setLiveCss(t,e)})})})}},P||jQuery.solaceRangesPreview.init();let R={},L={};window.solaceCustomizePreview&&window.solaceCustomizePreview.dynamicContentWidths&&(R=window.solaceCustomizePreview.dynamicContentWidths),window.solaceCustomizePreview&&window.solaceCustomizePreview.dynamicContentContainers&&(L=window.solaceCustomizePreview.dynamicContentContainers),(z=jQuery).solaceLayoutPreview={init(){this.contentWidthsPreview(),this.containersLivePreview()},contentWidths:{solace_sitewide_content_width:{content:".solace-main > .container .col",sidebar:".nv-sidebar-wrap"},solace_blog_archive_content_width:{content:".archive-container .nv-index-posts",sidebar:".archive-container .nv-sidebar-wrap"},solace_single_post_content_width:{content:".single-post-container .nv-single-post-wrap",sidebar:".single-post-container .nv-sidebar-wrap"},solace_shop_archive_content_width:{content:".archive.woocommerce .shop-container .nv-shop.col",sidebar:".archive.woocommerce .shop-container .nv-sidebar-wrap"},solace_single_product_content_width:{content:".single-product .shop-container .nv-shop.col",sidebar:".single-product .shop-container .nv-sidebar-wrap"},solace_other_pages_content_width:{content:"body:not(.single):not(.archive):not(.blog):not(.search):not(.error404) .solace-main > .container .col, body.post-type-archive-course .solace-main > .container .col, body.post-type-archive-llms_membership .solace-main > .container .col",sidebar:"body:not(.single):not(.archive):not(.blog):not(.search):not(.error404) .nv-sidebar-wrap, body.post-type-archive-course .nv-sidebar-wrap, body.post-type-archive-llms_membership .nv-sidebar-wrap"},...R},contentWidthsPreview(){let s=this;z.each(this.contentWidths,function(a,n){wp.customize(a,function(e){e.bind(function(e){var t,o=z(s.contentWidths[a].sidebar);let i=!1,r=(!1===(i="solace_shop_archive_content_width"===a&&(t=wp.customize("solace_shop_archive_sidebar_layout").get(),"no"===solaceCustomizePreview.shopHasMetaSidebar)&&"off-canvas"===t?!0:i)&&95<=e?o.addClass("hide"):o.removeClass("hide"),` @media (min-width: 961px) {
							${n.content} { max-width: ${e}% !important; }`);!1===i&&(r+=n.sidebar+` { max-width: ${100-e}% !important; }`),r+="}",k(a+"-css",r)})})})},containersLayoutMap:{solace_default_container_style:".page:not(.woocommerce) .single-page-container",solace_blog_archive_container_style:".archive-container",solace_single_post_container_style:".single-post-container",solace_shop_archive_container_style:".woocommerce-page.post-type-archive .solace-main > div",solace_single_product_container_style:".single-product .solace-main > div",...L},containersLivePreview(){z.each(this.containersLayoutMap,function(e,t){t+=":not(.set-in-metabox)",wp.customize(e,function(e){e.bind(function(e){if("contained"===e)return z(t).removeClass("container-fluid").addClass("container"),!1;z(t).removeClass("container").addClass("container-fluid")})})})}},wp.customize("hfg_header_layout_top_background",function(e){e.bind(function(e){e.imageUrl&&z(".header-top").css("background-color","transparent")})}),wp.customize("hfg_header_layout_main_background",function(e){e.bind(function(e){e.imageUrl&&z(".header-main").css("background-color","transparent")})}),wp.customize("hfg_header_layout_bottom_background",function(e){e.bind(function(e){e.imageUrl&&z(".header-bottom").css("background-color","transparent")})}),wp.customize("hfg_footer_layout_top_background",function(e){e.bind(function(e){e.imageUrl&&z(".footer-top").css("background-color","transparent")})}),wp.customize("hfg_footer_layout_main_background",function(e){e.bind(function(e){e.imageUrl&&z(".footer-main").css("background-color","transparent")})}),wp.customize("hfg_footer_layout_bottom_background",function(e){e.bind(function(e){e.imageUrl&&z(".footer-bottom").css("background-color","transparent")})}),jQuery.solaceLayoutPreview.init()})();