1 line
26 KiB
JavaScript
1 line
26 KiB
JavaScript
var e,_;"function"==typeof(e=globalThis.define)&&(_=e,e=null),function(_,t,E,o,r){var O="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},n="function"==typeof O[o]&&O[o],N=n.cache||{},T="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function S(e,t){if(!N[e]){if(!_[e]){var E="function"==typeof O[o]&&O[o];if(!t&&E)return E(e,!0);if(n)return n(e,!0);if(T&&"string"==typeof e)return T(e);var r=Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}I.resolve=function(t){var E=_[e][1][t];return null!=E?E:t},I.cache={};var a=N[e]=new S.Module(e);_[e][0].call(a.exports,I,a,a.exports,this)}return N[e].exports;function I(e){var _=I.resolve(e);return!1===_?{}:S(_)}}S.isParcelRequire=!0,S.Module=function(e){this.id=e,this.bundle=S,this.exports={}},S.modules=_,S.cache=N,S.parent=n,S.register=function(e,t){_[e]=[function(e,_){_.exports=t},{}]},Object.defineProperty(S,"root",{get:function(){return O[o]}}),O[o]=S;for(var a=0;a<t.length;a++)S(t[a]);if(E){var I=S(E);"object"==typeof exports&&"undefined"!=typeof module?module.exports=I:"function"==typeof e&&e.amd?e(function(){return I}):r&&(this[r]=I)}}({"5aAjs":[function(e,_,t){var E=e("@parcel/transformer-js/src/esmodule-helpers.js");E.defineInteropFlag(t),E.export(t,"config",()=>O);var o=e("~common/const"),r=e("~common/utils");let O={matches:["<all_urls>"],run_at:"document_end"};async function n(e){if(("https://air.1688.com"===e.origin||"https://pre-air.1688.com"===e.origin)&&e.data?.unReadNum!==void 0){let _=await (0,r.getExtensionLocalStorage)(o.STORAGE_KEY_WANGWANG_UNREAD),t=_[o.STORAGE_KEY_WANGWANG_UNREAD]||{};t.redPointCount=e.data.unReadNum,t.d=Date.now(),await chrome.storage.local.set({[o.STORAGE_KEY_WANGWANG_UNREAD]:t})}}window.addEventListener("message",e=>{n(e)})},{"~common/const":"bkfUq","~common/utils":"kYpGH","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],bkfUq:[function(e,_,t){var E,o,r=e("@parcel/transformer-js/src/esmodule-helpers.js");r.defineInteropFlag(t),r.export(t,"MAX_Z_INDEX",()=>T),r.export(t,"MODAL_Z_INDEX",()=>S),r.export(t,"OPERATION_Z_INDEX",()=>a),r.export(t,"MAX_COUNT",()=>I),r.export(t,"MAX_AGE",()=>A),r.export(t,"OVER_TIME",()=>s),r.export(t,"ONE_DAY_IN_MS",()=>i),r.export(t,"CODE_NOT_LOGIN",()=>R),r.export(t,"getChromeDefaultLang",()=>p),r.export(t,"DEFAULT_LANGUAGE",()=>l),r.export(t,"LANGUAGE_OPTIONS",()=>c),r.export(t,"IMAGE_SEARCH_CATEGORY",()=>u),r.export(t,"OPTIONS_HOVER_POSITION_IMAGE_CONFIG",()=>G),r.export(t,"DEFAULT_OPTIONS",()=>L),r.export(t,"STORAGE_KEY_STREAM_INFO_MAP",()=>D),r.export(t,"STORAGE_KEY_UUID",()=>m),r.export(t,"STORAGE_KEY_CRYPTO",()=>h),r.export(t,"STORAGE_KEY_DOWNLOAD_URL",()=>P),r.export(t,"STORAGE_KEY_VERSION_INFO",()=>f),r.export(t,"STORAGE_KEY_VERSION_LOG",()=>x),r.export(t,"STORAGE_KEY_CONFIGURATION",()=>C),r.export(t,"STORAGE_KEY_LOGIN_ID",()=>g),r.export(t,"STORAGE_KEY_USER_ID",()=>d),r.export(t,"STORAGE_KEY_REAL_TIME_USER_ID",()=>U),r.export(t,"STORAGE_KEY_IS_LOGIN",()=>M),r.export(t,"STORAGE_KEY_ACTIVE_TIME",()=>K),r.export(t,"STORAGE_KEY_OPEN_SEARCH_IMG_TOOLTIP",()=>F),r.export(t,"STORAGE_KEY_WANGWANG_UNREAD",()=>Y),r.export(t,"STORAGE_KEY_WANGWANG_MTOP_TOKEN",()=>y),r.export(t,"STORAGE_KEY_IS_NUMBER_BROWSER",()=>B),r.export(t,"STORAGE_KEY_IS_OPEN_WEBSITE",()=>X),r.export(t,"STORAGE_KEY_OPTIONS",()=>W),r.export(t,"STORAGE_KEY_EXPRESS_DELIVERY_INFO",()=>w),r.export(t,"STORAGE_KEY_DRAWER_FIND_GOODS_SETTINGS",()=>H),r.export(t,"STORAGE_KEY_VIEW_TREND_PANEL_STATUS",()=>b),r.export(t,"STORAGE_KEY_DISABLE_DOWNLOAD_SETTING_WARNING",()=>v),r.export(t,"STORAGE_KEY_AB_TEST_INSERT_BTN_UI",()=>V),r.export(t,"STORAGE_KEY_PLUGIN_MENU_MODE",()=>k),r.export(t,"STORAGE_KEY_SHOW_GUIDANCE_REASON",()=>j),r.export(t,"STORAGE_KEY_FIND_SAME_GOODS_BTN",()=>$),r.export(t,"STORAGE_KEY_ENTRY_POSITION",()=>Q),r.export(t,"STORAGE_KEY_FLOATING_AI",()=>Z),r.export(t,"STORAGE_KEY_SHOULD_REPORT_BROWSER",()=>z),r.export(t,"STORAGE_KEY_DOWNLOAD_IMG_TYPE",()=>q),r.export(t,"STORAGE_KEY_DOWNLOAD_IMG_WAY",()=>J),r.export(t,"STORAGE_KEY_AB_TEST_WORD_SEARCH_UI",()=>ee),r.export(t,"STORAGE_KEY_INSTALL_REPORTED",()=>e_),r.export(t,"STORAGE_KEY_SHOULD_CONFIRM_INVITATION",()=>et),r.export(t,"STORAGE_KEY_ENTRY_NOTIFICATION",()=>eE),r.export(t,"STORAGE_KEY_ACTIVE_NOTIFICATION",()=>eo),r.export(t,"STORAGE_KEY_UNREAD_NOTIFICATION",()=>er),r.export(t,"STORAGE_KEY_MESSAGE_QUEUE",()=>eO),r.export(t,"STORAGE_KEY_ORDER_LOGISTICS_SWITCH",()=>en),r.export(t,"STORAGE_KEY_GOODS_OPERATION_FIXED_TOP",()=>eN),r.export(t,"STORAGE_KEY_GOODS_OPERATION_OPEN_STATUS",()=>eT),r.export(t,"STORAGE_KEY_MULTIPLE_INSTALLED_NOTIFICATION_TIME",()=>eS),r.export(t,"STORAGE_KEY_TENDENCY_DAY_SELECT",()=>ea),r.export(t,"STORAGE_KEY_TRANSACTION_TREND_DAY_SELECT",()=>eI),r.export(t,"STORAGE_KEY_BLACK_LIST",()=>eA),r.export(t,"STORAGE_KEY_DEFAULT_LANGUAGE",()=>es),r.export(t,"STORAGE_KEY_ON_LANGUAGE_CHANGE",()=>ei),r.export(t,"STORAGE_KEY_MTOP_ENV_SWITCH",()=>eR),r.export(t,"STORAGE_KEY_USER_PERMISSION_LIST",()=>ep),r.export(t,"STORAGE_KEY_USER_PERMISSION_MAP",()=>el),r.export(t,"STORAGE_KEY_OFFER_LIST_TOOLBAR_SHOW_EXTRA",()=>ec),r.export(t,"STORAGE_KEY_OFFER_LIST_TOOLBAR_PINNED",()=>eu),r.export(t,"STORAGE_KEY_OFFER_LIST_TOOLBAR_INFO",()=>eG),r.export(t,"STORAGE_KEY_SEARCH_HISTORY_LAST_TIMESTAMP",()=>eL),r.export(t,"STORAGE_KEY_OFFER_LIST_TOOLBAR_EXPORT_EXCLUDE_KEYS",()=>eD),r.export(t,"STORAGE_KEY_LATEST_VERSION",()=>em),r.export(t,"STORAGE_KEY_AI_PICK_CONFIG",()=>eh),r.export(t,"STORAGE_KEY_AI_FIND_CONFIG",()=>eP),r.export(t,"STORAGE_KEY_FATIGUE_RECORDS",()=>ef),r.export(t,"STORAGE_KEY_SMART_LINK_MATERIAL_CONFIG",()=>ex),r.export(t,"STORAGE_KEY_SMART_LINK_MODULE",()=>eC),r.export(t,"STORAGE_KEY_AI_IMAGE_CONFIG",()=>eg),r.export(t,"STORAGE_KEY_TRANSLATION_TARGET_LANGUAGE",()=>ed),r.export(t,"STORAGE_KEY_SERVER_TRANSLATION_CONFIG",()=>eU),r.export(t,"ONBOARDING_FEATURE_URL_PARAM_KEY",()=>eM),r.export(t,"STORAGE_KEY_TASK_EXECUTION_RECORD",()=>eK),r.export(t,"STORAGE_KEY_REMOTE_SETTINGS",()=>eF),r.export(t,"STORAGE_KEY_AI_CHATBOT_CONFIG",()=>eY),r.export(t,"STORAGE_KEY_PAGE_ACTIVE_TIME",()=>ey),r.export(t,"STORAGE_KEY_NOTIFICATION_AB_TEST_GROUP",()=>eB),r.export(t,"STORAGE_KEY_NOTIFICATION_CONFIG",()=>eX),r.export(t,"STORAGE_KEY_EXTENSION_INSTALL_TIMESTAMP",()=>eW),r.export(t,"STORAGE_KEY_ONBOARDING_FEATURE",()=>ew),r.export(t,"STORAGE_KEY_ENABLE_DEBUG_LOG",()=>eH),r.export(t,"STORAGE_KEY_BIND_SHOP_FATIGUE",()=>eb),r.export(t,"STORAGE_KEY_SEARCH_MEMORY_ENTRY_POSITION",()=>ev),r.export(t,"STORAGE_KEY_CONTENT_SELECTOR_CONFIG",()=>eV),r.export(t,"STORAGE_KEY_SIDE_PANEL_OPEN",()=>ek),r.export(t,"STORAGE_KEY_PENDING_SIDEPANEL_MESSAGES",()=>ej),r.export(t,"STORAGE_KEY_USER_LOG_COLLECTION_CONFIG",()=>e$),r.export(t,"DEVELOPMENT_URL_PREFIX",()=>eQ),r.export(t,"TEST_URL_PREFIX",()=>eZ),r.export(t,"PRODUCTION_URL_PREFIX",()=>ez),r.export(t,"CONFIGURATION_JSON_NAME",()=>eq),r.export(t,"DOWNLOAD_ZIP_NAME",()=>eJ),r.export(t,"DOWNLOAD_CRX_NAME",()=>e8),r.export(t,"ENV",()=>o),r.export(t,"ENV_TAG",()=>e6),r.export(t,"ENV_PACKAGE",()=>e1),r.export(t,"ENV_VERSION",()=>e2),r.export(t,"IS_PACKAGE_SHOW_UPDATE",()=>e3),r.export(t,"GLOBAL_CONFIG",()=>e5),r.export(t,"LOGIN_URL",()=>e4),r.export(t,"PC_HOME_URL",()=>e9),r.export(t,"PC_ORDER_LIST_URL",()=>e7),r.export(t,"DEFAULT_UNINSTALL_URL",()=>_e),r.export(t,"CONAN_APP_KEY",()=>__),r.export(t,"MATCHES_LINK",()=>_t),r.export(t,"IS_QUARK_BROWSER",()=>_E),r.export(t,"IS_QQ_BROWSER",()=>_o),r.export(t,"IS_SOUGOU_BROWSER",()=>_r),r.export(t,"IS_SIDE_PANEL_SUPPORTED",()=>_O),r.export(t,"DISABLE_DOWNLOAD_IMAGE",()=>_n),r.export(t,"USE_DYNAMIC_RULES",()=>_N),r.export(t,"MAIN_BROWSER",()=>_T);var O=e("~config/version-control.json"),n=r.interopDefault(O),N=e("./type");let T=2147483647,S=T-10,a=1100,I=5e3,A=7776e6,s=6e5,i=864e5,R=401,p=()=>{let e=navigator.language?navigator.language:"";return e?.toLocaleLowerCase()?.startsWith("zh")?"zh-CN":"en-US"},l=p()||"zh-CN",c=[{value:"en-US",label:"English"},{value:"zh-CN",label:"\u4e2d\u6587"}],u=[{key:N.ImageSearchDefaultChannel.DEFAULT,label:"\u9ed8\u8ba4\u6e20\u9053",icon:""},{key:N.ImageSearchDefaultChannel.ALL,label:"1688",icon:"https://gw.alicdn.com/imgextra/i3/O1CN01RbtNno1xR7N4UkwmR_!!6000000006439-55-tps-20-20.svg"},{key:N.ImageSearchDefaultChannel.KUA_JING,label:"1688\u8de8\u5883",icon:"https://gw.alicdn.com/imgextra/i3/O1CN01RbtNno1xR7N4UkwmR_!!6000000006439-55-tps-20-20.svg"},{key:N.ImageSearchDefaultChannel.TAOBAO,label:"\u6dd8\u5b9d",icon:"https://gw.alicdn.com/imgextra/i3/O1CN01k6dupu1I3Obu3VX4j_!!6000000000837-55-tps-20-20.svg"},{key:N.ImageSearchDefaultChannel.AMAZON,label:"\u4e9a\u9a6c\u900a",icon:"https://gw.alicdn.com/imgextra/i1/O1CN014l9H7329KV2MCwH57_!!6000000008049-55-tps-20-20.svg"},{key:N.ImageSearchDefaultChannel.ALIBABA,label:"\u963f\u91cc\u56fd\u9645\u7ad9",icon:"https://gw.alicdn.com/imgextra/i1/O1CN01sQ11ZX1ozcfT5Hlek_!!6000000005296-55-tps-300-300.svg"},{key:N.ImageSearchDefaultChannel.ALIEXPRESS,label:"\u901f\u5356\u901a",icon:"https://gw.alicdn.com/imgextra/i3/O1CN01dF8rpA1VXhpJQqFg6_!!6000000002663-55-tps-48-48.svg"},{key:N.ImageSearchDefaultChannel.OZON,label:"OZON",icon:"https://gw.alicdn.com/imgextra/i2/O1CN01WqdzEV1V5leJwX1uo_!!6000000002602-2-tps-96-96.png"}],G={[N.HoverPosition.LEFT_BOTTOM]:"https://img.alicdn.com/imgextra/i2/O1CN01K9QZuc1qAtxtGooFP_!!6000000005456-2-tps-2496-882.png",[N.HoverPosition.LEFT_TOP]:"https://img.alicdn.com/imgextra/i3/O1CN01nkJ3kB1h043F7CEQr_!!6000000004214-2-tps-2496-882.png",[N.HoverPosition.RIGHT_BOTTOM]:"https://img.alicdn.com/imgextra/i1/O1CN011KPmKN1qdkut4Ucis_!!6000000005519-2-tps-2496-882.png",[N.HoverPosition.RIGHT_TOP]:"https://img.alicdn.com/imgextra/i2/O1CN0148pQIn1gbKf5qlqw6_!!6000000004160-2-tps-2496-882.png"},L={[N.OptionsKey.WANGWANG_OPEN_IN_MODAL]:!0,[N.OptionsKey.INSERT_DOM_VISIBLE]:!0,[N.OptionsKey.IMAGE_SEARCH_VISIBLE]:!0,[N.OptionsKey.SHOW_DRAWER_FIND_GOODS]:!0,[N.OptionsKey.SHORTCUT_SCREENSHOT]:!0,[N.OptionsKey.SHOW_POPOVER_FIND_GOODS]:!0,[N.OptionsKey.LIST_SHOW_POPOVER_FIND_GOODS]:!0,[N.OptionsKey.SHOW_ENTRY_ORDER_INFO]:!1,[N.OptionsKey.SHOW_GLOBAL_ENTRY]:!0,[N.OptionsKey.SHOW_PIC_PREVIEW]:!0,[N.OptionsKey.GOODS_OPERATION_AREA]:!0,[N.OptionsKey.LANGUAGE]:l,[N.OptionsKey.HOVER_POSITION]:N.HoverPosition.LEFT_TOP,[N.OptionsKey.TRANSLATION_BUBBLE]:!0,[N.OptionsKey.NEW_SUPPLIER_PUSH]:!0,[N.OptionsKey.WANGWANG_PUSH]:!0,[N.OptionsKey.ABNORMAL_ORDER_PUSH]:!0,[N.OptionsKey.BATCH_INQUIRY_PUSH]:!0,[N.OptionsKey.IMAGE_SEARCH_DEFAULT_CHANNEL]:N.ImageSearchDefaultChannel.DEFAULT,[N.OptionsKey.SHOW_SEARCH_MEMORY_GLOBAL_ENTRY]:!0},D="__1688_EXTENSION_STREAM_INFO",m="_1688_EXTENSION_UUID",h="_1688_EXTENSION_CRYPTO",P="_1688_EXTENSION_DOWNLOAD_URL",f="_1688_EXTENSION_VERSION_INFO",x="_1688_EXTENSION_VERSION_LOG",C="_1688_EXTENSION_CONFIGURATION",g="_1688_EXTENSION_LOGIN_ID",d="_1688_EXTENSION_USER_ID",U="_1688_EXTENSION_REAL_TIME_USER_ID",M="_1688_EXTENSION_IS_LOGIN",K="_1688_EXTENSION_ACTIVE_TIME",F="_1688_EXTENSION_OPEN_SEARCH_IMG_TOOLTIP",Y="_1688_EXTENSION_WANGWANG_UNREAD",y="_1688_EXTENSION_WANGWANG_MTOP_TOKEN",B="_1688_EXTENSION_IS_NUMBER_BROWSER",X="_1688_EXTENSION_IS_OPEN_WEBSITE",W="_1688_EXTENSION_OPTIONS",w="_1688_EXTENSION_EXPRESS_DELIVERY_INFO",H="_1688_EXTENSION_DRAWER_FIND_GOODS_SETTINGS",b="_1688_EXTENSION_VIEW_TREND_PANEL_STATUS",v="_1688_EXTENSION_DISABLE_DOWNLOAD_SETTING_WARNING",V="_1688_EXTENSION_AB_TEST_INSERT_BTN_UI",k="_1688_EXTENSION_PLUGIN_MENU_MODE",j="_1688_EXTENSION_SHOW_GUIDANCE_REASON",$="findSameGoodsBtn",Q="_1688_EXTENSION_ENTRY_POSITION",Z="_1688_EXTENSION_SHOW_AI_CHATBOT",z="_1688_EXTENSION_SHOULD_REPORT_BROWSER",q="_1688_EXTENSION_DOWNLOAD_IMG_TYPE",J="_1688_EXTENSION_DOWNLOAD_IMG_WAY",ee="_1688_EXTENSION_AB_TEST_WORD_SEARCH_UI",e_="_1688_EXTENSION_INSTALL_REPORTED",et="_1688_EXTENSION_SHOULD_CONFIRM_INVITATION",eE="_1688_EXTENSION_ENTRY_NOTIFICATION",eo="_1688_EXTENSION_ACTIVE_NOTIFICATION",er="_1688_EXTENSION_UNREAD_NOTIFICATION",eO="_1688_EXTENSION_MESSAGE_QUEUE",en="_1688_EXTENSION_ORDER_LOGISTICS_SWITCH",eN="_1688_EXTENSION_GOODS_OPERATION_FIXED_TOP",eT="_1688_EXTENSION_GOODS_OPERATION_OPEN_STATUS",eS="_1688_EXTENSION_MULTIPLE_INSTALLED_NOTIFICATION_TIME",ea="_1688_EXTENSION_TENDENCY_DAY_SELECT",eI="_1688_EXTENSION_TRANSACTION_TREND_DAY_SELECT",eA="_1688_EXTENSION_BLACK_LIST",es="_1688_EXTENSION_DEFAULT_LANGUAGE",ei="_1688_EXTENSION_ON_LANGUAGE_CHANGE",eR="_1688_EXTENSION_MTOP_ENV_SWITCH",ep="_1688_EXTENSION_USER_PERMISSION_LIST",el="_1688_EXTENSION_USER_PERMISSION_MAP",ec="_1688_EXTENSION_OFFER_LIST_TOOLBAR_SHOW_EXTRA",eu="_1688_EXTENSION_OFFER_LIST_TOOLBAR_PINNED",eG="_1688_EXTENSION_OFFER_LIST_TOOLBAR_INFO",eL="_1688_EXTENSION_SEARCH_HISTORY_LAST_TIMESTAMP",eD="_1688_EXTENSION_OFFER_LIST_TOOLBAR_EXPORT_EXCLUDE_KEYS",em="_1688_EXTENSION_LATEST_VERSION",eh="_1688_EXTENSION_AI_PICK_CONFIG",eP="_1688_EXTENSION_AI_FIND_CONFIG",ef="_1688_EXTENSION_FATIGUE_RECORDS",ex="_1688_EXTENSION_SMART_LINK_MATERIAL_CONFIG",eC="_1688_EXTENSION_SMART_LINK_MODULE",eg="_1688_EXTENSION_AI_IMAGE_CONFIG",ed="_1688_EXTENSION_TRANSLATION_TARGET_LANGUAGE",eU="_1688_EXTENSION_SERVER_TRANSLATION_CONFIG",eM="pcPluginOnboardingFeature",eK="_1688_EXTENSION_TASK_EXECUTION_RECORD",eF="_1688_EXTENSION_REMOTE_SETTINGS",eY="_1688_EXTENSION_AI_CHATBOT_CONFIG",ey="_1688_EXTENSION_PAGE_ACTIVE_TIME",eB="_1688_EXTENSION_NOTIFICATION_AB_TEST_GROUP",eX="_1688_EXTENSION_NOTIFICATION_CONFIG",eW="_1688_EXTENSION_INSTALL_TIMESTAMP",ew="_1688_EXTENSION_ONBOARDING_FEATURE",eH="_1688_EXTENSION_ENABLE_DEBUG_LOG",eb="_1688_EXTENSION_BIND_SHOP_FATIGUE",ev="_1688_EXTENSION_SEARCH_MEMORY_ENTRY_POSITION",eV="_1688_EXTENSION_CONTENT_SELECTOR_CONFIG",ek="_1688_EXTENSION_SIDE_PANEL_OPEN",ej="_1688_EXTENSION_PENDING_SIDEPANEL_MESSAGES",e$="_1688_EXTENSION_COLLECTION_CONFIG",eQ="https://1688smartassistant.oss-cn-beijing.aliyuncs.com/development",eZ="https://1688smartassistant.oss-cn-beijing.aliyuncs.com/test",ez="https://1688smartassistant.oss-cn-beijing.aliyuncs.com",eq="version.json",eJ="1688-extension.zip",e8="1688-extension.crx";(E=o||(o={})).DEVELOPMENT="development",E.PRODUCTION="production",E.TEST="test";let e0={[o.DEVELOPMENT]:{env:o.DEVELOPMENT,cdn:{version:n.default,configuration:`${eQ}/${eq}`,zip:`${eQ}/${eJ}`,crx:`${eQ}/${e8}`}},[o.TEST]:{env:o.TEST,cdn:{version:"https://dev.o.alicdn.com/innovateHub/MarketMate/version.json",configuration:`${eZ}/${eq}`,zip:`${eZ}/${eJ}`,crx:`${eZ}/${e8}`}},[o.PRODUCTION]:{env:o.PRODUCTION,cdn:{version:"https://o.alicdn.com/innovateHub/MarketMate/version.json",configuration:`${ez}/${eq}`,zip:`${ez}/${eJ}`,crx:`${ez}/${e8}`}}},e6="production",e1="common",e2="1.1.8",e3=!e1?.includes("store")||"chrome-store"===e1,e5=e0[e6],e4="https://login.taobao.com/?redirect_url=https%3A%2F%2Flogin.1688.com%2Fmember%2Fjump.htm%3Ftarget%3Dhttps%253A%252F%252Flogin.1688.com%252Fmember%252FmarketSigninJump.htm%253FDone%253D%25252F%25252Fmy.1688.com%25252F&style=tao_custom&from=1688web",e9="https://www.1688.com/",e7="https://work.1688.com/home/buyer.htm?_path_=buyer2017Base/2017buyerbase_trade/buyList",_e="https://air.1688.com/kapp/assets-group/haobangshou/UninstallRetention",__="dfc62734abf1b2330e99f4c0d7efb0a7",_t=[{reg:/^(https?:\/\/)?(?:www\.)?baidu\.com\/s(?:[^\s]*)?$/,key:"wd=",parentElement:"#wrapper",insertElement:"#con-ar",logKey:"keyWordsSearchBD"},{reg:/^(https?:\/\/)?(?:www\.)?so\.com\/s(?:[^\s]*)?$/,key:"q=",parentElement:"#warper",insertElement:"#side_wrap",logKey:"keyWordsSearch360"},{reg:/^(https?:\/\/)?(?:www\.)?sogou\.com\/.*/,key:"query=",parentElement:"#sogou_wrap_id",insertElement:"#right",logKey:"keyWordsSearchSG"}],_E=/\bQuarkPC\b/i.test(navigator.userAgent),_o=/\bQQBrowser\b/i.test(navigator.userAgent),_r=/\bMetaSr\b/i.test(navigator.userAgent),_O="undefined"!=typeof chrome&&!!chrome?.sidePanel?.open,_n=_E||_o||_r,_N="_USE_DYNAMIC_RULES_",_T=[{browser:"Chrome"},{browser:"360EE"},{browser:"360SE"},{browser:"Edge"},{browser:"Quark"},{browser:"QQBrowser"},{browser:"Sogou"},{browser:"2345Explorer"},{browser:"360AI"}]},{"~config/version-control.json":"8Bjpy","./type":"1PlmV","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],"8Bjpy":[function(e,_,t){_.exports=JSON.parse('{"latestVersion":"0.1.31"}')},{}],"1PlmV":[function(e,_,t){var E,o,r,O,n,N,T,S,a,I,A=e("@parcel/transformer-js/src/esmodule-helpers.js");A.defineInteropFlag(t),A.export(t,"LogSource",()=>N),A.export(t,"OptionsKey",()=>T),A.export(t,"HoverPosition",()=>S),A.export(t,"ImageSearchDefaultChannel",()=>a),A.export(t,"ExecSmartLinkDslScene",()=>I);var s=e("~background/notifications/consts/enum");(E=N||(N={}))[E.API=0]="API",E[E.COMMON=1]="COMMON",E[E.SMART_LINK=2]="SMART_LINK",E[E.WEBSOCKET=3]="WEBSOCKET",E[E.TRACE=4]="TRACE",(o=T||(T={})).WANGWANG_VISIBLE="wangwangVisible",o.WANGWANG_OPEN_IN_MODAL="wangwangOpenInModal",o.INSERT_DOM_VISIBLE="insertDomVisible",o.IMAGE_SEARCH_VISIBLE="imageSearchVisible",o.SHOW_DRAWER_FIND_GOODS="showDrawerFindGoods",o.SHORTCUT_SCREENSHOT="shortcutScreenshot",o.SHOW_POPOVER_FIND_GOODS="showPopoverFindGoods",o.LIST_SHOW_POPOVER_FIND_GOODS="listShowPopoverFindGoods",o.SHOW_ENTRY_ORDER_INFO="showEntryOrderInfo",o.SHOW_GLOBAL_ENTRY="showGlobalEntry",o.SHOW_PIC_PREVIEW="showPicPreview",o.GOODS_OPERATION_AREA="goodsOperationArea",o.LANGUAGE="language",o.HOVER_POSITION="hoverPosition",o.TRANSLATION_BUBBLE="translationBubble",o.IMAGE_SEARCH_DEFAULT_CHANNEL="imageSearchDefaultChannel",o.SHOW_SEARCH_MEMORY_GLOBAL_ENTRY="showSearchMemoryGlobalEntry",o[o.NEW_SUPPLIER_PUSH=s.MessageBizType.SHOP_NEW_PRODUCT]="NEW_SUPPLIER_PUSH",o[o.ABNORMAL_ORDER_PUSH=s.MessageBizType.ABNORMAL_ORDER]="ABNORMAL_ORDER_PUSH",o[o.WANGWANG_PUSH=s.MessageBizType.WANGWANG]="WANGWANG_PUSH",o[o.BATCH_INQUIRY_PUSH=s.MessageBizType.BATCH_INQUIRY]="BATCH_INQUIRY_PUSH",(r=S||(S={})).LEFT_TOP="LeftTop",r.LEFT_BOTTOM="LeftBottom",r.RIGHT_TOP="RightTop",r.RIGHT_BOTTOM="RightBottom",(O=a||(a={})).DEFAULT="DEFAULT",O.ALL="ALL",O.KUA_JING="KUA_JING",O.TAOBAO="TAOBAO",O.AMAZON="AMAZON",O.ALIBABA="ALIBABA",O.ALIEXPRESS="ALIEXPRESS",O.OZON="OZON",(n=I||(I={})).EXEC_BG_DSL="execBackgroundDsl",n.EXEC_CS_DSL="execContentScriptDsl",n.PRELOAD_CS_DSL="preloadContentScriptDsl"},{"~background/notifications/consts/enum":"lfPmQ","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],lfPmQ:[function(e,_,t){var E,o,r,O,n,N,T,S,a,I,A,s,i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(t),i.export(t,"MessageConflictStrategy",()=>T),i.export(t,"MessageSource",()=>S),i.export(t,"DisplayMode",()=>a),i.export(t,"MessageInteractionType",()=>I),i.export(t,"MessageBizType",()=>A),i.export(t,"MessageStatus",()=>s),(E=T||(T={})).KEEP_ALL="keep_all",E.REPLACE="replacement",E.DUMP="dump",(o=S||(S={})).POLLING="polling",o.USER_ACTION="user_action",o.PUSH="push",(r=a||(a={})).SILENT="silent",r.PROMINENT="prominent",(O=I||(I={})).AUTO_DISMISS="auto_dismiss",O.FORCE_INTERACTION="force_interaction",(n=A||(A={})).WANGWANG="wangwang",n.PLUGIN_UPDATE="update-version",n.MULTI_PLUGIN="multiple-installed",n.SHOP_NEW_PRODUCT="shop_publish",n.ABNORMAL_ORDER="abnormal_order",n.BATCH_INQUIRY="batch_inquiry",n.INTENT_PUSH="INTENT_PUSH",n.TASK_CENTER="task_completion",(N=s||(s={})).PENDING="pending",N.CONSUMING="consuming",N.READING="reading",N.COMPLETED="completed",N.INTERRUPTED="interrupted"},{"@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}],fRZO2:[function(e,_,t){t.interopDefault=function(e){return e&&e.__esModule?e:{default:e}},t.defineInteropFlag=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.exportAll=function(e,_){return Object.keys(e).forEach(function(t){"default"===t||"__esModule"===t||_.hasOwnProperty(t)||Object.defineProperty(_,t,{enumerable:!0,get:function(){return e[t]}})}),_},t.export=function(e,_,t){Object.defineProperty(e,_,{enumerable:!0,get:t})}},{}],kYpGH:[function(e,_,t){var E=e("@parcel/transformer-js/src/esmodule-helpers.js");E.defineInteropFlag(t),E.export(t,"sleep",()=>r),E.export(t,"retry",()=>O),E.export(t,"isTest",()=>n),E.export(t,"SPMMap",()=>N),E.export(t,"SPMExtension",()=>T),E.export(t,"formatUrlWithSPM",()=>S),E.export(t,"genUUID",()=>a),E.export(t,"getExtensionLocalStorage",()=>I),E.export(t,"getExtensionLocalStorageV2",()=>A),E.export(t,"getCachedOptions",()=>s),E.export(t,"isToday",()=>i),E.export(t,"getTodayString",()=>R),E.export(t,"formatDuration",()=>l),E.export(t,"getSafeInternalRemoteMediaUrl",()=>c),E.export(t,"transformBytesToBase64",()=>u),E.export(t,"encryptByCtr",()=>G),E.export(t,"compareVersions",()=>L),E.export(t,"getUUID",()=>D),E.export(t,"getEastEightDate",()=>m),E.export(t,"throttledFn",()=>h),E.export(t,"isChinese",()=>P),E.export(t,"removeDuplicates",()=>f),E.export(t,"getHtmlTextContent",()=>x),E.export(t,"debounce",()=>C),E.export(t,"safeJsonParse",()=>g),E.export(t,"enableRegisterMainScript",()=>d),E.export(t,"isChromeLargerThanOrEqualTo",()=>U),E.export(t,"isValidObject",()=>M),E.export(t,"isNonEmptyObject",()=>K),E.export(t,"isContentScript",()=>F);var o=e("./const");async function r(e){return new Promise(_=>{setTimeout(_,e)})}async function O(e,_){let t=0,E=null;for(;t<_.times;){try{if(E=await e(),!_.notNull||null!=E)break}catch(e){console.error("retry error:",e)}t++,_.interval&&await r(_.interval)}return E}function n(){return!1}let N={wangwang:"a2639h.28947355.43540223.0",uploadImg:"a2639h.28947355.43540203.0",screenshot:"a2639h.28947355.43540198.0",searchText:"a2639h.28947355.43540196.0",insertBtn:"a2639h.28947355.43541828.0","1688Icon":"a2639h.28947355.43543900.0",popoverRemindLogin:"a2639h.28947355.43645897.0",popoverRemindRedEnvelope:"a2639h.28947355.43645899.0",modalRemindRedEnvelope:"a2639h.28947355.43645901.0",globalSearchImg:"a2639h.28947355.43645902.0",installAutoLink:"a2639h.28947355.43651291.0",contextMenuScreenshot:"a2639h.28947355.43700716.0",login2checkExpressDelivery:"a2639h.28947355.43710872.0",waitSellerSendGoodCount:"a2639h.28947355.43710871.0",waitBuyerPayCount:"a2639h.28947355.43710870.0",waitBuyerReceiveCount:"a2639h.28947355.43710869.0",followEntryPopoverOfferItem:"a2639h.28947355.43761176.0",followEntryPopoverMore:"a2639h.28947355.44039642.0",shortcutScreenshot:"a2639h.28947355.43814363.0",keyWordsSearchBD:"a2639h.28947355.44042771.0",keyWordsSearchSG:"a2639h.28947355.44042773.0",keyWordsSearch360:"a2639h.28947355.44042774.0",popup:"a2639h.28947355.44084079.0",entryPopover:"a2639h.28947355.entryPopover.0",notification:"a2639h.28947355.notification.0",other:"a2639h.28947355.other.0",options:"a2639h.28947355.options.0",aiProductComparison:"a2639h.30155633.aiProducts.0",aiPick:"a2639h.30319530.aiPick.0",onboardingGuide:"a2639h.28947355.46028034.0"},T="a2639h.28947355";function S(e,_){let t=new URL(e);return t.searchParams.set("spm",N[_]),"https://wxthirdplatform-p.1688.com"!==t.origin&&t.searchParams.set("source",`action#${_};origin#${location.host}`),t.searchParams.set("amug_biz","oneself"),t.searchParams.set("amug_fl_src","awakeId_984"),t.searchParams.forEach((e,_)=>{if("fromkv"===_.toLowerCase()){let E=decodeURIComponent(e);t.search=t.search.replace(`${_}=${encodeURIComponent(e)}`,`${_}=${E}`)}}),t.href}function a(){let e=Date.now(),_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=_.length,E="";for(;e>0;)E+=_.charAt(e%t),e=Math.floor(e/t);for(;E.length<16;)E+=_.charAt(Math.floor(Math.random()*t));let o=E.split("").sort(function(){return .5-Math.random()}).join("");return o.substring(0,16)}async function I(e){return new Promise(_=>{let t=setTimeout(()=>{console.error("storage.local.get timeout"),_({})},1e4);chrome.storage.local.get(e,e=>{clearTimeout(t),_(e||{})})})}async function A(e){return new Promise(_=>{let t=setTimeout(()=>{console.error("storage.local.get timeout"),_({})},1e4);chrome.storage.local.get(e,e=>{clearTimeout(t),_(e||{})})})}async function s(){let e=(await I(o.STORAGE_KEY_OPTIONS))[o.STORAGE_KEY_OPTIONS]||{};return{...o.DEFAULT_OPTIONS,...e}}function i(e){let _=new Date(e),t=new Date;return _.getFullYear()===t.getFullYear()&&_.getMonth()===t.getMonth()&&_.getDate()===t.getDate()}function R(){return new Date().toLocaleDateString(void 0,{month:"long",day:"numeric"})}function p(e){return e>9?e:"0"+e}function l(e,_,t){let E=setInterval(()=>{let o=Date.now(),r=e-o;r<0?(clearInterval(E),"function"==typeof t&&t()):"function"==typeof _&&_({days:p(Math.floor(r/864e5)),hours:p(Math.floor(r%864e5/36e5)),minutes:p(Math.floor(r%36e5/6e4)),seconds:p(Math.floor(r%6e4/1e3))})},1e3);return()=>clearInterval(E)}function c(e){try{let _=new URL(e);return _.searchParams.append(o.USE_DYNAMIC_RULES,"true"),_.href}catch(_){return e}}function u(e){let _="";for(let t=0;t<e.length;t++)_+=String.fromCharCode(e[t]);return btoa(_)}function G(e){return btoa(String.fromCharCode(...new TextEncoder().encode(e)))}function L(e,_){try{let t=(e||"").split(".").map(Number),E=(_||"").split(".").map(Number);for(let e=0;e<Math.max(t.length,E.length);e++){let _=t[e]||0,o=E[e]||0;if(_>o)return 1;if(_<o)return -1}return 0}catch(e){return 0}}let D=async()=>{try{let{[o.STORAGE_KEY_UUID]:e}=await I(o.STORAGE_KEY_UUID);if(!e){let e=a();return await chrome.storage.local.set({[o.STORAGE_KEY_UUID]:e}),e}return e}catch(e){return}};function m(e){let _=new Date;"number"==typeof e&&(_=new Date(e));let t=_.getTime()+6e4*_.getTimezoneOffset();return new Date(t+288e5)}function h(e,_){let t=0;return function(...E){let o=Date.now();o-t>=_&&(t=o,e.apply(this,E))}}function P(e){return"zh-CN"===e.getLang()}function f(e){return[...new Set(e)]}function x(e){return e?new DOMParser().parseFromString(e,"text/html").body.textContent:""}let C=(e,_)=>{let t=null;return(...E)=>{t&&clearTimeout(t),t=setTimeout(()=>{e(...E)},_)}};function g(e){try{return JSON.parse(e)}catch(e){return null}}function d(){return U(102)}function U(e){try{let _=navigator?.userAgent;if(!_)return!1;let t=Number(_.match(/Chrome\/(\d+)/)?.[1]);if(t&&t>=e)return!0;return!1}catch(e){return console.error(e),!1}}function M(e){return"object"==typeof e&&null!==e}function K(e){return M(e)&&Object.keys(e).length>0}function F(){return"undefined"!=typeof window&&"undefined"!=typeof document}},{"./const":"bkfUq","@parcel/transformer-js/src/esmodule-helpers.js":"fRZO2"}]},["5aAjs"],"5aAjs","parcelRequireaa81"),globalThis.define=_; |