!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["detail-plugin"]=n():e["detail-plugin"]=n()}(self,(()=>(()=>{"use strict";var e={3512:(e,n,t)=>{t.r(n),t.d(n,{sendPV:()=>l,sendPluginEvent:()=>f,sendSafeEvent:()=>p,weexGepTracker:()=>v});var r=t(2818),o=t(7355),i=["eventId","eventName","eventType","jsVersion","region"],c=function e(n,t){return void 0===n&&(n=20),t=t||"",n?e(--n,"0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz".charAt(Math.floor(60*Math.random()))+t):t},a=function(e,n){var t;switch(e){case"sendPluginEvent":t=(0,o.A)({type:"event",p1:n[0]},n[1]);break;case"sendPV":t={type:"pv"};break;default:t=!1}return t&&s(t),!1},u=function(){window.AES_CONFIG=window.AES_CONFIG||{},window.AES_CONFIG.pv_id||(window.AES_CONFIG.pv_id=c(20,""))},s=function(e){u();var n=window.AES_CONFIG,t=n.pid,r=n.sampling,o=void 0===r?1:r,i=n.times,c=void 0===i?1:i,a=n.page_id,s=void 0===a?encodeURIComponent(window.location.href):a,l=n.sdk_version,f=void 0===l?"2.1.6":l,p=n.title,v=void 0===p?document.title:p,m=n.username,g=n.user_type,y=n.sid,w=n.pv_id,h=n.hash,_=n.dim1,k=n.dim2,b=n.dim3,C=n.dim4,E=n.dim5,x=n.dim6,P=n.dim7,S=n.dim8,I=n.dim9,O=n.dim10;if(!t)return!1;var R=encodeURIComponent(d(e)),j=encodeURIComponent(d({pid:t,sampling:o,times:c,page_id:s,sdk_version:f,title:v,username:m,user_type:g,sid:y,pv_id:w,hash:h,dim1:_,dim2:k,dim3:b,dim4:C,dim5:E,dim6:x,dim7:P,dim8:S,dim9:I,dim10:O,msg:R}));window.userTrack&&window.userTrack.commitut("expose",2201,"UT","","/aes.1.1","","",{gokey:j,gmkey:"EXP"})},d=function(e){var n=[];for(var t in e)e[t]&&n.push(t+"="+e[t]);return n.join("&")};function l(e){a("sendPV",e)}function f(e,n,t,r,o,i,c,u,s){a("sendPluginEvent","string"!=typeof n?[e,n]:[e,{et:n,path:t,c1:r,c2:o,c3:i,c4:c,c5:u,c6:s}])}var p=function(e){var n=e.eventId,t=e.eventName,o=e.eventType,c=void 0===o?"EXP":o,u=e.jsVersion,s=e.region,d=(0,r.A)(e,i);a("sendPluginEvent",[n,{et:c,c1:"safe_fe",c2:u,c3:s,c4:t,c6:function(){try{return JSON.stringify(d)}catch(e){return null}}()}])},v={sendPV:l,sendPluginEvent:f,sendSafeEvent:p}},7355:(e,n,t)=>{function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;nr})},2818:(e,n,t)=>{function r(e,n){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(n.indexOf(r)>=0)continue;t[r]=e[r]}return t}t.d(n,{A:()=>r})}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={exports:{}};return e[r](i,i.exports,t),i.exports}t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{if(void 0!==t){var e=t.u,n=t.e,r={},o={};t.u=function(n){return e(n)+(r.hasOwnProperty(n)?"?"+r[n]:"")},t.e=function(i){return n(i).catch((function(n){var c=o.hasOwnProperty(i)?o[i]:5;if(c<1){var a=e(i);throw n.message="Loading chunk "+i+" failed after 5 retries.\n("+a+")",n.request=a,n}return new Promise((function(e){setTimeout((function(){var n=Date.now();r[i]=n,o[i]=c-1,e(t.e(i))}),0)}))}))}}})();var r={};return(()=>{t.r(r);var e={};t.r(e),t.d(e,{click:()=>C,clk:()=>G,exp:()=>L,exposure:()=>E,sendAEClick:()=>x,sendAEExposure:()=>P,sendApiError:()=>T,sendApiSuccess:()=>N,sendCustomError:()=>A,sendInteractionObject:()=>k,sendInteractionObjects:()=>b,sendPV:()=>_,sendPagePerfCfpt:()=>O,sendPagePerfDataComplete:()=>j,sendPagePerfDidMount:()=>R,sendPagePref:()=>I,sendPluginEvent:()=>S,sendResourceError:()=>V,sendSafeEvent:()=>q,sendWhitePageEvent:()=>$,setConfig:()=>h,weexGepTracker:()=>D});var n={};t.r(n),t.d(n,{get:()=>ce,getCity:()=>pe,getCsrfToken:()=>ke,getCurrency:()=>me,getGdpr:()=>be,getLocale:()=>ye,getMemberId:()=>_e,getProvince:()=>le,getRegion:()=>se,getSite:()=>ae,isLoggedIn:()=>he,set:()=>ie,setCity:()=>ve,setCurrency:()=>ge,setGdpr:()=>Ce,setLocale:()=>we,setProvince:()=>fe,setRegion:()=>de,setSite:()=>ue});var o="undefined"==typeof window,i={},c=o?function(e){return function(e){var n;return null===(n=i.principal.query)||void 0===n?void 0:n[e]}(e)}:function(e){var n,t=window.location.href;try{t=decodeURI(t)}catch(e){}var r=new RegExp("("+e+"=)(.*?)([;&?#]|$)");return(null===(n=t.match(r))||void 0===n?void 0:n[2])||""};function a(e){e=function(e){var n,t,r=null===(n=window.goldlog.spm_ab)||void 0===n?void 0:n.join("."),o=e.params=e.params||{},i=o["spm-cnt-cd"];o.st_page_id||(o.st_page_id=window.dmtrack_pageid||""),delete o["spm-cnt-cd"],i&&!o["spm-cnt"]&&(o["spm-cnt"]="".concat(r,".").concat(i)),o["spm-url"]||(o["spm-url"]=c("spm-url")||"");var a=(null===(t=window.goldlog.spm_ab)||void 0===t?void 0:t[1])||"";if("click"!==e.type||o.ae_page_type||(o.ae_page_type=a),"exposure"!==e.type||o.exp_page||(o.exp_page=a),o.ali_apache_track=encodeURIComponent(s("ali_apache_track"))||"",!o.ali_apache_track){var u=s("xman_us_t");if(u){var d=u.match(/x_lid=([^&]+)/);d&&(o.ali_apache_track=encodeURIComponent("mid=".concat(d[1]))||"")}}return e}(e);var n=Object.keys(e.params).map((function(n){return n+"="+e.params[n]})).join("&");window.goldlog&&window.goldlog.record(e.path,e.event,n,"POST")}function u(e){try{window.goldlog?e():(window.goldlog_queue||(window.goldlog_queue=[])).push({action:"goldlog.aplus_pubsub.subscribe",arguments:["goldlogReady",function(){e()}]})}catch(e){}}function s(e){var n=document.cookie,t=new RegExp("(?:(?:^|.*;\\s*)".concat(e,"\\s*\\=\\s*([^;]*).*$)|^.*$")),r=n.replace(t,"$1");return decodeURIComponent(r)}var d="undefined"!=typeof window,l={};d&&(window._comet_module_=window._comet_module_||{},l=window._comet_module_);var f={get:function(e){return"function"==typeof l[e]?l[e]():l[e]},load:function(e){return"undefined"==typeof window?f.get(e):(window._CosmosReadyPromise_=window._CosmosReadyPromise_||new Promise((function(e){window._CosmosReadyResolve_=e})),window.Comet?f.get(e):window._CosmosReadyPromise_.then((function(){return f.get(e)})))},set:function(e,n){l[e]=n},use:function(e,n){var t={};return Object.defineProperty(t,"current",{get:function(){return function(e,n){for(var t=n.split("."),r=t.length,o=0;null!=e&&o0)for(var r,o,i,c=n?M:B,a=e.split(/;\s/g),u=0,s=a.length;u0&&o[o.length-1])||6!==a[0]&&2!==a[0])){c=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]