"use strict";(globalThis.webpackChunkcheckout_for_woocommerce=globalThis.webpackChunkcheckout_for_woocommerce||[]).push([[601],{6564(t,r,e){e.d(r,{SQ:()=>b,YH:()=>p,a:()=>d,cY:()=>g,fT:()=>i,ge:()=>u,l:()=>n});var o=e(5385),n=function(t){var r=t.top,e=t.right,o=t.bottom,n=t.left;return{top:r,right:e,bottom:o,left:n,width:e-n,height:o-r,x:n,y:r,center:{x:(e+n)/2,y:(o+r)/2}}},i=function(t,r){return{top:t.top-r.top,left:t.left-r.left,bottom:t.bottom+r.bottom,right:t.right+r.right}},a=function(t,r){return{top:t.top+r.top,left:t.left+r.left,bottom:t.bottom-r.bottom,right:t.right-r.right}},c={top:0,right:0,bottom:0,left:0},u=function(t){var r=t.borderBox,e=t.margin,o=void 0===e?c:e,u=t.border,f=void 0===u?c:u,g=t.padding,b=void 0===g?c:g,d=n(i(r,o)),p=n(a(r,f)),l=n(a(p,b));return{marginBox:d,borderBox:n(r),paddingBox:p,contentBox:l,margin:o,border:f,padding:b}},f=function(t){var r=t.slice(0,-2);if("px"!==t.slice(-2))return 0;var e=Number(r);return isNaN(e)&&(0,o.A)(!1),e},g=function(t,r){var e,o,n=t.borderBox,i=t.border,a=t.margin,c=t.padding,f=(o=r,{top:(e=n).top+o.y,left:e.left+o.x,bottom:e.bottom+o.y,right:e.right+o.x});return u({borderBox:f,border:i,margin:a,padding:c})},b=function(t,r){return void 0===r&&(r={x:window.pageXOffset,y:window.pageYOffset}),g(t,r)},d=function(t,r){var e={top:f(r.marginTop),right:f(r.marginRight),bottom:f(r.marginBottom),left:f(r.marginLeft)},o={top:f(r.paddingTop),right:f(r.paddingRight),bottom:f(r.paddingBottom),left:f(r.paddingLeft)},n={top:f(r.borderTopWidth),right:f(r.borderRightWidth),bottom:f(r.borderBottomWidth),left:f(r.borderLeftWidth)};return u({borderBox:t,margin:e,padding:o,border:n})},p=function(t){var r=t.getBoundingClientRect(),e=window.getComputedStyle(t);return d(r,e)}},1209(t,r,e){e.d(r,{A:()=>u});var o=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var r=Object.prototype.toString.call(t);return"[object RegExp]"===r||"[object Date]"===r||function(t){return t.$$typeof===n}(t)}(t)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(t,r){return!1!==r.clone&&r.isMergeableObject(t)?c((e=t,Array.isArray(e)?[]:{}),t,r):t;var e}function a(t,r,e){return t.concat(r).map(function(t){return i(t,e)})}function c(t,r,e){(e=e||{}).arrayMerge=e.arrayMerge||a,e.isMergeableObject=e.isMergeableObject||o;var n=Array.isArray(r);return n===Array.isArray(t)?n?e.arrayMerge(t,r,e):function(t,r,e){var o={};return e.isMergeableObject(t)&&Object.keys(t).forEach(function(r){o[r]=i(t[r],e)}),Object.keys(r).forEach(function(n){e.isMergeableObject(r[n])&&t[n]?o[n]=c(t[n],r[n],e):o[n]=i(r[n],e)}),o}(t,r,e):i(r,e)}c.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,e){return c(t,e,r)},{})};const u=c},6725(t){var r=/["'&<>]/;t.exports=function(t){var e,o=""+t,n=r.exec(o);if(!n)return o;var i="",a=0,c=0;for(a=n.index;a<o.length;a++){switch(o.charCodeAt(a)){case 34:e="&quot;";break;case 38:e="&amp;";break;case 39:e="&#39;";break;case 60:e="&lt;";break;case 62:e="&gt;";break;default:continue}c!==a&&(i+=o.substring(c,a)),c=a+1,i+=e}return c!==a?i+o.substring(c,a):i}}}]);