Files
baiducom/waf/static/js/9114-b4a69cba60be3dcb.js
2024-09-24 17:45:24 +08:00

1638 lines
53 KiB
JavaScript

"use strict";
(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
[9114],
{
49114: function (t, e, o) {
o.d(e, {
p: function () {
return _;
},
});
var n = o(66091),
i = o(57988),
r = o(96583),
c = o(41934),
a = o(88929),
s = o(48522),
u = (function () {
function t(e) {
(0, n.Z)(this, t),
(this.env = e),
(this.timeout = 1e4),
(this.urlBosProdSandbox = "".concat(a.V0, "/portal-cms/sandbox")),
(this.urlBosProdOnline = "".concat(a.V0, "/portal-cms/online")),
(this.urlBosCDNProdSandbox = "".concat(
a.t0,
"/portal-cms/sandbox"
)),
(this.urlBosCDNProdOnline = "".concat(
a.t0,
"/portal-cms/online"
)),
(this.urlPortalServerSandbox = "ht:/127.0.0.1:9888"),
(this.urlPortalServerProduct =
"ht:/portal-server.bce-portal.sdns.baidu.com"),
(this.urlPortalSandbox = "ht:/127.0.0.1:8666"),
(this.urlPortalProduct =
"ht:/portal.bce-portal.sdns.baidu.com"),
(this.urlYapi = "ht:/iapi.baidu-int.com/m1/353069-0-default"),
(this.urlCloudSandbox = "ht:/cloudtest.baidu.com"),
(this.urlCloudProduct = ""),
(this.urlCloudDev = "ht:/localhost:9889"),
(this.urlDeveloperSandbox =
"ht:/gzbh-sandbox144-store-5117.gzbh.baidu.com:8616/api/bce_developer"),
(this.urlDeveloperOnline =
"ht:/developer.sdns.baidu.com/api/bce_developer"),
(this.urlDeveloperDev =
"ht:/yapi.baidu-int.com/mock/11827/api/bce_developer"),
(this.urlDeveloperClientOnline =
"ht:/developer.baidu.com/api/bce_developer"),
(this.urlBosDeveloperProdSandbox =
"ht:/bce-cdn.bj.bcebos.com/developer-cms/sandbox"),
(this.urlBosDeveloperProdOnline =
"ht:/bce-cdn.bj.bcebos.com/developer-cms/online"),
(this.urlConsoleHubProduct = "ht:/console-hub.sdns.baidu.com"),
(this.urlConsoleHubSandbox =
"ht:/qasandbox.bcetest.baidu.com"),
(this.urlDocBosProdSandbox = "".concat(
a.V0,
"/p3m/bce-doc-sandbox/staging"
)),
(this.urlDocBosProdOnline = "".concat(
a.V0,
"/p3m/bce-doc/online"
)),
(this.urlDocBosCDNProdSandbox = "".concat(
a.t0,
"/p3m/bce-doc-sandbox/staging"
)),
(this.urlDocBosCDNProdOnline = "".concat(
a.t0,
"/p3m/bce-doc/online"
)),
(this.urlDocEnBosProdSandbox = "".concat(
a.V0,
"/p3m/I18N/staging"
)),
(this.urlDocEnBosProdOnline = "".concat(
a.V0,
"/p3m/I18N/online"
)),
(this.urlDocEnBosCDNProdSandbox = "".concat(
a.t0,
"/p3m/I18N/staging"
)),
(this.urlDocEnBosCDNProdOnline = "".concat(
a.t0,
"/p3m/I18N/online"
));
}
return (
(0, i.Z)(t, [
{
key: "cloudBosUrl",
get: function () {
return this.env.isProd
? this.env.isClient
? this.env.isNotProductOnlineAndGetSourceFromCmsSandbox
? this.urlBosCDNProdSandbox
: this.urlBosCDNProdOnline
: this.env.isNotProductOnlineAndGetSourceFromCmsSandbox
? this.urlBosProdSandbox
: this.urlBosProdOnline
: this.urlBosProdSandbox;
},
},
{
key: "developerBosUrl",
get: function () {
return this.env.isProd
? this.env.isNotProductOnlineAndGetSourceFromCmsSandbox
? this.urlBosDeveloperProdSandbox
: this.urlBosDeveloperProdOnline
: this.urlBosDeveloperProdSandbox;
},
},
{
key: "developerBosUrlByEnv",
get: function () {
return this.env.isProd
? this.env.isProdSandbox
? this.urlBosDeveloperProdSandbox
: this.urlBosDeveloperProdOnline
: this.urlBosDeveloperProdSandbox;
},
},
{
key: "bosUrlPrefix",
get: function () {
return this.env.isProdOnline ? "" : "pre_";
},
},
{
key: "portalServerUrl",
get: function () {
return this.env.isDev
? this.urlYapi
: this.env.isProdSandbox && !this.env.isProd
? this.urlCloudSandbox
: this.env.isClient
? ""
: this.env.isProdOnline
? this.urlPortalServerProduct
: this.urlPortalServerSandbox;
},
},
{
key: "portalUrl",
get: function () {
return this.env.isDev
? this.urlYapi
: this.env.isClient
? ""
: this.env.isProd
? this.env.isProdOnline
? this.urlPortalProduct
: this.urlPortalSandbox
: this.urlCloudSandbox;
},
},
{
key: "developerUrl",
get: function () {
return this.env.isDev
? this.urlDeveloperDev
: this.env.isProdSandbox && !this.env.isProd
? this.urlDeveloperSandbox
: this.env.isProdOnline && this.env.isClient
? this.urlDeveloperClientOnline
: this.env.isProdOnline
? this.urlDeveloperOnline
: this.urlDeveloperSandbox;
},
},
{
key: "consoleHubUrl",
get: function () {
return this.env.isDev
? this.urlYapi
: this.env.isClient
? ""
: this.env.isProdOnline
? this.urlConsoleHubProduct
: this.urlConsoleHubSandbox;
},
},
{
key: "productPriceBosUrl",
get: function () {
return this.env.isClient
? this.env.isProdOnline
? this.urlBosCDNProdOnline
: this.urlBosCDNProdSandbox
: this.env.isProdOnline
? this.urlBosProdOnline
: this.urlBosProdSandbox;
},
},
{
key: "docSubIndexBosUrl",
get: function () {
return this.env.isClient
? this.env.isProdOnline
? this.urlDocBosCDNProdOnline
: this.urlDocBosCDNProdSandbox
: this.env.isProdOnline
? this.urlDocBosProdOnline
: this.urlDocBosProdSandbox;
},
},
{
key: "docSubIndexEnBosUrl",
get: function () {
return this.env.isClient
? this.env.isProdOnline
? this.urlDocEnBosCDNProdOnline
: this.urlDocEnBosCDNProdSandbox
: this.env.isProdOnline
? this.urlDocEnBosProdOnline
: this.urlDocEnBosProdSandbox;
},
},
{
key: "cloudUrl",
get: function () {
return this.env.isDev
? this.urlYapi
: this.env.isClient
? ""
: this.env.isProd && this.env.isProdOnline
? this.urlCloudProduct
: this.urlCloudSandbox;
},
},
]),
t
);
})();
u = (0, r.__decorate)(
[
(0, c.GS)(),
(0, r.__metadata)("design:type", Function),
(0, r.__metadata)("design:paramtypes", [
void 0 === s.q ? Object : s.q,
]),
],
u
);
var _ = (function () {
function t(e, o) {
(0, n.Z)(this, t),
(this.httpConfig = e),
(this.env = o),
(this.productPriceBosUrl = this.httpConfig.productPriceBosUrl),
(this.docSubIndexBosUrl = this.httpConfig.docSubIndexBosUrl),
(this.docSubIndexEnBosUrl = this.httpConfig.docSubIndexEnBosUrl),
(this.cloudUrl = this.httpConfig.cloudUrl),
(this.GET_SEO_CORE_WORDS = "".concat(
a.V0,
"/portal-cloud-server/dep/core-keywords.json"
)),
(this.GET_ARTICLE_BEGINNING_MARKET_POS = "".concat(
this.developerBosByEnv,
"/article/:env/begining_market_seo_pos.json"
)),
(this.GET_ARTICLE_POPOVER_MARKET_POS = "".concat(
this.developerBosByEnv,
"/article/:env/popover_market_seo_pos.json"
)),
(this.GET_ARTICLE_PRODUCT_CARD_MARKET_POS = "".concat(
this.developerBosByEnv,
"/article/:env/product_card_market_seo_pos.json"
)),
(this.GET_ARTICLE_AI_BOTTOM_MARKET_POS = "".concat(
this.developerBos,
"/article/:env/ai_bottom_market_pos.json"
)),
(this.GET_ARTICLE_RIGHT_MARKET_POS = "".concat(
this.developerBos,
"/article/:env/right_market_pos.json"
)),
(this.POST_PARTNER_COURSE = "".concat(
this.portal,
"/api/partner/course"
)),
(this.GET_ACCOUT_PARTNER = "".concat(
this.portal,
"/api/partner/exam/qualify"
)),
(this.POST_PARTNER_EXAM_RESULT = "".concat(
this.portal,
"/api/partner/exam/result"
)),
(this.POST_PARTNER_EXAM = "".concat(
this.portal,
"/api/partner/exam"
)),
(this.POST_PARTNER_EXAM_APPLY = "".concat(
this.portal,
"/api/partner/exam/apply"
)),
(this.GET_PARTNER_EXAM_DETAIL = "".concat(
this.portal,
"/api/partner/exam/:examId"
)),
(this.GET_PARTNER_EXAM_INFO_APPLY = "".concat(
this.portal,
"/api/partner/exam_info/:examId"
)),
(this.GET_SUMMIT_LIVE_STATUS = "".concat(
this.portal,
"/api/summit/live/status"
)),
(this.GET_SUMMIT_RECOMMEND_CARD = ""
.concat(this.cloudBos, "/summit/")
.concat(this.bosPreFix, "recommend.js")),
(this.POST_CHECK_PRE_COURSE = "".concat(
this.portal,
"/api/video-center/preCourseCheck"
)),
(this.POST_QIANFAN_CHAT = "".concat(
this.portal,
"/api/qianfan/chat"
)),
(this.GET_QIANFAN_MODEL_DATA = "".concat(
this.portal,
"/api/qianfan/models"
)),
(this.GET_QIANFAN_TRIAL_DATA = ""
.concat(a.V0, "/portal-cloud-server/qianfan/")
.concat(this.bosPreFix, "trial.json")),
(this.SEARCH_CAMPAIGN_LIST = "".concat(
this.portal,
"/api/price/activity_list"
)),
(this.SEARCH_CAMPAIGN_DETAIL = "".concat(
this.portal,
"/api/price/activity_detail"
)),
(this.POST_PUSH_LEADS_TO_CRM = "/api/portal/leads"),
(this.POST_BCC_PRICE_V2 = "".concat(
this.cloudUrl,
"/api/calculator/bcc/instance/priceV2"
)),
(this.GET_AI_ACCELERATE_JOIN = "".concat(
this.portal,
"/api/accelerator/nums"
)),
(this.GET_AI_ACCELERATE_JOIN_STATUS = "".concat(
this.portal,
"/api/accelerator/status"
)),
(this.GET_AI_ACCELERATE_COURSE = "".concat(
this.portal,
"/api/accelerator/course"
)),
(this.GET_AI_ACCELERATE_DATA = ""
.concat(this.cloudBos, "/ai_training_camp/")
.concat(this.bosPreFix, ":id.js")),
(this.POST_AI_INVITATION_INFO = "".concat(
this.portal,
"/api/partner/invitation/info"
)),
(this.POST_AI_INVITATION_USER_INFO = "".concat(
this.portal,
"/api/partner/invitation/user_info"
)),
(this.GET_ACCOUNT_LOGIN_NAME = "".concat(
this.portal,
"/api/account/loginName"
)),
(this.POST_AI_INVITATION_COUNT = "".concat(
this.portal,
"/api/partner/invitation/count"
)),
(this.GET_AI_DEMO_DATA = "/platform/page/customDemo"),
(this.POST_AI_DEMO_FEEDBACK =
"/platform/red/logserver/api/v1/badcase/add"),
(this.POST_OCR_SEAL = "/platform/demo/red/rest/2.0/ocr/v1/seal"),
(this.POST_OCR_NUMBERS =
"/platform/demo/red/rest/2.0/ocr/v1/numbers"),
(this.POST_OCR_MULTIPLE_INVOICE =
"/platform/demo/red/rest/2.0/ocr/v1/multiple_invoice"),
(this.POST_OCR_VAT_INVOICE =
"/platform/demo/red/rest/2.0/ocr/v1/vat_invoice"),
(this.GET_DOC_TYPO_DATA = ""
.concat(a.V0, "/portal-cloud-server/doc/")
.concat(this.bosPreFix, "typo.json")),
(this.POST_AIDEMO = "/aidemo"),
(this.POST_VEHICLE_CAR =
"/platform/demo/red/rest/2.0/image-classify/v1/car"),
(this.POST_IMAGERECOGNITION_LANDMARK =
"/platform/demo/red/rest/2.0/image-classify/v1/landmark"),
(this.POST_IMAGERECOGNITION_INGREDIENT =
"/platform/demo/red/rest/2.0/image-classify/v1/classify/ingredient"),
(this.POST_VEHICLE_DETECT =
"/platform/demo/red/rest/2.0/image-classify/v1/vehicle_detect"),
(this.POST_OCR_ONLINE_TAXI_ITINERARY =
"/platform/demo/red/rest/2.0/ocr/v1/online_taxi_itinerary"),
(this.POST_OCR_DOC_PARSER =
"/platform/demo/xmind/red/xmind/parser"),
(this.POST_IMG_DEF_ENHANCE =
"/platform/demo/red/rest/2.0/image-process/v1/image_definition_enhance"),
(this.POST_IMG_DEHAZE =
"/platform/demo/red/rest/2.0/image-process/v1/dehaze"),
(this.POST_IMG_CONTRAST_ENHANCE =
"/platform/demo/red/rest/2.0/image-process/v1/contrast_enhance"),
(this.POST_IMG_STRETCH_RESTORE =
"/platform/demo/red/rest/2.0/image-process/v1/stretch_restore"),
(this.POST_IMG_COLOR_ENHANCE =
"/platform/demo/red/rest/2.0/image-process/v1/color_enhance"),
(this.POST_IMG_COLOURIZE =
"/platform/demo/red/rest/2.0/image-process/v1/colourize"),
(this.POST_IMG_SELFIE_ANIME =
"/platform/demo/red/rest/2.0/image-process/v1/selfie_anime"),
(this.POST_IMG_STYLE_TRANS =
"/platform/demo/red/rest/2.0/image-process/v1/style_trans"),
(this.POST_IMG_QUALITY_ENHANCE =
"/platform/demo/red/rest/2.0/image-process/v1/image_quality_enhance");
}
return (
(0, i.Z)(t, [
{
key: "cloudBos",
get: function () {
return this.httpConfig.cloudBosUrl;
},
},
{
key: "developerBos",
get: function () {
return this.httpConfig.developerBosUrl;
},
},
{
key: "developerBosByEnv",
get: function () {
return this.httpConfig.developerBosUrlByEnv;
},
},
{
key: "bosPreFix",
get: function () {
return this.httpConfig.bosUrlPrefix;
},
},
{
key: "portalServer",
get: function () {
return this.httpConfig.portalServerUrl;
},
},
{
key: "portal",
get: function () {
return this.httpConfig.portalUrl;
},
},
{
key: "developer",
get: function () {
return this.httpConfig.developerUrl;
},
},
{
key: "consoleHub",
get: function () {
return this.httpConfig.consoleHubUrl;
},
},
{
key: "INDEX_BANNER2022",
get: function () {
return ""
.concat(this.cloudBos, "/index/")
.concat(this.bosPreFix, "banner2022.js");
},
},
{
key: "INDEX_MARKET_POS2022",
get: function () {
return ""
.concat(this.cloudBos, "/index/")
.concat(this.bosPreFix, "marketPos2022.js");
},
},
{
key: "INDEX_MARKET_POS_WAP2023",
get: function () {
return ""
.concat(this.cloudBos, "/index/")
.concat(this.bosPreFix, "marketPosWap2023.js");
},
},
{
key: "INDEX_PRODUCT2022",
get: function () {
return ""
.concat(this.cloudBos, "/index/")
.concat(this.bosPreFix, "product2022.js");
},
},
{
key: "INDEX_GROUP_BUY",
get: function () {
return "".concat(
a.V0,
"/portal-cloud-server/group-purchase/indexGroupBuy.json"
);
},
},
{
key: "INDEX_ENTERPRISE2022",
get: function () {
return ""
.concat(this.cloudBos, "/index/")
.concat(this.bosPreFix, "enterprise2022.js");
},
},
{
key: "INDEX_ACTIVITY2022",
get: function () {
return ""
.concat(this.cloudBos, "/index/")
.concat(this.bosPreFix, "activity2022.js");
},
},
{
key: "GET_DEVELOPER",
get: function () {
return ""
.concat(this.cloudBos, "/index/")
.concat(this.bosPreFix, "developer.js");
},
},
{
key: "GET_EXPERIENCE",
get: function () {
return ""
.concat(this.cloudBos, "/portal_experience/")
.concat(this.bosPreFix, "experience.js");
},
},
{
key: "GET_PRODUCT_PRICE_NAV",
get: function () {
return ""
.concat(this.cloudBos, "/product-price/")
.concat(this.bosPreFix, "nav.js");
},
},
{
key: "GET_INDEX_NEWS",
get: function () {
return ""
.concat(this.cloudBos, "/index/")
.concat(this.bosPreFix, "news.js");
},
},
{
key: "GET_HOT_SEARCH",
get: function () {
return ""
.concat(this.cloudBos, "/portal_search/")
.concat(this.bosPreFix, "productUnion.js");
},
},
{
key: "GET_PORTAL_COMMON_NAV",
get: function () {
return ""
.concat(this.cloudBos, "/portal-common/")
.concat(this.bosPreFix, "nav.js");
},
},
{
key: "GET_CMS_PAGE_PATH",
get: function () {
return "".concat(this.portalServer, "/api/cms/path");
},
},
{
key: "GET_CMS_PAGE_DATA",
get: function () {
return this.env.isDev
? "ht:/gzbh-sandbox144-store-5117.gzbh:8266/api/cms/data"
: "".concat(this.portalServer, "/api/cms/data");
},
},
{
key: "EXIST_PREVIEW_MODE",
get: function () {
return "/api/cloud-server/clear-preview";
},
},
{
key: "GET_DOC_SDK_DATA",
get: function () {
return ""
.concat(this.cloudBos, "/doc/")
.concat(this.bosPreFix, "sdk.js");
},
},
{
key: "GET_PRACTICE_SEARCH",
get: function () {
return "/api/practice/search";
},
},
{
key: "GET_PRACTICE_LIST",
get: function () {
return "".concat(this.portal, "/api/practice");
},
},
{
key: "GET_PRACTICE_CATEGORY",
get: function () {
return "".concat(this.portal, "/api/practice/category");
},
},
{
key: "GET_PRACTICE_DETAIL",
get: function () {
return "".concat(this.portal, "/api/practice/:id/detail");
},
},
{
key: "VIEW_PRACTICE_DETAIL",
get: function () {
return "/api/practice/:id/view";
},
},
{
key: "GET_DOC_INDEX",
get: function () {
return ""
.concat(this.cloudBos, "/doc/")
.concat(this.bosPreFix, "nav.js");
},
},
{
key: "GET_DOC_SUB_SIDEBAR",
get: function () {
return "".concat(this.docSubIndexBosUrl, "/:path/config.json");
},
},
{
key: "GET_DOC_SUB_SIDEBAR_EN",
get: function () {
return "".concat(
this.docSubIndexEnBosUrl,
"/:path/config.json"
);
},
},
{
key: "GET_DOC_SUB_NAV",
get: function () {
return ""
.concat(this.cloudBos, "/:path/")
.concat(this.bosPreFix, "nav.js");
},
},
{
key: "GET_DOC_PDF",
get: function () {
return "".concat(this.portalServer, "/doc/:repo/pdf_settings");
},
},
{
key: "GET_DOC_ORG_NAME",
get: function () {
return "".concat(this.portal, "/api/doc/org/:id");
},
},
{
key: "POST_DOC_SEARCH",
get: function () {
return "".concat(this.portal, "/api/doc/search");
},
},
{
key: "GET_DOC_OPERATION_DATA",
get: function () {
return "".concat(this.portal, "/api/doc/operation_info");
},
},
{
key: "GET_NEWS_DETAIL",
get: function () {
return "".concat(this.portal, "/api/news");
},
},
{
key: "GET_NEWS_LIST",
get: function () {
return "".concat(this.portal, "/api/news_list");
},
},
{
key: "GET_NEWS_LIST_HOT_NEWS",
get: function () {
return ""
.concat(this.cloudBos, "/index/")
.concat(this.bosPreFix, "news.js");
},
},
{
key: "GET_DEVELOPER_USER_CURRENT",
get: function () {
return "".concat(this.portal, "/api/live/current");
},
},
{
key: "LIVE_JOIN",
get: function () {
return "".concat(this.developer, "/portal/live/sign_up");
},
},
{
key: "GET_LIVE_DETAIL",
get: function () {
return "".concat(this.developer, "/portal/live/:id");
},
},
{
key: "LIVE_COMMENT",
get: function () {
return "".concat(this.developer, "/portal/live/comment");
},
},
{
key: "PUBLISH_LIVE_COMMENT",
get: function () {
return "".concat(this.portal, "/api/live/comment");
},
},
{
key: "DELETE_LIVE_COMMENT",
get: function () {
return "".concat(this.portal, "/api/live/delete_comment");
},
},
{
key: "LIVE_COMMENT_DEL",
get: function () {
return "".concat(
this.developer,
"/portal/live/deleted_comment/:liveId"
);
},
},
{
key: "LIVE_COMMENT_HISTORY",
get: function () {
return "".concat(
this.developer,
"/portal/live/comments/history"
);
},
},
{
key: "GET_QUESTION_LIST",
get: function () {
return "".concat(this.developer, "/questions");
},
},
{
key: "GET_QUESTION_DETAIL",
get: function () {
return "".concat(this.developer, "/question/:id");
},
},
{
key: "GET_QUESTION_RELATED",
get: function () {
return "".concat(this.developer, "/question/:id/related");
},
},
{
key: "GET_QUESTION_ANSWER",
get: function () {
return "".concat(this.developer, "/question/:id/answers");
},
},
{
key: "GET_QUESTION_HOT_QUESTION",
get: function () {
return ""
.concat(this.developerBos, "/question/")
.concat(this.bosPreFix, "hot_question.json");
},
},
{
key: "GET_THEME_LIST",
get: function () {
return "".concat(this.portal, "/api/theme/:word/keywords");
},
},
{
key: "GET_SEO_TAIL_WORD",
get: function () {
return "".concat(this.portal, "/api/theme/keyword/:id");
},
},
{
key: "PORTAL_SEARCH",
get: function () {
return "".concat(this.portal, "/api/portalsearch");
},
},
{
key: "GET_SOLUTION_INDEX_MARKET_POS",
get: function () {
return ""
.concat(this.cloudBos, "/solution/")
.concat(this.bosPreFix, "marketingPosition.js");
},
},
{
key: "GET_PRODUCT_INDEX_MARKET_POS",
get: function () {
return ""
.concat(this.cloudBos, "/product/")
.concat(this.bosPreFix, "marketingPosition.js");
},
},
{
key: "GET_PRODUCT_INDEX_MARKET_POS_2023",
get: function () {
return ""
.concat(this.cloudBos, "/product/")
.concat(this.bosPreFix, "marketingPosition2023.js");
},
},
{
key: "GET_DOC_INDEX_MARKET_POS",
get: function () {
return ""
.concat(this.cloudBos, "/doc/")
.concat(this.bosPreFix, "marketingPosition.js");
},
},
{
key: "GET_PRODUCT_RECOMMEND",
get: function () {
return "".concat(this.portal, "/api/feed/similar_product");
},
},
{
key: "GET_BCD_PORTAL_TLD",
get: function () {
return "/api/bcd/open/portal/recommend?from=portalAvailableTld";
},
},
{
key: "GET_BCD_PORTAL_HOT",
get: function () {
return "/api/bcd/open/portal/recommend?from=portalRecommendTld";
},
},
{
key: "GET_BCD_PORTAL_TRAN",
get: function () {
return "/api/bcd/open/portal/recommend?from=portalRecommendDomain";
},
},
{
key: "GET_BCD_PORTAL_DETAIL",
get: function () {
return "/api/bcd/open/domain/detail";
},
},
{
key: "GET_BCD_PKG_LIST",
get: function () {
return "".concat(
this.consoleHub,
"/api/bcd/open/resource/package/sale"
);
},
},
{
key: "GET_BCD_NOTICE_LIST",
get: function () {
return "".concat(this.consoleHub, "/api/bcd/open/notice/query");
},
},
{
key: "GET_BCD_NOTICE_DETAIL",
get: function () {
return "".concat(this.consoleHub, "/api/bcd/open/notice/:id");
},
},
{
key: "GET_BCD_RECOMMEND_SUFFIX",
get: function () {
return "".concat(
this.portal,
"/api/bcd/whois/suffix_recommend"
);
},
},
{
key: "GET_BCD_PURCHASE_DATA",
get: function () {
return "/api/bcd/open/portal/anonymous/agent-consult";
},
},
{
key: "GET_BCD_SEND_SMSCODE",
get: function () {
return "/api/bcd/open/portal/agent-demand/anonymous-verification";
},
},
{
key: "GET_BLA_STATIC_DATA",
get: function () {
return "/api/crs/static/data";
},
},
{
key: "GET_BLA_QUALIFICATION_DATA",
get: function () {
return "/api/bla/qualification/industries";
},
},
{
key: "GET_BLA_ACTIVITIES",
get: function () {
return "/api/bla/portal/activities";
},
},
{
key: "GET_BLA_NAVS",
get: function () {
return "/api/bla/portal/navigation";
},
},
{
key: "GET_BLA_QUALIFICATIONS",
get: function () {
return "/api/bla/portal/qualifications";
},
},
{
key: "GET_BLA_SECTIONS",
get: function () {
return "/api/bla/portal/section";
},
},
{
key: "GET_BLA_OTHERS",
get: function () {
return "/api/bla/portal/recommendation";
},
},
{
key: "GET_BLA_NFT_QUALIFICATIONS",
get: function () {
return "/api/bla/portal/nft/qualifications";
},
},
{
key: "GET_BLA_NFT_BANNER",
get: function () {
return "/api/bla/portal/nft/banner";
},
},
{
key: "GET_BLA_QUALIFICATIONS_QUERY",
get: function () {
return "/api/bla/qualification/query";
},
},
{
key: "GET_CBS_SEND_SMSCODE",
get: function () {
return "/api/crs/verification/sms";
},
},
{
key: "GET_BLA_SEND_SMSCODE",
get: function () {
return "/api/bla/requirements/verify";
},
},
{
key: "GET_CBS_SUBMIT_DEMAND",
get: function () {
return "/api/crs/demand/anonymous";
},
},
{
key: "GET_BLA_SUBMIT_DEMAND",
get: function () {
return "/api/bla/requirements/anonymous";
},
},
{
key: "GET_WX_SHARE",
get: function () {
return "/api/portal_server/wx/signature";
},
},
{
key: "GET_TMS_GET_TRANSACTION_LIST",
get: function () {
return "/api/tms/transaction/v2/goods/list";
},
},
{
key: "GET_TMS_SEARCH_COUPON",
get: function () {
return "/api/sme/coupon?judge";
},
},
{
key: "GET_TMS_RECEIVE_COUPON",
get: function () {
return "/api/sme/coupon/promotion?acquireCoupon";
},
},
{
key: "GET_TMS_GET_TRADE_LIST",
get: function () {
return "".concat(this.consoleHub, "/api/tms/query/list");
},
},
{
key: "GET_TMS_GET_TRADE_DETAIL",
get: function () {
return "".concat(this.consoleHub, "/api/tms/query/detail");
},
},
{
key: "GET_TMS_GET_TRANSACTION_INFO",
get: function () {
return "".concat(
this.consoleHub,
"/api/tms/transaction/goods/query-list"
);
},
},
{
key: "GET_TMS_SERVICE_TIMS",
get: function () {
return "".concat(this.consoleHub, "/api/tms/query/time");
},
},
{
key: "GET_SEARCH_TOP",
get: function () {
return "".concat(this.portal, "/api/search/top");
},
},
{
key: "GET_DEFAULT_SEARCH_TOP",
get: function () {
return ""
.concat(this.cloudBos, "/portal_search/")
.concat(this.bosPreFix, "recommend.js");
},
},
{
key: "GET_SEARCH_TYPECOUNT",
get: function () {
return "".concat(this.portal, "/api/search/type");
},
},
{
key: "GET_RANK_NEWS_TICKER",
get: function () {
return "".concat(this.portal, "/api/rank/news_ticker");
},
},
{
key: "GET_ARTICLE_HOME_TAGS",
get: function () {
return ""
.concat(this.developerBos, "/home/")
.concat(this.bosPreFix, "tag.json");
},
},
{
key: "GET_NEW_ACTIVITYS_DATA",
get: function () {
return ""
.concat(this.developerBos, "/article/")
.concat(this.bosPreFix, "newest_activity.json");
},
},
{
key: "GET_HOT_ARTICLES_DATA",
get: function () {
return ""
.concat(this.developerBos, "/article/")
.concat(this.bosPreFix, "hottest_article.json");
},
},
{
key: "GET_ARTICLE_ALL_LIST",
get: function () {
return "".concat(this.developer, "/article/list");
},
},
{
key: "GET_ARTICLE_DETAIL",
get: function () {
return "".concat(this.developer, "/article/:id");
},
},
{
key: "GET_COMMENT",
get: function () {
return "".concat(this.developer, "/article/:id/comment");
},
},
{
key: "GET_TAGS_OF_ARTICLE",
get: function () {
return "".concat(this.developer, "/article/:id/tag");
},
},
{
key: "GET_ARTICLE_MARKETING_POS",
get: function () {
return "".concat(
this.portal,
"/api/seo/article/:id/operation_ids"
);
},
},
{
key: "GET_ACTIVITY",
get: function () {
return ""
.concat(this.developerBos, "/home/")
.concat(this.bosPreFix, "activity.json");
},
},
{
key: "GET_ACTIVITY_BANNER",
get: function () {
return ""
.concat(this.developerBos, "/activity/")
.concat(this.bosPreFix, "index_banner.json");
},
},
{
key: "GET_ACTIVITY_TOPIC",
get: function () {
return ""
.concat(this.developerBos, "/activity/")
.concat(this.bosPreFix, "index_topic.json");
},
},
{
key: "ACTIVITY_INDEX_CALENDAR",
get: function () {
return "".concat(this.developer, "/campaign/calendar");
},
},
{
key: "ACTIVITY_INDEX_TAGS",
get: function () {
return "".concat(this.developer, "/campaign/tags");
},
},
{
key: "ACTIVITY_INDEX_LIST",
get: function () {
return "".concat(this.developer, "/campaign");
},
},
{
key: "POST_GROUP_BUY_BCC_IMAGES",
get: function () {
return "".concat(
this.portal,
"/api/bcc/image/list/forCreateInstance"
);
},
},
{
key: "GROUP_BUY_PRICES",
get: function () {
return "".concat(this.portal, "/api/merge_purchase/prices");
},
},
{
key: "GROUP_BUY_TOPAY",
get: function () {
return "".concat(this.portal, "/api/merge_purchase/orders");
},
},
{
key: "ACCOUNT_REAL_NAME_TYPE",
get: function () {
return "".concat(this.portal, "/api/account/real_name/type");
},
},
{
key: "GET_CBS_REGION",
get: function () {
return "".concat(this.portal, "/api/crs/static/data");
},
},
{
key: "POST_GROUPBUY_AUTHCODE",
get: function () {
return "".concat(this.portal, "/api/merge_purchase/auth_code");
},
},
{
key: "POST_GROUPBUY_AUTHCODE_VERIFY",
get: function () {
return "".concat(
this.portal,
"/api/merge_purchase/auth_code/verify"
);
},
},
{
key: "GET_VPC_LIST",
get: function () {
return "".concat(this.portal, "/api/merge_purchase/vpc_list");
},
},
{
key: "GET_RESOURCE_GROUP_ID",
get: function () {
return "".concat(this.portal, "/api/res/group");
},
},
{
key: "GET_INSTANCE_FLAVORSPEC",
get: function () {
return "".concat(this.portal, "/api/bcc/instance/flavorSpec");
},
},
{
key: "GET_GROUP_PURCHASE_PRODUCTS",
get: function () {
return "".concat(this.portal, "/api/price/config");
},
},
{
key: "GET_GROUP_PURCHASE_PRODUCTS_NO_LOGIN",
get: function () {
return "".concat(this.portal, "/api/price/config/cache");
},
},
{
key: "GET_PRODUCT_PRICE_FROM_BOS",
get: function () {
return "".concat(
this.productPriceBosUrl,
"/product-price/:parentServiceType-:serviceType/:signAuth.json"
);
},
},
{
key: "POST_SURVEY_NO_NEED_LOGIN",
get: function () {
return "".concat(
this.portal,
"/api/survey/no_need_login/apply"
);
},
},
{
key: "POST_SURVEY_NEED_LOGIN",
get: function () {
return "".concat(this.portal, "/api/survey/need_login/apply");
},
},
{
key: "POST_SURVEY_SUMMIT",
get: function () {
return "".concat(this.portal, "/api/survey_summit/apply");
},
},
{
key: "POST_PRODUCT_TPL",
get: function () {
return this.env.isDev
? "ht:/gzbh-sandbox144-store-5117.gzbh:8266/api/cms/tpl"
: "".concat(this.portalServer, "/api/cms/tpl");
},
},
{
key: "POST_PRODUCT_PRICE",
get: function () {
return "".concat(this.portal, "/api/price");
},
},
{
key: "POST_MERGE_PRODUCT_PRICE",
get: function () {
return "".concat(this.portal, "/api/price/merge-product");
},
},
{
key: "POST_VIDEO_CENTER_TYPE",
get: function () {
return "".concat(this.portal, "/api/video-center/type");
},
},
{
key: "GET_VIDEO_CENTER_LIST",
get: function () {
return "".concat(this.portal, "/api/video-center/list");
},
},
{
key: "POST_VIDEO_DETAIL",
get: function () {
return "".concat(this.portal, "/api/video-center/video");
},
},
{
key: "POST_VIDEO_DETAIL_VIEWED",
get: function () {
return "".concat(this.portal, "/api/video-center/views");
},
},
{
key: "POST_VIDEO_DETAIL_LIKES",
get: function () {
return "".concat(this.portal, "/api/video-center/likes");
},
},
{
key: "POST_VIDEO_DETAIL_DISLIKES",
get: function () {
return "".concat(this.portal, "/api/video-center/dislikes");
},
},
{
key: "POST_VIDEO_DETAIL_USERINFO",
get: function () {
return "".concat(this.portal, "/api/video-center/user-info");
},
},
{
key: "GET_ACCOUNT_STATUS",
get: function () {
return "".concat(this.portal, "/api/account/status");
},
},
{
key: "GET_WENXIN_DATA",
get: function () {
return ""
.concat(this.cloudBos, "/wenxin/")
.concat(this.bosPreFix, "data.js");
},
},
{
key: "HANDBOOK_WHITEBOOK",
get: function () {
return ""
.concat(this.cloudBos, "/portal_aggregation/")
.concat(this.bosPreFix, "white_book.js");
},
},
{
key: "HANDBOOK_PRODUCT",
get: function () {
return ""
.concat(this.cloudBos, "/portal_aggregation/")
.concat(this.bosPreFix, "product_handbook.js");
},
},
{
key: "GET_CLOUD_LIVE",
get: function () {
return "".concat(this.portal, "/api/cloud-live/:liveId");
},
},
{
key: "CLOUD_LIVE_VIEW",
get: function () {
return "/api/cloud-live/:liveId/view";
},
},
{
key: "POST_CLOUD_LIVE_MESSAGE",
get: function () {
return "/api/cloud-live/msg";
},
},
{
key: "POST_COUPON_PRECONDITION",
get: function () {
return "/api/yunying/coupon/precondition";
},
},
{
key: "POST_COUPON_APPLY",
get: function () {
return "/api/yunying/coupon/apply";
},
},
{
key: "GET_PURCHASE_PRODUCT",
get: function () {
return "".concat(this.portal, "/api/price/config");
},
},
{
key: "POST_COUPON_AVAIL",
get: function () {
return "".concat(this.portal, "/api/coupon/avail");
},
},
{
key: "POST_PURCHASE_ORDER_MOBILE",
get: function () {
return "".concat(
this.portal,
"/api/merge_purchase/orders/mobile"
);
},
},
{
key: "GET_COUPON_GROUP_CMS",
get: function () {
return ""
.concat(this.cloudBos, "/product/")
.concat(this.bosPreFix, "coupon_group.js");
},
},
{
key: "GET_AGGREGATE_AI_DATA",
get: function () {
return ""
.concat(this.cloudBos, "/portal_aggregation/")
.concat(this.bosPreFix, "ai_data.js");
},
},
{
key: "GET_SUMMIT_PAGE_DATA",
get: function () {
return ""
.concat(this.cloudBos, "/summit/:path/")
.concat(this.bosPreFix, "data.json");
},
},
{
key: "GET_SUMMIT_PAGE_DATA_NEW",
get: function () {
return ""
.concat(this.cloudBos, "/summit/")
.concat(this.bosPreFix, ":path.js");
},
},
{
key: "GET_SEARCH_COMPANY",
get: function () {
return "".concat(
this.portal,
"/api/survey_summit/search_company"
);
},
},
{
key: "POST_UC_BIND_PASS",
get: function () {
return "/api/cloud-live/uc_bind_pass";
},
},
{
key: "GET_PRODUCT_API_ID",
get: function () {
return "".concat(
a.t0,
"/portal-cloud-server/group-purchase/product-map/:product.json"
);
},
},
{
key: "GET_QIANFAN_TRIAL_STATUS",
get: function () {
return "".concat(this.portal, "/api/qianfan/check_protocol");
},
},
{
key: "POST_QIANFAN_TRIAL_APPLY",
get: function () {
return "".concat(this.portal, "/api/qianfan/agree_protocol");
},
},
{
key: "GET_PRICE_CALCULATOR_NAV",
get: function () {
return ""
.concat(this.cloudBos, "/calculator/")
.concat(this.bosPreFix, "nav.js");
},
},
{
key: "GET_REGION_LIST",
get: function () {
return "".concat(this.cloudUrl, "/api/region/list");
},
},
{
key: "GET_QIANFAN_PRICE",
get: function () {
return "".concat(
this.portal,
"/api/calculator/qianfan/order/price"
);
},
},
{
key: "GET_REGION_LIST_NEW",
get: function () {
return "".concat(this.cloudUrl, "/api/region/region_list");
},
},
{
key: "GET_EIP_PRICE",
get: function () {
return "".concat(
this.cloudUrl,
"/api/calculator/getPrice/batch"
);
},
},
{
key: "GET_BEC_FLAVOR",
get: function () {
return "".concat(this.cloudUrl, "/api/calculator/bec/flavor");
},
},
{
key: "GET_BEC_PRICE",
get: function () {
return "".concat(this.cloudUrl, "/api/calculator/bec/price");
},
},
{
key: "GET_BCC_FLAVOR_LIST",
get: function () {
return "".concat(this.cloudUrl, "/api/calculator/bccFlavor");
},
},
{
key: "GET_BCC_PRICE",
get: function () {
return "".concat(
this.cloudUrl,
"/api/calculator/bcc/instance/price"
);
},
},
{
key: "ADD_CALCULATOR_LIST",
get: function () {
return "".concat(
this.portal,
"/api/calculator/addCalculatorList"
);
},
},
{
key: "GET_CALCULATOR_LIST",
get: function () {
return "".concat(
this.portal,
"/api/calculator/getCalculatorList"
);
},
},
{
key: "DELETE_CALCULATOR_LIST",
get: function () {
return "".concat(
this.portal,
"/api/calculator/delCalculatorList"
);
},
},
{
key: "UPDATE_CALCULATOR_LIST",
get: function () {
return "".concat(
this.portal,
"/api/calculator/updateCalculatorList"
);
},
},
{
key: "RDS_PACKAGE_CONFIG",
get: function () {
return "".concat(this.cloudUrl, "/api/rds/package/config");
},
},
{
key: "RDS_BATCH_QUERY_PRICE",
get: function () {
return "".concat(
this.cloudUrl,
"/api/calculator/getPrice/batch"
);
},
},
{
key: "DWZ_QUERY_PRICE",
get: function () {
return "".concat(
this.cloudUrl,
"/api/calculator/getPrice/batch"
);
},
},
]),
t
);
})();
_ = (0, r.__decorate)(
[
(0, c.GS)(),
(0, r.__metadata)("design:type", Function),
(0, r.__metadata)("design:paramtypes", [
void 0 === u ? Object : u,
void 0 === s.q ? Object : s.q,
]),
],
_
);
},
},
]);