PageSourceSearch

https://shop.treepeople.org/cdn/shopifycloud/checkout-web/assets/c1/0b8657b8.CBFRF2sQ.js

js treepeople.org collected 2026-10-01 10:24:22 UTC 2,403 bytes, 1 lines download raw bytes

1import{i6 as e,O as t,P as n}from"./4c290a1e.D9lE9kmU.js";import{u as o,S as r}from"./2c1ab0fe.D_oO1jU7.js";import{C as i,L as s,bv as a,n as d,J as m}from"./164ad2e3.DgUUtBtV.js";function c(t,...[n]){const o=(()=>{switch(t.redemptionSource){case"SHOP_CASH":{const e=t.redemptionContent,o=e.billingAddress?.streetAddress,r=Boolean(o?.address1||o?.extendedFields)&&o?o:n;return{shopCashRedemptionContent:{redemptionId:e.redemptionId,billingAddress:{streetAddress:r},destinationAmount:e.destinationAmount,sourceAmount:e.sourceAmount,redemptionPaymentOptionKind:e.redemptionPaymentOptionKind,details:e.details?.map((e=>({redemptionId:e.redemptionId,destinationAmount:{amount:e.destinationAmount.amount,currencyCode:e.destinationAmount.currencyCode},sourceAmount:e.sourceAmount?{amount:e.sourceAmount.amount,currencyCode:e.sourceAmount.currencyCode}:null,redemptionType:e.redemptionType})))}}}case"STORE_CREDIT":return{storeCreditRedemptionContent:{storeCreditAccountId:t.redemptionContent.storeCreditAccountId}};case"CUSTOM":{const e=t.redemptionContent;return{customRedemptionContent:{paymentMethodIdentifier:e.paymentMethodIdentifier,redemptionAttributes:e.redemptionAttributes,maskedIdentifier:e.maskedIdentifier}}}default:throw new e(`Redemption source ${t.redemptionSource} not implemented`)}})();return{redemptionSource:t.redemptionSource,redemptionContent:o}}function p(e){return{paymentMethod:c(e.paymentMethod)}}const u=m("MarketsProTermsModal"),l=m("MarketsProPrivacyModal");function _({textProps:e}){const{i18n:m,shop:{name:c}}=t(),p=n(),_=i(void 0,u),y=i(void 0,l),h=p.managedMarketsPaymentProcessor?.value,A="shopify_payments"===h?"https://content.global-e.com/shopper-terms-v2":"https://content.global-e.com/shopper-terms",C={markets_pro_terms:o(r,{children:[o(s,{textDecoration:"none",commandFor:_,children:m.translate("payment.markets_pro_disclaimer_terms_and_conditions")}),o(a,{id:_,source:A,heading:m.translate("payment.markets_pro_disclaimer_terms_and_conditions_title")})]}),privacy_policy:o(r,{children:[o(s,{textDecoration:"none",commandFor:y,children:m.translate("payment.markets_pro_disclaimer_privacy_policy")}),o(a,{id:y,source:"https://content.global-e.com/privacy-policy",heading:m.translate("payment.markets_pro_disclaimer_privacy_policy_title")})]}),shop_name:c};return o(d,{...e,children:m.translate("payment.markets_pro_disclaimer_label",C)})}export{_ as M,c as a,p as g};

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.