PageSourceSearch

https://obermeyer.com/cdn/shopifycloud/checkout-web/assets/c1/bff2ff9b.Wb1R3ZbF.js

js obermeyer.com collected 2026-10-02 11:33:09 UTC 1,593 bytes, 1 lines download raw bytes

1import{g as n,mN as a,w as e}from"./4c290a1e.C6TDJ9Fn.js";import{c as t}from"./2c1ab0fe.GMbxnz74.js";function o(n,a){const e=n?.replace(/\s/g,""),t=a?.replace(/\s/g,"");return void 0!==t&&void 0!==e&&e.length>t.length&&e.startsWith(t)}function r(e){if(!e)return!1;const t=n(e)??e;return a.includes(t)}function u(n,a,t=!1){n.paymentLines.value=e(n.paymentLines.peek(),a,t)}function c(n=[],a){return[a,...n.filter(n=>null!=n.paymentMethod.giftCardPaymentMethod),...n.filter(n=>null!=n.paymentMethod.redeemablePaymentMethod)]}const s=(n,a=2)=>Math.round(n*10**a)/10**a,l=n=>({...n,amount:s(n.amount,t(n.currencyCode))}),i={USD:.5,AED:2,ARS:.5,AUD:.5,BRL:.5,CAD:.5,CHF:.5,COP:.5,CZK:15,DKK:2.5,EUR:.5,GBP:.3,HKD:4,HUF:175,IDR:.5,ILS:.5,INR:.5,JPY:50,KRW:50,MXN:10,MYR:2,NOK:3,NZD:.5,PHP:.5,PLN:2,RON:2,RUB:.5,SEK:3,SGD:.5,THB:10,ZAR:.5},m=n=>n?i[n]??.5:.5;function f(n,a){if(!a)return n;const e=[];let o=a;for(const t of n){if(o.amount<=0)break;const n=t.availableBalance;if(!n||n.amount<=0)continue;const a=n.amount>=o.amount?{...t,availableBalance:o}:t;e.push(a),o=l({amount:o.amount-a.availableBalance.amount,currencyCode:o.currencyCode})}return function(n,a){const e=m(a.currencyCode);if(a.amount<=0||a.amount>=e)return n;const o=t(a.currencyCode),r=[...n];let u=s(e-a.amount,o);for(;u>0;){const n=r.pop();if(!n)break;const a=n.availableBalance;a.amount>u?(r.push({...n,availableBalance:l({amount:a.amount-u,currencyCode:a.currencyCode})}),u=0):u=s(u-a.amount,o)}return r}(e,o)}function d(n,a){return n&&a?f([n],a)[0]??null:n}export{s as a,l as b,d as c,f as d,m as g,r as i,c as r,o as s,u};

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.