Authored by hf

merge develop code to debug js analysis

... ... @@ -4425,9 +4425,11 @@ define("js/me/entry", ["jquery","hammer","lazyload","swiper","index"], function(
*/
require("js/me/order");
require("js/me/order-detail");
require("js/me/fav");
require("js/me/index");
require("js/me/coupons");
require("js/me/online-service");
});
define("js/me/order", ["jquery","hammer","lazyload"], function(require, exports, module){
/**
... ... @@ -4467,6 +4469,55 @@ navHammer.on('tap', function(e) {
$curContainer = $orderContainer.children(':eq(' + index + ')').removeClass('hide');
});
});
define("js/me/order-detail", ["jquery","lazyload","hammer"], function(require, exports, module){
/**
* 订单详情页
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/11/16
*/
var $ = require("jquery"),
lazyLoad = require("lazyload"),
Hammer = require("hammer");
var orderId = $('#order-detail').data('id');
var optHammer;
lazyLoad();
//订单删除
optHammer = new Hammer(document.getElementsByClassName('opt')[0]);
optHammer.on('tap', function(e) {
var $cur = $(e.target);
if ($cur.hasClass('btn-del')) {
//删除订单
if (confirm('确定删除订单吗?')) {
$.ajax({
type: 'GET',
url: '/home/delOrder',
data: {
id: orderId
}
});
}
} else if ($cur.hasClass('btn-cancel')) {
//取消订单
if (confirm('确定取消订单吗?')) {
$.ajax({
type: 'GET',
url: '/home/cancelOrder',
data: {
id: orderId
}
});
}
}
});
});
define("js/me/fav", ["jquery","hammer","lazyload"], function(require, exports, module){
/**
* 个人中心--收藏
... ... @@ -4514,13 +4565,24 @@ define("js/me/index", ["swiper","index"], function(require, exports, module){
* @date: 2015/11/12
*/
require("js/product/recommend-for-you");
});
define("js/product/recommend-for-you", ["swiper","index"], function(require, exports, module){
/**
* 为您优选
* @author: bikai<kai.bi@yoho.cn>
* @date: 2015/11/16
*/
var Swiper = require("swiper");
var recommendSwiper;
recommendSwiper = new Swiper('.swiper-recommend', {
lazyLoading: true,
lazyLoadingInPrevNext: true,
// lazyLoading: true,
// lazyLoadingInPrevNext: true,
slidesPerView: 'auto'
});
});
... ... @@ -4537,3 +4599,26 @@ $('.employ span').each(function(index) {
});
});
});
define("js/me/online-service", ["jquery"], function(require, exports, module){
/**
* 在线客服
* @author: bikai<kai.bi@yoho.cn>
* @date: 2015/11/16
*/
var $ = require("jquery");
var $questionTab = $('.question-tab .tab-item');
$questionTab.on('touchend', function() {
var clickTab = $(this).data('tab');
clickTab = '[data-tab-name="' + clickTab + '"]';
$questionTab.removeClass('current');
$(this).addClass('current');
$('.question-list').removeClass('current');
$(clickTab).addClass('current');
});
});
... ...
This diff could not be displayed because it is too large.
define("index",["jquery","hammer","swiper","lazyload","mlellipsis","iscroll-probe","index"],function(e,a,n){var s;e("js/common"),e("js/category/entry"),e("js/guang/entry"),e("js/home/entry"),e("js/index/entry"),e("js/passport/entry"),e("js/product/entry"),e("js/me/entry"),n.exports=s}),define("js/common",["jquery"],function(e,a,n){function s(e){var a,n,s=document.cookie;return document.cookie&&""!==document.cookie&&(n=s.indexOf(e+"="),n>-1&&(n+=e.length+1,a=decodeURIComponent(d.trim(s.substring(n,s.indexOf(";",n)))))),a}function o(e,a,n){var s,o,t,i,r="";"undefined"!=typeof a&&(n=n||{},null===a&&(a="",n.expires=-1),n.expires&&("number"==typeof n.expires||n.expires.toUTCString)&&("number"==typeof n.expires?(i=new Date,i.setTime(i.getTime()+24*n.expires*60*60*1e3)):i=n.expires,r="; expires="+i.toUTCString()),s=n.path?"; path="+n.path:"",o=n.domain?"; domain="+n.domain:"",t=n.secure?"; secure":"",document.cookie=[e,"=",encodeURIComponent(a),r,s,o,t].join(""))}function t(){var e,a=s("_UID");return"undefined"==typeof a?0:(e=a.split("::"),"undefined"==typeof e||e.length<4?0:e)}function i(){var e=t();return 0===e?0:e[1]}function r(){var e=s("_g");return"undefined"==typeof e?"":JSON.parse(e).k}function l(){0!==c.length&&(d("body").height()<=d(window).height()?c.addClass("bottom"):c.removeClass("bottom"))}var d=e("jquery"),c=d("#yoho-footer");!function(){var e=c.children(".op-row"),a=t();d("body").height()<=d(window).height()&&c.addClass("bottom"),0===a?e.prepend('<a href="/signin.html?refer='+location.href+'">登录</a><span class="sep-line">|</span><a href="/reg.html">注册</a>'):e.prepend('Hi,<a class="user-name" href="/home?tmp='+Math.random()+'">'+a[0]+'</a><a href="/passport/signout/index?token='+a[3]+'">退出</a>'),e.find(".back-to-top").on("touchend",function(){return d(window).scrollTop(0),!1}),c.removeClass("hide")}(),function(){var e=i();e=0===e?"":e,window._ozuid=e,window._yas&&window._yas(1*new Date,"1.0.12","yohobuy_m",e,"")}(),window.cookie=s,window.setCookie=o,window.getUser=t,window.getUid=i,window.getShoppingKey=r,window.rePosFooter=l}),define("js/category/entry",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){e("js/category/index"),e("js/category/brand")}),define("js/category/index",["jquery","hammer"],function(e,a,n){var s,o,t=e("jquery"),i=e("hammer"),r=t(".category-nav"),l=t(".category-container"),d=l.children(".content"),c=t(".sub-level li"),u=d.not(".hide");!function(){var e=t(".yoho-header"),a=t("#search-input"),n=t(window).height()-e.outerHeight()-a.outerHeight()-r.outerHeight();l.css("min-height",n),d.height(n)}(),t("#search-input").focus(function(){t(this).blur()}),s=new i(r[0]),s.on("tap",function(e){var a=t(e.target).closest("li"),n=a.index();a.hasClass("focus")||(r.find("li.focus").removeClass("focus"),a.addClass("focus"),u.addClass("hide"),u=d.eq(n).removeClass("hide"))}),o=new i(l[0]),o.on("tap",function(e){var a,n,s,o=t(e.target);if(n=o.closest(".p-level-item"),n.length>0){if(s=n.index(),a=o.closest(".content").find(".sub-level"),o.hasClass("focus"))return;o.closest(".primary-level").children(".focus").removeClass("focus"),o.addClass("focus"),a.not(".hide").addClass("hide"),a.eq(s).removeClass("hide")}}),c.on("touchstart",function(){c.removeClass("highlight"),t(this).addClass("highlight")}).on("touchend touchcancel",function(){t(this).removeClass("highlight")})}),define("js/category/brand",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){function s(){var e=u(".brand-list").find("p");e.on("touchstart",function(){e.css("background","#fff"),u(this).css("background","#eee")}).on("touchend touchcancel",function(){u(this).css("background","#fff")})}function o(){var e=(d.val()+"").toLowerCase(),a={},n=0,o="";""!==e&&(u.each(l,function(n,s){u.isArray(s)&&u.each(s,function(s,o){o.name.toLowerCase().indexOf(e)>-1&&(a[n]=a[n]||[],a[n].push(o))})}),u.each(a,function(e,a){var s=['<div class="brand-list bar-',n,'">'];n++,s.push('<div class="title-bar"><h2>'),s.push(e),s.push("</h2></div>"),u.each(a,function(e,a){s.push('<p><a href="'+a.url+'">'+a.name),a.isNew&&s.push('<i class="icon-hot">HOT</i>'),a.isHot&&s.push('<i class="icon-new">NEW</i>'),s.push("</a></p>")}),s.push("</div>"),o+=s.join("")})),u(".search-result").html(o),s()}var t,i,r,l,d,c,u=e("jquery"),p=e("hammer"),h=e("swiper"),f=e("lazyload"),g=u(".brand-list"),m=u(".search-icon"),v=u(".newbrand-search").outerHeight(),w=u(".yoho-header").outerHeight(),y=parseInt(v)+parseInt(w)-1;t=new h(".swiper-container",{lazyLoading:!0,loop:!0,autoplay:3e3,pagination:".swiper-pagination .pagination-inner"}),f(u("img.lazy")),u(".yoho-header").css({"z-index":2,position:"fixed",top:0}),i=u('<div class="title-bar fixed-title-bar"><h2></h2></div>'),i.css({position:"fixed",top:y}).hide(),r=y+u(".hot-brand").outerHeight()+u(".banner-top").outerHeight(),g.last().append(i),u(window).scroll(function(){var e=u(window).scrollTop();g.eq(0).offset().top<r&&i.hide(),g.each(function(){var a=u(this).offset().top-y;e>=a&&i.css({display:"block"}).find("h2").html(u(this).find(".title-bar").text())})}),s(),u(".brand-search-page").length&&(l=u.parseJSON(u("#brands-data").html()),d=u("#keyword"),d.on("input",function(){d.val().length?(m.css("color","#000"),u(this).closest(".search-box").css("width","11.25rem"),u(".search-action").show()):(m.css("color","#b2b2b2"),u(this).closest(".search-box").css("width","12.5rem"),u(".search-action").hide()),o()}).focus(),c=new p(u(".clear-text")[0]),c.on("tap",function(e){e.preventDefault(),u(".search-result").html(""),u("#keyword").val("").trigger("input"),e.srcEvent.stopPropagation()}),u("form.search-box").on("submit",function(){return!1}))}),define("js/guang/entry",["jquery","hammer","lazyload","swiper","mlellipsis","iscroll-probe","index"],function(e,a,n){e("js/guang/plus-star/list"),e("js/guang/plus-star/detail"),e("js/guang/home"),e("js/guang/list"),e("js/guang/detail")}),define("js/guang/plus-star/list",["jquery","hammer","lazyload","swiper","index"],function(e,a,n){var s,o,t=e("jquery"),i=e("hammer"),r=e("lazyload"),l=e("swiper"),d=t("#nav-tab > li"),c=t("#ps-content > .content");r(t("img.lazy")),s=new l(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination"}),o=new i(document.getElementById("nav-tab")),o.on("tap",function(e){var a=t(e.target).closest("li");a.hasClass("focus")||(d.toggleClass("focus"),c.toggleClass("hide"),t(document).trigger("scroll"))})}),define("js/guang/plus-star/detail",["jquery","hammer","mlellipsis","lazyload"],function(e,a,n){var s,o,t,i,r=e("jquery"),l=e("hammer"),d=e("mlellipsis"),c=e("lazyload"),u=r("#intro"),p=r("#intro-more-txt"),h=r("#related-infos-container"),f=e("js/guang/info"),g=e("js/plugin/tip"),m=r("#brand-info").data("id"),v=r("#jump-to-app").val();e("js/plugin/wx-share"),d.init(),c(r("img.lazy")),u[0].mlellipsis(3),setTimeout(function(){s=u.text(),o=u.attr("title")}),f.initInfosEvt(h),t=new l(document.getElementById("more-intro")),t.on("tap",function(e){var a=r(e.target).closest("#more-intro");a.toggleClass("spread"),a.hasClass("spread")?(u.text(o),p.text("收起")):(u.text(s),p.text("more"),r(window).scrollTop(0,400)),e.preventDefault()}),i=new l(document.getElementById("brand-like")),i.on("tap",function(e){var a="ok",n=r(e.target);"1"!==v&&(e.preventDefault(),n.hasClass("like")&&(a="cancel"),r.ajax({type:"POST",url:"/guang/opt/favoriteBrand",data:{id:m,opt:a},success:function(e){200===e.code?n.toggleClass("like"):400===e.code||412===e.code?location.href=e.data:g.show(e.message)},error:function(){g.show("网络断开连接了~")}}))})}),define("js/guang/info",["jquery","hammer","mlellipsis","lazyload"],function(e,a,n){function s(e){d(e.find("img.lazy")),e.each(function(){var e=i(this),a=e.find(".info-title"),n=e.find(".info-text");a[0].mlellipsis(2),n[0].mlellipsis(2)})}function o(e){var a;"undefined"!=typeof e&&(a=new r(e[0]),a.on("tap",function(e){var a,n,s,o=i(e.target),t="ok";a=o.closest(".like-btn"),a.length>0&&(a.hasClass("like")&&(t="cancel"),s=o.closest(".guang-info"),i.ajax({type:"POST",url:"/guang/opt/praiseArticle",data:{id:s.data("id"),opt:t},success:function(e){var n=e.code;200===n&&(a.next(".like-count").text(e.data),a.toggleClass("like"))},error:function(){c.show("网络断开连接了~")}})),n=o.closest(".collect-btn"),n.length>0&&(n.hasClass("collected")&&(t="cancel"),s=o.closest(".guang-info"),i.ajax({type:"POST",url:"/guang/opt/collectArticle",data:{id:s.data("id"),opt:t},success:function(e){e.code&&200===e.code&&n.toggleClass("collected")},error:function(){c.show("网络断开连接了~")}}))}),s(e.find(".guang-info")))}function t(e,a){var n;g||a.end||(1===a.page&&u.showLoadingMask(),n=e.find(".guang-info").length,g=!0,i.ajax({type:"GET",url:" /guang/index/page",data:a,success:function(o){var t;return" "===o?(a.end=!0,g=!1,h.addClass("hide"),void f.removeClass("hide")):(e.append(o),t=n>0?e.find(".guang-info:gt("+(n-1)+")"):e.find(".guang-info"),s(t),1===a.page&&(u.hideLoadingMask(),h.removeClass("hide"),window.rePosFooter()),a.page++,void(g=!1))},error:function(){c.show("网络断开连接了~"),g=!1}}))}var i=e("jquery"),r=e("hammer"),l=e("mlellipsis"),d=e("lazyload"),c=e("js/plugin/tip"),u=e("js/plugin/loading"),p=i("#load-more-info"),h=i(""),f=i(""),g=!1;l.init(),p.length>0&&(h=p.children(".loading"),f=p.children(".no-more")),a.initInfosEvt=o,a.setLazyLoadAndMellipsis=s,a.loadMore=t}),define("js/plugin/tip",["jquery"],function(e,a,n){function s(e,a){var n,s;"undefined"!=typeof e&&(n=e.toString(),s=a&&a>0?a:2e3,o.text(n).show(),t=setTimeout(function(){"block"===o.css("display")&&o.hide()},s))}var o,t,i=e("jquery");!function(){var e='<div id="yoho-tip" class="yoho-tip"></div>';i(".yoho-page").append(e),o=i("#yoho-tip"),o.on("touchend",function(){o.hide(),clearTimeout(t)})}(),a.show=s}),define("js/plugin/loading",["jquery"],function(e,a,n){function s(e){var a='<div class="loading-mask hide"><div class="loading"></div></div>';d=!0,void 0===e&&(e=l),e.append(a),i=e.children(".loading-mask")}function o(){d||(s(),d=!0),i.removeClass("hide")}function t(){i.addClass("hide")}var i,r=e("jquery"),l=r(".yoho-page"),d=!1;a.init=s,a.showLoadingMask=o,a.hideLoadingMask=t}),define("js/plugin/wx-share",["jquery"],function(e,a,n){var s=e("jquery");n.exports=function(){var e="http://www.yohoshow.com/api/wechat/getSignPackage";s.getJSON(e+"?pageurl="+encodeURIComponent(location.href.split("#")[0])+"&callback=?",function(e){var a,n,s,o;void 0!==e&&""!==e&&(a=e.appId.toString(),n=e.timestamp,s=e.nonceStr.toString(),o=e.signature.toString(),wx.config({debug:!1,appId:a,timestamp:n,nonceStr:s,signature:o,jsApiList:["checkJsApi","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","hideMenuItems","showMenuItems","hideAllNonBaseMenuItem","showAllNonBaseMenuItem","translateVoice","startRecord","stopRecord","onRecordEnd","playVoice","pauseVoice","stopVoice","uploadVoice","downloadVoice","chooseImage","previewImage","uploadImage","downloadImage","getNetworkType","openLocation","getLocation","hideOptionMenu","showOptionMenu","closeWindow","scanQRCode","chooseWXPay","openProductSpecificView","addCard","chooseCard","openCard"]}))}),wx.ready(function(){var e=s("#shareTitle").val(),a=s("#shareImg").val(),n=s("#shareDesc").val(),o=s("#shareLink").val(),t={title:e,desc:n,imgUrl:a,link:o};wx.onMenuShareAppMessage(t),wx.onMenuShareTimeline(t),wx.onMenuShareQQ(t),wx.onMenuShareWeibo(t)})}}),define("js/guang/home",["jquery","hammer","swiper","mlellipsis","lazyload","index"],function(e,a,n){var s,o,t=e("jquery"),i=e("hammer"),r=e("swiper"),l=e("js/guang/info"),d=l.loadMore,c=t("#load-more-info"),u=t(""),p=t(""),h=t(window).height(),f=t("#info-list"),g=f.children(".info-list"),m=t("#guang-nav"),v=m.children(".focus"),w=v.data("type"),y={};c.length>0&&(u=c.children(".loading"),p=c.children(".no-more")),s=new r(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination",autoplay:3e3}),l.initInfosEvt(f),function(){var e=t("#gender").val();m.children(".guang-nav-item").each(function(){var a=t(this).data("type"),n=t(this).hasClass("focus");y[a]={page:n?2:1,gender:e,type:a,end:!1}})}(),o=new i(m[0]),o.on("tap",function(e){var a,n,s=t(e.target).closest(".guang-nav-item");s.hasClass("focus")||(n=s.index(),s.addClass("focus"),v.removeClass("focus"),a=g.eq(n),v=s,w=s.data("type"),1===y[w].page?(u.addClass("hide"),p.addClass("hide"),d(a,y[w])):y[w].end?(u.addClass("hide"),p.removeClass("hide")):(u.removeClass("hide"),p.addClass("hide")),g.not(".hide").addClass("hide"),a.removeClass("hide"),1===y[w].page&&window.rePosFooter())}),t(document).scroll(function(){var e=g.not(".hide");t(window).scrollTop()+h>=t(document).height()-.25*e.height()&&d(e,y[w])})}),define("js/guang/list",["jquery","hammer","mlellipsis","lazyload"],function(e,a,n){var s=e("jquery"),o=e("js/guang/info"),t=o.loadMore,i=s(window).height(),r=s("#author-infos"),l=s("#tag"),d=s("#gender"),c=s("#isApp"),u={page:2,end:!1},p=s("#info-list");o.initInfosEvt(p),r.length>0&&s.extend(u,{authorId:r.data("id"),isApp:c.val()}),l.length>0&&s.extend(u,{tag:l.val(),gender:d.val(),isApp:c.val()}),s(document).scroll(function(){s(window).scrollTop()+i>=s(document).height()-.25*p.height()&&t(p,u)})}),define("js/guang/detail",["jquery","mlellipsis","lazyload","iscroll-probe"],function(e,a,n){function s(e){var a=e.offset().left,n=-C+a+y/2+"px";r.css({backgroundPosition:n+" bottom"}),v&&b.css({backgroundPosition:n+" bottom"})}function o(e){var a,n,o,t=p(e.currentTarget),h=t.index();t.hasClass("focus")||(l.filter(".focus").removeClass("focus"),v&&(a=t.closest(".fixed-thumb-container").length>0?r:b,n=a.find(".thumb").eq(h),b.find(".thumb.focus").removeClass("focus"),n.addClass("focus")),t.addClass("focus"),s(t),d.not(".hide").addClass("hide"),o=d.eq(h),o.removeClass("hide"),f(o.find(".lazy")),v?u&&u.scrollToElement(c,400):p("body").animate({scrollTop:i.offset().top},400),u&&u.refresh())}function t(){var e,a,n,s,o,t=p("#scroller"),l=p(".yoho-header"),d=0;return l.length>0&&(d=l.outerHeight()),u=new g("#wrapper",{probeType:3,mouseWheel:!0,click:!0}),document.addEventListener("touchmove",function(e){e.preventDefault()},!1),w?(e=p(window).height()-d,o=b[0],a=r.outerHeight(),n=i.outerHeight(),s=i.offset().top-d,void u.on("scroll",function(){var i=-this.y,r=o.className;s-e+a>=i?-1===r.indexOf("fixed-bottom")&&b.addClass("fixed-bottom").removeClass("hide"):s>=i?-1===r.indexOf("hide")&&b.addClass("hide").removeClass("fixed-bottom fixed-top"):s+n-a>=i?-1===r.indexOf("fixed-top")&&b.addClass("fixed-top").removeClass("hide absolute").css("top",""):s+n>=i?(-1===r.indexOf("absolute")&&b.addClass("absolute").removeClass("fixed-top hide"),o.style.top=s+d+n-a-i+"px"):i>s+n&&-1===r.indexOf("hide")&&b.addClass("hide").removeClass("absolute"),t.trigger("scroll")})):void u.on("scroll",function(){t.trigger("scroll")})}var i,r,l,d,c,u,p=e("jquery"),h=e("mlellipsis"),f=e("lazyload"),g=e("iscroll-probe"),m=p(".author .intro"),v=!1,w=p(".collocation-block").length>0?!0:!1,y=0,b=p(""),c=document.querySelector("#wrapper .collocation-block"),C=p(window).width();e("js/plugin/wx-share")(),window.onload=function(){u&&u.refresh()},a.i=function(e){var a=navigator.userAgent.indexOf("iPhone")>0?!0:!1;v=a&&e,h.init(),f(p(".lazy")),p(".info-list .title, .one-good .reco-name").each(function(){this.mlellipsis(2)}),m.offset()&&parseInt(m.offset().left,10)===parseInt(m.css("margin-left"),10)&&m.css("padding-top",0),v&&(p(".yoho-header").length>0?p("#wrapper").addClass("ios has-head"):p("#wrapper").addClass("ios")),w&&(i=p(".collocation-block"),r=i.children(".thumb-container"),l=r.find("li"),d=i.find(".prod"),y=l.width(),v&&(b=p("#wrapper").after(r.clone().addClass("fixed-thumb-container fixed-bottom")).next(".thumb-container"),f(b.find(".lazy"),{event:"sporty"})),s(l.filter(".focus")),r.delegate(".thumb","touchend",o),v&&b.delegate(".thumb","touchend",o)),v&&t()}}),define("js/home/entry",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){e("js/home/home"),e("js/home/maybe-like")}),define("js/home/home",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){function s(){b.hasClass("menu-open")&&(b.removeClass("menu-open"),m(".overlay").hide(),m(".sub-nav").removeClass("show"),j.removeClass("on"),m("body").css({height:"auto",overflow:"auto"}))}function o(){k+=10,q.css({transform:"rotateX("+k+"deg)","-webkit-transform":"rotateX("+k+"deg)","-moz-transform":"rotateX("+k+"deg)"}),k/90%2===1&&(z?(q.addClass("animate"),z=!1):(q.removeClass("animate"),z=!0)),k/90%2===0&&k%360!==0?window.setTimeout(o,3e3):k%360===0?window.setTimeout(o,6e4):c(function(){o()})}var t,i,r,l,d,c,u,p,h,f,g,m=e("jquery"),v=e("hammer"),w=e("swiper"),y=e("lazyload"),b=m(".mobile-wrap"),C=m(".overlay"),j=m(".side-nav"),x=m(".sub-nav"),k=0,q=m(".home-header .logo"),z=!0;e("js/home/maybe-like"),y(m("img.lazy")),g=new v(m(".nav-btn")[0]),g.on("tap",function(e){return e.preventDefault(),b.addClass("menu-open"),C.show().css("opacity",.3),j.addClass("on"),m("body").css({height:m(window).height(),width:m(window).width(),overflow:"hidden"}),e.srcEvent.stopPropagation(),!1}),m(".overlay").on("touchstart",function(e){return s(),!1}),j.on("touchstart","li",function(e){return m(this).find(".sub-nav").size()>0&&(m(".sub-nav").removeClass("show"),m(this).find(".sub-nav").addClass("show")),e.stopPropagation(),e.target.pathname===location.pathname?(s(),!1):void 0}),x.each(function(){m(this).find("li").eq(0).on("touchstart",function(e){return m(".sub-nav").removeClass("show"),e.stopPropagation(),!1})}).on("touchstart",function(e){e.currentTarget!==e.target&&x.find("li").removeClass("current")}),j.children("ul").children("li").on("touchstart",function(){j.children("ul").children("li").css("background","#fff"),m(this).css("background","#eee")}).on("touchend touchcancel",function(){m(this).css("background","#fff")}),m(".banner-swiper").find("li").size()>1&&(t=new w(".banner-swiper",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:".banner-top .pagination-inner"})),r=new w(".brands-swiper",{grabCursor:!0,slidesPerView:"auto",wrapperClass:"brands-list",slideElement:"li"}),i=new w(".recommend-swiper",{grabCursor:!0,slidesPerView:"auto",wrapperClass:"recommend-list",slideElement:"li"}),m(".trend-topic-swiper").find("li").size()>1&&(l=new w(".trend-topic-swiper",{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:".trend-topic-content .pagination-inner"})),m(".category-swiper").each(function(e,a){h="category-swiper"+e,m(this).addClass(h),m("."+h).find(".swiper-slide").size()>1&&(d=new w("."+h,{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:"."+h+" .pagination-inner"}))}),c=function(){var e=null,a=["webkit","moz","ms"];for(p=0;p<a.length;p++)u=a[p]+"RequestAnimationFrame",window[u]&&(f=!0,e=u);return f?function(a){window[e](a)}:function(e){window.setTimeout(e,67)}}(),setTimeout(o,3e3),m("#yoho-footer").css({"margin-bottom":"2.5rem"}),a.set=function(e){window.setCookie("_Channel",e,{expires:365,domain:".m.yohobuy.com"})}}),define("js/home/maybe-like",["jquery","hammer","lazyload"],function(e,a,n){function s(){m||(m=!0,p.showLoadingMask(),d.ajax({type:"GET",url:i,data:{page:v+1},success:function(e){return" "===e?(m=!1,p.hideLoadingMask(),void(w&&(i="1,3"===w?"/boys/bottomBanner":"/girls/bottomBanner",d.ajax({type:"GET",url:i,success:function(e){e&&e.img&&(d("#load-more-img").show(),d("#load-more-img a").attr("href",e.url),d("#load-more-img a > img").attr("src",e.img))},error:function(){}})))):(t=g.find(".good-info").length,g.append(e),h(0===t?g.find(".good-info").find("img.lazy"):g.find(".good-info:gt("+(t-1)+")").find("img.lazy")),m=!1,p.hideLoadingMask(),void v++)},error:function(){u.show("网络断开连接了~"),m=!1,p.hideLoadingMask()}}))}var o,t,i,r,l,d=e("jquery"),c=e("hammer"),u=e("js/plugin/tip"),p=e("js/plugin/loading"),h=e("lazyload"),f=d(window).height(),g=d("#goods-list"),m=!1,v=0,w=null,y=d(".mobile-wrap").hasClass("kids-wrap")?!0:!1,b=d(".mobile-wrap").hasClass("lifestyle-wrap")?!0:!1,C=d("#maybe-like-nav");y?i="/product/recom/maylikekids":b?i="/product/recom/maylikelife":(w=d(".mobile-wrap").hasClass("boys-wrap")?"1,3":"2,3",i="/product/recom/maylike?gender="+w),r=C.children(".focus"),b&&(o=new c(C[0]),o.on("tap",function(e){var a,n=d(e.target).closest("li"),s=d(".goods-list");e.preventDefault(),n.hasClass("focus")||(l=n.index(),n.addClass("focus"),r.removeClass("focus"),s.not(".hide").addClass("hide"),a=s.eq(l),a.removeClass("hide"),r=n,d(document).trigger("scroll"),e.srcEvent.stopPropagation())})),p.init(d(".maybe-like")),d(".maybe-like p").on("touchstart",function(e){s()}),d(window).scroll(function(){d(window).scrollTop()+f>=d(document).height()-50&&s()})}),define("js/index/entry",["jquery","hammer"],function(e,a,n){e("js/index/search"),e("js/index/footer"),e("js/index/channel")}),define("js/index/search",["jquery","hammer"],function(e,a,n){var s,o,t=e("jquery"),i=e("hammer"),r=t("#search-input input"),l=t("#search-input .clear-input"),d=t(".search-icon"),c=t("#search-form"),u=t(".history"),p=t("#clear-history"),h=e("js/index/write-search"),f=h.getRanToken();s=new i(p[0]),s.on("tap",function(){localStorage.removeItem("historys"),u.html("")}),r.on("input",function(){""===r.val()?(d.css("color","#b2b2b2"),l.addClass("hide")):(d.css("color","#666"),l.removeClass("hide"))}),o=new i(l[0]),o.on("tap",function(){r.val("").trigger("input")}),t("#search").on("touchend",function(){return t(this).closest("form").submit(),!1}),function(){var e,a,n,s="";if(localStorage&&(a=localStorage.getItem("historys"),a&&a.length>0)){for(a=a.split(f),n=0;n<a.length;n++)e=a[n],""!==e&&(s+='<li><a href="/?query='+e+'">'+e+"</li>");u.html(s),p.removeClass("hide")}}(),h.bindWirteLocal(c)}),define("js/index/write-search",[],function(e,a,n){function s(){return t}function o(e){e.on("submit",function(){var e,a=this.query.value;if(localStorage){if(e=localStorage.getItem("historys"),e=e?e:"",e.indexOf(t+a+t)>-1)return;""===e&&(a=t+a),e+=a+t,localStorage.setItem("historys",e)}})}var t=" ??++ ";a.getRanToken=s,a.bindWirteLocal=o}),define("js/index/footer",["jquery","hammer"],function(e,a,n){function s(){var e="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445",a=new Date;setTimeout(function(){new Date-a<2e3&&(window.location=e)},500)}var o,t=e("jquery"),i=e("hammer");e("js/common"),t("#float-layer-close").on("touchend",function(e){return t("#float-layer-app").hide(),window.setCookie("_float-layer-app","id490655927",{domain:".yohobuy.com"}),window.setCookie("_float-layer-app-close",1,{domain:".yohobuy.com",expires:1}),!1}),t("#float-layer-btn")&&t("#float-layer-btn")[0]&&(o=new i(t("#float-layer-btn")[0]),o.on("tap",function(e){s("bottom"),e.srcEvent.stopPropagation()}),"function"!=typeof window.cookie||window.cookie("_float-layer-app")?t("#float-layer-app").hide():t("#float-layer-app").show())}),define("js/index/channel",["jquery"],function(e,a,n){var s=e("jquery"),o=s(".search-box"),t=s(".box"),i=s(".index-search"),r=s(".index-logo"),l=s(".index-channel a"),d=o.children('input[type="text"]'),c=t.children(".no-search"),u=o.children(".search-icon");e("js/common"),d.on("focus",function(){t.addClass("action"),r.addClass("action")}).on("input",function(){""===d.val()?u.addClass("empty"):u.removeClass("empty")}),c.on("touchend",function(){return t.removeClass("action"),r.removeClass("action"),d.blur(),!1}),o.children(".clear-text").on("touchstart",function(){d.val("").focus().trigger("input")}),o.children(".search-icon").on("touchstart",function(){i.submit()}),s(".index-channel img").on("load error",function(){window.rePosFooter&&window.rePosFooter()}),l.on("touchstart",function(){l.css({background:"#000",color:"#fff",borderColor:"#fff"}),s(this).css({background:"rgba(255, 255, 255, 0.5)",color:"#000",borderColor:"#000"})}).on("touchend touchcancel",function(){s(this).css({background:"#000",color:"#fff",borderColor:"#fff"})})}),define("js/passport/entry",["jquery"],function(e,a,n){e("js/passport/register/register"),e("js/passport/register/code"),e("js/passport/register/password"),e("js/passport/login/login"),e("js/passport/login/international"),e("js/passport/back/mobile"),e("js/passport/back/code"),e("js/passport/back/email"),e("js/passport/back/email-success"),e("js/passport/back/new-password")}),define("js/passport/register/register",["jquery"],function(e,a,n){var s=e("jquery"),o=s("#phone-num"),t=s("#country-select"),i=s("#area-code"),r=s("#btn-next"),l=e("js/passport/api"),d=e("js/plugin/tip"),c=s.trim,u=d.show;l.selectCssHack(s("#country-select")),l.bindClearEvt(),o.bind("input",function(){""===c(o.val())?r.addClass("disable"):r.removeClass("disable")}),t.change(function(){i.text(t.val())}),r.on("touchstart",function(){var e=c(o.val()),a=t.val();r.hasClass("disable")||(l.phoneRegx[a].test(e)?s.ajax({url:"/passport/reg/verifymobile",type:"POST",data:{areaCode:a.replace("+",""),phoneNum:e},success:function(e){200===e.code?location.href=e.data:u(e.message)}}):u("手机号格式不正确,请重新输入"))})}),define("js/passport/api",["jquery"],function(e,a,n){function s(e){var a,n=r(".has-eye");e&&"open"===e.status?n.append('<div class="eye"></div>'):n.append('<div class="eye close"></div>'),a=n.children(".eye"),a.on("touchstart",function(e){var a=r(this),n=a.siblings(".pwd");e.preventDefault(),a.toggleClass("close"),a.hasClass("close")?n.attr("type","password"):n.attr("type","text"),n.focus()})}function o(){var e,a=r(".has-clear");a.append('<div class="clear-input"></div>'),e=a.children(".clear-input"),e.on("touchstart",function(a){var n=e.siblings(".input");n.val("").trigger("input").focus(),a.preventDefault()}),a.children(".input").bind("input",function(){var e=r(this),a=e.siblings(".clear-input"),n=l(e.val());""===n?a.hide():a.show()})}function t(e){return e.length>=6&&e.length<=20?!0:!1}function i(e){function a(){var a=e.find("option:selected").text().length;switch(a){case 2:e.outerWidth(90);break;case 3:e.outerWidth(110);break;default:e.outerWidth(130)}}var n=navigator.userAgent;n.match(/uc/i)&&n.match(/android/i)?e.change(function(){a()}):e.removeClass("in-android-uc")}var r=e("jquery"),l=r.trim,d=/^([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/,c={"+86":/^1[35847]{1}[0-9]{9}$/,"+852":/^[965]{1}[0-9]{7}$/,"+853":/^[0-9]{8}$/,"+886":/^[0-9]{10}$/,"+65":/^[98]{1}[0-9]{7}$/,"+60":/^1[1234679]{1}[0-9]{8}$/,"+1":/^[0-9]{10}$/,"+82":/^01[0-9]{9}$/,"+44":/^7[789][0-9]{8}$/,"+81":/^0[9|8|7][0-9]{9}$/,"+61":/^[0-9]{11}$/};n.exports={emailRegx:d,phoneRegx:c,bindEyesEvt:s,bindClearEvt:o,pwdValidate:t,selectCssHack:i}}),define("js/passport/register/code",["jquery"],function(e,a,n){e("js/passport/code")(!0)}),define("js/passport/code",["jquery"],function(e,a,n){var s=e("jquery");n.exports=function(a){function n(){var e,a=59;e=setInterval(function(){0===a?(i.text("重发验证码").removeClass("disable"),clearInterval(e)):i.text("重发验证码 ("+a--+"秒)")},1e3)}var o=s("#captcha"),t=s("#btn-next"),i=s("#captcha-tip"),r=s("#phone-num").val(),l=s("#area-code").val().replace("+",""),d=e("js/passport/api"),c=e("js/plugin/tip"),u=s.trim,p=c.show,h=a?"reg":"back";d.bindClearEvt(),o.bind("input",function(){""!==u(o.val())?t.removeClass("disable"):t.addClass("disable")}),i.on("touchstart",function(){i.hasClass("disable")||s.ajax({type:"POST",url:"/passport/"+h+"/sendcode",data:{phoneNum:r,areaCode:l},success:function(e){200===e.code?(i.text("重发验证码 (60秒)").addClass("disable"),n()):p(e.message)}})}),t.on("touchstart",function(){t.hasClass("disable")||s.ajax({type:"POST",url:"/passport/"+h+"/verifycode",data:{phoneNum:r,areaCode:l,code:u(o.val()),token:s("#token").val()},success:function(e){200===e.code?location.href=e.data:p(e.message)}})}),n()}}),define("js/passport/register/password",["jquery"],function(e,a,n){var s=e("jquery"),o=s("#pwd"),t=s("#btn-sure"),i=e("js/passport/api"),r=e("js/plugin/tip"),l=s.trim,d=r.show;i.bindEyesEvt({status:"open"}),o.bind("input",function(){""===l(o.val())?t.addClass("disable"):t.removeClass("disable")}),t.on("touchstart",function(){var e=l(o.val());t.hasClass("disable")||(i.pwdValidate(e)===!1?d("密码6-20位,请重新输入"):s.ajax({type:"POST",url:"/passport/reg/setpassword",data:{password:e,phoneNum:s("#phone-num").val(),areaCode:s("#area-code").val(),token:s("#token").val()},success:function(e){200===e.code?(d("注册成功"),setTimeout(function(){location.href=e.data},1e3)):d(e.message)}}))})}),define("js/passport/login/login",["jquery"],function(e,a,n){function s(){p&&h?d.removeClass("disable"):d.addClass("disable")}function o(){c.show(),u.show()}function t(){c.hide(),u.hide()}var i=e("jquery"),r=i("#account"),l=i("#pwd"),d=i("#btn-login"),c=i("#retrive-pwd-mask"),u=i("#retrive-pwd-ways"),p=!1,h=!1,f=e("js/passport/api"),g=e("js/plugin/tip"),m=i.trim,v=g.show;f.bindEyesEvt(),f.bindClearEvt(),r.bind("input",function(){p=""!==m(r.val())?!0:!1,s()}),l.bind("input",function(){h=""===m(l.val())?!1:!0,s()}),d.on("touchstart",function(){var e=m(r.val()),a=m(l.val());d.hasClass("disable")||((/^[0-9]+$/.test(e)||f.emailRegx.test(e))&&f.pwdValidate(a)?i.ajax({type:"POST",url:"/passport/login/auth",data:{account:e,password:a},success:function(e){200===e.code?(v("登录成功"),setTimeout(function(){location.href=e.data},1e3)):v(e.message)},error:function(){v("网络断开连接啦~")}}):v("账号或密码有错误,请重新输入"))}),i("#forget-pwd").on("touchstart",function(){o()}),c.on("touchstart",function(){t()}),i("#cancel-retrive").on("touchstart",function(e){e.preventDefault(),t()}),r.trigger("input"),l.trigger("input")}),define("js/passport/login/international",["jquery"],function(e,a,n){function s(){c&&u?d.removeClass("disable"):d.addClass("disable")}var o=e("jquery"),t=o("#phone-num"),i=o("#country-select"),r=o("#area-code"),l=o("#pwd"),d=o("#btn-login"),c=!1,u=!1,p=e("js/passport/api"),h=e("js/plugin/tip"),f=o.trim,g=h.show;p.selectCssHack(i),p.bindEyesEvt(),p.bindClearEvt(),t.bind("input",function(){c=""===f(t.val())?!1:!0,s()}),l.bind("input",function(){var e=f(l.val());u=""===e?!1:!0,s()}),i.change(function(){r.text(i.val())}),d.on("touchstart",function(){var e=f(t.val()),a=i.val(),n=f(l.val());d.hasClass("disable")||(p.phoneRegx[a].test(e)&&p.pwdValidate(n)?o.ajax({type:"POST",url:"/passport/login/auth",data:{areaCode:a.replace("+",""),account:e,password:n},success:function(e){200===e.code?(g("登录成功"),setTimeout(function(){location.href=e.data},1e3)):g(e.message)},error:function(){g("网络断开连接啦~")}}):g("账号或密码有错误,请重新输入"))}),t.trigger("input"),l.trigger("input")}),define("js/passport/back/mobile",["jquery"],function(e,a,n){var s=e("jquery"),o=s("#phone-num"),t=s("#country-select"),i=s("#area-code"),r=s("#btn-next"),l=e("js/passport/api"),d=e("js/plugin/tip"),c=s.trim,u=d.show;l.selectCssHack(s("#country-select")),l.bindClearEvt(),o.bind("input",function(){""===c(o.val())?r.addClass("disable"):r.removeClass("disable")}),t.change(function(){i.text(t.val())}),r.on("touchstart",function(){var e=c(o.val()),a=t.val();r.hasClass("disable")||(l.phoneRegx[a].test(e)?s.ajax({url:"/passport/back/sendcode",type:"POST",data:{areaCode:a.replace("+",""),phoneNum:e},success:function(e){200===e.code?location.href=e.data:u(e.message)}}):u("手机号格式不正确,请重新输入"))})}),define("js/passport/back/code",["jquery"],function(e,a,n){e("js/passport/code")(!1)}),define("js/passport/back/email",["jquery"],function(e,a,n){var s=e("jquery"),o=s("#email"),t=s("#btn-sure"),i=e("js/passport/api"),r=e("js/plugin/tip"),l=s.trim,d=r.show;i.bindClearEvt(),o.bind("input",function(){""===l(o.val())?t.addClass("disable"):t.removeClass("disable")}),t.on("touchstart",function(){var e=l(o.val());t.hasClass("disable")||(i.emailRegx.test(e)?s.ajax({url:"/passport/back/sendemail",type:"POST",data:{email:e},success:function(e){200===e.code?location.href=e.data:d(e.message)}}):d("邮箱格式不正确,请重新输入"))})}),define("js/passport/back/email-success",["jquery"],function(e,a,n){var s=e("jquery"),o=s("#resend"),t=e("js/plugin/tip"),i=t.show;o.on("touchstart",function(e){e.preventDefault(),s.ajax({url:o.data("url"),type:"GET",success:function(e){
i(200===e.code?e.message:e.message)}})})}),define("js/passport/back/new-password",["jquery"],function(e,a,n){var s=e("jquery"),o=s("#pwd"),t=s("#btn-ok"),i=e("js/passport/api"),r=e("js/plugin/tip"),l=s.trim,d=r.show,c=s("#phone-num");i.bindEyesEvt({status:"open"}),o.bind("input",function(){""===l(o.val())?t.addClass("disable"):t.removeClass("disable")}),t.on("touchstart",function(){var e,a,n=l(o.val()),r=!0;t.hasClass("disable")||(e={password:n},0===c.length&&(r=!1),r?(s.extend(e,{phoneNum:c.val(),areaCode:s("#areaCode").val(),token:s("#token").val()}),a="/passport/back/passwordByMobile"):(s.extend(e,{code:s("#email-code").val()}),a="/passport/back/passwordByEmail"),i.pwdValidate(n)?s.ajax({type:"POST",url:a,data:e,success:function(e){200===e.code?(d("密码修改成功"),setTimeout(function(){location.href=e.data},1e3)):d(e.message)}}):d("密码6-20位,请重新输入"))})}),define("js/product/entry",["jquery","swiper","hammer","lazyload","index"],function(e,a,n){e("js/product/newsale/newarrival"),e("js/product/newsale/discount"),e("js/product/list"),e("js/product/detail/detail")}),define("js/product/newsale/newarrival",["jquery","swiper","hammer","lazyload","index"],function(e,a,n){function s(e){var a,n,s,o,l,u,p={};if(!d){if(e){for(n in T)T.hasOwnProperty(n)&&(T[n].reload=!0);switch(z.children(".active").removeClass("active"),E.addClass("active"),e.type){case"gender":a={gender:e.id};break;case"brand":a={brand:e.id};break;case"sort":a={sort:e.id};break;case"color":a={color:e.id};break;case"size":a={size:e.id};break;case"price":a={price:e.id};break;case"discount":a={discount:e.id};break;case"limit":a={limit:e.id};break;case"channel":a={channel:e.id};break;case"p_d":a={p_d:e.id}}c.extend(C,a)}if(E.hasClass("today")?(o="today",l=1):E.hasClass("week")?(o="week",l=2):E.hasClass("sale")&&(o="sale",l=3),s=T[o],u=s.page+1,s.reload)u=1;else if(s.end)return;c.extend(p,C,{dayLimit:l,page:u}),d=!0,m.showLoadingMask(),c.ajax({type:"GET",url:"/product/newsale/selectNewSale",data:p,success:function(e){var a,n;switch(o){case"today":a=t;break;case"week":a=i;break;case"sale":a=r}" "===e?(s.end=!0,s.reload&&a.html(b)):s.reload?(a.html(e),h(a.find(".lazy"))):(n=a.find(".good-info").length,a.append(e),h(a.find(".good-info:gt("+(n-1)+") .lazy"))),s.reload=!1,s.page=u,d=!1,m.hideLoadingMask(),window.rePosFooter()},error:function(){f.show("网络断开连接了~"),d=!1,m.hideLoadingMask()}})}}var o,t,i,r,l,d,c=e("jquery"),u=e("swiper"),p=e("hammer"),h=e("lazyload"),f=e("js/plugin/tip"),g=e("js/plugin/filter"),m=e("js/plugin/loading"),v=c("#goods-container"),w=v.children(),t=c(w.get(0)),i=c(w.get(1)).addClass("hide"),r=c(w.get(2)).addClass("hide"),y=c(window).height(),b='<p class="no-result">未找到相关搜索结果</p>',C={gender:c("#gender").val(),brand:c("#brand").val(),sort:c("#sort").val(),msort:c("#msort").val(),misort:c("#misort").val(),color:c("#color").val(),size:c("#size").val(),price:c("#price").val(),discount:c("#discount").val(),limit:c("#limit").val(),channel:c("#channel").val(),p_d:c("#p_d").val(),dayLimit:1,style:c("#style").val()},j=c.extend({},C),x=new Date,k=x.getMonth()+1,q=x.getDate(),z=c("#list-nav"),T={today:{reload:!0,page:0,end:!1},week:{reload:!0,page:0,end:!1},sale:{reload:!0,page:0,end:!1}},E=z.find(".active");e("js/product/suspend-cart"),c("#today a").text(k+"月"+q+"号"),c(".swiper-container .swiper-slide").length>1&&(o=new u(".swiper-container",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!0,paginationClickable:!0,pagination:".banner-top .pagination-inner"})),c.ajax({type:"GET",url:"/product/newsale/filter",data:C,success:function(e){v.append(e),g.initFilter({fCbFn:s,hCbFn:function(){E.addClass("active"),E.siblings(".filter").removeClass("active")}})}}),h(c(".lazy")),l=new p(z[0]),l.on("tap",function(e){var a,n,o,l=c(e.target).closest("li");if(e.preventDefault(),l.hasClass("filter"))l.hasClass("active")?(g.hideFilter(),E.addClass("active"),l.removeClass("active")):(E=l.siblings(".active"),E.removeClass("active"),l.addClass("active"),g.showFilter());else{if(l.hasClass("today")?n="today":l.hasClass("week")?n="week":l.hasClass("sale")&&(n="sale"),a=T[n],!l.hasClass("active")){if(o=l.siblings(".active"),E=l,o.hasClass("filter"))g.hideFilter();else{switch(v.children(".container:not(.hide)").addClass("hide"),n){case"today":t.removeClass("hide");break;case"week":i.removeClass("hide");break;case"sale":r.removeClass("hide")}g.resetFilter(),C=c.extend({},j)}o.removeClass("active"),l.addClass("active")}a.reload&&s()}e.srcEvent.stopPropagation()}),c(window).scroll(function(){c(window).scrollTop()+y>c(document).height()-.25*v.height()-50&&void 0!==E&&s()}),s()}),define("js/plugin/filter",["jquery","hammer"],function(e,a,n){function s(){u.addClass("hide")}function o(){u.removeClass("hide")}function t(){var e=g(".filter-body .sub-item");e.on("touchstart",function(){e.removeClass("highlight"),g(this).addClass("highlight")}).on("touchend touchcancel",function(){g(this).removeClass("highlight")})}function i(e){e.hasClass("active")||(e.siblings(".active").removeClass("active"),e.addClass("active"))}function r(e){var a,n,s=e.closest(".sub-classify"),o=s.siblings(".shower");return e.hasClass("chosed")?s:(s.children(".chosed").removeClass("chosed"),e.addClass("chosed"),a=g.trim(e.html()),n=g.trim(o.html()),o.html(n.substring(0,n.indexOf("</span>")+7)+a.substring(0,a.indexOf("<i"))),0===e.index()?o.addClass("default"):o.removeClass("default"),s)}function l(e){var a,n=e.data("id");a=r(e),p&&p({type:a.data("type"),id:n}),s()}function d(e){var a;p=e.fCbFn,h=e.hCbFn,f=e.missStatus,t(),u=g(".filter-mask"),a=new m(u[0]),a.on("tap",function(e){var a,n=g(e.target);e.preventDefault(),n.closest(".filter-body").length>0?(a=n.closest(".sub-item"),a.length>0?(a=n.closest("li"),l(a)):(a=n.closest(".classify-item"),e.srcEvent.stopPropagation(),i(a))):(s(),h&&h())})}function c(){"undefined"!=typeof u&&(g(".sub-classify").each(function(){r(g(this).children(":first-child"))}),i(g(".classify > :first-child")))}var u,p,h,f,g=e("jquery"),m=e("hammer");a.initFilter=d,a.showFilter=o,a.hideFilter=s,a.resetFilter=c}),define("js/product/suspend-cart",["jquery"],function(e,a,n){var s=e("jquery"),o=s("#suspend-cart");s.ajax({type:"GET",url:"/cart/index/count",success:function(e){200===e.code&&o.find(".cart-count").html(e.data.cart_goods_count).removeClass("hide")}})}),define("js/product/newsale/discount",["jquery","swiper","hammer","lazyload","index"],function(e,a,n){function s(e){var a,n,s,o,t,l={};if(!i){if(e){for(n in x)x.hasOwnProperty(n)&&(x[n].reload=!0);switch(j.children(".active").removeClass("active"),k.addClass("active"),e.type){case"gender":a={gender:e.id};break;case"brand":a={brand:e.id};break;case"sort":a={sort:e.id};break;case"color":a={color:e.id};break;case"size":a={size:e.id};break;case"price":a={price:e.id};break;case"discount":a={discount:e.id}}r.extend(C,a)}if(k.hasClass("new")?o="newest":k.hasClass("price")?o="price":k.hasClass("discount")&&(o="discount"),s=x[o],t=s.page+1,s.reload)t=1;else if(s.end)return;r.extend(l,C,{type:o,order:s.order,page:t}),i=!0,h.showLoadingMask(),r.ajax({type:"GET",url:"/product/newsale/selectNewSale",data:l,success:function(e){var a,n;switch(o){case"newest":a=m;break;case"price":a=v;break;case"discount":a=w}" "===e?(s.end=!0,s.reload&&a.html(b)):s.reload?(a.html(e),c(a.find(".lazy"))):(n=a.find(".good-info").length,a.append(e),c(a.find(".good-info:gt("+(n-1)+") .lazy"))),s.reload=!1,s.page=t,i=!1,h.hideLoadingMask(),window.rePosFooter()},error:function(){u.show("网络断开连接了~"),i=!1,h.hideLoadingMask()}})}}var o,t,i,r=e("jquery"),l=e("swiper"),d=e("hammer"),c=e("lazyload"),u=e("js/plugin/tip"),p=e("js/plugin/filter"),h=e("js/plugin/loading"),f=r("#goods-container"),g=f.children(),m=r(g.get(0)),v=r(g.get(1)),w=r(g.get(2)),y=r(window).height(),b='<p class="no-result">未找到相关搜索结果</p>',C={gender:r("#gender").val(),brand:r("#brand").val(),sort:r("#sort").val(),msort:r("#msort").val(),misort:r("#misort").val(),color:r("#color").val(),size:r("#size").val(),price:r("#price").val(),discount:r("#discount").val(),style:r("#style").val()},j=r("#list-nav"),x={newest:{order:1,reload:!0,page:0,end:!1},price:{order:0,reload:!0,page:0,end:!1},discount:{order:0,reload:!0,page:0,end:!1}},k=j.find(".active");e("js/product/suspend-cart"),r(".swiper-container .swiper-slide").length>1&&(o=new l(".swiper-container",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!0,paginationClickable:!0,pagination:".banner-top .pagination-inner"})),r.ajax({type:"GET",url:"/product/newsale/filter",data:C,success:function(e){f.append(e),p.initFilter({fCbFn:s,hCbFn:function(){k.addClass("active"),k.siblings(".filter").removeClass("active")},missStatus:!0})}}),c(r(".lazy")),t=new d(j[0]),t.on("tap",function(e){var a,n,o,t=r(e.target).closest("li");if(e.preventDefault(),"undefined"!=typeof t&&0!==t.length){if(t.hasClass("filter"))t.hasClass("active")?(p.hideFilter(),k.addClass("active"),t.removeClass("active")):(k=t.siblings(".active"),k.removeClass("active"),t.addClass("active"),p.showFilter());else{if(t.hasClass("new")?n="newest":t.hasClass("price")?n="price":t.hasClass("discount")&&(n="discount"),a=x[n],t.hasClass("active")){if(t.hasClass("new"))return;(t.hasClass("price")||t.hasClass("discount"))&&(t.find(".icon > .iconfont").toggleClass("cur"),k=t,a.reload=!0,a.order=0===a.order?1:0)}else{if(o=t.siblings(".active"),k=t,o.hasClass("filter"))p.hideFilter();else switch(f.children(".container:not(.hide)").addClass("hide"),n){case"newest":m.removeClass("hide");break;case"price":v.removeClass("hide");break;case"discount":w.removeClass("hide")}o.removeClass("active"),t.addClass("active")}a.reload&&s()}e.srcEvent.stopPropagation()}}),r(window).scroll(function(){r(window).scrollTop()+y>r(document).height()-.25*f.height()-50&&void 0!==k&&s()}),s()}),define("js/product/list",["jquery","hammer","lazyload"],function(e,a,n){function s(e){var a,n,s,t,i,r={};if(!o){if(e){for(n in E)E.hasOwnProperty(n)&&(E[n].reload=!0);switch(T.children(".active").removeClass("active"),P.addClass("active"),e.type){case"gender":a={gender:e.id};break;case"brand":a={brand:e.id};break;case"sort":a={sort:e.id};break;case"color":a={color:e.id};break;case"size":a={size:e.id};break;case"price":a={price:e.id};break;case"discount":a={discount:e.id}}d.extend(z,a)}if(P.hasClass("new")?t="newest":P.hasClass("price")?t="price":P.hasClass("discount")&&(t="discount"),s=E[t],i=s.page+1,s.reload)i=1;else if(s.end)return;d.extend(r,z,{type:t,order:s.order,page:i}),o=!0,v.showLoadingMask(),d.ajax({type:"GET",url:"/index/search/search",data:r,success:function(e){var a,n,r='<p class="no-result">未找到相关搜索结果</p>';switch(t){case"newest":n=y;break;case"price":n=b;break;case"discount":n=C}" "===e?(s.end=!0,s.reload&&n.html(r)):s.reload?(n.html(e),u(n.find(".lazy"))):(a=n.find(".good-info").length,n.append(e),u(n.find(".good-info:gt("+(a-1)+") .lazy"))),s.reload=!1,s.page=i,o=!1,v.hideLoadingMask(),window.rePosFooter()}})}}var o,t,i,r,l,d=e("jquery"),c=e("hammer"),u=e("lazyload"),p=d("#brand-header"),h=d("#intro-box"),f=e("js/plugin/filter"),g=e("js/index/write-search"),m=e("js/plugin/tip"),v=e("js/plugin/loading"),w=d("#goods-container"),y=w.children(".new-goods"),b=w.children(".price-goods"),C=w.children(".discount-goods"),j=d(window).height(),x=d("#search-input input"),k=d(".search-icon"),q=d("#search-input .clear-input"),z={gender:d("#gender").val(),brand:d("#brand").val(),sort:d("#sort").val(),msort:d("#msort").val(),misort:d("#misort").val(),color:d("#color").val(),size:d("#size").val(),price:d("#price").val(),discount:d("#discount").val(),query:d("#query").val(),style:d("#style").val()},T=d("#list-nav"),E={newest:{order:1,reload:!0,page:0,end:!1},price:{order:0,reload:!0,page:0,end:!1},discount:{order:0,reload:!0,page:0,end:!1}},P=T.find(".active");x.on("input",function(){""===x.val()?(k.css("color","#b2b2b2"),q.addClass("hide")):(k.css("color","#666"),q.removeClass("hide"))}),q.on("touchend",function(){x.val("").trigger("input")}),d("#search").on("touchend",function(){return d(this).closest("form").submit(),!1}),e("js/product/suspend-cart"),d.ajax({type:"GET",url:"/search/filter",data:z,success:function(e){w.append(e),f.initFilter({fCbFn:s,hCbFn:function(){P.addClass("active"),P.siblings(".filter").removeClass("active")}})}}),u(d(".lazy")),g.bindWirteLocal(d("#search-form")),t=new c(T[0]),t.on("tap",function(e){var a,n,o,t=d(e.target).closest("li");if(t.hasClass("filter"))t.hasClass("active")?(f.hideFilter(),P.addClass("active"),t.removeClass("active")):(P=t.siblings(".active"),P.removeClass("active"),t.addClass("active"),f.showFilter());else{if(t.hasClass("new")?n="newest":t.hasClass("price")?n="price":t.hasClass("discount")&&(n="discount"),a=E[n],t.hasClass("active")){if(t.hasClass("new"))return;(t.hasClass("price")||t.hasClass("discount"))&&(t.find(".icon > .iconfont").toggleClass("cur"),P=t,a.reload=!0,a.order=0===a.order?1:0)}else{if(o=t.siblings(".active"),P=t,o.hasClass("filter"))f.hideFilter();else switch(w.children(".container:not(.hide)").addClass("hide"),n){case"newest":y.removeClass("hide");break;case"price":b.removeClass("hide");break;case"discount":C.removeClass("hide")}o.removeClass("active"),t.addClass("active")}a.reload&&s()}}),d(window).scroll(function(){d(window).scrollTop()+j>d(document).height()-.25*w.height()&&s()}),p.length>0&&(i=new c(p.children(".btn-intro")[0]),i.on("tap",function(){h.removeClass("hide"),d("body").addClass("overflow-hidden")}),r=new c(document.getElementById("intro-box")),r.on("tap",function(e){var a=d(e.target);e.srcEvent.preventDefault(),(0===a.closest("#brand-intro").length||a.hasClass("close-intro"))&&(h.addClass("hide"),d("body").removeClass("overflow-hidden"))}),l=new c(p.children(".btn-col")[0]),l.on("tap",function(){var e,a=d(this),n=p.data("id");e=a.hasClass("coled")?"cancel":"ok",d.ajax({type:"POST",url:"/product/opt/favoriteBrand",data:{id:n,opt:e},success:function(e){200===e.code?a.toggleClass("coled"):400===e.code?location.href=e.data:m.show(e.message)},error:function(){m.show("网络断开连接了~")}})})),s()}),define("js/product/detail/detail",["jquery","swiper","lazyload","index"],function(e,a,n){var s,o,t,i=e("jquery"),r=e("swiper"),l=e("lazyload");l(i("img.lazy")),s=new r(".banner-swiper",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,paginationClickable:!0,pagination:".swiper-pagination",nextButton:".swiper-button-next",prevButton:".swiper-button-prev"}),i("#nav-tab li").on("click",function(){var e=i(this).index();i(this).hasClass("focus")||(i("#nav-tab li").each(function(){i(this).removeClass("focus")}),i("#feedback-content .content").each(function(){i(this).addClass("hide")}),i(this).addClass("focus"),i("#feedback-content .content:eq("+e+")").removeClass("hide"))}),o=new r("#size-swiper-container",{slidesPerView:"auto"}),t=new r("#reference-swiper-container",{slidesPerView:"auto"})}),define("js/me/entry",["jquery","hammer","lazyload","swiper","index"],function(e,a,n){e("js/me/order"),e("js/me/fav"),e("js/me/index"),e("js/me/coupons")}),define("js/me/order",["jquery","hammer","lazyload"],function(e,a,n){var s,o=e("jquery"),t=e("hammer"),i=e("lazyload"),r=o("#order-nav > li"),l=o("#order-container"),d=l.children(".orders").first();i(),s=new t(document.getElementById("order-nav")),s.on("tap",function(e){var a,n=o(e.target).closest("li");0===n.length||n.hasClass("active")||(a=n.index(),r.filter(".active").removeClass("active"),n.addClass("active"),d.addClass("hide"),d=l.children(":eq("+a+")").removeClass("hide"))})}),define("js/me/fav",["jquery","hammer","lazyload"],function(e,a,n){var s,o=e("jquery"),t=e("hammer"),i=(e("lazyload"),o("#fav-tab > li")),r=o(".fav-content"),l=r.children(".fav-type").first();s=new t(document.getElementById("fav-tab")),s.on("tap",function(e){console.log(1);var a,n=o(e.target).closest("li");0===n.length||n.hasClass("active")||(a=n.index(),i.filter(".active").removeClass("active"),n.addClass("active"),l.addClass("hide"),l=r.children(":eq("+a+")").removeClass("hide"))})}),define("js/me/index",["swiper","index"],function(e,a,n){var s,o=e("swiper");s=new o(".swiper-recommend",{lazyLoading:!0,lazyLoadingInPrevNext:!0,slidesPerView:"auto"})}),define("js/me/coupons",["jquery","hammer"],function(e,a,n){var s,o=e("jquery"),t=e("hammer");o(".employ span").each(function(e){s=new t(o(".employ span")[e]),s.on("tap",function(a){o(".employ-list").addClass("none").eq(e).removeClass("none"),o(".employ span").removeClass("active").eq(e).addClass("active")})})});
\ No newline at end of file
define("index",["jquery","hammer","swiper","lazyload","mlellipsis","iscroll-probe","index"],function(e,a,n){var s;e("js/common"),e("js/category/entry"),e("js/guang/entry"),e("js/home/entry"),e("js/index/entry"),e("js/passport/entry"),e("js/product/entry"),e("js/me/entry"),n.exports=s}),define("js/common",["jquery"],function(e,a,n){function s(e){var a,n,s=document.cookie;return document.cookie&&""!==document.cookie&&(n=s.indexOf(e+"="),n>-1&&(n+=e.length+1,a=decodeURIComponent(d.trim(s.substring(n,s.indexOf(";",n)))))),a}function t(e,a,n){var s,t,o,i,r="";"undefined"!=typeof a&&(n=n||{},null===a&&(a="",n.expires=-1),n.expires&&("number"==typeof n.expires||n.expires.toUTCString)&&("number"==typeof n.expires?(i=new Date,i.setTime(i.getTime()+24*n.expires*60*60*1e3)):i=n.expires,r="; expires="+i.toUTCString()),s=n.path?"; path="+n.path:"",t=n.domain?"; domain="+n.domain:"",o=n.secure?"; secure":"",document.cookie=[e,"=",encodeURIComponent(a),r,s,t,o].join(""))}function o(){var e,a=s("_UID");return"undefined"==typeof a?0:(e=a.split("::"),"undefined"==typeof e||e.length<4?0:e)}function i(){var e=o();return 0===e?0:e[1]}function r(){var e=s("_g");return"undefined"==typeof e?"":JSON.parse(e).k}function l(){0!==c.length&&(d("body").height()<=d(window).height()?c.addClass("bottom"):c.removeClass("bottom"))}var d=e("jquery"),c=d("#yoho-footer");!function(){var e=c.children(".op-row"),a=o();d("body").height()<=d(window).height()&&c.addClass("bottom"),0===a?e.prepend('<a href="/signin.html?refer='+location.href+'">登录</a><span class="sep-line">|</span><a href="/reg.html">注册</a>'):e.prepend('Hi,<a class="user-name" href="/home?tmp='+Math.random()+'">'+a[0]+'</a><a href="/passport/signout/index?token='+a[3]+'">退出</a>'),e.find(".back-to-top").on("touchend",function(){return d(window).scrollTop(0),!1}),c.removeClass("hide")}(),function(){var e=i();e=0===e?"":e,window._ozuid=e,window._yas&&window._yas(1*new Date,"1.0.12","yohobuy_m",e,"")}(),window.cookie=s,window.setCookie=t,window.getUser=o,window.getUid=i,window.getShoppingKey=r,window.rePosFooter=l}),define("js/category/entry",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){e("js/category/index"),e("js/category/brand")}),define("js/category/index",["jquery","hammer"],function(e,a,n){var s,t,o=e("jquery"),i=e("hammer"),r=o(".category-nav"),l=o(".category-container"),d=l.children(".content"),c=o(".sub-level li"),u=d.not(".hide");!function(){var e=o(".yoho-header"),a=o("#search-input"),n=o(window).height()-e.outerHeight()-a.outerHeight()-r.outerHeight();l.css("min-height",n),d.height(n)}(),o("#search-input").focus(function(){o(this).blur()}),s=new i(r[0]),s.on("tap",function(e){var a=o(e.target).closest("li"),n=a.index();a.hasClass("focus")||(r.find("li.focus").removeClass("focus"),a.addClass("focus"),u.addClass("hide"),u=d.eq(n).removeClass("hide"))}),t=new i(l[0]),t.on("tap",function(e){var a,n,s,t=o(e.target);if(n=t.closest(".p-level-item"),n.length>0){if(s=n.index(),a=t.closest(".content").find(".sub-level"),t.hasClass("focus"))return;t.closest(".primary-level").children(".focus").removeClass("focus"),t.addClass("focus"),a.not(".hide").addClass("hide"),a.eq(s).removeClass("hide")}}),c.on("touchstart",function(){c.removeClass("highlight"),o(this).addClass("highlight")}).on("touchend touchcancel",function(){o(this).removeClass("highlight")})}),define("js/category/brand",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){function s(){var e=u(".brand-list").find("p");e.on("touchstart",function(){e.css("background","#fff"),u(this).css("background","#eee")}).on("touchend touchcancel",function(){u(this).css("background","#fff")})}function t(){var e=(d.val()+"").toLowerCase(),a={},n=0,t="";""!==e&&(u.each(l,function(n,s){u.isArray(s)&&u.each(s,function(s,t){t.name.toLowerCase().indexOf(e)>-1&&(a[n]=a[n]||[],a[n].push(t))})}),u.each(a,function(e,a){var s=['<div class="brand-list bar-',n,'">'];n++,s.push('<div class="title-bar"><h2>'),s.push(e),s.push("</h2></div>"),u.each(a,function(e,a){s.push('<p><a href="'+a.url+'">'+a.name),a.isNew&&s.push('<i class="icon-hot">HOT</i>'),a.isHot&&s.push('<i class="icon-new">NEW</i>'),s.push("</a></p>")}),s.push("</div>"),t+=s.join("")})),u(".search-result").html(t),s()}var o,i,r,l,d,c,u=e("jquery"),p=e("hammer"),h=e("swiper"),f=e("lazyload"),g=u(".brand-list"),m=u(".search-icon"),v=u(".newbrand-search").outerHeight(),w=u(".yoho-header").outerHeight(),y=parseInt(v)+parseInt(w)-1;o=new h(".swiper-container",{lazyLoading:!0,loop:!0,autoplay:3e3,pagination:".swiper-pagination .pagination-inner"}),f(u("img.lazy")),u(".yoho-header").css({"z-index":2,position:"fixed",top:0}),i=u('<div class="title-bar fixed-title-bar"><h2></h2></div>'),i.css({position:"fixed",top:y}).hide(),r=y+u(".hot-brand").outerHeight()+u(".banner-top").outerHeight(),g.last().append(i),u(window).scroll(function(){var e=u(window).scrollTop();g.eq(0).offset().top<r&&i.hide(),g.each(function(){var a=u(this).offset().top-y;e>=a&&i.css({display:"block"}).find("h2").html(u(this).find(".title-bar").text())})}),s(),u(".brand-search-page").length&&(l=u.parseJSON(u("#brands-data").html()),d=u("#keyword"),d.on("input",function(){d.val().length?(m.css("color","#000"),u(this).closest(".search-box").css("width","11.25rem"),u(".search-action").show()):(m.css("color","#b2b2b2"),u(this).closest(".search-box").css("width","12.5rem"),u(".search-action").hide()),t()}).focus(),c=new p(u(".clear-text")[0]),c.on("tap",function(e){e.preventDefault(),u(".search-result").html(""),u("#keyword").val("").trigger("input"),e.srcEvent.stopPropagation()}),u("form.search-box").on("submit",function(){return!1}))}),define("js/guang/entry",["jquery","hammer","lazyload","swiper","mlellipsis","iscroll-probe","index"],function(e,a,n){e("js/guang/plus-star/list"),e("js/guang/plus-star/detail"),e("js/guang/home"),e("js/guang/list"),e("js/guang/detail")}),define("js/guang/plus-star/list",["jquery","hammer","lazyload","swiper","index"],function(e,a,n){var s,t,o=e("jquery"),i=e("hammer"),r=e("lazyload"),l=e("swiper"),d=o("#nav-tab > li"),c=o("#ps-content > .content");r(o("img.lazy")),s=new l(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination"}),t=new i(document.getElementById("nav-tab")),t.on("tap",function(e){var a=o(e.target).closest("li");a.hasClass("focus")||(d.toggleClass("focus"),c.toggleClass("hide"),o(document).trigger("scroll"))})}),define("js/guang/plus-star/detail",["jquery","hammer","mlellipsis","lazyload"],function(e,a,n){var s,t,o,i,r=e("jquery"),l=e("hammer"),d=e("mlellipsis"),c=e("lazyload"),u=r("#intro"),p=r("#intro-more-txt"),h=r("#related-infos-container"),f=e("js/guang/info"),g=e("js/plugin/tip"),m=r("#brand-info").data("id"),v=r("#jump-to-app").val();e("js/plugin/wx-share"),d.init(),c(r("img.lazy")),u[0].mlellipsis(3),setTimeout(function(){s=u.text(),t=u.attr("title")}),f.initInfosEvt(h),o=new l(document.getElementById("more-intro")),o.on("tap",function(e){var a=r(e.target).closest("#more-intro");a.toggleClass("spread"),a.hasClass("spread")?(u.text(t),p.text("收起")):(u.text(s),p.text("more"),r(window).scrollTop(0,400)),e.preventDefault()}),i=new l(document.getElementById("brand-like")),i.on("tap",function(e){var a="ok",n=r(e.target);"1"!==v&&(e.preventDefault(),n.hasClass("like")&&(a="cancel"),r.ajax({type:"POST",url:"/guang/opt/favoriteBrand",data:{id:m,opt:a},success:function(e){200===e.code?n.toggleClass("like"):400===e.code||412===e.code?location.href=e.data:g.show(e.message)},error:function(){g.show("网络断开连接了~")}}))})}),define("js/guang/info",["jquery","hammer","mlellipsis","lazyload"],function(e,a,n){function s(e){d(e.find("img.lazy")),e.each(function(){var e=i(this),a=e.find(".info-title"),n=e.find(".info-text");a[0].mlellipsis(2),n[0].mlellipsis(2)})}function t(e){var a;"undefined"!=typeof e&&(a=new r(e[0]),a.on("tap",function(e){var a,n,s,t=i(e.target),o="ok";a=t.closest(".like-btn"),a.length>0&&(a.hasClass("like")&&(o="cancel"),s=t.closest(".guang-info"),i.ajax({type:"POST",url:"/guang/opt/praiseArticle",data:{id:s.data("id"),opt:o},success:function(e){var n=e.code;200===n&&(a.next(".like-count").text(e.data),a.toggleClass("like"))},error:function(){c.show("网络断开连接了~")}})),n=t.closest(".collect-btn"),n.length>0&&(n.hasClass("collected")&&(o="cancel"),s=t.closest(".guang-info"),i.ajax({type:"POST",url:"/guang/opt/collectArticle",data:{id:s.data("id"),opt:o},success:function(e){e.code&&200===e.code&&n.toggleClass("collected")},error:function(){c.show("网络断开连接了~")}}))}),s(e.find(".guang-info")))}function o(e,a){var n;g||a.end||(1===a.page&&u.showLoadingMask(),n=e.find(".guang-info").length,g=!0,i.ajax({type:"GET",url:" /guang/index/page",data:a,success:function(t){var o;return" "===t?(a.end=!0,g=!1,h.addClass("hide"),void f.removeClass("hide")):(e.append(t),o=n>0?e.find(".guang-info:gt("+(n-1)+")"):e.find(".guang-info"),s(o),1===a.page&&(u.hideLoadingMask(),h.removeClass("hide"),window.rePosFooter()),a.page++,void(g=!1))},error:function(){c.show("网络断开连接了~"),g=!1}}))}var i=e("jquery"),r=e("hammer"),l=e("mlellipsis"),d=e("lazyload"),c=e("js/plugin/tip"),u=e("js/plugin/loading"),p=i("#load-more-info"),h=i(""),f=i(""),g=!1;l.init(),p.length>0&&(h=p.children(".loading"),f=p.children(".no-more")),a.initInfosEvt=t,a.setLazyLoadAndMellipsis=s,a.loadMore=o}),define("js/plugin/tip",["jquery"],function(e,a,n){function s(e,a){var n,s;"undefined"!=typeof e&&(n=e.toString(),s=a&&a>0?a:2e3,t.text(n).show(),o=setTimeout(function(){"block"===t.css("display")&&t.hide()},s))}var t,o,i=e("jquery");!function(){var e='<div id="yoho-tip" class="yoho-tip"></div>';i(".yoho-page").append(e),t=i("#yoho-tip"),t.on("touchend",function(){t.hide(),clearTimeout(o)})}(),a.show=s}),define("js/plugin/loading",["jquery"],function(e,a,n){function s(e){var a='<div class="loading-mask hide"><div class="loading"></div></div>';d=!0,void 0===e&&(e=l),e.append(a),i=e.children(".loading-mask")}function t(){d||(s(),d=!0),i.removeClass("hide")}function o(){i.addClass("hide")}var i,r=e("jquery"),l=r(".yoho-page"),d=!1;a.init=s,a.showLoadingMask=t,a.hideLoadingMask=o}),define("js/plugin/wx-share",["jquery"],function(e,a,n){var s=e("jquery");n.exports=function(){var e="http://www.yohoshow.com/api/wechat/getSignPackage";s.getJSON(e+"?pageurl="+encodeURIComponent(location.href.split("#")[0])+"&callback=?",function(e){var a,n,s,t;void 0!==e&&""!==e&&(a=e.appId.toString(),n=e.timestamp,s=e.nonceStr.toString(),t=e.signature.toString(),wx.config({debug:!1,appId:a,timestamp:n,nonceStr:s,signature:t,jsApiList:["checkJsApi","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","hideMenuItems","showMenuItems","hideAllNonBaseMenuItem","showAllNonBaseMenuItem","translateVoice","startRecord","stopRecord","onRecordEnd","playVoice","pauseVoice","stopVoice","uploadVoice","downloadVoice","chooseImage","previewImage","uploadImage","downloadImage","getNetworkType","openLocation","getLocation","hideOptionMenu","showOptionMenu","closeWindow","scanQRCode","chooseWXPay","openProductSpecificView","addCard","chooseCard","openCard"]}))}),wx.ready(function(){var e=s("#shareTitle").val(),a=s("#shareImg").val(),n=s("#shareDesc").val(),t=s("#shareLink").val(),o={title:e,desc:n,imgUrl:a,link:t};wx.onMenuShareAppMessage(o),wx.onMenuShareTimeline(o),wx.onMenuShareQQ(o),wx.onMenuShareWeibo(o)})}}),define("js/guang/home",["jquery","hammer","swiper","mlellipsis","lazyload","index"],function(e,a,n){var s,t,o=e("jquery"),i=e("hammer"),r=e("swiper"),l=e("js/guang/info"),d=l.loadMore,c=o("#load-more-info"),u=o(""),p=o(""),h=o(window).height(),f=o("#info-list"),g=f.children(".info-list"),m=o("#guang-nav"),v=m.children(".focus"),w=v.data("type"),y={};c.length>0&&(u=c.children(".loading"),p=c.children(".no-more")),s=new r(".swiper-container",{lazyLoading:!0,pagination:".swiper-pagination",autoplay:3e3}),l.initInfosEvt(f),function(){var e=o("#gender").val();m.children(".guang-nav-item").each(function(){var a=o(this).data("type"),n=o(this).hasClass("focus");y[a]={page:n?2:1,gender:e,type:a,end:!1}})}(),t=new i(m[0]),t.on("tap",function(e){var a,n,s=o(e.target).closest(".guang-nav-item");s.hasClass("focus")||(n=s.index(),s.addClass("focus"),v.removeClass("focus"),a=g.eq(n),v=s,w=s.data("type"),1===y[w].page?(u.addClass("hide"),p.addClass("hide"),d(a,y[w])):y[w].end?(u.addClass("hide"),p.removeClass("hide")):(u.removeClass("hide"),p.addClass("hide")),g.not(".hide").addClass("hide"),a.removeClass("hide"),1===y[w].page&&window.rePosFooter())}),o(document).scroll(function(){var e=g.not(".hide");o(window).scrollTop()+h>=o(document).height()-.25*e.height()&&d(e,y[w])})}),define("js/guang/list",["jquery","hammer","mlellipsis","lazyload"],function(e,a,n){var s=e("jquery"),t=e("js/guang/info"),o=t.loadMore,i=s(window).height(),r=s("#author-infos"),l=s("#tag"),d=s("#gender"),c=s("#isApp"),u={page:2,end:!1},p=s("#info-list");t.initInfosEvt(p),r.length>0&&s.extend(u,{authorId:r.data("id"),isApp:c.val()}),l.length>0&&s.extend(u,{tag:l.val(),gender:d.val(),isApp:c.val()}),s(document).scroll(function(){s(window).scrollTop()+i>=s(document).height()-.25*p.height()&&o(p,u)})}),define("js/guang/detail",["jquery","mlellipsis","lazyload","iscroll-probe"],function(e,a,n){function s(e){var a=e.offset().left,n=-C+a+y/2+"px";r.css({backgroundPosition:n+" bottom"}),v&&b.css({backgroundPosition:n+" bottom"})}function t(e){var a,n,t,o=p(e.currentTarget),h=o.index();o.hasClass("focus")||(l.filter(".focus").removeClass("focus"),v&&(a=o.closest(".fixed-thumb-container").length>0?r:b,n=a.find(".thumb").eq(h),b.find(".thumb.focus").removeClass("focus"),n.addClass("focus")),o.addClass("focus"),s(o),d.not(".hide").addClass("hide"),t=d.eq(h),t.removeClass("hide"),f(t.find(".lazy")),v?u&&u.scrollToElement(c,400):p("body").animate({scrollTop:i.offset().top},400),u&&u.refresh())}function o(){var e,a,n,s,t,o=p("#scroller"),l=p(".yoho-header"),d=0;return l.length>0&&(d=l.outerHeight()),u=new g("#wrapper",{probeType:3,mouseWheel:!0,click:!0}),document.addEventListener("touchmove",function(e){e.preventDefault()},!1),w?(e=p(window).height()-d,t=b[0],a=r.outerHeight(),n=i.outerHeight(),s=i.offset().top-d,void u.on("scroll",function(){var i=-this.y,r=t.className;s-e+a>=i?-1===r.indexOf("fixed-bottom")&&b.addClass("fixed-bottom").removeClass("hide"):s>=i?-1===r.indexOf("hide")&&b.addClass("hide").removeClass("fixed-bottom fixed-top"):s+n-a>=i?-1===r.indexOf("fixed-top")&&b.addClass("fixed-top").removeClass("hide absolute").css("top",""):s+n>=i?(-1===r.indexOf("absolute")&&b.addClass("absolute").removeClass("fixed-top hide"),t.style.top=s+d+n-a-i+"px"):i>s+n&&-1===r.indexOf("hide")&&b.addClass("hide").removeClass("absolute"),o.trigger("scroll")})):void u.on("scroll",function(){o.trigger("scroll")})}var i,r,l,d,c,u,p=e("jquery"),h=e("mlellipsis"),f=e("lazyload"),g=e("iscroll-probe"),m=p(".author .intro"),v=!1,w=p(".collocation-block").length>0?!0:!1,y=0,b=p(""),c=document.querySelector("#wrapper .collocation-block"),C=p(window).width();e("js/plugin/wx-share")(),window.onload=function(){u&&u.refresh()},a.i=function(e){var a=navigator.userAgent.indexOf("iPhone")>0?!0:!1;v=a&&e,h.init(),f(p(".lazy")),p(".info-list .title, .one-good .reco-name").each(function(){this.mlellipsis(2)}),m.offset()&&parseInt(m.offset().left,10)===parseInt(m.css("margin-left"),10)&&m.css("padding-top",0),v&&(p(".yoho-header").length>0?p("#wrapper").addClass("ios has-head"):p("#wrapper").addClass("ios")),w&&(i=p(".collocation-block"),r=i.children(".thumb-container"),l=r.find("li"),d=i.find(".prod"),y=l.width(),v&&(b=p("#wrapper").after(r.clone().addClass("fixed-thumb-container fixed-bottom")).next(".thumb-container"),f(b.find(".lazy"),{event:"sporty"})),s(l.filter(".focus")),r.delegate(".thumb","touchend",t),v&&b.delegate(".thumb","touchend",t)),v&&o()}}),define("js/home/entry",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){e("js/home/home"),e("js/home/maybe-like")}),define("js/home/home",["jquery","hammer","swiper","lazyload","index"],function(e,a,n){function s(){b.hasClass("menu-open")&&(b.removeClass("menu-open"),m(".overlay").hide(),m(".sub-nav").removeClass("show"),j.removeClass("on"),m("body").css({height:"auto",overflow:"auto"}))}function t(){k+=10,q.css({transform:"rotateX("+k+"deg)","-webkit-transform":"rotateX("+k+"deg)","-moz-transform":"rotateX("+k+"deg)"}),k/90%2===1&&(z?(q.addClass("animate"),z=!1):(q.removeClass("animate"),z=!0)),k/90%2===0&&k%360!==0?window.setTimeout(t,3e3):k%360===0?window.setTimeout(t,6e4):c(function(){t()})}var o,i,r,l,d,c,u,p,h,f,g,m=e("jquery"),v=e("hammer"),w=e("swiper"),y=e("lazyload"),b=m(".mobile-wrap"),C=m(".overlay"),j=m(".side-nav"),x=m(".sub-nav"),k=0,q=m(".home-header .logo"),z=!0;e("js/home/maybe-like"),y(m("img.lazy")),g=new v(m(".nav-btn")[0]),g.on("tap",function(e){return e.preventDefault(),b.addClass("menu-open"),C.show().css("opacity",.3),j.addClass("on"),m("body").css({height:m(window).height(),width:m(window).width(),overflow:"hidden"}),e.srcEvent.stopPropagation(),!1}),m(".overlay").on("touchstart",function(e){return s(),!1}),j.on("touchstart","li",function(e){return m(this).find(".sub-nav").size()>0&&(m(".sub-nav").removeClass("show"),m(this).find(".sub-nav").addClass("show")),e.stopPropagation(),e.target.pathname===location.pathname?(s(),!1):void 0}),x.each(function(){m(this).find("li").eq(0).on("touchstart",function(e){return m(".sub-nav").removeClass("show"),e.stopPropagation(),!1})}).on("touchstart",function(e){e.currentTarget!==e.target&&x.find("li").removeClass("current")}),j.children("ul").children("li").on("touchstart",function(){j.children("ul").children("li").css("background","#fff"),m(this).css("background","#eee")}).on("touchend touchcancel",function(){m(this).css("background","#fff")}),m(".banner-swiper").find("li").size()>1&&(o=new w(".banner-swiper",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:".banner-top .pagination-inner"})),r=new w(".brands-swiper",{grabCursor:!0,slidesPerView:"auto",wrapperClass:"brands-list",slideElement:"li"}),i=new w(".recommend-swiper",{grabCursor:!0,slidesPerView:"auto",wrapperClass:"recommend-list",slideElement:"li"}),m(".trend-topic-swiper").find("li").size()>1&&(l=new w(".trend-topic-swiper",{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:".trend-topic-content .pagination-inner"})),m(".category-swiper").each(function(e,a){h="category-swiper"+e,m(this).addClass(h),m("."+h).find(".swiper-slide").size()>1&&(d=new w("."+h,{loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!1,paginationClickable:!0,slideElement:"li",pagination:"."+h+" .pagination-inner"}))}),c=function(){var e=null,a=["webkit","moz","ms"];for(p=0;p<a.length;p++)u=a[p]+"RequestAnimationFrame",window[u]&&(f=!0,e=u);return f?function(a){window[e](a)}:function(e){window.setTimeout(e,67)}}(),setTimeout(t,3e3),m("#yoho-footer").css({"margin-bottom":"2.5rem"}),a.set=function(e){window.setCookie("_Channel",e,{expires:365,domain:".m.yohobuy.com"})}}),define("js/home/maybe-like",["jquery","hammer","lazyload"],function(e,a,n){function s(){m||(m=!0,p.showLoadingMask(),d.ajax({type:"GET",url:i,data:{page:v+1},success:function(e){return" "===e?(m=!1,p.hideLoadingMask(),void(w&&(i="1,3"===w?"/boys/bottomBanner":"/girls/bottomBanner",d.ajax({type:"GET",url:i,success:function(e){e&&e.img&&(d("#load-more-img").show(),d("#load-more-img a").attr("href",e.url),d("#load-more-img a > img").attr("src",e.img))},error:function(){}})))):(o=g.find(".good-info").length,g.append(e),h(0===o?g.find(".good-info").find("img.lazy"):g.find(".good-info:gt("+(o-1)+")").find("img.lazy")),m=!1,p.hideLoadingMask(),void v++)},error:function(){u.show("网络断开连接了~"),m=!1,p.hideLoadingMask()}}))}var t,o,i,r,l,d=e("jquery"),c=e("hammer"),u=e("js/plugin/tip"),p=e("js/plugin/loading"),h=e("lazyload"),f=d(window).height(),g=d("#goods-list"),m=!1,v=0,w=null,y=d(".mobile-wrap").hasClass("kids-wrap")?!0:!1,b=d(".mobile-wrap").hasClass("lifestyle-wrap")?!0:!1,C=d("#maybe-like-nav");y?i="/product/recom/maylikekids":b?i="/product/recom/maylikelife":(w=d(".mobile-wrap").hasClass("boys-wrap")?"1,3":"2,3",i="/product/recom/maylike?gender="+w),r=C.children(".focus"),b&&(t=new c(C[0]),t.on("tap",function(e){var a,n=d(e.target).closest("li"),s=d(".goods-list");e.preventDefault(),n.hasClass("focus")||(l=n.index(),n.addClass("focus"),r.removeClass("focus"),s.not(".hide").addClass("hide"),a=s.eq(l),a.removeClass("hide"),r=n,d(document).trigger("scroll"),e.srcEvent.stopPropagation())})),p.init(d(".maybe-like")),d(".maybe-like p").on("touchstart",function(e){s()}),d(window).scroll(function(){d(window).scrollTop()+f>=d(document).height()-50&&s()})}),define("js/index/entry",["jquery","hammer"],function(e,a,n){e("js/index/search"),e("js/index/footer"),e("js/index/channel")}),define("js/index/search",["jquery","hammer"],function(e,a,n){var s,t,o=e("jquery"),i=e("hammer"),r=o("#search-input input"),l=o("#search-input .clear-input"),d=o(".search-icon"),c=o("#search-form"),u=o(".history"),p=o("#clear-history"),h=e("js/index/write-search"),f=h.getRanToken();s=new i(p[0]),s.on("tap",function(){localStorage.removeItem("historys"),u.html("")}),r.on("input",function(){""===r.val()?(d.css("color","#b2b2b2"),l.addClass("hide")):(d.css("color","#666"),l.removeClass("hide"))}),t=new i(l[0]),t.on("tap",function(){r.val("").trigger("input")}),o("#search").on("touchend",function(){return o(this).closest("form").submit(),!1}),function(){var e,a,n,s="";if(localStorage&&(a=localStorage.getItem("historys"),a&&a.length>0)){for(a=a.split(f),n=0;n<a.length;n++)e=a[n],""!==e&&(s+='<li><a href="/?query='+e+'">'+e+"</li>");u.html(s),p.removeClass("hide")}}(),h.bindWirteLocal(c)}),define("js/index/write-search",[],function(e,a,n){function s(){return o}function t(e){e.on("submit",function(){var e,a=this.query.value;if(localStorage){if(e=localStorage.getItem("historys"),e=e?e:"",e.indexOf(o+a+o)>-1)return;""===e&&(a=o+a),e+=a+o,localStorage.setItem("historys",e)}})}var o=" ??++ ";a.getRanToken=s,a.bindWirteLocal=t}),define("js/index/footer",["jquery","hammer"],function(e,a,n){function s(){var e="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445",a=new Date;setTimeout(function(){new Date-a<2e3&&(window.location=e)},500)}var t,o=e("jquery"),i=e("hammer");e("js/common"),o("#float-layer-close").on("touchend",function(e){return o("#float-layer-app").hide(),window.setCookie("_float-layer-app","id490655927",{domain:".yohobuy.com"}),window.setCookie("_float-layer-app-close",1,{domain:".yohobuy.com",expires:1}),!1}),o("#float-layer-btn")&&o("#float-layer-btn")[0]&&(t=new i(o("#float-layer-btn")[0]),t.on("tap",function(e){s("bottom"),e.srcEvent.stopPropagation()}),"function"!=typeof window.cookie||window.cookie("_float-layer-app")?o("#float-layer-app").hide():o("#float-layer-app").show())}),define("js/index/channel",["jquery"],function(e,a,n){var s=e("jquery"),t=s(".search-box"),o=s(".box"),i=s(".index-search"),r=s(".index-logo"),l=s(".index-channel a"),d=t.children('input[type="text"]'),c=o.children(".no-search"),u=t.children(".search-icon");e("js/common"),d.on("focus",function(){o.addClass("action"),r.addClass("action")}).on("input",function(){""===d.val()?u.addClass("empty"):u.removeClass("empty")}),c.on("touchend",function(){return o.removeClass("action"),r.removeClass("action"),d.blur(),!1}),t.children(".clear-text").on("touchstart",function(){d.val("").focus().trigger("input")}),t.children(".search-icon").on("touchstart",function(){i.submit()}),s(".index-channel img").on("load error",function(){window.rePosFooter&&window.rePosFooter()}),l.on("touchstart",function(){l.css({background:"#000",color:"#fff",borderColor:"#fff"}),s(this).css({background:"rgba(255, 255, 255, 0.5)",color:"#000",borderColor:"#000"})}).on("touchend touchcancel",function(){s(this).css({background:"#000",color:"#fff",borderColor:"#fff"})})}),define("js/passport/entry",["jquery"],function(e,a,n){e("js/passport/register/register"),e("js/passport/register/code"),e("js/passport/register/password"),e("js/passport/login/login"),e("js/passport/login/international"),e("js/passport/back/mobile"),e("js/passport/back/code"),e("js/passport/back/email"),e("js/passport/back/email-success"),e("js/passport/back/new-password")}),define("js/passport/register/register",["jquery"],function(e,a,n){var s=e("jquery"),t=s("#phone-num"),o=s("#country-select"),i=s("#area-code"),r=s("#btn-next"),l=e("js/passport/api"),d=e("js/plugin/tip"),c=s.trim,u=d.show;l.selectCssHack(s("#country-select")),l.bindClearEvt(),t.bind("input",function(){""===c(t.val())?r.addClass("disable"):r.removeClass("disable")}),o.change(function(){i.text(o.val())}),r.on("touchstart",function(){var e=c(t.val()),a=o.val();r.hasClass("disable")||(l.phoneRegx[a].test(e)?s.ajax({url:"/passport/reg/verifymobile",type:"POST",data:{areaCode:a.replace("+",""),phoneNum:e},success:function(e){200===e.code?location.href=e.data:u(e.message)}}):u("手机号格式不正确,请重新输入"))})}),define("js/passport/api",["jquery"],function(e,a,n){function s(e){var a,n=r(".has-eye");e&&"open"===e.status?n.append('<div class="eye"></div>'):n.append('<div class="eye close"></div>'),a=n.children(".eye"),a.on("touchstart",function(e){var a=r(this),n=a.siblings(".pwd");e.preventDefault(),a.toggleClass("close"),a.hasClass("close")?n.attr("type","password"):n.attr("type","text"),n.focus()})}function t(){var e,a=r(".has-clear");a.append('<div class="clear-input"></div>'),e=a.children(".clear-input"),e.on("touchstart",function(a){var n=e.siblings(".input");n.val("").trigger("input").focus(),a.preventDefault()}),a.children(".input").bind("input",function(){var e=r(this),a=e.siblings(".clear-input"),n=l(e.val());""===n?a.hide():a.show()})}function o(e){return e.length>=6&&e.length<=20?!0:!1}function i(e){function a(){var a=e.find("option:selected").text().length;switch(a){case 2:e.outerWidth(90);break;case 3:e.outerWidth(110);break;default:e.outerWidth(130)}}var n=navigator.userAgent;n.match(/uc/i)&&n.match(/android/i)?e.change(function(){a()}):e.removeClass("in-android-uc")}var r=e("jquery"),l=r.trim,d=/^([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.|-]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/,c={"+86":/^1[35847]{1}[0-9]{9}$/,"+852":/^[965]{1}[0-9]{7}$/,"+853":/^[0-9]{8}$/,"+886":/^[0-9]{10}$/,"+65":/^[98]{1}[0-9]{7}$/,"+60":/^1[1234679]{1}[0-9]{8}$/,"+1":/^[0-9]{10}$/,"+82":/^01[0-9]{9}$/,"+44":/^7[789][0-9]{8}$/,"+81":/^0[9|8|7][0-9]{9}$/,"+61":/^[0-9]{11}$/};n.exports={emailRegx:d,phoneRegx:c,bindEyesEvt:s,bindClearEvt:t,pwdValidate:o,selectCssHack:i}}),define("js/passport/register/code",["jquery"],function(e,a,n){e("js/passport/code")(!0)}),define("js/passport/code",["jquery"],function(e,a,n){var s=e("jquery");n.exports=function(a){function n(){var e,a=59;e=setInterval(function(){0===a?(i.text("重发验证码").removeClass("disable"),clearInterval(e)):i.text("重发验证码 ("+a--+"秒)")},1e3)}var t=s("#captcha"),o=s("#btn-next"),i=s("#captcha-tip"),r=s("#phone-num").val(),l=s("#area-code").val().replace("+",""),d=e("js/passport/api"),c=e("js/plugin/tip"),u=s.trim,p=c.show,h=a?"reg":"back";d.bindClearEvt(),t.bind("input",function(){""!==u(t.val())?o.removeClass("disable"):o.addClass("disable")}),i.on("touchstart",function(){i.hasClass("disable")||s.ajax({type:"POST",url:"/passport/"+h+"/sendcode",data:{phoneNum:r,areaCode:l},success:function(e){200===e.code?(i.text("重发验证码 (60秒)").addClass("disable"),n()):p(e.message)}})}),o.on("touchstart",function(){o.hasClass("disable")||s.ajax({type:"POST",url:"/passport/"+h+"/verifycode",data:{phoneNum:r,areaCode:l,code:u(t.val()),token:s("#token").val()},success:function(e){200===e.code?location.href=e.data:p(e.message)}})}),n()}}),define("js/passport/register/password",["jquery"],function(e,a,n){var s=e("jquery"),t=s("#pwd"),o=s("#btn-sure"),i=e("js/passport/api"),r=e("js/plugin/tip"),l=s.trim,d=r.show;i.bindEyesEvt({status:"open"}),t.bind("input",function(){""===l(t.val())?o.addClass("disable"):o.removeClass("disable")}),o.on("touchstart",function(){var e=l(t.val());o.hasClass("disable")||(i.pwdValidate(e)===!1?d("密码6-20位,请重新输入"):s.ajax({type:"POST",url:"/passport/reg/setpassword",data:{password:e,phoneNum:s("#phone-num").val(),areaCode:s("#area-code").val(),token:s("#token").val()},success:function(e){200===e.code?(d("注册成功"),setTimeout(function(){location.href=e.data},1e3)):d(e.message)}}))})}),define("js/passport/login/login",["jquery"],function(e,a,n){function s(){p&&h?d.removeClass("disable"):d.addClass("disable")}function t(){c.show(),u.show()}function o(){c.hide(),u.hide()}var i=e("jquery"),r=i("#account"),l=i("#pwd"),d=i("#btn-login"),c=i("#retrive-pwd-mask"),u=i("#retrive-pwd-ways"),p=!1,h=!1,f=e("js/passport/api"),g=e("js/plugin/tip"),m=i.trim,v=g.show;f.bindEyesEvt(),f.bindClearEvt(),r.bind("input",function(){p=""!==m(r.val())?!0:!1,s()}),l.bind("input",function(){h=""===m(l.val())?!1:!0,s()}),d.on("touchstart",function(){var e=m(r.val()),a=m(l.val());d.hasClass("disable")||((/^[0-9]+$/.test(e)||f.emailRegx.test(e))&&f.pwdValidate(a)?i.ajax({type:"POST",url:"/passport/login/auth",data:{account:e,password:a},success:function(e){200===e.code?(v("登录成功"),setTimeout(function(){location.href=e.data},1e3)):v(e.message)},error:function(){v("网络断开连接啦~")}}):v("账号或密码有错误,请重新输入"))}),i("#forget-pwd").on("touchstart",function(){t()}),c.on("touchstart",function(){o()}),i("#cancel-retrive").on("touchstart",function(e){e.preventDefault(),o()}),r.trigger("input"),l.trigger("input")}),define("js/passport/login/international",["jquery"],function(e,a,n){function s(){c&&u?d.removeClass("disable"):d.addClass("disable")}var t=e("jquery"),o=t("#phone-num"),i=t("#country-select"),r=t("#area-code"),l=t("#pwd"),d=t("#btn-login"),c=!1,u=!1,p=e("js/passport/api"),h=e("js/plugin/tip"),f=t.trim,g=h.show;p.selectCssHack(i),p.bindEyesEvt(),p.bindClearEvt(),o.bind("input",function(){c=""===f(o.val())?!1:!0,s()}),l.bind("input",function(){var e=f(l.val());u=""===e?!1:!0,s()}),i.change(function(){r.text(i.val())}),d.on("touchstart",function(){var e=f(o.val()),a=i.val(),n=f(l.val());d.hasClass("disable")||(p.phoneRegx[a].test(e)&&p.pwdValidate(n)?t.ajax({type:"POST",url:"/passport/login/auth",data:{areaCode:a.replace("+",""),account:e,password:n},success:function(e){200===e.code?(g("登录成功"),setTimeout(function(){location.href=e.data},1e3)):g(e.message)},error:function(){g("网络断开连接啦~")}}):g("账号或密码有错误,请重新输入"))}),o.trigger("input"),l.trigger("input")}),define("js/passport/back/mobile",["jquery"],function(e,a,n){var s=e("jquery"),t=s("#phone-num"),o=s("#country-select"),i=s("#area-code"),r=s("#btn-next"),l=e("js/passport/api"),d=e("js/plugin/tip"),c=s.trim,u=d.show;l.selectCssHack(s("#country-select")),l.bindClearEvt(),t.bind("input",function(){""===c(t.val())?r.addClass("disable"):r.removeClass("disable")}),o.change(function(){i.text(o.val())}),r.on("touchstart",function(){var e=c(t.val()),a=o.val();r.hasClass("disable")||(l.phoneRegx[a].test(e)?s.ajax({url:"/passport/back/sendcode",type:"POST",data:{areaCode:a.replace("+",""),phoneNum:e},success:function(e){200===e.code?location.href=e.data:u(e.message)}}):u("手机号格式不正确,请重新输入"))})}),define("js/passport/back/code",["jquery"],function(e,a,n){e("js/passport/code")(!1)}),define("js/passport/back/email",["jquery"],function(e,a,n){var s=e("jquery"),t=s("#email"),o=s("#btn-sure"),i=e("js/passport/api"),r=e("js/plugin/tip"),l=s.trim,d=r.show;i.bindClearEvt(),t.bind("input",function(){""===l(t.val())?o.addClass("disable"):o.removeClass("disable")}),o.on("touchstart",function(){var e=l(t.val());o.hasClass("disable")||(i.emailRegx.test(e)?s.ajax({url:"/passport/back/sendemail",type:"POST",data:{email:e},success:function(e){200===e.code?location.href=e.data:d(e.message)}}):d("邮箱格式不正确,请重新输入"))})}),define("js/passport/back/email-success",["jquery"],function(e,a,n){var s=e("jquery"),t=s("#resend"),o=e("js/plugin/tip"),i=o.show;t.on("touchstart",function(e){e.preventDefault(),s.ajax({url:t.data("url"),type:"GET",success:function(e){
i(200===e.code?e.message:e.message)}})})}),define("js/passport/back/new-password",["jquery"],function(e,a,n){var s=e("jquery"),t=s("#pwd"),o=s("#btn-ok"),i=e("js/passport/api"),r=e("js/plugin/tip"),l=s.trim,d=r.show,c=s("#phone-num");i.bindEyesEvt({status:"open"}),t.bind("input",function(){""===l(t.val())?o.addClass("disable"):o.removeClass("disable")}),o.on("touchstart",function(){var e,a,n=l(t.val()),r=!0;o.hasClass("disable")||(e={password:n},0===c.length&&(r=!1),r?(s.extend(e,{phoneNum:c.val(),areaCode:s("#areaCode").val(),token:s("#token").val()}),a="/passport/back/passwordByMobile"):(s.extend(e,{code:s("#email-code").val()}),a="/passport/back/passwordByEmail"),i.pwdValidate(n)?s.ajax({type:"POST",url:a,data:e,success:function(e){200===e.code?(d("密码修改成功"),setTimeout(function(){location.href=e.data},1e3)):d(e.message)}}):d("密码6-20位,请重新输入"))})}),define("js/product/entry",["jquery","swiper","hammer","lazyload","index"],function(e,a,n){e("js/product/newsale/newarrival"),e("js/product/newsale/discount"),e("js/product/list"),e("js/product/detail/detail")}),define("js/product/newsale/newarrival",["jquery","swiper","hammer","lazyload","index"],function(e,a,n){function s(e){var a,n,s,t,l,u,p={};if(!d){if(e){for(n in T)T.hasOwnProperty(n)&&(T[n].reload=!0);switch(z.children(".active").removeClass("active"),E.addClass("active"),e.type){case"gender":a={gender:e.id};break;case"brand":a={brand:e.id};break;case"sort":a={sort:e.id};break;case"color":a={color:e.id};break;case"size":a={size:e.id};break;case"price":a={price:e.id};break;case"discount":a={discount:e.id};break;case"limit":a={limit:e.id};break;case"channel":a={channel:e.id};break;case"p_d":a={p_d:e.id}}c.extend(C,a)}if(E.hasClass("today")?(t="today",l=1):E.hasClass("week")?(t="week",l=2):E.hasClass("sale")&&(t="sale",l=3),s=T[t],u=s.page+1,s.reload)u=1;else if(s.end)return;c.extend(p,C,{dayLimit:l,page:u}),d=!0,m.showLoadingMask(),c.ajax({type:"GET",url:"/product/newsale/selectNewSale",data:p,success:function(e){var a,n;switch(t){case"today":a=o;break;case"week":a=i;break;case"sale":a=r}" "===e?(s.end=!0,s.reload&&a.html(b)):s.reload?(a.html(e),h(a.find(".lazy"))):(n=a.find(".good-info").length,a.append(e),h(a.find(".good-info:gt("+(n-1)+") .lazy"))),s.reload=!1,s.page=u,d=!1,m.hideLoadingMask(),window.rePosFooter()},error:function(){f.show("网络断开连接了~"),d=!1,m.hideLoadingMask()}})}}var t,o,i,r,l,d,c=e("jquery"),u=e("swiper"),p=e("hammer"),h=e("lazyload"),f=e("js/plugin/tip"),g=e("js/plugin/filter"),m=e("js/plugin/loading"),v=c("#goods-container"),w=v.children(),o=c(w.get(0)),i=c(w.get(1)).addClass("hide"),r=c(w.get(2)).addClass("hide"),y=c(window).height(),b='<p class="no-result">未找到相关搜索结果</p>',C={gender:c("#gender").val(),brand:c("#brand").val(),sort:c("#sort").val(),msort:c("#msort").val(),misort:c("#misort").val(),color:c("#color").val(),size:c("#size").val(),price:c("#price").val(),discount:c("#discount").val(),limit:c("#limit").val(),channel:c("#channel").val(),p_d:c("#p_d").val(),dayLimit:1,style:c("#style").val()},j=c.extend({},C),x=new Date,k=x.getMonth()+1,q=x.getDate(),z=c("#list-nav"),T={today:{reload:!0,page:0,end:!1},week:{reload:!0,page:0,end:!1},sale:{reload:!0,page:0,end:!1}},E=z.find(".active");e("js/product/suspend-cart"),c("#today a").text(k+"月"+q+"号"),c(".swiper-container .swiper-slide").length>1&&(t=new u(".swiper-container",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!0,paginationClickable:!0,pagination:".banner-top .pagination-inner"})),c.ajax({type:"GET",url:"/product/newsale/filter",data:C,success:function(e){v.append(e),g.initFilter({fCbFn:s,hCbFn:function(){E.addClass("active"),E.siblings(".filter").removeClass("active")}})}}),h(c(".lazy")),l=new p(z[0]),l.on("tap",function(e){var a,n,t,l=c(e.target).closest("li");if(e.preventDefault(),l.hasClass("filter"))l.hasClass("active")?(g.hideFilter(),E.addClass("active"),l.removeClass("active")):(E=l.siblings(".active"),E.removeClass("active"),l.addClass("active"),g.showFilter());else{if(l.hasClass("today")?n="today":l.hasClass("week")?n="week":l.hasClass("sale")&&(n="sale"),a=T[n],!l.hasClass("active")){if(t=l.siblings(".active"),E=l,t.hasClass("filter"))g.hideFilter();else{switch(v.children(".container:not(.hide)").addClass("hide"),n){case"today":o.removeClass("hide");break;case"week":i.removeClass("hide");break;case"sale":r.removeClass("hide")}g.resetFilter(),C=c.extend({},j)}t.removeClass("active"),l.addClass("active")}a.reload&&s()}e.srcEvent.stopPropagation()}),c(window).scroll(function(){c(window).scrollTop()+y>c(document).height()-.25*v.height()-50&&void 0!==E&&s()}),s()}),define("js/plugin/filter",["jquery","hammer"],function(e,a,n){function s(){u.addClass("hide")}function t(){u.removeClass("hide")}function o(){var e=g(".filter-body .sub-item");e.on("touchstart",function(){e.removeClass("highlight"),g(this).addClass("highlight")}).on("touchend touchcancel",function(){g(this).removeClass("highlight")})}function i(e){e.hasClass("active")||(e.siblings(".active").removeClass("active"),e.addClass("active"))}function r(e){var a,n,s=e.closest(".sub-classify"),t=s.siblings(".shower");return e.hasClass("chosed")?s:(s.children(".chosed").removeClass("chosed"),e.addClass("chosed"),a=g.trim(e.html()),n=g.trim(t.html()),t.html(n.substring(0,n.indexOf("</span>")+7)+a.substring(0,a.indexOf("<i"))),0===e.index()?t.addClass("default"):t.removeClass("default"),s)}function l(e){var a,n=e.data("id");a=r(e),p&&p({type:a.data("type"),id:n}),s()}function d(e){var a;p=e.fCbFn,h=e.hCbFn,f=e.missStatus,o(),u=g(".filter-mask"),a=new m(u[0]),a.on("tap",function(e){var a,n=g(e.target);e.preventDefault(),n.closest(".filter-body").length>0?(a=n.closest(".sub-item"),a.length>0?(a=n.closest("li"),l(a)):(a=n.closest(".classify-item"),e.srcEvent.stopPropagation(),i(a))):(s(),h&&h())})}function c(){"undefined"!=typeof u&&(g(".sub-classify").each(function(){r(g(this).children(":first-child"))}),i(g(".classify > :first-child")))}var u,p,h,f,g=e("jquery"),m=e("hammer");a.initFilter=d,a.showFilter=t,a.hideFilter=s,a.resetFilter=c}),define("js/product/suspend-cart",["jquery"],function(e,a,n){var s=e("jquery"),t=s("#suspend-cart");s.ajax({type:"GET",url:"/cart/index/count",success:function(e){200===e.code&&t.find(".cart-count").html(e.data.cart_goods_count).removeClass("hide")}})}),define("js/product/newsale/discount",["jquery","swiper","hammer","lazyload","index"],function(e,a,n){function s(e){var a,n,s,t,o,l={};if(!i){if(e){for(n in x)x.hasOwnProperty(n)&&(x[n].reload=!0);switch(j.children(".active").removeClass("active"),k.addClass("active"),e.type){case"gender":a={gender:e.id};break;case"brand":a={brand:e.id};break;case"sort":a={sort:e.id};break;case"color":a={color:e.id};break;case"size":a={size:e.id};break;case"price":a={price:e.id};break;case"discount":a={discount:e.id}}r.extend(C,a)}if(k.hasClass("new")?t="newest":k.hasClass("price")?t="price":k.hasClass("discount")&&(t="discount"),s=x[t],o=s.page+1,s.reload)o=1;else if(s.end)return;r.extend(l,C,{type:t,order:s.order,page:o}),i=!0,h.showLoadingMask(),r.ajax({type:"GET",url:"/product/newsale/selectNewSale",data:l,success:function(e){var a,n;switch(t){case"newest":a=m;break;case"price":a=v;break;case"discount":a=w}" "===e?(s.end=!0,s.reload&&a.html(b)):s.reload?(a.html(e),c(a.find(".lazy"))):(n=a.find(".good-info").length,a.append(e),c(a.find(".good-info:gt("+(n-1)+") .lazy"))),s.reload=!1,s.page=o,i=!1,h.hideLoadingMask(),window.rePosFooter()},error:function(){u.show("网络断开连接了~"),i=!1,h.hideLoadingMask()}})}}var t,o,i,r=e("jquery"),l=e("swiper"),d=e("hammer"),c=e("lazyload"),u=e("js/plugin/tip"),p=e("js/plugin/filter"),h=e("js/plugin/loading"),f=r("#goods-container"),g=f.children(),m=r(g.get(0)),v=r(g.get(1)),w=r(g.get(2)),y=r(window).height(),b='<p class="no-result">未找到相关搜索结果</p>',C={gender:r("#gender").val(),brand:r("#brand").val(),sort:r("#sort").val(),msort:r("#msort").val(),misort:r("#misort").val(),color:r("#color").val(),size:r("#size").val(),price:r("#price").val(),discount:r("#discount").val(),style:r("#style").val()},j=r("#list-nav"),x={newest:{order:1,reload:!0,page:0,end:!1},price:{order:0,reload:!0,page:0,end:!1},discount:{order:0,reload:!0,page:0,end:!1}},k=j.find(".active");e("js/product/suspend-cart"),r(".swiper-container .swiper-slide").length>1&&(t=new l(".swiper-container",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,autoplay:3e3,autoplayDisableOnInteraction:!0,paginationClickable:!0,pagination:".banner-top .pagination-inner"})),r.ajax({type:"GET",url:"/product/newsale/filter",data:C,success:function(e){f.append(e),p.initFilter({fCbFn:s,hCbFn:function(){k.addClass("active"),k.siblings(".filter").removeClass("active")},missStatus:!0})}}),c(r(".lazy")),o=new d(j[0]),o.on("tap",function(e){var a,n,t,o=r(e.target).closest("li");if(e.preventDefault(),"undefined"!=typeof o&&0!==o.length){if(o.hasClass("filter"))o.hasClass("active")?(p.hideFilter(),k.addClass("active"),o.removeClass("active")):(k=o.siblings(".active"),k.removeClass("active"),o.addClass("active"),p.showFilter());else{if(o.hasClass("new")?n="newest":o.hasClass("price")?n="price":o.hasClass("discount")&&(n="discount"),a=x[n],o.hasClass("active")){if(o.hasClass("new"))return;(o.hasClass("price")||o.hasClass("discount"))&&(o.find(".icon > .iconfont").toggleClass("cur"),k=o,a.reload=!0,a.order=0===a.order?1:0)}else{if(t=o.siblings(".active"),k=o,t.hasClass("filter"))p.hideFilter();else switch(f.children(".container:not(.hide)").addClass("hide"),n){case"newest":m.removeClass("hide");break;case"price":v.removeClass("hide");break;case"discount":w.removeClass("hide")}t.removeClass("active"),o.addClass("active")}a.reload&&s()}e.srcEvent.stopPropagation()}}),r(window).scroll(function(){r(window).scrollTop()+y>r(document).height()-.25*f.height()-50&&void 0!==k&&s()}),s()}),define("js/product/list",["jquery","hammer","lazyload"],function(e,a,n){function s(e){var a,n,s,o,i,r={};if(!t){if(e){for(n in E)E.hasOwnProperty(n)&&(E[n].reload=!0);switch(T.children(".active").removeClass("active"),P.addClass("active"),e.type){case"gender":a={gender:e.id};break;case"brand":a={brand:e.id};break;case"sort":a={sort:e.id};break;case"color":a={color:e.id};break;case"size":a={size:e.id};break;case"price":a={price:e.id};break;case"discount":a={discount:e.id}}d.extend(z,a)}if(P.hasClass("new")?o="newest":P.hasClass("price")?o="price":P.hasClass("discount")&&(o="discount"),s=E[o],i=s.page+1,s.reload)i=1;else if(s.end)return;d.extend(r,z,{type:o,order:s.order,page:i}),t=!0,v.showLoadingMask(),d.ajax({type:"GET",url:"/index/search/search",data:r,success:function(e){var a,n,r='<p class="no-result">未找到相关搜索结果</p>';switch(o){case"newest":n=y;break;case"price":n=b;break;case"discount":n=C}" "===e?(s.end=!0,s.reload&&n.html(r)):s.reload?(n.html(e),u(n.find(".lazy"))):(a=n.find(".good-info").length,n.append(e),u(n.find(".good-info:gt("+(a-1)+") .lazy"))),s.reload=!1,s.page=i,t=!1,v.hideLoadingMask(),window.rePosFooter()}})}}var t,o,i,r,l,d=e("jquery"),c=e("hammer"),u=e("lazyload"),p=d("#brand-header"),h=d("#intro-box"),f=e("js/plugin/filter"),g=e("js/index/write-search"),m=e("js/plugin/tip"),v=e("js/plugin/loading"),w=d("#goods-container"),y=w.children(".new-goods"),b=w.children(".price-goods"),C=w.children(".discount-goods"),j=d(window).height(),x=d("#search-input input"),k=d(".search-icon"),q=d("#search-input .clear-input"),z={gender:d("#gender").val(),brand:d("#brand").val(),sort:d("#sort").val(),msort:d("#msort").val(),misort:d("#misort").val(),color:d("#color").val(),size:d("#size").val(),price:d("#price").val(),discount:d("#discount").val(),query:d("#query").val(),style:d("#style").val()},T=d("#list-nav"),E={newest:{order:1,reload:!0,page:0,end:!1},price:{order:0,reload:!0,page:0,end:!1},discount:{order:0,reload:!0,page:0,end:!1}},P=T.find(".active");x.on("input",function(){""===x.val()?(k.css("color","#b2b2b2"),q.addClass("hide")):(k.css("color","#666"),q.removeClass("hide"))}),q.on("touchend",function(){x.val("").trigger("input")}),d("#search").on("touchend",function(){return d(this).closest("form").submit(),!1}),e("js/product/suspend-cart"),d.ajax({type:"GET",url:"/search/filter",data:z,success:function(e){w.append(e),f.initFilter({fCbFn:s,hCbFn:function(){P.addClass("active"),P.siblings(".filter").removeClass("active")}})}}),u(d(".lazy")),g.bindWirteLocal(d("#search-form")),o=new c(T[0]),o.on("tap",function(e){var a,n,t,o=d(e.target).closest("li");if(o.hasClass("filter"))o.hasClass("active")?(f.hideFilter(),P.addClass("active"),o.removeClass("active")):(P=o.siblings(".active"),P.removeClass("active"),o.addClass("active"),f.showFilter());else{if(o.hasClass("new")?n="newest":o.hasClass("price")?n="price":o.hasClass("discount")&&(n="discount"),a=E[n],o.hasClass("active")){if(o.hasClass("new"))return;(o.hasClass("price")||o.hasClass("discount"))&&(o.find(".icon > .iconfont").toggleClass("cur"),P=o,a.reload=!0,a.order=0===a.order?1:0)}else{if(t=o.siblings(".active"),P=o,t.hasClass("filter"))f.hideFilter();else switch(w.children(".container:not(.hide)").addClass("hide"),n){case"newest":y.removeClass("hide");break;case"price":b.removeClass("hide");break;case"discount":C.removeClass("hide")}t.removeClass("active"),o.addClass("active")}a.reload&&s()}}),d(window).scroll(function(){d(window).scrollTop()+j>d(document).height()-.25*w.height()&&s()}),p.length>0&&(i=new c(p.children(".btn-intro")[0]),i.on("tap",function(){h.removeClass("hide"),d("body").addClass("overflow-hidden")}),r=new c(document.getElementById("intro-box")),r.on("tap",function(e){var a=d(e.target);e.srcEvent.preventDefault(),(0===a.closest("#brand-intro").length||a.hasClass("close-intro"))&&(h.addClass("hide"),d("body").removeClass("overflow-hidden"))}),l=new c(p.children(".btn-col")[0]),l.on("tap",function(){var e,a=d(this),n=p.data("id");e=a.hasClass("coled")?"cancel":"ok",d.ajax({type:"POST",url:"/product/opt/favoriteBrand",data:{id:n,opt:e},success:function(e){200===e.code?a.toggleClass("coled"):400===e.code?location.href=e.data:m.show(e.message)},error:function(){m.show("网络断开连接了~")}})})),s()}),define("js/product/detail/detail",["jquery","swiper","lazyload","index"],function(e,a,n){var s,t,o,i=e("jquery"),r=e("swiper"),l=e("lazyload");l(i("img.lazy")),s=new r(".banner-swiper",{lazyLoading:!0,lazyLoadingInPrevNext:!0,loop:!0,paginationClickable:!0,pagination:".swiper-pagination",nextButton:".swiper-button-next",prevButton:".swiper-button-prev"}),i("#nav-tab li").on("click",function(){var e=i(this).index();i(this).hasClass("focus")||(i("#nav-tab li").each(function(){i(this).removeClass("focus")}),i("#feedback-content .content").each(function(){i(this).addClass("hide")}),i(this).addClass("focus"),i("#feedback-content .content:eq("+e+")").removeClass("hide"))}),t=new r("#size-swiper-container",{slidesPerView:"auto"}),o=new r("#reference-swiper-container",{slidesPerView:"auto"})}),define("js/me/entry",["jquery","hammer","lazyload","swiper","index"],function(e,a,n){e("js/me/order"),e("js/me/order-detail"),e("js/me/fav"),e("js/me/index"),e("js/me/coupons"),e("js/me/online-service")}),define("js/me/order",["jquery","hammer","lazyload"],function(e,a,n){var s,t=e("jquery"),o=e("hammer"),i=e("lazyload"),r=t("#order-nav > li"),l=t("#order-container"),d=l.children(".orders").first();i(),s=new o(document.getElementById("order-nav")),s.on("tap",function(e){var a,n=t(e.target).closest("li");0===n.length||n.hasClass("active")||(a=n.index(),r.filter(".active").removeClass("active"),n.addClass("active"),d.addClass("hide"),d=l.children(":eq("+a+")").removeClass("hide"))})}),define("js/me/order-detail",["jquery","lazyload","hammer"],function(e,a,n){var s,t=e("jquery"),o=e("lazyload"),i=e("hammer"),r=t("#order-detail").data("id");o(),s=new i(document.getElementsByClassName("opt")[0]),s.on("tap",function(e){var a=t(e.target);a.hasClass("btn-del")?confirm("确定删除订单吗?")&&t.ajax({type:"GET",url:"/home/delOrder",data:{id:r}}):a.hasClass("btn-cancel")&&confirm("确定取消订单吗?")&&t.ajax({type:"GET",url:"/home/cancelOrder",data:{id:r}})})}),define("js/me/fav",["jquery","hammer","lazyload"],function(e,a,n){var s,t=e("jquery"),o=e("hammer"),i=(e("lazyload"),t("#fav-tab > li")),r=t(".fav-content"),l=r.children(".fav-type").first();s=new o(document.getElementById("fav-tab")),s.on("tap",function(e){console.log(1);var a,n=t(e.target).closest("li");0===n.length||n.hasClass("active")||(a=n.index(),i.filter(".active").removeClass("active"),n.addClass("active"),l.addClass("hide"),l=r.children(":eq("+a+")").removeClass("hide"))})}),define("js/me/index",["swiper","index"],function(e,a,n){e("js/product/recommend-for-you")}),define("js/product/recommend-for-you",["swiper","index"],function(e,a,n){var s,t=e("swiper");s=new t(".swiper-recommend",{slidesPerView:"auto"})}),define("js/me/coupons",["jquery","hammer"],function(e,a,n){var s,t=e("jquery"),o=e("hammer");t(".employ span").each(function(e){s=new o(t(".employ span")[e]),s.on("tap",function(a){t(".employ-list").addClass("none").eq(e).removeClass("none"),t(".employ span").removeClass("active").eq(e).addClass("active")})})}),define("js/me/online-service",["jquery"],function(e,a,n){var s=e("jquery"),t=s(".question-tab .tab-item");t.on("touchend",function(){var e=s(this).data("tab");e='[data-tab-name="'+e+'"]',t.removeClass("current"),s(this).addClass("current"),s(".question-list").removeClass("current"),s(e).addClass("current")})});
\ No newline at end of file
... ...
... ... @@ -2,7 +2,7 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>
Created by FontForge 20120731 at Thu Nov 12 16:17:15 2015
Created by FontForge 20120731 at Mon Nov 16 18:08:15 2015
By Ads
</metadata>
<defs>
... ... @@ -19,7 +19,7 @@ Created by FontForge 20120731 at Thu Nov 12 16:17:15 2015
bbox="-0.75 -224 3943 812.871"
underline-thickness="50"
underline-position="-100"
unicode-range="U+0078-E62F"
unicode-range="U+0078-E63E"
/>
<missing-glyph horiz-adv-x="374"
d="M34 0v682h272v-682h-272zM68 34h204v614h-204v-614z" />
... ... @@ -179,5 +179,73 @@ q0 -66 47 -112.5t113.5 -46.5t113.5 46.5t47 112.5z" />
d="M474 28v161h-167v50h167v74h-167v49h134l-168 265h87l152 -257v386q-48 0 -96.5 4t-83.5 10.5t-63.5 12.5t-42.5 10l-14 4q-2 -43 -16.5 -74t-34 -44t-38.5 -20t-33 -7h-13q0 -110 10.5 -203.5t20.5 -131.5l10 -38q15 -61 45 -120.5t65.5 -105.5t75.5 -87.5t76 -70.5
t66.5 -50.5t47.5 -31.5t18 -10v225h-38zM550 28v161h167v50h-167v74h167v49h-134l168 265h-87l-152 -257v386q35 0 70.5 2t64 6t55.5 8.5t46.5 8.5t34 8t22.5 6l7 2q2 -43 16.5 -74t34 -44t38.5 -20t33 -7h13q0 -110 -10.5 -203.5t-20.5 -131.5l-10 -38q-15 -61 -45 -120.5
t-65.5 -105.5t-75.5 -87.5t-76 -70.5t-66.5 -50.5t-47.5 -31.5t-18 -10v225h38z" />
<glyph glyph-name="uniE630" unicode="&#xe630;"
d="M629 -71h-268v20q0 31 -21.5 53t-52.5 22t-52.5 -22t-21.5 -53v-20h-174v609h590v-609zM400 -30h188v527h-508v-527h94q7 41 39 68t74 27t74 -27t39 -68zM989 -71h-136v20q0 21 -10 38t-27 27t-37 10q-31 0 -52.5 -22t-21.5 -53v-20h-117v476h210q22 0 57 -34
q27 -26 58 -67q31 -40 52 -75q14 -25 19 -39t5 -23v-238zM892 -30h56v197q0 9 -18 40t-46 68q-7 9 -14 17.5t-13.5 16.5t-13 15t-12.5 14q-10 9 -18 16t-11 8.5t-5 1.5h-168v-394h37q7 41 39 68t74 27q28 0 52 -12.5t40.5 -34t20.5 -48.5zM989 137h-287v193h191l6 -8
q35 -43 61 -84q29 -48 29 -71v-30zM743 178h202q-6 15 -21 39q-21 34 -50 72h-131v-111zM779.5 -166q-47.5 0 -81.5 34t-34 81.5t34 81.5t81 34q24 0 45 -9.5t36.5 -25t24.5 -36.5t9 -45q0 -47 -33.5 -81t-81 -34zM779 24q-31 0 -52.5 -22t-21.5 -53q0 -15 6 -28.5t16 -23.5
t23.5 -16t28.5 -6q12 0 23.5 4t20.5 10.5t16 16t10.5 20.5t3.5 23q0 21 -10 38t-27 27t-37 10zM287 -166q-48 0 -81.5 34t-33.5 81.5t33.5 81.5t81.5 34t81.5 -34t33.5 -81.5t-33.5 -81.5t-81.5 -34zM287 24q-31 0 -52.5 -22t-21.5 -52.5t21.5 -52.5t52.5 -22t52.5 22
t21.5 52.5t-21.5 52.5t-52.5 22z" />
<glyph glyph-name="uniE631" unicode="&#xe631;"
d="M24 799zM47 799zM70 799zM94 799zM117 799zM140 799zM163 799zM187 799zM210 799zM233 799zM256 799zM280 799zM303 799zM326 799zM349 799zM373 799zM396 799zM419 799zM442 799zM466 799zM489 799zM512 799zM535 799zM558 799zM582 799zM605 799zM628 799zM651 799z
M675 799zM698 799zM721 799zM744 799zM768 799zM791 799zM814 799zM837 799zM861 799zM884 799zM907 799zM930 799zM954 799zM977 799zM1000 799zM1 776zM1 753zM1 730zM1 706zM1 683zM1 660zM1 637zM1 613zM1 590zM1 567zM1 544zM1 520zM1 497zM1 474zM1 451zM1 427zM1 404
zM1 381zM1 358zM1 334zM1 311zM1 288zM1 265zM1 242zM1 218zM1 195zM1 172zM1 149zM1 125zM1 102zM1 79zM1 56zM1 32zM1 9zM1 -14zM1 -37zM1 -61zM1 -84zM1 -107zM1 -130zM1 -154zM1 -177zM1 -200zM512 -223q-7 8 -18.5 22t-45.5 59t-64.5 91t-68 113.5t-64.5 131.5
t-45.5 139t-18.5 141q0 52 11 96.5t30 75.5t43 56.5t51 41t54 27t51.5 17t43.5 8.5t30 3h11q7 0 18.5 -0.5t45.5 -7t64.5 -17.5t68 -35.5t64.5 -57.5t45.5 -87t18.5 -120t-18 -140.5t-46.5 -140.5t-63 -130t-69.5 -114.5t-63.5 -90t-46.5 -60.5zM740 517q-16 85 -86 140
q-1 1 -4 3.5t-5 3.5q-5 4 -22 13l-4 2q-2 1 -3.5 2t-3.5 2l-4 2l-4 2q-1 0 -20 7q-2 0 -7.5 2t-9 3.5t-7.5 1.5q-24 5 -48 5v0q-24 0 -47 -5q-15 -3 -29.5 -8t-27.5 -11.5t-25 -14.5h-1q-12 -9 -27 -23q-2 -1 -5 -4l-3 -3q-2 -2 -4.5 -5t-4 -4.5t-4 -5t-3.5 -4.5
q-12 -16 -13 -17q-2 -3 -4.5 -7.5t-3.5 -5.5q0 -1 -1 -2q-2 -4 -3 -6.5t-3 -6t-3.5 -6.5t-2.5 -6q-1 -2 -2 -7q-1 -3 -2 -4q-7 -21 -9 -32q-4 -22 -4 -44q0 -183 175 -470l57 -88q9 13 25 36.5t56 92t70.5 133.5t55.5 148t25 148q0 11 -1 21.5t-3 21.5zM373 474
q0 58 40.5 98.5t98.5 40.5t98.5 -40.5t40.5 -98.5t-40.5 -99t-98.5 -41q-28 0 -54 11.5t-44.5 30t-29.5 44.5t-11 54z" />
<glyph glyph-name="uniE632" unicode="&#xe632;"
d="M313 163h397v69h-397v-69zM313 26h397v68h-397v-68zM611 747h-430q-4 0 -7 -0.5t-6 -2t-6 -3.5t-5 -4t-4 -5t-3 -6t-1.5 -6.5t-0.5 -6.5v-825q0 -5 1.5 -10.5t4.5 -9.5t7 -7.5t9 -5t11 -1.5h661q9 0 17 4.5t12.5 12.5t4.5 17v619zM644 626l131 -119h-131v119zM809 -77
h-595v755h364v-206q0 -14 9.5 -24t23.5 -10h198v-515zM313 300h397v69h-397v-69z" />
<glyph glyph-name="uniE633" unicode="&#xe633;" horiz-adv-x="1304"
d="M1303 454l-161 242h-304v-443h233q12 0 23 6.5t17 17t6 23.5q0 8 -2.5 15t-6.5 12.5t-10 10t-13 7t-14 2.5h-140v256h161l118 -177v-242h-442v577q0 14 -7 25.5t-18.5 18.5t-25.5 7h-666q-21 0 -36 -15t-15 -36v-620q0 -21 15 -35.5t36 -14.5h142q-30 -49 -30 -105
q0 -82 58 -140t140 -58t140 58t58 140q0 28 -8 54.5t-23 50.5h363q-30 -49 -30 -105q0 -82 58 -140t140 -58t140 58t58 140q0 56 -31 105h77v363zM93 719h582v-535h-582v535zM465 -14q0 -43 -30.5 -74t-74 -31t-74 31t-30.5 74t30.5 74t74 31t74 -31t30.5 -74zM1164 -14
q0 -29 -14 -53t-38.5 -38t-52.5 -14q-43 0 -74 31t-31 74t31 74t74 31t74 -31t31 -74z" />
<glyph glyph-name="uniE634" unicode="&#xe634;" horiz-adv-x="1476"
d="M1403 812h-1331q-14 0 -27.5 -5.5t-23.5 -15.5t-15.5 -23.5t-5.5 -27.5v-880q0 -30 21 -51t51 -21h1331q30 0 51.5 21t21.5 51v880q0 19 -10 36t-26.5 26.5t-36.5 9.5zM120 692h1235v-151h-1235v151zM120 330h1235v-422h-1235v422zM211 210h572v-61h-572v61zM211 89h331
v-60h-331v60z" />
<glyph glyph-name="uniE635" unicode="&#xe635;"
d="M512 797q-102 0 -194.5 -39.5t-160 -106.5t-107 -160t-39.5 -195q0 -68 18 -133t50.5 -119.5t78.5 -101t101 -79t120 -50.5t133 -18q102 0 194.5 40t160 107t107 160t39.5 194q0 82 -25.5 158.5t-71.5 138t-108 108t-138 71.5t-158 25zM512 -118q-112 0 -207.5 55.5
t-151 151t-55.5 207.5q0 84 33 161t88.5 132.5t132 88t160.5 32.5q112 0 207.5 -55.5t151 -150.5t55.5 -207.5t-55.5 -208t-151 -151t-207.5 -55.5zM512 471q25 0 43 -18t18 -44h87q0 50 -29 89t-75 53v50q0 6 -3 11t-8 8t-11 3h-44q-9 0 -15.5 -6.5t-6.5 -15.5v-50
q-22 -7 -41.5 -20.5t-33.5 -32t-21.5 -41.5t-7.5 -48q0 -104 133 -154q27 -9 44 -20t23 -22t7.5 -16.5t1.5 -13.5q0 -25 -18 -43t-43 -18q-17 0 -31 8.5t-22 22.5t-8 30h-87q0 -73 59 -118q21 -16 45 -24v-50q0 -9 6.5 -15t15.5 -6h44q6 0 11 2.5t8 7.5t3 11v50q46 15 75 54
t29 88q0 105 -133 154q-18 7 -32 14.5t-22 14.5t-13 13t-6.5 12.5t-2 10t-0.5 7.5q0 26 18 44t43 18z" />
<glyph glyph-name="uniE636" unicode="&#xe636;"
d="M947 675h-892q-23 0 -39 -16t-16 -38v-642q0 -23 16 -39t39 -16h892q22 0 38 16t16 39v642q0 15 -7 27.5t-19.5 19.5t-27.5 7zM836 584l-335 -260l-336 260h671zM91 16v511l376 -293q4 -3 8 -5t8 -3.5t8.5 -2t9.5 -0.5q18 0 33 11l376 293v-511h-819z" />
<glyph glyph-name="uniE637" unicode="&#xe637;"
d="M512 572q-31 0 -59 -12t-48.5 -32.5t-32.5 -48.5t-12 -59q0 -63 44.5 -107.5t107.5 -44.5q31 0 59 12t48.5 32.5t32.5 48.5t12 59q0 63 -44.5 107.5t-107.5 44.5zM512 796q-149 0 -257 -103q-107 -100 -117 -245q-1 -14 -1 -28q0 -56 36 -137.5t81 -151t104 -146.5
t85 -107t44 -50l25 -28l25 28q18 20 44 50t85 107t104 146.5t81 151t36 137.5q0 76 -29.5 145.5t-80 120t-120 80.5t-145.5 30zM512 -97q-46 54 -93.5 115.5t-98.5 137t-83 147t-32 117.5q0 127 90 217t217 90t217 -90t90 -217q0 -46 -32 -117.5t-83 -147t-98.5 -137
t-93.5 -115.5z" />
<glyph glyph-name="uniE638" unicode="&#xe638;" horiz-adv-x="1335"
d="M1273 -88h-1179q-26 0 -44 -18t-18 -44t18 -44t44 -18h1179q17 0 31 8.5t22.5 22.5t8.5 31t-8.5 31.5t-22.5 22.5t-31 8zM841 657h429q27 0 46 18t19 44t-19 44t-46 18h-429q-27 0 -46 -18t-19 -44q0 -10 3.5 -19.5t9.5 -17t14 -13.5t17.5 -9t20.5 -3zM841 230h429
q27 0 46 18t19 44q0 17 -8.5 31.5t-23.5 22.5t-33 8h-429q-13 0 -25 -5t-20.5 -13t-14 -19.5t-5.5 -24t5.5 -24t14 -20t20.5 -13.5t25 -5zM85 230h434q26 0 44 18t18 44v435q0 17 -8 31t-22.5 22.5t-31.5 8.5h-434q-26 0 -44 -18.5t-18 -43.5v-435q0 -25 18 -43.5t44 -18.5z
M147 665h310v-311h-310v311z" />
<glyph glyph-name="uniE639" unicode="&#xe639;"
d="M507 811q-81 0 -157.5 -25.5t-138 -72t-108 -108t-72 -138t-25.5 -157.5q0 -185 121 -326q115 -134 287 -167q47 -8 93 -9q46 0 90.5 8.5t85 23.5t78 37t70 49.5t60 60t49.5 70t37 78t23.5 85t8.5 90.5q0 101 -40 194t-107 160t-160 107t-195 40zM507 -104
q-112 0 -207.5 55.5t-150.5 150.5t-55 207.5t55 208t150.5 151t207.5 55.5q68 0 131 -21t114 -59.5t89.5 -89.5t59 -114t20.5 -130q0 -113 -55.5 -208t-150.5 -150.5t-208 -55.5zM506 605h-1h-1q-67 0 -115 -47q-48 -48 -48 -116q0 -9 3 -17t9 -14t14 -9.5t17 -3.5t17 3.5
t14 9.5t9.5 14t3.5 17q0 32 22 54q22 21 55 22q10 0 19.5 -3t17.5 -8t15 -12t12 -15t8 -17.5t3 -19.5q1 -24 -12 -43t-34 -29q-22 -9 -39 -26t-26 -39.5t-9 -47.5v-36q0 -18 13 -30.5t31 -12.5t31 12.5t13 30.5v36q0 24 20 33q46 20 73 61.5t26 91.5q-1 66 -48 113t-113 48z
M504 135q-23 0 -39 -16t-16 -38q0 -5 1 -10t3 -9.5t4 -8.5t5 -7.5t6.5 -6.5t8 -5.5t8.5 -4t9 -2.5t10 -1q23 0 38.5 16t15.5 39q0 9 -2.5 17t-7.5 15t-12 12t-15 7.5t-17 2.5z" />
<glyph glyph-name="uniE63A" unicode="&#xe63a;"
d="M964 376q14 1 25 8t17.5 18.5t6.5 25.5v147q0 14 -7 26t-19 19t-26 7h-898q-10 0 -20 -4t-17 -11t-11 -17t-4 -20v-147q0 -21 14 -36t35 -16q29 -2 49.5 -24t20.5 -52t-20.5 -52t-49.5 -24q-21 -1 -35 -16t-14 -36v-147q0 -21 15.5 -36.5t36.5 -15.5h898q21 0 36.5 15.5
t15.5 36.5v147q0 21 -14 36t-35 16q-19 2 -35.5 12.5t-25.5 27t-9 36.5q0 15 5.5 28.5t15 23.5t22.5 16.5t27 7.5zM926 143v-83h-828v83q52 15 85.5 58.5t33.5 98.5t-33.5 98.5t-85.5 58.5v83h283v-66h66v66h479v-83q-52 -15 -85.5 -58.5t-33.5 -98.5t33.5 -98.5t85.5 -58.5
zM381 278h66v-109h-66v109zM381 431h66v-109h-66v109zM381 126h66v-66h-66v66z" />
<glyph glyph-name="uniE63B" unicode="&#xe63b;" horiz-adv-x="1199"
d="M1149 812h-1099q-21 0 -35.5 -14.5t-14.5 -35.5v-350q0 -20 14.5 -35t35.5 -15h1099q13 0 24.5 7t18.5 18.5t7 24.5v350q0 21 -14.5 35.5t-35.5 14.5zM100 712h999v-250h-999v250zM1024 312q-21 0 -35.5 -14.5t-14.5 -34.5v-375h-749v375q0 20 -14.5 34.5t-35.5 14.5
t-35.5 -14.5t-14.5 -34.5v-425q0 -21 14.5 -35.5t35.5 -14.5h849q10 0 19.5 4t16 10.5t10.5 16t4 19.5v425q0 20 -14.5 34.5t-35.5 14.5zM325 312q-10 0 -19.5 -3.5t-16 -10.5t-10.5 -16t-4 -19v-200q0 -33 30 -46q10 -4 20 -4h549q21 0 35.5 14.5t14.5 35.5v200
q0 20 -14.5 34.5t-35.5 14.5t-35.5 -14.5t-14.5 -34.5v-150h-449v150q0 32 -30 45q-10 4 -20 4z" />
<glyph glyph-name="uniE63C" unicode="&#xe63c;" horiz-adv-x="1048"
d="M298 437q-21 0 -35.5 -14.5t-14.5 -35.5t14.5 -35.5t35.5 -14.5q13 0 24.5 7t18.5 18.5t7 25t-7 25t-18.5 18t-24.5 6.5zM953 -55q95 93 95 215t-94 214q0 2 0.5 7t1 9t0.5 7q0 111 -64 205t-174.5 148.5t-239.5 54.5q-97 0 -185.5 -32.5t-152.5 -87t-102 -130
t-38 -158.5q0 -78 33 -148.5t93 -125.5l-77 -123q-8 -12 -6.5 -26t10.5 -25l5 -5q2 -2 4.5 -3.5t5 -2.5t5.5 -2t6 -1.5t6 -0.5q9 0 18 4l180 80q4 2 7 4q20 -7 39 -12q48 -80 138.5 -128t199.5 -48q38 0 74.5 6t70.5 19q1 -1 2 -1l140 -62q2 -2 5 -2l6 -2h6q20 0 32 15
q10 10 11 24t-7 26zM286 160q0 -17 2 -35v1q-35 16 -64.5 38t-53 48t-40.5 55.5t-26 62.5t-9 67q0 85 51.5 157t139.5 114t192 42q142 0 249.5 -76.5t128.5 -189.5q-43 21 -91 32t-98 11q-39 0 -77 -6.5t-71.5 -19t-64.5 -30.5t-56.5 -40t-46.5 -48.5t-35.5 -55.5t-22 -61
t-7.5 -66zM381 160q0 63 38.5 116.5t104 84.5t143.5 31q118 0 202 -68t84 -164q0 -62 -38.5 -115.5t-104.5 -84.5t-143 -31q-118 0 -202 68t-84 163zM527 191q-16 0 -27.5 -11t-11.5 -27q0 -11 5.5 -20t14.5 -14t19 -5q16 0 27.5 11.5t11.5 27.5t-11.5 27t-27.5 11zM667 191
q-16 0 -27.5 -11t-11.5 -27t11.5 -27.5t27.5 -11.5q10 0 19 5t14.5 14t5.5 20q0 7 -3.5 14.5t-8.5 12.5t-12 8t-15 3zM806 191q-16 0 -27 -11t-11 -27t11 -27.5t27 -11.5t27.5 11.5t11.5 27.5q0 7 -3 14.5t-8 12.5t-12.5 8t-15.5 3z" />
<glyph glyph-name="uniE63E" unicode="&#xe63e;"
d="M521 317zM768 -178h-1h-1h-1h-1h-1h-1h-1h-1h-1h-1h-1q-11 1 -23 2h-1h-1h-1h-1h-1l-1 1h-1h-1h-1h-1h-1h-1h-1l-1 1h-1h-1h-1h-1h-1l-1 1h-1h-1h-1h-1h-1h-1l-1 1h-1h-1h-1h-1l-1 1h-1h-1h-1h-1l-1 1h-1h-1h-1h-1l-1 1h-1h-1h-1l-1 1h-1h-1h-1h-1l-1 1h-1h-1l-1 1h-1h-1
h-1h-1l-1 1h-1h-1h-1l-1 1h-1h-1h-1l-1 1h-1l-1 1h-1h-1h-1l-1 1h-1h-1h-1l-1 1h-1h-1l-1 1h-1h-1h-1l-1 1h-1h-1l-1 1h-1l-1 1h-1h-1l-1 1h-1h-1l-1 1h-1h-1l-1 1h-1h-1l-1 1h-1h-1l-1 1h-1h-1l-1 1h-1h-1l-1 1h-1l-1 1h-1h-1l-1 1h-1l-1 1h-1l-1 1h-1h-1l-1 1h-1h-1l-1 1
h-1l-1 1h-1h-1l-1 1h-1l-1 1h-1l-1 1h-1h-1l-1 1h-1l-1 1h-1l-1 1h-1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1h-1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1h-1l-1 1q-145 72 -277 204.5t-205 277.5q-55 113 -56.5 201t52.5 140q13 13 30 13
t30 -13q8 -8 11 -19t0 -21.5t-11 -19.5q-32 -32 -26.5 -98t47.5 -149q68 -137 187.5 -256.5t256.5 -187.5q83 -42 149 -47.5t98 26.5q13 13 30 13t30 -13t13 -30t-13 -30q-54 -47 -141 -47zM333 355q-26 0 -39 26q-9 16 -4 32.5t21 23.5l99 46q15 8 26 23t8 33q0 13 -17 30
l-141 145q-10 9 -24.5 12.5t-31.5 0.5q-12 -7 -25 -13l-68 -73q-9 -8 -19.5 -11t-21.5 0t-19 11q-13 13 -13 30t13 30l68 68q28 28 60 34q80 20 141 -34l140 -140q4 -4 7 -8l6 -8q3 -4 6 -8.5t5 -8.5l4 -10q2 -4 4 -9l2 -10q2 -5 3 -10l2 -10q1 -8 1 -16.5t-1 -16.5
t-3.5 -16.5t-5.5 -16.5t-7.5 -15.5t-10 -15t-11.5 -14t-13 -12.5t-14.5 -11.5t-15.5 -10.5l-98 -47q0 2 -2.5 2t-6 -1t-4.5 -1zM875 -139q-10 0 -17 3t-13 9q-13 13 -13 30t13 30l68 68q13 13 13 26q7 35 -13 55l-141 141q-4 4 -30 17q-12 2 -23.5 -2t-19.5 -12.5t-12 -19.5
l-47 -98q-3 -6 -7 -11t-10 -8t-12.5 -4t-13 0.5t-12.5 5.5q-8 3 -13.5 9t-8 13.5t-1.5 16.5t5 16l47 99q23 42 62 64.5t83 16.5q45 -7 77 -39l141 -141q29 -28 38 -65t-4 -75q-17 -43 -34 -60l-72 -73q-5 -4 -9.5 -7t-9.5 -4t-11 -1zM602 87q-4 0 -9 1.5t-8 2.5t-9 4
q-77 58 -154 128q-76 77 -128 154q-9 12 -6 29.5t19 30.5q6 3 13 5t13.5 2t13 -2t11.5 -5.5t9 -8.5q15 -21 27 -36.5t27.5 -35t32 -37t32.5 -32.5q14 -12 21 -18.5t19.5 -17.5t20.5 -18t19.5 -17t20.5 -17.5t19.5 -15.5t20.5 -15q11 -7 16 -17t3 -21.5t-10 -21.5
q-6 -21 -34 -21z" />
</font>
</defs></svg>
... ...