Server IP : 192.158.238.246 / Your IP : 18.191.132.143 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/7779/task/7779/cwd/plugins/woocommerce/assets/client/blocks/ |
Upload File : |
var wc;(()=>{"use strict";var t={};(t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})})(t);const e=window.wc.__experimentalInteractivity,n=t=>{var e;const n=null===(e=t.target.parentElement)||void 0===e?void 0:e.querySelector(".input-text.qty.text");if(!n)return;const r=parseInt(n.value,10),a=parseInt(n.min,10),o=parseInt(n.max,10),i=parseInt(n.step,10);return{currentValue:isNaN(r)?0:r,minValue:isNaN(a)?1:a,maxValue:isNaN(o)?void 0:o,step:isNaN(i)?1:i,inputElement:n}};(0,e.store)("woocommerce/add-to-cart-form",{state:{},actions:{addQuantity:t=>{const e=n(t);if(!e)return;const{currentValue:r,maxValue:a,step:o,inputElement:i}=e,u=r+o;(void 0===a||u<=a)&&(i.value=u.toString())},removeQuantity:t=>{const e=n(t);if(!e)return;const{currentValue:r,minValue:a,step:o,inputElement:i}=e,u=r-o;u>=a&&(i.value=u.toString())}}}),(wc=void 0===wc?{}:wc)["add-to-cart-form"]=t})();