/home/lnzliplg/www/wp-content/themes/astra/inc/assets/js/minified/block-editor-script.min.js
function blockEditorDynamicStyles(){setTimeout(()=>{var e=document.getElementsByTagName("iframe");if(e?.length){var t,a,o,s,i=(e=>{e=document.getElementById(e);return e?e.cloneNode(!0):null})("astra-google-fonts-css");for(t of e)try{var r=t?.contentWindow?.document||t?.contentDocument;r?.head&&(a=r,s="astra-google-fonts-css",o=i)&&!a.getElementById(s)&&a.head.appendChild(o)}catch{}}},1e3)}function addTitleVisibility(){let s=document.querySelector(".title-visibility"),i=document.querySelector(".edit-post-visual-editor__post-title-wrapper"),r=document,o=void 0!==wp.data.select("core/editor")&&null!==wp.data.select("core/editor")&&void 0!==wp.data.select("core/editor").getEditedPostAttribute("meta")&&wp.data.select("core/editor").getEditedPostAttribute("meta")["site-post-title"]?wp.data.select("core/editor").getEditedPostAttribute("meta")["site-post-title"]:"";if(astraColors.ast_wp_version_higher_6_3){let e=document.getElementsByClassName("is-desktop-preview"),t=document.getElementsByClassName("is-tablet-preview"),a=document.getElementsByClassName("is-mobile-preview"),o=e[0];0<t.length?o=t[0]:0<a.length&&(o=a[0]);var n=void 0!==o?o.getElementsByTagName("iframe")[0]:void 0;n&&null!==o.querySelector("iframe")&&(r=n.contentWindow.document||n.contentDocument),!n&&astraColors.ast_wp_version_higher_6_4&&(n=document.querySelector(".editor-canvas__iframe")||document.querySelector('.block-editor-iframe__scale-container iframe[name="editor-canvas"]'),r=n?n.contentWindow.document:r)&&(s=r.querySelector(".title-visibility"),i=r.querySelector(".edit-post-visual-editor__post-title-wrapper"))}if(null!==i&&null===s){let e='<span class="ast-title title-visibility" data-tooltip="Disable Title"> <svg xmlns="http://www.w3.org/2000/svg" width="0px" viewBox="0 0 576 512"><path d="M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"></path></svg> </span>',t=("disabled"===o&&(e='<span class="ast-title title-visibility" data-tooltip="Enable Title"> <svg xmlns="http://www.w3.org/2000/svg" width="0px" viewBox="0 0 640 512"><path d="M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"></path></svg> </span>'),null===s&&i.insertAdjacentHTML("beforeend",e),r.querySelector(".title-visibility")),a=r.querySelector(".edit-post-visual-editor__post-title-wrapper");a&&("disabled"!==o||a.classList.contains("invisible")?a.classList.remove("invisible"):a.classList.add("invisible"),t.addEventListener("click",function(){var e=o||"";!this.parentNode.classList.contains("invisible")||"disabled"!==e&&""!==e?(this.parentNode.classList.add("invisible"),this.dataset.tooltip="Enable Title",t.innerHTML="",t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="0px" viewBox="0 0 640 512"><path d="M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"></path></svg>',wp.data.dispatch("core/editor").editPost({meta:{"site-post-title":"disabled"}})):(this.parentNode.classList.remove("invisible"),this.dataset.tooltip="Disable Title",t.innerHTML="",t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="0px" viewBox="0 0 576 512"><path d="M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"></path></svg>',wp.data.dispatch("core/editor").editPost({meta:{"site-post-title":""}}))}))}}function siteLogoImageChange(){var e,t;astraColors.mobile_logo_state&&(e=astraColors.mobile_logo,t=document.querySelector(".editor-canvas__iframe")||document.querySelector('.block-editor-iframe__scale-container iframe[name="editor-canvas"]'))&&!t.contentWindow.document.querySelector(".is-desktop-preview")&&(t=(t.contentDocument||t.contentWindow.document).querySelector(".custom-logo"))&&t.setAttribute("src",e)}function astra_onload_function(){var t,e;null!=document.querySelector("#astra_settings_meta_box")&&null!==(t=null===(t=document.getElementById("site-post-title"))?document.querySelector(".site-post-title input"):t)&&t.addEventListener("change",function(){var e=document.querySelector(".editor-post-title__block");null!==e&&(t.checked?e.style.opacity="0.2":e.style.opacity="1.0")}),wp.data.subscribe(function(){setTimeout(function(){var s=document.querySelector(".edit-post-visual-editor__post-title-wrapper"),i=document;if(siteLogoImageChange(),addTitleVisibility(),blockEditorDynamicStyles(),astraColors.ast_wp_version_higher_6_3){let e=document.getElementsByClassName("is-desktop-preview"),t=document.getElementsByClassName("is-tablet-preview"),a=document.getElementsByClassName("is-mobile-preview"),o=e[0];0<t.length?o=t[0]:0<a.length&&(o=a[0]);var r=void 0!==o?o.getElementsByTagName("iframe")[0]:void 0;r&&null!==o.querySelector("iframe")&&(i=r.contentWindow.document||r.contentDocument),!r&&astraColors.ast_wp_version_higher_6_4&&(r=document.querySelector(".editor-canvas__iframe")||document.querySelector('.block-editor-iframe__scale-container iframe[name="editor-canvas"]'))&&(i=r.contentWindow.document),s=i.querySelector(".edit-post-visual-editor__post-title-wrapper")}let e=void 0!==wp.data.select("core/editor")&&null!==wp.data.select("core/editor")&&void 0!==wp.data.select("core/editor").getEditedPostAttribute("meta")&&wp.data.select("core/editor").getEditedPostAttribute("meta")["ast-site-content-layout"]?wp.data.select("core/editor").getEditedPostAttribute("meta")["ast-site-content-layout"]:"default",t=document.querySelector("body");editorBodyClass=!!astraColors.ast_wp_version_higher_6_3&&i.querySelector("html");var a=void 0!==wp.data.select("core/editor")&&null!==wp.data.select("core/editor")&&void 0!==wp.data.select("core/editor").getEditedPostAttribute("meta")&&wp.data.select("core/editor").getEditedPostAttribute("meta")["site-content-style"]?wp.data.select("core/editor").getEditedPostAttribute("meta")["site-content-style"]:"default",r=void 0!==wp.data.select("core/editor")&&null!==wp.data.select("core/editor")&&void 0!==wp.data.select("core/editor").getEditedPostAttribute("meta")&&wp.data.select("core/editor").getEditedPostAttribute("meta")["site-sidebar-style"]?wp.data.select("core/editor").getEditedPostAttribute("meta")["site-sidebar-style"]:"default",o=void 0!==wp.data.select("core/editor")&&null!==wp.data.select("core/editor")&&void 0!==wp.data.select("core/editor").getEditedPostAttribute("meta")&&wp.data.select("core/editor").getEditedPostAttribute("meta")["site-sidebar-layout"]?wp.data.select("core/editor").getEditedPostAttribute("meta")["site-sidebar-layout"]:"default",n=e=>{switch(e){case"plain-container":t.classList.add("ast-plain-container"),t.classList.remove("ast-two-container","ast-page-builder-template","ast-separate-container","ast-narrow-container"),editorBodyClass&&(editorBodyClass.classList.add("ast-plain-container"),editorBodyClass.classList.remove("ast-two-container","ast-page-builder-template","ast-separate-container","ast-narrow-container"));break;case"content-boxed-container":t.classList.add("ast-separate-container"),t.classList.remove("ast-two-container","ast-page-builder-template","ast-plain-container","ast-narrow-container"),editorBodyClass&&(editorBodyClass.classList.add("ast-separate-container"),editorBodyClass.classList.remove("ast-two-container","ast-page-builder-template","ast-plain-container","ast-narrow-container"));break;case"boxed-container":t.classList.add("ast-separate-container","ast-two-container"),t.classList.remove("ast-page-builder-template","ast-plain-container","ast-narrow-container"),editorBodyClass&&(editorBodyClass.classList.add("ast-separate-container","ast-two-container"),editorBodyClass.classList.remove("ast-page-builder-template","ast-plain-container","ast-narrow-container"));break;case"page-builder-template":t.classList.add("ast-page-builder-template"),t.classList.remove("ast-two-container","ast-plain-container","ast-separate-container","ast-narrow-container"),editorBodyClass&&(editorBodyClass.classList.add("ast-page-builder-template"),editorBodyClass.classList.remove("ast-two-container","ast-plain-container","ast-separate-container","ast-narrow-container"));break;case"narrow-container":t.classList.add("ast-narrow-container"),t.classList.remove("ast-two-container","ast-plain-container","ast-separate-container","ast-page-builder-template"),editorBodyClass&&(editorBodyClass.classList.add("ast-narrow-container"),editorBodyClass.classList.remove("ast-two-container","ast-plain-container","ast-separate-container","ast-page-builder-template"))}};switch(e){case"normal-width-container":n("plain-container");break;case"narrow-width-container":n("narrow-container");break;case"full-width-container":n("page-builder-template");break;case"default":t&&t.classList.contains("ast-default-layout-boxed-container")?n("boxed-container"):t&&t.classList.contains("ast-default-layout-content-boxed-container")?n("content-boxed-container"):t&&t.classList.contains("ast-default-layout-page-builder")?n("page-builder-template"):t&&t.classList.contains("ast-default-layout-plain-container")?n("plain-container"):t&&t.classList.contains("ast-default-layout-narrow-container")&&n("narrow-container")}var l=!(!t||!t.classList.contains("ast-default-layout-boxed-container")),d=!(!t||!t.classList.contains("ast-default-layout-content-boxed-container")),c=!(!t||!t.classList.contains("ast-default-layout-plain-container")),l="default"===e&&(l||d||c),u=!(!t||!t.classList.contains("ast-default-content-style-boxed")),p=!(!t||!t.classList.contains("ast-default-sidebar-boxed"));if("normal-width-container"===e||l){switch(a){case"boxed":n("boxed-container");break;case"unboxed":n("plain-container");break;default:u&&n("boxed-container")}let e="default"===o&&!t.classList.contains("ast-sidebar-default-no-sidebar");if("default"!==o&&"no-sidebar"!==o||e)switch(r){case"boxed":n("boxed-container");break;case"unboxed":n("content-boxed-container"),"unboxed"!==a&&("default"!==a||u)||n("plain-container");break;default:n("unboxed"===a&&!p||"default"===a&&!p&&!u?"plain-container":p?"boxed-container":"content-boxed-container")}}if("narrow-width-container"===e&&("boxed"===a||"default"===a&&u)){let e=document.querySelector(".edit-post-visual-editor__content-area");(e=e||document.querySelector(".edit-post-visual-editor"))&&(e.style.padding="20px")}else{let e=document.querySelector(".edit-post-visual-editor__content-area");(e=e||document.querySelector(".edit-post-visual-editor"))&&(e.style.padding="0px")}let m=!1,b="default"===o&&!t.classList.contains("ast-sidebar-default-no-sidebar");("normal-width-container"===e||l)&&(b||"no-sidebar"!==o&&"default"!==o)&&("default"===a&&!u||"unboxed"===a)&&("boxed"===r||"default"===r&&p)&&(m=!0);var d=i.querySelector(".editor-styles-wrapper"),g=(null!==d&&(parseInt(d.offsetWidth)<1350?(d.classList.remove("ast-stacked-title-visibility"),d.classList.add("ast-stacked-title-visibility")):d.classList.remove("ast-stacked-title-visibility")),document.querySelectorAll(".components-color-palette__custom-color-value"));for(let e=0;e<g.length;e++){var y=g[e].innerText,v=y.toLowerCase();-1<y.indexOf("VAR(--AST-GLOBAL-COLOR")&&(g[e].innerHTML=astraColors[v])}let w=i.querySelector(".editor-post-title__input"),_=i.querySelector(".title-visibility");null!=w&&null!=_&&(astraColors.ast_wp_version_higher_6_3||i.addEventListener("click",function(e){s.contains(e.target)||(_.classList.remove("ast-show-visibility-icon"),w.classList.remove("ast-show-editor-title-outline"))}),i.addEventListener("visibilitychange",function(){_.classList.remove("ast-show-visibility-icon"),w.classList.remove("ast-show-editor-title-outline")}),s.addEventListener("focusout",function(){_.classList.remove("ast-show-visibility-icon"),w.classList.remove("ast-show-editor-title-outline")}),s.addEventListener("click",function(){_.classList.add("ast-show-visibility-icon"),w.classList.add("ast-show-editor-title-outline")}),w.addEventListener("input",function(){_.classList.add("ast-show-visibility-icon"),this.classList.add("ast-show-editor-title-outline")}));document.querySelectorAll(".is-tablet-preview, .is-mobile-preview").length?document.body.classList.add("responsive-enabled"):document.body.classList.remove("responsive-enabled");var k=void 0!==wp.data.select("core/editor")&&null!==wp.data.select("core/editor")&&void 0!==wp.data.select("core/editor").getCurrentPost()&&void 0!==wp.data.select("core/block-editor").getBlocks()&&wp.data.select("core/block-editor").getBlocks(),h=document.querySelectorAll(".block-editor-block-list__layout.is-root-container > .wp-block-group");if(k&&h)for(let e=0;e<k.length;e++)if("core/group"===k[e].name&&void 0!==k[e].attributes&&void 0!==k[e].attributes.layout&&void 0!==k[e].attributes.layout.inherit){if(void 0===h[e])return;k[e].attributes.layout.inherit||h[e].classList.remove("inherit-container-width"),k[e].attributes.layout.inherit&&!h[e].classList.contains("inherit-container-width")&&h[e].classList.add("inherit-container-width")}astraColors.is_astra_pro_colors_activated&&("enabled"===(c=void 0!==wp.data.select("core/editor")&&null!==wp.data.select("core/editor")&&void 0!==wp.data.select("core/editor").getEditedPostAttribute("meta")&&wp.data.select("core/editor").getEditedPostAttribute("meta")["ast-page-background-enabled"]?wp.data.select("core/editor").getEditedPostAttribute("meta")["ast-page-background-enabled"]:"default")?m?updatePageBackground(!1,m):updatePageBackground():"default"===c&&updatePageBackground(!0))},1)}),document&&document.body&&document.body.classList.contains("post-type-astra-advanced-hook")&&(e=document.querySelector("#editor .interface-navigable-region .edit-post-header > div a.components-button.edit-post-fullscreen-mode-close"))&&e.addEventListener("click",function(e){e.preventDefault(),window.location.href=astraColors.site_builder_url})}window.addEventListener("load",function(e){astra_onload_function()}),document.addEventListener("DOMContentLoaded",function(){astraColors?.is_dark_palette&&document.documentElement.classList.add("astra-dark-mode-enable")});let updatePageBackground=(e=!1,t=!1)=>{let a=document;var o,s=document.querySelector("#editor iframe.editor-canvas__iframe")||document.querySelector('.block-editor-iframe__scale-container iframe[name="editor-canvas"]');let i=(a=s&&astraColors.ast_wp_version_higher_6_4?s.contentWindow.document:a).getElementsByClassName("is-desktop-preview"),r=a.getElementsByClassName("is-tablet-preview"),n=a.getElementsByClassName("is-mobile-preview"),l=i[0];astraColors.ast_wp_version_higher_6_3&&(0<r.length?l=r[0]:0<n.length&&(l=n[0]),s=void 0!==l?l.getElementsByTagName("iframe")[0]:void 0)&&null!==l.querySelector("iframe")&&(a=s.contentWindow.document||s.contentDocument),e?(document&&(s=document.querySelector("#editor .edit-post-visual-editor"))&&(s.style["background-color"]="",s.style["background-image"]="",s.style["background-size"]="",s.style["background-position"]="",s.style["background-repeat"]="",s.style["background-attachment"]=""),a&&(e=a.querySelector(".editor-styles-wrapper"))&&(e.style["background-color"]="",e.style["background-image"]="",e.style["background-size"]="",e.style["background-position"]="",e.style["background-repeat"]="",e.style["background-attachment"]="")):(s=void 0!==wp.data.select("core/editor")&&null!==wp.data.select("core/editor")&&void 0!==wp.data.select("core/editor").getEditedPostAttribute("meta")&&wp.data.select("core/editor").getEditedPostAttribute("meta")["ast-page-background-meta"]?wp.data.select("core/editor").getEditedPostAttribute("meta")["ast-page-background-meta"]:"default",e=void 0!==wp.data.select("core/editor")&&null!==wp.data.select("core/editor")&&void 0!==wp.data.select("core/editor").getEditedPostAttribute("meta")&&wp.data.select("core/editor").getEditedPostAttribute("meta")["ast-content-background-meta"]?wp.data.select("core/editor").getEditedPostAttribute("meta")["ast-content-background-meta"]:"default",0<i.length?(applyStylesToElement("#editor .edit-post-visual-editor",o=astraGetResponsiveBackgroundObj(s,"desktop"),document),is_boxed_based_layout=!1,document&&document.querySelector("body")&&(is_boxed_based_layout=document.querySelector("body").classList.contains("ast-separate-container")),astraColors.apply_content_bg_fullwidth&&!is_boxed_based_layout?applyStylesToElement(".editor-styles-wrapper",astraGetResponsiveBackgroundObj(e,"desktop"),a):astraColors.apply_content_bg_fullwidth||is_boxed_based_layout?is_boxed_based_layout&&(applyStylesToElement("#editor .edit-post-visual-editor",astraGetResponsiveBackgroundObj(s,"desktop"),document),applyStylesToElement(".editor-styles-wrapper",astraGetResponsiveBackgroundObj(e,"desktop"),a)):applyStylesToElement(".editor-styles-wrapper",astraGetResponsiveBackgroundObj(s,"desktop"),document),t&&applyStylesToElement(".editor-styles-wrapper",o,a)):0<r.length?(is_boxed_based_layout=!1,document&&document.querySelector("body")&&(is_boxed_based_layout=document.querySelector("body").classList.contains("ast-separate-container")),astraColors.apply_content_bg_fullwidth&&!is_boxed_based_layout?(applyStylesToElement(".editor-styles-wrapper",astraGetResponsiveBackgroundObj(e,"tablet"),a),applyStylesToElement("#editor .edit-post-visual-editor",{"background-color":"#363636"},document)):astraColors.apply_content_bg_fullwidth||is_boxed_based_layout?is_boxed_based_layout&&(applyStylesToElement("#editor .edit-post-visual-editor",astraGetResponsiveBackgroundObj(s,"tablet"),document),applyStylesToElement(".editor-styles-wrapper",astraGetResponsiveBackgroundObj(e,"tablet"),a)):applyStylesToElement(".editor-styles-wrapper",astraGetResponsiveBackgroundObj(s,"tablet"),document)):0<n.length&&(is_boxed_based_layout=!1,document&&document.querySelector("body")&&(is_boxed_based_layout=document.querySelector("body").classList.contains("ast-separate-container")),astraColors.apply_content_bg_fullwidth&&!is_boxed_based_layout?(applyStylesToElement(".editor-styles-wrapper",astraGetResponsiveBackgroundObj(e,"mobile"),a),applyStylesToElement("#editor .edit-post-visual-editor",{"background-color":"#363636"},document)):astraColors.apply_content_bg_fullwidth||is_boxed_based_layout?is_boxed_based_layout&&(applyStylesToElement("#editor .edit-post-visual-editor",astraGetResponsiveBackgroundObj(s,"mobile"),document),applyStylesToElement(".editor-styles-wrapper",astraGetResponsiveBackgroundObj(e,"mobile"),a)):applyStylesToElement(".editor-styles-wrapper",astraGetResponsiveBackgroundObj(s,"mobile"),document)))};function applyStylesToElement(e,a,o){if(o){let t=o.querySelector(e);t?(t.style.backgroundImage="none",Object.keys(a).forEach(e=>{t.style[e]=a[e]})):console.error(`Element with selector "${e}" not found.`)}}function astraGetResponsiveBackgroundObj(e,t){var a={},o=e[t],s=o["background-image"]||"",i=e.tablet["background-image"]||"",r=e.desktop["background-image"]||"",n=o["background-color"]||"",l=!!e.tablet["background-image"],d=!!e.desktop["background-image"],e=o["background-type"]||"";if(""!==e)switch(e){case"color":""!==s&&""!==n?a["background-image"]=`linear-gradient(to right, ${n}, ${n}), url(${s})`:"mobile"===t?d?a["background-image"]=`linear-gradient(to right, ${n}, ${n}), url(${r})`:l?a["background-image"]=`linear-gradient(to right, ${n}, ${n}), url(${i})`:""!==n&&(a["background-color"]=n,a["background-image"]="none"):"tablet"===t?d?a["background-image"]=`linear-gradient(to right, ${n}, ${n}), url(${r})`:""!==n&&(a["background-color"]=n,a["background-image"]="none"):""===s&&(a["background-color"]=n,a["background-image"]="none");break;case"image":var c=o["overlay-type"]||"none",u=o["overlay-color"]||"",p=o["overlay-gradient"]||"";""!==s&&(a["background-image"]="none"!==c?"classic"===c&&""!==u?`linear-gradient(to right, ${u}, ${u}), url(${s})`:"gradient"===c&&""!==p?p+`, url(${s})`:`url(${s})`:`url(${s})`);break;case"gradient":n&&(a["background-image"]=n)}else""!==n&&(a["background-color"]=n);return""!==s&&(o["background-repeat"]&&(a["background-repeat"]=o["background-repeat"]),o["background-position"]&&(a["background-position"]=o["background-position"]),o["background-size"]&&(a["background-size"]=o["background-size"]),o["background-attachment"])&&(a["background-attachment"]=o["background-attachment"]),a}document.body.addEventListener("mousedown",function(){var e,t,s=document.querySelector("body").classList.contains("ast-block-legacy"),i=document.getElementById("astra-google-fonts-css"),r=(t=!0===s?(e=document.getElementById("astra-block-editor-styles-css"),document.getElementById("astra-block-editor-styles-inline-css")):(e=document.getElementById("astra-wp-editor-styles-css"),document.getElementById("astra-wp-editor-styles-inline-css")),null!==e?e.cloneNode(!0):null),n=null!==t?t.cloneNode(!0):null,l=null!==i?i.cloneNode(!0):null;setTimeout(function(){var e,t,a=document.getElementsByClassName("is-tablet-preview"),o=document.getElementsByClassName("is-mobile-preview");0===a.length&&0===o.length||(t=!0===s?(e="astra-block-editor-styles-inline-css","astra-block-editor-styles-css"):(e="astra-wp-editor-styles-inline-css","astra-wp-editor-styles-css"),e="astra-block-editor-styles-inline-css",t="astra-block-editor-styles-css",a=(o=(a=(a[0]||o[0]).getElementsByTagName("iframe")[0]).contentWindow.document||a.contentDocument).getElementById(e),e=o.getElementById(t),t=o.getElementById("astra-google-fonts-css"),null==a&&o.head.appendChild(n),null==e&&o.head.appendChild(r),null==t&&null!==i&&o.head.appendChild(l))},1e3)});