cart-legacy.2a6d84fa.js 1.5 KB

1
  1. !function(){function r(r,n){var e="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!e){if(Array.isArray(r)||(e=function(r,n){if(!r)return;if("string"==typeof r)return t(r,n);var e=Object.prototype.toString.call(r).slice(8,-1);"Object"===e&&r.constructor&&(e=r.constructor.name);if("Map"===e||"Set"===e)return Array.from(r);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return t(r,n)}(r))||n&&r&&"number"==typeof r.length){e&&(r=e);var o=0,a=function(){};return{s:a,n:function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}},e:function(r){throw r},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){e=e.call(r)},n:function(){var r=e.next();return u=r.done,r},e:function(r){c=!0,i=r},f:function(){try{u||null==e.return||e.return()}finally{if(c)throw i}}}}function t(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=new Array(t);n<t;n++)e[n]=r[n];return e}System.register(["./index-legacy.f8641610.js"],(function(t){"use strict";var n;return{setters:[function(r){n=r.S}],execute:function(){t("c",n({calcAmount:{},cartPromotionItemList:[],memberReceiveAddressList:[],orderInfo:{}})),t("f",(function(t){var n=null;try{n=JSON.parse(t)}catch(u){}if(Array.isArray(n)){var e,o,a="",i=r(n);try{for(i.s();!(o=i.n()).done;)e=o.value,a+="".concat(e.key,": ").concat(e.value," ")}catch(u){i.e(u)}finally{i.f()}return a}return t}))}}}))}();