PageSourceSearch

https://woocommerce.com/wp-content/themes/woo/dist/dom-manipulatio…=b58a3deaff6bd364111c055a04eb005148a7033e

js woocommerce.com collected 2026-09-24 07:55:53 UTC 3,762 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkwoo_commerce_com=globalThis.webpackChunkwoo_commerce_com||[]).push([[4369],{2498(e,o,t){var c=t(2470),i=t(4822),n=t(2697),r=t(8221),s=t.n(r);!function(){let e=null,o=null,t=null,r=null,l=null;const a=s()(u),d={"wccom-blog-single-post":{prefix:"wccom-blog-single-post",hasSocialSharing:!0,socialSharing:"#blog-social-sharing"},"wccom-template-guide":{prefix:"wccom-template-guide",hasSocialSharing:!1,socialSharing:null}};function u(){o&&t&&r&&(o.classList.remove("show-mobile"),t.classList.remove("rotate"),r.classList.remove("wccom-blog-overlay"),(0,i.speak)((0,c.__)("Closed table of contents for the post","wccom")),window.removeEventListener("resize",a),e&&e.deactivate())}const h=new IntersectionObserver((function(e){l&&e.forEach((e=>{if(e.isIntersecting){const o=e.target.id;l&&document.querySelectorAll(`.${l.prefix}__toc-link a.active`).forEach((e=>{e.classList.remove("active")}));const t=document.querySelector(`.${l.prefix}__toc-link a[href="#${o}"]`);t&&t.classList.add("active")}}))}),{root:null,rootMargin:"0px 0px -90% 0px",threshold:.1});function m(e){e.preventDefault(),u();const o=e.target.getAttribute("href");if(!o)return;const t=document.querySelector(o);t&&t.scrollIntoView({behavior:"smooth"}),window.history.pushState(null,"",o)}function f(){if(l=function(){for(const e in d)if(document.querySelector("."+e))return d[e];return null}(),!l)return;if(o=document.querySelector(`.${l.prefix}__toc-content`),t=document.querySelector(`.${l.prefix}__toc-toggle--mobile i`),r=document.querySelector("body"),!o||!t)return;e=n.createFocusTrap(`.${l.prefix}__toc`,{escapeDeactivates:!0,onDeactivate:()=>{u()}});const s=document.querySelector(`.${l.prefix}__toc-toggle--mobile`);s&&s.addEventListener("click",(function(){o&&o.classList.contains("show-mobile")?u():o&&t&&r&&e&&(o.classList.add("show-mobile"),t.classList.add("rotate"),r.classList.add("wccom-blog-overlay"),e.activate(),(0,i.speak)((0,c.__)("Opened Table of contents for the post","wccom")),window.addEventListener("resize",a))}));const f=document.querySelector(`.${l.prefix}__toc-overlay`);if(f&&f.addEventListener("click",u),document.querySelectorAll(`.${l.prefix}__toc-link a`).forEach((e=>{e.addEventListener("click",m)})),l.hasSocialSharing&&l.socialSharing){const e=function(){const e=window.location.href;if(navigator.clipboard&&window.isSecureContext){navigator.clipboard.writeText(e),(0,i.speak)((0,c.__)("Post link copied to clipboard","wccom"));const o=document.querySelector(l.socialSharing+" .share-link");o&&o.classList.add("hide");const t=document.querySelector(".share-link-copied");t&&t.classList.add("show")}},o=document.querySelector(l.socialSharing+" .share-link");o&&o.addEventListener("click",e),function(e){const o=document.querySelector(`${e} ul`);o&&(document.querySelector(`${e} .share-link`)?.addEventListener("click",(()=>function(e){const o=window.location.href;if(navigator.clipboard&&window.isSecureContext){navigator.clipboard.writeText(o),wp.a11y.speak((0,c.__)("Link copied to clipboard","wccom"));const t=document.querySelector(e);t&&(t.querySelector(".share-link")?.classList.add("hide"),t.querySelector(".share-link-copied")?.classList.add("show"),window.setTimeout((function(){!function(e){e.querySelector(".share-link")?.classList.remove("hide"),e.querySelector(".share-link-copied")?.classList.remove("show")}(t)}),2e3))}}(e))),["li.share-facebook","li.share-twitter","li.share-linkedin"].forEach((e=>{const t=document.querySelector(e);t&&o&&o.insertBefore(t.cloneNode(!0),o.firstChild)})))}(l.socialSharing)}document.querySelectorAll("h2[id]").forEach((e=>{h.observe(e)}))}"loading"!==document.readyState?f():document.addEventListener("DOMContentLoaded",f)}()}},e=>{e.O(0,[2397],(()=>e(e.s=2498))),e.O()}]);

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.