PageSourceSearch

https://www.dfrobot.com/_nuxt/commons/4fb614ce.78ec6a9.js

js dfrobot.com collected 2026-09-24 08:37:05 UTC 16,939 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{407:function(t,e,n){},408:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(1);function o(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return r.a.extend({mixins:e})}},409:function(t,e,n){"use strict";n.d(e,"b",(function(){return l}));n(35),n(34),n(28),n(50),n(51),n(36),n(29);var r=n(8);function o(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function c(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?o(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):o(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var d=n(1).a.extend().extend({name:"themeable",provide:function(){return{theme:this.themeableProvide}},inject:{theme:{default:{isDark:!1}}},props:{dark:{type:Boolean,default:null},light:{type:Boolean,default:null}},data:function(){return{themeableProvide:{isDark:!1}}},computed:{appIsDark:function(){return this.$vuetify.theme.dark||!1},isDark:function(){return!0===this.dark||!0!==this.light&&this.theme.isDark},themeClasses:function(){return{"theme--dark":this.isDark,"theme--light":!this.isDark}},rootIsDark:function(){return!0===this.dark||!0!==this.light&&this.appIsDark},rootThemeClasses:function(){return{"theme--dark":this.rootIsDark,"theme--light":!this.rootIsDark}}},watch:{isDark:{handler:function(t,e){t!==e&&(this.themeableProvide.isDark=this.isDark)},immediate:!0}}});function l(t){var e=c(c({},t.props),t.injections),n=d.options.computed.isDark.call(e);return d.options.computed.themeClasses.call({isDark:n})}e.a=d},410:function(t,e,n){},411:function(t,e,n){"use strict";n.r(e);n(18),n(26);var r=n(2),o={props:{value:{type:Object,default:function(){return{}}},type:{type:String,default:""}},fetch:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,c,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d=function(data){var t=new Date(data.begin).getTime(),e=new Date(data.end).getTime(),n=new Date(data.begin2).getTime(),r=new Date(data.end2).getTime(),o=(new Date).getTime(),c={banner:!1,message:!1,onlyTest:data.onlyTest};return o>t&&e>o&&(c.message=data.message),o>n&&r>o&&(c.banner={bannerTitle:data.bannerTitle,bannerImg:data.bannerImg,bannerBg:data.bannerBg,bannerMobile:data.bannerMobile,bannerLink:data.bannerLink}),c},e.next=3,t.$getUserinfo();case 3:return n=e.sent,e.next=6,t.$getSiteInfo();case 6:if(r=e.sent,(o=n.warehouse)||(o="GLOBAL"),(c=d(r.topBanner[o])).message&&(t.topMessage=c.message),c.banner)try{t.topBanner={title:c.banner.bannerTitle,url:c.banner.bannerLink,img:c.banner.bannerImg[0],bg:{backgroundImage:"url(".concat(c.banner.bannerBg[0],")")},mobile:c.banner.bannerMobile[0]}}catch(t){}t.onlyTest=c.onlyTest;case 13:case"end":return e.stop()}}),e)})))()},data:function(){return{jq:{},md5:{},tools:{},backName:"topbanner-back",data:this.value,topMessage:"",topBanner:!1,mobileMessageShow:!1,mobileMeasageLine:1,isTestENV:!1,onlyTest:!1}},computed:{viewType:function(){return this.$getVT()},size:function(){return this.$vuetify.breakpoint.name},show:function(){var t=!0;return!this.isTestENV&&this.onlyTest&&(t=!1),t}},watch:{event:{handler:function(t,e){},deep:!0,immediate:!0}},mounted:function(){this.md5=window.md5,this.jq=window.jQuery,this.tools=new this.fishtools.FISHTOOLS,"http:"===window.location.protocol||"test-v2.dfrobot.com"===window.location.host?this.isTestENV=!0:this.isTestENV=!1},methods:{changeMobileMessage:function(){this.mobileMessageShow?(this.mobileMeasageLine=1,this.mobileMessageShow=!1):(this.mobileMeasageLine=9,this.mobileMessageShow=!0)},closeTopMessage:function(){this.topMessage=""},setValue:function(){this.$emit("input",this.data)},backEvent:function(option){this.$emit(this.backName,option)}}},c=(n(412),n(5)),component=Object(c.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("div",{staticClass:"topInfo",attrs:{"data-theme":t.viewType}},["pc"===t.viewType?[t.topMessage?n("div",{staticClass:"topMessage"}
1,[n("span",{domProps:{innerHTML:t._s(t.topMessage)}}),t._v(" "),n("button",{on:{click:t.closeTopMessage}},[n("i",{staticClass:"icon iconfont icon-icon-test"})])]):t._e(),t._v(" "),t.topBanner?n("a",{staticClass:"topBanner",style:t.topBanner.bg,attrs:{href:t.topBanner.url}},[n("img",{attrs:{src:t.$getWebp(t.topBanner.img),alt:t.topBanner.bannerTitle}})]):t._e()]:["mobileBanner"===t.type&&t.topBanner?n("a",{staticClass:"mobileTB",style:t.topBanner.bg,attrs:{href:t.topBanner.url}},[n("img",{attrs:{src:t.$getWebp(t.topBanner.img),alt:t.topBanner.bannerTitle}})]):t._e(),t._v(" "),"mobileMessage"===t.type&&t.topMessage?n("div",{staticClass:"mobileTM"},[n("span",{style:"-webkit-line-clamp: "+t.mobileMeasageLine+";",domProps:{innerHTML:t._s(t.topMessage)}}),t._v(" "),t.mobileMessageShow?n("i",{staticClass:"icon iconfont icon-fanhuidingbu",on:{click:t.changeMobileMessage}}):n("i",{staticClass:"icon iconfont icon-fanhuidingdown",on:{click:t.changeMobileMessage}})]):t._e()]],2):t._e()}),[],!1,null,"838db272",null);e.default=component.exports},412:function(t,e,n){"use strict";var r=n(407);n.n(r).a},413:function(t,e,n){},415:function(t,e,n){},416:function(t,e,n){"use strict";n.r(e);var r={props:{breadcrumbs:{type:Array,default:function(){return[]}}}},o=(n(417),n(5)),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{staticClass:"breadcrumb"},t._l(t.breadcrumbs,(function(e,r){return n("li",{key:r},[r===t.breadcrumbs.length-1?n("span",{domProps:{innerHTML:t._s(e.text)}}):n("a",{attrs:{href:e.href},domProps:{innerHTML:t._s(e.text)}})])})),0)}),[],!1,null,null,null);e.default=component.exports},417:function(t,e,n){"use strict";var r=n(410);n.n(r).a},418:function(t,e,n){"use strict";n(35),n(34),n(28),n(50),n(51),n(36),n(29);var r=n(8),o=(n(413),n(409)),c=n(408),d=n(9);function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function f(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}e.a=Object(c.a)(o.a).extend({name:"v-app",props:{dark:{type:Boolean,default:void 0},id:{type:String,default:"app"},light:{type:Boolean,default:void 0}},computed:{isDark:function(){return this.$vuetify.theme.dark}},beforeCreate:function(){if(!this.$vuetify||this.$vuetify===this.$root)throw new Error("Vuetify is not properly initialized, see https://v2.vuetifyjs.com/getting-started/quick-start#bootstrapping-the-vuetify-object")},render:function(t){var e=t("div",{staticClass:"v-application--wrap"},Object(d.l)(this));return t("div",{staticClass:"v-application",class:f({"v-application--is-rtl":this.$vuetify.rtl,"v-application--is-ltr":!this.$vuetify.rtl},this.themeClasses),attrs:{"data-app":!0},domProps:{id:this.id}},[e])}})},420:function(t,e,n){"use strict";n.r(e);n(46),n(18),n(52),n(26);var r=n(2),o={props:{value:{type:Object,default:function(){return{}}},update:{type:Object,default:function(){return{name:"",option:""}}}},fetch:function(){var t=this.$getUserinfo();this.identity=t.identity},data:function(){return{jq:{},md5:{},tools:{},backName:"menu-back",data:this.value,routeName:"",identity:"",menu:[{tit:"My Account",list:[{text:"Order History",url:"/account/order",icon:"icon iconfont icon-a-OrderHistory",routeName:["account-order","account-order-id"],num:0,identity:["user","distributor"]},{text:"My Review",url:"/account/review",icon:"icon iconfont icon-review1",routeName:["account-review"],num:0,identity:["user"]},{text:"Wish List",url:"/account/wishlist",icon:"icon iconfont icon-shoucang",routeName:["account-wishlist"],num:0,identity:["user","distributor"]},{text:"My Coupons",url:"/account/coupon",icon:"icon iconfont icon-a-MyCoupons",routeName:["account-coupon"],num:0,identity:["user"]}],identity:["user","distributor"]},{tit:"Program Center",list:[{text:"VIP Benefits",url:"/account/vip",icon:"icon iconfont icon-a-VIPBenefits",routeName:["account-vip","account-loyaltyProgram"],num:0,identity:["user"]},{text:"Reward Points",url:"/account/reward",icon:"icon iconfont icon-a-RewardPoints",routeName:["account-reward","account-myReward"],num:0,identity:["user"]},{text:"Invite",url:"/account/invite",icon:"icon iconfont icon-Invtie",routeName:["account-invite"],num:0,identity:["user"]},{text:"Affiliates",url:"/account/affiliates",icon:"icon iconfont icon-Affiliates",routeName:["account-affiliates","account-affiliateCommission"],num:0,identity:["user"]}],identity:["user"]},{tit:"Personal Settings",list:[{text:"Address Book",url:"/account/address",icon:"icon iconfont icon-wuliu",routeName:["account-address"],num:0,identity:["user","distributor"]},{text:"Manage Account",url:"/account/manage",icon:"icon iconfont icon-a-AccountManagement",routeName:["account-manage"],num:0,identity:["user","distributor"]}],identity:["user","distributor"]}],distributorVeto:["account-review","account-coupon","account-vip","account-loyaltyProgram","account-reward","account-myReward","account-invite","account-affiliates","account-affiliateCommission"]}},computed:{viewType:function(){return this.$getVT()},size:function(){return this.$vuetify.breakpoint.name}},watch:{event:{handler:function(t,e){},deep:!0,immediate:!0},update:{handler:function(t,e){if(t.name){switch(t.name){case"updateReview":this.getReviewNum()}this.$emit("clear-update")}},deep:!0,immediate:!0}},mounted:function(){this.routeName=this.$route.name,this.distributorVeto.includes(this.routeName)&&"distributor"===this.identity&&this.$to404(),this.getReviewNum()},methods:{getReviewNum:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$axios.get("reviewNum");case 2:0===(n=e.sent).code&&(t.menu[0].list[1].num=n.data.review);case 4:case"end":return e.stop()}}),e)})))()},setValue:function(){this.$emit("input",this.data)},backEvent:function(option){this.$emit(this.backName,option)},logout:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="//api.dfrobot.com//user/login/logout/?sign=e28b16cf67345c6b32185fb327032ed9&back_url=",r=window.location,o=r.origin,n=r.protocol+n+o,e.next=6,t.$store.dispatch("logout");case 6:window.location=n;case 7:case"end":return e.stop()}}),e)})))()}}},c=(n(421),n(5)),component=Object(c.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"accountMenu",class:t.size,attrs:{"data-theme":t.viewType}},[n("a",{class:{active:"account"===t.routeName},attrs:{href:"/account"}},[n("i",{staticClass:"icon iconfont icon-gerenzhongxin"}),t._v(" "),n("span",[t._v("User Center")])]),t._v(" "),n("span",t._l(t.menu,(function(e,r){return n("dl",{key:r},[e.identity&&e.identity.includes(t.identity)?[n("dt",[t._v(t._s(e.tit))]),t._v(" "),t._l(e.list,(function(i,e){return[i.identity&&i.identity.includes(t.identity)?n("dd",{key:e},[n("a",{class:{active:i.routeName&&i.routeName.includes(t.routeName)},attrs:{href:i.url}},[n("i",{class:i.icon}),t._v(" "),n("span",[t._v(t._s(i.text))])]),t._v(" "),i.num?n("b",[t._v(t._s(i.num))]):t._e()]):t._e()]}))]:t._e()],2)})),0),t._v(" "),n("a",{attrs:{href:"javascript:;"},on:{click:t.logout}},[n("i",{staticClass:"icon iconfont icon-a-SignOut"}),t._v(" "),n("span",[t._v("Sign Out")])])])}),[],!1,null,"1ebcdc08",null);e.default=component.exports},421:function(t,e,n){"use strict";var r=n(415);n.n(r).a},511:function(t,e,n){},609:function(t,e,n){"use strict";n(24),n(125);var r=[{text:"Waiting for T/T",text_mobile:"Unpaid",order_status_ids:["27"],select:!1},{text:"Payment Received",text_mobile:"Processing",order_status_ids:["1","2","14","26","16","18","29"],select:!1},{text:"Shipped",text_mobile:"Shipped",order_status_ids:["3","5","32"],select:!1},{text:"Canceled/Refunded",text_mobile:"Canceled",order_status_ids:["7","11"],select:!1}],o=r.reduce((function(t,e){return e.order_status_ids?t.concat(e.order_status_ids):t}),[]);r.unshift({text:"All",text_mobile:"Order History",order_status_ids:o,select:!0}),e.a=r},615:function(t,e,n){"use strict";n.r(e);var r=n(31),o={props:{order:{type:Object,default:function(){return{}}},user:{type:Object,default:function(){return{customer_credit_points:{}}}}},computed:{viewType:function(){return this.$getVT()}},methods:{dayjs:n.n(r).a,actOrder:function(t,e){this.$emit("act-order",t,e)}}},c=(n(627),n(5)),component=Object(c.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"order-item",attrs:{"data-theme":t.viewType}},["pc"===t.viewType?[n("div",{staticClass:"order-title"},[n("span",[t._v("Order ID:#"+t._s(t.order.order_id))]),t._v(" "),n("a",{attrs:{href:"/account/order/"+t.order.order_id,target:"_blank"}},[t._v("View More "),n("i",{staticClass:"iconfont icon-fangxiangyi"})])]),t._v(" "),n("div",{staticClass:"order-product-list"},t._l(t.order.order_product_list_by_warehouse,(function(e,r){return n("div",{key:e.order_id+"_"+r,staticClass:"warehouse"},[e.warehouse?n("div",{staticClass:"tracking-info"},[n("p",[n("b",[t._v("Shipment 0"+t._s(e.index)+" of 0"+t._s(t.order.warehouseCount))]),t._v(" "),n("span",[t._v(" Shipment from "+t._s(e.warehouse))])]),t._v(" "),e.trackingText?n("p",{domProps:{innerHTML:t._s(e.trackingText)}}):t._e()]):t._e(),t._v(" "),t._l(e.order_product_list.slice(0,3),(function(o){return n("li",{key:e.order_id+"_"+r+"_"+o.product_id},[n("div",{staticClass:"img-box"},[n("img",{attrs:{src:t.$getImg(o.image,120,80),alt:"img"}}
1),t._v(" "),n("a",{attrs:{href:"/product-"+o.product_id+".html",target:"_blank"}})]),t._v(" "),n("div",{staticClass:"product-info"},[n("a",{attrs:{href:"/product-"+o.product_id+".html",target:"_blank"},domProps:{innerHTML:t._s(o.product_name)}}),t._v(" "),n("p",[n("span",[t._v("SKU: "+t._s(o.sku))]),"user"===t.user.identity?n("span",[t._v("Reward Points:"+t._s(o.reward))]):t._e(),n("span",[t._v("x "+t._s(o.quantity))])])])])}))],2)})),0),t._v(" "),n("div",{staticClass:"order-price"},[n("span",[t._v(t._s(t.order.order_product_list&&t.order.order_product_list.length)+" Items")]),t._v(" "),n("span",[t._v("Total "),n("b",[t._v(t._s(t.order.invoice_total_price))])])]),t._v(" "),n("div",{staticClass:"order-status"},[n("span",{class:{lightened:t.order.order_status_lightened}},[t._v(t._s(t.order.order_status))]),t._v(" "),n("div",{staticClass:"order-action"},[t._l(t.order.order_actions,(function(e){return["Reward"===e?n("span",{key:e,staticClass:"review-points"},[n("i",{staticClass:"iconfont icon-a-RewardPoints"}),t._v("+"+t._s(10*t.order.not_reviewed_product_num))]):n("button",{key:e,on:{click:function(n){return t.actOrder(t.order,e)}}},[t._v(t._s(e))])]}))],2)])]:t._e(),t._v(" "),"mobile"===t.viewType?[n("div",{staticClass:"order-title"},[n("span",[t._v("Order ID: "),n("b",[t._v("#"+t._s(t.order.order_id))])]),t._v(" "),n("a",{attrs:{href:"/account/order/"+t.order.order_id,target:"_blank"}},[n("i",{staticClass:"iconfont icon-fangxiangyi"})])]),t._v(" "),n("div",{staticClass:"order-price"},[n("span",[t._v(t._s(t.order.order_product_list&&t.order.order_product_list.length)+" Items")]),t._v(" "),n("span",[t._v("Total: "),n("b",[t._v(t._s(t.order.invoice_total_price))])])]),t._v(" "),n("div",{staticClass:"order-status"},[n("span",[t._v("Status: "),n("b",[t._v(t._s(t.order.order_status))])])]),t._v(" "),n("span",{staticClass:"order-date"},[t._v(t._s(t.dayjs(t.order.date_added).format("MMM DD,YYYY")))]),t._v(" "),n("div",{staticClass:"order-action"},[t._l(t.order.order_actions,(function(e){return["Reward"===e?n("span",{key:e,staticClass:"review-points"},[n("i",{staticClass:"iconfont icon-a-RewardPoints"}),t._v("+"+t._s(10*t.order.not_reviewed_product_num))]):n("button",{key:e,class:{review:"Leave a Review"===e,reviewed:"View My Review"===e},on:{click:function(n){return t.actOrder(t.order,e)}}},[t._v("\n          "+t._s("Leave a Review"===e?"Review":"View My Review"===e?"Reviewed":e)+"\n        ")])]}))],2)]:t._e()],2)}),[],!1,null,null,null);e.default=component.exports},627:function(t,e,n){"use strict";var r=n(511);n.n(r).a}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.