You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1710 lines
152 KiB
1710 lines
152 KiB
var __wxAppData = {}; |
|
var __wxRoute; |
|
var __wxRouteBegin; |
|
var __wxAppCode__ = {}; |
|
var global = {}; |
|
var __wxAppCurrentFile__; |
|
if(typeof __WXML_GLOBAL__ !== 'undefined'){ |
|
delete __WXML_GLOBAL__.ops_cached//remove ops_cached(v8 下会有 cache) |
|
} |
|
// var Component = Component || function() {}; |
|
// var definePlugin = definePlugin || function() {}; |
|
// var requirePlugin = requirePlugin || function() {}; |
|
// var Behavior = Behavior || function() {}; |
|
var $gwx; |
|
|
|
/*v0.5vv_20190312_syb_scopedata*/global.__wcc_version__='v0.5vv_20190312_syb_scopedata';global.__wcc_version_info__={"customComponents":true,"fixZeroRpx":true,"propValueDeepCopy":false}; |
|
var $gwxc |
|
var $gaic={} |
|
$gwx=function(path,global){ |
|
if(typeof global === 'undefined') global={};if(typeof __WXML_GLOBAL__ === 'undefined') {__WXML_GLOBAL__={}; |
|
}__WXML_GLOBAL__.modules = __WXML_GLOBAL__.modules || {}; |
|
function _(a,b){if(typeof(b)!='undefined')a.children.push(b);} |
|
function _v(k){if(typeof(k)!='undefined')return {tag:'virtual','wxKey':k,children:[]};return {tag:'virtual',children:[]};} |
|
function _n(tag){$gwxc++;if($gwxc>=16000){throw 'Dom limit exceeded, please check if there\'s any mistake you\'ve made.'};return {tag:'wx-'+tag,attr:{},children:[],n:[],raw:{},generics:{}}} |
|
function _p(a,b){b&&a.properities.push(b);} |
|
function _s(scope,env,key){return typeof(scope[key])!='undefined'?scope[key]:env[key]} |
|
function _wp(m){console.warn("WXMLRT_$gwx:"+m)} |
|
function _wl(tname,prefix){_wp(prefix+':-1:-1:-1: Template `' + tname + '` is being called recursively, will be stop.')} |
|
$gwn=console.warn; |
|
$gwl=console.log; |
|
function $gwh() |
|
{ |
|
function x() |
|
{ |
|
} |
|
x.prototype = |
|
{ |
|
hn: function( obj, all ) |
|
{ |
|
if( typeof(obj) == 'object' ) |
|
{ |
|
var cnt=0; |
|
var any1=false,any2=false; |
|
for(var x in obj) |
|
{ |
|
any1=any1|x==='__value__'; |
|
any2=any2|x==='__wxspec__'; |
|
cnt++; |
|
if(cnt>2)break; |
|
} |
|
return cnt == 2 && any1 && any2 && ( all || obj.__wxspec__ !== 'm' || this.hn(obj.__value__) === 'h' ) ? "h" : "n"; |
|
} |
|
return "n"; |
|
}, |
|
nh: function( obj, special ) |
|
{ |
|
return { __value__: obj, __wxspec__: special ? special : true } |
|
}, |
|
rv: function( obj ) |
|
{ |
|
return this.hn(obj,true)==='n'?obj:this.rv(obj.__value__); |
|
}, |
|
hm: function( obj ) |
|
{ |
|
if( typeof(obj) == 'object' ) |
|
{ |
|
var cnt=0; |
|
var any1=false,any2=false; |
|
for(var x in obj) |
|
{ |
|
any1=any1|x==='__value__'; |
|
any2=any2|x==='__wxspec__'; |
|
cnt++; |
|
if(cnt>2)break; |
|
} |
|
return cnt == 2 && any1 && any2 && (obj.__wxspec__ === 'm' || this.hm(obj.__value__) ); |
|
} |
|
return false; |
|
} |
|
} |
|
return new x; |
|
} |
|
wh=$gwh(); |
|
function $gstack(s){ |
|
var tmp=s.split('\n '+' '+' '+' '); |
|
for(var i=0;i<tmp.length;++i){ |
|
if(0==i) continue; |
|
if(")"===tmp[i][tmp[i].length-1]) |
|
tmp[i]=tmp[i].replace(/\s\(.*\)$/,""); |
|
else |
|
tmp[i]="at anonymous function"; |
|
} |
|
return tmp.join('\n '+' '+' '+' '); |
|
} |
|
function $gwrt( should_pass_type_info ) |
|
{ |
|
function ArithmeticEv( ops, e, s, g, o ) |
|
{ |
|
var _f = false; |
|
var rop = ops[0][1]; |
|
var _a,_b,_c,_d, _aa, _bb; |
|
switch( rop ) |
|
{ |
|
case '?:': |
|
_a = rev( ops[1], e, s, g, o, _f ); |
|
_c = should_pass_type_info && ( wh.hn(_a) === 'h' ); |
|
_d = wh.rv( _a ) ? rev( ops[2], e, s, g, o, _f ) : rev( ops[3], e, s, g, o, _f ); |
|
_d = _c && wh.hn( _d ) === 'n' ? wh.nh( _d, 'c' ) : _d; |
|
return _d; |
|
break; |
|
case '&&': |
|
_a = rev( ops[1], e, s, g, o, _f ); |
|
_c = should_pass_type_info && ( wh.hn(_a) === 'h' ); |
|
_d = wh.rv( _a ) ? rev( ops[2], e, s, g, o, _f ) : wh.rv( _a ); |
|
_d = _c && wh.hn( _d ) === 'n' ? wh.nh( _d, 'c' ) : _d; |
|
return _d; |
|
break; |
|
case '||': |
|
_a = rev( ops[1], e, s, g, o, _f ); |
|
_c = should_pass_type_info && ( wh.hn(_a) === 'h' ); |
|
_d = wh.rv( _a ) ? wh.rv(_a) : rev( ops[2], e, s, g, o, _f ); |
|
_d = _c && wh.hn( _d ) === 'n' ? wh.nh( _d, 'c' ) : _d; |
|
return _d; |
|
break; |
|
case '+': |
|
case '*': |
|
case '/': |
|
case '%': |
|
case '|': |
|
case '^': |
|
case '&': |
|
case '===': |
|
case '==': |
|
case '!=': |
|
case '!==': |
|
case '>=': |
|
case '<=': |
|
case '>': |
|
case '<': |
|
case '<<': |
|
case '>>': |
|
_a = rev( ops[1], e, s, g, o, _f ); |
|
_b = rev( ops[2], e, s, g, o, _f ); |
|
_c = should_pass_type_info && (wh.hn( _a ) === 'h' || wh.hn( _b ) === 'h'); |
|
switch( rop ) |
|
{ |
|
case '+': |
|
_d = wh.rv( _a ) + wh.rv( _b ); |
|
break; |
|
case '*': |
|
_d = wh.rv( _a ) * wh.rv( _b ); |
|
break; |
|
case '/': |
|
_d = wh.rv( _a ) / wh.rv( _b ); |
|
break; |
|
case '%': |
|
_d = wh.rv( _a ) % wh.rv( _b ); |
|
break; |
|
case '|': |
|
_d = wh.rv( _a ) | wh.rv( _b ); |
|
break; |
|
case '^': |
|
_d = wh.rv( _a ) ^ wh.rv( _b ); |
|
break; |
|
case '&': |
|
_d = wh.rv( _a ) & wh.rv( _b ); |
|
break; |
|
case '===': |
|
_d = wh.rv( _a ) === wh.rv( _b ); |
|
break; |
|
case '==': |
|
_d = wh.rv( _a ) == wh.rv( _b ); |
|
break; |
|
case '!=': |
|
_d = wh.rv( _a ) != wh.rv( _b ); |
|
break; |
|
case '!==': |
|
_d = wh.rv( _a ) !== wh.rv( _b ); |
|
break; |
|
case '>=': |
|
_d = wh.rv( _a ) >= wh.rv( _b ); |
|
break; |
|
case '<=': |
|
_d = wh.rv( _a ) <= wh.rv( _b ); |
|
break; |
|
case '>': |
|
_d = wh.rv( _a ) > wh.rv( _b ); |
|
break; |
|
case '<': |
|
_d = wh.rv( _a ) < wh.rv( _b ); |
|
break; |
|
case '<<': |
|
_d = wh.rv( _a ) << wh.rv( _b ); |
|
break; |
|
case '>>': |
|
_d = wh.rv( _a ) >> wh.rv( _b ); |
|
break; |
|
default: |
|
break; |
|
} |
|
return _c ? wh.nh( _d, "c" ) : _d; |
|
break; |
|
case '-': |
|
_a = ops.length === 3 ? rev( ops[1], e, s, g, o, _f ) : 0; |
|
_b = ops.length === 3 ? rev( ops[2], e, s, g, o, _f ) : rev( ops[1], e, s, g, o, _f ); |
|
_c = should_pass_type_info && (wh.hn( _a ) === 'h' || wh.hn( _b ) === 'h'); |
|
_d = _c ? wh.rv( _a ) - wh.rv( _b ) : _a - _b; |
|
return _c ? wh.nh( _d, "c" ) : _d; |
|
break; |
|
case '!': |
|
_a = rev( ops[1], e, s, g, o, _f ); |
|
_c = should_pass_type_info && (wh.hn( _a ) == 'h'); |
|
_d = !wh.rv(_a); |
|
return _c ? wh.nh( _d, "c" ) : _d; |
|
case '~': |
|
_a = rev( ops[1], e, s, g, o, _f ); |
|
_c = should_pass_type_info && (wh.hn( _a ) == 'h'); |
|
_d = ~wh.rv(_a); |
|
return _c ? wh.nh( _d, "c" ) : _d; |
|
default: |
|
$gwn('unrecognized op' + rop ); |
|
} |
|
} |
|
function rev( ops, e, s, g, o, newap ) |
|
{ |
|
var op = ops[0]; |
|
var _f = false; |
|
if ( typeof newap !== "undefined" ) o.ap = newap; |
|
if( typeof(op)==='object' ) |
|
{ |
|
var vop=op[0]; |
|
var _a, _aa, _b, _bb, _c, _d, _s, _e, _ta, _tb, _td; |
|
switch(vop) |
|
{ |
|
case 2: |
|
return ArithmeticEv(ops,e,s,g,o); |
|
break; |
|
case 4: |
|
return rev( ops[1], e, s, g, o, _f ); |
|
break; |
|
case 5: |
|
switch( ops.length ) |
|
{ |
|
case 2: |
|
_a = rev( ops[1],e,s,g,o,_f ); |
|
return should_pass_type_info?[_a]:[wh.rv(_a)]; |
|
return [_a]; |
|
break; |
|
case 1: |
|
return []; |
|
break; |
|
default: |
|
_a = rev( ops[1],e,s,g,o,_f ); |
|
_b = rev( ops[2],e,s,g,o,_f ); |
|
_a.push( |
|
should_pass_type_info ? |
|
_b : |
|
wh.rv( _b ) |
|
); |
|
return _a; |
|
break; |
|
} |
|
break; |
|
case 6: |
|
_a = rev(ops[1],e,s,g,o); |
|
var ap = o.ap; |
|
_ta = wh.hn(_a)==='h'; |
|
_aa = _ta ? wh.rv(_a) : _a; |
|
o.is_affected |= _ta; |
|
if( should_pass_type_info ) |
|
{ |
|
if( _aa===null || typeof(_aa) === 'undefined' ) |
|
{ |
|
return _ta ? wh.nh(undefined, 'e') : undefined; |
|
} |
|
_b = rev(ops[2],e,s,g,o,_f); |
|
_tb = wh.hn(_b) === 'h'; |
|
_bb = _tb ? wh.rv(_b) : _b; |
|
o.ap = ap; |
|
o.is_affected |= _tb; |
|
if( _bb===null || typeof(_bb) === 'undefined' || |
|
_bb === "__proto__" || _bb === "prototype" || _bb === "caller" ) |
|
{ |
|
return (_ta || _tb) ? wh.nh(undefined, 'e') : undefined; |
|
} |
|
_d = _aa[_bb]; |
|
if ( typeof _d === 'function' && !ap ) _d = undefined; |
|
_td = wh.hn(_d)==='h'; |
|
o.is_affected |= _td; |
|
return (_ta || _tb) ? (_td ? _d : wh.nh(_d, 'e')) : _d; |
|
} |
|
else |
|
{ |
|
if( _aa===null || typeof(_aa) === 'undefined' ) |
|
{ |
|
return undefined; |
|
} |
|
_b = rev(ops[2],e,s,g,o,_f); |
|
_tb = wh.hn(_b) === 'h'; |
|
_bb = _tb ? wh.rv(_b) : _b; |
|
o.ap = ap; |
|
o.is_affected |= _tb; |
|
if( _bb===null || typeof(_bb) === 'undefined' || |
|
_bb === "__proto__" || _bb === "prototype" || _bb === "caller" ) |
|
{ |
|
return undefined; |
|
} |
|
_d = _aa[_bb]; |
|
if ( typeof _d === 'function' && !ap ) _d = undefined; |
|
_td = wh.hn(_d)==='h'; |
|
o.is_affected |= _td; |
|
return _td ? wh.rv(_d) : _d; |
|
} |
|
case 7: |
|
switch(ops[1][0]) |
|
{ |
|
case 11: |
|
o.is_affected |= wh.hn(g)==='h'; |
|
return g; |
|
case 3: |
|
_s = wh.rv( s ); |
|
_e = wh.rv( e ); |
|
_b = ops[1][1]; |
|
if (g && g.f && g.f.hasOwnProperty(_b) ) |
|
{ |
|
_a = g.f; |
|
o.ap = true; |
|
} |
|
else |
|
{ |
|
_a = _s && _s.hasOwnProperty(_b) ? |
|
s : (_e && _e.hasOwnProperty(_b) ? e : undefined ); |
|
} |
|
if( should_pass_type_info ) |
|
{ |
|
if( _a ) |
|
{ |
|
_ta = wh.hn(_a) === 'h'; |
|
_aa = _ta ? wh.rv( _a ) : _a; |
|
_d = _aa[_b]; |
|
_td = wh.hn(_d) === 'h'; |
|
o.is_affected |= _ta || _td; |
|
_d = _ta && !_td ? wh.nh(_d,'e') : _d; |
|
return _d; |
|
} |
|
} |
|
else |
|
{ |
|
if( _a ) |
|
{ |
|
_ta = wh.hn(_a) === 'h'; |
|
_aa = _ta ? wh.rv( _a ) : _a; |
|
_d = _aa[_b]; |
|
_td = wh.hn(_d) === 'h'; |
|
o.is_affected |= _ta || _td; |
|
return wh.rv(_d); |
|
} |
|
} |
|
return undefined; |
|
} |
|
break; |
|
case 8: |
|
_a = {}; |
|
_a[ops[1]] = rev(ops[2],e,s,g,o,_f); |
|
return _a; |
|
break; |
|
case 9: |
|
_a = rev(ops[1],e,s,g,o,_f); |
|
_b = rev(ops[2],e,s,g,o,_f); |
|
function merge( _a, _b, _ow ) |
|
{ |
|
var ka, _bbk; |
|
_ta = wh.hn(_a)==='h'; |
|
_tb = wh.hn(_b)==='h'; |
|
_aa = wh.rv(_a); |
|
_bb = wh.rv(_b); |
|
for(var k in _bb) |
|
{ |
|
if ( _ow || !_aa.hasOwnProperty(k) ) |
|
{ |
|
_aa[k] = should_pass_type_info ? (_tb ? wh.nh(_bb[k],'e') : _bb[k]) : wh.rv(_bb[k]); |
|
} |
|
} |
|
return _a; |
|
} |
|
var _c = _a |
|
var _ow = true |
|
if ( typeof(ops[1][0]) === "object" && ops[1][0][0] === 10 ) { |
|
_a = _b |
|
_b = _c |
|
_ow = false |
|
} |
|
if ( typeof(ops[1][0]) === "object" && ops[1][0][0] === 10 ) { |
|
var _r = {} |
|
return merge( merge( _r, _a, _ow ), _b, _ow ); |
|
} |
|
else |
|
return merge( _a, _b, _ow ); |
|
break; |
|
case 10: |
|
_a = rev(ops[1],e,s,g,o,_f); |
|
_a = should_pass_type_info ? _a : wh.rv( _a ); |
|
return _a ; |
|
break; |
|
case 12: |
|
var _r; |
|
_a = rev(ops[1],e,s,g,o); |
|
if ( !o.ap ) |
|
{ |
|
return should_pass_type_info && wh.hn(_a)==='h' ? wh.nh( _r, 'f' ) : _r; |
|
} |
|
var ap = o.ap; |
|
_b = rev(ops[2],e,s,g,o,_f); |
|
o.ap = ap; |
|
_ta = wh.hn(_a)==='h'; |
|
_tb = _ca(_b); |
|
_aa = wh.rv(_a); |
|
_bb = wh.rv(_b); snap_bb=$gdc(_bb,"nv_"); |
|
try{ |
|
_r = typeof _aa === "function" ? $gdc(_aa.apply(null, snap_bb)) : undefined; |
|
} catch (e){ |
|
e.message = e.message.replace(/nv_/g,""); |
|
e.stack = e.stack.substring(0,e.stack.indexOf("\n", e.stack.lastIndexOf("at nv_"))); |
|
e.stack = e.stack.replace(/\snv_/g," "); |
|
e.stack = $gstack(e.stack); |
|
if(g.debugInfo) |
|
{ |
|
e.stack += "\n "+" "+" "+" at "+g.debugInfo[0]+":"+g.debugInfo[1]+":"+g.debugInfo[2]; |
|
console.error(e); |
|
} |
|
_r = undefined; |
|
} |
|
return should_pass_type_info && (_tb || _ta) ? wh.nh( _r, 'f' ) : _r; |
|
} |
|
} |
|
else |
|
{ |
|
if( op === 3 || op === 1) return ops[1]; |
|
else if( op === 11 ) |
|
{ |
|
var _a=''; |
|
for( var i = 1 ; i < ops.length ; i++ ) |
|
{ |
|
var xp = wh.rv(rev(ops[i],e,s,g,o,_f)); |
|
_a += typeof(xp) === 'undefined' ? '' : xp; |
|
} |
|
return _a; |
|
} |
|
} |
|
} |
|
function wrapper( ops, e, s, g, o, newap ) |
|
{ |
|
if( ops[0] == '11182016' ) |
|
{ |
|
g.debugInfo = ops[2]; |
|
return rev( ops[1], e, s, g, o, newap ); |
|
} |
|
else |
|
{ |
|
g.debugInfo = null; |
|
return rev( ops, e, s, g, o, newap ); |
|
} |
|
} |
|
return wrapper; |
|
} |
|
gra=$gwrt(true); |
|
grb=$gwrt(false); |
|
function TestTest( expr, ops, e,s,g, expect_a, expect_b, expect_affected ) |
|
{ |
|
{ |
|
var o = {is_affected:false}; |
|
var a = gra( ops, e,s,g, o ); |
|
if( JSON.stringify(a) != JSON.stringify( expect_a ) |
|
|| o.is_affected != expect_affected ) |
|
{ |
|
console.warn( "A. " + expr + " get result " + JSON.stringify(a) + ", " + o.is_affected + ", but " + JSON.stringify( expect_a ) + ", " + expect_affected + " is expected" ); |
|
} |
|
} |
|
{ |
|
var o = {is_affected:false}; |
|
var a = grb( ops, e,s,g, o ); |
|
if( JSON.stringify(a) != JSON.stringify( expect_b ) |
|
|| o.is_affected != expect_affected ) |
|
{ |
|
console.warn( "B. " + expr + " get result " + JSON.stringify(a) + ", " + o.is_affected + ", but " + JSON.stringify( expect_b ) + ", " + expect_affected + " is expected" ); |
|
} |
|
} |
|
} |
|
|
|
function wfor( to_iter, func, env, _s, global, father, itemname, indexname, keyname ) |
|
{ |
|
var _n = wh.hn( to_iter ) === 'n'; |
|
var scope = wh.rv( _s ); |
|
var has_old_item = scope.hasOwnProperty(itemname); |
|
var has_old_index = scope.hasOwnProperty(indexname); |
|
var old_item = scope[itemname]; |
|
var old_index = scope[indexname]; |
|
var full = Object.prototype.toString.call(wh.rv(to_iter)); |
|
var type = full[8]; |
|
if( type === 'N' && full[10] === 'l' ) type = 'X'; |
|
var _y; |
|
if( _n ) |
|
{ |
|
if( type === 'A' ) |
|
{ |
|
var r_iter_item; |
|
for( var i = 0 ; i < to_iter.length ; i++ ) |
|
{ |
|
scope[itemname] = to_iter[i]; |
|
scope[indexname] = _n ? i : wh.nh(i, 'h'); |
|
r_iter_item = wh.rv(to_iter[i]); |
|
var key = keyname && r_iter_item ? (keyname==="*this" ? r_iter_item : wh.rv(r_iter_item[keyname])) : undefined; |
|
_y = _v(key); |
|
_(father,_y); |
|
func( env, scope, _y, global ); |
|
} |
|
} |
|
else if( type === 'O' ) |
|
{ |
|
var i = 0; |
|
var r_iter_item; |
|
for( var k in to_iter ) |
|
{ |
|
scope[itemname] = to_iter[k]; |
|
scope[indexname] = _n ? k : wh.nh(k, 'h'); |
|
r_iter_item = wh.rv(to_iter[k]); |
|
var key = keyname && r_iter_item ? (keyname==="*this" ? r_iter_item : wh.rv(r_iter_item[keyname])) : undefined; |
|
_y = _v(key); |
|
_(father,_y); |
|
func( env,scope,_y,global ); |
|
i++; |
|
} |
|
} |
|
else if( type === 'S' ) |
|
{ |
|
for( var i = 0 ; i < to_iter.length ; i++ ) |
|
{ |
|
scope[itemname] = to_iter[i]; |
|
scope[indexname] = _n ? i : wh.nh(i, 'h'); |
|
_y = _v( to_iter[i] + i ); |
|
_(father,_y); |
|
func( env,scope,_y,global ); |
|
} |
|
} |
|
else if( type === 'N' ) |
|
{ |
|
for( var i = 0 ; i < to_iter ; i++ ) |
|
{ |
|
scope[itemname] = i; |
|
scope[indexname] = _n ? i : wh.nh(i, 'h'); |
|
_y = _v( i ); |
|
_(father,_y); |
|
func(env,scope,_y,global); |
|
} |
|
} |
|
else |
|
{ |
|
} |
|
} |
|
else |
|
{ |
|
var r_to_iter = wh.rv(to_iter); |
|
var r_iter_item, iter_item; |
|
if( type === 'A' ) |
|
{ |
|
for( var i = 0 ; i < r_to_iter.length ; i++ ) |
|
{ |
|
iter_item = r_to_iter[i]; |
|
iter_item = wh.hn(iter_item)==='n' ? wh.nh(iter_item,'h') : iter_item; |
|
r_iter_item = wh.rv( iter_item ); |
|
scope[itemname] = iter_item |
|
scope[indexname] = _n ? i : wh.nh(i, 'h'); |
|
var key = keyname && r_iter_item ? (keyname==="*this" ? r_iter_item : wh.rv(r_iter_item[keyname])) : undefined; |
|
_y = _v(key); |
|
_(father,_y); |
|
func( env, scope, _y, global ); |
|
} |
|
} |
|
else if( type === 'O' ) |
|
{ |
|
var i=0; |
|
for( var k in r_to_iter ) |
|
{ |
|
iter_item = r_to_iter[k]; |
|
iter_item = wh.hn(iter_item)==='n'? wh.nh(iter_item,'h') : iter_item; |
|
r_iter_item = wh.rv( iter_item ); |
|
scope[itemname] = iter_item; |
|
scope[indexname] = _n ? k : wh.nh(k, 'h'); |
|
var key = keyname && r_iter_item ? (keyname==="*this" ? r_iter_item : wh.rv(r_iter_item[keyname])) : undefined; |
|
_y=_v(key); |
|
_(father,_y); |
|
func( env, scope, _y, global ); |
|
i++ |
|
} |
|
} |
|
else if( type === 'S' ) |
|
{ |
|
for( var i = 0 ; i < r_to_iter.length ; i++ ) |
|
{ |
|
iter_item = wh.nh(r_to_iter[i],'h'); |
|
scope[itemname] = iter_item; |
|
scope[indexname] = _n ? i : wh.nh(i, 'h'); |
|
_y = _v( to_iter[i] + i ); |
|
_(father,_y); |
|
func( env, scope, _y, global ); |
|
} |
|
} |
|
else if( type === 'N' ) |
|
{ |
|
for( var i = 0 ; i < r_to_iter ; i++ ) |
|
{ |
|
iter_item = wh.nh(i,'h'); |
|
scope[itemname] = iter_item; |
|
scope[indexname]= _n ? i : wh.nh(i,'h'); |
|
_y = _v( i ); |
|
_(father,_y); |
|
func(env,scope,_y,global); |
|
} |
|
} |
|
else |
|
{ |
|
} |
|
} |
|
if(has_old_item) |
|
{ |
|
scope[itemname]=old_item; |
|
} |
|
else |
|
{ |
|
delete scope[itemname]; |
|
} |
|
if(has_old_index) |
|
{ |
|
scope[indexname]=old_index; |
|
} |
|
else |
|
{ |
|
delete scope[indexname]; |
|
} |
|
} |
|
|
|
function _ca(o) |
|
{ |
|
if ( wh.hn(o) == 'h' ) return true; |
|
if ( typeof o !== "object" ) return false; |
|
for(var i in o){ |
|
if ( o.hasOwnProperty(i) ){ |
|
if (_ca(o[i])) return true; |
|
} |
|
} |
|
return false; |
|
} |
|
function _da( node, attrname, opindex, raw, o ) |
|
{ |
|
var isaffected = false; |
|
var value = $gdc( raw, "", 2 ); |
|
if ( o.ap && value && value.constructor===Function ) |
|
{ |
|
attrname = "$wxs:" + attrname; |
|
node.attr["$gdc"] = $gdc; |
|
} |
|
if ( o.is_affected || _ca(raw) ) |
|
{ |
|
node.n.push( attrname ); |
|
node.raw[attrname] = raw; |
|
} |
|
node.attr[attrname] = value; |
|
} |
|
function _r( node, attrname, opindex, env, scope, global ) |
|
{ |
|
global.opindex=opindex; |
|
var o = {}, _env; |
|
var a = grb( z[opindex], env, scope, global, o ); |
|
_da( node, attrname, opindex, a, o ); |
|
} |
|
function _rz( z, node, attrname, opindex, env, scope, global ) |
|
{ |
|
global.opindex=opindex; |
|
var o = {}, _env; |
|
var a = grb( z[opindex], env, scope, global, o ); |
|
_da( node, attrname, opindex, a, o ); |
|
} |
|
function _o( opindex, env, scope, global ) |
|
{ |
|
global.opindex=opindex; |
|
var nothing = {}; |
|
var r = grb( z[opindex], env, scope, global, nothing ); |
|
return (r&&r.constructor===Function) ? undefined : r; |
|
} |
|
function _oz( z, opindex, env, scope, global ) |
|
{ |
|
global.opindex=opindex; |
|
var nothing = {}; |
|
var r = grb( z[opindex], env, scope, global, nothing ); |
|
return (r&&r.constructor===Function) ? undefined : r; |
|
} |
|
function _1( opindex, env, scope, global, o ) |
|
{ |
|
var o = o || {}; |
|
global.opindex=opindex; |
|
return gra( z[opindex], env, scope, global, o ); |
|
} |
|
function _1z( z, opindex, env, scope, global, o ) |
|
{ |
|
var o = o || {}; |
|
global.opindex=opindex; |
|
return gra( z[opindex], env, scope, global, o ); |
|
} |
|
function _2( opindex, func, env, scope, global, father, itemname, indexname, keyname ) |
|
{ |
|
var o = {}; |
|
var to_iter = _1( opindex, env, scope, global ); |
|
wfor( to_iter, func, env, scope, global, father, itemname, indexname, keyname ); |
|
} |
|
function _2z( z, opindex, func, env, scope, global, father, itemname, indexname, keyname ) |
|
{ |
|
var o = {}; |
|
var to_iter = _1z( z, opindex, env, scope, global ); |
|
wfor( to_iter, func, env, scope, global, father, itemname, indexname, keyname ); |
|
} |
|
|
|
|
|
function _m(tag,attrs,generics,env,scope,global) |
|
{ |
|
var tmp=_n(tag); |
|
var base=0; |
|
for(var i = 0 ; i < attrs.length ; i+=2 ) |
|
{ |
|
if(base+attrs[i+1]<0) |
|
{ |
|
tmp.attr[attrs[i]]=true; |
|
} |
|
else |
|
{ |
|
_r(tmp,attrs[i],base+attrs[i+1],env,scope,global); |
|
if(base===0)base=attrs[i+1]; |
|
} |
|
} |
|
for(var i=0;i<generics.length;i+=2) |
|
{ |
|
if(base+generics[i+1]<0) |
|
{ |
|
tmp.generics[generics[i]]=""; |
|
} |
|
else |
|
{ |
|
var $t=grb(z[base+generics[i+1]],env,scope,global); |
|
if ($t!="") $t="wx-"+$t; |
|
tmp.generics[generics[i]]=$t; |
|
if(base===0)base=generics[i+1]; |
|
} |
|
} |
|
return tmp; |
|
} |
|
function _mz(z,tag,attrs,generics,env,scope,global) |
|
{ |
|
var tmp=_n(tag); |
|
var base=0; |
|
for(var i = 0 ; i < attrs.length ; i+=2 ) |
|
{ |
|
if(base+attrs[i+1]<0) |
|
{ |
|
tmp.attr[attrs[i]]=true; |
|
} |
|
else |
|
{ |
|
_rz(z, tmp,attrs[i],base+attrs[i+1],env,scope,global); |
|
if(base===0)base=attrs[i+1]; |
|
} |
|
} |
|
for(var i=0;i<generics.length;i+=2) |
|
{ |
|
if(base+generics[i+1]<0) |
|
{ |
|
tmp.generics[generics[i]]=""; |
|
} |
|
else |
|
{ |
|
var $t=grb(z[base+generics[i+1]],env,scope,global); |
|
if ($t!="") $t="wx-"+$t; |
|
tmp.generics[generics[i]]=$t; |
|
if(base===0)base=generics[i+1]; |
|
} |
|
} |
|
return tmp; |
|
} |
|
|
|
var nf_init=function(){ |
|
if(typeof __WXML_GLOBAL__==="undefined"||undefined===__WXML_GLOBAL__.wxs_nf_init){ |
|
nf_init_Object();nf_init_Function();nf_init_Array();nf_init_String();nf_init_Boolean();nf_init_Number();nf_init_Math();nf_init_Date();nf_init_RegExp(); |
|
} |
|
if(typeof __WXML_GLOBAL__!=="undefined") __WXML_GLOBAL__.wxs_nf_init=true; |
|
}; |
|
var nf_init_Object=function(){ |
|
Object.defineProperty(Object.prototype,"nv_constructor",{writable:true,value:"Object"}) |
|
Object.defineProperty(Object.prototype,"nv_toString",{writable:true,value:function(){return "[object Object]"}}) |
|
} |
|
var nf_init_Function=function(){ |
|
Object.defineProperty(Function.prototype,"nv_constructor",{writable:true,value:"Function"}) |
|
Object.defineProperty(Function.prototype,"nv_length",{get:function(){return this.length;},set:function(){}}); |
|
Object.defineProperty(Function.prototype,"nv_toString",{writable:true,value:function(){return "[function Function]"}}) |
|
} |
|
var nf_init_Array=function(){ |
|
Object.defineProperty(Array.prototype,"nv_toString",{writable:true,value:function(){return this.nv_join();}}) |
|
Object.defineProperty(Array.prototype,"nv_join",{writable:true,value:function(s){ |
|
s=undefined==s?',':s; |
|
var r=""; |
|
for(var i=0;i<this.length;++i){ |
|
if(0!=i) r+=s; |
|
if(null==this[i]||undefined==this[i]) r+=''; |
|
else if(typeof this[i]=='function') r+=this[i].nv_toString(); |
|
else if(typeof this[i]=='object'&&this[i].nv_constructor==="Array") r+=this[i].nv_join(); |
|
else r+=this[i].toString(); |
|
} |
|
return r; |
|
}}) |
|
Object.defineProperty(Array.prototype,"nv_constructor",{writable:true,value:"Array"}) |
|
Object.defineProperty(Array.prototype,"nv_concat",{writable:true,value:Array.prototype.concat}) |
|
Object.defineProperty(Array.prototype,"nv_pop",{writable:true,value:Array.prototype.pop}) |
|
Object.defineProperty(Array.prototype,"nv_push",{writable:true,value:Array.prototype.push}) |
|
Object.defineProperty(Array.prototype,"nv_reverse",{writable:true,value:Array.prototype.reverse}) |
|
Object.defineProperty(Array.prototype,"nv_shift",{writable:true,value:Array.prototype.shift}) |
|
Object.defineProperty(Array.prototype,"nv_slice",{writable:true,value:Array.prototype.slice}) |
|
Object.defineProperty(Array.prototype,"nv_sort",{writable:true,value:Array.prototype.sort}) |
|
Object.defineProperty(Array.prototype,"nv_splice",{writable:true,value:Array.prototype.splice}) |
|
Object.defineProperty(Array.prototype,"nv_unshift",{writable:true,value:Array.prototype.unshift}) |
|
Object.defineProperty(Array.prototype,"nv_indexOf",{writable:true,value:Array.prototype.indexOf}) |
|
Object.defineProperty(Array.prototype,"nv_lastIndexOf",{writable:true,value:Array.prototype.lastIndexOf}) |
|
Object.defineProperty(Array.prototype,"nv_every",{writable:true,value:Array.prototype.every}) |
|
Object.defineProperty(Array.prototype,"nv_some",{writable:true,value:Array.prototype.some}) |
|
Object.defineProperty(Array.prototype,"nv_forEach",{writable:true,value:Array.prototype.forEach}) |
|
Object.defineProperty(Array.prototype,"nv_map",{writable:true,value:Array.prototype.map}) |
|
Object.defineProperty(Array.prototype,"nv_filter",{writable:true,value:Array.prototype.filter}) |
|
Object.defineProperty(Array.prototype,"nv_reduce",{writable:true,value:Array.prototype.reduce}) |
|
Object.defineProperty(Array.prototype,"nv_reduceRight",{writable:true,value:Array.prototype.reduceRight}) |
|
Object.defineProperty(Array.prototype,"nv_length",{get:function(){return this.length;},set:function(value){this.length=value;}}); |
|
} |
|
var nf_init_String=function(){ |
|
Object.defineProperty(String.prototype,"nv_constructor",{writable:true,value:"String"}) |
|
Object.defineProperty(String.prototype,"nv_toString",{writable:true,value:String.prototype.toString}) |
|
Object.defineProperty(String.prototype,"nv_valueOf",{writable:true,value:String.prototype.valueOf}) |
|
Object.defineProperty(String.prototype,"nv_charAt",{writable:true,value:String.prototype.charAt}) |
|
Object.defineProperty(String.prototype,"nv_charCodeAt",{writable:true,value:String.prototype.charCodeAt}) |
|
Object.defineProperty(String.prototype,"nv_concat",{writable:true,value:String.prototype.concat}) |
|
Object.defineProperty(String.prototype,"nv_indexOf",{writable:true,value:String.prototype.indexOf}) |
|
Object.defineProperty(String.prototype,"nv_lastIndexOf",{writable:true,value:String.prototype.lastIndexOf}) |
|
Object.defineProperty(String.prototype,"nv_localeCompare",{writable:true,value:String.prototype.localeCompare}) |
|
Object.defineProperty(String.prototype,"nv_match",{writable:true,value:String.prototype.match}) |
|
Object.defineProperty(String.prototype,"nv_replace",{writable:true,value:String.prototype.replace}) |
|
Object.defineProperty(String.prototype,"nv_search",{writable:true,value:String.prototype.search}) |
|
Object.defineProperty(String.prototype,"nv_slice",{writable:true,value:String.prototype.slice}) |
|
Object.defineProperty(String.prototype,"nv_split",{writable:true,value:String.prototype.split}) |
|
Object.defineProperty(String.prototype,"nv_substring",{writable:true,value:String.prototype.substring}) |
|
Object.defineProperty(String.prototype,"nv_toLowerCase",{writable:true,value:String.prototype.toLowerCase}) |
|
Object.defineProperty(String.prototype,"nv_toLocaleLowerCase",{writable:true,value:String.prototype.toLocaleLowerCase}) |
|
Object.defineProperty(String.prototype,"nv_toUpperCase",{writable:true,value:String.prototype.toUpperCase}) |
|
Object.defineProperty(String.prototype,"nv_toLocaleUpperCase",{writable:true,value:String.prototype.toLocaleUpperCase}) |
|
Object.defineProperty(String.prototype,"nv_trim",{writable:true,value:String.prototype.trim}) |
|
Object.defineProperty(String.prototype,"nv_length",{get:function(){return this.length;},set:function(value){this.length=value;}}); |
|
} |
|
var nf_init_Boolean=function(){ |
|
Object.defineProperty(Boolean.prototype,"nv_constructor",{writable:true,value:"Boolean"}) |
|
Object.defineProperty(Boolean.prototype,"nv_toString",{writable:true,value:Boolean.prototype.toString}) |
|
Object.defineProperty(Boolean.prototype,"nv_valueOf",{writable:true,value:Boolean.prototype.valueOf}) |
|
} |
|
var nf_init_Number=function(){ |
|
Object.defineProperty(Number,"nv_MAX_VALUE",{writable:false,value:Number.MAX_VALUE}) |
|
Object.defineProperty(Number,"nv_MIN_VALUE",{writable:false,value:Number.MIN_VALUE}) |
|
Object.defineProperty(Number,"nv_NEGATIVE_INFINITY",{writable:false,value:Number.NEGATIVE_INFINITY}) |
|
Object.defineProperty(Number,"nv_POSITIVE_INFINITY",{writable:false,value:Number.POSITIVE_INFINITY}) |
|
Object.defineProperty(Number.prototype,"nv_constructor",{writable:true,value:"Number"}) |
|
Object.defineProperty(Number.prototype,"nv_toString",{writable:true,value:Number.prototype.toString}) |
|
Object.defineProperty(Number.prototype,"nv_toLocaleString",{writable:true,value:Number.prototype.toLocaleString}) |
|
Object.defineProperty(Number.prototype,"nv_valueOf",{writable:true,value:Number.prototype.valueOf}) |
|
Object.defineProperty(Number.prototype,"nv_toFixed",{writable:true,value:Number.prototype.toFixed}) |
|
Object.defineProperty(Number.prototype,"nv_toExponential",{writable:true,value:Number.prototype.toExponential}) |
|
Object.defineProperty(Number.prototype,"nv_toPrecision",{writable:true,value:Number.prototype.toPrecision}) |
|
} |
|
var nf_init_Math=function(){ |
|
Object.defineProperty(Math,"nv_E",{writable:false,value:Math.E}) |
|
Object.defineProperty(Math,"nv_LN10",{writable:false,value:Math.LN10}) |
|
Object.defineProperty(Math,"nv_LN2",{writable:false,value:Math.LN2}) |
|
Object.defineProperty(Math,"nv_LOG2E",{writable:false,value:Math.LOG2E}) |
|
Object.defineProperty(Math,"nv_LOG10E",{writable:false,value:Math.LOG10E}) |
|
Object.defineProperty(Math,"nv_PI",{writable:false,value:Math.PI}) |
|
Object.defineProperty(Math,"nv_SQRT1_2",{writable:false,value:Math.SQRT1_2}) |
|
Object.defineProperty(Math,"nv_SQRT2",{writable:false,value:Math.SQRT2}) |
|
Object.defineProperty(Math,"nv_abs",{writable:false,value:Math.abs}) |
|
Object.defineProperty(Math,"nv_acos",{writable:false,value:Math.acos}) |
|
Object.defineProperty(Math,"nv_asin",{writable:false,value:Math.asin}) |
|
Object.defineProperty(Math,"nv_atan",{writable:false,value:Math.atan}) |
|
Object.defineProperty(Math,"nv_atan2",{writable:false,value:Math.atan2}) |
|
Object.defineProperty(Math,"nv_ceil",{writable:false,value:Math.ceil}) |
|
Object.defineProperty(Math,"nv_cos",{writable:false,value:Math.cos}) |
|
Object.defineProperty(Math,"nv_exp",{writable:false,value:Math.exp}) |
|
Object.defineProperty(Math,"nv_floor",{writable:false,value:Math.floor}) |
|
Object.defineProperty(Math,"nv_log",{writable:false,value:Math.log}) |
|
Object.defineProperty(Math,"nv_max",{writable:false,value:Math.max}) |
|
Object.defineProperty(Math,"nv_min",{writable:false,value:Math.min}) |
|
Object.defineProperty(Math,"nv_pow",{writable:false,value:Math.pow}) |
|
Object.defineProperty(Math,"nv_random",{writable:false,value:Math.random}) |
|
Object.defineProperty(Math,"nv_round",{writable:false,value:Math.round}) |
|
Object.defineProperty(Math,"nv_sin",{writable:false,value:Math.sin}) |
|
Object.defineProperty(Math,"nv_sqrt",{writable:false,value:Math.sqrt}) |
|
Object.defineProperty(Math,"nv_tan",{writable:false,value:Math.tan}) |
|
} |
|
var nf_init_Date=function(){ |
|
Object.defineProperty(Date.prototype,"nv_constructor",{writable:true,value:"Date"}) |
|
Object.defineProperty(Date,"nv_parse",{writable:true,value:Date.parse}) |
|
Object.defineProperty(Date,"nv_UTC",{writable:true,value:Date.UTC}) |
|
Object.defineProperty(Date,"nv_now",{writable:true,value:Date.now}) |
|
Object.defineProperty(Date.prototype,"nv_toString",{writable:true,value:Date.prototype.toString}) |
|
Object.defineProperty(Date.prototype,"nv_toDateString",{writable:true,value:Date.prototype.toDateString}) |
|
Object.defineProperty(Date.prototype,"nv_toTimeString",{writable:true,value:Date.prototype.toTimeString}) |
|
Object.defineProperty(Date.prototype,"nv_toLocaleString",{writable:true,value:Date.prototype.toLocaleString}) |
|
Object.defineProperty(Date.prototype,"nv_toLocaleDateString",{writable:true,value:Date.prototype.toLocaleDateString}) |
|
Object.defineProperty(Date.prototype,"nv_toLocaleTimeString",{writable:true,value:Date.prototype.toLocaleTimeString}) |
|
Object.defineProperty(Date.prototype,"nv_valueOf",{writable:true,value:Date.prototype.valueOf}) |
|
Object.defineProperty(Date.prototype,"nv_getTime",{writable:true,value:Date.prototype.getTime}) |
|
Object.defineProperty(Date.prototype,"nv_getFullYear",{writable:true,value:Date.prototype.getFullYear}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCFullYear",{writable:true,value:Date.prototype.getUTCFullYear}) |
|
Object.defineProperty(Date.prototype,"nv_getMonth",{writable:true,value:Date.prototype.getMonth}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCMonth",{writable:true,value:Date.prototype.getUTCMonth}) |
|
Object.defineProperty(Date.prototype,"nv_getDate",{writable:true,value:Date.prototype.getDate}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCDate",{writable:true,value:Date.prototype.getUTCDate}) |
|
Object.defineProperty(Date.prototype,"nv_getDay",{writable:true,value:Date.prototype.getDay}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCDay",{writable:true,value:Date.prototype.getUTCDay}) |
|
Object.defineProperty(Date.prototype,"nv_getHours",{writable:true,value:Date.prototype.getHours}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCHours",{writable:true,value:Date.prototype.getUTCHours}) |
|
Object.defineProperty(Date.prototype,"nv_getMinutes",{writable:true,value:Date.prototype.getMinutes}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCMinutes",{writable:true,value:Date.prototype.getUTCMinutes}) |
|
Object.defineProperty(Date.prototype,"nv_getSeconds",{writable:true,value:Date.prototype.getSeconds}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCSeconds",{writable:true,value:Date.prototype.getUTCSeconds}) |
|
Object.defineProperty(Date.prototype,"nv_getMilliseconds",{writable:true,value:Date.prototype.getMilliseconds}) |
|
Object.defineProperty(Date.prototype,"nv_getUTCMilliseconds",{writable:true,value:Date.prototype.getUTCMilliseconds}) |
|
Object.defineProperty(Date.prototype,"nv_getTimezoneOffset",{writable:true,value:Date.prototype.getTimezoneOffset}) |
|
Object.defineProperty(Date.prototype,"nv_setTime",{writable:true,value:Date.prototype.setTime}) |
|
Object.defineProperty(Date.prototype,"nv_setMilliseconds",{writable:true,value:Date.prototype.setMilliseconds}) |
|
Object.defineProperty(Date.prototype,"nv_setUTCMilliseconds",{writable:true,value:Date.prototype.setUTCMilliseconds}) |
|
Object.defineProperty(Date.prototype,"nv_setSeconds",{writable:true,value:Date.prototype.setSeconds}) |
|
Object.defineProperty(Date.prototype,"nv_setUTCSeconds",{writable:true,value:Date.prototype.setUTCSeconds}) |
|
Object.defineProperty(Date.prototype,"nv_setMinutes",{writable:true,value:Date.prototype.setMinutes}) |
|
Object.defineProperty(Date.prototype,"nv_setUTCMinutes",{writable:true,value:Date.prototype.setUTCMinutes}) |
|
Object.defineProperty(Date.prototype,"nv_setHours",{writable:true,value:Date.prototype.setHours}) |
|
Object.defineProperty(Date.prototype,"nv_setUTCHours",{writable:true,value:Date.prototype.setUTCHours}) |
|
Object.defineProperty(Date.prototype,"nv_setDate",{writable:true,value:Date.prototype.setDate}) |
|
Object.defineProperty(Date.prototype,"nv_setUTCDate",{writable:true,value:Date.prototype.setUTCDate}) |
|
Object.defineProperty(Date.prototype,"nv_setMonth",{writable:true,value:Date.prototype.setMonth}) |
|
Object.defineProperty(Date.prototype,"nv_setUTCMonth",{writable:true,value:Date.prototype.setUTCMonth}) |
|
Object.defineProperty(Date.prototype,"nv_setFullYear",{writable:true,value:Date.prototype.setFullYear}) |
|
Object.defineProperty(Date.prototype,"nv_setUTCFullYear",{writable:true,value:Date.prototype.setUTCFullYear}) |
|
Object.defineProperty(Date.prototype,"nv_toUTCString",{writable:true,value:Date.prototype.toUTCString}) |
|
Object.defineProperty(Date.prototype,"nv_toISOString",{writable:true,value:Date.prototype.toISOString}) |
|
Object.defineProperty(Date.prototype,"nv_toJSON",{writable:true,value:Date.prototype.toJSON}) |
|
} |
|
var nf_init_RegExp=function(){ |
|
Object.defineProperty(RegExp.prototype,"nv_constructor",{writable:true,value:"RegExp"}) |
|
Object.defineProperty(RegExp.prototype,"nv_exec",{writable:true,value:RegExp.prototype.exec}) |
|
Object.defineProperty(RegExp.prototype,"nv_test",{writable:true,value:RegExp.prototype.test}) |
|
Object.defineProperty(RegExp.prototype,"nv_toString",{writable:true,value:RegExp.prototype.toString}) |
|
Object.defineProperty(RegExp.prototype,"nv_source",{get:function(){return this.source;},set:function(){}}); |
|
Object.defineProperty(RegExp.prototype,"nv_global",{get:function(){return this.global;},set:function(){}}); |
|
Object.defineProperty(RegExp.prototype,"nv_ignoreCase",{get:function(){return this.ignoreCase;},set:function(){}}); |
|
Object.defineProperty(RegExp.prototype,"nv_multiline",{get:function(){return this.multiline;},set:function(){}}); |
|
Object.defineProperty(RegExp.prototype,"nv_lastIndex",{get:function(){return this.lastIndex;},set:function(v){this.lastIndex=v;}}); |
|
} |
|
nf_init(); |
|
var nv_getDate=function(){var args=Array.prototype.slice.call(arguments);args.unshift(Date);return new(Function.prototype.bind.apply(Date, args));} |
|
var nv_getRegExp=function(){var args=Array.prototype.slice.call(arguments);args.unshift(RegExp);return new(Function.prototype.bind.apply(RegExp, args));} |
|
var nv_console={} |
|
nv_console.nv_log=function(){var res="WXSRT:";for(var i=0;i<arguments.length;++i)res+=arguments[i]+" ";console.log(res);} |
|
var nv_parseInt = parseInt, nv_parseFloat = parseFloat, nv_isNaN = isNaN, nv_isFinite = isFinite, nv_decodeURI = decodeURI, nv_decodeURIComponent = decodeURIComponent, nv_encodeURI = encodeURI, nv_encodeURIComponent = encodeURIComponent; |
|
function $gdc(o,p,r) { |
|
o=wh.rv(o); |
|
if(o===null||o===undefined) return o; |
|
if(o.constructor===String||o.constructor===Boolean||o.constructor===Number) return o; |
|
if(o.constructor===Object){ |
|
var copy={}; |
|
for(var k in o) |
|
if(o.hasOwnProperty(k)) |
|
if(undefined===p) copy[k.substring(3)]=$gdc(o[k],p,r); |
|
else copy[p+k]=$gdc(o[k],p,r); |
|
return copy; |
|
} |
|
if(o.constructor===Array){ |
|
var copy=[]; |
|
for(var i=0;i<o.length;i++) copy.push($gdc(o[i],p,r)); |
|
return copy; |
|
} |
|
if(o.constructor===Date){ |
|
var copy=new Date(); |
|
copy.setTime(o.getTime()); |
|
return copy; |
|
} |
|
if(o.constructor===RegExp){ |
|
var f=""; |
|
if(o.global) f+="g"; |
|
if(o.ignoreCase) f+="i"; |
|
if(o.multiline) f+="m"; |
|
return (new RegExp(o.source,f)); |
|
} |
|
if(r&&o.constructor===Function){ |
|
if ( r == 1 ) return $gdc(o(),undefined, 2); |
|
if ( r == 2 ) return o; |
|
} |
|
return null; |
|
} |
|
var nv_JSON={} |
|
nv_JSON.nv_stringify=function(o){ |
|
JSON.stringify(o); |
|
return JSON.stringify($gdc(o)); |
|
} |
|
nv_JSON.nv_parse=function(o){ |
|
if(o===undefined) return undefined; |
|
var t=JSON.parse(o); |
|
return $gdc(t,'nv_'); |
|
} |
|
|
|
function _af(p, a, c){ |
|
p.extraAttr = {"t_action": a, "t_cid": c}; |
|
} |
|
|
|
function _ai(i,p,e,me,r,c){var x=_grp(p,e,me);if(x)i.push(x);else{i.push('');_wp(me+':import:'+r+':'+c+': Path `'+p+'` not found from `'+me+'`.')}} |
|
function _grp(p,e,me){if(p[0]!='/'){var mepart=me.split('/');mepart.pop();var ppart=p.split('/');for(var i=0;i<ppart.length;i++){if( ppart[i]=='..')mepart.pop();else if(!ppart[i]||ppart[i]=='.')continue;else mepart.push(ppart[i]);}p=mepart.join('/');}if(me[0]=='.'&&p[0]=='/')p='.'+p;if(e[p])return p;if(e[p+'.wxml'])return p+'.wxml';} |
|
function _gd(p,c,e,d){if(!c)return;if(d[p][c])return d[p][c];for(var x=e[p].i.length-1;x>=0;x--){if(e[p].i[x]&&d[e[p].i[x]][c])return d[e[p].i[x]][c]};for(var x=e[p].ti.length-1;x>=0;x--){var q=_grp(e[p].ti[x],e,p);if(q&&d[q][c])return d[q][c]}var ii=_gapi(e,p);for(var x=0;x<ii.length;x++){if(ii[x]&&d[ii[x]][c])return d[ii[x]][c]}for(var k=e[p].j.length-1;k>=0;k--)if(e[p].j[k]){for(var q=e[e[p].j[k]].ti.length-1;q>=0;q--){var pp=_grp(e[e[p].j[k]].ti[q],e,p);if(pp&&d[pp][c]){return d[pp][c]}}}} |
|
function _gapi(e,p){if(!p)return [];if($gaic[p]){return $gaic[p]};var ret=[],q=[],h=0,t=0,put={},visited={};q.push(p);visited[p]=true;t++;while(h<t){var a=q[h++];for(var i=0;i<e[a].ic.length;i++){var nd=e[a].ic[i];var np=_grp(nd,e,a);if(np&&!visited[np]){visited[np]=true;q.push(np);t++;}}for(var i=0;a!=p&&i<e[a].ti.length;i++){var ni=e[a].ti[i];var nm=_grp(ni,e,a);if(nm&&!put[nm]){put[nm]=true;ret.push(nm);}}}$gaic[p]=ret;return ret;} |
|
var $ixc={};function _ic(p,ent,me,e,s,r,gg){var x=_grp(p,ent,me);ent[me].j.push(x);if(x){if($ixc[x]){_wp('-1:include:-1:-1: `'+p+'` is being included in a loop, will be stop.');return;}$ixc[x]=true;try{ent[x].f(e,s,r,gg)}catch(e){}$ixc[x]=false;}else{_wp(me+':include:-1:-1: Included path `'+p+'` not found from `'+me+'`.')}} |
|
function _w(tn,f,line,c){_wp(f+':template:'+line+':'+c+': Template `'+tn+'` not found.');}function _ev(dom){var changed=false;delete dom.properities;delete dom.n;if(dom.children){do{changed=false;var newch = [];for(var i=0;i<dom.children.length;i++){var ch=dom.children[i];if( ch.tag=='virtual'){changed=true;for(var j=0;ch.children&&j<ch.children.length;j++){newch.push(ch.children[j]);}}else { newch.push(ch); } } dom.children = newch; }while(changed);for(var i=0;i<dom.children.length;i++){_ev(dom.children[i]);}} return dom; } |
|
function _tsd( root ) |
|
{ |
|
if( root.tag == "wx-wx-scope" ) |
|
{ |
|
root.tag = "virtual"; |
|
root.wxCkey = "11"; |
|
root['wxScopeData'] = root.attr['wx:scope-data']; |
|
delete root.n; |
|
delete root.raw; |
|
delete root.generics; |
|
delete root.attr; |
|
} |
|
for( var i = 0 ; root.children && i < root.children.length ; i++ ) |
|
{ |
|
_tsd( root.children[i] ); |
|
} |
|
return root; |
|
} |
|
|
|
var e_={} |
|
if(typeof(global.entrys)==='undefined')global.entrys={};e_=global.entrys; |
|
var d_={} |
|
if(typeof(global.defines)==='undefined')global.defines={};d_=global.defines; |
|
var f_={} |
|
if(typeof(global.modules)==='undefined')global.modules={};f_=global.modules || {}; |
|
var p_={} |
|
__WXML_GLOBAL__.ops_cached = __WXML_GLOBAL__.ops_cached || {} |
|
__WXML_GLOBAL__.ops_set = __WXML_GLOBAL__.ops_set || {}; |
|
__WXML_GLOBAL__.ops_init = __WXML_GLOBAL__.ops_init || {}; |
|
var z=__WXML_GLOBAL__.ops_set.$gwx || []; |
|
function gz$gwx_1(){ |
|
if( __WXML_GLOBAL__.ops_cached.$gwx_1)return __WXML_GLOBAL__.ops_cached.$gwx_1 |
|
__WXML_GLOBAL__.ops_cached.$gwx_1=[]; |
|
(function(z){var a=11;function Z(ops){z.push(ops)} |
|
})(__WXML_GLOBAL__.ops_cached.$gwx_1);return __WXML_GLOBAL__.ops_cached.$gwx_1 |
|
} |
|
function gz$gwx_2(){ |
|
if( __WXML_GLOBAL__.ops_cached.$gwx_2)return __WXML_GLOBAL__.ops_cached.$gwx_2 |
|
__WXML_GLOBAL__.ops_cached.$gwx_2=[]; |
|
(function(z){var a=11;function Z(ops){z.push(ops)} |
|
Z([[7],[3,'showCode']]) |
|
Z([3,'__l']) |
|
Z([3,'vue-ref']) |
|
Z([3,'qrcode']) |
|
Z([1,true]) |
|
Z(z[4]) |
|
Z([1,false]) |
|
Z([1,100]) |
|
Z([3,'upx']) |
|
Z(z[4]) |
|
Z([[7],[3,'val']]) |
|
Z([3,'1']) |
|
})(__WXML_GLOBAL__.ops_cached.$gwx_2);return __WXML_GLOBAL__.ops_cached.$gwx_2 |
|
} |
|
function gz$gwx_3(){ |
|
if( __WXML_GLOBAL__.ops_cached.$gwx_3)return __WXML_GLOBAL__.ops_cached.$gwx_3 |
|
__WXML_GLOBAL__.ops_cached.$gwx_3=[]; |
|
(function(z){var a=11;function Z(ops){z.push(ops)} |
|
Z([[6],[[7],[3,'template']],[3,'imageBg']]) |
|
Z([[7],[3,'ifShow']]) |
|
Z([3,'__l']) |
|
Z([3,'__e']) |
|
Z([3,'vue-ref']) |
|
Z([[4],[[5],[[4],[[5],[[5],[1,'^result']],[[4],[[5],[[4],[[5],[1,'qrR']]]]]]]]]) |
|
Z([3,'qrcode']) |
|
Z([[7],[3,'loadMake']]) |
|
Z([[7],[3,'onval']]) |
|
Z([[7],[3,'size']]) |
|
Z([[7],[3,'unit']]) |
|
Z([1,true]) |
|
Z([[7],[3,'val']]) |
|
Z([3,'1']) |
|
})(__WXML_GLOBAL__.ops_cached.$gwx_3);return __WXML_GLOBAL__.ops_cached.$gwx_3 |
|
} |
|
function gz$gwx_4(){ |
|
if( __WXML_GLOBAL__.ops_cached.$gwx_4)return __WXML_GLOBAL__.ops_cached.$gwx_4 |
|
__WXML_GLOBAL__.ops_cached.$gwx_4=[]; |
|
(function(z){var a=11;function Z(ops){z.push(ops)} |
|
Z([3,'content']) |
|
Z([[7],[3,'ifShow']]) |
|
Z([3,'__l']) |
|
Z([3,'__e']) |
|
Z([3,'vue-ref']) |
|
Z([[4],[[5],[[4],[[5],[[5],[1,'^result']],[[4],[[5],[[4],[[5],[1,'qrR']]]]]]]]]) |
|
Z([3,'qrcode']) |
|
Z([[7],[3,'loadMake']]) |
|
Z([[7],[3,'onval']]) |
|
Z([[7],[3,'size']]) |
|
Z([[7],[3,'unit']]) |
|
Z([1,true]) |
|
Z([[7],[3,'val']]) |
|
Z([3,'1']) |
|
Z([3,'index']) |
|
Z([3,'tea']) |
|
Z([[7],[3,'teaList']]) |
|
Z(z[14]) |
|
Z([3,'tea-list']) |
|
Z([[6],[[7],[3,'tea']],[3,'showNew']]) |
|
Z([[2,'?:'],[[2,'==='],[[6],[[7],[3,'tea']],[3,'showNew']],[1,'']],[1,false],[[2,'!'],[[6],[[7],[3,'tea']],[3,'showNew']]]]) |
|
})(__WXML_GLOBAL__.ops_cached.$gwx_4);return __WXML_GLOBAL__.ops_cached.$gwx_4 |
|
} |
|
__WXML_GLOBAL__.ops_set.$gwx=z; |
|
__WXML_GLOBAL__.ops_init.$gwx=true; |
|
var nv_require=function(){var nnm={};var nom={};return function(n){return function(){if(!nnm[n]) return undefined;try{if(!nom[n])nom[n]=nnm[n]();return nom[n];}catch(e){e.message=e.message.replace(/nv_/g,'');var tmp = e.stack.substring(0,e.stack.lastIndexOf(n));e.stack = tmp.substring(0,tmp.lastIndexOf('\n'));e.stack = e.stack.replace(/\snv_/g,' ');e.stack = $gstack(e.stack);e.stack += '\n at ' + n.substring(2);console.error(e);} |
|
}}}() |
|
var x=['./node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode.wxml','./pages/confirm-code/confirm-code.wxml','./pages/menu/menu.wxml','./pages/store-commodity/store-commodity.wxml'];d_[x[0]]={} |
|
var m0=function(e,s,r,gg){ |
|
var z=gz$gwx_1() |
|
return r |
|
} |
|
e_[x[0]]={f:m0,j:[],i:[],ti:[],ic:[]} |
|
d_[x[1]]={} |
|
var m1=function(e,s,r,gg){ |
|
var z=gz$gwx_2() |
|
var xC=_v() |
|
_(r,xC) |
|
if(_oz(z,0,e,s,gg)){xC.wxVkey=1 |
|
var oD=_mz(z,'tki-qrcode',['bind:__l',1,'class',1,'data-ref',2,'loadMake',3,'onval',4,'showLoading',5,'size',6,'unit',7,'usingComponents',8,'val',9,'vueId',10],[],e,s,gg) |
|
_(xC,oD) |
|
} |
|
xC.wxXCkey=1 |
|
xC.wxXCkey=3 |
|
return r |
|
} |
|
e_[x[1]]={f:m1,j:[],i:[],ti:[],ic:[]} |
|
d_[x[2]]={} |
|
var m2=function(e,s,r,gg){ |
|
var z=gz$gwx_3() |
|
var cF=_v() |
|
_(r,cF) |
|
if(_oz(z,0,e,s,gg)){cF.wxVkey=1 |
|
var hG=_v() |
|
_(cF,hG) |
|
if(_oz(z,1,e,s,gg)){hG.wxVkey=1 |
|
var oH=_mz(z,'tki-qrcode',['bind:__l',2,'bind:result',1,'class',2,'data-event-opts',3,'data-ref',4,'loadMake',5,'onval',6,'size',7,'unit',8,'usingComponents',9,'val',10,'vueId',11],[],e,s,gg) |
|
_(hG,oH) |
|
} |
|
hG.wxXCkey=1 |
|
hG.wxXCkey=3 |
|
} |
|
cF.wxXCkey=1 |
|
cF.wxXCkey=3 |
|
return r |
|
} |
|
e_[x[2]]={f:m2,j:[],i:[],ti:[],ic:[]} |
|
d_[x[3]]={} |
|
var m3=function(e,s,r,gg){ |
|
var z=gz$gwx_4() |
|
var oJ=_n('view') |
|
_rz(z,oJ,'class',0,e,s,gg) |
|
var lK=_v() |
|
_(oJ,lK) |
|
if(_oz(z,1,e,s,gg)){lK.wxVkey=1 |
|
var aL=_mz(z,'tki-qrcode',['bind:__l',2,'bind:result',1,'class',2,'data-event-opts',3,'data-ref',4,'loadMake',5,'onval',6,'size',7,'unit',8,'usingComponents',9,'val',10,'vueId',11],[],e,s,gg) |
|
_(lK,aL) |
|
} |
|
var tM=_v() |
|
_(oJ,tM) |
|
var eN=function(oP,bO,xQ,gg){ |
|
var fS=_n('view') |
|
_rz(z,fS,'class',18,oP,bO,gg) |
|
var cT=_v() |
|
_(fS,cT) |
|
if(_oz(z,19,oP,bO,gg)){cT.wxVkey=1 |
|
} |
|
var hU=_v() |
|
_(fS,hU) |
|
if(_oz(z,20,oP,bO,gg)){hU.wxVkey=1 |
|
} |
|
cT.wxXCkey=1 |
|
hU.wxXCkey=1 |
|
_(xQ,fS) |
|
return xQ |
|
} |
|
tM.wxXCkey=2 |
|
_2z(z,16,eN,e,s,gg,tM,'tea','index','index') |
|
lK.wxXCkey=1 |
|
lK.wxXCkey=3 |
|
_(r,oJ) |
|
return r |
|
} |
|
e_[x[3]]={f:m3,j:[],i:[],ti:[],ic:[]} |
|
if(path&&e_[path]){ |
|
return function(env,dd,global){$gwxc=0;var root={"tag":"wx-page"};root.children=[] |
|
var main=e_[path].f |
|
if (typeof global==="undefined")global={};global.f=$gdc(f_[path],"",1); |
|
try{ |
|
main(env,{},root,global); |
|
_tsd(root) |
|
}catch(err){ |
|
console.log(err) |
|
} |
|
return root; |
|
} |
|
} |
|
} |
|
|
|
|
|
|
|
__wxAppCode__['app.json']={"pages":["pages/confirm-code/confirm-code","pages/store-commodity/store-commodity","pages/menu/menu"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8","navigationStyle":"custom"},"nvueCompiler":"weex","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"优客菜单","compilerVersion":"2.2.2","usingComponents":{}}; |
|
__wxAppCode__['app.wxml']=$gwx('./app.wxml'); |
|
|
|
__wxAppCode__['node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode.json']={"usingComponents":{},"component":true}; |
|
__wxAppCode__['node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode.wxml']=$gwx('./node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode.wxml'); |
|
|
|
__wxAppCode__['pages/confirm-code/confirm-code.json']={"usingComponents":{"tki-qrcode":"/node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode"}}; |
|
__wxAppCode__['pages/confirm-code/confirm-code.wxml']=$gwx('./pages/confirm-code/confirm-code.wxml'); |
|
|
|
__wxAppCode__['pages/menu/menu.json']={"usingComponents":{"tki-qrcode":"/node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode"}}; |
|
__wxAppCode__['pages/menu/menu.wxml']=$gwx('./pages/menu/menu.wxml'); |
|
|
|
__wxAppCode__['pages/store-commodity/store-commodity.json']={"usingComponents":{"tki-qrcode":"/node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode"}}; |
|
__wxAppCode__['pages/store-commodity/store-commodity.wxml']=$gwx('./pages/store-commodity/store-commodity.wxml'); |
|
|
|
|
|
|
|
define('common/main.js',function(require, module, exports, window, document, frames, self, location, navigator, localStorage, history, Caches, screen, alert, confirm, prompt, fetch, XMLHttpRequest, WebSocket, webkit, WeixinJSCore, Reporter, print, WeixinJSBridge){ |
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"375e":function(n,o,t){"use strict";t.r(o);var u=t("cf8a"),e=t.n(u);for(var a in u)"default"!==a&&function(n){t.d(o,n,function(){return u[n]})}(a);o["default"]=e.a},"69aa":function(n,o,t){"use strict";var u=t("8132"),e=t.n(u);e.a},8132:function(n,o,t){},"9bd1":function(n,o,t){"use strict";t.r(o);var u=t("375e");for(var e in u)"default"!==e&&function(n){t.d(o,n,function(){return u[n]})}(e);t("69aa");var a,c,l=t("2877"),f=Object(l["a"])(u["default"],a,c,!1,null,null,null);o["default"]=f.exports},cf8a:function(n,o,t){"use strict";(function(n){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var t={onLaunch:function(){console.log(n("App Launch"," at App.vue:4"))},onShow:function(){console.log(n("App Show"," at App.vue:7"))},onHide:function(){console.log(n("App Hide"," at App.vue:10"))}};o.default=t}).call(this,t("0de9")["default"])}},[["74cf","common/runtime","common/vendor"]]]); |
|
}); |
|
define('common/runtime.js',function(require, module, exports, window, document, frames, self, location, navigator, localStorage, history, Caches, screen, alert, confirm, prompt, fetch, XMLHttpRequest, WebSocket, webkit, WeixinJSCore, Reporter, print, WeixinJSBridge){ |
|
"use strict"; |
|
|
|
(function (e) { |
|
function t(t) { |
|
for (var n, o, a = t[0], c = t[1], l = t[2], s = 0, d = []; s < a.length; s++) { |
|
o = a[s], u[o] && d.push(u[o][0]), u[o] = 0; |
|
} |
|
|
|
for (n in c) { |
|
Object.prototype.hasOwnProperty.call(c, n) && (e[n] = c[n]); |
|
} |
|
|
|
f && f(t); |
|
|
|
while (d.length) { |
|
d.shift()(); |
|
} |
|
|
|
return i.push.apply(i, l || []), r(); |
|
} |
|
|
|
function r() { |
|
for (var e, t = 0; t < i.length; t++) { |
|
for (var r = i[t], n = !0, o = 1; o < r.length; o++) { |
|
var a = r[o]; |
|
0 !== u[a] && (n = !1); |
|
} |
|
|
|
n && (i.splice(t--, 1), e = c(c.s = r[0])); |
|
} |
|
|
|
return e; |
|
} |
|
|
|
var n = {}, |
|
o = { |
|
"common/runtime": 0 |
|
}, |
|
u = { |
|
"common/runtime": 0 |
|
}, |
|
i = []; |
|
|
|
function a(e) { |
|
return c.p + "" + e + ".js"; |
|
} |
|
|
|
function c(t) { |
|
if (n[t]) return n[t].exports; |
|
var r = n[t] = { |
|
i: t, |
|
l: !1, |
|
exports: {} |
|
}; |
|
return e[t].call(r.exports, r, r.exports, c), r.l = !0, r.exports; |
|
} |
|
|
|
c.e = function (e) { |
|
var t = [], |
|
r = { |
|
"node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode": 1 |
|
}; |
|
o[e] ? t.push(o[e]) : 0 !== o[e] && r[e] && t.push(o[e] = new Promise(function (t, r) { |
|
for (var n = ({ |
|
"node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode": "node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode" |
|
}[e] || e) + ".wxss", u = c.p + n, i = document.getElementsByTagName("link"), a = 0; a < i.length; a++) { |
|
var l = i[a], |
|
s = l.getAttribute("data-href") || l.getAttribute("href"); |
|
if ("stylesheet" === l.rel && (s === n || s === u)) return t(); |
|
} |
|
|
|
var d = document.getElementsByTagName("style"); |
|
|
|
for (a = 0; a < d.length; a++) { |
|
l = d[a], s = l.getAttribute("data-href"); |
|
if (s === n || s === u) return t(); |
|
} |
|
|
|
var f = document.createElement("link"); |
|
f.rel = "stylesheet", f.type = "text/css", f.onload = t, f.onerror = function (t) { |
|
var n = t && t.target && t.target.src || u, |
|
i = new Error("Loading CSS chunk " + e + " failed.\n(" + n + ")"); |
|
i.request = n, delete o[e], f.parentNode.removeChild(f), r(i); |
|
}, f.href = u; |
|
var p = document.getElementsByTagName("head")[0]; |
|
p.appendChild(f); |
|
}).then(function () { |
|
o[e] = 0; |
|
})); |
|
var n = u[e]; |
|
if (0 !== n) if (n) t.push(n[2]);else { |
|
var i = new Promise(function (t, r) { |
|
n = u[e] = [t, r]; |
|
}); |
|
t.push(n[2] = i); |
|
var l, |
|
s = document.createElement("script"); |
|
s.charset = "utf-8", s.timeout = 120, c.nc && s.setAttribute("nonce", c.nc), s.src = a(e), l = function l(t) { |
|
s.onerror = s.onload = null, clearTimeout(d); |
|
var r = u[e]; |
|
|
|
if (0 !== r) { |
|
if (r) { |
|
var n = t && ("load" === t.type ? "missing" : t.type), |
|
o = t && t.target && t.target.src, |
|
i = new Error("Loading chunk " + e + " failed.\n(" + n + ": " + o + ")"); |
|
i.type = n, i.request = o, r[1](i); |
|
} |
|
|
|
u[e] = void 0; |
|
} |
|
}; |
|
var d = setTimeout(function () { |
|
l({ |
|
type: "timeout", |
|
target: s |
|
}); |
|
}, 12e4); |
|
s.onerror = s.onload = l, document.head.appendChild(s); |
|
} |
|
return Promise.all(t); |
|
}, c.m = e, c.c = n, c.d = function (e, t, r) { |
|
c.o(e, t) || Object.defineProperty(e, t, { |
|
enumerable: !0, |
|
get: r |
|
}); |
|
}, c.r = function (e) { |
|
"undefined" !== typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { |
|
value: "Module" |
|
}), Object.defineProperty(e, "__esModule", { |
|
value: !0 |
|
}); |
|
}, c.t = function (e, t) { |
|
if (1 & t && (e = c(e)), 8 & t) return e; |
|
if (4 & t && "object" === typeof e && e && e.__esModule) return e; |
|
var r = Object.create(null); |
|
if (c.r(r), Object.defineProperty(r, "default", { |
|
enumerable: !0, |
|
value: e |
|
}), 2 & t && "string" != typeof e) for (var n in e) { |
|
c.d(r, n, function (t) { |
|
return e[t]; |
|
}.bind(null, n)); |
|
} |
|
return r; |
|
}, c.n = function (e) { |
|
var t = e && e.__esModule ? function () { |
|
return e["default"]; |
|
} : function () { |
|
return e; |
|
}; |
|
return c.d(t, "a", t), t; |
|
}, c.o = function (e, t) { |
|
return Object.prototype.hasOwnProperty.call(e, t); |
|
}, c.p = "/", c.oe = function (e) { |
|
throw console.error(e), e; |
|
}; |
|
var l = global["webpackJsonp"] = global["webpackJsonp"] || [], |
|
s = l.push.bind(l); |
|
l.push = t, l = l.slice(); |
|
|
|
for (var d = 0; d < l.length; d++) { |
|
t(l[d]); |
|
} |
|
|
|
var f = s; |
|
r(); |
|
})([]); |
|
}); |
|
define('common/vendor.js',function(require, module, exports, window, document, frames, self, location, navigator, localStorage, history, Caches, screen, alert, confirm, prompt, fetch, XMLHttpRequest, WebSocket, webkit, WeixinJSCore, Reporter, print, WeixinJSBridge){ |
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"05a7":function(t,e,n){t.exports=n.p+"static/img/yuansuleft.eddf970f.jpg"},"0c0a":function(t,e,n){"use strict";(function(t){n("ac1c");r(n("66fd"));var e=r(n("db8a"));function r(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("6e42")["createPage"])},"0de9":function(t,e,n){"use strict";function r(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function o(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=e.map(function(t){var e=Object.prototype.toString.call(t);if("[object object]"===e.toLowerCase())try{t="---BEGIN:JSON---"+JSON.stringify(t)+"---END:JSON---"}catch(o){t="[object object]"}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var n=r(t).toUpperCase();t="NUMBER"===n||"BOOLEAN"===n?"---BEGIN:"+n+"---"+t+"---END:"+n+"---":String(t)}return t}),i="";if(o.length>1){var a=o.pop();i=o.join("---COMMA---"),0===a.indexOf(" at ")?i+=a:i+="---COMMA---"+a}else i=o[0];return i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o},2877:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var u,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var f=c.render;c.render=function(t,e){return u.call(e),f(t,e)}}else{var l=c.beforeCreate;c.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:c}}n.d(e,"a",function(){return r})},"596e":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getOrderInfo=i,e.useUserPay=a,e.pay=s,e.checkLogin=u,e.showStoreMenu=c,e.getTemplate=f;var r=o(n("bead"));function o(t){return t&&t.__esModule?t:{default:t}}function i(t){return r.default.get({url:"/order/user-pay-order-info",data:t})}function a(t){return r.default.get({url:"/order/user-pay",data:t})}function s(t){return r.default.post({url:"/ali/pay",data:t,type:"form"})}function u(t){return r.default.get({url:"/menu/check-login",data:t})}function c(t){return r.default.get({url:"/menu/show-store-menu",data:t})}function f(t){return r.default.get({url:"/menu/getStr",data:t})}},"66fd":function(t,e,n){"use strict";n.r(e),function(t){ |
|
/*! |
|
* Vue.js v2.6.10 |
|
* (c) 2014-2019 Evan You |
|
* Released under the MIT License. |
|
*/ |
|
var n=Object.freeze({});function r(t){return void 0===t||null===t}function o(t){return void 0!==t&&null!==t}function i(t){return!0===t}function a(t){return!1===t}function s(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function u(t){return null!==t&&"object"===typeof t}var c=Object.prototype.toString;function f(t){return"[object Object]"===c.call(t)}function l(t){return"[object RegExp]"===c.call(t)}function p(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function h(t){return o(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function d(t){return null==t?"":Array.isArray(t)||f(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function y(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}y("slot,component",!0);var g=y("key,ref,slot,slot-scope,is");function _(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function b(t,e){return m.call(t,e)}function w(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var $=/-(\w)/g,A=w(function(t){return t.replace($,function(t,e){return e?e.toUpperCase():""})}),O=w(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),k=/\B([A-Z])/g,x=w(function(t){return t.replace(k,"-$1").toLowerCase()});function P(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function S(t,e){return t.bind(e)}var E=Function.prototype.bind?S:P;function j(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function C(t,e){for(var n in e)t[n]=e[n];return t}function T(t){for(var e={},n=0;n<t.length;n++)t[n]&&C(e,t[n]);return e}function I(t,e,n){}var N=function(t,e,n){return!1},D=function(t){return t};function L(t,e){if(t===e)return!0;var n=u(t),r=u(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var o=Array.isArray(t),i=Array.isArray(e);if(o&&i)return t.length===e.length&&t.every(function(t,n){return L(t,e[n])});if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(o||i)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every(function(n){return L(t[n],e[n])})}catch(c){return!1}}function M(t,e){for(var n=0;n<t.length;n++)if(L(t[n],e))return n;return-1}function B(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var R=["component","directive","filter"],F=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],U={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:N,isReservedAttr:N,isUnknownElement:N,getTagNamespace:I,parsePlatformTagName:D,mustUseProp:N,async:!0,_lifecycleHooks:F},V=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function H(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function W(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var z=new RegExp("[^"+V.source+".$_\\d]");function G(t){if(!z.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var J,X="__proto__"in{},K="undefined"!==typeof window,q="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,Q=q&&WXEnvironment.platform.toLowerCase(),Z=K&&window.navigator.userAgent.toLowerCase(),Y=Z&&/msie|trident/.test(Z),tt=(Z&&Z.indexOf("msie 9.0"),Z&&Z.indexOf("edge/")>0),et=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===Q),nt=(Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z),Z&&Z.match(/firefox\/(\d+)/),{}.watch);if(K)try{var rt={};Object.defineProperty(rt,"passive",{get:function(){}}),window.addEventListener("test-passive",null,rt)}catch(no){}var ot=function(){return void 0===J&&(J=!K&&!q&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),J},it=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"===typeof t&&/native code/.test(t.toString())}var st,ut="undefined"!==typeof Symbol&&at(Symbol)&&"undefined"!==typeof Reflect&&at(Reflect.ownKeys);st="undefined"!==typeof Set&&at(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ct=I,ft=0,lt=function(){this.id=ft++,this.subs=[]};lt.prototype.addSub=function(t){this.subs.push(t)},lt.prototype.removeSub=function(t){_(this.subs,t)},lt.prototype.depend=function(){lt.target&<.target.addDep(this)},lt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},lt.target=null;var pt=[];function ht(t){pt.push(t),lt.target=t}function dt(){pt.pop(),lt.target=pt[pt.length-1]}var vt=function(t,e,n,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},yt={child:{configurable:!0}};yt.child.get=function(){return this.componentInstance},Object.defineProperties(vt.prototype,yt);var gt=function(t){void 0===t&&(t="");var e=new vt;return e.text=t,e.isComment=!0,e};function _t(t){return new vt(void 0,void 0,void 0,String(t))}function mt(t){var e=new vt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var bt=Array.prototype,wt=Object.create(bt),$t=["push","pop","shift","unshift","splice","sort","reverse"];$t.forEach(function(t){var e=bt[t];W(wt,t,function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];var o,i=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2);break}return o&&a.observeArray(o),a.dep.notify(),i})});var At=Object.getOwnPropertyNames(wt),Ot=!0;function kt(t){Ot=t}var xt=function(t){this.value=t,this.dep=new lt,this.vmCount=0,W(t,"__ob__",this),Array.isArray(t)?(X?Pt(t,wt):St(t,wt,At),this.observeArray(t)):this.walk(t)};function Pt(t,e){t.__proto__=e}function St(t,e,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];W(t,i,e[i])}}function Et(t,e){var n;if(u(t)&&!(t instanceof vt))return b(t,"__ob__")&&t.__ob__ instanceof xt?n=t.__ob__:Ot&&!ot()&&(Array.isArray(t)||f(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new xt(t)),e&&n&&n.vmCount++,n}function jt(t,e,n,r,o){var i=new lt,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,u=a&&a.set;s&&!u||2!==arguments.length||(n=t[e]);var c=!o&&Et(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return lt.target&&(i.depend(),c&&(c.dep.depend(),Array.isArray(e)&&It(e))),e},set:function(e){var r=s?s.call(t):n;e===r||e!==e&&r!==r||s&&!u||(u?u.call(t,e):n=e,c=!o&&Et(e),i.notify())}})}}function Ct(t,e,n){if(Array.isArray(t)&&p(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(jt(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function Tt(t,e){if(Array.isArray(t)&&p(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||b(t,e)&&(delete t[e],n&&n.dep.notify())}}function It(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&It(e)}xt.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)jt(t,e[n])},xt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Et(t[e])};var Nt=U.optionMergeStrategies;function Dt(t,e){if(!e)return t;for(var n,r,o,i=ut?Reflect.ownKeys(e):Object.keys(e),a=0;a<i.length;a++)n=i[a],"__ob__"!==n&&(r=t[n],o=e[n],b(t,n)?r!==o&&f(r)&&f(o)&&Dt(r,o):Ct(t,n,o));return t}function Lt(t,e,n){return n?function(){var r="function"===typeof e?e.call(n,n):e,o="function"===typeof t?t.call(n,n):t;return r?Dt(r,o):o}:e?t?function(){return Dt("function"===typeof e?e.call(this,this):e,"function"===typeof t?t.call(this,this):t)}:e:t}function Mt(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?Bt(n):n}function Bt(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function Rt(t,e,n,r){var o=Object.create(t||null);return e?C(o,e):o}Nt.data=function(t,e,n){return n?Lt(t,e,n):e&&"function"!==typeof e?t:Lt(t,e)},F.forEach(function(t){Nt[t]=Mt}),R.forEach(function(t){Nt[t+"s"]=Rt}),Nt.watch=function(t,e,n,r){if(t===nt&&(t=void 0),e===nt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var i in C(o,t),e){var a=o[i],s=e[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Nt.props=Nt.methods=Nt.inject=Nt.computed=function(t,e,n,r){if(!t)return e;var o=Object.create(null);return C(o,t),e&&C(o,e),o},Nt.provide=Lt;var Ft=function(t,e){return void 0===e?t:e};function Ut(t,e){var n=t.props;if(n){var r,o,i,a={};if(Array.isArray(n)){r=n.length;while(r--)o=n[r],"string"===typeof o&&(i=A(o),a[i]={type:null})}else if(f(n))for(var s in n)o=n[s],i=A(s),a[i]=f(o)?o:{type:o};else 0;t.props=a}}function Vt(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(f(n))for(var i in n){var a=n[i];r[i]=f(a)?C({from:i},a):{from:a}}else 0}}function Ht(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"===typeof r&&(e[n]={bind:r,update:r})}}function Wt(t,e,n){if("function"===typeof e&&(e=e.options),Ut(e,n),Vt(e,n),Ht(e),!e._base&&(e.extends&&(t=Wt(t,e.extends,n)),e.mixins))for(var r=0,o=e.mixins.length;r<o;r++)t=Wt(t,e.mixins[r],n);var i,a={};for(i in t)s(i);for(i in e)b(t,i)||s(i);function s(r){var o=Nt[r]||Ft;a[r]=o(t[r],e[r],n,r)}return a}function zt(t,e,n,r){if("string"===typeof n){var o=t[e];if(b(o,n))return o[n];var i=A(n);if(b(o,i))return o[i];var a=O(i);if(b(o,a))return o[a];var s=o[n]||o[i]||o[a];return s}}function Gt(t,e,n,r){var o=e[t],i=!b(n,t),a=n[t],s=qt(Boolean,o.type);if(s>-1)if(i&&!b(o,"default"))a=!1;else if(""===a||a===x(t)){var u=qt(String,o.type);(u<0||s<u)&&(a=!0)}if(void 0===a){a=Jt(r,o,t);var c=Ot;kt(!0),Et(a),kt(c)}return a}function Jt(t,e,n){if(b(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"===typeof r&&"Function"!==Xt(e.type)?r.call(t):r}}function Xt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Kt(t,e){return Xt(t)===Xt(e)}function qt(t,e){if(!Array.isArray(e))return Kt(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Kt(e[n],t))return n;return-1}function Qt(t,e,n){ht();try{if(e){var r=e;while(r=r.$parent){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{var a=!1===o[i].call(r,t,e,n);if(a)return}catch(no){Yt(no,r,"errorCaptured hook")}}}Yt(t,e,n)}finally{dt()}}function Zt(t,e,n,r,o){var i;try{i=n?t.apply(e,n):t.call(e),i&&!i._isVue&&h(i)&&!i._handled&&(i.catch(function(t){return Qt(t,r,o+" (Promise/async)")}),i._handled=!0)}catch(no){Qt(no,r,o)}return i}function Yt(t,e,n){if(U.errorHandler)try{return U.errorHandler.call(null,t,e,n)}catch(no){no!==t&&te(no,null,"config.errorHandler")}te(t,e,n)}function te(t,e,n){if(!K&&!q||"undefined"===typeof console)throw t;console.error(t)}var ee,ne=[],re=!1;function oe(){re=!1;var t=ne.slice(0);ne.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&at(Promise)){var ie=Promise.resolve();ee=function(){ie.then(oe),et&&setTimeout(I)}}else if(Y||"undefined"===typeof MutationObserver||!at(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())ee="undefined"!==typeof setImmediate&&at(setImmediate)?function(){setImmediate(oe)}:function(){setTimeout(oe,0)};else{var ae=1,se=new MutationObserver(oe),ue=document.createTextNode(String(ae));se.observe(ue,{characterData:!0}),ee=function(){ae=(ae+1)%2,ue.data=String(ae)}}function ce(t,e){var n;if(ne.push(function(){if(t)try{t.call(e)}catch(no){Qt(no,e,"nextTick")}else n&&n(e)}),re||(re=!0,ee()),!t&&"undefined"!==typeof Promise)return new Promise(function(t){n=t})}var fe=new st;function le(t){pe(t,fe),fe.clear()}function pe(t,e){var n,r,o=Array.isArray(t);if(!(!o&&!u(t)||Object.isFrozen(t)||t instanceof vt)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(o){n=t.length;while(n--)pe(t[n],e)}else{r=Object.keys(t),n=r.length;while(n--)pe(t[r[n]],e)}}}var he=w(function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var r="!"===t.charAt(0);return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}});function de(t,e){function n(){var t=arguments,r=n.fns;if(!Array.isArray(r))return Zt(r,null,arguments,e,"v-on handler");for(var o=r.slice(),i=0;i<o.length;i++)Zt(o[i],null,t,e,"v-on handler")}return n.fns=t,n}function ve(t,e,n,o,a,s){var u,c,f,l;for(u in t)c=t[u],f=e[u],l=he(u),r(c)||(r(f)?(r(c.fns)&&(c=t[u]=de(c,s)),i(l.once)&&(c=t[u]=a(l.name,c,l.capture)),n(l.name,c,l.capture,l.passive,l.params)):c!==f&&(f.fns=c,t[u]=f));for(u in e)r(t[u])&&(l=he(u),o(l.name,e[u],l.capture))}function ye(t,e,n){var i=e.options.props;if(!r(i)){var a={},s=t.attrs,u=t.props;if(o(s)||o(u))for(var c in i){var f=x(c);ge(a,u,c,f,!0)||ge(a,s,c,f,!1)}return a}}function ge(t,e,n,r,i){if(o(e)){if(b(e,n))return t[n]=e[n],i||delete e[n],!0;if(b(e,r))return t[n]=e[r],i||delete e[r],!0}return!1}function _e(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function me(t){return s(t)?[_t(t)]:Array.isArray(t)?we(t):void 0}function be(t){return o(t)&&o(t.text)&&a(t.isComment)}function we(t,e){var n,a,u,c,f=[];for(n=0;n<t.length;n++)a=t[n],r(a)||"boolean"===typeof a||(u=f.length-1,c=f[u],Array.isArray(a)?a.length>0&&(a=we(a,(e||"")+"_"+n),be(a[0])&&be(c)&&(f[u]=_t(c.text+a[0].text),a.shift()),f.push.apply(f,a)):s(a)?be(c)?f[u]=_t(c.text+a):""!==a&&f.push(_t(a)):be(a)&&be(c)?f[u]=_t(c.text+a.text):(i(t._isVList)&&o(a.tag)&&r(a.key)&&o(e)&&(a.key="__vlist"+e+"_"+n+"__"),f.push(a)));return f}function $e(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Ae(t){var e=Oe(t.$options.inject,t);e&&(kt(!1),Object.keys(e).forEach(function(n){jt(t,n,e[n])}),kt(!0))}function Oe(t,e){if(t){for(var n=Object.create(null),r=ut?Reflect.ownKeys(t):Object.keys(t),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){var a=t[i].from,s=e;while(s){if(s._provided&&b(s._provided,a)){n[i]=s._provided[a];break}s=s.$parent}if(!s)if("default"in t[i]){var u=t[i].default;n[i]="function"===typeof u?u.call(e):u}else 0}}return n}}function ke(t,e){if(!t||!t.length)return{};for(var n={},r=0,o=t.length;r<o;r++){var i=t[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==e&&i.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,u=n[s]||(n[s]=[]);"template"===i.tag?u.push.apply(u,i.children||[]):u.push(i)}}for(var c in n)n[c].every(xe)&&delete n[c];return n}function xe(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Pe(t,e,r){var o,i=Object.keys(e).length>0,a=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==n&&s===r.$key&&!i&&!r.$hasNormal)return r;for(var u in o={},t)t[u]&&"$"!==u[0]&&(o[u]=Se(e,u,t[u]))}else o={};for(var c in e)c in o||(o[c]=Ee(e,c));return t&&Object.isExtensible(t)&&(t._normalized=o),W(o,"$stable",a),W(o,"$key",s),W(o,"$hasNormal",i),o}function Se(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:me(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function Ee(t,e){return function(){return t[e]}}function je(t,e){var n,r,i,a,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e(t[r],r);else if("number"===typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(u(t))if(ut&&t[Symbol.iterator]){n=[];var c=t[Symbol.iterator](),f=c.next();while(!f.done)n.push(e(f.value,n.length)),f=c.next()}else for(a=Object.keys(t),n=new Array(a.length),r=0,i=a.length;r<i;r++)s=a[r],n[r]=e(t[s],s,r);return o(n)||(n=[]),n._isVList=!0,n}function Ce(t,e,n,r){var o,i=this.$scopedSlots[t];i?(n=n||{},r&&(n=C(C({},r),n)),o=i(n)||e):o=this.$slots[t]||e;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function Te(t){return zt(this.$options,"filters",t,!0)||D}function Ie(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Ne(t,e,n,r,o){var i=U.keyCodes[e]||n;return o&&r&&!U.keyCodes[e]?Ie(o,r):i?Ie(i,t):r?x(r)!==e:void 0}function De(t,e,n,r,o){if(n)if(u(n)){var i;Array.isArray(n)&&(n=T(n));var a=function(a){if("class"===a||"style"===a||g(a))i=t;else{var s=t.attrs&&t.attrs.type;i=r||U.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var u=A(a),c=x(a);if(!(u in i)&&!(c in i)&&(i[a]=n[a],o)){var f=t.on||(t.on={});f["update:"+a]=function(t){n[a]=t}}};for(var s in n)a(s)}else;return t}function Le(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e?r:(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),Be(r,"__static__"+t,!1),r)}function Me(t,e,n){return Be(t,"__once__"+e+(n?"_"+n:""),!0),t}function Be(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!==typeof t[r]&&Re(t[r],e+"_"+r,n);else Re(t,e,n)}function Re(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Fe(t,e){if(e)if(f(e)){var n=t.on=t.on?C({},t.on):{};for(var r in e){var o=n[r],i=e[r];n[r]=o?[].concat(o,i):i}}else;return t}function Ue(t,e,n,r){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var i=t[o];Array.isArray(i)?Ue(i,e,n):i&&(i.proxy&&(i.fn.proxy=!0),e[i.key]=i.fn)}return r&&(e.$key=r),e}function Ve(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"===typeof r&&r&&(t[e[n]]=e[n+1])}return t}function He(t,e){return"string"===typeof t?e+t:t}function We(t){t._o=Me,t._n=v,t._s=d,t._l=je,t._t=Ce,t._q=L,t._i=M,t._m=Le,t._f=Te,t._k=Ne,t._b=De,t._v=_t,t._e=gt,t._u=Ue,t._g=Fe,t._d=Ve,t._p=He}function ze(t,e,r,o,a){var s,u=this,c=a.options;b(o,"_uid")?(s=Object.create(o),s._original=o):(s=o,o=o._original);var f=i(c._compiled),l=!f;this.data=t,this.props=e,this.children=r,this.parent=o,this.listeners=t.on||n,this.injections=Oe(c.inject,o),this.slots=function(){return u.$slots||Pe(t.scopedSlots,u.$slots=ke(r,o)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Pe(t.scopedSlots,this.slots())}}),f&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Pe(t.scopedSlots,this.$slots)),c._scopeId?this._c=function(t,e,n,r){var i=on(s,t,e,n,r,l);return i&&!Array.isArray(i)&&(i.fnScopeId=c._scopeId,i.fnContext=o),i}:this._c=function(t,e,n,r){return on(s,t,e,n,r,l)}}function Ge(t,e,r,i,a){var s=t.options,u={},c=s.props;if(o(c))for(var f in c)u[f]=Gt(f,c,e||n);else o(r.attrs)&&Xe(u,r.attrs),o(r.props)&&Xe(u,r.props);var l=new ze(r,u,a,i,t),p=s.render.call(null,l._c,l);if(p instanceof vt)return Je(p,r,l.parent,s,l);if(Array.isArray(p)){for(var h=me(p)||[],d=new Array(h.length),v=0;v<h.length;v++)d[v]=Je(h[v],r,l.parent,s,l);return d}}function Je(t,e,n,r,o){var i=mt(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function Xe(t,e){for(var n in e)t[A(n)]=e[n]}We(ze.prototype);var Ke={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Ke.prepatch(n,n)}else{var r=t.componentInstance=Ze(t,On);r.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,r=e.componentInstance=t.componentInstance;Sn(r,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,Tn(n,"mounted")),t.data.keepAlive&&(e._isMounted?Wn(n):jn(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Cn(e,!0):e.$destroy())}},qe=Object.keys(Ke);function Qe(t,e,n,a,s){if(!r(t)){var c=n.$options._base;if(u(t)&&(t=c.extend(t)),"function"===typeof t){var f;if(r(t.cid)&&(f=t,t=vn(f,c),void 0===t))return dn(f,e,n,a,s);e=e||{},hr(t),o(e.model)&&en(t.options,e);var l=ye(e,t,s);if(i(t.options.functional))return Ge(t,l,e,n,a);var p=e.on;if(e.on=e.nativeOn,i(t.options.abstract)){var h=e.slot;e={},h&&(e.slot=h)}Ye(e);var d=t.options.name||s,v=new vt("vue-component-"+t.cid+(d?"-"+d:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:l,listeners:p,tag:s,children:a},f);return v}}}function Ze(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;return o(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new t.componentOptions.Ctor(n)}function Ye(t){for(var e=t.hook||(t.hook={}),n=0;n<qe.length;n++){var r=qe[n],o=e[r],i=Ke[r];o===i||o&&o._merged||(e[r]=o?tn(i,o):i)}}function tn(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}function en(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var i=e.on||(e.on={}),a=i[r],s=e.model.callback;o(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(i[r]=[s].concat(a)):i[r]=s}var nn=1,rn=2;function on(t,e,n,r,o,a){return(Array.isArray(n)||s(n))&&(o=r,r=n,n=void 0),i(a)&&(o=rn),an(t,e,n,r,o)}function an(t,e,n,r,i){if(o(n)&&o(n.__ob__))return gt();if(o(n)&&o(n.is)&&(e=n.is),!e)return gt();var a,s,u;(Array.isArray(r)&&"function"===typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===rn?r=me(r):i===nn&&(r=_e(r)),"string"===typeof e)?(s=t.$vnode&&t.$vnode.ns||U.getTagNamespace(e),a=U.isReservedTag(e)?new vt(U.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!o(u=zt(t.$options,"components",e))?new vt(e,n,r,void 0,void 0,t):Qe(u,n,t,r,e)):a=Qe(e,n,t,r);return Array.isArray(a)?a:o(a)?(o(s)&&sn(a,s),o(n)&&un(n),a):gt()}function sn(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),o(t.children))for(var a=0,s=t.children.length;a<s;a++){var u=t.children[a];o(u.tag)&&(r(u.ns)||i(n)&&"svg"!==u.tag)&&sn(u,e,n)}}function un(t){u(t.style)&&le(t.style),u(t.class)&&le(t.class)}function cn(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,o=r&&r.context;t.$slots=ke(e._renderChildren,o),t.$scopedSlots=n,t._c=function(e,n,r,o){return on(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return on(t,e,n,r,o,!0)};var i=r&&r.data;jt(t,"$attrs",i&&i.attrs||n,null,!0),jt(t,"$listeners",e._parentListeners||n,null,!0)}var fn,ln=null;function pn(t){We(t.prototype),t.prototype.$nextTick=function(t){return ce(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,o=n._parentVnode;o&&(e.$scopedSlots=Pe(o.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=o;try{ln=e,t=r.call(e._renderProxy,e.$createElement)}catch(no){Qt(no,e,"render"),t=e._vnode}finally{ln=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof vt||(t=gt()),t.parent=o,t}}function hn(t,e){return(t.__esModule||ut&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function dn(t,e,n,r,o){var i=gt();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function vn(t,e){if(i(t.error)&&o(t.errorComp))return t.errorComp;if(o(t.resolved))return t.resolved;var n=ln;if(n&&o(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),i(t.loading)&&o(t.loadingComp))return t.loadingComp;if(n&&!o(t.owners)){var a=t.owners=[n],s=!0,c=null,f=null;n.$on("hook:destroyed",function(){return _(a,n)});var l=function(t){for(var e=0,n=a.length;e<n;e++)a[e].$forceUpdate();t&&(a.length=0,null!==c&&(clearTimeout(c),c=null),null!==f&&(clearTimeout(f),f=null))},p=B(function(n){t.resolved=hn(n,e),s?a.length=0:l(!0)}),d=B(function(e){o(t.errorComp)&&(t.error=!0,l(!0))}),v=t(p,d);return u(v)&&(h(v)?r(t.resolved)&&v.then(p,d):h(v.component)&&(v.component.then(p,d),o(v.error)&&(t.errorComp=hn(v.error,e)),o(v.loading)&&(t.loadingComp=hn(v.loading,e),0===v.delay?t.loading=!0:c=setTimeout(function(){c=null,r(t.resolved)&&r(t.error)&&(t.loading=!0,l(!1))},v.delay||200)),o(v.timeout)&&(f=setTimeout(function(){f=null,r(t.resolved)&&d(null)},v.timeout)))),s=!1,t.loading?t.loadingComp:t.resolved}}function yn(t){return t.isComment&&t.asyncFactory}function gn(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(o(n)&&(o(n.componentOptions)||yn(n)))return n}}function _n(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&$n(t,e)}function mn(t,e){fn.$on(t,e)}function bn(t,e){fn.$off(t,e)}function wn(t,e){var n=fn;return function r(){var o=e.apply(null,arguments);null!==o&&n.$off(t,r)}}function $n(t,e,n){fn=t,ve(e,n||{},mn,bn,wn,t),fn=void 0}function An(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var o=0,i=t.length;o<i;o++)r.$on(t[o],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,o=t.length;r<o;r++)n.$off(t[r],e);return n}var i,a=n._events[t];if(!a)return n;if(!e)return n._events[t]=null,n;var s=a.length;while(s--)if(i=a[s],i===e||i.fn===e){a.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?j(n):n;for(var r=j(arguments,1),o='event handler for "'+t+'"',i=0,a=n.length;i<a;i++)Zt(n[i],e,r,e,o)}return e}}var On=null;function kn(t){var e=On;return On=t,function(){On=e}}function xn(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Pn(t){t.prototype._update=function(t,e){var n=this,r=n.$el,o=n._vnode,i=kn(n);n._vnode=t,n.$el=o?n.__patch__(o,t):n.__patch__(n.$el,t,e,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Tn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||_(e.$children,t),t._watcher&&t._watcher.teardown();var n=t._watchers.length;while(n--)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Tn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function Sn(t,e,r,o,i){var a=o.data.scopedSlots,s=t.$scopedSlots,u=!!(a&&!a.$stable||s!==n&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key),c=!!(i||t.$options._renderChildren||u);if(t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o),t.$options._renderChildren=i,t.$attrs=o.data.attrs||n,t.$listeners=r||n,e&&t.$options.props){kt(!1);for(var f=t._props,l=t.$options._propKeys||[],p=0;p<l.length;p++){var h=l[p],d=t.$options.props;f[h]=Gt(h,d,e,t)}kt(!0),t.$options.propsData=e}r=r||n;var v=t.$options._parentListeners;t.$options._parentListeners=r,$n(t,r,v),c&&(t.$slots=ke(i,o.context),t.$forceUpdate())}function En(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function jn(t,e){if(e){if(t._directInactive=!1,En(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)jn(t.$children[n]);Tn(t,"activated")}}function Cn(t,e){if((!e||(t._directInactive=!0,!En(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Cn(t.$children[n]);Tn(t,"deactivated")}}function Tn(t,e){ht();var n=t.$options[e],r=e+" hook";if(n)for(var o=0,i=n.length;o<i;o++)Zt(n[o],t,null,t,r);t._hasHookEvent&&t.$emit("hook:"+e),dt()}var In=[],Nn=[],Dn={},Ln=!1,Mn=!1,Bn=0;function Rn(){Bn=In.length=Nn.length=0,Dn={},Ln=Mn=!1}var Fn=Date.now;if(K&&!Y){var Un=window.performance;Un&&"function"===typeof Un.now&&Fn()>document.createEvent("Event").timeStamp&&(Fn=function(){return Un.now()})}function Vn(){var t,e;for(Fn(),Mn=!0,In.sort(function(t,e){return t.id-e.id}),Bn=0;Bn<In.length;Bn++)t=In[Bn],t.before&&t.before(),e=t.id,Dn[e]=null,t.run();var n=Nn.slice(),r=In.slice();Rn(),zn(n),Hn(r),it&&U.devtools&&it.emit("flush")}function Hn(t){var e=t.length;while(e--){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Tn(r,"updated")}}function Wn(t){t._inactive=!1,Nn.push(t)}function zn(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,jn(t[e],!0)}function Gn(t){var e=t.id;if(null==Dn[e]){if(Dn[e]=!0,Mn){var n=In.length-1;while(n>Bn&&In[n].id>t.id)n--;In.splice(n+1,0,t)}else In.push(t);Ln||(Ln=!0,ce(Vn))}}var Jn=0,Xn=function(t,e,n,r,o){this.vm=t,o&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Jn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new st,this.newDepIds=new st,this.expression="","function"===typeof e?this.getter=e:(this.getter=G(e),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()};Xn.prototype.get=function(){var t;ht(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(no){if(!this.user)throw no;Qt(no,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&le(t),dt(),this.cleanupDeps()}return t},Xn.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Xn.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Xn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Gn(this)},Xn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(no){Qt(no,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Xn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Xn.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},Xn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var Kn={enumerable:!0,configurable:!0,get:I,set:I};function qn(t,e,n){Kn.get=function(){return this[e][n]},Kn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Kn)}function Qn(t){t._watchers=[];var e=t.$options;e.props&&Zn(t,e.props),e.methods&&ar(t,e.methods),e.data?Yn(t):Et(t._data={},!0),e.computed&&nr(t,e.computed),e.watch&&e.watch!==nt&&sr(t,e.watch)}function Zn(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[],i=!t.$parent;i||kt(!1);var a=function(i){o.push(i);var a=Gt(i,e,n,t);jt(r,i,a),i in t||qn(t,"_props",i)};for(var s in e)a(s);kt(!0)}function Yn(t){var e=t.$options.data;e=t._data="function"===typeof e?tr(e,t):e||{},f(e)||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);while(o--){var i=n[o];0,r&&b(r,i)||H(i)||qn(t,"_data",i)}Et(e,!0)}function tr(t,e){ht();try{return t.call(e,e)}catch(no){return Qt(no,e,"data()"),{}}finally{dt()}}var er={lazy:!0};function nr(t,e){var n=t._computedWatchers=Object.create(null),r=ot();for(var o in e){var i=e[o],a="function"===typeof i?i:i.get;0,r||(n[o]=new Xn(t,a||I,I,er)),o in t||rr(t,o,i)}}function rr(t,e,n){var r=!ot();"function"===typeof n?(Kn.get=r?or(e):ir(n),Kn.set=I):(Kn.get=n.get?r&&!1!==n.cache?or(e):ir(n.get):I,Kn.set=n.set||I),Object.defineProperty(t,e,Kn)}function or(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),lt.target&&e.depend(),e.value}}function ir(t){return function(){return t.call(this,this)}}function ar(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?I:E(e[n],t)}function sr(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)ur(t,n,r[o]);else ur(t,n,r)}}function ur(t,e,n,r){return f(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,r)}function cr(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Ct,t.prototype.$delete=Tt,t.prototype.$watch=function(t,e,n){var r=this;if(f(e))return ur(r,t,e,n);n=n||{},n.user=!0;var o=new Xn(r,t,e,n);if(n.immediate)try{e.call(r,o.value)}catch(i){Qt(i,r,'callback for immediate watcher "'+o.expression+'"')}return function(){o.teardown()}}}var fr=0;function lr(t){t.prototype._init=function(t){var e=this;e._uid=fr++,e._isVue=!0,t&&t._isComponent?pr(e,t):e.$options=Wt(hr(e.constructor),t||{},e),e._renderProxy=e,e._self=e,xn(e),_n(e),cn(e),Tn(e,"beforeCreate"),"mp-toutiao"!==e.mpHost&&Ae(e),Qn(e),"mp-toutiao"!==e.mpHost&&$e(e),"mp-toutiao"!==e.mpHost&&Tn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function pr(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function hr(t){var e=t.options;if(t.super){var n=hr(t.super),r=t.superOptions;if(n!==r){t.superOptions=n;var o=dr(t);o&&C(t.extendOptions,o),e=t.options=Wt(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function dr(t){var e,n=t.options,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=n[o]);return e}function vr(t){this._init(t)}function yr(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=j(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function gr(t){t.mixin=function(t){return this.options=Wt(this.options,t),this}}function _r(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||n.options.name;var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Wt(n.options,t),a["super"]=n,a.options.props&&mr(a),a.options.computed&&br(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,R.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=C({},a.options),o[r]=a,a}}function mr(t){var e=t.options.props;for(var n in e)qn(t.prototype,"_props",n)}function br(t){var e=t.options.computed;for(var n in e)rr(t.prototype,n,e[n])}function wr(t){R.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&f(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function $r(t){return t&&(t.Ctor.options.name||t.tag)}function Ar(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!l(t)&&t.test(e)}function Or(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=$r(a.componentOptions);s&&!e(s)&&kr(n,i,r,o)}}}function kr(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,_(n,e)}lr(vr),cr(vr),An(vr),Pn(vr),pn(vr);var xr=[String,RegExp,Array],Pr={name:"keep-alive",abstract:!0,props:{include:xr,exclude:xr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)kr(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",function(e){Or(t,function(t){return Ar(e,t)})}),this.$watch("exclude",function(e){Or(t,function(t){return!Ar(e,t)})})},render:function(){var t=this.$slots.default,e=gn(t),n=e&&e.componentOptions;if(n){var r=$r(n),o=this,i=o.include,a=o.exclude;if(i&&(!r||!Ar(i,r))||a&&r&&Ar(a,r))return e;var s=this,u=s.cache,c=s.keys,f=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;u[f]?(e.componentInstance=u[f].componentInstance,_(c,f),c.push(f)):(u[f]=e,c.push(f),this.max&&c.length>parseInt(this.max)&&kr(u,c[0],c,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Sr={KeepAlive:Pr};function Er(t){var e={get:function(){return U}};Object.defineProperty(t,"config",e),t.util={warn:ct,extend:C,mergeOptions:Wt,defineReactive:jt},t.set=Ct,t.delete=Tt,t.nextTick=ce,t.observable=function(t){return Et(t),t},t.options=Object.create(null),R.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,C(t.options.components,Sr),yr(t),gr(t),_r(t),wr(t)}Er(vr),Object.defineProperty(vr.prototype,"$isServer",{get:ot}),Object.defineProperty(vr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(vr,"FunctionalRenderContext",{value:ze}),vr.version="2.6.10";var jr="[object Array]",Cr="[object Object]";function Tr(t,e){var n={};return Ir(t,e),Nr(t,e,"",n),n}function Ir(t,e){if(t!==e){var n=Lr(t),r=Lr(e);if(n==Cr&&r==Cr){if(Object.keys(t).length>=Object.keys(e).length)for(var o in e){var i=t[o];void 0===i?t[o]=null:Ir(i,e[o])}}else n==jr&&r==jr&&t.length>=e.length&&e.forEach(function(e,n){Ir(t[n],e)})}}function Nr(t,e,n,r){if(t!==e){var o=Lr(t),i=Lr(e);if(o==Cr)if(i!=Cr||Object.keys(t).length<Object.keys(e).length)Dr(r,n,t);else{var a=function(o){var i=t[o],a=e[o],s=Lr(i),u=Lr(a);if(s!=jr&&s!=Cr)i!=e[o]&&Dr(r,(""==n?"":n+".")+o,i);else if(s==jr)u!=jr?Dr(r,(""==n?"":n+".")+o,i):i.length<a.length?Dr(r,(""==n?"":n+".")+o,i):i.forEach(function(t,e){Nr(t,a[e],(""==n?"":n+".")+o+"["+e+"]",r)});else if(s==Cr)if(u!=Cr||Object.keys(i).length<Object.keys(a).length)Dr(r,(""==n?"":n+".")+o,i);else for(var c in i)Nr(i[c],a[c],(""==n?"":n+".")+o+"."+c,r)};for(var s in t)a(s)}else o==jr?i!=jr?Dr(r,n,t):t.length<e.length?Dr(r,n,t):t.forEach(function(t,o){Nr(t,e[o],n+"["+o+"]",r)}):Dr(r,n,t)}}function Dr(t,e,n){t[e]=n}function Lr(t){return Object.prototype.toString.call(t)}function Mr(t){if(t.__next_tick_callbacks&&t.__next_tick_callbacks.length){if(Object({NODE_ENV:"production",VUE_APP_PLATFORM:"app-plus",BASE_URL:"/"}).VUE_APP_DEBUG){var e=t.$scope;console.log("["+ +new Date+"]["+(e.is||e.route)+"]["+t._uid+"]:flushCallbacks["+t.__next_tick_callbacks.length+"]")}var n=t.__next_tick_callbacks.slice(0);t.__next_tick_callbacks.length=0;for(var r=0;r<n.length;r++)n[r]()}}function Br(t){return In.find(function(e){return t._watcher===e})}function Rr(t,e){if(!t.__next_tick_pending&&!Br(t)){if(Object({NODE_ENV:"production",VUE_APP_PLATFORM:"app-plus",BASE_URL:"/"}).VUE_APP_DEBUG){var n=t.$scope;console.log("["+ +new Date+"]["+(n.is||n.route)+"]["+t._uid+"]:nextVueTick")}return ce(e,t)}if(Object({NODE_ENV:"production",VUE_APP_PLATFORM:"app-plus",BASE_URL:"/"}).VUE_APP_DEBUG){var r=t.$scope;console.log("["+ +new Date+"]["+(r.is||r.route)+"]["+t._uid+"]:nextMPTick")}var o;if(t.__next_tick_callbacks||(t.__next_tick_callbacks=[]),t.__next_tick_callbacks.push(function(){if(e)try{e.call(t)}catch(no){Qt(no,t,"nextTick")}else o&&o(t)}),!e&&"undefined"!==typeof Promise)return new Promise(function(t){o=t})}function Fr(t){var e=Object.create(null),n=[].concat(Object.keys(t._data||{}),Object.keys(t._computedWatchers||{}));return n.reduce(function(e,n){return e[n]=t[n],e},e),Object.assign(e,t.$mp.data||{}),Array.isArray(t.$options.behaviors)&&-1!==t.$options.behaviors.indexOf("uni://form-field")&&(e["name"]=t.name,e["value"]=t.value),JSON.parse(JSON.stringify(e))}var Ur=function(t,e){var n=this;if(null!==e&&("page"===this.mpType||"component"===this.mpType)){var r=this.$scope,o=Object.create(null);try{o=Fr(this)}catch(s){console.error(s)}o.__webviewId__=r.data.__webviewId__;var i=Object.create(null);Object.keys(o).forEach(function(t){i[t]=r.data[t]});var a=Tr(o,i);Object.keys(a).length?(Object({NODE_ENV:"production",VUE_APP_PLATFORM:"app-plus",BASE_URL:"/"}).VUE_APP_DEBUG&&console.log("["+ +new Date+"]["+(r.is||r.route)+"]["+this._uid+"]差量更新",JSON.stringify(a)),this.__next_tick_pending=!0,r.setData(a,function(){n.__next_tick_pending=!1,Mr(n)})):Mr(this)}};function Vr(){}function Hr(t,e,n){if(!t.mpType)return t;"app"===t.mpType&&(t.$options.render=Vr),t.$options.render||(t.$options.render=Vr),"mp-toutiao"!==t.mpHost&&Tn(t,"beforeMount");var r=function(){t._update(t._render(),n)};return new Xn(t,r,I,{before:function(){t._isMounted&&!t._isDestroyed&&Tn(t,"beforeUpdate")}},!0),n=!1,t}function Wr(t,e){return o(t)||o(e)?zr(t,Gr(e)):""}function zr(t,e){return t?e?t+" "+e:t:e||""}function Gr(t){return Array.isArray(t)?Jr(t):u(t)?Xr(t):"string"===typeof t?t:""}function Jr(t){for(var e,n="",r=0,i=t.length;r<i;r++)o(e=Gr(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function Xr(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var Kr=w(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e});function qr(t){return Array.isArray(t)?T(t):"string"===typeof t?Kr(t):t}var Qr=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];function Zr(t,e){var n=e.split("."),r=n[0];return 0===r.indexOf("__$n")&&(r=parseInt(r.replace("__$n",""))),1===n.length?t[r]:Zr(t[r],n.slice(1).join("."))}function Yr(t){t.config.errorHandler=function(t){console.error(t)};var e=t.prototype.$emit;t.prototype.$emit=function(t){return this.$scope&&t&&this.$scope["triggerEvent"](t,{__args__:j(arguments,1)}),e.apply(this,arguments)},t.prototype.$nextTick=function(t){return Rr(this,t)},Qr.forEach(function(e){t.prototype[e]=function(t){if(this.$scope)return this.$scope[e](t)}}),t.prototype.__init_provide=$e,t.prototype.__init_injections=Ae,t.prototype.__call_hook=function(t,e){var n=this;ht();var r,o=n.$options[t],i=t+" hook";if(o)for(var a=0,s=o.length;a<s;a++)r=Zt(o[a],n,e?[e]:null,n,i);return n._hasHookEvent&&n.$emit("hook:"+t),dt(),r},t.prototype.__set_model=function(t,e,n,r){Array.isArray(r)&&(-1!==r.indexOf("trim")&&(n=n.trim()),-1!==r.indexOf("number")&&(n=this._n(n))),t||(t=this),t[e]=n},t.prototype.__set_sync=function(t,e,n){t||(t=this),t[e]=n},t.prototype.__get_orig=function(t){return f(t)&&t["$orig"]||t},t.prototype.__get_value=function(t,e){return Zr(e||this,t)},t.prototype.__get_class=function(t,e){return Wr(e,t)},t.prototype.__get_style=function(t,e){if(!t&&!e)return"";var n=qr(t),r=e?C(e,n):n;return Object.keys(r).map(function(t){return x(t)+":"+r[t]}).join(";")},t.prototype.__map=function(t,e){var n,r,o,i,a;if(Array.isArray(t)){for(n=new Array(t.length),r=0,o=t.length;r<o;r++)n[r]=e(t[r],r);return n}if(u(t)){for(i=Object.keys(t),n=Object.create(null),r=0,o=i.length;r<o;r++)a=i[r],n[a]=e(t[a],a,r);return n}return[]}}var to=["onLaunch","onShow","onHide","onUniNViewMessage","onError","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onPageShow","onPageHide","onPageResize"];function eo(t){var e=t.extend;t.extend=function(t){t=t||{};var n=t.methods;return n&&Object.keys(n).forEach(function(e){-1!==to.indexOf(e)&&(t[e]=n[e],delete n[e])}),e.call(this,t)};var n=t.config.optionMergeStrategies,r=n.created;to.forEach(function(t){n[t]=r}),t.prototype.__lifecycle_hooks__=to}vr.prototype.__patch__=Ur,vr.prototype.$mount=function(t,e){return Hr(this,t,e)},eo(vr),Yr(vr),e["default"]=vr}.call(this,n("c8ba"))},"6e42":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.createApp=de,e.createComponent=Oe,e.createPage=Ae,e.default=void 0;var r=o(n("66fd"));function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){return u(t)||s(t,e)||a()}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function s(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),e&&n.length===e)break}catch(u){o=!0,i=u}finally{try{r||null==s["return"]||s["return"]()}finally{if(o)throw i}}return n}function u(t){if(Array.isArray(t))return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t){return h(t)||p(t)||l()}function l(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function p(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function h(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}var d=Object.prototype.toString,v=Object.prototype.hasOwnProperty;function y(t){return"function"===typeof t}function g(t){return"string"===typeof t}function _(t){return"[object Object]"===d.call(t)}function m(t,e){return v.call(t,e)}function b(){}function w(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var $=/-(\w)/g,A=w(function(t){return t.replace($,function(t,e){return e?e.toUpperCase():""})}),O=["invoke","success","fail","complete","returnValue"],k={},x={};function P(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?S(n):n}function S(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function E(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}function j(t,e){Object.keys(e).forEach(function(n){-1!==O.indexOf(n)&&y(e[n])&&(t[n]=P(t[n],e[n]))})}function C(t,e){t&&e&&Object.keys(e).forEach(function(n){-1!==O.indexOf(n)&&y(e[n])&&E(t[n],e[n])})}function T(t,e){"string"===typeof t&&_(e)?j(x[t]||(x[t]={}),e):_(t)&&j(k,t)}function I(t,e){"string"===typeof t?_(e)?C(x[t],e):delete x[t]:_(t)&&C(k,t)}function N(t){return function(e){return t(e)||e}}function D(t){return!!t&&("object"===typeof t||"function"===typeof t)&&"function"===typeof t.then}function L(t,e){for(var n=!1,r=0;r<t.length;r++){var o=t[r];if(n)n=Promise.then(N(o));else{var i=o(e);if(D(i)&&(n=Promise.resolve(i)),!1===i)return{then:function(){}}}}return n||{then:function(t){return t(e)}}}function M(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach(function(n){if(Array.isArray(t[n])){var r=e[n];e[n]=function(e){L(t[n],e).then(function(t){return y(r)&&r(t)||t})}}}),e}function B(t,e){var n=[];Array.isArray(k.returnValue)&&n.push.apply(n,f(k.returnValue));var r=x[t];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,f(r.returnValue)),n.forEach(function(t){e=t(e)||e}),e}function R(t){var e=Object.create(null);Object.keys(k).forEach(function(t){"returnValue"!==t&&(e[t]=k[t].slice())});var n=x[t];return n&&Object.keys(n).forEach(function(t){"returnValue"!==t&&(e[t]=(e[t]||[]).concat(n[t]))}),e}function F(t,e,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];var a=R(t);if(a&&Object.keys(a).length){if(Array.isArray(a.invoke)){var s=L(a.invoke,n);return s.then(function(t){return e.apply(void 0,[M(a,t)].concat(o))})}return e.apply(void 0,[M(a,n)].concat(o))}return e.apply(void 0,[n].concat(o))}var U={returnValue:function(t){return D(t)?t.then(function(t){return t[1]}).catch(function(t){return t[0]}):t}},V=/^\$|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64/,H=/^create|Manager$/,W=/^on/;function z(t){return H.test(t)}function G(t){return V.test(t)}function J(t){return W.test(t)}function X(t){return t.then(function(t){return[null,t]}).catch(function(t){return[t]})}function K(t){return!(z(t)||G(t)||J(t))}function q(t,e){return K(t)?function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return y(n.success)||y(n.fail)||y(n.complete)?B(t,F.apply(void 0,[t,e,n].concat(o))):B(t,X(new Promise(function(r,i){F.apply(void 0,[t,e,Object.assign({},n,{success:r,fail:i})].concat(o)),Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then(function(n){return e.resolve(t()).then(function(){return n})},function(n){return e.resolve(t()).then(function(){throw n})})})})))}:e}var Q=1e-4,Z=750,Y=!1,tt=0,et=0;function nt(){var t=wx.getSystemInfoSync(),e=t.platform,n=t.pixelRatio,r=t.windowWidth;tt=r,et=n,Y="ios"===e}function rt(t,e){if(0===tt&&nt(),t=Number(t),0===t)return 0;var n=t/Z*(e||tt);return n<0&&(n=-n),n=Math.floor(n+Q),0===n?1!==et&&Y?.5:1:t<0?-n:n}var ot={promiseInterceptor:U},it=Object.freeze({upx2px:rt,interceptors:ot,addInterceptor:T,removeInterceptor:I}),at={},st=[],ut=[],ct=["success","fail","cancel","complete"];function ft(t,e,n){return function(r){return e(pt(t,r,n))}}function lt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(_(e)){var i=!0===o?e:{};for(var a in y(n)&&(n=n(e,i)||{}),e)if(m(n,a)){var s=n[a];y(s)&&(s=s(e[a],e,i)),s?g(s)?i[s]=e[a]:_(s)&&(i[s.name?s.name:a]=s.value):console.warn("app-plus ".concat(t,"暂不支持").concat(a))}else-1!==ct.indexOf(a)?i[a]=ft(t,e[a],r):o||(i[a]=e[a]);return i}return y(e)&&(e=ft(t,e,r)),e}function pt(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return y(at.returnValue)&&(e=at.returnValue(t,e)),lt(t,e,n,{},r)}function ht(t,e){if(m(at,t)){var n=at[t];return n?function(e,r){var o=n;y(n)&&(o=n(e)),e=lt(t,e,o.args,o.returnValue);var i=[e];"undefined"!==typeof r&&i.push(r);var a=wx[o.name||t].apply(wx,i);return G(t)?pt(t,a,o.returnValue,z(t)):a}:function(){console.error("app-plus 暂不支持".concat(t))}}return e}var dt=Object.create(null),vt=["subscribePush","unsubscribePush","onPush","offPush","share"];function yt(t){return function(e){var n=e.fail,r=e.complete,o={errMsg:"".concat(t,":fail:暂不支持 ").concat(t," 方法")};y(n)&&n(o),y(r)&&r(o)}}vt.forEach(function(t){dt[t]=yt(t)});var gt=function(){return"function"===typeof getUniEmitter?getUniEmitter:function(){return t||(t=new r.default),t};var t}();function _t(t,e,n){return t[e].apply(t,n)}function mt(){return _t(gt(),"$on",Array.prototype.slice.call(arguments))}function bt(){return _t(gt(),"$off",Array.prototype.slice.call(arguments))}function wt(){return _t(gt(),"$once",Array.prototype.slice.call(arguments))}function $t(){return _t(gt(),"$emit",Array.prototype.slice.call(arguments))}var At=Object.freeze({$on:mt,$off:bt,$once:wt,$emit:$t});function Ot(t){t.$processed=!0,t.postMessage=function(e){plus.webview.postMessageToUniNView({type:"UniAppSubNVue",data:e},t.id)};var e=[];if(t.onMessage=function(t){e.push(t)},t.$consumeMessage=function(t){e.forEach(function(e){return e(t)})},t.__uniapp_mask_id){var n=t.__uniapp_mask,r=plus.webview.getWebviewById(t.__uniapp_mask_id);r=r.parent()||r;var o=t.show,i=t.hide,a=t.close,s=function(){r.setStyle({mask:n})},u=function(){r.setStyle({mask:"none"})};t.show=function(){s();for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return o.apply(t,n)},t.hide=function(){u();for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return i.apply(t,n)},t.close=function(){u(),e=[];for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return a.apply(t,r)}}}function kt(t){var e=plus.webview.getWebviewById(t);return e&&!e.$processed&&Ot(e),e}function xt(t){return"undefined"!==typeof weex?weex.requireModule(t):__requireNativePlugin__(t)}var Pt=Object.freeze({requireNativePlugin:xt,getSubNVueById:kt}),St=Page,Et=Component,jt=/:/g,Ct=w(function(t){return A(t.replace(jt,"-"))});function Tt(t){if(wx.canIUse("nextTick")){var e=t.triggerEvent;t.triggerEvent=function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.apply(t,[Ct(n)].concat(o))}}}function It(t,e){var n=e[t];e[t]=n?function(){Tt(this);for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return n.apply(this,e)}:function(){Tt(this)}}Page=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return It("onLoad",t),St(t)},Component=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return It("created",t),Et(t)};var Nt=["onPullDownRefresh","onReachBottom","onShareAppMessage","onPageScroll","onResize","onTabItemTap"];function Dt(t,e){var n=t.$mp[t.mpType];e.forEach(function(e){m(n,e)&&(t[e]=n[e])})}function Lt(t,e){if(!e)return!0;if(r.default.options&&Array.isArray(r.default.options[t]))return!0;if(e=e.default||e,y(e))return!!y(e.extendOptions[t])||!!(e.super&&e.super.options&&Array.isArray(e.super.options[t]));if(y(e[t]))return!0;var n=e.mixins;return Array.isArray(n)?!!n.find(function(e){return Lt(t,e)}):void 0}function Mt(t,e,n){e.forEach(function(e){Lt(e,n)&&(t[e]=function(t){return this.$vm&&this.$vm.__call_hook(e,t)})})}function Bt(t,e){var n;return e=e.default||e,y(e)?(n=e,e=n.extendOptions):n=t.extend(e),[n,e]}function Rt(t,e){if(Array.isArray(e)&&e.length){var n=Object.create(null);e.forEach(function(t){n[t]=!0}),t.$scopedSlots=t.$slots=n}}function Ft(t,e){t=(t||"").split(",");var n=t.length;1===n?e._$vueId=t[0]:2===n&&(e._$vueId=t[0],e._$vuePid=t[1])}function Ut(t,e){var n=t.data||{},r=t.methods||{};if("function"===typeof n)try{n=n.call(e)}catch(o){Object({NODE_ENV:"production",VUE_APP_PLATFORM:"app-plus",BASE_URL:"/"}).VUE_APP_DEBUG&&console.warn("根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。",n)}else try{n=JSON.parse(JSON.stringify(n))}catch(o){}return _(n)||(n={}),Object.keys(r).forEach(function(t){-1!==e.__lifecycle_hooks__.indexOf(t)||m(n,t)||(n[t]=r[t])}),n}var Vt=[String,Number,Boolean,Object,Array,null];function Ht(t){return function(e,n){this.$vm&&(this.$vm[t]=e)}}function Wt(t,e){var n=t["behaviors"],r=t["extends"],o=t["mixins"],i=t["props"];i||(t["props"]=i=[]);var a=[];return Array.isArray(n)&&n.forEach(function(t){a.push(t.replace("uni://","wx".concat("://"))),"uni://form-field"===t&&(Array.isArray(i)?(i.push("name"),i.push("value")):(i["name"]={type:String,default:""},i["value"]={type:[String,Number,Boolean,Array,Object,Date],default:""}))}),_(r)&&r.props&&a.push(e({properties:Gt(r.props,!0)})),Array.isArray(o)&&o.forEach(function(t){_(t)&&t.props&&a.push(e({properties:Gt(t.props,!0)}))}),a}function zt(t,e,n,r){return Array.isArray(e)&&1===e.length?e[0]:e}function Gt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(arguments.length>2&&void 0!==arguments[2]&&arguments[2],{});return e||(n.vueId={type:String,value:""},n.vueSlots={type:null,value:[],observer:function(t,e){var n=Object.create(null);t.forEach(function(t){n[t]=!0}),this.setData({$slots:n})}}),Array.isArray(t)?t.forEach(function(t){n[t]={type:null,observer:Ht(t)}}):_(t)&&Object.keys(t).forEach(function(e){var r=t[e];if(_(r)){var o=r["default"];y(o)&&(o=o()),r.type=zt(e,r.type),n[e]={type:-1!==Vt.indexOf(r.type)?r.type:null,value:o,observer:Ht(e)}}else{var i=zt(e,r);n[e]={type:-1!==Vt.indexOf(i)?i:null,observer:Ht(e)}}}),n}function Jt(t){try{t.mp=JSON.parse(JSON.stringify(t))}catch(e){}return t.stopPropagation=b,t.preventDefault=b,t.target=t.target||{},m(t,"detail")||(t.detail={}),_(t.detail)&&(t.target=Object.assign({},t.target,t.detail)),t}function Xt(t,e){var n=t;return e.forEach(function(e){var r=e[0],o=e[2];if(r||"undefined"!==typeof o){var i=e[1],a=e[3],s=r?t.__get_value(r,n):n;Number.isInteger(s)?n=o:i?Array.isArray(s)?n=s.find(function(e){return t.__get_value(i,e)===o}):_(s)?n=Object.keys(s).find(function(e){return t.__get_value(i,s[e])===o}):console.error("v-for 暂不支持循环数据:",s):n=s[o],a&&(n=t.__get_value(a,n))}}),n}function Kt(t,e,n){var r={};return Array.isArray(e)&&e.length&&e.forEach(function(e,o){"string"===typeof e?e?"$event"===e?r["$"+o]=n:0===e.indexOf("$event.")?r["$"+o]=t.__get_value(e.replace("$event.",""),n):r["$"+o]=t.__get_value(e):r["$"+o]=t:r["$"+o]=Xt(t,e)}),r}function qt(t){for(var e={},n=1;n<t.length;n++){var r=t[n];e[r[0]]=r[1]}return e}function Qt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,a=!1;if(o&&(a=e.currentTarget&&e.currentTarget.dataset&&"wx"===e.currentTarget.dataset.comType,!n.length))return a?[e]:e.detail.__args__||e.detail;var s=Kt(t,r,e),u=[];return n.forEach(function(t){"$event"===t?"__set_model"!==i||o?o&&!a?u.push(e.detail.__args__[0]):u.push(e):u.push(e.target.value):Array.isArray(t)&&"o"===t[0]?u.push(qt(t)):"string"===typeof t&&m(s,t)?u.push(s[t]):u.push(t)}),u}var Zt="~",Yt="^";function te(t,e){return t===e||"regionchange"===e&&("begin"===t||"end"===t)}function ee(t){var e=this;t=Jt(t);var n=(t.currentTarget||t.target).dataset;if(!n)return console.warn("事件信息不存在");var r=n.eventOpts||n["event-opts"];if(!r)return console.warn("事件信息不存在");var o=t.type,i=[];return r.forEach(function(n){var r=n[0],a=n[1],s=r.charAt(0)===Yt;r=s?r.slice(1):r;var u=r.charAt(0)===Zt;r=u?r.slice(1):r,a&&te(o,r)&&a.forEach(function(n){var r=n[0];if(r){var o=e.$vm;o.$options.generic&&o.$parent&&o.$parent.$parent&&(o=o.$parent.$parent);var a=o[r];if(!y(a))throw new Error(" _vm.".concat(r," is not a function"));if(u){if(a.once)return;a.once=!0}i.push(a.apply(o,Qt(e.$vm,t,n[1],n[2],s,r)))}})}),"input"===o&&1===i.length&&"undefined"!==typeof i[0]?i[0]:void 0}var ne=["onShow","onHide","onError","onPageNotFound"];function re(t,e){var n=e.mocks,o=e.initRefs;r.default.prototype.mpHost="app-plus",r.default.mixin({beforeCreate:function(){this.$options.mpType&&(this.mpType=this.$options.mpType,this.$mp=c({data:{}},this.mpType,this.$options.mpInstance),this.$scope=this.$options.mpInstance,delete this.$options.mpType,delete this.$options.mpInstance,"app"!==this.mpType&&(o(this),Dt(this,n)))}});var i={onLaunch:function(e){this.$vm||(this.$vm=t,this.$vm.$mp={app:this},this.$vm.$scope=this,this.$vm._isMounted=!0,this.$vm.__call_hook("mounted",e),this.$vm.__call_hook("onLaunch",e))}};return i.globalData=t.$options.globalData||{},Mt(i,ne),i}var oe=["__route__","__wxExparserNodeId__","__wxWebviewId__"];function ie(t,e){var n=t.$children,r=n.find(function(t){return t.$scope._$vueId===e});if(r)return r;for(var o=n.length-1;o>=0;o--)if(r=ie(n[o],e),r)return r}function ae(t){return Behavior(t)}function se(){return!!this.route}function ue(t){this.triggerEvent("__l",t)}function ce(t){var e=t.$scope;Object.defineProperty(t,"$refs",{get:function(){var t={},n=e.selectAllComponents(".vue-ref");n.forEach(function(e){var n=e.dataset.ref;t[n]=e.$vm||e});var r=e.selectAllComponents(".vue-ref-in-for");return r.forEach(function(e){var n=e.dataset.ref;t[n]||(t[n]=[]),t[n].push(e.$vm||e)}),t}})}function fe(t){var e,n=t.detail||t.value,r=n.vuePid,o=n.vueOptions;r&&(e=ie(this.$vm,r)),e||(e=this.$vm),o.parent=e}function le(t){return re(t,{mocks:oe,initRefs:ce})}var pe=["onUniNViewMessage"];function he(t){var e=le(t);return Mt(e,pe),e}function de(t){return App(he(t)),t}function ve(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.isPage,o=e.initRelation,a=Bt(r.default,t),s=i(a,2),u=s[0],c=s[1],f={options:{multipleSlots:!0,addGlobalClass:!0},data:Ut(c,r.default.prototype),behaviors:Wt(c,ae),properties:Gt(c.props,!1,c.__file),lifetimes:{attached:function(){var t=this.properties,e={mpType:n.call(this)?"page":"component",mpInstance:this,propsData:t};Ft(t.vueId,this),o.call(this,{vuePid:this._$vuePid,vueOptions:e}),this.$vm=new u(e),Rt(this.$vm,t.vueSlots),this.$vm.$mount()},ready:function(){this.$vm&&(this.$vm._isMounted=!0,this.$vm.__call_hook("mounted"),this.$vm.__call_hook("onReady"))},detached:function(){this.$vm.$destroy()}},pageLifetimes:{show:function(t){this.$vm&&this.$vm.__call_hook("onPageShow",t)},hide:function(){this.$vm&&this.$vm.__call_hook("onPageHide")},resize:function(t){this.$vm&&this.$vm.__call_hook("onPageResize",t)}},methods:{__l:fe,__e:ee}};return n?f:[f,u]}function ye(t){return ve(t,{isPage:se,initRelation:ue})}function ge(t){var e=ye(t);return e.methods.$getAppWebview=function(){return plus.webview.getWebviewById("".concat(this.__wxWebviewId__))},e}var _e=["onShow","onHide","onUnload"];function me(t,e){e.isPage,e.initRelation;var n=ge(t);return Mt(n.methods,_e,t),n.methods.onLoad=function(t){this.$vm.$mp.query=t,this.$vm.__call_hook("onLoad",t)},n}function be(t){return me(t,{isPage:se,initRelation:ue})}_e.push.apply(_e,Nt);var we=["onBackPress","onNavigationBarButtonTap","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked"];function $e(t){var e=be(t);return Mt(e.methods,we),e}function Ae(t){return Component($e(t))}function Oe(t){return Component(ge(t))}st.forEach(function(t){at[t]=!1}),ut.forEach(function(t){var e=at[t]&&at[t].name?at[t].name:t;wx.canIUse(e)||(at[t]=!1)});var ke={};Object.keys(it).forEach(function(t){ke[t]=it[t]}),Object.keys(At).forEach(function(t){ke[t]=At[t]}),Object.keys(Pt).forEach(function(t){ke[t]=q(t,Pt[t])}),Object.keys(wx).forEach(function(t){(m(wx,t)||m(at,t))&&(ke[t]=q(t,ht(t,wx[t])))}),"undefined"!==typeof t&&(t.uni=ke,t.UniEmitter=At),wx.createApp=de,wx.createPage=Ae,wx.createComponent=Oe;var xe=ke,Pe=xe;e.default=Pe}).call(this,n("c8ba"))},"6eed":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={};(function(){function e(t){var e,n,r;return t<128?[t]:t<2048?(e=192+(t>>6),n=128+(63&t),[e,n]):(e=224+(t>>12),n=128+(t>>6&63),r=128+(63&t),[e,n,r])}function r(t){for(var n=[],r=0;r<t.length;r++)for(var o=t.charCodeAt(r),i=e(o),a=0;a<i.length;a++)n.push(i[a]);return n}function o(t,e){this.typeNumber=-1,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.rsBlocks=null,this.totalDataCount=-1,this.data=t,this.utf8bytes=r(t),this.make()}o.prototype={constructor:o,getModuleCount:function(){return this.moduleCount},make:function(){this.getRightType(),this.dataCache=this.createData(),this.createQrcode()},makeImpl:function(t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var e=0;e<this.moduleCount;e++)this.modules[e]=new Array(this.moduleCount);this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(!0,t),this.typeNumber>=7&&this.setupTypeNumber(!0),this.mapData(this.dataCache,t)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var r=-1;r<=7;r++)e+r<=-1||this.moduleCount<=e+r||(this.modules[t+n][e+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},createQrcode:function(){for(var t=0,e=0,n=null,r=0;r<8;r++){this.makeImpl(r);var o=s.getLostPoint(this);(0==r||t>o)&&(t=o,e=r,n=this.modules)}this.modules=n,this.setupTypeInfo(!1,e),this.typeNumber>=7&&this.setupTypeNumber(!1)},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0,null==this.modules[6][t]&&(this.modules[6][t]=t%2==0))},setupPositionAdjustPattern:function(){for(var t=s.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var n=0;n<t.length;n++){var r=t[e],o=t[n];if(null==this.modules[r][o])for(var i=-2;i<=2;i++)for(var a=-2;a<=2;a++)this.modules[r+i][o+a]=-2==i||2==i||-2==a||2==a||0==i&&0==a}},setupTypeNumber:function(t){for(var e=s.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!t&&1==(e>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r,this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},setupTypeInfo:function(t,e){for(var n=i[this.errorCorrectLevel]<<3|e,r=s.getBCHTypeInfo(n),o=0;o<15;o++){var a=!t&&1==(r>>o&1);o<6?this.modules[o][8]=a:o<8?this.modules[o+1][8]=a:this.modules[this.moduleCount-15+o][8]=a;a=!t&&1==(r>>o&1);o<8?this.modules[8][this.moduleCount-o-1]=a:o<9?this.modules[8][15-o-1+1]=a:this.modules[8][15-o-1]=a}this.modules[this.moduleCount-8][8]=!t},createData:function(){var t=new p,e=this.typeNumber>9?16:8;t.put(4,4),t.put(this.utf8bytes.length,e);for(var n=0,r=this.utf8bytes.length;n<r;n++)t.put(this.utf8bytes[n],8);t.length+4<=8*this.totalDataCount&&t.put(0,4);while(t.length%8!=0)t.putBit(!1);while(1){if(t.length>=8*this.totalDataCount)break;if(t.put(o.PAD0,8),t.length>=8*this.totalDataCount)break;t.put(o.PAD1,8)}return this.createBytes(t)},createBytes:function(t){for(var e=0,n=0,r=0,o=this.rsBlock.length/3,i=new Array,a=0;a<o;a++)for(var u=this.rsBlock[3*a+0],c=this.rsBlock[3*a+1],l=this.rsBlock[3*a+2],p=0;p<u;p++)i.push([l,c]);for(var h=new Array(i.length),d=new Array(i.length),v=0;v<i.length;v++){var y=i[v][0],g=i[v][1]-y;n=Math.max(n,y),r=Math.max(r,g),h[v]=new Array(y);for(a=0;a<h[v].length;a++)h[v][a]=255&t.buffer[a+e];e+=y;var _=s.getErrorCorrectPolynomial(g),m=new f(h[v],_.getLength()-1),b=m.mod(_);d[v]=new Array(_.getLength()-1);for(a=0;a<d[v].length;a++){var w=a+b.getLength()-d[v].length;d[v][a]=w>=0?b.get(w):0}}var $=new Array(this.totalDataCount),A=0;for(a=0;a<n;a++)for(v=0;v<i.length;v++)a<h[v].length&&($[A++]=h[v][a]);for(a=0;a<r;a++)for(v=0;v<i.length;v++)a<d[v].length&&($[A++]=d[v][a]);return $},mapData:function(t,e){for(var n=-1,r=this.moduleCount-1,o=7,i=0,a=this.moduleCount-1;a>0;a-=2){6==a&&a--;while(1){for(var u=0;u<2;u++)if(null==this.modules[r][a-u]){var c=!1;i<t.length&&(c=1==(t[i]>>>o&1));var f=s.getMask(e,r,a-u);f&&(c=!c),this.modules[r][a-u]=c,o--,-1==o&&(i++,o=7)}if(r+=n,r<0||this.moduleCount<=r){r-=n,n=-n;break}}}}},o.PAD0=236,o.PAD1=17;for(var i=[1,0,3,2],a={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},s={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){var e=t<<10;while(s.getBCHDigit(e)-s.getBCHDigit(s.G15)>=0)e^=s.G15<<s.getBCHDigit(e)-s.getBCHDigit(s.G15);return(t<<10|e)^s.G15_MASK},getBCHTypeNumber:function(t){var e=t<<12;while(s.getBCHDigit(e)-s.getBCHDigit(s.G18)>=0)e^=s.G18<<s.getBCHDigit(e)-s.getBCHDigit(s.G18);return t<<12|e},getBCHDigit:function(t){var e=0;while(0!=t)e++,t>>>=1;return e},getPatternPosition:function(t){return s.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case a.PATTERN000:return(e+n)%2==0;case a.PATTERN001:return e%2==0;case a.PATTERN010:return n%3==0;case a.PATTERN011:return(e+n)%3==0;case a.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case a.PATTERN101:return e*n%2+e*n%3==0;case a.PATTERN110:return(e*n%2+e*n%3)%2==0;case a.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new f([1],0),n=0;n<t;n++)e=e.multiply(new f([1,u.gexp(n)],0));return e},getLostPoint:function(t){for(var e=t.getModuleCount(),n=0,r=0,o=0;o<e;o++)for(var i=0,a=t.modules[o][0],s=0;s<e;s++){var u=t.modules[o][s];if(s<e-6&&u&&!t.modules[o][s+1]&&t.modules[o][s+2]&&t.modules[o][s+3]&&t.modules[o][s+4]&&!t.modules[o][s+5]&&t.modules[o][s+6]&&(s<e-10?t.modules[o][s+7]&&t.modules[o][s+8]&&t.modules[o][s+9]&&t.modules[o][s+10]&&(n+=40):s>3&&t.modules[o][s-1]&&t.modules[o][s-2]&&t.modules[o][s-3]&&t.modules[o][s-4]&&(n+=40)),o<e-1&&s<e-1){var c=0;u&&c++,t.modules[o+1][s]&&c++,t.modules[o][s+1]&&c++,t.modules[o+1][s+1]&&c++,0!=c&&4!=c||(n+=3)}a^u?i++:(a=u,i>=5&&(n+=3+i-5),i=1),u&&r++}for(s=0;s<e;s++)for(i=0,a=t.modules[0][s],o=0;o<e;o++){u=t.modules[o][s];o<e-6&&u&&!t.modules[o+1][s]&&t.modules[o+2][s]&&t.modules[o+3][s]&&t.modules[o+4][s]&&!t.modules[o+5][s]&&t.modules[o+6][s]&&(o<e-10?t.modules[o+7][s]&&t.modules[o+8][s]&&t.modules[o+9][s]&&t.modules[o+10][s]&&(n+=40):o>3&&t.modules[o-1][s]&&t.modules[o-2][s]&&t.modules[o-3][s]&&t.modules[o-4][s]&&(n+=40)),a^u?i++:(a=u,i>=5&&(n+=3+i-5),i=1)}var f=Math.abs(100*r/e/e-50)/5;return n+=10*f,n}},u={glog:function(t){if(t<1)throw new Error("glog("+t+")");return u.LOG_TABLE[t]},gexp:function(t){while(t<0)t+=255;while(t>=256)t-=255;return u.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},c=0;c<8;c++)u.EXP_TABLE[c]=1<<c;for(c=8;c<256;c++)u.EXP_TABLE[c]=u.EXP_TABLE[c-4]^u.EXP_TABLE[c-5]^u.EXP_TABLE[c-6]^u.EXP_TABLE[c-8];for(c=0;c<255;c++)u.LOG_TABLE[u.EXP_TABLE[c]]=c;function f(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);var n=0;while(n<t.length&&0==t[n])n++;this.num=new Array(t.length-n+e);for(var r=0;r<t.length-n;r++)this.num[r]=t[r+n]}f.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),n=0;n<this.getLength();n++)for(var r=0;r<t.getLength();r++)e[n+r]^=u.gexp(u.glog(this.get(n))+u.glog(t.get(r)));return new f(e,0)},mod:function(t){var e=this.getLength(),n=t.getLength();if(e-n<0)return this;for(var r=new Array(e),o=0;o<e;o++)r[o]=this.get(o);while(r.length>=n){var i=u.glog(r[0])-u.glog(t.get(0));for(o=0;o<t.getLength();o++)r[o]^=u.gexp(u.glog(t.get(o))+i);while(0==r[0])r.shift()}return new f(r,0)}};var l=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];function p(){this.buffer=new Array,this.length=0}o.prototype.getRightType=function(){for(var t=1;t<41;t++){var e=l[4*(t-1)+this.errorCorrectLevel];if(void 0==e)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+this.errorCorrectLevel);for(var n=e.length/3,r=0,o=0;o<n;o++){var i=e[3*o+0],a=e[3*o+2];r+=a*i}var s=t>9?2:1;if(this.utf8bytes.length+s<r||40==t){this.typeNumber=t,this.rsBlock=e,this.totalDataCount=r;break}}},p.prototype={get:function(t){var e=Math.floor(t/8);return this.buffer[e]>>>7-t%8&1},put:function(t,e){for(var n=0;n<e;n++)this.putBit(t>>>e-n-1&1)},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var h=[];n=function(e){if(this.options={text:"",size:256,correctLevel:3,background:"#ffffff",foreground:"#000000",pdground:"#000000",image:"",imageSize:30,canvasId:"_myQrCodeCanvas",context:e.context,usingComponents:e.usingComponents,showLoading:e.showLoading,loadingText:e.loadingText},"string"===typeof e&&(e={text:e}),e)for(var n in e)this.options[n]=e[n];for(var r=null,i=(n=0,h.length);n<i;n++)if(h[n].text==this.options.text&&h[n].text.correctLevel==this.options.correctLevel){r=h[n].obj;break}n==i&&(r=new o(this.options.text,this.options.correctLevel),h.push({text:this.options.text,correctLevel:this.options.correctLevel,obj:r}));var a=function(t){var e=t.options;return e.pdground&&(t.row>1&&t.row<5&&t.col>1&&t.col<5||t.row>t.count-6&&t.row<t.count-2&&t.col>1&&t.col<5||t.row>1&&t.row<5&&t.col>t.count-6&&t.col<t.count-2)?e.pdground:e.foreground},s=function(e){e.showLoading&&t.showLoading({title:e.loadingText,mask:!0});for(var n=t.createCanvasContext(e.canvasId,e.context),o=r.getModuleCount(),i=e.size,s=e.imageSize,c=(i/o).toPrecision(4),f=(i/o).toPrecision(4),l=0;l<o;l++)for(var p=0;p<o;p++){var h=Math.ceil((p+1)*c)-Math.floor(p*c),d=Math.ceil((l+1)*c)-Math.floor(l*c),v=a({row:l,col:p,count:o,options:e});n.setFillStyle(r.modules[l][p]?v:e.background),n.fillRect(Math.round(p*c),Math.round(l*f),h,d)}if(e.image){var y=function(t,n,r,o,i,a,s,u,c){t.setLineWidth(s),t.setFillStyle(e.background),t.setStrokeStyle(e.background),t.beginPath(),t.moveTo(n+a,r),t.arcTo(n+o,r,n+o,r+a,a),t.arcTo(n+o,r+i,n+o-a,r+i,a),t.arcTo(n,r+i,n,r+i-a,a),t.arcTo(n,r,n+a,r,a),t.closePath(),u&&t.fill(),c&&t.stroke()},g=Number(((i-s)/2).toFixed(2)),_=Number(((i-s)/2).toFixed(2));y(n,g,_,s,s,2,6,!0,!0),n.drawImage(e.image,g,_,s,s)}setTimeout(function(){n.draw(!0,function(){setTimeout(function(){t.canvasToTempFilePath({width:e.width,height:e.height,destWidth:e.width,destHeight:e.height,canvasId:e.canvasId,quality:Number(1),success:function(t){e.cbResult&&(u(t.tempFilePath)?u(t.apFilePath)?e.cbResult(t.tempFilePath):e.cbResult(t.apFilePath):e.cbResult(t.tempFilePath))},fail:function(t){e.cbResult&&e.cbResult(t)},complete:function(){t.hideLoading()}},e.context)},e.text.length+100)})},e.usingComponents?0:150)};s(this.options);var u=function(t){var e=typeof t,n=!1;return"number"==e&&""==String(t)?n=!0:"undefined"==e?n=!0:"object"==e?"{}"!=JSON.stringify(t)&&"[]"!=JSON.stringify(t)&&null!=t||(n=!0):"string"==e?""!=t&&"undefined"!=t&&"null"!=t&&"{}"!=t&&"[]"!=t||(n=!0):"function"==e&&(n=!1),n}},n.prototype.clear=function(e){var n=t.createCanvasContext(this.options.canvasId,this.options.context);n.clearRect(0,0,this.options.size,this.options.size),n.draw(!1,function(){e&&e()})}})();var r=n;e.default=r}).call(this,n("6e42")["default"])},"71c0":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createUUID=void 0;var r=function(t){return"xxxxxxxx-xxxx-xxxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0,n="x"==t?e:3&e|8;return n.toString(16)})};e.createUUID=r},"74cf":function(t,e,n){"use strict";(function(t){n("ac1c");var e=o(n("66fd")),r=o(n("9bd1"));function o(t){return t&&t.__esModule?t:{default:t}}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){a(t,e,n[e])})}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.default.config.productionTip=!1,r.default.mpType="app";var s=new e.default(i({},r.default));t(s).$mount()}).call(this,n("6e42")["createApp"])},"9bdb":function(t,e,n){"use strict";(function(t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function r(e){var r=this;t.connectSocket({url:"wss://kd.biutag.com:9903/ukeerWechatWebsocketServer.action"}),t.onSocketOpen(function(e){t.hideLoading(),t.showToast({title:"网络已连接",duration:2e3});var r=t.getStorageSync("openId");void 0!=r&&""!=r||(r="not found"),console.log(n("WebSocket连接已打开!"," at utils/weSocket.js:21")),!0}),t.onSocketError(function(t){console.log(n("WebSocket连接打开失败,请检查!"," at utils/weSocket.js:26"))}),t.onSocketClose(function(o){t.showLoading({title:"网络断开,重连中...",mask:!0}),t.closeSocket(),console.log(n("WebSocket 已关闭!重连中..."," at utils/weSocket.js:35")),Itime=setTimeout(function(){r.getWebSocket(e)},2e3)}),t.onSocketMessage(function(t){console.log(n(t," at utils/weSocket.js:42"));var r=JSON.parse(t.data);if("id"==r.message)e.VXCode("https://kd.biutag.com:9903/weChat/menu/"+r.data);else if("login"==r.message&&"success"==r.data.state){console.log(n(r," at utils/weSocket.js:49"));r.data.openId;e.loginPage(r.data)}})}var o={getWebSocket:r};e.default=o}).call(this,n("6e42")["default"],n("0de9")["default"])},a27f:function(t,e,n){t.exports=n.p+"static/img/yuansuright.a0a9e5ed.png"},a4ea:function(t,e,n){"use strict";(function(t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function r(e){var r=this;t.connectSocket({url:"wss://kd.biutag.com:9903/ukeerWechatWebsocketServer.action"}),t.onSocketOpen(function(e){t.hideLoading(),t.showToast({title:"网络已连接",duration:2e3});var r=t.getStorageSync("openId");void 0!=r&&""!=r||(r="not found"),t.sendSocketMessage({data:'{ "openId": "'+r+'", "state": "menu" }'}),setInterval(function(){console.log(n("heard"," at utils/weSocket1.js:26")),t.sendSocketMessage({data:'{ "my": "huozhe", "state": "heard" }'})},2e4),console.log(n("WebSocket连接已打开!"," at utils/weSocket1.js:31")),!0}),t.onSocketError(function(t){console.log(n("WebSocket连接打开失败,请检查!"," at utils/weSocket1.js:36"))}),t.onSocketClose(function(o){t.showLoading({title:"网络断开,重连中...",mask:!0}),t.closeSocket(),console.log(n("WebSocket 已关闭!重连中..."," at utils/weSocket1.js:45")),Itime=setTimeout(function(){r.getWebSocket(e)},2e3)}),t.onSocketMessage(function(r){console.log(n(r," at utils/weSocket1.js:52"));var o=JSON.parse(r.data);"pay"==o.message&&("start"==o.data?e.getWxCode("https://kd.biutag.com:9903/user/weChat_or_ali/"+t.getStorageSync("openId")):"end"==o.data&&e.getWxCode())})}var o={getWebSocket:r};e.default=o}).call(this,n("6e42")["default"],n("0de9")["default"])},ac1c:function(t,e,n){},bead:function(t,e,n){"use strict";(function(t){function n(e,n,r){arguments.length>3&&void 0!==arguments[3]&&arguments[3];var o=arguments.length>4?arguments[4]:void 0,i="https://kd.biutag.com:9903";switch(o){case"json":"application/json";break;case"form":"application/x-www-form-urlencoded";break;case"other":break}return new Promise(function(o,a){t.showLoading({title:"加载中",mask:!0}),t.request({url:i+e,method:n,data:r,header:{"Access-Control-Allow-Origin":"http://localhost:8000"},success:function(e){t.hideLoading(),o(e.data)},fail:function(e){t.hideLoading(),t.showToast({title:"网络错误",icon:"none"}),o(e)},complete:function(){t.hideLoading()}})})}function r(t){return n(t.url,"GET",t.data,{},t.type)}function o(t){return n(t.url,"POST",t.data,{},t.type)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={request:n,get:r,post:o};e.default=i}).call(this,n("6e42")["default"])},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},dcd5:function(t,e,n){"use strict";(function(t){n("ac1c");r(n("66fd"));var e=r(n("0efd"));function r(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("6e42")["createPage"])},ec00:function(t,e,n){"use strict";(function(t){n("ac1c");r(n("66fd"));var e=r(n("d628"));function r(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("6e42")["createPage"])}}]); |
|
}); |
|
|
|
define('app.js',function(require, module, exports, window, document, frames, self, location, navigator, localStorage, history, Caches, screen, alert, confirm, prompt, fetch, XMLHttpRequest, WebSocket, webkit, WeixinJSCore, Reporter, print, WeixinJSBridge){ |
|
|
|
require('./common/runtime.js') |
|
require('./common/vendor.js') |
|
require('./common/main.js') |
|
}); |
|
require('app.js'); |
|
|
|
__wxRoute = 'node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode';__wxRouteBegin = true;__wxAppCurrentFile__ = 'node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode.js'; |
|
|
|
define('node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode.js',function(require, module, exports, window, document, frames, self, location, navigator, localStorage, history, Caches, screen, alert, confirm, prompt, fetch, XMLHttpRequest, WebSocket, webkit, WeixinJSCore, Reporter, print, WeixinJSBridge){ |
|
"use strict"; |
|
|
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode"], { |
|
"225f": function f(t, e, n) { |
|
"use strict"; |
|
|
|
(function (t) { |
|
Object.defineProperty(e, "__esModule", { |
|
value: !0 |
|
}), e.default = void 0; |
|
var o, |
|
i = u(n("6eed")); |
|
|
|
function u(t) { |
|
return t && t.__esModule ? t : { |
|
default: t |
|
}; |
|
} |
|
|
|
var a = { |
|
name: "tki-qrcode", |
|
props: { |
|
size: { |
|
type: Number, |
|
default: 200 |
|
}, |
|
unit: { |
|
type: String, |
|
default: "upx" |
|
}, |
|
show: { |
|
type: Boolean, |
|
default: !0 |
|
}, |
|
val: { |
|
type: String, |
|
default: "" |
|
}, |
|
background: { |
|
type: String, |
|
default: "#ffffff" |
|
}, |
|
foreground: { |
|
type: String, |
|
default: "#000000" |
|
}, |
|
pdground: { |
|
type: String, |
|
default: "#000000" |
|
}, |
|
icon: { |
|
type: String, |
|
default: "" |
|
}, |
|
iconSize: { |
|
type: Number, |
|
default: 40 |
|
}, |
|
lv: { |
|
type: Number, |
|
default: 3 |
|
}, |
|
onval: { |
|
type: Boolean, |
|
default: !1 |
|
}, |
|
loadMake: { |
|
type: Boolean, |
|
default: !1 |
|
}, |
|
usingComponents: { |
|
type: Boolean, |
|
default: !0 |
|
}, |
|
showLoading: { |
|
type: Boolean, |
|
default: !0 |
|
}, |
|
loadingText: { |
|
type: String, |
|
default: "二维码生成中" |
|
} |
|
}, |
|
data: function data() { |
|
return { |
|
result: "" |
|
}; |
|
}, |
|
methods: { |
|
_makeCode: function _makeCode() { |
|
var e = this; |
|
this._empty(this.val) ? t.showToast({ |
|
title: "二维码内容不能为空", |
|
icon: "none", |
|
duration: 2e3 |
|
}) : o = new i.default({ |
|
context: e, |
|
usingComponents: e.usingComponents, |
|
showLoading: e.showLoading, |
|
loadingText: e.loadingText, |
|
text: e.val, |
|
size: e.cpSize, |
|
background: e.background, |
|
foreground: e.foreground, |
|
pdground: e.pdground, |
|
correctLevel: e.lv, |
|
image: e.icon, |
|
imageSize: e.iconSize, |
|
cbResult: function cbResult(t) { |
|
e._result(t); |
|
} |
|
}); |
|
}, |
|
_clearCode: function _clearCode() { |
|
this._result(""), o.clear(); |
|
}, |
|
_saveCode: function _saveCode() { |
|
var e = this; |
|
"" != this.result && t.saveImageToPhotosAlbum({ |
|
filePath: e.result, |
|
success: function success() { |
|
t.showToast({ |
|
title: "二维码保存成功", |
|
icon: "success", |
|
duration: 2e3 |
|
}); |
|
} |
|
}); |
|
}, |
|
_result: function _result(t) { |
|
this.result = t, this.$emit("result", t); |
|
}, |
|
_empty: function _empty(t) { |
|
var e = typeof t, |
|
n = !1; |
|
return "number" == e && "" == String(t) ? n = !0 : "undefined" == e ? n = !0 : "object" == e ? "{}" != JSON.stringify(t) && "[]" != JSON.stringify(t) && null != t || (n = !0) : "string" == e ? "" != t && "undefined" != t && "null" != t && "{}" != t && "[]" != t || (n = !0) : "function" == e && (n = !1), n; |
|
} |
|
}, |
|
watch: { |
|
size: function size(t, e) { |
|
var n = this; |
|
t == e || this._empty(t) || (this.cSize = t, this._empty(this.val) || setTimeout(function () { |
|
n._makeCode(); |
|
}, 100)); |
|
}, |
|
val: function val(t, e) { |
|
var n = this; |
|
this.onval && (t == e || this._empty(t) || setTimeout(function () { |
|
n._makeCode(); |
|
}, 0)); |
|
} |
|
}, |
|
computed: { |
|
cpSize: function cpSize() { |
|
return "upx" == this.unit ? t.upx2px(this.size) : this.size; |
|
} |
|
}, |
|
mounted: function mounted() { |
|
var t = this; |
|
this.loadMake && (this._empty(this.val) || setTimeout(function () { |
|
t._makeCode(); |
|
}, 0)); |
|
} |
|
}; |
|
e.default = a; |
|
}).call(this, n("6e42")["default"]); |
|
}, |
|
"6e82": function e82(t, e, n) { |
|
"use strict"; |
|
|
|
n.r(e); |
|
var o = n("c2e0"), |
|
i = n("b041"); |
|
|
|
for (var u in i) { |
|
"default" !== u && function (t) { |
|
n.d(e, t, function () { |
|
return i[t]; |
|
}); |
|
}(u); |
|
} |
|
|
|
n("874a"); |
|
var a = n("2877"), |
|
r = Object(a["a"])(i["default"], o["a"], o["b"], !1, null, null, null); |
|
e["default"] = r.exports; |
|
}, |
|
"85b7": function b7(t, e, n) {}, |
|
"874a": function a(t, e, n) { |
|
"use strict"; |
|
|
|
var o = n("85b7"), |
|
i = n.n(o); |
|
i.a; |
|
}, |
|
b041: function b041(t, e, n) { |
|
"use strict"; |
|
|
|
n.r(e); |
|
var o = n("225f"), |
|
i = n.n(o); |
|
|
|
for (var u in o) { |
|
"default" !== u && function (t) { |
|
n.d(e, t, function () { |
|
return o[t]; |
|
}); |
|
}(u); |
|
} |
|
|
|
e["default"] = i.a; |
|
}, |
|
c2e0: function c2e0(t, e, n) { |
|
"use strict"; |
|
|
|
var o = function o() { |
|
var t = this, |
|
e = t.$createElement; |
|
t._self._c; |
|
}, |
|
i = []; |
|
|
|
n.d(e, "a", function () { |
|
return o; |
|
}), n.d(e, "b", function () { |
|
return i; |
|
}); |
|
} |
|
}]); |
|
; |
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push(['node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode-create-component', { |
|
'node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode-create-component': function nodeModulesTkiQrcodeComponentsTkiQrcodeTkiQrcodeCreateComponent(module, exports, __webpack_require__) { |
|
__webpack_require__('6e42')['createComponent'](__webpack_require__("6e82")); |
|
} |
|
}, [['node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode-create-component']]]); |
|
}); |
|
require('node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode.js'); |
|
|
|
__wxRoute = 'pages/confirm-code/confirm-code';__wxRouteBegin = true;__wxAppCurrentFile__ = 'pages/confirm-code/confirm-code.js'; |
|
|
|
define('pages/confirm-code/confirm-code.js',function(require, module, exports, window, document, frames, self, location, navigator, localStorage, history, Caches, screen, alert, confirm, prompt, fetch, XMLHttpRequest, WebSocket, webkit, WeixinJSCore, Reporter, print, WeixinJSBridge){ |
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/confirm-code/confirm-code"],{"0efd":function(e,t,n){"use strict";n.r(t);var o=n("456f"),r=n("6118");for(var c in r)"default"!==c&&function(e){n.d(t,e,function(){return r[e]})}(c);n("246d");var u=n("2877"),i=Object(u["a"])(r["default"],o["a"],o["b"],!1,null,null,null);t["default"]=i.exports},"246d":function(e,t,n){"use strict";var o=n("7a69"),r=n.n(o);r.a},"421a":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n("71c0");var o=u(n("596e")),r=c(n("9bdb"));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};o.get||o.set?Object.defineProperty(t,n,o):t[n]=e[n]}return t.default=e,t}var i=function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode")]).then(n.bind(null,"6e82"))},a={components:{tkiQrcode:i},data:function(){return{val:"https://u.wechat.com/MGCFEPwjKx0ZXPaED6LSwB4",showCode:!1,socketMsgQueue:""}},onLoad:function(){this.checkLogin()},onShow:function(){},methods:{checkLogin:function(){var t=this;o.checkLogin().then(function(n){"success"==n.message?e.redirectTo({url:"/pages/store-commodity/store-commodity"}):(t.showCode=!0,t.getWebSocketRes())})},VXCode:function(t){this.showCode=!0,this.val=t,e.setStorageSync("id",t)},loginPage:function(t){e.setStorageSync("openId",t.openId),e.redirectTo({url:"/pages/menu/menu?id="+t.menuId})},getWebSocketRes:function(){var t=r.default.getWebSocket(this);e.setStorageSync("socket",t)}}};t.default=a}).call(this,n("6e42")["default"])},"456f":function(e,t,n){"use strict";var o=function(){var e=this,t=e.$createElement;e._self._c},r=[];n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r})},6118:function(e,t,n){"use strict";n.r(t);var o=n("421a"),r=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,function(){return o[e]})}(c);t["default"]=r.a},"7a69":function(e,t,n){}},[["dcd5","common/runtime","common/vendor"]]]); |
|
}); |
|
require('pages/confirm-code/confirm-code.js'); |
|
__wxRoute = 'pages/store-commodity/store-commodity';__wxRouteBegin = true;__wxAppCurrentFile__ = 'pages/store-commodity/store-commodity.js'; |
|
|
|
define('pages/store-commodity/store-commodity.js',function(require, module, exports, window, document, frames, self, location, navigator, localStorage, history, Caches, screen, alert, confirm, prompt, fetch, XMLHttpRequest, WebSocket, webkit, WeixinJSCore, Reporter, print, WeixinJSBridge){ |
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/store-commodity/store-commodity"],{"1d13":function(n,e,o){},2788:function(n,e,o){"use strict";var t=o("1d13"),a=o.n(t);a.a},"357d":function(n,e,o){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(o("05a7")),a=r(o("a27f")),i=r(o("a4ea")),m=c(o("596e"));function c(n){if(n&&n.__esModule)return n;var e={};if(null!=n)for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var t=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(n,o):{};t.get||t.set?Object.defineProperty(e,o,t):e[o]=n[o]}return e.default=n,e}function r(n){return n&&n.__esModule?n:{default:n}}var s=function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode")]).then(o.bind(null,"6e82"))},u={components:{tkiQrcode:s},data:function(){return{storeId:"100001",menuHtml:"",bgLeft:t.default,bgRight:a.default,ifShow:!0,val:"https://u.wechat.com/MGCFEPwjKx0ZXPaED6LSwB4",size:100,unit:"upx",onval:!0,loadMake:!0,src:"",code:"",wxcode:"",wxtitle:"扫码付款",teaList:[{name:"正山小种(红茶)",nameEn:"Black tea",money:"¥20.00",showNew:"",animation:""},{name:"南迫冰岛普洱(生茶)",nameEn:"Puer tea",money:"¥29.99",showNew:!0,animation:""},{name:"大红袍",nameEn:"Wuyi oolong tea",money:"¥29.99",showNew:!0,animation:""},{name:"雨前龙井(绿茶)",nameEn:"Green tea",money:"¥25.99",showNew:"",animation:""},{name:"冻顶(乌龙茶)",nameEn:"Dongding oolong tea",money:"¥25.99",showNew:"",animation:""},{name:"茉莉花茶",nameEn:"Jasmine tea",money:"¥25.99",showNew:!0,animation:""},{name:"荔枝红茶",nameEn:"Lychee",money:"25.99",showNew:"",animation:""},{name:"玫瑰花红茶/冷萃",nameEn:"Rose black tea",money:"¥25.99/19.99",showNew:!1,animation:""},{name:"蜜桃乌龙茶/冷萃",nameEn:"Peach oolong tea",money:"¥25.99/19.99",showNew:"",animation:""},{name:"桂花乌龙茶",nameEn:"Osmanthus oolong tea",money:"¥25.99",showNew:"",animation:""},{name:"苹果乌龙茶",nameEn:"Apple oolong tea",money:"¥29.99",showNew:"",animation:""},{name:"鲜牛奶",nameEn:"Fresh Milk",money:"¥15.99",showNew:"",animation:""},{name:"巴旦木/混合坚果",nameEn:"Almond/Mixed nuts",money:"¥25.99",showNew:"",animation:""}],coffeeList:[{name:"猿子弹咖啡(冰/热)",nameEn:"Apesos coffee(lced/Hot)",money:"¥25.99",animation:""},{name:"热防弹咖啡",nameEn:"Hot bulletproof coffee",money:"¥25.99",animation:""},{name:"爱尔兰冰猿",nameEn:"lrish coffee",money:"¥49.99",animation:""},{name:"美式(冰/热)",nameEn:"A mericano(lced/Hot)",money:"¥19.99",animation:""},{name:"卡布奇诺(热)",nameEn:"Cappucino(Hot)",money:"¥29.99",animation:""},{name:"澳白(热)",nameEn:"Flat white(Hot)",money:"¥29.99",animation:""},{name:"浓缩Espresso",nameEn:"",money:"",animation:""},{name:"(Double)(Single)",nameEn:"",money:"¥15.99/19.99",animation:""},{name:"手冲咖啡",nameEn:"Pour-over coffee",money:"¥39.99",animation:""},{name:"拿铁(冰/热)",nameEn:"Latte(Lced/Hot)",money:"¥29.99",animation:""}],hotList:[{name:"正山小种(红茶)",nameEn:"Black tea",money:"20.00"},{name:"猿子弹咖啡(冰/热)",nameEn:"Apesos coffee(lced/Hot)",money:"25.99"},{name:"澳白(热)",nameEn:"Flat white(Hot)",money:"29.99"}]}},mounted:function(){this.getWxCode()},onLoad:function(){this.getWxCode(),i.default.getWebSocket(this)},onShow:function(){},methods:{loadMenu:function(){var e=this,o={storeId:this.storeId};m.showStoreMenu(o).then(function(o){0==o.code?e.menuHtml=o.data.commodityMenuHtml:n.showToast({title:"菜单获取失败",icon:"none"})})},qrR:function(n){this.wxcode=n},getWxCode:function(n){void 0==n?(this.val="https://u.wechat.com/MGCFEPwjKx0ZXPaED6LSwB4",this.wxtitle="扫码进群"):(this.val=n,this.wxtitle="扫码付款")},testAlertAn:function(){this.teaList[5].animation="animation-font"},VXCode:function(e){n.setStorageSync("id",e)}}};e.default=u}).call(this,o("6e42")["default"])},"8f39":function(n,e,o){"use strict";o.r(e);var t=o("357d"),a=o.n(t);for(var i in t)"default"!==i&&function(n){o.d(e,n,function(){return t[n]})}(i);e["default"]=a.a},"97a0":function(n,e,o){"use strict";var t=function(){var n=this,e=n.$createElement;n._self._c},a=[];o.d(e,"a",function(){return t}),o.d(e,"b",function(){return a})},db8a:function(n,e,o){"use strict";o.r(e);var t=o("97a0"),a=o("8f39");for(var i in a)"default"!==i&&function(n){o.d(e,n,function(){return a[n]})}(i);o("2788");var m=o("2877"),c=Object(m["a"])(a["default"],t["a"],t["b"],!1,null,null,null);e["default"]=c.exports}},[["0c0a","common/runtime","common/vendor"]]]); |
|
}); |
|
require('pages/store-commodity/store-commodity.js'); |
|
__wxRoute = 'pages/menu/menu';__wxRouteBegin = true;__wxAppCurrentFile__ = 'pages/menu/menu.js'; |
|
|
|
define('pages/menu/menu.js',function(require, module, exports, window, document, frames, self, location, navigator, localStorage, history, Caches, screen, alert, confirm, prompt, fetch, XMLHttpRequest, WebSocket, webkit, WeixinJSCore, Reporter, print, WeixinJSBridge){ |
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/menu/menu"],{7889:function(e,t,i){"use strict";var a=function(){var e=this,t=e.$createElement;e._self._c},l=[];i.d(t,"a",function(){return a}),i.d(t,"b",function(){return l})},"97a9":function(e,t,i){"use strict";i.r(t);var a=i("dfa8"),l=i.n(a);for(var o in a)"default"!==o&&function(e){i.d(t,e,function(){return a[e]})}(o);t["default"]=l.a},c7f2:function(e,t,i){},d628:function(e,t,i){"use strict";i.r(t);var a=i("7889"),l=i("97a9");for(var o in l)"default"!==o&&function(e){i.d(t,e,function(){return l[e]})}(o);i("f596");var n=i("2877"),r=Object(n["a"])(l["default"],a["a"],a["b"],!1,null,null,null);t["default"]=r.exports},dfa8:function(e,t,i){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i("596e"),l=o(i("a4ea"));function o(e){return e&&e.__esModule?e:{default:e}}var n=function(){return Promise.all([i.e("common/vendor"),i.e("node-modules/tki-qrcode/components/tki-qrcode/tki-qrcode")]).then(i.bind(null,"6e82"))},r="https://fsb.biutag.com:9900/ukeer-pc",d=(document.body.clientWidth,{components:{tkiQrcode:n},data:function(){return{id:"6fdfec14-8a86-4ae5-9c3a-8a098fe08726",baseUrl:"https://fsb.biutag.com:9900/ukeer-pc",template:{templateId:"",name:"",imageBg:"",imageReal:"",realWidth:0,realHeight:0,scaleWidth:450,scaleHeight:600,scale:0,bl:""},ifShow:!0,items:[],val:"",size:100,unit:"upx",onval:!0,loadMake:!0,src:"",wxcode:void 0,codeObj:[]}},mounted:function(){},onLoad:function(e){this.id=e.id,this.bl=this.template.scaleWidth/750,this.getTemplate(),l.default.getWebSocket(this)},methods:{getTemplate:function(){var e=this,t={id:this.id},i=this;(0,a.getTemplate)(t).then(function(t){var a=t.data;i.template.templateId=a.templateId,i.template.name=a.templateName,i.template.imageReal=a.imageReal,i.template.imageBg=a.imageBg,i.template.realWidth=a.realWidth,i.template.realHeight=a.realHeight,i.template.scaleWidth=a.scaleWidth/i.bl,i.template.scaleHeight=a.scaleHeight/i.bl,i.template.scale=a.scale,i.imageBg=r+"/"+a.imageBg;for(var l=0;l<a.elementList.length;l++){var o=a.elementList[l],n={};n.x=o.elementX/i.bl,n.y=o.elementY/i.bl,n.width=o.elementWidth/i.bl,n.height=o.elementHeight/i.bl,n.fontBold="true"==o.fontWeight,n.orgFields=o.orgFields?o.orgFields.split(","):[],n.addrFields=o.addrFields?o.addrFields.split(","):[],n.fontFamily=o.fontFamily,n.fontSize=o.fontSize/i.bl,n.fontColor=o.fontColor?o.fontColor:"",n.align=o.align,n.wordSpace=o.wordSpace,n.qrcodeType=o.qrcodeType,n.qrcodeUrl=o.qrcodeUrl,o.imageUrl&&(n.imageUrl=o.imageUrl,i.qrImage=o.imageUrl),n.codeType=o.codeType,n.itemText=o.itemText,n.itemType=o.itemType,n["style"]=e.getItemStyle(l,n),e.items.push(n)}})},getItemStyle:function(e,t){var i={borderColor:e==this.currIndex?"#FF0000":"#CFCFCF",width:t.width+"upx",height:t.height+"upx"};if(("qrcode"==t.itemType&&t.qrcodeUrl||"image"==t.itemType&&t.imageUrl)&&(i.background="url("+(t.qrcodeUrl||t.imageUrl)+")",i.backgroundSize="100% 100%",i.backgroundRepeat="no-repeat"),"qrcode"==t.itemType&&t.qrcodeUrl){i.background="url("+t.qrcodeUrl+")";var a=t.itemText;i["itemText"]=t.itemText,i["itemTextBlack"]=a,i["imageUrl"]="url("+t.imageUrl+")",this.codeObj[this.codeObj.length]=i}return"code"!=t.itemType&&"org"!=t.itemType&&"address"!=t.itemType&&"text"!=t.itemType||!t.itemText||(i.color=t.fontColor,i.textAlign=t.align,i.fontFamily=t.fontFamily,i.fontWeight=t.fontBold?"bold":"",i.lineHeight=t.height+"upx",i.fontSize=t.fontSize+"upx",i.letterSpacing=t.wordSpace+"upx"),i},workspaceStyle:function(){var e=this,t=this.template;return t.imageBg?{backgroundRepeat:"no-repeat",width:t.scaleWidth/e.bl+"upx",height:t.scaleHeight+"upx",background:"url("+r+"/"+t.imageBg+")",backgroundSize:t.scaleWidth/e.bl+"upx "+t.scaleHeight/e.bl+"upx"}:{}},qrR:function(t){if(this.wxcode=t,""!=this.val)for(var i=0;i<this.codeObj.length;i++)this.codeObj[i].background="url("+this.wxcode+")",this.codeObj[i].itemText="扫码支付",console.log(e(this.codeObj[i]," at pages/menu/menu.vue:174"))},getWxCode:function(e){if(void 0!=e&&e!=this.val&&(this.val=e),void 0==e)for(var t=0;t<this.codeObj.length;t++)this.val="",this.codeObj[t].background=this.codeObj[t].imageUrl,this.codeObj[t].itemText=this.codeObj[t].itemTextBlack}}});t.default=d}).call(this,i("0de9")["default"])},f596:function(e,t,i){"use strict";var a=i("c7f2"),l=i.n(a);l.a}},[["ec00","common/runtime","common/vendor"]]]); |
|
}); |
|
require('pages/menu/menu.js'); |
|
;(function(global) { |
|
__uni_launch_ready(function() { |
|
var entryPagePath = __wxConfig.entryPagePath.replace('.html', '') |
|
if (entryPagePath.indexOf('/') !== 0) { |
|
entryPagePath = '/' + entryPagePath |
|
} |
|
wx.navigateTo({ |
|
url: entryPagePath, |
|
query: {}, |
|
openType: 'appLaunch', |
|
webviewId: 1 |
|
}) |
|
__wxConfig.__ready__ = true |
|
}) |
|
})(this); |
|
|
|
|