(()=>{"use strict";var e={d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.r(t),e.d(t,{default:()=>n});const n=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.page=t}var t,n;return t=e,(n=[{key:"getPage",value:function(){return this.page}},{key:"isCheckout",value:function(){return"checkout"===this.page}},{key:"isExpressCheckout",value:function(){return"express_checkout"===this.page}},{key:"isCart",value:function(){return"cart"===this.page}},{key:"isProduct",value:function(){return"product"===this.page}},{key:"isOrderPay",value:function(){return"order_pay"===this.page}},{key:"isAddPaymentMethod",value:function(){return"add_payment_method"===this.page}}])&&r(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();(this.wcPPCP=this.wcPPCP||{}).context=t})();
//# sourceMappingURL=context.js.map