PageSourceSearch

https://woocommerce.com/wp-content/themes/woo/dist/7206.4734a4f6e06f7582797d.min.js

js woocommerce.com collected 2026-09-24 07:56:02 UTC 2,482 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkwoo_commerce_com=globalThis.webpackChunkwoo_commerce_com||[]).push([[7206],{6463(e,t,c){function o(){return Cookies.get("wccom-locale")||"en_US"}function n(e,t){if(!e)return{href:e};t||(t=o());const c=function(e,t){const c=`${window.location.protocol}//${window.location.host}`;-1===e.indexOf(c)&&(e=c+e);const o=new URL(e);return o.searchParams.append("locale",t),o.toString()}(e,t),n={href:c,hrefLang:""},a=function(e){return void 0===wccomSupportedLocales[e]?"x-default":e.replace("_","-")}(t);return a&&(n.hrefLang=a),n}c.d(t,{J:()=>o,k:()=>n})},7206(e,t,c){c.r(t),c.d(t,{default:()=>u});var o=c(5556),n=c.n(o),a=c(2470),r=c(7153),s=c(8402),i=c(3871),d=c(1119),l=c(6463),m=c(3713);function p(e){const{categories:t=[],imageRatio:c=.6}=e;let o=e.image||"/wp-content/themes/woo/components/card-post/assets/post-card-default-background.jpg";e.image&&c&&(o=r.A.maybeResizeImage(e.image,c));const n=["wccom-card-post__header"];e.image&&n.push("wccom-card-post__header--placeholder-image");const p=[],u=[...t];0===u.length&&"page"===e.postType&&u.push((0,a.__)("Page","wccom"));for(let e=0;e<u.length;e++){const t=u[e];let c,o;"string"==typeof t?c=t:(c=t.name,o=t.url),p.push((0,m.jsx)(s.A,{content:c,link:o,variant:"round"},"card-product-category-"+e))}let g;if(e.date){const t="string"==typeof g&&!/^\d{4}-\d{2}-\d{2}T/.test(e.date);let c=e.date;if(!t&&e.date){const t=(0,l.J)().replace("_","-");c=new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"}).format(new Date(e.date))}g=(0,m.jsx)("p",{className:"wccom-card-post__date",children:c})}return(0,m.jsxs)("section",{className:"wccom-card wccom-card-post",children:[(0,m.jsx)("div",{className:n.join(" "),"data-bg-src":o}),(0,m.jsxs)("div",{className:"wccom-card-post__content",children:[p,(0,m.jsx)("h3",{className:"wccom-card-post__title",children:(0,m.jsx)("a",{href:e.link,onClick:function(){e.onLinkClicked&&e.onLinkClicked(e),e.tracksEvent&&(0,d.A)(e.tracksEvent,{...e.tracksProperties||{},url:document.location.href})},children:(0,i.iT)(e.title)})}),g,e?.author&&(0,m.jsxs)("p",{className:"wccom-card-post__author",children:[(0,a.__)("by","wccom")," ",(0,m.jsx)("span",{children:e.author})]})]})]})}p.propTypes={author:n().string,categories:n().array,date:n().string,image:n().string,imageRatio:n().number,link:n().string.isRequired,onLinkClicked:n().func,postType:n().string,title:n().string.isRequired,tracksEvent:n().string,tracksProperties:n().object};const u=p}}]);

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.