!(function () { function e(t) { return ( (e = 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && 'function' == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? 'symbol' : typeof e; }), e(t) ); } function t(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), r.push.apply(r, n); } return r; } function r(e) { for (var r = 1; r < arguments.length; r++) { var o = null != arguments[r] ? arguments[r] : {}; r % 2 ? t(Object(o), !0).forEach(function (t) { n(e, t, o[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : t(Object(o)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(o, t)); }); } return e; } function n(t, r, n) { return ( (r = (function (t) { var r = (function (t, r) { if ('object' !== e(t) || null === t) return t; var n = t[Symbol.toPrimitive]; if (void 0 !== n) { var o = n.call(t, r || 'default'); if ('object' !== e(o)) return o; throw new TypeError('@@toPrimitive must return a primitive value.'); } return ('string' === r ? String : Number)(t); })(t, 'string'); return 'symbol' === e(r) ? r : String(r); })(r)) in t ? Object.defineProperty(t, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (t[r] = n), t ); } function o() { 'use strict'; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ o = function () { return t; }; var t = {}, r = Object.prototype, n = r.hasOwnProperty, a = Object.defineProperty || function (e, t, r) { e[t] = r.value; }, i = 'function' == typeof Symbol ? Symbol : {}, u = i.iterator || '@@iterator', s = i.asyncIterator || '@@asyncIterator', c = i.toStringTag || '@@toStringTag'; function l(e, t, r) { return ( Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }), e[t] ); } try { l({}, ''); } catch (P) { l = function (e, t, r) { return (e[t] = r); }; } function d(e, t, r, n) { var o = t && t.prototype instanceof g ? t : g, i = Object.create(o.prototype), u = new I(n || []); return a(i, '_invoke', { value: C(e, r, u) }), i; } function f(e, t, r) { try { return { type: 'normal', arg: e.call(t, r) }; } catch (P) { return { type: 'throw', arg: P }; } } t.wrap = d; var h = {}; function g() {} function m() {} function p() {} var _ = {}; l(_, u, function () { return this; }); var v = Object.getPrototypeOf, y = v && v(v(N([]))); y && y !== r && n.call(y, u) && (_ = y); var w = (p.prototype = g.prototype = Object.create(_)); function b(e) { ['next', 'throw', 'return'].forEach(function (t) { l(e, t, function (e) { return this._invoke(t, e); }); }); } function A(t, r) { function o(a, i, u, s) { var c = f(t[a], t, i); if ('throw' !== c.type) { var l = c.arg, d = l.value; return d && 'object' == e(d) && n.call(d, '__await') ? r.resolve(d.__await).then( function (e) { o('next', e, u, s); }, function (e) { o('throw', e, u, s); } ) : r.resolve(d).then( function (e) { (l.value = e), u(l); }, function (e) { return o('throw', e, u, s); } ); } s(c.arg); } var i; a(this, '_invoke', { value: function (e, t) { function n() { return new r(function (r, n) { o(e, t, r, n); }); } return (i = i ? i.then(n, n) : n()); } }); } function C(e, t, r) { var n = 'suspendedStart'; return function (o, a) { if ('executing' === n) throw new Error('Generator is already running'); if ('completed' === n) { if ('throw' === o) throw a; return q(); } for (r.method = o, r.arg = a; ; ) { var i = r.delegate; if (i) { var u = j(i, r); if (u) { if (u === h) continue; return u; } } if ('next' === r.method) r.sent = r._sent = r.arg; else if ('throw' === r.method) { if ('suspendedStart' === n) throw ((n = 'completed'), r.arg); r.dispatchException(r.arg); } else 'return' === r.method && r.abrupt('return', r.arg); n = 'executing'; var s = f(e, t, r); if ('normal' === s.type) { if (((n = r.done ? 'completed' : 'suspendedYield'), s.arg === h)) continue; return { value: s.arg, done: r.done }; } 'throw' === s.type && ((n = 'completed'), (r.method = 'throw'), (r.arg = s.arg)); } }; } function j(e, t) { var r = t.method, n = e.iterator[r]; if (void 0 === n) return ( (t.delegate = null), ('throw' === r && e.iterator.return && ((t.method = 'return'), (t.arg = void 0), j(e, t), 'throw' === t.method)) || ('return' !== r && ((t.method = 'throw'), (t.arg = new TypeError( "The iterator does not provide a '" + r + "' method" )))), h ); var o = f(n, e.iterator, t.arg); if ('throw' === o.type) return (t.method = 'throw'), (t.arg = o.arg), (t.delegate = null), h; var a = o.arg; return a ? a.done ? ((t[e.resultName] = a.value), (t.next = e.nextLoc), 'return' !== t.method && ((t.method = 'next'), (t.arg = void 0)), (t.delegate = null), h) : a : ((t.method = 'throw'), (t.arg = new TypeError('iterator result is not an object')), (t.delegate = null), h); } function x(e) { var t = { tryLoc: e[0] }; 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t); } function E(e) { var t = e.completion || {}; (t.type = 'normal'), delete t.arg, (e.completion = t); } function I(e) { (this.tryEntries = [{ tryLoc: 'root' }]), e.forEach(x, this), this.reset(!0); } function N(e) { if (e) { var t = e[u]; if (t) return t.call(e); if ('function' == typeof e.next) return e; if (!isNaN(e.length)) { var r = -1, o = function t() { for (; ++r < e.length; ) if (n.call(e, r)) return (t.value = e[r]), (t.done = !1), t; return (t.value = void 0), (t.done = !0), t; }; return (o.next = o); } } return { next: q }; } function q() { return { value: void 0, done: !0 }; } return ( (m.prototype = p), a(w, 'constructor', { value: p, configurable: !0 }), a(p, 'constructor', { value: m, configurable: !0 }), (m.displayName = l(p, c, 'GeneratorFunction')), (t.isGeneratorFunction = function (e) { var t = 'function' == typeof e && e.constructor; return ( !!t && (t === m || 'GeneratorFunction' === (t.displayName || t.name)) ); }), (t.mark = function (e) { return ( Object.setPrototypeOf ? Object.setPrototypeOf(e, p) : ((e.__proto__ = p), l(e, c, 'GeneratorFunction')), (e.prototype = Object.create(w)), e ); }), (t.awrap = function (e) { return { __await: e }; }), b(A.prototype), l(A.prototype, s, function () { return this; }), (t.AsyncIterator = A), (t.async = function (e, r, n, o, a) { void 0 === a && (a = Promise); var i = new A(d(e, r, n, o), a); return t.isGeneratorFunction(r) ? i : i.next().then(function (e) { return e.done ? e.value : i.next(); }); }), b(w), l(w, c, 'Generator'), l(w, u, function () { return this; }), l(w, 'toString', function () { return '[object Generator]'; }), (t.keys = function (e) { var t = Object(e), r = []; for (var n in t) r.push(n); return ( r.reverse(), function e() { for (; r.length; ) { var n = r.pop(); if (n in t) return (e.value = n), (e.done = !1), e; } return (e.done = !0), e; } ); }), (t.values = N), (I.prototype = { constructor: I, reset: function (e) { if ( ((this.prev = 0), (this.next = 0), (this.sent = this._sent = void 0), (this.done = !1), (this.delegate = null), (this.method = 'next'), (this.arg = void 0), this.tryEntries.forEach(E), !e) ) for (var t in this) 't' === t.charAt(0) && n.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = void 0); }, stop: function () { this.done = !0; var e = this.tryEntries[0].completion; if ('throw' === e.type) throw e.arg; return this.rval; }, dispatchException: function (e) { if (this.done) throw e; var t = this; function r(r, n) { return ( (i.type = 'throw'), (i.arg = e), (t.next = r), n && ((t.method = 'next'), (t.arg = void 0)), !!n ); } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var a = this.tryEntries[o], i = a.completion; if ('root' === a.tryLoc) return r('end'); if (a.tryLoc <= this.prev) { var u = n.call(a, 'catchLoc'), s = n.call(a, 'finallyLoc'); if (u && s) { if (this.prev < a.catchLoc) return r(a.catchLoc, !0); if (this.prev < a.finallyLoc) return r(a.finallyLoc); } else if (u) { if (this.prev < a.catchLoc) return r(a.catchLoc, !0); } else { if (!s) throw new Error('try statement without catch or finally'); if (this.prev < a.finallyLoc) return r(a.finallyLoc); } } } }, abrupt: function (e, t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if ( o.tryLoc <= this.prev && n.call(o, 'finallyLoc') && this.prev < o.finallyLoc ) { var a = o; break; } } a && ('break' === e || 'continue' === e) && a.tryLoc <= t && t <= a.finallyLoc && (a = null); var i = a ? a.completion : {}; return ( (i.type = e), (i.arg = t), a ? ((this.method = 'next'), (this.next = a.finallyLoc), h) : this.complete(i) ); }, complete: function (e, t) { if ('throw' === e.type) throw e.arg; return ( 'break' === e.type || 'continue' === e.type ? (this.next = e.arg) : 'return' === e.type ? ((this.rval = this.arg = e.arg), (this.method = 'return'), (this.next = 'end')) : 'normal' === e.type && t && (this.next = t), h ); }, finish: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t]; if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), E(r), h; } }, catch: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t]; if (r.tryLoc === e) { var n = r.completion; if ('throw' === n.type) { var o = n.arg; E(r); } return o; } } throw new Error('illegal catch attempt'); }, delegateYield: function (e, t, r) { return ( (this.delegate = { iterator: N(e), resultName: t, nextLoc: r }), 'next' === this.method && (this.arg = void 0), h ); } }), t ); } function a(e, t, r, n, o, a, i) { try { var u = e[a](i), s = u.value; } catch (c) { return void r(c); } u.done ? t(s) : Promise.resolve(s).then(n, o); } function i(e) { return function () { var t = this, r = arguments; return new Promise(function (n, o) { var i = e.apply(t, r); function u(e) { a(i, n, o, u, s, 'next', e); } function s(e) { a(i, n, o, u, s, 'throw', e); } u(void 0); }); }; } System.register( [ './index-legacy-ffa013bd.js', './index-legacy-e7735b65.js', './index-legacy-f362d3bd.js', './index-legacy-9ab83e7f.js', './index-legacy-17219704.js', './index-legacy-7557f50e.js', './index-legacy-9bb2d234.js', './index-legacy-700f3c19.js', './index-legacy-530275b0.js', './index-legacy-e3657f89.js', './base-legacy-df89df70.js', './index-legacy-5ecfca1b.js', './index-legacy-b959f4f6.js', './Checker-legacy-3b421c0c.js', './index-legacy-73fe1d4a.js' ], function (e, t) { 'use strict'; var n, a, u, s, c, l, d, f, h, g, m, p, _, v, y, w, b, A, C, j, x, E, I, N, q, P, T, k, S, L, B, M, z, R, O; return { setters: [ function (e) { (n = e.d), (a = e.q), (u = e.e), (s = e.a), (c = e.A), (l = e.I), (d = e.F), (f = e.x), (h = e.P), (g = e.C), (m = e.Q), (p = e.R), (_ = e.M), (v = e.D), (y = e.S), (w = e.r), (b = e.w), (A = e.y), (C = e.z), (j = e.U), (x = e.V), (E = e.E); }, function (e) { I = e.C; }, function (e) { N = e.T; }, function (e) { q = e.M; }, function (e) { (P = e.R), (T = e.a); }, function (e) { k = e.C; }, function (e) { S = e.O; }, function (e) { L = e.O; }, function (e) { B = e.F; }, function (e) { M = e.F; }, function (e) { z = e.q; }, function (e) { R = e.O; }, function (e) { O = e.I; }, null, null ], execute: function () { var F = document.createElement('style'); (F.textContent = '._cartConfirm_1q6j7_1{padding:.26667rem .37333rem 2.66667rem}._cartConfirm_1q6j7_1 .van-cell-group{border-radius:.16rem;overflow:hidden}._cartConfirmBox_1q6j7_9{padding:0;margin-bottom:.32rem;border-radius:.26667rem;overflow:hidden}._cartConfirmBox_1q6j7_9 ._cartItem_1q6j7_15{margin:0;border-radius:0;padding:0}._cartConfirmBox_1q6j7_9 .van-cell__value{color:#666;font-weight:500}._mlr13_1q6j7_24{margin-right:.34667rem;margin-left:.34667rem}._protocol_1q6j7_28{box-shadow:none!important;padding:.21333rem 0!important;background:#ffebdd}._protocol_1q6j7_28 .van-checkbox__label{color:#777}._paymentContainer_1q6j7_36{display:flex;align-items:center;justify-content:space-between;font-size:.37333rem;padding-left:.32rem;padding-right:.32rem;padding-bottom:calc(.53333rem + env(safe-area-inset-bottom));box-shadow:none!important;background:#fff;padding-top:.32rem}._paymentContainer_1q6j7_36 ._needPrice_1q6j7_48{display:flex;align-items:center;color:#333;font-family:DINAlternate-Bold,DINAlternate}._paymentContainer_1q6j7_36 ._needPrice_1q6j7_48 span{font-size:.58667rem;font-weight:700;color:#ff4e19}._paymentContainer_1q6j7_36 ._needPrice_1q6j7_48 span i{font-style:normal;font-size:.48rem;margin-right:.08rem}._paymentContainer_1q6j7_36 ._allPrice_1q6j7_64{color:#aaa}._paymentContainer_1q6j7_36 .van-button{height:1.06667rem;line-height:1.06667rem;min-width:2.98667rem}._cellItem_1q6j7_72{padding:.4rem .32rem;border-radius:.26667rem;overflow:hidden}._cellItem_1q6j7_72 ._img_1q6j7_77{width:1.86667rem;height:1.86667rem;border-radius:.16rem;flex-shrink:0;overflow:hidden;margin-right:.4rem}._cellItem_1q6j7_72 ._cellPrice_1q6j7_85{font-size:.53333rem;font-weight:700;color:#333;line-height:.64rem}._cellItem_1q6j7_72 ._numFont_1q6j7_91{font-family:DINA}._cellItem_1q6j7_72 ._numFont_1q6j7_91 ._numPrefix_1q6j7_94{font-size:.37333rem!important;margin-right:.05333rem}._cellItem_1q6j7_72 ._goodsContent_1q6j7_98 ._goodsNum_1q6j7_98{font-size:.48rem;color:#777;line-height:.53333rem;flex-shrink:0}._cellItem_1q6j7_72 ._goodsContent_1q6j7_98 ._goodsPrice_1q6j7_104{padding-top:.10667rem;display:flex;align-items:center;justify-content:space-between}._cellItem_1q6j7_72 ._goodsContent_1q6j7_98 ._goodsPrice_1q6j7_104 ._free_1q6j7_110{font-size:.37333rem}._cellItem_1q6j7_72 ._goodsContent_1q6j7_98 ._goodsNums_1q6j7_113{font-size:.48rem;font-weight:700;color:#fc1a19;font-family:DINAlternate-Bold,DINAlternate}._cellItem_1q6j7_72 ._goodsContent_1q6j7_98 h2{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;display:flex;align-items:center;justify-content:space-between}._cellItem_1q6j7_72 ._goodsContent_1q6j7_98 ._brandName_1q6j7_128{line-height:.48rem;font-size:.32rem;padding:0 .16rem;border-radius:.10667rem;background:linear-gradient(180deg,#FFF7E8 0%,#FFE9D9 100%);color:#be7332;border:.02667rem solid #FFE9D9}._cellItem_1q6j7_72 ._goodsContent_1q6j7_98 ._model_1q6j7_137{padding-top:.08rem;font-size:.34667rem;color:#777;line-height:.48rem}._popupCode_1q6j7_143 .van-popup__close-icon{color:#fff;right:.64rem}._codeContainer_1q6j7_147{position:relative}._codeContainer_1q6j7_147 ._codeClose_1q6j7_150{display:inline-block;position:absolute;top:-1.46667rem;right:0;background:url(./images/icon-close.png) no-repeat center center;background-size:contain;width:.93333rem;height:.93333rem}._codeContainer_1q6j7_147 ._codeImg_1q6j7_160{width:8.82667rem;height:14.85333rem;background:url(./images/download.png) no-repeat center center;background-size:contain;margin:0 auto}._codeContainer_1q6j7_147 ._codeImg_1q6j7_160 ._codeTitle_1q6j7_167{text-align:center;padding-top:.34667rem;font-size:.64rem;font-weight:700;color:#fff;text-shadow:.02667rem .02667rem .18667rem #f4672a}._codeContainer_1q6j7_147 ._codeImg_1q6j7_160 ._codeName_1q6j7_175{padding:1.01333rem .32rem 0;font-size:.42667rem;font-weight:600;color:#fff;text-align:center}._codeContainer_1q6j7_147 ._codeImg_1q6j7_160 ._codeQr_1q6j7_182{margin:.61333rem auto 0;width:5.89333rem;height:5.89333rem;padding:.26667rem;background:linear-gradient(180deg,#ffffff 0%,#ffffff 100%);border-radius:.29333rem;overflow:hidden}._codeContainer_1q6j7_147 ._codeImg_1q6j7_160 ._codeQr_1q6j7_182 img{width:100%;height:100%}._codeContainer_1q6j7_147 ._codeImg_1q6j7_160 ._codeBtnText_1q6j7_195{min-width:6.4rem;margin:.4rem auto 0;display:inline-block;background:linear-gradient(135deg,#ff9c63 0%,#ff7144 100%);border-radius:.48rem;padding:.16rem 0;font-size:.42667rem;font-weight:600;color:#fff}._codeContainer_1q6j7_147 ._codeImg_1q6j7_160 ._codeTips_1q6j7_206{width:7.6rem;box-sizing:border-box;font-size:.32rem;font-weight:500;color:#333;line-height:.45333rem;background:#ffffff;overflow:hidden;border:.05333rem solid #ff8c57;border-radius:.26667rem;margin:.4rem auto 0;padding:.26667rem 0 .26667rem .21333rem}._codeContainer_1q6j7_147 ._codeImg_1q6j7_160 ._codeTips_1q6j7_206 ._tipsTitle_1q6j7_220{font-size:.34667rem;font-weight:500;color:#f16437;padding-bottom:.05333rem}._codeContainer_1q6j7_147 ._close_1q6j7_226{position:absolute;top:.32rem;right:.4rem}._codeContainer_1q6j7_147 ._codeBottom_1q6j7_231{position:relative;margin-top:.85333rem;background:#ffffff;border-radius:.53333rem .53333rem 0 0;padding-bottom:.26667rem}._codeContainer_1q6j7_147 ._title_1q6j7_238{font-size:.42667rem;font-weight:600;color:#333;line-height:.58667rem;padding:.4rem .4rem 0}._codeContainer_1q6j7_147 ._title_1q6j7_238 i{display:inline-block;margin-right:.16rem;width:.10667rem;height:.32rem;background:#ff8057;border-radius:.05333rem}._codeContainer_1q6j7_147 ._shareImg_1q6j7_253{width:1.25333rem;height:1.25333rem}._codeContainer_1q6j7_147 ._shareText_1q6j7_257{padding-top:.16rem;font-size:.37333rem;color:#333;line-height:.53333rem}._freight_1q6j7_263{margin-top:.32rem;background:#ffffff;border-radius:.26667rem;overflow:hidden;padding:.4rem .32rem;font-size:.42667rem;color:#333}._freight_1q6j7_263 .van-cell__value{color:#ff4e19}._submitBtn_1q6j7_275{height:1.06667rem;border-radius:.32rem;border:0;padding:0 1.06667rem;font-size:.42667rem;font-weight:600;background:linear-gradient(121deg,#FFD892 0%,#FFCB75 100%);color:#5b2c03}._cellEntry_1kuxn_1{align-items:center}._cellEntry_1kuxn_1 .van-badge__wrapper{margin:0}._cellEntry_1kuxn_1 .van-cell__title{display:flex;align-items:center;margin-left:.37333rem}._cell_1kuxn_1{position:relative;align-items:center;padding:.34667rem .32rem .48rem}._cell_1kuxn_1:before{position:absolute;bottom:0;left:0;right:0;content:" ";display:block;height:.08rem;width:100%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArIAAAAICAYAAAAFtxy6AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACsqADAAQAAAABAAAACAAAAAAhAq/nAAALn0lEQVR4Ac2cCXSU1RXH7/0yMxEIyNKyCq072Fo99Xi6oLGxkBBANmEgi4AVxQVEiClbZmJmshABI2hUSlugMgkGZRGQsplKbDltqdWW1mCLVVAwyGIjIWSb1/+b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0JIc0+VprmxGXQm+vIyh21zPtYdz5OqBGPgErBpUt4AF4bNmAEnVkdXbYs+0aTsQwrBNnttYXvgAEbRjdjf8XT6OD7eEi4eaDHDvVI7pxCkZ+V98blv5P2LEdsTeIATYSj3t1Rp8+9zilSv+nAklSJ3lJsLaIfPeIAPsRvHXnj5PxJx0MW1uH8923duDRMjMuFyJSISe1LSZqSsBqNjObqGCXreGuMm7xwvIkKCggf4TjixOgXr2Bom1P8L8vkekKS59S0FQ2oWjnEROWMCFbQJgXOVgaUxOdIfQ89PgJ0t5Q1w9dDzPXBifyORrU80qSiPrG0bL+FNMDCcVcqisZnJiNQLilq+vAudPq0joLcIcDMIRzIgCdDzW5IKviYnmhzExDceE9/DkjZjQvZ1ONHkD9SlywiePfsTSZuxVvMn2Ni1BZHYGAlvgkF/3ti1OyVJNinq+pGNTKKGBv28uky0RyjzKaS5Z0kn6xgDf44xMF8o2wiGMTAde2+0Y2pbIvuWgsGnMf49aAubAvRJG0STYTNE+4XafKKJXjZE2DOj6CgcV/36C5ZrbcYm8EOSW/sfcx9G2MfnCeoAAAAASUVORK5CYII=) repeat center left;background-size:90%}._cell_1kuxn_1 .van-cell__title{margin-left:.37333rem}._cell_1kuxn_1 .van-cell__right-icon{font-size:.53333rem;color:#d8d8d8}._userName_1kuxn_36{color:#333;font-size:.42667rem;font-weight:500}._phone_1kuxn_41{font-size:.42667rem;color:#777;margin-left:.37333rem}._addressInfo_1kuxn_46{font-size:.37333rem;color:#777;line-height:.53333rem}._emtry_1kuxn_51{font-size:.37333rem;color:#333}._payment_1ot0l_1 .van-cell__title{font-size:.42667rem;padding-left:.26667rem}._payment_1ot0l_1 .van-icon-cross{position:absolute;z-index:1;top:.34667rem;left:.34667rem;color:#ccc;cursor:pointer}._payment_1ot0l_1 ._title_1ot0l_13{background-color:#fff;font-size:.42667rem;font-weight:400;color:#1a1a1a;padding:.37333rem 0 .32rem;text-align:center}._payment_1ot0l_1 ._payAmount_1ot0l_21{background-color:#fff;padding:.53333rem 0;text-align:center}._payment_1ot0l_1 ._payAmount_1ot0l_21 p{font-size:.37333rem;color:#666;padding-bottom:.26667rem}._payment_1ot0l_1 ._payAmount_1ot0l_21 ._amount_1ot0l_31{font-size:.74667rem;color:#000}._payment_1ot0l_1 ._payAmount_1ot0l_21 ._amount_1ot0l_31 span{font-size:.48rem}._payment_1ot0l_1 ._blank_1ot0l_38{height:1.73333rem}._payment_1ot0l_1 ._payTypeRe_1ot0l_41{display:flex;align-items:center}._payment_1ot0l_1 ._recommend_1ot0l_45{margin-left:.13333rem;background:linear-gradient(122deg,#ffa371 0%,#ff6b3b 100%);border-radius:.26667rem;font-size:.32rem;color:#fff;line-height:.42667rem;padding:0 .13333rem}._payment_1ot0l_1 ._payBtn_1ot0l_54{width:90%!important;margin:0 auto;font-size:.42667rem;font-weight:600;margin-bottom:.53333rem}._userAuth_1wdij_1{min-height:100vh;background-color:#f6f8f9;overflow:hidden}._userAuth_1wdij_1 ._cellGroup_1wdij_6{margin:.32rem .34667rem .64rem;border-radius:.32rem;overflow:hidden}._userAuth_1wdij_1 .van-cell{flex-direction:column;font-size:.42667rem;padding:.48rem .34667rem}._userAuth_1wdij_1 .van-field__label{width:100%;margin-right:0;color:#333;font-size:.42667rem;font-weight:500}._userAuth_1wdij_1 .van-cell--required:before{left:.4rem}._userAuth_1wdij_1 .van-field__body{margin-top:.26667rem}._userAuth_1wdij_1 .van-form{margin-top:4.64rem;overflow:hidden}._userAuth_1wdij_1 .van-tag+.van-tag{margin-left:.21333rem}._userAuth_1wdij_1 ._btnGroup_1wdij_38{padding:0 .37333rem .4rem}._userAuth_1wdij_1 ._otherBtn_1wdij_42{height:1.06667rem;border-radius:.32rem;border:0;padding:0 1.06667rem;font-size:.42667rem;font-weight:600;background:linear-gradient(121deg,#FFD892 0%,#FFCB75 100%);color:#5b2c03}._saveShareImage_1vhog_1{position:relative;overflow:hidden}._saveShareImage_1vhog_1 ._tips_1vhog_5{margin:.66667rem .58667rem .32rem;padding:.53333rem 0 .4rem;text-align:left;border-top:.02667rem dashed #C8C8C8}._saveShareImage_1vhog_1 ._tips_1vhog_5 ._tipsTitle_1vhog_11{font-size:.4rem;font-weight:500;color:#f96a33;line-height:.56rem}._saveShareImage_1vhog_1 ._tips_1vhog_5 ._tipsContent_1vhog_17{padding-top:.18667rem;font-size:.34667rem;color:#333;line-height:.53333rem}._previewSection_1vhog_23{z-index:-1;position:absolute;left:0;right:0;top:0}._topImage_1vhog_30{position:absolute;top:0;left:0;right:0;top:var(--header-height)}._shareContaienr_1vhog_37{position:relative;margin:0 .58667rem;padding:.53333rem .53333rem 0;background:#ffffff;border-radius:.48rem;text-align:center}._shareContaienr_1vhog_37 ._schoolName_1vhog_45{font-size:.53333rem;font-weight:500;color:#000;line-height:.74667rem}._shareContaienr_1vhog_37 ._shareType_1vhog_51{font-size:.4rem;padding:.21333rem 0 .69333rem;color:#000;line-height:.56rem}._shareContaienr_1vhog_37 ._shareType_1vhog_51 span{color:#f96a33}._shareContaienr_1vhog_37 ._qrcodeSection_1vhog_60{width:4.21333rem;height:4.21333rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAT4AAAE8CAMAAABuLi0JAAAA/FBMVEUAAAD////////////Z2dnY2NjZ2dnY2NjZ2dna2trf39/a2tra2trZ2dna2trZ2dna2tra2trc3Nze3t7a2tra2tra2tra2tra2tra2trb29vs7Oza2tra2trZ2dnb29va2tr////////b29v////a2tra2trt7e3d3d3Z2dna2trZ2dn////a2tra2tra2tr////////////////a2tra2tra2tr////Z2dn////////////a2tr////Z2dna2tra2tr////////////////Z2dn////h4eHY2Nj////////////////////////////////////Z2dn8/PzmZWJ/AAAAUXRSTlMA7LG29CZRuf5fBOR862P7PTAYEqNX1I6BRikIxPawBsHmvbCidE0eDu5uavDQubN6ZF8y2J6X9t/X08/Ixr6lh25nWVM2JAyllZSOiYBHQi3EpmOeAAAHMElEQVR42uzaWU/qQBjG8UdP1dICLWUXEVRkcVfcox6FuMVoMu/3/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x3DAq5HmIcQRHb9xWwiMq9TRHCwYg0xRWK+UwPDL1MvliguDTGlGicqBsR23sdEwsoVds2JqkLGldCgr6gqfYbWDinNBvRR6KyTVOlsWhWaTZ2GRP4TZrmBIumRTNp+pjMselrdSyaPZqB7eBL2aKxZG/fAWkzillMky1ZS/Xty5Mmq5SFlvLppIK1KhbOnVa70zJmsOIUDwqWISjCPUkvYD2gv+fSJMKwCgdFZwXJfgJ+cPco4Ts4hgAAAABJRU5ErkJggg==) no-repeat center center;background-size:contain;margin:0 auto;padding:.37333rem}._shareContaienr_1vhog_37 ._memo_1vhog_68{display:inline-block;margin:.53333rem 0 0;background:linear-gradient(121deg,#FFD892 0%,#FFCB75 100%);border-radius:.48rem;font-size:.42667rem;font-weight:500;color:#fff;line-height:.58667rem;padding:.18667rem .45333rem;color:#5b2c03}._qrcode_izshm_1{position:relative}._qrcode_izshm_1 ._qrcodeCanvas_izshm_4{width:100%!important;height:100%!important}._qrcode_izshm_1 ._qrcodeLogo_izshm_8{position:absolute;top:50%;left:50%;margin-left:-.53333rem;margin-top:-.53333rem;width:1.06667rem!important;height:1.06667rem!important;border-radius:.10667rem}._qrcode_izshm_1 ._qrcodeLogo_izshm_8._small_izshm_18{margin-left:-.26667rem;margin-top:-.26667rem;width:.53333rem!important;height:.53333rem!important}\n'), document.head.appendChild(F); var U, D = { cartConfirm: '_cartConfirm_1q6j7_1', cartConfirmBox: '_cartConfirmBox_1q6j7_9', cartItem: '_cartItem_1q6j7_15', mlr13: '_mlr13_1q6j7_24', protocol: '_protocol_1q6j7_28', paymentContainer: '_paymentContainer_1q6j7_36', needPrice: '_needPrice_1q6j7_48', allPrice: '_allPrice_1q6j7_64', cellItem: '_cellItem_1q6j7_72', img: '_img_1q6j7_77', cellPrice: '_cellPrice_1q6j7_85', numFont: '_numFont_1q6j7_91', numPrefix: '_numPrefix_1q6j7_94', goodsContent: '_goodsContent_1q6j7_98', goodsNum: '_goodsNum_1q6j7_98', goodsPrice: '_goodsPrice_1q6j7_104', free: '_free_1q6j7_110', goodsNums: '_goodsNums_1q6j7_113', brandName: '_brandName_1q6j7_128', model: '_model_1q6j7_137', popupCode: '_popupCode_1q6j7_143', codeContainer: '_codeContainer_1q6j7_147', codeClose: '_codeClose_1q6j7_150', codeImg: '_codeImg_1q6j7_160', codeTitle: '_codeTitle_1q6j7_167', codeName: '_codeName_1q6j7_175', codeQr: '_codeQr_1q6j7_182', codeBtnText: '_codeBtnText_1q6j7_195', codeTips: '_codeTips_1q6j7_206', tipsTitle: '_tipsTitle_1q6j7_220', close: '_close_1q6j7_226', codeBottom: '_codeBottom_1q6j7_231', title: '_title_1q6j7_238', shareImg: '_shareImg_1q6j7_253', shareText: '_shareText_1q6j7_257', freight: '_freight_1q6j7_263', submitBtn: '_submitBtn_1q6j7_275' }, V = '_cell_1kuxn_1', Y = '_userName_1kuxn_36', G = '_phone_1kuxn_41', Q = '_addressInfo_1kuxn_46', J = '_emtry_1kuxn_51', H = n({ name: 'cart-address', props: { item: { type: Object, default: function () { return {}; } }, isLink: { type: Boolean, default: !0 }, setAddress: { type: Function, default: function (e) {} } }, setup: function (e) { var t = a(), r = u(function () { return [ e.item.provinceName, e.item.cityName, e.item.regionName, e.item.detailAddress ].join(''); }), n = function () { e.isLink && t.push('/shopAddress'); }; return function () { return s(d, null, [ e.item && e.item.phoneNumber ? s( I, { class: V, 'is-link': e.isLink, onClick: function () { return n(); }, titleStyle: { marginLeft: '0' } }, { title: function () { return s('div', null, [ s('span', { class: Y }, [e.item.name]), s('span', { class: G }, [ e.item && e.item.phoneNumber && e.item.phoneNumber.replace( /^(\d{3})\d{4}(\d+)/, '$1****$2' ) ]), e.item.defaultStatus && s( N, { type: 'primary', color: 'linear-gradient(90deg, #FF8633 0%, #FFB047 100%)', round: !0, style: { 'vertical-align': 'text-top', marginLeft: '10px', padding: '1px 8px' } }, { default: function () { return [c('默认')]; } } ) ]); }, label: function () { return s('span', { class: Q }, [r.value]); } } ) : s( I, { class: V, 'is-link': e.isLink, onClick: function () { return n(); } }, { icon: function () { return s( l, { name: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAAXNSR0IArs4c6QAACZNJREFUaEPNm3twVPUVxz9nFwivwGiE8hDU0QZBO62M0MrDtraKSnciIFZGxFdrKio0gcoQQVEwjh1FUSEGilaESoGCTChqHV+AMGonrbVCsbWC8hAIMCHBEGD3dH5793n33t17N4H6+y97zz3nfM/rd87v/iK08tIVK4IU7hkIDEMj/UH6IdIH1UJECi1x2gDSgPIlsB1hG7CJhl61csMN4dZUSVqDmf61ui37jl6LMh7hSqBrfny1HpU3EJbyrU7r5dLSE/nxSb7VIoC6urKIdgWTgbuAs1yV0dgTf9LqgCqON8+T0RUH8wXqT2RMitZUd0QaK1Amg3bOV7hHgzQiOg/tUimh0q/9yvINUGvmhiD8DMo5foW1iF5kJwTulVB5jR8+ngHq+qcLONk8NxqOqunv5ReCfvS0aEWMpCraFJTLtZOavTDwBFDXPtYLpAZVUx3//0ukFjQkJdP25FImJ0Bd/UQxcuJ14NxczE7rc2EHkbYjZPSUT7PJzQpQV1cWQ2AjaPfTqrxnYbIfIsNldIUrSFeA0bAMh99Dv2Ges4M3ngwGh7qFqyPAaEFpatiM4pJzp6uquLnSJt/kZIfOQ5wKjzPAlXPmg06EnCnqOZj8EeZhwAALZMyMuzMdbPtFV80JoazN2Ar8aWjZpts50OMCKOoNnc+Etu0tLieOQeNhOLgL9v4H6r4AjYPyKyhGb7YQoUSun5G2T6a5SGtmdaQpsNX/Jm6zeN+L4eIfWqC8rMZD8M934MtPIC+csZdMM9AhMkBCsxIdTzrA5Q/NAe73opMjTWERXDYazuiZH4vDe2HLamjIu/U0ch+RGx+cEVcgAVBfnG4a5x1Afr1lzwvgsjHQLhaG+UGE48dgy5+s0M1nCY00N58rtzwatVIS4LJZDyM6M8oz/qvXcOn5bbh8HAQC+aiU+U4kAhv/AHvyBSmzZdysBxJQtLq6LYW796BZRh431bt2g6t+kSwg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ZdFQzT37VeC2i40Gv9P21OM7cfJVF3iAgS+nWeb2Z5/KyTaqZWsrA/r6OHRvkO4GBiAwjgvVvBWhfK5TV+rcClQbQRuALRLYD2xDdxMeRWlm5MtdXU18q/w++EDK1lDBSBwAAAABJRU5ErkJggg==', size: 28 }, null ); }, title: function () { return s('div', { class: J }, [ c('去填写收货地址') ]); } } ) ]); }; } }), X = '_payment_1ot0l_1', Z = '_title_1ot0l_13', K = '_payAmount_1ot0l_21', W = '_amount_1ot0l_31', $ = '_blank_1ot0l_38', ee = '_payTypeRe_1ot0l_41', te = '_recommend_1ot0l_45', re = '_payBtn_1ot0l_54', ne = n({ name: 'payment', props: { paymentConfig: { type: Object, default: {} } }, emits: ['backOut', 'close', 'confirm'], setup: function (e, t) { t.slots, t.attrs; var r = t.emit, n = f({ payType: 'wx', pay_channel: '' }), a = function () { m({ message: '是否放弃本次付款', confirmButtonText: '继续付款', cancelButtonText: '放弃', showCancelButton: !0 }).catch( i( o().mark(function e() { return o().wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return (e.next = 2), u(); case 2: r('backOut'), r('close'); case 4: case 'end': return e.stop(); } }, e); }) ) ); }, u = (function () { var e = i( o().mark(function e(t) { return o().wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: case 'end': return e.stop(); } }, e); }) ); return function (t) { return e.apply(this, arguments); }; })(), d = (function () { var e = i( o().mark(function e() { var t; return o().wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: (t = n.payType), p().weixin ? 'zfb' == t ? ((n.pay_channel = 'alipay_qr'), _('qrCode')) : 'wx' == t && ((n.pay_channel = 'wx_pub'), _('pay')) : p().alipay ? 'zfb' == t ? ((n.pay_channel = 'alipay_wap'), _('pay')) : 'wx' == t && ((n.pay_channel = 'wx_pub'), _('qrCode')) : ('zfb' == t ? (n.pay_channel = 'alipay_qr') : 'wx' == t && (n.pay_channel = 'wx_pub'), _('qrCode')); case 2: case 'end': return e.stop(); } }, e); }) ); return function () { return e.apply(this, arguments); }; })(), _ = function (e) { r('confirm', { payCode: 'qrCode' == e ? 'payCenter' : 'payResult', pay_channel: n.pay_channel }); }; return function () { return s('div', { class: X }, [ s(l, { onClick: a, name: 'cross', size: 20 }, null), s('div', { class: [Z] }, [c('选择支付方式')]), s('div', { class: K }, [ s('p', null, [c('应付金额')]), s('div', { class: W }, [ s('span', null, [c('¥ ')]), h(e.paymentConfig.currentPrice) ]) ]), s( P, { modelValue: n.payType, 'onUpdate:modelValue': function (e) { return (n.payType = e); } }, { default: function () { return [ s( k, { border: !1 }, { default: function () { return [ s( I, { border: !0, center: !0, onClick: function () { n.payType = 'wx'; } }, { icon: function () { return s( l, { name: 'wechat-pay', color: '#15c434', size: 22 }, null ); }, 'right-icon': function () { return s(T, { name: 'wx' }, null); }, title: function () { return s('div', { class: ee }, [ c('微信支付 '), s('span', { class: te }, [ c('推荐') ]) ]); } } ), s( I, { title: '支付宝支付', border: !0, center: !0, onClick: function () { n.payType = 'zfb'; } }, { icon: function () { return s( l, { name: 'alipay', color: '#009fe9', size: 22 }, null ); }, 'right-icon': function () { return s(T, { name: 'zfb' }, null); } } ) ]; } } ) ]; } } ), s('div', { class: $ }, null), s( g, { type: 'primary', class: re, block: !0, round: !0, onClick: d }, { default: function () { return [c('确认支付')]; } } ) ]); }; } }), oe = '_userAuth_1wdij_1', ae = '_cellGroup_1wdij_6', ie = '_otherBtn_1wdij_42', ue = n({ name: 'UserAuth', props: { onSuccess: { type: Function, default: function () {} }, hideHeader: { type: Boolean, default: !1 } }, data: function () { return { form: { realName: '', idCardNo: '' } }; }, mounted: function () { var e = _.user.data; this.form.realName = null == e ? void 0 : e.account.realName; }, methods: { onSubmit: function () { var e = this; return i( o().mark(function t() { return o().wrap( function (t) { for (;;) switch ((t.prev = t.next)) { case 0: return ( (t.prev = 0), '/edu-app/sysAccount/realNameAuth', (t.next = 4), v.post('/edu-app/sysAccount/realNameAuth', { data: r( r({}, e.form), {}, { contract: !0, save: !0 } ) }) ); case 4: (_.user.data.account.realName = e.form.realName), (_.user.data.account.idCardNo = e.form.idCardNo), e.onSuccess(), (t.next = 11); break; case 9: (t.prev = 9), (t.t0 = t.catch(0)); case 11: case 'end': return t.stop(); } }, t, null, [[0, 9]] ); }) )(); } }, render: function () { var e = this; return s( B, { class: oe, onSubmit: this.onSubmit }, { default: function () { return [ !e.hideHeader && s(y, { title: '实名认证' }, null), s( k, { inset: !0, class: ae }, { default: function () { return [ s( M, { required: !0, label: '真实姓名', modelValue: e.form.realName, 'onUpdate:modelValue': function (t) { return (e.form.realName = t); }, rules: [ { required: !0, message: '请填写真实姓名' } ], name: 'realName', placeholder: '请填写真实姓名', autocomplete: 'off', maxlength: '50' }, null ), s( M, { required: !0, label: '身份证号', modelValue: e.form.idCardNo, 'onUpdate:modelValue': function (t) { return (e.form.idCardNo = t); }, maxlength: 18, autocomplete: 'off', rules: [ { required: !0, message: '请输入身份证号' }, { pattern: /^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/, message: '请输入正确的身份证号' } ], placeholder: '请输入身份证号' }, null ) ]; } } ), s('div', { class: ['btnGroup'] }, [ s( g, { block: !0, round: !0, type: 'primary', 'native-type': 'submit', class: ie }, { default: function () { return [c('确定')]; } } ) ]) ]; } } ); } }), se = { WAIT_PAY: '待支付', PAYING: '支付中', PAID: '已付款', TIMEOUT: '已关闭', FAIL: '支付失败', CLOSED: '已关闭', REFUNDING: '退款中', REFUNDED: '已退款' }, ce = '_saveShareImage_1vhog_1', le = '_tips_1vhog_5', de = '_tipsTitle_1vhog_11', fe = '_tipsContent_1vhog_17', he = '_shareContaienr_1vhog_37', ge = '_schoolName_1vhog_45', me = '_shareType_1vhog_51', pe = '_qrcodeSection_1vhog_60', _e = '_memo_1vhog_68', ve = '' + new URL('smallLogo-517ff5bd.png', t.meta.url).href, ye = {}, we = {}, be = {}, Ae = [ 0, 26, 44, 70, 100, 134, 172, 196, 242, 292, 346, 404, 466, 532, 581, 655, 733, 815, 901, 991, 1085, 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921, 2051, 2185, 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, 3706 ]; (be.getSymbolSize = function (e) { if (!e) throw new Error('"version" cannot be null or undefined'); if (e < 1 || e > 40) throw new Error('"version" should be in range from 1 to 40'); return 4 * e + 17; }), (be.getSymbolTotalCodewords = function (e) { return Ae[e]; }), (be.getBCHDigit = function (e) { for (var t = 0; 0 !== e; ) t++, (e >>>= 1); return t; }), (be.setToSJISFunction = function (e) { if ('function' != typeof e) throw new Error('"toSJISFunc" is not a valid function.'); U = e; }), (be.isKanjiModeEnabled = function () { return void 0 !== U; }), (be.toSJIS = function (e) { return U(e); }); var Ce = {}; function je() { (this.buffer = []), (this.length = 0); } !(function (e) { (e.L = { bit: 1 }), (e.M = { bit: 0 }), (e.Q = { bit: 3 }), (e.H = { bit: 2 }), (e.isValid = function (e) { return e && void 0 !== e.bit && e.bit >= 0 && e.bit < 4; }), (e.from = function (t, r) { if (e.isValid(t)) return t; try { return (function (t) { if ('string' != typeof t) throw new Error('Param is not a string'); switch (t.toLowerCase()) { case 'l': case 'low': return e.L; case 'm': case 'medium': return e.M; case 'q': case 'quartile': return e.Q; case 'h': case 'high': return e.H; default: throw new Error('Unknown EC Level: ' + t); } })(t); } catch (n) { return r; } }); })(Ce), (je.prototype = { get: function (e) { var t = Math.floor(e / 8); return 1 == ((this.buffer[t] >>> (7 - (e % 8))) & 1); }, put: function (e, t) { for (var r = 0; r < t; r++) this.putBit(1 == ((e >>> (t - r - 1)) & 1)); }, getLengthInBits: function () { return this.length; }, putBit: function (e) { var t = Math.floor(this.length / 8); this.buffer.length <= t && this.buffer.push(0), e && (this.buffer[t] |= 128 >>> this.length % 8), this.length++; } }); var xe = je; function Ee(e) { if (!e || e < 1) throw new Error( 'BitMatrix size must be defined and greater than 0' ); (this.size = e), (this.data = new Uint8Array(e * e)), (this.reservedBit = new Uint8Array(e * e)); } (Ee.prototype.set = function (e, t, r, n) { var o = e * this.size + t; (this.data[o] = r), n && (this.reservedBit[o] = !0); }), (Ee.prototype.get = function (e, t) { return this.data[e * this.size + t]; }), (Ee.prototype.xor = function (e, t, r) { this.data[e * this.size + t] ^= r; }), (Ee.prototype.isReserved = function (e, t) { return this.reservedBit[e * this.size + t]; }); var Ie = Ee, Ne = {}; !(function (e) { var t = be.getSymbolSize; (e.getRowColCoords = function (e) { if (1 === e) return []; for ( var r = Math.floor(e / 7) + 2, n = t(e), o = 145 === n ? 26 : 2 * Math.ceil((n - 13) / (2 * r - 2)), a = [n - 7], i = 1; i < r - 1; i++ ) a[i] = a[i - 1] - o; return a.push(6), a.reverse(); }), (e.getPositions = function (t) { for ( var r = [], n = e.getRowColCoords(t), o = n.length, a = 0; a < o; a++ ) for (var i = 0; i < o; i++) (0 === a && 0 === i) || (0 === a && i === o - 1) || (a === o - 1 && 0 === i) || r.push([n[a], n[i]]); return r; }); })(Ne); var qe = {}, Pe = be.getSymbolSize; qe.getPositions = function (e) { var t = Pe(e); return [ [0, 0], [t - 7, 0], [0, t - 7] ]; }; var Te = {}; !(function (e) { e.Patterns = { PATTERN000: 0, PATTERN001: 1, PATTERN010: 2, PATTERN011: 3, PATTERN100: 4, PATTERN101: 5, PATTERN110: 6, PATTERN111: 7 }; var t = 3, r = 3, n = 40, o = 10; function a(t, r, n) { switch (t) { case e.Patterns.PATTERN000: return (r + n) % 2 == 0; case e.Patterns.PATTERN001: return r % 2 == 0; case e.Patterns.PATTERN010: return n % 3 == 0; case e.Patterns.PATTERN011: return (r + n) % 3 == 0; case e.Patterns.PATTERN100: return (Math.floor(r / 2) + Math.floor(n / 3)) % 2 == 0; case e.Patterns.PATTERN101: return ((r * n) % 2) + ((r * n) % 3) == 0; case e.Patterns.PATTERN110: return (((r * n) % 2) + ((r * n) % 3)) % 2 == 0; case e.Patterns.PATTERN111: return (((r * n) % 3) + ((r + n) % 2)) % 2 == 0; default: throw new Error('bad maskPattern:' + t); } } (e.isValid = function (e) { return null != e && '' !== e && !isNaN(e) && e >= 0 && e <= 7; }), (e.from = function (t) { return e.isValid(t) ? parseInt(t, 10) : void 0; }), (e.getPenaltyN1 = function (e) { for ( var r = e.size, n = 0, o = 0, a = 0, i = null, u = null, s = 0; s < r; s++ ) { (o = a = 0), (i = u = null); for (var c = 0; c < r; c++) { var l = e.get(s, c); l === i ? o++ : (o >= 5 && (n += t + (o - 5)), (i = l), (o = 1)), (l = e.get(c, s)) === u ? a++ : (a >= 5 && (n += t + (a - 5)), (u = l), (a = 1)); } o >= 5 && (n += t + (o - 5)), a >= 5 && (n += t + (a - 5)); } return n; }), (e.getPenaltyN2 = function (e) { for (var t = e.size, n = 0, o = 0; o < t - 1; o++) for (var a = 0; a < t - 1; a++) { var i = e.get(o, a) + e.get(o, a + 1) + e.get(o + 1, a) + e.get(o + 1, a + 1); (4 !== i && 0 !== i) || n++; } return n * r; }), (e.getPenaltyN3 = function (e) { for (var t = e.size, r = 0, o = 0, a = 0, i = 0; i < t; i++) { o = a = 0; for (var u = 0; u < t; u++) (o = ((o << 1) & 2047) | e.get(i, u)), u >= 10 && (1488 === o || 93 === o) && r++, (a = ((a << 1) & 2047) | e.get(u, i)), u >= 10 && (1488 === a || 93 === a) && r++; } return r * n; }), (e.getPenaltyN4 = function (e) { for (var t = 0, r = e.data.length, n = 0; n < r; n++) t += e.data[n]; return Math.abs(Math.ceil((100 * t) / r / 5) - 10) * o; }), (e.applyMask = function (e, t) { for (var r = t.size, n = 0; n < r; n++) for (var o = 0; o < r; o++) t.isReserved(o, n) || t.xor(o, n, a(e, o, n)); }), (e.getBestMask = function (t, r) { for ( var n = Object.keys(e.Patterns).length, o = 0, a = 1 / 0, i = 0; i < n; i++ ) { r(i), e.applyMask(i, t); var u = e.getPenaltyN1(t) + e.getPenaltyN2(t) + e.getPenaltyN3(t) + e.getPenaltyN4(t); e.applyMask(i, t), u < a && ((a = u), (o = i)); } return o; }); })(Te); var ke = {}, Se = Ce, Le = [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 2, 4, 1, 2, 4, 4, 2, 4, 4, 4, 2, 4, 6, 5, 2, 4, 6, 6, 2, 5, 8, 8, 4, 5, 8, 8, 4, 5, 8, 11, 4, 8, 10, 11, 4, 9, 12, 16, 4, 9, 16, 16, 6, 10, 12, 18, 6, 10, 17, 16, 6, 11, 16, 19, 6, 13, 18, 21, 7, 14, 21, 25, 8, 16, 20, 25, 8, 17, 23, 25, 9, 17, 23, 34, 9, 18, 25, 30, 10, 20, 27, 32, 12, 21, 29, 35, 12, 23, 34, 37, 12, 25, 34, 40, 13, 26, 35, 42, 14, 28, 38, 45, 15, 29, 40, 48, 16, 31, 43, 51, 17, 33, 45, 54, 18, 35, 48, 57, 19, 37, 51, 60, 19, 38, 53, 63, 20, 40, 56, 66, 21, 43, 59, 70, 22, 45, 62, 74, 24, 47, 65, 77, 25, 49, 68, 81 ], Be = [ 7, 10, 13, 17, 10, 16, 22, 28, 15, 26, 36, 44, 20, 36, 52, 64, 26, 48, 72, 88, 36, 64, 96, 112, 40, 72, 108, 130, 48, 88, 132, 156, 60, 110, 160, 192, 72, 130, 192, 224, 80, 150, 224, 264, 96, 176, 260, 308, 104, 198, 288, 352, 120, 216, 320, 384, 132, 240, 360, 432, 144, 280, 408, 480, 168, 308, 448, 532, 180, 338, 504, 588, 196, 364, 546, 650, 224, 416, 600, 700, 224, 442, 644, 750, 252, 476, 690, 816, 270, 504, 750, 900, 300, 560, 810, 960, 312, 588, 870, 1050, 336, 644, 952, 1110, 360, 700, 1020, 1200, 390, 728, 1050, 1260, 420, 784, 1140, 1350, 450, 812, 1200, 1440, 480, 868, 1290, 1530, 510, 924, 1350, 1620, 540, 980, 1440, 1710, 570, 1036, 1530, 1800, 570, 1064, 1590, 1890, 600, 1120, 1680, 1980, 630, 1204, 1770, 2100, 660, 1260, 1860, 2220, 720, 1316, 1950, 2310, 750, 1372, 2040, 2430 ]; (ke.getBlocksCount = function (e, t) { switch (t) { case Se.L: return Le[4 * (e - 1) + 0]; case Se.M: return Le[4 * (e - 1) + 1]; case Se.Q: return Le[4 * (e - 1) + 2]; case Se.H: return Le[4 * (e - 1) + 3]; default: return; } }), (ke.getTotalCodewordsCount = function (e, t) { switch (t) { case Se.L: return Be[4 * (e - 1) + 0]; case Se.M: return Be[4 * (e - 1) + 1]; case Se.Q: return Be[4 * (e - 1) + 2]; case Se.H: return Be[4 * (e - 1) + 3]; default: return; } }); var Me = {}, ze = {}, Re = new Uint8Array(512), Oe = new Uint8Array(256); !(function () { for (var e = 1, t = 0; t < 255; t++) (Re[t] = e), (Oe[e] = t), 256 & (e <<= 1) && (e ^= 285); for (var r = 255; r < 512; r++) Re[r] = Re[r - 255]; })(), (ze.log = function (e) { if (e < 1) throw new Error('log(' + e + ')'); return Oe[e]; }), (ze.exp = function (e) { return Re[e]; }), (ze.mul = function (e, t) { return 0 === e || 0 === t ? 0 : Re[Oe[e] + Oe[t]]; }), (function (e) { var t = ze; (e.mul = function (e, r) { for ( var n = new Uint8Array(e.length + r.length - 1), o = 0; o < e.length; o++ ) for (var a = 0; a < r.length; a++) n[o + a] ^= t.mul(e[o], r[a]); return n; }), (e.mod = function (e, r) { for (var n = new Uint8Array(e); n.length - r.length >= 0; ) { for (var o = n[0], a = 0; a < r.length; a++) n[a] ^= t.mul(r[a], o); for (var i = 0; i < n.length && 0 === n[i]; ) i++; n = n.slice(i); } return n; }), (e.generateECPolynomial = function (r) { for (var n = new Uint8Array([1]), o = 0; o < r; o++) n = e.mul(n, new Uint8Array([1, t.exp(o)])); return n; }); })(Me); var Fe = Me; function Ue(e) { (this.genPoly = void 0), (this.degree = e), this.degree && this.initialize(this.degree); } (Ue.prototype.initialize = function (e) { (this.degree = e), (this.genPoly = Fe.generateECPolynomial(this.degree)); }), (Ue.prototype.encode = function (e) { if (!this.genPoly) throw new Error('Encoder not initialized'); var t = new Uint8Array(e.length + this.degree); t.set(e); var r = Fe.mod(t, this.genPoly), n = this.degree - r.length; if (n > 0) { var o = new Uint8Array(this.degree); return o.set(r, n), o; } return r; }); var De = Ue, Ve = {}, Ye = {}, Ge = { isValid: function (e) { return !isNaN(e) && e >= 1 && e <= 40; } }, Qe = {}, Je = '[0-9]+', He = '(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+', Xe = '(?:(?![A-Z0-9 $%*+\\-./:]|' + (He = He.replace(/u/g, '\\u')) + ')(?:.|[\r\n]))+'; (Qe.KANJI = new RegExp(He, 'g')), (Qe.BYTE_KANJI = new RegExp('[^A-Z0-9 $%*+\\-./:]+', 'g')), (Qe.BYTE = new RegExp(Xe, 'g')), (Qe.NUMERIC = new RegExp(Je, 'g')), (Qe.ALPHANUMERIC = new RegExp('[A-Z $%*+\\-./:]+', 'g')); var Ze = new RegExp('^' + He + '$'), Ke = new RegExp('^' + Je + '$'), We = new RegExp('^[A-Z0-9 $%*+\\-./:]+$'); (Qe.testKanji = function (e) { return Ze.test(e); }), (Qe.testNumeric = function (e) { return Ke.test(e); }), (Qe.testAlphanumeric = function (e) { return We.test(e); }), (function (e) { var t = Ge, r = Qe; (e.NUMERIC = { id: 'Numeric', bit: 1, ccBits: [10, 12, 14] }), (e.ALPHANUMERIC = { id: 'Alphanumeric', bit: 2, ccBits: [9, 11, 13] }), (e.BYTE = { id: 'Byte', bit: 4, ccBits: [8, 16, 16] }), (e.KANJI = { id: 'Kanji', bit: 8, ccBits: [8, 10, 12] }), (e.MIXED = { bit: -1 }), (e.getCharCountIndicator = function (e, r) { if (!e.ccBits) throw new Error('Invalid mode: ' + e); if (!t.isValid(r)) throw new Error('Invalid version: ' + r); return r >= 1 && r < 10 ? e.ccBits[0] : r < 27 ? e.ccBits[1] : e.ccBits[2]; }), (e.getBestModeForData = function (t) { return r.testNumeric(t) ? e.NUMERIC : r.testAlphanumeric(t) ? e.ALPHANUMERIC : r.testKanji(t) ? e.KANJI : e.BYTE; }), (e.toString = function (e) { if (e && e.id) return e.id; throw new Error('Invalid mode'); }), (e.isValid = function (e) { return e && e.bit && e.ccBits; }), (e.from = function (t, r) { if (e.isValid(t)) return t; try { return (function (t) { if ('string' != typeof t) throw new Error('Param is not a string'); switch (t.toLowerCase()) { case 'numeric': return e.NUMERIC; case 'alphanumeric': return e.ALPHANUMERIC; case 'kanji': return e.KANJI; case 'byte': return e.BYTE; default: throw new Error('Unknown mode: ' + t); } })(t); } catch (n) { return r; } }); })(Ye), (function (e) { var t = be, r = ke, n = Ce, o = Ye, a = Ge, i = t.getBCHDigit(7973); function u(e, t) { return o.getCharCountIndicator(e, t) + 4; } function s(e, t) { var r = 0; return ( e.forEach(function (e) { var n = u(e.mode, t); r += n + e.getBitsLength(); }), r ); } (e.from = function (e, t) { return a.isValid(e) ? parseInt(e, 10) : t; }), (e.getCapacity = function (e, n, i) { if (!a.isValid(e)) throw new Error('Invalid QR Code version'); void 0 === i && (i = o.BYTE); var s = 8 * (t.getSymbolTotalCodewords(e) - r.getTotalCodewordsCount(e, n)); if (i === o.MIXED) return s; var c = s - u(i, e); switch (i) { case o.NUMERIC: return Math.floor((c / 10) * 3); case o.ALPHANUMERIC: return Math.floor((c / 11) * 2); case o.KANJI: return Math.floor(c / 13); case o.BYTE: default: return Math.floor(c / 8); } }), (e.getBestVersionForData = function (t, r) { var a, i = n.from(r, n.M); if (Array.isArray(t)) { if (t.length > 1) return (function (t, r) { for (var n = 1; n <= 40; n++) if (s(t, n) <= e.getCapacity(n, r, o.MIXED)) return n; })(t, i); if (0 === t.length) return 1; a = t[0]; } else a = t; return (function (t, r, n) { for (var o = 1; o <= 40; o++) if (r <= e.getCapacity(o, n, t)) return o; })(a.mode, a.getLength(), i); }), (e.getEncodedBits = function (e) { if (!a.isValid(e) || e < 7) throw new Error('Invalid QR Code version'); for (var r = e << 12; t.getBCHDigit(r) - i >= 0; ) r ^= 7973 << (t.getBCHDigit(r) - i); return (e << 12) | r; }); })(Ve); var $e = {}, et = be, tt = et.getBCHDigit(1335); $e.getEncodedBits = function (e, t) { for ( var r = (e.bit << 3) | t, n = r << 10; et.getBCHDigit(n) - tt >= 0; ) n ^= 1335 << (et.getBCHDigit(n) - tt); return 21522 ^ ((r << 10) | n); }; var rt = {}, nt = Ye; function ot(e) { (this.mode = nt.NUMERIC), (this.data = e.toString()); } (ot.getBitsLength = function (e) { return 10 * Math.floor(e / 3) + (e % 3 ? (e % 3) * 3 + 1 : 0); }), (ot.prototype.getLength = function () { return this.data.length; }), (ot.prototype.getBitsLength = function () { return ot.getBitsLength(this.data.length); }), (ot.prototype.write = function (e) { var t, r, n; for (t = 0; t + 3 <= this.data.length; t += 3) (r = this.data.substr(t, 3)), (n = parseInt(r, 10)), e.put(n, 10); var o = this.data.length - t; o > 0 && ((r = this.data.substr(t)), (n = parseInt(r, 10)), e.put(n, 3 * o + 1)); }); var at = ot, it = Ye, ut = [ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', ' ', '$', '%', '*', '+', '-', '.', '/', ':' ]; function st(e) { (this.mode = it.ALPHANUMERIC), (this.data = e); } (st.getBitsLength = function (e) { return 11 * Math.floor(e / 2) + (e % 2) * 6; }), (st.prototype.getLength = function () { return this.data.length; }), (st.prototype.getBitsLength = function () { return st.getBitsLength(this.data.length); }), (st.prototype.write = function (e) { var t; for (t = 0; t + 2 <= this.data.length; t += 2) { var r = 45 * ut.indexOf(this.data[t]); (r += ut.indexOf(this.data[t + 1])), e.put(r, 11); } this.data.length % 2 && e.put(ut.indexOf(this.data[t]), 6); }); var ct = st, lt = function (e) { for (var t = [], r = e.length, n = 0; n < r; n++) { var o = e.charCodeAt(n); if (o >= 55296 && o <= 56319 && r > n + 1) { var a = e.charCodeAt(n + 1); a >= 56320 && a <= 57343 && ((o = 1024 * (o - 55296) + a - 56320 + 65536), (n += 1)); } o < 128 ? t.push(o) : o < 2048 ? (t.push((o >> 6) | 192), t.push((63 & o) | 128)) : o < 55296 || (o >= 57344 && o < 65536) ? (t.push((o >> 12) | 224), t.push(((o >> 6) & 63) | 128), t.push((63 & o) | 128)) : o >= 65536 && o <= 1114111 ? (t.push((o >> 18) | 240), t.push(((o >> 12) & 63) | 128), t.push(((o >> 6) & 63) | 128), t.push((63 & o) | 128)) : t.push(239, 191, 189); } return new Uint8Array(t).buffer; }, dt = Ye; function ft(e) { (this.mode = dt.BYTE), 'string' == typeof e && (e = lt(e)), (this.data = new Uint8Array(e)); } (ft.getBitsLength = function (e) { return 8 * e; }), (ft.prototype.getLength = function () { return this.data.length; }), (ft.prototype.getBitsLength = function () { return ft.getBitsLength(this.data.length); }), (ft.prototype.write = function (e) { for (var t = 0, r = this.data.length; t < r; t++) e.put(this.data[t], 8); }); var ht = ft, gt = Ye, mt = be; function pt(e) { (this.mode = gt.KANJI), (this.data = e); } (pt.getBitsLength = function (e) { return 13 * e; }), (pt.prototype.getLength = function () { return this.data.length; }), (pt.prototype.getBitsLength = function () { return pt.getBitsLength(this.data.length); }), (pt.prototype.write = function (e) { var t; for (t = 0; t < this.data.length; t++) { var r = mt.toSJIS(this.data[t]); if (r >= 33088 && r <= 40956) r -= 33088; else { if (!(r >= 57408 && r <= 60351)) throw new Error( 'Invalid SJIS character: ' + this.data[t] + '\nMake sure your charset is UTF-8' ); r -= 49472; } (r = 192 * ((r >>> 8) & 255) + (255 & r)), e.put(r, 13); } }); var _t = pt, vt = { exports: {} }; !(function (e) { var t = { single_source_shortest_paths: function (e, r, n) { var o = {}, a = {}; a[r] = 0; var i, u, s, c, l, d, f, h = t.PriorityQueue.make(); for (h.push(r, 0); !h.empty(); ) for (s in ((u = (i = h.pop()).value), (c = i.cost), (l = e[u] || {}))) l.hasOwnProperty(s) && ((d = c + l[s]), (f = a[s]), (void 0 === a[s] || f > d) && ((a[s] = d), h.push(s, d), (o[s] = u))); if (void 0 !== n && void 0 === a[n]) { var g = [ 'Could not find a path from ', r, ' to ', n, '.' ].join(''); throw new Error(g); } return o; }, extract_shortest_path_from_predecessor_list: function (e, t) { for (var r = [], n = t; n; ) r.push(n), e[n], (n = e[n]); return r.reverse(), r; }, find_path: function (e, r, n) { var o = t.single_source_shortest_paths(e, r, n); return t.extract_shortest_path_from_predecessor_list(o, n); }, PriorityQueue: { make: function (e) { var r, n = t.PriorityQueue, o = {}; for (r in ((e = e || {}), n)) n.hasOwnProperty(r) && (o[r] = n[r]); return ( (o.queue = []), (o.sorter = e.sorter || n.default_sorter), o ); }, default_sorter: function (e, t) { return e.cost - t.cost; }, push: function (e, t) { var r = { value: e, cost: t }; this.queue.push(r), this.queue.sort(this.sorter); }, pop: function () { return this.queue.shift(); }, empty: function () { return 0 === this.queue.length; } } }; e.exports = t; })(vt); var yt = vt.exports; !(function (e) { var t = Ye, r = at, n = ct, o = ht, a = _t, i = Qe, u = be, s = yt; function c(e) { return unescape(encodeURIComponent(e)).length; } function l(e, t, r) { for (var n, o = []; null !== (n = e.exec(r)); ) o.push({ data: n[0], index: n.index, mode: t, length: n[0].length }); return o; } function d(e) { var r, n, o = l(i.NUMERIC, t.NUMERIC, e), a = l(i.ALPHANUMERIC, t.ALPHANUMERIC, e); return ( u.isKanjiModeEnabled() ? ((r = l(i.BYTE, t.BYTE, e)), (n = l(i.KANJI, t.KANJI, e))) : ((r = l(i.BYTE_KANJI, t.BYTE, e)), (n = [])), o .concat(a, r, n) .sort(function (e, t) { return e.index - t.index; }) .map(function (e) { return { data: e.data, mode: e.mode, length: e.length }; }) ); } function f(e, i) { switch (i) { case t.NUMERIC: return r.getBitsLength(e); case t.ALPHANUMERIC: return n.getBitsLength(e); case t.KANJI: return a.getBitsLength(e); case t.BYTE: return o.getBitsLength(e); } } function h(e, i) { var s, c = t.getBestModeForData(e); if ((s = t.from(i, c)) !== t.BYTE && s.bit < c.bit) throw new Error( '"' + e + '" cannot be encoded with mode ' + t.toString(s) + '.\n Suggested mode is: ' + t.toString(c) ); switch ( (s !== t.KANJI || u.isKanjiModeEnabled() || (s = t.BYTE), s) ) { case t.NUMERIC: return new r(e); case t.ALPHANUMERIC: return new n(e); case t.KANJI: return new a(e); case t.BYTE: return new o(e); } } (e.fromArray = function (e) { return e.reduce(function (e, t) { return ( 'string' == typeof t ? e.push(h(t, null)) : t.data && e.push(h(t.data, t.mode)), e ); }, []); }), (e.fromString = function (r, n) { for ( var o = (function (e) { for (var r = [], n = 0; n < e.length; n++) { var o = e[n]; switch (o.mode) { case t.NUMERIC: r.push([ o, { data: o.data, mode: t.ALPHANUMERIC, length: o.length }, { data: o.data, mode: t.BYTE, length: o.length } ]); break; case t.ALPHANUMERIC: r.push([ o, { data: o.data, mode: t.BYTE, length: o.length } ]); break; case t.KANJI: r.push([ o, { data: o.data, mode: t.BYTE, length: c(o.data) } ]); break; case t.BYTE: r.push([ { data: o.data, mode: t.BYTE, length: c(o.data) } ]); } } return r; })(d(r, u.isKanjiModeEnabled())), a = (function (e, r) { for ( var n = {}, o = { start: {} }, a = ['start'], i = 0; i < e.length; i++ ) { for (var u = e[i], s = [], c = 0; c < u.length; c++) { var l = u[c], d = '' + i + c; s.push(d), (n[d] = { node: l, lastCount: 0 }), (o[d] = {}); for (var h = 0; h < a.length; h++) { var g = a[h]; n[g] && n[g].node.mode === l.mode ? ((o[g][d] = f(n[g].lastCount + l.length, l.mode) - f(n[g].lastCount, l.mode)), (n[g].lastCount += l.length)) : (n[g] && (n[g].lastCount = l.length), (o[g][d] = f(l.length, l.mode) + 4 + t.getCharCountIndicator(l.mode, r))); } } a = s; } for (var m = 0; m < a.length; m++) o[a[m]].end = 0; return { map: o, table: n }; })(o, n), i = s.find_path(a.map, 'start', 'end'), l = [], h = 1; h < i.length - 1; h++ ) l.push(a.table[i[h]].node); return e.fromArray( (function (e) { return e.reduce(function (e, t) { var r = e.length - 1 >= 0 ? e[e.length - 1] : null; return r && r.mode === t.mode ? ((e[e.length - 1].data += t.data), e) : (e.push(t), e); }, []); })(l) ); }), (e.rawSplit = function (t) { return e.fromArray(d(t, u.isKanjiModeEnabled())); }); })(rt); var wt = be, bt = Ce, At = xe, Ct = Ie, jt = Ne, xt = qe, Et = Te, It = ke, Nt = De, qt = Ve, Pt = $e, Tt = Ye, kt = rt; function St(e, t, r) { var n, o, a = e.size, i = Pt.getEncodedBits(t, r); for (n = 0; n < 15; n++) (o = 1 == ((i >> n) & 1)), n < 6 ? e.set(n, 8, o, !0) : n < 8 ? e.set(n + 1, 8, o, !0) : e.set(a - 15 + n, 8, o, !0), n < 8 ? e.set(8, a - n - 1, o, !0) : n < 9 ? e.set(8, 15 - n - 1 + 1, o, !0) : e.set(8, 15 - n - 1, o, !0); e.set(a - 8, 8, 1, !0); } function Lt(e, t, r) { var n = new At(); r.forEach(function (t) { n.put(t.mode.bit, 4), n.put(t.getLength(), Tt.getCharCountIndicator(t.mode, e)), t.write(n); }); var o = 8 * (wt.getSymbolTotalCodewords(e) - It.getTotalCodewordsCount(e, t)); for ( n.getLengthInBits() + 4 <= o && n.put(0, 4); n.getLengthInBits() % 8 != 0; ) n.putBit(0); for (var a = (o - n.getLengthInBits()) / 8, i = 0; i < a; i++) n.put(i % 2 ? 17 : 236, 8); return (function (e, t, r) { for ( var n = wt.getSymbolTotalCodewords(t), o = It.getTotalCodewordsCount(t, r), a = n - o, i = It.getBlocksCount(t, r), u = i - (n % i), s = Math.floor(n / i), c = Math.floor(a / i), l = c + 1, d = s - c, f = new Nt(d), h = 0, g = new Array(i), m = new Array(i), p = 0, _ = new Uint8Array(e.buffer), v = 0; v < i; v++ ) { var y = v < u ? c : l; (g[v] = _.slice(h, h + y)), (m[v] = f.encode(g[v])), (h += y), (p = Math.max(p, y)); } var w, b, A = new Uint8Array(n), C = 0; for (w = 0; w < p; w++) for (b = 0; b < i; b++) w < g[b].length && (A[C++] = g[b][w]); for (w = 0; w < d; w++) for (b = 0; b < i; b++) A[C++] = m[b][w]; return A; })(n, e, t); } function Bt(e, t, r, n) { var o; if (Array.isArray(e)) o = kt.fromArray(e); else { if ('string' != typeof e) throw new Error('Invalid data'); var a = t; if (!a) { var i = kt.rawSplit(e); a = qt.getBestVersionForData(i, r); } o = kt.fromString(e, a || 40); } var u = qt.getBestVersionForData(o, r); if (!u) throw new Error( 'The amount of data is too big to be stored in a QR Code' ); if (t) { if (t < u) throw new Error( '\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: ' + u + '.\n' ); } else t = u; var s = Lt(t, r, o), c = wt.getSymbolSize(t), l = new Ct(c); return ( (function (e, t) { for ( var r = e.size, n = xt.getPositions(t), o = 0; o < n.length; o++ ) for (var a = n[o][0], i = n[o][1], u = -1; u <= 7; u++) if (!(a + u <= -1 || r <= a + u)) for (var s = -1; s <= 7; s++) i + s <= -1 || r <= i + s || ((u >= 0 && u <= 6 && (0 === s || 6 === s)) || (s >= 0 && s <= 6 && (0 === u || 6 === u)) || (u >= 2 && u <= 4 && s >= 2 && s <= 4) ? e.set(a + u, i + s, !0, !0) : e.set(a + u, i + s, !1, !0)); })(l, t), (function (e) { for (var t = e.size, r = 8; r < t - 8; r++) { var n = r % 2 == 0; e.set(r, 6, n, !0), e.set(6, r, n, !0); } })(l), (function (e, t) { for (var r = jt.getPositions(t), n = 0; n < r.length; n++) for (var o = r[n][0], a = r[n][1], i = -2; i <= 2; i++) for (var u = -2; u <= 2; u++) -2 === i || 2 === i || -2 === u || 2 === u || (0 === i && 0 === u) ? e.set(o + i, a + u, !0, !0) : e.set(o + i, a + u, !1, !0); })(l, t), St(l, r, 0), t >= 7 && (function (e, t) { for ( var r, n, o, a = e.size, i = qt.getEncodedBits(t), u = 0; u < 18; u++ ) (r = Math.floor(u / 3)), (n = (u % 3) + a - 8 - 3), (o = 1 == ((i >> u) & 1)), e.set(r, n, o, !0), e.set(n, r, o, !0); })(l, t), (function (e, t) { for ( var r = e.size, n = -1, o = r - 1, a = 7, i = 0, u = r - 1; u > 0; u -= 2 ) for (6 === u && u--; ; ) { for (var s = 0; s < 2; s++) if (!e.isReserved(o, u - s)) { var c = !1; i < t.length && (c = 1 == ((t[i] >>> a) & 1)), e.set(o, u - s, c), -1 == --a && (i++, (a = 7)); } if ((o += n) < 0 || r <= o) { (o -= n), (n = -n); break; } } })(l, s), isNaN(n) && (n = Et.getBestMask(l, St.bind(null, l, r))), Et.applyMask(n, l), St(l, r, n), { modules: l, version: t, errorCorrectionLevel: r, maskPattern: n, segments: o } ); } we.create = function (e, t) { if (void 0 === e || '' === e) throw new Error('No input text'); var r, n, o = bt.M; return ( void 0 !== t && ((o = bt.from(t.errorCorrectionLevel, bt.M)), (r = qt.from(t.version)), (n = Et.from(t.maskPattern)), t.toSJISFunc && wt.setToSJISFunction(t.toSJISFunc)), Bt(e, r, o, n) ); }; var Mt = {}, zt = {}; !(function (e) { function t(e) { if ( ('number' == typeof e && (e = e.toString()), 'string' != typeof e) ) throw new Error('Color should be defined as hex string'); var t = e.slice().replace('#', '').split(''); if (t.length < 3 || 5 === t.length || t.length > 8) throw new Error('Invalid hex color: ' + e); (3 !== t.length && 4 !== t.length) || (t = Array.prototype.concat.apply( [], t.map(function (e) { return [e, e]; }) )), 6 === t.length && t.push('F', 'F'); var r = parseInt(t.join(''), 16); return { r: (r >> 24) & 255, g: (r >> 16) & 255, b: (r >> 8) & 255, a: 255 & r, hex: '#' + t.slice(0, 6).join('') }; } (e.getOptions = function (e) { e || (e = {}), e.color || (e.color = {}); var r = void 0 === e.margin || null === e.margin || e.margin < 0 ? 4 : e.margin, n = e.width && e.width >= 21 ? e.width : void 0, o = e.scale || 4; return { width: n, scale: n ? 4 : o, margin: r, color: { dark: t(e.color.dark || '#000000ff'), light: t(e.color.light || '#ffffffff') }, type: e.type, rendererOpts: e.rendererOpts || {} }; }), (e.getScale = function (e, t) { return t.width && t.width >= e + 2 * t.margin ? t.width / (e + 2 * t.margin) : t.scale; }), (e.getImageWidth = function (t, r) { var n = e.getScale(t, r); return Math.floor((t + 2 * r.margin) * n); }), (e.qrToImageData = function (t, r, n) { for ( var o = r.modules.size, a = r.modules.data, i = e.getScale(o, n), u = Math.floor((o + 2 * n.margin) * i), s = n.margin * i, c = [n.color.light, n.color.dark], l = 0; l < u; l++ ) for (var d = 0; d < u; d++) { var f = 4 * (l * u + d), h = n.color.light; if (l >= s && d >= s && l < u - s && d < u - s) h = c[ a[ Math.floor((l - s) / i) * o + Math.floor((d - s) / i) ] ? 1 : 0 ]; (t[f++] = h.r), (t[f++] = h.g), (t[f++] = h.b), (t[f] = h.a); } }); })(zt), (function (e) { var t = zt; (e.render = function (e, r, n) { var o = n, a = r; void 0 !== o || (r && r.getContext) || ((o = r), (r = void 0)), r || (a = (function () { try { return document.createElement('canvas'); } catch (e) { throw new Error('You need to specify a canvas element'); } })()), (o = t.getOptions(o)); var i = t.getImageWidth(e.modules.size, o), u = a.getContext('2d'), s = u.createImageData(i, i); return ( t.qrToImageData(s.data, e, o), (function (e, t, r) { e.clearRect(0, 0, t.width, t.height), t.style || (t.style = {}), (t.height = r), (t.width = r), (t.style.height = r + 'px'), (t.style.width = r + 'px'); })(u, a, i), u.putImageData(s, 0, 0), a ); }), (e.renderToDataURL = function (t, r, n) { var o = n; void 0 !== o || (r && r.getContext) || ((o = r), (r = void 0)), o || (o = {}); var a = e.render(t, r, o), i = o.type || 'image/png', u = o.rendererOpts || {}; return a.toDataURL(i, u.quality); }); })(Mt); var Rt = {}, Ot = zt; function Ft(e, t) { var r = e.a / 255, n = t + '="' + e.hex + '"'; return r < 1 ? n + ' ' + t + '-opacity="' + r.toFixed(2).slice(1) + '"' : n; } function Ut(e, t, r) { var n = e + t; return void 0 !== r && (n += ' ' + r), n; } Rt.render = function (e, t, r) { var n = Ot.getOptions(t), o = e.modules.size, a = e.modules.data, i = o + 2 * n.margin, u = n.color.light.a ? '' : '', s = '', c = 'viewBox="0 0 ' + i + ' ' + i + '"', l = '' + u + s + '\n'; return 'function' == typeof r && r(null, l), l; }; var Dt = function () { return ( 'function' == typeof Promise && Promise.prototype && Promise.prototype.then ); }, Vt = we, Yt = Mt, Gt = Rt; function Qt(e, t, r, n, o) { var a = [].slice.call(arguments, 1), i = a.length, u = 'function' == typeof a[i - 1]; if (!u && !Dt()) throw new Error('Callback required as last argument'); if (!u) { if (i < 1) throw new Error('Too few arguments provided'); return ( 1 === i ? ((r = t), (t = n = void 0)) : 2 !== i || t.getContext || ((n = r), (r = t), (t = void 0)), new Promise(function (o, a) { try { var i = Vt.create(r, n); o(e(i, t, n)); } catch (u) { a(u); } }) ); } if (i < 2) throw new Error('Too few arguments provided'); 2 === i ? ((o = r), (r = t), (t = n = void 0)) : 3 === i && (t.getContext && void 0 === o ? ((o = n), (n = void 0)) : ((o = n), (n = r), (r = t), (t = void 0))); try { var s = Vt.create(r, n); o(null, e(s, t, n)); } catch (c) { o(c); } } (ye.create = Vt.create), (ye.toCanvas = Qt.bind(null, Yt.render)), (ye.toDataURL = Qt.bind(null, Yt.renderToDataURL)), (ye.toString = Qt.bind(null, function (e, t, r) { return Gt.render(e, r); })); var Jt = '_qrcode_izshm_1', Ht = '_qrcodeCanvas_izshm_4', Xt = '_qrcodeLogo_izshm_8', Zt = '_small_izshm_18', Kt = n({ props: { text: { type: String, default: '' }, size: { type: String, default: '200px' }, logoSize: { type: String, default: 'default' } }, setup: function (e) { var t = w(), r = function () { ye.toCanvas(t.value, e.text, { margin: 1 }, function (e) { e && console.log(e), console.log('success'); }); }; return ( b( function () { return e.text; }, function () { r(); } ), A(function () { C(function () { r(); }); }), function () { return s( 'div', { class: Jt, style: { width: e.size, height: e.size } }, [ s('canvas', { ref: t, class: Ht }, null), s( 'img', { src: ve, class: [Xt, 'small' === e.logoSize && Zt] }, null ) ] ); } ); } }), Wt = n({ name: 'qrcode-payment', props: { url: { type: String, default: '' }, pay_channel: { type: String, default: 'wx_pub' }, orderType: { type: String, default: '' } }, setup: function (e) { return function () { return s('div', { class: [ce] }, [ s('div', { class: [he] }, [ s('div', { class: ge }, [ 'VIP' === e.orderType ? '会员购买' : '报名缴费' ]), s('div', { class: me }, [ c('请截图下方二维码'), s('span', null, [ c('登录'), 'wx_pub' === e.pay_channel ? '微信' : '支付宝', c('扫码支付') ]) ]), s('div', { class: pe }, [ s( Kt, { text: e.url, logoSize: 'small', size: '100%' }, null ) ]), s('div', { class: _e }, [c('请在30分钟内扫码支付')]) ]), s('div', { class: [le] }, [ s('div', { class: de }, [c('使用说明:')]), s('div', { class: fe }, [ c('1.打开'), 'wx_pub' === e.pay_channel ? '微信' : '支付宝', c('扫一扫'), s('br', null, null), c('2.选择相册中的二维码'), s('br', null, null), c('3.请在30分钟内扫码支付') ]) ]) ]); }; } }); e( 'default', n({ name: 'order-detail', setup: function () { var e = j(), t = a(), r = f({ paymentType: 'adapay', orderTimer: null, paymentStatus: !1, showQrcode: !1, qrCodeUrl: '', pay_channel: '', orderNo: e.query.orderNo, orderInfo: {}, goodsInfos: [], config: e.query.config ? JSON.parse(e.query.config) : {}, hasFreight: !e.query.hf, freight: '', agreeStatus: !0, showHeader: !1, authShow: !1, selectGoodsId: null, currentPrice: 0, dialogStatus: !1, dialogMessage: '', submitStatus: !1 }), n = u(function () { return r.orderInfo.orderType; }), l = w({}), m = (function () { var e = i( o().mark(function e() { var t, n, a, i; return o().wrap( function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return ( (e.prev = 0), (e.next = 3), v.get( '/edu-app/userPaymentOrder/detail/' + r.orderNo ) ); case 3: (t = e.sent), (n = t.data), (a = n.goodsInfos || []), (r.orderInfo = n), (i = !1), a.forEach(function (e) { var t = e.goodsUrl ? e.goodsUrl.split(',')[0] : ''; (e.goodsUrl = t), 'INSTRUMENTS' === e.goodsType && (i = !0); }), (r.goodsInfos = a), l.value.id || (l.value = n.addresses || {}), (r.freight = i ? '到付' : '免运费'), 'WAIT_PAY' !== n.status && 'PAYING' !== n.status && ((r.dialogStatus = !0), (r.dialogMessage = '订单' + se[n.status])), (e.next = 17); break; case 15: (e.prev = 15), (e.t0 = e.catch(0)); case 17: case 'end': return e.stop(); } }, e, null, [[0, 15]] ); }) ); return function () { return e.apply(this, arguments); }; })(), b = function (e) { var t = r.config; r.pay_channel = e.pay_channel; var n = z.stringify({ pay_channel: e.pay_channel, wxAppId: t.wxAppId, body: t.body, price: t.price, orderNo: t.merOrderNo, userId: t.userId }); 'payResult' === e.payCode ? (window.location.href = window.location.origin + '/classroom-app/#/payResult?' + n) : ((r.qrCodeUrl = window.location.origin + '/classroom-app/#/payDefine?' + n), (r.showQrcode = !0), (r.paymentStatus = !1), setTimeout(function () { C(); }, 300)); }, C = (function () { var t = i( o().mark(function t() { var n; return o().wrap(function (t) { for (;;) switch ((t.prev = t.next)) { case 0: n = setInterval( i( o().mark(function t() { var a, i; return o().wrap( function (t) { for (;;) switch ((t.prev = t.next)) { case 0: if ('order-detail' == e.name) { t.next = 3; break; } return ( clearInterval(n), t.abrupt('return') ); case 3: return ( (r.orderTimer = n), (t.prev = 4), (t.next = 7), v.post( '/edu-app/open/userOrder/paymentStatus/' + r.orderNo, { hideLoading: !0 } ) ); case 7: (a = t.sent), 'WAIT_PAY' !== (i = a.data).status && 'PAYING' !== i.status && ((r.showQrcode = !1), clearInterval(r.orderTimer), setTimeout(function () { F(); }, 100)), (t.next = 15); break; case 12: (t.prev = 12), (t.t0 = t.catch(4)), clearInterval(r.orderTimer); case 15: case 'end': return t.stop(); } }, t, null, [[4, 12]] ); }) ), 5e3 ); case 1: case 'end': return t.stop(); } }, t); }) ); return function () { return t.apply(this, arguments); }; })(), P = (function () { var e = i( o().mark(function e() { return o().wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: clearInterval(r.orderTimer), 'VIP' === n.value ? B(T) : M(T); case 2: case 'end': return e.stop(); } }, e); }) ); return function () { return e.apply(this, arguments); }; })(), T = function () { var e = r.pay_channel; if (e) { var t = (function (e) { var t = 'qrCode'; return ( p().weixin ? 'alipay_qr' == e || 'alipay_wap' == e ? (t = 'qrCode') : 'wx_pub' == e && (t = 'pay') : (t = p().alipay && 'alipay_wap' == e ? 'pay' : 'qrCode'), 'qrCode' == t ? 'payDefine' : 'payResult' ); })(r.pay_channel); b({ payCode: t, pay_channel: e }); } else 'VIP' === n.value ? (r.paymentStatus = !0) : b({ payCode: 'payResult', pay_channel: 'wx_pub' }); }, B = (function () { var e = i( o().mark(function e(n) { var a, i, u; return o().wrap( function (e) { for (;;) switch ((e.prev = e.next)) { case 0: if (((e.prev = 0), r.agreeStatus)) { e.next = 4; break; } return ( E('请先阅读并同意《音乐数字课堂服务协议》'), e.abrupt('return') ); case 4: if ( null != (a = _.user.data) && a.account.realName && null != a && a.account.idCardNo ) { e.next = 8; break; } return (r.authShow = !0), e.abrupt('return'); case 8: return ( (r.submitStatus = !0), (e.next = 11), v.post( '/edu-app/userPaymentOrder/updateReceiveAddress', { hideLoading: !1, data: { orderNo: r.orderNo, orderType: 'VIP' } } ) ); case 11: (i = e.sent), (u = i.data), (r.pay_channel = u.paymentChannel), 'WAIT_PAY' !== u.status && 'PAYING' !== u.status ? t.replace({ path: '/payment-result', query: { orderNo: r.orderNo } }) : (n && n(), (r.submitStatus = !1)), (e.next = 20); break; case 17: (e.prev = 17), (e.t0 = e.catch(0)), (r.submitStatus = !1); case 20: case 'end': return e.stop(); } }, e, null, [[0, 17]] ); }) ); return function (t) { return e.apply(this, arguments); }; })(), M = (function () { var e = i( o().mark(function e(t) { var n, a, i; return o().wrap( function (e) { for (;;) switch ((e.prev = e.next)) { case 0: if (l.value.id) { e.next = 3; break; } return ( E('请选择收货地址'), e.abrupt('return') ); case 3: if (r.agreeStatus) { e.next = 6; break; } return ( E('请先阅读并同意《音乐数字课堂服务协议》'), e.abrupt('return') ); case 6: if ( null != (n = _.user.data) && n.account.realName && null != n && n.account.idCardNo ) { e.next = 10; break; } return (r.authShow = !0), e.abrupt('return'); case 10: return ( (r.submitStatus = !0), (e.prev = 11), (e.next = 14), v.post( '/edu-app/userPaymentOrder/updateReceiveAddress', { hideLoading: !1, data: { orderNo: r.orderNo, orderType: 'SCHOOL_REGISTER', receiveAddress: l.value.id } } ) ); case 14: (a = e.sent), (i = a.data), (r.pay_channel = i.paymentChannel), 'WAIT_PAY' !== i.status && 'PAYING' !== i.status ? F() : (t && t(), (r.submitStatus = !1)), (e.next = 23); break; case 20: (e.prev = 20), (e.t0 = e.catch(11)), (r.submitStatus = !1); case 23: case 'end': return e.stop(); } }, e, null, [[11, 20]] ); }) ); return function (t) { return e.apply(this, arguments); }; })(), F = function () { t.replace({ path: '/payment-result', query: { orderNo: r.orderNo } }); }, U = (function () { var e = i( o().mark(function e() { return o().wrap( function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return ( (e.prev = 0), (e.next = 3), v.post( '/edu-app/userPaymentOrder/cancelPayment/' + r.orderNo ) ); case 3: t.back(), (e.next = 8); break; case 6: (e.prev = 6), (e.t0 = e.catch(0)); case 8: case 'end': return e.stop(); } }, e, null, [[0, 6]] ); }) ); return function () { return e.apply(this, arguments); }; })(), V = function () { (r.authShow = !1), P(); }; return ( A(function () { p().isApp ? (r.showHeader = !0) : (r.showHeader = !1); var e = sessionStorage.getItem('addressDetails'); (e = e ? JSON.parse(e) : {}), (l.value = e), sessionStorage.removeItem('addressDetails'), m(); }), function () { return s(d, null, [ p().isApp && s(y, { border: !1 }, null), s('div', { class: D.cartConfirm }, [ 'SCHOOL_REGISTER' === n.value && s('div', { class: D.cartConfirmBox }, [ s(H, { item: l.value }, null) ]), s( k, { style: { margin: 0 } }, { default: function () { return [ r.goodsInfos && r.goodsInfos.map(function (e) { return s( I, { class: D.cellItem }, { icon: function () { return s( O, { class: D.img, src: e.goodsUrl }, null ); }, title: function () { return s( 'div', { class: D.goodsContent }, [ s('h2', null, [ s('span', null, [e.goodsName]), s( 'span', { class: D.goodsNum }, [c('x '), e.goodsNum] ) ]), s( 'div', { class: D.goodsPrice }, [ s( N, { class: D.brandName }, { default: function () { return [ 'VIP' === e.goodsType ? '12个月' : e.brandName ]; } } ), s( 'span', { class: [ D.goodsNums, e.paymentCashAmount > 0 ? D.numFont : D.free ] }, [ e.paymentCashAmount > 0 ? s(d, null, [ s( 'span', { class: D.numPrefix }, [c('¥ ')] ), h( e.paymentCashAmount ) ]) : '免费' ] ) ] ), s('p', { class: D.model }, [ e.description ]) ] ); } } ); }) ]; } } ), 'SCHOOL_REGISTER' === n.value && s( I, { class: D.freight, title: '运费', value: r.freight }, null ) ]), s( q, { position: 'bottom' }, { default: function () { return [ s('div', { class: D.protocol }, [ s( S, { modelValue: r.agreeStatus, 'onUpdate:modelValue': function (e) { return (r.agreeStatus = e); }, showHeader: r.showHeader, style: { paddingTop: 0, paddingBottom: 0 } }, null ) ]), s('div', { class: D.paymentContainer }, [ s('div', { class: D.payemntPrice }, [ s('p', { class: D.needPrice }, [ c('支付金额:'), s('span', null, [ s('i', null, [c('¥')]), h(r.orderInfo.currentPrice) ]) ]) ]), s('div', { class: D.paymentBtn }, [ s( g, { round: !0, class: [D.submitBtn], onClick: P, loading: r.submitStatus, disabled: r.submitStatus }, { default: function () { return [c('提交')]; } } ) ]) ]) ]; } } ), s( x, { show: r.paymentStatus, closeOnClickOverlay: !1, position: 'bottom', round: !0, closeOnPopstate: !0, safeAreaInsetBottom: !0, style: { minHeight: '30%' } }, { default: function () { return [ s( ne, { paymentConfig: r.orderInfo, onClose: function () { return (r.paymentStatus = !1); }, onBackOut: U, onConfirm: function (e) { return b(e); } }, null ) ]; } } ), s( x, { show: r.showQrcode, 'onUpdate:show': function (e) { return (r.showQrcode = e); }, round: !0, onClose: function () { clearInterval(r.orderTimer); } }, { default: function () { return [ s( Wt, { url: r.qrCodeUrl, pay_channel: r.pay_channel, orderType: n.value }, null ) ]; } } ), s( L, { modelValue: r.authShow, 'onUpdate:modelValue': function (e) { return (r.authShow = e); } }, { default: function () { return [ s( ue, { onSuccess: V, hideHeader: !p().isApp }, null ) ]; } } ), s( R, { title: '提示', show: r.dialogStatus, 'onUpdate:show': function (e) { return (r.dialogStatus = e); }, message: r.dialogMessage, confirmButtonText: '确定', onConfirm: function () { F(); } }, null ) ]); } ); } }) ); } }; } ); })();