ui.shipaid.com 0.3.185 → 0.3.186
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/widget.es.js +6 -3
- package/dist/widget.iife.js +5 -4
- package/dist/widget.umd.js +5 -4
- package/package.json +1 -1
package/dist/widget.es.js
CHANGED
|
@@ -2416,7 +2416,7 @@ if (!customElements.get("checkout-package-protection")) {
|
|
|
2416
2416
|
x2.removeEventListener("wheel", H2);
|
|
2417
2417
|
};
|
|
2418
2418
|
}, [e3, n2.length, u2]), r2("div", { className: "modal-boxes-container", onClick: a2, children: [r2(Re, { onChange: o3, index: e3, maxSlides: n2.length - 1 }), r2("div", { ref: _2, className: "modal-boxes-wrapper", style: { transform: `translateX(calc(-${e3 * 380}px + ${p2}px))`, transition: i3 ? "none" : "transform 0.3s ease", overscrollBehavior: "none", touchAction: "none", userSelect: "none" }, onPointerDown: h2, onPointerMove: m2, onPointerUp: y2, children: n2.map((x2, N2) => r2(qe, { children: x2 }, N2)) })] });
|
|
2419
|
-
}, Ge = () => r2("div", { class: "slide slide-one" }), Ye = () => r2("div", { class: "slide slide-two", children: [r2("p", { class: "title", children: "SHIPAID" }), r2("p", { class: "subtitle", children: "Direct Brand to Customer Promise" }), r2("p", { class: "desc", children: "We enable your favorite brands to provide a delivery guarantee because we know that every order is precious, and things happen! In case of any issues during transit, we offer a quick and easy method to report the problem directly to the brand, for a swift resolution." }), r2("p", { class: "legal", children: "By purchasing this delivery guarantee, you agree to our Terms Of Service and Privacy Policy. You are not obligated to purchase this guarantee. This guarantee is NOT insurance and does not provide indemnification against loss, damage, or liability arising from a contingent or unknown event, but rather, through ShipAid brands provide a delivery guarantee whereby if the product you ordered is not delivered in satisfactory condition, the brand from which you ordered the product may replace the product free of charge. ShipAid does not provide any products or services directly to consumers, but instead provides a service that allows brands to facilitate product replacement to their customers. Purchasing this guarantee does not mean that you will automatically be reimbursed for any product or shipping costs because the resolution process and decision for compensation is strictly decided by the brand you are purchasing from. The brand will require proof of damage or undelivered product." }), r2("div", { class: "footer", children: [r2("a", { href: "https://www.shipaid.com/terms-of-service", target: "_blank", children: "Terms of Service" }), r2("a", { href: "https://www.shipaid.com/privacy-policy", target: "_blank", children: "Privacy Policy" }), r2("p", { children: "ShipAid © 2025" })] })] }), Ke = () => r2("div", { class: "slide slide-three", children: [r2("p", { class: "title", children: "1 Order = 1 Tree" }), r2("div", { class: "info-bg", children: r2("div", { class: "info-section", children: [r2("div", { class: "info-left", children: [r2("p", { class: "info-title", children: "Protect your order & the environment" }), r2("p", { class: "info-desc", children: "Every SHIPAID purchase plants one tree to offset carbon impact and fight deforestation, verified." })] }), r2("div", { class: "info-right", children: [r2("img", { src: "https://storage.googleapis.com/shipaid-media-bucket/static/impact-logo-blue.svg", alt: "ShipAid Green Logo" }), r2("a", { href: "https://help.shipaid.com/en/article/what-does-the-shipaid-x-thegoodapi-partnership-offer-y4ecs/", target: "_blank", children: "Learn more" })] })] }) })] }), Je = () => r2("div", { class: "slide slide-four", children: [r2("div", { class: "content", children: [r2("p", { class: "title", children: "Kenya Mangroves" }), r2("p", { class: "subtitle", children: "Rebuilding Eastern Africa’s Ecosystems" }), r2("p", { class: "desc", children: ["Restoring mangroves to protect coastlines, support livelihoods, and rebuild ecosystems one tree at a time. Your order helps break the cycle of poverty, naturally. ", r2("a", { href: "https://thegoodapi.com/", target: "_blank", children: "Learn more" })] })] }), r2("div", { class: "footer", children: [r2("p", { children: "Powered by" }), r2("img", { src: "https://res.cloudinary.com/shipaid/image/upload/v1753376903/Copy_of_GoodAPI_Updated_Logo_zn8wuq.png", alt: "GoodAPI Logo" })] })] }), Ee = () => r2("div", { class: "slide slide-five", children: [r2("div", { class: "icons", children: r2("img", { src: "https://storage.googleapis.com/shipaid-media-bucket/static/inspired-icon-combo-black.png", alt: "Inspired Logo" }) }), r2("div", { className: "content", children: [r2("h3", { class: "card-title", children: "Unlock a Gift that Gives Back" }), r2("p", { class: "card-subtitle", children: "Opt-in to the delivery guarantee and unlock a free donation to a cause you love—on us." }), r2("p", { class: "card-note", children: "Watch for an email to pick a cause." })] }), r2("div", { className: "footer", children: [r2("div", { class: "powered", children: r2("span", { class: "logo-inspired", "aria-label": "INSPIRED", children: r2("svg", { width: "144", height: "9", viewBox: "0 0 144 9", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [r2("path", { d: "M91.0334 0.159698C92.1657 0.0239384 93.3063 -0.0254417 94.4455 0.0122371C96.7212 0.0122371 97.5427 0.122916 98.0949 0.513214C98.5621 0.844662 98.7502 1.35692 98.7502 2.32181V2.68997H96.4523C96.4275 2.24067 96.392 2.13053 96.215 2.02005C96.038 1.90964 95.723 1.87259 94.0353 1.87259C92.0183 1.87259 91.8547 1.92385 91.8547 2.52005C91.8547 2.82572 91.9614 2.98456 92.2092 3.04349C93.0411 3.15315 93.8794 3.20255 94.7179 3.19095C97.2982 3.27565 97.8052 3.33779 98.3078 3.66556C98.8103 3.99335 99.0471 4.58317 99.0471 5.71732C99.047 7.13136 98.7179 7.82737 97.9074 8.14407C97.4402 8.32821 96.4562 8.39114 94.1203 8.39114C91.6958 8.39114 90.7437 8.27991 90.1916 7.91165C89.6395 7.54341 89.4836 7.08351 89.4836 5.96048V5.56985L91.7765 5.57767C91.7766 6.06709 91.8234 6.22571 92.0109 6.3472C92.1985 6.46854 92.4936 6.51614 94.1701 6.51614C96.7249 6.51614 96.7248 6.51625 96.7248 5.79837C96.7248 5.30858 96.5518 5.18638 95.7873 5.17532L93.9113 5.10208L92.6437 5.03958L92.0109 5.01712C90.0784 4.95451 89.5334 4.44246 89.5334 2.64896C89.5335 1.09893 89.9541 0.402787 91.0334 0.159698ZM104.886 0.134307C105.604 0.103487 106.324 0.128001 107.038 0.208526C108.534 0.443683 108.965 1.11262 108.965 3.22903C108.965 5.05739 108.642 5.77399 107.692 6.13235C107.157 6.31897 106.615 6.3677 104.911 6.36771H102.076C102.049 6.36776 102.022 6.37327 101.996 6.38431C101.971 6.39542 101.947 6.41166 101.928 6.43216C101.909 6.45264 101.894 6.47776 101.884 6.50442C101.874 6.53105 101.868 6.55975 101.868 6.58841V8.39114H99.4543V0.134307H104.886ZM76.9894 8.39017H74.4601V0.141143L76.9894 0.133331V8.39017ZM88.6437 8.39017H84.4504L80.3244 2.6011C80.3032 2.57084 80.2737 2.54797 80.2394 2.53665C80.2051 2.52535 80.168 2.52557 80.134 2.53763C80.0999 2.54972 80.0705 2.57329 80.05 2.60403C80.0294 2.63483 80.0187 2.67204 80.0197 2.7095L80.0812 8.39017H77.6203V0.141143H81.8527L85.9387 5.91556C85.9609 5.94308 85.9912 5.96286 86.0246 5.9722C86.0578 5.98147 86.0928 5.97944 86.1252 5.96732C86.1577 5.9551 86.1863 5.9332 86.2062 5.90384C86.2261 5.8745 86.2363 5.83914 86.2365 5.80325L86.1828 0.133331H88.6437V8.39017ZM112.042 8.39017H109.53V0.141143L112.042 0.133331V8.39017ZM118.531 0.141143C119.25 0.110318 119.969 0.135844 120.684 0.216339C122.18 0.451495 122.611 1.11946 122.611 3.23587C122.61 4.78097 122.176 5.46028 121.387 5.66556L123.281 8.28958V0.141143L132.053 0.133331V2.07864H125.868C125.841 2.07815 125.813 2.08269 125.787 2.09329C125.762 2.10389 125.739 2.12018 125.719 2.14017C125.699 2.16032 125.683 2.18494 125.672 2.21146C125.662 2.23772 125.656 2.26601 125.656 2.29446V3.06009C125.656 3.08883 125.661 3.11757 125.672 3.14407C125.683 3.17055 125.699 3.19426 125.719 3.21439C125.739 3.23446 125.762 3.25063 125.787 3.26126C125.813 3.2719 125.841 3.27738 125.868 3.27689H131.74V5.09427H125.879C125.851 5.09377 125.824 5.09924 125.798 5.10989C125.772 5.12055 125.749 5.13663 125.73 5.15677C125.71 5.17692 125.693 5.20057 125.683 5.22708C125.672 5.25356 125.667 5.28236 125.667 5.31107V6.18802C125.667 6.21677 125.672 6.24549 125.683 6.272C125.693 6.29849 125.71 6.32218 125.73 6.34232C125.749 6.36241 125.772 6.37856 125.798 6.38919C125.824 6.39983 125.851 6.40531 125.879 6.40482H132.1V8.39017H120.576L119.142 6.37454H115.367C115.34 6.37408 115.312 6.37941 115.286 6.39017C115.26 6.40104 115.237 6.4175 115.217 6.43802C115.197 6.45857 115.182 6.48334 115.171 6.51028C115.161 6.53718 115.156 6.56625 115.156 6.59525V8.39017H112.745V0.141143H118.531ZM138.395 0.133331C140.414 0.133331 140.687 0.134134 141.365 0.29837C141.724 0.352973 142.061 0.512932 142.335 0.760284C142.609 1.00767 142.809 1.33184 142.911 1.69388C143.087 2.27611 143.138 2.79494 143.138 4.14212C143.138 6.29173 142.958 7.1283 142.377 7.69192C141.796 8.25555 141.067 8.39017 138.395 8.39017H132.676V0.133331H138.395ZM135.263 2.20169C135.208 2.20171 135.154 2.22458 135.115 2.26517C135.077 2.30574 135.055 2.36122 135.055 2.41849V6.06497C135.055 6.12233 135.076 6.17773 135.115 6.21829C135.154 6.25888 135.208 6.28175 135.263 6.28177H138.416C140.605 6.28177 140.759 6.15786 140.759 4.29153C140.759 3.27646 140.676 2.81709 140.44 2.54837C140.203 2.27977 139.869 2.20169 138.395 2.20169H135.263ZM102.076 2.20169C102.021 2.20181 101.969 2.22485 101.93 2.26517C101.891 2.30574 101.868 2.36111 101.868 2.41849V4.08743C101.868 4.14468 101.891 4.19927 101.93 4.23978C101.969 4.28027 102.021 4.30313 102.076 4.30325H104.886C106.004 4.30325 106.052 4.30356 106.252 4.16946C106.453 4.03512 106.55 3.79607 106.55 3.22903C106.55 2.66167 106.442 2.38513 106.134 2.27689C105.969 2.21349 105.944 2.21288 104.886 2.20169H102.076ZM115.367 2.20169C115.34 2.20123 115.313 2.20675 115.287 2.21732C115.262 2.22795 115.238 2.24313 115.218 2.26321C115.198 2.28337 115.183 2.30799 115.172 2.3345C115.161 2.36098 115.156 2.38979 115.156 2.41849V4.08646C115.156 4.1152 115.161 4.14393 115.172 4.17044C115.183 4.19682 115.198 4.22067 115.218 4.24075C115.238 4.26091 115.262 4.27697 115.287 4.28763C115.313 4.29817 115.34 4.30371 115.367 4.30325H118.531C119.651 4.29205 119.673 4.31779 119.899 4.16849C120.125 4.01919 120.196 3.80649 120.196 3.22806C120.196 2.6496 120.089 2.38418 119.78 2.27591C119.608 2.20126 119.608 2.20169 118.531 2.20169H115.367Z", fill: "black" }), r2("path", { d: "M67.7164 5.02032V8.25483H66.6641V5.02032L63.6068 0.345793H64.8586L67.2291 4.112L69.5442 0.345793H70.7405L67.7164 5.02032Z", fill: "black" }), r2("path", { d: "M58.0288 3.74646H60.1334C60.7316 3.74646 61.1599 3.64307 61.4183 3.4363C61.6842 3.22214 61.8171 2.9046 61.8171 2.48367C61.8171 2.20305 61.7728 1.98151 61.6842 1.81905C61.5956 1.65658 61.4737 1.53104 61.3187 1.44242C61.1636 1.35381 60.9826 1.29842 60.7759 1.27627C60.5765 1.24673 60.3623 1.23196 60.1334 1.23196H58.0288V3.74646ZM56.9764 0.345793H59.8454C60.0152 0.345793 60.1962 0.349486 60.3882 0.35687C60.5876 0.35687 60.7833 0.367947 60.9753 0.390102C61.1673 0.404871 61.3445 0.430718 61.507 0.467642C61.6768 0.504565 61.8208 0.559951 61.939 0.633798C62.1974 0.788877 62.4153 1.00303 62.5925 1.27627C62.7771 1.5495 62.8694 1.88551 62.8694 2.28428C62.8694 2.70521 62.7661 3.07076 62.5593 3.38091C62.3599 3.68369 62.0719 3.90892 61.6953 4.05662V4.07877C62.1827 4.18216 62.5556 4.4037 62.8141 4.74339C63.0725 5.08309 63.2018 5.49664 63.2018 5.98403C63.2018 6.27203 63.1501 6.55265 63.0467 6.82589C62.9433 7.09912 62.7882 7.34282 62.5814 7.55697C62.3821 7.76375 62.131 7.93359 61.8282 8.06652C61.5328 8.19206 61.1894 8.25483 60.798 8.25483H56.9764V0.345793ZM58.0288 7.36866H60.6651C61.1303 7.36866 61.4922 7.24312 61.7507 6.99204C62.0165 6.74096 62.1494 6.39388 62.1494 5.9508C62.1494 5.69233 62.1014 5.47817 62.0054 5.30833C61.9094 5.13848 61.7802 5.00555 61.6177 4.90955C61.4627 4.80616 61.2817 4.73601 61.075 4.69909C60.8682 4.65478 60.654 4.63262 60.4325 4.63262H58.0288V7.36866Z", fill: "black" }), r2("path", { d: "M47.3679 7.36866H49.1181C49.2363 7.36866 49.384 7.36128 49.5612 7.34651C49.7384 7.32435 49.9267 7.28005 50.1261 7.21358C50.3255 7.13974 50.5212 7.03635 50.7132 6.90343C50.9126 6.7705 51.0898 6.58957 51.2449 6.36065C51.4 6.13172 51.5255 5.84741 51.6215 5.50771C51.7249 5.16063 51.7766 4.74339 51.7766 4.256C51.7766 3.78338 51.7286 3.36245 51.6326 2.99322C51.544 2.61659 51.3926 2.29905 51.1784 2.04059C50.9717 1.77474 50.7021 1.57535 50.3698 1.44242C50.0375 1.30212 49.6277 1.23196 49.1403 1.23196H47.3679V7.36866ZM46.3156 0.345793H49.0295C50.248 0.345793 51.1858 0.655952 51.8431 1.27627C52.5003 1.89658 52.8289 2.84183 52.8289 4.112C52.8289 4.77663 52.7551 5.3674 52.6074 5.88433C52.4597 6.39388 52.2308 6.82589 51.9206 7.18035C51.6105 7.52743 51.2154 7.79328 50.7354 7.9779C50.2554 8.16252 49.6867 8.25483 49.0295 8.25483H46.3156V0.345793Z", fill: "black" }), r2("path", { d: "M39.6547 0.345793H45.1157V1.23196H40.707V3.74646H44.8166V4.63262H40.707V7.36866H45.1489V8.25483H39.6547V0.345793Z", fill: "black" }), r2("path", { d: "M32.1824 0.345793H35.9043C36.6575 0.345793 37.2446 0.530411 37.6655 0.899647C38.0938 1.26888 38.308 1.77474 38.308 2.41721C38.308 2.89721 38.1972 3.31814 37.9757 3.68C37.7615 4.04185 37.4145 4.28923 36.9344 4.42216V4.44431C37.1634 4.48862 37.348 4.56247 37.4883 4.66586C37.636 4.76924 37.7505 4.89478 37.8317 5.04248C37.9203 5.18279 37.9831 5.34156 38.02 5.51879C38.0643 5.69602 38.0975 5.88064 38.1197 6.07264C38.1345 6.26465 38.1455 6.46034 38.1529 6.65973C38.1603 6.85912 38.1788 7.05481 38.2083 7.24681C38.2379 7.43882 38.2785 7.62344 38.3302 7.80067C38.3892 7.97052 38.4742 8.1219 38.5849 8.25483H37.4108C37.3369 8.1736 37.2852 8.06283 37.2557 7.92252C37.2335 7.78221 37.2188 7.62713 37.2114 7.45728C37.204 7.28005 37.1966 7.09174 37.1892 6.89235C37.1818 6.69296 37.1597 6.49727 37.1228 6.30526C37.0932 6.11326 37.0563 5.93234 37.012 5.76249C36.9677 5.58525 36.8975 5.43387 36.8015 5.30833C36.7055 5.1754 36.58 5.07201 36.4249 4.99817C36.2698 4.91694 36.063 4.87632 35.8046 4.87632H33.2347V8.25483H32.1824V0.345793ZM35.428 3.99015C35.6717 3.99015 35.9043 3.97169 36.1258 3.93477C36.3474 3.89784 36.5394 3.82769 36.7018 3.7243C36.8717 3.61353 37.0046 3.46953 37.1006 3.2923C37.204 3.10768 37.2557 2.87137 37.2557 2.58336C37.2557 2.18459 37.1449 1.85966 36.9234 1.60858C36.7018 1.3575 36.3437 1.23196 35.8489 1.23196H33.2347V3.99015H35.428Z", fill: "black" }), r2("path", { d: "M25.5214 0.345793H30.9824V1.23196H26.5737V3.74646H30.6833V4.63262H26.5737V7.36866H31.0157V8.25483H25.5214V0.345793Z", fill: "black" }), r2("path", { d: "M22.522 8.25483H21.4253L19.6198 1.60858H19.5976L17.7699 8.25483H16.6733L14.6461 0.345793H15.7206L17.2714 6.92558H17.2936L19.0659 0.345793H20.2068L21.957 6.92558H21.9792L23.5854 0.345793H24.6377L22.522 8.25483Z", fill: "black" }), r2("path", { d: "M7.68126 4.30031C7.68126 4.69909 7.73295 5.09417 7.83634 5.48556C7.93973 5.86957 8.10219 6.21665 8.32373 6.52681C8.54527 6.83696 8.82959 7.08804 9.17667 7.28005C9.52375 7.46466 9.93729 7.55697 10.4173 7.55697C10.8973 7.55697 11.3109 7.46466 11.6579 7.28005C12.005 7.08804 12.2893 6.83696 12.5109 6.52681C12.7324 6.21665 12.8949 5.86957 12.9983 5.48556C13.1016 5.09417 13.1533 4.69909 13.1533 4.30031C13.1533 3.90154 13.1016 3.51015 12.9983 3.12614C12.8949 2.73475 12.7324 2.38398 12.5109 2.07382C12.2893 1.76366 12.005 1.51627 11.6579 1.33165C11.3109 1.13965 10.8973 1.04365 10.4173 1.04365C9.93729 1.04365 9.52375 1.13965 9.17667 1.33165C8.82959 1.51627 8.54527 1.76366 8.32373 2.07382C8.10219 2.38398 7.93973 2.73475 7.83634 3.12614C7.73295 3.51015 7.68126 3.90154 7.68126 4.30031ZM6.62894 4.30031C6.62894 3.76123 6.70648 3.2443 6.86156 2.74952C7.02402 2.24736 7.26403 1.80428 7.58157 1.42027C7.89911 1.03626 8.29419 0.729799 8.76682 0.500872C9.23944 0.271946 9.7896 0.157483 10.4173 0.157483C11.045 0.157483 11.5952 0.271946 12.0678 0.500872C12.5404 0.729799 12.9355 1.03626 13.253 1.42027C13.5706 1.80428 13.8069 2.24736 13.962 2.74952C14.1244 3.2443 14.2057 3.76123 14.2057 4.30031C14.2057 4.8394 14.1244 5.36002 13.962 5.86218C13.8069 6.35696 13.5706 6.79635 13.253 7.18035C12.9355 7.56436 12.5404 7.87082 12.0678 8.09975C11.5952 8.32129 11.045 8.43206 10.4173 8.43206C9.7896 8.43206 9.23944 8.32129 8.76682 8.09975C8.29419 7.87082 7.89911 7.56436 7.58157 7.18035C7.26403 6.79635 7.02402 6.35696 6.86156 5.86218C6.70648 5.36002 6.62894 4.8394 6.62894 4.30031Z", fill: "black" }), r2("path", { d: "M1.05232 4.13416H3.11266C3.71082 4.14154 4.14652 4.01969 4.41975 3.76861C4.70037 3.51753 4.84068 3.15568 4.84068 2.68306C4.84068 2.21044 4.70037 1.85228 4.41975 1.60858C4.14652 1.3575 3.71082 1.23196 3.11266 1.23196H1.05232V4.13416ZM-1.37091e-06 0.345793H3.46713C4.26468 0.345793 4.86653 0.552565 5.27269 0.96611C5.68623 1.37227 5.89301 1.94459 5.89301 2.68306C5.89301 3.42153 5.68623 3.99754 5.27269 4.41108C4.86653 4.82463 4.26468 5.02771 3.46713 5.02032H1.05232V8.25483H-1.37091e-06V0.345793Z", fill: "black" })] }) }) }), r2("p", { class: "card-legal", children: "Donation gifts are provided at no cost to you by major donors and The Inspired Foundation." })] })] }), Qe = ({ greenProtectionEnabled: n2, freeGiftEnabled: e3, open: o3 }) => {
|
|
2419
|
+
}, Ge = () => r2("div", { class: "slide slide-one" }), Ye = () => r2("div", { class: "slide slide-two", children: [r2("p", { class: "title", children: "SHIPAID" }), r2("p", { class: "subtitle", children: "Direct Brand to Customer Promise" }), r2("p", { class: "desc", children: "We enable your favorite brands to provide a delivery guarantee because we know that every order is precious, and things happen! In case of any issues during transit, we offer a quick and easy method to report the problem directly to the brand, for a swift resolution." }), r2("p", { class: "legal", children: "By purchasing this delivery guarantee, you agree to our Terms Of Service and Privacy Policy. You are not obligated to purchase this guarantee. This guarantee is NOT insurance and does not provide indemnification against loss, damage, or liability arising from a contingent or unknown event, but rather, through ShipAid brands provide a delivery guarantee whereby if the product you ordered is not delivered in satisfactory condition, the brand from which you ordered the product may replace the product free of charge. ShipAid does not provide any products or services directly to consumers, but instead provides a service that allows brands to facilitate product replacement to their customers. Purchasing this guarantee does not mean that you will automatically be reimbursed for any product or shipping costs because the resolution process and decision for compensation is strictly decided by the brand you are purchasing from. The brand will require proof of damage or undelivered product." }), r2("div", { class: "footer", children: [r2("a", { href: "https://www.shipaid.com/terms-of-service", target: "_blank", children: "Terms of Service" }), r2("a", { href: "https://www.shipaid.com/privacy-policy", target: "_blank", children: "Privacy Policy" }), r2("p", { children: "ShipAid © 2025" })] })] }), Ke = () => r2("div", { class: "slide slide-three", children: [r2("p", { class: "title", children: "1 Order = 1 Tree" }), r2("div", { class: "info-bg", children: r2("div", { class: "info-section", children: [r2("div", { class: "info-left", children: [r2("p", { class: "info-title", children: "Protect your order & the environment" }), r2("p", { class: "info-desc", children: "Every SHIPAID purchase plants one tree to offset carbon impact and fight deforestation, verified." })] }), r2("div", { class: "info-right", children: [r2("img", { src: "https://storage.googleapis.com/shipaid-media-bucket/static/impact-logo-blue.svg", alt: "ShipAid Green Logo" }), r2("a", { href: "https://help.shipaid.com/en/article/what-does-the-shipaid-x-thegoodapi-partnership-offer-y4ecs/", target: "_blank", children: "Learn more" })] })] }) })] }), Je = () => r2("div", { class: "slide slide-four", children: [r2("div", { class: "content", children: [r2("p", { class: "title", children: "Kenya Mangroves" }), r2("p", { class: "subtitle", children: "Rebuilding Eastern Africa’s Ecosystems" }), r2("p", { class: "desc", children: ["Restoring mangroves to protect coastlines, support livelihoods, and rebuild ecosystems one tree at a time. Your order helps break the cycle of poverty, naturally. ", r2("a", { href: "https://thegoodapi.com/", target: "_blank", children: "Learn more" })] })] }), r2("div", { class: "footer", children: [r2("p", { children: "Powered by" }), r2("img", { src: "https://storage.cloud.google.com/shipaid-media-bucket/static/GoodApiLogo.svg", alt: "GoodAPI Logo" })] })] }), Ee = () => r2("div", { class: "slide slide-five", children: [r2("div", { class: "icons", children: r2("img", { src: "https://storage.googleapis.com/shipaid-media-bucket/static/inspired-icon-combo-black.png", alt: "Inspired Logo" }) }), r2("div", { className: "content", children: [r2("h3", { class: "card-title", children: "Unlock a Gift that Gives Back" }), r2("p", { class: "card-subtitle", children: "Opt-in to the delivery guarantee and unlock a free donation to a cause you love—on us." }), r2("p", { class: "card-note", children: "Watch for an email to pick a cause." })] }), r2("div", { className: "footer", children: [r2("div", { class: "powered", children: r2("span", { class: "logo-inspired", "aria-label": "INSPIRED", children: r2("svg", { width: "144", height: "9", viewBox: "0 0 144 9", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [r2("path", { d: "M91.0334 0.159698C92.1657 0.0239384 93.3063 -0.0254417 94.4455 0.0122371C96.7212 0.0122371 97.5427 0.122916 98.0949 0.513214C98.5621 0.844662 98.7502 1.35692 98.7502 2.32181V2.68997H96.4523C96.4275 2.24067 96.392 2.13053 96.215 2.02005C96.038 1.90964 95.723 1.87259 94.0353 1.87259C92.0183 1.87259 91.8547 1.92385 91.8547 2.52005C91.8547 2.82572 91.9614 2.98456 92.2092 3.04349C93.0411 3.15315 93.8794 3.20255 94.7179 3.19095C97.2982 3.27565 97.8052 3.33779 98.3078 3.66556C98.8103 3.99335 99.0471 4.58317 99.0471 5.71732C99.047 7.13136 98.7179 7.82737 97.9074 8.14407C97.4402 8.32821 96.4562 8.39114 94.1203 8.39114C91.6958 8.39114 90.7437 8.27991 90.1916 7.91165C89.6395 7.54341 89.4836 7.08351 89.4836 5.96048V5.56985L91.7765 5.57767C91.7766 6.06709 91.8234 6.22571 92.0109 6.3472C92.1985 6.46854 92.4936 6.51614 94.1701 6.51614C96.7249 6.51614 96.7248 6.51625 96.7248 5.79837C96.7248 5.30858 96.5518 5.18638 95.7873 5.17532L93.9113 5.10208L92.6437 5.03958L92.0109 5.01712C90.0784 4.95451 89.5334 4.44246 89.5334 2.64896C89.5335 1.09893 89.9541 0.402787 91.0334 0.159698ZM104.886 0.134307C105.604 0.103487 106.324 0.128001 107.038 0.208526C108.534 0.443683 108.965 1.11262 108.965 3.22903C108.965 5.05739 108.642 5.77399 107.692 6.13235C107.157 6.31897 106.615 6.3677 104.911 6.36771H102.076C102.049 6.36776 102.022 6.37327 101.996 6.38431C101.971 6.39542 101.947 6.41166 101.928 6.43216C101.909 6.45264 101.894 6.47776 101.884 6.50442C101.874 6.53105 101.868 6.55975 101.868 6.58841V8.39114H99.4543V0.134307H104.886ZM76.9894 8.39017H74.4601V0.141143L76.9894 0.133331V8.39017ZM88.6437 8.39017H84.4504L80.3244 2.6011C80.3032 2.57084 80.2737 2.54797 80.2394 2.53665C80.2051 2.52535 80.168 2.52557 80.134 2.53763C80.0999 2.54972 80.0705 2.57329 80.05 2.60403C80.0294 2.63483 80.0187 2.67204 80.0197 2.7095L80.0812 8.39017H77.6203V0.141143H81.8527L85.9387 5.91556C85.9609 5.94308 85.9912 5.96286 86.0246 5.9722C86.0578 5.98147 86.0928 5.97944 86.1252 5.96732C86.1577 5.9551 86.1863 5.9332 86.2062 5.90384C86.2261 5.8745 86.2363 5.83914 86.2365 5.80325L86.1828 0.133331H88.6437V8.39017ZM112.042 8.39017H109.53V0.141143L112.042 0.133331V8.39017ZM118.531 0.141143C119.25 0.110318 119.969 0.135844 120.684 0.216339C122.18 0.451495 122.611 1.11946 122.611 3.23587C122.61 4.78097 122.176 5.46028 121.387 5.66556L123.281 8.28958V0.141143L132.053 0.133331V2.07864H125.868C125.841 2.07815 125.813 2.08269 125.787 2.09329C125.762 2.10389 125.739 2.12018 125.719 2.14017C125.699 2.16032 125.683 2.18494 125.672 2.21146C125.662 2.23772 125.656 2.26601 125.656 2.29446V3.06009C125.656 3.08883 125.661 3.11757 125.672 3.14407C125.683 3.17055 125.699 3.19426 125.719 3.21439C125.739 3.23446 125.762 3.25063 125.787 3.26126C125.813 3.2719 125.841 3.27738 125.868 3.27689H131.74V5.09427H125.879C125.851 5.09377 125.824 5.09924 125.798 5.10989C125.772 5.12055 125.749 5.13663 125.73 5.15677C125.71 5.17692 125.693 5.20057 125.683 5.22708C125.672 5.25356 125.667 5.28236 125.667 5.31107V6.18802C125.667 6.21677 125.672 6.24549 125.683 6.272C125.693 6.29849 125.71 6.32218 125.73 6.34232C125.749 6.36241 125.772 6.37856 125.798 6.38919C125.824 6.39983 125.851 6.40531 125.879 6.40482H132.1V8.39017H120.576L119.142 6.37454H115.367C115.34 6.37408 115.312 6.37941 115.286 6.39017C115.26 6.40104 115.237 6.4175 115.217 6.43802C115.197 6.45857 115.182 6.48334 115.171 6.51028C115.161 6.53718 115.156 6.56625 115.156 6.59525V8.39017H112.745V0.141143H118.531ZM138.395 0.133331C140.414 0.133331 140.687 0.134134 141.365 0.29837C141.724 0.352973 142.061 0.512932 142.335 0.760284C142.609 1.00767 142.809 1.33184 142.911 1.69388C143.087 2.27611 143.138 2.79494 143.138 4.14212C143.138 6.29173 142.958 7.1283 142.377 7.69192C141.796 8.25555 141.067 8.39017 138.395 8.39017H132.676V0.133331H138.395ZM135.263 2.20169C135.208 2.20171 135.154 2.22458 135.115 2.26517C135.077 2.30574 135.055 2.36122 135.055 2.41849V6.06497C135.055 6.12233 135.076 6.17773 135.115 6.21829C135.154 6.25888 135.208 6.28175 135.263 6.28177H138.416C140.605 6.28177 140.759 6.15786 140.759 4.29153C140.759 3.27646 140.676 2.81709 140.44 2.54837C140.203 2.27977 139.869 2.20169 138.395 2.20169H135.263ZM102.076 2.20169C102.021 2.20181 101.969 2.22485 101.93 2.26517C101.891 2.30574 101.868 2.36111 101.868 2.41849V4.08743C101.868 4.14468 101.891 4.19927 101.93 4.23978C101.969 4.28027 102.021 4.30313 102.076 4.30325H104.886C106.004 4.30325 106.052 4.30356 106.252 4.16946C106.453 4.03512 106.55 3.79607 106.55 3.22903C106.55 2.66167 106.442 2.38513 106.134 2.27689C105.969 2.21349 105.944 2.21288 104.886 2.20169H102.076ZM115.367 2.20169C115.34 2.20123 115.313 2.20675 115.287 2.21732C115.262 2.22795 115.238 2.24313 115.218 2.26321C115.198 2.28337 115.183 2.30799 115.172 2.3345C115.161 2.36098 115.156 2.38979 115.156 2.41849V4.08646C115.156 4.1152 115.161 4.14393 115.172 4.17044C115.183 4.19682 115.198 4.22067 115.218 4.24075C115.238 4.26091 115.262 4.27697 115.287 4.28763C115.313 4.29817 115.34 4.30371 115.367 4.30325H118.531C119.651 4.29205 119.673 4.31779 119.899 4.16849C120.125 4.01919 120.196 3.80649 120.196 3.22806C120.196 2.6496 120.089 2.38418 119.78 2.27591C119.608 2.20126 119.608 2.20169 118.531 2.20169H115.367Z", fill: "black" }), r2("path", { d: "M67.7164 5.02032V8.25483H66.6641V5.02032L63.6068 0.345793H64.8586L67.2291 4.112L69.5442 0.345793H70.7405L67.7164 5.02032Z", fill: "black" }), r2("path", { d: "M58.0288 3.74646H60.1334C60.7316 3.74646 61.1599 3.64307 61.4183 3.4363C61.6842 3.22214 61.8171 2.9046 61.8171 2.48367C61.8171 2.20305 61.7728 1.98151 61.6842 1.81905C61.5956 1.65658 61.4737 1.53104 61.3187 1.44242C61.1636 1.35381 60.9826 1.29842 60.7759 1.27627C60.5765 1.24673 60.3623 1.23196 60.1334 1.23196H58.0288V3.74646ZM56.9764 0.345793H59.8454C60.0152 0.345793 60.1962 0.349486 60.3882 0.35687C60.5876 0.35687 60.7833 0.367947 60.9753 0.390102C61.1673 0.404871 61.3445 0.430718 61.507 0.467642C61.6768 0.504565 61.8208 0.559951 61.939 0.633798C62.1974 0.788877 62.4153 1.00303 62.5925 1.27627C62.7771 1.5495 62.8694 1.88551 62.8694 2.28428C62.8694 2.70521 62.7661 3.07076 62.5593 3.38091C62.3599 3.68369 62.0719 3.90892 61.6953 4.05662V4.07877C62.1827 4.18216 62.5556 4.4037 62.8141 4.74339C63.0725 5.08309 63.2018 5.49664 63.2018 5.98403C63.2018 6.27203 63.1501 6.55265 63.0467 6.82589C62.9433 7.09912 62.7882 7.34282 62.5814 7.55697C62.3821 7.76375 62.131 7.93359 61.8282 8.06652C61.5328 8.19206 61.1894 8.25483 60.798 8.25483H56.9764V0.345793ZM58.0288 7.36866H60.6651C61.1303 7.36866 61.4922 7.24312 61.7507 6.99204C62.0165 6.74096 62.1494 6.39388 62.1494 5.9508C62.1494 5.69233 62.1014 5.47817 62.0054 5.30833C61.9094 5.13848 61.7802 5.00555 61.6177 4.90955C61.4627 4.80616 61.2817 4.73601 61.075 4.69909C60.8682 4.65478 60.654 4.63262 60.4325 4.63262H58.0288V7.36866Z", fill: "black" }), r2("path", { d: "M47.3679 7.36866H49.1181C49.2363 7.36866 49.384 7.36128 49.5612 7.34651C49.7384 7.32435 49.9267 7.28005 50.1261 7.21358C50.3255 7.13974 50.5212 7.03635 50.7132 6.90343C50.9126 6.7705 51.0898 6.58957 51.2449 6.36065C51.4 6.13172 51.5255 5.84741 51.6215 5.50771C51.7249 5.16063 51.7766 4.74339 51.7766 4.256C51.7766 3.78338 51.7286 3.36245 51.6326 2.99322C51.544 2.61659 51.3926 2.29905 51.1784 2.04059C50.9717 1.77474 50.7021 1.57535 50.3698 1.44242C50.0375 1.30212 49.6277 1.23196 49.1403 1.23196H47.3679V7.36866ZM46.3156 0.345793H49.0295C50.248 0.345793 51.1858 0.655952 51.8431 1.27627C52.5003 1.89658 52.8289 2.84183 52.8289 4.112C52.8289 4.77663 52.7551 5.3674 52.6074 5.88433C52.4597 6.39388 52.2308 6.82589 51.9206 7.18035C51.6105 7.52743 51.2154 7.79328 50.7354 7.9779C50.2554 8.16252 49.6867 8.25483 49.0295 8.25483H46.3156V0.345793Z", fill: "black" }), r2("path", { d: "M39.6547 0.345793H45.1157V1.23196H40.707V3.74646H44.8166V4.63262H40.707V7.36866H45.1489V8.25483H39.6547V0.345793Z", fill: "black" }), r2("path", { d: "M32.1824 0.345793H35.9043C36.6575 0.345793 37.2446 0.530411 37.6655 0.899647C38.0938 1.26888 38.308 1.77474 38.308 2.41721C38.308 2.89721 38.1972 3.31814 37.9757 3.68C37.7615 4.04185 37.4145 4.28923 36.9344 4.42216V4.44431C37.1634 4.48862 37.348 4.56247 37.4883 4.66586C37.636 4.76924 37.7505 4.89478 37.8317 5.04248C37.9203 5.18279 37.9831 5.34156 38.02 5.51879C38.0643 5.69602 38.0975 5.88064 38.1197 6.07264C38.1345 6.26465 38.1455 6.46034 38.1529 6.65973C38.1603 6.85912 38.1788 7.05481 38.2083 7.24681C38.2379 7.43882 38.2785 7.62344 38.3302 7.80067C38.3892 7.97052 38.4742 8.1219 38.5849 8.25483H37.4108C37.3369 8.1736 37.2852 8.06283 37.2557 7.92252C37.2335 7.78221 37.2188 7.62713 37.2114 7.45728C37.204 7.28005 37.1966 7.09174 37.1892 6.89235C37.1818 6.69296 37.1597 6.49727 37.1228 6.30526C37.0932 6.11326 37.0563 5.93234 37.012 5.76249C36.9677 5.58525 36.8975 5.43387 36.8015 5.30833C36.7055 5.1754 36.58 5.07201 36.4249 4.99817C36.2698 4.91694 36.063 4.87632 35.8046 4.87632H33.2347V8.25483H32.1824V0.345793ZM35.428 3.99015C35.6717 3.99015 35.9043 3.97169 36.1258 3.93477C36.3474 3.89784 36.5394 3.82769 36.7018 3.7243C36.8717 3.61353 37.0046 3.46953 37.1006 3.2923C37.204 3.10768 37.2557 2.87137 37.2557 2.58336C37.2557 2.18459 37.1449 1.85966 36.9234 1.60858C36.7018 1.3575 36.3437 1.23196 35.8489 1.23196H33.2347V3.99015H35.428Z", fill: "black" }), r2("path", { d: "M25.5214 0.345793H30.9824V1.23196H26.5737V3.74646H30.6833V4.63262H26.5737V7.36866H31.0157V8.25483H25.5214V0.345793Z", fill: "black" }), r2("path", { d: "M22.522 8.25483H21.4253L19.6198 1.60858H19.5976L17.7699 8.25483H16.6733L14.6461 0.345793H15.7206L17.2714 6.92558H17.2936L19.0659 0.345793H20.2068L21.957 6.92558H21.9792L23.5854 0.345793H24.6377L22.522 8.25483Z", fill: "black" }), r2("path", { d: "M7.68126 4.30031C7.68126 4.69909 7.73295 5.09417 7.83634 5.48556C7.93973 5.86957 8.10219 6.21665 8.32373 6.52681C8.54527 6.83696 8.82959 7.08804 9.17667 7.28005C9.52375 7.46466 9.93729 7.55697 10.4173 7.55697C10.8973 7.55697 11.3109 7.46466 11.6579 7.28005C12.005 7.08804 12.2893 6.83696 12.5109 6.52681C12.7324 6.21665 12.8949 5.86957 12.9983 5.48556C13.1016 5.09417 13.1533 4.69909 13.1533 4.30031C13.1533 3.90154 13.1016 3.51015 12.9983 3.12614C12.8949 2.73475 12.7324 2.38398 12.5109 2.07382C12.2893 1.76366 12.005 1.51627 11.6579 1.33165C11.3109 1.13965 10.8973 1.04365 10.4173 1.04365C9.93729 1.04365 9.52375 1.13965 9.17667 1.33165C8.82959 1.51627 8.54527 1.76366 8.32373 2.07382C8.10219 2.38398 7.93973 2.73475 7.83634 3.12614C7.73295 3.51015 7.68126 3.90154 7.68126 4.30031ZM6.62894 4.30031C6.62894 3.76123 6.70648 3.2443 6.86156 2.74952C7.02402 2.24736 7.26403 1.80428 7.58157 1.42027C7.89911 1.03626 8.29419 0.729799 8.76682 0.500872C9.23944 0.271946 9.7896 0.157483 10.4173 0.157483C11.045 0.157483 11.5952 0.271946 12.0678 0.500872C12.5404 0.729799 12.9355 1.03626 13.253 1.42027C13.5706 1.80428 13.8069 2.24736 13.962 2.74952C14.1244 3.2443 14.2057 3.76123 14.2057 4.30031C14.2057 4.8394 14.1244 5.36002 13.962 5.86218C13.8069 6.35696 13.5706 6.79635 13.253 7.18035C12.9355 7.56436 12.5404 7.87082 12.0678 8.09975C11.5952 8.32129 11.045 8.43206 10.4173 8.43206C9.7896 8.43206 9.23944 8.32129 8.76682 8.09975C8.29419 7.87082 7.89911 7.56436 7.58157 7.18035C7.26403 6.79635 7.02402 6.35696 6.86156 5.86218C6.70648 5.36002 6.62894 4.8394 6.62894 4.30031Z", fill: "black" }), r2("path", { d: "M1.05232 4.13416H3.11266C3.71082 4.14154 4.14652 4.01969 4.41975 3.76861C4.70037 3.51753 4.84068 3.15568 4.84068 2.68306C4.84068 2.21044 4.70037 1.85228 4.41975 1.60858C4.14652 1.3575 3.71082 1.23196 3.11266 1.23196H1.05232V4.13416ZM-1.37091e-06 0.345793H3.46713C4.26468 0.345793 4.86653 0.552565 5.27269 0.96611C5.68623 1.37227 5.89301 1.94459 5.89301 2.68306C5.89301 3.42153 5.68623 3.99754 5.27269 4.41108C4.86653 4.82463 4.26468 5.02771 3.46713 5.02032H1.05232V8.25483H-1.37091e-06V0.345793Z", fill: "black" })] }) }) }), r2("p", { class: "card-legal", children: "Donation gifts are provided at no cost to you by major donors and The Inspired Foundation." })] })] }), Qe = ({ greenProtectionEnabled: n2, freeGiftEnabled: e3, open: o3 }) => {
|
|
2420
2420
|
const [a2, i3] = P2(o3), [l2, d2] = P2(0), s3 = [r2(Ge, {}), r2(Ye, {})];
|
|
2421
2421
|
n2 ? (s3.push(r2(Ke, {})), e3 && s3.push(r2(Ee, {})), s3.push(r2(Je, {}))) : e3 && s3.push(r2(Ee, {})), Se(() => {
|
|
2422
2422
|
const _2 = () => {
|
|
@@ -3509,7 +3509,7 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
|
|
|
3509
3509
|
body: raw
|
|
3510
3510
|
};
|
|
3511
3511
|
const response = await fetch(
|
|
3512
|
-
`https://${this.storeDomain}/api/2025-
|
|
3512
|
+
`https://${this.storeDomain}/api/2025-04/graphql.json`,
|
|
3513
3513
|
requestOptions
|
|
3514
3514
|
);
|
|
3515
3515
|
if (!response.ok) {
|
|
@@ -6762,12 +6762,14 @@ class ShipAidCheckoutPlus extends s$1 {
|
|
|
6762
6762
|
this.dispatchEvent(new CustomEvent(SHIPAID_EVENTS.CART_UPDATED, cartEventOptions));
|
|
6763
6763
|
}
|
|
6764
6764
|
render() {
|
|
6765
|
-
var _a, _b, _c, _d, _e;
|
|
6765
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
6766
6766
|
if (!this._hasFinishedSetup || !this._shouldShowWidget() || !this._hasCheckoutButtons) return A;
|
|
6767
6767
|
const isGreen = Boolean((_b = (_a = this._store) == null ? void 0 : _a.greenProtection) == null ? void 0 : _b.enabled);
|
|
6768
6768
|
const isFreeGiftEnabled = Boolean((_d = (_c = this._store) == null ? void 0 : _c.freeGifts) == null ? void 0 : _d.enabled);
|
|
6769
6769
|
const iconImg = isGreen || isFreeGiftEnabled ? ShipAidImpactIcon : ShipAidBlueIcon;
|
|
6770
6770
|
const price = ((_e = this._protectionVariant) == null ? void 0 : _e.price) ? this._currencyFormat(this._protectionVariant.price) : null;
|
|
6771
|
+
const customStyles = ((_g = (_f = this._store) == null ? void 0 : _f.checkoutPlus) == null ? void 0 : _g.styles) || {};
|
|
6772
|
+
const customCss = Object.entries(customStyles).map(([key, value]) => `${key}: ${value};`).join("\n");
|
|
6771
6773
|
const styles2 = x`<style>
|
|
6772
6774
|
:host {
|
|
6773
6775
|
--cp-border:#111;
|
|
@@ -6785,6 +6787,7 @@ class ShipAidCheckoutPlus extends s$1 {
|
|
|
6785
6787
|
--cp-primary-border-color: initial;
|
|
6786
6788
|
--cp-primary-border-width: initial;
|
|
6787
6789
|
width: 100%;
|
|
6790
|
+
${customCss || ""}
|
|
6788
6791
|
}
|
|
6789
6792
|
.cp-container {
|
|
6790
6793
|
border: 2px solid var(--cp-primary-bg, var(--cp-border));
|