!function(){"use strict";var e=window.ctFrontend;const t={facebook:"u",twitter:"url",linkedin:"url",reddit:"url",hacker_news:"u",vk:"url",ok:"st.shareUrl",telegram:"url",viber:"text",whatsapp:"text",flipboard:"url",email:"body",line:"url"};(0,e.registerDynamicChunk)("blocksy_ext_woo_extra_swatches_variation_url",{mount:function(e,{event:n}){const r=e,a=new URLSearchParams(window.location.search);a.delete(r.name);const o=String(r.value);if(o?a.set(r.name,o):a.delete(r.name),!a.toString())return void window.history.replaceState({},"",window.location.pathname);window.history.replaceState({},"",`${window.location.pathname}?${a.toString()}`);document.querySelectorAll(".ct-share-box a").forEach(function(e){const{network:n}=e.dataset;if(n&&null!=t&&t[n]){const r=new URL(e.href);r.searchParams.has(t[n])&&r.searchParams.set(t[n],window.location.href),e.href=r.toString()}})}})}();