{"cookies": [{"name": "XSRF-TOKEN", "value": "593917a4-14da-451f-a28f-37b13cfcee6d", "domain": "tongyi-passport.aliyun.com", "path": "/havanaone", "expires": -1, "httpOnly": true, "secure": false, "sameSite": "Lax"}, {"name": "XSRF-TOKEN", "value": "2f0cb8e6-8da5-422e-af30-3ec7c0478eaf", "domain": "qianwen.biz.aliyun.com", "path": "/growth", "expires": -1, "httpOnly": false, "secure": false, "sameSite": "Lax"}, {"name": "XSRF-TOKEN", "value": "664d9e16-aa82-48ca-b759-813f49ef0eac", "domain": "tongyi.aliyun.com", "path": "/", "expires": -1, "httpOnly": false, "secure": false, "sameSite": "Lax"}, {"name": "UM_distinctid", "value": "1960fe898936a6-0d26258c6a1fa7-26011c51-1fa400-1960fe89894bef", "domain": ".aliyun.com", "path": "/", "expires": 1759748423, "httpOnly": false, "secure": false, "sameSite": "Lax"}, {"name": "acw_tc", "value": "448fbc16-e135-9a65-b356-6ee2c0522bc6a4b93236ef9891f4d957b0fbe02efbd0", "domain": "qianwen.biz.aliyun.com", "path": "/", "expires": 1744025424.166257, "httpOnly": true, "secure": false, "sameSite": "Lax"}, {"name": "_samesite_flag_", "value": "true", "domain": ".aliyun.com", "path": "/", "expires": -1, "httpOnly": true, "secure": true, "sameSite": "None"}, {"name": "cookie2", "value": "15ff170b5c1514983623c409a6caca9b", "domain": ".aliyun.com", "path": "/", "expires": -1, "httpOnly": true, "secure": true, "sameSite": "None"}, {"name": "t", "value": "be3e0a30d824f3f7bfdf7f0c29ad6d85", "domain": ".aliyun.com", "path": "/", "expires": 1778583624.199966, "httpOnly": false, "secure": true, "sameSite": "None"}, {"name": "_tb_token_", "value": "fed73be85db05", "domain": ".aliyun.com", "path": "/", "expires": -1, "httpOnly": false, "secure": true, "sameSite": "None"}, {"name": "cna", "value": "SJ56II7mZHkCAXVZAV2GTegA", "domain": ".aliyun.com", "path": "/", "expires": 1778583659.781422, "httpOnly": false, "secure": false, "sameSite": "Lax"}, {"name": "arms_uid", "value": "512f6793-1aa4-4d48-9c45-4d85e4e042ce", "domain": "tongyi-passport.aliyun.com", "path": "/", "expires": 1759575624.342546, "httpOnly": false, "secure": true, "sameSite": "None"}, {"name": "sca", "value": "ba0ec3d8", "domain": ".aliyun.com", "path": "/", "expires": -1, "httpOnly": false, "secure": false, "sameSite": "Lax"}, {"name": "tongyi_guest_ticket", "value": "Qc2oDc8uU_yWEm8W7$9WDkz6T6j3eBtwuUWhms8MMp16JRyEJD*WL71liDlnMp7my25IHu6RQ53y0", "domain": ".aliyun.com", "path": "/", "expires": 1775127624.393569, "httpOnly": false, "secure": false, "sameSite": "Lax"}, {"name": "cna", "value": "SJ56II7mZHkCAXVZAV2GTegA", "domain": ".mmstat.com", "path": "/", "expires": 1778583660.079414, "httpOnly": false, "secure": true, "sameSite": "None"}, {"name": "sca", "value": "273f9549", "domain": ".mmstat.com", "path": "/", "expires": -1, "httpOnly": false, "secure": true, "sameSite": "None"}, {"name": "cbc", "value": "T2gA0HeIJ_hwpUykuptfzttNVg0_bC9dDOhG1FSf6RlZ8MwXjKyIgHFUl793y8KnByU=", "domain": ".ynuf.aliapp.org", "path": "/", "expires": 1775559625.005453, "httpOnly": false, "secure": true, "sameSite": "None"}, {"name": "_bl_uid", "value": "Iqmv29Xy6zXymhmXFx10igXnyz4I", "domain": "tongyi-passport.aliyun.com", "path": "/", "expires": 1759575625.007847, "httpOnly": false, "secure": false, "sameSite": "Lax"}, {"name": "tongyi_sso_ticket", "value": "_8Gn1gsBy1ogROHqapzX0CcdoyjeL$Ja3gGAKrv0RenO3qMihxNkYdSUh431YBoWsZbKKba*zpfz0", "domain": ".aliyun.com", "path": "/", "expires": 1778583658.17297, "httpOnly": true, "secure": true, "sameSite": "None"}, {"name": "CNZZDATA1281397965", "value": "1341662455-1744023624-%7C1744023660", "domain": "tongyi.aliyun.com", "path": "/", "expires": 1759748459, "httpOnly": false, "secure": false, "sameSite": "Lax"}, {"name": "cnaui", "value": "1743995102443202816", "domain": ".aliyun.com", "path": "/", "expires": 1778583659.78343, "httpOnly": false, "secure": false, "sameSite": "Lax"}, {"name": "aui", "value": "1743995102443202816", "domain": ".aliyun.com", "path": "/", "expires": 1778583660.248087, "httpOnly": false, "secure": false, "sameSite": "Lax"}, {"name": "atpsida", "value": "fa052d6815a01a7d2005bf76_1744023660_2", "domain": ".aliyun.com", "path": "/", "expires": -1, "httpOnly": false, "secure": false, "sameSite": "Lax"}, {"name": "atpsida", "value": "fcc297f2931b2d90680b78cc_1744023660_3", "domain": ".mmstat.com", "path": "/", "expires": -1, "httpOnly": false, "secure": true, "sameSite": "None"}, {"name": "tfstk", "value": "gcIZfkw23lEwgIIaipxqzC7Q3e-9DhV7miOXntXDCCAMGh_qgO1wSIa91IXcttiXoPCb0oX5OEj6fO1E3s67BEa9fZo2t6A11N6fT-5hwOTfni9c0hIC5mO_6nWcNnP7NuZ5BOKpm7NW9gtCvnv0cI4BSXTXfsP7NuZCBOKvm716O32V1KdHIKAiSJ8HUBvMIsAM-XvyenAcisX3LKdHinxciHY8KOXmYLTghTnoN0bwQFRlIBX1CMvZNQXMTmm0hd8aROAEmmjdRfaknC4-dIK6619NMun9jE7G_px4lxdN-Ts61Tkrm9523UxD8xmcLHdD8ptuqXJd-O_cX1kqmdI1VERJ8-mvlHjWrafZH8BHjKfvyiN-XCXcegQW4ooHbEjy0jphG9jA7j0DSppeNJyhBZU5yaHgu9gxkexJLQw6Cq3vSLpeNJyrkqL3TpR7CCf..", "domain": ".aliyun.com", "path": "/", "expires": 1759575660, "httpOnly": false, "secure": false, "sameSite": "Lax"}], "origins": [{"origin": "https://tongyi.aliyun.com", "localStorage": [{"name": "APLUS_LS_KEY", "value": "[\"APLUS_CORE_1.0.4_20250327170802_3244f647\"]"}, {"name": "__ETAG__CNA__ID__", "value": "20250407_SJ56II7mZHkCAXVZAV2GTegA"}, {"name": "tfstk__", "value": "cEfFB9ayzWFFKFBngCdr3HW_afedZ6_hrf8XKz_xi0q46UvhiGoJSg_M7UgZqpf.."}, {"name": "APLUS_CORE_1.0.4_20250327170802_3244f647", "value": "/*! 2025-03-27 16:48:57 aplus_pc.js */\n!function(t){function e(a){if(n[a])return n[a].exports;var o=n[a]={exports:{},id:a,loaded:!1};return t[a].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p=\"\",e(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){\"use strict\";n(2).initGlobal(window),function(){var t=n(4);n(149)(t)}()},function(t,e,n){\"use strict\";var a,o=n(3),r=o.APLUS,i=o.APLUS_QUEUE,s=o.GOLDLOG,u=o.GOLDLOG_QUEUE,c=!1;try{\"undefined\"!=typeof window&&(a=window,c=!0)}catch(t){a={},c=!1}e.getContext=function(){return a},e.isWeb=function(){return\"undefined\"!=typeof window&&window},e.initGlobal=function(t){a=t?t:{v:1,aplus:{},aplus_queue:[]};var e,n;if(c)try{e=a.aplus||a.goldlog||(a.aplus={});var o=a.goldlog_queue||(a.goldlog_queue=[]);n=a.aplus_queue||(a.aplus_queue=[]),n=o.concat(n)}catch(t){}else e=a.aplus,n=a.aplus_queue;return a.aplus=a.goldlog=e,a.aplus_queue=a.goldlog_queue=n,a};var l=function(t){if(t===r||t===s){var e=a[r]||a[s];return e||(e=a[r]=a[s]={}),e}var n=u,o=i;if(t===o||t===n){var c=a[o]||a[n];return c||(c=a[o]=a[n]=[]),c}};e.getGlobalValue=l,e.setGlobalValue=function(t,e){a[t]=e};var p=function(t){var e;try{var n=l(r);e=n[t]}catch(t){e=\"\"}finally{return e}};e.getGoldlogVal=p;var f=function(t,e){var n=!1;try{var a=l(r);t&&(a[t]=e,n=!0)}catch(t){n=!1}finally{return n}};e.setGoldlogVal=f,e.getClientInfo=function(){return p(\"_aplus_client\")||{}}},function(t,e){var n=\"aplus\",a=\"goldlog\",o=n+\"_queue\",r=a+\"_queue\",i=\"mw_change\",s=\"MetaInfo\",u=\"append\"+s,c=\"set\"+s,l=\"http\",p=\"_pubsub\",f=\"other\",g=\"2101\",d=\"2201\",_=\"2202\",m=\"19999\",h=\"1023\",v=\"1010\",b=3e4,y=18e5,E=\"ekvs\",S=1e4,A=1,T=1,P=3e3,I=\"$$_page_start\",w=\"$$_page_end\",M=\"$$_app_start\",x=\"$$_app_end\",C=\"aplus_user_profile\",L=\"imprint\",O=n+\"-idtype\",U=n+\"-jsbridge-only\",k=n+\"-page-config\",R=n+\"-skip-apv-rules\",N=n+\"-rhost-v\",G=n+\"-rhost-g\",D=n+\"-forward-domain\",V=n+\"-forward-event-filter\",j=\"autoGetOpenid\",F=n+\"-forward-appkey\";t.exports={PAGE_ENTER:\"PAGE_ENTER\",ETAG_EVENT_NAME:\"etag\",CURRENT_PAGE_CONFIG:\"CURRENT_PAGE_CONFIG\",_ANONY_ID:\"_anony_id\",_DEV_ID:\"_dev_id\",_USER_ID:\"_user_id\",_CNA:\"cna\",DEFAULT_CODE:f,OTHER:m,EVENT_MAP:{2101:\"click\",2201:\"exposure\",2202:\"exposure\",19999:f,1023:\"app_show\",1010:\"app_hide_or_unload\"},EVENT_ID_MAP:{EXP:d,IMPEXP:_,CLK:g,OTHER:m,SHOW:h,H_OR_U:v},APLUS:n,APLUS_CONFIG:\"APLUS_CONFIG\",GOLDLOG:a,UNSUBSCRIBE:n+\".\"+n+p+\".unsubscribe\",SUBSCRIBE:n+\".\"+n+p+\".subscribe\",PUBLISH:n+\".\"+n+p+\".publish\",CACHE_PUBS:n+\".\"+n+p+\".cachePubs\",APLUS_UNIVERSAL:n+\"_universal\",APLUS_QUEUE:o,GOLDLOG_QUEUE:r,COMPLETE:\"complete\",PV_CODE:\"2001\",EXP_CODE:d,CLK_CODE:g,OTHER_CODE:m,CLK:\"CLK\",EXP:\"EXP\",SPM_CNT:\"spm-cnt\",SPM_URL:\"spm-url\",SPM_PRE:\"spm-pre\",MW_CHANGE_PV:i+\"_pv\",MW_CHANGE_HJLJ:i+\"_hjlj\",HTTP:l+\":\",HTTPS:\"https:\",APPEND_META_INFO:u,SET_META_INFO:c,APLUS_APPEND_META_INFO:n+\".\"+u,APLUS_SET_META_INFO:n+\".\"+c,PVID:\"pvid\",openAPIs:[\"send\",\"enter\",\"sendPV\",\"record\",\"combineRecord\",\"recordUdata\",\"requestVTConfig\",\"requestRemoteConfig\",\"setPageSPM\",\"setMetaInfo\",\"appendMetaInfo\",\"updatePageProperties\",\"updateNextPageProperties\",\"updatePageUtparam\",\"updateNextPageUtparam\",\"pageAppear\",\"pageDisappear\",\"pageDisAppear\",\"skipPage\",\"updatePageName\",\"updatePageUrl\",\"requestPageAllProperties\",\"updateSessionProperties\",\"getPageSpmUrl\",\"getPageSpmPre\",\"updateNextPageUtparamCnt\",\"setPageName\",\"getElementSPM\",\"setUserProfile\",\"getUserProfile\",\"getCna\"],SESSION_INTERVAL:b,SESSION_PAUSE_TIME:\"session_pause_time\",IMPRINT:\"imprint\",CURRENT_SESSION:\"current_session\",MAX_EVENTID_LENGTH:128,MAX_PROPERTY_KEY_LENGTH:256,MAX_PROPERTY_KEYS_COUNT:100,FAILED_REQUESTS:\"failed_requests\",REQUESTS:\"requests\",SHARES:\"shares\",APLUS_SSRC:\"_aplus_ssrc\",ARMS_TRACE:\"_arms_trace\",EKVS:E,EVENT_MAX_COUNT:S,MEMORY_MAX_COUNT:A,MAX_QUEUE_COUNT:T,EVENT_SEND_DEFAULT_INTERVAL:P,PAGE_START:I,PAGE_END:w,APP_START:M,APP_END:x,USER_PROFILE_KEY:C,SHARE_CACHE_INTERVAL:y,IMPRINT:L,ID_TYPE:O,GLOBAL_PROPERTY:\"globalproperty\",JSBRIDGE_ONLY:U,PAGE_CONFIG:k,APLUS_SKIP_APV_RULES:R,APLUS_PV_DOMAIN:N,APLUS_EKV_DOMAIN:G,APLUS_FORWARD_DOMAIN:D,APLUS_IMPRINT_VERSION:\"APLUS_IMPRINT_VERSION\",APLUS_REMOTE_CONFIG:\"APLUS_REMOTE_CONFIG\",RANK:\"ekv_rank\",WEB_EVENT_SUFFIX:\"/web_logs\",WEB_PC_PV_SUFFIX:\"v.gif\",WEB_WAP_PV_SUFFIX:\"m.gif\",PAGE_LEAVE:\"$$_page_leave\",APLUS_DOM_CHANGE:\"APLUS_DOM_CHANGE\",APLUS_PAGE_CHANGE:\"APLUS_PAGE_CHANGE\",PERFORMANCE_WARING:\"$$_perf_warning\",START_ID:\"START_ID\",AUTO_GET_OPENID:j,APLUS_LATEAST_UTM:\"APLUS_LATEAST_UTM\",APLUS_FORWARD_EVENT_FILTER:V,APLUS_FORWARD_APPKEY:F,APLUS_RHOST_V:n+\"-rhost-v\",APLUS_CPVDATA:n+\"-cpvdata\",APLUS_EXDATA:n+\"-exdata\",APLUS_EXINFO:n+\"-exinfo\",APLUS_LOG_PIPE:n+\"-log-pipe\",APLUS_TRACK_COMBINE:n+\"-track-combine\",APLUS_COOKIES:n+\"-cookies\",APLUS_CODELESS_TRACK_CONFIG:\"_\"+n+\"_codeless_track_config\",APLUS_AUTO_CLK:n+\"-auto-clk\",APLUS_AUTO_EXP:n+\"-auto-exp\",APLUS_AUTO_PV:n+\"-auto-pv\",APLUS_BRIDGE_NAME:n+\"-bridge-name\",APLUS_MINI_REQUEST_TIMEOUT:n+\"-request-timeout\",APLUS_VT_CONFIG_URL:n+\"-vt-cfg-url\",APLUS_EXPOSURE_EVENT_CAN_REPEAT:n+\"-exposure-event-can-repeat\",APLUS_IGNORE_LIFECYCLES:n+\"-ignore-lifecycles\",APLUS_TRACK_DEBUG_ID:n+\"-track-debug-id\",APLUS_SINGLE_RECORD_LOGKEYS:n+\"-single-record-logkeys\",APLUS_GOKEY_ISOLATE:n+\"-gokey-isolate\",APLUS_AUTOTRACK_ENABLED:n+\"-autotrack-enabled\",APLUS_AUTOTRACK_ENABLED_REMOTE:n+\"-autotrack-enabled-remote\",APLUS_AUTOTRACK_CONFIG:n+\"-autotrack-config\",APLUS_AUTOTRACK_CONFIG_REMOTE:n+\"-autotrack-config-remote\",APLUS_EVENT_LIMITRATES:n+\"-event-limitrates\",APLUS_DISABLE_AUTOEVENT:n+\"-disable-autoevent\",APLUS_DISABLE_AUTOEVENT_REMOTE:n+\"-disable-autoevent\",APLUS_DISABLE_AUTOPV:n+\"-disable-apv\",APLUS_DISABLE_AUTOPV_REMOTE:n+\"-disable-apv-remote\",APLUS_DEVICE_ENABLE:n+\"-device-enable\",APLUS_USER_PROFILE:n+\"-user-profile\",APLUS_CNA_ENABLE:n+\"-cna-enable\",APLUS_CNA_MODE:n+\"-cna-mode\",APLUS_ETAG_TIMEOUT:n+\"-etag-timeout\",APLUS_SPA_TYPE:n+\"-spa-type\"}},function(t,e,n){t.exports={metaInfo:{\"aplus-ifr-pv\":\"0\",\"aplus-rhost-v\":\"log.mmstat.com\",\"aplus-rhost-g\":\"gm.mmstat.com\",\"aplus-channel\":\"WS\",appId:\"60506758\",sdkId:\"customSdkId\",\"aplus-cpvdata\":{},\"aplus-exdata\":{},\"aplus-globaldata\":{},\"aplus-mmstat-timeout\":\"10000\",\"aplus-toUT\":\"auto\",\"aplus-track-combine\":\"on\",\"aplus-vt-auto-userfn-enable\":\"on\",\"aplus-cna-enable\":\"on\",\"aplus-cna-mode\":\"CK\",\"aplus-auto-track-config-import\":\"off\",\"aplus-form-track\":\"off\",\"aplus-gokey-isolate\":\"on\",\"aplus-only-update-page-properties\":\"off\",\"aplus-user-profile\":{},\"aplus-report-rate\":{},\"aplus-single-record-logkeys\":[],\"aplus-cross-day-auto-pv\":\"off\"},globalConfig:{isAli:!0,APLUS_QUEUE:\"aplus_queue\",ETAG_STORAGE_KEY:\"__ETAG__CNA__ID__\",script_name:\"aplus.js\",NAME_STORAGE_KEYS:{REFERRER:\"wm_referrer\",REFERRER_PV_ID:\"refer_pv_id\",LOST_PV_PAGE_DURATION:\"lost_pv_page_duration\",LOST_PV_PAGE_SPMAB:\"lost_pv_page_spmab\",LOST_PV_PAGE:\"lost_pv_page\",LOST_PV_PAGE_MSG:\"lost_pv_page_msg\"},lver:\"1.13.14\"},plugins:[{name:\"aplus_body_ready\",path:n(5)},{name:\"pubsub\",path:n(6)},{name:\"aplus_client\",path:n(11)},{name:\"aplus_meta_inject\",path:n(15)},{name:\"aplus_observer\",path:n(49)},{name:\"aplus_ac\",path:n(51)},{name:\"aplus_ae\",path:n(68)},{name:\"name_storage\",path:n(76)},{name:\"record_lost_pv\",path:n(79),config:{lostPvRecordRatio:.01}},{name:\"aplus_monitor\",path:n(81),config:{obsoleteInterRecordRatio:\"0.01\",jsErrorRecordRatio:\"0.01\",browserSupportRatio:\"0.01\"}},{name:\"aplus_web_http_ali\",path:n(83)},{name:\"aplus_log_inject\",path:n(86),deps:[\"aplus_meta_inject\"],config:{plugins:{pv:[{name:\"etag\",path:n(87)},{name:\"pha_trackinfo\",path:n(93)},{name:\"when_to_sendpv\",path:n(94),config:{aplusWaiting:\"\"}},{name:\"where_to_send\",path:n(95),config:{method:\"GET\",url:\"//log.mmstat.com/v.gif\"}},{name:\"what_to_send\",path:n(97),config:{pvdataToUt:{}}},{name:\"cookie_data\",path:n(98)},{name:\"what_to_sendpv_userdata\",path:n(99),deps:[\"what_to_send\"]},{name:\"what_to_sendpv_userdata_web\",path:n(100),deps:[\"what_to_send\",\"what_to_sendpv_userdata\"]},{name:\"what_to_sendpv_ut2\",path:n(102),deps:[\"what_to_send\"]},{name:\"can_to_sendpv\",path:n(103),config:{flag:\"NO\"}},{name:\"after_pv\",path:n(108)}],hjlj:[{name:\"etag\",path:n(87)},{name:\"pha_trackinfo\",path:n(93)},{name:\"where_to_send\",path:n(95),deps:[],config:{method:\"GET\",url:\"//gm.mmstat.com/\",ac_atpanel:\"//ac.mmstat.com/\",tblogUrl:\"//log.mmstat.com/\"}},{name:\"what_to_send\",path:n(97),deps:[]},{name:\"cookie_data\",path:n(98)},{name:\"what_to_hjlj_userdata\",path:n(109),deps:[\"what_to_send\"]},{name:\"what_to_hjlj_userdata_web\",path:n(110),deps:[\"what_to_send\",\"what_to_hjlj_userdata\"]},{name:\"what_to_hjlj_ut2\",path:n(111),deps:[\"what_to_send\"]}]}}},{name:\"aplus_spm_inject\",path:n(112)},{name:\"aplus_api\",path:n(126)},{name:\"meta_queue\",path:n(134)},{name:\"etag\",path:n(87)},{name:\"etag_web_sync\",path:n(136)},{name:\"aplus_queue\",path:n(137)},{name:\"hot_loader\",path:n(138),config:{urlRules:[{rule:\"aplus_webvt_messager\",cdnPath:[\"https://d.alicdn.com/alilog/mlog/aplus_webvt_messager.js\",\"https://d.alicdn.com/alilog/mlog/aplus_track_debug.js\"]},{rule:\"aplus_track_debug_id\",cdnPath:[\"https://d.alicdn.com/alilog/mlog/aplus_track_debug.js\"]},{rule:\"__aplus__analytics__=true\",cdnPath:[\"https://g.alicdn.com/alilog/aplus-design/1.3.0/analytics_index.bundle.js\"]},{rule:\"aplus_auto_register=true\",allowIframeLoad:!0,cdnPath:[\"https://d.alicdn.com/alilog/aplus/1.13.9/plugin/aplus_auto_register.js\"]},{rule:\"aplus_heat=true\",allowIframeLoad:!0,cdnPath:[\"https://o.alicdn.com/alilog/aplus-visual-client/heat.js\"]}]}},{name:\"hot_sufei_pc\",path:n(139),config:{cdnPath:\"//g.alicdn.com\"}},{name:\"aplus_apv\",path:n(140),deps:[\"aplus_log_inject\",\"aplus_api\"]},{name:\"aplus_form_track\",path:n(143)}]}},function(t,e){\"use strict\";t.exports=function(){return{run:function(t,e){var n=setInterval(function(){document.getElementsByTagName(\"body\").length&&(clearInterval(n),n=null,e())},50);return setTimeout(function(){n&&clearInterval(n)},1e3),1e3}}}},function(t,e,n){var a=n(7),o=n(2);t.exports=function(){return{run:function(){var t=o.getGlobalValue(\"aplus\");t.aplus_pubsub||(t.aplus_pubsub=a.create())}}}},function(t,e,n){var a=n(8);t.exports=a.extend({subscribeOnce:function(t,e){this.callable(e);var n,a=this;return this.subscribe.call(this,t,n=function(){a.unsubscribe.call(a,t,n);var o=Array.prototype.slice.call(arguments);e.apply(a,o)}),this}})},function(t,e,n){\"use strict\";var a=n(9),o=n(10),r=function(t){for(var e=t.length,n=new Array(e-1),a=1;a0){for(var a=0;a0)for(var i=0;i\",S=u&&u.createElement(\"div\"),A=[],T={isAliapp:!1,webkit:void 0,edge:void 0,trident:void 0,gecko:void 0,presto:void 0,chrome:void 0,safari:void 0,firefox:void 0,ie:void 0,ieMode:void 0,opera:void 0,mobile:void 0,core:void 0,shell:void 0,phantomjs:void 0,os:void 0,ipad:void 0,iphone:void 0,ipod:void 0,ios:void 0,android:void 0,nodejs:void 0,extraName:void 0,extraVersion:void 0};if(S&&S.getElementsByTagName&&(S.innerHTML=E.replace(y,\"\"),A=S.getElementsByTagName(\"s\")),A.length>0){for(d(t,T),i=b[0],s=b[1];i<=s;i++)if(S.innerHTML=E.replace(y,i),A.length>0){T[v=\"ie\"]=i;break}!T.ie&&(r=_(t))&&(T[v=\"ie\"]=r)}else((o=t.match(/AppleWebKit\\/*\\s*([\\d.]*)/i))||(o=t.match(/Safari\\/([\\d.]*)/)))&&o[1]?(T[h=\"webkit\"]=g(o[1]),(o=t.match(/OPR\\/(\\d+\\.\\d+)/))&&o[1]?T[v=\"opera\"]=g(o[1]):(o=t.match(/Chrome\\/([\\d.]*)/))&&o[1]?T[v=\"chrome\"]=g(o[1]):(o=t.match(/\\/([\\d.]*) Safari/))&&o[1]?T[v=\"safari\"]=g(o[1]):T.safari=T.webkit,(o=t.match(/Edge\\/([\\d.]*)/))&&o[1]&&(h=v=\"edge\",T[h]=g(o[1])),/ Mobile\\//.test(t)&&t.match(/iPad|iPod|iPhone/)?(T.mobile=\"apple\",o=t.match(/OS ([^\\s]*)/),o&&o[1]&&(T.ios=g(o[1].replace(\"_\",\".\"))),a=\"ios\",o=t.match(/iPad|iPod|iPhone/),o&&o[0]&&(T[o[0].toLowerCase()]=T.ios)):/ Android/i.test(t)?(/Mobile/.test(t)&&(a=T.mobile=\"android\"),o=t.match(/Android ([^\\s]*);/),o&&o[1]&&(T.android=g(o[1]))):(o=t.match(/NokiaN[^\\/]*|Android \\d\\.\\d|webOS\\/\\d\\.\\d/))&&(T.mobile=o[0].toLowerCase()),(o=t.match(/PhantomJS\\/([^\\s]*)/))&&o[1]&&(T.phantomjs=g(o[1]))):(o=t.match(/Presto\\/([\\d.]*)/))&&o[1]?(T[h=\"presto\"]=g(o[1]),(o=t.match(/Opera\\/([\\d.]*)/))&&o[1]&&(T[v=\"opera\"]=g(o[1]),(o=t.match(/Opera\\/.* Version\\/([\\d.]*)/))&&o[1]&&(T[v]=g(o[1])),(o=t.match(/Opera Mini[^;]*/))&&o?T.mobile=o[0].toLowerCase():(o=t.match(/Opera Mobi[^;]*/))&&o&&(T.mobile=o[0]))):(r=_(t))?(T[v=\"ie\"]=r,d(t,T)):(o=t.match(/Gecko/))&&(T[h=\"gecko\"]=.1,(o=t.match(/rv:([\\d.]*)/))&&o[1]&&(T[h]=g(o[1]),/Mobile|Tablet/.test(t)&&(T.mobile=\"firefox\")),(o=t.match(/Firefox\\/([\\d.]*)/))&&o[1]&&(T[v=\"firefox\"]=g(o[1])));if(!T[v]){var P=t.match(/Ali\\w+\\(\\w+\\/(\\d+\\.)+\\d+\\)/);if(P){T.isAliapp=!0;var I=P[0],w=\"\",M=\"\",x=I.match(/(\\d+\\.)+\\d+/);x&&(w=x[0],M=I.replace(\"/\"+w,\"\").replace(/\\(|\\)/g,\"\")),T[v=M]=w}}a||(a=e());var C,L,O;if(!n(\"type\",\"application/vnd.chromium.remoting-viewer\")){C=\"scoped\"in u.createElement(\"style\"),O=\"v8Locale\"in c;try{L=c.external||void 0}catch(t){}if(o=t.match(/360SE/))l=\"360\";else if((o=t.match(/SE\\s([\\d.]*)/))||L&&\"SEVersion\"in L)l=\"sougou\",f=g(o[1])||.1;else if((o=t.match(/Maxthon(?:\\/)+([\\d.]*)/))&&L){l=\"maxthon\";try{f=g(L.max_version||o[1])}catch(t){f=.1}}else C&&O?l=\"360se\":C||O||!/Gecko\\)\\s+Chrome/.test(p)||T.opera||T.edge||(l=\"360ee\")}(o=t.match(/TencentTraveler\\s([\\d.]*)|QQBrowser\\/([\\d.]*)/))?(l=\"tt\",f=g(o[2])||.1):(o=t.match(/LBBROWSER/))||L&&\"LiebaoGetVersion\"in L?l=\"liebao\":(o=t.match(/TheWorld/))?(l=\"theworld\",f=3):(o=t.match(/TaoBrowser\\/([\\d.]*)/))?(l=\"taobao\",f=g(o[1])||.1):(o=t.match(/UCBrowser\\/([\\d.]*)/))&&(l=\"uc\",f=g(o[1])||.1),T.os=a,T.core=T.core||h,T.shell=v,T.ieMode=T.ie&&u.documentMode||T.ie,T.extraName=l,T.extraVersion=f;var U=c.screen.width,k=c.screen.height;return T.resolution=U+\"x\"+k,T}function o(t){function e(t){return Object.prototype.toString.call(t)}function n(t,n,a){if(\"[object Function]\"==e(n)&&(n=n(a)),!n)return null;var o={name:t,version:\"\"},r=e(n);if(n===!0)return o;if(\"[object String]\"===r){if(a.indexOf(n)!==-1)return o}else if(n.exec){var i=n.exec(a);if(i)return i.length>=2&&i[1]?o.version=i[1].replace(/_/g,\".\"):o.version=\"\",o}}var a={name:\"other\",version:\"\"};t=(t||\"\").toLowerCase();for(var o=[[\"nokia\",function(t){return t.indexOf(\"nokia \")!==-1?/\\bnokia ([0-9]+)?/:/\\bnokia([a-z0-9]+)?/}],[\"samsung\",function(t){return t.indexOf(\"samsung\")!==-1?/\\bsamsung(?:[ \\-](?:sgh|gt|sm))?-([a-z0-9]+)/:/\\b(?:sgh|sch|gt|sm)-([a-z0-9]+)/}],[\"wp\",function(t){return t.indexOf(\"windows phone \")!==-1||t.indexOf(\"xblwp\")!==-1||t.indexOf(\"zunewp\")!==-1||t.indexOf(\"windows ce\")!==-1}],[\"pc\",\"windows\"],[\"ipad\",\"ipad\"],[\"ipod\",\"ipod\"],[\"iphone\",/\\biphone\\b|\\biph(\\d)/],[\"mac\",\"macintosh\"],[\"mi\",/\\bmi[ \\-]?([a-z0-9 ]+(?= build|\\)))/],[\"hongmi\",/\\bhm[ \\-]?([a-z0-9]+)/],[\"aliyun\",/\\baliyunos\\b(?:[\\-](\\d+))?/],[\"meizu\",function(t){return t.indexOf(\"meizu\")>=0?/\\bmeizu[\\/ ]([a-z0-9]+)\\b/:/\\bm([0-9x]{1,3})\\b/}],[\"nexus\",/\\bnexus ([0-9s.]+)/],[\"huawei\",function(t){var e=/\\bmediapad (.+?)(?= build\\/huaweimediapad\\b)/;return t.indexOf(\"huawei-huawei\")!==-1?/\\bhuawei\\-huawei\\-([a-z0-9\\-]+)/:e.test(t)?e:/\\bhuawei[ _\\-]?([a-z0-9]+)/}],[\"lenovo\",function(t){return t.indexOf(\"lenovo-lenovo\")!==-1?/\\blenovo\\-lenovo[ \\-]([a-z0-9]+)/:/\\blenovo[ \\-]?([a-z0-9]+)/}],[\"zte\",function(t){return/\\bzte\\-[tu]/.test(t)?/\\bzte-[tu][ _\\-]?([a-su-z0-9\\+]+)/:/\\bzte[ _\\-]?([a-su-z0-9\\+]+)/}],[\"vivo\",/\\bvivo(?: ([a-z0-9]+))?/],[\"htc\",function(t){return/\\bhtc[a-z0-9 _\\-]+(?= build\\b)/.test(t)?/\\bhtc[ _\\-]?([a-z0-9 ]+(?= build))/:/\\bhtc[ _\\-]?([a-z0-9 ]+)/}],[\"oppo\",/\\boppo[_]([a-z0-9]+)/],[\"konka\",/\\bkonka[_\\-]([a-z0-9]+)/],[\"sonyericsson\",/\\bmt([a-z0-9]+)/],[\"coolpad\",/\\bcoolpad[_ ]?([a-z0-9]+)/],[\"lg\",/\\blg[\\-]([a-z0-9]+)/],[\"android\",/\\bandroid\\b|\\badr\\b/],[\"blackberry\",function(t){return t.indexOf(\"blackberry\")>=0?/\\bblackberry\\s?(\\d+)/:\"bb10\"}]],r=0;rc.length?u:c,a=decodeURIComponent(a)}else n=e.match(o),a=n&&2===n.length?n[1]:\"\"}catch(t){}finally{return a}}function o(t,e){var n,a,o,r,i,s=e||location.href,c=\"&\",l=[];return u(t,function(t,e){new RegExp(t+\"=\").test(s)||l.push(t+\"=\"+e)}),0===l.length?s:(s.indexOf(\"#\")!==-1&&(o=s.split(\"#\"),s=o.shift(),a=o.join(\"#\")),r=s.split(\"?\"),i=r.length-1,o=r[0].split(\"//\"),o=o[o.length-1].split(\"/\"),i>0&&(n=r.pop(),s=r.join(\"?\")),n&&i>1&&n.indexOf(\"&\")==-1&&n.indexOf(\"%\")!==-1&&(c=\"%26\"),s=s+\"?\"+l.join(\"&\")+(n?c+n:\"\")+(a?\"#\"+a:\"\"))}function r(t){var e=s(location.hash)+\"\";c.pushIntoGoldlogQueue(\"aplus.on\",[window,\"hashchange\",function(){e!==s(location.hash)&&(e=s(location.hash)+\"\",t&&\"function\"==typeof t&&t(e,p))}])}function i(t){function e(e){var a=\"\";if(e){a=e&&e.arguments&&e.arguments.length>2&&e.arguments[2];var o=/^http|https/.test(a)?a:location.protocol+\"//\"+location.host+a;location.href!==o&&setTimeout(function(){t&&\"function\"==typeof t&&t(a,f)},0)}else a=location.pathname+location.search,a!==n&&setTimeout(function(){t&&\"function\"==typeof t&&t(a,f)},0);n=a}var n=location.pathname+location.search;if(history.pushState&&window.addEventListener){c.pushIntoGoldlogQueue(\"aplus.on\",[window,\"pushState\",function(t){e(t)}]),c.pushIntoGoldlogQueue(\"aplus.on\",[window,\"popstate\",function(){e()}]);var a=l.getMetaCnt(\"aplus-track-replacestate\")||aplus.getMetaInfo&&aplus.getMetaInfo(\"aplus-track-replacestate\");a&&c.pushIntoGoldlogQueue(\"aplus.on\",[window,\"replaceState\",function(t){e(t)}])}}function s(t){var e=\"\";return t&&(e=t.indexOf(\"?\")!=-1?t.split(\"?\")[0]:t),e}var u=n(18);e.addParamsIntoUrl=o,e.getParamFromUrl=a,e.getSPMFromUrl=function(t){return a(\"spm\",t)},e.getQueryFromUrl=function(){function t(t){for(var e=decodeURIComponent(t),n=e.indexOf(\"?\")+1,a=e.substring(n),o=Object.create(null),r=a.split(\"&\"),i=0;i-1)try{A[e]=JSON.parse(n)}catch(t){g.logger({msg:\"the content of meta<\"+e+\"> is invalid json string\"})}if(e===T)try{u=A[e]=JSON.parse(h.getMetaCnt(e))}catch(t){}}}),d(P,function(t){A[t]=h.getMetaCnt(t)}),A.spm_protocol=o(t),u&&(A=p.assign(A,u));var e,n,i=[\"aplus-rate-ahot\"],s=i.length;for(e=0;e0){var u=o.slice(0,r),c=o.slice(r+1,s)||\"\";e[u]=c}else e[i[0]]=\"\"}return e};var a=\"::-plain-::\";e.s_plain_obj=a,e.arr2param=n,e.obj2param=function(t,e){var n,o,r,i=[];for(n in t)n&&t.hasOwnProperty(n)&&(\"object\"==typeof t[n]?(o=\"\"+this.obj2param(t[n]),r=o):(o=\"\"+t[n],r=n+\"=\"+o),e?i.push(r):i.push(0===n.indexOf(a)?o:r));return i.join(\"&\")},e.encodeGokeyValue=function(t){return t}},function(t,e,n){\"use strict\";e.assign=n(13),e.makeCacheNum=function(){return Math.floor(268435456*Math.random()).toString(16)},e.isStartWith=function(t,e){return 0===t.indexOf(e)},e.isEndWith=function(t,e){if(String.prototype.endsWith)return t.endsWith(e);var n=t.length,a=e.length;return n>=a&&t.substring(n-a)===e},e.any=function(t,e){var n,a=t.length;for(n=0;n-1};var a=function(t){var e,n=t.constructor===Array?[]:{};if(\"object\"==typeof t){if(JSON&&JSON.parse)e=JSON.stringify(t),n=JSON.parse(e);else for(var o in t)n[o]=\"object\"==typeof t[o]?a(t[o]):t[o];return n}};e.cloneDeep=a;var o=function(){for(var t,e=/[?&]([^=#]+)=([^&#]*)/g,n=window.location.href,a={};t=e.exec(n);)a[t[1]]=t[2];return a};e.getUrlParams=o;var r=function(t){if(!t)return!0;for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0};e.isEmptyObject=r},function(t,e,n){\"use strict\";var a=n(30),o=n(31),r=n(2),i=n(28),s=n(32),u=n(33);t.exports={tryToDecodeURIComponent:function(t,e){var n=e||\"\";if(t)try{n=decodeURIComponent(t)}catch(t){}return n},parseSemicolonContent:function(t,e,n){e=e||{};var o,r,i=t.split(\";\"),s=i.length;for(o=0;o1&&e===r[0]?r[1]:\"\":r.length>1?r[1]:\"\"}return decodeURIComponent(n)}return\"\"},setLsCna:function(t,e,n){n&&o.set&&o.test()&&o.set(t,e+\"_\"+encodeURIComponent(n))},getLsImpv:function(t,e){if(o.get&&o.test()){var n=\"\",a=o.get(t);if(a){var r=a.split(\"||\")||[];n=e?r.length>1&&e===r[0]?r[1]:\"\":r.length>1?r[1]:\"\"}return decodeURIComponent(n)}return\"\"},setLsImpv:function(t,e,n){n&&o.set&&o.test()&&o.set(t,e+\"||\"+encodeURIComponent(n))},setLsRemoteCfg:function(t,e,n){if(n&&o.set&&o.test()){var a=i.cloneDeep(n);\"object\"==typeof a&&(a=JSON.stringify(a)),o.set(t,e+\"||\"+encodeURIComponent(a))}},getLsRemoteCfg:function(t,e){if(o.get&&o.test()){var n=\"\",a=o.get(t);if(a){var r=a.split(\"||\")||[];n=e?r.length>1&&e===r[0]?r[1]:\"\":r.length>1?r[1]:\"\"}return s.parse(decodeURIComponent(n))}return\"\"},getUrl:function(t){var e=r.getGlobalValue(\"aplus\"),a=n(3),o=t||\"//log.mmstat.com/eg.js\";try{var i=e.getMetaInfo(a.APLUS_PV_DOMAIN);i=u.fixDomain(i).replace(/\\/\\w+.gif$/,\"\"),o=i+\"/eg.js\"}catch(t){}return o}}},function(t,e){\"use strict\";function n(t){return\"string\"==typeof t?t.replace(/^\\s+|\\s+$/g,\"\"):\"\"}e.trim=n},function(t,e){\"use strict\";t.exports={set:function(t,e){try{return localStorage.setItem(t,e),!0}catch(t){return!1}},get:function(t){try{return localStorage.getItem(t)}catch(t){return\"\"}},test:function(){var t=\"grey_test_key\";try{return localStorage.setItem(t,1),localStorage.removeItem(t),!0}catch(t){return!1}},remove:function(t){localStorage.removeItem(t)}}},function(t,e){e.stringfy=function(t){if(t)try{return JSON.stringify(t)}catch(t){}return\"\"},e.parse=function(t){if(t)try{return JSON.parse(t)}catch(t){}return null},e.parseToArray=function(t){if(t)try{return JSON.parse(t)}catch(t){}return[]}},function(t,e,n){\"use strict\";function a(t){var e,n,a,r=[],i=t.length;for(a=0;a0&&r(t.eventIds,function(n){e.push({eventId:n,samplingRate:t.samplingRate})})}),e}},function(t,e,n){\"use strict\";var a=n(35),o=\"[APLUS] -- \";e.logger=function(t){t||(t={});var e=t.level||\"warn\";console&&console[e]&&console[e](o+t.msg)},e.log=function(){var t=a&&a.getMetaInfo(\"debug\");t&&console.log.apply(console,[o].concat(Array.prototype.slice.apply(arguments)))},e.debugLog=function(t){var e=n(2).getGlobalValue(\"aplus\");e&&e.aplusDebug&&this.logger(t)}},function(t,e,n){\"use strict\";function a(){return i=g||{},g}function o(){return i||a()}function r(t,e){return i||(i={}),\"aplus-inject-record-gokey\"===t&&(m(\"the API aplus-inject-record-gokey is deprecated, if needed please concat APLUS SDK supporter\"),p.record(\"/inject.record.gokey\",\"OTHER\",\"\")),i[t]=e,!0}var i,s=n(36),u=n(27),c=n(2),l=n(3),p=c.getGlobalValue(l.APLUS),f=n(37),g={},d=\"object\",_=\"string\";e.getInfo=a,e.qGet=o,e.setMetaInfo=r;var m=function(t){try{console&&console.error(t)}catch(t){}};e.catchException=m;var h=function(t){return i||(i={}),i[t]||\"\"};e.getMetaInfo=h;var v=function(t){var e=h(\"aplus-inject-record-gokey\");return\"function\"==typeof e?e(t):t.gokey};e.getUserInjectGokey=v;var b=function(t,e){if(t&&e){var n,a=function(n){try{var a=typeof e===_?JSON.parse(e):e;i(t,Object.assign({},n,a))}catch(t){}},o=function(n){try{var a=typeof e===_?JSON.parse(e):e;i(t,n.concat(a))}catch(t){}},r=function(t){t.constructor===Array?o(t):a(t)},i=function(t,e){y(t,e,{from:\"appendMetaInfo\"})},s=h(t);if(\"aplus-exinfo\"===t&&(i(t,Object.assign({},s,u.param2obj(e))),n=!0),\"aplus-page-properties\"===t){var c=e;if(s)for(var l in s)e[l]?c[l]=Object.assign({},s[l],e[l]):c[l]=s[l];i(t,c),n=!0}if(s)if(typeof s===d)r(s),n=!0;else try{var p=JSON.parse(s);typeof p===d&&(r(p),n=!0)}catch(t){}n||i(t,e)}};e.appendMetaInfo=b;var y=function(t,e){var n,a,i=\"OVERWRITE\",u=i;if(\"object\"==typeof t?(n=t.metaName,a=t.metaValue,u=t.mode||i):(n=t,a=e),u!==i)return b(n,a);if(r(n,a)){var g=c.getGoldlogVal(\"_$\")||{};g.meta_info=o();var d=c.setGoldlogVal(\"_$\",g),_=[\"setMetaInfo\",n,a,{}];return s.doPubMsg(_),s.doCachePubs(_),p.globalConfig&&!p.globalConfig.isAli&&(n===l._ANONY_ID||n===l._DEV_ID||n===l._USER_ID?f.setStorageSync(n,a?a:\"\"):(!f.getStorageSync(l._ANONY_ID)&&g.meta_info[l._ANONY_ID]&&f.setStorageSync(l._ANONY_ID,g.meta_info[l._ANONY_ID]),!f.getStorageSync(l._DEV_ID)&&g.meta_info[l._DEV_ID]&&f.setStorageSync(l._DEV_ID,g.meta_info[l._DEV_ID]),!f.getStorageSync(l._USER_ID)&&g.meta_info[l._USER_ID]&&f.setStorageSync(l._USER_ID,g.meta_info[l._USER_ID]))),d}};e._setMetaInfo=y},function(t,e,n){\"use strict\";var a=n(2),o=\"function\",r=function(){var t=a.getGlobalValue(\"aplus\"),e=t.aplus_pubsub||{},n=typeof e.publish===o;return n?e:\"\"};e.doPubMsg=function(t){var e=r();e&&typeof e.publish===o&&e.publish.apply(e,t)},e.doCachePubs=function(t){var e=r();e&&typeof e.cachePubs===o&&e.cachePubs.apply(e,t)},e.doSubMsg=function(t,e){var n=r();n&&typeof n.subscribe===o&&n.subscribe(t,e)}},function(t,e,n){\"use strict\";function a(){if(\"boolean\"==typeof d)return d;var t=!1;try{var e=navigator?navigator.userAgent||navigator.swuserAgent:\"\";if(t=!!/AliApp/i.test(e),/(AliApp\\((AP|AMAP|UC|QUARK))|DingTalkIDE/i.test(e)&&(t=!1),/AlipayIDE Taobao/.test(e)&&(t=!0),t){var n=_().ctx;s(n.canIUse)&&(t=!!n.canIUse(\"callUserTrack\"))}}catch(t){}return d=t,t}function o(){return\"boolean\"==typeof d?!!d:a()}function r(t){t=f(t)?t:{};var e=t[\"Set-Cookie\"]||t[\"set-cookie\"]||\"\",n=g(e)?e:e.split(\",\"),a={};return l(n,function(t){var e=(t||\"\").split(\";\");l(e,function(t){if(/[a-z]+=/.test(t)&&!/(path|domain|expires)=/.test(t)){var e=t.split(\"=\"),n=e[0].trim(),o=e[1];a[n]=o}})}),a}function i(t){var e=[];return l(t,function(t,n){e.push(t+\"=\"+n)}),e.join(\"; \")}var s=n(9),u=n(2),c=n(33),l=n(18),p=n(3),f=n(19),g=n(38);e.getCurrentPage=function(){var t=getCurrentPages();return t[t.length-1]||{}},e.getReferrerPage=function(){var t=getCurrentPages();return t[t.length-2]||{}};var d;e.resetIsTB=function(t){d=t},e.initIsTB=a;var _=function(){try{return{ctx:dd,platType:\"dd\",sdkType:\"ddmp\",logDomain:\"/ddm_logs\"}}catch(t){try{return{ctx:my,platType:my&&my.tb?\"taobao\":\"my\",sdkType:my&&my.tb?\"taobaomp\":\"mymp\",logDomain:\"/alipaym_logs\"}}catch(t){try{return{ctx:tt,platType:\"tt\",sdkType:\"ttmp\",logDomain:\"/bytedancem_logs\"}}catch(t){try{return{ctx:swan,platType:\"bd\",sdkType:\"bdmp\",logDomain:\"/baidum_logs\"}}catch(t){try{return{ctx:xhs,platType:\"xhs\",sdkType:\"xhsmp\",logDomain:\"/xhsm_logs\"}}catch(t){try{return{ctx:wx,platType:\"wx\",sdkType:\"wxmp\",logDomain:\"/wxm_logs\"}}catch(t){return{ctx:{},platType:\"UNKNOW\",sdkType:\"UNKNOW\"}}}}}}}};e.isTB=o,e.getPlatformType=function(){return _().platType},e.getSdkType=function(){return _().sdkType},e.getContext=function(){return _().ctx},e.getLogDomain=function(){return _().logDomain};var m=\"httpRequest\",h=\"request\",v=function(){};e.request=function(t,e,n,a){var o=u.getGlobalValue(\"aplus\"),l=_().ctx;s(a)||(a=v),s(n)||(n=v);var g=e.requestMethodName||h,d=l[g];s(d)||g===h||(g=h,d=l[g]),s(d)||g===m||(g=m,d=l[g]);var b,y=e&&e.dataType?e.dataType:\"base64\",E=e&&e.timeout?e.timeout:3e3,S=e.method||\"GET\",A=o.getMetaInfo(p.APLUS_MINI_REQUEST_TIMEOUT);t=c.fixDomain(t);var T;if(s(d)){var P={url:t,method:S,header:{},dataType:y,timeout:A||E,success:function(t){var e=t.header||t.headers||{},a=r(e);o.appendMetaInfo(p.APLUS_COOKIES,a),b||(b=!0,n(t))},fail:function(t){b||(b=!0,a({failure:!0,data:t}))}},I=o.getMetaInfo(p.APLUS_COOKIES);if(f(I)){var w=i(I);w&&(P.header.cookie=w)}\"POST\"===S&&e.data&&(P.data=e.data);var M=o.getMetaInfo(\"aplus-request-extinfo\");\"object\"==typeof M&&(P._extInfo=M),d(P)}else b||(b=!0,a({failure:!0,data:T}));setTimeout(function(){b||(b=!0,T='aplus log request\"'+t+' timeout\", time spend'+E+\"ms\",console&&console.warn(T),a({failure:!0,data:T}))},E)},e.setStorageSync=function(t,e){try{var n=_().platType,a=_().ctx;\"my\"===n||\"taobao\"===n?a.setStorageSync({key:t,data:e}):a.setStorageSync(t,e)}catch(t){}},e.getStorageSync=function(t){try{var e=_().platType,n=_().ctx;return\"my\"===e||\"taobao\"===e?n.getStorageSync({key:t}).data:n.getStorageSync(t)}catch(t){}}},function(t,e){\"use strict\";t.exports=function(t){return Array.isArray?Array.isArray(t):\"[object Array]\"===Object.prototype.toString.call(t)}},function(t,e,n){\"use strict\";function a(t){if(!document)return\"\";var e=(document.cookie||\"\").match(new RegExp(\"(?:^|;)\\\\s*\"+t+\"=([^;]+)\"));return e?e[1]:\"\"}function o(t){var e=new Date,n=\"\";if(\"session\"===t.expires);else if(t.expires&&(\"number\"==typeof t.expires||t.expires.toUTCString))\"number\"==typeof t.expires?e.setTime(e.getTime()+24*t.expires*60*60*1e3):e=t.expires,n=\"expires=\"+e.toUTCString();else{var a=20;c.indexof([\"v.youku.com\",\"www.youku.com\",\"player.youku.com\"],location.hostname)>-1&&(a=1),e.setTime(e.getTime()+365*a*24*60*60*1e3),n=\"expires=\"+e.toUTCString()}return n}function r(t,e,n){if(document){n||(n={}),e+=\";\"+(n.expires||o(n)),e+=\"; path=\"+(n.path?n.path:\"/\"),e+=\"; domain=\"+n.domain,document.cookie=t+\"=\"+e;var r=0;try{var i=navigator.userAgent.match(/Chrome\\/\\d+/);i&&i[0]&&(r=i[0].split(\"/\")[1],r&&(r=parseInt(r)))}catch(t){}return n.SameSite&&r>=80&&(e+=\"; SameSite=\"+n.SameSite,e+=\"; Secure\",document.cookie=t+\"=\"+e),a(t)}}function i(t,e,n){try{if(!document)return\"\";if(n||(n={}),n.domain)r(t,e,n);else for(var a=u.getDomains(),o=0;o0&&e.indexOf(t)!==-1})}catch(o){for(var a=0;a0?u.param2obj(t.substring(0,l)):{};delete p[\"\"],i=u.obj2param(c.assign(p,o))+\"&\"+t.substring(l,t.length)}else i=u.obj2param(o)+\"&\"+n;return i}return a}catch(t){return a}}function r(){var t=aplus&&aplus._$?aplus._$:{},e=t.meta_info||{};return e[\"aplus-exparams\"]||\"\"}function i(){var t=l.getCurrentNode(),e=p.tryToGetAttribute(t,\"exparams\"),n=o(e,r())||\"\";return n&&n.replace(/&/g,\"&\").replace(/\\buser(i|I)d=/,\"uidaplus=\")}var s=n(18),u=n(27),c=n(28),l=n(44),p=n(23),f=n(41),g=n(20),d=n(3);e.mergeExparams=o,e.getExParams=i,e.getExparamsInfos=function(t,e){var n={},o=t||[\"uidaplus\",\"pc_i\",\"pu_i\"],r=i()||\"\";r=r.replace(/&aplus&/,\"&\");for(var s=a(r)||[],u=function(t){return f.indexof(o,t)>-1},c=0;c0&&c(s,function(t){t&&\"aplus-setting\"===t.id&&r.removeChild(t)})}r.appendChild(a)},e.isTouch=function(){return\"ontouchend\"in document.createElement(\"div\")},e.isEditableElement=function(t){for(;t&&\"HTML\"!==t.tagName;){var e=s.tryToGetAttribute(t,\"contenteditable\");if(\"true\"===e)return!0;t=t.parentNode}return!1},e.elementContains=function(t,e){if(t.contains)return t.contains(e)&&t!==e;if(t.compareDocumentPosition)return!!(16&t.compareDocumentPosition(e));for(;e=e.parentNode;)if(e===t)return!0;return!1}},function(t,e,n){\"use strict\";function a(t){var e=o.APLUS_CONFIG,n=window[e]||(window[e]={});return r(t)?n[t]:n}var o=n(3),r=n(46);e.getConfig=a,e.getPid=function(){return a(\"pid\")},e.getUserId=function(){var t=a(),e=t.userProfile||{};return e.uidaplus||t.uidaplus||t.userId||t.userid},e.getUserNick=function(){var t=a(),e=t.userProfile||{};return e.nick||t.nick||t.userNick||t.usernick}},function(t,e){function n(t){return\"[object String]\"===Object.prototype.toString.call(t)}t.exports=n},function(t,e){t.exports=function(t){return\"undefined\"==typeof t}},function(t,e,n){\"use strict\";var a=n(25).nameStorage;e.getRefer=function(t){return document.referrer||a.getItem(t.REFERRER)||\"\"}},function(t,e,n){\"use strict\";t.exports=function(){return{run:function(){n(50)()}}}},function(t,e,n){\"use strict\";function a(){function t(t){var e=o.getGlobalValue(\"aplus_queue\"),n={path:t};e.push({action:\"aplus.aplus_pubsub.publish\",arguments:[i.APLUS_PAGE_CHANGE,n]})}var e=s._$||{},n=e.meta_info,a=n[i.APLUS_SPA_TYPE];\"history\"===a?r.watchHistoryChange(t):\"hash\"===a&&r.watchHashChange(t)}var o=n(2),r=n(17),i=n(3),s=o.getGlobalValue(\"aplus\");t.exports=function(){a()}},function(t,e,n){\"use strict\";t.exports=function(){return{run:function(){n(52)()}}}},function(t,e,n){\"use strict\";function a(t){var e,n=i.getGlobalValue(\"aplus\"),a=!1,f=function(){a||(o.wrap(function(){e=p.getAutoClkConfig();var t;u(e)&&e.length>0&&(t=l.create({autoClkConfig:e}),t.init(),c.watch_clk()),n.aplus_pubsub.subscribe(\"setMetaInfo\",function(n,a,o){if(\"aplus-auto-clk\"===n){var r=p.getAutoClkConfig(a);if(JSON.stringify(r)===JSON.stringify(e))return;e=r,c.clear(),o||(o={from:\"setMetaInfo\"}),t&&t.clear(o),t&&t.clearDom({autoClkConfig:e},o),a&&(t?t.reset({autoClkConfig:e},o):(t=l.create({autoClkConfig:e}),t.init()),c.watch_clk())}})},\"do_init\"),a=!0)};setTimeout(function(){a||s().w(\"aplus_ac_init failed! please check whether aplusJs is loaded correctly!\")},5e3);var g=n._$||{},d=window.g_SPM||{};\"complete\"===g.status&&d.spm&&f();var _=i.getGlobalValue(\"aplus_queue\");_.push({action:r.SUBSCRIBE,arguments:[\"aplusReady\",function(t){\"complete\"===t&&f(\"aplusReady\")}]}),\"function\"==typeof t&&t()}var o=n(53),r=n(3),i=n(2),s=n(20),u=n(38),c=n(54),l=n(67),p=n(64);t.exports=function(){var t=i.getGlobalValue(\"aplus\");t._aplus_ac||(t._aplus_ac={status:\"init\",elementSelectorSizeMap:{}},a(function(){t._aplus_ac.status=\"complete\"}))}},function(t,e,n){\"use strict\";var a=n(2),o=function(t,e){var n=a.getGlobalValue(\"aplus_queue\",[]);n.push({action:\"aplus._aplus_cplugin_track_deb.monitor\",arguments:[{key:\"APLUS_PLUGIN_DEBUG\",title:\"aplus_core\",msg:[\"_error_:methodName=\"+e+\",params=\"+JSON.stringify(t)],type:\"updateMsg\",description:e||\"aplus_core\"}]})},r=function(t,e,n){var o=a.getGlobalValue(\"aplus_queue\",[]);o.push({action:[\"aplus\",\"_aplus_cplugin_m\",e].join(\".\"),arguments:[t,n]})};e.do_tracker_jserror=function(t,e){var n=\"do_tracker_jserror\";r(t,n,e),o(t,n);var i=a.getGlobalValue(\"aplus\");i&&i.aplusDebug&&console&&console.warn(t)},e.wrap=function(t){if(\"function\"==typeof t)try{t()}catch(t){o({msg:t.message||t},\"exception\")}finally{}}},function(t,e,n){\"use strict\";var a=n(41),o=n(23),r=n(44),i=n(2),s=n(28),u=n(55),c=n(18),l=n(9),p=n(38),f=n(56),g=n(58),d=n(64),_=window,m=[\"iframe\",\"html\",\"body\",\"head\"],h=d.DATA_APLUS_AC_KEY,v=function(t){var e=[],n=t?o.tryToGetAttribute(t,h):\"\";if(n){var a=i.getGoldlogVal(\"_aplus_ac\")||{},r=a._acHashMap||{};u(r,function(t,a){c(a,function(t){t.hash_value===n&&e.push(t.clkConfig)})})}return{clkConfigs:e,el:t}},b=function(t){for(var e=[];t&&a.indexof(m,t.tagName?t.tagName.toLowerCase():\"html\")===-1;){var n=v(t),o=!1;if(n&&n.clkConfigs&&n.clkConfigs.length>0&&(e.push(n),o=a.some(n.clkConfigs,function(t){return!t.enableEventBubble})),o)break;t=t.parentNode}return e},y=function(t){t=t||_.event;var e=t.target||t.srcElement,n=b(e)||{};p(n)&&c(n,function(n){var a=n.clkConfigs;n&&a&&n.el&&c(a,function(a){var o=a;e=n.el;var r=g.canRecord({target:e,gmkey:\"CLK\",config:o});if(r){var i=aplus.getElementSPM(e,o.eltype),u=\"\",c=[],p={},f=g.fillPropsData(o,e,p);f=g.fillFilterData(o,e,p),f=g.fillSpmData(o,e,p),f=s.assign(f,g.getDataTrackerParams(e)),aplus.globalConfig.isUM&&o.customArgs&&(f=s.assign(f,o.customArgs));var _=d.getAutoClkUserFn();if(_){var m=g.autoUserFnHandler(_,e,o.elementSelector,o,t);if(\"object\"==typeof m)\"object\"==typeof m.userdata&&(f=s.assign(f,m.userdata)),m.spm&&(i=m.spm),m.scm&&(u=m.scm);else if(m===!1)return}c.push(\"spm=\"+i),c.push(\"scm=\"+u);for(var h in f)c.push(h+\"=\"+f[h]);c.push(\"_is_auto_clk=1\");var v=o.method||\"POST\",b=g.getDefaultLogkey({target:e,config:o});g.isAutoLogLogkey(b)&&l(o.getLogkey)&&(b=o.getLogkey(e,f),c.push(\"_is_auto_logkey=1\")),aplus_queue.push({action:\"aplus.record\",arguments:[b,\"CLK\",c.join(\"&\"),v]})}})})};e.watch_clk=function(){r.isTouch()?f.on(document,\"tap\",y):f.on(document,\"mousedown\",y)},e.clear=function(){r.isTouch()?f.un(document,\"tap\",y):f.un(document,\"mousedown\",y)}},function(t,e){\"use strict\";t.exports=function(t,e){if(Object&&Object.keys)for(var n=Object.keys(t),a=n.length,o=0;o10&&(a.status=\"panning\")}}function i(t){for(var e=0;e0)for(var n=0;n0?i[0].trim():\"\",u=i.length>1?i[1].trim():\"\",c=0;c0)for(var r=0;r0)};e.isPkgSize=C,e.filterExpConfigRequestCfg=function(t){var e=E.getDefaultRequestCfg()||{};try{var n=t||{};x(n.method)&&(e.method=n.method),C(n.pkgSize)&&(e.pkgSize=parseInt(n.pkgSize))}catch(t){s().w(t&&t.message)}return e};var L=function(t){var e=t.split(\"&\"),n={};return e.length>0&&l(e,function(t){var e=t.split(\"=\");2===e.length&&(n[e[0]]=f.tryToEncodeURIComponent(e[1]))}),n};e.autoUserFnHandler=function(t,e,n,a,o){var r={userdata:{},spm:\"\",scm:\"\"};try{var i=t(e,n,a,o);i&&(\"string\"==typeof i?r.userdata=L(i):\"object\"==typeof i&&\"object\"==typeof i.userdata&&(p(i.userdata,function(t,e){A.globalConfig&&A.globalConfig.isUM?r.userdata[t]=e:r.userdata[t]=f.tryToEncodeURIComponent(e)}),r.spm=i.spm,r.scm=i.scm))}catch(t){s().w(t)}return r};var O=function(t,e){var n=\"\";if(t&&e){var a=[];d(e.filter)&&a.push(t.getAttribute(e.filter));var o=e.props||[];l(o,function(e){d(e)?a.push(t.getAttribute(e)):m(e)&&e.source===S.ATTRIBUTES&&d(e.from)&&a.push(t.getAttribute(e.from))}),n=a.join(\"_\")}return n},U=function(t){var e=t.getAttribute(\"data-spm-anchor-id\");if(e){var n=e.split(\".\");return{a:n[0],b:n[1],c:n[2],d:n[3],e:n[4]}}};e.getSpmObj=U,e.getElementHash=function(t,e){var n={};\"aplus_webvt\"!==t.source&&(n=U(e.ele)||(window.g_SPM?window.g_SPM.getParam(e.ele):{}));var a=\"\",o=\"x\"+e.index;if(n.a&&n.b&&n.c&&n.d){var r=/^i/.test(n.d)?o:n.d;a=n.a+\"_\"+n.b+\"_\"+n.c+\"_\"+r,n.e&&(a+=\"_\"+n.e)}else a=o,A.pvid&&(a+=A.pvid);e.ignore_attr||(a+=t.logkey+\"_\",a+=t.elementSelector+\"_\",a+=O(e.ele,t));var i=o+\"_\"+u.hash(a);return i},e.filterUnloadAttr=function(t){return t&&(t=t.replace(/(href|style|data-spm-anchor-id)=[\\'|\\\"][\\w|\\W|\\.]+[\\'|\\\"]/,\"\"),t=t.replace(/\\s\\>/g,\">\"),t=t.replace(new RegExp(E.DATA_APLUS_AE_KEY+\"=[\\\\'|\\\\\\\"]\\\\w+[\\\\'|\\\\\\\"]\"),\"\"),t=t.replace(new RegExp(E.DATA_APLUS_AC_KEY+\"=[\\\\'|\\\\\\\"]\\\\w+[\\\\'|\\\\\\\"]\"),\"\")),t};var k=function(t,e){for(var n,a=0,o=t.length;a-1?u.splice(l,1):\"UPDATE\"===n&&(u=k(u,e)),s[t]=u,r._acHashMap=s,i.setGoldlogVal(o,r)}};e.updateExpHashMap=function(t,e,n){R(t,e,n,\"_aplus_auto_exp\")},e.updateClkHashMap=function(t,e,n){R(t,e,n,\"_aplus_ac\")},e.throttle=y,e.checkIsInHashMap=function(t){var e=i.getGoldlogVal(t.aplusKey)||{},n=e.hash_value||{},a=n[t.logkey]||{},o=a[t.hash_value];if(o>1)return!0;for(var r=e._acHashMap||{},s=r[t.logkey]||[],u=s.length,c=0;c=0;n--)a=t.charCodeAt(n),r^=(r<<5)+a+(r>>2);var i=(2147483647&r).toString(16);return i}},function(t,e){\"use strict\";t.exports=function(t){var e,n,a,o,r,i,s=document.getElementsByTagName(\"*\");for(e=[];t&&1==t.nodeType;t=t.parentNode)if(t.id){for(i=t.id,o=0,n=0;ne?(o&&(clearTimeout(o),o=null),u=l,s=t.apply(r,i),o||(r=i=null)):o||a.trailing===!1||(o=setTimeout(c,p)),s};return l.cancel=function(){clearTimeout(o),u=0,o=r=i=null},l}},function(t,e,n){\"use strict\";function a(t){return E&&E.getMetaInfo?E.getMetaInfo(t):p.getMetaCnt(t)}function o(){return\"on\"===a(\"aplus-auto-track-config-import\")}function r(t){for(var e=\"\",n=[\"alt\",\"title\",\"placeholder\",\"src\"],a=0;a-1?\"button\":r||n}else a=\"select\"===n?\"select\":n;return g([{key:\"feature\",value:a},{key:\"text\",value:o}],function(e){var n=e.key,a=e.value;!m(a)&&m(t[n])&&(t[n]=a)}),t.xpath=b(e),t}}})});var u=[];return g(s,function(e){var n=e.scope||[];n.indexOf(t)>-1&&u.push(e.config)}),E[a]=u,u}var u=n(2),c=n(41),l=n(23),p=n(22),f=n(20),g=n(18),d=n(38),_=n(46),m=n(65),h=n(3),v=n(59),b=n(60),y=n(66),E=u.getGlobalValue(\"aplus\");e.DATA_APLUS_AE_KEY=\"data-aplus-ae\",e.DATA_APLUS_AC_KEY=\"data-aplus-clk\",e.DATA_APLUS_SPM_ANCHOR_ID_KEY=\"data-spm-anchor-id\",e.DATA_APLUS_VT_ITEM_INDEX_KEY=\"data-aplus-vt-pos\",e.LOOP_TIME=1e3,e.getDefaultRequestCfg=function(){return{method:\"POST\",pkgSize:10}};var S=function(t){var e=t;try{var n=a(\"aplus-auto-exp-visible\");n&&(e=parseFloat(n)),e<=0&&(e=t)}catch(n){e=t}finally{return e}};e.AUTO_AT_VIEW_RATE=S(.3);var A=function(t){var e=t;try{var n=a(\"aplus-auto-exp-duration\"),o=parseInt(n);o+\"\"!=\"NaN\"&&(e=o)}catch(t){}finally{return e}};e.EXP_DURATION=A(300);var T=function(t,e){var n,o=[],r=[],i=[];try{n=e||a(t);var u=[];if(n&&\"string\"==typeof n)try{u=JSON.parse(n)}catch(t){u=JSON.parse(n.replace(/'/g,'\"'))}else\"object\"==typeof n&&n.constructor===Array&&(u=n);if(d(u)){var l=s(t);u=u.concat(l);for(var p=0;p=2?E+=\"[\"+v.shift()+'=\"'+decodeURIComponent(v.join(\"\"))+'\"]':1==v.length&&v[0]&&(E+=\"[\"+decodeURIComponent(v[0])+\"]\"),b&&(E+=b),g.elementSelector=E,c.indexof(i,E)>-1)throw new Error(\"meta \"+t+\" config error, tag_filter_cssSelector \"+E+\" repeated\");i.push(E),g.enableMultipleConfig?r.push(g):o.push(g)}}}catch(t){f().w(t)}finally{var S=[].concat(o,r);return S}};e.getAutoExpConfig=function(t){return T(\"aplus-auto-exp\",t)||[]},e.getAutoExpUserFn=function(){var t=a(\"aplus-auto-exp-userfn\");if(t){var e=window[t]||t;if(\"function\"==typeof e)return e}return null},e.isThrottleWatchDom=function(){var t=!1;try{t=\"throttle\"===a(\"aplus-auto-exp-watchdom\")}catch(t){}return t},e.getAutoClkConfig=function(t){return T(\"aplus-auto-clk\",t)||[]},e.getAutoClkUserFn=function(){var t=a(\"aplus-auto-clk-userfn\");if(t){var e=window[t]||t;if(\"function\"==typeof e)return e}return null}},function(t,e){\"use strict\";t.exports=function(t){return null===t||\"undefined\"==typeof t}},function(t,e,n){\"use strict\";var a=n(9);t.exports=function(t,e){if(t){var n=t.style||{};return a(window.getComputedStyle)&&(n=window.getComputedStyle(t)||{}),n[e]}}},function(t,e,n){\"use strict\";var a=n(10),o=n(53),r=n(20),i=n(56),s=n(58),u=n(64),c=window,l=document,p=a.extend({updateHashMapAndElementHashTag:function(t){var e=t.clkConfig,n=t.hash_value,a=t.element,o=t.isUpdateElementHashTag,r=e.logkey||\"\";if(!s.checkIsInHashMap({logkey:r,hash_value:n,aplusKey:\"_aplus_ac\"})){var i={clkConfig:e,hash_value:n,element:a,status:0,elementSelector:e.elementSelector};s.updateClkHashMap(r,i,\"ADD\"),o&&s.setRecordSuccess(i,u.DATA_APLUS_AC_KEY)}},eachElements:function(t,e){for(var n=this,a=0;a0)e.enableMultipleConfig&&n.updateHashMapAndElementHashTag({clkConfig:e,hash_value:r,element:o,isUpdateElementHashTag:!1});else{isNaN(parseInt(r))&&(r=aplus._aplus_ac.elementSelectorSizeMap[e.elementSelector]++,o.setAttribute(u.DATA_APLUS_AC_KEY,r)),!aplus.globalConfig.isAli&&e.spmB&&e.spmC&&e.spmD&&(o.setAttribute(u.DATA_APLUS_SPM_ANCHOR_ID_KEY,[e.spmB,e.spmC,e.spmD+\"_\"+(a+1)].join(\".\")),o.setAttribute(u.DATA_APLUS_VT_ITEM_INDEX_KEY,\"\"+(a+1)));var i=s.getElementHash(e,{ignore_attr:!1,index:r,ele:o});n.updateHashMapAndElementHashTag({clkConfig:e,hash_value:i,element:o,isUpdateElementHashTag:!0})}}},handler_dom_change:function(){s.clearInvalidElements(\"_aplus_ac\");for(var t=this,e=t.autoClkConfig||[],n=0;n0&&a(e),n.aplus_pubsub.subscribe(\"setMetaInfo\",function(t,n,r){if(\"aplus-auto-exp\"===t){m().w(\"aplus-auto-exp metaVaue change: \"+JSON.stringify(n));var i=l.getAutoExpConfig(n);if(JSON.stringify(i)===JSON.stringify(e))return;e=i,r||(r={from:\"setMetaInfo\"}),o(e,r,p),n&&e&&e.length>0&&a(e,r)}})},\"do_init\"),r=!0))};setTimeout(function(){r||m().w(\"aplus_auto_exp_init failed! please check whether aplusJs is loaded correctly!\")},5e3);var u=n._$||{},c=window.g_SPM||{};\"complete\"===u.status&&c.spm&&s();var _=d.getGlobalValue(\"aplus_queue\");_.push({action:g.SUBSCRIBE,arguments:[\"aplusReady\",function(t){\"complete\"===t&&s(\"aplusReady\")}]}),\"function\"==typeof t&&t()}var s,u,c,l,p,f=n(53),g=n(3),d=n(2),_=n(17),m=n(20);t.exports=function(){var t=d.getGlobalValue(\"aplus\");if(!t._aplus_auto_exp&&(t._aplus_auto_exp={tags:{},status:\"init\",exp_times:0,elementSelectorSizeMap:{}},r(),i(function(){t._aplus_auto_exp.status=\"complete\"}),t&&!t.globalConfig.isAli)){var e=d.getGlobalValue(\"aplus_queue\");e.push({action:g.SUBSCRIBE,arguments:[\"aplusReady\",function(e){if(\"complete\"===e)try{var n=t.getMetaInfo(g.APLUS_EXPOSURE_EVENT_CAN_REPEAT);n&&(_.watchHistoryChange(function(){var t=l.getAutoExpConfig()||[];o(t,{from:\"routeChange\"}),a(t,{from:\"routerChange\"})}),_.watchHashChange(function(){var t=l.getAutoExpConfig()||[];o(t,{from:\"routeChange\"}),a(t,{from:\"routerChange\"})}))}catch(t){}}]})}}},function(t,e,n){\"use strict\";var a=n(10),o=n(53),r=n(20),i=n(2),s=n(3),u=n(58),c=n(64),l=n(56),p=n(71),f=window,g=document,d=a.extend({hasExpEventSendTag:function(t){return!!(t&&t.indexOf(\"_\")>0)},eachElements:function(t,e){for(var n=e.logkey||\"\",a=0;a-1?[t.target]:\"childList\"!==t.type?[]:void 0},l=function(t,a){if(t&&t.length>0)for(var r=0;r0)for(var n=0;n=t.pLeftTop[0]&&e.x<=t.pRightBottom[0]&&e.y>=t.pLeftTop[1]&&e.y<=t.pRightBottom[1]},o=function(t,e){var n=0,o=a(t,e),r=a(t,{x:e.x+e.width,y:e.y}),i=a(t,{x:e.x,y:e.y+e.height}),s=a(t,{x:e.x+e.width,y:e.y+e.height}),u=function(){var t=0;return o&&s&&(t=e.size/e.size),t},c=function(){var n=0,a=0;return o&&r&&!i&&!s?(n=e.width,a=t.pLeftBottom[1]-e.y):!o&&r&&!i&&s?(n=t.pLeftTop[0]-e.x,a=e.y):!o&&!r&&i&&s?(n=e.width,a=e.height-Math.abs(t.pLeftTop[1]-e.y)):o&&!r&&i&&!s&&(n=t.pRightTop[0]-e.x,a=e.height),e.size>0?Math.abs(n*a)/e.size:0},l=function(){var n=0,a=0;return!o||r||i||s?o||!r||i||s?o||r||!i||s?o||r||i||!s||(n=t.pLeftTop[0]-e.x,a=t.pLeftTop[1]-e.y):(n=t.pRightTop[0]-e.x,a=t.pRightTop[1]-e.y):(n=t.pLeftBottom[0]-e.x,a=t.pLeftBottom[1]-e.y):(n=t.pRightBottom[0]-e.x,a=t.pRightBottom[1]-e.y),e.size>0?Math.abs(n*a)/e.size:0};return n=u(),n>0?n:(n=c(),n>0?n:(n=l(),n>0?n:n))};e.wrapViewabilityRate=function(t,e,n){var a=0;if(t)for(var r=0;r=n)return a;return a}},function(t,e,n){\"use strict\";function a(t,e,n){var a=p.getWinPositions(),o=0,r=u.getGoldlogVal(\"_aplus_auto_exp\")||{},i=r._acHashMap||{};for(var c in i)for(var l=i[c]||[],m=0;m=d;if(A||S>=_){h.exposureTime=t,h.status=1;var T=f.getAutoExpUserFn();T&&(h.userParams=g.autoUserFnHandler(T,h.element,h.elementSelector,h.expConfig)),h.viewabilityRate=A?e.intersectionRatio:S,h.viewability=A?\"intersection\":\"fillwindow\",f.EXP_DURATION||(h.status=2),g.updateExpHashMap(c,h,\"UPDATE\"),++o}else S&&g.updateExpHashMap(c,s.assign(l[m],{lastEventType:h.eventType}),\"UPDATE\")}}}}return o}function o(t,e){var n=\"APLUS_AE_EXPOSURE_CHANGE\",o=t&&t.type?t.type:\"IObserver\",r=(new Date).getTime(),i=0;i=e?l.filterStartExposureSize(r,t):a(r,t),i>0&&(f.EXP_DURATION?setTimeout(function(){i=l.filterEndExposureSize(r,o),i>0&&aplus.aplus_pubsub.publish(n,{size:i,eventType:o})},f.EXP_DURATION):aplus.aplus_pubsub.publish(n,{size:i,eventType:o}))}function r(t){var e={root:null,rootMargin:\"0px\",threshold:d};return new h(function(t){c(t,function(t){t.intersectionRatio>0&&o(t)})},s.assign(e,t))}function i(t){if(h){v.io_base||(v.io_base=r());var e=u.getGoldlogVal(\"_aplus_auto_exp\")||{},n=e._acHashMap||{};for(var a in n)for(var o=n[a]||[],i=0;i=u,E=b;v&&(E=r.wrapViewabilityRate(a,m,u));var S=m.width*m.height*E,A=r.getViewabilityRateInWindow(a,S,c),T=r.checkIsRecord(m.element,m.hash_value,\"_aplus_auto_exp\");if((y||A>=c)&&!T){m.exposureTime=t,m.status=1;var P=i.getAutoExpUserFn();P&&(m.userParams=s.autoUserFnHandler(P,m.element,m.elementSelector,m.expConfig)),i.EXP_DURATION||(m.viewabilityRate=y?b:A,m.viewability=y?\"intersection\":\"fillwindow\",m.status=2),s.updateExpHashMap(g,m,\"UPDATE\"),++n}}}}return n},e.filterEndExposureSize=function(t,e){var n=0;a||(a=r.getWinPositions());var i=o.getGoldlogVal(\"_aplus_auto_exp\")||{},c=i._acHashMap||{};for(var l in c)for(var p=c[l]||[],f=0;f0&&(i.EXP_DURATION?setTimeout(function(){r=o.filterEndExposureSize(a,n),r>0&&aplus.aplus_pubsub.publish(e,{size:r,eventType:n})},i.EXP_DURATION):aplus.aplus_pubsub.publish(e,{size:r,eventType:n}))},u=r.throttle(function(t){s(t)},100),c={},l=function(t,e){if(t&&t.forEach&&Object.keys&&document.querySelector){t.forEach(function(t){t.positionSelector&&document.querySelector(t.positionSelector)&&(c[t.positionSelector]=!0)});var n=Object.keys(c);n.forEach(function(t){a[e]&&a[e](document.querySelector(t),\"scroll\",function(t){u(t)})})}};e.watch_exposure_change=function(t){aplus.aplus_pubsub.subscribe(\"APLUS_AE_DOM_CHANGE\",s),a.on(window,\"touchmove\",u),a.on(window,\"scroll\",u),a.on(window,\"resize\",s),l(t,\"on\")},e.clear=function(t){a.un(window,\"touchmove\",u),a.un(window,\"scroll\",u),a.un(window,\"resize\",s),l(t,\"un\")}},function(t,e,n){\"use strict\";function a(t,e,n){var a=\"0\";if(n){if(\"spmc\"===t){var o=n.split(\".\");a=o[2]?o[2]:o[3],/^(\\i|\\d)[0-9]+$/.test(a)&&(a=\"0\"),n=[o[0],o[1],a].join(\".\")}}else n=aplus.getElementSPM(e,t);return n}function o(){i||(i=!0,aplus.on(window,\"beforeunload\",function(){clearInterval(r);for(var t=0;t0;)_.updateExpHashMap(e,a.pop(),\"CLEAR\")})},y=[],E=function(){r=setInterval(function(){y.length>0?aplus_queue.push(y.pop()):(clearInterval(r),r=null)},200)},S=function(t,e,n){var a=t.logkeyContainer||[],o=t.request_cfg||{};s.wrap(function(){p(a,function(t,a){var r=_.isCombineRecordLogkey(t);if(g(a)&&a.length>0){for(var i=0;i0){r||E();var e=h()||{};S(e,t,b)}};e.watch_data_change=function(){aplus.aplus_pubsub.subscribe(\"APLUS_AE_EXPOSURE_CHANGE\",A),o()},e.clear=function(){aplus.aplus_pubsub.unsubscribe(\"APLUS_AE_EXPOSURE_CHANGE\",A)}},function(t,e,n){\"use strict\";var a=n(77),o=n(3),r=n(25).nameStorage,i=n(48);t.exports=function(){return{recordValInWindowName:function(){var t,e,n=o.HTTPS==location.protocol,a=aplus.globalConfig.NAMESTORAGE_KEYS||{},s=parent!==self;if(!s&&n){var u=location.href,c=n&&(u.indexOf(\"login.taobao.com\")>=0||u.indexOf(\"login.tmall.com\")>=0),l=i.getRefer(a);c&&l?(t=l,e=r.getItem(a.REFERRER_PV_ID)):(t=u,e=aplus.pvid),r.setItem(a.REFERRER,t),r.setItem(a.REFERRER_PV_ID,e)}},run:function(){var t=this;a.on(window,\"beforeunload\",function(){t.recordValInWindowName()})}}}},function(t,e,n){\"use strict\";function a(t,e,n){var a=aplus._$||{},o=a.meta_info||{},r=o.aplus_ctap||{},i=o[\"aplus-touch\"];if(r&&\"function\"==typeof r.on)r.on(t,e);else{var s=\"ontouchend\"in document.createElement(\"div\");!s||\"tap\"!==i&&\"tapSpm\"!==n&&\"tap\"!==n?u(t,s?\"touchstart\":\"mousedown\",e):l.on(t,e)}}function o(t){try{document.documentElement.doScroll(\"left\")}catch(e){return void setTimeout(function(){o(t)},1)}t()}function r(t){var e=0,n=function(){0===e&&t(),e++};\"complete\"===document.readyState&&n();var a;if(document.addEventListener)a=function(){document.removeEventListener(\"DOMContentLoaded\",a,!1),n()},document.addEventListener(\"DOMContentLoaded\",a,!1),window.addEventListener(\"load\",n,!1);else if(document.attachEvent){a=function(){\"complete\"===document.readyState&&(document.detachEvent(\"onreadystatechange\",a),n())},document.attachEvent(\"onreadystatechange\",a),window.attachEvent(\"onload\",n);var r=!1;try{r=null===window.frameElement}catch(t){}document.documentElement.doScroll&&r&&o(n)}}function i(t){\"complete\"===document.readyState?t():u(window,\"load\",t)}function s(t){var e=history[t];return function(){var n;try{n=new Event(t),n.arguments=arguments}catch(e){n=document.createEvent(\"Event\"),n.initEvent(t,!0,!0)}window.dispatchEvent(n);var a=e.apply(this,arguments);return a}}function u(){var t=window,e=arguments;if(2===e.length)\"DOMReady\"===e[0]&&r(e[1]),\"onload\"===e[0]&&i(e[1]);else if(3===e.length){var n=e[0],o=e[1],u=e[2];if(\"tap\"===o||\"tapSpm\"===o)a(n,u,o);else{[\"pushState\",\"replaceState\"].indexOf(o)>-1&&(history[o]=s(o));var l=document.attachEvent?\"attachEvent\":\"addEventListener\",p=!!document.attachEvent;n[l]((p?\"on\":\"\")+o,function(e){e=e||t.event;var n=e.target||e.srcElement;\"function\"==typeof u&&u(e,n)},!!c(o)&&{passive:!0})}}}var c=n(78),l=n(57);e.DOMReady=r,e.onload=i,e.on=u},function(t,e){var n;t.exports=function(t){if(\"boolean\"==typeof n)return n;if(!/touch|mouse|scroll|wheel/i.test(t))return!1;n=!1;try{var e=Object.defineProperty({},\"passive\",{get:function(){n=!0}});window.addEventListener(\"test\",null,e)}catch(t){}return n}},function(t,e,n){\"use strict\";var a=n(77),o=n(80);t.exports=function(){return{do_tracker_lostpv:function(t){if(t&&t.page){var e=t.spm_ab?t.spm_ab.split(\".\"):[],n=navigator&&navigator.sendBeacon?\"post\":\"get\",a=\"record_lostpv_by\"+n+\"_\"+t.msg,r=new o({ratio:t.ratio||this.options.config.lostPvRecordRatio});r.run({code:102,page:t.page,msg:a,spm_a:e[0],spm_b:e[1],c1:t.duration,c2:t.page_url})}},recordLostPv:function(t){var e=window.aplus||{},n=e._$=e._$||{},a=e.spm_ab?e.spm_ab.join(\".\"):\"0.0\",o=n.send_pv_count||0;if(o<1&&navigator&&navigator.sendBeacon){var r=location.hostname+location.pathname;this.do_tracker_lostpv({page:r,page_url:location.protocol+\"//\"+r,duration:t,spm_ab:a,msg:\"dom_state=\"+document.readyState\n})}},run:function(){var t=this,e=new Date;a.on(window,\"beforeunload\",function(){var n=new Date,a=n.getTime()-e.getTime();t.recordLostPv(a)})}}}},function(t,e,n){var a=n(27),o=n(28),r=n(34),i={ratio:1,logkey:\"fsp.1.1\",gmkey:\"\",chksum:\"H46747615\"},s=function(t){t&&\"object\"==typeof t||(t=i),this.opts=t,this.opts.ratio=t.ratio||i.ratio,this.opts.logkey=t.logkey||i.logkey,this.opts.gmkey=t.gmkey||i.gmkey,this.opts.chksum=t.chksum||i.chksum},u=s.prototype;u.getRandom=function(){return Math.floor(100*Math.random())+1},u.run=function(t,e){var n,i,s={pid:\"aplus\",code:101,msg:\"\u5f02\u5e38\u5185\u5bb9\"},u=\"\";try{var c=window.aplus||{},l=c._$||{},p=l.meta_info||{},f=parseFloat(p[\"aplus-tracker-rate\"]);if(n=this.opts||{},\"number\"==typeof f&&f+\"\"!=\"NaN\"||(f=n.ratio),i=this.getRandom(),e||i<=100*f){u=\"//gm.mmstat.com/\"+n.logkey,t.rel=c.globalConfig.script_name+\"@\"+c.globalConfig.lver,t.type=t.code,t.uid=encodeURIComponent(c.getCookieCna(\"cna\")),t=o.assign(s,t);var g=a.obj2param(t);c.tracker=c.send(u,{cache:o.makeCacheNum(),gokey:g,logtype:\"2\"},\"POST\")}}catch(t){r.logger({msg:\"tracker.run() exec error: \"+t})}},t.exports=s},function(t,e,n){\"use strict\";var a=n(2);t.exports=function(){return{run:function(){var t=a.getGlobalValue(\"aplus\"),e=a.getGlobalValue(\"aplus_queue\");if(!t._aplus_cplugin_m){var o=this.options.config;t._aplus_cplugin_m=n(82).run(o),[\"www.taobao.com\",\"detail.tmall.com\",\"item.taobao.com\"].indexOf(location.hostname)>-1&&(e.push({action:\"aplus.record\",arguments:[\"/aplus.monitor.log_arrival_rate\",\"OTHER\",{requestType:\"imgGet\"},\"GET\"]}),e.push({action:\"aplus.record\",arguments:[\"/aplus.monitor.log_arrival_rate\",\"OTHER\",{requestType:\"sendBeaconPost\"},\"POST\"]}))}}}}},function(t,e,n){\"use strict\";var a=n(34),o=n(80),r=navigator&&navigator.sendBeacon?\"post\":\"get\";e.run=function(t){return{status:\"complete\",do_tracker_jserror:function(e){try{var n=new o({logkey:e?e.logkey:\"\",ratio:e&&\"number\"==typeof e.ratio&&e.ratio>0?e.ratio:t.jsErrorRecordRatio}),i=[\"Message: \"+e.message,\"Error object: \"+e.error].join(\" - \"),s=aplus.spm_ab||[],u=location?location.hostname+location.pathname:\"\";n.run({code:110,page:u,msg:\"record_jserror_by\"+r+\"_\"+e.message,spm_a:s[0],spm_b:s[1],c1:i,c2:e.filename,c3:location?location.protocol+\"//\"+u:\"\"})}catch(t){a.logger({msg:t})}},do_tracker_browser_support:function(e){var n=!1;try{if(e&&e.page){var i=e.spm_ab?e.spm_ab.split(\".\"):[],s=new o({ratio:e.ratio||t.browserSupportRatio}),u=aplus._aplus_client||{},c=u.ua_info||{};s.run({code:111,page:e.page,msg:e.msg+\"_by\"+r,spm_a:i[0],spm_b:i[1],c1:[c.o,c.b,c.w].join(\"_\"),c2:e.etag||\"\",c3:e.cna||\"\"}),n=!0}}catch(t){a.logger({msg:t})}return n}}}},function(t,e,n){\"use strict\";t.exports=function(){return{run:function(){var t=n(84),e=t.create({WS:null,format:\"ALI\"});e.run(this.options)}}}},function(t,e,n){\"use strict\";var a=n(10),o=n(85),r=n(21),i=n(3),s=n(2),u=s.getGlobalValue(\"aplus\");t.exports=a.extend({subscribeLogs:function(t,e){var n=this;r.pushIntoGoldlogQueue(i.SUBSCRIBE,[t,function(t){t.status===i.COMPLETE&&n._canSendToGroup()&&e(t)}])},getLogicSymbol:function(){return\"ALI\"===this.format?\"&\":\"||\"},watchLOG:function(){var t=this,e=function(t,e){var n=u.getMetaInfo(i.APLUS_BRIDGE_NAME);if(!n){var a,r=o.getHttpBasicParams(t.what_to_send.logdata),s=t.where_to_send.method,c=u.getMetaInfo(\"aplus-first-tracking\"),l=s;\"POST\"===s&&navigator&&navigator.sendBeacon?(l=\"POST\",a=\"pv\"===e?r.objStr:JSON.stringify(r.obj)):(l=\"GET\",a=r.objStr),c&&\"pv\"===e&&u.send(t.where_to_send.url,r.objStr.replace(/a21dvn\\.b28762401\\.0\\.0/,\"a1z1d1.26790227.0.0\"),\"GET\"),u.send(t.where_to_send.url,a,l)}};t.subscribeLogs(\"mw_change_pv\",function(t){e(t,\"pv\")}),t.subscribeLogs(\"mw_change_hjlj\",function(t){e(t,\"aplus\")})},_canSendToGroup:function(){var t=u.getMetaInfo(i.APLUS_LOG_PIPE);return\"\"===t||/ALIGROUP/.test(t)},run:function(){this.watchLOG()}})},function(t,e,n){\"use strict\";function a(t,e){var n=t.client||{},a=n.screenWidth||\"\",o=n.screenHeight||\"\",r=a+e+o;return a&&o?r:\"-\"}function o(t,e){return _(e,function(e){delete t[e]}),t}function r(){if(\"boolean\"!=typeof h){var t=navigator.userAgent;h=/Trident/.test(t)}return h}function i(t,e){var n=g.cloneDeep(t.gokey);return n.cache=t.cache,n=g.assign(n,t.sdk_info),n=g.assign(n,t.client),n=g.assign(n,t.etag),delete n.egUrl,n=o(n,[\"userAgent\",\"pvid\",\"cna\",\"screenWidth\",\"screenHeight\"]),n._g_encode||(n._g_encode=\"utf-8\"),f.encodeGokeyValue(g.cloneDeep(n))}function s(t,e){return v(t,[[p.SPM_CNT,e[p.SPM_CNT]],[p.SPM_URL,e[p.SPM_URL]],[p.SPM_PRE,e[p.SPM_PRE]]]),t}function u(t,e){var n=t;if(t.indexOf(\"uidaplus=\")>-1){var a=t.split(\"uidaplus=\");if(\"&\"===a[1][0])n=t.replace(/uidaplus=/,\"uidaplus=\"+e);else{var o=a[1].split(\"&\");o[0]=e,n=a[0]+\"uidaplus=\"+o.join(\"&\")}}else n=\"uidaplus=\"+e+\"&\"+t;return n}function c(t){var e=d.getGoldlogVal(\"_$\")||{},n=e.meta_info||{},o=t.logtype,c=n[\"aplus-ifr-pv\"]+\"\"==\"1\",l=parent!==self;o=l&&!c?\"0\":\"1\";var g=[[\"logtype\",o],[\"title\",t.title],[\"pre\",t.pre],[\"scr\",a(t,\"x\")]];r()||g.push([\"_p_url\",t.url]),v(g,[[f.s_plain_obj,\"cna=\"+t.cna],[\"nick\",t._user_nick],[\"wm_pageid\",n.ms_data_page_id],[\"wm_prototypeid\",n.ms_prototype_id],[\"wm_sid\",n.ms_data_shop_id]]),g=s(g,t.gokey||{});var _=t.exparams||\"\",h=m.getUserId();h&&(_=u(_,h)),_.indexOf(\"&aplus&\")===-1?g.push([f.s_plain_obj,\"uidaplus=\"+h+\"&\"+p.APLUS]):g.push([f.s_plain_obj,_]);var b=i(t,\"PV\");for(var y in b)v(g,[[y,b[y]]]);var E=f.arr2param(g);return{objStr:E,obj:f.param2obj(E)}}function l(t){var e=[[\"gmkey\",t.gmkey]],n=i(t,\"LOG\");v(e,[[\"gokey\",f.obj2param(n)],[f.s_plain_obj,\"cna=\"+t.cna]]),e=s(e,t.gokey||{});var a=m.getUserId();v(e,[[\"_gr_uid_\",a],[\"uidaplus\",a],[\"logtype\",t.logtype],[\"nick\",t._user_nick],[\"scr\",t.client.scr]]),n._isCombine&&e.push([\"_isCombine\",1]),r()||e.push([\"_p_url\",t.url]);var o=f.arr2param(e);return{objStr:o,obj:f.param2obj(o)}}var p=n(3),f=n(27),g=n(28),d=n(2),_=n(18),m=n(42);e.getKeyIndex=function(t){var e={protocol:1,event_args:25};return e[t]};var h,v=function(t,e){var n,a,o,r,i=e.length;for(n=0;n=0;return(r?n?\"+\":\"\":\"-\")+Math.pow(10,Math.max(0,o)).toString().substr(1)+a}e.getFormatDate=function(t){var e=new Date;try{return[e.getFullYear(),n(e.getMonth()+1,2,0),n(e.getDate(),2,0)].join(t||\"\")}catch(t){return\"\"}}},function(t,e,n){\"use strict\";var a=n(29);e.getUrl=function(t){var e=a.getUrl(t&&t.egUrl);return e}},function(t,e,n){\"use strict\";function a(t,e){if(\"dynamics\"===e){var n=[\"gm.mmstat.com\",\"wgo.mmstat.com\"];return n.indexOf(t)>-1?\"d-\"+t:t}}function o(t){function e(){var t=r.getGlobalValue(\"aplus\"),e=t.getMetaInfo(\"aplus-rhost-g\"),n=a(e,o);n!==e&&t.setMetaInfo(\"aplus-rhost-g\",n)}t=t||{};var n=t.maxCount||1,o=t.networkType||\"static\",s=t.directSwitch||!1,u=0;return function(t){t=t||s,t?e():(++u,u>=n&&(i.logger({lever:\"warn\",msg:\"\u65e5\u5fd7\u4e0a\u62a5\u5931\u8d25\uff0c\u6ce8\u610f\uff0c\u8981\u5207\u6210\u52a8\u6001\u7f51\u7edc\u5566!\"}),e(),u=0))}}var r=n(2),i=n(34);e.toDynamicsNetwork=o({maxCount:1,networkType:\"dynamics\",directSwitch:!1})},function(t,e,n){\"use strict\";function a(){var t=i.getGlobalValue(\"aplus\"),e=t.getMetaInfo(r.APLUS_CNA_MODE);return e}function o(){var t=i.getGlobalValue(\"aplus\");return\"on\"===t.getMetaInfo(r.APLUS_CNA_ENABLE)}var r=n(3),i=n(2),s=n(9),u=n(46),c=n(92),l=n(18),p=n(29),f=n(44),g=n(88);e.getCnaMode=a,e.isCnaEnable=o,e.requestCna=function(t,e){function n(t){s(e)&&e(t)}var o=a();\"LS\"===o?c.request(t,function(t){if(u(t)){var e=t.split(\";\");l(e,function(t){if(/^goldlog\\.Etag/.test(t)){var e=t.split(\"=\")[1].replace(/\\\"/g,\"\"),n=i.getGoldlogVal(\"globalConfig\")||{},a=g.getFormatDate();i.setGoldlogVal(\"Etag\",e),p.setLsCna(n.ETAG_STORAGE_KEY,a,e)}else if(/^goldlog\\.stag/.test(t)){var o=+t.split(\"=\")[1];i.setGoldlogVal(\"stag\",o)}})}n()},function(t){n(t)}):f.loadScript(t,function(t){n(t)})}},function(t,e,n){\"use strict\";var a=n(3),o=n(9),r={base:1e4,timeout:1e4},i=function(t,e,n,i){/^\\/\\//.test(t)&&(t=a.HTTPS+t);var s=!0,u=i&&i.timeout?i.timeout:r.timeout;setTimeout(function(){s&&(s=!1,o(n)&&n({timeout:u}))},u),window.fetch(t).then(function(t){return/application\\/json/.test(t.headers.get(\"content-type\"))?t.json():t.text()}).then(function(t){s&&(e(t),s=!1)}).catch(function(t){s&&n(t)})},s=function(t,e,n,a){var o,i=\"GET\",s=function(){o.responseText?e(o.responseText):n()},u=window.XMLHttpRequest&&\"withCredentials\"in new XMLHttpRequest;u?(o=new XMLHttpRequest,o.open(i,t,!0)):(o=new window.XDomainRequest,o.open(i,t));var c=a&&a.timeout?a.timeout:r.timeout;o.timeout=c,o.onload=s,o.onerror=n,o.ontimeout=n,o.send()},u=function(t,e,n,a){window.fetch?i(t,e,n,a):s(t,e,n,a)},c=function(t,e){t=t||{},t.method=(t.method||\"POST\").toUpperCase(),t.url=t.url||\"\",t.data=t.data||null,t.success=t.success||function(){},t.error=t.error||function(){};var n=new XMLHttpRequest,a=[];for(var o in t.data)a.push(o+\"=\"+encodeURIComponent(t.data[o]));var r=a.join(\"&\"),i=JSON.stringify(t.data||{});\"POST\"===t.method?(n.open(t.method,t.url,!0),n.setRequestHeader(\"Content-Type\",e||\"application/json\")):\"GET\"===t.method&&n.open(t.method,t.url+\"?\"+r,!0),n.withCredentials=!0,n.timeout=3e3,n.onreadystatechange=function(){if(4==n.readyState&&200==n.status){var e={};try{e=JSON.parse(n.responseText)}catch(t){}t.success(e)}else 4==n.readyState&&t.error(n.staus)},\"POST\"===t.method?n.send(i):n.send()};e.request=u,e.request4um=c},function(t,e){\"use strict\";t.exports=function(){return{getMiniAppTrackInfo:function(t){var e=window;e.__megabilityBridge(\"TinyApp\",\"getMiniAppTrackInfo\",{},function(e){var n=(e.data||{}).result,a={_aplus_luid:n.luid,_aplus_lunick:n.lunick,_aplus_lusite:n.lusite,_aplus_uid:n.uid,_aplus_unick:n.unick,_aplus_usite:n.usite,mini_app_id:n.miniapp_id};t(a)},function(){t({})})},run:function(t,e){var n=this,a=window,o=a&&\"undefined\"!=typeof a.__megabilityBridge,r=\"{}\"!==JSON.stringify(n.options.context.pha_trackinfo);if(!r&&a.pha&&a.pha.environment&&\"object\"==typeof a.pha.environment.miniappAppInfo&&o)return n.getMiniAppTrackInfo(function(t){n.options.context.pha_trackinfo&&(n.options.context.pha_trackinfo=t),e()}),200}}}},function(t,e,n){\"use strict\";var a=n(2);t.exports=function(){return{getMetaInfo:function(){var t=a.getGoldlogVal(\"_$\")||{},e=t.meta_info;return e},getAplusWaiting:function(){var t=this.getMetaInfo()||{};return t[\"aplus-waiting\"]},run:function(t,e){var n=this.options.config||{},o=this.getAplusWaiting(),r=!0,i=a.getGlobalValue(\"aplus\"),s=\"default\";if(i.globalConfig.isAli&&(s=window.APLUS_CONFIG&&window.APLUS_CONFIG.pvTrack||s,\"off\"===s&&(r=!1)),n.is_auto){if(!r)return\"done\";if(o)switch(o=this.getAplusWaiting()+\"\",this.options.context.when_to_sendpv={aplusWaiting:o},o){case\"MAN\":return\"default\"===s?\"done\":void 0;case\"1\":return this.options.context.when_to_sendpv.isWait=!0,setTimeout(function(){e()},6e3),6e3;default:var u=1*o;if(u+\"\"!=\"NaN\")return this.options.context.when_to_sendpv.isWait=!0,setTimeout(function(){e()},u),u}}}}}},function(t,e,n){\"use strict\";var a=n(96),o=n(2),r=n(62),i=n(20),s=\"POST\",u=\"GET\";t.exports=function(){return{getMetaInfo:function(){var t=o.getGoldlogVal(\"_$\")||{},e=t.meta_info;return e},getAplusMetaByKey:function(t){var e=this.getMetaInfo()||{};return e[t]},getRhost:function(t){var e=\"\",n=\"\";if(\"PV\"===t)n=\"aplus-rhost-v\",e=this.getAplusMetaByKey(n);else if(n=\"aplus-rhost-g\",e=this.getAplusMetaByKey(n),[\"wgo.mmstat.com\",\"gm.mmstat.com\"].indexOf(e)>-1)a.isMobile()&&/gm/.test(e)&&(e=\"wgo.mmstat.com\"),!a.isMobile()&&/wgo/.test(e)&&(e=\"gm.mmstat.com\");else if(a.isMobile()){var o=e.match(/\\/[a-z]+$/);r(o)?e+=\"/wap\":e=e.replace(o[0],\"/wap\"+o[0])}return e},getHjljHostUrl:function(t){var e=/^\\/\\//.test(t)?\"\":\"//\",n=/\\/$/.test(t)?\"\":\"/\",a=e+t+n,o=this.options.context.userdata||{},r=o.logkey;return r?a+=/^(\\/)/.test(r)?r.substr(1):r:i().w(\"eventCode \"+r+' is invalid, suggestion: \"/aplus.1.1\"'),a},getPvHostUrl:function(t){var e=/^\\/\\//.test(t)?\"\":\"//\",n=/\\/$/.test(t)?\"\":\"/\",r=o.getGoldlogVal(\"_$\")||{},i=r.meta_info||{},s=i[\"aplus-ifr-pv\"]+\"\"==\"1\",u=parent!==self;if(/\\.gif$/.test(t))return e+t;var c=\"v.gif\";return a.isMobile()&&(c=\"m.gif\"),u&&!s&&(c=\"y.gif\"),e+t+n+c},getChannel:function(t){var e,n=this.getAplusMetaByKey(\"aplus-channel\"),a=[\"WS\",\"WS-ONLY\",u,s];return a.indexOf(t)>-1&&(e=t),!e&&a.indexOf(n)>-1&&(e=n),e},run:function(){var t=!!this.options.context.is_single;if(!t){var e=this.options.config.recordType,n=this.getRhost(e);if(!n)return\"done\";var a;a=\"PV\"===e?this.getPvHostUrl(n):this.getHjljHostUrl(n);var o=this.options.config||{},r=this.getChannel(o.method)||s;r!==s||navigator&&navigator.sendBeacon||(r=u),this.options.context.where_to_send.method=o.method,this.options.context.where_to_send.url=a}}}}},function(t,e){\"use strict\";e.isMobile=function(){var t=navigator?navigator.userAgent:\"\",e=/AliApp|Yunos|cyclone/i.test(t),n=/iPhone|iPad|iPod/i.test(t),a=/Android/i.test(t),o=/ArkWeb/i.test(t),r=/Windows Phone/i.test(t)||/IEMobile/i.test(t)||/WPDesktop/i.test(t),i=/BlackBerry/i.test(t),s=/Opera Mini/i.test(t);return e||n||a||o||r||i||s}},function(t,e,n){\"use strict\";var a=n(39),o=n(17),r=n(28),i=n(96),s=n(2),u=n(45),c=n(42),l=n(3),p=s.getGlobalValue(\"aplus\");t.exports=function(){return{getPageId:function(){var t=this.options.config||{},e=this.options.context||{},n=e.userdata||{};return t.page_id||t.pageid||t.pageId||n.page_id},resetSpmB:function(){var t=this.options.config||{},e=s.getGlobalValue(\"aplus\");if(!t.is_auto&&e.spmAPI){var n=s.getGoldlogVal(\"_$\")||{},a=n.spm||{},o=a.data.b;if(o){var r=this.getPageId();o=r?o.split(\"/\")[0]+\"/\"+r:o.split(\"/\")[0],e.spmAPI.setB(o);var i=a.spm_cnt.split(\".\");i&&i.length>2&&(i[1]=o,a.spm_cnt=i.join(\".\"))}}},getCommonParams:function(){var t=this.options.context||{},e=t.etag||{},n=t.userdata||{},l=s.getGoldlogVal(\"_$\")||{},f=l.spm||{},g=this.options.config||{},d=i.isMobile()?\"WAP\":\"PC\",_=p.getMetaInfo(\"aplus-first-tracking\"),m=u.getPid(),h=u.getConfig(\"codeVersion\"),v={_f_t:!!_};m&&(v.pid=m),h&&(v.code_version=h),t.pha_trackinfo&&(v=r.assign(v,t.pha_trackinfo));var b={};p.globalConfig.isAli&&(b={\"spm-url\":f.spm_url||\"\",\"spm-pre\":f.spm_pre||\"\",\"spm-cnt\":f.spm_cnt||\"\",pvid:p.pvid||\"\"});var y=(p.globalConfig.isDecodeUrl?\"DC_\":\"\")+Math.floor(268435456*Math.random()).toString(16),E={appId:p.getMetaInfo(\"appKey\")||p.getMetaInfo(\"appId\"),cache:y,cna:e.cna||a.getCookieCna(\"cna\"),etag:e,pre:l.page_referrer||\"-\",sdk_info:{jsver:p.globalConfig.script_name,lver:p.globalConfig.lver,customSdkId:p.getMetaInfo(\"customSdkId\")||\"\",platformType:d.toLowerCase()},trackerEventCode:g.trackerEventCode,title:g.title||document&&document.title,url:g.pageUrl||(location?location.href:\"-\"),client:p._aplus_client||{},gokey:r.assign(b,v),_user_nick:c.getUserNick(),gmkey:n.gmkey||\"\",method:this.options.context.where_to_send.method},S=o.getParamFromUrl(\"scm\",location.href)||\"\";return S&&(E.scm=S),n.gokey&&n.gokey.alsc_spm_url&&(E.gokey[\"spm-url\"]=n.gokey.alsc_spm_url),n.gokey&&n.gokey.alsc_spm_pre&&(E.gokey[\"spm-pre\"]=n.gokey.alsc_spm_pre),n.gokey&&n.gokey.alsc_page_name&&(E.title=n.gokey.alsc_page_name),E},getPvParams:function(){var t=this.options.context.where_to_send.url,e=this.getCommonParams();this.options.config.is_auto||(e.sdk_info.mansndlog=1);var n=\"/v.gif\";return/yt\\.gif$/.test(t)?n=\"yt.gif\":i.isMobile()&&(n=\"/m.gif\"),r.assign(e,{event_code:\"2001\",logtype:\"1\",logkey:n,event_timestamp:p._$.send_pv_count>0?new Date:p.logConfig.pageLoadTime})},checkEventCodeLegality:function(t){return/^(([0-9])|([1-9][0-9]{1,5}))$/.test(t)},getHjljParams:function(){var t=this.options.context||{},e=t.userdata||{},n=this.checkEventCodeLegality(e.gmkey)?e.gmkey:l.OTHER,a={event_code:l.EVENT_ID_MAP[e.gmkey]||n,logtype:\"2\",logkey:e.logkey,event_timestamp:new Date};return e[\"spm-cnt\"]&&(a[\"spm-cnt\"]=e[\"spm-cnt\"]),e[\"spm-pre\"]&&(a[\"spm-pre\"]=e[\"spm-pre\"]),r.assign(this.getCommonParams(),a)},run:function(){var t={};\"PV\"===this.options.config.recordType?(this.resetSpmB(),t=this.getPvParams()):t=this.getHjljParams(),this.options.context.what_to_send.logdata=t}}}},function(t,e,n){\"use strict\";var a=n(28),o=n(39);t.exports=function(){return{run:function(){var t={},e=o.getCookie(\"workno\")||o.getCookie(\"emplId\");e&&(t.workno=e);var n=o.getHng();n&&(t._hng=o.getHng());var r;r=this.options.context.what_to_send.logdata,r.gokey=a.assign(r.gokey,t)}}}},function(t,e,n){\"use strict\";var a=n(27),o=n(38),r=n(28),i=n(2);t.exports=function(){return{getUserdata:function(){var t=i.getGlobalValue(\"aplus\"),e=this.options.config||{},n={};e&&!e.is_auto&&e.gokey&&(\"string\"==typeof e.gokey?n=a.param2obj(e.gokey):\"object\"==typeof e.gokey&&(n=e.gokey));var s=function(t){o(t)?t.forEach(function(t){n=r.assign(n,t)}):n=r.assign(n,t)};s(t.getMetaInfo(\"aplus-globaldata\")),s(t.getMetaInfo(\"aplus-cpvdata\"));var u=this.options.context||{},c=u.userdata||{};return s(c),n},processLodashDollar:function(){var t=this.options.config||{},e=i.getGoldlogVal(\"_$\")||{};t&&t.referrer&&(e.page_referrer=t.referrer),i.setGoldlogVal(\"_$\",e)},updatePre:function(t){var e=i.getGoldlogVal(\"_$\")||{};return e.page_referrer&&(t.pre=e.page_referrer),t},run:function(){var t=this.options.context.what_to_send.logdata,e=r.assign(this.getUserdata(),t.userdata||{});this.processLodashDollar(),t.gokey=r.assign(t.gokey,e),t=this.updatePre(t),this.options.context.what_to_send.logdata=t,this.options.context.userdata=t.gokey,this.options.context.pure_userdata=e}}}},function(t,e,n){\"use strict\";var a=n(43),o=n(101),r=n(13);t.exports=function(){return{getExParamsInfo:function(){var t=a.getExParams();return this.options.context.what_to_send.logdata.exparams=t,o(t)},run:function(){var t=this.options.context.what_to_send.logdata.gokey;t=r(this.getExParamsInfo(),t),this.options.context.what_to_send.logdata.gokey=t}}}},function(t,e,n){var a=n(27);t.exports=function(t){var e={};try{var n=a.param2obj(t.replace(/&/g,\"&\").replace(/\\buser(i|I)d=/,\"uidaplus=\").replace(/&aplus&/,\"&\"));n.uidaplus&&(e.uidaplus=n.uidaplus),e.pc_i=n.pc_i,e.pu_i=n.pu_i}catch(t){console&&console.log(t)}return e}},function(t,e,n){\"use strict\";function a(t){var e,n,a,o,i=[],s={};for(e=t.length-1;e>=0;e--)n=t[e],a=n[0],a&&a.indexOf(r.s_plain_obj)==-1&&s.hasOwnProperty(a)||(o=n[1],(\"aplus\"==a||o)&&(i.unshift([a,o]),s[a]=1));return i}function o(t){var e,n,a,o,i=[],u={logtype:!0,cache:!0,scr:!0,\"spm-cnt\":!0};for(e=t.length-1;e>=0;e--)if(n=t[e],a=n[0],o=n[1],!(s.isStartWith(a,r.s_plain_obj)&&!s.isStartWith(a,r.mkPlainKeyForExparams())||u[a]))if(s.isStartWith(a,r.mkPlainKeyForExparams())){var c=r.param2arr(o);if(\"object\"==typeof c&&c.length>0)for(var l=c.length-1;l>=0;l--){var p=c[l];p&&p[1]&&i.unshift([p[0],p[1]])}}else i.unshift([a,o]);return i}var r=n(33),i=n(41),s=n(28),u=n(2),c=n(39),l=n(17),p=n(3);t.exports=function(){return{keyIsAvailable:function(t){var e=[\"functype\",\"funcId\",\"spm-cnt\",\"spm-url\",\"spm-pre\",\"_ish5\",\"_is_g2u\",\"_h5url\",\"cna\",\"isonepage\",\"lver\",\"jsver\"];return i.indexof(e,t)===-1},valIsAvailable:function(t){return\"object\"!=typeof t&&\"function\"!=typeof t},upUtData:function(t,e){var n=this;if(t=t?t:{},e&&\"object\"==typeof e)for(var a in e){var o=e[a];a&&n.valIsAvailable(o)&&n.keyIsAvailable(a)&&(t[a]=o)}return t},getToUtData:function(){var t=u.getGoldlogVal(\"_$\")||{},e=u.getGlobalValue(p.APLUS),n=t.spm||{},i=this.options.context||{},s=this.options.config||{},f=i.what_to_send||{},g=f.logdata||{},d=g.sdk_info||{},_=this.options.context.etag||{},m=o(a(g.exparams||[]));m=r.arr2obj(m);var h=i.userdata,v=location.href,b={},y=l.getParamFromUrl(\"scm\",v)||\"\";y&&(b.scm=y);var E=l.getParamFromUrl(\"pg1stepk\",v)||\"\";E&&(b.pg1stepk=E);var S=l.getParamFromUrl(\"point\",v)||\"\";S&&(b.issb=1),d&&d.mansndlog&&(b.mansndlog=d.mansndlog),b=this.upUtData(b,m),b=this.upUtData(b,g.gokey),b=this.upUtData(b,h),b.functype=\"page\",b.funcId=\"2001\",e&&e.globalConfig&&e.globalConfig.isAli?b.url=(location.protocol||\"https:\")+\"//\"+location.host+location.pathname:b.url=location.href,s.pageName&&(b.url=s.pageName),b._ish5=\"1\",b._h5url=v,b._toUT=2,b._bridgeName=\"WindVane\",b._bridgeVersion=\"3.0.7\",n.spm_cnt&&(b[p.SPM_CNT]=n.spm_cnt||\"\"),n.spm_url&&(b[p.SPM_URL]=n.spm_url||\"\"),n.spm_pre&&(b[p.SPM_PRE]=n.spm_pre||\"\"),b.cna=_.cna||c.getCookieCna(\"cna\"),b.lver=d.lver,b.jsver=d.jsver,b.pver=\"1.0.0\",b.isonepage=-1;var A=e.getMetaInfo(\"aplus-utparam\");return A&&(b[\"utparam-cnt\"]=JSON.stringify(A)),b._is_g2u_=1,b._slog=1,b},run:function(){var t=this.options.context||{},e=t.what_to_send||{};e.pvdataToUt=this.getToUtData(),this.options.context.what_to_send=e}}}},function(t,e,n){\"use strict\";var a=n(2),o=n(104);t.exports=function(){return{run:function(){var t=a.getGoldlogVal(\"_$\")||{},e=this.options.context.can_to_sendpv||{},n=t.send_pv_count||0,r=this.options.config||{},i=!!r.updateOnly;return t.cur_pv_update=i,o.canSendPV(r.track_type)?(e.flag=\"YES\",this.options.context.can_to_sendpv=e,t.send_pv_count=++n,void a.setGoldlogVal(\"_$\",t)):\"done\"}}}},function(t,e,n){function a(t){var e=r.getGlobalValue(i.APLUS),n=e.getMetaInfo(i.APLUS_EVENT_LIMITRATES);if(n&&n.length>0){var a=c.find(n,function(e){return e.eventId===t});if(a){var o=Math.ceil(1e3*Math.random());return o<1e3*a.samplingRate}return!0}return!0}function o(){var t=r.getGlobalValue(\"aplus\"),e=t.globalConfig.isUM;return!!e}var r=n(2),i=n(3),s=n(105),u=n(107),c=n(41),l=n(37),p=n(28),f=n(33);e.canToSendHJLJ=function(t,e){var n=s.getDeviceStatus();if(!n)try{var o=l.getContext();return p.isEmptyObject(o)?void 0:e===i.APP_START||e===i.APP_END}catch(t){}var r=s.getAutoTrackStatus(),c=s.getAutoEventStatus(),g=u.getAutoTrackStatus(),d={};if(d=\"string\"==typeof t?f.arr2obj(f.param2arr(t)):t,d.auto_element){if(2===c||2===r)return;if(!r&&!g)return}if(a(e))return!0},e.canSendPV=function(t){if(!o())return!0;var e=s.getDeviceStatus(),n=s.getAutoPageStatus(),a=u.localAutoPVDisabled(),r=!0;if(e){if(\"1\"===t)return!(2===n||!n&&a)}else r=!1;return r}},function(t,e,n){\"use strict\";function a(t){var e;return e=l.isWeb()?p.getLsRemoteCfg(d):f().getSync(c.APLUS_REMOTE_CONFIG),e&&e[t]}function o(t){var e=l.getContext();e.aplus_queue.push({action:\"aplus.setMetaInfo\",arguments:[c.APLUS_DISABLE_AUTOEVENT_REMOTE,t]})}function r(t){var e=l.getContext();e.aplus_queue.push({action:\"aplus.setMetaInfo\",arguments:[c.APLUS_DEVICE_ENABLE,t]})}function i(t){var e=l.getContext();e.aplus_queue.push({action:\"aplus.setMetaInfo\",arguments:[c.APLUS_DISABLE_AUTOPV_REMOTE,t]})}function s(t){var e=l.getContext();e.aplus_queue.push({action:\"aplus.setMetaInfo\",arguments:[c.APLUS_AUTOTRACK_ENABLED_REMOTE,t]})}var u=n(33),c=n(3),l=n(2),p=n(29),f=n(106),g=n(28),d=\"APLUS_REMOTE_CONFIG\";e.getAutoEventStatus=function(){var t=l.getGlobalValue(\"aplus\"),e=t.getMetaInfo(c.APLUS_DISABLE_AUTOEVENT_REMOTE)||a(\"codelessClickEventStatus\");return e},e.getDeviceStatus=function(){var t=l.getGlobalValue(\"aplus\");return a(\"currentDeviceEnable\")||t.getMetaInfo(c.APLUS_DEVICE_ENABLE)},e.getAutoPageStatus=function(){var t=l.getGlobalValue(\"aplus\"),e=t.getMetaInfo(c.APLUS_DISABLE_AUTOPV_REMOTE)||a(\"codelessCollectorPageStatus\");return e},e.getAutoTrackStatus=function(){var t=l.getGlobalValue(\"aplus\"),e=t.getMetaInfo(c.APLUS_AUTOTRACK_ENABLED_REMOTE)||a(\"codelessStatus\");return e},e.enableCfg=function(t){var e=l.getContext();t&&!g.isEmptyObject(t)&&(o(t.codelessClickEventStatus),i(t.codelessCollectorPageStatus),s(t.codelessStatus),r(t.currentDeviceEnable),t.eventSamplingRate&&t.eventSamplingRate.length>0&&e.aplus_queue.push({action:\"aplus.setMetaInfo\",arguments:[c.APLUS_EVENT_LIMITRATES,u.mapEventSampleRates(t.eventSamplingRate)]}),t.codelessIgnoreComponent&&t.codelessIgnoreComponent.length>0&&e.aplus_queue.push({action:\"aplus.setMetaInfo\",arguments:[c.APLUS_AUTOTRACK_CONFIG_REMOTE,t.codelessIgnoreComponent]}))}},function(t,e,n){var a=n(37),o=n(9),r=n(32),i=n(33),s=n(3);t.exports=function(){function t(){var t=a.getContext();this.load=function(e){u?(t.removeStorage({key:n}),o(e)&&e()):(n=\"aplus_cache_\"+i.getAppKey()||\"\",t.getStorage({key:n,success:function(a){u=a&&a.data?r.parse(a.data)||{}:{},c=!0,t.removeStorage({key:n}),o(e)&&e()},fail:function(){u={},c=!0,t.removeStorage({key:n}),o(e)&&e()}}))},this.save=function(){u&&t.setStorage({key:n,data:r.stringfy(u)})},this.set=function(t,e){u&&(u[t]=e)},this.get=function(t){return(u||{})[t]},this.remove=function(t){u&&u[t]&&delete u[t]},this.getAll=function(){return u},this.clear=function(){u=null},this.has=function(t){return!!this.get(t)},this.isLoaded=function(){return c},this.getSync=function(t){try{var e=a.getStorageSync(t);return t===s.APLUS_IMPRINT_VERSION?e:\"string\"==typeof e?r.parse(e):e}catch(t){}},this.setSync=function(t,e){try{\"object\"==typeof e?a.setStorageSync(t,JSON.stringify(e)):a.setStorageSync(t,e)}catch(t){}}}var e=null,n=\"\",u=null,c=!1;return function(){return e||(e=new t),e}}()},function(t,e,n){\"use strict\";var a=n(3),o=n(2);e.localAutoEventDisabled=function(){var t=o.getGlobalValue(\"aplus\");return!!t.getMetaInfo(a.APLUS_DISABLE_AUTOEVENT)},e.localAutoPVDisabled=function(){var t=o.getGlobalValue(\"aplus\");return!(!t.getMetaInfo(a.APLUS_DISABLE_AUTOPV)&&\"MAN\"!==t.getMetaInfo(\"aplus-waiting\"))},e.getAutoTrackStatus=function(){var t=o.getGlobalValue(\"aplus\");return!!t.getMetaInfo(a.APLUS_AUTOTRACK_ENABLED)}},function(t,e,n){\"use strict\";var a=n(36),o=n(2);t.exports=function(){return{run:function(){var t=o.getGlobalValue(\"aplus\"),e=t._$||{},n=this.options.context||{};o.setGoldlogVal(\"pv_context\",n);var r=t.spm_ab||[],i=r.join(\".\"),s=e.send_pv_count,u={cna:n.etag?n.etag.cna:\"\",count:s,spmab_pre:t.spmab_pre};a.doPubMsg([\"sendPV\",\"complete\",i,u]),a.doCachePubs([\"sendPV\",\"complete\",i,u])}}}},function(t,e,n){\"use strict\";var a=n(27),o=n(38),r=n(28),i=n(2);t.exports=function(){return{getUserData:function(){var t=i.getGlobalValue(\"aplus\"),e=this.options.context||{},n=e.userdata||{},s=e.what_to_send.logdata.gokey,u=t.getMetaInfo(\"aplus-exinfo\");s=r.assign(s,t.getMetaInfo(\"aplus-globaldata\")),u&&(s=r.assign(s,a.param2obj(u)));var c=t.getMetaInfo(\"aplus-exdata\");return o(c)?c.forEach(function(t){s=r.assign(s,t)}):s=r.assign(s,t.getMetaInfo(\"aplus-exdata\")),s=r.assign(s,a.param2obj(n.gokey))},run:function(){this.options.context.what_to_send.logdata.gokey=this.getUserData()}}}},function(t,e,n){\"use strict\";var a=n(43),o=n(101),r=n(28);t.exports=function(){return{getExParamsInfo:function(){var t=a.getExParams();return this.options.context.what_to_send.logdata.exparams=t,o(t)},run:function(){var t=this.options.context.what_to_send.logdata.gokey;t=r.assign(this.getExParamsInfo(),t),this.options.context.what_to_send.logdata.gokey=t}}}},function(t,e,n){\"use strict\";var a=n(2),o=n(3),r=n(13),i=n(18),s=n(19),u=n(65);t.exports=function(){return{formatGokey:function(t,e){if(s(t)){var n={},a=[];return i(t,function(t,e){var o=e;(\"undefined\"===o||u(o))&&(o=\"\"),n[t]=o,a.push(t+\"=\"+o)}),\"object\"===e?n:a.join(\"&\")}return t},getToUtData:function(){var t=a.getGoldlogVal(\"_$\")||{},e=a.getGlobalValue(o.APLUS),n=t.spm||{},i=t.meta_info||{},s=\"off\"===i[o.APLUS_GOKEY_ISOLATE],u=this.options.context||{},c=u.userdata||{},l=u.etag||{},p=u.what_to_send||{},f=p.logdata||{},g=f.sdk_info||{},d=f.gokey||{},_=location.href,m=s?r({},this.formatGokey(d,\"object\")):{};m.functype=\"ctrl\",m.funcId=f.event_code,e&&e.globalConfig&&e.globalConfig.isAli?m.url=(location.protocol||\"https:\")+\"//\"+location.host+location.pathname:m.url=location.href,d.pageName&&(m.url=d.pageName),d._isCombine&&(m._isCombine=1),m.logkey=f.logkey,s||(m.gokey=encodeURIComponent(this.formatGokey(d,\"string\"))),m.gmkey=f.gmkey,m._ish5=\"1\",m._h5url=_,m._is_g2u_=1,m._slog=1,m._toUT=2,m._bridgeName=\"WindVane\",m._bridgeVersion=\"3.0.7\",n.spm_cnt&&(m[o.SPM_CNT]=n.spm_cnt||\"\"),n.spm_url&&(m[o.SPM_URL]=n.spm_url||\"\"),n.spm_pre&&(m[o.SPM_PRE]=n.spm_pre||\"\"),m.cna=l.cna,m.lver=g.lver,m.jsver=g.jsver,c.hasOwnProperty(\"autosend\")&&(m.autosend=c.autosend);var h=e.getMetaInfo(\"aplus-utparam\");return h&&(m[\"utparam-cnt\"]=JSON.stringify(h)),m},run:function(){var t=this.options.context||{},e=t.what_to_send||{};e.pvdataToUt=this.getToUtData(),this.options.context.what_to_send=e}}}},function(t,e,n){\"use strict\";t.exports=function(){return{run:function(){n(113)()}}}},function(t,e,n){\"use strict\";var a=n(44),o=n(2),r=n(114),i=n(121),s=n(122),u=n(123),c=n(124),l=n(125);t.exports=function(){var t=o.getGoldlogVal(\"_$\")||{},e=t.meta_info,p=e[\"aplus-touch\"],f={isTouchEnabled:a.isTouch()||\"1\"===p||\"tap\"===p,isTerminal:t.is_terminal||/WindVane|Themis/i.test(navigator.userAgent)};n(115).makePVId(),window.g_SPM={spm_d_for_ad:{},resetModule:r.spm_resetModule,anchorBeacon:r.spm_spmAnchorChk,getParam:r.spm_getSPMParam,spm:r.spm_forwap},o.setGoldlogVal(\"spmAPI\",l.run()),i.run(f),s.run(f),u.run(f),c.run(f)}},function(t,e,n){\"use strict\";function a(t){if(t&&1===t.nodeType){s.tryToRemoveAttribute(t,\"data-spm-max-idx\"),s.tryToRemoveAttribute(t,\"data-auto-spmd-max-idx\");for(var e=c.nodeListToArray(t.getElementsByTagName(\"a\")),n=c.nodeListToArray(t.getElementsByTagName(\"area\")),a=e.concat(n),o=0;o1?r.pop():\"\",s>0&&(a=i.pop(),t=i.join(\"?\")),a&&s>1&&a.indexOf(\"&\")==-1&&a.indexOf(\"%\")!==-1&&(l=\"%26\");var p=\"\";if(t=t+\"?spm=\"+p+e+(a?l+a:\"\")+(o?\"#\"+o:\"\"),c=m.isContain(u,\".\")?u.split(\".\").pop().toLowerCase():\"\"){if({png:1,jpg:1,jpeg:1,gif:1,bmp:1,swf:1}.hasOwnProperty(c))return 0;!a&&s<=1&&(o||{htm:1,html:1,php:1,aspx:1,shtml:1,xhtml:1}.hasOwnProperty(c)||(t+=\"&file=\"+u))}return t}}function s(t,e){var n=b.getGlobalValue(\"aplus\");if(!n.isUT4Aplus||\"UT4Aplus\"!==n.getMetaInfo(\"aplus-toUT\")){var a,o=t.innerHTML;o&&o.indexOf(\"<\")==-1&&(a=document.createElement(\"b\"),a.style.display=\"none\",t.appendChild(a)),t.href=e,a&&t.removeChild(a)}}function u(t,e,n){if(!/^0\\.0\\.?/.test(e)){var a=y.tryToGetHref(t),r=o(),u=A.is_ignore_spm(t);if(u){var c=_.param2obj(a);if(c.spm&&c.spm.split)for(var l=c.spm.split(\".\"),p=e.split(\".\"),f=0;f<3&&p[f]===l[f];f++)2===f&&l[3]&&(e=c.spm)}t.setAttribute(\"data-spm-anchor-id\",e);var g=E.getPvId();g&&(e+=\".\"+g);var d=\"0.0\";(g||r&&r!=d)&&(u||n||(a=i(a,e))&&s(t,a))}}function c(t){var e=v.tryToGetAttribute(t,w),n=h.parseSemicolonContent(e)||{};return n}function l(t){var e,n=b.getGoldlogVal(\"_$\")||{},a=n.spm.data;return\"0\"==a.a&&\"0\"==a.b?e=\"0\":(e=v.tryToGetAttribute(t,I),e&&e.match(/^d\\w+$/)||(e=\"\")),e}function p(t,e){for(var n=[],a=h.nodeListToArray(t.getElementsByTagName(\"a\")),o=h.nodeListToArray(t.getElementsByTagName(\"area\")),r=a.concat(o),i=0;i0&&(d+=\"&\"),d+=v.length>0?v.join(\"&\"):\"\",aplus&&s(aplus.recordUdata)?aplus.recordUdata(h,g,d,\"GET\",function(){}):p().w(\"aplus.recordUdata is not function!\"),i.tryToSetAttribute(t,\"data-spm-anchor-id\",m)}function o(t,e){if(!l.isEditableElement(e)){var n=e;window.g_SPM&&(g_SPM._current_spm=f.spm_getSPMParam(e));for(var o;e&&\"HTML\"!==e.tagName;){o=i.tryToGetAttribute(e,\"data-spm-click\");{if(o){a(e,o,\"mousedown\"===t.type?t.type:\"tap\");break}e=e.parentNode}}if(!o){var r=g.getGlobalSPMId(),s=aplus.getMetaInfo(\"aplus-getspmcd\");\"function\"==typeof s&&s(n,t,r)}}}var r=n(77),i=n(23),s=n(9),u=n(29),c=n(41),l=n(44),p=n(20),f=n(114),g=n(117);e.run=function(t){t&&t.isTouchEnabled?r.on(document,\"tap\",o):r.on(document,\"mousedown\",o)}},function(t,e,n){\"use strict\";function a(){for(var t=document.getElementsByTagName(\"iframe\"),e=0;e10&&(n=3e3),a(),setTimeout(t,n)}var e=0,n=500;t()}var r=n(23),i=n(117),s=n(114);e.run=function(t){t&&!t.isTerminal&&o()}},function(t,e,n){\"use strict\";function a(t,e){for(var n,a=window;e&&(n=e.tagName);){if(\"A\"===n||\"AREA\"===n){r.spm_spmAnchorChk(e,!1);var o=a.g_SPM||(a.g_SPM={}),i=o._current_spm=r.spm_getSPMParam(e),s=[];try{s=[i.a,i.b,i.c,i.d];var u=i.e||aplus.pvid||\"\";u&&s.push(u)}catch(t){}break}if(\"BODY\"==n||\"HTML\"==n)break;e=e.parentNode}}var o=n(77),r=n(114);e.run=function(t){var e=document;t&&t.isTouchEnabled?o.on(e,\"tapSpm\",a):(o.on(e,\"mousedown\",a),o.on(e,\"keydown\",a))}},function(t,e,n){\"use strict\";function a(t,e){if(e||(e=p),p.evaluate)return e.evaluate(t,p,null,9,null).singleNodeValue;for(var n,o=t.split(\"/\");!n&&o.length>0;)n=o.shift();var r,i=/^.+?\\[@id='(.+?)']$/i,s=/^(.+?)\\[(\\d+)]$/i;return(r=n.match(i))?e=e.getElementById(r[1]):(r=n.match(s))&&(e=e.getElementsByTagName(r[1])[parseInt(r[2])-1]),e?0===o.length?e:a(o.join(\"/\"),e):null}function o(){var t={};for(var e in l)if(l.hasOwnProperty(e)){var n=a(e);if(n){t[e]=1;var o=l[e],r=\"A\"===n.tagName?o.spmd:o.spmc;s.tryToSetAttribute(n,\"data-spm\",r||\"\")}}for(var i in t)t.hasOwnProperty(i)&&delete l[i]}function r(){if(!c&&f.spmData){c=!0;var t=f.spmData.data;if(t&&i.isArray(t)){for(var e=0;e1&&(t=a[0],e=a[1]),c.setA(t),e&&c.setB(e);var o=i.getElementsByTagName(\"body\");o=o&&o.length?o[0]:null,o&&(e=l.tryToGetAttribute(o,\"data-spm\"),e?c.setB(e):1===a.length&&c.setAB(\"0\",\"0\"))}}function o(){var t=s.data.a,e=s.data.b;t&&e&&(aplus.spm_ab=[t,e])}var r=window,i=document,s={},u={};s.data=u;var c={},l=n(23),p=n(17),f=n(115),g=n(48),d=location.href;c.setA=function(t){s.data.a=t,o()},c.setB=function(t){s.data.b=t,o()},c.setAB=function(t,e){s.data.a=t,s.data.b=e,o()};var _=function(t){var e=t.aplus||window.aplus||{},n=e.meta_info||{};s.meta_protocol=n.spm_protocol;var o,r=e.spm_ab||[],i=r[0]||\"0\",u=r[1]||\"0\";\"0\"===i&&\"0\"===u&&(a(),i=s.data.a||\"0\",u=s.data.b||\"0\"),o=[s.data.a,s.data.b].join(\".\"),s.spm_cnt=(o||\"0.0\")+\".0.0\";var c=t.send_pv_count>0?f.makePVId():e.pvid;return c&&(s.spm_cnt+=\".\"+c),e._$.spm=s,c};c.spaInit=function(t,e,n){var a=s.spm_url,o=window.g_SPM||{},r=t._$||{},i=r.send_pv_count,u=_({aplus:t,meta_info:e,send_pv_count:i});s.spm_cnt=s.data.a+\".\"+s.data.b+\".0.0\"+(u?\".\"+u:\"\");var c=e[\"aplus-spm-fixed\"];if(\"1\"!==c){s.spm_pre=p.getSPMFromUrl(g.getRefer(t.globalConfig.NAME_STORAGE_KEYS)),s.origin_spm_pre=s.spm_pre,s.spm_url=p.getSPMFromUrl(location.href),s.origin_spm_url=s.spm_url;var l=o._current_spm||{};l&&l.a&&\"0\"!==l.a&&l.b&&\"0\"!==l.b?(s.spm_url=[l.a,l.b,l.c,l.d,l.e].join(\".\"),s.spm_pre=a):i>0&&n&&\"0\"!==n[0]&&\"0\"!==n[1]&&(s.spm_url=n.concat([\"0\",\"0\"]).join(\".\"),s.spm_pre=a),o._current_spm={}}},c.init=function(t,e){return s.spm_url=p.getSPMFromUrl(d),s.spm_pre=p.getSPMFromUrl(g.getRefer(t.globalConfig.NAME_STORAGE_KEYS)),_({aplus:t,meta_info:e})},c.resetSpmCntPvid=function(){var t=aplus.spm_ab;if(t&&2===t.length){var e=t.join(\".\")+\".0.0\",n=f.makePVId();n&&(e=e+\".\"+n),s.spm_cnt=e,s.spm_url=e,aplus._$.spm=s}},e.run=function(){var t=aplus._$||{},e=t.meta_info;return c.init(aplus,e),c}},function(t,e,n){\"use strict\";t.exports=function(){return{run:function(){n(127)(this.options.context.logConfig)}}}},function(t,e,n){\"use strict\";var a=n(36),o=n(2);t.exports=function(t){var e=o.getGlobalValue(\"aplus\");if(!e._aplus_api){e._aplus_api={status:\"complete\"},e._$.status=\"complete\";var r=n(128).run.create({logConfig:t});for(var i in r)e[i]=r[i];var s=[\"aplusReady\",\"complete\"];a.doPubMsg(s),a.doCachePubs(s)}}},function(t,e,n){\"use strict\";function a(t,e){var n=e.context,a=n.what_to_send,o=a.logdata,r=o.gokey;S(M,function(t){t(r)})}function o(t,e){var n=e.context,a=n.what_to_send,o=a.logdata,r={logkey:o.logkey,gmkey:o.gmkey,gokey:o.gokey,method:o.method};S(C,function(t){t(r)})}function r(){var t=5e3;try{var e=_.getGlobalValue(\"aplus\"),n=e.getMetaInfo(\"aplus-mmstat-timeout\");if(n){var a=parseInt(n);a>=1e3&&a<=1e4&&(t=a)}}catch(t){}return t}function i(t,e,n){var a=t[0],o=t[1],r=(n||{}).spm,i=(n||{}).logkey,s=1;if(r&&r[a]){var u=r[a];s=u.cp,u[o]&&(s=u[o].cp)}else i&&i[e]&&(s=i[e]);var c=Math.ceil(Math.random()*Math.floor(1/s));return c}var s=n(10),u=n(39),c=n(23),l=n(77),p=n(34),f=n(20),g=n(36),d=n(28),_=n(2),m=n(3),h=n(21),v=n(129),b=n(41),y=n(132),E=n(38),S=n(18),A=n(19),T=n(9),P=n(26),I=n(133),w=[],M=[],x=[],C=[];e.run=s.extend({beforeSendPV:function(t){w.push(t)},afterSendPV:function(t){M.push(t)},launch:function(){p.logger({msg:\"warning: This interface is deprecated, can not send pv log, please use goldlog.sendPV instead! API: http://log.alibaba-inc.com/log/info.htm?type=2277&id=31\"})},installPlugin:function(t){T(t)&&t()},send:function(t,e,n){var a,o=_.getGlobalValue(\"aplus\");if(/^\\/\\//.test(t)){var i=m.HTTPS;/^\\/\\/(\\d+\\.){3,}\\d+/.test(t)&&(i=\"http:\"),t=i+t}return a=\"POST\"===n&&navigator&&navigator.sendBeacon?I.postData(t,e):I.sendImg(t+\"?\"+e,r()),o.req=a,a},sendPV:function(t,e){if(t=t||{},d.any(w,function(e){return e(n,t)===!1}))return!1;var n=_.getGlobalValue(\"aplus\"),o=n.getMetaInfo(m.APLUS_SKIP_APV_RULES)||[];if(!b.itemMatch(o,location.href)||!t.is_auto){var r=new v;t.recordType=\"PV\",\"GET\"!==t.method&&(t.method=\"POST\");var i=n.logConfig.pv;return r.run({plugins:i.plugins,context:d.cloneDeep(i.context)},{config:t,userdata:e,pubsubType:\"pv\",messageFnQueue:[a],middlewareMessageKey:\"mw_change_pv\"}),n._last_pv_info={datetime:(new Date).toString(),pageConfig:t,pageParams:e},!0}},pageEnter:function(t){h.pushIntoGoldlogQueue(m.PUBLISH,[m.PAGE_ENTER,t]),h.pushIntoGoldlogQueue(m.CACHE_PUBS,[m.PAGE_ENTER,t])},getParam:function(t){var e=window.WindVane||{},n=e&&\"function\"==typeof e.getParam?e.getParam(t):\"\";return n},beforeRecord:function(t){x.push(t)},afterRecord:function(t){C.push(t)},record:function(t,e,n,a,r){var s=_.getGlobalValue(\"aplus\");if(d.any(x,function(t){return t(s)===!1}))return!1;var u=1;if(E(s.spm_ab)&&s.spm_ab.length>1&&(u=i(s.spm_ab,t,s.getMetaInfo(\"aplus-report-rate\"))),1===u){var c=new v,l=s.logConfig.hjlj;return c.run({plugins:l.plugins,context:d.cloneDeep(l.context)},{config:{recordType:\"COMMON_HJLJ\",method:a},userdata:{logkey:t,gmkey:e,gokey:n||{}},pubsubType:\"hjlj\",messageFnQueue:[o],middlewareMessageKey:\"mw_change_hjlj\"},function(){T(r)&&r()}),!0}return!1},recordUdata:function(t,e,n,a,o){var r=_.getGlobalValue(\"aplus\"),i=new v,s=r.logConfig.hjlj;return i.run({plugins:s.plugins,context:d.cloneDeep(s.context)},{config:{recordType:\"DATACLICK_HJLJ\",method:a},userdata:{logkey:t,gmkey:e,gokey:n||{}},pubsubType:\"hjlj\",messageFnQueue:C,middlewareMessageKey:\"mw_change_hjlj\"},function(){T(o)&&o()}),!0},combineRecord:function(t,e,n,a){var o=_.getGlobalValue(m.APLUS),r=\"EXP\",i=\"CLK\",s=\"OTHER\";if([i,r,s].indexOf(e)>-1||/^\\d+$/.test(e))if(E(n)){a||(a=\"POST\");var u=[];n.forEach(function(t){u.push({exargs:A(t.exargs)?t.exargs:{},scm:t.scm,spm:t.spm,aplusContentId:t.aplusContentId})});var c=[];[i,r].indexOf(e)>-1?(c.push((e===r?\"expdata=\":\"clkdata=\")+JSON.stringify(u)),c.push(e===r?\"_is_auto_exp=1\":\"_is_auto_clk=1\")):c.push(\"combinedata=\"+JSON.stringify(u)),c.push(\"_eventType=custom\"),c.push(\"_method=\"+a),c.push(\"_pkgSize=\"+n.length),c.push(\"_isCombine=1\"),o.record(t,e,c.join(\"&\"),a)}else f().w(\"type of gokeys must be ArrayObject!\");else f().w(\"only support EXP or CLK log to combile record!\")},setPageSPM:function(t,e,n){var a=_.getGlobalValue(\"aplus\"),o=a.getMetaInfo(\"aplus-spm-fixed\");a.spm_ab=a.spm_ab||[];var r=d.cloneDeep(a.spm_ab);t&&(a.spm_ab[0]=\"\"+t,a._$.spm.data.a=\"\"+t),e&&(a.spm_ab[1]=\"\"+e,a._$.spm.data.b=\"\"+e);var i=P.qGet();if(a.spmAPI&&a.spmAPI.spaInit(a,i,r),\"1\"!==o){var s=r.join(\".\");a.spmab_pre=s}var u=[\"setPageSPM\",{spmab_pre:a.spmab_pre,spmab:a.spm_ab.join(\".\")}];g.doPubMsg(u),g.doCachePubs(u),y.resetMetaAndBody(),y.resetModules(),\"function\"==typeof n&&n()},getPageSPM:function(){var t=_.getGlobalValue(\"aplus\");return t.spm_ab||[]},getPageSpmUrl:function(t){var e=_.getGlobalValue(\"aplus\"),n=e._$||{},a=n.spm||{},o=a.spm_url;if(\"object\"!=typeof t&&(t={}),\"undefined\"!=typeof window&&window.__megability_bridge__&&!o){var r=window.__megability_bridge__.syncCall(\"ut\",\"getPageSpmUrl\",t);r&&0===r.statusCode&&r.data&&r.data.spmUrl&&(o=r.data.spmUrl)}return o},getPageSpmPre:function(t){var e=_.getGlobalValue(\"aplus\"),n=e._$||{},a=n.spm||{},o=a.spm_pre;if(\"object\"!=typeof t&&(t={}),\"undefined\"!=typeof window&&window.__megability_bridge__&&!o){var r=window.__megability_bridge__.syncCall(\"ut\",\"getPageSpmPre\",t);r&&0===r.statusCode&&r.data&&r.data.spmPre&&(o=r.data.spmPre)}return o},requestPageAllProperties:function(t){var e=_.getGlobalValue(\"aplus\");t&&\"object\"==typeof t?e.setMetaInfo(\"aplus-allpage-properties\",t):f().w(\"warning: typeof requestPageAllProperties's params must be object\")},setMetaInfo:function(t,e,n){var a,o,r=\"OVERWRITE\",i=r;if(\"object\"==typeof t?(a=t.metaName,o=t.metaValue,i=t.mode||r):(a=t,o=e),i!==r)return this.appendMetaInfo(a,o);if(P.setMetaInfo(a,o,n)){var s=_.getGoldlogVal(\"_$\")||{};s.meta_info=P.qGet();var u=_.setGoldlogVal(\"_$\",s),c=[\"setMetaInfo\",a,o,n];return g.doPubMsg(c),g.doCachePubs(c),u}},appendMetaInfo:P.appendMetaInfo,updatePageProperties:function(t){var e=_.getGlobalValue(\"aplus\");t&&\"object\"==typeof t?(t._page&&(t.pageName=t._page,e.setMetaInfo(\"aplus-pagename\",t.pageName),delete t._page),e.setMetaInfo(\"aplus-page-properties\",t),e.appendMetaInfo(\"aplus-cpvdata\",t)):f().w(\"warning: typeof updatePageProperties's params must be object\")},updateNextPageProperties:function(t){var e=_.getGlobalValue(\"aplus\");\"object\"==typeof t?e.appendMetaInfo(\"aplus-nextpage-properties\",t):f().w(\"warning: typeof updateNextPageProperties's params must be object\")},updatePageName:function(t){var e=_.getGlobalValue(\"aplus\");t&&\"object\"==typeof t?e.setMetaInfo(\"aplus-pagename\",t):f().w(\"warning: typeof updatePageName's params must be object\")},updatePageUrl:function(t){var e=_.getGlobalValue(\"aplus\");t&&\"object\"==typeof t?e.setMetaInfo(\"aplus-pageurl\",t):f().w(\"warning: typeof updatePageUrl's params must be object\")},updatePageUtparam:function(t){var e=_.getGlobalValue(\"aplus\");t&&\"object\"==typeof t?e.setMetaInfo(\"aplus-page-utparam\",t):f().w(\"warning: typeof updatePageUtparam's params must be object\")},updateNextPageUtparam:function(t){var e=_.getGlobalValue(\"aplus\");t&&\"object\"==typeof t?e.setMetaInfo(\"aplus-nextpage-utparam\",t):f().w(\"warning: typeof updateNextPageUtparam's params must be object\")},updateNextPageUtparamCnt:function(t){var e=_.getGlobalValue(\"aplus\");t&&\"object\"==typeof t?e.setMetaInfo(\"aplus-nextpage-utparamcnt\",t):f().w(\"warning: typeof updateNextPageUtparamCnt's params must be object\")},setUserProfile:function(t){var e=_.getGlobalValue(\"aplus\");A(t)?e.setMetaInfo(m.APLUS_USER_PROFILE,t):f().w(\"warning: typeof setUserProfile's params must be object\")},getUserProfile:function(){var t=_.getGlobalValue(\"aplus\");return t.getMetaInfo(m.APLUS_USER_PROFILE)||{}},getMetaInfo:function(t){return P.getMetaInfo(t)},on:l.on,cloneDeep:d.cloneDeep,setCookie:u.setCookie,getCookie:u.getCookie,pageDisappear:function(t){var e=_.getGlobalValue(\"aplus\");\"object\"!=typeof t&&(t={}),e.setMetaInfo(\"aplus-page-disappear\",t)},pageDisAppear:function(t){var e=_.getGlobalValue(\"aplus\");\"object\"!=typeof t&&(t={}),e.setMetaInfo(\"aplus-page-disappear\",t)},pageAppear:function(t){var e=_.getGlobalValue(\"aplus\");\"object\"!=typeof t&&(t={});var n={usePageAppearDontSkip:!0};n=d.assign(n,t),e.setMetaInfo(\"aplus-page-appear\",n)},skipPage:function(t){var e=_.getGlobalValue(\"aplus\");\"object\"!=typeof t&&(t={}),e.setMetaInfo(\"aplus-skip-page\",t)},updateSessionProperties:function(t){var e=_.getGlobalValue(\"aplus\");\"object\"==typeof t?e.setMetaInfo(\"aplus-session-properties\",t):f().w(\"warning: typeof updateSessionProperties's params must be object\")},getElementSPM:function(t,e){var n=\"\";if(t){var a=c.tryToGetAttribute(t,\"data-eltype\")||e;if(window.g_SPM&&T(window.g_SPM.getParam)){var o=g_SPM.getParam(t);if(\"spmc\"===a){var r=c.tryToGetAttribute(t,\"data-spm\")||\"0\";n=[o.a,o.b,r].join(\".\")}else n=[o.a,o.b,o.c,o.d].join(\".\")}}return n}})},function(t,e,n){\"use strict\";var a=n(18),o=n(2),r=n(9),i=n(36),s=n(34),u=n(3),c=n(130),l=n(131),p=function(){};p.prototype.run=function(t,e,n){var p=new l;p.init({middleware:[],config:e.config,plugins:t.plugins});var f=p.run(),g=r(t.context)?new t.context:t.context;g.userdata=e.userdata,g.logger=s.logger;var d={context:g,pubsub:o.getGoldlogVal(\"aplus_pubsub\"),pubsubType:e&&e.pubsubType},_=new c;_.create(d),_.wrap(f,function(){d.context.status=u.COMPLETE,e&&(e.middlewareMessageKey&&i.doPubMsg([e.middlewareMessageKey,d.context]),e.messageFnQueue&&a(e.messageFnQueue,function(e){e(o.getGlobalValue(u.APLUS),t)})),r(n)&&n(d.context)})()},t.exports=p},function(t,e,n){\"use strict\";function a(){}var o=n(9),r=n(41),i=n(20);a.prototype.create=function(t){for(var e in t)\"undefined\"==typeof this[e]&&(this[e]=t[e]);return this},a.prototype.calledList=[],a.prototype.setCalledList=function(t){r.indexof(this.calledList,t)===-1&&this.calledList.push(t)},a.prototype.resetCalledList=function(){this.calledList=[]},a.prototype.wrap=function(t,e){var n=this,a=this.context||{},s=a.compose||{},u=s.maxTimeout||1e4;return function(a){var s,c=t.length,l=0,p=0,f=function(g,d){if(l===c)return a=\"done\",n.resetCalledList(),o(e)&&d!==a&&e.call(n,a),void clearTimeout(s);if(r.indexof(n.calledList,l)===-1){if(n.setCalledList&&n.setCalledList(l),!(t&&t[l]&&o(t[l][0])))return;try{a=t[l][0].call(n,a,function(){l++,p=1,f(l)})}catch(t){i().w(t)}}var _=\"number\"==typeof a;if(\"pause\"===a||_){p=0;var m=_?a:u,h=t[l]?t[l][1]:\"\";s=setTimeout(function(){0===p&&(i().w(\"jump the middleware about \"+h+\", because waiting timeout maxTimeout = \"+m),a=null,l++,f(l))},m)}else\"done\"===a?(l=c,f(l,a)):(l++,f(l))};return n.calledList&&n.calledList.length>0&&n.resetCalledList(),f(l)}},t.exports=a},function(t,e,n){\"use strict\";var a=n(13),o=n(20);t.exports=function(){return{init:function(t){this.opts=t,t&&\"object\"==typeof t.middleware&&t.middleware.length>0?this.middleware=t.middleware:this.middleware=[],this.plugins_name=[]},pubsubInfo:function(t,e){try{var n=t.pubsub;n&&n.publish(\"plugins_change_\"+t.pubsubType,e)}catch(t){o().w(t)}},run:function(t){t||(t=0);var e=this,n=this.middleware,o=this.opts||{},r=o.plugins;if(r&&\"object\"==typeof r&&r.length>0){var i=r[t];if(this.plugins_name.push(i.name),n.push([function(t,n){e.pubsubInfo(this,i);var r=new i.path;return r.init||(r.init=function(t){this.options=t}),r.init({context:this.context,config:a(i.config||{},o.config)}),r.run(t,function(t){setTimeout(function(){n(i,t)},1)})},i.name]),t++,r[t])return this.run(t)}return n}}}},function(t,e,n){function a(t){var e,n,a,o,r=u.getElementsByTagName(\"meta\");for(e=0,n=r.length;e-1&&(t=\"_\"+t),t}var u=n(2),c=n(41),l=n(9),p=n(20),f=n(3),g=function(t,e){function n(){if(t&&c.isArray(t)&&t.length){for(var n=v(t).queue,a={},o=[];a=n.shift();)h(a,e,function(t){o.push(t)});o.length>0&&setTimeout(function(){for(;a=o.shift();)h(a,e)},100)}}try{n()}catch(t){p().w(t)}};e.processGoldlogQueue=g;var d=[],_=[],m=[];e.subscribeAndProcessQueue=function(t,e){var n=u.getGlobalValue(t);n.push({action:f.SUBSCRIBE,arguments:[f.SET_META_INFO,function(t,n){t===f._USER_ID&&n?g(d,e):t===f._ANONY_ID&&n?g(_,e):\"_hold\"===t&&\"START\"===n&&i(e)}]})};var h=function(t,e,n){var a=!!e.isOpenApi,o=t?t.action:\"\",f=t?t.arguments:\"\",g=r(t);if(g){var d=u.getContext();try{if(o&&f&&c.isArray(f)){var _,m=o.split(\".\"),h=d,v=d;if(3===m.length)h=d[m[0]][m[1]]||{},_=s(m[2],a),v=h[_]?h[_]:\"\";else for(;m.length;)if(_=s(m.shift(),a),v=h=h[_],!h)return void(l(n)&&n(t));l(v)&&v.apply(h,f),\"START\"===g&&i(e)}}catch(t){p().w(t)}}};e.processTask=h;var v=function(t,e){for(var n={subscribeMwChangeQueue:[],subscribeMetaQueue:[],installPluginQueue:[],subscribeQueue:[],metaQueue:[],othersQueue:[]},a=[],o={};o=t.shift();)try{var r=o.action,i=o.arguments[0];/subscribe/.test(r)?\"setMetaInfo\"===i?n.subscribeMetaQueue.push(o):i===f.MW_CHANGE_PV||i===f.MW_CHANGE_HJLJ?n.subscribeMwChangeQueue.push(o):n.subscribeQueue.push(o):/MetaInfo/.test(r)?n.metaQueue.push(o):/installPlugin/.test(r)?n.installPluginQueue.push(o):n.othersQueue.push(o)}catch(t){p().w(t),n.othersQueue.push(o)}var s;return e&&n[e]&&(s=n[e],n[e]=[]),a=n.subscribeMwChangeQueue.concat(n.metaQueue),a=a.concat(n.installPluginQueue),a=a.concat(n.subscribeQueue),a=a.concat(n.subscribeMetaQueue,n.othersQueue),{queue:a,formatQueue:s}};e.getFormatQueue=v},function(t,e,n){\"use strict\";var a=n(88),o=n(47),r=n(29),i=n(89),s=n(31),u=n(3),c=n(2),l=n(91);t.exports=function(){return{init:function(t){this.options=t,this.today=a.getFormatDate()},run:function(){var t=this,e=c.getGlobalValue(\"aplus\"),n=l.isCnaEnable();if(n){var a=c.getGoldlogVal(\"globalConfig\");if(s.test()){var p=r.getLsCna(a.ETAG_STORAGE_KEY,t.today);p||setTimeout(function(){var n=e.getMetaInfo(u.APLUS_RHOST_V);if(n){t.options.context.etag.egUrl=n.replace(/\\/\\w+.gif$/,\"\")+\"/eg.js\";var s=i.getUrl(t.options.context.etag||{});l.requestCna(s,function(e){var n=c.getGoldlogVal(\"Etag\");(o(e)||e&&\"error\"!==e.type)&&r.setLsCna(a.ETAG_STORAGE_KEY,t.today,n)})}},1e3)}}}}}},function(t,e,n){\"use strict\";var a=n(10),o=n(2),r=n(135),i=a.extend({push:function(t){this.length++,r.processTask(t,this.opts)}});t.exports=function(){return{processAplusQueue:function(t){var e=this.options.config||{},n=o.getGlobalValue(t);o.setGlobalValue(t,i.create({opts:e,startLength:n.length,length:0})),r.processGoldlogQueue(n,e)},run:function(){var t=this.options.context.aplus_config,e=t.globalConfig.APLUS_QUEUE;this.processAplusQueue(e),\"aplus_queue\"===e&&this.processAplusQueue(\"goldlog_queue\"),r.subscribeAndProcessQueue(e,this.options.config)}}}},function(t,e,n){\"use strict\";var a=n(18),o=n(44),r=n(41);t.exports=function(){return{init:function(t){this.options=t},addStyle:function(t,e){var n=t+\"_style\",a=document.getElementById(n);a||(a=document.createElement(\"link\"),a.id=n,a.href=e,a.rel=\"stylesheet\",a.type=\"text/css\",document.getElementsByTagName(\"head\").item(0).appendChild(a))},run:function(){var t=this,e=parent!==self,n=this.options.config||{};r.isArray(n.urlRules)&&a(n.urlRules,function(n){if(!e||n.allowIframeLoad){var i,s=new RegExp(n.rule);try{i=n.id?window.sessionStorage.getItem(n.id):\"\"}catch(t){}if(s.test(location.href)||i){try{window.sessionStorage.setItem(n.id,!0)}catch(t){}r.isArray(n.cdnPath)?a(n.cdnPath,function(e){/\\.css$/.test(e)?t.addStyle(n.id,e):/\\.js/.test(e)&&o.addScript(e)}):o.addScript(n.cdnPath)}}})}}}},function(t,e,n){\"use strict\";var a=n(3),o=n(44),r=n(77),i=n(2);t.exports=function(){return{run:function(){var t=this.options.config||{},e=i.getGlobalValue(a.APLUS),n=e._$||{},s=n.meta_info||{},u=e&&e.getCdnPath?e.getCdnPath():t.cdnPath,c=u+\"/sd/baxia-entry/index.js\";r.onload(function(){var t=s[\"aplus-xplug\"];\"NONE\"!==t&&o.addScript(c,\"\",\"aplus-baxia\")})}}}},function(t,e,n){\"use strict\";t.exports=function(){return{run:function(){aplus._aplus_cplugin_webvt||n(141)()}}}},function(t,e,n){\"use strict\";function a(t){var e=m.getQueryFromUrl()||{},n=f({},e);return delete n.spm,delete n.utparam,\"config\"===t?n._is_config_pv=\"1\":n._is_auto_pv=\"1\",n}function o(){var t=l.getGlobalValue(\"aplus\"),e=t.getMetaInfo(\"data-spm\")||d.hash(location.host),n=d.hash(location.pathname);return[e,n]}function r(){var t=l.getGlobalValue(\"aplus_queue\"),e=o();t.push({action:\"aplus.setPageSPM\",\narguments:e})}function i(){var t=l.getGlobalValue(\"aplus\"),e=a(\"auto\"),n=t.getPageSPM()||[];\"0\"===n[1]&&r(),aplus_queue.push({action:\"aplus.sendPV\",arguments:[{is_auto:!0},e]})}function s(){var t=l.getGlobalValue(\"aplus\"),e=l.getGlobalValue(\"aplus_queue\"),n=t.getMetaInfo(p.APLUS_SPA_TYPE);[\"history\",\"hash\"].indexOf(n)>-1?(i(),e.push({action:\"aplus.aplus_pubsub.subscribe\",arguments:[p.APLUS_PAGE_CHANGE,function(){r();var t=a(\"auto\");e.push({action:\"aplus.sendPV\",arguments:[{is_auto:!0},t]})}]})):i()}function u(t){var e=l.getGlobalValue(\"aplus\"),n=l.getGlobalValue(\"aplus_queue\"),r=e.getMetaInfo(p.APLUS_AUTO_PV)||[],i=a(\"config\");g(r,function(e){var a=e.match,r=v(a)&&a(t)||b(a)&&a.test(t.pathname);if(r){var s=e.pageSPM||v(e.getPageSPM)&&e.getPageSPM(t)||o(),u=v(e.formatter)&&e.formatter(i,t)||{};u._is_config_pv=\"1\",n.push({action:\"aplus.setPageSPM\",arguments:s}),n.push({action:\"aplus.sendPV\",arguments:[{is_auto:!1},u]})}})}function c(){var t=l.getGlobalValue(\"aplus\"),e=t.getMetaInfo(p.APLUS_SPA_TYPE);u({pathname:location.pathname}),[\"history\",\"hash\"].indexOf(e)>-1&&aplus_queue.push({action:\"aplus.aplus_pubsub.subscribe\",arguments:[p.APLUS_PAGE_CHANGE,function(t){u(t)}]}),aplus_queue.push({action:\"aplus.aplus_pubsub.subscribe\",arguments:[\"setMetaInfo\",function(t){t===p.APLUS_AUTO_PV&&u({pathname:location.pathname})}]})}var l=n(2),p=n(3),f=n(13),g=n(18),d=n(59),_=n(45),m=n(17),h=n(77),v=n(9),b=n(142),y=n(19);t.exports=function(){var t=l.getGlobalValue(\"aplus\"),e=l.getGlobalValue(\"aplus_queue\"),n=_.getConfig()||{},a=t.getMetaInfo(\"aplus-waiting\"),o=t.getMetaInfo(\"aplus-cross-day-auto-pv\"),r=n.pvTrack;t._aplus_apv||(t._aplus_apv={status:\"complete\"},\"off\"===r||\"MAN\"===a?c():s(),\"on\"===o&&h.on(document.body,\"click\",function(){var n=t._last_pv_info;if(y(n)){var a=new Date,o=new Date(n.datetime);if(a.getFullYear()>o.getFullYear()||a.getMonth()>o.getMonth()||a.getDate()>o.getDate()){var r=n.pageConfig||{},i=n.pageParams||{};i._is_cross_day_auto_pv=\"1\",e.push({action:\"aplus.sendPV\",arguments:[r,i]})}}}))}},function(t,e){function n(t){return\"[object RegExp]\"===Object.prototype.toString.call(t)}t.exports=n},function(t,e,n){\"use strict\";t.exports=function(){return{run:function(){n(144)()}}}},function(t,e,n){\"use strict\";function a(){var t=d.getGlobalValue(\"aplus_queue\"),e=[];m(L,function(t,n){e.push(n)}),t.push({action:\"aplus.appendMetaInfo\",arguments:[_.APLUS_SINGLE_RECORD_LOGKEYS,e]})}function o(t,e){var n=[{to:\"_form_id\",getValue:function(){return t===L.INIT?e:T.getCurrentFormId()}}];return t!==L.INIT&&n.push({to:\"_form_session\",getValue:function(){var t=P.createFormBridgeByFormId(e);return t.getSessionId()}}),n}function r(t){var e=w.getMetaInfo(t),n=[];return y(e)&&m(e,function(t){t.from!==U&&n.push(t)}),n}function i(t){var e=t.logkey,n=t.cssSelector,a={logkey:e,cssSelector:n,props:o(e,t.formId),formatter:function(n,a){var o=Date.now(),r=e===L.INIT?t.formId:T.getCurrentFormId(),i=P.createFormBridgeByFormId(r),s=i.getTimestamp(O.FORM_INIT);if(e===L.INIT){a.setAttribute(N,r);var u=Math.random().toString(36).substring(2,10);i.setSessionId(u),n._form_session=u,i.reset(),i.setTimestamp(O.FORM_INIT,o),T.setCurrentFormId(r),i.setStatus(R.INACTIVATED)}else if(e===L.SUCCESS_SUBMIT)i.setTimestamp(O.FORM_LATEST_SUCCESS_SUBMIT,o),n._form_duration=o-s;else if(e===L.FAIL_SUBMIT)i.setTimestamp(O.FORM_LATEST_FAIL_SUBMIT,o),n._form_duration=o-s,n._form_error_text=a.innerText;else if(e===L.FIELD_VALIDATE_ERROR){i.setTimestamp(O.FORM_FIELD_LATEST_FAIL_INPUT,o);var c=i.loopGetFormFieldLabelDom(a);n._form_field_name=c&&c.innerText||\"\",n._form_field_error_text=a.innerText}return h().i(k,e,n),n},filter:function(n,a){var o=e===L.INIT?t.formId:T.getCurrentFormId();if(!S(o)){var r=P.createFormBridgeByFormId(o);if([L.FAIL_SUBMIT,L.FIELD_VALIDATE_ERROR,L.SUCCESS_SUBMIT].indexOf(a.logkey)>-1){var i=r.getTimestamp(O.FORM_INIT);return!S(i)}return!0}},from:U};return a}function s(t){var e=t.logkey,n=t.cssSelector,a={logkey:e,cssSelector:n,props:o(e,t.formId),enableMultipleConfig:!0,formatter:function(n,a){var o=Date.now(),r=e===L.INIT?t.formId:T.getCurrentFormId(),i=P.createFormBridgeByFormId(r),s=i.getTimestamp(O.FORM_INIT);if(s){if(T.setCurrentFormId(r),e===L.SUBMIT)i.setTimestamp(O.FORM_LATEST_FAIL_SUBMIT,void 0),i.setTimestamp(O.FORM_LATEST_SUCCESS_SUBMIT,void 0),i.setTimestamp(O.FORM_LATEST_SUBMIT,o),n._form_duration=o-s,i.recordLatestFieldInfo(o),i.setStatus(R.ACTIVATED);else if(e===L.FIELD_DURATION){var u=i.getLatestFieldInfo(o);n._form_field_name=u.latestFieldName,n._form_field_duration=u.latestFieldDuration,i.setTimestamp(O.FORM_FIELD_LATEST_START,o),i.setInputingFormItemDom(a)}return h().i(k,e,n),n}},filter:function(n,a){var o=e===L.INIT?t.formId:T.getCurrentFormId();if(!S(o)){var r=P.createFormBridgeByFormId(o),i=T.getCurrentFormId();if(S(i))return!1;var s=!1;if(a.logkey===L.FIELD_DURATION){var u=Date.now(),c=r.getInputingFormItemDom();S(c)&&(r.setTimestamp(O.FORM_FIELD_LATEST_START,u),r.setInputingFormItemDom(n)),r.setStatus(R.ACTIVATED),s=c&&c!==n}else if(a.logkey===L.SUBMIT){var l=document.querySelector(r.getFormElementQuerySelectorStr());s=!E(l)}else s=!0;return s}},from:U};return a}function u(t){var e=d.getGlobalValue(\"aplus_queue\"),n=r(_.APLUS_AUTO_CLK);e.push({action:\"aplus.setMetaInfo\",arguments:[_.APLUS_AUTO_CLK,n.concat(t)]})}function c(t){var e=d.getGlobalValue(\"aplus_queue\"),n=r(_.APLUS_AUTO_EXP);e.push({action:\"aplus.setMetaInfo\",arguments:[_.APLUS_AUTO_EXP,n.concat(t)]})}function l(){var t=d.getGlobalValue(\"aplus_queue\"),e=v(function(){var e=T.getFormCacheMap();m(e,function(e){var n=e,a=P.createFormBridgeByFormId(e),o=a.getTimestamp(O.FORM_INIT),r=a.getTimestamp(O.FORM_LEAVE),i=a.getTimestamp(O.FORM_LATEST_SUBMIT),s=a.getTimestamp(O.FORM_LATEST_SUCCESS_SUBMIT),u=a.getTimestamp(O.FORM_LATEST_FAIL_SUBMIT),c=a.getTimestamp(O.FORM_FIELD_LATEST_FAIL_INPUT),l=document.querySelector(a.getFormElementQuerySelectorStr()),p=E(l)&&!S(o)&&S(r)&&(S(i)||c>i||!S(s)||!S(u));if(p){a.reset();var f=Date.now();a.setTimestamp(O.FORM_LEAVE,f);var g=L.LEAVE,d={_form_id:n,_form_session:a.getSessionId(),_form_duration:f-o,_form_status:a.getStatus().toLocaleLowerCase()};t.push({action:\"aplus.record\",arguments:[g,\"CLK\",d,\"POST\"]}),h().i(k,g,d)}})},200);return t.push({action:\"aplus.aplus_pubsub.subscribe\",arguments:[_.APLUS_DOM_CHANGE,e]}),function(){t.push({action:\"aplus.aplus_pubsub.unsubscribe\",arguments:[_.APLUS_DOM_CHANGE,e]})}}function p(){var t=d.getGlobalValue(\"aplus_queue\");t.push({action:\"aplus.aplus_pubsub.subscribe\",arguments:[_.APLUS_PAGE_CHANGE,function(){g()}]})}function f(t,e){var n=!1;return m(t,function(t){t.cssSelector===e&&(n=!0)}),n}function g(){var t=I.getMatchedForms(w[x].formConfigs||[]);if(T.clearFormCache(),b(M)&&M(),M=l(),y(t)){a();var e=[],n=[];m(t,function(t){if(T.initFormCacheByFormConfig(t),t.formRootSelector&&!f(e,t.formRootSelector)&&e.push(i({cssSelector:t.formRootSelector,logkey:L.INIT,formId:t.formId})),t.formItemSelector&&!f(n,t.formItemSelector)&&n.push(s({cssSelector:t.formItemSelector,logkey:L.FIELD_DURATION,formId:t.formId})),t.formItemErrorInfoSelector&&!f(e,t.formItemErrorInfoSelector)&&e.push(i({cssSelector:t.formItemErrorInfoSelector,logkey:L.FIELD_VALIDATE_ERROR,formId:t.formId})),t.formSubmitButtonSelector&&!f(n,t.formSubmitButtonSelector)&&n.push(s({cssSelector:t.formSubmitButtonSelector,logkey:L.SUBMIT,formId:t.formId})),t.formSubmitSuccessFeature){var a=t.formSubmitSuccessFeature.type,o=t.formSubmitSuccessFeature.content;\"layer\"===a&&o&&!f(e,o)&&e.push(i({cssSelector:o,logkey:L.SUCCESS_SUBMIT,formId:t.formId}))}t.formSubmitFailureFeatureSelector&&!f(e,t.formSubmitFailureFeatureSelector)&&e.push(i({cssSelector:t.formSubmitFailureFeatureSelector,logkey:L.FAIL_SUBMIT,formId:t.formId}))}),u(n),c(e)}}var d=n(2),_=n(3),m=n(18),h=n(20),v=n(63),b=n(9),y=n(38),E=n(62),S=n(65),A=n(145),T=n(146),P=n(147),I=n(148),w=d.getGlobalValue(\"aplus\"),M=null,x=A.CACHE_KEY,C=A.FORM_CACHE_MAP_KEY,L=A.ACTION_TYPE_LOGKEY_MAP,O=A.LIFECYCLE_TIMESTAMP_ANCHOR_MAP,U=A.FORM_TAG,k=A.FORM_LOG_PREFIX,R=A.FORM_STATUS,N=A.FORM_NODE_ATTRIBUTE_NAME;t.exports=function(){var t=d.getGlobalValue(\"aplus\");b(t.getMetaInfo)&&\"on\"===t.getMetaInfo(\"aplus-form-track\")&&(t[x]||(t[x]={status:\"init\"},t[x][C]={},I.fetchConfig(function(e){t[x].status=\"complete\",t[x].formConfigs=e,g(),p()})))}},function(t,e){\"use strict\";var n=\"[form log] -- \",a=\"/aplus.form.\",o=\"_aplus_form_track\",r=\"formCacheMap\",i=\"form_track\",s=\"lifecycleTimestamp\",u={FORM_INIT:\"formInit\",FORM_LATEST_SUBMIT:\"formLatestSubmit\",FORM_LATEST_SUCCESS_SUBMIT:\"formLatestSuccessSubmit\",FORM_FIELD_LATEST_FAIL_INPUT:\"formFieldLatestFailInput\",FORM_LATEST_FAIL_SUBMIT:\"formLatestFailSubmit\",FORM_LEAVE:\"formLeave\",FORM_FIELD_LATEST_START:\"formFieldLatestStart\"},c={INIT:a+\"init\",LEAVE:a+\"leave\",FIELD_VALIDATE_ERROR:a+\"field_validate_error\",FIELD_DURATION:a+\"field_duration\",SUBMIT:a+\"submit\",SUCCESS_SUBMIT:a+\"success_submit\",FAIL_SUBMIT:a+\"fail_submit\"},l={ACTIVATED:\"ACTIVATED\",INACTIVATED:\"INACTIVATED\"},p=\"data-aplus-form-id\";t.exports={FORM_LOG_PREFIX:n,CACHE_KEY:o,FORM_CACHE_MAP_KEY:r,FORM_TAG:i,LIFECYCLE_TIMESTAMP:s,LIFECYCLE_TIMESTAMP_ANCHOR_MAP:u,ACTION_TYPE_LOGKEY_MAP:c,FORM_STATUS:l,FORM_NODE_ATTRIBUTE_NAME:p}},function(t,e,n){\"use strict\";var a=n(2),o=n(145),r=a.getGlobalValue(\"aplus\"),i=o.CACHE_KEY,s=o.FORM_CACHE_MAP_KEY,u=o.LIFECYCLE_TIMESTAMP;t.exports={clearFormCache:function(){r[i][s]={}},initFormCacheByFormConfig:function(t){var e={labelSelector:t.formItemLabelSelector};e[u]={},r[i][s][t.formId]=e},getFormCacheMap:function(){var t=r[i][s]||(r[i][s]={});return t},getFormCacheByFormId:function(t){var e=this.getFormCacheMap(),n=e[t];return n},setCurrentFormId:function(t){r[i].currentFormId=t},getCurrentFormId:function(){return r[i].currentFormId}}},function(t,e,n){\"use strict\";var a=n(2),o=n(20),r=n(62),i=n(146),s=n(145),u=s.LIFECYCLE_TIMESTAMP,c=s.ACTION_TYPE_LOGKEY_MAP,l=s.LIFECYCLE_TIMESTAMP_ANCHOR_MAP,p=s.FORM_LOG_PREFIX,f=s.FORM_NODE_ATTRIBUTE_NAME;t.exports={createFormBridgeByFormId:function(t){var e=i.getFormCacheByFormId(t);return{getFormElementQuerySelectorStr:function(){return\"[\"+f+'=\"'+t+'\"]'},reset:function(){this.clearTimestamps(),this.setInputingFormItemDom(null)},setStatus:function(t){e.status=t},getStatus:function(){return e.status},getTimestamp:function(t){return e[u][t]},setTimestamp:function(t,n){e[u][t]=n},clearTimestamps:function(){e[u]={}},getSessionId:function(){return e.sessionId},setSessionId:function(t){e.sessionId=t},getInputingFormItemDom:function(){return e.inputingFormItemDom},setInputingFormItemDom:function(t){e.inputingFormItemDom=t},getLabelSelector:function(){return e.labelSelector},loopGetFormFieldLabelDom:function(t){for(var e=this,n=e.getLabelSelector(),a=t,o=10,i=0,s=null;a&&r(a.getAttribute(f))&&i0&&localStorage.setItem(\"aplusDebug\",e[1]),a=\"true\"===localStorage.getItem(\"aplusDebug\")}else a=!1;return o.setGoldlogVal(\"aplusDebug\",a),a&&r().setDebug(a),a}},function(t,e,n){\"use strict\";var a=n(129),o=n(9),r=n(36);e.run=function(t,e){var n=new a;n.run({plugins:t.plugins,context:t.context},{config:{},userdata:{},pubsubType:\"aplusinit\",messageFnQueue:[],middlewareMessageKey:\"mw_change_aplusinit\"},function(t){var n=[\"aplusInitContext\",t];r.doPubMsg(n),r.doCachePubs(n),o(e)&&e(t)})}}]);/*! 2025-03-27 16:49:48 aplus_spmact.js */\n!function(t){function e(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return t[n].call(a.exports,a,a.exports,e),a.loaded=!0,a.exports}var r={};return e.m=t,e.c=r,e.p=\"\",e(0)}([function(t,e,r){t.exports=r(1)},function(t,e){\"use strict\";!function(){function t(t,e,r){t[_]((h?\"on\":\"\")+e,function(t){t=t||s.event;var e=t.target||t.srcElement;r(t,e)},!1)}function e(){return/&?\\bspm=[^&#]*/.test(location.href)?location.href.match(/&?\\bspm=[^&#]*/gi)[0].split(\"=\")[1]:\"\"}function r(t,e){if(t&&/&?\\bspm=[^&#]*/.test(t)&&(t=t.replace(/&?\\bspm=[^&#]*/g,\"\").replace(/&{2,}/g,\"&\").replace(/\\?&/,\"?\").replace(/\\?$/,\"\")),!e)return t;var r,n,a,i,o,c,p,s=\"&\";if(t.indexOf(\"#\")!=-1&&(a=t.split(\"#\"),t=a.shift(),n=a.join(\"#\")),i=t.split(\"?\"),o=i.length-1,a=i[0].split(\"//\"),a=a[a.length-1].split(\"/\"),c=a.length>1?a.pop():\"\",o>0&&(r=i.pop(),t=i.join(\"?\")),r&&o>1&&r.indexOf(\"&\")==-1&&r.indexOf(\"%\")!=-1&&(s=\"%26\"),t=t+\"?spm=\"+e+(r?s+r:\"\")+(n?\"#\"+n:\"\"),p=c.indexOf(\".\")>-1?c.split(\".\").pop().toLowerCase():\"\"){if({png:1,jpg:1,jpeg:1,gif:1,bmp:1,swf:1}.hasOwnProperty(p))return 0;!r&&o<=1&&(n||{htm:1,html:1,php:1}.hasOwnProperty(p)||(t+=\"&file=\"+c))}return t}function n(t){function e(t){return t=t.replace(/refpos[=(%3D)]\\w*/gi,c).replace(i,\"%3D\"+n+\"%26\"+a.replace(\"=\",\"%3D\")).replace(o,n),a.length>0&&(t+=\"&\"+a),t}var r=window.location.href,n=r.match(/mm_\\d{0,24}_\\d{0,24}_\\d{0,24}/i),a=r.match(/[&\\?](pvid=[^&]*)/i),i=new RegExp(\"%3Dmm_\\\\d+_\\\\d+_\\\\d+\",\"ig\"),o=new RegExp(\"mm_\\\\d+_\\\\d+_\\\\d+\",\"ig\");a=a&&a[1]?a[1]:\"\";var c=r.match(/(refpos=(\\d{0,24}_\\d{0,24}_\\d{0,24})?(,[a-z]+)?)(,[a-z]+)?/i);return c=c&&c[0]?c[0]:\"\",n?(n=n[0],e(t)):t}function a(e){var r=s.KISSY;r?r.ready(e):s.jQuery?jQuery(m).ready(e):\"complete\"===m.readyState?e():t(s,\"load\",e)}function i(t,e){return t&&t.getAttribute?t.getAttribute(e)||\"\":\"\"}function o(t){if(t){var e,r=g.length;for(e=0;e-1)return!0;return!1}}function c(t,e){if(t&&/&?\\bspm=[^&#]*/.test(t)&&(t=t.replace(/&?\\bspm=[^&#]*/g,\"\").replace(/&{2,}/g,\"&\").replace(/\\?&/,\"?\").replace(/\\?$/,\"\")),!e)return t;var r,n,a,i,o,c,p,s=\"&\";if(t.indexOf(\"#\")!=-1&&(a=t.split(\"#\"),t=a.shift(),n=a.join(\"#\")),i=t.split(\"?\"),o=i.length-1,a=i[0].split(\"//\"),a=a[a.length-1].split(\"/\"),c=a.length>1?a.pop():\"\",o>0&&(r=i.pop(),t=i.join(\"?\")),r&&o>1&&r.indexOf(\"&\")==-1&&r.indexOf(\"%\")!=-1&&(s=\"%26\"),t=t+\"?spm=\"+e+(r?s+r:\"\")+(n?\"#\"+n:\"\"),p=c.indexOf(\".\")>-1?c.split(\".\").pop().toLowerCase():\"\"){if({png:1,jpg:1,jpeg:1,gif:1,bmp:1,swf:1}.hasOwnProperty(p))return 0;!r&&o<=1&&(n||{htm:1,html:1,shtml:1,php:1}.hasOwnProperty(p)||(t+=\"&__file=\"+c))}return t}function p(t){if(o(t.href)){var r=i(t,u);if(!r){var n=l()(t),a=[n.a,n.b,n.c,n.d].join(\".\");n.e&&(n+=\".\"+n.e),d&&(a=[n.a||\"0\",n.b||\"0\",n.c||\"0\",n.d||\"0\"].join(\".\"),a=(e()||\"0.0.0.0.0\")+\"_\"+a),t.href=c(t.href,a),t.setAttribute(u,a)}}}var s=window,m=document;if(1!==s.aplus_spmact){s.aplus_spmact=1;var f=function(){return{a:0,b:0,c:0,d:0,e:0}},l=function(){return s.g_SPM&&s.g_SPM.getParam?s.g_SPM.getParam:f},d=!0;try{d=self.location!=top.location}catch(t){}var u=\"data-spm-act-id\",g=[\"mclick.simba.taobao.com\",\"click.simba.taobao.com\",\"click.tanx.com\",\"click.mz.simba.taobao.com\",\"click.tz.simba.taobao.com\",\"redirect.simba.taobao.com\",\"rdstat.tanx.com\",\"stat.simba.taobao.com\",\"s.click.taobao.com\"],h=!!m.attachEvent,b=\"attachEvent\",v=\"addEventListener\",_=h?b:v;t(m,\"mousedown\",function(t,e){for(var r,n=0;e&&(r=e.tagName);){if(\"A\"==r||\"AREA\"==r){p(e);break}if(\"BODY\"==r||\"HTML\"==r)break;e=e.parentNode,n+=1}}),a(function(){for(var t,a,o=document.getElementsByTagName(\"iframe\"),c=0;c\",w=n&&n.createElement(\"div\"),g=[],x={webkit:void 0,edge:void 0,trident:void 0,gecko:void 0,presto:void 0,chrome:void 0,safari:void 0,firefox:void 0,ie:void 0,ieMode:void 0,opera:void 0,mobile:void 0,core:void 0,shell:void 0,phantomjs:void 0,os:void 0,ipad:void 0,iphone:void 0,ipod:void 0,ios:void 0,android:void 0,nodejs:void 0,extraName:void 0,extraVersion:void 0};if(w&&w.getElementsByTagName&&(w.innerHTML=p.replace(v,\"\"),g=w.getElementsByTagName(\"s\")),g.length>0){for(_(e,x),s=f[0],c=f[1];s<=c;s++)if(w.innerHTML=p.replace(v,s),g.length>0){x[b=\"ie\"]=s;break}!x.ie&&(d=N(e))&&(x[b=\"ie\"]=d)}else((a=e.match(/AppleWebKit\\/*\\s*([\\d.]*)/i))||(a=e.match(/Safari\\/([\\d.]*)/)))&&a[1]?(x[m=\"webkit\"]=y(a[1]),(a=e.match(/OPR\\/(\\d+\\.\\d+)/))&&a[1]?x[b=\"opera\"]=y(a[1]):(a=e.match(/Chrome\\/([\\d.]*)/))&&a[1]?x[b=\"chrome\"]=y(a[1]):(a=e.match(/\\/([\\d.]*) Safari/))&&a[1]?x[b=\"safari\"]=y(a[1]):x.safari=x.webkit,(a=e.match(/Edge\\/([\\d.]*)/))&&a[1]&&(m=b=\"edge\",x[m]=y(a[1])),/ Mobile\\//.test(e)&&e.match(/iPad|iPod|iPhone/)?(x.mobile=\"apple\",a=e.match(/OS ([^\\s]*)/),a&&a[1]&&(x.ios=y(a[1].replace(\"_\",\".\"))),t=\"ios\",a=e.match(/iPad|iPod|iPhone/),a&&a[0]&&(x[a[0].toLowerCase()]=x.ios)):/ Android/i.test(e)?(/Mobile/.test(e)&&(t=x.mobile=\"android\"),a=e.match(/Android ([^\\s]*);/),a&&a[1]&&(x.android=y(a[1]))):(a=e.match(/NokiaN[^\\/]*|Android \\d\\.\\d|webOS\\/\\d\\.\\d/))&&(x.mobile=a[0].toLowerCase()),(a=e.match(/PhantomJS\\/([^\\s]*)/))&&a[1]&&(x.phantomjs=y(a[1]))):(a=e.match(/Presto\\/([\\d.]*)/))&&a[1]?(x[m=\"presto\"]=y(a[1]),(a=e.match(/Opera\\/([\\d.]*)/))&&a[1]&&(x[b=\"opera\"]=y(a[1]),(a=e.match(/Opera\\/.* Version\\/([\\d.]*)/))&&a[1]&&(x[b]=y(a[1])),(a=e.match(/Opera Mini[^;]*/))&&a?x.mobile=a[0].toLowerCase():(a=e.match(/Opera Mobi[^;]*/))&&a&&(x.mobile=a[0]))):(d=N(e))?(x[b=\"ie\"]=d,_(e,x)):(a=e.match(/Gecko/))&&(x[m=\"gecko\"]=.1,(a=e.match(/rv:([\\d.]*)/))&&a[1]&&(x[m]=y(a[1]),/Mobile|Tablet/.test(e)&&(x.mobile=\"firefox\")),(a=e.match(/Firefox\\/([\\d.]*)/))&&a[1]&&(x[b=\"firefox\"]=y(a[1])));t||(t=i());var z,O,T;if(!r(\"type\",\"application/vnd.chromium.remoting-viewer\")){z=\"scoped\"in n.createElement(\"style\"),T=\"v8Locale\"in o;try{O=o.external||void 0}catch(e){}if(a=e.match(/360SE/))u=\"360\";else if((a=e.match(/SE\\s([\\d.]*)/))||O&&\"SEVersion\"in O)u=\"sougou\",h=y(a[1])||.1;else if((a=e.match(/Maxthon(?:\\/)+([\\d.]*)/))&&O){u=\"maxthon\";try{h=y(O.max_version||a[1])}catch(e){h=.1}}else z&&T?u=\"360se\":z||T||!/Gecko\\)\\s+Chrome/.test(k)||x.opera||x.edge||(u=\"360ee\")}(a=e.match(/TencentTraveler\\s([\\d.]*)|QQBrowser\\/([\\d.]*)/))?(u=\"tt\",h=y(a[2])||.1):(a=e.match(/LBBROWSER/))||O&&\"LiebaoGetVersion\"in O?u=\"liebao\":(a=e.match(/TheWorld/))?(u=\"theworld\",h=3):(a=e.match(/TaoBrowser\\/([\\d.]*)/))?(u=\"taobao\",h=y(a[1])||.1):(a=e.match(/UCBrowser\\/([\\d.]*)/))&&(u=\"uc\",h=y(a[1])||.1),x.os=t,x.core=x.core||m,x.shell=b,x.ieMode=x.ie&&n.documentMode||x.ie,x.extraName=u,x.extraVersion=h;var P=o.screen.width,M=o.screen.height;return x.resolution=P+\"x\"+M,x},S=function(e){function i(e){return Object.prototype.toString.call(e)}function o(e,o,n){if(\"[object Function]\"==i(o)&&(o=o(n)),!o)return null;var r={name:e,version:\"\"},t=i(o);if(o===!0)return r;if(\"[object String]\"===t){if(n.indexOf(o)!==-1)return r}else if(o.exec){var a=o.exec(n);if(a)return a.length>=2&&a[1]?r.version=a[1].replace(/_/g,\".\"):r.version=\"\",r}}var n={name:\"other\",version:\"\"};e=(e||\"\").toLowerCase();for(var r=[[\"nokia\",function(e){return e.indexOf(\"nokia \")!==-1?/\\bnokia ([0-9]+)?/:/\\bnokia([a-z0-9]+)?/}],[\"samsung\",function(e){return e.indexOf(\"samsung\")!==-1?/\\bsamsung(?:[ \\-](?:sgh|gt|sm))?-([a-z0-9]+)/:/\\b(?:sgh|sch|gt|sm)-([a-z0-9]+)/}],[\"wp\",function(e){return e.indexOf(\"windows phone \")!==-1||e.indexOf(\"xblwp\")!==-1||e.indexOf(\"zunewp\")!==-1||e.indexOf(\"windows ce\")!==-1}],[\"pc\",\"windows\"],[\"ipad\",\"ipad\"],[\"ipod\",\"ipod\"],[\"iphone\",/\\biphone\\b|\\biph(\\d)/],[\"mac\",\"macintosh\"],[\"mi\",/\\bmi[ \\-]?([a-z0-9 ]+(?= build|\\)))/],[\"hongmi\",/\\bhm[ \\-]?([a-z0-9]+)/],[\"aliyun\",/\\baliyunos\\b(?:[\\-](\\d+))?/],[\"meizu\",function(e){return e.indexOf(\"meizu\")>=0?/\\bmeizu[\\/ ]([a-z0-9]+)\\b/:/\\bm([0-9x]{1,3})\\b/}],[\"nexus\",/\\bnexus ([0-9s.]+)/],[\"huawei\",function(e){var i=/\\bmediapad (.+?)(?= build\\/huaweimediapad\\b)/;return e.indexOf(\"huawei-huawei\")!==-1?/\\bhuawei\\-huawei\\-([a-z0-9\\-]+)/:i.test(e)?i:/\\bhuawei[ _\\-]?([a-z0-9]+)/}],[\"lenovo\",function(e){return e.indexOf(\"lenovo-lenovo\")!==-1?/\\blenovo\\-lenovo[ \\-]([a-z0-9]+)/:/\\blenovo[ \\-]?([a-z0-9]+)/}],[\"zte\",function(e){return/\\bzte\\-[tu]/.test(e)?/\\bzte-[tu][ _\\-]?([a-su-z0-9\\+]+)/:/\\bzte[ _\\-]?([a-su-z0-9\\+]+)/}],[\"vivo\",/\\bvivo(?: ([a-z0-9]+))?/],[\"htc\",function(e){return/\\bhtc[a-z0-9 _\\-]+(?= build\\b)/.test(e)?/\\bhtc[ _\\-]?([a-z0-9 ]+(?= build))/:/\\bhtc[ _\\-]?([a-z0-9 ]+)/}],[\"oppo\",/\\boppo[_]([a-z0-9]+)/],[\"konka\",/\\bkonka[_\\-]([a-z0-9]+)/],[\"sonyericsson\",/\\bmt([a-z0-9]+)/],[\"coolpad\",/\\bcoolpad[_ ]?([a-z0-9]+)/],[\"lg\",/\\blg[\\-]([a-z0-9]+)/],[\"android\",/\\bandroid\\b|\\badr\\b/],[\"blackberry\",function(e){return e.indexOf(\"blackberry\")>=0?/\\bblackberry\\s?(\\d+)/:\"bb10\"}]],t=0;t0?o.ratio:r.jsErrorRecordRatio}),e=[\"Message: \"+o.message,\"Error object: \"+o.error,\"Url: \"+location.href].join(\" - \"),c=goldlog.spm_ab||[],i=location.hostname+location.pathname;t.run({code:110,page:i,msg:\"record_jserror_by\"+s+\"_\"+o.message,spm_a:c[0],spm_b:c[1],c1:e,c2:o.filename,c3:location.protocol+\"//\"+i,c4:goldlog.pvid||\"\",c5:o.logid||\"\"})}catch(o){a.logger({msg:o})}},do_tracker_lostpv:function(o){var t=!1;try{if(o&&o.page){var e=o.spm_ab?o.spm_ab.split(\".\"):[],c=\"record_lostpv_by\"+s+\"_\"+o.msg,i=new n({ratio:o.ratio||r.lostPvRecordRatio});i.run({code:102,page:o.page,msg:c,spm_a:e[0],spm_b:e[1],c1:o.duration,c2:o.page_url}),t=!0}}catch(o){a.logger({msg:o})}return t},do_tracker_obsolete_inter:function(o){var t=!1;try{if(o&&o.page){var e=o.spm_ab?o.spm_ab.split(\".\"):[],c=\"record_obsolete interface be called by\"+s,i=new n({ratio:o.ratio||r.obsoleteInterRecordRatio});i.run({code:109,page:o.page,msg:c,spm_a:e[0],spm_b:e[1],c1:o.interface_name,c2:o.interface_params},1),t=!0}}catch(o){a.logger({msg:o})}return t},do_tracker_browser_support:function(o){var t=!1;try{if(o&&o.page){var e=o.spm_ab?o.spm_ab.split(\".\"):[],c=new n({ratio:o.ratio||r.browserSupportRatio}),i=goldlog._aplus_client||{},l=i.ua_info||{};c.run({code:111,page:o.page,msg:o.msg+\"_by\"+s,spm_a:e[0],spm_b:e[1],c1:[l.o,l.b,l.w].join(\"_\"),c2:o.etag||\"\",c3:o.cna||\"\"}),t=!0}}catch(o){a.logger({msg:o})}return t},do_tracker_common_analysis:function(o){var t=!1;try{if(o&&o.page){var e=o.spm_ab?o.spm_ab.split(\".\"):[],c=new n({ratio:o.ratio||r.browserSupportRatio}),i=goldlog._aplus_client||{},l=i.ua_info||{};c.run({code:113,page:o.page,msg:o.msg+\"_by\"+s,spm_a:e[0],spm_b:e[1],c1:[l.o,l.b,l.w].join(\"_\"),c2:o.init_time||\"\",c3:o.wspv_time||0,c4:o.load_time||0,c5:o.channel_type}),t=!0}}catch(o){a.logger({msg:o})}return t}}}},function(o,t){\"use strict\";t.lostPvRecordRatio=\"0.01\",t.obsoleteInterRecordRatio=\"0.001\",t.jsErrorRecordRatio=\"0.001\",t.browserSupportRatio=\"0.001\",t.goldlogQueueRatio=\"0.01\"},function(o,t){\"use strict\";var e=function(o){var t=o.level||\"warn\";window.console&&window.console[t]&&window.console[t](o.msg)};t.logger=e,t.assign=function(o,t){if(\"function\"!=typeof Object.assign){var e=function(o){if(null===o)throw new TypeError(\"Cannot convert undefined or null to object\");for(var t=Object(o),e=1;e-1}var f=window;e.assign=o,e.makeCacheNum=function(){return Math.floor(268435456*Math.random()).toString(16)},e.each=n(10),e.isStartWith=function(t,e){return 0===t.indexOf(e)},e.isEndWith=function(t,e){var n=t.length,o=e.length;return n>=o&&t.indexOf(e)==n-o},e.any=function(t,e){var n,o=t.length;for(n=0;n-1&&(r=1),a.setTime(a.getTime()+365*r*24*60*60*1e3),e+=\"; expires=\"+a.toUTCString()}e+=\"; path=\"+(n.path?n.path:\"/\"),e+=\"; domain=\"+n.domain,s.cookie=t+\"=\"+e;var i=0;try{var u=navigator.userAgent.match(/Chrome\\/\\d+/);u&&u[0]&&(i=u[0].split(\"/\")[1],i&&(i=parseInt(i)))}catch(t){}return n.SameSite&&i>=80&&(e+=\"; SameSite=\"+n.SameSite,e+=\"; Secure\",s.cookie=t+\"=\"+e),o(t)}function r(t,e,n){try{if(n||(n={}),n.domain)a(t,e,n);else for(var o=l.getDomains(),r=0;r0&&(n=i[0])}return n||(n=r.is_terminal?\"m.gif\":\"v.gif\"),n},run:function(){var t=!!this.options.context.is_single;if(!t){var e=this.getAplusMetaByKey(\"aplus-rhost-v\"),n=this.options.context.where_to_sendpv||{},a=n.url||\"\",r=this.getGifPath(n.urlRule,a),i=o.getPvUrl({metaName:\"aplus-rhost-v\",metaValue:e,gifPath:r,url:o.filterIntUrl(a)});n.url=i,this.options.context.where_to_sendpv=n}}}}},function(t,e,n){\"use strict\";function o(t){t=(t||\"\").split(\"#\")[0].split(\"?\")[0];var e=t.length,n=function(t){var e,n=t.length,o=0;for(e=0;e1&&e===r[0]?r[1]:\"\":r.length>1?r[1]:\"\"}return decodeURIComponent(n)}return\"\"},setLsCna:function(t,e,n){n&&a.set&&a.test()&&a.set(t,e+\"_\"+encodeURIComponent(n))},getUrl:function(t){var e=t||\"//log.mmstat.com/eg.js\";try{var n=goldlog.getMetaInfo(\"aplus-rhost-v\"),o=/[[a-z|0-9\\.]+[a-z|0-9]/,a=n.match(o);a&&a[0]&&(e=e.replace(o,a[0]))}catch(t){}return e}}},function(t,e){\"use strict\";function n(t){return\"string\"==typeof t?t.replace(/^\\s+|\\s+$/g,\"\"):\"\"}e.trim=n},function(t,e){\"use strict\";t.exports={set:function(t,e){try{return localStorage.setItem(t,e),!0}catch(t){return!1}},get:function(t){try{return localStorage.getItem(t)}catch(t){return\"\"}},test:function(){var t=\"grey_test_key\";try{return localStorage.setItem(t,1),localStorage.removeItem(t),!0}catch(t){return!1}},remove:function(t){localStorage.removeItem(t)}}},function(t,e,n){\"use strict\";var o=n(9),a=function(){if(goldlog.aplusDebug){var t=location.protocol;return\"http:\"!==t&&\"https:\"!==t&&(t=\"https:\"),t}return\"https:\"};e.getProtocal=a,e.isStartWithProtocol=function(t){for(var e=[\"javascript:\",\"tel:\",\"sms:\",\"mailto:\",\"tmall://\",\"#\"],n=0,a=e.length;n-1},l=0;l0?n.param2obj(t.substring(0,u)):{};delete p[\"\"],s=n.obj2param(c.assign(p,r))+\"&\"+t.substring(u,t.length)}else s=n.obj2param(r)+\"&\"+o;return s}return a}catch(t){return a}};e.mergeExparams=d},function(t,e,n){\"use strict\";var o=n(32),a=n(3),r=n(11),i=n(30),s=n(19),u=n(33),c=n(34),l=n(25),p=n(4);t.exports=function(){return{init:function(t){this.options=t;var e=this.options.context.etag||{};this.cna=e.cna||r.getCookie(\"cna\"),this.setTag(0),this.setStag(-1),this.setLsTag(\"-1\"),this.setEtag(this.cna||\"\"),this.requesting=!1,this.today=u.getFormatDate()},setLsTag:function(t){this.lstag=t,this.options.context.etag.lstag=t},setTag:function(t){this.tag=t,this.options.context.etag.tag=t},setStag:function(t){this.stag=t,this.options.context.etag.stag=t},setEtag:function(t){t&&(this.etag=t,this.options.context.etag.cna=t,r.getCookie(\"cna\")!==t&&(o.publishCNA(t),r.setCookie(\"cna\",t,{SameSite:\"none\"})))},setLscnaStatus:function(t){this.options.context.etag.lscnastatus=t},run:function(t,e){var n=this;if(n.cna)return void n.setTag(1);var o=null,r=c.getUrl(this.options.context.etag||{});n.requesting=!0;var u=function(){setTimeout(function(){e()},20),clearTimeout(o)};return i.loadScript(r,function(t){var e,o;if(t&&\"error\"===t.type?(n.setStag(-3),a.do_tracker_jserror({message:\"loadError\",error:\"\",filename:\"etag_ls\"})):(e=l.getGoldlogVal(\"Etag\"),o=l.getGoldlogVal(\"stag\"),\"undefined\"!=typeof o&&n.setStag(o)),!n.requesting)return void n.setEtag(e);if(2===o||4===o){var r=s.getLsCna(p.LS_CNA_KEY);r?(n.setLsTag(1),n.setEtag(r)):(n.setLsTag(0),s.setLsCna(p.LS_CNA_KEY,n.today,e),n.setEtag(e))}else n.setEtag(e);u()}),o=setTimeout(function(){n.requesting=!1,n.setStag(-2),e()},1500),2e3}}}},function(t,e){\"use strict\";var n=\"function\",o=function(){var t=window.goldlog||{},e=t.aplus_pubsub||{},o=typeof e.publish===n;return o?e:\"\"},a=function(t){var e=o();e&&typeof e.publish===n&&e.publish.apply(e,t)};e.doPubMsg=a;var r=function(t){var e=o();e&&typeof e.cachePubs===n&&e.cachePubs.apply(e,t)};e.doCachePubs=r,e.doSubMsg=function(t,e){var a=o();a&&typeof a.subscribe===n&&a.subscribe(t,e)},e.doSubOnceMsg=function(t,e){var a=o();a&&typeof a.subscribeOnce===n&&a.subscribeOnce(t,e)},e.publishCNA=function(t){if(t){var e=[\"CNA\",{value:t}];a(e),r(e)}}},function(t,e){\"use strict\";function n(t,e,n){var o=\"\"+Math.abs(t),a=e-o.length,r=t>=0;return(r?n?\"+\":\"\":\"-\")+Math.pow(10,Math.max(0,a)).toString().substr(1)+o}e.getFormatDate=function(t){var e=new Date;try{return[e.getFullYear(),n(e.getMonth()+1,2,0),n(e.getDate(),2,0)].join(t||\"\")}catch(t){return\"\"}}},function(t,e,n){\"use strict\";var o=n(19);e.getUrl=function(t){var e=(new Date).getTime(),n=o.getUrl(t&&t.egUrl?t.egUrl:\"gj.mmstat.com/eg.js\"),a=n.match(/[\\w+\\.]+[a-z|A-Z|0-9]+\\/(eg|ge).js/);return 0!==n.indexOf(\"http\")&&a&&a.length>0&&(n=\"//\"+a[0]),n+\"?t=\"+e}},function(t,e,n){\"use strict\";var o=n(19),a=n(30),r=n(34),i=n(4),s=n(33),u=n(21);t.exports=function(){return{init:function(t){this.options=t,this.today=s.getFormatDate()},run:function(){var t=this;if(u.test()){var e=o.getLsCna(i.LS_CNA_KEY,t.today);e||setTimeout(function(){var e=r.getUrl(t.options.context.etag||{});a.loadScript(e,function(e){e&&\"error\"!==e.type&&o.setLsCna(i.LS_CNA_KEY,t.today,goldlog.Etag)})},1e3)}}}}},function(t,e,n){\"use strict\";e.plugins_pv=[{name:\"etag\",enable:!0,path:n(37)},{name:\"when_to_sendpv\",enable:!0,path:n(38)},{name:\"where_to_sendlog_ut\",enable:!0,path:n(39)},{name:\"is_single\",enable:!0,path:n(41)},{name:\"what_to_pvhash\",enable:!0,path:n(45)},{name:\"what_to_sendpv\",enable:!0,path:n(46)},{name:\"what_to_sendpv_userdata\",enable:!0,path:n(50),deps:[\"what_to_sendpv\"]},{name:\"what_to_sendpv_etag\",enable:!0,path:n(55),deps:[\"etag\",\"what_to_sendpv\"]},{name:\"what_to_sendpv_ut2\",enable:n(56),path:n(57),deps:[\"where_to_sendlog_ut\",\"is_single\"]},{name:\"what_to_sendpv_ut\",enable:!0,path:n(58),deps:[\"where_to_sendlog_ut\",\"is_single\"]},{name:\"what_to_pv_slog\",enable:!0,path:n(59),deps:[\"what_to_sendpv\"]},{name:\"can_to_sendpv\",enable:!0,path:n(60)},{name:\"where_to_sendpv\",enable:!0,path:n(17),deps:[\"is_single\"]},{name:\"do_sendpv\",enable:!0,path:n(61),deps:[\"is_single\",\"what_to_sendpv\",\"where_to_sendpv\"]},{name:\"do_sendpv_ut2\",enable:n(56),path:n(62),deps:[\"what_to_sendpv_ut2\",\"where_to_sendlog_ut\"]},{name:\"do_sendpv_ut\",enable:n(56),path:n(63),deps:[\"what_to_sendpv_ut\",\"where_to_sendlog_ut\"]},{name:\"after_pv\",enable:!0,path:n(64)}]},function(t,e,n){\"use strict\";var o=n(32);t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=this;o.doSubOnceMsg(\"aplusInitContext\",function(e){e.etag&&(t.options.context.etag=e.etag)})}}}},function(t,e,n){\"use strict\";var o=n(25),a=n(23),r=n(26);t.exports=function(){return{init:function(t){this.options=t},getMetaInfo:function(){var t=o.getGoldlogVal(\"_$\")||{},e=t.meta_info||r.getInfo();return e},getAplusWaiting:function(){var t=this.getMetaInfo()||{};return t[\"aplus-waiting\"]},run:function(t,e){var n=this.options.config||{},o=this.getAplusWaiting();if(o&&n.is_auto)switch(o=this.getAplusWaiting()+\"\",this.options.context.when_to_sendpv={aplusWaiting:o},o){case\"MAN\":return\"done\";case\"1\":return this.options.context.when_to_sendpv.isWait=!0,a.sleep(6e3,function(){e()}),6e3;default:var r=1*o;if(r+\"\"!=\"NaN\")return this.options.context.when_to_sendpv.isWait=!0,a.sleep(r,function(){e()}),r}}}}},function(t,e,n){\"use strict\";var o=n(40);t.exports=function(){return{init:function(t){this.options=t},getAplusToUT:function(t){return{toUT2:o.getAplusToUT(\"toUT2\",t),toUT:o.getAplusToUT(\"toUT\",t)}},run:function(){if(\"Umeng4Aplus\"===goldlog.aplusBridgeName)this.options.context.where_to_sendlog_ut.toUTName=\"toUT2\";else{var t=this.getAplusToUT(this.options.config.recordType);this.options.context.where_to_sendlog_ut.aplusToUT=t}}}}},function(t,e){\"use strict\";var n=navigator.userAgent,o=/WindVane/i.test(n);e.is_WindVane=o;var a=function(){var t=goldlog.getMetaInfo(\"aplus_chnl\");return!(!t||!t.isAvailable||\"function\"!=typeof t.toUT2&&\"function\"!=typeof t.toUT)&&t};e.isAplusChnl=a,e.getAplusToUT=function(t,e){var n={},r=a();if(\"object\"==typeof r)n.bridgeName=r.bridgeName||\"customBridge\",n.bridgeVersion=r.bridgeVersion||r.version||\"\",n.isAvailable=r.isAvailable,n.toUT2=r.toUT2||r.toUT;else{var i=window.WindVane||{};if(o&&i&&i.isAvailable&&\"function\"==typeof i.call){var s=t||\"toUT\",u=goldlog.getMetaInfo(\"aplus-toUT\")+\"\";\"toUT2HC\"===u&&\"PV\"===e&&(s=u),n={bridgeName:\"WindVane\",bridgeVersion:i.version||\"\",isAvailable:!0,toUT2:function(t,e,n,o){return i.call(\"WVTBUserTrack\",s,t,e,n,o)}}}}return n}},function(t,e,n){\"use strict\";var o=n(25),a=n(42),r=n(43),i=n(4);t.exports=function(){return{init:function(t){this.options=t,this._$=o.getGoldlogVal(\"_$\")||{},this.isBoth=\"1\"===this._$.meta_info[\"aplus-both-request\"],this.is_WindVane=this._$.is_WindVane},isSingle_pv:function(t){return t?!this.isBoth:!(!this.is_WindVane||!r.isSingleUaVersion()||this.isBoth)},isSingle_hjlj:function(t,e){return e?!this.isBoth:!(!this.is_WindVane||!r.isSingleSendLog(t)||this.isBoth)},isSingle_uhjlj:function(t,e){return(!t||!/^\\/aplus\\.99\\.(\\d)+$/.test(t.logkey))&&(e?!this.isBoth:!(!(this.is_WindVane&&t&&t.logkey&&r.isSingleUaVersion())||this.isBoth))},run:function(){var t=this.options.context||{},e=this.options.config||{},n=t.where_to_sendlog_ut.aplusToUT||{},o=n.toUT||{},r=n.toUT2||{},s=a.isNative4Aplus(),u=!!(o.isAvailable||r.isAvailable||s),c=t.userdata||{},l=!!t.is_single;switch(e.recordType){case i.recordTypes.uhjlj:l=this.isSingle_uhjlj(c,s);break;case i.recordTypes.hjlj:l=this.isSingle_hjlj(c,s);break;case i.recordTypes.pv:l=this.isSingle_pv(s);break;default:l=this.isSingle_pv(s)}this.options.context.is_single=u&&l,this.options.context.ut_is_available=u}}}},function(t,e){\"use strict\";var n=\"UT4Aplus\",o=\"Umeng4Aplus\";e.isNative4Aplus=function(){var t=goldlog.getMetaInfo(\"aplus-toUT\"),e=goldlog.aplusBridgeName;return e===n&&t===n||e===o},e.haveNativeFlagInUA=function(){var t=goldlog.aplusBridgeName;if(!t&&\"boolean\"!=typeof t){var e=new RegExp([n,o].join(\"|\"),\"i\"),a=navigator.userAgent.match(e);t=!!a&&a[0],goldlog.aplusBridgeName=t}return!!t}},function(t,e,n){\"use strict\";var o=n(44),a=n(42),r=function(t){var e=t.logkey.toLowerCase();0===e.indexOf(\"/\")&&(e=e.substr(1));var n=t.gmkey?t.gmkey.toUpperCase():\"OTHER\";switch(n){case\"EXP\":return\"2201\";case\"CLK\":return\"2101\";case\"SLD\":return\"19999\";case\"OTHER\":default:return\"19999\"}},i=/\\sA2U\\/x/.test(window.navigator.userAgent),s=function(){var t=window.navigator.userAgent,e=!1,n=/AliApp\\((DM|DY|DingTalk|CN|LA)\\/(\\d+[._]\\d+[._]\\d+)/i,r=n.test(t);return e=r,i||a.haveNativeFlagInUA()||e||o.webviewIsAbove({version_ios_tb:[5,11,7],version_ios_tm:[5,24,1],version_android_tb:[5,11,7],version_android_tm:[5,24,1]})};e.isSingleUaVersion=s,e.isSingleSendLog=function(t){return(!t||!/^\\/fsp\\.1\\.1$/.test(t.logkey))&&!!(t&&t.logkey&&s())},e.getFunctypeValue=function(t){return e.isSingleSendLog(t)?r(t):\"2101\"},e.getFunctypeValue2=function(t){return r(t)}},function(t,e){\"use strict\";var n=function(t){var e=[0,0,0];try{if(t){var n=t[1],o=n.split(\".\");if(o.length>2)for(var a=0;ae[0],a=t[1]>e[1],r=t[2]>e[2],i=t[0]===e[0],s=t[1]===e[1],u=t[2]===e[2];n=!!o||(!(!i||!a)||(!!(i&&s&&r)||!!(i&&s&&u)))}catch(t){n=!1}finally{return n}};e.isAboveVersion=o,e.webviewIsAbove=function(t,e){var a=!1;try{e||(e=navigator.userAgent);var r=e.match(/AliApp\\(TB\\/(\\d+[._]\\d+[._]\\d+)/i),i=n(r),s=e.match(/AliApp\\(TM\\/(\\d+[._]\\d+[._]\\d+)/i),u=n(s),c=/iPhone|iPad|iPod|ios/i.test(e),l=/android/i.test(e);c?r&&i?a=o(i,t.version_ios_tb):s&&u&&(a=o(u,t.version_ios_tm)):l&&(r&&i?a=o(i,t.version_android_tb):s&&u&&(a=o(u,t.version_android_tm)))}catch(t){a=!1}return a},e.webviewIsEqual=function(t,e){var n=!1;try{e||(e=navigator.userAgent);var o=e.match(/AliApp\\(CN\\/(\\d+[._]\\d+[._]\\d+)/i),a=o?o[1]:\"0.0.0\",r=e.match(/AliApp\\(DingTalk\\/(\\d+[._]\\d+[._]\\d+)/i),i=r?r[1]:\"0.0.0\",s=/iPhone|iPad|iPod|ios/i.test(e),u=/android/i.test(e);s?o&&a?n=t.version_ios_cn===a:r&&i&&(n=t.version_ios_dd===i):u&&(o&&a?n=t.version_android_cn===a:r&&i&&(n=t.version_android_dd===i))}catch(t){n=!1}return n},e.webviewIsBelow=function(t,e){var a=!1;try{e||(e=navigator.userAgent);var r=e.match(/AliApp\\(CN\\/(\\d+[._]\\d+[._]\\d+)/i),i=n(r),s=/iPhone|iPad|iPod|ios/i.test(e),u=/android/i.test(e);s?r&&i&&(a=!o(i,t.version_ios_cn)):u&&r&&i&&(a=!o(i,t.version_android_cn))}catch(t){a=!1}return a}},function(t,e,n){\"use strict\";var o=n(25);t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=this.options.context.what_to_pvhash||{},e=o.getGoldlogVal(\"_$\")||{},n=e.meta_info||{},a=n[\"aplus-pvhash\"]||\"\",r=[];\"1\"===a&&(r=[\"_aqx_uri\",encodeURIComponent(location.href)]),t.hash=r,this.options.context.what_to_pvhash=t}}}},function(t,e,n){\"use strict\";var o=n(18),a=n(9),r=n(30),i=n(25),s=n(27),u=n(11),c=n(47),l=n(48),p=n(49);t.exports=function(){return a.assign(p,{init:function(t){this.options=t,this.cookie_data||(this.cookie_data=u.getData()),this.client_info||(this.client_info=i.getClientInfo()||{});\nvar e=location.hash;e&&0===e.indexOf(\"#\")&&(e=e.substr(1)),this.loc_hash=e},getExParams:function(){var t=window,e=document,n=[],u=parent!==t.self,l=e.getElementById(\"beacon-aplus\")||e.getElementById(\"tb-beacon-aplus\"),p=s.tryToGetAttribute(l,\"exparams\"),g=r.mergeExparams(p,r.getExParamsFromMeta(),o)||\"\";g=g.replace(/&/g,\"&\");var f,d,_=[\"taobao.com\",\"tmall.com\",\"etao.com\",\"hitao.com\",\"taohua.com\",\"juhuasuan.com\",\"alimama.com\"],h=i.getGoldlogVal(\"_$\")||{},m=h.meta_info||{};if(u&&!m[\"aplus-ifr-pv\"]){for(d=_.length,f=0;f=0&&t.splice(r,1)}function r(t,e,n,o){var a,r,i=t.length,s=-1,u=\"function\"==typeof n;for(a=0;a-1?t.splice(s,0,[e,n]):t.push([e,n]))}t.exports={updateSPMCnt:n,updateSPMUrl:o,updateKey:r,removeKey:a}},function(t,e,n){\"use strict\";function o(t,e){var n,o=2146271213;for(n=0;n2&&(g[1]=l,e.spm_cnt=g.join(\".\"))}}var f=function(t){if(\"object\"==typeof t)for(var e in t)\"object\"!=typeof t[e]&&\"function\"!=typeof t[e]&&c.push([e,t[e]])};f(goldlog.getMetaInfo(\"aplus-cpvdata\")),f(r);var d=i.getCookie(\"workno\")||i.getCookie(\"emplId\");d&&c.push([\"workno\",d]);var _=i.getHng();_&&c.push([\"_hng\",i.getHng()]);var h=this.getPageInfo();return h&&(c.push([\"_pw\",h.width]),c.push([\"_ph\",h.height])),c},processLodashDollar:function(){var t=this.options.config||{},e=a.getGoldlogVal(\"_$\")||{};t&&t.referrer&&(e.page_referrer=t.referrer),a.setGoldlogVal(\"_$\",e)},updatePre:function(t){var e=a.getGoldlogVal(\"_$\")||{};return e.page_referrer&&r.updateKey(t,\"pre\",e.page_referrer),t},run:function(){var t=this.options.context.what_to_sendpv.pvdata,e=this.getUserdata();this.processLodashDollar();var n=t,o=this.options.context.what_to_pvhash.hash;o&&o.length>0&&n.push(o),n=n.concat(e),n=this.updatePre(n);var a=this.getPageId();a&&r.updateSPMCnt(n,a),this.options.context.what_to_sendpv.pvdata=n,this.options.context.userdata=e}}}},function(t,e,n){\"use strict\";function o(){if(!s.data.a||!s.data.b){var t=r._SPM_a,e=r._SPM_b;if(t&&e)return t=t.replace(/^{(\\w+\\/)}$/g,\"$1\"),e=e.replace(/^{(\\w+\\/)}$/g,\"$1\"),s.is_wh_in_page=!0,void c.setAB(t,e);var n=goldlog._$.meta_info;t=n[\"data-spm\"]||n[\"spm-id\"]||\"0\";var o=t.split(\".\");o.length>1&&(t=o[0],e=o[1]),c.setA(t),e&&c.setB(e);var a=i.getElementsByTagName(\"body\");a=a&&a.length?a[0]:null,a&&(e=l.tryToGetAttribute(a,\"data-spm\"),e?c.setB(e):1===o.length&&c.setAB(\"0\",\"0\"))}}function a(){var t=s.data.a,e=s.data.b;t&&e&&(goldlog.spm_ab=[t,e])}var r=window,i=document,s={},u={};s.data=u;var c={},l=n(27),p=n(52),g=location.href,f=n(53).getRefer(),d=n(4);c.setA=function(t){s.data.a=t,a()},c.setB=function(t){s.data.b=t,a()},c.setAB=function(t,e){s.data.a=t,s.data.b=e,a()};var _=p.getSPMFromUrl,h=function(){var t=d.utilPvid.makePVId();return d.mustSpmE?t||goldlog.pvid||\"\":t||\"\"},m=function(t,e){var n=t.goldlog||window.goldlog||{},a=n.meta_info||{};s.meta_protocol=a.spm_protocol;var r,i=n.spm_ab||[],u=i[0]||\"0\",c=i[1]||\"0\";\"0\"===u&&\"0\"===c&&(o(),u=s.data.a||\"0\",c=s.data.b||\"0\"),r=[s.data.a,s.data.b].join(\".\"),s.spm_cnt=(r||\"0.0\")+\".0.0\";var l=t.send_pv_count>0?h():n.pvid;l&&(s.spm_cnt+=\".\"+l),n._$.spm=s,\"function\"==typeof e&&e(l)};c.spaInit=function(t,e,n,o){var a=\"function\"==typeof o?o:function(){},r=s.spm_url,i=window.g_SPM||{},u=t._$||{},c=u.send_pv_count;m({goldlog:t,meta_info:e,send_pv_count:c},function(t){s.spm_cnt=s.data.a+\".\"+s.data.b+\".0.0\"+(t?\".\"+t:\"\");var o=e[\"aplus-spm-fixed\"];if(\"1\"!==o){s.spm_pre=_(f),s.origin_spm_pre=s.spm_pre,s.spm_url=_(location.href),s.origin_spm_url=s.spm_url;var u=i._current_spm||{};u&&u.a&&\"0\"!==u.a&&u.b&&\"0\"!==u.b?(s.spm_url=[u.a,u.b,u.c,u.d,u.e].join(\".\"),s.spm_pre=r):c>0&&n&&\"0\"!==n[0]&&\"0\"!==n[1]&&(s.spm_url=n.concat([\"0\",\"0\"]).join(\".\"),s.spm_pre=r),i._current_spm={}}a()})},c.init=function(t,e,n){s.spm_url=_(g),s.spm_pre=_(f),m({goldlog:t,meta_info:e},function(){\"function\"==typeof n&&n()})},c.resetSpmCntPvid=function(){var t=goldlog.spm_ab;if(t&&2===t.length){var e=t.join(\".\")+\".0.0\",n=h();n&&(e=e+\".\"+n),s.spm_cnt=e,s.spm_url=e,goldlog._$.spm=s}},t.exports=c},function(t,e){\"use strict\";function n(t,e){if(!t||!e)return\"\";var n,o=\"\";try{var a=new RegExp(\"[?|&]+\"+t+\"=([^&|#|?|/]+)\");if(\"spm\"===t||\"scm\"===t){var r=new RegExp(\"\\\\?.*\"+t+\"=([\\\\w\\\\.\\\\-\\\\*/]+)\"),i=e.match(a),s=e.match(r),u=i&&2===i.length?i[1]:\"\",c=s&&2===s.length?s[1]:\"\";o=u>c?u:c,o=decodeURIComponent(o)}else n=e.match(a),o=n&&2===n.length?n[1]:\"\"}catch(t){}finally{return o}}e.getParamFromUrl=n,e.getSPMFromUrl=function(t){return n(\"spm\",t)}},function(t,e,n){\"use strict\";var o=n(54).nameStorage,a=n(5);e.getRefer=function(){var t=a.KEY||{},e=t.NAME_STORAGE||{};return document.referrer||o.getItem(e.REFERRER)||\"\"}},function(t,e){\"use strict\";var n=function(){function t(){var t,e=[],r=!0;for(var l in p)p.hasOwnProperty(l)&&(r=!1,t=p[l]||\"\",e.push(c(l)+s+c(t)));n.name=r?o:a+c(o)+i+e.join(u)}function e(t,e,n){t&&(t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent&&t.attachEvent(\"on\"+e,function(e){n.call(t,e)}))}var n=window;if(n.nameStorage)return n.nameStorage;var o,a=\"nameStorage:\",r=/^([^=]+)(?:=(.*))?$/,i=\"?\",s=\"=\",u=\"&\",c=encodeURIComponent,l=decodeURIComponent,p={},g={};return function(t){if(t&&0===t.indexOf(a)){var e=t.split(/[:?]/);e.shift(),o=l(e.shift())||\"\";for(var n,i,s,c=e.join(\"\"),g=c.split(u),f=0,d=g.length;f0&&(this.options.context.what_to_sendpv.pvdata=t.concat(n))},run:function(){this.updateBasicParams(),this.addTagParams()}}}},function(t,e,n){\"use strict\";var o=n(44),a=n(40),r=n(42),i=/\\sA2U\\/x/.test(window.navigator.userAgent),s=function(t){t||(t=window.navigator.userAgent);var e=goldlog.getMetaInfo(\"aplus-toUT\")+\"\",n=a.isAplusChnl(),s=/AliApp\\((DM|DY|DingTalk|CN|LA)\\/(\\d+[._]\\d+[._]\\d+)/i,u=s.test(t),c=o.webviewIsAbove({version_ios_tb:[6,6,0],version_ios_tm:[5,28,0],version_android_tb:[6,6,2],version_android_tm:[5,32,0]},t);return c||(c=r.haveNativeFlagInUA()||i||\"2\"===e||\"toUT2HC\"===e||u),n&&\"AliBCBridge\"!==n.bridgeName&&(c=!!n.toUT2),c};e.isToUT2=s,e.isEnable=function(t,e){var n=s(e),o=!0;switch(t){case\"what_to_hjlj_ut2\":case\"do_sendhjlj_ut2\":case\"what_to_sendpv_ut2\":case\"do_sendpv_ut2\":o=!!n;break;case\"what_to_hjlj_ut\":case\"do_sendhjlj_ut\":case\"what_to_sendpv_ut\":case\"do_sendpv_ut\":o=!n}return o}},function(t,e,n){\"use strict\";function o(t){var e,n,o,a,r=[],s={};for(e=t.length-1;e>=0;e--)n=t[e],o=n[0],o&&o.indexOf(i.s_plain_obj)==-1&&s.hasOwnProperty(o)||(a=n[1],(\"aplus\"==o||a)&&(r.unshift([o,a]),s[o]=1));return r}function a(t){var e,n,o,a,r=[],u={logtype:!0,cache:!0,scr:!0,\"spm-cnt\":!0};for(e=t.length-1;e>=0;e--)if(n=t[e],o=n[0],a=n[1],!(s.isStartWith(o,i.s_plain_obj)&&!s.isStartWith(o,i.mkPlainKeyForExparams())||u[o]))if(s.isStartWith(o,i.mkPlainKeyForExparams())){var c=i.param2arr(a);if(\"object\"==typeof c&&c.length>0)for(var l=c.length-1;l>=0;l--){var p=c[l];p&&p[1]&&r.unshift([p[0],p[1]])}}else r.unshift([o,a]);return r}function r(){var t={isonepage:\"-1\",urlpagename:\"\"},e=g.qGet();if(e&&e.hasOwnProperty(\"isonepage_data\"))t.isonepage=e.isonepage_data.isonepage,t.urlpagename=e.isonepage_data.urlpagename;else{var n=c.getMetaCnt(\"isonepage\")||\"-1\",o=n.split(\"|\");t.isonepage=o[0],t.urlpagename=o[1]?o[1]:\"\"}return t}var i=n(18),s=n(9),u=n(25),c=n(28),l=n(52),p=n(42),g=n(26),f=n(4),d=n(11);t.exports=function(){return{init:function(t){this.options=t},keyIsAvailable:function(t){var e=[\"functype\",\"funcId\",\"spm-cnt\",\"spm-url\",\"spm-pre\",\"_ish5\",\"_is_g2u\",\"_h5url\",\"cna\",\"isonepage\",\"lver\",\"jsver\"];return i.indexof(e,t)===-1},valIsAvailable:function(t){return\"object\"!=typeof t&&\"function\"!=typeof t},upUtData:function(t,e){var n=this;if(t=t?t:{},e&&\"object\"==typeof e)for(var o in e){var a=e[o];o&&n.valIsAvailable(a)&&n.keyIsAvailable(o)&&(t[o]=a)}return t},getToUtData:function(t){var e=u.getGoldlogVal(\"_$\")||{},n=e.spm||{},s=this.options.context||{},c=!!s.is_single,p=s.what_to_sendpv||{},g=a(o(p.exparams||[]));g=i.arr2obj(g);var _=i.arr2obj(p.pvdata),h=a(o(s.userdata||[]));h=i.arr2obj(h);var m=location.href,v={},b=l.getParamFromUrl(\"scm\",m)||\"\";b&&(v.scm=b);var y=l.getParamFromUrl(\"pg1stepk\",m)||\"\";y&&(v.pg1stepk=y);var w=l.getParamFromUrl(\"point\",m)||\"\";w&&(v.issb=1),_&&_.mansndlog&&(v.mansndlog=_.mansndlog),v=this.upUtData(v,g),v=this.upUtData(v,h);var x=r();v.functype=\"page\",v.funcId=\"2001\",v.url=goldlog.getMetaInfo(\"aplus-pagename\")||location.origin+location.pathname,v._ish5=\"1\",v._h5url=m,v._toUT=2,v._bridgeName=t.bridgeName||\"\",v._bridgeVersion=t.bridgeVersion||\"\",v[\"spm-cnt\"]=n.spm_cnt||\"\",v[\"spm-url\"]=n.spm_url||\"\",v[\"spm-pre\"]=n.spm_pre||\"\",v.cna=d.getCookie(\"cna\"),v.lver=goldlog.lver||f.lver,v.jsver=f.script_name,v.pver=goldlog.aplus_cplugin_ver,v.isonepage=x.isonepage;var T=goldlog.getMetaInfo(\"aplus-utparam\");return T&&(v[\"utparam-cnt\"]=JSON.stringify(T)),v._is_g2u_=c?1:2,v},run:function(){var t=this.options.context||{},e=t.what_to_sendpv_ut2||{},n=t.where_to_sendlog_ut||{},o=n.aplusToUT||{},a=o.toUT2||{};(a&&a.isAvailable&&\"function\"==typeof a.toUT2||p.haveNativeFlagInUA())&&(e.pvdataToUt=this.getToUtData(a),this.options.context.what_to_sendpv_ut2=e)}}}},function(t,e,n){\"use strict\";function o(t){var e,n,o,a,i=[],s={};for(e=t.length-1;e>=0;e--)n=t[e],o=n[0],o&&o.indexOf(r.s_plain_obj)==-1&&s.hasOwnProperty(o)||(a=n[1],(\"aplus\"==o||a)&&(i.unshift([o,a]),s[o]=1));return i}function a(t){var e,n,o,a,s=[],u={logtype:!0,cache:!0,scr:!0,\"spm-cnt\":!0};for(e=t.length-1;e>=0;e--)if(n=t[e],o=n[0],a=n[1],!(i.isStartWith(o,r.s_plain_obj)&&!i.isStartWith(o,r.mkPlainKeyForExparams())||u[o]))if(i.isStartWith(o,r.mkPlainKeyForExparams())){var c=r.param2arr(a);if(\"object\"==typeof c&&c.length>0)for(var l=c.length-1;l>=0;l--){var p=c[l];p&&p[1]&&s.unshift([p[0],p[1]])}}else s.unshift([o,a]);return s}var r=n(18),i=n(9),s=n(25),u=n(28),c=n(42),l=n(26),p=n(4),g=n(11);t.exports=function(){return{init:function(t){this.options=t},getToUtData:function(t,e){var n,i=s.getGoldlogVal(\"_$\")||{},c=i.spm||{},f=a(o(t)),d={};try{var _=r.arr2obj(f);_._toUT=1,_._bridgeName=e.bridgeName||\"\",_._bridgeVersion=e.bridgeVersion||\"\",n=JSON.stringify(_)}catch(t){n='{\"_toUT\":1}'}var h=u.getOnePageInfo(l);d.functype=\"2001\",d.urlpagename=h.urlpagename,d.url=location.href,d.spmcnt=c.spm_cnt||\"\",d.spmurl=c.spm_url||\"\",d.spmpre=c.spm_pre||\"\",d.lzsid=\"\",d.cna=g.getCookie(\"cna\"),d.extendargs=n,d.isonepage=h.isonepage;var m=this.options.context||{},v=!!m.is_single;return d._is_g2u_=v?1:2,d.version=p.toUtVersion,d.lver=goldlog.lver||p.lver,d.jsver=p.script_name,d},run:function(){var t=this.options.context||{},e=t.what_to_sendpv||{},n=e.pvdata||[],o=t.what_to_sendpv_ut||{},a=t.where_to_sendlog_ut||{},r=a.aplusToUT||{},i=r.toUT||{};(i&&i.isAvailable&&\"function\"==typeof i.toUT2||c.haveNativeFlagInUA())&&(o.pvdataToUt=this.getToUtData(n,i),this.options.context.what_to_sendpv_ut=o)}}}},function(t,e){\"use strict\";t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=this.options.context||{},e=t.is_single?\"1\":\"0\";if(t.what_to_sendpv_ut2.pvdataToUt._slog=e,t.what_to_sendpv_ut.pvdataToUt._slog=e,t.what_to_sendpv.pvdata.push([\"_slog\",e]),t.ut_is_available){var n=t.is_single?\"1\":\"2\";t.what_to_sendpv.pvdata.push([\"_is_g2u\",n])}}}}},function(t,e,n){\"use strict\";var o=n(25);t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=o.getGoldlogVal(\"_$\")||{},e=this.options.context.can_to_sendpv||{},n=t.send_pv_count||0,a=this.options.config||{};return a.is_auto&&n>0?\"done\":(e.flag=\"YES\",this.options.context.can_to_sendpv=e,t.send_pv_count=++n,void o.setGoldlogVal(\"_$\",t))}}}},function(t,e,n){\"use strict\";var o=n(25),a=n(18);t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=this.options.context||{},e=!!t.is_single;if(!e){var n=t.what_to_sendpv||{},r=t.where_to_sendpv||{},i=n.pvdata||[],s=goldlog.getMetaInfo(\"aplus-channel\");if(\"WS-ONLY\"!==s){var u=location.hostname+location.pathname,c=\"www.taobao.com/\"===u||\"www.aliyun.com/\"===u,l=goldlog.send(r.url,c?a.arr2param(i):a.arr2obj(i),c?\"POST\":\"\");o.setGoldlogVal(\"req\",l)}}}}}},function(t,e,n){\"use strict\";var o=n(42);t.exports=function(){return{init:function(t){this.options=t},run:function(t,e){var n=this,a=this.options.context||{},r=a.what_to_sendpv_ut2||{},i=a.where_to_sendlog_ut||{},s=r.pvdataToUt||{},u=i.aplusToUT||{},c=u.toUT2;if(o.isNative4Aplus())return u.toutflag=\"toUT2\",i.toUTName=\"toUT2\",void(n.options.context.what_to_sendpv_ut2.isSuccess=!0);if(c&&\"function\"==typeof c.toUT2&&c.isAvailable)try{u.toutflag=\"toUT2\",c.toUT2(s,function(){n.options.context.what_to_sendpv_ut2.isSuccess=!0,e(\"done\")},function(t){n.options.context.what_to_sendpv_ut2.errorMsg=t,e()},2e3)}catch(t){e()}finally{return\"pause\"}}}}},function(t,e,n){\"use strict\";var o=n(42);t.exports=function(){return{init:function(t){this.options=t},run:function(t,e){var n=this,a=this.options.context||{},r=a.what_to_sendpv_ut||{},i=a.where_to_sendlog_ut||{},s=r.pvdataToUt||{},u=i.aplusToUT||{},c=u.toUT;if(o.isNative4Aplus())return u.toutflag=\"toUT\",i.toUTName=\"toUT\",void(n.options.context.what_to_sendpv_ut.isSuccess=!0);if(c&&\"function\"==typeof c.toUT2&&c.isAvailable)try{u.toutflag=\"toUT\",c.toUT2(s,function(){n.options.context.what_to_sendpv_ut.isSuccess=!0,e()},function(t){n.options.context.what_to_sendpv_ut.errorMsg=t,e()},2e3)}catch(t){e()}finally{return\"pause\"}}}}},function(t,e,n){\"use strict\";var o=n(32),a=n(25);t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=goldlog._$||{},e=this.options.context||{};a.setGoldlogVal(\"pv_context\",e);var n=goldlog.spm_ab||[],r=n.join(\".\"),i=t.send_pv_count,s={cna:e.etag.cna,count:i,spmab_pre:goldlog.spmab_pre};o.doPubMsg([\"sendPV\",\"complete\",r,s]),o.doCachePubs([\"sendPV\",\"complete\",r,s])}}}},function(t,e){\"use strict\";e.plugins_prepv=[]},function(t,e,n){\"use strict\";function o(){var t=i.getGoldlogVal(\"_$\")||{},e=\"//gm.mmstat.com/\";return t.is_terminal&&(e=\"//wgo.mmstat.com/\"),{where_to_hjlj:{url:e,ac_atpanel:\"//ac.mmstat.com/\",tblogUrl:\"//log.mmstat.com/\"}}}function a(){return r.assign(new s,new o)}var r=n(9),i=n(25),s=n(67);t.exports=a},function(t,e,n){\"use strict\";function o(){return{compose:{},basic_params:{cna:a.getCookie(\"cna\")},where_to_hjlj:{url:\"//gm.mmstat.com/\",ac_atpanel:\"//ac.mmstat.com/\",tblogUrl:\"//log.mmstat.com/\"},userdata:{},what_to_hjlj:{logdata:{}},what_to_pvhash:{hash:[]},what_to_hjlj_exinfo:{EXPARAMS_FLAG:\"EXPARAMS\",exinfo:[],exparams_key_names:[\"uidaplus\",\"pc_i\",\"pu_i\"]},what_to_hjlj_ut:{logdataToUT:{}},what_to_hjlj_ut2:{isSuccess:!1,logdataToUT:{}},where_to_sendlog_ut:{aplusToUT:{},toUTName:\"toUT\"},network:{connType:\"UNKNOWN\"},is_single:!1}}var a=n(11);t.exports=o},function(t,e,n){\"use strict\";e.plugins_hjlj=[{name:\"etag\",enable:!0,path:n(37)},{name:\"where_to_sendlog_ut\",enable:!0,path:n(39)},{name:\"is_single\",enable:!0,path:n(41)},{name:\"what_to_hjlj_exinfo\",enable:!0,path:n(69)},{name:\"what_to_pvhash\",enable:!0,path:n(45)},{name:\"what_to_hjlj\",enable:!0,path:n(70),deps:[\"what_to_hjlj_exinfo\",\"what_to_pvhash\"]},{name:\"what_to_hjlj_ut2\",enable:n(56),path:n(71),deps:[\"is_single\",\"what_to_hjlj_exinfo\"]},{name:\"what_to_hjlj_ut\",enable:n(56),path:n(72),deps:[\"is_single\",\"what_to_hjlj_exinfo\"]},{name:\"what_to_hjlj_slog\",enable:!0,path:n(73),deps:[\"what_to_hjlj\"]},{name:\"where_to_hjlj\",enable:!0,path:n(74),deps:[\"is_single\",\"what_to_hjlj\"]},{name:\"do_sendhjlj\",enable:!0,path:n(75),deps:[\"is_single\",\"what_to_hjlj\",\"where_to_hjlj\"]},{name:\"do_sendhjlj_ut2\",enable:n(56),path:n(76),deps:[\"what_to_hjlj\",\"what_to_hjlj_ut2\",\"where_to_sendlog_ut\"]},{name:\"do_sendhjlj_ut\",path:n(77),deps:[\"what_to_hjlj\",\"what_to_hjlj_ut\",\"where_to_sendlog_ut\"]}]},function(t,e,n){\"use strict\";var o=n(18),a=n(30),r=n(25),i=n(25),s=n(12),u=n(11);t.exports=function(){return{init:function(t){this.options=t},getCookieUserInfo:function(){var t=[],e=u.getCookie(\"workno\")||u.getCookie(\"emplId\");e&&t.push(\"workno=\"+e);var n=u.getHng();return n&&t.push(\"_hng=\"+u.getHng()),t},filterExinfo:function(t){var e=\"\";try{t&&(\"string\"==typeof t?e=t.replace(/&/g,\"&\").replace(/\\buser(i|I)d=/,\"uidaplus=\").replace(/&aplus&/,\"&\"):\"object\"==typeof t&&(e=o.obj2param(t,!0)))}catch(t){e=t.message?t.message:\"\"}return e},getExparamsFlag:function(){var t=this.options.context||{},e=t.what_to_hjlj_exinfo||{};return e.EXPARAMS_FLAG||\"EXPARAMS\"},getCustomExParams:function(t){var e=\"\";return t!==this.getExparamsFlag()&&(e=this.filterExinfo(t)||\"\"),e?e.split(\"&\"):[]},getBeaconExparams:function(t,e){var n=[],r=a.getExParams(o)||\"\";r=r.replace(/&aplus&/,\"&\");for(var i=o.param2arr(r)||[],u=function(e){return s.indexof(t,e)>-1},c=0;c0&&(t=t.concat(e)),t},run:function(){try{var t=this.options.context.what_to_hjlj_exinfo||{},e=r.getGoldlogVal(\"_$\")||{},n=e.meta_info||{},o=n[\"aplus-exinfo\"]||\"\",a=n[\"aplus-exdata\"]||\"\",s=[];s=this.doConcatArr(s,t.exinfo||[]),s=this.doConcatArr(s,this.getExinfo(o)),s=this.doConcatArr(s,this.getCookieUserInfo()),s=this.doConcatArr(s,this.getCustomExParams(o)),s=this.doConcatArr(s,this.getExData(a)),t.exinfo=s.join(\"&\"),this.options.context.what_to_hjlj_exinfo=t}catch(t){i.logger({msg:t?t.message:\"\"})}}}}},function(t,e,n){\"use strict\";var o=n(30),a=n(18),r=n(11),i=n(9),s=n(4);t.exports=function(){return{init:function(t){this.options=t},getParams:function(){var t=this.options.context||{},e=t.userdata||{},n=t.basic_params||{},u=t.what_to_hjlj_exinfo||{},c=u.exinfo||\"\",l=t.etag||{},p=l.cna||n.cna||r.getCookie(\"cna\"),g=e.gmkey,f=\"\";e.gokey&&c?f=[e.gokey,c].join(\"&\"):e.gokey?f=e.gokey:c&&(f=c);var d=t.what_to_pvhash||{},_=d.hash||[];_.length&&(f+=\"&\"+_.join(\"=\")),f+=\"&jsver=\"+s.script_name,f+=\"&lver=\"+s.lver,f+=\"&pver=\"+goldlog.aplus_cplugin_ver,f+=\"&cache=\"+i.makeCacheNum(),f+=\"&page_cna=\"+p;var h={gmkey:g||\"\",gokey:f,cna:p};try{var m=location.href.substring(0,1200);m&&(h._p_url=goldlog.getMetaInfo(\"aplus-p-url\")||m)}catch(t){}e[\"spm-cnt\"]&&(h[\"spm-cnt\"]=e[\"spm-cnt\"]),e[\"spm-pre\"]&&(h[\"spm-pre\"]=e[\"spm-pre\"]);try{var v=o.getExParams(a),b=a.param2obj(v).uidaplus;b&&(h._gr_uid_=b);var y=a.param2obj(f).uidaplus;y&&(h.uidaplus=y)}catch(t){}return h},run:function(){this.options.context.what_to_hjlj.logdata=this.getParams()}}}},function(t,e,n){\"use strict\";var o=n(43),a=n(25),r=n(4);t.exports=function(){return{init:function(t){this.options=t},getToUtData:function(t,e){var n=a.getGoldlogVal(\"_$\")||{},i=n.spm||{},s=this.options.context.userdata||{},u=this.options.context.basic_params||{},c=this.options.context||{},l=c.what_to_hjlj_exinfo||{},p=l.exinfo||\"\",g=\"\";s.gokey&&p?g=[s.gokey,p].join(\"&\"):s.gokey?g=s.gokey:p&&(g=p);var f={};f.functype=\"ctrl\",f.funcId=o.getFunctypeValue2({logkey:s.logkey,gmkey:s.gmkey,spm_ab:a.getGoldlogVal(\"spm_ab\")}),f.url=goldlog.getMetaInfo(\"aplus-pagename\")||location.origin+location.pathname,f.logkey=s.logkey,f.gokey=encodeURIComponent(g),f.gmkey=s.gmkey,f._ish5=\"1\",f._h5url=location.href,f._is_g2u_=t?1:2,f._toUT=2,f._bridgeName=e.bridgeName||\"\",f._bridgeVersion=e.bridgeVersion||\"\",f[\"spm-cnt\"]=i.spm_cnt||\"\",f[\"spm-url\"]=i.spm_url||\"\",f[\"spm-pre\"]=i.spm_pre||\"\",f.cna=u.cna,f.lver=r.lver,f.jsver=r.script_name,s.hasOwnProperty(\"autosend\")&&(f.autosend=s.autosend);var d=goldlog.getMetaInfo(\"aplus-utparam\");return d&&(f[\"utparam-cnt\"]=JSON.stringify(d)),f},run:function(){var t=this.options.context||{},e=t.what_to_hjlj_ut2||{},n=!!t.is_single,o=t.where_to_sendlog_ut||{},a=o.aplusToUT||{},r=a.toUT2||{};e.logdataToUT=this.getToUtData(n,r),this.options.context.what_to_hjlj_ut2=e}}}},function(t,e,n){\"use strict\";var o=n(43),a=n(11),r=n(25),i=n(4);t.exports=function(){return{init:function(t){this.options=t},getToUtData:function(t,e){var n=r.getGoldlogVal(\"_$\")||{},s=n.spm||{},u=this.options.context||{},c=u.userdata||{},l=u.what_to_hjlj_exinfo||{},p=l.exinfo||\"\",g=\"\";c.gokey&&p?g=[c.gokey,p].join(\"&\"):c.gokey?g=c.gokey:p&&(g=p);var f={gmkey:c.gmkey,gokey:g,lver:i.lver,jsver:i.script_name,version:i.toUtVersion,spm_cnt:s.spm_cnt||\"\",spm_url:s.spm_url||\"\",spm_pre:s.spm_pre||\"\"};f._is_g2u_=t?1:2,f._bridgeName=e.bridgeName||\"\",f.bridgeVersion=e.bridgeVersion||\"\",f._toUT=1;try{f=JSON.stringify(f),\"{}\"==f&&(f=\"\")}catch(t){f=\"\"}var d=n.meta_info||{},_=d.isonepage_data||{},h={};return h.functype=o.getFunctypeValue({logkey:c.logkey,gmkey:c.gmkey,spm_ab:r.getGoldlogVal(\"spm_ab\")}),h.spmcnt=s.spm_cnt||\"\",h.spmurl=s.spm_url||\"\",h.spmpre=s.spm_pre||\"\",h.logkey=c.logkey,h.logkeyargs=f,h.urlpagename=_.urlpagename,h.url=location.href,h.cna=a.getCookie(\"cna\")||\"\",h.extendargs=\"\",h.isonepage=_.isonepage,h},run:function(){var t=this.options.context||{},e=!!t.is_single,n=t.what_to_hjlj_ut||{},o=t.where_to_sendlog_ut||{},a=o.aplusToUT||{},r=a.toUT||{};n.logdataToUT=this.getToUtData(e,r),this.options.context.what_to_hjlj_ut=n}}}},function(t,e){\"use strict\";t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=this.options.context||{},e=t.is_single?\"1\":\"0\";t.what_to_hjlj_ut2.logdataToUT._slog=e,t.what_to_hjlj_ut.logdataToUT._slog=e;var n=[\"_slog=\"+e];if(t.ut_is_available){var o=t.is_single?\"1\":\"2\";n.push(\"_is_g2u=\"+o)}t.what_to_hjlj.logdata.gokey?t.what_to_hjlj.logdata.gokey+=\"&\"+n.join(\"&\"):t.what_to_hjlj.logdata.gokey=n.join(\"&\")}}}},function(t,e,n){\"use strict\";var o=n(18),a=n(9),r=n(25),i=n(24),s=n(26);t.exports=function(){return{init:function(t){this.options=t},getMetaInfo:function(){var t=r.getGoldlogVal(\"_$\")||{},e=t.meta_info||s.getInfo();return e},getAplusMetaByKey:function(t){var e=this.getMetaInfo()||{};return e[t]},cramUrl:function(t){var e=r.getGoldlogVal(\"_$\")||{},n=e.spm||{},o=this.options.context.where_to_hjlj||{},i=o.ac_atpanel,s=o.tblogUrl,u=this.options.context.what_to_hjlj||{},c=this.options.context.userdata||{},l=!0,p=c.logkey;if(!p)return{url:t,logkey_available:!1};if(\"ac\"==p)t=i+\"1.gif\";else if(a.isStartWith(p,\"ac-\"))t=i+p.substr(3);else if(a.isStartWith(p,\"/\")){t+=p.substr(1);var g=u.logdata||{};g[\"spm-cnt\"]=n.spm_cnt,g.logtype=2;try{u.logdata=g,this.options.context.what_to_hjlj=u}catch(t){}}else a.isEndWith(p,\".gif\")?t=s+p:l=!1;return{url:t,logkey_available:l}},can_to_sendhjlj:function(t){var e=this.options.context||{},n=e.logger||function(){},o=this.options.context.userdata||{};return!!t.logkey_available||(n({msg:\"logkey: \"+o.logkey+\" is not legal!\"}),!1)},run:function(){var t=!!this.options.context.is_single;if(!t){var e,n,a=o.filterIntUrl(this.options.context.where_to_hjlj.url),r=this.getAplusMetaByKey(\"aplus-rhost-g\"),s=r&&o.hostValidity(r);s&&(e=/^\\/\\//.test(r)?\"\":\"//\",n=/\\/$/.test(r)?\"\":\"/\",a=e+r+n),r&&!s&&i.logger({msg:\"aplus-rhost-g: \"+r+' is invalid, suggestion: \"xxx.mmstat.com\"'});var u=this.cramUrl(a);return this.can_to_sendhjlj(u)?void(this.options.context.where_to_hjlj.url=u.url):\"done\"}}}}},function(t,e,n){\"use strict\";var o=n(25);t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=this.options.context||{},e=this.options.config||{},n=!!t.is_single;if(!n){var a=t.logger||{},r=t.what_to_hjlj||{},i=t.where_to_hjlj||{},s=r.logdata||{},u=i.url||\"\";u||\"function\"!=typeof a||a({msg:\"warning: where_to_hjlj.url is null, goldlog.record failed!\"});var c=goldlog.getMetaInfo(\"aplus-channel\");if(\"WS-ONLY\"!==c){var l=goldlog.send(i.url,s,e.method||\"GET\");o.setGoldlogVal(\"req\",l)}}}}}},function(t,e,n){\"use strict\";var o=n(42);t.exports=function(){return{init:function(t){this.options=t},run:function(t,e){var n=this,a=this.options.context||{},r=a.logger||function(){},i=a.what_to_hjlj_ut2||{},s=a.where_to_sendlog_ut||{},u=!!a.is_single,c=i.logdataToUT||{},l=s.aplusToUT||{},p=l.toUT2;if(o.isNative4Aplus())return l.toutflag=\"toUT2\",s.toUTName=\"toUT2\",void(n.options.context.what_to_hjlj_ut2.isSuccess=!0);if(p&&\"function\"==typeof p.toUT2&&p.isAvailable)try{l.toutflag=\"toUT2\",p.toUT2(c,function(){n.options.context.what_to_hjlj_ut2.isSuccess=!0,e()},function(t){n.options.context.what_to_hjlj_ut2.errorMsg=t,e()},2e3)}catch(t){u&&r({msg:\"warning: singleSendHjlj toUTName = toUT2 errorMsg:\"+t.message})}finally{return\"pause\"}}}}},function(t,e,n){\"use strict\";var o=n(42);t.exports=function(){return{init:function(t){this.options=t},run:function(t,e){var n=this,a=this.options.context||{},r=a.what_to_hjlj_ut2.isSuccess,i=a.logger||function(){},s=!!a.is_single,u=a.where_to_sendlog_ut||{},c=a.what_to_hjlj_ut||{},l=c.logdataToUT||{},p=u.aplusToUT||{},g=p.toUT;if(o.isNative4Aplus())return p.toutflag=\"toUT\",u.toUTName=\"toUT\",void(n.options.context.what_to_hjlj_ut.isSuccess=!0);if(!r&&g&&\"function\"==typeof g.toUT2&&g.isAvailable)try{p.toutflag=\"toUT\",g.toUT2(l,function(){n.options.context.what_to_hjlj_ut.isSuccess=!0,e()},function(t){n.options.context.what_to_hjlj_ut.errorMsg=t,e()},3e3)}catch(t){s&&i({msg:\"warning: singleSend toUTName = \"+u.toUTName+\" errorMsg:\"+t.message})}finally{return\"pause\"}}}}},function(t,e,n){\"use strict\";function o(){var t,e,n=i.KEY||{},o=n.NAME_STORAGE||{};if(!c&&u){var a=location.href,l=u&&(a.indexOf(\"login.taobao.com\")>=0||a.indexOf(\"login.tmall.com\")>=0),p=s.getRefer();l&&p?(t=p,e=r.getItem(o.REFERRER_PV_ID)):(t=a,e=goldlog.pvid),r.setItem(o.REFERRER,t),r.setItem(o.REFERRER_PV_ID,e)}}var a=n(79),r=n(54).nameStorage,i=n(4),s=n(53),u=\"https:\"==location.protocol,c=parent!==self;e.run=function(){var t=\"beforeunload\";a.on(window,t,function(){o()})}},function(t,e,n){\"use strict\";function o(t,e,n){var o=goldlog._$||{},a=o.meta_info||{},r=a.aplus_ctap||{},i=a[\"aplus-touch\"];if(r&&\"function\"==typeof r.on)r.on(t,e);else{var u=\"ontouchend\"in document.createElement(\"div\");!u||\"tap\"!==i&&\"tapSpm\"!==n?s(t,u?\"touchstart\":\"mousedown\",e):c.on(t,e)}}function a(t){try{p.documentElement.doScroll(\"left\")}catch(e){return void setTimeout(function(){a(t)},1)}t()}function r(t){var e=0,n=function(){0===e&&t(),e++};\"complete\"===p.readyState&&n();var o;if(p.addEventListener)o=function(){p.removeEventListener(\"DOMContentLoaded\",o,!1),n()},p.addEventListener(\"DOMContentLoaded\",o,!1),window.addEventListener(\"load\",n,!1);else if(p.attachEvent){o=function(){\"complete\"===p.readyState&&(p.detachEvent(\"onreadystatechange\",o),n())},p.attachEvent(\"onreadystatechange\",o),window.attachEvent(\"onload\",n);var r=!1;try{r=null===window.frameElement}catch(t){}p.documentElement.doScroll&&r&&a(n)}}function i(t){\"complete\"===p.readyState?t():s(l,\"load\",t)}function s(){var t=arguments;if(2===t.length)\"DOMReady\"===t[0]&&r(t[1]),\"onload\"===t[0]&&i(t[1]);else if(3===t.length){var e=t[0],n=t[1],a=t[2];\"tap\"===n||\"tapSpm\"===n?o(e,a,n):e[_]((g?\"on\":\"\")+n,function(t){t=t||l.event;var e=t.target||t.srcElement;\"function\"==typeof a&&a(t,e);\n},!!u(n)&&{passive:!0})}}var u=n(80),c=n(81),l=window,p=document,g=!!p.attachEvent,f=\"attachEvent\",d=\"addEventListener\",_=g?f:d;e.DOMReady=r,e.onload=i,e.on=s},function(t,e){var n;t.exports=function(t){if(\"boolean\"==typeof n)return n;if(!/touch|mouse|scroll|wheel/i.test(t))return!1;n=!1;try{var e=Object.defineProperty({},\"passive\",{get:function(){n=!0}});window.addEventListener(\"test\",null,e)}catch(t){}return n}},function(t,e){\"use strict\";function n(t,e){return t+Math.floor(Math.random()*(e-t+1))}function o(t,e,n){var o=l.createEvent(\"HTMLEvents\");if(o.initEvent(e,!0,!0),\"object\"==typeof n)for(var a in n)o[a]=n[a];t.dispatchEvent(o)}function a(t){0===Object.keys(g).length&&(p.addEventListener(_,r,!1),p.addEventListener(d,i,!1),p.addEventListener(m,i,!1));for(var e=0;e10&&(o.status=\"panning\")}}function i(t){for(var e=0;e0&&setTimeout(function(){for(;n=a.shift();)p(n)},100)}}try{e()}catch(t){u.do_tracker_jserror({message:t&&t.message,error:encodeURIComponent(t.stack),filename:\"processGoldlogQueue\"})}};e.processGoldlogQueue=g;var f=i.extend({push:function(t){this.length++,p(t)}});e.init_watchGoldlogQueue=function(t){try{var e=a[c]||[];if(t){var n=o(e,t);a[c]=n.queue,g(n.formatQueue)}else a[c]=f.create({startLength:e.length,length:0}),s.init_loadAplusPlugin(),g(e)}catch(t){u.do_tracker_jserror({message:t&&t.message,error:encodeURIComponent(t.stack),filename:\"init_watchGoldlogQueue\"})}}},function(t,e){\"use strict\";function n(){}n.prototype.extend=function(){},n.prototype.create=function(){},n.extend=function(t){return this.prototype.extend.call(this,t)},n.prototype.create=function(t){var e=new this;for(var n in t)e[n]=t[n];return e},n.prototype.extend=function(t){var e=function(){};try{\"function\"!=typeof Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),e.prototype=Object.create(this.prototype);for(var n in t)e.prototype[n]=t[n];e.prototype.constructor=e,e.extend=e.prototype.extend,e.create=e.prototype.create}catch(t){console.log(t)}finally{return e}},t.exports=n},function(t,e,n){\"use strict\";var o=n(30),a=n(28),r=n(6),i=function(){var t=goldlog.getCdnPath()+\"/alilog/s/\"+r.lver+\"/plugin/\";return{aplus_ae_path:t+\"aplus_ae.js\",aplus_ac_path:t+\"aplus_ac.js\"}},s={},u=\"aplus-auto-exp\",c=\"aplus-auto-clk\",l=function(t,e){var n=i(),r=goldlog&&goldlog.getMetaInfo?goldlog.getMetaInfo(t):\"\",l=e||r||a.getMetaCnt(t),p={};p[u]=n.aplus_ae_path,p[c]=n.aplus_ac_path,l&&p[t]&&!s[t]&&(o.addScript(p[t]),s[t]=!0)};e.init_loadAplusPlugin=function(){try{!goldlog._aplus_auto_exp&&l(u),!goldlog._aplus_ac&&l(c),goldlog.aplus_pubsub.subscribe(\"setMetaInfo\",function(t,e){t!==u||goldlog._aplus_auto_exp||l(t,e),t!==c||goldlog._aplus_ac||l(t,e)})}catch(t){}}},function(t,e){\"use strict\";function n(t,e){return t.indexOf(e)>-1}function o(t,e){for(var o=0,a=t.length;o=1e3&&n<=1e4&&(t=n)}}catch(t){}return t}var u=window,c=document,l=n(84),p=n(18),g=n(79),f=n(30),d=n(24),_=n(32),h=n(9),m=n(25),v=n(22),b=n(51),y=n(26),w=y.getInfo(),x=n(4),T=n(3),j=n(88),A=n(11),P=n(91),S=n(93),k=[],U=[],E=[],I=[],M=\"//g.alicdn.com\",C=\"//g-assets.daily.taobao.net\",N=\"//assets.alicdn.com/g\",V=\"//s.alicdn.com/@g/\",O=\"//u.alicdn.com\",G=\"//laz-g-cdn.alicdn.com\";e.run=l.extend({getCdnPath:function(){var t=f.getCurrentNode(),e=M,n=[N,V,C,O,G],o=new RegExp(O);if(t)for(var a=0;a-1;return t||\"int\"===this.getMetaInfo(\"aplus-env\")},getCookie:function(t){return A.getCookie(t)},getParam:function(t){var e=u.WindVane||{},n=e&&\"function\"==typeof e.getParam?e.getParam(t):\"\";return n},beforeSendPV:function(t){k.push(t)},afterSendPV:function(t){U.push(t)},send:function(t,e,n){var o;if(0===t.indexOf(\"//\")){var a=v.getProtocal();t=a+t}return o=\"POST\"===n&&navigator&&navigator.sendBeacon?S.postData(t,e):S.sendImg(p.makeUrl(t,e),s())},launch:function(t,e){var n;try{e=h.assign(e,t),n=goldlog._$._sendPV(e,t);var o=goldlog.spm_ab?goldlog.spm_ab.join(\".\"):\"0.0\";T.do_tracker_obsolete_inter({page:location.hostname+location.pathname,spm_ab:o,interface_name:\"goldlog.launch\",interface_params:\"userdata = \"+JSON.stringify(t)+\", config = \"+JSON.stringify(e)})}catch(t){}finally{return d.logger({msg:\"warning: This interface is deprecated, please use goldlog.sendPV instead! API: http://log.alibaba-inc.com/log/info.htm?type=2277&id=31\"}),n}},_$:{_sendPV:function(t,e){if(t=t||{},h.any(k,function(e){return e(goldlog,t)===!1}))return!1;var o=n(94).SendPV,a=new o;return\"undefined\"==typeof t.recordType&&(t.recordType=x.recordTypes.pv),a.run(t,e,{fn_after_pv:U}),!0},_sendPseudo:function(t,e){t||(t={});var o=n(95).SendPrePV,a=new o;return\"undefined\"==typeof t.recordType&&(t.recordType=x.recordTypes.prepv),a.run(t,e,{},function(){_.doPubMsg([\"sendPrePV\",\"complete\"])}),!0}},sendPV:function(t,e){return e=e||{},e.pageName&&goldlog.setMetaInfo(\"aplus-pagename\",e.pageName),goldlog._$._sendPV(t,e)},updatePageProperties:function(t){t&&\"object\"==typeof t?(t._page&&(t.pageName=t._page,delete t._page),t.pageName&&(goldlog.setMetaInfo(\"aplus-pagename\",t.pageName),delete t.pageName),goldlog.appendMetaInfo(\"aplus-cpvdata\",t)):d.logger({msg:\"warning: typeof updatePageProperties's params must be object\"})},beforeRecord:function(t){E.push(t)},afterRecord:function(t){I.push(t)},record:function(t,e,n,o,a){if(!h.any(E,function(t){return t(goldlog)===!1}))return\"POST\"!==o&&\"WS\"!==o&&\"WS-ONLY\"!==o&&(o=\"GET\"),j.run({recordType:x.recordTypes.hjlj,method:o},{logkey:t,gmkey:e,gokey:n},{fn_after_record:I},function(){\"function\"==typeof a&&a()}),!0},recordUdata:function(t,e,n,o,a){var r=m.getGoldlogVal(\"_$\")||{},i=r.spm||{};\"POST\"!==o&&\"WS\"!==o&&\"WS-ONLY\"!==o&&(o=\"GET\"),j.run({ignore_chksum:!0,method:o,recordType:x.recordTypes.uhjlj},{logkey:t,gmkey:e,gokey:n,\"spm-cnt\":i.spm_cnt,\"spm-pre\":i.spm_pre},{},function(){h.isFunction(a)&&a()})},setPageSPM:function(t,e,n){var o=\"setPageSPM\",a=goldlog.getMetaInfo(\"aplus-spm-fixed\"),s=\"function\"==typeof n?n:function(){};goldlog.spm_ab=goldlog.spm_ab||[];var u=h.cloneObj(goldlog.spm_ab);if(t&&(goldlog.spm_ab[0]=\"\"+t,goldlog._$.spm.data.a=\"\"+t),e&&(goldlog.spm_ab[1]=\"\"+e,goldlog._$.spm.data.b=\"\"+e),b.spaInit(goldlog,w,u),\"1\"!==a){var c=u.join(\".\");goldlog.spmab_pre=c}var l=goldlog.spm_ab.join(\".\");_.doPubMsg([o,{spmab_pre:goldlog.spmab_pre,spmab:l}]),_.doCachePubs([o,{spmab_pre:goldlog.spmab_pre,spmab:l}]),r(),i(),s()},setMetaInfo:function(t,e,n){if(y.setMetaInfo(t,e,n)){var o=m.getGoldlogVal(\"_$\")||{};o.meta_info=y.qGet();var a=m.setGoldlogVal(\"_$\",o),r=P.isDisablePvid()+\"\";return\"aplus-disable-pvid\"===t&&r!==e+\"\"&&b.resetSpmCntPvid(),_.doPubMsg([\"setMetaInfo\",t,e,n]),_.doCachePubs([\"setMetaInfo\",t,e,n]),a}},appendMetaInfo:y.appendMetaInfo,getMetaInfo:function(t){return y.getMetaInfo(t)},on:g.on,cloneDeep:h.cloneDeep,getPvId:P.getPvId})},function(t,e,n){\"use strict\";var o=n(9),a=n(25),r=n(32),i=n(24),s=n(89),u=n(90),c=n(4);e.run=function(t,e,n,l){var p=new u;p.init({middleware:[],config:t,plugins:c.plugins_hjlj});var g=p.run(),f=new c.context_hjlj;f.userdata=e,f.logger=i.logger;var d={context:f,pubsub:a.getGoldlogVal(\"aplus_pubsub\"),pubsubType:\"hjlj\"},_=new s;_.create(d),_.wrap(g,function(){d.context.status=\"complete\",d.context.method=t.method,r.doPubMsg([\"mw_change_hjlj\",d.context]),n&&n.fn_after_record&&o.each(n.fn_after_record,function(t){t(window.goldlog)}),\"function\"==typeof l&&l()})()}},function(t,e,n){\"use strict\";function o(){}var a=n(12),r=n(23),i=n(24),s=n(3),u=n(11);o.prototype.create=function(t){for(var e in t)\"undefined\"==typeof this[e]&&(this[e]=t[e]);return this},o.prototype.pubsubInfo=function(t,e){try{t&&t.pubsub&&t.pubsub.publish(\"mw_change_\"+t.pubsubType,t.context,e)}catch(t){}},o.prototype.calledList=[],o.prototype.setCalledList=function(t){a.indexof(this.calledList,t)===-1&&this.calledList.push(t)},o.prototype.resetCalledList=function(){this.calledList=[]},o.prototype.wrap=function(t,e){var n=this,o=this.context||{},c=o.compose||{},l=c.maxTimeout||1e4;return function(o){var c,p=t.length,g=0,f=0,d=function(){if(n.pubsubInfo(n,t[g]),g===p)return o=\"done\",n.resetCalledList(),\"function\"==typeof e&&e.call(n,o),void clearTimeout(c);if(a.indexof(n.calledList,g)===-1){if(n.setCalledList(g),!t[g]||\"function\"!=typeof t[g][0])return;try{o=t[g][0].call(n,o,function(){g++,f=1,clearTimeout(c),d(g)})}catch(e){s.do_tracker_jserror({message:e?e.message:\"compose middleware error\",error:encodeURIComponent(e.stack),filename:t[g][1]})}}var _=\"number\"==typeof o;if(\"pause\"===o||_){f=0;var h=_?o:l,m=t[g]?t[g][1]:\"\";c=r.sleep(h,function(){if(0===f){var t=\"jump the middleware about \"+m+\", because waiting timeout maxTimeout = \"+h+\"ms!\";i.logger({msg:t});var e=window.goldlog_queue||(window.goldlog_queue=[]);e.push({action:\"goldlog._aplus_cplugin_m.do_tracker_browser_support\",arguments:[{msg:t,spmab:goldlog.spm_ab,page:location.href,etag:n.context?JSON.stringify(n.context.etag):\"\",cna:document.cookie?u.getCookie(\"cna\"):\"\"}]}),o=null,g++,d(g)}})}else\"done\"===o?(g=p,d(g)):(g++,d(g))};return n.calledList&&n.calledList.length>0&&n.resetCalledList(),d(g)}},t.exports=o},function(t,e,n){\"use strict\";var o=n(12);t.exports=function(){return{init:function(t){this.opts=t,t&&\"object\"==typeof t.middleware&&t.middleware.length>0?this.middleware=t.middleware:this.middleware=[],this.plugins_name=[]},pubsubInfo:function(t,e){try{var n=t.pubsub;n&&n.publish(\"plugins_change_\"+t.pubsubType,e)}catch(t){}},checkPluginLoader:function(t,e){var n=!0;if(\"object\"==typeof e.enable&&\"function\"==typeof e.enable.isEnable?n=e.enable.isEnable(e.name):\"boolean\"==typeof e.enable&&(n=!!e.enable),!n)return!1;if(n&&e.deps&&e.deps.length>0)for(var a=0;a0){var r=a[t];if(this.checkPluginLoader(a,r)&&(this.plugins_name.push(r.name),n.push([function(t,n){e.pubsubInfo(this,r);var a=new r.path;return a.init({context:this.context,config:o.config}),a.run(t,n)},r.name])),t++,a[t])return this.run(t)}else window.console&&console.log(\"aplus plugins \"+JSON.stringify(a)+\" must be object of array!\");return n}}}},function(t,e,n){\"use strict\";function o(){var t=\"true\"===l.disablePvid;try{var e=goldlog.getMetaInfo(\"aplus-disable-pvid\")+\"\";\"true\"===e?t=!0:\"false\"===e&&(t=!1)}catch(t){}return t}function a(t){function e(t){var e=\"0123456789abcdefhijklmnopqrstuvwxyzABCDEFHIJKLMNOPQRSTUVWXYZ\",n=\"0123456789abcdefghijkmnopqrstuvwxyzABCDEFGHIJKMNOPQRSTUVWXYZ\";return 1==t?e.substr(Math.floor(60*Math.random()),1):2==t?n.substr(Math.floor(60*Math.random()),1):\"0\"}for(var n,o=\"\",a=\"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\",r=!1;o.length=0;o--)a=t.charCodeAt(o),r^=(r<<5)+a+(r>>2);var i=(2147483647&r).toString(16);return i}},function(t,e,n){\"use strict\";function o(t){if(!t)return\"\";var e=decodeURIComponent(t).match(/cache=\\w+/);return e&&1===e.length?e[0].split(\"=\")[1]:void 0}var a=n(3),r=window;e.sendImg=function(t,e){var n=new Image,i=\"_img_\"+Math.random();r[i]=n;var s=function(){if(r[i])try{delete r[i]}catch(t){r[i]=void 0}};return n.onload=function(){s()},n.onerror=function(){a.do_tracker_jserror({message:\"loadError\",error:\"\",filename:\"sendImg\",logid:o(t)}),s()},setTimeout(function(){window[i]&&(a.do_tracker_jserror({message:\"loadTimeout\",error:e,filename:\"sendImg\",logid:o(t)}),window[i].src=\"\",s())},e||3e3),n.src=t,n=null,t},e.postData=function(t,e){var n;if(\"string\"==typeof e)n=e;else{for(var o in e)[\"cna\"].indexOf(o)===-1&&(e[o]=encodeURIComponent(e[o]));n=JSON.stringify(e)}return navigator.sendBeacon(t,n),t}},function(t,e,n){\"use strict\";var o=n(9),a=n(25),r=n(32),i=n(24),s=n(89),u=n(90),c=n(4),l=function(){};l.prototype.run=function(t,e,n){var l=new u;l.init({middleware:[],config:t,plugins:c.plugins_pv});var p=l.run(),g=new c.context;g.userdata=e,g.logger=i.logger;var f={context:g,pubsub:a.getGoldlogVal(\"aplus_pubsub\"),pubsubType:\"pv\"},d=new s;d.create(f),d.wrap(p,function(){var e=f.context.can_to_sendpv||{};f.context.status=\"YES\"===e.flag?\"complete\":\"skip\",f.context.method=t.method||\"GET\",r.doPubMsg([\"mw_change_pv\",f.context]),n&&n.fn_after_pv&&o.each(n.fn_after_pv,function(e){e(window.goldlog,t)})})()},e.SendPV=l},function(t,e,n){\"use strict\";var o=n(9),a=n(25),r=n(32),i=n(24),s=n(89),u=n(90),c=n(4),l=function(){};l.prototype.run=function(t,e,n,l){var p=new u;p.init({middleware:[],config:t,plugins:c.plugins_prepv});var g=p.run(),f=new c.context_prepv;f.userdata=e,f.logger=i.logger;var d={context:f,pubsub:a.getGoldlogVal(\"aplus_pubsub\"),pubsubType:\"prepv\"},_=new s;_.create(d),_.wrap(g,function(){d.context.status=\"complete\",r.doPubMsg([\"mw_change_prepv\",d.context]),n&&n.fn_after_record&&o.each(n.fn_after_pv,function(e){e(window.goldlog,t)}),a.setGoldlogVal(\"prepv_context\",f),\"function\"==typeof l&&l()})()},e.SendPrePV=l},function(t,e,n){\"use strict\";!function(){var t=window.goldlog||(window.goldlog={}),e=n(97);t.aplus_pubsub||(t.aplus_pubsub=e.create())}()},function(t,e,n){\"use strict\";function o(t){if(\"function\"!=typeof t)throw new TypeError(t+\" is not a function\");return t}var a=n(84),r=function(t){for(var e=t.length,n=new Array(e-1),o=1;o0){for(var a=0;a0)for(var a=0;a1?a.pop():\"\",i>0&&(n=r.pop(),t=r.join(\"?\")),n&&i>1&&n.indexOf(\"&\")==-1&&n.indexOf(\"%\")!==-1&&(c=\"%26\");var l=\"\";if(t=t+\"?spm=\"+l+e+(n?c+n:\"\")+(o?\"#\"+o:\"\"),u=h.isContain(s,\".\")?s.split(\".\").pop().toLowerCase():\"\"){if({png:1,jpg:1,jpeg:1,gif:1,bmp:1,swf:1}.hasOwnProperty(u))return 0;!n&&i<=1&&(o||{htm:1,html:1,php:1,aspx:1,shtml:1,xhtml:1}.hasOwnProperty(u)||(t+=\"&file=\"+s))}return t}}function s(t,e){if(!goldlog.isUT4Aplus||\"UT4Aplus\"!==goldlog.getMetaInfo(\"aplus-toUT\")){var n,o=t.innerHTML;o&&o.indexOf(\"<\")==-1&&(n=document.createElement(\"b\"),n.style.display=\"none\",t.appendChild(n)),t.href=e,n&&t.removeChild(n)}}function u(t,e,n){if(!/^0\\.0\\.?/.test(e)){var o=y.tryToGetHref(t),r=a(),u=w.is_ignore_spm(t);if(u){var c=_.param2obj(o);if(c.spm&&c.spm.split)for(var l=c.spm.split(\".\"),p=e.split(\".\"),g=0;g<3&&p[g]===l[g];g++)2===g&&l[3]&&(e=c.spm)}t.setAttribute(\"data-spm-anchor-id\",e);var f=goldlog.getPvId();f&&(e+=\".\"+f);var d=\"0.0\";(f||r&&r!=d)&&(u||n||(o=i(o,e))&&s(t,o))}}function c(t){var e=v.tryToGetAttribute(t,A),n=m.parseSemicolonContent(e)||{};return n}function l(t){var e,n=b.getGoldlogVal(\"_$\")||{},o=n.spm.data;return\"0\"==o.a&&\"0\"==o.b?e=\"0\":(e=v.tryToGetAttribute(t,j),e&&e.match(/^d\\w+$/)||(e=\"\")),e}function p(t,e){for(var n=[],o=m.nodeListToArray(t.getElementsByTagName(\"a\")),a=m.nodeListToArray(t.getElementsByTagName(\"area\")),r=o.concat(a),i=0;i0&&(d+=\"&\"),d+=v.length>0?v.join(\"&\"):\"\",goldlog&&s.isFunction(goldlog.recordUdata)?goldlog.recordUdata(m,f,d,\"GET\",function(){}):l.logger({msg:\"goldlog.recordUdata is not function!\"}),i.tryToSetAttribute(t,\"data-spm-anchor-id\",h)}function a(t,e){var n=e;window.g_SPM&&(g_SPM._current_spm=p.spm_getSPMParam(e));for(var a;e&&\"HTML\"!==e.tagName;){a=i.tryToGetAttribute(e,\"data-spm-click\");{if(a){o(e,a,\"mousedown\"===t.type?t.type:\"tap\");break}e=e.parentNode}}if(!a){var r=g.getGlobalSPMId(),s=goldlog.getMetaInfo(\"aplus-getspmcd\");\"function\"==typeof s&&s(n,t,r)}}var r=n(79),i=n(27),s=n(9),u=n(19),c=n(12),l=n(24),p=n(104),g=n(105);e.run=function(t){t&&t.isTouchEnabled?r.on(document,\"tap\",a):r.on(document,\"mousedown\",a)}},function(t,e,n){\"use strict\";function o(){for(var t=document.getElementsByTagName(\"iframe\"),e=0;e10&&(n=3e3),o(),setTimeout(t,n)}var e=0,n=500;t()}var r=n(27),i=n(105),s=n(104);e.run=function(t){t&&!t.isTerminal&&a()}},function(t,e,n){\"use strict\";function o(t,e){for(var n,o=window;e&&(n=e.tagName);){if(\"A\"===n||\"AREA\"===n){r.spm_spmAnchorChk(e,!1);var a=o.g_SPM||(o.g_SPM={}),i=a._current_spm=r.spm_getSPMParam(e),s=[];try{s=[i.a,i.b,i.c,i.d];var u=i.e||goldlog.pvid||\"\";u&&s.push(u)}catch(t){}break}if(\"BODY\"==n||\"HTML\"==n)break;e=e.parentNode}}var a=n(79),r=n(104);e.run=function(t){var e=document;t&&t.isTouchEnabled?a.on(e,\"tapSpm\",o):(a.on(e,\"mousedown\",o),a.on(e,\"keydown\",o))}},function(t,e,n){\"use strict\";function o(t,e){if(e||(e=p),p.evaluate)return e.evaluate(t,p,null,9,null).singleNodeValue;\nfor(var n,a=t.split(\"/\");!n&&a.length>0;)n=a.shift();var r,i=/^.+?\\[@id='(.+?)']$/i,s=/^(.+?)\\[(\\d+)]$/i;return(r=n.match(i))?e=e.getElementById(r[1]):(r=n.match(s))&&(e=e.getElementsByTagName(r[1])[parseInt(r[2])-1]),e?0===a.length?e:o(a.join(\"/\"),e):null}function a(){var t={};for(var e in l)if(l.hasOwnProperty(e)){var n=o(e);if(n){t[e]=1;var a=l[e],r=\"A\"===n.tagName?a.spmd:a.spmc;s.tryToSetAttribute(n,\"data-spm\",r||\"\")}}for(var i in t)t.hasOwnProperty(i)&&delete l[i]}function r(){if(!c&&g.spmData){c=!0;var t=g.spmData.data;if(t&&i.isArray(t)){for(var e=0;e1?a.pop():\"\",o>0&&(r=i.pop(),t=i.join(\"?\")),r&&o>1&&r.indexOf(\"&\")==-1&&r.indexOf(\"%\")!=-1&&(s=\"%26\"),t=t+\"?spm=\"+e+(r?s+r:\"\")+(n?\"#\"+n:\"\"),p=c.indexOf(\".\")>-1?c.split(\".\").pop().toLowerCase():\"\"){if({png:1,jpg:1,jpeg:1,gif:1,bmp:1,swf:1}.hasOwnProperty(p))return 0;!r&&o<=1&&(n||{htm:1,html:1,php:1}.hasOwnProperty(p)||(t+=\"&file=\"+c))}return t}function n(t){function e(t){return t=t.replace(/refpos[=(%3D)]\\w*/gi,c).replace(i,\"%3D\"+n+\"%26\"+a.replace(\"=\",\"%3D\")).replace(o,n),a.length>0&&(t+=\"&\"+a),t}var r=window.location.href,n=r.match(/mm_\\d{0,24}_\\d{0,24}_\\d{0,24}/i),a=r.match(/[&\\?](pvid=[^&]*)/i),i=new RegExp(\"%3Dmm_\\\\d+_\\\\d+_\\\\d+\",\"ig\"),o=new RegExp(\"mm_\\\\d+_\\\\d+_\\\\d+\",\"ig\");a=a&&a[1]?a[1]:\"\";var c=r.match(/(refpos=(\\d{0,24}_\\d{0,24}_\\d{0,24})?(,[a-z]+)?)(,[a-z]+)?/i);return c=c&&c[0]?c[0]:\"\",n?(n=n[0],e(t)):t}function a(e){var r=s.KISSY;r?r.ready(e):s.jQuery?jQuery(m).ready(e):\"complete\"===m.readyState?e():t(s,\"load\",e)}function i(t,e){return t&&t.getAttribute?t.getAttribute(e)||\"\":\"\"}function o(t){if(t){var e,r=g.length;for(e=0;e-1)return!0;return!1}}function c(t,e){if(t&&/&?\\bspm=[^&#]*/.test(t)&&(t=t.replace(/&?\\bspm=[^&#]*/g,\"\").replace(/&{2,}/g,\"&\").replace(/\\?&/,\"?\").replace(/\\?$/,\"\")),!e)return t;var r,n,a,i,o,c,p,s=\"&\";if(t.indexOf(\"#\")!=-1&&(a=t.split(\"#\"),t=a.shift(),n=a.join(\"#\")),i=t.split(\"?\"),o=i.length-1,a=i[0].split(\"//\"),a=a[a.length-1].split(\"/\"),c=a.length>1?a.pop():\"\",o>0&&(r=i.pop(),t=i.join(\"?\")),r&&o>1&&r.indexOf(\"&\")==-1&&r.indexOf(\"%\")!=-1&&(s=\"%26\"),t=t+\"?spm=\"+e+(r?s+r:\"\")+(n?\"#\"+n:\"\"),p=c.indexOf(\".\")>-1?c.split(\".\").pop().toLowerCase():\"\"){if({png:1,jpg:1,jpeg:1,gif:1,bmp:1,swf:1}.hasOwnProperty(p))return 0;!r&&o<=1&&(n||{htm:1,html:1,shtml:1,php:1}.hasOwnProperty(p)||(t+=\"&__file=\"+c))}return t}function p(t){if(o(t.href)){var r=i(t,u);if(!r){var n=l()(t),a=[n.a,n.b,n.c,n.d].join(\".\");n.e&&(n+=\".\"+n.e),d&&(a=[n.a||\"0\",n.b||\"0\",n.c||\"0\",n.d||\"0\"].join(\".\"),a=(e()||\"0.0.0.0.0\")+\"_\"+a),t.href=c(t.href,a),t.setAttribute(u,a)}}}var s=window,m=document;if(1!==s.aplus_spmact){s.aplus_spmact=1;var f=function(){return{a:0,b:0,c:0,d:0,e:0}},l=function(){return s.g_SPM&&s.g_SPM.getParam?s.g_SPM.getParam:f},d=!0;try{d=self.location!=top.location}catch(t){}var u=\"data-spm-act-id\",g=[\"mclick.simba.taobao.com\",\"click.simba.taobao.com\",\"click.tanx.com\",\"click.mz.simba.taobao.com\",\"click.tz.simba.taobao.com\",\"redirect.simba.taobao.com\",\"rdstat.tanx.com\",\"stat.simba.taobao.com\",\"s.click.taobao.com\"],h=!!m.attachEvent,b=\"attachEvent\",v=\"addEventListener\",_=h?b:v;t(m,\"mousedown\",function(t,e){for(var r,n=0;e&&(r=e.tagName);){if(\"A\"==r||\"AREA\"==r){p(e);break}if(\"BODY\"==r||\"HTML\"==r)break;e=e.parentNode,n+=1}}),a(function(){for(var t,a,o=document.getElementsByTagName(\"iframe\"),c=0;c