PageSourceSearch

https://makezine.com/wp-content/plugins/shopwp-pro/dist/SettingPro…humbnailWidth-admin.782435b12149725172c4.js

js makezine.com collected 2026-09-24 08:06:51 UTC 2,295 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["SettingProductsThumbnailWidth-admin"],{"./_tmp/admin/js/app/settings/_common/image-dimensions.jsx"(e,t,s){s.d(t,{o:()=>c});var a=s("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),n=s("./node_modules/@emotion/react/dist/emotion-react.browser.esm.js"),i=s("./_tmp/admin/js/app/utils/utils-data.js"),o=s("./_tmp/admin/js/app/settings/_state/context.js"),l=s("./_tmp/admin/js/app/admin/_state/hooks.js"),p={name:"1qpawbb-styles",styles:"display:inline-block;position:absolute;top:26px;right:8px;margin:0;.components-tooltip .components-popover__content{width:300px;text-align:left;white-space:normal;};label:styles;"},m={name:"1b4vatr-wrapperStyles",styles:"position:relative;&[disabled]{svg,.components-base-control__help{opacity:0.4;}};label:wrapperStyles;"};function c(e){var t=e.settingName,s=e.toggleName,c=e.label,r=wp.components,d=r.TextControl,u=r.Tooltip,g=r.Dashicon,h=(0,wp.element.useContext)(o.A),b=(0,a.A)(h,2),y=b[0],v=b[1],_=(0,l.G)(),j=m,w=p;return(0,n.Y)("div",{className:"shopwp-image-dimensions-control ",css:j,disabled:!y[s]},(0,n.Y)(d,{type:"text",value:(0,i.mA)(y[t]),onChange:function(e){v({type:"UPDATE_SETTING",payload:{key:t,value:(0,i.mA)(e)}})},onBlur:function(e){v({type:"UPDATE_SETTING",payload:{key:t,value:(0,i.mA)(e.currentTarget.value)}})},disabled:!y[s],label:c,help:_.t.a.numPixels}),(0,n.Y)(u,{text:_.t.a.customImgSize},(0,n.Y)("p",{css:w},(0,n.Y)(g,{icon:"editor-help"}))))}},"./_tmp/admin/js/app/settings/products/products-thumbnail-images-sizing-width.jsx"(e,t,s){s.r(t),s.d(t,{default:()=>i});var a=s("./_tmp/admin/js/app/settings/_common/image-dimensions.jsx"),n=s("./_tmp/admin/js/app/admin/_state/hooks.js");const i=function(){var e=(0,n.G)();return React.createElement(a.o,{label:e.t.a.width,settingName:"productsThumbnailImagesSizingWidth",toggleName:"productsThumbnailImagesSizingToggle"})}},"./_tmp/admin/js/app/utils/utils-data.js"(e,t,s){function a(e){var t=parseInt(e);return isNaN(t)||t<=0?"auto":t}function n(e){return!1===e.selectiveSyncImages&&!1===e.selectiveSyncMetafields&&!1===e.selectiveSyncOptions&&!1===e.selectiveSyncProducts&&!1===e.selectiveSyncTags&&!1===e.selectiveSyncVariants&&!1===e.selectiveSyncCollections}s.d(t,{M6:()=>n,mA:()=>a})}}]);

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.