PageSourceSearch

https://santafewineandchile.org/wp-content/plugins/shopwp-pro/dist…eOnSaleLabel-public.388d4eabc8be4c65a4ed.js

js santafewineandchile.org collected 2026-09-24 21:23:52 UTC 3,265 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["ProductImageOnSaleLabel-public"],{"./node_modules/lodash-es/_baseEach.js"(e,s,n){n.d(s,{A:()=>r});var o=n("./node_modules/lodash-es/_baseForOwn.js"),a=n("./node_modules/lodash-es/isArrayLike.js");const r=(t=o.A,function(e,s){if(null==e)return e;if(!(0,a.A)(e))return t(e,s);for(var n=e.length,o=-1,r=Object(e);++o<n&&!1!==s(r[o],o,r););return e});var t},"./node_modules/lodash-es/flatMap.js"(e,s,n){n.d(s,{A:()=>i});var o=n("./node_modules/lodash-es/_baseFlatten.js"),a=n("./node_modules/lodash-es/_arrayMap.js"),r=n("./node_modules/lodash-es/_baseIteratee.js"),t=n("./node_modules/lodash-es/_baseEach.js"),u=n("./node_modules/lodash-es/isArrayLike.js");const l=function(e,s){var n=-1,o=(0,u.A)(e)?Array(e.length):[];return(0,t.A)(e,(function(e,a,r){o[++n]=s(e,a,r)})),o};var d=n("./node_modules/lodash-es/isArray.js");const c=function(e,s){return((0,d.A)(e)?a.A:l)(e,(0,r.A)(s,3))},i=function(e,s){return(0,o.A)(c(e,s),1)}},"./node_modules/lodash-es/groupBy.js"(e,s,n){n.d(s,{A:()=>c});var o=n("./node_modules/lodash-es/_baseAssignValue.js");const a=function(e,s,n,o){for(var a=-1,r=null==e?0:e.length;++a<r;){var t=e[a];s(o,t,n(t),e)}return o};var r=n("./node_modules/lodash-es/_baseEach.js");const t=function(e,s,n,o){return(0,r.A)(e,(function(e,a,r){s(o,e,n(e),r)})),o};var u=n("./node_modules/lodash-es/_baseIteratee.js"),l=n("./node_modules/lodash-es/isArray.js");var d=Object.prototype.hasOwnProperty;const c=(i=function(e,s,n){d.call(e,n)?e[n].push(s):(0,o.A)(e,n,[s])},function(e,s){var n=(0,l.A)(e)?a:t,o=m?m():{};return n(e,i,(0,u.A)(s,2),o)});var i,m},"./npm-packages/@shopwp/common/src/variants/index.js"(e,s,n){n.d(s,{MG:()=>l,rJ:()=>c,ub:()=>i,yB:()=>d});var o=n("./node_modules/lodash-es/groupBy.js"),a=n("./node_modules/lodash-es/uniqBy.js"),r=n("./node_modules/lodash-es/flatMap.js"),t=n("./node_modules/lodash-es/compact.js"),u=n("./npm-packages/@shopwp/common/src/utils/index.jsx");function l(e){return e.filter((function(e){return e.node.availableForSale}))}function d(e,s){if(!e.edges.length)return!1;if(s)var n=e.edges;else n=l(e.edges);var t,d,c=function(e){return(0,o.A)((0,r.A)(e,(function(e){return e.node.selectedOptions.id=e.node.id,e.node.selectedOptions.map((function(e){return{name:e.name,value:e.value}}))})),"name")}(n);return(t=c,d=[],Object.keys(t).forEach((function(e,s){var n;d.push({name:e,values:(n=t[e],(0,a.A)(n,"value").filter((function(e){return e.value})))})})),d).map((function(e){return"Size"===e.name?{name:e.name,values:(0,u.jQ)(e.values)}:e}))}function c(e){var s=e.map((function(e){return!!e.node.compareAtPrice&&(0,u.Dz)(e.node.price.amount,e.node.compareAtPrice.amount)}));return(0,t.A)(s).sort().reverse()[0]}function i(e,s,n){return e?n?(n.currentlyNotInStock,s):s||!1:s}},"./npm-packages/@shopwp/components/src/products/product/images/on-sale-label/index.jsx"(e,s,n){n.r(s),n.d(s,{default:()=>a});var o=n("./npm-packages/@shopwp/common/src/variants/index.js");const a=wp.element.memo((function(e){var s=e.text,n=e.showSaleNoticePercentage,a=e.payload,r=(0,o.MG)(a.variants.edges),t=(0,o.rJ)(r);return React.createElement("span",{className:"swp-on-sale-label wps-product-image-on-sale-label"},s,t&&n?" - Up to "+t+"% off":null)}))}}]);

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.