ui.shipaid.com 0.3.121 → 0.3.122

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 CHANGED
@@ -388,7 +388,7 @@ const D = (t2, i3, s3) => {
388
388
  * Copyright 2017 Google LLC
389
389
  * SPDX-License-Identifier: BSD-3-Clause
390
390
  */
391
- const t$1 = { CHILD: 2 }, e$4 = (t2) => (...e3) => ({ _$litDirective$: t2, values: e3 });
391
+ const t$1 = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, e$4 = (t2) => (...e3) => ({ _$litDirective$: t2, values: e3 });
392
392
  let i$1 = class i {
393
393
  constructor(t2) {
394
394
  }
@@ -2624,27 +2624,6 @@ const CheckmarkIcon = x`
2624
2624
  />
2625
2625
  </svg>
2626
2626
  `;
2627
- x`
2628
- <svg
2629
- id="Layer_1"
2630
- data-name="Layer 1"
2631
- xmlns="http://www.w3.org/2000/svg"
2632
- viewBox="0 0 2000 1298.39"
2633
- >
2634
- <defs>
2635
- <style>
2636
- .cls-1 {
2637
- fill: #406c20;
2638
- }
2639
- </style>
2640
- </defs>
2641
- <path
2642
- class="cls-1"
2643
- d="M1991.63,669.27,1443.91,353.05a16.74,16.74,0,0,0-16.74,0l-418.8,241.79a16.74,16.74,0,0,1-16.74,0L572.83,353.05a16.74,16.74,0,0,0-16.74,0L8.37,669.27A16.74,16.74,0,0,0,0,683.77v632.46a16.74,16.74,0,0,0,8.37,14.5L556.09,1647a16.74,16.74,0,0,0,16.74,0l418.8-241.79a16.74,16.74,0,0,1,16.74,0L1427.17,1647a16.74,16.74,0,0,0,16.74,0l547.72-316.22a16.74,16.74,0,0,0,8.37-14.5V683.77A16.74,16.74,0,0,0,1991.63,669.27Zm-1645.76,54L556.09,601.92a16.74,16.74,0,0,1,16.74,0L783.05,723.3a16.73,16.73,0,0,1,0,29L572.83,873.65a16.74,16.74,0,0,1-16.74,0L345.87,752.28A16.73,16.73,0,0,1,345.87,723.3Zm1308.26,553.4-210.22,121.38a16.74,16.74,0,0,1-16.74,0L1217,1276.7a16.73,16.73,0,0,1,0-29l210.22-121.37a16.74,16.74,0,0,1,16.74,0l210.22,121.37A16.73,16.73,0,0,1,1654.13,1276.7Zm112.19-239.91a16.73,16.73,0,0,1-25.1,14.49L1443.91,879.63a16.74,16.74,0,0,0-16.74,0L572.83,1373.12a16.74,16.74,0,0,1-16.74,0l-314-181.31a16.74,16.74,0,0,1-8.37-14.5V963.21a16.73,16.73,0,0,1,25.1-14.49l297.31,171.65a16.74,16.74,0,0,0,16.74,0l854.34-493.49a16.74,16.74,0,0,1,16.74,0l314,181.31a16.74,16.74,0,0,1,8.37,14.5Z"
2644
- transform="translate(0 -350.8)"
2645
- />
2646
- </svg>
2647
- `;
2648
2627
  const ShipAidLogo = x`
2649
2628
  <svg
2650
2629
  id="Layer_1"
@@ -2666,28 +2645,6 @@ const ShipAidLogo = x`
2666
2645
  />
2667
2646
  </svg>
2668
2647
  `;
2669
- x`
2670
- <svg
2671
- version="1.0"
2672
- width="2rem"
2673
- height="2rem"
2674
- viewBox="0 0 500.000000 500.000000"
2675
- preserveAspectRatio="xMidYMid meet"
2676
- >
2677
- <g
2678
- transform="translate(0.000000,500.000000) scale(0.100000,-0.100000)"
2679
- fill="#0056d6"
2680
- stroke="none"
2681
- >
2682
- <path
2683
- d="M2465 4855 c-5 -2 -446 -142 -979 -312 -534 -169 -984 -317 -1000 -328 -17 -11 -41 -36 -54 -55 -24 -35 -24 -37 -18 -210 9 -274 84 -1236 170 -2176 37 -401 43 -430 103 -489 25 -24 1389 -912 1702 -1107 93 -59 125 -61 202 -15 30 18 429 275 888 572 647 418 840 547 862 578 15 21 32 62 38 90 16 83 148 1610 191 2202 11 160 21 342 23 405 2 104 0 118 -21 151 -12 21 -34 45 -49 54 -34 23 -1989 645 -2022 644 -14 0 -30 -2 -36 -4z m135 -345 c30 -11 393 -125 805 -255 413 -130 768 -242 791 -250 22 -9 54 -29 70 -46 l29 -30 -1 -182 c-1 -218 -36 -669 -135 -1747 -42 -461 -47 -488 -95 -532 -11 -9 -359 -235 -774 -503 -714 -460 -757 -486 -795 -483 -33 3 -167 85 -775 477 -404 260 -750 484 -768 498 -47 35 -70 89 -81 190 -25 219 -118 1328 -151 1781 -26 368 -26 467 0 509 10 18 29 39 42 47 13 8 374 126 803 261 429 135 812 257 850 270 75 27 95 26 185 -5z"
2684
- />
2685
- <path
2686
- d="M2340 3816 c-252 -140 -776 -446 -797 -465 -17 -14 -23 -31 -23 -61 0 -30 6 -47 23 -62 26 -23 775 -457 862 -499 33 -16 76 -29 95 -29 48 0 90 22 440 224 l305 176 3 -427 c1 -235 -1 -430 -5 -434 -5 -4 -161 -96 -348 -204 l-340 -196 -60 3 c-58 4 -75 12 -388 192 -251 144 -331 195 -342 217 -12 22 -15 79 -15 291 0 145 -4 268 -8 275 -13 20 -253 153 -278 153 -13 0 -28 -9 -34 -19 -17 -32 -14 -843 4 -884 12 -28 75 -68 507 -317 l494 -285 65 0 65 0 495 286 c481 278 495 287 508 324 10 30 12 167 10 616 -3 548 -4 578 -22 598 -30 33 -297 183 -317 178 -9 -3 -138 -74 -286 -160 -393 -227 -401 -230 -466 -225 -45 4 -78 18 -200 89 -144 82 -164 101 -153 137 3 9 75 56 159 105 141 81 156 87 207 87 43 0 66 -7 105 -30 28 -16 60 -30 71 -30 23 0 236 119 268 150 34 33 13 54 -157 153 -291 169 -278 167 -447 73z"
2687
- />
2688
- </g>
2689
- </svg>
2690
- `;
2691
2648
  const ShipAidLogoText = x`
2692
2649
  <svg
2693
2650
  width="50.000000pt"
@@ -2773,271 +2730,6 @@ const ShipAidLogoText = x`
2773
2730
  </g>
2774
2731
  </svg>
2775
2732
  `;
2776
- x`
2777
- <svg
2778
- viewBox="-25 -40 470 125"
2779
- version="1.1"
2780
- xml:space="preserve"
2781
- style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"
2782
- >
2783
- <g transform="matrix(1,0,0,1,-45.4439,-231.396)">
2784
- <g transform="matrix(1,0,0,1,41.8553,292.5)">
2785
- <g>
2786
- <path
2787
- d="M25.484,0.536C36.161,0.536 47.828,-4.755 47.646,-17.047C47.646,-37.958 14.089,-31.047 14.177,-43.427C14.089,-47.646 18.036,-51.328 25.125,-51.328C31.318,-51.328 34.724,-50.068 39.302,-47.646C40.021,-47.286 40.828,-47.021 41.547,-47.021C43.88,-47.021 46.12,-48.995 46.12,-51.505C46.214,-53.391 45.047,-54.734 43.88,-55.453C39.75,-58.234 31.854,-61.104 25.125,-61.104C13.729,-61.104 3.589,-55.094 3.589,-42.979C3.589,-20.995 37.146,-27.906 37.146,-16.333C37.146,-11.932 32.214,-8.885 25.036,-9.062C19.474,-9.151 15.432,-11.036 11.667,-12.922C10.859,-13.37 9.87,-13.547 9.422,-13.547C6.911,-13.547 4.484,-11.484 4.396,-8.526C4.307,-6.729 5.385,-5.292 6.818,-4.307C10.766,-1.703 18.125,0.63 25.484,0.536Z"
2788
- style="fill:rgb(0,86,214);fill-rule:nonzero;"
2789
- />
2790
- </g>
2791
- </g>
2792
- <g transform="matrix(1,0,0,1,111.569,292.5)">
2793
- <g>
2794
- <path
2795
- d="M48.901,-60.656C45.943,-60.656 43.609,-58.234 43.609,-55.365L43.609,-34.547L16.87,-34.547L16.87,-55.365C16.87,-58.234 14.536,-60.656 11.573,-60.656C8.703,-60.656 6.281,-58.234 6.281,-55.365L6.281,-5.292C6.281,-2.333 8.703,0 11.573,0C14.536,0 16.87,-2.333 16.87,-5.292L16.87,-24.943L43.609,-24.943L43.609,-5.292C43.609,-2.333 45.943,0 48.901,0C51.776,0 54.198,-2.333 54.198,-5.292L54.198,-55.365C54.198,-58.234 51.776,-60.656 48.901,-60.656Z"
2796
- style="fill:rgb(0,86,214);fill-rule:nonzero;"
2797
- />
2798
- </g>
2799
- </g>
2800
- <g transform="matrix(1,0,0,1,190.435,292.5)">
2801
- <g>
2802
- <path
2803
- d="M11.573,0C14.536,0 16.87,-2.333 16.87,-5.292L16.87,-55.365C16.87,-58.234 14.536,-60.656 11.573,-60.656C8.703,-60.656 6.281,-58.234 6.281,-55.365L6.281,-5.292C6.281,-2.333 8.703,0 11.573,0Z"
2804
- style="fill:rgb(0,86,214);fill-rule:nonzero;"
2805
- />
2806
- </g>
2807
- </g>
2808
- <g transform="matrix(1,0,0,1,232.067,292.5)">
2809
- <g>
2810
- <path
2811
- d="M25.125,-60.656L11.573,-60.656C8.703,-60.656 6.281,-58.234 6.281,-55.365L6.281,-5.292C6.281,-2.333 8.703,0 11.573,0C14.536,0 16.87,-2.333 16.87,-5.292L16.87,-23.151L25.125,-23.151C35.714,-23.151 44.328,-30.865 44.328,-41.906C44.328,-52.849 35.714,-60.656 25.125,-60.656ZM24.766,-32.844L16.87,-32.844L16.87,-50.969L24.766,-50.969C29.703,-50.969 33.74,-47.198 33.74,-41.906C33.74,-36.521 29.703,-32.844 24.766,-32.844Z"
2812
- style="fill:rgb(0,86,214);fill-rule:nonzero;"
2813
- />
2814
- </g>
2815
- </g>
2816
- <g transform="matrix(1,0,0,1,298.418,292.5)">
2817
- <g>
2818
- <path
2819
- d="M54.198,-4.844L32.214,-58.417C31.583,-59.849 30.151,-60.839 28.536,-60.745C26.917,-60.839 25.396,-59.849 24.854,-58.417L2.87,-4.844C2.063,-2.87 3.052,-0.63 4.938,0.089C6.729,0.896 9.063,0.177 9.87,-1.974L15.255,-15.344L41.724,-15.344L47.109,-1.974C47.917,-0.089 50.161,0.99 52.135,0.089C54.016,-0.63 54.917,-2.964 54.198,-4.844ZM18.125,-22.432L28.536,-48.276L38.854,-22.432L18.125,-22.432Z"
2820
- style="fill:rgb(47,52,61);fill-rule:nonzero;"
2821
- />
2822
- </g>
2823
- </g>
2824
- <g transform="matrix(1,0,0,1,373.874,292.5)">
2825
- <g>
2826
- <path
2827
- d="M10.318,0C12.474,0 14.177,-1.703 14.177,-3.859L14.177,-56.797C14.177,-58.865 12.474,-60.656 10.318,-60.656C8.167,-60.656 6.458,-58.865 6.458,-56.797L6.458,-3.859C6.458,-1.703 8.167,0 10.318,0Z"
2828
- style="fill:rgb(47,52,61);fill-rule:nonzero;"
2829
- />
2830
- </g>
2831
- </g>
2832
- <g transform="matrix(1,0,0,1,412.904,292.5)">
2833
- <g>
2834
- <path
2835
- d="M24.854,-60.656L10.318,-60.656C8.167,-60.656 6.458,-58.865 6.458,-56.797L6.458,-3.859C6.458,-1.703 8.167,0 10.318,0L24.854,0C41.724,0 55.005,-12.38 55.005,-30.328C55.005,-48.187 41.724,-60.656 24.854,-60.656ZM24.854,-7.089L14.177,-7.089L14.177,-53.568L24.854,-53.568C37.417,-53.568 47.286,-44.057 47.286,-30.328C47.286,-16.51 37.417,-7.089 24.854,-7.089Z"
2836
- style="fill:rgb(47,52,61);fill-rule:nonzero;"
2837
- />
2838
- </g>
2839
- </g>
2840
- <path
2841
- d="M255.854,234.453C247.292,234.453 240.354,241.391 240.354,249.953C240.354,258.51 247.292,265.453 255.854,265.453C264.417,265.453 271.354,258.51 271.354,249.953C271.354,241.391 264.417,234.453 255.854,234.453ZM253.01,257.911L246.188,251.089L248.458,248.813L253.01,253.365L263.25,243.125L265.521,245.401L253.01,257.911Z"
2842
- style="fill:rgb(0,86,214);fill-rule:nonzero;"
2843
- />
2844
- <path
2845
- d="M270.385,238.443L256.297,233.974C256.005,233.88 255.698,233.88 255.406,233.974L241.318,238.443C240.745,238.599 240.354,239.12 240.354,239.714C240.552,244.578 241.917,259.135 241.917,259.135C241.958,259.693 242.26,260.193 242.729,260.5L255.365,268.646C255.661,268.833 256.042,268.833 256.339,268.646L268.974,260.5C269.443,260.193 269.745,259.693 269.786,259.135C269.786,259.135 271.151,244.578 271.349,239.714C271.349,239.12 270.958,238.599 270.385,238.443"
2846
- style="fill:rgb(0,86,214);fill-rule:nonzero;"
2847
- />
2848
- <path
2849
- d="M266.224,245.536C266.167,245.427 266.094,245.323 265.938,245.24L263.719,243.922C263.688,243.901 263.656,243.885 263.62,243.88C263.609,243.875 263.599,243.875 263.589,243.875C263.563,243.87 263.542,243.865 263.516,243.865C263.448,243.87 263.385,243.885 263.328,243.922L258.339,246.896L258.333,246.885L257.932,247.125C257.448,247.417 256.849,247.417 256.365,247.125L254.182,245.823C254.063,245.755 253.984,245.62 253.984,245.474C253.984,245.328 254.063,245.198 254.182,245.125L256.365,243.823C256.849,243.536 257.448,243.536 257.932,243.823L258.458,244.135C258.578,244.208 258.724,244.208 258.849,244.135L260.88,242.927C261,242.854 261.073,242.724 261.073,242.578C261.073,242.432 261,242.297 260.88,242.224L257.932,240.469C257.448,240.182 256.849,240.182 256.365,240.469L249.141,244.776C248.62,245.083 248.62,245.865 249.141,246.177L256.365,250.479C256.849,250.771 257.448,250.771 257.932,250.479L263.516,247.151L263.516,254.734L261.719,255.807L257.932,258.073C257.813,258.141 257.682,258.198 257.547,258.234C257.151,258.344 256.724,258.286 256.365,258.073L251.172,254.979C250.927,254.833 250.781,254.563 250.781,254.276L250.781,249.854C250.781,249.714 250.703,249.578 250.583,249.505L248.552,248.297C248.432,248.224 248.281,248.224 248.161,248.297C248.042,248.37 247.964,248.5 247.964,248.646L247.964,255.953C247.964,256.245 248.115,256.51 248.359,256.656L256.365,261.427C256.599,261.568 256.865,261.641 257.135,261.641L257.141,261.641C257.177,261.641 257.219,261.641 257.255,261.635C257.286,261.635 257.318,261.635 257.344,261.63C257.385,261.625 257.427,261.615 257.464,261.604C257.495,261.599 257.521,261.599 257.547,261.589C257.589,261.578 257.63,261.563 257.672,261.547C257.698,261.536 257.719,261.531 257.74,261.521C257.807,261.495 257.87,261.464 257.932,261.427L264.839,257.307L265.932,256.667C266.177,256.526 266.328,256.255 266.328,255.964L266.328,245.943C266.328,245.797 266.292,245.656 266.224,245.536"
2850
- style="fill:white;fill-rule:nonzero;"
2851
- />
2852
- <path
2853
- d="M257.911,238.047C257.677,237.911 257.417,237.833 257.146,237.833C256.88,237.833 256.615,237.911 256.38,238.047L246.734,243.797C246.25,244.089 245.953,244.62 245.953,245.198L245.953,256.698C245.953,257.276 246.25,257.807 246.734,258.094L256.38,263.844C256.62,263.99 256.885,264.063 257.156,264.063C257.432,264.063 257.698,263.99 257.932,263.849L267.536,258.12C268.021,257.833 268.323,257.302 268.323,256.724L268.323,253.401C268.318,253.255 268.396,253.125 268.516,253.052L270.563,251.833C270.682,251.76 270.828,251.76 270.953,251.833C271.073,251.906 271.146,252.036 271.146,252.182L271.146,258.37C271.146,258.635 271.083,258.896 270.964,259.13C270.932,259.281 270.771,259.458 270.542,259.646C270.536,259.651 270.531,259.651 270.526,259.656C269.948,260.12 268.995,260.599 268.823,260.703L257.932,267.193C257.693,267.339 257.411,267.411 257.13,267.411L257.12,267.411L257.12,267.406C256.859,267.401 256.604,267.328 256.38,267.193L243.927,259.771C243.443,259.479 243.146,258.948 243.146,258.37L243.146,243.526C243.146,243.266 243.177,243 243.286,242.776C243.302,242.719 243.453,242.432 243.766,242.198C243.885,242.12 244.089,242.01 244.286,241.891L256.349,234.703C256.589,234.557 256.865,234.484 257.146,234.49C257.427,234.484 257.703,234.557 257.948,234.703L269.078,241.339C269.104,241.354 269.12,241.37 269.146,241.391L269.286,241.474C269.661,241.682 270.255,241.995 270.578,242.25L270.604,242.271C270.609,242.271 270.615,242.276 270.62,242.276C270.63,242.286 270.635,242.297 270.646,242.307C270.766,242.411 270.865,242.531 270.943,242.661C270.948,242.667 270.948,242.667 270.948,242.672C271.078,242.896 271.146,243.151 271.146,243.411L271.146,248.849C271.146,248.995 271.073,249.125 270.953,249.198L268.906,250.417C268.786,250.49 268.635,250.49 268.516,250.417C268.396,250.344 268.318,250.214 268.318,250.068L268.318,245.167C268.318,244.589 268.021,244.052 267.536,243.766L257.911,238.047Z"
2854
- style="fill:rgb(0,86,214);fill-rule:nonzero;"
2855
- />
2856
- </g>
2857
- </svg>
2858
- `;
2859
- x`
2860
- <svg
2861
- viewBox="-25 -40 470 125"
2862
- version="1.1"
2863
- xml:space="preserve"
2864
- style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"
2865
- >
2866
- <g transform="matrix(1,0,0,1,-45.4439,-231.396)">
2867
- <g transform="matrix(1,0,0,1,41.8553,292.5)">
2868
- <g>
2869
- <path
2870
- d="M25.484,0.536C36.161,0.536 47.828,-4.755 47.646,-17.047C47.646,-37.958 14.089,-31.047 14.177,-43.427C14.089,-47.646 18.036,-51.328 25.125,-51.328C31.318,-51.328 34.724,-50.068 39.302,-47.646C40.021,-47.286 40.828,-47.021 41.547,-47.021C43.88,-47.021 46.12,-48.995 46.12,-51.505C46.214,-53.391 45.047,-54.734 43.88,-55.453C39.75,-58.234 31.854,-61.104 25.125,-61.104C13.729,-61.104 3.589,-55.094 3.589,-42.979C3.589,-20.995 37.146,-27.906 37.146,-16.333C37.146,-11.932 32.214,-8.885 25.036,-9.062C19.474,-9.151 15.432,-11.036 11.667,-12.922C10.859,-13.37 9.87,-13.547 9.422,-13.547C6.911,-13.547 4.484,-11.484 4.396,-8.526C4.307,-6.729 5.385,-5.292 6.818,-4.307C10.766,-1.703 18.125,0.63 25.484,0.536Z"
2871
- style="fill: #406c20;fill-rule:nonzero;"
2872
- />
2873
- </g>
2874
- </g>
2875
- <g transform="matrix(1,0,0,1,111.569,292.5)">
2876
- <g>
2877
- <path
2878
- d="M48.901,-60.656C45.943,-60.656 43.609,-58.234 43.609,-55.365L43.609,-34.547L16.87,-34.547L16.87,-55.365C16.87,-58.234 14.536,-60.656 11.573,-60.656C8.703,-60.656 6.281,-58.234 6.281,-55.365L6.281,-5.292C6.281,-2.333 8.703,0 11.573,0C14.536,0 16.87,-2.333 16.87,-5.292L16.87,-24.943L43.609,-24.943L43.609,-5.292C43.609,-2.333 45.943,0 48.901,0C51.776,0 54.198,-2.333 54.198,-5.292L54.198,-55.365C54.198,-58.234 51.776,-60.656 48.901,-60.656Z"
2879
- style="fill: #406c20;fill-rule:nonzero;"
2880
- />
2881
- </g>
2882
- </g>
2883
- <g transform="matrix(1,0,0,1,190.435,292.5)">
2884
- <g>
2885
- <path
2886
- d="M11.573,0C14.536,0 16.87,-2.333 16.87,-5.292L16.87,-55.365C16.87,-58.234 14.536,-60.656 11.573,-60.656C8.703,-60.656 6.281,-58.234 6.281,-55.365L6.281,-5.292C6.281,-2.333 8.703,0 11.573,0Z"
2887
- style="fill: #406c20;fill-rule:nonzero;"
2888
- />
2889
- </g>
2890
- </g>
2891
- <g transform="matrix(1,0,0,1,232.067,292.5)">
2892
- <g>
2893
- <path
2894
- d="M25.125,-60.656L11.573,-60.656C8.703,-60.656 6.281,-58.234 6.281,-55.365L6.281,-5.292C6.281,-2.333 8.703,0 11.573,0C14.536,0 16.87,-2.333 16.87,-5.292L16.87,-23.151L25.125,-23.151C35.714,-23.151 44.328,-30.865 44.328,-41.906C44.328,-52.849 35.714,-60.656 25.125,-60.656ZM24.766,-32.844L16.87,-32.844L16.87,-50.969L24.766,-50.969C29.703,-50.969 33.74,-47.198 33.74,-41.906C33.74,-36.521 29.703,-32.844 24.766,-32.844Z"
2895
- style="fill: #406c20;fill-rule:nonzero;"
2896
- />
2897
- </g>
2898
- </g>
2899
- <g transform="matrix(1,0,0,1,298.418,292.5)">
2900
- <g>
2901
- <path
2902
- d="M54.198,-4.844L32.214,-58.417C31.583,-59.849 30.151,-60.839 28.536,-60.745C26.917,-60.839 25.396,-59.849 24.854,-58.417L2.87,-4.844C2.063,-2.87 3.052,-0.63 4.938,0.089C6.729,0.896 9.063,0.177 9.87,-1.974L15.255,-15.344L41.724,-15.344L47.109,-1.974C47.917,-0.089 50.161,0.99 52.135,0.089C54.016,-0.63 54.917,-2.964 54.198,-4.844ZM18.125,-22.432L28.536,-48.276L38.854,-22.432L18.125,-22.432Z"
2903
- style="fill:rgb(47,52,61);fill-rule:nonzero;"
2904
- />
2905
- </g>
2906
- </g>
2907
- <g transform="matrix(1,0,0,1,373.874,292.5)">
2908
- <g>
2909
- <path
2910
- d="M10.318,0C12.474,0 14.177,-1.703 14.177,-3.859L14.177,-56.797C14.177,-58.865 12.474,-60.656 10.318,-60.656C8.167,-60.656 6.458,-58.865 6.458,-56.797L6.458,-3.859C6.458,-1.703 8.167,0 10.318,0Z"
2911
- style="fill:rgb(47,52,61);fill-rule:nonzero;"
2912
- />
2913
- </g>
2914
- </g>
2915
- <g transform="matrix(1,0,0,1,412.904,292.5)">
2916
- <g>
2917
- <path
2918
- d="M24.854,-60.656L10.318,-60.656C8.167,-60.656 6.458,-58.865 6.458,-56.797L6.458,-3.859C6.458,-1.703 8.167,0 10.318,0L24.854,0C41.724,0 55.005,-12.38 55.005,-30.328C55.005,-48.187 41.724,-60.656 24.854,-60.656ZM24.854,-7.089L14.177,-7.089L14.177,-53.568L24.854,-53.568C37.417,-53.568 47.286,-44.057 47.286,-30.328C47.286,-16.51 37.417,-7.089 24.854,-7.089Z"
2919
- style="fill:rgb(47,52,61);fill-rule:nonzero;"
2920
- />
2921
- </g>
2922
- </g>
2923
- <path
2924
- d="M255.854,234.453C247.292,234.453 240.354,241.391 240.354,249.953C240.354,258.51 247.292,265.453 255.854,265.453C264.417,265.453 271.354,258.51 271.354,249.953C271.354,241.391 264.417,234.453 255.854,234.453ZM253.01,257.911L246.188,251.089L248.458,248.813L253.01,253.365L263.25,243.125L265.521,245.401L253.01,257.911Z"
2925
- style="fill: #406c20;fill-rule:nonzero;"
2926
- />
2927
- <path
2928
- d="M270.385,238.443L256.297,233.974C256.005,233.88 255.698,233.88 255.406,233.974L241.318,238.443C240.745,238.599 240.354,239.12 240.354,239.714C240.552,244.578 241.917,259.135 241.917,259.135C241.958,259.693 242.26,260.193 242.729,260.5L255.365,268.646C255.661,268.833 256.042,268.833 256.339,268.646L268.974,260.5C269.443,260.193 269.745,259.693 269.786,259.135C269.786,259.135 271.151,244.578 271.349,239.714C271.349,239.12 270.958,238.599 270.385,238.443"
2929
- style="fill: #406c20;fill-rule:nonzero;"
2930
- />
2931
- <path
2932
- d="M266.224,245.536C266.167,245.427 266.094,245.323 265.938,245.24L263.719,243.922C263.688,243.901 263.656,243.885 263.62,243.88C263.609,243.875 263.599,243.875 263.589,243.875C263.563,243.87 263.542,243.865 263.516,243.865C263.448,243.87 263.385,243.885 263.328,243.922L258.339,246.896L258.333,246.885L257.932,247.125C257.448,247.417 256.849,247.417 256.365,247.125L254.182,245.823C254.063,245.755 253.984,245.62 253.984,245.474C253.984,245.328 254.063,245.198 254.182,245.125L256.365,243.823C256.849,243.536 257.448,243.536 257.932,243.823L258.458,244.135C258.578,244.208 258.724,244.208 258.849,244.135L260.88,242.927C261,242.854 261.073,242.724 261.073,242.578C261.073,242.432 261,242.297 260.88,242.224L257.932,240.469C257.448,240.182 256.849,240.182 256.365,240.469L249.141,244.776C248.62,245.083 248.62,245.865 249.141,246.177L256.365,250.479C256.849,250.771 257.448,250.771 257.932,250.479L263.516,247.151L263.516,254.734L261.719,255.807L257.932,258.073C257.813,258.141 257.682,258.198 257.547,258.234C257.151,258.344 256.724,258.286 256.365,258.073L251.172,254.979C250.927,254.833 250.781,254.563 250.781,254.276L250.781,249.854C250.781,249.714 250.703,249.578 250.583,249.505L248.552,248.297C248.432,248.224 248.281,248.224 248.161,248.297C248.042,248.37 247.964,248.5 247.964,248.646L247.964,255.953C247.964,256.245 248.115,256.51 248.359,256.656L256.365,261.427C256.599,261.568 256.865,261.641 257.135,261.641L257.141,261.641C257.177,261.641 257.219,261.641 257.255,261.635C257.286,261.635 257.318,261.635 257.344,261.63C257.385,261.625 257.427,261.615 257.464,261.604C257.495,261.599 257.521,261.599 257.547,261.589C257.589,261.578 257.63,261.563 257.672,261.547C257.698,261.536 257.719,261.531 257.74,261.521C257.807,261.495 257.87,261.464 257.932,261.427L264.839,257.307L265.932,256.667C266.177,256.526 266.328,256.255 266.328,255.964L266.328,245.943C266.328,245.797 266.292,245.656 266.224,245.536"
2933
- style="fill:white;fill-rule:nonzero;"
2934
- />
2935
- <path
2936
- d="M257.911,238.047C257.677,237.911 257.417,237.833 257.146,237.833C256.88,237.833 256.615,237.911 256.38,238.047L246.734,243.797C246.25,244.089 245.953,244.62 245.953,245.198L245.953,256.698C245.953,257.276 246.25,257.807 246.734,258.094L256.38,263.844C256.62,263.99 256.885,264.063 257.156,264.063C257.432,264.063 257.698,263.99 257.932,263.849L267.536,258.12C268.021,257.833 268.323,257.302 268.323,256.724L268.323,253.401C268.318,253.255 268.396,253.125 268.516,253.052L270.563,251.833C270.682,251.76 270.828,251.76 270.953,251.833C271.073,251.906 271.146,252.036 271.146,252.182L271.146,258.37C271.146,258.635 271.083,258.896 270.964,259.13C270.932,259.281 270.771,259.458 270.542,259.646C270.536,259.651 270.531,259.651 270.526,259.656C269.948,260.12 268.995,260.599 268.823,260.703L257.932,267.193C257.693,267.339 257.411,267.411 257.13,267.411L257.12,267.411L257.12,267.406C256.859,267.401 256.604,267.328 256.38,267.193L243.927,259.771C243.443,259.479 243.146,258.948 243.146,258.37L243.146,243.526C243.146,243.266 243.177,243 243.286,242.776C243.302,242.719 243.453,242.432 243.766,242.198C243.885,242.12 244.089,242.01 244.286,241.891L256.349,234.703C256.589,234.557 256.865,234.484 257.146,234.49C257.427,234.484 257.703,234.557 257.948,234.703L269.078,241.339C269.104,241.354 269.12,241.37 269.146,241.391L269.286,241.474C269.661,241.682 270.255,241.995 270.578,242.25L270.604,242.271C270.609,242.271 270.615,242.276 270.62,242.276C270.63,242.286 270.635,242.297 270.646,242.307C270.766,242.411 270.865,242.531 270.943,242.661C270.948,242.667 270.948,242.667 270.948,242.672C271.078,242.896 271.146,243.151 271.146,243.411L271.146,248.849C271.146,248.995 271.073,249.125 270.953,249.198L268.906,250.417C268.786,250.49 268.635,250.49 268.516,250.417C268.396,250.344 268.318,250.214 268.318,250.068L268.318,245.167C268.318,244.589 268.021,244.052 267.536,243.766L257.911,238.047Z"
2937
- style="fill: #406c20;fill-rule:nonzero;"
2938
- />
2939
- </g>
2940
- </svg>
2941
- `;
2942
- x`
2943
- <svg
2944
- version="1.0"
2945
- viewBox="0 0 500.000000 500.000000"
2946
- preserveAspectRatio="xMidYMid meet"
2947
- >
2948
- <g
2949
- transform="translate(0.000000,500.000000) scale(0.100000,-0.100000)"
2950
- fill="#0056d6"
2951
- stroke="none"
2952
- >
2953
- <path
2954
- d="M2157 4460 c-66 -17 -120 -51 -194 -121 -84 -82 -151 -115 -255 -129 -94 -12 -155 -38 -213 -91 -56 -52 -90 -107 -106 -174 -6 -27 -25 -76 -42 -108 -30 -57 -51 -78 -167 -170 -39 -31 -64 -61 -88 -108 -42 -81 -49 -147 -29 -264 18 -109 10 -179 -28 -255 -45 -89 -56 -131 -56 -212 -1 -93 18 -141 96 -242 69 -91 85 -135 94 -271 9 -127 28 -180 87 -245 46 -50 87 -78 167 -109 78 -32 146 -96 190 -178 46 -87 106 -149 176 -182 51 -24 68 -26 199 -28 138 -1 145 -3 205 -32 34 -17 82 -44 107 -61 25 -16 74 -37 110 -46 94 -24 171 -8 281 57 112 66 141 73 276 65 92 -5 121 -3 171 12 85 27 147 74 192 146 94 149 120 173 237 222 175 72 236 160 253 361 10 119 33 174 105 256 116 132 132 265 53 428 -40 83 -49 194 -23 299 33 133 -6 256 -110 345 -144 124 -170 161 -200 276 -44 169 -146 261 -320 289 -102 16 -148 41 -239 128 -95 92 -115 105 -186 126 -75 22 -137 20 -226 -9 -105 -34 -200 -34 -291 1 -76 28 -169 38 -226 24z m458 -430 c50 -6 126 -19 170 -31 100 -25 279 -112 366 -178 82 -62 202 -188 252 -264 248 -375 247 -855 -3 -1228 -54 -80 -206 -232 -285 -284 -136 -90 -286 -150 -439 -176 -105 -18 -351 -6 -451 21 -478 129 -815 565 -815 1055 0 484 328 918 795 1050 144 41 265 51 410 35z"
2955
- />
2956
- <path
2957
- d="M3045 3470 c-16 -4 -39 -11 -50 -18 -11 -6 -155 -159 -320 -341 -165 -181 -305 -330 -310 -330 -6 -1 -73 51 -150 115 -77 64 -156 123 -175 131 -67 29 -145 5 -194 -61 -25 -33 -29 -119 -7 -160 14 -26 398 -346 463 -386 46 -28 115 -27 159 3 37 25 719 763 750 812 23 36 25 114 5 153 -32 62 -104 96 -171 82z"
2958
- />
2959
- <path
2960
- d="M1445 1778 c-26 -78 -306 -1021 -303 -1023 2 -2 109 27 238 66 129 38 240 68 246 67 7 -2 83 -87 169 -190 87 -104 160 -188 164 -188 3 0 64 194 135 431 l129 431 -29 23 c-51 42 -110 56 -205 49 -210 -16 -386 80 -482 263 -40 76 -54 93 -62 71z"
2961
- />
2962
- <path
2963
- d="M3460 1677 c-95 -174 -295 -278 -481 -249 -41 6 -83 7 -114 1 -52 -10 -145 -63 -145 -84 0 -14 236 -802 247 -826 6 -13 45 28 168 177 88 106 166 193 173 193 7 1 117 -30 244 -68 128 -39 234 -68 237 -65 4 4 -275 945 -288 971 -4 8 -21 -13 -41 -50z"
2964
- />
2965
- </g>
2966
- </svg>
2967
- `;
2968
- x`
2969
- <svg
2970
- version="1.0"
2971
- viewBox="0 0 500.000000 500.000000"
2972
- preserveAspectRatio="xMidYMid meet"
2973
- >
2974
- <g
2975
- transform="translate(0.000000,500.000000) scale(0.100000,-0.100000)"
2976
- fill="#0056d6"
2977
- stroke="none"
2978
- >
2979
- <path
2980
- d="M2287 4490 c-650 -102 -1142 -559 -1295 -1205 -24 -100 -26 -128 -26 -315 0 -173 4 -220 22 -303 69 -311 206 -580 478 -940 185 -243 541 -680 814 -996 63 -74 133 -156 155 -182 29 -36 47 -49 65 -48 20 0 77 62 297 322 921 1092 1113 1383 1215 1844 32 143 32 421 0 580 -55 275 -184 539 -359 733 -231 256 -496 411 -843 491 -76 17 -133 22 -280 25 -102 1 -211 -1 -243 -6z m360 -241 c206 -23 416 -101 591 -221 102 -70 264 -233 330 -333 104 -157 177 -334 208 -508 25 -138 23 -355 -4 -484 -111 -516 -496 -902 -1012 -1015 -140 -31 -396 -30 -535 1 -382 86 -708 339 -883 686 -52 104 -95 228 -118 340 -25 126 -26 378 -1 495 56 263 175 481 361 666 291 289 659 418 1063 373z"
2981
- />
2982
- <path
2983
- d="M2400 4098 c-502 -34 -925 -417 -1027 -927 -22 -111 -19 -316 7 -441 93 -457 446 -806 907 -897 115 -22 319 -22 428 1 292 63 533 216 710 451 67 88 151 265 182 380 24 90 27 117 27 280 1 206 -11 275 -75 442 -79 203 -244 406 -429 525 -114 74 -167 100 -281 136 -154 50 -272 63 -449 50z m248 -277 c50 -29 92 -56 92 -59 0 -7 -684 -394 -705 -400 -16 -4 -268 118 -260 126 4 4 167 100 363 213 l357 207 30 -18 c17 -9 72 -41 123 -69z m428 -243 c79 -45 144 -85 144 -88 0 -3 -162 -86 -360 -182 l-360 -177 -140 66 c-78 37 -137 70 -133 74 13 13 687 389 697 389 5 0 73 -37 152 -82z m-1266 -303 l130 -65 0 -220 0 -219 79 -61 c44 -33 82 -60 85 -60 3 0 7 107 8 239 l3 238 148 -70 147 -70 0 -464 c0 -254 -2 -463 -4 -463 -3 0 -168 94 -368 209 l-363 209 -3 431 c-1 237 0 431 3 431 3 0 64 -29 135 -65z m1520 -363 l0 -429 -369 -211 c-203 -117 -372 -212 -375 -212 -3 0 -5 208 -4 462 l3 462 364 178 c201 98 368 178 373 178 4 0 8 -193 8 -428z"
2984
- />
2985
- </g>
2986
- </svg>
2987
- `;
2988
- x`
2989
- <svg
2990
- version="1.0"
2991
- viewBox="0 0 500.000000 500.000000"
2992
- preserveAspectRatio="xMidYMid meet"
2993
- >
2994
- <g
2995
- transform="translate(0.000000,500.000000) scale(0.100000,-0.100000)"
2996
- fill="#0056d6"
2997
- stroke="none"
2998
- >
2999
- <path
3000
- d="M1314 3708 c-92 -106 -174 -201 -182 -210 -14 -17 17 -18 636 -18 l652 0 0 210 0 210 -469 0 -469 0 -168 -192z"
3001
- />
3002
- <path
3003
- d="M2570 3690 l0 -210 645 0 c355 0 645 2 645 5 0 7 -257 303 -319 368 l-45 47 -463 0 -463 0 0 -210z"
3004
- />
3005
- <path
3006
- d="M1100 3170 l0 -160 83 0 82 0 115 -96 c63 -52 121 -103 128 -112 28 -36 15 -74 -58 -164 -68 -84 -70 -89 -70 -142 l0 -55 160 -3 161 -3 89 -91 c75 -76 90 -96 90 -123 0 -40 -31 -71 -71 -71 -25 0 -45 14 -103 70 l-73 70 -154 0 -155 0 -109 -44 -110 -44 -3 -185 -2 -185 121 -4 c113 -3 122 -5 140 -27 26 -32 24 -73 -4 -99 -21 -20 -34 -22 -140 -22 l-117 0 0 -285 0 -285 1395 0 1395 0 0 288 0 288 -70 69 -70 69 0 109 0 108 -75 79 c-45 47 -75 87 -75 100 0 13 30 53 75 100 l75 79 0 108 0 109 70 69 c69 69 70 70 70 122 l0 53 -110 0 c-78 0 -119 4 -139 15 -48 24 -55 72 -16 110 23 24 30 25 145 25 l120 0 0 160 0 160 -465 0 -465 0 0 -439 c0 -428 0 -439 -21 -465 -13 -17 -30 -26 -49 -26 -17 0 -102 40 -214 101 l-185 101 -184 -101 c-195 -107 -229 -117 -263 -80 -18 20 -19 45 -22 465 l-3 444 -459 0 -460 0 0 -160z m2429 -1355 c48 -24 55 -72 16 -110 -24 -25 -25 -25 -227 -25 -221 0 -239 4 -252 56 -8 31 14 71 47 84 12 5 104 9 205 9 142 1 189 -2 211 -14z m105 -356 c51 -23 55 -103 7 -128 -13 -7 -130 -11 -328 -11 -297 0 -310 1 -331 20 -32 30 -30 82 4 109 26 20 38 21 325 21 200 0 306 -4 323 -11z"
3007
- />
3008
- <path
3009
- d="M2170 2965 c0 -201 2 -365 5 -365 2 0 66 34 142 76 76 41 150 78 165 81 20 4 55 -10 145 -60 65 -35 133 -72 151 -81 l32 -17 0 366 0 365 -320 0 -320 0 0 -365z"
3010
- />
3011
- </g>
3012
- </svg>
3013
- `;
3014
- x`
3015
- <svg
3016
- xmlns="http://www.w3.org/2000/svg"
3017
- version="1.0"
3018
- viewBox="0 0 500.000000 500.000000"
3019
- preserveAspectRatio="xMidYMid meet"
3020
- >
3021
- <g
3022
- transform="translate(0.000000,500.000000) scale(0.100000,-0.100000)"
3023
- fill="#0056d6"
3024
- stroke="none"
3025
- >
3026
- <path
3027
- d="M2445 4021 c-72 -18 -132 -68 -159 -133 -10 -23 -16 -67 -16 -113 0 -52 -4 -77 -12 -80 -7 -2 -55 -19 -105 -38 -301 -111 -532 -363 -616 -672 -31 -113 -37 -229 -37 -665 l0 -435 -150 -150 -150 -150 0 -77 0 -78 1300 0 1300 0 0 73 0 72 -155 155 -155 155 0 456 c0 374 -3 472 -16 550 -57 329 -262 596 -568 740 -44 20 -102 43 -127 49 l-46 12 -6 83 c-4 54 -13 98 -26 123 -29 58 -94 109 -153 121 -54 12 -60 12 -103 2z"
3028
- />
3029
- <path
3030
- d="M1371 3863 c-182 -183 -274 -321 -366 -549 -48 -118 -93 -308 -101 -420 l-7 -94 150 0 150 0 12 89 c30 232 116 443 255 626 55 70 181 198 246 248 l35 27 -105 105 c-57 58 -111 105 -118 105 -8 0 -76 -62 -151 -137z"
3031
- />
3032
- <path
3033
- d="M3358 3893 l-108 -108 37 -25 c20 -13 75 -63 122 -110 194 -193 326 -452 368 -724 8 -56 17 -107 19 -113 4 -15 289 -19 298 -5 8 13 -20 208 -43 303 -56 238 -184 484 -349 673 -61 70 -218 216 -232 216 -3 0 -54 -48 -112 -107z"
3034
- />
3035
- <path
3036
- d="M2194 1267 c-17 -46 48 -180 112 -231 182 -144 464 -33 491 194 l6 50 -302 0 c-242 0 -303 -3 -307 -13z"
3037
- />
3038
- </g>
3039
- </svg>
3040
- `;
3041
2733
  const TreeIcon = x`
3042
2734
  <svg width="24" height="29" viewBox="0 0 24 29" fill="none" xmlns="http://www.w3.org/2000/svg">
3043
2735
  <path fill-rule="evenodd" clip-rule="evenodd" d="M12.8389 3.5146C12.4124 2.64195 11.1688 2.64166 10.7419 3.51411L2.48315 20.3931C2.10376 21.1685 2.66827 22.0732 3.53151 22.0732H8.15214C8.80382 22.0732 9.33211 22.6015 9.33211 23.2531C9.33211 23.9048 8.80382 24.4331 8.15214 24.4331H3.53151C0.922794 24.4331 -0.783184 21.6991 0.363353 19.3559L8.62211 2.47691C9.91216 -0.159656 13.6703 -0.158781 14.9591 2.4784L23.2081 19.3574C24.3532 21.7005 22.6472 24.4331 20.0392 24.4331H12.9715L12.9715 27.075C12.9715 27.7267 12.4432 28.2549 11.7915 28.2549C11.1398 28.2549 10.6116 27.7267 10.6116 27.075L10.6115 23.2531C10.6115 22.9402 10.7359 22.6401 10.9572 22.4188C11.1784 22.1975 11.4786 22.0732 11.7915 22.0732H20.0392C20.9022 22.0732 21.4667 21.1689 21.0878 20.3936L12.8389 3.5146Z" fill="#1C4B27"/>
@@ -3515,23 +3207,21 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
3515
3207
  console.error("Error during the query ====>", error);
3516
3208
  }
3517
3209
  }
3518
- _getProductJSONFromCookie(handle) {
3519
- const cookieName = `${handle}_product_tags`;
3210
+ _getProductFieldFromCookie(handle, field) {
3211
+ const cookieName = `${handle}-${field}`;
3520
3212
  const cookie = document.cookie.split("; ").find((row) => row.startsWith(cookieName + "="));
3521
3213
  if (!cookie) return null;
3522
3214
  try {
3523
- return JSON.parse(decodeURIComponent(cookie.split("=")[1]));
3215
+ return decodeURIComponent(cookie.split("=")[1]);
3524
3216
  } catch {
3525
3217
  return null;
3526
3218
  }
3527
3219
  }
3528
- _storeTagsInCookie(handle, tags) {
3529
- const cookieName = `${handle}_product_tags`;
3220
+ _storeProductFieldInCookie(handle, field, val) {
3221
+ const cookieName = `${handle}-${field}`;
3530
3222
  const expires = /* @__PURE__ */ new Date();
3531
3223
  expires.setDate(expires.getDate() + 1);
3532
- document.cookie = `${cookieName}=${encodeURIComponent(
3533
- JSON.stringify(tags)
3534
- )}; path=/; expires=${expires.toUTCString()}`;
3224
+ document.cookie = `${cookieName}=${encodeURIComponent(val)}; path=/; expires=${expires.toUTCString()}`;
3535
3225
  }
3536
3226
  async _fetchProductJSON(handle) {
3537
3227
  try {
@@ -3559,21 +3249,27 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
3559
3249
  const cart = await this._fetch.get("/cart.js");
3560
3250
  if (cart && cart.items) {
3561
3251
  for (const item of cart.items) {
3562
- const cachedProductJson = this._getProductJSONFromCookie(item.handle);
3563
- if (cachedProductJson) {
3564
- const product = cachedProductJson ? JSON.parse(cachedProductJson) : void 0;
3565
- if (product) {
3566
- item.tags = (product.tags || "").split(",").map((t2) => t2.trim());
3567
- item.isVirtualProduct = (product.variants || []).every(
3568
- (variant) => !variant.requires_shipping
3569
- );
3252
+ const cachedProductTags = this._getProductFieldFromCookie(item.handle, "tags");
3253
+ const isVirtualProduct = this._getProductFieldFromCookie(item.handle, "virtual");
3254
+ if (cachedProductTags || isVirtualProduct) {
3255
+ item.tags = (cachedProductTags || "").split(",").map((t2) => t2.trim());
3256
+ if (isVirtualProduct) {
3257
+ item.isVirtualProduct = isVirtualProduct === "yes";
3570
3258
  }
3571
3259
  } else {
3572
3260
  const productJsonString = await this._fetchProductJSON(item.handle);
3573
3261
  const product = productJsonString ? JSON.parse(productJsonString) : void 0;
3574
3262
  if (product) {
3575
- item.tags = (product.tags || "").split(",").map((t2) => t2.trim());
3576
- this._storeTagsInCookie(item.handle, productJsonString);
3263
+ if (product.tags) {
3264
+ item.tags = (product.tags || "").split(",").map((t2) => t2.trim());
3265
+ this._storeProductFieldInCookie(item.handle, "tags", product.tags);
3266
+ }
3267
+ item.isVirtualProduct = (product.variants || []).every(
3268
+ (variant) => !variant.requires_shipping
3269
+ );
3270
+ if (item.isVirtualProduct) {
3271
+ this._storeProductFieldInCookie(item.handle, "virtual", "yes");
3272
+ }
3577
3273
  }
3578
3274
  }
3579
3275
  }
@@ -3661,21 +3357,27 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
3661
3357
  cart = await this._fetch.post("/cart/add.js", payload);
3662
3358
  if (cart && cart.items) {
3663
3359
  for (const item of cart.items) {
3664
- const cachedProductJson = this._getProductJSONFromCookie(item.handle);
3665
- if (cachedProductJson) {
3666
- const product = cachedProductJson ? JSON.parse(cachedProductJson) : void 0;
3667
- if (product) {
3668
- item.tags = (product.tags || "").split(",").map((t2) => t2.trim());
3669
- item.isVirtualProduct = (product.variants || []).every(
3670
- (variant) => !variant.requires_shipping
3671
- );
3360
+ const cachedProductTags = this._getProductFieldFromCookie(item.handle, "tags");
3361
+ const isVirtualProduct = this._getProductFieldFromCookie(item.handle, "virtual");
3362
+ if (cachedProductTags || isVirtualProduct) {
3363
+ item.tags = (cachedProductTags || "").split(",").map((t2) => t2.trim());
3364
+ if (isVirtualProduct) {
3365
+ item.isVirtualProduct = isVirtualProduct === "yes";
3672
3366
  }
3673
3367
  } else {
3674
3368
  const productJsonString = await this._fetchProductJSON(item.handle);
3675
3369
  const product = productJsonString ? JSON.parse(productJsonString) : void 0;
3676
3370
  if (product) {
3677
- item.tags = (product.tags || "").split(",").map((t2) => t2.trim());
3678
- this._storeTagsInCookie(item.handle, productJsonString);
3371
+ if (product.tags) {
3372
+ item.tags = (product.tags || "").split(",").map((t2) => t2.trim());
3373
+ this._storeProductFieldInCookie(item.handle, "tags", product.tags);
3374
+ }
3375
+ item.isVirtualProduct = (product.variants || []).every(
3376
+ (variant) => !variant.requires_shipping
3377
+ );
3378
+ if (item.isVirtualProduct) {
3379
+ this._storeProductFieldInCookie(item.handle, "virtual", "yes");
3380
+ }
3679
3381
  }
3680
3382
  }
3681
3383
  }
@@ -3714,21 +3416,27 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
3714
3416
  cart = await this._fetch.post("/cart/change.js", payload);
3715
3417
  if (cart && cart.items) {
3716
3418
  for (const item of cart.items) {
3717
- const cachedProductJson = this._getProductJSONFromCookie(item.handle);
3718
- if (cachedProductJson) {
3719
- const product = cachedProductJson ? JSON.parse(cachedProductJson) : void 0;
3720
- if (product) {
3721
- item.tags = (product.tags || "").split(",").map((t2) => t2.trim());
3722
- item.isVirtualProduct = (product.variants || []).every(
3723
- (variant) => !variant.requires_shipping
3724
- );
3419
+ const cachedProductTags = this._getProductFieldFromCookie(item.handle, "tags");
3420
+ const isVirtualProduct = this._getProductFieldFromCookie(item.handle, "virtual");
3421
+ if (cachedProductTags || isVirtualProduct) {
3422
+ item.tags = (cachedProductTags || "").split(",").map((t2) => t2.trim());
3423
+ if (isVirtualProduct) {
3424
+ item.isVirtualProduct = isVirtualProduct === "yes";
3725
3425
  }
3726
3426
  } else {
3727
3427
  const productJsonString = await this._fetchProductJSON(item.handle);
3728
3428
  const product = productJsonString ? JSON.parse(productJsonString) : void 0;
3729
3429
  if (product) {
3730
- item.tags = (product.tags || "").split(",").map((t2) => t2.trim());
3731
- this._storeTagsInCookie(item.handle, productJsonString);
3430
+ if (product.tags) {
3431
+ item.tags = (product.tags || "").split(",").map((t2) => t2.trim());
3432
+ this._storeProductFieldInCookie(item.handle, "tags", product.tags);
3433
+ }
3434
+ item.isVirtualProduct = (product.variants || []).every(
3435
+ (variant) => !variant.requires_shipping
3436
+ );
3437
+ if (item.isVirtualProduct) {
3438
+ this._storeProductFieldInCookie(item.handle, "virtual", "yes");
3439
+ }
3732
3440
  }
3733
3441
  }
3734
3442
  }
@@ -4690,6 +4398,15 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
4690
4398
  render() {
4691
4399
  useOnce(this, async () => {
4692
4400
  var _a, _b, _c, _d, _e, _f;
4401
+ (() => {
4402
+ document.cookie.split(";").forEach(function(c2) {
4403
+ const n2 = c2.split("=")[0].trim();
4404
+ if (n2.endsWith("product_tags")) {
4405
+ document.cookie = n2 + "=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/";
4406
+ document.cookie = n2 + "=;expires=Thu, 01 Jan 1970 00:00:00 GMT;";
4407
+ }
4408
+ });
4409
+ })();
4693
4410
  const linkEl = document.createElement("link");
4694
4411
  linkEl.setAttribute(
4695
4412
  "href",