From 568c763084b926a6f2d632b7ac65b9ec8280752f Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 10 六月 2025 15:41:34 +0800 Subject: [PATCH] 网页功能完善 --- kp_html/kp/js/code_list.js | 10 test_ocr.py | 2 utils/invalid_hwnds_manager.py | 27 kp_html/kp/codes_list.html | 12 kp_html/kp/css/index23-05-04.css | 37 kp_html/kp/js/page.js | 208 kp_html/kp/index23-05-04.html | 476 + kp_html/kp/js/wechat.js | 20505 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ win32_util.py | 77 utils/network_util.py | 4 kp_html/kp/js/jquery.min.js | 2 kp_html/kp/js/ls_http.js | 80 gui_wx.py | 144 words/db_move.py | 101 kp_html/kp/js/http.js | 47 kp_html/kp/js/low_suction.js | 57 main.py | 106 kpl/kpl_api.py | 13 utils/ths_util.py | 31 utils/juejin_util.py | 135 20 files changed, 21,859 insertions(+), 215 deletions(-) diff --git a/gui_wx.py b/gui_wx.py index e4aea57..62b1f64 100644 --- a/gui_wx.py +++ b/gui_wx.py @@ -1,13 +1,15 @@ +import array import json -import random +import os import socket -import sys +import struct import time +import win32con import win32gui import constant -from utils import ths_ocr_util +from utils import ths_ocr_util, invalid_hwnds_manager import setting from utils import socket_util from utils import ths_util @@ -20,6 +22,8 @@ import wx import wx.html2 as webview + +import concurrent.futures APP_TITLE = "鍗栫エ鐪嬫澘" APP_ICON = "" @@ -260,32 +264,13 @@ class mainApp(wx.App): - def __refresh(self): - while True: - if "expire_time" in ocr_settings and ocr_settings["expire_time"] > time.time(): - print("璇嗗埆") - try: - code = ths_ocr_util.ocr_ths_code() - if not code: - time.sleep(0.1) - continue - global_datas["pipe"].send(json.dumps({"code": code, "type": "code"})) - except Exception as e: - logging.exception(e) - # print(str(e)) - pass - time.sleep(0.005) - def __init_data(self): pass def OnInit(self): self.SetAppName(APP_TITLE) self.__init_data() - t1 = threading.Thread(target=lambda: self.__refresh()) - # 鍚庡彴杩愯 - t1.setDaemon(True) - t1.start() + # self.__show_main_frame() return True @@ -349,9 +334,7 @@ if __name__ == "__main__1": print(webview.WebView.IsBackendAvailable(webview.WebViewBackendEdge)) -global_datas = { - -} +set_codes_thread_pool = concurrent.futures.ThreadPoolExecutor(max_workers=10) # 鎺ュ彈鏉ヨ嚜鍏朵粬杩涚▼鐨勬暟鎹� @@ -366,13 +349,17 @@ wx.CallAfter(lambda: JueJinSettingFrame(data["pos"]).Show()) elif type_ == "manage_ths_pos": wx.CallAfter(lambda: THSPositionSettingFrame(data["pos"]).Show()) - elif type_ == "show_float_callback": - wx.CallAfter(lambda: global_datas["floatFrame"].Show()) - elif type_ == "show_main_callback": - wx.CallAfter(lambda: global_datas["tickFrame"].Show()) + elif type_ == "set_code": + code = data["code"] + set_codes_thread_pool.submit(set_xfdp_codes, code) + elif type_ == "show_dead_hwnds": + hwnds = win32_util.text_hwnds_doing + print("姝讳骸绐楀彛", hwnds) + if hwnds: + for hwnd in hwnds: + invalid_hwnds_manager.add_hwnd(hwnd) elif type_ == "exit": - pass - wx.CallAfter(lambda: sys.exit()) + os._exit(0) except Exception as e: logging.exception(e) @@ -380,6 +367,55 @@ from pynput.mouse import Listener ocr_settings = {} + + +def set_xfdp_codes(code): + """ + 璁剧疆鎮诞鐩洏涓殑浠g爜 + :param code: + :return: + """ + + def focus(hwnd, code_): + try: + int_buffer = array.array("L", [0]) + char_buffer = array.array('b', + json.dumps({"type": "set_code", + "data": {"code": code_, "time": int(time.time() * 1000)}}).encode()) + int_buffer_address = int_buffer.buffer_info()[0] + char_buffer_address, char_buffer_size = char_buffer.buffer_info() + copy_struct = struct.pack("PLP", int_buffer_address, char_buffer_size, char_buffer_address) + win32gui.SendMessage(hwnd, win32con.WM_COPYDATA, None, copy_struct) + + # pythoncom.CoInitialize() + # shell = client.Dispatch("WScript.Shell") + # shell.SendKeys('%') + # # win32gui.ShowWindow(hwnd, win32con.SW_RESTORE) + # win32gui.SetForegroundWindow(hwnd) + # win32gui.PumpMessages() + # win32gui.SetFocus(hwnd) + # lib = CDLL("D:/workspace/GP/dll/Dll/x64/Debug/Dll.dll") + # win32gui.SendMessage(hwnd, win32con.WM_SETFOCUS, 0, 0) + # print("鎵ц缁撴灉", lib.focus(hwnd)) + + # remote_thread = win32process.GetWindowThreadProcessId(hwnd)[0] + # tid = win32api.GetCurrentThreadId() + # win32process.AttachThreadInput(tid, remote_thread, True) + # prev_handle = win32gui.SetFocus(hwnd) + # print("涔嬪墠鐨勭劍鐐瑰彞鏌�", prev_handle,hwnd) + except Exception as e: + logging.exception(e) + pass + + # 鑾峰彇浠g爜灞炴�ф弿杩� + # auto_focus = setting.get_float_frame_auto_focus() + if True: + # 绐楀彛鏄剧ず鍦ㄦ渶鍓嶉潰 + hwnds = win32_util.search_window("鎮诞鐩洏") + if hwnds: + print("鍙ユ焺", hwnds[0]) + time.sleep(0.1) + focus(hwnds[0], code) def on_mouse_click(x, y, button, pressed): @@ -394,33 +430,37 @@ if pressed: # 鐐瑰嚮浜嬩欢杩囧悗1s鍐呭彲鎴浘璇嗗埆浠g爜 ocr_settings["expire_time"] = time.time() + 1 - - print(f"榧犳爣鍦� ({x}, {y}) 浣嶇疆鎸変笅锛屾寜閽�: {button}") + # print(f"榧犳爣鍦� ({x}, {y}) 浣嶇疆鎸変笅锛屾寜閽�: {button}") else: - print(f"榧犳爣鍦� ({x}, {y}) 浣嶇疆閲婃斁锛屾寜閽�: {button}") + # print(f"榧犳爣鍦� ({x}, {y}) 浣嶇疆閲婃斁锛屾寜閽�: {button}") + pass + + +def __rec_code(pipe): + time.sleep(5) + while True: + if "expire_time" in ocr_settings and ocr_settings["expire_time"] > time.time(): + try: + code = ths_ocr_util.ocr_ths_code() + if not code: + time.sleep(0.1) + continue + pipe.send(json.dumps({"code": code, "type": "code"})) + except Exception as e: + # logging.exception(e) + # print(str(e)) + pass + time.sleep(0.005) def run(pipe): - global_datas["pipe"] = pipe global p2 p1, p2 = multiprocessing.Pipe() - - t1 = threading.Thread(target=lambda: recieve_data(pipe)) - # 鍚庡彴杩愯 - t1.setDaemon(True) - t1.start() - - t2 = threading.Thread(target=lambda: ths_auto_click()) - # 鍚庡彴杩愯 - t2.setDaemon(True) - t2.start() - - t3 = threading.Thread(target=lambda: ths_auto_refresh()) - # 鍚庡彴杩愯 - t3.setDaemon(True) - t3.start() + threading.Thread(target=lambda: __rec_code(pipe), daemon=True).start() + threading.Thread(target=lambda: recieve_data(pipe), daemon=True).start() + threading.Thread(target=lambda: ths_auto_click(), daemon=True).start() + threading.Thread(target=lambda: ths_auto_refresh(), daemon=True).start() app = mainApp() - global_datas["app"] = app app.MainLoop() with Listener(on_click=on_mouse_click) as listener: diff --git a/kp_html/kp/codes_list.html b/kp_html/kp/codes_list.html index 9531f57..7363706 100644 --- a/kp_html/kp/codes_list.html +++ b/kp_html/kp/codes_list.html @@ -6,7 +6,7 @@ <link rel="stylesheet" type="text/css" href="./css/banshuping.css" /> <!-- <link rel="stylesheet" type="text/css" href="layui/css/layui.css" /> --> <link rel="stylesheet" href="//unpkg.com/layui@2.6.8/dist/css/layui.css"> - <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script> + <script src="js/jquery.min.js"></script> <script src="http://cdn.yeshitv.com/js/vue.min.js"></script> <script src="js/vconsole.min.js"></script> <script src="js/code_list.js"></script> @@ -460,13 +460,13 @@ <thead> <tr> <td style="width: 40px;">搴忓彿</td> - <td style="width: 80px;">鏃堕棿</td> + <td style="width: 75px;">鏃堕棿</td> <td style="width: 30px;">閲戦(涓�)</td> <td style="width: 30px;">浠锋牸</td> - <td style="width: 45px;">鎵嬫暟</td> - <td style="width: 40px;">绫诲瀷</td> - <td style="width: 80px;">鎾ゅ崟/鎴愪氦鏃堕棿</td> - <td>澶囨敞</td> + <td style="width: 42px;">鎵嬫暟</td> + <td style="width: 35px;">绫诲瀷</td> + <td style="width: 82px;">鎾ゅ崟/鎴愪氦鏃堕棿</td> + <td style="width: 40px;">澶囨敞</td> <td>璁㈠崟鍙�</td> </tr> </thead> diff --git a/kp_html/kp/css/index23-05-04.css b/kp_html/kp/css/index23-05-04.css index 43f1d61..ac8a922 100644 --- a/kp_html/kp/css/index23-05-04.css +++ b/kp_html/kp/css/index23-05-04.css @@ -91,6 +91,17 @@ line-height: 40px; font-size: 20px; background: #c1c1c1; + display: flex; + justify-content: space-between; + align-items: center; + position: fixed; + top: 0px; + z-index: 1000; +} + +.top div{ + display: flex; + align-items: center; } .table-name { @@ -444,8 +455,6 @@ /* float: left; */ width: 106px; height: 28px; - margin-top: -28px; - margin-left: 120px; border-radius: 5px; line-height: 28px; font-size: 14px; @@ -457,6 +466,7 @@ .button-blue:hover { background: #477cff; + color: white; } .button-blue:active { @@ -568,6 +578,12 @@ .market-container .item .delete img { height: 20px; +} + +.market-container .item .add { + position: absolute; + right: 3px; + bottom: 3px; } .market-container .item span { @@ -888,4 +904,21 @@ .want_list{ height: 15px; width: 15px; +} + +.forbidden_buy_plates{ + padding: 10px; + display: flex; + flex-wrap: wrap; + width: 100%; +} + + +.forbidden_buy_plates span{ + text-align: left; + padding: 3px 5px; + margin-top: 5px; + margin-right: 5px; + max-width: 120px; + width: 120px; } \ No newline at end of file diff --git a/kp_html/kp/index23-05-04.html b/kp_html/kp/index23-05-04.html index c837aca..bd5482c 100644 --- a/kp_html/kp/index23-05-04.html +++ b/kp_html/kp/index23-05-04.html @@ -5,10 +5,11 @@ <title>鐪嬬洏绔�</title> <link rel="stylesheet" type="text/css" href="./css/index23-05-04.css?_=1" /> <link rel="stylesheet" type="text/css" href="layui/css/layui.css" /> - <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script> + <script src="js/jquery.min.js"></script> <script src="http://cdn.yeshitv.com/js/vue.min.js"></script> <script src="js/qwebchannel.js"></script> <script src="js/http.js"></script> + <script src="js/ls_http.js"></script> <script src="layui/layui.js"></script> <script src="js/kpl.js"></script> <script src="js/vconsole.min.js"></script> @@ -16,23 +17,51 @@ <script src="js/chartjs-plugin-datalabels.min.js"></script> <script src="js/md5.min.js"></script> <style> + + #low_suction .layui-form-label { + width: auto; + min-width: 50px; + } + + #low_suction .layui-form-item .layui-input-inline { + width: auto; + } + + #low_suction .num-input-sm { + width: 50px !important; + max-width: 50px !important; + } + + #low_suction .num-input-m { + width: 80px !important; + max-width: 80px !important; + } </style> </head> <body> <div id="body"> <div class="top"> - <span> - <h2 class="bold-content" style="margin-left: 18px; font-size: 20px;">{{code_name}}<span><a - class="button-blue" style="margin-top: -34px;margin-left: 280px;" href="#" - :class="{'btn-invalid':!trade_data.order}" @click="cancel_order">宸叉挙鍗�</a></span> - <div style="margin-top: -40px;margin-left: 800px; "> - <input id="date" type="text" /><a class="button-blue" href="#" @click="refresh">鍒锋柊</a> - </div> - </h2> - </span> + <div> + <div class="bold-content scroll-x" + style="margin-left: 18px; font-size: 20px;width: 700px;display: inline-block;">{{code_name}} + <span v-if="code_special_blocks[code]">@{{code_special_blocks[code]}}</span> + <span v-if="new_block_code_special_blocks[code]">N{{new_block_code_special_blocks[code]}}</span> + + </div> + <input type="checkbox" title="鏄剧ず鏉垮潡" style="display: inline;" + @click="set_third_block_show($event)" /> + <span style="font-size: 14px;margin-left: 5px;">鏄剧ず鏉垮潡</span> + </div> + + + <div> + <input id="date" type="text" style="margin-right: 10px;" /> + <a class="button-blue" href="#" @click="refresh">鍒锋柊</a> + </div> + </div> - <div class="xgb_info scroll-y"> + <div class="xgb_info scroll-y" :style="{'display': show_third_block_info?'block':'none'}"> <div class="scroll-x" style="height: auto;width: auto;" v-if="code_third_blocks"> <table> <thead> @@ -118,7 +147,7 @@ </td> <td rowspan="1"> - <div class="scroll-y red"> + <div class="scroll-y red" v-if="code_third_blocks.match_blocks!=null"> <span v-for="(item,index) in code_third_blocks.match_blocks[0]"> {{item}}<span v-if="index < code_third_blocks.match_blocks[0].length-1">銆�</span> @@ -184,7 +213,7 @@ </div> </div> - <div class="new-blocks"> + <div class="new-blocks" style="margin-top: 40px;"> <span> <p>鏂板姒傚康锛�<span class="red">{{new_blocks}}</span></p> </span> @@ -255,24 +284,68 @@ <tr> <td><span class="bold">鏈�缁堟澘鍧�</span></td> <td class="budinggundong"> - <div class="scroll-y" style="height: 93px;" v-if="code_third_blocks"> + <div class="scroll-y" style="height: 40px;" + v-if="code_third_blocks&&code_third_blocks.match_blocks!=null"> + + <span v-if="code_third_blocks.is_new_top" class="label-style red"> + 绐佺牬鏉� + </span> + <span v-for="(item,i) in code_third_blocks.match_blocks[0]" - class="label-style red" @click="show_want_codes_new(item)">{{item}}</span> - </div> - </td> - </tr> - - <tr> - <td><span class="bold">鏉垮潡娴佸叆</span></td> - <td class="budinggundong"> - <div class="scroll-y" style="height: 93px;" v-if="code_third_blocks"> - <span v-for="(item,i) in code_third_blocks.block_in_moneys" - class="label-style">{{item[0]}}锛歿{item[1]}} 鈥斺�斻�恵{(item[2]/100000000).toFixed(2)}}浜裤��</span> + class="label-style red"> + <span @click="show_want_codes_new(item)"> + {{item}} + </span> + <span class='delete' v-if="forbidden_buy_plates.includes(item)"> + <img src="images/delete.png" + v-on:click="delete_forbidden_buy_plate(item)"></span> + <span v-else class="add" v-on:click="add_forbidden_buy_plate(item)"> + <i class="layui-icon"></i> + </span> + </span> + + </div> </td> </tr> - <tr v-if="yesterday_block_info" style="display: none;"> + <tr> + <td><span class="bold">鏉垮潡娴佸叆</span></td> + <td class="budinggundong"> + <div class="scroll-y" style="height: 60px;" v-if="code_third_blocks"> + <span v-for="(item,i) in code_third_blocks.block_in_moneys" + class="label-style">{{item[0]}}锛歿{item[1]}} + 鈥斺�斻�恵{(item[2]/100000000).toFixed(2)}}浜裤�� + <span v-if="forbidden_buy_plates.includes(item[0])"> 鉂�</span> + </span> + </div> + </td> + </tr> + + <tr v-if="big_order_deal_info&&big_order_deal_info!=null"> + <td><span class="bold">澶у崟鎴愪氦</span></td> + <td> + <div style="height: 80px;" class="scroll-y"> + <span style="line-height: 20px;" + v-if="big_order_deal_info[2]&&big_order_deal_info[2]!=null&&big_order_deal_info[3]&&big_order_deal_info[3]!=null&&big_order_deal_info[3][2]&&big_order_deal_info[3][2]!=null"> + 棣栧皝鍧囧ぇ鍗�-涔帮細{{big_order_deal_info[2][0][0]}}锛� + 鍧囧ぇ鍗�-涔帮細{{big_order_deal_info[2][0][1]}}锛� + 鍧囧ぇ鍗�-鍗栵細{{big_order_deal_info[2][0][2]}}<br> + 澶у崟鎴愪氦鍗犳瘮锛歿{big_order_deal_info[2][0][3]}}% + <br>鎴愪氦澶у崟锛�(涔�:{{big_order_deal_info[2][5]}}锛屽崠锛歿{big_order_deal_info[2][6]}}){{big_order_deal_info[2][1]}} / <span v-if="big_order_deal_info[2][4]"> {{big_order_deal_info[2][4]}} </span> <span v-else>{{big_order_deal_info[2][2]}}</span> + <span + v-if="big_order_deal_info[2][4]">&{{big_order_deal_info[2][3]}}</span><a + class="layui-btn layui-btn-xs layui-btn-primary" + @click="edit_total_big_order_threshold">淇敼</a> + + <br>鍗栧ぇ鍗曪細{{big_order_deal_info[3][2][0]>100000000?((big_order_deal_info[3][2][0]/100000000).toFixed(2)+'浜�'):((big_order_deal_info[3][2][0]/10000).toFixed(2)+'涓�')}}/{{big_order_deal_info[3][2][1]}} + </span> + </div> + </td> + </tr> + + + <!-- <tr v-if="yesterday_block_info" style="display: none;"> <td><span class="bold">鏄ㄦ棩娑ㄥ仠鍘熷洜</span></td> <td> <span class="red">{{yesterday_block_info.reason}}</span> @@ -301,7 +374,7 @@ class="label-style">{{item[1]}}({{item[0]}})</span> </div> </td> - </tr> + </tr> --> </tbody> <tfoot></tfoot> @@ -338,11 +411,16 @@ <div class="item" v-for="(item,index) in jingxuan_datas"> <span :class="{'green':item[4]==1}" @click="show_want_codes_new(item[1])">{{item[1]}}</span> - <span >{{money_desc(item[3])}}<span class='score' v-if="item.length>5&&parseInt(item[5])>0">{{item[5]}}鍒�</span></span> - <span class='delete' - :style="{'visibility':item[4]==1?'hidden':'visible' }"><img - style="display: none;" src="images/delete.png" - v-on:click="forbidden_plate(item[1],1)"></span> + <span>{{money_desc(item[3])}}<span class='score' + v-if="item.length>5&&parseInt(item[5])>0">{{item[5]}}鍒�</span></span> + <span class='delete' v-if="forbidden_buy_plates.includes(item[1])"> + <img src="images/delete.png" + v-on:click="delete_forbidden_buy_plate(item[1])"></span> + <span class="add" v-on:click="add_forbidden_buy_plate(item[1])" + v-if="!forbidden_buy_plates.includes(item[1])"> + <i class="layui-icon"></i> + </span> + <span style="cursor: pointer;" @click="get_block_codes_with_money(item[1], in_money_type%2==0?1:0)">鎴愬垎鑲�</span> </div> @@ -363,7 +441,8 @@ <tbody> <tr style="padding:0px;"> <td style="padding:0px;"> - <div>甯傚満寮哄害锛�<span class="red" style="font-weight: bold;">{{market_feeling_info.strong}}</span></div> + <div>甯傚満寮哄害锛�<span class="red" + style="font-weight: bold;">{{market_feeling_info.strong}}</span></div> <canvas id="market_feeling_chart" width="100%" height="25"></canvas> <div style="padding-left: 10px;" class="market_feeling_info"> <table> @@ -380,7 +459,6 @@ <td><span class="green">璺岋細銆恵{market_feeling_info.XDJS}}銆戝</span> </td> <td>鏄ㄦ棩閲忚兘锛歿{market_feeling_info.q_zrcs}}浜�</td> - </tr> </table> @@ -401,7 +479,9 @@ style="float: left;width: 100%;text-align: center; background: #000;height:150px"> <span v-for="(item,i) in limit_up_reason_statistic_new" v-on:click="show_want_codes_new(item[0])"> <span class="num-style red" - :class="{'orange': app.code_third_blocks&&app.code_third_blocks.match_blocks&&app.code_third_blocks.match_blocks[0].includes(item[0])}">{{item[0]}}({{item[1]}}&{{item[2]}}&{{item[4]}})</span> + :class="{'orange': app.code_third_blocks&&app.code_third_blocks.match_blocks&&app.code_third_blocks.match_blocks[0].includes(item[0])}">{{item[0]}}({{item[1]}}&{{item[2]}}&{{item[4]}}) + <span v-if="forbidden_buy_plates.includes(item[0])"> 鉂�</span> + </span> </span> </div> <!-- 寮�鐩樺暒娑ㄥ仠鍘熷洜 --> @@ -498,25 +578,230 @@ <div class="layui-tab"> <ul class="layui-tab-title"> - <li class="layui-this">L2璁㈤槄浠g爜</li> + <li class="layui-this">L2璁㈤槄浠g爜/浣庡惛</li> <li>鎵叆涓嬪崟璁板綍</li> <li>杩�7澶╂定鍋�</li> + <li>绂佹涔板叆鏉垮潡</li> </ul> <div class="layui-tab-content"> <div class="layui-tab-item layui-show"> - <button class="layui-btn layui-btn-xs" - v-on:click="get_l2_subscript_codes">鍒锋柊鏁版嵁</button> - - <div class="l2_subscript_codes"> - - <span class="label-style" v-for="(item, index) in l2_subscript_codes" :class="{'green': item[2]<0}" :style="{'border':item[0]==code?'solid orange 2px':'none'}"> - <span @click="add_to_ths(item[0])">{{item[1]}}({{item[0]}})-銆恵{item[2]}}%銆�-銆恵{item[3][0]}}锛寋{item[3][1]}} / {{item[3][2]}}銆�</span> - <img src="images/delete.png" v-on:click="add_to_forbidden(item[0])"/> - </span> - - </div> + <div style="display: flex;min-height: 1000px;"> + <div style="width: 270px;"> + <button class="layui-btn layui-btn-xs" + v-on:click="get_l2_subscript_codes">鍒锋柊鏁版嵁</button> + <div class="l2_subscript_codes scroll-x"> + + <span class="label-style" v-for="(item, index) in l2_subscript_codes" + :class="{'green': item[2]<0}" + :style="{'border':item[0]==code?'solid orange 2px':'none'}"> + <span + @click="add_to_ths(item[0])">{{new_block_code_special_blocks[item[0]]?'N':''}}{{code_special_blocks[item[0]]?'@':''}}{{item[1]}}({{item[0]}})-銆恵{item[2]}}%銆�</span> + + <img src="images/delete.png" v-on:click="add_to_forbidden(item[0])" /> + </span> + </div> + </div> + <div style="flex-grow:1;min-height: 100px;margin-left: 40px; position: relative;"> + + <div id="low_suction"> + <div> + <form class="layui-form"> + <div class="layui-form-item"> + <label class="layui-form-label">浜ゆ槗鐘舵�侊細</label> + <div class="layui-input-block"> + <input type="checkbox" name="trade_state" lay-skin="switch" value="1" lay-text="寮�鍚瘄鍏抽棴"> + </div> + </div> + + <div class="layui-form-item"> + <label class="layui-form-label">鍗曠瑪涔板叆閲戦锛�</label> + <div class="layui-input-inline num-input-sm"> + <input type="text" name="buy_money" class="layui-input" lay-verify='required|num'> + </div> + <div class="layui-form-mid layui-word-aux"></div> + + <label class="layui-form-label">鏄惁鍙拱鍒涗笟鏉匡細</label> + <div class="layui-input-inline"> + <input type="checkbox" name="can_buy_ge_code" value="1" lay-skin="primary" checked> + </div> + </div> + + <div class="layui-form-item"> + <span class="layui-form-label">浠锋牸鍖洪棿锛�</span> + <div class="layui-input-inline num-input-m" > + <input type="text" name="price_range-0" placeholder="锟�" lay-verify='required|money' + autocomplete="off" class="layui-input"> + </div> + <div class="layui-form-mid">-</div> + <div class="layui-input-inline num-input-m"> + <input type="text" name="price_range-1" placeholder="锟�" lay-verify='required|money' + autocomplete="off" class="layui-input"> + </div> + </div> + + <div class="layui-form-item"> + <span class="layui-form-label">鑷敱甯傚�煎尯闂达細</span> + <div class="layui-input-inline num-input-m"> + <input type="text" name="zyltgb_range-0" placeholder="锟�" lay-verify='required|money' + autocomplete="off" class="layui-input"> + </div> + <div class="layui-form-mid">浜�</div> + <div class="layui-form-mid">-</div> + <div class="layui-input-inline num-input-m"> + <input type="text" name="zyltgb_range-1" placeholder="锟�" lay-verify='required|money' + autocomplete="off" class="layui-input"> + </div> + <div class="layui-form-mid">浜�</div> + </div> + + <div class="layui-form-item"> + <span class="layui-form-label">鑰侀鏉愭定鍋滄暟锛�</span> + <div class="layui-input-inline num-input-m" > + <input type="text" name="limit_up_count_of_old_plate" placeholder="" + lay-verify='required|num' autocomplete="off" class="layui-input"> + </div> + <span class="layui-form-label">鏂伴鏉愭定鍋滄暟锛�</span> + <div class="layui-input-inline num-input-m"> + <input type="text" name="limit_up_count_of_new_plate" placeholder="" autocomplete="off" + lay-verify='required|num' class="layui-input"> + </div> + </div> + + <div class="layui-form-item"> + <span class="layui-form-label">鏄ㄦ棩娑ㄥ仠涓嶈兘涔帮細</span> + <div class="layui-input-inline"> + <input type="checkbox" value="1" name="cant_yesterday_limit_up" lay-skin="primary" checked> + </div> + <span class="layui-form-label">鏄ㄦ棩璺屽仠涓嶈兘涔帮細</span> + <div class="layui-input-inline"> + <input type="checkbox" value="1" name="cant_yesterday_limit_down" lay-skin="primary" + checked> + </div> + + </div> + + <div class="layui-form-item"> + + <span class="layui-form-label">鏄ㄦ棩鐐告澘涓嶈兘涔帮細</span> + <div class="layui-input-inline"> + <input type="checkbox" value="1" name="cant_yesterday_open_limit_up" lay-skin="primary"> + </div> + </div> + + <div class="layui-form-item"> + <div class="layui-form-mid"></div> + <div class="layui-input-inline" style="width: 50px;"> + <input type="text" name="has_limit_up_days" placeholder="" lay-verify='required|num' + autocomplete="off" class="layui-input num-input-sm"> + </div> + <div class="layui-form-mid">涓氦鏄撴棩鍐呮湁娑ㄥ仠</div> + </div> + + <div class="layui-form-item"> + <div class="layui-form-mid"></div> + <div class="layui-input-inline num-input-sm"> + <input type="text" name="trade_days_count_of_limit_up" placeholder="" + lay-verify='required|num' autocomplete="off" class="layui-input num-input-sm"> + </div> + <div class="layui-form-mid">涓氦鏄撴棩鍐呬笉鑳芥湁>=</div> + <div class="layui-input-inline num-input-sm"> + <input type="text" name="count_of_limit_up" placeholder="" lay-verify='required|num' + autocomplete="off" class="layui-input"> + </div> + <div class="layui-form-mid">娆℃定鍋�</div> + </div> + + <div class="layui-form-item"> + <div class="layui-form-mid"></div> + <div class="layui-input-inline num-input-sm"> + <input type="text" name="trade_days_count_of_limit_down" placeholder="" + lay-verify='required|num' autocomplete="off" class="layui-input"> + </div> + <div class="layui-form-mid">涓氦鏄撴棩鍐呬笉鑳芥湁>=</div> + <div class="layui-input-inline num-input-sm"> + <input type="text" name="count_of_limit_down" placeholder="" lay-verify='required|num' + autocomplete="off" class="layui-input"> + </div> + <div class="layui-form-mid">娆¤穼鍋�</div> + </div> + + <div class="layui-form-item"> + <div class="layui-form-mid"></div> + <div class="layui-input-inline num-input-sm"> + <input type="text" name="trade_days_count_of_open_limit_up" placeholder="" + lay-verify='required|num' autocomplete="off" class="layui-input"> + </div> + <div class="layui-form-mid">涓氦鏄撴棩鍐呬笉鑳芥湁>=</div> + <div class="layui-input-inline num-input-sm"> + <input type="text" name="count_of_open_limit_up" placeholder="" lay-verify='required|num' + autocomplete="off" class="layui-input"> + </div> + <div class="layui-form-mid">娆$偢鏉�</div> + </div> + + <div class="layui-form-item"> + <span class="layui-form-label">鍙拱鏈�浣庡紑鐩樻瘮渚嬶細</span> + <div class="layui-input-inline num-input-sm"> + <input type="text" name="min_open_rate" placeholder="" lay-verify='required|rate' + autocomplete="off" class="layui-input"> + </div> + <div class="layui-form-mid layui-word-aux">鍘熷姣斾緥锛岄潪鐧惧垎姣�</div> + </div> + + <div class="layui-form-item"> + <span class="layui-form-label">鍙拱娑ㄥ箙姣斾緥锛�</span> + <div class="layui-input-inline num-input-sm"> + <input type="text" name="avaiable_rates-0" placeholder="" lay-verify='required|rate' + autocomplete="off" class="layui-input"> + </div> + + <div class="layui-form-mid">-</div> + <div class="layui-input-inline num-input-sm"> + <input type="text" name="avaiable_rates-1" placeholder="" lay-verify='required|rate' + autocomplete="off" class="layui-input"> + </div> + <div class="layui-form-mid layui-word-aux">鍘熷姣斾緥锛岄潪鐧惧垎姣�</div> + </div> + + <div class="layui-form-item"> + <div class="layui-form-label">浠婃棩涔颁环涓庢渶楂樹环鐨勫樊鍊煎湪</div> + <div class="layui-input-inline num-input-sm"> + <input type="text" name="min_rate_of_highest_and_price" placeholder="" + lay-verify='required|rate' autocomplete="off" class="layui-input"> + </div> + <div class="layui-form-mid">姣斾緥浠ュ唴</div> + </div> + + <div class="layui-form-item"> + <div class="layui-form-label">楂樹簬鍧囦环</div> + <div class="layui-input-inline num-input-sm"> + <input type="text" name="max_rate_than_average_price" placeholder="" + lay-verify='required|rate' autocomplete="off" class="layui-input"> + </div> + <div class="layui-form-mid">姣斾緥涓嶈兘涔�</div> + </div> + + <div class="layui-form-item"> + <div class="layui-input-block"> + <button class="layui-btn" lay-submit lay-filter="formDemo">绔嬪嵆鎻愪氦</button> + + </div> + </div> + + + + + </form> + + </div> + + </div> + + + </div> + </div> </div> - + <div class="layui-tab-item"> <button class="layui-btn layui-btn-xs" v-on:click="get_place_order_records">鍒锋柊鏁版嵁</button> @@ -537,7 +822,8 @@ </table> </div> <div class="layui-tab-item"> - + <button class="layui-btn layui-btn-xs" + v-on:click="statistic_latest_limit_up_block('')">鍒锋柊鏁版嵁</button> <div class="scroll-x" v-if="latest_limit_up_blocks"> <table> @@ -554,18 +840,15 @@ </thead> <tbody> <tr v-for="(item,index) in latest_limit_up_blocks"> - <td>{{item[0]}}</td> + <td>{{item[0]}}<img src="images/delete.png" + v-if="forbidden_buy_plates.includes(item[0])" /></td> <td>{{item[1]}}</td> <td>{{item[2]}}</td> <td>{{item[3][0]}}({{item[3][2]}})-{{item[3][1]}}%</td> <td>{{item[4]}}涓�</td> <td>D1-銆恵{item[5][0][0]}}娑ㄥ仠&{{item[5][0][1]}}鐐告澘銆�</td> <td>D2-銆恵{item[5][1][0]}}娑ㄥ仠&{{item[5][1][1]}}鐐告澘銆�</td> - <td>D3-銆恵{item[5][2][0]}}娑ㄥ仠&{{item[5][2][1]}}鐐告澘銆�</td> - <td>D4-銆恵{item[5][3][0]}}娑ㄥ仠&{{item[5][3][1]}}鐐告澘銆�</td> - <td>D5-銆恵{item[5][4][0]}}娑ㄥ仠&{{item[5][4][1]}}鐐告澘銆�</td> - <td>D6-銆恵{item[5][5][0]}}娑ㄥ仠&{{item[5][5][1]}}鐐告澘銆�</td> - <td>D7-銆恵{item[5][6][0]}}娑ㄥ仠&{{item[5][6][1]}}鐐告澘銆�</td> + </tr> @@ -575,6 +858,34 @@ </div> + + + </div> + <div class="layui-tab-item"> + + <button class="layui-btn layui-btn-xs" + v-on:click="list_forbidden_buy_plates">鍒锋柊鏁版嵁</button> + <div class="forbidden_buy_plates"> + + + <span class="label-style" style="margin: 10px;" + v-for="(item, index) in forbidden_buy_plates"> + <span>{{item}}</span> + <img src="images/delete.png" v-on:click="delete_forbidden_buy_plate(item)" /> + </span> + </div> + + <span> 宸插垹闄わ細</span> + + <div class="forbidden_buy_plates"> + <span class="label-style" style="margin: 10px;" + v-for="(item, index) in deleted_forbidden_buy_plates"> + <span>{{item}}</span> + <span class="add" v-on:click="add_forbidden_buy_plate(item)"> + <i class="layui-icon"></i> + </span> + </span> + </div> </div> @@ -637,12 +948,12 @@ </span><span v-if="item[3]==1" class="green">(鐐�)</span> <span class="red" v-if="item[4]">*</span> <span v-if="item.length>=12">銆恵{(item[11]/100000000).toFixed(2)}}浜裤��</span> - 缁� + 缁� <input type="checkbox" :checked="item[4]==1" class="check-want" v-on:click="add_or_remove_green_buy($event,item[0],i)" /> 鎯� - <input v-if="item.length>12" class="want_list" type="checkbox" :checked="item[12]==1" class="check-want" - v-on:click="add_or_remove_want_buy($event,item[0],i)" /> + <input v-if="item.length>12" class="want_list" type="checkbox" :checked="item[12]==1" + class="check-want" v-on:click="add_or_remove_want_buy($event,item[0],i)" /> </div> <img v-if="item[2]==1" class="delete" src="./images/delete.png" @click="delete_from_want_codes(i)"> @@ -660,13 +971,30 @@ 缁�<input type="checkbox" :checked="item[4]==1" class="check-want" v-on:click="add_or_remove_green_buy($event,item[0], i)" /> 鎯� - <input v-if="item.length>12" class="want_list" type="checkbox" :checked="item[12]==1" class="check-want" - v-on:click="add_or_remove_want_buy($event,item[0],i)" /> + <input v-if="item.length>12" class="want_list" type="checkbox" :checked="item[12]==1" + class="check-want" v-on:click="add_or_remove_want_buy($event,item[0],i)" /> </div> <img v-if="item[2]==1" class="delete" src="./images/delete.png" @click="delete_from_want_codes(i)"> </div> + + + <div v-for="(item,i) in special_codes_list" class="item" + style="display: flex;width: 180px;margin-bottom: 15px;" @click="add_to_ths(item[0])" + :class="{'green':item[0].indexOf('30')==0}"> + @{{item[1]}}({{item[0]}}) + </div> + <div style="width: 100%; height: 1px;background-color: #000;margin-bottom: 5px;"></div> + <div v-for="(item,i) in forbidden_refer_codes" class="item" + style="display: flex;width: 180px;margin-bottom: 15px;" @click="add_to_ths(item[0])" + :class="{'green':item[0].indexOf('30')==0}"> + {{item[1]}}({{item[0]}}) + + </div> + + </div> + </div> @@ -712,18 +1040,18 @@ </div> </div> - + <div id="want_list_dialog" style="display: none;"> - + <div> - + <span v-for="item in want_list"> {{item}}<img class="delete" src="./images/delete.png" @click="delete_from_want_codes(item)"> </span> - - + + </div> - + </div> <div id="block_codes_dialog" style="display: none;"> @@ -732,7 +1060,7 @@ <div class="layui-tab"> <ul class="layui-tab-title"> - <li class="layui-this">娴佸叆</li> + <li class="layui-this">娴佸叆</li> <li>娴佸嚭</li> </ul> <div class="layui-tab-content"> @@ -744,9 +1072,9 @@ v-if="item[3]==true">(鎺掗櫎)</span> </div> </div> - + </div> - <div class="layui-tab-item" > + <div class="layui-tab-item"> <div class="container"> <div v-for="item in block_codes_out"> {{item[1]}}({{item[0]}})-<span @@ -758,18 +1086,12 @@ </div> </div> </div> - - - - - </div> - </div> - - </div> <script src="js/page.js?_=1"></script> + <script src="js/low_suction.js"></script> + </body> </html> diff --git a/kp_html/kp/js/code_list.js b/kp_html/kp/js/code_list.js index eeb3b83..d356838 100644 --- a/kp_html/kp/js/code_list.js +++ b/kp_html/kp/js/code_list.js @@ -194,7 +194,6 @@ http_util.get_l2_datas(app.code, date, app.l2_end_index, function(res) { layer.close(index); - console.log("鑾峰彇鍒癓2鏁版嵁锛�", res) res = JSON.parse(res); if (res.code == 0) { var real_order_indexes = new Array(); @@ -221,6 +220,10 @@ big_buy_order+=1; } + if(e[2][5] == 6){ + console.log("灏忓崟锛�", e) + } + }); res.data.data.transactions.forEach(function(e) { if(parseFloat(e[2][3])>=299){ @@ -238,7 +241,10 @@ console.log("鏈�杩戠湡瀹炰笅鍗曚綅缃細", real_order_indexes); app.real_order_indexes = real_order_indexes; app.l2_datas = res.data.data; - console.log("L2鏁版嵁:", app.l2_datas); + + console.log("绗�1鏉2鏁版嵁锛�", res.data.data[0]) + + // console.log("L2鏁版嵁:", app.l2_datas); var code_name = res.data.code_name; var code_ = res.data.code; app.l2_code_name = code_ + " " + code_name; diff --git a/kp_html/kp/js/http.js b/kp_html/kp/js/http.js index 942fdc8..9d1c5aa 100644 --- a/kp_html/kp/js/http.js +++ b/kp_html/kp/js/http.js @@ -250,6 +250,19 @@ plate: plate }, callback); }, + delete_forbidden_plate: function(plate, callback) { + http_util.http_request("/kpl/del_forbidden_plate", { + plate: plate + }, callback); + }, + list_forbidden_plate: function(callback) { + http_util.http_request("/kpl/list_forbidden_plate", { + }, callback); + }, + list_deleted_forbidden_plate :function(callback){ + http_util.http_request("/kpl/list_deleted_forbidden_plate", { + }, callback); + }, // 鑾峰彇鏉垮潡涓嬬殑浠g爜 get_plate_codes: function(plate, day, callback) { var params = { @@ -474,7 +487,39 @@ result = JSON.parse(result); callback(result); }); - } + }, + + get_big_order_deal_info:function(code, callback){ + http_util.http_request("/get_l2_subscript_codes", { + code: code + }, callback); + }, + + get_all_special_codes:function(callback){ + http_util.http_request("/get_all_special_codes", { + }, callback); + }, + get_new_blocks_special_codes:function(callback){ + http_util.http_request("/get_new_blocks_special_codes", { + }, callback); + }, + // 璁剧疆绱鎴愪氦澶у崟鐨勯槇鍊� + set_total_deal_big_order_threshold_money: function(code, money, callback) { + var params = { + type: "common", + data: { + ctype: "set_total_deal_big_order_threshold_money", + code: code, + money:money + }, + sign: '' + } + http_util.socket_request(JSON.stringify(params), function(result) { + result = JSON.parse(result); + callback(result); + }); + }, + diff --git a/kp_html/kp/js/jquery.min.js b/kp_html/kp/js/jquery.min.js new file mode 100644 index 0000000..4d9b3a2 --- /dev/null +++ b/kp_html/kp/js/jquery.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:"3.3.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],a!==(r=e[t])&&(l&&r&&(w.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&w.isPlainObject(n)?n:{},a[t]=w.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},w.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==c.call(e))&&(!(t=i(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&p.call(n)===d)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){m(e)},each:function(e,t){var n,r=0;if(C(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?w.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;o<a;o++)(r=!t(e[o],o))!==s&&i.push(e[o]);return i},map:function(e,t,n){var r,i,o=0,s=[];if(C(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return a.apply([],s)},guid:1,support:h}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function C(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,y,v,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",I="\\["+M+"*("+R+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+M+"*\\]",W=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",$=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),F=new RegExp("^"+M+"*,"+M+"*"),_=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{L.apply(A=H.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){L={apply:A.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function oe(e,t,r,i){var o,s,l,c,f,h,v,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,g)){if(11!==T&&(f=J.exec(e)))if(o=f[1]){if(9===T){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))){if(1!==T)m=t,v=e;else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),s=(h=a(e)).length;while(s--)h[s]="#"+c+" "+ve(h[s]);v=h.join(","),m=K.test(e)&&ge(t.parentNode)||t}if(v)try{return L.apply(r,m.querySelectorAll(v)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function se(e){return e[b]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(d=a,h=d.documentElement,g=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],y=[],(n.qsa=Q.test(d.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",W)}),y=y.length&&new RegExp(y.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),x=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&x(w,e)?-1:t===d||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return ce(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(z,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!y||!y.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),x(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),f){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",y=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(y){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){x=(d=(l=(c=(f=(p=y)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&y.childNodes[d];while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===v:1===p.nodeType)&&++x&&(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p===t))break;return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){var r,o=i(e,t),a=o.length;while(a--)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function ye(){}ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=oe.tokenize=function(e,t){var n,i,o,a,s,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=r.preFilter;while(s){n&&!(i=F.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=_.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(B," ")}),s=s.slice(n.length));for(a in r.filter)!(i=V[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?oe.error(e):k(e,u).slice(0)};function ve(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function me(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,p=[T,s];if(u){while(t=t[r])if((1===t.nodeType||a)&&e(t,n,u))return!0}else while(t=t[r])if(1===t.nodeType||a)if(f=t[b]||(t[b]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===T&&l[1]===s)return p[2]=l[2];if(c[o]=p,p[2]=e(t,n,u))return!0}return!1}}function xe(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r<i;r++)oe(e,t[r],n);return n}function we(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Te(e,t,n,r,i,o){return r&&!r[b]&&(r=Te(r)),i&&!i[b]&&(i=Te(i,o)),se(function(o,a,s,u){var l,c,f,p=[],d=[],h=a.length,g=o||be(t||"*",s.nodeType?[s]:s,[]),y=!e||!o&&t?g:we(g,p,e,s,u),v=n?i||(o?e:h||r)?[]:a:y;if(n&&n(y,v,s,u),r){l=we(v,d),r(l,[],s,u),c=l.length;while(c--)(f=l[c])&&(v[d[c]]=!(y[d[c]]=f))}if(o){if(i||e){if(i){l=[],c=v.length;while(c--)(f=v[c])&&l.push(y[c]=f);i(null,v=[],l,u)}c=v.length;while(c--)(f=v[c])&&(l=i?O(o,f):p[c])>-1&&(o[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):L.apply(a,v)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])p=[me(xe(p),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[b]){for(i=++u;i<o;i++)if(r.relative[e[i].type])break;return Te(u>1&&xe(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(B,"$1"),n,u<i&&Ce(e.slice(u,i)),i<o&&Ce(e=e.slice(i)),i<o&&ve(e))}p.push(n)}return xe(p)}function Ee(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,c){var f,h,y,v=0,m="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===d||a||c);m!==k&&null!=(f=C[m]);m++){if(i&&f){h=0,a||f.ownerDocument===d||(p(f),s=!g);while(y=e[h++])if(y(f,a||d,s)){u.push(f);break}c&&(T=E)}n&&((f=!y&&f)&&v--,o&&x.push(f))}if(v+=m,n&&m!==v){h=0;while(y=t[h++])y(x,b,a,s);if(o){if(v>0)while(m--)x[m]||b[m]||(b[m]=j.call(u));b=we(b)}L.apply(u,b),c&&!o&&b.length>0&&v+t.length>1&&oe.uniqueSort(u)}return c&&(T=E,l=w),x};return n?se(o):o}return s=oe.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)(o=Ce(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},u=oe.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}o=V.needsContext.test(e)?0:u.length;while(o--){if(l=u[o],r.relative[c=l.type])break;if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),K.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ve(u)))return L.apply(n,i),n;break}}}return(p||s(e,d))(i,t,!g,n,!t||K.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(e);w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape;var k=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=w.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t<r;t++)if(w.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)w.find(e,i[t],n);return r>1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&D.test(e)?w(e):e||[],!1).length}});var q,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(i[1])&&w.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,q=w(r);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&w(e);if(!D.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return N(e,"iframe")?e.contentDocument:(N(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),this.length>1&&(O[e]||w.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function R(e){var t={};return w.each(e.match(M)||[],function(e,n){t[n]=!0}),t}w.Callbacks=function(e){e="string"==typeof e?R(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1){n=a.shift();while(++s<o.length)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1)}e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){w.each(n,function(n,r){g(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return w.each(arguments,function(e,t){var n;while((n=w.inArray(t,o,n))>-1)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l};function I(e){return e}function W(e){throw e}function $(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t<o)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");l=e&&("object"==typeof e||"function"==typeof e)&&e.then,g(l)?i?l.call(e,a(o,n,I,i),a(o,n,W,i)):(o++,l.call(e,a(o,n,I,i),a(o,n,W,i),a(o,n,I,n.notifyWith))):(r!==I&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(e){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(e,c.stackTrace),t+1>=o&&(r!==W&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(a(0,e,g(i)?i:I,e.notifyWith)),n[1][3].add(a(0,e,g(t)?t:I)),n[2][3].add(a(0,e,g(r)?r:W))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&($(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();while(n--)$(i[n],s(n),a.reject);return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&B.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();w.fn.ready=function(e){return F.then(e)["catch"](function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||F.resolveWith(r,[w]))}}),w.ready.then=F.then;function _(){r.removeEventListener("DOMContentLoaded",_),e.removeEventListener("load",_),w.ready()}"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(w.ready):(r.addEventListener("DOMContentLoaded",_),e.addEventListener("load",_));var z=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n)){i=!0;for(s in n)z(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},X=/^-ms-/,U=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function G(e){return e.replace(X,"ms-").replace(U,V)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=w.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[G(t)]=n;else for(r in t)i[G(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][G(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(G):(t=G(t))in r?[t]:t.match(M)||[]).length;while(n--)delete r[t[n]]}(void 0===t||w.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!w.isEmptyObject(t)}};var J=new Q,K=new Q,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Z.test(e)?JSON.parse(e):e)}function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=te(n)}catch(e){}K.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return K.hasData(e)||J.hasData(e)},data:function(e,t,n){return K.access(e,t,n)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=K.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){n=a.length;while(n--)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=G(r.slice(5)),ne(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){K.set(this,e)}):z(this,function(t){var n;if(o&&void 0===t){if(void 0!==(n=K.get(o,e)))return n;if(void 0!==(n=ne(o,e)))return n}else this.each(function(){K.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),a=function(){w.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:w.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?w.queue(this[0],e):void 0===t?this:this.each(function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=w.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=J.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&w.contains(e.ownerDocument,e)&&"none"===w.css(e,"display")},se=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i};function ue(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return w.css(e,t,"")},u=s(),l=n&&n[3]||(w.cssNumber[t]?"":"px"),c=(w.cssNumber[t]||"px"!==l&&+u)&&ie.exec(w.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)w.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,w.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var le={};function ce(e){var t,n=e.ownerDocument,r=e.nodeName,i=le[r];return i||(t=n.body.appendChild(n.createElement(r)),i=w.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),le[r]=i,i)}function fe(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ae(r)&&(i[o]=ce(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}w.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?w(this).show():w(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))w.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+w.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;w.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&w.inArray(o,r)>-1)i&&i.push(o);else if(l=w.contains(o.ownerDocument,o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}!function(){var e=r.createDocumentFragment().appendChild(r.createElement("div")),t=r.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var be=r.documentElement,we=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function ke(){return!1}function Se(){try{return r.activeElement}catch(e){}}function De(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)De(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ke;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.get(e);if(y){n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(be,i),n.guid||(n.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;while(l--)d=g=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.hasData(e)&&J.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(M)||[""]).length;while(l--)if(s=Ce.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||w.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t=w.event.fix(e),n,r,i,o,a,s,u=new Array(arguments.length),l=(J.get(this,"events")||{})[t.type]||[],c=w.event.special[t.type]||{};for(u[0]=t,n=1;n<arguments.length;n++)u[n]=arguments[n];if(t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){s=w.event.handlers.call(this,t,l),n=0;while((o=s[n++])&&!t.isPropagationStopped()){t.currentTarget=o.elem,r=0;while((a=o.handlers[r++])&&!t.isImmediatePropagationStopped())t.rnamespace&&!t.rnamespace.test(a.namespace)||(t.handleObj=a,t.data=a.data,void 0!==(i=((w.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,u))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?w(i,this).index(l)>-1:w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Se()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Se()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&N(this,"input"))return this.click(),!1},_default:function(e){return N(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ee:ke,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:ke,isPropagationStopped:ke,isImmediatePropagationStopped:ke,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ee,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ee,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ee,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&we.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Te.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},w.event.addProp),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||w.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),w.fn.extend({on:function(e,t,n,r){return De(this,e,t,n,r)},one:function(e,t,n,r){return De(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,w(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ke),this.each(function(){w.event.remove(this,e,n,t)})}});var Ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/<script|<style|<link/i,je=/checked\s*(?:[^=]|=\s*.checked.)/i,qe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")?w(e).children("tbody")[0]||e:e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)w.event.add(t,i,l[i][n])}K.hasData(e)&&(s=K.access(e),u=w.extend({},s),K.set(t,u))}}function Me(e,t){var n=t.nodeName.toLowerCase();"input"===n&&pe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Re(e,t,n,r){t=a.apply([],t);var i,o,s,u,l,c,f=0,p=e.length,d=p-1,y=t[0],v=g(y);if(v||p>1&&"string"==typeof y&&!h.checkClone&&je.test(y))return e.each(function(i){var o=e.eq(i);v&&(t[0]=y.call(this,i,o.html())),Re(o,t,n,r)});if(p&&(i=xe(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(s=w.map(ye(i,"script"),He)).length;f<p;f++)l=i,f!==d&&(l=w.clone(l,!0,!0),u&&w.merge(s,ye(l,"script"))),n.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,w.map(s,Oe),f=0;f<u;f++)l=s[f],he.test(l.type||"")&&!J.access(l,"globalEval")&&w.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?w._evalUrl&&w._evalUrl(l.src):m(l.textContent.replace(qe,""),c,l))}return e}function Ie(e,t,n){for(var r,i=t?w.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||w.cleanData(ye(r)),r.parentNode&&(n&&w.contains(r.ownerDocument,r)&&ve(ye(r,"script")),r.parentNode.removeChild(r));return e}w.extend({htmlPrefilter:function(e){return e.replace(Ne,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=w.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=ye(s),r=0,i=(o=ye(e)).length;r<i;r++)Me(o[r],a[r]);if(t)if(n)for(o=o||ye(e),a=a||ye(s),r=0,i=o.length;r<i;r++)Pe(o[r],a[r]);else Pe(e,s);return(a=ye(s,"script")).length>0&&ve(a,!u&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,i=w.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return z(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return z(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,function(t){var n=this.parentNode;w.inArray(this,e)<0&&(w.cleanData(ye(this)),n&&n.replaceChild(t,this))},e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){w.fn[e]=function(e){for(var n,r=[],i=w(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),w(i[a])[t](n),s.apply(r,n.get());return this.pushStack(r)}});var We=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),$e=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Be=new RegExp(oe.join("|"),"i");!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",be.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);i="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",s=36===n(t.right),o=36===n(t.width),c.style.position="absolute",a=36===c.offsetWidth||"absolute",be.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var i,o,a,s,u,l=r.createElement("div"),c=r.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===c.style.backgroundClip,w.extend(h,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),a}}))}();function Fe(e,t,n){var r,i,o,a,s=e.style;return(n=n||$e(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||w.contains(e.ownerDocument,e)||(a=w.style(e,t)),!h.pixelBoxStyles()&&We.test(a)&&Be.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function _e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}var ze=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Ue={position:"absolute",visibility:"hidden",display:"block"},Ve={letterSpacing:"0",fontWeight:"400"},Ge=["Webkit","Moz","ms"],Ye=r.createElement("div").style;function Qe(e){if(e in Ye)return e;var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;while(n--)if((e=Ge[n]+t)in Ye)return e}function Je(e){var t=w.cssProps[e];return t||(t=w.cssProps[e]=Qe(e)||e),t}function Ke(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ze(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=w.css(e,n+oe[a],!0,i)),r?("content"===n&&(u-=w.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(u-=w.css(e,"border"+oe[a]+"Width",!0,i))):(u+=w.css(e,"padding"+oe[a],!0,i),"padding"!==n?u+=w.css(e,"border"+oe[a]+"Width",!0,i):s+=w.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function et(e,t,n){var r=$e(e),i=Fe(e,t,r),o="border-box"===w.css(e,"boxSizing",!1,r),a=o;if(We.test(i)){if(!n)return i;i="auto"}return a=a&&(h.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===w.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Ze(e,t,n||(o?"border":"content"),a,r,i)+"px"}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Fe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=G(t),u=Xe.test(t),l=e.style;if(u||(t=Je(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"==(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ue(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(w.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=G(t);return Xe.test(t)||(t=Je(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Fe(e,t,r)),"normal"===i&&t in Ve&&(i=Ve[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!ze.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):se(e,Ue,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=$e(e),a="border-box"===w.css(e,"boxSizing",!1,o),s=r&&Ze(e,t,r,a,o);return a&&h.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ze(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Ke(e,n,s)}}}),w.cssHooks.marginLeft=_e(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Fe(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(w.cssHooks[e+t].set=Ke)}),w.fn.extend({css:function(e,t){return z(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=$e(e),i=t.length;a<i;a++)o[t[a]]=w.css(e,t[a],!1,r);return o}return void 0!==n?w.style(e,t,n):w.css(e,t)},e,t,arguments.length>1)}});function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}w.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[w.cssProps[e.prop]]&&!w.cssHooks[e.prop]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=tt.prototype.init,w.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===r.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(at):e.setTimeout(at,w.fx.interval),w.fx.tick())}function st(){return e.setTimeout(function(){nt=void 0}),nt=Date.now()}function ut(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var r,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ct(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),y=J.get(e,"fxshow");n.queue||(null==(a=w._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,w.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(i=t[r],it.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!y||void 0===y[r])continue;g=!0}d[r]=y&&y[r]||w.style(e,r)}if((u=!w.isEmptyObject(t))||!w.isEmptyObject(d)){f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=y&&y.display)&&(l=J.get(e,"display")),"none"===(c=w.css(e,"display"))&&(l?c=l:(fe([e],!0),l=e.style.display||l,c=w.css(e,"display"),fe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===w.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(r in d)u||(y?"hidden"in y&&(g=y.hidden):y=J.access(e,"fxshow",{display:l}),o&&(y.hidden=!g),g&&fe([e],!0),p.done(function(){g||fe([e]),J.remove(e,"fxshow");for(r in d)w.style(e,r,d[r])})),u=lt(g?y[r]:0,r,p),r in y||(y[r]=u.start,g&&(u.end=u.start,u.start=0))}}function ft(e,t){var n,r,i,o,a;for(n in e)if(r=G(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=w.cssHooks[r])&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function pt(e,t,n){var r,i,o=0,a=pt.prefilters.length,s=w.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=nt||st(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:w.extend({},t),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:t,originalOptions:n,startTime:nt||st(),duration:n.duration,tweens:[],createTween:function(t,n){var r=w.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(ft(c,l.opts.specialEasing);o<a;o++)if(r=pt.prefilters[o].call(l,e,c,l.opts))return g(r.stop)&&(w._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return w.map(c,lt,l),g(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),w.fx.timer(w.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}w.Animation=w.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(M);for(var n,r=0,i=e.length;r<i;r++)n=e[r],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[ct],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),w.speed=function(e,t,n){var r=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return w.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in w.fx.speeds?r.duration=w.fx.speeds[r.duration]:r.duration=w.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&w.dequeue(this,r.queue)},r},w.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=w.isEmptyObject(e),o=w.speed(t,n,r),a=function(){var t=pt(this,w.extend({},e),o);(i||J.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=w.timers,a=J.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ot.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||w.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=J.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=w.timers,a=r?r.length:0;for(n.finish=!0,w.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),w.each(["toggle","show","hide"],function(e,t){var n=w.fn[t];w.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ut(t,!0),e,r,i)}}),w.each({slideDown:ut("show"),slideUp:ut("hide"),slideToggle:ut("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){w.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),w.timers=[],w.fx.tick=function(){var e,t=0,n=w.timers;for(nt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||w.fx.stop(),nt=void 0},w.fx.timer=function(e){w.timers.push(e),w.fx.start()},w.fx.interval=13,w.fx.start=function(){rt||(rt=!0,at())},w.fx.stop=function(){rt=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(t,n){return t=w.fx?w.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=r.createElement("input"),t=r.createElement("select").appendChild(r.createElement("option"));e.type="checkbox",h.checkOn=""!==e.value,h.optSelected=t.selected,(e=r.createElement("input")).value="t",e.type="radio",h.radioValue="t"===e.value}();var dt,ht=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return z(this,w.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(M);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||w.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;w.fn.extend({prop:function(e,t){return z(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),h.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this});function vt(e){return(e.match(M)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e?e.match(M)||[]:[]}w.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).addClass(e.call(this,t,mt(this)))});if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])while(r.indexOf(" "+o+" ")>-1)r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,i,o,a;if(r){i=0,o=w(this),a=xt(e);while(t=a[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==n||((t=mt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&(" "+vt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=g(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,w(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=w.map(i,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n}}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:vt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(t=w(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=w.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=w.inArray(w.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},h.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var wt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,i,o){var a,s,u,l,c,p,d,h,v=[i||r],m=f.call(t,"type")?t.type:t,x=f.call(t,"namespace")?t.namespace.split("."):[];if(s=h=u=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!wt.test(m+w.event.triggered)&&(m.indexOf(".")>-1&&(m=(x=m.split(".")).shift(),x.sort()),c=m.indexOf(":")<0&&"on"+m,t=t[w.expando]?t:new w.Event(m,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:w.makeArray(n,[t]),d=w.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!y(i)){for(l=d.delegateType||m,wt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(i.ownerDocument||r)&&v.push(u.defaultView||u.parentWindow||e)}a=0;while((s=v[a++])&&!t.isPropagationStopped())h=s,t.type=a>1?l:d.bindType||m,(p=(J.get(s,"events")||{})[t.type]&&J.get(s,"handle"))&&p.apply(s,n),(p=c&&s[c])&&p.apply&&Y(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=m,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),n)||!Y(i)||c&&g(i[m])&&!y(i)&&((u=i[c])&&(i[c]=null),w.event.triggered=m,t.isPropagationStopped()&&h.addEventListener(m,Tt),i[m](),t.isPropagationStopped()&&h.removeEventListener(m,Tt),w.event.triggered=void 0,u&&(i[c]=u)),t.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),h.focusin||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var Ct=e.location,Et=Date.now(),kt=/\?/;w.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),n};var St=/\[\]$/,Dt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var i;if(Array.isArray(t))w.each(t,function(t,i){n||St.test(e)?r(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,r)}w.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&At.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var qt=/%20/g,Lt=/#.*$/,Ht=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},Wt={},$t="*/".concat("*"),Bt=r.createElement("a");Bt.href=Ct.href;function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(M)||[];if(g(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function _t(e,t,n,r){var i={},o=e===Wt;function a(s){var u;return i[s]=!0,w.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function zt(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}function Xt(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Ut(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:Pt.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,w.ajaxSettings),t):zt(w.ajaxSettings,e)},ajaxPrefilter:Ft(It),ajaxTransport:Ft(Wt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,p,d,h=w.ajaxSetup({},n),g=h.context||h,y=h.context&&(g.nodeType||g.jquery)?w(g):w.event,v=w.Deferred(),m=w.Callbacks("once memory"),x=h.statusCode||{},b={},T={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s){s={};while(t=Ot.exec(a))s[t[1].toLowerCase()]=t[2]}t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return i&&i.abort(t),k(0,t),this}};if(v.promise(E),h.url=((t||h.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(M)||[""],null==h.crossDomain){l=r.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),_t(It,h,n,E),c)return E;(f=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),o=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(qt,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(kt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ht,"$1"),d=(kt.test(o)?"&":"?")+"_="+Et+++d),h.url=o+d),h.ifModified&&(w.lastModified[o]&&E.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&E.setRequestHeader("If-None-Match",w.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$t+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)E.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,E,h)||c))return E.abort();if(C="abort",m.add(h.complete),E.done(h.success),E.fail(h.error),i=_t(Wt,h,n,E)){if(E.readyState=1,f&&y.trigger("ajaxSend",[E,h]),c)return E;h.async&&h.timeout>0&&(u=e.setTimeout(function(){E.abort("timeout")},h.timeout));try{c=!1,i.send(b,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(t,n,r,s){var l,p,d,b,T,C=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",E.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=Xt(h,E,r)),b=Ut(h,b,E,l),l?(h.ifModified&&((T=E.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=T),(T=E.getResponseHeader("etag"))&&(w.etag[o]=T)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,l=!(d=b.error))):(d=C,!t&&C||(C="error",t<0&&(t=0))),E.status=t,E.statusText=(n||C)+"",l?v.resolveWith(g,[p,C,E]):v.rejectWith(g,[E,C,d]),E.statusCode(x),x=void 0,f&&y.trigger(l?"ajaxSuccess":"ajaxError",[E,h,l?p:d]),m.fireWith(g,[E,C]),f&&(y.trigger("ajaxComplete",[E,h]),--w.active||w.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Gt=w.ajaxSettings.xhr();h.cors=!!Gt&&"withCredentials"in Gt,h.ajax=Gt=!!Gt,w.ajaxTransport(function(t){var n,r;if(h.cors||Gt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,o){t=w("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),r.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Yt=[],Qt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||w.expando+"_"+Et++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(Qt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=g(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Qt,"$1"+i):!1!==t.jsonp&&(t.url+=(kt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||w.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?w(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Yt.push(i)),a&&g(o)&&o(a[0]),a=o=void 0}),"script"}),h.createHTMLDocument=function(){var e=r.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),w.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var i,o,a;return t||(h.createHTMLDocument?((i=(t=r.implementation.createHTMLDocument("")).createElement("base")).href=r.location.href,t.head.appendChild(i)):t=r),o=A.exec(e),a=!n&&[],o?[t.createElement(o[1])]:(o=xe([e],t,a),a&&a.length&&w(a).remove(),w.merge([],o.childNodes))},w.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=vt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&w.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?w("<div>").append(w.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.expr.pseudos.animated=function(e){return w.grep(w.timers,function(t){return e===t.elem}).length},w.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=w.css(e,"position"),f=w(e),p={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=w.css(e,"top"),u=w.css(e,"left"),(l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1)?(a=(r=f.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),g(t)&&(t=t.call(e,n,w.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+i),"using"in t?t.using.call(e,p):f.css(p)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){w.offset.setOffset(this,e,t)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===w.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),i.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-w.css(r,"marginTop",!0),left:t.left-i.left-w.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===w.css(e,"position"))e=e.offsetParent;return e||be})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;w.fn[e]=function(r){return z(this,function(e,r,i){var o;if(y(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),w.each(["top","left"],function(e,t){w.cssHooks[t]=_e(h.pixelPosition,function(e,n){if(n)return n=Fe(e,t),We.test(n)?w(e).position()[t]+"px":n})}),w.each({Height:"height",Width:"width"},function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){w.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return z(this,function(t,n,i){var o;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?w.css(t,n,s):w.style(t,n,i,s)},t,a?i:void 0,a)}})}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){w.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),w.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),w.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=o.call(arguments,2),i=function(){return e.apply(t||this,r.concat(o.call(arguments)))},i.guid=e.guid=e.guid||w.guid++,i},w.holdReady=function(e){e?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=N,w.isFunction=g,w.isWindow=y,w.camelCase=G,w.type=x,w.now=Date.now,w.isNumeric=function(e){var t=w.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Jt=e.jQuery,Kt=e.$;return w.noConflict=function(t){return e.$===w&&(e.$=Kt),t&&e.jQuery===w&&(e.jQuery=Jt),w},t||(e.jQuery=e.$=w),w}); diff --git a/kp_html/kp/js/low_suction.js b/kp_html/kp/js/low_suction.js new file mode 100644 index 0000000..fade574 --- /dev/null +++ b/kp_html/kp/js/low_suction.js @@ -0,0 +1,57 @@ +$(function() { + app_ls = new Vue({ + el: "#low_suction", + data: { + + }, + mounted: function() { + layui.use(['form'], function() { + var form = layui.form; + + // 鑷畾涔夐獙璇佽鍒� + form.verify({ + // 鑷畾涔夎鍒欏悕绉� + rate: function(value, item) { // value锛氳〃鍗曠殑鍊硷紝item锛氳〃鍗曠殑DOM瀵硅薄 + // 杞崲涓烘暟瀛� + var num = parseFloat(value); + // 妫�鏌ユ槸鍚︿负鏈夋晥鏁板瓧 + if (isNaN(num)) { + return '璇疯緭鍏ユ湁鏁堢殑鏁板瓧'; + } + // 妫�鏌ヨ寖鍥� + if (num < -1 || num > 1) { + return '璇疯緭鍏�-1鍒�+1涔嬮棿鐨勬暟鍊�'; + } + }, + + // 绀轰緥锛氭墜鏈哄彿楠岃瘉 + num: function(value, item) { + if (!/^\d+$/.test(value) || value < 0) { + return '璇疯緭鍏ラ潪璐熸暣鏁�'; + } + }, + money: function(value, item) { + if (!/^(0|[1-9]\d*)(\.\d{0,2})?$/.test(value)) { + return '璇疯緭鍏ユ纭殑閲戦'; + } + }, + }); + }); + setTimeout(function() { + app_ls.get_settings(); + }, 500); + }, + watch: { + + }, + methods: { + // 鑾峰彇璁剧疆 + get_settings: function() { + http_util_of_ls.get_settings(function(res) { + console.log("鑾峰彇璁剧疆淇℃伅锛�", res); + }); + + } + } + }); +}); diff --git a/kp_html/kp/js/ls_http.js b/kp_html/kp/js/ls_http.js new file mode 100644 index 0000000..147058f --- /dev/null +++ b/kp_html/kp/js/ls_http.js @@ -0,0 +1,80 @@ +var http_util_of_ls = { + request_callback: {}, + getQueryString: function(name) { + var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'); + var r = window.location.search.substr(1).match(reg); + if (r != null) { + return unescape(decodeURI(r[2])); + } + return null; + }, + http_request_result: function(key, data) { + data = atob(data); + console.log("http璇锋眰鍥炶皟", "key锛�" + key); + http_util_of_ls.request_callback[key](data); + delete http_util_of_ls.request_callback[key]; + }, + http_request: function(path, data, callback) { + key = "http_callback_" + new Date().getTime() + "_" + Math.round(Math.random() * 100000000); + http_util_of_ls.request_callback[key] = callback; + + console.log("http璇锋眰璺緞", path, key); + + pyjs.http_request(path, JSON.stringify(data), JSON.stringify(["http_util_of_ls.http_request_result", key])); + }, + socket_request: function(data, callback) { + key = "http_callback_" + new Date().getTime() + "_" + Math.round(Math.random() * 100000000); + http_util_of_ls.request_callback[key] = callback; + pyjs.ls_socket_request(data, JSON.stringify(["http_util_of_ls.http_request_result", key])); + }, + + get_sign: function(data) { + var params = new Array(); + for (key in data) { + if (data[key] instanceof Object || data[key] instanceof Array) { + console.log(typeof data[key]) + params.push(key + "=" + JSON.stringify(data[key])) + } else { + params.push(key + "=" + data[key]) + } + } + params.sort() + params.push("%Yeshi2014@#.") + var params_str = "" + params.forEach(function(re) { + params_str += re + "&"; + }); + if (params_str.endsWith("&")) { + params_str = params_str.substring(0, params_str.length - 1); + } + + console.log(params_str) + + md5Hash = md5(params_str); + return md5Hash; + }, + + http_test: function(code, buy_single_index, callback) { + var params = { + code: code + } + if (buy_single_index >= 0) { + params["buy_single_index"] = buy_single_index; + } + http_util_of_ls.http_request("/get_h_cancel_datas", params, callback); + }, + // 璁剧疆绱鎴愪氦澶у崟鐨勯槇鍊� + get_settings: function(callback) { + var params = { + type: "common", + data: { + ctype: "get_settings" + }, + sign: '' + } + http_util_of_ls.socket_request(JSON.stringify(params), function(result) { + result = JSON.parse(result); + callback(result); + }); + } +}; diff --git a/kp_html/kp/js/page.js b/kp_html/kp/js/page.js index 87bb074..d455c00 100644 --- a/kp_html/kp/js/page.js +++ b/kp_html/kp/js/page.js @@ -12,6 +12,7 @@ var app; $(function() { + var vConsole = new VConsole(); function _resize() { var code_info_height = 440; @@ -35,7 +36,7 @@ layer = layui.layer; }); - var vConsole = new VConsole(); + function request(params, callback) { pyjs.request(params, function(result) { @@ -88,16 +89,14 @@ } }, 3000, 3000); + setInterval(function() { + if (is_trade_time()) { + app.get_big_order_deal_info(app.code); + } + }, 3000, 3000); - - - - - - - function init() { app = new Vue({ el: "#body", @@ -399,15 +398,26 @@ block_codes_in:[], block_codes_out:[], l2_subscript_codes:[], - want_list:[] + want_list:[], + big_order_deal_info:null, // 澶у崟鎴愪氦 + show_third_block_info: false, // 鏄惁鏄剧ず绗笁鏂规澘鍧� + forbidden_buy_plates:[],//绂佹涔板叆鐨勬澘鍧� + deleted_forbidden_buy_plates:[],//宸茬粡鍒犻櫎鐨勬澘鍧� + code_special_blocks:{}, + special_codes_list:[], + forbidden_refer_codes:[],// 鏉垮潡鎷夐粦鐩戞祴鐨勭エ + new_block_code_special_blocks:{} }, watch: { want_codes: function() { - layer.open({ - title: app.want_codes_plate, - type: 1, - content: $("#want_code_dialog"), - }); + setTimeout(function(){ + layer.open({ + title: app.want_codes_plate, + type: 1, + content: $("#want_code_dialog"), + }); + }, 100); + } }, methods: { @@ -461,8 +471,8 @@ console.log("鑾峰彇鍒嗘暟鏁版嵁锛�", code, name); var date=$("#date").val(); http_util.get_score_data(code, name,date, function(res) { - res = JSON.parse(res) console.log("鍒嗘暟璇锋眰缁撴灉锛�", res) + res = JSON.parse(res) if (res.code == 0) { console.log("鑾峰彇鍒嗘暟", res) app.code = res.data.code @@ -611,18 +621,27 @@ } }); }, + + set_third_block_show: function(event) { + var el = event.currentTarget; + var checked = $(el).is(':checked'); + app.show_third_block_info = checked; + }, + //閫変腑1绾т唬鐮� select_code_level_1: function(event, index) { var el = event.currentTarget; if (app.choose_code.first != app.first_info.limit_up_codes[index][0]) { app.choose_code.first = app.first_info.limit_up_codes[index][0]; app.code = app.first_info.limit_up_codes[index][0]; + pyjs.add_code_to_ths(app.code); app.code_name = app.code + "(" + app.first_info.limit_up_codes[index][1] + ")"; app.get_score_data(app.first_info.limit_up_codes[index][0], app.first_info .limit_up_codes[index][1]); app.get_plate_info(app.first_info.limit_up_codes[index][0]); app.get_code_third_blocks(app.code); + app.get_big_order_deal_info(app.code); } }, @@ -720,7 +739,11 @@ ")"; } }); + app.big_order_deal_info = null; app.get_code_third_blocks(code); + app.get_big_order_deal_info(code); + + //璇锋眰鏉垮潡 setTimeout(function() { @@ -749,8 +772,11 @@ app.kpl_code_info = res.data; // 璁剧疆褰撴棩娑ㄥ仠鍘熷洜 - app.kpl_limit_up_reason = app.kpl_code_info.today[0] - [0]; + try{ + app.kpl_limit_up_reason = app.kpl_code_info.today[0] + [0]; + }catch(e){ + } // 灏嗗綋鍓嶆定鍋滃師鍥犵疆椤� var limit_up_reason_statistic = app.first_info .limit_up_reason_statistic; @@ -775,8 +801,19 @@ }); }, 10); - this.set_selected_cb_top(true); + // this.set_selected_cb_top(true); //init_data(); + }, + + get_big_order_deal_info:function(code){ + + http_util.get_big_order_deal_info(code,function(res){ + res = JSON.parse(res); + if(res.code==0){ + app.big_order_deal_info = res.data[0]; + } + }); + }, show_want_codes: function(plate) { if (Date.now() - app.last_show_dialog < 500) { @@ -807,7 +844,9 @@ console.log("娑ㄥ仠鍘熷洜鎴愬垎鑲¤繑鍥烇細", result); var datas = result.data; app.want_codes_title = plate; - app.want_codes = datas; + app.want_codes = datas["limit_up_list"]; + app.special_codes_list = datas["speical_codes"]; + app.forbidden_refer_codes = datas["forbidden_refer_codes"]; console.log("娑ㄥ仠鍘熷洜鎴愬垎鑲★細", datas) }); @@ -969,9 +1008,7 @@ app.cb_selected_code = data[0][0]; this.set_selected_cb_top(false); }, - add_to_ths:function(code){ - pyjs.add_code_to_ths(code); - }, + buy_by_ths:function(code){ http_util.buy_by_ths(code,function(res){ res= JSON.parse(res); @@ -1020,7 +1057,12 @@ }, add_to_ths:function(code){ + console.log("================================="); pyjs.add_code_to_ths(code); + try{ + app.set_target_code(code); + }catch(e){ + } }, show_latest_limit_up_queue:function(time_str){ http_util.get_kpl_latest_limit_up_queue_by_time(time_str,function(res){ @@ -1132,18 +1174,138 @@ app.get_l2_subscript_codes(); }); }, + list_forbidden_buy_plates:function(){ + http_util.list_forbidden_plate(function(res){ + res = JSON.parse(res); + if(res.code==0){ + app.forbidden_buy_plates = res.data; + } + }); + app.list_deleted_forbidden_plate(); + }, + + list_deleted_forbidden_plate:function(){ + http_util.list_deleted_forbidden_plate(function(res){ + res = JSON.parse(res); + if(res.code==0){ + app.deleted_forbidden_buy_plates = res.data; + } + }); + + }, + + + + + + delete_forbidden_buy_plate:function(plate){ + http_util.delete_forbidden_plate(plate, function(res){ + res = JSON.parse(res); + if(res.code==0){ + layer.msg("绉婚櫎鎴愬姛"); + app.list_forbidden_buy_plates() + }else{ + layer.msg(res.msg); + } + }); + + }, + add_forbidden_buy_plate:function(plate){ + http_util.forbidden_plate(plate, function(res){ + res = JSON.parse(res); + if(res.code==0){ + layer.msg("娣诲姞鎴愬姛"); + app.list_forbidden_buy_plates() + }else{ + layer.msg(res.msg); + } + }); + + }, + get_all_special_codes:function(){ + http_util.get_all_special_codes(function(res){ + res = JSON.parse(res); + if(res.code==0){ + app.code_special_blocks = res.data; + }else{ + layer.msg(res.msg); + } + }); + }, + get_new_blocks_special_codes:function(){ + http_util.get_new_blocks_special_codes(function(res){ + res = JSON.parse(res); + if(res.code==0){ + app.new_block_code_special_blocks = res.data; + }else{ + layer.msg(res.msg); + } + }); + }, + edit_total_big_order_threshold:function(){ + // 缂栬緫鎬诲ぇ鍗� + let threshold_money =app.big_order_deal_info[2][4]? app.big_order_deal_info[2][4] : app.big_order_deal_info[2][2]; + var threshold_money_number = 0; + if(threshold_money.indexOf("涓�")>=0){ + threshold_money_number = (parseFloat(threshold_money.replace("涓�",""))/10000).toFixed(2) + }else if(threshold_money.indexOf("浜�")>=0){ + threshold_money_number = (parseFloat(threshold_money.replace("浜�",""))).toFixed(2) + } + + layer.prompt({ + title: '淇敼绱澶у崟鎴愪氦闃堝�硷紙鍗曚綅锛氫嚎锛夊師鍊硷細'+app.big_order_deal_info[2][3] + ,formType: 0, //杈撳叆妗嗙被鍨嬶紝鏀寔0锛堟枃鏈級榛樿1锛堝瘑鐮侊級2锛堝琛屾枃鏈級 + value: threshold_money_number, //鍒濆鏃剁殑鍊硷紝榛樿绌哄瓧绗� + maxlength: 20, //鍙緭鍏ユ枃鏈殑鏈�澶ч暱搴︼紝榛樿500 + area: ['200px', '150px'] //鑷畾涔夋枃鏈煙瀹介珮 + },function(val, index){ + // 鍙湁褰撶偣鍑荤‘璁ゆ椂鎵嶄細鎵ц杩欓噷 + if(isNaN(val)){ + layer.msg("杈撳叆鏍煎紡鏈夎") + return; + } + let money = parseFloat(val).toFixed(2)*100000000 + http_util.set_total_deal_big_order_threshold_money(app.code, money, function(res){ + if(res.code!=0){ + layer.msg(res.msg) + return; + } + layer.msg("淇敼鎴愬姛") + layer.close(index)// 鍏抽棴褰撳墠寮圭獥 + app.get_big_order_deal_info(app.code); + }); + }) + + + // layer.open({ + // type: 0, + // title:'淇敼澶у崟闃堝��', + // content: "<input type='text' value = '"+ threshold_money_number +"' class='layui-input'>浜�", //杩欓噷content鏄竴涓櫘閫氱殑String + // btn: ['纭淇敼', '鍙栨秷'], + // yes: function(index, layero){ + // // 楠岃瘉閫氳繃鍚庣殑鍥炶皟 + // alert("123"); + // } + + // }); + + } } }); } - function init_data() { + function init_data() { + app.get_all_special_codes(); + app.get_new_blocks_special_codes(); app.get_block_in_money_data(app.in_money_type); app.get_limit_up_list(app.code, false); app.get_limit_up_statistic_infos(true); app.get_kpl_market_feelings(); app.statistic_latest_limit_up_block(""); + app.list_forbidden_buy_plates(); + } $(".market .child-title").click(function() { diff --git a/kp_html/kp/js/wechat.js b/kp_html/kp/js/wechat.js new file mode 100644 index 0000000..a100163 --- /dev/null +++ b/kp_html/kp/js/wechat.js @@ -0,0 +1,20505 @@ +const __vite__mapDeps = (i, m = __vite__mapDeps, d = (m.f || (m.f = ["js/FeedDetail.publishCtS9HkHR.js?v=3.0.3", + "js/index.publishBypuUWKE.js?v=3.0.3", "js/worker-client.publishGW3tOkqZ.js?v=3.0.3", + "js/FeedVideo.publishSlqPORCr.js?v=3.0.3", "js/video.es.publishCV52IcO4.js?v=3.0.3", + "css/video.ChOiBAMm.css", "js/FeedNoticeCard.publishYezh2txI.js?v=3.0.3", + "js/AuthorObjectCard.vue_vue_type_style_index_1_lang.publishDxUl1Bod.js?v=3.0.3", + "css/AuthorObjectCard.CoyT5UJR.css", "js/UserText.publishDGAeqTlu.js?v=3.0.3", + "js/FriendLike.vue_vue_type_style_index_1_lang.publishCH5mX02g.js?v=3.0.3", + "css/FriendLike.B23pIV8a.css", "js/Avatar.publishBUd2GvML.js?v=3.0.3", "css/Avatar.CXf1HX4H.css", + "js/liveNoticeBtn.publishZstnGkIy.js?v=3.0.3", "js/LoadingIcon.publishGh_hOc8D.js?v=3.0.3", + "js/feed.publishBbzHQX0I.js?v=3.0.3", "js/DanmakuWand.publish0_1IpIzz.js?v=3.0.3", + "js/profile.publishDYpYf96k.js?v=3.0.3", "css/FeedNoticeCard.D0hkf3V6.css", + "css/FeedNoticeCard.0KcYygww.css", "js/GlobalContextMenu.publishFLdMuFEI.js?v=3.0.3", + "js/ContextMenu.publishDOnS78Zk.js?v=3.0.3", "css/ContextMenu.6nOas2vX.css", + "js/contextMenu.publishDouAcxa7.js?v=3.0.3", "css/GlobalContextMenu.QW5MEuVr.css", + "js/Preview.publishCZo7iyG-.js?v=3.0.3", "js/global.publishCufD2gZ9.js?v=3.0.3", + "js/directive.publishCbUC4NCW.js?v=3.0.3", "js/useContextMenu.publishDhWGTg0w.js?v=3.0.3", + "js/AuthorInfo.publishBseiUwD1.js?v=3.0.3", "js/LikeList.publishDPcVPHiX.js?v=3.0.3", + "js/StatBox.publishDRBzuIPz.js?v=3.0.3", + "js/ListLayout.vue_vue_type_style_index_0_scoped_855491aa_lang.publishDJJSKtK9.js?v=3.0.3", + "css/ListLayout.D69j-x-l.css", "css/FeedVideo.BvjDiema.css", + "js/FriendLike.publish4S1SyCWR.js?v=3.0.3", "js/WfPopover.publishCCNvvB6W.js?v=3.0.3", + "js/IconThumb.vue_vue_type_script_setup_true_lang.publishCJ6kEnlS.js?v=3.0.3", + "js/index.publishBsNLNZ8B.js?v=3.0.3", "css/IconThumb.vnGCPYgS.css", + "js/OldFeedVideo.publishCqEEX9Cu.js?v=3.0.3", "js/PrimaryButton.publishCT_29IC3.js?v=3.0.3", + "js/productLink.publishBjsDJXMV.js?v=3.0.3", "js/floatPop.publishBXqDBV4o.js?v=3.0.3", + "css/floatPop.BnxCWdib.css", "css/productLink.CWVigJ2o.css", + "js/FeedAuthIcon.publishC8i-73Kc.js?v=3.0.3", "css/FeedAuthIcon.ChgUnP6P.css", + "css/OldFeedVideo.DfxEAOPa.css", "js/ScrollList.publishCXLhNSiN.js?v=3.0.3", + "js/index.esm.publishk3qJA8Zy.js?v=3.0.3", "css/ScrollList.JJMr-l7t.css", + "js/EmojiPanel.publishBu1cT9nS.js?v=3.0.3", "css/EmojiPanel.BOGt6VfV.css", + "js/LiveStatBox.publishC1l5OT90.js?v=3.0.3", "css/LiveStatBox.BJGcUEja.css", + "js/LiveCard.vue_vue_type_style_index_1_lang.publishCbmvJCT7.js?v=3.0.3", + "js/mouseEvent.publishDHqydIIu.js?v=3.0.3", "css/LiveCard.DHyJmrxB.css", + "js/CommonHeaderV2.publishCWGzvz2n.js?v=3.0.3", + "js/AccountMenu.vue_vue_type_script_setup_true_lang.publishBW9ba8bh.js?v=3.0.3", + "css/CommonHeaderV2.V69zKtI0.css", "js/generalWarningMsg.publishDBhS91dO.js?v=3.0.3", + "css/generalWarningMsg.CMIYGVcH.css", "js/useMerlinPage.publishBB0txQIV.js?v=3.0.3", + "js/theme.publishD3dLNXhN.js?v=3.0.3", "js/FeedDetail.publishBaRtQ4Fu.js?v=3.0.3", + "js/index.publishDjmANyAv.js?v=3.0.3", "css/FeedDetail.fuF9iFHP.css", "css/FeedDetail.C9oAnRUQ.css", + "js/FinderLive.publishDB98ggmH.js?v=3.0.3", "js/topTips.publishDNvSqWwJ.js?v=3.0.3", + "css/topTips.Bb227R1k.css", "js/pages.publishDQt1mUbj.js?v=3.0.3", "css/pages.D5SooEDo.css", + "js/Dialog.publishCjkgnFjY.js?v=3.0.3", "css/Dialog.D7howsOd.css", + "js/LiveCard.publishBBtvEJRS.js?v=3.0.3", "js/useLongList.publishD2IQGW1c.js?v=3.0.3", + "js/useFillHeight.publishDvSPX9SA.js?v=3.0.3", "css/FinderLive.B3yLN_jY.css", + "css/el-slider.DPNnarSE.css", "js/FinderHome.publishBX0wMeHZ.js?v=3.0.3", + "js/NoMore.publishDn0QN8Bt.js?v=3.0.3", "js/FinderFeedCard.publishKsiYB68-.js?v=3.0.3", + "js/ProfileFeedPreviewCard.publishCqDObpuo.js?v=3.0.3", "css/FinderHome.DMtDkUDi.css", + "js/FinderProfile.publishD6QZhpJa.js?v=3.0.3", + "js/MusicsTabPage.vue_vue_type_style_index_0_scoped_72d28ea6_lang.publishCHaUGAMR.js?v=3.0.3", + "css/MusicsTabPage.CmqX0jyA.css", "js/useScrollInRange.publishCtcFr-pF.js?v=3.0.3", + "css/FinderProfile.rE3jze1a.css", "js/FinderMpProfile.publishBo5np7r_.js?v=3.0.3", + "css/FinderMpProfile.B_WvZQQH.css", "js/FinderExtLive.publishDlUxW37y.js?v=3.0.3", + "js/index.publish9tPW3NkU.js?v=3.0.3", "css/FinderExtLive.BsPokVmR.css", + "js/FinderError.publishUGDrGSyo.js?v=3.0.3", "css/FinderError.Dzd-w4BX.css", + "js/FinderNotSupport.publishB7kNwQIL.js?v=3.0.3", "css/FinderNotSupport.BuMCvl9Q.css", + "js/FinderLiveCode.publishB6_-xeu8.js?v=3.0.3", "css/FinderLiveCode.GeCDORPd.css", + "js/FinderAccount.publishB4HUIQTI.js?v=3.0.3", "js/account.publishCJr1C6q5.js?v=3.0.3", + "css/FinderAccount.D09umCon.css", "js/like.publishCxt1dHoc.js?v=3.0.3", "css/like.BxtHXGQI.css", + "js/history.publishCGYqzOVh.js?v=3.0.3", "css/history.HzrIpGLn.css", + "js/follow.publishDuaFutNk.js?v=3.0.3", "css/follow.CWRklKhx.css", + "js/FinderSearch.publishCcJV2q0K.js?v=3.0.3", "js/SearchResultPage.publishCirR-Rf2.js?v=3.0.3", + "css/FinderSearch.SMYATtXv.css", "js/FinderLiveReplay.publishCummqirx.js?v=3.0.3", + "css/FinderLiveReplay.CiZ945ds.css" +]))) => i.map(i => d[i]); +var oc = Object.defineProperty; +var sc = (e, t, n) => t in e ? oc(e, t, { + enumerable: !0, + configurable: !0, + writable: !0, + value: n +}) : e[t] = n; +var E = (e, t, n) => sc(e, typeof t != "symbol" ? t + "" : t, n); +import { + f as ki, + g as Nn, + h as Pi, + i as K, + m as os, + t as ss, + j as mn, + k as Mr, + l as as, + n as un, + w as Ye, + p as Mn, + q as ac, + s as cs, + v as ls, + x as Dn, + y as us, + c as ne, + z as Jn, + A as Ni, + B as xr, + C as Rr, + E as fs, + F as Or, + d as xn, + S as ds, + G as hs, + H as Yi, + I as cc, + J as Ne, + u as Ae, + R as io, + K as lc, + L as uc, + M as hn, + V as fc, + W as ro, + N as oo, + O as so, + P as Rn, + Q as dc, + T as Fr, + U as kr, + X as ps, + Y as hc, + Z as pc, + _ as mc, + $ as _c, + e as zi, + a0 as gc, + o as ar, + a1 as cr, + a2 as Ln, + a3 as vc, + a4 as yc, + a5 as Sc, + a6 as ao, + r as bc +} from "./worker-client.publishGW3tOkqZ.js?v=3.0.3"; +(function() { + const t = document.createElement("link").relList; + if (t && t.supports && t.supports("modulepreload")) return; + for (const i of document.querySelectorAll('link[rel="modulepreload"]')) r(i); + new MutationObserver(i => { + for (const o of i) + if (o.type === "childList") + for (const s of o.addedNodes) s.tagName === "LINK" && s.rel === "modulepreload" && r(s) + }).observe(document, { + childList: !0, + subtree: !0 + }); + + function n(i) { + const o = {}; + return i.integrity && (o.integrity = i.integrity), i.referrerPolicy && (o.referrerPolicy = i + .referrerPolicy), i.crossOrigin === "use-credentials" ? o.credentials = "include" : i.crossOrigin === + "anonymous" ? o.credentials = "omit" : o.credentials = "same-origin", o + } + + function r(i) { + if (i.ep) return; + i.ep = !0; + const o = n(i); + fetch(i.href, o) + } +})(); +var ms = { + exports: {} +}; +(function(e, t) { + (function(n, r) { + e.exports = r() + })(typeof self < "u" ? self : ki, function() { + return function(n) { + var r = {}; + + function i(o) { + if (r[o]) return r[o].exports; + var s = r[o] = { + i: o, + l: !1, + exports: {} + }; + return n[o].call(s.exports, s, s.exports, i), s.l = !0, s.exports + } + return i.m = n, i.c = r, i.d = function(o, s, a) { + i.o(o, s) || Object.defineProperty(o, s, { + enumerable: !0, + get: a + }) + }, i.r = function(o) { + typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(o, Symbol + .toStringTag, { + value: "Module" + }), Object.defineProperty(o, "__esModule", { + value: !0 + }) + }, i.t = function(o, s) { + if (1 & s && (o = i(o)), 8 & s || 4 & s && typeof o == "object" && o && o.__esModule) + return o; + var a = Object.create(null); + if (i.r(a), Object.defineProperty(a, "default", { + enumerable: !0, + value: o + }), 2 & s && typeof o != "string") + for (var c in o) i.d(a, c, (function(l) { + return o[l] + }).bind(null, c)); + return a + }, i.n = function(o) { + var s = o && o.__esModule ? function() { + return o.default + } : function() { + return o + }; + return i.d(s, "a", s), s + }, i.o = function(o, s) { + return Object.prototype.hasOwnProperty.call(o, s) + }, i.p = "", i(i.s = "fb15") + }({ + "00ee": function(n, r, i) { + var o = i("b622"), + s = o("toStringTag"), + a = {}; + a[s] = "z", n.exports = String(a) === "[object z]" + }, + "0366": function(n, r, i) { + var o = i("1c0b"); + n.exports = function(s, a, c) { + if (o(s), a === void 0) return s; + switch (c) { + case 0: + return function() { + return s.call(a) + }; + case 1: + return function(l) { + return s.call(a, l) + }; + case 2: + return function(l, u) { + return s.call(a, l, u) + }; + case 3: + return function(l, u, f) { + return s.call(a, l, u, f) + } + } + return function() { + return s.apply(a, arguments) + } + } + }, + "057f": function(n, r, i) { + var o = i("fc6a"), + s = i("241c").f, + a = {}.toString, + c = typeof window == "object" && window && Object.getOwnPropertyNames ? Object + .getOwnPropertyNames(window) : [], + l = function(u) { + try { + return s(u) + } catch (f) { + return c.slice() + } + }; + n.exports.f = function(u) { + return c && a.call(u) == "[object Window]" ? l(u) : s(o(u)) + } + }, + "06cf": function(n, r, i) { + var o = i("83ab"), + s = i("d1e7"), + a = i("5c6c"), + c = i("fc6a"), + l = i("c04e"), + u = i("5135"), + f = i("0cfb"), + d = Object.getOwnPropertyDescriptor; + r.f = o ? d : function(h, p) { + if (h = c(h), p = l(p, !0), f) try { + return d(h, p) + } catch (_) {} + if (u(h, p)) return a(!s.f.call(h, p), h[p]) + } + }, + "07ac": function(n, r, i) { + var o = i("23e7"), + s = i("6f53").values; + o({ + target: "Object", + stat: !0 + }, { + values: function(a) { + return s(a) + } + }) + }, + "0cb2": function(n, r, i) { + var o = i("7b0b"), + s = Math.floor, + a = "".replace, + c = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, + l = /\$([$&'`]|\d{1,2})/g; + n.exports = function(u, f, d, h, p, _) { + var m = d + u.length, + g = h.length, + b = l; + return p !== void 0 && (p = o(p), b = c), a.call(_, b, function(y, S) { + var w; + switch (S.charAt(0)) { + case "$": + return "$"; + case "&": + return u; + case "`": + return f.slice(0, d); + case "'": + return f.slice(m); + case "<": + w = p[S.slice(1, -1)]; + break; + default: + var k = +S; + if (k === 0) return y; + if (k > g) { + var v = s(k / 10); + return v === 0 ? y : v <= g ? h[v - 1] === void 0 ? + S.charAt(1) : h[v - 1] + S.charAt(1) : y + } + w = h[k - 1] + } + return w === void 0 ? "" : w + }) + } + }, + "0cfb": function(n, r, i) { + var o = i("83ab"), + s = i("d039"), + a = i("cc12"); + n.exports = !o && !s(function() { + return Object.defineProperty(a("div"), "a", { + get: function() { + return 7 + } + }).a != 7 + }) + }, + "13d5": function(n, r, i) { + var o = i("23e7"), + s = i("d58f").left, + a = i("a640"), + c = i("2d00"), + l = i("605d"), + u = a("reduce"), + f = !l && c > 79 && c < 83; + o({ + target: "Array", + proto: !0, + forced: !u || f + }, { + reduce: function(d) { + return s(this, d, arguments.length, arguments.length > 1 ? + arguments[1] : void 0) + } + }) + }, + "14c3": function(n, r, i) { + var o = i("c6b6"), + s = i("9263"); + n.exports = function(a, c) { + var l = a.exec; + if (typeof l == "function") { + var u = l.call(a, c); + if (typeof u != "object") throw TypeError( + "RegExp exec method returned something other than an Object or null" + ); + return u + } + if (o(a) !== "RegExp") throw TypeError( + "RegExp#exec called on incompatible receiver"); + return s.call(a, c) + } + }, + "159b": function(n, r, i) { + var o = i("da84"), + s = i("fdbc"), + a = i("17c2"), + c = i("9112"); + for (var l in s) { + var u = o[l], + f = u && u.prototype; + if (f && f.forEach !== a) try { + c(f, "forEach", a) + } catch (d) { + f.forEach = a + } + } + }, + "17c2": function(n, r, i) { + var o = i("b727").forEach, + s = i("a640"), + a = s("forEach"); + n.exports = a ? [].forEach : function(c) { + return o(this, c, arguments.length > 1 ? arguments[1] : void 0) + } + }, + "1be4": function(n, r, i) { + var o = i("d066"); + n.exports = o("document", "documentElement") + }, + "1c0b": function(n, r) { + n.exports = function(i) { + if (typeof i != "function") throw TypeError(String(i) + + " is not a function"); + return i + } + }, + "1c7e": function(n, r, i) { + var o = i("b622"), + s = o("iterator"), + a = !1; + try { + var c = 0, + l = { + next: function() { + return { + done: !!c++ + } + }, + return: function() { + a = !0 + } + }; + l[s] = function() { + return this + }, Array.from(l, function() { + throw 2 + }) + } catch (u) {} + n.exports = function(u, f) { + if (!f && !a) return !1; + var d = !1; + try { + var h = {}; + h[s] = function() { + return { + next: function() { + return { + done: d = !0 + } + } + } + }, u(h) + } catch (p) {} + return d + } + }, + "1d80": function(n, r) { + n.exports = function(i) { + if (i == null) throw TypeError("Can't call method on " + i); + return i + } + }, + "1dde": function(n, r, i) { + var o = i("d039"), + s = i("b622"), + a = i("2d00"), + c = s("species"); + n.exports = function(l) { + return a >= 51 || !o(function() { + var u = [], + f = u.constructor = {}; + return f[c] = function() { + return { + foo: 1 + } + }, u[l](Boolean).foo !== 1 + }) + } + }, + "23cb": function(n, r, i) { + var o = i("a691"), + s = Math.max, + a = Math.min; + n.exports = function(c, l) { + var u = o(c); + return u < 0 ? s(u + l, 0) : a(u, l) + } + }, + "23e7": function(n, r, i) { + var o = i("da84"), + s = i("06cf").f, + a = i("9112"), + c = i("6eeb"), + l = i("ce4e"), + u = i("e893"), + f = i("94ca"); + n.exports = function(d, h) { + var p, _, m, g, b, y, S = d.target, + w = d.global, + k = d.stat; + if (_ = w ? o : k ? o[S] || l(S, {}) : (o[S] || {}).prototype, _) + for (m in h) { + if (b = h[m], d.noTargetGet ? (y = s(_, m), g = y && y.value) : g = + _[m], p = f(w ? m : S + (k ? "." : "#") + m, d.forced), !p && + g !== void 0) { + if (typeof b == typeof g) continue; + u(b, g) + }(d.sham || g && g.sham) && a(b, "sham", !0), c(_, m, b, d) + } + } + }, + "241c": function(n, r, i) { + var o = i("ca84"), + s = i("7839"), + a = s.concat("length", "prototype"); + r.f = Object.getOwnPropertyNames || function(c) { + return o(c, a) + } + }, + "25f0": function(n, r, i) { + var o = i("6eeb"), + s = i("825a"), + a = i("d039"), + c = i("ad6d"), + l = "toString", + u = RegExp.prototype, + f = u[l], + d = a(function() { + return f.call({ + source: "a", + flags: "b" + }) != "/a/b" + }), + h = f.name != l; + (d || h) && o(RegExp.prototype, l, function() { + var p = s(this), + _ = String(p.source), + m = p.flags, + g = String(m === void 0 && p instanceof RegExp && !("flags" in u) ? + c.call(p) : m); + return "/" + _ + "/" + g + }, { + unsafe: !0 + }) + }, + 2626: function(n, r, i) { + var o = i("d066"), + s = i("9bf2"), + a = i("b622"), + c = i("83ab"), + l = a("species"); + n.exports = function(u) { + var f = o(u), + d = s.f; + c && f && !f[l] && d(f, l, { + configurable: !0, + get: function() { + return this + } + }) + } + }, + "2a62": function(n, r, i) { + var o = i("825a"); + n.exports = function(s) { + var a = s.return; + if (a !== void 0) return o(a.call(s)).value + } + }, + "2d00": function(n, r, i) { + var o, s, a = i("da84"), + c = i("342f"), + l = a.process, + u = l && l.versions, + f = u && u.v8; + f ? (o = f.split("."), s = o[0] + o[1]) : c && (o = c.match(/Edge\/(\d+)/), (!o || + o[1] >= 74) && (o = c.match(/Chrome\/(\d+)/), o && (s = o[1]))), n.exports = + s && +s + }, + "342f": function(n, r, i) { + var o = i("d066"); + n.exports = o("navigator", "userAgent") || "" + }, + "35a1": function(n, r, i) { + var o = i("f5df"), + s = i("3f8c"), + a = i("b622"), + c = a("iterator"); + n.exports = function(l) { + if (l != null) return l[c] || l["@@iterator"] || s[o(l)] + } + }, + "37e8": function(n, r, i) { + var o = i("83ab"), + s = i("9bf2"), + a = i("825a"), + c = i("df75"); + n.exports = o ? Object.defineProperties : function(l, u) { + a(l); + for (var f, d = c(u), h = d.length, p = 0; h > p;) s.f(l, f = d[p++], u[f]); + return l + } + }, + "3bbe": function(n, r, i) { + var o = i("861d"); + n.exports = function(s) { + if (!o(s) && s !== null) throw TypeError("Can't set " + String(s) + + " as a prototype"); + return s + } + }, + "3ca3": function(n, r, i) { + var o = i("6547").charAt, + s = i("69f3"), + a = i("7dd0"), + c = "String Iterator", + l = s.set, + u = s.getterFor(c); + a(String, "String", function(f) { + l(this, { + type: c, + string: String(f), + index: 0 + }) + }, function() { + var f, d = u(this), + h = d.string, + p = d.index; + return p >= h.length ? { + value: void 0, + done: !0 + } : (f = o(h, p), d.index += f.length, { + value: f, + done: !1 + }) + }) + }, + "3f8c": function(n, r) { + n.exports = {} + }, + "428f": function(n, r, i) { + var o = i("da84"); + n.exports = o + }, + "44ad": function(n, r, i) { + var o = i("d039"), + s = i("c6b6"), + a = "".split; + n.exports = o(function() { + return !Object("z").propertyIsEnumerable(0) + }) ? function(c) { + return s(c) == "String" ? a.call(c, "") : Object(c) + } : Object + }, + "44d2": function(n, r, i) { + var o = i("b622"), + s = i("7c73"), + a = i("9bf2"), + c = o("unscopables"), + l = Array.prototype; + l[c] == null && a.f(l, c, { + configurable: !0, + value: s(null) + }), n.exports = function(u) { + l[c][u] = !0 + } + }, + "44e7": function(n, r, i) { + var o = i("861d"), + s = i("c6b6"), + a = i("b622"), + c = a("match"); + n.exports = function(l) { + var u; + return o(l) && ((u = l[c]) !== void 0 ? !!u : s(l) == "RegExp") + } + }, + 4930: function(n, r, i) { + var o = i("605d"), + s = i("2d00"), + a = i("d039"); + n.exports = !!Object.getOwnPropertySymbols && !a(function() { + return !Symbol.sham && (o ? s === 38 : s > 37 && s < 41) + }) + }, + "498a": function(n, r, i) { + var o = i("23e7"), + s = i("58a8").trim, + a = i("c8d2"); + o({ + target: "String", + proto: !0, + forced: a("trim") + }, { + trim: function() { + return s(this) + } + }) + }, + "4d63": function(n, r, i) { + var o = i("83ab"), + s = i("da84"), + a = i("94ca"), + c = i("7156"), + l = i("9bf2").f, + u = i("241c").f, + f = i("44e7"), + d = i("ad6d"), + h = i("9f7f"), + p = i("6eeb"), + _ = i("d039"), + m = i("69f3").set, + g = i("2626"), + b = i("b622"), + y = b("match"), + S = s.RegExp, + w = S.prototype, + k = /a/g, + v = /a/g, + I = new S(k) !== k, + T = h.UNSUPPORTED_Y, + A = o && a("RegExp", !I || T || _(function() { + return v[y] = !1, S(k) != k || S(v) == v || S(k, "i") != "/a/i" + })); + if (A) { + for (var L = function(F, N) { + var U, P = this instanceof L, + J = f(F), + M = N === void 0; + if (!P && J && F.constructor === L && M) return F; + I ? J && !M && (F = F.source) : F instanceof L && (M && (N = d.call( + F)), F = F.source), T && (U = !!N && N.indexOf("y") > -1, + U && (N = N.replace(/y/g, ""))); + var q = c(I ? new S(F, N) : S(F, N), P ? this : w, L); + return T && U && m(q, { + sticky: U + }), q + }, O = function(F) { + F in L || l(L, F, { + configurable: !0, + get: function() { + return S[F] + }, + set: function(N) { + S[F] = N + } + }) + }, $ = u(S), B = 0; $.length > B;) O($[B++]); + w.constructor = L, L.prototype = w, p(s, "RegExp", L) + } + g("RegExp") + }, + "4d64": function(n, r, i) { + var o = i("fc6a"), + s = i("50c4"), + a = i("23cb"), + c = function(l) { + return function(u, f, d) { + var h, p = o(u), + _ = s(p.length), + m = a(d, _); + if (l && f != f) { + for (; _ > m;) + if (h = p[m++], h != h) return !0 + } else + for (; _ > m; m++) + if ((l || m in p) && p[m] === f) return l || m || 0; + return !l && -1 + } + }; + n.exports = { + includes: c(!0), + indexOf: c(!1) + } + }, + "4de4": function(n, r, i) { + var o = i("23e7"), + s = i("b727").filter, + a = i("1dde"), + c = a("filter"); + o({ + target: "Array", + proto: !0, + forced: !c + }, { + filter: function(l) { + return s(this, l, arguments.length > 1 ? arguments[1] : void 0) + } + }) + }, + "4df4": function(n, r, i) { + var o = i("0366"), + s = i("7b0b"), + a = i("9bdd"), + c = i("e95a"), + l = i("50c4"), + u = i("8418"), + f = i("35a1"); + n.exports = function(d) { + var h, p, _, m, g, b, y = s(d), + S = typeof this == "function" ? this : Array, + w = arguments.length, + k = w > 1 ? arguments[1] : void 0, + v = k !== void 0, + I = f(y), + T = 0; + if (v && (k = o(k, w > 2 ? arguments[2] : void 0, 2)), I == null || S == + Array && c(I)) + for (h = l(y.length), p = new S(h); h > T; T++) b = v ? k(y[T], T) : y[ + T], u(p, T, b); + else + for (m = I.call(y), g = m.next, p = new S; !(_ = g.call(m)).done; T++) + b = v ? a(m, k, [_.value, T], !0) : _.value, u(p, T, b); + return p.length = T, p + } + }, + "50c4": function(n, r, i) { + var o = i("a691"), + s = Math.min; + n.exports = function(a) { + return a > 0 ? s(o(a), 9007199254740991) : 0 + } + }, + 5135: function(n, r) { + var i = {}.hasOwnProperty; + n.exports = function(o, s) { + return i.call(o, s) + } + }, + 5319: function(n, r, i) { + var o = i("d784"), + s = i("825a"), + a = i("50c4"), + c = i("a691"), + l = i("1d80"), + u = i("8aa5"), + f = i("0cb2"), + d = i("14c3"), + h = Math.max, + p = Math.min, + _ = function(m) { + return m === void 0 ? m : String(m) + }; + o("replace", 2, function(m, g, b, y) { + var S = y.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE, + w = y.REPLACE_KEEPS_$0, + k = S ? "$" : "$0"; + return [function(v, I) { + var T = l(this), + A = v == null ? void 0 : v[m]; + return A !== void 0 ? A.call(v, T, I) : g.call(String(T), v, + I) + }, function(v, I) { + if (!S && w || typeof I == "string" && I.indexOf(k) === - + 1) { + var T = b(g, v, this, I); + if (T.done) return T.value + } + var A = s(v), + L = String(this), + O = typeof I == "function"; + O || (I = String(I)); + var $ = A.global; + if ($) { + var B = A.unicode; + A.lastIndex = 0 + } + for (var F = [];;) { + var N = d(A, L); + if (N === null || (F.push(N), !$)) break; + var U = String(N[0]); + U === "" && (A.lastIndex = u(L, a(A.lastIndex), B)) + } + for (var P = "", J = 0, M = 0; M < F.length; M++) { + N = F[M]; + for (var q = String(N[0]), W = h(p(c(N.index), L + .length), 0), z = [], Y = 1; Y < N.length; Y++) + z.push(_(N[Y])); + var C = N.groups; + if (O) { + var j = [q].concat(z, W, L); + C !== void 0 && j.push(C); + var H = String(I.apply(void 0, j)) + } else H = f(q, L, W, z, C, I); + W >= J && (P += L.slice(J, W) + H, J = W + q.length) + } + return P + L.slice(J) + }] + }) + }, + 5692: function(n, r, i) { + var o = i("c430"), + s = i("c6cd"); + (n.exports = function(a, c) { + return s[a] || (s[a] = c !== void 0 ? c : {}) + })("versions", []).push({ + version: "3.9.1", + mode: o ? "pure" : "global", + copyright: "漏 2021 Denis Pushkarev (zloirock.ru)" + }) + }, + "56ef": function(n, r, i) { + var o = i("d066"), + s = i("241c"), + a = i("7418"), + c = i("825a"); + n.exports = o("Reflect", "ownKeys") || function(l) { + var u = s.f(c(l)), + f = a.f; + return f ? u.concat(f(l)) : u + } + }, + 5899: function(n, r) { + n.exports = " \n\v\f\r 聽釟�鈥�鈥佲�傗�冣�勨�呪�嗏�団�堚�夆�娾�仧銆�\u2028\u2029\uFEFF" + }, + "58a8": function(n, r, i) { + var o = i("1d80"), + s = i("5899"), + a = "[" + s + "]", + c = RegExp("^" + a + a + "*"), + l = RegExp(a + a + "*$"), + u = function(f) { + return function(d) { + var h = String(o(d)); + return 1 & f && (h = h.replace(c, "")), 2 & f && (h = h.replace(l, + "")), h + } + }; + n.exports = { + start: u(1), + end: u(2), + trim: u(3) + } + }, + "5c6c": function(n, r) { + n.exports = function(i, o) { + return { + enumerable: !(1 & i), + configurable: !(2 & i), + writable: !(4 & i), + value: o + } + } + }, + "5e96": function(n) { + n.exports = JSON.parse( + '{"a":"https://res.wx.qq.com/mpres/zh_CN/htmledition/comm_htmledition/images/pic/common/pic_blank.gif"}' + ) + }, + "605d": function(n, r, i) { + var o = i("c6b6"), + s = i("da84"); + n.exports = o(s.process) == "process" + }, + 6547: function(n, r, i) { + var o = i("a691"), + s = i("1d80"), + a = function(c) { + return function(l, u) { + var f, d, h = String(s(l)), + p = o(u), + _ = h.length; + return p < 0 || p >= _ ? c ? "" : void 0 : (f = h.charCodeAt(p), f < + 55296 || f > 56319 || p + 1 === _ || (d = h.charCodeAt(p + + 1)) < 56320 || d > 57343 ? c ? h.charAt(p) : f : c ? h + .slice(p, p + 2) : d - 56320 + (f - 55296 << 10) + 65536) + } + }; + n.exports = { + codeAt: a(!1), + charAt: a(!0) + } + }, + "65f0": function(n, r, i) { + var o = i("861d"), + s = i("e8b5"), + a = i("b622"), + c = a("species"); + n.exports = function(l, u) { + var f; + return s(l) && (f = l.constructor, typeof f != "function" || f !== Array && + !s(f.prototype) ? o(f) && (f = f[c], f === null && (f = void 0)) : + f = void 0), new(f === void 0 ? Array : f)(u === 0 ? 0 : u) + } + }, + "69f3": function(n, r, i) { + var o, s, a, c = i("7f9a"), + l = i("da84"), + u = i("861d"), + f = i("9112"), + d = i("5135"), + h = i("c6cd"), + p = i("f772"), + _ = i("d012"), + m = l.WeakMap, + g = function(I) { + return a(I) ? s(I) : o(I, {}) + }, + b = function(I) { + return function(T) { + var A; + if (!u(T) || (A = s(T)).type !== I) throw TypeError( + "Incompatible receiver, " + I + " required"); + return A + } + }; + if (c) { + var y = h.state || (h.state = new m), + S = y.get, + w = y.has, + k = y.set; + o = function(I, T) { + return T.facade = I, k.call(y, I, T), T + }, s = function(I) { + return S.call(y, I) || {} + }, a = function(I) { + return w.call(y, I) + } + } else { + var v = p("state"); + _[v] = !0, o = function(I, T) { + return T.facade = I, f(I, v, T), T + }, s = function(I) { + return d(I, v) ? I[v] : {} + }, a = function(I) { + return d(I, v) + } + } + n.exports = { + set: o, + get: s, + has: a, + enforce: g, + getterFor: b + } + }, + "6eeb": function(n, r, i) { + var o = i("da84"), + s = i("9112"), + a = i("5135"), + c = i("ce4e"), + l = i("8925"), + u = i("69f3"), + f = u.get, + d = u.enforce, + h = String(String).split("String"); + (n.exports = function(p, _, m, g) { + var b, y = !!g && !!g.unsafe, + S = !!g && !!g.enumerable, + w = !!g && !!g.noTargetGet; + typeof m == "function" && (typeof _ != "string" || a(m, "name") || s(m, + "name", _), b = d(m), b.source || (b.source = h.join(typeof _ == + "string" ? _ : ""))), p !== o ? (y ? !w && p[_] && (S = !0) : + delete p[_], S ? p[_] = m : s(p, _, m)) : S ? p[_] = m : c(_, m) + })(Function.prototype, "toString", function() { + return typeof this == "function" && f(this).source || l(this) + }) + }, + "6f53": function(n, r, i) { + var o = i("83ab"), + s = i("df75"), + a = i("fc6a"), + c = i("d1e7").f, + l = function(u) { + return function(f) { + for (var d, h = a(f), p = s(h), _ = p.length, m = 0, g = []; _ > m;) + d = p[m++], o && !c.call(h, d) || g.push(u ? [d, h[d]] : h[d]); + return g + } + }; + n.exports = { + entries: l(!0), + values: l(!1) + } + }, + 7156: function(n, r, i) { + var o = i("861d"), + s = i("d2bb"); + n.exports = function(a, c, l) { + var u, f; + return s && typeof(u = c.constructor) == "function" && u !== l && o(f = u + .prototype) && f !== l.prototype && s(a, f), a + } + }, + 7418: function(n, r) { + r.f = Object.getOwnPropertySymbols + }, + "746f": function(n, r, i) { + var o = i("428f"), + s = i("5135"), + a = i("e538"), + c = i("9bf2").f; + n.exports = function(l) { + var u = o.Symbol || (o.Symbol = {}); + s(u, l) || c(u, l, { + value: a.f(l) + }) + } + }, + 7839: function(n, r) { + n.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", + "propertyIsEnumerable", "toLocaleString", "toString", "valueOf" + ] + }, + "7b0b": function(n, r, i) { + var o = i("1d80"); + n.exports = function(s) { + return Object(o(s)) + } + }, + "7c73": function(n, r, i) { + var o, s = i("825a"), + a = i("37e8"), + c = i("7839"), + l = i("d012"), + u = i("1be4"), + f = i("cc12"), + d = i("f772"), + h = ">", + p = "<", + _ = "prototype", + m = "script", + g = d("IE_PROTO"), + b = function() {}, + y = function(v) { + return p + m + h + v + p + "/" + m + h + }, + S = function(v) { + v.write(y("")), v.close(); + var I = v.parentWindow.Object; + return v = null, I + }, + w = function() { + var v, I = f("iframe"), + T = "java" + m + ":"; + return I.style.display = "none", u.appendChild(I), I.src = String(T), v = I + .contentWindow.document, v.open(), v.write(y("document.F=Object")), v + .close(), v.F + }, + k = function() { + try { + o = document.domain && new ActiveXObject("htmlfile") + } catch (I) {} + k = o ? S(o) : w(); + for (var v = c.length; v--;) delete k[_][c[v]]; + return k() + }; + l[g] = !0, n.exports = Object.create || function(v, I) { + var T; + return v !== null ? (b[_] = s(v), T = new b, b[_] = null, T[g] = v) : T = + k(), I === void 0 ? T : a(T, I) + } + }, + "7db0": function(n, r, i) { + var o = i("23e7"), + s = i("b727").find, + a = i("44d2"), + c = "find", + l = !0; + c in [] && Array(1)[c](function() { + l = !1 + }), o({ + target: "Array", + proto: !0, + forced: l + }, { + find: function(u) { + return s(this, u, arguments.length > 1 ? arguments[1] : void 0) + } + }), a(c) + }, + "7dd0": function(n, r, i) { + var o = i("23e7"), + s = i("9ed3"), + a = i("e163"), + c = i("d2bb"), + l = i("d44e"), + u = i("9112"), + f = i("6eeb"), + d = i("b622"), + h = i("c430"), + p = i("3f8c"), + _ = i("ae93"), + m = _.IteratorPrototype, + g = _.BUGGY_SAFARI_ITERATORS, + b = d("iterator"), + y = "keys", + S = "values", + w = "entries", + k = function() { + return this + }; + n.exports = function(v, I, T, A, L, O, $) { + s(T, I, A); + var B, F, N, U = function(Y) { + if (Y === L && W) return W; + if (!g && Y in M) return M[Y]; + switch (Y) { + case y: + return function() { + return new T(this, Y) + }; + case S: + return function() { + return new T(this, Y) + }; + case w: + return function() { + return new T(this, Y) + } + } + return function() { + return new T(this) + } + }, + P = I + " Iterator", + J = !1, + M = v.prototype, + q = M[b] || M["@@iterator"] || L && M[L], + W = !g && q || U(L), + z = I == "Array" && M.entries || q; + if (z && (B = a(z.call(new v)), m !== Object.prototype && B.next && (h || a( + B) === m || (c ? c(B, m) : typeof B[b] != "function" && u(B, + b, k)), l(B, P, !0, !0), h && (p[P] = k))), L == S && q && q + .name !== S && (J = !0, W = function() { + return q.call(this) + }), h && !$ || M[b] === W || u(M, b, W), p[I] = W, L) + if (F = { + values: U(S), + keys: O ? W : U(y), + entries: U(w) + }, $) + for (N in F)(g || J || !(N in M)) && f(M, N, F[N]); + else o({ + target: I, + proto: !0, + forced: g || J + }, F); + return F + } + }, + "7f9a": function(n, r, i) { + var o = i("da84"), + s = i("8925"), + a = o.WeakMap; + n.exports = typeof a == "function" && /native code/.test(s(a)) + }, + "825a": function(n, r, i) { + var o = i("861d"); + n.exports = function(s) { + if (!o(s)) throw TypeError(String(s) + " is not an object"); + return s + } + }, + "83ab": function(n, r, i) { + var o = i("d039"); + n.exports = !o(function() { + return Object.defineProperty({}, 1, { + get: function() { + return 7 + } + })[1] != 7 + }) + }, + 8418: function(n, r, i) { + var o = i("c04e"), + s = i("9bf2"), + a = i("5c6c"); + n.exports = function(c, l, u) { + var f = o(l); + f in c ? s.f(c, f, a(0, u)) : c[f] = u + } + }, + "861d": function(n, r) { + n.exports = function(i) { + return typeof i == "object" ? i !== null : typeof i == "function" + } + }, + 8875: function(n, r, i) { + var o, s, a; + (function(c, l) { + s = [], o = l, a = typeof o == "function" ? o.apply(r, s) : o, a === + void 0 || (n.exports = a) + })(typeof self < "u" && self, function() { + function c() { + var l = Object.getOwnPropertyDescriptor(document, "currentScript"); + if (!l && "currentScript" in document && document.currentScript || l && + l.get !== c && document.currentScript) return document + .currentScript; + try { + throw new Error + } catch (w) { + var u, f, d, h = /.*at [^(]*\((.*):(.+):(.+)\)$/gi, + p = /@([^@]*):(\d+):(\d+)\s*$/gi, + _ = h.exec(w.stack) || p.exec(w.stack), + m = _ && _[1] || !1, + g = _ && _[2] || !1, + b = document.location.href.replace(document.location.hash, ""), + y = document.getElementsByTagName("script"); + m === b && (u = document.documentElement.outerHTML, f = new RegExp( + "(?:[^\\n]+?\\n){0," + (g - 2) + + "}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*", "i"), + d = u.replace(f, "$1").trim()); + for (var S = 0; S < y.length; S++) + if (y[S].readyState === "interactive" || y[S].src === m || m === + b && y[S].innerHTML && y[S].innerHTML.trim() === d) + return y[S]; + return null + } + } + return c + }) + }, + 8925: function(n, r, i) { + var o = i("c6cd"), + s = Function.toString; + typeof o.inspectSource != "function" && (o.inspectSource = function(a) { + return s.call(a) + }), n.exports = o.inspectSource + }, + "8aa5": function(n, r, i) { + var o = i("6547").charAt; + n.exports = function(s, a, c) { + return a + (c ? o(s, a).length : 1) + } + }, + "8c94": function(n) { + n.exports = JSON.parse( + '[{"key":"/::)","old":"/寰瑧","cn":"[寰瑧]","tw":"[寰瑧]","en":"[Smile]","th":"[喔⑧复喙夃浮]","path":"./assets/Expression/Expression_1@2x.png","style":"we-emoji__Smile"},{"key":"/::~","old":"/鎾囧槾","cn":"[鎾囧槾]","tw":"[鎾囧槾]","en":"[Grimace]","th":"[喔笝喙夃覆喔氞腹喔擼","path":"./assets/Expression/Expression_2@2x.png","style":"we-emoji__Grimace"},{"key":"/::B","old":"/鑹�","cn":"[鑹瞉","tw":"[鑹瞉","en":"[Drool]","th":"[喔權箟喔赤弗喔侧涪喙勦斧喔","path":"./assets/Expression/Expression_3@2x.png","style":"we-emoji__Drool"},{"key":"/::|","old":"/鍙戝憜","cn":"[鍙戝憜]","tw":"[鐧煎憜]","en":"[Scowl]","th":"[喔笝喙夃覆喔氞付喙夃竾]","path":"./assets/Expression/Expression_4@2x.png","style":"we-emoji__Scowl"},{"key":"/:8-)","old":"/寰楁剰","cn":"[寰楁剰]","tw":"[寰楁剰]","en":"[CoolGuy]","th":"[喔笟喔侧涪]","path":"./assets/Expression/Expression_5@2x.png","style":"we-emoji__CoolGuy"},{"key":"/::<","old":"/娴佹唱","cn":"[娴佹唱]","tw":"[娴佹窔]","en":"[Sob]","th":"[喔`箟喔竾喙勦斧喙夃箓喔甝","path":"./assets/Expression/Expression_6@2x.png","style":"we-emoji__Sob"},{"key":"/::$","old":"/瀹崇緸","cn":"[瀹崇緸]","tw":"[瀹崇緸]","en":"[Shy]","th":"[喔覆喔","path":"./assets/Expression/Expression_7@2x.png","style":"we-emoji__Shy"},{"key":"/::X","old":"/闂槾","cn":"[闂槾]","tw":"[闁夊槾]","en":"[Silent]","th":"[喔箟喔侧浮喔炧腹喔擼","path":"./assets/Expression/Expression_8@2x.png","style":"we-emoji__Silent"},{"key":"/::Z","old":"/鐫�","cn":"[鐫","tw":"[鐫","en":"[Sleep]","th":"[喔弗喔编笟]","path":"./assets/Expression/Expression_9@2x.png","style":"we-emoji__Sleep"},{"key":"/::\'(","old":"/澶у摥","cn":"[澶у摥]","tw":"[澶у摥]","en":"[Cry]","th":"[喔`箟喔竾喙勦斧喙塢","path":"./assets/Expression/Expression_10@2x.png","style":"we-emoji__Cry"},{"key":"/::-|","old":"/灏村艾","cn":"[灏村艾]","tw":"[灏峰艾]","en":"[Awkward]","th":"[喔ム赋喔氞覆喔佮箖喔圿","path":"./assets/Expression/Expression_11@2x.png","style":"we-emoji__Awkward"},{"key":"/::@","old":"/鍙戞��","cn":"[鍙戞�抅","tw":"[鐧兼�抅","en":"[Angry]","th":"[喙傕竵喔`笜喔父喔擼","path":"./assets/Expression/Expression_12@2x.png","style":"we-emoji__Angry"},{"key":"/::P","old":"/璋冪毊","qq":"[鍚愯垖]","cn":"[璋冪毊]","tw":"[瑾跨毊]","en":"[Tongue]","th":"[喔傕涪喔脆笟喔曕覆]","emoji":"馃槤","path":"./assets/Expression/Expression_13@2x.png","style":"we-emoji__Tongue"},{"key":"/::D","old":"/鍛茬墮","cn":"[鍛茬墮]","tw":"[鍛茬墮]","en":"[Grin]","th":"[喔⑧复喙夃浮喔佮抚喙夃覆喔嘳","path":"./assets/Expression/Expression_14@2x.png","style":"we-emoji__Grin"},{"key":"/::O","old":"/鎯婅","cn":"[鎯婅]","tw":"[椹氳]","en":"[Surprise]","th":"[喔涏福喔班斧喔ム覆喔斷箖喔圿","path":"./assets/Expression/Expression_15@2x.png","style":"we-emoji__Surprise"},{"key":"/::(","old":"/闅捐繃","cn":"[闅捐繃]","tw":"[闆i亷]","en":"[Frown]","th":"[喙�喔傅喔⑧箖喔圿","path":"./assets/Expression/Expression_16@2x.png","style":"we-emoji__Frown"},{"key":"/::+","old":"/閰�","cn":"[閰穄","tw":"[閰穄","en":"[Ruthless]","th":"[喙�喔堗箣喔嘳","path":"./assets/Expression/Expression_17@2x.png","style":"we-emoji__Ruthless"},{"key":"/:--b","old":"/鍐锋睏","cn":"[鍥","tw":"[鍥","en":"[Blush]","th":"[Blush]","path":"./assets/Expression/Expression_18@2x.png","style":"we-emoji__Blush"},{"key":"/::Q","old":"/鎶撶媯","cn":"[鎶撶媯]","tw":"[鎶撶媯]","en":"[Scream]","th":"[喔佮福喔掂笖喔`箟喔竾]","path":"./assets/Expression/Expression_19@2x.png","style":"we-emoji__Scream"},{"key":"/::T","old":"/鍚�","cn":"[鍚怾","tw":"[鍚怾","en":"[Puke]","th":"[喔覆喙�喔堗傅喔⑧笝]","path":"./assets/Expression/Expression_20@2x.png","style":"we-emoji__Puke"},{"key":"/:,@P","old":"/鍋风瑧","cn":"[鍋风瑧]","tw":"[鍋风瑧]","en":"[Chuckle]","th":"[喔副喔о箑喔`覆喔班斧喔多箚]","path":"./assets/Expression/Expression_21@2x.png","style":"we-emoji__Chuckle"},{"key":"/:,@-D","old":"/鍙埍","cn":"[鎰夊揩]","tw":"[鎰夊揩]","en":"[Joyful]","th":"[喔炧腑喙冟笀]","path":"./assets/Expression/Expression_22@2x.png","style":"we-emoji__Joyful"},{"key":"/::d","old":"/鐧界溂","cn":"[鐧界溂]","tw":"[鐧界溂]","en":"[Slight]","th":"[喔竾喔副喔","path":"./assets/Expression/Expression_23@2x.png","style":"we-emoji__Slight"},{"key":"/:,@o","old":"/鍌叉參","cn":"[鍌叉參]","tw":"[鍌叉參]","en":"[Smug]","th":"[喔涪喔脆箞喔嘳","path":"./assets/Expression/Expression_24@2x.png","style":"we-emoji__Smug"},{"key":"/::g","old":"/楗ラタ","cn":"[楗ラタ]","tw":"[楗戦]","en":"[Hungry]","th":"[喔复喔","path":"./assets/Expression/Expression_25@2x.png","style":"we-emoji__Hungry"},{"key":"/:|-)","old":"/鍥�","cn":"[鍥癩","tw":"[绱痌","en":"[Drowsy]","th":"[喔囙箞喔о竾喔權腑喔橾","path":"./assets/Expression/Expression_26@2x.png","style":"we-emoji__Drowsy"},{"key":"/::!","old":"/鎯婃亹","cn":"[鎯婃亹]","tw":"[椹氭亹]","en":"[Panic]","th":"[喔曕竵喙冟笀喔佮弗喔编抚]","path":"./assets/Expression/Expression_27@2x.png","style":"we-emoji__Panic"},{"key":"/::L","old":"/娴佹睏","cn":"[娴佹睏]","tw":"[娴佹睏]","en":"[Sweat]","th":"[喙�喔竾喔粪箞喔笗喔乚","path":"./assets/Expression/Expression_28@2x.png","style":"we-emoji__Sweat"},{"key":"/::>","old":"/鎲ㄧ瑧","cn":"[鎲ㄧ瑧]","tw":"[澶х瑧]","en":"[Laugh]","th":"[喔副喔о箑喔`覆喔癩","path":"./assets/Expression/Expression_29@2x.png","style":"we-emoji__Laugh"},{"key":"/::,@","old":"/澶у叺","cn":"[鎮犻棽]","tw":"[鎮犻枒]","en":"[Commando]","th":"[喔椸斧喔侧福]","path":"./assets/Expression/Expression_30@2x.png","style":"we-emoji__Commando"},{"key":"/:,@f","old":"/濂嬫枟","cn":"[濂嬫枟]","tw":"[濂]","en":"[Determined]","th":"[喔∴父喙堗竾喔∴副喙堗笝]","path":"./assets/Expression/Expression_31@2x.png","style":"we-emoji__Determined"},{"key":"/::-S","old":"/鍜掗獋","cn":"[鍜掗獋]","tw":"[鍜掔降]","en":"[Scold]","th":"[喔斷箞喔侧抚喙堗覆喔瞉","path":"./assets/Expression/Expression_32@2x.png","style":"we-emoji__Scold"},{"key":"/:?","old":"/鐤戦棶","cn":"[鐤戦棶]","tw":"[鐤戝晱]","en":"[Shocked]","th":"[喔副喔氞釜喔橾","path":"./assets/Expression/Expression_33@2x.png","style":"we-emoji__Shocked"},{"key":"/:,@x","old":"/鍢�","cn":"[鍢榏","tw":"[鍣揮","en":"[Shhh]","th":"[喔堗父喙娻箚]","path":"./assets/Expression/Expression_34@2x.png","style":"we-emoji__Shhh"},{"key":"/:,@@","old":"/鏅�","cn":"[鏅昡","tw":"[鏆圿","en":"[Dizzy]","th":"[喙�喔о傅喔⑧笝喔副喔","path":"./assets/Expression/Expression_35@2x.png","style":"we-emoji__Dizzy"},{"key":"/::8","old":"/鎶樼(","cn":"[鐤簡]","tw":"[鐦嬩簡]","en":"[Tormented]","th":"[喔椸箟喔箒喔椸箟]","path":"./assets/Expression/Expression_36@2x.png","style":"we-emoji__Tormented"},{"key":"/:,@!","old":"/琛�","cn":"[琛癩","tw":"[琛癩","en":"[Toasted]","th":"[喔娻副喙堗抚喔`箟喔侧涪]","path":"./assets/Expression/Expression_37@2x.png","style":"we-emoji__Toasted"},{"key":"/:!!!","old":"/楠烽珔","cn":"[楠烽珔]","tw":"[楠烽珡闋璢","en":"[Skull]","th":"[喔副喔о竵喔班箓喔弗喔乚","path":"./assets/Expression/Expression_38@2x.png","style":"we-emoji__Skull"},{"key":"/:xx","old":"/鏁叉墦","cn":"[鏁叉墦]","tw":"[鏁叉墦]","en":"[Hammer]","th":"[喔勦箟喔笝喔椸父喔歖","path":"./assets/Expression/Expression_39@2x.png","style":"we-emoji__Hammer"},{"key":"/:bye","old":"/鍐嶈","cn":"[鍐嶈]","tw":"[鍐嶈]","en":"[Wave]","th":"[喔氞覆喔⑧箚]","path":"./assets/Expression/Expression_40@2x.png","style":"we-emoji__Wave"},{"key":"/:wipe","old":"/鎿︽睏","cn":"[鎿︽睏]","tw":"[鎿︽睏]","en":"[Speechless]","th":"[喙�喔娻箛喔斷箑喔竾喔粪箞喔璢","path":"./assets/Expression/Expression_41@2x.png","style":"we-emoji__Speechless"},{"key":"/:dig","old":"/鎶犻蓟","cn":"[鎶犻蓟]","tw":"[鎽抽蓟]","en":"[NosePick]","th":"[喙佮竸喔班笀喔∴腹喔乚","path":"./assets/Expression/Expression_42@2x.png","style":"we-emoji__NosePick"},{"key":"/:handclap","old":"/榧撴帉","cn":"[榧撴帉]","tw":"[榧撴帉]","en":"[Clap]","th":"[喔曕笟喔∴阜喔璢","path":"./assets/Expression/Expression_43@2x.png","style":"we-emoji__Clap"},{"key":"/:&-(","old":"/绯楀ぇ浜�","cn":"[绯楀ぇ浜哴","tw":"[缇炶颈]","en":"[Shame]","th":"[喔副喔氞腑喔侧涪]","path":"./assets/Expression/Expression_44@2x.png","style":"we-emoji__Shame"},{"key":"/:B-)","old":"/鍧忕瑧","cn":"[鍧忕瑧]","tw":"[澹炵瑧]","en":"[Trick]","th":"[喔佮弗喙傕竵喔嘳","path":"./assets/Expression/Expression_45@2x.png","style":"we-emoji__Trick"},{"key":"/:<@","old":"/宸﹀摷鍝�","cn":"[宸﹀摷鍝糫","tw":"[宸﹀摷鍝糫","en":"[Bah锛丩]","th":"[喙�喔娻复喔斷笅喙夃覆喔","path":"./assets/Expression/Expression_46@2x.png","style":"we-emoji__BahL"},{"key":"/:@>","old":"/鍙冲摷鍝�","cn":"[鍙冲摷鍝糫","tw":"[鍙冲摷鍝糫","en":"[Bah锛丷]","th":"[喙�喔娻复喔斷競喔о覆]","path":"./assets/Expression/Expression_47@2x.png","style":"we-emoji__BahR"},{"key":"/::-O","old":"/鍝堟瑺","cn":"[鍝堟瑺]","tw":"[鍝堟瑺]","en":"[Yawn]","th":"[喔覆喔","path":"./assets/Expression/Expression_48@2x.png","style":"we-emoji__Yawn"},{"key":"/:>-|","old":"/閯欒","cn":"[閯欒]","tw":"[閯欒]","en":"[Pooh-pooh]","th":"[喔斷腹喔栢腹喔乚","path":"./assets/Expression/Expression_49@2x.png","style":"we-emoji__Pooh-pooh"},{"key":"/:P-(","old":"/濮斿眻","cn":"[濮斿眻]","tw":"[濮斿眻]","en":"[Shrunken]","th":"[喔傕箟喔竾喙冟笀]","path":"./assets/Expression/Expression_50@2x.png","style":"we-emoji__Shrunken"},{"key":"/::\'|","old":"/蹇摥浜�","cn":"[蹇摥浜哴","tw":"[蹇摥浜哴","en":"[TearingUp]","th":"[喙�喔佮阜喔笟喔`箟喔竾喙勦斧喙塢","path":"./assets/Expression/Expression_51@2x.png","style":"we-emoji__TearingUp"},{"key":"/:X-)","old":"/闃撮櫓","cn":"[闃撮櫓]","tw":"[闄伴毆]","en":"[Sly]","th":"[喔傕傅喙夃箓喔佮竾]","path":"./assets/Expression/Expression_52@2x.png","style":"we-emoji__Sly"},{"key":"/::*","old":"/浜蹭翰","cn":"[浜蹭翰]","tw":"[瑕Κ]","en":"[Kiss]","th":"[喔堗父喙娻笟]","path":"./assets/Expression/Expression_53@2x.png","style":"we-emoji__Kiss"},{"key":"/:@x","old":"/鍚�","cn":"[鍚揮","tw":"[鍤嘳","en":"[Wrath]","th":"[喔箠喔瞉","path":"./assets/Expression/Expression_54@2x.png","style":"we-emoji__Wrath"},{"key":"/:8*","old":"/鍙��","cn":"[鍙�淽","tw":"[鍙啇]","en":"[Whimper]","th":"[喔權箞喔侧釜喔囙釜喔侧福]","path":"./assets/Expression/Expression_55@2x.png","style":"we-emoji__Whimper"},{"key":"/:pd","old":"/鑿滃垁","cn":"[鑿滃垁]","tw":"[鑿滃垁]","en":"[Cleaver]","th":"[喔∴傅喔擼","path":"./assets/Expression/Expression_56@2x.png","style":"we-emoji__Cleaver"},{"key":"/:<W>","old":"/瑗跨摐","cn":"[瑗跨摐]","tw":"[瑗跨摐]","en":"[Watermelon]","th":"[喙佮笗喔囙箓喔","path":"./assets/Expression/Expression_57@2x.png","style":"we-emoji__Watermelon"},{"key":"/:beer","old":"/鍟ら厭","cn":"[鍟ら厭]","tw":"[鍟ら厭]","en":"[Beer]","th":"[喙�喔氞傅喔⑧福喙宂","path":"./assets/Expression/Expression_58@2x.png","style":"we-emoji__Beer"},{"key":"/:basketb","old":"/绡悆","cn":"[绡悆]","tw":"[绫冪悆]","en":"[Basketball]","th":"[喔氞覆喔箑喔佮笗喔氞腑喔","path":"./assets/Expression/Expression_59@2x.png","style":"we-emoji__Basketball"},{"key":"/:oo","old":"/涔掍箵","cn":"[涔掍箵]","tw":"[涔掍箵]","en":"[PingPong]","th":"[喔涏复喔囙笡喔竾]","path":"./assets/Expression/Expression_60@2x.png","style":"we-emoji__PingPong"},{"key":"/:coffee","old":"/鍜栧暋","cn":"[鍜栧暋]","tw":"[鍜栧暋]","en":"[Coffee]","th":"[喔佮覆喙佮笩]","path":"./assets/Expression/Expression_61@2x.png","style":"we-emoji__Coffee"},{"key":"/:eat","old":"/楗�","cn":"[楗璢","tw":"[椋痌","en":"[Rice]","th":"[喔傕箟喔侧抚]","path":"./assets/Expression/Expression_62@2x.png","style":"we-emoji__Rice"},{"key":"/:pig","old":"/鐚ご","cn":"[鐚ご]","tw":"[璞牠]","en":"[Pig]","th":"[喔浮喔筣","path":"./assets/Expression/Expression_63@2x.png","style":"we-emoji__Pig"},{"key":"/:rose","old":"/鐜懓","cn":"[鐜懓]","tw":"[鐜懓]","en":"[Rose]","th":"[喔佮父喔弗喔侧笟]","path":"./assets/Expression/Expression_64@2x.png","style":"we-emoji__Rose"},{"key":"/:fade","old":"/鍑嬭阿","cn":"[鍑嬭阿]","tw":"[鏋悗]","en":"[Wilt]","th":"[喔`箞喔о竾喙傕福喔","path":"./assets/Expression/Expression_65@2x.png","style":"we-emoji__Wilt"},{"key":"/:showlove","old":"/绀虹埍","cn":"[鍢村攪]","tw":"[鍢村攪]","en":"[Lips]","th":"[喔`复喔∴笣喔掂笡喔侧竵]","path":"./assets/Expression/Expression_66@2x.png","style":"we-emoji__Lips"},{"key":"/:heart","old":"/鐖卞績","cn":"[鐖卞績]","tw":"[鎰涘績]","en":"[Heart]","th":"[喔副喔о箖喔圿","path":"./assets/Expression/Expression_67@2x.png","style":"we-emoji__Heart"},{"key":"/:break","old":"/蹇冪","cn":"[蹇冪]","tw":"[蹇冪]","en":"[BrokenHeart]","th":"[喙冟笀喔弗喔侧涪]","path":"./assets/Expression/Expression_68@2x.png","style":"we-emoji__BrokenHeart"},{"key":"/:cake","old":"/铔嬬硶","cn":"[铔嬬硶]","tw":"[铔嬬硶]","en":"[Cake]","th":"[喙�喔勦箟喔乚","path":"./assets/Expression/Expression_69@2x.png","style":"we-emoji__Cake"},{"key":"/:li","old":"/闂數","cn":"[闂數]","tw":"[闁冮浕]","en":"[Lightning]","th":"[喔熰箟喔侧笢喙堗覆]","path":"./assets/Expression/Expression_70@2x.png","style":"we-emoji__Lightning"},{"key":"/:bome","old":"/鐐稿脊","cn":"[鐐稿脊]","tw":"[鐐稿綀]","en":"[Bomb]","th":"[喔`赴喙�喔氞复喔擼","path":"./assets/Expression/Expression_71@2x.png","style":"we-emoji__Bomb"},{"key":"/:kn","old":"/鍒�","cn":"[鍒�]","tw":"[鍒�]","en":"[Dagger]","th":"[喔斷覆喔歖","path":"./assets/Expression/Expression_72@2x.png","style":"we-emoji__Dagger"},{"key":"/:footb","old":"/瓒崇悆","cn":"[瓒崇悆]","tw":"[瓒崇悆]","en":"[Soccer]","th":"[喔熰父喔曕笟喔弗]","path":"./assets/Expression/Expression_73@2x.png","style":"we-emoji__Soccer"},{"key":"/:ladybug","old":"/鐡㈣櫕","cn":"[鐡㈣櫕]","tw":"[鐢茶煵]","en":"[Ladybug]","th":"[喙�喔曕箞喔侧笚喔竾]","path":"./assets/Expression/Expression_74@2x.png","style":"we-emoji__Ladybug"},{"key":"/:shit","old":"/渚夸究","cn":"[渚夸究]","tw":"[渚夸究]","en":"[Poop]","th":"[喔父喔堗笀喔侧福喔癩","path":"./assets/Expression/Expression_75@2x.png","style":"we-emoji__Poop"},{"key":"/:moon","old":"/鏈堜寒","cn":"[鏈堜寒]","tw":"[鏈堜寒]","en":"[Moon]","th":"[喔炧福喔班笀喔编笝喔椸福喙宂","path":"./assets/Expression/Expression_76@2x.png","style":"we-emoji__Moon"},{"key":"/:sun","old":"/澶槼","cn":"[澶槼]","tw":"[澶櫧]","en":"[Sun]","th":"[喔炧福喔班腑喔侧笚喔脆笗喔⑧箤]","path":"./assets/Expression/Expression_77@2x.png","style":"we-emoji__Sun"},{"key":"/:gift","old":"/绀肩墿","cn":"[绀肩墿]","tw":"[绂墿]","en":"[绀肩墿]","th":"[Gift]","emoji":"馃巵","path":"./assets/Expression/Expression_78@2x.png","style":"we-emoji__Gift"},{"key":"/:hug","old":"/鎷ユ姳","cn":"[鎷ユ姳]","tw":"[鎿佹姳]","en":"[Hug]","th":"[喔佮腑喔擼","path":"./assets/Expression/Expression_79@2x.png","style":"we-emoji__Hug"},{"key":"/:strong","old":"/寮�","cn":"[寮篯","tw":"[寮穄","en":"[ThumbsUp]","th":"[喔⑧腑喔斷箑喔⑧傅喙堗涪喔","path":"./assets/Expression/Expression_80@2x.png","style":"we-emoji__ThumbsUp"},{"key":"/:weak","old":"/寮�","cn":"[寮盷","tw":"[寮盷","en":"[ThumbsDown]","th":"[喔⑧腑喔斷箒喔⑧箞]","path":"./assets/Expression/Expression_81@2x.png","style":"we-emoji__ThumbsDown"},{"key":"/:share","old":"/鎻℃墜","cn":"[鎻℃墜]","tw":"[鎻℃墜]","en":"[Shake]","th":"[喔堗副喔氞浮喔粪腑]","path":"./assets/Expression/Expression_82@2x.png","style":"we-emoji__Shake"},{"key":"/:v","old":"/鑳滃埄","cn":"[鑳滃埄]","tw":"[鍕濆埄]","en":"[Peace]","th":"[喔腹喙夃笗喔侧涪]","path":"./assets/Expression/Expression_83@2x.png","style":"we-emoji__Peace"},{"key":"/:@)","old":"/鎶辨嫵","cn":"[鎶辨嫵]","tw":"[鎶辨嫵]","en":"[Fight]","th":"[喔勦覆喔`抚喔癩","path":"./assets/Expression/Expression_84@2x.png","style":"we-emoji__Fight"},{"key":"/:jj","old":"/鍕惧紩","cn":"[鍕惧紩]","tw":"[鍕惧紩]","en":"[Beckon]","th":"[喙�喔傕箟喔侧浮喔瞉","path":"./assets/Expression/Expression_85@2x.png","style":"we-emoji__Beckon"},{"key":"/:@@","old":"/鎷冲ご","cn":"[鎷冲ご]","tw":"[鎷抽牠]","en":"[Fist]","th":"[喔佮赋喔浮喔编笖]","path":"./assets/Expression/Expression_86@2x.png","style":"we-emoji__Fist"},{"key":"/:bad","old":"/宸姴","cn":"[宸姴]","tw":"[宸媮]","en":"[Pinky]","th":"[喔斷傅喔佮副喔橾","path":"./assets/Expression/Expression_87@2x.png","style":"we-emoji__Pinky"},{"key":"/:lvu","old":"/鐖变綘","cn":"[鐖变綘]","tw":"[鎰涗綘]","en":"[RockOn]","th":"[喔夃副喔權福喔编竵喔勦父喔揮","path":"./assets/Expression/Expression_88@2x.png","style":"we-emoji__RockOn"},{"key":"/:no","old":"/NO","cn":"[NO]","tw":"[NO]","en":"[Nuh-uh]","th":"[喙勦浮喙圿","path":"./assets/Expression/Expression_89@2x.png","style":"we-emoji__Nuh-uh"},{"key":"/:ok","old":"/OK","cn":"[OK]","tw":"[OK]","en":"[OK]","th":"[喔曕竵喔ム竾]","path":"./assets/Expression/Expression_90@2x.png","style":"we-emoji__OK"},{"key":"/:love","old":"/鐖辨儏","cn":"[鐖辨儏]","tw":"[鎰涙儏]","en":"[InLove]","th":"[喔`副喔佮竵喔编笝]","path":"./assets/Expression/Expression_91@2x.png","style":"we-emoji__InLove"},{"key":"/:<L>","old":"/椋炲惢","cn":"[椋炲惢]","tw":"[椋涘惢]","en":"[Blowkiss]","th":"[喔∴傅喔`副喔乚","path":"./assets/Expression/Expression_92@2x.png","style":"we-emoji__Blowkiss"},{"key":"/:jump","old":"/璺宠烦","cn":"[璺宠烦]","tw":"[璺宠烦]","en":"[Waddle]","th":"[喔佮福喔班箓喔斷笖]","path":"./assets/Expression/Expression_93@2x.png","style":"we-emoji__Waddle"},{"key":"/:shake","old":"/鍙戞姈","cn":"[鍙戞姈]","tw":"[鐧兼姈]","en":"[Tremble]","th":"[喙�喔傕涪喙堗覆]","path":"./assets/Expression/Expression_94@2x.png","style":"we-emoji__Tremble"},{"key":"/:<O>","old":"/鎬勭伀","cn":"[鎬勭伀]","tw":"[鍣寸伀]","en":"[Aaagh!]","th":"[喔箟喔侧竵喔箤!]","path":"./assets/Expression/Expression_95@2x.png","style":"we-emoji__Aaagh"},{"key":"/:circle","old":"/杞湀","cn":"[杞湀]","tw":"[杞夊湀]","en":"[Twirl]","th":"[喔浮喔膏笝喔曕副喔","path":"./assets/Expression/Expression_96@2x.png","style":"we-emoji__Twirl"},{"key":"/:kotow","old":"/纾曞ご","cn":"[纾曞ご]","tw":"[纾曢牠]","en":"[Kotow]","th":"[喔勦赋喔權副喔歖","path":"./assets/Expression/Expression_97@2x.png","style":"we-emoji__Kotow"},{"key":"/:turn","old":"/鍥炲ご","cn":"[鍥炲ご]","tw":"[鍥為牠]","en":"[Dramatic]","th":"[喙�喔弗喔掂涪喔о斧喔ム副喔嘳","path":"./assets/Expression/Expression_98@2x.png","style":"we-emoji__Dramatic"},{"key":"/:skip","old":"/璺崇怀","cn":"[璺崇怀]","tw":"[璺崇供]","en":"[JumpRope]","th":"[喔佮福喔班箓喔斷笖]","path":"./assets/Expression/Expression_99@2x.png","style":"we-emoji__JumpRope"},{"key":"/:oY","old":"/鎸ユ墜","cn":"[鎶曢檷]","tw":"[鎶曢檷]","en":"[Surrender]","th":"[喔⑧腑喔∴箒喔炧箟]","path":"./assets/Expression/Expression_100@2x.png","style":"we-emoji__Surrender"},{"key":"/:#-0","old":"/婵�鍔�","cn":"[婵�鍔╙","tw":"[婵�鍕昡","en":"[Hooray]","th":"[喙勦笂喙傕涪]","path":"./assets/Expression/Expression_101@2x.png","style":"we-emoji__Hooray"},{"key":"/:hiphot","old":"/琛楄垶","cn":"[涔辫垶]","tw":"[浜傝垶]","en":"[Meditate]","th":"[喙�喔⑧箟喙�喔⑧箟]","path":"./assets/Expression/Expression_102@2x.png","style":"we-emoji__Meditate"},{"key":"/:kiss","old":"/鐚惢","cn":"[鐚惢]","tw":"[鐛诲惢]","en":"[Smooch]","th":"[喔堗腹喔歖","path":"./assets/Expression/Expression_103@2x.png","style":"we-emoji__Smooch"},{"key":"/:<&","old":"/宸﹀お鏋�","cn":"[宸﹀お鏋乚","tw":"[宸﹀お妤礭","en":"[TaiChi L]","th":"[喔笉喔脆竾喔曕箞喔釜喔灌箟]","path":"./assets/Expression/Expression_104@2x.png","style":"we-emoji__TaiChiL"},{"key":"/:&\\"","old":"/鍙冲お鏋�","cn":"[鍙冲お鏋乚","tw":"[鍙冲お妤礭","en":"[TaiChi R]","th":"[喔娻覆喔⑧笗喙堗腑喔腹喙塢","path":"./assets/Expression/Expression_105@2x.png","style":"we-emoji__TaiChiR"},{"key":"[Smirk]","cn":"[濂哥瑧]","qq":"[濂哥瑧]","en":"[Smirk]","tw":"[濂哥瑧]","th":"[Smirk]","path":"./assets/newemoji/2_02.png","style":"we-emoji__Smirk"},{"key":"[Hey]","cn":"[鍢垮搱]","qq":"[鍢垮搱]","en":"[Hey]","tw":"[鍚煎樋]","th":"[Hey]","path":"./assets/newemoji/2_04.png","style":"we-emoji__Hey"},{"key":"[Facepalm]","cn":"[鎹傝劯]","qq":"[鎹傝劯]","en":"[Facepalm]","tw":"[鎺╅潰]","th":"[Facepalm]","path":"./assets/newemoji/2_05.png","style":"we-emoji__Facepalm"},{"key":"[Smart]","cn":"[鏈烘櫤]","qq":"[鏈烘櫤]","en":"[Smart]","tw":"[姗熸櫤]","th":"[Smart]","path":"./assets/newemoji/2_06.png","style":"we-emoji__Smart"},{"key":"[Tea]","cn":"[鑼禲","qq":"[鑼禲","en":"[Tea]","tw":"[鑼禲","th":"[Tea]","path":"./assets/newemoji/2_07.png","style":"we-emoji__Tea"},{"key":"[Packet]","cn":"[绾㈠寘]","qq":"[绾㈠寘]","en":"[Packet]","tw":"[Packet]","th":"[Packet]","path":"./assets/newemoji/2_09.png","style":"we-emoji__Packet"},{"key":"[Candle]","cn":"[铚$儧]","qq":"[铚$儧]","en":"[Candle]","tw":"[锠熺嚟]","th":"[Candle]","path":"./assets/newemoji/2_10.png","style":"we-emoji__Candle"},{"key":"[Yeah!]","cn":"[鑰禲","qq":"[鑰禲","en":"[Yeah!]","tw":"[姝愯�禲","th":"[Yeah!]","path":"./assets/newemoji/2_11.png","style":"we-emoji__Yeah"},{"key":"[Concerned]","cn":"[鐨辩湁]","qq":"[鐨辩湁]","en":"[Concerned]","tw":"[鐨虹湁]","th":"[Concerned]","path":"./assets/newemoji/2_12.png","style":"we-emoji__Concerned"},{"key":"[Salute]","cn":"[鎶辨嫵]","qq":"[鎶辨嫵]","en":"[Salute]","tw":"[鎶辨嫵]","th":"[Salute]","path":"./assets/newemoji/smiley_83b.png","style":"we-emoji__Salute"},{"key":"[Chick]","cn":"[楦","qq":"[楦","en":"[Chick]","tw":"[灏忛洖]","th":"[Chick]","path":"./assets/newemoji/2_14.png","style":"we-emoji__Chick"},{"key":"[Blessing]","cn":"[绂廬","qq":"[绂廬","en":"[Blessing]","tw":"[绂廬","th":"[Blessing]","path":"./assets/newemoji/2_15.png","style":"we-emoji__Blessing"},{"key":"[Bye]","cn":"[鍐嶈]","qq":"[鍐嶈]","en":"[Bye]","tw":"[鍐嶈]","th":"[Bye]","path":"./assets/newemoji/smiley_39b.png","style":"we-emoji__Bye"},{"key":"[Rich]","cn":"[鐧糫","qq":"[鐧糫","en":"[Rich]","tw":"[鐧糫","th":"[Rich]","path":"./assets/newemoji/2_16.png","style":"we-emoji__Rich"},{"key":"[Pup]","cn":"[灏忕嫍]","qq":"[灏忕嫍]","en":"[Pup]","tw":"[灏忕嫍]","th":"[Pup]","path":"./assets/newemoji/2_17.png","style":"we-emoji__Pup"},{"key":"[Onlooker]","cn":"[鍚冪摐]","qq":"[鍚冪摐]","en":"[Onlooker]","tw":"[鍚冭タ鐡淽","th":"[Onlooker]","path":"./assets/newemoji/Watermelon.png","style":"we-emoji__Onlooker"},{"key":"[GoForIt]","cn":"[鍔犳补]","qq":"[鍔犳补]","en":"[GoForIt]","tw":"[鍔犳补]","th":"[GoForIt]","path":"./assets/newemoji/Addoil.png","style":"we-emoji__GoForIt"},{"key":"[Sweats]","cn":"[姹梋","qq":"[姹梋","en":"[Sweats]","tw":"[姹梋","th":"[Sweats]","path":"./assets/newemoji/Sweat.png","style":"we-emoji__Sweats"},{"key":"[OMG]","cn":"[澶╁晩]","qq":"[澶╁晩]","en":"[OMG]","tw":"[澶╁晩]","th":"[OMG]","path":"./assets/newemoji/Shocked.png","style":"we-emoji__OMG"},{"key":"[Emm]","cn":"[Emm]","qq":"[Emm]","en":"[Emm]","tw":"[涓�瑷�闆g洝]","th":"[Emm]","path":"./assets/newemoji/Cold.png","style":"we-emoji__Emm"},{"key":"[Respect]","cn":"[绀句細绀句細]","qq":"[绀句細绀句細]","en":"[Respect]","tw":"[澶辨暚澶辨暚]","th":"[Respect]","path":"./assets/newemoji/Social.png","style":"we-emoji__Respect"},{"key":"[Doge]","cn":"[鏃烘煷]","qq":"[鏃烘煷]","en":"[Doge]","tw":"[鏃烘煷]","th":"[Doge]","path":"./assets/newemoji/Yellowdog.png","style":"we-emoji__Doge"},{"key":"[NoProb]","cn":"[濂界殑]","qq":"[濂界殑]","en":"[NoProb]","tw":"[濂界殑]","th":"[NoProb]","path":"./assets/newemoji/NoProb.png","style":"we-emoji__NoProb"},{"key":"[MyBad]","cn":"[鎵撹劯]","qq":"[鎵撹劯]","en":"[MyBad]","tw":"[鎵撹噳]","th":"[MyBad]","path":"./assets/newemoji/Slap.png","style":"we-emoji__MyBad"},{"key":"[Wow]","cn":"[鍝嘳","qq":"[鍝嘳","en":"[Wow]","tw":"[鍝嘳","th":"[Wow]","path":"./assets/newemoji/Wow.png","style":"we-emoji__Wow"},{"key":"[KeepFighting]","cn":"[鍔犳补鍔犳补]","qq":"[鍔犳补鍔犳补]","en":"[KeepFighting]","tw":"[鍔犳补锛乚","th":"[KeepFighting]","path":"./assets/newemoji/KeepFighting.png","style":"we-emoji__KeepFighting"},{"key":"[Boring]","cn":"[缈荤櫧鐪糫","qq":"[缈荤櫧鐪糫","en":"[Boring]","tw":"[缈荤櫧鐪糫","th":"[Boring]","path":"./assets/newemoji/Boring.png","style":"we-emoji__Boring"},{"key":"[666]","cn":"[666]","qq":"[666]","en":"[Awesome]","tw":"[666]","th":"[Awesome]","path":"./assets/newemoji/666.png","style":"we-emoji__Awesome"},{"key":"[LetMeSee]","cn":"[璁╂垜鐪嬬湅]","qq":"[璁╂垜鐪嬬湅]","en":"[LetMeSee]","tw":"[璁撴垜鐪嬬湅]","th":"[LetMeSee]","path":"./assets/newemoji/LetMeSee.png","style":"we-emoji__LetMeSee"},{"key":"[Sigh]","cn":"[鍙规皵]","qq":"[鍙规皵]","en":"[Sigh]","tw":"[鍢嗘伅]","th":"[Sigh]","path":"./assets/newemoji/Sigh.png","style":"we-emoji__Sigh"},{"key":"[Hurt]","cn":"[鑻︽订]","qq":"[鑻︽订]","en":"[Hurt]","tw":"[闆e彈]","th":"[Hurt]","path":"./assets/newemoji/Hurt.png","style":"we-emoji__Hurt"},{"key":"[Broken]","cn":"[瑁傚紑]","qq":"[瑁傚紑]","en":"[Broken]","tw":"[宕╂桨]","th":"[Broken]","path":"./assets/newemoji/Broken.png","style":"we-emoji__Broken"},{"key":"[Flushed]","cn":"[鑴哥孩]","qq":"[鑴哥孩]","en":"[Flushed]","tw":"[鑷夌磪]","th":"[Flushed]","emoji":"馃槼","path":"./assets/newemoji/Flushed.png","style":"we-emoji__Flushed"},{"key":"[Happy]","cn":"[绗戣劯]","qq":"[绗戣劯]","en":"[Happy]","tw":"[绗戣噳]","th":"[Happy]","emoji":"馃槃","path":"./assets/newemoji/Happy.png","style":"we-emoji__Happy"},{"key":"[Lol]","cn":"[鐮存稌涓虹瑧]","qq":"[鐮存稌涓虹瑧]","en":"[Lol]","tw":"[鐮存稌鐐虹瑧]","th":"[Lol]","emoji":"馃槀","path":"./assets/newemoji/Lol.png","style":"we-emoji__Lol"},{"key":"[Fireworks]","cn":"[鐑熻姳]","qq":"[鐑熻姳]","en":"[Fireworks]","tw":"[鐓欒姳]","th":"[Fireworks]","path":"./assets/newemoji/Fireworks.png","style":"we-emoji__Fireworks"},{"key":"[Firecracker]","cn":"[鐖嗙]","qq":"[鐖嗙]","en":"[Firecracker]","tw":"[鐖嗙]","th":"[Firecracker]","path":"./assets/newemoji/Firecracker.png","style":"we-emoji__Firecracker"},{"key":"[Party]","cn":"[搴嗙]","qq":"[搴嗙]","en":"[Party]","tw":"[鎱剁]","th":"[Party]","emoji":"馃帀","path":"./assets/newemoji/Party.png","style":"we-emoji__Party"},{"key":"[Terror]","cn":"[鎭愭儳]","qq":"[鎭愭儳]","en":"[Terror]","tw":"[鎭愭嚰]","th":"[Terror]","emoji":"馃槺","path":"./assets/newemoji/Terror.png","style":"we-emoji__Terror"},{"key":"[Duh]","cn":"[鏃犺]","qq":"[鏃犺]","en":"[Duh]","tw":"[鐒¤獮]","th":"[Duh]","emoji":"馃槖","path":"./assets/newemoji/Duh.png","style":"we-emoji__Duh"},{"key":"[LetDown]","cn":"[澶辨湜]","qq":"[澶辨湜]","en":"[Let Down]","tw":"[澶辨湜]","th":"[Let Down]","emoji":"馃様","path":"./assets/newemoji/LetDown.png","style":"we-emoji__LetDown"},{"key":"[Sick]","cn":"[鐢熺梾]","qq":"[鐢熺梾]","en":"[Sick]","tw":"[鐢熺梾]","th":"[Sick]","emoji":"馃樂","path":"./assets/newemoji/Sick.png","style":"we-emoji__Sick"},{"key":"[Worship]","cn":"[鍚堝崄]","qq":"[鍚堝崄]","en":"[Worship]","tw":"[鍚堝崄]","th":"[Worship]","emoji":"馃檹","path":"./assets/newemoji/Worship.png","style":"we-emoji__Worship"}]' + ) + }, + "90e3": function(n, r) { + var i = 0, + o = Math.random(); + n.exports = function(s) { + return "Symbol(" + String(s === void 0 ? "" : s) + ")_" + (++i + o) + .toString(36) + } + }, + 9112: function(n, r, i) { + var o = i("83ab"), + s = i("9bf2"), + a = i("5c6c"); + n.exports = o ? function(c, l, u) { + return s.f(c, l, a(1, u)) + } : function(c, l, u) { + return c[l] = u, c + } + }, + 9263: function(n, r, i) { + var o = i("ad6d"), + s = i("9f7f"), + a = RegExp.prototype.exec, + c = String.prototype.replace, + l = a, + u = function() { + var p = /a/, + _ = /b*/g; + return a.call(p, "a"), a.call(_, "a"), p.lastIndex !== 0 || _.lastIndex !== + 0 + }(), + f = s.UNSUPPORTED_Y || s.BROKEN_CARET, + d = /()??/.exec("")[1] !== void 0, + h = u || d || f; + h && (l = function(p) { + var _, m, g, b, y = this, + S = f && y.sticky, + w = o.call(y), + k = y.source, + v = 0, + I = p; + return S && (w = w.replace("y", ""), w.indexOf("g") === -1 && (w += + "g"), I = String(p).slice(y.lastIndex), y.lastIndex > 0 && (!y + .multiline || y.multiline && p[y.lastIndex - 1] !== "\n") && + (k = "(?: " + k + ")", I = " " + I, v++), m = new RegExp( + "^(?:" + k + ")", w)), d && (m = new RegExp("^" + k + + "$(?!\\s)", w)), u && (_ = y.lastIndex), g = a.call(S ? m : y, + I), S ? g ? (g.input = g.input.slice(v), g[0] = g[0].slice(v), g + .index = y.lastIndex, y.lastIndex += g[0].length) : y + .lastIndex = 0 : u && g && (y.lastIndex = y.global ? g.index + g[0] + .length : _), d && g && g.length > 1 && c.call(g[0], m, + function() { + for (b = 1; b < arguments.length - 2; b++) arguments[b] === + void 0 && (g[b] = void 0) + }), g + }), n.exports = l + }, + "94ca": function(n, r, i) { + var o = i("d039"), + s = /#|\.prototype\./, + a = function(d, h) { + var p = l[c(d)]; + return p == f || p != u && (typeof h == "function" ? o(h) : !!h) + }, + c = a.normalize = function(d) { + return String(d).replace(s, ".").toLowerCase() + }, + l = a.data = {}, + u = a.NATIVE = "N", + f = a.POLYFILL = "P"; + n.exports = a + }, + 9523: function(n, r) { + function i(o, s, a) { + return s in o ? Object.defineProperty(o, s, { + value: a, + enumerable: !0, + configurable: !0, + writable: !0 + }) : o[s] = a, o + } + n.exports = i, n.exports.default = n.exports, n.exports.__esModule = !0 + }, + "99af": function(n, r, i) { + var o = i("23e7"), + s = i("d039"), + a = i("e8b5"), + c = i("861d"), + l = i("7b0b"), + u = i("50c4"), + f = i("8418"), + d = i("65f0"), + h = i("1dde"), + p = i("b622"), + _ = i("2d00"), + m = p("isConcatSpreadable"), + g = 9007199254740991, + b = "Maximum allowed index exceeded", + y = _ >= 51 || !s(function() { + var v = []; + return v[m] = !1, v.concat()[0] !== v + }), + S = h("concat"), + w = function(v) { + if (!c(v)) return !1; + var I = v[m]; + return I !== void 0 ? !!I : a(v) + }, + k = !y || !S; + o({ + target: "Array", + proto: !0, + forced: k + }, { + concat: function(v) { + var I, T, A, L, O, $ = l(this), + B = d($, 0), + F = 0; + for (I = -1, A = arguments.length; I < A; I++) + if (O = I === -1 ? $ : arguments[I], w(O)) { + if (L = u(O.length), F + L > g) throw TypeError(b); + for (T = 0; T < L; T++, F++) T in O && f(B, F, O[T]) + } else { + if (F >= g) throw TypeError(b); + f(B, F++, O) + } return B.length = F, B + } + }) + }, + "9bdd": function(n, r, i) { + var o = i("825a"), + s = i("2a62"); + n.exports = function(a, c, l, u) { + try { + return u ? c(o(l)[0], l[1]) : c(l) + } catch (f) { + throw s(a), f + } + } + }, + "9bf2": function(n, r, i) { + var o = i("83ab"), + s = i("0cfb"), + a = i("825a"), + c = i("c04e"), + l = Object.defineProperty; + r.f = o ? l : function(u, f, d) { + if (a(u), f = c(f, !0), a(d), s) try { + return l(u, f, d) + } catch (h) {} + if ("get" in d || "set" in d) throw TypeError("Accessors not supported"); + return "value" in d && (u[f] = d.value), u + } + }, + "9ed3": function(n, r, i) { + var o = i("ae93").IteratorPrototype, + s = i("7c73"), + a = i("5c6c"), + c = i("d44e"), + l = i("3f8c"), + u = function() { + return this + }; + n.exports = function(f, d, h) { + var p = d + " Iterator"; + return f.prototype = s(o, { + next: a(1, h) + }), c(f, p, !1, !0), l[p] = u, f + } + }, + "9f7f": function(n, r, i) { + var o = i("d039"); + + function s(a, c) { + return RegExp(a, c) + } + r.UNSUPPORTED_Y = o(function() { + var a = s("a", "y"); + return a.lastIndex = 2, a.exec("abcd") != null + }), r.BROKEN_CARET = o(function() { + var a = s("^r", "gy"); + return a.lastIndex = 2, a.exec("str") != null + }) + }, + a15b: function(n, r, i) { + var o = i("23e7"), + s = i("44ad"), + a = i("fc6a"), + c = i("a640"), + l = [].join, + u = s != Object, + f = c("join", ","); + o({ + target: "Array", + proto: !0, + forced: u || !f + }, { + join: function(d) { + return l.call(a(this), d === void 0 ? "," : d) + } + }) + }, + a4d3: function(n, r, i) { + var o = i("23e7"), + s = i("da84"), + a = i("d066"), + c = i("c430"), + l = i("83ab"), + u = i("4930"), + f = i("fdbf"), + d = i("d039"), + h = i("5135"), + p = i("e8b5"), + _ = i("861d"), + m = i("825a"), + g = i("7b0b"), + b = i("fc6a"), + y = i("c04e"), + S = i("5c6c"), + w = i("7c73"), + k = i("df75"), + v = i("241c"), + I = i("057f"), + T = i("7418"), + A = i("06cf"), + L = i("9bf2"), + O = i("d1e7"), + $ = i("9112"), + B = i("6eeb"), + F = i("5692"), + N = i("f772"), + U = i("d012"), + P = i("90e3"), + J = i("b622"), + M = i("e538"), + q = i("746f"), + W = i("d44e"), + z = i("69f3"), + Y = i("b727").forEach, + C = N("hidden"), + j = "Symbol", + H = "prototype", + Q = J("toPrimitive"), + ue = z.set, + le = z.getterFor(j), + ae = Object[H], + oe = s.Symbol, + V = a("JSON", "stringify"), + se = A.f, + ee = L.f, + fe = I.f, + Le = O.f, + Ee = F("symbols"), + Oe = F("op-symbols"), + je = F("string-to-symbol-registry"), + Ue = F("symbol-to-string-registry"), + ot = F("wks"), + zt = s.QObject, + Jt = !zt || !zt[H] || !zt[H].findChild, + Zt = l && d(function() { + return w(ee({}, "a", { + get: function() { + return ee(this, "a", { + value: 7 + }).a + } + })).a != 7 + }) ? function(ce, de, X) { + var pe = se(ae, de); + pe && delete ae[de], ee(ce, de, X), pe && ce !== ae && ee(ae, de, pe) + } : ee, + ft = function(ce, de) { + var X = Ee[ce] = w(oe[H]); + return ue(X, { + type: j, + tag: ce, + description: de + }), l || (X.description = de), X + }, + It = f ? function(ce) { + return typeof ce == "symbol" + } : function(ce) { + return Object(ce) instanceof oe + }, + Kt = function(ce, de, X) { + ce === ae && Kt(Oe, de, X), m(ce); + var pe = y(de, !0); + return m(X), h(Ee, pe) ? (X.enumerable ? (h(ce, C) && ce[C][pe] && (ce[C][ + pe] = !1), X = w(X, { + enumerable: S(0, !1) + })) : (h(ce, C) || ee(ce, C, S(1, {})), ce[C][pe] = !0), Zt(ce, pe, + X)) : ee(ce, pe, X) + }, + yn = function(ce, de) { + m(ce); + var X = b(de), + pe = k(X).concat(dn(X)); + return Y(pe, function(He) { + l && !Xt.call(X, He) || Kt(ce, He, X[He]) + }), ce + }, + Hn = function(ce, de) { + return de === void 0 ? w(ce) : yn(w(ce), de) + }, + Xt = function(ce) { + var de = y(ce, !0), + X = Le.call(this, de); + return !(this === ae && h(Ee, de) && !h(Oe, de)) && (!(X || !h(this, de) || + !h(Ee, de) || h(this, C) && this[C][de]) || X) + }, + Sn = function(ce, de) { + var X = b(ce), + pe = y(de, !0); + if (X !== ae || !h(Ee, pe) || h(Oe, pe)) { + var He = se(X, pe); + return !He || !h(Ee, pe) || h(X, C) && X[C][pe] || (He.enumerable = !0), + He + } + }, + Ft = function(ce) { + var de = fe(b(ce)), + X = []; + return Y(de, function(pe) { + h(Ee, pe) || h(U, pe) || X.push(pe) + }), X + }, + dn = function(ce) { + var de = ce === ae, + X = fe(de ? Oe : b(ce)), + pe = []; + return Y(X, function(He) { + !h(Ee, He) || de && !h(ae, He) || pe.push(Ee[He]) + }), pe + }; + if (u || (oe = function() { + if (this instanceof oe) throw TypeError("Symbol is not a constructor"); + var ce = arguments.length && arguments[0] !== void 0 ? String(arguments[ + 0]) : void 0, + de = P(ce), + X = function(pe) { + this === ae && X.call(Oe, pe), h(this, C) && h(this[C], de) && ( + this[C][de] = !1), Zt(this, de, S(1, pe)) + }; + return l && Jt && Zt(ae, de, { + configurable: !0, + set: X + }), ft(de, ce) + }, B(oe[H], "toString", function() { + return le(this).tag + }), B(oe, "withoutSetter", function(ce) { + return ft(P(ce), ce) + }), O.f = Xt, L.f = Kt, A.f = Sn, v.f = I.f = Ft, T.f = dn, M.f = function( + ce) { + return ft(J(ce), ce) + }, l && (ee(oe[H], "description", { + configurable: !0, + get: function() { + return le(this).description + } + }), c || B(ae, "propertyIsEnumerable", Xt, { + unsafe: !0 + }))), o({ + global: !0, + wrap: !0, + forced: !u, + sham: !u + }, { + Symbol: oe + }), Y(k(ot), function(ce) { + q(ce) + }), o({ + target: j, + stat: !0, + forced: !u + }, { + for: function(ce) { + var de = String(ce); + if (h(je, de)) return je[de]; + var X = oe(de); + return je[de] = X, Ue[X] = de, X + }, + keyFor: function(ce) { + if (!It(ce)) throw TypeError(ce + " is not a symbol"); + if (h(Ue, ce)) return Ue[ce] + }, + useSetter: function() { + Jt = !0 + }, + useSimple: function() { + Jt = !1 + } + }), o({ + target: "Object", + stat: !0, + forced: !u, + sham: !l + }, { + create: Hn, + defineProperty: Kt, + defineProperties: yn, + getOwnPropertyDescriptor: Sn + }), o({ + target: "Object", + stat: !0, + forced: !u + }, { + getOwnPropertyNames: Ft, + getOwnPropertySymbols: dn + }), o({ + target: "Object", + stat: !0, + forced: d(function() { + T.f(1) + }) + }, { + getOwnPropertySymbols: function(ce) { + return T.f(g(ce)) + } + }), V) { + var $n = !u || d(function() { + var ce = oe(); + return V([ce]) != "[null]" || V({ + a: ce + }) != "{}" || V(Object(ce)) != "{}" + }); + o({ + target: "JSON", + stat: !0, + forced: $n + }, { + stringify: function(ce, de, X) { + for (var pe, He = [ce], oi = 1; arguments.length > oi;) He + .push(arguments[oi++]); + if (pe = de, (_(de) || ce !== void 0) && !It(ce)) return p( + de) || (de = function(Qt, bn) { + if (typeof pe == "function" && (bn = pe + .call(this, Qt, bn)), !It(bn)) + return bn + }), He[1] = de, V.apply(null, He) + } + }) + } + oe[H][Q] || $(oe[H], Q, oe[H].valueOf), W(oe, j), U[C] = !0 + }, + a630: function(n, r, i) { + var o = i("23e7"), + s = i("4df4"), + a = i("1c7e"), + c = !a(function(l) { + Array.from(l) + }); + o({ + target: "Array", + stat: !0, + forced: c + }, { + from: s + }) + }, + a640: function(n, r, i) { + var o = i("d039"); + n.exports = function(s, a) { + var c = [][s]; + return !!c && o(function() { + c.call(null, a || function() { + throw 1 + }, 1) + }) + } + }, + a691: function(n, r) { + var i = Math.ceil, + o = Math.floor; + n.exports = function(s) { + return isNaN(s = +s) ? 0 : (s > 0 ? o : i)(s) + } + }, + a9e3: function(n, r, i) { + var o = i("83ab"), + s = i("da84"), + a = i("94ca"), + c = i("6eeb"), + l = i("5135"), + u = i("c6b6"), + f = i("7156"), + d = i("c04e"), + h = i("d039"), + p = i("7c73"), + _ = i("241c").f, + m = i("06cf").f, + g = i("9bf2").f, + b = i("58a8").trim, + y = "Number", + S = s[y], + w = S.prototype, + k = u(p(w)) == y, + v = function(O) { + var $, B, F, N, U, P, J, M, q = d(O, !1); + if (typeof q == "string" && q.length > 2) { + if (q = b(q), $ = q.charCodeAt(0), $ === 43 || $ === 45) { + if (B = q.charCodeAt(2), B === 88 || B === 120) return NaN + } else if ($ === 48) { + switch (q.charCodeAt(1)) { + case 66: + case 98: + F = 2, N = 49; + break; + case 79: + case 111: + F = 8, N = 55; + break; + default: + return +q + } + for (U = q.slice(2), P = U.length, J = 0; J < P; J++) + if (M = U.charCodeAt(J), M < 48 || M > N) return NaN; + return parseInt(U, F) + } + } + return +q + }; + if (a(y, !S(" 0o1") || !S("0b1") || S("+0x1"))) { + for (var I, T = function(O) { + var $ = arguments.length < 1 ? 0 : O, + B = this; + return B instanceof T && (k ? h(function() { + w.valueOf.call(B) + }) : u(B) != y) ? f(new S(v($)), B, T) : v($) + }, A = o ? _(S) : + "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range" + .split(","), L = 0; A.length > L; L++) l(S, I = A[L]) && !l(T, I) && g( + T, I, m(S, I)); + T.prototype = w, w.constructor = T, c(s, y, T) + } + }, + ac1f: function(n, r, i) { + var o = i("23e7"), + s = i("9263"); + o({ + target: "RegExp", + proto: !0, + forced: /./.exec !== s + }, { + exec: s + }) + }, + ad6d: function(n, r, i) { + var o = i("825a"); + n.exports = function() { + var s = o(this), + a = ""; + return s.global && (a += "g"), s.ignoreCase && (a += "i"), s.multiline && ( + a += "m"), s.dotAll && (a += "s"), s.unicode && (a += "u"), s + .sticky && (a += "y"), a + } + }, + ae93: function(n, r, i) { + var o, s, a, c = i("d039"), + l = i("e163"), + u = i("9112"), + f = i("5135"), + d = i("b622"), + h = i("c430"), + p = d("iterator"), + _ = !1, + m = function() { + return this + }; + [].keys && (a = [].keys(), "next" in a ? (s = l(l(a)), s !== Object.prototype && ( + o = s)) : _ = !0); + var g = o == null || c(function() { + var b = {}; + return o[p].call(b) !== b + }); + g && (o = {}), h && !g || f(o, p) || u(o, p, m), n.exports = { + IteratorPrototype: o, + BUGGY_SAFARI_ITERATORS: _ + } + }, + b041: function(n, r, i) { + var o = i("00ee"), + s = i("f5df"); + n.exports = o ? {}.toString : function() { + return "[object " + s(this) + "]" + } + }, + b0c0: function(n, r, i) { + var o = i("83ab"), + s = i("9bf2").f, + a = Function.prototype, + c = a.toString, + l = /^\s*function ([^ (]*)/, + u = "name"; + o && !(u in a) && s(a, u, { + configurable: !0, + get: function() { + try { + return c.call(this).match(l)[1] + } catch (f) { + return "" + } + } + }) + }, + b622: function(n, r, i) { + var o = i("da84"), + s = i("5692"), + a = i("5135"), + c = i("90e3"), + l = i("4930"), + u = i("fdbf"), + f = s("wks"), + d = o.Symbol, + h = u ? d : d && d.withoutSetter || c; + n.exports = function(p) { + return a(f, p) && (l || typeof f[p] == "string") || (l && a(d, p) ? f[p] = + d[p] : f[p] = h("Symbol." + p)), f[p] + } + }, + b64b: function(n, r, i) { + var o = i("23e7"), + s = i("7b0b"), + a = i("df75"), + c = i("d039"), + l = c(function() { + a(1) + }); + o({ + target: "Object", + stat: !0, + forced: l + }, { + keys: function(u) { + return a(s(u)) + } + }) + }, + b727: function(n, r, i) { + var o = i("0366"), + s = i("44ad"), + a = i("7b0b"), + c = i("50c4"), + l = i("65f0"), + u = [].push, + f = function(d) { + var h = d == 1, + p = d == 2, + _ = d == 3, + m = d == 4, + g = d == 6, + b = d == 7, + y = d == 5 || g; + return function(S, w, k, v) { + for (var I, T, A = a(S), L = s(A), O = o(w, k, 3), $ = c(L.length), + B = 0, F = v || l, N = h ? F(S, $) : p || b ? F(S, 0) : + void 0; $ > B; B++) + if ((y || B in L) && (I = L[B], T = O(I, B, A), d)) + if (h) N[B] = T; + else if (T) switch (d) { + case 3: + return !0; + case 5: + return I; + case 6: + return B; + case 2: + u.call(N, I) + } else switch (d) { + case 4: + return !1; + case 7: + u.call(N, I) + } + return g ? -1 : _ || m ? m : N + } + }; + n.exports = { + forEach: f(0), + map: f(1), + filter: f(2), + some: f(3), + every: f(4), + find: f(5), + findIndex: f(6), + filterOut: f(7) + } + }, + c04e: function(n, r, i) { + var o = i("861d"); + n.exports = function(s, a) { + if (!o(s)) return s; + var c, l; + if (a && typeof(c = s.toString) == "function" && !o(l = c.call(s)) || + typeof(c = s.valueOf) == "function" && !o(l = c.call(s)) || !a && + typeof(c = s.toString) == "function" && !o(l = c.call(s))) return l; + throw TypeError("Can't convert object to primitive value") + } + }, + c1fd: function(n) { + n.exports = JSON.parse( + '["/::)","/::~","/::B","/::|","/:8-)","/::<","/::$","/::X","/::Z","/::\'(","/::-|","/::@","/::P","/::D","/::O","/::(","[Blush]","/::Q","/::T","/:,@P","/:,@-D","/::d","/:,@o","/:|-)","/::!","/::>","/::,@","/::-S","/:?","/:,@x","/:,@@","/:,@!","/:!!!","/:xx","[Bye]","/:wipe","/:dig","/:handclap","/:B-)","/:@>","/:>-|","/:P-(","/::\'|","/:X-)","/::*","/:8*","[Happy]","[Sick]","[Flushed]","[Lol]","[Terror]","[LetDown]","[Duh]","[Hey]","[Facepalm]","[Smirk]","[Smart]","[Concerned]","[Yeah!]","[Onlooker]","[GoForIt]","[Sweats]","[OMG]","[Emm]","[Respect]","[Doge]","[NoProb]","[MyBad]","[Wow]","[Boring]","[666]","[LetMeSee]","[Sigh]","[Hurt]","[Broken]","/:showlove","/:heart","/:break","/:hug","/:strong","/:weak","/:share","/:v","[Salute]","/:jj","/:@@","/:ok","[Worship]","/:beer","/:coffee","/:cake","/:rose","/:fade","/:pd","/:bome","/:shit","/:moon","/:sun","[Party]","[Gift]","[Packet]","[Rich]","[Blessing]","[Fireworks]","[Firecracker]","/:pig","/:jump","/:shake","/:circle"]' + ) + }, + c430: function(n, r) { + n.exports = !1 + }, + c6b6: function(n, r) { + var i = {}.toString; + n.exports = function(o) { + return i.call(o).slice(8, -1) + } + }, + c6cd: function(n, r, i) { + var o = i("da84"), + s = i("ce4e"), + a = "__core-js_shared__", + c = o[a] || s(a, {}); + n.exports = c + }, + c8ba: function(n, r) { + var i; + i = function() { + return this + }(); + try { + i = i || new Function("return this")() + } catch (o) { + typeof window == "object" && (i = window) + } + n.exports = i + }, + c8d2: function(n, r, i) { + var o = i("d039"), + s = i("5899"), + a = "鈥嬄呩爭"; + n.exports = function(c) { + return o(function() { + return !!s[c]() || a[c]() != a || s[c].name !== c + }) + } + }, + ca84: function(n, r, i) { + var o = i("5135"), + s = i("fc6a"), + a = i("4d64").indexOf, + c = i("d012"); + n.exports = function(l, u) { + var f, d = s(l), + h = 0, + p = []; + for (f in d) !o(c, f) && o(d, f) && p.push(f); + for (; u.length > h;) o(d, f = u[h++]) && (~a(p, f) || p.push(f)); + return p + } + }, + cc12: function(n, r, i) { + var o = i("da84"), + s = i("861d"), + a = o.document, + c = s(a) && s(a.createElement); + n.exports = function(l) { + return c ? a.createElement(l) : {} + } + }, + ce4e: function(n, r, i) { + var o = i("da84"), + s = i("9112"); + n.exports = function(a, c) { + try { + s(o, a, c) + } catch (l) { + o[a] = c + } + return c + } + }, + d012: function(n, r) { + n.exports = {} + }, + d039: function(n, r) { + n.exports = function(i) { + try { + return !!i() + } catch (o) { + return !0 + } + } + }, + d066: function(n, r, i) { + var o = i("428f"), + s = i("da84"), + a = function(c) { + return typeof c == "function" ? c : void 0 + }; + n.exports = function(c, l) { + return arguments.length < 2 ? a(o[c]) || a(s[c]) : o[c] && o[c][l] || s[ + c] && s[c][l] + } + }, + d1e7: function(n, r, i) { + var o = {}.propertyIsEnumerable, + s = Object.getOwnPropertyDescriptor, + a = s && !o.call({ + 1: 2 + }, 1); + r.f = a ? function(c) { + var l = s(this, c); + return !!l && l.enumerable + } : o + }, + d28b: function(n, r, i) { + var o = i("746f"); + o("iterator") + }, + d2bb: function(n, r, i) { + var o = i("825a"), + s = i("3bbe"); + n.exports = Object.setPrototypeOf || ("__proto__" in {} ? function() { + var a, c = !1, + l = {}; + try { + a = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__") + .set, a.call(l, []), c = l instanceof Array + } catch (u) {} + return function(u, f) { + return o(u), s(f), c ? a.call(u, f) : u.__proto__ = f, u + } + }() : void 0) + }, + d3b7: function(n, r, i) { + var o = i("00ee"), + s = i("6eeb"), + a = i("b041"); + o || s(Object.prototype, "toString", a, { + unsafe: !0 + }) + }, + d44e: function(n, r, i) { + var o = i("9bf2").f, + s = i("5135"), + a = i("b622"), + c = a("toStringTag"); + n.exports = function(l, u, f) { + l && !s(l = f ? l : l.prototype, c) && o(l, c, { + configurable: !0, + value: u + }) + } + }, + d58f: function(n, r, i) { + var o = i("1c0b"), + s = i("7b0b"), + a = i("44ad"), + c = i("50c4"), + l = function(u) { + return function(f, d, h, p) { + o(d); + var _ = s(f), + m = a(_), + g = c(_.length), + b = u ? g - 1 : 0, + y = u ? -1 : 1; + if (h < 2) + for (;;) { + if (b in m) { + p = m[b], b += y; + break + } + if (b += y, u ? b < 0 : g <= b) throw TypeError( + "Reduce of empty array with no initial value") + } + for (; u ? b >= 0 : g > b; b += y) b in m && (p = d(p, m[b], b, _)); + return p + } + }; + n.exports = { + left: l(!1), + right: l(!0) + } + }, + d784: function(n, r, i) { + i("ac1f"); + var o = i("6eeb"), + s = i("d039"), + a = i("b622"), + c = i("9263"), + l = i("9112"), + u = a("species"), + f = !s(function() { + var m = /./; + return m.exec = function() { + var g = []; + return g.groups = { + a: "7" + }, g + }, "".replace(m, "$<a>") !== "7" + }), + d = function() { + return "a".replace(/./, "$0") === "$0" + }(), + h = a("replace"), + p = function() { + return !!/./ [h] && /./ [h]("a", "$0") === "" + }(), + _ = !s(function() { + var m = /(?:)/, + g = m.exec; + m.exec = function() { + return g.apply(this, arguments) + }; + var b = "ab".split(m); + return b.length !== 2 || b[0] !== "a" || b[1] !== "b" + }); + n.exports = function(m, g, b, y) { + var S = a(m), + w = !s(function() { + var L = {}; + return L[S] = function() { + return 7 + }, "" [m](L) != 7 + }), + k = w && !s(function() { + var L = !1, + O = /a/; + return m === "split" && (O = {}, O.constructor = {}, O + .constructor[u] = function() { + return O + }, O.flags = "", O[S] = /./ [S]), O.exec = function() { + return L = !0, null + }, O[S](""), !L + }); + if (!w || !k || m === "replace" && (!f || !d || p) || m === "split" && !_) { + var v = /./ [S], + I = b(S, "" [m], function(L, O, $, B, F) { + return O.exec === c ? w && !F ? { + done: !0, + value: v.call(O, $, B) + } : { + done: !0, + value: L.call($, O, B) + } : { + done: !1 + } + }, { + REPLACE_KEEPS_$0: d, + REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: p + }), + T = I[0], + A = I[1]; + o(String.prototype, m, T), o(RegExp.prototype, S, g == 2 ? function(L, + O) { + return A.call(L, this, O) + } : function(L) { + return A.call(L, this) + }) + } + y && l(RegExp.prototype[S], "sham", !0) + } + }, + d81d: function(n, r, i) { + var o = i("23e7"), + s = i("b727").map, + a = i("1dde"), + c = a("map"); + o({ + target: "Array", + proto: !0, + forced: !c + }, { + map: function(l) { + return s(this, l, arguments.length > 1 ? arguments[1] : void 0) + } + }) + }, + da84: function(n, r, i) { + (function(o) { + var s = function(a) { + return a && a.Math == Math && a + }; + n.exports = s(typeof globalThis == "object" && globalThis) || s( + typeof window == "object" && window) || s(typeof self == "object" && + self) || s(typeof o == "object" && o) || function() { + return this + }() || Function("return this")() + }).call(this, i("c8ba")) + }, + dbb4: function(n, r, i) { + var o = i("23e7"), + s = i("83ab"), + a = i("56ef"), + c = i("fc6a"), + l = i("06cf"), + u = i("8418"); + o({ + target: "Object", + stat: !0, + sham: !s + }, { + getOwnPropertyDescriptors: function(f) { + for (var d, h, p = c(f), _ = l.f, m = a(p), g = {}, b = 0; m + .length > b;) h = _(p, d = m[b++]), h !== void 0 && u(g, d, + h); + return g + } + }) + }, + ddb0: function(n, r, i) { + var o = i("da84"), + s = i("fdbc"), + a = i("e260"), + c = i("9112"), + l = i("b622"), + u = l("iterator"), + f = l("toStringTag"), + d = a.values; + for (var h in s) { + var p = o[h], + _ = p && p.prototype; + if (_) { + if (_[u] !== d) try { + c(_, u, d) + } catch (g) { + _[u] = d + } + if (_[f] || c(_, f, h), s[h]) { + for (var m in a) + if (_[m] !== a[m]) try { + c(_, m, a[m]) + } catch (g) { + _[m] = a[m] + } + } + } + } + }, + ded3: function(n, r, i) { + i("b64b"), i("a4d3"), i("4de4"), i("e439"), i("159b"), i("dbb4"); + var o = i("9523"); + + function s(c, l) { + var u = Object.keys(c); + if (Object.getOwnPropertySymbols) { + var f = Object.getOwnPropertySymbols(c); + l && (f = f.filter(function(d) { + return Object.getOwnPropertyDescriptor(c, d).enumerable + })), u.push.apply(u, f) + } + return u + } + + function a(c) { + for (var l = 1; l < arguments.length; l++) { + var u = arguments[l] != null ? arguments[l] : {}; + l % ! ? (MISSING) s(Object(u), !0).forEach(function(f) { + o(c, f, u[f]) + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(c, + Object.getOwnPropertyDescriptors(u)) : s(Object(u)).forEach( + function(f) { + Object.defineProperty(c, f, Object.getOwnPropertyDescriptor(u, + f)) + }) + } + return c + } + n.exports = a, n.exports.default = n.exports, n.exports.__esModule = !0 + }, + df75: function(n, r, i) { + var o = i("ca84"), + s = i("7839"); + n.exports = Object.keys || function(a) { + return o(a, s) + } + }, + e01a: function(n, r, i) { + var o = i("23e7"), + s = i("83ab"), + a = i("da84"), + c = i("5135"), + l = i("861d"), + u = i("9bf2").f, + f = i("e893"), + d = a.Symbol; + if (s && typeof d == "function" && (!("description" in d.prototype) || d() + .description !== void 0)) { + var h = {}, + p = function() { + var y = arguments.length < 1 || arguments[0] === void 0 ? void 0 : + String(arguments[0]), + S = this instanceof p ? new d(y) : y === void 0 ? d() : d(y); + return y === "" && (h[S] = !0), S + }; + f(p, d); + var _ = p.prototype = d.prototype; + _.constructor = p; + var m = _.toString, + g = String(d("test")) == "Symbol(test)", + b = /^Symbol\((.*)\)[^)]+$/; + u(_, "description", { + configurable: !0, + get: function() { + var y = l(this) ? this.valueOf() : this, + S = m.call(y); + if (c(h, y)) return ""; + var w = g ? S.slice(7, -1) : S.replace(b, "$1"); + return w === "" ? void 0 : w + } + }), o({ + global: !0, + forced: !0 + }, { + Symbol: p + }) + } + }, + e163: function(n, r, i) { + var o = i("5135"), + s = i("7b0b"), + a = i("f772"), + c = i("e177"), + l = a("IE_PROTO"), + u = Object.prototype; + n.exports = c ? Object.getPrototypeOf : function(f) { + return f = s(f), o(f, l) ? f[l] : typeof f.constructor == "function" && + f instanceof f.constructor ? f.constructor.prototype : + f instanceof Object ? u : null + } + }, + e177: function(n, r, i) { + var o = i("d039"); + n.exports = !o(function() { + function s() {} + return s.prototype.constructor = null, Object.getPrototypeOf(new s) !== + s.prototype + }) + }, + e260: function(n, r, i) { + var o = i("fc6a"), + s = i("44d2"), + a = i("3f8c"), + c = i("69f3"), + l = i("7dd0"), + u = "Array Iterator", + f = c.set, + d = c.getterFor(u); + n.exports = l(Array, "Array", function(h, p) { + f(this, { + type: u, + target: o(h), + index: 0, + kind: p + }) + }, function() { + var h = d(this), + p = h.target, + _ = h.kind, + m = h.index++; + return !p || m >= p.length ? (h.target = void 0, { + value: void 0, + done: !0 + }) : _ == "keys" ? { + value: m, + done: !1 + } : _ == "values" ? { + value: p[m], + done: !1 + } : { + value: [m, p[m]], + done: !1 + } + }, "values"), a.Arguments = a.Array, s("keys"), s("values"), s("entries") + }, + e439: function(n, r, i) { + var o = i("23e7"), + s = i("d039"), + a = i("fc6a"), + c = i("06cf").f, + l = i("83ab"), + u = s(function() { + c(1) + }), + f = !l || u; + o({ + target: "Object", + stat: !0, + forced: f, + sham: !l + }, { + getOwnPropertyDescriptor: function(d, h) { + return c(a(d), h) + } + }) + }, + e538: function(n, r, i) { + var o = i("b622"); + r.f = o + }, + e893: function(n, r, i) { + var o = i("5135"), + s = i("56ef"), + a = i("06cf"), + c = i("9bf2"); + n.exports = function(l, u) { + for (var f = s(u), d = c.f, h = a.f, p = 0; p < f.length; p++) { + var _ = f[p]; + o(l, _) || d(l, _, h(u, _)) + } + } + }, + e8b5: function(n, r, i) { + var o = i("c6b6"); + n.exports = Array.isArray || function(s) { + return o(s) == "Array" + } + }, + e95a: function(n, r, i) { + var o = i("b622"), + s = i("3f8c"), + a = o("iterator"), + c = Array.prototype; + n.exports = function(l) { + return l !== void 0 && (s.Array === l || c[a] === l) + } + }, + f5df: function(n, r, i) { + var o = i("00ee"), + s = i("c6b6"), + a = i("b622"), + c = a("toStringTag"), + l = s(function() { + return arguments + }()) == "Arguments", + u = function(f, d) { + try { + return f[d] + } catch (h) {} + }; + n.exports = o ? s : function(f) { + var d, h, p; + return f === void 0 ? "Undefined" : f === null ? "Null" : typeof(h = u(d = + Object(f), c)) == "string" ? h : l ? s(d) : (p = s(d)) == + "Object" && typeof d.callee == "function" ? "Arguments" : p + } + }, + f601: function(n, r, i) { + var o = i("ded3").default; + i("d81d"), i("13d5"); + var s = i("8c94"), + a = i("c1fd"), + c = ["key", "old", "cn", "qq", "en", "tw", "th", "emoji"], + l = s.map(function(d) { + return o({}, d) + }), + u = l.reduce(function(d, h, p) { + var _ = o({}, d); + return c.forEach(function(m) { + h[m] && !_[h[m]] && (_[h[m]] = { + index: p + }) + }), _ + }, {}), + f = a.map(function(d) { + return l[u[d].index] + }); + r.EmojiData = l, r.EmojiPanelData = f, r.EmojiDataMap = u, n.exports = { + EmojiData: l, + EmojiPanelData: f, + EmojiDataMap: u + } + }, + f772: function(n, r, i) { + var o = i("5692"), + s = i("90e3"), + a = o("keys"); + n.exports = function(c) { + return a[c] || (a[c] = s(c)) + } + }, + f84d: function(n, r, i) {}, + fb15: function(n, r, i) { + if (i.r(r), i.d(r, "Icon", function() { + return S + }), i.d(r, "Parser", function() { + return q + }), i.d(r, "install", function() { + return le + }), i.d(r, "decode", function() { + return J + }), i.d(r, "split", function() { + return P + }), i.d(r, "EmojiData", function() { + return h.EmojiData + }), i.d(r, "EmojiDataMap", function() { + return h.EmojiDataMap + }), i.d(r, "EmojiPanelData", function() { + return h.EmojiPanelData + }), i.d(r, "Panel", function() { + return Q + }), typeof window < "u") { + var o = window.document.currentScript, + s = i("8875"); + o = s(), "currentScript" in document || Object.defineProperty(document, + "currentScript", { + get: s + }); + var a = o && o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/); + a && (i.p = a[1]) + } + i("b64b"), i("a4d3"), i("4de4"), i("e439"), i("159b"), i("dbb4"); + + function c(V, se, ee) { + return se in V ? Object.defineProperty(V, se, { + value: ee, + enumerable: !0, + configurable: !0, + writable: !0 + }) : V[se] = ee, V + } + + function l(V, se) { + var ee = Object.keys(V); + if (Object.getOwnPropertySymbols) { + var fe = Object.getOwnPropertySymbols(V); + se && (fe = fe.filter(function(Le) { + return Object.getOwnPropertyDescriptor(V, Le).enumerable + })), ee.push.apply(ee, fe) + } + return ee + } + + function u(V) { + for (var se = 1; se < arguments.length; se++) { + var ee = arguments[se] != null ? arguments[se] : {}; + se % ! ? (MISSING) l(Object(ee), !0).forEach(function(fe) { + c(V, fe, ee[fe]) + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(V, + Object.getOwnPropertyDescriptors(ee)) : l(Object(ee)).forEach( + function(fe) { + Object.defineProperty(V, fe, Object.getOwnPropertyDescriptor(ee, + fe)) + }) + } + return V + } + i("07ac"), i("b0c0"); + var f = function() { + var V = this, + se = V.$createElement, + ee = V._self._c || se; + return ee("img", { + staticClass: "we-emoji", + class: V.className, + attrs: { + src: V.picBlank, + alt: V.alt + } + }) + }, + d = [], + h = (i("5319"), i("ac1f"), i("498a"), i("7db0"), i("f601")), + p = i("5e96"), + _ = { + name: "EmojiIcon", + props: { + name: { + type: String + }, + text: { + type: String + } + }, + data: function() { + return { + picBlank: p.a + } + }, + beforeCreate: function() { + var V = this.$options.propsData, + se = V.name, + ee = V.text + }, + computed: { + emojiObj: function() { + var V = this.text, + se = this.name; + if (V && h.EmojiDataMap[V] && h.EmojiData[h.EmojiDataMap[V] + .index]) return h.EmojiData[h.EmojiDataMap[V].index]; + if (se) { + var ee = se.toLowerCase(), + fe = function(Ee) { + return Ee && Ee.toLowerCase().replace(/\W+/g, " ") + .trim().replace(/\s/g, "-") + }, + Le = h.EmojiData.find(function(Ee) { + return fe(Ee.en) === ee + }); + if (Le) return Le + } + return {} + }, + className: function() { + return this.emojiObj.style + }, + alt: function() { + return this.text + } + } + }, + m = _; + + function g(V, se, ee, fe, Le, Ee, Oe, je) { + var Ue, ot = typeof V == "function" ? V.options : V; + return se && (ot.render = se, ot.staticRenderFns = ee, ot._compiled = !0), { + exports: V, + options: ot + } + } + var b = g(m, f, d), + y = b.exports; + y.install = function(V) { + V.component(y.name, y) + }; + var S = y; + + function w(V, se) { + (se == null || se > V.length) && (se = V.length); + for (var ee = 0, fe = new Array(se); ee < se; ee++) fe[ee] = V[ee]; + return fe + } + + function k(V) { + if (Array.isArray(V)) return w(V) + } + i("e01a"), i("d3b7"), i("d28b"), i("3ca3"), i("e260"), i("ddb0"), i("a630"); + + function v(V) { + if (typeof Symbol < "u" && Symbol.iterator in Object(V)) return Array.from(V) + } + i("fb6a"); + + function I(V, se) { + if (V) { + if (typeof V == "string") return w(V, se); + var ee = Object.prototype.toString.call(V).slice(8, -1); + return ee === "Object" && V.constructor && (ee = V.constructor.name), ee === + "Map" || ee === "Set" ? Array.from(V) : ee === "Arguments" || + /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ee) ? w(V, se) : void 0 + } + } + + function T() { + throw new TypeError( + "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." + ) + } + + function A(V) { + return k(V) || v(V) || I(V) || T() + } + i("d81d"), i("13d5"), i("99af"), i("4d63"), i("25f0"), i("a15b"); + var L = function(V) { + var se = V.className, + ee = V.text; + return '<img src="'.concat(p.a, '" class="we-emoji ').concat(se, '" alt="') + .concat(ee, '">') + }; + + function O(V) { + return !(!h.EmojiDataMap[V] || !h.EmojiData[h.EmojiDataMap[V].index]) + } + + function $(V, se, ee) { + for (var fe, Le = new RegExp(se, "g"); fe = Le.exec(V);) + for (var Ee = fe, Oe = Ee[0], je = Ee.index, Ue = ee.length; Ue <= Oe + .length; ++Ue) { + var ot = Oe.slice(0, Ue); + if (O(ot)) return { + 0: ot, + index: je + } + } + return null + } + + function B(V) { + for (var se, ee = new RegExp(/\[[^[\]]+\]/, "g"); se = ee.exec(V);) + if (O(se[0])) return se; + return null + } + + function F(V) { + var se = + /(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f\ude80-\udeff])|[\u2600-\u2B55]/; + return B(V) || $(V, /\/([\u4e00-\u9fa5\w]{1,4})/, "/") || $(V, /\/(:[^/]{1,8})/, + "/:") || $(V, se, "") + } + + function N(V) { + return V + } + + function U(V) { + if (!V) return []; + var se = F(V); + if (se) { + var ee = se[0], + fe = se.index, + Le = V.slice(0, fe), + Ee = V.slice(fe + ee.length), + Oe = O(ee) ? { + text: ee, + data: h.EmojiData[h.EmojiDataMap[ee].index] + } : ee, + je = [].concat(A(U(Le)), [Oe], A(U(Ee))); + return je.some(function(Ue) { + return Ue.text + }) ? je : [je.join("")] + } + return [V] + } + var P = function(V, se) { + var ee = V; + return U(ee) + }, + J = function(V, se) { + return V && P(V).map(function(ee) { + return ee.text ? L({ + text: ee.text, + className: ee.data.style + }) : ee + }).join("") + }, + M = { + name: "EmojiParser", + props: { + tag: { + type: String, + default: "span" + } + }, + methods: { + replace: function(V) { + var se = this, + ee = this.$createElement; + return V && V.length ? V.map(function(fe) { + var Le = fe.text; + if (!Le) { + var Ee = function(Oe) { + return Oe && Oe.reduce(function(je, + Ue) { + return Array.isArray(Ue) ? + [].concat(A(je), A( + Ue)) : [].concat(A(je), + [Ue]) + }, []) + }; + return u(u({}, fe), {}, { + children: Ee(se.replace(fe + .children)) + }) + } + return P(Le).map(function(Oe) { + return Oe.text ? ee(S, { + attrs: { + text: Oe.text + } + }) : se._v(Oe) + }) + }) : V + } + }, + render: function(V) { + return V(this.tag, this.replace(this.$slots.default)) + }, + install: function(V) { + V.component(M.name, M) + } + }, + q = M, + W = function() { + var V = this, + se = V.$createElement, + ee = V._self._c || se; + return ee("div", { + staticClass: "emotion_panel" + }, [ee("ul", { + staticClass: "emotions", + attrs: { + slot: "content" + }, + slot: "content" + }, V._l(V.edata, function(fe, Le) { + return ee("li", { + key: fe.key, + staticClass: "emotions_item", + on: { + click: function(Ee) { + return V.select(Le) + } + } + }, [ee("emoji-icon", { + attrs: { + text: fe.cn + } + })], 1) + }), 0)]) + }, + z = [], + Y = (i("a9e3"), { + name: "EmojiPanel", + props: { + emojiPanelWidth: { + type: Number, + default: 300 + }, + emojiPanelHeight: { + type: Number, + default: 300 + } + }, + data: function() { + return { + edata: h.EmojiPanelData + } + }, + methods: { + select: function(V) { + this.$emit("select", this.edata[V]) + } + } + }), + C = Y, + j = g(C, W, z), + H = j.exports; + H.install = function(V) { + V.component(H.name, H) + }; + var Q = H, + ue = (i("f84d"), { + Icon: S, + Parser: q, + Panel: Q + }), + le = function V(se) { + V.installed || (V.installed = !0, Object.values(ue).forEach(function(ee) { + se.component(ee.name, ee) + })) + }, + ae = u(u({}, ue), {}, { + install: le, + decode: J, + split: P, + EmojiData: h.EmojiData, + EmojiDataMap: h.EmojiDataMap, + EmojiPanelData: h.EmojiPanelData + }); + typeof window < "u" && window.Vue && le(window.Vue); + var oe = ae; + r.default = oe + }, + fb6a: function(n, r, i) { + var o = i("23e7"), + s = i("861d"), + a = i("e8b5"), + c = i("23cb"), + l = i("50c4"), + u = i("fc6a"), + f = i("8418"), + d = i("b622"), + h = i("1dde"), + p = h("slice"), + _ = d("species"), + m = [].slice, + g = Math.max; + o({ + target: "Array", + proto: !0, + forced: !p + }, { + slice: function(b, y) { + var S, w, k, v = u(this), + I = l(v.length), + T = c(b, I), + A = c(y === void 0 ? I : y, I); + if (a(v) && (S = v.constructor, typeof S != "function" || S !== + Array && !a(S.prototype) ? s(S) && (S = S[_], S === + null && (S = void 0)) : S = void 0, S === Array || + S === void 0)) return m.call(v, T, A); + for (w = new(S === void 0 ? Array : S)(g(A - T, 0)), k = 0; T < + A; T++, k++) T in v && f(w, k, v[T]); + return w.length = k, w + } + }) + }, + fc6a: function(n, r, i) { + var o = i("44ad"), + s = i("1d80"); + n.exports = function(a) { + return o(s(a)) + } + }, + fdbc: function(n, r) { + n.exports = { + CSSRuleList: 0, + CSSStyleDeclaration: 0, + CSSValueList: 0, + ClientRectList: 0, + DOMRectList: 0, + DOMStringList: 0, + DOMTokenList: 1, + DataTransferItemList: 0, + FileList: 0, + HTMLAllCollection: 0, + HTMLCollection: 0, + HTMLFormElement: 0, + HTMLSelectElement: 0, + MediaList: 0, + MimeTypeArray: 0, + NamedNodeMap: 0, + NodeList: 1, + PaintRequestList: 0, + Plugin: 0, + PluginArray: 0, + SVGLengthList: 0, + SVGNumberList: 0, + SVGPathSegList: 0, + SVGPointList: 0, + SVGStringList: 0, + SVGTransformList: 0, + SourceBufferList: 0, + StyleSheetList: 0, + TextTrackCueList: 0, + TextTrackList: 0, + TouchList: 0 + } + }, + fdbf: function(n, r, i) { + var o = i("4930"); + n.exports = o && !Symbol.sham && typeof Symbol.iterator == "symbol" + } + }).default + }) +})(ms); +var _s = ms.exports; +const Jh = Nn(_s); +var Ec = !1; +/*! + * pinia v2.2.5 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */ +let gs; +const Di = e => gs = e, + vs = Symbol(); + +function lr(e) { + return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != + "function" +} +var Zn; +(function(e) { + e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function" +})(Zn || (Zn = {})); + +function Zh() { + const e = Pi(!0), + t = e.run(() => K({})); + let n = [], + r = []; + const i = os({ + install(o) { + Di(i), i._a = o, o.provide(vs, i), o.config.globalProperties.$pinia = i, r.forEach(s => n.push(s)), + r = [] + }, + use(o) { + return !this._a && !Ec ? r.push(o) : n.push(o), this + }, + _p: n, + _a: null, + _e: e, + _s: new Map, + state: t + }); + return i +} +const ys = () => {}; + +function co(e, t, n, r = ys) { + e.push(t); + const i = () => { + const o = e.indexOf(t); + o > -1 && (e.splice(o, 1), r()) + }; + return !n && cs() && ls(i), i +} + +function En(e, ...t) { + e.slice().forEach(n => { + n(...t) + }) +} +const wc = e => e(), + lo = Symbol(), + Ji = Symbol(); + +function ur(e, t) { + e instanceof Map && t instanceof Map ? t.forEach((n, r) => e.set(r, n)) : e instanceof Set && t instanceof Set && t + .forEach(e.add, e); + for (const n in t) { + if (!t.hasOwnProperty(n)) continue; + const r = t[n], + i = e[n]; + lr(i) && lr(r) && e.hasOwnProperty(n) && !mn(r) && !Mr(r) ? e[n] = ur(i, r) : e[n] = r + } + return e +} +const Ic = Symbol(); + +function Tc(e) { + return !lr(e) || !e.hasOwnProperty(Ic) +} +const { + assign: rn +} = Object; + +function Lc(e) { + return !!(mn(e) && e.effect) +} + +function Cc(e, t, n, r) { + const { + state: i, + actions: o, + getters: s + } = t, a = n.state.value[e]; + let c; + + function l() { + a || (n.state.value[e] = i ? i() : {}); + const u = us(n.state.value[e]); + return rn(u, o, Object.keys(s || {}).reduce((f, d) => (f[d] = os(ne(() => { + Di(n); + const h = n._s.get(e); + return s[d].call(h, h) + })), f), {})) + } + return c = Ss(e, l, t, n, r, !0), c +} + +function Ss(e, t, n = {}, r, i, o) { + let s; + const a = rn({ + actions: {} + }, n), + c = { + deep: !0 + }; + let l, u, f = [], + d = [], + h; + const p = r.state.value[e]; + !o && !p && (r.state.value[e] = {}), K({}); + let _; + + function m(I) { + let T; + l = u = !1, typeof I == "function" ? (I(r.state.value[e]), T = { + type: Zn.patchFunction, + storeId: e, + events: h + }) : (ur(r.state.value[e], I), T = { + type: Zn.patchObject, + payload: I, + storeId: e, + events: h + }); + const A = _ = Symbol(); + Dn().then(() => { + _ === A && (l = !0) + }), u = !0, En(f, T, r.state.value[e]) + } + const g = o ? function() { + const { + state: T + } = n, A = T ? T() : {}; + this.$patch(L => { + rn(L, A) + }) + } : ys; + + function b() { + s.stop(), f = [], d = [], r._s.delete(e) + } + const y = (I, T = "") => { + if (lo in I) return I[Ji] = T, I; + const A = function() { + Di(r); + const L = Array.from(arguments), + O = [], + $ = []; + + function B(U) { + O.push(U) + } + + function F(U) { + $.push(U) + } + En(d, { + args: L, + name: A[Ji], + store: w, + after: B, + onError: F + }); + let N; + try { + N = I.apply(this && this.$id === e ? this : w, L) + } catch (U) { + throw En($, U), U + } + return N instanceof Promise ? N.then(U => (En(O, U), U)).catch(U => (En($, U), Promise.reject(U))) : + (En(O, N), N) + }; + return A[lo] = !0, A[Ji] = T, A + }, + S = { + _p: r, + $id: e, + $onAction: co.bind(null, d), + $patch: m, + $reset: g, + $subscribe(I, T = {}) { + const A = co(f, I, T.detached, () => L()), + L = s.run(() => Ye(() => r.state.value[e], O => { + (T.flush === "sync" ? u : l) && I({ + storeId: e, + type: Zn.direct, + events: h + }, O) + }, rn({}, c, T))); + return A + }, + $dispose: b + }, + w = Mn(S); + r._s.set(e, w); + const v = (r._a && r._a.runWithContext || wc)(() => r._e.run(() => (s = Pi()).run(() => t({ + action: y + })))); + for (const I in v) { + const T = v[I]; + if (mn(T) && !Lc(T) || Mr(T)) o || (p && Tc(T) && (mn(T) ? T.value = p[I] : ur(T, p[I])), r.state.value[e][I] = + T); + else if (typeof T == "function") { + const A = y(T, I); + v[I] = A, a.actions[I] = T + } + } + return rn(w, v), rn(ss(w), v), Object.defineProperty(w, "$state", { + get: () => r.state.value[e], + set: I => { + m(T => { + rn(T, I) + }) + } + }), r._p.forEach(I => { + rn(w, s.run(() => I({ + store: w, + app: r._a, + pinia: r, + options: a + }))) + }), p && o && n.hydrate && n.hydrate(w.$state, p), l = !0, u = !0, w +} /*! #__NO_SIDE_EFFECTS__ */ +function Bn(e, t, n) { + let r, i; + const o = typeof t == "function"; + typeof e == "string" ? (r = e, i = o ? n : t) : (i = e, r = e.id); + + function s(a, c) { + const l = ac(); + return a = a || (l ? un(vs, null) : null), a && Di(a), a = gs, a._s.has(r) || (o ? Ss(r, t, i, a) : Cc(r, i, + a)), a._s.get(r) + } + return s.$id = r, s +} + +function Kh(e) { + { + const t = ss(e), + n = {}; + for (const r in t) { + const i = t[r]; + (mn(i) || Mr(i)) && (n[r] = as(e, r)) + } + return n + } +} + +function ri(e) { + return cs() ? (ls(e), !0) : !1 +} + +function Ac(e) { + let t = !1, + n; + const r = Pi(!0); + return (...i) => (t || (n = r.run(() => e(...i)), t = !0), n) +} + +function Mc(e, t) { + if (typeof Symbol < "u") { + const n = { + ...e + }; + return Object.defineProperty(n, Symbol.iterator, { + enumerable: !1, + value() { + let r = 0; + return { + next: () => ({ + value: t[r++], + done: r > t.length + }) + } + } + }), n + } else return Object.assign([...t], e) +} + +function we(e) { + return typeof e == "function" ? e() : Jn(e) +} +const Xh = { + mounted: "mounted", + updated: "updated", + unmounted: "unmounted" + }, + Bi = typeof window < "u" && typeof document < "u"; +typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope; +const xc = e => e != null, + Rc = Object.prototype.toString, + Oc = e => Rc.call(e) === "[object Object]", + xt = () => {}, + Fc = kc(); + +function kc() { + var e, t; + return Bi && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && ( + /iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == + null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window + .navigator.userAgent)) +} + +function Pr(e, t) { + function n(...r) { + return new Promise((i, o) => { + Promise.resolve(e(() => t.apply(this, r), { + fn: t, + thisArg: this, + args: r + })).then(i).catch(o) + }) + } + return n +} +const bs = e => e(); + +function Pc(e, t = {}) { + let n, r, i = xt; + const o = a => { + clearTimeout(a), i(), i = xt + }; + return a => { + const c = we(e), + l = we(t.maxWait); + return n && o(n), c <= 0 || l !== void 0 && l <= 0 ? (r && (o(r), r = null), Promise.resolve(a())) : + new Promise((u, f) => { + i = t.rejectOnCancel ? f : u, l && !r && (r = setTimeout(() => { + n && o(n), r = null, u(a()) + }, l)), n = setTimeout(() => { + r && o(r), r = null, u(a()) + }, c) + }) + } +} + +function Nc(...e) { + let t = 0, + n, r = !0, + i = xt, + o, s, a, c, l; + !mn(e[0]) && typeof e[0] == "object" ? { + delay: s, + trailing: a = !0, + leading: c = !0, + rejectOnCancel: l = !1 + } = e[0] : [s, a = !0, c = !0, l = !1] = e; + const u = () => { + n && (clearTimeout(n), n = void 0, i(), i = xt) + }; + return d => { + const h = we(s), + p = Date.now() - t, + _ = () => o = d(); + return u(), h <= 0 ? (t = Date.now(), _()) : (p > h && (c || !r) ? (t = Date.now(), _()) : a && (o = + new Promise((m, g) => { + i = l ? g : m, n = setTimeout(() => { + t = Date.now(), r = !0, m(_()), u() + }, Math.max(0, h - p)) + })), !c && !n && (n = setTimeout(() => r = !0, h)), r = !1, o) + } +} + +function Dc(e = bs) { + const t = K(!0); + + function n() { + t.value = !1 + } + + function r() { + t.value = !0 + } + const i = (...o) => { + t.value && e(...o) + }; + return { + isActive: xr(t), + pause: n, + resume: r, + eventFilter: i + } +} + +function Bc(e) { + const t = Object.create(null); + return n => t[n] || (t[n] = e(n)) +} +const jc = /-(\w)/g, + Uc = Bc(e => e.replace(jc, (t, n) => n ? n.toUpperCase() : "")); + +function Vc(e) { + return fs() +} + +function Qh(...e) { + if (e.length !== 1) return as(...e); + const t = e[0]; + return typeof t == "function" ? xr(Rr(() => ({ + get: t, + set: xt + }))) : K(t) +} + +function ep(e, t = 1e4) { + return Rr((n, r) => { + let i = we(e), + o; + const s = () => setTimeout(() => { + i = we(e), r() + }, we(t)); + return ri(() => { + clearTimeout(o) + }), { + get() { + return n(), i + }, + set(a) { + i = a, r(), clearTimeout(o), o = s() + } + } + }) +} + +function Hc(e, t = 200, n = {}) { + return Pr(Pc(t, n), e) +} + +function Nr(e, t = 200, n = !1, r = !0, i = !1) { + return Pr(Nc(t, n, r, i), e) +} + +function $c(e, t, n = {}) { + const { + eventFilter: r = bs, + ...i + } = n; + return Ye(e, Pr(r, t), i) +} + +function qc(e, t, n = {}) { + const { + eventFilter: r, + ...i + } = n, { + eventFilter: o, + pause: s, + resume: a, + isActive: c + } = Dc(r); + return { + stop: $c(e, t, { + ...i, + eventFilter: o + }), + pause: s, + resume: a, + isActive: c + } +} + +function Gc(e, t = {}) { + if (!mn(e)) return us(e); + const n = Array.isArray(e.value) ? Array.from({ + length: e.value.length + }) : {}; + for (const r in e.value) n[r] = Rr(() => ({ + get() { + return e.value[r] + }, + set(i) { + var o; + if ((o = we(t.replaceRef)) != null ? o : !0) + if (Array.isArray(e.value)) { + const a = [...e.value]; + a[r] = i, e.value = a + } else { + const a = { + ...e.value, + [r]: i + }; + Object.setPrototypeOf(a, Object.getPrototypeOf(e.value)), e.value = a + } + else e.value[r] = i + } + })); + return n +} + +function Dr(e, t = !0, n) { + Vc() ? Ni(e, n) : t ? e() : Dn(e) +} + +function tp(e, t, n = {}) { + const { + immediate: r = !0 + } = n, i = K(!1); + let o = null; + + function s() { + o && (clearTimeout(o), o = null) + } + + function a() { + i.value = !1, s() + } + + function c(...l) { + s(), i.value = !0, o = setTimeout(() => { + i.value = !1, o = null, e(...l) + }, we(t)) + } + return r && (i.value = !0, Bi && c()), ri(a), { + isPending: xr(i), + start: c, + stop: a + } +} + +function np(e, t, n) { + return Ye(e, t, { + ...n, + deep: !0 + }) +} + +function ip(e, t, n) { + return Ye(e, t, { + ...n, + immediate: !0 + }) +} + +function rp(e, t, n) { + const r = Ye(e, (i, o, s) => { + i && (n != null && n.once && Dn(() => r()), t(i, o, s)) + }, { + ...n, + once: !1 + }); + return r +} + +function op(e = {}) { + const { + inheritAttrs: t = !0 + } = e, n = Or(), r = xn({ + setup(o, { + slots: s + }) { + return () => { + n.value = s.default + } + } + }), i = xn({ + inheritAttrs: t, + setup(o, { + attrs: s, + slots: a + }) { + return () => { + var c; + n.value; + const l = (c = n.value) == null ? void 0 : c.call(n, { + ...Wc(s), + $slots: a + }); + return t && (l == null ? void 0 : l.length) === 1 ? l[0] : l + } + } + }); + return Mc({ + define: r, + reuse: i + }, [r, i]) +} + +function Wc(e) { + const t = {}; + for (const n in e) t[Uc(n)] = e[n]; + return t +} +const vt = Bi ? window : void 0; + +function _t(e) { + var t; + const n = we(e); + return (t = n == null ? void 0 : n.$el) != null ? t : n +} + +function $e(...e) { + let t, n, r, i; + if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, r, i] = e, t = vt) : [t, n, r, i] = e, !t) return xt; + Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]); + const o = [], + s = () => { + o.forEach(u => u()), o.length = 0 + }, + a = (u, f, d, h) => (u.addEventListener(f, d, h), () => u.removeEventListener(f, d, h)), + c = Ye(() => [_t(t), we(i)], ([u, f]) => { + if (s(), !u) return; + const d = Oc(f) ? { + ...f + } : f; + o.push(...n.flatMap(h => r.map(p => a(u, h, p, d)))) + }, { + immediate: !0, + flush: "post" + }), + l = () => { + c(), s() + }; + return ri(l), l +} +let uo = !1; + +function sp(e, t, n = {}) { + const { + window: r = vt, + ignore: i = [], + capture: o = !0, + detectIframe: s = !1 + } = n; + if (!r) return xt; + Fc && !uo && (uo = !0, Array.from(r.document.body.children).forEach(h => h.addEventListener("click", xt)), r + .document.documentElement.addEventListener("click", xt)); + let a = !0; + const c = h => we(i).some(p => { + if (typeof p == "string") return Array.from(r.document.querySelectorAll(p)).some(_ => _ === h.target || + h.composedPath().includes(_)); { + const _ = _t(p); + return _ && (h.target === _ || h.composedPath().includes(_)) + } + }), + l = h => { + const p = _t(e); + if (!(!p || p === h.target || h.composedPath().includes(p))) { + if (h.detail === 0 && (a = !c(h)), !a) { + a = !0; + return + } + t(h) + } + }; + let u = !1; + const f = [$e(r, "click", h => { + u || (u = !0, setTimeout(() => { + u = !1 + }, 0), l(h)) + }, { + passive: !0, + capture: o + }), $e(r, "pointerdown", h => { + const p = _t(e); + a = !c(h) && !!(p && !h.composedPath().includes(p)) + }, { + passive: !0 + }), s && $e(r, "blur", h => { + setTimeout(() => { + var p; + const _ = _t(e); + ((p = r.document.activeElement) == null ? void 0 : p.tagName) === "IFRAME" && !(_ != + null && _.contains(r.document.activeElement)) && t(h) + }, 0) + })].filter(Boolean); + return () => f.forEach(h => h()) +} + +function Yc() { + const e = K(!1), + t = fs(); + return t && Ni(() => { + e.value = !0 + }, t), e +} + +function Es(e) { + const t = Yc(); + return ne(() => (t.value, !!e())) +} + +function zc(e, t, n = {}) { + const { + window: r = vt, + ...i + } = n; + let o; + const s = Es(() => r && "MutationObserver" in r), + a = () => { + o && (o.disconnect(), o = void 0) + }, + c = ne(() => { + const d = we(e), + h = (Array.isArray(d) ? d : [d]).map(_t).filter(xc); + return new Set(h) + }), + l = Ye(() => c.value, d => { + a(), s.value && d.size && (o = new MutationObserver(t), d.forEach(h => o.observe(h, i))) + }, { + immediate: !0, + flush: "post" + }), + u = () => o == null ? void 0 : o.takeRecords(), + f = () => { + l(), a() + }; + return ri(f), { + isSupported: s, + stop: f, + takeRecords: u + } +} + +function ap(e = {}) { + var t; + const { + window: n = vt, + deep: r = !0, + triggerOnRemoval: i = !1 + } = e, o = (t = e.document) != null ? t : n == null ? void 0 : n.document, s = () => { + var l; + let u = o == null ? void 0 : o.activeElement; + if (r) + for (; u != null && u.shadowRoot;) u = (l = u == null ? void 0 : u.shadowRoot) == null ? void 0 : l + .activeElement; + return u + }, a = K(), c = () => { + a.value = s() + }; + return n && ($e(n, "blur", l => { + l.relatedTarget === null && c() + }, !0), $e(n, "focus", c, !0)), i && zc(o, l => { + l.filter(u => u.removedNodes.length).map(u => Array.from(u.removedNodes)).flat().forEach(u => { + u === a.value && c() + }) + }, { + childList: !0, + subtree: !0 + }), c(), a +} +const ai = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : + typeof self < "u" ? self : {}, + ci = "__vueuse_ssr_handlers__", + Jc = Zc(); + +function Zc() { + return ci in ai || (ai[ci] = ai[ci] || {}), ai[ci] +} + +function Kc(e, t) { + return Jc[e] || t +} + +function Xc(e) { + return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : + typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number + .isNaN(e) ? "any" : "number" +} +const Qc = { + boolean: { + read: e => e === "true", + write: e => String(e) + }, + object: { + read: e => JSON.parse(e), + write: e => JSON.stringify(e) + }, + number: { + read: e => Number.parseFloat(e), + write: e => String(e) + }, + any: { + read: e => e, + write: e => String(e) + }, + string: { + read: e => e, + write: e => String(e) + }, + map: { + read: e => new Map(JSON.parse(e)), + write: e => JSON.stringify(Array.from(e.entries())) + }, + set: { + read: e => new Set(JSON.parse(e)), + write: e => JSON.stringify(Array.from(e)) + }, + date: { + read: e => new Date(e), + write: e => e.toISOString() + } + }, + fo = "vueuse-storage"; + +function cp(e, t, n, r = {}) { + var i; + const { + flush: o = "pre", + deep: s = !0, + listenToStorageChanges: a = !0, + writeDefaults: c = !0, + mergeDefaults: l = !1, + shallow: u, + window: f = vt, + eventFilter: d, + onError: h = A => {}, + initOnMounted: p + } = r, _ = (u ? Or : K)(typeof t == "function" ? t() : t); + if (!n) try { + n = Kc("getDefaultStorage", () => { + var A; + return (A = vt) == null ? void 0 : A.localStorage + })() + } catch (A) { + h(A) + } + if (!n) return _; + const m = we(t), + g = Xc(m), + b = (i = r.serializer) != null ? i : Qc[g], + { + pause: y, + resume: S + } = qc(_, () => k(_.value), { + flush: o, + deep: s, + eventFilter: d + }); + f && a && Dr(() => { + n instanceof Storage ? $e(f, "storage", I) : $e(f, fo, T), p && I() + }), p || I(); + + function w(A, L) { + if (f) { + const O = { + key: e, + oldValue: A, + newValue: L, + storageArea: n + }; + f.dispatchEvent(n instanceof Storage ? new StorageEvent("storage", O) : new CustomEvent(fo, { + detail: O + })) + } + } + + function k(A) { + try { + const L = n.getItem(e); + if (A == null) w(L, null), n.removeItem(e); + else { + const O = b.write(A); + L !== O && (n.setItem(e, O), w(L, O)) + } + } catch (L) { + h(L) + } + } + + function v(A) { + const L = A ? A.newValue : n.getItem(e); + if (L == null) return c && m != null && n.setItem(e, b.write(m)), m; + if (!A && l) { + const O = b.read(L); + return typeof l == "function" ? l(O, m) : g === "object" && !Array.isArray(O) ? { + ...m, + ...O + } : O + } else return typeof L != "string" ? L : b.read(L) + } + + function I(A) { + if (!(A && A.storageArea !== n)) { + if (A && A.key == null) { + _.value = m; + return + } + if (!(A && A.key !== e)) { + y(); + try { + (A == null ? void 0 : A.newValue) !== b.write(_.value) && (_.value = v(A)) + } catch (L) { + h(L) + } finally { + A ? Dn(S) : S() + } + } + } + } + + function T(A) { + I(A.detail) + } + return _ +} + +function lp(e, t = {}) { + var n, r; + const { + pointerTypes: i, + preventDefault: o, + stopPropagation: s, + exact: a, + onMove: c, + onEnd: l, + onStart: u, + initialValue: f, + axis: d = "both", + draggingElement: h = vt, + containerElement: p, + handle: _ = e, + buttons: m = [0] + } = t, g = K((n = we(f)) != null ? n : { + x: 0, + y: 0 + }), b = K(), y = I => i ? i.includes(I.pointerType) : !0, S = I => { + we(o) && I.preventDefault(), we(s) && I.stopPropagation() + }, w = I => { + var T; + if (!we(m).includes(I.button) || we(t.disabled) || !y(I) || we(a) && I.target !== we(e)) return; + const A = we(p), + L = (T = A == null ? void 0 : A.getBoundingClientRect) == null ? void 0 : T.call(A), + O = we(e).getBoundingClientRect(), + $ = { + x: I.clientX - (A ? O.left - L.left + A.scrollLeft : O.left), + y: I.clientY - (A ? O.top - L.top + A.scrollTop : O.top) + }; + (u == null ? void 0 : u($, I)) !== !1 && (b.value = $, S(I)) + }, k = I => { + if (we(t.disabled) || !y(I) || !b.value) return; + const T = we(p), + A = we(e).getBoundingClientRect(); + let { + x: L, + y: O + } = g.value; + (d === "x" || d === "both") && (L = I.clientX - b.value.x, T && (L = Math.min(Math.max(0, L), T + .scrollWidth - A.width))), (d === "y" || d === "both") && (O = I.clientY - b.value.y, T && (O = Math + .min(Math.max(0, O), T.scrollHeight - A.height))), g.value = { + x: L, + y: O + }, c == null || c(g.value, I), S(I) + }, v = I => { + we(t.disabled) || !y(I) || b.value && (b.value = void 0, l == null || l(g.value, I), S(I)) + }; + if (Bi) { + const I = { + capture: (r = t.capture) != null ? r : !0 + }; + $e(_, "pointerdown", w, I), $e(h, "pointermove", k, I), $e(h, "pointerup", v, I) + } + return { + ...Gc(g), + position: g, + isDragging: ne(() => !!b.value), + style: ne(() => "left:".concat(g.value.x, "px;top:").concat(g.value.y, "px;")) + } +} + +function el(e, t, n = {}) { + const { + window: r = vt, + ...i + } = n; + let o; + const s = Es(() => r && "ResizeObserver" in r), + a = () => { + o && (o.disconnect(), o = void 0) + }, + c = ne(() => { + const f = we(e); + return Array.isArray(f) ? f.map(d => _t(d)) : [_t(f)] + }), + l = Ye(c, f => { + if (a(), s.value && r) { + o = new ResizeObserver(t); + for (const d of f) d && o.observe(d, i) + } + }, { + immediate: !0, + flush: "post" + }), + u = () => { + a(), l() + }; + return ri(u), { + isSupported: s, + stop: u + } +} + +function up(e, t = {}) { + const { + delayEnter: n = 0, + delayLeave: r = 0, + window: i = vt + } = t, o = K(!1); + let s; + const a = c => { + const l = c ? n : r; + s && (clearTimeout(s), s = void 0), l ? s = setTimeout(() => o.value = c, l) : o.value = c + }; + return i && ($e(e, "mouseenter", () => a(!0), { + passive: !0 + }), $e(e, "mouseleave", () => a(!1), { + passive: !0 + })), o +} + +function fp(e, t = { + width: 0, + height: 0 +}, n = {}) { + const { + window: r = vt, + box: i = "content-box" + } = n, o = ne(() => { + var f, d; + return (d = (f = _t(e)) == null ? void 0 : f.namespaceURI) == null ? void 0 : d.includes("svg") + }), s = K(t.width), a = K(t.height), { + stop: c + } = el(e, ([f]) => { + const d = i === "border-box" ? f.borderBoxSize : i === "content-box" ? f.contentBoxSize : f + .devicePixelContentBoxSize; + if (r && o.value) { + const h = _t(e); + if (h) { + const p = h.getBoundingClientRect(); + s.value = p.width, a.value = p.height + } + } else if (d) { + const h = Array.isArray(d) ? d : [d]; + s.value = h.reduce((p, { + inlineSize: _ + }) => p + _, 0), a.value = h.reduce((p, { + blockSize: _ + }) => p + _, 0) + } else s.value = f.contentRect.width, a.value = f.contentRect.height + }, n); + Dr(() => { + const f = _t(e); + f && (s.value = "offsetWidth" in f ? f.offsetWidth : t.width, a.value = "offsetHeight" in f ? f + .offsetHeight : t.height) + }); + const l = Ye(() => _t(e), f => { + s.value = f ? t.width : 0, a.value = f ? t.height : 0 + }); + + function u() { + c(), l() + } + return { + width: s, + height: a, + stop: u + } +} +const ho = 1; + +function dp(e, t = {}) { + const { + throttle: n = 0, + idle: r = 200, + onStop: i = xt, + onScroll: o = xt, + offset: s = { + left: 0, + right: 0, + top: 0, + bottom: 0 + }, + eventListenerOptions: a = { + capture: !1, + passive: !0 + }, + behavior: c = "auto", + window: l = vt, + onError: u = v => {} + } = t, f = K(0), d = K(0), h = ne({ + get() { + return f.value + }, + set(v) { + _(v, void 0) + } + }), p = ne({ + get() { + return d.value + }, + set(v) { + _(void 0, v) + } + }); + + function _(v, I) { + var T, A, L, O; + if (!l) return; + const $ = we(e); + if (!$) return; + (L = $ instanceof Document ? l.document.body : $) == null || L.scrollTo({ + top: (T = we(I)) != null ? T : p.value, + left: (A = we(v)) != null ? A : h.value, + behavior: we(c) + }); + const B = ((O = $ == null ? void 0 : $.document) == null ? void 0 : O.documentElement) || ($ == null ? void 0 : + $.documentElement) || $; + h != null && (f.value = B.scrollLeft), p != null && (d.value = B.scrollTop) + } + const m = K(!1), + g = Mn({ + left: !0, + right: !1, + top: !0, + bottom: !1 + }), + b = Mn({ + left: !1, + right: !1, + top: !1, + bottom: !1 + }), + y = v => { + m.value && (m.value = !1, b.left = !1, b.right = !1, b.top = !1, b.bottom = !1, i(v)) + }, + S = Hc(y, n + r), + w = v => { + var I; + if (!l) return; + const T = ((I = v == null ? void 0 : v.document) == null ? void 0 : I.documentElement) || (v == null ? + void 0 : v.documentElement) || _t(v), + { + display: A, + flexDirection: L + } = getComputedStyle(T), + O = T.scrollLeft; + b.left = O < f.value, b.right = O > f.value; + const $ = Math.abs(O) <= (s.left || 0), + B = Math.abs(O) + T.clientWidth >= T.scrollWidth - (s.right || 0) - ho; + A === "flex" && L === "row-reverse" ? (g.left = B, g.right = $) : (g.left = $, g.right = B), f.value = O; + let F = T.scrollTop; + v === l.document && !F && (F = l.document.body.scrollTop), b.top = F < d.value, b.bottom = F > d.value; + const N = Math.abs(F) <= (s.top || 0), + U = Math.abs(F) + T.clientHeight >= T.scrollHeight - (s.bottom || 0) - ho; + A === "flex" && L === "column-reverse" ? (g.top = U, g.bottom = N) : (g.top = N, g.bottom = U), d.value = F + }, + k = v => { + var I; + if (!l) return; + const T = (I = v.target.documentElement) != null ? I : v.target; + w(T), m.value = !0, S(v), o(v) + }; + return $e(e, "scroll", n ? Nr(k, n, !0, !1) : k, a), Dr(() => { + try { + const v = we(e); + if (!v) return; + w(v) + } catch (v) { + u(v) + } + }), $e(e, "scrollend", y, a), { + x: h, + y: p, + isScrolling: m, + arrivedState: g, + directions: b, + measure() { + const v = we(e); + l && v && w(v) + } + } +} +const tl = { + page: e => [e.pageX, e.pageY], + client: e => [e.clientX, e.clientY], + screen: e => [e.screenX, e.screenY], + movement: e => e instanceof Touch ? null : [e.movementX, e.movementY] +}; + +function hp(e = {}) { + const { + type: t = "page", + touch: n = !0, + resetOnTouchEnds: r = !1, + initialValue: i = { + x: 0, + y: 0 + }, + window: o = vt, + target: s = o, + scroll: a = !0, + eventFilter: c + } = e; + let l = null; + const u = K(i.x), + f = K(i.y), + d = K(null), + h = typeof t == "function" ? t : tl[t], + p = w => { + const k = h(w); + l = w, k && ([u.value, f.value] = k, d.value = "mouse") + }, + _ = w => { + if (w.touches.length > 0) { + const k = h(w.touches[0]); + k && ([u.value, f.value] = k, d.value = "touch") + } + }, + m = () => { + if (!l || !o) return; + const w = h(l); + l instanceof MouseEvent && w && (u.value = w[0] + o.scrollX, f.value = w[1] + o.scrollY) + }, + g = () => { + u.value = i.x, f.value = i.y + }, + b = c ? w => c(() => p(w), {}) : w => p(w), + y = c ? w => c(() => _(w), {}) : w => _(w), + S = c ? () => c(() => m(), {}) : () => m(); + if (s) { + const w = { + passive: !0 + }; + $e(s, ["mousemove", "dragover"], b, w), n && t !== "movement" && ($e(s, ["touchstart", "touchmove"], y, w), r && + $e(s, "touchend", g, w)), a && t === "page" && $e(o, "scroll", S, { + passive: !0 + }) + } + return { + x: u, + y: f, + sourceType: d + } +} + +function pp(e = {}) { + const { + window: t = vt + } = e; + if (!t) return K(!1); + const n = K(t.document.hasFocus()); + return $e(t, "blur", () => { + n.value = !1 + }), $e(t, "focus", () => { + n.value = !0 + }), n +} + +function nl() { + return ws().__VUE_DEVTOOLS_GLOBAL_HOOK__ +} + +function ws() { + return typeof navigator < "u" && typeof window < "u" ? window : typeof global < "u" ? global : {} +} +const il = typeof Proxy == "function", + rl = "devtools-plugin:setup", + ol = "plugin:settings:set"; +class sl { + constructor(t, n) { + this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n; + const r = {}; + if (t.settings) + for (const s in t.settings) { + const a = t.settings[s]; + r[s] = a.defaultValue + } + const i = "__vue-devtools-plugin-settings__".concat(t.id); + let o = { + ...r + }; + try { + const s = localStorage.getItem(i), + a = JSON.parse(s); + Object.assign(o, a) + } catch (s) {} + this.fallbacks = { + getSettings() { + return o + }, + setSettings(s) { + try { + localStorage.setItem(i, JSON.stringify(s)) + } catch (a) {} + o = s + } + }, n.on(ol, (s, a) => { + s === this.plugin.id && this.fallbacks.setSettings(a) + }), this.proxiedOn = new Proxy({}, { + get: (s, a) => this.target ? this.target.on[a] : (...c) => { + this.onQueue.push({ + method: a, + args: c + }) + } + }), this.proxiedTarget = new Proxy({}, { + get: (s, a) => this.target ? this.target[a] : a === "on" ? this.proxiedOn : Object.keys(this + .fallbacks).includes(a) ? (...c) => (this.targetQueue.push({ + method: a, + args: c, + resolve: () => {} + }), this.fallbacks[a](...c)) : (...c) => new Promise(l => { + this.targetQueue.push({ + method: a, + args: c, + resolve: l + }) + }) + }) + } + async setRealTarget(t) { + this.target = t; + for (const n of this.onQueue) this.target.on[n.method](...n.args); + for (const n of this.targetQueue) n.resolve(await this.target[n.method](...n.args)) + } +} + +function al(e, t) { + const n = ws(), + r = nl(), + i = il && e.enableEarlyProxy; + if (r && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !i)) r.emit(rl, e, t); + else { + const o = i ? new sl(e, r) : null; + (n.__VUE_DEVTOOLS_PLUGINS__ = n.__VUE_DEVTOOLS_PLUGINS__ || []).push({ + pluginDescriptor: e, + setupFn: t, + proxy: o + }), o && t(o.proxiedTarget) + } +} +/*! + * vuex v4.1.0 + * (c) 2022 Evan You + * @license MIT + */ +var cl = "store"; + +function jn(e, t) { + Object.keys(e).forEach(function(n) { + return t(e[n], n) + }) +} + +function ll(e) { + return e !== null && typeof e == "object" +} + +function ul(e) { + return e && typeof e.then == "function" +} + +function fl(e, t) { + return function() { + return e(t) + } +} + +function Is(e, t, n) { + return t.indexOf(e) < 0 && (n && n.prepend ? t.unshift(e) : t.push(e)), + function() { + var r = t.indexOf(e); + r > -1 && t.splice(r, 1) + } +} + +function Ts(e, t) { + e._actions = Object.create(null), e._mutations = Object.create(null), e._wrappedGetters = Object.create(null), e + ._modulesNamespaceMap = Object.create(null); + var n = e.state; + ji(e, n, [], e._modules.root, !0), Br(e, n, t) +} + +function Br(e, t, n) { + var r = e._state, + i = e._scope; + e.getters = {}, e._makeLocalGettersCache = Object.create(null); + var o = e._wrappedGetters, + s = {}, + a = {}, + c = Pi(!0); + c.run(function() { + jn(o, function(l, u) { + s[u] = fl(l, e), a[u] = ne(function() { + return s[u]() + }), Object.defineProperty(e.getters, u, { + get: function() { + return a[u].value + }, + enumerable: !0 + }) + }) + }), e._state = Mn({ + data: t + }), e._scope = c, e.strict && _l(e), r && n && e._withCommit(function() { + r.data = null + }), i && i.stop() +} + +function ji(e, t, n, r, i) { + var o = !n.length, + s = e._modules.getNamespace(n); + if (r.namespaced && (e._modulesNamespaceMap[s], e._modulesNamespaceMap[s] = r), !o && !i) { + var a = jr(t, n.slice(0, -1)), + c = n[n.length - 1]; + e._withCommit(function() { + a[c] = r.state + }) + } + var l = r.context = dl(e, s, n); + r.forEachMutation(function(u, f) { + var d = s + f; + hl(e, d, u, l) + }), r.forEachAction(function(u, f) { + var d = u.root ? f : s + f, + h = u.handler || u; + pl(e, d, h, l) + }), r.forEachGetter(function(u, f) { + var d = s + f; + ml(e, d, u, l) + }), r.forEachChild(function(u, f) { + ji(e, t, n.concat(f), u, i) + }) +} + +function dl(e, t, n) { + var r = t === "", + i = { + dispatch: r ? e.dispatch : function(o, s, a) { + var c = Ii(o, s, a), + l = c.payload, + u = c.options, + f = c.type; + return (!u || !u.root) && (f = t + f), e.dispatch(f, l) + }, + commit: r ? e.commit : function(o, s, a) { + var c = Ii(o, s, a), + l = c.payload, + u = c.options, + f = c.type; + (!u || !u.root) && (f = t + f), e.commit(f, l, u) + } + }; + return Object.defineProperties(i, { + getters: { + get: r ? function() { + return e.getters + } : function() { + return Ls(e, t) + } + }, + state: { + get: function() { + return jr(e.state, n) + } + } + }), i +} + +function Ls(e, t) { + if (!e._makeLocalGettersCache[t]) { + var n = {}, + r = t.length; + Object.keys(e.getters).forEach(function(i) { + if (i.slice(0, r) === t) { + var o = i.slice(r); + Object.defineProperty(n, o, { + get: function() { + return e.getters[i] + }, + enumerable: !0 + }) + } + }), e._makeLocalGettersCache[t] = n + } + return e._makeLocalGettersCache[t] +} + +function hl(e, t, n, r) { + var i = e._mutations[t] || (e._mutations[t] = []); + i.push(function(s) { + n.call(e, r.state, s) + }) +} + +function pl(e, t, n, r) { + var i = e._actions[t] || (e._actions[t] = []); + i.push(function(s) { + var a = n.call(e, { + dispatch: r.dispatch, + commit: r.commit, + getters: r.getters, + state: r.state, + rootGetters: e.getters, + rootState: e.state + }, s); + return ul(a) || (a = Promise.resolve(a)), e._devtoolHook ? a.catch(function(c) { + throw e._devtoolHook.emit("vuex:error", c), c + }) : a + }) +} + +function ml(e, t, n, r) { + e._wrappedGetters[t] || (e._wrappedGetters[t] = function(o) { + return n(r.state, r.getters, o.state, o.getters) + }) +} + +function _l(e) { + Ye(function() { + return e._state.data + }, function() {}, { + deep: !0, + flush: "sync" + }) +} + +function jr(e, t) { + return t.reduce(function(n, r) { + return n[r] + }, e) +} + +function Ii(e, t, n) { + return ll(e) && e.type && (n = t, t = e, e = e.type), { + type: e, + payload: t, + options: n + } +} +var gl = "vuex bindings", + po = "vuex:mutations", + Zi = "vuex:actions", + wn = "vuex", + vl = 0; + +function yl(e, t) { + al({ + id: "org.vuejs.vuex", + app: e, + label: "Vuex", + homepage: "https://next.vuex.vuejs.org/", + logo: "https://vuejs.org/images/icons/favicon-96x96.png", + packageName: "vuex", + componentStateTypes: [gl] + }, function(n) { + n.addTimelineLayer({ + id: po, + label: "Vuex Mutations", + color: mo + }), n.addTimelineLayer({ + id: Zi, + label: "Vuex Actions", + color: mo + }), n.addInspector({ + id: wn, + label: "Vuex", + icon: "storage", + treeFilterPlaceholder: "Filter stores..." + }), n.on.getInspectorTree(function(r) { + if (r.app === e && r.inspectorId === wn) + if (r.filter) { + var i = []; + xs(i, t._modules.root, r.filter, ""), r.rootNodes = i + } else r.rootNodes = [Ms(t._modules.root, "")] + }), n.on.getInspectorState(function(r) { + if (r.app === e && r.inspectorId === wn) { + var i = r.nodeId; + Ls(t, i), r.state = El(Il(t._modules, i), i === "root" ? t.getters : t + ._makeLocalGettersCache, i) + } + }), n.on.editInspectorState(function(r) { + if (r.app === e && r.inspectorId === wn) { + var i = r.nodeId, + o = r.path; + i !== "root" && (o = i.split("/").filter(Boolean).concat(o)), t._withCommit(function() { + r.set(t._state.data, o, r.state.value) + }) + } + }), t.subscribe(function(r, i) { + var o = {}; + r.payload && (o.payload = r.payload), o.state = i, n.notifyComponentUpdate(), n + .sendInspectorTree(wn), n.sendInspectorState(wn), n.addTimelineEvent({ + layerId: po, + event: { + time: Date.now(), + title: r.type, + data: o + } + }) + }), t.subscribeAction({ + before: function(r, i) { + var o = {}; + r.payload && (o.payload = r.payload), r._id = vl++, r._time = Date.now(), o.state = + i, n.addTimelineEvent({ + layerId: Zi, + event: { + time: r._time, + title: r.type, + groupId: r._id, + subtitle: "start", + data: o + } + }) + }, + after: function(r, i) { + var o = {}, + s = Date.now() - r._time; + o.duration = { + _custom: { + type: "duration", + display: s + "ms", + tooltip: "Action duration", + value: s + } + }, r.payload && (o.payload = r.payload), o.state = i, n.addTimelineEvent({ + layerId: Zi, + event: { + time: Date.now(), + title: r.type, + groupId: r._id, + subtitle: "end", + data: o + } + }) + } + }) + }) +} +var mo = 8702998, + Sl = 6710886, + bl = 16777215, + Cs = { + label: "namespaced", + textColor: bl, + backgroundColor: Sl + }; + +function As(e) { + return e && e !== "root" ? e.split("/").slice(-2, -1)[0] : "Root" +} + +function Ms(e, t) { + return { + id: t || "root", + label: As(t), + tags: e.namespaced ? [Cs] : [], + children: Object.keys(e._children).map(function(n) { + return Ms(e._children[n], t + n + "/") + }) + } +} + +function xs(e, t, n, r) { + r.includes(n) && e.push({ + id: r || "root", + label: r.endsWith("/") ? r.slice(0, r.length - 1) : r || "Root", + tags: t.namespaced ? [Cs] : [] + }), Object.keys(t._children).forEach(function(i) { + xs(e, t._children[i], n, r + i + "/") + }) +} + +function El(e, t, n) { + t = n === "root" ? t : t[n]; + var r = Object.keys(t), + i = { + state: Object.keys(e.state).map(function(s) { + return { + key: s, + editable: !0, + value: e.state[s] + } + }) + }; + if (r.length) { + var o = wl(t); + i.getters = Object.keys(o).map(function(s) { + return { + key: s.endsWith("/") ? As(s) : s, + editable: !1, + value: fr(function() { + return o[s] + }) + } + }) + } + return i +} + +function wl(e) { + var t = {}; + return Object.keys(e).forEach(function(n) { + var r = n.split("/"); + if (r.length > 1) { + var i = t, + o = r.pop(); + r.forEach(function(s) { + i[s] || (i[s] = { + _custom: { + value: {}, + display: s, + tooltip: "Module", + abstract: !0 + } + }), i = i[s]._custom.value + }), i[o] = fr(function() { + return e[n] + }) + } else t[n] = fr(function() { + return e[n] + }) + }), t +} + +function Il(e, t) { + var n = t.split("/").filter(function(r) { + return r + }); + return n.reduce(function(r, i, o) { + var s = r[i]; + if (!s) throw new Error('Missing module "' + i + '" for path "' + t + '".'); + return o === n.length - 1 ? s : s._children + }, t === "root" ? e : e.root._children) +} + +function fr(e) { + try { + return e() + } catch (t) { + return t + } +} +var Rt = function(t, n) { + this.runtime = n, this._children = Object.create(null), this._rawModule = t; + var r = t.state; + this.state = (typeof r == "function" ? r() : r) || {} + }, + Rs = { + namespaced: { + configurable: !0 + } + }; +Rs.namespaced.get = function() { + return !!this._rawModule.namespaced +}; +Rt.prototype.addChild = function(t, n) { + this._children[t] = n +}; +Rt.prototype.removeChild = function(t) { + delete this._children[t] +}; +Rt.prototype.getChild = function(t) { + return this._children[t] +}; +Rt.prototype.hasChild = function(t) { + return t in this._children +}; +Rt.prototype.update = function(t) { + this._rawModule.namespaced = t.namespaced, t.actions && (this._rawModule.actions = t.actions), t.mutations && ( + this._rawModule.mutations = t.mutations), t.getters && (this._rawModule.getters = t.getters) +}; +Rt.prototype.forEachChild = function(t) { + jn(this._children, t) +}; +Rt.prototype.forEachGetter = function(t) { + this._rawModule.getters && jn(this._rawModule.getters, t) +}; +Rt.prototype.forEachAction = function(t) { + this._rawModule.actions && jn(this._rawModule.actions, t) +}; +Rt.prototype.forEachMutation = function(t) { + this._rawModule.mutations && jn(this._rawModule.mutations, t) +}; +Object.defineProperties(Rt.prototype, Rs); +var _n = function(t) { + this.register([], t, !1) +}; +_n.prototype.get = function(t) { + return t.reduce(function(n, r) { + return n.getChild(r) + }, this.root) +}; +_n.prototype.getNamespace = function(t) { + var n = this.root; + return t.reduce(function(r, i) { + return n = n.getChild(i), r + (n.namespaced ? i + "/" : "") + }, "") +}; +_n.prototype.update = function(t) { + Os([], this.root, t) +}; +_n.prototype.register = function(t, n, r) { + var i = this; + r === void 0 && (r = !0); + var o = new Rt(n, r); + if (t.length === 0) this.root = o; + else { + var s = this.get(t.slice(0, -1)); + s.addChild(t[t.length - 1], o) + } + n.modules && jn(n.modules, function(a, c) { + i.register(t.concat(c), a, r) + }) +}; +_n.prototype.unregister = function(t) { + var n = this.get(t.slice(0, -1)), + r = t[t.length - 1], + i = n.getChild(r); + i && i.runtime && n.removeChild(r) +}; +_n.prototype.isRegistered = function(t) { + var n = this.get(t.slice(0, -1)), + r = t[t.length - 1]; + return n ? n.hasChild(r) : !1 +}; + +function Os(e, t, n) { + if (t.update(n), n.modules) + for (var r in n.modules) { + if (!t.getChild(r)) return; + Os(e.concat(r), t.getChild(r), n.modules[r]) + } +} + +function Tl(e) { + return new lt(e) +} +var lt = function(t) { + var n = this; + t === void 0 && (t = {}); + var r = t.plugins; + r === void 0 && (r = []); + var i = t.strict; + i === void 0 && (i = !1); + var o = t.devtools; + this._committing = !1, this._actions = Object.create(null), this._actionSubscribers = [], this._mutations = + Object.create(null), this._wrappedGetters = Object.create(null), this._modules = new _n(t), this + ._modulesNamespaceMap = Object.create(null), this._subscribers = [], this._makeLocalGettersCache = Object + .create(null), this._scope = null, this._devtools = o; + var s = this, + a = this, + c = a.dispatch, + l = a.commit; + this.dispatch = function(d, h) { + return c.call(s, d, h) + }, this.commit = function(d, h, p) { + return l.call(s, d, h, p) + }, this.strict = i; + var u = this._modules.root.state; + ji(this, u, [], this._modules.root), Br(this, u), r.forEach(function(f) { + return f(n) + }) + }, + Ur = { + state: { + configurable: !0 + } + }; +lt.prototype.install = function(t, n) { + t.provide(n || cl, this), t.config.globalProperties.$store = this; + var r = this._devtools !== void 0 ? this._devtools : !1; + r && yl(t, this) +}; +Ur.state.get = function() { + return this._state.data +}; +Ur.state.set = function(e) {}; +lt.prototype.commit = function(t, n, r) { + var i = this, + o = Ii(t, n, r), + s = o.type, + a = o.payload, + c = { + type: s, + payload: a + }, + l = this._mutations[s]; + l && (this._withCommit(function() { + l.forEach(function(f) { + f(a) + }) + }), this._subscribers.slice().forEach(function(u) { + return u(c, i.state) + })) +}; +lt.prototype.dispatch = function(t, n) { + var r = this, + i = Ii(t, n), + o = i.type, + s = i.payload, + a = { + type: o, + payload: s + }, + c = this._actions[o]; + if (c) { + try { + this._actionSubscribers.slice().filter(function(u) { + return u.before + }).forEach(function(u) { + return u.before(a, r.state) + }) + } catch (u) {} + var l = c.length > 1 ? Promise.all(c.map(function(u) { + return u(s) + })) : c[0](s); + return new Promise(function(u, f) { + l.then(function(d) { + try { + r._actionSubscribers.filter(function(h) { + return h.after + }).forEach(function(h) { + return h.after(a, r.state) + }) + } catch (h) {} + u(d) + }, function(d) { + try { + r._actionSubscribers.filter(function(h) { + return h.error + }).forEach(function(h) { + return h.error(a, r.state, d) + }) + } catch (h) {} + f(d) + }) + }) + } +}; +lt.prototype.subscribe = function(t, n) { + return Is(t, this._subscribers, n) +}; +lt.prototype.subscribeAction = function(t, n) { + var r = typeof t == "function" ? { + before: t + } : t; + return Is(r, this._actionSubscribers, n) +}; +lt.prototype.watch = function(t, n, r) { + var i = this; + return Ye(function() { + return t(i.state, i.getters) + }, n, Object.assign({}, r)) +}; +lt.prototype.replaceState = function(t) { + var n = this; + this._withCommit(function() { + n._state.data = t + }) +}; +lt.prototype.registerModule = function(t, n, r) { + r === void 0 && (r = {}), typeof t == "string" && (t = [t]), this._modules.register(t, n), ji(this, this.state, + t, this._modules.get(t), r.preserveState), Br(this, this.state) +}; +lt.prototype.unregisterModule = function(t) { + var n = this; + typeof t == "string" && (t = [t]), this._modules.unregister(t), this._withCommit(function() { + var r = jr(n.state, t.slice(0, -1)); + delete r[t[t.length - 1]] + }), Ts(this) +}; +lt.prototype.hasModule = function(t) { + return typeof t == "string" && (t = [t]), this._modules.isRegistered(t) +}; +lt.prototype.hotUpdate = function(t) { + this._modules.update(t), Ts(this, !0) +}; +lt.prototype._withCommit = function(t) { + var n = this._committing; + this._committing = !0, t(), this._committing = n +}; +Object.defineProperties(lt.prototype, Ur); + +function Ti(e, t) { + for (var n = function(s) { + Object.defineProperty(e, s, { + get: function() { + return t[s] + } + }) + }, r = 0, i = Object.keys(t || {}); r < i.length; r++) { + var o = i[r]; + n(o) + } +} + +function Fs(e) { + if (!e._vmdModuleName) throw new Error( + "ERR_GET_MODULE_NAME : Could not get module accessor.\n Make sure your module has name, we can't make accessors for unnamed modules\n i.e. @Module({ name: 'something' })" + ); + return "vuexModuleDecorators/" + e._vmdModuleName +} +var ks = function() { + function e(t) { + this.actions = t.actions, this.mutations = t.mutations, this.state = t.state, this.getters = t.getters, this + .namespaced = t.namespaced, this.modules = t.modules + } + return e +}(); + +function Vr(e, t) { + var n = Fs(e); + if (t && t.getters[n]) return t.getters[n]; + if (e._statics) return e._statics; + var r = e._genStatic; + if (!r) throw new Error( + "ERR_GET_MODULE_NO_STATICS : Could not get module accessor.\n Make sure your module has name, we can't make accessors for unnamed modules\n i.e. @Module({ name: 'something' })" + ); + var i = r(t); + return t ? t.getters[n] = i : e._statics = i, i +} +var Ll = ["actions", "getters", "mutations", "modules", "state", "namespaced", "commit"]; + +function Cl(e) { + var t = new e.prototype.constructor({}), + n = {}; + return Object.keys(t).forEach(function(r) { + if (Ll.indexOf(r) !== -1) { + if (typeof t[r] < "u") throw new Error( + "ERR_RESERVED_STATE_KEY_USED: You cannot use the following\n ['actions', 'getters', 'mutations', 'modules', 'state', 'namespaced', 'commit']\n as fields in your module. These are reserved as they have special purpose in Vuex" + ); + return + } + t.hasOwnProperty(r) && typeof t[r] != "function" && (n[r] = t[r]) + }), n +} +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +function dr(e, t, n, r) { + function i(o) { + return o instanceof n ? o : new n(function(s) { + s(o) + }) + } + return new(n || (n = Promise))(function(o, s) { + function a(u) { + try { + l(r.next(u)) + } catch (f) { + s(f) + } + } + + function c(u) { + try { + l(r.throw(u)) + } catch (f) { + s(f) + } + } + + function l(u) { + u.done ? o(u.value) : i(u.value).then(a, c) + } + l((r = r.apply(e, [])).next()) + }) +} + +function hr(e, t) { + var n = { + label: 0, + sent: function() { + if (o[0] & 1) throw o[1]; + return o[1] + }, + trys: [], + ops: [] + }, + r, i, o, s; + return s = { + next: a(0), + throw: a(1), + return: a(2) + }, typeof Symbol == "function" && (s[Symbol.iterator] = function() { + return this + }), s; + + function a(l) { + return function(u) { + return c([l, u]) + } + } + + function c(l) { + if (r) throw new TypeError("Generator is already executing."); + for (; n;) try { + if (r = 1, i && (o = l[0] & 2 ? i.return : l[0] ? i.throw || ((o = i.return) && o.call(i), 0) : i + .next) && !(o = o.call(i, l[1])).done) return o; + switch (i = 0, o && (l = [l[0] & 2, o.value]), l[0]) { + case 0: + case 1: + o = l; + break; + case 4: + return n.label++, { + value: l[1], + done: !1 + }; + case 5: + n.label++, i = l[1], l = [0]; + continue; + case 7: + l = n.ops.pop(), n.trys.pop(); + continue; + default: + if (o = n.trys, !(o = o.length > 0 && o[o.length - 1]) && (l[0] === 6 || l[0] === 2)) { + n = 0; + continue + } + if (l[0] === 3 && (!o || l[1] > o[0] && l[1] < o[3])) { + n.label = l[1]; + break + } + if (l[0] === 6 && n.label < o[1]) { + n.label = o[1], o = l; + break + } + if (o && n.label < o[2]) { + n.label = o[2], n.ops.push(l); + break + } + o[2] && n.ops.pop(), n.trys.pop(); + continue + } + l = t.call(e, n) + } catch (u) { + l = [6, u], i = 0 + } finally { + r = o = 0 + } + if (l[0] & 5) throw l[1]; + return { + value: l[0] ? l[1] : void 0, + done: !0 + } + } +} + +function Li() { + for (var e = 0, t = 0, n = arguments.length; t < n; t++) e += arguments[t].length; + for (var r = Array(e), i = 0, t = 0; t < n; t++) + for (var o = arguments[t], s = 0, a = o.length; s < a; s++, i++) r[i] = o[s]; + return r +} + +function Al(e, t, n) { + var r = t.stateFactory ? e.state() : e.state; + Object.keys(r).forEach(function(i) { + r.hasOwnProperty(i) && ["undefined", "function"].indexOf(typeof r[i]) === -1 && Object.defineProperty(n, + i, { + get: function() { + for (var o = t.name.split("/"), s = n.store.state, a = 0, c = o; a < c + .length; a++) { + var l = c[a]; + s = s[l] + } + return s[i] + } + }) + }) +} + +function Ml(e, t, n) { + Object.keys(e.getters).forEach(function(r) { + e.namespaced ? Object.defineProperty(n, r, { + get: function() { + return n.store.getters[t.name + "/" + r] + } + }) : Object.defineProperty(n, r, { + get: function() { + return n.store.getters[r] + } + }) + }) +} + +function xl(e, t, n) { + Object.keys(e.mutations).forEach(function(r) { + e.namespaced ? n[r] = function() { + for (var i, o = [], s = 0; s < arguments.length; s++) o[s] = arguments[s]; + (i = n.store).commit.apply(i, Li([t.name + "/" + r], o)) + } : n[r] = function() { + for (var i, o = [], s = 0; s < arguments.length; s++) o[s] = arguments[s]; + (i = n.store).commit.apply(i, Li([r], o)) + } + }) +} + +function Rl(e, t, n) { + Object.keys(e.actions).forEach(function(r) { + e.namespaced ? n[r] = function() { + for (var i = [], o = 0; o < arguments.length; o++) i[o] = arguments[o]; + return dr(this, void 0, void 0, function() { + var s; + return hr(this, function(a) { + return [2, (s = n.store).dispatch.apply(s, Li([t.name + "/" + r], i))] + }) + }) + } : n[r] = function() { + for (var i = [], o = 0; o < arguments.length; o++) i[o] = arguments[o]; + return dr(this, void 0, void 0, function() { + var s; + return hr(this, function(a) { + return [2, (s = n.store).dispatch.apply(s, Li([r], i))] + }) + }) + } + }) +} + +function Ol(e, t) { + if (!t.name) throw new Error("Name of module not provided in decorator options"); + if (!t.store) throw new Error("Store not provided in decorator options when using dynamic option"); + t.store.registerModule(t.name, e, { + preserveState: t.preserveState || !1 + }) +} + +function _o(e, t) { + Object.getOwnPropertyNames(t.prototype).forEach(function(n) { + var r = Object.getOwnPropertyDescriptor(t.prototype, n); + r.get && e.getters && (e.getters[n] = function(i, o, s, a) { + var c = { + context: { + state: i, + getters: o, + rootState: s, + rootGetters: a + } + }; + Ti(c, i), Ti(c, o); + var l = r.get.call(c); + return l + }) + }) +} + +function go(e) { + return function(t) { + var n = t, + r = function() { + return Cl(n) + }; + n.state || (n.state = e && e.stateFactory ? r : r()), n.getters || (n.getters = {}), n.namespaced || (n + .namespaced = e && e.namespaced); + for (var i = Object.getPrototypeOf(n); i.name !== "VuexModule" && i.name !== "";) _o(n, i), i = Object + .getPrototypeOf(i); + _o(n, n); + var o = e; + return o.name && (Object.defineProperty(t, "_genStatic", { + value: function(s) { + var a = { + store: s || o.store + }; + if (!a.store) throw new Error( + "ERR_STORE_NOT_PROVIDED: To use getModule(), either the module\n should be decorated with store in decorator, i.e. @Module({store: store}) or\n store should be passed when calling getModule(), i.e. getModule(MyModule, this.$store)" + ); + return Al(n, o, a), n.getters && Ml(n, o, a), n.mutations && xl(n, o, a), n + .actions && Rl(n, o, a), a + } + }), Object.defineProperty(t, "_vmdModuleName", { + value: o.name + })), o.dynamic && Ol(n, o), t + } +} + +function Ps(e) { + if (typeof e == "function") go({})(e); + else return go(e) +} +var Fl = {}; + +function vo(e) { + var t = e || {}, + n = t.commit, + r = n === void 0 ? void 0 : n, + i = t.rawError, + o = i === void 0 ? !!Fl.rawError : i, + s = t.root, + a = s === void 0 ? !1 : s; + return function(c, l, u) { + var f = c.constructor; + f.hasOwnProperty("actions") || (f.actions = Object.assign({}, f.actions)); + var d = u.value, + h = function(p, _) { + return dr(this, void 0, void 0, function() { + var m, g, b, y, S; + return hr(this, function(w) { + switch (w.label) { + case 0: + return w.trys.push([0, 5, , 6]), m = null, f._genStatic ? (g = Fs( + f), b = p.rootGetters[g] ? p.rootGetters[g] : Vr(f), b + .context = p, [4, d.call(b, _)]) : [3, 2]; + case 1: + return m = w.sent(), [3, 4]; + case 2: + return y = { + context: p + }, Ti(y, p.state), Ti(y, p.getters), [4, d.call(y, _)]; + case 3: + m = w.sent(), w.label = 4; + case 4: + return r && p.commit(r, m), [2, m]; + case 5: + throw S = w.sent(), o ? S : new Error( + 'ERR_ACTION_ACCESS_UNDEFINED: Are you trying to access this.someMutation() or this.someGetter inside an @Action? \nThat works only in dynamic modules. \nIf not dynamic use this.context.commit("mutationName", payload) and this.context.getters["getterName"]\n' + + new Error("Could not perform action " + l.toString()) + .stack + "\n" + S.stack); + case 6: + return [2] + } + }) + }) + }; + f.actions[l] = a ? { + root: a, + handler: h + } : h + } +} + +function ie(e, t, n) { + if (!t && !n) return vo(e); + vo()(e, t, n) +} + +function G(e, t, n) { + var r = e.constructor; + r.hasOwnProperty("mutations") || (r.mutations = Object.assign({}, r.mutations)); + var i = n.value, + o = function(s, a) { + i.call(s, a) + }; + r.mutations[t] = o +} +const kl = { + "顟�": "馃巼", + "顛�": "馃崏", + "顚�": "馃拪", + "顚�": "馃毈", + "顎�": "馃巹", + "顎�": "馃尮", + "顚�": "馃帀", + "顚�": "馃尨", + "類�": "馃挐", + "顚�": "馃巰", + "顚�": "馃巿", + "顟�": "馃悮", + "顎�": "馃拲", + "顚�": "馃挘", + "顒�": "馃憫", + "顚�": "馃敂", + "顚�": "猸�", + "顚�": "馃挩", + "顒�": "馃敟", + "顒�": "馃弳", + "顒�": "馃挙", + "顒�": "鈿�", + "顢�": "馃懀", + "顏�": "馃挬", + "顒�": "馃拤", + "顒�": "鈾�", + "顒�": "馃摣", + "顎�": "馃攽", + "顎�": "鉁�", + "類�": "馃殑", + "顎�": "馃殫", + "顒�": "馃殼", + "顒�": "馃毑", + "顒�": "馃悗", + "顒�": "馃殌", + "顓�": "馃殞", + "顎�": "鉀�", + "顎�": "馃懇", + "顎�": "馃懆", + "顎�": "馃懅", + "顎�": "馃懄", + "顒�": "馃惖", + "顒�": "馃悪", + "顒�": "馃拃", + "顢�": "馃悾", + "顢�": "馃惃", + "顢�": "馃惍", + "顢�": "馃悢", + "顢�": "馃惛", + "顒�": "馃懟", + "顢�": "馃悰", + "顢�": "馃悹", + "顏�": "馃惗", + "顏�": "馃惎", + "顏�": "馃懠", + "顏�": "馃惂", + "顏�": "馃惓", + "顏�": "馃惌", + "顚�": "馃憭", + "顚�": "馃憲", + "顚�": "馃拕", + "顒�": "馃憼", + "顚�": "馃憿", + "類�": "馃寕", + "顚�": "馃憸", + "顚�": "馃憴", + "顎�": "馃憻", + "顏�": "鈽�", + "顏�": "鈽�", + "顏�": "鈽�", + "顏�": "鉀�", + "顚�": "猸�", + "顚�": "鉂�", + "顚�": "鉂�", + "顎�": "馃摓", + "顎�": "馃摲", + "顎�": "馃摫", + "顎�": "馃摖", + "顎�": "馃捇", + "顎�": "馃帳", + "顒�": "馃敨", + "類�": "馃槬", + "類�": "馃槒", + "類�": "馃槈", + "顒�": "馃槺", + "類�": "馃槡", + "類�": "馃槤", + "類�": "馃槍", + "類�": "馃槰", + "類�": "馃樂", + "類�": "馃槼", + "類�": "馃槖", + "類�": "馃槹", + "類�": "馃槻", + "類�": "馃槶", + "顒�": "馃槣", + "顓�": "馃挭", + "顎�": "馃憡", + "顎�": "馃憤", + "顎�": "鈽�", + "類�": "馃憦", + "顎�": "鉁�", + "類�": "馃憥", + "類�": "馃檹", + "類�": "馃憣", + "顖�": "馃憟", + "顖�": "馃憠", + "顖�": "馃憜", + "顖�": "馃憞", + "類�": "馃憖", + "類�": "馃憙", + "類�": "馃憚", + "類�": "馃憘", + "顚�": "馃崥", + "顚�": "馃崫", + "顛�": "馃崪", + "顛�": "馃崣", + "類�": "馃崸", + "顛�": "馃崳", + "顛�": "馃巶", + "顚�": "馃崬", + "顒�": "馃崝", + "顓�": "馃嵆", + "顚�": "馃崯", + "顏�": "馃嵑", + "顚�": "馃嵒", + "顏�": "鈽�", + "顛�": "馃崗", + "顛�": "馃崐", + "顛�": "馃崜", + "顒�": "馃捒", + "顖�": "鈾�", + "顒�": "馃��", + "顒�": "銆�", + "顒�": "馃幇", + "顓�": "馃殽", + "顏�": "馃幐", + "顚�": "馃拡", + "顒�": "馃泙", + "顓�": "馃毥", + "顎�": "鉀�", + "顓�": "馃彟", + "顓�": "馃彞", + "顓�": "馃彣", + "顓�": "馃彠", + "顓�": "馃彧", + "顒�": "馃毠", + "顒�": "馃毢", + "顖�": "鈨�#", + "顖�": "鈨�0", + "顖�": "鈨�1", + "顖�": "鈨�2", + "顖�": "鈨�3", + "顖�": "鈨�4", + "顖�": "鈨�5", + "顖�": "鈨�6", + "顖�": "鈨�7", + "顖�": "鈨�8", + "顖�": "鈨�9", + "顗�": "漏", + "顗�": "庐", + "顢�": "馃叞", + "顢�": "馃叡", + "顢�": "馃吘", + "顓�": "馃吙", + "顢�": "馃啂", + "顖�": "馃啋", + "顖�": "馃啍", + "顖�": "馃啎", + "顗�": "馃啑", + "顖�": "馃啓", + "顒�": "馃啔", + "顢�": "馃嚦馃嚚", + "顢�": "馃嚜馃嚛", + "顢�": "馃嚫馃嚜", + "顢�": "馃嚪馃嚝", + "顢�": "馃嚙馃嚞", + "顢�": "馃嚬馃嚠", + "顢�": "馃嚨馃嚡", + "顢�": "馃嚪馃嚢", + "顢�": "馃嚭馃嚪", + "顢�": "馃嚫馃嚭", + "顖�": "馃垇", + "顖�": "馃垈", + "顖�": "馃垰", + "顖�": "馃埊", + "顖�": "馃埑", + "顖�": "馃埖", + "顖�": "馃埗", + "顖�": "馃埛", + "顖�": "馃埜", + "顖�": "馃埞", + "顖�": "馃埡", + "顖�": "馃墣", + "顟�": "馃寑", + "顟�": "馃寖", + "顏�": "馃寗", + "顟�": "馃寘", + "顓�": "馃寙", + "顟�": "馃寚", + "顟�": "馃寛", + "類�": "馃寠", + "顏�": "馃寵", + "顚�": "馃専", + "顚�": "馃尩", + "顚�": "馃尫", + "顎�": "馃尭", + "顚�": "馃尯", + "顚�": "馃尰", + "顟�": "馃尵", + "顒�": "馃崁", + "顒�": "馃崄", + "顒�": "馃崅", + "顟�": "馃崈", + "顛�": "馃崊", + "顛�": "馃崋", + "顚�": "馃崢", + "顛�": "馃崨", + "顚�": "馃崱", + "顛�": "馃崲", + "顚�": "馃崷", + "顏�": "馃嵃", + "顛�": "馃嵄", + "顛�": "馃嵅", + "顏�": "馃嵈", + "顚�": "馃嵉", + "顚�": "馃嵍", + "顏�": "馃嵏", + "顒�": "馃巵", + "顟�": "馃巸", + "顟�": "馃巺", + "顒�": "馃巻", + "顓�": "馃帉", + "類�": "馃帊", + "類�": "馃帋", + "類�": "馃帍", + "顟�": "馃帎", + "顟�": "馃帒", + "類�": "馃帓", + "類�": "馃帗", + "顒�": "馃帯", + "類�": "馃帰", + "顎�": "馃帴", + "顢�": "馃帵", + "顚�": "馃帶", + "顢�": "馃帹", + "顢�": "馃帺", + "顒�": "馃帿", + "顚�": "馃幀", + "顒�": "馃幆", + "類�": "馃幈", + "顎�": "馃幍", + "顚�": "馃幎", + "顏�": "馃幏", + "顏�": "馃幒", + "顎�": "馃幘", + "顎�": "馃幙", + "類�": "馃弨", + "顒�": "馃弫", + "顒�": "馃弮", + "顎�": "馃弰", + "類�": "馃張", + "類�": "馃強", + "顎�": "馃彔", + "顎�": "馃彚", + "顓�": "馃彛", + "顢�": "馃彥", + "顓�": "馃彨", + "顢�": "馃彫", + "顢�": "馃彮", + "顢�": "馃彲", + "顢�": "馃彴", + "顢�": "馃悕", + "顢�": "馃悜", + "顢�": "馃悞", + "顢�": "馃悧", + "顢�": "馃悩", + "顎�": "馃悷", + "顢�": "馃惁", + "顢�": "馃惈", + "顢�": "馃惉", + "顢�": "馃惏", + "顏�": "馃惐", + "顎�": "馃惔", + "顒�": "馃惙", + "顢�": "馃惞", + "顢�": "馃惡", + "顏�": "馃惢", + "類�": "馃憢", + "類�": "馃憪", + "顚�": "馃憯", + "顎�": "馃憰", + "顚�": "馃憳", + "顚�": "馃憽", + "類�": "馃懌", + "顓�": "馃懏", + "類�": "馃懐", + "顢�": "馃懕", + "顢�": "馃懖", + "顢�": "馃懗", + "顢�": "馃懘", + "顢�": "馃懙", + "顢�": "馃懚", + "顢�": "馃懛", + "顢�": "馃懜", + "顒�": "馃懡", + "顒�": "馃懢", + "顒�": "馃懣", + "顗�": "馃拋", + "顢�": "馃拏", + "顢�": "馃拑", + "顚�": "馃拝", + "顚�": "馃拞", + "顚�": "馃拠", + "顎�": "馃拫", + "顎�": "馃拵", + "顒�": "馃拸", + "顚�": "馃拹", + "類�": "馃拺", + "類�": "馃拻", + "顚�": "馃挀", + "顎�": "馃挃", + "顚�": "馃挆", + "顚�": "馃挊", + "顚�": "馃挋", + "顚�": "馃挌", + "顚�": "馃挍", + "顚�": "馃挏", + "顖�": "馃挓", + "顒�": "馃挕", + "顚�": "馃挗", + "顚�": "馃挦", + "顒�": "馃挵", + "顓�": "馃挶", + "顓�": "馃捁", + "顒�": "馃捄", + "顒�": "馃捈", + "顚�": "馃捊", + "顒�": "馃搥", + "顓�": "馃摌", + "顚�": "馃摑", + "顓�": "馃摗", + "顓�": "馃摙", + "顚�": "馃摚", + "顒�": "馃摡", + "顒�": "馃摦", + "顒�": "馃摬", + "顗�": "馃摮", + "顗�": "馃摯", + "顖�": "馃摱", + "顒�": "馃摵", + "顒�": "馃摶", + "顒�": "馃摷", + "顓�": "馃攰", + "顒�": "馃攳", + "顓�": "馃敀", + "顓�": "馃敁", + "顗�": "馃敐", + "顖�": "馃敒", + "顒�": "馃敤", + "顖�": "馃敮", + "顖�": "馃敯", + "顎�": "馃敱", + "顖�": "馃敳", + "顖�": "馃敵", + "顖�": "馃敶", + "顎�": "馃晲", + "顎�": "馃晳", + "顎�": "馃晵", + "顎�": "馃晸", + "顎�": "馃晹", + "顎�": "馃晻", + "顎�": "馃晼", + "顎�": "馃晽", + "顎�": "馃晿", + "顎�": "馃暀", + "顎�": "馃暁", + "顎�": "馃暃", + "顎�": "馃椈", + "顢�": "馃椉", + "顢�": "馃椊", + "類�": "馃榿", + "類�": "馃槀", + "顏�": "馃槂", + "類�": "馃槃", + "顏�": "馃槉", + "顒�": "馃槏", + "顒�": "馃槗", + "類�": "馃様", + "類�": "馃槚", + "類�": "馃槝", + "顏�": "馃槥", + "顏�": "馃槧", + "類�": "馃槨", + "類�": "馃槩", + "類�": "馃槪", + "類�": "馃槳", + "類�": "馃檯", + "類�": "馃檰", + "類�": "馃檱", + "類�": "馃檶", + "顎�": "馃殐", + "顎�": "馃殔", + "類�": "馃殗", + "顎�": "馃殙", + "顓�": "馃殢", + "類�": "馃殤", + "類�": "馃殥", + "類�": "馃殦", + "顓�": "馃殨", + "類�": "馃殭", + "類�": "馃殮", + "顖�": "馃殺", + "顒�": "馃毀", + "顖�": "馃毉", + "顖�": "馃毝", + "顓�": "馃毣", + "顒�": "馃毤", + "顚�": "馃毦", + "顢�": "鈩�", + "顖�": "鈫�", + "顖�": "鈫�", + "顖�": "鈫�", + "顖�": "鈫�", + "顖�": "鈴�", + "顖�": "鈴�", + "顖�": "鈻�", + "顖�": "鈼�", + "類�": "鈽�", + "顖�": "鈾�", + "顗�": "鈾�", + "顗�": "鈾�", + "顗�": "鈾�", + "顗�": "鈾�", + "顗�": "鈾�", + "顗�": "鈾�", + "顗�": "鈾�", + "顗�": "鈾�", + "顗�": "鈾�", + "顗�": "鈾�", + "顗�": "鈾�", + "顖�": "鈾�", + "顖�": "鈾�", + "顖�": "鈾�", + "顖�": "鈾�", + "顗�": "鈿�", + "顎�": "鈿�", + "顎�": "鈿�", + "顗�": "鉀�", + "顒�": "鉀�", + "顎�": "鉀�", + "顒�": "鉀�", + "顎�": "鉀�", + "顚�": "鉁�", + "顎�": "鉁�", + "顎�": "鉁�", + "顚�": "鉁�", + "顖�": "鉁�", + "顖�": "鉁�", + "顚�": "鉂�", + "顎�": "鉂�", + "顎�": "鉂�", + "顎�": "鉂�", + "顖�": "鉃�", + "顖�": "鉃�", + "顖�": "猬�", + "顖�": "猬�", + "顖�": "猬�", + "顚�": "銑�", + "顚�": "銑�" +}; + +function jt(e) { + if (!e) return ""; + const t = []; + for (let n = 0; n < e.length; n += 1) e[n] === "顚�" && e[n + 1] === "類�" ? (t.push("馃槄"), n += 1) : t.push(kl[e[n]] || + e[n]); + return t.join("") +} +const Ns = [/\ufe0e/, /\ufe0f/, /\u20e3/], + Ds = [/\ud83c[\udde6-\uddff]\ud83c[\udde6-\uddff]/, /\ud83c\udff4(?:\udb40[\udc20-\udc7e])+?\udb40\udc7f/, + /[\ud800-\udbff][\udc00-\udfff]/, new RegExp(".(?:".concat(Ns.map(e => e.source).join("|"), ")+")), + /[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55\u00A9\u00AE\u203C\u2049\u2122\u2139\u2194\u2195\u2196\u2197\u2198\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263a\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u26F9\u2702\u2708\u2709\u270C\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u2764\u27A1\u2934\u2935\u2B05-\u2b07\u3030\u303D\u3297\u3299\u261D\u26F9\u270A-\u270d]/ + ], + Pl = /\u200d/, + Nl = /\ud83c[\udffb-\udfff]/, + Bs = [Nl, ...Ns], + Dl = new RegExp("^".concat(Pl.source)), + js = new RegExp("^(?:".concat(Ds.map(e => e.source).join("|"), ")")), + Us = new RegExp("(?:".concat(Ds.map(e => e.source).join("|"), ")")), + Bl = new RegExp("".concat(js.source, "(?:").concat(Bs.map(e => "(?:".concat(e.source, ")")).join("|"), ")*")), + jl = new RegExp("".concat(Us.source, "(?:").concat(Bs.map(e => "(?:".concat(e.source, ")")).join("|"), ")*")); + +function Ul(e) { + let t = ""; + const n = e.match(Dl); + return n && (t += n[0] + Vs(e.substring(n[0].length))), t +} + +function Vs(e, t = !0) { + let n = ""; + if ((t ? js : Us).test(e)) { + const r = t ? Bl : jl, + i = e.match(r); + i && (n += i[0] + Ul(e.substring(e.indexOf(n) + i[0].length))) + } + return n +} + +function yo(e = "") { + const t = []; + let n = e; + for (; n.length > 0;) { + const r = Vs(n, !1); + if (r) { + const i = n.indexOf(r); + i > 0 && t.push({ + text: n.slice(0, i), + type: "text" + }), t.push({ + text: r, + type: "emoji" + }), n = n.slice(i + r.length) + } else t.push({ + text: n, + type: "text" + }), n = "" + } + return t +} + +function mp(e, t = !1) { + if (t) { + const i = [], + o = yo(e); + for (const s of o) s.type === "text" ? i.push(...s.text.split("").map(a => [a, !1])) : i.push([s.text, !0]); + return i + } + const n = [], + r = yo(e); + for (const i of r) i.type === "text" ? n.push(...i.text.split("")) : n.push(i.text); + return n +} +var li, Vl = new Uint8Array(16); + +function Hl() { + if (!li && (li = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || + typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind( + msCrypto), !li)) throw new Error( + "crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported" + ); + return li(Vl) +} +const $l = + /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; + +function ql(e) { + return typeof e == "string" && $l.test(e) +} +var Ke = []; +for (var Ki = 0; Ki < 256; ++Ki) Ke.push((Ki + 256).toString(16).substr(1)); + +function Gl(e) { + var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, + n = (Ke[e[t + 0]] + Ke[e[t + 1]] + Ke[e[t + 2]] + Ke[e[t + 3]] + "-" + Ke[e[t + 4]] + Ke[e[t + 5]] + "-" + Ke[e[ + t + 6]] + Ke[e[t + 7]] + "-" + Ke[e[t + 8]] + Ke[e[t + 9]] + "-" + Ke[e[t + 10]] + Ke[e[t + 11]] + Ke[e[ + t + 12]] + Ke[e[t + 13]] + Ke[e[t + 14]] + Ke[e[t + 15]]).toLowerCase(); + if (!ql(n)) throw TypeError("Stringified UUID is invalid"); + return n +} + +function Wl(e, t, n) { + e = e || {}; + var r = e.random || (e.rng || Hl)(); + return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, Gl(r) +} +var Hs = { + exports: {} +}; +/*! + * weui.js v1.2.21 (https://weui.io) + * Copyright 2024, wechat ui team + * MIT license + */ +(function(e, t) { + (function(n, r) { + e.exports = r() + })(ki, function() { + return function(n) { + function r(o) { + if (i[o]) return i[o].exports; + var s = i[o] = { + exports: {}, + id: o, + loaded: !1 + }; + return n[o].call(s.exports, s, s.exports, r), s.loaded = !0, s.exports + } + var i = {}; + return r.m = n, r.c = i, r.p = "", r(0) + }([function(n, r, i) { + function o(U) { + return U && U.__esModule ? U : { + default: U + } + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var s = i(1), + a = o(s), + c = i(7), + l = o(c), + u = i(8), + f = o(u), + d = i(9), + h = o(d), + p = i(11), + _ = o(p), + m = i(13), + g = o(m), + b = i(15), + y = o(b), + S = i(17), + w = o(S), + k = i(18), + v = o(k), + I = i(19), + T = o(I), + A = i(20), + L = o(A), + O = i(24), + $ = i(30), + B = o($), + F = i(32), + N = o(F); + r.default = { + dialog: a.default, + alert: l.default, + confirm: f.default, + toast: h.default, + loading: _.default, + actionSheet: g.default, + topTips: y.default, + searchBar: w.default, + tab: v.default, + form: T.default, + uploader: L.default, + picker: O.picker, + datePicker: O.datePicker, + gallery: B.default, + slider: N.default + }, n.exports = r.default + }, function(n, r, i) { + function o(d) { + return d && d.__esModule ? d : { + default: d + } + } + + function s() { + function d(y) { + d = c.default.noop, b.addClass("weui-animate-fade-out"), g.addClass( + "weui-animate-fade-out").on("animationend webkitAnimationEnd", + function() { + m.remove(), f = !1, y && y() + }) + } + + function h(y) { + d(y) + } + var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; + if (f) return f; + var _ = c.default.os.android; + p = c.default.extend({ + title: null, + content: "", + className: "", + buttons: [{ + label: "纭畾", + type: "primary", + onClick: c.default.noop + }], + isAndroid: _ + }, p); + var m = (0, c.default)(c.default.render(u.default, p)), + g = m.find(".weui-dialog"), + b = m.find(".weui-mask"); + return (0, c.default)("body").append(m), b.addClass("weui-animate-fade-in"), g + .addClass("weui-animate-fade-in").on("animationend webkitAnimationEnd", + function(y) { + y.target.focus() + }), m.on("click", ".weui-dialog__btn", function(y) { + var S = (0, c.default)(this).index(); + p.buttons[S].onClick ? p.buttons[S].onClick.call(this, y) !== !1 && + h() : h() + }).on("touchmove", function(y) { + y.stopPropagation(), y.preventDefault() + }), f = m[0], f.hide = h, f + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var a = i(2), + c = o(a), + l = i(6), + u = o(l), + f = void 0; + r.default = s, n.exports = r.default + }, function(n, r, i) { + function o(d) { + return d && d.__esModule ? d : { + default: d + } + } + + function s(d) { + var h = this.os = {}, + p = d.match(/(Android);?[\s\/]+([\d.]+)?/); + p && (h.android = !0, h.version = p[2]) + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function( + d) { + return typeof d + } : function(d) { + return d && typeof Symbol == "function" && d.constructor === Symbol && d !== + Symbol.prototype ? "symbol" : typeof d + }; + i(3); + var c = i(4), + l = o(c), + u = i(5), + f = o(u); + s.call(f.default, navigator.userAgent), (0, l.default)(f.default.fn, { + append: function(d) { + return d instanceof HTMLElement || (d = d[0]), this.forEach( + function(h) { + h.appendChild(d) + }), this + }, + remove: function() { + return this.forEach(function(d) { + d.parentNode.removeChild(d) + }), this + }, + find: function(d) { + return (0, f.default)(d, this) + }, + addClass: function(d) { + return this.forEach(function(h) { + h.classList.add(d) + }), this + }, + removeClass: function(d) { + return this.forEach(function(h) { + h.classList.remove(d) + }), this + }, + eq: function(d) { + return (0, f.default)(this[d]) + }, + show: function() { + return this.forEach(function(d) { + d.style.display = "block" + }), this + }, + hide: function() { + return this.forEach(function(d) { + d.style.display = "none" + }), this + }, + html: function(d) { + return this.forEach(function(h) { + h.innerHTML = d + }), this + }, + css: function(d) { + var h = this; + return Object.keys(d).forEach(function(p) { + h.forEach(function(_) { + _.style[p] = d[p] + }) + }), this + }, + on: function(d, h, p) { + var _ = typeof h == "string" && typeof p == "function"; + return _ || (p = h), this.forEach(function(m) { + d.split(" ").forEach(function(g) { + m.addEventListener(g, function(b) { + _ ? this.contains(b.target + .closest(h)) && p.call(b + .target, b) : p.call( + this, b) + }) + }) + }), this + }, + off: function(d, h, p) { + return typeof h == "function" && (p = h, h = null), this.forEach( + function(_) { + d.split(" ").forEach(function(m) { + typeof h == "string" ? _.querySelectorAll(h) + .forEach(function(g) { + g.removeEventListener(m, p) + }) : _.removeEventListener(m, p) + }) + }), this + }, + index: function() { + var d = this[0], + h = d.parentNode; + return Array.prototype.indexOf.call(h.children, d) + }, + offAll: function() { + var d = this; + return this.forEach(function(h, p) { + var _ = h.cloneNode(!0); + h.parentNode.replaceChild(_, h), d[p] = _ + }), this + }, + val: function() { + var d = arguments; + return arguments.length ? (this.forEach(function(h) { + h.value = d[0] + }), this) : this[0].value + }, + attr: function() { + var d = arguments; + if (a(arguments[0]) == "object") { + var h = arguments[0], + p = this; + return Object.keys(h).forEach(function(_) { + p.forEach(function(m) { + m.setAttribute(_, h[_]) + }) + }), this + } + return typeof arguments[0] == "string" && arguments.length < 2 ? + this[0].getAttribute(arguments[0]) : (this.forEach(function(_) { + _.setAttribute(d[0], d[1]) + }), this) + } + }), (0, l.default)(f.default, { + extend: l.default, + noop: function() {}, + render: function(d, h) { + var p = "var p=[];with(this){p.push('" + d.replace(/[\r\t\n]/g, " ") + .split("<%!"(MISSING)).join(" ").replace( + /((^|%!>(MISSING))[^\t]*)'/g, "$1\r").replace( + /\t=(.*?)%!>(MISSING)/g, "',$1,'").split(" ").join("');") + .split("%!>(MISSING)").join("p.push('").split("\r").join( + "\\'") + "');}return p.join('');"; + return new Function(p).apply(h) + }, + getStyle: function(d, h) { + var p, _ = (d.ownerDocument || document).defaultView; + return _ && _.getComputedStyle ? (h = h.replace(/([A-Z])/g, "-$1") + .toLowerCase(), _.getComputedStyle(d, null) + .getPropertyValue(h)) : d.currentStyle ? (h = h.replace( + /\-(\w)/g, + function(m, g) { + return g.toUpperCase() + }), p = d.currentStyle[h], + /^\d+(em|pt|%!|(MISSING)ex)?$/i.test(p) ? function(m) { + var g = d.style.left, + b = d.runtimeStyle.left; + return d.runtimeStyle.left = d.currentStyle.left, d + .style.left = m || 0, m = d.style.pixelLeft + "px", + d.style.left = g, d.runtimeStyle.left = b, m + }(p) : p) : void 0 + } + }), r.default = f.default, n.exports = r.default + }, function(n, r) { + (function(i) { + typeof i.matches != "function" && (i.matches = i.msMatchesSelector || i + .mozMatchesSelector || i.webkitMatchesSelector || function(o) { + for (var s = this, a = (s.document || s.ownerDocument) + .querySelectorAll(o), c = 0; a[c] && a[c] !== s;) ++c; + return !!a[c] + }), typeof i.closest != "function" && (i.closest = function(o) { + for (var s = this; s && s.nodeType === 1;) { + if (s.matches(o)) return s; + s = s.parentNode + } + return null + }) + })(window.Element.prototype) + }, function(n, r) { + /* + object-assign + (c) Sindre Sorhus + @license MIT + */ + function i(l) { + if (l == null) throw new TypeError( + "Object.assign cannot be called with null or undefined"); + return Object(l) + } + + function o() { + try { + if (!Object.assign) return !1; + var l = new String("abc"); + if (l[5] = "de", Object.getOwnPropertyNames(l)[0] === "5") return !1; + for (var u = {}, f = 0; f < 10; f++) u["_" + String.fromCharCode(f)] = f; + var d = Object.getOwnPropertyNames(u).map(function(p) { + return u[p] + }); + if (d.join("") !== "0123456789") return !1; + var h = {}; + return "abcdefghijklmnopqrst".split("").forEach(function(p) { + h[p] = p + }), Object.keys(Object.assign({}, h)).join("") === "abcdefghijklmnopqrst" + } catch (p) { + return !1 + } + } + var s = Object.getOwnPropertySymbols, + a = Object.prototype.hasOwnProperty, + c = Object.prototype.propertyIsEnumerable; + n.exports = o() ? Object.assign : function(l, u) { + for (var f, d, h = i(l), p = 1; p < arguments.length; p++) { + f = Object(arguments[p]); + for (var _ in f) a.call(f, _) && (h[_] = f[_]); + if (s) { + d = s(f); + for (var m = 0; m < d.length; m++) c.call(f, d[m]) && (h[d[m]] = f[d[ + m]]) + } + } + return h + } + }, function(n, r, i) { + var o, s; + (function(a, c) { + c = function(l, u, f) { + function d(h, p, _) { + return _ = Object.create(d.fn), h && _.push.apply(_, h[u] ? [h] : + "" + h === h ? /</.test(h) ? ((p = l.createElement(p || u)) + .innerHTML = h, p.children) : p ? (p = d(p)[0]) ? p[f]( + h) : _ : l[f](h) : typeof h == "function" ? l + .readyState[7] ? h() : l[u]("DOMContentLoaded", h) : h), _ + } + return d.fn = [], d.one = function(h, p) { + return d(h, p)[0] || null + }, d + }(document, "addEventListener", "querySelectorAll"), o = [], s = ( + function() { + return c + }).apply(r, o), s !== void 0 && (n.exports = s) + })() + }, function(n, r) { + n.exports = + '<div class="<%!=(MISSING)className%!>(MISSING)"> <div class=weui-mask></div> <div class="weui-dialog <%!i(MISSING)f(isAndroid){ %!>(MISSING) weui-skin_android <%!}(MISSING) %!>(MISSING)" role=dialog aria-modal=true tabindex=-1> <%!i(MISSING)f (title) { %!>(MISSING) <div class=weui-dialog__hd><strong class=weui-dialog__title><%!=(MISSING)title%!>(MISSING)</strong></div> <%!}(MISSING) %!>(MISSING) <div class=weui-dialog__bd><%!=(MISSING)content%!>(MISSING)</div> <div class=weui-dialog__ft> <%!f(MISSING)or(var i = 0; i < buttons.length; i++){ %!>(MISSING) <a href=javascript:; class="weui-dialog__btn weui-dialog__btn_<%!=(MISSING)buttons[i][\'type\']%!>(MISSING)" role=button><%!=(MISSING)buttons[i][\'label\']%!>(MISSING)</a> <%!}(MISSING) %!>(MISSING) </div> </div> </div> ' + }, function(n, r, i) { + function o(d) { + return d && d.__esModule ? d : { + default: d + } + } + + function s() { + var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", + h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : l.default + .noop, + p = arguments[2]; + return (typeof h > "u" ? "undefined" : a(h)) === "object" && (p = h, h = l.default + .noop), p = l.default.extend({ + content: d, + buttons: [{ + label: "纭畾", + type: "primary", + onClick: h + }] + }, p), (0, f.default)(p) + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function( + d) { + return typeof d + } : function(d) { + return d && typeof Symbol == "function" && d.constructor === Symbol && d !== + Symbol.prototype ? "symbol" : typeof d + }, + c = i(2), + l = o(c), + u = i(1), + f = o(u); + r.default = s, n.exports = r.default + }, function(n, r, i) { + function o(d) { + return d && d.__esModule ? d : { + default: d + } + } + + function s() { + var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", + h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : l.default + .noop, + p = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : l.default + .noop, + _ = arguments[3]; + return (typeof h > "u" ? "undefined" : a(h)) === "object" ? (_ = h, h = l.default + .noop) : (typeof p > "u" ? "undefined" : a(p)) === "object" && (_ = p, p = l + .default.noop), _ = l.default.extend({ + content: d, + buttons: [{ + label: "鍙栨秷", + type: "default", + onClick: p + }, { + label: "纭畾", + type: "primary", + onClick: h + }] + }, _), (0, f.default)(_) + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function( + d) { + return typeof d + } : function(d) { + return d && typeof Symbol == "function" && d.constructor === Symbol && d !== + Symbol.prototype ? "symbol" : typeof d + }, + c = i(2), + l = o(c), + u = i(1), + f = o(u); + r.default = s, n.exports = r.default + }, function(n, r, i) { + function o(d) { + return d && d.__esModule ? d : { + default: d + } + } + + function s() { + var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", + h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; + if (f) return f; + typeof h == "number" && (h = { + duration: h + }), typeof h == "function" && (h = { + callback: h + }), h = c.default.extend({ + content: d, + duration: 3e3, + callback: c.default.noop, + className: "", + extClass: "" + }, h); + var p = (0, c.default)(c.default.render(u.default, h)), + _ = p.find(".weui-toast"), + m = p.find(".weui-mask"); + return (0, c.default)("body").append(p), _.addClass("weui-animate-fade-in"), m + .addClass("weui-animate-fade-in"), setTimeout(function() { + m.addClass("weui-animate-fade-out"), _.addClass("weui-animate-fade-out") + .on("animationend webkitAnimationEnd", function() { + p.remove(), f = !1, h.callback() + }) + }, h.duration), f = p[0], p[0] + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var a = i(2), + c = o(a), + l = i(10), + u = o(l), + f = void 0; + r.default = s, n.exports = r.default + }, function(n, r) { + n.exports = + '<div class="<%!=(MISSING) className %!>(MISSING)" role=alert> <div class=weui-mask_transparent></div> <div class="weui-toast <%!=(MISSING) extClass %!>(MISSING)"> <i class="weui-icon_toast weui-icon-success-no-circle"></i> <p class=weui-toast__content><%!=(MISSING)content%!>(MISSING)</p> </div> </div> ' + }, function(n, r, i) { + function o(d) { + return d && d.__esModule ? d : { + default: d + } + } + + function s() { + function d(y) { + d = c.default.noop, b.addClass("weui-animate-fade-out"), g.addClass( + "weui-animate-fade-out").on("animationend webkitAnimationEnd", + function() { + m.remove(), f = !1, y && y() + }) + } + + function h(y) { + d(y) + } + var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", + _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; + if (f) return f; + _ = c.default.extend({ + content: p, + className: "" + }, _); + var m = (0, c.default)(c.default.render(u.default, _)), + g = m.find(".weui-toast"), + b = m.find(".weui-mask"); + return (0, c.default)("body").append(m), g.addClass("weui-animate-fade-in"), b + .addClass("weui-animate-fade-in"), f = m[0], f.hide = h, f + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var a = i(2), + c = o(a), + l = i(12), + u = o(l), + f = void 0; + r.default = s, n.exports = r.default + }, function(n, r) { + n.exports = + '<div class="weui-loading_toast <%!=(MISSING) className %!>(MISSING)" role=alert> <div class=weui-mask_transparent></div> <div class=weui-toast> <span class="weui-primary-loading weui-icon_toast"> <span class=weui-primary-loading__dot></span> </span> <p class=weui-toast__content><%!=(MISSING)content%!>(MISSING)</p> </div> </div> ' + }, function(n, r, i) { + function o(d) { + return d && d.__esModule ? d : { + default: d + } + } + + function s() { + function d(w) { + d = c.default.noop, y.addClass(m.isAndroid ? "weui-animate-fade-out" : + "weui-animate-slide-down"), S.addClass("weui-animate-fade-out").on( + "animationend webkitAnimationEnd", + function() { + b.remove(), f = !1, m.onClose(), w && w() + }) + } + + function h(w) { + d(w) + } + var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], + _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], + m = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; + if (f) return f; + var g = c.default.os.android; + m = c.default.extend({ + menus: p, + actions: _, + title: "", + className: "", + isAndroid: g, + onClose: c.default.noop, + onClickMask: c.default.noop + }, m); + var b = (0, c.default)(c.default.render(u.default, m)), + y = b.find(".weui-actionsheet"), + S = b.find(".weui-mask"); + return (0, c.default)("body").append(b), c.default.getStyle(y[0], "transform"), y + .addClass(m.isAndroid ? "weui-animate-fade-in" : "weui-animate-slide-up").on( + "animationend webkitAnimationEnd", + function(w) { + w.target.focus() + }), S.addClass("weui-animate-fade-in").on("click", function() { + m.onClickMask(), h() + }).on("touchmove", function(w) { + w.preventDefault() + }), b.find(".weui-actionsheet__menu").on("click", ".weui-actionsheet__cell", + function(w) { + var k = (0, c.default)(this).index(); + p[k].onClick.call(this, w), h() + }), b.find(".weui-actionsheet__action").on("click", + ".weui-actionsheet__cell", + function(w) { + var k = (0, c.default)(this).index(); + _[k].onClick.call(this, w), h() + }), b.find(".weui-actionsheet__close").on("click", function() { + m.onClickMask(), h() + }), b.on("touchmove", function(w) { + w.preventDefault() + }), f = b[0], f.hide = h, f + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var a = i(2), + c = o(a), + l = i(14), + u = o(l), + f = void 0; + r.default = s, n.exports = r.default + }, function(n, r) { + n.exports = + '<div class="<%!i(MISSING)f(isAndroid){ %!>(MISSING)weui-skin_android <%!}(MISSING) %!>(MISSING)<%!=(MISSING) className %!>(MISSING)"> <div class=weui-mask></div> <div class=weui-actionsheet role=dialog aria-modal=true tabindex=-1> <button class="weui-hidden_abs weui-actionsheet__close">鍏抽棴</button> <%!i(MISSING)f(!isAndroid && title){ %!>(MISSING) <div class=weui-actionsheet__title> <p class=weui-actionsheet__title-text><%!=(MISSING) title %!>(MISSING)</p> </div> <%!}(MISSING) %!>(MISSING) <div class=weui-actionsheet__menu> <%!f(MISSING)or(var i = 0; i < menus.length; i++){ %!>(MISSING) <div class="weui-actionsheet__cell <%!=(MISSING) menus[i].className %!>(MISSING)" role=button><%!=(MISSING) menus[i].label %!>(MISSING)</div> <%!}(MISSING) %!>(MISSING) </div> <div class=weui-actionsheet__action> <%!f(MISSING)or(var j = 0; j < actions.length; j++){ %!>(MISSING) <div class="weui-actionsheet__cell <%!=(MISSING) actions[j].className %!>(MISSING)" role=button><%!=(MISSING) actions[j].label %!>(MISSING)</div> <%!}(MISSING) %!>(MISSING) </div> </div> </div> ' + }, function(n, r, i) { + function o(d) { + return d && d.__esModule ? d : { + default: d + } + } + + function s(d) { + function h(g) { + h = c.default.noop, m.remove(), g && g(), _.callback(), f = null + } + + function p(g) { + h(g) + } + var _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; + typeof _ == "number" && (_ = { + duration: _ + }), typeof _ == "function" && (_ = { + callback: _ + }), _ = c.default.extend({ + content: d, + duration: 3e3, + callback: c.default.noop, + className: "" + }, _); + var m = (0, c.default)(c.default.render(u.default, _)); + return (0, c.default)("body").append(m), f && (clearTimeout(f.timeout), f.hide()), + f = { + hide: p + }, f.timeout = setTimeout(p, _.duration), m[0].hide = p, m[0] + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var a = i(2), + c = o(a), + l = i(16), + u = o(l), + f = null; + r.default = s, n.exports = r.default + }, function(n, r) { + n.exports = + '<div class="weui-toptips weui-toptips_warn <%!=(MISSING) className %!>(MISSING)" style=display:block role=alert><%!=(MISSING) content %!>(MISSING)</div> ' + }, function(n, r, i) { + function o(l) { + return l && l.__esModule ? l : { + default: l + } + } + + function s(l) { + var u = (0, c.default)(l); + return u.forEach(function(f) { + function d() { + _.val(""), h.removeClass("weui-search-bar_focusing") + } + var h = (0, c.default)(f), + p = h.find(".weui-search-bar__label"), + _ = h.find(".weui-search-bar__input"), + m = h.find(".weui-icon-clear"), + g = h.find(".weui-search-bar__cancel-btn"); + p.on("click", function() { + h.addClass("weui-search-bar_focusing"), _[0].focus() + }), _.on("blur", function() { + this.value.length || d() + }), m.on("click", function() { + _.val(""), _[0].focus() + }), g.on("click", function() { + d(), _[0].blur() + }) + }), u + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var a = i(2), + c = o(a); + r.default = s, n.exports = r.default + }, function(n, r, i) { + function o(l) { + return l && l.__esModule ? l : { + default: l + } + } + + function s(l) { + var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, + f = (0, c.default)(l); + return u = c.default.extend({ + defaultIndex: 0, + onChange: c.default.noop + }, u), f.forEach(function(d) { + var h = (0, c.default)(d), + p = h.find(".weui-navbar__item, .weui-tabbar__item"), + _ = h.find(".weui-tab__content"); + p.eq(u.defaultIndex).addClass("weui-bar__item_on"), _.eq(u.defaultIndex) + .show(), p.on("click", function() { + var m = (0, c.default)(this), + g = m.index(); + p.removeClass("weui-bar__item_on"), m.addClass( + "weui-bar__item_on"), _.hide(), _.eq(g).show(), u + .onChange.call(this, g) + }) + }), this + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var a = i(2), + c = o(a); + r.default = s, n.exports = r.default + }, function(n, r, i) { + function o(m) { + return m && m.__esModule ? m : { + default: m + } + } + + function s(m) { + return m && m.classList ? m.classList.contains("weui-cell") ? m : s(m.parentNode) : + null + } + + function a(m, g, b) { + var y = m[0], + S = m.val(); + if (y.tagName == "INPUT" || y.tagName == "TEXTAREA") { + var w = y.getAttribute("pattern") || ""; + if (y.type == "radio") { + for (var k = g.find('input[type="radio"][name="' + y.name + '"]'), v = 0, + I = k.length; v < I; ++v) + if (k[v].checked) return null; + return "empty" + } + if (y.type == "checkbox") { + if (w) { + var T = g.find('input[type="checkbox"][name="' + y.name + '"]'), + A = w.replace(/[{\s}]/g, "").split(","), + L = 0; + if (A.length != 2) throw y.outerHTML + " regexp is wrong."; + return T.forEach(function(O) { + O.checked && ++L + }), A[1] === "" ? L >= parseInt(A[0]) ? null : L == 0 ? "empty" : + "notMatch" : parseInt(A[0]) <= L && L <= parseInt(A[1]) ? null : + L == 0 ? "empty" : "notMatch" + } + return y.checked ? null : "empty" + } + if (w) { + if (/^REG_/.test(w)) { + if (!b) throw "RegExp " + w + " is empty."; + if (w = w.replace(/^REG_/, ""), !b[w]) throw "RegExp " + w + + " has not found."; + w = b[w] + } + return new RegExp(w).test(S) ? null : m.val().length ? "notMatch" : "empty" + } + return m.val().length ? null : "empty" + } + return S.length ? null : "empty" + } + + function c(m) { + var g = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : h.default + .noop, + b = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, + y = (0, h.default)(m); + return y.forEach(function(S) { + var w = (0, h.default)(S), + k = w.find("[required]"); + typeof g != "function" && (g = u); + for (var v = 0, I = k.length; v < I; ++v) { + var T = k.eq(v), + A = a(T, w, b.regexp), + L = { + ele: T[0], + msg: A + }; + if (A) return void(g(L) || u(L)) + } + g(null) + }), this + } + + function l(m) { + var g = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, + b = (0, h.default)(m); + return b.forEach(function(y) { + var S = (0, h.default)(y); + S.find("[required]").on("blur", function() { + if (this.type != "checkbox" && this.type != "radio") { + var w = (0, h.default)(this); + if (!(w.val().length < 1)) { + var k = a(w, S, g.regexp); + k && u({ + ele: w[0], + msg: k + }) + } + } + }).on("focus", function() { + f(this) + }) + }), this + } + + function u(m) { + if (m) { + var g = (0, h.default)(m.ele), + b = m.msg, + y = g.attr(b + "Tips") || g.attr("tips") || g.attr("placeholder"); + if (y && (0, _.default)(y), m.ele.type == "checkbox" || m.ele.type == "radio") + return; + var S = s(m.ele); + S && S.classList.add("weui-cell_warn") + } + } + + function f(m) { + var g = s(m); + g && g.classList.remove("weui-cell_warn") + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var d = i(2), + h = o(d), + p = i(15), + _ = o(p); + r.default = { + showErrorTips: u, + hideErrorTips: f, + validate: c, + checkIfBlur: l + }, n.exports = r.default + }, function(n, r, i) { + function o(_) { + return _ && _.__esModule ? _ : { + default: _ + } + } + + function s(_, m) { + function g(O, $) { + var B = O.find('[data-id="' + $ + '"]'), + F = B.find(".weui-uploader__file-content"); + return F.length || (F = (0, c.default)( + '<div class="weui-uploader__file-content"></div>'), B.append(F)), B + .addClass("weui-uploader__file_status"), F + } + + function b(O, $) { + var B = O.find('[data-id="' + $ + '"]').removeClass( + "weui-uploader__file_status"); + B.find(".weui-uploader__file-content").remove() + } + + function y(O) { + O.url = w.createObjectURL(O), O.status = "ready", O.upload = function() { + (0, h.default)(c.default.extend({ + $uploader: S, + file: O + }, m)) + }, O.stop = function() { + this.xhr.abort() + }, m.onQueued(O), m.auto && O.upload() + } + var S = (0, c.default)(_), + w = window.URL || window.webkitURL || window.mozURL; + if (m = c.default.extend({ + url: "", + auto: !0, + type: "file", + fileVal: "file", + xhrFields: {}, + onBeforeQueued: c.default.noop, + onQueued: c.default.noop, + onBeforeSend: c.default.noop, + onSuccess: c.default.noop, + onProgress: c.default.noop, + onError: c.default.noop + }, m), m.compress !== !1 && (m.compress = c.default.extend({ + width: 1600, + height: 1600, + quality: .8 + }, m.compress)), m.onBeforeQueued) { + var k = m.onBeforeQueued; + m.onBeforeQueued = function(O, $) { + var B = k.call(O, $); + if (B === !1) return !1; + if (B !== !0) { + var F = (0, c.default)(c.default.render(u.default, { + id: O.id + })); + S.find(".weui-uploader__files").append(F) + } + } + } + if (m.onQueued) { + var v = m.onQueued; + m.onQueued = function(O) { + if (!v.call(O)) { + var $ = S.find('[data-id="' + O.id + '"]'); + $.css({ + backgroundImage: 'url("' + (O.base64 || O.url) + '")' + }), m.auto || b(S, O.id) + } + } + } + if (m.onBeforeSend) { + var I = m.onBeforeSend; + m.onBeforeSend = function(O, $, B) { + var F = I.call(O, $, B); + if (F === !1) return !1 + } + } + if (m.onSuccess) { + var T = m.onSuccess; + m.onSuccess = function(O, $) { + O.status = "success", T.call(O, $) || b(S, O.id) + } + } + if (m.onProgress) { + var A = m.onProgress; + m.onProgress = function(O, $) { + A.call(O, $) || g(S, O.id).html($ + "%!"(MISSING)) + } + } + if (m.onError) { + var L = m.onError; + m.onError = function(O, $) { + O.status = "fail", L.call(O, $) || g(S, O.id).html( + '<i class="weui-icon-warn"></i>') + } + } + S.find('input[type="file"]').on("change", function(O) { + var $ = O.target.files; + $.length !== 0 && (m.compress === !1 && m.type == "file" ? Array + .prototype.forEach.call($, function(B) { + B.id = ++p, m.onBeforeQueued(B, $) !== !1 && y(B) + }) : Array.prototype.forEach.call($, function(B) { + B.id = ++p, m.onBeforeQueued(B, $) !== !1 && (0, f + .compress)(B, m, function(F) { + F && y(F) + }) + }), this.value = "") + }) + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var a = i(2), + c = o(a), + l = i(21), + u = o(l), + f = i(22), + d = i(23), + h = o(d), + p = 0; + r.default = s, n.exports = r.default + }, function(n, r) { + n.exports = + '<li class="weui-uploader__file weui-uploader__file_status" data-id="<%!=(MISSING) id %!>(MISSING)" role=img> <div class=weui-uploader__file-content> <i class=weui-loading style=width:30px;height:30px></i> </div> </li> ' + }, function(n, r) { + function i(u) { + var f, d = u.naturalHeight, + h = document.createElement("canvas"); + h.width = 1, h.height = d; + var p = h.getContext("2d"); + p.drawImage(u, 0, 0); + try { + f = p.getImageData(0, 0, 1, d).data + } catch (S) { + return 1 + } + for (var _ = 0, m = d, g = d; g > _;) { + var b = f[4 * (g - 1) + 3]; + b === 0 ? m = g : _ = g, g = m + _ >> 1 + } + var y = g / d; + return y === 0 ? 1 : y + } + + function o(u) { + for (var f = atob(u.split(",")[1]), d = new ArrayBuffer(f.length), h = + new Uint8Array(d), p = 0; p < f.length; p++) h[p] = f.charCodeAt(p); + return d + } + + function s(u) { + var f = u.split(",")[0].split(":")[1].split(";")[0], + d = o(u); + return new Blob([d], { + type: f + }) + } + + function a(u) { + var f = new DataView(u); + if (f.getUint16(0, !1) != 65496) return -2; + for (var d = f.byteLength, h = 2; h < d;) { + var p = f.getUint16(h, !1); + if (h += 2, p == 65505) { + if (f.getUint32(h += 2, !1) != 1165519206) return -1; + var _ = f.getUint16(h += 6, !1) == 18761; + h += f.getUint32(h + 4, _); + var m = f.getUint16(h, _); + h += 2; + for (var g = 0; g < m; g++) + if (f.getUint16(h + 12 * g, _) == 274) return f.getUint16(h + 12 * g + + 8, _) + } else { + if ((65280 & p) != 65280) break; + h += f.getUint16(h, !1) + } + } + return -1 + } + + function c(u, f, d) { + var h = u.width, + p = u.height; + switch (d > 4 && (u.width = p, u.height = h), d) { + case 2: + f.translate(h, 0), f.scale(-1, 1); + break; + case 3: + f.translate(h, p), f.rotate(Math.PI); + break; + case 4: + f.translate(0, p), f.scale(1, -1); + break; + case 5: + f.rotate(.5 * Math.PI), f.scale(1, -1); + break; + case 6: + f.rotate(.5 * Math.PI), f.translate(0, -p); + break; + case 7: + f.rotate(.5 * Math.PI), f.translate(h, -p), f.scale(-1, 1); + break; + case 8: + f.rotate(-.5 * Math.PI), f.translate(-h, 0) + } + } + + function l(u, f, d) { + var h = new FileReader; + h.onload = function(p) { + if (f.compress === !1) return u.base64 = p.target.result, void d(u); + var _ = new Image; + _.onload = function() { + var m = i(_), + g = a(o(_.src)), + b = document.createElement("canvas"), + y = b.getContext("2d"), + S = f.compress.width, + w = f.compress.height, + k = _.width, + v = _.height, + I = void 0; + if (k < v && v > w ? (k = parseInt(w * _.width / _.height), v = w) : + k >= v && k > S && (v = parseInt(S * _.height / _.width), k = + S), b.width = k, b.height = v, g > 0 && c(b, y, g), y.drawImage( + _, 0, 0, k, v / m), I = /image\/jpeg/.test(u.type) || + /image\/jpg/.test(u.type) ? b.toDataURL("image/jpeg", f.compress + .quality) : b.toDataURL(u.type), f.type == "file") + if (/;base64,null/.test(I) || /;base64,$/.test(I)) d(u); + else { + var T = s(I); + T.id = u.id, T.name = u.name, T.lastModified = u + .lastModified, T.lastModifiedDate = u.lastModifiedDate, + d(T) + } + else /;base64,null/.test(I) || /;base64,$/.test(I) ? (f.onError(u, + new Error("Compress fail, dataURL is " + I + ".")), d()) : ( + u.base64 = I, d(u)) + }, _.src = p.target.result + }, h.readAsDataURL(u) + } + Object.defineProperty(r, "__esModule", { + value: !0 + }), r.default = { + compress: l + }, n.exports = r.default + }, function(n, r) { + function i(o) { + var s = o.url, + a = o.file, + c = o.fileVal, + l = o.onBeforeSend, + u = o.onProgress, + f = o.onError, + d = o.onSuccess, + h = o.xhrFields, + p = a.name, + _ = a.type, + m = a.lastModifiedDate, + g = { + name: p, + type: _, + size: o.type == "file" ? a.size : a.base64.length, + lastModifiedDate: m + }, + b = {}; + if (l(a, g, b) !== !1) { + a.status = "progress", u(a, 0); + var y = new FormData, + S = new XMLHttpRequest; + a.xhr = S, Object.keys(g).forEach(function(w) { + y.append(w, g[w]) + }), o.type == "file" ? y.append(c, a, p) : y.append(c, a.base64), S + .onreadystatechange = function() { + if (S.readyState == 4) + if (S.status == 200) try { + var w = JSON.parse(S.responseText); + d(a, w) + } catch (k) { + f(a, k) + } else f(a, new Error("XMLHttpRequest response status is " + S + .status)) + }, S.upload.addEventListener("progress", function(w) { + if (w.total != 0) { + var k = 100 * Math.ceil(w.loaded / w.total); + u(a, k) + } + }, !1), S.open("POST", s), Object.keys(h).forEach(function(w) { + S[w] = h[w] + }), Object.keys(b).forEach(function(w) { + S.setRequestHeader(w, b[w]) + }), S.send(y) + } + } + Object.defineProperty(r, "__esModule", { + value: !0 + }), r.default = i, n.exports = r.default + }, function(n, r, i) { + function o(v) { + if (v && v.__esModule) return v; + var I = {}; + if (v != null) + for (var T in v) Object.prototype.hasOwnProperty.call(v, T) && (I[T] = v[T]); + return I.default = v, I + } + + function s(v) { + return v && v.__esModule ? v : { + default: v + } + } + + function a(v) { + (typeof v > "u" ? "undefined" : u(v)) != "object" && (v = { + label: v, + value: v + }), d.default.extend(this, v) + } + + function c() { + function v() { + (0, d.default)(O.container).append(P), d.default.getStyle(P[0], "transform"), P + .find(".weui-mask").addClass("weui-animate-fade-in"), P.find(".weui-picker") + .addClass("weui-animate-slide-up").on("animationend webkitAnimationEnd", + function(C) { + C.target.focus() + }) + } + + function I(C) { + I = d.default.noop, P.find(".weui-mask").addClass("weui-animate-fade-out"), P + .find(".weui-picker").addClass("weui-animate-slide-down").on( + "animationend webkitAnimationEnd", + function() { + P.remove(), w = !1, O.onClose(), C && C() + }) + } + + function T(C) { + I(C) + } + + function A(C, j) { + if (U[j] === void 0 && O.defaultValue && O.defaultValue[j] !== void 0) { + var H = O.defaultValue[j], + Q = 0, + ue = C.length; + if (u(C[Q]) == "object") + for (; Q < ue && H != C[Q].value; ++Q); + else + for (; Q < ue && H != C[Q]; ++Q); + Q < ue && (U[j] = Q) + } + P.find(".weui-picker__group").eq(j).scroll({ + items: C, + temp: U[j], + onChange: function(le, ae) { + if (le) { + var oe = P.find(".weui-picker__group").eq(j); + oe.find(".weui-picker__item").attr("aria-hidden", + "true"), d.default.os.android ? (oe.attr( + "title", "鎸変綇涓婁笅鍙皟"), oe.attr("aria-label", le + .label)) : (oe.find(".weui-picker__item").eq(ae) + .attr("aria-hidden", "false"), oe.find( + ".weui-picker__item").eq(ae)[0].focus()), N[ + j] = new a(le) + } else N[j] = null; + if (U[j] = ae, B) N.length == q && O.onChange(N); + else if (le.children && le.children.length > 0) P.find( + ".weui-picker__group").eq(j + 1).show(), A(le + .children, j + 1); + else { + var V = P.find(".weui-picker__group"); + V.forEach(function(se, ee) { + ee > j && (0, d.default)(se).hide() + }), N.splice(j + 1), O.onChange(N) + } + P.find(".weui-picker__group").eq(j)[0].focus(), + clearTimeout(z), z = setTimeout(function() { + P.find("#weui-picker-aria-content").html("") + }, 100) + }, + onScroll: function(le, ae) { + if (le) { + var oe = P.find(".weui-picker__group").eq(j); + oe.find(".weui-picker__item").attr("aria-hidden", + "true"), d.default.os.android ? (oe.attr( + "title", "鎸変綇涓婁笅鍙皟"), oe.attr("aria-label", le + .label)) : (oe.find(".weui-picker__item").eq(ae) + .attr("aria-hidden", "false"), oe.find( + ".weui-picker__item").eq(ae)[0].focus()), N[ + j] = new a(le) + } else N[j] = null; + U[j] = ae, d.default.os.android && (clearTimeout(z), z = + setTimeout(function() { + P.find("#weui-picker-aria-content").html(le + .label).attr("role", "alert") + }, 50)) + }, + onConfirm: O.onConfirm + }) + } + if (w) return w; + var L = arguments[arguments.length - 1], + O = d.default.extend({ + id: "default", + className: "", + container: "body", + title: "", + desc: "", + confirmText: "纭畾", + closeText: "鍏抽棴", + showClose: !0, + onChange: d.default.noop, + onConfirm: d.default.noop, + onClose: d.default.noop + }, L), + $ = void 0, + B = !1; + if (arguments.length > 2) { + var F = 0; + for ($ = []; F < arguments.length - 1;) $.push(arguments[F++]); + B = !0 + } else $ = arguments[0]; + k[O.id] = k[O.id] || []; + for (var N = [], U = k[O.id], P = (0, d.default)(d.default.render(b.default, O)), + J = P.find("#weui-picker-confirm"), M = P.find(".weui-mask"), q = L.depth || + (B ? $.length : m.depthOf($[0])), W = "", z = void 0, Y = q; Y--;) W += S + .default; + return P.find(".weui-picker__bd").html(W), v(), B ? $.forEach(function(C, j) { + A(C, j) + }) : A($, 0), P.on("click", ".weui-mask", function() { + T() + }).on("click", ".weui-picker__btn", function() { + T() + }).on("click", ".weui-btn_icon", function() { + T() + }).on("touchmove", ".weui-half-screen-dialog__hd", function(C) { + C.preventDefault() + }).on("touchmove", ".weui-half-screen-dialog__ft", function(C) { + C.preventDefault() + }), M.on("click", function() { + T() + }).on("touchmove", function(C) { + C.preventDefault() + }), J.on("click", function() { + O.onConfirm(N) + }), w = P[0], w.hide = T, w + } + + function l(v) { + var I = new Date, + T = d.default.extend({ + id: "datePicker", + onChange: d.default.noop, + onConfirm: d.default.noop, + start: I.getFullYear() - 20, + end: I.getFullYear() + 20, + defaultValue: [I.getFullYear(), I.getMonth() + 1, I.getDate()], + cron: "* * *", + depth: 3 + }, v); + T.depth > 3 && (T.depth = 3), T.depth < 1 && (T.depth = 1), typeof T.start == + "number" ? T.start = new Date(T.start + "/01/01") : typeof T.start == + "string" && (T.start = new Date(T.start.replace(/-/g, "/"))), typeof T.end == + "number" ? T.end = new Date(T.end + "/12/31") : typeof T.end == "string" && (T + .end = new Date(T.end.replace(/-/g, "/"))); + var A = function(J, M, q) { + for (var W = 0, z = J.length; W < z; W++) { + var Y = J[W]; + if (Y[M] == q) return Y + } + }, + L = [], + O = p.default.parse(T.cron, T.start, T.end), + $ = void 0; + do { + $ = O.next(); + var B = $.value.getFullYear(), + F = $.value.getMonth() + 1, + N = $.value.getDate(), + U = A(L, "value", B); + if (U || (U = { + label: B + "骞�", + value: B, + children: [] + }, L.push(U)), T.depth > 1) { + var P = A(U.children, "value", F); + P || (P = { + label: F + "鏈�", + value: F, + children: [] + }, U.children.push(P)), T.depth > 2 && P.children.push({ + label: N + "鏃�", + value: N + }) + } + } while (!$.done); + return c(L, T) + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var u = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function( + v) { + return typeof v + } : function(v) { + return v && typeof Symbol == "function" && v.constructor === Symbol && v !== + Symbol.prototype ? "symbol" : typeof v + }, + f = i(2), + d = s(f), + h = i(25), + p = s(h); + i(26); + var _ = i(27), + m = o(_), + g = i(28), + b = s(g), + y = i(29), + S = s(y); + a.prototype.toString = function() { + return this.value + }, a.prototype.valueOf = function() { + return this.value + }; + var w = void 0, + k = {}; + r.default = { + picker: c, + datePicker: l + }, n.exports = r.default + }, function(n, r) { + function i(f, d) { + if (!(f instanceof d)) throw new TypeError("Cannot call a class as a function") + } + + function o(f, d) { + var h = d[0], + p = d[1], + _ = [], + m = void 0; + f = f.replace(/\*/g, h + "-" + p); + for (var g = f.split(","), b = 0, y = g.length; b < y; b++) { + var S = g[b]; + S.match(c) && S.replace(c, function(w, k, v, I) { + I = parseInt(I) || 1, k = Math.min(Math.max(h, ~~Math.abs(k)), p), + v = v ? Math.min(p, ~~Math.abs(v)) : k, m = k; + do _.push(m), m += I; while (m <= v) + }) + } + return _ + } + + function s(f, d, h) { + var p = f.replace(/^\s\s*|\s\s*$/g, "").split(/\s+/), + _ = []; + return p.forEach(function(m, g) { + var b = l[g]; + _.push(o(m, b)) + }), new u(_, d, h) + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var a = function() { + function f(d, h) { + for (var p = 0; p < h.length; p++) { + var _ = h[p]; + _.enumerable = _.enumerable || !1, _.configurable = !0, "value" in _ && + (_.writable = !0), Object.defineProperty(d, _.key, _) + } + } + return function(d, h, p) { + return h && f(d.prototype, h), p && f(d, p), d + } + }(), + c = /^(\d+)(?:-(\d+))?(?:\/(\d+))?$/g, + l = [ + [1, 31], + [1, 12], + [0, 6] + ], + u = function() { + function f(d, h, p) { + i(this, f), this._dates = d[0], this._months = d[1], this._days = d[2], this + ._start = h, this._end = p, this._pointer = h + } + return a(f, [{ + key: "_findNext", + value: function() { + for (var d = void 0;;) { + if (this._end.getTime() - this._pointer.getTime() < + 0) throw new Error("out of range, end is " + + this._end + ", current is " + this + ._pointer); + var h = this._pointer.getMonth(), + p = this._pointer.getDate(), + _ = this._pointer.getDay(); + if (this._months.indexOf(h + 1) !== -1) + if (this._dates.indexOf(p) !== -1) { + if (this._days.indexOf(_) !== -1) { + d = new Date(this._pointer); + break + } + this._pointer.setDate(p + 1) + } else this._pointer.setDate(p + 1); + else this._pointer.setMonth(h + 1), this._pointer + .setDate(1) + } + return d + } + }, { + key: "next", + value: function() { + var d = this._findNext(); + return this._pointer.setDate(this._pointer.getDate() + + 1), { + value: d, + done: !this.hasNext() + } + } + }, { + key: "hasNext", + value: function() { + try { + return this._findNext(), !0 + } catch (d) { + return !1 + } + } + }]), f + }(); + r.default = { + parse: s + }, n.exports = r.default + }, function(n, r, i) { + function o(_) { + return _ && _.__esModule ? _ : { + default: _ + } + } + var s = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function( + _) { + return typeof _ + } : function(_) { + return _ && typeof Symbol == "function" && _.constructor === Symbol && _ !== + Symbol.prototype ? "symbol" : typeof _ + }, + a = i(2), + c = o(a), + l = function(_, m) { + return _.css({ + "-webkit-transition": "all " + m + "s", + transition: "all " + m + "s" + }) + }, + u = function(_, m) { + return _.css({ + "-webkit-transform": "translate3d(0, " + m + "px, 0)", + transform: "translate3d(0, " + m + "px, 0)" + }) + }, + f = function(_) { + for (var m = Math.floor(_.length / 2), g = 0; _[m] && _[m].disabled;) + if (m = ++m % !_(MISSING).length, g++, g > _.length) throw new Error( + "No selectable item."); + return m + }, + d = function(_, m, g) { + var b = f(g); + return (_ - b) * m + }, + h = function(_, m) { + return _ * m + }, + p = function(_, m, g) { + return -(m * (g - _ - 1)) + }; + c.default.fn.scroll = function(_) { + function m(P) { + $ += P, $ = Math.round($ / v.rowHeight) * v.rowHeight; + var J = h(v.offset, v.rowHeight), + M = p(v.offset, v.rowHeight, v.items.length); + $ > J && ($ = J), $ < M && ($ = M); + for (var q = v.offset - $ / v.rowHeight; v.items[q] && v.items[q].disabled;) + P > 0 ? ++q : --q; + $ = (v.offset - q) * v.rowHeight, l(T, .3), u(T, $), q !== B && (v.onScroll + .call(this, v.items[q], q), v.onChange.call(this, v.items[q], q)), + B = null + } + + function g(P) { + A = P, O = +new Date + } + + function b(P) { + L = P; + var J = $ + (L - A); + l(T, 0), u(T, J), O = +new Date, F.push({ + time: O, + y: L + }), F.length > 40 && F.shift(), J = Math.round(J / v.rowHeight) * v + .rowHeight; + var M = h(v.offset, v.rowHeight), + q = p(v.offset, v.rowHeight, v.items.length); + if (!(J > M || J < q)) { + var W = v.offset - J / v.rowHeight; + v.items[W] && v.items[W].disabled || W !== B && v.onScroll.call(this, v + .items[W], W) + } + } + + function y(P) { + if (A) { + var J = new Date().getTime(), + M = S[0].getBoundingClientRect().top + v.bodyHeight / 2; + if (L = P, J - O > 100) m(Math.abs(L - A) > 10 ? L - A : M - L); + else if (Math.abs(L - A) > 10) { + for (var q = F.length - 1, W = q, z = q; z > 0 && O - F[z].time < + 100; z--) W = z; + if (W !== q) { + var Y = F[q], + C = F[W], + j = Y.time - C.time, + H = Y.y - C.y, + Q = H / j, + ue = 150 * Q + (L - A); + m(ue) + } else m(0) + } else m(M - L); + A = null + } + } + var S = (0, c.default)(this).offAll(), + w = S.find(".weui-picker__content"), + k = Math.round(w.find(".weui-picker__item")[0].clientHeight), + v = c.default.extend({ + items: [], + offset: 2, + rowHeight: k, + onChange: c.default.noop, + onScroll: c.default.noop, + temp: null, + bodyHeight: 5 * k + }, _), + I = v.items.map(function(P) { + return '<div role="option" title="鎸変綇涓婁笅鍙皟" tabindex="0" class="weui-picker__item' + + (P.disabled ? " weui-picker__item_disabled" : "") + '">' + (( + typeof P > "u" ? "undefined" : s(P)) == "object" ? P + .label : P) + "</div>" + }).join(""); + S[0].parentElement.style.height = v.bodyHeight + "px", w.html(I); + var T = w, + A = void 0, + L = void 0, + O = void 0, + $ = void 0, + B = null, + F = []; + if (v.temp !== null && v.temp < v.items.length) { + var N = v.temp; + v.onChange.call(this, v.items[N], N), $ = (v.offset - N) * v.rowHeight + } else { + var U = f(v.items); + v.onChange.call(this, v.items[U], U), $ = d(v.offset, v.rowHeight, v.items) + } + u(T, $), S.on("touchstart", function(P) { + g(P.changedTouches[0].pageY) + }).on("touchmove", function(P) { + b(P.changedTouches[0].pageY), P.preventDefault() + }).on("touchend", function(P) { + y(P.changedTouches[0].pageY) + }), S.on("mousedown", function(P) { + g(P.pageY), P.stopPropagation(), P.preventDefault() + }).on("mousemove", function(P) { + A && (b(P.pageY), P.stopPropagation(), P.preventDefault()) + }).on("mouseup mouseleave", function(P) { + y(P.pageY), P.stopPropagation(), P.preventDefault() + }) + } + }, function(n, r) { + Object.defineProperty(r, "__esModule", { + value: !0 + }), r.depthOf = function i(o) { + var s = 1; + return o.children && o.children[0] && (s = i(o.children[0]) + 1), s + } + }, function(n, r) { + n.exports = + '<div class="<%!=(MISSING) className %!>(MISSING)"> <div class=weui-mask></div> <div class="weui-half-screen-dialog weui-picker" role=dialog aria-modal=true tabindex=-1> <div class=weui-half-screen-dialog__hd> <%!i(MISSING)f(showClose){ %!>(MISSING) <div class=weui-half-screen-dialog__hd__side> <button class="weui-btn_icon weui-wa-hotarea"><%!=(MISSING) closeText %!>(MISSING)<i class=weui-icon-close-thin></i></button> </div> <%!}(MISSING) %!>(MISSING) <div class=weui-half-screen-dialog__hd__main> <strong class=weui-half-screen-dialog__title><%!=(MISSING) title %!>(MISSING)</strong> <span class=weui-half-screen-dialog__subtitle><%!=(MISSING) desc %!>(MISSING)</span> </div> </div> <div class=weui-half-screen-dialog__bd> <div class=weui-picker__bd></div> </div> <div class=weui-half-screen-dialog__ft> <div class=weui-hidden_abs id=weui-picker-aria-content></div> <a href=javascript:; class="weui-btn weui-btn_primary weui-picker__btn" id=weui-picker-confirm data-action=select role=button><%!=(MISSING) confirmText %!>(MISSING)</a> </div> </div> </div> ' + }, function(n, r) { + n.exports = + "<div class=weui-picker__group role=listbox tabindex=0> <div class=weui-picker__mask></div> <div class=weui-picker__indicator></div> <div class=weui-picker__content> <div class=weui-picker__item> </div> </div> </div> " + }, function(n, r, i) { + function o(d) { + return d && d.__esModule ? d : { + default: d + } + } + + function s(d) { + function h(g) { + h = c.default.noop, m.addClass("weui-animate-fade-out").on( + "animationend webkitAnimationEnd", + function() { + m.remove(), f = !1, g && g() + }) + } + + function p(g) { + h(g) + } + var _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; + if (f) return f; + _ = c.default.extend({ + className: "", + onDelete: c.default.noop + }, _); + var m = (0, c.default)(c.default.render(u.default, c.default.extend({ + url: d + }, _))); + return (0, c.default)("body").append(m), m.find(".weui-gallery__img").on("click", + function() { + p() + }), m.find(".weui-gallery__close").on("click", function() { + p() + }), m.find(".weui-gallery__del").on("click", function() { + _.onDelete.call(this, d) + }), m.show().addClass("weui-animate-fade-in").on( + "animationend webkitAnimationEnd", + function(g) { + g.target.focus() + }), f = m[0], f.hide = p, f + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var a = i(2), + c = o(a), + l = i(31), + u = o(l), + f = void 0; + r.default = s, n.exports = r.default + }, function(n, r) { + n.exports = + '<div class="weui-gallery <%!=(MISSING) className %!>(MISSING)" role=dialog aria-modal=true tabindex=-1> <button class="weui-hidden_abs weui-gallery__close">鍏抽棴</button> <span class=weui-gallery__img style="background-image:url(<%!=(MISSING) url %!>(MISSING))" role=img src="<%!=(MISSING) url %!>(MISSING)"></span> <div class=weui-gallery__opr> <a href=javascript: class=weui-gallery__del role=button aria-label=鍒犻櫎> <i class="weui-icon-delete weui-icon_gallery-delete"></i> </a> </div> </div> ' + }, function(n, r, i) { + function o(l) { + return l && l.__esModule ? l : { + default: l + } + } + + function s(l) { + var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, + f = (0, c.default)(l); + if (u = c.default.extend({ + step: void 0, + defaultValue: 0, + onChange: c.default.noop + }, u), u.step !== void 0 && (u.step = parseFloat(u.step), !u.step || u.step < + 0)) throw new Error("Slider step must be a positive number."); + if (u.defaultValue !== void 0 && u.defaultValue < 0 || u.defaultValue > 100) + throw new Error("Slider defaultValue must be >= 0 and <= 100."); + return f.forEach(function(d) { + function h() { + var I = c.default.getStyle(b[0], "left"); + return I = /%!/(MISSING).test(I) ? y * parseFloat(I) / 100 : + parseFloat(I) + } + + function p(I) { + var T = void 0, + A = void 0; + u.step && (I = Math.round(I / v) * v), T = w + I, T = T < 0 ? 0 : + T > y ? y : T, A = 100 * T / y, g.css({ + width: A + "%!"(MISSING) + }), b.css({ + left: A + "%!"(MISSING) + }), u.onChange.call(d, A) + } + var _ = (0, c.default)(d), + m = _.find(".weui-slider__inner"), + g = _.find(".weui-slider__track"), + b = _.find(".weui-slider__handler"), + y = parseInt(c.default.getStyle(m[0], "width")), + S = m[0].offsetLeft, + w = 0, + k = 0, + v = void 0; + u.step && (v = y * u.step / 100), u.defaultValue && p(y * u + .defaultValue / 100), _.on("click", function(I) { + I.preventDefault(), w = h(), p(I.pageX - S - w) + }), b.on("touchstart", function(I) { + w = h(), k = I.changedTouches[0].clientX + }).on("touchmove", function(I) { + I.preventDefault(), p(I.changedTouches[0].clientX - k) + }) + }), this + } + Object.defineProperty(r, "__esModule", { + value: !0 + }); + var a = i(2), + c = o(a); + r.default = s, n.exports = r.default + }]) + }) +})(Hs); +var Yl = Hs.exports; +const Ci = Nn(Yl); +class $s extends ds { + constructor() { + super([{ + name: "Error", + path: "/report-error" + }, { + name: "Performance", + path: "/report-perf" + }]) + } + async oldReportError(t) { + const n = Object.assign(t, { + page_uri: window.location.href + }); + return this.post({ + url: this.getApiUrl("Error"), + data: n + }) + } + async oldReportPerf(t) { + return this.post({ + url: this.getApiUrl("Performance"), + data: t + }) + } +} +var qs = { + exports: {} +}; +/*! + * clipboard.js v2.0.11 + * https://clipboardjs.com/ + * + * Licensed MIT 漏 Zeno Rocha + */ +(function(e, t) { + (function(r, i) { + e.exports = i() + })(ki, function() { + return function() { + var n = { + 686: function(o, s, a) { + a.d(s, { + default: function() { + return q + } + }); + var c = a(279), + l = a.n(c), + u = a(370), + f = a.n(u), + d = a(817), + h = a.n(d); + + function p(W) { + try { + return document.execCommand(W) + } catch (z) { + return !1 + } + } + var _ = function(z) { + var Y = h()(z); + return p("cut"), Y + }, + m = _; + + function g(W) { + var z = document.documentElement.getAttribute("dir") === "rtl", + Y = document.createElement("textarea"); + Y.style.fontSize = "12pt", Y.style.border = "0", Y.style.padding = "0", Y + .style.margin = "0", Y.style.position = "absolute", Y.style[z ? + "right" : "left"] = "-9999px"; + var C = window.pageYOffset || document.documentElement.scrollTop; + return Y.style.top = "".concat(C, "px"), Y.setAttribute("readonly", ""), Y + .value = W, Y + } + var b = function(z, Y) { + var C = g(z); + Y.container.appendChild(C); + var j = h()(C); + return p("copy"), C.remove(), j + }, + y = function(z) { + var Y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : + { + container: document.body + }, + C = ""; + return typeof z == "string" ? C = b(z, Y) : + z instanceof HTMLInputElement && !["text", "search", "url", "tel", + "password" + ].includes(z == null ? void 0 : z.type) ? C = b(z.value, Y) : (C = + h()(z), p("copy")), C + }, + S = y; + + function w(W) { + "@babel/helpers - typeof"; + return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? + w = function(Y) { + return typeof Y + } : w = function(Y) { + return Y && typeof Symbol == "function" && Y.constructor === + Symbol && Y !== Symbol.prototype ? "symbol" : typeof Y + }, w(W) + } + var k = function() { + var z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : + {}, + Y = z.action, + C = Y === void 0 ? "copy" : Y, + j = z.container, + H = z.target, + Q = z.text; + if (C !== "copy" && C !== "cut") throw new Error( + 'Invalid "action" value, use either "copy" or "cut"'); + if (H !== void 0) + if (H && w(H) === "object" && H.nodeType === 1) { + if (C === "copy" && H.hasAttribute("disabled")) throw new Error( + 'Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute' + ); + if (C === "cut" && (H.hasAttribute("readonly") || H + .hasAttribute("disabled"))) throw new Error( + 'Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes' + ) + } else throw new Error( + 'Invalid "target" value, use a valid Element'); + if (Q) return S(Q, { + container: j + }); + if (H) return C === "cut" ? m(H) : S(H, { + container: j + }) + }, + v = k; + + function I(W) { + "@babel/helpers - typeof"; + return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? + I = function(Y) { + return typeof Y + } : I = function(Y) { + return Y && typeof Symbol == "function" && Y.constructor === + Symbol && Y !== Symbol.prototype ? "symbol" : typeof Y + }, I(W) + } + + function T(W, z) { + if (!(W instanceof z)) throw new TypeError( + "Cannot call a class as a function") + } + + function A(W, z) { + for (var Y = 0; Y < z.length; Y++) { + var C = z[Y]; + C.enumerable = C.enumerable || !1, C.configurable = !0, "value" in C && + (C.writable = !0), Object.defineProperty(W, C.key, C) + } + } + + function L(W, z, Y) { + return z && A(W.prototype, z), Y && A(W, Y), W + } + + function O(W, z) { + if (typeof z != "function" && z !== null) throw new TypeError( + "Super expression must either be null or a function"); + W.prototype = Object.create(z && z.prototype, { + constructor: { + value: W, + writable: !0, + configurable: !0 + } + }), z && $(W, z) + } + + function $(W, z) { + return $ = Object.setPrototypeOf || function(C, j) { + return C.__proto__ = j, C + }, $(W, z) + } + + function B(W) { + var z = U(); + return function() { + var C = P(W), + j; + if (z) { + var H = P(this).constructor; + j = Reflect.construct(C, arguments, H) + } else j = C.apply(this, arguments); + return F(this, j) + } + } + + function F(W, z) { + return z && (I(z) === "object" || typeof z == "function") ? z : N(W) + } + + function N(W) { + if (W === void 0) throw new ReferenceError( + "this hasn't been initialised - super() hasn't been called"); + return W + } + + function U() { + if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) + return !1; + if (typeof Proxy == "function") return !0; + try { + return Date.prototype.toString.call(Reflect.construct(Date, [], + function() {})), !0 + } catch (W) { + return !1 + } + } + + function P(W) { + return P = Object.setPrototypeOf ? Object.getPrototypeOf : function(Y) { + return Y.__proto__ || Object.getPrototypeOf(Y) + }, P(W) + } + + function J(W, z) { + var Y = "data-clipboard-".concat(W); + if (z.hasAttribute(Y)) return z.getAttribute(Y) + } + var M = function(W) { + O(Y, W); + var z = B(Y); + + function Y(C, j) { + var H; + return T(this, Y), H = z.call(this), H.resolveOptions(j), H + .listenClick(C), H + } + return L(Y, [{ + key: "resolveOptions", + value: function() { + var j = arguments.length > 0 && arguments[0] !== + void 0 ? arguments[0] : {}; + this.action = typeof j.action == "function" ? j + .action : this.defaultAction, this.target = + typeof j.target == "function" ? j.target : + this.defaultTarget, this.text = typeof j + .text == "function" ? j.text : this + .defaultText, this.container = I(j + .container) === "object" ? j.container : + document.body + } + }, { + key: "listenClick", + value: function(j) { + var H = this; + this.listener = f()(j, "click", function(Q) { + return H.onClick(Q) + }) + } + }, { + key: "onClick", + value: function(j) { + var H = j.delegateTarget || j.currentTarget, + Q = this.action(H) || "copy", + ue = v({ + action: Q, + container: this.container, + target: this.target(H), + text: this.text(H) + }); + this.emit(ue ? "success" : "error", { + action: Q, + text: ue, + trigger: H, + clearSelection: function() { + H && H.focus(), window + .getSelection() + .removeAllRanges() + } + }) + } + }, { + key: "defaultAction", + value: function(j) { + return J("action", j) + } + }, { + key: "defaultTarget", + value: function(j) { + var H = J("target", j); + if (H) return document.querySelector(H) + } + }, { + key: "defaultText", + value: function(j) { + return J("text", j) + } + }, { + key: "destroy", + value: function() { + this.listener.destroy() + } + }], [{ + key: "copy", + value: function(j) { + var H = arguments.length > 1 && arguments[1] !== + void 0 ? arguments[1] : { + container: document.body + }; + return S(j, H) + } + }, { + key: "cut", + value: function(j) { + return m(j) + } + }, { + key: "isSupported", + value: function() { + var j = arguments.length > 0 && arguments[0] !== + void 0 ? arguments[0] : ["copy", "cut"], + H = typeof j == "string" ? [j] : j, + Q = !!document.queryCommandSupported; + return H.forEach(function(ue) { + Q = Q && !!document + .queryCommandSupported(ue) + }), Q + } + }]), Y + }(l()), + q = M + }, + 828: function(o) { + var s = 9; + if (typeof Element < "u" && !Element.prototype.matches) { + var a = Element.prototype; + a.matches = a.matchesSelector || a.mozMatchesSelector || a + .msMatchesSelector || a.oMatchesSelector || a.webkitMatchesSelector + } + + function c(l, u) { + for (; l && l.nodeType !== s;) { + if (typeof l.matches == "function" && l.matches(u)) return l; + l = l.parentNode + } + } + o.exports = c + }, + 438: function(o, s, a) { + var c = a(828); + + function l(d, h, p, _, m) { + var g = f.apply(this, arguments); + return d.addEventListener(p, g, m), { + destroy: function() { + d.removeEventListener(p, g, m) + } + } + } + + function u(d, h, p, _, m) { + return typeof d.addEventListener == "function" ? l.apply(null, arguments) : + typeof p == "function" ? l.bind(null, document).apply(null, arguments) : + (typeof d == "string" && (d = document.querySelectorAll(d)), Array + .prototype.map.call(d, function(g) { + return l(g, h, p, _, m) + })) + } + + function f(d, h, p, _) { + return function(m) { + m.delegateTarget = c(m.target, h), m.delegateTarget && _.call(d, m) + } + } + o.exports = u + }, + 879: function(o, s) { + s.node = function(a) { + return a !== void 0 && a instanceof HTMLElement && a.nodeType === 1 + }, s.nodeList = function(a) { + var c = Object.prototype.toString.call(a); + return a !== void 0 && (c === "[object NodeList]" || c === + "[object HTMLCollection]") && "length" in a && (a.length === + 0 || s.node(a[0])) + }, s.string = function(a) { + return typeof a == "string" || a instanceof String + }, s.fn = function(a) { + var c = Object.prototype.toString.call(a); + return c === "[object Function]" + } + }, + 370: function(o, s, a) { + var c = a(879), + l = a(438); + + function u(p, _, m) { + if (!p && !_ && !m) throw new Error("Missing required arguments"); + if (!c.string(_)) throw new TypeError("Second argument must be a String"); + if (!c.fn(m)) throw new TypeError("Third argument must be a Function"); + if (c.node(p)) return f(p, _, m); + if (c.nodeList(p)) return d(p, _, m); + if (c.string(p)) return h(p, _, m); + throw new TypeError( + "First argument must be a String, HTMLElement, HTMLCollection, or NodeList" + ) + } + + function f(p, _, m) { + return p.addEventListener(_, m), { + destroy: function() { + p.removeEventListener(_, m) + } + } + } + + function d(p, _, m) { + return Array.prototype.forEach.call(p, function(g) { + g.addEventListener(_, m) + }), { + destroy: function() { + Array.prototype.forEach.call(p, function(g) { + g.removeEventListener(_, m) + }) + } + } + } + + function h(p, _, m) { + return l(document.body, p, _, m) + } + o.exports = u + }, + 817: function(o) { + function s(a) { + var c; + if (a.nodeName === "SELECT") a.focus(), c = a.value; + else if (a.nodeName === "INPUT" || a.nodeName === "TEXTAREA") { + var l = a.hasAttribute("readonly"); + l || a.setAttribute("readonly", ""), a.select(), a.setSelectionRange(0, + a.value.length), l || a.removeAttribute("readonly"), c = a.value + } else { + a.hasAttribute("contenteditable") && a.focus(); + var u = window.getSelection(), + f = document.createRange(); + f.selectNodeContents(a), u.removeAllRanges(), u.addRange(f), c = u + .toString() + } + return c + } + o.exports = s + }, + 279: function(o) { + function s() {} + s.prototype = { + on: function(a, c, l) { + var u = this.e || (this.e = {}); + return (u[a] || (u[a] = [])).push({ + fn: c, + ctx: l + }), this + }, + once: function(a, c, l) { + var u = this; + + function f() { + u.off(a, f), c.apply(l, arguments) + } + return f._ = c, this.on(a, f, l) + }, + emit: function(a) { + var c = [].slice.call(arguments, 1), + l = ((this.e || (this.e = {}))[a] || []).slice(), + u = 0, + f = l.length; + for (u; u < f; u++) l[u].fn.apply(l[u].ctx, c); + return this + }, + off: function(a, c) { + var l = this.e || (this.e = {}), + u = l[a], + f = []; + if (u && c) + for (var d = 0, h = u.length; d < h; d++) u[d].fn !== c && + u[d].fn._ !== c && f.push(u[d]); + return f.length ? l[a] = f : delete l[a], this + } + }, o.exports = s, o.exports.TinyEmitter = s + } + }, + r = {}; + + function i(o) { + if (r[o]) return r[o].exports; + var s = r[o] = { + exports: {} + }; + return n[o](s, s.exports, i), s.exports + } + return function() { + i.n = function(o) { + var s = o && o.__esModule ? function() { + return o.default + } : function() { + return o + }; + return i.d(s, { + a: s + }), s + } + }(), + function() { + i.d = function(o, s) { + for (var a in s) i.o(s, a) && !i.o(o, a) && Object.defineProperty(o, a, { + enumerable: !0, + get: s[a] + }) + } + }(), + function() { + i.o = function(o, s) { + return Object.prototype.hasOwnProperty.call(o, s) + } + }(), i(686) + }().default + }) +})(qs); +var zl = qs.exports; +const Jl = Nn(zl); +let So = "", + Xi = {}; + +function Ui(e = location.search) { + if (e === So) return Xi; + So = e; + const t = e.split("#")[0], + n = t.includes("?") ? t.split("?")[1] : t, + r = {}; + if (!n.includes("=")) return Xi = { + ...r + }, r; + for (const i of n.split("&")) { + const [o, s] = i.split("="), a = s.replace(/\+/g, " "); + try { + r[o] = decodeURIComponent(a) + } catch (c) { + r[o] = a + } + } + return Xi = { + ...r + }, r +} + +function Zl(e) { + const t = { + text: "", + keywords: [] + }; + if (!e) return t; + const n = /<em[^>]*>([^<]+)<\/em>/g; + let r; + for (; + (r = n.exec(e)) !== null;) t.keywords.push(r[1]); + return t.text = e.replace(/<em[^>]*>([^<]+)<\/em>/g, "$1"), t +} +var Se = (e => (e.storageVersion = "v", e.feedVideoVolume = "config::feed-volume", e.feedVideoMuted = + "config::feed-muted", e.feedVideoSessionMuted = "config::feed-session-muted", e.feedVideoAutoNext = + "config::feed-auto-next", e.feedVideoWideMode = "config::feed-wide-mode", e.feedVideoDanmakuHidden = + "config::feed-dmk-hide", e.flowDanmakuHidden = "config::flow-dmk-hide", e.disableFriendRecommendDialog = + "config::no-friend-rec", e.liveVideoVolume = "config::live-volume", e.liveVideoLastVolume = + "config::live-last-volume", e.feedMiniWindowResized = "config::feed-mini-window-resized", e.flowEdu = + "config::flow-edu", e.flowEduVol = "config::flow-edu-vol", e.flowVolume = "config::flow-volume", e + .flowLastUnmutedVolume = "config::flow-last-unmuted-volume", e.homeStayGridTab = + "config::home-stay-grid-tab", e.expt = "config::expt", e.searchHistory = "user::search-history", e + .aliasRoleType = "user::alias-role-type", e.location = "user::loc", e.timestampLastFetchLocation = + "user::loc-t", e.prepareData = "user::pre", e.timestampLastFollowRedDot = "user::follow-rd-t", e + .searchGetHotWordListLastBuffer = "logic::search-hot-list-last-buffer", e.busData = "logic::bus", e + .homeLastTabId = "logic::home-last-tab-id", e.snifferNextTimestamp = "logic::sniff-next-ts", e + .snifferIntervalMinutes = "logic::sniff-interval", e.initialSniffTimestamp = + "logic::initial-sniff-timestamp", e.videoHostData = "logic::video-host", e.feedObjectCacheQueue = + "cache::feed-obj", e.feedRecommendsCacheQueue = "cache::feed-rec", e.feedVideoPlayFinishAllTime = + "cache::feed-video-play-time", e.disableLiveAgreementDialog = "config::no-live-agreement", e + .disableFeedSwitchAliasPopover = "config::no-switch-alias-pop", e.disableApplyMicFloatGuide = + "config::no-apply-mic-float-guide", e.liveRelatedList = "config::live-related-list", e.recTagItem = + "cache::rec-tag-item", e.hasUsedWorkerFeedCacheThisSession = "cache::worker-feed-used", e))(Se || {}); +const bo = "2021122002"; +let Kl = class { + constructor() { + E(this, "feedObjectCacheQueue", new Eo(this, "cache::feed-obj")); + E(this, "feedRecommendsCacheQueue", new Eo(this, "cache::feed-rec")); + E(this, "searchHistoryCacheQueue", new Xl(this, "user::search-history", 2)); + this.migrate() + } + setLocal(t, n) { + var i; + if (!localStorage || n == null) return; + const r = JSON.stringify(n); + try { + this.safeLocalStorageSetItem(t, r) + } catch (o) { + if ((o == null ? void 0 : o.code) === DOMException.QUOTA_EXCEEDED_ERR || (i = o == null ? void 0 : o + .message) != null && i.toLowerCase().includes("quota")) { + for (const s of ["cache::", "", "user::", "logic::"]) + if ((() => { + if (this.clearLocalPrefix(s)) try { + return this.safeLocalStorageSetItem(t, r), !0 + } catch (l) { + return De.oldReportError({ + stack: o.stack, + error_msg: JSON.stringify({ + msg: o.message, + storageKeys: Object.keys(localStorage), + step: s + }), + error_type: "localStorage 婧㈠嚭" + }), !1 + } else return !1 + })()) return; + localStorage.clear(); + try { + this.safeLocalStorageSetItem(t, r) + } catch (s) { + De.oldReportError({ + error_msg: JSON.stringify({ + storageKeys: Object.keys(localStorage), + step: "final" + }), + error_type: "localStorage 婧㈠嚭" + }) + } + } else De.oldReportError({ + stack: o.stack, + error_msg: JSON.stringify({ + msg: o.message, + storageKeys: Object.keys(localStorage), + key: t, + value: n + }), + error_type: "localStorage 鏈煡閿欒" + }), this.clearLocalPrefix("cache::"), this.clearLocalPrefix("") + } + } + getLocal(t, n) { + if (!localStorage) return n; + const r = localStorage.getItem(t); + if (r == null) return n; + try { + return JSON.parse(r) + } catch (i) { + return r + } + } + removeLocal(t) { + localStorage == null || localStorage.removeItem(t) + } + async setSession(t, n) { + var i; + if (!sessionStorage || n == null) return; + const r = JSON.stringify(n); + try { + this.safeSessionStorageSetItem(t, r) + } catch (o) { + if ((o == null ? void 0 : o.code) === DOMException.QUOTA_EXCEEDED_ERR || (i = o == null ? void 0 : o + .message) != null && i.toLowerCase().includes("quota")) { + for (const s of ["cache::", "", "user::", "logic::"]) + if ((() => { + if (this.clearSessionPrefix(s)) try { + return this.safeSessionStorageSetItem(t, r), !0 + } catch (l) { + return De.oldReportError({ + stack: o.stack, + error_msg: JSON.stringify({ + msg: o.message, + storageKeys: Object.keys(sessionStorage), + step: s + }), + error_type: "sessionStorage 婧㈠嚭" + }), !1 + } else return !1 + })()) return; + sessionStorage.clear(); + try { + this.safeSessionStorageSetItem(t, r) + } catch (s) { + De.oldReportError({ + error_msg: JSON.stringify({ + storageKeys: Object.keys(sessionStorage), + step: "final" + }), + error_type: "sessionStorage 婧㈠嚭" + }) + } + } else De.oldReportError({ + stack: o.stack, + error_msg: JSON.stringify({ + msg: o.message, + storageKeys: Object.keys(sessionStorage), + key: t, + value: n + }), + error_type: "sessionStorage 鏈煡閿欒" + }), this.clearSessionPrefix("cache::"), this.clearSessionPrefix("") + } + } + getSession(t, n) { + if (!localStorage || !sessionStorage) return n; + const r = sessionStorage.getItem(t) || localStorage.getItem(t); + return r == null ? n : JSON.parse(r) + } + removeSession(t) { + sessionStorage == null || sessionStorage.removeItem(t) + } + clearSession() { + sessionStorage == null || sessionStorage.clear() + } + clearLocalUser() { + this.clearLocalPrefix("user::") + } + safeLocalStorageSetItem(t, n) { + if (!localStorage) return; + if (localStorage.setItem(t, n), localStorage.getItem(t) !== n) throw new Error("quota exceeded") + } + safeSessionStorageSetItem(t, n) { + if (!sessionStorage) return; + if (sessionStorage.setItem(t, n), sessionStorage.getItem(t) !== n) throw new Error("quota exceeded") + } + clearLocalPrefix(t) { + if (!localStorage) return !1; + let n = !1; + return t === "" ? Object.keys(localStorage).forEach(r => { + r !== "v" && !r.startsWith("cache::") && !r.startsWith("user::") && !r.startsWith( + "logic::") && !r.startsWith("config::") && (localStorage.removeItem(r), n = !0) + }) : Object.keys(localStorage).forEach(r => { + r.startsWith(t) && (localStorage.removeItem(r), n = !0) + }), n + } + clearSessionPrefix(t) { + if (!sessionStorage) return !1; + let n = !1; + return t === "" ? Object.keys(sessionStorage).forEach(r => { + r !== "v" && !r.startsWith("cache::") && !r.startsWith("user::") && !r.startsWith( + "logic::") && !r.startsWith("config::") && (sessionStorage.removeItem(r), n = !0) + }) : Object.keys(sessionStorage).forEach(r => { + r.startsWith(t) && (sessionStorage.removeItem(r), n = !0) + }), n + } + migrateLocalKey(t, n) { + if (!localStorage) return; + const r = this.getLocal(t); + r !== void 0 && (this.setLocal(n, r), this.removeLocal(t)) + } + migrate() { + if (!localStorage) return; + const t = this.getLocal("v"); + if (t === bo) return; + const n = ["FeedVideoVolume", "FeedVideoMuted", "FeedVideoAutoNext", "disabled-friend-recommend-dialog", + "livevideovolume", "livevideolastVolume" + ]; + (!t || t === "2021121001") && Object.keys(localStorage).forEach(r => { + r !== "v" && !r.startsWith("config::") && !n.includes(r) && this.removeLocal(r) + }), (!t || t === "2021121001" || t === "2021121002") && (this.migrateLocalKey("FeedVideoVolume", + "config::feed-volume"), this.migrateLocalKey("FeedVideoMuted", "config::feed-muted"), this + .migrateLocalKey("FeedVideoAutoNext", "config::feed-auto-next"), this.migrateLocalKey( + "disabled-friend-recommend-dialog", "config::no-friend-rec"), this.migrateLocalKey( + "livevideovolume", "config::live-volume"), this.migrateLocalKey("livevideolastVolume", + "config::live-last-volume"), this.migrateLocalKey("SearchHistory", "user::search-history"), + this.migrateLocalKey("SearchGetHotWordListLastBuffer", "logic::search-hot-list-last-buffer"), + this.migrateLocalKey("feed_current_alias", "user::alias-role-type"), this.migrateLocalKey( + "location", "user::loc"), this.removeLocal("bus_data_FinderFeed"), this.removeLocal( + "bus_data_FinderProfile")), t === "2021121501" && (this.removeLocal("user::id"), this + .removeLocal("user::searchHistory")), t === "2021122002" && this.migrateLocalKey( + "cache::location", "user::loc"), this.setLocal("v", bo) + } +}; +class Eo { + constructor(t, n, r = 5) { + this.storage = t, this.key = n, this.capacity = r + } + push(t, n) { + const r = this.storage.getSession(this.key, []); + if (r.includes(t)) r.indexOf(t) !== r.length - 1 && (r.splice(r.indexOf(t), 1), r.push(t), this.storage + .setSession(this.key, r)); + else { + if (r.length >= this.capacity) { + const i = r.shift(); + i && this.storage.removeSession("".concat(this.key, "_").concat(i)) + } + r.push(t), this.storage.setSession(this.key, r) + } + this.storage.setSession("".concat(this.key, "_").concat(t), n) + } + get(t) { + return this.storage.getSession("".concat(this.key, "_").concat(t)) + } +} +class Xl { + constructor(t, n, r = 5) { + this.storage = t, this.key = n, this.capacity = r + } + push(t, n) { + const r = this.storage.getLocal(this.key, []); + if (r.includes(t)) r.indexOf(t) !== r.length - 1 && (r.splice(r.indexOf(t), 1), r.push(t), this.storage + .setLocal(this.key, r)); + else { + if (r.length >= this.capacity) { + const i = r.shift(); + i && this.storage.removeLocal("".concat(this.key, "_").concat(i)) + } + r.push(t), this.storage.setLocal(this.key, r) + } + this.storage.setLocal("".concat(this.key, "_").concat(t), n) + } + get(t, n) { + return this.storage.getLocal("".concat(this.key, "_").concat(t), n) + } +} +const me = new Kl; + +function cn(e) { + var n, r, i; + if (!e || e.errCode !== 0 || !e.data) return !0; + const { + data: t + } = e; + return !t.baseResponse && !t.BaseResponse && !t.baseresponse || ((n = t.baseResponse) == null ? void 0 : n.Ret) !== + void 0 && t.baseResponse.Ret !== 0 || ((r = t.BaseResponse) == null ? void 0 : r.Ret) !== void 0 && t + .BaseResponse.Ret !== 0 || ((i = t.baseresponse) == null ? void 0 : i.Ret) !== void 0 && t.baseresponse.Ret !== + 0 +} +const Wt = e => { + var t; + (t = window.WeixinJSBridge) != null && t.invoke ? e() : document.addEventListener("WeixinJSBridgeReady", e, !1) + }, + gt = (e, t) => { + const n = t || window.location.search || "", + r = new RegExp("".concat(e, "=([^&]*)"), "i"), + i = n.match(r); + return i ? decodeURIComponent(i[1]) : "" + }, + gp = (e, t = !1) => { + const n = typeof e == "string" ? parseInt(e, 10) : Math.floor(e); + let r = Math.floor(n / 60), + i = n % !; + (MISSING) return i <= 9 && (i = "0".concat(i)), t && r <= 9 && (r = "0".concat(r)), "".concat(r, ":").concat(i) + }, + vp = e => { + let t = ""; + if (e > -1) { + const n = Math.floor(e / 3600), + r = Math.floor(e / 60) % !, + (MISSING) i = e % !; + (MISSING) n && (n < 10 ? t = "0".concat(n, ":") : t = "".concat(n, ":")), r < 10 && (t += "0"), t += "" + .concat(r, ":"), i < 10 && (t += "0"), t += i + } + return t + }, + yp = (e, t) => Math.floor(Math.random() * (t - e + 1) + e), + Sp = e => Object.entries(e).reduce((t, n) => ({ + ...t, + [n[0]]: "".concat(n[1]) + }), {}), + Ql = e => e.replace(/_(\w)/g, (t, n) => n.toUpperCase()), + eu = e => /^[A-Z]/.test(e) ? e : e.replace(/([A-Z])/g, "_$1").toLowerCase(), + Pe = e => e instanceof Array ? e.map(t => Pe(t)) : e instanceof Object ? Object.fromEntries(Object.entries(e).map(([ + t, n + ]) => [Ql(t), Pe(n)])) : e, + On = e => e instanceof Array ? e.map(t => On(t)) : e instanceof Object ? Object.fromEntries(Object.entries(e).map(([ + t, n + ]) => [eu(t), On(n)])) : e, + pr = e => new Promise(t => { + window.setTimeout(t, e) + }), + bp = () => { + switch (parseInt(Ui().fontgear, 10)) { + case 1: + return .8; + case 2: + return 1; + case 3: + return 1.2; + case 4: + return 1.4; + case 5: + return 1.6; + case 6: + return 1.8; + default: + return 1 + } + }, + Ep = e => e ? typeof e == "object" && e.length ? e[0] : "".concat(e) : "", + wp = (e, t) => Math.round(e / t) * t, + Ip = e => new Promise((t, n) => { + const r = document.createElement("button"), + i = new Jl(r, { + text: () => e, + action: () => "copy", + container: document.body + }); + i.on("success", o => { + i.destroy(), t(o) + }), i.on("error", o => { + i.destroy(), n(o) + }), document.body.appendChild(r), r.click(), document.body.removeChild(r) + }); + +function tu(e) { + return e != null && typeof e.then == "function" +} + +function Tp(e) { + tu(e) && e.then(null, () => {}) +} +const Lp = e => fetch(e, { + cache: "no-cache" +}).then(t => t.blob()).then(t => URL.createObjectURL(t)); +class Cp { + constructor(t, n) { + E(this, "timerId", null); + E(this, "start", 0); + E(this, "remaining"); + E(this, "cb"); + this.remaining = n, this.cb = t, this.resume = this.resume.bind(this), this.pause = this.pause.bind(this), + this.resume() + } + pause() { + this.timerId && (window.clearTimeout(this.timerId), this.timerId = null, this.remaining -= Date.now() - this + .start) + } + resume() { + this.timerId || (this.start = Date.now(), this.timerId = window.setTimeout(this.cb, this.remaining)) + } + clear() { + this.timerId && (window.clearTimeout(this.timerId), this.timerId = null) + } +} +class nu { + constructor() { + E(this, "version", "v1.2.61"); + E(this, "cubeReportService"); + E(this, "ua", ""); + E(this, "base64UAData", ""); + E(this, "xwebVersionData", ""); + this.cubeReportService = new $s, this.ua = navigator.userAgent + } + get xWebVersion() { + if (this.xwebVersionData) return this.xwebVersionData; + const t = /XWEB\/([\d.]+)/, + n = this.ua.match(t); + return n ? (this.xwebVersionData = n[1], this.xwebVersionData) : "" + } + get base64UA() { + if (this.base64UAData) return this.base64UAData; + try { + return this.base64UAData = window.btoa(navigator.userAgent), this.base64UAData + } catch (t) { + return "" + } + } + getPerf(t) { + if (!t) return {}; + let n = {}; + return t && (Array.isArray(t) ? t.length > 0 && (n = t[0]) : typeof t == "object" && (n = t), n && (n + .dnsLookup = Math.floor(n.dnsLookup || 0), n.download = Math.floor(n.download || 0), n + .firstByte = Math.floor(n.firstByte || 0), n.redirect = Math.floor(n.redirect || 0), n + .tcpConnect = Math.floor(n.tcpConnect || 0), n.total = Math.floor(n.total || 0))), n + } + parseReqPayload(t) { + if (!t) return {}; + const { + perf: n + } = t, r = this.getPerf(n), i = t.respHeaders || {}; + let o = 1; + return o = t.worker ? 1 : 2, { + ...r, + serverIp: i["x-serverip"] || "", + serverRegion: i["x-clientregion"] || "", + worker: t.worker, + frameType: o + } + } + getHostFromUrl(t) { + try { + return new URL(t).host + } catch (n) { + return "" + } + } + report(t) { + let n = {}; + t.Flag, Gs.SNIFFER, t.ReqPayload && (n = this.parseReqPayload(t.ReqPayload)); + const r = this.getHostFromUrl(t.Url), + i = Math.floor(t.CurrentTime || 0); + let o = t.ByPass || ""; + o && (o = o.replace(/,/g, ";")); + let s = ""; + t.BufferedInfo && (s = JSON.stringify(t.BufferedInfo).replace(/,/g, ";")), t.PlayerExtra = "[".concat(this + .version, "]").concat(t.PlayerExtra); + const a = "".concat(t.FeedId || "", ",").concat(t.Url || "", ",").concat(t.Seed || "", ",").concat(t.Flag, + ",").concat(t.PlayAction || 0, ",").concat(t.PlayerExtra || "", ",").concat(t.FirstDownloadCost || + 0, ",").concat(t.FirstRemuxCost || 0, ",").concat(t.AllCost || 0, ",").concat(t.DownloadCost || 0, + ",").concat(t.DownloadSize || 0, ",").concat(t.SceneType || 0, ",").concat(t.WinSize || 0, ",") + .concat(t.Speed || 0, ",").concat(t.Duration || 0, ",0,").concat(this.version || 0, ",").concat(this + .base64UA || "", ",").concat(Math.floor(Date.now() / 1e3), ",").concat(n.serverRegion || -1, ",") + .concat(n.serverIp || -1, ",1,").concat(this.xWebVersion || 0, ",").concat(n.frameType || 0, ",") + .concat(r || "", ",").concat(i, ",").concat(n.total || 0, ",").concat(n.dnsLookup || 0, ",").concat(n + .tcpConnect || 0, ",").concat(n.firstByte || 0, ",").concat(n.redirect || 0, ",").concat(n + .download || 0, ",").concat(s || "", ",").concat(o || "", ",").concat(t.FlagInfo || ""); + t.FlagInfo; + const c = { + id: 27253, + value: a, + is_important: 1, + is_report_now: 1 + }; + Wt(() => { + window.WeixinJSBridge.invoke("kvReport", c) + }) + } + async cubeErrReport(t) { + const { + error_type: n, + error_msg: r + } = t; + !n || !r || await this.cubeReportService.oldReportError({ + error_type: n, + error_msg: "[".concat(this.version, "]").concat(r) + }) + } +} +const Gs = { + START_PLAY: 0, + START_PLAY_SUCCESS: 1, + START_PLAY_FAIL: 2, + FIRST_BUFFER_DOWNLOAD_SUCCESS: 3, + FIRST_SEG_REMUX_SUCCESS: 4, + PLAYER_STALLED: 5, + START_PLAY_FAIL_DISPOSED: 6, + PLAYER_STALLED_DISPOSED: 7, + SAFE_VIDEO_ERROR_REPORT: 8, + FEED_VIDEO_ERROR_REPORT: 9, + SAFE_VIDEO_RECIVED_V0: 10, + FEED_VIDEO_RECIVED_V0: 11, + ALL_SAFE_VIDEO_SPEC: 12, + ALL_FEED_VIDEO_SPEC: 13, + CHUNK_DOWNLOAD_SUCCESS: 14, + ON_DISPOSE: 15, + SNIFFER: 16 + }, + iu = "modulepreload", + ru = function(e) { + return "//res.wx.qq.com/t/wx_fed/finder/web/web-finder/res/" + e + }, + wo = {}, + it = function(t, n, r) { + let i = Promise.resolve(); + if (n && n.length > 0) { + document.getElementsByTagName("link"); + const s = document.querySelector("meta[property=csp-nonce]"), + a = (s == null ? void 0 : s.nonce) || (s == null ? void 0 : s.getAttribute("nonce")); + i = Promise.allSettled(n.map(c => { + if (c = ru(c), c in wo) return; + wo[c] = !0; + const l = c.endsWith(".css"), + u = l ? '[rel="stylesheet"]' : ""; + if (document.querySelector('link[href="'.concat(c, '"]').concat(u))) return; + const f = document.createElement("link"); + if (f.rel = l ? "stylesheet" : iu, l || (f.as = "script"), f.crossOrigin = "", f.href = c, + a && f.setAttribute("nonce", a), document.head.appendChild(f), l) return new Promise((d, + h) => { + f.addEventListener("load", d), f.addEventListener("error", () => h( + new Error("Unable to preload CSS for ".concat(c)))) + }) + })) + } + + function o(s) { + const a = new Event("vite:preloadError", { + cancelable: !0 + }); + if (a.payload = s, window.dispatchEvent(a), !a.defaultPrevented) throw s + } + return i.then(s => { + for (const a of s || []) a.status === "rejected" && o(a.reason); + return t().catch(o) + }) + }; +/*! + * vue-router v4.0.16 + * (c) 2022 Eduardo San Martin Morote + * @license MIT + */ +const Ws = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", + Un = e => Ws ? Symbol(e) : "_vr_" + e, + ou = Un("rvlm"), + Io = Un("rvd"), + Vi = Un("r"), + Hr = Un("rl"), + mr = Un("rvl"), + Cn = typeof window < "u"; + +function su(e) { + return e.__esModule || Ws && e[Symbol.toStringTag] === "Module" +} +const Me = Object.assign; + +function Qi(e, t) { + const n = {}; + for (const r in t) { + const i = t[r]; + n[r] = Array.isArray(i) ? i.map(e) : e(i) + } + return n +} +const Kn = () => {}, + au = /\/$/, + cu = e => e.replace(au, ""); + +function er(e, t, n = "/") { + let r, i = {}, + o = "", + s = ""; + const a = t.indexOf("?"), + c = t.indexOf("#", a > -1 ? a : 0); + return a > -1 && (r = t.slice(0, a), o = t.slice(a + 1, c > -1 ? c : t.length), i = e(o)), c > -1 && (r = r || t + .slice(0, c), s = t.slice(c, t.length)), r = du(r != null ? r : t, n), { + fullPath: r + (o && "?") + o + s, + path: r, + query: i, + hash: s + } +} + +function lu(e, t) { + const n = t.query ? e(t.query) : ""; + return t.path + (n && "?") + n + (t.hash || "") +} + +function To(e, t) { + return !t || !e.toLowerCase().startsWith(t.toLowerCase()) ? e : e.slice(t.length) || "/" +} + +function uu(e, t, n) { + const r = t.matched.length - 1, + i = n.matched.length - 1; + return r > -1 && r === i && Fn(t.matched[r], n.matched[i]) && Ys(t.params, n.params) && e(t.query) === e(n.query) && + t.hash === n.hash +} + +function Fn(e, t) { + return (e.aliasOf || e) === (t.aliasOf || t) +} + +function Ys(e, t) { + if (Object.keys(e).length !== Object.keys(t).length) return !1; + for (const n in e) + if (!fu(e[n], t[n])) return !1; + return !0 +} + +function fu(e, t) { + return Array.isArray(e) ? Lo(e, t) : Array.isArray(t) ? Lo(t, e) : e === t +} + +function Lo(e, t) { + return Array.isArray(t) ? e.length === t.length && e.every((n, r) => n === t[r]) : e.length === 1 && e[0] === t +} + +function du(e, t) { + if (e.startsWith("/")) return e; + if (!e) return t; + const n = t.split("/"), + r = e.split("/"); + let i = n.length - 1, + o, s; + for (o = 0; o < r.length; o++) + if (s = r[o], !(i === 1 || s === ".")) + if (s === "..") i--; + else break; + return n.slice(0, i).join("/") + "/" + r.slice(o - (o === r.length ? 1 : 0)).join("/") +} +var ti; +(function(e) { + e.pop = "pop", e.push = "push" +})(ti || (ti = {})); +var Xn; +(function(e) { + e.back = "back", e.forward = "forward", e.unknown = "" +})(Xn || (Xn = {})); + +function hu(e) { + if (!e) + if (Cn) { + const t = document.querySelector("base"); + e = t && t.getAttribute("href") || "/", e = e.replace(/^\w+:\/\/[^\/]+/, "") + } else e = "/"; + return e[0] !== "/" && e[0] !== "#" && (e = "/" + e), cu(e) +} +const pu = /^[^#]+#/; + +function mu(e, t) { + return e.replace(pu, "#") + t +} + +function _u(e, t) { + const n = document.documentElement.getBoundingClientRect(), + r = e.getBoundingClientRect(); + return { + behavior: t.behavior, + left: r.left - n.left - (t.left || 0), + top: r.top - n.top - (t.top || 0) + } +} +const Hi = () => ({ + left: window.pageXOffset, + top: window.pageYOffset +}); + +function gu(e) { + let t; + if ("el" in e) { + const n = e.el, + r = typeof n == "string" && n.startsWith("#"), + i = typeof n == "string" ? r ? document.getElementById(n.slice(1)) : document.querySelector(n) : n; + if (!i) return; + t = _u(i, e) + } else t = e; + "scrollBehavior" in document.documentElement.style ? window.scrollTo(t) : window.scrollTo(t.left != null ? t.left : + window.pageXOffset, t.top != null ? t.top : window.pageYOffset) +} + +function Co(e, t) { + return (history.state ? history.state.position - t : -1) + e +} +const _r = new Map; + +function vu(e, t) { + _r.set(e, t) +} + +function yu(e) { + const t = _r.get(e); + return _r.delete(e), t +} +let Su = () => location.protocol + "//" + location.host; + +function zs(e, t) { + const { + pathname: n, + search: r, + hash: i + } = t, o = e.indexOf("#"); + if (o > -1) { + let a = i.includes(e.slice(o)) ? e.slice(o).length : 1, + c = i.slice(a); + return c[0] !== "/" && (c = "/" + c), To(c, "") + } + return To(n, e) + r + i +} + +function bu(e, t, n, r) { + let i = [], + o = [], + s = null; + const a = ({ + state: d + }) => { + const h = zs(e, location), + p = n.value, + _ = t.value; + let m = 0; + if (d) { + if (n.value = h, t.value = d, s && s === p) { + s = null; + return + } + m = _ ? d.position - _.position : 0 + } else r(h); + i.forEach(g => { + g(n.value, p, { + delta: m, + type: ti.pop, + direction: m ? m > 0 ? Xn.forward : Xn.back : Xn.unknown + }) + }) + }; + + function c() { + s = n.value + } + + function l(d) { + i.push(d); + const h = () => { + const p = i.indexOf(d); + p > -1 && i.splice(p, 1) + }; + return o.push(h), h + } + + function u() { + const { + history: d + } = window; + d.state && d.replaceState(Me({}, d.state, { + scroll: Hi() + }), "") + } + + function f() { + for (const d of o) d(); + o = [], window.removeEventListener("popstate", a), window.removeEventListener("beforeunload", u) + } + return window.addEventListener("popstate", a), window.addEventListener("beforeunload", u), { + pauseListeners: c, + listen: l, + destroy: f + } +} + +function Ao(e, t, n, r = !1, i = !1) { + return { + back: e, + current: t, + forward: n, + replaced: r, + position: window.history.length, + scroll: i ? Hi() : null + } +} + +function Eu(e) { + const { + history: t, + location: n + } = window, r = { + value: zs(e, n) + }, i = { + value: t.state + }; + i.value || o(r.value, { + back: null, + current: r.value, + forward: null, + position: t.length - 1, + replaced: !0, + scroll: null + }, !0); + + function o(c, l, u) { + const f = e.indexOf("#"), + d = f > -1 ? (n.host && document.querySelector("base") ? e : e.slice(f)) + c : Su() + e + c; + try { + t[u ? "replaceState" : "pushState"](l, "", d), i.value = l + } catch (h) { + n[u ? "replace" : "assign"](d) + } + } + + function s(c, l) { + const u = Me({}, t.state, Ao(i.value.back, c, i.value.forward, !0), l, { + position: i.value.position + }); + o(c, u, !0), r.value = c + } + + function a(c, l) { + const u = Me({}, i.value, t.state, { + forward: c, + scroll: Hi() + }); + o(u.current, u, !0); + const f = Me({}, Ao(r.value, c, null), { + position: u.position + 1 + }, l); + o(c, f, !1), r.value = c + } + return { + location: r, + state: i, + push: a, + replace: s + } +} + +function wu(e) { + e = hu(e); + const t = Eu(e), + n = bu(e, t.state, t.location, t.replace); + + function r(o, s = !0) { + s || n.pauseListeners(), history.go(o) + } + const i = Me({ + location: "", + base: e, + go: r, + createHref: mu.bind(null, e) + }, t, n); + return Object.defineProperty(i, "location", { + enumerable: !0, + get: () => t.location.value + }), Object.defineProperty(i, "state", { + enumerable: !0, + get: () => t.state.value + }), i +} + +function Iu(e) { + return typeof e == "string" || e && typeof e == "object" +} + +function Js(e) { + return typeof e == "string" || typeof e == "symbol" +} +const tn = { + path: "/", + name: void 0, + params: {}, + query: {}, + hash: "", + fullPath: "/", + matched: [], + meta: {}, + redirectedFrom: void 0 + }, + Zs = Un("nf"); +var Mo; +(function(e) { + e[e.aborted = 4] = "aborted", e[e.cancelled = 8] = "cancelled", e[e.duplicated = 16] = "duplicated" +})(Mo || (Mo = {})); + +function kn(e, t) { + return Me(new Error, { + type: e, + [Zs]: !0 + }, t) +} + +function nn(e, t) { + return e instanceof Error && Zs in e && (t == null || !!(e.type & t)) +} +const xo = "[^/]+?", + Tu = { + sensitive: !1, + strict: !1, + start: !0, + end: !0 + }, + Lu = /[.+*?^${}()[\]/\\]/g; + +function Cu(e, t) { + const n = Me({}, Tu, t), + r = []; + let i = n.start ? "^" : ""; + const o = []; + for (const l of e) { + const u = l.length ? [] : [90]; + n.strict && !l.length && (i += "/"); + for (let f = 0; f < l.length; f++) { + const d = l[f]; + let h = 40 + (n.sensitive ? .25 : 0); + if (d.type === 0) f || (i += "/"), i += d.value.replace(Lu, "\\$&"), h += 40; + else if (d.type === 1) { + const { + value: p, + repeatable: _, + optional: m, + regexp: g + } = d; + o.push({ + name: p, + repeatable: _, + optional: m + }); + const b = g || xo; + if (b !== xo) { + h += 10; + try { + new RegExp("(".concat(b, ")")) + } catch (S) { + throw new Error('Invalid custom RegExp for param "'.concat(p, '" (').concat(b, "): ") + S + .message) + } + } + let y = _ ? "((?:".concat(b, ")(?:/(?:").concat(b, "))*)") : "(".concat(b, ")"); + f || (y = m && l.length < 2 ? "(?:/".concat(y, ")") : "/" + y), m && (y += "?"), i += y, h += 20, m && ( + h += -8), _ && (h += -20), b === ".*" && (h += -50) + } + u.push(h) + } + r.push(u) + } + if (n.strict && n.end) { + const l = r.length - 1; + r[l][r[l].length - 1] += .7000000000000001 + } + n.strict || (i += "/?"), n.end ? i += "$" : n.strict && (i += "(?:/|$)"); + const s = new RegExp(i, n.sensitive ? "" : "i"); + + function a(l) { + const u = l.match(s), + f = {}; + if (!u) return null; + for (let d = 1; d < u.length; d++) { + const h = u[d] || "", + p = o[d - 1]; + f[p.name] = h && p.repeatable ? h.split("/") : h + } + return f + } + + function c(l) { + let u = "", + f = !1; + for (const d of e) { + (!f || !u.endsWith("/")) && (u += "/"), f = !1; + for (const h of d) + if (h.type === 0) u += h.value; + else if (h.type === 1) { + const { + value: p, + repeatable: _, + optional: m + } = h, g = p in l ? l[p] : ""; + if (Array.isArray(g) && !_) throw new Error('Provided param "'.concat(p, + '" is an array but it is not repeatable (* or + modifiers)')); + const b = Array.isArray(g) ? g.join("/") : g; + if (!b) + if (m) d.length < 2 && e.length > 1 && (u.endsWith("/") ? u = u.slice(0, -1) : f = !0); + else throw new Error('Missing required param "'.concat(p, '"')); + u += b + } + } + return u + } + return { + re: s, + score: r, + keys: o, + parse: a, + stringify: c + } +} + +function Au(e, t) { + let n = 0; + for (; n < e.length && n < t.length;) { + const r = t[n] - e[n]; + if (r) return r; + n++ + } + return e.length < t.length ? e.length === 1 && e[0] === 80 ? -1 : 1 : e.length > t.length ? t.length === 1 && t[ + 0] === 80 ? 1 : -1 : 0 +} + +function Mu(e, t) { + let n = 0; + const r = e.score, + i = t.score; + for (; n < r.length && n < i.length;) { + const o = Au(r[n], i[n]); + if (o) return o; + n++ + } + if (Math.abs(i.length - r.length) === 1) { + if (Ro(r)) return 1; + if (Ro(i)) return -1 + } + return i.length - r.length +} + +function Ro(e) { + const t = e[e.length - 1]; + return e.length > 0 && t[t.length - 1] < 0 +} +const xu = { + type: 0, + value: "" + }, + Ru = /[a-zA-Z0-9_]/; + +function Ou(e) { + if (!e) return [ + [] + ]; + if (e === "/") return [ + [xu] + ]; + if (!e.startsWith("/")) throw new Error('Invalid path "'.concat(e, '"')); + + function t(h) { + throw new Error("ERR (".concat(n, ')/"').concat(l, '": ').concat(h)) + } + let n = 0, + r = n; + const i = []; + let o; + + function s() { + o && i.push(o), o = [] + } + let a = 0, + c, l = "", + u = ""; + + function f() { + l && (n === 0 ? o.push({ + type: 0, + value: l + }) : n === 1 || n === 2 || n === 3 ? (o.length > 1 && (c === "*" || c === "+") && t( + "A repeatable param (".concat(l, ") must be alone in its segment. eg: '/:ids+.")), o.push({ + type: 1, + value: l, + regexp: u, + repeatable: c === "*" || c === "+", + optional: c === "*" || c === "?" + })) : t("Invalid state to consume buffer"), l = "") + } + + function d() { + l += c + } + for (; a < e.length;) { + if (c = e[a++], c === "\\" && n !== 2) { + r = n, n = 4; + continue + } + switch (n) { + case 0: + c === "/" ? (l && f(), s()) : c === ":" ? (f(), n = 1) : d(); + break; + case 4: + d(), n = r; + break; + case 1: + c === "(" ? n = 2 : Ru.test(c) ? d() : (f(), n = 0, c !== "*" && c !== "?" && c !== "+" && a--); + break; + case 2: + c === ")" ? u[u.length - 1] == "\\" ? u = u.slice(0, -1) + c : n = 3 : u += c; + break; + case 3: + f(), n = 0, c !== "*" && c !== "?" && c !== "+" && a--, u = ""; + break; + default: + t("Unknown state"); + break + } + } + return n === 2 && t('Unfinished custom RegExp for param "'.concat(l, '"')), f(), s(), i +} + +function Fu(e, t, n) { + const r = Cu(Ou(e.path), n), + i = Me(r, { + record: e, + parent: t, + children: [], + alias: [] + }); + return t && !i.record.aliasOf == !t.record.aliasOf && t.children.push(i), i +} + +function ku(e, t) { + const n = [], + r = new Map; + t = Fo({ + strict: !1, + end: !0, + sensitive: !1 + }, t); + + function i(u) { + return r.get(u) + } + + function o(u, f, d) { + const h = !d, + p = Nu(u); + p.aliasOf = d && d.record; + const _ = Fo(t, u), + m = [p]; + if ("alias" in u) { + const y = typeof u.alias == "string" ? [u.alias] : u.alias; + for (const S of y) m.push(Me({}, p, { + components: d ? d.record.components : p.components, + path: S, + aliasOf: d ? d.record : p + })) + } + let g, b; + for (const y of m) { + const { + path: S + } = y; + if (f && S[0] !== "/") { + const w = f.record.path, + k = w[w.length - 1] === "/" ? "" : "/"; + y.path = f.record.path + (S && k + S) + } + if (g = Fu(y, f, _), d ? d.alias.push(g) : (b = b || g, b !== g && b.alias.push(g), h && u.name && !Oo(g) && + s(u.name)), "children" in p) { + const w = p.children; + for (let k = 0; k < w.length; k++) o(w[k], g, d && d.children[k]) + } + d = d || g, c(g) + } + return b ? () => { + s(b) + } : Kn + } + + function s(u) { + if (Js(u)) { + const f = r.get(u); + f && (r.delete(u), n.splice(n.indexOf(f), 1), f.children.forEach(s), f.alias.forEach(s)) + } else { + const f = n.indexOf(u); + f > -1 && (n.splice(f, 1), u.record.name && r.delete(u.record.name), u.children.forEach(s), u.alias.forEach( + s)) + } + } + + function a() { + return n + } + + function c(u) { + let f = 0; + for (; f < n.length && Mu(u, n[f]) >= 0 && (u.record.path !== n[f].record.path || !Ks(u, n[f]));) f++; + n.splice(f, 0, u), u.record.name && !Oo(u) && r.set(u.record.name, u) + } + + function l(u, f) { + let d, h = {}, + p, _; + if ("name" in u && u.name) { + if (d = r.get(u.name), !d) throw kn(1, { + location: u + }); + _ = d.record.name, h = Me(Pu(f.params, d.keys.filter(b => !b.optional).map(b => b.name)), u.params), p = d + .stringify(h) + } else if ("path" in u) p = u.path, d = n.find(b => b.re.test(p)), d && (h = d.parse(p), _ = d.record.name); + else { + if (d = f.name ? r.get(f.name) : n.find(b => b.re.test(f.path)), !d) throw kn(1, { + location: u, + currentLocation: f + }); + _ = d.record.name, h = Me({}, f.params, u.params), p = d.stringify(h) + } + const m = []; + let g = d; + for (; g;) m.unshift(g.record), g = g.parent; + return { + name: _, + path: p, + params: h, + matched: m, + meta: Bu(m) + } + } + return e.forEach(u => o(u)), { + addRoute: o, + resolve: l, + removeRoute: s, + getRoutes: a, + getRecordMatcher: i + } +} + +function Pu(e, t) { + const n = {}; + for (const r of t) r in e && (n[r] = e[r]); + return n +} + +function Nu(e) { + return { + path: e.path, + redirect: e.redirect, + name: e.name, + meta: e.meta || {}, + aliasOf: void 0, + beforeEnter: e.beforeEnter, + props: Du(e), + children: e.children || [], + instances: {}, + leaveGuards: new Set, + updateGuards: new Set, + enterCallbacks: {}, + components: "components" in e ? e.components || {} : { + default: e.component + } + } +} + +function Du(e) { + const t = {}, + n = e.props || !1; + if ("component" in e) t.default = n; + else + for (const r in e.components) t[r] = typeof n == "boolean" ? n : n[r]; + return t +} + +function Oo(e) { + for (; e;) { + if (e.record.aliasOf) return !0; + e = e.parent + } + return !1 +} + +function Bu(e) { + return e.reduce((t, n) => Me(t, n.meta), {}) +} + +function Fo(e, t) { + const n = {}; + for (const r in e) n[r] = r in t ? t[r] : e[r]; + return n +} + +function Ks(e, t) { + return t.children.some(n => n === e || Ks(e, n)) +} +const Xs = /#/g, + ju = /&/g, + Uu = /\//g, + Vu = /=/g, + Hu = /\?/g, + Qs = /\+/g, + $u = /%!B(MISSING)/g, + qu = /%!D(MISSING)/g, + ea = /%!E(MISSING)/g, + Gu = /%!/(MISSING) g, + ta = /%!B(MISSING)/g, + Wu = /%!C(MISSING)/g, + na = /%!D(MISSING)/g, + Yu = /%!/(MISSING) g; + +function $r(e) { + return encodeURI("" + e).replace(Wu, "|").replace($u, "[").replace(qu, "]") +} + +function zu(e) { + return $r(e).replace(ta, "{").replace(na, "}").replace(ea, "^") +} + +function gr(e) { + return $r(e).replace(Qs, "%!B(MISSING)").replace(Yu, "+").replace(Xs, "%!"(MISSING)).replace(ju, "%!"(MISSING)) + .replace(Gu, "`").replace(ta, "{").replace(na, "}").replace(ea, "^") +} + +function Ju(e) { + return gr(e).replace(Vu, "%!D(MISSING)") +} + +function Zu(e) { + return $r(e).replace(Xs, "%!"(MISSING)).replace(Hu, "%!F(MISSING)") +} + +function Ku(e) { + return e == null ? "" : Zu(e).replace(Uu, "%!F(MISSING)") +} + +function Ai(e) { + try { + return decodeURIComponent("" + e) + } catch (t) {} + return "" + e +} + +function Xu(e) { + const t = {}; + if (e === "" || e === "?") return t; + const r = (e[0] === "?" ? e.slice(1) : e).split("&"); + for (let i = 0; i < r.length; ++i) { + const o = r[i].replace(Qs, " "), + s = o.indexOf("="), + a = Ai(s < 0 ? o : o.slice(0, s)), + c = s < 0 ? null : Ai(o.slice(s + 1)); + if (a in t) { + let l = t[a]; + Array.isArray(l) || (l = t[a] = [l]), l.push(c) + } else t[a] = c + } + return t +} + +function ko(e) { + let t = ""; + for (let n in e) { + const r = e[n]; + if (n = Ju(n), r == null) { + r !== void 0 && (t += (t.length ? "&" : "") + n); + continue + }(Array.isArray(r) ? r.map(o => o && gr(o)) : [r && gr(r)]).forEach(o => { + o !== void 0 && (t += (t.length ? "&" : "") + n, o != null && (t += "=" + o)) + }) + } + return t +} + +function Qu(e) { + const t = {}; + for (const n in e) { + const r = e[n]; + r !== void 0 && (t[n] = Array.isArray(r) ? r.map(i => i == null ? null : "" + i) : r == null ? r : "" + r) + } + return t +} + +function qn() { + let e = []; + + function t(r) { + return e.push(r), () => { + const i = e.indexOf(r); + i > -1 && e.splice(i, 1) + } + } + + function n() { + e = [] + } + return { + add: t, + list: () => e, + reset: n + } +} + +function sn(e, t, n, r, i) { + const o = r && (r.enterCallbacks[i] = r.enterCallbacks[i] || []); + return () => new Promise((s, a) => { + const c = f => { + f === !1 ? a(kn(4, { + from: n, + to: t + })) : f instanceof Error ? a(f) : Iu(f) ? a(kn(2, { + from: t, + to: f + })) : (o && r.enterCallbacks[i] === o && typeof f == "function" && o.push(f), s()) + }, + l = e.call(r && r.instances[i], t, n, c); + let u = Promise.resolve(l); + e.length < 3 && (u = u.then(c)), u.catch(f => a(f)) + }) +} + +function tr(e, t, n, r) { + const i = []; + for (const o of e) + for (const s in o.components) { + let a = o.components[s]; + if (!(t !== "beforeRouteEnter" && !o.instances[s])) + if (ef(a)) { + const l = (a.__vccOpts || a)[t]; + l && i.push(sn(l, n, r, o, s)) + } else { + let c = a(); + i.push(() => c.then(l => { + if (!l) return Promise.reject(new Error("Couldn't resolve component \"".concat(s, + '" at "').concat(o.path, '"'))); + const u = su(l) ? l.default : l; + o.components[s] = u; + const d = (u.__vccOpts || u)[t]; + return d && sn(d, n, r, o, s)() + })) + } + } + return i +} + +function ef(e) { + return typeof e == "object" || "displayName" in e || "props" in e || "__vccOpts" in e +} + +function Po(e) { + const t = un(Vi), + n = un(Hr), + r = ne(() => t.resolve(Jn(e.to))), + i = ne(() => { + const { + matched: c + } = r.value, { + length: l + } = c, u = c[l - 1], f = n.matched; + if (!u || !f.length) return -1; + const d = f.findIndex(Fn.bind(null, u)); + if (d > -1) return d; + const h = No(c[l - 2]); + return l > 1 && No(u) === h && f[f.length - 1].path !== h ? f.findIndex(Fn.bind(null, c[l - 2])) : d + }), + o = ne(() => i.value > -1 && of (n.params, r.value.params)), + s = ne(() => i.value > -1 && i.value === n.matched.length - 1 && Ys(n.params, r.value.params)); + + function a(c = {}) { + return rf(c) ? t[Jn(e.replace) ? "replace" : "push"](Jn(e.to)).catch(Kn) : Promise.resolve() + } + return { + route: r, + href: ne(() => r.value.href), + isActive: o, + isExactActive: s, + navigate: a + } +} +const tf = xn({ + name: "RouterLink", + compatConfig: { + MODE: 3 + }, + props: { + to: { + type: [String, Object], + required: !0 + }, + replace: Boolean, + activeClass: String, + exactActiveClass: String, + custom: Boolean, + ariaCurrentValue: { + type: String, + default: "page" + } + }, + useLink: Po, + setup(e, { + slots: t + }) { + const n = Mn(Po(e)), + { + options: r + } = un(Vi), + i = ne(() => ({ + [Do(e.activeClass, r.linkActiveClass, "router-link-active")]: n.isActive, + [Do(e.exactActiveClass, r.linkExactActiveClass, "router-link-exact-active")]: n + .isExactActive + })); + return () => { + const o = t.default && t.default(n); + return e.custom ? o : hs("a", { + "aria-current": n.isExactActive ? e.ariaCurrentValue : null, + href: n.href, + onClick: n.navigate, + class: i.value + }, o) + } + } + }), + nf = tf; + +function rf(e) { + if (!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) && !e.defaultPrevented && !(e.button !== void 0 && e + .button !== 0)) { + if (e.currentTarget && e.currentTarget.getAttribute) { + const t = e.currentTarget.getAttribute("target"); + if (/\b_blank\b/i.test(t)) return + } + return e.preventDefault && e.preventDefault(), !0 + } +} + +function of (e, t) { + for (const n in t) { + const r = t[n], + i = e[n]; + if (typeof r == "string") { + if (r !== i) return !1 + } else if (!Array.isArray(i) || i.length !== r.length || r.some((o, s) => o !== i[s])) return !1 + } + return !0 +} + +function No(e) { + return e ? e.aliasOf ? e.aliasOf.path : e.path : "" +} +const Do = (e, t, n) => e != null ? e : t != null ? t : n, + sf = xn({ + name: "RouterView", + inheritAttrs: !1, + props: { + name: { + type: String, + default: "default" + }, + route: Object + }, + compatConfig: { + MODE: 3 + }, + setup(e, { + attrs: t, + slots: n + }) { + const r = un(mr), + i = ne(() => e.route || r.value), + o = un(Io, 0), + s = ne(() => i.value.matched[o]); + Yi(Io, o + 1), Yi(ou, s), Yi(mr, i); + const a = K(); + return Ye(() => [a.value, s.value, e.name], ([c, l, u], [f, d, h]) => { + l && (l.instances[u] = c, d && d !== l && c && c === f && (l.leaveGuards.size || (l + .leaveGuards = d.leaveGuards), l.updateGuards.size || (l.updateGuards = d + .updateGuards))), c && l && (!d || !Fn(l, d) || !f) && (l.enterCallbacks[u] || []) + .forEach(p => p(c)) + }, { + flush: "post" + }), () => { + const c = i.value, + l = s.value, + u = l && l.components[e.name], + f = e.name; + if (!u) return Bo(n.default, { + Component: u, + route: c + }); + const d = l.props[e.name], + h = d ? d === !0 ? c.params : typeof d == "function" ? d(c) : d : null, + _ = hs(u, Me({}, h, t, { + onVnodeUnmounted: m => { + m.component.isUnmounted && (l.instances[f] = null) + }, + ref: a + })); + return Bo(n.default, { + Component: _, + route: c + }) || _ + } + } + }); + +function Bo(e, t) { + if (!e) return null; + const n = e(t); + return n.length === 1 ? n[0] : n +} +const af = sf; + +function cf(e) { + const t = ku(e.routes, e), + n = e.parseQuery || Xu, + r = e.stringifyQuery || ko, + i = e.history, + o = qn(), + s = qn(), + a = qn(), + c = Or(tn); + let l = tn; + Cn && e.scrollBehavior && "scrollRestoration" in history && (history.scrollRestoration = "manual"); + const u = Qi.bind(null, C => "" + C), + f = Qi.bind(null, Ku), + d = Qi.bind(null, Ai); + + function h(C, j) { + let H, Q; + return Js(C) ? (H = t.getRecordMatcher(C), Q = j) : Q = C, t.addRoute(Q, H) + } + + function p(C) { + const j = t.getRecordMatcher(C); + j && t.removeRoute(j) + } + + function _() { + return t.getRoutes().map(C => C.record) + } + + function m(C) { + return !!t.getRecordMatcher(C) + } + + function g(C, j) { + if (j = Me({}, j || c.value), typeof C == "string") { + const oe = er(n, C, j.path), + V = t.resolve({ + path: oe.path + }, j), + se = i.createHref(oe.fullPath); + return Me(oe, V, { + params: d(V.params), + hash: Ai(oe.hash), + redirectedFrom: void 0, + href: se + }) + } + let H; + if ("path" in C) H = Me({}, C, { + path: er(n, C.path, j.path).path + }); + else { + const oe = Me({}, C.params); + for (const V in oe) oe[V] == null && delete oe[V]; + H = Me({}, C, { + params: f(C.params) + }), j.params = f(j.params) + } + const Q = t.resolve(H, j), + ue = C.hash || ""; + Q.params = u(d(Q.params)); + const le = lu(r, Me({}, C, { + hash: zu(ue), + path: Q.path + })), + ae = i.createHref(le); + return Me({ + fullPath: le, + hash: ue, + query: r === ko ? Qu(C.query) : C.query || {} + }, Q, { + redirectedFrom: void 0, + href: ae + }) + } + + function b(C) { + return typeof C == "string" ? er(n, C, c.value.path) : Me({}, C) + } + + function y(C, j) { + if (l !== C) return kn(8, { + from: j, + to: C + }) + } + + function S(C) { + return v(C) + } + + function w(C) { + return S(Me(b(C), { + replace: !0 + })) + } + + function k(C) { + const j = C.matched[C.matched.length - 1]; + if (j && j.redirect) { + const { + redirect: H + } = j; + let Q = typeof H == "function" ? H(C) : H; + return typeof Q == "string" && (Q = Q.includes("?") || Q.includes("#") ? Q = b(Q) : { + path: Q + }, Q.params = {}), Me({ + query: C.query, + hash: C.hash, + params: C.params + }, Q) + } + } + + function v(C, j) { + const H = l = g(C), + Q = c.value, + ue = C.state, + le = C.force, + ae = C.replace === !0, + oe = k(H); + if (oe) return v(Me(b(oe), { + state: ue, + force: le, + replace: ae + }), j || H); + const V = H; + V.redirectedFrom = j; + let se; + return !le && uu(r, Q, H) && (se = kn(16, { + to: V, + from: Q + }), M(Q, Q, !0, !1)), (se ? Promise.resolve(se) : T(V, Q)).catch(ee => nn(ee) ? nn(ee, 2) ? ee : J(ee) : U( + ee, V, Q)).then(ee => { + if (ee) { + if (nn(ee, 2)) return v(Me(b(ee.to), { + state: ue, + force: le, + replace: ae + }), j || V) + } else ee = L(V, Q, !0, ae, ue); + return A(V, Q, ee), ee + }) + } + + function I(C, j) { + const H = y(C, j); + return H ? Promise.reject(H) : Promise.resolve() + } + + function T(C, j) { + let H; + const [Q, ue, le] = lf(C, j); + H = tr(Q.reverse(), "beforeRouteLeave", C, j); + for (const oe of Q) oe.leaveGuards.forEach(V => { + H.push(sn(V, C, j)) + }); + const ae = I.bind(null, C, j); + return H.push(ae), In(H).then(() => { + H = []; + for (const oe of o.list()) H.push(sn(oe, C, j)); + return H.push(ae), In(H) + }).then(() => { + H = tr(ue, "beforeRouteUpdate", C, j); + for (const oe of ue) oe.updateGuards.forEach(V => { + H.push(sn(V, C, j)) + }); + return H.push(ae), In(H) + }).then(() => { + H = []; + for (const oe of C.matched) + if (oe.beforeEnter && !j.matched.includes(oe)) + if (Array.isArray(oe.beforeEnter)) + for (const V of oe.beforeEnter) H.push(sn(V, C, j)); + else H.push(sn(oe.beforeEnter, C, j)); + return H.push(ae), In(H) + }).then(() => (C.matched.forEach(oe => oe.enterCallbacks = {}), H = tr(le, "beforeRouteEnter", C, j), H + .push(ae), In(H))).then(() => { + H = []; + for (const oe of s.list()) H.push(sn(oe, C, j)); + return H.push(ae), In(H) + }).catch(oe => nn(oe, 8) ? oe : Promise.reject(oe)) + } + + function A(C, j, H) { + for (const Q of a.list()) Q(C, j, H) + } + + function L(C, j, H, Q, ue) { + const le = y(C, j); + if (le) return le; + const ae = j === tn, + oe = Cn ? history.state : {}; + H && (Q || ae ? i.replace(C.fullPath, Me({ + scroll: ae && oe && oe.scroll + }, ue)) : i.push(C.fullPath, ue)), c.value = C, M(C, j, H, ae), J() + } + let O; + + function $() { + O || (O = i.listen((C, j, H) => { + const Q = g(C), + ue = k(Q); + if (ue) { + v(Me(ue, { + replace: !0 + }), Q).catch(Kn); + return + } + l = Q; + const le = c.value; + Cn && vu(Co(le.fullPath, H.delta), Hi()), T(Q, le).catch(ae => nn(ae, 12) ? ae : nn(ae, 2) ? (v( + ae.to, Q).then(oe => { + nn(oe, 20) && !H.delta && H.type === ti.pop && i.go(-1, !1) + }).catch(Kn), Promise.reject()) : (H.delta && i.go(-H.delta, !1), U(ae, Q, le))).then( + ae => { + ae = ae || L(Q, le, !1), ae && (H.delta ? i.go(-H.delta, !1) : H.type === ti.pop && + nn(ae, 20) && i.go(-1, !1)), A(Q, le, ae) + }).catch(Kn) + })) + } + let B = qn(), + F = qn(), + N; + + function U(C, j, H) { + J(C); + const Q = F.list(); + return Q.length && Q.forEach(ue => ue(C, j, H)), Promise.reject(C) + } + + function P() { + return N && c.value !== tn ? Promise.resolve() : new Promise((C, j) => { + B.add([C, j]) + }) + } + + function J(C) { + return N || (N = !C, $(), B.list().forEach(([j, H]) => C ? H(C) : j()), B.reset()), C + } + + function M(C, j, H, Q) { + const { + scrollBehavior: ue + } = e; + if (!Cn || !ue) return Promise.resolve(); + const le = !H && yu(Co(C.fullPath, 0)) || (Q || !H) && history.state && history.state.scroll || null; + return Dn().then(() => ue(C, j, le)).then(ae => ae && gu(ae)).catch(ae => U(ae, C, j)) + } + const q = C => i.go(C); + let W; + const z = new Set; + return { + currentRoute: c, + addRoute: h, + removeRoute: p, + hasRoute: m, + getRoutes: _, + resolve: g, + options: e, + push: S, + replace: w, + go: q, + back: () => q(-1), + forward: () => q(1), + beforeEach: o.add, + beforeResolve: s.add, + afterEach: a.add, + onError: F.add, + isReady: P, + install(C) { + const j = this; + C.component("RouterLink", nf), C.component("RouterView", af), C.config.globalProperties.$router = j, Object + .defineProperty(C.config.globalProperties, "$route", { + enumerable: !0, + get: () => Jn(c) + }), Cn && !W && c.value === tn && (W = !0, S(i.location).catch(ue => {})); + const H = {}; + for (const ue in tn) H[ue] = ne(() => c.value[ue]); + C.provide(Vi, j), C.provide(Hr, Mn(H)), C.provide(mr, c); + const Q = C.unmount; + z.add(C), C.unmount = function() { + z.delete(C), z.size < 1 && (l = tn, O && O(), O = null, c.value = tn, W = !1, N = !1), Q() + } + } + } +} + +function In(e) { + return e.reduce((t, n) => t.then(() => n()), Promise.resolve()) +} + +function lf(e, t) { + const n = [], + r = [], + i = [], + o = Math.max(t.matched.length, e.matched.length); + for (let s = 0; s < o; s++) { + const a = t.matched[s]; + a && (e.matched.find(l => Fn(l, a)) ? r.push(a) : n.push(a)); + const c = e.matched[s]; + c && (t.matched.find(l => Fn(l, c)) || i.push(c)) + } + return [n, r, i] +} + +function Ap() { + return un(Vi) +} + +function $i() { + return un(Hr) +} +var uf = (e => (e[e.kTypeFeed = 1] = "kTypeFeed", e[e.kTypeLive = 2] = "kTypeLive", e[e.kTypeNameCard = 3] = + "kTypeNameCard", e))(uf || {}), + _i = (e => (e[e.default = 0] = "default", e[e.news = 1] = "news", e))(_i || {}), + ff = (e => (e[e.person = 1] = "person", e[e.company = 2] = "company", e))(ff || {}), + vr = (e => (e[e.image = 2] = "image", e[e.video = 4] = "video", e[e.live = 9] = "live", e))(vr || {}), + ia = (e => (e[e.MMFinder_UserpageEnter_Type_Unknown = 0] = "MMFinder_UserpageEnter_Type_Unknown", e[e + .MMFinder_UserpageEnter_Type_Avatar = 1] = "MMFinder_UserpageEnter_Type_Avatar", e[e + .MMFinder_UserpageEnter_Type_MetionLabel = 2] = "MMFinder_UserpageEnter_Type_MetionLabel", e[e + .MMFinder_UserpageEnter_Type_QRCode = 3] = "MMFinder_UserpageEnter_Type_QRCode", e[e + .MMFinder_UserpageEnter_Type_NameCard = 4] = "MMFinder_UserpageEnter_Type_NameCard", e[e + .MMFinder_UserpageEnter_Type_NameLabel = 5] = "MMFinder_UserpageEnter_Type_NameLabel", e[e + .MMFinder_UserpageEnter_Type_Flow_Avatar = 6] = "MMFinder_UserpageEnter_Type_Flow_Avatar", e[e + .MMFinder_UserpageEnter_Type_Contact = 7] = "MMFinder_UserpageEnter_Type_Contact", e[e + .MMFinder_UserpageEnter_Type_Sns_Nickname = 8] = "MMFinder_UserpageEnter_Type_Sns_Nickname", e[e + .MMFinder_UserpageEnter_Type_Follow_AcceptedMessage = 9] = + "MMFinder_UserpageEnter_Type_Follow_AcceptedMessage", e[e.MMFinder_UserpageEnter_Type_Private_Message = + 10] = "MMFinder_UserpageEnter_Type_Private_Message", e[e.MMFinder_UserpageEnter_Type_LiveRoom = 11] = + "MMFinder_UserpageEnter_Type_LiveRoom", e[e.MMFinder_UserpageEnter_Type_BizProfile = 12] = + "MMFinder_UserpageEnter_Type_BizProfile", e[e.MMFinder_UserpageEnter_Type_MineTab = 13] = + "MMFinder_UserpageEnter_Type_MineTab", e[e.MMFinder_UserpageEnter_Type_WxProfile = 14] = + "MMFinder_UserpageEnter_Type_WxProfile", e[e.MMFinder_UserpageEnter_Type_MusicFollowTopic = 15] = + "MMFinder_UserpageEnter_Type_MusicFollowTopic", e[e.MMFinder_UserpageEnter_Type_Brief_Mentioned = 16] = + "MMFinder_UserpageEnter_Type_Brief_Mentioned", e[e.MMFinder_UserpageEnter_Type_OpenSdk = 17] = + "MMFinder_UserpageEnter_Type_OpenSdk", e[e.MMFinder_UserpageEnter_Type_JsApi = 18] = + "MMFinder_UserpageEnter_Type_JsApi", e[e.MMFinder_UserpageEnter_Type_EmotionRain = 19] = + "MMFinder_UserpageEnter_Type_EmotionRain", e[e.MMFinder_UserpageEnter_Type_EmotionPreview = 20] = + "MMFinder_UserpageEnter_Type_EmotionPreview", e[e.MMFinder_UserpageEnter_Type_TimeLine_FinWatch = 21] = + "MMFinder_UserpageEnter_Type_TimeLine_FinWatch", e[e.MMFinder_UserpageEnter_Type_Ad_Guide_Follow = 22] = + "MMFinder_UserpageEnter_Type_Ad_Guide_Follow", e[e.MMFinder_UserpageEnter_Type_BizProfile_FinderTab = 23] = + "MMFinder_UserpageEnter_Type_BizProfile_FinderTab", e[e + .MMFinder_UserpageEnter_Type_BizProfile_FinderTab_Biz = 24] = + "MMFinder_UserpageEnter_Type_BizProfile_FinderTab_Biz", e[e.MMFinder_UserpageEnter_Type_Wecom = 25] = + "MMFinder_UserpageEnter_Type_Wecom", e))(ia || {}), + ni = (e => (e[e.MMFinder_Recommend_PC_Feed = 1] = "MMFinder_Recommend_PC_Feed", e[e.MMFinder_Recommend_PC_Tag = 2] = + "MMFinder_Recommend_PC_Tag", e[e.MMFinder_Recommend_PC_Live = 3] = "MMFinder_Recommend_PC_Live", e))(ni || {}), + yr = (e => (e[e.MMFinder_PCPreload_HomePage = 1] = "MMFinder_PCPreload_HomePage", e[e.MMFinder_PCPreload_OtherTag = + 2] = "MMFinder_PCPreload_OtherTag", e))(yr || {}), + ra = (e => (e[e.MMFinderPC_RequestFlag_Default = 1] = "MMFinderPC_RequestFlag_Default", e[e + .MMFinderPC_RequestFlag_Custom = 2] = "MMFinderPC_RequestFlag_Custom", e))(ra || {}), + Ht = (e => (e[e.MMFinder_GetComment_Scene_PC_Homepage = 140] = "MMFinder_GetComment_Scene_PC_Homepage", e[e + .MMFinder_GetComment_Scene_PC_Detail = 141] = "MMFinder_GetComment_Scene_PC_Detail", e[e + .MMFinder_GetComment_Scene_PC_LiveRoom = 142] = "MMFinder_GetComment_Scene_PC_LiveRoom", e[e + .MMFinder_GetComment_Scene_PC_Profile = 143] = "MMFinder_GetComment_Scene_PC_Profile", e[e + .MMFinder_GetComment_Scene_PC_Mp_Profile = 144] = "MMFinder_GetComment_Scene_PC_Mp_Profile", e[e + .MMFinder_GetComment_Scene_PC_Share_Sns = 145] = "MMFinder_GetComment_Scene_PC_Share_Sns", e[e + .MMFinder_GetComment_Scene_PC_Msg = 146] = "MMFinder_GetComment_Scene_PC_Msg", e))(Ht || {}), + Wn = (e => (e[e.MMFINDER_Object_Permission_Flag_Close_Share = 1] = "MMFINDER_Object_Permission_Flag_Close_Share", e[ + e.MMFINDER_Object_Permission_Flag_Close_Fav = 2] = "MMFINDER_Object_Permission_Flag_Close_Fav", e[e + .MMFINDER_Object_Permission_Flag_Show_Time = 4] = "MMFINDER_Object_Permission_Flag_Show_Time", e[e + .MMFINDER_Object_Permission_Flag_Disable_FeedFollow = 8] = + "MMFINDER_Object_Permission_Flag_Disable_FeedFollow", e[e + .MMFINDER_Object_Permission_Flag_Disable_Forward_To_TextState = 16] = + "MMFINDER_Object_Permission_Flag_Disable_Forward_To_TextState", e[e + .MMFINDER_Object_Permission_Flag_Disable_Like = 32] = "MMFINDER_Object_Permission_Flag_Disable_Like", e[ + e.MMFINDER_Object_Permission_Flag_Disable_Forward_To_RingTone = 64] = + "MMFINDER_Object_Permission_Flag_Disable_Forward_To_RingTone", e[e + .MMFINDER_Object_Permission_Flag_Close_Send = 128] = "MMFINDER_Object_Permission_Flag_Close_Send", e[e + .MMFINDER_Object_Permission_Flag_Disable_Guide = 256] = "MMFINDER_Object_Permission_Flag_Disable_Guide", + e[e.MMFINDER_Object_Permission_Flag_Disable_Async_Carousel = 512] = + "MMFINDER_Object_Permission_Flag_Disable_Async_Carousel", e[e + .MMFINDER_Object_Permission_Flag_Disable_Comment_Emoticon = 1024] = + "MMFINDER_Object_Permission_Flag_Disable_Comment_Emoticon", e[e + .MMFINDER_Object_Permission_Flag_Close_Bullet_Comment = 2048] = + "MMFINDER_Object_Permission_Flag_Close_Bullet_Comment", e[e + .MMFINDER_Object_Permission_Flag_Disable_Bullet_Comment_Switch = 4096] = + "MMFINDER_Object_Permission_Flag_Disable_Bullet_Comment_Switch", e[e + .MMFINDER_Object_Permission_Flag_Hidden_Send = 8192] = "MMFINDER_Object_Permission_Flag_Hidden_Send", e[ + e.MMFINDER_Object_Permission_Flag_Hidden_Share = 16384] = + "MMFINDER_Object_Permission_Flag_Hidden_Share", e[e + .MMFINDER_Object_Permission_Flag_Banned_Forward_To_TextState = 32768] = + "MMFINDER_Object_Permission_Flag_Banned_Forward_To_TextState", e[e + .MMFINDER_Object_Permission_Flag_Banned_Forward_To_RingTone = 65536] = + "MMFINDER_Object_Permission_Flag_Banned_Forward_To_RingTone", e[e + .MMFINDER_Object_Permission_Flag_Hidden_Fav = 131072] = "MMFINDER_Object_Permission_Flag_Hidden_Fav", e[ + e.MMFINDER_OBJECT_Permission_Flag_Banned_Fav = 262144] = "MMFINDER_OBJECT_Permission_Flag_Banned_Fav", + e[e.MMFINDER_OBJECT_Permission_Flag_Banned_FeedFollow = 524288] = + "MMFINDER_OBJECT_Permission_Flag_Banned_FeedFollow", e))(Wn || {}), + df = (e => (e[e.min = 1] = "min", e[e.xs = 2] = "xs", e[e.sm = 3] = "sm", e[e.md = 4] = "md", e[e.lg = 5] = "lg", e[ + e.xl = 6] = "xl", e))(df || {}), + hf = (e => (e[e.FINDER_OBJECT_FUNC_FLAG_USE_MP_IDENTITY_AT_FIRST_COMMENT = 1] = + "FINDER_OBJECT_FUNC_FLAG_USE_MP_IDENTITY_AT_FIRST_COMMENT", e[e.FINDER_OBJECT_FUNC_FLAG_COMMENT_SELECTION = + 2] = "FINDER_OBJECT_FUNC_FLAG_COMMENT_SELECTION", e[e.FINDER_OBJECT_FUNC_FLAG_SHOW_SET_RINGTONE_BUTTON = + 4] = "FINDER_OBJECT_FUNC_FLAG_SHOW_SET_RINGTONE_BUTTON", e))(hf || {}), + oa = (e => (e[e.kTypeFeed = 1] = "kTypeFeed", e[e.kTypeLive = 2] = "kTypeLive", e[e.kTypeNameCard = 3] = + "kTypeNameCard", e))(oa || {}), + pf = (e => (e[e.FetchFinderMemberFeedType_Video = 0] = "FetchFinderMemberFeedType_Video", e[e + .FetchFinderMemberFeedType_Live = 1] = "FetchFinderMemberFeedType_Live", e))(pf || {}); +const mf = -5002; +var _f = (e => (e[e.JumpConfirm = 0] = "JumpConfirm", e[e.JumpDirect = 1] = "JumpDirect", e))(_f || {}), + gf = (e => (e[e.None = 0] = "None", e[e.H5 = 1] = "H5", e[e.LiteApp = 2] = "LiteApp", e))(gf || {}), + ln = (e => (e.feed = "FinderFeed", e.live = "FinderLive", e.extLive = "FinderExtLive", e.error = "FinderError", e + .home = "FinderHome", e.profile = "FinderProfile", e.account = "FinderAccount", e.follow = "FinderFollow", e + .history = "FinderHistory", e.like = "FinderLike", e.star = "FinderStar", e.mp = "FinderMpProfile", e + .notSupport = "FinderNotSupport", e.livecode = "FinderLiveCode", e.search = "FinderSearch", e.livereplay = + "FinderLiveReplay", e.generalJumpErr = "FinderGeneralJumpErr", e))(ln || {}); +const qr = "https://channels.weixin.qq.com", + qi = [{ + name: "FinderFeed", + path: "/feed", + component: () => it(() => import("./FeedDetail.publishCtS9HkHR.js?v=3.0.3"), __vite__mapDeps([0, 1, 2, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, + 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70 + ])), + meta: { + scene: Ht.MMFinder_GetComment_Scene_PC_Detail + } + }, { + name: "FinderLive", + path: "/live", + component: () => it(() => import("./FinderLive.publishDB98ggmH.js?v=3.0.3"), __vite__mapDeps([71, 2, 51, 47, + 48, 72, 55, 1, 12, 13, 27, 28, 56, 73, 22, 23, 10, 11, 9, 53, 37, 54, 15, 44, 45, 74, 75, + 39, 76, 77, 57, 33, 34, 29, 24, 58, 59, 78, 79, 80, 65, 66, 81, 82 + ])), + meta: { + scene: Ht.MMFinder_GetComment_Scene_PC_LiveRoom + } + }, { + name: "FinderHome", + path: "/home", + component: () => it(() => import("./FinderHome.publishBX0wMeHZ.js?v=3.0.3"), __vite__mapDeps([83, 2, 21, 22, + 23, 24, 25, 12, 13, 10, 11, 65, 66, 9, 51, 7, 1, 8, 33, 34, 57, 55, 27, 28, 56, 29, 58, 59, + 61, 62, 15, 84, 79, 80, 78, 85, 30, 31, 26, 17, 32, 6, 4, 5, 14, 16, 18, 19, 20, 47, 48, 86, + 38, 39, 37, 40, 43, 44, 45, 46, 53, 54, 36, 63, 64, 42, 87 + ])), + meta: { + scene: Ht.MMFinder_GetComment_Scene_PC_Homepage + } + }, { + name: "FinderProfile", + path: "/profile", + component: () => it(() => import("./FinderProfile.publishD6QZhpJa.js?v=3.0.3"), __vite__mapDeps([88, 2, 51, + 21, 22, 23, 24, 25, 12, 13, 10, 11, 65, 66, 18, 9, 80, 7, 1, 8, 33, 34, 86, 26, 17, 27, 28, + 32, 42, 89, 90, 55, 56, 57, 29, 58, 59, 60, 61, 62, 19, 44, 45, 76, 77, 14, 15, 16, 91, 92 + ])), + meta: { + scene: Ht.MMFinder_GetComment_Scene_PC_Profile + } + }, { + name: "FinderMpProfile", + path: "/mp_profile", + component: () => it(() => import("./FinderMpProfile.publishBo5np7r_.js?v=3.0.3"), __vite__mapDeps([93, 2, + 12, 13, 10, 11, 7, 1, 8, 33, 34, 86, 9, 18, 26, 17, 27, 28, 32, 89, 90, 51, 55, 56, 57, 29, + 24, 58, 59, 94, 62, 19, 45, 77 + ])), + meta: { + scene: Ht.MMFinder_GetComment_Scene_PC_Mp_Profile + } + }, { + name: "FinderExtLive", + path: "/extLive", + component: () => it(() => import("./FinderExtLive.publishDlUxW37y.js?v=3.0.3"), __vite__mapDeps([95, 96, 2, + 74, 75, 97 + ])) + }, { + name: "FinderError", + path: "/error", + component: () => it(() => import("./FinderError.publishUGDrGSyo.js?v=3.0.3"), __vite__mapDeps([98, 2, 99])) + }, { + name: "FinderNotSupport", + path: "/not_support", + component: () => it(() => import("./FinderNotSupport.publishB7kNwQIL.js?v=3.0.3"), __vite__mapDeps([100, 2, + 101 + ])) + }, { + name: "FinderLiveCode", + path: "/qrcode", + component: () => it(() => import("./FinderLiveCode.publishB6_-xeu8.js?v=3.0.3"), __vite__mapDeps([102, 2, + 103 + ])) + }, { + name: "FinderAccount", + path: "/account", + component: () => it(() => import("./FinderAccount.publishB4HUIQTI.js?v=3.0.3"), __vite__mapDeps([104, 12, 2, + 13, 21, 22, 23, 24, 25, 10, 11, 66, 105, 9, 51, 7, 1, 8, 33, 34, 55, 27, 28, 56, 29, 57, 58, + 59, 60, 61, 62, 19, 106 + ])), + children: [{ + name: "FinderLike", + path: "like", + component: () => it(() => import("./like.publishCxt1dHoc.js?v=3.0.3"), __vite__mapDeps([107, 2, + 12, 13, 10, 11, 15, 65, 66, 105, 80, 7, 1, 8, 33, 34, 85, 9, 30, 28, 31, 26, 17, + 27, 32, 50, 51, 52, 29, 24, 58, 108 + ])) + }, { + name: "FinderHistory", + path: "history", + component: () => it(() => import("./history.publishCGYqzOVh.js?v=3.0.3"), __vite__mapDeps([109, + 2, 12, 13, 10, 11, 26, 1, 7, 8, 17, 27, 9, 28, 15, 65, 66, 105, 33, 34, 30, 50, + 51, 52, 29, 24, 58, 110 + ])) + }, { + name: "FinderFollow", + path: "follow", + component: () => it(() => import("./follow.publishDuaFutNk.js?v=3.0.3"), __vite__mapDeps([111, + 2, 12, 13, 10, 11, 15, 65, 66, 105, 50, 51, 52, 47, 48, 24, 112 + ])) + }, { + path: "star", + redirect: "like" + }] + }, { + name: "FinderSearch", + path: "/s", + component: () => it(() => import("./FinderSearch.publishCcJV2q0K.js?v=3.0.3"), __vite__mapDeps([113, 2, 21, + 22, 23, 24, 25, 12, 13, 10, 11, 65, 66, 114, 51, 15, 84, 9, 80, 7, 1, 8, 33, 34, 85, 30, 28, + 31, 26, 17, 27, 32, 55, 56, 29, 58, 78, 57, 59, 91, 19, 62, 60, 61, 115 + ])) + }, { + name: "FinderLiveReplay", + path: "/liveReplay", + component: () => it(() => import("./FinderLiveReplay.publishCummqirx.js?v=3.0.3"), __vite__mapDeps([116, 3, + 4, 2, 5, 1, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, + 27, 28, 29, 30, 31, 32, 33, 34, 35, 47, 48, 65, 66, 117, 82 + ])) + }, { + name: "FinderGeneralJumpErr", + path: "/generalJumpErr", + component: () => it(() => import("./generalWarningMsg.publishDBhS91dO.js?v=3.0.3"), __vite__mapDeps([63, 2, + 64 + ])), + props: e => ({ + generalJumpErrMsg: e.params.generalJumpErrMsg + }) + }], + vf = cf({ + history: wu("/web/pages/"), + routes: qi, + scrollBehavior(e, t, n) { + return n || { + top: 0, + left: 0 + } + } + }); +vf.afterEach(() => { + document.title = "瑙嗛鍙�" +}); +var yf = (e => (e[e.LeavePage = 1] = "LeavePage", e[e.UnFocusFeed = 2] = "UnFocusFeed", e[e.StopVideo = 3] = + "StopVideo", e[e.RePlayVideo = 4] = "RePlayVideo", e[e.ClickShare = 5] = "ClickShare", e[e + .OpenFloatComment = 6] = "OpenFloatComment", e[e.CloseFloatComment = 7] = "CloseFloatComment", e[e + .ToggleImage = 8] = "ToggleImage", e))(yf || {}), + Sf = (e => (e[e.img = 1] = "img", e[e.video = 2] = "video", e))(Sf || {}); +class bf { + constructor() { + E(this, "feedId", ""); + E(this, "longVideoId", ""); + E(this, "cardType"); + E(this, "sessionId", ""); + E(this, "contextId", "") + } + init(t, n, r) { + this.feedId = t, this.longVideoId = n, this.cardType = r; + const i = Ui(); + this.sessionId = i.sessionid, this.contextId = i.contextid + } + report(t, n, r = ln.feed) { + const i = "".concat(r, "_").concat(Math.round(Date.now() / 1e3)), + o = { + id: 22202, + value: "".concat(this.sessionId, ",").concat(this.contextId, ",").concat(i, ",").concat(t, ",") + .concat(Date.now(), ",").concat(n, ",").concat(this.cardType, ",").concat(this.feedId, ",") + .concat(this.longVideoId), + is_important: 1, + is_report_now: 1 + }; + Wt(() => { + window.WeixinJSBridge.invoke("kvReport", o) + }) + } +} +class Ef { + report(t) { + const { + contextid: n, + sessionid: r + } = Ui(), o = { + id: 21754, + value: "".concat(t.FeedId, ",").concat(t.LiveId, ",,,,,,,,,").concat(r, ",").concat(n, ",").concat(t + .AcclaimCount, ",").concat(t.CommentsCount, ",").concat(t.CommentContent, ",").concat(t + .SingleChat, ",").concat(t.GroupChat, ",").concat(t.FloatDuration, ",").concat(t + .FullDuration, ",").concat(t.RotationCount), + is_important: 1, + is_report_now: 1 + }; + Wt(() => { + window.WeixinJSBridge.invoke("kvReport", o) + }) + } +} +const Gr = (e = 3, t = 1e3) => (n, r, i) => { + const o = i.value; + return i.value = async function(...s) { + let a = 0; + const c = this, + l = () => new Promise((u, f) => { + const d = s.concat([a]); + o.call(c, ...d).then(h => { + u(h) + }).catch(h => { + window.setTimeout(() => { + if (a += 1, a > e) return f(h); + l().then(u).catch(f) + }, t) + }) + }); + return l() + }, i +}; +var Mt = (e => (e[e.JSAPI_UNKNOWN = -7e4] = "JSAPI_UNKNOWN", e[e.JSAPI_LOGIN_FAILED = -70001] = "JSAPI_LOGIN_FAILED", e[ + e.JSAPI_TRANSFER_FAILED = -70002] = "JSAPI_TRANSFER_FAILED", e[e.JSAPI_JSONPARSE_FAILED = -70003] = + "JSAPI_JSONPARSE_FAILED", e[e.JSAPI_TIMEOUT = -70004] = "JSAPI_TIMEOUT", e))(Mt || {}), + sa = (e => (e[e.OK = 0] = "OK", e[e.SERVICE_OVERLOAD = -3003] = "SERVICE_OVERLOAD", e[e.FREQUENCY_INTERCEPTION = - + 34] = "FREQUENCY_INTERCEPTION", e[e.ERR_LOGIC = -104] = "ERR_LOGIC", e[e.ERR_SYS = -1] = "ERR_SYS", e))(sa || + {}), + gi = (e => (e[e.MM_OK = 0] = "MM_OK", e[e.MM_ERR_SYS = -1] = "MM_ERR_SYS", e[e.MM_ERR_ARG = -2] = "MM_ERR_ARG", e[e + .MM_ERR_SESSIONTIMEOUT = -13] = "MM_ERR_SESSIONTIMEOUT", e[e.MM_ERR_WRONG_SESSION_KEY = -77] = + "MM_ERR_WRONG_SESSION_KEY", e[e.MM_ERR_LOGIC = -104] = "MM_ERR_LOGIC", e))(gi || {}), + mt = (e => (e[e.NOT_NEED = 0] = "NOT_NEED", e[e.ONCE = 1] = "ONCE", e[e.ALWAYS = 2] = "ALWAYS", e))(mt || {}), + wf = Object.defineProperty, + If = Object.getOwnPropertyDescriptor, + Tf = (e, t, n, r) => { + for (var i = If(t, n), o = e.length - 1, s; o >= 0; o--)(s = e[o]) && (i = s(t, n, i) || i); + return i && wf(t, n, i), i + }; +let fn = class { + constructor(t) { + E(this, "api", new Map); + t.forEach(n => { + this.api.set(n.name, { + ...n + }) + }) + } + getApiUrl(t) { + return this.api.get(t).ilink.url + } + getApiCmdid(t) { + return this.api.get(t).ilink.cmdid + } + getIlinkExtraApiName(t) { + var n, r, i, o; + return (r = (n = this.api.get(t)) == null ? void 0 : n.ilink) != null && r.extraName ? (o = (i = this + .api.get(t)) == null ? void 0 : i.ilink) == null ? void 0 : o.extraName : "" + } + getApiScope(t) { + var n; + return (n = this.api.get(t)) == null ? void 0 : n.scope + } + async post(t) { + try { + return await this.invoke(t) + } catch (n) { + return this.createResp(Mt.JSAPI_UNKNOWN, "JSAPI_UNKNOWN", {}) + } + } + createResp(t, n, r) { + return { + errCode: t, + errMsg: n, + data: r + } + } + getSecurityCheckType(t) { + var n, r; + return (r = (n = this.api.get(t)) == null ? void 0 : n.ilink) == null ? void 0 : r.security + } + computeParams(t) { + var u, f; + let n = t.data ? t.data : {}; + n.finderBasereq || (n.finderBasereq = {}); + try { + const d = window.location.href, + h = qi.find(p => { + const _ = "".concat(qr, "/web/pages").concat(p.path); + return d.indexOf(_) > -1 + }); + (u = h == null ? void 0 : h.meta) != null && u.scene && Object.assign(n.finderBasereq, { + scene: (f = h.meta) == null ? void 0 : f.scene + }) + } catch (d) {} + const r = gt("context_id"); + r && Object.assign(n.finderBasereq, { + ctxInfo: { + contextId: r + } + }); + const i = gt("entrance_id"), + o = gt("sub_entranceid"); + if (i) { + const d = { + entranceId: i + }; + o && Object.assign(d, { + subEntranceid: o + }); + try { + const h = JSON.stringify(d); + Object.assign(n.finderBasereq, { + ctxInfo: { + ...n.finderBasereq.ctxInfo || {}, + clientReportBuff: h + } + }) + } catch (h) { + De.oldReportError({ + error_type: "client_report_buff 缂栫爜澶辫触", + error_msg: "url: ".concat(window.location.href) + }) + } + } + n = On(n); + const s = this.getApiUrl(t.name); + s || De.oldReportError({ + error_msg: "ua: ".concat(navigator.userAgent), + error_type: "H5ExtTransfer Failed: empty url" + }); + const a = { + req_json: JSON.stringify(n), + url: s, + cgi_cmdid: this.getApiCmdid(t.name), + is_security_check: !1 + }, + c = this.getSecurityCheckType(t.name); + c && (c === mt.ALWAYS && Object.assign(a, { + is_security_check: !0 + }), c === mt.ONCE && (me.getSession(t.name) || (Object.assign(a, { + is_security_check: !0 + }), me.setSession(t.name, !0)))); + const l = this.getApiScope(t.name) || "finderLive"; + return Object.assign(a, { + scope: l + }), a + } + transfer(t) { + return new Promise((n, r) => { + const i = this.computeParams(t), + o = "finderH5ExtTransfer", + s = performance.now(); + window.IlinkJSBridge.invoke(o, i, async a => { + var f, d; + const c = (f = a.base_resp) == null ? void 0 : f.ret; + if (c && c >= 30 && c <= 42) return r(a); + let l, u; + if ((d = a.jsapi_resp) != null && d.resp_json) try { + l = JSON.parse(a.jsapi_resp.resp_json), l = Pe(l) + } catch (h) { + De.oldReportError({ + error_msg: "url: ".concat(i.url, " resp_json: ").concat( + a.jsapi_resp.resp_json, " err: ").concat(h), + error_type: "JSON PARSE ERROR" + }), u = this.createResp(Mt.JSAPI_JSONPARSE_FAILED, + "JSAPI_JSONPARSE_FAILED", {}) + } + l ? (Math.random() < .01 && De.oldReportPerf({ + type: "jsapi", + action: "finderH5ExtTransfer_".concat(i.url), + exec_time: "".concat(Math.ceil((performance.now() - s) * + 1e3)) + }), u = this.createResp(0, "ok", l)) : (De.oldReportError({ + error_msg: "(wxwork)url: ".concat(t.url, " resp: ").concat( + JSON.stringify(a)), + error_type: "H5ExtTransfer Failed" + }), u = this.createResp(Mt.JSAPI_TRANSFER_FAILED, + "JSAPI_TRANSFER_FAILED", {})), n(u) + }) + }) + } + async invoke(t) { + try { + return await this.transfer(t) + } catch (n) { + return De.oldReportError({ + error_msg: "url: ".concat(t.name, " resp: ").concat(JSON.stringify(n)), + error_type: "Invoke Failed" + }), this.createResp(Mt.JSAPI_TRANSFER_FAILED, "JSAPI_TRANSFER_FAILED", {}) + } + } +}; +Tf([Gr(3, 1e3)], fn.prototype, "transfer"); +var aa = { + exports: {} +}; +(function(e, t) { + (function(n, r) { + e.exports = r() + })(ki, function() { + var n = 1e3, + r = 6e4, + i = 36e5, + o = "millisecond", + s = "second", + a = "minute", + c = "hour", + l = "day", + u = "week", + f = "month", + d = "quarter", + h = "year", + p = "date", + _ = "Invalid Date", + m = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, + g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, + b = { + name: "en", + weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), + months: "January_February_March_April_May_June_July_August_September_October_November_December" + .split("_"), + ordinal: function(B) { + var F = ["th", "st", "nd", "rd"], + N = B % !; + (MISSING) return "[" + B + (F[(N - 20) % !](MISSING) || F[N] || F[0]) + "]" + } + }, + y = function(B, F, N) { + var U = String(B); + return !U || U.length >= F ? B : "" + Array(F + 1 - U.length).join(N) + B + }, + S = { + s: y, + z: function(B) { + var F = -B.utcOffset(), + N = Math.abs(F), + U = Math.floor(N / 60), + P = N % !; + (MISSING) return (F <= 0 ? "+" : "-") + y(U, 2, "0") + ":" + y(P, 2, "0") + }, + m: function B(F, N) { + if (F.date() < N.date()) return -B(N, F); + var U = 12 * (N.year() - F.year()) + (N.month() - F.month()), + P = F.clone().add(U, f), + J = N - P < 0, + M = F.clone().add(U + (J ? -1 : 1), f); + return +(-(U + (N - P) / (J ? P - M : M - P)) || 0) + }, + a: function(B) { + return B < 0 ? Math.ceil(B) || 0 : Math.floor(B) + }, + p: function(B) { + return { + M: f, + y: h, + w: u, + d: l, + D: p, + h: c, + m: a, + s, + ms: o, + Q: d + } [B] || String(B || "").toLowerCase().replace(/s$/, "") + }, + u: function(B) { + return B === void 0 + } + }, + w = "en", + k = {}; + k[w] = b; + var v = "$isDayjsObject", + I = function(B) { + return B instanceof O || !(!B || !B[v]) + }, + T = function B(F, N, U) { + var P; + if (!F) return w; + if (typeof F == "string") { + var J = F.toLowerCase(); + k[J] && (P = J), N && (k[J] = N, P = J); + var M = F.split("-"); + if (!P && M.length > 1) return B(M[0]) + } else { + var q = F.name; + k[q] = F, P = q + } + return !U && P && (w = P), P || !U && w + }, + A = function(B, F) { + if (I(B)) return B.clone(); + var N = typeof F == "object" ? F : {}; + return N.date = B, N.args = arguments, new O(N) + }, + L = S; + L.l = T, L.i = I, L.w = function(B, F) { + return A(B, { + locale: F.$L, + utc: F.$u, + x: F.$x, + $offset: F.$offset + }) + }; + var O = function() { + function B(N) { + this.$L = T(N.locale, null, !0), this.parse(N), this.$x = this.$x || N.x || {}, this[v] = !0 + } + var F = B.prototype; + return F.parse = function(N) { + this.$d = function(U) { + var P = U.date, + J = U.utc; + if (P === null) return new Date(NaN); + if (L.u(P)) return new Date; + if (P instanceof Date) return new Date(P); + if (typeof P == "string" && !/Z$/i.test(P)) { + var M = P.match(m); + if (M) { + var q = M[2] - 1 || 0, + W = (M[7] || "0").substring(0, 3); + return J ? new Date(Date.UTC(M[1], q, M[3] || 1, M[4] || 0, M[5] || 0, + M[6] || 0, W)) : new Date(M[1], q, M[3] || 1, M[4] || 0, M[5] || + 0, M[6] || 0, W) + } + } + return new Date(P) + }(N), this.init() + }, F.init = function() { + var N = this.$d; + this.$y = N.getFullYear(), this.$M = N.getMonth(), this.$D = N.getDate(), this.$W = N + .getDay(), this.$H = N.getHours(), this.$m = N.getMinutes(), this.$s = N + .getSeconds(), this.$ms = N.getMilliseconds() + }, F.$utils = function() { + return L + }, F.isValid = function() { + return this.$d.toString() !== _ + }, F.isSame = function(N, U) { + var P = A(N); + return this.startOf(U) <= P && P <= this.endOf(U) + }, F.isAfter = function(N, U) { + return A(N) < this.startOf(U) + }, F.isBefore = function(N, U) { + return this.endOf(U) < A(N) + }, F.$g = function(N, U, P) { + return L.u(N) ? this[U] : this.set(P, N) + }, F.unix = function() { + return Math.floor(this.valueOf() / 1e3) + }, F.valueOf = function() { + return this.$d.getTime() + }, F.startOf = function(N, U) { + var P = this, + J = !!L.u(U) || U, + M = L.p(N), + q = function(ue, le) { + var ae = L.w(P.$u ? Date.UTC(P.$y, le, ue) : new Date(P.$y, le, ue), P); + return J ? ae : ae.endOf(l) + }, + W = function(ue, le) { + return L.w(P.toDate()[ue].apply(P.toDate("s"), (J ? [0, 0, 0, 0] : [23, 59, 59, + 999 + ]).slice(le)), P) + }, + z = this.$W, + Y = this.$M, + C = this.$D, + j = "set" + (this.$u ? "UTC" : ""); + switch (M) { + case h: + return J ? q(1, 0) : q(31, 11); + case f: + return J ? q(1, Y) : q(0, Y + 1); + case u: + var H = this.$locale().weekStart || 0, + Q = (z < H ? z + 7 : z) - H; + return q(J ? C - Q : C + (6 - Q), Y); + case l: + case p: + return W(j + "Hours", 0); + case c: + return W(j + "Minutes", 1); + case a: + return W(j + "Seconds", 2); + case s: + return W(j + "Milliseconds", 3); + default: + return this.clone() + } + }, F.endOf = function(N) { + return this.startOf(N, !1) + }, F.$set = function(N, U) { + var P, J = L.p(N), + M = "set" + (this.$u ? "UTC" : ""), + q = (P = {}, P[l] = M + "Date", P[p] = M + "Date", P[f] = M + "Month", P[h] = M + + "FullYear", P[c] = M + "Hours", P[a] = M + "Minutes", P[s] = M + "Seconds", P[ + o] = M + "Milliseconds", P)[J], + W = J === l ? this.$D + (U - this.$W) : U; + if (J === f || J === h) { + var z = this.clone().set(p, 1); + z.$d[q](W), z.init(), this.$d = z.set(p, Math.min(this.$D, z.daysInMonth())).$d + } else q && this.$d[q](W); + return this.init(), this + }, F.set = function(N, U) { + return this.clone().$set(N, U) + }, F.get = function(N) { + return this[L.p(N)]() + }, F.add = function(N, U) { + var P, J = this; + N = Number(N); + var M = L.p(U), + q = function(Y) { + var C = A(J); + return L.w(C.date(C.date() + Math.round(Y * N)), J) + }; + if (M === f) return this.set(f, this.$M + N); + if (M === h) return this.set(h, this.$y + N); + if (M === l) return q(1); + if (M === u) return q(7); + var W = (P = {}, P[a] = r, P[c] = i, P[s] = n, P)[M] || 1, + z = this.$d.getTime() + N * W; + return L.w(z, this) + }, F.subtract = function(N, U) { + return this.add(-1 * N, U) + }, F.format = function(N) { + var U = this, + P = this.$locale(); + if (!this.isValid()) return P.invalidDate || _; + var J = N || "YYYY-MM-DDTHH:mm:ssZ", + M = L.z(this), + q = this.$H, + W = this.$m, + z = this.$M, + Y = P.weekdays, + C = P.months, + j = P.meridiem, + H = function(le, ae, oe, V) { + return le && (le[ae] || le(U, J)) || oe[ae].slice(0, V) + }, + Q = function(le) { + return L.s(q % ! | (MISSING) | 12, le, "0") + }, + ue = j || function(le, ae, oe) { + var V = le < 12 ? "AM" : "PM"; + return oe ? V.toLowerCase() : V + }; + return J.replace(g, function(le, ae) { + return ae || function(oe) { + switch (oe) { + case "YY": + return String(U.$y).slice(-2); + case "YYYY": + return L.s(U.$y, 4, "0"); + case "M": + return z + 1; + case "MM": + return L.s(z + 1, 2, "0"); + case "MMM": + return H(P.monthsShort, z, C, 3); + case "MMMM": + return H(C, z); + case "D": + return U.$D; + case "DD": + return L.s(U.$D, 2, "0"); + case "d": + return String(U.$W); + case "dd": + return H(P.weekdaysMin, U.$W, Y, 2); + case "ddd": + return H(P.weekdaysShort, U.$W, Y, 3); + case "dddd": + return Y[U.$W]; + case "H": + return String(q); + case "HH": + return L.s(q, 2, "0"); + case "h": + return Q(1); + case "hh": + return Q(2); + case "a": + return ue(q, W, !0); + case "A": + return ue(q, W, !1); + case "m": + return String(W); + case "mm": + return L.s(W, 2, "0"); + case "s": + return String(U.$s); + case "ss": + return L.s(U.$s, 2, "0"); + case "SSS": + return L.s(U.$ms, 3, "0"); + case "Z": + return M + } + return null + }(le) || M.replace(":", "") + }) + }, F.utcOffset = function() { + return 15 * -Math.round(this.$d.getTimezoneOffset() / 15) + }, F.diff = function(N, U, P) { + var J, M = this, + q = L.p(U), + W = A(N), + z = (W.utcOffset() - this.utcOffset()) * r, + Y = this - W, + C = function() { + return L.m(M, W) + }; + switch (q) { + case h: + J = C() / 12; + break; + case f: + J = C(); + break; + case d: + J = C() / 3; + break; + case u: + J = (Y - z) / 6048e5; + break; + case l: + J = (Y - z) / 864e5; + break; + case c: + J = Y / i; + break; + case a: + J = Y / r; + break; + case s: + J = Y / n; + break; + default: + J = Y + } + return P ? J : L.a(J) + }, F.daysInMonth = function() { + return this.endOf(f).$D + }, F.$locale = function() { + return k[this.$L] + }, F.locale = function(N, U) { + if (!N) return this.$L; + var P = this.clone(), + J = T(N, U, !0); + return J && (P.$L = J), P + }, F.clone = function() { + return L.w(this.$d, this) + }, F.toDate = function() { + return new Date(this.valueOf()) + }, F.toJSON = function() { + return this.isValid() ? this.toISOString() : null + }, F.toISOString = function() { + return this.$d.toISOString() + }, F.toString = function() { + return this.$d.toUTCString() + }, B + }(), + $ = O.prototype; + return A.prototype = $, [ + ["$ms", o], + ["$s", s], + ["$m", a], + ["$H", c], + ["$W", l], + ["$M", f], + ["$y", h], + ["$D", p] + ].forEach(function(B) { + $[B[1]] = function(F) { + return this.$g(F, B[0], B[1]) + } + }), A.extend = function(B, F) { + return B.$i || (B(F, O, A), B.$i = !0), A + }, A.locale = T, A.isDayjs = I, A.unix = function(B) { + return A(1e3 * B) + }, A.en = k[w], A.Ls = k, A.p = {}, A + }) +})(aa); +var Lf = aa.exports; +const Sr = Nn(Lf), + xp = !1, + Rp = (() => { + try { + return typeof Worker < "u" && typeof MediaSource < "u" && typeof WebAssembly == "object" && + typeof WebAssembly.instantiate == "function" + } catch (e) { + return !1 + } + })(), + Op = "ResizeObserver" in window, + Cf = "finderEnvReport", + Af = async () => { + const e = cc(); + typeof e == "boolean" && Ne.reportPerf(Cf, "isSupportedH265", { + idx1: e ? "true" : "false" + }) + }; +let jo = !1; +const Fp = async () => { + jo || (jo = !0, Af()) +}, ca = { + GO_PROFILE: { + pc: "0x63030800", + mac: "0x13020100" + }, + HOME_ENTRANCE: { + pc: "0x63030800", + mac: "0x13020100" + }, + HEADER_LOGO_VISIBLE: { + pc: "0x63050000", + mac: "0x13030001" + }, + OPEN_TYPE_WINDOW: { + pc: "0x63030800", + mac: "0X13010000" + }, + CLIENT_AUTH: { + pc: "0x63030000", + mac: "0X13010000" + }, + SEPARATE_API: { + pc: "0", + mac: "0x13000000" + }, + SHARE_TIMELINE: { + pc: "0xffffffff", + mac: "0x13040000", + uniWin: "0xf2540100", + uniMac: "0xf2640100", + uniLinux: "0xf2740100", + uniOh: "0xf2b40100" + }, + MINIMODE_SIZE: { + pc: "0x63070000", + mac: "0x13040003" + }, + SHARE_PROFILE_CARD: { + pc: "0x63090700", + mac: "0x13080400" + }, + GO_S1S_FINDER: { + pc: "0", + mac: "0x13080601" + }, + ILINK: { + pc: "0x63090600", + mac: "0xffffffff", + uniMac: "0" + }, + GLOBAL_FAV: { + pc: "0xffffffff", + mac: "0xffffffff", + uniWin: "0xf2540100", + uniMac: "0xf2640100", + uniLinux: "0xf2740100", + uniOh: "0xf2b40100" + } +}, Mi = K(Object.fromEntries(Object.entries(ca).map(([e, t]) => [e, Ae.isCurrentEnvSupported(t)]))); +Ye(() => Ae.currentEnv, () => { + Mi.value = Object.fromEntries(Object.entries(ca).map(([e, t]) => [e, Ae.isCurrentEnvSupported(t)])) +}); +var Mf = Object.defineProperty, + xf = Object.getOwnPropertyDescriptor, + la = (e, t, n, r) => { + for (var i = xf(t, n), o = e.length - 1, s; o >= 0; o--)(s = e[o]) && (i = s(t, n, i) || i); + return i && Mf(t, n, i), i + }; +const Nt = .01, + Rf = /^Mozilla\/5\.0 \(Macintosh; Intel Mac OS X 10_14(?:_\d)?\) AppleWebKit\/605\.1\.15 \(KHTML, like Gecko\)$/; +class Yt { + constructor(t) { + E(this, "api", new Map); + E(this, "h5AuthToken"); + E(this, "timeout"); + E(this, "needLogin", ne(() => !Mi.value.CLIENT_AUTH)); + E(this, "supportSeparateApi", ne(() => Mi.value.SEPARATE_API)); + E(this, "isCurrentEnvUndefined", !1); + t.forEach(n => { + this.api.set(n.name, { + ...n + }) + }), this.judgeSupport(), this.h5AuthToken = "" + } + async judgeSupport() { + if (Ae.currentEnv === void 0 && !this.isCurrentEnvUndefined) { + this.isCurrentEnvUndefined = !0; + const { + ua: t + } = Ae; + Rf.test(t) && (await Ae.updateUserAgentFromNode(), this.judgeSupport()) + } else Ae.currentEnv !== void 0 && this.isCurrentEnvUndefined && (De.oldReportError({ + error_msg: "ua: ".concat(navigator.userAgent, " nua: ").concat(Ae.ua), + error_type: "H5ExtTransfer Failed: empty url recovered" + }), this.isCurrentEnvUndefined = !1) + } + getApiUrl(t) { + var n, r, i; + return this.supportSeparateApi.value ? ((r = (n = this.api.get(t)) == null ? void 0 : n.pc) == null ? + void 0 : r.url) || "" : ((i = this.api.get(t)) == null ? void 0 : i.url) || "" + } + getApiCmdid(t) { + var n, r, i; + return this.supportSeparateApi.value ? ((r = (n = this.api.get(t)) == null ? void 0 : n.pc) == null ? + void 0 : r.cmdid) || 0 : ((i = this.api.get(t)) == null ? void 0 : i.cmdid) || 0 + } + getApiScope(t) { + var n; + return (n = this.api.get(t)) == null ? void 0 : n.scope + } + async post(t) { + try { + return await this.invoke(t) + } catch (n) { + return this.createResp(Mt.JSAPI_UNKNOWN, "JSAPI_UNKNOWN", {}) + } + } + getSecurityCheckType(t) { + var n, r; + return (r = (n = this.api.get(t)) == null ? void 0 : n.pc) == null ? void 0 : r.security + } + createResp(t, n, r) { + return { + errCode: t, + errMsg: n, + data: r + } + } + computeParams(t) { + var l; + let n = t.data ? t.data : {}; + n.finderBasereq || (n.finderBasereq = {}); + try { + const u = window.location.href, + f = qi.find(d => { + const h = "".concat(qr, "/web/pages").concat(d.path); + return u.indexOf(h) > -1 + }); + (l = f == null ? void 0 : f.meta) != null && l.scene && Object.assign(n.finderBasereq, { + scene: f.meta.scene + }) + } catch (u) {} + const r = gt("context_id"); + r && Object.assign(n.finderBasereq, { + ctxInfo: { + contextId: r + } + }); + const i = gt("entrance_id"), + o = gt("sub_entranceid"); + if (i) { + const u = { + entranceId: i + }; + o && Object.assign(u, { + subEntranceid: o + }); + const f = JSON.stringify(u); + Object.assign(n.finderBasereq, { + ctxInfo: { + ...n.finderBasereq.ctxInfo || {}, + clientReportBuff: f + } + }) + } + n = On(n); + const s = this.getApiUrl(t.name); + s || De.oldReportError({ + error_msg: "ua: ".concat(navigator.userAgent), + error_type: "H5ExtTransfer Failed: empty url" + }); + const a = { + req_json: JSON.stringify(n), + url: s, + cgi_cmdid: this.getApiCmdid(t.name), + h5AuthToken: this.h5AuthToken, + is_security_check: !1 + }, + c = this.getSecurityCheckType(t.name); + if (c && (c === mt.ALWAYS && Object.assign(a, { + is_security_check: !0 + }), c === mt.ONCE && (me.getSession(t.name) || (Object.assign(a, { + is_security_check: !0 + }), me.setSession(t.name, !0)))), !this.needLogin.value) { + const u = this.getApiScope(t.name) || "finderLive"; + Object.assign(a, { + scope: u + }) + } + return a + } + auth() { + return new Promise((t, n) => { + Wt(() => { + const r = { + h5Version: 3774873601, + scope: "finderLive" + }, + i = Ne.createPerfTransaction("jsapi", "finderH5Auth"); + window.WeixinJSBridge.invoke("finderH5Auth", r, o => { + var s, a, c; + ((s = o.base_resp) == null ? void 0 : s.ret) === sa.ERR_SYS ? (De + .oldReportError({ + error_msg: "".concat(JSON.stringify(o)), + error_type: "H5Auth Failed" + }), i.report("fail", { + log: "".concat((a = o.base_resp) == null ? void 0 : a + .ret) + }, { + sampleRate: Nt + }), n(o)) : o.h5AuthToken ? (this.h5AuthToken = o.h5AuthToken, i + .report("ok", {}, { + sampleRate: Nt + }), t(o)) : (this.h5AuthToken = "", De.oldReportError({ + error_msg: "".concat(JSON.stringify(o)), + error_type: "H5Auth Failed" + }), i.report("fail", { + log: "".concat((c = o.base_resp) == null ? void 0 : c + .ret) + }, { + sampleRate: Nt + }), t(o)) + }) + }) + }) + } + retryAuth() { + return this.auth() + } + async transfer(t) { + const n = this.computeParams(t); + return new Promise((r, i) => { + Wt(() => { + var a, c, l, u, f, d, h, p, _, m, g, b; + let o; + const s = (c = (a = t.data) == null ? void 0 : a.finderBasereq) == null ? void 0 : c + .requestId; + if ((t == null ? void 0 : t.name) === "FinderGetRecommend") { + const y = (l = t.data) == null ? void 0 : l.scene, + w = !!((u = t.data) != null && u.objectId) ? "related" : "flow", + k = !((f = t.data) != null && f.lastBuffer); + if (y !== ni.MMFinder_Recommend_PC_Tag) { + const v = y === ni.MMFinder_Recommend_PC_Live ? "live" : "finder"; + let I; + w === "flow" && (v === "live" ? I = (_ = (p = (h = (d = t.data) == null ? + void 0 : d.tagItem) == null ? void 0 : h.subTag) == null ? + void 0 : p[0]) == null ? void 0 : _.tagId : I = (b = (g = (m = t + .data) == null ? void 0 : m.tagItem) == null ? void 0 : g + .topTag) == null ? void 0 : b.tagId), o = Ne.createPerfTransaction( + "finderH5ExtTransfer", "rec_".concat(v, "_").concat(w), { + idx1: "".concat(I || ""), + idx2: k ? "1" : "0" + }) + } else o = Ne.createPerfTransaction("finderH5ExtTransfer", "rec_tag") + } else o = Ne.createPerfTransaction("finderH5ExtTransfer", n.url); + window.WeixinJSBridge.invoke("finderH5ExtTransfer", n, async y => { + var k, v, I, T, A, L, O, $, B, F; + if (((k = y.err_msg) == null ? void 0 : k.indexOf( + "access_denied")) > -1) return o.report("fail", { + log: "".concat(s ? "".concat(s, " ") : "", + "access_denied") + }, { + sampleRate: Nt + }), i(y); + if (((v = y.jsapi_resp) == null ? void 0 : v.ret) === gi.MM_ERR_SYS) + return Ne.catch(new io("H5ExtTransfer Failed: ".concat(JSON + .stringify(y)), n.url), s ? { + log: "rid:".concat(s) + } : void 0), o.report("fail", { + log: "H5ExtTransfer Failed. ".concat(s ? "".concat( + s, " ") : "", "ret:").concat((I = y + .jsapi_resp) == null ? void 0 : I.ret) + }, { + sampleRate: Nt + }), i(y); + if (this.needLogin.value && (((T = y.jsapi_resp) == null ? void 0 : + T.ret) === gi.MM_ERR_SESSIONTIMEOUT || ((A = y + .jsapi_resp) == null ? void 0 : A.ret) === gi + .MM_ERR_WRONG_SESSION_KEY)) { + try { + const N = await this.auth(); + De.oldReportError({ + error_msg: "".concat(JSON.stringify(N)), + error_type: "H5ExtTransfer Auth Timeout" + }), o.report("fail", { + log: "H5ExtTransfer Auth Timeout. ".concat(s ? + "".concat(s, " ") : "", "ret:").concat(( + L = y.jsapi_resp) == null ? void 0 : + L.ret) + }, { + sampleRate: Nt + }) + } catch (N) { + De.oldReportError({ + error_msg: "".concat(JSON.stringify(N)), + error_type: "H5ExtTransfer Auth Timeout Err" + }), o.report("fail", { + log: "H5ExtTransfer Auth Timeout Err. ".concat( + s ? "".concat(s, " ") : "", "ret:") + .concat((O = y.jsapi_resp) == null ? + void 0 : O.ret) + }, { + sampleRate: Nt + }) + } + return i(y) + } + let S, w; + if (($ = y.jsapi_resp) != null && $.resp_json) try { + S = JSON.parse(y.jsapi_resp.resp_json), S = Pe(S) + } catch (N) { + De.oldReportError({ + error_msg: "url: ".concat(n.url, " err: ") + .concat(N), + error_type: "JSON PARSE ERROR" + }); + const U = { + level: "warn", + msg: "[h5_livePage]JSAPI_JSONPARSE_FAILED url: " + .concat(n.url, " resp_json: ").concat(y + .jsapi_resp.resp_json) + }; + window.WeixinJSBridge.invoke("log", U, () => {}), o.report( + "fail", { + log: "H5ExtTransfer JSAPI_JSONPARSE_FAILED. " + .concat(s ? "".concat(s, " ") : "", "json:") + .concat((B = y == null ? void 0 : y + .jsapi_resp) == null ? void 0 : B + .resp_json) + }, { + sampleRate: Nt + }), w = this.createResp(Mt.JSAPI_JSONPARSE_FAILED, + "JSAPI_JSONPARSE_FAILED", {}) + } + S ? (o.report("ok", { + log: s + }, { + sampleRate: Nt + }), w = this.createResp(0, "ok", S)) : (Ne.catch(new io( + "H5ExtTransfer Failed: ".concat(JSON.stringify(y)), + n.url), s ? { + log: "rid:".concat(s) + } : void 0), o.report("fail", { + log: "H5ExtTransfer no data. ".concat(s ? "".concat( + s, " ") : "", "ret:").concat((F = y + .base_resp) == null ? void 0 : F.ret) + }, { + sampleRate: Nt + }), w = this.createResp(Mt.JSAPI_JSONPARSE_FAILED, + "JSAPI_JSONPARSE_FAILED", {})), r(w) + }) + }) + }) + } + async invoke(t) { + if (Ae.currentEnv === void 0 && Ae.isUpdatingUa) { + let n = 0; + for (; Ae.isUpdatingUa && n < 20;) await pr(300), n += 1 + } + if (!this.h5AuthToken && this.needLogin.value) try { + if (await this.retryAuth(), !this.h5AuthToken) return this.createResp(Mt.JSAPI_LOGIN_FAILED, + "JSAPI_LOGIN_FAILED", {}) + } catch (n) { + return this.createResp(Mt.JSAPI_LOGIN_FAILED, "JSAPI_LOGIN_FAILED", {}) + } + try { + return await this.transfer(t) + } catch (n) { + return De.oldReportError({ + error_msg: "url: ".concat(t.url, " resp: ").concat(JSON.stringify(n)), + error_type: "Invoke Failed" + }), this.createResp(Mt.JSAPI_TRANSFER_FAILED, "JSAPI_TRANSFER_FAILED", {}) + } + } +} +la([Gr()], Yt.prototype, "retryAuth"); +la([Gr()], Yt.prototype, "transfer"); +const Vn = [{ + name: "Init", + url: "/cgi-bin/micromsg-bin/finderinit", + cmdid: 3930, + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderinit", + cmdid: 5831 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_finderinit", + cmdid: 6869, + extraName: "finderH5Init" + } + }], + Of = [...Vn, { + name: "FinderWebStatsReport", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderwebstatsreport", + cmdid: 6808 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_finderwebstatsreport", + cmdid: 7914 + } + }]; +let ua = Yt; +Ae.isWxwork && (ua = fn); +class Ff extends ua { + constructor() { + super(Of) + } + async finderWebStatsReport(t) { + return this.post({ + name: "FinderWebStatsReport", + data: { + finderBasereq: {}, + ...t + } + }) + } +} +class kf { + reportStart(t, n) { + const r = new Array(91), + { + connect_server_time: i, + dns_time: o, + first_audio_frame_down: s, + first_frame_down: a, + first_i_frame: c, + err_code: l, + err_info: u, + video_decode_type: f + } = t, + { + uint32_platform: d, + str_stream_url: h, + sdkliveid: p, + finder_name: _, + liveid: m + } = n; + r[39] = i, r[37] = o, r[60] = s, r[42] = a, r[41] = c, r[22] = d, r[34] = h, r[54] = p, r[56] = _, r[58] = + f, r[62] = l, r[63] = u, r[67] = m, r.splice(0, 21); + const b = { + id: 24998, + value: r.join(","), + is_important: 1, + is_report_now: 1 + }; + Wt(() => { + window.WeixinJSBridge.invoke("kvReport", b), window.WeixinJSBridge.invoke("log", { + level: "info", + msg: "[h5_livePage]鐩存挱寮�濮嬬殑涓婃姤鎸囨爣: ".concat(JSON.stringify(t)) + }) + }) + } + reportPulling(t, n) { + const r = new Array(114), + { + app_mem_usage: i, + audio_cache_time: o, + audio_receive_pkt_cnt: s, + avg_audio_bitrate: a, + avg_memory: c, + avg_video_bitrate: l, + recv_av_diff_time: u, + video_block_count: f, + video_cache_time: d, + video_large_block_count: h, + video_light_block_count: p, + currentTime: _, + dropped_video_frames: m, + total_frame_delay: g, + total_video_frames: b + } = t, + { + uint32_platform: y, + str_stream_url: S, + sdkliveid: w, + finder_name: k, + liveid: v + } = n; + r[37] = i, r[65] = Math.floor(o), r[82] = s, r[78] = Math.floor(a), r[58] = c, r[79] = Math.floor(l), r[ + 80] = u, r[51] = f, r[69] = Math.floor(d), r[74] = h, r[73] = p, r[22] = y, r[33] = S, r[49] = w, r[ + 53] = k, r[55] = v, r[114] = Math.floor(_), r[115] = Math.floor(m), r[116] = Math.floor(g * 1e3), r[ + 117] = Math.floor(b), r.splice(0, 21); + const T = { + id: 24989, + value: r.join(","), + is_important: 1, + is_report_now: 1 + }; + Wt(() => { + window.WeixinJSBridge.invoke("kvReport", T), window.WeixinJSBridge.invoke("log", { + level: "info", + msg: "[h5_livePage]鐩存挱涓殑涓婃姤鎸囨爣: ".concat(JSON.stringify(t)) + }) + }) + } + reportEnd(t, n) { + const r = new Array(91), + { + first_frame_black: i, + result: o + } = t, + { + uint32_platform: s, + str_stream_url: a, + sdkliveid: c, + finder_name: l, + liveid: u + } = n; + r[61] = i, r[39] = o, r[22] = s, r[35] = a, r[53] = c, r[56] = l, r[60] = u, r.splice(0, 21); + const d = { + id: 25002, + value: r.join(","), + is_important: 1, + is_report_now: 1 + }; + Wt(() => { + window.WeixinJSBridge.invoke("kvReport", d), window.WeixinJSBridge.invoke("log", { + level: "info", + msg: "[h5_livePage]鐩存挱鎷夋祦缁撴潫鐨勪笂鎶ユ寚鏍�: ".concat(JSON.stringify(t)) + }) + }) + } +} +const Pf = [...Vn, { + name: "FinderGetFollowList", + scope: "finderProfile", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetfollowlist", + cmdid: 9758 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findergetfollowlist", + cmdid: 9557 + } +}, { + name: "FinderGetFavList", + scope: "finderProfile", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetfavlist", + cmdid: 11046 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findergetfavlist", + cmdid: 7892 + } +}, { + name: "FinderGetLikedList", + scope: "finderProfile", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetlikedlist", + cmdid: 6418 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findergetlikedlist", + cmdid: 11029 + } +}, { + name: "FinderGetPlayHistory", + scope: "finderProfile", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetplaylist", + cmdid: 9586 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findergetplaylist", + cmdid: 9121 + } +}, { + name: "FinderOpPlayHistory", + scope: "finderProfile", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderopplayhistory", + cmdid: 8543 + } +}, { + name: "FinderNewUserPrepare", + scope: "finderProfile", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findernewuserprepare", + cmdid: 10122 + } +}, { + name: "FinderGetInteractionedFeedList", + scope: "finderProfile", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetinteractionedfeedlist", + cmdid: 24159 + } +}]; +let fa = Yt; +Ae.isWxwork && (fa = fn); +class Nf extends fa { + constructor() { + super(Pf); + E(this, "finderBasereq", {}) + } + setFinderBaseReq(n) { + this.finderBasereq = { + ...this.finderBasereq, + ...n + } + } + async finderGetFollowList(n) { + return this.post({ + name: "FinderGetFollowList", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderGetFavList(n) { + return this.post({ + name: "FinderGetFavList", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderGetLikedList(n) { + return this.post({ + name: "FinderGetLikedList", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderGetPlayHistory(n) { + return this.post({ + name: "FinderGetPlayHistory", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderOpPlayHistory(n) { + return this.post({ + name: "FinderOpPlayHistory", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderNewUserPrepare(n) { + return this.post({ + name: "FinderNewUserPrepare", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderGetInteractionedFeedList(n) { + return this.post({ + name: "FinderGetInteractionedFeedList", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } +} +const Df = [{ + name: "FinderPostBulletComment", + scope: "finderLive", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderpostbulletcomment", + cmdid: 8797 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_finderpostbulletcomment", + cmdid: 7745 + } +}, { + name: "FinderGetBulletComment", + scope: "finderLive", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetbulletcomment", + cmdid: 11136 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findergetbulletcomment", + cmdid: 10913 + } +}, { + name: "FinderOpBulletComment", + scope: "finderLive", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderopbulletcomment", + cmdid: 11354 + } +}]; +let da = Yt; +Ae.isWxwork && (da = fn); +class Bf extends da { + constructor() { + super(Df) + } + async finderPostBulletComment(t) { + return this.post({ + name: "FinderPostBulletComment", + data: { + finderBasereq: {}, + ...t + } + }) + } + async finderGetBulletComment(t) { + return this.post({ + name: "FinderGetBulletComment", + data: { + finderBasereq: {}, + ...t + } + }) + } + async finderOpBulletComment(t) { + return this.post({ + name: "FinderOpBulletComment", + data: { + finderBasereq: {}, + ...t + } + }) + } +} +class jf extends ds { + constructor() { + super([{ + name: "GetDetail", + path: "/api/feed/detail" + }, { + name: "GetBarrageComment", + path: "/api/feed/barrage_comment" + }, { + name: "GetAppMsgContextFromWeb", + path: "/api/feed/get_appmsg_context" + }, { + name: "GetCommentList", + path: "/api/feed/get_comment_list" + }]) + } + async getDetail(t) { + return this.post({ + url: this.getApiUrl("GetDetail"), + data: t + }) + } + async getBarrageComment(t) { + return this.post({ + url: this.getApiUrl("GetBarrageComment"), + data: t + }) + } + async getAppMsgContextFromWeb(t) { + return this.post({ + url: this.getApiUrl("GetAppMsgContextFromWeb"), + data: t + }) + } + async getCommentList(t) { + return this.post({ + url: this.getApiUrl("GetCommentList"), + data: t + }) + } +} + +function Gt() { + return "".concat(Date.now()).concat(Math.floor(Math.random() * 1e6).toString().padStart(6, "0")) +} +const Uf = [...Vn, { + name: "FinderGetCommentDetail", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetcommentdetail", + cmdid: 5259 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findergetcommentdetail", + cmdid: 6225 + } +}, { + name: "FinderLike", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderlike", + cmdid: 4220, + security: mt.ALWAYS + } +}, { + name: "FinderComment", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findercomment", + cmdid: 4062, + security: mt.ALWAYS + } +}, { + name: "FinderGetRelatedList", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetrelatedlist", + cmdid: 5222 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findergetrelatedlist", + cmdid: 9705 + } +}, { + name: "FinderUserPage", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderuserpage", + cmdid: 6624 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_finderuserpage", + cmdid: 4146 + } +}, { + name: "FinderFollow", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderfollow", + cmdid: 5908, + security: mt.ALWAYS + } +}, { + name: "FinderFav", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderfav", + cmdid: 5237, + security: mt.ALWAYS + } +}, { + name: "FinderGetFeedLikedList", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetfeedlikedlist", + cmdid: 5910 + } +}, { + name: "FinderContactTagOption", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findercontacttagoption", + cmdid: 6696 + } +}, { + name: "FinderContactTagOption", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findercontacttagoption", + cmdid: 6696 + } +}, { + name: "FinderFeedback", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderfeedback", + cmdid: 388 + } +}, { + name: "FinderStatsReport", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderstatsreport", + cmdid: 6874 + } +}, { + name: "FinderExtStatsReport", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderextstatsreport", + cmdid: 4088 + } +}, { + name: "FinderGetRecommend", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetpcrecommend", + cmdid: 6638, + security: mt.ONCE + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findergetpcrecommend", + cmdid: 8623 + } +}, { + name: "FinderBatchGetLiveInfo", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderbatchgetliveinfo", + cmdid: 6650 + } +}, { + name: "FinderCheckPrefetch", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findercheckprefetch", + cmdid: 11077 + } +}, { + name: "FinderGetAppmsgContextFromWeb", + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findergetappmsgcontextfromweb", + cmdid: 11407 + } +}, { + name: "FinderGetCommentList", + scope: "finderInteraction", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetcommentlist", + cmdid: 10753 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findergetcommentlist", + cmdid: 9019 + } +}, { + name: "FinderGetUser", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetuser", + cmdid: 10509 + } +}, { + name: "FinderMusicAlbumUserPage", + scope: "finderProfile", + pc: { + url: "/cgi-bin/micromsg-bin/h5_findermusicalbumuserpage", + cmdid: 10937 + } +}, { + name: "FetchFinderMemberFeedList", + scope: "finderMembership", + pc: { + url: "/cgi-bin/micromsg-bin/h5fetchfindermemberfeedlist", + cmdid: 7913 + } +}, { + name: "FetchFinderMemberShipHomeInfo", + scope: "finderMembership", + pc: { + url: "/cgi-bin/micromsg-bin/h5fetchfindermembershiphomeinfo", + cmdid: 8369 + } +}, { + name: "FetchFinderMemberShipDetailInfo", + scope: "finderMembership", + pc: { + url: "/cgi-bin/micromsg-bin/h5fetchfindermembershipdetailinfo", + cmdid: 8973 + } +}, { + name: "FetchFinderMemberStatus", + scope: "wxFinderMembership", + pc: { + url: "/cgi-bin/micromsg-bin/h5fetchfindermemberstatus", + cmdid: 14552 + } +}, { + name: "FinderUserPagePreview", + scope: "finderProfile", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderuserpagepreview", + cmdid: 20142 + } +}]; +let ha = Yt; +Ae.isWxwork && (ha = fn); +class Vf extends ha { + constructor() { + super(Uf); + E(this, "finderBasereq", {}); + E(this, "mockReqCnt", 0) + } + setFinderBaseReq(n) { + this.finderBasereq = { + ...this.finderBasereq, + ...n + } + } + async finderInit() { + var r; + const n = await this.post({ + name: "Init" + }); + return n.data && (this.finderBasereq = { + ...this.finderBasereq, + userverForH5: (r = n.data) == null ? void 0 : r.userverForH5, + requestId: Gt() + }), n + } + async finderGetCommentDetail(n) { + return this.post({ + name: "FinderGetCommentDetail", + data: { + finderBasereq: { + ...this.finderBasereq, + exptFlag: 1, + requestId: Gt() + }, + platformScene: 2, + ...n + } + }) + } + async finderLike(n) { + return this.post({ + name: "FinderLike", + data: { + finderBasereq: { + ...this.finderBasereq, + exptFlag: 1 + }, + ...n + } + }) + } + async finderComment(n) { + return this.post({ + name: "FinderComment", + data: { + finderBasereq: { + ...this.finderBasereq, + exptFlag: 1 + }, + ...n + } + }) + } + async finderGetRelatedList(n) { + return this.post({ + name: "FinderGetRelatedList", + data: { + finderBasereq: { + ...this.finderBasereq, + requestId: Gt() + }, + ...n + } + }) + } + async finderUserPage(n) { + return this.post({ + name: "FinderUserPage", + data: { + finderBasereq: { + ...this.finderBasereq, + requestId: Gt() + }, + ...n + } + }) + } + async finderFollow(n) { + return this.post({ + name: "FinderFollow", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderFav(n) { + return this.post({ + name: "FinderFav", + data: { + finderBasereq: { + ...this.finderBasereq, + exptFlag: 1 + }, + ...n + } + }) + } + async finderGetFeedLikedList(n) { + return this.post({ + name: "FinderGetFeedLikedList", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderContactTagOption(n) { + return this.post({ + name: "FinderContactTagOption", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderFeedback(n) { + return this.post({ + name: "FinderFeedback", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderExtStatsReport(n) { + return this.post({ + name: "FinderExtStatsReport", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderStatsReport(n) { + return this.post({ + name: "FinderStatsReport", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderGetRecommend(n) { + var o; + const r = Date.now(), + i = await this.post({ + name: "FinderGetRecommend", + data: { + finderBasereq: { + ...this.finderBasereq, + exptFlag: 1, + requestId: Gt() + }, + ...n + } + }); + return (o = i.data) != null && o.object && Array.isArray(i.data.object) && i.data.object.length && (i.data + .object = i.data.object.map((s, a) => ({ + ...s, + reqIndex: a, + reqTime: r + }))), i + } + async finderBatchGetLiveInfo(n) { + return this.post({ + name: "FinderBatchGetLiveInfo", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderCheckPrefetch(n) { + return this.post({ + name: "FinderCheckPrefetch", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderGetAppmsgContextFromWeb(n) { + return this.post({ + name: "FinderGetAppmsgContextFromWeb", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderGetCommentList(n) { + return this.post({ + name: "FinderGetCommentList", + data: { + finderBasereq: this.finderBasereq, + pcDeviceType: Ae.deviceId, + ...n + } + }) + } + async finderGetUser(n) { + return this.post({ + name: "FinderGetUser", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderMusicAlbumUserPage(n) { + return await this.post({ + name: "FinderMusicAlbumUserPage", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async fetchFinderMemberFeedList(n) { + return await this.post({ + name: "FetchFinderMemberFeedList", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderUserPagePreview(n) { + return this.post({ + name: "FinderUserPagePreview", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async fetchFinderMemberShipHomeInfo(n) { + return await this.post({ + name: "FetchFinderMemberShipHomeInfo", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async fetchFinderMemberShipDetailInfo(n) { + return await this.post({ + name: "FetchFinderMemberShipDetailInfo", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async fetchFinderMemberStatus(n) { + return await this.post({ + name: "FetchFinderMemberStatus", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } +} +const Hf = [...Vn, { + name: "GetLiveMsg", + url: "/cgi-bin/micromsg-bin/findergetlivemsg", + cmdid: 3976, + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetlivemsg", + cmdid: 5257 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findergetlivemsg", + cmdid: 6240 + } +}, { + name: "JoinLive", + url: "/cgi-bin/micromsg-bin/finderjoinlive", + cmdid: 3539, + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderjoinlive", + cmdid: 4233 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_finderjoinlive", + cmdid: 6615, + extraName: "finderH5JoinLive" + } +}, { + name: "LiveTopComment", + url: "/cgi-bin/micromsg-bin/finderlivetopcomment", + cmdid: 6295, + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderlivetopcomment", + cmdid: 6285 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_finderlivetopcomment", + cmdid: 4276 + } +}, { + name: "BanLiveComment", + url: "/cgi-bin/micromsg-bin/finderbanlivecomment", + cmdid: 6656, + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderbanlivecomment", + cmdid: 4133 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_finderbanlivecomment", + cmdid: 4086 + } +}, { + name: "Oplog", + url: "/cgi-bin/micromsg-bin/finderoplog", + cmdid: 3870, + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderoplog", + cmdid: 5221 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_finderoplog", + cmdid: 5918 + } +}, { + name: "LiveGetContact", + url: "/cgi-bin/micromsg-bin/finderlivegetcontact", + cmdid: 6678, + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderlivegetcontact", + cmdid: 5885 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_finderlivegetcontact", + cmdid: 6456 + } +}, { + name: "CreateLivePrepare", + url: "/cgi-bin/micromsg-bin/findercreateliveprepare", + cmdid: 5874, + pc: { + url: "/cgi-bin/micromsg-bin/pc_findercreateliveprepare", + cmdid: 4029 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findercreateliveprepare", + cmdid: 4156, + extraName: "finderH5PrepareLive" + } +}, { + name: "CreateLive", + url: "/cgi-bin/micromsg-bin/findercreatelive", + cmdid: 3686, + pc: { + url: "/cgi-bin/micromsg-bin/pc_findercreatelive", + cmdid: 6461 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findercreatelive", + cmdid: 6809, + extraName: "finderH5CreateLive" + } +}, { + name: "ManualCloseLive", + url: "/cgi-bin/micromsg-bin/findermanualcloselive", + cmdid: 5857, + pc: { + url: "/cgi-bin/micromsg-bin/pc_findermanualcloselive", + cmdid: 4125 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findermanualcloselive", + cmdid: 5820, + extraName: "finderH5CloseLive" + } +}, { + name: "SetAnchorStatus", + url: "/cgi-bin/micromsg-bin/findersetanchorstatus", + cmdid: 6443, + pc: { + url: "/cgi-bin/micromsg-bin/pc_findersetanchorstatus", + cmdid: 4167 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findersetanchorstatus", + cmdid: 4070, + extraName: "finderH5SetAnchorStatus" + } +}, { + name: "FinderPostLiveMsg", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderpostlivemsg", + cmdid: 4145 + } +}, { + name: "FinderLikeLive", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderlikelive", + cmdid: 5255 + } +}, { + name: "FinderPostLiveAppMsg", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderpostliveappmsg", + cmdid: 4152 + } +}, { + name: "FinderLiveVerify", + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_finderliveverify", + cmdid: 4291 + } +}, { + name: "FinderGetLiveOnlineMember", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetliveonlinemember", + cmdid: 5925 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findergetliveonlinemember", + cmdid: 287 + } +}, { + name: "FinderGetLiveInfo", + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findergetliveinfo", + cmdid: 6660 + }, + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetliveinfo", + cmdid: 10064 + } +}, { + name: "FinderLiveSwitchIdentity", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderliveswitchidentity", + cmdid: 6969 + } +}, { + name: "Finderlivesyncextrainfo", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderlivesyncextrainfo", + cmdid: 10757 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_finderlivesyncextrainfo", + cmdid: 7733 + } +}, { + name: "FinderLiveApplyMicWithAudience", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderliveapplymicwithaudience", + cmdid: 4116 + } +}, { + name: "FinderLiveAcceptMicWithAudience", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderliveacceptmicwithaudience", + cmdid: 5247 + } +}, { + name: "FinderLiveCloseMicWithAudience", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderliveclosemicwithaudience", + cmdid: 6257 + } +}, { + name: "FinderLiveRefreshMicWithAudience", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderliverefreshmicwithaudience", + cmdid: 5920 + } +}, { + name: "FinderLiveGetShareQRCode", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderlivegetshareqrcode", + cmdid: 9447 + } +}, { + name: "FinderLiveUserPage", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderliveuserpage", + cmdid: 8336 + } +}, { + name: "FinderBatchGetObjectAsyncLoadInfo", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderbatchgetobjectasyncloadinfo", + cmdid: 8050 + } +}, { + name: "FinderGetLatestLiveObject", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetlatestliveobject", + cmdid: 7233 + } +}, { + name: "FinderAudienceReserveLive", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderaudiencereservelive", + cmdid: 9070 + } +}, { + name: "FinderLiveNoticeQrcode", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderlivenoticeqrcode", + cmdid: 11768 + } +}, { + name: "FinderLiveEcQrcode", + scope: "mmbiz_finder_ec", + pc: { + url: "/cgi-bin/mmbiz-bin/pc_finderlivegetecqrcode", + cmdid: 12599 + } +}, { + name: "FinderLiveGetShopShelf", + scope: "mmbiz_finder_ec", + pc: { + url: "/cgi-bin/mmbiz-bin/pc_finderlivegetshopshelf", + cmdid: 11008 + } +}, { + name: "FinderLiveKtvGetPlayMember", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderlivektvgetplaymember", + cmdid: 9582 + } +}, { + name: "FinderLiveKtvGetQRCode", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderlivektvgetqrcode", + cmdid: 16946 + } +}, { + name: "FinderLiveKtvGetResource", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderlivektvgetresource", + cmdid: 21253 + } +}, { + name: "FinderGetLiveRewardGiftList", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetliverewardgiftlist", + cmdid: 11283 + } +}]; +let pa = Yt; +Ae.isWxwork && (pa = fn); +class $f extends pa { + constructor() { + super(Hf); + E(this, "finderBasereq", {}) + } + setFinderBaseReq(n) { + this.finderBasereq = { + ...this.finderBasereq, + ...n + } + } + async finderInit() { + var r; + const n = await this.post({ + name: "Init" + }); + return n.data && (this.finderBasereq = { + ...this.finderBasereq, + userverForH5: (r = n.data) == null ? void 0 : r.userverForH5 + }), n + } + async joinLive(n) { + var o; + (o = this.finderBasereq) != null && o.userverForH5 || await this.finderInit(); + const r = { + finderBasereq: this.finderBasereq, + ...n + }; + return await this.post({ + name: "JoinLive", + data: r + }) + } + async getLiveMsg(n, r = 3) { + const i = { + finderBasereq: this.finderBasereq, + ...n + }; + return await this.post({ + name: "GetLiveMsg", + data: i + }) + } + async liveTopComment(n) { + return await this.post({ + name: "LiveTopComment", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async banLiveComment(n) { + return await this.post({ + name: "BanLiveComment", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async oplog(n) { + return await this.post({ + name: "Oplog", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async liveGetContact(n) { + return await this.post({ + name: "LiveGetContact", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async createLivePrepare(n) { + return this.post({ + name: "CreateLivePrepare", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async createLive(n) { + return this.post({ + name: "CreateLive", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async setAnchorStatus(n) { + return this.post({ + name: "SetAnchorStatus", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async manualCloseLive(n) { + return this.post({ + name: "ManualCloseLive", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderPostLiveMsg(n) { + return this.post({ + name: "FinderPostLiveMsg", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderLikeLive(n) { + return this.post({ + name: "FinderLikeLive", + data: { + finderBasereq: { + ...this.finderBasereq, + exptFlag: 1 + }, + ...n + } + }) + } + async finderPostLiveAppMsg(n) { + return this.post({ + name: "FinderPostLiveAppMsg", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderGetLiveOnlineMember(n) { + return this.post({ + name: "FinderGetLiveOnlineMember", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderLiveSwitchIdentity(n) { + return this.post({ + name: "FinderLiveSwitchIdentity", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderLiveSyncExtraInfo(n) { + return this.post({ + name: "Finderlivesyncextrainfo", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderLiveApplyMicWithAudience(n) { + return this.post({ + name: "FinderLiveApplyMicWithAudience", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderLiveAcceptMicWithAudience(n) { + return this.post({ + name: "FinderLiveAcceptMicWithAudience", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderLiveCloseMicWithAudience(n) { + return this.post({ + name: "FinderLiveCloseMicWithAudience", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderLiveRefreshMicWithAudience(n) { + return this.post({ + name: "FinderLiveRefreshMicWithAudience", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderLiveGetShareQRCode(n) { + return this.post({ + name: "FinderLiveGetShareQRCode", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderGetLiveInfo(n) { + return this.post({ + name: "FinderGetLiveInfo", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderLiveUserPage(n) { + return this.post({ + name: "FinderLiveUserPage", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderBatchGetObjectAsyncLoadInfo(n) { + return this.post({ + name: "FinderBatchGetObjectAsyncLoadInfo", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderGetLatestLiveObject(n) { + return this.post({ + name: "FinderGetLatestLiveObject", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderAudienceReserveLive(n) { + return this.post({ + name: "FinderAudienceReserveLive", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderLiveNoticeQrcode(n) { + return this.post({ + name: "FinderLiveNoticeQrcode", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderLiveEcQrcode(n) { + return this.post({ + name: "FinderLiveEcQrcode", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderLiveGetShopShelf(n) { + return this.post({ + name: "FinderLiveGetShopShelf", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderLiveKtvGetPlayMember(n) { + return this.post({ + name: "FinderLiveKtvGetPlayMember", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderLiveKtvGetQRCode(n) { + return this.post({ + name: "FinderLiveKtvGetQRCode", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderLiveKtvGetResource(n) { + return this.post({ + name: "FinderLiveKtvGetResource", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } + async finderGetLiveRewardGiftList(n) { + return this.post({ + name: "FinderGetLiveRewardGiftList", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } +} +class qf { + report(t) { + if (gt("is_preload") !== "1") return; + const r = gt("preload_id"); + if (!r) return; + const i = Date.now(), + s = { + id: 24640, + value: "".concat(i, ",,1,").concat(r, ",").concat(t), + is_important: 1, + is_report_now: 1 + }; + Wt(() => { + window.WeixinJSBridge.invoke("kvReport", s) + }) + } +} +const Gf = [...Vn, { + name: "FinderPcFlow", + scope: "finderProfile", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderpcflow", + cmdid: 11597, + security: mt.ONCE + } +}, { + name: "FinderStream", + scope: "finderProfile", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderstream", + cmdid: 8060, + security: mt.ONCE + } +}, { + name: "FinderGetRecommend", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetpcrecommend", + cmdid: 6638, + security: mt.ONCE + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findergetpcrecommend", + cmdid: 8623 + } +}, { + name: "FinderGetPcReddot", + scope: "finderProfile", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findergetpcreddot", + cmdid: 23911 + } +}]; +let ma = Yt; +Ae.isWxwork && (ma = fn); +class Wf extends ma { + constructor() { + super(Gf); + E(this, "finderBasereq", {}) + } + setFinderBaseReq(n) { + this.finderBasereq = { + ...this.finderBasereq, + ...n + } + } + async finderPcFlow(n) { + var o; + const r = Date.now(), + i = await this.post({ + name: "FinderPcFlow", + data: { + finderBasereq: { + ...this.finderBasereq, + exptFlag: 1, + requestId: Gt() + }, + ...n + } + }); + return (o = i.data) != null && o.object && Array.isArray(i.data.object) && i.data.object.length && (i.data + .object = i.data.object.map((s, a) => ({ + ...s, + reqIndex: a, + reqTime: r + }))), i + } + async finderStream(n) { + var o; + const r = Date.now(), + i = await this.post({ + name: "FinderStream", + data: { + finderBasereq: { + ...this.finderBasereq, + requestId: Gt() + }, + ...n + } + }); + return (o = i.data) != null && o.object && Array.isArray(i.data.object) && i.data.object.length && (i.data + .object = i.data.object.map((s, a) => ({ + ...s, + reqIndex: a, + reqTime: r + }))), i + } + async getRecommendTabsFromService() { + var r, i, o; + const n = await this.post({ + name: "FinderGetRecommend", + data: { + finderBasereq: { + ...this.finderBasereq, + exptFlag: 1, + requestId: Gt() + }, + scene: 2 + } + }); + return cn(n) ? { + tagItem: [], + resp: n + } : ((i = (r = n.data) == null ? void 0 : r.tagItem) != null && i.length && me.setLocal(Se.recTagItem, n + .data.tagItem), { + tagItem: ((o = n.data) == null ? void 0 : o.tagItem) || [], + resp: n + }) + } + async finderGetPcReddot(n) { + return await this.post({ + name: "FinderGetPcReddot", + data: { + finderBasereq: this.finderBasereq, + ...n + } + }) + } +} +const Yf = [...Vn, { + name: "FinderSearch", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findersearch", + cmdid: 4287 + } +}, { + name: "FinderPCSearch", + pc: { + url: "/cgi-bin/micromsg-bin/pc_finderpcsearch", + cmdid: 6901 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_finderpcsearch", + cmdid: 9294 + } +}, { + name: "FinderSearchSuggest", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findersearchsuggest", + cmdid: 6986 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findersearchsuggest", + cmdid: 11771 + } +}, { + name: "FinderSearchGetHotWordList", + pc: { + url: "/cgi-bin/micromsg-bin/pc_findersearchgethotwordlist", + cmdid: 6991 + }, + ilink: { + url: "/cgi-bin/micromsg-bin/ilink_findersearchgethotwordlist", + cmdid: 8716 + } +}]; +let _a = Yt; +Ae.isWxwork && (_a = fn); +class zf extends _a { + constructor() { + super(Yf) + } + async finderPCSearch(t) { + var r, i, o; + const n = await this.post({ + name: "FinderPCSearch", + data: { + finderBasereq: {}, + ...t + } + }); + return (r = n.data) != null && r.acctList && Array.isArray(n.data.acctList) && n.data.acctList.length && (n + .data.acctList = n.data.acctList.map((s, a) => ({ + ...s, + reqIndex: a + }))), (i = n.data) != null && i.objectList && Array.isArray(n.data.objectList) && n.data.objectList + .length && (n.data.objectList = n.data.objectList.map((s, a) => ({ + ...s, + reqIndex: a + }))), (o = n.data) != null && o.liveObjectList && Array.isArray(n.data.liveObjectList) && n.data + .liveObjectList.length && (n.data.liveObjectList = n.data.liveObjectList.map((s, a) => ({ + ...s, + reqIndex: a + }))), n + } + async finderSearch(t) { + var r, i; + const n = await this.post({ + name: "FinderSearch", + data: { + finderBasereq: {}, + ...t + } + }); + return (r = n.data) != null && r.infoList && Array.isArray(n.data.infoList) && n.data.infoList.length && (n + .data.infoList = n.data.infoList.map((o, s) => ({ + ...o, + reqIndex: s + }))), (i = n.data) != null && i.objectList && Array.isArray(n.data.objectList) && n.data.objectList + .length && (n.data.objectList = n.data.objectList.map((o, s) => ({ + ...o, + reqIndex: s + }))), n + } + async finderSearchSuggest(t) { + return this.post({ + name: "FinderSearchSuggest", + data: { + finderBasereq: {}, + ...t + } + }) + } + async finderSearchGetHotWordList(t) { + return this.post({ + name: "FinderSearchGetHotWordList", + data: { + finderBasereq: {}, + ...t + } + }) + } +} +const Wr = lc.create(); +Wr.interceptors.request.use(e => ({ + ...e, + withCredentials: !0, + timeout: 5e3 +})); +Wr.interceptors.response.use(e => e.status !== 200 ? { + status: -1, + errMsg: "error" +} : e.data, () => ({ + status: -1, + errMsg: "error" +})); +class Jf { + async getPosition() { + return Wr.get("https://apis.map.qq.com/ws/location/v1/ip?key=QRFBZ-4XN66-LXZS5-MGOJK-L65MQ-5GBES") + } +} +const kp = new jf, + ke = new $f, + qe = new Vf, + Pp = new zf, + Uo = new Nf, + Np = new Bf, + Yn = new Wf, + Dp = new bf, + Zf = new Ef, + Kf = new Ff, + Bp = new qf, + jp = new kf, + Xf = new nu, + De = new $s, + Qf = new Jf; + +function Yr() { + var n; + const e = gt("entrance_id"); + if (e === "1002" || e === "1003") return Ht.MMFinder_GetComment_Scene_PC_Msg; + if (e === "1004") return Ht.MMFinder_GetComment_Scene_PC_Share_Sns; + const t = qi.find(r => { + const i = "".concat(qr, "/web/pages").concat(r.path); + return window.location.href.indexOf(i) > -1 + }); + return (n = t == null ? void 0 : t.meta) != null && n.scene ? t.meta.scene : Ht.MMFinder_GetComment_Scene_PC_Detail +} +var br = { + exports: {} + }, + Be = {}, + Er = { + exports: {} + }, + gn = {}; + +function ga() { + var e = {}; + return e["align-content"] = !1, e["align-items"] = !1, e["align-self"] = !1, e["alignment-adjust"] = !1, e[ + "alignment-baseline"] = !1, e.all = !1, e["anchor-point"] = !1, e.animation = !1, e["animation-delay"] = !1, + e["animation-direction"] = !1, e["animation-duration"] = !1, e["animation-fill-mode"] = !1, e[ + "animation-iteration-count"] = !1, e["animation-name"] = !1, e["animation-play-state"] = !1, e[ + "animation-timing-function"] = !1, e.azimuth = !1, e["backface-visibility"] = !1, e.background = !0, e[ + "background-attachment"] = !0, e["background-clip"] = !0, e["background-color"] = !0, e[ + "background-image"] = !0, e["background-origin"] = !0, e["background-position"] = !0, e["background-repeat"] = ! + 0, e["background-size"] = !0, e["baseline-shift"] = !1, e.binding = !1, e.bleed = !1, e["bookmark-label"] = !1, + e["bookmark-level"] = !1, e["bookmark-state"] = !1, e.border = !0, e["border-bottom"] = !0, e[ + "border-bottom-color"] = !0, e["border-bottom-left-radius"] = !0, e["border-bottom-right-radius"] = !0, e[ + "border-bottom-style"] = !0, e["border-bottom-width"] = !0, e["border-collapse"] = !0, e["border-color"] = ! + 0, e["border-image"] = !0, e["border-image-outset"] = !0, e["border-image-repeat"] = !0, e[ + "border-image-slice"] = !0, e["border-image-source"] = !0, e["border-image-width"] = !0, e["border-left"] = !0, + e["border-left-color"] = !0, e["border-left-style"] = !0, e["border-left-width"] = !0, e["border-radius"] = !0, + e["border-right"] = !0, e["border-right-color"] = !0, e["border-right-style"] = !0, e["border-right-width"] = ! + 0, e["border-spacing"] = !0, e["border-style"] = !0, e["border-top"] = !0, e["border-top-color"] = !0, e[ + "border-top-left-radius"] = !0, e["border-top-right-radius"] = !0, e["border-top-style"] = !0, e[ + "border-top-width"] = !0, e["border-width"] = !0, e.bottom = !1, e["box-decoration-break"] = !0, e[ + "box-shadow"] = !0, e["box-sizing"] = !0, e["box-snap"] = !0, e["box-suppress"] = !0, e["break-after"] = !0, + e["break-before"] = !0, e["break-inside"] = !0, e["caption-side"] = !1, e.chains = !1, e.clear = !0, e.clip = ! + 1, e["clip-path"] = !1, e["clip-rule"] = !1, e.color = !0, e["color-interpolation-filters"] = !0, e[ + "column-count"] = !1, e["column-fill"] = !1, e["column-gap"] = !1, e["column-rule"] = !1, e[ + "column-rule-color"] = !1, e["column-rule-style"] = !1, e["column-rule-width"] = !1, e["column-span"] = !1, + e["column-width"] = !1, e.columns = !1, e.contain = !1, e.content = !1, e["counter-increment"] = !1, e[ + "counter-reset"] = !1, e["counter-set"] = !1, e.crop = !1, e.cue = !1, e["cue-after"] = !1, e[ + "cue-before"] = !1, e.cursor = !1, e.direction = !1, e.display = !0, e["display-inside"] = !0, e[ + "display-list"] = !0, e["display-outside"] = !0, e["dominant-baseline"] = !1, e.elevation = !1, e[ + "empty-cells"] = !1, e.filter = !1, e.flex = !1, e["flex-basis"] = !1, e["flex-direction"] = !1, e[ + "flex-flow"] = !1, e["flex-grow"] = !1, e["flex-shrink"] = !1, e["flex-wrap"] = !1, e.float = !1, e[ + "float-offset"] = !1, e["flood-color"] = !1, e["flood-opacity"] = !1, e["flow-from"] = !1, e[ + "flow-into"] = !1, e.font = !0, e["font-family"] = !0, e["font-feature-settings"] = !0, e["font-kerning"] = !0, + e["font-language-override"] = !0, e["font-size"] = !0, e["font-size-adjust"] = !0, e["font-stretch"] = !0, e[ + "font-style"] = !0, e["font-synthesis"] = !0, e["font-variant"] = !0, e["font-variant-alternates"] = !0, e[ + "font-variant-caps"] = !0, e["font-variant-east-asian"] = !0, e["font-variant-ligatures"] = !0, e[ + "font-variant-numeric"] = !0, e["font-variant-position"] = !0, e["font-weight"] = !0, e.grid = !1, e[ + "grid-area"] = !1, e["grid-auto-columns"] = !1, e["grid-auto-flow"] = !1, e["grid-auto-rows"] = !1, e[ + "grid-column"] = !1, e["grid-column-end"] = !1, e["grid-column-start"] = !1, e["grid-row"] = !1, e[ + "grid-row-end"] = !1, e["grid-row-start"] = !1, e["grid-template"] = !1, e["grid-template-areas"] = !1, e[ + "grid-template-columns"] = !1, e["grid-template-rows"] = !1, e["hanging-punctuation"] = !1, e.height = !0, e + .hyphens = !1, e.icon = !1, e["image-orientation"] = !1, e["image-resolution"] = !1, e["ime-mode"] = !1, e[ + "initial-letters"] = !1, e["inline-box-align"] = !1, e["justify-content"] = !1, e["justify-items"] = !1, e[ + "justify-self"] = !1, e.left = !1, e["letter-spacing"] = !0, e["lighting-color"] = !0, e[ + "line-box-contain"] = !1, e["line-break"] = !1, e["line-grid"] = !1, e["line-height"] = !1, e["line-snap"] = !1, + e["line-stacking"] = !1, e["line-stacking-ruby"] = !1, e["line-stacking-shift"] = !1, e[ + "line-stacking-strategy"] = !1, e["list-style"] = !0, e["list-style-image"] = !0, e[ + "list-style-position"] = !0, e["list-style-type"] = !0, e.margin = !0, e["margin-bottom"] = !0, e[ + "margin-left"] = !0, e["margin-right"] = !0, e["margin-top"] = !0, e["marker-offset"] = !1, e["marker-side"] = ! + 1, e.marks = !1, e.mask = !1, e["mask-box"] = !1, e["mask-box-outset"] = !1, e["mask-box-repeat"] = !1, e[ + "mask-box-slice"] = !1, e["mask-box-source"] = !1, e["mask-box-width"] = !1, e["mask-clip"] = !1, e[ + "mask-image"] = !1, e["mask-origin"] = !1, e["mask-position"] = !1, e["mask-repeat"] = !1, e[ + "mask-size"] = !1, e["mask-source-type"] = !1, e["mask-type"] = !1, e["max-height"] = !0, e["max-lines"] = !1, + e["max-width"] = !0, e["min-height"] = !0, e["min-width"] = !0, e["move-to"] = !1, e["nav-down"] = !1, e[ + "nav-index"] = !1, e["nav-left"] = !1, e["nav-right"] = !1, e["nav-up"] = !1, e["object-fit"] = !1, e[ + "object-position"] = !1, e.opacity = !1, e.order = !1, e.orphans = !1, e.outline = !1, e[ + "outline-color"] = !1, e["outline-offset"] = !1, e["outline-style"] = !1, e["outline-width"] = !1, e + .overflow = !1, e["overflow-wrap"] = !1, e["overflow-x"] = !1, e["overflow-y"] = !1, e.padding = !0, e[ + "padding-bottom"] = !0, e["padding-left"] = !0, e["padding-right"] = !0, e["padding-top"] = !0, e.page = !1, + e["page-break-after"] = !1, e["page-break-before"] = !1, e["page-break-inside"] = !1, e["page-policy"] = !1, e + .pause = !1, e["pause-after"] = !1, e["pause-before"] = !1, e.perspective = !1, e["perspective-origin"] = !1, e + .pitch = !1, e["pitch-range"] = !1, e["play-during"] = !1, e.position = !1, e["presentation-level"] = !1, e + .quotes = !1, e["region-fragment"] = !1, e.resize = !1, e.rest = !1, e["rest-after"] = !1, e["rest-before"] = ! + 1, e.richness = !1, e.right = !1, e.rotation = !1, e["rotation-point"] = !1, e["ruby-align"] = !1, e[ + "ruby-merge"] = !1, e["ruby-position"] = !1, e["shape-image-threshold"] = !1, e["shape-outside"] = !1, e[ + "shape-margin"] = !1, e.size = !1, e.speak = !1, e["speak-as"] = !1, e["speak-header"] = !1, e[ + "speak-numeral"] = !1, e["speak-punctuation"] = !1, e["speech-rate"] = !1, e.stress = !1, e[ + "string-set"] = !1, e["tab-size"] = !1, e["table-layout"] = !1, e["text-align"] = !0, e["text-align-last"] = !0, + e["text-combine-upright"] = !0, e["text-decoration"] = !0, e["text-decoration-color"] = !0, e[ + "text-decoration-line"] = !0, e["text-decoration-skip"] = !0, e["text-decoration-style"] = !0, e[ + "text-emphasis"] = !0, e["text-emphasis-color"] = !0, e["text-emphasis-position"] = !0, e[ + "text-emphasis-style"] = !0, e["text-height"] = !0, e["text-indent"] = !0, e["text-justify"] = !0, e[ + "text-orientation"] = !0, e["text-overflow"] = !0, e["text-shadow"] = !0, e["text-space-collapse"] = !0, e[ + "text-transform"] = !0, e["text-underline-position"] = !0, e["text-wrap"] = !0, e.top = !1, e.transform = ! + 1, e["transform-origin"] = !1, e["transform-style"] = !1, e.transition = !1, e["transition-delay"] = !1, e[ + "transition-duration"] = !1, e["transition-property"] = !1, e["transition-timing-function"] = !1, e[ + "unicode-bidi"] = !1, e["vertical-align"] = !1, e.visibility = !1, e["voice-balance"] = !1, e[ + "voice-duration"] = !1, e["voice-family"] = !1, e["voice-pitch"] = !1, e["voice-range"] = !1, e[ + "voice-rate"] = !1, e["voice-stress"] = !1, e["voice-volume"] = !1, e.volume = !1, e["white-space"] = !1, e + .widows = !1, e.width = !0, e["will-change"] = !1, e["word-break"] = !0, e["word-spacing"] = !0, e[ + "word-wrap"] = !0, e["wrap-flow"] = !1, e["wrap-through"] = !1, e["writing-mode"] = !1, e["z-index"] = !1, e +} + +function ed(e, t, n) {} + +function td(e, t, n) {} +var nd = /javascript\s*\:/img; + +function id(e, t) { + return nd.test(t) ? "" : t +} +gn.whiteList = ga(); +gn.getDefaultWhiteList = ga; +gn.onAttr = ed; +gn.onIgnoreAttr = td; +gn.safeAttrValue = id; +var rd = { + indexOf: function(e, t) { + var n, r; + if (Array.prototype.indexOf) return e.indexOf(t); + for (n = 0, r = e.length; n < r; n++) + if (e[n] === t) return n; + return -1 + }, + forEach: function(e, t, n) { + var r, i; + if (Array.prototype.forEach) return e.forEach(t, n); + for (r = 0, i = e.length; r < i; r++) t.call(n, e[r], r, e) + }, + trim: function(e) { + return String.prototype.trim ? e.trim() : e.replace(/(^\s*)|(\s*$)/g, "") + }, + trimRight: function(e) { + return String.prototype.trimRight ? e.trimRight() : e.replace(/(\s*$)/g, "") + } + }, + Gn = rd; + +function od(e, t) { + e = Gn.trimRight(e), e[e.length - 1] !== ";" && (e += ";"); + var n = e.length, + r = !1, + i = 0, + o = 0, + s = ""; + + function a() { + if (!r) { + var u = Gn.trim(e.slice(i, o)), + f = u.indexOf(":"); + if (f !== -1) { + var d = Gn.trim(u.slice(0, f)), + h = Gn.trim(u.slice(f + 1)); + if (d) { + var p = t(i, s.length, d, h, u); + p && (s += p + "; ") + } + } + } + i = o + 1 + } + for (; o < n; o++) { + var c = e[o]; + if (c === "/" && e[o + 1] === "*") { + var l = e.indexOf("*/", o + 2); + if (l === -1) break; + o = l + 1, i = o + 1, r = !1 + } else c === "(" ? r = !0 : c === ")" ? r = !1 : c === ";" ? r || a() : c === "\n" && a() + } + return Gn.trim(s) +} +var sd = od, + ui = gn, + ad = sd; + +function Vo(e) { + return e == null +} + +function cd(e) { + var t = {}; + for (var n in e) t[n] = e[n]; + return t +} + +function va(e) { + e = cd(e || {}), e.whiteList = e.whiteList || ui.whiteList, e.onAttr = e.onAttr || ui.onAttr, e.onIgnoreAttr = e + .onIgnoreAttr || ui.onIgnoreAttr, e.safeAttrValue = e.safeAttrValue || ui.safeAttrValue, this.options = e +} +va.prototype.process = function(e) { + if (e = e || "", e = e.toString(), !e) return ""; + var t = this, + n = t.options, + r = n.whiteList, + i = n.onAttr, + o = n.onIgnoreAttr, + s = n.safeAttrValue, + a = ad(e, function(c, l, u, f, d) { + var h = r[u], + p = !1; + if (h === !0 ? p = h : typeof h == "function" ? p = h(f) : h instanceof RegExp && (p = h.test(f)), + p !== !0 && (p = !1), f = s(u, f), !!f) { + var _ = { + position: l, + sourcePosition: c, + source: d, + isWhite: p + }; + if (p) { + var m = i(u, f, _); + return Vo(m) ? u + ":" + f : m + } else { + var m = o(u, f, _); + if (!Vo(m)) return m + } + } + }); + return a +}; +var ld = va; +(function(e, t) { + var n = gn, + r = ld; + + function i(s, a) { + var c = new r(a); + return c.process(s) + } + t = e.exports = i, t.FilterCSS = r; + for (var o in n) t[o] = n[o]; + typeof window < "u" && (window.filterCSS = e.exports) +})(Er, Er.exports); +var zr = Er.exports, + Jr = { + indexOf: function(e, t) { + var n, r; + if (Array.prototype.indexOf) return e.indexOf(t); + for (n = 0, r = e.length; n < r; n++) + if (e[n] === t) return n; + return -1 + }, + forEach: function(e, t, n) { + var r, i; + if (Array.prototype.forEach) return e.forEach(t, n); + for (r = 0, i = e.length; r < i; r++) t.call(n, e[r], r, e) + }, + trim: function(e) { + return String.prototype.trim ? e.trim() : e.replace(/(^\s*)|(\s*$)/g, "") + }, + spaceIndex: function(e) { + var t = /\s|\n|\t/, + n = t.exec(e); + return n ? n.index : -1 + } + }, + ud = zr.FilterCSS, + fd = zr.getDefaultWhiteList, + xi = Jr; + +function ya() { + return { + a: ["target", "href", "title"], + abbr: ["title"], + address: [], + area: ["shape", "coords", "href", "alt"], + article: [], + aside: [], + audio: ["autoplay", "controls", "crossorigin", "loop", "muted", "preload", "src"], + b: [], + bdi: ["dir"], + bdo: ["dir"], + big: [], + blockquote: ["cite"], + br: [], + caption: [], + center: [], + cite: [], + code: [], + col: ["align", "valign", "span", "width"], + colgroup: ["align", "valign", "span", "width"], + dd: [], + del: ["datetime"], + details: ["open"], + div: [], + dl: [], + dt: [], + em: [], + figcaption: [], + figure: [], + font: ["color", "size", "face"], + footer: [], + h1: [], + h2: [], + h3: [], + h4: [], + h5: [], + h6: [], + header: [], + hr: [], + i: [], + img: ["src", "alt", "title", "width", "height"], + ins: ["datetime"], + li: [], + mark: [], + nav: [], + ol: [], + p: [], + pre: [], + s: [], + section: [], + small: [], + span: [], + sub: [], + summary: [], + sup: [], + strong: [], + strike: [], + table: ["width", "border", "align", "valign"], + tbody: ["align", "valign"], + td: ["width", "rowspan", "colspan", "align", "valign"], + tfoot: ["align", "valign"], + th: ["width", "rowspan", "colspan", "align", "valign"], + thead: ["align", "valign"], + tr: ["rowspan", "align", "valign"], + tt: [], + u: [], + ul: [], + video: ["autoplay", "controls", "crossorigin", "loop", "muted", "playsinline", "poster", "preload", "src", + "height", "width" + ] + } +} +var Sa = new ud; + +function dd(e, t, n) {} + +function hd(e, t, n) {} + +function pd(e, t, n) {} + +function md(e, t, n) {} + +function ba(e) { + return e.replace(gd, "<").replace(vd, ">") +} + +function _d(e, t, n, r) { + if (n = Ca(n), t === "href" || t === "src") { + if (n = xi.trim(n), n === "#") return "#"; + if (!(n.substr(0, 7) === "http://" || n.substr(0, 8) === "https://" || n.substr(0, 7) === "mailto:" || n.substr( + 0, 4) === "tel:" || n.substr(0, 11) === "data:image/" || n.substr(0, 6) === "ftp://" || n.substr(0, + 2) === "./" || n.substr(0, 3) === "../" || n[0] === "#" || n[0] === "/")) return "" + } else if (t === "background") { + if (fi.lastIndex = 0, fi.test(n)) return "" + } else if (t === "style") { + if (Ho.lastIndex = 0, Ho.test(n) || ($o.lastIndex = 0, $o.test(n) && (fi.lastIndex = 0, fi.test(n)))) return ""; + r !== !1 && (r = r || Sa, n = r.process(n)) + } + return n = Aa(n), n +} +var gd = /</g, + vd = />/g, + yd = /"/g, + Sd = /"/g, + bd = /&#([a-zA-Z0-9]*);?/gim, + Ed = /:?/gim, + wd = /&newline;?/gim, + fi = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, + Ho = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, + $o = /u\s*r\s*l\s*\(.*/gi; + +function Ea(e) { + return e.replace(yd, """) +} + +function wa(e) { + return e.replace(Sd, '"') +} + +function Ia(e) { + return e.replace(bd, function(n, r) { + return r[0] === "x" || r[0] === "X" ? String.fromCharCode(parseInt(r.substr(1), 16)) : String + .fromCharCode(parseInt(r, 10)) + }) +} + +function Ta(e) { + return e.replace(Ed, ":").replace(wd, " ") +} + +function La(e) { + for (var t = "", n = 0, r = e.length; n < r; n++) t += e.charCodeAt(n) < 32 ? " " : e.charAt(n); + return xi.trim(t) +} + +function Ca(e) { + return e = wa(e), e = Ia(e), e = Ta(e), e = La(e), e +} + +function Aa(e) { + return e = Ea(e), e = ba(e), e +} + +function Id() { + return "" +} + +function Td(e, t) { + typeof t != "function" && (t = function() {}); + var n = !Array.isArray(e); + + function r(s) { + return n ? !0 : xi.indexOf(e, s) !== -1 + } + var i = [], + o = !1; + return { + onIgnoreTag: function(s, a, c) { + if (r(s)) + if (c.isClosing) { + var l = "[/removed]", + u = c.position + l.length; + return i.push([o !== !1 ? o : c.position, u]), o = !1, l + } else return o || (o = c.position), "[removed]"; + else return t(s, a, c) + }, + remove: function(s) { + var a = "", + c = 0; + return xi.forEach(i, function(l) { + a += s.slice(c, l[0]), c = l[1] + }), a += s.slice(c), a + } + } +} + +function Ld(e) { + for (var t = "", n = 0; n < e.length;) { + var r = e.indexOf("<!--", n); + if (r === -1) { + t += e.slice(n); + break + } + t += e.slice(n, r); + var i = e.indexOf("-->", r); + if (i === -1) break; + n = i + 3 + } + return t +} + +function Cd(e) { + var t = e.split(""); + return t = t.filter(function(n) { + var r = n.charCodeAt(0); + return r === 127 ? !1 : r <= 31 ? r === 10 || r === 13 : !0 + }), t.join("") +} +Be.whiteList = ya(); +Be.getDefaultWhiteList = ya; +Be.onTag = dd; +Be.onIgnoreTag = hd; +Be.onTagAttr = pd; +Be.onIgnoreTagAttr = md; +Be.safeAttrValue = _d; +Be.escapeHtml = ba; +Be.escapeQuote = Ea; +Be.unescapeQuote = wa; +Be.escapeHtmlEntities = Ia; +Be.escapeDangerHtml5Entities = Ta; +Be.clearNonPrintableCharacter = La; +Be.friendlyAttrValue = Ca; +Be.escapeAttrValue = Aa; +Be.onIgnoreTagStripAll = Id; +Be.StripTagBody = Td; +Be.stripCommentTag = Ld; +Be.stripBlankChar = Cd; +Be.cssFilter = Sa; +Be.getDefaultCSSWhiteList = fd; +var Gi = {}, + an = Jr; + +function Ad(e) { + var t = an.spaceIndex(e), + n; + return t === -1 ? n = e.slice(1, -1) : n = e.slice(1, t + 1), n = an.trim(n).toLowerCase(), n.slice(0, 1) === "/" && + (n = n.slice(1)), n.slice(-1) === "/" && (n = n.slice(0, -1)), n +} + +function Md(e) { + return e.slice(0, 2) === "</" +} + +function xd(e, t, n) { + var r = "", + i = 0, + o = !1, + s = !1, + a = 0, + c = e.length, + l = "", + u = ""; + e: for (a = 0; a < c; a++) { + var f = e.charAt(a); + if (o === !1) { + if (f === "<") { + o = a; + continue + } + } else if (s === !1) { + if (f === "<") { + r += n(e.slice(i, a)), o = a, i = a; + continue + } + if (f === ">" || a === c - 1) { + r += n(e.slice(i, o)), u = e.slice(o, a + 1), l = Ad(u), r += t(o, r.length, l, u, Md(u)), i = a + + 1, o = !1; + continue + } + if (f === '"' || f === "'") + for (var d = 1, h = e.charAt(a - d); h.trim() === "" || h === "=";) { + if (h === "=") { + s = f; + continue e + } + h = e.charAt(a - ++d) + } + } else if (f === s) { + s = !1; + continue + } + } + return i < c && (r += n(e.substr(i))), r +} +var Rd = /[^a-zA-Z0-9\\_:.-]/gim; + +function Od(e, t) { + var n = 0, + r = 0, + i = [], + o = !1, + s = e.length; + + function a(d, h) { + if (d = an.trim(d), d = d.replace(Rd, "").toLowerCase(), !(d.length < 1)) { + var p = t(d, h || ""); + p && i.push(p) + } + } + for (var c = 0; c < s; c++) { + var l = e.charAt(c), + u, f; + if (o === !1 && l === "=") { + o = e.slice(n, c), n = c + 1, r = e.charAt(n) === '"' || e.charAt(n) === "'" ? n : kd(e, c + 1); + continue + } + if (o !== !1 && c === r) { + if (f = e.indexOf(l, c + 1), f === -1) break; + u = an.trim(e.slice(r + 1, f)), a(o, u), o = !1, c = f, n = c + 1; + continue + } + if (/\s|\n|\t/.test(l)) + if (e = e.replace(/\s|\n|\t/g, " "), o === !1) + if (f = Fd(e, c), f === -1) { + u = an.trim(e.slice(n, c)), a(u), o = !1, n = c + 1; + continue + } else { + c = f - 1; + continue + } + else if (f = Pd(e, c - 1), f === -1) { + u = an.trim(e.slice(n, c)), u = qo(u), a(o, u), o = !1, n = c + 1; + continue + } else continue + } + return n < e.length && (o === !1 ? a(e.slice(n)) : a(o, qo(an.trim(e.slice(n))))), an.trim(i.join(" ")) +} + +function Fd(e, t) { + for (; t < e.length; t++) { + var n = e[t]; + if (n !== " ") return n === "=" ? t : -1 + } +} + +function kd(e, t) { + for (; t < e.length; t++) { + var n = e[t]; + if (n !== " ") return n === "'" || n === '"' ? t : -1 + } +} + +function Pd(e, t) { + for (; t > 0; t--) { + var n = e[t]; + if (n !== " ") return n === "=" ? t : -1 + } +} + +function Nd(e) { + return e[0] === '"' && e[e.length - 1] === '"' || e[0] === "'" && e[e.length - 1] === "'" +} + +function qo(e) { + return Nd(e) ? e.substr(1, e.length - 2) : e +} +Gi.parseTag = xd; +Gi.parseAttr = Od; +var Dd = zr.FilterCSS, + Ct = Be, + Ma = Gi, + Bd = Ma.parseTag, + jd = Ma.parseAttr, + vi = Jr; + +function di(e) { + return e == null +} + +function Ud(e) { + var t = vi.spaceIndex(e); + if (t === -1) return { + html: "", + closing: e[e.length - 2] === "/" + }; + e = vi.trim(e.slice(t + 1, -1)); + var n = e[e.length - 1] === "/"; + return n && (e = vi.trim(e.slice(0, -1))), { + html: e, + closing: n + } +} + +function Vd(e) { + var t = {}; + for (var n in e) t[n] = e[n]; + return t +} + +function Hd(e) { + var t = {}; + for (var n in e) Array.isArray(e[n]) ? t[n.toLowerCase()] = e[n].map(function(r) { + return r.toLowerCase() + }) : t[n.toLowerCase()] = e[n]; + return t +} + +function xa(e) { + e = Vd(e || {}), e.stripIgnoreTag && (e.onIgnoreTag, e.onIgnoreTag = Ct.onIgnoreTagStripAll), e.whiteList || e + .allowList ? e.whiteList = Hd(e.whiteList || e.allowList) : e.whiteList = Ct.whiteList, e.onTag = e.onTag || Ct + .onTag, e.onTagAttr = e.onTagAttr || Ct.onTagAttr, e.onIgnoreTag = e.onIgnoreTag || Ct.onIgnoreTag, e + .onIgnoreTagAttr = e.onIgnoreTagAttr || Ct.onIgnoreTagAttr, e.safeAttrValue = e.safeAttrValue || Ct + .safeAttrValue, e.escapeHtml = e.escapeHtml || Ct.escapeHtml, this.options = e, e.css === !1 ? this + .cssFilter = !1 : (e.css = e.css || {}, this.cssFilter = new Dd(e.css)) +} +xa.prototype.process = function(e) { + if (e = e || "", e = e.toString(), !e) return ""; + var t = this, + n = t.options, + r = n.whiteList, + i = n.onTag, + o = n.onIgnoreTag, + s = n.onTagAttr, + a = n.onIgnoreTagAttr, + c = n.safeAttrValue, + l = n.escapeHtml, + u = t.cssFilter; + n.stripBlankChar && (e = Ct.stripBlankChar(e)), n.allowCommentTag || (e = Ct.stripCommentTag(e)); + var f = !1; + n.stripIgnoreTagBody && (f = Ct.StripTagBody(n.stripIgnoreTagBody, o), o = f.onIgnoreTag); + var d = Bd(e, function(h, p, _, m, g) { + var b = { + sourcePosition: h, + position: p, + isClosing: g, + isWhite: Object.prototype.hasOwnProperty.call(r, _) + }, + y = i(_, m, b); + if (!di(y)) return y; + if (b.isWhite) { + if (b.isClosing) return "</" + _ + ">"; + var S = Ud(m), + w = r[_], + k = jd(S.html, function(v, I) { + var T = vi.indexOf(w, v) !== -1, + A = s(_, v, I, T); + return di(A) ? T ? (I = c(_, v, I, u), I ? v + '="' + I + '"' : v) : (A = a(_, v, I, + T), di(A) ? void 0 : A) : A + }); + return m = "<" + _, k && (m += " " + k), S.closing && (m += " /"), m += ">", m + } else return y = o(_, m, b), di(y) ? l(m) : y + }, l); + return f && (d = f.remove(d)), d +}; +var $d = xa; +(function(e, t) { + var n = Be, + r = Gi, + i = $d; + + function o(a, c) { + var l = new i(c); + return l.process(a) + } + t = e.exports = o, t.filterXSS = o, t.FilterXSS = i, + function() { + for (var a in n) t[a] = n[a]; + for (var c in r) t[c] = r[c] + }(), typeof window < "u" && (window.filterXSS = e.exports); + + function s() { + return typeof self < "u" && typeof DedicatedWorkerGlobalScope < "u" && + self instanceof DedicatedWorkerGlobalScope + } + s() && (self.filterXSS = e.exports) +})(br, br.exports); +var qd = br.exports; +const Ra = Nn(qd); + +function Up(e) { + let t = e; + if (typeof t == "string") try { + t = parseInt(t, 10) + } catch (s) { + t = Date.now() + } + "".concat(t).length < 11 && (t = Math.floor(t * 1e3)); + const n = Sr(), + r = Sr(t), + i = n.diff(r, "hour"); + if (i < 24) { + const s = n.diff(r, "minute"); + return s < 60 ? "".concat(Math.max(1, s), "鍒嗛挓鍓�") : "".concat(i, "灏忔椂鍓�") + } + const o = n.startOf("day").diff(r.startOf("day"), "day"); + return o <= 30 ? "".concat(o, "澶╁墠") : n.year() === r.year() ? r.format("M鏈圖鏃�") : r.format("YYYY骞碝鏈圖鏃�") +} +const Gd = e => { + let t = e; + if (typeof e == "string") try { + t = Number(e) + } catch (c) { + t = new Date().getTime() + } + "".concat(t).length > 10 && (t = Math.floor(t / 1e3)); + const n = new Date(t * 1e3), + r = 24 * 60 * 60, + i = n.getFullYear(), + o = n.getMonth() + 1, + s = n.getDate(), + a = new Date().getFullYear(); + return Ut(Date.now(), "YYYY-MM-D") === Ut(e, "YYYY-MM-D") ? "浠婂ぉ" : Ut(Date.now() + r * 1e3, "YYYY-MM-D") === Ut( + e, "YYYY-MM-D") ? "鏄庡ぉ" : Ut(Date.now() + r * 2e3, "YYYY-MM-D") === Ut(e, "YYYY-MM-D") ? "鍚庡ぉ" : a === i ? + "".concat(o, "鏈�").concat(s, "鏃�") : "".concat(i, "骞�").concat(o, "鏈�").concat(s, "鏃�") + }, + Wd = e => { + let t = e; + if (typeof e == "string") try { + t = Number(e) + } catch (r) { + t = new Date().getTime() + } + "".concat(t).length > 10 && (t = Math.floor(t / 1e3)); + const n = new Date(t * 1e3).getDay(); + return n === 0 ? "鏄熸湡鏃�" : n === 1 ? "鏄熸湡涓�" : n === 2 ? "鏄熸湡浜�" : n === 3 ? "鏄熸湡涓�" : n === 4 ? "鏄熸湡鍥�" : n === 5 ? + "鏄熸湡浜�" : n === 6 ? "鏄熸湡鍏�" : "" + }, + Vp = e => { + const t = Gd(e); + return t === "浠婂ぉ" || t === "鏄庡ぉ" || t === "鍚庡ぉ" ? "".concat(t, " ").concat(Ut(e, "HH:mm")) : "".concat(t, "(") + .concat(Wd(e), ") ").concat(Ut(e, "HH:mm")) + }; + +function Ut(e, t = "YYYY骞碝M鏈圖D鏃� HH:mm") { + let n = e; + if (typeof e == "string") try { + n = parseInt(e, 10) + } catch (r) { + n = Date.now() + } + return "".concat(n).length < 11 && (n = Math.floor(n * 1e3)), Sr(n).format(t) +} +const Hp = e => { + let t = Math.abs(e); + typeof e == "string" && (t = Number(e) || 0); + let n = 0; + return t <= 9999 ? n = t : t <= 10 * 1e4 ? n = "".concat((t / 1e4).toFixed(1), "涓�") : n = "10涓�+", e < 0 ? "-" + .concat(n) : "".concat(n) + }, + $p = e => { + let t = Math.abs(e); + typeof e == "string" && (t = Number(e) || 0); + let n = 0; + return t <= 9999 ? n = t : t <= 9999 * 1e4 ? n = "".concat(Math.floor(t * 10 / 1e4) / 10, "涓�") : t <= 9999 * + 1e4 * 1e3 && (n = "".concat(Math.floor(t * 10 / 1e4 / 1e4) / 10, "浜�")), e < 0 ? "-".concat(n) : n + }, + qp = e => { + let t = Math.abs(e); + typeof e == "string" && (t = Number(e) || 0); + let n = 0; + return t <= 9999 ? n = t : t <= 9999 * 1e4 ? n = "".concat(parseFloat((t / 1e4).toFixed(1)), "涓�") : t <= 9999 * + 1e4 * 1e3 && (n = "".concat(parseFloat((t / 1e4 / 1e4).toFixed(1)), "浜�")), e < 0 ? "-".concat(n) : "" + .concat(n) + }, + Gp = e => { + if (e) return _s.decode(Ra(e, { + whiteList: {}, + stripIgnoreTag: !0, + stripIgnoreTagBody: ["script"] + })) + }, + Je = e => e == null ? void 0 : e.replace(/^http:\/\//, "https://"), + hi = e => e ? e.indexOf("wxapp.tc.qq.com") > -1 || e.indexOf("finder.video.qq.com") > -1 ? "".concat(e, + "&picformat=200") : e : ""; + +function Oa(e, t) { + return Object.fromEntries(Object.entries(e).filter(([n]) => !t.includes(n))) +} +const Yd = e => { + if (!e) return []; + try { + return e.match(/#([^#\s\n#@,锛�.銆俔+)(?=\s|\n|#|@|,|.|锛寍銆倈|$)/g) || [] + } catch (t) { + return [] + } + }, + zd = e => { + if (!e) return []; + try { + return e.match(/@([^#\s\n#@,锛屻�俔+)(?=\s|\n|#|@|,|锛寍銆倈|$)/g) || [] + } catch (t) { + return [] + } + }; + +function Wp(e, t) { + const n = e == null ? void 0 : e.trim(); + if (!n) return { + text: "", + textNodes: [{ + text: "", + type: "plain" + }] + }; + const r = (t == null ? void 0 : t.xss) || !1, + i = !!(t != null && t.highlight), + o = zd(e), + s = o.length > 0 && !!(t != null && t.mentionedUsers), + a = Yd(e), + c = a.length > 0 && !!(t != null && t.finderTopicInfo), + l = r ? Ra(jt(n)) : jt(n), + u = Ae.isMultiTabs && Mi.value.GO_S1S_FINDER ? t == null ? void 0 : t.searchKeywordInfoList : void 0; + if (!i && !s && !c && !(u != null && u.length)) return { + text: l, + textNodes: [{ + text: l, + type: "plain" + }] + }; + const f = {}, + d = new Map; + let h = l; + if (i) { + const y = Zl(l); + ({ + text: h + } = y), y.keywords.forEach(S => { + f[S] = { + type: "highlight" + } + }) + } + u == null || u.forEach(y => { + y.keywordWording && y.referer && (f[y.keywordWording] = { + type: "search_kw", + info: { + referer: y.referer + } + }, d.set(y.keywordWording, !1)) + }), s && o.forEach(y => { + f["".concat(y)] = { + type: "link", + info: { + routeName: ln.profile, + routeQuery: { + username: y || "" + } + } + } + }), c && a.forEach(y => { + f["".concat(y)] = { + type: "topic" + } + }); + const p = Object.keys(f); + if (p.length === 0) return { + text: h, + textNodes: [{ + text: h, + type: "plain" + }] + }; + p.sort((y, S) => S.length - y.length); + const _ = new RegExp("(?:".concat(p.join("|"), ")"), "g"), + m = []; + let g = 0, + b; + for (; b = _.exec(h);) { + const y = b.index, + S = y + b[0].length; + y > g && m.push({ + text: h.slice(g, y), + type: "plain" + }); + const w = h.slice(y, S); + d.has(w) && d.get(w) ? (m.push({ + text: w, + type: "plain" + }), g = S) : (m.push({ + text: w, + ...f[w] + }), d.has(w) && d.set(w, !0), g = S) + } + return g < h.length && m.push({ + text: h.slice(g), + type: "plain" + }), { + text: h, + textNodes: m + } +} + +function Yp(e, t, n = "132") { + return e != null && e.endsWith("/".concat(n)) ? e.slice(0, -n.length) + t : e +} + +function Go(e, t) { + const n = new Map; + return e.forEach(r => { + const i = r[t]; + n.has(i) || n.set(i, r) + }), [...n.values()] +} + +function Jd(e) { + var t, n, r, i, o, s, a, c, l, u; + if (!e) return null; + if ((n = (t = e.attachmentList) == null ? void 0 : t.attachments) != null && n.length && ((r = e.attachmentList) == + null ? void 0 : r.attachments[0].type) === 1) { + const f = (a = (s = (o = (i = e.attachmentList) == null ? void 0 : i.attachments[0].video) == null ? void 0 : o + .video) == null ? void 0 : s.desc) == null ? void 0 : a.media; + if (f != null && f.length) return f[0] + } + return (l = (c = e.objectDesc) == null ? void 0 : c.media) != null && l.length ? (u = e.objectDesc) == null ? + void 0 : u.media[0] : null +} + +function zp(e) { + const t = Jd(e); + return t ? !!t.decodeKey : !1 +} + +function Zd(e, t) { + var n; + return t ? ((n = t.authInfo) == null ? void 0 : n.authIconType) === 2 ? e.filter(r => r !== "鐢�" && r !== "濂�") : [... + e + ] : [...e] +} + +function Jp(e, t) { + return !t || !e ? !0 : t >= e +} +const nr = 88890, + Zp = [1, 2, 3, 4, 5, 10, 88889], + Bt = "recommend", + St = "flow", + Fa = "hot", + Qn = "follow", + ei = "friend", + Zr = "local", + ir = 999, + Wo = [St, Fa, Qn, ei, Zr]; + +function rr(e) { + return e === Bt ? 0 : e === St ? 1 : e === Fa ? 2 : e === Qn ? 3 : e === ei ? 4 : e === Zr ? 5 : e +} +const Yo = 30, + zo = 3 * 24 * 60 * 60, + Jo = 1e3; +class Kd { + constructor() { + E(this, "url", ""); + E(this, "timeout", Jo); + E(this, "nextSniffTimestamp"); + E(this, "nextIntervalMinutes"); + E(this, "initialSniffTimestamp"); + E(this, "expirationSeconds"); + E(this, "regionReportBuffer", ""); + this.nextSniffTimestamp = this.loadNextSniffTimestamp(), this.nextIntervalMinutes = this + .loadNextIntervalMinutes(), this.initialSniffTimestamp = this.loadInitialSniffTimestamp(), this + .expirationSeconds = zo, this.checkExpiration() + } + loadNextSniffTimestamp() { + return me.getLocal(Se.snifferNextTimestamp, 0) + } + loadNextIntervalMinutes() { + return me.getLocal(Se.snifferIntervalMinutes, Yo) + } + loadInitialSniffTimestamp() { + return me.getLocal(Se.initialSniffTimestamp, 0) + } + saveNextSniffTimestamp() { + me.setLocal(Se.snifferNextTimestamp, this.nextSniffTimestamp) + } + saveNextIntervalMinutes() { + me.setLocal(Se.snifferIntervalMinutes, this.nextIntervalMinutes) + } + saveInitialSniffTimestamp() { + me.setLocal(Se.initialSniffTimestamp, this.initialSniffTimestamp) + } + checkExpiration() { + const t = Date.now(), + n = this.initialSniffTimestamp + this.expirationSeconds * 1e3; + t > n && this.resetSnifferData() + } + resetSnifferData() { + this.nextSniffTimestamp = 0, this.nextIntervalMinutes = Yo, this.initialSniffTimestamp = Date.now(), this + .saveNextSniffTimestamp(), this.saveNextIntervalMinutes(), this.saveInitialSniffTimestamp() + } + async fetchHead() { + const t = "".concat(this.url).concat(this.url.includes("?") ? "&" : "?", "requestType=sniffer"), + n = Date.now(), + r = new AbortController, + i = setTimeout(() => r.abort(), this.timeout); + let o; + try { + const s = await fetch(t, { + method: "HEAD", + signal: r.signal + }); + if (clearTimeout(i), !s.ok) throw new Error("HTTP error! status: ".concat(s.status)); + const c = Array.from(s.headers.entries()).reduce((h, [, p]) => h + p.length, 0), + l = Date.now() - n; + if (l > this.timeout) throw new Error("Sniffer timeout: ".concat(this.timeout, ", cost: ").concat(l)); + const u = c / l * 1e3 / 1024, + d = performance.getEntriesByType("resource").find(h => h.name === t); + if (!d) o = { + size: c, + speed: u, + time: l, + total: 0, + dnsLookup: 0, + download: 0, + firstByte: 0, + redirect: 0, + tcpConnect: 0 + }; + else { + const h = d.duration, + p = d.domainLookupEnd - d.domainLookupStart, + _ = d.connectEnd - d.connectStart, + m = d.responseStart - d.requestStart, + g = d.responseEnd - d.responseStart, + b = d.redirectEnd - d.redirectStart; + o = { + size: c, + speed: u, + time: l, + total: h, + dnsLookup: p, + download: g, + firstByte: m, + redirect: b, + tcpConnect: _ + } + } + return this.reportResult(o), o + } catch (s) { + throw clearTimeout(i), this.reportResult(o, s), s + } + } + genFlagInfo(t, n) { + const r = !!t; + return r ? { + success: r + } : { + success: r, + errMsg: n ? n.message : "" + } + } + reportResult(t, n) { + const r = this.genFlagInfo(t, n), + i = JSON.stringify(r).replace(/,/g, ";"), + o = { + Flag: Gs.SNIFFER, + DownloadCost: (t == null ? void 0 : t.time) || 0, + DownloadSize: (t == null ? void 0 : t.size) || 0, + ByPass: this.regionReportBuffer || "", + FlagInfo: i, + ReqPayload: { + perf: t || {} + } + }; + Xf.report(o) + } + async sniff() { + return this.updateNextSniffTimestamp(), this.updateNextInterval(), await this.fetchHead() + } + updateNextSniffTimestamp() { + this.nextSniffTimestamp = Date.now() + this.nextIntervalMinutes * 60 * 1e3, this.saveNextSniffTimestamp() + } + updateNextInterval() { + this.nextIntervalMinutes === 0 && (this.initialSniffTimestamp = Date.now(), this + .saveInitialSniffTimestamp()), this.nextIntervalMinutes = Math.min(this.nextIntervalMinutes * 2, 120), + this.saveNextIntervalMinutes() + } + initConfig(t) { + var n, r; + this.url = t.url, this.timeout = (n = t.timeout) != null ? n : Jo, this.regionReportBuffer = t + .regionReportBuffer || "", this.expirationSeconds = (r = t.expirationSeconds) != null ? r : zo + } + canSniff() { + const t = Date.now(); + return this.nextSniffTimestamp - t, t >= this.nextSniffTimestamp + } + async sniffIfNeeded(t) { + if (this.initConfig(t), !!this.url && this.canSniff()) return await this.sniff() + } +} +const Zo = new Kd; +class Xd { + constructor() { + E(this, "mainHost"); + E(this, "fallbackHost"); + E(this, "useFallbackHost"); + E(this, "hasSniffed", !1); + E(this, "sniffPromise"); + const t = this.loadHostData(); + this.mainHost = t.mainHost, this.fallbackHost = t.fallbackHost, this.useFallbackHost = t.useFallbackHost + } + loadHostData() { + return me.getLocal(Se.videoHostData, { + mainHost: "", + fallbackHost: "", + useFallbackHost: !1 + }) + } + saveHostData() { + const t = { + mainHost: this.mainHost, + fallbackHost: this.fallbackHost, + useFallbackHost: this.useFallbackHost + }; + me.setLocal(Se.videoHostData, t) + } + getHostFromUrl(t) { + try { + return new URL(t).hostname + } catch (n) { + return "https://finder.video.qq.com" + } + } + async waitSniffed(t) { + if (!this.hasSniffed) { + if (!this.sniffPromise) { + t && await ka(t); + return + } + return this.sniffPromise.catch() + } + } + async startSniffer(t) { + if (this.hasSniffed) return; + if (this.hasSniffed = !0, this.sniffPromise) return this.sniffPromise; + if (Zo.canSniff()) return this.sniffPromise = (async () => { + let r = !0; + try { + await Zo.sniffIfNeeded({ + url: t.url, + regionReportBuffer: t.regionReportBuffer + }), r = !0 + } catch (i) { + r = !1 + } + this.mainHost = t.mainHost || "", this.fallbackHost = t.fallbackHost || "", this + .useFallbackHost = !r && !!this.fallbackHost, this.saveHostData(), this + .hasSniffed = !0 + })(), this.sniffPromise + } + replaceUrlHost(t) { + try { + if (this.currentHost) { + const n = new URL(t); + return this.currentHost.startsWith("http") ? n.hostname = new URL(this.currentHost).hostname : n + .hostname = this.currentHost, n.toString() + } + } catch (n) {} + return t + } + get currentHost() { + return this.useFallbackHost ? this.fallbackHost : this.mainHost + } + get isFallbackHostExists() { + return !!this.fallbackHost + } + updateConfig(t) { + typeof t.mainHost == "string" && (this.mainHost = t.mainHost), typeof t.fallbackHost == "string" && (this + .fallbackHost = t.fallbackHost), this.saveHostData() + } +} +const Ri = new Xd; +async function ka(e) { + if (!e.videoUrl) return; + const t = Qr(), + n = At(); + if (t.downloadFallbackHost) return Ri.startSniffer({ + url: e.videoUrl, + regionReportBuffer: n.regionReportBuffer, + mainHost: Ri.getHostFromUrl(e.videoUrl), + fallbackHost: t.downloadFallbackHost + }) +} +async function Kp() { + const e = Qr(); + !Ri.hasSniffed && e.downloadFallbackHost && await Ri.waitSniffed() +} +class Qd { + constructor(t) { + E(this, "id"); + E(this, "name"); + E(this, "items", []); + E(this, "fetching", !1); + E(this, "noMore", !1); + E(this, "buffers", {}); + E(this, "fetchApi"); + E(this, "fetchCount", 0); + this.id = t.id || "", this.name = t.name || "", this.fetchApi = t.fetchApi + } + reset() { + this.items.length = 0, this.noMore = !1, this.buffers = {}, this.fetchCount = 0 + } + async fetch(t) { + const { + refresh: n = "no", + initOnly: r + } = t || {}; + if (this.fetching || n === "no" && this.noMore) return; + if (this.fetching = !0, n === "hard" && this.reset(), n !== "no" && (this.buffers = {}), r && this.items + .length > 0) { + this.fetching = !1; + return + } + const i = this.fetchCount + 1; + this.fetchCount = i; + const { + items: o, + lastBuffer: s, + sessionBuffer: a, + ok: c, + noMore: l + } = await this.fetchApi(this); + this.fetchCount === i && (n !== "no" ? (this.reset(), this.items = o) : this.items.push(...o), this + .buffers = { + lastBuffer: s, + sessionBuffer: a + }, this.fetching = !1, this.noMore = l || !c) + } + unshift(t) { + this.items.unshift(t) + } + push(t) { + this.items.push(t) + } + remove(t) { + const n = this.items.findIndex(t); + n !== -1 && this.items.splice(n, 1) + } + get length() { + return this.items.length + } +} +class yi { + constructor(t) { + E(this, "id"); + E(this, "name"); + E(this, "feeds", []); + E(this, "fetching", !1); + E(this, "noMore", !1); + E(this, "buffers", {}); + E(this, "limit", 300); + E(this, "errorTips", "鍔犺浇寮傚父锛屽彲绋嶅悗鍐嶈瘯"); + E(this, "fetchApi"); + this.id = t.id, this.name = t.name || "", this.fetchApi = t.fetchApi, this.limit = t.limit || this.limit + } + reset() { + this.feeds.length = 0, this.noMore = !1, this.errorTips = "鍔犺浇寮傚父锛屽彲绋嶅悗鍐嶈瘯" + } + async fetch(t) { + const { + refresh: n = "no", + initOnly: r + } = t || {}; + if (this.fetching || n === "no" && this.noMore) return !1; + if (this.fetching = !0, n === "hard" && this.reset(), n !== "no" && (this.buffers = {}), r && this.feeds + .length > 0) return this.fetching = !1, !1; + const { + objects: i, + lastBuffer: o, + sessionBuffer: s, + ok: a, + noMore: c + } = await this.fetchApi({ + prefetch: t == null ? void 0 : t.prefetch + }, this); + return n !== "no" ? (this.reset(), this.feeds = i.map(l => new at(l))) : this.feeds.push(...i.map(l => + new at(l))), this.buffers = { + lastBuffer: o, + sessionBuffer: s + }, this.fetching = !1, this.noMore = c || !a || this.feeds.length >= this.limit, !0 + } + setFeed(t, n) { + const r = this.feeds.findIndex(i => i.id === t); + r >= 0 && (this.feeds[r] = n) + } + setFinderObject(t, n) { + this.setFeed(t, new at(n)) + } + setFeeds(t) { + this.feeds = t + } + unshift(t) { + this.feeds.unshift(t) + } + unshiftFinderObject(t) { + this.unshift(new at(t)) + } + setErrorTips(t) { + this.errorTips = t + } + get length() { + return this.feeds.length + } + get feedIdList() { + return this.feeds.map(t => t.id) + } +} +class Si extends yi { + constructor(n) { + var r, i; + super(n); + E(this, "limit", 500); + E(this, "noMoreFakeFeedText"); + E(this, "currentTimeMap", new Map); + E(this, "currentFeedIndex", 0); + E(this, "loopOnly"); + E(this, "isRecommend"); + E(this, "switchFeedCoolDown", 0); + this.noMoreFakeFeedText = n.noMoreFakeFeedText || "", this.loopOnly = (r = n.loopOnly) != null ? r : !1, + this.isRecommend = (i = n.isRecommend) != null ? i : !1 + } + reset() { + super.reset(), this.currentFeedIndex = 0, this.currentTimeMap.clear() + } + async fetch(n) { + const r = await super.fetch(n); + return r && this.noMore && this.noMoreFakeFeedText && this.feeds.push(at.createFlowEndFakeFeed(this + .noMoreFakeFeedText)), r + } + recordCurrentTime(n, r) { + this.currentTimeMap.set(n, r) + } + get hasPrev() { + return this.currentFeedIndex > 0 + } + get hasNext() { + return this.currentFeedIndex < this.length - 1 + } + get currentFeed() { + return this.feeds[this.currentFeedIndex] + } + setCurrentFeedIndex(n, r) { + var s, a; + n >= this.length - 3 && this.fetch(); + const i = this.currentFeedIndex, + o = (s = this.currentFeed) == null ? void 0 : s.id; + this.currentFeedIndex = n, r != null && r.eleInfo && Ne.reportCustomBehavior("flowChangeFeed", { + type: r.eleInfo.type, + fromFeedId: o, + fromFeedIndex: i + 1, + toFeedId: (a = this.currentFeed) == null ? void 0 : a.id, + toFeedIndex: n + 1, + tagId: r.eleInfo.tagId + }) + } + coolDownSwitchFeed() { + this.switchFeedCoolDown = window.setTimeout(() => { + this.switchFeedCoolDown = 0 + }, 500) + } + goToPrevFlowFeed(n) { + this.switchFeedCoolDown || (this.coolDownSwitchFeed(), this.hasPrev && this.setCurrentFeedIndex(this + .currentFeedIndex - 1, n)) + } + goToNextFlowFeed(n) { + var s, a; + if (!(n != null && n.ignoreCoolDown) && this.switchFeedCoolDown) return; + this.coolDownSwitchFeed(); + const r = this.currentFeedIndex, + i = (s = this.currentFeed) == null ? void 0 : s.id; + let o; + if (this.hasNext) o = this.currentFeedIndex + 1; + else if (n != null && n.goBackWhenEnd) o = 0; + else return; + this.currentFeedIndex = o, this.currentFeedIndex !== r && (n != null && n.eleInfo) && Ne + .reportCustomBehavior("flowChangeFeed", { + type: n.eleInfo.type, + fromFeedId: i, + fromFeedIndex: r + 1, + toFeedId: (a = this.currentFeed) == null ? void 0 : a.id, + toFeedIndex: o + 1, + tagId: n.eleInfo.tagId + }), this.currentFeedIndex >= this.length - 3 && this.fetch() + } + insertFeed(n, r = this.currentFeedIndex + 1) { + return this.feeds.splice(r, 0, n), r + } + deleteFeed(n) { + const r = this.feeds.findIndex(i => i.id === n); + r >= 0 && (this.feeds.splice(r, 1), r <= this.currentFeedIndex && this.currentFeedIndex--) + } +} +class at { + constructor(t, n) { + E(this, "id"); + E(this, "objectNonceId", ""); + E(this, "contact"); + E(this, "likeList", []); + E(this, "recommendReason", ""); + E(this, "stickyTime", 0); + E(this, "tipsInfo"); + E(this, "objectStatus"); + E(this, "attachmentList"); + E(this, "objectDesc"); + E(this, "createtime", 0); + E(this, "permissionFlag"); + E(this, "commentClose"); + E(this, "sessionBuffer"); + E(this, "objectType", _i.default); + E(this, "readCount", 0); + E(this, "likeCount", 0); + E(this, "commentCount", 0); + E(this, "forwardCount", 0); + E(this, "favCount", 0); + E(this, "friendLikeCount", 0); + E(this, "likeFlag", 0); + E(this, "favFlag", 0); + E(this, "recommendLabel", { + recommendLabelWording: "" + }); + E(this, "liveInfo"); + E(this, "playhistoryInfo"); + E(this, "objectExtend", { + pcFinderHotComment: "", + favInfo: { + fingerlikeFavCount: 0 + }, + objectMemberInfo: void 0 + }); + E(this, "userTags", []); + E(this, "authorIpRegionInfo"); + E(this, "ipRegionInfo"); + E(this, "funcFlag"); + E(this, "adFlag", 0); + E(this, "privateFlag", 0); + E(this, "warnWording", ""); + E(this, "reqIndex"); + E(this, "reqTime"); + E(this, "feRedDotInfo"); + E(this, "feDeleting"); + E(this, "feCardMask", {}); + E(this, "flowEndText"); + E(this, "flowLoop"); + E(this, "playInsId", Gt()); + E(this, "feErrorFeedTips"); + E(this, "hasUpdateMediaOnce", !1); + E(this, "isUpdatingMedia", !1); + E(this, "isTogglingFollowAnchor", !1); + E(this, "commentIdSet", new Set); + E(this, "feHotComment"); + E(this, "commentDataList", this.getNewCommentDataList()); + E(this, "authorProfileFeedList", this.getNewAuthorProfileFeedList()); + var o, s; + this.id = t.id || "", this.objectNonceId = t.objectNonceId || "", this.objectDesc = t.objectDesc, (o = this + .objectDesc) != null && o.description && (this.objectDesc.description = jt(this.objectDesc + .description)), (s = this.objectDesc) != null && s.liveDesc && (this.objectDesc.liveDesc + .liveCoverUrl = Je(this.objectDesc.liveDesc.liveCoverUrl || ""), this.objectDesc.liveDesc + .liveFrameUrl = Je(this.objectDesc.liveDesc.liveFrameUrl || "")), this.attachmentList = t + .attachmentList, this.updateDetail(t), this.reqIndex = t.reqIndex, this.reqTime = t.reqTime, this + .feRedDotInfo = t.feRedDotInfo, this.feDeleting = t.feDeleting; + const { + feErrorFeedTips: r = "", + flowLoop: i + } = n || {}; + this.feErrorFeedTips = r, this.flowLoop = i, ka(this) + } + static createFlowEndFakeFeed(t) { + const n = new at({ + id: "0" + }); + return n.flowEndText = t, n + } + get isImage() { + var t; + return ((t = this.objectDesc) == null ? void 0 : t.mediaType) === vr.image + } + get images() { + var t, n; + return this.isImage ? ((n = (t = this.objectDesc) == null ? void 0 : t.media) == null ? void 0 : n.map(r => + Je(r.fullCoverUrl || r.coverUrl || r.fullThumbUrl || r.thumbUrl || "")).filter(Boolean)) || [] : [] + } + get feedImages() { + var t, n; + return this.isImage ? ((n = (t = this.objectDesc) == null ? void 0 : t.media) == null ? void 0 : n.map(r => + Je(r.url || r.thumbUrl || "")).filter(Boolean)) || [] : [] + } + get objectDescMedia() { + var t, n; + return (n = (t = this.objectDesc) == null ? void 0 : t.media) == null ? void 0 : n[0] + } + get media() { + var n, r, i, o, s, a, c, l, u, f, d; + const t = ((i = (r = (n = this.attachmentList) == null ? void 0 : n.attachments) == null ? void 0 : r[0]) == + null ? void 0 : i.type) === 1 ? (f = (u = (l = (c = (a = (s = (o = this.attachmentList) == null ? + void 0 : o.attachments) == null ? void 0 : s[0]) == null ? void 0 : a.video) == null ? + void 0 : c.video) == null ? void 0 : l.desc) == null ? void 0 : u.media) == null ? void 0 : f[0] : + this.objectDescMedia; + return { + width: (t == null ? void 0 : t.width) || 0, + height: (t == null ? void 0 : t.height) || 0, + url: (t == null ? void 0 : t.url) || "", + urlToken: (t == null ? void 0 : t.urlToken) || "", + decodeKey: (t == null ? void 0 : t.decodeKey) || "", + videoPlayLen: (t == null ? void 0 : t.videoPlayLen) || 0, + spec: t == null ? void 0 : t.spec, + hdrSpec: t == null ? void 0 : t.hdrSpec, + fullThumbUrl: Je((t == null ? void 0 : t.fullThumbUrl) || ""), + thumbUrl: Je((t == null ? void 0 : t.thumbUrl) || ""), + fullCoverUrl: Je((t == null ? void 0 : t.fullCoverUrl) || ""), + coverUrl: Je((t == null ? void 0 : t.coverUrl) || ""), + scalingInfo: (d = this.objectDescMedia) == null ? void 0 : d.scalingInfo + } + } + get videoUrl() { + const { + media: t + } = this; + if (!t.url) return ""; + let n = Je("".concat(t.url).concat(t.urlToken)).replace("wxapp.tc.qq.com", "finder.video.qq.com"); + return n.includes("/20302/") && (n.includes("&web=1") || (n = "".concat(n, "&web=1")), n.includes( + "&taskid=pc-") || (n = "".concat(n, "&taskid=pc-").concat(this.playInsId))), n.includes( + "&fexam=1") || (n = "".concat(n, "&fexam=1")), n + } + get coverInfo() { + const t = this.objectDescMedia; + return { + fullCoverUrl: hi(Je((t == null ? void 0 : t.fullCoverUrl) || "")), + coverUrl: hi(Je((t == null ? void 0 : t.coverUrl) || "")), + fullThumbUrl: hi(Je((t == null ? void 0 : t.fullThumbUrl) || "")), + thumbUrl: hi(Je((t == null ? void 0 : t.thumbUrl) || "")) + } + } + get isNews() { + return this.objectType === _i.news + } + get isAd() { + return !!this.adFlag && (this.adFlag & 8) > 0 + } + get errorTips() { + return this.isAd ? "鏆傛棤娉曡鐪嬫瑙嗛锛屽彲鍓嶅線鎵嬫満涓婅鐪嬨��" : this.feErrorFeedTips + } + async update(t = !0, n = 8) { + var i; + if (this.isUpdatingMedia || this.isUpdatingMedia || !this.id || this.hasUpdateMediaOnce) return; + this.isUpdatingMedia = t, this.hasUpdateMediaOnce = t; + const r = await qe.finderGetCommentDetail({ + objectid: this.id, + needObject: 1, + finderUsername: At().finderUsername, + scene: Yr(), + direction: 2, + objectNonceId: this.objectNonceId, + identityScene: 2, + pullScene: n + }); + if (cn(r) || !((i = r == null ? void 0 : r.data) != null && i.object)) { + this.isUpdatingMedia = !1; + return + } + t && this.updateMedia(r.data.object), this.updateDetail(r.data.object), this.isUpdatingMedia = !1 + } + updateMedia(t) { + var n, r, i, o, s, a, c, l, u; + !this.id || !t.id || t.id !== this.id || ((c = (a = (s = (o = (i = (r = (n = t.attachmentList) == null ? + void 0 : n.attachments) == null ? void 0 : r[0]) == null ? void 0 : i.video) == + null ? void 0 : o.video) == null ? void 0 : s.desc) == null ? void 0 : a.media) != null && c[ + 0] && (this.attachmentList = t.attachmentList), (u = (l = t.objectDesc) == null ? void 0 : l + .media) != null && u[0] && (this.objectDesc = { + ...this.objectDesc, + media: t.objectDesc.media + }), this.updateStorageCacheFeed()) + } + updateDetail(t) { + var n, r, i, o, s, a, c, l, u, f, d, h, p, _, m, g, b, y, S, w, k; + this.contact = t.contact, (n = this.contact) != null && n.liveCoverImgUrl && (this.contact.liveCoverImgUrl = + Je(this.contact.liveCoverImgUrl || "")), (r = this.contact) != null && r.headUrl && (this.contact + .headUrl = Je(this.contact.headUrl || "")), (i = this.contact) != null && i.signature && (this + .contact.signature = jt(this.contact.signature)), (o = this.contact) != null && o.nickname && (this + .contact.nickname = jt(this.contact.nickname)), (a = (s = this.contact) == null ? void 0 : s + .bindInfo) == null || a.forEach(v => { + var I, T, A; + (A = (T = (I = v.bizInfo) == null ? void 0 : I.info) == null ? void 0 : T[0]) != null && A + .bizNickname && (v.bizInfo.info[0].bizNickname = jt(v.bizInfo.info[0].bizNickname)) + }), (c = t.objectDesc) != null && c.description && this.objectDesc && (this.objectDesc.description = jt( + t.objectDesc.description)), this.likeList = ((l = t.likeList) == null ? void 0 : l.map(v => ({ + ...v, + nickname: jt(v.nickname) + }))) || [], this.recommendReason = t.recommendReason || "", this.stickyTime = t.stickyTime || 0, this + .tipsInfo = t.tipsInfo, this.objectStatus = t.objectStatus, this.createtime = t.createtime || 0, this + .permissionFlag = (u = t.permissionFlag) != null ? u : void 0, this.commentClose = t.commentClose || 0, + this.objectType = (f = t.objectType) != null ? f : _i.default, this.readCount = t.readCount || 0, this + .likeCount = t.likeCount || 0, this.commentCount = t.commentCount || 0, this.forwardCount = t + .forwardCount || 0, this.favCount = t.favCount || 0, this.friendLikeCount = t.friendLikeCount || 0, this + .likeFlag = t.likeFlag || 0, this.favFlag = t.favFlag || 0, this.recommendLabel = { + recommendReasonType: (h = (d = t.recommendLabel) == null ? void 0 : d.recommendReasonType) != null ? + h : void 0, + recommendLabelWording: ((_ = (p = t.recommendLabel) == null ? void 0 : p.recommendLabelWording) == + null ? void 0 : _.trim()) || "", + recommendLabelType: (m = t.recommendLabel) == null ? void 0 : m.recommendLabelType + }, this.liveInfo = t.liveInfo, (g = this.liveInfo) != null && g.streamUrl && (this.liveInfo.streamUrl = + Je(this.liveInfo.streamUrl)), this.playhistoryInfo = t.playhistoryInfo, this.objectExtend = { + pcFinderHotComment: ((b = t.objectExtend) == null ? void 0 : b.pcFinderHotComment) || "", + favInfo: { + fingerlikeFavCount: ((S = (y = t.objectExtend) == null ? void 0 : y.favInfo) == null ? void 0 : + S.fingerlikeFavCount) || 0 + }, + objectMemberInfo: ((w = t.objectExtend) == null ? void 0 : w.objectMemberInfo) || void 0 + }, this.userTags = Zd(t.userTags || [], this.contact), this.authorIpRegionInfo = t.authorIpRegionInfo, + this.ipRegionInfo = t.ipRegionInfo, this.funcFlag = (k = t.funcFlag) != null ? k : void 0, this.adFlag = + t.adFlag || 0, this.privateFlag = t.privateFlag || 0, this.warnWording = t.warnWording || "", !this + .sessionBuffer && t.sessionBuffer && (this.sessionBuffer = t.sessionBuffer) + } + forwardFeed() { + this.forwardCount += 1 + } + addMeToFriendLikeList() { + const n = At().wxAlias; + this.friendLikeCount += 1, n != null && n.username && this.likeList.findIndex(r => r.username === (n == + null ? void 0 : n.username)) === -1 && this.likeList.push({ + commentId: "", + content: "", + createtime: "".concat(Math.floor(Date.now() / 1e3)), + headUrl: (n == null ? void 0 : n.headImgUrl) || "", + levelTwoComment: [], + likeFlag: 0, + nickname: (n == null ? void 0 : n.nickname) || "", + replyCommentId: "0", + replyUsername: "", + username: (n == null ? void 0 : n.username) || "" + }) + } + removeMeFromFriendLikeList() { + const n = At().wxAlias; + if (this.friendLikeCount && (this.friendLikeCount -= 1), n != null && n.username && this.likeList.length) { + const r = this.likeList.findIndex(i => i.username === (n == null ? void 0 : n.username)); + r > -1 && this.likeList.splice(r, 1) + } + } + async toggleLikeFeed() { + var r, i, o, s, a, c; + const t = { + objectid: this.id, + objectNonceId: this.objectNonceId, + sessionBuffer: this.sessionBuffer, + likeid: "".concat(Date.now()), + finderUsername: At().finderUsername, + scene: 2 + }; + this.likeFlag ? (t.optype = 4, this.likeFlag = 0, this.likeCount && (this.likeCount -= 1), this + .removeMeFromFriendLikeList()) : (t.optype = 3, this.likeFlag = 1, this.likeCount += 1, this + .addMeToFriendLikeList()); + const n = await qe.finderLike(t); + (o = (i = (r = n == null ? void 0 : n.data) == null ? void 0 : r.BaseResponse) == null ? void 0 : i + .ErrMsg) != null && o.String && (Ci.confirm((c = (a = (s = n == null ? void 0 : n.data) == null ? void 0 : s + .BaseResponse) == null ? void 0 : a.ErrMsg) == null ? void 0 : c.String, { + buttons: [{ + label: "鎴戠煡閬撲簡", + type: "default" + }] + }), this.likeFlag ? (this.likeFlag = 0, this.likeCount && (this.likeCount -= 1), this + .removeMeFromFriendLikeList()) : (this.likeFlag = 1, this.likeCount += 1, this + .addMeToFriendLikeList())), this.updateStorageCacheFeed() + } + async toggleFavFeed() { + const t = At(), + n = { + objectId: this.id, + objectNonceId: this.objectNonceId, + sessionBuffer: this.sessionBuffer, + finderUsername: t.finderUsername + }; + this.favFlag ? (n.optype = 2, this.favFlag = 0, this.favCount && (this.favCount -= 1)) : (n.optype = 1, this + .favFlag = 1, this.favCount += 1), await qe.finderFav(n), this.updateStorageCacheFeed() + } + async feedbackNoInterestFeed() { + const t = { + feedbackType: 1, + subType: 2, + id: this.id, + objectNonceId: this.objectNonceId, + sessionBuffer: this.sessionBuffer + }; + await qe.finderFeedback(t) + } + async followAnchor() { + var i, o, s, a, c, l, u; + if (this.isTogglingFollowAnchor) return; + const t = At(); + this.isTogglingFollowAnchor = !0; + const n = { + posterUsername: (i = this.contact) == null ? void 0 : i.username, + optype: 1, + refObjectid: this.id, + refObjectNonceId: this.objectNonceId, + sessionBuffer: this.sessionBuffer, + finderUsername: t.finderUsername, + enterType: ia.MMFinder_UserpageEnter_Type_Flow_Avatar + }, + r = await qe.finderFollow(n); + return (a = (s = (o = r == null ? void 0 : r.data) == null ? void 0 : o.BaseResponse) == null ? void 0 : s + .ErrMsg) != null && a.String ? Ci.confirm((u = (l = (c = r == null ? void 0 : r.data) == null ? + void 0 : c.BaseResponse) == null ? void 0 : l.ErrMsg) == null ? void 0 : u.String, { + buttons: [{ + label: "鎴戠煡閬撲簡", + type: "default" + }] + }) : (this.contact && (this.contact.followFlag = 1), this.updateStorageCacheFeed()), this + .isTogglingFollowAnchor = !1, r + } + updateStorageCacheFeed() { + this.id && me.feedObjectCacheQueue.push(this.id, { + ...this, + commentIdSet: void 0, + commentDataList: void 0 + }) + } + get isShortVideo() { + return (this.media.videoPlayLen || 0) <= 60 + } + get feedPermissions() { + return (this == null ? void 0 : this.permissionFlag) !== void 0 && this.permissionFlag !== null ? { + danmakuEnabledByAuthor: (this.permissionFlag & Wn + .MMFINDER_Object_Permission_Flag_Close_Bullet_Comment) !== Wn + .MMFINDER_Object_Permission_Flag_Close_Bullet_Comment, + danmakuBanned: (this.permissionFlag & Wn + .MMFINDER_Object_Permission_Flag_Disable_Bullet_Comment_Switch) === Wn + .MMFINDER_Object_Permission_Flag_Disable_Bullet_Comment_Switch + } : { + danmakuEnabledByAuthor: !1, + danmakuBanned: !0 + } + } + get isDanmakuBanned() { + return this.feedPermissions.danmakuBanned || this.isShortVideo + } + get isDanmakuEnabledByAuthor() { + return this.feedPermissions.danmakuEnabledByAuthor + } + getNewCommentDataList() { + return new Qd({ + fetchApi: async t => { + var r, i, o; + const n = await qe.finderGetCommentList({ + objectId: this.id, + lastBuffer: t.buffers.lastBuffer, + direction: 2, + objectNonceId: this.objectNonceId, + identityScene: 2 + }); + return n != null && n.data ? ((r = n.data.countInfo) != null && r.commentCount && (this + .commentCount = n.data.countInfo.commentCount), (i = n.data.descComment) != + null && i.content && (this.feHotComment = n.data.descComment), { + items: ((o = n.data.commentInfo) == null ? void 0 : o.filter(s => { + if (!s.commentId) return !1; + const a = !this.commentIdSet.has(s.commentId); + return a && this.commentIdSet.add(s.commentId), a + })) || [], + ok: !0, + noMore: !n.data.downContinueFlag, + lastBuffer: n.data.lastBuffer || "" + }) : { + items: [], + ok: !1 + } + } + }) + } + resetComment() { + this.commentIdSet.clear(), this.commentDataList.reset() + } + mockComment(t, n) { + var s; + const i = At().currentAlias; + !this.commentIdSet.has(t) && (this.commentIdSet.add(t), this.commentDataList.push({ + commentId: t, + nickname: i.nickname, + username: (s = i.username) != null ? s : void 0, + content: n, + createtime: "".concat(Date.now()), + headUrl: i.headImgUrl + })), this.commentCount += 1 + } + mockReplyComment() { + this.commentCount += 1 + } + mockDeleteComment(t) { + this.commentDataList.remove(n => (n == null ? void 0 : n.commentId) === t), this.commentCount -= 1 + } + mockDeleteReplyComment() { + this.commentCount -= 1 + } + getNewAuthorProfileFeedList() { + return new Si({ + id: Zr, + loopOnly: !0, + fetchApi: async (t, n) => { + var s, a; + const r = At(), + i = await qe.finderUserPage({ + username: (s = this.contact) == null ? void 0 : s.username, + objectId: this.id, + finderUsername: r.finderUsername, + lastBuffer: n.buffers.lastBuffer, + sessionBuffer: n.buffers.sessionBuffer + }), + { + data: o + } = i; + return cn(i) ? { + ok: !1, + objects: [] + } : { + objects: ((a = o == null ? void 0 : o.object) == null ? void 0 : a.filter(c => { + var l; + return ((l = c.objectDesc) == null ? void 0 : l.mediaType) !== + vr.live + })) || [], + ok: !0, + noMore: !(o != null && o.continueFlag), + lastBuffer: (o == null ? void 0 : o.lastBuffer) || "" + } + } + }) + } + clearRelatedData() { + this.resetComment(), this.authorProfileFeedList = this.getNewAuthorProfileFeedList() + } + setCardMask(t) { + this.feCardMask = t + } + async contactTagOption(t) { + var i, o; + const n = { + wxUsername: t.wxUsername, + objectId: this.id, + optionType: t.optype + }, + r = await qe.finderContactTagOption(n); + if (t != null && t.wxUsername && (r != null && r.data) && !((o = (i = r == null ? void 0 : r.data) == null ? + void 0 : i.baseResponse) != null && o.Ret)) { + if (t.optype === 1) { + if (!t.wxUsername || !this.likeList) return; + const s = this.likeList.findIndex(a => a.username === t.wxUsername); + s !== -1 && (this.likeList[s].feHidden = !0) + } else { + if (!t.wxUsername || !this.likeList) return; + const s = this.likeList.findIndex(a => a.username === t.wxUsername); + s !== -1 && (this.likeList[s].feHidden = !1) + } + this.updateStorageCacheFeed() + } + } +} +var bi = (e => (e[e.FinderLiveMode_Unknown = 0] = "FinderLiveMode_Unknown", e[e.FinderLiveMode_Video = 1] = + "FinderLiveMode_Video", e[e.FinderLiveMode_Voice = 2] = "FinderLiveMode_Voice", e[e.FinderLiveMode_Game = + 3] = "FinderLiveMode_Game", e))(bi || {}), + wr = (e => (e[e.FinderLiveVoiceSubMode_SingleVoiceRoom = 1] = "FinderLiveVoiceSubMode_SingleVoiceRoom", e[e + .FinderLiveVoiceSubMode_MultiVoiceRoom = 2] = "FinderLiveVoiceSubMode_MultiVoiceRoom", e[e + .FinderLiveVoiceSubMode_ChatPartyVoiceRoom = 4] = "FinderLiveVoiceSubMode_ChatPartyVoiceRoom", e[e + .FinderLiveVoiceSubMode_Ktv = 8] = "FinderLiveVoiceSubMode_Ktv", e))(wr || {}), + on = (e => (e[e.typeComment = 1] = "typeComment", e[e.typeSys = 10001] = "typeSys", e[e.joinLive = 10005] = + "joinLive", e[e.topComment = 10017] = "topComment", e[e.MMFinder_LiveMsg_Ban_Comment = 10006] = + "MMFinder_LiveMsg_Ban_Comment", e[e.MMFinder_LiveMsg_Ban_Comment_Single = 10007] = + "MMFinder_LiveMsg_Ban_Comment_Single", e[e.MMFinder_LiveMsg_Allow_Comment_Single = 10008] = + "MMFinder_LiveMsg_Allow_Comment_Single", e))(on || {}), + Xe = (e => (e[e.MMFinder_LiveAppMsg_Type_ReplyComment = 20002] = "MMFinder_LiveAppMsg_Type_ReplyComment", e[e + .MMFinder_LiveAppMsg_Type_ApplyMic = 20003] = "MMFinder_LiveAppMsg_Type_ApplyMic", e[e + .MMFinder_LiveAppMsg_Type_AcceptMic = 20004] = "MMFinder_LiveAppMsg_Type_AcceptMic", e[e + .MMFinder_LiveAppMsg_Type_CloseMic = 20005] = "MMFinder_LiveAppMsg_Type_CloseMic", e[e + .MMFinder_LiveAppMsg_Type_LiveReward = 20009] = "MMFinder_LiveAppMsg_Type_LiveReward", e[e + .MMFinder_LiveAppMsg_Type_ComboLiveReward = 20013] = "MMFinder_LiveAppMsg_Type_ComboLiveReward", e[e + .MMFinder_LiveAppMsg_Type_RewardRankingNotice = 20014] = "MMFinder_LiveAppMsg_Type_RewardRankingNotice", + e[e.MMFinder_LiveAppMsg_Type_PkStatus = 20018] = "MMFinder_LiveAppMsg_Type_PkStatus", e[e + .MMFinder_LiveAppMsg_Type_GlobalLevelUpgrade = 20031] = "MMFinder_LiveAppMsg_Type_GlobalLevelUpgrade", + e[e.MMFinder_LiveAppMsg_Type_UpdateFinderObject = 20036] = "MMFinder_LiveAppMsg_Type_UpdateFinderObject", e[ + e.MMFinder_LiveAppMsg_Type_UpdateCheerInfo = 20038] = "MMFinder_LiveAppMsg_Type_UpdateCheerInfo", e[e + .MMFinder_LiveAppMsg_Type_VoiceLiveImg = 20071] = "MMFinder_LiveAppMsg_Type_VoiceLiveImg", e[e + .MMFinder_LiveAppMsg_Type_PromoteInfo = 20051] = "MMFinder_LiveAppMsg_Type_PromoteInfo", e[e + .MMFinder_LiveAppMsg_Type_NewApplyPk = 20093] = "MMFinder_LiveAppMsg_Type_NewApplyPk", e[e + .MMFinder_LiveAppMsg_Type_NewAcceptPk = 20094] = "MMFinder_LiveAppMsg_Type_NewAcceptPk", e[e + .MMFinder_LiveAppMsg_Type_NewClosePk = 20095] = "MMFinder_LiveAppMsg_Type_NewClosePk", e[e + .MMFinder_LiveAppMsg_Type_AnchorInviteMicWithAudience = 20104] = + "MMFinder_LiveAppMsg_Type_AnchorInviteMicWithAudience", e))(Xe || {}), + Ve = (e => (e[e.lawTips = 200] = "lawTips", e[e.description = 201] = "description", e[e.syetem = 203] = "syetem", e[ + e.reply = 204] = "reply", e[e.present = 205] = "present", e[e.bizLink = 206] = "bizLink", e))(Ve || {}), + Ir = (e => (e[e.EnableViewOnlineMemberList = 64] = "EnableViewOnlineMemberList", e[e + .EnableDisplayOnlineMemberListHeatValue = 128] = "EnableDisplayOnlineMemberListHeatValue", e[e + .DisableContactSwitch = 67108864] = "DisableContactSwitch", e[e.DisableFakeInsertMsg = 16777216] = + "DisableFakeInsertMsg", e))(Ir || {}), + ht = (e => (e[e.MM_FINDER_LIVE_ERR_IN_BLACKLIST = -200001] = "MM_FINDER_LIVE_ERR_IN_BLACKLIST", e[e + .MM_FINDER_LIVE_ERR_AUDIENCE_NO_PERMISSION = -200030] = "MM_FINDER_LIVE_ERR_AUDIENCE_NO_PERMISSION", e[e + .MM_FINDER_LIVE_ERR_NOT_REALNAME_COMMENT = -200016] = "MM_FINDER_LIVE_ERR_NOT_REALNAME_COMMENT", e[e + .MM_FINDER_LIVE_ERR_BAN_POST_MSG = -200014] = "MM_FINDER_LIVE_ERR_BAN_POST_MSG", e[e + .MM_FINDER_LIVE_ERR_BAN_LIVE_COMMENT_ALL = -200031] = "MM_FINDER_LIVE_ERR_BAN_LIVE_COMMENT_ALL", e[e + .MM_FINDER_LIVE_ERR_SENSITIVE_WORD = -200015] = "MM_FINDER_LIVE_ERR_SENSITIVE_WORD", e[e + .MM_FINDER_LIVE_ERR_LIVE_ANTISPAM = -200018] = "MM_FINDER_LIVE_ERR_LIVE_ANTISPAM", e[e + .MM_LIVE_ERR_NOT_ADULT = -100064] = "MM_LIVE_ERR_NOT_ADULT", e))(ht || {}), + eh = (e => (e[e.TEENAGER = -10004] = "TEENAGER", e[e.DELETE = -10005] = "DELETE", e[e.PRIVATE_VISIBLE = -10006] = + "PRIVATE_VISIBLE", e[e.PRIVATE_ACCOUNT = -10007] = "PRIVATE_ACCOUNT", e[e.BLACKLIST = -10008] = "BLACKLIST", + e))(eh || {}), + pt = (e => (e[e.MMLiveAnchorStatusBitSetEnterBackground = 1] = "MMLiveAnchorStatusBitSetEnterBackground", e[e + .MMLiveAnchorStatusBitSetSysCallInterruption = 2] = "MMLiveAnchorStatusBitSetSysCallInterruption", e[e + .MMLiveAnchorStatusBitSetRecordScreenOn = 4] = "MMLiveAnchorStatusBitSetRecordScreenOn", e[e + .MMLiveAnchorStatusBitSetBanComment = 8] = "MMLiveAnchorStatusBitSetBanComment", e[e + .MMLiveAnchorStatusBitSetShoppingAvailable = 16] = "MMLiveAnchorStatusBitSetShoppingAvailable", e[e + .MMLiveAnchorStatusBitSetLiveBreakRule = 32] = "MMLiveAnchorStatusBitSetLiveBreakRule", e[e + .MMLiveAnchorStatusBitSetEnableConnnectMic = 64] = "MMLiveAnchorStatusBitSetEnableConnnectMic", e[e + .MMLiveAnchorStatusBitSetEnableReward = 128] = "MMLiveAnchorStatusBitSetEnableReward", e[e + .MMLiveAnchorStatusBitSetEnableAudioMode = 256] = "MMLiveAnchorStatusBitSetEnableAudioMode", e[e + .MMLiveAnchorStatusBitSetDisableLikeLive = 512] = "MMLiveAnchorStatusBitSetDisableLikeLive", e))(pt || {}), + Pa = (e => (e[e.MMFinderLive_Scene_Author = 1] = "MMFinderLive_Scene_Author", e[e.MMFinderLive_Scene_Viewer = 2] = + "MMFinderLive_Scene_Viewer", e[e.MMFinderLive_Scene_Assistant = 3] = "MMFinderLive_Scene_Assistant", e[e + .MMFinderLive_Scene_Virtual_Assistant = 4] = "MMFinderLive_Scene_Virtual_Assistant", e[e + .MMFinderLive_Scene_Virtual_Author = 5] = "MMFinderLive_Scene_Virtual_Author", e[e + .MMFinderLive_Scene_Observer = 6] = "MMFinderLive_Scene_Observer", e[e.MMFinderLive_Scene_Mcn_Monitor = + 7] = "MMFinderLive_Scene_Mcn_Monitor", e[e.MMFinderLive_Scene_FeedsStreamView = 8] = + "MMFinderLive_Scene_FeedsStreamView", e))(Pa || {}), + Na = (e => (e[e.Unknown = 0] = "Unknown", e[e.Reward = 1] = "Reward", e[e.GlobalReward = 2] = "GlobalReward", e[e + .FansClub = 4] = "FansClub", e[e.Mysterious = 10] = "Mysterious", e))(Na || {}), + Tr = (e => (e[e.Live_Flag_Start_Live = 1] = "Live_Flag_Start_Live", e[e.Live_Flag_Marketing = 2] = + "Live_Flag_Marketing", e[e.Live_Flag_SupportCloseWait = 4] = "Live_Flag_SupportCloseWait", e[e + .Live_Flag_Partially_Visible = 8] = "Live_Flag_Partially_Visible", e[e.Live_Flag_Support_Light2021 = + 16] = "Live_Flag_Support_Light2021", e[e.Live_Flag_Support_Suspicious_Verification = 32] = + "Live_Flag_Support_Suspicious_Verification", e[e.Live_Flag_Biz_Mode = 64] = "Live_Flag_Biz_Mode", e[e + .Live_Flag_Use_FinderFeed_Replay = 524288] = "Live_Flag_Use_FinderFeed_Replay", e))(Tr || {}), + th = (e => (e[e.MMLiveAnchorSEIUserStatusNotTalking = 1] = "MMLiveAnchorSEIUserStatusNotTalking", e[e + .MMLiveAnchorSEIUserStatusAudioMode = 2] = "MMLiveAnchorSEIUserStatusAudioMode", e[e + .MMLiveAnchorSEIUserStatusScreenSharing = 4] = "MMLiveAnchorSEIUserStatusScreenSharing", e))(th || {}), + Vt = (e => (e[e.FINDER_LIVE_ALIAS_ROLE_TYPE_WECHAT = 1] = "FINDER_LIVE_ALIAS_ROLE_TYPE_WECHAT", e[e + .FINDER_LIVE_ALIAS_ROLE_TYPE_ALIAS = 2] = "FINDER_LIVE_ALIAS_ROLE_TYPE_ALIAS", e[e + .FINDER_LIVE_ALIAS_ROLE_TYPE_FINDER = 3] = "FINDER_LIVE_ALIAS_ROLE_TYPE_FINDER", e[e + .FINDER_LIVE_ALIAS_ROLE_TYPE_UNDEFINED = 4] = "FINDER_LIVE_ALIAS_ROLE_TYPE_UNDEFINED", e))(Vt || {}), + Da = (e => (e[e.PCVideoUserFlag_OverSea = 1] = "PCVideoUserFlag_OverSea", e))(Da || {}), + Ba = (e => (e[e.FinderLiveVideoCodecType_H265 = 1] = "FinderLiveVideoCodecType_H265", e))(Ba || {}), + nh = (e => (e[e.MMFinderLiveBattle_Scope_Anchor = 0] = "MMFinderLiveBattle_Scope_Anchor", e[e + .MMFinderLiveBattle_Scope_Audience = 1] = "MMFinderLiveBattle_Scope_Audience", e[e + .MMFinderLiveBattle_Scope_Audience_Only = 2] = "MMFinderLiveBattle_Scope_Audience_Only", e[e + .MMFinderLiveBattle_Scope_Mix = 3] = "MMFinderLiveBattle_Scope_Mix", e))(nh || {}), + ih = (e => (e[e.MMFinderLiveBattle_Mode_Unkonwn = 0] = "MMFinderLiveBattle_Mode_Unkonwn", e[e + .MMFinderLiveBattle_Mode_Solo = 1] = "MMFinderLiveBattle_Mode_Solo", e[e + .MMFinderLiveBattle_Mode_Teamup = 2] = "MMFinderLiveBattle_Mode_Teamup", e))(ih || {}), + rh = (e => (e[e.SHOW_BOX_ITEM_TYPE_LIMIT_DISCOUNT = 1] = "SHOW_BOX_ITEM_TYPE_LIMIT_DISCOUNT", e[e + .SHOW_BOX_ITEM_TYPE_COUPON = 2] = "SHOW_BOX_ITEM_TYPE_COUPON", e[e.SHOW_BOX_ITEM_TYPE_RECOMMEND_WORD = + 3] = "SHOW_BOX_ITEM_TYPE_RECOMMEND_WORD", e[e.SHOW_BOX_ITEM_TYPE_FRIEND_BUY = 4] = + "SHOW_BOX_ITEM_TYPE_FRIEND_BUY", e[e.SHOW_BOX_ITEM_TYPE_DESC_WORD = 5] = "SHOW_BOX_ITEM_TYPE_DESC_WORD", e[e + .SHOW_BOX_ITEM_TYPE_GUARANTEE_INFO = 6] = "SHOW_BOX_ITEM_TYPE_GUARANTEE_INFO", e[e + .SHOW_BOX_ITEM_TYPE_PICTURE_INFO = 7] = "SHOW_BOX_ITEM_TYPE_PICTURE_INFO", e))(rh || {}), + ja = (e => (e[e.Unknown = 0] = "Unknown", e[e.Audio = 1] = "Audio", e[e.Video = 2] = "Video", e))(ja || {}), + Lr = (e => (e[e.MMFinderLiveSyncExtraInfoCmdID_UpdateCoupon = 1] = "MMFinderLiveSyncExtraInfoCmdID_UpdateCoupon", e[ + e.MMFinderLiveSyncExtraInfoCmdID_UpdateProduct = 2] = "MMFinderLiveSyncExtraInfoCmdID_UpdateProduct", e[ + e.MMFinderLiveSyncExtraInfoCmdID_UpdateBanner = 3] = "MMFinderLiveSyncExtraInfoCmdID_UpdateBanner", e[e + .MMFinderLiveSyncExtraInfoCmdID_UpdateLiveLogo = 11] = "MMFinderLiveSyncExtraInfoCmdID_UpdateLiveLogo", + e[e.MMFinderLiveSyncExtraInfoCmdID_UpdatePromoteInfoStatusWithSeq = 10] = + "MMFinderLiveSyncExtraInfoCmdID_UpdatePromoteInfoStatusWithSeq", e))(Lr || {}), + Ei = (e => (e[e.MMFinder_TemplateInfo_Type_LotteryInfo = 30001] = "MMFinder_TemplateInfo_Type_LotteryInfo", e[e + .MMFinder_TemplateInfo_Type_BattleInfo = 30003] = "MMFinder_TemplateInfo_Type_BattleInfo", e[e + .MMFinder_TemplateInfo_Type_LiveAbnormalClosed = 30004] = + "MMFinder_TemplateInfo_Type_LiveAbnormalClosed", e))(Ei || {}), + zn = (e => (e[e.MMLiveCommonSEIConnectMicUserStatus_NotTalking = 1] = + "MMLiveCommonSEIConnectMicUserStatus_NotTalking", e[e.MMLiveCommonSEIConnectMicUserStatus_AudioMode = 2] = + "MMLiveCommonSEIConnectMicUserStatus_AudioMode", e[e.MMLiveCommonSEIConnectMicUserStatus_IsOtherAnchor = + 4] = "MMLiveCommonSEIConnectMicUserStatus_IsOtherAnchor", e[e + .MMLiveCommonSEIConnectMicUserStatus_IsInOtherRoom = 8] = + "MMLiveCommonSEIConnectMicUserStatus_IsInOtherRoom", e[e + .MMLiveCommonSEIConnectMicUserStatus_IsMicMutedByAnchor = 16] = + "MMLiveCommonSEIConnectMicUserStatus_IsMicMutedByAnchor", e))(zn || {}), + oh = (e => (e[e.IMMLiveSEIMsgMode_Normal = 0] = "IMMLiveSEIMsgMode_Normal", e[e.IMMLiveSEIMsgMode_Focus = 1] = + "IMMLiveSEIMsgMode_Focus", e[e.IMMLiveSEIMsgMode_Occupy = 2] = "IMMLiveSEIMsgMode_Occupy", e[e + .IMMLiveSEIMsgMode_Star = 3] = "IMMLiveSEIMsgMode_Star", e[e.IMMLiveSEIMsgMode_AudiencePK = 4] = + "IMMLiveSEIMsgMode_AudiencePK", e[e.IMMLiveSEIMsgMode_AudienceTeamPK = 5] = + "IMMLiveSEIMsgMode_AudienceTeamPK", e[e.IMMLiveSEIMsgMode_FullScreenPK = 7] = + "IMMLiveSEIMsgMode_FullScreenPK", e))(oh || {}), + Ua = (e => (e[e.MMFinderObjectAsyncLoadInfoScene_LiveReserveInfo = 0] = + "MMFinderObjectAsyncLoadInfoScene_LiveReserveInfo", e[e.MMFinderObjectAsyncLoadInfoScene_LiveInfo = 1] = + "MMFinderObjectAsyncLoadInfoScene_LiveInfo", e[e.MMFinderObjectAsyncLoadInfoScene_AdItemInfo = 2] = + "MMFinderObjectAsyncLoadInfoScene_AdItemInfo", e[e.MMFinderObjectAsyncLoadInfoScene_LiveMicInfo = 3] = + "MMFinderObjectAsyncLoadInfoScene_LiveMicInfo", e[e.MMFinderObjectAsyncLoadInfoScene_AdLeadInfo = 4] = + "MMFinderObjectAsyncLoadInfoScene_AdLeadInfo", e[e.MMFinderObjectAsyncLoadInfoScene_LiveActivityInfo = 5] = + "MMFinderObjectAsyncLoadInfoScene_LiveActivityInfo", e[e + .MMFinderObjectAsyncLoadInfoScene_PurchaseLivePreviewInfo = 6] = + "MMFinderObjectAsyncLoadInfoScene_PurchaseLivePreviewInfo", e[e + .MMFinderObjectAsyncLoadInfoScene_NavLiveSquareLiveInfo = 7] = + "MMFinderObjectAsyncLoadInfoScene_NavLiveSquareLiveInfo", e))(Ua || {}), + Dt = (e => (e[e.MMFinderLiveJumpInfoType_LiveNotice = 1] = "MMFinderLiveJumpInfoType_LiveNotice", e[e + .MMFinderLiveJumpInfoType_MpArticle = 2] = "MMFinderLiveJumpInfoType_MpArticle", e[e + .MMFinderLiveJumpInfoType_WeComContact = 3] = "MMFinderLiveJumpInfoType_WeComContact", e[e + .MMFinderLiveJumpInfoType_Advertisement = 4] = "MMFinderLiveJumpInfoType_Advertisement", e[e + .MMFinderLiveJumpInfoType_Product = 5] = "MMFinderLiveJumpInfoType_Product", e[e + .MMFinderLiveJumpInfoType_Coupon = 6] = "MMFinderLiveJumpInfoType_Coupon", e[e + .MMFinderLiveJumpInfoType_RedPacketCover = 7] = "MMFinderLiveJumpInfoType_RedPacketCover", e[e + .MMFinderLiveJumpInfoType_JumpInfo = 8] = "MMFinderLiveJumpInfoType_JumpInfo", e[e + .MMFinderLiveJumpInfoType_InteractiveGamePermission = 9] = + "MMFinderLiveJumpInfoType_InteractiveGamePermission", e[e.MMFinderLiveJumpInfoType_LiveNoticeCoupon = 10] = + "MMFinderLiveJumpInfoType_LiveNoticeCoupon", e[e.MMFinderLiveJumpInfoType_GamePromote = 11] = + "MMFinderLiveJumpInfoType_GamePromote", e[e.MMFinderLiveJumpInfoType_LeadsComponent = 12] = + "MMFinderLiveJumpInfoType_LeadsComponent", e[e.MMFinderLiveJumpInfoType_ProgrammeList = 13] = + "MMFinderLiveJumpInfoType_ProgrammeList", e))(Dt || {}), + ii = (e => (e[e.FinderAudienceReserveOpType_Reserve = 1] = "FinderAudienceReserveOpType_Reserve", e[e + .FinderAudienceReserveOpType_Unreserve = 2] = "FinderAudienceReserveOpType_Unreserve", e[e + .FinderAudienceReserveOpType_ReserveAll = 3] = "FinderAudienceReserveOpType_ReserveAll", e[e + .FinderAudienceReserveOpType_UnreserveAll = 4] = "FinderAudienceReserveOpType_UnreserveAll", e))(ii || {}), + Kr = (e => (e[e.FinderAudienceReserveLiveScene_FinderProfile = 0] = "FinderAudienceReserveLiveScene_FinderProfile", + e[e.FinderAudienceReserveLive_BizProfile = 1] = "FinderAudienceReserveLive_BizProfile", e[e + .FinderAudienceReserveLive_LiveReserveEvent = 2] = "FinderAudienceReserveLive_LiveReserveEvent", e[e + .FinderAudienceReserveLive_BizProfile_HalfScreen = 3] = + "FinderAudienceReserveLive_BizProfile_HalfScreen", e[e + .FinderAudienceReserveLiveScene_FinderProfile_HalfScreen = 10] = + "FinderAudienceReserveLiveScene_FinderProfile_HalfScreen", e[e.FinderAudienceReserveLiveScene_Feed = 11] = + "FinderAudienceReserveLiveScene_Feed", e[e.FinderAudienceReserveLiveScene_LiveRoom_Promote = 101] = + "FinderAudienceReserveLiveScene_LiveRoom_Promote", e[e.FinderAudienceReserveLiveScene_LiveRoom_LiveEnd = + 102] = "FinderAudienceReserveLiveScene_LiveRoom_LiveEnd", e[e + .FinderAudienceReserveLiveScene_LiveRoom_QuitLive = 103] = + "FinderAudienceReserveLiveScene_LiveRoom_QuitLive", e[e.FinderAudienceReserveLiveScene_MiniProgram = 201] = + "FinderAudienceReserveLiveScene_MiniProgram", e[e.FinderAudienceReserveLiveScene_NavLive = 301] = + "FinderAudienceReserveLiveScene_NavLive", e[e.FinderAudienceReserveLiveScene_NavLive_Notice = 302] = + "FinderAudienceReserveLiveScene_NavLive_Notice", e[e.FinderAudienceReserveLiveScene_Finder_H5 = 401] = + "FinderAudienceReserveLiveScene_Finder_H5", e[e.FinderAudienceReserveLiveScene_Finder_H5_Concert = 402] = + "FinderAudienceReserveLiveScene_Finder_H5_Concert", e[e + .FinderAudienceReserveLiveScene_Finder_H5_PersonalColumn = 403] = + "FinderAudienceReserveLiveScene_Finder_H5_PersonalColumn", e[e + .FinderAudienceReserveLiveScene_Finder_H5_Activity = 404] = + "FinderAudienceReserveLiveScene_Finder_H5_Activity", e[e.FinderAudienceReserveLiveScene_Biz_Stream = 501] = + "FinderAudienceReserveLiveScene_Biz_Stream", e[e.FinderAudienceReserveLiveScene_K1K = 601] = + "FinderAudienceReserveLiveScene_K1K", e[e.FinderAudienceReserveLiveScene_S1S = 701] = + "FinderAudienceReserveLiveScene_S1S", e[e.FinderAudienceReserveLiveScene_GAME = 801] = + "FinderAudienceReserveLiveScene_GAME", e[e.FinderAudienceReserveLiveScene_QRCode_Prompt = 901] = + "FinderAudienceReserveLiveScene_QRCode_Prompt", e[e.FinderAudienceReserveLiveScene_Unknown = 9999999] = + "FinderAudienceReserveLiveScene_Unknown", e))(Kr || {}), + sh = (e => (e[e.BackgroundType_SolidColor = 0] = "BackgroundType_SolidColor", e[e + .BackgroundType_AvatarGaussianBlur = 1] = "BackgroundType_AvatarGaussianBlur", e[e + .BackgroundType_Multicolor = 2] = "BackgroundType_Multicolor", e))(sh || {}), + Cr = (e => (e[e.EnableRewardedAnchorAudience = 1] = "EnableRewardedAnchorAudience", e[e + .EnableFollowedAnchorAudience = 2] = "EnableFollowedAnchorAudience", e[e.EnableBuyProductAudience = 4] = + "EnableBuyProductAudience", e[e.EnableMemberAudience = 8] = "EnableMemberAudience", e[e + .EnableAutoConnectAudience = 16] = "EnableAutoConnectAudience", e[e.EnableAudienceSeatApply = 32] = + "EnableAudienceSeatApply", e[e.EnableAudienceLeaderApply = 64] = "EnableAudienceLeaderApply", e[e + .EnableSuperFansAudience = 128] = "EnableSuperFansAudience", e))(Cr || {}), + Va = (e => (e[e.MMFinderLiveShopWindowItem_Product = 0] = "MMFinderLiveShopWindowItem_Product", e[e + .MMFinderLiveShopWindowItem_Ad = 1] = "MMFinderLiveShopWindowItem_Ad", e[e + .MMFinderLiveShopWindowItem_Coupon = 2] = "MMFinderLiveShopWindowItem_Coupon", e))(Va || {}), + Ha = (e => (e[e.MMFinderLiveFunctionGuideType_FanClub = 1] = "MMFinderLiveFunctionGuideType_FanClub", e[e + .MMFinderLiveFunctionGuideType_Lottery = 2] = "MMFinderLiveFunctionGuideType_Lottery", e[e + .MMFinderLiveFunctionGuideType_Voting = 4] = "MMFinderLiveFunctionGuideType_Voting", e[e + .MMFinderLiveFunctionGuideType_LiveRewardWishList = 8] = + "MMFinderLiveFunctionGuideType_LiveRewardWishList", e[e.MMFinderLiveFunctionGuideType_SongList = 16] = + "MMFinderLiveFunctionGuideType_SongList", e[e.MMFinderLiveFunctionGuideType_KtvGetSongList = 32] = + "MMFinderLiveFunctionGuideType_KtvGetSongList", e[e.MMFinderLiveFunctionGuideType_KtvGetMusicBoard = 64] = + "MMFinderLiveFunctionGuideType_KtvGetMusicBoard", e))(Ha || {}), + $a = (e => (e[e.RequestResourceFlagAtmosphereBg = 1] = "RequestResourceFlagAtmosphereBg", e[e + .RequestResourceFlagReverb = 2] = "RequestResourceFlagReverb", e))($a || {}); +const ah = e => { + let t = ""; + for (let n = 0; n < e.length; n++) t += "%!"(MISSING).concat(e[n].toString(16)); + return decodeURIComponent(t) + }, + ch = e => { + const t = [], + n = e.length; + for (let r = 0; r < n; r++) { + let i = e.charCodeAt(r); + if (i >= 55296 && i <= 56319 && n > r + 1) { + const o = e.charCodeAt(r + 1); + o >= 56320 && o <= 57343 && (i = (i - 55296) * 1024 + o - 56320 + 65536, r += 1) + } + if (i < 128) { + t.push(i); + continue + } + if (i < 2048) { + t.push(i >> 6 | 192), t.push(i & 63 | 128); + continue + } + if (i < 55296 || i >= 57344 && i < 65536) { + t.push(i >> 12 | 224), t.push(i >> 6 & 63 | 128), t.push(i & 63 | 128); + continue + } + if (i >= 65536 && i <= 1114111) { + t.push(i >> 18 | 240), t.push(i >> 12 & 63 | 128), t.push(i >> 6 & 63 | 128), t.push(i & 63 | 128); + continue + } + t.push(239, 191, 189) + } + return new Uint8Array(t).buffer + }, + lh = e => { + let t = e.replace(/-/g, "+").replace(/_/g, "/"); + for (; t.length % !; + (MISSING)) t += "="; + return t + }, + uh = e => e.replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/g, ""), + qa = e => { + const t = window.atob(e), + n = t.length, + r = new Uint8Array(n); + for (let i = 0; i < n; i++) r[i] = t.charCodeAt(i); + return r.buffer + }, + Ga = e => { + let t = ""; + const n = new Uint8Array(e), + r = n.byteLength; + for (let i = 0; i < r; i++) t += String.fromCharCode(n[i]); + return window.btoa(t) + }, + Ce = e => { + try { + const t = qa(e), + n = ah(new Uint8Array(t)); + return JSON.parse(n) + } catch (t) { + return {} + } + }, + wi = e => { + try { + const t = JSON.stringify(e), + n = ch(t); + return Ga(n) + } catch (t) { + return "" + } + }; +var fh = xe, + bt = null; +try { + bt = new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0, 1, 13, 2, 96, 0, + 1, 127, 96, 4, 127, 127, 127, 127, 1, 127, 3, 7, 6, 0, 1, 1, 1, 1, 1, 6, 6, 1, 127, 1, 65, 0, + 11, 7, 50, 6, 3, 109, 117, 108, 0, 1, 5, 100, 105, 118, 95, 115, 0, 2, 5, 100, 105, 118, 95, + 117, 0, 3, 5, 114, 101, 109, 95, 115, 0, 4, 5, 114, 101, 109, 95, 117, 0, 5, 8, 103, 101, 116, + 95, 104, 105, 103, 104, 0, 0, 10, 191, 1, 6, 4, 0, 35, 0, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, + 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 126, 34, 4, 66, 32, 135, 167, + 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, + 3, 173, 66, 32, 134, 132, 127, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, + 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 128, 34, 4, + 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, + 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 129, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, + 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, + 134, 132, 130, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11 + ])), {}).exports +} catch (e) {} + +function xe(e, t, n) { + this.low = e | 0, this.high = t | 0, this.unsigned = !!n +} +xe.prototype.__isLong__; +Object.defineProperty(xe.prototype, "__isLong__", { + value: !0 +}); + +function ut(e) { + return (e && e.__isLong__) === !0 +} +xe.isLong = ut; +var Ko = {}, + Xo = {}; + +function vn(e, t) { + var n, r, i; + return t ? (e >>>= 0, (i = 0 <= e && e < 256) && (r = Xo[e], r) ? r : (n = Re(e, (e | 0) < 0 ? -1 : 0, !0), i && ( + Xo[e] = n), n)) : (e |= 0, (i = -128 <= e && e < 128) && (r = Ko[e], r) ? r : (n = Re(e, e < 0 ? -1 : 0, ! + 1), i && (Ko[e] = n), n)) +} +xe.fromInt = vn; + +function Et(e, t) { + if (isNaN(e)) return t ? pn : wt; + if (t) { + if (e < 0) return pn; + if (e >= Wa) return Ja + } else { + if (e <= -es) return ct; + if (e + 1 >= es) return za + } + return e < 0 ? Et(-e, t).neg() : Re(e % !P(MISSING) n | 0, e / Pn | 0, t) +} +xe.fromNumber = Et; + +function Re(e, t, n) { + return new xe(e, t, n) +} +xe.fromBits = Re; +var Oi = Math.pow; + +function Xr(e, t, n) { + if (e.length === 0) throw Error("empty string"); + if (e === "NaN" || e === "Infinity" || e === "+Infinity" || e === "-Infinity") return wt; + if (typeof t == "number" ? (n = t, t = !1) : t = !!t, n = n || 10, n < 2 || 36 < n) throw RangeError("radix"); + var r; + if ((r = e.indexOf("-")) > 0) throw Error("interior hyphen"); + if (r === 0) return Xr(e.substring(1), t, n).neg(); + for (var i = Et(Oi(n, 8)), o = wt, s = 0; s < e.length; s += 8) { + var a = Math.min(8, e.length - s), + c = parseInt(e.substring(s, s + a), n); + if (a < 8) { + var l = Et(Oi(n, a)); + o = o.mul(l).add(Et(c)) + } else o = o.mul(i), o = o.add(Et(c)) + } + return o.unsigned = t, o +} +xe.fromString = Xr; + +function Ot(e, t) { + return typeof e == "number" ? Et(e, t) : typeof e == "string" ? Xr(e, t) : Re(e.low, e.high, typeof t == "boolean" ? + t : e.unsigned) +} +xe.fromValue = Ot; +var Qo = 65536, + dh = 1 << 24, + Pn = Qo * Qo, + Wa = Pn * Pn, + es = Wa / 2, + ts = vn(dh), + wt = vn(0); +xe.ZERO = wt; +var pn = vn(0, !0); +xe.UZERO = pn; +var An = vn(1); +xe.ONE = An; +var Ya = vn(1, !0); +xe.UONE = Ya; +var Ar = vn(-1); +xe.NEG_ONE = Ar; +var za = Re(-1, 2147483647, !1); +xe.MAX_VALUE = za; +var Ja = Re(-1, -1, !0); +xe.MAX_UNSIGNED_VALUE = Ja; +var ct = Re(0, -2147483648, !1); +xe.MIN_VALUE = ct; +var re = xe.prototype; +re.toInt = function() { + return this.unsigned ? this.low >>> 0 : this.low +}; +re.toNumber = function() { + return this.unsigned ? (this.high >>> 0) * Pn + (this.low >>> 0) : this.high * Pn + (this.low >>> 0) +}; +re.toString = function(t) { + if (t = t || 10, t < 2 || 36 < t) throw RangeError("radix"); + if (this.isZero()) return "0"; + if (this.isNegative()) + if (this.eq(ct)) { + var n = Et(t), + r = this.div(n), + i = r.mul(n).sub(this); + return r.toString(t) + i.toInt().toString(t) + } else return "-" + this.neg().toString(t); + for (var o = Et(Oi(t, 6), this.unsigned), s = this, a = "";;) { + var c = s.div(o), + l = s.sub(c.mul(o)).toInt() >>> 0, + u = l.toString(t); + if (s = c, s.isZero()) return u + a; + for (; u.length < 6;) u = "0" + u; + a = "" + u + a + } +}; +re.getHighBits = function() { + return this.high +}; +re.getHighBitsUnsigned = function() { + return this.high >>> 0 +}; +re.getLowBits = function() { + return this.low +}; +re.getLowBitsUnsigned = function() { + return this.low >>> 0 +}; +re.getNumBitsAbs = function() { + if (this.isNegative()) return this.eq(ct) ? 64 : this.neg().getNumBitsAbs(); + for (var t = this.high != 0 ? this.high : this.low, n = 31; n > 0 && !(t & 1 << n); n--); + return this.high != 0 ? n + 33 : n + 1 +}; +re.isZero = function() { + return this.high === 0 && this.low === 0 +}; +re.eqz = re.isZero; +re.isNegative = function() { + return !this.unsigned && this.high < 0 +}; +re.isPositive = function() { + return this.unsigned || this.high >= 0 +}; +re.isOdd = function() { + return (this.low & 1) === 1 +}; +re.isEven = function() { + return (this.low & 1) === 0 +}; +re.equals = function(t) { + return ut(t) || (t = Ot(t)), this.unsigned !== t.unsigned && this.high >>> 31 === 1 && t.high >>> 31 === 1 ? ! + 1 : this.high === t.high && this.low === t.low +}; +re.eq = re.equals; +re.notEquals = function(t) { + return !this.eq(t) +}; +re.neq = re.notEquals; +re.ne = re.notEquals; +re.lessThan = function(t) { + return this.comp(t) < 0 +}; +re.lt = re.lessThan; +re.lessThanOrEqual = function(t) { + return this.comp(t) <= 0 +}; +re.lte = re.lessThanOrEqual; +re.le = re.lessThanOrEqual; +re.greaterThan = function(t) { + return this.comp(t) > 0 +}; +re.gt = re.greaterThan; +re.greaterThanOrEqual = function(t) { + return this.comp(t) >= 0 +}; +re.gte = re.greaterThanOrEqual; +re.ge = re.greaterThanOrEqual; +re.compare = function(t) { + if (ut(t) || (t = Ot(t)), this.eq(t)) return 0; + var n = this.isNegative(), + r = t.isNegative(); + return n && !r ? -1 : !n && r ? 1 : this.unsigned ? t.high >>> 0 > this.high >>> 0 || t.high === this.high && t + .low >>> 0 > this.low >>> 0 ? -1 : 1 : this.sub(t).isNegative() ? -1 : 1 +}; +re.comp = re.compare; +re.negate = function() { + return !this.unsigned && this.eq(ct) ? ct : this.not().add(An) +}; +re.neg = re.negate; +re.add = function(t) { + ut(t) || (t = Ot(t)); + var n = this.high >>> 16, + r = this.high & 65535, + i = this.low >>> 16, + o = this.low & 65535, + s = t.high >>> 16, + a = t.high & 65535, + c = t.low >>> 16, + l = t.low & 65535, + u = 0, + f = 0, + d = 0, + h = 0; + return h += o + l, d += h >>> 16, h &= 65535, d += i + c, f += d >>> 16, d &= 65535, f += r + a, u += f >>> 16, + f &= 65535, u += n + s, u &= 65535, Re(d << 16 | h, u << 16 | f, this.unsigned) +}; +re.subtract = function(t) { + return ut(t) || (t = Ot(t)), this.add(t.neg()) +}; +re.sub = re.subtract; +re.multiply = function(t) { + if (this.isZero()) return wt; + if (ut(t) || (t = Ot(t)), bt) { + var n = bt.mul(this.low, this.high, t.low, t.high); + return Re(n, bt.get_high(), this.unsigned) + } + if (t.isZero()) return wt; + if (this.eq(ct)) return t.isOdd() ? ct : wt; + if (t.eq(ct)) return this.isOdd() ? ct : wt; + if (this.isNegative()) return t.isNegative() ? this.neg().mul(t.neg()) : this.neg().mul(t).neg(); + if (t.isNegative()) return this.mul(t.neg()).neg(); + if (this.lt(ts) && t.lt(ts)) return Et(this.toNumber() * t.toNumber(), this.unsigned); + var r = this.high >>> 16, + i = this.high & 65535, + o = this.low >>> 16, + s = this.low & 65535, + a = t.high >>> 16, + c = t.high & 65535, + l = t.low >>> 16, + u = t.low & 65535, + f = 0, + d = 0, + h = 0, + p = 0; + return p += s * u, h += p >>> 16, p &= 65535, h += o * u, d += h >>> 16, h &= 65535, h += s * l, d += h >>> 16, + h &= 65535, d += i * u, f += d >>> 16, d &= 65535, d += o * l, f += d >>> 16, d &= 65535, d += s * c, f += + d >>> 16, d &= 65535, f += r * u + i * l + o * c + s * a, f &= 65535, Re(h << 16 | p, f << 16 | d, this + .unsigned) +}; +re.mul = re.multiply; +re.divide = function(t) { + if (ut(t) || (t = Ot(t)), t.isZero()) throw Error("division by zero"); + if (bt) { + if (!this.unsigned && this.high === -2147483648 && t.low === -1 && t.high === -1) return this; + var n = (this.unsigned ? bt.div_u : bt.div_s)(this.low, this.high, t.low, t.high); + return Re(n, bt.get_high(), this.unsigned) + } + if (this.isZero()) return this.unsigned ? pn : wt; + var r, i, o; + if (this.unsigned) { + if (t.unsigned || (t = t.toUnsigned()), t.gt(this)) return pn; + if (t.gt(this.shru(1))) return Ya; + o = pn + } else { + if (this.eq(ct)) { + if (t.eq(An) || t.eq(Ar)) return ct; + if (t.eq(ct)) return An; + var s = this.shr(1); + return r = s.div(t).shl(1), r.eq(wt) ? t.isNegative() ? An : Ar : (i = this.sub(t.mul(r)), o = r.add(i + .div(t)), o) + } else if (t.eq(ct)) return this.unsigned ? pn : wt; + if (this.isNegative()) return t.isNegative() ? this.neg().div(t.neg()) : this.neg().div(t).neg(); + if (t.isNegative()) return this.div(t.neg()).neg(); + o = wt + } + for (i = this; i.gte(t);) { + r = Math.max(1, Math.floor(i.toNumber() / t.toNumber())); + for (var a = Math.ceil(Math.log(r) / Math.LN2), c = a <= 48 ? 1 : Oi(2, a - 48), l = Et(r), u = l.mul(t); u + .isNegative() || u.gt(i);) r -= c, l = Et(r, this.unsigned), u = l.mul(t); + l.isZero() && (l = An), o = o.add(l), i = i.sub(u) + } + return o +}; +re.div = re.divide; +re.modulo = function(t) { + if (ut(t) || (t = Ot(t)), bt) { + var n = (this.unsigned ? bt.rem_u : bt.rem_s)(this.low, this.high, t.low, t.high); + return Re(n, bt.get_high(), this.unsigned) + } + return this.sub(this.div(t).mul(t)) +}; +re.mod = re.modulo; +re.rem = re.modulo; +re.not = function() { + return Re(~this.low, ~this.high, this.unsigned) +}; +re.and = function(t) { + return ut(t) || (t = Ot(t)), Re(this.low & t.low, this.high & t.high, this.unsigned) +}; +re.or = function(t) { + return ut(t) || (t = Ot(t)), Re(this.low | t.low, this.high | t.high, this.unsigned) +}; +re.xor = function(t) { + return ut(t) || (t = Ot(t)), Re(this.low ^ t.low, this.high ^ t.high, this.unsigned) +}; +re.shiftLeft = function(t) { + return ut(t) && (t = t.toInt()), (t &= 63) === 0 ? this : t < 32 ? Re(this.low << t, this.high << t | this + .low >>> 32 - t, this.unsigned) : Re(0, this.low << t - 32, this.unsigned) +}; +re.shl = re.shiftLeft; +re.shiftRight = function(t) { + return ut(t) && (t = t.toInt()), (t &= 63) === 0 ? this : t < 32 ? Re(this.low >>> t | this.high << 32 - t, this + .high >> t, this.unsigned) : Re(this.high >> t - 32, this.high >= 0 ? 0 : -1, this.unsigned) +}; +re.shr = re.shiftRight; +re.shiftRightUnsigned = function(t) { + if (ut(t) && (t = t.toInt()), t &= 63, t === 0) return this; + var n = this.high; + if (t < 32) { + var r = this.low; + return Re(r >>> t | n << 32 - t, n >>> t, this.unsigned) + } else return t === 32 ? Re(n, 0, this.unsigned) : Re(n >>> t - 32, 0, this.unsigned) +}; +re.shru = re.shiftRightUnsigned; +re.shr_u = re.shiftRightUnsigned; +re.toSigned = function() { + return this.unsigned ? Re(this.low, this.high, !1) : this +}; +re.toUnsigned = function() { + return this.unsigned ? this : Re(this.low, this.high, !0) +}; +re.toBytes = function(t) { + return t ? this.toBytesLE() : this.toBytesBE() +}; +re.toBytesLE = function() { + var t = this.high, + n = this.low; + return [n & 255, n >>> 8 & 255, n >>> 16 & 255, n >>> 24, t & 255, t >>> 8 & 255, t >>> 16 & 255, t >>> 24] +}; +re.toBytesBE = function() { + var t = this.high, + n = this.low; + return [t >>> 24, t >>> 16 & 255, t >>> 8 & 255, t & 255, n >>> 24, n >>> 16 & 255, n >>> 8 & 255, n & 255] +}; +xe.fromBytes = function(t, n, r) { + return r ? xe.fromBytesLE(t, n) : xe.fromBytesBE(t, n) +}; +xe.fromBytesLE = function(t, n) { + return new xe(t[0] | t[1] << 8 | t[2] << 16 | t[3] << 24, t[4] | t[5] << 8 | t[6] << 16 | t[7] << 24, n) +}; +xe.fromBytesBE = function(t, n) { + return new xe(t[4] << 24 | t[5] << 16 | t[6] << 8 | t[7], t[0] << 24 | t[1] << 16 | t[2] << 8 | t[3], n) +}; +const Za = Nn(fh), + Xp = e => { + try { + const n = Za.fromString(e).toBytes(), + r = Ga(n); + return uh(r) + } catch (t) { + return "" + } + }, + Fi = e => { + try { + const t = lh(e), + n = qa(t), + r = new Uint8Array(n), + i = Array.from(r); + return Za.fromBytes(i).toUnsigned().toString() + } catch (t) { + return "" + } + }; +class ns { + constructor(t) { + E(this, "maxLen"); + E(this, "data"); + E(this, "enqueue", t => { + let n = [...this.data]; + if (t.length) + if (t.length >= this.maxLen) n = [...t.slice(0, this.maxLen)]; + else { + const r = n.length + t.length; + r > this.maxLen ? n = n.slice(r - this.maxLen).concat(t) : n = n.concat(t) + } this.data = n + }); + E(this, "dequeue", () => { + let t; + return this.data.length && ([t] = this.data, this.data = this.data.slice(1)), t + }); + this.maxLen = t, this.data = [] + } +} +const hh = Bn("shop", () => { + const e = K({}); + return { + getProduct: o => e.value[o], + getProducts: o => o.map(s => e.value[s]).filter(s => s), + addProduct: o => { + if (o.productId) return e.value[o.productId] = o, o + }, + clearProducts: () => { + e.value = {} + } + } +}); +var ph = Object.defineProperty, + mh = Object.getOwnPropertyDescriptor, + R = (e, t, n, r) => { + for (var i = r > 1 ? void 0 : r ? mh(t, n) : t, o = e.length - 1, s; o >= 0; o--)(s = e[o]) && (i = (r ? s(t, n, + i) : s(i)) || i); + return r && i && ph(t, n, i), i + }; +let x = class extends ks { + constructor() { + super(...arguments); + E(this, "live", null); + E(this, "liveStatus", 0); + E(this, "streamUrl", ""); + E(this, "liveModeInfo", {}); + E(this, "showFollowButton", !1); + E(this, "counts", { + newLikeCnt: 0, + likeCnt: 0, + rewardTotalAmountInHeat: 0 + }); + E(this, "curParticipantCount", 0); + E(this, "curOnlineCount", 0); + E(this, "liveCookies", ""); + E(this, "partiallyVisible", !1); + E(this, "commentListStore", []); + E(this, "computeList", []); + E(this, "joinQueue", new ns(100)); + E(this, "currentJoin", {}); + E(this, "joinCount", 0); + E(this, "topCommentQueue", new ns(50)); + E(this, "currentTopComment", {}); + E(this, "topCommentCount", 0); + E(this, "computedCount", []); + E(this, "liveExtFlag", null); + E(this, "noPermmison", !1); + E(this, "getLiveMsgLastResult", !0); + E(this, "myAccount", {}); + E(this, "myBadgeInfos", []); + E(this, "aliasInfo", []); + E(this, "currentAlias", {}); + E(this, "myWxUsername", ""); + E(this, "mandatoryReplaceInfo", null); + E(this, "fullTagInfo", {}); + E(this, "lastTagInfo", {}); + E(this, "anchorStatus", 0); + E(this, "seiConnectMode", 0); + E(this, "anchorSeiSize", {}); + E(this, "seiConnectHl", []); + E(this, "seiConnectGl", []); + E(this, "seiDisabled", !0); + E(this, "myUserStatus", 0); + E(this, "errMsg", { + title: "", + desc: "" + }); + E(this, "hideMessage", !1); + E(this, "isAnchorEnterBackground", !1); + E(this, "isEnableReward", null); + E(this, "isEnableAudioMode", null); + E(this, "isEnableConnectMic", null); + E(this, "isEnableCrossLiveRoomMic", null); + E(this, "isEnableAutoConnectAudience", null); + E(this, "isDisableLikeLive", !1); + E(this, "isEnableShop", !1); + E(this, "anchorUserStatus", 0); + E(this, "micPkInfo", null); + E(this, "newPkMicInfos", []); + E(this, "waitReply", !1); + E(this, "globalCommentState", 0); + E(this, "userCommentState", 0); + E(this, "finishNum", { + liveDurationSeconds: 0, + liveAudiencesNum: 0, + liveBeLikedNum: 0, + liveNewFansNum: 0 + }); + E(this, "localMsgFilter", {}); + E(this, "liveContacts", []); + E(this, "isShowLayerInfo", !1); + E(this, "pauseTime", 0); + E(this, "pauseWording", ""); + E(this, "isAnchorPK", !1); + E(this, "connectList", []); + E(this, "connectSeiList", []); + E(this, "connectListShow", []); + E(this, "lastSeiTime", 0); + E(this, "liveSdkInfo", {}); + E(this, "cdnTransInfo", []); + E(this, "chosenCdnUrl", ""); + E(this, "svrChosenCdnUrl", ""); + E(this, "fontgear", 2); + E(this, "getLiveMsgReady", !1); + E(this, "joinLiveReady", !1); + E(this, "templateInfo", { + title: "鐩存挱宸茬粨鏉�", + wording: "" + }); + E(this, "battleInfo", {}); + E(this, "lotteryInfo", { + id: "", + remainTime: 0, + beginTime: 0, + endTime: 0, + lotteryStatus: 0 + }); + E(this, "promoteInfo", {}); + E(this, "liveNoticeCardInfo", {}); + E(this, "liveCurrentProductInfo", {}); + E(this, "liveShopShelfInfoReqTime", 0); + E(this, "liveShopShelfInfo", {}); + E(this, "isShowShopPopover", !1); + E(this, "syncPromoteTimer", 0); + E(this, "bizUserInfo", { + bizNickname: "", + bizUsername: "" + }); + E(this, "isBizMode", !1); + E(this, "livemsgCover", ""); + E(this, "isConnectVideoSize", !1); + E(this, "cheerInfo", {}); + E(this, "seatConfig", null); + E(this, "liveRoomVoiceLiveImg", ""); + E(this, "anchorInviteMicWithAudience", {}); + E(this, "applyMicStatus", 0); + E(this, "applyMicSdkInfo", {}); + E(this, "applyMicSessionId", ""); + E(this, "applyMicLocalCloseWaiting", !1); + E(this, "connectTrtcSdkList", []); + E(this, "applyType", ja.Video); + E(this, "userCameras", []); + E(this, "userMicrophones", []); + E(this, "currentCameraId", ""); + E(this, "currentMicrophonesId", ""); + E(this, "applyMicMuted", !1); + E(this, "applyMicAudioLevel", 0); + E(this, "isOtherDeviceConnecting", !1); + E(this, "minorMessageCount", 0); + E(this, "clientConfig", { + refreshCommentSizePerTimeIos: 1, + hasSpeedCache: !0 + }); + E(this, "finderLogo", []); + E(this, "brandLogo", []); + E(this, "bodyStyleClass", "normal"); + E(this, "isFullScreen", !1); + E(this, "isSidebarBreak", !1); + E(this, "bigRewardList", []); + E(this, "micAudienceList", []); + E(this, "giftList", []); + E(this, "ktvRoomQrcode", ""); + E(this, "ktvSeiData", null); + E(this, "isXweblayerFailed", !1); + E(this, "localFollowed", !1); + E(this, "lastJoinLiveTime", 0); + E(this, "isGetLiveMsgPaused", !1); + E(this, "isSwitchingIdentity", !1); + E(this, "hasReportedLiveStartPlaying", !1); + E(this, "lastStartPlayingTime", 0); + E(this, "wxworkContext", ""); + E(this, "renderReplayUrl", ""); + E(this, "endLiveInfo", {}); + E(this, "relatedList", []); + E(this, "relatedLastBuffer", ""); + E(this, "relatedPlaceholder", !0); + E(this, "showRelatedList", !0); + E(this, "isRelatedLoading", !1) + } + get isAnchor() { + var t, n, r; + return ((t = this.myAccount) == null ? void 0 : t.username) === ((r = (n = this.live) == null ? void 0 : + n.contact) == null ? void 0 : r.username) + } + get canComment() { + return !this.globalCommentState && !this.userCommentState + } + get coverImgUrl() { + var r, i, o, s, a, c, l, u, f; + const t = ((o = (i = (r = this.live) == null ? void 0 : r.objectDesc) == null ? void 0 : i.media) == + null ? void 0 : o.length) && ((a = (s = this.live) == null ? void 0 : s.objectDesc) == null ? + void 0 : a.media[0].thumbUrl), + n = this.liveRoomVoiceLiveImg || this.livemsgCover || t || ((l = (c = this.live) == null ? void 0 : + c.contact) == null ? void 0 : l.liveCoverImgUrl) || ((f = (u = this.live) == null ? void 0 : u + .contact) == null ? void 0 : f.headUrl) || ""; + return Je(n) + } + get isConnecting() { + return this.connectList.length > 0 + } + get isVoiceRoom() { + var t; + return ((t = this.liveModeInfo) == null ? void 0 : t.liveMode) === bi.FinderLiveMode_Voice + } + get isMultiVoiceRoom() { + var t; + return !!(this.isVoiceRoom && ((t = this.liveModeInfo) == null ? void 0 : t.liveSubMode) === wr + .FinderLiveVoiceSubMode_MultiVoiceRoom) + } + get isKtvRoom() { + var t; + return !!(this.isVoiceRoom && ((t = this.liveModeInfo) == null ? void 0 : t.liveSubMode) === wr + .FinderLiveVoiceSubMode_Ktv) + } + get canRotate() { + return !this.isConnecting && !this.isEnableAudioMode && !this.seiConnectMode && !this.isVoiceRoom + } + get fontgearClass() { + return this.fontgear ? "fontgear_".concat(this.fontgear) : "" + } + get zoomSize() { + switch (this.fontgear) { + case 1: + return .8; + case 2: + return 1; + case 3: + return 1.2; + case 4: + return 1.4; + case 5: + return 1.6; + case 6: + return 1.8; + default: + return 1 + } + } + get currentStreamUrl() { + return this.chosenCdnUrl || this.svrChosenCdnUrl || this.streamUrl || "" + } + get isShowFollowBtn() { + return this.showFollowButton && !this.localFollowed + } + get isSmallWindow() { + return this.isShowFollowBtn && this.bodyStyleClass === "samll" || this.bodyStyleClass === "overflow" + } + get isUserHideIdentity() { + return !!this.myBadgeInfos.find(n => n.badgeType === Na.Mysterious) + } + get isMutedByAnchor() { + return (this.myUserStatus & zn.MMLiveCommonSEIConnectMicUserStatus_IsMicMutedByAnchor) === zn + .MMLiveCommonSEIConnectMicUserStatus_IsMicMutedByAnchor + } + SET_BODY_STYLE(t) { + this.bodyStyleClass = t + } + setBodyStyle(t) { + this.SET_BODY_STYLE(t) + } + SET_SIDEBAR_BREAK(t) { + this.isSidebarBreak = t + } + setSidebarBreak(t) { + this.SET_SIDEBAR_BREAK(t) + } + SET_FULLSCREEN(t) { + this.isFullScreen = t + } + setFullscreen(t) { + this.SET_FULLSCREEN(t) + } + SET_LOCAL_FOLLOWED(t) { + this.localFollowed = t + } + setLocalFollowed(t) { + this.SET_LOCAL_FOLLOWED(t) + } + SET_FOLLOWBUTTON(t) { + this.showFollowButton = t + } + SET_LIVE(t) { + this.live = new at(t) + } + SET_LIVE_STATUS(t) { + t != null && t.liveStatus && (this.liveStatus = t == null ? void 0 : t.liveStatus) + } + SET_ERR_MSG(t) { + this.errMsg.title = t.title, this.errMsg.desc = t.desc + } + SET_NO_PERMISSION(t) { + this.noPermmison = t + } + SET_STREAM_URL(t) { + var r; + const n = (r = t == null ? void 0 : t.streamUrl) == null ? void 0 : r.replace(/^http:\/\//, "https://"); + this.streamUrl = n + } + SET_LIVE_MODE_INFO(t) { + this.liveModeInfo = t + } + SET_LIVE_FLAG(t) { + (t & Tr.Live_Flag_Partially_Visible) === Tr.Live_Flag_Partially_Visible ? this.partiallyVisible = !0 : + this.partiallyVisible = !1 + } + SET_COUNT(t) { + const n = { + ...this.counts + }; + if (t != null && t.likeCnt && n.likeCnt && t.likeCnt > n.likeCnt) { + const s = t.likeCnt - n.likeCnt; + Object.assign(n, { + newLikeCnt: s + }) + } + const r = t != null && t.likeCnt && t.likeCnt > n.likeCnt ? t.likeCnt : n.likeCnt, + i = (t == null ? void 0 : t.liveHeatValue) || null, + o = (t == null ? void 0 : t.participantCount) || null; + Object.assign(n, { + likeCnt: r, + rewardTotalAmountInHeat: i, + participantCount: o + }), this.counts = n + } + ADD_LOCAL_COUNT(t) { + this.counts.likeCnt += t + } + SET_COUNT_PARTICI(t) { + t && (this.curParticipantCount = t) + } + SET_COUNT_ONLINE(t) { + t && (this.curOnlineCount = t) + } + SET_LAST_LIVEMSG(t) { + this.getLiveMsgLastResult = t + } + SET_LIVECOOKIE(t) { + this.liveCookies = t + } + SET_LIVEEXTFLAG(t) { + this.liveExtFlag = t + } + SET_HIDE_MESSAGE(t) { + this.hideMessage = t + } + SET_ANCHOR_ENTER_BG(t) { + this.isAnchorEnterBackground = t + } + SET_ENABLE_REWARD(t) { + this.isEnableReward = t + } + SET_ENABLE_AUDIO(t) { + this.isEnableAudioMode = t + } + SET_ENABLE_CONNECT_MIC(t) { + this.isEnableConnectMic = t + } + SET_DISABLED_LIKELIVE(t) { + this.isDisableLikeLive = t + } + SET_ENABLE_SHOP(t) { + this.isEnableShop = t + } + SET_SHOW_LAYER_INFO(t) { + this.isShowLayerInfo = t + } + SET_PAUSE_TIME(t) { + this.pauseTime = t + } + SET_PAUSE_WRD(t) { + this.pauseWording = t + } + SET_BIGREWARD_LIST(t) { + this.bigRewardList.push(t) + } + SPLICE_BIGREWARD_LIST() { + this.bigRewardList.splice(0, 1) + } + UPDATE_COMMENT(t) { + if (this.computeList.length) return; + const { + commentListStore: n + } = this; + if (n.length) { + const r = !!(t && n.length > t); + let i = []; + r ? (i = n.slice(0, t), this.commentListStore = n.slice(t)) : (i = n.slice(0), this + .commentListStore = []), i.forEach(o => { + o.isMinor && (this.minorMessageCount -= 1) + }), this.computeList = i + } + } + CLEAR_COMPUTE_LIST() { + this.computeList = [] + } + CLEAR_COMMENT_LIST_STORE() { + this.commentListStore = [] + } + SET_COMMENT_STORE(t) { + if (t.length) + for (const n of t) n != null && n.isMinor ? this.minorMessageCount <= 100 && (this + .minorMessageCount += 1, this.commentListStore.push(n)) : this.commentListStore.push(n) + } + SET_LOCAL_COMENT_STORE(t) { + this.commentListStore = t.concat(this.commentListStore) + } + UPDATE_JOIN(t) { + this.joinQueue.enqueue(t), this.joinCount = this.joinQueue.data.length + } + UPDATE_TOP_COMMENT(t) { + this.topCommentQueue.enqueue(t), this.topCommentCount = this.topCommentQueue.data.length + } + GET_CURRENT_TOPCOMMENT() { + this.currentTopComment = this.topCommentQueue.dequeue(), this.topCommentCount = this.topCommentQueue + .data.length + } + GET_CURRENT_JOIN() { + this.currentJoin = this.joinQueue.dequeue(), this.joinCount = this.joinQueue.data.length + } + SET_MY_ACCOUNT(t) { + this.myAccount = t + } + SET_MY_ALIAS({ + currentAliasRoleType: t, + aliasInfo: n + }) { + var i, o; + let r = t; + this.isAnchor && (r = Vt.FINDER_LIVE_ALIAS_ROLE_TYPE_FINDER), (i = this.mandatoryReplaceInfo) != null && + i.isUseMandatoryRoleType && ((o = this.mandatoryReplaceInfo) != null && o.aliasRoleType) && ({ + aliasRoleType: r + } = this.mandatoryReplaceInfo), this.aliasInfo = [...(n == null ? void 0 : n.map(s => ({ + ...s, + headImgUrl: Je(s.headImgUrl || "") + }))) || []], r !== void 0 && (this.aliasInfo.forEach(s => { + var a, c; + s.roleType === r && (this.currentAlias = s, r === Vt + .FINDER_LIVE_ALIAS_ROLE_TYPE_FINDER ? this.currentAlias.username = (a = this + .myAccount) == null ? void 0 : a.username : this.currentAlias.username = + this.myWxUsername, (c = this.mandatoryReplaceInfo) != null && c + .displayNickname && (this.currentAlias.nickname = this.mandatoryReplaceInfo + .displayNickname)) + }), ke.setFinderBaseReq({ + liveIdentity: r + })) + } + SET_MY_WX_USERNAME(t) { + this.myWxUsername = t + } + SET_BADGE_INFO(t) { + this.myBadgeInfos = t + } + SET_REPLY_WAITING(t) { + this.waitReply = t + } + SET_GLOBAL_COMMENT_STATE(t) { + this.globalCommentState = t + } + SET_USER_COMMENT_STATE(t) { + this.userCommentState = t + } + SET_SDK_INFO(t) { + var l; + this.liveSdkInfo = t; + const n = Ce(this.liveSdkInfo.sdkParams), + { + channel_params: r + } = n, + { + cdn_quality_svrcfg: i, + cdn_quality_h265backcfg: o, + cdn_trans_info: s + } = r, + a = uc.isSupportH265, + c = s.find(u => u.quality_tag === (a ? i : o)); + c != null && c.url && (this.svrChosenCdnUrl = (l = c.url) == null ? void 0 : l.replace(/^http:\/\//, + "https://")) + } + SET_CHEER_INFO(t) { + this.cheerInfo = t + } + SET_LIVEROOM_IMG(t) { + var n; + t.voiceLiveImg && (this.liveRoomVoiceLiveImg = t.voiceLiveImg, (n = this.live) != null && n.contact && ( + this.live.contact.liveRoomImg = t)) + } + SET_ANCHOR_INVITE_MIC_WITH_AUDIENCE(t) { + this.anchorInviteMicWithAudience = t + } + CLEAR_PROMOTE_POP() { + this.promoteInfo = {}, this.liveCurrentProductInfo = {}, this.liveNoticeCardInfo = {} + } + SET_PROMOTE_TIMER(t) { + this.syncPromoteTimer = t + } + SET_PROMOTE_INFO(t) { + this.promoteInfo = t + } + SET_CURRENT_PRODUCT_INFO(t) { + this.liveCurrentProductInfo = t; + try { + const n = Pe(Ce(t == null ? void 0 : t.promoteInfoBuffer)); + n != null && n.productId && (this.liveCurrentProductInfo.productInfo = n) + } catch (n) { + this.liveCurrentProductInfo.productInfo = null + } + } + SET_LIVE_NOTICE_CARD(t) { + this.liveNoticeCardInfo = t; + try { + const n = Pe(Ce(t == null ? void 0 : t.promoteInfoBuffer)); + this.liveNoticeCardInfo.promoteInfo = n + } catch (n) { + this.liveNoticeCardInfo.promoteInfo = null + } + } + SET_LIVE_RESERVE_STATUS(t) { + this.liveNoticeCardInfo.promoteInfo && (this.liveNoticeCardInfo.promoteInfo.status = t) + } + SET_MANDATORY(t) { + this.mandatoryReplaceInfo = t + } + SET_LOCAL_FILTER(t) { + const n = t.localClientMsgId; + this.localMsgFilter[n] = t + } + SET_APPLY_TYPE(t) { + this.applyType = t + } + SET_APPLY_MIC_MUTED(t) { + this.applyMicMuted = t + } + SET_DEVICES(t) { + var n, r; + this.userCameras = ((n = t == null ? void 0 : t.cameras) == null ? void 0 : n.length) && Go(t == null ? + void 0 : t.cameras, "deviceId") || [], this.userMicrophones = ((r = t == null ? void 0 : t + .microphones) == null ? void 0 : r.length) && Go(t.microphones, "deviceId") || [] + } + SET_CURRENT_DEVICES(t) { + t != null && t.cameras && (this.currentCameraId = t == null ? void 0 : t.cameras), t != null && t + .microphones && (this.currentMicrophonesId = t == null ? void 0 : t.microphones) + } + SET_APPLYMIC_INFO(t) { + this.applyMicStatus === 1 && (this.applyMicStatus = 2, t && (this.applyMicSdkInfo = t)) + } + UPDATE_APPLYMIC_INFO(t) { + this.applyMicStatus === 3 ? this.applyMicStatus = 4 : t && (this.applyMicSdkInfo = t) + } + SET_CLOSEMIC_INFO() { + var t; + this.applyMicStatus === 2 && (((t = this.liveModeInfo) == null ? void 0 : t.liveMode) === bi + .FinderLiveMode_Voice ? (this.applyMicStatus = 0, this.applyMicLocalCloseWaiting = !0) : this + .applyMicStatus = 3), this.applyMicSdkInfo = {}, this.applyMicSessionId = "" + } + SET_APPLYMIC_SESSION(t) { + this.applyMicSessionId = t + } + SET_APPLY_STATUS_WAITING() { + this.applyMicStatus = 1 + } + SET_APPLY_STATUS_INIT() { + this.applyMicStatus = 0 + } + RESET_APPLY_STATUS_WAITING() { + this.applyMicStatus === 3 && (this.applyMicStatus = 0) + } + SET_APPLYMIC_AUDIO_LEVEL(t) { + this.applyMicAudioLevel = t + } + TRTC_ADD_USER(t) { + const n = this.connectTrtcSdkList.findIndex(r => r.userId === t.userId); + n < 0 ? this.connectTrtcSdkList.push(t) : t.useVideo && this.connectTrtcSdkList.splice(n, 1, t) + } + TRTC_REMOVE_USER(t) { + const n = this.connectTrtcSdkList.findIndex(r => r.userId === t); + n > -1 && this.connectTrtcSdkList.splice(n, 1) + } + TRTC_UPDATE_STATUS(t) { + const n = this.connectTrtcSdkList.find(r => r.userId === t.userId); + n && Object.assign(n, t) + } + SET_ONLINE_CONTACTS(t) { + this.liveContacts = t + } + SET_ANCHOR_PK(t) { + this.isAnchorPK = t + } + SET_CROSSMIC(t) { + this.isEnableCrossLiveRoomMic = t + } + SET_PK_INFO(t) { + this.micPkInfo = t + } + SET_NEW_PK_INFOS(t) { + t.forEach(n => { + const r = n.sdkUserId || n.micSdkUserId, + i = this.newPkMicInfos.findIndex(o => (o.sdkUserId || o.micSdkUserId) === r); + i > -1 ? this.newPkMicInfos.splice(i, 1, n) : this.newPkMicInfos.push(n) + }) + } + SET_CONNECT_USERLIST(t) { + const n = this.applyMicSdkInfo.sdkUserId || this.liveSdkInfo.sdkUserId; + (t.micSdkUserId || t.sdkUserId) === n && (this.applyMicStatus === 0 && (this.isOtherDeviceConnecting = ! + 0), this.applyMicStatus === 3 && (this.applyMicStatus = 0, this.isOtherDeviceConnecting = ! + 0)); + const i = this.connectList.findIndex(o => { + const s = o.sdkUserId || o.micSdkUserId; + return s && (s === t.sdkUserId || s === t.micSdkUserId) + }); + i > -1 ? this.connectList.splice(i, 1, t) : this.connectList.push(t) + } + RESET_CONNECT_USERLIST(t) { + this.connectList = t + } + REMOVE_OTHER_DEVICE_CONNECT() { + this.isOtherDeviceConnecting = !1 + } + REMOVE_CONNECT_USERLIST(t) { + const n = this.applyMicSdkInfo.sdkUserId || this.liveSdkInfo.sdkUserId; + t === n && this.applyMicStatus === 0 && (this.isOtherDeviceConnecting = !1), this.connectList.forEach(( + r, i) => { + (r.seq === t || r.micSeq === t || r.micSdkUserId === t || r.userId === t || r.sdkUserId === + t) && this.connectList.splice(i, 1) + }) + } + CLEAT_CONNECT_LIST() { + this.connectSeiList = [], this.battleInfo = {} + } + RESET_SEI_INFO() { + var t; + this.seiConnectMode = 0, this.myUserStatus = 0, this.connectSeiList = [], this.seiConnectHl = [], ((t = + this.liveModeInfo) == null ? void 0 : t.liveMode) !== bi.FinderLiveMode_Voice && (this + .anchorSeiSize = {}, this.seiConnectGl = [], this.seiDisabled = !0) + } + SET_MY_USER_STATUS(t) { + this.myUserStatus = t + } + UPDATE_MY_USER_STATUS(t) { + if (this.applyMicStatus === 2 && t && this.myUserStatus !== t) { + const n = (t & zn.MMLiveCommonSEIConnectMicUserStatus_IsMicMutedByAnchor) === zn + .MMLiveCommonSEIConnectMicUserStatus_IsMicMutedByAnchor; + if (n !== this.isMutedByAnchor) + if (n) { + const r = [], + i = {}; + i.clientMsgId = "mutedByAnchor".concat(new Date().getTime()), i.type = Ve.syetem, i + .content = "浣犲凡琚富鎾潤闊�", r.push(i), this.SET_COMMENT_STORE(r) + } else { + const r = [], + i = {}; + i.clientMsgId = "mutedByAnchor".concat(new Date().getTime()), i.type = Ve.syetem, i + .content = "涓绘挱宸茶В闄や綘鐨勯潤闊抽檺鍒�", r.push(i), this.SET_COMMENT_STORE(r) + } this.SET_MY_USER_STATUS(t) + } + } + SET_AUDIENCE_MIC_LIST(t) { + this.micAudienceList.findIndex(r => { + var i, o, s, a; + return ((o = (i = r.micContact) == null ? void 0 : i.contact) == null ? void 0 : o + .username) === ((a = (s = t.micContact) == null ? void 0 : s.contact) == null ? void 0 : + a.username) + }) < 0 && this.micAudienceList.push(t) + } + updateMyUserStatus() { + const t = this.applyMicSdkInfo.sdkUserId || this.liveSdkInfo.sdkUserId; + this.connectSeiList.forEach(n => { + const { + uId: r + } = n; + r === t && this.UPDATE_MY_USER_STATUS(n.us || 0) + }) + } + SET_SEI_CONNECT_LIST(t) { + var r, i; + if (((i = (r = t == null ? void 0 : t.list) == null ? void 0 : r[0]) == null ? void 0 : i.uId) === this + .liveSdkInfo.sdkCreateUserId || !t.m && this.connectList.length === 0) return; + this.connectSeiList = t.list || [], this.seiConnectMode = t.m || 0, this.seiConnectHl = t.hl || [], this + .seiConnectGl = t.gl || [], this.anchorSeiSize = { + w: t.w, + h: t.h, + x: t.x, + y: t.y, + z: t.z, + i: t.i + }, this.seiDisabled = !1, this.connectSeiList.length && this.connectListShow.length && this + .connectSeiList.forEach(o => { + const { + uId: s + } = o, a = this.connectListShow.find(c => c.seq === s || c.micSeq === s || c + .micSdkUserId === s); + a && (a.seiInfo = o) + }); + const n = this.connectListShow.find(o => o.seq === this.liveSdkInfo.sdkCreateUserId || o.micSeq === this + .liveSdkInfo.sdkCreateUserId || o.micSdkUserId === this.liveSdkInfo.sdkCreateUserId); + n != null && n.seiInfo && (n.seiInfo = this.anchorSeiSize) + } + SET_AUDIO_SEI_CONNECT_LIST(t) { + var i, o; + if (((o = (i = t == null ? void 0 : t.list) == null ? void 0 : i[0]) == null ? void 0 : o.uId) === this + .liveSdkInfo.sdkCreateUserId) return; + this.connectSeiList = t.list || [], this.seiConnectMode = t.m || 0, this.seiConnectGl = t.sl || [], this + .seiDisabled = !1; + const n = this.applyMicSdkInfo.sdkUserId || this.liveSdkInfo.sdkUserId; + !this.connectSeiList.find(s => s.uId === n) && this.applyMicLocalCloseWaiting && (this + .applyMicLocalCloseWaiting = !1), this.connectSeiList.length && this.connectListShow.length && + this.connectSeiList.forEach(s => { + const { + uId: a + } = s, c = this.connectListShow.find(l => l.seq === a || l.micSeq === a || l + .micSdkUserId === a); + c && (c.seiInfo = s) + }) + } + SET_ANCHOR_CONNECT_INFO(t) { + var r, i, o; + if (t.userId === this.liveSdkInfo.sdkCreateUserId) { + this.anchorUserStatus = t.userStatus, t != null && t.as && (this.anchorSeiSize = { + i: 1, + us: t.userStatus + }, (i = (r = this.connectListShow) == null ? void 0 : r[0]) != null && i.seiInfo && (this + .connectListShow[0].seiInfo = this.anchorSeiSize)); + return + } + if (!this.connectListShow.length) return; + const n = this.connectListShow.find(s => s.micSdkUserId === t.userId); + n && ((o = n == null ? void 0 : n.seiInfo) == null ? void 0 : o.anchorUserStatus) !== t.userStatus && (n + .seiInfo.anchorUserStatus = t.userStatus) + } + UPDATE_CONNECT_LIST_SHOW() { + var t, n; + if (this.connectListShow = [], this.applyMicStatus > 0 && this.applyMicStatus < 4) { + const { + sdkCreateUserId: r + } = this.liveSdkInfo, i = this.connectTrtcSdkList.find(o => o.userId === r); + this.connectListShow.push({ + micContact: { + contact: (t = this.live) == null ? void 0 : t.contact + }, + micSdkUserId: this.liveSdkInfo.sdkCreateUserId, + trtcInfo: i, + seiInfo: this.anchorSeiSize, + isAnchor: !0 + }), this.connectList.forEach(o => { + const s = this.connectTrtcSdkList.find(c => c.userId === o.seq || c.userId === o + .micSeq || c.userId === o.micSdkUserId || c.userId === o.sdkUserId), + a = this.connectSeiList.find(c => c.uId === o.seq || c.uId === o.micSeq || c.uId === + o.micSdkUserId || c.uId === o.sdkUserId); + if (s) { + const c = Object.assign(o, { + trtcInfo: s, + seiInfo: a + }); + a != null && a.i ? this.connectListShow.splice(a.i - 1, 0, c) : this.connectListShow + .push(c) + } + }) + } else this.connectListShow.push({ + micContact: { + contact: (n = this.live) == null ? void 0 : n.contact + }, + seiInfo: this.anchorSeiSize, + micSdkUserId: this.liveSdkInfo.sdkCreateUserId, + isAnchor: !0 + }), this.connectSeiList.forEach(r => { + const { + uId: i + } = r, o = this.connectList.find(s => s.seq === i || s.micSeq === i || s.micSdkUserId === + i || s.sdkUserId === i); + o && (o.contact && (o.micContact = o.contact), o.sdkUserId && (o.micSdkUserId = o + .sdkUserId), o.seiInfo = r, this.connectListShow.push(o)) + }) + } + SET_FONTGEAT(t) { + this.fontgear = t + } + SET_GET_MSG_READY() { + this.getLiveMsgReady || (this.getLiveMsgReady = !0) + } + SET_JOINLIVE_READY() { + this.joinLiveReady || (this.joinLiveReady = !0) + } + SET_TEMPLATE_INFO(t) { + t.length && t.forEach(n => { + var r, i, o; + switch (n.infoType) { + case Ei.MMFinder_TemplateInfo_Type_LiveAbnormalClosed: { + if (n != null && n.infoBuffer) { + const s = Ce(n.infoBuffer); + this.templateInfo = s + } + break + } + case Ei.MMFinder_TemplateInfo_Type_LotteryInfo: { + if (n != null && n.infoBuffer) { + const s = Pe(Ce(n.infoBuffer)); + this.lotteryInfo = s + } + break + } + case Ei.MMFinder_TemplateInfo_Type_BattleInfo: + if (n != null && n.infoBuffer) { + const s = Pe(Ce(n.infoBuffer)); + if (s.indicatorType === 1 && s.indicatorParameter && this.giftList.length) { + const a = Pe(Ce(s.indicatorParameter)), + { + giftId: c + } = a, + l = this.giftList.find(u => u.rewardProductId === c); + l != null && l.thumbnailFileUrl && (s.indicatorGiftUrl = l == null ? + void 0 : l.thumbnailFileUrl) + } + if (this.battleInfo.status === s.status && ((r = this.battleInfo) != null && r + .timeLeft) && (s == null ? void 0 : s.timeLeft) > ((i = this + .battleInfo) == null ? void 0 : i.timeLeft) || !((o = this.battleInfo + .playerInfo) != null && o.length) && s.status === 20) return; + this.battleInfo = s + } + break + } + }) + } + SET_CLIENT_CONFIG(t) { + this.clientConfig = t + } + SET_BIZ_INFO(t) { + t != null && t.bizUsername && (this.bizUserInfo = t) + } + SET_DETAIL_TEMPLATE_INFO(t) { + this.templateInfo = t + } + SET_LIVEMSG_COVER(t) { + var n; + (n = t == null ? void 0 : t.cover_img) != null && n.img_url && (t != null && t.cover_img_url_token) && ( + this.livemsgCover = "".concat(t.cover_img.img_url).concat(t.cover_img_url_token)) + } + SET_CONNECT_SIZE(t) { + this.isConnectVideoSize = t + } + SET_LOCAL_MSG(t) { + if (this.liveExtFlag && (this.liveExtFlag & Ir.DisableFakeInsertMsg) === Ir.DisableFakeInsertMsg) + return; + const n = []; + n.push(t), this.SET_LOCAL_COMENT_STORE(n), this.SET_LOCAL_FILTER(t) + } + SET_LOCAL_TOPMSG(t) { + const n = []; + n.push(t), this.UPDATE_TOP_COMMENT(n), this.SET_LOCAL_FILTER(t) + } + HANDLE_ERR_CODE(t) { + var r, i; + const n = { + title: "", + desc: "" + }; + if ((r = t == null ? void 0 : t.ErrMsg) != null && r.String) n.title = "鏃犳硶瑙傜湅鐩存挱", n.desc = (i = t == + null ? void 0 : t.ErrMsg) == null ? void 0 : i.String, this.SET_NO_PERMISSION(!0), this + .SET_ERR_MSG(n); + else switch (t == null ? void 0 : t.Ret) { + case ht.MM_FINDER_LIVE_ERR_AUDIENCE_NO_PERMISSION: + n.title = "鏃犳硶瑙傜湅鐩存挱", n.desc = "涓绘挱宸茶缃殣绉侊紝鏆傛棤娉曡鐪嬬洿鎾�", this.SET_NO_PERMISSION(!0), this + .SET_ERR_MSG(n); + break; + case ht.MM_FINDER_LIVE_ERR_IN_BLACKLIST: + n.title = "鏃犳硶瑙傜湅鐩存挱", n.desc = "浣犲凡琚富鎾Щ鍑虹洿鎾棿锛屾棤娉曡鐪嬫湰鍦虹洿鎾�", this.SET_NO_PERMISSION(!0), this + .SET_ERR_MSG(n); + break + } + } + UPDATE_LISTS(t) { + const n = [], + r = [], + i = []; + t.forEach(o => { + var s, a, c, l, u, f, d, h, p, _, m, g, b, y, S, w; + switch (o.type) { + case on.typeComment: + if (o.localClientMsgId && this.localMsgFilter[o.localClientMsgId]) { + this.localMsgFilter[o.localClientMsgId].seq = o.seq; + break + }((a = (s = o.finderLiveContact) == null ? void 0 : s.contact) == null ? void 0 : a + .username) !== ((c = this.currentAlias) == null ? void 0 : c.username) && Object + .assign(o, { + isMinor: !0 + }), n.push(o); + break; + case on.joinLive: + (u = (l = o.finderLiveContact) == null ? void 0 : l.contact) != null && u + .nickname && r.push(o.finderLiveContact); + break; + case on.topComment: + if (o.localClientMsgId && this.localMsgFilter[o.localClientMsgId]) break; + (d = (f = o.finderLiveContact) == null ? void 0 : f.contact) != null && d + .nickname && o.content && i.push({ + badgeInfos: (h = o == null ? void 0 : o.finderLiveContact) == null ? + void 0 : h.badgeInfos, + username: (_ = (p = o == null ? void 0 : o.finderLiveContact) == null ? + void 0 : p.contact) == null ? void 0 : _.username, + nickname: (o == null ? void 0 : o.nickname) || ((g = (m = o + .finderLiveContact) == null ? void 0 : m.contact) == null ? + void 0 : g.nickname), + content: o.content, + toNickname: (y = (b = o.toFinderLiveContact) == null ? void 0 : b + .contact) != null && y.nickname ? (w = (S = o + .toFinderLiveContact) == null ? void 0 : S.contact) == null ? + void 0 : w.nickname : "" + }); + break; + case on.MMFinder_LiveMsg_Ban_Comment: + break; + case on.MMFinder_LiveMsg_Ban_Comment_Single: + n.push(o), this.SET_USER_COMMENT_STATE(1); + break; + case on.MMFinder_LiveMsg_Allow_Comment_Single: + n.push(o), this.SET_USER_COMMENT_STATE(0); + break + } + }), this.SET_COMMENT_STORE(n), this.UPDATE_JOIN(r), this.UPDATE_TOP_COMMENT(i) + } + UPDATE_APP_LISTS(t) { + const n = []; + t.forEach(r => { + var i, o, s, a, c, l, u, f, d, h, p, _, m, g, b, y, S, w, k, v, I, T, A, L, O, $, B, F, N, + U, P, J; + switch (r.msgType) { + case Xe.MMFinder_LiveAppMsg_Type_ReplyComment: { + if (r.localClientMsgId && this.localMsgFilter[r.localClientMsgId]) { + this.localMsgFilter[r.localClientMsgId].seq = r.seq; + break + } + const M = r; + if (r.payload) { + const q = Ce(r.payload); + if (!q.content) break; + M.content = q.content, M.type = Ve.reply, M.clientMsgId = r.clientMsgId, M + .finderLiveContact = r.fromUserContact, ((o = (i = r.fromUserContact) == + null ? void 0 : i.contact) == null ? void 0 : o.username) !== ((s = this + .currentAlias) == null ? void 0 : s.username) && ((c = (a = r + .toUserContact) == null ? void 0 : a.contact) == null ? void 0 : c + .username) !== ((l = this.currentAlias) == null ? void 0 : l + .username) && (M.isMinor = !0) + } + n.push(M); + break + } + case Xe.MMFinder_LiveAppMsg_Type_LiveReward: { + if (r.payload && (this.micAudienceList.findIndex(q => { + var W, z, Y, C; + return ((z = (W = q.micContact) == null ? void 0 : W.contact) == + null ? void 0 : z.username) === ((C = (Y = r + .toUserContact) == null ? void 0 : Y.contact) == null ? + void 0 : C.username) + }) >= 0 || ((f = (u = r.toUserContact) == null ? void 0 : u.contact) == + null ? void 0 : f.username) === ((h = (d = this.live) == null ? void 0 : + d.contact) == null ? void 0 : h.username))) { + const q = Pe(Ce(r.payload)); + if (((p = q == null ? void 0 : q.rewardGift) == null ? void 0 : p.giftType) === + 2 && ((_ = q.rewardGift) != null && _.animationPagUrl)) { + const W = { + url: (m = q.rewardGift) == null ? void 0 : m.animationPagUrl, + repeatCount: (q == null ? void 0 : q.rewardProductCount) || 1 + }; + this.SET_BIGREWARD_LIST(W) + } + } + break + } + case Xe.MMFinder_LiveAppMsg_Type_ComboLiveReward: { + const M = r; + if (r.payload) { + const q = Ce(r.payload); + if (!q.content) break; + M.content = q.content, M.payload = q, M.type = Ve.present, M.clientMsgId = r + .clientMsgId, M.finderLiveContact = r.fromUserContact, ((b = (g = r + .fromUserContact) == null ? void 0 : g.contact) == null ? void 0 : b + .username) !== ((y = this.currentAlias) == null ? void 0 : y + .username) && (M.isMinor = !0) + } + n.push(M); + break + } + case Xe.MMFinder_LiveAppMsg_Type_RewardRankingNotice: { + const M = r; + if (r.payload) { + const q = Ce(r.payload); + if (!q.ranking_position) break; + M.content = "".concat((w = (S = r.fromUserContact) == null ? void 0 : S + .contact) == null ? void 0 : w.nickname, "鎴愪负鏈満鐑害姒滅").concat(q + .ranking_position, "鍚�"), M.type = Ve.syetem, M.clientMsgId = r + .clientMsgId, ((v = (k = r.fromUserContact) == null ? void 0 : k.contact) == + null ? void 0 : v.username) !== ((I = this.currentAlias) == null ? + void 0 : I.username) && (M.isMinor = !0) + } + n.push(M); + break + } + case Xe.MMFinder_LiveAppMsg_Type_PkStatus: { + const M = Pe(Ce(r.payload)); + M.scene === 3 && (this.SET_ANCHOR_PK(!1), this.SET_PK_INFO({}), M != null && M + .seq && this.REMOVE_CONNECT_USERLIST(M.seq)), M.scene === 2 && (this + .SET_ANCHOR_PK(!0), this.SET_PK_INFO(M), this.SET_CONNECT_USERLIST(M)), M + .scene === 4 && (M != null && M.audienceMicList && (M.micAudienceList = M + .audienceMicList), (T = M == null ? void 0 : M.micAudienceList) != + null && T.length && (M == null ? void 0 : M.micAudienceList).forEach(W => { + this.SET_CONNECT_USERLIST(W) + })); + break + } + case Xe.MMFinder_LiveAppMsg_Type_NewAcceptPk: { + const M = Pe(Ce(r.payload)); + this.SET_ANCHOR_PK(!0), M.pkroomAnchors.length && (this.SET_NEW_PK_INFOS(M + .pkroomAnchors), M.pkroomAnchors.forEach(q => { + q.sdkUserId !== this.liveSdkInfo.sdkCreateUserId && (this + .SET_PK_INFO(q), this.SET_CONNECT_USERLIST(q)) + })); + break + } + case Xe.MMFinder_LiveAppMsg_Type_NewClosePk: { + const M = Pe(Ce(r.payload)); + if (this.SET_ANCHOR_PK(!1), this.SET_PK_INFO({}), M != null && M.pkSdkUserId) + if ((M == null ? void 0 : M.pkSdkUserId) === this.liveSdkInfo.sdkCreateUserId) { + const q = [], + W = this.newPkMicInfos.find(z => z.sdkUserId === this.liveSdkInfo + .sdkCreateUserId); + if (W) { + (A = W == null ? void 0 : W.micAudienceList) == null || A.forEach(Y => { + Y.micSdkUserId && q.push(Y.micSdkUserId) + }); + const z = []; + q.forEach(Y => { + const C = this.connectList.find(j => j.seq === Y || j + .micSeq === Y || j.micSdkUserId === Y || j + .userId === Y || j.sdkUserId === Y); + C && z.push(C) + }), this.RESET_CONNECT_USERLIST(z) + } + } else this.REMOVE_CONNECT_USERLIST(M == null ? void 0 : M.pkSdkUserId); + break + } + case Xe.MMFinder_LiveAppMsg_Type_AcceptMic: { + const M = Pe(Ce(r.payload)), + q = this.applyMicSdkInfo.sdkUserId || this.liveSdkInfo.sdkUserId; + (M == null ? void 0 : M.micSdkUserId) === q && M != null && M.liveSdkInfo && this + .SET_APPLYMIC_INFO(M.liveSdkInfo), this.SET_CONNECT_USERLIST(M), this + .SET_AUDIENCE_MIC_LIST(M); + break + } + case Xe.MMFinder_LiveAppMsg_Type_CloseMic: { + const M = Pe(Ce(r.payload)), + q = this.applyMicSdkInfo.sdkUserId || this.liveSdkInfo.sdkUserId; + (M == null ? void 0 : M.micSdkUserId) === q && (this.applyMicStatus === 0 && this + .REMOVE_OTHER_DEVICE_CONNECT(), r.sessionId === this.applyMicSessionId && + this.SET_CLOSEMIC_INFO(), this.resetSeiInfo()), M != null && M + .micSdkUserId && this.REMOVE_CONNECT_USERLIST(M == null ? void 0 : M + .micSdkUserId); + break + } + case Xe.MMFinder_LiveAppMsg_Type_GlobalLevelUpgrade: { + const M = r; + if (r.payload) { + const q = Ce(r.payload); + if (q.type !== 1) break; + let W = (O = (L = r.fromUserContact) == null ? void 0 : L.contact) == null ? + void 0 : O.nickname; + ((B = ($ = r.fromUserContact) == null ? void 0 : $.contact) == null ? void 0 : B + .username) === ((F = this.currentAlias) == null ? void 0 : F.username) && ( + W = "浣�"), M.content = "".concat(W, "鍗囩骇涓�").concat(q.to_level, "绾�"), M.type = + Ve.syetem, M.clientMsgId = r.clientMsgId, ((U = (N = r.fromUserContact) == + null ? void 0 : N.contact) == null ? void 0 : U.username) !== ((P = this + .currentAlias) == null ? void 0 : P.username) && (M.isMinor = !0) + } + n.push(M); + break + } + case Xe.MMFinder_LiveAppMsg_Type_UpdateFinderObject: { + const M = Ce(r.payload); + this.SET_LIVEMSG_COVER(M); + break + } + case Xe.MMFinder_LiveAppMsg_Type_UpdateCheerInfo: { + const M = (J = Pe(Ce(r.payload))) == null ? void 0 : J.cheerInfo; + M && this.SET_CHEER_INFO(M); + break + } + case Xe.MMFinder_LiveAppMsg_Type_VoiceLiveImg: { + const M = Pe(Ce(r.payload)); + M != null && M.voiceLiveImg && this.SET_LIVEROOM_IMG(M.voiceLiveImg); + break + } + case Xe.MMFinder_LiveAppMsg_Type_PromoteInfo: { + const M = Pe(Ce(r.payload)); + if (M.id && M.type) switch (this.CLEAR_PROMOTE_POP(), M.type) { + case Dt.MMFinderLiveJumpInfoType_LiveNotice: { + this.SET_LIVE_NOTICE_CARD({ + id: M.id, + extBuffer: M.extBuffer, + promoteInfoBuffer: M.promoteInfoBuffer, + isShow: !M.cancel + }); + break + } + case Dt.MMFinderLiveJumpInfoType_JumpInfo: { + this.SET_PROMOTE_INFO({ + id: M.id, + extBuffer: M.extBuffer, + promoteInfoBuffer: M.promoteInfoBuffer, + isShow: (M == null ? void 0 : M.supportPc) && !M.cancel + }); + break + } + case Dt.MMFinderLiveJumpInfoType_Product: { + this.finderlivesyncpromote(); + break + } + } + break + } + case Xe.MMFinder_LiveAppMsg_Type_AnchorInviteMicWithAudience: { + const M = Pe(Ce(r.payload)); + M && this.SET_ANCHOR_INVITE_MIC_WITH_AUDIENCE(M); + break + } + } + }), this.SET_COMMENT_STORE(n) + } + UPDATE_AUDIENCE_HEAT(t) { + var o; + const n = t == null ? void 0 : t.micAudienceList; + n != null && n.length && this.connectListShow.forEach(s => { + var c; + const a = n.find(l => l.micSdkUserId === s.micSdkUserId); + if (a) { + const { + micContact: l + } = s; + Object.assign(l, { + liveHeatValue: (c = a.micContact) == null ? void 0 : c.liveHeatValue + }) + } + }); + const r = (o = t == null ? void 0 : t.meetInfo) == null ? void 0 : o.anchorMeetHeat; + if (r) { + const s = this.connectListShow.find(a => a.isAnchor); + Object.assign(s == null ? void 0 : s.micContact, { + liveHeatValue: r + }) + } + const i = t == null ? void 0 : t.newPkMicInfosForBoard; + i != null && i.length && this.connectListShow.forEach(s => { + var c; + const a = i.find(l => l.micSdkUserId === s.micSdkUserId); + if (a) { + const { + micContact: l + } = s; + Object.assign(l, { + liveHeatValue: (c = a.micContact) == null ? void 0 : c.liveHeatValue + }) + } + }) + } + SET_KTV_QRCODE(t) { + this.ktvRoomQrcode = t + } + SET_KTV_SEI(t) { + this.ktvSeiData = t + } + SET_SEAT_INFO(t) { + this.seatConfig = t + } + updateComments(t) { + this.UPDATE_COMMENT(t) + } + clearComputeList() { + this.CLEAR_COMPUTE_LIST() + } + async getLive(t) { + var o, s, a, c, l, u, f, d, h, p, _, m, g, b, y; + if (!(t.oid || t.nid || t.eid)) return { + errCode: -1 + }; + const n = {}; + if (t.oid) { + const S = Fi(t.oid); + n.objectid = S + } + if (t.nid) { + const S = Fi(t.nid); + n.objectNonceId = S + } + t.eid && (n.encrypted_objectid = t.eid), Object.assign(n, { + needObject: 1, + scene: Yr(), + direction: 2, + identityScene: 2, + pullScene: 1 + }); + const r = await qe.finderGetCommentDetail(n); + if (((s = (o = r == null ? void 0 : r.data) == null ? void 0 : o.BaseResponse) == null ? void 0 : s + .Ret) === -5300) return window.location.replace( + "https://support.weixin.qq.com/cgi-bin/mmsupport-bin/newreadtemplate?t=teenmodeban/index&lang=zh_CN" + ), r; + const i = (a = r == null ? void 0 : r.data) == null ? void 0 : a.object; + if (i && (this.SET_LIVE(i), ((c = i.contact) == null ? void 0 : c.followFlag) !== void 0 && this + .SET_LOCAL_FOLLOWED(!!i.contact.followFlag), i.liveInfo && (this.SET_LIVE_STATUS(i.liveInfo), + this.SET_COUNT(i.liveInfo), i.liveInfo.liveFlag && this.SET_LIVE_FLAG((l = i.liveInfo) == + null ? void 0 : l.liveFlag))), ((u = r == null ? void 0 : r.data) == null ? void 0 : u + .currentLiveIdentity) !== void 0 && ((f = r == null ? void 0 : r.data) == null ? void 0 : f + .liveAliasInfo) !== void 0 && this.SET_MY_ALIAS({ + aliasInfo: (d = r == null ? void 0 : r.data) == null ? void 0 : d.liveAliasInfo, + currentAliasRoleType: (h = r == null ? void 0 : r.data) == null ? void 0 : h + .currentLiveIdentity + }), (p = i == null ? void 0 : i.liveInfo) != null && p.memberLiveInfo) { + const S = { + title: "", + desc: "" + }; + S.title = "鏃犳硶瑙傜湅鐩存挱", S.desc = "鏆傛棤娉曡鐪嬩細鍛樼洿鎾紝璇峰墠寰�鎵嬫満绔鐪�", this.SET_NO_PERMISSION(!0), this.SET_ERR_MSG(S) + } + return (_ = r == null ? void 0 : r.data) != null && _.abnormalLiveClosePage && this + .SET_DETAIL_TEMPLATE_INFO((m = r == null ? void 0 : r.data) == null ? void 0 : m + .abnormalLiveClosePage), r.errCode || (b = (g = r.data) == null ? void 0 : g.BaseResponse) != + null && b.Ret && this.HANDLE_ERR_CODE((y = r.data) == null ? void 0 : y.BaseResponse), r + } + async finderInit() { + var r; + const t = await ke.finderInit(), + { + data: n + } = t; + n != null && n.wxUsernameForH5 && (this.SET_MY_WX_USERNAME(n.wxUsernameForH5), Ne.setUserInfo({ + username: n.wxUsernameForH5 + })), (r = n == null ? void 0 : n.myacct) != null && r[0] && this.SET_MY_ACCOUNT(n.myacct[0]), (n == + null ? void 0 : n.aliasInfo) !== void 0 && (n == null ? void 0 : n.currentAliasRoleType) !== + void 0 && this.SET_MY_ALIAS({ + aliasInfo: n == null ? void 0 : n.aliasInfo, + currentAliasRoleType: n == null ? void 0 : n.currentAliasRoleType + }) + } + UPDATE_LAST_JOIN_LIVE_TIME() { + this.lastJoinLiveTime = Date.now() + } + async joinLive(t = !1) { + var c, l, u, f, d, h, p, _, m, g, b, y, S, w, k, v, I, T, A, L, O, $, B, F, N, U, P, J, M, q, W, z, Y, + C, j, H, Q, ue, le, ae, oe, V, se, ee; + t && (this.CLEAR_COMMENT_LIST_STORE(), this.CLEAR_COMPUTE_LIST(), this.UPDATE_LAST_JOIN_LIVE_TIME()); + const n = {}; + n.liveId = (l = (c = this.live) == null ? void 0 : c.liveInfo) == null ? void 0 : l.liveId, n.objectId = + (u = this.live) == null ? void 0 : u.id, n.finderUsername = (f = this.myAccount) == null ? void 0 : + f.username, n.scene = this.isAnchor ? 1 : 2, n.objectNonceId = (d = this.live) == null ? void 0 : d + .objectNonceId, n.clientStatus = { + videoDecoderSupportMask: Ba.FinderLiveVideoCodecType_H265 + }; + const r = await ke.joinLive(n), + { + errCode: i, + data: o + } = r; + if (i) return; + if (((p = (h = r == null ? void 0 : r.data) == null ? void 0 : h.baseResponse) == null ? void 0 : p + .Ret) === -5300) { + window.location.replace( + "https://support.weixin.qq.com/cgi-bin/mmsupport-bin/newreadtemplate?t=teenmodeban/index&lang=zh_CN" + ); + return + } + if ((_ = o == null ? void 0 : o.baseResponse) != null && _.Ret) { + this.HANDLE_ERR_CODE(o == null ? void 0 : o.baseResponse); + return + } + if (this.SET_JOINLIVE_READY(), o != null && o.liveCookies && this.SET_LIVECOOKIE(o == null ? void 0 : o + .liveCookies), o != null && o.modeInfo && this.SET_LIVE_MODE_INFO(o.modeInfo), o != null && o + .liveInfo && (this.SET_STREAM_URL(o.liveInfo), (m = o.liveInfo) != null && m.liveFlag && this + .SET_LIVE_FLAG((g = o.liveInfo) == null ? void 0 : g.liveFlag)), o != null && o.selfContact && ( + (b = o.selfContact) != null && b.badgeInfos && this.SET_BADGE_INFO(o.selfContact.badgeInfos), o + .selfContact.disableComment && this.SET_USER_COMMENT_STATE(1)), o != null && o.liveSdkInfo && + this.SET_SDK_INFO(o.liveSdkInfo), (y = o == null ? void 0 : o.liveMicInfo) != null && y + .enableCrossLiveRoomMic && this.SET_CROSSMIC((S = o == null ? void 0 : o.liveMicInfo) == null ? + void 0 : S.enableCrossLiveRoomMic), o != null && o.liveExtFlag && this.SET_LIVEEXTFLAG(o + .liveExtFlag), (w = o == null ? void 0 : o.liveMicInfo) != null && w.micPkInfo && (this + .SET_PK_INFO((k = o == null ? void 0 : o.liveMicInfo) == null ? void 0 : k.micPkInfo), this + .SET_ANCHOR_PK(!0), this.SET_CONNECT_USERLIST((v = o == null ? void 0 : o.liveMicInfo) == null ? + void 0 : v.micPkInfo), (A = (T = (I = o == null ? void 0 : o.liveMicInfo) == null ? void 0 : + I.micPkInfo) == null ? void 0 : T.micAudienceList) != null && A.length && ((O = (L = o == + null ? void 0 : o.liveMicInfo) == null ? void 0 : L.micPkInfo) == null ? void 0 : O + .micAudienceList).forEach(Le => { + this.SET_CONNECT_USERLIST(Le) + })), (B = ($ = o == null ? void 0 : o.liveMicInfo) == null ? void 0 : $.newPkMicInfos) != + null && B.length && (this.SET_NEW_PK_INFOS((F = o == null ? void 0 : o.liveMicInfo) == null ? + void 0 : F.newPkMicInfos), this.SET_ANCHOR_PK(!0), (N = o == null ? void 0 : o + .liveMicInfo) == null || N.newPkMicInfos.forEach(fe => { + var Le; + this.SET_CONNECT_USERLIST(fe), (Le = fe == null ? void 0 : fe.micAudienceList) != + null && Le.length && (fe == null || fe.micAudienceList.forEach(Ee => { + this.SET_CONNECT_USERLIST(Ee) + })) + })), (P = (U = o == null ? void 0 : o.liveMicInfo) == null ? void 0 : U.micAudienceList) != + null && P.length && ((J = o == null ? void 0 : o.liveMicInfo) == null ? void 0 : J.micAudienceList) + .forEach(Le => { + this.SET_CONNECT_USERLIST(Le), this.SET_AUDIENCE_MIC_LIST(Le) + }), (z = (W = (q = (M = o == null ? void 0 : o.liveMicInfo) == null ? void 0 : M.micConfig) == + null ? void 0 : q.modeConfigList) == null ? void 0 : W[0]) != null && z.seatInfoList && this + .SET_SEAT_INFO((j = (C = (Y = o == null ? void 0 : o.liveMicInfo) == null ? void 0 : Y.micConfig) == + null ? void 0 : C.modeConfigList) == null ? void 0 : j[0].seatInfoList), o != null && o + .cheerInfo && this.SET_CHEER_INFO(o == null ? void 0 : o.cheerInfo), o != null && o.liveRoomImg && + this.SET_LIVEROOM_IMG(o.liveRoomImg), o != null && o.mandatoryReplaceInfo && this.SET_MANDATORY(o == + null ? void 0 : o.mandatoryReplaceInfo), (H = o == null ? void 0 : o.newPromoteInfo) != null && + H.id && ((Q = o == null ? void 0 : o.newPromoteInfo) != null && Q.type)) switch (this + .CLEAR_PROMOTE_POP(), (ue = o == null ? void 0 : o.newPromoteInfo) == null ? void 0 : ue.type) { + case Dt.MMFinderLiveJumpInfoType_LiveNotice: { + this.SET_LIVE_NOTICE_CARD({ + id: o.newPromoteInfo.id, + extBuffer: o.newPromoteInfo.extBuffer, + promoteInfoBuffer: o.newPromoteInfo.promoteInfoBuffer, + isShow: !o.newPromoteInfo.cancel + }); + break + } + case Dt.MMFinderLiveJumpInfoType_JumpInfo: { + this.SET_PROMOTE_INFO({ + id: o.newPromoteInfo.id, + extBuffer: o.newPromoteInfo.extBuffer, + promoteInfoBuffer: o.newPromoteInfo.promoteInfoBuffer, + isShow: ((le = o == null ? void 0 : o.newPromoteInfo) == null ? void 0 : le + .supportPc) && !o.newPromoteInfo.cancel + }); + break + } + case Dt.MMFinderLiveJumpInfoType_Product: { + this.SET_CURRENT_PRODUCT_INFO({ + id: o.newPromoteInfo.id, + extBuffer: o.newPromoteInfo.extBuffer, + promoteInfoBuffer: o.newPromoteInfo.promoteInfoBuffer, + isShow: !o.newPromoteInfo.cancel + }), this.finderlivesyncpromote(); + break + } + } + const s = ((ae = o == null ? void 0 : o.tips) == null ? void 0 : ae.lawTips) || "", + a = []; + if (s) { + const fe = {}; + fe.clientMsgId = "lawTips", fe.type = Ve.lawTips, fe.content = s, a.push(fe) + } + if ((V = (oe = this.live) == null ? void 0 : oe.objectDesc) != null && V.description) { + const fe = {}; + fe.clientMsgId = "description", fe.type = Ve.description, fe.content = jt((ee = (se = this.live) == + null ? void 0 : se.objectDesc) == null ? void 0 : ee.description), a.push(fe) + } + this.SET_COMMENT_STORE(a), t && this.updateComments(), o != null && o.liveInfo && this + .handleAnchorStatus(o.liveInfo), (o == null ? void 0 : o.aliasInfo) !== void 0 && (o == null ? + void 0 : o.currentAliasRoleType) !== void 0 && this.SET_MY_ALIAS({ + aliasInfo: o == null ? void 0 : o.aliasInfo, + currentAliasRoleType: o == null ? void 0 : o.currentAliasRoleType + }) + } + SET_IS_GET_LIVE_MSG_PAUSED(t) { + this.isGetLiveMsgPaused = t + } + async getLiveMsg(t) { + var h, p, _, m, g, b, y, S, w, k, v, I, T, A, L, O, $, B, F, N, U, P, J, M, q, W, z, Y, C, j, H, Q; + if (!this.liveCookies) return; + const n = (t == null ? void 0 : t.offline) || !1; + if (this.isGetLiveMsgPaused) { + await pr(1e3), await this.getLiveMsg(); + return + } + const r = {}; + r.liveId = ((p = (h = this.live) == null ? void 0 : h.liveInfo) == null ? void 0 : p.liveId) || void 0, + r.liveCookies = this.liveCookies, r.objectId = ((_ = this.live) == null ? void 0 : _.id) || void 0, + r.finderUsername = ((m = this.myAccount) == null ? void 0 : m.username) || void 0, r.scene = this + .isAnchor ? 1 : 2, r.objectNonceId = ((g = this.live) == null ? void 0 : g.objectNonceId) || void 0, + r.offline = n; + const i = Date.now(), + o = await ke.getLiveMsg(r); + if (this.isGetLiveMsgPaused) { + await pr(1e3), await this.getLiveMsg(); + return + } + if (i <= this.lastJoinLiveTime && Date.now() >= this.lastJoinLiveTime) { + await this.getLiveMsg(); + return + } + if (o.errCode) { + this.getLiveMsgStoped(), De.oldReportError({ + error_msg: "resp: ".concat(JSON.stringify(o)), + error_type: "LiveMsg Stoped" + }), window.WeixinJSBridge.invoke("log", { + level: "warn", + msg: "[h5_livePage]LiveMsg_Stoped resp: ".concat(JSON.stringify(o)) + }); + return + } + if ((y = (b = o.data) == null ? void 0 : b.baseResponse) != null && y.Ret) { + this.HANDLE_ERR_CODE((S = o.data) == null ? void 0 : S.baseResponse), this.getLiveMsgStoped(), De + .oldReportError({ + error_msg: "resp: ".concat(JSON.stringify(o)), + error_type: "LiveMsg Stoped" + }), window.WeixinJSBridge.invoke("log", { + level: "warn", + msg: "[h5_livePage]LiveMsg_Stoped resp: ".concat(JSON.stringify(o)) + }); + return + } + this.SET_GET_MSG_READY(), this.SET_LAST_LIVEMSG(!0); + const s = (w = o.data) == null ? void 0 : w.msgList, + a = (k = o.data) == null ? void 0 : k.appMsgList, + c = (v = o.data) == null ? void 0 : v.liveInfo, + l = (I = o.data) == null ? void 0 : I.liveExtFlag, + u = (T = o.data) == null ? void 0 : T.curParticipantCount, + f = (A = o.data) == null ? void 0 : A.curOnlineCount, + d = (L = o.data) == null ? void 0 : L.badgeInfos; + this.SET_LIVEEXTFLAG(l), d && this.SET_BADGE_INFO(d), u && this.SET_COUNT_PARTICI(u), f && this + .SET_COUNT_ONLINE(f), (O = o.data) != null && O.templateInfoList && this.SET_TEMPLATE_INFO(o.data + .templateInfoList), ($ = o.data) != null && $.clientConfig && this.SET_CLIENT_CONFIG(o.data + .clientConfig), c && (this.SET_COUNT(c), this.SET_LIVE_STATUS(c), this.setShowLayerInfo(c), this + .handleAnchorStatus(c)), (B = o.data) != null && B.liveCookies && this.SET_LIVECOOKIE((F = o + .data) == null ? void 0 : F.liveCookies), s != null && s.length && s.length > 0 && this + .UPDATE_LISTS(s), a != null && a.length && a.length > 0 && this.UPDATE_APP_LISTS(a), (N = o.data) != + null && N.liveMicInfo && this.UPDATE_AUDIENCE_HEAT((U = o.data) == null ? void 0 : U.liveMicInfo), ( + W = (q = (M = (J = (P = o.data) == null ? void 0 : P.liveMicInfo) == null ? void 0 : J + .micConfig) == null ? void 0 : M.modeConfigList) == null ? void 0 : q[0]) != null && W + .seatInfoList && this.SET_SEAT_INFO((H = (j = (C = (Y = (z = o.data) == null ? void 0 : z + .liveMicInfo) == null ? void 0 : Y.micConfig) == null ? void 0 : C.modeConfigList) == + null ? void 0 : j[0]) == null ? void 0 : H.seatInfoList), (Q = o.data) != null && Q.modeInfo, + this.liveStatus === 1 && !this.noPermmison && !n && await this.getLiveMsg() + } + getLiveMsgStoped() { + this.SET_LAST_LIVEMSG(!1), this.applyMicStatus === 2 && this.closeMicWithAudience() + } + handleAnchorStatus(t) { + var r, i; + const n = (r = t.liveExtInfo) == null ? void 0 : r.anchorStatusBuffer; + if (n) try { + const o = window.atob(n), + s = JSON.parse(o); + this.setAnchorStatus(s.status_flag), this.SET_MIC_SETTING(((i = s == null ? void 0 : s + .mic_setting) == null ? void 0 : i.setting_flag) || 0) + } catch (o) {} + } + SET_MIC_SETTING(t) { + const n = (t & Cr.EnableAutoConnectAudience) === Cr.EnableAutoConnectAudience; + this.isEnableAutoConnectAudience = n + } + setAnchorStatus(t) { + const n = (t & pt.MMLiveAnchorStatusBitSetBanComment) === pt.MMLiveAnchorStatusBitSetBanComment, + r = (t & pt.MMLiveAnchorStatusBitSetEnableReward) === pt.MMLiveAnchorStatusBitSetEnableReward, + i = (t & pt.MMLiveAnchorStatusBitSetEnableAudioMode) === pt.MMLiveAnchorStatusBitSetEnableAudioMode, + o = (t & pt.MMLiveAnchorStatusBitSetEnableConnnectMic) === pt + .MMLiveAnchorStatusBitSetEnableConnnectMic, + s = (t & pt.MMLiveAnchorStatusBitSetDisableLikeLive) === pt.MMLiveAnchorStatusBitSetDisableLikeLive, + a = (t & pt.MMLiveAnchorStatusBitSetShoppingAvailable) === pt + .MMLiveAnchorStatusBitSetShoppingAvailable; + if (this.isDisableLikeLive !== s && (s ? this.SET_DISABLED_LIKELIVE(!0) : this.SET_DISABLED_LIKELIVE(! + 1)), this.hideMessage !== n) + if (n) { + this.SET_HIDE_MESSAGE(!0); + const c = [], + l = {}; + l.clientMsgId = "banComment".concat(new Date().getTime()), l.type = Ve.syetem, l.content = + "涓绘挱宸插叧闂瘎璁�", c.push(l), this.SET_COMMENT_STORE(c), this.SET_GLOBAL_COMMENT_STATE(1) + } else { + this.SET_HIDE_MESSAGE(!1); + const c = [], + l = {}; + l.clientMsgId = "banComment".concat(new Date().getTime()), l.type = Ve.syetem, l.content = + "涓绘挱宸插紑鍚瘎璁�", c.push(l), this.SET_COMMENT_STORE(c), this.SET_GLOBAL_COMMENT_STATE(0) + } if (this.isEnableReward !== r) + if (r) { + if (this.isEnableReward !== null) { + const c = [], + l = {}; + l.clientMsgId = "rewardstate".concat(new Date().getTime()), l.type = Ve.syetem, l.content = + "涓绘挱宸插紑鍚�佺ぜ鐗�", c.push(l), this.SET_COMMENT_STORE(c) + } + this.SET_ENABLE_REWARD(!0) + } else { + if (this.isEnableReward !== null) { + const c = [], + l = {}; + l.clientMsgId = "rewardstate".concat(new Date().getTime()), l.type = Ve.syetem, l.content = + "涓绘挱宸插叧闂�佺ぜ鐗�", c.push(l), this.SET_COMMENT_STORE(c) + } + this.SET_ENABLE_REWARD(!1) + } if (this.isEnableAudioMode !== i) + if (i) { + if (this.isEnableAudioMode !== null) { + const c = [], + l = {}; + l.clientMsgId = "audioMode".concat(new Date().getTime()), l.type = Ve.syetem, l.content = + "涓绘挱宸插叧闂憚鍍忓ご", c.push(l), this.SET_COMMENT_STORE(c) + } + this.SET_ENABLE_AUDIO(!0) + } else { + if (this.isEnableAudioMode !== null) { + const c = [], + l = {}; + l.clientMsgId = "audioMode".concat(new Date().getTime()), l.type = Ve.syetem, l.content = + "涓绘挱宸插紑鍚憚鍍忓ご", c.push(l), this.SET_COMMENT_STORE(c) + } + this.SET_ENABLE_AUDIO(!1) + } if (this.isEnableConnectMic !== o) + if (o) { + if (this.isEnableConnectMic !== null) { + const c = [], + l = {}; + l.clientMsgId = "connectMic".concat(new Date().getTime()), l.type = Ve.syetem, l.content = + "涓绘挱宸插紑鍚繛楹�", c.push(l), this.SET_COMMENT_STORE(c) + } + this.SET_ENABLE_CONNECT_MIC(!0) + } else { + if (this.isEnableConnectMic !== null) { + const c = [], + l = {}; + l.clientMsgId = "connectMic".concat(new Date().getTime()), l.type = Ve.syetem, l.content = + "涓绘挱宸插叧闂繛楹�", c.push(l), this.SET_COMMENT_STORE(c) + } + this.SET_ENABLE_CONNECT_MIC(!1) + } this.isEnableShop !== a && (this.SET_ENABLE_SHOP(a), a && this.getLiveShopShelfInfo()) + } + setShowLayerInfo(t) { + var n, r; + if (!this.isMultiVoiceRoom && t != null && t.layerShowInfo) { + if (t != null && t.layerShowInfo.showType && !this.isShowLayerInfo) { + this.SET_SHOW_LAYER_INFO(!0), this.SET_PAUSE_TIME(((n = t == null ? void 0 : t.layerShowInfo) == + null ? void 0 : n.accumulatedSeconds) || 0), this.SET_PAUSE_WRD(((r = t == null ? + void 0 : t.layerShowInfo) == null ? void 0 : r.pauseWording) || ""); + const i = [], + o = {}; + o.clientMsgId = "layerShowInfo".concat(new Date().getTime()), o.type = Ve.syetem, o.content = + "涓绘挱宸叉殏鍋滅洿鎾�", i.push(o), this.SET_COMMENT_STORE(i) + } + if ((t == null ? void 0 : t.layerShowInfo.showType) === 0 && this.isShowLayerInfo) { + this.SET_SHOW_LAYER_INFO(!1), this.SET_PAUSE_TIME(0), this.SET_PAUSE_WRD(""); + const i = [], + o = {}; + o.clientMsgId = "layerShowInfo".concat(new Date().getTime()), o.type = Ve.syetem, o.content = + "涓绘挱宸叉仮澶嶇洿鎾�", i.push(o), this.SET_COMMENT_STORE(i) + } + } + } + getCurrentTopComment() { + this.GET_CURRENT_TOPCOMMENT() + } + getCurrentJoin() { + this.GET_CURRENT_JOIN() + } + async addLike(t) { + var r, i, o, s; + this.ADD_LOCAL_COUNT(t); + const n = { + liveId: (i = (r = this.live) == null ? void 0 : r.liveInfo) == null ? void 0 : i.liveId, + count: "".concat(t), + liveCookies: this.liveCookies, + objectId: (o = this.live) == null ? void 0 : o.id, + scene: 1, + optype: 1 + }; + this.isAnchor && Object.assign(n, { + finderUsername: (s = this.myAccount) == null ? void 0 : s.username + }), await ke.finderLikeLive(n) + } + setReplyWaiting() { + this.SET_REPLY_WAITING(!0) + } + cancelReplyWaiting() { + this.SET_REPLY_WAITING(!1) + } + async LiveTopComment(t) { + var o, s, a, c, l, u, f, d, h; + const n = { + ...t.item + }, + r = { + badgeInfos: (o = n == null ? void 0 : n.finderLiveContact) == null ? void 0 : o.badgeInfos, + username: (a = (s = n == null ? void 0 : n.finderLiveContact) == null ? void 0 : s.contact) == + null ? void 0 : a.username, + nickname: (l = (c = n == null ? void 0 : n.finderLiveContact) == null ? void 0 : c.contact) == + null ? void 0 : l.nickname, + content: n == null ? void 0 : n.content, + toNickname: (f = (u = n == null ? void 0 : n.toUserContact) == null ? void 0 : u.contact) != + null && f.nickname ? (h = (d = n.toUserContact) == null ? void 0 : d.contact) == null ? + void 0 : h.nickname : "", + localClientMsgId: "".concat(t == null ? void 0 : t.clientMsgId) + }; + n.type === Ve.description && (r.nickname = "涓婚"), delete t.item; + const i = await ke.liveTopComment(t); + return this.SET_LOCAL_TOPMSG(r), i + } + async postLiveMsg(t) { + var i, o, s, a, c, l; + const n = { + clientMsgId: "local_msg_".concat(t.clientMsgId), + type: on.typeComment, + localClientMsgId: "".concat(t.clientMsgId), + content: "".concat((i = t.msg) == null ? void 0 : i.content) + }; + this.isAnchor ? Object.assign(n, { + finderLiveContact: { + contact: this.myAccount + } + }) : Object.assign(n, { + finderLiveContact: { + badgeInfos: this.myBadgeInfos, + contact: { + nickname: this.isUserHideIdentity ? "***" : (o = this.currentAlias) == null ? + void 0 : o.nickname, + username: (s = this.currentAlias) == null ? void 0 : s.username, + headUrl: (a = this.currentAlias) == null ? void 0 : a.headImgUrl + } + } + }); + const r = await ke.finderPostLiveMsg(t); + if ((l = (c = r.data) == null ? void 0 : c.baseResponse) != null && l.Ret) { + const u = r.data.baseResponse.Ret; + if (u === ht.MM_FINDER_LIVE_ERR_NOT_REALNAME_COMMENT || u === ht.MM_FINDER_LIVE_ERR_BAN_POST_MSG || + u === ht.MM_FINDER_LIVE_ERR_BAN_LIVE_COMMENT_ALL || u === ht + .MM_FINDER_LIVE_ERR_SENSITIVE_WORD || u === ht.MM_FINDER_LIVE_ERR_LIVE_ANTISPAM) return r + } + this.SET_LOCAL_MSG(n) + } + async postLiveAppMsg(t) { + var o, s, a, c, l, u, f, d, h, p; + const n = { + clientMsgId: "local_msg_".concat((o = t.msg) == null ? void 0 : o.clientMsgId), + content: "".concat((a = Ce((s = t.msg) == null ? void 0 : s.payload)) == null ? void 0 : a + .content), + localClientMsgId: "".concat((c = t.msg) == null ? void 0 : c.clientMsgId), + type: Ve.reply, + toUserContact: (l = t.msg) == null ? void 0 : l.toUserContact + }, + r = { + badgeInfos: this.myBadgeInfos, + contact: { + nickname: this.isUserHideIdentity ? "***" : (u = this.currentAlias) == null ? void 0 : u + .nickname, + username: (f = this.currentAlias) == null ? void 0 : f.username, + headUrl: (d = this.currentAlias) == null ? void 0 : d.headImgUrl + } + }; + this.isAnchor ? Object.assign(n, { + finderLiveContact: { + contact: this.myAccount + }, + fromUserContact: { + contact: this.myAccount + } + }) : Object.assign(n, { + finderLiveContact: r, + fromUserContact: r + }); + const i = await ke.finderPostLiveAppMsg(t); + if ((p = (h = i.data) == null ? void 0 : h.baseResponse) != null && p.Ret) { + const _ = i.data.baseResponse.Ret; + if (_ === ht.MM_FINDER_LIVE_ERR_NOT_REALNAME_COMMENT || _ === ht.MM_FINDER_LIVE_ERR_BAN_POST_MSG || + _ === ht.MM_FINDER_LIVE_ERR_BAN_LIVE_COMMENT_ALL || _ === ht + .MM_FINDER_LIVE_ERR_SENSITIVE_WORD || _ === ht.MM_FINDER_LIVE_ERR_LIVE_ANTISPAM) return i + } + this.SET_LOCAL_MSG(n) + } + setFontGear(t) { + this.SET_FONTGEAT(t) + } + async getLiveOnlineMember() { + var r, i, o, s, a, c; + const t = {}; + t.liveId = (i = (r = this.live) == null ? void 0 : r.liveInfo) == null ? void 0 : i.liveId, t.objectId = + (o = this.live) == null ? void 0 : o.id, t.finderUsername = (s = this.myAccount) == null ? void 0 : + s.username, t.objectNonceId = (a = this.live) == null ? void 0 : a.objectNonceId, t.scene = this + .isAnchor ? 1 : 2; + const n = await ke.finderGetLiveOnlineMember(t); + (c = n == null ? void 0 : n.data) != null && c.liveContacts && this.SET_ONLINE_CONTACTS(n.data + .liveContacts) + } + async getLiveKtvPlayMember() { + var n, r, i, o, s, a; + const t = {}; + t.liveId = ((r = (n = this.live) == null ? void 0 : n.liveInfo) == null ? void 0 : r.liveId) || "", t + .objectId = ((i = this.live) == null ? void 0 : i.id) || "", t.finderUsername = ((o = this + .myAccount) == null ? void 0 : o.username) || "", t.anchorFinderUsername = (a = (s = this + .live) == null ? void 0 : s.contact) == null ? void 0 : a.username, t.scene = this.isAnchor ? + 1 : 2, await ke.finderLiveKtvGetPlayMember(t) + } + async getLiveKtvQRCode() { + var r, i, o, s, a, c, l, u; + const t = {}; + t.liveId = ((i = (r = this.live) == null ? void 0 : r.liveInfo) == null ? void 0 : i.liveId) || "", t + .objectId = ((o = this.live) == null ? void 0 : o.id) || "", t.finderUsername = ((s = this + .myAccount) == null ? void 0 : s.username) || "", t.anchorFinderUsername = (c = (a = this + .live) == null ? void 0 : a.contact) == null ? void 0 : c.username, t.functionType = Ha + .MMFinderLiveFunctionGuideType_KtvGetSongList; + const n = await ke.finderLiveKtvGetQRCode(t); + (l = n.data) != null && l.qrcodeBuffer && this.SET_KTV_QRCODE("data:image/jpg;base64,".concat((u = n + .data) == null ? void 0 : u.qrcodeBuffer)) + } + async getLiveKtvResource() { + var n, r, i, o, s, a; + const t = {}; + t.liveId = ((r = (n = this.live) == null ? void 0 : n.liveInfo) == null ? void 0 : r.liveId) || "", t + .objectId = ((i = this.live) == null ? void 0 : i.id) || "", t.finderUsername = ((o = this + .myAccount) == null ? void 0 : o.username) || "", t.anchorFinderUsername = (a = (s = this + .live) == null ? void 0 : s.contact) == null ? void 0 : a.username, t.requestResourceFlag = $a + .RequestResourceFlagReverb, await ke.finderLiveKtvGetResource(t) + } + setSeiInfo(t) { + try { + if (t.wxT === 16) { + const { + d: n + } = t; + if (!n) return; + const r = JSON.parse(n); + if (r != null && r.userId && this.SET_ANCHOR_CONNECT_INFO(r), r != null && r.as) { + r != null && r.as && this.SET_LIVE_MODE_INFO({ + liveMode: 2, + liveSubMode: r.as + }); + const { + lm: i + } = t; + if (i) { + const c = JSON.parse(i); + this.SET_LIVE_MODE_INFO({ + liveMode: c == null ? void 0 : c.lm, + liveSubMode: c == null ? void 0 : c.lsm + }) + } + const { + ks: o + } = t; + if (o) { + const c = JSON.parse(o); + c != null && c.cs || this.SET_KTV_SEI(null) + } + const { + am: s + } = t; + if (!s) return; + const a = JSON.parse(s); + a && (this.SET_AUDIO_SEI_CONNECT_LIST(a), this.updateMyUserStatus()) + } else { + if ((r == null ? void 0 : r.userId) !== this.liveSdkInfo.sdkCreateUserId) return; + const { + m: i + } = t; + if (!i) this.CLEAT_CONNECT_LIST(), this.RESET_SEI_INFO(); + else { + const o = JSON.parse(i); + o && (this.SET_SEI_CONNECT_LIST(o), this.updateMyUserStatus()) + } + } + } + if (t.wxT === 256) { + if (!t.ktvSeiData) return; + this.SET_KTV_SEI(t.ktvSeiData) + } + } catch (n) {} + } + async getFinderFollow(t) { + var i, o, s; + const n = {}; + n.posterUsername = t.posterUsername, n.finderUsername = t.finderUsername, n.optype = t.optype, n + .enterType = t.enterType, n.refObjectid = (i = this.live) == null ? void 0 : i.id, t + .sessionBuffer && (n.sessionBuffer = t.sessionBuffer); + const r = await qe.finderFollow(n); + return ((s = (o = r == null ? void 0 : r.data) == null ? void 0 : o.BaseResponse) == null ? void 0 : s + .Ret) !== 0 ? !1 : (this.SET_LOCAL_FOLLOWED(!0), !0) + } + clearConnectList() { + this.CLEAT_CONNECT_LIST() + } + resetSeiInfo() { + this.RESET_SEI_INFO(), this.UPDATE_CONNECT_LIST_SHOW() + } + updateConnectListShow() { + this.UPDATE_CONNECT_LIST_SHOW() + } + setConnectVideoSize(t) { + this.SET_CONNECT_SIZE(t), !t && this.connectSeiList.length && this.clearConnectList() + } + SET_IS_SWITCHING_IDENTITY(t) { + this.isSwitchingIdentity = t + } + async switchIdentity({ + targetAliasRole: t + }) { + var i, o, s, a; + if (this.isSwitchingIdentity) return !1; + this.SET_IS_SWITCHING_IDENTITY(!0); + const n = { + targetAliasRole: t, + liveId: (o = (i = this.live) == null ? void 0 : i.liveInfo) == null ? void 0 : o.liveId, + objectId: (s = this.live) == null ? void 0 : s.id + }; + this.currentAlias.roleType === Vt.FINDER_LIVE_ALIAS_ROLE_TYPE_FINDER && (n.finderUsername = (a = this + .myAccount) == null ? void 0 : a.username), this.SET_IS_GET_LIVE_MSG_PAUSED(!0); + const r = await ke.finderLiveSwitchIdentity(n); + return cn(r) ? (this.SET_IS_SWITCHING_IDENTITY(!1), !1) : (this.SET_MY_ALIAS({ + currentAliasRoleType: t, + aliasInfo: this.aliasInfo + }), this.SET_IS_SWITCHING_IDENTITY(!1), this.CLEAR_PROMOTE_POP(), await this.joinLive(!0), this + .SET_IS_GET_LIVE_MSG_PAUSED(!1), !0) + } + async reloadEnter() { + this.SET_IS_GET_LIVE_MSG_PAUSED(!0), await this.joinLive(!0), this.SET_IS_GET_LIVE_MSG_PAUSED(!1) + } + SET_HAS_REPORTED_LIVE_START_PLAYING(t) { + this.hasReportedLiveStartPlaying = t + } + setHasReportedLiveStartPlaying(t) { + this.SET_HAS_REPORTED_LIVE_START_PLAYING(t) + } + SET_LAST_START_PLAYING_TIME(t) { + this.lastStartPlayingTime = t + } + updateLastStartPlayingTime() { + this.SET_LAST_START_PLAYING_TIME(Date.now()) + } + clearLastStartPlayingTime() { + this.SET_LAST_START_PLAYING_TIME(0) + } + settleLiveDuration() { + if (this.lastStartPlayingTime === 0) return; + const t = Date.now(), + n = t - this.lastStartPlayingTime; + if (n <= 0) { + Ne.catch(new hn("鐩存挱瑙傜湅鏃堕暱涓婃姤璐熸暟", "鐩存挱涓婃姤闂鎺㈤拡"), { + log: "pt:".concat(this.lastStartPlayingTime, ",ct:").concat(t) + }), this.clearLastStartPlayingTime(); + return + } + this.clearLastStartPlayingTime(), Ne.reportCustomBehavior("liveEndPlaying", { + liveDuration: n + }) + } + SET_CHOSEN_CDN_URL(t) { + this.chosenCdnUrl = t == null ? void 0 : t.replace(/^http:\/\//, "https://") + } + changeStreamLevel(t) { + this.cdnTransInfo.forEach(n => { + n.quality_tag === t && n.url && this.SET_CHOSEN_CDN_URL(n.url) + }) + } + SET_LOGOS_INFO(t) { + this.finderLogo = t.finderLogo, this.brandLogo = t.brandLogo + } + async finderlivesynclogo() { + var i, o, s, a, c, l, u, f, d, h; + const t = { + cmdId: Lr.MMFinderLiveSyncExtraInfoCmdID_UpdateLiveLogo + }, + n = { + anchorFinderusername: (o = (i = this.live) == null ? void 0 : i.contact) == null ? void 0 : o + .username, + finderUsername: (s = this.myAccount) == null ? void 0 : s.username, + liveCookies: this.liveCookies, + objectId: (a = this.live) == null ? void 0 : a.id, + liveId: (l = (c = this.live) == null ? void 0 : c.liveInfo) == null ? void 0 : l.liveId, + syncReqList: [t] + }, + r = await ke.finderLiveSyncExtraInfo(n); + if ((f = (u = r.data) == null ? void 0 : u.syncResp) != null && f[0]) { + const p = (h = (d = r.data) == null ? void 0 : d.syncResp) == null ? void 0 : h[0]; + try { + const { + respBuffer: _, + requestIntervalSec: m + } = p, g = Pe(Ce(_)); + g && this.SET_LOGOS_INFO(g), m && window.setTimeout(() => { + this.finderlivesynclogo() + }, m * 1e3) + } catch (_) {} + } + } + async refreshShopShelf() { + this.isShowShopPopover && this.getLiveShopShelfInfo() + } + async finderlivesyncpromote() { + var o, s, a, c, l, u, f, d, h, p, _, m, g, b; + this.syncPromoteTimer && (window.clearTimeout(this.syncPromoteTimer), this.SET_PROMOTE_TIMER(0)); + const t = { + current_promoting_id: this.promoteInfo.id, + ext_buffer: this.promoteInfo.extBuffer, + promote_info_buffer: this.promoteInfo.promoteInfoBuffer + }, + n = { + cmdId: Lr.MMFinderLiveSyncExtraInfoCmdID_UpdatePromoteInfoStatusWithSeq, + reqBuffer: wi(t) + }, + r = { + anchorFinderusername: (s = (o = this.live) == null ? void 0 : o.contact) == null ? void 0 : s + .username, + finderUsername: (a = this.myAccount) == null ? void 0 : a.username, + liveCookies: this.liveCookies, + objectId: (c = this.live) == null ? void 0 : c.id, + liveId: (u = (l = this.live) == null ? void 0 : l.liveInfo) == null ? void 0 : u.liveId, + syncReqList: [n] + }, + i = await ke.finderLiveSyncExtraInfo(r); + if ((d = (f = i.data) == null ? void 0 : f.syncResp) != null && d[0]) { + const y = (p = (h = i.data) == null ? void 0 : h.syncResp) == null ? void 0 : p[0], + { + respBuffer: S, + requestIntervalSec: w + } = y, + k = Pe(Ce(S)), + { + newPromoteInfo: v, + promotingFlag: I + } = k; + if (v != null && v.id && (v != null && v.type)) { + const T = (m = (_ = this.liveCurrentProductInfo) == null ? void 0 : _.productInfo) == null ? + void 0 : m.productId; + switch (this.CLEAR_PROMOTE_POP(), v == null ? void 0 : v.type) { + case Dt.MMFinderLiveJumpInfoType_JumpInfo: { + this.SET_PROMOTE_INFO({ + id: v.id, + extBuffer: v.extBuffer, + promoteInfoBuffer: v.promoteInfoBuffer, + isShow: (v == null ? void 0 : v.supportPc) && !!I + }); + break + } + case Dt.MMFinderLiveJumpInfoType_LiveNotice: + break; + case Dt.MMFinderLiveJumpInfoType_Product: { + this.SET_CURRENT_PRODUCT_INFO({ + id: v.id, + extBuffer: v.extBuffer, + promoteInfoBuffer: v.promoteInfoBuffer, + isShow: !v.cancel + }); + break + } + } + T !== ((b = (g = this.liveCurrentProductInfo) == null ? void 0 : g.productInfo) == null ? + void 0 : b.productId) && this.refreshShopShelf() + } + if (w) { + const T = window.setTimeout(() => { + this.finderlivesyncpromote() + }, w * 1e3); + this.SET_PROMOTE_TIMER(T) + } + } + } + async applyMicWithAudience(t) { + var r, i; + this.SET_APPLY_STATUS_WAITING(); + const n = await ke.finderLiveApplyMicWithAudience(t); + return (r = n.data) != null && r.sessionId ? this.SET_APPLYMIC_SESSION((i = n.data) == null ? void 0 : i + .sessionId) : this.SET_APPLY_STATUS_INIT(), n + } + async closeMicWithAudience() { + var c, l, u, f, d, h; + const t = On({ + micSdkUserId: this.applyMicSdkInfo.sdkUserId || this.liveSdkInfo.sdkUserId + }), + n = wi(t), + r = Wl(), + o = { + toUserContact: { + contact: (c = this.live) == null ? void 0 : c.contact + }, + msgType: Xe.MMFinder_LiveAppMsg_Type_CloseMic, + sessionId: this.applyMicSessionId, + clientMsgId: "pc_".concat((l = this.myAccount) == null ? void 0 : l.username, "_").concat(r), + payload: n + }, + s = { + liveCookies: "".concat(this.liveCookies), + msg: o, + liveId: "".concat((f = (u = this.live) == null ? void 0 : u.liveInfo) == null ? void 0 : f + .liveId), + scene: Pa.MMFinderLive_Scene_Viewer, + objectId: "".concat((d = this.live) == null ? void 0 : d.id), + finderUsername: "".concat(((h = this.myAccount) == null ? void 0 : h.username) || ""), + isFromH5Transfer: !0 + }; + await ke.finderLiveCloseMicWithAudience(s) && this.liveStatus === 1 && (this.applyMicStatus === 2 ? Ci + .toast("宸茬粨鏉熻繛楹�", 1e3) : (Ci.toast("宸插彇娑�", 1e3), this.SET_APPLY_STATUS_INIT())) + } + async refreshMicWithAudience(t) { + var r; + const n = await ke.finderLiveRefreshMicWithAudience(t); + return (r = n.data) != null && r.liveSdkInfo && this.UPDATE_APPLYMIC_INFO(n.data.liveSdkInfo), n + } + setApplyType(t) { + this.SET_APPLY_TYPE(t) + } + setDevices(t) { + this.SET_DEVICES(t) + } + setCurrentDevices(t) { + this.SET_CURRENT_DEVICES(t) + } + setApplyMicMuted(t) { + this.SET_APPLY_MIC_MUTED(t) + } + trtcConnectAddUser(t) { + this.TRTC_ADD_USER(t), this.updateConnectListShow() + } + trtcConnectRemoveUser(t) { + this.TRTC_REMOVE_USER(t), this.updateConnectListShow() + } + trtcConnectUpdateUser(t) { + this.TRTC_UPDATE_STATUS(t) + } + updateApplyMicAudioLevel(t) { + this.SET_APPLYMIC_AUDIO_LEVEL(t) + } + resetTrtcWaitingStatus() { + this.RESET_APPLY_STATUS_WAITING() + } + SET_WXWORK_CONTEXT(t) { + this.wxworkContext = t + } + async getAppmsgContextFromWeb() { + var n; + const t = await qe.finderGetAppmsgContextFromWeb({ + type: oa.kTypeLive, + oid: gt("oid"), + nid: gt("nid"), + eid: decodeURIComponent(gt("eid")) + }); + (n = t == null ? void 0 : t.data) != null && n.context && this.SET_WXWORK_CONTEXT(t.data.context) + } + SET_LIVE_INFO(t) { + this.endLiveInfo = t + } + SET_REPLAY_URL(t) { + this.renderReplayUrl = t + } + async getLiveInfo() { + var n, r, i, o, s, a, c, l, u, f, d; + const t = await ke.finderGetLiveInfo({ + liveId: (r = (n = this.live) == null ? void 0 : n.liveInfo) == null ? void 0 : r.liveId + }); + return (i = t.data) != null && i.liveInfo && this.SET_LIVE_INFO((o = t.data) == null ? void 0 : o + .liveInfo), (c = (a = (s = t.data) == null ? void 0 : s.liveInfo) == null ? void 0 : a + .replayInfo) != null && c.renderReplayUrl && this.SET_REPLAY_URL((f = (u = (l = t.data) == + null ? void 0 : l.liveInfo) == null ? void 0 : u.replayInfo) == null ? void 0 : f + .renderReplayUrl), (d = t.data) == null ? void 0 : d.liveInfo + } + SET_RELATED_LIST_SHOW(t) { + this.showRelatedList = t + } + setShowRelatedList(t) { + this.SET_RELATED_LIST_SHOW(t), me.setLocal(Se.liveRelatedList, t) + } + get liveCardStyle() { + return { + titleSize: 14, + titleMarginBottom: 1, + infoPadding: [8, 0, 0, 0], + footerPadding: [28, 8, 8, 8], + avatarSize: 16, + infoFontSize: 12, + infoLineHeight: 16 + } + } + RESET_RELATED_LIST(t) { + const n = (t == null ? void 0 : t.object) || []; + this.relatedList = [...n.map(r => new at(r))], this.relatedLastBuffer = t.lastBuffer, this + .relatedPlaceholder = !1 + } + SET_RELATED_LIST(t) { + const n = (t == null ? void 0 : t.object) || []; + this.relatedList = [...this.relatedList, ...n.map(r => new at(r))], this.relatedLastBuffer = t + .lastBuffer + } + SET_RELATED_LOADING(t) { + this.isRelatedLoading = t + } + async resetRelatedList() { + var i, o, s; + const t = {}; + t.lastBuffer = "", t.objectId = (i = this.live) == null ? void 0 : i.id, t.objectNonceId = (o = this + .live) == null ? void 0 : o.objectNonceId, t.scene = ni.MMFinder_Recommend_PC_Live, t + .sessionBuffer = (s = this.live) == null ? void 0 : s.sessionBuffer, this.SET_RELATED_LOADING(!0); + const n = await qe.finderGetRecommend(t); + this.SET_RELATED_LOADING(!1); + const { + data: r + } = n; + r && this.RESET_RELATED_LIST(r) + } + async getRelatedList() { + var i, o, s; + const t = {}; + t.lastBuffer = this.relatedLastBuffer, t.objectId = (i = this.live) == null ? void 0 : i.id, t + .objectNonceId = (o = this.live) == null ? void 0 : o.objectNonceId, t.scene = ni + .MMFinder_Recommend_PC_Live, t.sessionBuffer = (s = this.live) == null ? void 0 : s.sessionBuffer, + this.SET_RELATED_LOADING(!0); + const n = await qe.finderGetRecommend(t); + this.SET_RELATED_LOADING(!1); + const { + data: r + } = n; + r && this.SET_RELATED_LIST(r) + } + async audienceReserveLive(t) { + var i, o, s; + const n = { + noticeId: t.noticeId, + optype: t.optype, + anchorFinderUsername: (o = (i = this.live) == null ? void 0 : i.contact) == null ? void 0 : o + .username, + scene: Kr.FinderAudienceReserveLive_LiveReserveEvent, + sessionBuffer: (s = this.live) == null ? void 0 : s.sessionBuffer + }, + r = await ke.finderAudienceReserveLive(n); + return t.optype === ii.FinderAudienceReserveOpType_Reserve && this.SET_LIVE_RESERVE_STATUS(0), t + .optype === ii.FinderAudienceReserveOpType_Unreserve && this.SET_LIVE_RESERVE_STATUS(1), r + } + SET_LIVE_SHOP_SHELF_INFO(t, n) { + this.liveShopShelfInfo = t, this.liveShopShelfInfoReqTime = n + } + SET_SHOW_SHOP_POPOVER(t) { + this.isShowShopPopover = t + } + toggleShopPopover(t) { + const n = t === void 0 ? !this.isShowShopPopover : t; + n && this.getLiveShopShelfInfo(), this.SET_SHOW_SHOP_POPOVER(n) + } + async getLiveShopShelfInfo() { + var o, s, a, c, l, u, f, d, h, p, _, m, g, b, y; + if (!((s = (o = this.live) == null ? void 0 : o.liveInfo) != null && s.liveId)) return; + const t = performance.now(), + n = { + anchorFinderUsername: (c = (a = this.live) == null ? void 0 : a.contact) == null ? void 0 : c + .username, + finderUsername: (l = this.myAccount) == null ? void 0 : l.username, + liveCookies: this.liveCookies, + objectId: (u = this.live) == null ? void 0 : u.id, + liveId: (d = (f = this.live) == null ? void 0 : f.liveInfo) == null ? void 0 : d.liveId + }, + r = wi(On(n)), + i = await ke.finderLiveGetShopShelf({ + transferBasereq: { + objectId: (h = this.live) == null ? void 0 : h.id, + liveId: (_ = (p = this.live) == null ? void 0 : p.liveInfo) == null ? void 0 : _.liveId, + scene: 2, + authorFinderUsername: (g = (m = this.live) == null ? void 0 : m.contact) == null ? + void 0 : g.username + }, + reqdata: r + }); + if ((b = i.data) != null && b.respdata) { + if (t < this.liveShopShelfInfoReqTime) return; + const S = hh(), + w = Pe(Ce(i.data.respdata)); + w.itemList = (y = w.itemList) == null ? void 0 : y.map(k => { + if (k.itemType === Va.MMFinderLiveShopWindowItem_Product) { + const v = Pe(Ce(k.extInfo)); + return S.addProduct(v), { + itemType: k.itemType, + extInfo: v + } + } + return k + }), this.SET_LIVE_SHOP_SHELF_INFO(w, t) + } + } + spliceBigRewardList() { + this.SPLICE_BIGREWARD_LIST() + } + SET_GIFT_LIST(t) { + this.giftList = t + } + async getLiveRewardGiftList() { + var n, r, i, o, s, a, c, l; + const t = await ke.finderGetLiveRewardGiftList({ + objectId: (n = this.live) == null ? void 0 : n.id, + liveId: ((i = (r = this.live) == null ? void 0 : r.liveInfo) == null ? void 0 : i.liveId) || + "", + username: (s = (o = this.live) == null ? void 0 : o.contact) == null ? void 0 : s.username, + selfFinderUsername: this.myAccount.username, + liveCookies: this.liveCookies || "", + scene: 2, + liveScene: 2, + pullScene: 2 + }); + (c = (a = t.data) == null ? void 0 : a.giftList) != null && c.length && this.SET_GIFT_LIST((l = t + .data) == null ? void 0 : l.giftList) + } + SET_XWEBLAYER_FAILED() { + this.isXweblayerFailed = !0 + } + backToFlvPlayer() { + this.SET_XWEBLAYER_FAILED() + } + backToH264Stream() { + const t = Ce(this.liveSdkInfo.sdkParams), + { + channel_params: n + } = t, + { + cdn_quality_h265backcfg: r, + cdn_trans_info: i + } = n, + o = i.find(s => s.quality_tag === r); + o.url && this.SET_CHOSEN_CDN_URL(o.url) + } + setDebugMessage(t) { + const n = [], + r = {}; + r.clientMsgId = "system".concat(new Date().getTime()), r.type = Ve.syetem, r.content = t, n.push(r), + this.SET_COMMENT_STORE(n) + } +}; +R([G], x.prototype, "SET_BODY_STYLE", 1); +R([ie], x.prototype, "setBodyStyle", 1); +R([G], x.prototype, "SET_SIDEBAR_BREAK", 1); +R([ie], x.prototype, "setSidebarBreak", 1); +R([G], x.prototype, "SET_FULLSCREEN", 1); +R([ie], x.prototype, "setFullscreen", 1); +R([G], x.prototype, "SET_LOCAL_FOLLOWED", 1); +R([ie], x.prototype, "setLocalFollowed", 1); +R([G], x.prototype, "SET_FOLLOWBUTTON", 1); +R([G], x.prototype, "SET_LIVE", 1); +R([G], x.prototype, "SET_LIVE_STATUS", 1); +R([G], x.prototype, "SET_ERR_MSG", 1); +R([G], x.prototype, "SET_NO_PERMISSION", 1); +R([G], x.prototype, "SET_STREAM_URL", 1); +R([G], x.prototype, "SET_LIVE_MODE_INFO", 1); +R([G], x.prototype, "SET_LIVE_FLAG", 1); +R([G], x.prototype, "SET_COUNT", 1); +R([G], x.prototype, "ADD_LOCAL_COUNT", 1); +R([G], x.prototype, "SET_COUNT_PARTICI", 1); +R([G], x.prototype, "SET_COUNT_ONLINE", 1); +R([G], x.prototype, "SET_LAST_LIVEMSG", 1); +R([G], x.prototype, "SET_LIVECOOKIE", 1); +R([G], x.prototype, "SET_LIVEEXTFLAG", 1); +R([G], x.prototype, "SET_HIDE_MESSAGE", 1); +R([G], x.prototype, "SET_ANCHOR_ENTER_BG", 1); +R([G], x.prototype, "SET_ENABLE_REWARD", 1); +R([G], x.prototype, "SET_ENABLE_AUDIO", 1); +R([G], x.prototype, "SET_ENABLE_CONNECT_MIC", 1); +R([G], x.prototype, "SET_DISABLED_LIKELIVE", 1); +R([G], x.prototype, "SET_ENABLE_SHOP", 1); +R([G], x.prototype, "SET_SHOW_LAYER_INFO", 1); +R([G], x.prototype, "SET_PAUSE_TIME", 1); +R([G], x.prototype, "SET_PAUSE_WRD", 1); +R([G], x.prototype, "SET_BIGREWARD_LIST", 1); +R([G], x.prototype, "SPLICE_BIGREWARD_LIST", 1); +R([G], x.prototype, "UPDATE_COMMENT", 1); +R([G], x.prototype, "CLEAR_COMPUTE_LIST", 1); +R([G], x.prototype, "CLEAR_COMMENT_LIST_STORE", 1); +R([G], x.prototype, "SET_COMMENT_STORE", 1); +R([G], x.prototype, "SET_LOCAL_COMENT_STORE", 1); +R([G], x.prototype, "UPDATE_JOIN", 1); +R([G], x.prototype, "UPDATE_TOP_COMMENT", 1); +R([G], x.prototype, "GET_CURRENT_TOPCOMMENT", 1); +R([G], x.prototype, "GET_CURRENT_JOIN", 1); +R([G], x.prototype, "SET_MY_ACCOUNT", 1); +R([G], x.prototype, "SET_MY_ALIAS", 1); +R([G], x.prototype, "SET_MY_WX_USERNAME", 1); +R([G], x.prototype, "SET_BADGE_INFO", 1); +R([G], x.prototype, "SET_REPLY_WAITING", 1); +R([G], x.prototype, "SET_GLOBAL_COMMENT_STATE", 1); +R([G], x.prototype, "SET_USER_COMMENT_STATE", 1); +R([G], x.prototype, "SET_SDK_INFO", 1); +R([G], x.prototype, "SET_CHEER_INFO", 1); +R([G], x.prototype, "SET_LIVEROOM_IMG", 1); +R([G], x.prototype, "SET_ANCHOR_INVITE_MIC_WITH_AUDIENCE", 1); +R([G], x.prototype, "CLEAR_PROMOTE_POP", 1); +R([G], x.prototype, "SET_PROMOTE_TIMER", 1); +R([G], x.prototype, "SET_PROMOTE_INFO", 1); +R([G], x.prototype, "SET_CURRENT_PRODUCT_INFO", 1); +R([G], x.prototype, "SET_LIVE_NOTICE_CARD", 1); +R([G], x.prototype, "SET_LIVE_RESERVE_STATUS", 1); +R([G], x.prototype, "SET_MANDATORY", 1); +R([G], x.prototype, "SET_LOCAL_FILTER", 1); +R([G], x.prototype, "SET_APPLY_TYPE", 1); +R([G], x.prototype, "SET_APPLY_MIC_MUTED", 1); +R([G], x.prototype, "SET_DEVICES", 1); +R([G], x.prototype, "SET_CURRENT_DEVICES", 1); +R([G], x.prototype, "SET_APPLYMIC_INFO", 1); +R([G], x.prototype, "UPDATE_APPLYMIC_INFO", 1); +R([G], x.prototype, "SET_CLOSEMIC_INFO", 1); +R([G], x.prototype, "SET_APPLYMIC_SESSION", 1); +R([G], x.prototype, "SET_APPLY_STATUS_WAITING", 1); +R([G], x.prototype, "SET_APPLY_STATUS_INIT", 1); +R([G], x.prototype, "RESET_APPLY_STATUS_WAITING", 1); +R([G], x.prototype, "SET_APPLYMIC_AUDIO_LEVEL", 1); +R([G], x.prototype, "TRTC_ADD_USER", 1); +R([G], x.prototype, "TRTC_REMOVE_USER", 1); +R([G], x.prototype, "TRTC_UPDATE_STATUS", 1); +R([G], x.prototype, "SET_ONLINE_CONTACTS", 1); +R([G], x.prototype, "SET_ANCHOR_PK", 1); +R([G], x.prototype, "SET_CROSSMIC", 1); +R([G], x.prototype, "SET_PK_INFO", 1); +R([G], x.prototype, "SET_NEW_PK_INFOS", 1); +R([G], x.prototype, "SET_CONNECT_USERLIST", 1); +R([G], x.prototype, "RESET_CONNECT_USERLIST", 1); +R([G], x.prototype, "REMOVE_OTHER_DEVICE_CONNECT", 1); +R([G], x.prototype, "REMOVE_CONNECT_USERLIST", 1); +R([G], x.prototype, "CLEAT_CONNECT_LIST", 1); +R([G], x.prototype, "RESET_SEI_INFO", 1); +R([G], x.prototype, "SET_MY_USER_STATUS", 1); +R([ie], x.prototype, "UPDATE_MY_USER_STATUS", 1); +R([G], x.prototype, "SET_AUDIENCE_MIC_LIST", 1); +R([ie], x.prototype, "updateMyUserStatus", 1); +R([G], x.prototype, "SET_SEI_CONNECT_LIST", 1); +R([G], x.prototype, "SET_AUDIO_SEI_CONNECT_LIST", 1); +R([G], x.prototype, "SET_ANCHOR_CONNECT_INFO", 1); +R([G], x.prototype, "UPDATE_CONNECT_LIST_SHOW", 1); +R([G], x.prototype, "SET_FONTGEAT", 1); +R([G], x.prototype, "SET_GET_MSG_READY", 1); +R([G], x.prototype, "SET_JOINLIVE_READY", 1); +R([G], x.prototype, "SET_TEMPLATE_INFO", 1); +R([G], x.prototype, "SET_CLIENT_CONFIG", 1); +R([G], x.prototype, "SET_BIZ_INFO", 1); +R([G], x.prototype, "SET_DETAIL_TEMPLATE_INFO", 1); +R([G], x.prototype, "SET_LIVEMSG_COVER", 1); +R([G], x.prototype, "SET_CONNECT_SIZE", 1); +R([ie], x.prototype, "SET_LOCAL_MSG", 1); +R([ie], x.prototype, "SET_LOCAL_TOPMSG", 1); +R([ie], x.prototype, "HANDLE_ERR_CODE", 1); +R([ie], x.prototype, "UPDATE_LISTS", 1); +R([ie], x.prototype, "UPDATE_APP_LISTS", 1); +R([ie], x.prototype, "UPDATE_AUDIENCE_HEAT", 1); +R([G], x.prototype, "SET_KTV_QRCODE", 1); +R([G], x.prototype, "SET_KTV_SEI", 1); +R([G], x.prototype, "SET_SEAT_INFO", 1); +R([ie], x.prototype, "updateComments", 1); +R([ie], x.prototype, "clearComputeList", 1); +R([ie], x.prototype, "getLive", 1); +R([ie], x.prototype, "finderInit", 1); +R([G], x.prototype, "UPDATE_LAST_JOIN_LIVE_TIME", 1); +R([ie], x.prototype, "joinLive", 1); +R([G], x.prototype, "SET_IS_GET_LIVE_MSG_PAUSED", 1); +R([ie], x.prototype, "getLiveMsg", 1); +R([ie], x.prototype, "getLiveMsgStoped", 1); +R([ie], x.prototype, "handleAnchorStatus", 1); +R([G], x.prototype, "SET_MIC_SETTING", 1); +R([ie], x.prototype, "setAnchorStatus", 1); +R([ie], x.prototype, "setShowLayerInfo", 1); +R([ie], x.prototype, "getCurrentTopComment", 1); +R([ie], x.prototype, "getCurrentJoin", 1); +R([ie], x.prototype, "addLike", 1); +R([ie], x.prototype, "setReplyWaiting", 1); +R([ie], x.prototype, "cancelReplyWaiting", 1); +R([ie], x.prototype, "LiveTopComment", 1); +R([ie], x.prototype, "postLiveMsg", 1); +R([ie], x.prototype, "postLiveAppMsg", 1); +R([ie], x.prototype, "setFontGear", 1); +R([ie], x.prototype, "getLiveOnlineMember", 1); +R([ie], x.prototype, "getLiveKtvPlayMember", 1); +R([ie], x.prototype, "getLiveKtvQRCode", 1); +R([ie], x.prototype, "getLiveKtvResource", 1); +R([ie], x.prototype, "setSeiInfo", 1); +R([ie], x.prototype, "getFinderFollow", 1); +R([ie], x.prototype, "clearConnectList", 1); +R([ie], x.prototype, "resetSeiInfo", 1); +R([ie], x.prototype, "updateConnectListShow", 1); +R([ie], x.prototype, "setConnectVideoSize", 1); +R([G], x.prototype, "SET_IS_SWITCHING_IDENTITY", 1); +R([ie], x.prototype, "switchIdentity", 1); +R([ie], x.prototype, "reloadEnter", 1); +R([G], x.prototype, "SET_HAS_REPORTED_LIVE_START_PLAYING", 1); +R([ie], x.prototype, "setHasReportedLiveStartPlaying", 1); +R([G], x.prototype, "SET_LAST_START_PLAYING_TIME", 1); +R([ie], x.prototype, "updateLastStartPlayingTime", 1); +R([ie], x.prototype, "clearLastStartPlayingTime", 1); +R([ie], x.prototype, "settleLiveDuration", 1); +R([G], x.prototype, "SET_CHOSEN_CDN_URL", 1); +R([ie], x.prototype, "changeStreamLevel", 1); +R([G], x.prototype, "SET_LOGOS_INFO", 1); +R([ie], x.prototype, "finderlivesynclogo", 1); +R([ie], x.prototype, "refreshShopShelf", 1); +R([ie], x.prototype, "finderlivesyncpromote", 1); +R([ie], x.prototype, "applyMicWithAudience", 1); +R([ie], x.prototype, "closeMicWithAudience", 1); +R([ie], x.prototype, "refreshMicWithAudience", 1); +R([ie], x.prototype, "setApplyType", 1); +R([ie], x.prototype, "setDevices", 1); +R([ie], x.prototype, "setCurrentDevices", 1); +R([ie], x.prototype, "setApplyMicMuted", 1); +R([ie], x.prototype, "trtcConnectAddUser", 1); +R([ie], x.prototype, "trtcConnectRemoveUser", 1); +R([ie], x.prototype, "trtcConnectUpdateUser", 1); +R([ie], x.prototype, "updateApplyMicAudioLevel", 1); +R([ie], x.prototype, "resetTrtcWaitingStatus", 1); +R([G], x.prototype, "SET_WXWORK_CONTEXT", 1); +R([ie], x.prototype, "getAppmsgContextFromWeb", 1); +R([G], x.prototype, "SET_LIVE_INFO", 1); +R([G], x.prototype, "SET_REPLAY_URL", 1); +R([ie], x.prototype, "getLiveInfo", 1); +R([G], x.prototype, "SET_RELATED_LIST_SHOW", 1); +R([ie], x.prototype, "setShowRelatedList", 1); +R([G], x.prototype, "RESET_RELATED_LIST", 1); +R([G], x.prototype, "SET_RELATED_LIST", 1); +R([G], x.prototype, "SET_RELATED_LOADING", 1); +R([ie], x.prototype, "resetRelatedList", 1); +R([ie], x.prototype, "getRelatedList", 1); +R([ie], x.prototype, "audienceReserveLive", 1); +R([G], x.prototype, "SET_LIVE_SHOP_SHELF_INFO", 1); +R([G], x.prototype, "SET_SHOW_SHOP_POPOVER", 1); +R([ie], x.prototype, "toggleShopPopover", 1); +R([ie], x.prototype, "getLiveShopShelfInfo", 1); +R([ie], x.prototype, "spliceBigRewardList", 1); +R([G], x.prototype, "SET_GIFT_LIST", 1); +R([ie], x.prototype, "getLiveRewardGiftList", 1); +R([G], x.prototype, "SET_XWEBLAYER_FAILED", 1); +R([ie], x.prototype, "backToFlvPlayer", 1); +R([ie], x.prototype, "backToH264Stream", 1); +R([ie], x.prototype, "setDebugMessage", 1); +x = R([Ps({ + name: "live", + namespaced: !0 +})], x); +var _h = Object.defineProperty, + gh = Object.getOwnPropertyDescriptor, + Qe = (e, t, n, r) => { + for (var i = r > 1 ? void 0 : r ? gh(t, n) : t, o = e.length - 1, s; o >= 0; o--)(s = e[o]) && (i = (r ? s(t, n, + i) : s(i)) || i); + return r && i && _h(t, n, i), i + }; +let Ge = class extends ks { + constructor() { + super(...arguments); + E(this, "AcclaimCount", 0); + E(this, "CommentsCount", 0); + E(this, "CommentContent", []); + E(this, "SingleChat", 0); + E(this, "GroupChat", 0); + E(this, "FloatDuration", 0); + E(this, "FullDuration", 0); + E(this, "RotationCount", 0); + E(this, "lastStateTime", Date.now()) + } + SET_CHEERS_COUNT(t) { + this.AcclaimCount = t + } + SET_COMMENT(t) { + this.CommentsCount += 1, this.CommentContent.push(t) + } + ADD_SINGLE_CHAT() { + this.SingleChat += 1 + } + ADD_GROUP_CHAT() { + this.GroupChat += 1 + } + ADD_ROTATE_COUNT() { + this.RotationCount += 1 + } + SET_LAST_TIME(t) { + this.lastStateTime = t + } + ADD_FLOAT_TIME(t) { + this.FloatDuration += t + } + ADD_FULLSCREEN_TIME(t) { + this.FullDuration += t + } + addCheersCount(t) { + let n = this.AcclaimCount; + n += t, this.SET_CHEERS_COUNT(n) + } + addComment(t) { + this.SET_COMMENT(t) + } + addSingleChat() { + this.ADD_SINGLE_CHAT() + } + addGroupChat() { + this.ADD_GROUP_CHAT() + } + addRotateCount() { + this.ADD_ROTATE_COUNT() + } + computeFullScreenTime(t) { + const n = t - this.lastStateTime; + this.ADD_FULLSCREEN_TIME(n), this.SET_LAST_TIME(Date.now()) + } + computeFloatScreenTime(t) { + const n = t - this.lastStateTime; + this.ADD_FLOAT_TIME(n), this.SET_LAST_TIME(Date.now()) + } + async report(t) { + Zf.report({ + FeedId: t.feedId, + LiveId: t.liveId, + AcclaimCount: this.AcclaimCount, + CommentsCount: this.CommentsCount, + CommentContent: this.CommentContent.join("|").replace(",", ""), + SingleChat: this.SingleChat, + GroupChat: this.GroupChat, + FloatDuration: this.FloatDuration, + FullDuration: this.FullDuration, + RotationCount: this.RotationCount + }) + } +}; +Qe([G], Ge.prototype, "SET_CHEERS_COUNT", 1); +Qe([G], Ge.prototype, "SET_COMMENT", 1); +Qe([G], Ge.prototype, "ADD_SINGLE_CHAT", 1); +Qe([G], Ge.prototype, "ADD_GROUP_CHAT", 1); +Qe([G], Ge.prototype, "ADD_ROTATE_COUNT", 1); +Qe([G], Ge.prototype, "SET_LAST_TIME", 1); +Qe([G], Ge.prototype, "ADD_FLOAT_TIME", 1); +Qe([G], Ge.prototype, "ADD_FULLSCREEN_TIME", 1); +Qe([ie], Ge.prototype, "addCheersCount", 1); +Qe([ie], Ge.prototype, "addComment", 1); +Qe([ie], Ge.prototype, "addSingleChat", 1); +Qe([ie], Ge.prototype, "addGroupChat", 1); +Qe([ie], Ge.prototype, "addRotateCount", 1); +Qe([ie], Ge.prototype, "computeFullScreenTime", 1); +Qe([ie], Ge.prototype, "computeFloatScreenTime", 1); +Qe([ie], Ge.prototype, "report", 1); +Ge = Qe([Ps({ + name: "liveReport", + namespaced: !0 +})], Ge); +const Ka = Tl({ + modules: { + live: x, + liveReport: Ge + }, + strict: !1 + }), + Qp = Vr(x, Ka), + e0 = Vr(Ge, Ka); + +function vh(e, t = () => "") { + const n = new Map; + return (...i) => { + const o = t(...i); + let s = n.get(o); + if (!s) { + let a = !1; + s = e(...i).finally(() => { + a = !0, n.delete(o) + }), a || n.set(o, s) + } + return s + } +} +const At = Bn("me", () => { + const e = K({ + ok: !1, + favCnt: 0, + likeCnt: 0, + followCnt: 0, + playHistorySwitch: 0 + }); + async function t() { + var A, L, O, $, B; + const T = await Uo.finderNewUserPrepare({ + scene: 8 + }); + cn(T) || (e.value = { + ok: !!T.data, + favCnt: ((A = T.data) == null ? void 0 : A.favTotalCount) || 0, + likeCnt: ((L = T.data) == null ? void 0 : L.likedTotalCount) || 0, + followCnt: ((O = T.data) == null ? void 0 : O.followTotalCount) || 0, + playHistorySwitch: ((B = ($ = T.data) == null ? void 0 : $.playHistorySettings) == + null ? void 0 : B.playHistorySwitch) || 0 + }) + } + const n = K({}), + r = ne(() => { + var T; + return ((T = n.value) == null ? void 0 : T.regionReportBuffer) || "" + }), + i = K({}), + o = K([]), + s = K({}), + a = K(""), + c = K(me.getLocal(Se.aliasRoleType, 1)), + l = K(!1), + u = K(!1), + f = ne(() => l.value || Ae.isWxwork), + d = K(me.getLocal(Se.disableFeedSwitchAliasPopover, !1)), + h = ne(() => i.value.username || ""), + p = ne(() => s.value.roleType), + _ = ne(() => { + var T; + return (T = o.value) == null ? void 0 : T.find(A => A.roleType === Vt + .FINDER_LIVE_ALIAS_ROLE_TYPE_WECHAT) + }), + m = ne(() => { + var T; + return (T = o.value) == null ? void 0 : T.find(A => A.roleType === Vt + .FINDER_LIVE_ALIAS_ROLE_TYPE_FINDER) + }), + g = ne(() => _.value && m.value), + b = K([]), + y = ne(() => { + const T = new Set; + return b.value && b.value.forEach(A => { + var L, O; + (L = A == null ? void 0 : A.contact) != null && L.username && T.add(A.contact + .username), (O = A == null ? void 0 : A.finderVersionUsernameHistory) != + null && O.length && A.finderVersionUsernameHistory.forEach($ => { + T.add($) + }) + }), T + }), + S = K(me.getLocal(Se.expt, {})); + async function w(T = !1) { + var O, $, B; + if (T && a.value) return; + const A = await qe.finderInit(), + { + data: L + } = A; + if (L != null && L.wxUsernameForH5 && (a.value = L.wxUsernameForH5, Ne.setUserInfo({ + username: L.wxUsernameForH5 + })), L != null && L.wxUserAttr && (n.value = L.wxUserAttr), L != null && L.contacts && (b + .value = L.contacts), (O = L == null ? void 0 : L.myacct) != null && O.length && (i.value = + L.myacct[0]), L != null && L.aliasInfo) { + o.value = []; + const F = me.getLocal(Se.aliasRoleType, 1); + L.aliasInfo.forEach(N => { + var P; + const U = { + ...N + }; + U.nickname && (U.nickname = jt(U.nickname)), (U.roleType === 1 || U.roleType === + 3) && (U.roleType === 1 ? U.username = a.value : U.username = (P = i.value) == + null ? void 0 : P.username, o.value.push(U)), U.roleType === F && (s.value = + U) + }) + } + L != null && L.teenmodeSetting && (l.value = !!L.teenmodeSetting.isTeenagerMode, l.value && window + .location.replace( + "https://support.weixin.qq.com/cgi-bin/mmsupport-bin/newreadtemplate?t=teenmodeban/index&lang=zh_CN" + )), L != null && L.recommendCloseConfig && (u.value = !!L.recommendCloseConfig + .closeRecommend), L != null && L.pcFinderExptInfo ? ((($ = L == null ? void 0 : L + .teenmodeSetting) != null && $.isTeenagerMode || Ae.isWxwork || !Ae.isMultiTabs) && (L + .pcFinderExptInfo.pcDirectFlow = 0, L.pcFinderExptInfo.pcDetailFlow = 0), (B = L == + null ? void 0 : L.recommendCloseConfig) != null && B.closeRecommend && (L + .pcFinderExptInfo.pcDetailFlow = 0), S.value = L.pcFinderExptInfo, me.setLocal(Se.expt, + L.pcFinderExptInfo)) : S.value = {} + } + const k = vh(w); + + function v(T) { + d.value || (d.value = !0, me.setLocal(Se.disableFeedSwitchAliasPopover, !0)), me.setLocal(Se + .aliasRoleType, T), qe.setFinderBaseReq({ + liveIdentity: T + }), Uo.setFinderBaseReq({ + liveIdentity: T + }), Yn.setFinderBaseReq({ + liveIdentity: T + }), c.value = T, o.value.forEach(A => { + A.roleType === c.value && (s.value = A) + }) + } + + function I() { + g.value && (c.value === Vt.FINDER_LIVE_ALIAS_ROLE_TYPE_WECHAT ? v(Vt + .FINDER_LIVE_ALIAS_ROLE_TYPE_FINDER) : c.value === Vt.FINDER_LIVE_ALIAS_ROLE_TYPE_FINDER && v(Vt + .FINDER_LIVE_ALIAS_ROLE_TYPE_WECHAT)) + } + return { + prepareData: e, + fetchPrepareData: t, + currentAlias: s, + wxUsername: a, + finderUsername: h, + finderInit: k, + myAccount: i, + isSearchDisabled: f, + isTeenagerMode: l, + isRecommendClosed: u, + aliasInfo: o, + canToggleAlias: g, + switchAliasPopoverHasBeenShown: d, + toggleAlias: I, + currentAliasRoleType: c, + setCurrentAlias: v, + wxAlias: _, + currentRoleType: p, + userFinderUsernames: y, + exptInfo: S, + finderContacts: b, + wxUserAttr: n, + regionReportBuffer: r + } + }), + Tn = me.getLocal(Se.expt, {}), + Qr = Bn("experiment", () => { + const e = At(), + t = ne(() => { + const v = e.exptInfo; + return v ? { + newRedDotBigCard: v.pcNewReddotBigcard || 0, + newPlayPage: v.pcNewPlayPage || 0, + finderFlow: v.pcDirectFlow || (Tn == null ? void 0 : Tn.pcDirectFlow) || 0, + pcVideoFirstFrameSize: v.pcVideoFirstFrameSize || 0, + pcVideoConcurrentNum: v.pcVideoConcurrentNum || 1, + pcDetailFlow: v.pcDetailFlow || 0, + pcVideoUserFlag: v.pcVideoUserFlag || 0, + downloadFallbackHost: v.downloadFallbackHost || [] + } : { + newRedDotBigCard: 0, + newPlayPage: 0, + finderFlow: (Tn == null ? void 0 : Tn.pcDirectFlow) || 0, + pcVideoFirstFrameSize: 0, + pcVideoConcurrentNum: 1, + pcDetailFlow: 0, + pcVideoUserFlag: 0, + downloadFallbackHost: [] + } + }), + n = ne(() => t.value.downloadFallbackHost[0] || ""), + r = ne(() => t.value.pcVideoUserFlag === Da.PCVideoUserFlag_OverSea), + i = 6 * 1e3, + o = 10 * 1e3, + s = ne(() => r.value ? i : o), + a = ne(() => i), + c = ne(() => !t.value.pcVideoFirstFrameSize), + l = ne(() => t.value.pcVideoFirstFrameSize === 1), + u = ne(() => t.value.pcVideoFirstFrameSize === 2), + f = ne(() => c.value ? 512 * 1024 : l.value ? 256 * 1024 : u.value ? 128 * 1024 : 512 * 1024), + d = ne(() => c.value ? 16 : l.value ? 32 : u.value ? 64 : 32), + h = ne(() => t.value.pcVideoConcurrentNum || 1), + p = ne(() => t.value.newRedDotBigCard !== 0), + _ = ne(() => t.value.newRedDotBigCard === 1 || t.value.newRedDotBigCard === 2), + m = ne(() => t.value.newRedDotBigCard === 1 || t.value.newRedDotBigCard === 3), + g = ne(() => t.value.newPlayPage === 1), + b = ne(() => !Ae.isWxwork && t.value.finderFlow > 0), + y = ne(() => t.value.pcDetailFlow), + S = ne(() => t.value.pcDetailFlow === 2 || t.value.pcDetailFlow === 3), + w = ne(() => t.value.pcDetailFlow === 3), + k = ne(() => t.value.finderFlow === 3); + return { + isRedDotBannerInCard: p, + isInCardRedDotBannerWithRedDot: _, + willInCardRedDotBannerDisappear: m, + isNewPlayPage: g, + finderFlow: b, + use512KVideoChunk: c, + use256KVideoChunk: l, + use128KVideoChunk: u, + videoConcurrentNum: h, + videoChunkSize: f, + videoDownloadReportSampleStep: d, + cfg: t, + detailJumpFlow: y, + detailJumpFlowOpenComment: S, + detailJumpFlowLoopPlay: w, + flowNewInteraction: k, + isOverseaUser: r, + firstBufTimeout: s, + timeout: a, + downloadFallbackHost: n + } + }); +var yh = (e => (e[e.FRIEND_LIKE = 1] = "FRIEND_LIKE", e[e.COMMENT = 2] = "COMMENT", e))(yh || {}), + Sh = (e => (e[e.MMFinderObjectStatus_EnableShare = 0] = "MMFinderObjectStatus_EnableShare", e[e + .MMFinderObjectStatus_SelfSee = 1] = "MMFinderObjectStatus_SelfSee", e[e.MMFinderObjectStatus_NotShare = + 2] = "MMFinderObjectStatus_NotShare", e[e.MMFinderObjectStatus_LocalPreview = 4] = + "MMFinderObjectStatus_LocalPreview", e))(Sh || {}), + ye = (e => (e[e.min = 1] = "min", e[e.xs = 2] = "xs", e[e.sm = 3] = "sm", e[e.md = 4] = "md", e[e.lg = 5] = "lg", e[ + e.xl = 6] = "xl", e[e.max = 7] = "max", e))(ye || {}); +const bh = Bn("breakpoint", () => { + const e = K(window.innerWidth), + t = Nr(() => { + e.value = window.innerWidth + }, 250, !0); + $e("resize", t); + const n = 48, + i = 1600 + n * 2, + o = ne(() => { + const g = e.value; + return g <= 0 ? ye.md : g <= 640 ? ye.min : g <= 900 ? ye.sm : g <= 1280 ? ye.md : g <= i ? ye + .lg : ye.max + }), + s = ne(() => { + switch (o.value) { + case ye.min: + return 2; + case ye.sm: + return 3; + case ye.lg: + case ye.max: + return 5; + case ye.md: + default: + return 4 + } + }), + a = ne(() => s.value + 1), + c = ne(() => { + switch (o.value) { + case ye.min: + return 2; + case ye.sm: + return 3; + case ye.lg: + return 5; + case ye.max: + return 6; + case ye.md: + default: + return 4 + } + }), + l = ne(() => { + switch (o.value) { + case ye.min: + return 24; + case ye.sm: + return 32; + case ye.md: + case ye.lg: + case ye.max: + default: + return n + } + }), + u = ne(() => { + switch (o.value) { + case ye.min: + return { + profile: { + titleSize: 14, + infoPadding: [10, 0, 14, 0] + } + }; + default: + return { + profile: { + titleSize: 14, + infoPadding: [12, 0, 16, 0] + } + } + } + }), + f = ne(() => ({ + paddingX: "".concat(l.value, "px"), + contentMaxWidth: "".concat(i, "px") + })), + d = ne(() => o.value === ye.min ? "small" : "normal"), + h = ne(() => { + const g = e.value; + return g <= 0 ? ye.md : g < 440 ? ye.min : g < 616 ? ye.xs : g < 880 ? ye.sm : g < 1286 ? ye + .md : g < i ? ye.lg : ye.max + }), + p = ne(() => { + switch (h.value) { + case ye.min: + case ye.xs: + return 2; + case ye.sm: + return 3; + case ye.lg: + case ye.max: + return 5; + case ye.md: + default: + return 4 + } + }), + _ = ne(() => p.value + 1), + m = ne(() => ({ + cardCol: p.value, + vertCardCol: _.value + })); + return { + windowWidth: e, + homeLiveBreakpoint: h, + homeLiveBp: m, + breakpoint: o, + gridCardCol: s, + gridMobileCardCol: a, + accountGridCardCol: c, + girdCardStyle: u, + pageStyles: f, + searchBarSize: d + } +}); +class Eh { + constructor(t, n = null) { + E(this, "queue", []); + E(this, "map", new Map); + this.size = t, this.onDeleted = n + } + get(t) { + return this.map.get(t) + } + push(t, n) { + var i; + const r = this.queue.indexOf(t); + if (r > -1) { + this.queue.splice(r, 1), this.queue.push(t), this.map.set(t, n); + return + } + if (this.queue.length >= this.size) { + const o = this.queue.shift(); + o && ((i = this.onDeleted) == null || i.call(this, o, this.map.get(o)), this.map.delete(o)) + } + this.queue.push(t), this.map.set(t, n) + } +} +var Xa = (e => (e[e.IconConfigStyle_Round = 1] = "IconConfigStyle_Round", e[e.IconConfigStyle_Square = 2] = + "IconConfigStyle_Square", e))(Xa || {}); +const wh = Ac(() => { + const e = K([]); + + function t(n, r = "info") {} + return { + logs: e, + debugLog: t + } +}); + +function eo(e) { + if (Array.isArray(e)) return e; + const t = Object.entries(e).map(([n, r]) => [n, r instanceof Object ? eo(r) : r]).filter(([n, r]) => !(r == null || + typeof r == "object" && Object.keys(r).length === 0)); + return Object.fromEntries(t) +} + +function Ih(e) { + if (!e) return; + const t = { + ...e + }; + return e.tagId && (t.tagId = rr(e.tagId)), e.fromTagId && (t.fromTagId = rr(e.fromTagId)), e.toTagId && (t.toTagId = + rr(e.toTagId)), t +} + +function Th(e) { + return !!(e && (e === "home-live-card" || e === "home-live-recommend-block-card" || e === "search-live-card" || + e === "finder-home-live-recommend-card" || e === "home-live-card-author" || e === + "home-live-recommend-block-card-author" || e === "search-live-card-author" || e === + "search-live-expand-btn" || e === "home-live-more")) +} +class Lh extends Fr { + constructor() { + super(...arguments); + E(this, "reportTypes", [kr.BEHAVIOR]) + } + async init(n) { + return super.init(n) + } + async send(n) { + await ps(); + const r = n.filter(i => { + const { + pageId: o + } = i.context.page, s = i.data.eleId || void 0, { + behaviorType: a + } = i.data; + if (o === ln.home) { + if (Th(s)) return !1 + } else if (o === ln.live) { + if (a !== Rn.PAGE_ENTER && a !== Rn.PAGE_LEAVE) return !1 + } else if (s === "comment-search-keyword") return !1; + return !0 + }).map(this.parseWebStatsReportItem); + return r.length === 0 ? Promise.resolve() : Kf.finderWebStatsReport({ + webReportInfo: r + }) + } + parseWebStatsReportItem(n) { + const { + data: r, + ctime: i, + context: o + } = n, { + env: s, + contextId: a, + entranceId: c, + userInfo: l, + redDotInfo: u, + page: f, + entranceInfo: d + } = o; + return eo({ + bizid: 1, + contextid: a, + entranceid: c, + ctime: i, + location: s.location, + network: s.network, + browser: s.browser, + userInfo: l, + reddotInfo: u, + recInfo: {}, + pageid: f.pageId, + refPageid: f.refPageId, + accessid: f.accessId, + refAccessid: f.refAccessId, + refEleid: f.fromElementId, + step: f.step, + pageInfo: f.pageInfo, + eleid: r.eleId || "", + eleInfo: Ih(r.eleInfo), + actionType: r.behaviorType, + actionInfo: Oa(r, ["eleId", "eleInfo", "behaviorType"]), + windowInfo: { + screenHeight: s.screenHeight, + screenWidth: s.screenWidth, + clientHeight: s.clientHeight, + clientWidth: s.clientWidth + }, + entranceInfo: (d == null ? void 0 : d.subEntranceid) !== void 0 ? d : void 0 + }) + } +} +class Ch extends Fr { + constructor() { + super(...arguments); + E(this, "reportTypes", [kr.BEHAVIOR]) + } + send(n) { + const r = n.filter(i => { + const { + behaviorType: o + } = i.data; + return o === Rn.VIDEO_PLAY_FINISH + }).map(this.parseLocalDataItem); + return r.length && r.forEach(i => { + const o = me.getLocal("".concat(Se.feedVideoPlayFinishAllTime)) ? me.getLocal("".concat(Se + .feedVideoPlayFinishAllTime)) : {}; + i.feedId && (o["".concat(i.feedId)] = i), me.setLocal("".concat(Se.feedVideoPlayFinishAllTime), + o) + }), Promise.resolve() + } + parseLocalDataItem(n) { + const { + ctime: r, + data: i, + context: o + } = n, { + pageInfo: s + } = o.page, { + currentTime: a + } = i; + if (!s) return {}; + const { + feedId: c + } = s; + return eo({ + feedId: c, + breakpointTimeMs: Math.floor(a) * 1e3, + lastPlayTime: r + }) + } +} +const or = new fc({ + expose: { + conceal: !0 + } + }), + is = 5; +let pi = 0; +const Ah = (e, t) => { + pi < is ? (De.oldReportError({ + stack: e == null ? void 0 : e.stack, + error_msg: e == null ? void 0 : e.message, + error_type: "merlin error" + }), pi += 1) : pi === is && (De.oldReportError({ + stack: e == null ? void 0 : e.stack, + error_msg: e == null ? void 0 : e.message, + error_type: "merlin error too much" + }), pi += 1) +}; +class Mh extends Fr { + constructor(n) { + super({ + bufferSize: 50, + flushInterval: 5e3, + ...n + }); + E(this, "reportTypes", [kr.BEHAVIOR]); + E(this, "proto", new hc([ + ["contextid", "chars"], + ["first_time", "uint"], + ["last_time", "uint"], + ["size", "uint"], + ["content", "chars"] + ])) + } + getPageKey(n) { + var r, i; + switch (n.context.page.pageId) { + case ln.feed: + case ln.live: + return "[".concat(n.context.page.pageId, "~").concat(((r = n.context.page.pageInfo) == null ? + void 0 : r.feedId) || "", "]"); + case ln.profile: + return "[".concat(n.context.page.pageId, "~").concat(((i = n.context.page.pageInfo) == null ? + void 0 : i.username) || "", "]"); + default: + return "[".concat(n.context.page.pageId, "]") + } + } + getEventKey(n) { + var o; + let r = "".concat(n.data.behaviorType); + const i = n.data.behaviorType === Rn.CUSTOM ? n.data.customType : n.data.eleId; + return i && (r += "~".concat(i), (o = n.data.eleInfo) != null && o.feedId && (r += "~".concat(n.data.eleInfo + .feedId))), r + } + async send(n) { + var c; + await ps(); + let r = "", + i = "", + o = 0, + s = ""; + n.forEach(l => { + const u = this.getPageKey(l), + f = this.getEventKey(l); + r !== u && (r && o && (s += o > 1 ? "(".concat(i, ")").concat(o) : "(".concat(i, ")")), r = u, + i = "", o = 0, s += r), i !== f && (i && o && (s += o > 1 ? "(".concat(i, ")").concat( + o) : "(".concat(i, ")")), i = f, o = 1) + }), i && o && (s += o > 1 ? "(".concat(i, ")").concat(o) : "(".concat(i, ")")); + const a = this.proto.serialize({ + contextid: n[0].context.contextId, + first_time: n[0].ctime, + last_time: n[n.length - 1].ctime, + size: n.length, + content: s + }); + return (c = window.WeixinJSBridge) == null || c.invoke("kvReport", { + id: 30064, + value: a, + is_important: 1, + is_report_now: 1 + }), Promise.resolve() + } +} +const rs = new Set(["search-live-card", "flow-edu", "flow-rec-panel"]); + +function xh(e) { + if (!e) return 0; + switch (e) { + case "wifi": + return 1; + case "2g": + return 3; + case "3g": + return 4; + case "4g": + return 5; + case "5g": + return 6; + default: + return 0 + } +} +class Rh extends pc { + constructor(t) { + super({ + logId: 23865, + ...t, + parser: n => { + var w; + const { + data: r, + ctime: i, + context: o + } = n, { + env: s, + userInfo: a, + contextId: c, + entranceId: l, + redDotInfo: u, + recInfo: f, + page: d, + entranceInfo: h + } = o, { + screenHeight: p, + screenWidth: _, + clientHeight: m, + clientWidth: g + } = s, b = { + ...d.pageInfo + }; + delete b.sessionBuffer; + const y = { + ...r.eleInfo + }; + delete y.sessionBuffer; + const S = mc().parseFields({ + deviceModel: s.model, + deviceBrand: s.brand, + osName: s.os, + osVersion: s.osVer, + languageVersion: s.lang, + startTime: i / 1e3, + endTime: i / 1e3, + count: 1, + clientIPV6: "", + bizId: 1, + contextId: c, + entranceId: l, + ctime: i, + location: s.location, + network: xh(s.network), + browser: s.ua, + userInfo: a, + redDotInfo: u, + recInfo: f, + pageId: d.pageId, + refPageId: d.refPageId, + accessId: d.accessId, + refAccessId: d.refAccessId, + refEleId: d.fromElementId, + step: (w = d.step) != null ? w : 1, + pageInfo: b, + eleId: r.eleId, + eleInfo: y, + actionType: r.behaviorType, + actionInfo: Oa(r, ["eleId", "eleInfo", "behaviorType"]), + windowInfo: { + screenHeight: p, + screenWidth: _, + clientHeight: m, + clientWidth: g + }, + entranceInfo: h + }); + return [S.bizId, S.contextId, S.entranceId, S.ctime, S.location, S.network, S.browser, S + .userInfo, S.redDotInfo, S.recInfo, S.pageId, S.refPageId, S.accessId, S + .refAccessId, S.refEleId, S.step, S.pageInfo, S.eleId, S.eleInfo, S.actionType, + S.actionInfo, S.windowInfo, S.entranceInfo + ] + } + }) + } +} + +function t0(e, t) { + if (or.bindVue(e), t) { + Ne.init(new ro({ + vue: e, + pageStackStorageLimit: 8, + collectors: [or], + transports: [new oo({ + url: "/web/report-error?pf=web" + })], + log: !1 + }), so); + return + } + Ne.init(new ro({ + vue: e, + pageStackStorageLimit: 8, + release: "25031000", + reportAidToMmdata: !0, + collectors: [or], + transports: [new Lh({ + bufferSize: 50, + flushInterval: 5e3 + }), new Rh({ + filter: n => { + const { + behaviorType: r, + eleId: i + } = n.data; + return !(r === Rn.ELEMENT_CONCEAL && !rs.has(i) || i === "preview-video") + } + }), new Mh({ + filter(n) { + const { + behaviorType: r, + eleId: i + } = n.data; + return !(r === Rn.ELEMENT_CONCEAL && !rs.has(i) || i === "preview-video") + } + }), new oo({ + url: "/web/report-error?pf=web", + filter(n) { + var i; + const { + data: r + } = n; + return !(r.name === "ProgramError" && r.eIdx1 === "AbortError" && ((i = r + .message) != null && i.endsWith("LdLk22"))) + } + }), new dc({ + url: "/web/report-perf?pf=web" + }), new Ch({ + bufferSize: 50, + flushInterval: 5e3 + })], + log: !1, + errorHandler: Ah + }), so) +} +class Oh { + constructor() { + E(this, "lastInteractiveTime", Date.now()); + E(this, "lastNoInteractiveMinutes", 0) + } + checkNoInteractive() { + const t = Math.floor((Date.now() - this.lastInteractiveTime) / 6e4); + for (const n of [60, 30, 15, 10, 5]) + if (t >= n && this.lastNoInteractiveMinutes < n) { + this.lastNoInteractiveMinutes = n, Ne.reportCustomBehavior("noInteractive", { + minutes: n + }); + break + } + } + handleInteractive() { + this.lastInteractiveTime = Date.now(), this.lastNoInteractiveMinutes = 0 + } +} +const n0 = new Oh; + +function i0(e) { + const t = $i(), + n = ne(() => t.query.is_preload === "1"); + Ni(() => { + n.value && e() + }) +} + +function Fh(e) { + const t = $i(), + n = ne(() => t.query.is_preload === "1"); + Ni(() => { + n.value || e() + }), Ye(n, r => { + r || e() + }) +} + +function kh(e) { + const t = $i(), + n = ne(() => t.query.is_preload === "1"); + _c(() => { + n.value || e() + }), Ye(n, r => { + r && e() + }) +} + +function r0(e, t, n) { + const r = $i(), + i = ne(() => r.query.is_preload === "1"); + Ye(e, (...o) => { + i.value || t(...o) + }, n) +} + +function Ph(e = 0) { + const t = K(!1), + n = K(""); + let r = 0, + i = 0; + + function o() { + e && (i = window.setTimeout(() => { + i = 0 + }, e)) + } + + function s(c) { + if (i) return; + r && window.clearTimeout(r); + const { + duration: l = 2e3, + text: u = n.value + } = c || {}; + n.value = u, t.value = !0, o(), l && (r = window.setTimeout(() => { + a() + }, l)) + } + + function a() { + r && (window.clearTimeout(r), r = 0), t.value = !1 + } + return { + visible: t, + content: n, + show: s, + hide: a + } +} +const Nh = Bn("flow-player", () => { + const e = bh(), + t = ne(() => e.breakpoint > ye.sm), + n = ne(() => e.breakpoint > ye.min), + r = K(!0), + i = K({ + isRecommendPanelVisible: !0, + isFlowDrawerVisible: !1 + }), + o = K("comment"), + s = K(!1); + + function a() { + s.value = !s.value + } + + function c() { + i.value = { + isRecommendPanelVisible: !0, + isFlowDrawerVisible: !1 + } + } + + function l() { + o.value = "comment", f() + } + + function u() { + o.value = "author-profile", f() + } + + function f() { + r.value = i.value.isRecommendPanelVisible, i.value = { + isRecommendPanelVisible: !1, + isFlowDrawerVisible: !0 + }, r.value && Ne.reportElementConceal("flow-rec-panel", 0, { + type: "comment-expose" + }) + } + + function d() { + i.value.isRecommendPanelVisible = !1 + } + + function h() { + i.value.isFlowDrawerVisible = !1, r.value && (i.value.isRecommendPanelVisible = !0, Ne + .reportElementExpose("flow-rec-panel", { + type: "comment-conceal" + })) + } + const p = ne(() => e.breakpoint <= ye.sm ? !0 : e.breakpoint <= ye.md && i.value.isFlowDrawerVisible), + _ = K({ + width: 0, + height: 0 + }); + + function m(X) { + _.value = X + } + const g = K((() => { + if (!Ae.disabledFlowVolumeStorage) { + const X = me.getLocal(Se.flowVolume); + if (X !== void 0) return X + } + return Ui().entrance_id === "1001" ? 0 : .4 + })()), + b = Nr(() => { + me.setLocal(Se.flowVolume, g.value) + }, 300, !0); + + function y(X, pe = !1) { + g.value = X, !pe && !Ae.disabledFlowVolumeStorage && b() + } + const S = K(Ae.disabledFlowVolumeStorage ? .4 : me.getLocal(Se.flowLastUnmutedVolume, .4)); + + function w(X) { + X && (S.value = X, Ae.disabledFlowVolumeStorage || me.setLocal(Se.flowLastUnmutedVolume, X)) + } + const k = ne(() => g.value === 0); + + function v() { + g.value && (w(g.value), y(0)) + } + + function I() { + g.value || y(S.value) + } + + function T() { + k.value ? I() : v() + } + const A = K(!0); + + function L(X) { + X !== void 0 ? A.value = X : A.value = !A.value + } + const O = K({ + commentInputFocus: !1, + secCommentInputFocus: !1, + hoveringFlowDrawer: !1 + }); + + function $(X, pe) { + O.value[X] = pe + } + const B = ne(() => O.value.commentInputFocus || O.value.secCommentInputFocus || O.value.hoveringFlowDrawer), + F = K(!1); + + function N(X) { + F.value = X + } + const U = K(!1); + + function P(X) { + U.value = X + } + const J = K(!1); + + function M(X) { + J.value = X + } + const q = K(!1); + + function W(X) { + q.value !== X && (q.value = X) + } + const z = K(!1); + + function Y(X) { + z.value = X + } + const C = K(!1); + + function j(X) { + C.value = X + } + const H = ne(() => z.value || C.value || U.value), + Q = K(!1); + + function ue(X) { + Q.value = X + } + const le = K({ + text: "", + visible: !1 + }), + ae = K(0); + + function oe(X) { + ae.value && window.clearTimeout(ae.value), le.value = { + text: X, + visible: !0 + }, ae.value = window.setTimeout(() => { + le.value.visible = !1, ae.value = 0 + }, 1500) + } + const V = K(!1), + se = K(!1); + + function ee() { + se.value || (V.value = !0, se.value = !0) + } + + function fe() { + V.value = !1 + } + const Le = K(!1); + + function Ee(X) { + Le.value = X + } + const Oe = K(!1); + let je = null; + + function Ue(X) { + document.pictureInPictureElement && document.exitPictureInPicture(), Oe.value = !0, je = X, X == null || + X.one("leavepictureinpicture", () => { + je === X && (Oe.value = !1, je = null) + }), X == null || X.requestPictureInPicture() + } + + function ot() { + je = null, Oe.value = !1, document.pictureInPictureElement && document.exitPictureInPicture() + } + const zt = K(!1); + + function Jt(X) { + zt.value = X + } + const Zt = K(""), + { + visible: ft, + hide: It, + show: Kt, + content: yn + } = Ph(6e4); + + function Hn(X) { + Zt.value !== X && (Zt.value = X, Kt({ + text: "褰撳墠缃戦�熻緝鎱紝璇锋鏌ョ綉缁滄儏鍐�", + duration: 5e3 + })) + } + const Xt = K(!me.getLocal(Se.flowEdu, !1)); + + function Sn() { + Xt.value = !1, me.setLocal(Se.flowEdu, 1) + } + const Ft = K(!1); + + function dn() { + Ft.value = !1 + } + + function $n() { + !k.value || me.getLocal(Se.flowEduVol, !1) || (Ft.value = !0, window.setTimeout(() => { + Ft.value = !1 + }, 3e3), me.setLocal(Se.flowEduVol, 1)) + } + const ce = K(!1); + + function de(X) { + ce.value = X + } + return { + layout: i, + isNarrowView: p, + isFlowDrawerSupported: t, + isRecommendPanelSupported: n, + showRecommendPanel: c, + hideRecommendPanel: d, + flowDrawerContent: o, + showCommentArea: l, + showAuthorProfileArea: u, + hideFlowDrawer: h, + volume: g, + setVolume: y, + lastUnmutedVolume: S, + setLastUnmutedVolume: w, + muted: k, + mute: v, + unmute: I, + toggleMute: T, + autoPlayNext: A, + toggleAutoPlayNext: L, + isAutoPlayNextTempDisabled: B, + changeAutoPlayNextLock: $, + isDanmakuHidden: F, + setIsDanmakuHidden: N, + isUserIdle: q, + setIsUserIdle: W, + isCurrentFeedPaused: U, + setIsCurrentFeedPaused: P, + isMouseInPlayerArea: z, + setIsMouseInPlayerArea: Y, + isInteractiveActive: H, + isForceShowSwitchButton: J, + setIsForceShowSwitchButton: M, + isDraggingProgress: C, + setIsDraggingProgress: j, + isShowingFoldOperationMenu: Q, + setIsShowingFoldOperationMenu: ue, + tips: le, + showTips: oe, + isPleaseGoNextTipsVisible: V, + showPleaseGoNextTips: ee, + hidePleaseGoNextTips: fe, + isFullScreen: Le, + setIsFullScreen: Ee, + isPictureInPicture: Oe, + requestPictureInPicture: Ue, + exitPictureInPicture: ot, + slideScrollSize: _, + setSlideScrollSize: m, + layoutChangeFlag: s, + layoutChange: a, + isFeedDescriptionExpanded: zt, + setIsFeedDescriptionExpanded: Jt, + playerTipsVisible: ft, + playerTipsContent: yn, + hidePlayerTips: It, + showNetworkSlowTips: Hn, + isFlowEduVisible: Xt, + hideFlowEdu: Sn, + isFlowEduVolVisible: Ft, + hideFlowEduVol: dn, + showFlowEduVol: $n, + isSlideScreenAnimationDisabled: ce, + setIsSlideScreenAnimationDisabled: de + } + }), + sr = me.getLocal(Se.expt, {}), + Dh = me.getLocal(Se.homeStayGridTab, !1), + Qa = ((sr == null ? void 0 : sr.pcDirectFlow) || 0) > 0, + mi = Qa && !Dh ? St : Bt, + o0 = Bn("home", () => { + const e = Qr(), + t = At(), + n = wh(), + r = K(Qa), + i = K(mi); + Ye(() => e.finderFlow, (D, Z) => { + D && !Z && (r.value = D) + }); + const o = K({ + latitude: 23.1030657, + longitude: 113.3194949 + }); + async function s() { + var _e, he, Ie, ge; + const D = await Qf.getPosition(), + Z = (he = (_e = D.result) == null ? void 0 : _e.location) == null ? void 0 : he.lat, + te = (ge = (Ie = D.result) == null ? void 0 : Ie.location) == null ? void 0 : ge.lng; + Z !== void 0 && te !== void 0 ? (o.value = { + latitude: Z, + longitude: te + }, me.setLocal(Se.location, { + lat: Z, + lng: te + }), me.setLocal(Se.timestampLastFetchLocation, Date.now())) : Ne.catch(new hn("鑾峰彇鍦扮悊浣嶇疆澶辫触", + "鑾峰彇鍦扮悊浣嶇疆澶辫触"), { + log: JSON.stringify({ + resp: D + }) + }) + } + async function a(D = !1) { + const Z = me.getLocal(Se.location); + if (Z) { + const te = Z; + if (typeof te == "object" && typeof te.lat == "number" && typeof te.lng == "number") { + D && Date.now() - me.getLocal(Se.timestampLastFetchLocation, 0) > 24 * 60 * 60 * 1e3 && s(), + o.value = { + latitude: te.lat, + longitude: te.lng + }; + return + } + } + D && await s() + } + const c = K([]), + l = ne(() => r.value ? [Bt, St, Qn, ei] : [Bt]), + u = ne(() => { + const D = []; + return c.value.forEach(Z => { + Z === ir ? D.unshift(Z) : D.push(Z) + }), D + }), + f = ne(() => [...l.value, ...u.value]), + d = ne(() => { + const D = new Map; + return f.value.forEach((Z, te) => D.set(Z, te)), D + }); + + function h(D) { + const { + tagItem: Z, + requestFlag: te, + workerApi: _e, + cgi: he = "recommend", + scene: Ie = 1, + requestScene: ge, + displayTabType: be + } = D, ve = Ie === 3; + let Fe = !1; + return async (kt, Te) => { + var We, qt; + const { + prefetch: Ze = "no" + } = kt; + let rt; + he === "stream" ? rt = { + displayTabType: be, + lastBuffer: Te.buffers.lastBuffer, + pullType: Te.buffers.lastBuffer ? 2 : 0 + } : (rt = { + tagItem: Z, + lastBuffer: Te.buffers.lastBuffer, + longitude: o.value.longitude, + latitude: o.value.latitude, + scene: Ie, + sessionBuffer: Te.buffers.sessionBuffer, + status: Ze !== "no" ? { + netType: 1 + } : void 0, + requestFlag: te, + requestScene: ge + }, Ze !== "no" && (rt.preloadFlag = Ze === "preload" ? yr + .MMFinder_PCPreload_HomePage : yr.MMFinder_PCPreload_OtherTag)); + let dt = 0, + Tt = !1, + st = {}; + const Lt = async () => { + var Pt, en; + if (dt >= 3) { + n.debugLog("棣栭〉".concat(ve ? "鐩存挱" : "", "鎷塮eeds缁撴灉涓虹┖[").concat(Te.name, "]"), + "error"), Ze !== "preload" && (Ne.catch(new hn("棣栭〉".concat(ve ? + "鐩存挱" : "", "鎺ㄨ崘娴佽姹傜粨鏋滀负绌猴細").concat(Te.name), "棣栭〉".concat( + ve ? "鐩存挱" : "", "鎺ㄨ崘娴佽姹傜粨鏋滀负绌�")), { + idx1: Te.name, + log: "l:".concat(Te.length, ";p:").concat(Ze) + }), Te.setErrorTips("鏆傛棤娉曡幏鍙�".concat(ve ? "鐩存挱" : "瑙嗛", "锛屽彲绋嶅悗鍐嶈瘯"))); + return + } + n.debugLog("".concat(ve ? "鐩存挱" : "", "Tab").concat(Te.name, "鎷塮eeds锛屽綋鍓嶆暟閲�") + .concat(Te.length)); + let ze; + const et = zi(); + if (!Te.length && !Fe && _e && et.support && !dt) { + et.workerVersion > 0 && (Fe = !0); + const yt = Ne.createPerfTransaction("logic", "feedsFromWorker", { + idx1: Te.name + }); + try { + const { + data: tt, + code: nt + } = await et.invoke(_e); + (Pt = tt == null ? void 0 : tt.object) != null && Pt.length ? (n + .debugLog("[worker]鎴愬姛鑾峰彇棰勫姞杞絝eeds/".concat(Te.id, " ").concat(et + .workerVersion)), ze = tt, yt.report("ok", {}, { + sampleRate: .02 + })) : (n.debugLog("[worker]鏈兘鑾峰彇棰勫姞杞絝eeds/".concat(Te.id, ":") + .concat(JSON.stringify(tt), " ").concat(nt), "warn"), yt + .report("fail", { + idx1: "".concat(nt || gc.INVALID_DATA) + }, { + sampleRate: .02 + })) + } catch (tt) { + n.debugLog("[worker]鏈兘鑾峰彇棰勫姞杞� feeds ".concat(Te.id, "锛寃orker 鎶ラ敊:").concat( + JSON.stringify(tt)), "error"), Ne.catch(new hn("棰勫姞杞� ".concat(Te + .id, " feeds worker 鎶ラ敊"), "worker"), { + log: JSON.stringify(tt) + }), yt.report("fail", { + log: JSON.stringify(tt) + }, { + sampleRate: .02 + }) + } + } + if (!ze) { + let yt; + if (he === "flow" ? yt = await Yn.finderPcFlow(rt) : he === "stream" ? yt = + await Yn.finderStream(rt) : yt = await qe.finderGetRecommend(rt), cn(yt) + ) { + Tt = !0, n.debugLog("棣栭〉".concat(ve ? "鐩存挱" : "", "鎷塮eeds澶辫触[").concat(Te + .name, "]:").concat(JSON.stringify(yt)), "error"), Ze !== + "preload" && Ne.catch(new hn("棣栭〉".concat(ve ? "鐩存挱" : "", "鎺ㄨ崘娴佽姹傚け璐ワ細") + .concat(Te.name), "棣栭〉".concat(ve ? "鐩存挱" : "", "鎺ㄨ崘娴佽姹傚け璐�")), { + idx1: Te.name, + log: "l:".concat(Te.length, ";p:").concat(Ze) + }); + return + }({ + data: ze + } = yt) + } + ze && !((en = ze == null ? void 0 : ze.object) != null && en.length) ? (dt += 1, + await Lt()) : ze && (st = { + object: ze.object, + lastBuffer: ze.lastBuffer, + retFlag: ze.retFlag + }) + }; + return await Lt(), { + objects: st.object || [], + lastBuffer: st.lastBuffer, + sessionBuffer: (qt = (We = st.object) == null ? void 0 : We[0]) == null ? void 0 : + qt.sessionBuffer, + ok: !(Ze === "no" && (dt >= 3 || Tt)), + noMore: be === 3 && !!st.retFlag + } + } + } + const p = K(new Map([ + [Bt, new yi({ + id: Bt, + name: "棣栭〉", + fetchApi: h({ + requestFlag: ra.MMFinderPC_RequestFlag_Default, + workerApi: "getGridTab" + }) + })], + [St, new Si({ + id: St, + name: "鎺ㄨ崘", + fetchApi: h({ + workerApi: "getFlowTab", + cgi: "flow" + }), + isRecommend: !0 + })], + [Qn, new Si({ + id: Qn, + name: "鍏虫敞", + fetchApi: h({ + cgi: "stream", + displayTabType: 3 + }), + isRecommend: !0, + noMoreFakeFeedText: "浠ヤ笂鏄綘鍏虫敞鐨勪綔鑰呮洿鏂扮殑鍏ㄩ儴鍐呭锛屼綘鍙�" + })], + [ei, new Si({ + id: ei, + name: "鏈嬪弸", + fetchApi: h({ + cgi: "stream", + displayTabType: 8 + }), + isRecommend: !0, + noMoreFakeFeedText: "浠ヤ笂鏄綘鏈嬪弸鍏冲績鐨勫唴瀹癸紝浣犲彲" + })] + ])), + _ = K(mi), + m = K(mi); + + function g(D) { + let Z = D; + p.value.has(D) || (Z = mi), _.value = Z, r.value && me.setLocal(Se.homeStayGridTab, Z === Bt) + } + let b = 0; + Ye(_, D => { + b && (window.clearTimeout(b), b = 0), b = window.setTimeout(() => { + b = 0; + const Z = p.value.get(D); + Z && Wo.includes(Z.id) && (de.value = Z), no(), m.value = D + }, 10) + }), Ye(r, (D, Z) => { + D && !Z && g(St) + }); + const y = K(null), + S = K([]), + w = ne(() => { + const D = new Map; + return S.value.forEach((Z, te) => D.set(Z, te)), D + }), + k = K(new Map), + v = K(0); + + function I(D) { + v.value = D + } + let T = !1; + async function A(D) { + var _e; + const Z = me.getLocal(Se.recTagItem, []); + if (Z.length) return D != null && D.asyncUpdate && Yn.getRecommendTabsFromService(), { + tagItem: Z + }; + const te = zi(); + if (D != null && D.useWorker && te.support && !T) try { + T = !0; + const { + data: he, + code: Ie + } = await te.invoke("getTabs"); + if ((_e = he == null ? void 0 : he.tagItem) != null && _e.length) return me.setLocal(Se + .recTagItem, he.tagItem), { + tagItem: he.tagItem + } + } catch (he) { + Ne.catch(new hn("棰勫姞杞芥爣绛鹃〉 worker 鎶ラ敊", "worker"), { + log: JSON.stringify(he) + }) + } + return Yn.getRecommendTabsFromService() + } + const L = K(!1), + O = K(!1); + async function $(D = !1, Z = !1) { + var he; + if (L.value || O.value) return; + O.value = !0; + const { + tagItem: te, + resp: _e + } = await A({ + useWorker: D, + asyncUpdate: Z + }); + if (!te.length) L.value = !1, O.value = !1, gt("is_preload") !== "1" && (Ne.catch(new hn("棣栭〉鑾峰彇鍒嗙被澶辫触", + "棣栭〉鑾峰彇鍒嗙被澶辫触"), { + log: JSON.stringify(_e) + }), L.value = !0); + else { + const Ie = te.filter(ge => { + var be, ve; + return ((be = ge.topTag) == null ? void 0 : be.tagId) !== void 0 && ((ve = ge + .topTag) == null ? void 0 : ve.tagName) + }).map(ge => { + var be, ve; + return new yi({ + id: ((be = ge.topTag) == null ? void 0 : be.tagId) || 0, + name: ((ve = ge.topTag) == null ? void 0 : ve.tagName) || "", + fetchApi: h({ + tagItem: ge + }) + }) + }); + if (Ie.length) { + Ie.forEach(be => { + p.value.set(be.id, be) + }), c.value = Ie.map(be => be.id); + const ge = te.find(be => { + var ve; + return ((ve = be.topTag) == null ? void 0 : ve.tagId) === ir + }); + if (ge != null && ge.topTag && (ge != null && ge.subTag)) { + y.value = ge.topTag; + const be = []; + ge.subTag.filter(ve => ve.tagId !== void 0 && ve.tagName).map(ve => new yi({ + id: ve.tagId || 0, + name: ve.tagName || "", + fetchApi: h({ + tagItem: ve.tagId === nr ? void 0 : { + topTag: y.value || void 0, + subTag: [{ + tagId: ve.tagId, + tagName: ve.tagName + }] + }, + scene: 3 + }) + })).forEach(ve => { + be.push(ve.id), k.value.set(ve.id, ve) + }), S.value = be, I(((he = S.value) == null ? void 0 : he[0]) || 0) + } + } + L.value = !0, O.value = !1 + } + } + async function B({ + tabId: D = m.value, + refresh: Z = "no", + prefetch: te = "no" + }) { + if (D === ir) return; + const _e = p.value.get(D); + _e && await _e.fetch({ + prefetch: te, + refresh: Z + }) + } + async function F({ + tabId: D = m.value, + prefetch: Z = "no" + }) { + const te = p.value.get(D); + !te || te.length || await B({ + tabId: D, + prefetch: Z + }) + } + async function N({ + tabId: D = m.value, + prefetch: Z = "preload" + }) { + p.value.get(D) && await B({ + tabId: D, + prefetch: Z, + refresh: "soft" + }) + } + const U = K(null), + P = K(new Set([])); + async function J(D) { + var ge; + const { + tabId: Z, + obj: te + } = D, _e = k.value.get(Z); + if (!_e || !te || !te.id || P.value.has(te.id)) return; + P.value.add(te.id); + const he = await qe.finderBatchGetLiveInfo({ + objectIds: [te.id], + latitude: o.value.latitude, + longitude: o.value.longitude + }); + if (cn(he)) { + P.value.delete(te.id); + return + } + const Ie = (ge = he == null ? void 0 : he.data) == null ? void 0 : ge.object; + if (Ie != null && Ie[0]) _e.setFinderObject(te.id, Ie[0]); + else if (te.liveInfo) { + const be = { + ...te.liveInfo, + liveStatus: 2 + }; + _e.setFinderObject(te.id, { + ...te, + liveInfo: be + }) + } + P.value.delete(te.id) + } + async function M(D) { + var Fe, kt, Te, $t, Ze, rt, dt, Tt, st, Lt, We; + const { + tabId: Z, + obj: te, + sceneType: _e + } = D, he = _e || 8, Ie = p.value.get(Z); + if (!Ie || !te || !te.id || P.value.has(te.id)) return; + P.value.add(te.id); + const ge = await qe.finderGetCommentDetail({ + objectid: te.id, + needObject: 1, + finderUsername: t.finderUsername, + scene: Ht.MMFinder_GetComment_Scene_PC_Homepage, + direction: 2, + objectNonceId: te.objectNonceId, + identityScene: 2, + pullScene: he + }); + if (cn(ge) || !((Fe = ge == null ? void 0 : ge.data) != null && Fe.object)) { + P.value.delete(te.id); + return + } + const { + object: be + } = ge.data, ve = { + ...te + }; + (Tt = (dt = (rt = (Ze = ($t = (Te = (kt = be.attachmentList) == null ? void 0 : kt.attachments) == + null ? void 0 : Te[0]) == null ? void 0 : $t.video) == null ? void 0 : Ze.video) == + null ? void 0 : rt.desc) == null ? void 0 : dt.media) != null && Tt[0] && (ve.attachmentList = + be.attachmentList), (Lt = (st = be.objectDesc) == null ? void 0 : st.media) != null && Lt[ + 0] && (ve.objectDesc = { + ...te.objectDesc, + media: be.objectDesc.media + }), ve.id === ((We = U.value) == null ? void 0 : We.id) ? U.value = new at(ve) : Ie.setFeed(te + .id, new at(ve)), P.value.delete(te.id) + } + const q = () => { + si.value = null, Wi.value = null + }; + async function W() { + var Ie, ge, be, ve, Fe, kt, Te, $t, Ze, rt, dt, Tt, st, Lt, We; + if (!((Ie = Qt.value) != null && Ie.id)) return; + q(); + const D = (ge = Qt.value) == null ? void 0 : ge.id, + Z = {}; + Z.objectUidList = [{ + objectId: D + }], Z.scene = Ua.MMFinderObjectAsyncLoadInfoScene_LiveReserveInfo; + const te = await ke.finderBatchGetObjectAsyncLoadInfo(Z), + { + errCode: _e, + data: he + } = te; + if (!(_e || (be = he == null ? void 0 : he.baseResponse) != null && be.Ret)) { + if ((ve = he == null ? void 0 : he.contactAsyncInfoMap) != null && ve.length && (he == null ? + void 0 : he.contactAsyncInfoMap.length) > 0) { + const { + contactAsyncInfoMap: qt + } = he, ze = qt[0]; + ze.noticeInfo && (si.value = ze.noticeInfo) + } + if ((Fe = he == null ? void 0 : he.objectAsyncInfoMap) != null && Fe.length && he + .objectAsyncInfoMap.length > 0) { + const { + objectAsyncInfoMap: qt + } = he, ze = qt[0]; + if ((kt = ze.jumpInfo) != null && kt.length && ((Te = ze.jumpInfo) == null ? void 0 : Te + .length) > 0) { + let et = {}; + if (($t = ze.jumpInfo) == null || $t.forEach(Pt => { + if (Pt.businessType === 1 && Pt.jumpinfoType === 1 && (et = Pt, Pt.extInfo)) + try { + const en = JSON.parse(Pt.extInfo); + en.product_id && (et.productId = en.product_id) + } catch (en) {} + }), et != null && et.productId) { + const Pt = { + product_id: "".concat(et == null ? void 0 : et.productId), + finder_username: (rt = (Ze = Qt.value) == null ? void 0 : Ze.contact) == + null ? void 0 : rt.username, + scene: 3 + }, + en = wi(Pt), + yt = { + transferBasereq: { + objectId: (dt = Qt.value) == null ? void 0 : dt.id, + scene: 2, + authorFinderUsername: (st = (Tt = Qt.value) == null ? void 0 : Tt + .contact) == null ? void 0 : st.username + }, + reqdata: en + }, + tt = await ke.finderLiveEcQrcode(yt); + if ((Lt = tt == null ? void 0 : tt.data) != null && Lt.respdata) try { + const nt = Pe(Ce((We = tt == null ? void 0 : tt.data) == null ? void 0 : We + .respdata)); + nt != null && nt.errmsg && (et.errMsg = nt == null ? void 0 : nt.errmsg), + nt != null && nt.jumpQrCode && (et.productQrcode = + "data:image/jpg;base64,".concat(nt == null ? void 0 : nt.jumpQrCode) + ), Wi.value = et + } catch (nt) {} + } + } + } + } + } + async function z(D) { + const Z = { + noticeId: D.noticeId, + optype: D.optype, + anchorFinderUsername: D.username, + scene: Kr.FinderAudienceReserveLiveScene_Feed + }; + if (!D.noticeId) return; + const te = await ke.finderAudienceReserveLive(Z), + _e = si.value; + return !te.errCode && _e && (D.optype === ii.FinderAudienceReserveOpType_Reserve && (_e.status = 0), + D.optype === ii.FinderAudienceReserveOpType_Unreserve && (_e.status = 1)), te + } + const Y = K(""); + + function C(D) { + Y.value = D + } + const j = ne(() => { + var Z; + const D = k.value.get(nr); + return ((Z = D == null ? void 0 : D.feeds) == null ? void 0 : Z.slice(0, 60)) || [] + }), + H = ne(() => j.value.find(D => D.id === Y.value)), + Q = ne(() => { + var D, Z; + return ((Z = (D = H.value) == null ? void 0 : D.liveInfo) == null ? void 0 : Z.liveStatus) === 2 + }), + ue = K(!0); + + function le() { + ue.value = !ue.value + } + + function ae(D) { + ue.value = D + } + const oe = K(1); + + function V(D) { + oe.value = D + } + async function se({ + tabId: D = v.value, + refresh: Z = "no", + prefetch: te = "no" + }) { + const _e = k.value.get(D); + !_e || !y.value || Z === "no" && _e.noMore || (await _e.fetch({ + prefetch: te, + refresh: Z + }), D === nr && _e.length && (Y.value = _e.feeds[0].id || "")) + } + async function ee({ + tabId: D = v.value, + prefetch: Z = "no" + }) { + const te = k.value.get(D); + !te || te.length || await se({ + tabId: D, + prefetch: Z + }) + } + const fe = K(!0); + async function Le({ + refresh: D = !1, + prefetch: Z = "no" + }) { + if (fe.value) { + fe.value = !1; + for (const te of S.value) D ? await se({ + tabId: te, + refresh: "soft" + }) : await ee({ + tabId: te, + prefetch: Z + }); + fe.value = !0 + } + } + const Ee = K(!1); + async function Oe() { + for (const D of f.value) { + if (!Ee.value) return; + Wo.includes(D) || await B({ + tabId: D, + refresh: "soft" + }) + } + for (const D of S.value) { + if (!Ee.value) return; + await se({ + tabId: D, + refresh: "soft" + }) + } + Ee.value = !1 + } + const je = K(Date.now()), + Ue = K(0); + + function ot() { + Ue.value && (window.clearInterval(Ue.value), Ue.value = 0) + } + + function zt() { + Ee.value = !1, ot(), je.value = Date.now(); + const D = window.setInterval(async () => { + Date.now() - je.value <= 30 * 60 * 1e3 || Ee.value || (Ee.value = !0, je.value = Date + .now(), await Oe()) + }, 30 * 1e3); + Ue.value = D + } + const Jt = K(Date.now()); + + function Zt(D) { + Jt.value = D + } + const ft = K(null), + It = K(!1); + + function Kt(D) { + var Z, te, _e; + D != null && D.tipsId && (D != null && D.object || D != null && D.objectId) && (D != null && D + .recommendReason) ? ft.value = D : ft.value = null, (Z = D == null ? void 0 : D.object) != + null && Z.id && (U.value = new at({ + ...D.object, + feRedDotInfo: { + type: D == null ? void 0 : D.type, + text: D == null ? void 0 : D.recommendReason, + imgUrl: (te = D == null ? void 0 : D.icon) == null ? void 0 : te.url, + imgShape: ((_e = D.icon) == null ? void 0 : _e.iconStyle) === Xa + .IconConfigStyle_Square ? "square" : "circle" + } + })) + } + + function yn() { + It.value = !1, ft.value = null + } + + function Hn() { + var D; + if (ft.value) + if (!r.value) It.value = !0, g(Bt); + else if ((D = ft.value.object) != null && D.id) { + const Z = p.value.get(St); + Z == null || Z.unshiftFinderObject(ft.value.object), Z == null || Z.setCurrentFeedIndex(0), g(St), + Z == null || Z.feeds[0].update(!1) + } else It.value = !0 + } + + function Xt() { + It.value = !1 + } + const Sn = Nh(), + Ft = K(null); + async function dn({ + oid: D, + nid: Z, + eid: te, + reqTime: _e, + useWorkerCache: he, + feedLab: Ie + }) { + var kt, Te, $t, Ze, rt, dt, Tt, st, Lt; + if (!(D || Z || te)) return; + const ge = D ? Fi(D) : void 0, + be = Z ? Fi(Z) : void 0, + ve = te; + let Fe; + if (Ae.isUnified && ge && he && me.getSession(Se.hasUsedWorkerFeedCacheThisSession) !== ge) { + n.debugLog("[棰勫姞杞絔灏濊瘯浠� worker 鎷夊彇 feed: ".concat(ge)); + const { + code: We, + data: qt + } = await zi().invoke("getCommentDetail", { + feedId: ge + }); + We || !qt || (Fe = qt, me.setSession(Se.hasUsedWorkerFeedCacheThisSession, ge)) + } + if (!Fe) { + const We = { + needObject: 1, + lastBuffer: "", + scene: Yr(), + direction: 2, + identityScene: 2, + pullScene: 6, + objectid: ge, + objectNonceId: be, + encrypted_objectid: ve + }; + _e && (We.shareTime = parseInt(_e, 10)), Fe = await qe.finderGetCommentDetail(We) + } + if ((kt = Fe == null ? void 0 : Fe.data) != null && kt.object) { + let We = ""; + if (($t = (Te = Fe == null ? void 0 : Fe.data) == null ? void 0 : Te.BaseResponse) != null && $t + .Ret) + if (Fe.data.BaseResponse.Ret === mf && ((Ze = Fe.data.BaseResponse.ErrMsg) != null && Ze + .String)) We = "generalJumpErr", Ft.value = Pe(JSON.parse((rt = Fe.data.BaseResponse + .ErrMsg) == null ? void 0 : rt.String)); + else switch (Fe.data.BaseResponse.Ret) { + case -4036: + We = "鏍规嵁浣滆�呴殣绉佽缃紝鏃犳硶鏌ョ湅璇ュ唴瀹�"; + break; + case -4011: + We = ((dt = Fe.data.BaseResponse.ErrMsg) == null ? void 0 : dt.String) || + "姝よ棰戝彿鍔ㄦ�佸凡琚垹闄�"; + break; + default: + We = ((Tt = Fe.data.BaseResponse.ErrMsg) == null ? void 0 : Tt.String) || + "鏆備笉鍙祻瑙堟鍔ㄦ��" + }(st = pe.value) == null || st.unshift(new at(Fe.data.object, { + feErrorFeedTips: We, + flowLoop: Ie === "3" + })), to(0, { + source: "feed_lab" + }), g(St), (Ie === "2" || Ie === "3") && Sn.showCommentArea(), (Lt = pe.value) == + null || Lt.feeds[0].update(!1) + } + } + + function $n(D) { + const Z = p.value.get(Bt); + if (!Z) return; + const te = Z.feeds.filter(_e => { + let he = !0; + return D.forEach(Ie => { + Ie === _e.id && (he = !1) + }), he + }); + Z.setFeeds(te) + } + async function ce() { + var he, Ie; + if (!L.value) return; + const D = p.value.get(Bt), + Z = D == null ? void 0 : D.feedIdList, + te = { + lastBuffer: D == null ? void 0 : D.buffers.lastBuffer, + ids: Z, + lastContextBuffer: "" + }, + _e = await qe.finderCheckPrefetch(te); + if ((Ie = (he = _e.data) == null ? void 0 : he.checkResult) != null && Ie.length) { + const ge = _e.data.checkResult.map(be => be.code ? be.objectid : null).filter(be => be); + $n(ge) + } + } + const de = K(p.value.get(St)), + X = K(void 0), + pe = ne(() => X.value || de.value), + He = ne(() => { + var D; + return ((D = pe.value) == null ? void 0 : D.id) || St + }), + oi = ne(() => { + var D; + return ((D = pe.value) == null ? void 0 : D.currentFeedIndex) || 0 + }), + Qt = ne(() => { + var D; + return (D = pe.value) == null ? void 0 : D.currentFeed + }), + bn = ne(() => m.value === He.value || !!X.value), + tc = K(new Eh(5, (D, Z) => { + Z == null || Z.clearRelatedData() + })), + si = K(null), + Wi = K(null); + + function to(D, Z) { + var te; + (te = pe.value) == null || te.setCurrentFeedIndex(D, { + eleInfo: { + type: Z.source, + tagId: He.value + } + }) + } + + function nc(D) { + var Z; + (Z = pe.value) == null || Z.goToPrevFlowFeed({ + eleInfo: { + type: D.source, + tagId: He.value + } + }) + } + + function ic(D) { + var Z; + (Z = pe.value) == null || Z.goToNextFlowFeed({ + goBackWhenEnd: D.goBackWhenEnd, + eleInfo: { + type: D.source, + tagId: He.value + }, + ignoreCoolDown: D.ignoreCoolDown + }) + } + + function rc(D, Z) { + D.setCurrentFeedIndex(D.feeds.findIndex(te => te.id === Z)), X.value = D + } + + function no() { + var te; + if (!X.value || !de.value) return; + const D = X.value.currentFeed, + Z = (te = de.value.currentFeed) == null ? void 0 : te.id; + if (D && Z && D.id !== Z) { + const _e = de.value.insertFeed(D); + de.value.setCurrentFeedIndex(_e) + } + X.value = void 0 + } + return { + finderFlow: r, + initTabId: i, + isTabsReady: L, + tabIds: f, + tabs: p, + quickActiveTabId: _, + activeTabId: m, + liveTabIds: S, + liveTabs: k, + activeLiveTabId: v, + activeRecommendLiveId: Y, + isLiveScreenLiveEnd: Q, + lastRedDotObject: U, + redDotInfo: ft, + isRedDotBannerVisible: It, + lastSwitchTabTime: Jt, + liveScreenRecommendCandidates: j, + isLiveDataInit: fe, + liveScreenFeed: H, + liveScreenMuted: ue, + liveScreenVolume: oe, + tabIdIndex: d, + liveTabIdIndex: w, + flowCurrentFeedIndex: oi, + setFlowCurrentFeedIndex: to, + flowTab: pe, + flowTabId: He, + isFlowTabActive: bn, + goToPrevFlowFeed: nc, + goToNextFlowFeed: ic, + getCurrentLocation: a, + initTabs: $, + fetchMoreData: B, + fetchMoreLiveData: se, + fetchInitData: F, + fetchPreloadInitData: N, + updateLiveObject: J, + updateObjectMedia: M, + setActiveTabId: g, + setActiveLiveTabId: I, + setActiveRecommendLiveId: C, + fetchInitLiveData: ee, + fetchLiveData: Le, + setRefreshTimer: zt, + setLastSwitchTabTime: Zt, + clearRedDotInfo: yn, + showRedDotInfo: Hn, + hideRedDotBanner: Xt, + checkPrefetch: ce, + setRedDotInfo: Kt, + switchLiveScreenMuted: le, + setLiveScreenMuted: ae, + setLiveScreenVolume: V, + clearRefreshTimer: ot, + flowCurrentFeed: Qt, + getObjectAsyncLoadInfo: W, + reserveLive: z, + resetCommentDetail: dn, + recentWatchedFeedCacheQueue: tc, + localFlowTab: X, + loadLocalPlaylist: rc, + unloadLocalPlaylist: no, + currentNoticeInfo: si, + currentProductLinkInfo: Wi, + generalJumpErr: Ft + } + }), + Bh = xn({ + name: "FinderLoading", + props: { + abs: { + type: Boolean, + default: !0 + } + }, + setup() { + const e = K(-1), + t = K(0); + return Fh(async () => { + await Dn(), e.value += 1, window.clearInterval(t.value), t.value = window.setInterval( + () => { + if (e.value >= 6) return e.value = -1; + e.value += 1 + }, 300) + }), kh(() => { + window.clearInterval(t.value), t.value = 0 + }), { + curAnimateNum: e + } + } + }), + jh = { + class: "loading-content" + }, + Uh = { + class: "loading-animation" + }, + Vh = { + class: "animate-point-list" + }; + +function Hh(e, t, n, r, i, o) { + const s = bc("svg-icon"); + return ar(), cr("div", { + class: ao(["finder-loading", { + "finder-loading--abs": e.abs + }]) + }, [Ln("div", jh, [vc(s, { + class: "logo", + name: "logo" + }), Ln("div", Uh, [Ln("div", Vh, [(ar(), cr(yc, null, Sc(3, a => Ln("div", { + class: "animate-point", + key: a + }, [Ln("div", { + class: ao(["animate-content", { + shiny: a <= e.curAnimateNum && a > e + .curAnimateNum - 3 + }]) + }, null, 2)])), 64))])])])], 2) +} +const ec = (e, t) => { + const n = e.__vccOpts || e; + for (const [r, i] of t) n[r] = i; + return n + }, + s0 = ec(Bh, [ + ["render", Hh], + ["__scopeId", "data-v-0339740b"] + ]), + $h = xn({ + name: "SvgIcon", + props: { + name: { + type: String, + required: !0 + } + }, + computed: { + iconPath() { + return "#icon-".concat(this.name) + } + } + }), + qh = { + class: "svg-icon", + "aria-hidden": "true" + }, + Gh = ["xlink:href"]; + +function Wh(e, t, n, r, i, o) { + return ar(), cr("svg", qh, [Ln("use", { + "xlink:href": e.iconPath + }, null, 8, Gh)]) +} +const a0 = ec($h, [ + ["render", Wh] +]); +if (typeof window < "u") { + let e = function() { + var t = document.body, + n = document.getElementById("__svg__icons__dom__"); + n || (n = document.createElementNS("http://www.w3.org/2000/svg", "svg"), n.style.position = "absolute", n + .style.width = "0", n.style.height = "0", n.id = "__svg__icons__dom__", n.setAttribute("xmlns", + "http://www.w3.org/2000/svg"), n.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink")), n + .innerHTML = + '<symbol viewBox="0 0 16 16" id="icon-account_fav"><path fill-rule="evenodd" d="m7.527 4.177.257.251.214.203.309-.294.163-.16a3.333 3.333 0 0 1 4.75 4.677l-4.75 4.75a.667.667 0 0 1-.88.056l-.063-.055-4.75-4.75a3.334 3.334 0 0 1 4.75-4.678Zm-.566.565a2.533 2.533 0 0 0-3.582 0 2.533 2.533 0 0 0-.132 3.443l.095.104 4.655 4.657 4.649-4.65c.93-.957.95-2.466.07-3.45l-.098-.104a2.533 2.533 0 0 0-3.583 0l-.268.262-.769.726-.866-.82-.17-.168Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 16 16" id="icon-account_global_fav"><path fill-rule="evenodd" d="M7.425 1.472c.317-.185.833-.185 1.15 0l4.85 2.83c.317.185.575.636.575 1v5.67c0 .367-.258.815-.575 1l-4.85 2.83c-.317.185-.833.185-1.15 0l-4.85-2.83c-.317-.185-.575-.636-.575-1v-5.67c0-.367.258-.816.575-1l4.85-2.83Zm-4.625 9.5V5.596l4.8 2.772v5.61L2.978 11.28a.54.54 0 0 1-.178-.309ZM8 7.675l4.835-2.792-4.663-2.72a.51.51 0 0 0-.344 0l-4.663 2.72L8 7.675Zm.4.693v5.61l4.622-2.697a.53.53 0 0 0 .178-.309V5.596L8.4 8.368Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 16 16" id="icon-account_like"><path fill-rule="evenodd" d="m10.436 4.531-.118 1.839h2.673c.898 0 1.573.923 1.437 1.842l-.018.098-.952 4.496c-.142.662-.68 1.142-1.318 1.189l-.102.003-9.138-.003a.667.667 0 0 1-.667-.667v-5.72c0-.368.299-.667.667-.667h1.628l.84-.02.279-.012.112-.01.019-.003c.903-.21 1.593-1.604 1.72-2.85l.007-.107.014-.382.015-.183c.049-.472.2-1.027.72-1.256 1.37-.6 2.257 1.224 2.182 2.413Zm-1.86-1.68c-.107.047-.188.196-.23.476l-.015.11-.012.15-.016.403-.01.136c-.168 1.657-1.076 3.257-2.334 3.55l-.065.012-.135.014-.121.009-.171.006v5.479l6.542.003.073-.002a.668.668 0 0 0 .57-.473l.023-.084.948-4.471.013-.074c.066-.445-.236-.872-.58-.92l-.065-.005H9.465l.173-2.689c.06-.966-.575-1.844-1.062-1.63Zm-3.91 4.887-.138.003H3.033v5.454h1.634V7.738Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 20 10" id="icon-arrow_right"><path fill-opacity=".8" fill-rule="evenodd" d="M9.407 8.464 4.693 3.75 5.872 2.57l4.125 4.125 4.124-4.125L15.3 3.75l-4.714 4.714a.833.833 0 0 1-1.179 0Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 24 24" id="icon-back"><path fill-opacity=".9" fill-rule="evenodd" d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm1.999-6.563L10.68 12 14 8.562 12.953 7.5 9.29 11.277a1.045 1.045 0 0 0 0 1.446l3.663 3.777L14 15.437z" /></symbol><symbol viewBox="0 0 24 24" id="icon-back_arrow"><path d="m5.338 12-.006-.007.707-.707.006.006 5.185-5.185.707.708-4.69 4.688 10.75.001v1H7.258l4.674 4.675-.707.707L5.338 12Z" /></symbol><symbol viewBox="0 0 16 24" id="icon-badge_2_1"><g fill-rule="evenodd"><path d="m6.303 13.697-3.36-1.325a.4.4 0 0 1 0-.744l3.36-1.325 1.325-3.36a.4.4 0 0 1 .744 0l1.325 3.36 3.36 1.325a.4.4 0 0 1 0 .744l-3.36 1.325-1.325 3.36a.4.4 0 0 1-.744 0l-1.325-3.36Z" /></g></symbol><symbol viewBox="0 0 20 24" id="icon-badge_2_2"><g fill-rule="evenodd"><circle cx="4.6" cy="6.6" r="1.8" /><circle cx="15.4" cy="17.4" r="1.8" /><path d="m8.303 13.697-3.36-1.325a.4.4 0 0 1 0-.744l3.36-1.325 1.325-3.36a.4.4 0 0 1 .744 0l1.325 3.36 3.36 1.325a.4.4 0 0 1 0 .744l-3.36 1.325-1.325 3.36a.4.4 0 0 1-.744 0l-1.325-3.36Z" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-badge_2_3"><g fill-rule="evenodd"><circle cx="6.6" cy="17.4" r="1.8" /><circle cx="17.4" cy="17.4" r="1.8" /><path d="m10.303 13.697-3.36-1.325a.4.4 0 0 1 0-.744l3.36-1.325 1.325-3.36a.4.4 0 0 1 .744 0l1.325 3.36 3.36 1.325a.4.4 0 0 1 0 .744l-3.36 1.325-1.325 3.36a.4.4 0 0 1-.744 0l-1.325-3.36Z" /><circle cx="6.6" cy="6.6" r="1.8" /><circle cx="17.4" cy="6.6" r="1.8" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-badge_2_4"><g fill-rule="evenodd"><g transform="translate(2.8 3)"><circle cx="1.8" cy="11.1" r="1.8" /><circle cx="4.8" cy="1.8" r="1.8" /><circle cx="9.2" cy="16.9" r="1.8" /><circle cx="13.6" cy="1.8" r="1.8" /><circle cx="16.6" cy="11.1" r="1.8" /></g><path d="m10.303 12.697-3.36-1.325a.4.4 0 0 1 0-.744l3.36-1.325 1.325-3.36a.4.4 0 0 1 .744 0l1.325 3.36 3.36 1.325a.4.4 0 0 1 0 .744l-3.36 1.325-1.325 3.36a.4.4 0 0 1-.744 0l-1.325-3.36Z" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-badge_2_5"><g fill-rule="evenodd"><g transform="rotate(90 9.6 11.6)"><circle cx="1.8" cy="9.2" r="1.8" /><circle cx="13.8" cy="16.6" r="1.8" /><circle cx="6.2" cy="1.8" r="1.8" /><circle cx="13.8" cy="1.8" r="1.8" /><circle cx="6.2" cy="16.6" r="1.8" /><circle cx="18.2" cy="9.2" r="1.8" /></g><path d="m10.303 13.697-3.36-1.325a.4.4 0 0 1 0-.744l3.36-1.325 1.325-3.36a.4.4 0 0 1 .744 0l1.325 3.36 3.36 1.325a.4.4 0 0 1 0 .744l-3.36 1.325-1.325 3.36a.4.4 0 0 1-.744 0l-1.325-3.36Z" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-badge_2_6"><g fill-rule="evenodd"><circle cx="4.8" cy="9" r="1.8" /><circle cx="19.2" cy="15" r="1.8" /><circle cx="9" cy="4.8" r="1.8" /><circle cx="9" cy="19.2" r="1.8" /><circle cx="15" cy="4.8" r="1.8" /><circle cx="15" cy="19.2" r="1.8" /><circle cx="4.8" cy="15" r="1.8" /><circle cx="19.2" cy="9" r="1.8" /><path d="m10.303 13.697-3.36-1.325a.4.4 0 0 1 0-.744l3.36-1.325 1.325-3.36a.4.4 0 0 1 .744 0l1.325 3.36 3.36 1.325a.4.4 0 0 1 0 .744l-3.36 1.325-1.325 3.36a.4.4 0 0 1-.744 0l-1.325-3.36Z" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-badge_2_7"><g fill-rule="evenodd"><path d="M18 20.2v1.2H6v-1.2h12Zm2.6-9.1a1.8 1.8 0 1 1-1.21 3.133c-1.01.86-1.539 2.264-1.586 4.265l-.004.302h-1.2c0-2.622.74-4.529 2.218-5.651A1.8 1.8 0 0 1 20.6 11.1Zm-17.2 0a1.8 1.8 0 0 1 1.783 2.05c1.417 1.075 2.155 2.873 2.213 5.331l.004.319H6.2c0-2.162-.53-3.665-1.59-4.569A1.8 1.8 0 1 1 3.4 11.1Zm5.042 3.66.705.278.796 2.02c.029.421.046.854.053 1.298L10 18.8H8.8c0-1.479-.12-2.825-.358-4.04Zm6.76 3.618-.002.422H14c0-.594.016-1.168.049-1.722l.804-2.04.658-.26a23.072 23.072 0 0 0-.308 3.6ZM12.148 6.903a.4.4 0 0 1 .225.226l1.325 3.36 3.36 1.324a.4.4 0 0 1 0 .744l-3.36 1.325-1.325 3.36a.4.4 0 0 1-.744 0l-1.325-3.36-3.36-1.325a.4.4 0 0 1 0-.744l3.36-1.325 1.325-3.36a.4.4 0 0 1 .519-.225ZM4.8 5.8a1.8 1.8 0 0 1 1.687 2.428 9.92 9.92 0 0 1 1.323 1.63l-1.143.452a8.813 8.813 0 0 0-.955-1.16A1.8 1.8 0 1 1 4.8 5.8Zm14.4 0a1.8 1.8 0 1 1-1.013 3.288 7.12 7.12 0 0 0-.992 1.166l-1.143-.45a8.37 8.37 0 0 1 1.422-1.695A1.8 1.8 0 0 1 19.2 5.8ZM9 2a1.8 1.8 0 0 1 1.275 3.07c.124.29.243.585.357.887a1.88 1.88 0 0 0-.4.621l-.345.88a21.882 21.882 0 0 0-.695-1.869l-.044.005L9 5.6A1.8 1.8 0 1 1 9 2Zm6 0a1.8 1.8 0 1 1-.192 3.59 21.902 21.902 0 0 0-.694 1.867l-.346-.879a1.9 1.9 0 0 0-.4-.62c.113-.302.233-.598.357-.888A1.8 1.8 0 0 1 15 2Z" /></g></symbol><symbol viewBox="0 0 16 16" id="icon-close_mic"><path stroke="currentColor" stroke-width=".6" d="m11.596 7.68.187.654.026.08c.022.057.043.09.062.11.02.022.049.046.106.072l2.251 1.021.076.027c.268.08.552.015.766-.182l.028-.03.022-.025a.965.965 0 0 0 .08-.12l.048-.09.051-.118a2.652 2.652 0 0 0-.572-2.884 2.562 2.562 0 0 0-.361-.296l-.176-.116-.246-.15A11.599 11.599 0 0 0 8 4.003c-2.183 0-4.32.604-6.168 1.765l-.008.004-.007.004A2.652 2.652 0 0 0 .75 9.188l.043.089.031.055a.615.615 0 0 0 .103.125l.004.003c.24.21.557.267.832.157L4.02 8.594l.057-.031a.253.253 0 0 0 .082-.074.54.54 0 0 0 .064-.153l7.373-.656Zm0 0-.001-.004-.238-.79V6.88l-.161-.51a.908.908 0 0 0-.224-.376.872.872 0 0 0-.409-.225c-.894-.231-1.744-.354-2.557-.355-.812-.006-1.66.115-2.568.35a.837.837 0 0 0-.402.222.865.865 0 0 0-.188.278l-.004.008-.002.008-.027.074-.004.013-.106.34v.002l-.188.622v.002l-.294 1.002 7.373-.656Z" /></symbol><symbol viewBox="0 0 14 13" id="icon-ext_hide"><path d="M8.167 4.5v1.333H13.5V4.5h-3.057l2.909-2.91-.943-.943-2.91 2.91V.5H8.168v4zM5.966 8.867V7.534H.633v1.333H3.69L.781 11.776l.943.943 2.91-2.91v3.058h1.332v-4z" /></symbol><symbol viewBox="0 0 12 4" id="icon-ext_setting"><path fill-rule="evenodd" d="M1.333.667a1.333 1.333 0 1 1 0 2.666 1.333 1.333 0 0 1 0-2.666zM6 .667a1.333 1.333 0 1 1 0 2.666A1.333 1.333 0 0 1 6 .667zm4.667 0a1.333 1.333 0 1 1 0 2.666 1.333 1.333 0 0 1 0-2.666z" /></symbol><symbol viewBox="0 0 24 24" id="icon-feed_comment"><path fill-rule="evenodd" d="M11.549 16.491 9.48 18.526a.912.912 0 0 1-1.276 0 .867.867 0 0 1-.264-.622V16.49H5.797a2.368 2.368 0 0 1-2.368-2.368V6.868A2.368 2.368 0 0 1 5.797 4.5h12.406a2.368 2.368 0 0 1 2.368 2.368v7.255a2.368 2.368 0 0 1-2.368 2.368h-6.654Z" /></symbol><symbol viewBox="0 0 28 28" id="icon-feed_fav"><g fill-rule="evenodd"><path d="m17.277 6.978-.196 2.97h4.23c1.163 0 2.354 1.276 2.17 2.848l-.028.155-1.451 7.027c-.248 1.19-1.08 1.943-2.086 2.016l-.16.006-7.7-.005a2.72 2.72 0 0 1-2.715-2.716v-7.567c0-.449.306-.84.742-.948 1.318-.328 2.409-2.529 2.609-4.489l.01-.167.024-.6.023-.288c.077-.742.295-1.675 1.118-2.034 2.161-.945 3.528 1.921 3.41 3.792ZM6.14 21.997A1.637 1.637 0 0 1 4.5 20.36V12.5c0-.908.734-1.644 1.64-1.647a1.635 1.635 0 0 1 1.641 1.635v7.865c0 .906-.734 1.642-1.64 1.644Z" /></g></symbol><symbol viewBox="0 0 28 28" id="icon-feed_fav_outlined"><path fill-rule="evenodd" d="m17.263 8.009-.184 2.91h4.158c1.397 0 2.447 1.463 2.236 2.918l-.028.156-1.482 7.12c-.22 1.047-1.058 1.808-2.05 1.881l-.158.006-14.218-.005A1.048 1.048 0 0 1 4.5 21.938V12.88c0-.583.464-1.055 1.037-1.055H8.07l1.31-.032.432-.02.174-.014a.34.34 0 0 0 .03-.006c1.405-.332 2.478-2.54 2.676-4.514l.01-.17.023-.603.023-.29c.076-.748.31-1.627 1.12-1.989 2.13-.951 3.512 1.937 3.396 3.822Zm-2.895-2.662c-.166.074-.293.311-.359.754l-.021.176-.02.237-.025.637-.014.216c-.262 2.624-1.675 5.157-3.633 5.62l-.1.02-.211.023-.189.013-.266.011v8.675l10.18.005.113-.003c.396-.03.748-.322.887-.75l.036-.131 1.474-7.081.022-.117c.102-.705-.368-1.381-.904-1.458l-.101-.007h-5.485l.268-4.258c.095-1.53-.895-2.92-1.652-2.582Zm-6.083 7.739-.216.005H5.744v8.636l2.541.001v-8.642Z" /></symbol><symbol viewBox="0 0 24 24" id="icon-feed_like"><path fill-rule="evenodd" d="M4.787 5.958a4.637 4.637 0 0 1 6.557 0c.17.17.388.38.656.633.268-.253.486-.463.656-.633a4.637 4.637 0 0 1 6.607 6.507l-6.556 6.557a1 1 0 0 1-1.414 0l-6.557-6.557a4.638 4.638 0 0 1 .05-6.507Z" /></symbol><symbol viewBox="0 0 20 20" id="icon-feed_like_news"><path fill-rule="evenodd" d="M9.625 2.5c1.474 0 2.635 1.24 3.025 2.478.435 1.378-.513 2.916.18 3.497.695.582 1.576-.446 2.025-1.22a9.696 9.696 0 0 1 1.228 4.69 5.96 5.96 0 0 1-4.87 5.858c.2-.242.32-.553.32-.891 0-.922-.47-1.842-1.408-2.76-.938.918-1.407 1.838-1.407 2.76 0 .338.12.649.319.892a5.961 5.961 0 0 1-4.87-5.86c0-2.621 1.612-4.439 2.402-5.134-.163.753-.165 2.272.135 2.49.004.003.014-.008.015-.016.555-3.704 3.88-4.594 2.906-6.784Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 28 28" id="icon-feed_more"><path fill-rule="evenodd" d="M6.556 11.5a2.222 2.222 0 1 1 0 4.444 2.222 2.222 0 0 1 0-4.444Zm7.777 0a2.222 2.222 0 1 1 0 4.444 2.222 2.222 0 0 1 0-4.444Zm7.778 0a2.222 2.222 0 1 1 0 4.444 2.222 2.222 0 0 1 0-4.444Z" /></symbol><symbol viewBox="0 0 28 28" id="icon-feed_opr_more"><path fill-rule="evenodd" d="M16.333 5.833a2.333 2.333 0 1 1-4.666 0 2.333 2.333 0 0 1 4.666 0zm0 8.167a2.333 2.333 0 1 1-4.666 0 2.333 2.333 0 0 1 4.666 0zm0 8.167a2.333 2.333 0 1 1-4.666 0 2.333 2.333 0 0 1 4.666 0z" /></symbol><symbol viewBox="0 0 24 24" id="icon-feed_share"><path fill-rule="evenodd" d="M13.827 3.429c.253 0 .498.09.691.251l.07.064 5.327 5.327c.586.586.61 1.522.073 2.137l-.073.078-5.327 5.327a1.077 1.077 0 0 1-1.835-.667l-.004-.095v-3.214c-2.74.1-4.813 1.455-6.376 3.714-.55.796-.985 1.627-1.357 2.514l-.137.336-.071.184-.225.598-.078.198a.632.632 0 0 1-.732.375c-.34-.07-.413-.388-.44-.588-.615-6.94 2.97-12.28 9.416-12.937V4.506c0-.595.483-1.077 1.078-1.077Z" /></symbol><symbol viewBox="0 0 28 28" id="icon-feed_timeline"><path fill-rule="evenodd" d="m11.5 17.157 6.153 6.155A9.974 9.974 0 0 1 14 24c-.863 0-1.7-.11-2.5-.315v-6.528ZM10 14.464v8.704a10.04 10.04 0 0 1-4.615-4.087L10 14.464Zm9.08 8.152L14.464 18h8.704a10.04 10.04 0 0 1-4.088 4.616ZM4.315 11.5h6.528L4.69 17.654A9.974 9.974 0 0 1 4 14c0-.863.11-1.7.315-2.5ZM24 14c0 .863-.11 1.701-.315 2.5h-6.528l6.155-6.153A9.974 9.974 0 0 1 24 14Zm-1.384-5.08L18 13.536V4.832a10.04 10.04 0 0 1 4.616 4.088ZM14 4c.863 0 1.701.11 2.5.315v6.528L10.346 4.69A9.974 9.974 0 0 1 14 4ZM8.92 5.385 13.535 10H4.832a10.04 10.04 0 0 1 4.087-4.615Z" /></symbol><symbol viewBox="0 0 16 16" id="icon-fire"><path d="M7.6 1.678c1.18 0 2.108.992 2.42 1.982.136.432.103.883.045 1.3l-.078.531c-.057.418-.064.765.178.967.427.358.943-.046 1.321-.533l.11-.148.099-.15a4.01 4.01 0 0 0 .089-.145 7.756 7.756 0 0 1 .982 3.752 4.769 4.769 0 0 1-3.276 4.528c-.273.09-.652-.068-.625-.376.007-.083.011-.183.011-.306 0-.577-.291-1.16-.874-1.747-.593.587-.89 1.17-.89 1.747 0 .104.01.207.026.306.037.215-.313.477-.566.397a4.77 4.77 0 0 1-3.338-4.55c0-1.735.883-3.03 1.545-3.74l.16-.166.148-.14.068-.061c-.13.603-.132 1.818.108 1.992.003.002.01-.007.012-.013.158-1.053.596-1.822 1.06-2.454l.175-.231.174-.22.335-.414.155-.197c.471-.617.755-1.171.426-1.91Zm3.99 5.326-.021.019c-.584.49-1.248.61-1.918.048-.451-.378-.555-.687-.493-1.365l.026-.24.038-.271.041-.279.03-.224.017-.186.006-.16c0-.052-.002-.1-.005-.15a1.284 1.284 0 0 0-.054-.295 2.234 2.234 0 0 0-.75-1.084l-.025-.02-.017.07c-.049.18-.12.357-.213.535l-.074.133c-.11.188-.237.37-.409.592l-.658.823c-.546.71-.866 1.323-1.012 2.081l-.033.193c-.075.498-.573 1.05-1.273.542a1.024 1.024 0 0 1-.312-.4l-.014-.034-.068.151a4.42 4.42 0 0 0-.361 1.563l-.004.188c0 1.515.855 2.849 2.126 3.515l.165.082.006-.055c.08-.654.414-1.28.975-1.875l.133-.136.568-.562.563.567c.63.634 1.004 1.305 1.088 2.007l.005.058.033-.014a3.971 3.971 0 0 0 2.267-3.43l.003-.157c0-.66-.098-1.316-.286-1.947l-.09-.283Z" /></symbol><symbol viewBox="0 0 20 20" id="icon-fire_filled"><path fill-rule="evenodd" d="M9.625 2.5c1.474 0 2.634 1.24 3.025 2.478.435 1.378-.513 2.916.18 3.497.694.582 1.576-.446 2.024-1.22a9.696 9.696 0 0 1 1.229 4.69 5.96 5.96 0 0 1-4.87 5.858c.2-.242.319-.553.319-.891 0-.922-.47-1.842-1.407-2.76-.939.918-1.408 1.838-1.408 2.76 0 .338.12.649.32.892a5.961 5.961 0 0 1-4.87-5.86c0-2.621 1.611-4.439 2.401-5.134-.163.753-.165 2.272.135 2.49.004.003.014-.008.015-.016C7.274 5.58 10.6 4.69 9.625 2.5Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 20 20" id="icon-flow_dot_3"><path fill-opacity=".8" fill-rule="evenodd" d="M5.625 10a1.458 1.458 0 1 1-2.917 0 1.458 1.458 0 0 1 2.917 0ZM10 8.542a1.458 1.458 0 1 1 0 2.916 1.458 1.458 0 0 1 0-2.916ZM17.292 10a1.458 1.458 0 1 0-2.917 0 1.458 1.458 0 0 0 2.917 0Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 18 18" id="icon-fullscreen"><path fill-rule="evenodd" d="M18 12v5a1 1 0 0 1-1 1h-5v-2h4v-4h2ZM0 12h2v4h4v2H1a1 1 0 0 1-1-1v-5ZM6 0v2H2v4H0V1a1 1 0 0 1 1-1h5Zm11 0a1 1 0 0 1 1 1v5h-2V2h-4V0h5Z" /></symbol><symbol viewBox="0 0 16 16" id="icon-icon_arrow"><defs><path id="icon-icon_arrow_a" d="m4.756 7.94-.707.707L.196 4.794a.664.664 0 0 1 0-.941L4.049 0l.707.707-3.617 3.617L4.756 7.94Z" /></defs><g fill-rule="evenodd" transform="rotate(90 3.342 8.978)"><use xlink:href="#icon-icon_arrow_a" fill-opacity=".5" transform="rotate(-180 2.378 4.324)" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-icon_danmu"><defs><linearGradient id="icon-icon_danmu_a" x1="50%!"(MISSING) x2="50%!"(MISSING) y1="0%!"(MISSING) y2="100%!"(MISSING)><stop offset="0%!"(MISSING) stop-opacity="0" /><stop offset="100%!"(MISSING) stop-opacity=".5" /></linearGradient><filter id="icon-icon_danmu_b"><feColorMatrix in="SourceGraphic" values="0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 0.800000 0"></feColorMatrix></filter></defs><g fill-rule="evenodd" transform="translate(-326 -810)"><path d="M0 0H414V896H0z" /><path d="M0 664 414 664 414 896 0 896z" /><g fill-opacity=".8" filter="url(#icon-icon_danmu_b)" opacity=".3" transform="translate(16 810)"><path fill-rule="nonzero" d="M330 3a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-16a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h16Zm-.201 1.199h-15.6v15.6h15.6v-15.6Zm-4.475 2.051 1.188.42a9.371 9.371 0 0 1-.816 1.548h1.392v5.052h-2.472v.924h2.94v1.176h-2.94v2.148h-1.224V15.37h-2.856v-1.176h2.856v-.924h-2.424V8.218h1.44a9.223 9.223 0 0 0-.9-1.488l1.14-.384c.336.48.636.984.888 1.536l-.756.336h1.656c.336-.612.624-1.272.888-1.968Zm-5.148.54v3.696h-2.16l-.168 1.62h2.4c0 2.064-.072 3.444-.192 4.14-.144.696-.756 1.08-1.848 1.152-.312 0-.624-.024-.96-.048l-.324-1.164c.312.036.648.06.984.06.6 0 .936-.192 1.02-.576.084-.384.132-1.212.132-2.484h-2.484l.336-3.768h2.028v-1.56h-2.256V6.79h3.492Zm5.808 4.5h-1.368v.936h1.368v-.936Zm-2.592 0h-1.308v.936h1.308v-.936Zm0-2.016h-1.308v.984h1.308v-.984Zm2.592 0h-1.368v.984h1.368v-.984Z" /></g></g></symbol><symbol viewBox="0 0 16 16" id="icon-icon_filled_camera"><path fill-opacity=".8" fill-rule="evenodd" d="M9.822 2.667c.111 0 .215.055.277.148l1.234 1.852H14c.368 0 .667.298.667.666v7.334a.667.667 0 0 1-.667.666H2a.667.667 0 0 1-.667-.666V5.333c0-.368.299-.666.667-.666h2.667L5.9 2.815a.333.333 0 0 1 .277-.148h3.644Zm.511 6a2.333 2.333 0 1 1-4.666 0 2.333 2.333 0 0 1 4.666 0Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 80 80" id="icon-icon_ktv_unsing"><path d="M21.162 14.29c0-2.39 2.73-3.474 4.226-1.85l.225.279 2.609 4.153c.68.961 1.555 1.909 3.37 2.56 1.752.47 3.036.527 3.036.527s-1.225 2.98-3.081 3.39c-1.961.435-3.54-.141-5.089-1.363l-.35-.299v10.74l-.004-.003a7.224 7.224 0 1 1-4.942-7.23V14.29Zm40.382 3.041c-6.474-3.737-14.752-1.52-18.49 4.955a13.502 13.502 0 0 0-.989 11.42c5.178 3.998 9.394 6.43 15.026 8.684a13.503 13.503 0 0 0 9.408-6.569c3.737-6.474 1.52-14.752-4.955-18.49Zm-20.69 20.852c4.322 3.204 8.199 5.46 12.864 7.473L37.565 67.898a5.116 5.116 0 0 1-8.733-5.256l12.022-24.459Z" /></symbol><symbol viewBox="0 0 16 16" id="icon-icon_reload"><path d="m7.219 1.333 1.32 1.32.212.212a.5.5 0 0 1 0 .708L7.219 5.105l-.566-.566 1.063-1.065a5.2 5.2 0 1 0 3.961 1.516l.566-.566a6 6 0 1 1-4.796-1.732l-.794-.793.566-.566Z" /></symbol><symbol viewBox="0 0 24 24" id="icon-icon_send"><defs><filter id="icon-icon_send_a"><feColorMatrix in="SourceGraphic" values="0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 1.000000 0"></feColorMatrix></filter></defs><g fill-rule="evenodd" filter="url(#icon-icon_send_a)" opacity=".3" transform="translate(-44)"><g transform="translate(44)"><path stroke="currentColor" stroke-width="1.2" d="M14.5 4.002a.5.5 0 0 1 .354.146l5.439 5.44a1 1 0 0 1 0 1.414l-5.44 5.44a.5.5 0 0 1-.853-.354v-3.884c-7.93-.197-9.618 9.035-9.618 8.034C3.818 13.868 6.954 8.041 14 7.634V4.502a.5.5 0 0 1 .5-.5Z" opacity=".9" /></g></g></symbol><symbol viewBox="0 0 12 12" id="icon-icon_weixindou"><path fill-rule="evenodd" d="M9.313 3.286c-.506-.506-1.166-.789-1.891-.864a3.757 3.757 0 0 1-.448.773c-.608.84-1.538 1.237-1.538 1.237S6.41 3.393 6.526 2.4c.058-.495-.043-1.11-.263-1.333a.218.218 0 0 0-.374.13c-.03.305-.143.723-.44 1.119-.238.317-.743.683-.924.809a6.187 6.187 0 0 0-1.24.96C1.4 5.972 1.042 8.67 2.486 10.115c1.444 1.443 4.143 1.086 6.028-.8 1.885-1.885 2.243-4.584.8-6.028Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 24 24" id="icon-icon_zhankai"><g fill-rule="evenodd" stroke="currentColor" stroke-width=".5" transform="translate(5.626 6)"><path d="m11.952 0 .797.785-5.842 5.749a.765.765 0 0 1-1.065 0L-.001.784.796.002l5.578 5.488L11.952.001Z" /><path d="m11.952 6 .797.785-5.842 5.749a.765.765 0 0 1-1.065 0l-5.843-5.75.797-.783 5.578 5.488 5.578-5.488Z" /></g></symbol><symbol viewBox="0 0 20 20" id="icon-icons_filled_history"><path d="M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 .96a7.04 7.04 0 1 0 0 14.08 7.04 7.04 0 0 0 0-14.08ZM9.52 5.2h.96l-.001 4.402 3.114 3.113-.679.68L9.52 10V5.2Z" /></symbol><symbol viewBox="0 0 12 12" id="icon-icons_filled_lock"><path fill-opacity=".9" fill-rule="evenodd" d="M3.75 3.25a2.25 2.25 0 0 1 4.5 0V4.5H9.5a.5.5 0 0 1 .5.5v5.5c0 .277-.222.5-.5.5h-7a.5.5 0 0 1-.5-.5V5c0-.276.222-.5.5-.5h1.25V3.25Zm3.5 0V4.5h-2.5V3.25a1.25 1.25 0 1 1 2.5 0Zm-.375 4.127a.875.875 0 0 1-.438.758v1.211h-.875v-1.21a.875.875 0 1 1 1.313-.759Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 16 16" id="icon-icons_filled_me"><g opacity=".9"><path d="M7.933 2A2.668 2.668 0 0 1 10.6 4.667v1.14c0 .76-.4 1.848-.888 2.427l-.241.286a.89.89 0 0 0-.227.642h-.802a1.67 1.67 0 0 1 .342-1.063l.08-.1.237-.28c.333-.395.641-1.186.692-1.756l.007-.145V4.667a1.868 1.868 0 0 0-3.728-.14l-.005.13v1.15c0 .517.273 1.317.604 1.786l.088.116.248.294c.701.83.498 1.977-.432 2.505l-.114.06-3.767 1.839c-.112.054-.227.222-.273.354l-.016.066-.005.133v.24l5.533-.001V14H2.268a.665.665 0 0 1-.668-.666v-.457c0-.457.332-.99.743-1.19l3.773-1.84c.548-.268.675-.86.28-1.328l-.241-.286c-.49-.58-.888-1.667-.888-2.427v-1.14A2.668 2.668 0 0 1 7.933 2ZM11.096 13.035l3.476-3.475.566.566-3.852 3.851a.267.267 0 0 1-.378 0l-1.971-1.973.564-.564 1.595 1.595Z" /></g></symbol><symbol viewBox="0 0 16 16" id="icon-icons_filled_top"><defs><filter id="icon-icons_filled_top_a" color-interpolation-filters="auto"><feColorMatrix in="SourceGraphic" values="0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 1.000000 0"></feColorMatrix></filter></defs><g fill-rule="evenodd" filter="url(#icon-icons_filled_top_a)"><path d="m8.519 4.862 4.047 4.047a.667.667 0 0 1-.471 1.138h-1.381V14a.667.667 0 0 1-.667.667h-4A.667.667 0 0 1 5.381 14v-3.953H4a.667.667 0 0 1-.471-1.138l4.047-4.047c.26-.26.682-.26.943 0ZM13.333 2v1.333H2.667V2h10.666Z" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-icons_outlined_comment"><path fill-rule="evenodd" d="M19 4.5A2.5 2.5 0 0 1 21.5 7v8.5A2.5 2.5 0 0 1 19 18h-7.5l-2.293 2.29a1 1 0 0 1-1.707-.7V18H5a2.5 2.5 0 0 1-2.5-2.5V7A2.5 2.5 0 0 1 5 4.5h14Zm0 1.2H5a1.3 1.3 0 0 0-1.293 1.167L3.7 7v8.5a1.3 1.3 0 0 0 1.167 1.293L5 16.8h3.7l-.001 2.3 2.304-2.3H19a1.3 1.3 0 0 0 1.293-1.167l.007-.133V7a1.3 1.3 0 0 0-1.167-1.293L19 5.7Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 12 12" id="icon-icons_outlined_eyes"><g clip-path="url(#icon-icons_outlined_eyes_a)"><path fill-opacity=".9" fill-rule="evenodd" d="M6 3c2.404 0 4.486 1.424 5.5 3.5C10.486 8.576 8.404 10 6 10S1.514 8.576.5 6.5C1.514 4.424 3.596 3 6 3Zm0 1.1c-1.713 0-3.276.895-4.203 2.336l-.04.064.04.065c.899 1.396 2.396 2.28 4.048 2.333L6 8.9c1.713 0 3.276-.895 4.204-2.335l.04-.065-.04-.064c-.9-1.397-2.397-2.281-4.049-2.334L6 4.1Zm0 1.15a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5Z" clip-rule="evenodd" /></g><defs><clipPath id="icon-icons_outlined_eyes_a"><path d="M0 3h12v7H0z" /></clipPath></defs></symbol><symbol viewBox="0 0 24 24" id="icon-icons_outlined_fav"><path fill-rule="evenodd" d="m15.654 6.797-.177 2.758h4.01c1.346 0 2.359 1.385 2.155 2.763l-.027.148-1.429 6.743c-.212.993-1.02 1.713-1.976 1.783l-.153.006-13.707-.006c-.552 0-1-.448-1-1v-8.58a1 1 0 0 1 1-1h2.441l1.262-.03.417-.018.168-.015.028-.005c1.356-.315 2.39-2.406 2.58-4.276l.01-.16.023-.572.022-.276c.073-.707.299-1.54 1.08-1.883 2.054-.9 3.386 1.835 3.273 3.62Zm-2.79-2.52c-.16.07-.282.294-.346.713l-.021.167-.02.224-.023.604-.014.204c-.252 2.486-1.614 4.885-3.502 5.324l-.097.018-.203.023-.182.012-.256.01v8.218l9.814.004.109-.003c.381-.028.721-.304.855-.709l.034-.125 1.422-6.708.02-.11c.1-.668-.354-1.308-.87-1.381l-.098-.007h-5.288l.259-4.033c.091-1.449-.863-2.766-1.594-2.446ZM7 11.606l-.209.005-2.242-.001v8.181L7 19.793v-8.186Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 24 24" id="icon-icons_outlined_fire"><path d="M11.4 2.517c1.769 0 3.162 1.488 3.63 2.973.205.647.155 1.324.068 1.95l-.118.796c-.085.628-.095 1.148.267 1.451.64.537 1.414-.069 1.982-.8l.164-.222.15-.224c.047-.074.091-.147.132-.218a11.635 11.635 0 0 1 1.475 5.627 7.153 7.153 0 0 1-4.915 6.794c-.41.134-.979-.103-.938-.565a5.29 5.29 0 0 0 .017-.459c0-.866-.437-1.74-1.31-2.62-.89.88-1.335 1.754-1.335 2.62 0 .156.013.31.038.46.055.322-.47.714-.849.595A7.155 7.155 0 0 1 4.85 13.85c0-2.603 1.325-4.545 2.32-5.611l.24-.248.22-.21.102-.092c-.195.904-.197 2.727.162 2.988.005.004.017-.01.018-.02.237-1.58.895-2.733 1.59-3.681l.263-.347.261-.33.502-.62.232-.295c.708-.925 1.134-1.757.64-2.867Zm5.984 7.989-.031.028c-.875.734-1.871.916-2.877.073-.677-.567-.832-1.031-.74-2.048l.04-.36.057-.407.062-.418.044-.336.026-.279.01-.241c0-.077-.003-.15-.009-.223a1.926 1.926 0 0 0-.08-.444 3.352 3.352 0 0 0-1.125-1.626l-.038-.029-.025.106a4.026 4.026 0 0 1-.32.8l-.111.2a8 8 0 0 1-.613.888l-.987 1.234c-.82 1.065-1.3 1.986-1.519 3.123l-.049.289c-.112.746-.86 1.574-1.91.813a1.536 1.536 0 0 1-.467-.601l-.021-.05-.102.227a6.631 6.631 0 0 0-.543 2.345l-.006.28a5.958 5.958 0 0 0 3.19 5.274l.248.123.008-.083c.12-.982.622-1.92 1.463-2.812l.2-.205.852-.843.844.85c.945.953 1.506 1.959 1.632 3.012l.008.087.048-.021a5.957 5.957 0 0 0 3.402-5.147l.005-.235c0-.989-.148-1.973-.43-2.92l-.136-.424Z" /></symbol><symbol viewBox="0 0 24 24" id="icon-icons_outlined_like"><path fill-rule="evenodd" d="m11.29 5.775.387.377.32.305.463-.442.245-.24a5 5 0 0 1 7.125 7.016l-7.125 7.126a1 1 0 0 1-1.32.083l-.094-.083-7.126-7.126a5 5 0 0 1 7.126-7.016Zm-.848.848a3.8 3.8 0 0 0-5.374 0 3.8 3.8 0 0 0-.197 5.164l.143.156 6.982 6.985 6.973-6.973a3.8 3.8 0 0 0 .105-5.177l-.147-.155a3.8 3.8 0 0 0-5.374 0l-.402.393-1.153 1.09-1.3-1.232-.256-.25Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 24 24" id="icon-icons_outlined_share"><path fill-rule="evenodd" d="M13.004 2.998a1 1 0 0 1 .703.29l7.172 7.103a1 1 0 0 1 .09 1.32l-.09.1-7.172 7.104a1 1 0 0 1-1.703-.71v-3.283c-2.339.188-5.752 1.57-7.528 5.9-.295.72-1.019.713-1.176-.22-1.247-7.38 2.952-12.387 8.704-13.294v-3.31a1 1 0 0 1 1-1Zm.199 1.48v3.856l-1.012.16c-4.826.76-7.977 4.52-7.908 9.759l.007.287.025-.041c1.774-2.857 4.454-4.432 7.307-4.746l.286-.027 1.296-.105-.001 4.103 6.688-6.623-6.688-6.623Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 12 13" id="icon-icons_outlined_top"><path fill-rule="evenodd" d="M9.425 6.695 6.389 3.443a.477.477 0 0 0-.707 0L2.646 6.695a.556.556 0 0 0-.146.379c0 .296.224.536.5.536h1.035v3.176c0 .296.224.536.5.536h3c.277 0 .5-.24.5-.536V7.61h1.036c.133 0 .26-.057.354-.157a.563.563 0 0 0 0-.758Zm-5.822.111L6.035 4.2l2.432 2.606H7.285v3.712h-2.5V6.806H3.603ZM10 1.679v.803H2V1.68h8Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 16 16" id="icon-input_alias_switch"><defs><rect id="icon-input_alias_switch_b" width="16" height="16" x="0" y="0" rx="8" /><filter id="icon-input_alias_switch_a" width="118.8%!"(MISSING) height="118.8%!"(MISSING) x="-9.4%!"(MISSING) y="-9.4%!"(MISSING) filterUnits="objectBoundingBox"><feOffset in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation=".5"></feGaussianBlur><feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix></filter></defs><g fill-rule="evenodd"><use xlink:href="#icon-input_alias_switch_b" filter="url(#icon-input_alias_switch_a)" /><use xlink:href="#icon-input_alias_switch_b" /><path d="M11.75 8.75a.25.25 0 0 1 .165.438L9.448 11.35a.2.2 0 0 1-.297-.263L10.234 9.5H4v-.75h7.751ZM6.833 4.669a.2.2 0 0 1 .015.244L5.765 6.5H12v.75H4.25a.25.25 0 0 1-.165-.438L6.55 4.65a.2.2 0 0 1 .282.019Z" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-like"><path fill-opacity=".9" fill-rule="evenodd" d="M19.285 12.645a3.8 3.8 0 0 0-5.416-5.332c-.192.192-.436.427-.732.707l-.823.775-.823-.775c-.297-.28-.54-.515-.733-.707a3.8 3.8 0 0 0-5.374 0c-1.468 1.469-1.485 3.844-.054 5.32l6.984 6.984 6.97-6.972zm-14.75-6.18a5 5 0 0 1 7.072 0c.182.182.418.41.707.682.288-.272.524-.5.707-.683a5 5 0 0 1 7.125 7.017l-7.125 7.126a1 1 0 0 1-1.414 0L4.48 13.48a5 5 0 0 1 .055-7.017z" /></symbol><symbol viewBox="0 0 24 24" id="icon-live_action_ban"><defs><filter id="icon-live_action_ban_a"><feColorMatrix in="SourceGraphic" values="0 0 0 0 0.000000 0 0 0 0 0.000000 0 0 0 0 0.000000 0 0 0 1.000000 0"></feColorMatrix></filter></defs><g fill-rule="evenodd" filter="url(#icon-live_action_ban_a)"><g><path d="M12 3.667a8.333 8.333 0 1 1 0 16.666 8.333 8.333 0 0 1 0-16.666zm0 1.666a6.667 6.667 0 1 0 0 13.334 6.667 6.667 0 0 0 0-13.334z" /><path d="M7.194 5.786 5.785 7.2l11.021 11.014 1.409-1.414z" /></g></g></symbol><symbol viewBox="0 0 24 24" id="icon-live_action_banchat"><path fill-rule="evenodd" d="M4.443 7.211 15.022 17.79a9.468 9.468 0 0 1-4.022.878 9.715 9.715 0 0 1-2.324-.28l-.365-.097-2.486 1.192a.417.417 0 0 1-.595-.34l.001-.084.252-2.166c-1.727-1.298-2.816-3.195-2.816-5.309 0-1.65.663-3.168 1.776-4.372zM4.768 4l1.66 1.66C7.741 4.927 9.312 4.5 11 4.5c4.602 0 8.333 3.171 8.333 7.083 0 1.847-.831 3.529-2.193 4.79l1.77 1.77-.884.883-1.875-1.874L3.884 4.884 4.768 4z" /></symbol><symbol viewBox="0 0 20 20" id="icon-live_action_banchat_cancel"><path fill-opacity=".9" fill-rule="evenodd" d="M10 16.667c4.602 0 8.333-3.172 8.333-7.084 0-3.912-3.73-7.083-8.333-7.083-4.602 0-8.333 3.171-8.333 7.083 0 2.114 1.089 4.011 2.816 5.31l-.252 2.165a.417.417 0 0 0 .594.424l2.486-1.192a9.665 9.665 0 0 0 2.689.377Z" /></symbol><symbol viewBox="0 0 20 20" id="icon-live_action_complaint"><path fill-opacity=".9" fill-rule="evenodd" d="M10.499 2.8a1 1 0 0 1 .366.367L18.3 16.044a1 1 0 0 1-.866 1.5l-14.87.001a1 1 0 0 1-.866-1.5L9.133 3.167a1 1 0 0 1 1.366-.366zm-.501 10.916a.692.692 0 0 0-.708.688c0 .386.312.694.708.694.4 0 .712-.308.712-.694a.693.693 0 0 0-.712-.688zm.63-5.762H9.372l.097 4.722h1.06l.097-4.722z" /></symbol><symbol viewBox="0 0 20 20" id="icon-live_action_copy"><path fill-opacity=".9" fill-rule="evenodd" d="M10.5 2.75v3.917c0 .184.15.333.333.333h3.92L10.5 2.75zM4.163 1.666h6.669l5.001 5V17.5a.83.83 0 0 1-.83.832H4.163a.833.833 0 0 1-.83-.832v-15a.83.83 0 0 1 .83-.832z" /></symbol><symbol viewBox="0 0 20 20" id="icon-live_action_reply"><path fill-opacity=".9" fill-rule="evenodd" d="M10 2.5c4.602 0 8.333 3.171 8.333 7.083 0 3.912-3.73 7.084-8.333 7.084-.94 0-1.845-.133-2.689-.377l-2.486 1.192a.417.417 0 0 1-.594-.424l.252-2.166c-1.727-1.298-2.816-3.195-2.816-5.309C1.667 5.671 5.397 2.5 10 2.5zM6.5 8a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM10 8a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm3.5 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2z" /></symbol><symbol viewBox="0 0 24 24" id="icon-live_action_top"><g fill-rule="evenodd" transform="translate(3 3)"><path fill-opacity=".9" d="M12.845 16.842c0 .41-.333.743-.743.743H6.898a.743.743 0 0 1-.743-.743V11.99H3.118a.744.744 0 0 1-.525-1.269l6.381-5.99a.745.745 0 0 1 1.052 0l6.381 5.99a.743.743 0 0 1-.525 1.269h-3.037v4.853z" /><rect width="14.25" height="1.663" x="2.375" y="1.9" opacity=".9" rx=".57" /></g></symbol><symbol viewBox="0 0 24 24" id="icon-live_call_audio"><path fill-rule="evenodd" d="M16.36 15.286c-.168-.055-.237-.027-.39.056-.503.28-1.731.95-2.457 1.326a1.237 1.237 0 0 1-.6.154c-.237 0-.446-.07-.628-.182-1.018-.6-1.981-1.298-2.804-2.135-.824-.823-1.521-1.786-2.121-2.805a1.22 1.22 0 0 1-.182-.628c0-.21.056-.419.154-.6a77.463 77.463 0 0 1 1.325-2.456c.084-.154.112-.237.056-.391L7.527 4.471a1.016 1.016 0 0 0-.92-.614c-.168 0-.364.07-.406.084a3.556 3.556 0 0 0-2.344 3.335c0 .433.112.837.126.935a15.68 15.68 0 0 0 4.214 7.592 15.678 15.678 0 0 0 7.59 4.214c.098.028.503.126.936.126a3.555 3.555 0 0 0 3.335-2.345c.014-.041.097-.237.083-.404-.028-.419-.265-.768-.628-.921l-3.153-1.187Z" /></symbol><symbol viewBox="0 0 24 24" id="icon-live_call_btn"><path fill-rule="evenodd" d="M6.17 3.857c.417.014.765.251.918.614l1.183 3.154c.056.154.028.237-.056.39a77.532 77.532 0 0 0-1.322 2.457c-.097.181-.153.39-.153.6 0 .223.07.447.181.628.599 1.019 1.294 1.982 2.115 2.805.821.837 1.782 1.535 2.797 2.135.181.112.39.182.627.182.222 0 .417-.056.598-.154.723-.377 1.948-1.047 2.449-1.326.153-.083.223-.111.39-.056l3.144 1.187c.362.153.599.502.627.92.014.168-.07.364-.084.405a3.545 3.545 0 0 1-3.326 2.345 3.82 3.82 0 0 1-.932-.126 15.623 15.623 0 0 1-7.57-4.214A15.692 15.692 0 0 1 3.554 8.21c-.014-.098-.125-.502-.125-.935 0-1.535.974-2.833 2.337-3.335.042-.014.237-.084.404-.084Zm11.394 1.357c.237 0 .43.187.43.418v4.593c0 .23-.193.418-.43.418h-5.585a.424.424 0 0 1-.43-.418V5.632c0-.23.192-.418.43-.418h5.585Zm2.913.817a.41.41 0 0 1 .094.26v3.274c0 .23-.192.418-.43.418a.437.437 0 0 1-.268-.092l-1.45-1.127v-1.67l1.45-1.128a.438.438 0 0 1 .604.065Z" /></symbol><symbol viewBox="0 0 24 24" id="icon-live_call_video"><path fill-rule="evenodd" d="M15.143 6a.91.91 0 0 1 .898.923v10.154a.91.91 0 0 1-.898.923H3.469a.91.91 0 0 1-.898-.923V6.923A.91.91 0 0 1 3.47 6h11.674Zm6.089 1.805a.94.94 0 0 1 .197.577v7.236a.91.91 0 0 1-.898.923.883.883 0 0 1-.561-.202l-3.031-2.493v-3.692l3.03-2.493a.882.882 0 0 1 1.263.144Z" /></symbol><symbol viewBox="0 0 32 32" id="icon-live_call_volume_1"><path fill-rule="evenodd" d="M10.5 14v2a5.5 5.5 0 0 0 11 0v-2H23v2a7.001 7.001 0 0 1-6.25 6.96V26h-1.5v-3.04A7.001 7.001 0 0 1 9 16v-2h1.5ZM16 6a4 4 0 0 1 4 4v6a4 4 0 1 1-8 0v-6a4 4 0 0 1 4-4Z" /></symbol><symbol viewBox="0 0 32 32" id="icon-live_call_volume_muted"><path fill-rule="evenodd" d="M26 21c0 1.11-.362 2.136-.974 2.966a5.031 5.031 0 0 1-1.06 1.06A5 5 0 1 1 26 21Zm-5 3.5c.695 0 1.343-.203 1.887-.552l-4.835-4.835A3.5 3.5 0 0 0 21 24.5Zm-1.887-6.448 4.835 4.835a3.5 3.5 0 0 0-4.835-4.835Z" clip-rule="evenodd" /><path d="M11.5 10.5a4.5 4.5 0 1 1 9 0v4.019a6.5 6.5 0 0 0-5.995 6.227A4.502 4.502 0 0 1 11.5 16.5v-6Z" /><path d="M14.64 22.345A6.002 6.002 0 0 1 10 16.5V15H8.5v1.5a7.501 7.501 0 0 0 6.711 7.459 6.456 6.456 0 0 1-.572-1.614Zm.61 1.689V27h1.5v-1.082a6.527 6.527 0 0 1-1.5-1.884Z" /></symbol><symbol viewBox="0 0 20 20" id="icon-live_exitfullscreen"><path d="M13.863 7.315h2.154v1.667H11.85a.833.833 0 0 1-.833-.834V3.982h1.666v2.155L16.321 2.5 17.5 3.679l-3.637 3.636zm-7.726 5.368H3.983v-1.666H8.15c.46 0 .833.373.833.833v4.167H7.317V13.86l-3.638 3.637L2.5 16.32l3.637-3.637z" /></symbol><symbol viewBox="0 0 20 20" id="icon-live_fullscreen"><path fill-rule="evenodd" d="M17.5 12.5v4.167c0 .46-.373.833-.833.833H12.5v-1.667h3.333V12.5H17.5zm-9.695-1.483 1.178 1.178-3.636 3.637H7.5v1.666H3.333a.833.833 0 0 1-.833-.833v-4.167h1.667v2.156l3.638-3.637zM16.667 2.5c.46 0 .833.373.833.833V7.5h-1.667V5.345l-3.638 3.637-1.178-1.179 3.636-3.636H12.5V2.5h4.167zM7.5 2.5v1.667H4.167V7.5H2.5V3.333c0-.46.373-.833.833-.833H7.5z" /></symbol><symbol viewBox="0 0 24 24" id="icon-live_like"><path d="M4.157 9.297a.733.733 0 0 0-.728.725v8.967c0 .396.33.725.728.725H5.34a1 1 0 0 0 1-1v-8.417a1 1 0 0 0-1-1H4.157Zm6.42-4.55v.198a4.658 4.658 0 0 1-.652 2.231 4.351 4.351 0 0 1-2.194 1.857v9.681a1 1 0 0 0 1 1h8.332c.398 0 .795-.132 1.126-.33.33-.197.595-.527.728-.857.004-.01.03-.057.046-.127l.038-.156a516.08 516.08 0 0 0 1.493-6.74c.017-.08.043-.288.077-.625 0-.461-.066-.923-.33-1.319-.398-.659-1.06-.989-1.721-1.055h-4.104a8.056 8.056 0 0 0 .397-2.57 7.16 7.16 0 0 0-.199-1.715c-.198-.916-.926-1.649-1.919-1.649-1.312 0-2.118.99-2.118 2.176Z" /></symbol><symbol viewBox="0 0 20 20" id="icon-live_muted"><path fill-rule="evenodd" d="M4.268 2.5 7.55 5.782l1.867-1.865a.806.806 0 0 1 1.166 0 .75.75 0 0 1 .243.465l.007.118v4.565l2.4 2.4a3.22 3.22 0 0 0-.565-3.714l-.085-.084.917-.917.083.083c.834.834 1.334 2 1.334 3.167 0 .849-.265 1.698-.73 2.418l.765.766c.657-.932.965-2.006.965-3.184 0-1.5-.584-2.833-1.584-3.917L14.25 6l.917-.917.083.084c1.25 1.25 2 3 2 4.833 0 1.517-.456 2.92-1.37 4.114l2.53 2.528-.884.884-8.744-8.745-2.116-2.114-3.282-3.283.884-.884zm1.047 4.583 5.518 5.518V15.5c0 .5-.333.833-.833.833a.733.733 0 0 1-.5-.173l-.083-.077-3.167-3.166H2.5c-.462 0-.781-.284-.827-.721l-.006-.113V7.917c0-.462.284-.781.72-.828l.113-.006h2.815z" /></symbol><symbol viewBox="0 0 12 12" id="icon-live_on_air"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M6 1a5 5 0 1 1 0 10A5 5 0 0 1 6 1Zm0 .75a4.25 4.25 0 1 0 0 8.5 4.25 4.25 0 0 0 0-8.5Z" /><circle cx="6" cy="6" r="2.75" /></g></symbol><symbol viewBox="0 0 15 16" id="icon-live_product_interpreting"><rect width="1.82" height="10.01" x="2.26" y="3.175" rx=".91" /><rect width="1.82" height="5.46" x="6.81" y="5.45" rx=".91" /><rect width="1.82" height="10.01" x="11.36" y="3.175" rx=".91" /></symbol><symbol viewBox="0 0 20 20" id="icon-live_rotate"><g><path d="M14.612 5.481h4.379l-2.19 3.174z" /><path d="m17.503 6.85.021-.154v-.06a4.737 4.737 0 0 0-.013-.186l-.01-.198v-.108a5.814 5.814 0 0 0-5.405-5.81L11.762.32l-.018 1.313a4.503 4.503 0 0 1 4.44 4.297l.006.351.021.384.017-.125.04-.12c.059-.152.124-.19.455-.321l.12-.047.023 1.312.227-.09c.315-.128.328-.17.41-.424zm-5.44-2.14c.517 0 .937.42.937.937v11.25c0 .518-.42.938-.938.938H4.939A.937.937 0 0 1 4 16.897V5.647c0-.517.42-.937.938-.937h7.125zm-.376 1.312H5.312v10.5h6.375v-10.5z" /></g></symbol><symbol viewBox="0 0 20 20" id="icon-live_share"><path fill-opacity=".8" fill-rule="evenodd" d="M11.708 2.5c.217 0 .425.076.59.214l.059.054 4.532 4.533c.5.5.52 1.295.063 1.82l-.063.066-4.532 4.533a.917.917 0 0 1-1.562-.568l-.003-.08v-2.736c-2.332.085-4.096 1.238-5.426 3.161a11.614 11.614 0 0 0-1.155 2.14l-.117.285-.06.156-.192.51-.066.168a.538.538 0 0 1-.622.319c-.29-.06-.352-.33-.375-.5-.524-5.906 2.527-10.45 8.012-11.01V3.418c0-.507.411-.917.917-.917z" /></symbol><symbol viewBox="0 0 28 28" id="icon-live_timeline"><path fill-opacity=".8" fill-rule="evenodd" d="M9.305 5.168a10.038 10.038 0 0 0-4.517 4.934H13.9a4.31 4.31 0 0 1 .338-.002L9.305 5.168Zm.941-.439A9.972 9.972 0 0 1 14 4a10 10 0 0 1 2.927.435v6.988a3.934 3.934 0 0 0-.288-.301l-6.393-6.393Zm-5.812 6.349A10 10 0 0 0 4 14c0 1.33.26 2.6.731 3.76l6.517-6.516.007.006c.06-.06.12-.117.184-.172H4.434Zm.737 7.622a10.038 10.038 0 0 0 4.935 4.514v-8.868a3.632 3.632 0 0 1 .005-.585L5.17 18.7Zm5.911 4.868A10 10 0 0 0 14 24c1.33 0 2.6-.26 3.76-.731l-6.372-6.373a3.927 3.927 0 0 1-.306-.3v6.972Zm7.618-.739a10.04 10.04 0 0 0 4.512-4.93H14.27a3.64 3.64 0 0 1-.51-.01l4.939 4.94Zm4.866-5.906A9.998 9.998 0 0 0 24 14a9.971 9.971 0 0 0-.729-3.754l-6.245 6.245a3.969 3.969 0 0 1-.414.432h6.954Zm-.734-7.617a10.04 10.04 0 0 0-4.93-4.516V14a4.332 4.332 0 0 1-.002.238l4.932-4.932Z" /></symbol><symbol viewBox="0 0 20 20" id="icon-live_volume"><path fill-rule="evenodd" d="M9.417 3.917 6.25 7.083H2.5c-.5 0-.833.334-.833.834v4.166c0 .5.333.834.833.834h3.75l3.167 3.166c.166.167.333.25.583.25.5 0 .833-.333.833-.833v-11a.757.757 0 0 0-.25-.583.806.806 0 0 0-1.166 0zm5.75 11L14.25 14l.083-.083c1.084-1.084 1.584-2.417 1.584-3.917s-.584-2.833-1.584-3.917L14.25 6l.917-.917.083.084c1.25 1.25 2 3 2 4.833 0 1.833-.667 3.5-2 4.833l-.083.084zM13.5 13.25l-.917-.917.084-.083a3.22 3.22 0 0 0 0-4.5l-.084-.083.917-.917.083.083c.834.834 1.334 2 1.334 3.167 0 1.167-.5 2.333-1.334 3.167l-.083.083z" /></symbol><symbol viewBox="0 0 20 20" id="icon-logo"><path fill-rule="evenodd" d="M9.017 11.752c-.239.472-.653 1.249-1.153 2.006-.798 1.208-1.35 1.67-1.668 1.847a.308.308 0 0 1-.411-.11c-.36-.566-1.05-2.053-1.687-4.688-.68-2.811-.906-5.396-.552-6.288a.236.236 0 0 1 .343-.12c.48.293 1.672 1.364 3.927 5.26.508.878.945 1.644 1.2 2.092m6.886-.944c-.624 2.583-1.3 4.063-1.663 4.651a.362.362 0 0 1-.509.116c-.675-.437-1.784-1.862-2.749-3.818.255-.448.694-1.217 1.203-2.097 2.262-3.908 3.456-4.973 3.931-5.263.129-.079.28-.024.338.12l.001.003c.354.892.127 3.477-.552 6.288m2.139-6.97c-.432-1.088-1.154-1.301-1.546-1.332-1.464-.113-3.19 1.752-5.782 6.232-.261.451-.503.873-.713 1.239-.209-.364-.45-.785-.713-1.239-2.593-4.481-4.325-6.345-5.782-6.232-.392.03-1.114.244-1.546 1.331-.596 1.5-.148 4.432.172 6.047.483 2.439 1.261 4.867 1.982 6.188.48.878.959 1.325 1.508 1.409.089.013.178.02.267.02 1.624 0 3.17-2.206 4.112-3.888.942 1.682 2.488 3.888 4.112 3.888.089 0 .179-.007.267-.02.55-.083 1.028-.531 1.508-1.41.72-1.32 1.499-3.748 1.982-6.187.32-1.615.768-4.547.172-6.047" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 18 18" id="icon-membership"><path fill-rule="evenodd" d="M12.442 2.625c.32 0 .627.117.862.327l.085.084 2.781 3.013a1.22 1.22 0 0 1 .074 1.582L9.67 15.07a.892.892 0 0 1-1.267.075l-.075-.075-6.564-7.43a1.222 1.222 0 0 1-.014-1.499l.077-.093L4.61 3.036c.216-.234.512-.377.828-.406l.119-.005h6.886ZM6.645 7.207a.651.651 0 0 0-.964.858l.054.07 2.778 3.12.063.061a.651.651 0 0 0 .846 0l.063-.062 2.777-3.119.055-.07a.651.651 0 0 0-.046-.786l-.062-.063-.07-.054a.651.651 0 0 0-.786.045l-.063.062L9 9.842 6.707 7.27l-.063-.062Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 24 24" id="icon-online_people"><path fill-rule="evenodd" d="M20.3 19.8v-.485c0-.229-.235-.605-.44-.705l-5.66-2.76c-1.527-.745-1.904-2.546-.81-3.843l.36-.428c.552-.654 1.05-2.014 1.05-2.868V7c0-1.545-1.254-2.8-2.8-2.8A2.803 2.803 0 0 0 9.2 7v1.71c0 .856.496 2.21 1.05 2.866l.36.429c1.097 1.299.715 3.099-.81 3.843L4.14 18.61c-.203.099-.44.479-.44.705v.485h16.6zM2.5 20v-.685c0-.685.498-1.483 1.114-1.784l5.66-2.762c.821-.4 1.012-1.288.42-1.99l-.362-.429C8.596 11.478 8 9.85 8 8.71V7a4 4 0 0 1 8 0v1.71c0 1.14-.6 2.773-1.332 3.642l-.361.428c-.59.699-.406 1.588.419 1.99l5.66 2.762c.615.3 1.114 1.093 1.114 1.783V20a1 1 0 0 1-1 1h-17a1 1 0 0 1-1-1z" /></symbol><symbol viewBox="0 0 16 16" id="icon-outlined_mp"><path fill-rule="evenodd" d="M12.4 2.2a.6.6 0 0 1 .6.6v10.8a.6.6 0 0 1-.6.6H4a.6.6 0 0 1-.6-.6V2.8a.6.6 0 0 1 .6-.6h8.4Zm-.12.72H4.12v10.56h8.16V2.92ZM7.6 10.6v.72H5.2v-.72h2.4Zm0-1.8v.72H5.2V8.8h2.4ZM9.7 7v.72H5.2V7h4.5ZM6.1 4a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8Z" /></symbol><symbol viewBox="0 0 24 24" id="icon-pause"><path fill-opacity=".9" fill-rule="evenodd" d="M7 5h2c.552 0 1 .418 1 .933v12.134c0 .515-.448.933-1 .933H7c-.552 0-1-.418-1-.933V5.933C6 5.418 6.448 5 7 5zm8 0h2c.552 0 1 .418 1 .933v12.134c0 .515-.448.933-1 .933h-2c-.552 0-1-.418-1-.933V5.933c0-.515.448-.933 1-.933z" /></symbol><symbol viewBox="0 0 24 24" id="icon-play"><path fill-opacity=".9" fill-rule="evenodd" d="m9.524 4.938 10.092 6.21a1 1 0 0 1 0 1.704l-10.092 6.21A1 1 0 0 1 8 18.21V5.79a1 1 0 0 1 1.524-.852z" /></symbol><symbol viewBox="0 0 38 10" id="icon-popover_arrow"><g filter="url(#icon-popover_arrow_a)"><path fill-rule="evenodd" d="M17.368 9.428 10.5 2.866l-.004-.003C7.496 0 3.5 0 0 0h37.6c-3.331 0-7.115 0-10.06 2.471l-7.28 6.957a2.113 2.113 0 0 1-2.892 0Z" clip-rule="evenodd" /></g><defs><filter id="icon-popover_arrow_a" width="146.331" height="118.732" x="-54.366" y="-54.366" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feGaussianBlur in="BackgroundImageFix" stdDeviation="27.183"></feGaussianBlur><feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_1_6446"></feComposite><feBlend in="SourceGraphic" in2="effect1_backgroundBlur_1_6446" result="shape"></feBlend></filter></defs></symbol><symbol viewBox="0 0 24 24" id="icon-private_like"><path fill-rule="evenodd" d="m11.286 5.778.386.377.32.305.463-.441.245-.24a5 5 0 0 1 7.274 6.855v-.078c0-1.67-1.313-3.056-2.974-3.056-1.66 0-2.974 1.386-2.974 3.055v.665l.007.2c.027.403.134.842.298 1.247l.028.065-1.135.586C12.49 15.695 12 16.524 12 17.345v.266a1.89 1.89 0 0 0 1.236 1.773l-.536.536a1 1 0 0 1-1.32.084l-.094-.084-7.126-7.125a5 5 0 0 1 7.126-7.017zM17 11c.814 0 1.474.697 1.474 1.556v.665c0 .443-.221 1.078-.491 1.416l-.133.166c-.217.272-.15.618.154.774l2.086 1.074c.226.117.41.425.41.694v.266a.389.389 0 0 1-.389.389H13.89a.389.389 0 0 1-.389-.389v-.266c0-.267.184-.577.41-.694l2.086-1.074c.302-.156.373-.501.154-.774l-.133-.167c-.271-.339-.49-.972-.49-1.416v-.665c0-.859.66-1.555 1.473-1.555z" opacity=".8" /></symbol><symbol viewBox="0 0 24 24" id="icon-setting_present"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M14.665 2.402a3.59 3.59 0 0 1 2.266.717 3.384 3.384 0 0 1 1.349 2.488l.005.127h1.873c.676 0 1.23.52 1.287 1.18l.005.112v4.257h-.9v7.582a1.985 1.985 0 0 1-1.86 1.981l-.125.004H5.135a1.985 1.985 0 0 1-1.985-1.985v-7.583h-.9V7.027c0-.713.579-1.292 1.292-1.292h1.87a3.38 3.38 0 0 1 1.22-2.506l.137-.11a3.59 3.59 0 0 1 4.808.453l.122.144.15.186.152-.187a3.54 3.54 0 0 1 2.48-1.302zm4.685 8.88h-15v7.583c0 .398.295.726.678.778l.107.007h13.43a.785.785 0 0 0 .785-.785v-7.583zM3.542 6.934a.092.092 0 0 0-.092.092v3.056h16.8V7.026a.092.092 0 0 0-.063-.087l-.03-.005zM9 3.601a2.39 2.39 0 0 0-1.507.476 2.192 2.192 0 0 0-.882 1.657h5.173L10.775 4.48l-.099-.116A2.352 2.352 0 0 0 9 3.601zm5.702 0-.16.01a2.338 2.338 0 0 0-1.605.856l-1.021 1.267h5.173a2.182 2.182 0 0 0-.741-1.544l-.14-.113a2.39 2.39 0 0 0-1.506-.476z" /><path stroke="currentColor" stroke-width="1.3" d="M11.879 10.661v9.36" /></g></symbol><symbol viewBox="0 0 20 20" id="icon-share"><path d="M11.167 3.75a.917.917 0 0 1 1.565-.648l4.532 4.533c.521.52.521 1.365 0 1.885l-4.532 4.533a.917.917 0 0 1-1.565-.648V10.49c-2.467-.003-4.315 1.193-5.693 3.24-.525.78-.928 1.599-1.27 2.484-.083.217-.272.74-.27.735-.063.167-.084.214-.164.299a.506.506 0 0 1-.856-.197.476.476 0 0 1-.025-.163C2.36 10.762 5.508 6.041 11.167 5.61V3.75Zm1 .201v2.616l-.484.016c-4.575.148-7.41 3.32-7.803 7.896.226-.447.478-.881.764-1.307 1.647-2.446 3.957-3.852 7.053-3.665l.47.029v3.668l4.39-4.39a.333.333 0 0 0 0-.472l-4.39-4.39Z" /></symbol><symbol viewBox="0 0 24 24" id="icon-shopping_bag_filled"><path fill-rule="evenodd" d="M7.5 7v-.5a4.5 4.5 0 0 1 9 0V7H19c.552 0 1 .449 1 1.007v12.001c0 1.1-.895 1.992-1.994 1.992H5.994A1.994 1.994 0 0 1 4 20.008v-12C4 7.45 4.445 7 5 7h2.5ZM9 7h6v-.5a3 3 0 1 0-6 0V7ZM7.5 7v4H9V7H7.5ZM15 7v4h1.5V7H15Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 24 24" id="icon-star"><path fill-opacity=".9" fill-rule="evenodd" d="m15.941 14.28 3.942-3.841-5.447-.792L12 4.711 9.564 9.647l-5.447.792L8.06 14.28l-.93 5.425L12 17.144l4.872 2.562-.93-5.425zM12 18.5l-4.672 2.456a1 1 0 0 1-1.451-1.054l.892-5.202-3.78-3.685a1 1 0 0 1 .555-1.706l5.223-.759 2.336-4.733a1 1 0 0 1 1.794 0l2.336 4.733 5.223.76a1 1 0 0 1 .555 1.705L17.23 14.7l.892 5.202a1 1 0 0 1-1.45 1.054L12 18.5z" /></symbol><symbol viewBox="0 0 30 12" id="icon-tooltips_arrow"><path fill-rule="evenodd" d="M16.684.921C21.389 8.262 25.828 11.933 30 11.933H0c4.172 0 8.611-3.67 13.316-11.012a2 2 0 0 1 3.368 0z" opacity=".2" /></symbol><symbol viewBox="0 0 12 12" id="icon-user_channels"><path fill-opacity=".5" fill-rule="evenodd" d="M10.232.573c.683-.276 1.267-.011 1.572.751.82 2.05-1.099 9.81-2.603 9.81-.487 0-.975-.406-1.544-1.134-.256-.328-.523-.72-.798-1.16-.22-.354-.436-.725-.644-1.101L6 7.343l-.01.019a25.93 25.93 0 0 1-.849 1.477c-.275.442-.542.833-.798 1.161-.569.728-1.057 1.133-1.544 1.133-1.504 0-3.422-7.758-2.603-9.809.305-.762.889-1.027 1.572-.75.496.2 1.043.679 1.654 1.397.363.427.744.933 1.135 1.502.434.63.859 1.303 1.257 1.976L6 5.766l.186-.317a35.88 35.88 0 0 1 .998-1.594l.259-.382A18.69 18.69 0 0 1 8.578 1.97C9.19 1.253 9.736.774 10.232.573zm-8.747.69c-.289-.117-.437-.05-.591.335-.27.673-.156 2.37.242 4.273l.094.426.102.43C1.835 8.765 2.56 10.39 2.8 10.39c.165 0 .523-.298.95-.845.239-.305.492-.675.754-1.096.213-.342.423-.702.625-1.068l.244-.451.205-.395-.215-.375-.195-.333a33.98 33.98 0 0 0-1.23-1.934 17.973 17.973 0 0 0-1.089-1.441c-.539-.634-1.009-1.046-1.364-1.19zm9.621.335c-.154-.385-.302-.452-.59-.336-.355.144-.826.556-1.364 1.189-.346.406-.711.892-1.09 1.441A32.648 32.648 0 0 0 7.07 5.43l-.337.566-.31.538.106.206.144.274c.262.49.54.979.824 1.434.262.421.515.791.754 1.096.427.547.785.845.95.845.24 0 .964-1.625 1.467-3.661l.102-.431c.473-2.073.625-3.976.336-4.699z" /></symbol><symbol viewBox="0 0 16 16" id="icon-user_comment_disabled"><path fill-opacity=".5" fill-rule="evenodd" d="M2.17 1.5 3.668 3h9.856c.538 0 .975.42.975.938v7.506c0 .519-.437.939-.975.939l-.474-.001 1.015 1.015-.604.603L1.566 2.103l.603-.603zm-.412 1.803.554.53a.18.18 0 0 0-.062.135v7.408a.19.19 0 0 0 .196.185h3.071v1.474l1.505-1.474h3.353l.857.821H7.35l-1.49 1.435a.668.668 0 0 1-.92 0 .614.614 0 0 1-.19-.443v-.991H2.475c-.538 0-.975-.42-.975-.939V3.938c0-.245.098-.468.258-.635zM12.23 11.56h1.324a.19.19 0 0 0 .196-.185V3.968a.19.19 0 0 0-.196-.185l-9.103-.001 7.779 7.779z" /></symbol><symbol viewBox="0 0 24 24" id="icon-video_play_next"><path d="m5.634 5.832 9.057 5.175a.825.825 0 0 1 0 1.432l-9.057 5.175A.825.825 0 0 1 4.4 16.9V6.548a.825.825 0 0 1 1.234-.716zM17.4 5.723h2.5v12h-2.5z" /></symbol><symbol viewBox="0 0 24 24" id="icon-video_replay"><path fill-rule="evenodd" d="m10.243 2 3.889 3.89a.5.5 0 0 1 0 .706l-3.89 3.89L8.829 9.07l1.944-1.945a6 6 0 1 0 5.47 1.632l1.415-1.415a8 8 0 1 1-7.111-2.211L8.828 3.414 10.243 2z" /></symbol><symbol viewBox="0 0 48 48" id="icon-warn_outlined"><path fill-rule="evenodd" d="M4 24c0 11.046 8.954 20 20 20s20-8.954 20-20S35.046 4 24 4 4 12.954 4 24Zm37.6 0c0 9.72-7.88 17.6-17.6 17.6-9.72 0-17.6-7.88-17.6-17.6 0-9.72 7.88-17.6 17.6-17.6 9.72 0 17.6 7.88 17.6 17.6ZM25.318 12.862l-.175 14.121h-2.286l-.175-14.12h2.636ZM22.33 32.477c0 .937.733 1.67 1.67 1.67.952 0 1.67-.733 1.67-1.67 0-.953-.718-1.67-1.67-1.67-.938 0-1.67.717-1.67 1.67Z" clip-rule="evenodd" /></symbol><symbol viewBox="0 0 16 16" id="icon-xmark"><path fill-rule="evenodd" d="M8.167 7.129 4.037 3l-.704.705 4.13 4.128-4.13 4.13.705.704 4.129-4.13 4.129 4.13.704-.705-4.129-4.129L13 3.705 12.296 3l-4.13 4.129Z" clip-rule="evenodd" /></symbol>', + t.insertBefore(n, t.lastChild) + }; + document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", e) : e() +} +export { + Hp as $, ie as A, Vr as B, De as C, gp as D, on as E, s0 as F, Wp as G, Qr as H, At as I, Kh as J, _i as K, Tr as L, + Ps as M, Ri as N, Fp as O, Np as P, ns as Q, jt as R, a0 as S, cn as T, me as U, ks as V, Jh as W, Se as X, Xf as Y, + Gs as Z, ec as _, $e as a, Bt as a$, $i as a0, Wn as a1, Dp as a2, yf as a3, Wt as a4, Je as a5, Mi as a6, _s as a7, + Ra as a8, Wl as a9, bp as aA, ke as aB, Ip as aC, rh as aD, hh as aE, Va as aF, Vt as aG, th as aH, Sp as aI, + ia as aJ, Ui as aK, Ir as aL, zn as aM, qp as aN, wr as aO, oh as aP, qa as aQ, jp as aR, Fh as aS, we as aT, + Bn as aU, Yn as aV, o0 as aW, ye as aX, Zp as aY, ir as aZ, nr as a_, qe as aa, Ci as ab, bh as ac, ln as ad, + Xp as ae, Bp as af, i0 as ag, r0 as ah, Ap as ai, df as aj, Sf as ak, Fi as al, Ep as am, mf as an, Qp as ao, + e0 as ap, $p as aq, ja as ar, On as as, wi as at, Pa as au, Vp as av, ii as aw, Cp as ax, vp as ay, Gp as az, + Hc as b, Xh as b$, Xa as b0, Qn as b1, St as b2, ei as b3, hp as b4, _t as b5, Nh as b6, Up as b7, or as b8, + Kp as b9, Gr as bA, Mt as bB, Qd as bC, Uo as bD, Zl as bE, xp as bF, zp as bG, Dr as bH, ri as bI, Ph as bJ, + Kr as bK, pf as bL, _f as bM, gf as bN, hf as bO, pr as bP, uf as bQ, yp as bR, ih as bS, nh as bT, Na as bU, + Ua as bV, hi as bW, sp as bX, mp as bY, Pp as bZ, ff as b_, ip as ba, ap as bb, Jp as bc, Rp as bd, op as be, + Tp as bf, tp as bg, np as bh, rp as bi, kh as bj, up as bk, pp as bl, wh as bm, Wo as bn, Fa as bo, Eh as bp, + Sh as bq, Zd as br, wp as bs, Yp as bt, Lp as bu, sh as bv, fp as bw, Vf as bx, Ht as by, Ut as bz, Zh as c, + dp as c0, Oa as c1, qr as c2, yh as c3, Op as c4, el as c5, ep as c6, xt as c7, Fc as c8, Qh as c9, Oc as ca, + Bi as cb, cp as cc, lp as cd, Yr as ce, ni as cf, oa as cg, t0 as d, cf as e, wu as f, gt as g, it as h, n0 as i, + G as j, at as k, vr as l, kp as m, Hf as n, fn as o, ht as p, eh as q, vf as r, Ka as s, Xe as t, Nr as u, Ce as v, + Ve as w, Pe as x, pt as y, Tl as z +}; diff --git a/kpl/kpl_api.py b/kpl/kpl_api.py index 5b0aafc..41797a1 100644 --- a/kpl/kpl_api.py +++ b/kpl/kpl_api.py @@ -194,6 +194,17 @@ data = json.loads(data) return int(data["info"]["strong"]) +def changeStatistics(): + """ + 鑾峰彇甯傚満寮哄害 + :return: + """ + result = __base_request("https://apphwhq.longhuvip.com/w1/api/index.php", + f"a=ChangeStatistics&apiv=w35&c=HomeDingPan&PhoneOSNew=1&UserID=0&DeviceID=d6f20ce9-fa08-31c9-a493-536ebb8e9774&VerSion=5.13.0.0&Token=0&") + data = result.text + data = json.loads(data) + return data["info"][0] + def test_l2(): code = "600981" @@ -209,4 +220,4 @@ if __name__ == '__main__': - print(int(getMarketStrong())) + print(changeStatistics()) diff --git a/main.py b/main.py index 308e841..c6bc753 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ from PyQt5.QtGui import QFont, QPalette, QColor, QTextOption from PyQt5.QtWebChannel import QWebChannel -from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEngineSettings +from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEngineSettings, QWebEnginePage from PyQt5.QtWidgets import QMainWindow, QApplication, QAction, QMessageBox, QLabel from PyQt5.QtCore import Qt, pyqtSlot, QObject, pyqtSignal, QTimer, QUrl, QPoint @@ -55,18 +55,20 @@ result, need_delegate = LocalKanPanNetworkDelegate.http_delegate_request(url) if not need_delegate: result = network_util.http_get(url) - print(url, "璇锋眰缁撴灉锛�",url, result) + print(url, "璇锋眰缁撴灉锛�", result) self.signal_request.emit(callback_info[0], callback_info[1], result) return result except Exception as e: - print("閾炬帴璇锋眰鍑洪敊锛�"+ url) logging.exception(e) - def __socket_request(self, text, callback_info): + def __socket_request(self, text, callback_info, port=None): try: print("socket璜嬫眰锛�", text) - result = network_util.socket_request(text) - print("璇锋眰缁撴灉锛�",text, result) + if port: + result = network_util.socket_request(text, port=port) + else: + result = network_util.socket_request(text) + print("璇锋眰缁撴灉锛�", result) self.signal_request.emit(callback_info[0], callback_info[1], result) return result except Exception as e: @@ -109,6 +111,34 @@ pass callback_info = json.loads(callback_info) t1 = threading.Thread(target=lambda: self.__socket_request(text, callback_info)) + t1.setDaemon(True) + t1.start() + + @pyqtSlot(str, str) + def ls_socket_request(self, text, callback_info): + print("ls_socket_request", text) + try: + text_json = json.loads(text) + params = [] + for k in text_json: + if k == "sign": + continue + if type(text_json[k]) == dict or type(text_json[k]) == list: + params.append(f"{k}={json.dumps(text_json[k], separators=(',', ':'))}") + else: + params.append(f"{k}={text_json[k]}") + params.sort() + params.append("%Yeshi2014@#.") + params_str = "&".join(params) + md5 = hashlib.md5() + md5.update(params_str.encode("utf-8")) + md5_hash = md5.hexdigest() + text_json["sign"] = md5_hash + text = json.dumps(text_json) + except: + pass + callback_info = json.loads(callback_info) + t1 = threading.Thread(target=lambda: self.__socket_request(text, callback_info, port=14008)) t1.setDaemon(True) t1.start() @@ -174,12 +204,12 @@ window_height = 80 padding = 10 self.resize(300, 50) - hwnds = win32_util.search_window("鎮诞鐩洏") - if hwnds: - rect = win32gui.GetWindowRect(hwnds[0]) - self.move(rect[0] + padding - 3, rect[1] - window_height - 30) - if rect[2] - rect[0] > 0: - self.resize((rect[2] - rect[0]) - (padding - 2) * 2, window_height) + # hwnds = win32_util.search_window("鎮诞鐩洏", is_one_result=True) + # if hwnds: + # rect = win32gui.GetWindowRect(hwnds[0]) + # self.move(rect[0] + padding - 3, rect[1] - window_height - 30) + # if rect[2] - rect[0] > 0: + # self.resize((rect[2] - rect[0]) - (padding - 2) * 2, window_height) self.setWindowTitle("娑堟伅鎻愮ず") self.setWindowFlag(Qt.WindowStaysOnTopHint, True) self.setWindowOpacity(0.9) @@ -323,6 +353,16 @@ print("") +class WebEnginePage(QWebEnginePage): + def javaScriptConsoleMessage(self, level, message, lineNumber, sourceID): + """澶勭悊 JavaScript 鎺у埗鍙版秷鎭�""" + print(f"JavaScript Console Error: {message} at line {lineNumber} of {sourceID}") + + def onLoadFailed(self, errorCode, failingUrl, errorDescription): + """澶勭悊鍔犺浇澶辫触鐨勬儏鍐�""" + print(f"Failed to load URL: {failingUrl}, Error: {errorDescription}, Code: {errorCode}") + + class MainWindow(QMainWindow): signal_update_code = pyqtSignal(str) @@ -403,6 +443,9 @@ size = (self.width(), self.height()) self.wx_pipe.send(json.dumps({"type": "codes_setting", "pos": (ps[0] + size[0] / 2, ps[1] + size[1] / 2)})) + def __show_dead_hwnds(): + self.wx_pipe.send(json.dumps({"type": "show_dead_hwnds"})) + def __manage_ths_pos(): ps = (self.x(), self.y()) size = (self.width(), self.height()) @@ -419,21 +462,16 @@ def __clear_webview_cache(): self.webview.page().profile().clearHttpCache() + def __show_ths_flash_trade(): + hwnds = ths_util.get_flash_trade_hwnds() + for hwnd in hwnds: + if not win32gui.IsWindowVisible(hwnd): + win32gui.BringWindowToTop(hwnd) + win32_util.move_window(hwnd, 0, 0) + menubar = self.menuBar() setting_ = menubar.addMenu('&璁剧疆') - - juejin_action = QAction("&鎺橀噾鍙傛暟閰嶇疆", self) - juejin_action.triggered.connect(__set_juejin_params) - setting_.addAction(juejin_action) - - action = QAction("&浠g爜绠$悊", self) - action.triggered.connect(__manage_code) - setting_.addAction(action) - - action = QAction("&涓嬭浇娑ㄥ仠浠g爜", self) - action.triggered.connect(__download_codes) - setting_.addAction(action) action = QAction("&GPU妫�娴�", self) action.triggered.connect(__gpu_is_avaiable) @@ -443,18 +481,13 @@ action.triggered.connect(__clear_webview_cache) setting_.addAction(action) - action = QAction("&鎺橀噾鍒嗘椂鏁版嵁涓嬭浇", self) - action.triggered.connect(__juejin_tick_download) - setting_.addAction(action) - action = QAction("&鍚岃姳椤轰唬鐮佽瘑鍒�", self) action.triggered.connect(__ths_ocr_code) setting_.addAction(action) - auto_ = menubar.addMenu('&鑷姩鍖�') - action = QAction("&鍚岃姳椤鸿缃�", self) - action.triggered.connect(__manage_ths_pos) - auto_.addAction(action) + action = QAction("&姝诲彞鏌勭鐞�", self) + action.triggered.connect(__show_dead_hwnds) + setting_.addAction(action) view_ = menubar.addMenu('&瑙嗗浘') action = QAction("&鎵撳紑鍓睆", self) @@ -465,9 +498,8 @@ action.triggered.connect(__show_his_msg_window) view_.addAction(action) - view_ = menubar.addMenu('&浠g爜绠$悊') - view_.aboutToShow.connect(__manage_code) - + view_ = menubar.addMenu('&鏄剧ず涓�閿崠鍑�') + view_.aboutToShow.connect(__show_ths_flash_trade) def __init__(self, wx_pipe): super().__init__() @@ -482,6 +514,7 @@ self.center() self.setWindowFlag(Qt.WindowStaysOnTopHint, True) self.webview = QWebEngineView() + self.webview.setPage(WebEnginePage()) self.webview.settings().setAttribute(QWebEngineSettings.JavascriptEnabled, True) self.__menu() # JS妗ヨ缃� @@ -524,6 +557,8 @@ except Exception as e: print("") self.wx_pipe.send(json.dumps({"type": "exit"})) + wxGuiProcess.terminate() + wxGuiProcess.join() sys.exit(0) # 璇诲彇娑堟伅 @@ -568,6 +603,7 @@ if __name__ == "__main__": freeze_support() p1, p2 = multiprocessing.Pipe() + global wxGuiProcess wxGuiProcess = Process(target=gui_wx.run, args=(p1,)) wxGuiProcess.start() diff --git a/test_ocr.py b/test_ocr.py index fa55f1a..b7a4f00 100644 --- a/test_ocr.py +++ b/test_ocr.py @@ -51,8 +51,6 @@ if __name__ == "__main__": pytesseract.pytesseract.tesseract_cmd = r'D:\Program Files\Tesseract-OCR\tesseract.exe' - config = r'--oem 3 --psm 6 -c tessedit_char_whitelist=0123456789' - img = get_image() for i in range(100): start_time = time.time() diff --git a/utils/invalid_hwnds_manager.py b/utils/invalid_hwnds_manager.py new file mode 100644 index 0000000..2e0765e --- /dev/null +++ b/utils/invalid_hwnds_manager.py @@ -0,0 +1,27 @@ +""" +鏃犳晥鍙ユ焺绠$悊 +鏌愪簺鍙ユ焺鍦ㄨ幏鍙栫獥鍙e悕绉版椂浼氬崱姝伙紝闇�瑕佽繃婊ゆ帀杩欓儴鍒嗙獥鍙� +""" +import os + +__PATH = r"../res/invalid_hwnds.txt" + + +def add_hwnd(hwnd): + olds = get_hwnds() + if hwnd in olds: + return + with open(__PATH, mode='a') as f: + f.write(str(hwnd)) + f.write("\n") + + +def get_hwnds(): + hwnds = [] + if os.path.exists(__PATH): + with open(__PATH, mode='r') as f: + lines = f.readlines() + for line in lines: + if line: + hwnds.append(int(line.strip())) + return hwnds diff --git a/utils/juejin_util.py b/utils/juejin_util.py new file mode 100644 index 0000000..3900321 --- /dev/null +++ b/utils/juejin_util.py @@ -0,0 +1,135 @@ +import setting +import gm.api as gmapi + + +class JueJinApi: + __previous_trading_date_cache = {} + + # 鑾峰彇鎺橀噾鍙傛暟 + @classmethod + def getJueJinAccountInfo(cls): + # strategy_id, token = setting.get_juejin_params() + return "", "95a982ce-fc2d-11ec-8ff3-0a0027000010", "77fa387b37e9bc1586ae1135827e2ccb3e7cd4e4" + + @classmethod + def get_juejin_code_list_with_prefix(cls, codes): + list = [] + for d in codes: + if d.find(".") > 0: + list.append(d) + elif d[0:2] == '00': + list.append("SZSE.{}".format(d)) + elif d[0:2] == '60': + list.append("SHSE.{}".format(d)) + return list + + @classmethod + def get_gp_latest_info(cls, codes, fields=None): + if not codes: + return [] + symbols = cls.get_juejin_code_list_with_prefix(codes) + + account_id, s_id, token = cls.getJueJinAccountInfo() + gmapi.set_token(token) + data = gmapi.get_instruments(symbols=",".join(symbols), fields=fields) + return data + + @classmethod + def get_history_tick_n(cls, code, count, fields=None, frequency="1d"): + symbols = cls.get_juejin_code_list_with_prefix([code]) + + account_id, s_id, token = cls.getJueJinAccountInfo() + gmapi.set_token(token) + # 鍓嶉櫎鏉� + results = gmapi.history_n(symbol=symbols[0], frequency=frequency, count=count, adjust=1, fields=fields) + return results + + @classmethod + def get_history_tick(cls, code, start_time, end_time, fields=None, frequency="1d"): + symbols = cls.get_juejin_code_list_with_prefix([code]) + + account_id, s_id, token = cls.getJueJinAccountInfo() + gmapi.set_token(token) + # 鍓嶉櫎鏉� + results = gmapi.history(symbol=symbols[0], frequency=frequency, start_time=start_time, end_time=end_time, + adjust=1, fields=fields) + return results + + @classmethod + def get_gp_current_info(cls, codes, fields=''): + if not codes: + return [] + symbols = cls.get_juejin_code_list_with_prefix(codes) + + account_id, s_id, token = cls.getJueJinAccountInfo() + gmapi.set_token(token) + data = gmapi.current(symbols=",".join(symbols), fields=fields) + return data + + # 鑾峰彇浜ゆ槗鎵�鐨勪唬鐮� + @classmethod + def get_exchanges_codes(cls, exchanges): + + account_id, s_id, token = cls.getJueJinAccountInfo() + gmapi.set_token(token) + return gmapi.get_instruments(exchanges=exchanges, sec_types=[1], skip_suspended=True, skip_st=True, + fields="symbol,sec_type,sec_id,sec_name,listed_date,sec_level,is_suspended,pre_close") + + @classmethod + def get_previous_trading_date(cls, date): + account_id, s_id, token = cls.getJueJinAccountInfo() + gmapi.set_token(token) + return gmapi.get_previous_trading_date("SHSE", date) + + @classmethod + def get_previous_trading_date_cache(cls, date): + if date not in cls.__previous_trading_date_cache: + pre_date = cls.get_previous_trading_date(date) + if pre_date: + cls.__previous_trading_date_cache[date] = pre_date + return cls.__previous_trading_date_cache.get(date) + + # 杩斿洖鎸囧畾鏃ユ湡鐨勪笅涓氦鏄撴棩 + @classmethod + def get_next_trading_date(cls, date): + + account_id, s_id, token = cls.getJueJinAccountInfo() + gmapi.set_token(token) + return gmapi.get_next_trading_date("SHSE", date) + + @classmethod + def get_trading_dates(cls, start_date, end_date): + account_id, s_id, token = cls.getJueJinAccountInfo() + gmapi.set_token(token) + return gmapi.get_trading_dates("SHSE", start_date, end_date) + + @classmethod + def get_codes(cls, sec_type): + """ + 浠g爜鑾峰彇 + :param sec_type: 8锛氬彲杞�� 1锛氳偂绁� + :return: + """ + account_id, s_id, token = cls.getJueJinAccountInfo() + gmapi.set_token(token) + return gmapi.get_instrumentinfos(exchanges="SHSE,SZSE", sec_types=[sec_type]) + + @classmethod + def get_underlying_code(cls, symbols): + """ + 鑾峰彇鍙浆鍊烘鑲′唬鐮� + :param symbols: 濡�:[SZSE.128144] + :return: 姝h偂浠g爜,濡�:[SZSE.002734] + """ + account_id, s_id, token = JueJinApi.getJueJinAccountInfo() + gmapi.set_token(token) + datas = gmapi.get_instruments(symbols=",".join(symbols), sec_types="8", + fields="symbol, sec_type, sec_id,sec_name, underlying_symbol") + fdatas = {} + for d in datas: + fdatas[d['symbol']] = d['underlying_symbol'] + return fdatas + + +if __name__ == "__main__": + print(JueJinApi.get_previous_trading_date("2024-12-31")) diff --git a/utils/network_util.py b/utils/network_util.py index 60b54fe..8a2306f 100644 --- a/utils/network_util.py +++ b/utils/network_util.py @@ -15,9 +15,9 @@ # HTTP_PORT = 9005 -def socket_request(data): +def socket_request(data, host=constant.SERVER_HOST, port=SOCKET_PORT): client = socket.socket() # 鐢熸垚socket锛岃繛鎺erver - ip_port = (constant.SERVER_HOST, SOCKET_PORT) # server鍦板潃鍜岀鍙e彿锛堟渶濂芥槸10000浠ュ悗锛� + ip_port = (host, port) # server鍦板潃鍜岀鍙e彿锛堟渶濂芥槸10000浠ュ悗锛� client.connect(ip_port) if type(data) != str: client.send(socket_util.load_header(json.dumps(data).encode("utf-8"))) diff --git a/utils/ths_util.py b/utils/ths_util.py index 4fa8c5b..2a6ee01 100644 --- a/utils/ths_util.py +++ b/utils/ths_util.py @@ -65,8 +65,35 @@ return None +def get_flash_trade_hwnds(): + """ + 鑾峰彇闂數浜ゆ槗鍙ユ焺 + :return: + """ + buy_win_list = [] + hWndList = [] + win32gui.EnumWindows(lambda hWnd, param: param.append(hWnd), hWndList) + for hwnd in hWndList: + clsname = win32gui.GetClassName(hwnd) + if clsname == '#32770' and win32gui.IsWindowVisible(hwnd): + pos = win32gui.GetWindowRect(hwnd) + width = pos[2] - pos[0] + height = pos[3] - pos[1] + if 500 > width > 100 and 500 > height > 50: + # 鏌ユ壘纭畾鎸夐挳 + try: + buy_win = win32gui.GetDlgItem(hwnd, 0x000003EE) + if buy_win > 0: + win_name = win32_util.getText(buy_win) + if win_name == '涓�閿拱鍏B]' or win_name == '涓�閿崠鍑篬S]': + buy_win_list.append(hwnd) + except Exception as e: + print(e) + return buy_win_list + + def get_ths_main_content_hwnd(): - hwnds = win32_util.search_window("鍚岃姳椤�") + hwnds = win32_util.search_window("鍚岃姳椤�", max_count=1) if hwnds: hwnd = hwnds[0] child = None @@ -170,4 +197,4 @@ if __name__ == "__main__": - print(get_ths_main_content_hwnd()) + print(get_flash_trade_hwnds()) diff --git a/win32_util.py b/win32_util.py index 87d1a9d..5c5fc10 100644 --- a/win32_util.py +++ b/win32_util.py @@ -2,34 +2,71 @@ import cv2 import numpy +import win32api import win32con import win32gui import win32ui +import ctypes +from ctypes import wintypes + +from utils import invalid_hwnds_manager def is_visible(hwnd): return win32gui.IsWindowVisible(hwnd) +# 瀹氫箟甯搁噺 +SMTO_NORMAL = 0x0000 +SMTO_BLOCK = 0x0001 +SMTO_ABORTIFHUNG = 0x0002 +SMTO_NOTIMEOUTIFNOTHUNG = 0x0008 + +text_hwnds_doing = set() + + +def get_title(hwnd): + length = ctypes.c_int(256) + buffer = ctypes.create_unicode_buffer(length.value) + ctypes.windll.user32.SendMessageTimeoutW( + hwnd, + ctypes.c_int(0x000D), # WM_GETTEXT + ctypes.c_int(255), + ctypes.c_void_p(buffer), + ctypes.c_int(0x0002), # SMTO_ABORTIFHUNG + ctypes.c_int(1000), + ctypes.pointer(ctypes.c_int(0)) + ) + return buffer.value + + def getText(hwnd): - bufSize = win32gui.SendMessage(hwnd, win32con.WM_GETTEXTLENGTH, 0, 0) + 1 - buffer = array.array('b', b'\x00\x00' * bufSize) - win32gui.SendMessage(hwnd, win32con.WM_GETTEXT, bufSize, buffer) - text = win32gui.PyGetString(buffer.buffer_info()[0], bufSize - 1) - return text.replace("\x00", "").strip() + text_hwnds_doing.add(hwnd) + try: + bufSize = win32gui.SendMessage(hwnd, win32con.WM_GETTEXTLENGTH, 0, 0) + 1 + buffer = array.array('b', b'\x00\x00' * bufSize) + win32gui.SendMessage(hwnd, win32con.WM_GETTEXT, bufSize, buffer) + text = win32gui.PyGetString(buffer.buffer_info()[0], bufSize - 1) + return text.replace("\x00", "").strip() + finally: + text_hwnds_doing.discard(hwnd) # 鏍规嵁鏍囬妯$硦鍖归厤 -def search_window(title): +def search_window(title, max_count=3): + invalid_hwnds = invalid_hwnds_manager.get_hwnds() hwnds = [] try: hwnd = win32gui.GetDesktopWindow() temp = None while True: - if temp and win32gui.IsWindowVisible(temp): - str_ = getText(temp) - if str_.find(title) > -1: - hwnds.append(temp) + if temp not in invalid_hwnds: + if temp and win32gui.IsWindowVisible(temp): + str_ = getText(temp) + if str_.find(title) > -1: + hwnds.append(temp) + if len(hwnds) >= max_count: + break temp = win32gui.FindWindowEx(hwnd, temp, None, None) if not temp: break @@ -122,6 +159,26 @@ return im_opencv +def move_window(hwnd, x, y): + """ + 绉诲姩绐楀彛 + :param hwnd: + :param x: + :param y: + :return: + """ + try: + # 鑾峰彇绐楀彛鐨勫綋鍓嶇煩褰㈠尯鍩� + rect = win32gui.GetWindowRect(hwnd) + width = rect[2] - rect[0] + height = rect[3] - rect[1] + # 绉诲姩绐楀彛鍒版寚瀹氫綅缃� (x, y)锛屽苟淇濇寔绐楀彛鐨勫搴﹀拰楂樺害涓嶅彉 + win32gui.MoveWindow(hwnd, x, y, width, height, True) + print(f"绐楀彛宸茬Щ鍔ㄥ埌浣嶇疆 ({x}, {y})") + except Exception as e: + print(f"绉诲姩绐楀彛澶辫触: {e}") + + if __name__ == "__main__": # print(search_window("鍓睆1")) # visual_click(0x00152876, (110, 90)) diff --git a/words/db_move.py b/words/db_move.py new file mode 100644 index 0000000..a4a1133 --- /dev/null +++ b/words/db_move.py @@ -0,0 +1,101 @@ +import datetime +import logging + +import pymysql +import sqlite3 + +config = { + "host": "gz-cdb-r13d0yi9.sql.tencentcdb.com", + "port": 62929, + "database": "everyday_words", + "charset": "utf8", + "user": "root", + "passwd": "Yeshi2016@" +} + + +class Mysqldb: + # 鍒濆鍖栨柟娉� + def __init__(self): + # 鍒濆鍖栨柟娉曚腑璋冪敤杩炴帴鏁版嵁搴撶殑鏂规硶 + self.conn = self.get_conn() + # 璋冪敤鑾峰彇娓告爣鐨勬柟娉� + self.cursor = self.get_cursor() + + def close(self): + self.conn.close() + + # 杩炴帴鏁版嵁搴撶殑鏂规硶 + def get_conn(self): + # **config浠h〃涓嶅畾闀垮弬鏁� + conn = pymysql.connect(**config) + return conn + + # 鑾峰彇娓告爣 + def get_cursor(self): + cursor = self.conn.cursor() + return cursor + + # 鏌ヨsql璇彞杩斿洖鐨勬墍鏈夋暟鎹� + def select_all(self, sql): + self.cursor.execute(sql) + return self.cursor.fetchall() + + # 鏌ヨsql璇彞杩斿洖鐨勪竴鏉℃暟鎹� + def select_one(self, sql): + self.cursor.execute(sql) + return self.cursor.fetchone() + + # 鏌ヨsql璇彞杩斿洖鐨勫嚑鏉℃暟鎹� + def select_many(self, sql, num): + self.cursor.execute(sql) + return self.cursor.fetchmany(num) + + # 澧炲垹鏀归櫎浜哠QL璇彞涓嶄竴鏍峰叾浠栭兘鏄竴鏍风殑锛岄兘闇�瑕佹彁浜� + def execute(self, sql, args=None): + try: + # 鎵ц璇彞 + self.cursor.execute(sql, args) + # 鎻愪氦 + self.conn.commit() + except Exception as e: + print("鎻愪氦鍑洪敊\n:", e) + logging.exception(e) + # 濡傛灉鍑洪敊瑕佸洖婊� + self.conn.rollback() + + def execute_many(self, sql, args=None): + try: + # 鎵ц璇彞 + self.cursor.executemany(sql, args) + # 鎻愪氦 + self.conn.commit() + except Exception as e: + logging.exception(e) + print("鎻愪氦鍑洪敊\n:", e) + # 濡傛灉鍑洪敊瑕佸洖婊� + self.conn.rollback() + + # 褰撳璞¤閿�姣佹椂锛屾父鏍囪鍏抽棴,杩炴帴涔熻鍏抽棴 + # 鍒涘缓鏃舵槸鍏堝垱寤鸿繛鎺ュ悗鍒涘缓娓告爣锛屽叧闂椂鏄厛鍏抽棴娓告爣鍚庡叧闂繛鎺� + def __del__(self): + self.cursor.close() + self.conn.close() + + +def save_to_sqlite(datas): + sqlite_conn = sqlite3.connect('D:\\椤圭洰\\鍗曡瘝\\words.db') + sqlite_cursor = sqlite_conn.cursor() + for data in datas: + sql = "insert into table_english_words values(?,?,?,?,?,?,?)" + print(sql) + sqlite_cursor.execute(sql, (data[0], + data[1], data[2], data[3], data[4].strftime("%Y-%m-%d %H:%M"), data[5].strftime("%Y-%m-%d %H:%M"), data[6])) + sqlite_conn.commit() + sqlite_conn.close() + + +if __name__ == "__main__": + for i in range(0, 50): + results = Mysqldb().select_all(f"select * from table_english_words limit {i*1000}, 1000") + save_to_sqlite(results) -- Gitblit v1.8.0