vendor.js.map 895 KB

1
  1. {"version":3,"sources":["uni-app:///E:/soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/uni-mp-weixin/dist/index.js","uni-app:///E:/soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js","uni-app:///plugin/uview-ui/index.js","uni-app:///api/set.js","uni-app:///plugin/uview-ui/libs/mixin/mixin.js","uni-app:///plugin/uview-ui/libs/request/index.js","uni-app:///plugin/uview-ui/libs/function/deepMerge.js","uni-app:///plugin/uview-ui/libs/function/deepClone.js","uni-app:///plugin/uview-ui/libs/function/test.js","uni-app:///E:/soft/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js","uni-app:///plugin/uview-ui/libs/function/queryParams.js","uni-app:///plugin/jweixin-module/index.js","uni-app:///api/wallet.js","uni-app:///plugin/uview-ui/libs/function/route.js","uni-app:///utils/rocessor.js","uni-app:///E:/soft/HBuilderX/plugins/uniapp-cli/node_modules/@babel/runtime/regenerator/index.js","uni-app:///E:/soft/HBuilderX/plugins/uniapp-cli/node_modules/regenerator-runtime/runtime-module.js","uni-app:///E:/soft/HBuilderX/plugins/uniapp-cli/node_modules/regenerator-runtime/runtime.js","uni-app:///plugin/uview-ui/libs/function/timeFormat.js","uni-app:///api/functionalUnit.js","uni-app:///plugin/uview-ui/libs/function/timeFrom.js","uni-app:///api/order.js","uni-app:///plugin/uview-ui/libs/function/colorGradient.js","uni-app:///plugin/uview-ui/libs/function/guid.js","uni-app:///plugin/uview-ui/libs/function/color.js","uni-app:///components/tki-qrcode/qrcode.js","uni-app:///E:/soft/HBuilderX/plugins/uniapp-cli/node_modules/webpack/buildin/global.js","uni-app:///plugin/uview-ui/libs/function/type2icon.js","uni-app:///plugin/uview-ui/libs/function/randomArray.js","uni-app:///plugin/uview-ui/libs/function/addUnit.js","uni-app:///plugin/uview-ui/libs/function/random.js","uni-app:///plugin/uview-ui/libs/function/trim.js","uni-app:///plugin/uview-ui/libs/function/toast.js","uni-app:///plugin/uview-ui/libs/function/getParent.js","uni-app:///plugin/uview-ui/libs/function/$parent.js","uni-app:///plugin/uview-ui/libs/function/sys.js","uni-app:///plugin/uview-ui/libs/function/debounce.js","uni-app:///plugin/uview-ui/libs/function/throttle.js","uni-app:///plugin/uview-ui/libs/config/config.js","uni-app:///plugin/uview-ui/libs/config/zIndex.js","uni-app:///api/index.js","uni-app:///store/index.js","uni-app:///utils/request.js","uni-app:///utils/newRequest.js","uni-app:///components/wangding-pickerAddress/data.js","uni-app:///utils/loginUtils.js","uni-app:///api/user.js","uni-app:///plugin/uview-ui/libs/util/emitter.js","uni-app:///plugin/uview-ui/libs/util/async-validator.js","uni-app:///E:/soft/HBuilderX/plugins/uniapp-cli/node_modules/node-libs-browser/mock/process.js","uni-app:///E:/soft/HBuilderX/plugins/uniapp-cli/node_modules/path-browserify/index.js","uni-app:///api/product.js","uni-app:///E:/soft/HBuilderX/plugins/uniapp-cli/node_modules/vuex/dist/vuex.esm.js","uni-app:///components/uni-icons/icons.js","uni-app:///api/login.js","uni-app:///store/model/user.js","uni-app:///api/wx.js"],"names":["b64DecodeUnicode","str","decodeURIComponent","atob","split","map","c","charCodeAt","toString","slice","join","getCurrentUserInfo","token","wx","getStorageSync","tokenArr","length","uid","role","permission","tokenExpired","userInfo","JSON","parse","error","Error","message","exp","iat","uniIdMixin","Vue","prototype","uniIDHasRole","roleId","indexOf","uniIDHasPermission","permissionId","uniIDTokenValid","Date","now","_toString","Object","hasOwnProperty","isFn","fn","isStr","isPlainObject","obj","call","hasOwn","key","noop","cached","cache","create","cachedFn","hit","camelizeRE","camelize","replace","_","toUpperCase","HOOKS","globalInterceptors","scopedInterceptors","mergeHook","parentVal","childVal","res","concat","Array","isArray","dedupeHooks","hooks","i","push","removeHook","hook","index","splice","mergeInterceptorHook","interceptor","option","keys","forEach","removeInterceptorHook","addInterceptor","method","removeInterceptor","wrapperHook","data","isPromise","then","queue","promise","Promise","resolve","callback","wrapperOptions","options","name","oldCallback","callbackInterceptor","wrapperReturnValue","returnValue","returnValueHooks","getApiInterceptorHooks","scopedInterceptor","invokeApi","api","params","invoke","promiseInterceptor","reject","SYNC_API_RE","CONTEXT_API_RE","CONTEXT_API_RE_EXC","ASYNC_API","CALLBACK_API_RE","isContextApi","test","isSyncApi","isCallbackApi","handlePromise","catch","err","shouldPromise","finally","constructor","value","reason","promisify","promiseApi","success","fail","complete","assign","EPS","BASE_DEVICE_WIDTH","isIOS","deviceWidth","deviceDPR","checkDeviceWidth","getSystemInfoSync","platform","pixelRatio","windowWidth","upx2px","number","newDeviceWidth","Number","result","Math","floor","interceptors","baseApi","freeze","__proto__","findExistsPageIndex","url","pages","getCurrentPages","len","page","$page","fullPath","redirectTo","fromArgs","exists","delta","args","existsPageIndex","previewImage","currentIndex","parseInt","current","isNaN","urls","filter","item","indicator","loop","UUID_KEY","deviceId","addUuid","random","setStorage","addSafeAreaInsets","safeArea","safeAreaInsets","top","left","right","bottom","windowHeight","getSystemInfo","protocols","todos","canIUses","CALLBACKS","processCallback","methodName","processReturnValue","processArgs","argsOption","keepFromArgs","toArgs","keyOption","console","warn","keepReturnValue","wrapper","protocol","arg1","arg2","apply","todoApis","TODOS","createTodoApi","todoApi","errMsg","providers","oauth","share","payment","getProvider","service","provider","extraApi","getEmitter","Emitter","getUniEmitter","ctx","$on","arguments","$off","$once","$emit","eventApi","MPPage","Page","MPComponent","Component","customizeRE","customize","initTriggerEvent","mpInstance","canIUse","oldTriggerEvent","triggerEvent","event","initHook","oldHook","__$wrappered","after","PAGE_EVENT_HOOKS","initMocks","vm","mocks","$mp","mpType","mock","hasHook","vueOptions","default","extendOptions","super","mixins","find","mixin","initHooks","mpOptions","$vm","__call_hook","initVueComponent","VueComponent","extend","initSlots","vueSlots","$slots","slotName","$scopedSlots","initVueIds","vueIds","_$vueId","_$vuePid","initData","context","methods","e","process","VUE_APP_DEBUG","stringify","__lifecycle_hooks__","PROP_TYPES","String","Boolean","createObserver","observer","newVal","oldVal","initBehaviors","initBehavior","vueBehaviors","behaviors","vueExtends","extends","vueMixins","vueProps","props","behavior","type","properties","initProperties","vueMixin","parsePropType","defaultValue","file","isBehavior","vueId","generic","scopedSlotsCompiler","setData","opts","wrapper$1","mp","stopPropagation","preventDefault","target","detail","markerId","getExtraValue","dataPathsArray","dataPathArray","dataPath","propPath","valuePath","vFor","isInteger","substr","__get_value","vForItem","vForKey","processEventExtra","extra","extraObj","__args__","getObjByArray","arr","element","processEventArgs","isCustom","isCustomMPEvent","currentTarget","dataset","comType","ret","arg","ONCE","CUSTOM","isMatchEventType","eventType","optType","getContextVm","$parent","$options","$scope","handleEvent","eventOpts","eventOpt","eventsArray","charAt","isOnce","eventArray","handlerCtx","handler","once","eventChannels","eventChannelStack","getEventChannel","id","eventChannel","shift","initEventChannel","getOpenerEventChannel","callHook","__id__","__eventChannel__","initScopedSlotsParams","center","parents","$hasScopedSlotsParams","has","$getScopedSlotsParams","object","$setScopedSlotsParams","propsData","$forceUpdate","destroyed","parseBaseApp","initRefs","store","$store","mpHost","beforeCreate","getApp","app","$i18n","_i18n","appOptions","onLaunch","globalData","_isMounted","findVmByVueId","vuePid","$children","childVm","parentVm","Behavior","isPage","route","initRelation","selectAllComponents","selector","$refs","components","component","ref","vueGeneric","scopedComponent","defineProperty","get","forComponents","handleLink","parent","parseApp","createApp","App","encodeReserveRE","encodeReserveReplacer","commaRE","encode","encodeURIComponent","stringifyQuery","encodeStr","val","undefined","val2","x","parseBaseComponent","vueComponentOptions","multipleSlots","addGlobalClass","componentOptions","__file","lifetimes","attached","$mount","ready","detached","$destroy","pageLifetimes","show","hide","resize","size","__l","__e","externalClasses","wxsCallMethods","callMethod","parseComponent","hooks$1","parseBasePage","vuePageOptions","pageOptions","onLoad","query","copyQuery","is","parsePage","createPage","createComponent","createSubpackageApp","allowDefault","onShow","onAppShow","onHide","onAppHide","getLaunchOptionsSync","createPlugin","canIUseApi","apiName","uni","Proxy","set","uni$1","wranning","$u","queryParams","timeFormat","date","timeFrom","colorGradient","colorToRgba","guid","color","sys","os","type2icon","randomArray","http","post","put","delete","hexToRgb","rgbToHex","deepClone","deepMerge","getParent","addUnit","trim","toast","config","zIndex","debounce","throttle","install","openShare","mpShare","timestamp","format","userEdit","logout","registerReset","binding","realName","transaction","module","exports","getRect","$uGetRect","all","createSelectorQuery","in","boundingClientRect","rect","exec","getParentData","parentName","parentData","preventEvent","onReachBottom","beforeDestroy","array","children","childrenList","child","Request","customConfig","request","tmpConfig","interceptorRequest","dataType","responseType","header","response","hideLoading","clearTimeout","timer","originalData","resInterceptors","statusCode","validate","baseUrl","showLoading","setTimeout","title","loadingText","mask","loadingMask","loadingTime","source","prop","NaN","includes","o","email","mobile","dateISO","digits","idCard","carNo","xreg","creg","amount","chinese","reg","letter","enOrNum","contains","param","range","rangeLength","landline","empty","jsonString","code","RegExp","isEmpty","isPrefix","arrayFormat","prefix","_result","_value","commaStr","n","define","window","jWeixin","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","getLocation","openProductSpecificView","addCard","openCard","chooseWXPay","openEnterpriseRedPacket","startSearchBeacons","stopSearchBeacons","onSearchBeacons","consumeAndShareCard","openAddress","a","document","t","r","navigator","userAgent","toLowerCase","s","d","match","u","l","p","f","m","g","initStartTime","L","initEndTime","preVerifyStartTime","preVerifyEndTime","h","version","appId","initTime","preVerifyTime","networkType","isPreVerifyOk","systemType","clientVersion","location","href","v","S","_completes","y","state","O","I","w","B","check","M","verifyJsApiList","C","jsApiList","verifyOpenTagList","openTagList","_complete","_fail","debug","Image","getNetworkType","isInnerInvoke","src","WeixinJSBridge","on","checkJsApi","checkResult","P","desc","img_url","imgUrl","link","data_url","dataUrl","scene","updateTimelineShareData","updateAppMessageShareData","startRecord","stopRecord","onVoiceRecordEnd","playVoice","localId","pauseVoice","stopVoice","onVoicePlayEnd","uploadVoice","isShowProgressTips","downloadVoice","serverId","translateVoice","chooseImage","count","sizeType","sourceType","localIds","uploadImage","downloadImage","getLocalImgData","subtype","substring","openLocation","latitude","longitude","address","scale","infoUrl","menuList","needResult","scanType","resultStr","scan_code","scan_result","postalCode","addressPostalCode","provinceName","proviceFirstStageName","cityName","addressCitySecondStageName","countryName","addressCountiesThirdStageName","detailInfo","addressDetailInfo","pid","productId","view_type","viewType","ext_info","extInfo","cardList","card_id","cardId","card_ext","cardExt","card_list","isSuccess","is_succ","app_id","location_id","shopId","sign_type","signType","card_type","cardType","card_sign","cardSign","time_stamp","nonce_str","nonceStr","choose_card_info","consumedCardId","consumedCode","V","ticket","useridlist","userIds","chatname","groupName","targetAppId","path","envVersion","businessType","queryString","extraData","navigateBack","navigateTo","switchTab","reLaunch","postMessage","getEnv","miniprogram","__wxjs_environment","T","k","addEventListener","tagName","localData","A","trigger","verifyAppId","verifySignType","verifyTimestamp","verifyNonceStr","verifySignature","signature","timeStamp","package","paySign","errCode","err_code","err_desc","err_detail","err_msg","alert","cancel","log","getTime","spreadCommission","userBalance","extractCash","extractBank","rechargeRoutine","aliInfo","bankInfo","setAliInfo","setBankInfo","balance","Router","animationType","animationDuration","intercept","bind","addRootPath","mergeConfig","mixinParam","routeIntercept","isNext","openPage","isCardNo","card","getMoneyStyle","toFixed","reverse","ind","ar","timeComputed","time","actTime","stopTime","day","hours","minutes","seconds","openMap","that","getSetting","authSetting","showModal","content","confirm","openSetting","showToast","duration","icon","num","year","getFullYear","mon","getMonth","getDate","getHours","minu","getMinutes","sec","getSeconds","require","padStart","maxLength","fillString","TypeError","fillLength","times","ceil","dateTime","fmt","opt","getCouponsList","types","setCoupons","couponsOrder","price","integrallist","signList","integral","signUser","tips","order_comment","product","express_query","upload","orderList","orderDetail","orderid","orderCancel","orderDel","refund","refundReason","orderTake","orderPay","createOrderkey","computedOrderkey","orderkey","startColor","endColor","step","startRGB","startR","startG","startB","endRGB","endR","endG","endB","sR","sG","sB","colorArr","hex","round","sColor","sColorNew","sColorChange","rgb","_this","aColor","strHex","aNum","numHex","alpha","firstU","radix","chars","uuid","primary","primaryDark","primaryDisabled","primaryLight","bgColor","info","infoDark","infoDisabled","infoLight","warning","warningDark","warningDisabled","warningLight","errorDark","errorDisabled","errorLight","successDark","successDisabled","successLight","mainColor","contentColor","tipsColor","lightColor","borderColor","QRCode","unicodeFormat8","c0","c1","c2","getUTF8Bytes","string","utf8codes","utf8","j","QRCodeAlg","errorCorrectLevel","typeNumber","modules","moduleCount","dataCache","rsBlocks","totalDataCount","utf8bytes","make","getModuleCount","getRightType","createData","createQrcode","makeImpl","maskPattern","row","setupPositionProbePattern","setupPositionAdjustPattern","setupTimingPattern","setupTypeInfo","setupTypeNumber","mapData","col","minLostPoint","pattern","bestModules","lostPoint","QRUtil","getLostPoint","pos","getPatternPosition","bits","getBCHTypeNumber","mod","QRErrorCorrectLevel","getBCHTypeInfo","buffer","QRBitBuffer","lengthBits","putBit","PAD0","PAD1","createBytes","offset","maxDcCount","maxEcCount","rsBlock","totalCount","dataCount","dcdata","ecdata","dcCount","ecCount","max","rsPoly","getErrorCorrectPolynomial","rawPoly","QRPolynomial","getLength","modPoly","modIndex","inc","bitIndex","byteIndex","dark","getMask","QRMaskPattern","PATTERN000","PATTERN001","PATTERN010","PATTERN011","PATTERN100","PATTERN101","PATTERN110","PATTERN111","PATTERN_POSITION_TABLE","G15","G18","G15_MASK","getBCHDigit","digit","errorCorrectLength","multiply","QRMath","gexp","qrCode","darkCount","sameCount","head","ratio","abs","glog","LOG_TABLE","EXP_TABLE","tl","el","RS_BLOCK_TABLE","lengthBytes","bufIndex","bit","qrcodeAlgObjCache","text","correctLevel","background","foreground","pdground","image","imageSize","canvasId","usingComponents","qrCodeAlg","getForeGround","createCanvas","createCanvasContext","ratioSize","ratioImgSize","tileW","toPrecision","tileH","setFillStyle","fillRect","drawRoundedRect","ctxi","width","height","lineWidth","fill","stroke","setLineWidth","setStrokeStyle","beginPath","moveTo","arcTo","closePath","drawImage","draw","canvasToTempFilePath","destWidth","destHeight","quality","cbResult","tempFilePath","tp","rt","clear","clearRect","iconName","sort","unit","validation","min","gab","timeout","func","wait","immediate","callNow","flag","noNetwork","popup","navbar","topTips","sticky","indexListSticky","groom4","groom1","groom3","loadIndexs","article","details","use","Vuex","Store","baseURL","urlFile","loginInterceptor","weichatInfo","weichatObj","mutations","setWeiChatInfo","setWeiChatObj","user","actions","status","commit","msg","upFilse","open","iserror","requestData","upload_img_url","Uploader","choose","tempFilePaths","upload_one","uploadFile","filePath","uploadFileRes","path_arr","img_urls","choose_and_upload","getActionPage","pageUrl","saveUrl","getPageUrl","setStorageSync","showSpeard","objKeys","orderData","getUserInfo","spreadBanner","shopList","getAddressList","addressEdit","addressDel","setAddressDefault","getCartList","getCartNum","cartDel","getcollectList","delcollect","spread_people","transfer","orderVerific","broadcast","componentName","eventName","dispatch","$root","_extends","formatRegExp","errors","every","convertFieldsError","fields","field","_len","_key","isNativeStringType","isEmptyValue","asyncParallelArray","results","total","arrLength","asyncSerialArray","next","original","flattenObjArr","objArr","asyncMap","first","_pending","flattenArr","firstFields","objArrKeys","objArrLength","pending","complementError","rule","oe","fullField","required","messages","whitespace","integer","float","regexp","getYear","custom","ruleType","spRegexp","ENUM","enumerable","pattern$1","lastIndex","mismatch","_pattern","rules","_boolean","floatFn","ENUM$1","enumerable$1","pattern$2","dateObject","required$1","type$1","any","validators","newMessages","invalid","clone","cloned","Schema","descriptor","_messages","z","source_","oc","add","_errors","messages$1","series","transform","validator","getValidationMethod","getType","errorFields","doIt","deep","defaultField","addFullfield","schema","cb","suppressWarning","fieldsSchema","fieldSchema","errs","finalErrors","asyncValidator","messageIndex","register","getProducts","goodsDetail","getBargainList","cartAdd","collectAdd","collectDel","searchKeyword","groomList","seckillGoods","groupGoods","getCategoryList","getCombinationList","getCombinationLisRemove","getCombinationLisPink","getCombinationPoster","getSeckillClass","getSeckillList","reply_config","reply_list","login","verify","loginMobile","orderInfo","complete_count","received_count","unshipped_count","order_count","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BdE,OAAK,EAALA,KAjBc;AAkBdI,SAAO,EAAEJ,KAlBK;AAmBdC,YAAU,EAAVA,UAnBc;AAoBdF,UAAQ,EAARA,QApBc;AAqBdlN,QAAM,EAANA,MArBc;AAsBdgK,OAAK,EAALA,KAtBc;AAuBdqD,MAAI,EAAJA,IAvBc,E;;;;;;;;;;;;AC/Mf;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA,kCAAkC;;AAElC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA,sBAAsB,+BAA+B;AACrD,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,kDAAkD,iCAAiC,EAAE;AACrF,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iBAAiB,gBAAgB;AACjC;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,6BAA6B,cAAc;;AAE3C;;AAEA;AACA;AACA;AACA,6BAA6B,UAAU;;AAEvC;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,gBAAgB;AACjC,kCAAkC;AAClC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;AAIA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,iBAAiB,aAAoB;;AAErC;AACA;AACA;AACA,YAAY,aAAoB;;AAEhC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,qBAAqB;AACxC,iBAAiB;AACjB;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;AACA,oCAAoC;AACpC;;AAEA,IAAI,IAAqC;AACzC;AACA;AACA,iCAAiC;AACjC,uCAAuC,wBAAwB,EAAE;AACjE,0BAA0B;;AAE1B;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,8CAA8C;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,wBAAwB,YAAY;AACpC,kBAAkB,YAAY;AAC9B;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA,wCAAwC,EAAE;AAC1C;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM,KAAqC;AAC3C;AACA;AACA;AACA,+BAA+B,oBAAoB,EAAE;AACrD;AACA,kCAAkC,OAAO;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0BAA0B,SAAS,qBAAqB;;AAExD;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,2BAA2B;AAC9C;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,OAAO;AACzC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,KAAqC;AAC/C;AACA;AACA;AACA,8BAA8B;AAC9B;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,KAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,KAAqC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM,KAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,KAAqC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iDAAiD,OAAO;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI,IAAqC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;;AAEA,iBAAiB,iBAAiB;AAClC;AACA;AACA,2BAA2B;AAC3B;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,KAAqC;AAC3C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,iBAAiB,kBAAkB;AACnC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,KAAqC;AACzC;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,uBAAuB;AACzD,iCAAiC,sBAAsB;AACvD;AACA,kBAAkB;AAClB,MAAM,IAAqC;AAC3C;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,aAAoB;AACtC;AACA;AACA,mBAAmB;AACnB;AACA;AACA,iBAAiB,uBAAuB;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,OAAO,UAAU,IAAqC;AACtD;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,GAAG,UAAU,IAAqC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA,mBAAmB,mBAAmB;AACtC,+BAA+B;AAC/B;AACA,GAAG;AACH;AACA;AACA;AACA,kBAAkB,YAAY;AAC9B,WAAW;AACX;AACA,GAAG,UAAU,IAAqC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,IAAqC;AAC3C;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,OAAO;AACrD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B;AAC3B;AACA,oCAAoC;AACpC;AACA,qCAAqC;AACrC;AACA;AACA,MAAM,KAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,IAEQ;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,KAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,2BAA2B;AAC9C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,6CAA6C,SAAS;AACtD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA,6CAA6C,qCAAqC,EAAE;AACpF;;AAEA;AACA;AACA;;AAEA,oCAAoC,yCAAyC,EAAE;AAC/E;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,kBAAkB;AAC3C;AACA;AACA,4BAA4B;AAC5B,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,sDAAsD,EAAE;AACtF;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM,IAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,iBAAiB,mBAAmB;AACpC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,kBAAkB;AAClC;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;;AAEA;;AAEA;;AAEA,IAAI,IAAqC;AACzC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,iCAAiC;AACnE,cAAc,6BAA6B;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,kCAAkC,iCAAiC;AACnE,cAAc,6BAA6B;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,yBAAyB;AAC1C,GAAG;AACH;AACA;AACA,iBAAiB,+BAA+B;AAChD;AACA;;AAEA;AACA;;AAEA,IAAI,IAAqC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B,uBAAuB;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,uCAAuC;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;AACA;AACA,qBAAqB,mBAAmB;AACxC;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,KAAqC;AAC3C;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,IAAqC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,qBAAqB;AACtC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa,qBAAqB;AAClC;AACA,+CAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,IAAqC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO,MAAM,EAEN;AACP,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,iBAAiB;AACpC;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAU,IAAqC;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,OAAO;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,kEAAkE;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA,sBAAsB,mBAAmB;AACzC;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,OAAO;AACtC,uCAAuC;AACvC;AACA,GAAG;AACH;AACA,eAAe,SAAS;AACxB,sCAAsC;AACtC;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,2DAA2D;AAC3D;AACA;AACA,KAAK;AACL;AACA;AACA,kCAAkC,OAAO;AACzC;AACA,6CAA6C;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA,UAAU,KAAqC;AAC/C;AACA;AACA;AACA;AACA;AACA,8BAA8B;AAC9B;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA,4CAA4C,eAAe;AAC3D,GAAG;AACH;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,KAAqC;AAC3C;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,kDAAkD;AAClD,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;;AAEA;AACA,6CAA6C;AAC7C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,iBAAiB;AACpC;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,MAAM,KAAqC;AAC3C;AACA;AACA;AACA,KAAK;AACL,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB,iBAAiB,gBAAgB;AACjC;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,iBAAiB,mBAAmB;AACpC;AACA;AACA;AACA,KAAK,UAAU,KAAqC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,qCAAqC,gEAAgE;AACrG;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,4BAA4B,+BAA+B;AAC3D,4BAA4B,+BAA+B;AAC3D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA,mBAAmB,mBAAmB;AACtC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,IAAqC;AAC3C,kDAAkD;AAClD;AACA;AACA,mCAAmC;AACnC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B;AAC9B;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ,IAAqC;AAC7C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,sEAAsE;;AAEtE;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,uFAAuF;AAC5F;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,0CAA0C;AAC1C,iBAAiB,yBAAyB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG,+BAA+B;AAClC,mCAAmC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,KAAqC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,KAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,KAAqC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,oBAAoB,oBAAoB;AACxC,sBAAsB,4BAA4B;AAClD;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,OAAO;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,mBAAmB;AACnB,yBAAyB;AACzB;AACA,qDAAqD;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,6CAA6C;AAC9E;AACA;AACA,6CAA6C,4CAA4C;;AAEzF;AACA;AACA;;AAEA;AACA,MAAM,IAAqC;AAC3C;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,GAAG,MAAM,EAGN;AACH;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,UAAU,KAAqC;AAC/C;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,KAAqC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,KAAK,2CAA2C,8BAA8B,EAAE;;AAEhF;AACA,wCAAwC,OAAO;AAC/C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;;AAEL;AACA,MAAM,KAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAgB,KAAqC;AACrD;AACA,oBAAoB,SAAI;AACxB;AACA;AACA,WAAW;AACX;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,mBAAmB,qBAAqB;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C;AAC/C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,uCAAuC,OAAO;AAC9C;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,SAAS;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,QAAQ,IAAqC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC,OAAO;AAC5C;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,IAAqC;AAC3C;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,0BAA0B;;AAE1B,kBAAkB;AAClB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,mBAAmB,qBAAqB;AACxC;AACA,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,MAAM,IAAqC;AAC3C;AACA;AACA;;AAEA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,mBAAmB,yBAAyB;AAC5C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,yBAAyB;AAC5C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,wCAAwC,OAAO;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,IAAqC;AAC3C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B,0BAA0B;AACpD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,oBAAoB,EAAE;;AAEpD;AACA;AACA,iBAAiB,sBAAsB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,KAAqC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,kBAAkB;AACnC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,UAAU,KAAqC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;AAIA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,oBAAoB;AACpB;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA,oBAAoB,KAAqC;AACzD;AACA,MAAM,SAAE;AACR;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,MAAM,KAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB,2BAA2B;AAC9C,qBAAqB,+BAA+B;AACpD;AACA;AACA,GAAG;AACH,yBAAyB;AACzB;AACA,sBAAsB,iCAAiC;AACvD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,IAAqC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK,MAAM,EAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,KAAqC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,IAAqC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,KAAqC;AAC3C;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA,8BAA8B;;AAE9B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ,KAAqC;AAC7C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,UAAU,IAAqC;AACpD;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,KAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ,IAAqC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB,oBAAoB;AACzC;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA,8BAA8B;AAC9B,MAAM,IAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,QAAQ,KAAqC;AAC7C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA,QAAQ,IAAqC;AAC7C;AACA,KAAK,MAAM,EAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC;AACA,sCAAsC;AACtC,8C;;AAEA;AACA,QAAQ,KAAqC;AAC7C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,eAAe;AACrC;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM,KAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sEAAsE;AACtE;AACA;AACA;;AAEA;AACA,QAAQ,KAAqC;AAC7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iCAAiC;;AAEjC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,YAAY,KAAqC;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;;;AAIA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA,0CAA0C,2BAA2B,EAAE;AACvE,KAAK;AACL;AACA,0CAA0C,4BAA4B,EAAE;AACxE,KAAK;AACL,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,+BAA+B,eAAe;AAC9C,MAAM,IAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;;AAEA;AACA,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,qBAAqB;AACrB;AACA;AACA,yBAAyB;AACzB;AACA;AACA,6BAA6B;AAC7B;AACA;AACA,iBAAiB;AACjB;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA,SAAS;AACT;AACA;AACA,aAAa;AACb;AACA;AACA,iBAAiB;AACjB;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,YAAY,sGAAW;AACvB;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,mBAAmB;AAC1C;AACA;AACA;AACA;;AAEA;AACA,0CAA0C,gCAAgC,EAAE;AAC5E;;AAEA;AACA;AACA;AACA;AACA,WAAW,sGAAW;AACtB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,WAAW,sGAAW;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,8BAA8B;AAC9B,0CAA0C;;AAE1C;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA,sCAAsC;AACtC;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA,KAAK;AACL;AACA;AACA,UAAU,sGAAW;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,IAAqC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mCAAmC,OAAO;AAC1C;AACA,gBAAgB,YAAY;AAC5B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAgB,YAAY;AAC5B;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,OAAO;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,sDAAsD,qDAAqD,EAAE,SAAS;AACtH;;AAEA;AACA;AACA;AACA;AACA;AACA,iCAAiC,OAAO;AACxC;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,kCAAkC,OAAO;AACzC;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,0BAA0B,OAAO;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEe,kEAAG,EAAC;;;;;;;;;;;;;;wFC75LnB;;;;;AAKA,SAAS5G,WAAT,GAA2E,KAAtDzZ,IAAsD,uEAA/C,EAA+C,KAA3CwgB,QAA2C,uEAAhC,IAAgC,KAA1BC,WAA0B,uEAAZ,UAAY;AAC1E,MAAIC,MAAM,GAAGF,QAAQ,GAAG,GAAH,GAAS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A,MAAMC,GAAG,GAAGrX,IAAI,CAACsX,QAAL,KAAkB,CAA9B;AACA,MAAMnB,GAAG,GAAGnW,IAAI,CAACuX,OAAL,EAAZ;AACA,MAAMnB,KAAK,GAAGpW,IAAI,CAACwX,QAAL,EAAd;AACA,MAAMC,IAAI,GAAGzX,IAAI,CAAC0X,UAAL,EAAb;AACA,MAAMC,GAAG,GAAG3X,IAAI,CAAC4X,UAAL,EAAZ;AACA,SAAOT,IAAI,GAAG,GAAP,GAAaE,GAAb,GAAmB,GAAnB,GAAyBlB,GAAzB,GAA+B,GAA/B,GAAqCC,KAArC,GAA6C,GAA7C,GAAmDqB,IAAnD,GAA0D,GAA1D,GAAgEE,GAAvE;AACA,C;;;;;;;;;;;ACvHDtV,MAAM,CAACC,OAAP,GAAiBuV,mBAAO,CAAC,6BAAD,CAAxB,C;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,iBAAiB,mBAAO,CAAC,mBAAW;;AAEpC;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,KAAK;AACL,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX;;AAEA;AACA;AACA,wCAAwC,WAAW;AACnD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,2BAA2B;AAC3B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;;AAEA;;AAEA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oCAAoC,cAAc;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC,kBAAkB;AACnD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iBAAiB;;AAEjB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wBAAwB,iBAAiB;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;;AAEA;AACA,YAAY;AACZ;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,8CAA8C,QAAQ;AACtD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA,WAAW;AACX;AACA;A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;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU,oBAAoB;AAC9B;AACA;;AAEA;AACA,UAAU,UAAU;AACpB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA;AACA;AACA;AACA;;AAEA;AACA,+BAA+B,sBAAsB;AACrD;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,QAAQ;AACvC;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,2BAA2B,QAAQ;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,QAAQ;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB,eAAe;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;gyBC7SA,sF;;AAEA;AACO,SAAS6B,WAAT,C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;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,qBAAqB;;AAErB;;AAEA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG,GAAG,gBAAgB;;AAEtB;AACA;AACA,GAAG,GAAG,gBAAgB;AACtB;;AAEA;AACA;AACA;AACA;AACA,WAAW,MAAM;AACjB,WAAW,SAAS;AACpB,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA,2CAA2C,0BAA0B,EAAE;AACvE;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,0BAA0B,cAAc,qBAAqB;;AAE7D;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,OAAO,IAAqC;AAC5C;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,sCAAsC;;AAEtC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,OAAO,IAAqC;AAC5C;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa,IAAqC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4BAA4B,oCAAoC,EAAE;AAClE;AACA;;AAEA;AACA,4BAA4B;AAC5B,uEAAuE,EAAE;AACzE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,0BAA0B;;AAE1B;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,QAAQ;;AAER;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,IAAqC;AAC5C;AACA;AACA;AACA;;AAEA,gCAAgC;AAChC,8BAA8B;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,qCAAqC,uBAAuB,EAAE;;AAE9D;AACA;AACA;AACA;AACA;;AAEA,4BAA4B,SAAS,qBAAqB;;AAE1D;AACA;AACA;;AAEA;AACA,OAAO,IAAqC;AAC5C;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,kBAAkB;AAClB;AACA;AACA,SAAS,IAAqC;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA,6BAA6B,oCAAoC,EAAE;;AAEnE;AACA,KAAK,KAAqC;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,gBAAgB;AAChB;AACA;AACA,SAAS,IAAqC;AAC9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8BAA8B,mBAAmB,EAAE;AACnD,+BAA+B,yCAAyC,EAAE;AAC1E,GAAG;AACH,SAAS,IAAqC;AAC9C;AACA;AACA;AACA;;AAEA;AACA,gDAAgD,yBAAyB,EAAE;AAC3E;;AAEA;AACA;AACA;AACA;AACA,kCAAkC,kBAAkB,EAAE;AACtD,mCAAmC,wCAAwC,EAAE;AAC7E,OAAO;AACP,aAAa,IAAqC;AAClD;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,kCAAkC,kBAAkB,EAAE;AACtD,mCAAmC,+CAA+C,EAAE;AACpF,OAAO;AACP,aAAa,IAAqC;AAClD;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA,yCAAyC,aAAa;AACtD;AACA;;AAEA;AACA;;AAEA,OAAO,IAAqC;AAC5C;AACA;AACA,6CAA6C,6CAA6C,EAAE;AAC5F;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;;AAEA,iCAAiC,eAAe;;AAEhD,OAAO,IAAqC;AAC5C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,iCAAiC,eAAe;;AAEhD,OAAO,IAAqC;AAC5C;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA,iCAAiC,eAAe;;AAEhD,OAAO,IAAqC;AAC5C;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,uBAAuB,EAAE;AACjD;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,8BAA8B,yBAAyB,EAAE;AACzD;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,kDAAkD,aAAoB;AACtE;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,IAAqC;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,KAAqC;AAClD;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,KAAqC;AAClD;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,uBAAuB,sBAAsB;AAC7C,uBAAuB,2CAA2C;AAClE,KAAK;AACL;AACA,wBAAwB,0CAA0C;AAClE;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kDAAkD;;AAElD;AACA;;AAEA;AACA;AACA;AACA;AACA,0BAA0B,4BAA4B,EAAE;AACxD;AACA,OAAO;AACP,KAAK;AACL;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,SAAS,IAAqC;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC,4BAA4B;AAC5D,SAAS,IAAqC;AAC9C;AACA;AACA,GAAG,GAAG,yBAAyB;AAC/B;;AAEA;AACA,4CAA4C,mBAAmB,EAAE;AACjE;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,IAAqC;AAC5C;AACA;;AAEA,UAAU;AACV;;AAEA;AACA;AACA,SAAS,IAAqC;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,aAAa;AACxB,WAAW;AACX;AACA;AACA;AACA,OAAO,KAAqC;AAC5C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA,WAAW,OAAO;AAClB,WAAW,aAAa;AACxB,YAAY;AACZ;AACA;AACA;AACA,OAAO,KAAqC;AAC5C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA,WAAW,OAAO;AAClB,WAAW,aAAa;AACxB,YAAY;AACZ;AACA;AACA;AACA,OAAO,KAAqC;AAC5C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,KAAqC;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA,WAAW,OAAO;AAClB,WAAW,aAAa;AACxB,YAAY;AACZ;AACA;AACA;AACA,OAAO,KAAqC;AAC5C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA,WAAW,OAAO;AAClB,YAAY;AACZ;AACA,oDAAoD;AACpD;AACA;AACA;AACA;AACA,CAAC,EAAE;;AAEH;AACA;AACA,iCAAiC,iBAAiB,GAAG,iBAAiB,GAAG,i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APA,OAJc,E;;;;;;;;;;;;;kGCvDf,sF;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA;AACO,SAASE,YAAT,CAAsBluC,IAAtB,EAA4B;AAClC,SAAO,sBAAQ;AACdqE,OAAG,EAAE,qBADS;AAEdxE,UAAM,EAAE,MAFM;AAGdG,QAAI,EAAJA,IAHc,EAAR,CAAP;;AAKA,C","file":"common/vendor.js","sourcesContent":["import Vue from 'vue';\r\n\r\nfunction b64DecodeUnicode (str) {\r\n return decodeURIComponent(atob(str).split('').map(function (c) {\r\n return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2)\r\n }).join(''))\r\n}\r\n\r\nfunction getCurrentUserInfo () {\r\n const token = ( wx).getStorageSync('uni_id_token') || '';\r\n const tokenArr = token.split('.');\r\n if (!token || tokenArr.length !== 3) {\r\n return {\r\n uid: null,\r\n role: [],\r\n permission: [],\r\n tokenExpired: 0\r\n }\r\n }\r\n let userInfo;\r\n try {\r\n userInfo = JSON.parse(b64DecodeUnicode(tokenArr[1]));\r\n } catch (error) {\r\n throw new Error('获取当前用户信息出错,详细错误信息为:' + error.message)\r\n }\r\n userInfo.tokenExpired = userInfo.exp * 1000;\r\n delete userInfo.exp;\r\n delete userInfo.iat;\r\n return userInfo\r\n}\r\n\r\nfunction uniIdMixin (Vue) {\r\n Vue.prototype.uniIDHasRole = function (roleId) {\r\n const {\r\n role\r\n } = getCurrentUserInfo();\r\n return role.indexOf(roleId) > -1\r\n };\r\n Vue.prototype.uniIDHasPermission = function (permissionId) {\r\n const {\r\n permission\r\n } = getCurrentUserInfo();\r\n return this.uniIDHasRole('admin') || permission.indexOf(permissionId) > -1\r\n };\r\n Vue.prototype.uniIDTokenValid = function () {\r\n const {\r\n tokenExpired\r\n } = getCurrentUserInfo();\r\n return tokenExpired > Date.now()\r\n };\r\n}\r\n\r\nconst _toString = Object.prototype.toString;\r\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\r\n\r\nfunction isFn (fn) {\r\n return typeof fn === 'function'\r\n}\r\n\r\nfunction isStr (str) {\r\n return typeof str === 'string'\r\n}\r\n\r\nfunction isPlainObject (obj) {\r\n return _toString.call(obj) === '[object Object]'\r\n}\r\n\r\nfunction hasOwn (obj, key) {\r\n return hasOwnProperty.call(obj, key)\r\n}\r\n\r\nfunction noop () {}\r\n\r\n/**\r\n * Create a cached version of a pure function.\r\n */\r\nfunction cached (fn) {\r\n const cache = Object.create(null);\r\n return function cachedFn (str) {\r\n const hit = cache[str];\r\n return hit || (cache[str] = fn(str))\r\n }\r\n}\r\n\r\n/**\r\n * Camelize a hyphen-delimited string.\r\n */\r\nconst camelizeRE = /-(\\w)/g;\r\nconst camelize = cached((str) => {\r\n return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : '')\r\n});\r\n\r\nconst HOOKS = [\r\n 'invoke',\r\n 'success',\r\n 'fail',\r\n 'complete',\r\n 'returnValue'\r\n];\r\n\r\nconst globalInterceptors = {};\r\nconst scopedInterceptors = {};\r\n\r\nfunction mergeHook (parentVal, childVal) {\r\n const res = childVal\r\n ? parentVal\r\n ? parentVal.concat(childVal)\r\n : Array.isArray(childVal)\r\n ? childVal : [childVal]\r\n : parentVal;\r\n return res\r\n ? dedupeHooks(res)\r\n : res\r\n}\r\n\r\nfunction dedupeHooks (hooks) {\r\n const res = [];\r\n for (let i = 0; i < hooks.length; i++) {\r\n if (res.indexOf(hooks[i]) === -1) {\r\n res.push(hooks[i]);\r\n }\r\n }\r\n return res\r\n}\r\n\r\nfunction removeHook (hooks, hook) {\r\n const index = hooks.indexOf(hook);\r\n if (index !== -1) {\r\n hooks.splice(index, 1);\r\n }\r\n}\r\n\r\nfunction mergeInterceptorHook (interceptor, option) {\r\n Object.keys(option).forEach(hook => {\r\n if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {\r\n interceptor[hook] = mergeHook(interceptor[hook], option[hook]);\r\n }\r\n });\r\n}\r\n\r\nfunction removeInterceptorHook (interceptor, option) {\r\n if (!interceptor || !option) {\r\n return\r\n }\r\n Object.keys(option).forEach(hook => {\r\n if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {\r\n removeHook(interceptor[hook], option[hook]);\r\n }\r\n });\r\n}\r\n\r\nfunction addInterceptor (method, option) {\r\n if (typeof method === 'string' && isPlainObject(option)) {\r\n mergeInterceptorHook(scopedInterceptors[method] || (scopedInterceptors[method] = {}), option);\r\n } else if (isPlainObject(method)) {\r\n mergeInterceptorHook(globalInterceptors, method);\r\n }\r\n}\r\n\r\nfunction removeInterceptor (method, option) {\r\n if (typeof method === 'string') {\r\n if (isPlainObject(option)) {\r\n removeInterceptorHook(scopedInterceptors[method], option);\r\n } else {\r\n delete scopedInterceptors[method];\r\n }\r\n } else if (isPlainObject(method)) {\r\n removeInterceptorHook(globalInterceptors, method);\r\n }\r\n}\r\n\r\nfunction wrapperHook (hook) {\r\n return function (data) {\r\n return hook(data) || data\r\n }\r\n}\r\n\r\nfunction isPromise (obj) {\r\n return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function'\r\n}\r\n\r\nfunction queue (hooks, data) {\r\n let promise = false;\r\n for (let i = 0; i < hooks.length; i++) {\r\n const hook = hooks[i];\r\n if (promise) {\r\n promise = Promise.resolve(wrapperHook(hook));\r\n } else {\r\n const res = hook(data);\r\n if (isPromise(res)) {\r\n promise = Promise.resolve(res);\r\n }\r\n if (res === false) {\r\n return {\r\n then () { }\r\n }\r\n }\r\n }\r\n }\r\n return promise || {\r\n then (callback) {\r\n return callback(data)\r\n }\r\n }\r\n}\r\n\r\nfunction wrapperOptions (interceptor, options = {}) {\r\n ['success', 'fail', 'complete'].forEach(name => {\r\n if (Array.isArray(interceptor[name])) {\r\n const oldCallback = options[name];\r\n options[name] = function callbackInterceptor (res) {\r\n queue(interceptor[name], res).then((res) => {\r\n /* eslint-disable no-mixed-operators */\r\n return isFn(oldCallback) && oldCallback(res) || res\r\n });\r\n };\r\n }\r\n });\r\n return options\r\n}\r\n\r\nfunction wrapperReturnValue (method, returnValue) {\r\n const returnValueHooks = [];\r\n if (Array.isArray(globalInterceptors.returnValue)) {\r\n returnValueHooks.push(...globalInterceptors.returnValue);\r\n }\r\n const interceptor = scopedInterceptors[method];\r\n if (interceptor && Array.isArray(interceptor.returnValue)) {\r\n returnValueHooks.push(...interceptor.returnValue);\r\n }\r\n returnValueHooks.forEach(hook => {\r\n returnValue = hook(returnValue) || returnValue;\r\n });\r\n return returnValue\r\n}\r\n\r\nfunction getApiInterceptorHooks (method) {\r\n const interceptor = Object.create(null);\r\n Object.keys(globalInterceptors).forEach(hook => {\r\n if (hook !== 'returnValue') {\r\n interceptor[hook] = globalInterceptors[hook].slice();\r\n }\r\n });\r\n const scopedInterceptor = scopedInterceptors[method];\r\n if (scopedInterceptor) {\r\n Object.keys(scopedInterceptor).forEach(hook => {\r\n if (hook !== 'returnValue') {\r\n interceptor[hook] = (interceptor[hook] || []).concat(scopedInterceptor[hook]);\r\n }\r\n });\r\n }\r\n return interceptor\r\n}\r\n\r\nfunction invokeApi (method, api, options, ...params) {\r\n const interceptor = getApiInterceptorHooks(method);\r\n if (interceptor && Object.keys(interceptor).length) {\r\n if (Array.isArray(interceptor.invoke)) {\r\n const res = queue(interceptor.invoke, options);\r\n return res.then((options) => {\r\n return api(wrapperOptions(interceptor, options), ...params)\r\n })\r\n } else {\r\n return api(wrapperOptions(interceptor, options), ...params)\r\n }\r\n }\r\n return api(options, ...params)\r\n}\r\n\r\nconst promiseInterceptor = {\r\n returnValue (res) {\r\n if (!isPromise(res)) {\r\n return res\r\n }\r\n return new Promise((resolve, reject) => {\r\n res.then(res => {\r\n if (res[0]) {\r\n reject(res[0]);\r\n } else {\r\n resolve(res[1]);\r\n }\r\n });\r\n })\r\n }\r\n};\r\n\r\nconst SYNC_API_RE =\r\n /^\\$|Window$|WindowStyle$|sendNativeEvent|restoreGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64/;\r\n\r\nconst CONTEXT_API_RE = /^create|Manager$/;\r\n\r\n// Context例外情况\r\nconst CONTEXT_API_RE_EXC = ['createBLEConnection'];\r\n\r\n// 同步例外情况\r\nconst ASYNC_API = ['createBLEConnection'];\r\n\r\nconst CALLBACK_API_RE = /^on|^off/;\r\n\r\nfunction isContextApi (name) {\r\n return CONTEXT_API_RE.test(name) && CONTEXT_API_RE_EXC.indexOf(name) === -1\r\n}\r\nfunction isSyncApi (name) {\r\n return SYNC_API_RE.test(name) && ASYNC_API.indexOf(name) === -1\r\n}\r\n\r\nfunction isCallbackApi (name) {\r\n return CALLBACK_API_RE.test(name) && name !== 'onPush'\r\n}\r\n\r\nfunction handlePromise (promise) {\r\n return promise.then(data => {\r\n return [null, data]\r\n })\r\n .catch(err => [err])\r\n}\r\n\r\nfunction shouldPromise (name) {\r\n if (\r\n isContextApi(name) ||\r\n isSyncApi(name) ||\r\n isCallbackApi(name)\r\n ) {\r\n return false\r\n }\r\n return true\r\n}\r\n\r\n/* eslint-disable no-extend-native */\r\nif (!Promise.prototype.finally) {\r\n Promise.prototype.finally = function (callback) {\r\n const promise = this.constructor;\r\n return this.then(\r\n value => promise.resolve(callback()).then(() => value),\r\n reason => promise.resolve(callback()).then(() => {\r\n throw reason\r\n })\r\n )\r\n };\r\n}\r\n\r\nfunction promisify (name, api) {\r\n if (!shouldPromise(name)) {\r\n return api\r\n }\r\n return function promiseApi (options = {}, ...params) {\r\n if (isFn(options.success) || isFn(options.fail) || isFn(options.complete)) {\r\n return wrapperReturnValue(name, invokeApi(name, api, options, ...params))\r\n }\r\n return wrapperReturnValue(name, handlePromise(new Promise((resolve, reject) => {\r\n invokeApi(name, api, Object.assign({}, options, {\r\n success: resolve,\r\n fail: reject\r\n }), ...params);\r\n })))\r\n }\r\n}\r\n\r\nconst EPS = 1e-4;\r\nconst BASE_DEVICE_WIDTH = 750;\r\nlet isIOS = false;\r\nlet deviceWidth = 0;\r\nlet deviceDPR = 0;\r\n\r\nfunction checkDeviceWidth () {\r\n const {\r\n platform,\r\n pixelRatio,\r\n windowWidth\r\n } = wx.getSystemInfoSync(); // uni=>wx runtime 编译目标是 uni 对象,内部不允许直接使用 uni\r\n\r\n deviceWidth = windowWidth;\r\n deviceDPR = pixelRatio;\r\n isIOS = platform === 'ios';\r\n}\r\n\r\nfunction upx2px (number, newDeviceWidth) {\r\n if (deviceWidth === 0) {\r\n checkDeviceWidth();\r\n }\r\n\r\n number = Number(number);\r\n if (number === 0) {\r\n return 0\r\n }\r\n let result = (number / BASE_DEVICE_WIDTH) * (newDeviceWidth || deviceWidth);\r\n if (result < 0) {\r\n result = -result;\r\n }\r\n result = Math.floor(result + EPS);\r\n if (result === 0) {\r\n if (deviceDPR === 1 || !isIOS) {\r\n result = 1;\r\n } else {\r\n result = 0.5;\r\n }\r\n }\r\n return number < 0 ? -result : result\r\n}\r\n\r\nconst interceptors = {\r\n promiseInterceptor\r\n};\r\n\r\nvar baseApi = /*#__PURE__*/Object.freeze({\r\n __proto__: null,\r\n upx2px: upx2px,\r\n addInterceptor: addInterceptor,\r\n removeInterceptor: removeInterceptor,\r\n interceptors: interceptors\r\n});\r\n\r\nfunction findExistsPageIndex (url) {\r\n const pages = getCurrentPages();\r\n let len = pages.length;\r\n while (len--) {\r\n const page = pages[len];\r\n if (page.$page && page.$page.fullPath === url) {\r\n return len\r\n }\r\n }\r\n return -1\r\n}\r\n\r\nvar redirectTo = {\r\n name (fromArgs) {\r\n if (fromArgs.exists === 'back' && fromArgs.delta) {\r\n return 'navigateBack'\r\n }\r\n return 'redirectTo'\r\n },\r\n args (fromArgs) {\r\n if (fromArgs.exists === 'back' && fromArgs.url) {\r\n const existsPageIndex = findExistsPageIndex(fromArgs.url);\r\n if (existsPageIndex !== -1) {\r\n const delta = getCurrentPages().length - 1 - existsPageIndex;\r\n if (delta > 0) {\r\n fromArgs.delta = delta;\r\n }\r\n }\r\n }\r\n }\r\n};\r\n\r\nvar previewImage = {\r\n args (fromArgs) {\r\n let currentIndex = parseInt(fromArgs.current);\r\n if (isNaN(currentIndex)) {\r\n return\r\n }\r\n const urls = fromArgs.urls;\r\n if (!Array.isArray(urls)) {\r\n return\r\n }\r\n const len = urls.length;\r\n if (!len) {\r\n return\r\n }\r\n if (currentIndex < 0) {\r\n currentIndex = 0;\r\n } else if (currentIndex >= len) {\r\n currentIndex = len - 1;\r\n }\r\n if (currentIndex > 0) {\r\n fromArgs.current = urls[currentIndex];\r\n fromArgs.urls = urls.filter(\r\n (item, index) => index < currentIndex ? item !== urls[currentIndex] : true\r\n );\r\n } else {\r\n fromArgs.current = urls[0];\r\n }\r\n return {\r\n indicator: false,\r\n loop: false\r\n }\r\n }\r\n};\r\n\r\nconst UUID_KEY = '__DC_STAT_UUID';\r\nlet deviceId;\r\nfunction addUuid (result) {\r\n deviceId = deviceId || wx.getStorageSync(UUID_KEY);\r\n if (!deviceId) {\r\n deviceId = Date.now() + '' + Math.floor(Math.random() * 1e7);\r\n wx.setStorage({\r\n key: UUID_KEY,\r\n data: deviceId\r\n });\r\n }\r\n result.deviceId = deviceId;\r\n}\r\n\r\nfunction addSafeAreaInsets (result) {\r\n if (result.safeArea) {\r\n const safeArea = result.safeArea;\r\n result.safeAreaInsets = {\r\n top: safeArea.top,\r\n left: safeArea.left,\r\n right: result.windowWidth - safeArea.right,\r\n bottom: result.windowHeight - safeArea.bottom\r\n };\r\n }\r\n}\r\n\r\nvar getSystemInfo = {\r\n returnValue: function (result) {\r\n addUuid(result);\r\n addSafeAreaInsets(result);\r\n }\r\n};\r\n\r\n// import navigateTo from 'uni-helpers/navigate-to'\r\n\r\nconst protocols = {\r\n redirectTo,\r\n // navigateTo, // 由于在微信开发者工具的页面参数,会显示__id__参数,因此暂时关闭mp-weixin对于navigateTo的AOP\r\n previewImage,\r\n getSystemInfo,\r\n getSystemInfoSync: getSystemInfo\r\n};\r\nconst todos = [\r\n 'vibrate',\r\n 'preloadPage',\r\n 'unPreloadPage',\r\n 'loadSubPackage'\r\n];\r\nconst canIUses = [];\r\n\r\nconst CALLBACKS = ['success', 'fail', 'cancel', 'complete'];\r\n\r\nfunction processCallback (methodName, method, returnValue) {\r\n return function (res) {\r\n return method(processReturnValue(methodName, res, returnValue))\r\n }\r\n}\r\n\r\nfunction processArgs (methodName, fromArgs, argsOption = {}, returnValue = {}, keepFromArgs = false) {\r\n if (isPlainObject(fromArgs)) { // 一般 api 的参数解析\r\n const toArgs = keepFromArgs === true ? fromArgs : {}; // returnValue 为 false 时,说明是格式化返回值,直接在返回值对象上修改赋值\r\n if (isFn(argsOption)) {\r\n argsOption = argsOption(fromArgs, toArgs) || {};\r\n }\r\n for (const key in fromArgs) {\r\n if (hasOwn(argsOption, key)) {\r\n let keyOption = argsOption[key];\r\n if (isFn(keyOption)) {\r\n keyOption = keyOption(fromArgs[key], fromArgs, toArgs);\r\n }\r\n if (!keyOption) { // 不支持的参数\r\n console.warn(`The '${methodName}' method of platform '微信小程序' does not support option '${key}'`);\r\n } else if (isStr(keyOption)) { // 重写参数 key\r\n toArgs[keyOption] = fromArgs[key];\r\n } else if (isPlainObject(keyOption)) { // {name:newName,value:value}可重新指定参数 key:value\r\n toArgs[keyOption.name ? keyOption.name : key] = keyOption.value;\r\n }\r\n } else if (CALLBACKS.indexOf(key) !== -1) {\r\n if (isFn(fromArgs[key])) {\r\n toArgs[key] = processCallback(methodName, fromArgs[key], returnValue);\r\n }\r\n } else {\r\n if (!keepFromArgs) {\r\n toArgs[key] = fromArgs[key];\r\n }\r\n }\r\n }\r\n return toArgs\r\n } else if (isFn(fromArgs)) {\r\n fromArgs = processCallback(methodName, fromArgs, returnValue);\r\n }\r\n return fromArgs\r\n}\r\n\r\nfunction processReturnValue (methodName, res, returnValue, keepReturnValue = false) {\r\n if (isFn(protocols.returnValue)) { // 处理通用 returnValue\r\n res = protocols.returnValue(methodName, res);\r\n }\r\n return processArgs(methodName, res, returnValue, {}, keepReturnValue)\r\n}\r\n\r\nfunction wrapper (methodName, method) {\r\n if (hasOwn(protocols, methodName)) {\r\n const protocol = protocols[methodName];\r\n if (!protocol) { // 暂不支持的 api\r\n return function () {\r\n console.error(`Platform '微信小程序' does not support '${methodName}'.`);\r\n }\r\n }\r\n return function (arg1, arg2) { // 目前 api 最多两个参数\r\n let options = protocol;\r\n if (isFn(protocol)) {\r\n options = protocol(arg1);\r\n }\r\n\r\n arg1 = processArgs(methodName, arg1, options.args, options.returnValue);\r\n\r\n const args = [arg1];\r\n if (typeof arg2 !== 'undefined') {\r\n args.push(arg2);\r\n }\r\n if (isFn(options.name)) {\r\n methodName = options.name(arg1);\r\n } else if (isStr(options.name)) {\r\n methodName = options.name;\r\n }\r\n const returnValue = wx[methodName].apply(wx, args);\r\n if (isSyncApi(methodName)) { // 同步 api\r\n return processReturnValue(methodName, returnValue, options.returnValue, isContextApi(methodName))\r\n }\r\n return returnValue\r\n }\r\n }\r\n return method\r\n}\r\n\r\nconst todoApis = Object.create(null);\r\n\r\nconst TODOS = [\r\n 'onTabBarMidButtonTap',\r\n 'subscribePush',\r\n 'unsubscribePush',\r\n 'onPush',\r\n 'offPush',\r\n 'share'\r\n];\r\n\r\nfunction createTodoApi (name) {\r\n return function todoApi ({\r\n fail,\r\n complete\r\n }) {\r\n const res = {\r\n errMsg: `${name}:fail method '${name}' not supported`\r\n };\r\n isFn(fail) && fail(res);\r\n isFn(complete) && complete(res);\r\n }\r\n}\r\n\r\nTODOS.forEach(function (name) {\r\n todoApis[name] = createTodoApi(name);\r\n});\r\n\r\nvar providers = {\r\n oauth: ['weixin'],\r\n share: ['weixin'],\r\n payment: ['wxpay'],\r\n push: ['weixin']\r\n};\r\n\r\nfunction getProvider ({\r\n service,\r\n success,\r\n fail,\r\n complete\r\n}) {\r\n let res = false;\r\n if (providers[service]) {\r\n res = {\r\n errMsg: 'getProvider:ok',\r\n service,\r\n provider: providers[service]\r\n };\r\n isFn(success) && success(res);\r\n } else {\r\n res = {\r\n errMsg: 'getProvider:fail service not found'\r\n };\r\n isFn(fail) && fail(res);\r\n }\r\n isFn(complete) && complete(res);\r\n}\r\n\r\nvar extraApi = /*#__PURE__*/Object.freeze({\r\n __proto__: null,\r\n getProvider: getProvider\r\n});\r\n\r\nconst getEmitter = (function () {\r\n let Emitter;\r\n return function getUniEmitter () {\r\n if (!Emitter) {\r\n Emitter = new Vue();\r\n }\r\n return Emitter\r\n }\r\n})();\r\n\r\nfunction apply (ctx, method, args) {\r\n return ctx[method].apply(ctx, args)\r\n}\r\n\r\nfunction $on () {\r\n return apply(getEmitter(), '$on', [...arguments])\r\n}\r\nfunction $off () {\r\n return apply(getEmitter(), '$off', [...arguments])\r\n}\r\nfunction $once () {\r\n return apply(getEmitter(), '$once', [...arguments])\r\n}\r\nfunction $emit () {\r\n return apply(getEmitter(), '$emit', [...arguments])\r\n}\r\n\r\nvar eventApi = /*#__PURE__*/Object.freeze({\r\n __proto__: null,\r\n $on: $on,\r\n $off: $off,\r\n $once: $once,\r\n $emit: $emit\r\n});\r\n\r\nvar api = /*#__PURE__*/Object.freeze({\r\n __proto__: null\r\n});\r\n\r\nconst MPPage = Page;\r\nconst MPComponent = Component;\r\n\r\nconst customizeRE = /:/g;\r\n\r\nconst customize = cached((str) => {\r\n return camelize(str.replace(customizeRE, '-'))\r\n});\r\n\r\nfunction initTriggerEvent (mpInstance) {\r\n {\r\n if (!wx.canIUse || !wx.canIUse('nextTick')) {\r\n return\r\n }\r\n }\r\n const oldTriggerEvent = mpInstance.triggerEvent;\r\n mpInstance.triggerEvent = function (event, ...args) {\r\n return oldTriggerEvent.apply(mpInstance, [customize(event), ...args])\r\n };\r\n}\r\n\r\nfunction initHook (name, options) {\r\n const oldHook = options[name];\r\n if (!oldHook) {\r\n options[name] = function () {\r\n initTriggerEvent(this);\r\n };\r\n } else {\r\n options[name] = function (...args) {\r\n initTriggerEvent(this);\r\n return oldHook.apply(this, args)\r\n };\r\n }\r\n}\r\nif (!MPPage.__$wrappered) {\r\n MPPage.__$wrappered = true;\r\n Page = function (options = {}) {\r\n initHook('onLoad', options);\r\n return MPPage(options)\r\n };\r\n Page.after = MPPage.after;\r\n\r\n Component = function (options = {}) {\r\n initHook('created', options);\r\n return MPComponent(options)\r\n };\r\n}\r\n\r\nconst PAGE_EVENT_HOOKS = [\r\n 'onPullDownRefresh',\r\n 'onReachBottom',\r\n 'onAddToFavorites',\r\n 'onShareTimeline',\r\n 'onShareAppMessage',\r\n 'onPageScroll',\r\n 'onResize',\r\n 'onTabItemTap'\r\n];\r\n\r\nfunction initMocks (vm, mocks) {\r\n const mpInstance = vm.$mp[vm.mpType];\r\n mocks.forEach(mock => {\r\n if (hasOwn(mpInstance, mock)) {\r\n vm[mock] = mpInstance[mock];\r\n }\r\n });\r\n}\r\n\r\nfunction hasHook (hook, vueOptions) {\r\n if (!vueOptions) {\r\n return true\r\n }\r\n\r\n if (Vue.options && Array.isArray(Vue.options[hook])) {\r\n return true\r\n }\r\n\r\n vueOptions = vueOptions.default || vueOptions;\r\n\r\n if (isFn(vueOptions)) {\r\n if (isFn(vueOptions.extendOptions[hook])) {\r\n return true\r\n }\r\n if (vueOptions.super &&\r\n vueOptions.super.options &&\r\n Array.isArray(vueOptions.super.options[hook])) {\r\n return true\r\n }\r\n return false\r\n }\r\n\r\n if (isFn(vueOptions[hook])) {\r\n return true\r\n }\r\n const mixins = vueOptions.mixins;\r\n if (Array.isArray(mixins)) {\r\n return !!mixins.find(mixin => hasHook(hook, mixin))\r\n }\r\n}\r\n\r\nfunction initHooks (mpOptions, hooks, vueOptions) {\r\n hooks.forEach(hook => {\r\n if (hasHook(hook, vueOptions)) {\r\n mpOptions[hook] = function (args) {\r\n return this.$vm && this.$vm.__call_hook(hook, args)\r\n };\r\n }\r\n });\r\n}\r\n\r\nfunction initVueComponent (Vue, vueOptions) {\r\n vueOptions = vueOptions.default || vueOptions;\r\n let VueComponent;\r\n if (isFn(vueOptions)) {\r\n VueComponent = vueOptions;\r\n } else {\r\n VueComponent = Vue.extend(vueOptions);\r\n }\r\n vueOptions = VueComponent.options;\r\n return [VueComponent, vueOptions]\r\n}\r\n\r\nfunction initSlots (vm, vueSlots) {\r\n if (Array.isArray(vueSlots) && vueSlots.length) {\r\n const $slots = Object.create(null);\r\n vueSlots.forEach(slotName => {\r\n $slots[slotName] = true;\r\n });\r\n vm.$scopedSlots = vm.$slots = $slots;\r\n }\r\n}\r\n\r\nfunction initVueIds (vueIds, mpInstance) {\r\n vueIds = (vueIds || '').split(',');\r\n const len = vueIds.length;\r\n\r\n if (len === 1) {\r\n mpInstance._$vueId = vueIds[0];\r\n } else if (len === 2) {\r\n mpInstance._$vueId = vueIds[0];\r\n mpInstance._$vuePid = vueIds[1];\r\n }\r\n}\r\n\r\nfunction initData (vueOptions, context) {\r\n let data = vueOptions.data || {};\r\n const methods = vueOptions.methods || {};\r\n\r\n if (typeof data === 'function') {\r\n try {\r\n data = data.call(context); // 支持 Vue.prototype 上挂的数据\r\n } catch (e) {\r\n if (process.env.VUE_APP_DEBUG) {\r\n console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);\r\n }\r\n }\r\n } else {\r\n try {\r\n // 对 data 格式化\r\n data = JSON.parse(JSON.stringify(data));\r\n } catch (e) {}\r\n }\r\n\r\n if (!isPlainObject(data)) {\r\n data = {};\r\n }\r\n\r\n Object.keys(methods).forEach(methodName => {\r\n if (context.__lifecycle_hooks__.indexOf(methodName) === -1 && !hasOwn(data, methodName)) {\r\n data[methodName] = methods[methodName];\r\n }\r\n });\r\n\r\n return data\r\n}\r\n\r\nconst PROP_TYPES = [String, Number, Boolean, Object, Array, null];\r\n\r\nfunction createObserver (name) {\r\n return function observer (newVal, oldVal) {\r\n if (this.$vm) {\r\n this.$vm[name] = newVal; // 为了触发其他非 render watcher\r\n }\r\n }\r\n}\r\n\r\nfunction initBehaviors (vueOptions, initBehavior) {\r\n const vueBehaviors = vueOptions.behaviors;\r\n const vueExtends = vueOptions.extends;\r\n const vueMixins = vueOptions.mixins;\r\n\r\n let vueProps = vueOptions.props;\r\n\r\n if (!vueProps) {\r\n vueOptions.props = vueProps = [];\r\n }\r\n\r\n const behaviors = [];\r\n if (Array.isArray(vueBehaviors)) {\r\n vueBehaviors.forEach(behavior => {\r\n behaviors.push(behavior.replace('uni://', `${\"wx\"}://`));\r\n if (behavior === 'uni://form-field') {\r\n if (Array.isArray(vueProps)) {\r\n vueProps.push('name');\r\n vueProps.push('value');\r\n } else {\r\n vueProps.name = {\r\n type: String,\r\n default: ''\r\n };\r\n vueProps.value = {\r\n type: [String, Number, Boolean, Array, Object, Date],\r\n default: ''\r\n };\r\n }\r\n }\r\n });\r\n }\r\n if (isPlainObject(vueExtends) && vueExtends.props) {\r\n behaviors.push(\r\n initBehavior({\r\n properties: initProperties(vueExtends.props, true)\r\n })\r\n );\r\n }\r\n if (Array.isArray(vueMixins)) {\r\n vueMixins.forEach(vueMixin => {\r\n if (isPlainObject(vueMixin) && vueMixin.props) {\r\n behaviors.push(\r\n initBehavior({\r\n properties: initProperties(vueMixin.props, true)\r\n })\r\n );\r\n }\r\n });\r\n }\r\n return behaviors\r\n}\r\n\r\nfunction parsePropType (key, type, defaultValue, file) {\r\n // [String]=>String\r\n if (Array.isArray(type) && type.length === 1) {\r\n return type[0]\r\n }\r\n return type\r\n}\r\n\r\nfunction initProperties (props, isBehavior = false, file = '') {\r\n const properties = {};\r\n if (!isBehavior) {\r\n properties.vueId = {\r\n type: String,\r\n value: ''\r\n };\r\n // 用于字节跳动小程序模拟抽象节点\r\n properties.generic = {\r\n type: Object,\r\n value: null\r\n };\r\n // scopedSlotsCompiler auto\r\n properties.scopedSlotsCompiler = {\r\n type: String,\r\n value: ''\r\n };\r\n properties.vueSlots = { // 小程序不能直接定义 $slots 的 props,所以通过 vueSlots 转换到 $slots\r\n type: null,\r\n value: [],\r\n observer: function (newVal, oldVal) {\r\n const $slots = Object.create(null);\r\n newVal.forEach(slotName => {\r\n $slots[slotName] = true;\r\n });\r\n this.setData({\r\n $slots\r\n });\r\n }\r\n };\r\n }\r\n if (Array.isArray(props)) { // ['title']\r\n props.forEach(key => {\r\n properties[key] = {\r\n type: null,\r\n observer: createObserver(key)\r\n };\r\n });\r\n } else if (isPlainObject(props)) { // {title:{type:String,default:''},content:String}\r\n Object.keys(props).forEach(key => {\r\n const opts = props[key];\r\n if (isPlainObject(opts)) { // title:{type:String,default:''}\r\n let value = opts.default;\r\n if (isFn(value)) {\r\n value = value();\r\n }\r\n\r\n opts.type = parsePropType(key, opts.type);\r\n\r\n properties[key] = {\r\n type: PROP_TYPES.indexOf(opts.type) !== -1 ? opts.type : null,\r\n value,\r\n observer: createObserver(key)\r\n };\r\n } else { // content:String\r\n const type = parsePropType(key, opts);\r\n properties[key] = {\r\n type: PROP_TYPES.indexOf(type) !== -1 ? type : null,\r\n observer: createObserver(key)\r\n };\r\n }\r\n });\r\n }\r\n return properties\r\n}\r\n\r\nfunction wrapper$1 (event) {\r\n // TODO 又得兼容 mpvue 的 mp 对象\r\n try {\r\n event.mp = JSON.parse(JSON.stringify(event));\r\n } catch (e) {}\r\n\r\n event.stopPropagation = noop;\r\n event.preventDefault = noop;\r\n\r\n event.target = event.target || {};\r\n\r\n if (!hasOwn(event, 'detail')) {\r\n event.detail = {};\r\n }\r\n\r\n if (hasOwn(event, 'markerId')) {\r\n event.detail = typeof event.detail === 'object' ? event.detail : {};\r\n event.detail.markerId = event.markerId;\r\n }\r\n\r\n if (isPlainObject(event.detail)) {\r\n event.target = Object.assign({}, event.target, event.detail);\r\n }\r\n\r\n return event\r\n}\r\n\r\nfunction getExtraValue (vm, dataPathsArray) {\r\n let context = vm;\r\n dataPathsArray.forEach(dataPathArray => {\r\n const dataPath = dataPathArray[0];\r\n const value = dataPathArray[2];\r\n if (dataPath || typeof value !== 'undefined') { // ['','',index,'disable']\r\n const propPath = dataPathArray[1];\r\n const valuePath = dataPathArray[3];\r\n\r\n let vFor;\r\n if (Number.isInteger(dataPath)) {\r\n vFor = dataPath;\r\n } else if (!dataPath) {\r\n vFor = context;\r\n } else if (typeof dataPath === 'string' && dataPath) {\r\n if (dataPath.indexOf('#s#') === 0) {\r\n vFor = dataPath.substr(3);\r\n } else {\r\n vFor = vm.__get_value(dataPath, context);\r\n }\r\n }\r\n\r\n if (Number.isInteger(vFor)) {\r\n context = value;\r\n } else if (!propPath) {\r\n context = vFor[value];\r\n } else {\r\n if (Array.isArray(vFor)) {\r\n context = vFor.find(vForItem => {\r\n return vm.__get_value(propPath, vForItem) === value\r\n });\r\n } else if (isPlainObject(vFor)) {\r\n context = Object.keys(vFor).find(vForKey => {\r\n return vm.__get_value(propPath, vFor[vForKey]) === value\r\n });\r\n } else {\r\n console.error('v-for 暂不支持循环数据:', vFor);\r\n }\r\n }\r\n\r\n if (valuePath) {\r\n context = vm.__get_value(valuePath, context);\r\n }\r\n }\r\n });\r\n return context\r\n}\r\n\r\nfunction processEventExtra (vm, extra, event) {\r\n const extraObj = {};\r\n\r\n if (Array.isArray(extra) && extra.length) {\r\n /**\r\n *[\r\n * ['data.items', 'data.id', item.data.id],\r\n * ['metas', 'id', meta.id]\r\n *],\r\n *[\r\n * ['data.items', 'data.id', item.data.id],\r\n * ['metas', 'id', meta.id]\r\n *],\r\n *'test'\r\n */\r\n extra.forEach((dataPath, index) => {\r\n if (typeof dataPath === 'string') {\r\n if (!dataPath) { // model,prop.sync\r\n extraObj['$' + index] = vm;\r\n } else {\r\n if (dataPath === '$event') { // $event\r\n extraObj['$' + index] = event;\r\n } else if (dataPath === 'arguments') {\r\n if (event.detail && event.detail.__args__) {\r\n extraObj['$' + index] = event.detail.__args__;\r\n } else {\r\n extraObj['$' + index] = [event];\r\n }\r\n } else if (dataPath.indexOf('$event.') === 0) { // $event.target.value\r\n extraObj['$' + index] = vm.__get_value(dataPath.replace('$event.', ''), event);\r\n } else {\r\n extraObj['$' + index] = vm.__get_value(dataPath);\r\n }\r\n }\r\n } else {\r\n extraObj['$' + index] = getExtraValue(vm, dataPath);\r\n }\r\n });\r\n }\r\n\r\n return extraObj\r\n}\r\n\r\nfunction getObjByArray (arr) {\r\n const obj = {};\r\n for (let i = 1; i < arr.length; i++) {\r\n const element = arr[i];\r\n obj[element[0]] = element[1];\r\n }\r\n return obj\r\n}\r\n\r\nfunction processEventArgs (vm, event, args = [], extra = [], isCustom, methodName) {\r\n let isCustomMPEvent = false; // wxcomponent 组件,传递原始 event 对象\r\n if (isCustom) { // 自定义事件\r\n isCustomMPEvent = event.currentTarget &&\r\n event.currentTarget.dataset &&\r\n event.currentTarget.dataset.comType === 'wx';\r\n if (!args.length) { // 无参数,直接传入 event 或 detail 数组\r\n if (isCustomMPEvent) {\r\n return [event]\r\n }\r\n return event.detail.__args__ || event.detail\r\n }\r\n }\r\n\r\n const extraObj = processEventExtra(vm, extra, event);\r\n\r\n const ret = [];\r\n args.forEach(arg => {\r\n if (arg === '$event') {\r\n if (methodName === '__set_model' && !isCustom) { // input v-model value\r\n ret.push(event.target.value);\r\n } else {\r\n if (isCustom && !isCustomMPEvent) {\r\n ret.push(event.detail.__args__[0]);\r\n } else { // wxcomponent 组件或内置组件\r\n ret.push(event);\r\n }\r\n }\r\n } else {\r\n if (Array.isArray(arg) && arg[0] === 'o') {\r\n ret.push(getObjByArray(arg));\r\n } else if (typeof arg === 'string' && hasOwn(extraObj, arg)) {\r\n ret.push(extraObj[arg]);\r\n } else {\r\n ret.push(arg);\r\n }\r\n }\r\n });\r\n\r\n return ret\r\n}\r\n\r\nconst ONCE = '~';\r\nconst CUSTOM = '^';\r\n\r\nfunction isMatchEventType (eventType, optType) {\r\n return (eventType === optType) ||\r\n (\r\n optType === 'regionchange' &&\r\n (\r\n eventType === 'begin' ||\r\n eventType === 'end'\r\n )\r\n )\r\n}\r\n\r\nfunction getContextVm (vm) {\r\n let $parent = vm.$parent;\r\n // 父组件是 scoped slots 或者其他自定义组件时继续查找\r\n while ($parent && $parent.$parent && ($parent.$options.generic || $parent.$parent.$options.generic || $parent.$scope._$vuePid)) {\r\n $parent = $parent.$parent;\r\n }\r\n return $parent && $parent.$parent\r\n}\r\n\r\nfunction handleEvent (event) {\r\n event = wrapper$1(event);\r\n\r\n // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]\r\n const dataset = (event.currentTarget || event.target).dataset;\r\n if (!dataset) {\r\n return console.warn('事件信息不存在')\r\n }\r\n const eventOpts = dataset.eventOpts || dataset['event-opts']; // 支付宝 web-view 组件 dataset 非驼峰\r\n if (!eventOpts) {\r\n return console.warn('事件信息不存在')\r\n }\r\n\r\n // [['handle',[1,2,a]],['handle1',[1,2,a]]]\r\n const eventType = event.type;\r\n\r\n const ret = [];\r\n\r\n eventOpts.forEach(eventOpt => {\r\n let type = eventOpt[0];\r\n const eventsArray = eventOpt[1];\r\n\r\n const isCustom = type.charAt(0) === CUSTOM;\r\n type = isCustom ? type.slice(1) : type;\r\n const isOnce = type.charAt(0) === ONCE;\r\n type = isOnce ? type.slice(1) : type;\r\n\r\n if (eventsArray && isMatchEventType(eventType, type)) {\r\n eventsArray.forEach(eventArray => {\r\n const methodName = eventArray[0];\r\n if (methodName) {\r\n let handlerCtx = this.$vm;\r\n if (handlerCtx.$options.generic) { // mp-weixin,mp-toutiao 抽象节点模拟 scoped slots\r\n handlerCtx = getContextVm(handlerCtx) || handlerCtx;\r\n }\r\n if (methodName === '$emit') {\r\n handlerCtx.$emit.apply(handlerCtx,\r\n processEventArgs(\r\n this.$vm,\r\n event,\r\n eventArray[1],\r\n eventArray[2],\r\n isCustom,\r\n methodName\r\n ));\r\n return\r\n }\r\n const handler = handlerCtx[methodName];\r\n if (!isFn(handler)) {\r\n throw new Error(` _vm.${methodName} is not a function`)\r\n }\r\n if (isOnce) {\r\n if (handler.once) {\r\n return\r\n }\r\n handler.once = true;\r\n }\r\n let params = processEventArgs(\r\n this.$vm,\r\n event,\r\n eventArray[1],\r\n eventArray[2],\r\n isCustom,\r\n methodName\r\n );\r\n params = Array.isArray(params) ? params : [];\r\n // 参数尾部增加原始事件对象用于复杂表达式内获取额外数据\r\n if (/=\\s*\\S+\\.eventParams\\s*\\|\\|\\s*\\S+\\[['\"]event-params['\"]\\]/.test(handler.toString())) {\r\n // eslint-disable-next-line no-sparse-arrays\r\n params = params.concat([, , , , , , , , , , event]);\r\n }\r\n ret.push(handler.apply(handlerCtx, params));\r\n }\r\n });\r\n }\r\n });\r\n\r\n if (\r\n eventType === 'input' &&\r\n ret.length === 1 &&\r\n typeof ret[0] !== 'undefined'\r\n ) {\r\n return ret[0]\r\n }\r\n}\r\n\r\nconst eventChannels = {};\r\n\r\nconst eventChannelStack = [];\r\n\r\nfunction getEventChannel (id) {\r\n if (id) {\r\n const eventChannel = eventChannels[id];\r\n delete eventChannels[id];\r\n return eventChannel\r\n }\r\n return eventChannelStack.shift()\r\n}\r\n\r\nconst hooks = [\r\n 'onShow',\r\n 'onHide',\r\n 'onError',\r\n 'onPageNotFound',\r\n 'onThemeChange',\r\n 'onUnhandledRejection'\r\n];\r\n\r\nfunction initEventChannel () {\r\n Vue.prototype.getOpenerEventChannel = function () {\r\n // 微信小程序使用自身getOpenerEventChannel\r\n {\r\n return this.$scope.getOpenerEventChannel()\r\n }\r\n };\r\n const callHook = Vue.prototype.__call_hook;\r\n Vue.prototype.__call_hook = function (hook, args) {\r\n if (hook === 'onLoad' && args && args.__id__) {\r\n this.__eventChannel__ = getEventChannel(args.__id__);\r\n delete args.__id__;\r\n }\r\n return callHook.call(this, hook, args)\r\n };\r\n}\r\n\r\nfunction initScopedSlotsParams () {\r\n const center = {};\r\n const parents = {};\r\n\r\n Vue.prototype.$hasScopedSlotsParams = function (vueId) {\r\n const has = center[vueId];\r\n if (!has) {\r\n parents[vueId] = this;\r\n this.$on('hook:destory', () => {\r\n delete parents[vueId];\r\n });\r\n }\r\n return has\r\n };\r\n\r\n Vue.prototype.$getScopedSlotsParams = function (vueId, name, key) {\r\n const data = center[vueId];\r\n if (data) {\r\n const object = data[name] || {};\r\n return key ? object[key] : object\r\n } else {\r\n parents[vueId] = this;\r\n this.$on('hook:destory', () => {\r\n delete parents[vueId];\r\n });\r\n }\r\n };\r\n\r\n Vue.prototype.$setScopedSlotsParams = function (name, value) {\r\n const vueIds = this.$options.propsData.vueId;\r\n if (vueIds) {\r\n const vueId = vueIds.split(',')[0];\r\n const object = center[vueId] = center[vueId] || {};\r\n object[name] = value;\r\n if (parents[vueId]) {\r\n parents[vueId].$forceUpdate();\r\n }\r\n }\r\n };\r\n\r\n Vue.mixin({\r\n destroyed () {\r\n const propsData = this.$options.propsData;\r\n const vueId = propsData && propsData.vueId;\r\n if (vueId) {\r\n delete center[vueId];\r\n delete parents[vueId];\r\n }\r\n }\r\n });\r\n}\r\n\r\nfunction parseBaseApp (vm, {\r\n mocks,\r\n initRefs\r\n}) {\r\n initEventChannel();\r\n {\r\n initScopedSlotsParams();\r\n }\r\n if (vm.$options.store) {\r\n Vue.prototype.$store = vm.$options.store;\r\n }\r\n uniIdMixin(Vue);\r\n\r\n Vue.prototype.mpHost = \"mp-weixin\";\r\n\r\n Vue.mixin({\r\n beforeCreate () {\r\n if (!this.$options.mpType) {\r\n return\r\n }\r\n\r\n this.mpType = this.$options.mpType;\r\n\r\n this.$mp = {\r\n data: {},\r\n [this.mpType]: this.$options.mpInstance\r\n };\r\n\r\n this.$scope = this.$options.mpInstance;\r\n\r\n delete this.$options.mpType;\r\n delete this.$options.mpInstance;\r\n if (this.mpType === 'page' && typeof getApp === 'function') { // hack vue-i18n\r\n const app = getApp();\r\n if (app.$vm && app.$vm.$i18n) {\r\n this._i18n = app.$vm.$i18n;\r\n }\r\n }\r\n if (this.mpType !== 'app') {\r\n initRefs(this);\r\n initMocks(this, mocks);\r\n }\r\n }\r\n });\r\n\r\n const appOptions = {\r\n onLaunch (args) {\r\n if (this.$vm) { // 已经初始化过了,主要是为了百度,百度 onShow 在 onLaunch 之前\r\n return\r\n }\r\n {\r\n if (wx.canIUse && !wx.canIUse('nextTick')) { // 事实 上2.2.3 即可,简单使用 2.3.0 的 nextTick 判断\r\n console.error('当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上');\r\n }\r\n }\r\n\r\n this.$vm = vm;\r\n\r\n this.$vm.$mp = {\r\n app: this\r\n };\r\n\r\n this.$vm.$scope = this;\r\n // vm 上也挂载 globalData\r\n this.$vm.globalData = this.globalData;\r\n\r\n this.$vm._isMounted = true;\r\n this.$vm.__call_hook('mounted', args);\r\n\r\n this.$vm.__call_hook('onLaunch', args);\r\n }\r\n };\r\n\r\n // 兼容旧版本 globalData\r\n appOptions.globalData = vm.$options.globalData || {};\r\n // 将 methods 中的方法挂在 getApp() 中\r\n const methods = vm.$options.methods;\r\n if (methods) {\r\n Object.keys(methods).forEach(name => {\r\n appOptions[name] = methods[name];\r\n });\r\n }\r\n\r\n initHooks(appOptions, hooks);\r\n\r\n return appOptions\r\n}\r\n\r\nconst mocks = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__'];\r\n\r\nfunction findVmByVueId (vm, vuePid) {\r\n const $children = vm.$children;\r\n // 优先查找直属(反向查找:https://github.com/dcloudio/uni-app/issues/1200)\r\n for (let i = $children.length - 1; i >= 0; i--) {\r\n const childVm = $children[i];\r\n if (childVm.$scope._$vueId === vuePid) {\r\n return childVm\r\n }\r\n }\r\n // 反向递归查找\r\n let parentVm;\r\n for (let i = $children.length - 1; i >= 0; i--) {\r\n parentVm = findVmByVueId($children[i], vuePid);\r\n if (parentVm) {\r\n return parentVm\r\n }\r\n }\r\n}\r\n\r\nfunction initBehavior (options) {\r\n return Behavior(options)\r\n}\r\n\r\nfunction isPage () {\r\n return !!this.route\r\n}\r\n\r\nfunction initRelation (detail) {\r\n this.triggerEvent('__l', detail);\r\n}\r\n\r\nfunction selectAllComponents (mpInstance, selector, $refs) {\r\n const components = mpInstance.selectAllComponents(selector);\r\n components.forEach(component => {\r\n const ref = component.dataset.ref;\r\n $refs[ref] = component.$vm || component;\r\n {\r\n if (component.dataset.vueGeneric === 'scoped') {\r\n component.selectAllComponents('.scoped-ref').forEach(scopedComponent => {\r\n selectAllComponents(scopedComponent, selector, $refs);\r\n });\r\n }\r\n }\r\n });\r\n}\r\n\r\nfunction initRefs (vm) {\r\n const mpInstance = vm.$scope;\r\n Object.defineProperty(vm, '$refs', {\r\n get () {\r\n const $refs = {};\r\n selectAllComponents(mpInstance, '.vue-ref', $refs);\r\n // TODO 暂不考虑 for 中的 scoped\r\n const forComponents = mpInstance.selectAllComponents('.vue-ref-in-for');\r\n forComponents.forEach(component => {\r\n const ref = component.dataset.ref;\r\n if (!$refs[ref]) {\r\n $refs[ref] = [];\r\n }\r\n $refs[ref].push(component.$vm || component);\r\n });\r\n return $refs\r\n }\r\n });\r\n}\r\n\r\nfunction handleLink (event) {\r\n const {\r\n vuePid,\r\n vueOptions\r\n } = event.detail || event.value; // detail 是微信,value 是百度(dipatch)\r\n\r\n let parentVm;\r\n\r\n if (vuePid) {\r\n parentVm = findVmByVueId(this.$vm, vuePid);\r\n }\r\n\r\n if (!parentVm) {\r\n parentVm = this.$vm;\r\n }\r\n\r\n vueOptions.parent = parentVm;\r\n}\r\n\r\nfunction parseApp (vm) {\r\n return parseBaseApp(vm, {\r\n mocks,\r\n initRefs\r\n })\r\n}\r\n\r\nfunction createApp (vm) {\r\n App(parseApp(vm));\r\n return vm\r\n}\r\n\r\nconst encodeReserveRE = /[!'()*]/g;\r\nconst encodeReserveReplacer = c => '%' + c.charCodeAt(0).toString(16);\r\nconst commaRE = /%2C/g;\r\n\r\n// fixed encodeURIComponent which is more conformant to RFC3986:\r\n// - escapes [!'()*]\r\n// - preserve commas\r\nconst encode = str => encodeURIComponent(str)\r\n .replace(encodeReserveRE, encodeReserveReplacer)\r\n .replace(commaRE, ',');\r\n\r\nfunction stringifyQuery (obj, encodeStr = encode) {\r\n const res = obj ? Object.keys(obj).map(key => {\r\n const val = obj[key];\r\n\r\n if (val === undefined) {\r\n return ''\r\n }\r\n\r\n if (val === null) {\r\n return encodeStr(key)\r\n }\r\n\r\n if (Array.isArray(val)) {\r\n const result = [];\r\n val.forEach(val2 => {\r\n if (val2 === undefined) {\r\n return\r\n }\r\n if (val2 === null) {\r\n result.push(encodeStr(key));\r\n } else {\r\n result.push(encodeStr(key) + '=' + encodeStr(val2));\r\n }\r\n });\r\n return result.join('&')\r\n }\r\n\r\n return encodeStr(key) + '=' + encodeStr(val)\r\n }).filter(x => x.length > 0).join('&') : null;\r\n return res ? `?${res}` : ''\r\n}\r\n\r\nfunction parseBaseComponent (vueComponentOptions, {\r\n isPage,\r\n initRelation\r\n} = {}) {\r\n const [VueComponent, vueOptions] = initVueComponent(Vue, vueComponentOptions);\r\n\r\n const options = {\r\n multipleSlots: true,\r\n addGlobalClass: true,\r\n ...(vueOptions.options || {})\r\n };\r\n\r\n {\r\n // 微信 multipleSlots 部分情况有 bug,导致内容顺序错乱 如 u-list,提供覆盖选项\r\n if (vueOptions['mp-weixin'] && vueOptions['mp-weixin'].options) {\r\n Object.assign(options, vueOptions['mp-weixin'].options);\r\n }\r\n }\r\n\r\n const componentOptions = {\r\n options,\r\n data: initData(vueOptions, Vue.prototype),\r\n behaviors: initBehaviors(vueOptions, initBehavior),\r\n properties: initProperties(vueOptions.props, false, vueOptions.__file),\r\n lifetimes: {\r\n attached () {\r\n const properties = this.properties;\r\n\r\n const options = {\r\n mpType: isPage.call(this) ? 'page' : 'component',\r\n mpInstance: this,\r\n propsData: properties\r\n };\r\n\r\n initVueIds(properties.vueId, this);\r\n\r\n // 处理父子关系\r\n initRelation.call(this, {\r\n vuePid: this._$vuePid,\r\n vueOptions: options\r\n });\r\n\r\n // 初始化 vue 实例\r\n this.$vm = new VueComponent(options);\r\n\r\n // 处理$slots,$scopedSlots(暂不支持动态变化$slots)\r\n initSlots(this.$vm, properties.vueSlots);\r\n\r\n // 触发首次 setData\r\n this.$vm.$mount();\r\n },\r\n ready () {\r\n // 当组件 props 默认值为 true,初始化时传入 false 会导致 created,ready 触发, 但 attached 不触发\r\n // https://developers.weixin.qq.com/community/develop/doc/00066ae2844cc0f8eb883e2a557800\r\n if (this.$vm) {\r\n this.$vm._isMounted = true;\r\n this.$vm.__call_hook('mounted');\r\n this.$vm.__call_hook('onReady');\r\n }\r\n },\r\n detached () {\r\n this.$vm && this.$vm.$destroy();\r\n }\r\n },\r\n pageLifetimes: {\r\n show (args) {\r\n this.$vm && this.$vm.__call_hook('onPageShow', args);\r\n },\r\n hide () {\r\n this.$vm && this.$vm.__call_hook('onPageHide');\r\n },\r\n resize (size) {\r\n this.$vm && this.$vm.__call_hook('onPageResize', size);\r\n }\r\n },\r\n methods: {\r\n __l: handleLink,\r\n __e: handleEvent\r\n }\r\n };\r\n // externalClasses\r\n if (vueOptions.externalClasses) {\r\n componentOptions.externalClasses = vueOptions.externalClasses;\r\n }\r\n\r\n if (Array.isArray(vueOptions.wxsCallMethods)) {\r\n vueOptions.wxsCallMethods.forEach(callMethod => {\r\n componentOptions.methods[callMethod] = function (args) {\r\n return this.$vm[callMethod](args)\r\n };\r\n });\r\n }\r\n\r\n if (isPage) {\r\n return componentOptions\r\n }\r\n return [componentOptions, VueComponent]\r\n}\r\n\r\nfunction parseComponent (vueComponentOptions) {\r\n return parseBaseComponent(vueComponentOptions, {\r\n isPage,\r\n initRelation\r\n })\r\n}\r\n\r\nconst hooks$1 = [\r\n 'onShow',\r\n 'onHide',\r\n 'onUnload'\r\n];\r\n\r\nhooks$1.push(...PAGE_EVENT_HOOKS);\r\n\r\nfunction parseBasePage (vuePageOptions, {\r\n isPage,\r\n initRelation\r\n}) {\r\n const pageOptions = parseComponent(vuePageOptions);\r\n\r\n initHooks(pageOptions.methods, hooks$1, vuePageOptions);\r\n\r\n pageOptions.methods.onLoad = function (query) {\r\n this.options = query;\r\n const copyQuery = Object.assign({}, query);\r\n delete copyQuery.__id__;\r\n this.$page = {\r\n fullPath: '/' + (this.route || this.is) + stringifyQuery(copyQuery)\r\n };\r\n this.$vm.$mp.query = query; // 兼容 mpvue\r\n this.$vm.__call_hook('onLoad', query);\r\n };\r\n\r\n return pageOptions\r\n}\r\n\r\nfunction parsePage (vuePageOptions) {\r\n return parseBasePage(vuePageOptions, {\r\n isPage,\r\n initRelation\r\n })\r\n}\r\n\r\nfunction createPage (vuePageOptions) {\r\n {\r\n return Component(parsePage(vuePageOptions))\r\n }\r\n}\r\n\r\nfunction createComponent (vueOptions) {\r\n {\r\n return Component(parseComponent(vueOptions))\r\n }\r\n}\r\n\r\nfunction createSubpackageApp (vm) {\r\n const appOptions = parseApp(vm);\r\n const app = getApp({\r\n allowDefault: true\r\n });\r\n vm.$scope = app;\r\n const globalData = app.globalData;\r\n if (globalData) {\r\n Object.keys(appOptions.globalData).forEach(name => {\r\n if (!hasOwn(globalData, name)) {\r\n globalData[name] = appOptions.globalData[name];\r\n }\r\n });\r\n }\r\n Object.keys(appOptions).forEach(name => {\r\n if (!hasOwn(app, name)) {\r\n app[name] = appOptions[name];\r\n }\r\n });\r\n if (isFn(appOptions.onShow) && wx.onAppShow) {\r\n wx.onAppShow((...args) => {\r\n vm.__call_hook('onShow', args);\r\n });\r\n }\r\n if (isFn(appOptions.onHide) && wx.onAppHide) {\r\n wx.onAppHide((...args) => {\r\n vm.__call_hook('onHide', args);\r\n });\r\n }\r\n if (isFn(appOptions.onLaunch)) {\r\n const args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();\r\n vm.__call_hook('onLaunch', args);\r\n }\r\n return vm\r\n}\r\n\r\nfunction createPlugin (vm) {\r\n const appOptions = parseApp(vm);\r\n if (isFn(appOptions.onShow) && wx.onAppShow) {\r\n wx.onAppShow((...args) => {\r\n appOptions.onShow.apply(vm, args);\r\n });\r\n }\r\n if (isFn(appOptions.onHide) && wx.onAppHide) {\r\n wx.onAppHide((...args) => {\r\n appOptions.onHide.apply(vm, args);\r\n });\r\n }\r\n if (isFn(appOptions.onLaunch)) {\r\n const args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();\r\n appOptions.onLaunch.call(vm, args);\r\n }\r\n return vm\r\n}\r\n\r\ntodos.forEach(todoApi => {\r\n protocols[todoApi] = false;\r\n});\r\n\r\ncanIUses.forEach(canIUseApi => {\r\n const apiName = protocols[canIUseApi] && protocols[canIUseApi].name ? protocols[canIUseApi].name\r\n : canIUseApi;\r\n if (!wx.canIUse(apiName)) {\r\n protocols[canIUseApi] = false;\r\n }\r\n});\r\n\r\nlet uni = {};\r\n\r\nif (typeof Proxy !== 'undefined' && \"mp-weixin\" !== 'app-plus') {\r\n uni = new Proxy({}, {\r\n get (target, name) {\r\n if (hasOwn(target, name)) {\r\n return target[name]\r\n }\r\n if (baseApi[name]) {\r\n return baseApi[name]\r\n }\r\n if (api[name]) {\r\n return promisify(name, api[name])\r\n }\r\n {\r\n if (extraApi[name]) {\r\n return promisify(name, extraApi[name])\r\n }\r\n if (todoApis[name]) {\r\n return promisify(name, todoApis[name])\r\n }\r\n }\r\n if (eventApi[name]) {\r\n return eventApi[name]\r\n }\r\n if (!hasOwn(wx, name) && !hasOwn(protocols, name)) {\r\n return\r\n }\r\n return promisify(name, wrapper(name, wx[name]))\r\n },\r\n set (target, name, value) {\r\n target[name] = value;\r\n return true\r\n }\r\n });\r\n} else {\r\n Object.keys(baseApi).forEach(name => {\r\n uni[name] = baseApi[name];\r\n });\r\n\r\n {\r\n Object.keys(todoApis).forEach(name => {\r\n uni[name] = promisify(name, todoApis[name]);\r\n });\r\n Object.keys(extraApi).forEach(name => {\r\n uni[name] = promisify(name, todoApis[name]);\r\n });\r\n }\r\n\r\n Object.keys(eventApi).forEach(name => {\r\n uni[name] = eventApi[name];\r\n });\r\n\r\n Object.keys(api).forEach(name => {\r\n uni[name] = promisify(name, api[name]);\r\n });\r\n\r\n Object.keys(wx).forEach(name => {\r\n if (hasOwn(wx, name) || hasOwn(protocols, name)) {\r\n uni[name] = promisify(name, wrapper(name, wx[name]));\r\n }\r\n });\r\n}\r\n\r\nwx.createApp = createApp;\r\nwx.createPage = createPage;\r\nwx.createComponent = createComponent;\r\nwx.createSubpackageApp = createSubpackageApp;\r\nwx.createPlugin = createPlugin;\r\n\r\nvar uni$1 = uni;\r\n\r\nexport default uni$1;\r\nexport { createApp, createComponent, createPage, createPlugin, createSubpackageApp };\r\n","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode, /* vue-cli only */\n components, // fixed by xxxxxx auto components\n renderjs // fixed by xxxxxx renderjs\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // fixed by xxxxxx auto components\n if (components) {\n if (!options.components) {\n options.components = {}\n }\n var hasOwn = Object.prototype.hasOwnProperty\n for (var name in components) {\n if (hasOwn.call(components, name) && !hasOwn.call(options.components, name)) {\n options.components[name] = components[name]\n }\n }\n }\n // fixed by xxxxxx renderjs\n if (renderjs) {\n (renderjs.beforeCreate || (renderjs.beforeCreate = [])).unshift(function() {\n this[renderjs.__module] = this\n });\n (options.mixins || (options.mixins = [])).push(renderjs)\n }\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","// 引入全局mixin\nimport mixin from './libs/mixin/mixin.js'\n// 引入关于是否mixin集成小程序分享的配置\n// import wxshare from './libs/mixin/mpShare.js'\n// 全局挂载引入http相关请求拦截插件\nimport http from './libs/request'\n\nfunction wranning(str) {\n\t// 开发环境进行信息输出,主要是一些报错信息\n\t// 这个环境的来由是在程序编写时候,点击hx编辑器运行调试代码的时候,详见:\n\t// \thttps://uniapp.dcloud.io/frame?id=%e5%bc%80%e5%8f%91%e7%8e%af%e5%a2%83%e5%92%8c%e7%94%9f%e4%ba%a7%e7%8e%af%e5%a2%83\n\tif (process.env.NODE_ENV === 'development') {\n\t\tconsole.warn(str)\n\t}\n}\n\n// 尝试判断在根目录的/store中是否有$u.mixin.js,此文件uView默认为需要挂在到全局的vuex的state变量\n// HX2.6.11版本,放到try中,控制台依然会警告,暂时不用此方式,\n// let vuexStore = {};\n// try {\n// \tvuexStore = require(\"@/store/$u.mixin.js\");\n// } catch (e) {\n// \t//TODO handle the exception\n// }\n\n// post类型对象参数转为get类型url参数\nimport queryParams from './libs/function/queryParams.js'\n// 路由封装\nimport route from './libs/function/route.js'\n// 时间格式化\nimport timeFormat from './libs/function/timeFormat.js'\n// 时间戳格式化,返回多久之前\nimport timeFrom from './libs/function/timeFrom.js'\n// 颜色渐变相关,colorGradient-颜色渐变,hexToRgb-十六进制颜色转rgb颜色,rgbToHex-rgb转十六进制\nimport colorGradient from './libs/function/colorGradient.js'\n// 生成全局唯一guid字符串\nimport guid from './libs/function/guid.js'\n// 主题相关颜色,info|success|warning|primary|default|error,此颜色已在uview.scss中定义,但是为js中也能使用,故也定义一份\nimport color from './libs/function/color.js'\n// 根据type获取图标名称\nimport type2icon from './libs/function/type2icon.js'\n// 打乱数组的顺序\nimport randomArray from './libs/function/randomArray.js'\n// 对象和数组的深度克隆\nimport deepClone from './libs/function/deepClone.js'\n// 对象深度拷贝\nimport deepMerge from './libs/function/deepMerge.js'\n// 添加单位\nimport addUnit from './libs/function/addUnit.js'\n\n// 规则检验\nimport test from './libs/function/test.js'\n// 随机数\nimport random from './libs/function/random.js'\n// 去除空格\nimport trim from './libs/function/trim.js'\n// toast提示,对uni.showToast的封装\nimport toast from './libs/function/toast.js'\n// 获取父组件参数\nimport getParent from './libs/function/getParent.js'\n// 获取整个父组件\nimport $parent from './libs/function/$parent.js'\n// 获取sys()和os()工具方法\n// 获取设备信息,挂载到$u的sys()(system的缩写)属性中,\n// 同时把安卓和ios平台的名称\"ios\"和\"android\"挂到$u.os()中,方便取用\nimport {sys, os} from './libs/function/sys.js'\n// 防抖方法\nimport debounce from './libs/function/debounce.js'\n// 节流方法\nimport throttle from './libs/function/throttle.js'\n\n\n// 配置信息\nimport config from './libs/config/config.js'\n// 各个需要fixed的地方的z-index配置文件\nimport zIndex from './libs/config/zIndex.js'\n\nconst $u = {\n\tqueryParams: queryParams,\n\troute: route,\n\ttimeFormat: timeFormat,\n\tdate: timeFormat, // 另名date\n\ttimeFrom,\n\tcolorGradient: colorGradient.colorGradient,\n\tcolorToRgba: colorGradient.colorToRgba,\n\tguid,\n\tcolor,\n\tsys,\n\tos,\n\ttype2icon,\n\trandomArray,\n\twranning,\n\tget: http.get,\n\tpost: http.post,\n\tput: http.put,\n\t'delete': http.delete,\n\thexToRgb: colorGradient.hexToRgb,\n\trgbToHex: colorGradient.rgbToHex,\n\ttest,\n\trandom,\n\tdeepClone,\n\tdeepMerge,\n\tgetParent,\n\t$parent,\n\taddUnit,\n\ttrim,\n\ttype: ['primary', 'success', 'error', 'warning', 'info'],\n\thttp,\n\ttoast,\n\tconfig, // uView配置信息相关,比如版本号\n\tzIndex,\n\tdebounce,\n\tthrottle,\n}\n\n// $u挂载到uni对象上\nuni.$u = $u\n\nconst install = Vue => {\n\tVue.mixin(mixin) \n\tif (Vue.prototype.openShare) {\n\t\tVue.mixin(mpShare);\n\t}\n\t// Vue.mixin(vuexStore);\n\t// 时间格式化,同时两个名称,date和timeFormat\n\tVue.filter('timeFormat', (timestamp, format) => {\n\t\treturn timeFormat(timestamp, format)\n\t})\n\tVue.filter('date', (timestamp, format) => {\n\t\treturn timeFormat(timestamp, format)\n\t})\n\t// 将多久以前的方法,注入到全局过滤器\n\tVue.filter('timeFrom', (timestamp, format) => {\n\t\treturn timeFrom(timestamp, format)\n\t})\n\tVue.prototype.$u = $u\n}\n\nexport default {\n\tinstall\n}","import request from '@/utils/request'\n\n// 修改用户信息\nexport function userEdit(data) {\n\treturn request({\n\t\turl: '/api/user/edit',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n//退出登录\nexport function logout(data) {\n\treturn request({\n\t\turl: '/api/logout',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n//修改密码\nexport function registerReset(data) {\n\treturn request({\n\t\turl: '/api/register/reset',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n//绑定手机\nexport function binding(data) {\n\treturn request({\n\t\turl: '/api/binding',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n\n\n\n\n\n\n\n\n\n\n// 实名认证\nexport function realName(data) {\n\treturn request({\n\t\turl: '/api/realName',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n//交易密码设置\nexport function transaction(data) {\n\treturn request({\n\t\turl: '/api/transaction',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}","module.exports = {\n\tdata() {\n\t\treturn {}\n\t},\n\tonLoad() {\n\t\t// getRect挂载到$u上,因为这方法需要使用in(this),所以无法把它独立成一个单独的文件导出\n\t\tthis.$u.getRect = this.$uGetRect\n\t},\n\tmethods: {\n\t\t// 查询节点信息\n\t\t// 目前此方法在支付宝小程序中无法获取组件跟接点的尺寸,为支付宝的bug(2020-07-21)\n\t\t// 解决办法为在组件根部再套一个没有任何作用的view元素\n\t\t$uGetRect(selector, all) {\n\t\t\treturn new Promise(resolve => {\n\t\t\t\tuni.createSelectorQuery().\n\t\t\t\tin(this)[all ? 'selectAll' : 'select'](selector)\n\t\t\t\t\t.boundingClientRect(rect => {\n\t\t\t\t\t\tif (all && Array.isArray(rect) && rect.length) {\n\t\t\t\t\t\t\tresolve(rect)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!all && rect) {\n\t\t\t\t\t\t\tresolve(rect)\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\t.exec()\n\t\t\t})\n\t\t},\n\t\tgetParentData(parentName = '') {\n\t\t\t// 避免在created中去定义parent变量\n\t\t\tif(!this.parent) this.parent = false;\n\t\t\t// 这里的本质原理是,通过获取父组件实例(也即u-radio-group的this)\n\t\t\t// 将父组件this中对应的参数,赋值给本组件(u-radio的this)的parentData对象中对应的属性\n\t\t\t// 之所以需要这么做,是因为所有端中,头条小程序不支持通过this.parent.xxx去监听父组件参数的变化\n\t\t\tthis.parent = this.$u.$parent.call(this, parentName);\n\t\t\tif(this.parent) {\n\t\t\t\t// 历遍parentData中的属性,将parent中的同名属性赋值给parentData\n\t\t\t\tObject.keys(this.parentData).map(key => {\n\t\t\t\t\tthis.parentData[key] = this.parent[key];\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\t\t// 阻止事件冒泡\n\t\tpreventEvent(e) {\n\t\t\te && e.stopPropagation && e.stopPropagation()\n\t\t}\n\t},\n\tonReachBottom() {\n\t\tuni.$emit('uOnReachBottom')\n\t},\n\tbeforeDestroy() {\n\t\t// 判断当前页面是否存在parent和chldren,一般在checkbox和checkbox-group父子联动的场景会有此情况\n\t\t// 组件销毁时,移除子组件在父组件children数组中的实例,释放资源,避免数据混乱\n\t\tif(this.parent && uni.$u.test.array(this.parent.children)) {\n\t\t\t// 组件销毁时,移除父组件中的children数组中对应的实例\n\t\t\tconst childrenList = this.parent.children\n\t\t\tchildrenList.map((child, index) => {\n\t\t\t\t// 如果相等,则移除\n\t\t\t\tif(child === this) {\n\t\t\t\t\tchildrenList.splice(index, 1)\n\t\t\t\t}\n\t\t\t})\n\t\t}\n\t}\n}\n","import deepMerge from \"../function/deepMerge\";\nimport validate from \"../function/test\";\nclass Request {\n\t// 设置全局默认配置\n\tsetConfig(customConfig) {\n\t\t// 深度合并对象,否则会造成对象深层属性丢失\n\t\tthis.config = deepMerge(this.config, customConfig);\n\t}\n\n\t// 主要请求部分\n\trequest(options = {}) {\n\t\t// 检查请求拦截\n\t\tif (this.interceptor.request && typeof this.interceptor.request === 'function') {\n\t\t\tlet tmpConfig = {};\n\t\t\tlet interceptorRequest = this.interceptor.request(options);\n\t\t\tif (interceptorRequest === false) {\n\t\t\t\t// 返回一个处于pending状态中的Promise,来取消原promise,避免进入then()回调\n\t\t\t\treturn new Promise(()=>{});\n\t\t\t}\n\t\t\tthis.options = interceptorRequest;\n\t\t}\n\t\toptions.dataType = options.dataType || this.config.dataType;\n\t\toptions.responseType = options.responseType || this.config.responseType;\n\t\toptions.url = options.url || '';\n\t\toptions.params = options.params || {};\n\t\toptions.header = Object.assign({}, this.config.header, options.header);\n\t\toptions.method = options.method || this.config.method;\n\n\t\treturn new Promise((resolve, reject) => {\n\t\t\toptions.complete = (response) => {\n\t\t\t\t// 请求返回后,隐藏loading(如果请求返回快的话,可能会没有loading)\n\t\t\t\tuni.hideLoading();\n\t\t\t\t// 清除定时器,如果请求回来了,就无需loading\n\t\t\t\tclearTimeout(this.config.timer);\n\t\t\t\tthis.config.timer = null;\n\t\t\t\t// 判断用户对拦截返回数据的要求,如果originalData为true,返回所有的数据(response)到拦截器,否则只返回response.data\n\t\t\t\tif(this.config.originalData) {\n\t\t\t\t\t// 判断是否存在拦截器\n\t\t\t\t\tif (this.interceptor.response && typeof this.interceptor.response === 'function') {\n\t\t\t\t\t\tlet resInterceptors = this.interceptor.response(response);\n\t\t\t\t\t\t// 如果拦截器不返回false,就将拦截器返回的内容给this.$u.post的then回调\n\t\t\t\t\t\tif (resInterceptors !== false) {\n\t\t\t\t\t\t\tresolve(resInterceptors);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// 如果拦截器返回false,意味着拦截器定义者认为返回有问题,直接接入catch回调\n\t\t\t\t\t\t\treject(response);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// 如果要求返回原始数据,就算没有拦截器,也返回最原始的数据\n\t\t\t\t\t\tresolve(response);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (response.statusCode == 200) {\n\t\t\t\t\t\tif (this.interceptor.response && typeof this.interceptor.response === 'function') {\n\t\t\t\t\t\t\tlet resInterceptors = this.interceptor.response(response.data);\n\t\t\t\t\t\t\tif (resInterceptors !== false) {\n\t\t\t\t\t\t\t\tresolve(resInterceptors);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\treject(response.data);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// 如果不是返回原始数据(originalData=false),且没有拦截器的情况下,返回纯数据给then回调\n\t\t\t\t\t\t\tresolve(response.data);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// 不返回原始数据的情况下,服务器状态码不为200,modal弹框提示\n\t\t\t\t\t\t// if(response.errMsg) {\n\t\t\t\t\t\t// \tuni.showModal({\n\t\t\t\t\t\t// \t\ttitle: response.errMsg\n\t\t\t\t\t\t// \t});\n\t\t\t\t\t\t// }\n\t\t\t\t\t\treject(response)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// 判断用户传递的URL是否/开头,如果不是,加上/,这里使用了uView的test.js验证库的url()方法\n\t\t\toptions.url = validate.url(options.url) ? options.url : (this.config.baseUrl + (options.url.indexOf('/') == 0 ?\n\t\t\t\toptions.url : '/' + options.url));\n\t\t\t\n\t\t\t// 是否显示loading\n\t\t\t// 加一个是否已有timer定时器的判断,否则有两个同时请求的时候,后者会清除前者的定时器id\n\t\t\t// 而没有清除前者的定时器,导致前者超时,一直显示loading\n\t\t\tif(this.config.showLoading && !this.config.timer) {\n\t\t\t\tthis.config.timer = setTimeout(() => {\n\t\t\t\t\tuni.showLoading({\n\t\t\t\t\t\ttitle: this.config.loadingText,\n\t\t\t\t\t\tmask: this.config.loadingMask\n\t\t\t\t\t})\n\t\t\t\t\tthis.config.timer = null;\n\t\t\t\t}, this.config.loadingTime);\n\t\t\t}\n\t\t\tuni.request(options);\n\t\t})\n\t\t// .catch(res => {\n\t\t// \t// 如果返回reject(),不让其进入this.$u.post().then().catch()后面的catct()\n\t\t// \t// 因为很多人都会忘了写后面的catch(),导致报错捕获不到catch\n\t\t// \treturn new Promise(()=>{});\n\t\t// })\n\t}\n\n\tconstructor() {\n\t\tthis.config = {\n\t\t\tbaseUrl: '', // 请求的根域名\n\t\t\t// 默认的请求头\n\t\t\theader: {},\n\t\t\tmethod: 'POST',\n\t\t\t// 设置为json,返回后uni.request会对数据进行一次JSON.parse\n\t\t\tdataType: 'json',\n\t\t\t// 此参数无需处理,因为5+和支付宝小程序不支持,默认为text即可\n\t\t\tresponseType: 'text',\n\t\t\tshowLoading: true, // 是否显示请求中的loading\n\t\t\tloadingText: '请求中...',\n\t\t\tloadingTime: 800, // 在此时间内,请求还没回来的话,就显示加载中动画,单位ms\n\t\t\ttimer: null, // 定时器\n\t\t\toriginalData: false, // 是否在拦截器中返回服务端的原始数据,见文档说明\n\t\t\tloadingMask: true, // 展示loading的时候,是否给一个透明的蒙层,防止触摸穿透\n\t\t}\n\t\n\t\t// 拦截器\n\t\tthis.interceptor = {\n\t\t\t// 请求前的拦截\n\t\t\trequest: null,\n\t\t\t// 请求后的拦截\n\t\t\tresponse: null\n\t\t}\n\n\t\t// get请求\n\t\tthis.get = (url, data = {}, header = {}) => {\n\t\t\treturn this.request({\n\t\t\t\tmethod: 'GET',\n\t\t\t\turl,\n\t\t\t\theader,\n\t\t\t\tdata\n\t\t\t})\n\t\t}\n\n\t\t// post请求\n\t\tthis.post = (url, data = {}, header = {}) => {\n\t\t\treturn this.request({\n\t\t\t\turl,\n\t\t\t\tmethod: 'POST',\n\t\t\t\theader,\n\t\t\t\tdata\n\t\t\t})\n\t\t}\n\t\t\n\t\t// put请求,不支持支付宝小程序(HX2.6.15)\n\t\tthis.put = (url, data = {}, header = {}) => {\n\t\t\treturn this.request({\n\t\t\t\turl,\n\t\t\t\tmethod: 'PUT',\n\t\t\t\theader,\n\t\t\t\tdata\n\t\t\t})\n\t\t}\n\t\t\n\t\t// delete请求,不支持支付宝和头条小程序(HX2.6.15)\n\t\tthis.delete = (url, data = {}, header = {}) => {\n\t\t\treturn this.request({\n\t\t\t\turl,\n\t\t\t\tmethod: 'DELETE',\n\t\t\t\theader,\n\t\t\t\tdata\n\t\t\t})\n\t\t}\n\t}\n}\nexport default new Request\n","import deepClone from \"./deepClone\";\n\n// JS对象深度合并\nfunction deepMerge(target = {}, source = {}) {\n\ttarget = deepClone(target);\n\tif (typeof target !== 'object' || typeof source !== 'object') return false;\n\tfor (var prop in source) {\n\t\tif (!source.hasOwnProperty(prop)) continue;\n\t\tif (prop in target) {\n\t\t\tif (typeof target[prop] !== 'object') {\n\t\t\t\ttarget[prop] = source[prop];\n\t\t\t} else {\n\t\t\t\tif (typeof source[prop] !== 'object') {\n\t\t\t\t\ttarget[prop] = source[prop];\n\t\t\t\t} else {\n\t\t\t\t\tif (target[prop].concat && source[prop].concat) {\n\t\t\t\t\t\ttarget[prop] = target[prop].concat(source[prop]);\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttarget[prop] = deepMerge(target[prop], source[prop]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\ttarget[prop] = source[prop];\n\t\t}\n\t}\n\treturn target;\n}\n\nexport default deepMerge;","// 判断arr是否为一个数组,返回一个bool值\nfunction isArray (arr) {\n return Object.prototype.toString.call(arr) === '[object Array]';\n}\n\n// 深度克隆\nfunction deepClone (obj) {\n\t// 对常见的“非”值,直接返回原来值\n\tif([null, undefined, NaN, false].includes(obj)) return obj;\n if(typeof obj !== \"object\" && typeof obj !== 'function') {\n\t\t//原始类型直接返回\n return obj;\n }\n var o = isArray(obj) ? [] : {};\n for(let i in obj) {\n if(obj.hasOwnProperty(i)){\n o[i] = typeof obj[i] === \"object\" ? deepClone(obj[i]) : obj[i];\n }\n }\n return o;\n}\n\nexport default deepClone;\n","/**\n * 验证电子邮箱格式\n */\nfunction email(value) {\n\treturn /^\\w+((-\\w+)|(\\.\\w+))*\\@[A-Za-z0-9]+((\\.|-)[A-Za-z0-9]+)*\\.[A-Za-z0-9]+$/.test(value);\n}\n\n/**\n * 验证手机格式\n */\nfunction mobile(value) {\n\treturn /^1[3-9]\\d{9}$/.test(value)\n}\n\n/**\n * 验证URL格式\n */\nfunction url(value) {\n\treturn /http(s)?:\\/\\/([\\w-]+\\.)+[\\w-]+(\\/[\\w-.\\/?%&=]*)?/.test(value)\n}\n\n/**\n * 验证日期格式\n */\nfunction date(value) {\n\treturn !/Invalid|NaN/.test(new Date(value).toString())\n}\n\n/**\n * 验证ISO类型的日期格式\n */\nfunction dateISO(value) {\n\treturn /^\\d{4}[\\/\\-](0?[1-9]|1[012])[\\/\\-](0?[1-9]|[12][0-9]|3[01])$/.test(value)\n}\n\n/**\n * 验证十进制数字\n */\nfunction number(value) {\n\treturn /^(?:-?\\d+|-?\\d{1,3}(?:,\\d{3})+)?(?:\\.\\d+)?$/.test(value)\n}\n\n/**\n * 验证整数\n */\nfunction digits(value) {\n\treturn /^\\d+$/.test(value)\n}\n\n/**\n * 验证身份证号码\n */\nfunction idCard(value) {\n\treturn /^[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}([0-9]|X)$/.test(\n\t\tvalue)\n}\n\n/**\n * 是否车牌号\n */\nfunction carNo(value) {\n\t// 新能源车牌\n\tconst xreg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/;\n\t// 旧车牌\n\tconst creg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;\n\tif (value.length === 7) {\n\t\treturn creg.test(value);\n\t} else if (value.length === 8) {\n\t\treturn xreg.test(value);\n\t} else {\n\t\treturn false;\n\t}\n}\n\n/**\n * 金额,只允许2位小数\n */\nfunction amount(value) {\n\t//金额,只允许保留两位小数\n\treturn /^[1-9]\\d*(,\\d{3})*(\\.\\d{1,2})?$|^0\\.\\d{1,2}$/.test(value);\n}\n\n/**\n * 中文\n */\nfunction chinese(value) {\n\tlet reg = /^[\\u4e00-\\u9fa5]+$/gi;\n\treturn reg.test(value);\n}\n\n/**\n * 只能输入字母\n */\nfunction letter(value) {\n\treturn /^[a-zA-Z]*$/.test(value);\n}\n\n/**\n * 只能是字母或者数字\n */\nfunction enOrNum(value) {\n\t//英文或者数字\n\tlet reg = /^[0-9a-zA-Z]*$/g;\n\treturn reg.test(value);\n}\n\n/**\n * 验证是否包含某个值\n */\nfunction contains(value, param) {\n\treturn value.indexOf(param) >= 0\n}\n\n/**\n * 验证一个值范围[min, max]\n */\nfunction range(value, param) {\n\treturn value >= param[0] && value <= param[1]\n}\n\n/**\n * 验证一个长度范围[min, max]\n */\nfunction rangeLength(value, param) {\n\treturn value.length >= param[0] && value.length <= param[1]\n}\n\n/**\n * 是否固定电话\n */\nfunction landline(value) {\n\tlet reg = /^\\d{3,4}-\\d{7,8}(-\\d{3,4})?$/;\n\treturn reg.test(value);\n}\n\n/**\n * 判断是否为空\n */\nfunction empty(value) {\n\tswitch (typeof value) {\n\t\tcase 'undefined':\n\t\t\treturn true;\n\t\tcase 'string':\n\t\t\tif (value.replace(/(^[ \\t\\n\\r]*)|([ \\t\\n\\r]*$)/g, '').length == 0) return true;\n\t\t\tbreak;\n\t\tcase 'boolean':\n\t\t\tif (!value) return true;\n\t\t\tbreak;\n\t\tcase 'number':\n\t\t\tif (0 === value || isNaN(value)) return true;\n\t\t\tbreak;\n\t\tcase 'object':\n\t\t\tif (null === value || value.length === 0) return true;\n\t\t\tfor (var i in value) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t}\n\treturn false;\n}\n\n/**\n * 是否json字符串\n */\nfunction jsonString(value) {\n\tif (typeof value == 'string') {\n\t\ttry {\n\t\t\tvar obj = JSON.parse(value);\n\t\t\tif (typeof obj == 'object' && obj) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t}\n\treturn false;\n}\n\n\n/**\n * 是否数组\n */\nfunction array(value) {\n\tif (typeof Array.isArray === \"function\") {\n\t\treturn Array.isArray(value);\n\t} else {\n\t\treturn Object.prototype.toString.call(value) === \"[object Array]\";\n\t}\n}\n\n/**\n * 是否对象\n */\nfunction object(value) {\n\treturn Object.prototype.toString.call(value) === '[object Object]';\n}\n\n/**\n * 是否短信验证码\n */\nfunction code(value, len = 6) {\n\treturn new RegExp(`^\\\\d{${len}}$`).test(value);\n}\n\n\nexport default {\n\temail,\n\tmobile,\n\turl,\n\tdate,\n\tdateISO,\n\tnumber,\n\tdigits,\n\tidCard,\n\tcarNo,\n\tamount,\n\tchinese,\n\tletter,\n\tenOrNum,\n\tcontains,\n\trange,\n\trangeLength,\n\tempty,\n\tisEmpty: empty,\n\tjsonString,\n\tlandline,\n\tobject,\n\tarray,\n\tcode\n}\n","/*!\n * Vue.js v2.6.11\n * (c) 2014-2021 Evan You\n * Released under the MIT License.\n */\n/* */\n\nvar emptyObject = Object.freeze({});\n\n// These helpers produce better VM code in JS engines due to their\n// explicitness and function inlining.\nfunction isUndef (v) {\n return v === undefined || v === null\n}\n\nfunction isDef (v) {\n return v !== undefined && v !== null\n}\n\nfunction isTrue (v) {\n return v === true\n}\n\nfunction isFalse (v) {\n return v === false\n}\n\n/**\n * Check if value is primitive.\n */\nfunction isPrimitive (value) {\n return (\n typeof value === 'string' ||\n typeof value === 'number' ||\n // $flow-disable-line\n typeof value === 'symbol' ||\n typeof value === 'boolean'\n )\n}\n\n/**\n * Quick object check - this is primarily used to tell\n * Objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nfunction isObject (obj) {\n return obj !== null && typeof obj === 'object'\n}\n\n/**\n * Get the raw type string of a value, e.g., [object Object].\n */\nvar _toString = Object.prototype.toString;\n\nfunction toRawType (value) {\n return _toString.call(value).slice(8, -1)\n}\n\n/**\n * Strict object type check. Only returns true\n * for plain JavaScript objects.\n */\nfunction isPlainObject (obj) {\n return _toString.call(obj) === '[object Object]'\n}\n\nfunction isRegExp (v) {\n return _toString.call(v) === '[object RegExp]'\n}\n\n/**\n * Check if val is a valid array index.\n */\nfunction isValidArrayIndex (val) {\n var n = parseFloat(String(val));\n return n >= 0 && Math.floor(n) === n && isFinite(val)\n}\n\nfunction isPromise (val) {\n return (\n isDef(val) &&\n typeof val.then === 'function' &&\n typeof val.catch === 'function'\n )\n}\n\n/**\n * Convert a value to a string that is actually rendered.\n */\nfunction toString (val) {\n return val == null\n ? ''\n : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)\n ? JSON.stringify(val, null, 2)\n : String(val)\n}\n\n/**\n * Convert an input value to a number for persistence.\n * If the conversion fails, return original string.\n */\nfunction toNumber (val) {\n var n = parseFloat(val);\n return isNaN(n) ? val : n\n}\n\n/**\n * Make a map and return a function for checking if a key\n * is in that map.\n */\nfunction makeMap (\n str,\n expectsLowerCase\n) {\n var map = Object.create(null);\n var list = str.split(',');\n for (var i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase\n ? function (val) { return map[val.toLowerCase()]; }\n : function (val) { return map[val]; }\n}\n\n/**\n * Check if a tag is a built-in tag.\n */\nvar isBuiltInTag = makeMap('slot,component', true);\n\n/**\n * Check if an attribute is a reserved attribute.\n */\nvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n\n/**\n * Remove an item from an array.\n */\nfunction remove (arr, item) {\n if (arr.length) {\n var index = arr.indexOf(item);\n if (index > -1) {\n return arr.splice(index, 1)\n }\n }\n}\n\n/**\n * Check whether an object has the property.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn (obj, key) {\n return hasOwnProperty.call(obj, key)\n}\n\n/**\n * Create a cached version of a pure function.\n */\nfunction cached (fn) {\n var cache = Object.create(null);\n return (function cachedFn (str) {\n var hit = cache[str];\n return hit || (cache[str] = fn(str))\n })\n}\n\n/**\n * Camelize a hyphen-delimited string.\n */\nvar camelizeRE = /-(\\w)/g;\nvar camelize = cached(function (str) {\n return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })\n});\n\n/**\n * Capitalize a string.\n */\nvar capitalize = cached(function (str) {\n return str.charAt(0).toUpperCase() + str.slice(1)\n});\n\n/**\n * Hyphenate a camelCase string.\n */\nvar hyphenateRE = /\\B([A-Z])/g;\nvar hyphenate = cached(function (str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase()\n});\n\n/**\n * Simple bind polyfill for environments that do not support it,\n * e.g., PhantomJS 1.x. Technically, we don't need this anymore\n * since native bind is now performant enough in most browsers.\n * But removing it would mean breaking code that was able to run in\n * PhantomJS 1.x, so this must be kept for backward compatibility.\n */\n\n/* istanbul ignore next */\nfunction polyfillBind (fn, ctx) {\n function boundFn (a) {\n var l = arguments.length;\n return l\n ? l > 1\n ? fn.apply(ctx, arguments)\n : fn.call(ctx, a)\n : fn.call(ctx)\n }\n\n boundFn._length = fn.length;\n return boundFn\n}\n\nfunction nativeBind (fn, ctx) {\n return fn.bind(ctx)\n}\n\nvar bind = Function.prototype.bind\n ? nativeBind\n : polyfillBind;\n\n/**\n * Convert an Array-like object to a real Array.\n */\nfunction toArray (list, start) {\n start = start || 0;\n var i = list.length - start;\n var ret = new Array(i);\n while (i--) {\n ret[i] = list[i + start];\n }\n return ret\n}\n\n/**\n * Mix properties into target object.\n */\nfunction extend (to, _from) {\n for (var key in _from) {\n to[key] = _from[key];\n }\n return to\n}\n\n/**\n * Merge an Array of Objects into a single Object.\n */\nfunction toObject (arr) {\n var res = {};\n for (var i = 0; i < arr.length; i++) {\n if (arr[i]) {\n extend(res, arr[i]);\n }\n }\n return res\n}\n\n/* eslint-disable no-unused-vars */\n\n/**\n * Perform no operation.\n * Stubbing args to make Flow happy without leaving useless transpiled code\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\n */\nfunction noop (a, b, c) {}\n\n/**\n * Always return false.\n */\nvar no = function (a, b, c) { return false; };\n\n/* eslint-enable no-unused-vars */\n\n/**\n * Return the same value.\n */\nvar identity = function (_) { return _; };\n\n/**\n * Check if two values are loosely equal - that is,\n * if they are plain objects, do they have the same shape?\n */\nfunction looseEqual (a, b) {\n if (a === b) { return true }\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = Array.isArray(a);\n var isArrayB = Array.isArray(b);\n if (isArrayA && isArrayB) {\n return a.length === b.length && a.every(function (e, i) {\n return looseEqual(e, b[i])\n })\n } else if (a instanceof Date && b instanceof Date) {\n return a.getTime() === b.getTime()\n } else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return keysA.length === keysB.length && keysA.every(function (key) {\n return looseEqual(a[key], b[key])\n })\n } else {\n /* istanbul ignore next */\n return false\n }\n } catch (e) {\n /* istanbul ignore next */\n return false\n }\n } else if (!isObjectA && !isObjectB) {\n return String(a) === String(b)\n } else {\n return false\n }\n}\n\n/**\n * Return the first index at which a loosely equal value can be\n * found in the array (if value is a plain object, the array must\n * contain an object of the same shape), or -1 if it is not present.\n */\nfunction looseIndexOf (arr, val) {\n for (var i = 0; i < arr.length; i++) {\n if (looseEqual(arr[i], val)) { return i }\n }\n return -1\n}\n\n/**\n * Ensure a function is called only once.\n */\nfunction once (fn) {\n var called = false;\n return function () {\n if (!called) {\n called = true;\n fn.apply(this, arguments);\n }\n }\n}\n\nvar ASSET_TYPES = [\n 'component',\n 'directive',\n 'filter'\n];\n\nvar LIFECYCLE_HOOKS = [\n 'beforeCreate',\n 'created',\n 'beforeMount',\n 'mounted',\n 'beforeUpdate',\n 'updated',\n 'beforeDestroy',\n 'destroyed',\n 'activated',\n 'deactivated',\n 'errorCaptured',\n 'serverPrefetch'\n];\n\n/* */\n\n\n\nvar config = ({\n /**\n * Option merge strategies (used in core/util/options)\n */\n // $flow-disable-line\n optionMergeStrategies: Object.create(null),\n\n /**\n * Whether to suppress warnings.\n */\n silent: false,\n\n /**\n * Show production mode tip message on boot?\n */\n productionTip: process.env.NODE_ENV !== 'production',\n\n /**\n * Whether to enable devtools\n */\n devtools: process.env.NODE_ENV !== 'production',\n\n /**\n * Whether to record perf\n */\n performance: false,\n\n /**\n * Error handler for watcher errors\n */\n errorHandler: null,\n\n /**\n * Warn handler for watcher warns\n */\n warnHandler: null,\n\n /**\n * Ignore certain custom elements\n */\n ignoredElements: [],\n\n /**\n * Custom user key aliases for v-on\n */\n // $flow-disable-line\n keyCodes: Object.create(null),\n\n /**\n * Check if a tag is reserved so that it cannot be registered as a\n * component. This is platform-dependent and may be overwritten.\n */\n isReservedTag: no,\n\n /**\n * Check if an attribute is reserved so that it cannot be used as a component\n * prop. This is platform-dependent and may be overwritten.\n */\n isReservedAttr: no,\n\n /**\n * Check if a tag is an unknown element.\n * Platform-dependent.\n */\n isUnknownElement: no,\n\n /**\n * Get the namespace of an element\n */\n getTagNamespace: noop,\n\n /**\n * Parse the real tag name for the specific platform.\n */\n parsePlatformTagName: identity,\n\n /**\n * Check if an attribute must be bound using property, e.g. value\n * Platform-dependent.\n */\n mustUseProp: no,\n\n /**\n * Perform updates asynchronously. Intended to be used by Vue Test Utils\n * This will significantly reduce performance if set to false.\n */\n async: true,\n\n /**\n * Exposed for legacy reasons\n */\n _lifecycleHooks: LIFECYCLE_HOOKS\n});\n\n/* */\n\n/**\n * unicode letters used for parsing html tags, component names and property paths.\n * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname\n * skipping \\u10000-\\uEFFFF due to it freezing up PhantomJS\n */\nvar unicodeRegExp = /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/;\n\n/**\n * Check if a string starts with $ or _\n */\nfunction isReserved (str) {\n var c = (str + '').charCodeAt(0);\n return c === 0x24 || c === 0x5F\n}\n\n/**\n * Define a property.\n */\nfunction def (obj, key, val, enumerable) {\n Object.defineProperty(obj, key, {\n value: val,\n enumerable: !!enumerable,\n writable: true,\n configurable: true\n });\n}\n\n/**\n * Parse simple path.\n */\nvar bailRE = new RegExp((\"[^\" + (unicodeRegExp.source) + \".$_\\\\d]\"));\nfunction parsePath (path) {\n if (bailRE.test(path)) {\n return\n }\n var segments = path.split('.');\n return function (obj) {\n for (var i = 0; i < segments.length; i++) {\n if (!obj) { return }\n obj = obj[segments[i]];\n }\n return obj\n }\n}\n\n/* */\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;\nvar weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nvar isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');\nvar isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');\nvar isChrome = UA && /chrome\\/\\d+/.test(UA) && !isEdge;\nvar isPhantomJS = UA && /phantomjs/.test(UA);\nvar isFF = UA && UA.match(/firefox\\/(\\d+)/);\n\n// Firefox has a \"watch\" function on Object.prototype...\nvar nativeWatch = ({}).watch;\nif (inBrowser) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', ({\n get: function get () {\n }\n })); // https://github.com/facebook/flow/issues/285\n window.addEventListener('test-passive', null, opts);\n } catch (e) {}\n}\n\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function () {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n if (!inBrowser && !inWeex && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';\n } else {\n _isServer = false;\n }\n }\n return _isServer\n};\n\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\n/* istanbul ignore next */\nfunction isNative (Ctor) {\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString())\n}\n\nvar hasSymbol =\n typeof Symbol !== 'undefined' && isNative(Symbol) &&\n typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);\n\nvar _Set;\n/* istanbul ignore if */ // $flow-disable-line\nif (typeof Set !== 'undefined' && isNative(Set)) {\n // use native Set when available.\n _Set = Set;\n} else {\n // a non-standard Set polyfill that only works with primitive keys.\n _Set = /*@__PURE__*/(function () {\n function Set () {\n this.set = Object.create(null);\n }\n Set.prototype.has = function has (key) {\n return this.set[key] === true\n };\n Set.prototype.add = function add (key) {\n this.set[key] = true;\n };\n Set.prototype.clear = function clear () {\n this.set = Object.create(null);\n };\n\n return Set;\n }());\n}\n\n/* */\n\nvar warn = noop;\nvar tip = noop;\nvar generateComponentTrace = (noop); // work around flow check\nvar formatComponentName = (noop);\n\nif (process.env.NODE_ENV !== 'production') {\n var hasConsole = typeof console !== 'undefined';\n var classifyRE = /(?:^|[-_])(\\w)/g;\n var classify = function (str) { return str\n .replace(classifyRE, function (c) { return c.toUpperCase(); })\n .replace(/[-_]/g, ''); };\n\n warn = function (msg, vm) {\n var trace = vm ? generateComponentTrace(vm) : '';\n\n if (config.warnHandler) {\n config.warnHandler.call(null, msg, vm, trace);\n } else if (hasConsole && (!config.silent)) {\n console.error((\"[Vue warn]: \" + msg + trace));\n }\n };\n\n tip = function (msg, vm) {\n if (hasConsole && (!config.silent)) {\n console.warn(\"[Vue tip]: \" + msg + (\n vm ? generateComponentTrace(vm) : ''\n ));\n }\n };\n\n formatComponentName = function (vm, includeFile) {\n if (vm.$root === vm) {\n if (vm.$options && vm.$options.__file) { // fixed by xxxxxx\n return ('') + vm.$options.__file\n }\n return '<Root>'\n }\n var options = typeof vm === 'function' && vm.cid != null\n ? vm.options\n : vm._isVue\n ? vm.$options || vm.constructor.options\n : vm;\n var name = options.name || options._componentTag;\n var file = options.__file;\n if (!name && file) {\n var match = file.match(/([^/\\\\]+)\\.vue$/);\n name = match && match[1];\n }\n\n return (\n (name ? (\"<\" + (classify(name)) + \">\") : \"<Anonymous>\") +\n (file && includeFile !== false ? (\" at \" + file) : '')\n )\n };\n\n var repeat = function (str, n) {\n var res = '';\n while (n) {\n if (n % 2 === 1) { res += str; }\n if (n > 1) { str += str; }\n n >>= 1;\n }\n return res\n };\n\n generateComponentTrace = function (vm) {\n if (vm._isVue && vm.$parent) {\n var tree = [];\n var currentRecursiveSequence = 0;\n while (vm && vm.$options.name !== 'PageBody') {\n if (tree.length > 0) {\n var last = tree[tree.length - 1];\n if (last.constructor === vm.constructor) {\n currentRecursiveSequence++;\n vm = vm.$parent;\n continue\n } else if (currentRecursiveSequence > 0) {\n tree[tree.length - 1] = [last, currentRecursiveSequence];\n currentRecursiveSequence = 0;\n }\n }\n !vm.$options.isReserved && tree.push(vm);\n vm = vm.$parent;\n }\n return '\\n\\nfound in\\n\\n' + tree\n .map(function (vm, i) { return (\"\" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)\n ? ((formatComponentName(vm[0])) + \"... (\" + (vm[1]) + \" recursive calls)\")\n : formatComponentName(vm))); })\n .join('\\n')\n } else {\n return (\"\\n\\n(found in \" + (formatComponentName(vm)) + \")\")\n }\n };\n}\n\n/* */\n\nvar uid = 0;\n\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n */\nvar Dep = function Dep () {\n this.id = uid++;\n this.subs = [];\n};\n\nDep.prototype.addSub = function addSub (sub) {\n this.subs.push(sub);\n};\n\nDep.prototype.removeSub = function removeSub (sub) {\n remove(this.subs, sub);\n};\n\nDep.prototype.depend = function depend () {\n if (Dep.SharedObject.target) {\n Dep.SharedObject.target.addDep(this);\n }\n};\n\nDep.prototype.notify = function notify () {\n // stabilize the subscriber list first\n var subs = this.subs.slice();\n if (process.env.NODE_ENV !== 'production' && !config.async) {\n // subs aren't sorted in scheduler if not running async\n // we need to sort them now to make sure they fire in correct\n // order\n subs.sort(function (a, b) { return a.id - b.id; });\n }\n for (var i = 0, l = subs.length; i < l; i++) {\n subs[i].update();\n }\n};\n\n// The current target watcher being evaluated.\n// This is globally unique because only one watcher\n// can be evaluated at a time.\n// fixed by xxxxxx (nvue shared vuex)\n/* eslint-disable no-undef */\nDep.SharedObject = {};\nDep.SharedObject.target = null;\nDep.SharedObject.targetStack = [];\n\nfunction pushTarget (target) {\n Dep.SharedObject.targetStack.push(target);\n Dep.SharedObject.target = target;\n Dep.target = target;\n}\n\nfunction popTarget () {\n Dep.SharedObject.targetStack.pop();\n Dep.SharedObject.target = Dep.SharedObject.targetStack[Dep.SharedObject.targetStack.length - 1];\n Dep.target = Dep.SharedObject.target;\n}\n\n/* */\n\nvar VNode = function VNode (\n tag,\n data,\n children,\n text,\n elm,\n context,\n componentOptions,\n asyncFactory\n) {\n this.tag = tag;\n this.data = data;\n this.children = children;\n this.text = text;\n this.elm = elm;\n this.ns = undefined;\n this.context = context;\n this.fnContext = undefined;\n this.fnOptions = undefined;\n this.fnScopeId = undefined;\n this.key = data && data.key;\n this.componentOptions = componentOptions;\n this.componentInstance = undefined;\n this.parent = undefined;\n this.raw = false;\n this.isStatic = false;\n this.isRootInsert = true;\n this.isComment = false;\n this.isCloned = false;\n this.isOnce = false;\n this.asyncFactory = asyncFactory;\n this.asyncMeta = undefined;\n this.isAsyncPlaceholder = false;\n};\n\nvar prototypeAccessors = { child: { configurable: true } };\n\n// DEPRECATED: alias for componentInstance for backwards compat.\n/* istanbul ignore next */\nprototypeAccessors.child.get = function () {\n return this.componentInstance\n};\n\nObject.defineProperties( VNode.prototype, prototypeAccessors );\n\nvar createEmptyVNode = function (text) {\n if ( text === void 0 ) text = '';\n\n var node = new VNode();\n node.text = text;\n node.isComment = true;\n return node\n};\n\nfunction createTextVNode (val) {\n return new VNode(undefined, undefined, undefined, String(val))\n}\n\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode (vnode) {\n var cloned = new VNode(\n vnode.tag,\n vnode.data,\n // #7975\n // clone children array to avoid mutating original in case of cloning\n // a child.\n vnode.children && vnode.children.slice(),\n vnode.text,\n vnode.elm,\n vnode.context,\n vnode.componentOptions,\n vnode.asyncFactory\n );\n cloned.ns = vnode.ns;\n cloned.isStatic = vnode.isStatic;\n cloned.key = vnode.key;\n cloned.isComment = vnode.isComment;\n cloned.fnContext = vnode.fnContext;\n cloned.fnOptions = vnode.fnOptions;\n cloned.fnScopeId = vnode.fnScopeId;\n cloned.asyncMeta = vnode.asyncMeta;\n cloned.isCloned = true;\n return cloned\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\n\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);\n\nvar methodsToPatch = [\n 'push',\n 'pop',\n 'shift',\n 'unshift',\n 'splice',\n 'sort',\n 'reverse'\n];\n\n/**\n * Intercept mutating methods and emit events\n */\nmethodsToPatch.forEach(function (method) {\n // cache original method\n var original = arrayProto[method];\n def(arrayMethods, method, function mutator () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n var result = original.apply(this, args);\n var ob = this.__ob__;\n var inserted;\n switch (method) {\n case 'push':\n case 'unshift':\n inserted = args;\n break\n case 'splice':\n inserted = args.slice(2);\n break\n }\n if (inserted) { ob.observeArray(inserted); }\n // notify change\n ob.dep.notify();\n return result\n });\n});\n\n/* */\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\n\n/**\n * In some cases we may want to disable observation inside a component's\n * update computation.\n */\nvar shouldObserve = true;\n\nfunction toggleObserving (value) {\n shouldObserve = value;\n}\n\n/**\n * Observer class that is attached to each observed\n * object. Once attached, the observer converts the target\n * object's property keys into getter/setters that\n * collect dependencies and dispatch updates.\n */\nvar Observer = function Observer (value) {\n this.value = value;\n this.dep = new Dep();\n this.vmCount = 0;\n def(value, '__ob__', this);\n if (Array.isArray(value)) {\n if (hasProto) {\n {// fixed by xxxxxx 微信小程序使用 plugins 之后,数组方法被直接挂载到了数组对象上,需要执行 copyAugment 逻辑\n if(value.push !== value.__proto__.push){\n copyAugment(value, arrayMethods, arrayKeys);\n } else {\n protoAugment(value, arrayMethods);\n }\n }\n } else {\n copyAugment(value, arrayMethods, arrayKeys);\n }\n this.observeArray(value);\n } else {\n this.walk(value);\n }\n};\n\n/**\n * Walk through all properties and convert them into\n * getter/setters. This method should only be called when\n * value type is Object.\n */\nObserver.prototype.walk = function walk (obj) {\n var keys = Object.keys(obj);\n for (var i = 0; i < keys.length; i++) {\n defineReactive$$1(obj, keys[i]);\n }\n};\n\n/**\n * Observe a list of Array items.\n */\nObserver.prototype.observeArray = function observeArray (items) {\n for (var i = 0, l = items.length; i < l; i++) {\n observe(items[i]);\n }\n};\n\n// helpers\n\n/**\n * Augment a target Object or Array by intercepting\n * the prototype chain using __proto__\n */\nfunction protoAugment (target, src) {\n /* eslint-disable no-proto */\n target.__proto__ = src;\n /* eslint-enable no-proto */\n}\n\n/**\n * Augment a target Object or Array by defining\n * hidden properties.\n */\n/* istanbul ignore next */\nfunction copyAugment (target, src, keys) {\n for (var i = 0, l = keys.length; i < l; i++) {\n var key = keys[i];\n def(target, key, src[key]);\n }\n}\n\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe (value, asRootData) {\n if (!isObject(value) || value instanceof VNode) {\n return\n }\n var ob;\n if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n ob = value.__ob__;\n } else if (\n shouldObserve &&\n !isServerRendering() &&\n (Array.isArray(value) || isPlainObject(value)) &&\n Object.isExtensible(value) &&\n !value._isVue\n ) {\n ob = new Observer(value);\n }\n if (asRootData && ob) {\n ob.vmCount++;\n }\n return ob\n}\n\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive$$1 (\n obj,\n key,\n val,\n customSetter,\n shallow\n) {\n var dep = new Dep();\n\n var property = Object.getOwnPropertyDescriptor(obj, key);\n if (property && property.configurable === false) {\n return\n }\n\n // cater for pre-defined getter/setters\n var getter = property && property.get;\n var setter = property && property.set;\n if ((!getter || setter) && arguments.length === 2) {\n val = obj[key];\n }\n\n var childOb = !shallow && observe(val);\n Object.defineProperty(obj, key, {\n enumerable: true,\n configurable: true,\n get: function reactiveGetter () {\n var value = getter ? getter.call(obj) : val;\n if (Dep.SharedObject.target) { // fixed by xxxxxx\n dep.depend();\n if (childOb) {\n childOb.dep.depend();\n if (Array.isArray(value)) {\n dependArray(value);\n }\n }\n }\n return value\n },\n set: function reactiveSetter (newVal) {\n var value = getter ? getter.call(obj) : val;\n /* eslint-disable no-self-compare */\n if (newVal === value || (newVal !== newVal && value !== value)) {\n return\n }\n /* eslint-enable no-self-compare */\n if (process.env.NODE_ENV !== 'production' && customSetter) {\n customSetter();\n }\n // #7981: for accessor properties without setter\n if (getter && !setter) { return }\n if (setter) {\n setter.call(obj, newVal);\n } else {\n val = newVal;\n }\n childOb = !shallow && observe(newVal);\n dep.notify();\n }\n });\n}\n\n/**\n * Set a property on an object. Adds the new property and\n * triggers change notification if the property doesn't\n * already exist.\n */\nfunction set (target, key, val) {\n if (process.env.NODE_ENV !== 'production' &&\n (isUndef(target) || isPrimitive(target))\n ) {\n warn((\"Cannot set reactive property on undefined, null, or primitive value: \" + ((target))));\n }\n if (Array.isArray(target) && isValidArrayIndex(key)) {\n target.length = Math.max(target.length, key);\n target.splice(key, 1, val);\n return val\n }\n if (key in target && !(key in Object.prototype)) {\n target[key] = val;\n return val\n }\n var ob = (target).__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' && warn(\n 'Avoid adding reactive properties to a Vue instance or its root $data ' +\n 'at runtime - declare it upfront in the data option.'\n );\n return val\n }\n if (!ob) {\n target[key] = val;\n return val\n }\n defineReactive$$1(ob.value, key, val);\n ob.dep.notify();\n return val\n}\n\n/**\n * Delete a property and trigger change if necessary.\n */\nfunction del (target, key) {\n if (process.env.NODE_ENV !== 'production' &&\n (isUndef(target) || isPrimitive(target))\n ) {\n warn((\"Cannot delete reactive property on undefined, null, or primitive value: \" + ((target))));\n }\n if (Array.isArray(target) && isValidArrayIndex(key)) {\n target.splice(key, 1);\n return\n }\n var ob = (target).__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' && warn(\n 'Avoid deleting properties on a Vue instance or its root $data ' +\n '- just set it to null.'\n );\n return\n }\n if (!hasOwn(target, key)) {\n return\n }\n delete target[key];\n if (!ob) {\n return\n }\n ob.dep.notify();\n}\n\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray (value) {\n for (var e = (void 0), i = 0, l = value.length; i < l; i++) {\n e = value[i];\n e && e.__ob__ && e.__ob__.dep.depend();\n if (Array.isArray(e)) {\n dependArray(e);\n }\n }\n}\n\n/* */\n\n/**\n * Option overwriting strategies are functions that handle\n * how to merge a parent option value and a child option\n * value into the final value.\n */\nvar strats = config.optionMergeStrategies;\n\n/**\n * Options with restrictions\n */\nif (process.env.NODE_ENV !== 'production') {\n strats.el = strats.propsData = function (parent, child, vm, key) {\n if (!vm) {\n warn(\n \"option \\\"\" + key + \"\\\" can only be used during instance \" +\n 'creation with the `new` keyword.'\n );\n }\n return defaultStrat(parent, child)\n };\n}\n\n/**\n * Helper that recursively merges two data objects together.\n */\nfunction mergeData (to, from) {\n if (!from) { return to }\n var key, toVal, fromVal;\n\n var keys = hasSymbol\n ? Reflect.ownKeys(from)\n : Object.keys(from);\n\n for (var i = 0; i < keys.length; i++) {\n key = keys[i];\n // in case the object is already observed...\n if (key === '__ob__') { continue }\n toVal = to[key];\n fromVal = from[key];\n if (!hasOwn(to, key)) {\n set(to, key, fromVal);\n } else if (\n toVal !== fromVal &&\n isPlainObject(toVal) &&\n isPlainObject(fromVal)\n ) {\n mergeData(toVal, fromVal);\n }\n }\n return to\n}\n\n/**\n * Data\n */\nfunction mergeDataOrFn (\n parentVal,\n childVal,\n vm\n) {\n if (!vm) {\n // in a Vue.extend merge, both should be functions\n if (!childVal) {\n return parentVal\n }\n if (!parentVal) {\n return childVal\n }\n // when parentVal & childVal are both present,\n // we need to return a function that returns the\n // merged result of both functions... no need to\n // check if parentVal is a function here because\n // it has to be a function to pass previous merges.\n return function mergedDataFn () {\n return mergeData(\n typeof childVal === 'function' ? childVal.call(this, this) : childVal,\n typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal\n )\n }\n } else {\n return function mergedInstanceDataFn () {\n // instance merge\n var instanceData = typeof childVal === 'function'\n ? childVal.call(vm, vm)\n : childVal;\n var defaultData = typeof parentVal === 'function'\n ? parentVal.call(vm, vm)\n : parentVal;\n if (instanceData) {\n return mergeData(instanceData, defaultData)\n } else {\n return defaultData\n }\n }\n }\n}\n\nstrats.data = function (\n parentVal,\n childVal,\n vm\n) {\n if (!vm) {\n if (childVal && typeof childVal !== 'function') {\n process.env.NODE_ENV !== 'production' && warn(\n 'The \"data\" option should be a function ' +\n 'that returns a per-instance value in component ' +\n 'definitions.',\n vm\n );\n\n return parentVal\n }\n return mergeDataOrFn(parentVal, childVal)\n }\n\n return mergeDataOrFn(parentVal, childVal, vm)\n};\n\n/**\n * Hooks and props are merged as arrays.\n */\nfunction mergeHook (\n parentVal,\n childVal\n) {\n var res = childVal\n ? parentVal\n ? parentVal.concat(childVal)\n : Array.isArray(childVal)\n ? childVal\n : [childVal]\n : parentVal;\n return res\n ? dedupeHooks(res)\n : res\n}\n\nfunction dedupeHooks (hooks) {\n var res = [];\n for (var i = 0; i < hooks.length; i++) {\n if (res.indexOf(hooks[i]) === -1) {\n res.push(hooks[i]);\n }\n }\n return res\n}\n\nLIFECYCLE_HOOKS.forEach(function (hook) {\n strats[hook] = mergeHook;\n});\n\n/**\n * Assets\n *\n * When a vm is present (instance creation), we need to do\n * a three-way merge between constructor options, instance\n * options and parent options.\n */\nfunction mergeAssets (\n parentVal,\n childVal,\n vm,\n key\n) {\n var res = Object.create(parentVal || null);\n if (childVal) {\n process.env.NODE_ENV !== 'production' && assertObjectType(key, childVal, vm);\n return extend(res, childVal)\n } else {\n return res\n }\n}\n\nASSET_TYPES.forEach(function (type) {\n strats[type + 's'] = mergeAssets;\n});\n\n/**\n * Watchers.\n *\n * Watchers hashes should not overwrite one\n * another, so we merge them as arrays.\n */\nstrats.watch = function (\n parentVal,\n childVal,\n vm,\n key\n) {\n // work around Firefox's Object.prototype.watch...\n if (parentVal === nativeWatch) { parentVal = undefined; }\n if (childVal === nativeWatch) { childVal = undefined; }\n /* istanbul ignore if */\n if (!childVal) { return Object.create(parentVal || null) }\n if (process.env.NODE_ENV !== 'production') {\n assertObjectType(key, childVal, vm);\n }\n if (!parentVal) { return childVal }\n var ret = {};\n extend(ret, parentVal);\n for (var key$1 in childVal) {\n var parent = ret[key$1];\n var child = childVal[key$1];\n if (parent && !Array.isArray(parent)) {\n parent = [parent];\n }\n ret[key$1] = parent\n ? parent.concat(child)\n : Array.isArray(child) ? child : [child];\n }\n return ret\n};\n\n/**\n * Other object hashes.\n */\nstrats.props =\nstrats.methods =\nstrats.inject =\nstrats.computed = function (\n parentVal,\n childVal,\n vm,\n key\n) {\n if (childVal && process.env.NODE_ENV !== 'production') {\n assertObjectType(key, childVal, vm);\n }\n if (!parentVal) { return childVal }\n var ret = Object.create(null);\n extend(ret, parentVal);\n if (childVal) { extend(ret, childVal); }\n return ret\n};\nstrats.provide = mergeDataOrFn;\n\n/**\n * Default strategy.\n */\nvar defaultStrat = function (parentVal, childVal) {\n return childVal === undefined\n ? parentVal\n : childVal\n};\n\n/**\n * Validate component names\n */\nfunction checkComponents (options) {\n for (var key in options.components) {\n validateComponentName(key);\n }\n}\n\nfunction validateComponentName (name) {\n if (!new RegExp((\"^[a-zA-Z][\\\\-\\\\.0-9_\" + (unicodeRegExp.source) + \"]*$\")).test(name)) {\n warn(\n 'Invalid component name: \"' + name + '\". Component names ' +\n 'should conform to valid custom element name in html5 specification.'\n );\n }\n if (isBuiltInTag(name) || config.isReservedTag(name)) {\n warn(\n 'Do not use built-in or reserved HTML elements as component ' +\n 'id: ' + name\n );\n }\n}\n\n/**\n * Ensure all props option syntax are normalized into the\n * Object-based format.\n */\nfunction normalizeProps (options, vm) {\n var props = options.props;\n if (!props) { return }\n var res = {};\n var i, val, name;\n if (Array.isArray(props)) {\n i = props.length;\n while (i--) {\n val = props[i];\n if (typeof val === 'string') {\n name = camelize(val);\n res[name] = { type: null };\n } else if (process.env.NODE_ENV !== 'production') {\n warn('props must be strings when using array syntax.');\n }\n }\n } else if (isPlainObject(props)) {\n for (var key in props) {\n val = props[key];\n name = camelize(key);\n res[name] = isPlainObject(val)\n ? val\n : { type: val };\n }\n } else if (process.env.NODE_ENV !== 'production') {\n warn(\n \"Invalid value for option \\\"props\\\": expected an Array or an Object, \" +\n \"but got \" + (toRawType(props)) + \".\",\n vm\n );\n }\n options.props = res;\n}\n\n/**\n * Normalize all injections into Object-based format\n */\nfunction normalizeInject (options, vm) {\n var inject = options.inject;\n if (!inject) { return }\n var normalized = options.inject = {};\n if (Array.isArray(inject)) {\n for (var i = 0; i < inject.length; i++) {\n normalized[inject[i]] = { from: inject[i] };\n }\n } else if (isPlainObject(inject)) {\n for (var key in inject) {\n var val = inject[key];\n normalized[key] = isPlainObject(val)\n ? extend({ from: key }, val)\n : { from: val };\n }\n } else if (process.env.NODE_ENV !== 'production') {\n warn(\n \"Invalid value for option \\\"inject\\\": expected an Array or an Object, \" +\n \"but got \" + (toRawType(inject)) + \".\",\n vm\n );\n }\n}\n\n/**\n * Normalize raw function directives into object format.\n */\nfunction normalizeDirectives (options) {\n var dirs = options.directives;\n if (dirs) {\n for (var key in dirs) {\n var def$$1 = dirs[key];\n if (typeof def$$1 === 'function') {\n dirs[key] = { bind: def$$1, update: def$$1 };\n }\n }\n }\n}\n\nfunction assertObjectType (name, value, vm) {\n if (!isPlainObject(value)) {\n warn(\n \"Invalid value for option \\\"\" + name + \"\\\": expected an Object, \" +\n \"but got \" + (toRawType(value)) + \".\",\n vm\n );\n }\n}\n\n/**\n * Merge two option objects into a new one.\n * Core utility used in both instantiation and inheritance.\n */\nfunction mergeOptions (\n parent,\n child,\n vm\n) {\n if (process.env.NODE_ENV !== 'production') {\n checkComponents(child);\n }\n\n if (typeof child === 'function') {\n child = child.options;\n }\n\n normalizeProps(child, vm);\n normalizeInject(child, vm);\n normalizeDirectives(child);\n\n // Apply extends and mixins on the child options,\n // but only if it is a raw options object that isn't\n // the result of another mergeOptions call.\n // Only merged options has the _base property.\n if (!child._base) {\n if (child.extends) {\n parent = mergeOptions(parent, child.extends, vm);\n }\n if (child.mixins) {\n for (var i = 0, l = child.mixins.length; i < l; i++) {\n parent = mergeOptions(parent, child.mixins[i], vm);\n }\n }\n }\n\n var options = {};\n var key;\n for (key in parent) {\n mergeField(key);\n }\n for (key in child) {\n if (!hasOwn(parent, key)) {\n mergeField(key);\n }\n }\n function mergeField (key) {\n var strat = strats[key] || defaultStrat;\n options[key] = strat(parent[key], child[key], vm, key);\n }\n return options\n}\n\n/**\n * Resolve an asset.\n * This function is used because child instances need access\n * to assets defined in its ancestor chain.\n */\nfunction resolveAsset (\n options,\n type,\n id,\n warnMissing\n) {\n /* istanbul ignore if */\n if (typeof id !== 'string') {\n return\n }\n var assets = options[type];\n // check local registration variations first\n if (hasOwn(assets, id)) { return assets[id] }\n var camelizedId = camelize(id);\n if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }\n var PascalCaseId = capitalize(camelizedId);\n if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }\n // fallback to prototype chain\n var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];\n if (process.env.NODE_ENV !== 'production' && warnMissing && !res) {\n warn(\n 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,\n options\n );\n }\n return res\n}\n\n/* */\n\n\n\nfunction validateProp (\n key,\n propOptions,\n propsData,\n vm\n) {\n var prop = propOptions[key];\n var absent = !hasOwn(propsData, key);\n var value = propsData[key];\n // boolean casting\n var booleanIndex = getTypeIndex(Boolean, prop.type);\n if (booleanIndex > -1) {\n if (absent && !hasOwn(prop, 'default')) {\n value = false;\n } else if (value === '' || value === hyphenate(key)) {\n // only cast empty string / same name to boolean if\n // boolean has higher priority\n var stringIndex = getTypeIndex(String, prop.type);\n if (stringIndex < 0 || booleanIndex < stringIndex) {\n value = true;\n }\n }\n }\n // check default value\n if (value === undefined) {\n value = getPropDefaultValue(vm, prop, key);\n // since the default value is a fresh copy,\n // make sure to observe it.\n var prevShouldObserve = shouldObserve;\n toggleObserving(true);\n observe(value);\n toggleObserving(prevShouldObserve);\n }\n if (\n process.env.NODE_ENV !== 'production' &&\n // skip validation for weex recycle-list child component props\n !(false)\n ) {\n assertProp(prop, key, value, vm, absent);\n }\n return value\n}\n\n/**\n * Get the default value of a prop.\n */\nfunction getPropDefaultValue (vm, prop, key) {\n // no default, return undefined\n if (!hasOwn(prop, 'default')) {\n return undefined\n }\n var def = prop.default;\n // warn against non-factory defaults for Object & Array\n if (process.env.NODE_ENV !== 'production' && isObject(def)) {\n warn(\n 'Invalid default value for prop \"' + key + '\": ' +\n 'Props with type Object/Array must use a factory function ' +\n 'to return the default value.',\n vm\n );\n }\n // the raw prop value was also undefined from previous render,\n // return previous default value to avoid unnecessary watcher trigger\n if (vm && vm.$options.propsData &&\n vm.$options.propsData[key] === undefined &&\n vm._props[key] !== undefined\n ) {\n return vm._props[key]\n }\n // call factory function for non-Function types\n // a value is Function if its prototype is function even across different execution context\n return typeof def === 'function' && getType(prop.type) !== 'Function'\n ? def.call(vm)\n : def\n}\n\n/**\n * Assert whether a prop is valid.\n */\nfunction assertProp (\n prop,\n name,\n value,\n vm,\n absent\n) {\n if (prop.required && absent) {\n warn(\n 'Missing required prop: \"' + name + '\"',\n vm\n );\n return\n }\n if (value == null && !prop.required) {\n return\n }\n var type = prop.type;\n var valid = !type || type === true;\n var expectedTypes = [];\n if (type) {\n if (!Array.isArray(type)) {\n type = [type];\n }\n for (var i = 0; i < type.length && !valid; i++) {\n var assertedType = assertType(value, type[i]);\n expectedTypes.push(assertedType.expectedType || '');\n valid = assertedType.valid;\n }\n }\n\n if (!valid) {\n warn(\n getInvalidTypeMessage(name, value, expectedTypes),\n vm\n );\n return\n }\n var validator = prop.validator;\n if (validator) {\n if (!validator(value)) {\n warn(\n 'Invalid prop: custom validator check failed for prop \"' + name + '\".',\n vm\n );\n }\n }\n}\n\nvar simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;\n\nfunction assertType (value, type) {\n var valid;\n var expectedType = getType(type);\n if (simpleCheckRE.test(expectedType)) {\n var t = typeof value;\n valid = t === expectedType.toLowerCase();\n // for primitive wrapper objects\n if (!valid && t === 'object') {\n valid = value instanceof type;\n }\n } else if (expectedType === 'Object') {\n valid = isPlainObject(value);\n } else if (expectedType === 'Array') {\n valid = Array.isArray(value);\n } else {\n valid = value instanceof type;\n }\n return {\n valid: valid,\n expectedType: expectedType\n }\n}\n\n/**\n * Use function string name to check built-in types,\n * because a simple equality check will fail when running\n * across different vms / iframes.\n */\nfunction getType (fn) {\n var match = fn && fn.toString().match(/^\\s*function (\\w+)/);\n return match ? match[1] : ''\n}\n\nfunction isSameType (a, b) {\n return getType(a) === getType(b)\n}\n\nfunction getTypeIndex (type, expectedTypes) {\n if (!Array.isArray(expectedTypes)) {\n return isSameType(expectedTypes, type) ? 0 : -1\n }\n for (var i = 0, len = expectedTypes.length; i < len; i++) {\n if (isSameType(expectedTypes[i], type)) {\n return i\n }\n }\n return -1\n}\n\nfunction getInvalidTypeMessage (name, value, expectedTypes) {\n var message = \"Invalid prop: type check failed for prop \\\"\" + name + \"\\\".\" +\n \" Expected \" + (expectedTypes.map(capitalize).join(', '));\n var expectedType = expectedTypes[0];\n var receivedType = toRawType(value);\n var expectedValue = styleValue(value, expectedType);\n var receivedValue = styleValue(value, receivedType);\n // check if we need to specify expected value\n if (expectedTypes.length === 1 &&\n isExplicable(expectedType) &&\n !isBoolean(expectedType, receivedType)) {\n message += \" with value \" + expectedValue;\n }\n message += \", got \" + receivedType + \" \";\n // check if we need to specify received value\n if (isExplicable(receivedType)) {\n message += \"with value \" + receivedValue + \".\";\n }\n return message\n}\n\nfunction styleValue (value, type) {\n if (type === 'String') {\n return (\"\\\"\" + value + \"\\\"\")\n } else if (type === 'Number') {\n return (\"\" + (Number(value)))\n } else {\n return (\"\" + value)\n }\n}\n\nfunction isExplicable (value) {\n var explicitTypes = ['string', 'number', 'boolean'];\n return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; })\n}\n\nfunction isBoolean () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })\n}\n\n/* */\n\nfunction handleError (err, vm, info) {\n // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.\n // See: https://github.com/vuejs/vuex/issues/1505\n pushTarget();\n try {\n if (vm) {\n var cur = vm;\n while ((cur = cur.$parent)) {\n var hooks = cur.$options.errorCaptured;\n if (hooks) {\n for (var i = 0; i < hooks.length; i++) {\n try {\n var capture = hooks[i].call(cur, err, vm, info) === false;\n if (capture) { return }\n } catch (e) {\n globalHandleError(e, cur, 'errorCaptured hook');\n }\n }\n }\n }\n }\n globalHandleError(err, vm, info);\n } finally {\n popTarget();\n }\n}\n\nfunction invokeWithErrorHandling (\n handler,\n context,\n args,\n vm,\n info\n) {\n var res;\n try {\n res = args ? handler.apply(context, args) : handler.call(context);\n if (res && !res._isVue && isPromise(res) && !res._handled) {\n res.catch(function (e) { return handleError(e, vm, info + \" (Promise/async)\"); });\n // issue #9511\n // avoid catch triggering multiple times when nested calls\n res._handled = true;\n }\n } catch (e) {\n handleError(e, vm, info);\n }\n return res\n}\n\nfunction globalHandleError (err, vm, info) {\n if (config.errorHandler) {\n try {\n return config.errorHandler.call(null, err, vm, info)\n } catch (e) {\n // if the user intentionally throws the original error in the handler,\n // do not log it twice\n if (e !== err) {\n logError(e, null, 'config.errorHandler');\n }\n }\n }\n logError(err, vm, info);\n}\n\nfunction logError (err, vm, info) {\n if (process.env.NODE_ENV !== 'production') {\n warn((\"Error in \" + info + \": \\\"\" + (err.toString()) + \"\\\"\"), vm);\n }\n /* istanbul ignore else */\n if ((inBrowser || inWeex) && typeof console !== 'undefined') {\n console.error(err);\n } else {\n throw err\n }\n}\n\n/* */\n\nvar callbacks = [];\nvar pending = false;\n\nfunction flushCallbacks () {\n pending = false;\n var copies = callbacks.slice(0);\n callbacks.length = 0;\n for (var i = 0; i < copies.length; i++) {\n copies[i]();\n }\n}\n\n// Here we have async deferring wrappers using microtasks.\n// In 2.5 we used (macro) tasks (in combination with microtasks).\n// However, it has subtle problems when state is changed right before repaint\n// (e.g. #6813, out-in transitions).\n// Also, using (macro) tasks in event handler would cause some weird behaviors\n// that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).\n// So we now use microtasks everywhere, again.\n// A major drawback of this tradeoff is that there are some scenarios\n// where microtasks have too high a priority and fire in between supposedly\n// sequential events (e.g. #4521, #6690, which have workarounds)\n// or even between bubbling of the same event (#6566).\nvar timerFunc;\n\n// The nextTick behavior leverages the microtask queue, which can be accessed\n// via either native Promise.then or MutationObserver.\n// MutationObserver has wider support, however it is seriously bugged in\n// UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It\n// completely stops working after triggering a few times... so, if native\n// Promise is available, we will use it:\n/* istanbul ignore next, $flow-disable-line */\nif (typeof Promise !== 'undefined' && isNative(Promise)) {\n var p = Promise.resolve();\n timerFunc = function () {\n p.then(flushCallbacks);\n // In problematic UIWebViews, Promise.then doesn't completely break, but\n // it can get stuck in a weird state where callbacks are pushed into the\n // microtask queue but the queue isn't being flushed, until the browser\n // needs to do some other work, e.g. handle a timer. Therefore we can\n // \"force\" the microtask queue to be flushed by adding an empty timer.\n if (isIOS) { setTimeout(noop); }\n };\n} else if (!isIE && typeof MutationObserver !== 'undefined' && (\n isNative(MutationObserver) ||\n // PhantomJS and iOS 7.x\n MutationObserver.toString() === '[object MutationObserverConstructor]'\n)) {\n // Use MutationObserver where native Promise is not available,\n // e.g. PhantomJS, iOS7, Android 4.4\n // (#6466 MutationObserver is unreliable in IE11)\n var counter = 1;\n var observer = new MutationObserver(flushCallbacks);\n var textNode = document.createTextNode(String(counter));\n observer.observe(textNode, {\n characterData: true\n });\n timerFunc = function () {\n counter = (counter + 1) % 2;\n textNode.data = String(counter);\n };\n} else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {\n // Fallback to setImmediate.\n // Technically it leverages the (macro) task queue,\n // but it is still a better choice than setTimeout.\n timerFunc = function () {\n setImmediate(flushCallbacks);\n };\n} else {\n // Fallback to setTimeout.\n timerFunc = function () {\n setTimeout(flushCallbacks, 0);\n };\n}\n\nfunction nextTick (cb, ctx) {\n var _resolve;\n callbacks.push(function () {\n if (cb) {\n try {\n cb.call(ctx);\n } catch (e) {\n handleError(e, ctx, 'nextTick');\n }\n } else if (_resolve) {\n _resolve(ctx);\n }\n });\n if (!pending) {\n pending = true;\n timerFunc();\n }\n // $flow-disable-line\n if (!cb && typeof Promise !== 'undefined') {\n return new Promise(function (resolve) {\n _resolve = resolve;\n })\n }\n}\n\n/* */\n\n/* not type checking this file because flow doesn't play well with Proxy */\n\nvar initProxy;\n\nif (process.env.NODE_ENV !== 'production') {\n var allowedGlobals = makeMap(\n 'Infinity,undefined,NaN,isFinite,isNaN,' +\n 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +\n 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +\n 'require' // for Webpack/Browserify\n );\n\n var warnNonPresent = function (target, key) {\n warn(\n \"Property or method \\\"\" + key + \"\\\" is not defined on the instance but \" +\n 'referenced during render. Make sure that this property is reactive, ' +\n 'either in the data option, or for class-based components, by ' +\n 'initializing the property. ' +\n 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',\n target\n );\n };\n\n var warnReservedPrefix = function (target, key) {\n warn(\n \"Property \\\"\" + key + \"\\\" must be accessed with \\\"$data.\" + key + \"\\\" because \" +\n 'properties starting with \"$\" or \"_\" are not proxied in the Vue instance to ' +\n 'prevent conflicts with Vue internals. ' +\n 'See: https://vuejs.org/v2/api/#data',\n target\n );\n };\n\n var hasProxy =\n typeof Proxy !== 'undefined' && isNative(Proxy);\n\n if (hasProxy) {\n var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');\n config.keyCodes = new Proxy(config.keyCodes, {\n set: function set (target, key, value) {\n if (isBuiltInModifier(key)) {\n warn((\"Avoid overwriting built-in modifier in config.keyCodes: .\" + key));\n return false\n } else {\n target[key] = value;\n return true\n }\n }\n });\n }\n\n var hasHandler = {\n has: function has (target, key) {\n var has = key in target;\n var isAllowed = allowedGlobals(key) ||\n (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));\n if (!has && !isAllowed) {\n if (key in target.$data) { warnReservedPrefix(target, key); }\n else { warnNonPresent(target, key); }\n }\n return has || !isAllowed\n }\n };\n\n var getHandler = {\n get: function get (target, key) {\n if (typeof key === 'string' && !(key in target)) {\n if (key in target.$data) { warnReservedPrefix(target, key); }\n else { warnNonPresent(target, key); }\n }\n return target[key]\n }\n };\n\n initProxy = function initProxy (vm) {\n if (hasProxy) {\n // determine which proxy handler to use\n var options = vm.$options;\n var handlers = options.render && options.render._withStripped\n ? getHandler\n : hasHandler;\n vm._renderProxy = new Proxy(vm, handlers);\n } else {\n vm._renderProxy = vm;\n }\n };\n}\n\n/* */\n\nvar seenObjects = new _Set();\n\n/**\n * Recursively traverse an object to evoke all converted\n * getters, so that every nested property inside the object\n * is collected as a \"deep\" dependency.\n */\nfunction traverse (val) {\n _traverse(val, seenObjects);\n seenObjects.clear();\n}\n\nfunction _traverse (val, seen) {\n var i, keys;\n var isA = Array.isArray(val);\n if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {\n return\n }\n if (val.__ob__) {\n var depId = val.__ob__.dep.id;\n if (seen.has(depId)) {\n return\n }\n seen.add(depId);\n }\n if (isA) {\n i = val.length;\n while (i--) { _traverse(val[i], seen); }\n } else {\n keys = Object.keys(val);\n i = keys.length;\n while (i--) { _traverse(val[keys[i]], seen); }\n }\n}\n\nvar mark;\nvar measure;\n\nif (process.env.NODE_ENV !== 'production') {\n var perf = inBrowser && window.performance;\n /* istanbul ignore if */\n if (\n perf &&\n perf.mark &&\n perf.measure &&\n perf.clearMarks &&\n perf.clearMeasures\n ) {\n mark = function (tag) { return perf.mark(tag); };\n measure = function (name, startTag, endTag) {\n perf.measure(name, startTag, endTag);\n perf.clearMarks(startTag);\n perf.clearMarks(endTag);\n // perf.clearMeasures(name)\n };\n }\n}\n\n/* */\n\nvar normalizeEvent = cached(function (name) {\n var passive = name.charAt(0) === '&';\n name = passive ? name.slice(1) : name;\n var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first\n name = once$$1 ? name.slice(1) : name;\n var capture = name.charAt(0) === '!';\n name = capture ? name.slice(1) : name;\n return {\n name: name,\n once: once$$1,\n capture: capture,\n passive: passive\n }\n});\n\nfunction createFnInvoker (fns, vm) {\n function invoker () {\n var arguments$1 = arguments;\n\n var fns = invoker.fns;\n if (Array.isArray(fns)) {\n var cloned = fns.slice();\n for (var i = 0; i < cloned.length; i++) {\n invokeWithErrorHandling(cloned[i], null, arguments$1, vm, \"v-on handler\");\n }\n } else {\n // return handler return value for single handlers\n return invokeWithErrorHandling(fns, null, arguments, vm, \"v-on handler\")\n }\n }\n invoker.fns = fns;\n return invoker\n}\n\nfunction updateListeners (\n on,\n oldOn,\n add,\n remove$$1,\n createOnceHandler,\n vm\n) {\n var name, def$$1, cur, old, event;\n for (name in on) {\n def$$1 = cur = on[name];\n old = oldOn[name];\n event = normalizeEvent(name);\n if (isUndef(cur)) {\n process.env.NODE_ENV !== 'production' && warn(\n \"Invalid handler for event \\\"\" + (event.name) + \"\\\": got \" + String(cur),\n vm\n );\n } else if (isUndef(old)) {\n if (isUndef(cur.fns)) {\n cur = on[name] = createFnInvoker(cur, vm);\n }\n if (isTrue(event.once)) {\n cur = on[name] = createOnceHandler(event.name, cur, event.capture);\n }\n add(event.name, cur, event.capture, event.passive, event.params);\n } else if (cur !== old) {\n old.fns = cur;\n on[name] = old;\n }\n }\n for (name in oldOn) {\n if (isUndef(on[name])) {\n event = normalizeEvent(name);\n remove$$1(event.name, oldOn[name], event.capture);\n }\n }\n}\n\n/* */\n\n/* */\n\n// fixed by xxxxxx (mp properties)\nfunction extractPropertiesFromVNodeData(data, Ctor, res, context) {\n var propOptions = Ctor.options.mpOptions && Ctor.options.mpOptions.properties;\n if (isUndef(propOptions)) {\n return res\n }\n var externalClasses = Ctor.options.mpOptions.externalClasses || [];\n var attrs = data.attrs;\n var props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n var result = checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n // externalClass\n if (\n result &&\n res[key] &&\n externalClasses.indexOf(altKey) !== -1 &&\n context[camelize(res[key])]\n ) {\n // 赋值 externalClass 真正的值(模板里 externalClass 的值可能是字符串)\n res[key] = context[camelize(res[key])];\n }\n }\n }\n return res\n}\n\nfunction extractPropsFromVNodeData (\n data,\n Ctor,\n tag,\n context// fixed by xxxxxx\n) {\n // we are only extracting raw values here.\n // validation and default values are handled in the child\n // component itself.\n var propOptions = Ctor.options.props;\n if (isUndef(propOptions)) {\n // fixed by xxxxxx\n return extractPropertiesFromVNodeData(data, Ctor, {}, context)\n }\n var res = {};\n var attrs = data.attrs;\n var props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n if (process.env.NODE_ENV !== 'production') {\n var keyInLowerCase = key.toLowerCase();\n if (\n key !== keyInLowerCase &&\n attrs && hasOwn(attrs, keyInLowerCase)\n ) {\n tip(\n \"Prop \\\"\" + keyInLowerCase + \"\\\" is passed to component \" +\n (formatComponentName(tag || Ctor)) + \", but the declared prop name is\" +\n \" \\\"\" + key + \"\\\". \" +\n \"Note that HTML attributes are case-insensitive and camelCased \" +\n \"props need to use their kebab-case equivalents when using in-DOM \" +\n \"templates. You should probably use \\\"\" + altKey + \"\\\" instead of \\\"\" + key + \"\\\".\"\n );\n }\n }\n checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n }\n }\n // fixed by xxxxxx\n return extractPropertiesFromVNodeData(data, Ctor, res, context)\n}\n\nfunction checkProp (\n res,\n hash,\n key,\n altKey,\n preserve\n) {\n if (isDef(hash)) {\n if (hasOwn(hash, key)) {\n res[key] = hash[key];\n if (!preserve) {\n delete hash[key];\n }\n return true\n } else if (hasOwn(hash, altKey)) {\n res[key] = hash[altKey];\n if (!preserve) {\n delete hash[altKey];\n }\n return true\n }\n }\n return false\n}\n\n/* */\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array<VNode>. There are\n// two cases where extra normalization is needed:\n\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren (children) {\n for (var i = 0; i < children.length; i++) {\n if (Array.isArray(children[i])) {\n return Array.prototype.concat.apply([], children)\n }\n }\n return children\n}\n\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g. <template>, <slot>, v-for, or when the children is provided by user\n// with hand-written render functions / JSX. In such cases a full normalization\n// is needed to cater to all possible types of children values.\nfunction normalizeChildren (children) {\n return isPrimitive(children)\n ? [createTextVNode(children)]\n : Array.isArray(children)\n ? normalizeArrayChildren(children)\n : undefined\n}\n\nfunction isTextNode (node) {\n return isDef(node) && isDef(node.text) && isFalse(node.isComment)\n}\n\nfunction normalizeArrayChildren (children, nestedIndex) {\n var res = [];\n var i, c, lastIndex, last;\n for (i = 0; i < children.length; i++) {\n c = children[i];\n if (isUndef(c) || typeof c === 'boolean') { continue }\n lastIndex = res.length - 1;\n last = res[lastIndex];\n // nested\n if (Array.isArray(c)) {\n if (c.length > 0) {\n c = normalizeArrayChildren(c, ((nestedIndex || '') + \"_\" + i));\n // merge adjacent text nodes\n if (isTextNode(c[0]) && isTextNode(last)) {\n res[lastIndex] = createTextVNode(last.text + (c[0]).text);\n c.shift();\n }\n res.push.apply(res, c);\n }\n } else if (isPrimitive(c)) {\n if (isTextNode(last)) {\n // merge adjacent text nodes\n // this is necessary for SSR hydration because text nodes are\n // essentially merged when rendered to HTML strings\n res[lastIndex] = createTextVNode(last.text + c);\n } else if (c !== '') {\n // convert primitive to vnode\n res.push(createTextVNode(c));\n }\n } else {\n if (isTextNode(c) && isTextNode(last)) {\n // merge adjacent text nodes\n res[lastIndex] = createTextVNode(last.text + c.text);\n } else {\n // default key for nested array children (likely generated by v-for)\n if (isTrue(children._isVList) &&\n isDef(c.tag) &&\n isUndef(c.key) &&\n isDef(nestedIndex)) {\n c.key = \"__vlist\" + nestedIndex + \"_\" + i + \"__\";\n }\n res.push(c);\n }\n }\n }\n return res\n}\n\n/* */\n\nfunction initProvide (vm) {\n var provide = vm.$options.provide;\n if (provide) {\n vm._provided = typeof provide === 'function'\n ? provide.call(vm)\n : provide;\n }\n}\n\nfunction initInjections (vm) {\n var result = resolveInject(vm.$options.inject, vm);\n if (result) {\n toggleObserving(false);\n Object.keys(result).forEach(function (key) {\n /* istanbul ignore else */\n if (process.env.NODE_ENV !== 'production') {\n defineReactive$$1(vm, key, result[key], function () {\n warn(\n \"Avoid mutating an injected value directly since the changes will be \" +\n \"overwritten whenever the provided component re-renders. \" +\n \"injection being mutated: \\\"\" + key + \"\\\"\",\n vm\n );\n });\n } else {\n defineReactive$$1(vm, key, result[key]);\n }\n });\n toggleObserving(true);\n }\n}\n\nfunction resolveInject (inject, vm) {\n if (inject) {\n // inject is :any because flow is not smart enough to figure out cached\n var result = Object.create(null);\n var keys = hasSymbol\n ? Reflect.ownKeys(inject)\n : Object.keys(inject);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n // #6574 in case the inject object is observed...\n if (key === '__ob__') { continue }\n var provideKey = inject[key].from;\n var source = vm;\n while (source) {\n if (source._provided && hasOwn(source._provided, provideKey)) {\n result[key] = source._provided[provideKey];\n break\n }\n source = source.$parent;\n }\n if (!source) {\n if ('default' in inject[key]) {\n var provideDefault = inject[key].default;\n result[key] = typeof provideDefault === 'function'\n ? provideDefault.call(vm)\n : provideDefault;\n } else if (process.env.NODE_ENV !== 'production') {\n warn((\"Injection \\\"\" + key + \"\\\" not found\"), vm);\n }\n }\n }\n return result\n }\n}\n\n/* */\n\n\n\n/**\n * Runtime helper for resolving raw children VNodes into a slot object.\n */\nfunction resolveSlots (\n children,\n context\n) {\n if (!children || !children.length) {\n return {}\n }\n var slots = {};\n for (var i = 0, l = children.length; i < l; i++) {\n var child = children[i];\n var data = child.data;\n // remove slot attribute if the node is resolved as a Vue slot node\n if (data && data.attrs && data.attrs.slot) {\n delete data.attrs.slot;\n }\n // named slots should only be respected if the vnode was rendered in the\n // same context.\n if ((child.context === context || child.fnContext === context) &&\n data && data.slot != null\n ) {\n var name = data.slot;\n var slot = (slots[name] || (slots[name] = []));\n if (child.tag === 'template') {\n slot.push.apply(slot, child.children || []);\n } else {\n slot.push(child);\n }\n } else {\n // fixed by xxxxxx 临时 hack 掉 uni-app 中的异步 name slot page\n if(child.asyncMeta && child.asyncMeta.data && child.asyncMeta.data.slot === 'page'){\n (slots['page'] || (slots['page'] = [])).push(child);\n }else{\n (slots.default || (slots.default = [])).push(child);\n }\n }\n }\n // ignore slots that contains only whitespace\n for (var name$1 in slots) {\n if (slots[name$1].every(isWhitespace)) {\n delete slots[name$1];\n }\n }\n return slots\n}\n\nfunction isWhitespace (node) {\n return (node.isComment && !node.asyncFactory) || node.text === ' '\n}\n\n/* */\n\nfunction normalizeScopedSlots (\n slots,\n normalSlots,\n prevSlots\n) {\n var res;\n var hasNormalSlots = Object.keys(normalSlots).length > 0;\n var isStable = slots ? !!slots.$stable : !hasNormalSlots;\n var key = slots && slots.$key;\n if (!slots) {\n res = {};\n } else if (slots._normalized) {\n // fast path 1: child component re-render only, parent did not change\n return slots._normalized\n } else if (\n isStable &&\n prevSlots &&\n prevSlots !== emptyObject &&\n key === prevSlots.$key &&\n !hasNormalSlots &&\n !prevSlots.$hasNormal\n ) {\n // fast path 2: stable scoped slots w/ no normal slots to proxy,\n // only need to normalize once\n return prevSlots\n } else {\n res = {};\n for (var key$1 in slots) {\n if (slots[key$1] && key$1[0] !== '$') {\n res[key$1] = normalizeScopedSlot(normalSlots, key$1, slots[key$1]);\n }\n }\n }\n // expose normal slots on scopedSlots\n for (var key$2 in normalSlots) {\n if (!(key$2 in res)) {\n res[key$2] = proxyNormalSlot(normalSlots, key$2);\n }\n }\n // avoriaz seems to mock a non-extensible $scopedSlots object\n // and when that is passed down this would cause an error\n if (slots && Object.isExtensible(slots)) {\n (slots)._normalized = res;\n }\n def(res, '$stable', isStable);\n def(res, '$key', key);\n def(res, '$hasNormal', hasNormalSlots);\n return res\n}\n\nfunction normalizeScopedSlot(normalSlots, key, fn) {\n var normalized = function () {\n var res = arguments.length ? fn.apply(null, arguments) : fn({});\n res = res && typeof res === 'object' && !Array.isArray(res)\n ? [res] // single vnode\n : normalizeChildren(res);\n return res && (\n res.length === 0 ||\n (res.length === 1 && res[0].isComment) // #9658\n ) ? undefined\n : res\n };\n // this is a slot using the new v-slot syntax without scope. although it is\n // compiled as a scoped slot, render fn users would expect it to be present\n // on this.$slots because the usage is semantically a normal slot.\n if (fn.proxy) {\n Object.defineProperty(normalSlots, key, {\n get: normalized,\n enumerable: true,\n configurable: true\n });\n }\n return normalized\n}\n\nfunction proxyNormalSlot(slots, key) {\n return function () { return slots[key]; }\n}\n\n/* */\n\n/**\n * Runtime helper for rendering v-for lists.\n */\nfunction renderList (\n val,\n render\n) {\n var ret, i, l, keys, key;\n if (Array.isArray(val) || typeof val === 'string') {\n ret = new Array(val.length);\n for (i = 0, l = val.length; i < l; i++) {\n ret[i] = render(val[i], i, i, i); // fixed by xxxxxx\n }\n } else if (typeof val === 'number') {\n ret = new Array(val);\n for (i = 0; i < val; i++) {\n ret[i] = render(i + 1, i, i, i); // fixed by xxxxxx\n }\n } else if (isObject(val)) {\n if (hasSymbol && val[Symbol.iterator]) {\n ret = [];\n var iterator = val[Symbol.iterator]();\n var result = iterator.next();\n while (!result.done) {\n ret.push(render(result.value, ret.length, i, i++)); // fixed by xxxxxx\n result = iterator.next();\n }\n } else {\n keys = Object.keys(val);\n ret = new Array(keys.length);\n for (i = 0, l = keys.length; i < l; i++) {\n key = keys[i];\n ret[i] = render(val[key], key, i, i); // fixed by xxxxxx\n }\n }\n }\n if (!isDef(ret)) {\n ret = [];\n }\n (ret)._isVList = true;\n return ret\n}\n\n/* */\n\n/**\n * Runtime helper for rendering <slot>\n */\nfunction renderSlot (\n name,\n fallback,\n props,\n bindObject\n) {\n var scopedSlotFn = this.$scopedSlots[name];\n var nodes;\n if (scopedSlotFn) { // scoped slot\n props = props || {};\n if (bindObject) {\n if (process.env.NODE_ENV !== 'production' && !isObject(bindObject)) {\n warn(\n 'slot v-bind without argument expects an Object',\n this\n );\n }\n props = extend(extend({}, bindObject), props);\n }\n // fixed by xxxxxx app-plus scopedSlot\n nodes = scopedSlotFn(props, this, props._i) || fallback;\n } else {\n nodes = this.$slots[name] || fallback;\n }\n\n var target = props && props.slot;\n if (target) {\n return this.$createElement('template', { slot: target }, nodes)\n } else {\n return nodes\n }\n}\n\n/* */\n\n/**\n * Runtime helper for resolving filters\n */\nfunction resolveFilter (id) {\n return resolveAsset(this.$options, 'filters', id, true) || identity\n}\n\n/* */\n\nfunction isKeyNotMatch (expect, actual) {\n if (Array.isArray(expect)) {\n return expect.indexOf(actual) === -1\n } else {\n return expect !== actual\n }\n}\n\n/**\n * Runtime helper for checking keyCodes from config.\n * exposed as Vue.prototype._k\n * passing in eventKeyName as last argument separately for backwards compat\n */\nfunction checkKeyCodes (\n eventKeyCode,\n key,\n builtInKeyCode,\n eventKeyName,\n builtInKeyName\n) {\n var mappedKeyCode = config.keyCodes[key] || builtInKeyCode;\n if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {\n return isKeyNotMatch(builtInKeyName, eventKeyName)\n } else if (mappedKeyCode) {\n return isKeyNotMatch(mappedKeyCode, eventKeyCode)\n } else if (eventKeyName) {\n return hyphenate(eventKeyName) !== key\n }\n}\n\n/* */\n\n/**\n * Runtime helper for merging v-bind=\"object\" into a VNode's data.\n */\nfunction bindObjectProps (\n data,\n tag,\n value,\n asProp,\n isSync\n) {\n if (value) {\n if (!isObject(value)) {\n process.env.NODE_ENV !== 'production' && warn(\n 'v-bind without argument expects an Object or Array value',\n this\n );\n } else {\n if (Array.isArray(value)) {\n value = toObject(value);\n }\n var hash;\n var loop = function ( key ) {\n if (\n key === 'class' ||\n key === 'style' ||\n isReservedAttribute(key)\n ) {\n hash = data;\n } else {\n var type = data.attrs && data.attrs.type;\n hash = asProp || config.mustUseProp(tag, type, key)\n ? data.domProps || (data.domProps = {})\n : data.attrs || (data.attrs = {});\n }\n var camelizedKey = camelize(key);\n var hyphenatedKey = hyphenate(key);\n if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {\n hash[key] = value[key];\n\n if (isSync) {\n var on = data.on || (data.on = {});\n on[(\"update:\" + key)] = function ($event) {\n value[key] = $event;\n };\n }\n }\n };\n\n for (var key in value) loop( key );\n }\n }\n return data\n}\n\n/* */\n\n/**\n * Runtime helper for rendering static trees.\n */\nfunction renderStatic (\n index,\n isInFor\n) {\n var cached = this._staticTrees || (this._staticTrees = []);\n var tree = cached[index];\n // if has already-rendered static tree and not inside v-for,\n // we can reuse the same tree.\n if (tree && !isInFor) {\n return tree\n }\n // otherwise, render a fresh tree.\n tree = cached[index] = this.$options.staticRenderFns[index].call(\n this._renderProxy,\n null,\n this // for render fns generated for functional component templates\n );\n markStatic(tree, (\"__static__\" + index), false);\n return tree\n}\n\n/**\n * Runtime helper for v-once.\n * Effectively it means marking the node as static with a unique key.\n */\nfunction markOnce (\n tree,\n index,\n key\n) {\n markStatic(tree, (\"__once__\" + index + (key ? (\"_\" + key) : \"\")), true);\n return tree\n}\n\nfunction markStatic (\n tree,\n key,\n isOnce\n) {\n if (Array.isArray(tree)) {\n for (var i = 0; i < tree.length; i++) {\n if (tree[i] && typeof tree[i] !== 'string') {\n markStaticNode(tree[i], (key + \"_\" + i), isOnce);\n }\n }\n } else {\n markStaticNode(tree, key, isOnce);\n }\n}\n\nfunction markStaticNode (node, key, isOnce) {\n node.isStatic = true;\n node.key = key;\n node.isOnce = isOnce;\n}\n\n/* */\n\nfunction bindObjectListeners (data, value) {\n if (value) {\n if (!isPlainObject(value)) {\n process.env.NODE_ENV !== 'production' && warn(\n 'v-on without argument expects an Object value',\n this\n );\n } else {\n var on = data.on = data.on ? extend({}, data.on) : {};\n for (var key in value) {\n var existing = on[key];\n var ours = value[key];\n on[key] = existing ? [].concat(existing, ours) : ours;\n }\n }\n }\n return data\n}\n\n/* */\n\nfunction resolveScopedSlots (\n fns, // see flow/vnode\n res,\n // the following are added in 2.6\n hasDynamicKeys,\n contentHashKey\n) {\n res = res || { $stable: !hasDynamicKeys };\n for (var i = 0; i < fns.length; i++) {\n var slot = fns[i];\n if (Array.isArray(slot)) {\n resolveScopedSlots(slot, res, hasDynamicKeys);\n } else if (slot) {\n // marker for reverse proxying v-slot without scope on this.$slots\n if (slot.proxy) {\n slot.fn.proxy = true;\n }\n res[slot.key] = slot.fn;\n }\n }\n if (contentHashKey) {\n (res).$key = contentHashKey;\n }\n return res\n}\n\n/* */\n\nfunction bindDynamicKeys (baseObj, values) {\n for (var i = 0; i < values.length; i += 2) {\n var key = values[i];\n if (typeof key === 'string' && key) {\n baseObj[values[i]] = values[i + 1];\n } else if (process.env.NODE_ENV !== 'production' && key !== '' && key !== null) {\n // null is a special value for explicitly removing a binding\n warn(\n (\"Invalid value for dynamic directive argument (expected string or null): \" + key),\n this\n );\n }\n }\n return baseObj\n}\n\n// helper to dynamically append modifier runtime markers to event names.\n// ensure only append when value is already string, otherwise it will be cast\n// to string and cause the type check to miss.\nfunction prependModifier (value, symbol) {\n return typeof value === 'string' ? symbol + value : value\n}\n\n/* */\n\nfunction installRenderHelpers (target) {\n target._o = markOnce;\n target._n = toNumber;\n target._s = toString;\n target._l = renderList;\n target._t = renderSlot;\n target._q = looseEqual;\n target._i = looseIndexOf;\n target._m = renderStatic;\n target._f = resolveFilter;\n target._k = checkKeyCodes;\n target._b = bindObjectProps;\n target._v = createTextVNode;\n target._e = createEmptyVNode;\n target._u = resolveScopedSlots;\n target._g = bindObjectListeners;\n target._d = bindDynamicKeys;\n target._p = prependModifier;\n}\n\n/* */\n\nfunction FunctionalRenderContext (\n data,\n props,\n children,\n parent,\n Ctor\n) {\n var this$1 = this;\n\n var options = Ctor.options;\n // ensure the createElement function in functional components\n // gets a unique context - this is necessary for correct named slot check\n var contextVm;\n if (hasOwn(parent, '_uid')) {\n contextVm = Object.create(parent);\n // $flow-disable-line\n contextVm._original = parent;\n } else {\n // the context vm passed in is a functional context as well.\n // in this case we want to make sure we are able to get a hold to the\n // real context instance.\n contextVm = parent;\n // $flow-disable-line\n parent = parent._original;\n }\n var isCompiled = isTrue(options._compiled);\n var needNormalization = !isCompiled;\n\n this.data = data;\n this.props = props;\n this.children = children;\n this.parent = parent;\n this.listeners = data.on || emptyObject;\n this.injections = resolveInject(options.inject, parent);\n this.slots = function () {\n if (!this$1.$slots) {\n normalizeScopedSlots(\n data.scopedSlots,\n this$1.$slots = resolveSlots(children, parent)\n );\n }\n return this$1.$slots\n };\n\n Object.defineProperty(this, 'scopedSlots', ({\n enumerable: true,\n get: function get () {\n return normalizeScopedSlots(data.scopedSlots, this.slots())\n }\n }));\n\n // support for compiled functional template\n if (isCompiled) {\n // exposing $options for renderStatic()\n this.$options = options;\n // pre-resolve slots for renderSlot()\n this.$slots = this.slots();\n this.$scopedSlots = normalizeScopedSlots(data.scopedSlots, this.$slots);\n }\n\n if (options._scopeId) {\n this._c = function (a, b, c, d) {\n var vnode = createElement(contextVm, a, b, c, d, needNormalization);\n if (vnode && !Array.isArray(vnode)) {\n vnode.fnScopeId = options._scopeId;\n vnode.fnContext = parent;\n }\n return vnode\n };\n } else {\n this._c = function (a, b, c, d) { return createElement(contextVm, a, b, c, d, needNormalization); };\n }\n}\n\ninstallRenderHelpers(FunctionalRenderContext.prototype);\n\nfunction createFunctionalComponent (\n Ctor,\n propsData,\n data,\n contextVm,\n children\n) {\n var options = Ctor.options;\n var props = {};\n var propOptions = options.props;\n if (isDef(propOptions)) {\n for (var key in propOptions) {\n props[key] = validateProp(key, propOptions, propsData || emptyObject);\n }\n } else {\n if (isDef(data.attrs)) { mergeProps(props, data.attrs); }\n if (isDef(data.props)) { mergeProps(props, data.props); }\n }\n\n var renderContext = new FunctionalRenderContext(\n data,\n props,\n children,\n contextVm,\n Ctor\n );\n\n var vnode = options.render.call(null, renderContext._c, renderContext);\n\n if (vnode instanceof VNode) {\n return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext)\n } else if (Array.isArray(vnode)) {\n var vnodes = normalizeChildren(vnode) || [];\n var res = new Array(vnodes.length);\n for (var i = 0; i < vnodes.length; i++) {\n res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext);\n }\n return res\n }\n}\n\nfunction cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderContext) {\n // #7817 clone node before setting fnContext, otherwise if the node is reused\n // (e.g. it was from a cached normal slot) the fnContext causes named slots\n // that should not be matched to match.\n var clone = cloneVNode(vnode);\n clone.fnContext = contextVm;\n clone.fnOptions = options;\n if (process.env.NODE_ENV !== 'production') {\n (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext = renderContext;\n }\n if (data.slot) {\n (clone.data || (clone.data = {})).slot = data.slot;\n }\n return clone\n}\n\nfunction mergeProps (to, from) {\n for (var key in from) {\n to[camelize(key)] = from[key];\n }\n}\n\n/* */\n\n/* */\n\n/* */\n\n/* */\n\n// inline hooks to be invoked on component VNodes during patch\nvar componentVNodeHooks = {\n init: function init (vnode, hydrating) {\n if (\n vnode.componentInstance &&\n !vnode.componentInstance._isDestroyed &&\n vnode.data.keepAlive\n ) {\n // kept-alive components, treat as a patch\n var mountedNode = vnode; // work around flow\n componentVNodeHooks.prepatch(mountedNode, mountedNode);\n } else {\n var child = vnode.componentInstance = createComponentInstanceForVnode(\n vnode,\n activeInstance\n );\n child.$mount(hydrating ? vnode.elm : undefined, hydrating);\n }\n },\n\n prepatch: function prepatch (oldVnode, vnode) {\n var options = vnode.componentOptions;\n var child = vnode.componentInstance = oldVnode.componentInstance;\n updateChildComponent(\n child,\n options.propsData, // updated props\n options.listeners, // updated listeners\n vnode, // new parent vnode\n options.children // new children\n );\n },\n\n insert: function insert (vnode) {\n var context = vnode.context;\n var componentInstance = vnode.componentInstance;\n if (!componentInstance._isMounted) {\n callHook(componentInstance, 'onServiceCreated');\n callHook(componentInstance, 'onServiceAttached');\n componentInstance._isMounted = true;\n callHook(componentInstance, 'mounted');\n }\n if (vnode.data.keepAlive) {\n if (context._isMounted) {\n // vue-router#1212\n // During updates, a kept-alive component's child components may\n // change, so directly walking the tree here may call activated hooks\n // on incorrect children. Instead we push them into a queue which will\n // be processed after the whole patch process ended.\n queueActivatedComponent(componentInstance);\n } else {\n activateChildComponent(componentInstance, true /* direct */);\n }\n }\n },\n\n destroy: function destroy (vnode) {\n var componentInstance = vnode.componentInstance;\n if (!componentInstance._isDestroyed) {\n if (!vnode.data.keepAlive) {\n componentInstance.$destroy();\n } else {\n deactivateChildComponent(componentInstance, true /* direct */);\n }\n }\n }\n};\n\nvar hooksToMerge = Object.keys(componentVNodeHooks);\n\nfunction createComponent (\n Ctor,\n data,\n context,\n children,\n tag\n) {\n if (isUndef(Ctor)) {\n return\n }\n\n var baseCtor = context.$options._base;\n\n // plain options object: turn it into a constructor\n if (isObject(Ctor)) {\n Ctor = baseCtor.extend(Ctor);\n }\n\n // if at this stage it's not a constructor or an async component factory,\n // reject.\n if (typeof Ctor !== 'function') {\n if (process.env.NODE_ENV !== 'production') {\n warn((\"Invalid Component definition: \" + (String(Ctor))), context);\n }\n return\n }\n\n // async component\n var asyncFactory;\n if (isUndef(Ctor.cid)) {\n asyncFactory = Ctor;\n Ctor = resolveAsyncComponent(asyncFactory, baseCtor);\n if (Ctor === undefined) {\n // return a placeholder node for async component, which is rendered\n // as a comment node but preserves all the raw information for the node.\n // the information will be used for async server-rendering and hydration.\n return createAsyncPlaceholder(\n asyncFactory,\n data,\n context,\n children,\n tag\n )\n }\n }\n\n data = data || {};\n\n // resolve constructor options in case global mixins are applied after\n // component constructor creation\n resolveConstructorOptions(Ctor);\n\n // transform component v-model data into props & events\n if (isDef(data.model)) {\n transformModel(Ctor.options, data);\n }\n\n // extract props\n var propsData = extractPropsFromVNodeData(data, Ctor, tag, context); // fixed by xxxxxx\n\n // functional component\n if (isTrue(Ctor.options.functional)) {\n return createFunctionalComponent(Ctor, propsData, data, context, children)\n }\n\n // extract listeners, since these needs to be treated as\n // child component listeners instead of DOM listeners\n var listeners = data.on;\n // replace with listeners with .native modifier\n // so it gets processed during parent component patch.\n data.on = data.nativeOn;\n\n if (isTrue(Ctor.options.abstract)) {\n // abstract components do not keep anything\n // other than props & listeners & slot\n\n // work around flow\n var slot = data.slot;\n data = {};\n if (slot) {\n data.slot = slot;\n }\n }\n\n // install component management hooks onto the placeholder node\n installComponentHooks(data);\n\n // return a placeholder vnode\n var name = Ctor.options.name || tag;\n var vnode = new VNode(\n (\"vue-component-\" + (Ctor.cid) + (name ? (\"-\" + name) : '')),\n data, undefined, undefined, undefined, context,\n { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children },\n asyncFactory\n );\n\n return vnode\n}\n\nfunction createComponentInstanceForVnode (\n vnode, // we know it's MountedComponentVNode but flow doesn't\n parent // activeInstance in lifecycle state\n) {\n var options = {\n _isComponent: true,\n _parentVnode: vnode,\n parent: parent\n };\n // check inline-template render functions\n var inlineTemplate = vnode.data.inlineTemplate;\n if (isDef(inlineTemplate)) {\n options.render = inlineTemplate.render;\n options.staticRenderFns = inlineTemplate.staticRenderFns;\n }\n return new vnode.componentOptions.Ctor(options)\n}\n\nfunction installComponentHooks (data) {\n var hooks = data.hook || (data.hook = {});\n for (var i = 0; i < hooksToMerge.length; i++) {\n var key = hooksToMerge[i];\n var existing = hooks[key];\n var toMerge = componentVNodeHooks[key];\n if (existing !== toMerge && !(existing && existing._merged)) {\n hooks[key] = existing ? mergeHook$1(toMerge, existing) : toMerge;\n }\n }\n}\n\nfunction mergeHook$1 (f1, f2) {\n var merged = function (a, b) {\n // flow complains about extra args which is why we use any\n f1(a, b);\n f2(a, b);\n };\n merged._merged = true;\n return merged\n}\n\n// transform component v-model info (value and callback) into\n// prop and event handler respectively.\nfunction transformModel (options, data) {\n var prop = (options.model && options.model.prop) || 'value';\n var event = (options.model && options.model.event) || 'input'\n ;(data.attrs || (data.attrs = {}))[prop] = data.model.value;\n var on = data.on || (data.on = {});\n var existing = on[event];\n var callback = data.model.callback;\n if (isDef(existing)) {\n if (\n Array.isArray(existing)\n ? existing.indexOf(callback) === -1\n : existing !== callback\n ) {\n on[event] = [callback].concat(existing);\n }\n } else {\n on[event] = callback;\n }\n}\n\n/* */\n\nvar SIMPLE_NORMALIZE = 1;\nvar ALWAYS_NORMALIZE = 2;\n\n// wrapper function for providing a more flexible interface\n// without getting yelled at by flow\nfunction createElement (\n context,\n tag,\n data,\n children,\n normalizationType,\n alwaysNormalize\n) {\n if (Array.isArray(data) || isPrimitive(data)) {\n normalizationType = children;\n children = data;\n data = undefined;\n }\n if (isTrue(alwaysNormalize)) {\n normalizationType = ALWAYS_NORMALIZE;\n }\n return _createElement(context, tag, data, children, normalizationType)\n}\n\nfunction _createElement (\n context,\n tag,\n data,\n children,\n normalizationType\n) {\n if (isDef(data) && isDef((data).__ob__)) {\n process.env.NODE_ENV !== 'production' && warn(\n \"Avoid using observed data object as vnode data: \" + (JSON.stringify(data)) + \"\\n\" +\n 'Always create fresh vnode data objects in each render!',\n context\n );\n return createEmptyVNode()\n }\n // object syntax in v-bind\n if (isDef(data) && isDef(data.is)) {\n tag = data.is;\n }\n if (!tag) {\n // in case of component :is set to falsy value\n return createEmptyVNode()\n }\n // warn against non-primitive key\n if (process.env.NODE_ENV !== 'production' &&\n isDef(data) && isDef(data.key) && !isPrimitive(data.key)\n ) {\n {\n warn(\n 'Avoid using non-primitive value as key, ' +\n 'use string/number value instead.',\n context\n );\n }\n }\n // support single function children as default scoped slot\n if (Array.isArray(children) &&\n typeof children[0] === 'function'\n ) {\n data = data || {};\n data.scopedSlots = { default: children[0] };\n children.length = 0;\n }\n if (normalizationType === ALWAYS_NORMALIZE) {\n children = normalizeChildren(children);\n } else if (normalizationType === SIMPLE_NORMALIZE) {\n children = simpleNormalizeChildren(children);\n }\n var vnode, ns;\n if (typeof tag === 'string') {\n var Ctor;\n ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag);\n if (config.isReservedTag(tag)) {\n // platform built-in elements\n if (process.env.NODE_ENV !== 'production' && isDef(data) && isDef(data.nativeOn)) {\n warn(\n (\"The .native modifier for v-on is only valid on components but it was used on <\" + tag + \">.\"),\n context\n );\n }\n vnode = new VNode(\n config.parsePlatformTagName(tag), data, children,\n undefined, undefined, context\n );\n } else if ((!data || !data.pre) && isDef(Ctor = resolveAsset(context.$options, 'components', tag))) {\n // component\n vnode = createComponent(Ctor, data, context, children, tag);\n } else {\n // unknown or unlisted namespaced elements\n // check at runtime because it may get assigned a namespace when its\n // parent normalizes children\n vnode = new VNode(\n tag, data, children,\n undefined, undefined, context\n );\n }\n } else {\n // direct component options / constructor\n vnode = createComponent(tag, data, context, children);\n }\n if (Array.isArray(vnode)) {\n return vnode\n } else if (isDef(vnode)) {\n if (isDef(ns)) { applyNS(vnode, ns); }\n if (isDef(data)) { registerDeepBindings(data); }\n return vnode\n } else {\n return createEmptyVNode()\n }\n}\n\nfunction applyNS (vnode, ns, force) {\n vnode.ns = ns;\n if (vnode.tag === 'foreignObject') {\n // use default namespace inside foreignObject\n ns = undefined;\n force = true;\n }\n if (isDef(vnode.children)) {\n for (var i = 0, l = vnode.children.length; i < l; i++) {\n var child = vnode.children[i];\n if (isDef(child.tag) && (\n isUndef(child.ns) || (isTrue(force) && child.tag !== 'svg'))) {\n applyNS(child, ns, force);\n }\n }\n }\n}\n\n// ref #5318\n// necessary to ensure parent re-render when deep bindings like :style and\n// :class are used on slot nodes\nfunction registerDeepBindings (data) {\n if (isObject(data.style)) {\n traverse(data.style);\n }\n if (isObject(data.class)) {\n traverse(data.class);\n }\n}\n\n/* */\n\nfunction initRender (vm) {\n vm._vnode = null; // the root of the child tree\n vm._staticTrees = null; // v-once cached trees\n var options = vm.$options;\n var parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree\n var renderContext = parentVnode && parentVnode.context;\n vm.$slots = resolveSlots(options._renderChildren, renderContext);\n vm.$scopedSlots = emptyObject;\n // bind the createElement fn to this instance\n // so that we get proper render context inside it.\n // args order: tag, data, children, normalizationType, alwaysNormalize\n // internal version is used by render functions compiled from templates\n vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); };\n // normalization is always applied for the public version, used in\n // user-written render functions.\n vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); };\n\n // $attrs & $listeners are exposed for easier HOC creation.\n // they need to be reactive so that HOCs using them are always updated\n var parentData = parentVnode && parentVnode.data;\n\n /* istanbul ignore else */\n if (process.env.NODE_ENV !== 'production') {\n defineReactive$$1(vm, '$attrs', parentData && parentData.attrs || emptyObject, function () {\n !isUpdatingChildComponent && warn(\"$attrs is readonly.\", vm);\n }, true);\n defineReactive$$1(vm, '$listeners', options._parentListeners || emptyObject, function () {\n !isUpdatingChildComponent && warn(\"$listeners is readonly.\", vm);\n }, true);\n } else {\n defineReactive$$1(vm, '$attrs', parentData && parentData.attrs || emptyObject, null, true);\n defineReactive$$1(vm, '$listeners', options._parentListeners || emptyObject, null, true);\n }\n}\n\nvar currentRenderingInstance = null;\n\nfunction renderMixin (Vue) {\n // install runtime convenience helpers\n installRenderHelpers(Vue.prototype);\n\n Vue.prototype.$nextTick = function (fn) {\n return nextTick(fn, this)\n };\n\n Vue.prototype._render = function () {\n var vm = this;\n var ref = vm.$options;\n var render = ref.render;\n var _parentVnode = ref._parentVnode;\n\n if (_parentVnode) {\n vm.$scopedSlots = normalizeScopedSlots(\n _parentVnode.data.scopedSlots,\n vm.$slots,\n vm.$scopedSlots\n );\n }\n\n // set parent vnode. this allows render functions to have access\n // to the data on the placeholder node.\n vm.$vnode = _parentVnode;\n // render self\n var vnode;\n try {\n // There's no need to maintain a stack because all render fns are called\n // separately from one another. Nested component's render fns are called\n // when parent component is patched.\n currentRenderingInstance = vm;\n vnode = render.call(vm._renderProxy, vm.$createElement);\n } catch (e) {\n handleError(e, vm, \"render\");\n // return error render result,\n // or previous vnode to prevent render error causing blank component\n /* istanbul ignore else */\n if (process.env.NODE_ENV !== 'production' && vm.$options.renderError) {\n try {\n vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);\n } catch (e) {\n handleError(e, vm, \"renderError\");\n vnode = vm._vnode;\n }\n } else {\n vnode = vm._vnode;\n }\n } finally {\n currentRenderingInstance = null;\n }\n // if the returned array contains only a single node, allow it\n if (Array.isArray(vnode) && vnode.length === 1) {\n vnode = vnode[0];\n }\n // return empty vnode in case the render function errored out\n if (!(vnode instanceof VNode)) {\n if (process.env.NODE_ENV !== 'production' && Array.isArray(vnode)) {\n warn(\n 'Multiple root nodes returned from render function. Render function ' +\n 'should return a single root node.',\n vm\n );\n }\n vnode = createEmptyVNode();\n }\n // set parent\n vnode.parent = _parentVnode;\n return vnode\n };\n}\n\n/* */\n\nfunction ensureCtor (comp, base) {\n if (\n comp.__esModule ||\n (hasSymbol && comp[Symbol.toStringTag] === 'Module')\n ) {\n comp = comp.default;\n }\n return isObject(comp)\n ? base.extend(comp)\n : comp\n}\n\nfunction createAsyncPlaceholder (\n factory,\n data,\n context,\n children,\n tag\n) {\n var node = createEmptyVNode();\n node.asyncFactory = factory;\n node.asyncMeta = { data: data, context: context, children: children, tag: tag };\n return node\n}\n\nfunction resolveAsyncComponent (\n factory,\n baseCtor\n) {\n if (isTrue(factory.error) && isDef(factory.errorComp)) {\n return factory.errorComp\n }\n\n if (isDef(factory.resolved)) {\n return factory.resolved\n }\n\n var owner = currentRenderingInstance;\n if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {\n // already pending\n factory.owners.push(owner);\n }\n\n if (isTrue(factory.loading) && isDef(factory.loadingComp)) {\n return factory.loadingComp\n }\n\n if (owner && !isDef(factory.owners)) {\n var owners = factory.owners = [owner];\n var sync = true;\n var timerLoading = null;\n var timerTimeout = null\n\n ;(owner).$on('hook:destroyed', function () { return remove(owners, owner); });\n\n var forceRender = function (renderCompleted) {\n for (var i = 0, l = owners.length; i < l; i++) {\n (owners[i]).$forceUpdate();\n }\n\n if (renderCompleted) {\n owners.length = 0;\n if (timerLoading !== null) {\n clearTimeout(timerLoading);\n timerLoading = null;\n }\n if (timerTimeout !== null) {\n clearTimeout(timerTimeout);\n timerTimeout = null;\n }\n }\n };\n\n var resolve = once(function (res) {\n // cache resolved\n factory.resolved = ensureCtor(res, baseCtor);\n // invoke callbacks only if this is not a synchronous resolve\n // (async resolves are shimmed as synchronous during SSR)\n if (!sync) {\n forceRender(true);\n } else {\n owners.length = 0;\n }\n });\n\n var reject = once(function (reason) {\n process.env.NODE_ENV !== 'production' && warn(\n \"Failed to resolve async component: \" + (String(factory)) +\n (reason ? (\"\\nReason: \" + reason) : '')\n );\n if (isDef(factory.errorComp)) {\n factory.error = true;\n forceRender(true);\n }\n });\n\n var res = factory(resolve, reject);\n\n if (isObject(res)) {\n if (isPromise(res)) {\n // () => Promise\n if (isUndef(factory.resolved)) {\n res.then(resolve, reject);\n }\n } else if (isPromise(res.component)) {\n res.component.then(resolve, reject);\n\n if (isDef(res.error)) {\n factory.errorComp = ensureCtor(res.error, baseCtor);\n }\n\n if (isDef(res.loading)) {\n factory.loadingComp = ensureCtor(res.loading, baseCtor);\n if (res.delay === 0) {\n factory.loading = true;\n } else {\n timerLoading = setTimeout(function () {\n timerLoading = null;\n if (isUndef(factory.resolved) && isUndef(factory.error)) {\n factory.loading = true;\n forceRender(false);\n }\n }, res.delay || 200);\n }\n }\n\n if (isDef(res.timeout)) {\n timerTimeout = setTimeout(function () {\n timerTimeout = null;\n if (isUndef(factory.resolved)) {\n reject(\n process.env.NODE_ENV !== 'production'\n ? (\"timeout (\" + (res.timeout) + \"ms)\")\n : null\n );\n }\n }, res.timeout);\n }\n }\n }\n\n sync = false;\n // return in case resolved synchronously\n return factory.loading\n ? factory.loadingComp\n : factory.resolved\n }\n}\n\n/* */\n\nfunction isAsyncPlaceholder (node) {\n return node.isComment && node.asyncFactory\n}\n\n/* */\n\nfunction getFirstComponentChild (children) {\n if (Array.isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n var c = children[i];\n if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {\n return c\n }\n }\n }\n}\n\n/* */\n\n/* */\n\nfunction initEvents (vm) {\n vm._events = Object.create(null);\n vm._hasHookEvent = false;\n // init parent attached events\n var listeners = vm.$options._parentListeners;\n if (listeners) {\n updateComponentListeners(vm, listeners);\n }\n}\n\nvar target;\n\nfunction add (event, fn) {\n target.$on(event, fn);\n}\n\nfunction remove$1 (event, fn) {\n target.$off(event, fn);\n}\n\nfunction createOnceHandler (event, fn) {\n var _target = target;\n return function onceHandler () {\n var res = fn.apply(null, arguments);\n if (res !== null) {\n _target.$off(event, onceHandler);\n }\n }\n}\n\nfunction updateComponentListeners (\n vm,\n listeners,\n oldListeners\n) {\n target = vm;\n updateListeners(listeners, oldListeners || {}, add, remove$1, createOnceHandler, vm);\n target = undefined;\n}\n\nfunction eventsMixin (Vue) {\n var hookRE = /^hook:/;\n Vue.prototype.$on = function (event, fn) {\n var vm = this;\n if (Array.isArray(event)) {\n for (var i = 0, l = event.length; i < l; i++) {\n vm.$on(event[i], fn);\n }\n } else {\n (vm._events[event] || (vm._events[event] = [])).push(fn);\n // optimize hook:event cost by using a boolean flag marked at registration\n // instead of a hash lookup\n if (hookRE.test(event)) {\n vm._hasHookEvent = true;\n }\n }\n return vm\n };\n\n Vue.prototype.$once = function (event, fn) {\n var vm = this;\n function on () {\n vm.$off(event, on);\n fn.apply(vm, arguments);\n }\n on.fn = fn;\n vm.$on(event, on);\n return vm\n };\n\n Vue.prototype.$off = function (event, fn) {\n var vm = this;\n // all\n if (!arguments.length) {\n vm._events = Object.create(null);\n return vm\n }\n // array of events\n if (Array.isArray(event)) {\n for (var i$1 = 0, l = event.length; i$1 < l; i$1++) {\n vm.$off(event[i$1], fn);\n }\n return vm\n }\n // specific event\n var cbs = vm._events[event];\n if (!cbs) {\n return vm\n }\n if (!fn) {\n vm._events[event] = null;\n return vm\n }\n // specific handler\n var cb;\n var i = cbs.length;\n while (i--) {\n cb = cbs[i];\n if (cb === fn || cb.fn === fn) {\n cbs.splice(i, 1);\n break\n }\n }\n return vm\n };\n\n Vue.prototype.$emit = function (event) {\n var vm = this;\n if (process.env.NODE_ENV !== 'production') {\n var lowerCaseEvent = event.toLowerCase();\n if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {\n tip(\n \"Event \\\"\" + lowerCaseEvent + \"\\\" is emitted in component \" +\n (formatComponentName(vm)) + \" but the handler is registered for \\\"\" + event + \"\\\". \" +\n \"Note that HTML attributes are case-insensitive and you cannot use \" +\n \"v-on to listen to camelCase events when using in-DOM templates. \" +\n \"You should probably use \\\"\" + (hyphenate(event)) + \"\\\" instead of \\\"\" + event + \"\\\".\"\n );\n }\n }\n var cbs = vm._events[event];\n if (cbs) {\n cbs = cbs.length > 1 ? toArray(cbs) : cbs;\n var args = toArray(arguments, 1);\n var info = \"event handler for \\\"\" + event + \"\\\"\";\n for (var i = 0, l = cbs.length; i < l; i++) {\n invokeWithErrorHandling(cbs[i], vm, args, vm, info);\n }\n }\n return vm\n };\n}\n\n/* */\n\nvar activeInstance = null;\nvar isUpdatingChildComponent = false;\n\nfunction setActiveInstance(vm) {\n var prevActiveInstance = activeInstance;\n activeInstance = vm;\n return function () {\n activeInstance = prevActiveInstance;\n }\n}\n\nfunction initLifecycle (vm) {\n var options = vm.$options;\n\n // locate first non-abstract parent\n var parent = options.parent;\n if (parent && !options.abstract) {\n while (parent.$options.abstract && parent.$parent) {\n parent = parent.$parent;\n }\n parent.$children.push(vm);\n }\n\n vm.$parent = parent;\n vm.$root = parent ? parent.$root : vm;\n\n vm.$children = [];\n vm.$refs = {};\n\n vm._watcher = null;\n vm._inactive = null;\n vm._directInactive = false;\n vm._isMounted = false;\n vm._isDestroyed = false;\n vm._isBeingDestroyed = false;\n}\n\nfunction lifecycleMixin (Vue) {\n Vue.prototype._update = function (vnode, hydrating) {\n var vm = this;\n var prevEl = vm.$el;\n var prevVnode = vm._vnode;\n var restoreActiveInstance = setActiveInstance(vm);\n vm._vnode = vnode;\n // Vue.prototype.__patch__ is injected in entry points\n // based on the rendering backend used.\n if (!prevVnode) {\n // initial render\n vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */);\n } else {\n // updates\n vm.$el = vm.__patch__(prevVnode, vnode);\n }\n restoreActiveInstance();\n // update __vue__ reference\n if (prevEl) {\n prevEl.__vue__ = null;\n }\n if (vm.$el) {\n vm.$el.__vue__ = vm;\n }\n // if parent is an HOC, update its $el as well\n if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {\n vm.$parent.$el = vm.$el;\n }\n // updated hook is called by the scheduler to ensure that children are\n // updated in a parent's updated hook.\n };\n\n Vue.prototype.$forceUpdate = function () {\n var vm = this;\n if (vm._watcher) {\n vm._watcher.update();\n }\n };\n\n Vue.prototype.$destroy = function () {\n var vm = this;\n if (vm._isBeingDestroyed) {\n return\n }\n callHook(vm, 'beforeDestroy');\n vm._isBeingDestroyed = true;\n // remove self from parent\n var parent = vm.$parent;\n if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {\n remove(parent.$children, vm);\n }\n // teardown watchers\n if (vm._watcher) {\n vm._watcher.teardown();\n }\n var i = vm._watchers.length;\n while (i--) {\n vm._watchers[i].teardown();\n }\n // remove reference from data ob\n // frozen object may not have observer.\n if (vm._data.__ob__) {\n vm._data.__ob__.vmCount--;\n }\n // call the last hook...\n vm._isDestroyed = true;\n // invoke destroy hooks on current rendered tree\n vm.__patch__(vm._vnode, null);\n // fire destroyed hook\n callHook(vm, 'destroyed');\n // turn off all instance listeners.\n vm.$off();\n // remove __vue__ reference\n if (vm.$el) {\n vm.$el.__vue__ = null;\n }\n // release circular reference (#6759)\n if (vm.$vnode) {\n vm.$vnode.parent = null;\n }\n };\n}\n\nfunction updateChildComponent (\n vm,\n propsData,\n listeners,\n parentVnode,\n renderChildren\n) {\n if (process.env.NODE_ENV !== 'production') {\n isUpdatingChildComponent = true;\n }\n\n // determine whether component has slot children\n // we need to do this before overwriting $options._renderChildren.\n\n // check if there are dynamic scopedSlots (hand-written or compiled but with\n // dynamic slot names). Static scoped slots compiled from template has the\n // \"$stable\" marker.\n var newScopedSlots = parentVnode.data.scopedSlots;\n var oldScopedSlots = vm.$scopedSlots;\n var hasDynamicScopedSlot = !!(\n (newScopedSlots && !newScopedSlots.$stable) ||\n (oldScopedSlots !== emptyObject && !oldScopedSlots.$stable) ||\n (newScopedSlots && vm.$scopedSlots.$key !== newScopedSlots.$key)\n );\n\n // Any static slot children from the parent may have changed during parent's\n // update. Dynamic scoped slots may also have changed. In such cases, a forced\n // update is necessary to ensure correctness.\n var needsForceUpdate = !!(\n renderChildren || // has new static slots\n vm.$options._renderChildren || // has old static slots\n hasDynamicScopedSlot\n );\n\n vm.$options._parentVnode = parentVnode;\n vm.$vnode = parentVnode; // update vm's placeholder node without re-render\n\n if (vm._vnode) { // update child tree's parent\n vm._vnode.parent = parentVnode;\n }\n vm.$options._renderChildren = renderChildren;\n\n // update $attrs and $listeners hash\n // these are also reactive so they may trigger child update if the child\n // used them during render\n vm.$attrs = parentVnode.data.attrs || emptyObject;\n vm.$listeners = listeners || emptyObject;\n\n // update props\n if (propsData && vm.$options.props) {\n toggleObserving(false);\n var props = vm._props;\n var propKeys = vm.$options._propKeys || [];\n for (var i = 0; i < propKeys.length; i++) {\n var key = propKeys[i];\n var propOptions = vm.$options.props; // wtf flow?\n props[key] = validateProp(key, propOptions, propsData, vm);\n }\n toggleObserving(true);\n // keep a copy of raw propsData\n vm.$options.propsData = propsData;\n }\n \n // fixed by xxxxxx update properties(mp runtime)\n vm._$updateProperties && vm._$updateProperties(vm);\n \n // update listeners\n listeners = listeners || emptyObject;\n var oldListeners = vm.$options._parentListeners;\n vm.$options._parentListeners = listeners;\n updateComponentListeners(vm, listeners, oldListeners);\n\n // resolve slots + force update if has children\n if (needsForceUpdate) {\n vm.$slots = resolveSlots(renderChildren, parentVnode.context);\n vm.$forceUpdate();\n }\n\n if (process.env.NODE_ENV !== 'production') {\n isUpdatingChildComponent = false;\n }\n}\n\nfunction isInInactiveTree (vm) {\n while (vm && (vm = vm.$parent)) {\n if (vm._inactive) { return true }\n }\n return false\n}\n\nfunction activateChildComponent (vm, direct) {\n if (direct) {\n vm._directInactive = false;\n if (isInInactiveTree(vm)) {\n return\n }\n } else if (vm._directInactive) {\n return\n }\n if (vm._inactive || vm._inactive === null) {\n vm._inactive = false;\n for (var i = 0; i < vm.$children.length; i++) {\n activateChildComponent(vm.$children[i]);\n }\n callHook(vm, 'activated');\n }\n}\n\nfunction deactivateChildComponent (vm, direct) {\n if (direct) {\n vm._directInactive = true;\n if (isInInactiveTree(vm)) {\n return\n }\n }\n if (!vm._inactive) {\n vm._inactive = true;\n for (var i = 0; i < vm.$children.length; i++) {\n deactivateChildComponent(vm.$children[i]);\n }\n callHook(vm, 'deactivated');\n }\n}\n\nfunction callHook (vm, hook) {\n // #7573 disable dep collection when invoking lifecycle hooks\n pushTarget();\n var handlers = vm.$options[hook];\n var info = hook + \" hook\";\n if (handlers) {\n for (var i = 0, j = handlers.length; i < j; i++) {\n invokeWithErrorHandling(handlers[i], vm, null, vm, info);\n }\n }\n if (vm._hasHookEvent) {\n vm.$emit('hook:' + hook);\n }\n popTarget();\n}\n\n/* */\n\nvar MAX_UPDATE_COUNT = 100;\n\nvar queue = [];\nvar activatedChildren = [];\nvar has = {};\nvar circular = {};\nvar waiting = false;\nvar flushing = false;\nvar index = 0;\n\n/**\n * Reset the scheduler's state.\n */\nfunction resetSchedulerState () {\n index = queue.length = activatedChildren.length = 0;\n has = {};\n if (process.env.NODE_ENV !== 'production') {\n circular = {};\n }\n waiting = flushing = false;\n}\n\n// Async edge case #6566 requires saving the timestamp when event listeners are\n// attached. However, calling performance.now() has a perf overhead especially\n// if the page has thousands of event listeners. Instead, we take a timestamp\n// every time the scheduler flushes and use that for all event listeners\n// attached during that flush.\nvar currentFlushTimestamp = 0;\n\n// Async edge case fix requires storing an event listener's attach timestamp.\nvar getNow = Date.now;\n\n// Determine what event timestamp the browser is using. Annoyingly, the\n// timestamp can either be hi-res (relative to page load) or low-res\n// (relative to UNIX epoch), so in order to compare time we have to use the\n// same timestamp type when saving the flush timestamp.\n// All IE versions use low-res event timestamps, and have problematic clock\n// implementations (#9632)\nif (inBrowser && !isIE) {\n var performance = window.performance;\n if (\n performance &&\n typeof performance.now === 'function' &&\n getNow() > document.createEvent('Event').timeStamp\n ) {\n // if the event timestamp, although evaluated AFTER the Date.now(), is\n // smaller than it, it means the event is using a hi-res timestamp,\n // and we need to use the hi-res version for event listener timestamps as\n // well.\n getNow = function () { return performance.now(); };\n }\n}\n\n/**\n * Flush both queues and run the watchers.\n */\nfunction flushSchedulerQueue () {\n currentFlushTimestamp = getNow();\n flushing = true;\n var watcher, id;\n\n // Sort queue before flush.\n // This ensures that:\n // 1. Components are updated from parent to child. (because parent is always\n // created before the child)\n // 2. A component's user watchers are run before its render watcher (because\n // user watchers are created before the render watcher)\n // 3. If a component is destroyed during a parent component's watcher run,\n // its watchers can be skipped.\n queue.sort(function (a, b) { return a.id - b.id; });\n\n // do not cache length because more watchers might be pushed\n // as we run existing watchers\n for (index = 0; index < queue.length; index++) {\n watcher = queue[index];\n if (watcher.before) {\n watcher.before();\n }\n id = watcher.id;\n has[id] = null;\n watcher.run();\n // in dev build, check and stop circular updates.\n if (process.env.NODE_ENV !== 'production' && has[id] != null) {\n circular[id] = (circular[id] || 0) + 1;\n if (circular[id] > MAX_UPDATE_COUNT) {\n warn(\n 'You may have an infinite update loop ' + (\n watcher.user\n ? (\"in watcher with expression \\\"\" + (watcher.expression) + \"\\\"\")\n : \"in a component render function.\"\n ),\n watcher.vm\n );\n break\n }\n }\n }\n\n // keep copies of post queues before resetting state\n var activatedQueue = activatedChildren.slice();\n var updatedQueue = queue.slice();\n\n resetSchedulerState();\n\n // call component updated and activated hooks\n callActivatedHooks(activatedQueue);\n callUpdatedHooks(updatedQueue);\n\n // devtool hook\n /* istanbul ignore if */\n if (devtools && config.devtools) {\n devtools.emit('flush');\n }\n}\n\nfunction callUpdatedHooks (queue) {\n var i = queue.length;\n while (i--) {\n var watcher = queue[i];\n var vm = watcher.vm;\n if (vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) {\n callHook(vm, 'updated');\n }\n }\n}\n\n/**\n * Queue a kept-alive component that was activated during patch.\n * The queue will be processed after the entire tree has been patched.\n */\nfunction queueActivatedComponent (vm) {\n // setting _inactive to false here so that a render function can\n // rely on checking whether it's in an inactive tree (e.g. router-view)\n vm._inactive = false;\n activatedChildren.push(vm);\n}\n\nfunction callActivatedHooks (queue) {\n for (var i = 0; i < queue.length; i++) {\n queue[i]._inactive = true;\n activateChildComponent(queue[i], true /* true */);\n }\n}\n\n/**\n * Push a watcher into the watcher queue.\n * Jobs with duplicate IDs will be skipped unless it's\n * pushed when the queue is being flushed.\n */\nfunction queueWatcher (watcher) {\n var id = watcher.id;\n if (has[id] == null) {\n has[id] = true;\n if (!flushing) {\n queue.push(watcher);\n } else {\n // if already flushing, splice the watcher based on its id\n // if already past its id, it will be run next immediately.\n var i = queue.length - 1;\n while (i > index && queue[i].id > watcher.id) {\n i--;\n }\n queue.splice(i + 1, 0, watcher);\n }\n // queue the flush\n if (!waiting) {\n waiting = true;\n\n if (process.env.NODE_ENV !== 'production' && !config.async) {\n flushSchedulerQueue();\n return\n }\n nextTick(flushSchedulerQueue);\n }\n }\n}\n\n/* */\n\n\n\nvar uid$2 = 0;\n\n/**\n * A watcher parses an expression, collects dependencies,\n * and fires callback when the expression value changes.\n * This is used for both the $watch() api and directives.\n */\nvar Watcher = function Watcher (\n vm,\n expOrFn,\n cb,\n options,\n isRenderWatcher\n) {\n this.vm = vm;\n if (isRenderWatcher) {\n vm._watcher = this;\n }\n vm._watchers.push(this);\n // options\n if (options) {\n this.deep = !!options.deep;\n this.user = !!options.user;\n this.lazy = !!options.lazy;\n this.sync = !!options.sync;\n this.before = options.before;\n } else {\n this.deep = this.user = this.lazy = this.sync = false;\n }\n this.cb = cb;\n this.id = ++uid$2; // uid for batching\n this.active = true;\n this.dirty = this.lazy; // for lazy watchers\n this.deps = [];\n this.newDeps = [];\n this.depIds = new _Set();\n this.newDepIds = new _Set();\n this.expression = process.env.NODE_ENV !== 'production'\n ? expOrFn.toString()\n : '';\n // parse expression for getter\n if (typeof expOrFn === 'function') {\n this.getter = expOrFn;\n } else {\n this.getter = parsePath(expOrFn);\n if (!this.getter) {\n this.getter = noop;\n process.env.NODE_ENV !== 'production' && warn(\n \"Failed watching path: \\\"\" + expOrFn + \"\\\" \" +\n 'Watcher only accepts simple dot-delimited paths. ' +\n 'For full control, use a function instead.',\n vm\n );\n }\n }\n this.value = this.lazy\n ? undefined\n : this.get();\n};\n\n/**\n * Evaluate the getter, and re-collect dependencies.\n */\nWatcher.prototype.get = function get () {\n pushTarget(this);\n var value;\n var vm = this.vm;\n try {\n value = this.getter.call(vm, vm);\n } catch (e) {\n if (this.user) {\n handleError(e, vm, (\"getter for watcher \\\"\" + (this.expression) + \"\\\"\"));\n } else {\n throw e\n }\n } finally {\n // \"touch\" every property so they are all tracked as\n // dependencies for deep watching\n if (this.deep) {\n traverse(value);\n }\n popTarget();\n this.cleanupDeps();\n }\n return value\n};\n\n/**\n * Add a dependency to this directive.\n */\nWatcher.prototype.addDep = function addDep (dep) {\n var id = dep.id;\n if (!this.newDepIds.has(id)) {\n this.newDepIds.add(id);\n this.newDeps.push(dep);\n if (!this.depIds.has(id)) {\n dep.addSub(this);\n }\n }\n};\n\n/**\n * Clean up for dependency collection.\n */\nWatcher.prototype.cleanupDeps = function cleanupDeps () {\n var i = this.deps.length;\n while (i--) {\n var dep = this.deps[i];\n if (!this.newDepIds.has(dep.id)) {\n dep.removeSub(this);\n }\n }\n var tmp = this.depIds;\n this.depIds = this.newDepIds;\n this.newDepIds = tmp;\n this.newDepIds.clear();\n tmp = this.deps;\n this.deps = this.newDeps;\n this.newDeps = tmp;\n this.newDeps.length = 0;\n};\n\n/**\n * Subscriber interface.\n * Will be called when a dependency changes.\n */\nWatcher.prototype.update = function update () {\n /* istanbul ignore else */\n if (this.lazy) {\n this.dirty = true;\n } else if (this.sync) {\n this.run();\n } else {\n queueWatcher(this);\n }\n};\n\n/**\n * Scheduler job interface.\n * Will be called by the scheduler.\n */\nWatcher.prototype.run = function run () {\n if (this.active) {\n var value = this.get();\n if (\n value !== this.value ||\n // Deep watchers and watchers on Object/Arrays should fire even\n // when the value is the same, because the value may\n // have mutated.\n isObject(value) ||\n this.deep\n ) {\n // set new value\n var oldValue = this.value;\n this.value = value;\n if (this.user) {\n try {\n this.cb.call(this.vm, value, oldValue);\n } catch (e) {\n handleError(e, this.vm, (\"callback for watcher \\\"\" + (this.expression) + \"\\\"\"));\n }\n } else {\n this.cb.call(this.vm, value, oldValue);\n }\n }\n }\n};\n\n/**\n * Evaluate the value of the watcher.\n * This only gets called for lazy watchers.\n */\nWatcher.prototype.evaluate = function evaluate () {\n this.value = this.get();\n this.dirty = false;\n};\n\n/**\n * Depend on all deps collected by this watcher.\n */\nWatcher.prototype.depend = function depend () {\n var i = this.deps.length;\n while (i--) {\n this.deps[i].depend();\n }\n};\n\n/**\n * Remove self from all dependencies' subscriber list.\n */\nWatcher.prototype.teardown = function teardown () {\n if (this.active) {\n // remove self from vm's watcher list\n // this is a somewhat expensive operation so we skip it\n // if the vm is being destroyed.\n if (!this.vm._isBeingDestroyed) {\n remove(this.vm._watchers, this);\n }\n var i = this.deps.length;\n while (i--) {\n this.deps[i].removeSub(this);\n }\n this.active = false;\n }\n};\n\n/* */\n\nvar sharedPropertyDefinition = {\n enumerable: true,\n configurable: true,\n get: noop,\n set: noop\n};\n\nfunction proxy (target, sourceKey, key) {\n sharedPropertyDefinition.get = function proxyGetter () {\n return this[sourceKey][key]\n };\n sharedPropertyDefinition.set = function proxySetter (val) {\n this[sourceKey][key] = val;\n };\n Object.defineProperty(target, key, sharedPropertyDefinition);\n}\n\nfunction initState (vm) {\n vm._watchers = [];\n var opts = vm.$options;\n if (opts.props) { initProps(vm, opts.props); }\n if (opts.methods) { initMethods(vm, opts.methods); }\n if (opts.data) {\n initData(vm);\n } else {\n observe(vm._data = {}, true /* asRootData */);\n }\n if (opts.computed) { initComputed(vm, opts.computed); }\n if (opts.watch && opts.watch !== nativeWatch) {\n initWatch(vm, opts.watch);\n }\n}\n\nfunction initProps (vm, propsOptions) {\n var propsData = vm.$options.propsData || {};\n var props = vm._props = {};\n // cache prop keys so that future props updates can iterate using Array\n // instead of dynamic object key enumeration.\n var keys = vm.$options._propKeys = [];\n var isRoot = !vm.$parent;\n // root instance props should be converted\n if (!isRoot) {\n toggleObserving(false);\n }\n var loop = function ( key ) {\n keys.push(key);\n var value = validateProp(key, propsOptions, propsData, vm);\n /* istanbul ignore else */\n if (process.env.NODE_ENV !== 'production') {\n var hyphenatedKey = hyphenate(key);\n if (isReservedAttribute(hyphenatedKey) ||\n config.isReservedAttr(hyphenatedKey)) {\n warn(\n (\"\\\"\" + hyphenatedKey + \"\\\" is a reserved attribute and cannot be used as component prop.\"),\n vm\n );\n }\n defineReactive$$1(props, key, value, function () {\n if (!isRoot && !isUpdatingChildComponent) {\n {\n if(vm.mpHost === 'mp-baidu' || vm.mpHost === 'mp-kuaishou'){//百度、快手 observer 在 setData callback 之后触发,直接忽略该 warn\n return\n }\n //fixed by xxxxxx __next_tick_pending,uni://form-field 时不告警\n if(\n key === 'value' && \n Array.isArray(vm.$options.behaviors) &&\n vm.$options.behaviors.indexOf('uni://form-field') !== -1\n ){\n return\n }\n if(vm._getFormData){\n return\n }\n var $parent = vm.$parent;\n while($parent){\n if($parent.__next_tick_pending){\n return \n }\n $parent = $parent.$parent;\n }\n }\n warn(\n \"Avoid mutating a prop directly since the value will be \" +\n \"overwritten whenever the parent component re-renders. \" +\n \"Instead, use a data or computed property based on the prop's \" +\n \"value. Prop being mutated: \\\"\" + key + \"\\\"\",\n vm\n );\n }\n });\n } else {\n defineReactive$$1(props, key, value);\n }\n // static props are already proxied on the component's prototype\n // during Vue.extend(). We only need to proxy props defined at\n // instantiation here.\n if (!(key in vm)) {\n proxy(vm, \"_props\", key);\n }\n };\n\n for (var key in propsOptions) loop( key );\n toggleObserving(true);\n}\n\nfunction initData (vm) {\n var data = vm.$options.data;\n data = vm._data = typeof data === 'function'\n ? getData(data, vm)\n : data || {};\n if (!isPlainObject(data)) {\n data = {};\n process.env.NODE_ENV !== 'production' && warn(\n 'data functions should return an object:\\n' +\n 'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function',\n vm\n );\n }\n // proxy data on instance\n var keys = Object.keys(data);\n var props = vm.$options.props;\n var methods = vm.$options.methods;\n var i = keys.length;\n while (i--) {\n var key = keys[i];\n if (process.env.NODE_ENV !== 'production') {\n if (methods && hasOwn(methods, key)) {\n warn(\n (\"Method \\\"\" + key + \"\\\" has already been defined as a data property.\"),\n vm\n );\n }\n }\n if (props && hasOwn(props, key)) {\n process.env.NODE_ENV !== 'production' && warn(\n \"The data property \\\"\" + key + \"\\\" is already declared as a prop. \" +\n \"Use prop default value instead.\",\n vm\n );\n } else if (!isReserved(key)) {\n proxy(vm, \"_data\", key);\n }\n }\n // observe data\n observe(data, true /* asRootData */);\n}\n\nfunction getData (data, vm) {\n // #7573 disable dep collection when invoking data getters\n pushTarget();\n try {\n return data.call(vm, vm)\n } catch (e) {\n handleError(e, vm, \"data()\");\n return {}\n } finally {\n popTarget();\n }\n}\n\nvar computedWatcherOptions = { lazy: true };\n\nfunction initComputed (vm, computed) {\n // $flow-disable-line\n var watchers = vm._computedWatchers = Object.create(null);\n // computed properties are just getters during SSR\n var isSSR = isServerRendering();\n\n for (var key in computed) {\n var userDef = computed[key];\n var getter = typeof userDef === 'function' ? userDef : userDef.get;\n if (process.env.NODE_ENV !== 'production' && getter == null) {\n warn(\n (\"Getter is missing for computed property \\\"\" + key + \"\\\".\"),\n vm\n );\n }\n\n if (!isSSR) {\n // create internal watcher for the computed property.\n watchers[key] = new Watcher(\n vm,\n getter || noop,\n noop,\n computedWatcherOptions\n );\n }\n\n // component-defined computed properties are already defined on the\n // component prototype. We only need to define computed properties defined\n // at instantiation here.\n if (!(key in vm)) {\n defineComputed(vm, key, userDef);\n } else if (process.env.NODE_ENV !== 'production') {\n if (key in vm.$data) {\n warn((\"The computed property \\\"\" + key + \"\\\" is already defined in data.\"), vm);\n } else if (vm.$options.props && key in vm.$options.props) {\n warn((\"The computed property \\\"\" + key + \"\\\" is already defined as a prop.\"), vm);\n }\n }\n }\n}\n\nfunction defineComputed (\n target,\n key,\n userDef\n) {\n var shouldCache = !isServerRendering();\n if (typeof userDef === 'function') {\n sharedPropertyDefinition.get = shouldCache\n ? createComputedGetter(key)\n : createGetterInvoker(userDef);\n sharedPropertyDefinition.set = noop;\n } else {\n sharedPropertyDefinition.get = userDef.get\n ? shouldCache && userDef.cache !== false\n ? createComputedGetter(key)\n : createGetterInvoker(userDef.get)\n : noop;\n sharedPropertyDefinition.set = userDef.set || noop;\n }\n if (process.env.NODE_ENV !== 'production' &&\n sharedPropertyDefinition.set === noop) {\n sharedPropertyDefinition.set = function () {\n warn(\n (\"Computed property \\\"\" + key + \"\\\" was assigned to but it has no setter.\"),\n this\n );\n };\n }\n Object.defineProperty(target, key, sharedPropertyDefinition);\n}\n\nfunction createComputedGetter (key) {\n return function computedGetter () {\n var watcher = this._computedWatchers && this._computedWatchers[key];\n if (watcher) {\n if (watcher.dirty) {\n watcher.evaluate();\n }\n if (Dep.SharedObject.target) {// fixed by xxxxxx\n watcher.depend();\n }\n return watcher.value\n }\n }\n}\n\nfunction createGetterInvoker(fn) {\n return function computedGetter () {\n return fn.call(this, this)\n }\n}\n\nfunction initMethods (vm, methods) {\n var props = vm.$options.props;\n for (var key in methods) {\n if (process.env.NODE_ENV !== 'production') {\n if (typeof methods[key] !== 'function') {\n warn(\n \"Method \\\"\" + key + \"\\\" has type \\\"\" + (typeof methods[key]) + \"\\\" in the component definition. \" +\n \"Did you reference the function correctly?\",\n vm\n );\n }\n if (props && hasOwn(props, key)) {\n warn(\n (\"Method \\\"\" + key + \"\\\" has already been defined as a prop.\"),\n vm\n );\n }\n if ((key in vm) && isReserved(key)) {\n warn(\n \"Method \\\"\" + key + \"\\\" conflicts with an existing Vue instance method. \" +\n \"Avoid defining component methods that start with _ or $.\"\n );\n }\n }\n vm[key] = typeof methods[key] !== 'function' ? noop : bind(methods[key], vm);\n }\n}\n\nfunction initWatch (vm, watch) {\n for (var key in watch) {\n var handler = watch[key];\n if (Array.isArray(handler)) {\n for (var i = 0; i < handler.length; i++) {\n createWatcher(vm, key, handler[i]);\n }\n } else {\n createWatcher(vm, key, handler);\n }\n }\n}\n\nfunction createWatcher (\n vm,\n expOrFn,\n handler,\n options\n) {\n if (isPlainObject(handler)) {\n options = handler;\n handler = handler.handler;\n }\n if (typeof handler === 'string') {\n handler = vm[handler];\n }\n return vm.$watch(expOrFn, handler, options)\n}\n\nfunction stateMixin (Vue) {\n // flow somehow has problems with directly declared definition object\n // when using Object.defineProperty, so we have to procedurally build up\n // the object here.\n var dataDef = {};\n dataDef.get = function () { return this._data };\n var propsDef = {};\n propsDef.get = function () { return this._props };\n if (process.env.NODE_ENV !== 'production') {\n dataDef.set = function () {\n warn(\n 'Avoid replacing instance root $data. ' +\n 'Use nested data properties instead.',\n this\n );\n };\n propsDef.set = function () {\n warn(\"$props is readonly.\", this);\n };\n }\n Object.defineProperty(Vue.prototype, '$data', dataDef);\n Object.defineProperty(Vue.prototype, '$props', propsDef);\n\n Vue.prototype.$set = set;\n Vue.prototype.$delete = del;\n\n Vue.prototype.$watch = function (\n expOrFn,\n cb,\n options\n ) {\n var vm = this;\n if (isPlainObject(cb)) {\n return createWatcher(vm, expOrFn, cb, options)\n }\n options = options || {};\n options.user = true;\n var watcher = new Watcher(vm, expOrFn, cb, options);\n if (options.immediate) {\n try {\n cb.call(vm, watcher.value);\n } catch (error) {\n handleError(error, vm, (\"callback for immediate watcher \\\"\" + (watcher.expression) + \"\\\"\"));\n }\n }\n return function unwatchFn () {\n watcher.teardown();\n }\n };\n}\n\n/* */\n\nvar uid$3 = 0;\n\nfunction initMixin (Vue) {\n Vue.prototype._init = function (options) {\n var vm = this;\n // a uid\n vm._uid = uid$3++;\n\n var startTag, endTag;\n /* istanbul ignore if */\n if (process.env.NODE_ENV !== 'production' && config.performance && mark) {\n startTag = \"vue-perf-start:\" + (vm._uid);\n endTag = \"vue-perf-end:\" + (vm._uid);\n mark(startTag);\n }\n\n // a flag to avoid this being observed\n vm._isVue = true;\n // merge options\n if (options && options._isComponent) {\n // optimize internal component instantiation\n // since dynamic options merging is pretty slow, and none of the\n // internal component options needs special treatment.\n initInternalComponent(vm, options);\n } else {\n vm.$options = mergeOptions(\n resolveConstructorOptions(vm.constructor),\n options || {},\n vm\n );\n }\n /* istanbul ignore else */\n if (process.env.NODE_ENV !== 'production') {\n initProxy(vm);\n } else {\n vm._renderProxy = vm;\n }\n // expose real self\n vm._self = vm;\n initLifecycle(vm);\n initEvents(vm);\n initRender(vm);\n callHook(vm, 'beforeCreate');\n !vm._$fallback && initInjections(vm); // resolve injections before data/props \n initState(vm);\n !vm._$fallback && initProvide(vm); // resolve provide after data/props\n !vm._$fallback && callHook(vm, 'created'); \n\n /* istanbul ignore if */\n if (process.env.NODE_ENV !== 'production' && config.performance && mark) {\n vm._name = formatComponentName(vm, false);\n mark(endTag);\n measure((\"vue \" + (vm._name) + \" init\"), startTag, endTag);\n }\n\n if (vm.$options.el) {\n vm.$mount(vm.$options.el);\n }\n };\n}\n\nfunction initInternalComponent (vm, options) {\n var opts = vm.$options = Object.create(vm.constructor.options);\n // doing this because it's faster than dynamic enumeration.\n var parentVnode = options._parentVnode;\n opts.parent = options.parent;\n opts._parentVnode = parentVnode;\n\n var vnodeComponentOptions = parentVnode.componentOptions;\n opts.propsData = vnodeComponentOptions.propsData;\n opts._parentListeners = vnodeComponentOptions.listeners;\n opts._renderChildren = vnodeComponentOptions.children;\n opts._componentTag = vnodeComponentOptions.tag;\n\n if (options.render) {\n opts.render = options.render;\n opts.staticRenderFns = options.staticRenderFns;\n }\n}\n\nfunction resolveConstructorOptions (Ctor) {\n var options = Ctor.options;\n if (Ctor.super) {\n var superOptions = resolveConstructorOptions(Ctor.super);\n var cachedSuperOptions = Ctor.superOptions;\n if (superOptions !== cachedSuperOptions) {\n // super option changed,\n // need to resolve new options.\n Ctor.superOptions = superOptions;\n // check if there are any late-modified/attached options (#4976)\n var modifiedOptions = resolveModifiedOptions(Ctor);\n // update base extend options\n if (modifiedOptions) {\n extend(Ctor.extendOptions, modifiedOptions);\n }\n options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);\n if (options.name) {\n options.components[options.name] = Ctor;\n }\n }\n }\n return options\n}\n\nfunction resolveModifiedOptions (Ctor) {\n var modified;\n var latest = Ctor.options;\n var sealed = Ctor.sealedOptions;\n for (var key in latest) {\n if (latest[key] !== sealed[key]) {\n if (!modified) { modified = {}; }\n modified[key] = latest[key];\n }\n }\n return modified\n}\n\nfunction Vue (options) {\n if (process.env.NODE_ENV !== 'production' &&\n !(this instanceof Vue)\n ) {\n warn('Vue is a constructor and should be called with the `new` keyword');\n }\n this._init(options);\n}\n\ninitMixin(Vue);\nstateMixin(Vue);\neventsMixin(Vue);\nlifecycleMixin(Vue);\nrenderMixin(Vue);\n\n/* */\n\nfunction initUse (Vue) {\n Vue.use = function (plugin) {\n var installedPlugins = (this._installedPlugins || (this._installedPlugins = []));\n if (installedPlugins.indexOf(plugin) > -1) {\n return this\n }\n\n // additional parameters\n var args = toArray(arguments, 1);\n args.unshift(this);\n if (typeof plugin.install === 'function') {\n plugin.install.apply(plugin, args);\n } else if (typeof plugin === 'function') {\n plugin.apply(null, args);\n }\n installedPlugins.push(plugin);\n return this\n };\n}\n\n/* */\n\nfunction initMixin$1 (Vue) {\n Vue.mixin = function (mixin) {\n this.options = mergeOptions(this.options, mixin);\n return this\n };\n}\n\n/* */\n\nfunction initExtend (Vue) {\n /**\n * Each instance constructor, including Vue, has a unique\n * cid. This enables us to create wrapped \"child\n * constructors\" for prototypal inheritance and cache them.\n */\n Vue.cid = 0;\n var cid = 1;\n\n /**\n * Class inheritance\n */\n Vue.extend = function (extendOptions) {\n extendOptions = extendOptions || {};\n var Super = this;\n var SuperId = Super.cid;\n var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});\n if (cachedCtors[SuperId]) {\n return cachedCtors[SuperId]\n }\n\n var name = extendOptions.name || Super.options.name;\n if (process.env.NODE_ENV !== 'production' && name) {\n validateComponentName(name);\n }\n\n var Sub = function VueComponent (options) {\n this._init(options);\n };\n Sub.prototype = Object.create(Super.prototype);\n Sub.prototype.constructor = Sub;\n Sub.cid = cid++;\n Sub.options = mergeOptions(\n Super.options,\n extendOptions\n );\n Sub['super'] = Super;\n\n // For props and computed properties, we define the proxy getters on\n // the Vue instances at extension time, on the extended prototype. This\n // avoids Object.defineProperty calls for each instance created.\n if (Sub.options.props) {\n initProps$1(Sub);\n }\n if (Sub.options.computed) {\n initComputed$1(Sub);\n }\n\n // allow further extension/mixin/plugin usage\n Sub.extend = Super.extend;\n Sub.mixin = Super.mixin;\n Sub.use = Super.use;\n\n // create asset registers, so extended classes\n // can have their private assets too.\n ASSET_TYPES.forEach(function (type) {\n Sub[type] = Super[type];\n });\n // enable recursive self-lookup\n if (name) {\n Sub.options.components[name] = Sub;\n }\n\n // keep a reference to the super options at extension time.\n // later at instantiation we can check if Super's options have\n // been updated.\n Sub.superOptions = Super.options;\n Sub.extendOptions = extendOptions;\n Sub.sealedOptions = extend({}, Sub.options);\n\n // cache constructor\n cachedCtors[SuperId] = Sub;\n return Sub\n };\n}\n\nfunction initProps$1 (Comp) {\n var props = Comp.options.props;\n for (var key in props) {\n proxy(Comp.prototype, \"_props\", key);\n }\n}\n\nfunction initComputed$1 (Comp) {\n var computed = Comp.options.computed;\n for (var key in computed) {\n defineComputed(Comp.prototype, key, computed[key]);\n }\n}\n\n/* */\n\nfunction initAssetRegisters (Vue) {\n /**\n * Create asset registration methods.\n */\n ASSET_TYPES.forEach(function (type) {\n Vue[type] = function (\n id,\n definition\n ) {\n if (!definition) {\n return this.options[type + 's'][id]\n } else {\n /* istanbul ignore if */\n if (process.env.NODE_ENV !== 'production' && type === 'component') {\n validateComponentName(id);\n }\n if (type === 'component' && isPlainObject(definition)) {\n definition.name = definition.name || id;\n definition = this.options._base.extend(definition);\n }\n if (type === 'directive' && typeof definition === 'function') {\n definition = { bind: definition, update: definition };\n }\n this.options[type + 's'][id] = definition;\n return definition\n }\n };\n });\n}\n\n/* */\n\n\n\nfunction getComponentName (opts) {\n return opts && (opts.Ctor.options.name || opts.tag)\n}\n\nfunction matches (pattern, name) {\n if (Array.isArray(pattern)) {\n return pattern.indexOf(name) > -1\n } else if (typeof pattern === 'string') {\n return pattern.split(',').indexOf(name) > -1\n } else if (isRegExp(pattern)) {\n return pattern.test(name)\n }\n /* istanbul ignore next */\n return false\n}\n\nfunction pruneCache (keepAliveInstance, filter) {\n var cache = keepAliveInstance.cache;\n var keys = keepAliveInstance.keys;\n var _vnode = keepAliveInstance._vnode;\n for (var key in cache) {\n var cachedNode = cache[key];\n if (cachedNode) {\n var name = getComponentName(cachedNode.componentOptions);\n if (name && !filter(name)) {\n pruneCacheEntry(cache, key, keys, _vnode);\n }\n }\n }\n}\n\nfunction pruneCacheEntry (\n cache,\n key,\n keys,\n current\n) {\n var cached$$1 = cache[key];\n if (cached$$1 && (!current || cached$$1.tag !== current.tag)) {\n cached$$1.componentInstance.$destroy();\n }\n cache[key] = null;\n remove(keys, key);\n}\n\nvar patternTypes = [String, RegExp, Array];\n\nvar KeepAlive = {\n name: 'keep-alive',\n abstract: true,\n\n props: {\n include: patternTypes,\n exclude: patternTypes,\n max: [String, Number]\n },\n\n created: function created () {\n this.cache = Object.create(null);\n this.keys = [];\n },\n\n destroyed: function destroyed () {\n for (var key in this.cache) {\n pruneCacheEntry(this.cache, key, this.keys);\n }\n },\n\n mounted: function mounted () {\n var this$1 = this;\n\n this.$watch('include', function (val) {\n pruneCache(this$1, function (name) { return matches(val, name); });\n });\n this.$watch('exclude', function (val) {\n pruneCache(this$1, function (name) { return !matches(val, name); });\n });\n },\n\n render: function render () {\n var slot = this.$slots.default;\n var vnode = getFirstComponentChild(slot);\n var componentOptions = vnode && vnode.componentOptions;\n if (componentOptions) {\n // check pattern\n var name = getComponentName(componentOptions);\n var ref = this;\n var include = ref.include;\n var exclude = ref.exclude;\n if (\n // not included\n (include && (!name || !matches(include, name))) ||\n // excluded\n (exclude && name && matches(exclude, name))\n ) {\n return vnode\n }\n\n var ref$1 = this;\n var cache = ref$1.cache;\n var keys = ref$1.keys;\n var key = vnode.key == null\n // same constructor may get registered as different local components\n // so cid alone is not enough (#3269)\n ? componentOptions.Ctor.cid + (componentOptions.tag ? (\"::\" + (componentOptions.tag)) : '')\n : vnode.key;\n if (cache[key]) {\n vnode.componentInstance = cache[key].componentInstance;\n // make current key freshest\n remove(keys, key);\n keys.push(key);\n } else {\n cache[key] = vnode;\n keys.push(key);\n // prune oldest entry\n if (this.max && keys.length > parseInt(this.max)) {\n pruneCacheEntry(cache, keys[0], keys, this._vnode);\n }\n }\n\n vnode.data.keepAlive = true;\n }\n return vnode || (slot && slot[0])\n }\n};\n\nvar builtInComponents = {\n KeepAlive: KeepAlive\n};\n\n/* */\n\nfunction initGlobalAPI (Vue) {\n // config\n var configDef = {};\n configDef.get = function () { return config; };\n if (process.env.NODE_ENV !== 'production') {\n configDef.set = function () {\n warn(\n 'Do not replace the Vue.config object, set individual fields instead.'\n );\n };\n }\n Object.defineProperty(Vue, 'config', configDef);\n\n // exposed util methods.\n // NOTE: these are not considered part of the public API - avoid relying on\n // them unless you are aware of the risk.\n Vue.util = {\n warn: warn,\n extend: extend,\n mergeOptions: mergeOptions,\n defineReactive: defineReactive$$1\n };\n\n Vue.set = set;\n Vue.delete = del;\n Vue.nextTick = nextTick;\n\n // 2.6 explicit observable API\n Vue.observable = function (obj) {\n observe(obj);\n return obj\n };\n\n Vue.options = Object.create(null);\n ASSET_TYPES.forEach(function (type) {\n Vue.options[type + 's'] = Object.create(null);\n });\n\n // this is used to identify the \"base\" constructor to extend all plain-object\n // components with in Weex's multi-instance scenarios.\n Vue.options._base = Vue;\n\n extend(Vue.options.components, builtInComponents);\n\n initUse(Vue);\n initMixin$1(Vue);\n initExtend(Vue);\n initAssetRegisters(Vue);\n}\n\ninitGlobalAPI(Vue);\n\nObject.defineProperty(Vue.prototype, '$isServer', {\n get: isServerRendering\n});\n\nObject.defineProperty(Vue.prototype, '$ssrContext', {\n get: function get () {\n /* istanbul ignore next */\n return this.$vnode && this.$vnode.ssrContext\n }\n});\n\n// expose FunctionalRenderContext for ssr runtime helper installation\nObject.defineProperty(Vue, 'FunctionalRenderContext', {\n value: FunctionalRenderContext\n});\n\nVue.version = '2.6.11';\n\n/**\n * https://raw.githubusercontent.com/Tencent/westore/master/packages/westore/utils/diff.js\n */\nvar ARRAYTYPE = '[object Array]';\nvar OBJECTTYPE = '[object Object]';\n// const FUNCTIONTYPE = '[object Function]'\n\nfunction diff(current, pre) {\n var result = {};\n syncKeys(current, pre);\n _diff(current, pre, '', result);\n return result\n}\n\nfunction syncKeys(current, pre) {\n if (current === pre) { return }\n var rootCurrentType = type(current);\n var rootPreType = type(pre);\n if (rootCurrentType == OBJECTTYPE && rootPreType == OBJECTTYPE) {\n if(Object.keys(current).length >= Object.keys(pre).length){\n for (var key in pre) {\n var currentValue = current[key];\n if (currentValue === undefined) {\n current[key] = null;\n } else {\n syncKeys(currentValue, pre[key]);\n }\n }\n }\n } else if (rootCurrentType == ARRAYTYPE && rootPreType == ARRAYTYPE) {\n if (current.length >= pre.length) {\n pre.forEach(function (item, index) {\n syncKeys(current[index], item);\n });\n }\n }\n}\n\nfunction _diff(current, pre, path, result) {\n if (current === pre) { return }\n var rootCurrentType = type(current);\n var rootPreType = type(pre);\n if (rootCurrentType == OBJECTTYPE) {\n if (rootPreType != OBJECTTYPE || Object.keys(current).length < Object.keys(pre).length) {\n setResult(result, path, current);\n } else {\n var loop = function ( key ) {\n var currentValue = current[key];\n var preValue = pre[key];\n var currentType = type(currentValue);\n var preType = type(preValue);\n if (currentType != ARRAYTYPE && currentType != OBJECTTYPE) {\n // NOTE 此处将 != 修改为 !==。涉及地方太多恐怕测试不到,如果出现数据对比问题,将其修改回来。\n if (currentValue !== pre[key]) {\n setResult(result, (path == '' ? '' : path + \".\") + key, currentValue);\n }\n } else if (currentType == ARRAYTYPE) {\n if (preType != ARRAYTYPE) {\n setResult(result, (path == '' ? '' : path + \".\") + key, currentValue);\n } else {\n if (currentValue.length < preValue.length) {\n setResult(result, (path == '' ? '' : path + \".\") + key, currentValue);\n } else {\n currentValue.forEach(function (item, index) {\n _diff(item, preValue[index], (path == '' ? '' : path + \".\") + key + '[' + index + ']', result);\n });\n }\n }\n } else if (currentType == OBJECTTYPE) {\n if (preType != OBJECTTYPE || Object.keys(currentValue).length < Object.keys(preValue).length) {\n setResult(result, (path == '' ? '' : path + \".\") + key, currentValue);\n } else {\n for (var subKey in currentValue) {\n _diff(currentValue[subKey], preValue[subKey], (path == '' ? '' : path + \".\") + key + '.' + subKey, result);\n }\n }\n }\n };\n\n for (var key in current) loop( key );\n }\n } else if (rootCurrentType == ARRAYTYPE) {\n if (rootPreType != ARRAYTYPE) {\n setResult(result, path, current);\n } else {\n if (current.length < pre.length) {\n setResult(result, path, current);\n } else {\n current.forEach(function (item, index) {\n _diff(item, pre[index], path + '[' + index + ']', result);\n });\n }\n }\n } else {\n setResult(result, path, current);\n }\n}\n\nfunction setResult(result, k, v) {\n // if (type(v) != FUNCTIONTYPE) {\n result[k] = v;\n // }\n}\n\nfunction type(obj) {\n return Object.prototype.toString.call(obj)\n}\n\n/* */\n\nfunction flushCallbacks$1(vm) {\n if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {\n if (process.env.VUE_APP_DEBUG) {\n var mpInstance = vm.$scope;\n console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +\n ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');\n }\n var copies = vm.__next_tick_callbacks.slice(0);\n vm.__next_tick_callbacks.length = 0;\n for (var i = 0; i < copies.length; i++) {\n copies[i]();\n }\n }\n}\n\nfunction hasRenderWatcher(vm) {\n return queue.find(function (watcher) { return vm._watcher === watcher; })\n}\n\nfunction nextTick$1(vm, cb) {\n //1.nextTick 之前 已 setData 且 setData 还未回调完成\n //2.nextTick 之前存在 render watcher\n if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {\n if(process.env.VUE_APP_DEBUG){\n var mpInstance = vm.$scope;\n console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +\n ']:nextVueTick');\n }\n return nextTick(cb, vm)\n }else{\n if(process.env.VUE_APP_DEBUG){\n var mpInstance$1 = vm.$scope;\n console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +\n ']:nextMPTick');\n }\n }\n var _resolve;\n if (!vm.__next_tick_callbacks) {\n vm.__next_tick_callbacks = [];\n }\n vm.__next_tick_callbacks.push(function () {\n if (cb) {\n try {\n cb.call(vm);\n } catch (e) {\n handleError(e, vm, 'nextTick');\n }\n } else if (_resolve) {\n _resolve(vm);\n }\n });\n // $flow-disable-line\n if (!cb && typeof Promise !== 'undefined') {\n return new Promise(function (resolve) {\n _resolve = resolve;\n })\n }\n}\n\n/* */\n\nfunction cloneWithData(vm) {\n // 确保当前 vm 所有数据被同步\n var ret = Object.create(null);\n var dataKeys = [].concat(\n Object.keys(vm._data || {}),\n Object.keys(vm._computedWatchers || {}));\n\n dataKeys.reduce(function(ret, key) {\n ret[key] = vm[key];\n return ret\n }, ret);\n\n // vue-composition-api\n var compositionApiState = vm.__composition_api_state__ || vm.__secret_vfa_state__;\n var rawBindings = compositionApiState && compositionApiState.rawBindings;\n if (rawBindings) {\n Object.keys(rawBindings).forEach(function (key) {\n ret[key] = vm[key];\n });\n }\n\n //TODO 需要把无用数据处理掉,比如 list=>l0 则 list 需要移除,否则多传输一份数据\n Object.assign(ret, vm.$mp.data || {});\n if (\n Array.isArray(vm.$options.behaviors) &&\n vm.$options.behaviors.indexOf('uni://form-field') !== -1\n ) { //form-field\n ret['name'] = vm.name;\n ret['value'] = vm.value;\n }\n\n return JSON.parse(JSON.stringify(ret))\n}\n\nvar patch = function(oldVnode, vnode) {\n var this$1 = this;\n\n if (vnode === null) { //destroy\n return\n }\n if (this.mpType === 'page' || this.mpType === 'component') {\n var mpInstance = this.$scope;\n var data = Object.create(null);\n try {\n data = cloneWithData(this);\n } catch (err) {\n console.error(err);\n }\n data.__webviewId__ = mpInstance.data.__webviewId__;\n var mpData = Object.create(null);\n Object.keys(data).forEach(function (key) { //仅同步 data 中有的数据\n mpData[key] = mpInstance.data[key];\n });\n var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);\n if (Object.keys(diffData).length) {\n if (process.env.VUE_APP_DEBUG) {\n console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +\n ']差量更新',\n JSON.stringify(diffData));\n }\n this.__next_tick_pending = true;\n mpInstance.setData(diffData, function () {\n this$1.__next_tick_pending = false;\n flushCallbacks$1(this$1);\n });\n } else {\n flushCallbacks$1(this);\n }\n }\n};\n\n/* */\n\nfunction createEmptyRender() {\n\n}\n\nfunction mountComponent$1(\n vm,\n el,\n hydrating\n) {\n if (!vm.mpType) {//main.js 中的 new Vue\n return vm\n }\n if (vm.mpType === 'app') {\n vm.$options.render = createEmptyRender;\n }\n if (!vm.$options.render) {\n vm.$options.render = createEmptyRender;\n if (process.env.NODE_ENV !== 'production') {\n /* istanbul ignore if */\n if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') ||\n vm.$options.el || el) {\n warn(\n 'You are using the runtime-only build of Vue where the template ' +\n 'compiler is not available. Either pre-compile the templates into ' +\n 'render functions, or use the compiler-included build.',\n vm\n );\n } else {\n warn(\n 'Failed to mount component: template or render function not defined.',\n vm\n );\n }\n }\n }\n \n !vm._$fallback && callHook(vm, 'beforeMount');\n\n var updateComponent = function () {\n vm._update(vm._render(), hydrating);\n };\n\n // we set this to vm._watcher inside the watcher's constructor\n // since the watcher's initial patch may call $forceUpdate (e.g. inside child\n // component's mounted hook), which relies on vm._watcher being already defined\n new Watcher(vm, updateComponent, noop, {\n before: function before() {\n if (vm._isMounted && !vm._isDestroyed) {\n callHook(vm, 'beforeUpdate');\n }\n }\n }, true /* isRenderWatcher */);\n hydrating = false;\n return vm\n}\n\n/* */\n\nfunction renderClass (\n staticClass,\n dynamicClass\n) {\n if (isDef(staticClass) || isDef(dynamicClass)) {\n return concat(staticClass, stringifyClass(dynamicClass))\n }\n /* istanbul ignore next */\n return ''\n}\n\nfunction concat (a, b) {\n return a ? b ? (a + ' ' + b) : a : (b || '')\n}\n\nfunction stringifyClass (value) {\n if (Array.isArray(value)) {\n return stringifyArray(value)\n }\n if (isObject(value)) {\n return stringifyObject(value)\n }\n if (typeof value === 'string') {\n return value\n }\n /* istanbul ignore next */\n return ''\n}\n\nfunction stringifyArray (value) {\n var res = '';\n var stringified;\n for (var i = 0, l = value.length; i < l; i++) {\n if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {\n if (res) { res += ' '; }\n res += stringified;\n }\n }\n return res\n}\n\nfunction stringifyObject (value) {\n var res = '';\n for (var key in value) {\n if (value[key]) {\n if (res) { res += ' '; }\n res += key;\n }\n }\n return res\n}\n\n/* */\n\nvar parseStyleText = cached(function (cssText) {\n var res = {};\n var listDelimiter = /;(?![^(]*\\))/g;\n var propertyDelimiter = /:(.+)/;\n cssText.split(listDelimiter).forEach(function (item) {\n if (item) {\n var tmp = item.split(propertyDelimiter);\n tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());\n }\n });\n return res\n});\n\n// normalize possible array / string values into Object\nfunction normalizeStyleBinding (bindingStyle) {\n if (Array.isArray(bindingStyle)) {\n return toObject(bindingStyle)\n }\n if (typeof bindingStyle === 'string') {\n return parseStyleText(bindingStyle)\n }\n return bindingStyle\n}\n\n/* */\n\nvar MP_METHODS = ['createSelectorQuery', 'createIntersectionObserver', 'selectAllComponents', 'selectComponent'];\n\nfunction getTarget(obj, path) {\n var parts = path.split('.');\n var key = parts[0];\n if (key.indexOf('__$n') === 0) { //number index\n key = parseInt(key.replace('__$n', ''));\n }\n if (parts.length === 1) {\n return obj[key]\n }\n return getTarget(obj[key], parts.slice(1).join('.'))\n}\n\nfunction internalMixin(Vue) {\n\n Vue.config.errorHandler = function(err, vm, info) {\n Vue.util.warn((\"Error in \" + info + \": \\\"\" + (err.toString()) + \"\\\"\"), vm);\n console.error(err);\n /* eslint-disable no-undef */\n var app = typeof getApp === 'function' && getApp();\n if (app && app.onError) {\n app.onError(err);\n }\n };\n\n var oldEmit = Vue.prototype.$emit;\n\n Vue.prototype.$emit = function(event) {\n if (this.$scope && event) {\n this.$scope['triggerEvent'](event, {\n __args__: toArray(arguments, 1)\n });\n }\n return oldEmit.apply(this, arguments)\n };\n\n Vue.prototype.$nextTick = function(fn) {\n return nextTick$1(this, fn)\n };\n\n MP_METHODS.forEach(function (method) {\n Vue.prototype[method] = function(args) {\n if (this.$scope && this.$scope[method]) {\n return this.$scope[method](args)\n }\n // mp-alipay\n if (typeof my === 'undefined') {\n return\n }\n if (method === 'createSelectorQuery') {\n /* eslint-disable no-undef */\n return my.createSelectorQuery(args)\n } else if (method === 'createIntersectionObserver') {\n /* eslint-disable no-undef */\n return my.createIntersectionObserver(args)\n }\n // TODO mp-alipay 暂不支持 selectAllComponents,selectComponent\n };\n });\n\n Vue.prototype.__init_provide = initProvide;\n\n Vue.prototype.__init_injections = initInjections;\n\n Vue.prototype.__call_hook = function(hook, args) {\n var vm = this;\n // #7573 disable dep collection when invoking lifecycle hooks\n pushTarget();\n var handlers = vm.$options[hook];\n var info = hook + \" hook\";\n var ret;\n if (handlers) {\n for (var i = 0, j = handlers.length; i < j; i++) {\n ret = invokeWithErrorHandling(handlers[i], vm, args ? [args] : null, vm, info);\n }\n }\n if (vm._hasHookEvent) {\n vm.$emit('hook:' + hook, args);\n }\n popTarget();\n return ret\n };\n\n Vue.prototype.__set_model = function(target, key, value, modifiers) {\n if (Array.isArray(modifiers)) {\n if (modifiers.indexOf('trim') !== -1) {\n value = value.trim();\n }\n if (modifiers.indexOf('number') !== -1) {\n value = this._n(value);\n }\n }\n if (!target) {\n target = this;\n }\n target[key] = value;\n };\n\n Vue.prototype.__set_sync = function(target, key, value) {\n if (!target) {\n target = this;\n }\n target[key] = value;\n };\n\n Vue.prototype.__get_orig = function(item) {\n if (isPlainObject(item)) {\n return item['$orig'] || item\n }\n return item\n };\n\n Vue.prototype.__get_value = function(dataPath, target) {\n return getTarget(target || this, dataPath)\n };\n\n\n Vue.prototype.__get_class = function(dynamicClass, staticClass) {\n return renderClass(staticClass, dynamicClass)\n };\n\n Vue.prototype.__get_style = function(dynamicStyle, staticStyle) {\n if (!dynamicStyle && !staticStyle) {\n return ''\n }\n var dynamicStyleObj = normalizeStyleBinding(dynamicStyle);\n var styleObj = staticStyle ? extend(staticStyle, dynamicStyleObj) : dynamicStyleObj;\n return Object.keys(styleObj).map(function (name) { return ((hyphenate(name)) + \":\" + (styleObj[name])); }).join(';')\n };\n\n Vue.prototype.__map = function(val, iteratee) {\n //TODO 暂不考虑 string\n var ret, i, l, keys, key;\n if (Array.isArray(val)) {\n ret = new Array(val.length);\n for (i = 0, l = val.length; i < l; i++) {\n ret[i] = iteratee(val[i], i);\n }\n return ret\n } else if (isObject(val)) {\n keys = Object.keys(val);\n ret = Object.create(null);\n for (i = 0, l = keys.length; i < l; i++) {\n key = keys[i];\n ret[key] = iteratee(val[key], key, i);\n }\n return ret\n } else if (typeof val === 'number') {\n ret = new Array(val);\n for (i = 0, l = val; i < l; i++) {\n // 第一个参数暂时仍和小程序一致\n ret[i] = iteratee(i, i);\n }\n return ret\n }\n return []\n };\n\n}\n\n/* */\n\nvar LIFECYCLE_HOOKS$1 = [\n //App\n 'onLaunch',\n 'onShow',\n 'onHide',\n 'onUniNViewMessage',\n 'onPageNotFound',\n 'onThemeChange',\n 'onError',\n 'onUnhandledRejection',\n //Page\n 'onInit',\n 'onLoad',\n // 'onShow',\n 'onReady',\n // 'onHide',\n 'onUnload',\n 'onPullDownRefresh',\n 'onReachBottom',\n 'onTabItemTap',\n 'onAddToFavorites',\n 'onShareTimeline',\n 'onShareAppMessage',\n 'onResize',\n 'onPageScroll',\n 'onNavigationBarButtonTap',\n 'onBackPress',\n 'onNavigationBarSearchInputChanged',\n 'onNavigationBarSearchInputConfirmed',\n 'onNavigationBarSearchInputClicked',\n //Component\n // 'onReady', // 兼容旧版本,应该移除该事件\n 'onPageShow',\n 'onPageHide',\n 'onPageResize'\n];\nfunction lifecycleMixin$1(Vue) {\n\n //fixed vue-class-component\n var oldExtend = Vue.extend;\n Vue.extend = function(extendOptions) {\n extendOptions = extendOptions || {};\n\n var methods = extendOptions.methods;\n if (methods) {\n Object.keys(methods).forEach(function (methodName) {\n if (LIFECYCLE_HOOKS$1.indexOf(methodName)!==-1) {\n extendOptions[methodName] = methods[methodName];\n delete methods[methodName];\n }\n });\n }\n\n return oldExtend.call(this, extendOptions)\n };\n\n var strategies = Vue.config.optionMergeStrategies;\n var mergeHook = strategies.created;\n LIFECYCLE_HOOKS$1.forEach(function (hook) {\n strategies[hook] = mergeHook;\n });\n\n Vue.prototype.__lifecycle_hooks__ = LIFECYCLE_HOOKS$1;\n}\n\n/* */\n\n// install platform patch function\nVue.prototype.__patch__ = patch;\n\n// public mount method\nVue.prototype.$mount = function(\n el ,\n hydrating \n) {\n return mountComponent$1(this, el, hydrating)\n};\n\nlifecycleMixin$1(Vue);\ninternalMixin(Vue);\n\n/* */\n\nexport default Vue;\n","/**\n * 对象转url参数\n * @param {*} data,对象\n * @param {*} isPrefix,是否自动加上\"?\"\n */\nfunction queryParams(data = {}, isPrefix = true, arrayFormat = 'brackets') {\n\tlet prefix = isPrefix ? '?' : ''\n\tlet _result = []\n\tif (['indices', 'brackets', 'repeat', 'comma'].indexOf(arrayFormat) == -1) arrayFormat = 'brackets';\n\tfor (let key in data) {\n\t\tlet value = data[key]\n\t\t// 去掉为空的参数\n\t\tif (['', undefined, null].indexOf(value) >= 0) {\n\t\t\tcontinue;\n\t\t}\n\t\t// 如果值为数组,另行处理\n\t\tif (value.constructor === Array) {\n\t\t\t// e.g. {ids: [1, 2, 3]}\n\t\t\tswitch (arrayFormat) {\n\t\t\t\tcase 'indices':\n\t\t\t\t\t// 结果: ids[0]=1&ids[1]=2&ids[2]=3\n\t\t\t\t\tfor (let i = 0; i < value.length; i++) {\n\t\t\t\t\t\t_result.push(key + '[' + i + ']=' + value[i])\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'brackets':\n\t\t\t\t\t// 结果: ids[]=1&ids[]=2&ids[]=3\n\t\t\t\t\tvalue.forEach(_value => {\n\t\t\t\t\t\t_result.push(key + '[]=' + _value)\n\t\t\t\t\t})\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'repeat':\n\t\t\t\t\t// 结果: ids=1&ids=2&ids=3\n\t\t\t\t\tvalue.forEach(_value => {\n\t\t\t\t\t\t_result.push(key + '=' + _value)\n\t\t\t\t\t})\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'comma':\n\t\t\t\t\t// 结果: ids=1,2,3\n\t\t\t\t\tlet commaStr = \"\";\n\t\t\t\t\tvalue.forEach(_value => {\n\t\t\t\t\t\tcommaStr += (commaStr ? \",\" : \"\") + _value;\n\t\t\t\t\t})\n\t\t\t\t\t_result.push(key + '=' + commaStr)\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tvalue.forEach(_value => {\n\t\t\t\t\t\t_result.push(key + '[]=' + _value)\n\t\t\t\t\t})\n\t\t\t}\n\t\t} else {\n\t\t\t_result.push(key + '=' + value)\n\t\t}\n\t}\n\treturn _result.length ? prefix + _result.join('&') : ''\n}\n\nexport default queryParams;\n","!function(e,n){\"function\"==typeof define&&(define.amd||define.cmd)?define(function(){return n(e)}):n(e,!0)}(window,function(o,e){if(!o.jWeixin){var n,c={config:\"preVerifyJSAPI\",onMenuShareTimeline:\"menu:share:timeline\",onMenuShareAppMessage:\"menu:share:appmessage\",onMenuShareQQ:\"menu:share:qq\",onMenuShareWeibo:\"menu:share:weiboApp\",onMenuShareQZone:\"menu:share:QZone\",previewImage:\"imagePreview\",getLocation:\"geoLocation\",openProductSpecificView:\"openProductViewWithPid\",addCard:\"batchAddCard\",openCard:\"batchViewCard\",chooseWXPay:\"getBrandWCPayRequest\",openEnterpriseRedPacket:\"getRecevieBizHongBaoRequest\",startSearchBeacons:\"startMonitoringBeacons\",stopSearchBeacons:\"stopMonitoringBeacons\",onSearchBeacons:\"onBeaconsInRange\",consumeAndShareCard:\"consumedShareCard\",openAddress:\"editAddress\"},a=function(){var e={};for(var n in c)e[c[n]]=n;return e}(),i=o.document,t=i.title,r=navigator.userAgent.toLowerCase(),s=navigator.platform.toLowerCase(),d=!(!s.match(\"mac\")&&!s.match(\"win\")),u=-1!=r.indexOf(\"wxdebugger\"),l=-1!=r.indexOf(\"micromessenger\"),p=-1!=r.indexOf(\"android\"),f=-1!=r.indexOf(\"iphone\")||-1!=r.indexOf(\"ipad\"),m=(n=r.match(/micromessenger\\/(\\d+\\.\\d+\\.\\d+)/)||r.match(/micromessenger\\/(\\d+\\.\\d+)/))?n[1]:\"\",g={initStartTime:L(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},h={version:1,appId:\"\",initTime:0,preVerifyTime:0,networkType:\"\",isPreVerifyOk:1,systemType:f?1:p?2:-1,clientVersion:m,url:encodeURIComponent(location.href)},v={},S={_completes:[]},y={state:0,data:{}};O(function(){g.initEndTime=L()});var I=!1,_=[],w={config:function(e){B(\"config\",v=e);var t=!1!==v.check;O(function(){if(t)M(c.config,{verifyJsApiList:C(v.jsApiList),verifyOpenTagList:C(v.openTagList)},function(){S._complete=function(e){g.preVerifyEndTime=L(),y.state=1,y.data=e},S.success=function(e){h.isPreVerifyOk=0},S.fail=function(e){S._fail?S._fail(e):y.state=-1};var t=S._completes;return t.push(function(){!function(){if(!(d||u||v.debug||m<\"6.0.2\"||h.systemType<0)){var i=new Image;h.appId=v.appId,h.initTime=g.initEndTime-g.initStartTime,h.preVerifyTime=g.preVerifyEndTime-g.preVerifyStartTime,w.getNetworkType({isInnerInvoke:!0,success:function(e){h.networkType=e.networkType;var n=\"https://open.weixin.qq.com/sdk/report?v=\"+h.version+\"&o=\"+h.isPreVerifyOk+\"&s=\"+h.systemType+\"&c=\"+h.clientVersion+\"&a=\"+h.appId+\"&n=\"+h.networkType+\"&i=\"+h.initTime+\"&p=\"+h.preVerifyTime+\"&u=\"+h.url;i.src=n}})}}()}),S.complete=function(e){for(var n=0,i=t.length;n<i;++n)t[n]();S._completes=[]},S}()),g.preVerifyStartTime=L();else{y.state=1;for(var e=S._completes,n=0,i=e.length;n<i;++n)e[n]();S._completes=[]}}),w.invoke||(w.invoke=function(e,n,i){o.WeixinJSBridge&&WeixinJSBridge.invoke(e,x(n),i)},w.on=function(e,n){o.WeixinJSBridge&&WeixinJSBridge.on(e,n)})},ready:function(e){0!=y.state?e():(S._completes.push(e),!l&&v.debug&&e())},error:function(e){m<\"6.0.2\"||(-1==y.state?e(y.data):S._fail=e)},checkJsApi:function(e){M(\"checkJsApi\",{jsApiList:C(e.jsApiList)},(e._complete=function(e){if(p){var n=e.checkResult;n&&(e.checkResult=JSON.parse(n))}e=function(e){var n=e.checkResult;for(var i in n){var t=a[i];t&&(n[t]=n[i],delete n[i])}return e}(e)},e))},onMenuShareTimeline:function(e){P(c.onMenuShareTimeline,{complete:function(){M(\"shareTimeline\",{title:e.title||t,desc:e.title||t,img_url:e.imgUrl||\"\",link:e.link||location.href,type:e.type||\"link\",data_url:e.dataUrl||\"\"},e)}},e)},onMenuShareAppMessage:function(n){P(c.onMenuShareAppMessage,{complete:function(e){\"favorite\"===e.scene?M(\"sendAppMessage\",{title:n.title||t,desc:n.desc||\"\",link:n.link||location.href,img_url:n.imgUrl||\"\",type:n.type||\"link\",data_url:n.dataUrl||\"\"}):M(\"sendAppMessage\",{title:n.title||t,desc:n.desc||\"\",link:n.link||location.href,img_url:n.imgUrl||\"\",type:n.type||\"link\",data_url:n.dataUrl||\"\"},n)}},n)},onMenuShareQQ:function(e){P(c.onMenuShareQQ,{complete:function(){M(\"shareQQ\",{title:e.title||t,desc:e.desc||\"\",img_url:e.imgUrl||\"\",link:e.link||location.href},e)}},e)},onMenuShareWeibo:function(e){P(c.onMenuShareWeibo,{complete:function(){M(\"shareWeiboApp\",{title:e.title||t,desc:e.desc||\"\",img_url:e.imgUrl||\"\",link:e.link||location.href},e)}},e)},onMenuShareQZone:function(e){P(c.onMenuShareQZone,{complete:function(){M(\"shareQZone\",{title:e.title||t,desc:e.desc||\"\",img_url:e.imgUrl||\"\",link:e.link||location.href},e)}},e)},updateTimelineShareData:function(e){M(\"updateTimelineShareData\",{title:e.title,link:e.link,imgUrl:e.imgUrl},e)},updateAppMessageShareData:function(e){M(\"updateAppMessageShareData\",{title:e.title,desc:e.desc,link:e.link,imgUrl:e.imgUrl},e)},startRecord:function(e){M(\"startRecord\",{},e)},stopRecord:function(e){M(\"stopRecord\",{},e)},onVoiceRecordEnd:function(e){P(\"onVoiceRecordEnd\",e)},playVoice:function(e){M(\"playVoice\",{localId:e.localId},e)},pauseVoice:function(e){M(\"pauseVoice\",{localId:e.localId},e)},stopVoice:function(e){M(\"stopVoice\",{localId:e.localId},e)},onVoicePlayEnd:function(e){P(\"onVoicePlayEnd\",e)},uploadVoice:function(e){M(\"uploadVoice\",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadVoice:function(e){M(\"downloadVoice\",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},translateVoice:function(e){M(\"translateVoice\",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},chooseImage:function(e){M(\"chooseImage\",{scene:\"1|2\",count:e.count||9,sizeType:e.sizeType||[\"original\",\"compressed\"],sourceType:e.sourceType||[\"album\",\"camera\"]},(e._complete=function(e){if(p){var n=e.localIds;try{n&&(e.localIds=JSON.parse(n))}catch(e){}}},e))},getLocation:function(e){},previewImage:function(e){M(c.previewImage,{current:e.current,urls:e.urls},e)},uploadImage:function(e){M(\"uploadImage\",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadImage:function(e){M(\"downloadImage\",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},getLocalImgData:function(e){!1===I?(I=!0,M(\"getLocalImgData\",{localId:e.localId},(e._complete=function(e){if(I=!1,0<_.length){var n=_.shift();wx.getLocalImgData(n)}},e))):_.push(e)},getNetworkType:function(e){M(\"getNetworkType\",{},(e._complete=function(e){e=function(e){var n=e.errMsg;e.errMsg=\"getNetworkType:ok\";var i=e.subtype;if(delete e.subtype,i)e.networkType=i;else{var t=n.indexOf(\":\"),o=n.substring(t+1);switch(o){case\"wifi\":case\"edge\":case\"wwan\":e.networkType=o;break;default:e.errMsg=\"getNetworkType:fail\"}}return e}(e)},e))},openLocation:function(e){M(\"openLocation\",{latitude:e.latitude,longitude:e.longitude,name:e.name||\"\",address:e.address||\"\",scale:e.scale||28,infoUrl:e.infoUrl||\"\"},e)},getLocation:function(e){M(c.getLocation,{type:(e=e||{}).type||\"wgs84\"},(e._complete=function(e){delete e.type},e))},hideOptionMenu:function(e){M(\"hideOptionMenu\",{},e)},showOptionMenu:function(e){M(\"showOptionMenu\",{},e)},closeWindow:function(e){M(\"closeWindow\",{},e=e||{})},hideMenuItems:function(e){M(\"hideMenuItems\",{menuList:e.menuList},e)},showMenuItems:function(e){M(\"showMenuItems\",{menuList:e.menuList},e)},hideAllNonBaseMenuItem:function(e){M(\"hideAllNonBaseMenuItem\",{},e)},showAllNonBaseMenuItem:function(e){M(\"showAllNonBaseMenuItem\",{},e)},scanQRCode:function(e){M(\"scanQRCode\",{needResult:(e=e||{}).needResult||0,scanType:e.scanType||[\"qrCode\",\"barCode\"]},(e._complete=function(e){if(f){var n=e.resultStr;if(n){var i=JSON.parse(n);e.resultStr=i&&i.scan_code&&i.scan_code.scan_result}}},e))},openAddress:function(e){M(c.openAddress,{},(e._complete=function(e){e=function(e){return e.postalCode=e.addressPostalCode,delete e.addressPostalCode,e.provinceName=e.proviceFirstStageName,delete e.proviceFirstStageName,e.cityName=e.addressCitySecondStageName,delete e.addressCitySecondStageName,e.countryName=e.addressCountiesThirdStageName,delete e.addressCountiesThirdStageName,e.detailInfo=e.addressDetailInfo,delete e.addressDetailInfo,e}(e)},e))},openProductSpecificView:function(e){M(c.openProductSpecificView,{pid:e.productId,view_type:e.viewType||0,ext_info:e.extInfo},e)},addCard:function(e){for(var n=e.cardList,i=[],t=0,o=n.length;t<o;++t){var r=n[t],a={card_id:r.cardId,card_ext:r.cardExt};i.push(a)}M(c.addCard,{card_list:i},(e._complete=function(e){var n=e.card_list;if(n){for(var i=0,t=(n=JSON.parse(n)).length;i<t;++i){var o=n[i];o.cardId=o.card_id,o.cardExt=o.card_ext,o.isSuccess=!!o.is_succ,delete o.card_id,delete o.card_ext,delete o.is_succ}e.cardList=n,delete e.card_list}},e))},chooseCard:function(e){M(\"chooseCard\",{app_id:v.appId,location_id:e.shopId||\"\",sign_type:e.signType||\"SHA1\",card_id:e.cardId||\"\",card_type:e.cardType||\"\",card_sign:e.cardSign,time_stamp:e.timestamp+\"\",nonce_str:e.nonceStr},(e._complete=function(e){e.cardList=e.choose_card_info,delete e.choose_card_info},e))},openCard:function(e){for(var n=e.cardList,i=[],t=0,o=n.length;t<o;++t){var r=n[t],a={card_id:r.cardId,code:r.code};i.push(a)}M(c.openCard,{card_list:i},e)},consumeAndShareCard:function(e){M(c.consumeAndShareCard,{consumedCardId:e.cardId,consumedCode:e.code},e)},chooseWXPay:function(e){M(c.chooseWXPay,V(e),e)},openEnterpriseRedPacket:function(e){M(c.openEnterpriseRedPacket,V(e),e)},startSearchBeacons:function(e){M(c.startSearchBeacons,{ticket:e.ticket},e)},stopSearchBeacons:function(e){M(c.stopSearchBeacons,{},e)},onSearchBeacons:function(e){P(c.onSearchBeacons,e)},openEnterpriseChat:function(e){M(\"openEnterpriseChat\",{useridlist:e.userIds,chatname:e.groupName},e)},launchMiniProgram:function(e){M(\"launchMiniProgram\",{targetAppId:e.targetAppId,path:function(e){if(\"string\"==typeof e&&0<e.length){var n=e.split(\"?\")[0],i=e.split(\"?\")[1];return n+=\".html\",void 0!==i?n+\"?\"+i:n}}(e.path),envVersion:e.envVersion},e)},openBusinessView:function(e){M(\"openBusinessView\",{businessType:e.businessType,queryString:e.queryString||\"\",envVersion:e.envVersion},(e._complete=function(n){if(p){var e=n.extraData;if(e)try{n.extraData=JSON.parse(e)}catch(e){n.extraData={}}}},e))},miniProgram:{navigateBack:function(e){e=e||{},O(function(){M(\"invokeMiniProgramAPI\",{name:\"navigateBack\",arg:{delta:e.delta||1}},e)})},navigateTo:function(e){O(function(){M(\"invokeMiniProgramAPI\",{name:\"navigateTo\",arg:{url:e.url}},e)})},redirectTo:function(e){O(function(){M(\"invokeMiniProgramAPI\",{name:\"redirectTo\",arg:{url:e.url}},e)})},switchTab:function(e){O(function(){M(\"invokeMiniProgramAPI\",{name:\"switchTab\",arg:{url:e.url}},e)})},reLaunch:function(e){O(function(){M(\"invokeMiniProgramAPI\",{name:\"reLaunch\",arg:{url:e.url}},e)})},postMessage:function(e){O(function(){M(\"invokeMiniProgramAPI\",{name:\"postMessage\",arg:e.data||{}},e)})},getEnv:function(e){O(function(){e({miniprogram:\"miniprogram\"===o.__wxjs_environment})})}}},T=1,k={};return i.addEventListener(\"error\",function(e){if(!p){var n=e.target,i=n.tagName,t=n.src;if(\"IMG\"==i||\"VIDEO\"==i||\"AUDIO\"==i||\"SOURCE\"==i)if(-1!=t.indexOf(\"wxlocalresource://\")){e.preventDefault(),e.stopPropagation();var o=n[\"wx-id\"];if(o||(o=T++,n[\"wx-id\"]=o),k[o])return;k[o]=!0,wx.ready(function(){wx.getLocalImgData({localId:t,success:function(e){n.src=e.localData}})})}}},!0),i.addEventListener(\"load\",function(e){if(!p){var n=e.target,i=n.tagName;n.src;if(\"IMG\"==i||\"VIDEO\"==i||\"AUDIO\"==i||\"SOURCE\"==i){var t=n[\"wx-id\"];t&&(k[t]=!1)}}},!0),e&&(o.wx=o.jWeixin=w),w}function M(n,e,i){o.WeixinJSBridge?WeixinJSBridge.invoke(n,x(e),function(e){A(n,e,i)}):B(n,i)}function P(n,i,t){o.WeixinJSBridge?WeixinJSBridge.on(n,function(e){t&&t.trigger&&t.trigger(e),A(n,e,i)}):B(n,t||i)}function x(e){return(e=e||{}).appId=v.appId,e.verifyAppId=v.appId,e.verifySignType=\"sha1\",e.verifyTimestamp=v.timestamp+\"\",e.verifyNonceStr=v.nonceStr,e.verifySignature=v.signature,e}function V(e){return{timeStamp:e.timestamp+\"\",nonceStr:e.nonceStr,package:e.package,paySign:e.paySign,signType:e.signType||\"SHA1\"}}function A(e,n,i){\"openEnterpriseChat\"!=e&&\"openBusinessView\"!==e||(n.errCode=n.err_code),delete n.err_code,delete n.err_desc,delete n.err_detail;var t=n.errMsg;t||(t=n.err_msg,delete n.err_msg,t=function(e,n){var i=e,t=a[i];t&&(i=t);var o=\"ok\";if(n){var r=n.indexOf(\":\");\"confirm\"==(o=n.substring(r+1))&&(o=\"ok\"),\"failed\"==o&&(o=\"fail\"),-1!=o.indexOf(\"failed_\")&&(o=o.substring(7)),-1!=o.indexOf(\"fail_\")&&(o=o.substring(5)),\"access denied\"!=(o=(o=o.replace(/_/g,\" \")).toLowerCase())&&\"no permission to execute\"!=o||(o=\"permission denied\"),\"config\"==i&&\"function not exist\"==o&&(o=\"ok\"),\"\"==o&&(o=\"fail\")}return n=i+\":\"+o}(e,t),n.errMsg=t),(i=i||{})._complete&&(i._complete(n),delete i._complete),t=n.errMsg||\"\",v.debug&&!i.isInnerInvoke&&alert(JSON.stringify(n));var o=t.indexOf(\":\");switch(t.substring(o+1)){case\"ok\":i.success&&i.success(n);break;case\"cancel\":i.cancel&&i.cancel(n);break;default:i.fail&&i.fail(n)}i.complete&&i.complete(n)}function C(e){if(e){for(var n=0,i=e.length;n<i;++n){var t=e[n],o=c[t];o&&(e[n]=o)}return e}}function B(e,n){if(!(!v.debug||n&&n.isInnerInvoke)){var i=a[e];i&&(e=i),n&&n._complete&&delete n._complete,console.log('\"'+e+'\",',n||\"\")}}function L(){return(new Date).getTime()}function O(e){l&&(o.WeixinJSBridge?e():i.addEventListener&&i.addEventListener(\"WeixinJSBridgeReady\",e,!1))}});","import request from '@/utils/request'\n\n// 获取用户消费记录\nexport function spreadCommission(data,state) {\n\treturn request({\n\t\turl: '/api/spread/commission/'+state,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n// 获取账户余额\nexport function userBalance(data) {\n\treturn request({\n\t\turl: '/api/user/balance',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n// 提现\nexport function extractCash(data) {\n\treturn request({\n\t\turl: '/api/extract/cash',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n// 提现信息\nexport function extractBank(data) {\n\treturn request({\n\t\turl: '/api/extract/bank',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n\n\n\n\n\n\n\n\n\n\n// 小程序充值\nexport function rechargeRoutine(data) {\n\treturn request({\n\t\turl: '/api/recharge/routine',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n// 获取提现支付宝账号\nexport function aliInfo(data) {\n\treturn request({\n\t\turl: '/api/ali/info',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n//获取默认银行卡账号\nexport function bankInfo(data) {\n\treturn request({\n\t\turl: '/api/bank/info',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n// 保存提现支付宝账号\nexport function setAliInfo(data) {\n\treturn request({\n\t\turl: '/api/ali/edit',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n//保存默认银行卡账号\nexport function setBankInfo(data) {\n\treturn request({\n\t\turl: '/api/bank/edit',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n\n// 账户余额\nexport function balance(data) {\n\treturn request({\n\t\turl: '/api/user/balance',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n\n\n","/**\n * 路由跳转方法,该方法相对于直接使用uni.xxx的好处是使用更加简单快捷\n * 并且带有路由拦截功能\n */\n\nclass Router {\n\tconstructor() {\n\t\t// 原始属性定义\n\t\tthis.config = {\n\t\t\ttype: 'navigateTo',\n\t\t\turl: '',\n\t\t\tdelta: 1, // navigateBack页面后退时,回退的层数\n\t\t\tparams: {}, // 传递的参数\n\t\t\tanimationType: 'pop-in', // 窗口动画,只在APP有效\n\t\t\tanimationDuration: 300, // 窗口动画持续时间,单位毫秒,只在APP有效\n\t\t\tintercept: false, // 是否需要拦截\n\t\t}\n\t\t// 因为route方法是需要对外赋值给另外的对象使用,同时route内部有使用this,会导致route失去上下文\n\t\t// 这里在构造函数中进行this绑定\n\t\tthis.route = this.route.bind(this)\n\t}\n\n\t// 判断url前面是否有\"/\",如果没有则加上,否则无法跳转\n\taddRootPath(url) {\n\t\treturn url[0] === '/' ? url : `/${url}`\n\t}\n\n\t// 整合路由参数\n\tmixinParam(url, params) {\n\t\turl = url && this.addRootPath(url)\n\t\t\n\t\t// 使用正则匹配,主要依据是判断是否有\"/\",\"?\",\"=\"等,如“/page/index/index?name=mary\"\n\t\t// 如果有url中有get参数,转换后无需带上\"?\"\n\t\tlet query = ''\n\t\tif (/.*\\/.*\\?.*=.*/.test(url)) {\n\t\t\t// object对象转为get类型的参数\n\t\t\tquery = uni.$u.queryParams(params, false);\n\t\t\t// 因为已有get参数,所以后面拼接的参数需要带上\"&\"隔开\n\t\t\treturn url += \"&\" + query\n\t\t} else {\n\t\t\t// 直接拼接参数,因为此处url中没有后面的query参数,也就没有\"?/&\"之类的符号\n\t\t\tquery = uni.$u.queryParams(params);\n\t\t\treturn url += query\n\t\t}\n\t}\n\n\t// 对外的方法名称\n\tasync route(options = {}, params = {}) {\n\t\t// 合并用户的配置和内部的默认配置\n\t\tlet mergeConfig = {}\n\n\t\tif (typeof options === 'string') {\n\t\t\t// 如果options为字符串,则为route(url, params)的形式\n\t\t\tmergeConfig.url = this.mixinParam(options, params)\n\t\t\tmergeConfig.type = 'navigateTo'\n\t\t} else {\n\t\t\tmergeConfig = uni.$u.deepClone(options, this.config)\n\t\t\t// 否则正常使用mergeConfig中的url和params进行拼接\n\t\t\tmergeConfig.url = this.mixinParam(options.url, options.params)\n\t\t}\n\t\t\n\t\tif(params.intercept) {\n\t\t\tthis.config.intercept = params.intercept\n\t\t}\n\t\t// params参数也带给拦截器\n\t\tmergeConfig.params = params\n\t\t// 合并内外部参数\n\t\tmergeConfig = uni.$u.deepMerge(this.config, mergeConfig)\n\t\t// 判断用户是否定义了拦截器\n\t\tif (typeof uni.$u.routeIntercept === 'function') {\n\t\t\t// 定一个promise,根据用户执行resolve(true)或者resolve(false)来决定是否进行路由跳转\n\t\t\tconst isNext = await new Promise((resolve, reject) => {\n\t\t\t\tuni.$u.routeIntercept(mergeConfig, resolve)\n\t\t\t})\n\t\t\t// 如果isNext为true,则执行路由跳转\n\t\t\tisNext && this.openPage(mergeConfig)\n\t\t} else {\n\t\t\tthis.openPage(mergeConfig)\n\t\t}\n\t}\n\n\t// 执行路由跳转\n\topenPage(config) {\n\t\t// 解构参数\n\t\tconst {\n\t\t\turl,\n\t\t\ttype,\n\t\t\tdelta,\n\t\t\tanimationType,\n\t\t\tanimationDuration\n\t\t} = config\n\t\tif (config.type == 'navigateTo' || config.type == 'to') {\n\t\t\tuni.navigateTo({\n\t\t\t\turl,\n\t\t\t\tanimationType,\n\t\t\t\tanimationDuration\n\t\t\t});\n\t\t}\n\t\tif (config.type == 'redirectTo' || config.type == 'redirect') {\n\t\t\tuni.redirectTo({\n\t\t\t\turl\n\t\t\t});\n\t\t}\n\t\tif (config.type == 'switchTab' || config.type == 'tab') {\n\t\t\tuni.switchTab({\n\t\t\t\turl\n\t\t\t});\n\t\t}\n\t\tif (config.type == 'reLaunch' || config.type == 'launch') {\n\t\t\tuni.reLaunch({\n\t\t\t\turl\n\t\t\t});\n\t\t}\n\t\tif (config.type == 'navigateBack' || config.type == 'back') {\n\t\t\tuni.navigateBack({\n\t\t\t\tdelta\n\t\t\t});\n\t\t}\n\t}\n}\n\nexport default (new Router()).route","//身份证验证\t\nexport function isCardNo(card) {\n\t// 身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X \n\tvar reg =\n\t\t/(^[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$)|(^[1-9]\\d{5}\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{2}$)/;\n\tif (reg.test(card) === false) {\n\t\tconsole.log(card);\n\t\treturn false;\n\n\t}\n\treturn true\n}\n\n// 金额显示变化\nexport function getMoneyStyle(value = 0) {\n\tif (typeof value == 'string') {\n\t\tvalue = (+value).toFixed(2)\n\t}\n\tif (typeof value == 'number') {\n\t\tvalue = value.toFixed(2)\n\t}\n\t// 将字符串转为数组\n\tlet n = value.split(\"\");\n\t// 反转数组并复制循环处理\n\tlet arr = n.reverse().map(function(e, ind, ar) {\n\t\t// 判断当前下标是否为3的整数倍数且不为最后一个下标\n\t\tif (ind % 3 == 0 && ind / 3 > 1 && ind != ar.length) {\n\t\t\treturn e + ','\n\t\t} else {\n\t\t\treturn e\n\t\t}\n\t})\n\t// 反转数组回复原来排序并合并回字符串\n\tarr = arr.reverse().join('')\n\treturn arr;\n}\n\n// 倒计时计算\n// 计算倒计时时间\nexport function timeComputed(time) {\n\t// 获取当前时间\n\tconst actTime = (new Date()).getTime();\n\t// 获取到期时间\n\tlet stopTime = time - actTime;\n\t// 判断是否小于0\n\tif (stopTime < 0) {\n\t\tstopTime = stopTime * -1\n\t}\n\tlet day = Math.floor(stopTime / 1000 / 60 / 60 / 24) //获取剩余天数\n\tlet hours = Math.floor((stopTime / 1000 / 60 / 60) % 24); //获取剩余小时数\n\tlet minutes = Math.floor((stopTime / 1000 / 60) % 60); //获取分钟\n\tlet seconds = Math.floor((stopTime / 1000) % 60); //获取秒数\n\treturn {\n\t\thours, //倒计时小时数\n\t\tminutes, //倒计时分钟数\n\t\tseconds, //倒计时秒数\n\t\tday //倒计时天数\n\t}\n}\n\n// 调用打开地图方法\nexport function openMap(e) {\n\tconst that = this\n\treturn new Promise((resolve, reject) => {\n\t\twx.getSetting({\n\t\t\tsuccess(res) {\n\t\t\t\t//这里判断是否有地位权限\n\t\t\t\tif (!res.authSetting['scope.userLocation']) {\n\t\t\t\t\twx.showModal({\n\t\t\t\t\t\ttitle: '提示',\n\t\t\t\t\t\tcontent: '请求获取位置权限',\n\t\t\t\t\t\tsuccess: function(res) {\n\t\t\t\t\t\t\tif (res.confirm == false) {\n\t\t\t\t\t\t\t\t// 授权失败\n\t\t\t\t\t\t\t\treject()\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\twx.openSetting({\n\t\t\t\t\t\t\t\tsuccess(res) {\n\t\t\t\t\t\t\t\t\t//如果再次拒绝则返回页面并提示\n\t\t\t\t\t\t\t\t\tif (!res.authSetting['scope.userLocation']) {\n\t\t\t\t\t\t\t\t\t\twx.showToast({\n\t\t\t\t\t\t\t\t\t\t\ttitle: '此功能需获取位置信息,请重新设置',\n\t\t\t\t\t\t\t\t\t\t\tduration: 3000,\n\t\t\t\t\t\t\t\t\t\t\ticon: 'none'\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t//允许授权,调用地图\n\t\t\t\t\t\t\t\t\t\tresolve()\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t} else {\n\t\t\t\t\t//如果有定位权限,调用地图\n\t\t\t\t\tresolve()\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t})\n}\n//时间戳转换成时间\nexport function getTime(time) {\n\tconst num =13 - (time+'').length;\n\tlet l = 1;//倍数\n\tfor (let i = 0; i < num; i++) {\n\t\tl+='0';\n\t}\n\t// 重新解析为数字\n\tl = parseInt(l)\n\tconst date = new Date(parseInt(time) * l);\n\tconst year = date.getFullYear();\n\tconst mon = date.getMonth() + 1;\n\tconst day = date.getDate();\n\tconst hours = date.getHours();\n\tconst minu = date.getMinutes();\n\tconst sec = date.getSeconds();\n\treturn year + '-' + mon + '-' + day + ' ' + hours + ':' + minu + ':' + sec;\n}\n","module.exports = require(\"regenerator-runtime\");\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n// This method of obtaining a reference to the global object needs to be\n// kept identical to the way it is obtained in runtime.js\nvar g = (function() {\n return this || (typeof self === \"object\" && self);\n})() || Function(\"return this\")();\n\n// Use `getOwnPropertyNames` because not all browsers support calling\n// `hasOwnProperty` on the global `self` object in a worker. See #183.\nvar hadRuntime = g.regeneratorRuntime &&\n Object.getOwnPropertyNames(g).indexOf(\"regeneratorRuntime\") >= 0;\n\n// Save the old regeneratorRuntime in case it needs to be restored later.\nvar oldRuntime = hadRuntime && g.regeneratorRuntime;\n\n// Force reevalutation of runtime.js.\ng.regeneratorRuntime = undefined;\n\nmodule.exports = require(\"./runtime\");\n\nif (hadRuntime) {\n // Restore the original runtime.\n g.regeneratorRuntime = oldRuntime;\n} else {\n // Remove the global property added by runtime.js.\n try {\n delete g.regeneratorRuntime;\n } catch(e) {\n g.regeneratorRuntime = undefined;\n }\n}\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n!(function(global) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n var inModule = typeof module === \"object\";\n var runtime = global.regeneratorRuntime;\n if (runtime) {\n if (inModule) {\n // If regeneratorRuntime is defined globally and we're in a module,\n // make the exports object identical to regeneratorRuntime.\n module.exports = runtime;\n }\n // Don't bother evaluating the rest of this file if the runtime was\n // already defined globally.\n return;\n }\n\n // Define the runtime globally (as expected by generated code) as either\n // module.exports (if we're in a module) or a new, empty object.\n runtime = global.regeneratorRuntime = inModule ? module.exports : {};\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n runtime.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n IteratorPrototype[iteratorSymbol] = function () {\n return this;\n };\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n GeneratorFunctionPrototype.constructor = GeneratorFunction;\n GeneratorFunctionPrototype[toStringTagSymbol] =\n GeneratorFunction.displayName = \"GeneratorFunction\";\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n prototype[method] = function(arg) {\n return this._invoke(method, arg);\n };\n });\n }\n\n runtime.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n runtime.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n if (!(toStringTagSymbol in genFun)) {\n genFun[toStringTagSymbol] = \"GeneratorFunction\";\n }\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n runtime.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return Promise.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return Promise.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new Promise(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n return this;\n };\n runtime.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n runtime.async = function(innerFn, outerFn, self, tryLocsList) {\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList)\n );\n\n return runtime.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n if (delegate.iterator.return) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n Gp[toStringTagSymbol] = \"Generator\";\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n Gp[iteratorSymbol] = function() {\n return this;\n };\n\n Gp.toString = function() {\n return \"[object Generator]\";\n };\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n runtime.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n runtime.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n})(\n // In sloppy mode, unbound `this` refers to the global object, fallback to\n // Function constructor if we're in global strict mode. That is sadly a form\n // of indirect eval which violates Content Security Policy.\n (function() {\n return this || (typeof self === \"object\" && self);\n })() || Function(\"return this\")()\n);\n","// padStart 的 polyfill,因为某些机型或情况,还无法支持es7的padStart,比如电脑版的微信小程序\n// 所以这里做一个兼容polyfill的兼容处理\nif (!String.prototype.padStart) {\n\t// 为了方便表示这里 fillString 用了ES6 的默认参数,不影响理解\n\tString.prototype.padStart = function(maxLength, fillString = ' ') {\n\t\tif (Object.prototype.toString.call(fillString) !== \"[object String]\") throw new TypeError(\n\t\t\t'fillString must be String')\n\t\tlet str = this\n\t\t// 返回 String(str) 这里是为了使返回的值是字符串字面量,在控制台中更符合直觉\n\t\tif (str.length >= maxLength) return String(str)\n\n\t\tlet fillLength = maxLength - str.length,\n\t\t\ttimes = Math.ceil(fillLength / fillString.length)\n\t\twhile (times >>= 1) {\n\t\t\tfillString += fillString\n\t\t\tif (times === 1) {\n\t\t\t\tfillString += fillString\n\t\t\t}\n\t\t}\n\t\treturn fillString.slice(0, fillLength) + str;\n\t}\n}\n\n// 其他更多是格式化有如下:\n// yyyy:mm:dd|yyyy:mm|yyyy年mm月dd日|yyyy年mm月dd日 hh时MM分等,可自定义组合\nfunction timeFormat(dateTime = null, fmt = 'yyyy-mm-dd') {\n\t// 如果为null,则格式化当前时间\n\tif (!dateTime) dateTime = Number(new Date());\n\t// 如果dateTime长度为10或者13,则为秒和毫秒的时间戳,如果超过13位,则为其他的时间格式\n\tif (dateTime.toString().length == 10) dateTime *= 1000;\n\tlet date = new Date(dateTime);\n\tlet ret;\n\tlet opt = {\n\t\t\"y+\": date.getFullYear().toString(), // 年\n\t\t\"m+\": (date.getMonth() + 1).toString(), // 月\n\t\t\"d+\": date.getDate().toString(), // 日\n\t\t\"h+\": date.getHours().toString(), // 时\n\t\t\"M+\": date.getMinutes().toString(), // 分\n\t\t\"s+\": date.getSeconds().toString() // 秒\n\t\t// 有其他格式化字符需求可以继续添加,必须转化成字符串\n\t};\n\tfor (let k in opt) {\n\t\tret = new RegExp(\"(\" + k + \")\").exec(fmt);\n\t\tif (ret) {\n\t\t\tfmt = fmt.replace(ret[1], (ret[1].length == 1) ? (opt[k]) : (opt[k].padStart(ret[1].length, \"0\")))\n\t\t};\n\t};\n\treturn fmt;\n}\n\nexport default timeFormat\n","import request from '@/utils/request'\n\n//获取优惠券列表\nexport function getCouponsList(data,types) {\n\t//优惠券状态 0全部 1未使用 2已使用\n\treturn request({\n\t\turl: '/api/coupons/user/'+types,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n//领取优惠券\nexport function setCoupons(data) {\n\treturn request({\n\t\turl: '/api/coupon/receive',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n//获取可使用优惠券\nexport function couponsOrder(data,price) {\n\treturn request({\n\t\turl: '/api/coupons/order/'+price,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n\n//\t积分列表\nexport function integrallist(data) {\n\treturn request({\n\t\turl: '/api/integral/list',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n\n// 获取签到列表\nexport function signList(data) {\n\treturn request({\n\t\turl: '/api/sign/list',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n// 点击签到\nexport function integral(data) {\n\treturn request({\n\t\turl: '/api/sign/integral',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n// 签到信息\nexport function signUser(data) {\n\treturn request({\n\t\turl: '/api/sign/user',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n","import timeFormat from '../../libs/function/timeFormat.js';\n\n/**\n * 时间戳转为多久之前\n * @param String timestamp 时间戳\n * @param String | Boolean format 如果为时间格式字符串,超出一定时间范围,返回固定的时间格式;\n * 如果为布尔值false,无论什么时间,都返回多久以前的格式\n */\nfunction timeFrom(dateTime = null, format = 'yyyy-mm-dd') {\n\t// 如果为null,则格式化当前时间\n\tif (!dateTime) dateTime = Number(new Date());\n\t// 如果dateTime长度为10或者13,则为秒和毫秒的时间戳,如果超过13位,则为其他的时间格式\n\tif (dateTime.toString().length == 10) dateTime *= 1000;\n\tlet timestamp = + new Date(Number(dateTime));\n\n\tlet timer = (Number(new Date()) - timestamp) / 1000;\n\t// 如果小于5分钟,则返回\"刚刚\",其他以此类推\n\tlet tips = '';\n\tswitch (true) {\n\t\tcase timer < 300:\n\t\t\ttips = '刚刚';\n\t\t\tbreak;\n\t\tcase timer >= 300 && timer < 3600:\n\t\t\ttips = parseInt(timer / 60) + '分钟前';\n\t\t\tbreak;\n\t\tcase timer >= 3600 && timer < 86400:\n\t\t\ttips = parseInt(timer / 3600) + '小时前';\n\t\t\tbreak;\n\t\tcase timer >= 86400 && timer < 2592000:\n\t\t\ttips = parseInt(timer / 86400) + '天前';\n\t\t\tbreak;\n\t\tdefault:\n\t\t\t// 如果format为false,则无论什么时间戳,都显示xx之前\n\t\t\tif(format === false) {\n\t\t\t\tif(timer >= 2592000 && timer < 365 * 86400) {\n\t\t\t\t\ttips = parseInt(timer / (86400 * 30)) + '个月前';\n\t\t\t\t} else {\n\t\t\t\t\ttips = parseInt(timer / (86400 * 365)) + '年前';\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\ttips = timeFormat(timestamp, format);\n\t\t\t}\n\t}\n\treturn tips;\n}\n\nexport default timeFrom;\n","import request from '@/utils/request'\nimport {upFilse} from '@/utils/request'\n// 订单确认\nexport function confirm(data) {\n\treturn request({\n\t\turl: '/api/order/confirm',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n//获取可使用优惠券\nexport function couponsOrder(data,price) {\n\treturn request({\n\t\turl: '/api/coupons/order/'+price,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n//获取优惠券列表\nexport function getCouponsList(data,types) {\n\t//优惠券状态 0全部 1未使用 2已使用\n\treturn request({\n\t\turl: '/api/coupons/user/'+types,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n//提交评论\nexport function order_comment(data) {\n\treturn request({\n\t\turl: '/api/order/comment',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n//订单产品信息\nexport function product(data) {\n\treturn request({\n\t\turl: '/api/order/product',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n// 快递查询\nexport function express_query(data) {\n\treturn request({\n\t\turl: '/api/order/express_query',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n//上传图片\nexport function upload(data) {\n\treturn upFilse({\n\t\turl: '/api/upload/image',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n// 订单列表\nexport function orderList(data) {\n\treturn request({\n\t\turl: '/api/order/list',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n// 订单详细\nexport function orderDetail(data,orderid) {\n\treturn request({\n\t\turl: '/api/order/detail/'+orderid,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n// 取消订单\nexport function orderCancel(data) {\n\treturn request({\n\t\turl: '/api/order/cancel',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n// 删除订单\nexport function orderDel(data) {\n\treturn request({\n\t\turl: '/api/order/del',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n// 申请退款\nexport function refund(data) {\n\treturn request({\n\t\turl: '/api/order/refund/verify',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n// 退款理由列表\nexport function refundReason(data) {\n\treturn request({\n\t\turl: '/api/order/refund/reason',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n// 确认收货\nexport function orderTake(data) {\n\treturn request({\n\t\turl: '/api/order/take',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n// 订单支付\nexport function orderPay(data) {\n\treturn request({\n\t\turl: '/api/order/pay',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n// 创建订单\nexport function createOrderkey(data,key) {\n\treturn request({\n\t\turl: '/api/order/create/'+key,\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n// 统计订单金额\nexport function computedOrderkey(data) {\n\treturn request({\n\t\turl: '/api/order/computed/'+data.orderkey,\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n","/**\n * 求两个颜色之间的渐变值\n * @param {string} startColor 开始的颜色\n * @param {string} endColor 结束的颜色\n * @param {number} step 颜色等分的份额\n * */\nfunction colorGradient(startColor = 'rgb(0, 0, 0)', endColor = 'rgb(255, 255, 255)', step = 10) {\n\tlet startRGB = hexToRgb(startColor, false); //转换为rgb数组模式\n\tlet startR = startRGB[0];\n\tlet startG = startRGB[1];\n\tlet startB = startRGB[2];\n\n\tlet endRGB = hexToRgb(endColor, false);\n\tlet endR = endRGB[0];\n\tlet endG = endRGB[1];\n\tlet endB = endRGB[2];\n\n\tlet sR = (endR - startR) / step; //总差值\n\tlet sG = (endG - startG) / step;\n\tlet sB = (endB - startB) / step;\n\tlet colorArr = [];\n\tfor (let i = 0; i < step; i++) {\n\t\t//计算每一步的hex值 \n\t\tlet hex = rgbToHex('rgb(' + Math.round((sR * i + startR)) + ',' + Math.round((sG * i + startG)) + ',' + Math.round((sB *\n\t\t\ti + startB)) + ')');\n\t\tcolorArr.push(hex);\n\t}\n\treturn colorArr;\n}\n\n// 将hex表示方式转换为rgb表示方式(这里返回rgb数组模式)\nfunction hexToRgb(sColor, str = true) {\n\tlet reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;\n\tsColor = sColor.toLowerCase();\n\tif (sColor && reg.test(sColor)) {\n\t\tif (sColor.length === 4) {\n\t\t\tlet sColorNew = \"#\";\n\t\t\tfor (let i = 1; i < 4; i += 1) {\n\t\t\t\tsColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));\n\t\t\t}\n\t\t\tsColor = sColorNew;\n\t\t}\n\t\t//处理六位的颜色值\n\t\tlet sColorChange = [];\n\t\tfor (let i = 1; i < 7; i += 2) {\n\t\t\tsColorChange.push(parseInt(\"0x\" + sColor.slice(i, i + 2)));\n\t\t}\n\t\tif(!str) {\n\t\t\treturn sColorChange;\n\t\t} else {\n\t\t\treturn `rgb(${sColorChange[0]},${sColorChange[1]},${sColorChange[2]})`;\n\t\t}\n\t} else if (/^(rgb|RGB)/.test(sColor)) {\n\t\tlet arr = sColor.replace(/(?:\\(|\\)|rgb|RGB)*/g, \"\").split(\",\")\n\t\treturn arr.map(val => Number(val));\n\t} else {\n\t\treturn sColor;\n\t}\n};\n\n// 将rgb表示方式转换为hex表示方式\nfunction rgbToHex(rgb) {\n\tlet _this = rgb;\n\tlet reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;\n\tif (/^(rgb|RGB)/.test(_this)) {\n\t\tlet aColor = _this.replace(/(?:\\(|\\)|rgb|RGB)*/g, \"\").split(\",\");\n\t\tlet strHex = \"#\";\n\t\tfor (let i = 0; i < aColor.length; i++) {\n\t\t\tlet hex = Number(aColor[i]).toString(16);\n\t\t\thex = String(hex).length == 1 ? 0 + '' + hex : hex; // 保证每个rgb的值为2位\n\t\t\tif (hex === \"0\") {\n\t\t\t\thex += hex;\n\t\t\t}\n\t\t\tstrHex += hex;\n\t\t}\n\t\tif (strHex.length !== 7) {\n\t\t\tstrHex = _this;\n\t\t}\n\t\treturn strHex;\n\t} else if (reg.test(_this)) {\n\t\tlet aNum = _this.replace(/#/, \"\").split(\"\");\n\t\tif (aNum.length === 6) {\n\t\t\treturn _this;\n\t\t} else if (aNum.length === 3) {\n\t\t\tlet numHex = \"#\";\n\t\t\tfor (let i = 0; i < aNum.length; i += 1) {\n\t\t\t\tnumHex += (aNum[i] + aNum[i]);\n\t\t\t}\n\t\t\treturn numHex;\n\t\t}\n\t} else {\n\t\treturn _this;\n\t}\n}\n\n\n/**\n* JS颜色十六进制转换为rgb或rgba,返回的格式为 rgba(255,255,255,0.5)字符串\n* sHex为传入的十六进制的色值\n* alpha为rgba的透明度\n*/\nfunction colorToRgba(color, alpha = 0.3) {\n\tcolor = rgbToHex(color)\n\t// 十六进制颜色值的正则表达式\n\tvar reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/\n\t/* 16进制颜色转为RGB格式 */\n\tlet sColor = color.toLowerCase()\n\tif (sColor && reg.test(sColor)) {\n\t\tif (sColor.length === 4) {\n\t\t\tvar sColorNew = '#'\n\t\t\tfor (let i = 1; i < 4; i += 1) {\n\t\t\t\tsColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1))\n\t\t\t}\n\t\t\tsColor = sColorNew\n\t\t}\n\t\t// 处理六位的颜色值\n\t\tvar sColorChange = []\n\t\tfor (let i = 1; i < 7; i += 2) {\n\t\t\tsColorChange.push(parseInt('0x' + sColor.slice(i, i + 2)))\n\t\t}\n\t\t// return sColorChange.join(',')\n\t\treturn 'rgba(' + sColorChange.join(',') + ',' + alpha + ')'\n\t} \n\telse {\n\t\treturn sColor\n\t}\n}\n\nexport default {\n\tcolorGradient,\n\thexToRgb,\n\trgbToHex,\n\tcolorToRgba\n}","/**\n * 本算法来源于简书开源代码,详见:https://www.jianshu.com/p/fdbf293d0a85\n * 全局唯一标识符(uuid,Globally Unique Identifier),也称作 uuid(Universally Unique IDentifier) \n * 一般用于多个组件之间,给它一个唯一的标识符,或者v-for循环的时候,如果使用数组的index可能会导致更新列表出现问题\n * 最可能的情况是左滑删除item或者对某条信息流\"不喜欢\"并去掉它的时候,会导致组件内的数据可能出现错乱\n * v-for的时候,推荐使用后端返回的id而不是循环的index\n * @param {Number} len uuid的长度\n * @param {Boolean} firstU 将返回的首字母置为\"u\"\n * @param {Nubmer} radix 生成uuid的基数(意味着返回的字符串都是这个基数),2-二进制,8-八进制,10-十进制,16-十六进制\n */\nfunction guid(len = 32, firstU = true, radix = null) {\n\tlet chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');\n\tlet uuid = [];\n\tradix = radix || chars.length;\n\n\tif (len) {\n\t\t// 如果指定uuid长度,只是取随机的字符,0|x为位运算,能去掉x的小数位,返回整数位\n\t\tfor (let i = 0; i < len; i++) uuid[i] = chars[0 | Math.random() * radix];\n\t} else {\n\t\tlet r;\n\t\t// rfc4122标准要求返回的uuid中,某些位为固定的字符\n\t\tuuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';\n\t\tuuid[14] = '4';\n\n\t\tfor (let i = 0; i < 36; i++) {\n\t\t\tif (!uuid[i]) {\n\t\t\t\tr = 0 | Math.random() * 16;\n\t\t\t\tuuid[i] = chars[(i == 19) ? (r & 0x3) | 0x8 : r];\n\t\t\t}\n\t\t}\n\t}\n\t// 移除第一个字符,并用u替代,因为第一个字符为数值时,该guuid不能用作id或者class\n\tif (firstU) {\n\t\tuuid.shift();\n\t\treturn 'u' + uuid.join('');\n\t} else {\n\t\treturn uuid.join('');\n\t}\n}\n\nexport default guid;\n","// 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供\n// 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)\nlet color = {\n\tprimary: \"#2979ff\",\n\tprimaryDark: \"#2b85e4\",\n\tprimaryDisabled: \"#a0cfff\",\n\tprimaryLight: \"#ecf5ff\",\n\tbgColor: \"#f3f4f6\",\n\t\n\tinfo: \"#909399\",\n\tinfoDark: \"#82848a\",\n\tinfoDisabled: \"#c8c9cc\",\n\tinfoLight: \"#f4f4f5\",\n\t\n\twarning: \"#ff9900\",\n\twarningDark: \"#f29100\",\n\twarningDisabled: \"#fcbd71\",\n\twarningLight: \"#fdf6ec\",\n\t\n\terror: \"#fa3534\",\n\terrorDark: \"#dd6161\",\n\terrorDisabled: \"#fab6b6\",\n\terrorLight: \"#fef0f0\",\n\t\n\tsuccess: \"#19be6b\",\n\tsuccessDark: \"#18b566\",\n\tsuccessDisabled: \"#71d5a1\",\n\tsuccessLight: \"#dbf1e1\",\n\t\n\tmainColor: \"#303133\",\n\tcontentColor: \"#606266\",\n\ttipsColor: \"#909399\",\n\tlightColor: \"#c0c4cc\",\n\tborderColor: \"#e4e7ed\"\n}\n\nexport default color;","let QRCode = {};\n(function () {\n /**\n * 获取单个字符的utf8编码\n * unicode BMP平面约65535个字符\n * @param {num} code\n * return {array}\n */\n function unicodeFormat8(code) {\n // 1 byte\n var c0, c1, c2;\n if (code < 128) {\n return [code];\n // 2 bytes\n } else if (code < 2048) {\n c0 = 192 + (code >> 6);\n c1 = 128 + (code & 63);\n return [c0, c1];\n // 3 bytes\n } else {\n c0 = 224 + (code >> 12);\n c1 = 128 + (code >> 6 & 63);\n c2 = 128 + (code & 63);\n return [c0, c1, c2];\n }\n }\n /**\n * 获取字符串的utf8编码字节串\n * @param {string} string\n * @return {array}\n */\n function getUTF8Bytes(string) {\n var utf8codes = [];\n for (var i = 0; i < string.length; i++) {\n var code = string.charCodeAt(i);\n var utf8 = unicodeFormat8(code);\n for (var j = 0; j < utf8.length; j++) {\n utf8codes.push(utf8[j]);\n }\n }\n return utf8codes;\n }\n /**\n * 二维码算法实现\n * @param {string} data 要编码的信息字符串\n * @param {num} errorCorrectLevel 纠错等级\n */\n function QRCodeAlg(data, errorCorrectLevel) {\n this.typeNumber = -1; //版本\n this.errorCorrectLevel = errorCorrectLevel;\n this.modules = null; //二维矩阵,存放最终结果\n this.moduleCount = 0; //矩阵大小\n this.dataCache = null; //数据缓存\n this.rsBlocks = null; //版本数据信息\n this.totalDataCount = -1; //可使用的数据量\n this.data = data;\n this.utf8bytes = getUTF8Bytes(data);\n this.make();\n }\n QRCodeAlg.prototype = {\n constructor: QRCodeAlg,\n /**\n * 获取二维码矩阵大小\n * @return {num} 矩阵大小\n */\n getModuleCount: function () {\n return this.moduleCount;\n },\n /**\n * 编码\n */\n make: function () {\n this.getRightType();\n this.dataCache = this.createData();\n this.createQrcode();\n },\n /**\n * 设置二位矩阵功能图形\n * @param {bool} test 表示是否在寻找最好掩膜阶段\n * @param {num} maskPattern 掩膜的版本\n */\n makeImpl: function (maskPattern) {\n this.moduleCount = this.typeNumber * 4 + 17;\n this.modules = new Array(this.moduleCount);\n for (var row = 0; row < this.moduleCount; row++) {\n this.modules[row] = new Array(this.moduleCount);\n }\n this.setupPositionProbePattern(0, 0);\n this.setupPositionProbePattern(this.moduleCount - 7, 0);\n this.setupPositionProbePattern(0, this.moduleCount - 7);\n this.setupPositionAdjustPattern();\n this.setupTimingPattern();\n this.setupTypeInfo(true, maskPattern);\n if (this.typeNumber >= 7) {\n this.setupTypeNumber(true);\n }\n this.mapData(this.dataCache, maskPattern);\n },\n /**\n * 设置二维码的位置探测图形\n * @param {num} row 探测图形的中心横坐标\n * @param {num} col 探测图形的中心纵坐标\n */\n setupPositionProbePattern: function (row, col) {\n for (var r = -1; r <= 7; r++) {\n if (row + r <= -1 || this.moduleCount <= row + r) continue;\n for (var c = -1; c <= 7; c++) {\n if (col + c <= -1 || this.moduleCount <= col + c) continue;\n if ((0 <= r && r <= 6 && (c == 0 || c == 6)) || (0 <= c && c <= 6 && (r == 0 || r == 6)) || (2 <= r && r <= 4 && 2 <= c && c <= 4)) {\n this.modules[row + r][col + c] = true;\n } else {\n this.modules[row + r][col + c] = false;\n }\n }\n }\n },\n /**\n * 创建二维码\n * @return {[type]} [description]\n */\n createQrcode: function () {\n var minLostPoint = 0;\n var pattern = 0;\n var bestModules = null;\n for (var i = 0; i < 8; i++) {\n this.makeImpl(i);\n var lostPoint = QRUtil.getLostPoint(this);\n if (i == 0 || minLostPoint > lostPoint) {\n minLostPoint = lostPoint;\n pattern = i;\n bestModules = this.modules;\n }\n }\n this.modules = bestModules;\n this.setupTypeInfo(false, pattern);\n if (this.typeNumber >= 7) {\n this.setupTypeNumber(false);\n }\n },\n /**\n * 设置定位图形\n * @return {[type]} [description]\n */\n setupTimingPattern: function () {\n for (var r = 8; r < this.moduleCount - 8; r++) {\n if (this.modules[r][6] != null) {\n continue;\n }\n this.modules[r][6] = (r % 2 == 0);\n if (this.modules[6][r] != null) {\n continue;\n }\n this.modules[6][r] = (r % 2 == 0);\n }\n },\n /**\n * 设置矫正图形\n * @return {[type]} [description]\n */\n setupPositionAdjustPattern: function () {\n var pos = QRUtil.getPatternPosition(this.typeNumber);\n for (var i = 0; i < pos.length; i++) {\n for (var j = 0; j < pos.length; j++) {\n var row = pos[i];\n var col = pos[j];\n if (this.modules[row][col] != null) {\n continue;\n }\n for (var r = -2; r <= 2; r++) {\n for (var c = -2; c <= 2; c++) {\n if (r == -2 || r == 2 || c == -2 || c == 2 || (r == 0 && c == 0)) {\n this.modules[row + r][col + c] = true;\n } else {\n this.modules[row + r][col + c] = false;\n }\n }\n }\n }\n }\n },\n /**\n * 设置版本信息(7以上版本才有)\n * @param {bool} test 是否处于判断最佳掩膜阶段\n * @return {[type]} [description]\n */\n setupTypeNumber: function (test) {\n var bits = QRUtil.getBCHTypeNumber(this.typeNumber);\n for (var i = 0; i < 18; i++) {\n var mod = (!test && ((bits >> i) & 1) == 1);\n this.modules[Math.floor(i / 3)][i % 3 + this.moduleCount - 8 - 3] = mod;\n this.modules[i % 3 + this.moduleCount - 8 - 3][Math.floor(i / 3)] = mod;\n }\n },\n /**\n * 设置格式信息(纠错等级和掩膜版本)\n * @param {bool} test\n * @param {num} maskPattern 掩膜版本\n * @return {}\n */\n setupTypeInfo: function (test, maskPattern) {\n var data = (QRErrorCorrectLevel[this.errorCorrectLevel] << 3) | maskPattern;\n var bits = QRUtil.getBCHTypeInfo(data);\n // vertical\n for (var i = 0; i < 15; i++) {\n var mod = (!test && ((bits >> i) & 1) == 1);\n if (i < 6) {\n this.modules[i][8] = mod;\n } else if (i < 8) {\n this.modules[i + 1][8] = mod;\n } else {\n this.modules[this.moduleCount - 15 + i][8] = mod;\n }\n // horizontal\n var mod = (!test && ((bits >> i) & 1) == 1);\n if (i < 8) {\n this.modules[8][this.moduleCount - i - 1] = mod;\n } else if (i < 9) {\n this.modules[8][15 - i - 1 + 1] = mod;\n } else {\n this.modules[8][15 - i - 1] = mod;\n }\n }\n // fixed module\n this.modules[this.moduleCount - 8][8] = (!test);\n },\n /**\n * 数据编码\n * @return {[type]} [description]\n */\n createData: function () {\n var buffer = new QRBitBuffer();\n var lengthBits = this.typeNumber > 9 ? 16 : 8;\n buffer.put(4, 4); //添加模式\n buffer.put(this.utf8bytes.length, lengthBits);\n for (var i = 0, l = this.utf8bytes.length; i < l; i++) {\n buffer.put(this.utf8bytes[i], 8);\n }\n if (buffer.length + 4 <= this.totalDataCount * 8) {\n buffer.put(0, 4);\n }\n // padding\n while (buffer.length % 8 != 0) {\n buffer.putBit(false);\n }\n // padding\n while (true) {\n if (buffer.length >= this.totalDataCount * 8) {\n break;\n }\n buffer.put(QRCodeAlg.PAD0, 8);\n if (buffer.length >= this.totalDataCount * 8) {\n break;\n }\n buffer.put(QRCodeAlg.PAD1, 8);\n }\n return this.createBytes(buffer);\n },\n /**\n * 纠错码编码\n * @param {buffer} buffer 数据编码\n * @return {[type]}\n */\n createBytes: function (buffer) {\n var offset = 0;\n var maxDcCount = 0;\n var maxEcCount = 0;\n var length = this.rsBlock.length / 3;\n var rsBlocks = new Array();\n for (var i = 0; i < length; i++) {\n var count = this.rsBlock[i * 3 + 0];\n var totalCount = this.rsBlock[i * 3 + 1];\n var dataCount = this.rsBlock[i * 3 + 2];\n for (var j = 0; j < count; j++) {\n rsBlocks.push([dataCount, totalCount]);\n }\n }\n var dcdata = new Array(rsBlocks.length);\n var ecdata = new Array(rsBlocks.length);\n for (var r = 0; r < rsBlocks.length; r++) {\n var dcCount = rsBlocks[r][0];\n var ecCount = rsBlocks[r][1] - dcCount;\n maxDcCount = Math.max(maxDcCount, dcCount);\n maxEcCount = Math.max(maxEcCount, ecCount);\n dcdata[r] = new Array(dcCount);\n for (var i = 0; i < dcdata[r].length; i++) {\n dcdata[r][i] = 0xff & buffer.buffer[i + offset];\n }\n offset += dcCount;\n var rsPoly = QRUtil.getErrorCorrectPolynomial(ecCount);\n var rawPoly = new QRPolynomial(dcdata[r], rsPoly.getLength() - 1);\n var modPoly = rawPoly.mod(rsPoly);\n ecdata[r] = new Array(rsPoly.getLength() - 1);\n for (var i = 0; i < ecdata[r].length; i++) {\n var modIndex = i + modPoly.getLength() - ecdata[r].length;\n ecdata[r][i] = (modIndex >= 0) ? modPoly.get(modIndex) : 0;\n }\n }\n var data = new Array(this.totalDataCount);\n var index = 0;\n for (var i = 0; i < maxDcCount; i++) {\n for (var r = 0; r < rsBlocks.length; r++) {\n if (i < dcdata[r].length) {\n data[index++] = dcdata[r][i];\n }\n }\n }\n for (var i = 0; i < maxEcCount; i++) {\n for (var r = 0; r < rsBlocks.length; r++) {\n if (i < ecdata[r].length) {\n data[index++] = ecdata[r][i];\n }\n }\n }\n return data;\n\n },\n /**\n * 布置模块,构建最终信息\n * @param {} data\n * @param {} maskPattern\n * @return {}\n */\n mapData: function (data, maskPattern) {\n var inc = -1;\n var row = this.moduleCount - 1;\n var bitIndex = 7;\n var byteIndex = 0;\n for (var col = this.moduleCount - 1; col > 0; col -= 2) {\n if (col == 6) col--;\n while (true) {\n for (var c = 0; c < 2; c++) {\n if (this.modules[row][col - c] == null) {\n var dark = false;\n if (byteIndex < data.length) {\n dark = (((data[byteIndex] >>> bitIndex) & 1) == 1);\n }\n var mask = QRUtil.getMask(maskPattern, row, col - c);\n if (mask) {\n dark = !dark;\n }\n this.modules[row][col - c] = dark;\n bitIndex--;\n if (bitIndex == -1) {\n byteIndex++;\n bitIndex = 7;\n }\n }\n }\n row += inc;\n if (row < 0 || this.moduleCount <= row) {\n row -= inc;\n inc = -inc;\n break;\n }\n }\n }\n }\n };\n /**\n * 填充字段\n */\n QRCodeAlg.PAD0 = 0xEC;\n QRCodeAlg.PAD1 = 0x11;\n //---------------------------------------------------------------------\n // 纠错等级对应的编码\n //---------------------------------------------------------------------\n var QRErrorCorrectLevel = [1, 0, 3, 2];\n //---------------------------------------------------------------------\n // 掩膜版本\n //---------------------------------------------------------------------\n var QRMaskPattern = {\n PATTERN000: 0,\n PATTERN001: 1,\n PATTERN010: 2,\n PATTERN011: 3,\n PATTERN100: 4,\n PATTERN101: 5,\n PATTERN110: 6,\n PATTERN111: 7\n };\n //---------------------------------------------------------------------\n // 工具类\n //---------------------------------------------------------------------\n var QRUtil = {\n /*\n 每个版本矫正图形的位置\n */\n PATTERN_POSITION_TABLE: [\n [],\n [6, 18],\n [6, 22],\n [6, 26],\n [6, 30],\n [6, 34],\n [6, 22, 38],\n [6, 24, 42],\n [6, 26, 46],\n [6, 28, 50],\n [6, 30, 54],\n [6, 32, 58],\n [6, 34, 62],\n [6, 26, 46, 66],\n [6, 26, 48, 70],\n [6, 26, 50, 74],\n [6, 30, 54, 78],\n [6, 30, 56, 82],\n [6, 30, 58, 86],\n [6, 34, 62, 90],\n [6, 28, 50, 72, 94],\n [6, 26, 50, 74, 98],\n [6, 30, 54, 78, 102],\n [6, 28, 54, 80, 106],\n [6, 32, 58, 84, 110],\n [6, 30, 58, 86, 114],\n [6, 34, 62, 90, 118],\n [6, 26, 50, 74, 98, 122],\n [6, 30, 54, 78, 102, 126],\n [6, 26, 52, 78, 104, 130],\n [6, 30, 56, 82, 108, 134],\n [6, 34, 60, 86, 112, 138],\n [6, 30, 58, 86, 114, 142],\n [6, 34, 62, 90, 118, 146],\n [6, 30, 54, 78, 102, 126, 150],\n [6, 24, 50, 76, 102, 128, 154],\n [6, 28, 54, 80, 106, 132, 158],\n [6, 32, 58, 84, 110, 136, 162],\n [6, 26, 54, 82, 110, 138, 166],\n [6, 30, 58, 86, 114, 142, 170]\n ],\n G15: (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0),\n G18: (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0),\n G15_MASK: (1 << 14) | (1 << 12) | (1 << 10) | (1 << 4) | (1 << 1),\n /*\n BCH编码格式信息\n */\n getBCHTypeInfo: function (data) {\n var d = data << 10;\n while (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G15) >= 0) {\n d ^= (QRUtil.G15 << (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G15)));\n }\n return ((data << 10) | d) ^ QRUtil.G15_MASK;\n },\n /*\n BCH编码版本信息\n */\n getBCHTypeNumber: function (data) {\n var d = data << 12;\n while (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G18) >= 0) {\n d ^= (QRUtil.G18 << (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G18)));\n }\n return (data << 12) | d;\n },\n /*\n 获取BCH位信息\n */\n getBCHDigit: function (data) {\n var digit = 0;\n while (data != 0) {\n digit++;\n data >>>= 1;\n }\n return digit;\n },\n /*\n 获取版本对应的矫正图形位置\n */\n getPatternPosition: function (typeNumber) {\n return QRUtil.PATTERN_POSITION_TABLE[typeNumber - 1];\n },\n /*\n 掩膜算法\n */\n getMask: function (maskPattern, i, j) {\n switch (maskPattern) {\n case QRMaskPattern.PATTERN000:\n return (i + j) % 2 == 0;\n case QRMaskPattern.PATTERN001:\n return i % 2 == 0;\n case QRMaskPattern.PATTERN010:\n return j % 3 == 0;\n case QRMaskPattern.PATTERN011:\n return (i + j) % 3 == 0;\n case QRMaskPattern.PATTERN100:\n return (Math.floor(i / 2) + Math.floor(j / 3)) % 2 == 0;\n case QRMaskPattern.PATTERN101:\n return (i * j) % 2 + (i * j) % 3 == 0;\n case QRMaskPattern.PATTERN110:\n return ((i * j) % 2 + (i * j) % 3) % 2 == 0;\n case QRMaskPattern.PATTERN111:\n return ((i * j) % 3 + (i + j) % 2) % 2 == 0;\n default:\n throw new Error(\"bad maskPattern:\" + maskPattern);\n }\n },\n /*\n 获取RS的纠错多项式\n */\n getErrorCorrectPolynomial: function (errorCorrectLength) {\n var a = new QRPolynomial([1], 0);\n for (var i = 0; i < errorCorrectLength; i++) {\n a = a.multiply(new QRPolynomial([1, QRMath.gexp(i)], 0));\n }\n return a;\n },\n /*\n 获取评价\n */\n getLostPoint: function (qrCode) {\n var moduleCount = qrCode.getModuleCount(),\n lostPoint = 0,\n darkCount = 0;\n for (var row = 0; row < moduleCount; row++) {\n var sameCount = 0;\n var head = qrCode.modules[row][0];\n for (var col = 0; col < moduleCount; col++) {\n var current = qrCode.modules[row][col];\n //level 3 评价\n if (col < moduleCount - 6) {\n if (current && !qrCode.modules[row][col + 1] && qrCode.modules[row][col + 2] && qrCode.modules[row][col + 3] && qrCode.modules[row][col + 4] && !qrCode.modules[row][col + 5] && qrCode.modules[row][col + 6]) {\n if (col < moduleCount - 10) {\n if (qrCode.modules[row][col + 7] && qrCode.modules[row][col + 8] && qrCode.modules[row][col + 9] && qrCode.modules[row][col + 10]) {\n lostPoint += 40;\n }\n } else if (col > 3) {\n if (qrCode.modules[row][col - 1] && qrCode.modules[row][col - 2] && qrCode.modules[row][col - 3] && qrCode.modules[row][col - 4]) {\n lostPoint += 40;\n }\n }\n }\n }\n //level 2 评价\n if ((row < moduleCount - 1) && (col < moduleCount - 1)) {\n var count = 0;\n if (current) count++;\n if (qrCode.modules[row + 1][col]) count++;\n if (qrCode.modules[row][col + 1]) count++;\n if (qrCode.modules[row + 1][col + 1]) count++;\n if (count == 0 || count == 4) {\n lostPoint += 3;\n }\n }\n //level 1 评价\n if (head ^ current) {\n sameCount++;\n } else {\n head = current;\n if (sameCount >= 5) {\n lostPoint += (3 + sameCount - 5);\n }\n sameCount = 1;\n }\n //level 4 评价\n if (current) {\n darkCount++;\n }\n }\n }\n for (var col = 0; col < moduleCount; col++) {\n var sameCount = 0;\n var head = qrCode.modules[0][col];\n for (var row = 0; row < moduleCount; row++) {\n var current = qrCode.modules[row][col];\n //level 3 评价\n if (row < moduleCount - 6) {\n if (current && !qrCode.modules[row + 1][col] && qrCode.modules[row + 2][col] && qrCode.modules[row + 3][col] && qrCode.modules[row + 4][col] && !qrCode.modules[row + 5][col] && qrCode.modules[row + 6][col]) {\n if (row < moduleCount - 10) {\n if (qrCode.modules[row + 7][col] && qrCode.modules[row + 8][col] && qrCode.modules[row + 9][col] && qrCode.modules[row + 10][col]) {\n lostPoint += 40;\n }\n } else if (row > 3) {\n if (qrCode.modules[row - 1][col] && qrCode.modules[row - 2][col] && qrCode.modules[row - 3][col] && qrCode.modules[row - 4][col]) {\n lostPoint += 40;\n }\n }\n }\n }\n //level 1 评价\n if (head ^ current) {\n sameCount++;\n } else {\n head = current;\n if (sameCount >= 5) {\n lostPoint += (3 + sameCount - 5);\n }\n sameCount = 1;\n }\n }\n }\n // LEVEL4\n var ratio = Math.abs(100 * darkCount / moduleCount / moduleCount - 50) / 5;\n lostPoint += ratio * 10;\n return lostPoint;\n }\n\n };\n //---------------------------------------------------------------------\n // QRMath使用的数学工具\n //---------------------------------------------------------------------\n var QRMath = {\n /*\n 将n转化为a^m\n */\n glog: function (n) {\n if (n < 1) {\n throw new Error(\"glog(\" + n + \")\");\n }\n return QRMath.LOG_TABLE[n];\n },\n /*\n 将a^m转化为n\n */\n gexp: function (n) {\n while (n < 0) {\n n += 255;\n }\n while (n >= 256) {\n n -= 255;\n }\n return QRMath.EXP_TABLE[n];\n },\n EXP_TABLE: new Array(256),\n LOG_TABLE: new Array(256)\n\n };\n for (var i = 0; i < 8; i++) {\n QRMath.EXP_TABLE[i] = 1 << i;\n }\n for (var i = 8; i < 256; i++) {\n QRMath.EXP_TABLE[i] = QRMath.EXP_TABLE[i - 4] ^ QRMath.EXP_TABLE[i - 5] ^ QRMath.EXP_TABLE[i - 6] ^ QRMath.EXP_TABLE[i - 8];\n }\n for (var i = 0; i < 255; i++) {\n QRMath.LOG_TABLE[QRMath.EXP_TABLE[i]] = i;\n }\n //---------------------------------------------------------------------\n // QRPolynomial 多项式\n //---------------------------------------------------------------------\n /**\n * 多项式类\n * @param {Array} num 系数\n * @param {num} shift a^shift\n */\n function QRPolynomial(num, shift) {\n if (num.length == undefined) {\n throw new Error(num.length + \"/\" + shift);\n }\n var offset = 0;\n while (offset < num.length && num[offset] == 0) {\n offset++;\n }\n this.num = new Array(num.length - offset + shift);\n for (var i = 0; i < num.length - offset; i++) {\n this.num[i] = num[i + offset];\n }\n }\n QRPolynomial.prototype = {\n get: function (index) {\n return this.num[index];\n },\n getLength: function () {\n return this.num.length;\n },\n /**\n * 多项式乘法\n * @param {QRPolynomial} e 被乘多项式\n * @return {[type]} [description]\n */\n multiply: function (e) {\n var num = new Array(this.getLength() + e.getLength() - 1);\n for (var i = 0; i < this.getLength(); i++) {\n for (var j = 0; j < e.getLength(); j++) {\n num[i + j] ^= QRMath.gexp(QRMath.glog(this.get(i)) + QRMath.glog(e.get(j)));\n }\n }\n return new QRPolynomial(num, 0);\n },\n /**\n * 多项式模运算\n * @param {QRPolynomial} e 模多项式\n * @return {}\n */\n mod: function (e) {\n var tl = this.getLength(),\n el = e.getLength();\n if (tl - el < 0) {\n return this;\n }\n var num = new Array(tl);\n for (var i = 0; i < tl; i++) {\n num[i] = this.get(i);\n }\n while (num.length >= el) {\n var ratio = QRMath.glog(num[0]) - QRMath.glog(e.get(0));\n\n for (var i = 0; i < e.getLength(); i++) {\n num[i] ^= QRMath.gexp(QRMath.glog(e.get(i)) + ratio);\n }\n while (num[0] == 0) {\n num.shift();\n }\n }\n return new QRPolynomial(num, 0);\n }\n };\n\n //---------------------------------------------------------------------\n // RS_BLOCK_TABLE\n //---------------------------------------------------------------------\n /*\n 二维码各个版本信息[块数, 每块中的数据块数, 每块中的信息块数]\n */\n var RS_BLOCK_TABLE = [\n // L\n // M\n // Q\n // H\n // 1\n [1, 26, 19],\n [1, 26, 16],\n [1, 26, 13],\n [1, 26, 9],\n\n // 2\n [1, 44, 34],\n [1, 44, 28],\n [1, 44, 22],\n [1, 44, 16],\n\n // 3\n [1, 70, 55],\n [1, 70, 44],\n [2, 35, 17],\n [2, 35, 13],\n\n // 4\n [1, 100, 80],\n [2, 50, 32],\n [2, 50, 24],\n [4, 25, 9],\n\n // 5\n [1, 134, 108],\n [2, 67, 43],\n [2, 33, 15, 2, 34, 16],\n [2, 33, 11, 2, 34, 12],\n\n // 6\n [2, 86, 68],\n [4, 43, 27],\n [4, 43, 19],\n [4, 43, 15],\n\n // 7\n [2, 98, 78],\n [4, 49, 31],\n [2, 32, 14, 4, 33, 15],\n [4, 39, 13, 1, 40, 14],\n\n // 8\n [2, 121, 97],\n [2, 60, 38, 2, 61, 39],\n [4, 40, 18, 2, 41, 19],\n [4, 40, 14, 2, 41, 15],\n\n // 9\n [2, 146, 116],\n [3, 58, 36, 2, 59, 37],\n [4, 36, 16, 4, 37, 17],\n [4, 36, 12, 4, 37, 13],\n\n // 10\n [2, 86, 68, 2, 87, 69],\n [4, 69, 43, 1, 70, 44],\n [6, 43, 19, 2, 44, 20],\n [6, 43, 15, 2, 44, 16],\n\n // 11\n [4, 101, 81],\n [1, 80, 50, 4, 81, 51],\n [4, 50, 22, 4, 51, 23],\n [3, 36, 12, 8, 37, 13],\n\n // 12\n [2, 116, 92, 2, 117, 93],\n [6, 58, 36, 2, 59, 37],\n [4, 46, 20, 6, 47, 21],\n [7, 42, 14, 4, 43, 15],\n\n // 13\n [4, 133, 107],\n [8, 59, 37, 1, 60, 38],\n [8, 44, 20, 4, 45, 21],\n [12, 33, 11, 4, 34, 12],\n\n // 14\n [3, 145, 115, 1, 146, 116],\n [4, 64, 40, 5, 65, 41],\n [11, 36, 16, 5, 37, 17],\n [11, 36, 12, 5, 37, 13],\n\n // 15\n [5, 109, 87, 1, 110, 88],\n [5, 65, 41, 5, 66, 42],\n [5, 54, 24, 7, 55, 25],\n [11, 36, 12],\n\n // 16\n [5, 122, 98, 1, 123, 99],\n [7, 73, 45, 3, 74, 46],\n [15, 43, 19, 2, 44, 20],\n [3, 45, 15, 13, 46, 16],\n\n // 17\n [1, 135, 107, 5, 136, 108],\n [10, 74, 46, 1, 75, 47],\n [1, 50, 22, 15, 51, 23],\n [2, 42, 14, 17, 43, 15],\n\n // 18\n [5, 150, 120, 1, 151, 121],\n [9, 69, 43, 4, 70, 44],\n [17, 50, 22, 1, 51, 23],\n [2, 42, 14, 19, 43, 15],\n\n // 19\n [3, 141, 113, 4, 142, 114],\n [3, 70, 44, 11, 71, 45],\n [17, 47, 21, 4, 48, 22],\n [9, 39, 13, 16, 40, 14],\n\n // 20\n [3, 135, 107, 5, 136, 108],\n [3, 67, 41, 13, 68, 42],\n [15, 54, 24, 5, 55, 25],\n [15, 43, 15, 10, 44, 16],\n\n // 21\n [4, 144, 116, 4, 145, 117],\n [17, 68, 42],\n [17, 50, 22, 6, 51, 23],\n [19, 46, 16, 6, 47, 17],\n\n // 22\n [2, 139, 111, 7, 140, 112],\n [17, 74, 46],\n [7, 54, 24, 16, 55, 25],\n [34, 37, 13],\n\n // 23\n [4, 151, 121, 5, 152, 122],\n [4, 75, 47, 14, 76, 48],\n [11, 54, 24, 14, 55, 25],\n [16, 45, 15, 14, 46, 16],\n\n // 24\n [6, 147, 117, 4, 148, 118],\n [6, 73, 45, 14, 74, 46],\n [11, 54, 24, 16, 55, 25],\n [30, 46, 16, 2, 47, 17],\n\n // 25\n [8, 132, 106, 4, 133, 107],\n [8, 75, 47, 13, 76, 48],\n [7, 54, 24, 22, 55, 25],\n [22, 45, 15, 13, 46, 16],\n\n // 26\n [10, 142, 114, 2, 143, 115],\n [19, 74, 46, 4, 75, 47],\n [28, 50, 22, 6, 51, 23],\n [33, 46, 16, 4, 47, 17],\n\n // 27\n [8, 152, 122, 4, 153, 123],\n [22, 73, 45, 3, 74, 46],\n [8, 53, 23, 26, 54, 24],\n [12, 45, 15, 28, 46, 16],\n\n // 28\n [3, 147, 117, 10, 148, 118],\n [3, 73, 45, 23, 74, 46],\n [4, 54, 24, 31, 55, 25],\n [11, 45, 15, 31, 46, 16],\n\n // 29\n [7, 146, 116, 7, 147, 117],\n [21, 73, 45, 7, 74, 46],\n [1, 53, 23, 37, 54, 24],\n [19, 45, 15, 26, 46, 16],\n\n // 30\n [5, 145, 115, 10, 146, 116],\n [19, 75, 47, 10, 76, 48],\n [15, 54, 24, 25, 55, 25],\n [23, 45, 15, 25, 46, 16],\n\n // 31\n [13, 145, 115, 3, 146, 116],\n [2, 74, 46, 29, 75, 47],\n [42, 54, 24, 1, 55, 25],\n [23, 45, 15, 28, 46, 16],\n\n // 32\n [17, 145, 115],\n [10, 74, 46, 23, 75, 47],\n [10, 54, 24, 35, 55, 25],\n [19, 45, 15, 35, 46, 16],\n\n // 33\n [17, 145, 115, 1, 146, 116],\n [14, 74, 46, 21, 75, 47],\n [29, 54, 24, 19, 55, 25],\n [11, 45, 15, 46, 46, 16],\n\n // 34\n [13, 145, 115, 6, 146, 116],\n [14, 74, 46, 23, 75, 47],\n [44, 54, 24, 7, 55, 25],\n [59, 46, 16, 1, 47, 17],\n\n // 35\n [12, 151, 121, 7, 152, 122],\n [12, 75, 47, 26, 76, 48],\n [39, 54, 24, 14, 55, 25],\n [22, 45, 15, 41, 46, 16],\n\n // 36\n [6, 151, 121, 14, 152, 122],\n [6, 75, 47, 34, 76, 48],\n [46, 54, 24, 10, 55, 25],\n [2, 45, 15, 64, 46, 16],\n\n // 37\n [17, 152, 122, 4, 153, 123],\n [29, 74, 46, 14, 75, 47],\n [49, 54, 24, 10, 55, 25],\n [24, 45, 15, 46, 46, 16],\n\n // 38\n [4, 152, 122, 18, 153, 123],\n [13, 74, 46, 32, 75, 47],\n [48, 54, 24, 14, 55, 25],\n [42, 45, 15, 32, 46, 16],\n\n // 39\n [20, 147, 117, 4, 148, 118],\n [40, 75, 47, 7, 76, 48],\n [43, 54, 24, 22, 55, 25],\n [10, 45, 15, 67, 46, 16],\n\n // 40\n [19, 148, 118, 6, 149, 119],\n [18, 75, 47, 31, 76, 48],\n [34, 54, 24, 34, 55, 25],\n [20, 45, 15, 61, 46, 16]\n ];\n\n /**\n * 根据数据获取对应版本\n * @return {[type]} [description]\n */\n QRCodeAlg.prototype.getRightType = function () {\n for (var typeNumber = 1; typeNumber < 41; typeNumber++) {\n var rsBlock = RS_BLOCK_TABLE[(typeNumber - 1) * 4 + this.errorCorrectLevel];\n if (rsBlock == undefined) {\n throw new Error(\"bad rs block @ typeNumber:\" + typeNumber + \"/errorCorrectLevel:\" + this.errorCorrectLevel);\n }\n var length = rsBlock.length / 3;\n var totalDataCount = 0;\n for (var i = 0; i < length; i++) {\n var count = rsBlock[i * 3 + 0];\n var dataCount = rsBlock[i * 3 + 2];\n totalDataCount += dataCount * count;\n }\n var lengthBytes = typeNumber > 9 ? 2 : 1;\n if (this.utf8bytes.length + lengthBytes < totalDataCount || typeNumber == 40) {\n this.typeNumber = typeNumber;\n this.rsBlock = rsBlock;\n this.totalDataCount = totalDataCount;\n break;\n }\n }\n };\n\n //---------------------------------------------------------------------\n // QRBitBuffer\n //---------------------------------------------------------------------\n function QRBitBuffer() {\n this.buffer = new Array();\n this.length = 0;\n }\n QRBitBuffer.prototype = {\n get: function (index) {\n var bufIndex = Math.floor(index / 8);\n return ((this.buffer[bufIndex] >>> (7 - index % 8)) & 1);\n },\n put: function (num, length) {\n for (var i = 0; i < length; i++) {\n this.putBit(((num >>> (length - i - 1)) & 1));\n }\n },\n putBit: function (bit) {\n var bufIndex = Math.floor(this.length / 8);\n if (this.buffer.length <= bufIndex) {\n this.buffer.push(0);\n }\n if (bit) {\n this.buffer[bufIndex] |= (0x80 >>> (this.length % 8));\n }\n this.length++;\n }\n };\n\n\n\n // xzedit\n let qrcodeAlgObjCache = [];\n /**\n * 二维码构造函数,主要用于绘制\n * @param {参数列表} opt 传递参数\n * @return {}\n */\n QRCode = function (opt) {\n //设置默认参数\n this.options = {\n text: '',\n size: 256,\n correctLevel: 3,\n background: '#ffffff',\n foreground: '#000000',\n pdground: '#000000',\n image: '',\n imageSize: 30,\n canvasId: opt.canvasId,\n context: opt.context,\n usingComponents: opt.usingComponents,\n showLoading: opt.showLoading,\n loadingText: opt.loadingText,\n };\n if (typeof opt === 'string') { // 只编码ASCII字符串\n opt = {\n text: opt\n };\n }\n if (opt) {\n for (var i in opt) {\n this.options[i] = opt[i];\n }\n }\n //使用QRCodeAlg创建二维码结构\n var qrCodeAlg = null;\n for (var i = 0, l = qrcodeAlgObjCache.length; i < l; i++) {\n if (qrcodeAlgObjCache[i].text == this.options.text && qrcodeAlgObjCache[i].text.correctLevel == this.options.correctLevel) {\n qrCodeAlg = qrcodeAlgObjCache[i].obj;\n break;\n }\n }\n if (i == l) {\n qrCodeAlg = new QRCodeAlg(this.options.text, this.options.correctLevel);\n qrcodeAlgObjCache.push({\n text: this.options.text,\n correctLevel: this.options.correctLevel,\n obj: qrCodeAlg\n });\n }\n /**\n * 计算矩阵点的前景色\n * @param {Obj} config\n * @param {Number} config.row 点x坐标\n * @param {Number} config.col 点y坐标\n * @param {Number} config.count 矩阵大小\n * @param {Number} config.options 组件的options\n * @return {String}\n */\n let getForeGround = function (config) {\n var options = config.options;\n if (options.pdground && (\n (config.row > 1 && config.row < 5 && config.col > 1 && config.col < 5) ||\n (config.row > (config.count - 6) && config.row < (config.count - 2) && config.col > 1 && config.col < 5) ||\n (config.row > 1 && config.row < 5 && config.col > (config.count - 6) && config.col < (config.count - 2))\n )) {\n return options.pdground;\n }\n return options.foreground;\n }\n // 创建canvas\n let createCanvas = function (options) {\n if (options.showLoading) {\n uni.showLoading({\n title: options.loadingText,\n mask: true\n });\n }\n var ctx = uni.createCanvasContext(options.canvasId, options.context);\n var count = qrCodeAlg.getModuleCount();\n var ratioSize = options.size;\n var ratioImgSize = options.imageSize;\n //计算每个点的长宽\n var tileW = (ratioSize / count).toPrecision(4);\n var tileH = (ratioSize / count).toPrecision(4);\n //绘制\n for (var row = 0; row < count; row++) {\n for (var col = 0; col < count; col++) {\n var w = (Math.ceil((col + 1) * tileW) - Math.floor(col * tileW));\n var h = (Math.ceil((row + 1) * tileW) - Math.floor(row * tileW));\n var foreground = getForeGround({\n row: row,\n col: col,\n count: count,\n options: options\n });\n ctx.setFillStyle(qrCodeAlg.modules[row][col] ? foreground : options.background);\n ctx.fillRect(Math.round(col * tileW), Math.round(row * tileH), w, h);\n }\n }\n if (options.image) {\n var x = Number(((ratioSize - ratioImgSize) / 2).toFixed(2));\n var y = Number(((ratioSize - ratioImgSize) / 2).toFixed(2));\n drawRoundedRect(ctx, x, y, ratioImgSize, ratioImgSize, 2, 6, true, true)\n ctx.drawImage(options.image, x, y, ratioImgSize, ratioImgSize);\n // 画圆角矩形\n function drawRoundedRect(ctxi, x, y, width, height, r, lineWidth, fill, stroke) {\n ctxi.setLineWidth(lineWidth);\n ctxi.setFillStyle(options.background);\n ctxi.setStrokeStyle(options.background);\n ctxi.beginPath(); // draw top and top right corner \n ctxi.moveTo(x + r, y);\n ctxi.arcTo(x + width, y, x + width, y + r, r); // draw right side and bottom right corner \n ctxi.arcTo(x + width, y + height, x + width - r, y + height, r); // draw bottom and bottom left corner \n ctxi.arcTo(x, y + height, x, y + height - r, r); // draw left and top left corner \n ctxi.arcTo(x, y, x + r, y, r);\n ctxi.closePath();\n if (fill) {\n ctxi.fill();\n }\n if (stroke) {\n ctxi.stroke();\n }\n }\n }\n setTimeout(() => {\n ctx.draw(true, () => {\n // 保存到临时区域\n setTimeout(() => {\n uni.canvasToTempFilePath({\n width: options.width,\n height: options.height,\n destWidth: options.width,\n destHeight: options.height,\n canvasId: options.canvasId,\n quality: Number(1),\n success: function (res) {\n if (options.cbResult) {\n options.cbResult(res.tempFilePath)\n }\n },\n fail: function (res) {\n if (options.cbResult) {\n options.cbResult(res)\n }\n },\n complete: function () {\n if (options.showLoading){\n uni.hideLoading();\n }\n },\n }, options.context);\n }, options.text.length + 100);\n });\n }, options.usingComponents ? 0 : 150);\n }\n createCanvas(this.options);\n // 空判定\n let empty = function (v) {\n let tp = typeof v,\n rt = false;\n if (tp == \"number\" && String(v) == \"\") {\n rt = true\n } else if (tp == \"undefined\") {\n rt = true\n } else if (tp == \"object\") {\n if (JSON.stringify(v) == \"{}\" || JSON.stringify(v) == \"[]\" || v == null) rt = true\n } else if (tp == \"string\") {\n if (v == \"\" || v == \"undefined\" || v == \"null\" || v == \"{}\" || v == \"[]\") rt = true\n } else if (tp == \"function\") {\n rt = false\n }\n return rt\n }\n };\n QRCode.prototype.clear = function (fn) {\n var ctx = uni.createCanvasContext(this.options.canvasId, this.options.context)\n ctx.clearRect(0, 0, this.options.size, this.options.size)\n ctx.draw(false, () => {\n if (fn) {\n fn()\n }\n })\n };\n})()\n\nexport default QRCode","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","/**\n * 根据主题type值,获取对应的图标\n * @param String type 主题名称,primary|info|error|warning|success\n * @param String fill 是否使用fill填充实体的图标 \n */\nfunction type2icon(type = 'success', fill = false) {\n\t// 如果非预置值,默认为success\n\tif (['primary', 'info', 'error', 'warning', 'success'].indexOf(type) == -1) type = 'success';\n\tlet iconName = '';\n\t// 目前(2019-12-12),info和primary使用同一个图标\n\tswitch (type) {\n\t\tcase 'primary':\n\t\t\ticonName = 'info-circle';\n\t\t\tbreak;\n\t\tcase 'info':\n\t\t\ticonName = 'info-circle';\n\t\t\tbreak;\n\t\tcase 'error':\n\t\t\ticonName = 'close-circle';\n\t\t\tbreak;\n\t\tcase 'warning':\n\t\t\ticonName = 'error-circle';\n\t\t\tbreak;\n\t\tcase 'success':\n\t\t\ticonName = 'checkmark-circle';\n\t\t\tbreak;\n\t\tdefault:\n\t\t\ticonName = 'checkmark-circle';\n\t}\n\t// 是否是实体类型,加上-fill,在icon组件库中,实体的类名是后面加-fill的\n\tif (fill) iconName += '-fill';\n\treturn iconName;\n}\n\nexport default type2icon\n","// 打乱数组\nfunction randomArray(array = []) {\n\t// 原理是sort排序,Math.random()产生0<= x < 1之间的数,会导致x-0.05大于或者小于0\n\treturn array.sort(() => Math.random() - 0.5);\n}\n\nexport default randomArray\n","import validation from './test.js';\n\n// 添加单位,如果有rpx,%,px等单位结尾或者值为auto,直接返回,否则加上rpx单位结尾\nexport default function addUnit(value = 'auto', unit = 'rpx') {\n value = String(value);\n\t// 用uView内置验证规则中的number判断是否为数值\n return validation.number(value) ? `${value}${unit}` : value;\n}","function random(min, max) {\n\tif (min >= 0 && max > 0 && max >= min) {\n\t\tlet gab = max - min + 1;\n\t\treturn Math.floor(Math.random() * gab + min);\n\t} else {\n\t\treturn 0;\n\t}\n}\n\nexport default random;\n","function trim(str, pos = 'both') {\n\tif (pos == 'both') {\n\t\treturn str.replace(/^\\s+|\\s+$/g, \"\");\n\t} else if (pos == \"left\") {\n\t\treturn str.replace(/^\\s*/, '');\n\t} else if (pos == 'right') {\n\t\treturn str.replace(/(\\s*$)/g, \"\");\n\t} else if (pos == 'all') {\n\t\treturn str.replace(/\\s+/g, \"\");\n\t} else {\n\t\treturn str;\n\t}\n}\n\nexport default trim\n","function toast(title, duration = 1500) {\n\tuni.showToast({\n\t\ttitle: title,\n\t\ticon: 'none',\n\t\tduration: duration\n\t})\n}\n\nexport default toast\n","// 获取父组件的参数,因为支付宝小程序不支持provide/inject的写法\n// this.$parent在非H5中,可以准确获取到父组件,但是在H5中,需要多次this.$parent.$parent.xxx\nexport default function getParent(name, keys) {\n\tlet parent = this.$parent;\n\t// 通过while历遍,这里主要是为了H5需要多层解析的问题\n\twhile (parent) {\n\t\t// 父组件\n\t\tif (parent.$options.name !== name) {\n\t\t\t// 如果组件的name不相等,继续上一级寻找\n\t\t\tparent = parent.$parent;\n\t\t} else {\n\t\t\tlet data = {};\n\t\t\t// 判断keys是否数组,如果传过来的是一个数组,那么直接使用数组元素值当做键值去父组件寻找\n\t\t\tif(Array.isArray(keys)) {\n\t\t\t\tkeys.map(val => {\n\t\t\t\t\tdata[val] = parent[val] ? parent[val] : '';\n\t\t\t\t})\n\t\t\t} else {\n\t\t\t\t// 历遍传过来的对象参数\n\t\t\t\tfor(let i in keys) {\n\t\t\t\t\t// 如果子组件有此值则用,无此值则用父组件的值\n\t\t\t\t\t// 判断是否空数组,如果是,则用父组件的值,否则用子组件的值\n\t\t\t\t\tif(Array.isArray(keys[i])) {\n\t\t\t\t\t\tif(keys[i].length) {\n\t\t\t\t\t\t\tdata[i] = keys[i];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tdata[i] = parent[i];\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if(keys[i].constructor === Object) {\n\t\t\t\t\t\t// 判断是否对象,如果是对象,且有属性,那么使用子组件的值,否则使用父组件的值\n\t\t\t\t\t\tif(Object.keys(keys[i]).length) {\n\t\t\t\t\t\t\tdata[i] = keys[i];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tdata[i] = parent[i];\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// 只要子组件有传值,即使是false值,也是“传值”了,也需要覆盖父组件的同名参数\n\t\t\t\t\t\tdata[i] = (keys[i] || keys[i] === false) ? keys[i] : parent[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn data;\n\t\t}\n\t}\n\n\treturn {};\n}","// 获取父组件的参数,因为支付宝小程序不支持provide/inject的写法\n// this.$parent在非H5中,可以准确获取到父组件,但是在H5中,需要多次this.$parent.$parent.xxx\n// 这里默认值等于undefined有它的含义,因为最顶层元素(组件)的$parent就是undefined,意味着不传name\n// 值(默认为undefined),就是查找最顶层的$parent\nexport default function $parent(name = undefined) {\n\tlet parent = this.$parent;\n\t// 通过while历遍,这里主要是为了H5需要多层解析的问题\n\twhile (parent) {\n\t\t// 父组件\n\t\tif (parent.$options && parent.$options.name !== name) {\n\t\t\t// 如果组件的name不相等,继续上一级寻找\n\t\t\tparent = parent.$parent;\n\t\t} else {\n\t\t\treturn parent;\n\t\t}\n\t}\n\treturn false;\n}","export function os() {\n\treturn uni.getSystemInfoSync().platform;\n};\n\nexport function sys() {\n\treturn uni.getSystemInfoSync();\n}\n\n\n","let timeout = null;\n\n/**\n * 防抖原理:一定时间内,只有最后一次操作,再过wait毫秒后才执行函数\n * \n * @param {Function} func 要执行的回调函数 \n * @param {Number} wait 延时的时间\n * @param {Boolean} immediate 是否立即执行 \n * @return null\n */\nfunction debounce(func, wait = 500, immediate = false) {\n\t// 清除定时器\n\tif (timeout !== null) clearTimeout(timeout);\n\t// 立即执行,此类情况一般用不到\n\tif (immediate) {\n\t\tvar callNow = !timeout;\n\t\ttimeout = setTimeout(function() {\n\t\t\ttimeout = null;\n\t\t}, wait);\n\t\tif (callNow) typeof func === 'function' && func();\n\t} else {\n\t\t// 设置定时器,当最后一次操作后,timeout不会再被清除,所以在延时wait毫秒后执行func回调方法\n\t\ttimeout = setTimeout(function() {\n\t\t\ttypeof func === 'function' && func();\n\t\t}, wait);\n\t}\n}\n\nexport default debounce\n","let timer, flag;\n/**\n * 节流原理:在一定时间内,只能触发一次\n * \n * @param {Function} func 要执行的回调函数 \n * @param {Number} wait 延时的时间\n * @param {Boolean} immediate 是否立即执行\n * @return null\n */\nfunction throttle(func, wait = 500, immediate = true) {\n\tif (immediate) {\n\t\tif (!flag) {\n\t\t\tflag = true;\n\t\t\t// 如果是立即执行,则在wait毫秒内开始时执行\n\t\t\ttypeof func === 'function' && func();\n\t\t\ttimer = setTimeout(() => {\n\t\t\t\tflag = false;\n\t\t\t}, wait);\n\t\t}\n\t} else {\n\t\tif (!flag) {\n\t\t\tflag = true\n\t\t\t// 如果是非立即执行,则在wait毫秒内的结束处执行\n\t\t\ttimer = setTimeout(() => {\n\t\t\t\tflag = false\n\t\t\t\ttypeof func === 'function' && func();\n\t\t\t}, wait);\n\t\t}\n\t\t\n\t}\n};\nexport default throttle\n","// 此版本发布于2020-03-17\nlet version = '1.8.4';\n\nexport default {\n\tv: version,\n\tversion: version,\n\t// 主题名称\n\ttype: [\n\t\t'primary',\n\t\t'success',\n\t\t'info',\n\t\t'error',\n\t\t'warning'\n\t]\n}","// uniapp在H5中各API的z-index值如下:\n/**\n * actionsheet: 999\n * modal: 999\n * navigate: 998\n * tabbar: 998\n * toast: 999\n */\n\nexport default {\n\ttoast: 10090,\n\tnoNetwork: 10080,\n\t// popup包含popup,actionsheet,keyboard,picker的值\n\tpopup: 10075,\n\tmask: 10070,\n\tnavbar: 980,\n\ttopTips: 975,\n\tsticky: 970,\n\tindexListSticky: 965,\n}","import request from '@/utils/request'\n\n// 促销商品\nexport function groom4(data) {\n\treturn request({\n\t\turl: '/api/groom/list/4',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n// 精品推荐\nexport function groom1(data) {\n\treturn request({\n\t\turl: '/api/groom/list/1',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n// 新品首发\nexport function groom3(data) {\n\treturn request({\n\t\turl: '/api/groom/list/3',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n// 获取首页信息\nexport function loadIndexs(data) {\n\treturn request({\n\t\turl: '/api/index',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n//获取文章列表\nexport function article(data,id) {\n\treturn request({\n\t\turl: '/api/article/list/' + id,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n//获取文章详情\nexport function details(data,id) {\n return request({\n url: '/api/article/details/'+id,\n method: 'GET',\n data\n });\n}\n","import Vue from 'vue'\nimport Vuex from 'vuex'\nimport user from './model/user'\nVue.use(Vuex)\n\nconst store = new Vuex.Store({\n\tstate: {\n\t\t// baseURL:\"http://yrh.liuniu946.com\",//'http://eb.shuibo.net',//请求地址配置 \n\t\tbaseURL:'http://www.wyrxs.com',//请求地址配置 \n\t\turlFile:'/index',//项目部署所在文件夹\n\t\tuserInfo: {}, //登录信息\n\t\tloginInterceptor:false,//是否打开强制登录\n\n\t\tweichatInfo:{},//保存微信注册信息\n\t\tweichatObj:'',//微信对象\n\n\t},\n\tmutations: {\n\t\t//保存微信信息\n\t\tsetWeiChatInfo(state, provider) {\n\t\t\tstate.weichatInfo = provider;\n\t\t},\n\t\t//保存微信对象\n\t\tsetWeiChatObj(state, provider) {\n\t\t\tstate.weichatObj = provider;\n\t\t}\n\t},\n\tmodules:{\n\t\tuser\n\t},\n\tactions: {}\n})\n\nexport default store\n","import service from './newRequest.js'\nimport store from '../store';\nimport {\n\tsaveUrl,\n\tinterceptor\n} from '@/utils/loginUtils.js';\n// 请求完成后拦截\nservice.interceptors.response(\n\tresponse => {\n\t\ttry {\n\t\t\tlet res = response.data;\n\t\t\t// 解析字符串为数字\n\t\t\tif (res.status !== 200) {\n\t\t\t\tconsole.log(res.status);\n\t\t\t\tif (res.status == 410000) {\n\t\t\t\t\t// 调用退出登录方法清空用户信息\n\t\t\t\t\tstore.commit('user/logout');\n\t\t\t\t\t// 判断是否开启强制登录\n\t\t\t\t\tuni.showModal({\n\t\t\t\t\t\ttitle: \"登陆\",\n\t\t\t\t\t\tcontent: '您未登录!是否马上登录?',\n\t\t\t\t\t\tsuccess: (e) => {\n\t\t\t\t\t\t\t// 判断是否点击确认按钮\n\t\t\t\t\t\t\tif (e.confirm) {\n\t\t\t\t\t\t\t\t// 保存当前页面地址\n\t\t\t\t\t\t\t\tsaveUrl()\n\t\t\t\t\t\t\t\t// 跳转页面\n\t\t\t\t\t\t\t\tinterceptor()\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t} else {\n\t\t\t\t\tif (res.msg != '系统出现异常') {\n\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\ttitle: res.msg,\n\t\t\t\t\t\t\tduration: 1500,\n\t\t\t\t\t\t\tmask: false,\n\t\t\t\t\t\t\ticon: 'none',\n\t\t\t\t\t\t})\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn Promise.reject(res)\n\t\t\t} else {\n\t\t\t\treturn res\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tconsole.log(e);\n\t\t}\n\t},\n\terror => {\n\t\tuni.showToast({\n\t\t\ttitle: \"加载错误请重试\",\n\t\t\tduration: 1500,\n\t\t\tmask: false,\n\t\t\ticon: 'none',\n\t\t})\n\t\treturn Promise.reject(error)\n\t}\n)\n\n// 请求前拦截器\nservice.interceptors.request(\n\tconfig => {\n\t\tlet token = uni.getStorageSync('token') || '';\n\t\t// console.log(config);\n\t\tif (!config.header) {\n\t\t\tconfig.header = {\n\t\t\t\t\"Authori-zation\": 'Bearer ' + token,\n\t\t\t}\n\t\t} else {\n\t\t\t// 添加key请求头\n\t\t\tconfig.header[\"Authori-zation\"] = 'Bearer ' + token;\n\t\t}\n\t\treturn config\n\t},\n\terror => {\n\t\t// 错误处理\n\t\tconsole.log(error)\n\t\treturn Promise.reject(error)\n\t}\n)\nlet upFilse = service.upFilse;\nexport {\n\tupFilse\n};\nexport default service.open;\n","import store from '../store'\nlet service = {\n\tbaseURL: store.state.baseURL, // 请求头\n\theader: {\n\t\t'Content-Type': \"application/x-www-form-urlencoded\"\n\t},\n\t// 请求拦截器\n\tinterceptors: {\n\t\t// 安装请求前拦截\n\t\trequest: function(success, iserror) {\n\t\t\tservice.request.success = success;\n\t\t\tservice.request.error = iserror;\n\t\t},\n\t\t// 安装请求完成后拦截\n\t\tresponse: function(success, iserror) {\n\t\t\tservice.response.success = success;\n\t\t\tservice.response.error = iserror;\n\t\t}\n\t},\n\t// 请求前拦截\n\trequest: {\n\t\t// 回调成功执行方法\n\t\tsuccess: function(e) {\n\t\t\treturn e\n\t\t},\n\t\t// 回调失败\n\t\terror: function(e) {\n\t\t\treturn e\n\t\t}\n\t},\n\t// 请求完成后拦截\n\tresponse: {\n\t\t// 回调成功执行方法\n\t\tsuccess: function(e) {\n\t\t\treturn e\n\t\t},\n\t\t// 回调失败\n\t\terror: function(e) {\n\t\t\treturn e\n\t\t}\n\t},\n\t// 开始请求\n\topen: async function(data) {\n\t\treturn await new Promise(function(resolve, reject) {\n\t\t\tlet requestData = ''; //保存处理完成后请求数据\n\t\t\tlet url =''//保存链接地址\n\t\t\t//console.log(data);\n\t\t\t// 请求前数据处理\n\t\t\trequestData = service.request.success(data);\n\n\n\n\n\n\n\n\n\n\n\n\t\t\turl=service.baseURL + requestData.url;\n\n\t\t\t// 数据复制用于请求\n\t\t\tuni.request({\n\t\t\t\turl:url,\n\t\t\t\tmethod: requestData.method || 'GET',\n\t\t\t\tdata: requestData.data,\n\t\t\t\theader: data.header || service.header,\n\t\t\t\tsuccess: res => {\n\t\t\t\t\tif (res.statusCode == 200) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresolve(service.response.success(res));\n\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\tservice.response.error(e)\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t},\n\t\t\t\t// 请求失败数据处理\n\t\t\t\tfail: (err) => {\n\t\t\t\t\tservice.response.error(err)\n\t\t\t\t}\n\t\t\t});\n\t\t})\n\t},\n\t// 上传文件\n\tupFilse: async function(data) {\n\t\treturn await new Promise(function(resolve, reject) {\n\t\t\tlet requestData = ''; //保存处理完成后请求数据\n\t\t\tlet url = '' //保存请求地址\n\t\t\ttry {\n\t\t\t\t// 请求前数据处理\n\t\t\t\trequestData = service.request.success(data);\n\t\t\t} catch (e) {\n\t\t\t\t// 请求报错拦截\n\t\t\t\tservice.request.error(e);\n\t\t\t}\n\n\n\n\n\n\n\n\n\n\n\t\t\turl=service.baseURL + requestData.url;\n\n\t\t\tlet config = {\n\t\t\t\t// 上传图片的API\n\t\t\t\tupload_img_url:url\n\t\t\t}\n\n\t\t\tlet Uploader = {\n\t\t\t\t// 选择图片\n\t\t\t\tchoose(num) {\n\t\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\t\tuni.chooseImage({\n\t\t\t\t\t\t\tcount: num,\n\t\t\t\t\t\t\tsuccess(res) {\n\t\t\t\t\t\t\t\t// console.log(res);\n\t\t\t\t\t\t\t\t// 缓存文件路径\n\t\t\t\t\t\t\t\tresolve(res.tempFilePaths)\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfail(err) {\n\t\t\t\t\t\t\t\tconsole.log(err)\n\t\t\t\t\t\t\t\treject(err)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t})\n\n\t\t\t\t},\n\t\t\t\t// 上传图片\n\t\t\t\tupload_one(path) {\n\t\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\t\tuni.showLoading({\n\t\t\t\t\t\t\ttitle: '上传中'\n\t\t\t\t\t\t})\n\t\t\t\t\t\tuni.uploadFile({\n\t\t\t\t\t\t\turl: config.upload_img_url, //仅为示例,非真实的接口地址\n\t\t\t\t\t\t\tfilePath: path,\n\t\t\t\t\t\t\tname: 'file',\n\t\t\t\t\t\t\theader: {\n\t\t\t\t\t\t\t\t\"Authori-zation\": 'Bearer ' + uni.getStorageSync('token')\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsuccess: (uploadFileRes) => {\n\t\t\t\t\t\t\t\tif (\"string\" === typeof uploadFileRes.data) {\n\t\t\t\t\t\t\t\t\tresolve(JSON.parse(uploadFileRes.data).data)\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tresolve(uploadFileRes.data.data)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tcomplete() {\n\t\t\t\t\t\t\t\tuni.hideLoading()\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t})\n\t\t\t\t},\n\t\t\t\t// 上传多个图片\n\t\t\t\tupload(path_arr) {\n\t\t\t\t\tlet num = path_arr.length;\n\t\t\t\t\treturn new Promise(async (resolve, reject) => {\n\t\t\t\t\t\tlet img_urls = []\n\t\t\t\t\t\tfor (let i = 0; i < num; i++) {\n\t\t\t\t\t\t\tlet img_url = await this.upload_one(path_arr[i]);\n\t\t\t\t\t\t\timg_urls.push(img_url)\n\t\t\t\t\t\t};\n\t\t\t\t\t\tresolve(img_urls)\n\t\t\t\t\t})\n\t\t\t\t},\n\t\t\t\t// 触发上传图片事件\n\t\t\t\tchoose_and_upload(num) {\n\t\t\t\t\treturn new Promise(async (resolve, reject) => {\n\t\t\t\t\t\t// 选择图片\n\t\t\t\t\t\tlet path_arr = await this.choose(num);\n\t\t\t\t\t\t// 上传图片\n\t\t\t\t\t\tawait this.upload(path_arr).then((e) => {\n\t\t\t\t\t\t\tresolve(e);\n\t\t\t\t\t\t}).catch((e) => {\n\t\t\t\t\t\t\treject(e)\n\t\t\t\t\t\t});\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t};\n\t\t\tUploader.choose_and_upload(1).then((e) => {\n\t\t\t\tresolve(e);\n\t\t\t}).catch((e) => {\n\t\t\t\tconsole.log(e);\n\t\t\t})\n\t\t})\n\t},\n};\n\n\nexport default service\n","export default [\n {\n \"name\": \"北京市\",\n \"city\": [\n {\n \"name\": \"北京市\",\n \"area\": [\n \"东城区\",\n \"西城区\",\n \"崇文区\",\n \"宣武区\",\n \"朝阳区\",\n \"丰台区\",\n \"石景山区\",\n \"海淀区\",\n \"门头沟区\",\n \"房山区\",\n \"通州区\",\n \"顺义区\",\n \"昌平区\",\n \"大兴区\",\n \"平谷区\",\n \"怀柔区\",\n \"密云县\",\n \"延庆县\"\n ]\n }\n ]\n },\n {\n \"name\": \"天津市\",\n \"city\": [\n {\n \"name\": \"天津市\",\n \"area\": [\n \"和平区\",\n \"河东区\",\n \"河西区\",\n \"南开区\",\n \"河北区\",\n \"红桥区\",\n \"塘沽区\",\n \"汉沽区\",\n \"大港区\",\n \"东丽区\",\n \"西青区\",\n \"津南区\",\n \"北辰区\",\n \"武清区\",\n \"宝坻区\",\n \"宁河县\",\n \"静海县\",\n \"蓟 县\"\n ]\n }\n ]\n },\n {\n \"name\": \"河北省\",\n \"city\": [\n {\n \"name\": \"石家庄市\",\n \"area\": [\n \"长安区\",\n \"桥东区\",\n \"桥西区\",\n \"新华区\",\n \"郊 区\",\n \"井陉矿区\",\n \"井陉县\",\n \"正定县\",\n \"栾城县\",\n \"行唐县\",\n \"灵寿县\",\n \"高邑县\",\n \"深泽县\",\n \"赞皇县\",\n \"无极县\",\n \"平山县\",\n \"元氏县\",\n \"赵 县\",\n \"辛集市\",\n \"藁\",\n \"晋州市\",\n \"新乐市\",\n \"鹿泉市\"\n ]\n },\n {\n \"name\": \"唐山市\",\n \"area\": [\n \"路南区\",\n \"路北区\",\n \"古冶区\",\n \"开平区\",\n \"新 区\",\n \"丰润县\",\n \"滦 县\",\n \"滦南县\",\n \"乐亭县\",\n \"迁西县\",\n \"玉田县\",\n \"唐海县\",\n \"遵化市\",\n \"丰南市\",\n \"迁安市\"\n ]\n },\n {\n \"name\": \"秦皇岛市\",\n \"area\": [\n \"海港区\",\n \"山海关区\",\n \"北戴河区\",\n \"青龙满族自治县\",\n \"昌黎县\",\n \"抚宁县\",\n \"卢龙县\"\n ]\n },\n {\n \"name\": \"邯郸市\",\n \"area\": [\n \"邯山区\",\n \"丛台区\",\n \"复兴区\",\n \"峰峰矿区\",\n \"邯郸县\",\n \"临漳县\",\n \"成安县\",\n \"大名县\",\n \"涉 县\",\n \"磁 县\",\n \"肥乡县\",\n \"永年县\",\n \"邱 县\",\n \"鸡泽县\",\n \"广平县\",\n \"馆陶县\",\n \"魏 县\",\n \"曲周县\",\n \"武安市\"\n ]\n },\n {\n \"name\": \"邢台市\",\n \"area\": [\n \"桥东区\",\n \"桥西区\",\n \"邢台县\",\n \"临城县\",\n \"内丘县\",\n \"柏乡县\",\n \"隆尧县\",\n \"任 县\",\n \"南和县\",\n \"宁晋县\",\n \"巨鹿县\",\n \"新河县\",\n \"广宗县\",\n \"平乡县\",\n \"威 县\",\n \"清河县\",\n \"临西县\",\n \"南宫市\",\n \"沙河市\"\n ]\n },\n {\n \"name\": \"保定市\",\n \"area\": [\n \"新市区\",\n \"北市区\",\n \"南市区\",\n \"满城县\",\n \"清苑县\",\n \"涞水县\",\n \"阜平县\",\n \"徐水县\",\n \"定兴县\",\n \"唐 县\",\n \"高阳县\",\n \"容城县\",\n \"涞源县\",\n \"望都县\",\n \"安新县\",\n \"易 县\",\n \"曲阳县\",\n \"蠡 县\",\n \"顺平县\",\n \"博野\",\n \"雄县\",\n \"涿州市\",\n \"定州市\",\n \"安国市\",\n \"高碑店市\"\n ]\n },\n {\n \"name\": \"张家口\",\n \"area\": [\n \"桥东区\",\n \"桥西区\",\n \"宣化区\",\n \"下花园区\",\n \"宣化县\",\n \"张北县\",\n \"康保县\",\n \"沽源县\",\n \"尚义县\",\n \"蔚 县\",\n \"阳原县\",\n \"怀安县\",\n \"万全县\",\n \"怀来县\",\n \"涿鹿县\",\n \"赤城县\",\n \"崇礼县\"\n ]\n },\n {\n \"name\": \"承德市\",\n \"area\": [\n \"双桥区\",\n \"双滦区\",\n \"鹰手营子矿区\",\n \"承德县\",\n \"兴隆县\",\n \"平泉县\",\n \"滦平县\",\n \"隆化县\",\n \"丰宁满族自治县\",\n \"宽城满族自治县\",\n \"围场满族蒙古族自治县\"\n ]\n },\n {\n \"name\": \"沧州市\",\n \"area\": [\n \"新华区\",\n \"运河区\",\n \"沧 县\",\n \"青 县\",\n \"东光县\",\n \"海兴县\",\n \"盐山县\",\n \"肃宁县\",\n \"南皮县\",\n \"吴桥县\",\n \"献 县\",\n \"孟村回族自治县\",\n \"泊头市\",\n \"任丘市\",\n \"黄骅市\",\n \"河间市\"\n ]\n },\n {\n \"name\": \"廊坊市\",\n \"area\": [\n \"安次区\",\n \"固安县\",\n \"永清县\",\n \"香河县\",\n \"大城县\",\n \"文安县\",\n \"大厂回族自治县\",\n \"霸州市\",\n \"三河市\"\n ]\n },\n {\n \"name\": \"衡水市\",\n \"area\": [\n \"桃城区\",\n \"枣强县\",\n \"武邑县\",\n \"武强县\",\n \"饶阳县\",\n \"安平县\",\n \"故城县\",\n \"景 县\",\n \"阜城县\",\n \"冀州市\",\n \"深州市\"\n ]\n }\n ]\n },\n {\n \"name\": \"山西省\",\n \"city\": [\n {\n \"name\": \"太原市\",\n \"area\": [\n \"小店区\",\n \"迎泽区\",\n \"杏花岭区\",\n \"尖草坪区\",\n \"万柏林区\",\n \"晋源区\",\n \"清徐县\",\n \"阳曲县\",\n \"娄烦县\",\n \"古交市\"\n ]\n },\n {\n \"name\": \"大同市\",\n \"area\": [\n \"城 区\",\n \"矿 区\",\n \"南郊区\",\n \"新荣区\",\n \"阳高县\",\n \"天镇县\",\n \"广灵县\",\n \"灵丘县\",\n \"浑源县\",\n \"左云县\",\n \"大同县\"\n ]\n },\n {\n \"name\": \"阳泉市\",\n \"area\": [\n \"城 区\",\n \"矿 区\",\n \"郊 区\",\n \"平定县\",\n \"盂 县\"\n ]\n },\n {\n \"name\": \"长治市\",\n \"area\": [\n \"城 区\",\n \"郊 区\",\n \"长治县\",\n \"襄垣县\",\n \"屯留县\",\n \"平顺县\",\n \"黎城县\",\n \"壶关县\",\n \"长子县\",\n \"武乡县\",\n \"沁 县\",\n \"沁源县\",\n \"潞城市\"\n ]\n },\n {\n \"name\": \"晋城市\",\n \"area\": [\n \"城 区\",\n \"沁水县\",\n \"阳城县\",\n \"陵川县\",\n \"泽州县\",\n \"高平市\"\n ]\n },\n {\n \"name\": \"朔州市\",\n \"area\": [\n \"朔城区\",\n \"平鲁区\",\n \"山阴县\",\n \"应 县\",\n \"右玉县\",\n \"怀仁县\"\n ]\n },\n {\n \"name\": \"忻州市\",\n \"area\": [\n \"忻府区\",\n \"原平市\",\n \"定襄县\",\n \"五台县\",\n \"代 县\",\n \"繁峙县\",\n \"宁武县\",\n \"静乐县\",\n \"神池县\",\n \"五寨县\",\n \"岢岚县\",\n \"河曲县\",\n \"保德县\",\n \"偏关县\"\n ]\n },\n {\n \"name\": \"吕梁市\",\n \"area\": [\n \"离石区\",\n \"孝义市\",\n \"汾阳市\",\n \"文水县\",\n \"交城县\",\n \"兴 县\",\n \"临 县\",\n \"柳林县\",\n \"石楼县\",\n \"岚 县\",\n \"方山县\",\n \"中阳县\",\n \"交口县\"\n ]\n },\n {\n \"name\": \"晋中市\",\n \"area\": [\n \"榆次市\",\n \"介休市\",\n \"榆社县\",\n \"左权县\",\n \"和顺县\",\n \"昔阳县\",\n \"寿阳县\",\n \"太谷县\",\n \"祁 县\",\n \"平遥县\",\n \"灵石县\"\n ]\n },\n {\n \"name\": \"临汾市\",\n \"area\": [\n \"临汾市\",\n \"侯马市\",\n \"霍州市\",\n \"曲沃县\",\n \"翼城县\",\n \"襄汾县\",\n \"洪洞县\",\n \"古 县\",\n \"安泽县\",\n \"浮山县\",\n \"吉 县\",\n \"乡宁县\",\n \"蒲 县\",\n \"大宁县\",\n \"永和县\",\n \"隰 县\",\n \"汾西县\"\n ]\n },\n {\n \"name\": \"运城市\",\n \"area\": [\n \"运城市\",\n \"永济市\",\n \"河津市\",\n \"芮城县\",\n \"临猗县\",\n \"万荣县\",\n \"新绛县\",\n \"稷山县\",\n \"闻喜县\",\n \"夏 县\",\n \"绛 县\",\n \"平陆县\",\n \"垣曲县\"\n ]\n }\n ]\n },\n {\n \"name\": \"内蒙古\",\n \"city\": [\n {\n \"name\": \"呼和浩特市\",\n \"area\": [\n \"新城区\",\n \"回民区\",\n \"玉泉区\",\n \"郊 区\",\n \"土默特左旗\",\n \"托克托县\",\n \"和林格尔县\",\n \"清水河县\",\n \"武川县\"\n ]\n },\n {\n \"name\": \"包头市\",\n \"area\": [\n \"东河区\",\n \"昆都伦区\",\n \"青山区\",\n \"石拐矿区\",\n \"白云矿区\",\n \"郊 区\",\n \"土默特右旗\",\n \"固阳县\",\n \"达尔罕茂明安联合旗\"\n ]\n },\n {\n \"name\": \"乌海市\",\n \"area\": [\n \"海勃湾区\",\n \"海南区\",\n \"乌达区\"\n ]\n },\n {\n \"name\": \"赤峰市\",\n \"area\": [\n \"红山区\",\n \"元宝山区\",\n \"松山区\",\n \"阿鲁科尔沁旗\",\n \"巴林左旗\",\n \"巴林右旗\",\n \"林西县\",\n \"克什克腾旗\",\n \"翁牛特旗\",\n \"喀喇沁旗\",\n \"宁城县\",\n \"敖汉旗\"\n ]\n },\n {\n \"name\": \"呼伦贝尔市\",\n \"area\": [\n \"海拉尔市\",\n \"满洲里市\",\n \"扎兰屯市\",\n \"牙克石市\",\n \"根河市\",\n \"额尔古纳市\",\n \"阿荣旗\",\n \"莫力达瓦达斡尔族自治旗\",\n \"鄂伦春自治旗\",\n \"鄂温克族自治旗\",\n \"新巴尔虎右旗\",\n \"新巴尔虎左旗\",\n \"陈巴尔虎旗\"\n ]\n },\n {\n \"name\": \"兴安盟\",\n \"area\": [\n \"乌兰浩特市\",\n \"阿尔山市\",\n \"科尔沁右翼前旗\",\n \"科尔沁右翼中旗\",\n \"扎赉特旗\",\n \"突泉县\"\n ]\n },\n {\n \"name\": \"通辽市\",\n \"area\": [\n \"科尔沁区\",\n \"霍林郭勒市\",\n \"科尔沁左翼中旗\",\n \"科尔沁左翼后旗\",\n \"开鲁县\",\n \"库伦旗\",\n \"奈曼旗\",\n \"扎鲁特旗\"\n ]\n },\n {\n \"name\": \"锡林郭勒盟\",\n \"area\": [\n \"二连浩特市\",\n \"锡林浩特市\",\n \"阿巴嘎旗\",\n \"苏尼特左旗\",\n \"苏尼特右旗\",\n \"东乌珠穆沁旗\",\n \"西乌珠穆沁旗\",\n \"太仆寺旗\",\n \"镶黄旗\",\n \"正镶白旗\",\n \"正蓝旗\",\n \"多伦县\"\n ]\n },\n {\n \"name\": \"乌兰察布盟\",\n \"area\": [\n \"集宁市\",\n \"丰镇市\",\n \"卓资县\",\n \"化德县\",\n \"商都县\",\n \"兴和县\",\n \"凉城县\",\n \"察哈尔右翼前旗\",\n \"察哈尔右翼中旗\",\n \"察哈尔右翼后旗\",\n \"四子王旗\"\n ]\n },\n {\n \"name\": \"伊克昭盟\",\n \"area\": [\n \"东胜市\",\n \"达拉特旗\",\n \"准格尔旗\",\n \"鄂托克前旗\",\n \"鄂托克旗\",\n \"杭锦旗\",\n \"乌审旗\",\n \"伊金霍洛旗\"\n ]\n },\n {\n \"name\": \"巴彦淖尔盟\",\n \"area\": [\n \"临河市\",\n \"五原县\",\n \"磴口县\",\n \"乌拉特前旗\",\n \"乌拉特中旗\",\n \"乌拉特后旗\",\n \"杭锦后旗\"\n ]\n },\n {\n \"name\": \"阿拉善盟\",\n \"area\": [\n \"阿拉善左旗\",\n \"阿拉善右旗\",\n \"额济纳旗\"\n ]\n }\n ]\n },\n {\n \"name\": \"辽宁省\",\n \"city\": [\n {\n \"name\": \"沈阳市\",\n \"area\": [\n \"沈河区\",\n \"皇姑区\",\n \"和平区\",\n \"大东区\",\n \"铁西区\",\n \"苏家屯区\",\n \"东陵区\",\n \"于洪区\",\n \"新民市\",\n \"法库县\",\n \"辽中县\",\n \"康平县\",\n \"新城子区\"\n ]\n },\n {\n \"name\": \"大连市\",\n \"area\": [\n \"西岗区\",\n \"中山区\",\n \"沙河口区\",\n \"甘井子区\",\n \"旅顺口区\",\n \"金州区\",\n \"瓦房店市\",\n \"普兰店市\",\n \"庄河市\",\n \"长海县\"\n ]\n },\n {\n \"name\": \"鞍山市\",\n \"area\": [\n \"铁东区\",\n \"铁西区\",\n \"立山区\",\n \"千山区\",\n \"海城市\",\n \"台安县\",\n \"岫岩满族自治县\"\n ]\n },\n {\n \"name\": \"抚顺市\",\n \"area\": [\n \"顺城区\",\n \"新抚区\",\n \"东洲区\",\n \"望花区\",\n \"抚顺县\",\n \"清原满族自治县\",\n \"新宾满族自治县\"\n ]\n },\n {\n \"name\": \"本溪市\",\n \"area\": [\n \"平山区\",\n \"明山区\",\n \"溪湖区\",\n \"南芬区\",\n \"本溪满族自治县\",\n \"桓仁满族自治县\"\n ]\n },\n {\n \"name\": \"丹东市\",\n \"area\": [\n \"振兴区\",\n \"元宝区\",\n \"振安区\",\n \"东港市\",\n \"凤城市\",\n \"宽甸满族自治县\"\n ]\n },\n {\n \"name\": \"锦州市\",\n \"area\": [\n \"太和区\",\n \"古塔区\",\n \"凌河区\",\n \"凌海市\",\n \"黑山县\",\n \"义县\",\n \"北宁市\"\n ]\n },\n {\n \"name\": \"营口市\",\n \"area\": [\n \"站前区\",\n \"西市区\",\n \"鲅鱼圈区\",\n \"老边区\",\n \"大石桥市\",\n \"盖州市\"\n ]\n },\n {\n \"name\": \"阜新市\",\n \"area\": [\n \"海州区\",\n \"新邱区\",\n \"太平区\",\n \"清河门区\",\n \"细河区\",\n \"彰武县\",\n \"阜新蒙古族自治县\"\n ]\n },\n {\n \"name\": \"辽阳市\",\n \"area\": [\n \"白塔区\",\n \"文圣区\",\n \"宏伟区\",\n \"太子河区\",\n \"弓长岭区\",\n \"灯塔市\",\n \"辽阳县\"\n ]\n },\n {\n \"name\": \"盘锦\",\n \"area\": [\n \"双台子区\",\n \"兴隆台区\",\n \"盘山县\",\n \"大洼县\"\n ]\n },\n {\n \"name\": \"铁岭市\",\n \"area\": [\n \"银州区\",\n \"清河区\",\n \"调兵山市\",\n \"开原市\",\n \"铁岭县\",\n \"昌图县\",\n \"西丰县\"\n ]\n },\n {\n \"name\": \"朝阳市\",\n \"area\": [\n \"双塔区\",\n \"龙城区\",\n \"凌源市\",\n \"北票市\",\n \"朝阳县\",\n \"建平县\",\n \"喀喇沁左翼蒙古族自治县\"\n ]\n },\n {\n \"name\": \"葫芦岛市\",\n \"area\": [\n \"龙港区\",\n \"南票区\",\n \"连山区\",\n \"兴城市\",\n \"绥中县\",\n \"建昌县\"\n ]\n }\n ]\n },\n {\n \"name\": \"吉林省\",\n \"city\": [\n {\n \"name\": \"长春市\",\n \"area\": [\n \"朝阳区\",\n \"宽城区\",\n \"二道区\",\n \"南关区\",\n \"绿园区\",\n \"双阳区\",\n \"九台市\",\n \"榆树市\",\n \"德惠市\",\n \"农安县\"\n ]\n },\n {\n \"name\": \"吉林市\",\n \"area\": [\n \"船营区\",\n \"昌邑区\",\n \"龙潭区\",\n \"丰满区\",\n \"舒兰市\",\n \"桦甸市\",\n \"蛟河市\",\n \"磐石市\",\n \"永吉县\"\n ]\n },\n {\n \"name\": \"四平\",\n \"area\": [\n \"铁西区\",\n \"铁东区\",\n \"公主岭市\",\n \"双辽市\",\n \"梨树县\",\n \"伊通满族自治县\"\n ]\n },\n {\n \"name\": \"辽源市\",\n \"area\": [\n \"龙山区\",\n \"西安区\",\n \"东辽县\",\n \"东丰县\"\n ]\n },\n {\n \"name\": \"通化市\",\n \"area\": [\n \"东昌区\",\n \"二道江区\",\n \"梅河口市\",\n \"集安市\",\n \"通化县\",\n \"辉南县\",\n \"柳河县\"\n ]\n },\n {\n \"name\": \"白山市\",\n \"area\": [\n \"八道江区\",\n \"江源区\",\n \"临江市\",\n \"靖宇县\",\n \"抚松县\",\n \"长白朝鲜族自治县\"\n ]\n },\n {\n \"name\": \"松原市\",\n \"area\": [\n \"宁江区\",\n \"乾安县\",\n \"长岭县\",\n \"扶余县\",\n \"前郭尔罗斯蒙古族自治县\"\n ]\n },\n {\n \"name\": \"白城市\",\n \"area\": [\n \"洮北区\",\n \"大安市\",\n \"洮南市\",\n \"镇赉县\",\n \"通榆县\"\n ]\n },\n {\n \"name\": \"延边朝鲜族自治州\",\n \"area\": [\n \"延吉市\",\n \"图们市\",\n \"敦化市\",\n \"龙井市\",\n \"珲春市\",\n \"和龙市\",\n \"安图县\",\n \"汪清县\"\n ]\n }\n ]\n },\n {\n \"name\": \"黑龙江省\",\n \"city\": [\n {\n \"name\": \"哈尔滨市\",\n \"area\": [\n \"松北区\",\n \"道里区\",\n \"南岗区\",\n \"平房区\",\n \"香坊区\",\n \"道外区\",\n \"呼兰区\",\n \"阿城区\",\n \"双城市\",\n \"尚志市\",\n \"五常市\",\n \"宾县\",\n \"方正县\",\n \"通河县\",\n \"巴彦县\",\n \"延寿县\",\n \"木兰县\",\n \"依兰县\"\n ]\n },\n {\n \"name\": \"齐齐哈尔市\",\n \"area\": [\n \"龙沙区\",\n \"昂昂溪区\",\n \"铁锋区\",\n \"建华区\",\n \"富拉尔基区\",\n \"碾子山区\",\n \"梅里斯达斡尔族区\",\n \"讷河市\",\n \"富裕县\",\n \"拜泉县\",\n \"甘南县\",\n \"依安县\",\n \"克山县\",\n \"泰来县\",\n \"克东县\",\n \"龙江县\"\n ]\n },\n {\n \"name\": \"鹤岗市\",\n \"area\": [\n \"兴山区\",\n \"工农区\",\n \"南山区\",\n \"兴安区\",\n \"向阳区\",\n \"东山区\",\n \"萝北县\",\n \"绥滨县\"\n ]\n },\n {\n \"name\": \"双鸭山\",\n \"area\": [\n \"尖山区\",\n \"岭东区\",\n \"四方台区\",\n \"宝山区\",\n \"集贤县\",\n \"宝清县\",\n \"友谊县\",\n \"饶河县\"\n ]\n },\n {\n \"name\": \"鸡西市\",\n \"area\": [\n \"鸡冠区\",\n \"恒山区\",\n \"城子河区\",\n \"滴道区\",\n \"梨树区\",\n \"麻山区\",\n \"密山市\",\n \"虎林市\",\n \"鸡东县\"\n ]\n },\n {\n \"name\": \"大庆市\",\n \"area\": [\n \"萨尔图区\",\n \"红岗区\",\n \"龙凤区\",\n \"让胡路区\",\n \"大同区\",\n \"林甸县\",\n \"肇州县\",\n \"肇源县\",\n \"杜尔伯特蒙古族自治县\"\n ]\n },\n {\n \"name\": \"伊春市\",\n \"area\": [\n \"伊春区\",\n \"带岭区\",\n \"南岔区\",\n \"金山屯区\",\n \"西林区\",\n \"美溪区\",\n \"乌马河区\",\n \"翠峦区\",\n \"友好区\",\n \"上甘岭区\",\n \"五营区\",\n \"红星区\",\n \"新青区\",\n \"汤旺河区\",\n \"乌伊岭区\",\n \"铁力市\",\n \"嘉荫县\"\n ]\n },\n {\n \"name\": \"牡丹江市\",\n \"area\": [\n \"爱民区\",\n \"东安区\",\n \"阳明区\",\n \"西安区\",\n \"绥芬河市\",\n \"宁安市\",\n \"海林市\",\n \"穆棱市\",\n \"林口县\",\n \"东宁县\"\n ]\n },\n {\n \"name\": \"佳木斯市\",\n \"area\": [\n \"向阳区\",\n \"前进区\",\n \"东风区\",\n \"郊区\",\n \"同江市\",\n \"富锦市\",\n \"桦川县\",\n \"抚远县\",\n \"桦南县\",\n \"汤原县\"\n ]\n },\n {\n \"name\": \"七台河市\",\n \"area\": [\n \"桃山区\",\n \"新兴区\",\n \"茄子河区\",\n \"勃利县\"\n ]\n },\n {\n \"name\": \"黑河市\",\n \"area\": [\n \"爱辉区\",\n \"北安市\",\n \"五大连池市\",\n \"逊克县\",\n \"嫩江县\",\n \"孙吴县\"\n ]\n },\n {\n \"name\": \"绥化市\",\n \"area\": [\n \"北林区\",\n \"安达市\",\n \"肇东市\",\n \"海伦市\",\n \"绥棱县\",\n \"兰西县\",\n \"明水县\",\n \"青冈县\",\n \"庆安县\",\n \"望奎县\"\n ]\n },\n {\n \"name\": \"大兴安岭地区\",\n \"area\": [\n \"呼玛县\",\n \"塔河县\",\n \"漠河县\",\n \"大兴安岭辖区\"\n ]\n }\n ]\n },\n {\n \"name\": \"上海市\",\n \"city\": [\n {\n \"name\": \"上海市\",\n \"area\": [\n \"黄浦区\",\n \"卢湾区\",\n \"徐汇区\",\n \"长宁区\",\n \"静安区\",\n \"普陀区\",\n \"闸北区\",\n \"虹口区\",\n \"杨浦区\",\n \"宝山区\",\n \"闵行区\",\n \"嘉定区\",\n \"松江区\",\n \"金山区\",\n \"青浦区\",\n \"南汇区\",\n \"奉贤区\",\n \"浦东新区\",\n \"崇明县\"\n ]\n }\n ]\n },\n {\n \"name\": \"江苏省\",\n \"city\": [\n {\n \"name\": \"南京市\",\n \"area\": [\n \"玄武区\",\n \"白下区\",\n \"秦淮区\",\n \"建邺区\",\n \"鼓楼区\",\n \"下关区\",\n \"栖霞区\",\n \"雨花台区\",\n \"浦口区\",\n \"江宁区\",\n \"六合区\",\n \"溧水县\",\n \"高淳县\"\n ]\n },\n {\n \"name\": \"苏州市\",\n \"area\": [\n \"金阊区\",\n \"平江区\",\n \"沧浪区\",\n \"虎丘区\",\n \"吴中区\",\n \"相城区\",\n \"常熟市\",\n \"张家港市\",\n \"昆山市\",\n \"吴江市\",\n \"太仓市\"\n ]\n },\n {\n \"name\": \"无锡市\",\n \"area\": [\n \"崇安区\",\n \"南长区\",\n \"北塘区\",\n \"滨湖区\",\n \"锡山区\",\n \"惠山区\",\n \"江阴市\",\n \"宜兴市\"\n ]\n },\n {\n \"name\": \"常州市\",\n \"area\": [\n \"钟楼区\",\n \"天宁区\",\n \"戚墅堰区\",\n \"新北区\",\n \"武进区\",\n \"金坛市\",\n \"溧阳市\"\n ]\n },\n {\n \"name\": \"镇江市\",\n \"area\": [\n \"京口区\",\n \"润州区\",\n \"丹徒区\",\n \"丹阳市\",\n \"扬中市\",\n \"句容市\"\n ]\n },\n {\n \"name\": \"南通市\",\n \"area\": [\n \"崇川区\",\n \"港闸区\",\n \"通州市\",\n \"如皋市\",\n \"海门市\",\n \"启东市\",\n \"海安县\",\n \"如东县\"\n ]\n },\n {\n \"name\": \"泰州市\",\n \"area\": [\n \"海陵区\",\n \"高港区\",\n \"姜堰市\",\n \"泰兴市\",\n \"靖江市\",\n \"兴化市\"\n ]\n },\n {\n \"name\": \"扬州市\",\n \"area\": [\n \"广陵区\",\n \"维扬区\",\n \"邗江区\",\n \"江都市\",\n \"仪征市\",\n \"高邮市\",\n \"宝应县\"\n ]\n },\n {\n \"name\": \"盐城市\",\n \"area\": [\n \"亭湖区\",\n \"盐都区\",\n \"大丰市\",\n \"东台市\",\n \"建湖县\",\n \"射阳县\",\n \"阜宁县\",\n \"滨海县\",\n \"响水县\"\n ]\n },\n {\n \"name\": \"连云港市\",\n \"area\": [\n \"新浦区\",\n \"海州区\",\n \"连云区\",\n \"东海县\",\n \"灌云县\",\n \"赣榆县\",\n \"灌南县\"\n ]\n },\n {\n \"name\": \"徐州市\",\n \"area\": [\n \"云龙区\",\n \"鼓楼区\",\n \"九里区\",\n \"泉山区\",\n \"贾汪区\",\n \"邳州市\",\n \"新沂市\",\n \"铜山县\",\n \"睢宁县\",\n \"沛县\",\n \"丰县\"\n ]\n },\n {\n \"name\": \"淮安市\",\n \"area\": [\n \"清河区\",\n \"清浦区\",\n \"楚州区\",\n \"淮阴区\",\n \"涟水县\",\n \"洪泽县\",\n \"金湖县\",\n \"盱眙县\"\n ]\n },\n {\n \"name\": \"宿迁市\",\n \"area\": [\n \"宿城区\",\n \"宿豫区\",\n \"沭阳县\",\n \"泗阳县\",\n \"泗洪县\"\n ]\n }\n ]\n },\n {\n \"name\": \"浙江省\",\n \"city\": [\n {\n \"name\": \"杭州市\",\n \"area\": [\n \"拱墅区\",\n \"西湖区\",\n \"上城区\",\n \"下城区\",\n \"江干区\",\n \"滨江区\",\n \"余杭区\",\n \"萧山区\",\n \"建德市\",\n \"富阳市\",\n \"临安市\",\n \"桐庐县\",\n \"淳安县\"\n ]\n },\n {\n \"name\": \"宁波市\",\n \"area\": [\n \"海曙区\",\n \"江东区\",\n \"江北区\",\n \"镇海区\",\n \"北仑区\",\n \"鄞州区\",\n \"余姚市\",\n \"慈溪市\",\n \"奉化市\",\n \"宁海县\",\n \"象山县\"\n ]\n },\n {\n \"name\": \"温州市\",\n \"area\": [\n \"鹿城区\",\n \"龙湾区\",\n \"瓯海区\",\n \"瑞安市\",\n \"乐清市\",\n \"永嘉县\",\n \"洞头县\",\n \"平阳县\",\n \"苍南县\",\n \"文成县\",\n \"泰顺县\"\n ]\n },\n {\n \"name\": \"嘉兴市\",\n \"area\": [\n \"秀城区\",\n \"秀洲区\",\n \"海宁市\",\n \"平湖市\",\n \"桐乡市\",\n \"嘉善县\",\n \"海盐县\"\n ]\n },\n {\n \"name\": \"湖州市\",\n \"area\": [\n \"吴兴区\",\n \"南浔区\",\n \"长兴县\",\n \"德清县\",\n \"安吉县\"\n ]\n },\n {\n \"name\": \"绍兴市\",\n \"area\": [\n \"越城区\",\n \"诸暨市\",\n \"上虞市\",\n \"嵊州市\",\n \"绍兴县\",\n \"新昌县\"\n ]\n },\n {\n \"name\": \"金华市\",\n \"area\": [\n \"婺城区\",\n \"金东区\",\n \"兰溪市\",\n \"义乌市\",\n \"东阳市\",\n \"永康市\",\n \"武义县\",\n \"浦江县\",\n \"磐安县\"\n ]\n },\n {\n \"name\": \"衢州市\",\n \"area\": [\n \"柯城区\",\n \"衢江区\",\n \"江山市\",\n \"龙游县\",\n \"常山县\",\n \"开化县\"\n ]\n },\n {\n \"name\": \"舟山市\",\n \"area\": [\n \"定海区\",\n \"普陀区\",\n \"岱山县\",\n \"嵊泗县\"\n ]\n },\n {\n \"name\": \"台州市\",\n \"area\": [\n \"椒江区\",\n \"黄岩区\",\n \"路桥区\",\n \"临海市\",\n \"温岭市\",\n \"玉环县\",\n \"天台县\",\n \"仙居县\",\n \"三门县\"\n ]\n },\n {\n \"name\": \"丽水市\",\n \"area\": [\n \"莲都区\",\n \"龙泉市\",\n \"缙云县\",\n \"青田县\",\n \"云和县\",\n \"遂昌县\",\n \"松阳县\",\n \"庆元县\",\n \"景宁畲族自治县\"\n ]\n }\n ]\n },\n {\n \"name\": \"安徽省\",\n \"city\": [\n {\n \"name\": \"合肥市\",\n \"area\": [\n \"庐阳区\",\n \"瑶海区\",\n \"蜀山区\",\n \"包河区\",\n \"长丰县\",\n \"肥东县\",\n \"肥西县\"\n ]\n },\n {\n \"name\": \"芜湖市\",\n \"area\": [\n \"镜湖区\",\n \"弋江区\",\n \"鸠江区\",\n \"三山区\",\n \"芜湖县\",\n \"南陵县\",\n \"繁昌县\"\n ]\n },\n {\n \"name\": \"蚌埠市\",\n \"area\": [\n \"蚌山区\",\n \"龙子湖区\",\n \"禹会区\",\n \"淮上区\",\n \"怀远县\",\n \"固镇县\",\n \"五河县\"\n ]\n },\n {\n \"name\": \"淮南市\",\n \"area\": [\n \"田家庵区\",\n \"大通区\",\n \"谢家集区\",\n \"八公山区\",\n \"潘集区\",\n \"凤台县\"\n ]\n },\n {\n \"name\": \"马鞍山市\",\n \"area\": [\n \"雨山区\",\n \"花山区\",\n \"金家庄区\",\n \"当涂县\"\n ]\n },\n {\n \"name\": \"淮北市\",\n \"area\": [\n \"相山区\",\n \"杜集区\",\n \"烈山区\",\n \"濉溪县\"\n ]\n },\n {\n \"name\": \"铜陵市\",\n \"area\": [\n \"铜官山区\",\n \"狮子山区\",\n \"郊区\",\n \"铜陵县\"\n ]\n },\n {\n \"name\": \"安庆市\",\n \"area\": [\n \"迎江区\",\n \"大观区\",\n \"宜秀区\",\n \"桐城市\",\n \"宿松县\",\n \"枞阳县\",\n \"太湖县\",\n \"怀宁县\",\n \"岳西县\",\n \"望江县\",\n \"潜山县\"\n ]\n },\n {\n \"name\": \"黄山市\",\n \"area\": [\n \"屯溪区\",\n \"黄山区\",\n \"徽州区\",\n \"休宁县\",\n \"歙县\",\n \"祁门县\",\n \"黟县\"\n ]\n },\n {\n \"name\": \"滁州市\",\n \"area\": [\n \"琅琊区\",\n \"南谯区\",\n \"天长市\",\n \"明光市\",\n \"全椒县\",\n \"来安县\",\n \"定远县\",\n \"凤阳县\"\n ]\n },\n {\n \"name\": \"阜阳市\",\n \"area\": [\n \"颍州区\",\n \"颍东区\",\n \"颍泉区\",\n \"界首市\",\n \"临泉县\",\n \"颍上县\",\n \"阜南县\",\n \"太和县\"\n ]\n },\n {\n \"name\": \"宿州市\",\n \"area\": [\n \"埇桥区\",\n \"萧县\",\n \"泗县\",\n \"砀山县\",\n \"灵璧县\"\n ]\n },\n {\n \"name\": \"巢湖市\",\n \"area\": [\n \"居巢区\",\n \"含山县\",\n \"无为县\",\n \"庐江县\",\n \"和县\"\n ]\n },\n {\n \"name\": \"六安市\",\n \"area\": [\n \"金安区\",\n \"裕安区\",\n \"寿县\",\n \"霍山县\",\n \"霍邱县\",\n \"舒城县\",\n \"金寨县\"\n ]\n },\n {\n \"name\": \"亳州市\",\n \"area\": [\n \"谯城区\",\n \"利辛县\",\n \"涡阳县\",\n \"蒙城县\"\n ]\n },\n {\n \"name\": \"池州市\",\n \"area\": [\n \"贵池区\",\n \"东至县\",\n \"石台县\",\n \"青阳县\"\n ]\n },\n {\n \"name\": \"宣城市\",\n \"area\": [\n \"宣州区\",\n \"宁国市\",\n \"广德县\",\n \"郎溪县\",\n \"泾县\",\n \"旌德县\",\n \"绩溪县\"\n ]\n }\n ]\n },\n {\n \"name\": \"福建省\",\n \"city\": [\n {\n \"name\": \"福州市\",\n \"area\": [\n \"鼓楼区\",\n \"台江区\",\n \"仓山区\",\n \"马尾区\",\n \"晋安区\",\n \"福清市\",\n \"长乐市\",\n \"闽侯县\",\n \"闽清县\",\n \"永泰县\",\n \"连江县\",\n \"罗源县\",\n \"平潭县\"\n ]\n },\n {\n \"name\": \"厦门市\",\n \"area\": [\n \"思明区\",\n \"海沧区\",\n \"湖里区\",\n \"集美区\",\n \"同安区\",\n \"翔安区\"\n ]\n },\n {\n \"name\": \"莆田市\",\n \"area\": [\n \"城厢区\",\n \"涵江区\",\n \"荔城区\",\n \"秀屿区\",\n \"仙游县\"\n ]\n },\n {\n \"name\": \"三明市\",\n \"area\": [\n \"梅列区\",\n \"三元区\",\n \"永安市\",\n \"明溪县\",\n \"将乐县\",\n \"大田县\",\n \"宁化县\",\n \"建宁县\",\n \"沙县\",\n \"尤溪县\",\n \"清流县\",\n \"泰宁县\"\n ]\n },\n {\n \"name\": \"泉州市\",\n \"area\": [\n \"鲤城区\",\n \"丰泽区\",\n \"洛江区\",\n \"泉港区\",\n \"石狮市\",\n \"晋江市\",\n \"南安市\",\n \"惠安县\",\n \"永春县\",\n \"安溪县\",\n \"德化县\",\n \"金门县\"\n ]\n },\n {\n \"name\": \"漳州市\",\n \"area\": [\n \"芗城区\",\n \"龙文区\",\n \"龙海市\",\n \"平和县\",\n \"南靖县\",\n \"诏安县\",\n \"漳浦县\",\n \"华安县\",\n \"东山县\",\n \"长泰县\",\n \"云霄县\"\n ]\n },\n {\n \"name\": \"南平市\",\n \"area\": [\n \"延平区\",\n \"建瓯市\",\n \"邵武市\",\n \"武夷山市\",\n \"建阳市\",\n \"松溪县\",\n \"光泽县\",\n \"顺昌县\",\n \"浦城县\",\n \"政和县\"\n ]\n },\n {\n \"name\": \"龙岩市\",\n \"area\": [\n \"新罗区\",\n \"漳平市\",\n \"长汀县\",\n \"武平县\",\n \"上杭县\",\n \"永定县\",\n \"连城县\"\n ]\n },\n {\n \"name\": \"宁德市\",\n \"area\": [\n \"蕉城区\",\n \"福安市\",\n \"福鼎市\",\n \"寿宁县\",\n \"霞浦县\",\n \"柘荣县\",\n \"屏南县\",\n \"古田县\",\n \"周宁县\"\n ]\n }\n ]\n },\n {\n \"name\": \"江西省\",\n \"city\": [\n {\n \"name\": \"南昌市\",\n \"area\": [\n \"东湖区\",\n \"西湖区\",\n \"青云谱区\",\n \"湾里区\",\n \"青山湖区\",\n \"新建县\",\n \"南昌县\",\n \"进贤县\",\n \"安义县\"\n ]\n },\n {\n \"name\": \"景德镇市\",\n \"area\": [\n \"珠山区\",\n \"昌江区\",\n \"乐平市\",\n \"浮梁县\"\n ]\n },\n {\n \"name\": \"萍乡市\",\n \"area\": [\n \"安源区\",\n \"湘东区\",\n \"莲花县\",\n \"上栗县\",\n \"芦溪县\"\n ]\n },\n {\n \"name\": \"九江市\",\n \"area\": [\n \"浔阳区\",\n \"庐山区\",\n \"瑞昌市\",\n \"九江县\",\n \"星子县\",\n \"武宁县\",\n \"彭泽县\",\n \"永修县\",\n \"修水县\",\n \"湖口县\",\n \"德安县\",\n \"都昌县\"\n ]\n },\n {\n \"name\": \"新余市\",\n \"area\": [\n \"渝水区\",\n \"分宜县\"\n ]\n },\n {\n \"name\": \"鹰潭市\",\n \"area\": [\n \"月湖区\",\n \"贵溪市\",\n \"余江县\"\n ]\n },\n {\n \"name\": \"赣州市\",\n \"area\": [\n \"章贡区\",\n \"瑞金市\",\n \"南康市\",\n \"石城县\",\n \"安远县\",\n \"赣县\",\n \"宁都县\",\n \"寻乌县\",\n \"兴国县\",\n \"定南县\",\n \"上犹县\",\n \"于都县\",\n \"龙南县\",\n \"崇义县\",\n \"信丰县\",\n \"全南县\",\n \"大余县\",\n \"会昌县\"\n ]\n },\n {\n \"name\": \"吉安市\",\n \"area\": [\n \"吉州区\",\n \"青原区\",\n \"井冈山市\",\n \"吉安县\",\n \"永丰县\",\n \"永新县\",\n \"新干县\",\n \"泰和县\",\n \"峡江县\",\n \"遂川县\",\n \"安福县\",\n \"吉水县\",\n \"万安县\"\n ]\n },\n {\n \"name\": \"宜春市\",\n \"area\": [\n \"袁州区\",\n \"丰城市\",\n \"樟树市\",\n \"高安市\",\n \"铜鼓县\",\n \"靖安县\",\n \"宜丰县\",\n \"奉新县\",\n \"万载县\",\n \"上高县\"\n ]\n },\n {\n \"name\": \"抚州市\",\n \"area\": [\n \"临川区\",\n \"南丰县\",\n \"乐安县\",\n \"金溪县\",\n \"南城县\",\n \"东乡县\",\n \"资溪县\",\n \"宜黄县\",\n \"广昌县\",\n \"黎川县\",\n \"崇仁县\"\n ]\n },\n {\n \"name\": \"上饶市\",\n \"area\": [\n \"信州区\",\n \"德兴市\",\n \"上饶县\",\n \"广丰县\",\n \"鄱阳县\",\n \"婺源县\",\n \"铅山县\",\n \"余干县\",\n \"横峰县\",\n \"弋阳县\",\n \"玉山县\",\n \"万年县\"\n ]\n }\n ]\n },\n {\n \"name\": \"山东省\",\n \"city\": [\n {\n \"name\": \"济南市\",\n \"area\": [\n \"市中区\",\n \"历下区\",\n \"天桥区\",\n \"槐荫区\",\n \"历城区\",\n \"长清区\",\n \"章丘市\",\n \"平阴县\",\n \"济阳县\",\n \"商河县\"\n ]\n },\n {\n \"name\": \"青岛市\",\n \"area\": [\n \"市南区\",\n \"市北区\",\n \"城阳区\",\n \"四方区\",\n \"李沧区\",\n \"黄岛区\",\n \"崂山区\",\n \"胶南市\",\n \"胶州市\",\n \"平度市\",\n \"莱西市\",\n \"即墨市\"\n ]\n },\n {\n \"name\": \"淄博市\",\n \"area\": [\n \"张店区\",\n \"临淄区\",\n \"淄川区\",\n \"博山区\",\n \"周村区\",\n \"桓台县\",\n \"高青县\",\n \"沂源县\"\n ]\n },\n {\n \"name\": \"枣庄市\",\n \"area\": [\n \"市中区\",\n \"山亭区\",\n \"峄城区\",\n \"台儿庄区\",\n \"薛城区\",\n \"滕州市\"\n ]\n },\n {\n \"name\": \"东营市\",\n \"area\": [\n \"东营区\",\n \"河口区\",\n \"垦利县\",\n \"广饶县\",\n \"利津县\"\n ]\n },\n {\n \"name\": \"烟台市\",\n \"area\": [\n \"芝罘区\",\n \"福山区\",\n \"牟平区\",\n \"莱山区\",\n \"龙口市\",\n \"莱阳市\",\n \"莱州市\",\n \"招远市\",\n \"蓬莱市\",\n \"栖霞市\",\n \"海阳市\",\n \"长岛县\"\n ]\n },\n {\n \"name\": \"潍坊市\",\n \"area\": [\n \"潍城区\",\n \"寒亭区\",\n \"坊子区\",\n \"奎文区\",\n \"青州市\",\n \"诸城市\",\n \"寿光市\",\n \"安丘市\",\n \"高密市\",\n \"昌邑市\",\n \"昌乐县\",\n \"临朐县\"\n ]\n },\n {\n \"name\": \"济宁市\",\n \"area\": [\n \"市中区\",\n \"任城区\",\n \"曲阜市\",\n \"兖州市\",\n \"邹城市\",\n \"鱼台县\",\n \"金乡县\",\n \"嘉祥县\",\n \"微山县\",\n \"汶上县\",\n \"泗水县\",\n \"梁山县\"\n ]\n },\n {\n \"name\": \"泰安市\",\n \"area\": [\n \"泰山区\",\n \"岱岳区\",\n \"新泰市\",\n \"肥城市\",\n \"宁阳县\",\n \"东平县\"\n ]\n },\n {\n \"name\": \"威海市\",\n \"area\": [\n \"环翠区\",\n \"乳山市\",\n \"文登市\",\n \"荣成市\"\n ]\n },\n {\n \"name\": \"日照市\",\n \"area\": [\n \"东港区\",\n \"岚山区\",\n \"五莲县\",\n \"莒县\"\n ]\n },\n {\n \"name\": \"莱芜市\",\n \"area\": [\n \"莱城区\",\n \"钢城区\"\n ]\n },\n {\n \"name\": \"临沂市\",\n \"area\": [\n \"兰山区\",\n \"罗庄区\",\n \"河东区\",\n \"沂南县\",\n \"郯城县\",\n \"沂水县\",\n \"苍山县\",\n \"费县\",\n \"平邑县\",\n \"莒南县\",\n \"蒙阴县\",\n \"临沭县\"\n ]\n },\n {\n \"name\": \"德州市\",\n \"area\": [\n \"德城区\",\n \"乐陵市\",\n \"禹城市\",\n \"陵县\",\n \"宁津县\",\n \"齐河县\",\n \"武城县\",\n \"庆云县\",\n \"平原县\",\n \"夏津县\",\n \"临邑县\"\n ]\n },\n {\n \"name\": \"聊城市\",\n \"area\": [\n \"东昌府区\",\n \"临清市\",\n \"高唐县\",\n \"阳谷县\",\n \"茌平县\",\n \"莘县\",\n \"东阿县\",\n \"冠县\"\n ]\n },\n {\n \"name\": \"滨州市\",\n \"area\": [\n \"滨城区\",\n \"邹平县\",\n \"沾化县\",\n \"惠民县\",\n \"博兴县\",\n \"阳信县\",\n \"无棣县\"\n ]\n },\n {\n \"name\": \"菏泽市\",\n \"area\": [\n \"牡丹区\",\n \"鄄城县\",\n \"单县\",\n \"郓城县\",\n \"曹县\",\n \"定陶县\",\n \"巨野县\",\n \"东明县\",\n \"成武县\"\n ]\n }\n ]\n },\n {\n \"name\": \"河南省\",\n \"city\": [\n {\n \"name\": \"郑州市\",\n \"area\": [\n \"中原区\",\n \"金水区\",\n \"二七区\",\n \"管城回族区\",\n \"上街区\",\n \"惠济区\",\n \"巩义市\",\n \"新郑市\",\n \"新密市\",\n \"登封市\",\n \"荥阳市\",\n \"中牟县\"\n ]\n },\n {\n \"name\": \"开封市\",\n \"area\": [\n \"鼓楼区\",\n \"龙亭区\",\n \"顺河回族区\",\n \"禹王台区\",\n \"金明区\",\n \"开封县\",\n \"尉氏县\",\n \"兰考县\",\n \"杞县\",\n \"通许县\"\n ]\n },\n {\n \"name\": \"洛阳市\",\n \"area\": [\n \"西工区\",\n \"老城区\",\n \"涧西区\",\n \"瀍河回族区\",\n \"洛龙区\",\n \"吉利区\",\n \"偃师市\",\n \"孟津县\",\n \"汝阳县\",\n \"伊川县\",\n \"洛宁县\",\n \"嵩县\",\n \"宜阳县\",\n \"新安县\",\n \"栾川县\"\n ]\n },\n {\n \"name\": \"平顶山市\",\n \"area\": [\n \"新华区\",\n \"卫东区\",\n \"湛河区\",\n \"石龙区\",\n \"汝州市\",\n \"舞钢市\",\n \"宝丰县\",\n \"叶县\",\n \"郏县\",\n \"鲁山县\"\n ]\n },\n {\n \"name\": \"安阳市\",\n \"area\": [\n \"北关区\",\n \"文峰区\",\n \"殷都区\",\n \"龙安区\",\n \"林州市\",\n \"安阳县\",\n \"滑县\",\n \"内黄县\",\n \"汤阴县\"\n ]\n },\n {\n \"name\": \"鹤壁市\",\n \"area\": [\n \"淇滨区\",\n \"山城区\",\n \"鹤山区\",\n \"浚县\",\n \"淇县\"\n ]\n },\n {\n \"name\": \"新乡市\",\n \"area\": [\n \"卫滨区\",\n \"红旗区\",\n \"凤泉区\",\n \"牧野区\",\n \"卫辉市\",\n \"辉县市\",\n \"新乡县\",\n \"获嘉县\",\n \"原阳县\",\n \"长垣县\",\n \"封丘县\",\n \"延津县\"\n ]\n },\n {\n \"name\": \"焦作市\",\n \"area\": [\n \"解放区\",\n \"中站区\",\n \"马村区\",\n \"山阳区\",\n \"沁阳市\",\n \"孟州市\",\n \"修武县\",\n \"温县\",\n \"武陟县\",\n \"博爱县\"\n ]\n },\n {\n \"name\": \"濮阳市\",\n \"area\": [\n \"华龙区\",\n \"濮阳县\",\n \"南乐县\",\n \"台前县\",\n \"清丰县\",\n \"范县\"\n ]\n },\n {\n \"name\": \"许昌市\",\n \"area\": [\n \"魏都区\",\n \"禹州市\",\n \"长葛市\",\n \"许昌县\",\n \"鄢陵县\",\n \"襄城县\"\n ]\n },\n {\n \"name\": \"漯河市\",\n \"area\": [\n \"源汇区\",\n \"郾城区\",\n \"召陵区\",\n \"临颍县\",\n \"舞阳县\"\n ]\n },\n {\n \"name\": \"三门峡市\",\n \"area\": [\n \"湖滨区\",\n \"义马市\",\n \"灵宝市\",\n \"渑池县\",\n \"卢氏县\",\n \"陕县\"\n ]\n },\n {\n \"name\": \"南阳市\",\n \"area\": [\n \"卧龙区\",\n \"宛城区\",\n \"邓州市\",\n \"桐柏县\",\n \"方城县\",\n \"淅川县\",\n \"镇平县\",\n \"唐河县\",\n \"南召县\",\n \"内乡县\",\n \"新野县\",\n \"社旗县\",\n \"西峡县\"\n ]\n },\n {\n \"name\": \"商丘市\",\n \"area\": [\n \"梁园区\",\n \"睢阳区\",\n \"永城市\",\n \"宁陵县\",\n \"虞城县\",\n \"民权县\",\n \"夏邑县\",\n \"柘城县\",\n \"睢县\"\n ]\n },\n {\n \"name\": \"信阳市\",\n \"area\": [\n \"浉河区\",\n \"平桥区\",\n \"潢川县\",\n \"淮滨县\",\n \"息县\",\n \"新县\",\n \"商城县\",\n \"固始县\",\n \"罗山县\",\n \"光山县\"\n ]\n },\n {\n \"name\": \"周口市\",\n \"area\": [\n \"川汇区\",\n \"项城市\",\n \"商水县\",\n \"淮阳县\",\n \"太康县\",\n \"鹿邑县\",\n \"西华县\",\n \"扶沟县\",\n \"沈丘县\",\n \"郸城县\"\n ]\n },\n {\n \"name\": \"驻马店市\",\n \"area\": [\n \"驿城区\",\n \"确山县\",\n \"新蔡县\",\n \"上蔡县\",\n \"西平县\",\n \"泌阳县\",\n \"平舆县\",\n \"汝南县\",\n \"遂平县\",\n \"正阳县\"\n ]\n },\n {\n \"name\": \"焦作市\",\n \"area\": [\n \"济源市\"\n ]\n }\n ]\n },\n {\n \"name\": \"湖北省\",\n \"city\": [\n {\n \"name\": \"武汉市\",\n \"area\": [\n \"江岸区\",\n \"武昌区\",\n \"江汉区\",\n \"硚口区\",\n \"汉阳区\",\n \"青山区\",\n \"洪山区\",\n \"东西湖区\",\n \"汉南区\",\n \"蔡甸区\",\n \"江夏区\",\n \"黄陂区\",\n \"新洲区\"\n ]\n },\n {\n \"name\": \"黄石市\",\n \"area\": [\n \"黄石港区\",\n \"西塞山区\",\n \"下陆区\",\n \"铁山区\",\n \"大冶市\",\n \"阳新县\"\n ]\n },\n {\n \"name\": \"十堰市\",\n \"area\": [\n \"张湾区\",\n \"茅箭区\",\n \"丹江口市\",\n \"郧县\",\n \"竹山县\",\n \"房县\",\n \"郧西县\",\n \"竹溪县\"\n ]\n },\n {\n \"name\": \"荆州市\",\n \"area\": [\n \"沙市区\",\n \"荆州区\",\n \"洪湖市\",\n \"石首市\",\n \"松滋市\",\n \"监利县\",\n \"公安县\",\n \"江陵县\"\n ]\n },\n {\n \"name\": \"宜昌市\",\n \"area\": [\n \"西陵区\",\n \"伍家岗区\",\n \"点军区\",\n \"猇亭区\",\n \"夷陵区\",\n \"宜都市\",\n \"当阳市\",\n \"枝江市\",\n \"秭归县\",\n \"远安县\",\n \"兴山县\",\n \"五峰土家族自治县\",\n \"长阳土家族自治县\"\n ]\n },\n {\n \"name\": \"襄樊市\",\n \"area\": [\n \"襄城区\",\n \"樊城区\",\n \"襄阳区\",\n \"老河口市\",\n \"枣阳市\",\n \"宜城市\",\n \"南漳县\",\n \"谷城县\",\n \"保康县\"\n ]\n },\n {\n \"name\": \"鄂州市\",\n \"area\": [\n \"鄂城区\",\n \"华容区\",\n \"梁子湖区\"\n ]\n },\n {\n \"name\": \"荆门市\",\n \"area\": [\n \"东宝区\",\n \"掇刀区\",\n \"钟祥市\",\n \"京山县\",\n \"沙洋县\"\n ]\n },\n {\n \"name\": \"孝感市\",\n \"area\": [\n \"孝南区\",\n \"应城市\",\n \"安陆市\",\n \"汉川市\",\n \"云梦县\",\n \"大悟县\",\n \"孝昌县\"\n ]\n },\n {\n \"name\": \"黄冈市\",\n \"area\": [\n \"黄州区\",\n \"麻城市\",\n \"武穴市\",\n \"红安县\",\n \"罗田县\",\n \"浠水县\",\n \"蕲春县\",\n \"黄梅县\",\n \"英山县\",\n \"团风县\"\n ]\n },\n {\n \"name\": \"咸宁市\",\n \"area\": [\n \"咸安区\",\n \"赤壁市\",\n \"嘉鱼县\",\n \"通山县\",\n \"崇阳县\",\n \"通城县\"\n ]\n },\n {\n \"name\": \"随州市\",\n \"area\": [\n \"曾都区\",\n \"广水市\"\n ]\n },\n {\n \"name\": \"恩施土家族苗族自治州\",\n \"area\": [\n \"恩施市\",\n \"利川市\",\n \"建始县\",\n \"来凤县\",\n \"巴东县\",\n \"鹤峰县\",\n \"宣恩县\",\n \"咸丰县\"\n ]\n },\n {\n \"name\": \"仙桃市\",\n \"area\": [\n \"仙桃\"\n ]\n },\n {\n \"name\": \"天门市\",\n \"area\": [\n \"天门\"\n ]\n },\n {\n \"name\": \"潜江市\",\n \"area\": [\n \"潜江\"\n ]\n },\n {\n \"name\": \"神农架林区\",\n \"area\": [\n \"神农架林区\"\n ]\n }\n ]\n },\n {\n \"name\": \"湖南省\",\n \"city\": [\n {\n \"name\": \"长沙市\",\n \"area\": [\n \"岳麓区\",\n \"芙蓉区\",\n \"天心区\",\n \"开福区\",\n \"雨花区\",\n \"浏阳市\",\n \"长沙县\",\n \"望城县\",\n \"宁乡县\"\n ]\n },\n {\n \"name\": \"株洲市\",\n \"area\": [\n \"天元区\",\n \"荷塘区\",\n \"芦淞区\",\n \"石峰区\",\n \"醴陵市\",\n \"株洲县\",\n \"炎陵县\",\n \"茶陵县\",\n \"攸县\"\n ]\n },\n {\n \"name\": \"湘潭市\",\n \"area\": [\n \"岳塘区\",\n \"雨湖区\",\n \"湘乡市\",\n \"韶山市\",\n \"湘潭县\"\n ]\n },\n {\n \"name\": \"衡阳市\",\n \"area\": [\n \"雁峰区\",\n \"珠晖区\",\n \"石鼓区\",\n \"蒸湘区\",\n \"南岳区\",\n \"耒阳市\",\n \"常宁市\",\n \"衡阳县\",\n \"衡东县\",\n \"衡山县\",\n \"衡南县\",\n \"祁东县\"\n ]\n },\n {\n \"name\": \"邵阳市\",\n \"area\": [\n \"双清区\",\n \"大祥区\",\n \"北塔区\",\n \"武冈市\",\n \"邵东县\",\n \"洞口县\",\n \"新邵县\",\n \"绥宁县\",\n \"新宁县\",\n \"邵阳县\",\n \"隆回县\",\n \"城步苗族自治县\"\n ]\n },\n {\n \"name\": \"岳阳市\",\n \"area\": [\n \"岳阳楼区\",\n \"云溪区\",\n \"君山区\",\n \"临湘市\",\n \"汨罗市\",\n \"岳阳县\",\n \"湘阴县\",\n \"平江县\",\n \"华容县\"\n ]\n },\n {\n \"name\": \"常德市\",\n \"area\": [\n \"武陵区\",\n \"鼎城区\",\n \"津市市\",\n \"澧县\",\n \"临澧县\",\n \"桃源县\",\n \"汉寿县\",\n \"安乡县\",\n \"石门县\"\n ]\n },\n {\n \"name\": \"张家界市\",\n \"area\": [\n \"永定区\",\n \"武陵源区\",\n \"慈利县\",\n \"桑植县\"\n ]\n },\n {\n \"name\": \"益阳市\",\n \"area\": [\n \"赫山区\",\n \"资阳区\",\n \"沅江市\",\n \"桃江县\",\n \"南县\",\n \"安化县\"\n ]\n },\n {\n \"name\": \"郴州市\",\n \"area\": [\n \"北湖区\",\n \"苏仙区\",\n \"资兴市\",\n \"宜章县\",\n \"汝城县\",\n \"安仁县\",\n \"嘉禾县\",\n \"临武县\",\n \"桂东县\",\n \"永兴县\",\n \"桂阳县\"\n ]\n },\n {\n \"name\": \"永州市\",\n \"area\": [\n \"冷水滩区\",\n \"零陵区\",\n \"祁阳县\",\n \"蓝山县\",\n \"宁远县\",\n \"新田县\",\n \"东安县\",\n \"江永县\",\n \"道县\",\n \"双牌县\",\n \"江华瑶族自治县\"\n ]\n },\n {\n \"name\": \"怀化市\",\n \"area\": [\n \"鹤城区\",\n \"洪江市\",\n \"会同县\",\n \"沅陵县\",\n \"辰溪县\",\n \"溆浦县\",\n \"中方县\",\n \"新晃侗族自治县\",\n \"芷江侗族自治县\",\n \"通道侗族自治县\",\n \"靖州苗族侗族自治县\",\n \"麻阳苗族自治县\"\n ]\n },\n {\n \"name\": \"娄底市\",\n \"area\": [\n \"娄星区\",\n \"冷水江市\",\n \"涟源市\",\n \"新化县\",\n \"双峰县\"\n ]\n },\n {\n \"name\": \"湘西土家族苗族自治州\",\n \"area\": [\n \"吉首市\",\n \"古丈县\",\n \"龙山县\",\n \"永顺县\",\n \"凤凰县\",\n \"泸溪县\",\n \"保靖县\",\n \"花垣县\"\n ]\n }\n ]\n },\n {\n \"name\": \"广东省\",\n \"city\": [\n {\n \"name\": \"广州市\",\n \"area\": [\n \"越秀区\",\n \"荔湾区\",\n \"海珠区\",\n \"天河区\",\n \"白云区\",\n \"黄埔区\",\n \"番禺区\",\n \"花都区\",\n \"南沙区\",\n \"萝岗区\",\n \"增城市\",\n \"从化市\"\n ]\n },\n {\n \"name\": \"深圳市\",\n \"area\": [\n \"福田区\",\n \"罗湖区\",\n \"南山区\",\n \"宝安区\",\n \"龙岗区\",\n \"盐田区\"\n ]\n },\n {\n \"name\": \"东莞市\",\n \"area\": [\n \"莞城\",\n \"常平\",\n \"塘厦\",\n \"塘厦\",\n \"塘厦\"\n ]\n },\n {\n \"name\": \"中山市\",\n \"area\": [\n \"中山\"\n ]\n },\n {\n \"name\": \"潮州市\",\n \"area\": [\n \"湘桥区\",\n \"潮安县\",\n \"饶平县\"\n ]\n },\n {\n \"name\": \"揭阳市\",\n \"area\": [\n \"榕城区\",\n \"揭东县\",\n \"揭西县\",\n \"惠来县\",\n \"普宁市\"\n ]\n },\n {\n \"name\": \"云浮市\",\n \"area\": [\n \"云城区\",\n \"新兴县\",\n \"郁南县\",\n \"云安县\",\n \"罗定市\"\n ]\n },\n {\n \"name\": \"珠海市\",\n \"area\": [\n \"香洲区\",\n \"斗门区\",\n \"金湾区\"\n ]\n },\n {\n \"name\": \"汕头市\",\n \"area\": [\n \"金平区\",\n \"濠江区\",\n \"龙湖区\",\n \"潮阳区\",\n \"潮南区\",\n \"澄海区\",\n \"南澳县\"\n ]\n },\n {\n \"name\": \"韶关市\",\n \"area\": [\n \"浈江区\",\n \"武江区\",\n \"曲江区\",\n \"乐昌市\",\n \"南雄市\",\n \"始兴县\",\n \"仁化县\",\n \"翁源县\",\n \"新丰县\",\n \"乳源瑶族自治县\"\n ]\n },\n {\n \"name\": \"佛山市\",\n \"area\": [\n \"禅城区\",\n \"南海区\",\n \"顺德区\",\n \"三水区\",\n \"高明区\"\n ]\n },\n {\n \"name\": \"江门市\",\n \"area\": [\n \"蓬江区\",\n \"江海区\",\n \"新会区\",\n \"恩平市\",\n \"台山市\",\n \"开平市\",\n \"鹤山市\"\n ]\n },\n {\n \"name\": \"湛江市\",\n \"area\": [\n \"赤坎区\",\n \"霞山区\",\n \"坡头区\",\n \"麻章区\",\n \"吴川市\",\n \"廉江市\",\n \"雷州市\",\n \"遂溪县\",\n \"徐闻县\"\n ]\n },\n {\n \"name\": \"茂名市\",\n \"area\": [\n \"茂南区\",\n \"茂港区\",\n \"化州市\",\n \"信宜市\",\n \"高州市\",\n \"电白县\"\n ]\n },\n {\n \"name\": \"肇庆市\",\n \"area\": [\n \"端州区\",\n \"鼎湖区\",\n \"高要市\",\n \"四会市\",\n \"广宁县\",\n \"怀集县\",\n \"封开县\",\n \"德庆县\"\n ]\n },\n {\n \"name\": \"惠州市\",\n \"area\": [\n \"惠城区\",\n \"惠阳区\",\n \"博罗县\",\n \"惠东县\",\n \"龙门县\"\n ]\n },\n {\n \"name\": \"梅州市\",\n \"area\": [\n \"梅江区\",\n \"兴宁市\",\n \"梅县\",\n \"大埔县\",\n \"丰顺县\",\n \"五华县\",\n \"平远县\",\n \"蕉岭县\"\n ]\n },\n {\n \"name\": \"汕尾市\",\n \"area\": [\n \"城区\",\n \"陆丰市\",\n \"海丰县\",\n \"陆河县\"\n ]\n },\n {\n \"name\": \"河源市\",\n \"area\": [\n \"源城区\",\n \"紫金县\",\n \"龙川县\",\n \"连平县\",\n \"和平县\",\n \"东源县\"\n ]\n },\n {\n \"name\": \"阳江市\",\n \"area\": [\n \"江城区\",\n \"阳春市\",\n \"阳西县\",\n \"阳东县\"\n ]\n },\n {\n \"name\": \"清远市\",\n \"area\": [\n \"清城区\",\n \"英德市\",\n \"连州市\",\n \"佛冈县\",\n \"阳山县\",\n \"清新县\",\n \"连山壮族瑶族自治县\",\n \"连南瑶族自治县\"\n ]\n }\n ]\n },\n {\n \"name\": \"广西\",\n \"city\": [\n {\n \"name\": \"南宁市\",\n \"area\": [\n \"青秀区\",\n \"兴宁区\",\n \"西乡塘区\",\n \"良庆区\",\n \"江南区\",\n \"邕宁区\",\n \"武鸣县\",\n \"隆安县\",\n \"马山县\",\n \"上林县\",\n \"宾阳县\",\n \"横县\"\n ]\n },\n {\n \"name\": \"柳州市\",\n \"area\": [\n \"城中区\",\n \"鱼峰区\",\n \"柳北区\",\n \"柳南区\",\n \"柳江县\",\n \"柳城县\",\n \"鹿寨县\",\n \"融安县\",\n \"融水苗族自治县\",\n \"三江侗族自治县\"\n ]\n },\n {\n \"name\": \"桂林市\",\n \"area\": [\n \"象山区\",\n \"秀峰区\",\n \"叠彩区\",\n \"七星区\",\n \"雁山区\",\n \"阳朔县\",\n \"临桂县\",\n \"灵川县\",\n \"全州县\",\n \"平乐县\",\n \"兴安县\",\n \"灌阳县\",\n \"荔浦县\",\n \"资源县\",\n \"永福县\",\n \"龙胜各族自治县\",\n \"恭城瑶族自治县\"\n ]\n },\n {\n \"name\": \"梧州市\",\n \"area\": [\n \"万秀区\",\n \"蝶山区\",\n \"长洲区\",\n \"岑溪市\",\n \"苍梧县\",\n \"藤县\",\n \"蒙山县\"\n ]\n },\n {\n \"name\": \"北海市\",\n \"area\": [\n \"海城区\",\n \"银海区\",\n \"铁山港区\",\n \"合浦县\"\n ]\n },\n {\n \"name\": \"防城港市\",\n \"area\": [\n \"港口区\",\n \"防城区\",\n \"东兴市\",\n \"上思县\"\n ]\n },\n {\n \"name\": \"钦州市\",\n \"area\": [\n \"钦南区\",\n \"钦北区\",\n \"灵山县\",\n \"浦北县\"\n ]\n },\n {\n \"name\": \"贵港市\",\n \"area\": [\n \"港北区\",\n \"港南区\",\n \"覃塘区\",\n \"桂平市\",\n \"平南县\"\n ]\n },\n {\n \"name\": \"玉林市\",\n \"area\": [\n \"玉州区\",\n \"北流市\",\n \"容县\",\n \"陆川县\",\n \"博白县\",\n \"兴业县\"\n ]\n },\n {\n \"name\": \"百色市\",\n \"area\": [\n \"右江区\",\n \"凌云县\",\n \"平果县\",\n \"西林县\",\n \"乐业县\",\n \"德保县\",\n \"田林县\",\n \"田阳县\",\n \"靖西县\",\n \"田东县\",\n \"那坡县\",\n \"隆林各族自治县\"\n ]\n },\n {\n \"name\": \"贺州市\",\n \"area\": [\n \"八步区\",\n \"钟山县\",\n \"昭平县\",\n \"富川瑶族自治县\"\n ]\n },\n {\n \"name\": \"河池市\",\n \"area\": [\n \"金城江区\",\n \"宜州市\",\n \"天峨县\",\n \"凤山县\",\n \"南丹县\",\n \"东兰县\",\n \"都安瑶族自治县\",\n \"罗城仫佬族自治县\",\n \"巴马瑶族自治县\",\n \"环江毛南族自治县\",\n \"大化瑶族自治县\"\n ]\n },\n {\n \"name\": \"来宾市\",\n \"area\": [\n \"兴宾区\",\n \"合山市\",\n \"象州县\",\n \"武宣县\",\n \"忻城县\",\n \"金秀瑶族自治县\"\n ]\n },\n {\n \"name\": \"崇左市\",\n \"area\": [\n \"江州区\",\n \"凭祥市\",\n \"宁明县\",\n \"扶绥县\",\n \"龙州县\",\n \"大新县\",\n \"天等县\"\n ]\n }\n ]\n },\n {\n \"name\": \"海南省\",\n \"city\": [\n {\n \"name\": \"海口市\",\n \"area\": [\n \"龙华区\",\n \"秀英区\",\n \"琼山区\",\n \"美兰区\"\n ]\n },\n {\n \"name\": \"三亚市\",\n \"area\": [\n \"三亚市\"\n ]\n },\n {\n \"name\": \"五指山市\",\n \"area\": [\n \"五指山\"\n ]\n },\n {\n \"name\": \"琼海市\",\n \"area\": [\n \"琼海\"\n ]\n },\n {\n \"name\": \"儋州市\",\n \"area\": [\n \"儋州\"\n ]\n },\n {\n \"name\": \"文昌市\",\n \"area\": [\n \"文昌\"\n ]\n },\n {\n \"name\": \"万宁市\",\n \"area\": [\n \"万宁\"\n ]\n },\n {\n \"name\": \"东方市\",\n \"area\": [\n \"东方\"\n ]\n },\n {\n \"name\": \"澄迈县\",\n \"area\": [\n \"澄迈县\"\n ]\n },\n {\n \"name\": \"定安县\",\n \"area\": [\n \"定安县\"\n ]\n },\n {\n \"name\": \"屯昌县\",\n \"area\": [\n \"屯昌县\"\n ]\n },\n {\n \"name\": \"临高县\",\n \"area\": [\n \"临高县\"\n ]\n },\n {\n \"name\": \"白沙黎族自治县\",\n \"area\": [\n \"白沙黎族自治县\"\n ]\n },\n {\n \"name\": \"昌江黎族自治县\",\n \"area\": [\n \"昌江黎族自治县\"\n ]\n },\n {\n \"name\": \"乐东黎族自治县\",\n \"area\": [\n \"乐东黎族自治县\"\n ]\n },\n {\n \"name\": \"陵水黎族自治县\",\n \"area\": [\n \"陵水黎族自治县\"\n ]\n },\n {\n \"name\": \"保亭黎族苗族自治县\",\n \"area\": [\n \"保亭黎族苗族自治县\"\n ]\n },\n {\n \"name\": \"琼中黎族苗族自治县\",\n \"area\": [\n \"琼中黎族苗族自治县\"\n ]\n }\n ]\n },\n {\n \"name\": \"重庆市\",\n \"city\": [\n {\n \"name\": \"重庆市\",\n \"area\": [\n \"渝中区\",\n \"大渡口区\",\n \"江北区\",\n \"南岸区\",\n \"北碚区\",\n \"渝北区\",\n \"巴南区\",\n \"长寿区\",\n \"双桥区\",\n \"沙坪坝区\",\n \"万盛区\",\n \"万州区\",\n \"涪陵区\",\n \"黔江区\",\n \"永川区\",\n \"合川区\",\n \"江津区\",\n \"九龙坡区\",\n \"南川区\",\n \"綦江县\",\n \"潼南县\",\n \"荣昌县\",\n \"璧山县\",\n \"大足县\",\n \"铜梁县\",\n \"梁平县\",\n \"开县\",\n \"忠县\",\n \"城口县\",\n \"垫江县\",\n \"武隆县\",\n \"丰都县\",\n \"奉节县\",\n \"云阳县\",\n \"巫溪县\",\n \"巫山县\",\n \"石柱土家族自治县\",\n \"秀山土家族苗族自治县\",\n \"酉阳土家族苗族自治县\",\n \"彭水苗族土家族自治县\"\n ]\n }\n ]\n },\n {\n \"name\": \"四川省\",\n \"city\": [\n {\n \"name\": \"成都市\",\n \"area\": [\n \"青羊区\",\n \"锦江区\",\n \"金牛区\",\n \"武侯区\",\n \"成华区\",\n \"龙泉驿区\",\n \"青白江区\",\n \"新都区\",\n \"温江区\",\n \"都江堰市\",\n \"彭州市\",\n \"邛崃市\",\n \"崇州市\",\n \"金堂县\",\n \"郫县\",\n \"新津县\",\n \"双流县\",\n \"蒲江县\",\n \"大邑县\"\n ]\n },\n {\n \"name\": \"自贡市\",\n \"area\": [\n \"大安区\",\n \"自流井区\",\n \"贡井区\",\n \"沿滩区\",\n \"荣县\",\n \"富顺县\"\n ]\n },\n {\n \"name\": \"攀枝花市\",\n \"area\": [\n \"仁和区\",\n \"米易县\",\n \"盐边县\",\n \"东区\",\n \"西区\"\n ]\n },\n {\n \"name\": \"泸州市\",\n \"area\": [\n \"江阳区\",\n \"纳溪区\",\n \"龙马潭区\",\n \"泸县\",\n \"合江县\",\n \"叙永县\",\n \"古蔺县\"\n ]\n },\n {\n \"name\": \"德阳市\",\n \"area\": [\n \"旌阳区\",\n \"广汉市\",\n \"什邡市\",\n \"绵竹市\",\n \"罗江县\",\n \"中江县\"\n ]\n },\n {\n \"name\": \"绵阳市\",\n \"area\": [\n \"涪城区\",\n \"游仙区\",\n \"江油市\",\n \"盐亭县\",\n \"三台县\",\n \"平武县\",\n \"安县\",\n \"梓潼县\",\n \"北川羌族自治县\"\n ]\n },\n {\n \"name\": \"广元市\",\n \"area\": [\n \"元坝区\",\n \"朝天区\",\n \"青川县\",\n \"旺苍县\",\n \"剑阁县\",\n \"苍溪县\",\n \"市中区\"\n ]\n },\n {\n \"name\": \"遂宁市\",\n \"area\": [\n \"船山区\",\n \"安居区\",\n \"射洪县\",\n \"蓬溪县\",\n \"大英县\"\n ]\n },\n {\n \"name\": \"内江市\",\n \"area\": [\n \"市中区\",\n \"东兴区\",\n \"资中县\",\n \"隆昌县\",\n \"威远县\"\n ]\n },\n {\n \"name\": \"乐山市\",\n \"area\": [\n \"市中区\",\n \"五通桥区\",\n \"沙湾区\",\n \"金口河区\",\n \"峨眉山市\",\n \"夹江县\",\n \"井研县\",\n \"犍为县\",\n \"沐川县\",\n \"马边彝族自治县\",\n \"峨边彝族自治县\"\n ]\n },\n {\n \"name\": \"南充\",\n \"area\": [\n \"顺庆区\",\n \"高坪区\",\n \"嘉陵区\",\n \"阆中市\",\n \"营山县\",\n \"蓬安县\",\n \"仪陇县\",\n \"南部县\",\n \"西充县\"\n ]\n },\n {\n \"name\": \"眉山市\",\n \"area\": [\n \"东坡区\",\n \"仁寿县\",\n \"彭山县\",\n \"洪雅县\",\n \"丹棱县\",\n \"青神县\"\n ]\n },\n {\n \"name\": \"宜宾市\",\n \"area\": [\n \"翠屏区\",\n \"宜宾县\",\n \"兴文县\",\n \"南溪县\",\n \"珙县\",\n \"长宁县\",\n \"高县\",\n \"江安县\",\n \"筠连县\",\n \"屏山县\"\n ]\n },\n {\n \"name\": \"广安市\",\n \"area\": [\n \"广安区\",\n \"华蓥市\",\n \"岳池县\",\n \"邻水县\",\n \"武胜县\"\n ]\n },\n {\n \"name\": \"达州市\",\n \"area\": [\n \"通川区\",\n \"万源市\",\n \"达县\",\n \"渠县\",\n \"宣汉县\",\n \"开江县\",\n \"大竹县\"\n ]\n },\n {\n \"name\": \"雅安市\",\n \"area\": [\n \"雨城区\",\n \"芦山县\",\n \"石棉县\",\n \"名山县\",\n \"天全县\",\n \"荥经县\",\n \"宝兴县\",\n \"汉源县\"\n ]\n },\n {\n \"name\": \"巴中市\",\n \"area\": [\n \"巴州区\",\n \"南江县\",\n \"平昌县\",\n \"通江县\"\n ]\n },\n {\n \"name\": \"资阳市\",\n \"area\": [\n \"雁江区\",\n \"简阳市\",\n \"安岳县\",\n \"乐至县\"\n ]\n },\n {\n \"name\": \"阿坝藏族羌族自治州\",\n \"area\": [\n \"马尔康县\",\n \"九寨沟县\",\n \"红原县\",\n \"汶川县\",\n \"阿坝县\",\n \"理县\",\n \"若尔盖县\",\n \"小金县\",\n \"黑水县\",\n \"金川县\",\n \"松潘县\",\n \"壤塘县\",\n \"茂县\"\n ]\n },\n {\n \"name\": \"甘孜藏族自治州\",\n \"area\": [\n \"康定县\",\n \"丹巴县\",\n \"炉霍县\",\n \"九龙县\",\n \"甘孜县\",\n \"雅江县\",\n \"新龙县\",\n \"道孚县\",\n \"白玉县\",\n \"理塘县\",\n \"德格县\",\n \"乡城县\",\n \"石渠县\",\n \"稻城县\",\n \"色达县\",\n \"巴塘县\",\n \"泸定县\",\n \"得荣县\"\n ]\n },\n {\n \"name\": \"凉山彝族自治州\",\n \"area\": [\n \"西昌市\",\n \"美姑县\",\n \"昭觉县\",\n \"金阳县\",\n \"甘洛县\",\n \"布拖县\",\n \"雷波县\",\n \"普格县\",\n \"宁南县\",\n \"喜德县\",\n \"会东县\",\n \"越西县\",\n \"会理县\",\n \"盐源县\",\n \"德昌县\",\n \"冕宁县\",\n \"木里藏族自治县\"\n ]\n }\n ]\n },\n {\n \"name\": \"贵州省\",\n \"city\": [\n {\n \"name\": \"贵阳市\",\n \"area\": [\n \"南明区\",\n \"云岩区\",\n \"花溪区\",\n \"乌当区\",\n \"白云区\",\n \"小河区\",\n \"清镇市\",\n \"开阳县\",\n \"修文县\",\n \"息烽县\"\n ]\n },\n {\n \"name\": \"六盘水市\",\n \"area\": [\n \"钟山区\",\n \"水城县\",\n \"盘县\",\n \"六枝特区\"\n ]\n },\n {\n \"name\": \"遵义市\",\n \"area\": [\n \"红花岗区\",\n \"汇川区\",\n \"赤水市\",\n \"仁怀市\",\n \"遵义县\",\n \"绥阳县\",\n \"桐梓县\",\n \"习水县\",\n \"凤冈县\",\n \"正安县\",\n \"余庆县\",\n \"湄潭县\",\n \"道真仡佬族苗族自治县\",\n \"务川仡佬族苗族自治县\"\n ]\n },\n {\n \"name\": \"安顺市\",\n \"area\": [\n \"西秀区\",\n \"普定县\",\n \"平坝县\",\n \"镇宁布依族苗族自治县\",\n \"紫云苗族布依族自治县\",\n \"关岭布依族苗族自治县\"\n ]\n },\n {\n \"name\": \"铜仁地区\",\n \"area\": [\n \"铜仁市\",\n \"德江县\",\n \"江口县\",\n \"思南县\",\n \"石阡县\",\n \"玉屏侗族自治县\",\n \"松桃苗族自治县\",\n \"印江土家族苗族自治县\",\n \"沿河土家族自治县\",\n \"万山特区\"\n ]\n },\n {\n \"name\": \"毕节地区\",\n \"area\": [\n \"毕节市\",\n \"黔西县\",\n \"大方县\",\n \"织金县\",\n \"金沙县\",\n \"赫章县\",\n \"纳雍县\",\n \"威宁彝族回族苗族自治县\"\n ]\n },\n {\n \"name\": \"黔西南布依族苗族自治州\",\n \"area\": [\n \"兴义市\",\n \"望谟县\",\n \"兴仁县\",\n \"普安县\",\n \"册亨县\",\n \"晴隆县\",\n \"贞丰县\",\n \"安龙县\"\n ]\n },\n {\n \"name\": \"黔东南苗族侗族自治州\",\n \"area\": [\n \"凯里市\",\n \"施秉县\",\n \"从江县\",\n \"锦屏县\",\n \"镇远县\",\n \"麻江县\",\n \"台江县\",\n \"天柱县\",\n \"黄平县\",\n \"榕江县\",\n \"剑河县\",\n \"三穗县\",\n \"雷山县\",\n \"黎平县\",\n \"岑巩县\",\n \"丹寨县\"\n ]\n },\n {\n \"name\": \"黔南布依族苗族自治州\",\n \"area\": [\n \"都匀市\",\n \"福泉市\",\n \"贵定县\",\n \"惠水县\",\n \"罗甸县\",\n \"瓮安县\",\n \"荔波县\",\n \"龙里县\",\n \"平塘县\",\n \"长顺县\",\n \"独山县\",\n \"三都水族自治县\"\n ]\n }\n ]\n },\n {\n \"name\": \"云南省\",\n \"city\": [\n {\n \"name\": \"昆明市\",\n \"area\": [\n \"盘龙区\",\n \"五华区\",\n \"官渡区\",\n \"西山区\",\n \"东川区\",\n \"安宁市\",\n \"呈贡县\",\n \"晋宁县\",\n \"富民县\",\n \"宜良县\",\n \"嵩明县\",\n \"石林彝族自治县\",\n \"禄劝彝族苗族自治县\",\n \"寻甸回族彝族自治县\"\n ]\n },\n {\n \"name\": \"曲靖市\",\n \"area\": [\n \"麒麟区\",\n \"宣威市\",\n \"马龙县\",\n \"沾益县\",\n \"富源县\",\n \"罗平县\",\n \"师宗县\",\n \"陆良县\",\n \"会泽县\"\n ]\n },\n {\n \"name\": \"玉溪市\",\n \"area\": [\n \"红塔区\",\n \"江川县\",\n \"澄江县\",\n \"通海县\",\n \"华宁县\",\n \"易门县\",\n \"峨山彝族自治县\",\n \"新平彝族傣族自治县\",\n \"元江哈尼族彝族傣族自治县\"\n ]\n },\n {\n \"name\": \"保山市\",\n \"area\": [\n \"隆阳区\",\n \"施甸县\",\n \"腾冲县\",\n \"龙陵县\",\n \"昌宁县\"\n ]\n },\n {\n \"name\": \"昭通市\",\n \"area\": [\n \"昭阳区\",\n \"鲁甸县\",\n \"巧家县\",\n \"盐津县\",\n \"大关县\",\n \"永善县\",\n \"绥江县\",\n \"镇雄县\",\n \"彝良县\",\n \"威信县\",\n \"水富县\"\n ]\n },\n {\n \"name\": \"丽江市\",\n \"area\": [\n \"古城区\",\n \"永胜县\",\n \"华坪县\",\n \"玉龙纳西族自治县\",\n \"宁蒗彝族自治县\"\n ]\n },\n {\n \"name\": \"普洱市\",\n \"area\": [\n \"思茅区\",\n \"普洱哈尼族彝族自治县\",\n \"墨江哈尼族自治县\",\n \"景东彝族自治县\",\n \"景谷傣族彝族自治县\",\n \"镇沅彝族哈尼族拉祜族自治县\",\n \"江城哈尼族彝族自治县\",\n \"孟连傣族拉祜族佤族自治县\",\n \"澜沧拉祜族自治县\",\n \"西盟佤族自治县\"\n ]\n },\n {\n \"name\": \"临沧市\",\n \"area\": [\n \"临翔区\",\n \"凤庆县\",\n \"云县\",\n \"永德县\",\n \"镇康县\",\n \"双江拉祜族佤族布朗族傣族自治县\",\n \"耿马傣族佤族自治县\",\n \"沧源佤族自治县\"\n ]\n },\n {\n \"name\": \"德宏傣族景颇族自治州\",\n \"area\": [\n \"潞西市\",\n \"瑞丽市\",\n \"梁河县\",\n \"盈江县\",\n \"陇川县\"\n ]\n },\n {\n \"name\": \"怒江傈僳族自治州\",\n \"area\": [\n \"泸水县\",\n \"福贡县\",\n \"贡山独龙族怒族自治县\",\n \"兰坪白族普米族自治县\"\n ]\n },\n {\n \"name\": \"迪庆藏族自治州\",\n \"area\": [\n \"香格里拉县\",\n \"德钦县\",\n \"维西傈僳族自治县\"\n ]\n },\n {\n \"name\": \"大理白族自治州\",\n \"area\": [\n \"大理市\",\n \"祥云县\",\n \"宾川县\",\n \"弥渡县\",\n \"永平县\",\n \"云龙县\",\n \"洱源县\",\n \"剑川县\",\n \"鹤庆县\",\n \"漾濞彝族自治县\",\n \"南涧彝族自治县\",\n \"巍山彝族回族自治县\"\n ]\n },\n {\n \"name\": \"楚雄彝族自治州\",\n \"area\": [\n \"楚雄市\",\n \"双柏县\",\n \"牟定县\",\n \"南华县\",\n \"姚安县\",\n \"大姚县\",\n \"永仁县\",\n \"元谋县\",\n \"武定县\",\n \"禄丰县\"\n ]\n },\n {\n \"name\": \"红河哈尼族彝族自治州\",\n \"area\": [\n \"蒙自县\",\n \"个旧市\",\n \"开远市\",\n \"绿春县\",\n \"建水县\",\n \"石屏县\",\n \"弥勒县\",\n \"泸西县\",\n \"元阳县\",\n \"红河县\",\n \"金平苗族瑶族傣族自治县\",\n \"河口瑶族自治县\",\n \"屏边苗族自治县\"\n ]\n },\n {\n \"name\": \"文山壮族苗族自治州\",\n \"area\": [\n \"文山县\",\n \"砚山县\",\n \"西畴县\",\n \"麻栗坡县\",\n \"马关县\",\n \"丘北县\",\n \"广南县\",\n \"富宁县\"\n ]\n },\n {\n \"name\": \"西双版纳傣族自治州\",\n \"area\": [\n \"景洪市\",\n \"勐海县\",\n \"勐腊县\"\n ]\n }\n ]\n },\n {\n \"name\": \"西藏\",\n \"city\": [\n {\n \"name\": \"拉萨市\",\n \"area\": [\n \"城关区\",\n \"林周县\",\n \"当雄县\",\n \"尼木县\",\n \"曲水县\",\n \"堆龙德庆县\",\n \"达孜县\",\n \"墨竹工卡县\"\n ]\n },\n {\n \"name\": \"那曲地区\",\n \"area\": [\n \"那曲县\",\n \"嘉黎县\",\n \"比如县\",\n \"聂荣县\",\n \"安多县\",\n \"申扎县\",\n \"索县\",\n \"班戈县\",\n \"巴青县\",\n \"尼玛县\"\n ]\n },\n {\n \"name\": \"昌都地区\",\n \"area\": [\n \"昌都县\",\n \"江达县\",\n \"贡觉县\",\n \"类乌齐县\",\n \"丁青县\",\n \"察雅县\",\n \"八宿县\",\n \"左贡县\",\n \"芒康县\",\n \"洛隆县\",\n \"边坝县\"\n ]\n },\n {\n \"name\": \"林芝地区\",\n \"area\": [\n \"林芝县\",\n \"工布江达县\",\n \"米林县\",\n \"墨脱县\",\n \"波密县\",\n \"察隅县\",\n \"朗县\"\n ]\n },\n {\n \"name\": \"山南地区\",\n \"area\": [\n \"乃东县\",\n \"扎囊县\",\n \"贡嘎县\",\n \"桑日县\",\n \"琼结县\",\n \"曲松县\",\n \"措美县\",\n \"洛扎县\",\n \"加查县\",\n \"隆子县\",\n \"错那县\",\n \"浪卡子县\"\n ]\n },\n {\n \"name\": \"日喀则地区\",\n \"area\": [\n \"日喀则市\",\n \"南木林县\",\n \"江孜县\",\n \"定日县\",\n \"萨迦县\",\n \"拉孜县\",\n \"昂仁县\",\n \"谢通门县\",\n \"白朗县\",\n \"仁布县\",\n \"康马县\",\n \"定结县\",\n \"仲巴县\",\n \"亚东县\",\n \"吉隆县\",\n \"聂拉木县\",\n \"萨嘎县\",\n \"岗巴县\"\n ]\n },\n {\n \"name\": \"阿里地区\",\n \"area\": [\n \"噶尔县\",\n \"普兰县\",\n \"札达县\",\n \"日土县\",\n \"革吉县\",\n \"改则县\",\n \"措勤县\"\n ]\n }\n ]\n },\n {\n \"name\": \"陕西省\",\n \"city\": [\n {\n \"name\": \"西安市\",\n \"area\": [\n \"莲湖区\",\n \"新城区\",\n \"碑林区\",\n \"雁塔区\",\n \"灞桥区\",\n \"未央区\",\n \"阎良区\",\n \"临潼区\",\n \"长安区\",\n \"高陵县\",\n \"蓝田县\",\n \"户县\",\n \"周至县\"\n ]\n },\n {\n \"name\": \"铜川市\",\n \"area\": [\n \"耀州区\",\n \"王益区\",\n \"印台区\",\n \"宜君县\"\n ]\n },\n {\n \"name\": \"宝鸡市\",\n \"area\": [\n \"渭滨区\",\n \"金台区\",\n \"陈仓区\",\n \"岐山县\",\n \"凤翔县\",\n \"陇县\",\n \"太白县\",\n \"麟游县\",\n \"扶风县\",\n \"千阳县\",\n \"眉县\",\n \"凤县\"\n ]\n },\n {\n \"name\": \"咸阳市\",\n \"area\": [\n \"秦都区\",\n \"渭城区\",\n \"杨陵区\",\n \"兴平市\",\n \"礼泉县\",\n \"泾阳县\",\n \"永寿县\",\n \"三原县\",\n \"彬县\",\n \"旬邑县\",\n \"长武县\",\n \"乾县\",\n \"武功县\",\n \"淳化县\"\n ]\n },\n {\n \"name\": \"渭南市\",\n \"area\": [\n \"临渭区\",\n \"韩城市\",\n \"华阴市\",\n \"蒲城县\",\n \"潼关县\",\n \"白水县\",\n \"澄城县\",\n \"华县\",\n \"合阳县\",\n \"富平县\",\n \"大荔县\"\n ]\n },\n {\n \"name\": \"延安市\",\n \"area\": [\n \"宝塔区\",\n \"安塞县\",\n \"洛川县\",\n \"子长县\",\n \"黄陵县\",\n \"延川县\",\n \"富县\",\n \"延长县\",\n \"甘泉县\",\n \"宜川县\",\n \"志丹县\",\n \"黄龙县\",\n \"吴起县\"\n ]\n },\n {\n \"name\": \"汉中市\",\n \"area\": [\n \"汉台区\",\n \"留坝县\",\n \"镇巴县\",\n \"城固县\",\n \"南郑县\",\n \"洋县\",\n \"宁强县\",\n \"佛坪县\",\n \"勉县\",\n \"西乡县\",\n \"略阳县\"\n ]\n },\n {\n \"name\": \"榆林市\",\n \"area\": [\n \"榆阳区\",\n \"清涧县\",\n \"绥德县\",\n \"神木县\",\n \"佳县\",\n \"府谷县\",\n \"子洲县\",\n \"靖边县\",\n \"横山县\",\n \"米脂县\",\n \"吴堡县\",\n \"定边县\"\n ]\n },\n {\n \"name\": \"安康市\",\n \"area\": [\n \"汉滨区\",\n \"紫阳县\",\n \"岚皋县\",\n \"旬阳县\",\n \"镇坪县\",\n \"平利县\",\n \"石泉县\",\n \"宁陕县\",\n \"白河县\",\n \"汉阴县\"\n ]\n },\n {\n \"name\": \"商洛市\",\n \"area\": [\n \"商州区\",\n \"镇安县\",\n \"山阳县\",\n \"洛南县\",\n \"商南县\",\n \"丹凤县\",\n \"柞水县\"\n ]\n }\n ]\n },\n {\n \"name\": \"甘肃省\",\n \"city\": [\n {\n \"name\": \"兰州市\",\n \"area\": [\n \"城关区\",\n \"七里河区\",\n \"西固区\",\n \"安宁区\",\n \"红古区\",\n \"永登县\",\n \"皋兰县\",\n \"榆中县\"\n ]\n },\n {\n \"name\": \"嘉峪关市\",\n \"area\": [\n \"嘉峪关市\"\n ]\n },\n {\n \"name\": \"金昌市\",\n \"area\": [\n \"金川区\",\n \"永昌县\"\n ]\n },\n {\n \"name\": \"白银市\",\n \"area\": [\n \"白银区\",\n \"平川区\",\n \"靖远县\",\n \"会宁县\",\n \"景泰县\"\n ]\n },\n {\n \"name\": \"天水市\",\n \"area\": [\n \"清水县\",\n \"秦安县\",\n \"甘谷县\",\n \"武山县\",\n \"张家川回族自治县\",\n \"北道区\",\n \"秦城区\"\n ]\n },\n {\n \"name\": \"武威市\",\n \"area\": [\n \"凉州区\",\n \"民勤县\",\n \"古浪县\",\n \"天祝藏族自治县\"\n ]\n },\n {\n \"name\": \"酒泉市\",\n \"area\": [\n \"肃州区\",\n \"玉门市\",\n \"敦煌市\",\n \"金塔县\",\n \"肃北蒙古族自治县\",\n \"阿克塞哈萨克族自治县\",\n \"安西县\"\n ]\n },\n {\n \"name\": \"张掖市\",\n \"area\": [\n \"甘州区\",\n \"民乐县\",\n \"临泽县\",\n \"高台县\",\n \"山丹县\",\n \"肃南裕固族自治县\"\n ]\n },\n {\n \"name\": \"庆阳市\",\n \"area\": [\n \"西峰区\",\n \"庆城县\",\n \"环县\",\n \"华池县\",\n \"合水县\",\n \"正宁县\",\n \"宁县\",\n \"镇原县\"\n ]\n },\n {\n \"name\": \"平凉市\",\n \"area\": [\n \"崆峒区\",\n \"泾川县\",\n \"灵台县\",\n \"崇信县\",\n \"华亭县\",\n \"庄浪县\",\n \"静宁县\"\n ]\n },\n {\n \"name\": \"定西市\",\n \"area\": [\n \"安定区\",\n \"通渭县\",\n \"临洮县\",\n \"漳县\",\n \"岷县\",\n \"渭源县\",\n \"陇西县\"\n ]\n },\n {\n \"name\": \"陇南市\",\n \"area\": [\n \"武都区\",\n \"成县\",\n \"宕昌县\",\n \"康县\",\n \"文县\",\n \"西和县\",\n \"礼县\",\n \"两当县\",\n \"徽县\"\n ]\n },\n {\n \"name\": \"临夏回族自治州\",\n \"area\": [\n \"临夏市\",\n \"临夏县\",\n \"康乐县\",\n \"永靖县\",\n \"广河县\",\n \"和政县\",\n \"东乡族自治县\",\n \"积石山保安族东乡族撒拉族自治县\"\n ]\n },\n {\n \"name\": \"甘南藏族自治州\",\n \"area\": [\n \"合作市\",\n \"临潭县\",\n \"卓尼县\",\n \"舟曲县\",\n \"迭部县\",\n \"玛曲县\",\n \"碌曲县\",\n \"夏河县\"\n ]\n }\n ]\n },\n {\n \"name\": \"青海省\",\n \"city\": [\n {\n \"name\": \"西宁市\",\n \"area\": [\n \"城中区\",\n \"城东区\",\n \"城西区\",\n \"城北区\",\n \"湟源县\",\n \"湟中县\",\n \"大通回族土族自治县\"\n ]\n },\n {\n \"name\": \"海东地区\",\n \"area\": [\n \"平安县\",\n \"乐都县\",\n \"民和回族土族自治县\",\n \"互助土族自治县\",\n \"化隆回族自治县\",\n \"循化撒拉族自治县\"\n ]\n },\n {\n \"name\": \"海北藏族自治州\",\n \"area\": [\n \"海晏县\",\n \"祁连县\",\n \"刚察县\",\n \"门源回族自治县\"\n ]\n },\n {\n \"name\": \"海南藏族自治州\",\n \"area\": [\n \"共和县\",\n \"同德县\",\n \"贵德县\",\n \"兴海县\",\n \"贵南县\"\n ]\n },\n {\n \"name\": \"黄南藏族自治州\",\n \"area\": [\n \"同仁县\",\n \"尖扎县\",\n \"泽库县\",\n \"河南蒙古族自治县\"\n ]\n },\n {\n \"name\": \"果洛藏族自治州\",\n \"area\": [\n \"玛沁县\",\n \"班玛县\",\n \"甘德县\",\n \"达日县\",\n \"久治县\",\n \"玛多县\"\n ]\n },\n {\n \"name\": \"玉树藏族自治州\",\n \"area\": [\n \"玉树县\",\n \"杂多县\",\n \"称多县\",\n \"治多县\",\n \"囊谦县\",\n \"曲麻莱县\"\n ]\n },\n {\n \"name\": \"海西蒙古族藏族自治州\",\n \"area\": [\n \"德令哈市\",\n \"格尔木市\",\n \"乌兰县\",\n \"都兰县\",\n \"天峻县\"\n ]\n }\n ]\n },\n {\n \"name\": \"宁夏\",\n \"city\": [\n {\n \"name\": \"银川市\",\n \"area\": [\n \"兴庆区\",\n \"西夏区\",\n \"金凤区\",\n \"灵武市\",\n \"永宁县\",\n \"贺兰县\"\n ]\n },\n {\n \"name\": \"石嘴山市\",\n \"area\": [\n \"大武口区\",\n \"惠农区\",\n \"平罗县\"\n ]\n },\n {\n \"name\": \"吴忠市\",\n \"area\": [\n \"利通区\",\n \"青铜峡市\",\n \"盐池县\",\n \"同心县\"\n ]\n },\n {\n \"name\": \"固原市\",\n \"area\": [\n \"原州区\",\n \"西吉县\",\n \"隆德县\",\n \"泾源县\",\n \"彭阳县\"\n ]\n },\n {\n \"name\": \"中卫市\",\n \"area\": [\n \"沙坡头区\",\n \"中宁县\",\n \"海原县\"\n ]\n }\n ]\n },\n {\n \"name\": \"新疆\",\n \"city\": [\n {\n \"name\": \"乌鲁木齐市\",\n \"area\": [\n \"天山区\",\n \"沙依巴克区\",\n \"新市区\",\n \"水磨沟区\",\n \"头屯河区\",\n \"达坂城区\",\n \"东山区\",\n \"乌鲁木齐县\"\n ]\n },\n {\n \"name\": \"克拉玛依市\",\n \"area\": [\n \"克拉玛依区\",\n \"独山子区\",\n \"白碱滩区\",\n \"乌尔禾区\"\n ]\n },\n {\n \"name\": \"吐鲁番地区\",\n \"area\": [\n \"吐鲁番市\",\n \"托克逊县\",\n \"鄯善县\"\n ]\n },\n {\n \"name\": \"哈密地区\",\n \"area\": [\n \"哈密市\",\n \"伊吾县\",\n \"巴里坤哈萨克自治县\"\n ]\n },\n {\n \"name\": \"和田地区\",\n \"area\": [\n \"和田市\",\n \"和田县\",\n \"洛浦县\",\n \"民丰县\",\n \"皮山县\",\n \"策勒县\",\n \"于田县\",\n \"墨玉县\"\n ]\n },\n {\n \"name\": \"阿克苏地区\",\n \"area\": [\n \"阿克苏市\",\n \"温宿县\",\n \"沙雅县\",\n \"拜城县\",\n \"阿瓦提县\",\n \"库车县\",\n \"柯坪县\",\n \"新和县\",\n \"乌什县\"\n ]\n },\n {\n \"name\": \"喀什地区\",\n \"area\": [\n \"喀什市\",\n \"巴楚县\",\n \"泽普县\",\n \"伽师县\",\n \"叶城县\",\n \"岳普湖县\",\n \"疏勒县\",\n \"麦盖提县\",\n \"英吉沙县\",\n \"莎车县\",\n \"疏附县\",\n \"塔什库尔干塔吉克自治县\"\n ]\n },\n {\n \"name\": \"克孜勒苏柯尔克孜自治州\",\n \"area\": [\n \"阿图什市\",\n \"阿合奇县\",\n \"乌恰县\",\n \"阿克陶县\"\n ]\n },\n {\n \"name\": \"巴音郭楞蒙古自治州\",\n \"area\": [\n \"库尔勒市\",\n \"和静县\",\n \"尉犁县\",\n \"和硕县\",\n \"且末县\",\n \"博湖县\",\n \"轮台县\",\n \"若羌县\",\n \"焉耆回族自治县\"\n ]\n },\n {\n \"name\": \"昌吉回族自治州\",\n \"area\": [\n \"昌吉市\",\n \"阜康市\",\n \"奇台县\",\n \"玛纳斯县\",\n \"吉木萨尔县\",\n \"呼图壁县\",\n \"木垒哈萨克自治县\",\n \"米泉市\"\n ]\n },\n {\n \"name\": \"博尔塔拉蒙古自治州\",\n \"area\": [\n \"博乐市\",\n \"精河县\",\n \"温泉县\"\n ]\n },\n {\n \"name\": \"石河子\",\n \"area\": [\n \"石河子\"\n ]\n },\n {\n \"name\": \"阿拉尔\",\n \"area\": [\n \"阿拉尔\"\n ]\n },\n {\n \"name\": \"图木舒克\",\n \"area\": [\n \"图木舒克\"\n ]\n },\n {\n \"name\": \"五家渠\",\n \"area\": [\n \"五家渠\"\n ]\n },\n {\n \"name\": \"伊犁哈萨克自治州\",\n \"area\": [\n \"伊宁市\",\n \"奎屯市\",\n \"伊宁县\",\n \"特克斯县\",\n \"尼勒克县\",\n \"昭苏县\",\n \"新源县\",\n \"霍城县\",\n \"巩留县\",\n \"察布查尔锡伯自治县\",\n \"塔城地区\",\n \"阿勒泰地区\"\n ]\n }\n ]\n },\n {\n \"name\": \"台湾省\",\n \"city\": [\n {\n \"name\": \"台北市\",\n \"area\": [\n \"内湖区\",\n \"南港区\",\n \"中正区\",\n \"万华区\",\n \"大同区\",\n \"中山区\",\n \"松山区\",\n \"大安区\",\n \"信义区\",\n \"文山区\",\n \"士林区\",\n \"北投区\"\n ]\n },\n {\n \"name\": \"新北市\",\n \"area\": [\n \"板桥区\",\n \"汐止区\",\n \"新店区\"\n ]\n },\n {\n \"name\": \"桃园市\",\n \"area\": [\n \"其他\"\n ]\n },\n {\n \"name\": \"台中市\",\n \"area\": [\n \"其他\"\n ]\n },\n {\n \"name\": \"台南市\",\n \"area\": [\n \"其他\"\n ]\n },\n {\n \"name\": \"高雄市\",\n \"area\": [\n \"其他\"\n ]\n }\n ]\n },\n {\n \"name\": \"澳门\",\n \"city\": [\n {\n \"name\": \"澳门\",\n \"area\": [\n \"花地玛堂区\",\n \"圣安多尼堂区\",\n \"大堂区\",\n \"望德堂区\",\n \"风顺堂区\",\n \"嘉模堂区\",\n \"圣方济各堂区\",\n \"路凼\"\n ]\n }\n ]\n },\n {\n \"name\": \"香港\",\n \"city\": [\n {\n \"name\": \"香港\",\n \"area\": [\n \"深水埗区\",\n \"油尖旺区\",\n \"九龙城区\",\n \"黄大仙区\",\n \"观塘区\",\n \"北区\",\n \"大埔区\",\n \"沙田区\",\n \"西贡区\",\n \"元朗区\",\n \"屯门区\",\n \"荃湾区\",\n \"葵青区\",\n \"离岛区\",\n \"中西区\",\n \"湾仔区\",\n \"东区\",\n \"南区\"\n ]\n }\n ]\n }\n]","export function getActionPage() {\n\tlet pages = getCurrentPages();\n\treturn pages[pages.length - 1]\n}\n//登录拦截\nexport function interceptor() {\n\tlet pages = getActionPage();\n\t// 获取当前页面\n\tlet pageUrl = '/' + pages.route;\n\tlet url = '/pages/public/login'\n\n\n\n\n\n\n\n\n\turl = '/pages/public/wxLogin';\n\n\tif (pageUrl != url) {\n\t\tuni.navigateTo({\n\t\t\turl\n\t\t})\n\t}\n}\n\n// 保存页面\nexport function saveUrl() {\n\tlet path = getPageUrl(true)\n\tuni.setStorageSync('present', path);\n}\n\n// 处理分享链接地址\nexport function getPageUrl(showSpeard=false) {\n\tlet page = getActionPage();\n\tlet path = '/' + page.route;\n\tlet url = '';\n\t// 获取对象可枚举键值列表\n\tlet objKeys = Object.keys(page.options);\n\t// 判断有无传值\n\tif (objKeys.length > 0) {\n\t\t// 循环赋值对象数据\n\t\tfor (let a in page.options) {\n\t\t\t// 判断有无邀请人\n\t\t\tif (a != 'speard') {\n\t\t\t\turl += a + \"=\" + page.options[a] + \"&\"\n\t\t\t}else{\n\t\t\t\t// 判断是否需要存储邀请人\n\t\t\t\tif(showSpeard){\n\t\t\t\t\turl += a + \"=\" + page.options[a] + \"&\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tpath += '?' + url.substr(0, url.length - 1);\n\t}\n\t// 返回处理邀请人后的邀请地址\n\treturn path\n}\n","import request from '@/utils/request'\n\n// 订单统计信息\nexport function orderData(data) {\n\treturn request({\n\t\turl: '/api/order/data',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n// 获取用户信息\nexport function getUserInfo(data) {\n\treturn request({\n\t\turl: '/api/userinfo',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n// 用户分享图\nexport function spreadBanner(data) {\n\treturn request({\n\t\turl: '/api/spread/banner',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n// 获取门店列表\nexport function shopList(data) {\n\treturn request({\n\t\turl: '/api/store_list',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n// 获取地址列表\nexport function getAddressList(data) {\n\treturn request({\n\t\turl: '/api/address/list',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n// 修改地址\nexport function addressEdit(data) {\n\treturn request({\n\t\turl: '/api/address/edit',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n// 删除地址\nexport function addressDel(data) {\n\treturn request({\n\t\turl: '/api/address/del',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n// 设为默认地址\nexport function setAddressDefault(data) {\n\treturn request({\n\t\turl: '/api/address/default/set',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n// 购物车列表\nexport function getCartList(data) {\n\treturn request({\n\t\turl: '/api/cart/list',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n// 修改购物车数量\nexport function getCartNum(data) {\n\treturn request({\n\t\turl: '/api/cart/num',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n//删除购物车\nexport function cartDel(data) {\n\treturn request({\n\t\turl: '/api/cart/del',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n//获取收藏夹列表\nexport function getcollectList(data) {\n\treturn request({\n\t\turl: '/api/collect/user',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n// 取消收藏\nexport function delcollect(data) {\n\treturn request({\n\t\turl: '/api/collect/del',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n//推荐人\nexport function spread_people(data) {\n\treturn request({\n\t\turl: '/api/spread/people',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n//积分转账\nexport function transfer(data) {\n\treturn request({\n\t\turl: '/api/transfer',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n// 扫码核销\nexport function orderVerific(data) {\n\treturn request({\n\t\turl: '/api/order/order_verific',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n\n\n\n","/**\n * 递归使用 call 方式this指向\n * @param componentName // 需要找的组件的名称\n * @param eventName // 事件名称\n * @param params // 需要传递的参数\n */\nfunction broadcast(componentName, eventName, params) {\n // 循环子节点找到名称一样的子节点 否则 递归 当前子节点\n this.$children.map(child=>{\n if (componentName===child.$options.name) {\n child.$emit.apply(child,[eventName].concat(params))\n }else {\n broadcast.apply(child,[componentName,eventName].concat(params))\n }\n })\n}\nexport default {\n methods: {\n /**\n * 派发 (向上查找) (一个)\n * @param componentName // 需要找的组件的名称\n * @param eventName // 事件名称\n * @param params // 需要传递的参数\n */\n dispatch(componentName, eventName, params) {\n let parent = this.$parent || this.$root;//$parent 找到最近的父节点 $root 根节点\n let name = parent.$options.name; // 获取当前组件实例的name\n // 如果当前有节点 && 当前没名称 且 当前名称等于需要传进来的名称的时候就去查找当前的节点\n // 循环出当前名称的一样的组件实例\n while (parent && (!name||name!==componentName)) {\n parent = parent.$parent;\n if (parent) {\n name = parent.$options.name;\n }\n }\n // 有节点表示当前找到了name一样的实例\n if (parent) {\n parent.$emit.apply(parent,[eventName].concat(params))\n }\n },\n /**\n * 广播 (向下查找) (广播多个)\n * @param componentName // 需要找的组件的名称\n * @param eventName // 事件名称\n * @param params // 需要传递的参数\n */\n broadcast(componentName, eventName, params) {\n broadcast.call(this,componentName, eventName, params)\n }\n }\n}\n","function _extends() {\n\t_extends = Object.assign || function(target) {\n\t\tfor (var i = 1; i < arguments.length; i++) {\n\t\t\tvar source = arguments[i];\n\n\t\t\tfor (var key in source) {\n\t\t\t\tif (Object.prototype.hasOwnProperty.call(source, key)) {\n\t\t\t\t\ttarget[key] = source[key];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn target;\n\t};\n\n\treturn _extends.apply(this, arguments);\n}\n\n/* eslint no-console:0 */\nvar formatRegExp = /%[sdj%]/g;\nvar warning = function warning() {}; // don't print warning message when in production env or node runtime\n\nif (typeof process !== 'undefined' && process.env && process.env.NODE_ENV !== 'production' && typeof window !==\n\t'undefined' && typeof document !== 'undefined') {\n\twarning = function warning(type, errors) {\n\t\tif (typeof console !== 'undefined' && console.warn) {\n\t\t\tif (errors.every(function(e) {\n\t\t\t\t\treturn typeof e === 'string';\n\t\t\t\t})) {\n\t\t\t\tconsole.warn(type, errors);\n\t\t\t}\n\t\t}\n\t};\n}\n\nfunction convertFieldsError(errors) {\n\tif (!errors || !errors.length) return null;\n\tvar fields = {};\n\terrors.forEach(function(error) {\n\t\tvar field = error.field;\n\t\tfields[field] = fields[field] || [];\n\t\tfields[field].push(error);\n\t});\n\treturn fields;\n}\n\nfunction format() {\n\tfor (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n\t\targs[_key] = arguments[_key];\n\t}\n\n\tvar i = 1;\n\tvar f = args[0];\n\tvar len = args.length;\n\n\tif (typeof f === 'function') {\n\t\treturn f.apply(null, args.slice(1));\n\t}\n\n\tif (typeof f === 'string') {\n\t\tvar str = String(f).replace(formatRegExp, function(x) {\n\t\t\tif (x === '%%') {\n\t\t\t\treturn '%';\n\t\t\t}\n\n\t\t\tif (i >= len) {\n\t\t\t\treturn x;\n\t\t\t}\n\n\t\t\tswitch (x) {\n\t\t\t\tcase '%s':\n\t\t\t\t\treturn String(args[i++]);\n\n\t\t\t\tcase '%d':\n\t\t\t\t\treturn Number(args[i++]);\n\n\t\t\t\tcase '%j':\n\t\t\t\t\ttry {\n\t\t\t\t\t\treturn JSON.stringify(args[i++]);\n\t\t\t\t\t} catch (_) {\n\t\t\t\t\t\treturn '[Circular]';\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\treturn x;\n\t\t\t}\n\t\t});\n\n\t\tfor (var arg = args[i]; i < len; arg = args[++i]) {\n\t\t\tstr += \" \" + arg;\n\t\t}\n\n\t\treturn str;\n\t}\n\n\treturn f;\n}\n\nfunction isNativeStringType(type) {\n\treturn type === 'string' || type === 'url' || type === 'hex' || type === 'email' || type === 'pattern';\n}\n\nfunction isEmptyValue(value, type) {\n\tif (value === undefined || value === null) {\n\t\treturn true;\n\t}\n\n\tif (type === 'array' && Array.isArray(value) && !value.length) {\n\t\treturn true;\n\t}\n\n\tif (isNativeStringType(type) && typeof value === 'string' && !value) {\n\t\treturn true;\n\t}\n\n\treturn false;\n}\n\nfunction asyncParallelArray(arr, func, callback) {\n\tvar results = [];\n\tvar total = 0;\n\tvar arrLength = arr.length;\n\n\tfunction count(errors) {\n\t\tresults.push.apply(results, errors);\n\t\ttotal++;\n\n\t\tif (total === arrLength) {\n\t\t\tcallback(results);\n\t\t}\n\t}\n\n\tarr.forEach(function(a) {\n\t\tfunc(a, count);\n\t});\n}\n\nfunction asyncSerialArray(arr, func, callback) {\n\tvar index = 0;\n\tvar arrLength = arr.length;\n\n\tfunction next(errors) {\n\t\tif (errors && errors.length) {\n\t\t\tcallback(errors);\n\t\t\treturn;\n\t\t}\n\n\t\tvar original = index;\n\t\tindex = index + 1;\n\n\t\tif (original < arrLength) {\n\t\t\tfunc(arr[original], next);\n\t\t} else {\n\t\t\tcallback([]);\n\t\t}\n\t}\n\n\tnext([]);\n}\n\nfunction flattenObjArr(objArr) {\n\tvar ret = [];\n\tObject.keys(objArr).forEach(function(k) {\n\t\tret.push.apply(ret, objArr[k]);\n\t});\n\treturn ret;\n}\n\nfunction asyncMap(objArr, option, func, callback) {\n\tif (option.first) {\n\t\tvar _pending = new Promise(function(resolve, reject) {\n\t\t\tvar next = function next(errors) {\n\t\t\t\tcallback(errors);\n\t\t\t\treturn errors.length ? reject({\n\t\t\t\t\terrors: errors,\n\t\t\t\t\tfields: convertFieldsError(errors)\n\t\t\t\t}) : resolve();\n\t\t\t};\n\n\t\t\tvar flattenArr = flattenObjArr(objArr);\n\t\t\tasyncSerialArray(flattenArr, func, next);\n\t\t});\n\n\t\t_pending[\"catch\"](function(e) {\n\t\t\treturn e;\n\t\t});\n\n\t\treturn _pending;\n\t}\n\n\tvar firstFields = option.firstFields || [];\n\n\tif (firstFields === true) {\n\t\tfirstFields = Object.keys(objArr);\n\t}\n\n\tvar objArrKeys = Object.keys(objArr);\n\tvar objArrLength = objArrKeys.length;\n\tvar total = 0;\n\tvar results = [];\n\tvar pending = new Promise(function(resolve, reject) {\n\t\tvar next = function next(errors) {\n\t\t\tresults.push.apply(results, errors);\n\t\t\ttotal++;\n\n\t\t\tif (total === objArrLength) {\n\t\t\t\tcallback(results);\n\t\t\t\treturn results.length ? reject({\n\t\t\t\t\terrors: results,\n\t\t\t\t\tfields: convertFieldsError(results)\n\t\t\t\t}) : resolve();\n\t\t\t}\n\t\t};\n\n\t\tif (!objArrKeys.length) {\n\t\t\tcallback(results);\n\t\t\tresolve();\n\t\t}\n\n\t\tobjArrKeys.forEach(function(key) {\n\t\t\tvar arr = objArr[key];\n\n\t\t\tif (firstFields.indexOf(key) !== -1) {\n\t\t\t\tasyncSerialArray(arr, func, next);\n\t\t\t} else {\n\t\t\t\tasyncParallelArray(arr, func, next);\n\t\t\t}\n\t\t});\n\t});\n\tpending[\"catch\"](function(e) {\n\t\treturn e;\n\t});\n\treturn pending;\n}\n\nfunction complementError(rule) {\n\treturn function(oe) {\n\t\tif (oe && oe.message) {\n\t\t\toe.field = oe.field || rule.fullField;\n\t\t\treturn oe;\n\t\t}\n\n\t\treturn {\n\t\t\tmessage: typeof oe === 'function' ? oe() : oe,\n\t\t\tfield: oe.field || rule.fullField\n\t\t};\n\t};\n}\n\nfunction deepMerge(target, source) {\n\tif (source) {\n\t\tfor (var s in source) {\n\t\t\tif (source.hasOwnProperty(s)) {\n\t\t\t\tvar value = source[s];\n\n\t\t\t\tif (typeof value === 'object' && typeof target[s] === 'object') {\n\t\t\t\t\ttarget[s] = _extends({}, target[s], {}, value);\n\t\t\t\t} else {\n\t\t\t\t\ttarget[s] = value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn target;\n}\n\n/**\n * Rule for validating required fields.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param source The source object being validated.\n * @param errors An array of errors that this rule may add\n * validation errors to.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction required(rule, value, source, errors, options, type) {\n\tif (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type || rule.type))) {\n\t\terrors.push(format(options.messages.required, rule.fullField));\n\t}\n}\n\n/**\n * Rule for validating whitespace.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param source The source object being validated.\n * @param errors An array of errors that this rule may add\n * validation errors to.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction whitespace(rule, value, source, errors, options) {\n\tif (/^\\s+$/.test(value) || value === '') {\n\t\terrors.push(format(options.messages.whitespace, rule.fullField));\n\t}\n}\n\n/* eslint max-len:0 */\n\nvar pattern = {\n\t// http://emailregex.com/\n\temail: /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/,\n\turl: new RegExp(\n\t\t\"^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\\\S+(?::\\\\S*)?@)?(?:(?:(?:[1-9]\\\\d?|1\\\\d\\\\d|2[01]\\\\d|22[0-3])(?:\\\\.(?:1?\\\\d{1,2}|2[0-4]\\\\d|25[0-5])){2}(?:\\\\.(?:[0-9]\\\\d?|1\\\\d\\\\d|2[0-4]\\\\d|25[0-4]))|(?:(?:[a-z\\\\u00a1-\\\\uffff0-9]+-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff0-9]+-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)*(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff]{2,})))|localhost)(?::\\\\d{2,5})?(?:(/|\\\\?|#)[^\\\\s]*)?$\",\n\t\t'i'),\n\thex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i\n};\nvar types = {\n\tinteger: function integer(value) {\n\t\treturn types.number(value) && parseInt(value, 10) === value;\n\t},\n\t\"float\": function float(value) {\n\t\treturn types.number(value) && !types.integer(value);\n\t},\n\tarray: function array(value) {\n\t\treturn Array.isArray(value);\n\t},\n\tregexp: function regexp(value) {\n\t\tif (value instanceof RegExp) {\n\t\t\treturn true;\n\t\t}\n\n\t\ttry {\n\t\t\treturn !!new RegExp(value);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t},\n\tdate: function date(value) {\n\t\treturn typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear ===\n\t\t\t'function';\n\t},\n\tnumber: function number(value) {\n\t\tif (isNaN(value)) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// 修改源码,将字符串数值先转为数值\n\t\treturn typeof +value === 'number';\n\t},\n\tobject: function object(value) {\n\t\treturn typeof value === 'object' && !types.array(value);\n\t},\n\tmethod: function method(value) {\n\t\treturn typeof value === 'function';\n\t},\n\temail: function email(value) {\n\t\treturn typeof value === 'string' && !!value.match(pattern.email) && value.length < 255;\n\t},\n\turl: function url(value) {\n\t\treturn typeof value === 'string' && !!value.match(pattern.url);\n\t},\n\thex: function hex(value) {\n\t\treturn typeof value === 'string' && !!value.match(pattern.hex);\n\t}\n};\n/**\n * Rule for validating the type of a value.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param source The source object being validated.\n * @param errors An array of errors that this rule may add\n * validation errors to.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction type(rule, value, source, errors, options) {\n\tif (rule.required && value === undefined) {\n\t\trequired(rule, value, source, errors, options);\n\t\treturn;\n\t}\n\n\tvar custom = ['integer', 'float', 'array', 'regexp', 'object', 'method', 'email', 'number', 'date', 'url', 'hex'];\n\tvar ruleType = rule.type;\n\n\tif (custom.indexOf(ruleType) > -1) {\n\t\tif (!types[ruleType](value)) {\n\t\t\terrors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));\n\t\t} // straight typeof check\n\n\t} else if (ruleType && typeof value !== rule.type) {\n\t\terrors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));\n\t}\n}\n\n/**\n * Rule for validating minimum and maximum allowed values.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param source The source object being validated.\n * @param errors An array of errors that this rule may add\n * validation errors to.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction range(rule, value, source, errors, options) {\n\tvar len = typeof rule.len === 'number';\n\tvar min = typeof rule.min === 'number';\n\tvar max = typeof rule.max === 'number'; // 正则匹配码点范围从U+010000一直到U+10FFFF的文字(补充平面Supplementary Plane)\n\n\tvar spRegexp = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n\tvar val = value;\n\tvar key = null;\n\tvar num = typeof value === 'number';\n\tvar str = typeof value === 'string';\n\tvar arr = Array.isArray(value);\n\n\tif (num) {\n\t\tkey = 'number';\n\t} else if (str) {\n\t\tkey = 'string';\n\t} else if (arr) {\n\t\tkey = 'array';\n\t} // if the value is not of a supported type for range validation\n\t// the validation rule rule should use the\n\t// type property to also test for a particular type\n\n\n\tif (!key) {\n\t\treturn false;\n\t}\n\n\tif (arr) {\n\t\tval = value.length;\n\t}\n\n\tif (str) {\n\t\t// 处理码点大于U+010000的文字length属性不准确的bug,如\"𠮷𠮷𠮷\".lenght !== 3\n\t\tval = value.replace(spRegexp, '_').length;\n\t}\n\n\tif (len) {\n\t\tif (val !== rule.len) {\n\t\t\terrors.push(format(options.messages[key].len, rule.fullField, rule.len));\n\t\t}\n\t} else if (min && !max && val < rule.min) {\n\t\terrors.push(format(options.messages[key].min, rule.fullField, rule.min));\n\t} else if (max && !min && val > rule.max) {\n\t\terrors.push(format(options.messages[key].max, rule.fullField, rule.max));\n\t} else if (min && max && (val < rule.min || val > rule.max)) {\n\t\terrors.push(format(options.messages[key].range, rule.fullField, rule.min, rule.max));\n\t}\n}\n\nvar ENUM = 'enum';\n/**\n * Rule for validating a value exists in an enumerable list.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param source The source object being validated.\n * @param errors An array of errors that this rule may add\n * validation errors to.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction enumerable(rule, value, source, errors, options) {\n\trule[ENUM] = Array.isArray(rule[ENUM]) ? rule[ENUM] : [];\n\n\tif (rule[ENUM].indexOf(value) === -1) {\n\t\terrors.push(format(options.messages[ENUM], rule.fullField, rule[ENUM].join(', ')));\n\t}\n}\n\n/**\n * Rule for validating a regular expression pattern.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param source The source object being validated.\n * @param errors An array of errors that this rule may add\n * validation errors to.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction pattern$1(rule, value, source, errors, options) {\n\tif (rule.pattern) {\n\t\tif (rule.pattern instanceof RegExp) {\n\t\t\t// if a RegExp instance is passed, reset `lastIndex` in case its `global`\n\t\t\t// flag is accidentally set to `true`, which in a validation scenario\n\t\t\t// is not necessary and the result might be misleading\n\t\t\trule.pattern.lastIndex = 0;\n\n\t\t\tif (!rule.pattern.test(value)) {\n\t\t\t\terrors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));\n\t\t\t}\n\t\t} else if (typeof rule.pattern === 'string') {\n\t\t\tvar _pattern = new RegExp(rule.pattern);\n\n\t\t\tif (!_pattern.test(value)) {\n\t\t\t\terrors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));\n\t\t\t}\n\t\t}\n\t}\n}\n\nvar rules = {\n\trequired: required,\n\twhitespace: whitespace,\n\ttype: type,\n\trange: range,\n\t\"enum\": enumerable,\n\tpattern: pattern$1\n};\n\n/**\n * Performs validation for string types.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction string(rule, value, callback, source, options) {\n\tvar errors = [];\n\tvar validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n\tif (validate) {\n\t\tif (isEmptyValue(value, 'string') && !rule.required) {\n\t\t\treturn callback();\n\t\t}\n\n\t\trules.required(rule, value, source, errors, options, 'string');\n\n\t\tif (!isEmptyValue(value, 'string')) {\n\t\t\trules.type(rule, value, source, errors, options);\n\t\t\trules.range(rule, value, source, errors, options);\n\t\t\trules.pattern(rule, value, source, errors, options);\n\n\t\t\tif (rule.whitespace === true) {\n\t\t\t\trules.whitespace(rule, value, source, errors, options);\n\t\t\t}\n\t\t}\n\t}\n\n\tcallback(errors);\n}\n\n/**\n * Validates a function.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction method(rule, value, callback, source, options) {\n\tvar errors = [];\n\tvar validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n\tif (validate) {\n\t\tif (isEmptyValue(value) && !rule.required) {\n\t\t\treturn callback();\n\t\t}\n\n\t\trules.required(rule, value, source, errors, options);\n\n\t\tif (value !== undefined) {\n\t\t\trules.type(rule, value, source, errors, options);\n\t\t}\n\t}\n\n\tcallback(errors);\n}\n\n/**\n * Validates a number.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction number(rule, value, callback, source, options) {\n\tvar errors = [];\n\tvar validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n\tif (validate) {\n\t\tif (value === '') {\n\t\t\tvalue = undefined;\n\t\t}\n\n\t\tif (isEmptyValue(value) && !rule.required) {\n\t\t\treturn callback();\n\t\t}\n\n\t\trules.required(rule, value, source, errors, options);\n\n\t\tif (value !== undefined) {\n\t\t\trules.type(rule, value, source, errors, options);\n\t\t\trules.range(rule, value, source, errors, options);\n\t\t}\n\t}\n\n\tcallback(errors);\n}\n\n/**\n * Validates a boolean.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction _boolean(rule, value, callback, source, options) {\n\tvar errors = [];\n\tvar validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n\tif (validate) {\n\t\tif (isEmptyValue(value) && !rule.required) {\n\t\t\treturn callback();\n\t\t}\n\n\t\trules.required(rule, value, source, errors, options);\n\n\t\tif (value !== undefined) {\n\t\t\trules.type(rule, value, source, errors, options);\n\t\t}\n\t}\n\n\tcallback(errors);\n}\n\n/**\n * Validates the regular expression type.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction regexp(rule, value, callback, source, options) {\n\tvar errors = [];\n\tvar validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n\tif (validate) {\n\t\tif (isEmptyValue(value) && !rule.required) {\n\t\t\treturn callback();\n\t\t}\n\n\t\trules.required(rule, value, source, errors, options);\n\n\t\tif (!isEmptyValue(value)) {\n\t\t\trules.type(rule, value, source, errors, options);\n\t\t}\n\t}\n\n\tcallback(errors);\n}\n\n/**\n * Validates a number is an integer.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction integer(rule, value, callback, source, options) {\n\tvar errors = [];\n\tvar validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n\tif (validate) {\n\t\tif (isEmptyValue(value) && !rule.required) {\n\t\t\treturn callback();\n\t\t}\n\n\t\trules.required(rule, value, source, errors, options);\n\n\t\tif (value !== undefined) {\n\t\t\trules.type(rule, value, source, errors, options);\n\t\t\trules.range(rule, value, source, errors, options);\n\t\t}\n\t}\n\n\tcallback(errors);\n}\n\n/**\n * Validates a number is a floating point number.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction floatFn(rule, value, callback, source, options) {\n\tvar errors = [];\n\tvar validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n\tif (validate) {\n\t\tif (isEmptyValue(value) && !rule.required) {\n\t\t\treturn callback();\n\t\t}\n\n\t\trules.required(rule, value, source, errors, options);\n\n\t\tif (value !== undefined) {\n\t\t\trules.type(rule, value, source, errors, options);\n\t\t\trules.range(rule, value, source, errors, options);\n\t\t}\n\t}\n\n\tcallback(errors);\n}\n\n/**\n * Validates an array.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction array(rule, value, callback, source, options) {\n\tvar errors = [];\n\tvar validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n\tif (validate) {\n\t\tif (isEmptyValue(value, 'array') && !rule.required) {\n\t\t\treturn callback();\n\t\t}\n\n\t\trules.required(rule, value, source, errors, options, 'array');\n\n\t\tif (!isEmptyValue(value, 'array')) {\n\t\t\trules.type(rule, value, source, errors, options);\n\t\t\trules.range(rule, value, source, errors, options);\n\t\t}\n\t}\n\n\tcallback(errors);\n}\n\n/**\n * Validates an object.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction object(rule, value, callback, source, options) {\n\tvar errors = [];\n\tvar validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n\tif (validate) {\n\t\tif (isEmptyValue(value) && !rule.required) {\n\t\t\treturn callback();\n\t\t}\n\n\t\trules.required(rule, value, source, errors, options);\n\n\t\tif (value !== undefined) {\n\t\t\trules.type(rule, value, source, errors, options);\n\t\t}\n\t}\n\n\tcallback(errors);\n}\n\nvar ENUM$1 = 'enum';\n/**\n * Validates an enumerable list.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction enumerable$1(rule, value, callback, source, options) {\n\tvar errors = [];\n\tvar validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n\tif (validate) {\n\t\tif (isEmptyValue(value) && !rule.required) {\n\t\t\treturn callback();\n\t\t}\n\n\t\trules.required(rule, value, source, errors, options);\n\n\t\tif (value !== undefined) {\n\t\t\trules[ENUM$1](rule, value, source, errors, options);\n\t\t}\n\t}\n\n\tcallback(errors);\n}\n\n/**\n * Validates a regular expression pattern.\n *\n * Performs validation when a rule only contains\n * a pattern property but is not declared as a string type.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction pattern$2(rule, value, callback, source, options) {\n\tvar errors = [];\n\tvar validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n\tif (validate) {\n\t\tif (isEmptyValue(value, 'string') && !rule.required) {\n\t\t\treturn callback();\n\t\t}\n\n\t\trules.required(rule, value, source, errors, options);\n\n\t\tif (!isEmptyValue(value, 'string')) {\n\t\t\trules.pattern(rule, value, source, errors, options);\n\t\t}\n\t}\n\n\tcallback(errors);\n}\n\nfunction date(rule, value, callback, source, options) {\n\tvar errors = [];\n\tvar validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); \n\n\tif (validate) {\n\t\tif (isEmptyValue(value) && !rule.required) {\n\t\t\treturn callback();\n\t\t}\n\n\t\trules.required(rule, value, source, errors, options);\n\n\t\tif (!isEmptyValue(value)) {\n\t\t\tvar dateObject;\n\n\t\t\tif (typeof value === 'number') {\n\t\t\t\tdateObject = new Date(value);\n\t\t\t} else {\n\t\t\t\tdateObject = value;\n\t\t\t}\n\n\t\t\trules.type(rule, dateObject, source, errors, options);\n\n\t\t\tif (dateObject) {\n\t\t\t\trules.range(rule, dateObject.getTime(), source, errors, options);\n\t\t\t}\n\t\t}\n\t}\n\n\tcallback(errors);\n}\n\nfunction required$1(rule, value, callback, source, options) {\n\tvar errors = [];\n\tvar type = Array.isArray(value) ? 'array' : typeof value;\n\trules.required(rule, value, source, errors, options, type);\n\tcallback(errors);\n}\n\nfunction type$1(rule, value, callback, source, options) {\n\tvar ruleType = rule.type;\n\tvar errors = [];\n\tvar validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n\tif (validate) {\n\t\tif (isEmptyValue(value, ruleType) && !rule.required) {\n\t\t\treturn callback();\n\t\t}\n\n\t\trules.required(rule, value, source, errors, options, ruleType);\n\n\t\tif (!isEmptyValue(value, ruleType)) {\n\t\t\trules.type(rule, value, source, errors, options);\n\t\t}\n\t}\n\n\tcallback(errors);\n}\n\n/**\n * Performs validation for any type.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction any(rule, value, callback, source, options) {\n\tvar errors = [];\n\tvar validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n\tif (validate) {\n\t\tif (isEmptyValue(value) && !rule.required) {\n\t\t\treturn callback();\n\t\t}\n\n\t\trules.required(rule, value, source, errors, options);\n\t}\n\n\tcallback(errors);\n}\n\nvar validators = {\n\tstring: string,\n\tmethod: method,\n\tnumber: number,\n\t\"boolean\": _boolean,\n\tregexp: regexp,\n\tinteger: integer,\n\t\"float\": floatFn,\n\tarray: array,\n\tobject: object,\n\t\"enum\": enumerable$1,\n\tpattern: pattern$2,\n\tdate: date,\n\turl: type$1,\n\thex: type$1,\n\temail: type$1,\n\trequired: required$1,\n\tany: any\n};\n\nfunction newMessages() {\n\treturn {\n\t\t\"default\": 'Validation error on field %s',\n\t\trequired: '%s is required',\n\t\t\"enum\": '%s must be one of %s',\n\t\twhitespace: '%s cannot be empty',\n\t\tdate: {\n\t\t\tformat: '%s date %s is invalid for format %s',\n\t\t\tparse: '%s date could not be parsed, %s is invalid ',\n\t\t\tinvalid: '%s date %s is invalid'\n\t\t},\n\t\ttypes: {\n\t\t\tstring: '%s is not a %s',\n\t\t\tmethod: '%s is not a %s (function)',\n\t\t\tarray: '%s is not an %s',\n\t\t\tobject: '%s is not an %s',\n\t\t\tnumber: '%s is not a %s',\n\t\t\tdate: '%s is not a %s',\n\t\t\t\"boolean\": '%s is not a %s',\n\t\t\tinteger: '%s is not an %s',\n\t\t\t\"float\": '%s is not a %s',\n\t\t\tregexp: '%s is not a valid %s',\n\t\t\temail: '%s is not a valid %s',\n\t\t\turl: '%s is not a valid %s',\n\t\t\thex: '%s is not a valid %s'\n\t\t},\n\t\tstring: {\n\t\t\tlen: '%s must be exactly %s characters',\n\t\t\tmin: '%s must be at least %s characters',\n\t\t\tmax: '%s cannot be longer than %s characters',\n\t\t\trange: '%s must be between %s and %s characters'\n\t\t},\n\t\tnumber: {\n\t\t\tlen: '%s must equal %s',\n\t\t\tmin: '%s cannot be less than %s',\n\t\t\tmax: '%s cannot be greater than %s',\n\t\t\trange: '%s must be between %s and %s'\n\t\t},\n\t\tarray: {\n\t\t\tlen: '%s must be exactly %s in length',\n\t\t\tmin: '%s cannot be less than %s in length',\n\t\t\tmax: '%s cannot be greater than %s in length',\n\t\t\trange: '%s must be between %s and %s in length'\n\t\t},\n\t\tpattern: {\n\t\t\tmismatch: '%s value %s does not match pattern %s'\n\t\t},\n\t\tclone: function clone() {\n\t\t\tvar cloned = JSON.parse(JSON.stringify(this));\n\t\t\tcloned.clone = this.clone;\n\t\t\treturn cloned;\n\t\t}\n\t};\n}\nvar messages = newMessages();\n\n/**\n * Encapsulates a validation schema.\n *\n * @param descriptor An object declaring validation rules\n * for this schema.\n */\n\nfunction Schema(descriptor) {\n\tthis.rules = null;\n\tthis._messages = messages;\n\tthis.define(descriptor);\n}\n\nSchema.prototype = {\n\tmessages: function messages(_messages) {\n\t\tif (_messages) {\n\t\t\tthis._messages = deepMerge(newMessages(), _messages);\n\t\t}\n\n\t\treturn this._messages;\n\t},\n\tdefine: function define(rules) {\n\t\tif (!rules) {\n\t\t\tthrow new Error('Cannot configure a schema with no rules');\n\t\t}\n\n\t\tif (typeof rules !== 'object' || Array.isArray(rules)) {\n\t\t\tthrow new Error('Rules must be an object');\n\t\t}\n\n\t\tthis.rules = {};\n\t\tvar z;\n\t\tvar item;\n\n\t\tfor (z in rules) {\n\t\t\tif (rules.hasOwnProperty(z)) {\n\t\t\t\titem = rules[z];\n\t\t\t\tthis.rules[z] = Array.isArray(item) ? item : [item];\n\t\t\t}\n\t\t}\n\t},\n\tvalidate: function validate(source_, o, oc) {\n\t\tvar _this = this;\n\n\t\tif (o === void 0) {\n\t\t\to = {};\n\t\t}\n\n\t\tif (oc === void 0) {\n\t\t\toc = function oc() {};\n\t\t}\n\n\t\tvar source = source_;\n\t\tvar options = o;\n\t\tvar callback = oc;\n\n\t\tif (typeof options === 'function') {\n\t\t\tcallback = options;\n\t\t\toptions = {};\n\t\t}\n\n\t\tif (!this.rules || Object.keys(this.rules).length === 0) {\n\t\t\tif (callback) {\n\t\t\t\tcallback();\n\t\t\t}\n\n\t\t\treturn Promise.resolve();\n\t\t}\n\n\t\tfunction complete(results) {\n\t\t\tvar i;\n\t\t\tvar errors = [];\n\t\t\tvar fields = {};\n\n\t\t\tfunction add(e) {\n\t\t\t\tif (Array.isArray(e)) {\n\t\t\t\t\tvar _errors;\n\n\t\t\t\t\terrors = (_errors = errors).concat.apply(_errors, e);\n\t\t\t\t} else {\n\t\t\t\t\terrors.push(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (i = 0; i < results.length; i++) {\n\t\t\t\tadd(results[i]);\n\t\t\t}\n\n\t\t\tif (!errors.length) {\n\t\t\t\terrors = null;\n\t\t\t\tfields = null;\n\t\t\t} else {\n\t\t\t\tfields = convertFieldsError(errors);\n\t\t\t}\n\n\t\t\tcallback(errors, fields);\n\t\t}\n\n\t\tif (options.messages) {\n\t\t\tvar messages$1 = this.messages();\n\n\t\t\tif (messages$1 === messages) {\n\t\t\t\tmessages$1 = newMessages();\n\t\t\t}\n\n\t\t\tdeepMerge(messages$1, options.messages);\n\t\t\toptions.messages = messages$1;\n\t\t} else {\n\t\t\toptions.messages = this.messages();\n\t\t}\n\n\t\tvar arr;\n\t\tvar value;\n\t\tvar series = {};\n\t\tvar keys = options.keys || Object.keys(this.rules);\n\t\tkeys.forEach(function(z) {\n\t\t\tarr = _this.rules[z];\n\t\t\tvalue = source[z];\n\t\t\tarr.forEach(function(r) {\n\t\t\t\tvar rule = r;\n\n\t\t\t\tif (typeof rule.transform === 'function') {\n\t\t\t\t\tif (source === source_) {\n\t\t\t\t\t\tsource = _extends({}, source);\n\t\t\t\t\t}\n\n\t\t\t\t\tvalue = source[z] = rule.transform(value);\n\t\t\t\t}\n\n\t\t\t\tif (typeof rule === 'function') {\n\t\t\t\t\trule = {\n\t\t\t\t\t\tvalidator: rule\n\t\t\t\t\t};\n\t\t\t\t} else {\n\t\t\t\t\trule = _extends({}, rule);\n\t\t\t\t}\n\n\t\t\t\trule.validator = _this.getValidationMethod(rule);\n\t\t\t\trule.field = z;\n\t\t\t\trule.fullField = rule.fullField || z;\n\t\t\t\trule.type = _this.getType(rule);\n\n\t\t\t\tif (!rule.validator) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tseries[z] = series[z] || [];\n\t\t\t\tseries[z].push({\n\t\t\t\t\trule: rule,\n\t\t\t\t\tvalue: value,\n\t\t\t\t\tsource: source,\n\t\t\t\t\tfield: z\n\t\t\t\t});\n\t\t\t});\n\t\t});\n\t\tvar errorFields = {};\n\t\treturn asyncMap(series, options, function(data, doIt) {\n\t\t\tvar rule = data.rule;\n\t\t\tvar deep = (rule.type === 'object' || rule.type === 'array') && (typeof rule.fields === 'object' || typeof rule.defaultField ===\n\t\t\t\t'object');\n\t\t\tdeep = deep && (rule.required || !rule.required && data.value);\n\t\t\trule.field = data.field;\n\n\t\t\tfunction addFullfield(key, schema) {\n\t\t\t\treturn _extends({}, schema, {\n\t\t\t\t\tfullField: rule.fullField + \".\" + key\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tfunction cb(e) {\n\t\t\t\tif (e === void 0) {\n\t\t\t\t\te = [];\n\t\t\t\t}\n\n\t\t\t\tvar errors = e;\n\n\t\t\t\tif (!Array.isArray(errors)) {\n\t\t\t\t\terrors = [errors];\n\t\t\t\t}\n\n\t\t\t\tif (!options.suppressWarning && errors.length) {\n\t\t\t\t\tSchema.warning('async-validator:', errors);\n\t\t\t\t}\n\n\t\t\t\tif (errors.length && rule.message) {\n\t\t\t\t\terrors = [].concat(rule.message);\n\t\t\t\t}\n\n\t\t\t\terrors = errors.map(complementError(rule));\n\n\t\t\t\tif (options.first && errors.length) {\n\t\t\t\t\terrorFields[rule.field] = 1;\n\t\t\t\t\treturn doIt(errors);\n\t\t\t\t}\n\n\t\t\t\tif (!deep) {\n\t\t\t\t\tdoIt(errors);\n\t\t\t\t} else {\n\t\t\t\t\t// if rule is required but the target object\n\t\t\t\t\t// does not exist fail at the rule level and don't\n\t\t\t\t\t// go deeper\n\t\t\t\t\tif (rule.required && !data.value) {\n\t\t\t\t\t\tif (rule.message) {\n\t\t\t\t\t\t\terrors = [].concat(rule.message).map(complementError(rule));\n\t\t\t\t\t\t} else if (options.error) {\n\t\t\t\t\t\t\terrors = [options.error(rule, format(options.messages.required, rule.field))];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\terrors = [];\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn doIt(errors);\n\t\t\t\t\t}\n\n\t\t\t\t\tvar fieldsSchema = {};\n\n\t\t\t\t\tif (rule.defaultField) {\n\t\t\t\t\t\tfor (var k in data.value) {\n\t\t\t\t\t\t\tif (data.value.hasOwnProperty(k)) {\n\t\t\t\t\t\t\t\tfieldsSchema[k] = rule.defaultField;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tfieldsSchema = _extends({}, fieldsSchema, {}, data.rule.fields);\n\n\t\t\t\t\tfor (var f in fieldsSchema) {\n\t\t\t\t\t\tif (fieldsSchema.hasOwnProperty(f)) {\n\t\t\t\t\t\t\tvar fieldSchema = Array.isArray(fieldsSchema[f]) ? fieldsSchema[f] : [fieldsSchema[f]];\n\t\t\t\t\t\t\tfieldsSchema[f] = fieldSchema.map(addFullfield.bind(null, f));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tvar schema = new Schema(fieldsSchema);\n\t\t\t\t\tschema.messages(options.messages);\n\n\t\t\t\t\tif (data.rule.options) {\n\t\t\t\t\t\tdata.rule.options.messages = options.messages;\n\t\t\t\t\t\tdata.rule.options.error = options.error;\n\t\t\t\t\t}\n\n\t\t\t\t\tschema.validate(data.value, data.rule.options || options, function(errs) {\n\t\t\t\t\t\tvar finalErrors = [];\n\n\t\t\t\t\t\tif (errors && errors.length) {\n\t\t\t\t\t\t\tfinalErrors.push.apply(finalErrors, errors);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (errs && errs.length) {\n\t\t\t\t\t\t\tfinalErrors.push.apply(finalErrors, errs);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tdoIt(finalErrors.length ? finalErrors : null);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tvar res;\n\n\t\t\tif (rule.asyncValidator) {\n\t\t\t\tres = rule.asyncValidator(rule, data.value, cb, data.source, options);\n\t\t\t} else if (rule.validator) {\n\t\t\t\tres = rule.validator(rule, data.value, cb, data.source, options);\n\n\t\t\t\tif (res === true) {\n\t\t\t\t\tcb();\n\t\t\t\t} else if (res === false) {\n\t\t\t\t\tcb(rule.message || rule.field + \" fails\");\n\t\t\t\t} else if (res instanceof Array) {\n\t\t\t\t\tcb(res);\n\t\t\t\t} else if (res instanceof Error) {\n\t\t\t\t\tcb(res.message);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (res && res.then) {\n\t\t\t\tres.then(function() {\n\t\t\t\t\treturn cb();\n\t\t\t\t}, function(e) {\n\t\t\t\t\treturn cb(e);\n\t\t\t\t});\n\t\t\t}\n\t\t}, function(results) {\n\t\t\tcomplete(results);\n\t\t});\n\t},\n\tgetType: function getType(rule) {\n\t\tif (rule.type === undefined && rule.pattern instanceof RegExp) {\n\t\t\trule.type = 'pattern';\n\t\t}\n\n\t\tif (typeof rule.validator !== 'function' && rule.type && !validators.hasOwnProperty(rule.type)) {\n\t\t\tthrow new Error(format('Unknown rule type %s', rule.type));\n\t\t}\n\n\t\treturn rule.type || 'string';\n\t},\n\tgetValidationMethod: function getValidationMethod(rule) {\n\t\tif (typeof rule.validator === 'function') {\n\t\t\treturn rule.validator;\n\t\t}\n\n\t\tvar keys = Object.keys(rule);\n\t\tvar messageIndex = keys.indexOf('message');\n\n\t\tif (messageIndex !== -1) {\n\t\t\tkeys.splice(messageIndex, 1);\n\t\t}\n\n\t\tif (keys.length === 1 && keys[0] === 'required') {\n\t\t\treturn validators.required;\n\t\t}\n\n\t\treturn validators[this.getType(rule)] || false;\n\t}\n};\n\nSchema.register = function register(type, validator) {\n\tif (typeof validator !== 'function') {\n\t\tthrow new Error('Cannot register a validator by type, validator is not a function');\n\t}\n\n\tvalidators[type] = validator;\n};\n\nSchema.warning = warning;\nSchema.messages = messages;\n\nexport default Schema;\n//# sourceMappingURL=index.js.map\n","exports.nextTick = function nextTick(fn) {\n var args = Array.prototype.slice.call(arguments);\n args.shift();\n setTimeout(function () {\n fn.apply(null, args);\n }, 0);\n};\n\nexports.platform = exports.arch = \nexports.execPath = exports.title = 'browser';\nexports.pid = 1;\nexports.browser = true;\nexports.env = {};\nexports.argv = [];\n\nexports.binding = function (name) {\n\tthrow new Error('No such module. (Possibly not yet loaded)')\n};\n\n(function () {\n var cwd = '/';\n var path;\n exports.cwd = function () { return cwd };\n exports.chdir = function (dir) {\n if (!path) path = require('path');\n cwd = path.resolve(dir, cwd);\n };\n})();\n\nexports.exit = exports.kill = \nexports.umask = exports.dlopen = \nexports.uptime = exports.memoryUsage = \nexports.uvCounters = function() {};\nexports.features = {};\n","// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,\n// backported and transplited with Babel, with backwards-compat fixes\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// resolves . and .. elements in a path array with directory names there\n// must be no slashes, empty elements, or device names (c:\\) in the array\n// (so also no leading and trailing slashes - it does not distinguish\n// relative and absolute paths)\nfunction normalizeArray(parts, allowAboveRoot) {\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = parts.length - 1; i >= 0; i--) {\n var last = parts[i];\n if (last === '.') {\n parts.splice(i, 1);\n } else if (last === '..') {\n parts.splice(i, 1);\n up++;\n } else if (up) {\n parts.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (allowAboveRoot) {\n for (; up--; up) {\n parts.unshift('..');\n }\n }\n\n return parts;\n}\n\n// path.resolve([from ...], to)\n// posix version\nexports.resolve = function() {\n var resolvedPath = '',\n resolvedAbsolute = false;\n\n for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n var path = (i >= 0) ? arguments[i] : process.cwd();\n\n // Skip empty and invalid entries\n if (typeof path !== 'string') {\n throw new TypeError('Arguments to path.resolve must be strings');\n } else if (!path) {\n continue;\n }\n\n resolvedPath = path + '/' + resolvedPath;\n resolvedAbsolute = path.charAt(0) === '/';\n }\n\n // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n\n // Normalize the path\n resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {\n return !!p;\n }), !resolvedAbsolute).join('/');\n\n return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';\n};\n\n// path.normalize(path)\n// posix version\nexports.normalize = function(path) {\n var isAbsolute = exports.isAbsolute(path),\n trailingSlash = substr(path, -1) === '/';\n\n // Normalize the path\n path = normalizeArray(filter(path.split('/'), function(p) {\n return !!p;\n }), !isAbsolute).join('/');\n\n if (!path && !isAbsolute) {\n path = '.';\n }\n if (path && trailingSlash) {\n path += '/';\n }\n\n return (isAbsolute ? '/' : '') + path;\n};\n\n// posix version\nexports.isAbsolute = function(path) {\n return path.charAt(0) === '/';\n};\n\n// posix version\nexports.join = function() {\n var paths = Array.prototype.slice.call(arguments, 0);\n return exports.normalize(filter(paths, function(p, index) {\n if (typeof p !== 'string') {\n throw new TypeError('Arguments to path.join must be strings');\n }\n return p;\n }).join('/'));\n};\n\n\n// path.relative(from, to)\n// posix version\nexports.relative = function(from, to) {\n from = exports.resolve(from).substr(1);\n to = exports.resolve(to).substr(1);\n\n function trim(arr) {\n var start = 0;\n for (; start < arr.length; start++) {\n if (arr[start] !== '') break;\n }\n\n var end = arr.length - 1;\n for (; end >= 0; end--) {\n if (arr[end] !== '') break;\n }\n\n if (start > end) return [];\n return arr.slice(start, end - start + 1);\n }\n\n var fromParts = trim(from.split('/'));\n var toParts = trim(to.split('/'));\n\n var length = Math.min(fromParts.length, toParts.length);\n var samePartsLength = length;\n for (var i = 0; i < length; i++) {\n if (fromParts[i] !== toParts[i]) {\n samePartsLength = i;\n break;\n }\n }\n\n var outputParts = [];\n for (var i = samePartsLength; i < fromParts.length; i++) {\n outputParts.push('..');\n }\n\n outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n return outputParts.join('/');\n};\n\nexports.sep = '/';\nexports.delimiter = ':';\n\nexports.dirname = function (path) {\n if (typeof path !== 'string') path = path + '';\n if (path.length === 0) return '.';\n var code = path.charCodeAt(0);\n var hasRoot = code === 47 /*/*/;\n var end = -1;\n var matchedSlash = true;\n for (var i = path.length - 1; i >= 1; --i) {\n code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n if (!matchedSlash) {\n end = i;\n break;\n }\n } else {\n // We saw the first non-path separator\n matchedSlash = false;\n }\n }\n\n if (end === -1) return hasRoot ? '/' : '.';\n if (hasRoot && end === 1) {\n // return '//';\n // Backwards-compat fix:\n return '/';\n }\n return path.slice(0, end);\n};\n\nfunction basename(path) {\n if (typeof path !== 'string') path = path + '';\n\n var start = 0;\n var end = -1;\n var matchedSlash = true;\n var i;\n\n for (i = path.length - 1; i >= 0; --i) {\n if (path.charCodeAt(i) === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n start = i + 1;\n break;\n }\n } else if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // path component\n matchedSlash = false;\n end = i + 1;\n }\n }\n\n if (end === -1) return '';\n return path.slice(start, end);\n}\n\n// Uses a mixed approach for backwards-compatibility, as ext behavior changed\n// in new Node.js versions, so only basename() above is backported here\nexports.basename = function (path, ext) {\n var f = basename(path);\n if (ext && f.substr(-1 * ext.length) === ext) {\n f = f.substr(0, f.length - ext.length);\n }\n return f;\n};\n\nexports.extname = function (path) {\n if (typeof path !== 'string') path = path + '';\n var startDot = -1;\n var startPart = 0;\n var end = -1;\n var matchedSlash = true;\n // Track the state of characters (if any) we see before our first dot and\n // after any path separator we find\n var preDotState = 0;\n for (var i = path.length - 1; i >= 0; --i) {\n var code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n startPart = i + 1;\n break;\n }\n continue;\n }\n if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // extension\n matchedSlash = false;\n end = i + 1;\n }\n if (code === 46 /*.*/) {\n // If this is our first dot, mark it as the start of our extension\n if (startDot === -1)\n startDot = i;\n else if (preDotState !== 1)\n preDotState = 1;\n } else if (startDot !== -1) {\n // We saw a non-dot and non-path separator before our dot, so we should\n // have a good chance at having a non-empty extension\n preDotState = -1;\n }\n }\n\n if (startDot === -1 || end === -1 ||\n // We saw a non-dot character immediately before the dot\n preDotState === 0 ||\n // The (right-most) trimmed path component is exactly '..'\n preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n return '';\n }\n return path.slice(startDot, end);\n};\n\nfunction filter (xs, f) {\n if (xs.filter) return xs.filter(f);\n var res = [];\n for (var i = 0; i < xs.length; i++) {\n if (f(xs[i], i, xs)) res.push(xs[i]);\n }\n return res;\n}\n\n// String.prototype.substr - negative index don't work in IE8\nvar substr = 'ab'.substr(-1) === 'b'\n ? function (str, start, len) { return str.substr(start, len) }\n : function (str, start, len) {\n if (start < 0) start = str.length + start;\n return str.substr(start, len);\n }\n;\n","import request from '@/utils/request'\n\n// 获取商品列表\nexport function getProducts(data) {\n\t// \t{\n\t// 参数名称\t是否必须\t示例\t备注\n\t// sid\t\t\t否\t\t\t二级分类编号\n\t// cid\t\t\t否\t\t\t一级分类编号(!)\n\t// keyword\t\t否\t\t\t搜索\n\t// priceOrder\t否\t\t\t价格排序\n\t// salesOrder\t否\t\t\t销量排序\n\t// news\t\t\t否\t\t\t是否新品\n\t// page\t\t\t否\t\t\t分页参数起始值\n\t// limit\t\t否\t\t\t分页数步长值\n\t// }\n\treturn request({\n\t\turl: '/api/products',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n// 获取商品详情\nexport function goodsDetail(data, id) {\n\treturn request({\n\t\turl: '/api/product/detail/' + id,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n// 砍价列表\nexport function getBargainList(data) {\n\treturn request({\n\t\turl: '/api/bargain/list',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n// 加入购物车\nexport function cartAdd(data) {\n\treturn request({\n\t\turl: '/api/cart/add',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n// 收藏商品\nexport function collectAdd(data) {\n\treturn request({\n\t\turl: '/api/collect/add',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n// 取消收藏商品\nexport function collectDel(data) {\n\treturn request({\n\t\turl: '/api/collect/del',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n// 获取搜搜关键字\nexport function searchKeyword(data) {\n\treturn request({\n\t\turl: '/api/search/keyword',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n// 获取热门分类信息\nexport function groomList(data,type) {\n\t// 获取产品类型 1 精品推荐 2 热门榜单 3首发新品 4促销单品\n\treturn request({\n\t\turl: '/api/groom/list/'+type,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n\n// 获取秒杀商品详细\nexport function seckillGoods(data,id) {\n\treturn request({\n\t\turl: '/api/seckill/detail/'+id,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n// 获取拼团商品详细\nexport function groupGoods(data,id) {\n\treturn request({\n\t\turl: '/api/combination/detail/'+id,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n\n// 获取商品分类\nexport function getCategoryList(data) {\n\treturn request({\n\t\turl: '/api/category',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n\n// 获取拼团列表\nexport function getCombinationList(data) {\n\treturn request({\n\t\turl: '/api/combination/list',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n//取消拼团\nexport function getCombinationLisRemove(data,id) {\n\treturn request({\n\t\turl: '/api/combination/remove'+id,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n//拼团开团页面数据\nexport function getCombinationLisPink(data,id) {\n\treturn request({\n\t\turl: '/api/combination/pink/'+id,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n// 获取拼团海报\nexport function getCombinationPoster(data) {\n\treturn request({\n\t\turl: '/api/combination/poster',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n\n// 获取秒杀分类\nexport function getSeckillClass(data) {\n\treturn request({\n\t\turl: '/api/seckill/index',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n// 获取秒杀列表\nexport function getSeckillList(data,id) {\n\treturn request({\n\t\turl: '/api/seckill/list/'+id,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n\n// 产品评价数量和好评度\nexport function reply_config(data,id) {\n\treturn request({\n\t\turl: '/api/reply/config/'+id,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n// 获取产品评论\nexport function reply_list(data,id) {\n\treturn request({\n\t\turl: '/api/reply/list/'+id,\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n","/*!\n * vuex v3.4.0\n * (c) 2020 Evan You\n * @license MIT\n */\nfunction applyMixin (Vue) {\n var version = Number(Vue.version.split('.')[0]);\n\n if (version >= 2) {\n Vue.mixin({ beforeCreate: vuexInit });\n } else {\n // override init and inject vuex init procedure\n // for 1.x backwards compatibility.\n var _init = Vue.prototype._init;\n Vue.prototype._init = function (options) {\n if ( options === void 0 ) options = {};\n\n options.init = options.init\n ? [vuexInit].concat(options.init)\n : vuexInit;\n _init.call(this, options);\n };\n }\n\n /**\n * Vuex init hook, injected into each instances init hooks list.\n */\n\n function vuexInit () {\n var options = this.$options;\n // store injection\n if (options.store) {\n this.$store = typeof options.store === 'function'\n ? options.store()\n : options.store;\n } else if (options.parent && options.parent.$store) {\n this.$store = options.parent.$store;\n }\n }\n}\n\nvar target = typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\nvar devtoolHook = target.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\nfunction devtoolPlugin (store) {\n if (!devtoolHook) { return }\n\n store._devtoolHook = devtoolHook;\n\n devtoolHook.emit('vuex:init', store);\n\n devtoolHook.on('vuex:travel-to-state', function (targetState) {\n store.replaceState(targetState);\n });\n\n store.subscribe(function (mutation, state) {\n devtoolHook.emit('vuex:mutation', mutation, state);\n }, { prepend: true });\n\n store.subscribeAction(function (action, state) {\n devtoolHook.emit('vuex:action', action, state);\n }, { prepend: true });\n}\n\n/**\n * Get the first item that pass the test\n * by second argument function\n *\n * @param {Array} list\n * @param {Function} f\n * @return {*}\n */\n\n/**\n * forEach for object\n */\nfunction forEachValue (obj, fn) {\n Object.keys(obj).forEach(function (key) { return fn(obj[key], key); });\n}\n\nfunction isObject (obj) {\n return obj !== null && typeof obj === 'object'\n}\n\nfunction isPromise (val) {\n return val && typeof val.then === 'function'\n}\n\nfunction assert (condition, msg) {\n if (!condition) { throw new Error((\"[vuex] \" + msg)) }\n}\n\nfunction partial (fn, arg) {\n return function () {\n return fn(arg)\n }\n}\n\n// Base data struct for store's module, package with some attribute and method\nvar Module = function Module (rawModule, runtime) {\n this.runtime = runtime;\n // Store some children item\n this._children = Object.create(null);\n // Store the origin module object which passed by programmer\n this._rawModule = rawModule;\n var rawState = rawModule.state;\n\n // Store the origin module's state\n this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};\n};\n\nvar prototypeAccessors = { namespaced: { configurable: true } };\n\nprototypeAccessors.namespaced.get = function () {\n return !!this._rawModule.namespaced\n};\n\nModule.prototype.addChild = function addChild (key, module) {\n this._children[key] = module;\n};\n\nModule.prototype.removeChild = function removeChild (key) {\n delete this._children[key];\n};\n\nModule.prototype.getChild = function getChild (key) {\n return this._children[key]\n};\n\nModule.prototype.hasChild = function hasChild (key) {\n return key in this._children\n};\n\nModule.prototype.update = function update (rawModule) {\n this._rawModule.namespaced = rawModule.namespaced;\n if (rawModule.actions) {\n this._rawModule.actions = rawModule.actions;\n }\n if (rawModule.mutations) {\n this._rawModule.mutations = rawModule.mutations;\n }\n if (rawModule.getters) {\n this._rawModule.getters = rawModule.getters;\n }\n};\n\nModule.prototype.forEachChild = function forEachChild (fn) {\n forEachValue(this._children, fn);\n};\n\nModule.prototype.forEachGetter = function forEachGetter (fn) {\n if (this._rawModule.getters) {\n forEachValue(this._rawModule.getters, fn);\n }\n};\n\nModule.prototype.forEachAction = function forEachAction (fn) {\n if (this._rawModule.actions) {\n forEachValue(this._rawModule.actions, fn);\n }\n};\n\nModule.prototype.forEachMutation = function forEachMutation (fn) {\n if (this._rawModule.mutations) {\n forEachValue(this._rawModule.mutations, fn);\n }\n};\n\nObject.defineProperties( Module.prototype, prototypeAccessors );\n\nvar ModuleCollection = function ModuleCollection (rawRootModule) {\n // register root module (Vuex.Store options)\n this.register([], rawRootModule, false);\n};\n\nModuleCollection.prototype.get = function get (path) {\n return path.reduce(function (module, key) {\n return module.getChild(key)\n }, this.root)\n};\n\nModuleCollection.prototype.getNamespace = function getNamespace (path) {\n var module = this.root;\n return path.reduce(function (namespace, key) {\n module = module.getChild(key);\n return namespace + (module.namespaced ? key + '/' : '')\n }, '')\n};\n\nModuleCollection.prototype.update = function update$1 (rawRootModule) {\n update([], this.root, rawRootModule);\n};\n\nModuleCollection.prototype.register = function register (path, rawModule, runtime) {\n var this$1 = this;\n if ( runtime === void 0 ) runtime = true;\n\n if ((process.env.NODE_ENV !== 'production')) {\n assertRawModule(path, rawModule);\n }\n\n var newModule = new Module(rawModule, runtime);\n if (path.length === 0) {\n this.root = newModule;\n } else {\n var parent = this.get(path.slice(0, -1));\n parent.addChild(path[path.length - 1], newModule);\n }\n\n // register nested modules\n if (rawModule.modules) {\n forEachValue(rawModule.modules, function (rawChildModule, key) {\n this$1.register(path.concat(key), rawChildModule, runtime);\n });\n }\n};\n\nModuleCollection.prototype.unregister = function unregister (path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n if (!parent.getChild(key).runtime) { return }\n\n parent.removeChild(key);\n};\n\nModuleCollection.prototype.isRegistered = function isRegistered (path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n\n return parent.hasChild(key)\n};\n\nfunction update (path, targetModule, newModule) {\n if ((process.env.NODE_ENV !== 'production')) {\n assertRawModule(path, newModule);\n }\n\n // update target module\n targetModule.update(newModule);\n\n // update nested modules\n if (newModule.modules) {\n for (var key in newModule.modules) {\n if (!targetModule.getChild(key)) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\n \"[vuex] trying to add a new module '\" + key + \"' on hot reloading, \" +\n 'manual reload is needed'\n );\n }\n return\n }\n update(\n path.concat(key),\n targetModule.getChild(key),\n newModule.modules[key]\n );\n }\n }\n}\n\nvar functionAssert = {\n assert: function (value) { return typeof value === 'function'; },\n expected: 'function'\n};\n\nvar objectAssert = {\n assert: function (value) { return typeof value === 'function' ||\n (typeof value === 'object' && typeof value.handler === 'function'); },\n expected: 'function or object with \"handler\" function'\n};\n\nvar assertTypes = {\n getters: functionAssert,\n mutations: functionAssert,\n actions: objectAssert\n};\n\nfunction assertRawModule (path, rawModule) {\n Object.keys(assertTypes).forEach(function (key) {\n if (!rawModule[key]) { return }\n\n var assertOptions = assertTypes[key];\n\n forEachValue(rawModule[key], function (value, type) {\n assert(\n assertOptions.assert(value),\n makeAssertionMessage(path, key, type, value, assertOptions.expected)\n );\n });\n });\n}\n\nfunction makeAssertionMessage (path, key, type, value, expected) {\n var buf = key + \" should be \" + expected + \" but \\\"\" + key + \".\" + type + \"\\\"\";\n if (path.length > 0) {\n buf += \" in module \\\"\" + (path.join('.')) + \"\\\"\";\n }\n buf += \" is \" + (JSON.stringify(value)) + \".\";\n return buf\n}\n\nvar Vue; // bind on install\n\nvar Store = function Store (options) {\n var this$1 = this;\n if ( options === void 0 ) options = {};\n\n // Auto install if it is not done yet and `window` has `Vue`.\n // To allow users to avoid auto-installation in some cases,\n // this code should be placed here. See #731\n if (!Vue && typeof window !== 'undefined' && window.Vue) {\n install(window.Vue);\n }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(Vue, \"must call Vue.use(Vuex) before creating a store instance.\");\n assert(typeof Promise !== 'undefined', \"vuex requires a Promise polyfill in this browser.\");\n assert(this instanceof Store, \"store must be called with the new operator.\");\n }\n\n var plugins = options.plugins; if ( plugins === void 0 ) plugins = [];\n var strict = options.strict; if ( strict === void 0 ) strict = false;\n\n // store internal state\n this._committing = false;\n this._actions = Object.create(null);\n this._actionSubscribers = [];\n this._mutations = Object.create(null);\n this._wrappedGetters = Object.create(null);\n this._modules = new ModuleCollection(options);\n this._modulesNamespaceMap = Object.create(null);\n this._subscribers = [];\n this._watcherVM = new Vue();\n this._makeLocalGettersCache = Object.create(null);\n\n // bind commit and dispatch to self\n var store = this;\n var ref = this;\n var dispatch = ref.dispatch;\n var commit = ref.commit;\n this.dispatch = function boundDispatch (type, payload) {\n return dispatch.call(store, type, payload)\n };\n this.commit = function boundCommit (type, payload, options) {\n return commit.call(store, type, payload, options)\n };\n\n // strict mode\n this.strict = strict;\n\n var state = this._modules.root.state;\n\n // init root module.\n // this also recursively registers all sub-modules\n // and collects all module getters inside this._wrappedGetters\n installModule(this, state, [], this._modules.root);\n\n // initialize the store vm, which is responsible for the reactivity\n // (also registers _wrappedGetters as computed properties)\n resetStoreVM(this, state);\n\n // apply plugins\n plugins.forEach(function (plugin) { return plugin(this$1); });\n\n var useDevtools = options.devtools !== undefined ? options.devtools : Vue.config.devtools;\n if (useDevtools) {\n devtoolPlugin(this);\n }\n};\n\nvar prototypeAccessors$1 = { state: { configurable: true } };\n\nprototypeAccessors$1.state.get = function () {\n return this._vm._data.$$state\n};\n\nprototypeAccessors$1.state.set = function (v) {\n if ((process.env.NODE_ENV !== 'production')) {\n assert(false, \"use store.replaceState() to explicit replace store state.\");\n }\n};\n\nStore.prototype.commit = function commit (_type, _payload, _options) {\n var this$1 = this;\n\n // check object-style commit\n var ref = unifyObjectStyle(_type, _payload, _options);\n var type = ref.type;\n var payload = ref.payload;\n var options = ref.options;\n\n var mutation = { type: type, payload: payload };\n var entry = this._mutations[type];\n if (!entry) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] unknown mutation type: \" + type));\n }\n return\n }\n this._withCommit(function () {\n entry.forEach(function commitIterator (handler) {\n handler(payload);\n });\n });\n\n this._subscribers\n .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n .forEach(function (sub) { return sub(mutation, this$1.state); });\n\n if (\n (process.env.NODE_ENV !== 'production') &&\n options && options.silent\n ) {\n console.warn(\n \"[vuex] mutation type: \" + type + \". Silent option has been removed. \" +\n 'Use the filter functionality in the vue-devtools'\n );\n }\n};\n\nStore.prototype.dispatch = function dispatch (_type, _payload) {\n var this$1 = this;\n\n // check object-style dispatch\n var ref = unifyObjectStyle(_type, _payload);\n var type = ref.type;\n var payload = ref.payload;\n\n var action = { type: type, payload: payload };\n var entry = this._actions[type];\n if (!entry) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] unknown action type: \" + type));\n }\n return\n }\n\n try {\n this._actionSubscribers\n .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n .filter(function (sub) { return sub.before; })\n .forEach(function (sub) { return sub.before(action, this$1.state); });\n } catch (e) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\"[vuex] error in before action subscribers: \");\n console.error(e);\n }\n }\n\n var result = entry.length > 1\n ? Promise.all(entry.map(function (handler) { return handler(payload); }))\n : entry[0](payload);\n\n return new Promise(function (resolve, reject) {\n result.then(function (res) {\n try {\n this$1._actionSubscribers\n .filter(function (sub) { return sub.after; })\n .forEach(function (sub) { return sub.after(action, this$1.state); });\n } catch (e) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\"[vuex] error in after action subscribers: \");\n console.error(e);\n }\n }\n resolve(res);\n }, function (error) {\n try {\n this$1._actionSubscribers\n .filter(function (sub) { return sub.error; })\n .forEach(function (sub) { return sub.error(action, this$1.state, error); });\n } catch (e) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\"[vuex] error in error action subscribers: \");\n console.error(e);\n }\n }\n reject(error);\n });\n })\n};\n\nStore.prototype.subscribe = function subscribe (fn, options) {\n return genericSubscribe(fn, this._subscribers, options)\n};\n\nStore.prototype.subscribeAction = function subscribeAction (fn, options) {\n var subs = typeof fn === 'function' ? { before: fn } : fn;\n return genericSubscribe(subs, this._actionSubscribers, options)\n};\n\nStore.prototype.watch = function watch (getter, cb, options) {\n var this$1 = this;\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(typeof getter === 'function', \"store.watch only accepts a function.\");\n }\n return this._watcherVM.$watch(function () { return getter(this$1.state, this$1.getters); }, cb, options)\n};\n\nStore.prototype.replaceState = function replaceState (state) {\n var this$1 = this;\n\n this._withCommit(function () {\n this$1._vm._data.$$state = state;\n });\n};\n\nStore.prototype.registerModule = function registerModule (path, rawModule, options) {\n if ( options === void 0 ) options = {};\n\n if (typeof path === 'string') { path = [path]; }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n assert(path.length > 0, 'cannot register the root module by using registerModule.');\n }\n\n this._modules.register(path, rawModule);\n installModule(this, this.state, path, this._modules.get(path), options.preserveState);\n // reset store to update getters...\n resetStoreVM(this, this.state);\n};\n\nStore.prototype.unregisterModule = function unregisterModule (path) {\n var this$1 = this;\n\n if (typeof path === 'string') { path = [path]; }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n }\n\n this._modules.unregister(path);\n this._withCommit(function () {\n var parentState = getNestedState(this$1.state, path.slice(0, -1));\n Vue.delete(parentState, path[path.length - 1]);\n });\n resetStore(this);\n};\n\nStore.prototype.hasModule = function hasModule (path) {\n if (typeof path === 'string') { path = [path]; }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n }\n\n return this._modules.isRegistered(path)\n};\n\nStore.prototype.hotUpdate = function hotUpdate (newOptions) {\n this._modules.update(newOptions);\n resetStore(this, true);\n};\n\nStore.prototype._withCommit = function _withCommit (fn) {\n var committing = this._committing;\n this._committing = true;\n fn();\n this._committing = committing;\n};\n\nObject.defineProperties( Store.prototype, prototypeAccessors$1 );\n\nfunction genericSubscribe (fn, subs, options) {\n if (subs.indexOf(fn) < 0) {\n options && options.prepend\n ? subs.unshift(fn)\n : subs.push(fn);\n }\n return function () {\n var i = subs.indexOf(fn);\n if (i > -1) {\n subs.splice(i, 1);\n }\n }\n}\n\nfunction resetStore (store, hot) {\n store._actions = Object.create(null);\n store._mutations = Object.create(null);\n store._wrappedGetters = Object.create(null);\n store._modulesNamespaceMap = Object.create(null);\n var state = store.state;\n // init all modules\n installModule(store, state, [], store._modules.root, true);\n // reset vm\n resetStoreVM(store, state, hot);\n}\n\nfunction resetStoreVM (store, state, hot) {\n var oldVm = store._vm;\n\n // bind store public getters\n store.getters = {};\n // reset local getters cache\n store._makeLocalGettersCache = Object.create(null);\n var wrappedGetters = store._wrappedGetters;\n var computed = {};\n forEachValue(wrappedGetters, function (fn, key) {\n // use computed to leverage its lazy-caching mechanism\n // direct inline function use will lead to closure preserving oldVm.\n // using partial to return function with only arguments preserved in closure environment.\n computed[key] = partial(fn, store);\n Object.defineProperty(store.getters, key, {\n get: function () { return store._vm[key]; },\n enumerable: true // for local getters\n });\n });\n\n // use a Vue instance to store the state tree\n // suppress warnings just in case the user has added\n // some funky global mixins\n var silent = Vue.config.silent;\n Vue.config.silent = true;\n store._vm = new Vue({\n data: {\n $$state: state\n },\n computed: computed\n });\n Vue.config.silent = silent;\n\n // enable strict mode for new vm\n if (store.strict) {\n enableStrictMode(store);\n }\n\n if (oldVm) {\n if (hot) {\n // dispatch changes in all subscribed watchers\n // to force getter re-evaluation for hot reloading.\n store._withCommit(function () {\n oldVm._data.$$state = null;\n });\n }\n Vue.nextTick(function () { return oldVm.$destroy(); });\n }\n}\n\nfunction installModule (store, rootState, path, module, hot) {\n var isRoot = !path.length;\n var namespace = store._modules.getNamespace(path);\n\n // register in namespace map\n if (module.namespaced) {\n if (store._modulesNamespaceMap[namespace] && (process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] duplicate namespace \" + namespace + \" for the namespaced module \" + (path.join('/'))));\n }\n store._modulesNamespaceMap[namespace] = module;\n }\n\n // set state\n if (!isRoot && !hot) {\n var parentState = getNestedState(rootState, path.slice(0, -1));\n var moduleName = path[path.length - 1];\n store._withCommit(function () {\n if ((process.env.NODE_ENV !== 'production')) {\n if (moduleName in parentState) {\n console.warn(\n (\"[vuex] state field \\\"\" + moduleName + \"\\\" was overridden by a module with the same name at \\\"\" + (path.join('.')) + \"\\\"\")\n );\n }\n }\n Vue.set(parentState, moduleName, module.state);\n });\n }\n\n var local = module.context = makeLocalContext(store, namespace, path);\n\n module.forEachMutation(function (mutation, key) {\n var namespacedType = namespace + key;\n registerMutation(store, namespacedType, mutation, local);\n });\n\n module.forEachAction(function (action, key) {\n var type = action.root ? key : namespace + key;\n var handler = action.handler || action;\n registerAction(store, type, handler, local);\n });\n\n module.forEachGetter(function (getter, key) {\n var namespacedType = namespace + key;\n registerGetter(store, namespacedType, getter, local);\n });\n\n module.forEachChild(function (child, key) {\n installModule(store, rootState, path.concat(key), child, hot);\n });\n}\n\n/**\n * make localized dispatch, commit, getters and state\n * if there is no namespace, just use root ones\n */\nfunction makeLocalContext (store, namespace, path) {\n var noNamespace = namespace === '';\n\n var local = {\n dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n\n if (!options || !options.root) {\n type = namespace + type;\n if ((process.env.NODE_ENV !== 'production') && !store._actions[type]) {\n console.error((\"[vuex] unknown local action type: \" + (args.type) + \", global type: \" + type));\n return\n }\n }\n\n return store.dispatch(type, payload)\n },\n\n commit: noNamespace ? store.commit : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n\n if (!options || !options.root) {\n type = namespace + type;\n if ((process.env.NODE_ENV !== 'production') && !store._mutations[type]) {\n console.error((\"[vuex] unknown local mutation type: \" + (args.type) + \", global type: \" + type));\n return\n }\n }\n\n store.commit(type, payload, options);\n }\n };\n\n // getters and state object must be gotten lazily\n // because they will be changed by vm update\n Object.defineProperties(local, {\n getters: {\n get: noNamespace\n ? function () { return store.getters; }\n : function () { return makeLocalGetters(store, namespace); }\n },\n state: {\n get: function () { return getNestedState(store.state, path); }\n }\n });\n\n return local\n}\n\nfunction makeLocalGetters (store, namespace) {\n if (!store._makeLocalGettersCache[namespace]) {\n var gettersProxy = {};\n var splitPos = namespace.length;\n Object.keys(store.getters).forEach(function (type) {\n // skip if the target getter is not match this namespace\n if (type.slice(0, splitPos) !== namespace) { return }\n\n // extract local getter type\n var localType = type.slice(splitPos);\n\n // Add a port to the getters proxy.\n // Define as getter property because\n // we do not want to evaluate the getters in this time.\n Object.defineProperty(gettersProxy, localType, {\n get: function () { return store.getters[type]; },\n enumerable: true\n });\n });\n store._makeLocalGettersCache[namespace] = gettersProxy;\n }\n\n return store._makeLocalGettersCache[namespace]\n}\n\nfunction registerMutation (store, type, handler, local) {\n var entry = store._mutations[type] || (store._mutations[type] = []);\n entry.push(function wrappedMutationHandler (payload) {\n handler.call(store, local.state, payload);\n });\n}\n\nfunction registerAction (store, type, handler, local) {\n var entry = store._actions[type] || (store._actions[type] = []);\n entry.push(function wrappedActionHandler (payload) {\n var res = handler.call(store, {\n dispatch: local.dispatch,\n commit: local.commit,\n getters: local.getters,\n state: local.state,\n rootGetters: store.getters,\n rootState: store.state\n }, payload);\n if (!isPromise(res)) {\n res = Promise.resolve(res);\n }\n if (store._devtoolHook) {\n return res.catch(function (err) {\n store._devtoolHook.emit('vuex:error', err);\n throw err\n })\n } else {\n return res\n }\n });\n}\n\nfunction registerGetter (store, type, rawGetter, local) {\n if (store._wrappedGetters[type]) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] duplicate getter key: \" + type));\n }\n return\n }\n store._wrappedGetters[type] = function wrappedGetter (store) {\n return rawGetter(\n local.state, // local state\n local.getters, // local getters\n store.state, // root state\n store.getters // root getters\n )\n };\n}\n\nfunction enableStrictMode (store) {\n store._vm.$watch(function () { return this._data.$$state }, function () {\n if ((process.env.NODE_ENV !== 'production')) {\n assert(store._committing, \"do not mutate vuex store state outside mutation handlers.\");\n }\n }, { deep: true, sync: true });\n}\n\nfunction getNestedState (state, path) {\n return path.reduce(function (state, key) { return state[key]; }, state)\n}\n\nfunction unifyObjectStyle (type, payload, options) {\n if (isObject(type) && type.type) {\n options = payload;\n payload = type;\n type = type.type;\n }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(typeof type === 'string', (\"expects string as the type, but found \" + (typeof type) + \".\"));\n }\n\n return { type: type, payload: payload, options: options }\n}\n\nfunction install (_Vue) {\n if (Vue && _Vue === Vue) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error(\n '[vuex] already installed. Vue.use(Vuex) should be called only once.'\n );\n }\n return\n }\n Vue = _Vue;\n applyMixin(Vue);\n}\n\n/**\n * Reduce the code which written in Vue.js for getting the state.\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} states # Object's item can be a function which accept state and getters for param, you can do something for state and getters in it.\n * @param {Object}\n */\nvar mapState = normalizeNamespace(function (namespace, states) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(states)) {\n console.error('[vuex] mapState: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(states).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedState () {\n var state = this.$store.state;\n var getters = this.$store.getters;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapState', namespace);\n if (!module) {\n return\n }\n state = module.context.state;\n getters = module.context.getters;\n }\n return typeof val === 'function'\n ? val.call(this, state, getters)\n : state[val]\n };\n // mark vuex getter for devtools\n res[key].vuex = true;\n });\n return res\n});\n\n/**\n * Reduce the code which written in Vue.js for committing the mutation\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept anthor params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\nvar mapMutations = normalizeNamespace(function (namespace, mutations) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(mutations)) {\n console.error('[vuex] mapMutations: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(mutations).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedMutation () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n // Get the commit method from store\n var commit = this.$store.commit;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);\n if (!module) {\n return\n }\n commit = module.context.commit;\n }\n return typeof val === 'function'\n ? val.apply(this, [commit].concat(args))\n : commit.apply(this.$store, [val].concat(args))\n };\n });\n return res\n});\n\n/**\n * Reduce the code which written in Vue.js for getting the getters\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} getters\n * @return {Object}\n */\nvar mapGetters = normalizeNamespace(function (namespace, getters) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(getters)) {\n console.error('[vuex] mapGetters: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(getters).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n // The namespace has been mutated by normalizeNamespace\n val = namespace + val;\n res[key] = function mappedGetter () {\n if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {\n return\n }\n if ((process.env.NODE_ENV !== 'production') && !(val in this.$store.getters)) {\n console.error((\"[vuex] unknown getter: \" + val));\n return\n }\n return this.$store.getters[val]\n };\n // mark vuex getter for devtools\n res[key].vuex = true;\n });\n return res\n});\n\n/**\n * Reduce the code which written in Vue.js for dispatch the action\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} actions # Object's item can be a function which accept `dispatch` function as the first param, it can accept anthor params. You can dispatch action and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\nvar mapActions = normalizeNamespace(function (namespace, actions) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(actions)) {\n console.error('[vuex] mapActions: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(actions).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedAction () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n // get dispatch function from store\n var dispatch = this.$store.dispatch;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapActions', namespace);\n if (!module) {\n return\n }\n dispatch = module.context.dispatch;\n }\n return typeof val === 'function'\n ? val.apply(this, [dispatch].concat(args))\n : dispatch.apply(this.$store, [val].concat(args))\n };\n });\n return res\n});\n\n/**\n * Rebinding namespace param for mapXXX function in special scoped, and return them by simple object\n * @param {String} namespace\n * @return {Object}\n */\nvar createNamespacedHelpers = function (namespace) { return ({\n mapState: mapState.bind(null, namespace),\n mapGetters: mapGetters.bind(null, namespace),\n mapMutations: mapMutations.bind(null, namespace),\n mapActions: mapActions.bind(null, namespace)\n}); };\n\n/**\n * Normalize the map\n * normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]\n * normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]\n * @param {Array|Object} map\n * @return {Object}\n */\nfunction normalizeMap (map) {\n if (!isValidMap(map)) {\n return []\n }\n return Array.isArray(map)\n ? map.map(function (key) { return ({ key: key, val: key }); })\n : Object.keys(map).map(function (key) { return ({ key: key, val: map[key] }); })\n}\n\n/**\n * Validate whether given map is valid or not\n * @param {*} map\n * @return {Boolean}\n */\nfunction isValidMap (map) {\n return Array.isArray(map) || isObject(map)\n}\n\n/**\n * Return a function expect two param contains namespace and map. it will normalize the namespace and then the param's function will handle the new namespace and the map.\n * @param {Function} fn\n * @return {Function}\n */\nfunction normalizeNamespace (fn) {\n return function (namespace, map) {\n if (typeof namespace !== 'string') {\n map = namespace;\n namespace = '';\n } else if (namespace.charAt(namespace.length - 1) !== '/') {\n namespace += '/';\n }\n return fn(namespace, map)\n }\n}\n\n/**\n * Search a special module from store by namespace. if module not exist, print error message.\n * @param {Object} store\n * @param {String} helper\n * @param {String} namespace\n * @return {Object}\n */\nfunction getModuleByNamespace (store, helper, namespace) {\n var module = store._modulesNamespaceMap[namespace];\n if ((process.env.NODE_ENV !== 'production') && !module) {\n console.error((\"[vuex] module namespace not found in \" + helper + \"(): \" + namespace));\n }\n return module\n}\n\nvar index = {\n Store: Store,\n install: install,\n version: '3.4.0',\n mapState: mapState,\n mapMutations: mapMutations,\n mapGetters: mapGetters,\n mapActions: mapActions,\n createNamespacedHelpers: createNamespacedHelpers\n};\n\nexport default index;\nexport { Store, createNamespacedHelpers, install, mapActions, mapGetters, mapMutations, mapState };\n","export default {\n\t'contact': '\\ue100',\n\t'person': '\\ue101',\n\t'personadd': '\\ue102',\n\t'contact-filled': '\\ue130',\n\t'person-filled': '\\ue131',\n\t'personadd-filled': '\\ue132',\n\t'phone': '\\ue200',\n\t'email': '\\ue201',\n\t'chatbubble': '\\ue202',\n\t'chatboxes': '\\ue203',\n\t'phone-filled': '\\ue230',\n\t'email-filled': '\\ue231',\n\t'chatbubble-filled': '\\ue232',\n\t'chatboxes-filled': '\\ue233',\n\t'weibo': '\\ue260',\n\t'weixin': '\\ue261',\n\t'pengyouquan': '\\ue262',\n\t'chat': '\\ue263',\n\t'qq': '\\ue264',\n\t'videocam': '\\ue300',\n\t'camera': '\\ue301',\n\t'mic': '\\ue302',\n\t'location': '\\ue303',\n\t'mic-filled': '\\ue332',\n\t'speech': '\\ue332',\n\t'location-filled': '\\ue333',\n\t'micoff': '\\ue360',\n\t'image': '\\ue363',\n\t'map': '\\ue364',\n\t'compose': '\\ue400',\n\t'trash': '\\ue401',\n\t'upload': '\\ue402',\n\t'download': '\\ue403',\n\t'close': '\\ue404',\n\t'redo': '\\ue405',\n\t'undo': '\\ue406',\n\t'refresh': '\\ue407',\n\t'star': '\\ue408',\n\t'plus': '\\ue409',\n\t'minus': '\\ue410',\n\t'circle': '\\ue411',\n\t'checkbox': '\\ue411',\n\t'close-filled': '\\ue434',\n\t'clear': '\\ue434',\n\t'refresh-filled': '\\ue437',\n\t'star-filled': '\\ue438',\n\t'plus-filled': '\\ue439',\n\t'minus-filled': '\\ue440',\n\t'circle-filled': '\\ue441',\n\t'checkbox-filled': '\\ue442',\n\t'closeempty': '\\ue460',\n\t'refreshempty': '\\ue461',\n\t'reload': '\\ue462',\n\t'starhalf': '\\ue463',\n\t'spinner': '\\ue464',\n\t'spinner-cycle': '\\ue465',\n\t'search': '\\ue466',\n\t'plusempty': '\\ue468',\n\t'forward': '\\ue470',\n\t'back': '\\ue471',\n\t'left-nav': '\\ue471',\n\t'checkmarkempty': '\\ue472',\n\t'home': '\\ue500',\n\t'navigate': '\\ue501',\n\t'gear': '\\ue502',\n\t'paperplane': '\\ue503',\n\t'info': '\\ue504',\n\t'help': '\\ue505',\n\t'locked': '\\ue506',\n\t'more': '\\ue507',\n\t'flag': '\\ue508',\n\t'home-filled': '\\ue530',\n\t'gear-filled': '\\ue532',\n\t'info-filled': '\\ue534',\n\t'help-filled': '\\ue535',\n\t'more-filled': '\\ue537',\n\t'settings': '\\ue560',\n\t'list': '\\ue562',\n\t'bars': '\\ue563',\n\t'loop': '\\ue565',\n\t'paperclip': '\\ue567',\n\t'eye': '\\ue568',\n\t'arrowup': '\\ue580',\n\t'arrowdown': '\\ue581',\n\t'arrowleft': '\\ue582',\n\t'arrowright': '\\ue583',\n\t'arrowthinup': '\\ue584',\n\t'arrowthindown': '\\ue585',\n\t'arrowthinleft': '\\ue586',\n\t'arrowthinright': '\\ue587',\n\t'pulldown': '\\ue588',\n\t'closefill': '\\ue589',\n\t'sound': '\\ue590',\n\t'scan': '\\ue612'\n}\n","import request from '@/utils/request'\n\n// 登录\nexport function login(data) {\n\treturn request({\n\t\turl: '/api/login',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n// 注册\nexport function register(data) {\n\treturn request({\n\t\turl: '/api/register',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n// 验证码\nexport function verify(data) {\n\t// type=register为注册\n\t// type=login为登录\n\treturn request({\n\t\turl: '/api/register/verify',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n// 获取用户信息\nexport function getUserInfo(data) {\n\treturn request({\n\t\turl: '/api/userinfo',\n\t\tmethod: 'get',\n\t\tdata\n\t});\n}\n\n// 短信登录\nexport function loginMobile(data) {\n\treturn request({\n\t\turl: '/api/login/mobile',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n\n\n\n\n\n\n\n\n\n\n","let state = {\n\tuserInfo: {}, //用户信息\n\torderInfo: {\n\t\tcomplete_count: 0, //完成\n\t\treceived_count: 0, //待收货\n\t\tunshipped_count: 0, //待发货\n\t\torder_count: 0, //订单总数\n\t\tunpaid_count: 0 //待付款\n\t}, //订单信息\n\thasLogin: false, //是否登录\n}\n\nlet mutations = {\n\t// 登录\n\tlogin(state) {\n\t\tstate.hasLogin = true;\n\t},\n\t// 退出登录\n\tlogout(state, provider) {\n\t\tstate.hasLogin = false;\n\t\t// 清空基础信息\n\t\tstate.userInfo = {};\n\t\tstate.orderInfo = {\n\t\t\tcomplete_count: 0, //完成\n\t\t\treceived_count: 0, //待收货\n\t\t\tunshipped_count: 0, //待发货\n\t\t\torder_count: 0, //订单总数\n\t\t\tunpaid_count: 0 //待付款\n\t\t};\n\t\t// 清除缓存用户信息\n\t\tuni.removeStorage({\n\t\t\tkey: 'userInfo'\n\t\t})\n\t\t// 清除缓存token\n\t\tuni.removeStorage({\n\t\t\tkey: 'token'\n\t\t})\n\t},\n\t// 保存用户信息\n\tsetUserInfo(state, provider) {\n\t\tstate.userInfo = provider;\n\t\tuni.setStorage({ //缓存用户登陆状态\n\t\t\tkey: 'userInfo',\n\t\t\tdata: provider\n\t\t})\n\t},\n\t// 保存订单信息\n\tsetOrderInfo(state, provider) {\n\t\tstate.orderInfo = provider;\n\t}\n\n}\n\nlet getters = {}\n\nexport default {\n\tnamespaced: true,\n\tstate,\n\tmutations,\n\tgetters\n}\n","import request from '@/utils/request'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// 微信code地址\nexport function wechatMpAuth(data) {\n\treturn request({\n\t\turl: '/api/wechat/mp_auth',\n\t\tmethod: 'post',\n\t\tdata\n\t});\n}\n\n"],"sourceRoot":""}