"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DefaultVerticalIconUrl=exports.BanStatus=exports.BUILD_VIDEO_ONLY=exports.BOOLEAN_FLAG=exports.BAN_TYPE=exports.BACKGROUND_PLAYBACK_ICON_URL=exports.ANNOUNCEMENT_ICON_URL=void 0,Object.defineProperty(exports,"EVENTS",{enumerable:!0,get:function(){return _events.default}}),exports.ErrorCodeEnum=void 0,Object.defineProperty(exports,"INNER",{enumerable:!0,get:function(){return _eventsInner.default}}),exports.MESSAGE_ERROR=exports.MENU_TYPE=exports.MAX_CHAT_COUNT=exports.LIVE_STATUS_TEXT_MAP=exports.LIVE_STATUS=exports.ImageTextTypes=exports.ImageTextTypeStr=void 0,Object.defineProperty(exports,"PUBLIC",{enumerable:!0,get:function(){return _eventsPublic.default}}),exports.VERIFY_CODE_COUNT_TIME=exports.TelRegx=exports.TAB_KEY=exports.ServerErrorToSdkEvent=exports.SIMPLE_QUIZ_ICON_URL=exports.SDK_OPTIONS=exports.SDKErrorMessage=exports.SDKErrorEvent=exports.SDKErrorCode=exports.RegionArray=exports.RedPacketRainDuration=exports.REQUEST_URL_MAP=exports.REQUEST_ORIGIN_PRIMARY=exports.REQUEST_ORIGIN_BACKUP=exports.QUESTION_ICON_URL=exports.QUESTIONNAIRE_ICON_URL=exports.PUBLISH_STATUS=void 0;var _LIVE_STATUS_TEXT_MAP,_ImageTextTypeStr,_DefaultVerticalIconU,_ServerErrorToSdkEven,_SDKErrorCode,_SDKErrorMessage,_eventsPublic=_interopRequireDefault(require("./events-public")),_eventsInner=_interopRequireDefault(require("./events-inner")),_events=_interopRequireDefault(require("./events"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _defineProperty(e,r,l){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[r]=l,e}function _toPropertyKey(e){var r=_toPrimitive(e,"string");return"symbol"===_typeof(r)?r:String(r)}function _toPrimitive(e,r){if("object"!==_typeof(e)||null===e)return e;var l=e[Symbol.toPrimitive];if(void 0!==l){var t=l.call(e,r||"default");if("object"!==_typeof(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}var BUILD_VIDEO_ONLY=function(){try{return!0}catch(e){return!1}}();exports.BUILD_VIDEO_ONLY=BUILD_VIDEO_ONLY;var LIVE_STATUS={"直播":1,"预告":2,"回放":3,"结束":4,"已关闭":5};exports.LIVE_STATUS=LIVE_STATUS;var LIVE_STATUS_TEXT_MAP=(_defineProperty(_LIVE_STATUS_TEXT_MAP={},LIVE_STATUS.直播,"直播"),_defineProperty(_LIVE_STATUS_TEXT_MAP,LIVE_STATUS.预告,"预告"),_defineProperty(_LIVE_STATUS_TEXT_MAP,LIVE_STATUS.回放,"回放"),_defineProperty(_LIVE_STATUS_TEXT_MAP,LIVE_STATUS.结束,"结束"),_defineProperty(_LIVE_STATUS_TEXT_MAP,LIVE_STATUS.已关闭,"已关闭"),_LIVE_STATUS_TEXT_MAP);exports.LIVE_STATUS_TEXT_MAP=LIVE_STATUS_TEXT_MAP;var BOOLEAN_FLAG={NO:0,YES:1};exports.BOOLEAN_FLAG=BOOLEAN_FLAG;var PUBLISH_STATUS={UNPUBLISHED:0,PUBLISHED:1};exports.PUBLISH_STATUS=PUBLISH_STATUS;var REQUEST_ORIGIN_PRIMARY="https://live.byteoc.com";exports.REQUEST_ORIGIN_PRIMARY=REQUEST_ORIGIN_PRIMARY;var REQUEST_ORIGIN_BACKUP="https://live.volcvideo.com";exports.REQUEST_ORIGIN_BACKUP=REQUEST_ORIGIN_BACKUP;var QUESTION_ICON_URL="https://mediaservice-fe.volccdn.com/obj/vcloud-fe/livesaas-client/static/media/question.54f58814.png";exports.QUESTION_ICON_URL=QUESTION_ICON_URL;var SIMPLE_QUIZ_ICON_URL="https://p1-live.byteimg.com/tos-cn-i-gjr78lqtd0/e8afcdb815f149d89f365a441257799d~tplv-gjr78lqtd0-image.image";exports.SIMPLE_QUIZ_ICON_URL=SIMPLE_QUIZ_ICON_URL;var QUESTIONNAIRE_ICON_URL="https://mediaservice-fe.volccdn.com/obj/vcloud-fe/livesaas-client/402ef20779f94c3c39eb.png";exports.QUESTIONNAIRE_ICON_URL=QUESTIONNAIRE_ICON_URL;var ANNOUNCEMENT_ICON_URL="https://p1-live.byteimg.com/tos-cn-i-gjr78lqtd0/cd00a5b52c084fd4a3c3a2ec7028bd3e~tplv-gjr78lqtd0-image.image";exports.ANNOUNCEMENT_ICON_URL=ANNOUNCEMENT_ICON_URL;var SDK_OPTIONS={activityId:"number",token:{required:!1,type:"string"},signToken:{required:!1,type:"string"},mode:"number",debug:{required:!1,type:"boolean"},autoConnect:{required:!1,type:"boolean"},chatFontSize:{required:!1,type:"number"},options:{required:!1,type:"object"}};exports.SDK_OPTIONS=SDK_OPTIONS;var REQUEST_URL_MAP={SDK_INIT:"/apiservice/sdkInit",GET_ACTIVITY:"/live/platform/v4/play/h5/get",WS_DID_UPDATE:"/live/platform/v1/user/ws/did/update",GET_CHAT_DATA:"/live/platform/v3/activity/message/polling",GET_EMOJI_LIST:"/live/platform/v3/activity/custom/emoji/get",REPORT:"/live/platform/v1/activity/data/report",CHANGE_AUTH_TOKEN:"/apiservice/changeTokenWithAuth",SEND_COMMENT:"/live/platform/v3/activity/message/send",PRODUCT_MESSAGE_SEND:"/live/platform/v1/product/message/send",SEARCH_COMMENT:"/live/platform/v1/activity/message/search",IMAGE_UPLOAD_CHECK:"/live/platform/v1/image/upload/check",IMAGE_STS_GET:"/live/platform/v1/image/sts/get",APPLY_IMAGE_UPLOAD:"https://imagex.volcengineapi.com",VOD_AUTH:"/live/platform/v1/vod/auth",VOD_SDK_URL_SAAS:"/live/platform/v1/vod/sdk/url/saas",QUIZ_SUBMIT:"/live/platform/v1/user/quiz/submit",GET_QUIZ_RESULT:"/live/platform/v1/user/quiz/result/get",GET_CHECK_IN_DETAIL:"/live/platform/v2/checkin/get",GET_CHECK_IN_LIST:"/live/platform/v2/activity/check/view/list/get",CHECK_IN_SUBMIT:"/live/platform/v2/checkin/check",GET_AWARD_LIST:"/live/platform/v3/activity/award/user/list/get",GET_AWARD_RECORD_INFO:"/live/platform/v2/award/get",ATTEND_LOTTERY:"/live/platform/v2/award/lottery",UPDATE_AWARD_RECORD_INFO:"/live/platform/v2/activity/award/win/msg/update",GET_AWARD_WIN_LIST:"/live/platform/v3/award/winners",THUMB:"/live/platform/v2/thumb/click",COUPON_PICKUP_STATUS_LIST:"/live/platform/v1/activity/coupon/pickup/status/list",COUPON_PICKUP:"/live/platform/v1/activity/coupon/pickup",QUESTIONNAIRE_GET:"/live/platform/v1/user/activity/questionnaire/get",QUESTIONNAIRE_CHECK:"/live/platform/v1/play/questionnaire/check",QUESTIONNAIRE_SUBMIT:"/apiservice/questionnaire",LUCKYMONEY_USER_STATUS:"/live/platform/v1/user/red/packet/status",LUCKYMONEY_POLLING:"/live/platform/v1/activity/red/packet/polling",LUCKYMONEY_ATTEND:"/live/platform/v1/user/join/red/packet",LUCKYMONEY_WECHAT_USER:"/live/platform/v1/red/packet/user/wechat/get",LUCKYMONEY_WINNER_GET:"/live/platform/v1/red/packet/winner/user/get",LUCKYMONEY_WINNER_GET2:"/live/platform/v1/red/packet/winner/user/get2",LUCKYMONEY_WITHDRAW_STATUS:"/live/platform/v1/red/packet/user/withdrawal/status",LUCKYMONEY_WECHAT_APPID:"/live/platform/v1/public/appid/get",RESERVATION_STATUS_GET:"/live/platform/v1/reservation/status/get",VERIFY_CODE_SEND:"/live/platform/v1/activity/tel/verifycode/send",VERIFY_CODE_CHECK:"/apiservice/checkactivityverifycode",RESERVATION_LOGIN:"/live/platform/v1/activity/tel/verifycode/check",VOTE_GET:"/live/platform/v1/vote/get",VOTE_SUBMIT:"/live/platform/v1/vote/vote",GET_LIVE_BONUS_TASK:"/live/platform/v2/activity/bonus/task/get",GET_LIVE_BONUS_WINNER_INFO:"/live/platform/v2/activity/bonus/task/winner/get",UPDATE_LIVE_BONUS_WINNER_INFO:"/live/platform/v2/activity/bonus/task/winner/update"};exports.REQUEST_URL_MAP=REQUEST_URL_MAP;var MAX_CHAT_COUNT=100;exports.MAX_CHAT_COUNT=MAX_CHAT_COUNT;var RedPacketRainDuration=10;exports.RedPacketRainDuration=RedPacketRainDuration;var ImageTextTypes={TEXT:1,IMAGE:2,QUESTIONNAIRE:3,DOCUMENT:4,VOTE:5,LOTTERY:6,LUCKMONEY:7,CHECKIN:8,TASK_AWARD:9,QUESTION:10,ANNOUNCEMENT:11,COUPON:12,LIVEBONUS:13};exports.ImageTextTypes=ImageTextTypes;var ImageTextTypeStr=(_defineProperty(_ImageTextTypeStr={},ImageTextTypes.VOTE,{Prefix:"Vote",ContextField:"VoteContext",Id:"VoteId"}),_defineProperty(_ImageTextTypeStr,ImageTextTypes.QUESTIONNAIRE,{Prefix:"Questionnaire",ContextField:"QuestionnaireContext",Id:"QuestionnaireId"}),_defineProperty(_ImageTextTypeStr,ImageTextTypes.QUESTION,{Prefix:"Quiz",ContextField:"QuizContext",Id:"QuizID"}),_defineProperty(_ImageTextTypeStr,ImageTextTypes.CHECKIN,{Prefix:"CheckIn",ContextField:"CheckInContext",Id:"CheckInId"}),_defineProperty(_ImageTextTypeStr,ImageTextTypes.COUPON,{Prefix:"Coupon",ContextField:"CouponContext",Id:"Id"}),_defineProperty(_ImageTextTypeStr,ImageTextTypes.LUCKMONEY,{Prefix:"Luckymoney",ContextField:"RedPacket",Id:"RedPacketID"}),_defineProperty(_ImageTextTypeStr,ImageTextTypes.LOTTERY,{Prefix:"Award",ContextField:"AwardContext",Id:"ID"}),_defineProperty(_ImageTextTypeStr,ImageTextTypes.ANNOUNCEMENT,{Prefix:"Announcement",ContextField:"AnnouncementContext",Id:"AnnouncementId"}),_defineProperty(_ImageTextTypeStr,ImageTextTypes.LIVEBONUS,{Prefix:"LiveBonus",ContextField:"ActivityBonusTaskContext",Id:"Id"}),_ImageTextTypeStr);exports.ImageTextTypeStr=ImageTextTypeStr;var MENU_TYPE={ImageTextIntro:1,ProductCard:2,ChatInteraction:3,InteractiveTool:4,PolyLive:5,InteractiveQa:6,EmbeddedLink:7,PrivateChat:8};exports.MENU_TYPE=MENU_TYPE;var DefaultVerticalIconUrl=(_defineProperty(_DefaultVerticalIconU={},MENU_TYPE.InteractiveTool,"https://p1-live.byteimg.com/tos-cn-i-gjr78lqtd0/c33a170554084fd487c58e63bbbfc758~tplv-gjr78lqtd0-z75.image"),_defineProperty(_DefaultVerticalIconU,MENU_TYPE.ProductCard,"https://p1-live.byteimg.com/tos-cn-i-gjr78lqtd0/8f27df3e7f134d77b683802fb7fecb18~tplv-gjr78lqtd0-z75.image"),_defineProperty(_DefaultVerticalIconU,MENU_TYPE.ImageTextIntro,"https://p1-live.byteimg.com/tos-cn-i-gjr78lqtd0/08d14e71640749daade30719a0aced91~tplv-gjr78lqtd0-z75.image"),_DefaultVerticalIconU);exports.DefaultVerticalIconUrl=DefaultVerticalIconUrl;var BACKGROUND_PLAYBACK_ICON_URL="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMjAuNSAxNS41VjguNUMyMC41IDYuMjkwODYgMTguNzA5MSA0LjUgMTYuNSA0LjVIMTEuNUM5LjI5MDg2IDQuNSA3LjUgNi4yOTA4NiA3LjUgOC41VjIzLjVDNy41IDI1LjcwOTEgOS4yOTA4NiAyNy41IDExLjUgMjcuNUgxMy41IiBzdHJva2U9IndoaXRlIiBzdHJva2Utb3BhY2l0eT0iMC45IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjxwYXRoIGQ9Ik0xMi41IDcuNUgxNS41IiBzdHJva2U9IndoaXRlIiBzdHJva2Utb3BhY2l0eT0iMC45IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjxwYXRoIGQ9Ik0xNy41IDE3SDI1LjVDMjYuODgwNyAxNyAyOCAxOC4xMTkzIDI4IDE5LjVWMjQuNUMyOCAyNS44ODA3IDI2Ljg4MDcgMjcgMjUuNSAyN0gxNy41QzE2LjExOTMgMjcgMTUgMjUuODgwNyAxNSAyNC41VjE5LjVDMTUgMTguMTE5MyAxNi4xMTkzIDE3IDE3LjUgMTdaIiBzdHJva2U9IndoaXRlIiBzdHJva2Utb3BhY2l0eT0iMC45IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=";exports.BACKGROUND_PLAYBACK_ICON_URL=BACKGROUND_PLAYBACK_ICON_URL;var RegionArray=[{label:"+247 AC",value:"+247",country:"AC"},{label:"+376 AD",value:"+376",country:"AD"},{label:"+971 AE",value:"+971",country:"AE"},{label:"+93 AF",value:"+93",country:"AF"},{label:"+355 AL",value:"+355",country:"AL"},{label:"+374 AM",value:"+374",country:"AM"},{label:"+244 AO",value:"+244",country:"AO"},{label:"+54 AR",value:"+54",country:"AR"},{label:"+43 AT",value:"+43",country:"AT"},{label:"+61 AU",value:"+61",country:"AU"},{label:"+297 AW",value:"+297",country:"AW"},{label:"+994 AZ",value:"+994",country:"AZ"},{label:"+387 BA",value:"+387",country:"BA"},{label:"+880 BD",value:"+880",country:"BD"},{label:"+32 BE",value:"+32",country:"BE"},{label:"+226 BF",value:"+226",country:"BF"},{label:"+359 BG",value:"+359",country:"BG"},{label:"+973 BH",value:"+973",country:"BH"},{label:"+257 BI",value:"+257",country:"BI"},{label:"+229 BJ",value:"+229",country:"BJ"},{label:"+673 BN",value:"+673",country:"BN"},{label:"+591 BO",value:"+591",country:"BO"},{label:"+55 BR",value:"+55",country:"BR"},{label:"+975 BT",value:"+975",country:"BT"},{label:"+267 BW",value:"+267",country:"BW"},{label:"+375 BY",value:"+375",country:"BY"},{label:"+501 BZ",value:"+501",country:"BZ"},{label:"+243 CD",value:"+243",country:"CD"},{label:"+236 CF",value:"+236",country:"CF"},{label:"+242 CG",value:"+242",country:"CG"},{label:"+41 CH",value:"+41",country:"CH"},{label:"+225 CI",value:"+225",country:"CI"},{label:"+682 CK",value:"+682",country:"CK"},{label:"+56 CL",value:"+56",country:"CL"},{label:"+237 CM",value:"+237",country:"CM"},{label:"+86 CN",value:"+86",country:"CN"},{label:"+57 CO",value:"+57",country:"CO"},{label:"+506 CR",value:"+506",country:"CR"},{label:"+53 CU",value:"+53",country:"CU"},{label:"+238 CV",value:"+238",country:"CV"},{label:"+599 CW",value:"+599",country:"CW"},{label:"+357 CY",value:"+357",country:"CY"},{label:"+420 CZ",value:"+420",country:"CZ"},{label:"+49 DE",value:"+49",country:"DE"},{label:"+253 DJ",value:"+253",country:"DJ"},{label:"+45 DK",value:"+45",country:"DK"},{label:"+213 DZ",value:"+213",country:"DZ"},{label:"+593 EC",value:"+593",country:"EC"},{label:"+372 EE",value:"+372",country:"EE"},{label:"+20 EG",value:"+20",country:"EG"},{label:"+291 ER",value:"+291",country:"ER"},{label:"+34 ES",value:"+34",country:"ES"},{label:"+251 ET",value:"+251",country:"ET"},{label:"+358 FI",value:"+358",country:"FI"},{label:"+679 FJ",value:"+679",country:"FJ"},{label:"+500 FK",value:"+500",country:"FK"},{label:"+691 FM",value:"+691",country:"FM"},{label:"+298 FO",value:"+298",country:"FO"},{label:"+33 FR",value:"+33",country:"FR"},{label:"+241 GA",value:"+241",country:"GA"},{label:"+44 GB",value:"+44",country:"GB"},{label:"+995 GE",value:"+995",country:"GE"},{label:"+594 GF",value:"+594",country:"GF"},{label:"+233 GH",value:"+233",country:"GH"},{label:"+350 GI",value:"+350",country:"GI"},{label:"+299 GL",value:"+299",country:"GL"},{label:"+220 GM",value:"+220",country:"GM"},{label:"+224 GN",value:"+224",country:"GN"},{label:"+590 GP",value:"+590",country:"GP"},{label:"+240 GQ",value:"+240",country:"GQ"},{label:"+30 GR",value:"+30",country:"GR"},{label:"+502 GT",value:"+502",country:"GT"},{label:"+245 GW",value:"+245",country:"GW"},{label:"+592 GY",value:"+592",country:"GY"},{label:"+852 HK",value:"+852",country:"HK"},{label:"+504 HN",value:"+504",country:"HN"},{label:"+385 HR",value:"+385",country:"HR"},{label:"+509 HT",value:"+509",country:"HT"},{label:"+36 HU",value:"+36",country:"HU"},{label:"+62 ID",value:"+62",country:"ID"},{label:"+353 IE",value:"+353",country:"IE"},{label:"+972 IL",value:"+972",country:"IL"},{label:"+91 IN",value:"+91",country:"IN"},{label:"+246 IO",value:"+246",country:"IO"},{label:"+964 IQ",value:"+964",country:"IQ"},{label:"+98 IR",value:"+98",country:"IR"},{label:"+354 IS",value:"+354",country:"IS"},{label:"+39 IT",value:"+39",country:"IT"},{label:"+962 JO",value:"+962",country:"JO"},{label:"+81 JP",value:"+81",country:"JP"},{label:"+254 KE",value:"+254",country:"KE"},{label:"+996 KG",value:"+996",country:"KG"},{label:"+855 KH",value:"+855",country:"KH"},{label:"+686 KI",value:"+686",country:"KI"},{label:"+269 KM",value:"+269",country:"KM"},{label:"+850 KP",value:"+850",country:"KP"},{label:"+82 KR",value:"+82",country:"KR"},{label:"+965 KW",value:"+965",country:"KW"},{label:"+856 LA",value:"+856",country:"LA"},{label:"+961 LB",value:"+961",country:"LB"},{label:"+423 LI",value:"+423",country:"LI"},{label:"+94 LK",value:"+94",country:"LK"},{label:"+231 LR",value:"+231",country:"LR"},{label:"+266 LS",value:"+266",country:"LS"},{label:"+370 LT",value:"+370",country:"LT"},{label:"+352 LU",value:"+352",country:"LU"},{label:"+371 LV",value:"+371",country:"LV"},{label:"+218 LY",value:"+218",country:"LY"},{label:"+212 MA",value:"+212",country:"MA"},{label:"+377 MC",value:"+377",country:"MC"},{label:"+373 MD",value:"+373",country:"MD"},{label:"+382 ME",value:"+382",country:"ME"},{label:"+261 MG",value:"+261",country:"MG"},{label:"+692 MH",value:"+692",country:"MH"},{label:"+389 MK",value:"+389",country:"MK"},{label:"+223 ML",value:"+223",country:"ML"},{label:"+95 MM",value:"+95",country:"MM"},{label:"+976 MN",value:"+976",country:"MN"},{label:"+853 MO",value:"+853",country:"MO"},{label:"+596 MQ",value:"+596",country:"MQ"},{label:"+222 MR",value:"+222",country:"MR"},{label:"+356 MT",value:"+356",country:"MT"},{label:"+230 MU",value:"+230",country:"MU"},{label:"+960 MV",value:"+960",country:"MV"},{label:"+265 MW",value:"+265",country:"MW"},{label:"+52 MX",value:"+52",country:"MX"},{label:"+60 MY",value:"+60",country:"MY"},{label:"+258 MZ",value:"+258",country:"MZ"},{label:"+264 NA",value:"+264",country:"NA"},{label:"+687 NC",value:"+687",country:"NC"},{label:"+227 NE",value:"+227",country:"NE"},{label:"+672 NF",value:"+672",country:"NF"},{label:"+234 NG",value:"+234",country:"NG"},{label:"+505 NI",value:"+505",country:"NI"},{label:"+31 NL",value:"+31",country:"NL"},{label:"+47 NO",value:"+47",country:"NO"},{label:"+977 NP",value:"+977",country:"NP"},{label:"+674 NR",value:"+674",country:"NR"},{label:"+683 NU",value:"+683",country:"NU"},{label:"+64 NZ",value:"+64",country:"NZ"},{label:"+968 OM",value:"+968",country:"OM"},{label:"+507 PA",value:"+507",country:"PA"},{label:"+51 PE",value:"+51",country:"PE"},{label:"+689 PF",value:"+689",country:"PF"},{label:"+675 PG",value:"+675",country:"PG"},{label:"+63 PH",value:"+63",country:"PH"},{label:"+92 PK",value:"+92",country:"PK"},{label:"+48 PL",value:"+48",country:"PL"},{label:"+508 PM",value:"+508",country:"PM"},{label:"+970 PS",value:"+970",country:"PS"},{label:"+351 PT",value:"+351",country:"PT"},{label:"+680 PW",value:"+680",country:"PW"},{label:"+595 PY",value:"+595",country:"PY"},{label:"+974 QA",value:"+974",country:"QA"},{label:"+262 RE",value:"+262",country:"RE"},{label:"+40 RO",value:"+40",country:"RO"},{label:"+381 RS",value:"+381",country:"RS"},{label:"+7 RU",value:"+7",country:"RU"},{label:"+250 RW",value:"+250",country:"RW"},{label:"+966 SA",value:"+966",country:"SA"},{label:"+677 SB",value:"+677",country:"SB"},{label:"+248 SC",value:"+248",country:"SC"},{label:"+249 SD",value:"+249",country:"SD"},{label:"+46 SE",value:"+46",country:"SE"},{label:"+65 SG",value:"+65",country:"SG"},{label:"+290 SH",value:"+290",country:"SH"},{label:"+386 SI",value:"+386",country:"SI"},{label:"+421 SK",value:"+421",country:"SK"},{label:"+232 SL",value:"+232",country:"SL"},{label:"+378 SM",value:"+378",country:"SM"},{label:"+221 SN",value:"+221",country:"SN"},{label:"+252 SO",value:"+252",country:"SO"},{label:"+597 SR",value:"+597",country:"SR"},{label:"+211 SS",value:"+211",country:"SS"},{label:"+239 ST",value:"+239",country:"ST"},{label:"+503 SV",value:"+503",country:"SV"},{label:"+963 SY",value:"+963",country:"SY"},{label:"+268 SZ",value:"+268",country:"SZ"},{label:"+235 TD",value:"+235",country:"TD"},{label:"+228 TG",value:"+228",country:"TG"},{label:"+66 TH",value:"+66",country:"TH"},{label:"+992 TJ",value:"+992",country:"TJ"},{label:"+690 TK",value:"+690",country:"TK"},{label:"+670 TL",value:"+670",country:"TL"},{label:"+993 TM",value:"+993",country:"TM"},{label:"+216 TN",value:"+216",country:"TN"},{label:"+676 TO",value:"+676",country:"TO"},{label:"+90 TR",value:"+90",country:"TR"},{label:"+688 TV",value:"+688",country:"TV"},{label:"+886 TW",value:"+886",country:"TW"},{label:"+255 TZ",value:"+255",country:"TZ"},{label:"+380 UA",value:"+380",country:"UA"},{label:"+256 UG",value:"+256",country:"UG"},{label:"+1 US",value:"+1",country:"US"},{label:"+598 UY",value:"+598",country:"UY"},{label:"+998 UZ",value:"+998",country:"UZ"},{label:"+58 VE",value:"+58",country:"VE"},{label:"+84 VN",value:"+84",country:"VN"},{label:"+678 VU",value:"+678",country:"VU"},{label:"+681 WF",value:"+681",country:"WF"},{label:"+685 WS",value:"+685",country:"WS"},{label:"+383 XK",value:"+383",country:"XK"},{label:"+967 YE",value:"+967",country:"YE"},{label:"+27 ZA",value:"+27",country:"ZA"},{label:"+260 ZM",value:"+260",country:"ZM"},{label:"+263 ZW",value:"+263",country:"ZW"}];exports.RegionArray=RegionArray;var SDKErrorEvent={INIT_FAIL:"INIT_FAIL",TOKEN_FAIL:"TOKEN_FAIL",LIVE_INFO_FAILED:"LIVE_INFO_FAILED",LIVE_CLOSED:"LIVE_CLOSED",LIVE_NO_PASS_REVIEW:"LIVE_NO_PASS_REVIEW",LIVE_DUPLICATE_LOGIN:"LIVE_DUPLICATE_LOGIN",LIVE_KICK_OUT:"LIVE_KICK_OUT",LIVE_IP_BANNED:"LIVE_IP_BANNED",LIVE_NOT_IN_AUDIENCE_GROUP:"LIVE_NOT_IN_AUDIENCE_GROUP"};exports.SDKErrorEvent=SDKErrorEvent;var BAN_TYPE={NONE:0,CHECK_IN:1,KICK_OUT:2,TOPPED:3};exports.BAN_TYPE=BAN_TYPE;var BanStatus={NORMAL:0,FORCE_BAN:1,SOFT_BAN:2,IP_BAN:3,MULTI_DEVICE_LOGIN:4};exports.BanStatus=BanStatus;var ErrorCodeEnum={MULTI_DEVICE_LOGIN:"200010",NOT_PASS_REVIEW:"200015",KICK_OUT:"210002",IP_BANNED:"210003",NOT_IN_AUDIENCE_GROUP:"200023"};exports.ErrorCodeEnum=ErrorCodeEnum;var ServerErrorToSdkEvent=(_defineProperty(_ServerErrorToSdkEven={},ErrorCodeEnum.MULTI_DEVICE_LOGIN,SDKErrorEvent.LIVE_DUPLICATE_LOGIN),_defineProperty(_ServerErrorToSdkEven,ErrorCodeEnum.NOT_PASS_REVIEW,SDKErrorEvent.LIVE_NO_PASS_REVIEW),_defineProperty(_ServerErrorToSdkEven,ErrorCodeEnum.KICK_OUT,SDKErrorEvent.LIVE_KICK_OUT),_defineProperty(_ServerErrorToSdkEven,ErrorCodeEnum.IP_BANNED,SDKErrorEvent.LIVE_IP_BANNED),_defineProperty(_ServerErrorToSdkEven,ErrorCodeEnum.NOT_IN_AUDIENCE_GROUP,SDKErrorEvent.LIVE_NOT_IN_AUDIENCE_GROUP),_ServerErrorToSdkEven);exports.ServerErrorToSdkEvent=ServerErrorToSdkEvent;var SDKErrorCode=(_defineProperty(_SDKErrorCode={},SDKErrorEvent.INIT_FAIL,"101"),_defineProperty(_SDKErrorCode,SDKErrorEvent.TOKEN_FAIL,"102"),_defineProperty(_SDKErrorCode,SDKErrorEvent.LIVE_INFO_FAILED,"201"),_defineProperty(_SDKErrorCode,SDKErrorEvent.LIVE_CLOSED,"202"),_defineProperty(_SDKErrorCode,SDKErrorEvent.LIVE_NO_PASS_REVIEW,"203"),_defineProperty(_SDKErrorCode,SDKErrorEvent.LIVE_DUPLICATE_LOGIN,"204"),_defineProperty(_SDKErrorCode,SDKErrorEvent.LIVE_KICK_OUT,"207"),_defineProperty(_SDKErrorCode,SDKErrorEvent.LIVE_IP_BANNED,"206"),_defineProperty(_SDKErrorCode,SDKErrorEvent.LIVE_NOT_IN_AUDIENCE_GROUP,"205"),_SDKErrorCode);exports.SDKErrorCode=SDKErrorCode;var SDKErrorMessage=(_defineProperty(_SDKErrorMessage={},SDKErrorEvent.INIT_FAIL,"初始化失败,缺少必要参数"),_defineProperty(_SDKErrorMessage,SDKErrorEvent.LIVE_DUPLICATE_LOGIN,"直播间重复登录"),_defineProperty(_SDKErrorMessage,SDKErrorEvent.LIVE_KICK_OUT,"当前用户已被踢出直播间"),_defineProperty(_SDKErrorMessage,SDKErrorEvent.LIVE_NO_PASS_REVIEW,"当前直播暂未发布,请联系直播主办方了解详情"),_defineProperty(_SDKErrorMessage,SDKErrorEvent.LIVE_IP_BANNED,"当前设备ip已被封禁"),_defineProperty(_SDKErrorMessage,SDKErrorEvent.LIVE_NOT_IN_AUDIENCE_GROUP,"您未在当前直播分组中"),_SDKErrorMessage);exports.SDKErrorMessage=SDKErrorMessage;var TelRegx=/^1\d{10}$/;exports.TelRegx=TelRegx;var VERIFY_CODE_COUNT_TIME=60;exports.VERIFY_CODE_COUNT_TIME=VERIFY_CODE_COUNT_TIME;var MESSAGE_ERROR={VERIFICATION_CODE_ERROR:"verification code error",VERIFICATION_CODE_EXPIRATION:"Verification code expiration",REPEAT_RESERVATION:"repeat reservation",NOTIFY_TOO_FREQUENCY:"notify too frequency",WHITE_LIST_PHONE:"white list phone"};exports.MESSAGE_ERROR=MESSAGE_ERROR;var TAB_KEY={3:"COMMENT",2:"CARDLIST",4:"IMAGETEXT",41:"PROGRAMLIST",1:"RICHTEXT",COMMENT:3,CARDLIST:2,IMAGETEXT:4,PROGRAMLIST:41,RICHTEXT:1};exports.TAB_KEY=TAB_KEY;